From neugens.limasoftware at gmail.com Sun Aug 3 09:35:04 2008 From: neugens.limasoftware at gmail.com (neugens.limasoftware at gmail.com) Date: Sun, 03 Aug 2008 16:35:04 +0000 Subject: hg: caciocavallo/caciocavallo: 41 new changesets Message-ID: <20080803163504.CD017DF53@hg.openjdk.java.net> Changeset: dbeed1063c06 Author: Roman Kennke Date: 2008-03-03 17:24 +0100 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/dbeed1063c06 Initial set of OpenJDK patches. + .hgignore + fontmanager.patch + generics-compilation-bug.patch + move-nio-solaris.patch + series + suntoolkit-initids.patch + surfacemanagerfactory.patch Changeset: bc1507684922 Author: Roman Kennke Date: 2008-03-03 18:51 +0100 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/bc1507684922 Added patch for the isDisplayLocal() issue. + j2d-localdisplay.patch ! series Changeset: 38567d2c403d Author: Roman Kennke Date: 2008-03-04 22:44 +0100 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/38567d2c403d Fixed isLocalDisplay() ! j2d-localdisplay.patch Changeset: 2e22007263d2 Author: Roman Kennke Date: 2008-03-04 22:44 +0100 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/2e22007263d2 Refactored big parts of FontManager to live in instance methods. + j2d-fontmanager2.patch ! series Changeset: 6e57195b7788 Author: Roman Kennke Date: 2008-03-05 20:44 +0100 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/6e57195b7788 Fix static method lookup ! j2d-localdisplay.patch Changeset: a296ddd6d785 Author: Roman Kennke Date: 2008-03-05 20:45 +0100 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/a296ddd6d785 Factored out SunGE from FontManager. + fontmanager3.patch ! j2d-fontmanager2.patch ! series Changeset: b88165c96268 Author: Roman Kennke Date: 2008-03-05 20:47 +0100 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/b88165c96268 Remove windows version of SurfaceManagerFactory.java ! surfacemanagerfactory.patch Changeset: 0e7c58033168 Author: Roman Kennke Date: 2008-03-06 15:16 +0100 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/0e7c58033168 Moved more stuff from SunGE to FontManager. + fontmanager4.patch ! series Changeset: f299427ef08a Author: Roman Kennke Date: 2008-03-10 16:46 +0100 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/f299427ef08a Added X11FontManager and Win32FontManager. ! fontmanager3.patch Changeset: d8a6027ab2ed Author: Mario Torre Date: 2008-03-11 12:50 +0100 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/d8a6027ab2ed getInstance: Now returns an instance of sun.awt.X11FontManager if the sun.font.fontmanager environment variable is is not setted. ! fontmanager.patch Changeset: e6f94cd88fbe Author: Mario Torre Date: 2008-03-11 12:52 +0100 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/e6f94cd88fbe Update patch to sync with changes in fontmanbager.patch ! fontmanager3.patch Changeset: b057c8cadb2e Author: Mario Torre Date: 2008-03-12 11:54 +0100 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/b057c8cadb2e Update RepaintManager to detect if SunToolkit is used or not. This change is needed in order to query for a BUFFER_STRATEGY and to post events on the EventQueue. + RepaintManager.patch ! series Changeset: 9c4dacb2ec12 Author: Mario Torre Date: 2008-03-13 11:37 +0100 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/9c4dacb2ec12 Suntoolkit-initids.patch: reverted patch, was causing VM to crash because because SunToolkit was not initialized before use in native code. ! series - suntoolkit-initids.patch Changeset: 78e0c2724a09 Author: Roman Kennke Date: 2008-04-08 11:16 +0200 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/78e0c2724a09 Include AWT_IsHeadless function again. + disable-awt-loadlibrary.patch ! series Changeset: b1daf51bf19a Author: Roman Kennke Date: 2008-04-16 15:43 +0200 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/b1daf51bf19a Re-include AWTIsHeadless() function. ! disable-awt-loadlibrary.patch Changeset: 12a606107683 Author: Roman Kennke Date: 2008-04-21 13:25 +0200 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/12a606107683 Removed generics compilation patch. Has been integrated into mainline. - generics-compilation-bug.patch ! series Changeset: e9909b90150d Author: Roman Kennke Date: 2008-05-02 12:12 +0200 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/e9909b90150d Hardy build patch and gray filter cache. + build-hardy.patch + grayfiltercache.patch ! series Changeset: 9175e0b79634 Author: Roman Kennke Date: 2008-05-02 12:13 +0200 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/9175e0b79634 Cleanup AWT peers. + cleanawtpeer.patch ! series Changeset: 432747e80e8c Author: Roman Kennke Date: 2008-05-06 16:52 +0200 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/432747e80e8c Documented some of the peer API. + documentawtpeer.patch ! series Changeset: 96c3ab74c8e6 Author: Roman Kennke Date: 2008-05-29 10:47 +0200 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/96c3ab74c8e6 More AWT peer docs. ! documentawtpeer.patch Changeset: 25659b454c0b Author: Roman Kennke Date: 2008-06-12 16:04 +0200 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/25659b454c0b Synced with latest OpenJDK. ! documentawtpeer.patch ! fontmanager.patch ! fontmanager3.patch ! j2d-fontmanager2.patch ! series - surfacemanagerfactory.patch Changeset: a31b79132dd7 Author: Roman Kennke Date: 2008-07-09 13:22 +0200 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/a31b79132dd7 More API docs for java.awt.peer.* . ! documentawtpeer.patch Changeset: 7f4aa35df95b Author: Roman Kennke Date: 2008-07-16 16:27 +0200 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/7f4aa35df95b Removed wrong diff in FileFontStrike.java ! documentawtpeer.patch Changeset: 6168c4c23002 Author: Mario Torre Date: 2008-07-18 16:54 +0200 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/6168c4c23002 Update KeyboardFocusManager to use an helper class for getting a KeyboardFocusManagerPeerProvider instead of requiring the toolkit to implement the KeyboardFocusManagerPeer interface. + caciocavallo-GenericKeyboardFocusManagerprovide.patch Changeset: 7ef79e0e6d94 Author: Mario Torre Date: 2008-07-18 16:54 +0200 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/7ef79e0e6d94 Make FontManager more portable + fontmanager5.patch + fontmanager6.patch Changeset: fb8cb6e66e7e Author: Mario Torre Date: 2008-07-18 16:54 +0200 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/fb8cb6e66e7e Add new patches to the queue. ! series Changeset: d4d3fd308231 Author: Mario Torre Date: 2008-07-25 15:35 +0200 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/d4d3fd308231 No changes commit... ! caciocavallo-GenericKeyboardFocusManagerprovide.patch Changeset: 10a1e60d1884 Author: Mario Torre Date: 2008-07-25 15:35 +0200 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/10a1e60d1884 Fixed typo in for method getTrueTypeFilter() ! fontmanager5.patch ! fontmanager6.patch Changeset: 3308d40962e0 Author: Mario Torre Date: 2008-07-25 15:37 +0200 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/3308d40962e0 Fix FontManager for windows build. ! series + windows-fontmanager.patch Changeset: d7852d9effaf Author: Roman Kennke Date: 2008-07-22 21:09 +0200 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/d7852d9effaf Removed duplicated code for splashscreen closing. + openjdk-splashscreen.patch ! series Changeset: 119b5b00190f Author: Roman Kennke Date: 2008-07-22 21:10 +0200 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/119b5b00190f Automated merge with ssh://hg at kennke.org/public_html/openjdk-patches ! series Changeset: 030960a57458 Author: Mario Torre Date: 2008-07-25 16:33 +0200 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/030960a57458 Merged. ! series Changeset: 5193238d0afd Author: Mario Torre Date: 2008-07-25 17:53 +0200 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/5193238d0afd Updated with fixlet missing from previous commit. ! windows-fontmanager.patch Changeset: a23108725bfb Author: Mario Torre Date: 2008-07-28 14:48 +0200 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/a23108725bfb More fixes for windows build. ! windows-fontmanager.patch Changeset: 6f89d225f17c Author: Mario Torre Date: 2008-07-28 22:46 +0200 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/6f89d225f17c More windows fixlets... ! windows-fontmanager.patch Changeset: cb20ac719e3b Author: Mario Torre Date: 2008-07-29 19:46 +0200 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/cb20ac719e3b Fix FontManagerFactory to load the correct FontManager class when Windows or Linux/Solaris is detected. ! series + windows-fontmanagerfactory.patch Changeset: de6285070848 Author: Roman Kennke Date: 2008-07-29 15:49 +0200 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/de6285070848 Removed some patches that are not related to the challenge. - caciocavallo-GenericKeyboardFocusManagerprovide.patch - disable-awt-loadlibrary.patch - grayfiltercache.patch - move-nio-solaris.patch ! series Changeset: b631f226e548 Author: Roman Kennke Date: 2008-07-29 15:50 +0200 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/b631f226e548 Automated merge with ssh://hg at kennke.org/public_html/openjdk-patches - caciocavallo-GenericKeyboardFocusManagerprovide.patch - disable-awt-loadlibrary.patch - grayfiltercache.patch - move-nio-solaris.patch ! series Changeset: c964d6b9ee49 Author: Mario Torre Date: 2008-07-29 22:12 +0200 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/c964d6b9ee49 merged. - caciocavallo-GenericKeyboardFocusManagerprovide.patch - disable-awt-loadlibrary.patch - grayfiltercache.patch - move-nio-solaris.patch ! series Changeset: c9ac4cbe02e6 Author: Mario Torre Date: 2008-07-30 22:30 +0200 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/c9ac4cbe02e6 Reintroduce the patch. + caciocavallo-GenericKeyboardFocusManagerprovide.patch ! series Changeset: cac6358985bd Author: Mario Torre Date: 2008-07-31 17:40 +0200 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/cac6358985bd Sync with caciocavallo branch. + SunGraphicsEnvironment-cleanup.patch ! series From neugens.limasoftware at gmail.com Mon Aug 4 08:19:10 2008 From: neugens.limasoftware at gmail.com (neugens.limasoftware at gmail.com) Date: Mon, 04 Aug 2008 15:19:10 +0000 Subject: hg: caciocavallo/caciocavallo: Correct fix for GenericKeyboardFocusManagerprovide. Message-ID: <20080804151910.99701DFC8@hg.openjdk.java.net> Changeset: 6ea7a44001dd Author: Mario Torre Date: 2008-08-04 17:18 +0200 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/6ea7a44001dd Correct fix for GenericKeyboardFocusManagerprovide. ! caciocavallo-GenericKeyboardFocusManagerprovide.patch From neugens.limasoftware at gmail.com Mon Aug 4 08:20:49 2008 From: neugens.limasoftware at gmail.com (neugens.limasoftware at gmail.com) Date: Mon, 04 Aug 2008 15:20:49 +0000 Subject: hg: caciocavallo/caciocavallo: Added documentation as a sub directory of the patch queue. Message-ID: <20080804152049.C73AFDFCF@hg.openjdk.java.net> Changeset: e1f82da1b150 Author: Mario Torre Date: 2008-08-04 17:20 +0200 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/e1f82da1b150 Added documentation as a sub directory of the patch queue. + cacio-docs/Notes.txt + cacio-docs/OpenJDK-proposal.txt + cacio-docs/Portable AWT Backends Doku.txt + cacio-docs/Tutorial_External_Interfaces.html + cacio-docs/Tutorial_Internal_Interfaces.html + cacio-docs/What we did.txt + cacio-docs/challenge_caciocavallo_project.html + cacio-docs/index.html + cacio-docs/tasks_openjdk_challenge.txt From neugens.limasoftware at gmail.com Mon Aug 4 08:24:00 2008 From: neugens.limasoftware at gmail.com (neugens.limasoftware at gmail.com) Date: Mon, 04 Aug 2008 15:24:00 +0000 Subject: hg: caciocavallo/caciocavallo: Fixed typo in links. Message-ID: <20080804152400.E2CD5DFD4@hg.openjdk.java.net> Changeset: a17d6e849709 Author: Mario Torre Date: 2008-08-04 17:23 +0200 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/a17d6e849709 Fixed typo in links. ! cacio-docs/index.html From neugens.limasoftware at gmail.com Mon Aug 4 09:16:52 2008 From: neugens.limasoftware at gmail.com (neugens.limasoftware at gmail.com) Date: Mon, 04 Aug 2008 16:16:52 +0000 Subject: hg: caciocavallo/caciocavallo: 3 new changesets Message-ID: <20080804161652.BCAA8DFEA@hg.openjdk.java.net> Changeset: 5ec186b7595e Author: Mario Torre Date: 2008-08-04 18:11 +0200 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/5ec186b7595e Fix... ! cacio-docs/Tutorial_External_Interfaces.html Changeset: 78443466b134 Author: Roman Kennke Date: 2008-08-04 17:46 +0200 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/78443466b134 Fixed typos. ! cacio-docs/challenge_caciocavallo_project.html Changeset: 1b984732d926 Author: Roman Kennke Date: 2008-08-04 18:00 +0200 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/1b984732d926 Fixed some URLs. ! cacio-docs/index.html From neugens.limasoftware at gmail.com Mon Aug 4 09:31:08 2008 From: neugens.limasoftware at gmail.com (neugens.limasoftware at gmail.com) Date: Mon, 04 Aug 2008 16:31:08 +0000 Subject: hg: caciocavallo/caciocavallo: Doc fixes will never ends... Message-ID: <20080804163108.90642DFF3@hg.openjdk.java.net> Changeset: 89073c7d8afa Author: Mario Torre Date: 2008-08-04 18:30 +0200 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/89073c7d8afa Doc fixes will never ends... ! cacio-docs/Tutorial_External_Interfaces.html ! cacio-docs/challenge_caciocavallo_project.html From neugens.limasoftware at gmail.com Mon Aug 4 11:08:06 2008 From: neugens.limasoftware at gmail.com (neugens.limasoftware at gmail.com) Date: Mon, 04 Aug 2008 18:08:06 +0000 Subject: hg: caciocavallo/caciocavallo: Fixed links in docs. Message-ID: <20080804180806.1D0A6DFFF@hg.openjdk.java.net> Changeset: 3a299c6634de Author: Mario Torre Date: 2008-08-04 20:07 +0200 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/3a299c6634de Fixed links in docs. ! cacio-docs/challenge_caciocavallo_project.html From neugens.limasoftware at gmail.com Mon Aug 4 13:23:47 2008 From: neugens.limasoftware at gmail.com (neugens.limasoftware at gmail.com) Date: Mon, 04 Aug 2008 20:23:47 +0000 Subject: hg: caciocavallo/caciocavallo: docs updated Message-ID: <20080804202347.14A77D03B@hg.openjdk.java.net> Changeset: c54f32e724a9 Author: Mario Torre Date: 2008-08-04 22:23 +0200 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/c54f32e724a9 docs updated ! cacio-docs/Tutorial_Internal_Interfaces.html ! cacio-docs/index.html From roman at kennke.org Mon Aug 4 14:07:44 2008 From: roman at kennke.org (Roman Kennke) Date: Mon, 04 Aug 2008 23:07:44 +0200 Subject: FINAL PROJECT: Portable GUI backends Message-ID: <1217884064.7872.12.camel@moonlight> Dear judges, dear mailing list, Please find all necessary material (documentation, source code, tests, etc) to the Caciocavallo project here: http://hg.openjdk.java.net/caciocavallo/caciocavallo/raw-file/tip/cacio-docs/index.html All the source code developed as part of this project is published under the SCA of Roman Kennke, Mario Torre and aicas GmbH. This includes the code published under these repositories: http://hg.openjdk.java.net/caciocavallo/caciocavallo/ http://kennke.org/~hg/hgwebdir.cgi/caciocavallo/ http://kennke.org/~hg/hgwebdir.cgi/caciocavallo-ng/ The latter two serve as prototypical implementations of a GUI backend. They share some code with the Escher peer from GNU Classpath. The authors (Mario and me) donated a previous version of that code to the GNU Classpath project. The authors made sure that only code is contributed to any project that was actually written 100% by the authors. Kind regards, Mario and Roman -- Dipl.-Inform. (FH) Roman Kennke, Software Engineer, http://kennke.org aicas Allerton Interworks Computer Automated Systems GmbH Haid-und-Neu-Stra?e 18 * D-76131 Karlsruhe * Germany http://www.aicas.com * Tel: +49-721-663 968-48 USt-Id: DE216375633, Handelsregister HRB 109481, AG Karlsruhe Gesch?ftsf?hrer: Dr. James J. Hunt -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Dies ist ein digital signierter Nachrichtenteil Url : http://mail.openjdk.java.net/pipermail/caciocavallo-dev/attachments/20080804/8659f003/attachment.bin From neugens.limasoftware at gmail.com Mon Aug 4 15:27:04 2008 From: neugens.limasoftware at gmail.com (neugens.limasoftware at gmail.com) Date: Mon, 04 Aug 2008 22:27:04 +0000 Subject: hg: caciocavallo/caciocavallo: Added missing javadoc link. Message-ID: <20080804222704.157F0D0B5@hg.openjdk.java.net> Changeset: fc9c5f24ad96 Author: Mario Torre Date: 2008-08-05 00:26 +0200 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/fc9c5f24ad96 Added missing javadoc link. ! cacio-docs/index.html From neugens.limasoftware at gmail.com Mon Aug 4 15:32:28 2008 From: neugens.limasoftware at gmail.com (neugens.limasoftware at gmail.com) Date: Mon, 04 Aug 2008 22:32:28 +0000 Subject: hg: caciocavallo/caciocavallo: Better name for link. Message-ID: <20080804223228.7183CD0C0@hg.openjdk.java.net> Changeset: d707b3319d65 Author: Mario Torre Date: 2008-08-05 00:32 +0200 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/d707b3319d65 Better name for link. ! cacio-docs/index.html From neugens at limasoftware.net Wed Aug 6 10:21:00 2008 From: neugens at limasoftware.net (Mario Torre) Date: Wed, 06 Aug 2008 19:21:00 +0200 Subject: Small fixlet Message-ID: <1218043260.3115.36.camel@nirvana> Dear Judges, Dear List, I would like to submit this small fix to our repository on java.net. The fix does not add new code, just removes one patch that can cause a StackOverflow. If you think we should not be allowed to push this patch, in order to still be able to test our code, please, do *not* apply "SunGraphicsEnvironment-cleanup.patch" to the patch queue. In case you prefer to use our branched repository, we will upload the fix shortly. Thanks, Mario -- ?Mario Torre, Software Developer, http://www.jroller.com/neugens/ aicas Allerton Interworks Computer Automated Systems GmbH Haid-und-Neu-Stra?e 18 * D-76131 Karlsruhe * Germany http://www.aicas.com * Tel: +49-721-663 968-53 pgp key: http://subkeys.pgp.net/ PGP Key ID: 80F240CF Fingerprint: BA39 9666 94EC 8B73 27FA FC7C 4086 63E3 80F2 40CF USt-Id: DE216375633, Handelsregister HRB 109481, AG Mannheim Gesch?ftsf?hrer: Dr. James J. Hunt Please, support open standards: http://opendocumentfellowship.org/petition/ http://www.nosoftwarepatents.com/ -------------- next part -------------- A non-text attachment was scrubbed... Name: fix-StackOverflow.patch Type: text/x-patch Size: 261 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/caciocavallo-dev/attachments/20080806/d64c46e2/fix-StackOverflow.patch From neugens.limasoftware at gmail.com Wed Aug 6 10:22:39 2008 From: neugens.limasoftware at gmail.com (Mario Torre) Date: Wed, 06 Aug 2008 19:22:39 +0200 Subject: Small fixlet Message-ID: <1218043359.3115.39.camel@nirvana> Dear Judges, Dear List, I would like to submit this small fix to our repository on java.net. The fix does not add new code, just removes one patch that can cause a StackOverflow. If you think we should not be allowed to push this patch, in order to still be able to test our code, please, do *not* apply "SunGraphicsEnvironment-cleanup.patch" to the patch queue. In case you prefer to use our branched repository, we will upload the fix shortly. Thanks, Mario -- ?Mario Torre, Software Developer, http://www.jroller.com/neugens/ aicas Allerton Interworks Computer Automated Systems GmbH Haid-und-Neu-Stra?e 18 * D-76131 Karlsruhe * Germany http://www.aicas.com * Tel: +49-721-663 968-53 pgp key: http://subkeys.pgp.net/ PGP Key ID: 80F240CF Fingerprint: BA39 9666 94EC 8B73 27FA FC7C 4086 63E3 80F2 40CF USt-Id: DE216375633, Handelsregister HRB 109481, AG Mannheim Gesch?ftsf?hrer: Dr. James J. Hunt Please, support open standards: http://opendocumentfellowship.org/petition/ http://www.nosoftwarepatents.com/ -------------- next part -------------- A non-text attachment was scrubbed... Name: fix-StackOverflow.patch Type: text/x-patch Size: 261 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/caciocavallo-dev/attachments/20080806/23d16afa/fix-StackOverflow.patch From mario.torre at aicas.com Wed Aug 6 10:19:28 2008 From: mario.torre at aicas.com (Mario Torre) Date: Wed, 06 Aug 2008 19:19:28 +0200 Subject: Small fixlet Message-ID: <1218043168.3115.34.camel@nirvana> Dear Judges, Dear List, I would like to submit this small fix to our repository on java.net. The fix does not add new code, just removes one patch that can cause a StackOverflow. If you think we should not be allowed to push this patch, in order to still be able to test our code, please, do *not* apply "SunGraphicsEnvironment-cleanup.patch" to the patch queue. In case you prefer to use our branched repository, we will upload the fix shortly. Thanks, Mario -- ?Mario Torre, Software Developer, http://www.jroller.com/neugens/ aicas Allerton Interworks Computer Automated Systems GmbH Haid-und-Neu-Stra?e 18 * D-76131 Karlsruhe * Germany http://www.aicas.com * Tel: +49-721-663 968-53 pgp key: http://subkeys.pgp.net/ PGP Key ID: 80F240CF Fingerprint: BA39 9666 94EC 8B73 27FA FC7C 4086 63E3 80F2 40CF USt-Id: DE216375633, Handelsregister HRB 109481, AG Mannheim Gesch?ftsf?hrer: Dr. James J. Hunt Please, support open standards: http://opendocumentfellowship.org/petition/ http://www.nosoftwarepatents.com/ -------------- next part -------------- A non-text attachment was scrubbed... Name: fix-StackOverflow.patch Type: text/x-patch Size: 261 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/caciocavallo-dev/attachments/20080806/8c2a4704/fix-StackOverflow.patch From gnu_andrew at member.fsf.org Fri Aug 8 14:19:57 2008 From: gnu_andrew at member.fsf.org (Andrew John Hughes) Date: Fri, 8 Aug 2008 22:19:57 +0100 Subject: Small fixlet In-Reply-To: <15D8F9C2-5CB5-4F5C-A246-E8326B4C4199@sun.com> References: <1218043168.3115.34.camel@nirvana> <15D8F9C2-5CB5-4F5C-A246-E8326B4C4199@sun.com> Message-ID: <17c6771e0808081419i246adb3bkd6d2f5b04036b3c3@mail.gmail.com> On 08/08/2008, Ray Gans wrote: > Not a problem Mario. These should continue to be living projects. There is > no need to stop working on them because of the deadline. As long as you let > us know what's changed (like you've done) that's is appreciated. > > Thanks, > > -Ray > Regarding any commits post-deadline would seem sufficient. I don't know how long the judging process will take but writing an additional post for each commit would seem a bit excessive to me. -- Andrew :-) Support Free Java! Contribute to GNU Classpath and the OpenJDK http://www.gnu.org/software/classpath http://openjdk.java.net PGP Key: 94EFD9D8 (http://subkeys.pgp.net) Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8 From neugens.limasoftware at gmail.com Sat Aug 9 02:58:23 2008 From: neugens.limasoftware at gmail.com (neugens.limasoftware at gmail.com) Date: Sat, 09 Aug 2008 09:58:23 +0000 Subject: hg: caciocavallo/caciocavallo: Removed SunGraphicsEnvironment patch that caused infinite loop. Message-ID: <20080809095823.59AD5DBC4@hg.openjdk.java.net> Changeset: 0438da230c33 Author: Mario Torre Date: 2008-08-09 11:57 +0200 URL: http://hg.openjdk.java.net/caciocavallo/caciocavallo/rev/0438da230c33 Removed SunGraphicsEnvironment patch that caused infinite loop. - SunGraphicsEnvironment-cleanup.patch ! series From Ray.Gans at Sun.COM Fri Aug 8 12:27:49 2008 From: Ray.Gans at Sun.COM (Ray Gans) Date: Fri, 08 Aug 2008 12:27:49 -0700 Subject: Small fixlet In-Reply-To: <1218043168.3115.34.camel@nirvana> References: <1218043168.3115.34.camel@nirvana> Message-ID: <15D8F9C2-5CB5-4F5C-A246-E8326B4C4199@sun.com> Not a problem Mario. These should continue to be living projects. There is no need to stop working on them because of the deadline. As long as you let us know what's changed (like you've done) that's is appreciated. Thanks, -Ray On Aug 6, 2008, at 10:19 AM, Mario Torre wrote: > Dear Judges, Dear List, > > I would like to submit this small fix to our repository on java.net. > > The fix does not add new code, just removes one patch that can cause a > StackOverflow. > > If you think we should not be allowed to push this patch, in order to > still be able to test our code, please, do *not* apply > "SunGraphicsEnvironment-cleanup.patch" to the patch queue. > > In case you prefer to use our branched repository, we will upload the > fix shortly. > > Thanks, > Mario > -- > Mario Torre, Software Developer, http://www.jroller.com/neugens/ > aicas Allerton Interworks Computer Automated Systems GmbH > Haid-und-Neu-Stra?e 18 * D-76131 Karlsruhe * Germany > http://www.aicas.com * Tel: +49-721-663 968-53 > pgp key: http://subkeys.pgp.net/ PGP Key ID: 80F240CF > Fingerprint: BA39 9666 94EC 8B73 27FA FC7C 4086 63E3 80F2 40CF > > USt-Id: DE216375633, Handelsregister HRB 109481, AG Mannheim > Gesch?ftsf?hrer: Dr. James J. Hunt > > Please, support open standards: > http://opendocumentfellowship.org/petition/ > http://www.nosoftwarepatents.com/ > > From roman.kennke at aicas.com Fri Aug 15 03:09:52 2008 From: roman.kennke at aicas.com (Roman Kennke) Date: Fri, 15 Aug 2008 12:09:52 +0200 Subject: Ideas about improved architecture of the generic Swing peers Message-ID: <1218794992.6783.44.camel@moonlight> Hello people, I'd like to outline my ideas about an improved architecture of the generic Swing based peers. But let me first describe the current state and the problem(s) we need to address: Currently, the Swing peers implement most of the peers in java.awt.peer.* (well ok, minus a couple of complex ones, like ScrollPane, Choice, etc). They are not supposed to work standalone, but need some support by a real backend. Most notably, this would be an implementation of java.awt.Toolkit and the top-level window peers (WindowPeer, DialogPeer and FramePeer). Based on these toplevel windows, the Swing peers handle all the widgets in a semi-lightweight fashion: all the drawing is done using Graphics contexts from the toplevel windows. However, the actual Swing components are not connected to the component hierarchy in any way, they are only 'hooked in' in a way, so that from the perspective of the Swing component it appears as if it were in the component hierarchy, but infact it isn't (from the perspective of the hierarchy). This architecture, requiring the real backend to implement the toplevel windows, and do everything else in a quasi-lightweight fashion has some disadvantages, or at least, one big disadvantage. It is really hard to get the special behaviour of AWT heavyweight components correct. For example, suppose you have a Frame, inside this frame you have a Swing component, and a Panel. The panel would always be on top of the Swing component, regardless of the stacking order in the window. To make it even more complex, if you had a Swing component in the Panel, it would be drawn on the Panel, not on the Window (an thus, it would appear to be always on top of the other Swing component). To get this right in the Swing peers, we had to implement a bunch of hacks, that involve double buffers for all components and other ugly stuff, and it never worked really well. The answer, for me, was found in the implementation of the XWindow peers in OpenJDK. All AWT components are 'simply' given their own X Windows. I, coming from a Swing background, first had to get over this concept a little, but then it seemed all logical, and I think most toolkits (at least in the X world) are implemented like that. And even though not specified exactly, Java AWT applications expect such behavior from AWT components. What I would like to propose is a kind of blend between the architecture of the XAWT peers in OpenJDK and the Swing peers: Let all AWT components be drawn in their own window, but let Swing do the drawing and handling of logic and events. This way, we would get a maximum portable AWT peer implementation, that requires only minimal effort to port to any new platform. The interesting part is to implement this idea: The first thing to think about is that all components should have their own window. To me, this means, that the common superclass of all the peers, the SwingComponentPeer, must implement all the necessary windowing behaviour. This is done similarily in the XAWT peers, but in a very X specific way. All other peers, including the toplevel peers and the widgets, derive from this class (an exception would probably be the menu related peers). Since SwingComponentPeer already implements all the necessary windowing functionality, the toplevel peers don't have much to do on their own, except delegating to super here and there. The widget peers now don't search for a parent graphics for drawing, but can do everything in their own window. The tricky part here is, when the SwingComponentPeer is at the top of the hierarchy, how can we 'plug in' platform specific code there? Subclassing surely isn't it. My idea is to have a kind of PlatformWindow interface, which is used by the SwingComponentPeer to delegate all the real window implementation stuff to. We should be careful to create a nice clean interface there. Porting the AWT would then be as simple as implementing this one interface (plus J2D pipeline), and boing! have all the AWT widgets and toplevel windows available. And we need to consider that not only SwingComponentPeer calls into the PlatformWindow impl, but the PlatformWindow impl also needs to call back to the SwingComponentPeer for handling events. In the XAWT implementation this is done by passing back X events. Of course, we don't want platform specific events in the Swing peers. So the PlatformWindow implementation needs to take care and transform all platform specific events to Java AWT events before passing them back to the SwingComponentPeer. It might be necessary to introduce a couple of internal peer events for handling stuff that is not covered by the 'official' AWT events. Summary of the architecture outline (this would be a good point to slip in an UML diagram, but I really don't like diagrams ;-) ): SwingComponentPeer is the all-mighty master superclass here. It provides all the necessary windowing functionality. But it doesn't implement this itself, but instead delegates to a PlatformWindow implementation. PlatformWindow would be an interface that specifies all the windowing functionality that we need from the underlying platform. The PlatformWindow implementation is also expected to pass all the events from the window to the SwingComponentPeer, in the form of AWT event objects (it must already translate the native event types to the corresponding AWT events). Subclasses of SwingComponentPeer implement both the widgets as well as the toplevel windows. Drawing the widgets and handling the state logic of the component is done by Swing. Please tell me what you think. Cheers, Roman -- Dipl.-Inform. (FH) Roman Kennke, Software Engineer, http://kennke.org aicas Allerton Interworks Computer Automated Systems GmbH Haid-und-Neu-Stra?e 18 * D-76131 Karlsruhe * Germany http://www.aicas.com * Tel: +49-721-663 968-48 USt-Id: DE216375633, Handelsregister HRB 109481, AG Karlsruhe Gesch?ftsf?hrer: Dr. James J. Hunt