diff options
| author | Joakim Verona | 2011-06-30 01:17:01 +0200 |
|---|---|---|
| committer | Joakim Verona | 2011-06-30 01:17:01 +0200 |
| commit | 9333b6a4d92243ebeee9c5fc3ae3f1ec1a47abc3 (patch) | |
| tree | 671159954531f8a5ed0c4aaef64333f7a150e9ed /README.xwidget | |
| parent | b380a76ffbf54594dfd6fc3d932983ac0439d07f (diff) | |
| download | emacs-9333b6a4d92243ebeee9c5fc3ae3f1ec1a47abc3.tar.gz emacs-9333b6a4d92243ebeee9c5fc3ae3f1ec1a47abc3.zip | |
added an offscreen rendered webkit variant. the on-screen view shows up sometimes so the principle is validated
Diffstat (limited to 'README.xwidget')
| -rw-r--r-- | README.xwidget | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/README.xwidget b/README.xwidget index 6a6633b4b20..4477f53051c 100644 --- a/README.xwidget +++ b/README.xwidget | |||
| @@ -187,6 +187,10 @@ there are some things that arent clear: | |||
| 187 | - xwidget-views are by necessity coupled to a emacs window so it might | 187 | - xwidget-views are by necessity coupled to a emacs window so it might |
| 188 | be better to store them window locally rather than in an assoc | 188 | be better to store them window locally rather than in an assoc |
| 189 | coupled to the xwidget model | 189 | coupled to the xwidget model |
| 190 | - for some gtk widgets that resist an mvc approach, like the webkit | ||
| 191 | widgets, special operations are needed, similar to the old phantom | ||
| 192 | widgets aproach. so we need to differentiate live and phantom | ||
| 193 | instances for these troublesome widgets and let lisp manage all the trickery. | ||
| 190 | 194 | ||
| 191 | stuff that needs to work: | 195 | stuff that needs to work: |
| 192 | - do something for all views of a xwidget(resize, value change) | 196 | - do something for all views of a xwidget(resize, value change) |
| @@ -318,12 +322,24 @@ there is a webkit gtk port. there is no obvious mvc support. | |||
| 318 | http://live.gnome.org/WebKitGtk | 322 | http://live.gnome.org/WebKitGtk |
| 319 | http://webkitgtk.org/ | 323 | http://webkitgtk.org/ |
| 320 | 324 | ||
| 325 | it might be possible to keep a set of webxits in artificial | ||
| 326 | synchronisation by recursive deep copy of the DOM from one webkit to | ||
| 327 | another. This will be error prone at best though. Another way might be | ||
| 328 | to just use bitmap copy of the "live"instance to the "phantom" | ||
| 329 | instances. the problem of transfering the live view remains though. | ||
| 321 | 330 | ||
| 322 | export CFLAGS="`pkg-config --cflags webkit-1.0` -DHAVE_WEBKIT -g" | 331 | export CFLAGS="`pkg-config --cflags webkit-1.0` -DHAVE_WEBKIT -g" |
| 323 | export LDFLAGS=`pkg-config --libs webkit-1.0` | 332 | export LDFLAGS=`pkg-config --libs webkit-1.0` |
| 324 | ./configure | 333 | ./configure |
| 325 | make | 334 | make |
| 326 | 335 | ||
| 336 | export CFLAGS="`pkg-config --cflags webkit-1.0` -DHAVE_WEBKIT_OSR -g" | ||
| 337 | export LDFLAGS=`pkg-config --libs webkit-1.0` | ||
| 338 | ./configure | ||
| 339 | make | ||
| 340 | |||
| 341 | |||
| 342 | |||
| 327 | *** firefox | 343 | *** firefox |
| 328 | http://www-archive.mozilla.org/unix/gtk-embedding.html | 344 | http://www-archive.mozilla.org/unix/gtk-embedding.html |
| 329 | seems to be severly bitrotted | 345 | seems to be severly bitrotted |