[cp-patches] Patch: DropTargetDragEvent fix

2006-08-15 Thread Lillian Angel
Implemented a missing function 2006-08-15 Lillian Angel <[EMAIL PROTECTED]> * java/awt/dnd/DropTargetDragEvent.java (getTransferable): Implemented. Index: java/awt/dnd/DropTargetDragEvent.java === RC

[cp-patches] Patch: GtkDragSourceContextPeer fixlet

2006-08-10 Thread Lillian Angel
Small fix 2006-08-10 Lillian Angel <[EMAIL PROTECTED]> * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java (getComponentPeer): Added check to prevent NPE. Index: gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPee

[cp-patches] RE: FYI: Removed GTK drop target code from java/awt/Component.java

2006-08-08 Thread Lillian Angel
On Tue, 2006-08-08 at 17:52 +0200, Jeroen Frijters wrote: > Jeroen Frijters wrote: > > Lillian Angel wrote: > > > On Sat, 2006-08-05 at 11:28 +0200, Jeroen Frijters wrote: > > > > Hi, > > > > > > > > I commented out the GTK specific code in

[cp-patches] Re: FYI: Removed GTK drop target code from java/awt/Component.java

2006-08-08 Thread Lillian Angel
Right now, its not possible to do it another way. I have removed this code and added a comment else where. Thanks for pointing this out. 2006-08-08 Lillian Angel <[EMAIL PROTECTED]> * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java (GtkDragSourceContextPeer)

[cp-patches] Patch: DragSource and DropTarget fixes

2006-08-02 Thread Lillian Angel
I committed several mauve tests for DragSource and DropTargets. I fixed all the errors found from running those tests. 2006-08-02 Lillian Angel <[EMAIL PROTECTED]> * java/awt/dnd/DragSource.java (isDragImageSupported): Implemented. (getDragThreshold): Changed d

Re: [cp-patches] FYI: DnD stuff

2006-07-28 Thread Lillian Angel
Apparently, this patch raised some problems with the builder. I have removed all stub functions until I implement them 2006-07-28 Lillian Angel <[EMAIL PROTECTED]> * native/jni/gtk-peer/GtkDragSourceContextPeer.c: Removed function declar

[cp-patches] Patch: GtkDragSourceContextPeer NPE fix

2006-07-28 Thread Lillian Angel
ChangeLog says it all... 2006-07-28 Lillian Angel <[EMAIL PROTECTED]> * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java (GtkDragSourceContextPeer): Added check to avoid NPE. Index: gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPee

Re: [cp-patches] FYI: DnD stuff

2006-07-28 Thread Lillian Angel
Fixed a small error. 2006-07-28 Lillian Angel <[EMAIL PROTECTED]> * native/jni/gtk-peer/GtkDragSourceContextPeer.c: (Java_gnu_java_awt_dnd_peer_gtk_GtkDragSourceContextPeer_create): Fixed to use gref not ptr. On Fri, 2006-07-28 at 12:43 -0400, Lillian Angel

Re: [cp-patches] FYI: DnD stuff

2006-07-28 Thread Lillian Angel
Added code to connect the signals to the target widget. 2006-07-28 Lillian Angel <[EMAIL PROTECTED]> * native/jni/gtk-peer/GtkDragSourceContextPeer.c: Added new static helper function. (Java_gnu_java_awt_dnd_peer_gtk_GtkDragSourceContextPeer _connectS

[cp-patches] Patch: DnD stuff

2006-07-28 Thread Lillian Angel
onto the target just yet. 2006-07-28 Lillian Angel <[EMAIL PROTECTED]> * native/jni/gtk-peer/GtkDragSourceContextPeer.c: Added more static functions to handle widget signals. (create): Initialized the javaObj field. (connectSignals): Added code to connect all

[cp-patches] Re: RFC: GtkMouseDragGestureRecognizer constructor

2006-07-23 Thread Lillian Angel
Hello, Mario Torre wrote: Il giorno ven, 21/07/2006 alle 17.05 -0400, Lillian Angel ha scritto: I forgot to remove some unused fields in the last patch. 2006-07-20 Lillian Angel <[EMAIL PROTECTED]> * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java: Removed

Re: [cp-patches] FYI: GtkMouseDragGestureRecognizer implementation

2006-07-21 Thread Lillian Angel
I forgot to remove some unused fields in the last patch. 2006-07-20 Lillian Angel <[EMAIL PROTECTED]> * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java: Removed unused fields. (GtkMouseDragGestureRecognizer): Removed initializations. On Fri, 2006-07-21 at

[cp-patches] Patch: GtkMouseDragGestureRecognizer implementation

2006-07-21 Thread Lillian Angel
Finished implementing GtkMouseDragGestureRecognizer. 2006-07-20 Lillian Angel <[EMAIL PROTECTED]> * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java (GtkMouseDragGestureRecognizer): New constructor. (GtkMouseDragGestureRecognizer): New const

[cp-patches] Patch: GtkCheckboxPeer fix

2006-07-20 Thread Lillian Angel
This fixes bug #28440. We forgot to clear the groupMap when the peer is disposed of. 2006-07-20 Lillian Angel <[EMAIL PROTECTED]> PR 28440 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (dispose): Reset all fields. Index: gnu/java/awt/peer/gtk/GtkCheckboxPee

[cp-patches] Patch: GtkDragSourceContextPeer.java

2006-07-19 Thread Lillian Angel
Implemented a few more functions in GtkDragSourceContextPeer. 2006-07-19 Lillian Angel <[EMAIL PROTECTED]> * examples/gnu/classpath/examples/awt/Demo.java (DragDropWindow): Fixed typo in Label text. * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPee

[cp-patches] Patch: DnD demo and partial package implementation

2006-07-17 Thread Lillian Angel
status of DnD. There are FIXMEs indicating what needs to be added in some of the gnu.java.awt.dnd.peer.* classes and the java.awt.dnd.* classes. Thanks, Lillian 2006-07-17 Lillian Angel <[EMAIL PROTECTED]> * examples/gnu/classpath/examples/awt/Demo.java (Demo): Add

Re: [cp-patches] RFA: FlowLayout.java

2006-07-14 Thread Lillian Angel
On Fri, 2006-07-14 at 10:10 -0400, Tania Bento wrote: > Hey, > > According to Java's API, setHgap and setVgap do not throw an Illegal > Argument Exception if hgap or vgap are negative values. > > Two Intel tests now pass on Classpath > (test.java.awt.FlowLayoutTest.testGetSetHgap() and > test.j

[cp-patches] Patch: DnD peers

2006-07-06 Thread Lillian Angel
I have started to implemented the peers for Drag and Drop. It is coming along :) Most of the functions in the peers are still not implemented. I am working on it. 2006-07-06 Lillian Angel <[EMAIL PROTECTED]> * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java: New cla

[cp-patches] Patch: DragSource.startDrag implementation

2006-07-06 Thread Lillian Angel
After reading some articles on DnD, I figured out how to implement startDrag. I added a bunch of comments (and a referring URL) into the function. 2006-07-06 Lillian Angel <[EMAIL PROTECTED]> * java/awt/dnd/DragSource.java (startDrag): Implemented. Added comments desc

Re: [cp-patches] RFA: Canvas.java

2006-07-06 Thread Lillian Angel
On Thu, 2006-07-06 at 12:54 -0400, Tania Bento wrote: > Hey, > > This patch fixes a Harmony Test that was failing on Classpath. We now > generate the canvas name in the same manner as Sun. If someone could > please approve/comment on this patch, that would be great. > > 2006-07-06 Tania Bento

[cp-patches] Patch: java.awt.dnd.* implementations

2006-07-05 Thread Lillian Angel
I implemented and fixed up a bunch of DnD code. It is still not in a testable state because the peers for these classes have not been implemented. Once it is working, I will write a demo and a bunch of mauve tests. 2006-07-05 Lillian Angel <[EMAIL PROTECTED]> * java/a

[cp-patches] Patch: more DragSourceContext

2006-07-04 Thread Lillian Angel
Fixed up the API documentation and implemented some more missing functions according to the API. I will write a demo for this when it is in a working state. 2006-07-04 Lillian Angel <[EMAIL PROTECTED]> * java/awt/dnd/DragSourceContext.java: Removed FIXMEs from

[cp-patches] Patch: DragSourceContext implementation

2006-07-04 Thread Lillian Angel
Implemented some missing functions. 2006-07-04 Lillian Angel <[EMAIL PROTECTED]> * java/awt/dnd/DragSourceContext.java (DragSourceContext): Implemented fully. Fixed API docs. (transferablesFlavorsChanged): Implemented. (dragEnter): Implemented. (dr

[cp-patches] Patch: javax.plaf.basic.* fixes

2006-07-04 Thread Lillian Angel
Marked some functions as unimplemented. Implemented missing functions. Fixed several comments and TODO/FIXMEs. 2006-07-04 Lillian Angel <[EMAIL PROTECTED]> * javax/swing/plaf/basic/BasicOptionPaneUI.java: Fixed name of constant. (getIconWidth): Changed name of co

[cp-patches] Patch: BasicMenuUI

2006-07-04 Thread Lillian Angel
Implemented some missing functions to make JAPI a little happier. I marked a couple of functions as unimplemented, as well. 2006-07-04 Lillian Angel <[EMAIL PROTECTED]> * javax/swing/plaf/basic/BasicMenuUI.java (installKeyboardActions): Implemented to call super. N

Re: [cp-patches] FYI: Checkbox group fix

2006-06-30 Thread Lillian Angel
Added synchronized blocks around groupMap.get calls. 2006-06-30 Lillian Angel <[EMAIL PROTECTED]> * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (create): Added synchronized block around groupMap.get calls. (setCheckboxGroup): Likewise. On Fri, 2006-06-30 at

Re: [cp-patches] FYI: Checkbox group fix

2006-06-30 Thread Lillian Angel
fitzsim suggested that not all functions be synchronized, but there be a synchronized block around the code that adds the new pointer to the groupMap. Fixed. 2006-06-30 Lillian Angel <[EMAIL PROTECTED]> * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (create): Changed to

Re: [cp-patches] Patch: Checkbox group fix

2006-06-30 Thread Lillian Angel
Hi, I fixed the issues Tom stated below. On Fri, 2006-06-30 at 13:03 -0400, Thomas Fitzsimmons wrote: > Hi, > > Lillian Angel wrote: > > This patch fixes the long standing problem of not being able to > > dynamically switch between a checkbox and a radio button. I.e. movin

[cp-patches] Patch: Checkbox group fix

2006-06-30 Thread Lillian Angel
everything is handled in GtkCheckboxPeer. There is a mauve test for this. The harmony test (test.java.awt.CheckboxTest) now passes. 2006-06-30 Lillian Angel <[EMAIL PROTECTED]> Tom Fitzsimmons <[EMAIL PROTECTED]> * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.j

[cp-patches] Patch: DefaultCaret fixlet

2006-06-21 Thread Lillian Angel
Resolved a couple of NPEs. 2006-06-21 Lillian Angel <[EMAIL PROTECTED]> * javax/swing/text/DefaultCaret.java (install): Added check to prevent NPE. (propertyChange): Added checks to prevent NPEs. Index: javax/swing/text/DefaultCare

Re: [cp-patches] RFA: JMenu Constructor Regressions

2006-06-21 Thread Lillian Angel
I looked over all your patches. They look fine. Go ahead and commit them. Lillian On Wed, 2006-06-21 at 09:32 -0400, Tania Bento wrote: > Hey, > > For some reason when I did a CVS diff to create the patch for these > changes, the change I made to BasicPopupMenuUI.java wasn't included. I > onl

[cp-patches] Patch: Applet seg. fault fixes

2006-06-20 Thread Lillian Angel
This patch fixes some seg faults fitzsim found when running a couple of Sun's demo applets. I have added a link to these demos on the wiki. 2006-06-20 Lillian Angel <[EMAIL PROTECTED]> * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (create): Added check to preven

[cp-patches] Patch: JTextComponent.AccessibleJTextComponent javadocs rewrite

2006-06-20 Thread Lillian Angel
I rewrote the docs for this inner class. 2006-06-20 Lillian Angel <[EMAIL PROTECTED]> * javax/swing/text/JTextComponent.java (AccessibleJTextComponent): Rewrote all javadocs for this inner class. Index: javax/swing/text/JTextComponen

[cp-patches] Patch: CairoGraphics2D fix

2006-06-20 Thread Lillian Angel
This fixes the painting of the grid in the chess applet. updateColor() needs to be called before returning. 2006-06-20 Lillian Angel <[EMAIL PROTECTED]> * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage): Added call to updateColor because Cairo seems to lo

[cp-patches] Patch: CairoGraphics2D fix

2006-06-19 Thread Lillian Angel
I spoke to Sven about this patch. getData was returning an incorrect array of pixels. It seems to work the best when getRGB is always used. 2006-06-19 Lillian Angel <[EMAIL PROTECTED]> * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage): Should always use getRGB to g

Re: [cp-patches] FYI: FileDialog and Font additions

2006-06-16 Thread Lillian Angel
On Fri, 2006-06-16 at 09:59 -0600, Tom Tromey wrote: > >>>>> "Lillian" == Lillian Angel <[EMAIL PROTECTED]> writes: > > Lillian> * java/awt/FileDialog.java > Lillian> (FileDialog): Implemented. > Lillian> (F

[cp-patches] Patch: FileDialog and Font additions

2006-06-16 Thread Lillian Angel
More for JAPI 2006-06-16 Lillian Angel <[EMAIL PROTECTED]> * java/awt/FileDialog.java (FileDialog): Implemented. (FileDialog): Implemented. (FileDialog): Implemented. * java/awt/Font.java: Added TYPE1_FONT constant field. Index: ja

[cp-patches] Patch: some javax.swing.plaf.basic.* missing functions

2006-06-16 Thread Lillian Angel
I implemented some missing 1.5 swing functions. 2006-06-16 Lillian Angel <[EMAIL PROTECTED]> * java/awt/font/TextLayout.java: Removed unneeded imports. * javax/swing/plaf/basic/BasicScrollBarUI.java: Added new thumbRollover field. (mouseMoved):

[cp-patches] Patch: TextLayout fix

2006-06-15 Thread Lillian Angel
JAPI pointed out a problem with the field in TextLayout. 2006-06-15 Lillian Angel <[EMAIL PROTECTED]> * java/awt/font/TextLayout.java: DEFAULT_CARET_POLICY changed to be public static final. Index: java/awt/font/TextLayou

Re: [cp-patches] RFA: AbstractButton

2006-06-15 Thread Lillian Angel
On Thu, 2006-06-15 at 13:29 -0400, Tania Bento wrote: > Hey, > > In a previous mauve test, I changed 'focusable' to be set to false (and > not true) in AbstractButton.java. However, for the past couple of days > I have been writing mauve tests and it should in fact be set to true and > only set t

Re: [cp-patches] FYI: Component and TextComponent fix.

2006-06-14 Thread Lillian Angel
Small fix. All these functions should be static. 2006-06-14 Lillian Angel <[EMAIL PROTECTED]> * java/awt/Component.java (ignoreOldMouseEvents): Made static. (translateEvent): Made static. * java/awt/TextComponent.java (ignoreOldMouseEvents): Made

[cp-patches] Patch: Component and TextComponent fix.

2006-06-14 Thread Lillian Angel
The JDK TextComponent ignores all old mouse events. I fixed our implementation to do this by creating a package-private function in Component and TextComponent. This also fixes: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27695 I have committed a mauve test for this as well. 2006-06-14 Lillian

Re: [cp-patches] Patch: PixelGrabber fix

2006-06-14 Thread Lillian Angel
On Tue, 2006-06-13 at 21:13 +0100, David Gilbert wrote: > Lillian Angel wrote: > > >On Tue, 2006-06-13 at 12:16 -0600, Tom Tromey wrote: > > > > > >> > >>In cases like this it is nice to have a comment, either in the > >>javadoc or in the co

[cp-patches] Patch: gcjwebplugin fix

2006-06-13 Thread Lillian Angel
I moved the code to create the whitelist file from NP_Initialize to GCJ_New. The file should be opened for each applet instance created. This prevents any reading/writing/loading errors that were encountered. 2006-06-13 Lillian Angel <[EMAIL PROTECTED]> * native/plugin/gcjwebplu

Re: [cp-patches] FYI: PixelGrabber fix

2006-06-13 Thread Lillian Angel
On Tue, 2006-06-13 at 15:01 -0400, Lillian Angel wrote: > On Tue, 2006-06-13 at 12:16 -0600, Tom Tromey wrote: > > >>>>> "Lillian" == Lillian Angel <[EMAIL PROTECTED]> writes: > > > > Lillian> The JDK doesnt care if the ImageProdu

Re: [cp-patches] Patch: PixelGrabber fix

2006-06-13 Thread Lillian Angel
On Tue, 2006-06-13 at 12:16 -0600, Tom Tromey wrote: > >>>>> "Lillian" == Lillian Angel <[EMAIL PROTECTED]> writes: > > Lillian> The JDK doesnt care if the ImageProducer is null when passed to the > Lillian> constructor. > > Li

[cp-patches] Patch: PixelGrabber fix

2006-06-13 Thread Lillian Angel
I found this problem when I tested this applet: http://www.btinternet.com/~se16/js/mapproj.htm The JDK doesnt care if the ImageProducer is null when passed to the constructor. 2006-06-13 Lillian Angel <[EMAIL PROTECTED]> * java/awt/image/PixelGrabber.java (PixelG

[cp-patches] Patch: StandaloneAppletWindow title fix

2006-06-12 Thread Lillian Angel
Small minor fix for the standalone appletviewer. IMO, it should say "GNU Classpath Applet Viewer" instead of "GCJ Applet Viewer". 2006-06-12 Lillian Angel <[EMAIL PROTECTED]> * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java (Standa

Re: [cp-patches] Patch: BasicTabbedPaneUI fixlet

2006-06-12 Thread Lillian Angel
Made a dumb mistake in the last patch. Thanks fitzsim for catching this. 2006-06-12 Lillian Angel <[EMAIL PROTECTED]> * javax/swing/plaf/basic/BasicTabbedPaneUI.java (layoutContainer): Added missing selectedComponent assignment. On Mon, 2006-06-12 at 12:08 -0400, Lillian

[cp-patches] Patch: BasicTabbedPaneUI fixlet

2006-06-12 Thread Lillian Angel
A small fix for limewire. 2006-06-12 Lillian Angel <[EMAIL PROTECTED]> * javax/swing/plaf/basic/BasicTabbedPaneUI.java (layoutContainer): Added check to prevent exception. Index: javax/swing/plaf/basic/BasicTabbedPaneU

Re: [cp-patches] Small ComboBox fix

2006-06-09 Thread Lillian Angel
Committed. On Thu, 2006-06-08 at 15:03 -0400, Francis Kung wrote: > Hi, > > Came across a problem when painting a JComboBox with null or empty items > in it; patch is attached. > > It's a bit of a workaround, but I think it's good enough (it's a rare > case, so it's not worth hacking into the hi

[cp-patches] Re: FYI: gcjwebplugin data directory fix

2006-06-08 Thread Lillian Angel
2006-06-08 Lillian Angel <[EMAIL PROTECTED]> * native/plugin/gcjwebplugin.cc: (NP_Shutdown): Freed whitelist_filename. On Thu, 2006-06-08 at 17:45 -0400, Lillian Angel wrote: > I fixed gcjwebplugin to determine the data directory at runtime, instead > of when t

[cp-patches] Patch: gcjwebplugin data directory fix

2006-06-08 Thread Lillian Angel
I fixed gcjwebplugin to determine the data directory at runtime, instead of when the plugin is installed. 2006-06-08 Lillian Angel <[EMAIL PROTECTED]> * native/plugin/Makefile.am: Removed DATA_DIRECTORY. * native/plugin/gcjwebplugin.cc: Added new global

[cp-patches] Patch: gcjwebplugin data directory fix

2006-06-08 Thread Lillian Angel
To avoid any problems with saving the whitelist file (permission denied, etc), we have decided to store all the plugin data in ~/.gcjwebplugin. 2006-06-08 Lillian Angel <[EMAIL PROTECTED]> * native/plugin/Makefile.am: Changed DATA_DIRECTORY to be ~/.gcjweb

[cp-patches] Patch: gcjwebplugin fix

2006-06-08 Thread Lillian Angel
Anthony Green found a problem with gcjwebplugin. The browser no longer crashes. 2006-06-08 Tom Fitzsimmons <[EMAIL PROTECTED]> Lillian Angel <[EMAIL PROTECTED]> * native/plugin/gcjwebplugin.cc (NP_Shutdown): Added code to free plugin mutex a

[cp-patches] Patch: BasicProgressBarUI Fix

2006-06-08 Thread Lillian Angel
Small fix 2006-06-08 Lillian Angel <[EMAIL PROTECTED]> * javax/swing/plaf/basic/BasicProgressBarUI.java (paintString): Fixed to paint string at the correct location. Index: javax/swing/plaf/basic/BasicProgressBarU

Re: [cp-patches] RFC: small JMenuBar fix

2006-06-07 Thread Lillian Angel
On Wed, 2006-06-07 at 14:37 -0400, Francis Kung wrote: > Hi, > > While writing some Mauve tests, I came across a small bug in JMenuBar's > getSubElements() method: instead of returning an array of only menu's, > we currently insert null values for non-menu components as well. > > A patch is attac

[cp-patches] Patch: BasicTabbedPaneUI fixlet

2006-06-07 Thread Lillian Angel
Small fix for limewire. Prevents an ArrayOutofBoundsException 2006-06-07 Lillian Angel <[EMAIL PROTECTED]> * javax/swing/plaf/basic/BasicTabbedPaneUI.java (getTabBounds): If this method is called with a tab index that is not in the rects array, we need to re-layo

[cp-patches] Patch: FreetypeGlyphVector and String fix

2006-06-07 Thread Lillian Angel
I have started working on limewire. This patch fixes the exceptions that were thrown at startup. 2006-06-07 Lillian Angel <[EMAIL PROTECTED]> * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java (FreetypeGlyphVector): Removed assignment. Caused compilation

[cp-patches] Patch: gcjwebplugin comments

2006-06-06 Thread Lillian Angel
Added more detailed comments. 2006-06-06 Lillian Angel <[EMAIL PROTECTED]> * native/plugin/gcjwebplugin.cc: Fixed failure message and commenting. (NP_Initialize): Added more comments. Index: native/plugin/gcjwebplu

[cp-patches] Patch: JFrame frameInit fix

2006-06-05 Thread Lillian Angel
I am committing this for Tania. She has also written a mauve test for this. She has fixed the constructor regressions 2006-06-05 Tania Bento <[EMAIL PROTECTED]> * javax/swing/JFrame.java (frameInit): Set background color and fixed layout parameters. Index: javax/swing/JFrame.ja

[cp-patches] Patch: another appletviewer fix

2006-06-05 Thread Lillian Angel
At this point, if the appletviewer has not been installed the browser will hang. I added in an error message for this. The plugin is killed and the browser operates normally. 2006-06-05 Lillian Angel <[EMAIL PROTECTED]> * native/plugin/gcjwebplugin.cc: Added new field t

[cp-patches] Patch: Security warning for appletviewer

2006-06-05 Thread Lillian Angel
trust indefinitely. All temp appletviewer files and the whitelist are stored in the .mozilla/plugins/gcjwebplugin-data/ directory. Tom has checked over all the code and has cleaned it up. This has been committed. Please comment. 2006-06-05 Lillian Angel <[EMAIL PROTECTED]> *

[cp-patches] Patch: GtkImage fix

2006-06-05 Thread Lillian Angel
I am committing this for Francis. It has been approved by Sven. This fixes bug #27507. 2006-06-05 Francis Kung <[EMAIL PROTECTED]> PR 27507 * gnu/java/awt/peer/gtk/GtkImage.java (getSource): Added check to determine if in errorLoading state. * gnu/java/aw

[cp-patches] Patch: Frame KeyEvents

2006-06-02 Thread Lillian Angel
This fixes the problem where windows did not get notified of key events. See the bug report. 2006-06-01 Lillian Angel <[EMAIL PROTECTED]> PR 24458 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent): Fixed to getFocusOwner, if that fails it tries

Re: [cp-patches] Patch: Appletviewer fix

2006-06-01 Thread Lillian Angel
On Thu, 2006-06-01 at 13:26 -0400, Thomas Fitzsimmons wrote: > Lillian Angel wrote: > > This fixes the classloading problem with a lot of applets. > > > > 2006-06-01 Lillian Angel <[EMAIL PROTECTED]> > > > > * tools/gnu/clas

[cp-patches] Patch: Appletviewer fix

2006-06-01 Thread Lillian Angel
This fixes the classloading problem with a lot of applets. 2006-06-01 Lillian Angel <[EMAIL PROTECTED]> * tools/gnu/classpath/tools/appletviewer/AppletTag.java (prependCodebase): Fixed check. No dirname was ever considered to be a file, so every applet fell into

[cp-patches] Patch: BasicProgressBarUI fix

2006-05-31 Thread Lillian Angel
I have fixed paintString to actually draw a string vertically. But this does not seem to happen because of some bug in Graphics2D. Once this is fixed in Graphics2D, it should work perfectly. See: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23887 2006-05-31 Lillian Angel <[EMAIL PROTEC

[cp-patches] Patch: Window event dispatch fix

2006-05-30 Thread Lillian Angel
This fixes the bug where WindowEvents were not being translated into the old style events, and therefore not being dispatched. 2006-05-30 Lillian Angel <[EMAIL PROTECTED]> PR 27785 * java/awt/Component.java: (translateEvent): Added handling to translate Window

[cp-patches] Patch: Window focus lost/gained fix

2006-05-26 Thread Lillian Angel
This patch fixes the focus lost/gained notification for all windows. 2006-05-25 Lillian Angel <[EMAIL PROTECTED]> PR 26174 * java/awt/Window.java (Window): Moved code to helper. (addWindowFocusListener): New function. Handles focus listener code.

[cp-patches] Patch: gnu_java_awt_peer_gtk_GtkComponentPeer fix

2006-05-25 Thread Lillian Angel
An exception was being thrown from the awt demo in the RandomTests test. This is now fixed 2006-05-25 Lillian Angel <[EMAIL PROTECTED]> * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetSetCursorUnlocked):

[cp-patches] Patch: appletviewer fixlet

2006-05-24 Thread Lillian Angel
Tom found a bug when trying to load an applet without the last '\' in the address. appletviewer http://www.ditchnet.org/applets/scribble/ would work but appletviewer http://www.ditchnet.org/applets/scribble would not. This is fixed. 2006-05-24 Lillian Angel <[EM

[cp-patches] Patch: GlyphVector implementation

2006-05-19 Thread Lillian Angel
Added the default implementation for all the stubbed functions in the abstract GlyphVector class. 2006-05-19 Lillian Angel <[EMAIL PROTECTED]> * java/awt/font/GlyphVector.java (getGlyphCharIndex): Implemented. (getGlyphCharIndices): Implemented. (getGlyphO

[cp-patches] Patch: GlyphMetrics

2006-05-18 Thread Lillian Angel
I implemented two unimplemented functions. 2006-05-18 Lillian Angel <[EMAIL PROTECTED]> * java/awt/font/GlyphMetrics.java (getLSB): Implemented. (getRSB): Implemented. Index: java/awt/font/GlyphMetric

Re: [cp-patches] Patch: GraphicAttribute implementation

2006-05-18 Thread Lillian Angel
On Thu, 2006-05-18 at 12:59 -0600, Tom Tromey wrote: > >>>>> "Lillian" == Lillian Angel <[EMAIL PROTECTED]> writes: > > Lillian> - public static final int BOTTOM_ALIGNMENT = -2; > Lillian> + public static final int BOTTOM_ALIGNMENT = - 2; >

[cp-patches] Patch: GraphicAttribute implementation

2006-05-18 Thread Lillian Angel
2006-05-18 Lillian Angel <[EMAIL PROTECTED]> * java/awt/font/GraphicAttribute.java: Documented entire class. (GraphicAttribute): Added check for alignment. (getBounds): Implemented. (getJustificationInfo): Implemented. Index: java/aw

[cp-patches] Patch: ShapeGraphicAttribute implemented.

2006-05-18 Thread Lillian Angel
I implemented and documented ShapeGraphicAttribute. I have also committed a mauve test for it. 2006-05-18 Lillian Angel <[EMAIL PROTECTED]> * java/awt/font/ShapeGraphicAttribute.java: Documented entire class. (ShapeGraphicAttribute): Initialized bounds

[cp-patches] Patch: ImageGraphicAttribute implementation and HTMLDocument cleanup

2006-05-17 Thread Lillian Angel
I implemented java/awt/font/ImageGraphicAttribute.java and cleaned up javax/swing/text/html/HTMLDocument.java. I will be committing a mauve test for ImageGraphicAttribute. 2006-05-17 Lillian Angel <[EMAIL PROTECTED]> * java/awt/font/ImageGraphicAttribute.java: Docu

[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/TexturePain

[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/GraphicsConfiguratio

[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. * javax/swing/plaf

[cp-patches] Patch: StyleContext implementations

2006-05-16 Thread Lillian Angel
I implemented most of the stubs in StyleContext. I am not sure how to implement writeAttributeSet just yet, so I left this one. The API docs were pretty helpful here. 2006-05-16 Lillian Angel <[EMAIL PROTECTED]> * javax/swing/text/StyleContext.java: Changed staticAttribu

[cp-patches] Patch: Implemented several stubs, javax.swing.plaf.Basic*

2006-05-16 Thread Lillian Angel
I implemented some stub functions. There were a lot of stubs in BasicTreeUI that were not marked, I fixed these so they show up in the japi scores. 2006-05-16 Lillian Angel <[EMAIL PROTECTED]> * javax/swing/plaf/basic/BasicComboBoxUI.java (installKeyboardActions): Imple

[cp-patches] Patch: JPopupMenu and ProgressMonitor

2006-05-16 Thread Lillian Angel
Implemented some minor functions that were missing in JPopupMenu and ProgressMonitor. 2006-06-16 Lillian Angel <[EMAIL PROTECTED]> * javax/swing/JPopupMenu.java (addMenuKeyListener): Implemented. (removeMenuKeyListener): Implemented. (getMenuKeyLis

[cp-patches] Patch: javax/swing/JFileChooser

2006-05-16 Thread Lillian Angel
Implemented setDragEnabled and getDragEnabled. 2005-05-16 Lillian Angel <[EMAIL PROTECTED]> * javax/swing/JFileChooser.java: Added new private field. (setDragEnabled): Implemented. (getDragEnabled): Implemented. Index: javax/swing/JFileChoose

[cp-patches] Patch: java.awt.Window

2006-05-16 Thread Lillian Angel
I implemented the deprecated function applyResourceBundle. 2005-05-16 Lillian Angel <[EMAIL PROTECTED]> * java/awt/Window.java (applyResourceBundle): Implemented. Index: java/awt/Window.java === RCS file: /c

[cp-patches] Patch: Focus traversal fix

2006-05-11 Thread Lillian Angel
have been set to traverse from the current component to the component prior to it. 2006-05-11 Lillian Angel <[EMAIL PROTECTED]> * java/awt/ContainerOrderFocusTraversalPolicy.java (getComponentAfter): Should not throw exception if the ancestor is null. Added a che

Re: [cp-patches] RFC: ClassLoader reference implementation using getResources

2006-05-11 Thread Lillian Angel
On Thu, 2006-05-11 at 15:43 +0200, Olivier Jolly wrote: > Lillian Angel wrote: > > Not sure if it helps, but there is an IndexListParser in gnu/java/net > > > Right, it can be useful. Not in its current state as far as I understand > the code because it focus on r

Re: [cp-patches] RFC: ClassLoader reference implementation using getResources

2006-05-11 Thread Lillian Angel
On Thu, 2006-05-11 at 15:12 +0200, Olivier Jolly wrote: > Hi, > as proposed yesterday here is a patch proposition which should enable > the loading of the core packages even if there is any endorsed jar file > with an INDEX.LIST in it. It has the side effect of making those > endorsed packages

Re: [cp-patches] Patch: SimpleTimeZone fix

2006-05-10 Thread Lillian Angel
Sorry wrong patch attached. Attached is the right one. On Wed, 2006-05-10 at 13:12 -0400, Lillian Angel wrote: > I reverted this patch. It caused regressions. > I am going to look into the bug I had and try to think of a better > solution. > > 2006-05-10 Lillian Angel &l

Re: [cp-patches] Patch: SimpleTimeZone fix

2006-05-10 Thread Lillian Angel
I reverted this patch. It caused regressions. I am going to look into the bug I had and try to think of a better solution. 2006-05-10 Lillian Angel <[EMAIL PROTECTED]> * java/util/SimpleTimeZone.java: Reverted patch. (SimpleTimeZone): Throw exception if star

Re: [cp-patches] Patch: URLClassLoader fix

2006-05-08 Thread Lillian Angel
On Mon, 2006-05-08 at 14:17 -0600, Tom Tromey wrote: > >>>>> "Lillian" == Lillian Angel <[EMAIL PROTECTED]> writes: > > Lillian> A fixed a small bug in the last patch I committed. > Lillian> Unfortunately, this is the best way to load all the jars

Re: [cp-patches] Patch: URLClassLoader fix

2006-05-08 Thread Lillian Angel
-Path. For example: http://wiki.cubic.uni-koeln.de/jetspeed/cdkwebhtml/jchempaint-applet-core.jar 2006-05-08 Lillian Angel <[EMAIL PROTECTED]> * java/net/URLClassLoader.java (JarURLLoader): Added check to make sure the INDEX.LIST file exists. On Mon, 2006-05-08

[cp-patches] Patch: URLClassLoader fix

2006-05-08 Thread Lillian Angel
Added handling for the META-INF/INDEX.LIST file. 2006-05-08 Lillian Angel <[EMAIL PROTECTED]> PR 27444 * java/net/URLClassLoader.java (JarURLLoader): Added code to go through META-INF/INDEX.LIST file to load all jars listed. Index: java/net/URLClassLoade

[cp-patches] Patch: JLabel fix

2006-05-04 Thread Lillian Angel
After testing several applets, I noticed that there were NPEs caused by JLabel. Sun passes in an empty string for text in the constructors that do not take text as a parameter. I fixed this. 2006-05-04 Lillian Angel <[EMAIL PROTECTED]> * javax/swing/JLabel.java (JLabel)

Re: [cp-patches] Patch: SwingUtilities fix

2006-05-03 Thread Lillian Angel
paint correctly. 2006-05-03 Lillian Angel <[EMAIL PROTECTED]> * javax/swing/JComponent.java (getRoot): New private function. Gets the root appropriate for painting. If an applet exists as a parent, then it is returned. (paintDoubleBuffered): Changed

[cp-patches] Patch: SwingUtilities fix

2006-05-02 Thread Lillian Angel
This fixes the painting problem with JApplets. In most cases, the components were being drawn on the Window rather than the actual applet. 2006-05-02 Lillian Angel <[EMAIL PROTECTED]> * javax/swing/SwingUtilities.java (getRoot): Should return the Applet if it

Re: [cp-patches] Patch: Parser fix

2006-05-02 Thread Lillian Angel
Reverted. Try this to see the problem with parsing: gcjappletviewer --verbose https://service.oneaccount.com/Service/Status/int001p.main_page?brand=2 2006-05-02 Lillian Angel <[EMAIL PROTECTED]> * gnu/javax/swing/text/html/parser/support/Parser.java (readAttributes): Re

Re: [cp-patches] Patch: Parser fix

2006-05-02 Thread Lillian Angel
On Tue, 2006-05-02 at 14:32 +0200, Audrius Meskauskas wrote: > Now there are two identical cases in the switch statement: > case NUMTOKEN: > (code, ends with break) > case SLASH: > (same code again) > > Probably it may be better just to put two labels: > No, the code is slightly different. I wi

[cp-patches] Patch: SimpleTimeZone fix

2006-05-01 Thread Lillian Angel
After testing a timezone app, I noticed that SimpleTimeZone is a little buggy. I fixed it up a bit... I imagine there are more bugs in this code. It does work better now. 2006-05-01 Lillian Angel <[EMAIL PROTECTED]> * java/util/SimpleTimeZone.java (SimpleTimeZone): Do not

  1   2   3   4   5   6   >