From neugens.limasoftware at gmail.com Thu Dec 4 13:15:53 2014 From: neugens.limasoftware at gmail.com (Mario Torre) Date: Thu, 4 Dec 2014 14:15:53 +0100 Subject: Java 8 In-Reply-To: References: <1416920152.6080.10.camel@localhost> Message-ID: Hi Glen, I'll merge your patches this week, sorry it's taking more time that I wanted :( Anyway, I just submitted a talk proposal at FOSDEM, if you are around it may be good for you to come as well! Cheers, Mario 2014-11-26 18:52 GMT+01:00 Glen Schrader : > Looks to be some API changes even from later 7 builds, I guess I've been > lucky that things work as well as they do. I've hacked together a patch > with a test that triggers my issue (with a JIDE popup component). The JIDE > popup creates a new JWindow that probably is stealing the focus, so this > might be similar to the focus issue I was having a couple of years ago. > > I've also modified the code so things will compile under JDK 8, I'm sure > what I did probably isn't correct though as I've only created empty methods > to satisfy the new interface methods. > > I'll continue to poke around to see if I can track it down. > > Thanks, > Glen > > > > On Tue, Nov 25, 2014 at 5:55 AM, Roman Kennke wrote: >> >> Hi there, >> >> there probably have been some API changes in AWT from 7 -> 8 (and from 8 >> -> 9), and cacio needs to be kept in sync with those. It would be the >> best solution to integrate cacio as a sort of internal API/feature into >> OpenJDK, that would make it much easier to maintain. If that is not >> possible, we'd need to have branches for each JDK versions I think. >> >> Roman >> >> Am Dienstag, den 25.11.2014 um 00:29 +0100 schrieb Mario Torre: >> > Hi Glenn, >> > >> > I still have to find time to port to OpenJKD8, there have been some >> > changes so I first need to port Cacio to the latest 7u and then port >> > to 8, unfortunately I didn't have much time for that yet. >> > >> > Cheers, >> > Mario >> > >> > 2014-11-25 0:12 GMT+01:00 Glen Schrader : >> > > Anyone still around here? I'm wondering if anyone is using cacio with >> > > JDK >> > > 1.8, I'm just in the process of upgrading one of our projects and have >> > > some >> > > tests that are now failing with some focus issues. I'm wondering if >> > > anyone >> > > else is seeing any issues before I start to dig in. >> > >> > >> > >> >> > -- pgp key: http://subkeys.pgp.net/ PGP Key ID: 80F240CF Fingerprint: BA39 9666 94EC 8B73 27FA FC7C 4086 63E3 80F2 40CF Java Champion - Blog: http://neugens.wordpress.com - Twitter: @neugens Proud GNU Classpath developer: http://www.classpath.org/ OpenJDK: http://openjdk.java.net/projects/caciocavallo/ Please, support open standards: http://endsoftpatents.org/ From gschrader at gmail.com Thu Dec 4 16:30:16 2014 From: gschrader at gmail.com (Glen Schrader) Date: Thu, 4 Dec 2014 09:30:16 -0700 Subject: Java 8 In-Reply-To: References: <1416920152.6080.10.camel@localhost> Message-ID: No worries Mario, I'm in no big rush. Oh FOSDEM would have been great but I'm afraid I won't be able to swing that. Good luck on your talk! Glen On Thu, Dec 4, 2014 at 6:15 AM, Mario Torre wrote: > Hi Glen, > > I'll merge your patches this week, sorry it's taking more time that I > wanted :( > > Anyway, I just submitted a talk proposal at FOSDEM, if you are around > it may be good for you to come as well! > > Cheers, > Mario > > 2014-11-26 18:52 GMT+01:00 Glen Schrader : > > Looks to be some API changes even from later 7 builds, I guess I've been > > lucky that things work as well as they do. I've hacked together a patch > > with a test that triggers my issue (with a JIDE popup component). The > JIDE > > popup creates a new JWindow that probably is stealing the focus, so this > > might be similar to the focus issue I was having a couple of years ago. > > > > I've also modified the code so things will compile under JDK 8, I'm sure > > what I did probably isn't correct though as I've only created empty > methods > > to satisfy the new interface methods. > > > > I'll continue to poke around to see if I can track it down. > > > > Thanks, > > Glen > > > > > > > > On Tue, Nov 25, 2014 at 5:55 AM, Roman Kennke wrote: > >> > >> Hi there, > >> > >> there probably have been some API changes in AWT from 7 -> 8 (and from 8 > >> -> 9), and cacio needs to be kept in sync with those. It would be the > >> best solution to integrate cacio as a sort of internal API/feature into > >> OpenJDK, that would make it much easier to maintain. If that is not > >> possible, we'd need to have branches for each JDK versions I think. > >> > >> Roman > >> > >> Am Dienstag, den 25.11.2014 um 00:29 +0100 schrieb Mario Torre: > >> > Hi Glenn, > >> > > >> > I still have to find time to port to OpenJKD8, there have been some > >> > changes so I first need to port Cacio to the latest 7u and then port > >> > to 8, unfortunately I didn't have much time for that yet. > >> > > >> > Cheers, > >> > Mario > >> > > >> > 2014-11-25 0:12 GMT+01:00 Glen Schrader : > >> > > Anyone still around here? I'm wondering if anyone is using cacio > with > >> > > JDK > >> > > 1.8, I'm just in the process of upgrading one of our projects and > have > >> > > some > >> > > tests that are now failing with some focus issues. I'm wondering if > >> > > anyone > >> > > else is seeing any issues before I start to dig in. > >> > > >> > > >> > > >> > >> > > > > > > -- > pgp key: http://subkeys.pgp.net/ PGP Key ID: 80F240CF > Fingerprint: BA39 9666 94EC 8B73 27FA FC7C 4086 63E3 80F2 40CF > > Java Champion - Blog: http://neugens.wordpress.com - Twitter: @neugens > Proud GNU Classpath developer: http://www.classpath.org/ > OpenJDK: http://openjdk.java.net/projects/caciocavallo/ > > Please, support open standards: > http://endsoftpatents.org/ > -------------- next part -------------- An HTML attachment was scrubbed... URL: From roman at kennke.org Mon Dec 8 16:38:39 2014 From: roman at kennke.org (roman at kennke.org) Date: Mon, 08 Dec 2014 16:38:39 +0000 Subject: hg: caciocavallo/ng: 4 new changesets Message-ID: <201412081638.sB8GcdZc012765@aojmv0008> Changeset: 8f18e9789e3a Author: Roman Kennke Date: 2014-12-08 15:35 +0100 URL: http://hg.openjdk.java.net/caciocavallo/ng/rev/8f18e9789e3a Fix JIDE focus issue. Added dummy implementations of new peer interface methods. Contributed-by: Glen Schrader. ! .hgignore ! cacio-shared/src/main/java/sun/awt/peer/cacio/CacioComponent.java ! cacio-shared/src/main/java/sun/awt/peer/cacio/CacioComponentPeer.java ! cacio-shared/src/main/java/sun/awt/peer/cacio/CacioFramePeer.java ! cacio-shared/src/main/java/sun/awt/peer/cacio/CacioKeyboardFocusManagerPeer.java ! cacio-shared/src/main/java/sun/awt/peer/cacio/CacioWindowPeer.java ! cacio-shared/src/main/java/sun/awt/peer/cacio/ProxyWindowPeer.java ! cacio-shared/src/main/java/sun/awt/peer/cacio/managed/FocusManager.java ! cacio-tta/pom.xml ! cacio-tta/src/main/java/net/java/openjdk/cacio/ctc/CTCToolkit.java + cacio-tta/src/test/java/net/java/openjdk/cacio/ctc/JidePopupFocusFESTTest.java ! cacio-web/src/main/java/net/java/openjdk/awt/peer/web/WebToolkit.java Changeset: be722719f657 Author: Roman Kennke Date: 2014-12-08 15:35 +0100 URL: http://hg.openjdk.java.net/caciocavallo/ng/rev/be722719f657 Removed CacioFontManager because it derived from X11FontManager, which is not shared and is now final. - cacio-shared/src/main/java/sun/awt/peer/cacio/CacioFontManager.java ! cacio-shared/src/main/java/sun/awt/peer/cacio/CacioToolkit.java Changeset: 09115c5cd81b Author: Roman Kennke Date: 2014-12-08 15:35 +0100 URL: http://hg.openjdk.java.net/caciocavallo/ng/rev/09115c5cd81b Added WindowResizeTest. + cacio-tta/src/test/java/net/java/openjdk/cacio/ctc/ResizeWindowTest.java Changeset: 5d1e064b553f Author: Roman Kennke Date: 2014-12-08 17:38 +0100 URL: http://hg.openjdk.java.net/caciocavallo/ng/rev/5d1e064b553f Initial DirectFB port (skeleton). + cacio-directfb/pom.xml + cacio-directfb/src/main/c/DirectFBGraphicsEnvironment.c + cacio-directfb/src/main/java/net/java/openjdk/cacio/directfb/DirectFBGraphicsEnvironment.java + cacio-directfb/src/main/java/net/java/openjdk/cacio/directfb/DirectFBToolkit.java From roman at kennke.org Mon Dec 8 17:07:45 2014 From: roman at kennke.org (Roman Kennke) Date: Mon, 08 Dec 2014 18:07:45 +0100 Subject: Java 8 In-Reply-To: References: <1416920152.6080.10.camel@localhost> Message-ID: <1418058465.6191.7.camel@localhost> Hi Glen, I just pushed your patch. Thanks a lot for the contribution! We should make you committer soon! I also pushed a WindowResizeTest I had laying around here since a while. I also pushed a change to remove CacioFontManager, which doesn't work anymore since it derives from X11FontManager, which is now private. I'd really love to have cacio's core part of OpenJDK to avoid such inconsistencies... Instead I now load X11FontManager directly if running on Linux (and dunno what to do on other platforms, others, if you use anything else, please provide a patch. The corresponding system font manager should usually just work). I also started a port to support DirectFB as backend, and pushed some initial code. Have fun! Roman Am Mittwoch, den 26.11.2014 um 15:01 -0700 schrieb Glen Schrader: > Here is an updated patch that passes my test, it basically doesn't > fire the focus gain/lost events in FocusManager if the the new window > isn't focusable, I'm not sure if there is a cleaner way to handle > this... > > > > > > On Wed, Nov 26, 2014 at 10:52 AM, Glen Schrader > wrote: > Looks to be some API changes even from later 7 builds, I guess > I've been lucky that things work as well as they do. I've > hacked together a patch with a test that triggers my issue > (with a JIDE popup component). The JIDE popup creates a new > JWindow that probably is stealing the focus, so this might be > similar to the focus issue I was having a couple of years ago. > > > I've also modified the code so things will compile under JDK > 8, I'm sure what I did probably isn't correct though as I've > only created empty methods to satisfy the new interface > methods. > > > I'll continue to poke around to see if I can track it down. > > > Thanks, > Glen > > > > > > On Tue, Nov 25, 2014 at 5:55 AM, Roman Kennke > wrote: > Hi there, > > there probably have been some API changes in AWT from > 7 -> 8 (and from 8 > -> 9), and cacio needs to be kept in sync with those. > It would be the > best solution to integrate cacio as a sort of internal > API/feature into > OpenJDK, that would make it much easier to maintain. > If that is not > possible, we'd need to have branches for each JDK > versions I think. > > Roman > > Am Dienstag, den 25.11.2014 um 00:29 +0100 schrieb > Mario Torre: > > Hi Glenn, > > > > I still have to find time to port to OpenJKD8, there > have been some > > changes so I first need to port Cacio to the latest > 7u and then port > > to 8, unfortunately I didn't have much time for that > yet. > > > > Cheers, > > Mario > > > > 2014-11-25 0:12 GMT+01:00 Glen Schrader > : > > > Anyone still around here? I'm wondering if anyone > is using cacio with JDK > > > 1.8, I'm just in the process of upgrading one of > our projects and have some > > > tests that are now failing with some focus issues. > I'm wondering if anyone > > > else is seeing any issues before I start to dig > in. > > > > > > > > > > > > > From roman at kennke.org Sun Dec 28 11:11:07 2014 From: roman at kennke.org (roman at kennke.org) Date: Sun, 28 Dec 2014 11:11:07 +0000 Subject: hg: caciocavallo/ng: 2 new changesets Message-ID: <201412281111.sBSBB7lv025325@aojmv0008> Changeset: f753dabc5bfb Author: Roman Kennke Date: 2014-12-08 18:40 +0100 URL: http://hg.openjdk.java.net/caciocavallo/ng/rev/f753dabc5bfb Some small adjustments to remove hardwired settings to DirectFB installation, and allow customized paths. ! cacio-directfb/pom.xml ! cacio-directfb/src/main/java/net/java/openjdk/cacio/directfb/DirectFBGraphicsEnvironment.java Changeset: 82cf52cbb982 Author: Roman Kennke Date: 2014-12-28 12:10 +0100 URL: http://hg.openjdk.java.net/caciocavallo/ng/rev/82cf52cbb982 Implement basic infrastructure and rendering in DirectFB backend. ! cacio-directfb/pom.xml + cacio-directfb/src/main/c/DirectFBEventSource.c + cacio-directfb/src/main/c/DirectFBGraphicsConfiguration.c ! cacio-directfb/src/main/c/DirectFBGraphicsEnvironment.c + cacio-directfb/src/main/c/DirectFBSurfaceData.c + cacio-directfb/src/main/include/SurfaceData.h + cacio-directfb/src/main/java/net/java/openjdk/cacio/directfb/DirectFBEventSource.java + cacio-directfb/src/main/java/net/java/openjdk/cacio/directfb/DirectFBGraphicsConfiguration.java + cacio-directfb/src/main/java/net/java/openjdk/cacio/directfb/DirectFBGraphicsDevice.java ! cacio-directfb/src/main/java/net/java/openjdk/cacio/directfb/DirectFBGraphicsEnvironment.java + cacio-directfb/src/main/java/net/java/openjdk/cacio/directfb/DirectFBRect.java + cacio-directfb/src/main/java/net/java/openjdk/cacio/directfb/DirectFBScreen.java + cacio-directfb/src/main/java/net/java/openjdk/cacio/directfb/DirectFBSurfaceData.java + cacio-directfb/src/main/java/net/java/openjdk/cacio/directfb/DirectFBSurfaceManager.java + cacio-directfb/src/main/java/net/java/openjdk/cacio/directfb/DirectFBSurfaceManagerFactory.java ! cacio-directfb/src/main/java/net/java/openjdk/cacio/directfb/DirectFBToolkit.java From roman at kennke.org Mon Dec 29 22:10:16 2014 From: roman at kennke.org (roman at kennke.org) Date: Mon, 29 Dec 2014 22:10:16 +0000 Subject: hg: caciocavallo/ng: 2 new changesets Message-ID: <201412292210.sBTMAGde010087@aojmv0008> Changeset: db4bcd84eba3 Author: Roman Kennke Date: 2014-12-29 23:09 +0100 URL: http://hg.openjdk.java.net/caciocavallo/ng/rev/db4bcd84eba3 Implement toString() in EventData for easier debug output. ! cacio-shared/src/main/java/sun/awt/peer/cacio/managed/EventData.java Changeset: c4657712643e Author: Roman Kennke Date: 2014-12-29 23:10 +0100 URL: http://hg.openjdk.java.net/caciocavallo/ng/rev/c4657712643e Implement rudimentary mouse event handling for DirectFB port. ! cacio-directfb/pom.xml ! cacio-directfb/src/main/c/DirectFBEventSource.c ! cacio-directfb/src/main/java/net/java/openjdk/cacio/directfb/DirectFBEventSource.java ! cacio-directfb/src/main/java/net/java/openjdk/cacio/directfb/DirectFBToolkit.java