50 Commits
Author SHA1 Message Date
Alexander Köplinger 6295559e04 Bump corefx (#5167)
* Bump corefx

* Bump API snapshot submodule
2017-07-03 23:35:53 +02:00
Frederik Carlier c238778b63 Use Drawing2D classes from CoreFX 2017-06-15 18:51:09 +02:00
Frederik Carlier 3307394dba Use CoreFX sources for System.Drawing.Text (#5036) 2017-06-14 18:20:07 +02:00
Frederik Carlier 6447228e30 Remove CAS attributes from System.Drawing (#4544) 2017-03-17 00:10:44 +01:00
Alexander Köplinger b03e606287 Remove ChangeLog files from the repo
They weren't updated in the last 6 years and aren't helpful anymore (e.g. by causing unrelated matches during git grep searches).
2016-01-29 19:17:06 +01:00
Alexander Köplinger d4d7374efc [bcl] Remove ONLY_1_1 defines from class libs
This is not used anymore.
2015-01-21 17:18:30 +01:00
Zoltan Varga 0985d4aa4b [bcl] Remove NET_2_0 defines from the class libs. This has been done using: unifdef -t -DNET_2_0 -o <filename> <filename>. 2015-01-13 15:29:38 -05:00
Alexander Köplinger a8b2f07578 [Cleanup] Removed .jvm.cs files that are no longer used
They were once part of a special Java target profile, but this is no longer used today.
2014-08-07 23:01:51 +02:00
Raja R Harinath b293948fb7 EOL handling
This set of .gitattributes was automatically generated from the list of files
that GIT tried to normalize when I enabled automatic EOL conversion.

With this set of attributes, we prevent automated EOL conversion on files that
we know will cause trouble down the road.
2010-07-25 20:17:39 +05:30
Roei Erez 63efa45540 TARGET_JVM bugs
10576 - Problem with GDI fonts.
10599 - Problem with Graphics.DrawString() with StringFormat
10600 - Problem with Graphics.DrawPath()

svn path=/trunk/mcs/; revision=105890
2008-06-16 11:25:22 +00:00
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
Noam Lampert 2858c67b2c Revert - switch back to using MemberwiseClone
svn path=/trunk/mcs/; revision=75567
2007-04-10 09:28:32 +00:00
Konstantin Triger 4909667ef8 rename MemberwiseClone to clone - accroding to public interface
svn path=/trunk/mcs/; revision=75563
2007-04-10 08:33:42 +00:00
Raja R Harinath 9bdec12456 Kill all executable flags on *.cs and ChangeLog files.
AKA: fun with find(1)+xargs(1)
AKA: find . -name \*.cs -and -perm /a+x | xargs svk propdel svn:executable

svn path=/trunk/mcs/; revision=66131
2006-09-30 18:29:13 +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
Konstantin Triger 1b61ab3a88 handle null string
svn path=/trunk/mcs/; revision=54300
2005-12-13 15:50:30 +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
Konstantin Triger 20cf35aa79 open a correct stream.
svn path=/trunk/mcs/; revision=53133
2005-11-16 17:42:37 +00:00
Konstantin Triger 459555c9d3 text support
svn path=/trunk/mcs/; revision=52965
2005-11-13 11:33:53 +00:00
Vladimir Krasnov 57651daa66 * FontCollection.jvm.cs: refactoring, added GetInitialFont()
* InstalledFontCollection.jvm.cs: refactoring, removed GetFamilyName
* PrivateFontCollection.jvm.cs: refactoring
* Graphics.jvm.cs: added UnitConversion property
* FontFamily.jvm.cs: refactoring
* Font.jvm.cs: refactoring

svn path=/trunk/mcs/; revision=52855
2005-11-10 16:35:17 +00:00
Andrew Skiba 6da5602f97 * FontCollection.jvm.cs, InstalledFontCollection.jvm.cs,
PrivateFontCollection.jvm.cs: added TARGET_JVM implementation

svn path=/trunk/mcs/; revision=47960
2005-08-03 14:08:10 +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
Marek Safar f405a09600 removed unused variables
svn path=/trunk/mcs/; revision=36532
2004-11-25 10:11:32 +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
Jordi Mas i Hernandez 1a3c323141 remove dead code
svn path=/trunk/mcs/; revision=26313
2004-04-29 16:39:29 +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
Andreas N 83c3ae5292 2004-02-25 Andreas Nahr <[email protected]>
* FontCollection.cs: Remove console

svn path=/trunk/mcs/; revision=23454
2004-02-25 18:22:18 +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
Ravindra 200bee6858 Made all Enums serializable.
svn path=/trunk/mcs/; revision=21902
2004-01-10 09:51:29 +00:00
Alexandre Pigolkine 776d5fee3e factory removed
svn path=/trunk/mcs/; revision=18927
2003-10-12 21:04:06 +00:00
Miguel de Icaza cba96846a4 XrFunctions are now complete and match the Xr implementation.
Changed coding conventions to Mono coding conventions.

svn path=/trunk/mcs/; revision=16188
2003-07-14 06:26:50 +00:00
Alexandre Pigolkine e051b63bf0 calls to implementation added
svn path=/trunk/mcs/; revision=15555
2003-06-22 21:06:17 +00:00
Alexandre Pigolkine 78a8d6a17d first version
svn path=/trunk/mcs/; revision=15554
2003-06-22 21:04:19 +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
Dennis Hayes 5be324df23 * Corrected Enum Values. *
svn path=/trunk/mcs/; revision=4008
2002-04-23 22:03:54 +00:00
Dennis Hayes 954c939197 * All system.Drawing.Text enums complete *
* Inital and final? checkin *

svn path=/trunk/mcs/; revision=3543
2002-04-01 23:34:12 +00:00