55 Commits
Author SHA1 Message Date
Ludovic Henry 2a4cfddd9a [sdks] Build tests for BCL targets (#11141)
* [sdks] Build BCL profiles without configure flags

* [sdks] Add BclTemplate to build BCL profiles

This is to avoid building all the profiles in a single `sdks/out/bcl` directory which will be shared between android, ios and wasm.

* [sdks] Simplify call to BclTemplate

* [mcs] Make directory dependency as order-only

We would otherwise always rebuild the target since the directory is updated whenever something is added to the directory. This is a common Makefile technique.

* [sdks] Build tests for BCL targets
2018-10-16 14:00:12 -04:00
Alexander Köplinger 3b40965d0a [System.Drawing] Switch tests to use embedded test resources 2018-09-27 22:46:56 +02:00
Alexander Köplinger 2cbd1706dc [System.Drawing] Enable corefx xunit tests (#7924) 2018-03-31 01:13:03 +02:00
Alexander Köplinger 91dd686981 [System.Drawing] Simplify mobile profile check 2017-08-07 14:11:59 +02:00
Zoltan Varga 33d2d52644 [bcl] Specify the name of the key file on the command line instead of using the AssemblyKeyFile attribute for consistency and to make it easier to do path name manipulation on the file name. (#5316) 2017-08-07 14:03:48 +02:00
Marek Safar 90ca313240 [build] Add a new profile 2017-06-28 18:51:26 +02:00
Frederik Carlier 3830eca92c Use Brush classes from CoreFX (#5039) 2017-06-15 11:29:35 +02:00
Alexander Köplinger 13f5db4888 [Facades] Add facades to winaot/orbis profiles (#4656)
Also remove Mono.Simd as we don't it on new platforms.

Cleanup monotouch_dirs to not depend on testing_aot_full_dirs since
it should be separate (even though it contains the same right now).
2017-04-07 20:05:34 +02:00
Henric Müller 71275496e8 Renamed profile to winaot (#4190) 2016-12-21 16:41:01 +01:00
Marek Safar 3daf6b7ca1 [build] Add new profile 2016-12-19 16:36:39 +01:00
Marek Safar 10c5e72512 [bcl] netstandart 1.6 support 2016-07-13 11:02:10 +02:00
Marek Safar aeccd22792 [build] Change the way how mcs references are passed to compiler to always use full path.
One of csc prerequisites because csc uses -lib as path which is considered after
RuntimeEnvironment.GetRuntimeDirectory which makes -lib useless
2016-04-04 13:48:44 +02:00
Marek Safar abbac3e73b Remove incorrect warnings 2015-08-31 15:22:30 +02:00
Zoltan Varga 13685c2326 [build] Add the assemblies in LIB_REFS to LIB_MCS_FLAGS automatically to reduce duplication. 2015-03-02 14:03:56 -05:00
Zoltan Varga 37983f7fc3 [build] Add dependency information for class libraries using a LIB_REFS variable which lists the assemblies a given assembly depends on to build. 2015-02-26 22:27:27 -05:00
Alexander Köplinger 4165d879cd [Cleanup] Removed net_1_1_java from Makefiles
It was once part of a special Java target profile, but this is no longer used today.
2014-08-07 23:01:52 +02:00
chris a6f9938b78 Added System.Drawing.SystemIcons.Shield to API to match .Net 2.0 SP1, 4.0, 4.5 API. 2012-09-28 20:35:48 -07:00
Marek Safar b2d5552461 Warnings cleanup
svn path=/trunk/mcs/; revision=111848
2008-08-28 17:45:48 +00:00
Gert Driesen d52616b0a7 * TestIcon.cs: Add test case for bug #415581.
* Makefile: Add 415581.ico.
* Icon.cs (InitFromStreamWithSize): Use temp ArrayList for IconDirEntry
to avoid empty slots in array. Use actual index of IconDirEntry in
array when entries have been skipped. Fixes bug #415581.

svn path=/trunk/mcs/; revision=110007
2008-08-08 18:21:51 +00:00
Gert Driesen 4b3d40e748 * Icon.cs (InitFromStreamWithSize): Move init of iconDir.idCount
and imageData until after the number of entries was determined to
cope with skipping of 256x256 icons. Fixes bug #410608.
* Makefile: Add 323511.ico.
* TestIcon.cs: Add test case for bug #410608.

svn path=/trunk/mcs/; revision=109879
2008-08-07 16:58:15 +00:00
Sebastien Pouliot 21b623c878 Makefile: Add an interlaced GIF test file to the dist.
svn path=/trunk/mcs/; revision=78207
2007-05-30 13:37:48 +00:00
Sebastien Pouliot 7ae153296b 2007-05-23 Sebastien Pouliot <[email protected]>
* Makefile: Add a 2bpp PNG test file to the dist.


svn path=/trunk/mcs/; revision=77853
2007-05-23 17:03:37 +00:00
Sebastien Pouliot 82f659c52f Makefile: Add a greyscale JPEG test file to the dist.
svn path=/trunk/mcs/; revision=76935
2007-05-08 14:41:33 +00:00
Sebastien Pouliot 7214050441 Makefile: Add the new GIF87a test files to the dist.
svn path=/trunk/mcs/; revision=74254
2007-03-14 13:13:22 +00:00
Sebastien Pouliot 888ded1b13 Update build/dist for new metafile unit tests
svn path=/trunk/mcs/; revision=74026
2007-03-09 19:41:12 +00:00
Sebastien Pouliot 5186ca2ed4 * Makefile: Add non-inverted bitmap to dist.
svn path=/trunk/mcs/; revision=72479
2007-02-08 15:39:23 +00:00
Sebastien Pouliot 35ca896bcc Makefile: Add System.Runtime.Serialization.Formatters.Soap.dll and System.Xml.dll for building the unit tests.
svn path=/trunk/mcs/; revision=71999
2007-01-30 21:00:02 +00:00
Sebastien Pouliot 12cf6612f7 Add new non-standard size icons, 10x16 and 11x22.
svn path=/trunk/mcs/; revision=71067
2007-01-15 18:34:21 +00:00
Sebastien Pouliot 8d58f2ad94 Makefile: Add new test icon 32bpp.ico for newer, XP, ARGB icons.
svn path=/trunk/mcs/; revision=71055
2007-01-15 16:16:47 +00:00
Sebastien Pouliot e0bcf55171 Makefile: Add new test icons 16x16x16 and 32x32x16 to dist.
svn path=/trunk/mcs/; revision=70873
2007-01-11 18:19:36 +00:00
Sebastien Pouliot f7c8570daf fix typo
svn path=/trunk/mcs/; revision=70812
2007-01-10 20:36:48 +00:00
Sebastien Pouliot d01b964d4d Makefile: Add new test icons (48x48x1, 64x64x256 and 96x96x256) to distribution files.
svn path=/trunk/mcs/; revision=70803
2007-01-10 19:27:11 +00:00
Sebastien Pouliot da62dc69f0 oopsm, commit full filename :|
svn path=/trunk/mcs/; revision=70556
2007-01-05 20:06:53 +00:00
Sebastien Pouliot 3cd75196d6 2007-01-07 Sebastien Pouliot <[email protected]>
* Makefile: Add new file nunit-host-ignore to the dist
        * System.Drawing_test.dll.sources: Add HostIgnoreList to the
        build.
        * nunit-host-ignore-list: New. Hosts specific ignore list for
        nunit







svn path=/trunk/mcs/; revision=70551
2007-01-05 19:48:46 +00:00
Sebastien Pouliot 78f72de3cb Update icons to the ones already available in SVN. Added unit tests for SystemIcons to the build
svn path=/trunk/mcs/; revision=68899
2006-12-03 16:44:53 +00:00
Sebastien Pouliot 2ab9dc7735 Update Makefile to add icon resources for SystemIcons (some icons needs to be updated, they are all monkeys tonight ;-).
svn path=/trunk/mcs/; revision=68883
2006-12-03 01:22:10 +00:00
Sebastien Pouliot d7068d7cbe Makefile: Add new almogaver32bits.tif file to EXTRA_DISTFILES
svn path=/trunk/mcs/; revision=64711
2006-09-01 15:20:19 +00:00
Duncan Mak 42b427e77e 2006-08-12 Duncan Mak <[email protected]>
* GDIPlusTest.cs: Removed all the local PInvoke methods.
	(DrawingOperations): New test for various draw and fill operations
	in Graphics.

2006-08-12  Duncan Mak  <[email protected]>

	* GDIPlusTest.csproj: New MSBuild project file for building
	GDIPlusTest on Windows.

	* System.Drawing_test.dll.sources: Add gdipEnums.cs,
	gdipFunctions.cs and gdipStructs.cs.

	* Makefile (TEST_MCS_FLAGS): Add new #define 'TEST'. This is used
	to exclude parts of gdipFunctions so that it could be reused as
	part of the NUnit tests.

svn path=/trunk/mcs/; revision=63675
2006-08-12 22:08:57 +00:00
Sebastien Pouliot dda4b324f6 2006-08-02 Sebastien Pouliot <[email protected]>
* Makefile: Add the test bitmaps to EXTRA_DISTFILES so monobuild has
	them available when running the unit tests.


svn path=/trunk/mcs/; revision=63259
2006-08-02 17:23:01 +00:00
Andrew Skiba 0cd6bb7536 * net_1_1_java_System.Drawing.dll.sources,
net_1_1_java_System.Drawing.dll.exclude.sources: added java profile
	sources lists
	* Makefile: add java profile section

svn path=/trunk/mcs/; revision=53017
2005-11-14 14:45:25 +00:00
Kornél Pál 681ef34c65 Added CODEPAGE Makefile variable that specifies the encoding used by compilers.
svn path=/trunk/mcs/; revision=50877
2005-09-27 17:13:05 +00:00
Miguel de Icaza e021474a87 2005-09-19 Miguel de Icaza <[email protected]>
* Graphics.cs: Removed restriction on the images that can be
	loaded.  Indexed images *can* be loaded

2005-09-19  Miguel de Icaza  <[email protected]>

	* Makefile (EXTRA_DISTFILES): Distribute indexed.png, add resource
	to build.

2005-09-19  Miguel de Icaza  <[email protected]>

	* TestGraphics.cs (LoadIndexed): Add test for the indexed bug.



svn path=/trunk/mcs/; revision=50273
2005-09-20 03:44:06 +00:00
Atsushi Eno 79b53461c7 2005-08-25 Atsushi Enomoto <[email protected]>
* Makefile: build fix for some utf8-defaulted environment.


svn path=/trunk/mcs/; revision=48845
2005-08-25 16:07:47 +00:00
Gert Driesen 94168a5727 * Color.cs: To match MS.NET, throw ArgumentException instead of
ArgumentOutOfRangeException when color is not between 0 and 255.
* RectangleConverter.cs: Take culture into account when converting
to/from string. Use culture's ListSeparator as separator character.
* ColorConverter.cs: Mono now also throws ArgumentException when
color value is not between 0 and 255.
* TestColor.cs: Added tests for invalid color values.
* TestRectangleConverter.cs: Fixed tests for conversion to/from
string. Added tests that verify results using specific cultures.

svn path=/trunk/mcs/; revision=48426
2005-08-16 11:49:02 +00:00
Sebastien Pouliot 8294e1ecae reduce warnings when compiling unit tests
svn path=/trunk/mcs/; revision=43116
2005-04-16 19:05:27 +00:00
Ravindra 038dc01003 * Makefile: Suppress compiler warning cs:618 for test dll.
svn path=/trunk/mcs/; revision=29152
2004-06-10 02:50:56 +00:00
Ravindra 9c05cfea6e * Makefile: Updated. We don't need to define the flag
DECLARE_CDECL_DELEGATES anymore. As we have moved all the
	codecs to libgdiplus.

svn path=/trunk/mcs/; revision=28754
2004-06-03 10:08:47 +00:00
Jordi Mas i Hernandez 2de3b71ce2 fix tests
svn path=/trunk/mcs/; revision=23490
2004-02-26 16:50:52 +00:00
Miguel de Icaza 050593f6fd Remove GDI+ from build
svn path=/trunk/mcs/; revision=22644
2004-01-31 06:23:54 +00:00
Miguel de Icaza 898ec6bb98 oops
svn path=/trunk/mcs/; revision=20093
2003-11-17 00:07:29 +00:00