Hey Jaroslav,

thx. Where can I find the Linux/mac Integration? I opened this project: 
webkit-2.0-snapshot from html4j with package 
org.netbeans.html.presenters.webkit and the class WebKitPresenter.java.


Cheers

Chris



Von: Jaroslav Tulach
Gesendet: Dienstag, 12. November 2019 17:08
An: dev
Betreff: Re: Help [WANTED] - webkit2 integration

Hello Chris,
the [presenter](
http://bits.netbeans.org/html+java/1.7/org/netbeans/html/boot/spi/Fn.Presenter.html)
should handle the presentation - e.g. display the HTML and execute the
passed in JavaScript.
-jt


po 11. 11. 2019 v 11:00 odesílatel Christian Lenz <christian.l...@gmx.net>
napsal:

> Hey Jaroslav,
>
> great news. I would like to help here, but first I need to know what is a
> presenter and what does it do exactly. Is there a good documentation for
> hat? Should I look into the existing presenters?
>
>
> Cheers
>
> Chris
>
>
>
> Von: Jaroslav Tulach
> Gesendet: Sonntag, 10. November 2019 17:03
> An: dev
> Betreff: Help [WANTED] - webkit2 integration
>
> Open letter to all Linux and WebKit2 fans and HTML/Java (future)
> supporters.
>
> The donation of new presenters by DukeHoff has been integrated into
> HTML/Java API version 1.7 - [the javadoc](
> https://bits.netbeans.org/html+java/1.7/) has been kindly generated by
> Eric.
>
> One of the new presenters is [webkit presenter](
>
> https://bits.netbeans.org/html+java/1.7/org/netbeans/html/presenters/webkit/package-summary.html
> )
> that is supposed to display using native WebKit component on Linux and Mac
> OS X. While testing it I have found out that it works on Ubuntu 18.10 (with
> `libwebkit` installed), but there is no such library on 19.10! It has been
> made obsolete by `libwebkit2`.
>
> Dear supporters, don't you want to rewrite the current `WebKit` binding to
> `WebKit2`? As far as I can tell the interface talking to `libwebkit` is
> defined at
>
> https://github.com/apache/netbeans-html4j/blob/master/renderer/src/main/java/org/netbeans/html/presenters/render/GTK.java#L126
> - one would have to replace those seven methods by a new interface
> `WebKit2` which would delegate to
> https://trac.webkit.org/wiki/WebKit2
> https://webkitgtk.org/reference/webkit2gtk/stable/index.html
>
> I can probably study the code and learn the tricks myself, but I'd be glad
> to get some community help now, when the code belongs to us at Apache.
> -jt
>
> PS: Whoever would write a Windows presenter, would be another hero! Then we
> would have a complete portability story which doesn't involve dependency on
> JavaFX...
>
>

Reply via email to