Re: [cp-patches] FYI: Implement java.awt.print

2006-05-17 Thread David Gilbert
Hi Sven, Sven de Marothy wrote: So, here's a first implementation, thanks to Wolfgang's work. ATM it's fairly stupid, printing to an image and printing that (have patience if you think it's slow). But it's a big step up from nothing! 2006-05-13 Sven de Marothy [EMAIL PROTECTED] *

[cp-patches] Initial implementation of java.net.URLConnection.guessContentTypeFromStream()

2006-05-17 Thread Petter Reinholdtsen
Here is a patch to implement some magic numbers in java.net.URLConnection.guessContentTypeFromStream(). I picked a few mime types which seemed relevant from /etc/mime-magic and implemented tests for them. Is this approach good enough? Index: java/net/URLConnection.java

Re: [cp-patches] Enable appletviewer security manager, and make it easier to debug

2006-05-17 Thread Petter Reinholdtsen
[Thomas Fitzsimmons] Yes, this looks fine as a temporary testing measure. Could you also provide a README for gnu/classpath/tools/appletviewer that documents the new environment variables? Sure. Do you have paperwork on file? If not, we should get that process started. Nope. But I do

Re: [cp-patches] Initial implementation of java.net.URLConnection.guessContentTypeFromStream()

2006-05-17 Thread Chris Burdess
Petter Reinholdtsen wrote: Here is a patch to implement some magic numbers in java.net.URLConnection.guessContentTypeFromStream(). I picked a few mime types which seemed relevant from /etc/mime-magic and implemented tests for them. Is this approach good enough? Index:

Re: [cp-patches] FYI: ImageIO JPEG decoder

2006-05-17 Thread Mark Wielaard
Hi Tom, On Thu, 2006-05-04 at 18:02 -0400, Thomas Fitzsimmons wrote: I committed this patch that adapts Trevor Linton's Symphony JPEG decoder to be an ImageIO reader. Thanks for working on this. Trevor should also be added to THANKYOU. There were two files (CDT.java and ZigZag.java) which

Re: [cp-patches] FYI: ImageIO JPEG decoder

2006-05-17 Thread Mark Wielaard
On Wed, 2006-05-17 at 11:06 +0200, Mark Wielaard wrote: This patch adds Trevor and cleans up the TODO items. 2006-05-17 Mark Wielaard [EMAIL PROTECTED] * THANKYOU: Add Trevor Linton [EMAIL PROTECTED]. * gnu/javax/imageio/jpeg/DCT.java: Cleanup Todo copyright. *

[cp-patches] FYI: Documenting the naming manager

2006-05-17 Thread Audrius Meskauskas
2006-05-17 Audrius Meskauskas [EMAIL PROTECTED] * javax/naming/spi/NamingManager.java: Documented. Index: NamingManager.java === RCS file: /sources/classpath/classpath/javax/naming/spi/NamingManager.java,v retrieving revision

[cp-patches] RFC: Making java.lang.Thread.getContextClassLoader() lazy for threads created outside of Java

2006-05-17 Thread Jeroen Frijters
Hi, I would like to apply the attached patch. It fixes a potential initialization order issue for VMs that support running Java code without first initializing the VM explicitly (like IKVM does). The current code calls ClassLoader.getSystemClassLoader() in the Thread constructor that the VM uses

[cp-patches] FYI: LightweightDispatcher fix

2006-05-17 Thread Roman Kennke
I noticed that the LightweightDispatcher was not correct in all cases. A testprogram that I made showed that the mouse event must be dispatched to the component, that can be found by the following algorithm: 1. seach the deepest component at the mouse event location (Container.findComponentAt) 2.

[cp-patches] FYI:Partial fix of 27383

2006-05-17 Thread Audrius Meskauskas
The patch should solve the context factory class loading problems by checking for the possible loaders in the stack trace with VMStackWalker. The problems may be similar as they once were in CORBA ObjectCreator. This patch also makes sure that the context factory is always searched in

Re: [cp-patches] FYI: LightweightDispatcher fix

2006-05-17 Thread Audrius Meskauskas
For me, after this patch only the top left button (Buttons) on the Swing demo is responding to the mouse clicks - others do not. The functionality comes back if I return to the previous version of this file. Regards Audrius Roman Kennke wrote: I noticed that the LightweightDispatcher was

Re: [cp-patches] FYI: Implement java.awt.print

2006-05-17 Thread Audrius Meskauskas
Probably some forgotten autogenerated code. I think, these should be marked as not implemented again. Audrius.

Re: [cp-patches] RFC: Making java.lang.Thread.getContextClassLoader() lazy for threads created outside of Java

2006-05-17 Thread Archie Cobbs
Jeroen Frijters wrote: I would like to apply the attached patch. It fixes a potential initialization order issue for VMs that support running Java code without first initializing the VM explicitly (like IKVM does). Dumb questions: why don't you initialize the VM in JNI_CreateJavaVM()? What is

[cp-patches] Patch: JSlider focus fix

2006-05-17 Thread Lillian Angel
Added code to paint the focus for the slider. 2006-05-17 Lillian Angel [EMAIL PROTECTED] * javax/swing/plaf/basic/BasicSliderUI.java (focusGained): Implemented. (focusLost): Implemented. (paint): Added code to paint the focus. *

RE: [cp-patches] RFC: Making java.lang.Thread.getContextClassLoader() lazy for threads created outside of Java

2006-05-17 Thread Jeroen Frijters
Archie Cobbs wrote: Jeroen Frijters wrote: I would like to apply the attached patch. It fixes a potential initialization order issue for VMs that support running Java code without first initializing the VM explicitly (like IKVM does). Dumb questions: why don't you initialize the VM in

[cp-patches] Patch: GraphicsConfiguration

2006-05-17 Thread Lillian Angel
Implemented missing functions. 2006-05-17 Lillian Angel [EMAIL PROTECTED] * java/awt/GraphicsConfiguration.java (getImageCapabilities): Implemented. (getBufferCapabilities): Implemented. Index: java/awt/GraphicsConfiguration.java

Re: [cp-patches] FYI: LightweightDispatcher fix

2006-05-17 Thread Roman Kennke
Hi, Am Mittwoch, den 17.05.2006, 13:25 +0200 schrieb Audrius Meskauskas: For me, after this patch only the top left button (Buttons) on the Swing demo is responding to the mouse clicks - others do not. The functionality comes back if I return to the previous version of this file. Fixed. I

[cp-patches] Patch: TexturePaint

2006-05-17 Thread Lillian Angel
Implemented a missing function from TexturePaint and documented entire class. 2006-05-17 Lillian Angel [EMAIL PROTECTED] * java/awt/TexturePaint.java: Added documentation for class and all functions. (getTransparency): Implemented. Index: java/awt/TexturePaint.java

[cp-patches] FYI: javax.swing.table.* formatting fixes

2006-05-17 Thread David Gilbert
This patch (committed) fixes some formatting issues in javax.swing.table.*: 2006-05-17 David Gilbert [EMAIL PROTECTED] * javax/swing/table/AbstractTableModel.java: Formatting fixes, * javax/swing/table/DefaultTableModel.java: Likewise, *

[cp-patches] FYI: javax.swing.border.* - source code formatting fixes

2006-05-17 Thread David Gilbert
This patch (committed) fixes some more source code formatting issues in javax.swing: 2006-05-17 David Gilbert [EMAIL PROTECTED] * javax/swing/border/AbstractBorder.java: Source code formatting fixes, * javax/swing/border/BevelBorder.java: Likewise, *

[cp-patches] Patch: FYI: jar fixlet

2006-05-17 Thread Tom Tromey
I'm checking this in. This makes the index file created by jar -i look a little nicer. Tom 2006-05-17 Tom Tromey [EMAIL PROTECTED] * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use a LinkedHashSet. Index: tools/gnu/classpath/tools/jar/Indexer.java