Hugh Bellamy
4bd60ea895
Fix Gdi+ WrongState exception type and remove incorrect test for GdiPlus status code ( #8276 )
...
* Fix Status.WrongState exception
* Remove invalid test for GdipLockBits
* Fix LinearGradientBrush behaviour to match netfx/netcore
2018-04-18 17:43:14 -04:00
Marek Safar
411a37af27
Bump corefx
2017-10-05 22:43:54 +02:00
Hugh Bellamy
177fca4917
Fix LinearGradientMode parameter validation to match corefx ( #5672 )
2017-10-02 16:15:28 +02:00
Frederik Carlier
e33294bf22
Use CoreFX sources for System.Drawing.Imaging ( #5048 )
...
* Use CoreFX sources for System.Drawing.Imaging
* Bump API snapshot
2017-06-16 00:55:18 +02:00
Frederik Carlier
c238778b63
Use Drawing2D classes from CoreFX
2017-06-15 18:51:09 +02:00
Frederik Carlier
3830eca92c
Use Brush classes from CoreFX ( #5039 )
2017-06-15 11:29:35 +02:00
Frederik Carlier
d31ccce651
Use source from CoreFX for System.Drawing.Drawing2D ( #5034 )
2017-06-14 18:12:32 +02:00
Alexander Köplinger
1ba011835d
[System.Drawing] Rename method parameters to match .NET contract
2017-03-16 13:02:09 +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
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