diff options
Diffstat (limited to 'README.xwidget')
| -rw-r--r-- | README.xwidget | 41 |
1 files changed, 37 insertions, 4 deletions
diff --git a/README.xwidget b/README.xwidget index 59ddf9d2435..bc01ad95d66 100644 --- a/README.xwidget +++ b/README.xwidget | |||
| @@ -317,7 +317,8 @@ although embedding a browser is not my primary concern many are | |||
| 317 | interested in this. some suitable browser component needs to be found | 317 | interested in this. some suitable browser component needs to be found |
| 318 | supporting gtk. | 318 | supporting gtk. |
| 319 | 319 | ||
| 320 | *** webkit | 320 | *** DONE webkit |
| 321 | CLOSED: [2011-07-03 Sun 22:13] | ||
| 321 | there is a webkit gtk port. there is no obvious mvc support. | 322 | there is a webkit gtk port. there is no obvious mvc support. |
| 322 | http://live.gnome.org/WebKitGtk | 323 | http://live.gnome.org/WebKitGtk |
| 323 | http://webkitgtk.org/ | 324 | http://webkitgtk.org/ |
| @@ -370,7 +371,8 @@ idea is that whatever oddness webkit does so that offscreen rendering | |||
| 370 | doesnt work, doesnt happen on-screen. the window could be opened | 371 | doesnt work, doesnt happen on-screen. the window could be opened |
| 371 | somewhere not in the way. | 372 | somewhere not in the way. |
| 372 | 373 | ||
| 373 | *** firefox | 374 | *** CANCELLED firefox |
| 375 | CLOSED: [2011-07-03 Sun 22:13] | ||
| 374 | http://www-archive.mozilla.org/unix/gtk-embedding.html | 376 | http://www-archive.mozilla.org/unix/gtk-embedding.html |
| 375 | seems to be severly bitrotted | 377 | seems to be severly bitrotted |
| 376 | 378 | ||
| @@ -379,7 +381,33 @@ http://hg.mozilla.org/incubator/embedding/file/29ac0fe51754/gtk/tests/test.cpp | |||
| 379 | 381 | ||
| 380 | while webkit clearly has the best traction as an embeddee, the | 382 | while webkit clearly has the best traction as an embeddee, the |
| 381 | offscreen rendering issues makes it interesting to see what ff brings | 383 | offscreen rendering issues makes it interesting to see what ff brings |
| 382 | to the table. | 384 | to the table. turns out webkit has as good offscreen support as anyone. |
| 385 | |||
| 386 | |||
| 387 | *** TODO text field support | ||
| 388 | Emacs captures all keyboard events so text field support isn't super | ||
| 389 | straightforward. | ||
| 390 | |||
| 391 | **** propagate keyboard events | ||
| 392 | I have some old hacks for this and they are not good. | ||
| 393 | **** use the DOM model | ||
| 394 | expose document.activeElement to lisp. This is potentially more | ||
| 395 | interesting than just forwarding keyboard events. | ||
| 396 | |||
| 397 | webkit_web_view_get_dom_document () | ||
| 398 | |||
| 399 | **** DONE inject javascript | ||
| 400 | CLOSED: [2011-07-03 Sun 22:50] | ||
| 401 | webkit_web_view_execute_script () | ||
| 402 | |||
| 403 | this works now: | ||
| 404 | (xwidget-webkit-execute-script 5 "document.activeElement.value='test'") | ||
| 405 | |||
| 406 | so it should be possible to do some interesting stuff. | ||
| 407 | execute-script does however not return anything at the interface level | ||
| 408 | so satisfaction is not total. | ||
| 409 | |||
| 410 | http://markmail.org/message/4yowmdgras73z3x5 | ||
| 383 | 411 | ||
| 384 | 412 | ||
| 385 | ** TODO clipping of controllers | 413 | ** TODO clipping of controllers |
| @@ -479,13 +507,18 @@ the needed data is private to the base class. to overcome this: | |||
| 479 | ** TODO use FRAME_GTK_WIDGET (f) | 507 | ** TODO use FRAME_GTK_WIDGET (f) |
| 480 | rather than gwfixed | 508 | rather than gwfixed |
| 481 | 509 | ||
| 482 | ** TODO translate clicks | 510 | ** DONE translate clicks |
| 511 | CLOSED: [2011-07-03 Sun 22:12] | ||
| 483 | on onscreen webkit peer to offscreen | 512 | on onscreen webkit peer to offscreen |
| 484 | 513 | ||
| 485 | maybe | 514 | maybe |
| 486 | http://developer.gnome.org/gdk/stable/gdk-Windows.html#GdkWindow-from-embedder | 515 | http://developer.gnome.org/gdk/stable/gdk-Windows.html#GdkWindow-from-embedder |
| 487 | 516 | ||
| 517 | turned out tell be not so hard, captured events, copied them and | ||
| 518 | forwarded them offscreen! | ||
| 488 | 519 | ||
| 489 | ** TODO investigate gdk_window_redirect_to_drawable | 520 | ** TODO investigate gdk_window_redirect_to_drawable |
| 490 | http://developer.gnome.org/gdk/stable/gdk-Windows.html#gdk-offscreen-window-set-embedder | 521 | http://developer.gnome.org/gdk/stable/gdk-Windows.html#gdk-offscreen-window-set-embedder |
| 491 | maybe control be used in place of my own copy hacks? | 522 | maybe control be used in place of my own copy hacks? |
| 523 | |||
| 524 | |||