java-gnome-developer Mailing List for The java-gnome language bindings project (Page 54)
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: Khiraly <khi...@gm...> - 2005-01-10 20:21:34
|
Hi! In the ,,Writing multithreaded applications'' section on the webseite, this link does not work: http://java-gnome.sourceforge.net/docs/javadoc/index.html Plese correct it. -- Khiraly <khi...@gm...> |
From: Jeff M. <ku...@gm...> - 2005-01-10 14:39:38
|
On Sat, 08 Jan 2005 01:10:03 +1100, Andrew Cowie <an...@op...> wrote: > On Fri, 2005-07-01 at 08:50 -0500, Jeff Morgan wrote: > > And now on to the question. During our next development cycle we hope to > > introduce a testing framework for the java-gnome bindings. The question is > > "should this testing framework be based on JUnit or Mauve?". I am interested > > in your experience with both of these tools. > > [cut and paste from #java-gnome] > > Unit testing GUI things is hard. How do you prove that a GUI element > actually popped up? You can fire events, but then it's not actually the > mouse click that causes the event, it's some manual trigger which > doesn't exercise the full code path. Thomas Fitzsimmons wrote some code for the classpath project that provides a wrapper around the XTest library. I am sure this code could be used for java-gnome. I am also convinced that much of the bindings can be tested without even displaying a window. > [I've been grappling with this as I try to figure out how to test the > apps I'm writing. However we approach this, I'd like the solution to be > something VERY usable by people using the j-g bindings to write apps, as > opposed to just the people hacking on the bindings themselves] > > FWIW, my vote would be JUnit since a) eclipse has extensive support for > it b) it's widely used in the Java community. I just wrote a simple JUnit test for the ComboBox class. My goal was to see how easy it would be to write JUnit based tests for Java-GNOME. I have attached the source here. Please take a look and let me know what you think. > Andrew Frederick Cowie > > OPERATIONAL DYNAMICS > Operations Consultants and Infrastructure Engineers > http://www.operationaldynamics.com/ > > Sydney: +61 2 9977 6866 > New York: +1 646 472 5054 > Toronto: +1 416 848 6072 > London: +44 207 1019201 -- Jeffrey Morgan "The highest reward for a man's toil is not what he gets for it, but what he becomes by it" - Jon Ruskin |
From: Joao V. <jvi...@ya...> - 2005-01-10 13:48:18
|
Oh boy, we need to improve the docs about Glade :/ Anyways, try taking a look at the API doc: http://java-gnome.sourceforge.net/docs/javadoc-2.8.2/index.html There's a method there called 'getWidget(java.lang.String name)'... with this method you obtain any widget avaliable on the XML file you created with Glade (you must pass the widget's name, which you also specify with the Glade tool). Cheers, J.V. --- Amon Forstmann <am...@an...> escreveu: > Hello list, > > is there any libglade documentation ? > > I've done a form with glade-2 and want to fill the treeview with some > content *g*. > > I searched a whole day and got the menu working but getting the state of > a checkbox, loading text from an entry etc. still doesn't work because > I've no idea how to do that. > > thx for your help, > Amon _______________________________________________________ Yahoo! Acesso Grátis - Instale o discador do Yahoo! agora. http://br.acesso.yahoo.com/ - Internet rápida e grátis |
From: Amon F. <am...@an...> - 2005-01-10 09:22:03
|
Hello list, is there any libglade documentation ? I've done a form with glade-2 and want to fill the treeview with some content *g*. I searched a whole day and got the menu working but getting the state of a checkbox, loading text from an entry etc. still doesn't work because I've no idea how to do that. thx for your help, Amon |
From: Ka-Hing C. <ka...@gm...> - 2005-01-09 20:18:55
|
Okay, finally it runs :-) Thanks Jeff. Although now it's giving a warning whenever I double click on a tree row which has a TreeViewListener attached: (java-gnome:12836): GLib-GObject-CRITICAL **: g_object_get_data: assertion `G_IS_OBJECT (object)' failed (java-gnome:12836): GLib-GObject-CRITICAL **: g_object_set_data_full: assertion `G_IS_OBJECT (object)' failed The listener only has one method, the warning appears even if the method is emtpy, but not if I don't attach the listener: public void treeViewEvent(TreeViewEvent evt); It actually crashes IBM's runtime, here's the relevant trace: 3HPSTACKLINE g_closure_invoke at F0296A8 in libgobject-2.0.so.0 3HPSTACKLINE ?? at F03D650 in libgobject-2.0.so.0 3HPSTACKLINE g_signal_emit_valist at F03C5F8 in libgobject-2.0.so.0 3HPSTACKLINE g_signal_emit at F03C908 in libgobject-2.0.so.0 3HPSTACKLINE gtk_tree_view_row_activated at F48D8A0 in libgtk-x11-2.0.so.0 -khc |
From: Jeff M. <ku...@gm...> - 2005-01-09 18:41:35
|
On Sun, 09 Jan 2005 19:15:53 +0100, Khiraly <khi...@gm...> wrote: > 2005-01-09, v keltez=E9ssel 12:42-kor Jeff Morgan ezt =EDrta: > My other question (what I have forgotten): > There are any relationship between java-gnome and libswt? > (http://libswt.sourceforge.net/) >=20 > What I have readed the primary goal is similar for the two projekt > (writing java application which use gtk2 for apparence.) The two libraries are not the same and do not share the same goal. SWT only uses gtk on *NIX platforms. The goal of SWT is to provide a cross platform widget toolkit that uses the native library on each platform (win32 on Windows, GTK or Motif on *NIX, etc.). Any form of integration into the platform desktop is not portable. Java-GNOME provides bindings for the libraries that make up the GNOME stack (glib, atk, pango, gdk, gdk-pixbuf, gtk, libgnome, libgnomeui, libgnome-canvas, libgconf, and libglade). If you are building applications for the GNOME desktop then you would choose Java-GNOME. Also, if you are building applications for GTK then you would choose Java-GNOME. >=20 > By what point of views can i choose between the two libraries? >=20 > For now I have only use swing for the graphical interface. (java) >=20 > Best regards, > Khiraly >=20 > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > java-gnome-developer mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer >=20 --=20 Jeffrey Morgan "The highest reward for a man's toil is not what he gets for it, but what he becomes by it" - Jon Ruskin |
From: Khiraly <khi...@gm...> - 2005-01-09 18:16:06
|
2005-01-09, v keltez=E9ssel 12:42-kor Jeff Morgan ezt =EDrta: > We do not have a gtk only tutorial at this time. Perhaps this is > something we can work on after our release and API freeze tomorrow. > Are you already familiar with gtk? If so, java-gnome should > feel quite natural. If not, perhaps you can go through the gtk > tutorial but use java-gnome instead of C. >=20 Im not familiar with gtk2. I have tried just gtk2-perl for some of my scripts. (because my sister wanted executed too;) > >=20 > > If I use gtk2 bindings, how can I compile for other plattform? (macOS= X, > > windowsXP) >=20 > Windows compilation was something that was worked on a little while > ago but was never completed. We have discussed making this > part of our focus after the release tomorrow. As far as I know our bin= dings > have not been built on macOSX although it should be quite easy. =20 > Currently I don't have access to such a system to test/debug. >=20 Thx. Currently I dont have either access to windows machine, but in my vision there will be more windows people using my software as linux people. ----- My other question (what I have forgotten): There are any relationship between java-gnome and libswt? (http://libswt.sourceforge.net/) What I have readed the primary goal is similar for the two projekt (writing java application which use gtk2 for apparence.) By what point of views can i choose between the two libraries? For now I have only use swing for the graphical interface. (java) Best regards,=20 Khiraly |
From: Jeff M. <ku...@gm...> - 2005-01-09 17:42:29
|
On Sun, 09 Jan 2005 18:31:17 +0100, Khiraly <khi...@gm...> wrote: > Dear list, > > I want to develope a multiplattform software, but at the same time I > want to have a gtk2 version of my software (if possible a native binary > too). > > Can somebody offer me a good starting tutorial? We do not have a gtk only tutorial at this time. Perhaps this is something we can work on after our release and API freeze tomorrow. Are you already familiar with gtk? If so, java-gnome should feel quite natural. If not, perhaps you can go through the gtk tutorial but use java-gnome instead of C. > > If I use gtk2 bindings, how can I compile for other plattform? (macOSX, > windowsXP) Windows compilation was something that was worked on a little while ago but was never completed. We have discussed making this part of our focus after the release tomorrow. As far as I know our bindings have not been built on macOSX although it should be quite easy. Currently I don't have access to such a system to test/debug. > > Thx in advance, Please let us know how things go for you and don't hesitate to ask question here. > > Khiraly > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > java-gnome-developer mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer > -- Jeffrey Morgan "The highest reward for a man's toil is not what he gets for it, but what he becomes by it" - Jon Ruskin |
From: Jerry H. <wa...@la...> - 2005-01-09 17:41:15
|
Gtk2 runs on Windows. Probably OS X too, but I've never tried that. On Sun, 2005-01-09 at 18:31 +0100, Khiraly wrote: > Dear list, > > I want to develope a multiplattform software, but at the same time I > want to have a gtk2 version of my software (if possible a native binary > too). > > Can somebody offer me a good starting tutorial? > > If I use gtk2 bindings, how can I compile for other plattform? (macOSX, > windowsXP) > > Thx in advance, > > Khiraly > > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > java-gnome-developer mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer -- Jerry Haltom <wa...@la...> |
From: Khiraly <khi...@gm...> - 2005-01-09 17:31:22
|
Dear list, I want to develope a multiplattform software, but at the same time I want to have a gtk2 version of my software (if possible a native binary too). Can somebody offer me a good starting tutorial? If I use gtk2 bindings, how can I compile for other plattform? (macOSX, windowsXP) Thx in advance, Khiraly |
From: Mark H. <mh...@ti...> - 2005-01-09 15:25:43
|
This is probably fixed in 2.5. Your code was casting the char to an int and using a special constructor which should only be used internally by java-gnome (it cannot be private or even protected though since it is used by many java-gnome classes in various packages). This special java-gnome constructor has been changed in 2.6, to allow 64bit support, so the problem should no longer exist. On Sun, Jan 09, 2005 at 12:00:34PM +0100, Abcdefg wrote: > If I create a button (or a label, frame, etc) like this: > Button button = new Button('a'); > There is no compile error (the api only says this can with a String?) but a > runtime error -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... |
From: Jeff M. <ku...@gm...> - 2005-01-09 12:58:14
|
Phil, Can you share your example code with us. There is a new release of java-gnome tomorrow and I want to make sure this bug gets fixed in the new release (as well as the stable branch). On Sun, 09 Jan 2005 00:28:03 +0000, Phil Rendell <pr...@ab...> wrote: > I also appear to be experiencing a similar thing with the second > example. Here's the stack trace (the line numbers aren't quite the same > as in the example): > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4CDF96BA > Function=g_object_set_data_full+0x2A > Library=/usr/lib/libgobject-2.0.so.0 > > Current Java thread: > at org.gnu.glib.GObject.setData(Native Method) > at org.gnu.glib.GObject.setHandle(GObject.java:179) > at org.gnu.glib.GObject.<init>(GObject.java:59) > at org.gnu.gnome.UIInfo.<init>(UIInfo.java:100) > at org.gnu.gnome.UIInfo.newItem(UIInfo.java:358) > at uk.ac.aber.crs.CrsMain.createMenus(CrsMain.java:34) > at uk.ac.aber.crs.CrsMain.<init>(CrsMain.java:22) > at uk.ac.aber.crs.CrsMain.main(CrsMain.java:126) > > Line 34 was: > > UIInfo.newItem("New", "Create a new song", listener), > > I am using libgnome-java 2.8-2.8.2 and libgtk-java-2.4-2.4.7.2 > > Is there anything that I might be doing wrong to get this error? > > Cheers, > > Phil > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > java-gnome-developer mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer > -- Jeffrey Morgan "The highest reward for a man's toil is not what he gets for it, but what he becomes by it" - Jon Ruskin |
From: Jeff M. <ku...@gm...> - 2005-01-09 12:47:33
|
Do you have version 1.35 of TextBuffer? If so, does the handleApplyTag method signature look like this? private void handleApplyTag(Handle tag, Handle startIter, Handle endIter) Please let me know soon as I hope to fix as many remaining bugs as possible prior to the 2.9.4 release. On Sat, 8 Jan 2005 16:00:52 -0800, Ka-Hing Cheung <ka...@gm...> wrote: > On Sat, 8 Jan 2005 07:57:50 -0500, Jeff Morgan <ku...@gm...> wrote: > > On Thu, 6 Jan 2005 18:28:49 -0800, Ka-Hing Cheung <ka...@gm...> wrote: > > > On Thu, 6 Jan 2005 21:09:52 -0500, Jeff Morgan <ku...@gm...> wrote: > > > > I should be able to fix this easily but I am too tired right now. Consider > > > > this fixed tomorrow morning. > > I still have the same thing, well at least now IBM's runtime doesn't > crash now, and > it gives a slightly better trace: > > java.lang.Exception: Java-GNOME - cannot find callback method > handleApplyTag in the specified object with signature > (Lorg/gnu/glib/Handle;Lorg/gnu/glib/Handle;Lorg/gnu/glib/Handle;)V > > at org.gnu.glib.GObject.printStackTrace(GObject.java:616) > at org.gnu.glib.GObject.addEventHandler(Native Method) > at org.gnu.glib.EventMap.initialize(EventMap.java:86) > at org.gnu.gtk.TextBuffer.addListener(TextBuffer.java:806) > > -khc > -- Jeffrey Morgan "The highest reward for a man's toil is not what he gets for it, but what he becomes by it" - Jon Ruskin |
From: Abcdefg <ab...@so...> - 2005-01-09 11:00:46
|
Hi, I think I came up a small bug in libgtk-java-2.4.7.2 If I create a button (or a label, frame, etc) like this: Button button = new Button('a'); There is no compile error (the api only says this can with a String?) but a runtime error The setLabel method works correct because button.setLabel('f'); gives a compile error Of course this is a very unimportant bug because of the easy workaround but I thought I better should mention because it happens with al the widgets I tested. Thanks, David ps, I attached the error log from the button |
From: Phil R. <pr...@ab...> - 2005-01-09 00:28:48
|
I also appear to be experiencing a similar thing with the second example. Here's the stack trace (the line numbers aren't quite the same as in the example): An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4CDF96BA Function=g_object_set_data_full+0x2A Library=/usr/lib/libgobject-2.0.so.0 Current Java thread: at org.gnu.glib.GObject.setData(Native Method) at org.gnu.glib.GObject.setHandle(GObject.java:179) at org.gnu.glib.GObject.<init>(GObject.java:59) at org.gnu.gnome.UIInfo.<init>(UIInfo.java:100) at org.gnu.gnome.UIInfo.newItem(UIInfo.java:358) at uk.ac.aber.crs.CrsMain.createMenus(CrsMain.java:34) at uk.ac.aber.crs.CrsMain.<init>(CrsMain.java:22) at uk.ac.aber.crs.CrsMain.main(CrsMain.java:126) Line 34 was: UIInfo.newItem("New", "Create a new song", listener), I am using libgnome-java 2.8-2.8.2 and libgtk-java-2.4-2.4.7.2 Is there anything that I might be doing wrong to get this error? Cheers, Phil |
From: Reinout v. S. <re...@gm...> - 2005-01-09 00:16:27
|
Hello all, You might be interested to know that the Epiphany development team recently has added support for Python scripting, and Mono support is in the works. If I had the skills I'd add support for java-gnome myself, but since I don't, I'm sending this mail and hope that someone else will find it interesting enough to look into. :-) You can always talk to the epiphany developers in #epiphany on irc.gnome.org. regards, -- Reinout |
From: Ka-Hing C. <ka...@gm...> - 2005-01-09 00:00:54
|
On Sat, 8 Jan 2005 07:57:50 -0500, Jeff Morgan <ku...@gm...> wrote: > On Thu, 6 Jan 2005 18:28:49 -0800, Ka-Hing Cheung <ka...@gm...> wrote: > > On Thu, 6 Jan 2005 21:09:52 -0500, Jeff Morgan <ku...@gm...> wrote: > > > I should be able to fix this easily but I am too tired right now. Consider > > > this fixed tomorrow morning. I still have the same thing, well at least now IBM's runtime doesn't crash now, and it gives a slightly better trace: java.lang.Exception: Java-GNOME - cannot find callback method handleApplyTag in the specified object with signature (Lorg/gnu/glib/Handle;Lorg/gnu/glib/Handle;Lorg/gnu/glib/Handle;)V at org.gnu.glib.GObject.printStackTrace(GObject.java:616) at org.gnu.glib.GObject.addEventHandler(Native Method) at org.gnu.glib.EventMap.initialize(EventMap.java:86) at org.gnu.gtk.TextBuffer.addListener(TextBuffer.java:806) -khc |
From: Jeff M. <ku...@gm...> - 2005-01-08 12:57:57
|
On Thu, 6 Jan 2005 18:28:49 -0800, Ka-Hing Cheung <ka...@gm...> wrote: > On Thu, 6 Jan 2005 21:09:52 -0500, Jeff Morgan <ku...@gm...> wrote: > > I should be able to fix this easily but I am too tired right now. Consider > > this fixed tomorrow morning. > > > > That's fine. Let's hope that I don't uncover something that requires > an API change in the next couple days :-) > > What time does the GNOME anoncvs sync with the main one? Should I > check tomorrow or the day after that? Sorry I didn't respond to this earlier. The change was made yesterday so I hope it is in cvs now. I am not sure when by sync takes place. Your application has helped us uncover several bugs. Thansk for your help. Between no and Monday's release I am just hoping to address any bugs I can find. Please report back to the list if you find anything else. > > -khc > -- Jeffrey Morgan "The highest reward for a man's toil is not what he gets for it, but what he becomes by it" - Jon Ruskin |
From: Andrew C. <an...@op...> - 2005-01-07 14:10:11
|
On Fri, 2005-07-01 at 08:50 -0500, Jeff Morgan wrote: > And now on to the question. During our next development cycle we hope to > introduce a testing framework for the java-gnome bindings. The question = is > "should this testing framework be based on JUnit or Mauve?". I am intere= sted > in your experience with both of these tools. [cut and paste from #java-gnome] Unit testing GUI things is hard. How do you prove that a GUI element actually popped up? You can fire events, but then it's not actually the mouse click that causes the event, it's some manual trigger which doesn't exercise the full code path. That's probably better than nothing, but it's tricky. [I've been grappling with this as I try to figure out how to test the apps I'm writing. However we approach this, I'd like the solution to be something VERY usable by people using the j-g bindings to write apps, as opposed to just the people hacking on the bindings themselves] FWIW, my vote would be JUnit since a) eclipse has extensive support for it b) it's widely used in the Java community. AfC Sydney --=20 Andrew Frederick Cowie OPERATIONAL DYNAMICS Operations Consultants and Infrastructure Engineers http://www.operationaldynamics.com/ Sydney: +61 2 9977 6866 New York: +1 646 472 5054 Toronto: +1 416 848 6072 London: +44 207 1019201 |
From: Jeff M. <ku...@gm...> - 2005-01-07 13:50:28
|
Just wanted to let everybody know how java-gnome development is going. We are three days away from our 2.9.4 release which marks our API freeze for this development cycle. There have been a great many enhancements during this time and the development team is quite excited about the release. A few of the major enhancements are: * support for 64-bit platforms (if you have access to one please help test this!) * full support for gdk-pixbuf * major enhancements to the gdk bindings * major GObject enhancements * support for all new gtk widgets For a complete list of all enhancements please see the NEWS file for each of the packages. And now on to the question. During our next development cycle we hope to introduce a testing framework for the java-gnome bindings. The question is "should this testing framework be based on JUnit or Mauve?". I am interested in your experience with both of these tools. Thanks -- Jeffrey Morgan "The highest reward for a man's toil is not what he gets for it, but what he becomes by it" - Jon Ruskin |
From: Andrew C. <an...@op...> - 2005-01-07 11:32:20
|
Hey guys, could you have a look at this bug? http://bugs.gentoo.org/show_bug.cgi?id=3D76955 I figured out what he's talking about, but I'm not sure whether or not these are bugs with us or not (ie, I'm not about to commit changes to the autoconf macros or autogen.sh files without discussing it here first; certainly, this sort of thing has potential to cause problems on other distros but perhaps other distros are covering / not running into the problem differently). If my interpretation of what I found on my system is correct, then AM_PATH_GTK is not necessary for us and is superseded by AM_PATH_GTK-2.0? Gad, I hate autoconf. AfC Sydney --=20 Andrew Frederick Cowie Helping you succeed at flawlessly executing Massive Changes and Upgrades to your Mission Critical Systems http://www.operationaldynamics.com/ Sydney New York Toronto London |
From: Ka-Hing C. <ka...@gm...> - 2005-01-07 02:28:54
|
On Thu, 6 Jan 2005 21:09:52 -0500, Jeff Morgan <ku...@gm...> wrote: > I should be able to fix this easily but I am too tired right now. Consider > this fixed tomorrow morning. > That's fine. Let's hope that I don't uncover something that requires an API change in the next couple days :-) What time does the GNOME anoncvs sync with the main one? Should I check tomorrow or the day after that? -khc |
From: Jeff M. <ku...@gm...> - 2005-01-07 02:10:05
|
I should be able to fix this easily but I am too tired right now. Consider this fixed tomorrow morning. On Thu, 6 Jan 2005 18:04:46 -0800, Ka-Hing Cheung <ka...@gm...> wrote: > Now I get a slightly different error: > > java.lang.Exception: Java-GNOME - cannot find callback method > handleApplyTag in the specified object with signature > (Lorg/gnu/glib/Handle;Lorg/gnu/glib/Handle;Lorg/gnu/glib/Handle;)V > > at org.gnu.glib.GObject.printStackTrace(java.lang.String) (Unknown Source) > at _Jv_CallAnyMethodA(java.lang.Object, java.lang.Class, > _Jv_Method, boolean, boolean, java.lang.Class[], jvalue, jvalue, > boolean) (/usr/lib/libgcj.so.5.0.0) at logFunc > (/usr/src/khc/java-gnome/root/lib/libgtkjava2.5.so.2.5.4) > at g_logv (/usr/lib/libglib-2.0.so.0.600.0) > at g_log (/usr/lib/libglib-2.0.so.0.600.0) > at Java_org_gnu_glib_GObject_addEventHandler__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Object_2 > (/usr/src/khc/java-gnome/root/lib/libgtkjava2.5.so.2.5.4) > at _Jv_JNIMethod.call(ffi_cif, void, ffi_raw, void) > (/usr/lib/libgcj.so.5.0.0) > at org.gnu.glib.EventMap.initialize(org.gnu.glib.GObject, > org.gnu.glib.EventType) (Unknown Source) > at org.gnu.gtk.TextBuffer.addListener(org.gnu.gtk.event.TextBufferListener) > (Unknown Source) > > -khc > -- Jeffrey Morgan "The highest reward for a man's toil is not what he gets for it, but what he becomes by it" - Jon Ruskin |
From: Ka-Hing C. <ka...@gm...> - 2005-01-07 02:04:50
|
Now I get a slightly different error: java.lang.Exception: Java-GNOME - cannot find callback method handleApplyTag in the specified object with signature (Lorg/gnu/glib/Handle;Lorg/gnu/glib/Handle;Lorg/gnu/glib/Handle;)V at org.gnu.glib.GObject.printStackTrace(java.lang.String) (Unknown Source) at _Jv_CallAnyMethodA(java.lang.Object, java.lang.Class, _Jv_Method, boolean, boolean, java.lang.Class[], jvalue, jvalue, boolean) (/usr/lib/libgcj.so.5.0.0) at logFunc (/usr/src/khc/java-gnome/root/lib/libgtkjava2.5.so.2.5.4) at g_logv (/usr/lib/libglib-2.0.so.0.600.0) at g_log (/usr/lib/libglib-2.0.so.0.600.0) at Java_org_gnu_glib_GObject_addEventHandler__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Object_2 (/usr/src/khc/java-gnome/root/lib/libgtkjava2.5.so.2.5.4) at _Jv_JNIMethod.call(ffi_cif, void, ffi_raw, void) (/usr/lib/libgcj.so.5.0.0) at org.gnu.glib.EventMap.initialize(org.gnu.glib.GObject, org.gnu.glib.EventType) (Unknown Source) at org.gnu.gtk.TextBuffer.addListener(org.gnu.gtk.event.TextBufferListener) (Unknown Source) -khc |
From: Jeff M. <ku...@gm...> - 2005-01-06 03:36:48
|
There were many fixes that went in today. My suggestion is to get the latest from anoncvs tomorrow. On Wed, 5 Jan 2005 19:03:46 -0800, Ka-Hing Cheung <ka...@gm...> wrote: > On Wed, 5 Jan 2005 08:57:03 -0500, Jeff Morgan <ku...@gm...> wrote: > > This error has been fixed and is in cvs. The two files updated are > > org.gnu.gtk.Widget.java and org_gnu_glib_GObject.c. The changes > > are quite small and you might be able to apply the changes yourself > > if you do not wish to wait for anoncvs to sync. Here are the diffs: > > > > http://cvs.gnome.org/viewcvs/java-gnome/libgtk-java/src/jni/org_gnu_glib_GObject.c?r1=1.33&r2=1.34 > > http://cvs.gnome.org/viewcvs/java-gnome/libgtk-java/src/java/org/gnu/gtk/Widget.java?r1=1.77&r2=1.78 > > > > Thanks for looking into this. Is there anything else I need to apply > other than these 2? I am still having the same problems. I will try to > make a standalone test case in a bit. > > -khc > -- Jeffrey Morgan "The highest reward for a man's toil is not what he gets for it, but what he becomes by it" - Jon Ruskin |