|
|
|
|
|
Re: SWT Browser & Mozilla [message #441268 is a reply to message #441267] |
Thu, 12 August 2004 20:26 |
Benjamin Pasero Messages: 337 Registered: July 2009 |
Senior Member |
|
|
For the future, SWT really should break the dependancy to the supported
versions of Mozilla. Afaik Mozilla 1.7 API replaces the one from 1.4 and
will be used in future versions of Mozilla. SWT should allow future
Mozilla versions as browser widget.
> Jan Schulz wrote:
> > Hallo!
> >
> > * Benjamin Pasero <bpasero@rssowl.org> wrote:
> >> What SWT version is required to allow Mozilla 1.7 as Browser on Linux? I
> >> was using 3061 and Mozilla 1.6 was the latest, allowed Mozilla version.
> >
> > Hm, seems there really is a problem. I have the 3.0 code and it
> > compiles fine against mozilla 1.7.2. When I run the
> > snippets, I get this /with mozilla and firefox):
> >
> > jan@snoopy:/tmp$ LD_LIBRARY_PATH="/usr/lib/mozilla-firefox"
> > /usr/lib/j2sdk1.4/bin/java -classpath
> >
/usr/share/java/swt3.0-gtk.jar:/usr/share/java/swt-pi3.0-gtk .jar:/usr/share/java/swt3.0-mozilla-gtk.jar:.
> > -Djava.library.path=/usr/lib/jni Main
> >
> > (<unknown>:11321): Gtk-WARNING **: gtk_widget_size_allocate(): attempt
> > to allocate widget with width 40 and height -1
> >
> > (<unknown>:11321): Gtk-WARNING **: gtk_widget_size_allocate(): attempt
> > to allocate widget with width 64 and height -1
> >
> > (<unknown>:11321): Gtk-WARNING **: gtk_widget_size_allocate(): attempt
> > to allocate widget with width 40 and height -1
> >
> > (<unknown>:11321): Gtk-WARNING **: gtk_widget_size_allocate(): attempt
> > to allocate widget with width 60 and height -1
> >
> > (<unknown>:11321): Gtk-WARNING **: gtk_widget_size_allocate(): attempt
> > to allocate widget with width 29 and height -1
> > Exception in thread "main" org.eclipse.swt.SWTError: No more handles
> > [Unknown mozilla path]
> > at org.eclipse.swt.SWT.error(SWT.java:2717)
> > at org.eclipse.swt.browser.Browser.<init>(Browser.java:128)
> > at Main.main(Main.java:57)
> >
> > Ok, seems I was mistaken about this...
> >
> > But this seems to be a very bad thing, as I don't have a 1.{4,5,6}
> > mozilla anymore :( I wonder which distro actually has...
> >
> > Jan
> I have mozilla 1.6 and 1.7.2 source - swt widget work with 1.6, but don't
> work with 1.7.x
> I try eclipse 3.0 and eclipse 3.1 cvs before one week
> regards
|
|
|
Re: SWT Browser & Mozilla [message #441272 is a reply to message #441268] |
Fri, 13 August 2004 01:19 |
Haris Peco Messages: 1072 Registered: July 2009 |
Senior Member |
|
|
Benjamin Pasero wrote:
> For the future, SWT really should break the dependancy to the supported
> versions of Mozilla. Afaik Mozilla 1.7 API replaces the one from 1.4 and
> will be used in future versions of Mozilla. SWT should allow future
> Mozilla versions as browser widget.
>
>> Jan Schulz wrote:
>
>> > Hallo!
>> >
>> > * Benjamin Pasero <bpasero@rssowl.org> wrote:
>> >> What SWT version is required to allow Mozilla 1.7 as Browser on Linux?
>> >> I was using 3061 and Mozilla 1.6 was the latest, allowed Mozilla
>> >> version.
>> >
>> > Hm, seems there really is a problem. I have the 3.0 code and it
>> > compiles fine against mozilla 1.7.2. When I run the
>> > snippets, I get this /with mozilla and firefox):
>> >
>> > jan@snoopy:/tmp$ LD_LIBRARY_PATH="/usr/lib/mozilla-firefox"
>> > /usr/lib/j2sdk1.4/bin/java -classpath
>> >
> /usr/share/java/swt3.0-gtk.jar:/usr/share/java/swt-pi3.0-gtk .jar:/usr/share/java/swt3.0-mozilla-gtk.jar:.
>> > -Djava.library.path=/usr/lib/jni Main
>> >
>> > (<unknown>:11321): Gtk-WARNING **: gtk_widget_size_allocate(): attempt
>> > to allocate widget with width 40 and height -1
>> >
>> > (<unknown>:11321): Gtk-WARNING **: gtk_widget_size_allocate(): attempt
>> > to allocate widget with width 64 and height -1
>> >
>> > (<unknown>:11321): Gtk-WARNING **: gtk_widget_size_allocate(): attempt
>> > to allocate widget with width 40 and height -1
>> >
>> > (<unknown>:11321): Gtk-WARNING **: gtk_widget_size_allocate(): attempt
>> > to allocate widget with width 60 and height -1
>> >
>> > (<unknown>:11321): Gtk-WARNING **: gtk_widget_size_allocate(): attempt
>> > to allocate widget with width 29 and height -1
>> > Exception in thread "main" org.eclipse.swt.SWTError: No more handles
>> > [Unknown mozilla path]
>> > at org.eclipse.swt.SWT.error(SWT.java:2717)
>> > at org.eclipse.swt.browser.Browser.<init>(Browser.java:128)
>> > at Main.main(Main.java:57)
>> >
>> > Ok, seems I was mistaken about this...
>> >
>> > But this seems to be a very bad thing, as I don't have a 1.{4,5,6}
>> > mozilla anymore :( I wonder which distro actually has...
>> >
>> > Jan
>
>> I have mozilla 1.6 and 1.7.2 source - swt widget work with 1.6, but don't
>> work with 1.7.x
>> I try eclipse 3.0 and eclipse 3.1 cvs before one week
>
>> regards
I agree - mozilla xforms is based on 1.7 , too
regards
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03988 seconds