[Ikvm-commit] ikvm/awt AssemblyInfo.cs, 1.31.2.12, 1.31.2.13 converter.cs, 1.5, 1.5.4.1 graphics.cs
Brought to you by:
jfrijters
From: Jeroen F. <jfr...@us...> - 2008-11-05 07:52:09
|
Update of /cvsroot/ikvm/ikvm/awt In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv29137/awt Modified Files: Tag: v0_36 AssemblyInfo.cs converter.cs graphics.cs Log Message: Back ported various fixes: - Changed version to 0.36.0.13. - Fixed ikvmc not to open the key file for write access. - Added more efficient float/double to/from int/long bits converters. - Fixed libikvm-native.so build to include reference to gmodule-2.0 library. - Fixed ikvmc not to open the key file for write access. - Fixed Graphics2D.rotate() to convert rotation angle from radians (Java) to degrees (.NET). - Applied awt patch #1979656 by Daniel Wilson. - Fixed three String bugs found by OpenJDK string tests. - Fixed ldc <class> where <class> is a ghost array. - Fixed bug in instanceof <class> where <class> is a Serializable[]. - Removed incorrect DataFormatException thrown in java.util.zip.InflaterHuffmanTree. - Fixed #2001802 contributed by Andy Malakov. - Fixed #2001799. - Fixed #2006953. - Made finalize() and clone() methods in cli.System.Object and cli.System.Exception final. Index: converter.cs =================================================================== RCS file: /cvsroot/ikvm/ikvm/awt/converter.cs,v retrieving revision 1.5 retrieving revision 1.5.4.1 diff -C2 -d -r1.5 -r1.5.4.1 *** converter.cs 21 Jan 2007 14:18:03 -0000 1.5 --- converter.cs 5 Nov 2008 07:52:00 -0000 1.5.4.1 *************** *** 176,179 **** --- 176,180 ---- x = coords[0]; y = coords[1]; + gp.StartFigure(); break; case java.awt.geom.PathIterator.__Fields.SEG_LINETO: Index: graphics.cs =================================================================== RCS file: /cvsroot/ikvm/ikvm/awt/graphics.cs,v retrieving revision 1.6 retrieving revision 1.6.4.1 diff -C2 -d -r1.6 -r1.6.4.1 *** graphics.cs 27 Jan 2007 15:37:35 -0000 1.6 --- graphics.cs 5 Nov 2008 07:52:00 -0000 1.6.4.1 *************** *** 806,821 **** } ! public override void rotate(double angle) { Matrix transform = g.Transform; ! transform.Rotate((float)angle); g.Transform = transform; } ! public override void rotate(double angle, double x, double y) { Matrix transform = g.Transform; transform.Translate((float)x, (float)y); ! transform.Rotate((float)angle); transform.Translate(-(float)x, -(float)y); g.Transform = transform; --- 806,826 ---- } ! private static double RadiansToDegrees(double radians) ! { ! return radians * (180 / Math.PI); ! } ! ! public override void rotate(double theta) { Matrix transform = g.Transform; ! transform.Rotate((float)RadiansToDegrees(theta)); g.Transform = transform; } ! public override void rotate(double theta, double x, double y) { Matrix transform = g.Transform; transform.Translate((float)x, (float)y); ! transform.Rotate((float)RadiansToDegrees(theta)); transform.Translate(-(float)x, -(float)y); g.Transform = transform; Index: AssemblyInfo.cs =================================================================== RCS file: /cvsroot/ikvm/ikvm/awt/AssemblyInfo.cs,v retrieving revision 1.31.2.12 retrieving revision 1.31.2.13 diff -C2 -d -r1.31.2.12 -r1.31.2.13 *** AssemblyInfo.cs 4 May 2008 08:23:33 -0000 1.31.2.12 --- AssemblyInfo.cs 5 Nov 2008 07:52:00 -0000 1.31.2.13 *************** *** 50,54 **** // by using the '*' as shown below: ! [assembly: AssemblyVersion("0.36.0.12")] // --- 50,54 ---- // by using the '*' as shown below: ! [assembly: AssemblyVersion("0.36.0.13")] // |