java-gnome-developer Mailing List for The java-gnome language bindings project (Page 120)
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: Jonas B. <jb...@ni...> - 2003-09-12 00:39:02
|
On Thu, 11 Sep 2003 21:25:47 +0100, Mark Howard <mh...@ti...> wrote: > Thanks. Are you developing an application with java-gnome? I've not see= n > you on the list before. It's great to see new people working with > java-gnome, especially people who aren't afraid to write patches :) Yes, I am trying to write some basic tool to receive & display data from = a=20 java profiler a friend of mine wrote. It sends the data over UDP and I=20 then parse it & display it somehow, don't know exactly how yet. I kindof like the gtk interface, but I think it's a bit too=20 object-oriented to be elegant to code with in pure C. Otoh, I pretty much= =20 don't want to touch C++, so if I would have to choose, I would go with C=20 anyway. I have been coding a lot with java, but I think both awt & swing=20 sucks, both graphically and program-wise. I haven't tried SWT, but anyway= =20 I like gtk. So this Java-gtk binding is indeed interesting, and seems=20 quite promising I think. I understand it's still not finalized and that=20 interfaces might change, but I definately want to give it a try. Although= =20 I'm no expert on how object-oriented interfaces for GUIs should be=20 implemented, I think the current 0.8 version looks pretty much like java,= =20 which I like. And yep, I've not written to the list before. No problems writing patches= =20 here. I don't have that much experience in gtk2 and glib2 however, but if= =20 I run into a bug, I will probably gain more =3D) > Looks good to me too. Works wonderfully. I've not checked with other > bindings to see if it's the proper way yet, but it works well so I've > committed to cvs. Actually, when I looked at it again, I found that the read() call (in the= =20 native code) should be done from within the synchronized block that=20 executes the events. I didn't actually check the java right now, but I=20 think the write() call is called from within a synchronized block already= =20 (if it isn't, it should be too). This will add some minor overhead, but I= =20 tend to prefer correct operation to minimal performance gain =3D) > perhaps. I don't think any glib developers are on this list. Please try > sending you patch to a glib list. Well I don't have a patch for glib yet.. And I don't have that much time=20 to spend now.. BTW, I succeeded with my simple test program which receives approx 5 line= s=20 of text every second to jam the gtk thread. I append the text received to= =20 a TextView, and after appending text some 300-305 times, it just stops. I= =20 investigated a bit into this, and it seemed that the java native code=20 handling signals was receiving an internal event sent by the TextView to=20 its TextBuffer to perform the insertion of the text. And after this=20 300-305 times it jammed in the java native handler while trying to=20 allocate memory for the string argument. It always jammed after around=20 300-305 times. I didn't invent any good fix for this as I really didn't=20 know what was to blame.. I could write a simpler program for this to=20 illustrate how to reproduce the problem. I also succeeded in attaching=20 with gdb to the java thread that was jamming, and got a 45-line backtrace= .=20 I don't have it now, but I can try to get it when I get to making this=20 simple bug-reproducing program. Anyway, the TextView was just a test arena for showing the incoming data,= =20 so it's not a showstopper for me. I just hope the problem won't pop up=20 with other components :) BTW, what's your role in java-gnome? Are you a main developer or? --=20 ::: Jonas Berlin ::: +358-40-5884454 ::: ::: ::: ::: http://xkr47.outerspace.dyndns.org/ ::: |
From: Mark H. <mh...@ti...> - 2003-09-11 20:28:38
|
On Mon, Sep 08, 2003 at 11:41:10PM +0300, Jonas Berlin wrote: > Hello. I have a solution for your problem. I had the same problem myself > and I was just about to post my patch to the list anyway. Thanks. Are you developing an application with java-gnome? I've not seen you on the list before. It's great to see new people working with java-gnome, especially people who aren't afraid to write patches :) > The patch works just fine for me - it is pretty clean and unless I got > something fundamentally wrong, it should work fine for you too. =) Looks good to me too. Works wonderfully. I've not checked with other bindings to see if it's the proper way yet, but it works well so I've committed to cvs. > While writing this, I started thinking, maybe this functionality could be > a part of glib itself, perhaps. I don't think any glib developers are on this list. Please try sending you patch to a glib list. -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |
From: Mark H. <mh...@ti...> - 2003-09-09 13:28:48
|
Hi, I don't have time to look at it at the moment, but will try next week. Jeff - Calling widget.refresh requires you to know which widgets need refreshing. It also wastefully refreshes widgets if they don't need refreshing. Should probably also look at how other Gtk bindings tackle these issues. -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |
From: Jonas B. <jb...@ni...> - 2003-09-09 02:50:01
|
On 2003-08-31 07:20, Mark Howard wrote: > Hi, > I've noticed a bug with CustomEvents class, but don't know how to fix > it (I wrote CustomEvents). > > My program calls custom events to update the gui and everything works > fine from a multithreaded pov (no more of those XLib errors). But: the > screen doesn't get refreshed until some gtk widget tells it to refresh. > e.g. when moving the mouse over certain places. Hello. I have a solution for your problem. I had the same problem myself=20 and I was just about to post my patch to the list anyway. The patch works just fine for me - it is pretty clean and unless I got=20 something fundamentally wrong, it should work fine for you too. =3D) The original implementation of CustomEvents does indeed what you said - i= t=20 doesn't run your events until some other event is received by the so=20 called glib main loop (which gtk uses). The basic problem is how to make=20 glib know when we have posted new events to be executed with CustomEvents= .=20 The current implementation just sits there and if glib-main-loop happens=20 to ask (which it does when some other event is received), only then does=20 it report whether it has events to serve or not. The obstacle here is that there is no function we can call in glib to tel= l=20 it that we have something for it. It basically sits waiting in a select()= =20 (or similar) call (a function for waiting for file, socket etc descriptor= s=20 without polling). Now, in CustomEvents, we could tell glib that we need t= o=20 be polled with certain intervals, basically making select return after a=20 certain delay if there was no data. This is what I tried first, and it=20 worked semi-well, but there was still a "lag" when I kept the timeout at=20 200 milliseconds, as I didn't really want to load the system by polling=20 too often. My current solution takes another approach - it makes a descriptor that I= =20 can register to glib, and then I make this descriptor "return data" when = I=20 want glib to wake up. It utilizes the pipe(2) function, which creates a=20 pair of file descriptors through which data can be piped. I give the=20 "reading end" to glib and keep the writing end for myself. So, whenever=20 there's an event that needs to be served, I write a byte to the pipe, and= =20 boom, in the main glib thread, select() returns immediately, and glib=20 starts checking for events, including CustomEvents. The solution provides perfect response for me. The patch is available here: http://xkr47.outerspace.dyndns.org/tmp/java-gnome-0.8.0-customevents-1.= diff To use, simply: tar xzf java-gnome-0.8.tar.gz patch -p0 < java-gnome-0.8.0-customevents-1.diff cd java-gnome-0.8 .. (continue normal installation) Alternatively you can use it with java-gtk as well: tar xzf java-gtk-0.8.tar.gz cd java-gtk-0.8 patch -p1 < java-gnome-0.8.0-customevents-1.diff .. (continue normal installation) If anyone have any comments on the implementation, the approach or the=20 problem in general, I'll be glad to discuss it. I'm not on the=20 java-gnome-developer mailing list myself, so I'd appreciate if you CC me=20 anything related. Thanks! =3D) While writing this, I started thinking, maybe this functionality could be= =20 a part of glib itself, which would allow one to provide this "missing"=20 function that could be called to trigger a poll for events. Probably this= =20 wouldn't benefit the java-gnome project itself, merely my patch could be=20 changed to make use of the function at that point. - xkr47 |
From: Jeffrey M. <ku...@zo...> - 2003-09-02 23:38:30
|
You might try Widget.draw() or Widget.drawArea(). These methods should force a refresh. -Jeff On Sun, 2003-08-31 at 10:18, Mark Howard wrote: > Hi, > I've noticed a bug with CustomEvents class, but don't know how to fix > it (I wrote CustomEvents). > > My program calls custom events to update the gui and everything works > fine from a multithreaded pov (no more of those XLib errors). But: the > screen doesn't get refreshed until some gtk widget tells it to refresh. > e.g. when moving the mouse over certain places. > > This makes progress bars look very ugly if you don't move the mouse at > lot! > > Does anyone know how to trigger screen refresh in gtk? > > If you're interested, custom events works by simply adding a new event > to be executed in the glib main loop. Full source available in cvs. -- Jeffrey Morgan <ku...@zo...> |
From: Jeffrey M. <ku...@zo...> - 2003-09-02 23:32:09
|
I am not sure if it is possible to do this with UIInfo. You might try to create the toobar yourself and add it with App.setToolBar(ToolBar). On Sun, 2003-08-31 at 15:27, Mark Howard wrote: > Hi, > I have a gnome toolbar created using gnome UIInfos. At the moment, > there seems to be only support for adding buttons to the toolbar. Is it > possible to add labels, entries and other widgets to gnome toolbars? > Does anybody here know how? Perhaps you could send a reference to some > gnome code which does this. -- Jeffrey Morgan <ku...@zo...> |
From: Mark H. <mh...@de...> - 2003-08-31 19:28:09
|
Hi, I have a gnome toolbar created using gnome UIInfos. At the moment, there seems to be only support for adding buttons to the toolbar. Is it possible to add labels, entries and other widgets to gnome toolbars? Does anybody here know how? Perhaps you could send a reference to some gnome code which does this. -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |
From: Mark H. <mh...@de...> - 2003-08-31 14:20:01
|
Hi, I've noticed a bug with CustomEvents class, but don't know how to fix it (I wrote CustomEvents). My program calls custom events to update the gui and everything works fine from a multithreaded pov (no more of those XLib errors). But: the screen doesn't get refreshed until some gtk widget tells it to refresh. e.g. when moving the mouse over certain places.=20 This makes progress bars look very ugly if you don't move the mouse at lot! Does anyone know how to trigger screen refresh in gtk?=20 If you're interested, custom events works by simply adding a new event to be executed in the glib main loop. Full source available in cvs. --=20 .''`. Mark Howard : :' : `. `' http://www.tildemh.com=20 `- mh...@de... | mh...@ti... | mh...@ca...=20 |
From: Jeffrey M. <Jef...@Br...> - 2003-08-18 20:30:23
|
Just checked in a fix for the dialog problem. We had a half baked implementation of the Dialog class. I removed the constructor that you reference below. If you wish to see the correct usage of this widget I updated the TestGTK example. -Jeff > > On Mon, Aug 04, 2003 at 05:30:02PM +0000, Tiago Cogumbreiro wrote: > > Hi again, > > I am using dialog but when i construct one: > > > > 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? > > This is a bug in the Dialog class (or more likely in the StringArray > class). Please file a bug report about this. (Sorry, don't > have time to > investigate further at the moment) > > -- > .''`. Mark Howard > : :' : > `. `' http://www.tildemh.com > `- mh...@de... | mh...@ti... | mh...@ca... > > > ------------------------------------------------------- > 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 > |
From: Jeffrey M. <Jef...@Br...> - 2003-08-18 14:24:25
|
I have checked in a fix for this problem. I know it is not the most robust solution for this problem but it is all I have the time for at this point. -Jeff > Hello, > > I am using the CVS java-gnome version. I noticed the > following problem > in the installation targets: > > $ make install > make: *** No rule to make target `gnome', needed by `install'. Stop. > > This is caused by a line in Makefile: > > install: gnome glade_install > > because there is no "gnome" target. Why? Because the original > Makefile.in line is: > > install: @INSTALL_TARGETS@_install > > and INSTALL_TARGETS is defined as "gnome glade". Clearly, appending > _install to a @ substitution will not work when the > substituted variable > contains more than one element... > > This would be simple to fix: > > install: $(addsuffix _install,@INSTALL_TARGETS@) > > Except that this requires a GNU make to be used. If a requirement for > GNU make is not wanted, then the other approach is to modify all > INSTALL_TARGET variable assignments in configure.in to themselves > include the _install prefix. > > PS. This applies to the uninstall target as well. > > PPS. A wish: remove @ from all commands for install/uninstall > targets. > It is always disconcerting when "make install" does something that is > not shown. It makes finding the real culprit for this harder: > > $ make install > /usr/bin/install -c -m644 lib/libGTKJava.so.0.8.0 /l/beta/lib > ln: `/l/beta/lib/libGTKJava.so': File exists > > (the real culprit is not any "ln" that might be called by > /usr/bin/install, but the next line, which is @ln ...) > > PPPS. And one should always add a "-rm -f xxxx" before using $(LN_S) > just in case the target already exists. > > -- > sa...@ik... I have become death, > destroyer of the worlds. > > > > > ------------------------------------------------------- > 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 > |
From: Jeffrey M. <Jef...@Br...> - 2003-08-18 14:11:06
|
Do you get the same error if you run one of the applications under src/examples/... ? -Jeff > > Hi, perhaps you can help me get started I'm having some problems that > are probably something very simple. > > I'm just trying to run the examples in the project (using > eclipse). I've > run "./configure" and "make all" > > **couldn't get make install to work** > got this: > make: *** No rule to make target `gnome', needed by `install'. Stop. > > I ignored this and popped the GTK and Gnome.so files in /usr/bin. > > I've then tried to run the tests and apps in eclipse by adding the > following to the JVM args "-Djava.library.path=/usr/lib" to avoid the > linking error. I'm not sure if this is the best way to do it - I have > done something similar to get SWT apps running. > > Anyway I now get the following errors when running the test > or gnome/GTK > apps: > > java.lang.UnsatisfiedLinkError: gtk_window_new > 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) > at junit.framework.TestCase.runBare(TestCase.java:138) > at junit.framework.TestResult$1.protect(TestResult.java:106) > at junit.framework.TestResult.runProtected(TestResult.java:124) > at junit.framework.TestResult.run(TestResult.java:109) > at junit.framework.TestCase.run(TestCase.java:131) > at junit.framework.TestSuite.runTest(TestSuite.java:173) > at junit.framework.TestSuite.run(TestSuite.java:168) > at junit.framework.TestSuite.runTest(TestSuite.java:173) > at junit.framework.TestSuite.run(TestSuite.java:168) > at junit.framework.TestSuite.runTest(TestSuite.java:173) > at junit.framework.TestSuite.run(TestSuite.java:168) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTest > s(RemoteTestRunner.java:396) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(Rem > oteTestRunner.java:280) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(Re > moteTestRunner.java:172) > > > This is still an unsatisfied link error, but different to the > previous > one complainging about the missing ".so" librarys. > > I am more experienced with the java side of things and less > with linux > libraries and tools, so I may have made a silly error or perhaps the > failed make install is the problem. > > Any help much appreciated, > Matthew Cooke. > > > Jeffrey Morgan wrote: > > I think this is a great idea. I will try to help a little if I have > > the time. > > > > On Sat, 2003-08-16 at 05:09, Matthew Cooke wrote: > > > >>Hi all, > >> > >>It should be possile to create quite a good gnome-java IDE > by building > >>onto the eclipse platform - this would only require minimal > effort to > >>get going. > >> > >>Eclipse has many advantages for this project as it has the following > >>advantages: (www.eclipse.org) > >> > >>* Java plugin with micro compilation and refactoring tools. > >>* Good debugging. > >>* CVS integration. > >>* It is already significantly ahead of other IDE's such as > Microsofts > >>.NET studio. So we would be building on something already > very functional. > >>* It's designed to have other IDE's Products built from it. > >>* Modular design - and under the Open Source IBM Public License > >>Here is a rough plan of what I envisaged: > >> > >>1) Create gnome app wizard - to help newbies get started. > >> > >>This would create the gnome project add a small example app > and setup > >>the libraries so it can run. > >> > >>2) GCJ integration for single click compilation from a tool bar. > >> > >>3) Wizard for connecting to any sourceforge java-gnome project. > >> > >>5) (Potentially) Rebranding of the Eclipse platform to > distinguish it as > >>specifically a gnome-java IDE. > >>see: http://www.eclipse.org/articles/product-guide/guide.html > >> > >>6) (Potentially) Integrated Gnome GUI builder. > >> > >> > >>If anyone else is interested in this idea let me know. > >> > >>Best Regards, > >>Matthew Cooke. > >> > >> > >> > >> > >>------------------------------------------------------- > >>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.aspn et_072303_01/01 >>_______________________________________________ >>java-gnome-developer mailing list >>jav...@li... >>https://lists.sourceforge.net/lists/listinfo/java-gnome-developer ------------------------------------------------------- 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 |
From: Matthew C. <mpc...@li...> - 2003-08-17 13:52:28
|
Minor correction, I put the GTK and GNOME libraries in /usr/lib not /usr/bin! Regards, Matthew. |
From: Matthew C. <mpc...@li...> - 2003-08-17 13:39:02
|
Hi, perhaps you can help me get started I'm having some problems that are probably something very simple. I'm just trying to run the examples in the project (using eclipse). I've run "./configure" and "make all" **couldn't get make install to work** got this: make: *** No rule to make target `gnome', needed by `install'. Stop. I ignored this and popped the GTK and Gnome.so files in /usr/bin. I've then tried to run the tests and apps in eclipse by adding the following to the JVM args "-Djava.library.path=/usr/lib" to avoid the linking error. I'm not sure if this is the best way to do it - I have done something similar to get SWT apps running. Anyway I now get the following errors when running the test or gnome/GTK apps: java.lang.UnsatisfiedLinkError: gtk_window_new 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) at junit.framework.TestCase.runBare(TestCase.java:138) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:131) at junit.framework.TestSuite.runTest(TestSuite.java:173) at junit.framework.TestSuite.run(TestSuite.java:168) at junit.framework.TestSuite.runTest(TestSuite.java:173) at junit.framework.TestSuite.run(TestSuite.java:168) at junit.framework.TestSuite.runTest(TestSuite.java:173) at junit.framework.TestSuite.run(TestSuite.java:168) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:396) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:280) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:172) This is still an unsatisfied link error, but different to the previous one complainging about the missing ".so" librarys. I am more experienced with the java side of things and less with linux libraries and tools, so I may have made a silly error or perhaps the failed make install is the problem. Any help much appreciated, Matthew Cooke. Jeffrey Morgan wrote: > I think this is a great idea. I will try to help a little if I have > the time. > > On Sat, 2003-08-16 at 05:09, Matthew Cooke wrote: > >>Hi all, >> >>It should be possile to create quite a good gnome-java IDE by building >>onto the eclipse platform - this would only require minimal effort to >>get going. >> >>Eclipse has many advantages for this project as it has the following >>advantages: (www.eclipse.org) >> >>* Java plugin with micro compilation and refactoring tools. >>* Good debugging. >>* CVS integration. >>* It is already significantly ahead of other IDE's such as Microsofts >>.NET studio. So we would be building on something already very functional. >>* It's designed to have other IDE's Products built from it. >>* Modular design - and under the Open Source IBM Public License >>Here is a rough plan of what I envisaged: >> >>1) Create gnome app wizard - to help newbies get started. >> >>This would create the gnome project add a small example app and setup >>the libraries so it can run. >> >>2) GCJ integration for single click compilation from a tool bar. >> >>3) Wizard for connecting to any sourceforge java-gnome project. >> >>5) (Potentially) Rebranding of the Eclipse platform to distinguish it as >>specifically a gnome-java IDE. >>see: http://www.eclipse.org/articles/product-guide/guide.html >> >>6) (Potentially) Integrated Gnome GUI builder. >> >> >>If anyone else is interested in this idea let me know. >> >>Best Regards, >>Matthew Cooke. >> >> >> >> >>------------------------------------------------------- >>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 |
From: Santeri P. <sa...@ik...> - 2003-08-16 16:34:13
|
Hello, I am using the CVS java-gnome version. I noticed the following problem in the installation targets: $ make install make: *** No rule to make target `gnome', needed by `install'. Stop. This is caused by a line in Makefile: install: gnome glade_install because there is no "gnome" target. Why? Because the original Makefile.in line is: install: @INSTALL_TARGETS@_install and INSTALL_TARGETS is defined as "gnome glade". Clearly, appending _install to a @ substitution will not work when the substituted variable contains more than one element... This would be simple to fix: install: $(addsuffix _install,@INSTALL_TARGETS@) Except that this requires a GNU make to be used. If a requirement for GNU make is not wanted, then the other approach is to modify all INSTALL_TARGET variable assignments in configure.in to themselves include the _install prefix. PS. This applies to the uninstall target as well. PPS. A wish: remove @ from all commands for install/uninstall targets. It is always disconcerting when "make install" does something that is not shown. It makes finding the real culprit for this harder: $ make install /usr/bin/install -c -m644 lib/libGTKJava.so.0.8.0 /l/beta/lib ln: `/l/beta/lib/libGTKJava.so': File exists (the real culprit is not any "ln" that might be called by /usr/bin/install, but the next line, which is @ln ...) PPPS. And one should always add a "-rm -f xxxx" before using $(LN_S) just in case the target already exists. -- sa...@ik... I have become death, destroyer of the worlds. |
From: Tiago C. <cog...@li...> - 2003-08-16 12:54:54
|
In what regards to compiling with gcj in native mode take a look at: http://www.freestyler-toolkit.org/ It's very easy to compile programs to compile programs to native ones with this toolkit. Maybe it could help you somehow ;) Tiago Cogumbreiro > Hi all, > > It should be possile to create quite a good gnome-java IDE by building > onto the eclipse platform - this would only require minimal effort to > get going. > > Eclipse has many advantages for this project as it has the following > advantages: (www.eclipse.org) > > * Java plugin with micro compilation and refactoring tools. > * Good debugging. > * CVS integration. > * It is already significantly ahead of other IDE's such as Microsofts > .NET studio. So we would be building on something already very > functional. > * It's designed to have other IDE's Products built from it. > * Modular design - and under the Open Source IBM Public License > Here is a rough plan of what I envisaged: > > 1) Create gnome app wizard - to help newbies get started. > > This would create the gnome project add a small example app and setup > the libraries so it can run. > > 2) GCJ integration for single click compilation from a tool bar. > > 3) Wizard for connecting to any sourceforge java-gnome project. > > 5) (Potentially) Rebranding of the Eclipse platform to distinguish it > as > specifically a gnome-java IDE. > see: http://www.eclipse.org/articles/product-guide/guide.html > > 6) (Potentially) Integrated Gnome GUI builder. > > > If anyone else is interested in this idea let me know. > > Best Regards, > Matthew Cooke. > > > > > ------------------------------------------------------- > 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 > |
From: Jeffrey M. <ku...@zo...> - 2003-08-16 12:46:22
|
I think this is a great idea. I will try to help a little if I have the time. On Sat, 2003-08-16 at 05:09, Matthew Cooke wrote: > Hi all, > > It should be possile to create quite a good gnome-java IDE by building > onto the eclipse platform - this would only require minimal effort to > get going. > > Eclipse has many advantages for this project as it has the following > advantages: (www.eclipse.org) > > * Java plugin with micro compilation and refactoring tools. > * Good debugging. > * CVS integration. > * It is already significantly ahead of other IDE's such as Microsofts > .NET studio. So we would be building on something already very functional. > * It's designed to have other IDE's Products built from it. > * Modular design - and under the Open Source IBM Public License > Here is a rough plan of what I envisaged: > > 1) Create gnome app wizard - to help newbies get started. > > This would create the gnome project add a small example app and setup > the libraries so it can run. > > 2) GCJ integration for single click compilation from a tool bar. > > 3) Wizard for connecting to any sourceforge java-gnome project. > > 5) (Potentially) Rebranding of the Eclipse platform to distinguish it as > specifically a gnome-java IDE. > see: http://www.eclipse.org/articles/product-guide/guide.html > > 6) (Potentially) Integrated Gnome GUI builder. > > > If anyone else is interested in this idea let me know. > > Best Regards, > Matthew Cooke. > > > > > ------------------------------------------------------- > 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: Matthew C. <mpc...@li...> - 2003-08-16 09:12:04
|
Hi all, It should be possile to create quite a good gnome-java IDE by building onto the eclipse platform - this would only require minimal effort to get going. Eclipse has many advantages for this project as it has the following advantages: (www.eclipse.org) * Java plugin with micro compilation and refactoring tools. * Good debugging. * CVS integration. * It is already significantly ahead of other IDE's such as Microsofts .NET studio. So we would be building on something already very functional. * It's designed to have other IDE's Products built from it. * Modular design - and under the Open Source IBM Public License Here is a rough plan of what I envisaged: 1) Create gnome app wizard - to help newbies get started. This would create the gnome project add a small example app and setup the libraries so it can run. 2) GCJ integration for single click compilation from a tool bar. 3) Wizard for connecting to any sourceforge java-gnome project. 5) (Potentially) Rebranding of the Eclipse platform to distinguish it as specifically a gnome-java IDE. see: http://www.eclipse.org/articles/product-guide/guide.html 6) (Potentially) Integrated Gnome GUI builder. If anyone else is interested in this idea let me know. Best Regards, Matthew Cooke. |
From: Mark H. <mh...@de...> - 2003-08-13 18:44:25
|
On Tue, Aug 05, 2003 at 06:27:05PM +0000, Tiago Cogumbreiro wrote: > 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 ;) Thanks a lot for the patch. Applied to cvs. We're probably doing something wrong wrt non-english chars, but I'm no expert in this field. Hopefully somebody more knowledgeable will help us one day -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |
From: Mark H. <mh...@de...> - 2003-08-13 18:24:53
|
On Mon, Aug 04, 2003 at 05:30:02PM +0000, Tiago Cogumbreiro wrote: > Hi again, > I am using dialog but when i construct one: > > 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? This is a bug in the Dialog class (or more likely in the StringArray class). Please file a bug report about this. (Sorry, don't have time to investigate further at the moment) -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |
From: Mark H. <mh...@de...> - 2003-08-13 06:22:39
|
On Tue, Aug 12, 2003 at 11:43:28PM +0000, Tiago Cogumbreiro wrote: > Do you know why when you retrieve a checkbox state it outputs this message? > (Mirror CD:1915): GLib-GObject-WARNING **: gvalue.c:86: cannot initialize GValue > with type `gchararray', the value has already been initialized as `gchararray' > > This also appears when you try to retrieve a CellRendererToggle state Also in a lot of other places - I get it a lot when adding rows to a liststore. I guess it must be something to do with Value or Type. I've never been able to track it down though. -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |
From: Tiago C. <cog...@li...> - 2003-08-13 00:10:35
|
> > A reply in what concerns to the patches i've sent would be greatly > appreciated > > I was on vacation last week and didn't have access to email. Just > getting back to work this week and trying to catch up. I will take > a look at your patches this evening. > > -Jeff > Great! :) One more thing in the patch i didn't remove _all_ the debug messages that were present in CellRenderTextEvent class. Do you know why when you retrieve a checkbox state it outputs this message? (Mirror CD:1915): GLib-GObject-WARNING **: gvalue.c:86: cannot initialize GValue with type `gchararray', the value has already been initialized as `gchararray' This also appears when you try to retrieve a CellRendererToggle state Tiago Cogumbreiro |
From: Jeffrey M. <ku...@zo...> - 2003-08-12 23:29:03
|
> A reply in what concerns to the patches i've sent would be greatly appreciated I was on vacation last week and didn't have access to email. Just getting back to work this week and trying to catch up. I will take a look at your patches this evening. -Jeff |
From: Tiago C. <cog...@li...> - 2003-08-12 21:41:15
|
> Hi, > I can't speak for the other developers, but I've been too busy with > real life lately. I'll try to find time to answer your questions in > full > later today. A reply in what concerns to the patches i've sent would be greatly appreciated > > As for the threading, take a look at org.gnu.glib.CustomEvents. This > should do what you need. glib.Timer may also be useful depending on > your > needs. Great! No more xlib async errors :) Thank you so much, i was getting so frustrated with all this, now i can go on developing my java-gnome powered app ;) |
From: Mark H. <mh...@de...> - 2003-08-12 12:23:34
|
On Fri, Aug 08, 2003 at 06:45:56PM +0000, Tiago Cogumbreiro wrote: > Still waiting for any feedback, Hi, I can't speak for the other developers, but I've been too busy with real life lately. I'll try to find time to answer your questions in full later today. As for the threading, take a look at org.gnu.glib.CustomEvents. This should do what you need. glib.Timer may also be useful depending on your needs. Hope that helps a little. -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |
From: Tiago C. <cog...@li...> - 2003-08-08 18:33:56
|
Lots of gui apps are threaded (at least with the threading made so easy in java) and since i am developing a multithreaded program with gtk calls that directly affect the main loop why isn't there a way to lock the main loop so i don't get this kind of errors? Xlib: unexpected async reply (sequence 0xbcb)! I tried to implement a lock mechanism in java side and mainIteration() but after browsing gtk+ faq i found this link: http://www.gtk.org/faq/#AEN453 So gtk is thread safe and there are mechanisms to do what i suppose is giving me such an head ache, do you have plans implementing this? Anyway, I will try to implement it now so i stop getting so frustrated with java-gnome programming, where errors appear and i don't even have a clue where they are coming from. As soon as i finish i'll send it over to the developers mailing list and post it as a patch in sourceforge Still waiting for any feedback, Tiago Cogumbreiro |