Re: ANN: GNU Classpath "95% and counting" 0.19 released
Hi, On Thu, 2005-11-03 at 12:33 -0500, Stuart Ballard wrote: > I read it as ">= 95% of several interesting things". > > I don't know if that's what Mark intended but it made sense to me. Yes, it was a little joke. I just needed a funny release name and we are hitting all these 95%+ "milestones". > Also I note that at the current rate of messages on the -patches list > there will be more messages in the first three days of November than > in the entirety of July 2004, the first month gmane has info for. > > Silly pointless statistics but still cool imho :) http://gmane.org/details.php?group=gmane.comp.java.classpath.patches So, that is why I have the feeling I cannot keep up anymore. 100K of patches a day... Cheers, Mark signature.asc Description: This is a digitally signed message part ___ Classpath mailing list Classpath@gnu.org http://lists.gnu.org/mailman/listinfo/classpath
Re: ANN: GNU Classpath "95% and counting" 0.19 released
Mark Wielaard wrote: GNU Classpath "95% and counting" 0.19 released Congrats! You guys rock! -- Stefano. ___ Classpath mailing list Classpath@gnu.org http://lists.gnu.org/mailman/listinfo/classpath
Re: configure failure
Christian Thalinger wrote: On Thu, Nov 03, 2005 at 08:50:40AM -0600, Archie Cobbs wrote: $ rpm -qa | grep freetype freetype-2.1.3-6 freetype-devel-2.1.3-6 $ rpm -ql freetype | grep '\.pc' $ I'm not educated on the wonders of pkg-config. Where do I find freetype2.pc and why isn't it on this system? Hmm, it seems that redhat 9 is too old. In an archive i found that gtk2 is: gtk2-2.2.1-4.i386.rpm Maybe you should try --disable-gtk-peer or upgrade your system :-) --disable-gtk-peer does workaround the problem. But FYI this same system was able to configure classpath-0.17 without that flag. Therefore something changed. I guess 0.17 didn't require freetype? Thanks, -Archie __ Archie Cobbs *CTO, Awarix* http://www.awarix.com ___ Classpath mailing list Classpath@gnu.org http://lists.gnu.org/mailman/listinfo/classpath
Re: ANN: GNU Classpath "95% and counting" 0.19 released
I read it as ">= 95% of several interesting things". 96% of the 1.4 API (http://www.kaffe.org/~stuart/japi/htmlout/cvs/h-jdk14-classpath.html), and 95% of the Jonas testsuite... I don't know if that's what Mark intended but it made sense to me. Incidentally the generics branch appears to be at almost 88.5% of 1.5 (http://www.kaffe.org/~stuart/japi/htmlout/cvs/h-jdk15-classpath-generics.html - last night's run didn't take for some reason, I'm redoing it now to see whether 88.5 was reached for the release). That's astounding because it was only two months ago that 90% of 1.4 was reached, and now we're closing on that same milestone for 1.5... Also I note that at the current rate of messages on the -patches list there will be more messages in the first three days of November than in the entirety of July 2004, the first month gmane has info for. Silly pointless statistics but still cool imho :) Stuart. -- http://sab39.dev.netreach.com/ ___ Classpath mailing list Classpath@gnu.org http://lists.gnu.org/mailman/listinfo/classpath
Re: ANN: GNU Classpath "95% and counting" 0.19 released
Thanks, good progress! One thing caught my eye; On Thursday 03 November 2005 15:36, Mark Wielaard wrote: > GNU Classpath "95% and counting" 0.19 released ... > Some highlights of changes in this release (more extensive list below): > > [..] > Now has 96% coverage of 1.4 API. So, which is it? 95 or 96% ? -- Thomas Zander pgpIeObMgQ2LC.pgp Description: PGP signature ___ Classpath mailing list Classpath@gnu.org http://lists.gnu.org/mailman/listinfo/classpath
[Bug swing/24651] JMenu layout problem with nested menus
--- Comment #7 from langel at redhat dot com 2005-11-03 16:16 --- This should be fixed now. -- langel at redhat dot com changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24651 ___ Bug-classpath mailing list Bug-classpath@gnu.org http://lists.gnu.org/mailman/listinfo/bug-classpath
Re: Asking our experts on Swing.
On Thursday 03 November 2005 01:03, Meskauskas Audrius wrote: > The JTextArea is cleared after sending the message by > JTextField.setText(''"). After I call this method in our Classpath, it > refuses to accept any keyboard input, despite I see the cursor. > Experimenting, I tried to call JTextField.setText(".") instead. In > this case it was possible to enter the text inside the dotted area (the > dots were shifting to the right as expected), but not possible to enter > any additional text after clicking outside the dotted area (but still > inside the text input field). Sounds like an off by one error in the Document that is used, or in the code that calls it. First of all; check if there is a custom made document being set on the textfield in your code and otherwise print the document and start debugging from there System.out.println(textfield.getDocument().getClass().getName()) Maybe add some debug code to the doc's public void insertString() method. Hope that helps. -- Thomas Zander pgpH0c0KyHA50.pgp Description: PGP signature ___ Classpath mailing list Classpath@gnu.org http://lists.gnu.org/mailman/listinfo/classpath
[Bug swing/24651] JMenu layout problem with nested menus
--- Comment #5 from hendrich at informatik dot uni-hamburg dot de 2005-11-03 15:32 --- Created an attachment (id=10126) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10126&action=view) testcase to demonstrate the issue -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24651 ___ Bug-classpath mailing list Bug-classpath@gnu.org http://lists.gnu.org/mailman/listinfo/bug-classpath
[Bug swing/24651] JMenu layout problem with nested menus
--- Comment #4 from langel at redhat dot com 2005-11-03 15:22 --- Created an attachment (id=10125) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10125&action=view) Testcase thats describes this bug This only seems to happen when the other menu items in the menu have a label longer than the sub-menu. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24651 ___ Bug-classpath mailing list Bug-classpath@gnu.org http://lists.gnu.org/mailman/listinfo/bug-classpath
Re: configure failure
On Thu, Nov 03, 2005 at 08:50:40AM -0600, Archie Cobbs wrote: > $ rpm -qa | grep freetype > freetype-2.1.3-6 > freetype-devel-2.1.3-6 > $ rpm -ql freetype | grep '\.pc' > $ > > I'm not educated on the wonders of pkg-config. > > Where do I find freetype2.pc and why isn't it on this system? Hmm, it seems that redhat 9 is too old. In an archive i found that gtk2 is: gtk2-2.2.1-4.i386.rpm Maybe you should try --disable-gtk-peer or upgrade your system :-) TWISTI ___ Classpath mailing list Classpath@gnu.org http://lists.gnu.org/mailman/listinfo/classpath
[Bug swing/24650] JTextField refuses to accept any input if initially set to the empty string.
--- Comment #4 from audriusa at bluewin dot ch 2005-11-03 14:51 --- Created an attachment (id=10124) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10124&action=view) Proposed patch to fix this bug (under discussion). Our JTextField contains an "imaginary" end of line character (0xA), but the new text must be always inserted before it, not after. When clicking right from the last character in the field, the PlainTextView.viewToModel should return the position before the end of line character and not after the end of line character. Otherwise the inputs blocks. If the empty field receives focus by the mouse click, the caret position is always set after the 0xA and, a result, it is never possible to enter any text in the field. The bug http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24650 has the uploaded test case, demonstrating this problem. This path fixes the problem by introducing the following rule: if the last character under the mouse click is 0xA, it should not be taken into consideration, the pre-last character must be returned instead (the 0xA is a dimensionless character anyway). With this patch, I "revived" the text fields in my application. In the swing activity board, now it is possible to enter the text after clicking the mouse RIGHT from the "Hello world" in the text field demo. The work of the rest of Swing seems not broken, despite it would be nice if somebody else could check this as well. 2005-11-03 Audrius Meskauskas <[EMAIL PROTECTED]> PR swing/24650 * javax/swing/text/PlainView.java (viewToModel)): The end of line symbol (0xA), if being the last member in the obtained text, should not be counted. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24650 ___ Bug-classpath mailing list Bug-classpath@gnu.org http://lists.gnu.org/mailman/listinfo/bug-classpath
configure failure
Hi all, I'm trying to ./configure classpath-0.19 on Redhat9 and getting this: checking for freetype2... Package freetype2 was not found in the pkg-config search path. Perhaps you should add the directory containing `freetype2.pc' to the PKG_CONFIG_PATH environment variable No package 'freetype2' found configure: error: Library requirements (freetype2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. $ rpm -qa | grep freetype freetype-2.1.3-6 freetype-devel-2.1.3-6 $ rpm -ql freetype | grep '\.pc' $ I'm not educated on the wonders of pkg-config. Where do I find freetype2.pc and why isn't it on this system? Thanks, -Archie __ Archie Cobbs *CTO, Awarix* http://www.awarix.com ___ Classpath mailing list Classpath@gnu.org http://lists.gnu.org/mailman/listinfo/classpath
[Bug swing/24651] JMenu layout problem with nested menus
--- Comment #3 from roman at kennke dot org 2005-11-03 14:48 --- Could you put together a small testprogram? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24651 ___ Bug-classpath mailing list Bug-classpath@gnu.org http://lists.gnu.org/mailman/listinfo/bug-classpath
ANN: GNU Classpath "95% and counting" 0.19 released
GNU Classpath "95% and counting" 0.19 released GNU Classpath, essential libraries for java, is a project to create free core class libraries for use with runtimes, compilers and tools for the java programming language. The GNU Classpath developer snapshot releases are not directly aimed at the end user but are meant to be integrated into larger development platforms. For example the GCC (gcj) and Kaffe projects will use the developer snapshots as a base for future versions. Some highlights of changes in this release (more extensive list below): Much more efficient painting for large Free Swing GUIs. Improved accessibility support. HttpURLConnection rewrite. Official CORBA VMCID assigned. Start of RMI over IIOP support. Qt4 support for OS-X. Much improved Free Swing Metal theme. Free Swing Demo includes theme switcher example (Metal, Ocean, GNU). JBoss now starts up and Jonas testsuite passes for 95%. Support for the javax.sound.midi framework and experimental DSSI and ALSA service providers. Early version of the popular StAX API. Now has 96% coverage of 1.4 API. This is the first time we also have a pre-release of our 1.5 generics work. classpath-0.19-generics contains a version of the core library that uses the new 1.5 language features such as generics and enumerations. ECJ and JamVM are known to support the generics release out of the box. And you should be able to run Eclipse 3.1 with it to develop programs that use the new 1.5 language and core library additions. classpath-generics is a work in progress and not as extensively tested as our regular releases. But please try it out if you want to help us test the new 1.5 support of the core libraries. For this release we setup a Free Swing Test Application page http://developer.classpath.org/mediation/FreeSwingTestApps Please see that page for showcases of applications that work with this release and to help test other applications. It is also the first release that has GNU Classpath promotion banners. http://developer.classpath.org/mediation/ClasspathBanners Please feel free to add them to your project pages if your project is known to work with GNU Classpath or just to promote the project. 32 people actively contributed to this release and made 787 CVS commits during the last two months of development (excluding the generics branch work). diffstat since 0.18: 1158 files changed, 93916 insertions(+), 36407 deletions(-) More details about the various changes and contributions below. A full list of bug reports fixed for this release can be found at: http://gcc.gnu.org/bugzilla/buglist.cgi?product=classpath&target_milestone=0.19 This release depends on gtk+ 2.4 for AWT support. But gtk+ 2.6 or higher is recommended. Included, but not activated by default in this release is a Graphics2D implementation based on the Cairo Graphics framework (http://www.cairographics.org). Enabling this makes programs like JFreeChart and JEdit start up on GNU Classpath based runtimes. To enable this support install the cairo 0.5.x snapshot, configure GNU Classpath with --enable-gtk-cairo. One of the major focuses of the GNU Classpath project is expanding and using the Mauve test suite for Compatibility, Completeness and Correctness checking. Various groups around GNU Classpath collaborate on the free software Mauve test suite which contains around 34.000 core library tests. Mauve has various modules for testing core class library implementations, byte code verifiers, source to byte code and native code compiler tests. Mauve also contains the Wonka visual test suite and the Jacks Compiler Killer Suite. See for more information: http://www.sourceware.org/mauve/ This release passes 33.381 out of 34.262 Mauve core library tests. Conformance reports for the included jaxp support can be found in the doc/README.jaxp file. GNU Classpath 0.19 can be downloaded from ftp://ftp.gnu.org/pub/gnu/classpath/ or one of the ftp.gnu.org mirrors http://www.gnu.org/order/ftp.html File: classpath-0.19.tar.gz MD5sum: 0b93b1c1dd3d33ef7fb6a47dbb29e41d SHA1sum: 43d499e8b83e04a7fc4a1d4d301638c5cec6c679 File: classpath-0.19-generics.tar.gz (EXPERIMENTAL) MD5sum: 4c0ccc91a147af4010d19f48dbf441b3 SHA1sum: b2a2b968523b3af35cd7e44bcc4f940621b3ca66 The GNU Classpath developers site http://developer.classpath.org/ provides detailed information on how to start with helping the GNU Classpath project and gives an overview of the core class library packages currently provided. For each snapshot release generated documentation is provided through the GNU Classpath Tools gjdoc project. A documentation generation framework for java source files used by the GNU project. Full documentation on the currently implementated packages and classes can be found at: http://developer.classpath.org/doc/ New in release 0.19 (Nov 2, 2005) (See the ChangeLog file for a full list of changes.) * The Swing RepaintManager has been reworked for more efficient painting, especially for large GUIs.
Re: Asking our experts on Swing.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Audrius, I am not a swing expert but I suggest you to add a beanshell console to your game. That way you can inspect the variables (even private stuff) at runtime. That could help to describe an erroneous state more easily. Btw: One can live debug such application with BshBot. You do not even need ot make any changes to your program. Just add all the appropriate jars and directories (the things the application needs and the other stuff for bshbot) into the classpath and start the fun. The run a command like this: cl = Class.forName("mainclass of your application"); cl.main(new String[] { "whatever", "you", "need", "here" }); With setAccessibility(true); one can switch of access checks to private, package-private and protected stuff. This is great to inspect variables and/or call internal methods. BshBot source code is now permanently available on my universities account: http://www.inf.fu-berlin.de/~rschuste/java/bshbot.tar.bz2 cu Robert aka beanshellfan ;) Meskauskas Audrius wrote: > This evening I first tried my two player CORBA game. The CORBA works, > the socket works, the layout and mouse events are ok - but, > unfortunately, the supplementary chatting feature does not work just > because it is not possible to put any text into the JTextField. > > The JTextArea is cleared after sending the message by > JTextField.setText(''"). After I call this method in our Classpath, it > refuses to accept any keyboard input, despite I see the cursor. > Experimenting, I tried to call JTextField.setText(".") instead. In > this case it was possible to enter the text inside the dotted area (the > dots were shifting to the right as expected), but not possible to enter > any additional text after clicking outside the dotted area (but still > inside the text input field). > > It seems that the mouse click right from the area that is already filled > in with some text is ignored instead of placing the carret to the end of > text and allowing the text input. Basically this means that the > JTextField cannot perform one of the main its functions: being initially > empty, become focused after the mouse click and then accept the input data. > > Does anybody already knows about this problem or could suggest some > workaround how to force the input work? On Sun's jre, the program runs > without problems. > > Audrius > > > > > ___ > Classpath mailing list > Classpath@gnu.org > http://lists.gnu.org/mailman/listinfo/classpath > > -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFDag35G9cfwmwwEtoRAr71AKCCmlVnZncKPz1S/yMjMzadR8qzkACdHNMP jnagJN+piu+QFRt8Sc9evPg= =13py -END PGP SIGNATURE- ___ Classpath mailing list Classpath@gnu.org http://lists.gnu.org/mailman/listinfo/classpath
Re: Asking our experts on Swing.
Hi Audrius, Can you create a small testprog that demonstrates the problem? Otherwise it is a bit hard to debug. /Roman Am Donnerstag, den 03.11.2005, 01:03 +0100 schrieb Meskauskas Audrius: > This evening I first tried my two player CORBA game. The CORBA works, > the socket works, the layout and mouse events are ok - but, > unfortunately, the supplementary chatting feature does not work just > because it is not possible to put any text into the JTextField. > > The JTextArea is cleared after sending the message by > JTextField.setText(''"). After I call this method in our Classpath, it > refuses to accept any keyboard input, despite I see the cursor. > Experimenting, I tried to call JTextField.setText(".") instead. In > this case it was possible to enter the text inside the dotted area (the > dots were shifting to the right as expected), but not possible to enter > any additional text after clicking outside the dotted area (but still > inside the text input field). > > It seems that the mouse click right from the area that is already filled > in with some text is ignored instead of placing the carret to the end of > text and allowing the text input. Basically this means that the > JTextField cannot perform one of the main its functions: being initially > empty, become focused after the mouse click and then accept the input data. > > Does anybody already knows about this problem or could suggest some > workaround how to force the input work? On Sun's jre, the program runs > without problems. > > Audrius > > > > > ___ > Classpath mailing list > Classpath@gnu.org > http://lists.gnu.org/mailman/listinfo/classpath signature.asc Description: Dies ist ein digital signierter Nachrichtenteil ___ Classpath mailing list Classpath@gnu.org http://lists.gnu.org/mailman/listinfo/classpath
Re: Mauve results
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi. > Done. Is there a way to get to the FreeSwingTestApps page from the > front page of the wiki? I couldn't find a path, but maybe I just wasn't > looking in the right place... Done. It is still part of the current topics[0] page but since it seems to be such a popular development topic I think it is a good thing to have it linked on the main page. Btw: I do not want to be the Wiki dictator. If anyone thinks an information belongs on a certain page: Just do it! :) cu Robert [0] - http://developer.classpath.org/mediation/ClasspathCurrentTopics -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFDagwBG9cfwmwwEtoRAmYTAJ44LocHO5IN9LDBScXm4Hh/aEr9LACgizQ+ mq9tBU55/JreDHgB6d52CNw= =jwu+ -END PGP SIGNATURE- ___ Classpath mailing list Classpath@gnu.org http://lists.gnu.org/mailman/listinfo/classpath
Re: Mauve results
On Wed, 2005-11-02 at 21:26 +, David Gilbert wrote: > Roman Kennke wrote: > > >I also fixed a painting issue that kept the JUnit testrunner from beeing > >usable. > > > >I think Swing is in a releasable state, so lets go! Agreed. Also all other things seem to be in a very good shape now. Andrew synced generics again and made it distcheck with just ecj. So tagged as classpath-0_19-release and generics-0_19-release and uploaded to ftp://ftp.gnu.org/gnu/classpath/ Release announcement will follow soon. > I've found a good free-swing candidate to work on for the next release > cycle: > > http://findbugs.sourceforge.net/ > > This is a really useful tool for finding common bugs, I've run it a few > times on my own projects and it always highlights something that needs > fixing. > > Thoughts anyone? Please add it with a few instructions on where to get it, how to build and run it to http://developer.classpath.org/mediation/FreeSwingTestApps I hope that page will be our test and show case for Free Swing. Thanks, Mark -- Escape the Java Trap with GNU Classpath! http://www.gnu.org/philosophy/java-trap.html Join the community at http://planet.classpath.org/ signature.asc Description: This is a digitally signed message part ___ Classpath mailing list Classpath@gnu.org http://lists.gnu.org/mailman/listinfo/classpath
Re: Mauve results
Mark Wielaard wrote: On Wed, 2005-11-02 at 21:26 +, David Gilbert wrote: I've found a good free-swing candidate to work on for the next release cycle: http://findbugs.sourceforge.net/ This is a really useful tool for finding common bugs, I've run it a few times on my own projects and it always highlights something that needs fixing. Thoughts anyone? Please add it with a few instructions on where to get it, how to build and run it to http://developer.classpath.org/mediation/FreeSwingTestApps I hope that page will be our test and show case for Free Swing. Thanks, Mark Done. Is there a way to get to the FreeSwingTestApps page from the front page of the wiki? I couldn't find a path, but maybe I just wasn't looking in the right place... Regards, Dave ___ Classpath mailing list Classpath@gnu.org http://lists.gnu.org/mailman/listinfo/classpath