Thomas Fitzsimmons | 3 May 23:36 2007
Picon

FYI: make default.css a resource file

Hi,

I committed this patch to GNU Classpath HEAD.  It moves default.css from 
javax/swing/text/html to resource/javax/swing/text/html for cleanliness and so 
that the GCJ build can easily treat it as a property file.  The patch also makes 
HTMLEditorKit.getStyleSheet not silently ignore IOExceptions.

Tested with "make distcheck".

Tom

2007-05-03  Thomas Fitzsimmons  <fitzsim <at> redhat.com>

	https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=237304
	* javax/swing/text/html/HTMLEditorKit.java
	(getStyleSheet): Throw RuntimeException when style loading fails.
	* lib/Makefile.am: Treat css files as a property files.
	* javax/swing/text/html/default.css: Move to...
	* resource/javax/swing/text/html/default.css: New file.
Keith Seitz | 4 May 02:03 2007
Picon

[PATCH] Implement send multiple JDWP events

Hi,

I have committed the attached patch, which although a little kludgy, 
adds the ability for the VM to send multiple events in a single packet 
(what events to send and whether they are legal to send together is the 
responsibility of the VM).

We should not need a queue to deal with this: the VM *should* know when 
it is appropriate to use this. Right now, as far as I can tell, that 
means with MethodEntry/Exit, SingleStep, and Breakpoint. One is supposed 
to be able to send multiple ThreadStart/End, ClassPrepare, and other 
events together (as long as they're all the same thread and class), but 
Sun's HotSpot VM does not do it this way. It sends a packet for each event.

Largely it is a refactoring of the old code.

Keith

ChangeLog
2007-05-03  Keith Seitz  <keiths <at> redhat.com>

         * gnu/classpath/jdwp/Jdwp.java (notify): Rewrite to call
         new array-based method.
         (notify): New function.
         (sendEvent): Rewrite to use sendEvents.
         (sendEvents): New method.
         * gnu/classpath/jdwp/event/Event.java (toPacket): Make static.
         Change parameters to use arrays for events and requests.
         Add suspendPolicy parameter.
         Move per-event data transformation to...
(Continue reading)

Chris Burdess | 4 May 14:18 2007

XML DOM bug fix

This patch (committed) fixes a problem whereby attributes were  
defaulted when they shouldn't have been.

2007-05-04  Chris Burdess  <dog <at> gnu.org>

     Fixes PR #31814
     * gnu/xml/dom/DomDocument.java,
       gnu/xml/dom/ls/SAXEventSink.java: Don't default attribute when  
mode is
       #IMPLIED and value is not specified.
     * gnu/xml/stream/XMLParser.java: Add debugging info.
Attachment (patch): application/octet-stream, 3931 bytes
Andrew John Hughes | 8 May 02:00 2007
Picon

FYI: Make gtkpeer.c support 64-bit pointers

It's a good job I compile with -Werror; the new gtkpeer.c
file only supports 32-bit pointers, thus squashing 64-bit
ones into a 32-bit integer.  This adds #ifdefs in the same
style as jcl.h

2007-05-08  Andrew John Hughes  <gnu_andrew <at> member.fsf.org>

	* native/jni/gtk-peer/gtkpeer.c:
	Added support for 64-bit architectures.

--

-- 
Andrew :-)

Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html
public class gcj extends Freedom implements Java { ... }
Attachment (gtk-03.diff): text/x-diff, 8 KiB
Andrew John Hughes | 8 May 03:08 2007
Picon

FYI: Fix tests

This fixes the failing Mauve tests by once again including
the locale information in the build...

Changelog:

2007-05-08  Andrew John Hughes  <gnu_andrew <at> member.fsf.org>

	* lib/Makefile.am: Print property files as well.

--

-- 
Andrew :-)

Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html
public class gcj extends Freedom implements Java { ... }
Attachment (build_system-01.diff): text/x-diff, 1006 bytes
Thomas Fitzsimmons | 8 May 03:33 2007
Picon

Re: FYI: Fix tests

Andrew John Hughes wrote:
> This fixes the failing Mauve tests by once again including
> the locale information in the build...

Sorry for the breakage.  Thanks for fixing this.

Tom

> 
> Changelog:
> 
> 2007-05-08  Andrew John Hughes  <gnu_andrew <at> member.fsf.org>
> 
> 	* lib/Makefile.am: Print property files as well.
> 
> 
> 
> ------------------------------------------------------------------------
> 
> Index: lib/Makefile.am
> ===================================================================
> RCS file: /cvsroot/classpath/classpath/lib/Makefile.am,v
> retrieving revision 1.134
> diff -u -3 -p -u -r1.134 Makefile.am
> --- lib/Makefile.am	3 May 2007 21:30:37 -0000	1.134
> +++ lib/Makefile.am	8 May 2007 00:36:39 -0000
>  <at>  <at>  -96,7 +96,7  <at>  <at>  glibj.zip: classes compile-classes resou
>  endif # USE_PREBUILT_GLIBJ_ZIP
>  
>  resources: copy-vmresources.sh
(Continue reading)

Andrew John Hughes | 8 May 04:00 2007
Picon

Re: FYI: Fix tests

No problem.  I'm more surprised no-one noticed earlier (it's been broken for 
about 4-5 days).

On Tuesday 08 May 2007 02:33, Thomas Fitzsimmons wrote:
> Andrew John Hughes wrote:
> > This fixes the failing Mauve tests by once again including
> > the locale information in the build...
>
> Sorry for the breakage.  Thanks for fixing this.
>
> Tom
>
> > Changelog:
> >
> > 2007-05-08  Andrew John Hughes  <gnu_andrew <at> member.fsf.org>
> >
> > 	* lib/Makefile.am: Print property files as well.
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> > Index: lib/Makefile.am
> > ===================================================================
> > RCS file: /cvsroot/classpath/classpath/lib/Makefile.am,v
> > retrieving revision 1.134
> > diff -u -3 -p -u -r1.134 Makefile.am
> > --- lib/Makefile.am	3 May 2007 21:30:37 -0000	1.134
> > +++ lib/Makefile.am	8 May 2007 00:36:39 -0000
> >  <at>  <at>  -96,7 +96,7  <at>  <at>  glibj.zip: classes compile-classes resou
(Continue reading)

Roman Kennke | 8 May 08:02 2007

Re: FYI: Make gtkpeer.c support 64-bit pointers

Hi Andrew,

> It's a good job I compile with -Werror; the new gtkpeer.c
> file only supports 32-bit pointers, thus squashing 64-bit
> ones into a 32-bit integer.  This adds #ifdefs in the same
> style as jcl.h

Wanted to do just that. Thank you.

Cheers, Roman

--

-- 
aicas Allerton Interworks Computer Automated Systems GmbH
Haid-und-Neu-Straße 18 * D-76131 Karlsruhe * Germany
http://www.aicas.com   * Tel: +49-721-663 968-0

USt-Id: DE216375633, Handelsregister HRB 109481, AG Karlsruhe
Geschäftsführer: Dr. James J. Hunt
Roman Kennke | 8 May 14:42 2007

FYI: HintingDemo update

This improves the hinting demo by adding options to show a grid, as well
as the original and hinted glyphs.

2007-05-08  Roman Kennke  <roman <at> kennke.org>

	* examples/gnu/classpath/examples/awt/HintingDemo.java
	Add support for showing the original vs the hinted glyphs plus
	a grid.

/Roman

--

-- 
aicas Allerton Interworks Computer Automated Systems GmbH
Haid-und-Neu-Straße 18 * D-76131 Karlsruhe * Germany
http://www.aicas.com   * Tel: +49-721-663 968-0

USt-Id: DE216375633, Handelsregister HRB 109481, AG Karlsruhe
Geschäftsführer: Dr. James J. Hunt
Attachment (patch.diff): text/x-patch, 13 KiB
Roman Kennke | 8 May 15:28 2007

FYI: Java2D stuff

This adds primitive anti-aliasing to the AbstractGraphics2D scanline
converter and fixes some bits here and there.

2007-05-08  Roman Kennke  <roman <at> kennke.org>

	* gnu/java/awt/java2d/AbstractGraphics2D.java
	(AA_SAMPLING): Removed.
	(alpha): Removed field.
	(edgeTable): Removed field.
	(fillScanlineAA): Removed obsolete method.
	(drawPolyline): Implemented by using a GeneralPath.
	(drawPolygon): Reset the cached polygon.
	(fillPolygon): Reset the cached polygon.
	(fillShape): Default to antialias on for text.
	(rawDrawLine): Use ShapeCache.
	(rawDrawRect): Use ShapeCache.
	(rawFillRect): Use ShapeCache.
	(fillScanlineAA): New method for antialiased rendering.	
	* gnu/java/awt/java2d/ScanlineConverter.java
	(scanlinesPerPixel): New field.
	(minX,maxX): New fields.
	(scanlineYCov,scanlineXCov): New fields.
	(slPix0): New field.
	(alphaRes): New field.
	(renderShape): Add antialiasing functionality.
	(doScanline): Add antialiasing functionality.
	(setResolution): Add antialiasing functionality.
	(addShape): Determine span in X direction.
	(fit): Fix thinko.
	* gnu/java/awt/java2d/ShapeCache.java
(Continue reading)


Gmane