Commit Graph
17 Commits
Author SHA1 Message Date
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
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
Jordi Mas i Hernandez 4421bc764e In Test/System.Drawing.Design:
2005-12-05 Jordi Mas i Hernandez <[email protected]>

	* TestToolboxItem.cs: New unit test

In Test/System.Drawing:
2005-12-05 Jordi Mas i Hernandez <[email protected]>

	* TestPoint.cs: Test new methods for .Net 2.0
	* TestPointF.cs Test new methods for .Net 2.0
	* ColorConverter.cs: Fixes for .Net 2.0
	* TestSizeF.cs: Test new methods for .Net 2.0
	* TestSize.cs: Test new methods for .Net 2.0

In System.Drawing.Design:
2005-12-05 Jordi Mas i Hernandez <[email protected]>

	* ToolboxItem.cs: Add new methods and properties for .Net and 
	  also moved to an internal properties hashtable implementation

	* IToolboxItemProvider.cs: New .Net 2.0 interface

In .:
2005-12-05 Jordi Mas i Hernandez <[email protected]>

	* MetaHeader.cs: Classes need to specify StructLayout attribute
	* EncoderParameter.cs: Classes need to specify StructLayout attribute
	* ImageAttributes.cs: Classes need to specify StructLayout attribute
	* WmfPlaceableFileHeader.cs: Classes need to specify StructLayout attribute
	* MetafileHeader.cs: Classes need to specify StructLayout attribute

In System.Drawing:
2005-12-05 Jordi Mas i Hernandez <[email protected]>

	* gdipFunctions.cs: DllExports need it to implement 
	  new Graphics.CopyFromScreen .Net 2.0 methods
	* IDeviceContext.cs: New .Net 2.0 interface
	* Color.cs: Fixes for new .Net 2.0 KnowColors
	* PointF.cs: New .Net 2.0 Add/Subtract methods
	* gdipStructs.cs: Structs need it for Graphics.CopyFromScreen
	* SystemBrushes.cs: New standard SystemBrushes for .Net 2.0
	* SizeF.cs: New .Net 2.0 Add/Subtract methods
	* FontConverter.cs: New .Net 2.0 fixes
	* SystemColors.cs: New standard SystemColors for .Net 2.0
	* SizeFConverter.cs: New .Net 2.0 class (based on SizeConverter)
	* CharacterRange.cs: : New .Net 2.0 methods
	* Size.cs: New .Net 2.0 Add/Subtract methods
	* SystemPens.cs: New standard SystemPens for .Net 2.0
	* Bitmap.cs: New .Net 2.0 methods
	* Region.cs: New .Net 2.0 methods
	* Brush.cs: New .Net 2.0 constructor
	* Icon.cs: New .Net 2.0 Constructors and methods
	* Point.cs: New .Net 2.0 Add/Subtract methods
	* BufferedGraphicsManager.cs: New .Net 2.0 class
	* Graphics.cs: New methods for .Net 2.0 and fixes
	* BufferedGraphics.cs: New .Net 2.0 class
	* Font.cs:  New .Net 2.0 properties
	* Image.cs: New .Net 2.0 tag property
	* KnownColor.cs: New .Net 2.0 know colors
	* CopyPixelOperation.cs: New .Net 2.0 enum
	* SystemFonts.cs: New .Net 2.0 class
	* BufferedGraphicsContext.cs: New .Net 2.0 class


svn path=/trunk/mcs/; revision=53938
2005-12-05 18:43:07 +00:00
Jordi Mas i Hernandez a8c71be125 2005-04-04 Jordi Mas i Hernandez <[email protected]>
* Color.cs: take into account the name color in == and != operators
	* Font.cs: Use Equals instead of == to compare the family name
	* FontFamily.cs:
	   -  Removes generic fontfamilies cache (done at libgdiplus level)
	   -  Fixes Equals method


svn path=/trunk/mcs/; revision=42509
2005-04-04 11:23:49 +00:00
Sachin Kumar 15a49e8b92 Add license and copyright to all source files in System.Drawing
svn path=/trunk/mcs/; revision=29667
2004-06-16 06:32:39 +00:00
Andreas N 82465ed656 2004-02-25 Andreas Nahr <[email protected]>
* PrivateFontCollection.cs: Removed excess attributes

svn path=/trunk/mcs/; revision=23455
2004-02-25 18:26:53 +00:00
Jordi Mas i Hernandez d4334ad8dd fontcollection wrapper and fixes
svn path=/trunk/mcs/; revision=23453
2004-02-25 18:01:55 +00:00
Sanja Gupta d8264359df changelog: Updated changelog
FontCollection.cs: Used CheckStatus() method
InstalledFontCollection.cs: Used CheckStatus() method
PrivateFontCollection.cs: Used CheckStatus() method

svn path=/trunk/mcs/; revision=22823
2004-02-06 11:02:35 +00:00
Sanja Gupta 5510f3a0aa changelog: Updated changelog
FontCollection.cs: Implemented Dispose() method
InstalledFontCollection.cs: Removed Console.WriteLine statements.
PrivateFontCollection.cs: Implemented AddMemoryFont() method.

svn path=/trunk/mcs/; revision=22589
2004-01-29 10:08:58 +00:00
Jordi Mas i Hernandez 1ee942cc66 fixes font collection
svn path=/trunk/mcs/; revision=22588
2004-01-29 09:02:22 +00:00
Sanja Gupta f6b94773b2 changelog: Modified the changelog
FontCollection.cs: Implemented few methods.
InstalledFontCollection.cs: Implemented few methods.
PrivateFontCollection.cs: Implemented few methods.

svn path=/trunk/mcs/; revision=22582
2004-01-28 17:18:23 +00:00
Alexandre Pigolkine b93dd1c0b7 switch to unix line terminators
svn path=/trunk/mcs/; revision=15553
2003-06-22 20:57:28 +00:00
Nick Drochak 826216fc0a 2002-09-16 Nick Drochak <[email protected]>
* PrivateFontCollection.cs: Fix build error.  Cannot put ComVisible on
	constructors.

svn path=/trunk/mcs/; revision=7490
2002-09-16 04:11:03 +00:00
Piers Haken 94280409f0 2003-09-14 Piers Haken <[email protected]>
* PrivateFontCollection.cs: import interop for ComVisible attribute

svn path=/trunk/mcs/; revision=7458
2002-09-14 14:07:54 +00:00
Dennis Hayes d5725f2ff1 2002-09-13 Dennis Hayes ([email protected])
* checked in for Everaldo Canuto [email protected]

* FontCollection.cs
* GenericFontFamilies.cs
* HotkeyPrefix.cs
* InstalledFontCollection.cs
* PrivateFontCollection.cs
* TextRenderingHint.cs

svn path=/trunk/mcs/; revision=7438
2002-09-13 17:56:51 +00:00