Commit Graph
9 Commits
Author SHA1 Message Date
Adar Wesley 5429568b4b 2007-05-21 Adar Wesley <[email protected]>
* Graphics.jvm.cs
	* Pen.jvm.cs
	* Region.jvm.cs: Changed MemberwiseClone to clone.
	* Matrix.jvm.cs: changed MemberwiseClone to clone.
	* LineLayout.jvm.cs: change MemberwiseClone to clone.
 

svn path=/trunk/mcs/; revision=77742
2007-05-21 08:26:57 +00:00
Sebastien Pouliot 1c18cdbaba 2006-08-25 Sebastien Pouliot <[email protected]>
* PrivateFontCollection.cs: Fix warning by reusing the full path.


svn path=/trunk/mcs/; revision=64354
2006-08-25 13:57:27 +00:00
Andrew Skiba 304870c32d TARGET_JVM fixes
svn path=/trunk/mcs/; revision=63431
2006-08-07 15:19:47 +00:00
Sebastien Pouliot 1c960ecf44 2006-05-30 Sebastien Pouliot <[email protected]>
* FontCollection.cs: Avoid calling GdipGetFontCollectionFamilyList 
	when GdipGetFontCollectionFamilyCount returns a count of 0 items.


svn path=/trunk/mcs/; revision=61275
2006-05-30 18:53:38 +00:00
Sebastien Pouliot d676709b71 2006-05-21 Sebastien Pouliot <[email protected]>
* GenericFontFamilies.cs: Removed [Serializable] from 2.0 profile.
	* HotkeyPrefix.cs: Removed [Serializable] from 2.0 profile.
	* TextRenderingHint.cs: Removed [Serializable] from 2.0 profile.


svn path=/trunk/mcs/; revision=60923
2006-05-21 14:12:19 +00:00
Sebastien Pouliot f4215ab777 2006-04-13 Sebastien Pouliot <[email protected]>
* FontCollection.cs: Remove unused ctor. Throw on disposed (private)
	collections. Don't dispose (but leak) under non-Windows OS.
	* InstalledFontCollection.cs: Remove unused ctor.
	* PrivateFontCollection.cs: Remove unused ctor. Fix exceptions to 
	match unit tests.


svn path=/trunk/mcs/; revision=59448
2006-04-13 14:11:16 +00:00
Peter Dennis Bartok b6f8f55392 2006-03-23 Peter Dennis Bartok <[email protected]>
* FontCollection.cs (Dispose): When on Linux/Unix, call 
	  GdipDeletePrivateFontCollection to free up the font collection (even
	  though it's not private, we'd be leaking otherwise. Don't try this
	  with Microsoft's GDI+ on Win32, though.)


svn path=/trunk/mcs/; revision=58381
2006-03-23 20:11:49 +00:00
Peter Dennis Bartok 34cde6d4d8 2006-03-23 Peter Dennis Bartok <[email protected]>
* gdipFunctions.cs: 
	  - GdipGetFontCollectionFamilyList: No need for complicated 
	    GlobalAlloc stuff, .Net marshals the IntPtr[] array just fine
	  - GdipDeletePrivateFontCollection: We need to pass a ref to the
	    structure. This was causing nasty crashes.
	  - GdipGetFamilyName: Switched to use StringBuilder instead of
	    manual marshalling
	* FontFamily.cs: Simplified the refreshName method, less error-prone now

2006-03-23  Peter Dennis Bartok  <[email protected]>

	* FontCollection.cs (get_Families): Now letting the runtime do the
	  marshalling work for us. Easier to maintain and cleaner code.
	* PrivateFontCollection.cs:
	  - AddFontFile: Fixed weird english in error message
	  - Dispose: Need to pass ref to the native object, we were crashing
	    badly


svn path=/trunk/mcs/; revision=58338
2006-03-23 07:34:16 +00:00
Peter Dennis Bartok e4ea207cc3 2006-02-09 Peter Dennis Bartok <[email protected]>
* ChangeLog: Created, contents from deleted 'changelog' file
	* FontCollection.cs: Cleaned up marshalling and made 64bit safe


svn path=/trunk/mcs/; revision=56737
2006-02-09 23:56:45 +00:00