java-gnome-developer Mailing List for The java-gnome language bindings project (Page 121)
Brought to you by:
afcowie
You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(37) |
Dec
(14) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(2) |
Feb
(20) |
Mar
(20) |
Apr
(8) |
May
|
Jun
(1) |
Jul
(6) |
Aug
(39) |
Sep
(37) |
Oct
(34) |
Nov
(50) |
Dec
(22) |
2002 |
Jan
(7) |
Feb
(13) |
Mar
(32) |
Apr
(16) |
May
(26) |
Jun
(20) |
Jul
(32) |
Aug
(7) |
Sep
(2) |
Oct
(11) |
Nov
(3) |
Dec
(35) |
2003 |
Jan
(11) |
Feb
(3) |
Mar
(8) |
Apr
(3) |
May
(11) |
Jun
(20) |
Jul
(11) |
Aug
(29) |
Sep
(13) |
Oct
(91) |
Nov
(185) |
Dec
(207) |
2004 |
Jan
(108) |
Feb
(171) |
Mar
(207) |
Apr
(113) |
May
(22) |
Jun
(53) |
Jul
(69) |
Aug
(43) |
Sep
(34) |
Oct
(182) |
Nov
(101) |
Dec
(61) |
2005 |
Jan
(86) |
Feb
(45) |
Mar
(106) |
Apr
(67) |
May
(70) |
Jun
(47) |
Jul
(19) |
Aug
(34) |
Sep
(24) |
Oct
(45) |
Nov
(20) |
Dec
(58) |
2006 |
Jan
(21) |
Feb
(21) |
Mar
(16) |
Apr
(24) |
May
(24) |
Jun
(47) |
Jul
(20) |
Aug
(8) |
Sep
(13) |
Oct
(7) |
Nov
(23) |
Dec
(2) |
2007 |
Jan
|
Feb
(14) |
Mar
(3) |
Apr
(11) |
May
(1) |
Jun
(15) |
Jul
(2) |
Aug
(5) |
Sep
(10) |
Oct
(5) |
Nov
(1) |
Dec
|
2008 |
Jan
|
Feb
(13) |
Mar
(13) |
Apr
(4) |
May
(2) |
Jun
(1) |
Jul
(5) |
Aug
(7) |
Sep
(2) |
Oct
(14) |
Nov
(11) |
Dec
(12) |
2009 |
Jan
(30) |
Feb
(4) |
Mar
(16) |
Apr
(9) |
May
(9) |
Jun
(7) |
Jul
(6) |
Aug
(3) |
Sep
(14) |
Oct
(8) |
Nov
(12) |
Dec
(9) |
2010 |
Jan
(4) |
Feb
(27) |
Mar
(6) |
Apr
(4) |
May
(3) |
Jun
(13) |
Jul
(6) |
Aug
(15) |
Sep
(15) |
Oct
(12) |
Nov
(11) |
Dec
(9) |
2011 |
Jan
(12) |
Feb
(11) |
Mar
|
Apr
(3) |
May
|
Jun
(3) |
Jul
(1) |
Aug
|
Sep
(1) |
Oct
(8) |
Nov
(1) |
Dec
|
2012 |
Jan
|
Feb
(10) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(6) |
Aug
(2) |
Sep
(7) |
Oct
(7) |
Nov
|
Dec
(4) |
2013 |
Jan
(8) |
Feb
(1) |
Mar
(1) |
Apr
(2) |
May
(3) |
Jun
(3) |
Jul
(16) |
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(1) |
2014 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
2016 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2018 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Tiago C. <cog...@li...> - 2003-08-08 10:53:58
|
hi again, I am developing an application wich runs a *big* task in a thread separate thread, i have another which is the main flow of the program and use a (glib) Timer class for refreshing the progressbar, do you know why sometimes i run the program and the window stops refreshing and only start's doing it again when the task finishes sometimes it shows this strange message "Xlib async error". Also how do i make the dialogs working? I've tried MEssageDialog and Dialog but no luck, could you show me a working example? Thank you all very much, Tiago Cogumbreiro |
From: Tiago C. <cog...@li...> - 2003-08-05 21:33:39
|
I've completed the implementation of CellRendererToggle events related issues. I am using this method to accept the user's input: public void cellRendererToggleEvent(CellRendererToggleEvent e) { final TreeIter i = list.getIter(e.getIndex()); list.setValue(i, dataExtract, !list.getValue(i, dataExtract)); } Do you know why when the user clicks on one of the checkbuttons it shows this warning message? GLib-GObject-WARNING **: gvalue.c:86: cannot initialize GValue with type `gboolean', the value has already been initialized as `gboolean' I hope you find the patch and classes helpfull, i am using them right now. Tiago Cogumbreiro |
From: Tiago C. <cog...@li...> - 2003-08-05 18:14:35
|
Hi again, I've been browsing the java-gnome source code and made a patch about one of the issues i have sent a mail before, the CellRenderTextEvent gives no way to the user determine what is the new text or the cell's index so i send you in attachment a patch to the same event but adding 2 new fields getText() and getIndex() both return strings, there is also another problem with strings, if the user has to insert non american chars in the edited string they will appear as '?' I hope i am not sending a patch over a thing that already exists but anyway, in the worst case it doesn't help a thing and i've only wasted your time ;) Thank you, Tiago Cogumbreiro |
From: Tiago C. <cog...@li...> - 2003-08-05 17:48:49
|
Hi, I've been using TreeView class and i needed to create a table with a editable check button and a editable text field, so i've looked up your SimpleList example and started making my tailored list yet i encountered 2 problems: - CellRendererText when set to user editable it let's the user edit the text but doesn't save the newly inputed string and shows some debugging code in stdout - CellRenderToggle when set to user editable it doesn't let the user select/deselect the check box I am sending a copy of the source code, is it a bug or i am missing something? public class TrackList extends Widget { private DataBlockInt dataIndex = new DataBlockInt(); private DataBlockString dataName = new DataBlockString(); private DataBlockBoolean dataExtract = new DataBlockBoolean(); private ListStore list = new ListStore(new DataBlock[]{dataIndex, dataExtract, dataName}); private TreeView view = new TreeView(list); private int count = 0; public TrackList() { TreeViewColumn col; CellRenderer render; col = new TreeViewColumn(); render = new CellRendererText(); col.packStart(render, false); col.addAttributeMapping(render, CellRendererText.Attribute.TEXT, dataIndex); view.appendColumn(col); col = new TreeViewColumn(); render = new CellRendererToggle(); col.packStart(render, false); col.addAttributeMapping(render, CellRendererToggle.Attribute.ACTIVE, dataExtract); ((CellRendererToggle) render).setUserEditable(true); view.appendColumn(col); col = new TreeViewColumn(); render = new CellRendererText(); col.packStart(render, false); col.addAttributeMapping(render, CellRendererText.Attribute.TEXT, dataName); view.appendColumn(col); ((CellRendererText) render).setEditable(true); this.handle = view.getHandle(); } } Thank you for your time, Tiago Cogumbreiro |
From: Tiago C. <cog...@li...> - 2003-08-04 17:17:29
|
Hi again, I am using dialog but when i construct one: Dialog d = new Dialog("title", someowner, DialogFlags.MODAL, new String[]{"OK"}); d.showAll(); // or d.run(); It shows a big dialog with lots of buttons, with random chars in them (usually none), these buttons are located in the lower HBox and make the window so big it doesn't fit on the screen, do you know what am i doing wrong? I tried instead of passing new String[]{"OK"} passing new String[0] and then adding a button but no luck either. Thank you, Tiago Cogumbreiro |
From: Jeffrey M. <ku...@zo...> - 2003-08-02 13:34:57
|
On Thu, 2003-07-31 at 13:57, fer...@lo... wrote: > I had to use --with-gtk-only because RHL80 provides an release of libgnomeui > older than required by java-gnome. > I am able to build on rh8 without problems. What release of libgnomeui do you have on your system? java-gnome requires release 1.108 or higher of libgnomeui-2. You can get this by typing 'gnome-config -version libgnomeui'. |
From: <fer...@lo...> - 2003-08-01 14:54:21
|
Hi Tiago, > > An unexpected exception has been detected in native code outside the > > VM. > > Unexpected Signal : 11 occurred at PC=0x4DA06713 > > Function=gtk_window_new+0x83 > > Library=/usr/lib/libgtk-x11-2.0.so.0 > > > > Current Java thread: > > at org.gnu.gtk.Window.gtk_window_new(Native Method) > > at org.gnu.gtk.Window.<init>(Window.java:44) > > I had the same error when i didn't have the LD_LIBRARY_PATH set, the jvm would > crash displaying the same error message, maybe you need to set it. I set LD_LIBRARY_PATH. I'll double check but this should not be the problem. I have used java-gnome 0.7 before and I am used to JNI. []s, Fernando Lozano |
From: Tiago C. <cog...@li...> - 2003-08-01 02:37:14
|
> An unexpected exception has been detected in native code outside the > VM. > Unexpected Signal : 11 occurred at PC=0x4DA06713 > Function=gtk_window_new+0x83 > Library=/usr/lib/libgtk-x11-2.0.so.0 > > Current Java thread: > at org.gnu.gtk.Window.gtk_window_new(Native Method) > at org.gnu.gtk.Window.<init>(Window.java:44) I had the same error when i didn't have the LD_LIBRARY_PATH set, the jvm would crash displaying the same error message, maybe you need to set it. Tiago Cogumbreiro |
From: Tiago C. <cog...@li...> - 2003-08-01 02:13:07
|
Quoting Mark Howard <mh...@ti...>: > On Wed, 2003-07-30 at 22:58, Tiago Cogumbreiro wrote:: > > java.lang.UnsatisfiedLinkError: /home/tiago/usr/lib/libGNOMEJava.so: > > libGTKJava.so: cannot open shared object file: No such file or > directory > > libGNOMEJava cannot find libGTKJava - this is being done natively, so > the options passed to Java are not involved. Instead, you need to set > the environment variable LD_LIBRARY_PATH to point to your local > java-gnome lib dir > e.g. export LD_LIBRARY_PATH=/home/tiago/usr/lib/:$LD_LIBRARY_PATH > -- > .''`. Mark Howard > : :' : > `. `' http://www.tildemh.com > `- mh...@de... | mh...@ti... | mh...@ca... > That was it, it's all working now :) Thank you very much Mark. By the way, i was browsing the sourcode of java-gnome and came accross to a tool that has something with generating jni bindings, do you have any documentation about this tool available? It might become _very_ handy when i develop my jni apps. Thank you for your time, Tiago Cogumbreiro |
From: Jeffrey M. <ku...@zo...> - 2003-08-01 00:44:50
|
I am sorry to report that the unit tests have not been implemented. You might try to run one of the examples in the src/examples/gtk directory. On Thu, 2003-07-31 at 13:57, fer...@lo... wrote: > Hi there, > > Using Red Hat 8.0 and Sun j2sdk 1.4.2 (which should be compatible with gcc > 3.2.2 included on red hat) I can build java-gnome using ./configure --gtk-only, > but cannot run any test case. > > When I run org.gnu.gtk.tests.AllTests I get the error: > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4DA06713 > Function=gtk_window_new+0x83 > Library=/usr/lib/libgtk-x11-2.0.so.0 > > Current Java thread: > at org.gnu.gtk.Window.gtk_window_new(Native Method) > at org.gnu.gtk.Window.<init>(Window.java:44) > at org.gnu.gtk.tests.WidgetTest.setUp(WidgetTest.java:43) > at org.gnu.gtk.tests.ContainerTest.setUp(ContainerTest.java:39) > at org.gnu.gtk.tests.ButtonTest.setUp(ButtonTest.java:37) > > If it helps, I can send the full hs_err*.log generated by the JVM. > > I had to use --with-gtk-only because RHL80 provides an release of libgnomeui > older than required by java-gnome. > > Anyone had sucess using either Red Hat 8 or 9? > > > []s, Fernando Lozano > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > java-gnome-developer mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer -- Jeffrey Morgan <ku...@zo...> |
From: <fer...@lo...> - 2003-07-31 17:57:42
|
Hi there, Using Red Hat 8.0 and Sun j2sdk 1.4.2 (which should be compatible with gcc 3.2.2 included on red hat) I can build java-gnome using ./configure --gtk-only, but cannot run any test case. When I run org.gnu.gtk.tests.AllTests I get the error: An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4DA06713 Function=gtk_window_new+0x83 Library=/usr/lib/libgtk-x11-2.0.so.0 Current Java thread: at org.gnu.gtk.Window.gtk_window_new(Native Method) at org.gnu.gtk.Window.<init>(Window.java:44) at org.gnu.gtk.tests.WidgetTest.setUp(WidgetTest.java:43) at org.gnu.gtk.tests.ContainerTest.setUp(ContainerTest.java:39) at org.gnu.gtk.tests.ButtonTest.setUp(ButtonTest.java:37) If it helps, I can send the full hs_err*.log generated by the JVM. I had to use --with-gtk-only because RHL80 provides an release of libgnomeui older than required by java-gnome. Anyone had sucess using either Red Hat 8 or 9? []s, Fernando Lozano |
From: Mark H. <mh...@ti...> - 2003-07-31 06:37:09
|
On Wed, 2003-07-30 at 22:58, Tiago Cogumbreiro wrote:: > java.lang.UnsatisfiedLinkError: /home/tiago/usr/lib/libGNOMEJava.so: > libGTKJava.so: cannot open shared object file: No such file or directory libGNOMEJava cannot find libGTKJava - this is being done natively, so the options passed to Java are not involved. Instead, you need to set the environment variable LD_LIBRARY_PATH to point to your local java-gnome lib dir e.g. export LD_LIBRARY_PATH=/home/tiago/usr/lib/:$LD_LIBRARY_PATH -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |
From: Tiago C. <cog...@li...> - 2003-07-30 21:50:15
|
Hi, First of all congrats for your great job on bringing the java community a way to integrate gnome in theyre apps, i really appreciated, i've been following this project but was waiting for the gnome 2 port. Noq for the not unfortunate part, I've downloaded 0.8 version and tried to run the "First" in your tutorial and it doens't work, it shows this error message: java.lang.UnsatisfiedLinkError: /home/tiago/usr/lib/libGNOMEJava.so: libGTKJava.so: cannot open shared object file: No such file or directory at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1473) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1397) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at org.gnu.gnome.Program.<clinit>(Program.java:100) ..... This is very strange, because i ran java -Djava.library.path=/my/path SomeProgram my/path contains the following files: libGNOMEJava.so.0.8.0 libGladeJava.so.0.8.0 libGTKJava.so libGTKJava.so.0.8.0 libGNOMEJava.so libGladeJava.so I am devoloping a project which contains JNI bindings so i've already ran programs which include binding libraries (infact the program which is calling the "First" example uses a jni library and it loads correctly), i tried puting the libGTKJava.so in my home, in /usr/lib but no results until now. i find it very strange. I tried to run this line only: Gtk.main(); The program loaded successfully so I thought that gnome was not working and GTK might have a chance so i tried running a GTK only example. I created the following code: Window win = new Window(WindowType.TOPLEVEL); win.show(); Gtk.main(); The program segfaulted and crashed the JVM with the following message (only showing part but can send you the real log): An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4CA2D984 Function=gtk_window_new+0x2C Library=/usr/lib/libgtk-x11-2.0.so.0 Current Java thread: at org.gnu.gtk.Window.gtk_window_new(Native Method) at org.gnu.gtk.Window.<init>(Window.java:44) When i ran the example above and before crashing it showed this error output: (process:16576): GLib-GObject-CRITICAL **: gtype.c:1871: initialization assertion failed, use g_type_init() prior to this function (process:16576): GLib-GObject-CRITICAL **: gtype.c:1871: initialization assertion failed, use g_type_init() prior to this function (process:16576): GLib-GObject-CRITICAL **: gtype.c:1871: initialization assertion failed, use g_type_init() prior to this function (process:16576): GLib-GObject-CRITICAL **: file gtype.c: line 1937 (g_type_add_interface_static): assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed (process:16576): GLib-GObject-CRITICAL **: gtype.c:1871: initialization assertion failed, use g_type_init() prior to this function (process:16576): GLib-GObject-CRITICAL **: gtype.c:1871: initialization assertion failed, use g_type_init() prior to this function (process:16576): GLib-GObject-CRITICAL **: gtype.c:1871: initialization assertion failed, use g_type_init() prior to this function (process:16576): GLib-GObject-CRITICAL **: file gobject.c: line 615 (g_object_new): assertion `G_TYPE_IS_OBJECT (object_type)' failed I tried switch Window for a Dialog but unfornatly the same error persisted. After this i downloaded the current (30.07.2003) cvs version but no changes whatsoever. I really need to port my application to java-gnome because i want to put my project on savannah and they are really strict about java software (which can't use swing code). I am using J2SDK 1.4.2 from sun (i've also tested it with J2SDK 1.4.1 from blackdown) and the same problem happened. Thank you for your time, Tiago Cogumbreiro |
From: Jeffrey M. <Jef...@Br...> - 2003-07-07 10:09:46
|
Thanks for the info. I just checked in a fix for the glade problem in cvs. I will take a look at the configure script for ant detection and then create a new tarball. -Jeff > > Hi Jeffrey, > > >After much hard work and a complete rewrite we are pleased > >to announce release 0.8 of the Java-GNOME bindings. This > >is the first release to support GTK-2 and GNOME-2. > > > I wasn't able to build the release under stock Red Hat 9.0 (so GCC > 3.2.2) and Sun Java2 SDK 1.4.2 (which should be the one > compatible with > GCC 3.2) and Ant 1.5.1. > > On my first try, configure didn't acknowledged ant was missing, and I > guess this is a bug on the configure scriot, but after I > installed Ant > and did make clean; ./configure again and make all I still > got errors. > Here's when make all stopped: > > build-glade: > [javac] Compiling 32 source files to > /home/lozano/java-gnome-0.8/src/build-java/glade > [javac] > /home/lozano/java-gnome-0.8/src/java/org/gnu/glade/DruidPageDe > legate.java:12: > cannot resolve symbol > [javac] symbol : class DruidPageListener > [javac] location: class org.gnu.glade.DruidPageDelegate > [javac] class DruidPageDelegate extends ListenerDelegate > implements > DruidPageListener { > [javac] > ^ > [javac] > /home/lozano/java-gnome-0.8/src/java/org/gnu/glade/DruidPageDe > legate.java:19: > cannot resolve symbol > [javac] symbol : class DruidPageEvent > [javac] location: class org.gnu.glade.DruidPageDelegate > [javac] public void druidPageEvent(DruidPageEvent event) { > [javac] ^ > [javac] > /home/lozano/java-gnome-0.8/src/java/org/gnu/glade/ListenerDel > egate.java:155: > cannot resolve symbol > [javac] symbol : class DruidPageListener > [javac] location: class org.gnu.glade.ListenerDelegate > [javac] delegateMap.put(DruidPageListener.class, > DruidPageDelegate.class); > [javac] ^ > [javac] 3 errors > > BUILD FAILED > file:/home/lozano/java-gnome-0.8/src/../build.xml:85: Compile failed; > see the compiler error output for details. > > As at this point I had libGTK.so and other libs, besides gtk.jar and > other jars I tried to run the tests. I found no make or ant target to > run the tests (they simply said "nothing to do") so I tried > to compile > the tests myself and run then. Compiling was easy: just add junit.jar > included on the test dir and java-gnome jars on classpath, besides > native libraries on LD_LIBRARY_PATH, but the very first test > generated a > sigsegv (is this signal 11, right?). > > I have logs for all steps and the hs_err* file generated by the JVM. > > I hope I either did something wrong or this was a simply > packaging error > on the relese; else what can I do to help you spot the cause? > > > []s, Fernando Lozano > > |
From: Fernando L. <fer...@lo...> - 2003-07-07 02:42:24
|
Hi Jeffrey, >After much hard work and a complete rewrite we are pleased >to announce release 0.8 of the Java-GNOME bindings. This >is the first release to support GTK-2 and GNOME-2. > I wasn't able to build the release under stock Red Hat 9.0 (so GCC 3.2.2) and Sun Java2 SDK 1.4.2 (which should be the one compatible with GCC 3.2) and Ant 1.5.1. On my first try, configure didn't acknowledged ant was missing, and I guess this is a bug on the configure scriot, but after I installed Ant and did make clean; ./configure again and make all I still got errors. Here's when make all stopped: build-glade: [javac] Compiling 32 source files to /home/lozano/java-gnome-0.8/src/build-java/glade [javac] /home/lozano/java-gnome-0.8/src/java/org/gnu/glade/DruidPageDelegate.java:12: cannot resolve symbol [javac] symbol : class DruidPageListener [javac] location: class org.gnu.glade.DruidPageDelegate [javac] class DruidPageDelegate extends ListenerDelegate implements DruidPageListener { [javac] ^ [javac] /home/lozano/java-gnome-0.8/src/java/org/gnu/glade/DruidPageDelegate.java:19: cannot resolve symbol [javac] symbol : class DruidPageEvent [javac] location: class org.gnu.glade.DruidPageDelegate [javac] public void druidPageEvent(DruidPageEvent event) { [javac] ^ [javac] /home/lozano/java-gnome-0.8/src/java/org/gnu/glade/ListenerDelegate.java:155: cannot resolve symbol [javac] symbol : class DruidPageListener [javac] location: class org.gnu.glade.ListenerDelegate [javac] delegateMap.put(DruidPageListener.class, DruidPageDelegate.class); [javac] ^ [javac] 3 errors BUILD FAILED file:/home/lozano/java-gnome-0.8/src/../build.xml:85: Compile failed; see the compiler error output for details. As at this point I had libGTK.so and other libs, besides gtk.jar and other jars I tried to run the tests. I found no make or ant target to run the tests (they simply said "nothing to do") so I tried to compile the tests myself and run then. Compiling was easy: just add junit.jar included on the test dir and java-gnome jars on classpath, besides native libraries on LD_LIBRARY_PATH, but the very first test generated a sigsegv (is this signal 11, right?). I have logs for all steps and the hs_err* file generated by the JVM. I hope I either did something wrong or this was a simply packaging error on the relese; else what can I do to help you spot the cause? []s, Fernando Lozano |
From: Jeffrey M. <Jef...@Br...> - 2003-07-06 15:31:46
|
How about: After much hard work and a complete rewrite we are pleased to announce release 0.8 of the Java-GNOME bindings. This is the first release to support GTK-2 and GNOME-2. Also, we should all agree on an update to the Roadmap. I would like to see several quick releases over the next couple of months. Perhaps something like: 0.8.1 - bug fix 0.8.2 - GConf and bug fixes 0.8.3 - gnome-print and bug fixes 0.9 - Bonobo and bug fixes Alberto, please feel free to announce the new release wherever you wish. -Jeff > -----Original Message----- > From: Alberto Gimeno [mailto:alb...@te...] > Sent: Sunday, July 06, 2003 11:01 AM > To: Jeffrey Morgan > Subject: Re: new release > > > Hello. > > I have updated the web, the GNOME-Tutorial and the javadoc > documentation. > I need the text announcing the new release to put ition the news page. > Tomorrow, if you are agree, I will announce the new release in > GNOME-Hispano <http://noticias.es.gnome.org> and javaHispano > <http://www.javahispano.org>. > |
From: Jeffrey M. <Jef...@Br...> - 2003-07-05 21:09:41
|
I just uploaded the tarball for release 0.8. The website will be updated shortly as well as the forman announcement. -Jeff |
From: Jeffrey M. <Jef...@Br...> - 2003-07-05 14:33:28
|
I am preparing for a release within the next day. I am trying to update the documentation and then the release will go. -Jeff > -----Original Message----- > From: fer...@lo... [mailto:fer...@lo...] > Sent: Saturday, July 05, 2003 10:29 AM > To: jav...@li... > Subject: [Java-gnome-developer] 0.8 when? > > > Hi, > > 0.7 is already very old and from this list I see 0.8 is > already very usable. > Even if it's not ready for a release, it would be nice to > have alpha releases > or simply CVS snapshots for easy download... just like > Eclipse does (nightly, > stable, release and maintenance). > > []s, Fernando Lozano > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_06 > 1203_01/01 > _______________________________________________ > java-gnome-developer mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer > |
From: <fer...@lo...> - 2003-07-05 14:29:28
|
Hi, 0.7 is already very old and from this list I see 0.8 is already very usable. Even if it's not ready for a release, it would be nice to have alpha releases or simply CVS snapshots for easy download... just like Eclipse does (nightly, stable, release and maintenance). []s, Fernando Lozano |
From: Mark W. <ma...@kl...> - 2003-07-05 09:07:54
|
Hi, On Sat, 2003-07-05 at 01:35, Mark Wielaard wrote: > java-gnome uses more JNI 1.2 stuff like ExceptionCheck(). When changing > those calls in java-gnome to use the less efficient JNI 1.1 method > ExceptionOccured() my program seems to actually work! And attached is the complete (admittedly minimal) patch that I use to get kaffe (configure --with-threads=unix-pthreads) to run an unpatched java-gnome build. Cheers, Mark |
From: Mark H. <mh...@ti...> - 2003-07-02 12:32:02
|
Hi, I've committed some code to help create multi-threaded applications. org.gnu.glib.CustomEvents allows you to add custom 'events' (Runnable classes) to be executed in the main Gtk loop. In Gtk, all gui modification must be done from the main thread, so CustomEvents.addEvent should be used if you want to modify the gui from another thread. This is similar to swings SwingUtilities.invokeLater and invokeAndWait methods. I've tested with gcj and it does work well. -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |
From: <fer...@lo...> - 2003-06-30 22:09:25
|
Hi, > I believe gcj is no longer supported. Java-GNOME only supports a > JNI binding. But sould it be possible to compile and run Java-GNOME using onlu gcj and its gij VM? []s, Fernando Lozano |
From: Mark H. <mh...@ti...> - 2003-06-30 08:46:17
|
On Sun, 2003-06-29 at 21:30, Mikael Hallendal wrote: > This might be the underlying GTK+ that makes this hard. Since C/GTK+ > doesn't have ref counts as in Java I'm not sure if the fact that you > keep a java ref on an object makes you have a gtk-ref on the C-object. > > My guess is that you have to be careful how you use the widgets and that > you will have to explicitly call g_object_ref (not sure if that is > wrapped or not) to keep a reference to a widget in a closed window after > destroying the window but I'm not sure. I've been talking about this lately to the other java-gnome developers. We are probably going to implement a system so that there will always be a gtk-ref when the java object exists. Implementation of this is being delayed until after 0.8 release. > You probably want to work with Glade/Libglade (not sure if it is wrapped > in java-gnome yet) It is done with java-gnome, although I've not used it myself yet. Not in the Debian packages at the moment (perhaps I'll find some free time this week...) -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |
From: Jeffrey M. <Jef...@Br...> - 2003-06-30 01:18:20
|
> The documentation on the home page seems very outdated. But using the > the general gtk and gnome API reference and the examples it wasn't > very hard to understand how to create the simple GUI that I > needed. Having those simple examples really helped getting up to speed > quickly. I am expecting a release for late next week (around July 3rd). I will update the documentation over the next few days. Please check back! > I noticed that there is also a gnome-gcj project > <http://gnome-gcj.sourceforge.net> but that doesn't seem to get > updated any more. Have the projects merged? Do you want to provide CNI > bindings and natively compiled libraries? That should speed things up > a bit especially the startup phase and the shared libraries could be > used much more efficiently when the user has multiple java-gnome based > programs running. I believe gcj is no longer supported. Java-GNOME only supports a JNI binding. > > The org.gnu.gnome.About class doesn't seem to work correctly. It > seems to use the strings that I give it randomly as authors, > documentors and translator. I couldn't really detect when it used > which string. And if given a null string for the translator it crashes > the whole application. I will look into this. |
From: Pablo B. <pb...@uo...> - 2003-06-29 20:36:19
|
I'll try to help you in some stuff I experimented with, I'm not a java-gnome expert. On Sun, 2003-06-29 at 17:49, Mark Wielaard wrote: > I couldn't find documentation about how to work with java-gnome from > multiple threads. To be save I just created a Fireable and a Timer > that sets off a couple times a second and then update the Widgets in > the fire() method that checks progress flags set in other threads. > What is the recommended way to handle multiple thread that want to > update the GUI. When is it save to call a widget or other glib, gtk or > gnome object from a thread that isn't the main gtk thread? With my Gtk# project (http://gnomencoder.sourceforge.net), I used the C gdk_threads_enter and gdk_threads_leave functions. I don't have a clue on how to call them with Java, or if they are wrapped somewhere. Regards! -- <HACKrley_PaNiK> si perl esta bueno <Script-Fu> Compilar PERL? <Script-Fu> Juas! <agamenon> que usas para compilarlo??? <pablog> el el Perl2Exe |