[cp-patches] FYI: IconUIResource fixlet

2006-06-19 Thread David Gilbert

This patch (committed) fixes a trivial bug in the IconUIResource constructor:

2006-06-19  David Gilbert  [EMAIL PROTECTED]

* javax/swing/plaf/IconUIResource.java
(IconUIResource): Throw IllegalArgumentException for null icon.

Regards,

Dave
Index: javax/swing/plaf/IconUIResource.java
===
RCS file: /sources/classpath/classpath/javax/swing/plaf/IconUIResource.java,v
retrieving revision 1.8
diff -u -r1.8 IconUIResource.java
--- javax/swing/plaf/IconUIResource.java19 Oct 2005 14:20:10 -  
1.8
+++ javax/swing/plaf/IconUIResource.java19 Jun 2006 09:40:16 -
@@ -1,5 +1,5 @@
 /* IconUIResource.java --
-   Copyright (C) 2002, 2003, 2004  Free Software Foundation, Inc.
+   Copyright (C) 2002, 2003, 2004, 2006,  Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -63,7 +63,8 @@
 
 
   /**
-   * The icon that is wrapped by this codeIconUIResource/code.
+   * The icon that is wrapped by this codeIconUIResource/code (never 
+   * codenull/code).
*/
   private Icon delegate;
 
@@ -73,10 +74,12 @@
* icon. All messages are forwarded to the delegate icon.
*
* @param delegate the icon that is wrapped by this
-   *codeIconUIResource/code.
+   *codeIconUIResource/code (codenull/code not permitted).
*/
   public IconUIResource(Icon delegate)
   {
+if (delegate == null)
+  throw new IllegalArgumentException(Null 'delegate' argument.);
 this.delegate = delegate;
   }
 


[cp-patches] FYI: RepaintManager optimization

2006-06-19 Thread Roman Kennke
While debugging a severe performance problem with one app, I noticed
that our RepaintManager validates far too much. I observed how the RI
behaves and found that:
- only components with a validateRoot are validated
- only components that are displayable and visible and that have visible
parents are validated
- Components inside CellRendererPane are never validated (makes sense
somehow, as CellRendererPane have no layout anyway and need ultra-fast
handling of layout and repaint)

I fixed the RepaintManager, which gives all layout-related operations a
nice boost. Especially component creation is much faster now (Swing
components get revalidated quite often during initialization, because
many properties get set by the UI).

While I didn't notice any regressions from this, I think it's possible
that layout is broken in some corner cases, because we previously
layouted things in a brute force -like manner, and now perform much less
layouting. Please drop me a line if you observe problems.

2006-06-19  Roman Kennke  [EMAIL PROTECTED]

* javax/swing/RepaintManager.java
(addInvalidComponent): Only add component that are displayable,
that have displayable parents and that have a validateRoot.
Also, don't validate components that have a CellRendererPane
ancestor.

/Roman

-- 
“Improvement makes straight roads, but the crooked roads, without
Improvement, are roads of Genius.” - William Blake
Index: javax/swing/RepaintManager.java
===
RCS file: /cvsroot/classpath/classpath/javax/swing/RepaintManager.java,v
retrieving revision 1.40
diff -u -1 -0 -r1.40 RepaintManager.java
--- javax/swing/RepaintManager.java	15 Jun 2006 13:42:31 -	1.40
+++ javax/swing/RepaintManager.java	19 Jun 2006 09:43:28 -
@@ -31,20 +31,21 @@
 independent module, the terms and conditions of the license of that
 module.  An independent module is a module which is not derived from
 or based on this library.  If you modify this library, you may extend
 this exception to your version of the library, but you are not
 obligated to do so.  If you do not wish to do so, delete this
 exception statement from your version. */
 
 
 package javax.swing;
 
+import java.applet.Applet;
 import java.awt.Component;
 import java.awt.Dimension;
 import java.awt.Graphics;
 import java.awt.Image;
 import java.awt.Rectangle;
 import java.awt.Window;
 import java.awt.image.VolatileImage;
 import java.util.ArrayList;
 import java.util.HashMap;
 import java.util.HashSet;
@@ -70,26 +71,20 @@
  * @author Audrius Meskauskas ([EMAIL PROTECTED])
  */
 public class RepaintManager
 {
   /**
* The current repaint managers, indexed by their ThreadGroups.
*/
   static WeakHashMap currentRepaintManagers;
 
   /**
-   * Used to disable merging of regions in commitBuffer(). This has caused
-   * problems and may either need to be reworked or removed.
-   */
-  private static final boolean MERGE_REGIONS = false;
-
-  /**
* A rectangle object to be reused in damaged regions calculation.
*/
   private static Rectangle rectCache = new Rectangle();
 
   /**
* pA helper class which is placed into the system event queue at
* various times in order to facilitate repainting and layout. There is
* typically only one of these objects active at any time. When the
* [EMAIL PROTECTED] RepaintManager} is told to queue a repaint, it checks to see if
* a [EMAIL PROTECTED] RepaintWorker} is live in the system event queue, and if
@@ -312,40 +307,59 @@
* Add a component to the [EMAIL PROTECTED] #invalidComponents} vector. If the
* [EMAIL PROTECTED] #repaintWorker} class is not active, insert it in the system
* event queue.
*
* @param component The component to add
*
* @see #removeInvalidComponent
*/
   public void addInvalidComponent(JComponent component)
   {
-Component ancestor = component;
+Component validateRoot = null;
+Component c = component;
+while (c != null)
+  {
+// Special cases we don't bother validating are when the invalidated
+// component (or any of it's ancestors) is inside a CellRendererPane
+// or if it doesn't have a peer yet (== not displayable).
+if (c instanceof CellRendererPane || c.getPeer() == null)
+  return;
+if (c instanceof JComponent  ((JComponent) c).isValidateRoot())
+  {
+validateRoot = c;
+break;
+  }
 
-while (ancestor != null
-(! (ancestor instanceof JComponent)
-   || ! ((JComponent) ancestor).isValidateRoot() ))
-  ancestor = ancestor.getParent();
-
-if (ancestor != null
- ancestor instanceof JComponent
- ((JComponent) ancestor).isValidateRoot())
-  component = (JComponent) ancestor;
+c = c.getParent();
+  }
 
-if (invalidComponents.contains(component))
+// If we didn't find a validate root, then we don't 

[cp-patches] FYI: Second UID fix for 28035

2006-06-19 Thread Audrius Meskauskas

2006-06-19  Audrius Meskauskas  [EMAIL PROTECTED]

   PR 28035
   * java/rmi/server/UID.java (constructor): Synchronized
   the whole constructor on the UID class.




[cp-patches] FYI: Second UID fix for 28035

2006-06-19 Thread Audrius Meskauskas

2006-06-19  Audrius Meskauskas  [EMAIL PROTECTED]

  PR 28035
  * java/rmi/server/UID.java (constructor): Synchronized
  the whole constructor on the UID class.
Index: UID.java
===
RCS file: /sources/classpath/classpath/java/rmi/server/UID.java,v
retrieving revision 1.12
diff -u -r1.12 UID.java
--- UID.java	18 Jun 2006 20:57:43 -	1.12
+++ UID.java	19 Jun 2006 10:08:41 -
@@ -101,16 +101,16 @@
*/
   public UID()
   {
-time = System.currentTimeMillis();
-unique = machineId;
-if (time  last)
+synchronized (UID.class)
   {
-last = time;
-count = uidCounter = Short.MIN_VALUE;
-  }
-else
-  {
-synchronized (UID.class)
+time = System.currentTimeMillis();
+unique = machineId;
+if (time  last)
+  {
+last = time;
+count = uidCounter = Short.MIN_VALUE;
+  }
+else
   {
 if (uidCounter == Short.MAX_VALUE)
   {


[cp-patches] FYI: ComponentGraphics fix

2006-06-19 Thread Roman Kennke
I did a slight improvement to ComponentGraphics.drawImage() for
VolatileImages, which is to apply the clip correctly. This brings Swing
painting performance back to the snappiness of the last release, or even
better.

2006-06-19  Roman Kennke  [EMAIL PROTECTED]

* gnu/java/awt/peer/gtk/ComponentGraphics.java
(drawImage): Clip volatile image correctly.
(drawVolatileImage): Added arguments for clipping.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
(drawVolatileImage): Added arguments for clipping. Clip image
correctly.
* include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.

-- 
“Improvement makes straight roads, but the crooked roads, without
Improvement, are roads of Genius.” - William Blake
Index: native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
===
RCS file: /cvsroot/classpath/classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c,v
retrieving revision 1.16
diff -u -1 -0 -r1.16 gnu_java_awt_peer_gtk_ComponentGraphics.c
--- native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c	10 Jun 2006 10:33:17 -	1.16
+++ native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c	19 Jun 2006 11:47:42 -
@@ -272,37 +272,45 @@
   gdk_draw_pixbuf (drawable, NULL, pixbuf,
 		   0, 0, x + dx, y + dy, 
 		   w, h, 
 		   GDK_RGB_DITHER_NORMAL, 0, 0);
   gdk_threads_leave();
 }
 
 JNIEXPORT void JNICALL 
 Java_gnu_java_awt_peer_gtk_ComponentGraphics_drawVolatile
 (JNIEnv *env, jobject obj __attribute__ ((unused)), jobject peer, 
- jlong img, jint x, jint y, jint w, jint h)
+ jlong img, jint x, jint y, jint w, jint h, jint cx, jint cy, jint cw, jint ch)
 {
   GdkPixmap *pixmap;
   GtkWidget *widget = NULL;
   void *ptr = NULL;
   GdkGC *gc;
+  GdkRectangle clip;
 
   gdk_threads_enter();
   ptr = NSA_GET_PTR (env, peer);
   g_assert (ptr != NULL);
 
   widget = GTK_WIDGET (ptr);
   g_assert (widget != NULL);
 
   pixmap = JLONG_TO_PTR(GdkPixmap, img);
  
   gc = gdk_gc_new(widget-window);
+
+  clip.x = cx;
+  clip.y = cy;
+  clip.width = cw;
+  clip.height = ch;
+  gdk_gc_set_clip_rectangle(gc, clip);
+
   gdk_draw_drawable(widget-window,
 		gc,
 		pixmap,
 		0, 0,
 		x, y,
 		w, h);
 
   g_object_unref( gc );
 
   schedule_flush ();
Index: include/gnu_java_awt_peer_gtk_ComponentGraphics.h
===
RCS file: /cvsroot/classpath/classpath/include/gnu_java_awt_peer_gtk_ComponentGraphics.h,v
retrieving revision 1.7
diff -u -1 -0 -r1.7 gnu_java_awt_peer_gtk_ComponentGraphics.h
--- include/gnu_java_awt_peer_gtk_ComponentGraphics.h	10 Jun 2006 14:16:10 -	1.7
+++ include/gnu_java_awt_peer_gtk_ComponentGraphics.h	19 Jun 2006 11:47:42 -
@@ -10,17 +10,17 @@
 {
 #endif
 
 JNIEXPORT jlong JNICALL Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState (JNIEnv *env, jobject, jobject);
 JNIEXPORT void JNICALL Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface (JNIEnv *env, jobject, jlong);
 JNIEXPORT jlong JNICALL Java_gnu_java_awt_peer_gtk_ComponentGraphics_initFromVolatile (JNIEnv *env, jobject, jlong, jint, jint);
 JNIEXPORT void JNICALL Java_gnu_java_awt_peer_gtk_ComponentGraphics_start_1gdk_1drawing (JNIEnv *env, jobject);
 JNIEXPORT void JNICALL Java_gnu_java_awt_peer_gtk_ComponentGraphics_end_1gdk_1drawing (JNIEnv *env, jobject);
 JNIEXPORT jboolean JNICALL Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender (JNIEnv *env, jclass);
 JNIEXPORT void JNICALL Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative (JNIEnv *env, jobject, jobject, jint, jint, jint, jint, jint, jint);
-JNIEXPORT void JNICALL Java_gnu_java_awt_peer_gtk_ComponentGraphics_drawVolatile (JNIEnv *env, jobject, jobject, jlong, jint, jint, jint, jint);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_gtk_ComponentGraphics_drawVolatile (JNIEnv *env, jobject, jobject, jlong, jint, jint, jint, jint, jint, jint, jint, jint);
 
 #ifdef __cplusplus
 }
 #endif
 
 #endif /* __gnu_java_awt_peer_gtk_ComponentGraphics__ */
Index: gnu/java/awt/peer/gtk/ComponentGraphics.java
===
RCS file: /cvsroot/classpath/classpath/gnu/java/awt/peer/gtk/ComponentGraphics.java,v
retrieving revision 1.17
diff -u -1 -0 -r1.17 ComponentGraphics.java
--- gnu/java/awt/peer/gtk/ComponentGraphics.java	14 Jun 2006 17:23:07 -	1.17
+++ gnu/java/awt/peer/gtk/ComponentGraphics.java	19 Jun 2006 11:47:42 -
@@ -32,37 +32,33 @@
 module.  An independent module is a module which is not derived from
 or based on this library.  If you modify this library, you may extend
 this exception to your version of the library, but you are not
 obligated to do so.  If you do not wish to do so, delete this
 exception statement from your version. */
 
 
 package gnu.java.awt.peer.gtk;
 
 import java.awt.Color;
-import java.awt.Font;
 import java.awt.Graphics;
 

[cp-patches] FYI: NEWS update

2006-06-19 Thread Raif S. Naffah
hello all,

the attached patch --already committed-- updates the NEWS file to 
mention the security tools and the tools document.

2006-06-19  Raif S. Naffah  [EMAIL PROTECTED]

* NEWS: Updated (delayed) for security tools and tools.texinfo.


cheers;
rsn
Index: NEWS
===
RCS file: /cvsroot/classpath/classpath/NEWS,v
retrieving revision 1.150
diff -u -r1.150 NEWS
--- NEWS	16 Jun 2006 18:28:45 -	1.150
+++ NEWS	19 Jun 2006 12:20:40 -
@@ -13,11 +13,19 @@
   build the GTK peers.
 * A Mozilla plugin, 'gcjwebplugin', is now included.  It introduces a
   dependency on the Mozilla plugin support headers and libraries.
+* A tools.texinfo document has been created and now includes documentation
+  about:
+  * appletviewer
+  * gcjwebplugin
+  * jarsigner
+  * keytool
 * Several new tools are now included:
   * appletviewer
   * jar
   * native2ascii
   * serialver
+  * keytool
+  * jarsigner
   A new configure option --enable-tool-wrappers causes wrapper
   binaries to be built for VMs that support the JNI Invocation API.
 


Re: [cp-patches] RFC: GConf preference api backend

2006-06-19 Thread Tom Tromey
 Tom == Thomas Fitzsimmons [EMAIL PROTECTED] writes:

Tom Thanks for this contribution!  (FWIW, I wouldn't object if you wanted
Tom to make this the default backend now).

I think it should only be the default if the peers are enabled.

Tom



Re: [cp-patches] RFC: GConf preference api backend

2006-06-19 Thread Tom Tromey
 Mario == Mario Torre [EMAIL PROTECTED] writes:

Mario The backend works, but there are few problems when using some kinds of
Mario keys, most notably, keys with white spaces and other special
Mario characters (ie.  and ).
[...]
Mario This problem is gconf related, and there is at least one bug entry in
Mario the gnome bugzilla:

I'm curious about this.

What is the failure mode that an application will see if it tries to
use a bad key?  Is there a failure mode we'll see when GConf is
changed?

My concern is that if we end up having to work around this on the
Classpath side, then we'll have to implement some kind of name munging
scheme -- breaking existing classpath-created GConf databases.  I
suppose we could add a version number to the internally-added path
though.

Mario http://bugzilla.gnome.org/show_bug.cgi?id=161209

Thanks.

It might be handy to have a 'classpath tracking PR' that depends on
all the gnome bugs that affect classpath.

Mario user root: /apps/java

Maybe should be /apps/classpath?

Tom



Re: [cp-patches] [RFA] Fail configure if --enable-plugin and --disable-gtk-peer?

2006-06-19 Thread Tom Tromey
 Keith == Keith Seitz [EMAIL PROTECTED] writes:

Keith Ah, that looks like a better approach than what I did. I incorrectly
Keith assumed gtk-peers was needed. Not peers, just gtk.

Keith Can someone look at Paul's patch in 27923: It is really quite
Keith small... Or suggest something better? This is a really big annoyance.

I took a quick look at the patch.  It seems to me that we could end
up checking for gtk+-2.0 in two different ways... that doesn't seem
too good.

I think a little refactoring would be better.  We could hoist the code
to check for gtk so that it is done when needed by either the peers or
appletviewer, and then use the result of that for the subsequent
checks.

Alternatively... I don't think your original patch was too bad, but
then, I don't think the situation where the user wants to build the
applet viewer but not the gtk peers is one that is really worth much
effort on our part.

Tom



[cp-patches] RFC: Add security checks to Graphics2D peers

2006-06-19 Thread Gary Benson
Hi all,

Does anyone mind if I commit the following patch to add security
checks to all Graphics2D peers?  The reason I ask is that the checks
might be overly restrictive, but at the moment the stuff after the
checks isn't implemented anywhere.  I just wanted to get them in so
they don't get lost.

Cheers,
Gary

Index: ChangeLog
===
RCS file: /cvsroot/classpath/classpath/ChangeLog,v
retrieving revision 1.7878
diff -u -r1.7878 ChangeLog
--- ChangeLog   19 Jun 2006 12:43:48 -  1.7878
+++ ChangeLog   19 Jun 2006 16:00:44 -
@@ -1,3 +1,9 @@
+2006-06-19  Gary Benson  [EMAIL PROTECTED]
+
+   * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Add security check.
+   * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
+   * gnu/java/awt/java2d/AbstractGraphics2D.java: Likewise.
+
 2006-06-19  Raif S. Naffah  [EMAIL PROTECTED]
 
* gnu/java/security/jce/hash/HavalSpi.java: Source formatting.
Index: gnu/java/awt/peer/gtk/CairoGraphics2D.java
===
RCS file: 
/cvsroot/classpath/classpath/gnu/java/awt/peer/gtk/CairoGraphics2D.java,v
retrieving revision 1.25
diff -u -r1.25 CairoGraphics2D.java
--- gnu/java/awt/peer/gtk/CairoGraphics2D.java  16 Jun 2006 10:27:29 -  
1.25
+++ gnu/java/awt/peer/gtk/CairoGraphics2D.java  19 Jun 2006 16:00:44 -
@@ -41,6 +41,7 @@
 import gnu.java.awt.ClasspathToolkit;
 
 import java.awt.AlphaComposite;
+import java.awt.AWTPermission;
 import java.awt.BasicStroke;
 import java.awt.Color;
 import java.awt.Composite;
@@ -886,6 +887,12 @@
   }
 else
   {
+// FIXME: this check is only required if this Graphics2D
+// context is drawing to a Component on the display screen.
+SecurityManager sm = System.getSecurityManager();
+if (sm != null)
+  sm.checkPermission(new AWTPermission(readDisplayPixels));
+
 // FIXME: implement general Composite support
 throw new java.lang.UnsupportedOperationException();
   }
Index: gnu/java/awt/peer/qt/QtGraphics.java
===
RCS file: /cvsroot/classpath/classpath/gnu/java/awt/peer/qt/QtGraphics.java,v
retrieving revision 1.3
diff -u -r1.3 QtGraphics.java
--- gnu/java/awt/peer/qt/QtGraphics.java23 Aug 2005 02:13:48 -  
1.3
+++ gnu/java/awt/peer/qt/QtGraphics.java19 Jun 2006 16:00:44 -
@@ -38,6 +38,7 @@
 package gnu.java.awt.peer.qt;
 
 import java.awt.AlphaComposite;
+import java.awt.AWTPermission;
 import java.awt.BasicStroke;
 import java.awt.Color;
 import java.awt.Composite;
@@ -605,8 +606,16 @@
composite = comp;
   }
 else
-  throw new UnsupportedOperationException(We don't support custom+
-  composites yet.);
+  {
+   // FIXME: this check is only required if this Graphics2D
+   // context is drawing to a Component on the display screen.
+   SecurityManager sm = System.getSecurityManager();
+   if (sm != null)
+ sm.checkPermission(new AWTPermission(readDisplayPixels));
+
+   throw new UnsupportedOperationException(We don't support custom+
+composites yet.);
+  }
   }
 
   public Composite getComposite()
Index: gnu/java/awt/java2d/AbstractGraphics2D.java
===
RCS file: 
/cvsroot/classpath/classpath/gnu/java/awt/java2d/AbstractGraphics2D.java,v
retrieving revision 1.9
diff -u -r1.9 AbstractGraphics2D.java
--- gnu/java/awt/java2d/AbstractGraphics2D.java 9 Jun 2006 20:49:51 -   
1.9
+++ gnu/java/awt/java2d/AbstractGraphics2D.java 19 Jun 2006 16:00:45 -
@@ -39,6 +39,7 @@
 
 import java.awt.AWTError;
 import java.awt.AlphaComposite;
+import java.awt.AWTPermission;
 import java.awt.BasicStroke;
 import java.awt.Color;
 import java.awt.Composite;
@@ -539,6 +540,15 @@
*/
   public void setComposite(Composite comp)
   {
+if (! (comp instanceof AlphaComposite))
+  {
+// FIXME: this check is only required if this Graphics2D
+// context is drawing to a Component on the display screen.
+SecurityManager sm = System.getSecurityManager();
+if (sm != null)
+  sm.checkPermission(new AWTPermission(readDisplayPixels));
+  }
+
 composite = comp;
 if (! (comp.equals(AlphaComposite.SrcOver)))
   isOptimized = false;


Re: [cp-patches] RFC: Add security checks to Graphics2D peers

2006-06-19 Thread Roman Kennke
Hi Gary,

 Does anyone mind if I commit the following patch to add security
 checks to all Graphics2D peers?  The reason I ask is that the checks
 might be overly restrictive, but at the moment the stuff after the
 checks isn't implemented anywhere.  I just wanted to get them in so
 they don't get lost.

Looks OK to me for now.

/Roman

-- 
“Improvement makes straight roads, but the crooked roads, without
Improvement, are roads of Genius.” - William Blake


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[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 get the pixels.
getData returns an incorrect array of pixels.

Index: gnu/java/awt/peer/gtk/CairoGraphics2D.java
===
RCS file: /cvsroot/classpath/classpath/gnu/java/awt/peer/gtk/CairoGraphics2D.java,v
retrieving revision 1.25
diff -u -r1.25 CairoGraphics2D.java
--- gnu/java/awt/peer/gtk/CairoGraphics2D.java	16 Jun 2006 10:27:29 -	1.25
+++ gnu/java/awt/peer/gtk/CairoGraphics2D.java	19 Jun 2006 20:26:25 -
@@ -1247,24 +1249,7 @@
 	setPaint( oldPaint );
   }
 
-int[] pixels;
-
-// Shortcut for easy color models.
-if( b.getColorModel().equals(rgb32) )
-  {
-	pixels = ((DataBufferInt)db).getData();
-	for(int i = 0; i  pixels.length; i++)
-	  pixels[i] |= 0xFF00;
-  }
-else if( b.getColorModel().equals(argb32) )
-  {
-	pixels = ((DataBufferInt)db).getData();
-  }
-else
-  {
-	pixels = b.getRGB(0, 0, width, height,
-			  null, 0, width);
-  }
+int[] pixels = b.getRGB(0, 0, width, height, null, 0, width);
 
 drawPixels(nativePointer, pixels, width, height, width, i2u, alpha);
 


[cp-testresults] FAIL: gcc build on Mon Jun 19 06:18:46 UTC 2006

2006-06-19 Thread cpdev
/home/cpdev/Nightly/gcc/build/./gcc/xgcc -B/home/cpdev/Nightly/gcc/build/./gcc/ 
-B/home/cpdev/Nightly/gcc/install/i686-pc-linux-gnu/bin/ 
-B/home/cpdev/Nightly/gcc/install/i686-pc-linux-gnu/lib/ -isystem 
/home/cpdev/Nightly/gcc/install/i686-pc-linux-gnu/include -isystem 
/home/cpdev/Nightly/gcc/install/i686-pc-linux-gnu/sys-include -DHAVE_CONFIG_H 
-I. -I../../../../../../../trunk/libjava/classpath/native/jni/gtk-peer 
-I../../../include -I../../../../../../../trunk/libjava/classpath/include 
-I../../../../../../../trunk/libjava/classpath/native/jni/classpath 
-I../../../../../../../trunk/libjava/classpath/native/target/Linux 
-I../../../../../../../trunk/libjava/classpath/native/target/generic -pedantic 
-W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes 
-Wno-long-long -pthread -I/usr/local/include/cairo -I/usr/include/gtk-2.0 
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 
-I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -O2 -g -MT gnu_java_awt_peer_gtk_GtkToolkit.lo -MD 
-MP -MF .deps/gnu_java_awt_peer_gtk_GtkToolkit.Tpo -c 
../../../../../../../trunk/libjava/classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
  -fPIC -DPIC -o .libs/gnu_java_awt_peer_gtk_GtkToolkit.o
if /bin/sh ../../../libtool --mode=compile 
/home/cpdev/Nightly/gcc/build/./gcc/xgcc -B/home/cpdev/Nightly/gcc/build/./gcc/ 
-B/home/cpdev/Nightly/gcc/install/i686-pc-linux-gnu/bin/ 
-B/home/cpdev/Nightly/gcc/install/i686-pc-linux-gnu/lib/ -isystem 
/home/cpdev/Nightly/gcc/install/i686-pc-linux-gnu/include -isystem 
/home/cpdev/Nightly/gcc/install/i686-pc-linux-gnu/sys-include -DHAVE_CONFIG_H 
-I. -I../../../../../../../trunk/libjava/classpath/native/jni/gtk-peer 
-I../../../include  -I../../../../../../../trunk/libjava/classpath/include 
-I../../../../../../../trunk/libjava/classpath/native/jni/classpath 
-I../../../../../../../trunk/libjava/classpath/native/target/Linux 
-I../../../../../../../trunk/libjava/classpath/native/target/generic  -pedantic 
-W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes 
-Wno-long-long -pthread -I/usr/local/include/cairo -I/usr/include/gtk-2.0 
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/freetype2  
 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include  -O2 -g  -MT gnu_java_awt_peer_gtk_GtkWindowPeer.lo 
-MD -MP -MF .deps/gnu_java_awt_peer_gtk_GtkWindowPeer.Tpo -c -o 
gnu_java_awt_peer_gtk_GtkWindowPeer.lo 
../../../../../../../trunk/libjava/classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c;
 \
then mv -f .deps/gnu_java_awt_peer_gtk_GtkWindowPeer.Tpo 
.deps/gnu_java_awt_peer_gtk_GtkWindowPeer.Plo; else rm -f 
.deps/gnu_java_awt_peer_gtk_GtkWindowPeer.Tpo; exit 1; fi
/home/cpdev/Nightly/gcc/build/./gcc/xgcc -B/home/cpdev/Nightly/gcc/build/./gcc/ 
-B/home/cpdev/Nightly/gcc/install/i686-pc-linux-gnu/bin/ 
-B/home/cpdev/Nightly/gcc/install/i686-pc-linux-gnu/lib/ -isystem 
/home/cpdev/Nightly/gcc/install/i686-pc-linux-gnu/include -isystem 
/home/cpdev/Nightly/gcc/install/i686-pc-linux-gnu/sys-include -DHAVE_CONFIG_H 
-I. -I../../../../../../../trunk/libjava/classpath/native/jni/gtk-peer 
-I../../../include -I../../../../../../../trunk/libjava/classpath/include 
-I../../../../../../../trunk/libjava/classpath/native/jni/classpath 
-I../../../../../../../trunk/libjava/classpath/native/target/Linux 
-I../../../../../../../trunk/libjava/classpath/native/target/generic -pedantic 
-W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes 
-Wno-long-long -pthread -I/usr/local/include/cairo -I/usr/include/gtk-2.0 
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 
-I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -O2 -g -MT gnu_java_awt_peer_gtk_GtkWindowPeer.lo 
-MD -MP -MF .deps/gnu_java_awt_peer_gtk_GtkWindowPeer.Tpo -c 
../../../../../../../trunk/libjava/classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
  -fPIC -DPIC -o .libs/gnu_java_awt_peer_gtk_GtkWindowPeer.o
if /bin/sh ../../../libtool --mode=compile 
/home/cpdev/Nightly/gcc/build/./gcc/xgcc -B/home/cpdev/Nightly/gcc/build/./gcc/ 
-B/home/cpdev/Nightly/gcc/install/i686-pc-linux-gnu/bin/ 
-B/home/cpdev/Nightly/gcc/install/i686-pc-linux-gnu/lib/ -isystem 
/home/cpdev/Nightly/gcc/install/i686-pc-linux-gnu/include -isystem 
/home/cpdev/Nightly/gcc/install/i686-pc-linux-gnu/sys-include -DHAVE_CONFIG_H 
-I. -I../../../../../../../trunk/libjava/classpath/native/jni/gtk-peer 
-I../../../include  -I../../../../../../../trunk/libjava/classpath/include 

[cp-testresults] FAIL: ecj built with ecj on jamvm on Mon Jun 19 09:24:35 UTC 2006

2006-06-19 Thread cpdev
xargs: jamvm: No such file or directory


___
Classpath-testresults mailing list
Classpath-testresults@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath-testresults


[cp-testresults] FAIL: generics classpath build on Mon Jun 19 09:25:19 UTC 2006

2006-06-19 Thread cpdev
config.status: linking ../classpath/include/jni_md-x86-linux-gnu.h to 
include/jni_md.h
config.status: executing depfiles commands
config.status: executing include/config-int.h commands
config.status: creating include/config-int.h : _CLASSPATH_INCLUDE_CONFIG_INT_H
config.status: executing gappletviewer commands
config.status: executing gjarsigner commands
config.status: executing gkeytool commands
config.status: executing gen-classlist commands
config.status: executing copy-vmresources commands
Making all in lib
make[1]: Entering directory `/home/cpdev/Nightly/generics/build/lib'
mkdir -p ../gnu/java/locale
../../classpath/scripts/generate-locale-list.sh  
../gnu/java/locale/LocaleData.java
true
top_builddir=.. top_srcdir=../../classpath /bin/sh ./gen-classlist.sh standard
Adding java source files from srcdir '../../classpath'.
Adding java source files from VM directory ../../classpath/vm/reference
Adding generated files in builddir '..'.
/home/cpdev/Nightly/ecj/ecj -1.5 
-warn:-deprecation,serial,typeHiding,unchecked,unused,varargsCast 
-proceedOnError -bootclasspath '' -classpath 
../../classpath/vm/reference:../../classpath:../../classpath/external/w3c_dom:../../classpath/external/sax:../../classpath/external/relaxngDatatype:../../classpath/external/jsr166:.:
 -d . @classes
Exception in thread main java.lang.NoClassDefFoundError: 
org.eclipse.jdt.internal.compiler.batch.Main
   at gnu.java.lang.MainThread.run() (/usr/local/lib/libgcj.so.6.0.0)
Caused by: java.lang.ClassNotFoundException: 
org.eclipse.jdt.internal.compiler.batch.Main not found in 
gnu.gcj.runtime.SystemClassLoader{urls=[file:./], 
parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
   at java.net.URLClassLoader.findClass(java.lang.String) 
(/usr/local/lib/libgcj.so.6.0.0)
   at java.lang.ClassLoader.loadClass(java.lang.String, boolean) 
(/usr/local/lib/libgcj.so.6.0.0)
   at java.lang.ClassLoader.loadClass(java.lang.String) 
(/usr/local/lib/libgcj.so.6.0.0)
   at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) 
(/usr/local/lib/libgcj.so.6.0.0)
   at gnu.java.lang.MainThread.run() (/usr/local/lib/libgcj.so.6.0.0)
make[1]: *** [compile-classes] Error 1
make[1]: Leaving directory `/home/cpdev/Nightly/generics/build/lib'
make: *** [all-recursive] Error 1


___
Classpath-testresults mailing list
Classpath-testresults@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath-testresults


[cp-testresults] Japi diffs for classpath

2006-06-19 Thread Stuart Ballard
Japi diff jdk10 vs classpath:
Full results:
http://www.kaffe.org/~stuart/japi/htmlout/h-jdk10-classpath.html

Changes since last run:

-Comparison run at Sun Jun 18 09:53:57 2006 GMT
-jdk10 API scanned at 2006/06/18 05:33:10 EDT
-classpath API scanned at 2006/06/18 05:47:01 EDT
+Comparison run at Mon Jun 19 09:53:44 2006 GMT
+jdk10 API scanned at 2006/06/19 05:32:51 EDT
+classpath API scanned at 2006/06/19 05:46:43 EDT
-java.awt: 99.81% good, 0.03% missing
+java.awt: 99.84% good
-Total: 91.25% good, 0.01% missing
+Total: 91.26% good
-Methods: 1 missing.
-
-java.awt:
-Missing
-method java.awt.GridBagLayout.AdjustForGravity(java.awt.GridBagConstraints, 
java.awt.Rectangle): not implemented in classpath


Japi diff jdk11 vs classpath:
Full results:
http://www.kaffe.org/~stuart/japi/htmlout/h-jdk11-classpath.html

Changes since last run:

-Comparison run at Sun Jun 18 09:54:22 2006 GMT
-jdk11 API scanned at 2006/06/18 05:32:36 EDT
-classpath API scanned at 2006/06/18 05:47:01 EDT
+Comparison run at Mon Jun 19 09:54:09 2006 GMT
+jdk11 API scanned at 2006/06/19 05:32:17 EDT
+classpath API scanned at 2006/06/19 05:46:43 EDT
-java.awt: 99.87% good, 0.02% missing
+java.awt: 99.89% good
-Total: 99.77% good, 0% missing
+Total: 99.78% good
-Methods: 1 missing.
-
-java.awt:
-Missing
-method java.awt.GridBagLayout.AdjustForGravity(java.awt.GridBagConstraints, 
java.awt.Rectangle): not implemented in classpath


Japi diff jdk12 vs classpath:
Full results:
http://www.kaffe.org/~stuart/japi/htmlout/h-jdk12-classpath.html

Changes since last run:

-Comparison run at Sun Jun 18 09:55:56 2006 GMT
-jdk12 API scanned at 2006/06/18 05:28:16 EDT
-classpath API scanned at 2006/06/18 05:47:01 EDT
+Comparison run at Mon Jun 19 09:55:48 2006 GMT
+jdk12 API scanned at 2006/06/19 05:28:02 EDT
+classpath API scanned at 2006/06/19 05:46:43 EDT
-java.awt: 99.98% good, 0.01% missing
+java.awt: 100% good
-java.awt.font: 92.94% good, 3.52% missing
+java.awt.font: 93.15% good, 3.31% missing
-Total: 99.48% good, 0.21% missing
+Total: 99.48% good, 0.2% missing
-Methods: 123 missing.
-Constructors: 2 missing.
+Methods: 122 missing.
+Constructors: 1 missing.
-java.awt:
-Missing
-method java.awt.GridBagLayout.AdjustForGravity(java.awt.GridBagConstraints, 
java.awt.Rectangle): not implemented in classpath
-
-constructor java.awt.font.TextLayout(java.text.AttributedCharacterIterator, 
java.awt.font.FontRenderContext): not implemented in classpath


Japi diff jdk13 vs classpath:
Full results:
http://www.kaffe.org/~stuart/japi/htmlout/h-jdk13-classpath.html

Changes since last run:

-Comparison run at Sun Jun 18 09:57:39 2006 GMT
-jdk13 API scanned at 2006/06/18 05:23:04 EDT
-classpath API scanned at 2006/06/18 05:47:01 EDT
+Comparison run at Mon Jun 19 09:57:36 2006 GMT
+jdk13 API scanned at 2006/06/19 05:22:49 EDT
+classpath API scanned at 2006/06/19 05:46:43 EDT
-java.awt: 99.98% good, 0.01% missing
+java.awt: 100% good
-java.awt.font: 95.29% good, 4.49% missing
+java.awt.font: 96.52% good, 3.27% missing
-Total: 98.43% good, 0.46% missing
+Total: 98.44% good, 0.45% missing
-Methods: 141 missing.
-Constructors: 2 missing.
+Methods: 135 missing.
+Constructors: 1 missing.
-java.awt:
-Missing
-method java.awt.GridBagLayout.AdjustForGravity(java.awt.GridBagConstraints, 
java.awt.Rectangle): not implemented in classpath
-
-constructor java.awt.font.TextLayout(java.text.AttributedCharacterIterator, 
java.awt.font.FontRenderContext): not implemented in classpath
-method 
java.awt.font.TextMeasurer.deleteChar(java.text.AttributedCharacterIterator, 
int): not implemented in classpath
-method java.awt.font.TextMeasurer.getAdvanceBetween(int, int): not implemented 
in classpath
-method java.awt.font.TextMeasurer.getLayout(int, int): not implemented in 
classpath
-method java.awt.font.TextMeasurer.getLineBreakIndex(int, float): not 
implemented in classpath
-method 
java.awt.font.TextMeasurer.insertChar(java.text.AttributedCharacterIterator, 
int): not implemented in classpath


Japi diff jdk14 vs classpath:
Full results:
http://www.kaffe.org/~stuart/japi/htmlout/h-jdk14-classpath.html

Changes since last run:

-Comparison run at Sun Jun 18 09:59:48 2006 GMT
-jdk14 API scanned at 2006/06/18 05:15:49 EDT
-classpath API scanned at 2006/06/18 05:47:01 EDT
+Comparison run at Mon Jun 19 09:59:43 2006 GMT
+jdk14 API scanned at 2006/06/19 05:15:33 EDT
+classpath API scanned at 2006/06/19 05:46:43 EDT
-java.awt: 99.99% good, 0% missing
+java.awt: 100% good
-java.awt.font: 95.96% good, 4.03% missing
+java.awt.font: 97.06% good, 2.93% missing
-Total: 99.18% good, 0% minor, 0.72% missing
+Total: 99.19% good, 0% minor, 0.72% missing
-Methods: 178 missing.
-Constructors: 4 missing.
+Methods: 172 missing.
+Constructors: 3 missing.
-java.awt:
-Missing
-method java.awt.GridBagLayout.AdjustForGravity(java.awt.GridBagConstraints, 
java.awt.Rectangle): not implemented in classpath
-
-constructor java.awt.font.TextLayout(java.text.AttributedCharacterIterator, 

[cp-testresults] FAIL: regressions for libgcj on Mon Jun 19 10:07:07 UTC 2006

2006-06-19 Thread cpdev
Baseline from: Sun Jun 18 12:29:41 UTC 2006

Regressions:
FAIL: Thread_Sleep -O3 -findirect-dispatch output - bytecode-native test
FAIL: Thread_Sleep -findirect-dispatch output - bytecode-native test
FAIL: Thread_Sleep output - bytecode-native test
FAIL: Thread_Sleep output - gij test

Totals:
PASS: 4796
XPASS: 0
FAIL: 4
XFAIL: 12


___
Classpath-testresults mailing list
Classpath-testresults@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath-testresults


[cp-testresults] FAIL: ecj built with ecj on jamvm on Mon Jun 19 13:43:26 UTC 2006

2006-06-19 Thread cpdev
xargs: jamvm: No such file or directory


___
Classpath-testresults mailing list
Classpath-testresults@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath-testresults


[cp-testresults] FAIL: generics classpath build on Mon Jun 19 13:44:10 UTC 2006

2006-06-19 Thread cpdev
config.status: linking ../classpath/include/jni_md-x86-linux-gnu.h to 
include/jni_md.h
config.status: executing depfiles commands
config.status: executing include/config-int.h commands
config.status: creating include/config-int.h : _CLASSPATH_INCLUDE_CONFIG_INT_H
config.status: executing gappletviewer commands
config.status: executing gjarsigner commands
config.status: executing gkeytool commands
config.status: executing gen-classlist commands
config.status: executing copy-vmresources commands
Making all in lib
make[1]: Entering directory `/home/cpdev/Nightly/generics/build/lib'
mkdir -p ../gnu/java/locale
../../classpath/scripts/generate-locale-list.sh  
../gnu/java/locale/LocaleData.java
true
top_builddir=.. top_srcdir=../../classpath /bin/sh ./gen-classlist.sh standard
Adding java source files from srcdir '../../classpath'.
Adding java source files from VM directory ../../classpath/vm/reference
Adding generated files in builddir '..'.
/home/cpdev/Nightly/ecj/ecj -1.5 
-warn:-deprecation,serial,typeHiding,unchecked,unused,varargsCast 
-proceedOnError -bootclasspath '' -classpath 
../../classpath/vm/reference:../../classpath:../../classpath/external/w3c_dom:../../classpath/external/sax:../../classpath/external/relaxngDatatype:../../classpath/external/jsr166:.:
 -d . @classes
Exception in thread main java.lang.NoClassDefFoundError: 
org.eclipse.jdt.internal.compiler.batch.Main
   at gnu.java.lang.MainThread.run() (/usr/local/lib/libgcj.so.6.0.0)
Caused by: java.lang.ClassNotFoundException: 
org.eclipse.jdt.internal.compiler.batch.Main not found in 
gnu.gcj.runtime.SystemClassLoader{urls=[file:/home/cpdev/Nightly/ecj/ecj.jar,file:./],
 parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
   at java.net.URLClassLoader.findClass(java.lang.String) 
(/usr/local/lib/libgcj.so.6.0.0)
   at java.lang.ClassLoader.loadClass(java.lang.String, boolean) 
(/usr/local/lib/libgcj.so.6.0.0)
   at java.lang.ClassLoader.loadClass(java.lang.String) 
(/usr/local/lib/libgcj.so.6.0.0)
   at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) 
(/usr/local/lib/libgcj.so.6.0.0)
   at gnu.java.lang.MainThread.run() (/usr/local/lib/libgcj.so.6.0.0)
make[1]: *** [compile-classes] Error 1
make[1]: Leaving directory `/home/cpdev/Nightly/generics/build/lib'
make: *** [all-recursive] Error 1


___
Classpath-testresults mailing list
Classpath-testresults@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath-testresults


[cp-testresults] FAIL: regressions for libgcj on Mon Jun 19 14:25:58 UTC 2006

2006-06-19 Thread cpdev
Baseline from: Sun Jun 18 12:29:41 UTC 2006

Regressions:
FAIL: Thread_Sleep -O3 output - bytecode-native test
FAIL: Thread_Sleep -O3 output - source compiled test
FAIL: Thread_Sleep -findirect-dispatch output - bytecode-native test
FAIL: Thread_Sleep output - source compiled test

Totals:
PASS: 4796
XPASS: 0
FAIL: 4
XFAIL: 12


___
Classpath-testresults mailing list
Classpath-testresults@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath-testresults


[cp-testresults] FAIL: ecj built with ecj on jamvm on Mon Jun 19 18:09:50 UTC 2006

2006-06-19 Thread cpdev
xargs: jamvm: No such file or directory


___
Classpath-testresults mailing list
Classpath-testresults@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath-testresults


[cp-testresults] FAIL: generics classpath build on Mon Jun 19 18:10:43 UTC 2006

2006-06-19 Thread cpdev
config.status: linking ../classpath/include/jni_md-x86-linux-gnu.h to 
include/jni_md.h
config.status: executing depfiles commands
config.status: executing include/config-int.h commands
config.status: creating include/config-int.h : _CLASSPATH_INCLUDE_CONFIG_INT_H
config.status: executing gappletviewer commands
config.status: executing gjarsigner commands
config.status: executing gkeytool commands
config.status: executing gen-classlist commands
config.status: executing copy-vmresources commands
Making all in lib
make[1]: Entering directory `/home/cpdev/Nightly/generics/build/lib'
mkdir -p ../gnu/java/locale
../../classpath/scripts/generate-locale-list.sh  
../gnu/java/locale/LocaleData.java
true
top_builddir=.. top_srcdir=../../classpath /bin/sh ./gen-classlist.sh standard
Adding java source files from srcdir '../../classpath'.
Adding java source files from VM directory ../../classpath/vm/reference
Adding generated files in builddir '..'.
/home/cpdev/Nightly/ecj/ecj -1.5 
-warn:-deprecation,serial,typeHiding,unchecked,unused,varargsCast 
-proceedOnError -bootclasspath '' -classpath 
../../classpath/vm/reference:../../classpath:../../classpath/external/w3c_dom:../../classpath/external/sax:../../classpath/external/relaxngDatatype:../../classpath/external/jsr166:.:
 -d . @classes
Exception in thread main java.lang.NoClassDefFoundError: 
org.eclipse.jdt.internal.compiler.batch.Main
   at gnu.java.lang.MainThread.run() (/usr/local/lib/libgcj.so.6.0.0)
Caused by: java.lang.ClassNotFoundException: 
org.eclipse.jdt.internal.compiler.batch.Main not found in 
gnu.gcj.runtime.SystemClassLoader{urls=[file:/home/cpdev/Nightly/ecj/ecj.jar,file:./],
 parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
   at java.net.URLClassLoader.findClass(java.lang.String) 
(/usr/local/lib/libgcj.so.6.0.0)
   at java.lang.ClassLoader.loadClass(java.lang.String, boolean) 
(/usr/local/lib/libgcj.so.6.0.0)
   at java.lang.ClassLoader.loadClass(java.lang.String) 
(/usr/local/lib/libgcj.so.6.0.0)
   at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) 
(/usr/local/lib/libgcj.so.6.0.0)
   at gnu.java.lang.MainThread.run() (/usr/local/lib/libgcj.so.6.0.0)
make[1]: *** [compile-classes] Error 1
make[1]: Leaving directory `/home/cpdev/Nightly/generics/build/lib'
make: *** [all-recursive] Error 1


___
Classpath-testresults mailing list
Classpath-testresults@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath-testresults


[cp-testresults] FAIL: regressions for libgcj on Mon Jun 19 18:54:01 UTC 2006

2006-06-19 Thread cpdev
Baseline from: Sun Jun 18 12:29:41 UTC 2006

Regressions:
FAIL: Thread_Sleep -O3 output - bytecode-native test

Totals:
PASS: 4799
XPASS: 0
FAIL: 1
XFAIL: 12


___
Classpath-testresults mailing list
Classpath-testresults@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath-testresults


[cp-testresults] FAIL: generics classpath build on Mon Jun 19 22:36:16 UTC 2006

2006-06-19 Thread cpdev
config.status: linking ../classpath/include/jni_md-x86-linux-gnu.h to 
include/jni_md.h
config.status: executing depfiles commands
config.status: executing include/config-int.h commands
config.status: creating include/config-int.h : _CLASSPATH_INCLUDE_CONFIG_INT_H
config.status: executing gappletviewer commands
config.status: executing gjarsigner commands
config.status: executing gkeytool commands
config.status: executing gen-classlist commands
config.status: executing copy-vmresources commands
Making all in lib
make[1]: Entering directory `/home/cpdev/Nightly/generics/build/lib'
mkdir -p ../gnu/java/locale
../../classpath/scripts/generate-locale-list.sh  
../gnu/java/locale/LocaleData.java
true
top_builddir=.. top_srcdir=../../classpath /bin/sh ./gen-classlist.sh standard
Adding java source files from srcdir '../../classpath'.
Adding java source files from VM directory ../../classpath/vm/reference
Adding generated files in builddir '..'.
/home/cpdev/Nightly/ecj/ecj -1.5 
-warn:-deprecation,serial,typeHiding,unchecked,unused,varargsCast 
-proceedOnError -bootclasspath '' -classpath 
../../classpath/vm/reference:../../classpath:../../classpath/external/w3c_dom:../../classpath/external/sax:../../classpath/external/relaxngDatatype:../../classpath/external/jsr166:.:
 -d . @classes
Exception in thread main java.lang.NoClassDefFoundError: 
org.eclipse.jdt.internal.compiler.batch.Main
   at gnu.java.lang.MainThread.run() (/usr/local/lib/libgcj.so.6.0.0)
Caused by: java.lang.ClassNotFoundException: 
org.eclipse.jdt.internal.compiler.batch.Main not found in 
gnu.gcj.runtime.SystemClassLoader{urls=[file:/home/cpdev/Nightly/ecj/ecj.jar,file:./],
 parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
   at java.net.URLClassLoader.findClass(java.lang.String) 
(/usr/local/lib/libgcj.so.6.0.0)
   at java.lang.ClassLoader.loadClass(java.lang.String, boolean) 
(/usr/local/lib/libgcj.so.6.0.0)
   at java.lang.ClassLoader.loadClass(java.lang.String) 
(/usr/local/lib/libgcj.so.6.0.0)
   at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) 
(/usr/local/lib/libgcj.so.6.0.0)
   at gnu.java.lang.MainThread.run() (/usr/local/lib/libgcj.so.6.0.0)
make[1]: *** [compile-classes] Error 1
make[1]: Leaving directory `/home/cpdev/Nightly/generics/build/lib'
make: *** [all-recursive] Error 1


___
Classpath-testresults mailing list
Classpath-testresults@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath-testresults


[cp-testresults] FAIL: regressions for libgcj on Mon Jun 19 23:19:48 UTC 2006

2006-06-19 Thread cpdev
Baseline from: Sun Jun 18 12:29:41 UTC 2006

Regressions:
FAIL: Thread_Sleep -O3 -findirect-dispatch output - bytecode-native test
FAIL: Thread_Sleep -O3 output - bytecode-native test
FAIL: Thread_Sleep -O3 output - source compiled test
FAIL: Thread_Sleep output - bytecode-native test
FAIL: Thread_Sleep output - gij test
FAIL: Thread_Sleep output - source compiled test

New fails:

Totals:
PASS: 4815
XPASS: 0
FAIL: 6
XFAIL: 12


___
Classpath-testresults mailing list
Classpath-testresults@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath-testresults


[cp-testresults] FAIL: generics classpath build on Tue Jun 20 03:00:01 UTC 2006

2006-06-19 Thread cpdev
config.status: linking ../classpath/include/jni_md-x86-linux-gnu.h to 
include/jni_md.h
config.status: executing depfiles commands
config.status: executing include/config-int.h commands
config.status: creating include/config-int.h : _CLASSPATH_INCLUDE_CONFIG_INT_H
config.status: executing gappletviewer commands
config.status: executing gjarsigner commands
config.status: executing gkeytool commands
config.status: executing gen-classlist commands
config.status: executing copy-vmresources commands
Making all in lib
make[1]: Entering directory `/home/cpdev/Nightly/generics/build/lib'
mkdir -p ../gnu/java/locale
../../classpath/scripts/generate-locale-list.sh  
../gnu/java/locale/LocaleData.java
true
top_builddir=.. top_srcdir=../../classpath /bin/sh ./gen-classlist.sh standard
Adding java source files from srcdir '../../classpath'.
Adding java source files from VM directory ../../classpath/vm/reference
Adding generated files in builddir '..'.
/home/cpdev/Nightly/ecj/ecj -1.5 
-warn:-deprecation,serial,typeHiding,unchecked,unused,varargsCast 
-proceedOnError -bootclasspath '' -classpath 
../../classpath/vm/reference:../../classpath:../../classpath/external/w3c_dom:../../classpath/external/sax:../../classpath/external/relaxngDatatype:../../classpath/external/jsr166:.:
 -d . @classes
Exception in thread main java.lang.NoClassDefFoundError: 
org.eclipse.jdt.internal.compiler.batch.Main
   at gnu.java.lang.MainThread.run() (/usr/local/lib/libgcj.so.6.0.0)
Caused by: java.lang.ClassNotFoundException: 
org.eclipse.jdt.internal.compiler.batch.Main not found in 
gnu.gcj.runtime.SystemClassLoader{urls=[file:/home/cpdev/Nightly/ecj/ecj.jar,file:./],
 parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
   at java.net.URLClassLoader.findClass(java.lang.String) 
(/usr/local/lib/libgcj.so.6.0.0)
   at java.lang.ClassLoader.loadClass(java.lang.String, boolean) 
(/usr/local/lib/libgcj.so.6.0.0)
   at java.lang.ClassLoader.loadClass(java.lang.String) 
(/usr/local/lib/libgcj.so.6.0.0)
   at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) 
(/usr/local/lib/libgcj.so.6.0.0)
   at gnu.java.lang.MainThread.run() (/usr/local/lib/libgcj.so.6.0.0)
make[1]: *** [compile-classes] Error 1
make[1]: Leaving directory `/home/cpdev/Nightly/generics/build/lib'
make: *** [all-recursive] Error 1


___
Classpath-testresults mailing list
Classpath-testresults@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath-testresults


Re: [Gcjwebplugin-devel] Re: NSAPI/ OJI/ Applet plugin

2006-06-19 Thread Gary Benson
Casey Marshall wrote:
 I don't think anyone has gone through Classpath to see what
 permission checks are missing, and nor has anyone audited the
 code paths that implement these permissions. So the answer is
 that we can't say for sure if Classpath is secure or not.

Over the past few months I've been writing Mauve checks to ensure
that every permission check listed in http://tinyurl.com/o2ttz is
checked in Classpath for PR 21891.  Look for the testcases called
security.java.

Cheers,
Gary




gconf needs ORBit?!

2006-06-19 Thread Norman Hendrich
Hello all,

another build surprise, and another stupid question. Sorry.

Obviously, classpath cvs now depends on gconf, which depends on something
called ORBit that I have never heard of, and that I don't have. 

Well, building with --disable-gconf-peer now. (Another undocumented 
switch, but I am getting better at grepping configure scripts.)


Unfortunately, Google returns thousands of unrelated links for ORBit
and only unuseable links for the search ORBit-2.0. So, where do I
find this? Do I really want it?  (for linux x86)

Best, Norman

(BTW, the gconf home page is no help either, it still links to 1.2.x 
instead of 2.14.x ...)




Re: gconf needs ORBit?!

2006-06-19 Thread Roman Kennke
Hi Norman,

 another build surprise, and another stupid question. Sorry.
 
 Obviously, classpath cvs now depends on gconf, which depends on something
 called ORBit that I have never heard of, and that I don't have. 

Orbit is usually installed as part of Gnome. Of which gconf is the
configuration management. So if you have gconf you usually also have
Gnome and with it you'll have Orbit.

If all or some of the above is not the case for you, we would need more
information from you. Maybe attach the config.log and/or the full
configure output.

Cheers, Roman

-- 
“Improvement makes straight roads, but the crooked roads, without
Improvement, are roads of Genius.” - William Blake


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Bug awt/27947] Graphics2D buglet with rotated text

2006-06-19 Thread hendrich at informatik dot uni-hamburg dot de


--- Comment #3 from hendrich at informatik dot uni-hamburg dot de  
2006-06-19 10:03 ---
(In reply to comment #2)
 How does it rotate the text? I'm not seeing any problems when using
 Graphics2D.rotate(). 

Could you run jfig3.jar and confirm that creating rotated texts works for
you? This would probably indicate a problem with my freetype or my fonts.

http://tams-www.informatik.uni-hamburg.de/applets/jfig/archive/jfig3.jar

1. java -jar jfig3.jar
2. Load the attached .fig file (fonttest.jar) - this segfaults for me.

1. java -jar jfig3.jar
2. Click the T (text mode) button on the left
3. Select one of the fonts via the font button on the bottom.
   (Helvetica and Courier work on my system, Times does not).
4. Click the rotation angle button a few times (rightmost button on the
   bottom attributes control panel) to select a non-zero rotation angle.
5. Click the left mouse button anywhere on the drawing canvas to place the
   text object.
6. Type some text (including digits and special chars etc) and verify that
   it is rotated.





The relevant code looks like this, where createCompoundTransform calls
preconcatenate:

  ...
  AffineTransform tmpTrafo =
 FigTools2D.createCompoundTransform( origTrafo, trafo );
  tmpTrafo.translate( basePoint.x,
  basePoint.y );
  tmpTrafo.rotate( -attribs.fig_angle );
  tmpTrafo.translate( left, 0 );
  g2D.setTransform( tmpTrafo );

  if (s.length()  0) {
g2D.setColor( attribs.lineColor );
g2D.setFont( font );
g2D.drawString( s, 0, 0 );
  }


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27947



___
Bug-classpath mailing list
Bug-classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-classpath


Re: gconf needs ORBit?!

2006-06-19 Thread Roman Kennke
Hi again Norman,

 another build surprise, and another stupid question. Sorry.
 
 Obviously, classpath cvs now depends on gconf, which depends on something
 called ORBit that I have never heard of, and that I don't have. 

It just came to my mind that what you need is not orbit itself (which
you very likely already have), but the header files for it (look for
-dev packages)

/Roman

-- 
“Improvement makes straight roads, but the crooked roads, without
Improvement, are roads of Genius.” - William Blake


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Bug awt/27947] Graphics2D buglet with rotated text

2006-06-19 Thread hendrich at informatik dot uni-hamburg dot de


--- Comment #4 from hendrich at informatik dot uni-hamburg dot de  
2006-06-19 10:05 ---
Created an attachment (id=11696)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11696action=view)
figure file with rotated text objects


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27947



___
Bug-classpath mailing list
Bug-classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-classpath


[Bug classpath/28035] java.rmi.server.UID does not return unique IDs

2006-06-19 Thread audriusa at bluewin dot ch


--- Comment #5 from audriusa at bluewin dot ch  2006-06-19 10:11 ---
Created an attachment (id=11697)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11697action=view)
Second fix

This patch synchronizes on the whole constructor body. It must be applied
subsequently after the first patch. 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28035



___
Bug-classpath mailing list
Bug-classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-classpath


[Bug classpath/28035] java.rmi.server.UID does not return unique IDs

2006-06-19 Thread audriusa at bluewin dot ch


--- Comment #6 from audriusa at bluewin dot ch  2006-06-19 10:14 ---
Created an attachment (id=11698)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11698action=view)
The test case, showing, that the UID's are now really unique (obtaining the
4000 UID's in 20 threads)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28035



___
Bug-classpath mailing list
Bug-classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-classpath


[Bug classpath/28035] java.rmi.server.UID does not return unique IDs

2006-06-19 Thread audriusa at bluewin dot ch


--- Comment #7 from audriusa at bluewin dot ch  2006-06-19 10:14 ---
I think, this time really OK. The proving test case is uploaded.


-- 

audriusa at bluewin dot ch changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28035



___
Bug-classpath mailing list
Bug-classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-classpath


Re: gconf needs ORBit?!

2006-06-19 Thread Gary Benson
Norman Hendrich wrote:
 Obviously, classpath cvs now depends on gconf, which depends on
 something called ORBit that I have never heard of, and that I
 don't have.

For Fedora you need to yum install ORBit2-devel.
Can't speak for other distros though.

Cheers,
Gary



Re: gconf needs ORBit?!

2006-06-19 Thread Norman Hendrich
Hello Roman,

thanks for your quick reply.


 Orbit is usually installed as part of Gnome. Of which gconf is the
 configuration management. So if you have gconf you usually also have
 Gnome and with it you'll have Orbit.

OK. So far, I only have those parts of gnome required to building 
classpath. So much for my priorities :-)


classpath configure now requires gconf = 2.11.2:

./configure --with-jikes --disable-plugin --prefix=/opt/classpath
[...]
checking for gconf-2.0 = 2.11.2... Package gconf-2.0 was not found in the 
pkg-config search path.
Perhaps you should add the directory containing `gconf-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gconf-2.0' found


while building gconf 2.11.92 fails with

./configure
No package 'ORBit-2.0' found
configure: error: Package requirements (gmodule-2.0 = 2.7.0 gobject-2.0 = 
2.7.0 ORBit-2.0 = 2.4.0) were not met.


and building a fresh gconf 2.14.0 fails with:

./configure
checking for DEPENDENT... Requested 'glib-2.0  2.9.0' but version of GLib is 
2.8.6
configure: error: Package requirements (glib-2.0  2.9.0 gmodule-2.0 = 2.7.0 
gobject-2.0 = 2.7.0 ORBit-2.0 = 2.4.0) were not met:

I don't use GNOME. Seems like --disable-gconf-peer is the way to go.
What are the gconf peers supposed to do anyway?

Thanks, Norman








Re: gconf needs ORBit?!

2006-06-19 Thread Robert Schuster
Hi Norman,
sorry that this stopped your development but with CVS sources stuff like that
can happen from time to time.

On Ubuntu and Debian GNU/Linux-based distros you need to install libgconf2-dev.
This will download and install C header files which are needed to compile the
native side of the GConf-based backend for java.util.prefs.

Now you know for what it it used. java.util.prefs is a API that allows
applications to conveniently store preferences and other configuration data. The
RI on Windows machines can use the so-called registry on that system. On
GNU/Linux systems they have a simple file based implementation.

GNU Classpath can write the data to plain files (no dependencies) or use the
GConf library for that task. The latter was made the default because it is
technically nicer and integrates better in the GNU environment.

Btw: I have a patch that mentions the new library dependency in INSTALL here.
:)

cya
Robert

Norman Hendrich wrote:
 Hello Roman,
 
 thanks for your quick reply.
 
 
 
Orbit is usually installed as part of Gnome. Of which gconf is the
configuration management. So if you have gconf you usually also have
Gnome and with it you'll have Orbit.
 
 
 OK. So far, I only have those parts of gnome required to building 
 classpath. So much for my priorities :-)
 
 
 classpath configure now requires gconf = 2.11.2:
 
 ./configure --with-jikes --disable-plugin --prefix=/opt/classpath
 [...]
 checking for gconf-2.0 = 2.11.2... Package gconf-2.0 was not found in the 
 pkg-config search path.
 Perhaps you should add the directory containing `gconf-2.0.pc'
 to the PKG_CONFIG_PATH environment variable
 No package 'gconf-2.0' found
 
 
 while building gconf 2.11.92 fails with
 
 ./configure
 No package 'ORBit-2.0' found
 configure: error: Package requirements (gmodule-2.0 = 2.7.0 gobject-2.0 = 
 2.7.0 ORBit-2.0 = 2.4.0) were not met.
 
 
 and building a fresh gconf 2.14.0 fails with:
 
 ./configure
 checking for DEPENDENT... Requested 'glib-2.0  2.9.0' but version of GLib is 
 2.8.6
 configure: error: Package requirements (glib-2.0  2.9.0 gmodule-2.0 = 2.7.0 
 gobject-2.0 = 2.7.0 ORBit-2.0 = 2.4.0) were not met:
 
 I don't use GNOME. Seems like --disable-gconf-peer is the way to go.
 What are the gconf peers supposed to do anyway?
 
 Thanks, Norman
 
 
 
 
 
 
 


signature.asc
Description: OpenPGP digital signature


Re: gconf needs ORBit?!

2006-06-19 Thread Andrew John Hughes

Hi Norman, Robert,

In the long run, it would seem a good idea to make it possible to  
disable these
new peers, just as users can disable gcjappletviewer, the gtk and qt  
peers, etc.


Cheers,

Andrew

On 19 Jun 2006, at 11:50, Robert Schuster wrote:


Hi Norman,
sorry that this stopped your development but with CVS sources stuff  
like that

can happen from time to time.

On Ubuntu and Debian GNU/Linux-based distros you need to install  
libgconf2-dev.
This will download and install C header files which are needed to  
compile the

native side of the GConf-based backend for java.util.prefs.

Now you know for what it it used. java.util.prefs is a API that allows
applications to conveniently store preferences and other  
configuration data. The
RI on Windows machines can use the so-called registry on that  
system. On

GNU/Linux systems they have a simple file based implementation.

GNU Classpath can write the data to plain files (no dependencies)  
or use the
GConf library for that task. The latter was made the default  
because it is

technically nicer and integrates better in the GNU environment.

Btw: I have a patch that mentions the new library dependency in  
INSTALL here.

:)

cya
Robert

Norman Hendrich wrote:

Hello Roman,

thanks for your quick reply.




Orbit is usually installed as part of Gnome. Of which gconf is the
configuration management. So if you have gconf you usually also have
Gnome and with it you'll have Orbit.



OK. So far, I only have those parts of gnome required to building
classpath. So much for my priorities :-)


classpath configure now requires gconf = 2.11.2:

./configure --with-jikes --disable-plugin --prefix=/opt/classpath
[...]
checking for gconf-2.0 = 2.11.2... Package gconf-2.0 was not  
found in the

pkg-config search path.
Perhaps you should add the directory containing `gconf-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gconf-2.0' found


while building gconf 2.11.92 fails with

./configure
No package 'ORBit-2.0' found
configure: error: Package requirements (gmodule-2.0 = 2.7.0  
gobject-2.0 =

2.7.0 ORBit-2.0 = 2.4.0) were not met.


and building a fresh gconf 2.14.0 fails with:

./configure
checking for DEPENDENT... Requested 'glib-2.0  2.9.0' but version  
of GLib is

2.8.6
configure: error: Package requirements (glib-2.0  2.9.0  
gmodule-2.0 = 2.7.0

gobject-2.0 = 2.7.0 ORBit-2.0 = 2.4.0) were not met:

I don't use GNOME. Seems like --disable-gconf-peer is the way to go.
What are the gconf peers supposed to do anyway?

Thanks, Norman









--
Andrew :)

Department of Computer Science
University of Sheffield







Re: gconf needs ORBit?!

2006-06-19 Thread Mario Torre
Il giorno lun, 19/06/2006 alle 12.01 +0100, Andrew John Hughes ha
scritto:
 Hi Norman, Robert,
 
 In the long run, it would seem a good idea to make it possible to  
 disable these
 new peers, just as users can disable gcjappletviewer, the gtk and qt  
 peers, etc.

Ouch!

This backend seems to make more problems than happy users!

There is the flag --disable-gconf-peer for this.

Hope that helps,
Mario
-- 
Lima Software, SO.PR.IND. s.r.l.
http://www.limasoftware.net/
pgp key: http://subkeys.pgp.net/

Please, support open standards:
http://opendocumentfellowship.org/petition/
http://www.nosoftwarepatents.com/


signature.asc
Description: Questa è una parte del messaggio	firmata digitalmente


[Bug crypto/26067] Crypto: Clean up source formatting

2006-06-19 Thread raif at swiftdsl dot com dot au


--- Comment #4 from raif at swiftdsl dot com dot au  2006-06-19 12:49 
---
Created an attachment (id=11701)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11701action=view)
2nd partial fix (gnu.java.security.jce classes)

2nd partial fix (gnu.java.security.jce classes)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26067



___
Bug-classpath mailing list
Bug-classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-classpath


[commit-cp] classpath/java/rmi/server UID.java ChangeLog

2006-06-19 Thread Audrius Meskauskas
CVSROOT:/sources/classpath
Module name:classpath
Changes by: Audrius Meskauskas audriusa   06/06/19 10:13:50

Modified files:
java/rmi/server: UID.java 
.  : ChangeLog 

Log message:
2006-06-19  Audrius Meskauskas  [EMAIL PROTECTED]

PR 28035
* java/rmi/server/UID.java (constructor): Synchronized
the whole constructor on the UID class.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/java/rmi/server/UID.java?cvsroot=classpathr1=1.12r2=1.13
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpathr1=1.7874r2=1.7875

Patches:

Index: ChangeLog
===
RCS file: /sources/classpath/classpath/ChangeLog,v
retrieving revision 1.7874
retrieving revision 1.7875
diff -u -b -r1.7874 -r1.7875
--- ChangeLog   19 Jun 2006 09:54:03 -  1.7874
+++ ChangeLog   19 Jun 2006 10:13:50 -  1.7875
@@ -1,3 +1,9 @@
+2006-06-19  Audrius Meskauskas  [EMAIL PROTECTED]
+
+   PR 28035
+   * java/rmi/server/UID.java (constructor): Synchronized
+   the whole constructor on the UID class.
+
 2006-06-19  Roman Kennke  [EMAIL PROTECTED]
 
* javax/swing/RepaintManager.java




[commit-cp] classpath native/jni/gtk-peergnu_java_awt_peer_...

2006-06-19 Thread Roman Kennke
CVSROOT:/cvsroot/classpath
Module name:classpath
Changes by: Roman Kennke rabbit78 06/06/19 11:51:45

Modified files:
native/jni/gtk-peer: gnu_java_awt_peer_gtk_ComponentGraphics.c 
include: gnu_java_awt_peer_gtk_ComponentGraphics.h 
gnu/java/awt/peer/gtk: ComponentGraphics.java 
.  : ChangeLog 

Log message:
2006-06-19  Roman Kennke  [EMAIL PROTECTED]

* gnu/java/awt/peer/gtk/ComponentGraphics.java
(drawImage): Clip volatile image correctly.
(drawVolatileImage): Added arguments for clipping.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
(drawVolatileImage): Added arguments for clipping. Clip image
correctly.
* include/gnu_java_awt_peer_gtk_ComponentGraphics.h: 
Regenerated.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c?cvsroot=classpathr1=1.16r2=1.17
http://cvs.savannah.gnu.org/viewcvs/classpath/include/gnu_java_awt_peer_gtk_ComponentGraphics.h?cvsroot=classpathr1=1.7r2=1.8
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/awt/peer/gtk/ComponentGraphics.java?cvsroot=classpathr1=1.17r2=1.18
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpathr1=1.7875r2=1.7876

Patches:
Index: native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
===
RCS file: 
/cvsroot/classpath/classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c   10 Jun 
2006 10:33:17 -  1.16
+++ native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c   19 Jun 
2006 11:51:43 -  1.17
@@ -279,12 +279,13 @@
 JNIEXPORT void JNICALL 
 Java_gnu_java_awt_peer_gtk_ComponentGraphics_drawVolatile
 (JNIEnv *env, jobject obj __attribute__ ((unused)), jobject peer, 
- jlong img, jint x, jint y, jint w, jint h)
+ jlong img, jint x, jint y, jint w, jint h, jint cx, jint cy, jint cw, jint ch)
 {
   GdkPixmap *pixmap;
   GtkWidget *widget = NULL;
   void *ptr = NULL;
   GdkGC *gc;
+  GdkRectangle clip;
 
   gdk_threads_enter();
   ptr = NSA_GET_PTR (env, peer);
@@ -296,6 +297,13 @@
   pixmap = JLONG_TO_PTR(GdkPixmap, img);
  
   gc = gdk_gc_new(widget-window);
+
+  clip.x = cx;
+  clip.y = cy;
+  clip.width = cw;
+  clip.height = ch;
+  gdk_gc_set_clip_rectangle(gc, clip);
+
   gdk_draw_drawable(widget-window,
gc,
pixmap,

Index: include/gnu_java_awt_peer_gtk_ComponentGraphics.h
===
RCS file: 
/cvsroot/classpath/classpath/include/gnu_java_awt_peer_gtk_ComponentGraphics.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- include/gnu_java_awt_peer_gtk_ComponentGraphics.h   10 Jun 2006 14:16:10 
-  1.7
+++ include/gnu_java_awt_peer_gtk_ComponentGraphics.h   19 Jun 2006 11:51:43 
-  1.8
@@ -17,7 +17,7 @@
 JNIEXPORT void JNICALL 
Java_gnu_java_awt_peer_gtk_ComponentGraphics_end_1gdk_1drawing (JNIEnv *env, 
jobject);
 JNIEXPORT jboolean JNICALL 
Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender (JNIEnv *env, jclass);
 JNIEXPORT void JNICALL 
Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative (JNIEnv *env, 
jobject, jobject, jint, jint, jint, jint, jint, jint);
-JNIEXPORT void JNICALL 
Java_gnu_java_awt_peer_gtk_ComponentGraphics_drawVolatile (JNIEnv *env, 
jobject, jobject, jlong, jint, jint, jint, jint);
+JNIEXPORT void JNICALL 
Java_gnu_java_awt_peer_gtk_ComponentGraphics_drawVolatile (JNIEnv *env, 
jobject, jobject, jlong, jint, jint, jint, jint, jint, jint, jint, jint);
 
 #ifdef __cplusplus
 }

Index: gnu/java/awt/peer/gtk/ComponentGraphics.java
===
RCS file: 
/cvsroot/classpath/classpath/gnu/java/awt/peer/gtk/ComponentGraphics.java,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- gnu/java/awt/peer/gtk/ComponentGraphics.java14 Jun 2006 17:23:07 
-  1.17
+++ gnu/java/awt/peer/gtk/ComponentGraphics.java19 Jun 2006 11:51:43 
-  1.18
@@ -39,7 +39,6 @@
 package gnu.java.awt.peer.gtk;
 
 import java.awt.Color;
-import java.awt.Font;
 import java.awt.Graphics;
 import java.awt.Graphics2D;
 import java.awt.GraphicsConfiguration;
@@ -47,15 +46,12 @@
 import java.awt.Rectangle;
 import java.awt.Shape;
 import java.awt.Toolkit;
-import java.awt.Point;
-import java.awt.font.FontRenderContext;
 import java.awt.font.GlyphVector;
 import java.awt.geom.AffineTransform;
 import java.awt.geom.Rectangle2D;
 import java.awt.image.BufferedImage;
 import java.awt.image.ImageObserver;
 import java.awt.image.ImageProducer;
-import 

[commit-cp] classpath ChangeLog NEWS

2006-06-19 Thread Raif S. Naffah
CVSROOT:/cvsroot/classpath
Module name:classpath
Changes by: Raif S. Naffah raif   06/06/19 12:22:43

Modified files:
.  : ChangeLog NEWS 

Log message:
2006-06-19  Raif S. Naffah  [EMAIL PROTECTED]

* NEWS: Updated (delayed) for security tools and tools.texinfo.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpathr1=1.7876r2=1.7877
http://cvs.savannah.gnu.org/viewcvs/classpath/NEWS?cvsroot=classpathr1=1.150r2=1.151

Patches:
Index: ChangeLog
===
RCS file: /cvsroot/classpath/classpath/ChangeLog,v
retrieving revision 1.7876
retrieving revision 1.7877
diff -u -b -r1.7876 -r1.7877
--- ChangeLog   19 Jun 2006 11:51:43 -  1.7876
+++ ChangeLog   19 Jun 2006 12:22:41 -  1.7877
@@ -1,3 +1,7 @@
+2006-06-19  Raif S. Naffah  [EMAIL PROTECTED]
+
+   * NEWS: Updated (delayed) for security tools and tools.texinfo.
+
 2006-06-19  Roman Kennke  [EMAIL PROTECTED]
 
* gnu/java/awt/peer/gtk/ComponentGraphics.java

Index: NEWS
===
RCS file: /cvsroot/classpath/classpath/NEWS,v
retrieving revision 1.150
retrieving revision 1.151
diff -u -b -r1.150 -r1.151
--- NEWS16 Jun 2006 18:28:45 -  1.150
+++ NEWS19 Jun 2006 12:22:42 -  1.151
@@ -13,11 +13,19 @@
   build the GTK peers.
 * A Mozilla plugin, 'gcjwebplugin', is now included.  It introduces a
   dependency on the Mozilla plugin support headers and libraries.
+* A tools.texinfo document has been created and now includes documentation
+  about:
+  * appletviewer
+  * gcjwebplugin
+  * jarsigner
+  * keytool
 * Several new tools are now included:
   * appletviewer
   * jar
   * native2ascii
   * serialver
+  * keytool
+  * jarsigner
   A new configure option --enable-tool-wrappers causes wrapper
   binaries to be built for VMs that support the JNI Invocation API.
 




[commit-cp] classpath ChangeLog gnu/java/awt/peer/gtk/Cairo...

2006-06-19 Thread Lillian Angel
CVSROOT:/cvsroot/classpath
Module name:classpath
Changes by: Lillian Angel langel  06/06/19 20:28:22

Modified files:
.  : ChangeLog 
gnu/java/awt/peer/gtk: CairoGraphics2D.java 

Log message:
2006-06-19  Lillian Angel  [EMAIL PROTECTED]

* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(drawImage): Should always use getRGB to get the pixels.
getData returns an incorrect array of pixels.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpathr1=1.7878r2=1.7879
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/awt/peer/gtk/CairoGraphics2D.java?cvsroot=classpathr1=1.25r2=1.26

Patches:
Index: ChangeLog
===
RCS file: /cvsroot/classpath/classpath/ChangeLog,v
retrieving revision 1.7878
retrieving revision 1.7879
diff -u -b -r1.7878 -r1.7879
--- ChangeLog   19 Jun 2006 12:43:48 -  1.7878
+++ ChangeLog   19 Jun 2006 20:28:22 -  1.7879
@@ -1,3 +1,9 @@
+2006-06-19  Lillian Angel  [EMAIL PROTECTED]
+
+   * gnu/java/awt/peer/gtk/CairoGraphics2D.java
+   (drawImage): Should always use getRGB to get the pixels.
+   getData returns an incorrect array of pixels.
+
 2006-06-19  Raif S. Naffah  [EMAIL PROTECTED]
 
* gnu/java/security/jce/hash/HavalSpi.java: Source formatting.

Index: gnu/java/awt/peer/gtk/CairoGraphics2D.java
===
RCS file: 
/cvsroot/classpath/classpath/gnu/java/awt/peer/gtk/CairoGraphics2D.java,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- gnu/java/awt/peer/gtk/CairoGraphics2D.java  16 Jun 2006 10:27:29 -  
1.25
+++ gnu/java/awt/peer/gtk/CairoGraphics2D.java  19 Jun 2006 20:28:22 -  
1.26
@@ -1201,6 +1201,7 @@
 // Note - this can get us in trouble when the gdk lock is re-acquired.
 // for example by VolatileImage. See ComponentGraphics for how we work
 // around this.
+
 if( !(img instanceof BufferedImage) )
   {
ImageProducer source = img.getSource();
@@ -1217,6 +1218,7 @@
 
 // If this BufferedImage has a BufferedImageGraphics object, 
 // use the cached CairoSurface that BIG is drawing onto
+
 if( BufferedImageGraphics.bufferedImages.get( b ) != null )
   db = (DataBuffer)BufferedImageGraphics.bufferedImages.get( b );
 else
@@ -1247,24 +1249,7 @@
setPaint( oldPaint );
   }
 
-int[] pixels;
-
-// Shortcut for easy color models.
-if( b.getColorModel().equals(rgb32) )
-  {
-   pixels = ((DataBufferInt)db).getData();
-   for(int i = 0; i  pixels.length; i++)
- pixels[i] |= 0xFF00;
-  }
-else if( b.getColorModel().equals(argb32) )
-  {
-   pixels = ((DataBufferInt)db).getData();
-  }
-else
-  {
-   pixels = b.getRGB(0, 0, width, height,
- null, 0, width);
-  }
+int[] pixels = b.getRGB(0, 0, width, height, null, 0, width);
 
 drawPixels(nativePointer, pixels, width, height, width, i2u, alpha);