Commit Graph
168 Commits
Author SHA1 Message Date
Alexander Köplinger 48e112d652 [Cleanup] Removed TARGET_JVM
It was once part of a special Java target profile, but this is no longer used today.
2014-08-08 03:28:34 +02: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 cd51491631 Fix a few cases of mixed line-endings
This is a scripted conversion of mixed line-ending files to LF-only or CRLF-only
based on which patch is smaller.  I used a threshold of upto a quarter of the
lines to determine whether to keep the patch or not.
2010-07-26 02:20:13 +05:30
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
Sebastien Pouliot 07be13d622 2008-11-01 Sebastien Pouliot <[email protected]>
* GraphicsPathIterator.cs: Add proper null check that match the same
	behavior that MS has.
	* LinearGradientBrush.cs: Add comments to setter that dont do any null
	check in order to be compatible with MS. Fix InterpolationColors to 
	throw a ArgumentNullException.
	* PathGradientBrush.cs: Add comments to setter that dont do any null
	check in order to be compatible with MS.
	[Found using Gendarme CheckParametersNullityInVisibleMethodsRule]


svn path=/trunk/mcs/; revision=117627
2008-11-02 00:46:24 +00:00
Sebastien Pouliot 233f3615b3 revert big, unreviewed, broken changes from r104029/30/31
svn path=/trunk/mcs/; revision=104043
2008-05-25 23:11:32 +00:00
Gert Driesen b1ce7f744d * GraphicsPath.cs: Changed argument names to match MS. Changed spaces
to tabs, and removed extra tabs.
* HatchBrush.cs: Changed argument names to match MS.

svn path=/trunk/mcs/; revision=104030
2008-05-25 16:45:09 +00:00
Atsushi Eno 2faded11db 2007-11-13 Atsushi Enomoto <[email protected]>
* GraphicsPath.cs : AddBeziers(Point[]) arg is "params" in 2.0.


svn path=/trunk/mcs/; revision=89541
2007-11-13 10:33:27 +00:00
Sebastien Pouliot dfd2c8407e 2007-10-30 Sebastien Pouliot <[email protected]>
* GraphicsPath.cs: Remove some TODO specific to libgdiplus.


svn path=/trunk/mcs/; revision=88485
2007-10-30 17:49:57 +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
Igor Zelmanovich 3e2972ecb0 2007-05-09 Igor Zelmanovich <[email protected]>
* FontConverter.cs: for TARGET_JVM destructor is not used.

	* AdjustableArrowCap.jvm.cs:
	* CustomLineCap.jvm.cs:
	* GraphicsPath.jvm.cs:
	added MonoNotSupported attributes.			

	* EncoderParameter.jvm.cs: removed destructor, 
	Dispose doesn't throw exception.


svn path=/trunk/mcs/; revision=76989
2007-05-09 08:29:29 +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
Sebastien Pouliot 18873406d0 2006-11-22 Sebastien Pouliot <[email protected]>
* GraphicsPath.cs: Better MonoTODO description.
	* LinearGradientBrush.cs: Better MonoTODO description.


svn path=/trunk/mcs/; revision=68367
2006-11-22 20:09:00 +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 f29b9985a4 2006-08-10 Sebastien Pouliot <[email protected]>
* PathGradientBrush.cs: Fix unit tests when running under Windows.

svn path=/trunk/mcs/; revision=63617
2006-08-10 19:16:47 +00:00
Sebastien Pouliot 6162c8e3ed 2006-08-10 Sebastien Pouliot <[email protected]>
* GraphicsPath.cs: Fix unit tests wrt libgdiplus return value change.


svn path=/trunk/mcs/; revision=63595
2006-08-10 15:09:26 +00:00
Andrew Skiba 304870c32d TARGET_JVM fixes
svn path=/trunk/mcs/; revision=63431
2006-08-07 15:19:47 +00:00
Sebastien Pouliot 152a212813 2006-08-04 Sebastien Pouliot <[email protected]>
* PathGradientBrush.cs: Fix unit tests wrt libgdiplus return value 
	changes.

svn path=/trunk/mcs/; revision=63355
2006-08-04 13:28:47 +00:00
Sebastien Pouliot bdbacb9a85 2006-08-04 Sebastien Pouliot <[email protected]>
* GraphicsPath.cs: Fix unit tests wrt libgdiplus return value change.


svn path=/trunk/mcs/; revision=63352
2006-08-04 12:57:03 +00:00
Sebastien Pouliot 4203520310 2006-06-08 Sebastien Pouliot <[email protected]>
* GraphicsPath.cs: Update/remove some MonoTODO on IsVisible methods.


svn path=/trunk/mcs/; revision=61589
2006-06-08 21:21:07 +00:00
Sebastien Pouliot 17de26b65d 2006-06-07 Sebastien Pouliot <[email protected]>
* GraphicsPath.cs: IsOutlineVisible throws ArgumentNullException
	if a null pen is supplied. Update/remove some MonoTODO on 
	IsOutlineVisible methods.


svn path=/trunk/mcs/; revision=61526
2006-06-07 13:59:36 +00:00
Sebastien Pouliot 95b88b03da 2006-06-06 Sebastien Pouliot <[email protected]>
* GraphicsPath.cs: Fix IsOutlineVisible wrt API signature change.


svn path=/trunk/mcs/; revision=61496
2006-06-06 17:06:42 +00:00
Sebastien Pouliot 7cfafe47d9 2006-05-24 Sebastien Pouliot <[email protected]>
* GraphicsPath.cs: Remove MonoTODO on GetBounds. For 1.x throw an
	OutOfMemoryException if Widen is called on an empty path.


svn path=/trunk/mcs/; revision=61068
2006-05-24 16:11:43 +00:00
Sebastien Pouliot 94c905a18f 2006-05-21 Sebastien Pouliot <[email protected]>
* CombineMode.cs: Removed [Serializable] from 2.0 profile.
	* CompostingMode.cs: Removed [Serializable] from 2.0 profile.
	* CompostingQuality.cs: Removed [Serializable] from 2.0 profile.
	* CoordinateSpace.cs: Removed [Serializable] from 2.0 profile.
	* DashCap.cs: Removed [Serializable] from 2.0 profile.
	* DashStyle.cs: Removed [Serializable] from 2.0 profile.
	* FillMode.cs: Removed [Serializable] from 2.0 profile.
	* FlushIntention.cs: Removed [Serializable] from 2.0 profile.
	* HatchStyle.cs: Removed [Serializable] from 2.0 profile.
	* InterpolationMode.cs: Removed [Serializable] from 2.0 profile.
	* LinearGradientMode.cs: Removed [Serializable] from 2.0 profile.
	* LineCap.cs: Removed [Serializable] from 2.0 profile.
	* LineJoin.cs: Removed [Serializable] from 2.0 profile.
	* MatrixOrder.cs: Removed [Serializable] from 2.0 profile.
	* PathPointType.cs: Removed [Serializable] from 2.0 profile.
	* PenAlignment.cs: Removed [Serializable] from 2.0 profile.
	* PenType.cs: Removed [Serializable] from 2.0 profile.
	* PixelOffsetMode.cs: Removed [Serializable] from 2.0 profile.
	* QualityMode.cs: Removed [Serializable] from 2.0 profile.
	* SmoothingMode.cs: Removed [Serializable] from 2.0 profile.
	* WarpMode.cs: Removed [Serializable] from 2.0 profile.
	* WrapMode.cs: Removed [Serializable] from 2.0 profile.


svn path=/trunk/mcs/; revision=60926
2006-05-21 14:36:14 +00:00
Sebastien Pouliot f87c5219f8 2006-05-12 Sebastien Pouliot <[email protected]>
* GraphicsPath.cs: Fix misnamed GdipAdd*Path*String[I] API (#78383)


svn path=/trunk/mcs/; revision=60662
2006-05-12 19:58:22 +00:00
Sebastien Pouliot 05ccd74adc 2006-05-10 Sebastien Pouliot <[email protected]>
* PathGradientBrush.cs: Added MonoTODO to warn about the lack of 
	support, for most cases, when using libgdiplus.


svn path=/trunk/mcs/; revision=60532
2006-05-10 17:29:28 +00:00
Sebastien Pouliot 55f2437598 2006-05-09 Sebastien Pouliot <[email protected]>
* PathGradientBrush.cs: Added missing checks before calling libgdiplus
	(or GDI+).


svn path=/trunk/mcs/; revision=60473
2006-05-09 21:17:42 +00:00
Sebastien Pouliot fd39de8698 2006-05-02 Sebastien Pouliot <[email protected]>
* GraphicsContainer.cs: Change the state from int to uint to match the
	Save/Restore methods (and code). Removed unrequired stuff.


svn path=/trunk/mcs/; revision=60178
2006-05-02 15:25:47 +00:00
Sebastien Pouliot 115bdad20a 2006-05-01 Sebastien Pouliot <[email protected]>
* GraphicsPath.cs: Removed MonoTODO on AddCurve methods (it's fixed 
	in libgdiplus).


svn path=/trunk/mcs/; revision=60129
2006-05-01 18:22:07 +00:00
Jordi Mas i Hernandez bd31a8750f 2006-04-29 Jordi Mas i Hernandez <[email protected]>
* GraphicsPath.cs: Fixes use of unasssigned variables


svn path=/trunk/mcs/; revision=60079
2006-04-29 16:58:28 +00:00
Sebastien Pouliot 1ad96bcefb 2006-04-28 Sebastien Pouliot <[email protected]>
* ColorBlend.cs: Removed TODO. ColorBlend may not be complete where
	used (e.g. gradients) but the class is complete.
	* CustomLineCap.cs: corcompare fixes. Clone and Dispose() methods are
	not virtual.


svn path=/trunk/mcs/; revision=60050
2006-04-28 18:51:21 +00:00
Sebastien Pouliot d6c227ce90 2006-04-28 Sebastien Pouliot <[email protected]>
* GraphicsPath.cs: Added MonoTODO on some AddCurve methods because 
	libgdiplus doesn't use the numberOfSegments argument.


svn path=/trunk/mcs/; revision=60039
2006-04-28 15:48:44 +00:00
Sebastien Pouliot 3e2edeb4cc 2006-04-27 Sebastien Pouliot <[email protected]>
* GraphicsPath.cs: Re-write two versions of AddLines method to use 
	GdipAddPathLine2[I] functions. This fix a unit test where we can add
	a single point with those methods. It also prevent multiple managed to
	unmanaged transitions.


svn path=/trunk/mcs/; revision=60003
2006-04-27 18:37:51 +00:00
Sebastien Pouliot f5216a1756 2006-04-27 Sebastien Pouliot <[email protected]>
* GraphicsPath.cs: Fix exception handle in AddString methods to match
	MS behahiour. Updated MonoTODO to reflect current status.


svn path=/trunk/mcs/; revision=59979
2006-04-27 14:23:39 +00:00
Sebastien Pouliot abb1b0114d 2006-04-19 Sebastien Pouliot <[email protected]>
* GraphicsPath.cs: Fix null pen handling in Widen.
	* LinearGradientBrush.cs: Avoid temporary Rectangle local and directly
	get use the instance RectangleF.


svn path=/trunk/mcs/; revision=59645
2006-04-19 15:02:27 +00:00
Sebastien Pouliot dc7a3a1b44 2006-04-10 Sebastien Pouliot <[email protected]>
* Matrix.cs: Fixed ctors to check for the right number (3) of points.
	Added missing 'ref' to rectangles (required with fixed wrapper code).


svn path=/trunk/mcs/; revision=59315
2006-04-10 18:40:57 +00:00
Sebastien Pouliot 73a78c6003 2006-03-31 Sebastien Pouliot <[email protected]>
* LinearGradientBrush.cs: Added a [MonoTODO] to the GammaCorrection
	property as this is not used anywhere inside libgdiplus.


svn path=/trunk/mcs/; revision=58840
2006-03-31 12:57:41 +00:00
Sebastien Pouliot c30257b17d 2006-03-22 Sebastien Pouliot <[email protected]>
* GraphicsPath.cs: Call [libgdiplus|GDI+] for AddString (even if it 
	is not yet implemented in libgdiplus).
	* LinearGradientBrush.cs: Update the rectangle when using the internal
	ctor. Fix a few missing validations.


svn path=/trunk/mcs/; revision=58311
2006-03-22 20:22:00 +00:00
Sebastien Pouliot 38cec3eb75 Matrix.cs: Add missing checks to methods (and fix unit tests).
svn path=/trunk/mcs/; revision=58111
2006-03-17 16:03:55 +00:00
Konstantin Triger 72f894485f use correct properties
svn path=/trunk/mcs/; revision=56573
2006-02-05 14:04:41 +00:00
Konstantin Triger 9935686acf use correct properties
svn path=/trunk/mcs/; revision=56572
2006-02-05 14:04:20 +00:00
Sebastien Pouliot efe49f445d 2006-01-27 Sebastien Pouliot <[email protected]>
* Matrix.cs: Ensure we call Marshal.FreeHGlobal even if CheckStatus
	throws an exception.

svn path=/trunk/mcs/; revision=56174
2006-01-27 18:28:21 +00:00
Sebastien Pouliot 6e6cb401a3 GraphicsPath.cs: Removed TODO on Flatten methods (now supported in libgdiplus). Added a private constant for FlatnessDefault (0.25). Added MonoTODO on IsVisible* methods (not supported in libgdiplus).
svn path=/trunk/mcs/; revision=56163
2006-01-27 14:42:22 +00:00
Sebastien Pouliot e995f81919 2006-01-16 Sebastien Pouliot <[email protected]>
* GraphicsPath.cs: Updated TODO description on GetBounds as it's now
	only missing support for Pens (when used with libgidplus).


svn path=/trunk/mcs/; revision=55655
2006-01-16 21:23:59 +00:00
Sebastien Pouliot 59031dd362 2006-01-13 Sebastien Pouliot <[email protected]>
* GraphicsPath.cs: Added more parameter checks to methods (to match
	unit tests). Added descriptions to TODOs.
	* PathData.cs: Don't clone the arrays! Removed unused internal 
	properties.


svn path=/trunk/mcs/; revision=55543
2006-01-13 20:04:49 +00:00
Sebastien Pouliot 3c6197c3d0 2006-01-12 Sebastien Pouliot <[email protected]>
* GraphicsPath.cs: Throw an ArgumentException if either PathPoints or
	PathTypes properties are empty (0 length). Note that PathData property
	still works in that case.
	* PathData.cs: Don't clone empty arrays (results in NRE).


svn path=/trunk/mcs/; revision=55444
2006-01-12 18:50:48 +00:00
Konstantin Triger d83fa9ab0d refactoring
svn path=/trunk/mcs/; revision=55047
2006-01-04 10:14:19 +00:00
Konstantin Triger 07bd179769 apply MonoTODO attributes
svn path=/trunk/mcs/; revision=54999
2006-01-03 10:46:35 +00:00
Konstantin Triger 1e91d39d0d merge -r 54656:54658
svn path=/trunk/mcs/; revision=54659
2005-12-20 17:06:26 +00:00