Compare commits

..
Author SHA1 Message Date
nobody 2ba6e3293b This commit was manufactured by cvs2svn to create tag 'MCS_0_91'.
svn path=/tags/MCS_0_91/mcs/; revision=26681
2004-05-04 03:27:03 +00:00
Roopa Wilson d3ad603ced 2004-05-04 Roopa Wilson ([email protected]
* ForeignKeyConstraint.cs : Added code to handle InvalidOperationException
* ForeignKeyConstraint.cs : Changed few exception types thrown
* ForeignKeyConstraintTest.cs : Changed few exception types to be thrown

svn path=/trunk/mcs/; revision=26680
2004-05-04 03:27:03 +00:00
Miguel de Icaza 8d739b4066 Add nice reporting
svn path=/trunk/mono/; revision=26679
2004-05-04 02:58:25 +00:00
Miguel de Icaza 937562082b Drop Mono.Posix dep, its simpler to bind it here
svn path=/trunk/mcs/; revision=26677
2004-05-04 01:44:58 +00:00
Miguel de Icaza 8be5c64a32 The real fix
svn path=/trunk/mcs/; revision=26676
2004-05-03 23:57:36 +00:00
Todd Berman a0d6ef5494 2004-05-03 Todd Berman <[email protected]>
* gacutil.cs: potential fix for miguel.

svn path=/trunk/mcs/; revision=26675
2004-05-03 23:49:51 +00:00
Miguel de Icaza b67a89edbb update this one
svn path=/trunk/mono/; revision=26673
2004-05-03 23:29:38 +00:00
Miguel de Icaza aa3db94101 LastOne
svn path=/trunk/mcs/; revision=26667
2004-05-03 23:11:05 +00:00
Miguel de Icaza 580005df30 gmcs too
svn path=/trunk/mcs/; revision=26666
2004-05-03 23:10:44 +00:00
Miguel de Icaza 73531913d9 :Flush
svn path=/trunk/mcs/; revision=26665
2004-05-03 23:09:38 +00:00
Miguel de Icaza 7fcd80e77d one by one
svn path=/trunk/mono/; revision=26664
2004-05-03 23:09:25 +00:00
Miguel de Icaza 744134eea4 up
svn path=/trunk/mcs/; revision=26662
2004-05-03 23:03:48 +00:00
Miguel de Icaza 4bcc9079d6 Up
svn path=/trunk/mono/; revision=26660
2004-05-03 22:57:23 +00:00
Miguel de Icaza aabbb0f81d Need config to remap calls to libc, from Mono.Posix, used by gacutil
svn path=/trunk/mono/; revision=26655
2004-05-03 22:23:00 +00:00
Jackson Harper c587d1baef * assembly.c: This line was committed accidently and is
unneeded.

svn path=/trunk/mono/; revision=26653
2004-05-03 22:17:01 +00:00
Miguel de Icaza b89aa55245 Reverting incorrect removal
svn path=/trunk/mcs/; revision=26650
2004-05-03 21:56:29 +00:00
Gonzalo Paniagua Javier d865f236f5 2004-05-04 Gonzalo Paniagua Javier <[email protected]>
* SimpleWebHandlerParser.cs:
	* TemplateParser.cs: for the assembly names given in the 'assembly'
	attribute, use LoadWithPartialName instead of Load.

svn path=/trunk/mcs/; revision=26649
2004-05-03 21:54:08 +00:00
Miguel de Icaza 466b4c0fec Flush
svn path=/trunk/mono/; revision=26646
2004-05-03 21:41:59 +00:00
Gonzalo Paniagua Javier 7d49d4eb0f 1.1 -> 1.0
svn path=/trunk/mcs/; revision=26645
2004-05-03 21:29:01 +00:00
Miguel de Icaza 65719b7388 1.0 instead of 1.1
svn path=/trunk/mono/; revision=26643
2004-05-03 20:54:09 +00:00
Lluis Sanchez f1e94cf35b * Encoding.cs: Use name const to load I18N assembly.
svn path=/trunk/mcs/; revision=26642
2004-05-03 20:36:08 +00:00
Lluis Sanchez 7e057fa954 * ModuleBuilder.cs: Use name const to load the debugger assembly.
svn path=/trunk/mcs/; revision=26641
2004-05-03 20:33:11 +00:00
Lluis Sanchez 6bee5f5af0 * corlib.dll.sources: Added Assembly/Consts.cs.
svn path=/trunk/mcs/; revision=26640
2004-05-03 20:32:06 +00:00
Lluis Sanchez b6440a99ae * Consts.cs: Added.
svn path=/trunk/mcs/; revision=26639
2004-05-03 20:30:46 +00:00
Lluis Sanchez da49df1e1c * Consts.cs: Added consts for NET_2_0.
svn path=/trunk/mcs/; revision=26638
2004-05-03 20:22:26 +00:00
Paolo Molaro c0272200a9 Mon May 3 22:58:51 CEST 2004 Paolo Molaro <[email protected]>
* inssel-ppc.brg: another small pre-release workaround:
	we don't do overflow detection for long_sub_un.

svn path=/trunk/mono/; revision=26637
2004-05-03 20:19:55 +00:00
Gonzalo Paniagua Javier 48b65204d4 2004-05-03 Gonzalo Paniagua Javier <[email protected]>
* Socket.cs: fix for BeginConnect and non-blocking sockets.

svn path=/trunk/mcs/; revision=26636
2004-05-03 20:10:59 +00:00
Sebastien Pouliot 3664d705e2 2004-05-03 Sebastien Pouliot <[email protected]>
* WebConnection.cs: Added missing Consts.

svn path=/trunk/mcs/; revision=26635
2004-05-03 20:06:32 +00:00
Jordi Mas i Hernandez bc6db2a51f pixelformat parameter is taken into account
svn path=/trunk/mcs/; revision=26634
2004-05-03 19:58:28 +00:00
Sebastien Pouliot 8747afb6bc 2004-05-03 Sebastien Pouliot <[email protected]>
* ASN1.cs: Fixed NullReferenceException in xmldsig standalone tests.

svn path=/trunk/mcs/; revision=26631
2004-05-03 19:52:41 +00:00
Todd Berman 2eab6eabe0 fix from jaroslaw kowalski
svn path=/trunk/mono/; revision=26630
2004-05-03 19:50:07 +00:00
Sebastien Pouliot 24051a0107 2004-05-03 Sebastien Pouliot <[email protected]>
* CryptoConfig.cs: Specify version and public key token when loading
	System.Security.dll for XML Digital Signature classes.

svn path=/trunk/mcs/; revision=26629
2004-05-03 19:41:11 +00:00
Sebastien Pouliot 0a531ec57c 2004-05-03 Sebastien Pouliot <[email protected]>
* WebConnection.cs: Use assembly name const to load Mono.Security.

svn path=/trunk/mcs/; revision=26628
2004-05-03 19:34:22 +00:00
Lluis Sanchez 8450b5abbd * Socket.cs: Use assembly name const to load Mono.Posix.
svn path=/trunk/mcs/; revision=26627
2004-05-03 19:26:58 +00:00
Lluis Sanchez d51db8022f * NtlmClient.cs: Use assembly name const to load Mono.Security.
svn path=/trunk/mcs/; revision=26626
2004-05-03 19:25:34 +00:00
Lluis Sanchez 0dc1b76db4 * Consts.cs: Added consts for Mono.Posix and Mono.Security.
svn path=/trunk/mcs/; revision=26625
2004-05-03 19:23:06 +00:00
Todd Berman 04ff5cb6fd 2004-05-03 Todd Berman <[email protected]>
* driver.cs: remove unused GetSysVersion function.

svn path=/trunk/mcs/; revision=26623
2004-05-03 19:19:39 +00:00
Miguel de Icaza 0889216e07 This was broken
svn path=/trunk/mono/; revision=26622
2004-05-03 18:30:57 +00:00
Sebastien Pouliot b958bbf804 2004-05-03 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Match version numbers with MS (VS.NET numbers).

svn path=/trunk/mcs/; revision=26621
2004-05-03 18:20:35 +00:00
Todd Berman fd17e9cfa2 2004-05-03 Todd Berman <[email protected]>
* driver.cs: Remove the hack from saturday, as well as the hack
        from jackson (LoadAssemblyFromGac), also adds the CWD to the
        link_paths to get that bit proper.

svn path=/trunk/mcs/; revision=26620
2004-05-03 18:17:02 +00:00
Miguel de Icaza cf69187832 My version is better
svn path=/trunk/mono/; revision=26619
2004-05-03 18:11:11 +00:00
Jackson Harper 243e9df1f7 Add gacutil
svn path=/trunk/mono/; revision=26618
2004-05-03 18:06:44 +00:00
Jackson Harper a258d27e4f * man/gacutil.1: Basic man page for gacutil. This doesn't include
the new non-standard options yet.

svn path=/trunk/mono/; revision=26617
2004-05-03 18:06:25 +00:00
Miguel de Icaza 0b40de8176 update usage
svn path=/trunk/mcs/; revision=26616
2004-05-03 17:30:17 +00:00
Jackson Harper bbd0ed5def * Assembly.cs: Implement LoadWithPartialName. The bulk of this
method is done in the runtime.

svn path=/trunk/mcs/; revision=26615
2004-05-03 17:28:26 +00:00
Jackson Harper e1968e7606 * icall.c: Add new icall for Assembly::LoadWithPartialName
* assembly.c/.h: new function that probes the GAC to load partial
	assembly names by Paolo Molaro.

svn path=/trunk/mono/; revision=26614
2004-05-03 17:25:56 +00:00
Miguel de Icaza 68b04d317d Also update this
svn path=/trunk/mcs/; revision=26613
2004-05-03 17:23:48 +00:00
Miguel de Icaza d19af8f11d Fix
svn path=/trunk/mono/; revision=26612
2004-05-03 17:21:42 +00:00
Lluis Sanchez e1753c687c * XmlSerializationReaderInterpreter.cs: Removed the check for null
AttributeMembers collection. Even if there are no attribute members,
	  attributes need to be read.

svn path=/trunk/mcs/; revision=26611
2004-05-03 17:21:23 +00:00
Todd Berman 4f53387275 2004-05-03 Todd Berman <[email protected]>
* gacutil.cs: support /package in /u now as well.

svn path=/trunk/mcs/; revision=26610
2004-05-03 17:13:24 +00:00
Miguel de Icaza d2ca162e63 Be more verbose
svn path=/trunk/mcs/; revision=26609
2004-05-03 17:08:53 +00:00
Miguel de Icaza 467a19737f update to use /package
svn path=/trunk/mono/; revision=26608
2004-05-03 17:08:07 +00:00
Sebastien Pouliot b22ff4122d 2004-05-03 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Returned to match original version (0.7.4.*). We
	now use 0.7.4.0 for Fx1.0, 0.7.4.1. for Fx1.1 and 0.7.4.2 for Fx 2.0.

svn path=/trunk/mcs/; revision=26606
2004-05-03 16:52:47 +00:00
Todd Berman 64c6ad6c52 fix for gacutil and /package
svn path=/trunk/mcs/; revision=26605
2004-05-03 16:39:25 +00:00
Sebastien Pouliot 18d97eba56 2004-05-03 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Returned to original version (2.1.4.0) for 1.0/1.1
	and 2.1.4.2 for Fx 2.0.

svn path=/trunk/mcs/; revision=26604
2004-05-03 16:36:32 +00:00
Miguel de Icaza 3bff7cd83c Fix versions
svn path=/trunk/mcs/; revision=26603
2004-05-03 16:31:52 +00:00
Miguel de Icaza 782b21f442 2004-05-03 Miguel de Icaza <[email protected]>
* Syscall.cs: Add symlink

svn path=/trunk/mcs/; revision=26601
2004-05-03 16:25:08 +00:00
Miguel de Icaza 598ab05160 Add --with-icu=yes/no
Add --with-preview=yes/no
Install mcs/mbas into $prefix/lib/mono/1.1
Install gmcs into $prefix/lib/mono/2.0

This is in preparation for the dual installation of libraries GAC + devel.

svn path=/trunk/mono/; revision=26599
2004-05-03 16:21:01 +00:00
Lluis Sanchez 401825e0c2 Who forgot to commit this ChangeLog?
svn path=/trunk/mcs/; revision=26597
2004-05-03 16:17:46 +00:00
Miguel de Icaza 206e5076b2 Update web
svn path=/trunk/mono/; revision=26596
2004-05-03 16:17:01 +00:00
Lluis Sanchez 0070609855 * AsyncCalls.cs, BaseCalls.cs, DelegateCalls.cs, ReflectionCalls.cs,
ServerObject.cs, SyncCalls.cs: Improved PrimitiveParamsInOut test case.

svn path=/trunk/mcs/; revision=26595
2004-05-03 16:16:43 +00:00
Gonzalo Paniagua Javier dce6ad24b5 use g_ascii_strncasecmp. g_strcasecmp is deprecated.
svn path=/trunk/mono/; revision=26593
2004-05-03 16:07:05 +00:00
Gonzalo Paniagua Javier 93fc2bc5c6 2004-05-03 Gonzalo Paniagua Javier <[email protected]>
* appdomain.c: use g_strncasecmp when looking for 'Culture=' et al.
	* reflection.c: use g_strncasecmp when looking for 'Culture=' et al.
	(type_get_fully_qualified_name): Added PublicKeyToken when building a
	full type name.

svn path=/trunk/mono/; revision=26592
2004-05-03 16:02:24 +00:00
Gonzalo Paniagua Javier e2f20e4b3e updated
svn path=/trunk/mono/; revision=26591
2004-05-03 15:51:28 +00:00
Gonzalo Paniagua Javier 2392e479f6 Added version and publickeytoken
svn path=/trunk/mono/; revision=26590
2004-05-03 15:50:37 +00:00
Gonzalo Paniagua Javier 7d0c8ee744 2004-05-03 Gonzalo Paniagua Javier <[email protected]>
* appdomain.c: fixed check for 'neutral' culture and removed warning.
	* reflection.c: fix bug when parsing a full type name and Version is not
	the last thing in the string.

svn path=/trunk/mono/; revision=26589
2004-05-03 15:38:01 +00:00
Lluis Sanchez ea46762091 * XmlSerializationReader.cs: In ReadSerializable(), take into account that
the IXmlSerializable object may not read all the EndElement it read.
	  This fixes bug #57413.

svn path=/trunk/mcs/; revision=26588
2004-05-03 15:36:24 +00:00
Zoltan Varga ba4fb4f513 2004-05-03 Zoltan Varga <[email protected]>
* appdomain.c (get_info_from_assembly_name): Strdup "" to prevent
	crashes when it is freed.

svn path=/trunk/mono/; revision=26584
2004-05-03 14:06:24 +00:00
Gonzalo Paniagua Javier 574a79aae9 2004-05-03 Gonzalo Paniagua Javier <[email protected]>
* assembly.c: print the compat warning to stderr.

svn path=/trunk/mono/; revision=26583
2004-05-03 13:21:33 +00:00
Lluis Sanchez 3d5583bd64 * MessageFormatter.cs: In the all-are-primitive case, serialize Args,
not OutArgs.

svn path=/trunk/mcs/; revision=26582
2004-05-03 11:47:27 +00:00
Lluis Sanchez 1fdc2d497d * MethodResponse.cs, ReturnMessage.cs: More null checks.
svn path=/trunk/mcs/; revision=26581
2004-05-03 11:42:06 +00:00
Lluis Sanchez 787d5c6931 XmlSerializer.cs: Enable serializer generation by default.
svn path=/trunk/mcs/; revision=26580
2004-05-03 11:38:52 +00:00
Marek Safar c1fb15a59e 2004-05-03 Marek Safar <[email protected]>
* cs0579-3.cs,
	* cs0592-7.cs,
	* cs0626.cs: 3 new error tests.

svn path=/trunk/mcs/; revision=26579
2004-05-03 07:21:41 +00:00
Paolo Molaro 5f379ccd9f Mon May 3 08:34:32 CEST 2004 Paolo Molaro <[email protected]>
* main.c, defs.h: use the proper header files instead of broken
	prototypes (thanks to Marcus for reporting).

svn path=/trunk/mcs/; revision=26578
2004-05-03 05:58:25 +00:00
Miguel de Icaza 3763abdafb 2004-05-03 Miguel de Icaza <[email protected]>
* codegen.cs: Add patch from Robert Shade
	<[email protected]>, use FileAccess.Read on the keyfile, to

svn path=/trunk/mcs/; revision=26577
2004-05-03 04:18:55 +00:00
Miguel de Icaza d300d2b860 Do not remove files on make clean for regular users
svn path=/trunk/mono/; revision=26573
2004-05-03 03:43:10 +00:00
Miguel de Icaza f076ec8e5d Exitcode fix
svn path=/trunk/mono/; revision=26569
2004-05-02 22:58:37 +00:00
Miguel de Icaza e1397181f0 Ignore error on uninstall, we have a greedy removed
svn path=/trunk/mono/; revision=26564
2004-05-02 22:28:12 +00:00
Miguel de Icaza 7f40a020b4 flush
svn path=/trunk/mcs/; revision=26562
2004-05-02 22:05:13 +00:00
Duncan Mak f1242fd770 2004-05-02 Duncan Mak <[email protected]>
* ByteFX.Data/AssemblyInfo.cs:
	* Mono.GetOptions/AssemblyInfo.cs:
	* Microsoft.Vsa/Assembly/AssemblyInfo.cs: Add assembly-level
	attributes for versioning (1.0 vs. 1.1 vs. 2.0).

svn path=/trunk/mcs/; revision=26561
2004-05-02 21:16:02 +00:00
Duncan Mak 869be87292 2004-05-02 Duncan Mak <[email protected]>
* ByteFX.Data/AssemblyInfo.cs:
	* Microsoft.Vsa/Assembly/AssemblyInfo.cs: Add assembly-level
	attributes for versioning (1.0 vs. 1.1 vs. 2.0).

svn path=/trunk/mcs/; revision=26560
2004-05-02 21:09:34 +00:00
Sebastien Pouliot 903c03d677 2004-05-02 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Now that bug #57941 (incomplete key pairs) is fixed
	we now use nunit.key to sign their assemblies.

svn path=/trunk/mcs/; revision=26559
2004-05-02 20:01:41 +00:00
Sebastien Pouliot 7ee363eb21 2004-05-02 Sebastien Pouliot <[email protected]>
* CryptoConvert.cs: Updated to latest version. Fix issue with
	incomplete key pairs (#57941).

svn path=/trunk/mcs/; revision=26558
2004-05-02 19:58:31 +00:00
Duncan Mak f247570dc5 2004-05-02 Duncan Mak <[email protected]>
* Microsoft.Vsa/Assembly/AssemblyInfo.cs: Add assembly-level
	attributes for versioning (1.0 vs. 1.1 vs. 2.0).

svn path=/trunk/mcs/; revision=26557
2004-05-02 19:40:04 +00:00
Sebastien Pouliot be564a8e30 2004-05-02 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Added missing using clause. Fixed the build.

svn path=/trunk/mcs/; revision=26556
2004-05-02 19:19:13 +00:00
Miguel de Icaza 6ea101ac47 Version
svn path=/trunk/mcs/; revision=26555
2004-05-02 18:50:20 +00:00
Miguel de Icaza fe8e294a03 This did not make it
svn path=/trunk/mcs/; revision=26554
2004-05-02 18:49:42 +00:00
Paolo Molaro aa25b5b9ba Sun May 2 20:12:22 CEST 2004 Paolo Molaro <[email protected]>
* mini.c, mini-ops, inssel-long32.brg: speedup ulong >> 32
	(also works around a weird ppc bug: 57957).

svn path=/trunk/mono/; revision=26553
2004-05-02 17:37:04 +00:00
Paolo Molaro fc3bf7b68f Use EXTRA_DIST, the dist_ hack is not compatible with automake 1.4.
svn path=/trunk/mono/; revision=26552
2004-05-02 17:26:50 +00:00
Ben Maurer 2ec61ae5c6 ver
svn path=/trunk/mcs/; revision=26548
2004-05-02 16:35:08 +00:00
Miguel de Icaza ab389f474f First batch of changes
svn path=/trunk/mcs/; revision=26547
2004-05-02 16:22:24 +00:00
Ben Maurer 546a1fdca5 version
svn path=/trunk/mcs/; revision=26546
2004-05-02 16:21:35 +00:00
Paolo Molaro 647a6756c4 Output first to a temp file, in case jay fails.
svn path=/trunk/mcs/; revision=26545
2004-05-02 08:56:40 +00:00
Miguel de Icaza add2a0a95b Fix
svn path=/trunk/mcs/; revision=26544
2004-05-02 04:34:39 +00:00
Miguel de Icaza 5491497f41 2004-05-02 Miguel de Icaza <[email protected]>
* mono-sha1.c: MacOS X defines "LITTLE_ENDIAN", you are supposed
	to test against BYTE_ORDER, and this caused trouble.  We now use
	G_BYTE_ORDER and G_LITTLE_ENDIAN.  This should fix the MacOS woes.

svn path=/trunk/mono/; revision=26543
2004-05-02 03:34:48 +00:00
Miguel de Icaza 7c05e2230a that was a useless patch
svn path=/trunk/mono/; revision=26542
2004-05-02 02:31:58 +00:00
Miguel de Icaza b1e4ddc0f7 Endian fix, attempt for the Mac
svn path=/trunk/mono/; revision=26541
2004-05-02 01:30:17 +00:00
Ben Maurer efdec70f0c some nice little micro-benchmarks
svn path=/trunk/mono/; revision=26540
2004-05-01 23:39:27 +00:00
Dennis Hayes c917cc45a8 more java code from Mainsoft converted, cleaned
svn path=/trunk/mcs/; revision=26533
2004-05-01 20:44:06 +00:00
Paolo Molaro d8cd755daa Enable JIT by default, add flags for GC thread support.
svn path=/trunk/mono/; revision=26532
2004-05-01 20:16:00 +00:00
Paolo Molaro 5e3947e098 Sat May 1 16:56:10 EDT 2004 Paolo Molaro <[email protected]>
* tramp-ppc.c: trampoline fixes.

svn path=/trunk/mono/; revision=26531
2004-05-01 20:15:00 +00:00
Miguel de Icaza d57ec5a502 Flush
svn path=/trunk/mono/; revision=26527
2004-05-01 19:17:44 +00:00
Todd Berman 798e31bc35 2004-05-01 Todd Berman <[email protected]>
* gacutil.cs: copy the config file, not the assembly again.

svn path=/trunk/mcs/; revision=26525
2004-05-01 18:56:58 +00:00
Miguel de Icaza 0938562356 2004-05-01 Miguel de Icaza <[email protected]>
* assembly.c (mono_assembly_load_references): Add a compatibility
	hack to run old applications that might be still referencing the
	3300-based assemblies, only do this for System.xxx.

svn path=/trunk/mono/; revision=26524
2004-05-01 18:16:08 +00:00
Todd Berman 4c8915a1ed 2004-05-01 Todd Berman <[email protected]>
* driver.cs: Try a LoadFrom before a Load, this checks the current
        path. This is currently a bug in mono that is be fixed, however, this
        provides a workaround for now. This will be removed when the bug
        is fixed.

svn path=/trunk/mcs/; revision=26523
2004-05-01 18:15:26 +00:00
Francisco Figueiredo Jr. 0510fb2d4c 2004-05-01 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlCommand.cs,
        Npgsql/NpgsqlConnection.cs,
        Npgsql/NpgsqlConnector.cs,
        Npgsql/NpgsqlConnectorPool.cs,
        Npgsql/NpgsqlError.cs,
        Npgsql/NpgsqlException.cs,
        Npgsql/NpgsqlParameterCollection.cs,
        NpgsqlTypes/NpgsqlTypesHelper.cs: Improved exception support. Now NpgsqlException as well as NpgsqlError provide much more information. Thanks Glen Parker ([email protected]) for the patch.

svn path=/trunk/mcs/; revision=26522
2004-05-01 18:09:43 +00:00
Miguel de Icaza 88307d130e Add
svn path=/trunk/mono/; revision=26520
2004-05-01 18:07:33 +00:00
Francisco Figueiredo Jr. fa3dd41561 2004-05-01 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlCommand.cs,
	Npgsql/NpgsqlConnection.cs,
	Npgsql/NpgsqlConnector.cs,
	Npgsql/NpgsqlConnectorPool.cs,
	Npgsql/NpgsqlError.cs,
	Npgsql/NpgsqlException.cs,
	Npgsql/NpgsqlParameterCollection.cs,
	NpgsqlTypes/NpgsqlTypesHelper.cs: Improved exception support. Now NpgsqlException as well as NpgsqlError provide much more information. Thanks Glen Parker ([email protected]) for the patch.

svn path=/trunk/mcs/; revision=26519
2004-05-01 18:07:32 +00:00
Todd Berman 0f7790812d 2004-05-01 Todd Berman <[email protected]>
* gacutil.cs: ack, miguel is right, cmdline handling needs some love.

svn path=/trunk/mcs/; revision=26518
2004-05-01 17:33:47 +00:00
Miguel de Icaza 6de7606dda Remove patch that *did* regress the build, it was even flagged on Bugzilla
svn path=/trunk/mcs/; revision=26517
2004-05-01 17:26:22 +00:00
Jackson Harper 8d693af83b * appdomain.c: If the culture is neutral we set it to "".
svn path=/trunk/mono/; revision=26516
2004-05-01 17:21:29 +00:00
Sebastien Pouliot 2bbbaab331 2004-05-01 Sebastien Pouliot <[email protected]>
* nunit.key: New. (Truncated) key pair used to sign nunit assemblies.

svn path=/trunk/mcs/; revision=26515
2004-05-01 17:12:30 +00:00
Sebastien Pouliot ae3d06a4d8 2004-05-01 Sebastien Pouliot <[email protected]>
* CryptoConvert.cs: Synched with Mono.Security.dll. Fix bug #57941
	(truncated key pair).
	* RSAManaged.cs: Synched with Mono.Security.dll. Fix bug #57941
	(truncated key pair).

svn path=/trunk/mcs/; revision=26514
2004-05-01 17:09:57 +00:00
Sebastien Pouliot 4732aebe0c 2004-05-01 Sebastien Pouliot <[email protected]>
* CryptoConvert.cs: Updated to latest version. Fix issue with
	incomplete key pairs (#57941).

svn path=/trunk/mcs/; revision=26513
2004-05-01 17:05:11 +00:00
Sebastien Pouliot da1d4959f6 2004-05-01 Sebastien Pouliot <[email protected]>
* CryptoConvert.cs: Added support for truncated, but still valid, RSA
	private key blob. Fix #57941 (couldn't sign with nunit key).
	* RSAManaged.cs: Normalized the size of D when not present. This
	allows us to output a compatible base64 representation of 1024bits 0.

svn path=/trunk/mcs/; revision=26511
2004-05-01 16:46:01 +00:00
Sebastien Pouliot a4bc7e162c 2004-05-01 Sebastien Pouliot <[email protected]>
* CryptoConvertTest.cs: Added test case where a strongname key pair
	(RSA 1024 bits) was truncated in the last parameter (D) (i.e. the
	private key) but saved by the use of CRT (Chinese Remainder Theorem).

svn path=/trunk/mcs/; revision=26508
2004-05-01 15:36:40 +00:00
Gonzalo Paniagua Javier 1b298ca6d1 2004-05-01 Gonzalo Paniagua Javier <[email protected]>
* Socket.cs: only enable socket AIO if MONO_ENABLE_SOCKET_AIO is there.
	I will remove this once THE bug is hunted.

svn path=/trunk/mcs/; revision=26507
2004-05-01 13:20:28 +00:00
Andreas N cf4719089a 2004-05-01 Andreas Nahr <[email protected]>
* Comparer.cs: ensure culture is set to null , removed
	  static constructor, removed unneccesary checks

svn path=/trunk/mcs/; revision=26506
2004-05-01 12:45:50 +00:00
Andreas N 6bd6fd3ecb ups
svn path=/trunk/mcs/; revision=26505
2004-05-01 12:43:35 +00:00
Andreas N bf88b7ef2b 2004-05-01 Andreas Nahr <[email protected]>
* CaseInsensitiveComparer.cs: Fix the default constructor (needs to
	  set CurrentCulture, ensure culture is set to null for invariant case,
	  construct early
	* Comparer.cs: Restyle, change lineendings

svn path=/trunk/mcs/; revision=26504
2004-05-01 12:30:44 +00:00
Andreas N 5f83ba45db 2004-05-01 Andreas Nahr <[email protected]>
* CaseInsensitiveHashCodeProvider.cs
	* CaseInsensitiveComparer.cs: Change lineendings
	* CaseInsensitiveComparer.cs: Restyle

svn path=/trunk/mcs/; revision=26503
2004-05-01 11:53:01 +00:00
Andreas N d2f65ad9d1 2004-05-01 Andreas Nahr <[email protected]>
* BitArray.cs: Fix parameter names
	* CaseInsensitiveHashCodeProvider.cs: Fix signature
	* DictionaryEntry.cs: Fix parameter names
	* Hashtable.cs: Fix signatures
	* SortedList.cs: Fix signatures

svn path=/trunk/mcs/; revision=26502
2004-05-01 10:23:55 +00:00
Andreas N 361df94e59 2004-05-01 Andreas Nahr <[email protected]>
* TimeSpan.cs: Redid a lot of stuff in TimeSpan from scratch.
	  Fixes several potential bugs and makes things way faster.

svn path=/trunk/mcs/; revision=26501
2004-05-01 09:10:38 +00:00
Andreas N 7a0fcc9e3f 2004-05-01 Andreas Nahr <[email protected]>
* TimeSpan.cs: Formatting changes

svn path=/trunk/mcs/; revision=26500
2004-05-01 09:07:32 +00:00
Todd Berman 981817788f 2004-05-01 Todd Berman <[email protected]>
* ModuleBuilder.cs: Load the proper assembly for a gac-only install.

svn path=/trunk/mcs/; revision=26499
2004-05-01 08:28:54 +00:00
Duncan Mak 1e496650d1 Why am I such a loser sometimes?
svn path=/trunk/mono/; revision=26498
2004-05-01 05:52:42 +00:00
Duncan Mak 138f7a9b67 * runtime/net_1_1/Makefile.am:
* runtime/net_2_0/Makefile.am (gac_assemblies_list): Add NUnit
dlls here.
(non_gac_assemblies): Removed, every thing is migrated over to gac_assemblies.
(EXTRA_DIST): Include only gac_assemblies.
(dist_assemblies_DATA): It's referring to $(non_gac_assemblies)
and that is no gone now. So remove as well.
($(non_gac_assemblies)): Bye bye.

svn path=/trunk/mono/; revision=26497
2004-05-01 05:46:50 +00:00
Sebastien Pouliot 2eed3abb0f 2004-05-01 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Fixed path so it works with CVS.

svn path=/trunk/mcs/; revision=26496
2004-05-01 05:08:21 +00:00
Sebastien Pouliot d9e8faf864 2004-05-01 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Delay signed using Mono public key.
	* NUnit.Util.dll.sources: Added AssemblyInfo.cs to build.

svn path=/trunk/mcs/; revision=26495
2004-05-01 05:02:51 +00:00
Sebastien Pouliot 87d4372ff5 2004-05-01 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Delay signed using Mono public key.

svn path=/trunk/mcs/; revision=26494
2004-05-01 05:02:09 +00:00
Miguel de Icaza 9aabf93774 Remove from build assemblies that we no longer support. Rationale: they are not signed
svn path=/trunk/mcs/; revision=26493
2004-05-01 04:52:56 +00:00
Miguel de Icaza d3cc0dfc09 Fix
svn path=/trunk/mcs/; revision=26492
2004-05-01 04:49:59 +00:00
Miguel de Icaza 5008ca9b8d Only use the GAC
svn path=/trunk/mcs/; revision=26491
2004-05-01 04:41:14 +00:00
Miguel de Icaza 702e262e98 Make monocharge work
svn path=/trunk/mcs/; revision=26490
2004-05-01 04:19:34 +00:00
Miguel de Icaza 30213811ec update
svn path=/trunk/mcs/; revision=26489
2004-05-01 04:13:39 +00:00
Duncan Mak 6ce5133227 (gac_assemblies_list): Add
System.Web.Services. Someone accidentally took the line out.

svn path=/trunk/mono/; revision=26488
2004-05-01 04:06:55 +00:00
Todd Berman 793c192cf2 2004-05-01 Todd Berman <[email protected]>
* driver.cs: Remove '.' from path_chars, now System.* loads properly
        from the GAC

svn path=/trunk/mcs/; revision=26486
2004-05-01 03:49:21 +00:00
Jackson Harper 389f2a42bc * codegen.cs: Open keys readonly.
svn path=/trunk/mcs/; revision=26484
2004-05-01 03:00:26 +00:00
Todd Berman dbd00fe2d8 properly use /root. also, noticed the 2_0 makefile is using the 1_1 dir, not sure how intentional that is, leaving it for now.
svn path=/trunk/mono/; revision=26483
2004-05-01 00:43:21 +00:00
Todd Berman 24bdf5f03f 2004-04-30 Todd Berman <[email protected]>
* gacutil.cs: cleanup help.

svn path=/trunk/mcs/; revision=26482
2004-05-01 00:32:22 +00:00
Todd Berman 3090a7128c 2004-04-30 Todd Berman <[email protected]>
* gacutil.cs: remove /prefix, now --root and /root

svn path=/trunk/mcs/; revision=26481
2004-04-30 23:59:08 +00:00
Todd Berman eeb3228d8b 2004-04-30 Todd Berman <[email protected]>
* gacutil.cs: Change the way of handling the /prefix stuff.
        Now all gacbased operations will work with /prefix or --root. This
        *MUST* be at the end of the commandline for it to work.
        Also note, that in a Makefile changing /i to /u will not work, as the
        gac uninstalls based on AssemblyName.Name, so forexample:

        gacutil /i some/path/blah/System.dll --root /usr/lib/somefakegac

        will install and

        gacutil /u System --root /usr/lib/somefakegac

        will uninstall.

svn path=/trunk/mcs/; revision=26480
2004-04-30 23:56:58 +00:00
Miguel de Icaza a4ab6ed0d3 More verbosity
svn path=/trunk/mcs/; revision=26479
2004-04-30 23:33:08 +00:00
Miguel de Icaza ab10169107 Remove missing assemblies
Clean files
Use root argument

svn path=/trunk/mono/; revision=26478
2004-04-30 23:32:48 +00:00
Jackson Harper 9a59621e35 remove some unused, remove extension
svn path=/trunk/mono/; revision=26477
2004-04-30 23:27:38 +00:00
Todd Berman 8a7ea8757a 2004-04-30 Todd Berman <[email protected]>
* Npgsql/AssemblyInfo.cs: use the proper path to the .pub file

svn path=/trunk/mcs/; revision=26476
2004-04-30 23:22:33 +00:00
Miguel de Icaza ec6340ec21 Make argument handling decent
svn path=/trunk/mcs/; revision=26475
2004-04-30 23:14:52 +00:00
Jackson Harper 74b002224e * runtime/net_1_1/Makefile.am:
* runtime/net_2_0/Makefile.am: These assemblies are signed
        now.

svn path=/trunk/mono/; revision=26474
2004-04-30 22:07:24 +00:00
Duncan Mak 6fde2dd7fe * Npgsql/AssemblyInfo.cs: Enable delay signing, using Npgsql.pub.
* Npgsql/Npgsql.pub: Added to CVS.

svn path=/trunk/mcs/; revision=26473
2004-04-30 22:04:44 +00:00
Duncan Mak f2cc34034d Slience CVS for a bit
svn path=/trunk/mcs/; revision=26472
2004-04-30 21:57:31 +00:00
Duncan Mak 702e9d9237 2004-04-30 Duncan Mak <[email protected]>
* AssemblyInfo.cs: Added
        * ChangeLog: Added
        * Locale.cs: Added

svn path=/trunk/mcs/; revision=26471
2004-04-30 21:49:43 +00:00
Duncan Mak 268e6f3366 Added Assembly/AssemblyInfo.cs and Locale.cs to build.
2004-04-30  Duncan Mak  <[email protected]>

        * AssemblyInfo.cs: Added
        * ChangeLog: Added
        * Locale.cs: Added

svn path=/trunk/mcs/; revision=26470
2004-04-30 21:49:07 +00:00
Sebastien Pouliot 092b16491e 2004-04-30 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Now delay-signed with IBM public key.

svn path=/trunk/mcs/; revision=26469
2004-04-30 21:17:51 +00:00
Sebastien Pouliot fd3a4fb08b 2004-04-30 Sebastien Pouliot <[email protected]>
* ibm.pub: IBM public key (thanks to Victor :-)

svn path=/trunk/mcs/; revision=26468
2004-04-30 21:15:07 +00:00
Ben Maurer b3e8df5aa1 more readonly/const
svn path=/trunk/mcs/; revision=26467
2004-04-30 21:11:55 +00:00
Ben Maurer 5db92a2ab9 readonlyificate
svn path=/trunk/mcs/; revision=26466
2004-04-30 20:56:49 +00:00
Sebastien Pouliot 4ade88bc3d 2004-04-30 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Added delay-signing with Mono public key.

svn path=/trunk/mcs/; revision=26465
2004-04-30 20:52:54 +00:00
Ben Maurer bc37e00fc3 constify
svn path=/trunk/mcs/; revision=26464
2004-04-30 20:46:43 +00:00
Sebastien Pouliot 9746ca750d 2004-04-30 Sebastien Pouliot <[email protected]>
* Mono.Posix.dll.sources: Added Assembly/AssemblyInfo.cs and
	Locale.cs to build.

svn path=/trunk/mcs/; revision=26463
2004-04-30 20:41:23 +00:00
Sebastien Pouliot 71facb1b0e 2004-04-30 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Added
	* ChangeLog: Added
	* Locale.cs: Added

svn path=/trunk/mcs/; revision=26462
2004-04-30 20:40:37 +00:00
Sebastien Pouliot 9cb898a713 2004-04-30 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Use Mono public key toi delay-sign assembly.

svn path=/trunk/mcs/; revision=26461
2004-04-30 20:32:03 +00:00
Sebastien Pouliot 6ea13cfc6e 2004-04-30 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Fixing version number to match MS releases

svn path=/trunk/mcs/; revision=26460
2004-04-30 20:22:33 +00:00
Sebastien Pouliot 2e15ff8428 2004-04-30 Sebastien Pouliot <[email protected]>
* I18N.West.dll.sources: Added Assembly/AssemblyInfo.cs to build.

svn path=/trunk/mcs/; revision=26459
2004-04-30 20:17:37 +00:00
Sebastien Pouliot e9acf7e701 2004-04-30 Sebastien Pouliot <[email protected]>
* I18N.Rare.dll.sources: Added Assembly/AssemblyInfo.cs to build.

svn path=/trunk/mcs/; revision=26458
2004-04-30 20:16:53 +00:00
Sebastien Pouliot e60105ce5c 2004-04-30 Sebastien Pouliot <[email protected]>
* I18N.Other.dll.sources: Added Assembly/AssemblyInfo.cs to build.

svn path=/trunk/mcs/; revision=26457
2004-04-30 20:16:00 +00:00
Sebastien Pouliot 601c4396ff 2004-04-30 Sebastien Pouliot <[email protected]>
* I18N.MidEast.dll.sources: Added Assembly/AssemblyInfo.cs to build.

svn path=/trunk/mcs/; revision=26456
2004-04-30 20:15:14 +00:00
Sebastien Pouliot a6e9177ffb 2004-04-30 Sebastien Pouliot <[email protected]>
* I18N.dll.sources: Added Assembly/AssemblyInfo.cs to build.

svn path=/trunk/mcs/; revision=26455
2004-04-30 20:14:25 +00:00
Ben Maurer 3761545f6a 2004-04-30 Ben Maurer <[email protected]>
* BigInteger.cs: use readonly for prime array.

svn path=/trunk/mcs/; revision=26454
2004-04-30 20:13:36 +00:00
Sebastien Pouliot 9720be703b 2004-04-30 Sebastien Pouliot <[email protected]>
* I18N.CJK.dll.sources: Added Assembly/AssemblyInfo.cs to build.

svn path=/trunk/mcs/; revision=26453
2004-04-30 20:13:35 +00:00
Sebastien Pouliot 9e2667ddd3 2004-04-30 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Added
	* ChangeLog: Added

svn path=/trunk/mcs/; revision=26452
2004-04-30 20:11:54 +00:00
Sebastien Pouliot fcbb15e2c4 2004-04-30 Sebastien Pouliot <[email protected]>
* Mono.Data.TdsClient.dll.sources: Added Assembly/AssemblyInfo.cs
	and Locale.cs to build.

svn path=/trunk/mcs/; revision=26451
2004-04-30 20:10:10 +00:00
Ben Maurer 58cd296e3f oops
svn path=/trunk/mcs/; revision=26450
2004-04-30 20:09:01 +00:00
Ben Maurer 85154e396d 2004-04-30 Ben Maurer <[email protected]>
* BinaryWriter.cs, Stream.cs: ensure we have beforefieldinit.

svn path=/trunk/mcs/; revision=26449
2004-04-30 20:08:08 +00:00
Sebastien Pouliot 66d41afc3d 2004-04-30 Sebastien Pouliot <[email protected]>
* Mono.Data.SybaseClient.dll.sources: Added Assembly/AssemblyInfo.cs
	and Locale.cs to build.

svn path=/trunk/mcs/; revision=26448
2004-04-30 20:06:07 +00:00
Duncan Mak c5a6aa5768 * runtime/net_1_1/Makefile.am (non_gac_assemblies):
* runtime/net_2_0/Makefile.am (non_gac_assemblies): Added
Microsoft.Web.Services.dll

svn path=/trunk/mono/; revision=26447
2004-04-30 20:05:15 +00:00
Sebastien Pouliot 78bc6edb5d 2004-04-30 Sebastien Pouliot <[email protected]>
* Mono.Data.SqliteClient.dll.sources: Added Assembly/AssemblyInfo.cs
	and Locale.cs to build.

svn path=/trunk/mcs/; revision=26446
2004-04-30 20:02:22 +00:00
Sebastien Pouliot ed67009673 2004-04-30 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Added
	* ChangeLog: Added
	* Locale.cs: Added

svn path=/trunk/mcs/; revision=26445
2004-04-30 20:01:21 +00:00
Sebastien Pouliot a999f9d3c5 2004-04-30 Sebastien Pouliot <[email protected]>
* Mono.CSharp.Debugger.dll.sources: Added Assembly/AssemblyInfo.cs
	and Locale.cs to build.

svn path=/trunk/mcs/; revision=26444
2004-04-30 19:57:18 +00:00
Sebastien Pouliot 733e4b173e 2004-04-30 Sebastien Pouliot <[email protected]>
* Mono.Cairo.dll.sources: Added Assembly/AssemblyInfo.cs
	and Locale.cs to build.

svn path=/trunk/mcs/; revision=26443
2004-04-30 19:54:19 +00:00
Sebastien Pouliot f5fd77b49a 2004-04-30 Sebastien Pouliot <[email protected]>
* Commons.Xml.Relaxng.dll.sources: Added Assembly/AssemblyInfo.cs
	and Locale.cs to build.

svn path=/trunk/mcs/; revision=26442
2004-04-30 19:42:28 +00:00
Sebastien Pouliot b54774a0ef 2004-04-30 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Added
	* ChangeLog: Added
	* Locale.cs: Added

svn path=/trunk/mcs/; revision=26441
2004-04-30 19:41:28 +00:00
Paolo Molaro ebf0f6773c Fri Apr 30 15:54:26 EDT 2004 Paolo Molaro <[email protected]>
* mini-ppc.c: fixed typos.

svn path=/trunk/mono/; revision=26439
2004-04-30 19:13:29 +00:00
Dick Porter 5bf74d3499 2004-04-30 Dick Porter <[email protected]>
* StringInfo.cs:
	* TextElementEnumerator.cs: Implemented

svn path=/trunk/mcs/; revision=26436
2004-04-30 18:37:15 +00:00
Jackson Harper 26f394a668 * gacutil.cs: Install config files.
svn path=/trunk/mcs/; revision=26434
2004-04-30 18:01:40 +00:00
Jackson Harper a2cb7759f5 * gacutil.cs: Use invariant culture for ToLower. Patch from
Urs Muff.

svn path=/trunk/mcs/; revision=26432
2004-04-30 17:22:45 +00:00
Nick Drochak 57af64e73b 2004-05-01 Nick Drochak <[email protected]>
* ThreadTest.cs: Un-ignore some tests that seem to run pretty well
	now.  Getting one failure from these, but at least they run without
	crashing, or throwing some nasty _wapi exception thingy.

svn path=/trunk/mcs/; revision=26429
2004-04-30 16:25:21 +00:00
Ravindra 19e7ccfc13 Changed exception messages.
svn path=/trunk/mcs/; revision=26426
2004-04-30 16:20:37 +00:00
Ravindra b2ef4f74e5 Some fixes in LinearGradientBrush.cs.
svn path=/trunk/mcs/; revision=26425
2004-04-30 15:36:13 +00:00
Ravindra bf5a5cbd42 Added few more P/Invokes for lineargradientbrush.
svn path=/trunk/mcs/; revision=26424
2004-04-30 15:21:00 +00:00
Jackson Harper fd1cff9840 * Makefile: Add dependancies.
svn path=/trunk/mcs/; revision=26416
2004-04-30 13:24:17 +00:00
Sebastien Pouliot b4ce68d783 2004-04-30 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Now use mono.pub for Mono assemblies (not the ECMA key).

svn path=/trunk/mcs/; revision=26415
2004-04-30 13:10:49 +00:00
Sebastien Pouliot bdb95c4c44 2004-04-30 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Now use mono.pub for Mono assemblies (not the ECMA key).

svn path=/trunk/mcs/; revision=26414
2004-04-30 12:37:58 +00:00
Raja R Harinath e900d5c188 (clean): Quick hack to get 'make clean' to work better.
svn path=/trunk/mcs/; revision=26411
2004-04-30 12:06:58 +00:00
Jordi Mas i Hernandez bb7b29380b fixes MemoryBmp when saving images
svn path=/trunk/mcs/; revision=26410
2004-04-30 11:22:03 +00:00
Raja R Harinath d1e6b9b42f (SUBDIRS): Remove 'gmcs' for now.
(all): Simplify.

svn path=/trunk/mcs/; revision=26408
2004-04-30 11:19:08 +00:00
Umadevi S 746ac6edd1 2004-04-30 Umadevi S <[email protected]>
* DataColumnCollection.cs : Fixed nunit test errors, removed TODOs
        * DataTableCollection.cs  : Tested and removed TODO
        * TypedDataSetGeneratorException.cs : Fixed a couple of TODOs

svn path=/trunk/mcs/; revision=26407
2004-04-30 10:49:11 +00:00
Umadevi S 31ff4c172a 2004-04-30 Umadevi S ([email protected])
* Modified testcases in DataColumnCollectionTest.cs and DataRowTest.cs

svn path=/trunk/mcs/; revision=26406
2004-04-30 10:46:03 +00:00
Lluis Sanchez f92af01a01 * NewMonoXSD.cs: Import elements in the order they are declared in the schema.
svn path=/trunk/mcs/; revision=26405
2004-04-30 09:39:50 +00:00
Lluis Sanchez 9f1366ce76 * MethodResponse.cs, ReturnMessage.cs: Added null checks.
svn path=/trunk/mcs/; revision=26404
2004-04-30 09:35:47 +00:00
Lluis Sanchez 1e0b8d3c0e * HttpServer.cs: Removed dead code.
svn path=/trunk/mcs/; revision=26403
2004-04-30 09:25:15 +00:00
Lluis Sanchez c5c061ddd0 * SoapClientFormatterSink.cs: The deserialized message can be actually a
SoapFault. Taken this into account.
	* SoapMessageFormatter.cs: Added FormatFault method. In FormatResponse(),
	  the array of output parameters must also include placeholders for the
	  input parameters (set to null).
	  ParameterInfo.IsOut does not correspond to the "out" keyword in C#, but
	  to the OutAttribute applied to parameters. There can be input parameters
	  with the OutAttribute. Fixed this in a couple of places.
	  Added CreateSoapMessage method, which creates a SoapMessage including
	  the parameter types (only for responses, since for requests the target
	  method is not known).
	* SoapServerFormatterSink.cs: Use soapMsgFormatter.CreateSoapMessage to
	  create the SoapMessage.

svn path=/trunk/mcs/; revision=26402
2004-04-30 09:23:42 +00:00
Ravindra 5c7ef12360 Adding status checks in StringFormat.cs.
svn path=/trunk/mcs/; revision=26401
2004-04-30 09:18:29 +00:00
Lluis Sanchez db86a174c3 * SoapReader.cs: If the SoapMessage instance being filled includes the
array of parameter types, use those to deserialize the parameter values.
	  Use the new method SoapTypeMapper.ParseXsdValue() to parse primitive values.
	* SoapTypeMapper.cs: Added GetXsdValue and ParseXsdValue.
	* SoapWriter.cs: Always include parameter types when serializing a message.
	  MS.NET does it.

svn path=/trunk/mcs/; revision=26400
2004-04-30 09:04:06 +00:00
Sanja Gupta 096009de71 ChangeLog: Updated ChangeLog
Image.cs: Now make uniform function calls for differnt platforms.
gdipFunctions.cs: Removed *IX specific calls

svn path=/trunk/mcs/; revision=26399
2004-04-30 08:44:02 +00:00
Raja R Harinath 393bda8a4f * runtime/net_1_1/Makefile.am (gac_assemblies_list): Remove .dll
suffix.
(gac_assemblies, non_gac_assemblies, corlibdir, dist_corlib_DATA):
New variables.  Use Automake idioms.
(dist-hook): Remove.
(install-local, uninstall-local): Use mscorlib.dll from current
tree when running gacutil.
(mono_runtime): New variable.  Points to either JIT compiler or
interpreter.
Report from Bernie Solomon <[email protected]>
* runtime/net_2_0/Makefile.am: Likewise.
* runtime/Makefile.am (dist_monobins_DATA): Rename from
monobins_DATA.
(EXTRA_DIST): Remove.
* Makefile.am (fullbuild): Update to changes.

svn path=/trunk/mono/; revision=26398
2004-04-30 08:13:44 +00:00
Gonzalo Paniagua Javier 2cbb40dfe5 move previous 2 lines after checkig that we have no cycles
svn path=/trunk/mcs/; revision=26397
2004-04-30 07:49:23 +00:00
Gonzalo Paniagua Javier a86f878762 2004-04-30 Gonzalo Paniagua Javier <[email protected]>
* typemanager.cs: don't report cyclic struct layout when a struct
	contains 2 or more fields of the same type. Failed for Pango.AttrShape
	which has 2 Pango.Rectangle fields.

svn path=/trunk/mcs/; revision=26396
2004-04-30 07:47:04 +00:00
Raja R Harinath 57f1cfe8cd revert
svn path=/trunk/mcs/; revision=26395
2004-04-30 06:13:20 +00:00
Raja R Harinath cd1d7d2de5 (Attributes.GetClsCompliantAttribute):
Simplify.  Attribute.ResolveType does what we need.

svn path=/trunk/mcs/; revision=26393
2004-04-30 05:16:53 +00:00
Todd Berman 23d21079f3 2004-04-30 Todd Berman <[email protected]>
* gacutil.cs: Add a missing .Trim ()

svn path=/trunk/mcs/; revision=26392
2004-04-30 05:01:56 +00:00
Anirban Bhattacharjee cfcfff5f3d Test cases for enum
svn path=/trunk/mcs/; revision=26390
2004-04-30 04:47:23 +00:00
Jackson Harper 7222301a6a * library.make: Fix uninstall
svn path=/trunk/mcs/; revision=26389
2004-04-30 04:43:36 +00:00
Jackson Harper adbde0e4e5 flush
svn path=/trunk/mono/; revision=26388
2004-04-30 04:21:08 +00:00
Jackson Harper f0809c5c1e * runtime/net_2_0/Makefile.am:
* runtime/net_1_1/Makefile.am: /lib/mono/gac. Dont forget the
        mono.

svn path=/trunk/mono/; revision=26387
2004-04-30 04:15:47 +00:00
Ravindra c14d4cee8f Adding more checks for status.
svn path=/trunk/mcs/; revision=26386
2004-04-30 04:10:59 +00:00
Jackson Harper 86d9940104 Add sn.exe
svn path=/trunk/mono/; revision=26385
2004-04-30 04:01:25 +00:00
Bernie Solomon cc495b9376 2004-04-29 Bernie Solomon <[email protected]>
* ppc/tramp.c: use sizeof (stackval), fix
	delegate tramp frame layout for Apple

svn path=/trunk/mono/; revision=26383
2004-04-30 03:47:45 +00:00
Jackson Harper a58d0c1dff * Makefile: Put the PROFILE= stuff before the target, this is more
pleasurable to cygwin users.

svn path=/trunk/mcs/; revision=26381
2004-04-30 03:42:47 +00:00
Peter Dennis Bartok cdd3e6dafc - Fixed bug #52695
svn path=/trunk/mcs/; revision=26380
2004-04-30 03:41:46 +00:00
Sebastien Pouliot 439d0bc5c7 2004-04-30 Sebastien Pouliot <[email protected]>
* Makefile.am: regrouped security tools. corrected sn directory.

svn path=/trunk/mono/; revision=26379
2004-04-30 03:40:48 +00:00
Duncan Mak a041a911c0 Add gmcs here as well
svn path=/trunk/mono/; revision=26378
2004-04-30 03:34:53 +00:00
Duncan Mak b23c418673 ($(monobins_DATA)): Add sn.exe and sn.
svn path=/trunk/mono/; revision=26377
2004-04-30 03:32:00 +00:00
Miguel de Icaza fc17542d26 2004-04-29 Miguel de Icaza <[email protected]>
* io.c (CopyFile): Use 32k buffers to copy the file instead of 2k,
	use the stack, do not use dynamic memory.

svn path=/trunk/mono/; revision=26376
2004-04-30 02:38:59 +00:00
Ben Maurer a6f358d804 2004-04-29 Ben Maurer <[email protected]>
* expression.cs: Handle IntPtr comparisons with IL code
	rather than a method call.

svn path=/trunk/mcs/; revision=26375
2004-04-30 02:13:47 +00:00
Jackson Harper 8791774427 add gmcs.exe
svn path=/trunk/mono/; revision=26374
2004-04-30 02:06:45 +00:00
Jackson Harper d07e1e7f92 pas de line breaks
svn path=/trunk/mono/; revision=26373
2004-04-30 02:01:23 +00:00
Jackson Harper 656ae7bc85 specify a prefix to make packaging easier
svn path=/trunk/mono/; revision=26372
2004-04-30 01:55:23 +00:00
Duncan Mak 73e26b394f Add gmcs.in
svn path=/trunk/mono/; revision=26371
2004-04-30 01:30:47 +00:00
Duncan Mak 4742641781 (EXTRA_DIST, bin_SCRIPTS, CLEANFILES): Add
gmcs script.

svn path=/trunk/mono/; revision=26370
2004-04-30 01:30:33 +00:00
Jackson Harper 177383f805 * gacutil.cs: Allow a prefix to be specified. This is only for
packaging if you install to some wack prefix it wont work.

svn path=/trunk/mcs/; revision=26369
2004-04-30 01:28:47 +00:00
Jackson Harper debb0a5582 * runtime/net_2_0/Makefile.am: install 2.0 corlib to its own
special little place.

svn path=/trunk/mono/; revision=26368
2004-04-30 01:03:12 +00:00
Sebastien Pouliot c4fc0b30e9 2004-04-29 Sebastien Pouliot <[email protected]>
* DSACryptoServiceProviderTest.cs: New unit tests fo better coverage.
	* FromBase64Transform.cs: New unit tests for better coverage.
	* HashAlgorithmTest.cs: New unit tests for better coverage.
	* HMACSHA1Test.cs: New unit tests for better coverage. Updated to
	NUnit2.
	* KeyedHashAlgorithmTest.cs: Coverage already complete. Updated to
	NUnit 2.
	* SHA1Test.cs: Coverage already complete. Updated to NUnit2.
	* SHA1CryptoServiceProviderTest.cs: Coverage almost complete. Updated
	to NUnit2.
	* SHA256Test.cs: Coverage already complete. Updated to NUnit2.
	* SHA256ManagedTest.cs: Coverage already complete. Updated to NUnit2.
	* SHA384Test.cs: Coverage already complete. Updated to NUnit2.
	* SHA384ManagedTest.cs: Coverage almost complete. Updated to NUnit2.
	* SHA512Test.cs: Coverage already complete. Updated to NUnit2.
	* SHA512ManagedTest.cs: Coverage almost complete. Updated to NUnit2.

svn path=/trunk/mcs/; revision=26367
2004-04-30 00:48:45 +00:00
Sebastien Pouliot b234b4df2d 2004-04-29 Sebastien Pouliot <[email protected]>
* Makefile: (Reintroduced) Removed Mono.CSharp.Debugger.dll from
	the Windows/cygwin build as this break the Linux build.

svn path=/trunk/mcs/; revision=26366
2004-04-30 00:30:30 +00:00
Jackson Harper a9959cf1db * Makefile: net_2_0 corlib goes to a special place.
svn path=/trunk/mcs/; revision=26365
2004-04-30 00:17:44 +00:00
Martin Baulig d71ef6ed8b Enable gmcs in the net_2_0 profile.
svn path=/trunk/mcs/; revision=26364
2004-04-29 23:27:24 +00:00
Miguel de Icaza b4d9bf80c5 Flush
svn path=/trunk/mcs/; revision=26363
2004-04-29 23:20:52 +00:00
Martin Baulig be120c2189 Don't crash here ;-)
svn path=/trunk/mcs/; revision=26362
2004-04-29 23:19:20 +00:00
Martin Baulig 892deb91c0 **** Merged from MCS ****
svn path=/trunk/mcs/; revision=26361
2004-04-29 22:56:32 +00:00
Jackson Harper 9cf7559a12 * Makefile: Set MONO_PATH to use the bootstrap corlib
* driver.cs: Check the GAC for referenced assemblies.

svn path=/trunk/mcs/; revision=26360
2004-04-29 22:34:13 +00:00
Jackson Harper a229221ba5 * AssemblyInfo.cs: Set version number correctly for the bootstrap
corlib. For some reason setting key files does not work with gmcs
	and the bootstrap corlib.

svn path=/trunk/mcs/; revision=26359
2004-04-29 22:23:02 +00:00
Martin Baulig 54e1ed0735 2004-04-29 Martin Baulig <[email protected]>
* property-il.il, property-main.cs: New test for #56013.

svn path=/trunk/mcs/; revision=26358
2004-04-29 22:22:55 +00:00
Martin Baulig bfc42e49b1 2004-04-29 Martin Baulig <[email protected]>
* rules.make: Added `INTERNAL_ILASM'.

svn path=/trunk/mcs/; revision=26357
2004-04-29 22:22:01 +00:00
Martin Baulig 7e50bfc52d 2004-04-29 Martin Baulig <[email protected]>
* ecore.cs (PropertyExpr.FindAccessor): New private method.  Walk
	the list of PropertyInfo's in class hierarchy and find the
	accessor.  Fixes #56013.

svn path=/trunk/mcs/; revision=26355
2004-04-29 22:17:40 +00:00
Jackson Harper 271ea47d36 Attempt to bootstrap gmcs when the 2.0 profile is used.
svn path=/trunk/mcs/; revision=26354
2004-04-29 22:11:24 +00:00
Ben Maurer a322a8c901 constify
svn path=/trunk/mcs/; revision=26353
2004-04-29 22:10:51 +00:00
Jackson Harper 7657152ae5 use the bootstrap path to build gmcs
svn path=/trunk/mcs/; revision=26352
2004-04-29 22:10:41 +00:00
Jackson Harper 2644e617a5 .cvsignore
svn path=/trunk/mcs/; revision=26351
2004-04-29 22:07:55 +00:00
Ben Maurer 5f19f39562 ...
svn path=/trunk/mcs/; revision=26350
2004-04-29 22:05:39 +00:00
Ben Maurer 645621c057 const/readonly lovin'
svn path=/trunk/mcs/; revision=26349
2004-04-29 22:01:06 +00:00
Martin Baulig 2e0946b41b 2004-04-29 Martin Baulig <[email protected]>
* Makefile (gmcs.exe): Set MONO_PATH to use `../class/lib/net_2_0'.

svn path=/trunk/mcs/; revision=26348
2004-04-29 21:57:05 +00:00
Ben Maurer 3db65a8365 readonly-lovin'
svn path=/trunk/mcs/; revision=26347
2004-04-29 21:48:00 +00:00
Ben Maurer 6c57356507 2004-04-29 Ben Maurer <[email protected]>
* ILGenerator.cs, ModuleBuilder.cs: readonlyificate.

svn path=/trunk/mcs/; revision=26346
2004-04-29 21:42:11 +00:00
Martin Baulig 4af90009b6 Reverted back to revision 1.1
svn path=/trunk/mcs/; revision=26345
2004-04-29 21:38:00 +00:00
Ben Maurer 8bdd07e8bd 2004-04-29 Ben Maurer <[email protected]>
* Path.cs: readonlyificate.

svn path=/trunk/mcs/; revision=26344
2004-04-29 21:36:40 +00:00
Ben Maurer 9ef8c059cf 2004-04-29 Ben Maurer <[email protected]>
* FileStream.cs: constify.

svn path=/trunk/mcs/; revision=26343
2004-04-29 21:34:26 +00:00
Ben Maurer 80edecb430 2004-04-29 Ben Maurer <[email protected]>
* Activator.cs: change _flags to a const.
	* IntegerFormatter.cs: make tables readonly.
	* Convert.cs: tables readonly
	* DateTime.cs: ditto.
	* IntPtr.cs: avoid a cctor.

svn path=/trunk/mcs/; revision=26342
2004-04-29 21:31:15 +00:00
Miguel de Icaza c8c58d320c revert, it was wrong, breaks the Unix build
svn path=/trunk/mcs/; revision=26339
2004-04-29 21:02:04 +00:00
Martin Baulig 46d6f59c0e *** empty log message ***
svn path=/trunk/mcs/; revision=26338
2004-04-29 20:17:58 +00:00
Martin Baulig cef0e28eb2 2004-04-29 Martin Baulig <[email protected]>
* typemanager.cs (TypeManager.CheckStructCycles): Fixed.

svn path=/trunk/mcs/; revision=26337
2004-04-29 20:17:40 +00:00
Zoltan Varga b74d87f482 2004-04-29 Zoltan Varga <[email protected]>
* io.c: Add scandir implementation for platforms which do not have
	it, like solaris.

svn path=/trunk/mono/; revision=26333
2004-04-29 19:17:31 +00:00
Zoltan Varga a2babe924f 2004-04-29 Zoltan Varga <[email protected]>
* acconfig.h configure.in: Add check for scandir.

svn path=/trunk/mono/; revision=26331
2004-04-29 19:10:38 +00:00
Jackson Harper a16fdc275e * MonoType.cs:
* Type.cs: NET_2_0 now instead of 1_2.

svn path=/trunk/mcs/; revision=26329
2004-04-29 19:01:17 +00:00
Paolo Molaro d397777ac0 Fix stmw opcode with signed offsets.
svn path=/trunk/mono/; revision=26328
2004-04-29 18:59:24 +00:00
Juraj Skripsky d9fb2965c9 2004-04-29 Juraj Skripsky <[email protected]>
* Parser.jay: Fix rule for negative expressions.
	Add precedence rules for '<' and '>'.

svn path=/trunk/mcs/; revision=26327
2004-04-29 18:45:13 +00:00
Jackson Harper 8b03e0a826 * AssemblyInfo.cs: Add 2.0 version attributes.
svn path=/trunk/mcs/; revision=26326
2004-04-29 18:40:18 +00:00
Martin Baulig 9558365e84 Use NET_2_0', not GENERICS'.
svn path=/trunk/mcs/; revision=26325
2004-04-29 18:30:34 +00:00
Bernie Solomon ec18e6de29 2004-04-29 Bernie Solomon <[email protected]>
* transform.c (generate): missed a couple
	of places that should use ADD_CODE so buffer
	gets grown properly.

	* interp.c (interp_mono_runtime_invoke):
	restore state better on catching exception
	via longjmp here

svn path=/trunk/mono/; revision=26324
2004-04-29 18:17:23 +00:00
Jordi Mas i Hernandez 5ed6e91963 fixes save method using formatID instead of ClsID
svn path=/trunk/mcs/; revision=26322
2004-04-29 18:12:47 +00:00
Paolo Molaro 70d3c04b5d Thu Apr 29 20:15:41 CEST 2004 Paolo Molaro <[email protected]>
* mini-ppc.c, exceptions-ppc.c: more code saves registers
	at the top of the stack. Fixed typos. Use a frame registers
	for all the methods with exception clauses.

svn path=/trunk/mono/; revision=26321
2004-04-29 17:39:31 +00:00
Jackson Harper 102949fd8c * locales.c: Add some missing MONO_ARCH_SAVE_REGS'.
svn path=/trunk/mono/; revision=26320
2004-04-29 17:27:25 +00:00
Martin Baulig c80397b9f6 2004-04-29 Martin Baulig <[email protected]>
* test-248.cs: New test for #52731.

svn path=/trunk/mcs/; revision=26319
2004-04-29 17:20:12 +00:00
Martin Baulig b22fa68407 2004-04-29 Martin Baulig <[email protected]>
Applying a patch from Benjamin Jemlich <[email protected]>.

	* ecore.cs (FieldExpr.AddressOf): Make this work for valuetypes.

svn path=/trunk/mcs/; revision=26318
2004-04-29 17:19:33 +00:00
Martin Baulig 2272f0d57b New test.
svn path=/trunk/mcs/; revision=26317
2004-04-29 17:06:56 +00:00
Martin Baulig c7942e96c6 2004-04-29 Martin Baulig <[email protected]>
* class.cs (ConstructorInitializer.Resolve): Check whether the
	parent .ctor is accessible.  Fixes #52146.

svn path=/trunk/mcs/; revision=26316
2004-04-29 17:05:40 +00:00
Martin Baulig d167b7385c Ooops, make this actually work.
svn path=/trunk/mcs/; revision=26315
2004-04-29 17:03:43 +00:00
Jordi Mas i Hernandez 1a3c323141 remove dead code
svn path=/trunk/mcs/; revision=26313
2004-04-29 16:39:29 +00:00
Jackson Harper becd5f7046 optimize me baby
svn path=/trunk/mcs/; revision=26312
2004-04-29 16:33:31 +00:00
Jackson Harper 656abef537 * library.make: Use RUNTIME instead of PLATFORM_RUNTIME for the
gacutil. gacutil needs to be run on our runtime.

svn path=/trunk/mcs/; revision=26311
2004-04-29 16:27:55 +00:00
Martin Baulig 0d4171a8f7 2004-04-29 Martin Baulig <[email protected]>
Applying a patch from Benjamin Jemlich <[email protected]>.

	* statement.cs (Using.EmitLocalVariableDecls): Use
	TypeManager.idisposable_type, not typeof (IDisposable).
	(Foreach.EmitCollectionForeach): Added support for valuetypes.

svn path=/trunk/mcs/; revision=26310
2004-04-29 16:24:15 +00:00
Martin Baulig fbc1b60b34 2004-04-29 Martin Baulig <[email protected]>
* test-246.cs, test-247.cs: New tests for #52597.

svn path=/trunk/mcs/; revision=26309
2004-04-29 16:23:56 +00:00
Paolo Molaro 71c423f5cf Thu Apr 29 18:52:09 CEST 2004 Paolo Molaro <[email protected]>
* exceptions-ppc.c: restore fp registers.

svn path=/trunk/mono/; revision=26308
2004-04-29 16:13:20 +00:00
Martin Baulig a75654cf0f 2004-04-29 Martin Baulig <[email protected]>
* class.cs (Event.Define): Don't emit the field and don't set
	RTSpecialName and SpecialName for events on interfaces.  Fixes
	#57703.

svn path=/trunk/mcs/; revision=26306
2004-04-29 16:06:52 +00:00
Paolo Molaro e6950689a6 Thu Apr 29 18:26:56 CEST 2004 Paolo Molaro <[email protected]>
* mini-ppc.c, exceptions-ppc.c: save the registers in reverse
	order from the stack top (moved the stack room to save the
	return value for trace after the param area). Fixed corruption
	in restoring registers on unwind.

svn path=/trunk/mono/; revision=26305
2004-04-29 15:49:08 +00:00
Gonzalo Paniagua Javier b8d3b0940b 2004-04-29 Gonzalo Paniagua Javier <[email protected]>
* gacutil.cs: return non-zero when something fails.

svn path=/trunk/mcs/; revision=26304
2004-04-29 15:18:34 +00:00
Bernie Solomon 10e8adffcc 2004-04-29 Bernie Solomon <[email protected]>
* transform.c:
	* interp.c:
	Implement STARG for valuetypes as mcs needs it.

svn path=/trunk/mono/; revision=26303
2004-04-29 15:03:54 +00:00
Atsushi Eno 8247de8b90 2004-04-29 Atsushi Enomoto <[email protected]>
* DataRow.cs : My previous patch unintentionally reverted Boris patch.

svn path=/trunk/mcs/; revision=26302
2004-04-29 15:00:57 +00:00
Ravindra 5b520c3d83 Adding checks for status of the GDI+ P/Invokes.
svn path=/trunk/mcs/; revision=26300
2004-04-29 14:48:19 +00:00
Urs C. Muff 15b4e55bf7 Enable Mono.CSharp.Debugger for the windows build, since otherwise mcs will not be able to produce debug symbols.
svn path=/trunk/mcs/; revision=26299
2004-04-29 14:44:04 +00:00
Paolo Molaro c48e2dcc43 Thu Apr 29 16:47:15 CEST 2004 Paolo Molaro <[email protected]>
* mini-ppc.c, cpu-g4.md: fixed unisgned -> double conversion.

svn path=/trunk/mono/; revision=26297
2004-04-29 14:08:24 +00:00
Gonzalo Paniagua Javier 54fbc2cb51 2004-04-29 Gonzalo Paniagua Javier <[email protected]>
* Mono.Data.SqliteClient/SqliteCommand.cs: implement LastInsertRowId.
	* Mono.Data.SqliteClient/SqliteDataReader.cs: remove dangling ^Ms.
	Patch by Philipp <[email protected]>.

svn path=/trunk/mcs/; revision=26296
2004-04-29 13:54:32 +00:00
Gonzalo Paniagua Javier 784f3ba3b5 2004-04-29 Andreas Nahr <[email protected]>
* string-icalls.c: added low overhead function for copying chars
 	* icall.c: added needed icall for the above function

svn path=/trunk/mono/; revision=26295
2004-04-29 12:55:58 +00:00
Sebastien Pouliot 12f2db339e 2004-04-29 Sebastien Pouliot <[email protected]>
* DES.cs: Removed redundant weak/semi-weak key check in Key property.
	* DESCryptoServiceProvider.cs: Implementation already had 100%
	coverage.

svn path=/trunk/mcs/; revision=26294
2004-04-29 12:43:23 +00:00
Paolo Molaro 134f26b4c2 Thu Apr 29 13:50:51 CEST 2004 Paolo Molaro <[email protected]>
* exceptions-ppc.c, mini-ppc.h, mini-ppc.c: fixed localloc
	and prolog/epilog for methods that use it. Allow
	enough param area room for varargs methods. Fix miguel's
	breakage in exception handling.

svn path=/trunk/mono/; revision=26293
2004-04-29 11:14:03 +00:00
Anirban Bhattacharjee 526c6ba9e8 * enum.cs: bug fixing - setting one enum member to another
svn path=/trunk/mcs/; revision=26292
2004-04-29 11:07:53 +00:00
Raja R Harinath 56d34ea044 Refactor Attribute.ApplyAttributes.
* attribute.cs (Attributable): New base class for objects that can
have Attributes applied on them.
(Attribute): Make AttributeUsage fields public.
(Attribute.GetFieldValue, Attribute.GetMarshal): Make non-static.
(Attribute.IsInternalCall): New property.
(Attribute.UsageAttr): Convert to a public read-only property.
(Attribute.CheckAttributeType): Use a DeclSpace, not an	EmitContext.
(Attribute.ResolveType, Attribute.Resolve)
(Attribute.ScanForIndexerName): Update to reflect changes.
(Attribute.CheckAttributeTarget): Re-format.
(Attribute.ApplyAttributes): Refactor, to various
Attributable.ApplyAttributeBuilder methods.
* decl.cs (MemberCore): Make Attributable.
* class.cs (Accessor): Make Attributable.
(MethodData.ApplyAttributes): Use proper attribute types, not
attribute names.
(TypeContainer.LabelParameters): Pass Parameter to ApplyAttributes.
(TypeContainer.ApplyAttributeBuilder)
(Method.ApplyAttributeBuilder, Constructor.ApplyAttributeBuilder)
(Field.ApplyAttributeBuilder, Accessor.ApplyAttributeBuilder)
(PropertyBase.ApplyAttributeBuilder, Event.ApplyAttributeBuilder)
(Operator.ApplyAttributeBuilder): New factored-out methods.
* const.cs (Const.ApplyAttributeBuilder): Likewise.
* delegate.cs (Delegate.ApplyAttributeBuilder): Likewise.
* enum.cs (Enum.ApplyAttributeBuilder): Likewise.
* parameter.cs (ParameterBase): New Attributable base class
that can also represent Return types.
(Parameter): Update to the changes.

svn path=/trunk/mcs/; revision=26291
2004-04-29 11:03:59 +00:00
Marek Safar 6a329d951d 2004-04-29 Marek Safar <[email protected]>
* cs-11.cs: Renamed to cs1501-5.cs.

svn path=/trunk/mcs/; revision=26290
2004-04-29 10:50:23 +00:00
Raja R Harinath 9d302f3280 (MethodResponse.GetOutArg): Make reference to _args null-safe.
svn path=/trunk/mcs/; revision=26289
2004-04-29 10:28:56 +00:00
Paolo Molaro 7982ec0540 Ooops, wrong extension.
svn path=/trunk/mono/; revision=26288
2004-04-29 10:24:39 +00:00
Raja R Harinath 68a21db35d (MethodResponse.OutArgCount): Make reference
to _args null-safe.

svn path=/trunk/mcs/; revision=26287
2004-04-29 10:12:47 +00:00
Boris Kirzner 695cff19a1 * UniqueConstraint.cs : Constraint columns becaomes unique after adding constraint ifand only if constraint is defined on single column.
svn path=/trunk/mcs/; revision=26286
2004-04-29 10:02:04 +00:00
Marek Safar 1a332152cf 2004-04-29 Marek Safar <[email protected]>
* cs0629.cs,
	* cs1667-3.cs: 2 new error tests.

svn path=/trunk/mcs/; revision=26285
2004-04-29 10:01:20 +00:00
Paolo Molaro fc4712d839 Thu Apr 29 12:06:51 CEST 2004 Paolo Molaro <[email protected]>
* Makefile.am: run genmdesc only on current arch.

svn path=/trunk/mono/; revision=26284
2004-04-29 09:28:52 +00:00
Anirban Bhattacharjee 31e7964545 * enum.cs:
* expression.cs:
          Implemented check for access modifier in enum

svn path=/trunk/mcs/; revision=26283
2004-04-29 09:08:59 +00:00
Atsushi Eno d3424e3206 2004-04-29 Atsushi Enomoto <[email protected]>
* DataRowCollection.cs : .NET 1.1 throws InvalidConstaintException,
	  not ArgumentException (maybe changed after 1.1).

svn path=/trunk/mcs/; revision=26282
2004-04-29 08:17:55 +00:00
Atsushi Eno f7a9186bf7 2004-04-29 Atsushi Enomoto <[email protected]>
* DataRow.cs : When Column was added and it was AutoIncrement column,
	  it extended the item object array incorrectly.
	  (Plus tiny comment and incorrect indentation fix.)

svn path=/trunk/mcs/; revision=26281
2004-04-29 08:01:47 +00:00
Atsushi Eno c342dc38c5 2004-04-29 Atsushi Enomoto <[email protected]>
* DataRowTest.cs : Added a test for auto increment column and item
	  integrity (it caused index out of range exception).

svn path=/trunk/mcs/; revision=26280
2004-04-29 07:43:45 +00:00
Jackson Harper a1a7a4de52 * driver.cs: Prefer the corlib system version when looking for
assemblies in the GAC. This is still a hack, but its a better hack
	now.

svn path=/trunk/mcs/; revision=26279
2004-04-29 06:57:45 +00:00
Marek Safar c3f8a80e99 2004-04-29 Marek Safar <[email protected]>
* decl.cs, enum.cs: Improved error 3005 reporting.

	* report.cs (SymbolRelatedToPreviousError): New method for error reporting.
        (related_symbols): New private member for list of symbols
	related to reported error/warning.

	* tree.cs: Do not use now obsolete Report.LocationOfPreviousError.

svn path=/trunk/mcs/; revision=26278
2004-04-29 06:49:16 +00:00
Raja R Harinath c94c8e6b21 * runtime/Makefile.am (SUBDIRS): Build here before building subdirs.
* runtime/net_1_1/Makefile.am (gacutil): Pick from current tree.
* runtime/net_2_0/Makefile.am: Likewise.

svn path=/trunk/mono/; revision=26277
2004-04-29 06:43:25 +00:00
Raja R Harinath 75be3d94d7 * runtime/Makefile.am (monobins_DATA): Add gacutil.exe.
* runtime/net_1_1/Makefile.am (all-local): Copy
$(gac_assemblies_list) here.
(install-data-local): Install dll from $(srcdir).
* runtime/net_2_0/Makefile.am: Likewise.

svn path=/trunk/mono/; revision=26274
2004-04-29 06:33:22 +00:00
Boris Kirzner e75b2fae3f * MergeManager.cs : added ( incomplete yet ) support for merging DataSet schema.
svn path=/trunk/mcs/; revision=26270
2004-04-29 06:24:24 +00:00
Boris Kirzner 53a0234046 * DataRow.cs : Bug fix in CopyValuesToRow().
svn path=/trunk/mcs/; revision=26265
2004-04-29 06:08:25 +00:00
Boris Kirzner a26dec1728 * UniqueConstraint.cs : There is no reason to mark constraint's columns as unique, because each of the columns should not be unique, but only all the constraint's columns together.
svn path=/trunk/mcs/; revision=26262
2004-04-29 05:59:30 +00:00
Jackson Harper f43322253b * library.make: Use the proper runtime, make sure gacutil is
built.

svn path=/trunk/mcs/; revision=26261
2004-04-29 05:58:20 +00:00
Raja R Harinath 06570fc615 ($(gac_assemblies_list)): Pick libraries from 'class/lib/default',
not 'class/lib/net_1_1'.

svn path=/trunk/mono/; revision=26260
2004-04-29 05:54:01 +00:00
Raja R Harinath 687ff89de3 * Makefile.am (fullbuild): Update to changes in tree layout.
* runtime/net_1_1/Makefile.am (install-data-local): Allow empty
$(gac_assemblies_list).

svn path=/trunk/mono/; revision=26259
2004-04-29 05:36:41 +00:00
Jackson Harper 0645d871b4 * library.make: Install these bad actors to the GAC.
svn path=/trunk/mcs/; revision=26258
2004-04-29 05:30:04 +00:00
Jackson Harper 5fc4b0d052 Add 2.0 version attributes
svn path=/trunk/mcs/; revision=26254
2004-04-29 05:19:58 +00:00
Martin Baulig 10d03e419e 2004-04-29 Martin Baulig <[email protected]>
* dll-2.cs, prog-2.cs: New test for #56178.

svn path=/trunk/mcs/; revision=26248
2004-04-29 04:40:33 +00:00
Martin Baulig 622ec9166b 2004-04-29 Martin Baulig <[email protected]>
* ecore.cs (Expression.Constantify): If we're an enum and
	TypeManager.TypeToCoreType() doesn't give us another type, use
	t.UnderlyingSystemType.  Fixes #56178.

svn path=/trunk/mcs/; revision=26247
2004-04-29 04:31:01 +00:00
Gonzalo Paniagua Javier 2d16d5e1d2 2004-04-29 Gonzalo Paniagua Javier <[email protected]>
* Environment.cs: implemented GetLogicalDrives.

svn path=/trunk/mcs/; revision=26246
2004-04-29 04:11:26 +00:00
Gonzalo Paniagua Javier 0b8fa759a4 2004-04-29 Gonzalo Paniagua Javier <[email protected]>
* io-layer/io.[ch]: implemented GetLogicalDriveStrings.
	* metadata/icall.c: fix return value of get_global_assembly_cache.
	Implemented Environment.GetLogicalDrives.

svn path=/trunk/mono/; revision=26245
2004-04-29 04:10:40 +00:00
Martin Baulig c76c37466c 2004-04-29 Martin Baulig <[email protected]>
* decl.cs (MemberCache.SetupCacheForInterface): Look over all our
	interfaces and for each interface, only add members directly
	declared in that interface.  Fixes #53255.

svn path=/trunk/mcs/; revision=26244
2004-04-29 04:02:54 +00:00
Martin Baulig d1d77ab123 2004-04-29 Martin Baulig <[email protected]>
* test-245.cs: New test for #53255.

svn path=/trunk/mcs/; revision=26243
2004-04-29 03:57:38 +00:00
Jackson Harper 9b9f3cc416 * runtime/net_1_1/Makefile.am: Grab libs from proper directory, do
not assume gacutil is installed.
	* runtime/net_2_0/Makefile.am: Do not assume gacutil is
	installed.

svn path=/trunk/mono/; revision=26242
2004-04-29 03:55:46 +00:00
Todd Berman 4bc6fc2601 2004-04-29 Todd Berman <[email protected]>
* gacutil.cs: Add assembly name to installation message.

svn path=/trunk/mcs/; revision=26241
2004-04-29 03:39:15 +00:00
Jackson Harper 866d567457 * configure.in: Add new Makefile.amS
svn path=/trunk/mono/; revision=26240
2004-04-29 02:27:58 +00:00
Martin Baulig 737d26b3c0 2004-04-28 Martin Baulig <[email protected]>
* test-244.cs: New test for #52588.

svn path=/trunk/mcs/; revision=26239
2004-04-29 01:30:57 +00:00
Martin Baulig 70b2cf1f66 2004-04-28 Martin Baulig <[email protected]>
* expression.cs (ConditionalLogicalOperator): Use a temporary
	variable for `left' to avoid that we evaluate it more than once;
	bug #52588.

svn path=/trunk/mcs/; revision=26238
2004-04-29 01:30:40 +00:00
Gonzalo Paniagua Javier 2621a93295 2004-04-29 Gonzalo Paniagua Javier <[email protected]>
* exceptions-x86.c:
	* mini-x86.h: fix the build on windows.

svn path=/trunk/mono/; revision=26237
2004-04-29 01:22:40 +00:00
Jackson Harper 5655abd48d * Makefile: build the net_1_1 and net_2_0 profiles by
default.

svn path=/trunk/mcs/; revision=26235
2004-04-29 01:01:17 +00:00
Gonzalo Paniagua Javier 86a9490c12 undo. it doesn't fix anything
svn path=/trunk/mono/; revision=26234
2004-04-29 00:50:24 +00:00
Jackson Harper 41c25f13a7 * data/Makefile.am: cleanup browscap.ini
svn path=/trunk/mono/; revision=26233
2004-04-29 00:49:51 +00:00
Jackson Harper e6253dd243 * runtime/Makefile.am: libs are now in profile dependant
directories.
	* runtime/net_1_1/Makefile.am: Install and Uninstall the .net 1.1
	libs to the GAC.
	* runtime/net_2_0/Makefile.am: Install and Uninstall the .net 2.0
	libs to the GAC.

svn path=/trunk/mono/; revision=26232
2004-04-29 00:37:11 +00:00
Gonzalo Paniagua Javier 1ca9b1187c 2004-04-29 Gonzalo Paniagua Javier <[email protected]>
* mini-arch.h: fix the build on windows.

svn path=/trunk/mono/; revision=26231
2004-04-29 00:35:12 +00:00
Martin Baulig d5f072826a 2004-04-28 Martin Baulig <[email protected]>
* expression.cs (ComposedCast.DoResolveAsTypeStep): Don't allow
	`void[]' (CS1547).

svn path=/trunk/mcs/; revision=26230
2004-04-29 00:18:42 +00:00
Martin Baulig c98e865c01 New tests.
svn path=/trunk/mcs/; revision=26229
2004-04-29 00:17:54 +00:00
Martin Baulig ccf6641b26 2004-04-28 Martin Baulig <[email protected]>
* statement.cs (LocalInfo.Resolve): Check whether the type is not
	void (CS1547).

	* class.cs (MemberBase.CheckParameters, FieldBase.DoDefine): Check
	whether the type is not void (CS1547).

svn path=/trunk/mcs/; revision=26228
2004-04-29 00:10:46 +00:00
Martin Baulig 4bd054f79c 2004-04-28 Martin Baulig <[email protected]>
* expression.cs (Unary.DoResolveLValue): Override this and report
	CS0131 for anything but Operator.Indirection.

svn path=/trunk/mcs/; revision=26227
2004-04-29 00:10:32 +00:00
Miguel de Icaza f9b9bf87df Couple of other warnings out
svn path=/trunk/mono/; revision=26226
2004-04-29 00:01:10 +00:00
Bernie Solomon 0a202cbe49 2004-04-28 Bernie Solomon <[email protected]>
* configure.in: reword message re EGD support
	now it is there

svn path=/trunk/mono/; revision=26225
2004-04-29 00:00:17 +00:00
Miguel de Icaza 1d2a763879 remove a few warnings and dead code
svn path=/trunk/mono/; revision=26224
2004-04-28 23:59:00 +00:00
Miguel de Icaza 6286fb8e52 Indendation fixes, get PPC up to speed to latest API changes
svn path=/trunk/mono/; revision=26223
2004-04-28 23:50:58 +00:00
Miguel de Icaza 2e77952b32 Sencond part of the patch
svn path=/trunk/mcs/; revision=26222
2004-04-28 23:49:52 +00:00
Martin Baulig b04808f58e New test.
svn path=/trunk/mcs/; revision=26221
2004-04-28 23:46:27 +00:00
Martin Baulig d7304aaf4c 2004-04-28 Martin Baulig <[email protected]>
Committing a patch from Ben Maurer; see bug #50820.

	* typemanager.cs (TypeManager.FilterWithClosure): Added CS1540
	check for classes.

	* ecore.cs (Expression.MemberLookupFailed): Added CS1540 check for
	classes.

svn path=/trunk/mcs/; revision=26220
2004-04-28 23:29:13 +00:00
Miguel de Icaza 08a27e948f 2004-04-28 Miguel de Icaza <[email protected]>
* Applied patch from Atsushi Enomoto that allows Synchronized
	writers to have a `dont close' flag, this fixes 52094

svn path=/trunk/mcs/; revision=26219
2004-04-28 23:27:28 +00:00
Gonzalo Paniagua Javier ab74034a9d 2004-04-29 Gonzalo Paniagua Javier <[email protected]>
* config.h.in:
	* configure.in: check for field name in 'union sigval'.

	* mono/io-layer/io.c:
	* mono/io-layer/sockets.c: use the field name from configure when
	accessing sigval pointer field. Makes this work on the Mac.

svn path=/trunk/mono/; revision=26218
2004-04-28 23:03:59 +00:00
Lluis Sanchez 5040d56b4e * outline.cs: Property.GetGetMethod() does not return the method if it
is private (it did until now because of a bug). Make sure it works as it
	worked before the fix.

svn path=/trunk/mcs/; revision=26217
2004-04-28 22:29:15 +00:00
Lluis Sanchez 31d8327486 * typemanager.cs: Property.GetGetMethod() does not return the method if it
is private (it did until now because of a bug). Make sure it works as it
	worked before the fix.

svn path=/trunk/mcs/; revision=26216
2004-04-28 22:26:17 +00:00
Lluis Sanchez 1214b3ed3a * MonoProperty.cs: Property.GetGetMethod() does not return the method if it
is private (it did until now because of a bug). Make sure it works as it
	worked before the fix.

svn path=/trunk/mcs/; revision=26215
2004-04-28 22:14:53 +00:00
Lluis Sanchez 1418f55f33 * MonoCustomAttrs.cs, MonoType.cs: Property.GetGetMethod() does not return
the method if it is private (it did until now because of a bug). Make sure
	it works as it worked before the fix.
	* Type.cs: Implemented FilterAttribute delegate.

svn path=/trunk/mcs/; revision=26214
2004-04-28 22:13:25 +00:00
Lluis Sanchez 07478d04ba * Makefile: Removed unneeded System.Web.Services dependency.
svn path=/trunk/mcs/; revision=26213
2004-04-28 22:02:28 +00:00
Bernie Solomon d32bf8887e 2004-04-28 Bernie Solomon <[email protected]>
* atomic.c: (InterlockedExchange) fix typo for
	mutex name

svn path=/trunk/mono/; revision=26212
2004-04-28 21:54:04 +00:00
Bernie Solomon b238f9c5c3 2004-04-28 Bernie Solomon <[email protected]>
* rand.c: try and talk to egd or prngd
	for random bytes if opening devices fail.

svn path=/trunk/mono/; revision=26209
2004-04-28 21:51:04 +00:00
Martin Baulig d5bf41a33c 2004-04-28 Martin Baulig <[email protected]>
* statement.cs (Block.LookupLabel): Also lookup in implicit child blocks.
	(Block.AddLabel): Call DoLookupLabel() to only search in the
	current block.

svn path=/trunk/mcs/; revision=26207
2004-04-28 20:48:50 +00:00
Bernie Solomon 35b20cc565 2004-04-28 Bernie Solomon <[email protected]>
* transform.c: Make sure ENSURE_I4 does something
	32 bit machines too.
	(mono_interp_transform_method): allow some stack
	space for tracing to work.

svn path=/trunk/mono/; revision=26206
2004-04-28 20:46:37 +00:00
Lluis Sanchez 0243460628 * TypeDescriptor.cs: Do not return attributes that have the same TypeID.
This fixes bug #57655.

svn path=/trunk/mcs/; revision=26204
2004-04-28 20:21:55 +00:00
Martin Baulig f7dd6a8b14 Small fix.
svn path=/trunk/mcs/; revision=26203
2004-04-28 19:54:28 +00:00
Martin Baulig f37066aedd 2004-04-28 Martin Baulig <[email protected]>
* cfold.cs (ConstantFold.BinaryFold): Added special support for
	comparing StringConstants and NullLiterals in Equality and Inequality.

svn path=/trunk/mcs/; revision=26202
2004-04-28 19:44:09 +00:00
Sebastien Pouliot 537b1f30a1 2004-04-28 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Now use the mono.pub key for delay-signing.

svn path=/trunk/mcs/; revision=26200
2004-04-28 19:26:21 +00:00
Martin Baulig 71ce0f66da Adding it again as a binary.
svn path=/trunk/mcs/; revision=26199
2004-04-28 19:25:58 +00:00
Martin Baulig 8fdc359cc7 Removing.
svn path=/trunk/mcs/; revision=26198
2004-04-28 19:25:43 +00:00
Sebastien Pouliot 3ecf312dc4 2004-04-28 Sebastien Pouliot <[email protected]>
* Mono.Data.Tds.dll.sources: Added Assembly/AssemblyInfo.cs and
	Locale.cs to the build.

svn path=/trunk/mcs/; revision=26195
2004-04-28 19:24:42 +00:00
Sebastien Pouliot 3870af671b 2004-04-28 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Added
	* ChangeLog: Added
	* Locale.cs: Added

svn path=/trunk/mcs/; revision=26194
2004-04-28 19:24:01 +00:00
Zoltan Varga 13105fe6e4 2004-04-28 Zoltan Varga <[email protected]>
* pinvoke2.cs libtest.c: New tests for long fields inside structs.

svn path=/trunk/mono/; revision=26193
2004-04-28 19:15:05 +00:00
Martin Baulig 8b26754ee7 Added our Mono public key.
svn path=/trunk/mcs/; revision=26191
2004-04-28 19:13:09 +00:00
Jackson Harper da30c35395 * driver.cs: Attempt to load referenced assemblies from the
GAC. This is the quick and dirty version of this method that
	doesnt take into account versions and just takes the first
	canidate found. Will be good enough for now as we will not have more
	then one version installed into the GAC until I update this
	method.

svn path=/trunk/mcs/; revision=26190
2004-04-28 19:01:06 +00:00
Zoltan Varga 40188a9bbf 2004-04-28 Zoltan Varga <[email protected]>
* marshal.c (mono_marshal_load_type_info): Calculate the minimum
	alignment for the type using the native alignment of its members
	instead of using klass->min_align.

svn path=/trunk/mono/; revision=26189
2004-04-28 18:53:13 +00:00
Martin Baulig c93afff024 Don't check for cycles in builtin types while compiling corlib.
svn path=/trunk/mcs/; revision=26188
2004-04-28 18:46:32 +00:00
Lluis Sanchez 6d68a94581 * MessageFormatter.cs: Serialize Args, not OutArgs, like in MS.NET.
svn path=/trunk/mcs/; revision=26187
2004-04-28 18:41:10 +00:00
Lluis Sanchez 7a1bf072da * CADMessages.cs: Revert last change. It was ok.
* MethodResponse.cs, ReturnMessage.cs: Handle output parameters in a
	  different way. The message is constructed from an array that has all
	  parameters, including input parameters (which will be set to null).
	  The Args property returns all arguments. OutArgs returns only the
	  output arguments, which are taken from the provided args list.

svn path=/trunk/mcs/; revision=26186
2004-04-28 18:39:26 +00:00
Lluis Sanchez e9b7d5bc33 * RemotingServices.cs: When create a ReturnMessage, provide an array with
all parameters, including input parameters.

svn path=/trunk/mcs/; revision=26185
2004-04-28 18:37:47 +00:00
Gonzalo Paniagua Javier 592ce119d7 no need to have gacutil.exe here. Reference System.Xml for EnumCheck.exe
svn path=/trunk/mcs/; revision=26184
2004-04-28 18:30:10 +00:00
Zoltan Varga 30adea7bb1 Remove conflict indicators.
svn path=/trunk/mono/; revision=26183
2004-04-28 18:03:05 +00:00
Zoltan Varga 6e199a9222 2004-04-28 Zoltan Varga <[email protected]>
* metadata.c (mono_type_stack_size): Fix size of TYPEDBYREF.

svn path=/trunk/mono/; revision=26182
2004-04-28 18:02:23 +00:00
Jackson Harper ebe88ceace * scripts/Makefile.am:
* scripts/gacutil.in: Add a gacutil script

svn path=/trunk/mono/; revision=26181
2004-04-28 17:53:53 +00:00
Jackson Harper 07688f781c * Makefile: Add gacutil to the build
svn path=/trunk/mcs/; revision=26179
2004-04-28 17:46:44 +00:00
Martin Baulig cd034e28a8 Ooops.
svn path=/trunk/mcs/; revision=26178
2004-04-28 17:46:40 +00:00
Martin Baulig a59cdc0103 2004-04-28 Martin Baulig <[email protected]>
* typemanager.cs (TypeManager.CheckStructCycles): New public
	static method to check for cycles in the struct layout.

	* rootcontext.cs (RootContext.PopulateTypes): Call
	TypeManager.CheckStructCycles() for each TypeContainer.
	[Note: We only need to visit each type once.]

svn path=/trunk/mcs/; revision=26177
2004-04-28 17:21:02 +00:00
Andreas N 95458f0f4b 2004-04-28 Andreas Nahr <[email protected]>
* IntegerFormatter.cs: Prevent the use of the explicit static constuctor

svn path=/trunk/mcs/; revision=26176
2004-04-28 16:40:52 +00:00
Martin Baulig 8d92643a42 2004-04-28 Martin Baulig <[email protected]>
* test-243.cs: New test for #57014.

svn path=/trunk/mcs/; revision=26175
2004-04-28 16:32:17 +00:00
Martin Baulig c5cbe53e87 2004-04-27 Martin Baulig <[email protected]>
* test-154.cs: Added test case for #52625.

svn path=/trunk/mcs/; revision=26174
2004-04-28 16:31:50 +00:00
Martin Baulig 1635409484 2004-04-28 Martin Baulig <[email protected]>
* constant.cs (StringConstant.Emit): Emit Ldnull if we're null.

	* const.cs (Const.LookupConstantValue): Return a `bool' signalling
	success and added `out object value'.  Use a `bool resolved' field
	to check whether we've already been called rather than
	`ConstantValue != null' since this breaks for NullLiterals.

svn path=/trunk/mcs/; revision=26173
2004-04-28 16:30:35 +00:00
Anirban Bhattacharjee a8344479e2 * expression.cs: fixed bug to get enum running
* enum.cs: handling several negative scenarios
             Changed several exception numbers
  * assign.cs: Changed exception number

svn path=/trunk/mcs/; revision=26172
2004-04-28 15:54:48 +00:00
Gonzalo Paniagua Javier 4b73dd9390 2004-04-28 Gonzalo Paniagua Javier <[email protected]>
* DigestAuthenticationModule.cs: introduces new overridable method
	GetUserByName(), which by default works exactly like it used to, but
	inherited classes can implement their own version. Patch by Tambet Ingo.

svn path=/trunk/mcs/; revision=26171
2004-04-28 15:45:27 +00:00
Sebastien Pouliot 109ef4ee99 2004-04-28 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Re-activated ClsCompliant(true).

svn path=/trunk/mcs/; revision=26170
2004-04-28 15:25:20 +00:00
Sebastien Pouliot 759e9077d7 2004-04-28 Sebastien Pouliot <[email protected]>
* AuthenticodeDeformatter.cs: In sync with Mono.Security.dll version.

svn path=/trunk/mcs/; revision=26169
2004-04-28 14:43:34 +00:00
Sebastien Pouliot f14ede09cd 2004-04-28 Sebastien Pouliot <[email protected]>
* SequentialSearchPrimeGeneratorBase.cs: In sync with
	Mono.Security.dll version.

svn path=/trunk/mcs/; revision=26168
2004-04-28 14:42:20 +00:00
Sebastien Pouliot 50d63734de 2004-04-28 Sebastien Pouliot <[email protected]>
* X509SpcTest.cs: Commented tests as the root certificates aren't part
	of the Mono trusted store.

svn path=/trunk/mcs/; revision=26167
2004-04-28 14:39:53 +00:00
Gonzalo Paniagua Javier d46235062d 2004-04-28 Gonzalo Paniagua Javier <[email protected]>
* config.h.in:
	* configure.in:
	* mono/io-layer/io.c:
	* mono/io-layer/sockets.c:
	* mono/metadata/file-io.c:
	* mono/metadata/socket-io.c: added check for sys/aio.h.

svn path=/trunk/mono/; revision=26166
2004-04-28 14:39:15 +00:00
Sebastien Pouliot b40162af9b 2004-04-28 Sebastien Pouliot <[email protected]>
* corlib.dll.sources: Added X509ChainStatusFlags, X509CRL, X509Store,
	X509StoreManager, X509Stores, BasicConstraintsExtension,
	KeyUsageExtension and SubjectKeyIdentifierExtension to the build.
	Removed ITrustAnchors.cs, TestAnchors.cs and TrustAnchors from the
	build.

svn path=/trunk/mcs/; revision=26165
2004-04-28 14:36:44 +00:00
Sebastien Pouliot 2b3369fd91 2004-04-28 Sebastien Pouliot <[email protected]>
* DSACryptoServiceProvider.cs: Changed delegate signature.
	* RSACryptoServiceProvider.cs: Changed delegate signature.

svn path=/trunk/mcs/; revision=26164
2004-04-28 14:32:36 +00:00
Sebastien Pouliot e3d26d5a02 2004-04-28 Sebastien Pouliot <[email protected]>
* BasicConstaintExtension.cs: New in corlib. In sync with
	Mono.Security.dll version.
	* KeyUsageExtension.cs: New in corlib. In sync with Mono.Security.dll
	version.
	* SubjectKeyIdentifierExtension.cs: New in corlib. In sync with
	Mono.Security.dll version.

svn path=/trunk/mcs/; revision=26163
2004-04-28 14:30:30 +00:00
Sebastien Pouliot 5ec432e710 2004-04-28 Sebastien Pouliot <[email protected]>
* X501Name.cs: In sync with Mono.Security.dll version.
	* X509CRL.cs: New in corlib. In sync with Mono.Security.dll version.
	* X509Certificate.cs: In sync with Mono.Security.dll version.
	* X509CertificateCollection.cs: In sync with Mono.Security.dll version.
	* X509Chain.cs: In sync with Mono.Security.dll version.
	* X509ChainStatusFlag.cs: New in corlib. In sync with Mono.Security.dll
	version.
	* X509Extension.cs: In sync with Mono.Security.dll version.
	* X509Extensions.cs: In sync with Mono.Security.dll version.
	* X509Store.cs: New in corlib. In sync with Mono.Security.dll version.
	* X509StoreManager.cs: New in corlib. In sync with Mono.Security.dll version.
	* X509Stores.cs: New in corlib. In sync with Mono.Security.dll version.
	* X520Attributes.cs: In sync with Mono.Security.dll version.

svn path=/trunk/mcs/; revision=26162
2004-04-28 14:27:30 +00:00
Sebastien Pouliot 1ef79845d6 2004-04-28 Sebastien Pouliot <[email protected]>
* CryptoConvert.cs: In sync with Mono.Security.dll version.
	* CryptoTools.cs: In sync with Mono.Security.dll version.
	* DSAManaged.cs: Changed delegate to please FxCop.
	* PKCS1.cs: In sync with Mono.Security.dll version.
	* RSAManaged.cs: In sync with Mono.Security.dll version.

svn path=/trunk/mcs/; revision=26161
2004-04-28 14:20:26 +00:00
Sebastien Pouliot 1745a13d21 2004-04-28 Sebastien Pouliot <[email protected]>
* AuthenticodeBase.cs: In sync with Mono.Security.dll version.

svn path=/trunk/mcs/; revision=26160
2004-04-28 14:17:04 +00:00
Sebastien Pouliot 1c15105669 2004-04-28 Sebastien Pouliot <[email protected]>
* ASN1.cs: In sync with Mono.Security.dll version.
	* ASN1Convert.cs: In sync with Mono.Security.dll version.
	* PKCS7.cs: In sync with Mono.Security.dll version.
	* StrongName.cs: In sync with Mono.Security.dll version.

svn path=/trunk/mcs/; revision=26159
2004-04-28 14:15:28 +00:00
Sebastien Pouliot 9cba2c0001 2004-04-28 Sebastien Pouliot <[email protected]>
* NextPrimeFinder.cs: In sync with Mono.Security.dll version.
	* PrimeGeneratorBase.cs: In sync with Mono.Security.dll version.

svn path=/trunk/mcs/; revision=26158
2004-04-28 14:12:51 +00:00
Sebastien Pouliot 8161b435c0 2004-04-28 Sebastien Pouliot <[email protected]>
* PrimalityTests.cs: In sync with Mono.Security.dll version.

svn path=/trunk/mcs/; revision=26157
2004-04-28 14:10:59 +00:00
Sebastien Pouliot 91ce8a6e3e 2004-04-28 Sebastien Pouliot <[email protected]>
* BigInteger.cs: In sync with Mono.Security.dll version.

svn path=/trunk/mcs/; revision=26156
2004-04-28 14:09:20 +00:00
Patrik Torstensson efd223c3f1 2004-04-28 Patrik Torstensson
* HttpApplicationState.cs: Performance, usage of ReaderWriter lock,
	removed MonoTodo

svn path=/trunk/mcs/; revision=26155
2004-04-28 14:05:11 +00:00
Sebastien Pouliot 34612c2260 2004-04-28 Sebastien Pouliot <[email protected]>
* KeyUsageExtension.cs: Added missing INSIDE_CORLIB to enum.

svn path=/trunk/mcs/; revision=26154
2004-04-28 13:59:06 +00:00
Sebastien Pouliot 2d7978cee9 2004-04-28 Sebastien Pouliot <[email protected]>
* AuthenticodeBase.cs: Added missing (overwritten) #if INSIDE_CORLIB
	directives to hides type and enum in corlib.

svn path=/trunk/mcs/; revision=26153
2004-04-28 13:54:09 +00:00
Sanja Gupta ef1ee6e268 ImageCodecInfo.cs: Removed unwanted characters which crept in bcos of my carelessness.
svn path=/trunk/mcs/; revision=26148
2004-04-28 13:37:06 +00:00
Sebastien Pouliot 4fc0645385 2004-04-28 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Uncommented assembly key file attribute as MCS can
	now strongname assembly. This makes Mono.Http compile with CSC (now
	that Mono.Http is also strongnamed).

svn path=/trunk/mcs/; revision=26147
2004-04-28 13:36:50 +00:00
Gonzalo Paniagua Javier 2cc683aa8d 2004-04-28 Gonzalo Paniagua Javier <[email protected]>
* error.[ch]: added _wapi_get_win32_file_error...
	* io.c: ... which was _wapi_get_win32_error here.
	* sockets.c: rename the function calls here too.

svn path=/trunk/mono/; revision=26146
2004-04-28 13:31:48 +00:00
Sanja Gupta 6c4e289c38 ChangeLog: Updated ChangeLog
Modified Files: Converted from dos2unix format

 Modified Files:
 	BitmapData.cs ChangeLog ColorAdjustType.cs ColorChannelFlag.cs
 	ColorMap.cs ColorMapType.cs ColorMatrix.cs ColorMatrixFlag.cs
 	ColorMode.cs ColorPalette.cs EmfPlusRecordType.cs EmfType.cs
 	Encoder.cs EncoderParameter.cs EncoderParameterValueType.cs
 	EncoderParameters.cs EncoderValue.cs FrameDimension.cs
 	ImageAttributes.cs ImageCodecFlags.cs ImageCodecInfo.cs
 	ImageFlags.cs ImageFormat.cs ImageLockMode.cs MetaHeader.cs
 	Metafile.cs MetafileFrameUnit.cs MetafileHeader.cs
 	MetafileType.cs PaletteFlags.cs PixelFormat.cs
 	PlayRecordCallback.cs PropertyItem.cs
 	WmfPlaceableFileHeader.cs

svn path=/trunk/mcs/; revision=26145
2004-04-28 13:21:54 +00:00
Sanja Gupta 1e10204eff ChangeLog: Updated ChangeLog
ColorTranslator.cs, StringFormat.cs, SystemIcons.cs,ToolboxBitmapAttribute.cs:
Converted to unix format from dos format

svn path=/trunk/mcs/; revision=26144
2004-04-28 12:58:23 +00:00
Sebastien Pouliot 688721f002 2004-04-28 Sebastien Pouliot <[email protected]>
* corlib_test.dll.sources: Added DESCryptoServiceProviderTest.cs.

svn path=/trunk/mcs/; revision=26143
2004-04-28 12:57:02 +00:00
Sebastien Pouliot fc73420e28 2004-03-28 Sebastien Pouliot <[email protected]>
* DESCryptoServiceProviderTest.cs: New. Completes coverage for
	DESCryptoServiceProvider class. Calls the FIPS 81 tests for this
	implementation.
	* DESTest.cs: Added test vectors from FIPS 81.

svn path=/trunk/mcs/; revision=26142
2004-04-28 12:54:53 +00:00
Sanja Gupta e1a9ba90c1 ChangeLog: Updated ChangeLog.
ImageConverter.cs: Implemented GetProperties() and GetPropertiesSupported() methods.

svn path=/trunk/mcs/; revision=26141
2004-04-28 12:51:44 +00:00
Zoltan Varga 1502a80419 2004-04-28 Zoltan Varga <[email protected]>
* Makefile.am mini.h mini-exceptions.c mini-x86.h mini-sparc.h exceptions-sparc.c: Move parts of the sparc exception handling code to XP code.

svn path=/trunk/mono/; revision=26140
2004-04-28 12:49:44 +00:00
Sebastien Pouliot 9a9983c077 2004-04-28 Sebastien Pouliot <[email protected]>
* SymmetricTransform.cs: Fixed bug when offset > 0 in destination
	buffer.

svn path=/trunk/mcs/; revision=26139
2004-04-28 12:44:22 +00:00
Sebastien Pouliot 49522e9076 2004-04-28 Sebastien Pouliot <[email protected]>
* SymmetricTransform.cs: Fixed a bug when offset > 0 in destination
	buffer. Changed Array.Copy to Buffer.BlockCopy.

svn path=/trunk/mcs/; revision=26138
2004-04-28 12:42:41 +00:00
Jordi Mas i Hernandez 50ef6981e5 remove C sharp based codec info
svn path=/trunk/mcs/; revision=26137
2004-04-28 12:22:16 +00:00
Dick Porter 7486fe18a0 Whoops, need to change pthread_mutex functions to mono_mutex here.
svn path=/trunk/mono/; revision=26136
2004-04-28 12:15:11 +00:00
Sebastien Pouliot e7e787e337 2004-04-28 Sebastien Pouliot <[email protected]>
* DSA.cs: Moved XML comments to monodoc. Added globalization to
	exceptions. Already had 100% coverage.
	* DSAParameters.cs: Moved XML comments to monodoc.
	* DSASignatureDeformetter.cs: Added globalization to exceptions.
	Limited catch to expected exception. Already had 100% coverage.
	* DSASignatureFormatter.cs: Added globalization to exceptions. Limited
	catch to expected exception. Already had 100% coverage.

svn path=/trunk/mcs/; revision=26135
2004-04-28 12:11:16 +00:00
Zoltan Varga 48ebc4ea55 2004-04-28 Zoltan Varga <[email protected]>
* exceptions-sparc.c exceptions-ppc.c exceptions-s390.c mini-ppc.h mini-s390.h mini-sparc.h: Fix up ports after changes.

svn path=/trunk/mono/; revision=26133
2004-04-28 12:08:14 +00:00
Dick Porter 7bd3d2f57b 2004-04-28 Dick Porter <[email protected]>
* threads.c: Don't abort a thread thats already aborting, when
	terminating everything.

svn path=/trunk/mono/; revision=26132
2004-04-28 11:55:04 +00:00
Zoltan Varga 6a78753dd7 2004-04-28 Zoltan Varga <[email protected]>
* corlib.dll.sources: Added System.Reflection.Emit/MethodRental.cs.

	* corlib_test.dll.sources: Added Test/System.Reflection.Emit/MethodRentalTest.cs.

svn path=/trunk/mcs/; revision=26131
2004-04-28 11:00:49 +00:00
Dick Porter 37abb73efe 2004-04-28 Dick Porter <[email protected]>
* daemon-messages.c: Avoid a deadlock when a thread is killed while
	waiting for the daemon by using a recursive mutex.  Helps bug 56699.

svn path=/trunk/mono/; revision=26130
2004-04-28 10:48:44 +00:00
Raja R Harinath f9199c3841 (test_flags): NUnit.Framework.dll is now in
class/lib/$(PROFILE).

** YA Quick fix for breaking mcs/ tree

svn path=/trunk/mcs/; revision=26129
2004-04-28 10:24:50 +00:00
Raja R Harinath 5b890173c5 (Driver.MainDriver) [IsModuleOnly]: Open code the
setting of this flag, since the 'set' method may be non-public.

** Quick fix for breaking mcs/ build: mcs/errors/CS3013-module.cs
   See corlib/System.Reflection/ChangeLog
   2004-04-27  Lluis Sanchez Gual  <[email protected]>

svn path=/trunk/mcs/; revision=26128
2004-04-28 10:09:15 +00:00
Jordi Mas i Hernandez 410a1889ad fixes method signature
svn path=/trunk/mcs/; revision=26127
2004-04-28 09:53:51 +00:00
Zoltan Varga 3d758470a8 2004-04-28 Zoltan Varga <[email protected]>
* mini-exceptions.c: New file.

	* mini.c mini-exceptions.c mini-x86.h exceptions-x86.c Makefile.am:
	Move some parts of the x86 exception handling code to an
	arch-independent file so it can be shared with other ports.

svn path=/trunk/mono/; revision=26126
2004-04-28 09:41:22 +00:00
Ravindra a8a1eee996 Implemented ImageAttributes.SetWrapMode method.
svn path=/trunk/mcs/; revision=26125
2004-04-28 09:36:32 +00:00
Jordi Mas i Hernandez f7df114f5c ImageCodecs sample
svn path=/trunk/mcs/; revision=26124
2004-04-28 09:18:54 +00:00
Jordi Mas i Hernandez acf920e23f Codecs use gdi+ and fixes
svn path=/trunk/mcs/; revision=26123
2004-04-28 09:08:30 +00:00
Jordi Mas i Hernandez 476ea6ebd4 fixes typo
svn path=/trunk/mono/; revision=26122
2004-04-28 08:41:02 +00:00
Raja R Harinath 66d6415c5d (FlowBranchingException.LookupLabel): Add a null
check on current_vector.Block.

** Quick fix for breaking mcs/ build (tools/monop/monop.cs).

svn path=/trunk/mcs/; revision=26121
2004-04-28 08:07:00 +00:00
Alon Gazit 3b474d99b6 fixed LoadViewState() implementation.
Always loading the saved attributes collection.

svn path=/trunk/mcs/; revision=26120
2004-04-28 07:55:39 +00:00
Boris Kirzner 6edb8c8ad1 * ColumnReference.cs : using DataRow _inExpressionEvaluation before accessing row value to get an access to deleted rows also.
svn path=/trunk/mcs/; revision=26119
2004-04-28 07:39:07 +00:00
Boris Kirzner ac96d95467 * DataRow.cs :
- Perfomance fixes:
  - Added using of list of autoIncrement columns
  - SetColumnValue receives also DataColumn to avoid duplicate lookup in DatacolumnCollection
  - Fix in CheckNullConstraints
  - Fix in this[] and HasVersion() : when evaluating an expression deleted rows values can be accessed.
  - Fix in SetColumnValue() , added CanAccess() method to avoid case of accessing internal array values berore it actually allocated.
  - Added onColumnRemoved() method to threat column removal accurately.

* DataRowCollection.cs :
  - Added using of DataRow._nullConstraintViolation (for perfomance fix in EndLoadData())
  - Added method onColumnRemoved() - calls each row's onColumnRemoved() (to ensure column removal is treated accurately)

* DataTable.cs :
  - Call DataRowCollection.onColumnRemoved() in OnRemoveColumn() (to ensure column removal is treated accurately)

* DataColumnCollection.cs :
  - Perfomance fixes :
     - collection holds a list of its autoIncrement columns (avoids unnesessary lookup through whole collection)
     - collection holds mapping from column names to DataColumn objects (avoids lookup through whole collection).
     - automatic creation of column names rewrited (bug fixes + perfomance improvement)

* DataColumn.cs :
  - Uses autoincrement list of a table

svn path=/trunk/mcs/; revision=26118
2004-04-28 07:35:15 +00:00
Sanja Gupta 7a9a226722 ChangeLog: Updated ChangeLog
ImageFormat.cs: Implemented Equals() method

svn path=/trunk/mcs/; revision=26117
2004-04-28 06:47:41 +00:00
Sanja Gupta d9230a0d71 ChangeLog: Updated ChangeLog
ImageFormatConverter.cs: Corrected ConvertFrom() method.

svn path=/trunk/mcs/; revision=26116
2004-04-28 06:45:10 +00:00
Urs C. Muff 4bffd776c2 cleanup
svn path=/trunk/mcs/; revision=26115
2004-04-28 04:23:32 +00:00
Urs C. Muff c3969c1f6a cleanup
svn path=/trunk/mono/; revision=26114
2004-04-28 03:59:07 +00:00
Sebastien Pouliot e2c7b743a1 2004-04-28 Sebastien Pouliot <[email protected]>
* System.Data.SqlXml.dll.sources: Added Assembly/AssemblyInfo.cs
	and Locale.cs to the build.

svn path=/trunk/mcs/; revision=26112
2004-04-28 03:45:40 +00:00
Gonzalo Paniagua Javier 8c47468687 2004-04-28 Gonzalo Paniagua Javier <[email protected]>
* io-layer/io.c: fixed leak in async_notifier().

	* io-layer/sockets.[ch]: added AIO support for sockets and fixed
	WSAIoctl declaration.

	* io-layer/threads.c: removed old comment.

	* metadata/icall.c: added 2 new async calls for Socket.

	* metadata/socket-io.[ch]: fixed some warnings. Added support for
	asynchronous IO on *nix systems.

	* metadata/threadpool.c: removed unused variable.

svn path=/trunk/mono/; revision=26111
2004-04-28 03:45:35 +00:00
Gonzalo Paniagua Javier 53beb817a2 2004-04-28 Gonzalo Paniagua Javier <[email protected]>
* Socket.cs: added support for unmanaged asynchronous IO. Speed up
	error checking.
	* UdpClient.cs: fixed Dispose so that it only closes the socket when
	called explicitly.

svn path=/trunk/mcs/; revision=26110
2004-04-28 03:45:16 +00:00
Sebastien Pouliot c5141f5acf 2004-04-28 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Added
	* ChangeLog: Added
	* Locale.cs: Added
	* TODOAttribute.cs: Added

svn path=/trunk/mcs/; revision=26109
2004-04-28 03:43:11 +00:00
Sebastien Pouliot f7c9f34274 2004-04-28 Sebastien Pouliot <[email protected]>
* Microsoft.VSA.dll.sources: Added Assembly/AssemblyInfo.cs and
	Locale.cs to the build.

svn path=/trunk/mcs/; revision=26108
2004-04-28 03:41:07 +00:00
Sebastien Pouliot aeb7c5d12a 2004-04-28 Sebastien Pouliot <[email protected]>
* Microsoft.VisualC.dll.sources: Added Assembly/AssemblyInfo.cs,
	Locale.cs and TODO to the build.

svn path=/trunk/mcs/; revision=26107
2004-04-28 03:36:37 +00:00
Sebastien Pouliot a9dd9c1b9d 2004-04-28 Sebastien Pouliot <[email protected]>
* Microsoft.JScript.dll.sources: Added Assembly/AssemblyInfo.cs and
	Locale.cs to the build.

svn path=/trunk/mcs/; revision=26106
2004-04-28 03:33:11 +00:00
Sebastien Pouliot 15e2805931 2004-04-26 Sebastien Pouliot <[email protected]>
* System.Runtime.InteropServices.CustomMarshalers.dll.sources:
	Added Assembly/AssemblyInfo.cs, Locale.cs and TODO to the build.

svn path=/trunk/mcs/; revision=26105
2004-04-28 03:28:19 +00:00
Ben Maurer 1b4780d167 a bit cleaner
svn path=/trunk/mcs/; revision=26104
2004-04-28 03:24:03 +00:00
Raja R Harinath 0bdb6e720b (SetCustomAttribute): Handle the presence of the
full type name in the data stream.  This is emitted for value
types by the Mono runtime.

svn path=/trunk/mcs/; revision=26103
2004-04-28 03:21:10 +00:00
Ben Maurer e851148e6d 2004-04-27 Ben Maurer <[email protected]>
* outline.cs: Don't show the interfaces of an enum,
	s/;/, for enum. Style cop.

svn path=/trunk/mcs/; revision=26102
2004-04-28 03:15:22 +00:00
Sebastien Pouliot 3bdcf2d791 2004-04-27 Sebastien Pouliot
* AssemblyInfo.cs: Changed public key to mswse.pub to match MS

svn path=/trunk/mcs/; revision=26101
2004-04-28 03:13:33 +00:00
Sebastien Pouliot 5e8a2bc0a4 2004-04-27 Sebastien Pouliot
* AssemblyInfo.cs: Changed public key to msfinal.pub to match MS

svn path=/trunk/mcs/; revision=26100
2004-04-28 03:10:42 +00:00
John Luke 4bcccdc4b2 add enum improvement
and type name kinds

svn path=/trunk/mcs/; revision=26098
2004-04-28 02:55:24 +00:00
Martin Baulig d35fe3d88d 2004-04-27 Martin Baulig <[email protected]>
* expression.cs (BaseAccess.CommonResolve): Don't allow `base' in
	a field initializer.  Fixes #56459.

svn path=/trunk/mcs/; revision=26097
2004-04-28 02:55:04 +00:00
Sebastien Pouliot 367da590d0 2004-04-27 Sebastien Pouliot
* AssemblyInfo.cs: Changed public key to msfinal.pub to match MS

svn path=/trunk/mcs/; revision=26096
2004-04-28 02:47:15 +00:00
Martin Baulig ade4bb3964 New tests for bug #52154.
svn path=/trunk/mcs/; revision=26095
2004-04-28 02:46:59 +00:00
Martin Baulig 8312ede90e 2004-04-27 Martin Baulig <[email protected]>
* ecore.cs (PropertyExpr.DoResolve/DoResolveLValue): Check whether
	we're not attempting to use an indexer.  Fixes #52154.

svn path=/trunk/mcs/; revision=26094
2004-04-28 02:46:25 +00:00
Martin Baulig 753818777e 2004-04-27 Martin Baulig <[email protected]>
* statement.cs (Return): Don't create a return label if we don't
	need it; reverts my change from January 20th.  Thanks to Ben
	Maurer for this.

svn path=/trunk/mcs/; revision=26090
2004-04-28 01:06:18 +00:00
Martin Baulig a101870c02 2004-04-27 Martin Baulig <[email protected]>
According to the spec, `goto' can only leave a nested scope, but
	never enter it.

	* statement.cs (Block.LookupLabel): Only lookup in the current
	block, don't recurse into parent or child blocks.
	(Block.AddLabel): Check in parent and child blocks, report
	CS0140/CS0158 if we find a duplicate.
	(Block): Removed this indexer for label lookups.
	(Goto.Resolve): Call LookupLabel() on our current FlowBranching;
	this already does the error reporting for us.

	* flowanalysis.cs
	(FlowBranching.UsageVector.Block): New public variable; may be null.
	(FlowBranching.CreateSibling): Added `Block' argument.
	(FlowBranching.LookupLabel): New public virtual method.  Lookup a
	label for the target of a `goto' and check whether we're not
	leaving a `finally'.

svn path=/trunk/mcs/; revision=26089
2004-04-28 00:44:58 +00:00
Jackson Harper 9d360bae66 delay sign assemblies with the ecma key
svn path=/trunk/mcs/; revision=26087
2004-04-27 21:59:21 +00:00
Martin Baulig bdf3404d76 2004-04-27 Martin Baulig <[email protected]>
* flowanalysis.cs (FlowBranching.UsageVector.MergeChild): If we're
	a finite loop block, also do the ALWAYS->SOMETIMES for throws (not
	just for returns).

svn path=/trunk/mcs/; revision=26086
2004-04-27 21:25:18 +00:00
Jackson Harper 81ad818c9f * gacutil.cs: Temporarily disable strong name verification
when installing.

svn path=/trunk/mcs/; revision=26085
2004-04-27 21:02:00 +00:00
Atsushi Eno e4ff98d731 2004-04-27 Atsushi Enomoto <[email protected]>
* XmlSchemaComplexType.cs : Set basetype as ur-type for such complex
	  type that has an immediate Particle (W3C specified as restriction
	  of ur-type).

svn path=/trunk/mcs/; revision=26084
2004-04-27 20:54:30 +00:00
Martin Baulig 41c0bd00f2 2004-04-27 Martin Baulig <[email protected]>
* statement.cs (Block.AddLabel): Also check for implicit blocks
	and added a CS0158 check.

svn path=/trunk/mcs/; revision=26083
2004-04-27 20:47:44 +00:00
Atsushi Eno c84978551d 2004-04-27 Atsushi Enomoto <[email protected]>
* XmlDataLoader.cs : Even when it should ignore schema, it was
	  infering schema.
	* XmlSchemaDataImporter.cs : DataRelation creation support.
	  Improved "DataSet" element handing. When attributes are on the
	  element, it is not a "DataSet" element.
	  Fixed parent key column name.
	  Unique name creation is not required. Just raise an error.
	  Fill facet also for attribute types.

svn path=/trunk/mcs/; revision=26082
2004-04-27 20:31:51 +00:00
Atsushi Eno 9b5eed037e 2004-04-27 Atsushi Enomoto <[email protected]>
* ConstraintCollectionTest.cs,
	  DataSetTest.cs,
	  DataTableTest.cs,
	  ForeignKeyConstraintTest.cs : Fixes for incorrect NET_1_0 use.
	* DataRowCollectionTest.cs : just check exception type. Don't check
	  localizable error message.
	* DataSetAssertion.cs : Removed AssertDataSet() with just 4 argument.
	  Added relation count parameter for AssertDataTable().
	  Added Nested check parameter for AssertDataRelation().
	* DataSetInferXmlSchemaTest.cs,
	  DataSetReadXmlTest.cs,
	  DataSetReadXmlSchemaTest.cs :
	  Applied new AssertDataTable().  Added more check on
	  DataSetReadXmlSchemaTest.SingleElementTreatmentDifference ().

svn path=/trunk/mcs/; revision=26081
2004-04-27 20:24:30 +00:00
Martin Baulig bce9c2cbdf Ooops, this was a bad idea.
svn path=/trunk/mcs/; revision=26080
2004-04-27 20:07:47 +00:00
Martin Baulig 07e4a27adc 2004-04-27 Martin Baulig <[email protected]>
* flowanalysis.cs: Also track initializations in unreachable
	code.  Fixes #56439.

svn path=/trunk/mcs/; revision=26079
2004-04-27 19:56:03 +00:00
Jackson Harper e941d20ce1 * gacutil.cs: Remove hack for removing strong name headers. The
strong name type now handles these properly and this screwed up
	the ecma key.

svn path=/trunk/mcs/; revision=26078
2004-04-27 19:50:36 +00:00
Martin Baulig f07e1d2ecc *** empty log message ***
svn path=/trunk/mcs/; revision=26077
2004-04-27 19:33:55 +00:00
Martin Baulig 9d306efa56 Make this work again.
svn path=/trunk/mcs/; revision=26076
2004-04-27 19:33:32 +00:00
Martin Baulig f6c386a5d4 2004-04-27 Martin Baulig <[email protected]>
* flowanalysis.cs (FlowBranchingLoop): New class.
	(FlowBranching.UsageVector.MergeJumpOrigins): Take a list of
	UsageVector's instead of an ArrayList.
	(FlowBranching.Label): Likewise.
	(FlowBranching.UsageVector.MergeBreakOrigins): New method.
	(FlowBranching.AddBreakVector): New method.

svn path=/trunk/mcs/; revision=26075
2004-04-27 19:32:37 +00:00
Martin Baulig 75165a7532 2004-04-27 Martin Baulig <[email protected]>
* test-154.cs: Added test case for #52625.

svn path=/trunk/mcs/; revision=26074
2004-04-27 19:30:17 +00:00
Miguel de Icaza 3d6ac8d7e8 2004-04-27 Miguel de Icaza <[email protected]>
* attribute.cs: Small regression fix: only convert the type if we

svn path=/trunk/mcs/; revision=26073
2004-04-27 19:06:37 +00:00
Jackson Harper aea995615c * sn.cs: Attempt to load the strongnames.config file from the GAC
path.

svn path=/trunk/mcs/; revision=26072
2004-04-27 19:02:23 +00:00
Miguel de Icaza 0d19ae8fe1 Flush
svn path=/trunk/mcs/; revision=26071
2004-04-27 18:44:16 +00:00
Jackson Harper 6bed07a24a * Makefile.am: Grab libraries from lib/default now.
* runtime/Makefile.am: Grab libraries from lib/default now.

svn path=/trunk/mono/; revision=26070
2004-04-27 18:41:12 +00:00
Martin Baulig a133f96a04 2004-04-27 Martin Baulig <[email protected]>
* attribute.cs (Attribute.Resolve): If we have a constant value
	for a named field or property, implicity convert it to the correct
	type.

svn path=/trunk/mcs/; revision=26069
2004-04-27 18:08:09 +00:00
Atsushi Eno 55ad9ba391 2004-04-27 Atsushi Enomoto <[email protected]>
* DataRow.cs : Null check for CheckReadOnlyStatus() and
	  CheckNullConstraints(), with some coding guideline fixes.
	  Type check should be done by Type instance comparison.

svn path=/trunk/mcs/; revision=26068
2004-04-27 17:57:12 +00:00
Andreas N 6d1b9f43de 2004-04-27 Andreas Nahr <[email protected]>
* IntegerFormatter.cs: Made functions internal (needed by other patches)

svn path=/trunk/mcs/; revision=26067
2004-04-27 17:40:47 +00:00
Atsushi Eno d2ad88f9d2 2004-04-27 Atsushi Enomoto <[email protected]>
* DataColumnCollection.cs : When add a column to the collection, fill
	  auto-increment column.

svn path=/trunk/mcs/; revision=26066
2004-04-27 17:34:24 +00:00
Zoltan Varga aa1a81d7fb 2004-04-27 Zoltan Varga <[email protected]>
* marshal.c: Handle null properly in PtrToString* icalls. Fixes #57706.

svn path=/trunk/mono/; revision=26065
2004-04-27 17:33:27 +00:00
Zoltan Varga 1ae838cfbd 2004-04-27 Zoltan Varga <[email protected]>
* Makefile: Fix tests with new directory structure.

svn path=/trunk/mcs/; revision=26064
2004-04-27 17:32:21 +00:00
Jackson Harper 176c37f0de * CultureInfo.cs: Make specific names lower case, because all data
in the culture info tables is lowercase.

svn path=/trunk/mcs/; revision=26063
2004-04-27 17:31:26 +00:00
Zoltan Varga e543124a63 2004-04-27 Zoltan Varga <[email protected]>
* MarshalTest.cs: New tests for PtrTo* methods and null.

svn path=/trunk/mcs/; revision=26062
2004-04-27 17:31:24 +00:00
Andreas N dfd8716c00 2004-04-25 Andreas Nahr <[email protected]>
* SearchPattern.cs: Call invariant String.ToLower

svn path=/trunk/mcs/; revision=26061
2004-04-27 16:41:59 +00:00
Erik Dasque a8a40df0e1 Cleaned up some more --help / --version type stuff
svn path=/trunk/mono/; revision=26059
2004-04-27 16:09:44 +00:00
Erik Dasque f28833c8c8 updated the --version output to use mscorlib.dll instead of corlib.dll
already fixed in the code to use mscorlib.dll by default

svn path=/trunk/mono/; revision=26058
2004-04-27 15:51:15 +00:00
Paolo Molaro 05163a2bd9 Tue Apr 27 15:55:17 CEST 2004 Paolo Molaro <[email protected]>
* locales.c: put back string_invariant_tolower () and
	string_invariant_toupper ().

svn path=/trunk/mono/; revision=26056
2004-04-27 13:17:37 +00:00
Nick Drochak 42f642b006 2004-04-27 Nick Drochak <[email protected]>
* ConvertTest.cs: Remove compiler warnings.

svn path=/trunk/mcs/; revision=26055
2004-04-27 12:24:35 +00:00
Nick Drochak e8d2964ca9 2004-04-27 Nick Drochak <[email protected]>
* ReaderWriterLockTest.cs: Remove compiler warnings.

svn path=/trunk/mcs/; revision=26054
2004-04-27 12:13:34 +00:00
Sanja Gupta 0604a6f44d ChangeLog: Updated ChangeLog
ImageFormat.cs: Implemented ToString() method.

svn path=/trunk/mcs/; revision=26053
2004-04-27 11:39:09 +00:00
Sanja Gupta 806e6b08d2 ChangeLog: Updated ChangeLog
ImageFormatConverter.cs: Implemented first version.
ImageConverter.cs: Added exception message.
IconConverter.cs: Added exception message.

svn path=/trunk/mcs/; revision=26052
2004-04-27 11:33:17 +00:00
Lluis Sanchez 4e06ac2b42 * ICustomAttributeProvider.cs, IReflect.cs, MemberInfo.cs, AssemblyName.cs:
Removed completed	TODOs.
	* MonoProperty.cs: In GetAccessors(), GetGetMethod() and GetSetMethod(),
	  do not return private methods if nonPublic == false.
	* ReflectionTypeLoadException.cs: Implemented serialization support.

svn path=/trunk/mcs/; revision=26051
2004-04-27 11:02:44 +00:00
Atsushi Eno c35e3cfe51 2004-04-27 Atsushi Enomoto <[email protected]>
* XmlSchemaAttribute.cs : When type was inline simple type, it is not
	  validated correctly.
	* XmlSchemaSimpleType.cs : When Content was restriction, DataType was
	  not indicating base type's Datatype correctly.

svn path=/trunk/mcs/; revision=26050
2004-04-27 10:34:28 +00:00
Paolo Molaro fcdb1b8846 Properly return != 0 on error.
svn path=/trunk/mono/; revision=26049
2004-04-27 09:41:50 +00:00
Paolo Molaro 102167b742 Tue Apr 27 12:15:59 CEST 2004 Paolo Molaro <[email protected]>
* trace.c, cpu-g4.md, inssel-ppc.brg, mini-ppc.c: some fixes for FP code.

svn path=/trunk/mono/; revision=26048
2004-04-27 09:39:52 +00:00
Atsushi Eno a9e66d5cae 2004-04-27 Atsushi Enomoto <[email protected]>
* XmlTextReader.cs : don't use NET_1_0.

svn path=/trunk/mcs/; revision=26047
2004-04-27 09:26:42 +00:00
Lluis Sanchez 9f4f93832c * DateTime.cs: TODO cleaning.
* Delegate.cs: GetObjectData should be virtual.
	* IntegerFormatter.cs: Method factorization. I don't want to fix bugs in
	  30 methods almost identical.
	* MulticastDelegate.cs: Implemented GetObjectData.

svn path=/trunk/mcs/; revision=26046
2004-04-27 08:40:48 +00:00
Jackson Harper 0a71b6366a ignore things
svn path=/trunk/mcs/; revision=26044
2004-04-27 06:38:53 +00:00
Jackson Harper 601f284b9c dummy
svn path=/trunk/mcs/; revision=26043
2004-04-27 06:37:12 +00:00
Jackson Harper 80dcf1d8e1 * Makefile.am: Grab libraries from lib/default now.
svn path=/trunk/mono/; revision=26042
2004-04-27 06:20:02 +00:00
Sanja Gupta 778bda2a7e ChangeLog: Update ChangeLog.
ImageConverter.cs: Implemented first version.

svn path=/trunk/mcs/; revision=26041
2004-04-27 06:09:47 +00:00
Jackson Harper 3205202c30 Put libraries in profile dependant directories so we can build all profiles at once.
svn path=/trunk/mcs/; revision=26040
2004-04-27 06:02:52 +00:00
Sanja Gupta 60cd7f5dc9 ChangeLog: Updated ChangeLog
IconConverter.cs: Implemented first version

svn path=/trunk/mcs/; revision=26039
2004-04-27 05:50:05 +00:00
David Waite d0f3ef4750 2004-04-26 David Waite <[email protected]>
* unknown.c: modify to have content for defined platforms (to
	avoid ISO C warning)

svn path=/trunk/mono/; revision=26036
2004-04-27 04:13:19 +00:00
David Waite 444bbce821 2004-04-26 David Waite <[email protected]>
in interpreter
	* interp.h: remove comma from end of enumeration constants
	declarations

in io-layer
	* daemon-messages.h:
	* daemon-private.h
	* error.h:
	* io.h:
	* processes.h:
	* shared.h:
	* thread-private.h:
	* wapi-private.h: remove comma from end of enumeration declarations
	* status.h: cast unsigned int types to int for enum assignment

in metadata
	* file-io.h:
	* socket-io.h:
	* threads.h:
	* unicode.h: remove comma from end of enumeration declarations

in mini
	* driver.c: remove comma from end of enumeration declaration

in utils
	* mono-logger.h: remove comma from end of enumeration declaration

svn path=/trunk/mono/; revision=26035
2004-04-27 04:07:07 +00:00
Peter Dennis Bartok cb2ec75c01 - Fixed DoEvent. Now properly processes and removes all events from queue.
svn path=/trunk/mcs/; revision=26034
2004-04-27 04:02:55 +00:00
Miguel de Icaza b2214b317a Add update from Joshua here
svn path=/trunk/mono/; revision=26033
2004-04-27 03:59:56 +00:00
Miguel de Icaza 2aad1091e5 This does no longer exist here
svn path=/trunk/mcs/; revision=26032
2004-04-27 03:59:45 +00:00
Miguel de Icaza ff26a2ee66 240 does not pass
svn path=/trunk/mcs/; revision=26031
2004-04-27 03:30:26 +00:00
Raja R Harinath 92cf68ba10 * statement.cs (Block.Block): Implicit blocks share
'child_variable_names' fields with parent blocks.
(Block.AddChildVariableNames): Remove.
(Block.AddVariable): Mark variable as "used by a child block" in
every surrounding block.
* ecore.cs (SimpleName.SimpleNameResolve): If the name has already
been used in a child block, complain about violation of "Invariant
meaning in blocks" rule.
* cs-parser.jay (declare_local_variables): Don't use
AddChildVariableNames.
(foreach_statement): Don't create an implicit block: 'foreach'
introduces a scope.

svn path=/trunk/mcs/; revision=26030
2004-04-27 03:25:10 +00:00
David Waite 636eb7b6f9 2004-04-26 David Waite <[email protected]>
in io-layer
	* io.c:
	* timefuncs.c: Define 64 bit constants as long long types (i.e. 10ULL)
in metadata
	* debug-mono-symfile.h:
	* decimal.c:
	* mono_debug.h:
	* sysmath.c: Define 64 bit constants as long long types (i.e. 10ULL)

svn path=/trunk/mono/; revision=26029
2004-04-27 02:32:25 +00:00
Jackson Harper f3df410e0e flush
svn path=/trunk/mono/; revision=26028
2004-04-27 00:18:04 +00:00
César Natarén bbd4ddd214 2004-04-26 Cesar Lopez Nataren <[email protected]>
* FunctionDeclaration.cs: let's make function name formation
	(get_name ()) a little bit less dumb. We cache the prefix now so
	we don't have to recalculate it everytime.

svn path=/trunk/mcs/; revision=26027
2004-04-26 23:25:16 +00:00
Sebastien Pouliot 7575d79067 2004-04-26 Sebastien Pouliot <[email protected]>
* CryptoConfig.cs: Oops - forgot to commit

svn path=/trunk/mcs/; revision=26026
2004-04-26 22:58:32 +00:00
Sebastien Pouliot c3b76e3750 2004-04-26 Sebastien Pouliot <[email protected]>
* DES.cs: Fixes to weak/semi-weak checking to pass new unit tests (it
	requires to set odd parity on keys before comparing).

svn path=/trunk/mcs/; revision=26025
2004-04-26 22:55:08 +00:00
Sebastien Pouliot 2756778c90 2004-04-26 Sebastien Pouliot <[email protected]>
* corlib_test.dll.sources: Added DESTest.cs.

svn path=/trunk/mcs/; revision=26024
2004-04-26 22:51:20 +00:00
Sebastien Pouliot d56f38d348 2004-03-26 Sebastien Pouliot <[email protected]>
* DESTest.cs: New. Unit tests for DES including checks for weak and
	semi-weak keys (with and without parity applied on keys). Completes
	coverage for DES class.

svn path=/trunk/mcs/; revision=26023
2004-04-26 22:49:04 +00:00
Sebastien Pouliot 56a1dfe6e8 2004-04-26 Sebastien Pouliot <[email protected]>
* AsymmetricAlgorithm.cs: Moved XML comments to monodoc. Added
	globalization to exceptions. Already had 100% coverage.
	* AsymmetricKeyExchangeDeformatter.cs: Moved XML comments to monodoc.
	Already had 100% coverage.
	* AsymmetricKeyExchangeFormatter.cs: Moved XML comments to monodoc.
	Already had 100% coverage.
	* AsymmetricSignatureDeformatter.cs: Moved XML comments to monodoc.
	Already had 100% coverage.
	* AsymmetricSignatureFormatter.cs: Moved XML comments to monodoc.
	Already had 100% coverage.
	* CryptoAPITransform.cs: Unused by Mono (added note to monodoc).
	Class will stay at 0% coverage.
	* CryptoConfig.cs: Added globalization to exceptions. 98% coverage.
	* CryptographicException.cs: Added globalization to exceptions.
	Already had 100% coverage.
	* CryptoStream.cs: Added globalization to exceptions. Removed (unused)
	field _previousBlock to get 100% coverage.
	* CspParameters.cs: Moved XML comments to monodoc. Already had 100%
	coverage.
	* CspProviderFlags.cs: Moved XML comments to monodoc.
	* DeriveBytes.cs: Moved XML comments to monodoc. Already had 100%
	coverage.

svn path=/trunk/mcs/; revision=26022
2004-04-26 22:42:53 +00:00
Jackson Harper 2d7e6af086 * appdomain.c: Increment version number.
svn path=/trunk/mono/; revision=26021
2004-04-26 20:51:31 +00:00
Jackson Harper 04a0982fa5 * Environment.cs: Things going bump in the night.
svn path=/trunk/mcs/; revision=26020
2004-04-26 20:49:48 +00:00
Jackson Harper 5a02bd5261 * Assembly.cs: Add icall to determine if an assembly has been
loaded from the GAC.

svn path=/trunk/mcs/; revision=26019
2004-04-26 20:47:48 +00:00
Miguel de Icaza aa957b6a39 Align options, update doc
svn path=/trunk/mono/; revision=26017
2004-04-26 20:22:43 +00:00
Miguel de Icaza 07035a5350 Update
svn path=/trunk/mono/; revision=26016
2004-04-26 20:20:00 +00:00
Bernie Solomon b44cc09572 2004-04-26 Bernie Solomon <[email protected]>
* configure.in: move setting of NO_VERSION_SCRIPT
	until after checking for GNU ld

svn path=/trunk/mono/; revision=26015
2004-04-26 20:03:11 +00:00
Jackson Harper 0497003e49 * driver.c: parse config file before loading first assembly. This
allows the user gac to be enabled/disabled.

svn path=/trunk/mono/; revision=26014
2004-04-26 19:59:58 +00:00
Jackson Harper e2618f5984 * driver.c: parse config file before loading first assembly. This
allows the user gac to be enabled/disabled.

svn path=/trunk/mono/; revision=26013
2004-04-26 19:31:35 +00:00
Jackson Harper 4f5212b6e6 * appdomain.c: Set assembly references public token value when
PublicKeyToken is specified, not the hash_value. Free public token
	values when free assembly name data. Previously the public key
	token was hex decoded, however we are using hex encoded public key
	tokens, so this is not neccasary.
	* assembly.c: Lookup assemblies in the gac if their public token
	value is set. Add function to allow enabling user gac
	lookups. Specify whether or not the assembly was loaded from the
	GAC. Compare full assembly names when checking the cache for
	assemblies (Temporarily disabled see comment in code). Remove
	mscorlib -> corlib mapping cruft. Add trace-loading. When a user
	specifies trace-loader they get extra info to stdout on the
	loading of assemblies.
	* image.h: Add a field for an assembly references public token
	value to MonoAssemblyname. Add a field to MonoAssembly to specifiy
	whether an assembly has been loaded from the GAC.
	* image.c: Remove a corlib -> mscorlib name mapping.
	* loader.h: Add function to enable/disable the user gac.
	* mono-config.c: Check if the usergac is enabled in the config
	file.
	* icall.c: New icall to determine whether or not an assembly has
	been loaded from the GAC. Remove some mscorlib -> corlib mappings.
	* tabldefs.h: Add constant for assemblyref flag that specifies a
	full public key is used instead of a public token.
	* reflection.c: Remove mscorlib -> corlib mappings. Set
	PublicTokenValue instead of hash value. This value is a hex
	string so it does not need to be expanded.

svn path=/trunk/mono/; revision=26012
2004-04-26 19:26:41 +00:00
Lluis Sanchez 3ea9677f51 * ObjectReader.cs, ObjectWriter.cs: FIXME cleaning.
svn path=/trunk/mcs/; revision=26011
2004-04-26 18:50:16 +00:00
Zoltan Varga a81a6786aa 2004-04-26 Zoltan Varga <[email protected]>
* Makefile.am test-driver: Disable some failing tests.

svn path=/trunk/mono/; revision=26010
2004-04-26 18:49:17 +00:00
Lluis Sanchez 0e6220d1ac * CADMessages.cs: Marshal the correct return args for the return message.
svn path=/trunk/mcs/; revision=26008
2004-04-26 18:44:10 +00:00
Lluis Sanchez a86a1ae101 * ObjRef.cs: Little optimization.
svn path=/trunk/mcs/; revision=26007
2004-04-26 18:42:01 +00:00
Martin Baulig 29a4430fbd 2004-04-26 Martin Baulig <[email protected]>
* mono-debug-debugger.c (mono_debugger_initialize): Set
	`mono_debugger_initialized' before calling mono_debug_lock().

svn path=/trunk/mono/; revision=26006
2004-04-26 18:36:53 +00:00
Lluis Sanchez 2ddb1c0348 * ChannelServices.cs: Implemented partial support for CustomErrors
configuraiton option.

svn path=/trunk/mcs/; revision=26005
2004-04-26 18:36:04 +00:00
Lluis Sanchez 974aad1fb4 Added man page for XSD
svn path=/trunk/mono/; revision=26002
2004-04-26 17:57:46 +00:00
Rafael Teixeira be584ae939 2004-04-26 Rafael Teixeira <[email protected]>
* DateAndTime.cs:
		Catch FormatException and rethrow as InvalidCastException in:
 		- public static System.DateTime DateValue (string StringDate) - return only the Date Part
		- public static System.DateTime TimeValue (string StringTime) - return only the Time Part

svn path=/trunk/mcs/; revision=25997
2004-04-26 14:49:51 +00:00
Rafael Teixeira 0856cf64a5 2004-04-26 Rafael Teixeira <[email protected]>
* DateAndTimeTest.cs:
		Allow some slack for rounding differences on test #TI02

svn path=/trunk/mcs/; revision=25996
2004-04-26 13:21:23 +00:00
Rafael Teixeira aa763dab7e 2004-04-26 Rafael Teixeira <[email protected]>
* Collection.cs:
		Verify and throw correct exception on Remove for a null key

svn path=/trunk/mcs/; revision=25995
2004-04-26 13:03:32 +00:00
Sanja Gupta e114dc6627 ChangeLog: Updated ChangeLog
Image.cs: Corrected implementation of property RawFormat.
gdipFunctions.cs: Corrected declaration of function GdipGetImageRawFormat.

svn path=/trunk/mcs/; revision=25994
2004-04-26 11:14:30 +00:00
Lluis Sanchez b36d6b6bd0 Updated
svn path=/trunk/mono/; revision=25993
2004-04-26 11:14:03 +00:00
Jochen Wezel f1f7a2ed69 I'd better written correctly
svn path=/trunk/mcs/; revision=25991
2004-04-26 09:57:49 +00:00
Jochen Wezel 4d5faad7a7 Fixed attribute declaration
svn path=/trunk/mcs/; revision=25990
2004-04-26 09:53:56 +00:00
Atsushi Eno f99ea552e3 2004-04-26 Atsushi Enomoto <[email protected]>
* NewMonoXSD.cs : Enabled /d option (typed dataset generation support
	  using newly implemented TypedDataSetGenerator).

svn path=/trunk/mcs/; revision=25989
2004-04-26 09:06:00 +00:00
Jordi Mas i Hernandez 5c69899417 removes warning
svn path=/trunk/mcs/; revision=25988
2004-04-26 08:41:05 +00:00
Atsushi Eno 77a1bf1b73 2004-04-26 Atsushi Enomoto <[email protected]>
* CSharpCodeGenerator.cs : implemented GenerateEvent.
	  Delegate was output as usual class.

svn path=/trunk/mcs/; revision=25987
2004-04-26 08:37:02 +00:00
Atsushi Eno b666e8ec01 2004-04-26 Atsushi Enomoto <[email protected]>
* CodeGenerator.cs : delegate was output as usual class.

svn path=/trunk/mcs/; revision=25986
2004-04-26 08:36:24 +00:00
Dennis Hayes f0a8efed64 big changes to ObjectType from Mainsoft Java code. Cleanup in other files. several more complete
svn path=/trunk/mcs/; revision=25985
2004-04-26 07:00:37 +00:00
Dennis Hayes 97d0a43464 added VBUtils.cs to build for Mainsoft compatablity
svn path=/trunk/mcs/; revision=25984
2004-04-26 06:55:30 +00:00
Dennis Hayes 4091ca8967 VBUtils.cs added for Mainsoft compatablity
svn path=/trunk/mcs/; revision=25983
2004-04-26 06:52:52 +00:00
Boris Kirzner ae50fa33bc * DataColumn.cs : Small perfomance fix (avoid unnesessary string concatenation).
svn path=/trunk/mcs/; revision=25982
2004-04-26 06:22:27 +00:00
Boris Kirzner 6b77e51f9c * DataColumnMappingCollection.cs : Small fix in exception message thrown.
svn path=/trunk/mcs/; revision=25981
2004-04-26 06:15:35 +00:00
Atsushi Eno 75cb18978e 2004-04-26 Atsushi Enomoto <[email protected]>
* System.Data.dll.sources : added CustomDataClassGenerator.cs.

svn path=/trunk/mcs/; revision=25980
2004-04-26 03:39:49 +00:00
Atsushi Eno bf3f6f16c4 2004-04-26 Atsushi Enomoto <[email protected]>
* CustomDataClassGenerator.cs : Added.
	* TypedDataSetGenerator.cs : Implemented Generate().
	  Changed GenerateIdName() to call CustomDataClassGenerator.MakeSafeName
	* XmlSchemaDataImporter.cs : Table Locale should be supplied.

svn path=/trunk/mcs/; revision=25979
2004-04-26 03:39:06 +00:00
Miguel de Icaza 0581d482c3 2004-04-25 Miguel de Icaza <[email protected]>
* Convert.cs (toBase64Transform): Make private.

svn path=/trunk/mcs/; revision=25965
2004-04-25 16:25:58 +00:00
Sanja Gupta 556ce7bdbb ChangeLog: Updated ChangeLog
gdipFunctions.cs: Added few linux only function calls.
Image.cs: Changed the implementation of few methods to proceed with
          ImageAnimator class.
Bitmap.cs: Resolved a compile time error.
Icon.cs: Removed an unused variable

svn path=/trunk/mcs/; revision=25964
2004-04-25 16:12:30 +00:00
Boris Kirzner 4a5e291e23 * DbDataAdapter.cs : Fixed bug in Fill :
- Reader can have empty results (fo example from UPDATE or DELETE).
  - Reader can have results with no rows (SELECT that returns 0 rows but have columns)
  - In FillTable - skip rows only once for each table.

svn path=/trunk/mcs/; revision=25961
2004-04-25 15:46:07 +00:00
Jordi Mas i Hernandez cf33111a7b Font class, Pattern class, fixes, new methods, and updating Mono.Cairo to the latest Cairo API
svn path=/trunk/mcs/; revision=25959
2004-04-25 15:31:58 +00:00
Boris Kirzner 6b33e369b2 DataTable.cs : Small perfomance fix (avoid unnesessary string concatenation).
svn path=/trunk/mcs/; revision=25958
2004-04-25 15:25:02 +00:00
Boris Kirzner 9716e8d4e3 Constraint.cs : Small perfomance fix (avoid unnesessary string concatenation).
svn path=/trunk/mcs/; revision=25957
2004-04-25 15:06:09 +00:00
Nick Drochak adc88a7895 2004-04-25 Nick Drochak <[email protected]>
* MathTest.cs: Check precision only so far.

svn path=/trunk/mcs/; revision=25956
2004-04-25 13:14:35 +00:00
Andreas N 9eb634afed 2004-04-25 Andreas Nahr <[email protected]>
* Convert.cs:
	* Decimal.cs:
	* DecimalFormatter.cs:
	* FloatingPointFormatter.cs: Call invariant Char functions
	* Guid.cs: Call invariant Char and String functions
	* String.cs: Call invariant Char functions

svn path=/trunk/mcs/; revision=25955
2004-04-25 11:44:08 +00:00
Andreas N 755b03ad5d 2004-04-25 Andreas Nahr <[email protected]>
* CaseInsensitiveHashCodeProvider.cs: Fix the default constructor (needs to
	  set CurrentCulture, Add null check to other constructor, Call correct function
	  for invariant case, ensure culture is set to null for invariant case, removed
	  static constructor, made invariant version available as internal in .Net 1.0

svn path=/trunk/mcs/; revision=25954
2004-04-25 11:42:52 +00:00
Andreas N 6197a70345 2004-04-25 Andreas Nahr <[email protected]>
* CultureInfo.cs: Call invariant String.ToLower
	* RegionInfo.cs: Call invariant String.ToUpper

svn path=/trunk/mcs/; revision=25953
2004-04-25 11:42:27 +00:00
Andreas N 32b4f4138b 2004-04-25 Andreas Nahr <[email protected]>
* DSACryptoServiceProvider.cs: Call invariant compare

svn path=/trunk/mcs/; revision=25952
2004-04-25 11:41:27 +00:00
Andreas N 0536605926 2004-04-25 Andreas Nahr <[email protected]>
* StrongNamePublicKeyBlob: Call invariant Char.ToLower

svn path=/trunk/mcs/; revision=25951
2004-04-25 11:41:03 +00:00
Andreas N 1c83dc0f15 2004-04-25 Andreas Nahr <[email protected]>
* Url.cs: Call invariant ToUpper

svn path=/trunk/mcs/; revision=25950
2004-04-25 11:40:40 +00:00
Andreas N 185b7d68b0 2004-04-25 Andreas Nahr <[email protected]>
* WindowsPrincipal.cs: Call invariant ToUpper

svn path=/trunk/mcs/; revision=25949
2004-04-25 11:40:16 +00:00
Andreas N 978da5becb 2004-04-25 Andreas Nahr <[email protected]>
* Encoding.cs: Call shortcut String.ToLowerInvariant

svn path=/trunk/mcs/; revision=25948
2004-04-25 11:39:54 +00:00
Andreas N e517a4e683 2004-04-25 Andreas Nahr <[email protected]>
* String.cs: Refactored the Invariant ToXXX into its own internal methods
	  so they are directly callable within corlib (can prevent early
	  construction of CultureInfo, InvariantCulture and related classes)

svn path=/trunk/mcs/; revision=25947
2004-04-25 09:07:45 +00:00
Vladimir Vukicevic 8451185106 * Graphics.cs, gdipFunctions.cs: Added CreateFromXDrawable_linux.
svn path=/trunk/mcs/; revision=25946
2004-04-25 07:09:00 +00:00
Andreas N 4dbaecce8c 2004-04-24 Andreas Nahr <[email protected]>
* String.cs: Managed impl. of Invariant parts of ToLower, ToUpper
	* Char.cs: Managed impl. of Invariant parts of ToLower, ToUpper

svn path=/trunk/mcs/; revision=25943
2004-04-24 22:19:06 +00:00
Andreas N d270a4c2d1 2004-04-42 Robert Shade <[email protected]>
* icall.c: icalls for Char.ToUpper/ToLower are now hooked to
	  InternalToUpper/InternalToLower.
	* locales.c: (ves_icall_System_{Char,String}_InternalTo{Upper,Lower}_Comp)
	  removed invariant culture shortcut.  This is now done in managed code.
	* locales.c: (string_invariant_toupper/tolower) removed.

svn path=/trunk/mono/; revision=25942
2004-04-24 22:16:32 +00:00
Atsushi Eno 1034c62002 2004-04-24 Atsushi Enomoto <[email protected]>
* XmlComment.cs. XmlProcessingInstruction.cs : missing commits.

svn path=/trunk/mcs/; revision=25939
2004-04-24 14:36:28 +00:00
Atsushi Eno 268271966d 2004-04-24 Atsushi Enomoto <[email protected]>
W3C DOM compliant read-only check support (buggy part in MS.NET).
	* XmlAttribute.cs,
	  XmlCDataSection.cs,
	  XmlCharacterData.cs,
	  XmlDocument.cs,
	  XmlElement.cs,
	  XmlNode.cs,
	  XmlSignificantWhitespace.cs,
	  XmlText.cs
	  : CloneNode() - set read-only when copied node is read-only.
	    Check IsReadOnly on attempt to modify value.
	* XmlEntity.cs,
	  XmlEntityReference.cs : Set descendant nodes read-only.
	* XmlAttributeCollection.cs,
	  XmlNode.cs
	  : Fixed incompatible exception type.
	* XmlEntityReference.cs : CloneNode() should not pass an empty string
	  as its name.
	* XmlEntityReference.cs,
	  XmlProcessingInstruction.cs : Check XML name validity.
	* XmlText.cs : CloneNode() does not have to check children.

svn path=/trunk/mcs/; revision=25938
2004-04-24 14:23:56 +00:00
Gonzalo Paniagua Javier 7c316b27ce Fixed XML link and added one for crypto
svn path=/trunk/mono/; revision=25937
2004-04-24 14:22:51 +00:00
Atsushi Eno 682d3c1cab 2004-04-24 Atsushi Enomoto <[email protected]>
* XmlConvertTests.cs : Commented out locale-dependent tests.
	* XmlDocumentTests.cs : Uncommented now-testable lines.
	  Commented out that should not be allowed, such as non-XML-name node.

svn path=/trunk/mcs/; revision=25936
2004-04-24 14:22:00 +00:00
Atsushi Eno 0bbdf65532 2004-04-24 Atsushi Enomoto <[email protected]>
Updated all nist_dom tests.
	* Don't check locale-dependent message. Just check type name.

svn path=/trunk/mcs/; revision=25935
2004-04-24 14:19:33 +00:00
Atsushi Eno 97bc8e7584 2004-04-24 Atsushi Enomoto <[email protected]>
* XmlDeclarationTests.cs : More InnerText tests.

svn path=/trunk/mcs/; revision=25934
2004-04-24 12:11:10 +00:00
Atsushi Eno 087038913c 2004-04-24 Atsushi Enomoto <[email protected]>
* XmlDeclaration.cs : More strict check on InnerText and Value.

svn path=/trunk/mcs/; revision=25933
2004-04-24 12:10:48 +00:00
Atsushi Eno b2b13b8207 2004-04-24 Atsushi Enomoto <[email protected]>
* XslChoose.cs, XslCopy.cs, XslCopyOf.cs, XslElement.cs XslFallback.cs:
	  missing updates

svn path=/trunk/mcs/; revision=25932
2004-04-24 12:06:30 +00:00
Atsushi Eno 07fa5b0f39 2004-04-24 Atsushi Enomoto <[email protected]>
* XslApplyImport.cs, XslApplyTemplates.cs, XslAttribute.cs,
	  XslAvt.cs, XslCallTemplate.cs, XslComment.cs, XslCompiledElement.cs,
	  XslCopy.cs, XslCopyOf.cs, XslElement.cs, XslFallback.cs,
	  XslForeach.cs, XslIf.cs, XslLiteralElement.cs, XslMessage.cs,
	  XslNumber.cs, XslOperation.cs, XslProcessingInstruction.cs,
	  XslTemplateContent.cs, XslText.cs, XslValueOf.cs, XslVariable.cs :
	  make extra classes internal.

svn path=/trunk/mcs/; revision=25931
2004-04-24 10:46:00 +00:00
Atsushi Eno ec5cb9f3a3 2004-04-24 Atsushi Enomoto <[email protected]>
* Attribute.cs, Compiler.cs, Debug.cs, Emitter.cs,
	  MSXslScriptCompiler.cs, Outputter.cs, XslAttributeSet.cs,
	  XslDecimalFormat.cs, XslKey.cs, XslStylesheet.cs, XslTemplate.cs,
	  XslTransformProcessor.cs : Make extra classes internal.

	* XslKey.cs : It should require sorting.
	* Debug.cs : Just avoid debug output. Only who want to output should
	  turn it on.

svn path=/trunk/mcs/; revision=25930
2004-04-24 10:44:10 +00:00
Atsushi Eno a5e122f6a2 2004-04-24 Atsushi Enomoto <[email protected]>
* DTDReader.cs, XmlConvert.cs, XmlDeclaration.cs, XmlImplementation.cs,
	  XmlNode.cs : Culture independency fix.

svn path=/trunk/mcs/; revision=25929
2004-04-24 10:15:09 +00:00
Atsushi Eno a0a20ae6a4 2004-04-24 Atsushi Enomoto <[email protected]>
* XslProcessingInstruction.cs : Culture independency fix.

svn path=/trunk/mcs/; revision=25928
2004-04-24 10:13:25 +00:00
Atsushi Eno e20a117cc8 2004-04-12 Atsushi Enomoto <[email protected]>
* GenericOutputter.cs : Culture-independency fix.
	  Replaced StringCollection to ArrayList.
	* XslOutput.cs : Culture-independency fix.

svn path=/trunk/mcs/; revision=25927
2004-04-24 10:12:50 +00:00
Todd Berman 6f2ec249b3 fix old changelog *again* and add control.Show handle check/fix.
New Form in the FormsTest.cs works now.

svn path=/trunk/mcs/; revision=25925
2004-04-24 08:48:07 +00:00
Ravindra 55cf131903 pie.cs: Added a case to clear the graphics surface
svn path=/trunk/mcs/; revision=25924
2004-04-24 08:41:36 +00:00
Todd Berman e27067089e this is *not* MD, and the changelog structure is a bit different :)
svn path=/trunk/mcs/; revision=25922
2004-04-24 08:22:56 +00:00
Todd Berman d33302a1a5 2004-04-24 Todd Berman <[email protected]>
* System.Windows.Forms/ContextMenu.cs:
        * System.Windows.Forms/Menu.cs: Whitespace fixes.
        * System.Windows.Forms/MenuItem.cs: fix the check for a null parent.

svn path=/trunk/mcs/; revision=25921
2004-04-24 08:19:23 +00:00
Andreas N e336cfb995 2004-04-24 Andreas Nahr <[email protected]>
* String.cs: Check for null values

svn path=/trunk/mcs/; revision=25920
2004-04-24 08:13:58 +00:00
Gonzalo Paniagua Javier 64490c7b36 2004-04-24 Gonzalo Paniagua Javier <[email protected]>
* TypeDescriptor.cs: fixed ComponentInfo.GetAttributes(). Now it returns
	all the attributes, not just DesignerAttribute instances. nGallery
	complained.

svn path=/trunk/mcs/; revision=25919
2004-04-24 04:04:54 +00:00
Gonzalo Paniagua Javier e707ebe894 2004-04-24 Gonzalo Paniagua Javier <[email protected]>
* UrlUtils.cs: MakeRelative was returning null for virtual paths without
	directory.

svn path=/trunk/mcs/; revision=25918
2004-04-24 03:46:04 +00:00
Vladimir Vukicevic 1c71ff6d78 * Commited patch from [email protected] (Bnehamin Jemlich) for
serialization for Bitmaps.  (Bugzilla #52568)

svn path=/trunk/mcs/; revision=25917
2004-04-24 02:38:30 +00:00
Gonzalo Paniagua Javier 19dcc66634 2004-04-24 Gonzalo Paniagua Javier <[email protected]>
* io-layer/socket-wrappers.h: _wapi_socket == WSASocket now. Added
	WSA_FLAG_OVERLAPPED.

	* io-layer/sockets.c: new unused parameters for _wapi_socket.

	* metadata/icall.c: added GetSupportsAsync for Socket (same as MonoIO).
	Added Poll internal call.

	* metadata/socket-io.[ch]: _wapi_socket == WSASocket. Added internal
	call for Poll. Select was too heavy for polling a single socket.

	* metadata/threadpool.[ch]: added mono_threadpool_cleanup.
	* metadata/threads.c: use it. Don't use Thread_Abort on windows.

svn path=/trunk/mono/; revision=25915
2004-04-24 02:03:49 +00:00
Gonzalo Paniagua Javier 5360b96f46 2004-04-24 Gonzalo Paniagua Javier <[email protected]>
* Socket.cs: added GetSupportsAsync and Poll_internal internal calls.
	Cleaned up Worker class: moved fields to SocketAsyncResult and use Poll
	when the socket is non-blocking before getting EWOULDBLOCK error.

svn path=/trunk/mcs/; revision=25914
2004-04-24 02:03:26 +00:00
Gonzalo Paniagua Javier 849f938123 2004-04-24 Gonzalo Paniagua Javier <[email protected]>
* WebConnectionStream.cs: avoid the exception when getting the content
	length if possible.

svn path=/trunk/mcs/; revision=25912
2004-04-24 01:23:49 +00:00
Gonzalo Paniagua Javier 717523d752 dum
svn path=/trunk/mcs/; revision=25911
2004-04-23 23:02:13 +00:00
Gonzalo Paniagua Javier 07e90dfa45 2004-04-24 Gonzalo Paniagua Javier <[email protected]>
* FileStreamAsyncResult.cs: invoke the callback if set as completed
	before the asynchronous stuff jumps in.

svn path=/trunk/mcs/; revision=25910
2004-04-23 23:01:13 +00:00
Peter Dennis Bartok f87eede761 - GetLogicalDrives now returns "/" instead of null. Not the real fix but
an improvement.

svn path=/trunk/mcs/; revision=25909
2004-04-23 22:47:02 +00:00
Miguel de Icaza 5b35b9ac5f 2004-04-23 Miguel de Icaza <[email protected]>
* mini-ppc.c (ppc_patch): Replaced the branch code patching with a
	simpler mechanism: we do not care what is encoded initially
	(branch absolute or relative), we care about the code and its
	target.  I kept the old code for reference for now.

	The new code tries first to determine if the jump is anywhere in
	the -/+32 absolute meg range, if it succeeds, it encodes using the
	absolute branch;  If not, it tried to find something in the
	relative range, if not, it uses the handle_thunk code.

svn path=/trunk/mono/; revision=25908
2004-04-23 21:54:31 +00:00
Miguel de Icaza 8ec2526f70 Change BIND_ROOM to 4 for now
svn path=/trunk/mono/; revision=25907
2004-04-23 21:46:56 +00:00
Martin Baulig 079c004434 2004-04-23 Martin Baulig <[email protected]>
* mono-debug-debugger.c (mono_debugger_lookup_assembly): New function.

svn path=/trunk/mono/; revision=25901
2004-04-23 20:17:07 +00:00
Peter Dennis Bartok 57fd8e6bb5 - Fixed RadioButton display
- Switched RadioButton to use System.Drawing instead of Wine for text
  output

svn path=/trunk/mcs/; revision=25898
2004-04-23 19:19:03 +00:00
Paolo Molaro 05c1123b49 Fri Apr 23 14:20:40 EDT 2004 Paolo Molaro <[email protected]>
* exceptions-ppc.c: use the correct ip register on macosx.

svn path=/trunk/mono/; revision=25897
2004-04-23 17:42:29 +00:00
Miguel de Icaza a7c9431130 Improve test
svn path=/trunk/mcs/; revision=25896
2004-04-23 15:39:41 +00:00
Miguel de Icaza 6f0096570b 2004-04-23 Miguel de Icaza <[email protected]>
* convert.cs (ImplicitNumericConversion): 0 is also positive when
	converting from 0L to ulong.  Fixes 57522.

svn path=/trunk/mcs/; revision=25895
2004-04-23 15:38:08 +00:00
Sebastien Pouliot 01a3d70d9b 2004-04-23 Sebastien Pouliot <[email protected]>
* KeyPairPersistence.cs: Completed key pair protection for both
	Linux and Windows (protection done by runtime).

svn path=/trunk/mcs/; revision=25894
2004-04-23 15:04:13 +00:00
Sebastien Pouliot 79312b594e 2004-04-23 Sebastien Pouliot <[email protected]>
* Environment.cs: Better support for GetFolderPath (same results as MS
	on Windows).

svn path=/trunk/mcs/; revision=25893
2004-04-23 15:02:26 +00:00
Sebastien Pouliot 440bbf88f2 2004-04-23 Sebastien Pouliot <[email protected]>
* icall.c: Registred new icalls for key pair protection and added an
	icall for Environment.GetFolderPath on Windows.
	* security.c|h: Added new icalls for key pair protection.

svn path=/trunk/mono/; revision=25892
2004-04-23 14:58:44 +00:00
Anirban Bhattacharjee 6df028ddcc test cases for Array grammar
svn path=/trunk/mcs/; revision=25890
2004-04-23 14:52:25 +00:00
Anirban Bhattacharjee b1c52da8e1 * mb-parser.jay: Grammar changes for array
* expression.cs: exception number changed for "Incorrectly structured array initializer" exception

svn path=/trunk/mcs/; revision=25889
2004-04-23 14:49:00 +00:00
Paolo Molaro 9afc085798 Fri Apr 23 11:04:33 EDT 2004 Paolo Molaro <[email protected]>
* mono-codeman.c: macosx pretends an argument (which is ignored)
	to be -1. Make sure the thunks area is zeroed.

svn path=/trunk/mono/; revision=25888
2004-04-23 14:27:47 +00:00
Ravindra 357b6eb952 Fixed ConvertTo method in Size/Point/Rectangle converters.
svn path=/trunk/mcs/; revision=25887
2004-04-23 13:48:35 +00:00
Ravindra 54b5de4118 Corrected few test failures in TestSizeConverter.cs, TestPointConverter.cs and TestRectangleConverter.cs tests.
svn path=/trunk/mcs/; revision=25886
2004-04-23 13:02:50 +00:00
Sanja Gupta a8f3d5bc5c ChangeLog: Updated ChangeLog
ImageAnimator.cs: Implemented CanAnimate() method

svn path=/trunk/mcs/; revision=25885
2004-04-23 11:48:28 +00:00
Umadevi S dba62a948c 2004-04-23 Umadevi S ([email protected])
* DataRow.cs - Added error conditions handling in Edit methods

svn path=/trunk/mcs/; revision=25884
2004-04-23 10:56:15 +00:00
Atsushi Eno 55f5240b53 2004-04-23 Atsushi Enomoto <[email protected]>
* ConstructorBuilder.cs, DynamicMethod.cs, EnumBuilder.cs,
	  GenericTypeParameterBuilder.cs, MethodBuilder.cs, ModuleBuilder.cs,
	  OpCodes.cs, TypeBuilder.cs :
	  The fix should be easier ;)

svn path=/trunk/mcs/; revision=25883
2004-04-23 04:36:13 +00:00
Atsushi Eno 5fad7c3594 2004-04-23 Atsushi Enomoto <[email protected]>
* MethodBase.cs, MonoMethod.cs, TypeDelegator.cs :
	  The fix should be easier ;)

svn path=/trunk/mcs/; revision=25882
2004-04-23 04:35:37 +00:00
Atsushi Eno bd1e4b847d 2004-04-23 Atsushi Enomoto <[email protected]>
* ConstructorBuilder.cs, DynamicMethod.cs, EnumBuilder.cs,
	  GenericTypeParameterBuilder.cs, MethodBuilder.cs, ModuleBuilder.cs,
	  OpCodes.cs, TypeBuilder.cs :
	  NET_2_0 related build fix.

svn path=/trunk/mcs/; revision=25881
2004-04-23 04:19:38 +00:00
Atsushi Eno 26b01be2d4 2004-04-23 Atsushi Enomoto <[email protected]>
* MethodBase.cs, MonoMethod.cs, TypeDelegator.cs :
	  NET_2_0 related build fix.

svn path=/trunk/mcs/; revision=25880
2004-04-23 04:18:45 +00:00
Martin Baulig cf2e617398 2004-04-22 Martin Baulig <[email protected]>
* profiles/net_1_2.make: Removed.
	* profiles/martin-generics.make: Remove.

svn path=/trunk/mcs/; revision=25879
2004-04-23 02:42:03 +00:00
Martin Baulig 84a08e67be 2004-04-22 Martin Baulig <[email protected]>
Use `#if NET_2_0 || BOOTSTRAP_2_0' for the generic reflection stuff.

svn path=/trunk/mcs/; revision=25878
2004-04-23 02:40:05 +00:00
Martin Baulig dfedf08d98 2004-04-22 Martin Baulig <[email protected]>
Renamed the `NET_1_2' conditional to `NET_2_0' in all files.

svn path=/trunk/mcs/; revision=25877
2004-04-23 02:24:02 +00:00
Martin Baulig 84ce456dd2 Ooops.
svn path=/trunk/mcs/; revision=25876
2004-04-23 02:09:26 +00:00
Martin Baulig 26284401bf Small fix to make this compile with gmcs.
svn path=/trunk/mcs/; revision=25875
2004-04-23 02:08:07 +00:00
Sebastien Pouliot a1c09ac2c2 2004-04-22 Sebastien Pouliot <[email protected]>
* Tds70.cs: Updated to match changes in Mono.Security.dll.

svn path=/trunk/mcs/; revision=25874
2004-04-23 00:10:04 +00:00
Sebastien Pouliot f00550e867 2004-04-22 Sebastien Pouliot <[email protected]>
* cert2spc.cs: Updated to match changes in Mono.Security.dll. Better
	handling of files.
	* certmgr.cs: Updated to match changes in Mono.Security.dll.
	* signcode.cs: Updated to match changes in Mono.Security.dll.

svn path=/trunk/mcs/; revision=25873
2004-04-23 00:06:52 +00:00
César Natarén 18a3125849 add precedence.js tests
svn path=/trunk/mcs/; revision=25872
2004-04-22 23:27:30 +00:00
César Natarén 9850787186 test for operator's precedence
svn path=/trunk/mcs/; revision=25871
2004-04-22 23:26:43 +00:00
Miguel de Icaza 8f7d169fa9 2004-04-22 Miguel de Icaza <[email protected]>
* timed-thread.c: Replace sem_init with MONO_SEM_INIT to handle
	the fact that MacOS X is a piece of junk (sem_init is *defined* in
	the libc, but they return `not implemented').

svn path=/trunk/mono/; revision=25870
2004-04-22 21:05:37 +00:00
Sebastien Pouliot 93dd6ebe35 turning off CLS compliance because MCS reports three 3005 errors (works with CSC)
svn path=/trunk/mcs/; revision=25869
2004-04-22 20:35:21 +00:00
Sebastien Pouliot 9fcde97bac 2004-04-24 Sebastien Pouliot <[email protected]>
* Mono.Security.dll.sources: Remove ITrustAnchors.cs and
	TrustAnchors.cs from build.

svn path=/trunk/mcs/; revision=25868
2004-04-22 20:23:54 +00:00
Sebastien Pouliot eab1929c35 2004-04-24 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Add ClsCompliant(true). Remove RequestOptional.

svn path=/trunk/mcs/; revision=25867
2004-04-22 20:21:47 +00:00
Sebastien Pouliot d172ad276f 2004-04-22 Sebastien Pouliot <[email protected]>
* SoftwarePublisherCertificateTest.cs: Ajusted to changes in the
	assembly.

svn path=/trunk/mcs/; revision=25866
2004-04-22 20:18:12 +00:00
Sebastien Pouliot db04455502 2004-04-22 Sebastien Pouliot <[email protected]>
* GcdBigTest.cs: Ajusted to changes in assembly.
	* ModInverseBigTest.cs: Ajusted to changes in assembly.
	* PrimeGenerationTest.cs: Ajusted to changes in assembly.
	* PrimeTestingTest.cs: Ajusted to changes in assembly.
	* SearchGeneratorTest.cs: Ajusted to changes in assembly.

svn path=/trunk/mcs/; revision=25865
2004-04-22 20:16:07 +00:00
Sebastien Pouliot f334080fc7 2004-04-22 Sebastien Pouliot <[email protected]>
* X509CRL.cs: FxCop-ized. Replaced Array.Copy with Buffer.BlockCopy.
	* X520Attributes.cs: FxCop-ized. Added INSIDE_CORLIB.

svn path=/trunk/mcs/; revision=25864
2004-04-22 20:10:23 +00:00
Sebastien Pouliot 09fd902624 2004-04-22 Sebastien Pouliot <[email protected]>
* TlsClientCertificateVerify.cs: Use Buffer.BlockCopy instead of
	Array.Copy.
	* TlsServerCertificate.cs: Changed KeyUsage to KeyUsages and CertType
	to CertTypes.

svn path=/trunk/mcs/; revision=25863
2004-04-22 20:07:56 +00:00
Sebastien Pouliot 9949ca5a4d 2004-04-22 Sebastien Pouliot <[email protected]>
* AuthorityKeyIdentifierExtension.cs: FxCop-ized.
	* BasicConstraintsExtension.cs: FxCop-ized. Added INSIDE_CORLIB.
	* CRLDistributionPointsExtension.cs: Added constructor for DP to
	remove compilation warnings.
	* CertificatePoliciesExtension.cs: Ajusted for changes in ASN1Convert.
	* ExtendedKeyUsageExtension.cs: Ajusted for changes in ASN1Convert.
	Added missing OID strings in ToString ().
	* KeyAttributesExtension.cs: FxCop-ized.
	* KeyUsageExtension.cs: FxCop-ized. Added INSIDE_CORLIB.
	* NetscapeCertTypeExtension.cs: FxCop-ized.
	* PrivateKeyUsagePeriodExtension.cs: FxCop-ized.
	* SubjectAltNameExtension.cs: FxCop-ized.
	* SubjectKeyIdentifierExtension.cs: FxCop-ized. Added INSIDE_CORLIB.

svn path=/trunk/mcs/; revision=25862
2004-04-22 19:58:36 +00:00
Sebastien Pouliot d286b81cce 2004-04-22 Sebastien Pouliot <[email protected]>
* PKCS12.cs: FxCop-ized. CLS compliance.
	* X501Name.cs: FxCop-ized.
	* X509Builder.cs: FxCop-ized. Replaced Array.Copy with
	Buffer.BlockCopy.
	* X509CRL.cs: FxCop-ized. Replaced Array.Copy with Buffer.BlockCopy.
	* X509Certificate.cs: FxCop-ized. Replaced Array.Copy with
	Buffer.BlockCopy. Removed unused private method GetHash.
	* X509CertificateBuilder.cs: Ajusted with changes. Replaced
	Array.Copy with Buffer.BlockCopy.
	* X509CertificateCollection.cs: Added INSIDE_CORLIB as the class is
	shared with corlib assembly.
	* X509Chain.cs: FxCop-ized. Removed old ITrustAnchor support.
	* X509ChainStatusFlags.cs: Added missing [Flags].
	* X509Extension.cs: FxCop-ized. Added Equals, GetHashCode methods.
	* X509Extensions.cs: FxCop-ized. Sealed class, renamed to
	X509ExtensionCollection and inherit from CollectionBase. Added missing
	methods.
	* X509Store.cs: FxCop-ized.
	* X509StoreManager.cs: FxCop-ized. Sealed class.
	* X509Stores.cs: Added INSIDE_CORLIB as the class is shared with
	corlib assembly.

svn path=/trunk/mcs/; revision=25861
2004-04-22 19:52:15 +00:00
Sebastien Pouliot 8cf50bf204 2004-04-22 Sebastien Pouliot <[email protected]>
* ChallengeResponse.cs: FxCop-ized.
	* NtlmFlags.cs: FxCop-ized. CLS compliance.
	* Type1Message.cs: FxCop-ized.
	* Type3Message.cs: FxCop-ized.

svn path=/trunk/mcs/; revision=25860
2004-04-22 19:40:34 +00:00
Sebastien Pouliot c1b45e5540 2004-04-22 Sebastien Pouliot <[email protected]>
* CryptoConvert.cs: FxCop-ized. Sealed class. Use Buffer.BlockCopy.
	* CryptoTools.cs: FxCop-ized. Sealed KeyBuilder class. Delay creation
	of RNG object. Use Buffer.BlockCopy.
	* DiffieHellman.cs: FxCop-ized. Removed public constructor.
	* DiffieHellmanManaged.cs: FxCop-ized. Actualized with changes from
	BigInteger.
	* KeyPairPersistance.cs: FxCop-ized. Updated version for management
	of keypairs.
	* MD2Managed.cs: Use Buffer.BlockCopy instead of Array.Copy.
	* PKCS1.cs: FxCop-ized. Sealed class. Use Buffer.BlockCopy instead of
	Array.Copy. Also includes endian patches from Bernie Solomon.
	* PKCS8.cs: FxCop-ized. Sealed class.
	* RSAManaged.cs: FxCop-ized. Actualized with changes from BigInteger.
	* SymmetricTransform.cs: Use Buffer.BlockCopy instead of Array.Copy.

svn path=/trunk/mcs/; revision=25859
2004-04-22 19:33:27 +00:00
Sebastien Pouliot 24ab78f958 2004-04-22 Sebastien Pouliot <[email protected]>
* AuthenticodeBase.cs: FxCop-ized. CLS compliance. Also includes
	endian fixes from Bernie Solomon.
	* AuthenticodeDeformatter.cs: FxCop-ized. CLS compliance.
	* AuthenticodeFormatter.cs: FxCop-ized. CLS compliance.
	* PrivateKey.cs: Replaced Array.Copy with Buffer.BlockCopy.
	* SoftwarePublisherCertificate.cs: FxCop-ized.

svn path=/trunk/mcs/; revision=25858
2004-04-22 19:16:21 +00:00
Sebastien Pouliot b1cfae8dd0 2004-04-22 Sebastien Pouliot <[email protected]>
* ASN1.cs: FxCop-ized. CLS compliance.
	* ASN1Convert.cs: FxCop-ized. CLS compliance.
	* PKCS7.cs: FxCop-ized. CLS compliance.
 	* StrongName: FxCop-ized. CLS compliance.

svn path=/trunk/mcs/; revision=25857
2004-04-22 19:08:10 +00:00
Sebastien Pouliot 6e27215ddc 2004-04-22 Sebastien Pouliot <[email protected]>
* NextPrimeFinder.cs: FxCop-ized. CLS compliance.
	* PrimeGeneratorBase.cs: FxCop-ized. CLS compliance.
	* SequentialSearchPrimeGeneratorBase.cs: FxCop-ized. CLS compliance.

svn path=/trunk/mcs/; revision=25856
2004-04-22 19:04:08 +00:00
Sebastien Pouliot 98ea62808e 2004-04-22 Sebastien Pouliot <[email protected]>
* PrimalityTests.cs: FxCop-ized. CLS compliance. Removed local RNG.

svn path=/trunk/mcs/; revision=25855
2004-04-22 19:01:28 +00:00
Sebastien Pouliot cd4c8bf863 2004-04-22 Sebastien Pouliot <[email protected]>
* BigInteger.cs: FxCop-ized. CLS compliance.

svn path=/trunk/mcs/; revision=25854
2004-04-22 18:57:19 +00:00
Atsushi Eno edd32ac8b7 2004-04-22 Atsushi Enomoto <[email protected]>
All fixes are to make them pass under MS.NET 1.1.

	* ConstraintCollectionTest.cs : Fixed to pass under MS.NET 1.1.
	* DataRelationTest.cs : Creation4() never works.
	* DataSetInferXmlSchemaTest.cs :
	  Fixed xml9 test (relation count).
	  Some mappings were incorrectly specified int.
	  ConflictColumnTable() test incorrectly tested different columns.
	  Fixed exception type on ConflictExistingPrimaryKey().
	* DataSetReadXmlSchemaTest.cs :
	  Use fixed current culture.
	  Fixed exceptoin type on NestedReferenceNotAllowed().
	* DataSetReadXmlTest.cs :
	  InferSchema mode is said as to load rows.
	* DataSetTest.cs :
	  SqlGuid test depends on the runtime version.
	  In WriteDifferentNamespaceSchema(), we're going to set the same
	  order for namespaces (just for ease of tests).
	  Fixed many bugs on SerializeDataSet() test.
	* DataTableTest.cs :
	  Set culture only on NET_1_0. Culture difference causes exception
	  under .NET 1.1.
	  Don't depend on error message string (consider localization).
	  Under .NET 1.1, constraints looks also vanishes on table's Clear().
	* ForeignKeyConstraintTest.cs :
	  Ignore TestCtor5(). That does not work under .NET 1.1.
	  Fixed some exception type differences.

svn path=/trunk/mcs/; revision=25853
2004-04-22 18:04:31 +00:00
Gonzalo Paniagua Javier 4d198f784d Documented -main
svn path=/trunk/mono/; revision=25852
2004-04-22 17:08:18 +00:00
Jordi Mas i Hernandez f479764f0e adds gdi+ calls for two image methods
svn path=/trunk/mcs/; revision=25851
2004-04-22 17:05:28 +00:00
César Natarén a07d4dbe1e changelog entries
svn path=/trunk/mcs/; revision=25850
2004-04-22 17:01:15 +00:00
César Natarén 49dd80a182 updates from grammar changes
svn path=/trunk/mcs/; revision=25849
2004-04-22 16:57:55 +00:00
César Natarén a99aad7315 2004-04-22 Cesar Lopez Nataren <[email protected]>
* Literal.cs: emit the correct code for negative numbers.
	* jscript-lexer-parser.g: set parent unary_expr.

svn path=/trunk/mcs/; revision=25848
2004-04-22 16:57:24 +00:00
Paolo Molaro 6fe0e4a249 Thu Apr 22 13:23:16 EDT 2004 Paolo Molaro <[email protected]>
* exceptions.c, mini.c, mini-ppc.h: adapt code to macosx.

svn path=/trunk/mono/; revision=25847
2004-04-22 16:45:12 +00:00
Urs C. Muff 9f723040fe 2004-04-22 Urs C Muff <[email protected]>
move .net assemblies from $prefix/bin/*.exe to $prefix/lib/*.exe on windows/cygwin
        refactor .nsi to simply maintenance on script/batch generation
        * runtime/Makefile.am
        * script/Makefile.am
        * monowiz.win32.nsi

svn path=/trunk/mono/; revision=25846
2004-04-22 16:04:32 +00:00
Urs C. Muff 2b69682ce1 Remove some ? files that are generated
svn path=/trunk/mono/; revision=25845
2004-04-22 15:56:33 +00:00
Paolo Molaro ebeda466dc Thu Apr 22 18:08:37 CEST 2004 Paolo Molaro <[email protected]>
* mini-ppc.c, cpu-g4.md: made the branch macros more flexible.
	Raise exception on integer divide by zero by hand since the hw
	doesn't support it. Handle NaNs in FP compares.

svn path=/trunk/mono/; revision=25844
2004-04-22 15:36:13 +00:00
Ravindra 5e75a6be3e Added TestPointConverter.cs, TestRectangleConverter.cs and TestSizeConverter.cs to the test sources list.
svn path=/trunk/mcs/; revision=25843
2004-04-22 15:27:24 +00:00
Lluis Sanchez d877095c15 * AppDomainSetupTest.cs: Changed again test 3 to test that the appdomain is
relative to the current dir, rather than the temp dir. I confirment that
	  this is how ms.net works.

svn path=/trunk/mcs/; revision=25842
2004-04-22 15:24:52 +00:00
Ravindra 14fbf18a13 Added tests for SizeConverter.cs and PointConverter.cs.
svn path=/trunk/mcs/; revision=25841
2004-04-22 15:24:11 +00:00
Lluis Sanchez 7a4ed1f95d * Activator.cs: Removed TODOs for finished methods.
* AppDomainSetup.cs: When setting a relative path to ApplicationBase, it
	  must be relative to the current directory, not the temp directory.
	  Implemented DynamicBase.
	* Convert.cs: No need to create a ToBase64Transform instance at every call
	  to ToBase64CharArray.
	* DateTime.cs: Implemented missing methods FromFileTimeUtc and
	  ToFileTimeUtc.
	* Decimal.cs: Implemented FromOACurrency and ToOACurrency.
	* Delegate.cs: Removed class TODO.
	* IntegerFormatter.cs: Use Char.IsLetter and Char.IsDigit instead of ad-hoc
	  methods.
	* Type.cs: Removed TODOs for things already implemented.

svn path=/trunk/mcs/; revision=25840
2004-04-22 15:23:11 +00:00
Marek Safar 71a6035aed 2004-04-22 Marek Safar <[email protected]>
* decl.cs (FindMemberToOverride): Fix wrong warning for case when
        derived class hides via 'new' keyword field from base class (test-242.cs).
        TODO: Handle this in the more general way.

	* class.cs (CheckBase): Ditto.

svn path=/trunk/mcs/; revision=25839
2004-04-22 15:22:32 +00:00
Gonzalo Paniagua Javier de10dec1d0 XSP 0.12
svn path=/trunk/mono/; revision=25837
2004-04-22 15:04:27 +00:00
Dick Porter c1ec0bdbd3 2004-04-22 Dick Porter <[email protected]>
* handles.c:
	* handles-private.h: Reference the handle when it is locked, so
	that another thread can't blow it away while we're waiting for it
	to become signalled.

	* wait.c:
	* timed-thread.c:
	* threads.c:
	* sockets.c:
	* semaphores.c:
	* mutexes.c:
	* mono-mutex.c:
	* io.c:
	* handles.c:
	* handles-private.h:
	* events.c:
	* error.c:
	* daemon-messages.c:
	* critical-sections.c:
	* atomic.c: Added pthreads cleanup handlers and error asserts

	* shared.c:
	* handles.c: Fixed the gcc "variable might be used uninitialised"
	warnings.  They can't happen, but gcc doesn't know that
	g_assert()s don't return.

	Fixed the declaration of _wapi_handle_process_kill() so that it
	expects the correct type for the pid.

	* threads.c: Removed the TLS_PTHREAD_MUTEX style locking that
	hasn't been used in ages and just made the code more complex.

svn path=/trunk/mono/; revision=25834
2004-04-22 14:37:44 +00:00
Ravindra 40b3380378 Added a test for RectangleConverter.cs.
svn path=/trunk/mcs/; revision=25833
2004-04-22 14:37:43 +00:00
Paolo Molaro 9147372044 Thu Apr 22 16:10:31 CEST 2004 Paolo Molaro <[email protected]>
* exceptions-ppc.c, mini-ppc.h, mini.c: simplified some
	code reducing duplication between the platforms and enabled
	signal exception handling (on linux for now).

svn path=/trunk/mono/; revision=25831
2004-04-22 13:49:57 +00:00
Miguel de Icaza 8bb47ab68c Flush
svn path=/trunk/mcs/; revision=25830
2004-04-22 13:13:10 +00:00
Raja R Harinath 797ebbd608 (test-compiler-jit-real): Simplify sed expression.
List compiler options in logfile.

svn path=/trunk/mcs/; revision=25829
2004-04-22 12:44:36 +00:00
Marek Safar bcdf5aa2b7 2004-04-12 Marek Safar <[email protected]>
* cs0109.cs: New test.

svn path=/trunk/mcs/; revision=25828
2004-04-22 12:26:08 +00:00
Marek Safar e8afd9bacc 2004-04-22 Marek Safar <[email protected]>
* Makefile: Add support for custom test compiler options.

	* test-242.cs: New test.

svn path=/trunk/mcs/; revision=25827
2004-04-22 12:20:22 +00:00
Juraj Skripsky ed5ada30fe 2004-04-22 Juraj Skripsky <[email protected]>
* Parser.jay: Allow computed expressions on left-hand side of
	"like" operator.
	Correct ordering for "is null" rule ("NOT IS NULL" => "IS NOT NULL").

svn path=/trunk/mcs/; revision=25826
2004-04-22 09:46:17 +00:00
Ravindra a30ba4c6bc Implemented RectangleConverter.cs and fixed ToString methods in Rectangle.cs and RectangleF.cs.
svn path=/trunk/mcs/; revision=25825
2004-04-22 09:12:12 +00:00
Ravindra ad15621af6 Implemented PointConverter.cs and some of the functions in SizeConverter.cs.
svn path=/trunk/mcs/; revision=25824
2004-04-22 09:07:28 +00:00
Jordi Mas i Hernandez 2645a7fdba fixes webpage formmating
svn path=/trunk/mono/; revision=25823
2004-04-22 09:05:37 +00:00
Atsushi Eno 2204c2602c 2004-04-22 Atsushi Enomoto <[email protected]>
* DataSetInferXmlSchemaTest.cs : Added ConflictExistingPrimaryKey().
	* DataSetReadXmlTest.cs : Added IgnoreSchemaShouldFillData().
	* DataSetTest.cs : Added IgnoreColumnEmptyNamespace() and
	  SerializeDataSet().

svn path=/trunk/mcs/; revision=25822
2004-04-22 08:54:40 +00:00
Atsushi Eno 7342531888 2004-04-22 Atsushi Enomoto <[email protected]>
* DataSet.cs : Data should be read when mode is IgnoreSchema (well,
	  the support is incomplete yet).
	* XmlDataLoader.cs :
	  Reverted ReadModeSchema() argument change. XmlReadMode would be
	  useful to handle IgnoreSchema.
	  Don't overwrite DataSetName when mode is not such kind.
	  Set Prefix and Namespace as well as DataSetName.
	  AllowDBNull looks set false by default for element column.
	  Set unique constraint as primary key when infering the table schema.

svn path=/trunk/mcs/; revision=25821
2004-04-22 08:48:45 +00:00
Raja R Harinath 047fb09b74 (test-compiler-jit-real): Create a test result log file
for all tests.

svn path=/trunk/mcs/; revision=25820
2004-04-22 08:29:08 +00:00
Anirban Bhattacharjee 1008654fd4 Test cases for Structure
svn path=/trunk/mcs/; revision=25819
2004-04-22 08:01:46 +00:00
Vladimir Vukicevic 6add7311fb * gdipFunctions.cs: Fix StreamGetBytesImpl to handle
returning portions of the peek buffer back.  Fixes #57379.

svn path=/trunk/mcs/; revision=25818
2004-04-22 07:38:10 +00:00
Marek Safar dc7ec25ceb 2004-04-22 Marek Safar <[email protected]>
* decl.cs (caching_flags): New member for storing cached values
	as bit flags.
	(MemberCore.Flags): New enum where bit flags for caching_flags
	are defined.
	(MemberCore.cls_compliance): Moved to caching_flags.
	(DeclSpace.Created): Moved to caching_flags.

	* class.cs: Use caching_flags instead of DeclSpace.Created

svn path=/trunk/mcs/; revision=25816
2004-04-22 06:59:12 +00:00
Bernie Solomon 13ee1d477e * interp.c: reenable instruction tracing for DEBUG_INTERP
svn path=/trunk/mono/; revision=25815
2004-04-22 03:59:22 +00:00
Gonzalo Paniagua Javier 9d76a57969 Warnings
svn path=/trunk/mcs/; revision=25814
2004-04-22 03:07:54 +00:00
Peter Dennis Bartok 818b02f357 - Now uses System.Drawing for drawing text in Label & Button
- Enabled font handling for Control

svn path=/trunk/mcs/; revision=25813
2004-04-22 03:06:51 +00:00
Gonzalo Paniagua Javier ddb3f5549f Removed unused fields
svn path=/trunk/mcs/; revision=25812
2004-04-22 03:02:16 +00:00
Bernie Solomon fad78e2aae 2004-04-21 Bernie Solomon <[email protected]>
* interp.h: put in space for old type field
	for PPC as tramp.c assumes it. Quick fix until that's fixed.

svn path=/trunk/mono/; revision=25811
2004-04-22 02:58:58 +00:00
Gonzalo Paniagua Javier 86aa6c34d5 2004-04-22 Gonzalo Paniagua Javier <[email protected]>
* System.Web.dll.sources:
	* System.Web.Util/FileAction.cs:
	* System.Web.Util/FileChangeEventHandler.cs:
	* System.Web.Util/FileChangedEventArgs.cs:
	* System.Web.Util/FileChangesMonitor.cs:
	* System.Web.Util/FilePathParser.cs: removed unused/obsolete files.

svn path=/trunk/mcs/; revision=25810
2004-04-22 02:50:28 +00:00
Gonzalo Paniagua Javier 6fc6d1e1a9 2004-04-22 Gonzalo Paniagua Javier <[email protected]>
* socket-io.c: don't display the non-supported family warning for known
	families. Now this is not displayed on windows when checking support
	for IPv4/IPv6.

svn path=/trunk/mono/; revision=25809
2004-04-22 02:41:17 +00:00
Peter Dennis Bartok 1a56e392fc - Implemented Font.FromHfont method
svn path=/trunk/mcs/; revision=25807
2004-04-22 02:15:18 +00:00
Atsushi Eno 29ce0f9990 2004-04-22 Atsushi Enomoto <[email protected]>
* NewMonoXSD.cs : Added support for (ADO.NET based) xsd inference.
	  Changed command line usage to require /c for serialization class
	  generation, or /d for typed dataset generation (not supported yet).
	  Modified usage message due to the changes above.
	* Makefile : Added reference to System.Data.dll.

svn path=/trunk/mcs/; revision=25806
2004-04-22 01:45:37 +00:00
Gonzalo Paniagua Javier cea39e665c 2004-04-22 Gonzalo Paniagua Javier <[email protected]>
* UriBuilderTest.cs: added tests for bug #57082.

svn path=/trunk/mcs/; revision=25805
2004-04-22 01:03:12 +00:00
Gonzalo Paniagua Javier afbe0477f3 2004-04-22 Gonzalo Paniagua Javier <[email protected]>
* UriBuilder.cs: ignore empty Query. Fixes bug #57082.

svn path=/trunk/mcs/; revision=25804
2004-04-22 01:02:26 +00:00
Gonzalo Paniagua Javier a241bd4dfa 2004-04-22 Gonzalo Paniagua Javier <[email protected]>
* class.c: don't display the layout warning for static fields.

svn path=/trunk/mono/; revision=25803
2004-04-22 00:25:32 +00:00
Miguel de Icaza ac57fc6c86 2004-04-21 Miguel de Icaza <[email protected]>
* ecore.cs (PropertyExpr.GetAccesor): Only perform the 1540 check
	if we are only a derived class, not a nested class.

	* typemanager.cs: Same as above, but do this at the MemberLookup
	level (used by field and methods, properties are handled in
	PropertyExpr).   Allow for the qualified access if we are a nested
	method.

svn path=/trunk/mcs/; revision=25802
2004-04-22 00:04:52 +00:00
Atsushi Eno 65911b5298 2004-04-22 Atsushi Enomoto <[email protected]>
* XmlEntityReference.cs : Added XPathNodeType (just for workaround).
	  This should really fix bug #57248.

svn path=/trunk/mcs/; revision=25800
2004-04-21 23:30:39 +00:00
Gonzalo Paniagua Javier 8426e37ab5 Fix the build on windows
svn path=/trunk/mcs/; revision=25799
2004-04-21 23:19:48 +00:00
Gonzalo Paniagua Javier 916f7a42f8 2004-04-22 Gonzalo Paniagua Javier <[email protected]>
* WebConfigurationSettings.cs: fixed argument exception if the directory
	we're trying to watch does not exists.

svn path=/trunk/mcs/; revision=25798
2004-04-21 22:48:54 +00:00
Miguel de Icaza 9ee26ffbae Add
svn path=/trunk/mcs/; revision=25797
2004-04-21 22:41:38 +00:00
Lluis Sanchez 0cc0202ef8 * CaseInsensitiveHashCodeProvider.cs: If the culture is null, don't use
Char.ToLower(c,culture), since it does not accept null as culture.

svn path=/trunk/mcs/; revision=25795
2004-04-21 21:29:28 +00:00
Jackson Harper cf3f9a7220 * ILTokenizer.cs: Handle whitespace in hexbytes.
svn path=/trunk/mcs/; revision=25789
2004-04-21 17:47:25 +00:00
Jordi Mas i Hernandez bae9bd1444 new font methods and rectangleconverter wrapper
svn path=/trunk/mcs/; revision=25788
2004-04-21 17:03:37 +00:00
Paolo Molaro e153ee53e2 Wed Apr 21 12:27:48 EDT 2004 Paolo Molaro <[email protected]>
* exceptions-ppc.c: more macosx support.

svn path=/trunk/mono/; revision=25787
2004-04-21 15:50:25 +00:00
Francisco Figueiredo Jr. 87b04a27a1 2004-04-21 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlDataAdapter.cs: Changed RowUpdated and RowUpdating prefix to Npgsql.
	* Npgsql/NpgsqlClosedState.cs: Removed dependency in TlsException. Carlos Guzman will change this excpetion to internal.
	* Npgsql/NpgsqlCommand.cs                                                       * Npgsql/NpgsqlCommand.resx                                                     * Npgsql/NpgsqlConnection.cs                                                    * Npgsql/NpgsqlConnection.resx                                                  * Npgsql/NpgsqlDataAdapter.cs                                                   * Npgsql/NpgsqlError.cs                                                         * Npgsql/NpgsqlException.cs                                                     * Npgsql/NpgsqlException.resx                                                   * Npgsql/NpgsqlMediator.cs                                                      * Npgsql/NpgsqlState.cs                                                         * Npgsql/NpgsqlState.resx                                                       * Npgsql/PGUtil.cs : Added initial error handling code improvements. Thanks Glen Parker ([email protected]) for the patch. NpgsqlException now gives aceess to error collection through the Errors property. This property return a collection of NpgsqlErrors objects. Also it gives access to error message, hint, severity and code. This fixes the feature request 689 in gborg.

svn path=/trunk/mcs/; revision=25786
2004-04-21 15:39:50 +00:00
Gonzalo Paniagua Javier 57c1476d93 xsp 0.11
svn path=/trunk/mono/; revision=25785
2004-04-21 15:36:22 +00:00
Lluis Sanchez 8d64f3240d * Char.cs: Implemented culture-dependent ToLower and ToUpper methods.
* MulticastDelegate.cs: Removed unused code.

svn path=/trunk/mcs/; revision=25784
2004-04-21 15:01:12 +00:00
Lluis Sanchez a6b03d63de * icall.cs: Registered new icalls for Char.ToLower and Char.ToUpper.
* locales.c, locales.h: Added new icalls for culture-specific Char.ToLower
	  and Char.ToUpper.

svn path=/trunk/mono/; revision=25782
2004-04-21 14:58:37 +00:00
Carlos Guzmán Álvarez 3a685ef746 Added a new class file
svn path=/trunk/mcs/; revision=25779
2004-04-21 14:32:03 +00:00
Carlos Guzmán Álvarez 1241791257 2004-04-21 Carlos Guzman Alvarez <[email protected]>
* Mono.Security.Protocol.Tls/DebugHelper.cs:

		- New class.

	* Mono.Security.Protocol.Tls/ClientRecordProtocol.cs:
	* Mono.Security.Protocol.Tls/RecordProtocol.cs:
	* Mono.Security.Protocol.Tls/Context.cs:
	* Mono.Security.Protocol.Tls/Context.cs:
	* Mono.Security.Protocol.Tls/SslCipherSuite.cs:
	* Mono.Security.Protocol.Tls/TlsCipherSuite.cs:
	* Mono.Security.Protocol.Tls/SslClientStream.cs:

		- Added debug capabilities.

	* Mono.Security.Protocol.Tls/ServerContext.cs:

		- Added initialization of requested CertificateTypes and CA's

	* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificate.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerHello.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerFinished.cs:

		- Modfied exception handling

		- Added debug capabilities.


	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificateRequest.cs:

		- Modify SSL implementation.

	* Mono.Security.Protocol.Tls.Handshake.Server/TlsServerCertificateRequest.cs:

		- Initial implementation.

	* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientCertificateVerify.cs:
	* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientFinished.cs:
	* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientHello.cs:

		- Modfied exception handling

svn path=/trunk/mcs/; revision=25778
2004-04-21 14:31:11 +00:00
Atsushi Eno c7fca05bd2 2004-04-21 Atsushi Enomoto <[email protected]>
* DataSet.cs :
	  Never set null string for Prefix and Namespace.
	  In InferXmlSchema() when null XmlReader is passed, just do nothing.
	  In WriteXmlSchema(string), earlier try block.
	  In BuildSchema(), try to add serialization namespaces for each
	  namespaces in DataSet/DataTable/DataColumn.
	  Removed namespace argument from WriteColumnAsElement() and don't
	  overwrite when namespace is "". This fixes bug #57330.
	* DataColumn.cs : For Namespace and Prefix, never set null.

svn path=/trunk/mcs/; revision=25777
2004-04-21 14:06:26 +00:00
Paolo Molaro 6fa485e4cd Wed Apr 21 16:38:28 CEST 2004 Paolo Molaro <[email protected]>
* mini-ppc.h, mini-ppc.c, cpu-g4.md: enable bigmul optimization.

svn path=/trunk/mono/; revision=25776
2004-04-21 14:01:49 +00:00
Lluis Sanchez a23b84c5df * BooleanConverter.cs: GetStandardValues must return an array of booleans,
not an array of strings.

svn path=/trunk/mcs/; revision=25775
2004-04-21 13:56:52 +00:00
Paolo Molaro d24f4a7397 Wed Apr 21 16:20:32 CEST 2004 Paolo Molaro <[email protected]>
* mini.h, mini-ppc.c, cpu-g4.md: support for implicit exceptions.

svn path=/trunk/mono/; revision=25774
2004-04-21 13:44:28 +00:00
Marek Safar f5c9bbba68 2004-04-21 Marek Safar <[email protected]>
* class.cs: Refactoring.
	(IMethodData): New inteface; Holds links to parent members
	to avoid member duplication (reduced memory allocation).
	(Method): Implemented IMethodData interface.
	(PropertyBase): New inner classes for get/set methods.
	(PropertyBase.PropertyMethod): Implemented IMethodData interface
	(Event): New inner classes for add/remove methods.
	(Event.DelegateMethod): Implemented IMethodData interface.

	* cs-parser.jay: Pass DeclSpace to Event class for creation of valid
	EmitContext (related to class.cs refactoring).

svn path=/trunk/mcs/; revision=25773
2004-04-21 12:32:56 +00:00
Boris Kirzner 3b6b481141 *XmlSchemaMapper.cs : Check for not null unique constraint in ReadXmlSchemaKeyref() before creating and adding foreign key constraint and relation.
svn path=/trunk/mcs/; revision=25772
2004-04-21 12:06:16 +00:00
Marek Safar 161717426e 2004-04-21 Marek Safar <[email protected]>
* test-238.cs,
	test-239.cs,
	test-239.cs: Tests for ObsoleteAttribute

svn path=/trunk/mcs/; revision=25771
2004-04-21 10:48:34 +00:00
Boris Kirzner 4ac3308211 * MergeManager.cs : In AdjustSchema() source table clone should be added and not the table itself.
svn path=/trunk/mcs/; revision=25769
2004-04-21 10:05:12 +00:00
Jordi Mas i Hernandez 6b90ca47cb updates SWF implementation details and installation instructions. Thanks to Peter for its help
svn path=/trunk/mono/; revision=25768
2004-04-21 10:03:41 +00:00
Gonzalo Paniagua Javier d20bb0558f 2004-04-21 Gonzalo Paniagua Javier <[email protected]>
* FormsAuthenticationModule.cs: re-read configuration files if needed
	when determining if forms auth. is used.

svn path=/trunk/mcs/; revision=25767
2004-04-21 09:55:42 +00:00
Boris Kirzner 12d6be3dc6 * DataSet.cs :
- CaseSensitive : Additional fix (removed unnesessary assignment).
  - CopyProperties : Do not try to copy ExtendedProperties if the collection is empty.

svn path=/trunk/mcs/; revision=25766
2004-04-21 09:22:36 +00:00
Raja R Harinath 8a0ed3eeaa (test-compiler-jit-real): Create log files for failed
testcases.
(test-generic, test-2, test-unsafe-compiler-jit): Update.

svn path=/trunk/mcs/; revision=25765
2004-04-21 08:01:41 +00:00
Raja R Harinath 550e65d26a Test for #56442.
svn path=/trunk/mcs/; revision=25764
2004-04-21 07:48:42 +00:00
Raja R Harinath 71e8b0a51d (Delegate.VerifyApplicability): If the number of
arguments are the same as the number of parameters, first try to
verify applicability ignoring  any 'params' modifier on the last
parameter.
Fixes #56442.

svn path=/trunk/mcs/; revision=25763
2004-04-21 07:37:12 +00:00
Boris Kirzner f079a6227a DataTable.cs : Ensure that DataSet property is not null before using it in Clear().
svn path=/trunk/mcs/; revision=25762
2004-04-21 06:32:21 +00:00
Ravindra dfe7356974 Added TestPens and TestBrushes to the test sources list.
svn path=/trunk/mcs/; revision=25761
2004-04-21 05:58:50 +00:00
Ravindra dcc7534bab Added test for Pens.cs class.
svn path=/trunk/mcs/; revision=25760
2004-04-21 05:33:51 +00:00
Ravindra c9b38dedec Added test for Brushes.cs class.
svn path=/trunk/mcs/; revision=25759
2004-04-21 05:32:32 +00:00
Gonzalo Paniagua Javier 169825846e use 'exec'
svn path=/trunk/mono/; revision=25757
2004-04-21 03:48:21 +00:00
Gonzalo Paniagua Javier 4f5c0c951c xsp 0.10 and mod_mono 0.8 released
svn path=/trunk/mono/; revision=25756
2004-04-21 03:47:43 +00:00
Gonzalo Paniagua Javier 1c800f71d8 2004-04-21 Gonzalo Paniagua Javier <[email protected]>
* WebConfigurationSettings.cs: modify realpath when we reach the
	virtual root of the application.

svn path=/trunk/mcs/; revision=25748
2004-04-21 02:03:14 +00:00
Gonzalo Paniagua Javier 2a921acd08 2004-04-20 Gonzalo Paniagua Javier <[email protected]>
* threads.c: the 2nd argument when aborting a thread is NULL now. Patch
	by David Waite.

svn path=/trunk/mono/; revision=25744
2004-04-20 20:57:25 +00:00
Jordi Mas i Hernandez 2a102aef65 new location of the wine stuff
svn path=/trunk/mcs/; revision=25743
2004-04-20 19:17:14 +00:00
Lluis Sanchez 2bce35182e * Queue.cs: Renamed internal membesr to match MS.NET (to allow serialization
interoperability). I also had to make some changes in the implementation:
	I added a field _tail that points at the first free position in the array, and
	changed the type of growFactor, which is now an int (its value is the old
	growFactor * 100).

svn path=/trunk/mcs/; revision=25742
2004-04-20 18:58:14 +00:00
Neale Ferguson 67df1371c4 Fix LMF handling for S/390 JIT
svn path=/trunk/mono/; revision=25741
2004-04-20 18:44:13 +00:00
Lluis Sanchez d1948fa79a * CodeGenerator.cs, ObjectReader.cs, ObjectWriter.cs: Serialize decimals
as strings, like in MS.NET. This fixes bug #57186.

svn path=/trunk/mcs/; revision=25740
2004-04-20 18:29:15 +00:00
Jordi Mas i Hernandez 141d3b8844 fixes sample was not running of .net
svn path=/trunk/mcs/; revision=25739
2004-04-20 18:14:39 +00:00
Lluis Sanchez 1ac535f2eb * TypeTranslator.cs: Mapped again anyUri, but now it is mapped to String.
* XmlSchemaImporter.cs: If a map was initially imported as a class, but it
	  turns out that it is an array, import it again as array. This fixes
	  bug #57133.

svn path=/trunk/mcs/; revision=25735
2004-04-20 16:38:53 +00:00
Boris Kirzner 00362947fe * DataTable.cs :
- EndLoadData() : perfomance fix in case of null constraint violation during data load (also in DataRow.cs).
  - CaseSensitive : If DataTable belongs to DataSet it should always use DataSet.CaseSensitive untill explicitly changed.
  - CopyProperties() : do not try to copy ExtendedProperties if the collection is empty.

* DataRow.cs :
  - Pefromance fix in case of null constraint violation during data load (also in DataTable.cs).
  - CollectionChanged() : use correct column number after new DataColumn was added (differs in case some DataColumn was previosly removed).
  - EndEdit() - throw away  proposed values only after CheckChildRows() complete.

svn path=/trunk/mcs/; revision=25734
2004-04-20 16:17:13 +00:00
Atsushi Eno 551710f275 2004-04-20 Atsushi Enomoto <[email protected]>
* DataSetInferXmlSchema.cs : added more 16 patterns.
	  (mostly fails as yet).
	* DataSetReadXmlTest.cs : Reverted yesterday's incorrect part.
	  As for XmlReadMode = Auto, data row should be read.
	* DataSetTest.cs : Added Namespace and Prefix tests.
	  Added WriteDifferentNamespaceSchema().

	  hmm... WriteXmlSchema() also needs more love :(

svn path=/trunk/mcs/; revision=25733
2004-04-20 16:03:13 +00:00
Martin Baulig 9a0e40108e 2004-04-20 Martin Baulig <[email protected]>
* mono-debug-debugger.c (mono_debugger_lookup_type): Make a copy
	of the type name before passing it to mono_reflection_type_from_name().

svn path=/trunk/mono/; revision=25732
2004-04-20 15:53:40 +00:00
Boris Kirzner ebcb2433be DataColumnCollection.cs : Since unique constraint is added now
in DataColumn.SetTable() the additional creation of constraint in
DataColumnCollection.Add() is redundant and causes exception - fixed.

svn path=/trunk/mcs/; revision=25731
2004-04-20 15:44:16 +00:00
Gonzalo Paniagua Javier 3cca8848f5 2004-04-20 Gonzalo Paniagua Javier <[email protected]>
* ConfigXmlDocument.cs: fixed overloaded Load and added a new one that
	sets the file name.

	* ConfigurationSettings.cs: use the new Load in ConfigXmlDocument when
	loading sections.

	* NameValueFileSectionHandler.cs: don't fails if the path for the 'file'
	attribute doesn't have a directory.

	Closes bug #57244.

svn path=/trunk/mcs/; revision=25728
2004-04-20 14:44:06 +00:00
Dick Porter 3d84d87096 Fix the build
svn path=/trunk/mono/; revision=25727
2004-04-20 14:34:28 +00:00
Juraj Skripsky 2ec8ac5258 2004-04-20 Juraj Skripsky <[email protected]>
* Tokenizer.cs (ReadNumber): Correctly consume decimal point
	when reading numbers. Fixes bug #57251.

svn path=/trunk/mcs/; revision=25726
2004-04-20 14:12:07 +00:00
Sebastien Pouliot 70f7f8c7fa 2004-04-20 Sebastien Pouliot <[email protected]>
* ASN1.cs: Added SaveToFile for easier debugging. Patch from
	Jesper Pedersen.

svn path=/trunk/mcs/; revision=25725
2004-04-20 12:36:32 +00:00
Sebastien Pouliot fe65b0ebfb 2004-04-20 Sebastien Pouliot <[email protected]>
* Mono.Security.dll.sources: Added AssemblyInfo.cs, Locale.cs and
	BitConverterLE.cs to build.

svn path=/trunk/mcs/; revision=25724
2004-04-20 12:31:15 +00:00
Sebastien Pouliot a29b7a29fc 2004-04-20 Sebastien Pouliot <[email protected]>
* CryptoConvert.cs: Synched with corlib version to get endian fixes
	from Bernie Solomon.

svn path=/trunk/mcs/; revision=25723
2004-04-20 12:28:43 +00:00
Sebastien Pouliot 444c1db193 2004-04-20 Sebastien Pouliot <[email protected]>
* ASN1.cs: Added SaveToFile for easier debugging. Patch from
	Jesper Pedersen.
	* BitConverterLE.cs: New. Added Little-Endian BitConverter from
	Bernie Solomon to sync versions with corlib.
	* StrongName.cs: Synched with corlib version. Adds ECMA key fixes,
	endian fixes from Bernie Solomon and removed compilation warning.

svn path=/trunk/mcs/; revision=25722
2004-04-20 12:27:45 +00:00
Sebastien Pouliot 68f1bda3b4 2004-04-20 Sebastien Pouliot <[email protected]>
* NtlmFlags.cs: Changed enum to int for CLS compliance.

svn path=/trunk/mcs/; revision=25721
2004-04-20 12:24:24 +00:00
Sebastien Pouliot 439b1d7800 2004-04-20 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: New. Copied and ajusted from System.Security.
	* Locale.cs: New. Copied (verbatim) from System.Security.
	* ChangeLog: New.

svn path=/trunk/mcs/; revision=25720
2004-04-20 12:17:29 +00:00
Atsushi Eno 0c2454195d 2004-04-20 Atsushi Enomoto <[email protected]>
* XmlCharacterDataTests.cs : Added more tests for Substring().
	* XmlConvertTests.cs : Commented out locale-dependent tests.
	* XmlDocumentTests.cs : Added LoadEntityReference().

svn path=/trunk/mcs/; revision=25719
2004-04-20 12:13:21 +00:00
Atsushi Eno efbe5ce8d5 2004-04-20 Atsushi Enomoto <[email protected]>
* XmlDocumentNavigator.cs : MoveToFirstChild() failed when there is
	  only an EntityReference (not navigatable) child. Bug #57248 fixed.
	* XmlWriter.cs : Modified WriteNode() to use MoveToAttribute(int)
	  instead of WriteAttributes() only for MS.NET behavior compatibility.
	  This change makes SgmlReader usable (due to SgmlReader bug).

svn path=/trunk/mcs/; revision=25718
2004-04-20 11:59:33 +00:00
Sebastien Pouliot bdf0d5a6dc 2004-04-20 Sebastien Pouliot <[email protected]>
* StrongName.cs: Removed compilation warning (unused variable).

svn path=/trunk/mcs/; revision=25717
2004-04-20 11:53:50 +00:00
Sebastien Pouliot 5d3bf03878 2004-04-20 Sebastien Pouliot <[email protected]>
* WindowsIdentityTest.cs: Don't fail on Windows for some contructor
	tests (in NET_1_1). Checking for Windows 2003 Server isn't enough as
	the domain must also be Windows 2003 Server based to work. Also skip
	the GetRolesViaReflection when running os POSIX systems.

svn path=/trunk/mcs/; revision=25716
2004-04-20 11:37:48 +00:00
Jordi Mas i Hernandez 018bbe09e7 Complete region test
svn path=/trunk/mcs/; revision=25714
2004-04-20 10:58:18 +00:00
Bernie Solomon eedf0bce72 2004-04-19 Bernie Solomon <[email protected]>
* Makefile.am:
	* interp.h:
	* interp.c: now interprets different VM code
	* mintops.h:
	* mintops.def:
	* mintops.c: definition of new VM code
	* transform.c: convert CIL to new VM code

svn path=/trunk/mono/; revision=25712
2004-04-20 05:18:35 +00:00
Zoltan Varga 9dcc6c8cbc 2004-04-19 Zoltan Varga <[email protected]>
* marshal.c (mono_marshal_get_managed_wrapper): Handle different string
	encodings here. Fixes #56965.

svn path=/trunk/mono/; revision=25704
2004-04-19 21:11:02 +00:00
Ben Maurer a20a28cc9a 2004-04-19 Ben Maurer <[email protected]>
* iltests.il: more tests.

svn path=/trunk/mono/; revision=25702
2004-04-19 20:32:31 +00:00
Miguel de Icaza 51ddaa5c4e 2004-04-19 Miguel de Icaza <[email protected]>
* Syscall.cs: Use hex values for FileMode, since C# does not have
	an octal integer mode.

svn path=/trunk/mcs/; revision=25700
2004-04-19 20:09:02 +00:00
Todd Berman 5754c54f4e update my email
svn path=/trunk/mono/; revision=25699
2004-04-19 20:00:50 +00:00
Neale Ferguson 07b8473e29 Cleanup S/390 with .30/.31 changes
svn path=/trunk/mono/; revision=25698
2004-04-19 19:05:05 +00:00
Miguel de Icaza e41c95f108 remove astray char
svn path=/trunk/mono/; revision=25697
2004-04-19 18:47:17 +00:00
Zoltan Varga fe55f5b00b 2004-04-19 Zoltan Varga <[email protected]>
* mini-*.c (mono_arch_get_allocatable_int_vars): Skip written-only
	vars as well.

svn path=/trunk/mono/; revision=25696
2004-04-19 18:28:59 +00:00
David Waite 4ab56d97fc * image.c: load_metadata_ptrs changed to correctly increment past the
stream header in the case of unrecognised names
	* metadata.c: mono_metadata_encode_value changed to correctly handle
	  a value of exactly 16k. Also, the expression is changed to use the
	  same comparison and hex values for easier comprehension.

svn path=/trunk/mono/; revision=25695
2004-04-19 17:36:13 +00:00
Lluis Sanchez b370142742 * Assembly.cs: Removed TODO for CreateQualifiedName.
* AssemblyName.cs: Fixed serialization code.
	* AssemblyNameProxy.cs: Implemented.
	* Module.cs: Implemented GetMethod() methods, FindTypes() and GetObjectData.

svn path=/trunk/mcs/; revision=25694
2004-04-19 17:35:08 +00:00
Lluis Sanchez 0e4acbd71f * Comparer.cs: Made constructor public.
svn path=/trunk/mcs/; revision=25693
2004-04-19 17:32:23 +00:00
Lluis Sanchez c105610ceb * AppDomain.cs: Implemented DynamicDirectory and SetDynamicBase.
* Array.cs: Removed some TODOs in CreateInstance and IndexOf.
	* BadImageFormatException.cs: TODO reformat.
	* DateTime.cs: Implemented GetDateTimeFormats and GetDateTimeFormats.
	* DelegateSerializationHolder.cs: Made class internal.
	* Enum.cs: Removed TODO for localization, since this is something that has
	  to be done for all classes.
	* Environment.cs: Removed TODO.
	* Exception.cs: Changed ToString to use StringBuilder.
	* MonoDummy.cs: Made class internal.
	* UnitySerializationHolder.cs: Added support for modules.

svn path=/trunk/mcs/; revision=25692
2004-04-19 17:25:16 +00:00
Gonzalo Paniagua Javier 3917ace10c 2004-04-19 Gonzalo Paniagua Javier <[email protected]>
* System.Text.RegularExpressions/arch.cs:
	* System.Text.RegularExpressions/compiler.cs:
	* System.Text.RegularExpressions/interpreter.cs:
	* System.Text.RegularExpressions/parser.cs:
	* System.Text.RegularExpressions/syntax.cs:
	* Test/System.Text.RegularExpressions/PerlTrials.cs:
	Patch by Eric Durand Tremblay.
	1) Capture inner group when named.
	2) Resolved parse error caused by not capturing inner group
	3) Resolved incorrect capture group
	4) Now, not capturing anything when unnamed ( correct behavior)

svn path=/trunk/mcs/; revision=25691
2004-04-19 17:07:46 +00:00
Paolo Molaro 321774cc4d Mon Apr 19 19:39:47 CEST 2004 Paolo Molaro <[email protected]>
* mini-ppc.c: some fixes to bootstrap mcs/corlib/etc.

svn path=/trunk/mono/; revision=25690
2004-04-19 17:03:57 +00:00
Gonzalo Paniagua Javier c64b8ad0bf 2004-04-19 Gonzalo Paniagua Javier <[email protected]>
* PerlTrials.cs: unix line endings.

svn path=/trunk/mcs/; revision=25689
2004-04-19 16:56:13 +00:00
Gonzalo Paniagua Javier 2e689c7335 2004-04-19 Gonzalo Paniagua Javier <[email protected]>
* arch.cs:
	* compiler.cs:
	* interpreter.cs:
	* parser.cs:
	* syntax.cs: converted to unix line endings.

svn path=/trunk/mcs/; revision=25688
2004-04-19 16:54:36 +00:00
Sanja Gupta bae8c159bf ChangeLog: Updated ChangeLog
Icon.cs: Fixed problem in extracting Bitmap from Icon

svn path=/trunk/mcs/; revision=25685
2004-04-19 13:21:03 +00:00
Zoltan Varga 6cd93004ba 2004-04-19 Zoltan Varga <[email protected]>
* liveness.c: Mark variables as volatile in all basic blocks reachable
	from exception clauses.

svn path=/trunk/mono/; revision=25683
2004-04-19 10:38:25 +00:00
Atsushi Eno 4d70422bec 2004-04-19 Atsushi Enomoto <[email protected]>
* System.Data_test.dll.sources : added DataSetInferXmlSchemaTest.cs.

svn path=/trunk/mcs/; revision=25682
2004-04-19 10:09:45 +00:00
Atsushi Eno 74ae6b8bec 2004-04-19 Atsushi Enomoto <[email protected]>
* XmlDataLoader.cs : Added "never add data rows" mode.
	  Removed unused code. However, it is temporary fixes to unify
	  ReadXml() and InferXmlSchema().
	* DataSet.cs : Implemented InferXmlSchema(), though it is incomplete.

	  I'll create another XmlDataLoader since there are many problems
	  such that 1) it is too waste to read the entire xml into an
	  XmlDocument, 2) it does not handle attributes correctly, and 3) it
	  must handle "ignored namespaces".

svn path=/trunk/mcs/; revision=25681
2004-04-19 10:06:54 +00:00
Atsushi Eno 5c45255f34 2004-04-19 Atsushi Enomoto <[email protected]>
* Added DataSetInferXmlSchemaTest.cs.
	* DataSetReadXmlTest.cs : Fixed test bogus. When ReadMode is
	  InferSchema, it should not load any data rows.
	* DataSetAssertion.cs : Added AssertDataSet() overroad that takes
	  relation count.

svn path=/trunk/mcs/; revision=25680
2004-04-19 10:06:06 +00:00
Atsushi Eno 8bc824bf78 2004-04-19 Atsushi Enomoto <[email protected]>
* region.xsd : To make sure that "msdata" prefix has nothing to do
	  with the actual "msdata namespace", modified namespace URI string.
	  (This modification never affects on the results under MS.NET.)
	* XmlDataDocumentTest.cs : Make sure Read2() loaded the table just fine.

svn path=/trunk/mcs/; revision=25679
2004-04-19 10:05:02 +00:00
Peter Dennis Bartok fa7e8e5e71 - Fixed to use proper graphics object for drawing the button background
svn path=/trunk/mcs/; revision=25678
2004-04-19 05:57:29 +00:00
Raja R Harinath c31d9e6e84 (%-recursive): Honor 'make -k'.
svn path=/trunk/mcs/; revision=25677
2004-04-19 04:33:25 +00:00
Atsushi Eno 61b577f5b5 2004-04-19 Atsushi Enomoto <[email protected]>
* System.Data.dll.sources : Added XmlSchemaDataImporter.cs

svn path=/trunk/mcs/; revision=25674
2004-04-19 02:26:18 +00:00
Atsushi Eno c57d2819be 2004-04-19 Atsushi Enomoto <[email protected]>
* Added XmlSchemaDataImporter.cs (new schema reader).
	* DataSet.cs : Use XmlSchemaDataImporter (right now for DataSet only)
	  for ReadXmlSchema().
	  Let schema reading work to ReadXmlSchema().
	  Don't return ReadSchema when argument read mode was DiffGram.

svn path=/trunk/mcs/; revision=25673
2004-04-19 02:25:47 +00:00
Atsushi Eno d2e97ea2dd 2004-04-19 Atsushi Enomoto <[email protected]>
* Added missing ChangeLog entry.
	* ConstraintCollectionTest.cs :
	  Ignore some tests that should fail (They also fail under MS.NET).
	* DataSetReadXmlSchemaTest.cs :
	  - Added SingleElementTreatmentDifference() and PrefixedTargetNS().
	  - Modified UnusedComplexTypesInored() to make sure DataSetName is set.
	  - Renamed DataSetElementCannotBeReferenced() to
	    NestedReferenceNotAllowed().
	  - Modified ReadElemAttrPattern() to LocaleOnRootWithoutIsDataSet()
	    to test msdata:Locale.
	* DataSetTest.cs : Due to mcs bug #57200, csc does not allow
	  System.Type.GetType(), so modified them all.

svn path=/trunk/mcs/; revision=25672
2004-04-19 02:15:35 +00:00
Gonzalo Paniagua Javier 7a98da2455 2004-04-19 Gonzalo Paniagua Javier <[email protected]>
* UrlUtils.cs: fixed MakeRelative. nGallery goes one step further.

svn path=/trunk/mcs/; revision=25671
2004-04-18 22:01:21 +00:00
Dennis Hayes fe3bfe1bf1 fixed compiler warning
svn path=/trunk/mcs/; revision=25669
2004-04-18 19:35:08 +00:00
Zoltan Varga a11233a5bf 2004-04-18 Zoltan Varga <[email protected]>
* exceptions.cs (test_0_rethow_stacktrace): Make this work with
	inlining.

svn path=/trunk/mono/; revision=25668
2004-04-18 17:44:28 +00:00
Bernie Solomon 5f6eb86e74 2004-04-18 Bernie Solomon <[email protected]>
* icall.c (ves_icall_System_Text_Encoding_InternalCodePage):
	fix test on strstr result not that I can see anything that
	relies on the result.

svn path=/trunk/mono/; revision=25667
2004-04-18 16:12:13 +00:00
Ben Maurer 244a80c8e5 2004-04-18 Ben Maurer <[email protected]>
* iltests.il, basic.cs: more tests for regalloc.

svn path=/trunk/mono/; revision=25666
2004-04-18 16:00:47 +00:00
Zoltan Varga 2a861ac62c 2004-04-18 Zoltan Varga <[email protected]>
* libtest.c pinvoke2.cs marshal4.cs Makefile.am: Add more tests for
	marshalling delegate fields in structs. Merge marshal4.cs into
	pinvoke2.cs.

svn path=/trunk/mono/; revision=25665
2004-04-18 13:35:07 +00:00
Zoltan Varga acacf92c68 2004-04-18 Zoltan Varga <[email protected]>
* metadata.c (mono_type_to_unmanaged): Handle MONO_NATIVE_FUNC as well.
	Fixes #57081.

svn path=/trunk/mono/; revision=25664
2004-04-18 13:22:38 +00:00
Zoltan Varga 5213ed7404 2004-04-18 Zoltan Varga <[email protected]>
* libtest.c pinvoke2.cs: Add more tests for unicode marshalling.

svn path=/trunk/mono/; revision=25663
2004-04-18 13:04:46 +00:00
Zoltan Varga 9be40a7311 2004-04-18 Zoltan Varga <[email protected]>
* marshal.c (mono_marshal_get_string_encoding): New helper function.

	* marshal.c (mono_marshal_get_native_wrapper): Use the new helper
	function to determine which marshalling to use for strings. Fixes
	#56965.

	* marshal.c (mono_marshal_string_array_to_unicode): Fix warning.

svn path=/trunk/mono/; revision=25662
2004-04-18 13:01:30 +00:00
Zoltan Varga 6e60562552 2004-04-18 Zoltan Varga <[email protected]>
* reflection.c (encode_marshal_blob): Add support for LPARRAY.

svn path=/trunk/mono/; revision=25661
2004-04-18 12:58:22 +00:00
Jordi Mas i Hernandez f4fb68e6b3 lamespec doc for rectangle
svn path=/trunk/mcs/; revision=25659
2004-04-18 11:18:56 +00:00
Alon Gazit 09c0ac42ad fixed InstantiateItem() and DataSource property.
The change in DataSource prevents throwing ArgumentException while
setting property value to null.
The change in InstantiateItem() prevents NullReferenceException.

svn path=/trunk/mcs/; revision=25658
2004-04-18 07:39:27 +00:00
César Natarén a1b58b27bc 2004-04-18 Cesar Lopez Nataren <[email protected]>
* expression.cs: added code generation for 'x1 ? x2 :x3' op.

svn path=/trunk/mcs/; revision=25657
2004-04-18 07:23:06 +00:00
César Natarén 3b78aef4b7 added iteration-stmts
svn path=/trunk/mcs/; revision=25655
2004-04-18 05:02:50 +00:00
César Natarén 12e268e5ba 2004-04-18 Cesar Lopez Nataren <[email protected]>
* Statement.cs: Added code generation for while and do-while.

svn path=/trunk/mcs/; revision=25654
2004-04-18 04:30:27 +00:00
César Natarén 33298e8111 added tests for while and do-while statements.
svn path=/trunk/mcs/; revision=25653
2004-04-18 04:25:48 +00:00
Dennis Hayes 5074d95ddd current mono code at top, commented out work in progress code below. Jujst gets some stuff under version control
svn path=/trunk/mcs/; revision=25652
2004-04-18 03:27:43 +00:00
Dennis Hayes 85899ff8bc Added Mainsoft java code, lots of todos where the code has not been completly translated.
* LateBinding.cs
 	* Utils.cs
	* StringType.cs

svn path=/trunk/mcs/; revision=25650
2004-04-18 03:15:35 +00:00
César Natarén 3365f39899 2004-04-17 Cesar Lopez Nataren <[email protected]>
* Statement.cs (class if): reimplemented Emit based on fall_false.
	* Equality.cs: added code generation for != and emit jumping code
	only in the case we are at a global expression not statement.
	* CodeGenerator.cs (fall_true, fall_false): Check if convertion to
	boolean needed. Made emit_to_boolean internal. Added need_convert_to_boolean.

svn path=/trunk/mcs/; revision=25649
2004-04-18 03:15:05 +00:00
Dennis Hayes 2242752246 Removed extra parameter from StrCmp
added check for null to Len(string)
	
	* Strings.cs

svn path=/trunk/mcs/; revision=25648
2004-04-18 03:11:41 +00:00
Ben Maurer 3581897215 2004-04-17 Ben Maurer <[email protected]>
* iltests.il: Some tests for register allocation modifications
	I have locally.

svn path=/trunk/mono/; revision=25642
2004-04-17 17:01:33 +00:00
Zoltan Varga aa582516cd 2004-04-17 Zoltan Varga <[email protected]>
* processes.c: Include <signal.h> for SIGKILL and SIGILL + fix some
	warnings. Fixes #57168.

svn path=/trunk/mono/; revision=25641
2004-04-17 14:22:56 +00:00
Anirban Bhattacharjee f2d00638fd * mb-parser.jay:
* class.cs:
        * const.cs
                a little better structure grammar

svn path=/trunk/mcs/; revision=25640
2004-04-17 08:03:20 +00:00
Martin Baulig abc2c0c9c5 Don't fuck with the locks here.
svn path=/trunk/mono/; revision=25637
2004-04-17 02:41:57 +00:00
Lluis Sanchez 62438a9912 * TypeDescriptorTests.cs: Added new tests for TypeDescriptor.
* System_test.dll.sources: Added
		System.ComponentModel/TypeDescriptorTests.cs.

svn path=/trunk/mcs/; revision=25617
2004-04-16 18:24:43 +00:00
Lluis Sanchez 13e6c4c423 2004-04-16 Lluis Sanchez Gual <[email protected]>
* ReflectionPropertyDescriptor.cs: Access internal PropertyInfo through
	GetPropertyInfo(). Take into account that a component may not be sited or
	not have some services.
	* TypeDescriptor.cs: GetTypeFromName():  Added null check for Site property.
	Other minor fixes.

2004-04-16	Joerg Rosenkranz <[email protected]>

	* TypeDescriptor.cs: Fixed implementation of GetConverter.
	  This fixes #57137.

svn path=/trunk/mcs/; revision=25616
2004-04-16 18:22:14 +00:00
Jordi Mas i Hernandez 1b602d73d1 region test. Part completed
svn path=/trunk/mcs/; revision=25613
2004-04-16 17:54:34 +00:00
Atsushi Eno 03d8c1c700 2004-04-16 Atsushi Enomoto <[email protected]>
* DataSetAssertion.cs : Added AssertDataColumn().
	* DataSetReadXmlSchemaTest.cs : Added more strange cases.

svn path=/trunk/mcs/; revision=25612
2004-04-16 17:32:23 +00:00
Carlos Guzmán Álvarez 02d2d05cfb 2004-04-16 Carlos Guzman Alvarez <[email protected]>
* Mono.Security.Protocol.Tls/TlsException.cs:

		- Make it public until npgsql people can fix their sources.

2004-04-15 Carlos Guzman Alvarez  <[email protected]>

	* Mono.Security.Protocol.Tls/SslClientStream.cs:
	* Mono.Security.Protocol.Tls/SslServerStream.cs:
	* Mono.Security.Protocol.Tls/Alert.cs:
	* Mono.Security.Protocol.Tls/RecordProtocol.cs:
	* Mono.Security.Protocol.Tls/ClientRecordProtocol.cs:
	* Mono.Security.Protocol.Tls/ServerRecordProtocol.cs:
	* Mono.Security.Protocol.Tls/Context.cs:
	* Mono.Security.Protocol.Tls/TlsException.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificate.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerHello.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:
	* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientCertificateVerify.cs:
	* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientFinished.cs:
	* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientHello.cs:

		- Reworked Alert and Exception (TlsException) handling.

	* Mono.Security.Protocol.Tls/TlsClientSettings.cs:

		- Added new CertificateRSA property.

	* Mono.Security.Protocol.Tls/SslHandshakeHash.cs:

		- Added two new methods: CreateSignature and VerifySignature.

	* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:

		- Added Ssl3 implementation.

	* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientCertificateVerify.cs:

		- Added initial implementation.

svn path=/trunk/mcs/; revision=25610
2004-04-16 15:41:01 +00:00
Carlos Guzmán Álvarez f70ffed67b 2004-04-16 Carlos Guzman Alvarez <[email protected]>
* Mono.Security.Protocol.Tls/TlsException.cs:

		- Make it public until npgsql people can fix their sources.

2004-04-15 Carlos Guzman Alvarez  <[email protected]>

	* Mono.Security.Protocol.Tls/SslClientStream.cs:
	* Mono.Security.Protocol.Tls/SslServerStream.cs:
	* Mono.Security.Protocol.Tls/Alert.cs:
	* Mono.Security.Protocol.Tls/RecordProtocol.cs:
	* Mono.Security.Protocol.Tls/ClientRecordProtocol.cs:
	* Mono.Security.Protocol.Tls/ServerRecordProtocol.cs:
	* Mono.Security.Protocol.Tls/Context.cs:
	* Mono.Security.Protocol.Tls/TlsException.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificate.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerHello.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:
	* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientCertificateVerify.cs:
	* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientFinished.cs:
	* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientHello.cs:

		- Reworked Alert and Exception (TlsException) handling.

	* Mono.Security.Protocol.Tls/TlsClientSettings.cs:

		- Added new CertificateRSA property.

	* Mono.Security.Protocol.Tls/SslHandshakeHash.cs:

		- Added two new methods: CreateSignature and VerifySignature.

	* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:

		- Added Ssl3 implementation.

	* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientCertificateVerify.cs:

		- Added initial implementation.

svn path=/trunk/mcs/; revision=25609
2004-04-16 15:24:01 +00:00
Miguel de Icaza 6a34b68211 Up
svn path=/trunk/mono/; revision=25608
2004-04-16 15:23:02 +00:00
Dick Porter e6fe202cba 2004-04-16 Dick Porter <[email protected]>
* threads.c (Sleep): Using div(3) with a negative (when signed)
	numerator causes the quotient to be 0 and the remainder to be the
	numerator.  This feeds a small negative value to nanosleep(3),
	which will return immediately and cause a busy wait.  Fixes bug
	56351.

svn path=/trunk/mono/; revision=25603
2004-04-16 11:42:04 +00:00
Raja R Harinath 8614d2ee2a Test for #56300.
svn path=/trunk/mcs/; revision=25599
2004-04-16 11:11:29 +00:00
Raja R Harinath 7e44a6599d (TypeContainer.AddIndexer): Use
'ExplicitInterfaceName' to determine if interface name was
explicitly specified.  'InterfaceType' is not initialized at this time.
(TypeContainer.DefineIndexers): Remove use of temporary list.  The
Indexers array is already in the required order.  Initialize
'IndexerName' only if there are normal indexers.
(TypeContainer.DoDefineMembers): Don't initialize IndexerName.
(TypeContainer.Emit): Emit DefaultMember attribute only if
IndexerName is initialized.
Fixes #56300.

svn path=/trunk/mcs/; revision=25598
2004-04-16 11:11:08 +00:00
Gonzalo Paniagua Javier 87a82df5c4 2004-04-16 Gonzalo Paniagua Javier <[email protected]>
* FileStream.cs: only pass the async flag set to true when opening the
	file and AIO is supported by the underlying system. Fixes bug #56883.

svn path=/trunk/mcs/; revision=25597
2004-04-16 10:53:06 +00:00
Lluis Sanchez 3631cd3d34 * TcpClientChannel.cs: Initialize the sink provider in the default
constructor.

svn path=/trunk/mcs/; revision=25596
2004-04-16 10:17:25 +00:00
Ravindra 6d729d47ec Minor fixes to Pen.cs, Pens.cs, Solidbrush.cs and coding style/cosmetic changes to Brushes.cs SystemBrushes.cs SystemPens.cs.
svn path=/trunk/mcs/; revision=25595
2004-04-16 10:06:57 +00:00
Zoltan Varga 9bc23d5486 2004-04-16 Zoltan Varga <[email protected]>
* exceptions.cs: Add regression test for bug #56782.

svn path=/trunk/mono/; revision=25594
2004-04-16 09:51:42 +00:00
Anirban Bhattacharjee e62904ed4a few module related test cases
svn path=/trunk/mcs/; revision=25593
2004-04-16 09:51:25 +00:00
Zoltan Varga 2970d8aef7 2004-04-16 Zoltan Varga <[email protected]>
* exceptions-*.c (mono_arch_handle_exception): Do not overwrite the
	original stack trace if an exception is rethrown. Fixes #56782. Oh,
	the beauty of fixing the same thing in 5 different files...

svn path=/trunk/mono/; revision=25592
2004-04-16 09:51:05 +00:00
Gonzalo Paniagua Javier 0ad6482f3a 2004-04-16 David Sheldon <[email protected]>
* DecimalFormatter.cs: Don't append a decimal point after the
    end of a number. ((decimal)1).ToString("P0") should be "100 %", not
    "100. %"

svn path=/trunk/mcs/; revision=25591
2004-04-16 09:47:57 +00:00
Anirban Bhattacharjee 19fb2987ef * mb-parser.jay: few clean-ups
svn path=/trunk/mcs/; revision=25590
2004-04-16 09:32:00 +00:00
Anirban Bhattacharjee f6bacc8ae3 * class.cs: Duplicate entry point exception number changed
Checked delaration of Types, fields, methods as Protected if they are member of Module type
        * const.cs: Checked delaration of constructor as Protected if it is member of Module type
        * driver.cs: exception number is changed for "Entry point does not exist" exception

svn path=/trunk/mcs/; revision=25589
2004-04-16 08:57:19 +00:00
Ravindra f0c3fead2b Adding TestSystemPens.cs to the test sources list.
svn path=/trunk/mcs/; revision=25588
2004-04-16 06:03:36 +00:00
Ravindra e3d01e4336 Added tests for SystemPens.cs.
svn path=/trunk/mcs/; revision=25587
2004-04-16 06:01:13 +00:00
Gonzalo Paniagua Javier 93996eb4ff 2004-04-16 Gonzalo Paniagua Javier <[email protected]>
* HttpUtility.cs: return null in HtmlDecode for null input instead of
	throwing an exception. Patch by Jan Jaros (bug #57083).

svn path=/trunk/mcs/; revision=25586
2004-04-16 05:25:28 +00:00
Gonzalo Paniagua Javier 876e05bb03 2004-04-16 Gonzalo Paniagua Javier <[email protected]>
* Cache.cs: fix from Jan Jaros for NullRef (bug #56996).

svn path=/trunk/mcs/; revision=25583
2004-04-16 04:51:44 +00:00
Miguel de Icaza 07f37d6831 Flush
svn path=/trunk/mono/; revision=25579
2004-04-16 03:05:41 +00:00
Jean-Marc Andre 0c66a0d168 2004-04-15 Jean-Marc Andre <[email protected]>
* SoapFormatter.cs, SoapWriter.cs, SoapReader.cs, SoapTypeMapper.cs:
		Some parts of the code have been rewritten to make it easier
		to understand and maintain.
		AssemblyFormat and TypeFormat are implemented.
	* ISoapParser.cs, ISoapReader.cs, ISoapWriter.cs, SoapCommon.cs,
	ObjectReader.cs, ObjectWriter.cs, SoapParser.cs, SoapTypeMapping.cs:
		Removed for the same reasons as above.
	* SerializationTest.cs:
		New unit test.

svn path=/trunk/mcs/; revision=25570
2004-04-15 21:48:37 +00:00
Carlos Guzmán Álvarez adcd6d1dfd 2004-04-15 Carlos Guzman Alvarez <[email protected]>
* Mono.Security.Protocol.Tls/SslClientStream.cs:
	* Mono.Security.Protocol.Tls/SslServerStream.cs:
	* Mono.Security.Protocol.Tls/Alert.cs:
	* Mono.Security.Protocol.Tls/RecordProtocol.cs:
	* Mono.Security.Protocol.Tls/ClientRecordProtocol.cs:
	* Mono.Security.Protocol.Tls/ServerRecordProtocol.cs:
	* Mono.Security.Protocol.Tls/Context.cs:
	* Mono.Security.Protocol.Tls/TlsException.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificate.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerHello.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:
	* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientCertificateVerify.cs:
	* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientFinished.cs:
	* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientHello.cs:

		- Reworked Alert and Exception (TlsException) handling.

	* Mono.Security.Protocol.Tls/TlsClientSettings.cs:

		- Added new CertificateRSA property.

	* Mono.Security.Protocol.Tls/SslHandshakeHash.cs:

		- Added two new methods: CreateSignature and VerifySignature.

	* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:

		- Added Ssl3 implementation.

	* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientCertificateVerify.cs:

		- Added initial implementation.

svn path=/trunk/mcs/; revision=25568
2004-04-15 20:13:35 +00:00
Bernie Solomon ac827bc84a 2004-04-15 Bernie Solomon <[email protected]>
* icall.c: #include mono-config.h

svn path=/trunk/mono/; revision=25562
2004-04-15 18:08:12 +00:00
Zoltan Varga d0176a39cf 2004-04-15 Zoltan Varga <[email protected]>
* mini.c (mono_method_to_ir): Do not compute coverage for inlined
	methods.

svn path=/trunk/mono/; revision=25561
2004-04-15 17:53:50 +00:00
Carlos Guzmán Álvarez 3c2d31f2e0 2004-04-15 Carlos Guzman Alvarez <[email protected]>
* Mono.Security.Protocol.Tls/SslClientStream.cs:
	* Mono.Security.Protocol.Tls/SslServerStream.cs:
	* Mono.Security.Protocol.Tls/Alert.cs:
	* Mono.Security.Protocol.Tls/RecordProtocol.cs:
	* Mono.Security.Protocol.Tls/ClientRecordProtocol.cs:
	* Mono.Security.Protocol.Tls/ServerRecordProtocol.cs:
	* Mono.Security.Protocol.Tls/Context.cs:
	* Mono.Security.Protocol.Tls/TlsException.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificate.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerHello.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:
	* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientCertificateVerify.cs:
	* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientFinished.cs:
	* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientHello.cs:

		- Reworked Alert and Exception (TlsException) handling.

	* Mono.Security.Protocol.Tls/TlsClientSettings.cs:

		- Added new CertificateRSA property.

	* Mono.Security.Protocol.Tls/SslHandshakeHash.cs:

		- Added two new methods: CreateSignature and VerifySignature.

	* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:

		- Added Ssl3 implementation.

	* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientCertificateVerify.cs:

		- Added initial implementation.

svn path=/trunk/mcs/; revision=25558
2004-04-15 16:43:07 +00:00
Lluis Sanchez eb342fa1b2 * XmlSchemaExporter.cs: When checking if a map has been exported or not,
don't use type name for array types, since we can have different classes
	  that represent the same array type (for example StringCollection and
	  string[]).

svn path=/trunk/mcs/; revision=25557
2004-04-15 16:08:12 +00:00
Jackson Harper 050dfada09 * culture-info-tables.h: Fix date formats for en-US culture.
svn path=/trunk/mono/; revision=25556
2004-04-15 15:49:17 +00:00
Paolo Molaro 4a4717ec5b Remove references to the docs which were moved to another dir.
svn path=/trunk/mono/; revision=25554
2004-04-15 15:19:01 +00:00
Dick Porter f8e1afbeba 2004-04-15 Dick Porter <[email protected]>
* io-private.h:
	* io.c: Rewrite FindFirstFile and FindNextFile using scandir(3)
	and fnmatch(3) instead of glob(3).  glob() can't cope with being
	given filenames containing metachars.  This fixes bug 40557.

svn path=/trunk/mono/; revision=25553
2004-04-15 14:50:08 +00:00
Lluis Sanchez 74276c5768 * ThreadPool.cs: Added GetMinThreads and SetMinThreads.
* Timer.cs: In Change, return false if the timer has been disposed.
	In Dispose, notify the WaitHandle.

svn path=/trunk/mcs/; revision=25552
2004-04-15 14:40:58 +00:00
Lluis Sanchez be788d7bda * icall.c: Registered icalls for ThreadPool.GetMinThreads and
ThreadPool.SetMinThreads.
	* threadpool.c: Implemented ThreadPool.GetMinThreads and
	ThreadPool.SetMinThreads.

svn path=/trunk/mono/; revision=25551
2004-04-15 14:37:39 +00:00
Bernie Solomon c831dae7b8 2004-04-15 Bernie Solomon <[email protected]>
Somehow missed my ChangeLog change of 2004-04-08

svn path=/trunk/mcs/; revision=25550
2004-04-15 14:36:07 +00:00
Jordi Mas i Hernandez 5322e7d552 fixes typo
svn path=/trunk/mcs/; revision=25549
2004-04-15 14:21:43 +00:00
Jordi Mas i Hernandez eeb87c2406 makes sample cleaner and nicer
svn path=/trunk/mcs/; revision=25548
2004-04-15 14:13:41 +00:00
Benjamin Jemlich dc5962e08c 2004-04-15 Benjamin Jemlich <[email protected]>
* enum.cs (Enum.DefineType): Don't allow char as type for enum.
Fixes #57007

svn path=/trunk/mcs/; revision=25547
2004-04-15 14:07:59 +00:00
Paolo Molaro 15bb92c23c Thu Apr 15 15:36:40 CEST 2004 Paolo Molaro <[email protected]>
* mono-config.c: also load the .config file in the directory
	where the assembly was found.

svn path=/trunk/mono/; revision=25546
2004-04-15 13:01:59 +00:00
Paolo Molaro fc212678dc Remove meaningless call.
svn path=/trunk/mono/; revision=25542
2004-04-15 11:58:01 +00:00
Paolo Molaro 1bb6df0047 Thu Apr 15 14:24:49 CEST 2004 Paolo Molaro <[email protected]>
* assembly.c: load per-assembly config files.
	* icall.c: decrapified code to get the config dir and moved to
	mono-config.c.
	* image.h, loader.c, loader.h, mono-config.c, mono-config.h: allow
	per-assembly config files. When doing a dll map lookup give precedence
	to the per-assembly data.

svn path=/trunk/mono/; revision=25541
2004-04-15 11:57:16 +00:00
Sanja Gupta d25daeeb62 ChangeLog: Updated ChangeLog
Icon.cs: Added more missing bits and fixed the problem of Icon not getting
saved in proper format.

svn path=/trunk/mcs/; revision=25540
2004-04-15 11:28:27 +00:00
Umadevi S c14781362b 2004-04-15 Umadevi S ([email protected])
* Copy/Clone methods in DataSet
		* ForeignKeyConstraint - implemented ctor in which datatable name is given.

svn path=/trunk/mcs/; revision=25539
2004-04-15 11:17:30 +00:00
Anirban Bhattacharjee 1d24bdfaaf * mb-parser.jay: Classes can't be delared static impicitly as other module members
svn path=/trunk/mcs/; revision=25538
2004-04-15 11:03:23 +00:00
Umadevi S 1467f74a71 2004-04-15 Umadevi S ([email protected])
* ForeignKeyConstraintTest - constructor testing,
		* DataSet - test for Clone and Copy methods.

svn path=/trunk/mcs/; revision=25537
2004-04-15 10:50:14 +00:00
Anirban Bhattacharjee 23cb2ac333 * class.cs: Couple of bug fixes in defining default static constructor, partially imposed by the fix earlier
svn path=/trunk/mcs/; revision=25536
2004-04-15 08:37:30 +00:00
Atsushi Eno b2f2f990c7 2004-04-15 Atsushi Enomoto <[email protected]>
* XmlSchemaMapper.cs : set parent key and foreign key info to
	  DataRelation when reading refkey constraints.
	  Supply constraint name for fkey.

svn path=/trunk/mcs/; revision=25535
2004-04-15 06:50:33 +00:00
Atsushi Eno 6f5ad15df1 2004-04-15 Atsushi Enomoto <[email protected]>
* System.Data_test.dll.sources :
	  added DataSetReadXmlSchemaTest.cs and DataSetAssertion.cs.

svn path=/trunk/mcs/; revision=25534
2004-04-15 06:48:32 +00:00
Atsushi Eno e30a8707c7 2004-04-15 Atsushi Enomoto <[email protected]>
* Added DataSetAssertion.cs and DataSetReadXmlSchema.cs.
	* DataSetReadXmlTest.cs : separate assertion methods into
	  DataSetAssertion.cs. Added label argument to AssertDataTable.

svn path=/trunk/mcs/; revision=25533
2004-04-15 06:48:09 +00:00
Raja R Harinath d4383ca4a8 * attribute.cs (Attribute.CheckAttributeType): Check for ambiguous
attributes.
Fix for #56456.

* attribute.cs (Attribute.Resolve): Check for duplicate named
attributes.
Fix for #56463.

svn path=/trunk/mcs/; revision=25532
2004-04-15 05:06:55 +00:00
Jackson Harper 8c145e73fb * ILParser.jay: Correct args for version numbers.
svn path=/trunk/mcs/; revision=25531
2004-04-15 04:54:49 +00:00
Miguel de Icaza 5a5223c626 2004-04-15 Miguel de Icaza <[email protected]>
* iterators.cs (MarkYield): track whether we are in an exception,
	and generate code accordingly.  Use a temporary value to store the
	result for our state.

	I had ignored a bit the interaction of try/catch with iterators
	since their behavior was not entirely obvious, but now it is
	possible to verify that our behavior is the same as MS .NET 2.0

	Fixes 54814

svn path=/trunk/mcs/; revision=25530
2004-04-15 04:18:51 +00:00
Miguel de Icaza 36e6f962c7 2004-04-14 Miguel de Icaza <[email protected]>
* iterators.cs: Avoid creating temporaries if there is no work to
	do.

	* expression.cs (ArrayAccess.EmitLoadOpcode): If dealing with
	Enumerations, use TypeManager.EnumToUnderlying and call
	recursively.

svn path=/trunk/mcs/; revision=25529
2004-04-15 03:13:00 +00:00
Atsushi Eno 15330f784e 2004-04-15 Atsushi Enomoto <[email protected]>
* XmlDataLoader.cs : Don't overwrite existing DataSetName. When read
	  mode is Auto, just ignore the schema if there is already schema info.
	* DataSet.cs : Similarly ignore schema info for XmlReadMode = Auto.

svn path=/trunk/mcs/; revision=25528
2004-04-15 02:33:19 +00:00
Atsushi Eno 164503969f 2004-04-15 Atsushi Enomoto <[email protected]>
* DataSetReadXmlTest.cs : Tests were incorrect. They should be done
	  against new dataset. So just added another sequential read tests.

svn path=/trunk/mcs/; revision=25527
2004-04-15 02:28:42 +00:00
Martin Baulig 61b17c5ef5 2004-04-14 Martin Baulig <[email protected]>
* mono-debug-debugger.h (MonoDebuggerEvent): Removed
	MONO_DEBUGGER_EVENT_TYPE_ADDED and MONO_DEBUGGER_EVENT_METHOD_ADDED
	and added MONO_DEBUGGER_EVENT_RELOAD_SYMTABS.

	* mono-debugger-debugger.c: While the debugger is locked, remember
	whether the symbol tables have changes and send one single
	MONO_DEBUGGER_EVENT_RELOAD_SYMTABS when releasing the lock.

svn path=/trunk/mono/; revision=25526
2004-04-15 01:50:04 +00:00
César Natarén ada55037a4 2004-04-14 Cesar Lopez Nataren <[email protected]>
* Added log-ops.js, we'll be adding all sort of test for logic
	operators here.

svn path=/trunk/mcs/; revision=25518
2004-04-15 00:10:01 +00:00
César Natarén 624b89da10 ChangeLog entry
svn path=/trunk/mcs/; revision=25517
2004-04-15 00:07:55 +00:00
César Natarén b6f22ba295 2004-04-14 Cesar Lopez Nataren <[email protected]>
* expression.cs (Binary.Emit): treat boolean operator
	specially. Added emit_jumping_code.
	* CodeGenerator.cs: Added emit_to_boolean. Added fall_true and
	fall_false, which will express all boolean expressions and control
	flow conditions.

svn path=/trunk/mcs/; revision=25514
2004-04-14 23:57:22 +00:00
Miguel de Icaza 1843180aa8 Large iterator refactoring, needed for some changes in the anonymous methods
support.   What started as an innocent 10-line patch turned into a big
witch hunt.

2004-04-14  Miguel de Icaza  <[email protected]>

	* expression.cs (This.Emit): Use EmitContext.EmitThis to emit our
	instance variable.

	(This.EmitAssign): Ditto.

	* ecore.cs (FieldExpr.Emit): Remove RemapToProxy special
	codepaths, we will move all the functionality into
	Mono.CSharp.This

	(FieldExpr.EmitAssign): Ditto.

	This fixes several hidden bugs that I uncovered while doing a code
	review of this today.

	* codegen.cs (EmitThis): reworked so the semantics are more clear
	and also support value types "this" instances.

	* iterators.cs: Changed so that for iterators in value types, we
	do not pass the value type as a parameter.

	Initialization of the enumerator helpers is now done in the caller
	instead of passing the parameters to the constructors and having
	the constructor set the fields.

	The fields have now `assembly' visibility instead of private.

svn path=/trunk/mcs/; revision=25513
2004-04-14 23:32:01 +00:00
Miguel de Icaza 68b75621f5 Add new iterators test
svn path=/trunk/mcs/; revision=25512
2004-04-14 23:18:43 +00:00
Andreas N 90718432ec removed/ added files
svn path=/trunk/mcs/; revision=25510
2004-04-14 21:58:59 +00:00
Andreas N 5d903c17e5 2004-04-14 Andreas Nahr <[email protected]>
* AssemblyInfo.cs: Removed
	* TODOAttribute.cs: Removed (duplicate)

	* System.Windows.Forms.Design.csproj.user
	* System.Windows.Forms.Design.csproj: Removed (outdated)

	* WindowsFormsComponentEditor.cs
	* ComponentEditorPage.cs: Added, mostly implemented

	* ComponentEditor.cs: Removed (does not belong here)

svn path=/trunk/mcs/; revision=25509
2004-04-14 21:58:19 +00:00
Andreas N fe091a4ccf 2004-04-14 Andreas Nahr <[email protected]>
* LinkArea.cs: Added attributes, implemented

svn path=/trunk/mcs/; revision=25507
2004-04-14 20:43:06 +00:00
Andreas N 55bd06aa94 2004-04-13 Andreas Nahr <[email protected]>
* win32structs: made members internal
	* FileDialog.cs
	* OpenFileDialog.cs
	* SaveFileDialog.cs: made methods pure internal

svn path=/trunk/mcs/; revision=25506
2004-04-14 20:41:00 +00:00
Miguel de Icaza 4a2f5f8f3a Added missing semicolons
svn path=/trunk/mono/; revision=25505
2004-04-14 20:17:12 +00:00
Andreas N b292d44b4d 2004-04-14 Andreas Nahr <[email protected]>
* win32enum: made Msg internal
	* Control.cs
	* NativeWindow.cs
	* ScrollableControl.cs
	* Form.cs
	* Application.cs
	* ButtonBase.cs
	* ListBox.cs
	* CheckedListBox.cs
	* ComboBox.cs
	* TextBoxBase.cs
	* DateTimePicker.cs
	* GroupBox.cs
	* ScrollBar.cs
	* Label.cs
	* ListView.cs
	* StatusBar.cs
	* TabControl.cs
	* TrackBar.cs
	* UpDownBase.cs
	* Message.cs: Changes that were neccessary because of
	  making Msg internal

svn path=/trunk/mcs/; revision=25503
2004-04-14 20:02:19 +00:00
Zoltan Varga 70b33f5bfb 2004-04-14 Zoltan Varga <[email protected]>
* libtest.c pinvoke2.cs: Add test for unicode string array marshalling.

svn path=/trunk/mono/; revision=25502
2004-04-14 19:51:56 +00:00
Zoltan Varga 767853ce34 2004-04-14 Zoltan Varga <[email protected]>
* mini.c: Add support for STRWLPARRAY marshalling convention.

svn path=/trunk/mono/; revision=25501
2004-04-14 19:50:44 +00:00
Zoltan Varga 84da1439fe 2004-04-14 Zoltan Varga <[email protected]>
* interp.c (ves_exec_method_with_context): Add support for STRWLPARRAY
	marshalling convention.

svn path=/trunk/mono/; revision=25500
2004-04-14 19:48:37 +00:00
Zoltan Varga 9592bf02d5 2004-04-14 Zoltan Varga <[email protected]>
* metadata.h: Add STRARRAY_STRWLPARRAY marshalling convention.

	* marshal.h marshal.c (mono_marshal_string_array_to_unicode): New
	function.

	* marshal.c (mono_marshal_get_native_wrapper): Take CharSet into
	account when marshalling string arrays. Fixes #56965.

svn path=/trunk/mono/; revision=25499
2004-04-14 19:46:05 +00:00
Zoltan Varga 20b4ecfc60 2004-04-14 Zoltan Varga <[email protected]>
* metadata.h: Add STRARRAY_STRWLPARRAY marshalling convention.

	* marshal.h marshal.c (mono_marshal_string_array_to_unicode): New
	function.

	* marshal.c (mono_marshal_get_native_wrapper): Take CharSet into
	account when marshalling string arrays. Fixes #56965.

svn path=/trunk/mono/; revision=25498
2004-04-14 19:45:32 +00:00
Atsushi Eno fffc6aee71 2004-04-14 Atsushi Enomoto <[email protected]>
* DataSet.cs :
	  - In MS output, XML declaration looks to have standalone decl (yes).
	  - ReadXml(reader) just calls to ReadXml(reader, XmlReadMode.Auto)
	  - ReadXml(reader, mode)
	    1) return originally specified mode, instead of (always) Auto.
	    2) Check empty reader.
	    3) Check diffgram schema and content separately.
	    4) When diffgram exists, remaining (the same-level) contents
	       won't be consumed.
	    5) Similar fact should be applied, but somewhat different.
	       InferSchema and IgnoreSchema just skips, Fragment reads both
	       schema and content, others just reads schema.
	  - Removed unused code.
	* XmlDataLoader.cs :
	  - Read() should skip in some ReadMode.
	  - Don't compare schema element name as case-insensitive (well,
	    should schemas be checked here?)
	  - Avoided BuildDocument() not to create confusing DataSet
	    document element.
	  - Don't add any tables when reader has single element.
	* XmlDiffLoader.cs :
	  When target table was not found, MS.NET doesn't raise an error.
	* XmlSchemaMapper.cs :
	  When XmlSchema.Read() left xml reader at </xs:schema>, read once.

svn path=/trunk/mcs/; revision=25494
2004-04-14 17:29:47 +00:00
Atsushi Eno 9e5dfd977a 2004-04-14 Atsushi Enomoto <[email protected]>
* System.Data_test.dll.sources : added DataSetReadXmlTest.cs.

svn path=/trunk/mcs/; revision=25493
2004-04-14 17:27:29 +00:00
Atsushi Eno 9bc0baad9e 2004-04-14 Atsushi Enomoto <[email protected]>
* Added DataSetReadXmlTest.cs. (specific to ReadXml() in DataSet).

svn path=/trunk/mcs/; revision=25492
2004-04-14 17:26:22 +00:00
Sebastien Pouliot 124190248e 2004-04-14 Sebastien Pouliot <[email protected]>
* UTF8EncodingTest.cs: Ajusted test 3.3.6 and 3.3.7 because MS accept
	invalid UTF8 (when it shouldn't) and Mono doesn't. Both case are now
	accepted by the unit tests.

svn path=/trunk/mcs/; revision=25486
2004-04-14 16:09:29 +00:00
Bernie Solomon 9e8f8f5d76 2004-04-14 Bernie Solomon <[email protected]>
* security.c: #warning is a GCC-ism

svn path=/trunk/mono/; revision=25483
2004-04-14 15:52:15 +00:00
Paolo Molaro dd7216a255 Wed Apr 14 18:15:55 CEST 2004 Paolo Molaro <[email protected]>
* exceptions-ppc.c: missing fixes in mono_jit_walk_stack (need
	to init the context to setup the regs pointer).

svn path=/trunk/mono/; revision=25482
2004-04-14 15:40:49 +00:00
Anirban Bhattacharjee 7db428325e Test cases for mbas
svn path=/trunk/mcs/; revision=25481
2004-04-14 15:37:35 +00:00
Anirban Bhattacharjee cd8ea7a116 * class.cs: Added support for Shadows modifier in Variables
svn path=/trunk/mcs/; revision=25480
2004-04-14 15:30:05 +00:00
Paolo Molaro 0743e2399d Wed Apr 14 17:59:09 CEST 2004 Paolo Molaro <[email protected]>
* exceptions-ppc.c: more exceptions work.

svn path=/trunk/mono/; revision=25479
2004-04-14 15:23:46 +00:00
Miguel de Icaza 42305fb06a Update
svn path=/trunk/mono/; revision=25478
2004-04-14 15:18:15 +00:00
Paolo Molaro 368560f482 Wed Apr 14 17:46:22 CEST 2004 Paolo Molaro <[email protected]>
* mini.c: avoid reusing the same MonoInst on multiple trees: this is
	not allowed.

svn path=/trunk/mono/; revision=25477
2004-04-14 15:12:40 +00:00
Sebastien Pouliot d3cc9890c9 2004-04-14 Sebastien Pouliot <[email protected]>
* UTF8EncodingTest.cs: Added 70 new unit tests from UTF-8-test.txt
	(available from http://www.cl.cam.ac.uk/~mgk25/). Tests are adapted
	so MS implementation pass them all.

svn path=/trunk/mcs/; revision=25476
2004-04-14 15:05:37 +00:00
Anirban Bhattacharjee 239d5dbcb1 * const.cs: Added support for Shadows modifier in constan
svn path=/trunk/mcs/; revision=25475
2004-04-14 15:01:14 +00:00
Lluis Sanchez 650c8f9a5b * System.dll.sources: Added
System.ComponentModel/ReflectionEventDescriptor.cs,
		System.ComponentModel/ReflectionPropertyDescriptor.cs.

svn path=/trunk/mcs/; revision=25474
2004-04-14 14:52:33 +00:00
Lluis Sanchez a0ea05369d * AttributeCollection.cs: Added new internal constructor.
* DesignerAttribute.cs: Fixed property TypeId.
	* EventDescriptorCollection.cs: Added internal constructor. Added new
	  method Filter that removes events that do not have the specified
	  attributes.
	* MemberDescriptor.cs: Minor fixes.
	* PropertyDescriptor.cs: Implemented some missing methods.
	* PropertyDescriptorCollection.cs: Added internal constructor. Implemented
	  Sort methods.
	* ReferenceConverter.cs: Removed some TODOs.
	* SyntaxCheck.cs: Implemented CheckMachineName and CheckPath.
	* TypeDescriptor.cs: Implemented most of missing methods.

svn path=/trunk/mcs/; revision=25473
2004-04-14 14:44:09 +00:00
Ravindra ac0cb3ec24 Adding fail conditions to the test.
svn path=/trunk/mcs/; revision=25472
2004-04-14 14:30:01 +00:00
Sanja Gupta 0ed67652d5 ChangeLog: Updated ChangeLog
Icon.cs: Implemented more missing bits

svn path=/trunk/mcs/; revision=25471
2004-04-14 14:18:38 +00:00
Marek Safar 6fea64ca79 2004-04-14 Marek Safar <[email protected]>
* cs0612.cs,
	* cs0672-2.cs: 2 new error tests.

svn path=/trunk/mcs/; revision=25470
2004-04-14 13:32:28 +00:00
Anirban Bhattacharjee 964dab6c01 * expression.cs: Removed the check which was stoping type instances to access the shared members
svn path=/trunk/mcs/; revision=25469
2004-04-14 13:30:31 +00:00
Anirban Bhattacharjee c1c4ec3003 * modifiers.cs: changed exception number for invalid modifiers exception
svn path=/trunk/mcs/; revision=25468
2004-04-14 13:15:22 +00:00
Sebastien Pouliot 25a55bf367 2004-04-14 Sebastien Pouliot <[email protected]>
* WindowsIdentityTest.cs: Added reflection and serialization tests.

svn path=/trunk/mcs/; revision=25467
2004-04-14 12:47:09 +00:00
Sebastien Pouliot fec3b3f87a 2004-04-14 Sebastien Pouliot <[email protected]>
* WindowsIdentity.cs: Implemented IDeserializationCallback and
	ISerializable interfaces.

svn path=/trunk/mcs/; revision=25466
2004-04-14 12:44:38 +00:00
Lluis Sanchez ef8f047dbe * TypeTranslator.cs, XmlCustomFormatter.cs: Removed map from Uri to anyUri,
not present in MS.NET.
	* XmlSerializationWriter.cs: Improved error message.

svn path=/trunk/mcs/; revision=25465
2004-04-14 11:33:19 +00:00
Lluis Sanchez df9a9c5261 ReaderWriterLockTest.cs: Added more tests for bugs 55911 and 55909.
svn path=/trunk/mcs/; revision=25464
2004-04-14 11:25:39 +00:00
Jordi Mas i Hernandez c1a3219b4a removes anonying warning
svn path=/trunk/mcs/; revision=25463
2004-04-14 10:51:37 +00:00
Anirban Bhattacharjee 294d13924b * mb-parser.jay: Removed 'static_constructor_declaration' - this is not required as 'constructor_declaration' implementation is good enough to handle static constructors too
* class.cs: Handling couple of negative scenarios related to static constructors and bug fixes

svn path=/trunk/mcs/; revision=25462
2004-04-14 10:47:00 +00:00
Paolo Molaro c2b052409a Consolidated a few rules to show the new monoburg feature.
svn path=/trunk/mono/; revision=25461
2004-04-14 10:31:49 +00:00
Paolo Molaro b94f7952f6 Wed Apr 14 12:40:54 CEST 2004 Paolo Molaro <[email protected]>
* monoburg.c, monoburg.h, monoburg.y: changed the grammar so that
	the same emit code can be easily associated with multiple rules.
	Coalesce identical emit functions to reduce code size (10 KB - 10 % -
	with the current unchanged x86 JIT rules).

svn path=/trunk/mono/; revision=25460
2004-04-14 10:10:00 +00:00
Raja R Harinath 75dd4f4495 ($(assemblies_DATA)): Copy file into
$(srcdir).  Clean up output.
($(monobins_DATA)): Likewise.

svn path=/trunk/mono/; revision=25456
2004-04-14 03:20:02 +00:00
Raja R Harinath 8c3001bb4c (mcs-tree-safe-build): Fix typo.
svn path=/trunk/mono/; revision=25455
2004-04-14 03:06:47 +00:00
Atsushi Eno ddbfcbbc13 2004-04-13 Atsushi Enomoto <[email protected]>
* DataSet.cs :
	  - InferXmlSchema(): Throw explicit NotImplementedException now.
	  - Don't put XML declaration everywhere. Write just for filename arg.
	  - xmlns="" should not be written. Maybe WebService problem is
	    because default namespace is overwritten. This patch will keep
	    the WS problem away and actually fixes some unit tests (i.e. use
	    explicit String.Empty for null namespace in WriteStartElement()).
	  - MoveToContent() should always be called, not only when
	    LocalName="xml". It will ignore prolog (DTD, PI, comment etc.).
	  - Even XmlReadMode is DiffGram, reader might not be "diffgram"
	    element. As to MSDN, diffgram does not contain schema.

svn path=/trunk/mcs/; revision=25448
2004-04-14 00:22:00 +00:00
Sebastien Pouliot ec9269729a 2004-04-13 Sebastien Pouliot <[email protected]>
* icall.c: Add new icalls mapping for security.
	* security.c|h: Add internal calls for WindowsIdentity,
	WindowsImpersonationContext and WindowsPrincipal.

svn path=/trunk/mono/; revision=25445
2004-04-13 23:01:12 +00:00
Sebastien Pouliot 5db7283609 2004-04-13 Sebastien Pouliot <[email protected]>
* security.c|h: Removed GetUserName as glib g_get_user_name does a
	better (portability) job. Added ImpersonateLoggedOnUser and
	RevertToSelf.

svn path=/trunk/mono/; revision=25444
2004-04-13 22:59:55 +00:00
Sebastien Pouliot 04ab333c08 2004-04-13 Sebastien Pouliot <[email protected]>
* configure.in: Added rules to check for getgrgid_r, getgrnam_r,
	getpwnam_r, getpwuid_r, getresuid and setresuid.

svn path=/trunk/mono/; revision=25443
2004-04-13 22:58:50 +00:00
Andreas N 0b790edbd3 2004-04-13 Andreas Nahr <[email protected]>
* same kind of line terminators in this file and cleanup

svn path=/trunk/mcs/; revision=25442
2004-04-13 21:56:07 +00:00
Andreas N 3ca85acb80 2004-04-13 Andreas Nahr <[email protected]>
* Shortcut.cs
	* SelectionMode.cs
	* ScrollEventType.cs
	* RichTextBoxSelectionTypes.cs
	* RichTextBoxFinds.cs
	* PropertySort.cs
	* MouseButtons.cs
	* MessageBoxOptions.cs
	* LeftRightAlignment.cs
	* Keys.cs
	* ImeMode.cs
	* HorizontalAlignment.cs
	* DockStyle.cs
	* BoundsSpecified.cs
	* BorderStyle.cs
	* Border3DStyle.cs
	* Border3DSide.cs
	* ArrangeDirection.cs
	* Appearance.cs
	* AnchorStyles.cs
	* AccessibleStates.cs: Added/ corrected attributes

svn path=/trunk/mcs/; revision=25441
2004-04-13 21:02:43 +00:00
Andreas N a85326f048 added file
svn path=/trunk/mcs/; revision=25440
2004-04-13 21:00:06 +00:00
Andreas N f66ff439d4 2004-04-13 Andreas Nahr <[email protected]>
* Consts.cs: Added

svn path=/trunk/mcs/; revision=25439
2004-04-13 20:59:35 +00:00
Gert Driesen 261f8554cd * class.c: Added comment to ensure the System.MonoDummy class is removed
from CVS when no longer needed.

svn path=/trunk/mono/; revision=25435
2004-04-13 20:19:54 +00:00
Miguel de Icaza 5546279737 2004-04-13 Miguel de Icaza <[email protected]>
* Console.cs: Use new codepage setup.

2004-04-13  Miguel de Icaza  <[email protected]>

        * Encoding.cs: Use new internal codepage setup.

svn path=/trunk/mcs/; revision=25434
2004-04-13 20:19:08 +00:00
Miguel de Icaza 8951001915 2004-04-13 Miguel de Icaza <[email protected]>
* appdomain.c: Pass arguments to the bootstraping exceptions to
	minimize JITed methods at boot

	* metadata.c (mono_exception_from_name_two_strings): Allow for the
	second string to be null.

	* icall.c (ves_icall_System_Text_Encoding_InternalCodePage):
	Change the protocol to minimize the JIT methods at startup.  Now
	it Returns the internal codepage, if the value of "int_code_page"
	is 1 at entry, and we can not compute a suitable code page
	number, returns the code page as a string.

2004-04-13  Miguel de Icaza  <[email protected]>

	* inssel-x86.brg (reg): Add new rules for add, sub and mul that
	can use the memory directly.

	* cpu-pentium.md: Update documentation from a post from Zoltan.

	add x86_add_membase, x86_sub_membase, x86_mul_membase

svn path=/trunk/mono/; revision=25433
2004-04-13 20:15:05 +00:00
Andreas N cd454a93a1 removed file
svn path=/trunk/mcs/; revision=25432
2004-04-13 20:14:18 +00:00
Andreas N c68afad8d4 2004-04-13 Andreas Nahr <[email protected]>
* ComVisible.cs: Removed - does not belong here
	* SplitterEventArgs.cs
	* FormWindowState.cs
	* FormStartPosition.cs
	* FormBorderStyle.cs
	* DragAction.cs
	* DialogResult.cs: Added needed using

svn path=/trunk/mcs/; revision=25431
2004-04-13 20:13:45 +00:00
Gert Driesen 0f22d81dca * MonoDummy: added MonoTODO to make sure this class is removed when its
no longer needed

svn path=/trunk/mcs/; revision=25430
2004-04-13 20:11:55 +00:00
Miguel de Icaza 44a2314a04 2004-04-13 Miguel de Icaza <[email protected]>
* mini-ppc.c: Remove unused definitions FLOAT_REGS and
	GENERAL_REGS they were also hardcoded for all PPC ports.

	(add_general): Use PPC_NUM_REG_ARGS instead of GENERAL_REGS.

	Remove hard-coded limit for floating point registers, use
	PPC_LAST_FPARG_REG instead in MONO_TYPE_R4 and MONO_TYPE_R8.

	Notice that in MacOS X calling conventions you can fit a lot more
	floating point values in registers, so I should update the PInvoke
	test to excercise the passing of floating point values on the
	stack (currently broken).

svn path=/trunk/mono/; revision=25429
2004-04-13 19:45:11 +00:00
Sebastien Pouliot ec05b8f232 2004-04-13 Sebastien Pouliot <[email protected]>
* Mono.Security.Win32.dll.sources: Added AssemblyInfo.cs and Locale.cs
	to the assembly.

svn path=/trunk/mcs/; revision=25428
2004-04-13 18:38:57 +00:00
Sebastien Pouliot dae00e3334 2004-04-13 Sebastien Pouliot <[email protected]>
* MD2Test.cs: Removed obsolete NUnit1 TestCase references.
	* MD4Test.cs: Removed obsolete NUnit1 TestCase references.
	* MD5Test.cs: Removed obsolete NUnit1 TestCase references.
	* MD5Test.cs: Removed obsolete NUnit1 TestCase references.
	* RandomNumberGeneratorTest.cs: Removed obsolete NUnit1 TestCase
	and SetUp references.
	* SHA1Test.cs: Removed obsolete NUnit1 TestCase references.

svn path=/trunk/mcs/; revision=25427
2004-04-13 18:37:02 +00:00
Sebastien Pouliot e2a0fbd2dd 2004-04-13 Sebastien Pouliot <[email protected]>
* CapiContext.cs: Better support to create key container (when non
	existing). Added machine key container support. FxCop-ized.
	* CapiHash.cs: FxCop-ized for CLS compliance and GC awareness.
	* CapiRandomNumberGenerator.cs: Now use properties (not fields).
	* CryptoAPI.cs: Changed some uint to int for easier CLS compliance.

svn path=/trunk/mcs/; revision=25426
2004-04-13 18:35:59 +00:00
Sebastien Pouliot b4320370e4 2004-04-13 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: New. Copied and ajusted from System.Security.
	* Locale.cs: New. Copied (verbatim) from System.Security.
	* ChangeLog: New.

svn path=/trunk/mcs/; revision=25425
2004-04-13 18:34:44 +00:00
Jackson Harper 0cb9660a1c * culture-info-tables.h: Fix number of decimal digits for all
english locales.

svn path=/trunk/mono/; revision=25424
2004-04-13 18:30:53 +00:00
Jackson Harper 0fded31482 * icall.c: Clairfy out of sync error message. It is not always
your corlib that is out of sync.

svn path=/trunk/mono/; revision=25422
2004-04-13 17:11:29 +00:00
Lluis Sanchez 7cfcb809d0 * RealProxy.cs: IRemotingTypeInfo.TypeName can return null, beware of that.
svn path=/trunk/mcs/; revision=25403
2004-04-13 16:19:42 +00:00
Gonzalo Paniagua Javier e5863ab02c added comment on bug related to last change here
svn path=/trunk/mcs/; revision=25401
2004-04-13 15:10:44 +00:00
Sebastien Pouliot f61512b08f 2004-04-13 Sebastien Pouliot <[email protected]>
* ThreadTest.cs: Removed [Ignore] on WindowsPrincipal test. Adjusted
	CurrentPrincipal tests to work on both Windows and Linux.

svn path=/trunk/mcs/; revision=25400
2004-04-13 14:30:18 +00:00
Sanja Gupta 906719e98d ChangeLog: Updated ChangeLog
Icon.cs: Added few more missing bits

svn path=/trunk/mcs/; revision=25399
2004-04-13 13:49:18 +00:00
Sebastien Pouliot bce4c4355b 2004-04-13 Sebastien Pouliot <[email protected]>
* WindowsIdentityTest.cs: Adjusted unit tests to run on both Windows
	and Linux (or any POSIX compliant OS).
	* WindowsPrincipalTest.cs: Removed [Ignore] from some tests.

svn path=/trunk/mcs/; revision=25398
2004-04-13 13:41:34 +00:00
Anirban Bhattacharjee e43ae0cf6f some negative testcases related to instance constructor
svn path=/trunk/mcs/; revision=25397
2004-04-13 11:41:32 +00:00
Zoltan Varga b8237cff72 2004-04-13 Zoltan Varga <[email protected]>
* TypeTest.cs: Add new regression test for bug #55874.

svn path=/trunk/mcs/; revision=25396
2004-04-13 11:36:28 +00:00
Sebastien Pouliot ffec19d89e 2004-04-13 Sebastien Pouliot <[email protected]>
* WindowsIdentity.cs: Implemented for both Windows and Linux. Fix bug
	#52532. Class is only missing serialization bits.
	* WindowsImpersonationContext.cs: Implemented for both Windows and
	Linux. Fix bug #52532.
	* WindowsPrincipal.cs: Implemented for both Windows and Linux.  Fix
	bug #52532.

svn path=/trunk/mcs/; revision=25395
2004-04-13 11:35:42 +00:00
Zoltan Varga 55a573e243 2004-04-13 Zoltan Varga <[email protected]>
* icall.c (ves_icall_Type_GetPropertiesByName): Avoid duplicate
	properties when only the set accessor is overriden. Fixes #55874.

svn path=/trunk/mono/; revision=25394
2004-04-13 11:33:29 +00:00
Anirban Bhattacharjee 7a7c955c25 class.cs: Couple of negative scenario handling
svn path=/trunk/mcs/; revision=25393
2004-04-13 10:45:09 +00:00
Gonzalo Paniagua Javier 4e83e0fb63 2004-04-13 Gonzalo Paniagua Javier <[email protected]>
* DataTable.cs: made _initStatus private so that System.Data is CLS
	compliant.

svn path=/trunk/mcs/; revision=25392
2004-04-13 10:29:44 +00:00
Anirban Bhattacharjee ae63beedb5 * mb-parser.jay: Few clean-up
svn path=/trunk/mcs/; revision=25391
2004-04-13 10:28:26 +00:00
Lluis Sanchez e4e40de014 * ReaderWriterLock.cs: More fixes: never wait where acquiring a reader lock
if the thread already has the lock. Added readyWaitingReaders variable to
	  keep track of threads ready to get the reader lock.

svn path=/trunk/mcs/; revision=25390
2004-04-13 10:28:24 +00:00
Zoltan Varga 10274799d1 2004-04-13 Zoltan Varga <[email protected]>
* mono-jni.c: Use <stdarg.h> instead of <varargs.h>.

svn path=/trunk/mono/; revision=25388
2004-04-13 07:44:56 +00:00
Jordi Mas i Hernandez e1f404882c bitmaps is other pixel/bits formats
svn path=/trunk/mcs/; revision=25387
2004-04-13 07:22:34 +00:00
Marek Safar 788ac9afd2 2004-04-13 Marek Safar <[email protected]>
* cs1618-2.cs,
	* cs1619-{27-36}.cs,
	* cs1667.cs, cs1667-2.cs: 13 new error tests.

svn path=/trunk/mcs/; revision=25386
2004-04-13 07:16:43 +00:00
Jordi Mas i Hernandez f385bd3f3a bitmap is os/2 format
svn path=/trunk/mcs/; revision=25385
2004-04-13 07:15:37 +00:00
Umadevi S f84971782e 2004-04-13 Umadevi S ([email protected])
* ConstraintCollectionTest.cs - Added Testcase for UniqueConstraint constructor
	 to be used with the AddRange method

svn path=/trunk/mcs/; revision=25384
2004-04-13 05:48:37 +00:00
Umadevi S 9acd0ced64 2004-04-13 Umadevi S ([email protected])
* Added comments on checkin for UniqueConstraint constructor

svn path=/trunk/mcs/; revision=25383
2004-04-13 05:28:42 +00:00
Umadevi S dd94d929fa 2004-04-13 Umadevi S ([email protected])
* Modified UniqueConstraint.cs, ConstraintCollection.cs, DataTable.cs for
		* special constructor in UniqueConstraint.cs

svn path=/trunk/mcs/; revision=25382
2004-04-13 05:15:47 +00:00
Atsushi Eno 4287265b53 2004-04-13 Atsushi Enomoto <[email protected]>
* XmlDataDocumentTest.cs : still path problem.

svn path=/trunk/mcs/; revision=25381
2004-04-13 04:59:06 +00:00
Raja R Harinath f5feec81ed Allow 'make fullbuild' to work on non-srcdir build.
* Makefile.am (mcs_topdir): New variable.
(mcs-tree-safe-build,mcs-rest,remove-binaries): Work in non-srcdir
build.
(xinstall-runtime): Likewise.  Use $(libgc_dir) directly, don't
grep for 'libgc'.
(fullbuild): Make ordering dependencies explicit.

svn path=/trunk/mono/; revision=25380
2004-04-13 04:32:16 +00:00
Raja R Harinath 4b568d4270 ignores
svn path=/trunk/mono/; revision=25379
2004-04-13 04:31:05 +00:00
Atsushi Eno 49bb2d5160 2004-04-13 Atsushi Enomoto <[email protected]>
* System.Data_test.dll.sources : added XmlDataDocumentTest2.cs.

svn path=/trunk/mcs/; revision=25378
2004-04-13 02:27:51 +00:00
Atsushi Eno 00ae95648a 2004-04-13 Atsushi Enomoto <[email protected]>
* Added XmlDataDocumentTest2.cs (XmlDataDocumentTest.cs is too big)

svn path=/trunk/mcs/; revision=25377
2004-04-13 02:25:56 +00:00
Atsushi Eno 6b5e609d91 2004-04-13 Atsushi Enomoto <[email protected]>
* XmlDataDocument.cs:
	  Load() should not read xml multiple time nor expect BaseURI (and it
	  indicates the resource location is readable).
	  Simplified event handling logic, and fixed missing event removal.
	  Quick hack to avoid new XmlDataDocument(DataSet ds).Load ().
	  Enabled CreateNavigator() that was commented out.

svn path=/trunk/mcs/; revision=25376
2004-04-13 00:59:41 +00:00
David Sheldon 4819fbaeb7 2004-04-12 David Sheldon <[email protected]>
* BinaryReaderTest.cs: Changed series of bytes in
  ReadDecimal to be a cleaner representation of a real
  decimal, as was not a technically correct decimal.

Do we need to add some more tests for what we do with values such as those
in the old test case? With the old code, you could get a single value that
was not equal to its lexical representation. Not ideal.

> d is -18295873486192640
> d != -18295873486192640

svn path=/trunk/mcs/; revision=25372
2004-04-12 18:10:55 +00:00
David Sheldon db1335dcfa 2004-04-12 David Sheldon <[email protected]>
* TimeZoneTest.cs: Make pass when in "GMT".

This probably isn't the same as MS.NET, but the CET doesn't look like it will
be either. Where does one alter the strings/dates we see?

svn path=/trunk/mcs/; revision=25371
2004-04-12 17:36:41 +00:00
Sachin Kumar 1fa84a245c * Makefile.am: Added 'web' in SUBDIRS
svn path=/trunk/mono/; revision=25367
2004-04-12 15:36:42 +00:00
Atsushi Eno 85bcbb0dec 2004-04-12 Atsushi Enomoto <[email protected]>
* Compiler.cs : When BaseURI is an empty string, it should not try to
	  create Uri instance. This will fix bug #56832, but not sure.
	* XslFunctions.cs : for XsltDocument.Resolve(), did the same.
	* HtmlEmitter.cs : Environment.NewLine was incorrectly used (it
	  should be the TextReader's NewLine).
	* MSXslScriptManager.cs : Should raise an error when the prefix which
	  was specified by "implements-prefix" was not found.

svn path=/trunk/mcs/; revision=25365
2004-04-12 14:55:27 +00:00
Sanja Gupta d0104db19e ChangeLog: Updated ChangeLog
Icon.cs: Implemented first version

svn path=/trunk/mcs/; revision=25363
2004-04-12 13:59:45 +00:00
Nick Drochak 9170f6e27b 2004-04-12 Nick Drochak <[email protected]>
* WebConfigurationSettings.cs: Fix build.  Forgot the '?'

svn path=/trunk/mcs/; revision=25362
2004-04-12 13:05:07 +00:00
Atsushi Eno ee0f616ea4 2004-04-12 Atsushi Enomoto <[email protected]>
* WebConfigurationSettings.cs : On Windows "Web.config" is "web.config".

svn path=/trunk/mcs/; revision=25361
2004-04-12 12:26:42 +00:00
Zoltan Varga c5562020f2 2004-04-12 Zoltan Varga <[email protected]>
* mono-jni.c: Fix compilation under gcc 2.95 + fix warnings.

svn path=/trunk/mono/; revision=25360
2004-04-12 12:22:21 +00:00
Anirban Bhattacharjee 7081dad1ac Few constructor related positive test cases
svn path=/trunk/mcs/; revision=25359
2004-04-12 11:47:58 +00:00
Anirban Bhattacharjee 5a39971e3d * mb-parser.jay: Bug fixed - Base class ctor was getting called twice when called explicitly from the derived class ctor as MyBase.New
svn path=/trunk/mcs/; revision=25358
2004-04-12 11:43:23 +00:00
Anirban Bhattacharjee 3964a0a474 * mb-parser.jay: Fixed bugs for calling ctor from another ctor in the same class by using statements like
Me.New
                or
                MyClass.New

svn path=/trunk/mcs/; revision=25357
2004-04-12 11:34:30 +00:00
Roopa Wilson 57fe549848 2004-04-12 Roopa Wilson ([email protected])
* DataRowCollection.cs : Added code to check for exceptions in Add () and InsertAt () methods
* DataRowCollectionTest.cs : Added tests for Add () and InsertAt () methods

svn path=/trunk/mcs/; revision=25356
2004-04-12 10:59:40 +00:00
Gert Driesen f5c6d93f3a * FileSystemInfo.cs: corrected COM visibility of UTC properties
svn path=/trunk/mcs/; revision=25355
2004-04-12 09:30:54 +00:00
Gert Driesen 38f5601f7d * FileSystemInfo.cs: Implemented ISerializable.
svn path=/trunk/mcs/; revision=25354
2004-04-12 09:19:24 +00:00
Atsushi Eno 04ca864002 2004-04-12 Atsushi Enomoto <[email protected]>
* SqlDateTimeTest.cs : ToStringTest() is locale dependent.

svn path=/trunk/mcs/; revision=25353
2004-04-12 08:52:07 +00:00
Atsushi Eno df471d99c8 2004-04-12 Atsushi Enomoto <[email protected]>
* SqlBoolean.cs : Allow "0" and "1" on Parse(). Allow SqlString.Null
	  in conversion.
	* SqlString.cs : CompareOption should not be None.

svn path=/trunk/mcs/; revision=25352
2004-04-12 08:42:40 +00:00
Atsushi Eno 3e770c8919 2004-04-12 Atsushi Enomoto <[email protected]>
* SqlStringTest.cs : Removed locale-dependent test.
	* SqlDecimalTest.cs : Removed runtime-dependent test.

svn path=/trunk/mcs/; revision=25351
2004-04-12 08:41:35 +00:00
Atsushi Eno 21804bdc7d 2004-04-12 Atsushi Enomoto <[email protected]>
* DataSetTest.cs : More path fix. Don't expect End of Line = "\n".
	  It might be "\r\n" or else.

svn path=/trunk/mcs/; revision=25350
2004-04-12 08:38:43 +00:00
Ravindra b64923d940 Added TestSystemBrushes.cs to the test sources list.
svn path=/trunk/mcs/; revision=25345
2004-04-12 03:36:05 +00:00
Ravindra bfe172025a Adding TestSystemBrushes.cs
svn path=/trunk/mcs/; revision=25344
2004-04-12 03:32:51 +00:00
Peter Dennis Bartok bcb5c4cdf5 - Removed several hacks that are no longer needed with the latest
System.Drawing and libgdiplus
- Fixed up Button

svn path=/trunk/mcs/; revision=25339
2004-04-12 02:13:01 +00:00
Peter Dennis Bartok c9ebe8618a - Implemented Font.ToHfont method
svn path=/trunk/mcs/; revision=25337
2004-04-12 01:52:52 +00:00
Gonzalo Paniagua Javier d9ecd58c5c Oops. This is for the ChangeLog entry on day 2004-03-27. Fixes bug #56080.
svn path=/trunk/mcs/; revision=25335
2004-04-11 21:02:28 +00:00
Lluis Sanchez a7668b245f * LockQueue.cs: Moved lockCount change inside the rwlock lock. Removed
lock(this) when entering the rwlock to avoid a deadlock.
	* ReaderWriterLock.cs: In AcquireWriterLock, queue the thread if the queue
	  is not empty (even if state==0).

svn path=/trunk/mcs/; revision=25332
2004-04-11 14:17:06 +00:00
Miguel de Icaza c2182304e4 2004-04-11 Miguel de Icaza <[email protected]>
* expression.cs (Argument.Resolve): Check if fields passed as ref
	or out are contained in a MarshalByRefObject.

	* typemanager.cs, rootcontext.cs: Add System.Marshalbyrefobject as
	another compiler type.

svn path=/trunk/mcs/; revision=25331
2004-04-11 05:02:19 +00:00
Miguel de Icaza ad36a21963 Fix
svn path=/trunk/mcs/; revision=25330
2004-04-11 04:47:55 +00:00
Vladimir Vukicevic e494f54426 * Image.cs: Save should use encoder.FormatID, not Clsid
svn path=/trunk/mcs/; revision=25329
2004-04-11 04:26:19 +00:00
Miguel de Icaza 71ca5a9afb Flush
svn path=/trunk/mono/; revision=25328
2004-04-11 03:26:55 +00:00
Atsushi Eno 15beb27f40 2004-04-11 Atsushi Enomoto <[email protected]>
* NumberFormatInfo.cs : All GetXXXGroupSizes() should not return
	  internal array. Return clone as MS.NET does.

	  There still looks somewhere breaking CurrentInfo.

svn path=/trunk/mcs/; revision=25326
2004-04-11 01:28:20 +00:00
Daniel Morgan 0249cea012 2004-04-10 Daniel Morgan <[email protected]>
* ado-net
	* sqlclient
	* oracle
	* postgresql
	* mysql: clean up Mono ADO.NET web pages

	* makefile: remove building of obsolete web page tds-providers

svn path=/trunk/mono/; revision=25325
2004-04-11 00:26:21 +00:00
Miguel de Icaza 7380b58dec Flush
svn path=/trunk/mono/; revision=25320
2004-04-10 23:20:26 +00:00
Bernie Solomon b464269f20 2004-04-10 Bernie Solomon <[email protected]>
* libtest.c: declare SetLastError on Windows

svn path=/trunk/mono/; revision=25319
2004-04-10 22:55:37 +00:00
Ben Maurer 79cbed9790 2004-04-10 Ben Maurer <[email protected]>
* test-12.cs: test for concat inside array.

svn path=/trunk/mcs/; revision=25309
2004-04-10 18:59:59 +00:00
Miguel de Icaza 1abd7ec48e errors
svn path=/trunk/mcs/; revision=25308
2004-04-10 18:58:44 +00:00
Miguel de Icaza 36af0739b6 2004-04-06 Ben Maurer <[email protected]>
* class.cs (Indexer.Define): use the new name checking method.
	Also, return false on an error.
	* cs-tokenizer.cs (IsValidIdentifier): Checks for a valid identifier.
	(is_identifier_[start/part]_character): make static.

svn path=/trunk/mcs/; revision=25307
2004-04-10 18:56:55 +00:00
Miguel de Icaza 771f2e1e02 2004-04-10 Miguel de Icaza <[email protected]>
* expression.cs (Binary.ResolveOperator): Do no append strings
	twice: since we can be invoked more than once (array evaluation)
	on the same concatenation, take care of this here.  Based on a fix
	from Ben (bug #56454)

svn path=/trunk/mcs/; revision=25306
2004-04-10 18:54:28 +00:00
Atsushi Eno 35a90fa827 2004-04-10 Atsushi Enomoto <[email protected]>
* UTF7Encoding.cs : GetMaxByteCount() was based on incorrect formula.

svn path=/trunk/mcs/; revision=25305
2004-04-10 15:03:35 +00:00
Gert Driesen fcc9a4adda explicit implementation of IDisposable to match MS corlib
svn path=/trunk/mcs/; revision=25303
2004-04-10 14:05:28 +00:00
Vladimir Vukicevic d267fa0a98 * TimeoutManager.cs: Swap the order of initialization of contexts
and the Timer, to avoid race condition of CheckTimeouts being called
before contexts gets initialized.

svn path=/trunk/mcs/; revision=25301
2004-04-10 10:09:04 +00:00
Gonzalo Paniagua Javier 1c7ec0236b 2004-04-10 Gonzalo Paniagua Javier <[email protected]>
* OciDefineHandle.cs: added support for basic RAW data type. Patch by
	Eduard Nesiba.

svn path=/trunk/mcs/; revision=25269
2004-04-10 05:24:24 +00:00
Atsushi Eno 15384d4307 2004-04-10 Atsushi Enomoto <[email protected]>
* XmlParserContext.cs : Fixed .ctor() not to reference null namespace
	  manager. This fixes bug #56770.

svn path=/trunk/mcs/; revision=25268
2004-04-10 01:46:06 +00:00
David Sheldon f7b86d6d4c 2004-04-09 David Sheldon <[email protected]>
Fixes for bug 56744

    * System/Convert.cs: Allow + signs in strings for ToInt32, and
	- if it is base 10.

    * ConvertTest.cs: Tests for Convert.ToInt32(string, base), with
	signs on the strings.

svn path=/trunk/mcs/; revision=25254
2004-04-09 17:39:44 +00:00
Sebastien Pouliot c6b4762ea5 2004-04-09 Sebastien Pouliot <[email protected]>
* chktrust.1: Added some details and documented the CAB format
	restriction (not supported).
	* makecert.1: Added missing options, details for existing options and
	removed duplicate options.
	* setreg.1: Minor changes.
	* signcode.1: Added some details and documented the CAB format
	restriction (not supported). Also added a warning when using both a
	strongname and an Authenticode signature on a assembly.

svn path=/trunk/mono/; revision=25253
2004-04-09 17:14:38 +00:00
Francisco Figueiredo Jr. a3e7e16e5c 2004-04-09 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlDataAdapter.cs: Fixed DataAdapter to raise the RowUpdatin
g and RowUpdated events. This also fixes some issues in gborg 710 bug. This modi
fication may have broken CommandBuilder support. Working on that.

svn path=/trunk/mcs/; revision=25251
2004-04-09 15:07:10 +00:00
Sebastien Pouliot d5ae820fbc 2004-04-09 Sebastien Pouliot <[email protected]>
* certmgr.1: Update the man file to specifiy the current location and
	format of the certificate files. Also added a WARNING that this info
	can change anytime and that the only safe way to manipulate the stores
	are by using the certmgr tool.

svn path=/trunk/mono/; revision=25249
2004-04-09 14:10:13 +00:00
Zoltan Varga 6c24e2335b 2004-04-09 Zoltan Varga <[email protected]>
* corlib_test.dll.sources: Added System.Threading/TimerTest.cs.

svn path=/trunk/mcs/; revision=25247
2004-04-09 13:17:41 +00:00
Zoltan Varga 588e491fc8 2004-04-09 Zoltan Varga <[email protected]>
* TimerTest.cs: Beginnings of regression tests for the Timer class.

svn path=/trunk/mcs/; revision=25246
2004-04-09 13:16:16 +00:00
Zoltan Varga 587b8babef 2004-04-09 Zoltan Varga <[email protected]>
* Timer.cs: Call the callback immediately if dueTime is 0. Fixes
	#56728.

svn path=/trunk/mcs/; revision=25245
2004-04-09 13:15:21 +00:00
Zoltan Varga fd68cf7ce7 2004-04-09 Zoltan Varga <[email protected]>
* assembly.c (mono_assembly_load_references): Make this thread safe.
	Fixes #56327.

svn path=/trunk/mono/; revision=25244
2004-04-09 12:19:52 +00:00
Atsushi Eno d4bcf4ccd2 2004-04-09 Atsushi Enomoto <[email protected]>
* DataColumnTest.cs,
	  DataRowTest.cs,
	  DataTableTest.cs : build fix: csc does not allow
	  System.Type inside namespace MonoTests.System.Data.
	* DataSetTest.cs : path fix.
	* DataRelationTest.cs : path fix. Don't test error message: It should
	  vary by message translations. Split tests and use ExpectedException.

svn path=/trunk/mcs/; revision=25242
2004-04-09 08:17:10 +00:00
Bernie Solomon bf84c822b7 2004-04-08 Bernie Solomon <[email protected]>
* DSA.cs: Use Mono.Security.BitConverterLE

svn path=/trunk/mcs/; revision=25241
2004-04-08 22:06:45 +00:00
Bernie Solomon 6eee65cb65 2004-04-08 Bernie Solomon <[email protected]>
* AuthenticodeBase.cs: Use BitConverterLE

svn path=/trunk/mcs/; revision=25238
2004-04-08 20:38:46 +00:00
Bernie Solomon 96dbfe507d 2004-04-08 Bernie Solomon <[email protected]>
* PKCS1.cs: Use BitConverterLE

svn path=/trunk/mcs/; revision=25237
2004-04-08 20:36:03 +00:00
Bernie Solomon 60f983f7ed 2004-04-08 Bernie Solomon <[email protected]>
* corlib.dll.sources: Added Mono.Security/BitConverterLE.cs

svn path=/trunk/mcs/; revision=25236
2004-04-08 20:34:17 +00:00
Bernie Solomon e3d7bcb3ba 2004-04-08 Bernie Solomon <[email protected]>
* BitConverterLE.cs: added which always does
	little endian conversion
   	* StrongName.cs: Use BitConverterLE
   	* ASN1Convert.cs: Use BitConverterLE

svn path=/trunk/mcs/; revision=25235
2004-04-08 20:33:54 +00:00
Neale Ferguson 7cf3213586 Add JIT for s390
svn path=/trunk/mono/; revision=25234
2004-04-08 20:07:42 +00:00
Lluis Sanchez 8a9527c0c0 * CaseInsensitiveHashCodeProvider.cs: Use the CultureInfo of the calling
thread, not the one of the thread that created the instance.
	* Comparer.cs: Added DefaultInvariant property and missing constructor.
	Use the specified culture info to compare strings.

svn path=/trunk/mcs/; revision=25233
2004-04-08 20:05:14 +00:00
Lluis Sanchez ab1391e476 * ResourceSet.cs: Added minor null check.
svn path=/trunk/mcs/; revision=25232
2004-04-08 19:57:47 +00:00
Lluis Sanchez f86d09a098 Oops, fixed compilation issue.
svn path=/trunk/mcs/; revision=25231
2004-04-08 19:53:17 +00:00
Lluis Sanchez 858b24b072 * BufferedStreamTest.cs: Added test for Position.
svn path=/trunk/mcs/; revision=25230
2004-04-08 19:50:30 +00:00
Lluis Sanchez c315382a2a * AmbientValueAttribute.cs, EnumConverter.cs, ListChangedEventArgs.cs:
Removed unneded TODOs.
	* ComponentResourceManager.cs: Implemented ApplyResources.
	* EventDescriptorCollection.cs: Implemented several missing methods.
	* LicFileLicenseProvider.cs: Implemented.
	* MemberDescriptor.cs: Implemented some missing methods. Handle correctly
	  the creation of the Attribute list.
	* TypeConverter.cs: Use null as default value for attribute array parameter.

svn path=/trunk/mcs/; revision=25229
2004-04-08 19:49:21 +00:00
Neale Ferguson 9d12b8316e S390 JIT
svn path=/trunk/mono/; revision=25228
2004-04-08 19:30:31 +00:00
Jackson Harper 9a9381e6a3 * ReaderWriterLock.cs: Fix tyop
svn path=/trunk/mcs/; revision=25227
2004-04-08 19:20:10 +00:00
Zoltan Varga 069b4108d5 2004-04-08 Zoltan Varga <[email protected]>
* monosn.c: Add missing initialization calls.

svn path=/trunk/mono/; revision=25226
2004-04-08 18:37:43 +00:00
Bernie Solomon fc64c3c4c5 2004-04-08 Bernie Solomon <[email protected]>
* locales.c:
	ves_icall_System_Globalization_CultureInfo_construct_number_format
        Fix g_assert so it compiles on fussier compilers re int/ptr
	mismatch

svn path=/trunk/mono/; revision=25225
2004-04-08 18:22:22 +00:00
Miguel de Icaza a74a3b47fd 2004-04-06 Miguel de Icaza <[email protected]>
* tramp-ppc.c (create_trampoline_code): Added
	JUMP_TRAMPOLINE_SIZE.
	(ppc_magic_trampoline): Follow the pattern from
	x86_magic_trampoline: if code is set to zero, return.
	(create_trampoline_code): Always pass MonoMethod to the jump
	trampoline, before it was passing a null.
	(mono_arch_create_jump_trampoline): Implement the jump stub, could
	share the code with mono_arch_create_jit_trampoline.

	* mini-ppc.c (mono_arch_output_basic_block): CEE_JMP opcode
	implemented.
	(mono_arch_patch_code): MONO_PATCH_INFO_METHOD_JUMP patch type
	implemented.

	* cpu-g4.md: Added length for jmp instruction, the worst case
	scenario is 92 bytes (4 mandatory bytes, potential 19 registers
	for save_lmf).

svn path=/trunk/mono/; revision=25224
2004-04-08 18:15:31 +00:00
Zoltan Varga 9ed9fe0663 2004-04-08 Zoltan Varga <[email protected]>
* aot.c (mono_compile_assembly): Add back unlink removed by mistake.

svn path=/trunk/mono/; revision=25223
2004-04-08 18:01:12 +00:00
Jordi Mas i Hernandez 5fe90ff60a fixes region methods signature
svn path=/trunk/mcs/; revision=25222
2004-04-08 17:51:09 +00:00
Sebastien Pouliot f6698af5ae 2004-04-08 Sebastien Pouliot <[email protected]>
* codegen.cs: Fix another case where CS1548 must be reported (when
	delay-sign isn't specified and no private is available #56564). Fix
	loading	the ECMA "key" to delay-sign an assembly. Report a CS1548
	error when MCS is used on the MS runtime and we need to delay-sign
	(which seems unsupported by AssemblyBuilder - see #56621).

svn path=/trunk/mcs/; revision=25220
2004-04-08 17:26:10 +00:00
Rafael Teixeira 278f56368c 2004-04-08 Rafael Teixeira <[email protected]>
* OptionDetails.cs: Implemented Jonathan Pryor request for multiplicity in boolean properties

svn path=/trunk/mcs/; revision=25219
2004-04-08 14:57:44 +00:00
Lluis Sanchez 1940817233 * CompareInfo.cs, CultureInfo.cs, NumberFormatInfo.cs, TextInfo.cs:
Made those serializable-compatible with MS.NET: modified fields names to
	match MS.NET ones, and in CultureInfo added a flag to control when a
	deserialized instance need to be initialized.

svn path=/trunk/mcs/; revision=25218
2004-04-08 14:10:11 +00:00
Dick Porter 15f11aeb01 2004-04-08 Dick Porter <[email protected]>
* Socket.cs: Rearrange the internal calls so that the exceptions
	are thrown from managed code

svn path=/trunk/mcs/; revision=25217
2004-04-08 11:56:14 +00:00
Dick Porter 37fa834714 2004-04-08 Dick Porter <[email protected]>
* socket-io.h:
	* socket-io.c: Don't set SO_REUSEADDR on windows.  Fixes bug
	53992.  Also rearrange the code so that the internal calls return
	an error value and exceptions are thrown from managed code.

	* icall.c: Add type info to the socket icalls.

svn path=/trunk/mono/; revision=25216
2004-04-08 11:55:44 +00:00
Lluis Sanchez 0f75c6d4a4 * ReaderWriterLock.cs: Changed some methods to private.
* WaitHandle.cs: In Wait methods, release the synchronization context when
	  exitContext is true.

svn path=/trunk/mcs/; revision=25215
2004-04-08 11:37:30 +00:00
Lluis Sanchez 3bc6b565c4 * SystemInformation.cs: Fixed bad pointer arithmetic in _gethostname.
Fix by Carlos A. Barcenilla.

svn path=/trunk/mcs/; revision=25214
2004-04-08 11:31:56 +00:00
Marek Safar 5e2b02ba99 2004-04-08 Marek Safar <[email protected]>
* cs1677.cs: Changed name from cs1667.cs

svn path=/trunk/mcs/; revision=25213
2004-04-08 09:57:19 +00:00
Marek Safar c593396c2c 2004-04-08 Marek Safar <[email protected]>
* typemanager.cs (TypeManager.TypeToCoreType): Handle IntPtr too.
	(TypeManager.ComputeNamespaces): Faster implementation for
	Microsoft runtime.

	* compiler.csproj: Updated AssemblyName to mcs.

svn path=/trunk/mcs/; revision=25212
2004-04-08 08:14:56 +00:00
Umadevi S aa06685be5 2004-04-08 Umadevi S ([email protected])
* DataRowCollection.cs - Find method - handled all error cases

svn path=/trunk/mcs/; revision=25211
2004-04-08 07:34:38 +00:00
Umadevi S b830a80d6f 2004-04-08 Umadevi S ([email protected])
* Added a TestCase for additionalConstraint

svn path=/trunk/mcs/; revision=25208
2004-04-08 06:47:31 +00:00
Umadevi S 7305979ba5 2004-04-08 Umadevi S ([email protected])
* Implemented TODO on DataColumn.Unique

svn path=/trunk/mcs/; revision=25207
2004-04-08 06:43:46 +00:00
Gonzalo Paniagua Javier 786e70ee30 2004-04-08 Gonzalo Paniagua Javier <[email protected]>
* Timer.cs: call Abort on the Runner instance too.

svn path=/trunk/mcs/; revision=25206
2004-04-08 04:30:13 +00:00
Gonzalo Paniagua Javier b06a6911d4 lalala
svn path=/trunk/mcs/; revision=25205
2004-04-08 03:59:15 +00:00
Gonzalo Paniagua Javier 13f730ebb2 2004-04-08 Gonzalo Paniagua Javier <[email protected]>
* object.h: synchronize MonoCompareInfo with CompareInfo class. Someone
	owes me a beer.

svn path=/trunk/mono/; revision=25204
2004-04-08 03:56:18 +00:00
Atsushi Eno 82c7a5bf5c 2004-04-08 Atsushi Enomoto <[email protected]>
* Nullable.cs : usingdecl should also be conditional.

svn path=/trunk/mcs/; revision=25203
2004-04-07 23:38:12 +00:00
Gonzalo Paniagua Javier c78844fda2 2004-04-08 Gonzalo Paniagua Javier <[email protected]>
* Assembly/AssemblyInfo.cs:
	* System.Windows.Forms/AxHost.cs:
	* System.Windows.Forms/ScrollableControl.cs:
	* System.Windows.Forms/win32Enums.cs:
	* System.Windows.Forms/win32Structs.cs: patch by Gert Driesen that makes
	SWF CLS compliant.

svn path=/trunk/mcs/; revision=25202
2004-04-07 23:21:25 +00:00
Gonzalo Paniagua Javier df807a0282 2004-04-08 Gonzalo Paniagua Javier <[email protected]>
* Win32Exception.cs: added 10024 (WSAEMFILE).

svn path=/trunk/mcs/; revision=25201
2004-04-07 23:06:04 +00:00
Martin Baulig fe2356d971 Make this work for multiple constraints.
svn path=/trunk/mcs/; revision=25200
2004-04-07 22:49:35 +00:00
Martin Baulig 4ed3abf497 Ooooops, the conditional for this is GENERICS', not NET_1_2'.
svn path=/trunk/mcs/; revision=25199
2004-04-07 22:42:36 +00:00
Martin Baulig caae5da372 Small fix.
svn path=/trunk/mcs/; revision=25198
2004-04-07 21:20:47 +00:00
Martin Baulig c1dfb34e6d They're not CLS-compliant.
svn path=/trunk/mcs/; revision=25197
2004-04-07 21:20:39 +00:00
Martin Baulig 9309e840e1 Ok, I'm too stupid to merge things :-(
svn path=/trunk/mcs/; revision=25196
2004-04-07 21:11:30 +00:00
Martin Baulig 4e56691542 **** Merged from mcs ****
svn path=/trunk/mcs/; revision=25195
2004-04-07 21:06:57 +00:00
Martin Baulig 8da2d1710a *** Merged from mcs ****
svn path=/trunk/mcs/; revision=25194
2004-04-07 21:05:51 +00:00
Martin Baulig 63ead0b569 This is gone for a long time.
svn path=/trunk/mcs/; revision=25193
2004-04-07 20:32:38 +00:00
Martin Baulig 5d067ea534 Hmm, remove this for the moment.
svn path=/trunk/mcs/; revision=25192
2004-04-07 20:29:28 +00:00
Martin Baulig 92912b4186 2004-04-07 Martin Baulig <[email protected]>
* Nullable.cs: New file.

svn path=/trunk/mcs/; revision=25191
2004-04-07 20:20:07 +00:00
Martin Baulig b431ad5e52 Set TYPE_ATTRIBUTES_PUBLIC.
svn path=/trunk/mono/; revision=25190
2004-04-07 20:03:55 +00:00
Martin Baulig 387fb57a96 Type parameters are always public.
svn path=/trunk/mcs/; revision=25189
2004-04-07 20:03:45 +00:00
Martin Baulig fefa40d451 2004-04-07 Martin Baulig <[email protected]>
* expression.cs (Binary.ResolveOperator): Added special case for
	Equality/Inequality between a type parameter and a null literal.

svn path=/trunk/mcs/; revision=25188
2004-04-07 19:59:22 +00:00
Martin Baulig ea6720b7ba 2004-04-07 Martin Baulig <[email protected]>
* class.c (mono_class_from_generic_parameter): Don't default
	`klass->parent' to `mono_defaults.object_type'.

svn path=/trunk/mono/; revision=25187
2004-04-07 19:44:48 +00:00
Martin Baulig 9cc92e4e28 2004-04-07 Martin Baulig <[email protected]>
* reflection.c (mono_reflection_initialize_generic_parameter): Set
	`param->pklass->reflection_info'.

svn path=/trunk/mono/; revision=25186
2004-04-07 19:42:11 +00:00
Martin Baulig 015f7b6e57 2004-04-07 Martin Baulig <[email protected]>
* convert.cs: Check null literal -> type parameter conversions.

svn path=/trunk/mcs/; revision=25185
2004-04-07 19:39:35 +00:00
Martin Baulig 869d12aa6b Use TypeManager.GetInterfaces().
svn path=/trunk/mcs/; revision=25183
2004-04-07 19:01:10 +00:00
Martin Baulig 851d036da5 New tests.
svn path=/trunk/mcs/; revision=25182
2004-04-07 19:01:00 +00:00
Jackson Harper a0c6e79318 * Thread.cs: Use new culture info method for constructing the
current culture.

svn path=/trunk/mcs/; revision=25181
2004-04-07 18:58:44 +00:00
Martin Baulig 55a2a2f6fc 2004-04-07 Martin Baulig <[email protected]>
* Type.cs (Type.GetGenericArguments): Make this abstract.

svn path=/trunk/mcs/; revision=25180
2004-04-07 18:55:30 +00:00
Martin Baulig 81bbf34caa 2004-04-07 Martin Baulig <[email protected]>
* icall.c (ves_icall_Type_GetGenericArguments): Moved this icall
	from System.Type to System.MonoType.

svn path=/trunk/mono/; revision=25179
2004-04-07 18:54:34 +00:00
Gonzalo Paniagua Javier 59c9523923 2004-04-07 Gonzalo Paniagua Javier <[email protected]>
* TypeTest.cs: enumerated the tests.

svn path=/trunk/mcs/; revision=25178
2004-04-07 18:49:26 +00:00
Jackson Harper f5ccbb23f3 * culture-info-tables.h: Fix date separator symbol.
svn path=/trunk/mono/; revision=25177
2004-04-07 18:47:10 +00:00
Martin Baulig 26a561dbb0 2004-04-07 Martin Baulig <[email protected]>
* generic.cs (ConstructedType.CheckConstraints): Enforce the
	`class' and `struct' constraints.

svn path=/trunk/mcs/; revision=25176
2004-04-07 18:40:24 +00:00
Martin Baulig 61d95498bc Actually set the class' and struct' constraint on the GenericTypeParameterBuilder.
svn path=/trunk/mcs/; revision=25175
2004-04-07 18:30:06 +00:00
Martin Baulig 294ffb51ed 2004-04-07 Martin Baulig <[email protected]>
* reflection.h
	(MonoReflectionGenericParam): Added `has_reference_type' and
	`has_value_type' fields.

	* reflection.c (mono_image_get_generic_param_info): Encode the
	correct flags if we have the `class' or `struct' constraint.

svn path=/trunk/mono/; revision=25174
2004-04-07 18:29:42 +00:00
Martin Baulig 00b6519690 2004-04-07 Martin Baulig <[email protected]>
* GenericTypeParameterBuilder.cs
	(Mono_SetReferenceTypeConstraint): New public method.
	(Mono_SetValueTypeConstraint): New public method.

svn path=/trunk/mcs/; revision=25173
2004-04-07 18:28:29 +00:00
Martin Baulig ce99cc460c 2004-04-07 Martin Baulig <[email protected]>
* generic.cs (SpecialConstraint): New public enum.
	(Constraints.Resolve): Added support for the `class' and `struct'
	constraints.

	* cs-parser.jay (type_parameter_constraint): Added support for the
	`class' and `struct' constraints.

svn path=/trunk/mcs/; revision=25172
2004-04-07 18:11:03 +00:00
Martin Baulig 1e663e3c40 Put back support for the new () constraint.
svn path=/trunk/mcs/; revision=25171
2004-04-07 17:32:42 +00:00
Martin Baulig e489beedf2 2004-04-07 Martin Baulig <[email protected]>
* GenericTypeParameterBuilder.cs
	(Mono_SetConstructorConstraint): New public method.

svn path=/trunk/mcs/; revision=25170
2004-04-07 17:32:21 +00:00
Martin Baulig 05d3f9e3be 2004-04-07 Martin Baulig <[email protected]>
* reflection.h
	(MonoReflectionGenericParam): Added `MonoBoolean has_ctor_constraint'.

svn path=/trunk/mono/; revision=25169
2004-04-07 17:32:07 +00:00
Bernie Solomon 4892d91139 2004-04-07 Bernie Solomon <[email protected]>
* MethodBuilder.cs, TypeBuilder.cs: always have
	slot for generic_params for consistent offsets.

svn path=/trunk/mcs/; revision=25168
2004-04-07 17:20:04 +00:00
Martin Baulig 80832d275a 2004-04-07 Martin Baulig <[email protected]>
* support.cs (GenericConstraints): Replaced `Types' by
	`ClassConstraint' and `InterfaceConstraints'; added
	`HasClassConstraint'.

svn path=/trunk/mcs/; revision=25167
2004-04-07 17:18:53 +00:00
Miguel de Icaza 4997bfb470 Add
svn path=/trunk/mcs/; revision=25164
2004-04-07 17:04:07 +00:00
Miguel de Icaza 8a979ffd25 Add new errors
svn path=/trunk/mcs/; revision=25163
2004-04-07 16:46:30 +00:00
Jackson Harper 763ba8d86e * appdomain.c: Revert extra patches, just wanted to bump the
version number.

svn path=/trunk/mono/; revision=25162
2004-04-07 16:42:25 +00:00
Jackson Harper e04b0bfe79 * Environment.cs: Increase corlib version number.
svn path=/trunk/mcs/; revision=25161
2004-04-07 16:22:52 +00:00
Jackson Harper e5ac52c12a * CultureInfo.cs: Use new ICUless implementation in the runtime.
* CompareInfo.cs: Get ICU name from a cultureinfo object instead
	of looking it up in the culture map.
	* RegionInfo.cs: Dont check if the LCID is neutral unless its not
	found in the switch. Avoids an icall.

svn path=/trunk/mcs/; revision=25160
2004-04-07 16:20:39 +00:00
Jackson Harper 3740a2179b * Makefile.am: Add culture-info private headers.
* icall.c: Add new icalls for contructing locales.
	* locales.c: Construct CultureInfo objects from lookup tables instead of using ICU.
	* locales.h: Declare new culture info construction methods.
	* object.h: Add new fields used to avoid the CultureMap to
	MonoCultureInfo.
	* culture-info.h: Definition of structs used in the culture info
	tables.
	* culture-info-tables.h: Autogenerated tables that contain culture
	info data. This file was generated with the locale-builder tool.
	* appdomain.c: Incement corlib version number.

svn path=/trunk/mono/; revision=25159
2004-04-07 16:17:26 +00:00
Bernie Solomon 4654dd6641 2004-04-07 Bernie Solomon <[email protected]>
* appdomain.c: (mono_runtime_init) move mono_thread_init
	to before mono_object_new calls so critical sections
	are initialized before use.

svn path=/trunk/mono/; revision=25158
2004-04-07 15:42:44 +00:00
Zoltan Varga 1fc3cac429 2004-04-07 Zoltan Varga <[email protected]>
* configure.in Makefile.am ikvm-jni: Add IKVM JNI interface library.

svn path=/trunk/mono/; revision=25157
2004-04-07 15:14:08 +00:00
Rafael Teixeira 6b963a2954 correcting Dennis having erased Joerg copyright accidentaly
svn path=/trunk/mcs/; revision=25156
2004-04-07 14:55:00 +00:00
Zoltan Varga fb9534eae3 2004-04-07 Zoltan Varga <[email protected]>
* mini.c: Only set bblock->real_offset when adding a new bblock, and
	before each IL instruction.

	* mini.c (CEE_BOX): Fix warnings.

svn path=/trunk/mono/; revision=25154
2004-04-07 14:21:39 +00:00
Rafael Teixeira 3d9e7276ab 2004/04/07 Rafael Teixeira <[email protected]>
* mb-tokenizer.cs : Better error message when dealing with date literals

svn path=/trunk/mcs/; revision=25153
2004-04-07 13:58:04 +00:00
Sebastien Pouliot 1df3f407b2 2004-04-07 Sebastien Pouliot <[email protected]>
* cs1606.pub: New file. ECMA key.
	* cs1606.cs: New file. This is the same problem as cs1548-3.cs but CSC
	report a different error number when the ECMA key is being used.

svn path=/trunk/mcs/; revision=25152
2004-04-07 13:44:37 +00:00
Gonzalo Paniagua Javier 1ccb72ca77 2004-04-07 Gonzalo Paniagua Javier <[email protected]>
* System/Environment.cs:
	(ExpandEnvironmentVariables): on windows, env. vars. are case
	insensitive.

	* Test/System/EnvironmentTest.cs: use uppercase for PATH. Added test
	to check the expected substitutions.

svn path=/trunk/mcs/; revision=25151
2004-04-07 11:20:23 +00:00
Nick Drochak e2fcc9ea5e Fix Build
svn path=/trunk/mcs/; revision=25150
2004-04-07 11:16:18 +00:00
Lluis Sanchez 74f52190d1 * BaseValidator.cs: Store Display property in the correct ViewState
property. Don't render anything if Display is ValidatorDisplay.None.

svn path=/trunk/mcs/; revision=25149
2004-04-07 09:25:12 +00:00
Lluis Sanchez c589dd6958 * Cache.cs, CacheEntry.cs, ExpiresBuckets.cs: The value to use to specify
infinite timeout in ReaderWriterLock is -1, not 0.

svn path=/trunk/mcs/; revision=25148
2004-04-07 09:24:25 +00:00
Lluis Sanchez d92027fad2 * ReaderWriterLockTest.cs: Added one more test.
svn path=/trunk/mcs/; revision=25147
2004-04-07 09:06:45 +00:00
Lluis Sanchez 02524eecbd * ReaderWriterLock.cs: When a thread holds a writer lock, a call to
AcquireReaderLock works like a call to AcquireWriterLock.

svn path=/trunk/mcs/; revision=25146
2004-04-07 09:04:57 +00:00
Martin Baulig 9f66a3745e *** empty log message ***
svn path=/trunk/mcs/; revision=25145
2004-04-07 08:22:24 +00:00
Martin Baulig d2bf56daae 2004-04-07 Martin Baulig <[email protected]>
* generic.cs
	(Constraints.InterfaceConstraints): New public property.
	(Constraints.Types): Make this property public
	(TypeParameter): Implement IMemberContainer.
	(TypeParameter.Define): Take a `GenericTypeParameterBuilder'
	instead of a TypeBuilder/MethodBuilder; pass the interface
	constraints to TypeManager.AddTypeParameter().
	(TypeParameter.DefineType): Just take an EmitContext and no
	TypeBuilder/MethodBuilder.  Use the new public API.

	* typemanager.cs (TypeManager.AddTypeParameter): Added
	`TypeExpr[]' argument; add the interfaces to the
	`builder_to_ifaces' hash.
	(TypeManager.LookupMemberContainer): For
	GenericTypeParameterBuilders, get the TypeParameter from the
	`builder_to_type_param'.

svn path=/trunk/mcs/; revision=25144
2004-04-07 08:15:17 +00:00
Martin Baulig 2458c9140f 2004-04-07 Martin Baulig <[email protected]>
* icall.c
	(ves_icall_TypeBuilder_define_generic_parameter): Removed.
	(ves_icall_MethodBuilder_define_generic_parameter): Removed.
	(ves_icall_MonoGenericParam_initialize): Removed.
	(monogenericparam_icalls): Removed.
	(generictypeparambuilder_icalls): Added new table for
	System.Reflection.Emit.GenericTypeParameterBuilder.

	* reflection.c
	(mono_reflection_define_generic_parameter): Removed.
	(mono_reflection_initialize_generic_parameter): This is now called
	from GenericTypeParameterBuilder's .ctor.

svn path=/trunk/mono/; revision=25143
2004-04-07 08:08:24 +00:00
Martin Baulig 8c36d8ac0c Added GenericTypeParameterBuilder
svn path=/trunk/mcs/; revision=25142
2004-04-07 08:01:56 +00:00
Martin Baulig 39eeb07f51 2004-04-07 Martin Baulig <[email protected]>
* MonoGenericInst.cs (MonoGenericParam): Removed.

svn path=/trunk/mcs/; revision=25141
2004-04-07 08:01:43 +00:00
Martin Baulig bedfae2e15 2004-04-01 Martin Baulig <[email protected]>
* OpCodes.cs (OpCodes.Constrained): New opcode.

svn path=/trunk/mcs/; revision=25140
2004-04-07 08:01:01 +00:00
Marek Safar bf0f92de0b 2004-04-07 Marek Safar <[email protected]>
* Constraint.cs: changed ClsCompliant to CLSCompliant, build fix.

svn path=/trunk/mcs/; revision=25139
2004-04-07 06:46:47 +00:00
Miguel de Icaza f53011c46f 2004-04-07 Miguel de Icaza <[email protected]>
* rootcontext.cs: Add new types to the boot resolution.

	* ecore.cs (TypeExpr.CanInheritFrom): Inheriting from
	MulticastDelegate is not allowed.

svn path=/trunk/mcs/; revision=25138
2004-04-07 05:47:31 +00:00
Miguel de Icaza b2edc99b28 2004-04-07 Miguel de Icaza <[email protected]>
* typemanager.cs: Add new types to lookup: System.TypedReference
	and ArgIterator.

	* paramter.cs (Parameter.Resolve): if we are an out/ref parameter,
	check for TypedReference or ArgIterator, they are not allowed.

	* ecore.cs (BoxedCast): Set the eclass to ExprClass.Value, this
	makes us properly catch 1510 in some conditions (see bug 56016 for
	details).

svn path=/trunk/mcs/; revision=25136
2004-04-07 05:36:16 +00:00
Gonzalo Paniagua Javier 09d5a1a6e8 Small patch from Gert to match MS
svn path=/trunk/mcs/; revision=25134
2004-04-07 04:54:21 +00:00
Ravindra 9fb646a4e5 Use PNG instead of BMP.
svn path=/trunk/mcs/; revision=25133
2004-04-07 04:34:51 +00:00
Martin Baulig 1c7a604e5c 2004-04-06 Martin Baulig <[email protected]>
* class.c (mono_class_init): Don't inflate nested classes in a
	generic instance.
	(mono_type_get_name_recurse): Include the generic arguments for
	generic instances and generic type declarations.
	(inflate_generic_type): Correctly inflate MONO_TYPE_SZARRAY.
	(_mono_class_get_instantiation_name): Removed.
	(mono_class_create_generic): Always use `gklass->name' as our name.

	* class.h (MonoGenericInst): Removed `nested_in', and `nested'.

	* icall.c (ves_icall_MonoGenericInst_GetDeclaringType): Removed.
	(ves_icall_MonoGenericInst_GetNestedTypes): Removed.
	(ves_icall_MonoMethod_GetGenericParameters): Renamed to
	ves_icall_MonoMethod_GetGenericArguments() and correctly handle
	closed generic methods here.

	* reflection.c
	(mono_reflection_generic_inst_get_nested_types): Removed.
	(inflate_mono_method): Copy the generic parameters from the
	MonoMethodHeader into out MonoGenericMethod.

svn path=/trunk/mono/; revision=25132
2004-04-07 04:06:48 +00:00
Martin Baulig e4b9d98583 2004-04-07 Martin Baulig <[email protected]>
* MethodBase.cs
	(MethodBase.GetGenericParameters): Renamed to GetGenericArguments().

	* MonoGenericInst.cs (MonoGenericInst.DeclaringType): Removed.
	(MonoGenericInst.GetNestedTypes): Just call
	`generic_type.GetNestedTypes (bf)' here.

	* MonoMethod.cs (MonoMethod.ToString): If we're a generic method,
	include the type arguments.

svn path=/trunk/mcs/; revision=25131
2004-04-07 03:57:02 +00:00
Martin Baulig 27c1676ab9 2004-04-07 Martin Baulig <[email protected]>
* class.cs
	(MethodCore.GenericMethod): Moved this field here from Method.
	(MethodCore.IsDuplicateImplementation): Take the number of type
	parameters into account if we're a generic method.

	* expression.cs (Invocation.InferTypeArguments): Don't return true
	if `arguments' is null; we still need to check whether we actually
	don't need to infer anything in this case.
	(MemberAccess): Merged the functionality from GenericMemberAccess
	into this class.

	* generic.cs (GenericMemberAccess): Removed.

svn path=/trunk/mcs/; revision=25130
2004-04-07 03:54:06 +00:00
Duncan Mak 3565d711c3 Try this as well.
svn path=/trunk/mcs/; revision=25127
2004-04-07 03:41:08 +00:00
Duncan Mak 8fc38979e6 Added a case where the sweep angle is greater than 360
degrees.

svn path=/trunk/mcs/; revision=25126
2004-04-07 03:28:09 +00:00
Duncan Mak b1c50589c8 * GraphicsPath.cs (GraphicsPath): Filled out the missing
constructors.
(ConvertPoints): New helper function. Converts a Point array to a
PointF array.

* gdipFunctions.cs (GdipCreatePath2): Fixed signature.

* pie.cs: Save to PNG, instead of BMP.

svn path=/trunk/mcs/; revision=25125
2004-04-07 02:19:42 +00:00
Martin Baulig 6ae453cebf 2004-04-06 Martin Baulig <[email protected]>
* row-indexes.h
	(MONO_GENERICPARAM_DEPRECATED_CONSTRAINT): Removed.

	* metadata.c (GenericParamSchema): Removed "DeprecatedConstraint".

	* reflection.c (build_compressed_metadata): If we have any entries
	in the GenericParam, MethodSpec or GenericParamConstraint tables,
	set the header version to 1.1.

svn path=/trunk/mono/; revision=25123
2004-04-06 23:40:35 +00:00
Gonzalo Paniagua Javier e2eb69acc2 2004-04-07 Gonzalo Paniagua Javier <[email protected]>
* mini.c: removed a few unused vars and extra whitespace.

svn path=/trunk/mono/; revision=25122
2004-04-06 21:40:18 +00:00
Bernie Solomon 97872d9a1d 2004-04-06 Bernie Solomon <[email protected]>
* CryptoConvert.cs: update from corlib version
	with endian fixes.

svn path=/trunk/mcs/; revision=25121
2004-04-06 21:35:06 +00:00
Gonzalo Paniagua Javier be8cf2ca69 2004-04-07 Gonzalo Paniagua Javier <[email protected]>
* configure.in: don't try-run the tests for nptl and/or sigaltstack
	if they are disabled in the command line.

svn path=/trunk/mono/; revision=25120
2004-04-06 21:33:21 +00:00
Martin Baulig 68d2803b80 Ooops.
svn path=/trunk/mono/; revision=25119
2004-04-06 21:32:28 +00:00
Bernie Solomon eae4d4ff17 2004-04-06 Bernie Solomon <[email protected]>
* CryptoConvert.cs: Add private methods to always
	handle data as little endian (GetBytesLE, ToInt32LE, ToUInt32LE).

svn path=/trunk/mcs/; revision=25118
2004-04-06 21:30:46 +00:00
Martin Baulig a7801383b3 Reverted the table change for the moment.
svn path=/trunk/mono/; revision=25117
2004-04-06 21:26:07 +00:00
Andreas N 7e7e125621 added files
svn path=/trunk/mcs/; revision=25116
2004-04-06 20:20:53 +00:00
Andreas N 6e2cdc3d95 2004-04-06 Andreas Nahr <[email protected]>
* AssemblyInfo.cs: Added
	* ChangeLog: Added
	* Locale.cs: Added

svn path=/trunk/mcs/; revision=25115
2004-04-06 20:20:39 +00:00
Martin Baulig 8c5f516cfe 2004-04-06 Martin Baulig <[email protected]>
* class.c (mono_class_init): If we're a generic instance,
	initialize our nested classes, too.
	(_mono_class_get_instantiation_name): Deal with the new `!%d'
	suffix.

svn path=/trunk/mono/; revision=25114
2004-04-06 20:18:47 +00:00
Martin Baulig c97b532a72 2004-04-06 Martin Baulig <[email protected]>
* row-indexes.h
	(MONO_GENERICPARAM_DEPRECATED_CONSTRAINT): Removed.

	* metadata.c (GenericParamSchema): Removed "DeprecatedConstraint".

svn path=/trunk/mono/; revision=25113
2004-04-06 20:17:37 +00:00
Andreas N a034e004a8 2004-04-06 Andreas Nahr <[email protected]>
* AssemblyInfo.cs: Added
	* ChangeLog: Added
	* Locale.cs: Added

svn path=/trunk/mcs/; revision=25112
2004-04-06 20:11:24 +00:00
Andreas N 5eb7d8c2d6 removed
svn path=/trunk/mcs/; revision=25111
2004-04-06 20:10:22 +00:00
Andreas N 2a20596b8e added files
svn path=/trunk/mcs/; revision=25110
2004-04-06 20:09:58 +00:00
Andreas N 0d8fdfcee8 2004-04-06 Andreas Nahr <[email protected]>
* System.Management.dll.sources: Sorted, added assemblyinfos

svn path=/trunk/mcs/; revision=25109
2004-04-06 20:06:44 +00:00
Sebastien Pouliot d0bc1d9b9c 2004-04-06 Sebastien Pouliot <[email protected]>
* AppDomain.cs: Added static to [ThreadStatic] _principal field.
	Removed	[ThreadStatic] for _principalPolicy (not required).

svn path=/trunk/mcs/; revision=25108
2004-04-06 20:02:33 +00:00
Andreas N 55d838249e 2004-04-06 Andreas Nahr <[email protected]>
* AssemblyInfo.cs: also remove the fixme

svn path=/trunk/mcs/; revision=25107
2004-04-06 20:01:27 +00:00
Sebastien Pouliot 58abfd687c 2004-05-06 Sebastien Pouliot <[email protected]>
* cs1548.pub: New file. Strongname file with only the public key.
	* cs1548-3.cs: New file to test signing with a strongname containing
	only the public key.

svn path=/trunk/mcs/; revision=25106
2004-04-06 19:13:42 +00:00
Lluis Sanchez 14c59cfad1 * DiagnosticsConfigurationHandler.cs: If initializeData is provided, use the
constructor that only takes one string as parameter to construct the
	listener. The name is set using the Name property, not the constructor.

	* TextWriterTraceListener.cs: In Write*, do nothing if no writer was
	provided.

svn path=/trunk/mcs/; revision=25105
2004-04-06 19:05:13 +00:00
Gonzalo Paniagua Javier 8f63d91200 2004-04-06 Gonzalo Paniagua Javier <[email protected]>
* mono-mutex.h: move pthread_mutex_timedlock declaration to...
	* mono-mutex.c: ...here. It was causing a warning that prevented
	libgdiplus compilation.

svn path=/trunk/mono/; revision=25104
2004-04-06 18:57:13 +00:00
Gonzalo Paniagua Javier 6047aba012 2004-04-06 Gonzalo Paniagua Javier <[email protected]>
* System.Data/Constraint.cs:
	* System.Data/DataColumnCollection.cs:
	* System.Data/DataRelationCollection.cs:
	* System.Data/DataRowCollection.cs:
	* System.Data/DataTableCollection.cs:
	* System.Data/InternalDataCollectionBase.cs:
	* System.Data/Node.cs: CLS compliance for System.Data. Patch by Gert
	Driesen. Fixes bug #56557.

	* Assembly/AssemblyInfo.cs:
	* System.Data.OleDb/OleDbPermissionAttribute.cs: missing bits from
	Gert's patch.

svn path=/trunk/mcs/; revision=25103
2004-04-06 18:25:51 +00:00
Sebastien Pouliot e7718dd4ac 2004-04-06 Sebastien Pouliot <[email protected]>
* StrongNameKeyPair.cs: Now returns a correct StrongName instance when
	the ECMA "key" is used.

svn path=/trunk/mcs/; revision=25102
2004-04-06 17:16:15 +00:00
Sebastien Pouliot 554fadbb15 2004-04-06 Sebastien Pouliot <[email protected]>
* StrongName.cs: Added support for ECMA "key" to StringName(byte[])
	constructor.

svn path=/trunk/mcs/; revision=25101
2004-04-06 17:13:59 +00:00
Jordi Mas i Hernandez 2eccfa3ea9 region samples
svn path=/trunk/mcs/; revision=25100
2004-04-06 16:35:13 +00:00
Jordi Mas i Hernandez 3c03e01ae8 fixes GetRegionScans
svn path=/trunk/mcs/; revision=25099
2004-04-06 16:33:20 +00:00
Lluis Sanchez 93e028cdd1 * BufferedStream.cs: On Position change, do not reset the buffer if the
new position is in the limits of the buffer. This fixes #49403.

svn path=/trunk/mcs/; revision=25098
2004-04-06 16:11:18 +00:00
Gonzalo Paniagua Javier 52addb38a9 2004-04-06 Gonzalo Paniagua Javier <[email protected]>
* process.c: quote the argument passed to the shell on windows.

svn path=/trunk/mono/; revision=25097
2004-04-06 15:53:26 +00:00
Sebastien Pouliot 4e06b2fb6f 2004-04-06 Sebastien Pouliot <[email protected]>
* StrongNameKeyPair.cs: Added support for ECMA "key".

svn path=/trunk/mcs/; revision=25096
2004-04-06 14:59:20 +00:00
Lluis Sanchez 8e5e1174f6 * SynchronizationAttributeTest.cs: Added test for Monitor.Exit.
svn path=/trunk/mcs/; revision=25095
2004-04-06 14:42:59 +00:00
Sebastien Pouliot f1cc308de2 2003-04-06 Sebastien Pouliot <[email protected]>
* StrongNameKeyPairTest.cs: Added test case for ECMA "key".

svn path=/trunk/mcs/; revision=25094
2004-04-06 14:34:50 +00:00
Neale Ferguson bd13a9521b S/390 JIT
svn path=/trunk/mono/; revision=25093
2004-04-06 14:29:48 +00:00
Lluis Sanchez 24b16194a7 * Monitor.cs: In Wait(), release the synchronization context when
exitContext is true.

svn path=/trunk/mcs/; revision=25092
2004-04-06 14:11:22 +00:00
Vladimir Vukicevic 2a17599938 Note: Some functionality is (temporarily) lost from System.Drawing --
reading bmp files is not yet implemented, and only png files can be
written.  Support for the rest will show up in the next few days.

* gdipFunctions.cs: Added stream delegate helpers for
stream loading/saving on linux

* Image.cs, Bitmap.cs: Converted to call into GDIPlus for
loading/saving image data.

* BitmapData.cs: synced up data structure with libgdiplus

* BmpCodec.cs, JPEGCodec.cs, PNGCodec.cs: Removed codec impls,
left just codecinfo getters; the codecs are in libgdiplus

* ImageCodecInfo.cs: removed encode/decode delegates

svn path=/trunk/mcs/; revision=25083
2004-04-06 09:05:48 +00:00
Anirban Bhattacharjee a12e65bd94 Couple of Accessibility and Inheritence related test cases
svn path=/trunk/mcs/; revision=25082
2004-04-06 09:03:40 +00:00
Anirban Bhattacharjee 51ac2e89c1 2004-04-06 Anirban Bhattacharjee <[email protected]>
* class.cs:
        * ecore.cs:
        * expression.cs:
        * modifiers.cs:
        Changed/added serveral Accessibility related expections

svn path=/trunk/mcs/; revision=25081
2004-04-06 08:56:43 +00:00
Miguel de Icaza f6775ef5f1 Another one gone
svn path=/trunk/mono/; revision=25079
2004-04-06 05:31:02 +00:00
Miguel de Icaza 41b7c7e9b3 Remove from build
svn path=/trunk/mono/; revision=25078
2004-04-06 05:29:38 +00:00
Miguel de Icaza 6aa59a8fa6 2004-04-06 Miguel de Icaza <[email protected]>
* Guid.cs: Flag as Sequential.

svn path=/trunk/mcs/; revision=25077
2004-04-06 05:29:23 +00:00
Miguel de Icaza af7d3984cc Add
svn path=/trunk/mcs/; revision=25076
2004-04-06 05:28:41 +00:00
Miguel de Icaza 4ad681847b Revert mistake
svn path=/trunk/mcs/; revision=25075
2004-04-06 05:28:12 +00:00
Miguel de Icaza 1affeb05b3 Added test
svn path=/trunk/mcs/; revision=25074
2004-04-06 03:00:57 +00:00
Miguel de Icaza 424c702adc 2004-04-05 Miguel de Icaza <[email protected]>
* class.cs (Indexer.Define): Check indexername declaration

svn path=/trunk/mcs/; revision=25073
2004-04-06 02:54:57 +00:00
Atsushi Eno 865fccec0d 2004-04-06 Atsushi Enomoto <[email protected]>
* DTDReader.cs : In ProcessDTDSubset(), 1)error message was
	  generated with incorrect stream character, 2)entity nest check
	  should not depend on line info which might not be supplied, 3)
	  empty PE should be skipped.
	* XmlParserInput.cs : use index for StringBuilder instead of calling
	  Remove() many times. This highly optimizes DTD parser.

	* XmlAttribute.cs : removed commented code.
	* XmlEntity.cs : removed unused field.

svn path=/trunk/mcs/; revision=25070
2004-04-06 01:42:14 +00:00
Martin Baulig e2432fba9d 2004-04-05 Martin Baulig <[email protected]>
* gmcs-expect-wrong-error: New file.

svn path=/trunk/mcs/; revision=25069
2004-04-05 23:58:23 +00:00
Martin Baulig f1f341f47c Beautify ...
svn path=/trunk/mcs/; revision=25068
2004-04-05 23:54:28 +00:00
Martin Baulig 75d01eb617 2004-04-05 Martin Baulig <[email protected]>
* decl.cs (MemberCore): For generic classes, interfaces and
	structs, `Name' now includes the number of type parameters
	("Stack!1.Node!1").
	(DeclSpace.FindType): Removed the `num_type_args' argument; we now
	encode the number of type arguments in the type name.

	* expression.cs (Expression.MemberLookup): Removed the
	`num_type_args' argument; we now encode the number of type
	arguments in the type name.

	* ecore.cs (SimpleName): Encode the number of type arguments in
	the type name itself.

	* generic.cs (ConstructedType): Likewise.

	* tree.cs (Tree.RecordDecl): Take a `string' instead of a
	`MemberName'; we now include the number of type parameters in the
	type name.

	* typemanager.cs (TypeManager.CheckGeneric): Removed.
	(TypeManager.MemberLookup): Removed the
	`num_type_args' argument; we now encode the number of type
	arguments in the type name.

svn path=/trunk/mcs/; revision=25067
2004-04-05 23:34:55 +00:00
Bernie Solomon cdc7995ccd 2004-04-05 Bernie Solomon <[email protected]>
* DESCryptoServiceProvider.cs: Use BitConverter.IsLittleEndian
	to fix for big endian machines.

svn path=/trunk/mcs/; revision=25066
2004-04-05 23:23:32 +00:00
Atsushi Eno 628f4cd017 2004-04-06 Atsushi Enomoto <[email protected]>
* XmlSchemaDatatype.cs : optimized Normalize() not to create
	  extraneous string objects.

svn path=/trunk/mcs/; revision=25065
2004-04-05 23:20:40 +00:00
Martin Baulig 84eea802a7 Ooops, this stuff is actually in configure.in ;-)
svn path=/trunk/mono/; revision=25064
2004-04-05 23:20:19 +00:00
Ben Maurer c92a1bf956 cls happyfication
svn path=/trunk/mcs/; revision=25063
2004-04-05 22:24:13 +00:00
Ben Maurer 2aea421381 build fixes, someone should do the correct thing...
svn path=/trunk/mcs/; revision=25062
2004-04-05 22:16:27 +00:00
Lluis Sanchez 267039533c * corlib_test.dll.sources: Added System.Threading/ReaderWriterLockTest.cs.
svn path=/trunk/mcs/; revision=25061
2004-04-05 22:13:35 +00:00
Lluis Sanchez fa9ad3bb50 * ReaderWriterLockTest.cs: New tests for System.Threading.ReaderWriterLock.
svn path=/trunk/mcs/; revision=25060
2004-04-05 22:11:08 +00:00
Lluis Sanchez 47a9988450 * LockCookie.cs: Keep in this class the count of reader or writer locks
for a thread, not only whether it has locks or not.
	* LockQueue.cs: Added property for checking if a thread is waiting in
	  the queue. Wait now returns a boolean that set to false on timeout
	  expiration.
	* ReaderWriterLock.cs: Started fixing bugs but I had to rewrite a lot of it.
	  The main change is that now it keeps a reader lock count for each
	  thread. This is needed since methods like ReleaseLock or
	  UpgradeToWriterLock need to return a per-thread status in LockCookie.
	  Also added support for recursive writer-lock requests.

svn path=/trunk/mcs/; revision=25059
2004-04-05 22:07:58 +00:00
Ben Maurer 04ef2a08bc 2004-04-05 Ben Maurer <[email protected]>
* inssel.brg (MONO_EMIT_BOUNDS_CHECK): a new macro to emit bounds
	checks.
	(MONO_EMIT_BOUNDS_CHECK_IMM): the above, but when you know the
	index.
	(OP_GETCHR): use the above
	(CEE_LDELEMA): use the above.

	* inseel-x86.brg (MONO_EMIT_BOUNDS_CHECK): a faster and smaller
	version of the generic impl.
	(MONO_EMIT_BOUNDS_CHECK_IMM): the same
	(CEE_LDELEMA): use the above.

svn path=/trunk/mono/; revision=25058
2004-04-05 21:27:50 +00:00
Martin Baulig 14dafe0da7 2004-04-05 Martin Baulig <[email protected]>
* mini-x86.c (mono_arch_setup_jit_tls_data): Reverted Zoltan's
	last commit to make it build again.

svn path=/trunk/mono/; revision=25057
2004-04-05 20:04:52 +00:00
Zoltan Varga b638966907 2004-04-05 Zoltan Varga <[email protected]>
* threads.c (mono_alloc_special_static_data): Allow this to be
	called during startup.

svn path=/trunk/mono/; revision=25056
2004-04-05 19:41:51 +00:00
Jackson Harper ed6be11a52 * DataTable.cs: Add rows to the row list if there is
no filter.

svn path=/trunk/mcs/; revision=25053
2004-04-05 18:02:54 +00:00
Jackson Harper a2c2d33a29 * man/ilasm.1: Show /output instead of /out as the switch for
specifying output file names.

svn path=/trunk/mono/; revision=25052
2004-04-05 17:48:42 +00:00
Zoltan Varga 09585dd904 2004-04-05 Zoltan Varga <[email protected]>
* inssel-long32.brg (CEE_CONV_OVF_I8): Sign extend the i4 value to i8.
	Fixes #56317.

svn path=/trunk/mono/; revision=25051
2004-04-05 17:44:21 +00:00
Zoltan Varga b07dc694ee 2004-04-05 Zoltan Varga <[email protected]>
* iltests.il: Added new regression test for #56317.

svn path=/trunk/mono/; revision=25050
2004-04-05 17:40:54 +00:00
Jackson Harper fcec96424f * Driver.cs: Accept output option. Usage shows /output instead of
/out like MS.

svn path=/trunk/mcs/; revision=25049
2004-04-05 17:39:00 +00:00
Jackson Harper 08abfbd92a * Driver.cs: Accept output option.
svn path=/trunk/mcs/; revision=25048
2004-04-05 17:35:30 +00:00
Jordi Mas i Hernandez c55f0d28c6 fixes
svn path=/trunk/mcs/; revision=25047
2004-04-05 16:25:36 +00:00
Jordi Mas i Hernandez be9e053790 added missing members
svn path=/trunk/mcs/; revision=25044
2004-04-05 15:50:40 +00:00
Zoltan Varga ba06ea98a4 2004-04-05 Zoltan Varga <[email protected]>
* configure.in: Check for pthread_getattr_np and pthread_attr_get_np.

svn path=/trunk/mono/; revision=25043
2004-04-05 15:46:24 +00:00
Zoltan Varga f8f93f7008 2004-04-05 Zoltan Varga <[email protected]>
* mini-x86.c (mono_arch_setup_jit_tls_data): Use pthread_attr_get_np
	under NetBSD. Fixes #56450.

svn path=/trunk/mono/; revision=25042
2004-04-05 15:44:45 +00:00
Rafael Teixeira 4680449e54 partially addressing bug #56477
svn path=/trunk/mcs/; revision=25041
2004-04-05 15:31:20 +00:00
Miguel de Icaza 5ba6e3b95d 2004-04-05 Marek Safar <[email protected]>
* attribute.cs (IsClsCompliant): Fixed problem with handling
        all three states (compliant, not-compliant, undetected).

svn path=/trunk/mcs/; revision=25039
2004-04-05 14:15:04 +00:00
Lluis Sanchez 2a724d4747 * AttributeCollection.cs: Don't try to create a default attribute if the
attribute type does not have a default constructor. Fix by Jon Wagner.
	This fixes #53898.

svn path=/trunk/mcs/; revision=25038
2004-04-05 14:14:11 +00:00
Zoltan Varga 77f8343505 2004-04-05 Zoltan Varga <[email protected]>
* liveness.c (update_gen_kill_set): Fix previous patch.

svn path=/trunk/mono/; revision=25037
2004-04-05 13:42:05 +00:00
Anirban Bhattacharjee 3aaf39928b * class.cs:
* decl.cs:
        * expression.cs:
        * pending.cs:
        Several error messages and their numbers are changed in all the above four classes

svn path=/trunk/mcs/; revision=25036
2004-04-05 12:41:13 +00:00
Lluis Sanchez 87ac7fa9d1 * SqlConnection.cs: Use connection pool implemented in Mono.Data.Tds.
svn path=/trunk/mcs/; revision=25035
2004-04-05 11:41:32 +00:00
Lluis Sanchez 5cc78b769a Moved to Mono.Data.Tds
svn path=/trunk/mcs/; revision=25034
2004-04-05 10:55:27 +00:00
Lluis Sanchez 9f0f5fe6d0 * Mono.Data.SybaseClient.dll.sources: Removed SybaseConnectionPool.cs.
* Mono.Data.SybaseClient/SybaseConnection.cs: Use connection pool
	  implemented in Mono.Data.Tds.

svn path=/trunk/mcs/; revision=25033
2004-04-05 10:50:02 +00:00
Lluis Sanchez 4d13dcb351 * Mono.Data.TdsClient.dll.sources: Removed TdsConnectionPool.cs.
svn path=/trunk/mcs/; revision=25032
2004-04-05 10:45:27 +00:00
Lluis Sanchez 481e74c10e * TdsConnection.cs: Use the connection pool implemented in Mono.Data.Tds.
svn path=/trunk/mcs/; revision=25031
2004-04-05 10:44:35 +00:00
Lluis Sanchez 046a411e89 * System.Data.dll.sources: removed SqlConnectionPool.cs.
svn path=/trunk/mcs/; revision=25030
2004-04-05 10:40:17 +00:00
Lluis Sanchez 1c005a5e35 * Mono.Data.Tds.dll.sources: Added TdsConnectionPool.cs.
svn path=/trunk/mcs/; revision=25029
2004-04-05 10:36:34 +00:00
Lluis Sanchez e13bc13a13 * ITds.cs: Added method for reseting a connection.
* Tds.cs: Added base implementation for ITds.Reset.
	* Tds70.cs: Implemented ITds.Reset().
	* TdsConnectionPool.cs: Implemented connection pool that can be reused by
	  all Tds clients.

svn path=/trunk/mcs/; revision=25028
2004-04-05 10:35:49 +00:00
Marek Safar a0827b3427 2004-04-05 Marek Safar <[email protected]>
* cs3009-3.cs: New error test.

svn path=/trunk/mcs/; revision=25027
2004-04-05 10:33:09 +00:00
Atsushi Eno b123e6f7c5 2004-04-05 Atsushi Enomoto <[email protected]>
* DTDObjectModel.cs : (DTDAttributeDefinition) create ArrayList
	  only when they are required.
	* DTDReader.cs,
	  XmlParserInput.cs : raw tag string now don't have to be kept, while
	  it cost so much. Removed unused code. 20% to 30% memory got saved.
	* XmlNotation.cs : removed unused code.
	* XmlTextReader.cs : Removed unused code. ReadString() now uses
	  XmlReader's internal method. Fixed BaseURI to be conformant with
	  W3C XML InfoSet and (subsequently) xml:base specification (i.e.
	  reflect xml:base attribute correctly).

svn path=/trunk/mcs/; revision=25026
2004-04-05 09:32:48 +00:00
Dennis Hayes f9602f964e added to changelog
svn path=/trunk/mcs/; revision=25025
2004-04-05 07:15:34 +00:00
Dennis Hayes 734a693816 Complete. Includes code from both Mono and Mainsoft.
* BooleanType.cs
	* CharArrayType.cs
	* CharType.cs
	* IncompleteInitialization.cs
	* LongType.cs
	* OptionCompareAttribute.cs
	* OptionTextAttribute.cs
	* ShortType.cs
	* DateType.cs

	Close. Unconverted java code from Mainsoft in comments included inthe code.
	* IntegerType.cs
	* ByteType.cs
	* DecmialType.cs
	* SingleType.cs
	* DoubleType.cs


	Work in progress
	* ExceptionUtils.cs

svn path=/trunk/mcs/; revision=25024
2004-04-05 07:10:24 +00:00
Miguel de Icaza 87efd77c8b Parameter capturing test
svn path=/trunk/mcs/; revision=25019
2004-04-05 04:07:58 +00:00
Atsushi Eno 5c9cf1e30d 2004-04-05 Atsushi Enomoto <[email protected]>
* XmlAttribute.cs : get_Value should return all children's value.
	* XmlCharacterData.cs : DOM's substring does not raise an error when
	  startIndex + count exceeds the length of Data.
	* XmlNamedNodeMap.cs : SetNamedItem() returns the new child when it
	  does not replace another named item.
	* XmlElement.cs : with related to the XmlNamedNodeMap change,
	  SetAttributeNode() is required to fix as to return null when it does
	  not replace existing attribute.

svn path=/trunk/mcs/; revision=25018
2004-04-05 03:35:08 +00:00
Miguel de Icaza b0310b480f 2004-04-04 Miguel de Icaza <[email protected]>
* security.c (GetUserName): Make it work on MacOS X

svn path=/trunk/mono/; revision=25017
2004-04-05 02:15:48 +00:00
Martin Baulig 54313cfb69 When constructing the new classes MemberName, include the parent's type
parameters in the TypeName.

svn path=/trunk/mcs/; revision=25016
2004-04-05 00:57:27 +00:00
Martin Baulig 8f88fd5821 Compute the number of type parameters immediately when creating the DeclSpace.
svn path=/trunk/mcs/; revision=25015
2004-04-04 21:29:41 +00:00
Anirban Bhattacharjee 95b2a5f6c6 Few more new test cases and some modified test cases
svn path=/trunk/mcs/; revision=25011
2004-04-04 11:18:20 +00:00
Gonzalo Paniagua Javier 90f49aff5b 2004-04-04 Gonzalo Paniagua Javier <[email protected]>
* mini-x86.h: SA_STACK defined as SA_ONSTACK. Fixed build under NetBSD.

svn path=/trunk/mono/; revision=25010
2004-04-04 10:31:40 +00:00
Anirban Bhattacharjee 566855f957 * delegate.cs: changed default access modifier
* enum.cs: changed default access modifier
 * interface.cs: changed default access modifier
 * modifiers.cs: extension of bug fixed for getting NotOverridable modifier working for methods

svn path=/trunk/mcs/; revision=25009
2004-04-04 10:11:13 +00:00
Anirban Bhattacharjee 57b3e30b64 * class.cs: Changed exception messages and their numbers to align better with VB
Changed default access modifier of method to Public
                    Bug fixed to get NotOverridable modifier working
        * decl.cs:  Changed exception messages and numbers

svn path=/trunk/mcs/; revision=25008
2004-04-04 10:00:54 +00:00
Gonzalo Paniagua Javier 972d9121d0 2004-04-04 Gonzalo Paniagua Javier <[email protected]>
* WebConfigurationSettings.cs: "/" is the virtual root directory of
	the application. This fixes a bug reported by Vlad that caused
	configuration error because files were read twice when there's an
	application different from "/" defined.

svn path=/trunk/mcs/; revision=25007
2004-04-04 08:38:46 +00:00
Duncan Mak f48e250dbc (PrintTypes): show the number of types in the assembly as well.
svn path=/trunk/mcs/; revision=25002
2004-04-04 00:55:09 +00:00
Martin Baulig 33d2fc699a 2004-04-03 Martin Baulig <[email protected]>
* decl.cs (MemberCore.ctor): Take a MemberName instead of a sting.
	(MemberCore.MemberName): Moved here from MemberBase.
	(DeclSpace.SetParameterInfo): Just take the constraints as an
	ArrayList; we already have the type parameters in our
	`MemberName'; also do the CS0080 reporting here.

	* cs-parser.jay (struct_declaration): Use `member_name' instead of
	`IDENTIFIER opt_type_parameter_list'; when constructing our
	`MemberName', it'll already include our type parameters.
	(class_declaration, interface_declaration): Likewise.
	(delegate_declaration): Likewise.
	(MakeName): Take a MemberName and return a MemberName.
	The following two changes are required to avoid shift/reduce conflicts:
	(member_name): Don't include a TypeName anymore; ie. this is now
	just 'IDENTIFIER opt_type_parameter_list'.
	(property_declaration, event_declaration): Use a
	`namespace_or_type_name' instead of a `member_name'.

svn path=/trunk/mcs/; revision=25001
2004-04-03 22:56:23 +00:00
Martin Baulig ba0d83e5ae 2004-04-03 Martin Baulig <[email protected]>
* decl.cs (MemberName): Renamed to `TypeName' and created a new
	`MemberName' class.
	(TypeName): Formerly known as MemberName.

	* namespace.cs (NamespaceEntry.UsingAlias): Take a `TypeName'
	instead of a `MemberName'.

	* cs-parser.jay (namespace_or_type_name): Create a TypeName.
	(member_name): New rule; create a MemberName.

svn path=/trunk/mcs/; revision=24999
2004-04-03 20:48:49 +00:00
Jackson Harper 5d006a62c3 * CodeGen.cs: cast
svn path=/trunk/mcs/; revision=24998
2004-04-03 18:14:25 +00:00
Jackson Harper fd5756b9d3 * ILParser.jay: Dont use hash alg enum its too restrictive
svn path=/trunk/mcs/; revision=24997
2004-04-03 18:13:12 +00:00
Miguel de Icaza ca52e918c1 Patch from Joerg Rosenkranz
2004-03-31  Joerg Rosenkranz  <[email protected]>

	* System.Data.OracleClient.Oci/OciDefineHandle.cs:
		Changed DefineChar to allow retrieval of
		multibyte characters (i.e. german umlauts).
	* System.Data.OracleClient.Oci/OciStatementHandle.cs:
		OciDefineHandles are now disposed in the
		Dispose function.

svn path=/trunk/mcs/; revision=24996
2004-04-03 17:19:03 +00:00
Jackson Harper 747d1c0cd5 * ILParser.jay: Set assembly info.
svn path=/trunk/mcs/; revision=24995
2004-04-03 08:11:48 +00:00
Jackson Harper d199bc9514 * CodeGen.cs: Allow setting assembly info.
svn path=/trunk/mcs/; revision=24994
2004-04-03 08:09:05 +00:00
Jackson Harper 3c1e8fe8e9 * PEAPI.cs: Allow hash algorithms to be any integer.
svn path=/trunk/mcs/; revision=24993
2004-04-03 08:06:24 +00:00
Martin Baulig 027587df3d Small fix.
svn path=/trunk/mcs/; revision=24990
2004-04-03 03:38:33 +00:00
Martin Baulig 1fd5cf4de9 2004-04-02 Martin Baulig <[email protected]>
* namespace.cs (NamespaceEntry.VerifyUsing): Added error checking
	(CS0305 and CS0308).

svn path=/trunk/mcs/; revision=24989
2004-04-03 03:30:23 +00:00
Martin Baulig c467301990 2004-04-02 Martin Baulig <[email protected]>
* namespace.cs (NamespaceEntry.VerifyUsing): Added error checking
	(CS0305 and CS0308).

svn path=/trunk/mcs/; revision=24988
2004-04-03 03:26:46 +00:00
Martin Baulig 5fd937e4e0 New tests.
svn path=/trunk/mcs/; revision=24987
2004-04-03 03:25:37 +00:00
Atsushi Eno 4413a675d8 2003-04-03 Atsushi Enomoto <[email protected]>
* Path.cs : ChangeExtension() does not remove dot(.) when extension is
	  an empty string.

svn path=/trunk/mcs/; revision=24986
2004-04-02 23:29:30 +00:00
Atsushi Eno dae65f4674 2003-04-03 Atsushi Enomoto <[email protected]>
* PathTest.cs : Added more patterns on TestChangeExtension().

svn path=/trunk/mcs/; revision=24985
2004-04-02 23:27:27 +00:00
Martin Baulig 05d7ee5919 New test.
svn path=/trunk/mcs/; revision=24984
2004-04-02 23:25:15 +00:00
Martin Baulig 2f8675f072 2004-04-02 Martin Baulig <[email protected]>
* MonoGenericInst.cs (MonoGenericInst.DeclaringType): Override.

svn path=/trunk/mcs/; revision=24983
2004-04-02 22:13:38 +00:00
Martin Baulig 19aa372a2e 2004-04-02 Martin Baulig <[email protected]>
* icall.c
	(ves_icall_MonoGenericInst_GetDeclaringType): New icall.

svn path=/trunk/mono/; revision=24982
2004-04-02 22:12:41 +00:00
Martin Baulig 431fc11c0a 2004-04-02 Martin Baulig <[email protected]>
* generic.cs (GenericMemberAccess.ResolveAsTypeStep): Added
	support for nested types.

svn path=/trunk/mcs/; revision=24981
2004-04-02 22:08:20 +00:00
Martin Baulig 9b81b10ba9 2004-04-02 Martin Baulig <[email protected]>
* ecore.cs (IAlias): New public interface.
	(TypeExpr, TypeExpression): Implement IAlias.
	(TypeAliasExpression): New public class.

	* namespace.cs (Namespace): Implement IAlias.
	(Namespace.Lookup): Return an IAlias instead on an object.
	(Namespace.DefineName): Take an IAlias instead of an object.
	(NamespaceEntry.AliasEntry.Resolve): Return an IAlias instead of
	an object.
	(NamespaceEntry.UsingAlias): Take a Membername instead of an
	Expression.
	(NamespaceEntry.LookupAlias): Return an IAlias instead on an
	object.
	(NamespaceEntry.Lookup): Likewise.

	* rootcontext.cs (RootContext.LookupType): Return a TypeExpr
	instead of a Type.

	* decl.cs (DeclSpace): Implement IAlias.
	(DeclSpace.LookupAlias): Return an IAlias instead of a string.

	* generic.cs (ConstructedType): Improved error checking.

svn path=/trunk/mcs/; revision=24980
2004-04-02 20:58:18 +00:00
Bernie Solomon 6402cf7df7 2004-04-02 Bernie Solomon <[email protected]>
* PasswordDeriveBytesTest.cs: Add ToInt32LE so
	it works on big endian machines.

svn path=/trunk/mcs/; revision=24978
2004-04-02 18:58:03 +00:00
Gonzalo Paniagua Javier 679ebd0a95 2004-04-02 Gonzalo Paniagua Javier <[email protected]>
* config.h.in: added HAVE_GETPWUID_R
	* configure.in: check for getpwuid_r.
	* mono/io-layer/security.c: use getpwuid_r if available. This one is
	thread-safe.

svn path=/trunk/mono/; revision=24977
2004-04-02 16:27:38 +00:00
Zoltan Varga 2fdc1dbe2a 2004-04-02 Zoltan Varga <[email protected]>
* icall.c: Fix build.

svn path=/trunk/mono/; revision=24976
2004-04-02 16:04:11 +00:00
Zoltan Varga c54198fc63 2004-04-02 Zoltan Varga <[email protected]>
* mini.c (mono_method_to_ir): Avoid handle_loaded_temps in
	ldsfld and ldsflda.

svn path=/trunk/mono/; revision=24975
2004-04-02 15:51:53 +00:00
Sebastien Pouliot 92ef579d02 2004-04-02 Sebastien Pouliot <[email protected]>
* security.c|h: wrong version. Removed second icall.

svn path=/trunk/mono/; revision=24974
2004-04-02 15:36:15 +00:00
Zoltan Varga 7253a098cc 2004-04-02 Zoltan Varga <[email protected]>
* inssel-sparc.brg: Add more optimizations.

	* mini-sparc.c: Replace multiply/divide with shifts if possible.

svn path=/trunk/mono/; revision=24973
2004-04-02 15:23:11 +00:00
Sebastien Pouliot b5a530047c 2004-04-02 Sebastien Pouliot <[email protected]>
* Environment.cs: Now call the runtime to get the username (#56144).

svn path=/trunk/mcs/; revision=24972
2004-04-02 15:13:32 +00:00
Sebastien Pouliot c1b92d3514 2004-04-02 Sebastien Pouliot <[email protected]>
* Makefile.am: Added security.c|h.
	* icall.c: Added icall for get_UserName;
	* security.c: New file for security related icalls. Added function
	get_UserName for System.Environment (fix #56144).
	* security.h: New. Header file for security.c

svn path=/trunk/mono/; revision=24971
2004-04-02 15:10:35 +00:00
Sebastien Pouliot 9f6cfb65b3 2004-04-02 Sebastien Pouliot <[email protected]>
* Makefile.am: Added security.c|h.
	* security.c: New file for security related functions. Added function
	GetUserName to fix #56144.
	* security.h: New. Header file for security.c
	* wapi.h: Added include for security.h

svn path=/trunk/mono/; revision=24970
2004-04-02 15:08:46 +00:00
Dick Porter e57a521766 2004-04-02 Dick Porter <[email protected]>
* icall.c: Deleted the icalls that were obsoleted some time ago
	by the ICU string code, and which were mixed into the icall
	rearranging.  Fixes bug 55969.

	* string-icalls.h:
	* string-icalls.c: Deleted the code that those icalls reference.

svn path=/trunk/mono/; revision=24969
2004-04-02 14:45:07 +00:00
Dick Porter d66835fdb4 2004-04-02 Dick Porter <[email protected]>
* String.cs: More sanity checks in Replace().  Fixes bug 55822.

svn path=/trunk/mcs/; revision=24968
2004-04-02 13:35:25 +00:00
Sebastien Pouliot ee7b8f3e97 2004-04-02 Sebastien Pouliot <[email protected]>
* corlib_test.dll.sources: Added System/EnvironmentTest.cs.

svn path=/trunk/mcs/; revision=24967
2004-04-02 13:03:05 +00:00
Sebastien Pouliot 5c97433738 2004-04-02 Sebastien Pouliot <[email protected]>
* EnvironmentTest.cs: New. Add unit tests for ExpandEnvironmentVariables.

svn path=/trunk/mcs/; revision=24966
2004-04-02 13:01:57 +00:00
Sebastien Pouliot 8a1114738e 2004-04-02 Sebastien Pouliot <[email protected]>
* Environment.cs: Implement ExpandEnvironmentVariables static method.

svn path=/trunk/mcs/; revision=24965
2004-04-02 12:55:16 +00:00
Gonzalo Paniagua Javier d69f0bb7f1 2004-04-02 Gonzalo Paniagua Javier <[email protected]>
* MonoType.cs: AssemblyQualifiedName now displays culture, version...
	Fixes bug #56341.

svn path=/trunk/mcs/; revision=24964
2004-04-02 12:43:48 +00:00
Jordi Mas i Hernandez 50f2605df2 region c# implementation
svn path=/trunk/mcs/; revision=24961
2004-04-02 09:08:12 +00:00
César Natarén 472da834ca changelog entry
svn path=/trunk/mcs/; revision=24960
2004-04-02 07:49:37 +00:00
César Natarén c484de5721 2004-04-02 Cesar Lopez Nataren <[email protected]>
* Equality.cs: Moved the Emit and Resolve code here.
	* jscript-lexer-parser.g: Build a Equality object instead of a
	Binary object for equality_expr.
	* expression.cs: moved equality oeprators (resolve and IL gen) to
	Equality.Emit and Equality.Resolve.

svn path=/trunk/mcs/; revision=24959
2004-04-02 07:47:52 +00:00
Roopa Wilson efbe4b6865 2004-04-02 Roopa Wilson ([email protected])
* DataTable.cs : Included code to copy extended properties in CopyProperties() method
        * DataTable.cs : CaseSensitive and Locale properties cannot be changedif the table belongs to a data relation
        * DataTable.cs : Prefix property should not contain any specialcharacters
        * DataTable.cs : Added code to BeginLoadData and EndLoadData methods tohandle tables not belonging to any data set
        * DataTable.cs :  Implemented an private property EnforceConstraints to enforceconstraints in EndLoadData when table is not part of any dataset
        * DataTable.cs : Removed TODO tags for Clone (), Copy (), EndLoadData() and GetChanges ()
        * DataTable.cs : Clear method should throw a NotSupportedException when the table is part of a DataSet bound to a XmlDataDocument
        * DataSet.cs : Clear method should throw a NotSupportedException when DataSet is bound to a XmlDataDocument
        * XmlDataDocument.cs : Included code to indicate to the DataSet that it is bound to this particular XmlDataDocument
        * DataTableTest.cs: Included tests for the changes made in DatTable.cs

svn path=/trunk/mcs/; revision=24958
2004-04-02 05:54:59 +00:00
Miguel de Icaza 75c4f9d421 Add new tests
svn path=/trunk/mcs/; revision=24956
2004-04-02 05:13:05 +00:00
Miguel de Icaza dc206763c4 Flush
svn path=/trunk/mono/; revision=24954
2004-04-02 04:49:26 +00:00
Martin Baulig 5bc7391528 Add it.
svn path=/trunk/mcs/; revision=24953
2004-04-02 04:37:18 +00:00
Martin Baulig 0660833bf3 2004-04-02 Martin Baulig <[email protected]>
* convert.cs: Added type parameter conversions.

	* ecore.cs
	(UnboxCast.Emit): Emit an `unbox.any' for type params.
	(ClassCast.Emit): If the source type is a type parameter, box it.
	If the target type is a type parameter, emit an `unbox.any'
	instead of a `classcast'.

svn path=/trunk/mcs/; revision=24952
2004-04-02 04:37:10 +00:00
Martin Baulig 40ab003390 New test.
svn path=/trunk/mcs/; revision=24951
2004-04-02 04:32:48 +00:00
Martin Baulig 9001f7dbe3 2004-04-01 Martin Baulig <[email protected]>
* MonoGenericInst.cs (MonoGenericParam.IsValueTypeImpl): Override
	this and always return false.

svn path=/trunk/mcs/; revision=24950
2004-04-02 04:15:15 +00:00
Martin Baulig 98d19962b1 A type parameter is no longer an interface.
svn path=/trunk/mcs/; revision=24949
2004-04-02 04:14:39 +00:00
Martin Baulig cb5b80d323 2004-04-01 Martin Baulig <[email protected]>
* metadata.h (MONO_CLASS_IS_INTERFACE): New macro.

	* class.c (mono_class_from_generic_parameter): Don't set
	TYPE_ATTRIBUTE_INTERFACE.
	(my_mono_class_from_generic_parameter): Likewise.

svn path=/trunk/mono/; revision=24948
2004-04-02 04:14:16 +00:00
Martin Baulig 7331471550 2004-04-01 Martin Baulig <[email protected]>
* MonoGenericInst.cs (MonoGenericParam.IsSubclassOf): Override this.

svn path=/trunk/mcs/; revision=24945
2004-04-02 03:07:58 +00:00
Martin Baulig b9072a07f5 2004-04-01 Martin Baulig <[email protected]>
* cs-tokenizer.cs (parse_less_than): Allow Token.DOT.

svn path=/trunk/mcs/; revision=24943
2004-04-02 02:25:03 +00:00
Martin Baulig 3a7f7ee35c Added gen-53.cs
svn path=/trunk/mcs/; revision=24942
2004-04-02 02:24:41 +00:00
Martin Baulig e646373d34 New test.
svn path=/trunk/mcs/; revision=24941
2004-04-02 02:19:24 +00:00
Martin Baulig 8745dbaf69 Ooops, I screwed this up again.
svn path=/trunk/mcs/; revision=24940
2004-04-02 02:16:52 +00:00
Martin Baulig 08f04ff692 2004-04-01 Martin Baulig <[email protected]>
* mini.c (handle_box): New static function; moved the
	implementation of CEE_BOX here.
	(mono_method_to_ir): Added `constrained_call' variable.
	(mono_method_to_ir:CEE_CONSTRAINED_): Set it.
	(mono_method_to_ir:CEE_CALL): If `constrained_call' is set, use
	mono_method_get_constrained() to get the method.

svn path=/trunk/mono/; revision=24939
2004-04-02 02:16:36 +00:00
Martin Baulig d26360d838 Ooops.
svn path=/trunk/mono/; revision=24938
2004-04-02 02:15:16 +00:00
Martin Baulig 82a606b6a5 2004-04-01 Martin Baulig <[email protected]>
* loader.c (find_method): Added an optional `MonoClass *ic'
	argument to search in a specific interface.
	(mono_get_method_constrained): New public function.

svn path=/trunk/mono/; revision=24937
2004-04-02 01:44:37 +00:00
Duncan Mak e052b7bdd0 * GraphicsPath.cs (AddCurve, AddClosedCurve): Added all overloads.
* Graphics.cs (DrawCurve): Call the correct GDI+ wrappers.

* gdipFunctions.cs (GdipAddPathCurveI):
(GdipAddPathCurve2, GdipAddPathCurve2I):
(GdipAddPathCurve3, GdipAddPathCurve3I):
(GdipAddPathClosedCurve, GdipAddPathClosedCurveI):
(GdipAddPathClosedCurve2, GdipAddPathClosedCurve2I): Added new
wrappers from GDI+.

svn path=/trunk/mcs/; revision=24936
2004-04-02 01:20:34 +00:00
Lluis Sanchez 81db054b23 * TemplateControlCompiler.cs: Fixed build for net_1_0 profile.
svn path=/trunk/mcs/; revision=24934
2004-04-01 22:51:21 +00:00
Lluis Sanchez bff3be23b3 * FolderBrowserDialog.cs: Fixed build for net_1_0 profile.
svn path=/trunk/mcs/; revision=24933
2004-04-01 22:49:44 +00:00
Lluis Sanchez b8301c0212 * XmlDsigEnvelopedSignatureTransform.cs, XmlDsigXPathTransform.cs,
XmlDsigXsltTransform.cs: Fixed build for net_1_0 profile.

svn path=/trunk/mcs/; revision=24932
2004-04-01 22:48:52 +00:00
Lluis Sanchez 30c6002f2c * X509Chain.cs: Fixed build for net_1_0 profile.
svn path=/trunk/mcs/; revision=24931
2004-04-01 22:48:05 +00:00
Martin Baulig a129151604 2004-04-01 Martin Baulig <[email protected]>
* expression.cs (Invocation.EmitCall): If we're invoking a method
	on a type parameter, use the new `Constrained' prefix opcode.

svn path=/trunk/mcs/; revision=24929
2004-04-01 22:04:55 +00:00
Martin Baulig ec200f2ab1 2004-04-01 Martin Baulig <[email protected]>
* OpCodes.cs (OpCodes.Constrained): New opcode.

svn path=/trunk/mcs/; revision=24928
2004-04-01 22:01:04 +00:00
Martin Baulig 73e8a8ed61 2004-04-01 Martin Baulig <[email protected]>
* dump.c (dump_table_memberref): Added support for TypeDef's.

svn path=/trunk/mono/; revision=24927
2004-04-01 21:55:07 +00:00
Martin Baulig 75cc2624a6 2004-04-01 Martin Baulig <[email protected]>
* reflection.c (mono_image_get_generic_field_token): Use the
	`handleref' cache here.

svn path=/trunk/mono/; revision=24926
2004-04-01 21:54:41 +00:00
Martin Baulig 3184184468 2004-04-01 Martin Baulig <[email protected]>
* reflection.h (MonoDynamicImage): Added `GHashTable *typespec'.

	* reflection.c (create_generic_typespec): Use the `typespec' hash
	here, not the `typeref' one.

svn path=/trunk/mono/; revision=24925
2004-04-01 21:42:56 +00:00
Martin Baulig 8386ca4925 Make this actually work; user-defined implicit conversions are not allowed here.
svn path=/trunk/mcs/; revision=24923
2004-04-01 20:18:34 +00:00
Martin Baulig a0ec91a4f2 New test, formerly known as gen-51.cs.
svn path=/trunk/mcs/; revision=24922
2004-04-01 20:16:57 +00:00
Martin Baulig 773ada8ef7 2004-04-01 Martin Baulig <[email protected]>
* generic.cs (ConstructedType.CheckConstraints): Use
	Convert.ImplicitStandardConversionExists(); user-defined implicit
	conversions are not allowed according to the spec.

svn path=/trunk/mcs/; revision=24921
2004-04-01 20:13:48 +00:00
Martin Baulig 0bce073ecd 2004-04-01 Martin Baulig <[email protected]>
* mini.c (TYPE_PARAM_TO_TYPE, TYPE_PARAM_TO_CLASS): Removed.
	(MTYPE_PARAM_TO_TYPE, MTYPE_PARAM_TO_CLASS): Removed.
	(mono_method_to_ir): We don't need these macros anymore since
	mono_class_get_full() already takes care of it.

svn path=/trunk/mono/; revision=24920
2004-04-01 19:45:49 +00:00
Martin Baulig 32d286c36f 2004-04-01 Martin Baulig <[email protected]>
* class.c (mono_class_inflate_generic_type): Moved the
	functionality into a new static inflate_generic_type() which
	returns NULL if it didn't do anything.  Only increment the
	`mono_stats.inflated_type_count' if we actually inflated
	something.
	(mono_class_get_full): Check the classes type to see whether we
	need to inflate it; also inflate MONO_TYPE_(M)VAR.

svn path=/trunk/mono/; revision=24919
2004-04-01 19:44:25 +00:00
Miguel de Icaza 9c7c5090f1 Update
svn path=/trunk/mono/; revision=24918
2004-04-01 18:38:54 +00:00
Jackson Harper 52e817c8af * reflection.c: Set culture for assembly references.
svn path=/trunk/mono/; revision=24917
2004-04-01 18:37:44 +00:00
Miguel de Icaza 972b04815b MCS now checks for CLS compliance.
Patch from Marek Safar, thanks a lot Marek for working so hard in getting
every detail right.

2004-03-30  Marek Safar  <[email protected]>

	* attribute.cs (Attribute): Location is now public.
        (Resolve): Store resolved arguments (pos_values) in attribute class.
        Attribute extractors (now GetClsCompliantAttributeValue) can reuse them.
        (GetClsCompliantAttributeValue): New method that gets
        CLSCompliantAttribute value.
        (GetClsCompliantAttribute): Returns CLSCompliantAttribute for DeclSpace
        if exists else null.
        (AttributeTester): New class for CLS-Compliant verification routines.

	* class.cs (Emit): Add CLS-Compliant verification.
        (Method.GetSignatureForError): Implemented.
        (Constructor.GetSignatureForError): Implemented
        (Constructor.HasCompliantArgs): Returns if constructor has
        CLS-Compliant arguments.
        (Constructor.Emit): Override.
        (Construcor.IsIdentifierClsCompliant): New method; For constructors
        is needed to test only parameters.
        (FieldBase.GetSignatureForError): Implemented.
        (TypeContainer): New member for storing base interfaces.
        (TypeContainer.FindMembers): Search in base interfaces too.

        * codegen.cs (GetClsComplianceAttribute): New method that gets
        assembly or module CLSCompliantAttribute value.
        (ResolveClsCompliance): New method that resolve CLSCompliantAttribute
        for assembly.
        (ModuleClass.Emit): Add error 3012 test.

        * const.cs (Emit): Override and call base for CLS-Compliant tests.

        * decl.cs (ClsComplianceValue): New enum that holds CLS-Compliant
        state for all decl types.
        (MemberCore.Emit): Emit is now virtual and call VerifyClsCompliance
        if CLS-Compliant tests are required.
        (IsClsCompliaceRequired): New method. Analyze whether code
        must be CLS-Compliant.
        (IsExposedFromAssembly): New method. Returns true when MemberCore
        is exposed from assembly.
        (GetClsCompliantAttributeValue): New method. Resolve CLSCompliantAttribute
        value or gets cached value.
        (HasClsCompliantAttribute): New method. Returns true if MemberCore
        is explicitly marked with CLSCompliantAttribute.
        (IsIdentifierClsCompliant): New abstract method. This method is
        used to testing error 3005.
        (IsIdentifierAndParamClsCompliant): New method. Common helper method
        for identifier and parameters CLS-Compliant testing.
        (VerifyClsCompliance): New method. The main virtual method for
        CLS-Compliant verifications.
        (CheckAccessLevel): In one special case (System.Drawing) was TypeBuilder
        null. I don't know why is null (too many public members !).
        (GetClsCompliantAttributeValue). New method. Goes through class hierarchy
        and get value of first CLSCompliantAttribute that found.

        delegate.cs (Emit): Override and call base for CLS-Compliant tests.
        (VerifyClsCompliance): Override and add extra tests.

        * driver.cs (CSCParseOption): New command line options (clscheck[+|-]).
        clscheck- disable CLS-Compliant verification event if assembly is has
        CLSCompliantAttribute(true).

        * enum.cs (Emit): Override and call base for CLS-Compliant tests.
        ApllyAttribute is now called in emit section as in the other cases.
        Possible future Emit integration.
        (IsIdentifierClsCompliant): New override.
        (VerifyClsCompliance): New override.
        (GetEnumeratorName): Returns full enum name.

        * parameter.cs (GetSignatureForError): Implemented.

        * report.cs (WarningData): New struct for Warning message information.
        (LocationOfPreviousError): New method.
        (Warning): New method. Reports warning based on the warning table.
        (Error_T): New method. Reports error based on the error table.

        * rootcontext.cs (EmitCode): Added new Emit(s) because CLS-Compliant
        verifications are done here.

        * tree.cs (RecordDecl): Used new LocationOfPreviousError method.

        * typemanager.cs (cls_compliant_attribute_type): New member thath holds
        CLSCompliantAttribute.
        (all_imported_types): New member holds all imported types from other
        assemblies.
        (LoadAllImportedTypes): New method fills static table with exported types
        from all referenced assemblies.
        (Modules): New property returns all assembly modules.

svn path=/trunk/mcs/; revision=24916
2004-04-01 18:32:01 +00:00
Ben Maurer 0beb19d44f 2004-04-01 Ben Maurer <[email protected]>
* LocalBuilder.cs: Fix pinned support.

svn path=/trunk/mcs/; revision=24915
2004-04-01 18:01:47 +00:00
Ben Maurer 467d1c3c50 2004-04-01 Ben Maurer <[email protected]>
* reflection.[ch], icall.[ch], Fix support for pinning variables.

svn path=/trunk/mono/; revision=24914
2004-04-01 18:00:35 +00:00
Lluis Sanchez af38ee880d * TdsMetaParameter.cs: When the size of the parameter is not specified,
use the same default sizes as in MS.NET.

svn path=/trunk/mcs/; revision=24911
2004-04-01 17:17:37 +00:00
Lluis Sanchez 7ba957d0b1 * RemotingProxy.cs: Changed the rules for casting WKO proxies, to match
MS.NET behavior.

svn path=/trunk/mcs/; revision=24909
2004-04-01 14:40:32 +00:00
Lluis Sanchez 6bf0e8bc3a * TdsDataReader.cs: Null values are now represented with DBNull instances.
Deal with this.

svn path=/trunk/mcs/; revision=24908
2004-04-01 14:32:28 +00:00
Lluis Sanchez bf0470eb91 * SoapTypeAttribute.cs: Reverted last change. MS.NET don't return the full
assembly name.

svn path=/trunk/mcs/; revision=24907
2004-04-01 14:30:54 +00:00
Lluis Sanchez 5bf3783f45 * Tds.cs: All methods now return DBNull instead of null for null values.
* Tds50.cs, Tds70.cs: Support parameters with DBNull value.

svn path=/trunk/mcs/; revision=24906
2004-04-01 14:22:08 +00:00
Lluis Sanchez f8c66bdceb * Mono.Data.SybaseClient/SybaseDataReader.cs: Null values are now
represented with DBNull instances. Deal with this.
	* Mono.Data.SybaseTypes/SybaseNullValueException.cs: Use a more clarifying
	  error message.

svn path=/trunk/mcs/; revision=24905
2004-04-01 14:21:04 +00:00
Lluis Sanchez cbd49bed1d * TdsNullValueException.cs: Use a more clarifying error message.
svn path=/trunk/mcs/; revision=24904
2004-04-01 14:20:11 +00:00
Lluis Sanchez 85c74ce9a4 * SqlNullValueException.cs: Use a more clarifying error message.
svn path=/trunk/mcs/; revision=24903
2004-04-01 14:17:49 +00:00
Lluis Sanchez ee12b47161 * SqlDataReader.cs: Null values are now represented with DBNull instances.
Deal with this.

svn path=/trunk/mcs/; revision=24902
2004-04-01 14:16:59 +00:00
Lluis Sanchez b1f6ebcee7 * FileSystemInfo.cs: Added InternalRefresh, a virtual method that derived
classes can override to perform class specific refreshing.
	* FileInfo.cs: Refresh existence flag when Refresh is called.
	* TextWriter.cs: Applied patch by Benjamin Jemlich for bug #52512.
	  The method Write(char) should do nothing by default.

svn path=/trunk/mcs/; revision=24901
2004-04-01 13:29:53 +00:00
Jackson Harper 014b6c44ab * Driver.cs: The parser now needs to take a scanner object in its
constructor so it can set a flag when parsing byte arrays.

svn path=/trunk/mcs/; revision=24900
2004-04-01 10:29:05 +00:00
Jackson Harper 8d021d6591 * ILParser.jay: Set a flag in the tokenizer when parsing byte
arrays. Otherwise we can't tell WTF they are. Set assemblyref
	attributes.

svn path=/trunk/mcs/; revision=24899
2004-04-01 10:28:33 +00:00
Jackson Harper ab36b10dac * CodeGen.cs: Add a current assembly ref and methods to create/end
it so we can set assembly ref attributes.
	* ExternTable.cs: Make the ExternAssembly public so that its
	attributes can be set.

svn path=/trunk/mcs/; revision=24898
2004-04-01 10:28:05 +00:00
Jackson Harper 8bb9244990 * ILTokenizer.cs: Add flag and special parsing routine for byte
arrays.

svn path=/trunk/mcs/; revision=24897
2004-04-01 10:27:25 +00:00
Gonzalo Paniagua Javier f42e2d45bb 2004-04-01 Gonzalo Paniagua Javier <[email protected]>
* assembly.c:
	(do_mono_assembly_open): the critical section also covers
	mono_image_open and mono_image_open_from_data. Fixes bug #56327.

svn path=/trunk/mono/; revision=24896
2004-04-01 09:12:05 +00:00
Atsushi Eno 7cce1f15e4 2004-04-01 Atsushi Enomoto <[email protected]>
* XslVariable.cs : When evaluated variable was BaseIterator, its
	  iterated nodes must be collected in prior. Otherwise, it might be
	  evaluated later with inconsistent level of variable stack in
	  XslTransformProcessor. This fixes bug #55876.

svn path=/trunk/mcs/; revision=24895
2004-04-01 04:53:44 +00:00
César Natarén a84d8483a7 2004-03-31 Cesar Lopez Nataren <[email protected]>
* expression.cs: Added shift operators IL emit.

svn path=/trunk/mcs/; revision=24890
2004-03-31 22:34:39 +00:00
Atsushi Eno 9f6eaebb3a 2004-03-31 Atsushi Enomoto <[email protected]>
* Added nist_dom tests by Mainsoft hackers.

svn path=/trunk/mcs/; revision=24887
2004-03-31 21:45:14 +00:00
César Natarén 63f1149bef 2004-03-31 Cesar Lopez Nataren <[email protected]>
* BitwiseBinary.cs: added constructor for building it according to
	JSToken enum. return a new object on EvaluateBitwiseBinary (this
	needs a real implementation).
	* expression.cs: added code for evaluation of bitwise operators at emit_op_eval.

svn path=/trunk/mcs/; revision=24886
2004-03-31 21:32:02 +00:00
Miguel de Icaza 113eb576a1 Flush
svn path=/trunk/mono/; revision=24885
2004-03-31 21:13:09 +00:00
Gonzalo Paniagua Javier 5ae78dbc23 2004-03-31 Gonzalo Paniagua Javier <[email protected]>
* aot.c: set aot_verbose to 0, fixed format string that caused sigsegv,
	use @function (as doesn't accept #function here) and check the return
	value of system and stop if fails.

svn path=/trunk/mono/; revision=24884
2004-03-31 21:09:49 +00:00
César Natarén 2aa5543290 updates from grammar changes
svn path=/trunk/mcs/; revision=24883
2004-03-31 20:49:51 +00:00
Gonzalo Paniagua Javier 6b06ae74fc 2004-03-31 Gonzalo Paniagua Javier <[email protected]>
* mini.c: set the timeout to 2s when calling mono_domain_finalize.

svn path=/trunk/mono/; revision=24882
2004-03-31 20:45:53 +00:00
César Natarén dce3701df5 2004-03-31 Cesar Lopez Nataren <[email protected]>
* Statement.cs: added stub for While and DoWhile ast
	representation (reworking my Emit code).
	* jscript-parser-lexer.g: allow iteration statement ast build.

svn path=/trunk/mcs/; revision=24881
2004-03-31 20:45:07 +00:00
Gonzalo Paniagua Javier 55a4076507 2004-03-31 Gonzalo Paniagua Javier <[email protected]>
* threads.c:
	(mono_manage_threads): abort the background threads when finishing.
	Fixes bug #47232.

svn path=/trunk/mono/; revision=24880
2004-03-31 20:44:04 +00:00
Juraj Skripsky 970687296e 2004-03-31 Juraj Skripsky <[email protected]>
* DataColumn.cs : Setting Caption to null sets it to the empty string
	(ms.net behaviour, testcase is in DataColumnTest).

	* DataRow.cs : Evaluate DataColumn.Expression when such a column's value is
	requested.

svn path=/trunk/mcs/; revision=24879
2004-03-31 20:40:13 +00:00
Gonzalo Paniagua Javier 3ce3f9d882 2004-03-31 Gonzalo Paniagua Javier <[email protected]>
* gc.c: only close the done_event handle if there was no timeout.
	C-ified comments.

svn path=/trunk/mono/; revision=24878
2004-03-31 20:38:07 +00:00
César Natarén 9f2765e392 2004-03-31 Cesar Lopez Nataren <[email protected]>
* FunctionDeclaration.cs: agrouped code for setting custom attribute.

svn path=/trunk/mcs/; revision=24877
2004-03-31 20:33:29 +00:00
Andreas N f48d138b56 2004-03-31 Andreas Nahr <[email protected]>
* System.Runtime.Remoting.dll.sources: Added:
	  AssemblyInfo and Locale

svn path=/trunk/mcs/; revision=24876
2004-03-31 20:11:12 +00:00
Andreas N ed3a1fce00 2004-03-31 Andreas Nahr <[email protected]>
* AssemblyInfo.cs: Added
	* ChangeLog: Added
	* Locale.cs: Added

svn path=/trunk/mcs/; revision=24875
2004-03-31 20:10:52 +00:00
Andreas N 4c52b2e5aa 2004-03-31 Andreas Nahr <[email protected]>
* System.Runtime.Serialization.Formatters.Soap.dll.sources:
	  Added new AssemblyInfo, removed old one, added Locale.cs
	* Makefile: Removed unused ref

svn path=/trunk/mcs/; revision=24874
2004-03-31 20:10:01 +00:00
Andreas N 7c91db675b removed
svn path=/trunk/mcs/; revision=24873
2004-03-31 20:08:35 +00:00
Sebastien Pouliot 5b88a07295 2004-03-31 Sebastien Pouliot <[email protected]>
* corlib.dll.sources: Added Mono.Security/StrongNameManager.cs.

svn path=/trunk/mcs/; revision=24872
2004-03-31 19:57:11 +00:00
César Natarén 3ee2a8b4df 2004-03-31 Cesar Lopez Nataren <[email protected]>
* expression.cs: added Modulo operator case.

svn path=/trunk/mcs/; revision=24871
2004-03-31 19:52:25 +00:00
Sebastien Pouliot 846df6fec5 2004-03-31 Sebastien Pouliot <[email protected]>
* StrongName.cs: Removed #if for NET_1_2

svn path=/trunk/mcs/; revision=24870
2004-03-31 19:52:07 +00:00
Sebastien Pouliot 4297e21543 2004-03-31 Sebastien Pouliot <[email protected]>
* StrongNameManager.cs: Synched with corlib version (updated graphic).

svn path=/trunk/mcs/; revision=24869
2004-03-31 19:50:40 +00:00
Sebastien Pouliot ca18aacc70 2004-03-31 Sebastien Pouliot <[email protected]>
* StrongName.cs: Update to include new static method that can be
	called from the runtime to validate strongname signatures.
	Refactored the existing class to reduce code duplication.

svn path=/trunk/mcs/; revision=24868
2004-03-31 19:48:32 +00:00
Juraj Skripsky 5c9c273f14 2004-03-31 Juraj Skripsky <[email protected]>
* Parser.jay, ColumnReference.cs, Comparison.cs, Functions.cs,
	Aggregation.cs : fix bugs exposed by DataColumnTest.cs.

svn path=/trunk/mcs/; revision=24867
2004-03-31 19:29:19 +00:00
Juraj Skripsky 7b04e56289 2004-03-31 Juraj Skripsky <[email protected]>
* DataColumnTest.cs : fixes here and there,
	make all tests pass on ms.net.

svn path=/trunk/mcs/; revision=24866
2004-03-31 19:27:53 +00:00
Sebastien Pouliot 9434214e29 2004-03-31 Sebastien Pouliot <[email protected]>
* StrongName.cs: Update to include new static method that can be
	called from the runtime to validate strongname signatures.
	Refactored the existing class to reduce code duplication.
	* StrongNameManager.cs: New. This class keeps the configuration
	required to map a public key token to an alternative public key
	(e.g. ECMA public key token -> Mono public key) and to skip
	strongname validation for specific assemblies/token/users.

svn path=/trunk/mcs/; revision=24865
2004-03-31 19:11:00 +00:00
Zoltan Varga 9d10a98a84 2004-03-31 Zoltan Varga <[email protected]>
* mini-ppc.c (mono_arch_patch_code): Fix ppc build.

svn path=/trunk/mono/; revision=24861
2004-03-31 18:01:31 +00:00
Zoltan Varga 74e7840e46 2004-03-31 Zoltan Varga <[email protected]>
* inssel-sparc.brg mini-sparc.c aot.c: Implement AOT support.

svn path=/trunk/mono/; revision=24860
2004-03-31 17:53:54 +00:00
Atsushi Eno 7e06f9555c 2004-03-31 Atsushi Enomoto <[email protected]>
* System.Xml_test.dll.sources :
	  Added new test files: nist_dom stuff, XmlSecureResolverTests.cs,
	  XmlSchemaAssertion.cs, MsxslScriptTests.cs.

svn path=/trunk/mcs/; revision=24858
2004-03-31 17:39:50 +00:00
Atsushi Eno 4db85d18f2 2004-03-31 Atsushi Enomoto <[email protected]>
* Added MsxslScriptTests.cs.

svn path=/trunk/mcs/; revision=24857
2004-03-31 17:39:22 +00:00
Atsushi Eno a361089332 2004-03-31 Atsushi Enomoto <[email protected]>
* Added XmlSchemaAssertion.cs.
	* XmlSchemaTests.cs : now uses XmlSchemaAssertion.

svn path=/trunk/mcs/; revision=24856
2004-03-31 17:38:42 +00:00
Atsushi Eno dc95e2d6d2 2004-03-31 Atsushi Enomoto <[email protected]>
* Added nist_dom tests from Mainsoft hackers.
	* Added XmlSecureResolverTests.cs.

svn path=/trunk/mcs/; revision=24855
2004-03-31 17:37:43 +00:00
Atsushi Eno 044b38e2b5 2004-03-31 Atsushi Enomoto <[email protected]>
* Added readme.txt from Mainsoft team.

svn path=/trunk/mcs/; revision=24854
2004-03-31 17:28:10 +00:00
Atsushi Eno 29f34d7641 2004-03-31 Atsushi Enomoto <[email protected]>
* Added nist_dom tests by Mainsoft hackers.

svn path=/trunk/mcs/; revision=24853
2004-03-31 17:26:23 +00:00
Atsushi Eno a115c5aede 2004-03-31 Atsushi Enomoto <[email protected]>
* removed System.XML_linux_test.args.

svn path=/trunk/mcs/; revision=24852
2004-03-31 17:15:13 +00:00
Jordi Mas i Hernandez d34e25c9e7 more image methods implemented
svn path=/trunk/mcs/; revision=24848
2004-03-31 15:15:18 +00:00
Rafael Teixeira 00f7a882af 2004-03-31 Rafael Teixeira <[email protected]>
* BooleanType.cs, ByteType.cs, CharArrayType.cs, CharType.cs, DateType.cs, IntegerType.cs, LongType.cs, ShortType.cs:
		Translated Mainsoft code by Dennis Hayes with additional revisions by me - formatting still a problem
		Testing: No regressions, One advance

svn path=/trunk/mcs/; revision=24847
2004-03-31 15:05:51 +00:00
Rafael Teixeira b029034579 2004-03-31 Rafael Teixeira <[email protected]>
* AssemblyInfo.cs: Bumped version and completed some more infos
	* OptionDetails.cs: Incorporated C.J. Collier patch to make help screen more Windows-ish when mode==windows

svn path=/trunk/mcs/; revision=24846
2004-03-31 14:36:00 +00:00
Rafael Teixeira c93b50cb0e 2003-08-25 Rafael Teixeira <[email protected]>
* OptionDetails.cs:
		- Incorporated C.J. Collier patch to make help screen more Windows-ish when mode==windows

svn path=/trunk/mcs/; revision=24845
2004-03-31 14:29:18 +00:00
Zoltan Varga f214b3a053 2004-03-31 Zoltan Varga <[email protected]>
* inssel-long32.brg (OP_LNEG): Use ADC instead of ADD here. Fixes
	#56223.

svn path=/trunk/mono/; revision=24844
2004-03-31 14:25:18 +00:00
Zoltan Varga 53fa85ce2d 2004-03-31 Zoltan Varga <[email protected]>
* basic-long.cs: Add test for negation of Int64.MinValue.

svn path=/trunk/mono/; revision=24843
2004-03-31 14:24:09 +00:00
Dick Porter 7816bd41db 2004-03-31 Dick Porter <[email protected]>
* I18N/CJK/gb2312.table:
	* I18N/CJK/Gb2312Convert.cs:
	* I18N/CJK/CP936.cs: Rewrote the GB2312 conversion, using the iconv
	algorithm as a base.  Fixes bug 53841.

svn path=/trunk/mcs/; revision=24840
2004-03-31 13:15:46 +00:00
Atsushi Eno 0c7bf47bb5 2004-03-31 Atsushi Enomoto <[email protected]>
* XPathNavigatorTests.cs : Added PropertiesOnNamespace().

svn path=/trunk/mcs/; revision=24839
2004-03-31 13:01:23 +00:00
Atsushi Eno 22937e9d73 2004-03-31 Atsushi Enomoto <[email protected]>
* XmlDocumentNavigator.cs : When this instance is created from xmlns
	  attributes, it should be Namespace node.

svn path=/trunk/mcs/; revision=24838
2004-03-31 12:59:35 +00:00
Umadevi S 82cc321b75 2004-03-31 Umadevi S ([email protected])
- Thanks to Vineeth N for fixing Find method in DataRowCollection.

svn path=/trunk/mcs/; revision=24836
2004-03-31 09:17:26 +00:00
Gonzalo Paniagua Javier 6fa8420951 2004-03-31 Gonzalo Paniagua Javier <[email protected]>
* BinaryReader.cs: don't modify the underlying stream in Peek(). Fixes
	bug #51741. Patch by Nick Vaughan.

svn path=/trunk/mcs/; revision=24835
2004-03-31 09:00:37 +00:00
Gonzalo Paniagua Javier 0d5e26f283 2004-03-31 Gonzalo Paniagua Javier <[email protected]>
* WebConfigurationSettings.cs: fixes bug 56267.

svn path=/trunk/mcs/; revision=24834
2004-03-31 07:12:02 +00:00
Miguel de Icaza 89652977ea Flush
svn path=/trunk/mono/; revision=24833
2004-03-31 04:39:47 +00:00
Martin Baulig 4e4a25b5fc 2004-03-30 Martin Baulig <[email protected]>
* icall.c (icall_entries): It's called "System.Activator", not
	"System.Activation".

svn path=/trunk/mono/; revision=24830
2004-03-31 02:23:29 +00:00
Martin Baulig e37bddb7b2 2004-03-30 Martin Baulig <[email protected]>
* expression.cs (New): Added support for type parameters.

	* typemanager.cs
	(TypeManager.activator_type): New public static field.
	(TypeManager.activator_create_instance): Likewise.

svn path=/trunk/mcs/; revision=24829
2004-03-31 02:14:11 +00:00
Martin Baulig 60af003048 2004-03-30 Martin Baulig <[email protected]>
* class.c (mono_ldtoken): Added `MonoGenericContext *' argument.
	(mono_class_create_from_typespec): Likewise.

svn path=/trunk/mono/; revision=24828
2004-03-31 02:12:49 +00:00
Martin Baulig 9f75d17177 New test.
svn path=/trunk/mcs/; revision=24827
2004-03-31 02:11:35 +00:00
Martin Baulig 999b93b280 Return typeof (object).
svn path=/trunk/mcs/; revision=24826
2004-03-31 01:59:37 +00:00
Joshua Tauberer 34afc3ac6e 2004-03-30 Joshua Tauberer <[email protected]>
* Added readlink, strerror, opendir, readdir, closedir
	* Added Mono.Posix.Stat.UnixToDateTime(long unixtime) --> DateTime

svn path=/trunk/mcs/; revision=24825
2004-03-31 01:54:34 +00:00
Martin Baulig 774149a24d 2004-03-30 Martin Baulig <[email protected]>
* typemanager.cs (TypeManager.HasConstructorConstraint): New
	public method.

svn path=/trunk/mcs/; revision=24824
2004-03-31 01:47:28 +00:00
Martin Baulig e2fa92cd3e More tests ....
svn path=/trunk/mcs/; revision=24823
2004-03-31 01:46:15 +00:00
Ben Maurer 055d1b119d Monop: the all requrests station
svn path=/trunk/mcs/; revision=24822
2004-03-31 01:23:00 +00:00
Martin Baulig 91fd729353 New tests.
svn path=/trunk/mcs/; revision=24821
2004-03-31 01:06:58 +00:00
Martin Baulig 6ab9c0ca2a New test.
svn path=/trunk/mcs/; revision=24820
2004-03-31 01:06:32 +00:00
Martin Baulig a6a6392313 We now actually catch this.
svn path=/trunk/mcs/; revision=24819
2004-03-31 01:06:27 +00:00
Martin Baulig f6dc04932a 2004-03-30 Martin Baulig <[email protected]>
* generic.cs (ConstructedType.CheckConstraints): Actually follow
	the spec here: the argument type must be convertible to the
	constraints.

svn path=/trunk/mcs/; revision=24818
2004-03-31 01:01:05 +00:00
Martin Baulig a600309533 2004-03-30 Martin Baulig <[email protected]>
* generic.cs
	(TypeParameter.Define, TypeParameter.DefineMethod): Call
	TypeManager.AddTypeParameter().
	(ConstructedType.CheckConstraints): Re-enable this and actually
	check whether we have a constructor constraint.

	* typemanager.cs
	(TypeManager.builder_to_type_param): New static field.
	(TypeManager.AddTypeParameter): New static method.
	(TypeManager.LookupTypeParameter): New public method.

svn path=/trunk/mcs/; revision=24817
2004-03-31 00:35:40 +00:00
Miguel de Icaza 0c43b4eb26 Revert until we fix the regression on test-169
svn path=/trunk/mcs/; revision=24816
2004-03-31 00:12:15 +00:00
Sebastien Pouliot 0a1726ee7c 2004-03-30 Sebastien Pouliot <[email protected]>
* Microsoft.Web.Services.dll.2.sources: Added Mono.Xml.XmlCanonicalizer
	* Microsoft.Web.Services.dll.sources: Added Mono.Xml.XmlCanonicalizer

svn path=/trunk/mcs/; revision=24815
2004-03-30 23:42:24 +00:00
Sebastien Pouliot bd689a3655 2004-03-30 Sebastien Pouliot <[email protected]>
* XmlCanonicalizer.cs: New. Copy of System.Security assembly.
	Original by Aleksey Sanin. Modified by Atsushi Enomoto.

svn path=/trunk/mcs/; revision=24814
2004-03-30 23:39:42 +00:00
Sebastien Pouliot ed7250786b 2004-03-30 Sebastien Pouliot <[email protected]>
* XmlDsigExcC14NTransform.cs: Updated to match current System.Security
	XmlDSigC14NTransform.
	* XmlDSigExcC14NWithCommentsTransform.cs: Updated to match current
	System.Security XmlDSigC14NWithCommentsTransform.

svn path=/trunk/mcs/; revision=24813
2004-03-30 23:36:42 +00:00
Martin Baulig 80502f6e30 2004-03-30 Martin Baulig <[email protected]>
* generic.cs (TypeParameter.DefineType): Return a boolean and use
	the new API to actually define the constructor constraint.

	* typemanager.cs
	(TypeManager.new_constraint_attr_type): New static field.
	(TypeManager.InitCoreTypes): Initialize it.

svn path=/trunk/mcs/; revision=24812
2004-03-30 23:33:52 +00:00
Martin Baulig 8313557d2d Make this private.
svn path=/trunk/mcs/; revision=24811
2004-03-30 23:31:56 +00:00
Martin Baulig 976a12e528 2004-03-30 Martin Baulig <[email protected]>
* reflection.h (MonoReflectionGenericParam): Use MonoBoolean for
	`has_ctor_constraint' and `initialized'.

svn path=/trunk/mono/; revision=24810
2004-03-30 23:31:42 +00:00
Martin Baulig 2aedd1a320 2004-03-30 Martin Baulig <[email protected]>
* MonoGenericInst.cs
	(MonoGenericParam): Added `bool	has_ctor_constraint' field.
	(MonoGenericParam.SetConstraints): Added `bool
	has_ctor_constraint' argument.

svn path=/trunk/mcs/; revision=24808
2004-03-30 22:42:27 +00:00
Martin Baulig 88a57683fe 2004-03-30 Martin Baulig <[email protected]>
* TypeBuilder.cs (TypeBuilder.SetGenericParameterConstraints):
	Added `bool has_ctor_constraint' argument.

	* MethodBuilder.cs (MethodBuilder.SetGenericParameterConstraints):
	Added `bool has_ctor_constraint' argument.

svn path=/trunk/mcs/; revision=24807
2004-03-30 22:41:18 +00:00
Martin Baulig baadb7b449 2004-03-30 Martin Baulig <[email protected]>
* reflection.c (encode_new_constraint): New static function to add
	the constructor constraint attribute to a type parameter.
	(encode_constraints): Call encode_new_constraint() if necessary.

	* reflection.h
	(MonoReflectionGenericParam): Added `guint32 has_ctor_constraint'.

	* row-indexes.h: Added CUSTOM_ATTR_GENERICPAR.

svn path=/trunk/mono/; revision=24806
2004-03-30 22:40:14 +00:00
Martin Baulig 7923ac9122 This whole class is #if NET_1_2.
svn path=/trunk/mcs/; revision=24802
2004-03-30 20:09:08 +00:00
Martin Baulig e4c7fbbef6 Added System.Runtime.CompilerServices/NewConstraintAttribute.cs
svn path=/trunk/mcs/; revision=24801
2004-03-30 20:03:17 +00:00
Martin Baulig d3d0492591 2004-03-30 Martin Baulig <[email protected]>
* NewConstraintAttribute.cs: New file.

svn path=/trunk/mcs/; revision=24800
2004-03-30 20:03:00 +00:00
Martin Baulig 3d30150b0a More tests ...
svn path=/trunk/mcs/; revision=24799
2004-03-30 19:42:57 +00:00
Martin Baulig e9cb787f55 2004-03-30 Martin Baulig <[email protected]>
* generic.cs (Constraints): Completed error checking, use correct
	error numbers.

svn path=/trunk/mcs/; revision=24798
2004-03-30 19:42:16 +00:00
Lluis Sanchez e51b4ea2ce * RegexBugs.cs: Added test for bug #52890.
svn path=/trunk/mcs/; revision=24797
2004-03-30 18:57:14 +00:00
Lluis Sanchez fa11b56bb1 * collections.cs: In the indexer, return an empty group if the requested
group is not found.
	* match.cs: Added default constructor for Group.

svn path=/trunk/mcs/; revision=24796
2004-03-30 18:54:53 +00:00
Zoltan Varga 441f0b4d71 2004-03-30 Zoltan Varga <[email protected]>
* mini-sparc.c: Update status.

	* mini-sparc.c tramp-sparc.c: Save lmf in trampolines.

	* exceptions-sparc.c: Fix return value in filters.

svn path=/trunk/mono/; revision=24795
2004-03-30 17:19:19 +00:00
Zoltan Varga ab7dba0599 2004-03-30 Zoltan Varga <[email protected]>
* inssel-sparc.brg: Fix register allocation in some rules.

svn path=/trunk/mono/; revision=24794
2004-03-30 17:12:51 +00:00
Miguel de Icaza ecf9b47002 Add options
svn path=/trunk/mcs/; revision=24793
2004-03-30 17:05:01 +00:00
Miguel de Icaza d83809d51e 2004-03-30 Miguel de Icaza <[email protected]>
* cs-parser.jay: Add a rule to catch wrong event syntax instead of
	throwing a parser error.

svn path=/trunk/mcs/; revision=24792
2004-03-30 16:58:56 +00:00
Miguel de Icaza e7829de108 Add
svn path=/trunk/mcs/; revision=24791
2004-03-30 16:57:46 +00:00
Lluis Sanchez ac7f2f9bac * Xml.cs: In LoadXpathDoc(), don't use MapPathSecure with documentSource,
since it is already a physical path. Fixes bug #55334.

svn path=/trunk/mcs/; revision=24790
2004-03-30 16:41:31 +00:00
Sebastien Pouliot ec5c7da049 2004-03-30 Sebastien Pouliot <[email protected]>
* StrongNameManager.cs: New. Added a check for "*" (any) assembly
	when the spcific assembly isn't found for skipping.

svn path=/trunk/mcs/; revision=24789
2004-03-30 16:02:23 +00:00
Miguel de Icaza 4a55bfc2c8 2004-03-30 Miguel de Icaza <[email protected]>
* ecore.cs (PropertyExpr.GetAccessor): Apply patch from Patrik Reali
	which removes the hardcoded get_/set_ prefixes for properties, as
	IL allows for the properties to be named something else.

	Bug #56013

svn path=/trunk/mcs/; revision=24788
2004-03-30 16:00:32 +00:00
Lluis Sanchez 2efebf1552 * CaseInsensitiveHashCodeProvider.cs: Added support for CultureInfo.
Implemented property DefaultInvariant.

svn path=/trunk/mcs/; revision=24787
2004-03-30 15:29:11 +00:00
Lluis Sanchez 70f0ce1e2e * DataTools.cs: in FillDataSet(string,SelectCommand), use the connection
got from the configuration file to create the data adapter. Patch by
	Matthijs ter Woord.

svn path=/trunk/mcs/; revision=24786
2004-03-30 15:04:33 +00:00
Miguel de Icaza cd49b02b57 Add new test
svn path=/trunk/mcs/; revision=24785
2004-03-30 14:39:55 +00:00
Miguel de Icaza 79d4015f89 2004-03-30 Miguel de Icaza <[email protected]>
* expression.cs: Do not override operand before we know if it is
	non-null.  Fix 56207

svn path=/trunk/mcs/; revision=24784
2004-03-30 14:38:36 +00:00
Lluis Sanchez fd26f0c2bf * DataColumn.cs: In Expression setter, set the expression member even if
it is an empty string.
	* DataSet.cs: Support serialization of byte[] columns.
	* XmlDataLoader.cs: Support deserialization  of Guid columns.
	  Set MappingType.Attribute to columns infered from attributes.

svn path=/trunk/mcs/; revision=24783
2004-03-30 14:35:28 +00:00
Sebastien Pouliot 25191510fa 2004-03-30 Sebastien Pouliot <[email protected]>
* Reference.cs: Changed code to use CryptoConfig to create transforms.
	This is "the" way to do it (e.g. to allow new transforms to be added)
	but cause problems when using VS.NET for debugging. Old code is still
	present, but commented, for that cause.

svn path=/trunk/mcs/; revision=24782
2004-03-30 13:06:10 +00:00
Gonzalo Paniagua Javier 43bfd6c50f 2004-03-30 Gonzalo Paniagua Javier <[email protected]>
* FAMWatcher.cs: support monitoring subdirectories. FAM doesn't do that,
	so we have to register the existing directories and add the new ones
	that might be created.

	* SearchPattern.cs: provide the pattern when it's wrong.

svn path=/trunk/mcs/; revision=24781
2004-03-30 12:26:18 +00:00
Lluis Sanchez 55dc9d8dd2 * SerializationCodeGenerator.cs, XmlReflectionImporter.cs,
XmlSerializationReader.cs, XmlSerializationReaderInterpreter.cs:
	  Support deserialization of members of type XmlDocument. This fixes #56169.

svn path=/trunk/mcs/; revision=24780
2004-03-30 11:14:36 +00:00
Jordi Mas i Hernandez 794d54cea1 use gdi+ functions to get image details
svn path=/trunk/mcs/; revision=24778
2004-03-30 10:43:01 +00:00
Lluis Sanchez caba73b8a4 * synchronized.cs: Monitor.Exit does not throw an exception anymore if the
lock is not owned by the current thread (see bug #56157). Modified test that
	checked this.

svn path=/trunk/mono/; revision=24777
2004-03-30 09:43:59 +00:00
Gonzalo Paniagua Javier ec0ca1bf87 2004-03-30 Gonzalo Paniagua Javier <[email protected]>
* WebConfigurationSettings.cs: use FileSystemWatcher and really reload
	configuration when the file is created or modified.

svn path=/trunk/mcs/; revision=24776
2004-03-30 09:42:11 +00:00
Miguel de Icaza 16b79cc3d8 Added new test
svn path=/trunk/mcs/; revision=24773
2004-03-30 04:59:20 +00:00
Ben Maurer f885e949c2 2004-03-29 Ben Maurer <[email protected]>
* typemanager.cs: support for pinned variables.

svn path=/trunk/mcs/; revision=24771
2004-03-30 03:31:02 +00:00
Ben Maurer bee57c4bee 2004-03-29 Ben Maurer <[email protected]>
* LocalBuilder.cs: pinned support.

svn path=/trunk/mcs/; revision=24770
2004-03-30 03:29:36 +00:00
Ben Maurer 7907cdc48f 2004-03-29 Ben Maurer <[email protected]>
* reflection.c, icall.c: add support for pinning variables.

svn path=/trunk/mono/; revision=24769
2004-03-30 03:26:16 +00:00
Miguel de Icaza a86e019990 2004-03-29 Ben Maurer <[email protected]>
* decl.cs, typemanager.cs: Avoid using an arraylist
	as a buffer if there is only one result set.

svn path=/trunk/mcs/; revision=24768
2004-03-30 03:14:52 +00:00
Miguel de Icaza 9672ee04f8 update
svn path=/trunk/mcs/; revision=24767
2004-03-30 03:14:43 +00:00
Ben Maurer b0e462e488 move along now
svn path=/trunk/mcs/; revision=24766
2004-03-30 03:13:43 +00:00
Ben Maurer 2e6f4526dc 2004-03-29 Ben Maurer <[email protected]>
* cs0176.cs: make this test better.

svn path=/trunk/mcs/; revision=24765
2004-03-30 03:01:54 +00:00
Ben Maurer f3b9ca39d9 2004-03-29 Ben Maurer <[email protected]>
* decl.cs, typemanager.cs: Avoid using an arraylist
	as a buffer if there is only one result set.

svn path=/trunk/mcs/; revision=24764
2004-03-30 02:55:35 +00:00
Ben Maurer 0916de0e84 get the right #
svn path=/trunk/mcs/; revision=24763
2004-03-30 02:52:04 +00:00
Ben Maurer c58c4f882a 2004-03-29 Ben Maurer <[email protected]>
* expression.cs: Make sure you cant call a static method
	with an instance expression, bug #52587.

svn path=/trunk/mcs/; revision=24762
2004-03-30 02:49:32 +00:00
Miguel de Icaza b697ceb261 2004-03-29 Miguel de Icaza <[email protected]>
* cs-tokenizer.cs: Do not require whitespace when a ( or " will do
	in preprocessor directives.

svn path=/trunk/mcs/; revision=24759
2004-03-30 02:38:39 +00:00
Miguel de Icaza 3fc8e41c64 Improve test
svn path=/trunk/mcs/; revision=24758
2004-03-30 02:36:57 +00:00
Miguel de Icaza 9b419b97df 2004-03-29 Miguel de Icaza <[email protected]>
* location.cs (LookupFile): Allow for the empty path.

svn path=/trunk/mcs/; revision=24757
2004-03-30 02:19:09 +00:00
Miguel de Icaza d00bf47261 2004-03-29 Miguel de Icaza <[email protected]>
* attribute.cs (DefinePInvokeMethod): Fix 56148;  I would like a
	better approach for some of that patch, but its failing with the
	CharSet enumeration.  For now try/catch will do.

svn path=/trunk/mcs/; revision=24756
2004-03-30 01:58:53 +00:00
Bernie Solomon e59b4bfb19 2004-03-29 Bernie Solomon <[email protected]>
* hppa/hppa-codegen.h:
	fix displacements in FP instrs

svn path=/trunk/mono/; revision=24755
2004-03-30 01:44:17 +00:00
Martin Baulig 1898a55203 Added some comments.
svn path=/trunk/mcs/; revision=24754
2004-03-30 01:37:38 +00:00
Bernie Solomon 21fc7bfb3f 2004-03-29 Bernie Solomon <[email protected]>
* marshal.c (mono_marshal_get_managed_wrapper):
	init bool local with zero rather than null.

svn path=/trunk/mono/; revision=24753
2004-03-30 01:25:08 +00:00
Bernie Solomon 3b18ad7d95 2004-03-29 Bernie Solomon <[email protected]>
* interp.c interp.h: remove child from MonoInvocation
	as it isn't used.

svn path=/trunk/mono/; revision=24752
2004-03-30 01:20:01 +00:00
Bernie Solomon 0670ce44aa 2004-03-29 Bernie Solomon <[email protected]>
* amd64/tramp.c:
	* arm/tramp.c:
	* hppa/tramp.c:
	* ppc/tramp.c:
	* s390/tramp.c:
	* sparc/tramp.c:
	* x86/tramp.c:
	remove child from MonoInvocation as it isn't used.

svn path=/trunk/mono/; revision=24751
2004-03-30 01:18:11 +00:00
Miguel de Icaza cd8b67392c Use -unsafe instead of --unsafe in error messages
svn path=/trunk/mcs/; revision=24746
2004-03-30 01:02:29 +00:00
Lluis Sanchez 7cdfc9e181 Updated
svn path=/trunk/mono/; revision=24745
2004-03-30 01:00:14 +00:00
Martin Baulig e55918ff99 2004-03-29 Martin Baulig <[email protected]>
* delegate.cs (Delegate.VerifyMethod): Infer type arguments.

	* expression.cs (Invocation.InferTypeArguments): Added overloaded
	public version which takes a `ParameterData pd' instead of an
	`ArrayList args'.

svn path=/trunk/mcs/; revision=24744
2004-03-30 00:56:19 +00:00
Martin Baulig 8ac45022bb New test.
svn path=/trunk/mcs/; revision=24743
2004-03-30 00:54:29 +00:00
Martin Baulig 0fc82bc096 2004-03-29 Martin Baulig <[email protected]>
* typemanager.cs (TypeManager.IsGenericMethod): Take a MethodBase,
	not a MethodInfo.

svn path=/trunk/mcs/; revision=24742
2004-03-30 00:38:48 +00:00
Martin Baulig c4d8354ea7 Use Mono_IsInflatedMethod.
svn path=/trunk/mcs/; revision=24741
2004-03-30 00:30:09 +00:00
Martin Baulig 95c7c99b76 2004-03-29 Martin Baulig <[email protected]>
* MethodBase.cs (MethodBase.Mono_IsInflatedMethod): New public
	virtual property.
	(MethodBase.HasGenericParameters): Use the "official" behavior
	here, ie. return false if we're not a generic method.

svn path=/trunk/mcs/; revision=24740
2004-03-30 00:27:57 +00:00
Martin Baulig ec85a9d265 2004-03-29 Martin Baulig <[email protected]>
* icall.c (ves_icall_MonoMethod_get_HasGenericParameters): Show
	the "official" behavior here.
	(ves_icall_MonoMethod_get_Mono_IsInflatedMethod): New interncall.

svn path=/trunk/mono/; revision=24739
2004-03-30 00:25:53 +00:00
Martin Baulig e66850b1ac Reflect latest API changes.
svn path=/trunk/mcs/; revision=24738
2004-03-30 00:13:34 +00:00
Martin Baulig e7be538508 2004-03-29 Martin Baulig <[email protected]>
* icall.c: Reflect latest API changes.

svn path=/trunk/mono/; revision=24737
2004-03-30 00:13:12 +00:00
Martin Baulig 0f0cba4028 2004-03-29 Martin Baulig <[email protected]>
* MethodBase.cs: Moved the generics stuff here, made it virtual
	where neccessary and use the correct API.

svn path=/trunk/mcs/; revision=24736
2004-03-30 00:12:32 +00:00
Martin Baulig 4e0944c69c 2004-03-29 Martin Baulig <[email protected]>
* expression.cs (Argument.ResolveMethodGroup): If we're a
	ConstructedType, call GetMemberAccess() on it.

svn path=/trunk/mcs/; revision=24735
2004-03-29 22:35:09 +00:00
Miguel de Icaza 622538d2a9 2004-03-29 Miguel de Icaza <[email protected]>
* Console.cs: If we fail to open stdin/stdout/stderr, create
	readers with a NullStream.  This can happen if our caller does not
	setup stdin/stoud/stderr file handles.  #56158 exposed this, but
	it will happen elsewhere.

svn path=/trunk/mcs/; revision=24734
2004-03-29 22:07:24 +00:00
Martin Baulig ecbe385c3a New test.
svn path=/trunk/mcs/; revision=24733
2004-03-29 22:01:54 +00:00
Martin Baulig ab0b6207b2 The base type of a generic parameter is always TypeManager.object_type.
svn path=/trunk/mcs/; revision=24732
2004-03-29 22:00:23 +00:00
Martin Baulig aae1ecfc66 2004-03-29 Martin Baulig <[email protected]>
* loader.c (mono_get_method_from_token): Also call
	mono_metadata_load_generic_params () for abstract and interface
	methods; replace the type arguments in the method signature with
	the ones which are loaded from the metadata.

svn path=/trunk/mono/; revision=24731
2004-03-29 21:59:13 +00:00
Miguel de Icaza e7aee0473e 2004-03-29 Miguel de Icaza <[email protected]>
* typemanager.cs: Do not crash if a struct does not have fields.
	Fixes 56150.

svn path=/trunk/mcs/; revision=24730
2004-03-29 21:41:46 +00:00
Miguel de Icaza 67593bde69 Add new test
svn path=/trunk/mcs/; revision=24729
2004-03-29 21:40:49 +00:00
Martin Baulig f8730fad92 2004-03-29 Martin Baulig <[email protected]>
* class.cs (MethodBase.CheckGenericOverride): New abstract method.
	(MethodCore.CheckGenericOverride): When overriding a generic
	method, check whether the constraints match.

	* support.cs (GenericConstraints): New public interface.
	(ParameterData.GenericConstraints): New public method.

	* parameter.cs (Parameter.Resolve): Check whether we're a generic
	method parameter and compute our constraints if appropriate.
	(Parameter.GenericConstraints): New public property.

	* generic.cs (Constraints): Implement GenericConstraints.

svn path=/trunk/mcs/; revision=24728
2004-03-29 21:15:59 +00:00
Martin Baulig f374af4097 We may get called to create the parent of a dynamic generic instance; in this
case, we're dynamic as well.

svn path=/trunk/mono/; revision=24727
2004-03-29 20:49:30 +00:00
Martin Baulig 7a35aefce7 2004-03-29 Martin Baulig <[email protected]>
* decl.cs (MemberCache.FindMemberToOverride): Use
	`paramTypes [j].Equals (cmpAttrs [j])' instead of `=='.

svn path=/trunk/mcs/; revision=24726
2004-03-29 18:23:28 +00:00
Lluis Sanchez 896d1d147d * CSharpCodeGenerator.cs: In GetTypeOutput, never escape runtime type names.
Created a new method GetSafeTypeName to support this.

svn path=/trunk/mcs/; revision=24725
2004-03-29 17:59:33 +00:00
Martin Baulig bdb8bedaef 2004-03-29 Martin Baulig <[email protected]>
* generic.cs (GenericMethod.Define): Resolve our type parameters.

svn path=/trunk/mcs/; revision=24724
2004-03-29 17:59:21 +00:00
Lluis Sanchez ff071e16b9 * Executor.cs: Implemented.
svn path=/trunk/mcs/; revision=24723
2004-03-29 17:56:19 +00:00
Martin Baulig 8141b44f06 Damn, no debugging code here.
svn path=/trunk/mcs/; revision=24722
2004-03-29 17:47:34 +00:00
Martin Baulig 2c9e2b7267 2004-03-29 Martin Baulig <[email protected]>
* cs-parser.jay: Report CS0080 instead of -200 ("Constraints are
	not allowed on non-generic declarations").

svn path=/trunk/mcs/; revision=24721
2004-03-29 17:47:18 +00:00
Martin Baulig 3410806903 2004-03-29 Martin Baulig <[email protected]>
* TypeBuilder.cs (TypeBuilder.ContainsGenericParameters): Implemented.

svn path=/trunk/mcs/; revision=24720
2004-03-29 17:39:29 +00:00
Martin Baulig b0a4fd7452 2004-03-29 Martin Baulig <[email protected]>
* expression.cs (Invocation.InferTypeArguments): Added overloaded
	public version of this method.

	* class.cs (MethodCore.IsDuplicateImplementation): Use
	Invocation.InferTypeArguments() to check this.

svn path=/trunk/mcs/; revision=24719
2004-03-29 17:16:47 +00:00
Martin Baulig 15dd555246 Generics ...
svn path=/trunk/mcs/; revision=24718
2004-03-29 17:12:25 +00:00
Martin Baulig 9439bca677 Oooops, forgot to add them.
svn path=/trunk/mcs/; revision=24717
2004-03-29 17:12:09 +00:00
Martin Baulig eba72a4444 Added testcase.
svn path=/trunk/mcs/; revision=24716
2004-03-29 17:11:51 +00:00
Marek Safar ce6dfca587 2004-03-29 Marek Safar <[email protected]>
* cs0029-3.cs,
          cs0173-2.cs,
          cs0619-{2-26}.cs,
          cs0672.cs: 29 new error tests.

svn path=/trunk/mcs/; revision=24715
2004-03-29 16:46:08 +00:00
Lluis Sanchez 4c61101387 * GuidTest.cs: Test constructor when the input string is in format "P"
or "N".

svn path=/trunk/mcs/; revision=24714
2004-03-29 16:07:59 +00:00
Lluis Sanchez d8c9c66f19 * Convert.cs: In ToSingle(double), removed checks for Single.MaxValue and
Single.MinValue. MS.NET don't do it. This fixes bug #56005.
	* Guid.cs: Added support for guid strings in the "N" and "P" formats in
	  the constructor. This fixes bug #54019.

svn path=/trunk/mcs/; revision=24713
2004-03-29 16:06:43 +00:00
Martin Baulig bf2e29c9af 2004-03-29 Martin Baulig <[email protected]>
* convert.cs: Use TypeManager.IsDelegateType() instead of
	comparing types correctly.

svn path=/trunk/mcs/; revision=24712
2004-03-29 15:57:30 +00:00
Martin Baulig 2fec3e1cb0 2004-03-29 Martin Baulig <[email protected]>
* convert.cs: Use TypeManager.IsSubclassOf() instead of comparing
	types directly to make it work for generic instances.

svn path=/trunk/mcs/; revision=24711
2004-03-29 15:28:00 +00:00
Jackson Harper 9062693011 * main.c: Handle pinvoke info where there is not an impl_map
entry.

svn path=/trunk/mono/; revision=24709
2004-03-29 15:16:18 +00:00
Martin Baulig 1637d92729 New test.
svn path=/trunk/mcs/; revision=24708
2004-03-29 15:07:20 +00:00
Martin Baulig 380b7177a9 New tests ...
svn path=/trunk/mcs/; revision=24707
2004-03-29 15:07:11 +00:00
Martin Baulig 371ed2b666 2004-03-29 Martin Baulig <[email protected]>
* typemanager.cs (TypeManager.MayBecomeEqualGenericTypes): Added
	support for arrays.

svn path=/trunk/mcs/; revision=24706
2004-03-29 15:05:54 +00:00
Umadevi S c6bd5a2e34 2004-03-29 Umadevi S ([email protected])
- Removed TODO tags from Find methods since .NET also returns null

svn path=/trunk/mcs/; revision=24705
2004-03-29 12:46:32 +00:00
Lluis Sanchez 5b6c491d20 * HttpWebRequest.cs: Use a lock block instead of Monitor.Enter/Exit, so
the lock is released in case of exception (for example, a
	ThreadAbortException). This also "fixes" bug #52417.
	Beware, this requires a runtime update (due to a bug in Monitor.Exit).
	* ServicePoint.cs: Changed method from internal to private, since it is not
	called from outside the class.

svn path=/trunk/mcs/; revision=24704
2004-03-29 12:17:03 +00:00
Lluis Sanchez bae9c99f04 * monitor.c: In mono_monitor_exit(), don't throw an exception if the owner
of the lock is not the current thread. MS.NET don't do it, in spite of
	what the documentation says. See bug #56157.

svn path=/trunk/mono/; revision=24703
2004-03-29 12:03:10 +00:00
Jordi Mas i Hernandez b0669678dd added missing methods and properties to a few classes and fixes
svn path=/trunk/mcs/; revision=24702
2004-03-29 11:32:22 +00:00
Lluis Sanchez 836e1ee470 * CollectionBase.cs: Renamed internal arraylist member to match MS.NET
(to allow serialization interoperability).

svn path=/trunk/mcs/; revision=24701
2004-03-29 10:16:32 +00:00
Juraj Skripsky 15ee7d7d9c 2004-03-29 Juraj Skripsky <[email protected]>
* System.Data.dll.sources : added classes in Mono.Data.SqlExpressions
	* Makefile : add jay-target for Mono.Data.SqlExpressions/Parser.cs

	* ExpressionElements.cs : remove
	* DataColumn.cs, DataRelationCollection.cs, DataTable.cs :
	Integration of new Mono.Data.SqlExpressions classes used in
	DataTable.{Select, Compute}.
	Fixes bug #55503 and lots of failures in DataTableTest.cs.

	* DataTableTest.cs : add test case for bug #55503,
	comment out meaningless test cases.

	* Initial implementation of Mono.Data.SqlExpressions.

svn path=/trunk/mcs/; revision=24700
2004-03-29 07:56:47 +00:00
Jackson Harper e88d29709a * ILParser.jay: Fix typo.
svn path=/trunk/mcs/; revision=24698
2004-03-29 05:18:33 +00:00
Ben Maurer 73e4eb6fe3 revert -- breaks build
svn path=/trunk/mcs/; revision=24696
2004-03-29 05:13:03 +00:00
Martin Baulig a02966ad51 New test.
svn path=/trunk/mcs/; revision=24691
2004-03-29 01:58:26 +00:00
Martin Baulig 1f6ebe7d07 2004-03-28 Martin Baulig <[email protected]>
* mini.c (mmono_method_to_ir): In CEE_STELEM, do a handle_stobj()
	if neccessary.

svn path=/trunk/mono/; revision=24690
2004-03-29 01:57:45 +00:00
Ben Maurer 9dd7da12ce 2004-03-28 Ben Maurer <[email protected]>
* expression.cs: cs0213, cant fix a fixed expression.
	fixes 50231.

svn path=/trunk/mcs/; revision=24689
2004-03-29 01:35:41 +00:00
Ben Maurer 9242312142 more test
svn path=/trunk/mcs/; revision=24688
2004-03-29 01:18:06 +00:00
Ben Maurer bab8026c40 2004-03-28 Ben Maurer <[email protected]>
* cs-parser.jay: detect invalid embeded statements gracefully.
	bug #51113.

svn path=/trunk/mcs/; revision=24687
2004-03-29 01:16:29 +00:00
Ben Maurer 5c47a80b00 test case
svn path=/trunk/mcs/; revision=24686
2004-03-29 01:14:22 +00:00
Ben Maurer a484159dae 2004-03-28 Ben Maurer <[email protected]>
* ecore.cs, typemanager.cs: Correct impl of cs1540 check.
	As a regex:
	s/
	the invocation type may not be a subclass of the tye of the item/
	The type of the item must be a subclass of the invocation item.
	/g

	Fixes bug #50820.

svn path=/trunk/mcs/; revision=24685
2004-03-29 01:09:06 +00:00
Francisco Figueiredo Jr. ae76670a6a 2004-03-28 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlTransaction.cs: Fixed a bug where rollback was being called when disposing NpgsqlTransaction objects even when transaction was sucessfully commited. Fixes bug 725 in gborg. Thanks melkor ([email protected]) for spotting that.

svn path=/trunk/mcs/; revision=24684
2004-03-29 00:01:19 +00:00
Jackson Harper 7958f0fd7b * PeapiTypeRef.cs: Check for null bounds in bound arrays. Patch by
Vladimir Vukicevic.
	* ModifiablyType.cs: Set names properly for bound arrays.

svn path=/trunk/mcs/; revision=24683
2004-03-28 20:56:50 +00:00
Rafael Teixeira 4df233a657 updating mbas text a bit
svn path=/trunk/mono/; revision=24680
2004-03-28 19:43:01 +00:00
Martin Baulig afecbccec5 Bug fixes ....
svn path=/trunk/mcs/; revision=24679
2004-03-28 19:28:13 +00:00
Jackson Harper 0dea250c4d * ILParser.jay: Set true and false literals properly. Add instance
property attribute.

svn path=/trunk/mcs/; revision=24678
2004-03-28 19:27:39 +00:00
Martin Baulig def6da12f5 2004-03-28 Martin Baulig <[email protected]>
* class.c (mono_class_init): Don't call init_properties() and
	init_events() for generic instances; set `prop->parent' when
	inflating properties.

	* reflection.c (mono_generic_inst_get_object): Call
	`mono_class_init (ginst->klass)'.
	(mono_type_get_object): Only create a MonoGenericInst if your
	generic type is a TypeBuilder.
	(do_mono_reflection_bind_generic_parameters): Only set
	`ginst->is_dynamic' if our generic type is a TypeBuilder.

svn path=/trunk/mono/; revision=24677
2004-03-28 19:26:40 +00:00
Martin Baulig 6c4548a0db Don't crash here ;-)
svn path=/trunk/mono/; revision=24676
2004-03-28 19:24:50 +00:00
Rafael Teixeira 5f04bf7763 2004-02-20 Rafael Teixeira <[email protected]>
* Utils.cs:
		Spacing corrections

svn path=/trunk/mcs/; revision=24675
2004-03-28 19:20:34 +00:00
Jackson Harper 1ccb359a79 * get.c (get_constant): output bool consts as bool(true) or
bool(false)  (to be same as ildasm, also what mono and ms
       ilasm expect). Patch by Vladimir Vukicevic.

svn path=/trunk/mono/; revision=24674
2004-03-28 18:30:48 +00:00
Francisco Figueiredo Jr. 7f5038bb84 2004-03-28 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlConnection.cs: Implemented IClonable interface in NpgsqlConnection class. Thanks Juliano Barbosa for pointing it out.

svn path=/trunk/mcs/; revision=24673
2004-03-28 18:27:08 +00:00
Zoltan Varga b3bf168074 2004-03-28 Zoltan Varga <[email protected]>
* mini-x86.c (mono_arch_patch_code): Fix warnings.

svn path=/trunk/mono/; revision=24672
2004-03-28 17:16:54 +00:00
Zoltan Varga 4b0536a9eb 2004-03-28 Zoltan Varga <[email protected]>
* mini-x86.c (mono_arch_output_basic_block): Fix CEE_MUL_OVF_UN if
	dreg is not EAX. Thanks to Willibard Krenn for spotting this. Also
	remove unused conv_u4 opcode.

svn path=/trunk/mono/; revision=24671
2004-03-28 17:08:57 +00:00
Zoltan Varga 8f149cd3b0 2004-03-28 Zoltan Varga <[email protected]>
* appdomain.c (unload_thread_main): Do not clear proxy_vtable_hash.
	Fixes #56091.

svn path=/trunk/mono/; revision=24670
2004-03-28 16:15:17 +00:00
Zoltan Varga 777c0e929e 2004-03-28 Zoltan Varga <[email protected]>
* mini-x86.c: Remove valgrind workaround since it slows down things
	even when mono is not run under valgrind.

svn path=/trunk/mono/; revision=24669
2004-03-28 16:12:42 +00:00
Juraj Skripsky 45d4798fd3 This fixes bugs #56129 and #56014.
svn path=/trunk/mcs/; revision=24668
2004-03-28 11:43:28 +00:00
Duncan Mak 92eb528cce Remove OpenModeTypes
svn path=/trunk/mcs/; revision=24666
2004-03-28 06:06:31 +00:00
Atsushi Eno b6b4660de1 2004-03-27 Atsushi Enomoto <[email protected]>
* ScriptCompilerInfo.cs : #line directive now holds dummy filename
	  when BaseURI for msxsl:script node is not available. This fixes
	  bug #56070.
	  Don't output line number in the error message, when it is 0.

svn path=/trunk/mcs/; revision=24663
2004-03-27 22:33:16 +00:00
Atsushi Eno fc0cf34f1a 2004-03-27 Atsushi Enomoto <[email protected]>
* XmlReader.cs : ReadInnerXml() should progress reader when it is on
	  an empty element. This fixes bug #56064.

svn path=/trunk/mcs/; revision=24662
2004-03-27 22:14:43 +00:00
Atsushi Eno dcdf2745d6 2004-03-27 Atsushi Enomoto <[email protected]>
* DTDReader.cs : In some places sequential parameter entity was
	  incorrectly skipped (and caused invalid result).

svn path=/trunk/mcs/; revision=24661
2004-03-27 22:00:44 +00:00
Atsushi Eno e3de3e6de0 2004-03-27 Atsushi Enomoto <[email protected]>
* Compiler.cs : Supply NameTable to base ctor() of XPathNavigatorNsm.

svn path=/trunk/mcs/; revision=24660
2004-03-27 20:21:53 +00:00
Atsushi Eno 3ab4d9d56e 2004-03-27 Atsushi Enomoto <[email protected]>
* XsltContext.cs : Supply NameTable to base ctor().

svn path=/trunk/mcs/; revision=24659
2004-03-27 20:21:18 +00:00
Atsushi Eno de60011134 2004-03-27 Atsushi Enomoto <[email protected]>
* SignedXml.cs : namespace nodes also should be supplied for enveloped
	  objects.
	* KeyInfoRetrievalMethod.cs : Keep input element as well as others.

svn path=/trunk/mcs/; revision=24658
2004-03-27 19:59:31 +00:00
Atsushi Eno cad79eadd9 2004-03-27 Atsushi Enomoto <[email protected]>
* SignedXml.cs : XPath transformation output is not type of Stream.
	  Fix to support them by canonicalizing it.

svn path=/trunk/mcs/; revision=24657
2004-03-27 19:46:40 +00:00
Atsushi Eno d4bb04c931 2004-03-27 Atsushi Enomoto <[email protected]>
* XmlDsigXsltTransform.cs : GetOutput() now just returns
	  transformation output.

svn path=/trunk/mcs/; revision=24656
2004-03-27 19:21:31 +00:00
Sebastien Pouliot a7d06aa439 2004-03-27 Sebastien Pouliot <[email protected]>
* xmldsig.cs: Added (manual) certificates for Phaos tests using
	Manifests.

svn path=/trunk/mcs/; revision=24655
2004-03-27 18:48:10 +00:00
Atsushi Eno 4c107154e6 2004-03-27 Atsushi Enomoto <[email protected]>
* SignedXml.cs : Added xmlns support for Manifest.

svn path=/trunk/mcs/; revision=24654
2004-03-27 18:13:50 +00:00
Gonzalo Paniagua Javier 13cb1a0dcd 2004-03-27 Gonzalo Paniagua Javier <[email protected]>
* HttpRequestStream.cs: patch from Jan Jaros that fixes bug #56080.
	Now the posted file content does not have the boundaries and headers
	included.

svn path=/trunk/mcs/; revision=24652
2004-03-27 13:19:57 +00:00
Duncan Mak 5b25626063 * ForEachEnum.cs:
* OpenModeTypes.cs: Implemented according to the
Mainsoft Java implementation.

* Globals.cs:
* VBFixedArrayAttribute.cs:
* VBFixedStringAttribute: Changes made by Dennis Hayes
<[email protected]> from
 studying the Mainsoft implementation.

* Utils.cs (GetResourceString): Added stub for easing the port
from the Mainsoft Java implementation.

svn path=/trunk/mcs/; revision=24651
2004-03-27 06:07:16 +00:00
Duncan Mak b6709b4200 Remove Changelog, it's ChangeLog now
svn path=/trunk/mcs/; revision=24650
2004-03-27 06:04:24 +00:00
Duncan Mak cc19469b20 Fix the filename
svn path=/trunk/mcs/; revision=24649
2004-03-27 06:03:18 +00:00
Sebastien Pouliot 39a2e843aa 2004-03-26 Sebastien Pouliot <[email protected]>
* System.Security.dll.sources: Added internal class Manifest.

svn path=/trunk/mcs/; revision=24647
2004-03-26 21:16:36 +00:00
Sebastien Pouliot 60a062e2e5 2004-03-26 Sebastien Pouliot <[email protected]>
* XmlSignature.cs: Added constants for Manifest element and URI.

svn path=/trunk/mcs/; revision=24646
2004-03-26 21:14:07 +00:00
Sebastien Pouliot 5f7ab7bca8 2004-03-26 Sebastien Pouliot <[email protected]>
* Manifest.cs: New. Support for <Manifest> in Xml Digital Signature.
	This should help us to validate more tests from the Phaos suite.
	Note: Microsoft doesn't support this and we only support it for
	verification (not signature generation).
	* SignedXml.cs: Added support for Manifest, including recursive
	manifests. Made some changes to reuse existing code as much as
	possible. Better support for local/remote files - but requires
	catching an Uri exception for local files :-(.

svn path=/trunk/mcs/; revision=24645
2004-03-26 21:10:40 +00:00
Sebastien Pouliot d8ac76b4c4 2004-03-26 Sebastien Pouliot <[email protected]>
* xmldsig.cs: Reactivated <Manifest> tests as support for them will be
	present in Mono. Changed directory for Phaos tests because of some
	documents' references.

svn path=/trunk/mcs/; revision=24644
2004-03-26 20:58:04 +00:00
Ben Maurer ef5149d209 2004-03-26 Ben Maurer <[email protected]>
* do-tests.pl: i think this fixes the problem with
	tests that have comp options alway passing
	* mcs-expect*: update for above.

svn path=/trunk/mcs/; revision=24642
2004-03-26 18:39:17 +00:00
Jordi Mas i Hernandez c4330b9186 added missing members and complete the wrapper
svn path=/trunk/mcs/; revision=24641
2004-03-26 17:53:51 +00:00
Atsushi Eno fccfc83559 2004-03-26 Atsushi Enomoto <[email protected]>
* System.Security_test.dll.sources :
	  Added XmlDsigEnvelopedSignatureTest.cs.

svn path=/trunk/mcs/; revision=24640
2004-03-26 16:24:04 +00:00
Atsushi Eno 4877ba6e10 2004-03-26 Atsushi Enomoto <[email protected]>
* Added XmlDsigEnvelopedSignatureTransformTest.cs.
	* SignedXmlTest.cs : Added some KeyInfo and error handling repro.

svn path=/trunk/mcs/; revision=24639
2004-03-26 16:22:39 +00:00
Atsushi Eno d4842b8b74 2004-03-26 Atsushi Enomoto <[email protected]>
* Makefile : Use alias for mcs and mono and debuginfo.

svn path=/trunk/mcs/; revision=24638
2004-03-26 16:18:06 +00:00
Atsushi Eno 9c7eff6100 2004-03-26 Atsushi Enomoto <[email protected]>
* XmlCanonicalizer.cs :
	  Don't output &#xD; for Whitespace node.
	  To filter every kind of nodes, make sure node.Attributes isnot null.
	  This makes some phaos tests passed.

svn path=/trunk/mcs/; revision=24637
2004-03-26 16:12:40 +00:00
Atsushi Eno da7c4adefd 2004-03-26 Atsushi Enomoto <[email protected]>
* SignedXml.cs :
	  - Use specified (or default) XmlResolver to get external resource,
	    instead of using WebRequest directly. Also modified it easier.
	  - ApplyTransform() : Clone only when it is required. Handle
	    transformation output other than Stream.
	  - Even if applicable key was not found in GetHash(), don't throw
	    crypto exception every time and just return false (MS does it).
	    Throw an exception only when no key was specified as KeyInfo.
	* XmlDsigEnvelopedSignatureTransform.cs : Fixed get_OutputTypes which
	  incorrectly set InputTypes internally.
	* XmlDsigXPathTransform.cs : Context namespace nodes in loaded
	  transform parameter (i.e. <XPath>..</XPath>) should be registered
	  to XsltContext. Otherwise prefix binding error occurs.
	  Just filter attribute node, instead of filtering attribute children.

svn path=/trunk/mcs/; revision=24636
2004-03-26 16:08:47 +00:00
Zoltan Varga 6ff3c958de 2004-03-26 Zoltan Varga <[email protected]>
* mini-sparc.c: Update status.

svn path=/trunk/mono/; revision=24635
2004-03-26 15:30:23 +00:00
Zoltan Varga 057ad4726f 2004-03-26 Zoltan Varga <[email protected]>
* inssel-sparc.brg: Add some optimizations.

	* inssel-sparc.brg mini-sparc.c: Rework branch instructions to allow
	future delay slot filling. Add support for varargs, tail calls and JMP.

svn path=/trunk/mono/; revision=24634
2004-03-26 15:27:57 +00:00
Zoltan Varga 4cff0234b5 2004-03-26 Zoltan Varga <[email protected]>
* inssel.brg mini-ops.h mini.c: Use OP_REFANYTYPE instead of
	CEE_REFANYTYPE, since CEE_REFANYTYPE needs a prefix to be unique.

	* inssel.brg: Fix register allocation in OP_ARGLIST.

	* inssel.brg: Fix warnings.

svn path=/trunk/mono/; revision=24633
2004-03-26 15:24:16 +00:00
Ravindra 202f2c78b7 dos2unix and some cosmatic changes.
svn path=/trunk/mcs/; revision=24630
2004-03-26 13:48:00 +00:00
Ravindra 3fdef174ec Fixed wrapmode enum values.
svn path=/trunk/mcs/; revision=24629
2004-03-26 13:33:58 +00:00
Umadevi S eb77b71731 2004-03-26 Umadevi S ([email protected])
* Changed SqlClientPermission Attribute to fix a build issue using csc

svn path=/trunk/mcs/; revision=24625
2004-03-26 05:05:21 +00:00
Gonzalo Paniagua Javier f1ef8875fb removed debugging output
svn path=/trunk/mono/; revision=24624
2004-03-25 23:54:57 +00:00
Gonzalo Paniagua Javier f5a5e15e0e 2004-03-25 Gonzalo Paniagua Javier <[email protected]>
* SearchPattern.cs: small improvement for files with no wildcard.

svn path=/trunk/mcs/; revision=24623
2004-03-25 23:52:50 +00:00
Gonzalo Paniagua Javier 77338acee6 2004-03-25 Gonzalo Paniagua Javier <[email protected]>
* Process.cs: use the ISynchronizeInvoke object to invoke the event.
	Implemented Close, CloseMainWindow and Kill.

svn path=/trunk/mcs/; revision=24622
2004-03-25 23:45:44 +00:00
Gonzalo Paniagua Javier e5cfa4874d 2004-03-25 Gonzalo Paniagua Javier <[email protected]>
* io-layer/daemon-messages.h: added kill structs.

	* io-layer/daemon.c: implemented process_process_kill.
	* io-layer/handles-private.h:  define process_process_kill.
	* io-layer/handles.c: implemented _wapi_handle_process_kill.
	* io-layer/processes.[ch]: implemented TerminateProcess.
	* metadata/icall.c: added Kill_internal icall.
	* metadata/process.[ch]: added Kill_internal icall.

svn path=/trunk/mono/; revision=24621
2004-03-25 23:45:40 +00:00
Ben Maurer acc92b9017 build fix for 1.2 prof
svn path=/trunk/mcs/; revision=24620
2004-03-25 23:00:27 +00:00
Martin Baulig 39383d95a8 2004-03-25 Martin Baulig <[email protected]>
* class.h (MonoStats): Added `generic_instance_count',
	`inflated_method_count', `inflated_type_count' and
	`generics_metadata_size'.

svn path=/trunk/mono/; revision=24619
2004-03-25 22:50:04 +00:00
Bernie Solomon 63d7f48a78 2004-03-25 Bernie Solomon <[email protected]>
* daemon.c (rem_fd): On solaris you seem to get an
	error even after removing the input source so don't
	try and rem_fd it twice.

svn path=/trunk/mono/; revision=24618
2004-03-25 22:14:54 +00:00
Martin Baulig feef4c0745 Oooops.
svn path=/trunk/mono/; revision=24617
2004-03-25 22:09:06 +00:00
Martin Baulig bddbb74152 2004-03-25 Martin Baulig <[email protected]>
* interp.c (stackval_from_data): Added MONO_TYPE_GENERICINST.
	(stackval_to_data): Added MONO_TYPE_GENERICINST.
	(calc_offsets): Use mono_class_get_full() and mono_get_method_full().
	(ves_exec_method_with_context): Likewise.

svn path=/trunk/mono/; revision=24616
2004-03-25 22:06:32 +00:00
Martin Baulig ca63aad4ab 2004-03-25 Martin Baulig <[email protected]>
* mini.c (inflate_generic_field): Removed.
	(mini_get_method): Removed, use mono_get_method_full(),
	(mini_get_class): Removed, use mono_class_get_full().
	(mono_method_to_ir): Pass our generic context to
	mono_field_from_token().

svn path=/trunk/mono/; revision=24615
2004-03-25 22:06:20 +00:00
Martin Baulig 9ea8b218ce 2004-03-25 Martin Baulig <[email protected]>
* class.c (mono_class_get_full): New public function; does a
	mono_class_get(), but also takes a `MonoGenericContext *'.

	* loader.c (mono_field_from_memberref): Renamed to
	`field_from_memberref', made static and added `MonoGenericContext *'
	argument.
	(mono_field_from_token): Added `MonoGenericInst *' argument.
	(method_from_memberef): Likewise.
	(mono_get_method_from_token): Likewise.
	(mono_get_method_full): New public function; does a
	mono_get_method(), but also takes a `MonoGenericContext *'.

	* verify.c (mono_method_verify): Get the method's generic context
	and pass it to mono_field_from_token(), mono_get_method_full() and
	mono_class_get_full().

svn path=/trunk/mono/; revision=24614
2004-03-25 22:06:07 +00:00
Sebastien Pouliot 094b9a02c1 2004-03-25 Sebastien Pouliot <[email protected]>
* mcs-expect-no-errors: Removed cs1548 and cs1458-2.cs (fixed #55364).

svn path=/trunk/mcs/; revision=24613
2004-03-25 21:04:28 +00:00
Gonzalo Paniagua Javier c7ee4eee67 2004-03-25 Gonzalo Paniagua Javier <[email protected]>
* reflection.c: no warnings now.

svn path=/trunk/mono/; revision=24612
2004-03-25 21:01:00 +00:00
Sebastien Pouliot a9f00ccce0 2004-03-25 Sebastien Pouliot <[email protected]>
* AssemblyBuilder.cs: Changed strongname support to match MS
	implementation (i.e. attributes are used by the compiler - not by
	AssemblyBuilder).

svn path=/trunk/mcs/; revision=24610
2004-03-25 20:31:32 +00:00
Sebastien Pouliot 3bb31787d8 2004-03-25 Sebastien Pouliot <[email protected]>
* attribute.cs: Added methods to get a string and a bool from an
	attribute. Required to information from AssemblyKeyFileAttribute,
	AttributeKeyNameAttribute (string) and AssemblyDelaySign (bool).
	* codegen.cs: Modified AssemblyName creation to include support for
	strongnames. Catch additional exceptions to report them as CS1548.
	* compiler.csproj: Updated include CryptoConvert.cs.
	* compiler.csproj.user: Removed file - user specific configuration.
	* CryptoConvert.cs: New. A COPY of the class CryptoConvert from
	Mono.Security assembly. The original class is maintained and tested in
	/mcs/class/Mono.Security/Mono.Security.Cryptography/CryptoConvert.cs.
	* drivers.cs: Added support for /keyfile, /keycontainer and /delaysign
	like CSC 8.0 (C# v2) supports.
	* Makefile: Added CryptoConvert.cs to mcs sources.
	* rootcontext.cs: Added new options for strongnames.

svn path=/trunk/mcs/; revision=24609
2004-03-25 20:29:43 +00:00
Martin Baulig 41f4f20e6f 2004-03-25 Martin Baulig <[email protected]>
* class.c (mono_class_inflate_generic_type): Take a
	`MonoGenericContext *' instead of a `MonoGenericInst *' and a
	`MonoGenericMethod *'.

svn path=/trunk/mono/; revision=24608
2004-03-25 20:15:56 +00:00
Martin Baulig 0814c3a131 2004-03-25 Martin Baulig <[email protected]>
* mini.c (mini_get_class): Take a `MonoGenericContext *' instead
	of a `MonoMethod *'.

svn path=/trunk/mono/; revision=24607
2004-03-25 19:55:13 +00:00
Martin Baulig c22a515bf4 2004-03-25 Martin Baulig <[email protected]>
* mini.c (mini_get_method): Take a `MonoGenericContext *' instead
	of a `MonoGenericMethod *'.
	(TYPE_PARAM_TO_TYPE, MTYPE_PARAM_TO_TYPE): mono_method_to_ir() has
	a new local variable called `generic_context' which holds the
	current `MonoGenericContext *'; use it to lookup things.

svn path=/trunk/mono/; revision=24606
2004-03-25 19:51:03 +00:00
Martin Baulig cebc768df0 2004-03-25 Martin Baulig <[email protected]>
* loader.h (MonoMethodInflated): Store the MonoGenericContext
	instead of the MonoGenericMethod here.

svn path=/trunk/mono/; revision=24605
2004-03-25 19:50:48 +00:00
Martin Baulig ec919d864b 2004-03-25 Martin Baulig <[email protected]>
* class.h (MonoGenericInst): Added `MonoGenericContext *context';
	each time we create a new MonoGenericInst, we also create a new
	context which points back to us.

	* class.c (inflate_method): Use `ginst->context' instead of
	creating a new context.

	* loader.c (method_from_memberref): Use
	`klass->generic_inst->context' instead of creating a new context.

svn path=/trunk/mono/; revision=24604
2004-03-25 19:00:17 +00:00
Jackson Harper 7e1ba4d437 * gacutil.cs: Add culture to assemblies version string.
svn path=/trunk/mcs/; revision=24603
2004-03-25 18:56:33 +00:00
Martin Baulig 831824a02f 2004-03-25 Martin Baulig <[email protected]>
* class.h (MonoGenericContext): New struct.
	(MonoGenericMethod): Removed `generic_inst'.

	* class.c (mono_class_inflate_generic_method): Take a
	`MonoGenericContext *' instead of a `MonoGenericMethod *'.

svn path=/trunk/mono/; revision=24602
2004-03-25 18:52:25 +00:00
Martin Baulig 8bad6df06e 2004-03-25 Martin Baulig <[email protected]>
* loader.h (MonoMethodInflated): New typedef.

	* metadata.h (MonoMethodSignature): Removed `gen_method', make
	`generic_param_count' consume just 30 bits, added `is_inflated'
	and `has_type_parameters' flags (one bit each).

	* class.c (mono_class_inflate_generic_method): Create a
	MonoMethodInflated instead of a MonoMethodNormal and set
	`is_inflated' in the method signature.

	* class.h (MonoGenericMethod): Removed `generic_method'.

svn path=/trunk/mono/; revision=24600
2004-03-25 18:26:11 +00:00
Sebastien Pouliot 04f2e11aeb 2004-03-25 Sebastien Pouliot <[email protected]>
* SignedXml.cs: Added try/catch in CheckSignatureWithKey to return
	false on exceptions. Fix signature-rsa-detached-xslt-transform-bad
	-retrieval-method.xml in the Phaos test suite.

svn path=/trunk/mcs/; revision=24599
2004-03-25 18:01:12 +00:00
Sebastien Pouliot c943e26188 2004-03-25 Sebastien Pouliot <[email protected]>
* xmldsig.cs: Some of the Phaos test files uses <Manifest> with having
	*manifest* in their name. Manually load certificates for Phaos tests
	that requires it (as RetrievalMethod isn't support automatically).

svn path=/trunk/mcs/; revision=24598
2004-03-25 18:00:13 +00:00
Ben Maurer 951cd331b8 2004-03-25 Ben Maurer <[email protected]>
* cs1510-2.cs: test for 56016.
	* cs0154-2.cs: test for 55780.
	* cs0246-6.cs: test for 55770.

svn path=/trunk/mcs/; revision=24597
2004-03-25 17:29:52 +00:00
Ben Maurer 7cbe0d4846 2004-03-25 Ben Maurer <[email protected]>
* cs1510-2.cs: test for 56016.

svn path=/trunk/mcs/; revision=24596
2004-03-25 16:49:33 +00:00
Ben Maurer ac79f2b708 2004-03-25 Ben Maurer <[email protected]>
* cs0122-4.cs: test for bug 55970.

svn path=/trunk/mcs/; revision=24595
2004-03-25 16:41:52 +00:00
Lluis Sanchez a42a017e8d * soapsuds.cs: Execute the tool from a new domain that has the current
directory as application base for locating assemblies. This fixes #55586.

svn path=/trunk/mcs/; revision=24593
2004-03-25 15:54:38 +00:00
Gonzalo Paniagua Javier 52d0ad051a fix the build on windows
svn path=/trunk/mono/; revision=24592
2004-03-25 15:18:16 +00:00
Sebastien Pouliot ab3f34d8d3 2004-03-25 Sebastien Pouliot <[email protected]>
* cs1548.cs: More descriptive comment  (missing file).
	* cs1548-2.cs: New. Invalid strongname file (content).
	* mcs-expect-no-errors: Added cs1458-2.cs.

svn path=/trunk/mcs/; revision=24591
2004-03-25 15:11:49 +00:00
Ravindra 70d5c09ef2 Added a sample for TextureBrush wrapmodes.
svn path=/trunk/mcs/; revision=24590
2004-03-25 14:37:35 +00:00
Lluis Sanchez e84bdd437f * FileStream.cs: ReadByte(): when buffering is disabled, read the byte with
a direct call to ReadData. In InitBuffer(), if buffering is disabled,
	  create a buffer of one byte, to be used in ReadByte.
	  This fixes bug #52361.

svn path=/trunk/mcs/; revision=24589
2004-03-25 14:35:31 +00:00
Ravindra c43a4ee35f Added ChangeLog and a bmp for samples.
svn path=/trunk/mcs/; revision=24588
2004-03-25 14:31:20 +00:00
Sebastien Pouliot bbcc5c79c3 2004-03-25 Sebastien Pouliot <[email protected]>
* xmldsig.cs: Added code to automagically ajust for presence of
	HMAC-MD5 and ExC14N in the framework and to manualy skip signatures
	containing <Manifest> (not supported).

svn path=/trunk/mcs/; revision=24587
2004-03-25 14:09:45 +00:00
Sebastien Pouliot a7dac8bbbd 2004-03-25 Sebastien Pouliot <[email protected]>
* xmldsig.cs: Added code to ignore tests using HMAC-MD5 (1 in Phaos
	suite) as it is	unsupported in Fx 1.0/1.1.

svn path=/trunk/mcs/; revision=24586
2004-03-25 13:03:06 +00:00
Sebastien Pouliot f05621510b 2004-03-25 Sebastien Pouliot <[email protected]>
* mcs.1: Added documentation for the new options /delaysign[+|-],
	/keyfile and /keycontainer to the man page.

svn path=/trunk/mono/; revision=24585
2004-03-25 12:46:03 +00:00
Lluis Sanchez 58a75d1054 * daemon.c: in process_post_mortem, If the child terminated due to the
receipt of a signal, the exit status must be based on WTERMSIG, since
	WEXITSTATUS returns 0 in this case.

svn path=/trunk/mono/; revision=24584
2004-03-25 12:34:03 +00:00
Alon Gazit 0bcca74d66 fix ValidateCookieCollection() to prevent InvalidCastException.
svn path=/trunk/mcs/; revision=24583
2004-03-25 12:30:25 +00:00
Lluis Sanchez b2284676c9 * Path.cs: In GetDirectoryName, fixed check for volumeSeparator. This
fixes bug #53892.

svn path=/trunk/mcs/; revision=24582
2004-03-25 11:44:40 +00:00
Lluis Sanchez 6cadb125f1 * DataSet.cs: In WriteXml (string filename, XmlWriteMode mode), close the
stream after writing the dataset. This fixes bug #52581.
	  Also added several writer.Close into finally blocks, so writers are properly
	  closed in case of an exception.

svn path=/trunk/mcs/; revision=24580
2004-03-25 11:24:12 +00:00
Umadevi S 9d75ea2873 2004-03-25 Umadevi S ([email protected])
* Implemented missing methods in SqlClientPermission & SqlClientPermissionAttribute

svn path=/trunk/mcs/; revision=24579
2004-03-25 10:48:50 +00:00
Lluis Sanchez 48b051754c * image.c: Make sure the name of a MonoImage is always an absolute path.
This fixes bug #54415.

svn path=/trunk/mono/; revision=24578
2004-03-25 10:45:33 +00:00
Lluis Sanchez dbd77e59a0 * WebServiceHelper.cs: In GetContentEncoding, chop off the single & double
quotes around the encoding name. Patch by George Kodinov. This fixes
	  bug #55806.

svn path=/trunk/mcs/; revision=24577
2004-03-25 09:46:07 +00:00
Anirban Bhattacharjee 5ba3fe53f4 * class.cs: bug fixing - creating default constructor when no constructor is specified
Few modifiers are changed to align with Vb

svn path=/trunk/mcs/; revision=24576
2004-03-25 09:44:54 +00:00
Ben Maurer f211f5d3c4 2004-03-24 Ben Maurer <[email protected]>
* Makefile, do-tests.pl: A new system for testing.
	* mcs-expect-no-errors, mcs-expect-wrong-error: a list
	of tests that we fail on.
	* CONTRIBUTORS_README: update docs.

svn path=/trunk/mcs/; revision=24562
2004-03-25 04:55:54 +00:00
Ben Maurer 63cf8b1c33 2004-03-24 Ben Maurer <[email protected]>
* driver.cs: For --expect-error, report error code `2'
	if the program compiled with no errors, error code `1' if
	it compiled with an error other than the one expected.

svn path=/trunk/mcs/; revision=24560
2004-03-25 04:18:59 +00:00
Sebastien Pouliot 8b336570e2 2004-03-24 Sebastien Pouliot <[email protected]>
* Makefile: Updated sn.exe to include StrongNameManager.cs.
	* sn.cs: Updated to use StrongNameManager. This allows remapping a
	public key token to another public key (e.g. ECMA key). Also added
	support for -Vl.
	* StrongNameManager.cs: New. First version. Allows remapping of
	public key tokens to alternate public keys (e.g. ECMA) and disabling
	strongname verification for specific tokens/assemblies/users combo.

svn path=/trunk/mcs/; revision=24559
2004-03-25 03:12:57 +00:00
nobody 4e4824afab This commit was manufactured by cvs2svn to create branch 'SAVANNAH_CVS'.
svn path=/branches/SAVANNAH_CVS/mcs/; revision=6844
2002-08-21 10:08:33 +00:00
10174 changed files with 1515723 additions and 10353 deletions

No files matched your search

+219 -1
View File
@@ -1,3 +1,222 @@
2004-05-03 Jackson Harper <[email protected]>
* man/gacutil.1: Basic man page for gacutil. This doesn't include
the new non-standard options yet.
2004-05-03 Gonzalo Paniagua Javier <[email protected]>
* data/machine.config: added version and publickeytoken.
2004-05-01 Duncan Mak <[email protected]>
* runtime/net_1_1/Makefile.am:
* runtime/net_2_0/Makefile.am (gac_assemblies_list): Add NUnit
dlls here.
(non_gac_assemblies): Removed, every thing is migrated over to gac_assemblies.
(EXTRA_DIST): Include only gac_assemblies.
(dist_assemblies_DATA): It's referring to $(non_gac_assemblies)
and that is no gone now. So remove as well.
($(non_gac_assemblies)): Bye bye.
2004-05-01 Duncan Mak <[email protected]>
* runtime/net_1_1/Makefile.am (gac_assemblies_list): Add
System.Web.Services. Someone accidentally took the line out.
2004-04-30 Jackson Harper <[email protected]>
* runtime/net_1_1/Makefile.am:
* runtime/net_2_0/Makefile.am: These assemblies are signed now.
2004-04-30 Raja R Harinath <[email protected]>
* runtime/net_1_1/Makefile.am (gac_assemblies_list): Remove .dll
suffix.
(gac_assemblies, non_gac_assemblies, corlibdir, dist_corlib_DATA):
New variables. Use Automake idioms.
(dist-hook): Remove.
(install-local, uninstall-local): Use mscorlib.dll from current
tree when running gacutil.
(mono_runtime): New variable. Points to either JIT compiler or
interpreter.
Report from Bernie Solomon <[email protected]>
* runtime/net_2_0/Makefile.am: Likewise.
* runtime/Makefile.am (dist_monobins_DATA): Rename from
monobins_DATA.
(EXTRA_DIST): Remove.
* Makefile.am (fullbuild): Update to changes.
2004-04-30 Jackson Harper <[email protected]>
* runtime/net_2_0/Makefile.am:
* runtime/net_1_1/Makefile.am: /lib/mono/gac. Dont forget the mono.
2004-04-30 Duncan Mak <[email protected]>
* runtime/Makefile.am ($(monobins_DATA)): Add sn.exe and sn.
2004-04-29 Duncan Mak <[email protected]>
* scripts/gmcs.in: New file.
* scripts/Makefile.am (EXTRA_DIST, bin_SCRIPTS, CLEANFILES): Add
gmcs script.
2004-04-29 Jackson Harper <[email protected]>
* runtime/net_2_0/Makefile.am: install 2.0 corlib to its own
special little place.
2004-04-29 Zoltan Varga <[email protected]>
* acconfig.h configure.in: Add check for scandir.
2004-04-29 Raja R Harinath <[email protected]>
* runtime/Makefile.am (monobins_DATA): Add gacutil.exe.
(SUBDIRS): Build here before building subdirs.
* runtime/net_1_1/Makefile.am (all-local): Copy
$(gac_assemblies_list) here.
(install-data-local): Install dll from $(srcdir).
(gacutil): Pick from current tree.
* runtime/net_2_0/Makefile.am: Likewise.
* Makefile.am (fullbuild): Update to changes in tree layout.
* runtime/net_1_1/Makefile.am (install-data-local): Allow empty
$(gac_assemblies_list).
($(gac_assemblies_list)): Pick libraries from 'class/lib/default',
not 'class/lib/net_1_1'.
2004-04-28 Jackson Harper <[email protected]>
* runtime/net_1_1/Makefile.am: Grab libs from proper directory, do
not assume gacutil is installed.
* runtime/net_2_0/Makefile.am: Do not assume gacutil is installed.
2004-04-28 Jackson Harper <[email protected]>
* configure.in: Add new Makefile.amS
* runtime/Makefile.am: libs are now in profile dependant
directories.
* runtime/net_1_1/Makefile.am: Install and Uninstall the .net 1.1
libs to the GAC.
* runtime/net_2_0/Makefile.am: Install and Uninstall the .net 2.0
libs to the GAC.
* data/Makefile.am: cleanup browscap.ini
2004-04-28 Bernie Solomon <[email protected]>
* configure.in: reword message re EGD support
now it is there
2004-04-28 Gonzalo Paniagua Javier <[email protected]>
* config.h.in:
* configure.in: added check for sys/aio.h. Also check the field name
in 'union sigval'.
2004-04-28 Jackson Harper <[email protected]>
* scripts/Makefile.am:
* scripts/gacutil.in: Add a gacutil script
2004-04-26 Jackson Harper <[email protected]>
* Makefile.am: Grab libraries from lib/default now.
* runtime/Makefile.am: Grab libraries from lib/default now.
2004-04-26 Bernie Solomon <[email protected]>
* configure.in: move setting of NO_VERSION_SCRIPT
until after checking for GNU ld
2004-04-22 Urs C Muff <[email protected]>
move .net assemblies from $prefix/bin/*.exe to $prefix/lib/*.exe on
windows/cygwin refactor .nsi to simply maintenance on script/batch
generation
* runtime/Makefile.am
* script/Makefile.am
* monowiz.win32.nsi
2004-04-14 Raja R Harinath <[email protected]>
* runtime/Makefile.am ($(assemblies_DATA)): Copy file into
$(srcdir). Clean up output.
($(monobins_DATA)): Likewise.
* Makefile.am (mcs-tree-safe-build): Fix typo.
2004-04-13 Sebastien Pouliot <[email protected]>
* configure.in: Added rules to check for getgrgid_r, getgrnam_r,
getpwnam_r, getpwuid_r, getresuid and setresuid.
2004-04-13 Raja R Harinath <[email protected]>
Allow 'make fullbuild' to work on non-srcdir build.
* Makefile.am (mcs_topdir): New variable.
(mcs-tree-safe-build,mcs-rest,remove-binaries): Work in non-srcdir
build.
(xinstall-runtime): Likewise. Use $(libgc_dir) directly, don't
grep for 'libgc'.
(fullbuild): Make ordering dependencies explicit.
2004-04-12 Sachin Kumar <[email protected]>
* Makefile.am: Added 'web' in SUBDIRS
2004-04-07 Gonzalo Paniagua Javier <[email protected]>
* configure.in: don't try-run the tests for nptl and/or sigaltstack
if they are disabled in the command line.
2004-04-05 Jackson Harper <[email protected]>
* man/ilasm.1: Show /output instead of /out as the switch for
specifying output file names.
2004-04-05 Zoltan Varga <[email protected]>
* configure.in: Check for pthread_getattr_np and pthread_attr_get_np.
2004-04-02 Gonzalo Paniagua Javier <[email protected]>
* config.h.in: added HAVE_GETPWUID_R
* configure.in: check for getpwuid_r.
2004-03-23 Zoltan Varga <[email protected]>
* configure.in: Fix GNU ld check.
2004-03-22 Zoltan Varga <[email protected]>
* configure.in: Use amd64 instead of x86-64 as directory name. Fixes
#55840.
* configure.in: Disable -version-script if not using GNU ld. Fixes
#55910.
* configure.in: Speedup successful sigaltstack test.
* configure.in: don't try-run the tests for nptl and/or sigaltstack
if they are disabled in the command line.
2004-04-05 Jackson Harper <[email protected]>
* man/ilasm.1: Show /output instead of /out as the switch for
specifying output file names.
2004-04-05 Zoltan Varga <[email protected]>
* configure.in: Check for pthread_getattr_np and pthread_attr_get_np.
2004-04-02 Gonzalo Paniagua Javier <[email protected]>
* config.h.in: added HAVE_GETPWUID_R
* configure.in: check for getpwuid_r.
2004-03-23 Zoltan Varga <[email protected]>
* configure.in: Fix GNU ld check.
@@ -557,7 +776,6 @@ Thu Jul 31 16:19:07 CEST 2003 Paolo Molaro <[email protected]>
* man/sqlsharp.1: changed pass= to password= for the
PostgreSql provider.
>>>>>>> 1.166
2003-03-31 Gonzalo Paniagua Javier <[email protected]>
* data/machine.config: added SessionStateModule to httpModules section.
+25 -15
View File
@@ -1,6 +1,9 @@
AUTOMAKE_OPTIONS = foreign
SUBDIRS = @libgc_dir@ mono web docs runtime scripts man data samples support
SUBDIRS = @libgc_dir@ mono @ikvm_jni_dir@ docs runtime scripts man data samples support web
# Keep in sync with SUBDIRS
DIST_SUBDIRS = libgc mono ikvm-jni docs runtime scripts man data samples support web
# EXTRA_SUBDIRS = libgc
@@ -20,25 +23,32 @@ DISTCLEANFILES= mono.pc mint.pc
# problems by doing the compilation in the right order.
#
fullbuild: remove-binaries mcs-tree-safe-build xinstall-runtime mcs-rest install
mcs_topdir=$(top_srcdir)/../mcs
mcs-tree-safe-build:
(cd ../mcs/jay; $(MAKE))
(cd ../mcs/mcs; $(MAKE) MCS=mcs BOOTSTRAP_MCS=mcs)
(cd ../mcs/class/corlib; $(MAKE) MCS=mcs BOOTSTRAP_MCS=mcs)
cp ../mcs/class/lib/mscorlib.dll runtime
cp ../mcs/mcs/mcs.exe runtime
.PHONY: fullbuild remove-binaries mcs-tree-safe-build xinstall-runtime mcs-rest
xinstall-runtime:
if echo $(SUBDIRS) | grep "libgc " > /dev/null; then (cd libgc; $(MAKE) && $(MAKE) install); fi
(cd mono; $(MAKE) && $(MAKE) install)
(cd runtime; $(MAKE) install assemblies_DATA=mscorlib.dll monobins_DATA=mcs.exe)
fullbuild: mcs-rest
$(MAKE)
$(MAKE) install
mcs-rest:
(cd ../mcs/class; $(MAKE))
mcs-tree-safe-build: remove-binaries
cd $(mcs_topdir)/jay && $(MAKE)
cd $(mcs_topdir)/mcs && $(MAKE) MCS=mcs BOOTSTRAP_MCS=mcs PROFILE=default
cd $(mcs_topdir)/class/corlib && $(MAKE) MCS=mcs BOOTSTRAP_MCS=mcs PROFILE=default
cp $(mcs_topdir)/class/lib/default/mscorlib.dll $(top_srcdir)/runtime/net_1_1
cp $(mcs_topdir)/mcs/mcs.exe $(top_srcdir)/runtime
xinstall-runtime: mcs-tree-safe-build $(CONFIG_HEADER)
if test -z "$(libgc_dir)"; then :; else cd libgc && $(MAKE) && $(MAKE) install ; fi
cd mono && $(MAKE) && $(MAKE) install
cd runtime && $(MAKE) dist_monobins_DATA=mcs.exe install-dist_monobinsDATA
cd runtime/net_1_1 && $(MAKE) install-dist_corlibDATA
mcs-rest: xinstall-runtime
cd $(mcs_topdir) && $(MAKE)
remove-binaries:
rm ../mcs/class/lib/mscorlib.dll ../mcs/mcs/mcs.exe runtime/*dll runtime/*.exe > /dev/null 2>&1; echo
rm -f $(mcs_topdir)/class/lib/default/mscorlib.dll $(mcs_topdir)/mcs/mcs.exe $(top_srcdir)/runtime/*/*.dll $(top_srcdir)/runtime/*.exe
win32getdeps:
+1
View File
@@ -35,4 +35,5 @@
#undef HAVE_SOCKLEN_T
#undef HAVE_TRUNCL
#undef HAVE_AINTL
#undef HAVE_SCANDIR
#undef HAVE_WORKING_SIGALTSTACK
+30
View File
@@ -56,6 +56,21 @@
/* Define to 1 if you have the <gc.h> header file. */
#undef HAVE_GC_H
/* Define to 1 if you have the `getgrgid_r' function. */
#undef HAVE_GETGRGID_R
/* Define to 1 if you have the `getgrnam_r' function. */
#undef HAVE_GETGRNAM_R
/* Define to 1 if you have the `getpwnam_r' function. */
#undef HAVE_GETPWNAM_R
/* Define to 1 if you have the `getpwuid_r' function. */
#undef HAVE_GETPWUID_R
/* Define to 1 if you have the `getresuid' function. */
#undef HAVE_GETRESUID
/* Define to 1 if you have the `inet_aton' function. */
#undef HAVE_INET_ATON
@@ -77,9 +92,15 @@
/* Define to 1 if you have the `poll' function. */
#undef HAVE_POLL
/* Define to 1 if you have the `pthread_attr_get_np' function. */
#undef HAVE_PTHREAD_ATTR_GET_NP
/* Define to 1 if you have the `pthread_attr_setstacksize' function. */
#undef HAVE_PTHREAD_ATTR_SETSTACKSIZE
/* Define to 1 if you have the `pthread_getattr_np' function. */
#undef HAVE_PTHREAD_GETATTR_NP
/* Define to 1 if you have the <pthread.h> header file. */
#undef HAVE_PTHREAD_H
@@ -89,6 +110,9 @@
/* Define to 1 if you have the <semaphore.h> header file. */
#undef HAVE_SEMAPHORE_H
/* Define to 1 if you have the `setresuid' function. */
#undef HAVE_SETRESUID
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
@@ -101,6 +125,9 @@
/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H
/* Define to 1 if you have the <sys/aio.h> header file. */
#undef HAVE_SYS_AIO_H
/* Define to 1 if you have the <sys/filio.h> header file. */
#undef HAVE_SYS_FILIO_H
@@ -149,6 +176,9 @@
/* Define to the version of this package. */
#undef PACKAGE_VERSION
/* Pointer field name in 'union sigval' */
#undef SIGVAL_PTR
/* The size of a `void *', as computed by sizeof. */
#undef SIZEOF_VOID_P
+236 -128
View File
@@ -1,7 +1,7 @@
AC_INIT(README)
AC_CANONICAL_SYSTEM
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE(mono,0.31.99)
AM_INIT_AUTOMAKE(mono,0.91)
AM_MAINTAINER_MODE
dnl
@@ -94,7 +94,7 @@ case "$host" in
;;
*-*-darwin*)
platform_win32=no
CPPFLAGS="$CPPFLAGS -no-cpp-precomp -D_THREAD_SAFE"
CPPFLAGS="$CPPFLAGS -no-cpp-precomp -D_THREAD_SAFE -DGC_MACOSX_THREADS"
libmono_cflags="-D_THREAD_SAFE"
LDFLAGS="$LDFLAGS -pthread"
libmono_ldflags="-pthread"
@@ -115,8 +115,6 @@ esac
AC_MSG_RESULT(ok)
AM_CONDITIONAL(PLATFORM_WIN32, test x$platform_win32 = xyes)
AM_CONDITIONAL(NO_VERSION_SCRIPT, test x$no_version_script = xyes)
AC_CHECK_TOOL(CC, gcc, gcc)
AC_PROG_CC
AM_PROG_CC_STDC
@@ -159,6 +157,8 @@ if test "x$lt_cv_prog_gnu_ld" = "xno"; then
no_version_script=yes
fi
AM_CONDITIONAL(NO_VERSION_SCRIPT, test x$no_version_script = xyes)
AC_CHECK_HEADERS(sys/filio.h sys/sockio.h netdb.h utime.h semaphore.h sys/un.h)
# for mono/mini/tramp-x86.c
@@ -322,6 +322,63 @@ dnl End of libgc checks
dnl
if test x$platform_win32 = xno; then
dnl ******************************************************************
dnl *** Checks for the IKVM JNI interface library ***
dnl ******************************************************************
AC_ARG_WITH(ikvm-jni, [ --with-ikvm-jni=yes,no build the IKVM JNI interface library],[with_ikvm_jni=$withval],[with_ikvm_jni=yes])
AC_ARG_WITH(jdk, [ --with-jdk=DIRECTORY Use JDK from DIRECTORY],[with_jdk_dir=$withval],[with_jdk_dir=])
ikvm_jni_dir=
if test x$with_ikvm_jni = xyes; then
AC_MSG_CHECKING([JDK headers])
if test x$with_jdk_dir = x; then
# Try JAVA_HOME variable
if test x$JAVA_HOME != x; then
with_jdk_dir=$JAVA_HOME
fi
fi
jdk_platform=
if test -d $with_jdk_dir/include; then
jdk_headers_found=yes
if test -d $with_jdk_dir/include/linux; then
jdk_platform=linux
else
if test -d $with_jdk_dir/include/solaris; then
jdk_platform=solaris
else
jdk_headers_found=no
fi
fi
else
jdk_headers_found=no
fi
if test x$jdk_headers_found = xyes; then
AC_MSG_RESULT($with_jdk_dir/include $with_jdk_dir/include/$jdk_platform)
else
AC_MSG_RESULT(not found)
fi
if test x$jdk_headers_found = xyes; then
ikvm_jni_dir=ikvm-jni
IKVM_JNI_CFLAGS="-I$with_jdk_dir/include -I$with_jdk_dir/include/$jdk_platform"
fi
fi
AC_SUBST(ikvm_jni_dir)
AC_SUBST(IKVM_JNI_CFLAGS)
AC_CHECK_FUNCS(getgrgid_r)
AC_CHECK_FUNCS(getgrnam_r)
AC_CHECK_FUNCS(getpwnam_r)
AC_CHECK_FUNCS(getpwuid_r)
AC_CHECK_FUNCS(getresuid)
AC_CHECK_FUNCS(setresuid)
dnl ******************************************************************
dnl *** Check for large file support ***
dnl *** (If we were using autoconf 2.50 we'd use AC_SYS_LARGEFILE) ***
@@ -566,6 +623,7 @@ if test x$platform_win32 = xno; then
AC_CHECK_LIB(pthread, main, LIBS="$LIBS -lpthread")
AC_CHECK_HEADERS(pthread.h)
AC_CHECK_FUNCS(pthread_mutex_timedlock)
AC_CHECK_FUNCS(pthread_getattr_np pthread_attr_get_np)
AC_MSG_CHECKING(for PTHREAD_MUTEX_RECURSIVE)
AC_TRY_COMPILE([ #include <pthread.h>], [
pthread_mutexattr_t attr;
@@ -583,145 +641,145 @@ if test x$platform_win32 = xno; then
dnl *** Checks for working __thread ***
dnl ***********************************
AC_MSG_CHECKING(for working __thread)
AC_TRY_RUN([
#include <pthread.h>
if test "x$with_nptl" != "xyes"; then
AC_MSG_RESULT(disabled)
else
AC_TRY_RUN([
#include <pthread.h>
__thread int i;
static int res1, res2;
__thread int i;
static int res1, res2;
void thread_main (void *arg)
{
i = arg;
sleep (1);
if (arg == 1)
res1 = (i == arg);
else
res2 = (i == arg);
}
void thread_main (void *arg)
{
i = arg;
sleep (1);
if (arg == 1)
res1 = (i == arg);
else
res2 = (i == arg);
}
int main () {
pthread_t t1, t2;
int main () {
pthread_t t1, t2;
i = 5;
i = 5;
pthread_create (&t1, NULL, thread_main, 1);
pthread_create (&t2, NULL, thread_main, 2);
pthread_create (&t1, NULL, thread_main, 1);
pthread_create (&t2, NULL, thread_main, 2);
pthread_join (t1, NULL);
pthread_join (t2, NULL);
pthread_join (t1, NULL);
pthread_join (t2, NULL);
return !(res1 + res2 == 2);
}
], [
if test "x$with_nptl" != "xyes"; then
AC_MSG_RESULT(disabled)
else
return !(res1 + res2 == 2);
}
], [
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_KW_THREAD)
fi
], [
AC_MSG_RESULT(no)
])
], [
AC_MSG_RESULT(no)
])
fi
dnl **************************************
dnl *** Checks for working sigaltstack ***
dnl **************************************
AC_MSG_CHECKING(for working sigaltstack)
AC_TRY_RUN([
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <signal.h>
#include <pthread.h>
#include <sys/wait.h>
if test "x$with_sigaltstack" != "xyes"; then
AC_MSG_RESULT(disabled)
else
AC_TRY_RUN([
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <signal.h>
#include <pthread.h>
#include <sys/wait.h>
static void
sigsegv_signal_handler (int _dummy, siginfo_t *info, void *context)
{
exit (0);
}
static void *
loop (void *ignored)
{
char *ptr = NULL;
*ptr = 0;
return NULL;
}
static void
child ()
{
struct sigaction sa;
struct sigaltstack sas;
pthread_t id;
pthread_attr_t attr;
sa.sa_sigaction = sigsegv_signal_handler;
sigemptyset (&sa.sa_mask);
sa.sa_flags = SA_SIGINFO | SA_STACK;
if (sigaction (SIGSEGV, &sa, NULL) == -1) {
perror ("lala");
return;
static void
sigsegv_signal_handler (int _dummy, siginfo_t *info, void *context)
{
exit (0);
}
sas.ss_sp = malloc (SIGSTKSZ);
sas.ss_size = SIGSTKSZ;
sas.ss_flags = SS_ONSTACK;
if (sigaltstack (&sas, NULL) == -1) {
perror ("lala");
return;
static void *
loop (void *ignored)
{
char *ptr = NULL;
*ptr = 0;
return NULL;
}
pthread_attr_init (&attr);
if (pthread_create(&id, &attr, loop, &attr) != 0) {
printf ("failed\n");
return;
static void
child ()
{
struct sigaction sa;
struct sigaltstack sas;
pthread_t id;
pthread_attr_t attr;
sa.sa_sigaction = sigsegv_signal_handler;
sigemptyset (&sa.sa_mask);
sa.sa_flags = SA_SIGINFO | SA_STACK;
if (sigaction (SIGSEGV, &sa, NULL) == -1) {
perror ("lala");
return;
}
sas.ss_sp = malloc (SIGSTKSZ);
sas.ss_size = SIGSTKSZ;
sas.ss_flags = SS_ONSTACK;
if (sigaltstack (&sas, NULL) == -1) {
perror ("lala");
return;
}
pthread_attr_init (&attr);
if (pthread_create(&id, &attr, loop, &attr) != 0) {
printf ("failed\n");
return;
}
sleep (100);
}
sleep (100);
}
int
main ()
{
pid_t son;
int status;
int i;
int
main ()
{
pid_t son;
int status;
int i;
son = fork ();
if (son == -1) {
return 1;
}
son = fork ();
if (son == -1) {
if (son == 0) {
child ();
return 0;
}
for (i = 0; i < 3; ++i) {
sleep (1);
waitpid (son, &status, WNOHANG);
if (WIFEXITED (status) && WEXITSTATUS (status) == 0)
return 0;
}
kill (son, SIGKILL);
return 1;
}
if (son == 0) {
child ();
return 0;
}
for (i = 0; i < 3; ++i) {
sleep (1);
waitpid (son, &status, WNOHANG);
if (WIFEXITED (status) && WEXITSTATUS (status) == 0)
return 0;
}
kill (son, SIGKILL);
return 1;
}
], [
if test "x$with_sigaltstack" != "xyes"; then
AC_MSG_RESULT(disabled)
else
], [
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_WORKING_SIGALTSTACK)
fi
], [
with_sigaltstack=no
AC_MSG_RESULT(no)
])
], [
with_sigaltstack=no
AC_MSG_RESULT(no)
])
fi
dnl ********************************
dnl *** Checks for semaphore lib ***
@@ -791,11 +849,29 @@ if test x$platform_win32 = xno; then
AC_MSG_RESULT(no)
])
dnl *********************
dnl * Check for scandir *
dnl *********************
AC_CHECK_FUNCS(scandir)
dnl *********************
dnl *** Check for AIO ***
dnl *********************
AC_CHECK_HEADERS(aio.h)
AC_CHECK_HEADERS(aio.h sys/aio.h)
AC_CHECK_LIB(rt, aio_read, [ LIBS="$LIBS -lrt" ],)
SIGVAL_PTR="undefined"
if test "$ac_cv_header_aio_h" = "yes" -o "$ac_cv_header_sys_aio_h" = "yes" ; then
AC_CHECK_MEMBER(union sigval.sigval_ptr,SIGVAL_PTR="sigval_ptr",, [
#include <sys/signal.h>
])
AC_CHECK_MEMBER(union sigval.sival_ptr,SIGVAL_PTR="sival_ptr",, [
#include <sys/signal.h>
])
if test "$SIGVAL_PTR" = "undefined" ; then
AC_MSG_ERROR([Unable to detect field name in 'union sigval'])
fi
fi
AC_DEFINE_UNQUOTED(SIGVAL_PTR,$SIGVAL_PTR,[Pointer field name in 'union sigval'])
else
AC_CHECK_LIB(ws2_32, main, LIBS="$LIBS -lws2_32", AC_ERROR(bad mingw install?))
AC_CHECK_LIB(psapi, main, LIBS="$LIBS -lpsapi", AC_ERROR(bad mingw install?))
@@ -891,7 +967,8 @@ if test "x$ac_cv_have_dev_random" = "xno" \
*** entropy collection in place, please contact <[email protected]> and
*** provide information about the system and how to access the random device.
***
*** For those systems who lack a random device, EGD support is forthcoming.
*** Otherwise you can install either egd or prngd and set the environment
*** variable MONO_EGD_SOCKET to point to the daemon's socket to use that.
***]])
fi
@@ -903,18 +980,32 @@ if test "x$try_shared_handles" != "xyes"; then
AC_SUBST(DISABLE_SHARED_HANDLES)
fi
#
# ICU
#
ICU_CFLAGS=""
ICU_LIBS=""
enable_icu=no
AC_PATH_PROG(ICU_CONFIG, icu-config, no)
if test "x$ICU_CONFIG" = "xno" -o ! -x "$ICU_CONFIG"; then
AC_MSG_WARN([Only invariant locale available; install ICU for I18N support])
enable_icu="no, if you want full i18n support download it from: http://oss.software.ibm.com/icu/index.html"
else
enable_icu="yes. Version: `$ICU_CONFIG --version`"
AC_DEFINE(HAVE_ICU)
ICU_CFLAGS=`$ICU_CONFIG --cppflags`
ICU_LIBS=`$ICU_CONFIG --ldflags`
probe_icu=true
AC_ARG_WITH(icu, [ --with-icu=yes/no],
if test x$with_icu = xno; then
probe_icu=false;
AC_MSG_RESULT(Will not probe for ICU)
fi
)
if $probe_icu; then
AC_PATH_PROG(ICU_CONFIG, icu-config, no)
if test "x$ICU_CONFIG" = "xno" -o ! -x "$ICU_CONFIG"; then
AC_MSG_WARN([Only invariant locale available; install ICU for I18N support])
enable_icu="no, if you want full i18n support download it from: http://oss.software.ibm.com/icu/index.html"
else
enable_icu="yes. Version: `$ICU_CONFIG --version`"
AC_DEFINE(HAVE_ICU)
ICU_CFLAGS=`$ICU_CONFIG --cppflags`
ICU_LIBS=`$ICU_CONFIG --ldflags`
fi
fi
AC_SUBST(ICU_CFLAGS)
AC_SUBST(ICU_LIBS)
@@ -976,6 +1067,8 @@ case "$host" in
TARGET=POWERPC;
arch_target=ppc;
JIT_SUPPORTED=yes
jit_wanted=true
LIBC="libc.dylib"
;;
arm-*-linux-* | armv4l-*-linux-*)
TARGET=ARM;
@@ -986,10 +1079,11 @@ case "$host" in
TARGET=S390;
arch_target=s390;
ACCESS_UNALIGNED="no"
JIT_SUPPORTED=yes
;;
esac
AC_ARG_WITH(jit, [ --with-jit=yes,no If you want to build scripts that default to the JIT],[
AC_ARG_WITH(jit, [ --with-jit=yes,no If you want to build scripts that default to the JIT],[
jit_wanted=true
])
@@ -1044,6 +1138,15 @@ if test ${ACCESS_UNALIGNED} = no; then
CPPFLAGS="$CPPFLAGS -DNO_UNALIGNED_ACCESS"
fi
PREVIEW=no
AC_ARG_WITH(preview, [ --with-preview=yes,no If you want to install the 2.0 FX preview],[
if test x$with_preview = xyes; then
PREVIEW=yes
fi
])
AM_CONDITIONAL(INSTALL_2_0, test x$PREVIEW = xyes)
AM_CONDITIONAL(MIPS_GCC, test ${TARGET}${ac_cv_prog_gcc} = MIPSyes)
AM_CONDITIONAL(MIPS_SGI, test ${TARGET}${ac_cv_prog_gcc} = MIPSno)
AM_CONDITIONAL(SPARC, test x$TARGET = xSPARC)
@@ -1097,7 +1200,10 @@ mono/io-layer/Makefile
mono/handles/Makefile
mono/mini/Makefile
mono/profiler/Makefile
ikvm-jni/Makefile
runtime/Makefile
runtime/net_1_1/Makefile
runtime/net_2_0/Makefile
scripts/Makefile
man/Makefile
web/Makefile
@@ -1116,5 +1222,7 @@ echo "
NPTL: $with_nptl
SIGALTSTACK: $with_sigaltstack
Engine: $jit_status
2.0 Alpha: $PREVIEW
JNI support: $jdk_headers_found
"
+8 -7
View File
@@ -61,6 +61,9 @@ void Page_Load(object sender, EventArgs e)
Service service = desc.Services[0];
WebServiceName = service.Name;
if (desc.Bindings.Count == 0)
return;
DefaultBinding = desc.Bindings[0].Name;
WebServiceDescription = service.Documentation;
ServiceProtocols = FindServiceProtocols (null);
@@ -1582,7 +1585,9 @@ function clearForm ()
<p class="label">Web Service Overview</p>
<%#WebServiceDescription%>
<%} if (CurrentPage == "op") {%>
<%} if (DefaultBinding == null) {%>
This service does not contain any public web method.
<%} else if (CurrentPage == "op") {%>
<!--
**********************************************************
@@ -1710,9 +1715,7 @@ function clearForm ()
<% } %>
<% } %>
<%}%>
<% if (CurrentPage == "proxy") {%>
<%} else if (CurrentPage == "proxy") {%>
<!--
**********************************************************
Client Proxy
@@ -1733,9 +1736,7 @@ function clearForm ()
<div class="codePanel">
<div class="code-<%#CurrentLanguage%>"><%#GetProxyCode ()%></div>
</div>
<%}%>
<% if (CurrentPage == "wsdl") {%>
<%} else if (CurrentPage == "wsdl") {%>
<!--
**********************************************************
Service description
+2
View File
@@ -10,6 +10,8 @@ mono_DATA = config \
DefaultWsdlHelpGenerator.aspx \
browscap.ini
CLEANFILES = browscap.ini
browscap.ini: browscap.ini.gz
gunzip -c $^ > $@
+58 -58
View File
@@ -3,61 +3,61 @@
<configuration>
<configSections>
<section name="appSettings" type="System.Configuration.NameValueFileSectionHandler, System" />
<section name="system.diagnostics" type="System.Diagnostics.DiagnosticsConfigurationHandler, System" />
<section name="system.runtime.remoting" type="System.Configuration.IgnoreSectionHandler, System" allowLocation="false"/>
<section name="appSettings" type="System.Configuration.NameValueFileSectionHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="system.diagnostics" type="System.Diagnostics.DiagnosticsConfigurationHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="system.runtime.remoting" type="System.Configuration.IgnoreSectionHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowLocation="false"/>
<sectionGroup name="system.web">
<section name="httpHandlers"
type="System.Web.Configuration.HttpHandlersSectionHandler, System.Web" />
type="System.Web.Configuration.HttpHandlersSectionHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="httpModules"
type="System.Web.Configuration.HttpModulesConfigurationHandler, System.Web" />
type="System.Web.Configuration.HttpModulesConfigurationHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="machineKey"
type="System.Web.Configuration.MachineKeyConfigHandler, System.Web" />
type="System.Web.Configuration.MachineKeyConfigHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="authentication"
type="System.Web.Configuration.AuthenticationConfigHandler, System.Web" />
type="System.Web.Configuration.AuthenticationConfigHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="authorization"
type="System.Web.Configuration.AuthorizationConfigHandler, System.Web" />
type="System.Web.Configuration.AuthorizationConfigHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="globalization"
type="System.Web.Configuration.GlobalizationConfigurationHandler, System.Web" />
type="System.Web.Configuration.GlobalizationConfigurationHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="sessionState"
type="System.Web.SessionState.SessionStateSectionHandler, System.Web" />
type="System.Web.SessionState.SessionStateSectionHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="trace"
type="System.Web.Configuration.TraceConfigurationHandler, System.Web" />
type="System.Web.Configuration.TraceConfigurationHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="webServices"
type="System.Web.Services.Configuration.WebServicesConfigurationSectionHandler, System.Web.Services" />
type="System.Web.Services.Configuration.WebServicesConfigurationSectionHandler, System.Web.Services, Version=1.0.5000.0 Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="webControls"
type="System.Web.Configuration.WebControlsSectionHandler, System.Web" />
type="System.Web.Configuration.WebControlsSectionHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="compilation"
type="System.Web.Configuration.CompilationConfigurationHandler, System.Web" />
type="System.Web.Configuration.CompilationConfigurationHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="httpRuntime"
type="System.Web.Configuration.HttpRuntimeConfigurationHandler, System.Web" />
type="System.Web.Configuration.HttpRuntimeConfigurationHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="customErrors"
type="System.Web.Configuration.CustomErrorsConfigHandler, System.Web" />
type="System.Web.Configuration.CustomErrorsConfigHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="pages"
type="System.Web.Configuration.PagesConfigurationHandler, System.Web" />
type="System.Web.Configuration.PagesConfigurationHandler, System.Web, Version=1.0.5000.0, Culture=neutral" />
</sectionGroup>
<sectionGroup name="system.net">
<section name="settings"
type="System.Net.Configuration.NetConfigurationHandler, System" />
type="System.Net.Configuration.NetConfigurationHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="connectionManagement"
type="System.Net.Configuration.ConnectionManagementHandler, System" />
type="System.Net.Configuration.ConnectionManagementHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="authenticationModules"
type="System.Net.Configuration.NetAuthenticationModuleHandler, System" />
type="System.Net.Configuration.NetAuthenticationModuleHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="defaultProxy"
type="System.Net.Configuration.DefaultProxyHandler, System" />
type="System.Net.Configuration.DefaultProxyHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="webRequestModules"
type="System.Net.Configuration.WebRequestModuleHandler, System" />
type="System.Net.Configuration.WebRequestModuleHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</sectionGroup>
<section name="system.drawing" type="System.Configuration.NameValueSectionHandler" />
<section name="system.drawing" type="System.Configuration.NameValueSectionHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</configSections>
<system.net>
<connectionManagement>
<add address="*" maxconnection="2" />
</connectionManagement>
<authenticationModules>
<add type="System.Net.BasicClient" />
<add type="System.Net.DigestClient" />
<add type="System.Net.NtlmClient" />
<add type="System.Net.BasicClient, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add type="System.Net.DigestClient, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add type="System.Net.NtlmClient, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</authenticationModules>
<defaultProxy>
<proxy />
@@ -65,9 +65,9 @@
<!-- usessystemdefault is not supported -->
</defaultProxy>
<webRequestModules>
<add prefix="http" type="System.Net.HttpRequestCreator, System" />
<add prefix="https" type="System.Net.HttpRequestCreator, System" />
<add prefix="file" type="System.Net.FileWebRequestCreator, System" />
<add prefix="http" type="System.Net.HttpRequestCreator, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add prefix="https" type="System.Net.HttpRequestCreator, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add prefix="file" type="System.Net.FileWebRequestCreator, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</webRequestModules>
<settings>
<ipv6 enabled="false"/>
@@ -75,26 +75,26 @@
</system.net>
<system.web>
<httpHandlers>
<add verb="*" path="Trace.axd" type="System.Web.Handlers.TraceHandler, System.Web" />
<add verb="*" path="*.aspx" type="System.Web.UI.PageHandlerFactory, System.Web" />
<add verb="*" path="Trace.axd" type="System.Web.Handlers.TraceHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.aspx" type="System.Web.UI.PageHandlerFactory, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.asmx" validate="false"
type="System.Web.Services.Protocols.WebServiceHandlerFactory, System.Web.Services" />
<add verb="*" path="*.ashx" type="System.Web.UI.SimpleHandlerFactory, System.Web" />
<add verb="GET" path="WebResource.axd" type="System.Web.Handlers.AssemblyResourceLoader, System.Web" />
<add verb="*" path="*.asax" type="System.Web.HttpForbiddenHandler, System.Web" />
<add verb="*" path="*.ascx" type="System.Web.HttpForbiddenHandler, System.Web" />
<add verb="*" path="*.config" type="System.Web.HttpForbiddenHandler, System.Web" />
<add verb="*" path="*.cs" type="System.Web.HttpForbiddenHandler, System.Web" />
<add verb="*" path="*.rem" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting" validate="false" />
<add verb="*" path="*.soap" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting" validate="false" />
<add verb="GET,HEAD" path="*" type="System.Web.StaticFileHandler, System.Web" />
<add verb="*" path="*" type="System.Web.HttpMethodNotAllowedHandler, System.Web" />
<add verb="*" path="*.ashx" type="System.Web.UI.SimpleHandlerFactory, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="GET" path="WebResource.axd" type="System.Web.Handlers.AssemblyResourceLoader, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.asax" type="System.Web.HttpForbiddenHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.ascx" type="System.Web.HttpForbiddenHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.config" type="System.Web.HttpForbiddenHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.cs" type="System.Web.HttpForbiddenHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.rem" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Culture=neutral, PublicKeyToken=b77a5c561934e089" validate="false" />
<add verb="*" path="*.soap" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Culture=neutral, PublicKeyToken=b77a5c561934e089" validate="false" />
<add verb="GET,HEAD" path="*" type="System.Web.StaticFileHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*" type="System.Web.HttpMethodNotAllowedHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</httpHandlers>
<httpModules>
<add name="FormsAuthentication" type="System.Web.Security.FormsAuthenticationModule, System.Web" />
<add name="UrlAuthorization" type="System.Web.Security.UrlAuthorizationModule, System.Web" />
<add name="Session" type="System.Web.SessionState.SessionStateModule, System.Web" />
<add name="OutputCache" type="System.Web.Caching.OutputCacheModule, System.Web" />
<add name="FormsAuthentication" type="System.Web.Security.FormsAuthenticationModule, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add name="UrlAuthorization" type="System.Web.Security.UrlAuthorizationModule, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add name="Session" type="System.Web.SessionState.SessionStateModule, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add name="OutputCache" type="System.Web.Caching.OutputCacheModule, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</httpModules>
<authentication mode="Forms">
<forms name=".MONOAUTH" loginUrl="login.aspx" protection="All" timeout="30" path="/">
@@ -125,10 +125,10 @@
<compilation debug="false" defaultLanguage="c#">
<compilers>
<compiler language="cs;c#;csharp" extension=".cs" warningLevel="1" compilerOptions=""
type="Microsoft.CSharp.CSharpCodeProvider, System" />
type="Microsoft.CSharp.CSharpCodeProvider, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb"
warningLevel="1" compilerOptions=""
type="Microsoft.VisualBasic.VBCodeProvider, System" />
type="Microsoft.VisualBasic.VBCodeProvider, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</compilers>
<assemblies>
<!--<add assembly="mscorlib" /> -->
@@ -161,22 +161,22 @@
</channels>
</application>
<channels>
<channel id="http" type="System.Runtime.Remoting.Channels.Http.HttpChannel, System.Runtime.Remoting" />
<channel id="http client" type="System.Runtime.Remoting.Channels.Http.HttpClientChannel, System.Runtime.Remoting" />
<channel id="http server" type="System.Runtime.Remoting.Channels.Http.HttpServerChannel, System.Runtime.Remoting" />
<channel id="tcp" type="System.Runtime.Remoting.Channels.Tcp.TcpChannel, System.Runtime.Remoting" />
<channel id="tcp client" type="System.Runtime.Remoting.Channels.Tcp.TcpClientChannel, System.Runtime.Remoting" />
<channel id="tcp server" type="System.Runtime.Remoting.Channels.Tcp.TcpServerChannel, System.Runtime.Remoting" />
<channel id="http" type="System.Runtime.Remoting.Channels.Http.HttpChannel, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<channel id="http client" type="System.Runtime.Remoting.Channels.Http.HttpClientChannel, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<channel id="http server" type="System.Runtime.Remoting.Channels.Http.HttpServerChannel, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<channel id="tcp" type="System.Runtime.Remoting.Channels.Tcp.TcpChannel, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<channel id="tcp client" type="System.Runtime.Remoting.Channels.Tcp.TcpClientChannel, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<channel id="tcp server" type="System.Runtime.Remoting.Channels.Tcp.TcpServerChannel, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</channels>
<channelSinkProviders>
<clientProviders>
<formatter id="soap" type="System.Runtime.Remoting.Channels.SoapClientFormatterSinkProvider, System.Runtime.Remoting" />
<formatter id="binary" type="System.Runtime.Remoting.Channels.BinaryClientFormatterSinkProvider, System.Runtime.Remoting" />
<formatter id="soap" type="System.Runtime.Remoting.Channels.SoapClientFormatterSinkProvider, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<formatter id="binary" type="System.Runtime.Remoting.Channels.BinaryClientFormatterSinkProvider, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</clientProviders>
<serverProviders>
<formatter id="soap" type="System.Runtime.Remoting.Channels.SoapServerFormatterSinkProvider, System.Runtime.Remoting" />
<formatter id="binary" type="System.Runtime.Remoting.Channels.BinaryServerFormatterSinkProvider, System.Runtime.Remoting" />
<provider id="wsdl" type="System.Runtime.Remoting.MetadataServices.SdlChannelSinkProvider, System.Runtime.Remoting" />
<formatter id="soap" type="System.Runtime.Remoting.Channels.SoapServerFormatterSinkProvider, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<formatter id="binary" type="System.Runtime.Remoting.Channels.BinaryServerFormatterSinkProvider, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<provider id="wsdl" type="System.Runtime.Remoting.MetadataServices.SdlChannelSinkProvider, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</serverProviders>
</channelSinkProviders>
</system.runtime.remoting>
+5 -2
View File
@@ -375,7 +375,8 @@
variables to registers. The linear scan pass uses the
information that was previously gathered by the loop nesting
and loop structure computation to favor variables in inner
loops.
loops. This process updates the basic block `nesting' field
which is later used during liveness analysis.
Stack space is then reserved for the local variables and any
temporary variables generated during the various
@@ -489,7 +490,9 @@
operations if possible.
The rest of the code generation is fairly simple: a switch
statement is used to generate code for each of the MonoInsts
statement is used to generate code for each of the MonoInsts,
in the mono/mini/mini-ARCH.c files, the method is called
"mono_arch_output_basic_block".
We always try to allocate code in sequence, instead of just using
malloc. This way we increase spatial locality which gives a massive
+3
View File
@@ -0,0 +1,3 @@
Makefile.in
Makefile
.deps
+12
View File
@@ -0,0 +1,12 @@
2004-04-13 Zoltan Varga <[email protected]>
* mono-jni.c: Use <stdarg.h> instead of <varargs.h>.
2004-04-12 Zoltan Varga <[email protected]>
* mono-jni.c: Fix compilation under gcc 2.95 + fix warnings.
2004-04-07 Zoltan Varga <[email protected]>
* mono-jni.c Makefile.am: New files.
+15
View File
@@ -0,0 +1,15 @@
INCLUDES = \
-I$(top_srcdir) \
$(IKVM_JNI_CFLAGS) \
$(GMODULE_CFLAGS) \
$(GLIB_CFLAGS)
if JIT_SUPPORTED
lib_LTLIBRARIES = libmono-ikvm-jni.la
endif
libmono_ikvm_jni_la_SOURCES = mono-jni.c
libmono_ikvm_jni_la_LIBADD = $(top_builddir)/mono/mini/libmono.la
+1244
View File
File diff suppressed because it is too large. Load diff
+1 -1
View File
@@ -1,5 +1,5 @@
man_MANS = mcs.1 mono.1 monostyle.1 mono-config.5 sqlsharp.1 oldmono.1 ilasm.1 \
cert2spc.1 cilc.1 genxs.1 wsdl.1 disco.1 soapsuds.1 makecert.1 \
chktrust.1 setreg.1 sn.1 secutil.1 signcode.1 certmgr.1 monop.1
chktrust.1 setreg.1 sn.1 secutil.1 signcode.1 certmgr.1 monop.1 xsd.1 gacutil.1
EXTRA_DIST = $(man_MANS)
+19
View File
@@ -44,6 +44,25 @@ More details displayed on the console.
.TP
.I "-help", "-h", "-?", "/?"
Display help about this tool.
.SH FILES
.B WARNING: This details the current behavior of Mono and could change between releases.
The only safe way to interact with certificate stores is to use the certmgr
tool. The current releases of Mono keeps all the user certificate stores in
separates directories under
.I ~/.mono/certs/
.TP
For example the trusted root certificates for a user would be kept under
.I ~/.mono/certs/Trust/
.TP
Certificates files are kept in DER (binary) format (extension .cer).
.TP
The filenames either starts with
.I tbp
(thumbprint) or
.I ski
(subject key identifier).
.TP
The rest of the filename is the base64-encoded value (tbp or ski).
.SH AUTHOR
Written by Sebastien Pouliot
.SH COPYRIGHT
+14 -5
View File
@@ -1,8 +1,9 @@
.\"
.\" chktrust manual page.
.\" Copyright 2003 Motus Technologies
.\" Copyright 2004 Novell
.\" Author:
.\" Sebastien Pouliot (spouliot@motus.com)
.\" Sebastien Pouliot (sebastien@ximian.com)
.\"
.TH Mono "chktrust"
.SH NAME
@@ -13,25 +14,33 @@ chktrust \- Check the trust of a PE executable.
.SH DESCRIPTION
Verify if an PE executable (CLR assembly, Win32 EXE or DLL) has a valid
Authenticode(r) signature that can be traced back to a trusted certificate
authority (CA).
authority (CA). This means that
.TP
(a) the signature is valid (i.e. file integrity) and,
.TP
(b) the code-signing certificate can be chained back to one of the
certificates in the Trust store.
.SH OPTIONS
.TP
.I "-q", "-quiet"
Limited display on console.
Quiet mode. Limited display on console.
.TP
.I "-v", "-verbose"
More details displayed on the console.
Verbose mode. More details displayed on the console.
.TP
.I "-help", "-h", "-?", "/?"
Display help about this tool.
.SH KNOWN RESTRICTIONS
chktrust cannot validate Authenticode signatures on CAB files.
.SH AUTHOR
Written by Sebastien Pouliot
.SH COPYRIGHT
Copyright (C) 2003 Motus Technologies.
Copyright (C) 2004 Novell.
Released under BSD license.
.SH MAILING LISTS
Visit http://mail.ximian.com/mailman/mono-list for details.
.SH WEB SITE
Visit: http://www.go-mono.com for details
.SH SEE ALSO
.BR signcode(1), makecert(1)
.BR signcode(1), makecert(1), certmgr(1), setreg(1)
+87
View File
@@ -0,0 +1,87 @@
..\"
.\" gacutil manual page.
.\" (C) 2004 Novell, Inc.
.\" Author:
.\" Miguel de Icaza ([email protected])
.\"
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
..
.TH gacutil "Mono 1.0"
.SH NAME
gacutil \- Global Asssembly Cache management utility.
.SH SYNOPSIS
.PP
.B gacutil [-user] [command] [options]
.SH DESCRIPTION
\fIgacutil\fP is a tool used by developers to install assemblies into
the system Global Assembly Cache (GAC) to become part of the
assemblies that are available for all applications at runtime.
.PP
Notice that they are not directly available to the compiler, the
convention is that assemblies must also be placed in a separate
directory for being accessed to the compiler. This is done with the
-package directive to gacutil.
.PP
The tool allows for installationl, removal, and listing of the
contents of the assembly cache.
.PP
The GAC is relative to the Mono installation prefix:
mono_prefix/lib/mono.
.SH FLAGS
The "-user" flag enables you to install/remove the assembly into the
user's assembly cache, as opposed to the global one.
.PP
.SH COMMANDS
.I "-i path_to_assembly" [-f] [-root ROOTDIR] [-package NAME]
.Sp
The above installs the assembly into the GAC, use the -f flag to force
an installation an overwrite anything in there.
.Sp
The -package option can be used to also create a directory in in
prefix/lib/mono with the name NAME, and a symlink is created from
NAME/assembly_name to the assembly on the GAC. This is used so
developers can reference a set of libraries at once.
.Sp
The -root option is used by developers integrating this with automake
tools or packaging tools that require a prefix directory to be
specified. The root represents the "libdir" component of a prefix
(typically prefix/lib).
.fi
.PP
.I "-l"
.Sp
Lists the contents of the Global Assembly Cache
.PP
.I "-u assembly_name [-root]"
.Sp
The above removes the given assembly name from the Global Assembly
Cache. As opposed to the install option that takes a filename, this
takes as an argument the assembly name, which looks like this:
.nf
MyLibrary.Something, version=1.0.0.0, publicKeyToken=xxxx,culture=neutral
.fi
.Sp
Notice that you can have spaces in the command line, there is no need
to quote them.
.Sp
The removal performs a greedy removal, if you only specifiy one
component like, "MyLibrary.Something", it will remove all versions of
the library.
.SH FILES
On Unix assemblies are loaded from the installation lib directory. If you set
`prefix' to /usr, the assemblies will be located in /usr/lib. On
Windows, the assemblies are loaded from the directory where mono and
mint live.
.PP
/etc/mono/config, ~/.mono/config
.PP
Mono runtime configuration file. See the mono-config(5) manual page
for more information.
.SH WEB SITE
Visit: http://www.go-mono.com for details
.SH SEE ALSO
.BR mcs(1), mono(1)
+1 -1
View File
@@ -16,7 +16,7 @@ CIL byte code that can be executed by any system that implemented a Common
Language Infrastructure virtual machine.
.SH OPTIONS
.TP
.B \//out:<file_name>
.B \//output:<file_name>
Specify the output file name.
.TP
.B \//exe
+85 -44
View File
@@ -1,15 +1,16 @@
.\"
.\" makecert manual page.
.\" Copyright 2003 Motus Technologies
.\" Copyright 2004 Novell
.\" Author:
.\" Sebastien Pouliot (spouliot@motus.com)
.\" Sebastien Pouliot (sebastien@ximian.com)
.\"
.TH Mono "MakeCert"
.SH NAME
MakeCert \- Create X.509 certificates for test purposes
.SH SYNOPSIS
.PP
.B MakeCert [options] certificate
.B makecert [options] certificate
.SH DESCRIPTION
Create an X.509 certificate using the provided informations. This
is useful for testing Authenticode signatures, SSL and S/MIME
@@ -17,68 +18,108 @@ technologies.
.SH PARAMETERS
.TP
.I "-# num"
Certificate serial number
Specify the certificate serial number.
.TP
.I "-n dn"
Subject Distinguished Name
Specify the subject Distinguished Name (DN).
.TP
.I "-in dn"
Issuert Distinguished Name
Specify the issuer Distinguished Name (DN).
.TP
.I "-r"
Create a self-signed (root) certificate
.TP
.I "-sv pkvfile"
Private key file (.PVK) for the subject (created if missing)
Create a self-signed, also called root, certificate.
.TP
.I "-iv pvkfile"
Private key file (.PVK) for the issuer
Specify the private key file (.PVK) for the issuer. The private key in the
specified file will be used to sign the new certificate.
.TP
.I "-ic certfile"
Extract the issuer's name from the specified certificate
Extract the issuer's name from the specified certificate file - i.e. the
subject name of the specified certificate becomes the issuer name of the
new certificate.
.TP
.I "-in name"
Use the issuer's name from the specified parameter.
.TP
.I "-ik container"
Specify the key container name to be used for the issuer.
.TP
.I "-iky [signature | exchange | #]"
Specify the key number to be used in the provider (when used with -ik).
.TP
.I "-ip provider"
Specify the cryptographic provider to be used for the issuer.
.TP
.I "-ir [localmachine | currentuser]"
Specify the provider will search the user or the machine keys containers for
the issuer.
.TP
.I "-iy number"
Specify the provider type to be used for the issuer.
.TP
.I "-sv pkvfile"
Specify the private key file (.PVK) for the subject. The public part of the
key will be inserted into the created certificate. If non-existant the
specified file will be created with a new key pair (default to 1024 bits RSA
key pair).
.TP
.I "-sk container"
Specify the key container name to be used for the subject.
.TP
.I "-sky [signature | exchange | #]"
Specify the key number to be used in the provider (when used with -sk).
.TP
.I "-sp provider"
Specify the cryptographic provider to be used for the subject.
.TP
.I "-sr [localmachine | currentuser]"
Specify the provider will search the user or the machine keys containers for
the subject.
.TP
.I "-sy number"
Specify the provider type to be used for the issuer.
.TP
.I "-a hash"
Select hash algorithm. Only MD5 and SHA1 algorithms are supported.
.TP
.I "-b date"
The date since when the certificate is valid (notBefore).
.TP
.I "-e date"
The date until when the certificate is valid (notAfter).
.TP
.I "-m number"
Specify the certificate validity period in months. This is added to the
notBefore validity date which can be set with -b or will default to the
current date/time.
.TP
.I "-cy [authority|end]"
Basic constraints. Select Authority or End-Entity certificate. Only Authority
certificates can be used to sign other certificates (-ic). End-Entity can
be used by clients (e.g. Authenticode, S/MIME) or servers (e.g. SSL).
.TP
.I "-h number"
Add a path length restriction to the certificate chain. This is only
applicable for certificates that have BasicConstraint set to Authority (-cy
authority). This is used to limit the chain of certificates than can be
issued under this authority.
.TP
.I "-eku oid[,oid]"
Add some extended key usage OID to the certificate.
.TP
.I "-?"
Help (display this help message)
.TP
.I "-!"
Extended help (for advanced options)
.TP
.I "-a hash"
Select hash algorithm. Only MD5 and SHA1 are supported.
.TP
.I "-b date"
The date since when the certificate is valid (notBefore).
.TP
.I "-cy [authority|end]"
Basic constraints. Select Authority or End-Entity certificate.
.TP
.I "-e date"
The date until when the certificate is valid (notAfter).
.TP
.I "-eku oid[,oid]"
Add some extended key usage OID to the certificate.
.TP
.I "-h number"
Add a path length restriction to the certificate chain.
.TP
.I "-ic cert"
Take the issuer's name from the specified certificate.
.TP
.I "-in name"
Take the issuer's name from the specified parameter.
.TP
.I "-iv pvkfile"
Sign the certificate using the private key inside the PVK file.
.TP
.I "-m number"
Certificate validity period (in months).
.TP
.I "-sv pvkfile"
Create a new PVK file if non-existant, otherwise use the PVK file as the subject public key.
.SH KNOWN RESTRICTIONS
Compared to the Windows version some options aren't supported (-$, -d, -l,
-nscp, -is, -sc, -ss). Also PVK files with passwords aren't supported.
.SH AUTHOR
Written by Sebastien Pouliot
.SH COPYRIGHT
Copyright (C) 2003 Motus Technologies.
Copyright (C) 2004 Novell.
Released under BSD license.
.SH MAILING LISTS
Visit http://mail.ximian.com/mailman/mono-list for details.
+1
View File
@@ -20,4 +20,5 @@
<manpage name="soapsuds" page="soapsuds.1" />
<manpage name="setreg" page="setreg.1" />
<manpage name="certmgr" page="certmgr.1" />
<manpage name="xsd" page="xsd.1" />
</manpages>
+35 -1
View File
@@ -70,6 +70,21 @@ resource.
.I \-debug-
Do not generate debugging information.
.TP
.I \-delaysign+
Only embed the strongname public key into the assembly. The actual
signing must be done in a later stage using the SN tool. This is useful
to protect the private key during development. Note that delay signing
can only be done using a strongname key file (not a key container). The
option is equivalent to including [assembly: AssemblyDelaySign (true)]
in your source code. Compiler option takes precedence over the
attributes.
.TP
.I \-delaysign-
Default. Strongname (sign) the assembly using the strong name key file
(or container). The option is equivalent to including [assembly:
AssemblyDelaySign (false)] in your source code. Compiler option takes
precedence over the attributes.
.TP
.I \-\-expect-error X L
The compiler will expect the code to generate an error
named `X' in line `L'. This is only used by the test suite.
@@ -78,6 +93,21 @@ named `X' in line `L'. This is only used by the test suite.
This is used for debugging the compiler. This makes the error emission
generate an exception that can be caught by a debugger.
.TP
.I \-keyfile:KEYFILE
Strongname (sign) the output assembly using the key pair present in
the specified strong name key file (snk). A full key pair is required
by default (or when using delaysign-). A file containing only the
public key can be used with delaysign+. The option is equivalent to
including [assembly: AssemblyKeyFile ("KEYFILE")] in your source code.
Compiler option takes precedence over the attributes.
.TP
.I \-keycontainer:CONTAINER
Strongname (sign) the output assembly using the key pair present in
the specified container. Note that delaysign+ is ignored when using
key containers. The option is equivalent to including [assembly:
AssemblyKeyName ("CONTAINER")] in your source code. Compiler option
takes precedence over the attributes.
.TP
.I \-\-stacktrace
Generates a stack trace at the time the error is reported, useful for
debugging the compiler.
@@ -90,6 +120,10 @@ compiler to look for libraries in that specified path.
Directs the compiler to look for libraries in the specified path.
Multiple paths can be provided by using the option multiple times.
.TP
.I \-main:CLASS
Tells the compiler which CLASS contains the entry point. Useful when
you are compiling several classes with a Main method.
.TP
.I \-nostdlib, -nostdlib+
Use this flag if you want to compile the core library. This makes the
compiler load its internal types from the assembly being compiled.
@@ -220,7 +254,7 @@ Please read the accompanying `COPYING' file for details. Alternative
licenses are available from Ximian.
.PP
.SH SEE ALSO
mono(1), mint(1)
mono(1), mint(1), sn(1)
.PP
.SH BUGS
To report bugs in the compiler, you can use `bug-buddy', or you can
+13
View File
@@ -46,6 +46,19 @@ This option is used to precompile the CIL code in the specified
assembly to native code. The generated code is stored in a file with
the extension .so. This file will be automatically picked up by the
runtime when the assembly is executed.
.Sp
Ahead-of-Time compilation is most useful if you use it in combination
with the -O=all,-shared flag which enables all of the optimizations in
the code generator to be performed. Some of those optimizations are
not practical for Just-in-Time compilation since they might be very
time consuming.
.Sp
Unlike the .NET Framework, Ahead-of-Time compilation will not generate
domain independent code: it generates the same code that the
Just-in-Time compiler would produce. Since most applications use a
single domain, this is fine. If you want to optimize the generated
code for use in multi-domain applications, consider using the
-O=shared flag.
.Sp
This pre-compiles the methods, but the original assembly is still
required to execute as this one contains the metadata and exception
+3 -3
View File
@@ -16,16 +16,16 @@ parameters used in Mono.
.SH OPTIONS
.TP
.I "-q"
Limited display on console.
Quiet mode. Limited display on console.
.TP
.I "-help", "-h", "-?", "/?"
Display help about this tool.
.SH FEATURES
.TP
.I "1"
Trust the test root certificates (both Micrsoft and Mono). Depending on the
Trust the test root certificates (both Microsoft and Mono). Depending on the
value this will add (TRUE) or remove (FALSE) the two self-signed certificates
from the current user Trust store (~/.mono/certs/Trust/).
from the current user Trust store.
.SH AUTHOR
Written by Sebastien Pouliot
.SH COPYRIGHT
+15 -3
View File
@@ -1,8 +1,9 @@
.\"
.\" signcode manual page.
.\" Copyright 2003 Motus Technologies
.\" Copyright 2004 Novell
.\" Author:
.\" Sebastien Pouliot (spouliot@motus.com)
.\" Sebastien Pouliot (sebastien@ximian.com)
.\"
.TH Mono "signcode"
.SH NAME
@@ -13,7 +14,8 @@ signcode \- Digitally sign an PE executable using an X.509 certificate.
.SH DESCRIPTION
Digitally sign an PE executable (CLR assembly, Win32 EXE or DLL) using an
X.509 certificate and it's associated private key. The signature is compatible
with Authenticode(r) and can be validated with chktrust.
with Authenticode(r) and can be validated with chktrust (either on Windows or
on any platform supported by Mono).
.SH OPTIONS
.TP
.I "-spc spcfile"
@@ -48,7 +50,7 @@ had a valid (non-expired) certificate when the PE executable was signed.
.I "-tr #"
Number of retries to get a timestamp for the countersignature.
.TP
.I "-td #"
.I "-tw #"
Delay (in seconds) between the retries to get a timestamp for the countersignature.
.TP
.I "-k name"
@@ -68,10 +70,20 @@ CryptoAPI key location (when not using -v).
.TP
.I "-help", "-h", "-?", "/?"
Display help about this tool.
.SH OTHER CODE SIGNING TECHNOLOGIES
Assemblies are PE files that can also be strongnamed using the sn.exe tool. The
order of code signature is important if a file requires both an Authenticode
and a strongname signature. Strongname must be applied before the Authenticode
signature. Applying a strongname after the Authenticode signature, like
re-signing an assembly (e.g. delay-sign), will invalidate the Authenticode
signature.
.SH KNOWN RESTRICTIONS
signcode cannot generate Authenticode signatures for CAB files.
.SH AUTHOR
Written by Sebastien Pouliot
.SH COPYRIGHT
Copyright (C) 2003 Motus Technologies.
Copyright (C) 2004 Novell.
Released under BSD license.
.SH MAILING LISTS
Visit http://mail.ximian.com/mailman/mono-list for details.
+70
View File
@@ -0,0 +1,70 @@
.\" xsd manual page.
.\" (C) 2004 Novell, Inc.
.\" Author:
.\" Lluis Sanchez Gual ([email protected])
.\"
.TH "xsd" "1" "" "" ""
.SH "NAME"
xsd \- Mono's utility for generating schema or class files
.SH "SYNOPSIS"
.PP
.B xsd
<schema.xsd> /classes [options]
.PP
.B xsd
<schema.xsd> /dataset [options]
.PP
.B xsd
<assembly>.dll|<assembly>.exe [options]
.PP
.B xsd
<instance.xml> [<instance.xml> ...] [options]
.PP
.SH "DESCRIPTION"
.I xsd
is a tool for intended to complement the XML serialization support of Mono. It can do the following tasks:
.TP
Generate serializable classes
From a given XML schema, generate a class that can be used to read and write xml documents that conform that schema (/classes option).
.TP
Generate typed datasets
From a given XML schema, generate a typed DataSet class that can be used to read and write xml documents that conform that schema (/dataset option).
.TP
Generate XML schemas
From a given assembly and an optional type name, generate an XML schema that can be used to validate the xml documents that can be obtained by serializing objects of that type. If no type is provided, xsd generates a schema for all types in the assembly. When specifying the assembly name do not include the file extension (.dll or .exe). xsd will look for the assembly using the standard assembly loading rules.
.TP
Infer XML schemas
From a given set of XML documents, infer the XML schema that can be used to validate those documents.
.SH "OPTIONS"
The following options are available:
.TP
.I "/element:name" "/e:name"
Specifies the name of the XML schema element for which a class or a dataset has to be generated.
.TP
.TP
.I "/namespace:name" "/n:name"
Specifies the namespace of the XML schema element for which a class or a dataset has to be generated.
.TP
.I "/language:name" "/l:name"
Specifies the programming language to use for the generated code. The only supported languages are CS (C#) and VB (Visual Basic.NET).
.TP
.I "/outputdir:path" "/o:path"
Specifies the directory where to generate the code or schemas.
.TP
.I "/type:name" "/t:name"
Specifies the full name of the type (including namespace) for which to generate the XML schema.
.TP
.I "/help" "/h"
Show usage help.
.PP
.SH "AUTHORS"
Lluis Sanchez Gual ([email protected])
.br
Atsushi Enomoto ([email protected])
.PP
.SH "LICENSE"
xsd is released under the terms of the GNU GPL.
.PP
.SH "SEE ALSO"
disco(1), soapsuds(1), mono(1), mcs(1), wsdl(1)
Executable
+20
View File
@@ -0,0 +1,20 @@
C# Compiler:
Miguel de Icaza ([email protected])
Ravi Pratap ([email protected])
Martin Baulig ([email protected])
Class Libraries:
Patrik Torstensson <[email protected]>
Gaurav Vaish <[email protected]>
Jeff Stedfast ([email protected])
Joe Shaw ([email protected])
Miguel de Icaza ([email protected])
Sean MacIsaac ([email protected])
Vladimir Vukicevic ([email protected])
Garrett Rooney ([email protected])
Bob Smith ([email protected])
John Barnette ([email protected])
Daniel Morgan <[email protected]>
Sebastien Pouliot <[email protected]>
Per Arneng <[email protected]>
Ben Maurer <[email protected]>
Executable
+340
View File
@@ -0,0 +1,340 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
Public License instead of this License.
+481
View File
@@ -0,0 +1,481 @@
GNU LIBRARY GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1991 Free Software Foundation, Inc.
675 Mass Ave, Cambridge, MA 02139, USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
[This is the first released version of the library GPL. It is
numbered 2 because it goes with version 2 of the ordinary GPL.]
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
Licenses are intended to guarantee your freedom to share and change
free software--to make sure the software is free for all its users.
This license, the Library General Public License, applies to some
specially designated Free Software Foundation software, and to any
other libraries whose authors decide to use it. You can use it for
your libraries, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if
you distribute copies of the library, or if you modify it.
For example, if you distribute copies of the library, whether gratis
or for a fee, you must give the recipients all the rights that we gave
you. You must make sure that they, too, receive or can get the source
code. If you link a program with the library, you must provide
complete object files to the recipients so that they can relink them
with the library, after making changes to the library and recompiling
it. And you must show them these terms so they know their rights.
Our method of protecting your rights has two steps: (1) copyright
the library, and (2) offer you this license which gives you legal
permission to copy, distribute and/or modify the library.
Also, for each distributor's protection, we want to make certain
that everyone understands that there is no warranty for this free
library. If the library is modified by someone else and passed on, we
want its recipients to know that what they have is not the original
version, so that any problems introduced by others will not reflect on
the original authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that companies distributing free
software will individually obtain patent licenses, thus in effect
transforming the program into proprietary software. To prevent this,
we have made it clear that any patent must be licensed for everyone's
free use or not licensed at all.
Most GNU software, including some libraries, is covered by the ordinary
GNU General Public License, which was designed for utility programs. This
license, the GNU Library General Public License, applies to certain
designated libraries. This license is quite different from the ordinary
one; be sure to read it in full, and don't assume that anything in it is
the same as in the ordinary license.
The reason we have a separate public license for some libraries is that
they blur the distinction we usually make between modifying or adding to a
program and simply using it. Linking a program with a library, without
changing the library, is in some sense simply using the library, and is
analogous to running a utility program or application program. However, in
a textual and legal sense, the linked executable is a combined work, a
derivative of the original library, and the ordinary General Public License
treats it as such.
Because of this blurred distinction, using the ordinary General
Public License for libraries did not effectively promote software
sharing, because most developers did not use the libraries. We
concluded that weaker conditions might promote sharing better.
However, unrestricted linking of non-free programs would deprive the
users of those programs of all benefit from the free status of the
libraries themselves. This Library General Public License is intended to
permit developers of non-free programs to use free libraries, while
preserving your freedom as a user of such programs to change the free
libraries that are incorporated in them. (We have not seen how to achieve
this as regards changes in header files, but we have achieved it as regards
changes in the actual functions of the Library.) The hope is that this
will lead to faster development of free libraries.
The precise terms and conditions for copying, distribution and
modification follow. Pay close attention to the difference between a
"work based on the library" and a "work that uses the library". The
former contains code derived from the library, while the latter only
works together with the library.
Note that it is possible for a library to be covered by the ordinary
General Public License rather than by this special one.
GNU LIBRARY GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License Agreement applies to any software library which
contains a notice placed by the copyright holder or other authorized
party saying it may be distributed under the terms of this Library
General Public License (also called "this License"). Each licensee is
addressed as "you".
A "library" means a collection of software functions and/or data
prepared so as to be conveniently linked with application programs
(which use some of those functions and data) to form executables.
The "Library", below, refers to any such software library or work
which has been distributed under these terms. A "work based on the
Library" means either the Library or any derivative work under
copyright law: that is to say, a work containing the Library or a
portion of it, either verbatim or with modifications and/or translated
straightforwardly into another language. (Hereinafter, translation is
included without limitation in the term "modification".)
"Source code" for a work means the preferred form of the work for
making modifications to it. For a library, complete source code means
all the source code for all modules it contains, plus any associated
interface definition files, plus the scripts used to control compilation
and installation of the library.
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running a program using the Library is not restricted, and output from
such a program is covered only if its contents constitute a work based
on the Library (independent of the use of the Library in a tool for
writing it). Whether that is true depends on what the Library does
and what the program that uses the Library does.
1. You may copy and distribute verbatim copies of the Library's
complete source code as you receive it, in any medium, provided that
you conspicuously and appropriately publish on each copy an
appropriate copyright notice and disclaimer of warranty; keep intact
all the notices that refer to this License and to the absence of any
warranty; and distribute a copy of this License along with the
Library.
You may charge a fee for the physical act of transferring a copy,
and you may at your option offer warranty protection in exchange for a
fee.
2. You may modify your copy or copies of the Library or any portion
of it, thus forming a work based on the Library, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) The modified work must itself be a software library.
b) You must cause the files modified to carry prominent notices
stating that you changed the files and the date of any change.
c) You must cause the whole of the work to be licensed at no
charge to all third parties under the terms of this License.
d) If a facility in the modified Library refers to a function or a
table of data to be supplied by an application program that uses
the facility, other than as an argument passed when the facility
is invoked, then you must make a good faith effort to ensure that,
in the event an application does not supply such function or
table, the facility still operates, and performs whatever part of
its purpose remains meaningful.
(For example, a function in a library to compute square roots has
a purpose that is entirely well-defined independent of the
application. Therefore, Subsection 2d requires that any
application-supplied function or table used by this function must
be optional: if the application does not supply it, the square
root function must still compute square roots.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Library,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Library, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote
it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Library.
In addition, mere aggregation of another work not based on the Library
with the Library (or with a work based on the Library) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may opt to apply the terms of the ordinary GNU General Public
License instead of this License to a given copy of the Library. To do
this, you must alter all the notices that refer to this License, so
that they refer to the ordinary GNU General Public License, version 2,
instead of to this License. (If a newer version than version 2 of the
ordinary GNU General Public License has appeared, then you can specify
that version instead if you wish.) Do not make any other change in
these notices.
Once this change is made in a given copy, it is irreversible for
that copy, so the ordinary GNU General Public License applies to all
subsequent copies and derivative works made from that copy.
This option is useful when you wish to copy part of the code of
the Library into a program that is not a library.
4. You may copy and distribute the Library (or a portion or
derivative of it, under Section 2) in object code or executable form
under the terms of Sections 1 and 2 above provided that you accompany
it with the complete corresponding machine-readable source code, which
must be distributed under the terms of Sections 1 and 2 above on a
medium customarily used for software interchange.
If distribution of object code is made by offering access to copy
from a designated place, then offering equivalent access to copy the
source code from the same place satisfies the requirement to
distribute the source code, even though third parties are not
compelled to copy the source along with the object code.
5. A program that contains no derivative of any portion of the
Library, but is designed to work with the Library by being compiled or
linked with it, is called a "work that uses the Library". Such a
work, in isolation, is not a derivative work of the Library, and
therefore falls outside the scope of this License.
However, linking a "work that uses the Library" with the Library
creates an executable that is a derivative of the Library (because it
contains portions of the Library), rather than a "work that uses the
library". The executable is therefore covered by this License.
Section 6 states terms for distribution of such executables.
When a "work that uses the Library" uses material from a header file
that is part of the Library, the object code for the work may be a
derivative work of the Library even though the source code is not.
Whether this is true is especially significant if the work can be
linked without the Library, or if the work is itself a library. The
threshold for this to be true is not precisely defined by law.
If such an object file uses only numerical parameters, data
structure layouts and accessors, and small macros and small inline
functions (ten lines or less in length), then the use of the object
file is unrestricted, regardless of whether it is legally a derivative
work. (Executables containing this object code plus portions of the
Library will still fall under Section 6.)
Otherwise, if the work is a derivative of the Library, you may
distribute the object code for the work under the terms of Section 6.
Any executables containing that work also fall under Section 6,
whether or not they are linked directly with the Library itself.
6. As an exception to the Sections above, you may also compile or
link a "work that uses the Library" with the Library to produce a
work containing portions of the Library, and distribute that work
under terms of your choice, provided that the terms permit
modification of the work for the customer's own use and reverse
engineering for debugging such modifications.
You must give prominent notice with each copy of the work that the
Library is used in it and that the Library and its use are covered by
this License. You must supply a copy of this License. If the work
during execution displays copyright notices, you must include the
copyright notice for the Library among them, as well as a reference
directing the user to the copy of this License. Also, you must do one
of these things:
a) Accompany the work with the complete corresponding
machine-readable source code for the Library including whatever
changes were used in the work (which must be distributed under
Sections 1 and 2 above); and, if the work is an executable linked
with the Library, with the complete machine-readable "work that
uses the Library", as object code and/or source code, so that the
user can modify the Library and then relink to produce a modified
executable containing the modified Library. (It is understood
that the user who changes the contents of definitions files in the
Library will not necessarily be able to recompile the application
to use the modified definitions.)
b) Accompany the work with a written offer, valid for at
least three years, to give the same user the materials
specified in Subsection 6a, above, for a charge no more
than the cost of performing this distribution.
c) If distribution of the work is made by offering access to copy
from a designated place, offer equivalent access to copy the above
specified materials from the same place.
d) Verify that the user has already received a copy of these
materials or that you have already sent this user a copy.
For an executable, the required form of the "work that uses the
Library" must include any data and utility programs needed for
reproducing the executable from it. However, as a special exception,
the source code distributed need not include anything that is normally
distributed (in either source or binary form) with the major
components (compiler, kernel, and so on) of the operating system on
which the executable runs, unless that component itself accompanies
the executable.
It may happen that this requirement contradicts the license
restrictions of other proprietary libraries that do not normally
accompany the operating system. Such a contradiction means you cannot
use both them and the Library together in an executable that you
distribute.
7. You may place library facilities that are a work based on the
Library side-by-side in a single library together with other library
facilities not covered by this License, and distribute such a combined
library, provided that the separate distribution of the work based on
the Library and of the other library facilities is otherwise
permitted, and provided that you do these two things:
a) Accompany the combined library with a copy of the same work
based on the Library, uncombined with any other library
facilities. This must be distributed under the terms of the
Sections above.
b) Give prominent notice with the combined library of the fact
that part of it is a work based on the Library, and explaining
where to find the accompanying uncombined form of the same work.
8. You may not copy, modify, sublicense, link with, or distribute
the Library except as expressly provided under this License. Any
attempt otherwise to copy, modify, sublicense, link with, or
distribute the Library is void, and will automatically terminate your
rights under this License. However, parties who have received copies,
or rights, from you under this License will not have their licenses
terminated so long as such parties remain in full compliance.
9. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Library or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Library (or any work based on the
Library), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Library or works based on it.
10. Each time you redistribute the Library (or any work based on the
Library), the recipient automatically receives a license from the
original licensor to copy, distribute, link with or modify the Library
subject to these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
11. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Library at all. For example, if a patent
license would not permit royalty-free redistribution of the Library by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Library.
If any portion of this section is held invalid or unenforceable under any
particular circumstance, the balance of the section is intended to apply,
and the section as a whole is intended to apply in other circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
12. If the distribution and/or use of the Library is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Library under this License may add
an explicit geographical distribution limitation excluding those countries,
so that distribution is permitted only in or among countries not thus
excluded. In such case, this License incorporates the limitation as if
written in the body of this License.
13. The Free Software Foundation may publish revised and/or new
versions of the Library General Public License from time to time.
Such new versions will be similar in spirit to the present version,
but may differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the Library
specifies a version number of this License which applies to it and
"any later version", you have the option of following the terms and
conditions either of that version or of any later version published by
the Free Software Foundation. If the Library does not specify a
license version number, you may choose any version ever published by
the Free Software Foundation.
14. If you wish to incorporate parts of the Library into other free
programs whose distribution conditions are incompatible with these,
write to the author to ask for permission. For software which is
copyrighted by the Free Software Foundation, write to the Free
Software Foundation; we sometimes make exceptions for this. Our
decision will be guided by the two goals of preserving the free status
of all derivatives of our free software and of promoting the sharing
and reuse of software generally.
NO WARRANTY
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES.
END OF TERMS AND CONDITIONS
Appendix: How to Apply These Terms to Your New Libraries
If you develop a new library, and you want it to be of the greatest
possible use to the public, we recommend making it free software that
everyone can redistribute and change. You can do so by permitting
redistribution under these terms (or, alternatively, under the terms of the
ordinary General Public License).
To apply these terms, attach the following notices to the library. It is
safest to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least the
"copyright" line and a pointer to where the full notice is found.
<one line to give the library's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
Also add information on how to contact you by electronic and paper mail.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the library, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the
library `Frob' (a library for tweaking knobs) written by James Random Hacker.
<signature of Ty Coon>, 1 April 1990
Ty Coon, President of Vice
That's all there is to it!
+445
View File
@@ -0,0 +1,445 @@
2004-04-30 Raja R Harinath <[email protected]>
* Makefile (SUBDIRS): Remove 'gmcs' for now.
(all): Simplify.
(clean): Quick hack to get 'make clean' to work better.
2004-04-29 Jackson Harper <[email protected]>
* Makefile: Put the PROFILE= stuff before the target, this is more
pleasurable to cygwin users.
2004-04-28 Jackson Harper <[email protected]>
* Makefile: build the net_1_1 and net_2_0 profiles by default.
2004-01-14 Martin Willemoes Hansen <[email protected]>
* INSTALL.txt: Fixed, autogen should be autogen.sh
2003-12-01 Cesar Lopez Nataren <[email protected]>
* Added dirs mcs/jtest and mcs/jerrors.
2003-10-28 Jackson Harper <[email protected]>
* INSTALL.txt: Tell users where to find monocharges, do not
reference README.building.
2003-07-22 Peter Williams <[email protected]>
* README: INSTALL.txt, not INSTALL.
2003-07-20 Peter Williams <[email protected]>
* nunit20/nunit-console/Makefile (PROGRAM): Put nunit-console.exe
in $(topdir)/class/lib so we can find our DLL's.
2003-07-18 Peter Williams <[email protected]>
* build/library.make (dist-local): Fancy make dist magic gives
way to boring old 'for'.
* build/executable.make (dist-local): Ditto.
2003-07-17 Peter Williams <[email protected]>
* build/profiles/default.make: Actually fix this. Use the platform
compiler all the way.
2003-07-17 Peter Williams <[email protected]>
* build/profiles/default.make: Try to make this smarter so
that we can build on Windows. Specifically, don't require
the mono runtime. Combined with the corlib $(BOOT_COMPILE) change,
this should make corlib build out of the box, I think.
2003-07-16 Peter Williams <[email protected]>
A whole passel of build system changes. Doc updates:
* build/README.makefiles: Doc updates.
* build/profiles/net_1_0.make: Doc changes.
* INSTALL.txt: A few more touchups.
Better defaults:
* build/config-default.make (prefix): Default install prefix
should be /usr/local.
* build/profiles/bootstrap.make: This profile ...
* build/profiles/default.make: ... is now the default.
* build/profiles/atomic.make: And the default is now this.
Fixes for pre-build checks:
* Makefile: Do the platform and (new) profile checks
before the build, which took some infrastructure changes.
* build/rules.make: Allow a Makefile to specify its own all/install/etc
targets.
* build/profiles/default.make (profile-check): Add a blank
target here.
* build/profiles/atomic.make: Check for a full MCS install to
build against.
HP/UX fixes with help from Bernie Solomon:
* build/config-default.make (ECHO_ESCAPE): HP/UX 'echo'
doesn't need a -e parameter to interpret escape codes. Test for
that and define a configuration parameter.
* build/library.make ($(makefrag)): Use $(ECHO_ESCAPE)
instead of assuming that 'echo -e' will interpret escape
codes.
* build/executable.make ($(makefrag)): Here too.
A make distcheck fix:
* Makefile: Inherit the current prefix so that the build can
find the right System.Xml.dll.
And Windows build fixes with the invaluable help of Sebastian
Pouliot (in various subdirectories).
2003-07-14 Peter Williams <[email protected]>
* build/rules.make (dist-recursive): Fix recursive rules
to work on HP/UX /bin/sh. Patch from Bernie Solomon
<[email protected]>.
2003-05-10 Gonzalo Paniagua Javier <[email protected]>
* makefile:
* makefile.gnu: don't use -C when running make.
2003-05-05 Ben Maurer <[email protected]>
* AUTHORS: Added self.
2003-04-15 Nick Drochak <[email protected]>
* makefile: Remove nunit version 1 from build
2002-03-14 Daniel Morgan <[email protected]>
* class/makefile.gnu
* class/ByteFX.Data/makefile.gnu: add ByteFX.Data.dll
to the Linux build
2002-03-14 Daniel Morgan <[email protected]>
* makefile: added ByteFX.Data.dll to windows install
* class/library.build: added ByteFX.Data.dll
to windows build. added additional clean targets
* class/Microsoft.VisualC/Microsoft.VisualC.build: fix
windows clean
* class/ByteFX.Data: added directory for ByteFX.Data.dll
which includes a MySQL ADO.NET Provider.
Contributed by Reggie Burnett <[email protected]>
from ByteFX, Inc.
ByteFX.Data 0.6.5 is Copyright 2002-2003, ByteFX, Inc.
Added the following files and directories:
class/ByteFX.Data/AssemblyInfo.cs
class/ByteFX.Data/list
class/ByteFX.Data/ByteFX.Data.build
class/ByteFX.Data/makefile.gnu
class/ByteFX.Data/ChangeLog.txt
class/ByteFX.Data/readme.txt
class/ByteFX.Data/lgpl.txt: new files
BitStream.cs
Connection.cs
Field.cs
Inflater.cs
ConnectionString.cs
HuffmanTree.cs
NamedPipeStream.cs
class/ByteFX.Data/Common: added files to new directory
Driver.cs
command.resx
todo.txt
CommandBuilder.cs
Exception.cs
dataadapter.cs
transcaction.cs
Connection.cs
Field.cs
datareader.cs
Connection.resx
MysqlDefs.cs
parameter.cs
class/ByteFX.Data/mysqlclient: added files to new directory
command.cs
parameter_collection.cs
class/ByteFX.Data/mysqlclient/Designers: added files to new directory
2003-03-14 Daniel Morgan <[email protected]>
* makefile: add ilasm.exe to windows build and add missing assemblies
to windows install
* class/library.build: include PEAPI.dll, Npgsql.dll, and
ICSharpCode.SharpZipLib part of the windows build
2003-03-10 Martin Willemoes Hansen <[email protected]>
* Fixed some spelling errors in class/doc/TemplateTest.cs
2003-03-04 Gonzalo Paniagua Javier <[email protected]>
* makefile: added Mono.Posix and System.Management.
2003-02-16 Martin Baulig <[email protected]>
* docs/compiler: Added a few works about the new `Location' code.
2003-02-15 Nick Drochak <[email protected]>
* makefile.gnu: Add testcorlib target to run just the corlib unit tests.
2003-02-10 Nick Drochak <[email protected]>
* makefile: Add testcorlib target to run just the corlib unit tests.
2003-01-16 Nick Drochak <[email protected]>
* makefile.gnu: Add corlib target to just build that.
2003-01-14 Duncan Mak <[email protected]>
* ilasm/parser/ScannerAdapter.cs: Remove the cleanup method now that
it's no longer in the interface.
2003-01-13 Duncan Mak <[email protected]>
* ilasm/parser/ScannerAdapter.cs: Implement the new cleanup method
in the tokenizer. This fixes the build.
2003-01-10 Gonzalo Paniagua Javier <[email protected]>
* README.building: New file.
* makefile.gnu: install README.building file.
2003-01-09 Sebastien Pouliot <[email protected]>
* AUTHORS: add myself to class library list
2002-12-15 Alp Toker <[email protected]>
* makefile.gnu: make sure mcs is in PATH, otherwise tell user to read
INSTALL.txt
2002-12-10 Daniel Morgan <[email protected]>
* makefile
* tools/makefile
* tools/makefile.gnu: change target
from SqlSharpCli.exe
to sqlsharp.exe
2002-12-10 Alp Toker <[email protected]>
* ilasm/makefile.gnu: Install ilasm executable with -m 755, not 644
* ilasm/makefile: ditto
2002-12-10 Gaurav Vaish <[email protected]>
* AUTHORS: Corrected my email-ID.
2002-11-29 Daniel Morgan <[email protected]>
* INSTALL: renamed to INSTALL.txt because INSTALL
interferred with "make install" on windows
* makefile: changes to get "make install" work
on windows
* class/makefile.gnu: flush
* ilasm/makefile: updated for windows build
* monoresgen/makefile: updated for windows build
* tools/SqlSharp/SqlSharpCli.build: flush
* winexe.in: add file to be template for executable assemblies
to be installed on windows via "make install" by providing
a script that runs mono and the assembly
like mcs runs mono mcs.exe
2002-11-28 Daniel Morgan <[email protected]>
* makefile.gnu: added tools directory to linux build
* tools/makefile.gnu: added new file to built tools and install.
dist works too. test is just blank.
2002-11-16 Martin Baulig <[email protected]>
* makefile.gnu: `binary-snapshot' is now an alias for `dist'.
Please update your scripts, the `dist' target will disappear soon.
2002-11-09 Nick Drochak <[email protected]>
* makefile: have test target be smart about windows/linux
2002-11-07 Nick Drochak <[email protected]>
* makefile: for the clean target, handle linux and windows differently.
2002-10-13 Daniel Morgan <[email protected]>
* class/library.build: added Mono.Data.SqliteClient
directory to windows build
2002-10-10 Daniel Morgan <[email protected]>
* class/library.build: added Mono.Data.MySql directory to windows build.
2002-10-10 Rodrigo Moya <[email protected]>
* class/makefile.gnu: added Mono.Data.MySql directory to linux build.
2002-10-09 Rodrigo Moya <[email protected]>
* class/makefile.gnu: added System.Data.Odbc directory.
2002-09-14 Piers Haken <[email protected]>
* */makefile.gnu:
use $(topdir)
build nunit into $(topdir)/class/lib
2002-08-27 Gonzalo Paniagua Javier <[email protected]>
* makefile.gnu:
* class/library.make:
* class/makefile.gnu:
* class/I18N/makefile.gnu
* class/corlib/makefile.gnu:
* class/corlib/Test/ChangeLog:
* class/corlib/Test/corlib_linux_test.args:
* class/corlib/Test/makefile.gnu:
* class/corlib/Test/run_test.sh:
* jay/makefile.gnu:
* mcs/makefile.gnu:
* monoresgen/makefile.gnu:
* nunit/makefile.gnu:
Allow running 'make -f makefile.gnu test' from top directory.
In the libraries makefile.gnu you just have to add TEST_DIR=dirname
with the name where tests reside.
2002-08-23 Martin Baulig <[email protected]>
* class/makefile.gnu: Add class/Mono.CSharp.Debugger to the build.
2002-08-13 Piers Haken <[email protected]>
* class/library.make: merge back original makefile.gnu behavior
* */makefile.gnu: merge back original makefile.gnu behavior
2002-08-12 Piers Haken <[email protected]>
* class/library.make: use 'find' to specify source files, instead of static files
* */makefile.gnu: specify include/exclude patterns for source files
2002-08-07 Peter Williams <[email protected]>
* class/library.make (.makefrag): Fix this rule a bit; was using
$^ instead of $<
2002-07-29 Peter Williams <[email protected]>
* makefile.gnu: 'make install' wasn't actually working due to $@,
fix it.
2002-07-29 Martin Baulig <[email protected]>
* makefile.gnu: Don't force people to install. The default must also
be `all' and not `install'.
2002-07-26 Alp Toker <[email protected]>
* INSTALL: Wrote a guide to mcs installation.
* README: Updated to reflect the new INSTALL guide.
2002-07-23 Alp Toker <[email protected]>
* makefile.gnu: Added an install target (which sets permissions and
respects prefix) and a dist target which produces a tarball. Also
fixed a few other makefile issues.
2002-07-22 Peter Williams <[email protected]>
* class/library.make: Oops, the deps weren't right -- touching a .cs
file didn't cause the libraries to be rebuilt.
(clean): Robustify this rule a bit.
2002-07-20 Martin Baulig <[email protected]>
* class/makefile.gnu: Added System.Data.
2002-07-20 Martin Baulig <[email protected]>
* class/library.make: Put $(MONO_PATH_PREFIX) in front of the MONO_PATH.
* class/*/makefile.gnu: Set MONO_PATH_PREFIX=../lib:
2002-07-19 Martin Baulig <[email protected]>
* makefile.gnu (DIRS): Added nunit.
2002-07-19 Martin Baulig <[email protected]>
Added the super-cool set of makefiles from Peter Williams which run on
GNU/Linux without NAnt. I named them `makefile.gnu' and not `GNUmakefile'
since this won't break the windows build.
To compile stuff on GNU/Linux, just do a `make -f makefile.gnu'.
* mcs-tool, */makefile.gnu, class/library.make: New files.
2002-07-19 Martin Baulig <[email protected]>
* */makefile (NANT): Use a variable `NANT' so the user can override it with
`make NANT=/usr/local/bin/NAnt.exe'.
2002-05-09 Daniel Morgan <[email protected]>
* AUTHORS: add me to class libraries list
2002-03-26 Dick Porter <[email protected]>
* makefile (linux): Abandon the build if any of the subdir makes fail
2002-03-07 Nick Drochak <[email protected]>
* makefile: Change order of build so corlib is built before nunit since
Nunit needs corlib now.
2002-02-14 Nick Drochak <[email protected]>
* makefile: Build mcs/doctools too when one does 'make'
2002-01-20 Nick Drochak <[email protected]>
* on the 'test' target, make sure NUnit is built first before building
and running tests
2002-01-20 Nick Drochak <[email protected]>
* add nunit directory to the list of dirs to build in
+176
View File
@@ -0,0 +1,176 @@
Basic Installation
==================
The Mono project has developed mono, a CLI runtime. The build process
of each of these depends on nothing more than a C compiler and glib2.
However, to provide a working runtime environment, these programs must
be supplemented by the class libraries, which are written in C#. This
package contains the components written in C#: class libraries,
compilers and tools.
*********************************************************************
* *
* NOTICE *
* *
* Unless you are developing the class libraries, you should *
* not need to do any build steps in this directory. *
* *
* Go to ../mono and read the README file to compile and *
* install. *
* *
* ../mono is where you have your `mono' source download *
* *
*********************************************************************
If you only want to build a snapshot or a fresh CVS checkout of the
sources, you should go into the `mono' sibling directory and issue the
make fullbuild command, like this:
cd ../mono
./autogen.sh --prefix=/usr/local
make fullbuild
That will build and install the code in a single pass. The
compilation is bundled with the build due to dependencies on the class
libraries on the runtime.
Build Features for Developers of Mono.
======================================
These instructions apply to both Linux and Windows. To build this
package, you must already have a C# compiler installed. This means
that to build on Linux, you need to get a distribution of the MCS
binaries; these are called monocharges. They can be found at
www.go-mono.com/daily. On Windows, you can just use the
Microsoft compiler. You also need GNU make to build the software (on
Windows, you will need for example the Cygwin environment setup).
You can customize your MCS configuration by using:
./configure [--prefix=PREFIX] [--profile=PROFILE]
If you do not run the above, the defaults are /usr/local for the
prefix, and `default' for the profile.
To build the compiler and class libraries, run:
make
The libraries will be placed in the directory class/lib/ and the mcs
compiler executable in mcs/.
To install them, run the following:
make install
If you get "corlib out of sync" errors, try
make PROFILE="atomic"
The difference between the two modes is explained farther down.
Troubleshooting
===============
Occasionally, something in the compiler or runtime changes enough that
an existing installation cannot complete a full build from cvs. In this case,
go to http://go-mono.com/daily and download a monocharge or monolite tarball.
Unpack and copy the .dlls to $prefix/lib and .exes to $prefix/bin/. Then
you should be able to complete the build normally (i.e. using make fullbuild).
wget http://go-mono.com/daily/monolite-20031028.tar.gz
tar -zxvf monolite-20031028.tar.gz
cd monolite-20031028
cp *.exe /usr/local/bin/.
cp *.dll /usr/local/lib/.
Monocharges
===========
If you are tracking Mono's development, you may sometimes need to share
the compiled libraries with others, you can do:
make monocharge
Or a light version, which contains only the essential libraries and
results in a much smaller file:
make monocharge-lite
Configuration
=============
If you want to change the configuration options for the build process,
place your configuration options in build/config.make
A list of variables that control the build are listed in the file
build/config-default.make.
Build profiles? What?
======================
Don't worry about them too much. If you're wondering which to use:
use the default if you can (that's why it's the default!) and use
the atomic if you have to.
The default profile uses the C# compiler and class libaries as they
are built. This lets you build MCS without needing to have already
installed it, but can fail if the libraries change significantly.
(This is the source of the dreaded "corlib out of sync" warning, most
of the time.)
The atomic profile tries to use the system compiler and preexisting
MCS libraries. New libaries are built against this constant reference
point, so if a newly built library has a binary incompatibility, the
rest of your build can proceed.
If you want to always use the atomic profile, run this command:
./configure --profile=atomic
More About the Build System
===========================
More information is found in build/README.*. Here's a quick rundown
of the features:
* Unified build system for Windows and Linux. Windows is still
fairly untested, but "should work." Unfortunately I don't
have a Windows machine to test on, but Gonzalo can get
corlib to build I think and that's about as complicated as
it gets.
* Profile support. 'make PROFILE=profilename' or 'export
PROFILE=profilename ; make' will work. Profiles are defined
in build/profiles/profilename.make ; right now there isn't
too much going on. The 'bootstrap' profile will build the
way makefile.gnu did on Linux, by setting MONO_PATH and
using mcs/mcs.exe; the default profile will build against
the existing system libraries and compile with 'mcs', which
should reduce a lot of 'corlib out of sync' warnings.
* Important variables are shared among makefiles now; you can
edit build/config.make (see build/config-default.make for a
template) and give global settings, or just have a much
saner time of writing new makefiles.
* Response files, stamps, and other build trivia now all land
in build/deps/, making the library build directories
cleaner.
* Test libraries now live in class/Library/Library_test.dll,
not class/Library/Test. 'make test' will build the test DLL,
'make run-test' will actually run the nunit tests. Set the
variable TEST_HARNESS to run with a program other than
nunit-console (for example, nunit-gtk).
* Standardized recursive targets: all, clean, install, test,
run-test. Read build/README.makefiles for definitions of
what they should do
* (Relatively) sane 'make dist' target; 'make distcheck'
support; cute 'make monocharge' and 'make monocharge-lite'
targets. They're made possible because 'make install' now
supports DESTDIR a la automake, which I'm sure someone cares
about.
+29
View File
@@ -0,0 +1,29 @@
The Mono code is licensed under various different licenses.
GNU GPL: details avaliable in the file LICENSE.GPL
GNU LGPL: details available in the file LICENSE.LGPL
MIT X11: text available in the file MIT.X11
For your convenience copies of the GNU GPL and GNU LGPL are
located in the file COPYING and COPYING.LIB.
* Class Libraries:
All of the core classes licensed under the terms of
the MIT X11 license.
Third party libraries that we distribute for
convenience reasons are distributed under their own
terms (all of them allow development of proprietary
applications with them).
Third party libraries include: ByteFX.Data,
ICSharpCode.SharpZipLib, Npgsql.
* Mono C# compiler: GNU GPL
* Mono Basic compiler: GNU GPL.
* Various tools in the `tools' directory: GNU GPL.
+15
View File
@@ -0,0 +1,15 @@
Mono compilers and tools.
Copyright (C) 2001, 2002, 2003, Ximian and contributors.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation;
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+15
View File
@@ -0,0 +1,15 @@
Mono class libraries
Copyright (C) Mono project (authors listed in individual ChangeLog entries)
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+21
View File
@@ -0,0 +1,21 @@
Copyright (c) 2001, 2002, 2003 Ximian, Inc and the individuals listed
on the ChangeLog entries.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+118
View File
@@ -0,0 +1,118 @@
thisdir := .
SUBDIRS := build jay mcs class mbas nunit20 monoresgen ilasm tools tests errors docs
OVERRIDE_BARE_TARGETS = hells yeah
include build/rules.make
# Define these ourselves to that the platform checks come first
#all: platform-check profile-check all-recursive #all-local
all:
$(MAKE) PROFILE=default all-profile
$(MAKE) PROFILE=net_2_0 all-profile
clean:
$(MAKE) PROFILE=default clean-profile
$(MAKE) PROFILE=net_2_0 clean-profile
all-profile: platform-check profile-check all-recursive
install: platform-check profile-check install-recursive #install-local
uninstall: platform-check profile-check uninstall-recursive #uninstall-local
test: platform-check profile-check test-recursive #test-local
run-test: run-test-recursive #run-test-local
clean-profile: clean-recursive #clean-local
# fun specialty targets
testcorlib:
@cd class/corlib && $(MAKE) test run-test
# Disting. We need to override $(distdir) here.
package := mcs-$(VERSION)
top_distdir = $(dots)/$(package)
distdir = $(top_distdir)
export package
DISTFILES = \
AUTHORS \
ChangeLog \
COPYING \
COPYING.LIB \
INSTALL.txt \
LICENSE \
LICENSE.GPL \
LICENSE.LGPL \
Makefile \
mkinstalldirs \
MIT.X11 \
MonoIcon.png \
README \
ScalableMonoIcon.svg \
winexe.in
dist-pre:
rm -rf $(package)
dist-post:
tar cvzf $(package).tar.gz $(package)
dist-local: dist-default
dist-tarball: dist-pre dist-recursive dist-post
dist: dist-tarball
rm -rf $(package)
# the egrep -v is kind of a hack (to get rid of the makefrags)
# but otherwise we have to make dist then make clean which
# is sort of not kosher. And it breaks with DIST_ONLY_SUBDIRS.
#
# We need to set prefix on make so class/System/Makefile can find
# the installed System.Xml to build properly
distcheck:
rm -rf InstallTest Distcheck-MCS ; \
mkdir InstallTest ; \
destdir=`cd InstallTest && pwd` ; \
$(MAKE) dist-tarball || exit 1 ; \
mv $(package) Distcheck-MCS ; \
(cd Distcheck-MCS && \
$(MAKE) prefix=$(prefix) && $(MAKE) test && $(MAKE) install DESTDIR="$$destdir" && \
$(MAKE) clean && $(MAKE) dist || exit 1) || exit 1 ; \
mv Distcheck-MCS $(package) ; \
tar tzf $(package)/$(package).tar.gz |sed -e 's,/$$,,' |sort >distdist.list ; \
rm $(package)/$(package).tar.gz ; \
tar tzf $(package).tar.gz |sed -e 's,/$$,,' |sort >before.list ; \
find $(package) |egrep -v '(makefrag|response)' |sed -e 's,/$$,,' |sort >after.list ; \
cmp before.list after.list || exit 1 ; \
cmp before.list distdist.list || exit 1 ; \
rm -f before.list after.list distdist.list ; \
rm -rf $(package) InstallTest
monocharge:
chargedir=monocharge-`date -u +%Y%m%d` ; \
mkdir "$$chargedir" ; \
DESTDIR=`cd "$$chargedir" && pwd` ; \
$(MAKE) install DESTDIR="$$DESTDIR" || exit 1 ; \
tar cvzf "$$chargedir".tgz "$$chargedir" ; \
rm -rf "$$chargedir"
# A bare-bones monocharge.
monocharge-lite:
chargedir=monocharge-lite-`date -u +%Y%m%d` ; \
mkdir "$$chargedir" ; \
DESTDIR=`cd "$$chargedir" && pwd` ; \
$(MAKE) -C mcs install DESTDIR="$$DESTDIR" || exit 1; \
$(MAKE) -C class/corlib install DESTDIR="$$DESTDIR" || exit 1; \
$(MAKE) -C class/System install DESTDIR="$$DESTDIR" || exit 1; \
$(MAKE) -C class/System.XML install DESTDIR="$$DESTDIR" || exit 1; \
$(MAKE) -C class/Mono.CSharp.Debugger install DESTDIR="$$DESTDIR" || exit 1; \
tar cvzf "$$chargedir".tgz "$$chargedir" ; \
rm -rf "$$chargedir"
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 448 B

Executable
+82
View File
@@ -0,0 +1,82 @@
This contains the Mono C# compiler as well as the Mono runtime
library.
See INSTALL.txt for a guide to building and installing mcs.
Layout:
class/
Class libraries
errors/
Sample programs that should generate errors by the compiler.
jay/
Yacc-based parser generator.
mcs/
The Mono C# compiler
tests/
Sample tests
docs/
Some notes on the compiler and the class libraries.
nant/
A copy of nant source code, used during the build process
on Windows.
tools/
Various small development tools: CorCompare used to compare
two assemblies for differences in the API; TypeReflector is
a tool used to introspect types from assemblies from the
command line; MonoStyle helps you keep your code indendented
with the Mono programming style.
Thanks a lot to Sergey Chaban for his help during the development of
the C# compiler.
LICENSE
The mcs C# compiler and monoresgen are licensed to you under the GPL, version 2.
The complete text of the GPL is in the 'COPYING' file.
Copyright (C) 2001-2002 Ximian, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of version 2 of the GNU General Public License as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
The class libraries are licensed according to the following license:
Copyright (C) 2001-2002 Ximian, Inc.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
+566
View File
@@ -0,0 +1,566 @@
<?xml version="1.0" standalone="yes"?>
<svg width="600" height="523">
<path style="fill:#feffff" d="M600 0 L600 523 L0 523 L0 0 L600 0 z"/>
<path style="fill:#606060" d="M142 40 C142.2 41.18 140.7 41.02 140 41 C139.8 39.82 141.3 39.98 142 40 z"/>
<path style="fill:#0" d="M442 40 C441.8 41.18 443.3 41.02 444 41 L446 41 L447 42 L450 43 L451 44 L456 49 L457 50 L457 51 L458 52 L458 53 L459 54 L459 56 L459 58 L459 358 L459 360 L459 361 L458 362 L455 368 L454 369 L453 370 L452 371 L450 372 L449 373 L448 373 L447 374 L446 374 C445.3 374 443.8 373.8 444 375 L441 375 L153 374 L154 373 L157 369 L158 368 L159 367 L161 364 L162 363 L163 362 L165 359 L166 358 L167 357 L170 353 L171 352 L172 351 L174 348 L175 347 L176 346 L179 342 L180 341 L181 340 L183 337 L184 336 L185 335 L188 331 L189 330 L190 329 L192 326 L193 325 L194 324 L197 320 L198 319 L199 318 L201 315 L202 314 L203 313 L206 309 L207 308 L208 307 L210 304 L211 303 L212 302 L215 298 L216 297 L217 296 L219 293 L220 292 L221 291 C221.3 289.7 222.7 288.7 224 289 L225 290 L227 290 L228 291 L229 291 L230 292 L231 292 L232 293 L234 293 L235 294 L236 294 L237 295 L238 295 L239 296 L241 296 L242 297 L243 297 L244 298 L245 298 L246 299 L248 299 L249 300 L250 300 L251 301 L252 301 L253 302 L255 302 L256 303 L257 303 L258 304 L259 304 L260 305 L264 306 L265 307 L266 307 L267 308 L271 309 L272 310 L273 310 L274 311 L278 312 L279 313 L280 313 L281 314 L285 315 L286 316 L287 316 L288 317 L292 318 L293 319 L294 319 L295 320 L299 321 L300 322 L301 322 L302 323 L306 324 L307 325 L308 325 L309 326 L313 327 L314 328 L315 328 L316 329 L317 329 L318 330 L320 330 L321 331 L322 331 L323 332 L324 332 L325 333 L327 333 L328 334 L329 334 L330 335 L331 335 L332 336 L334 336 L335 337 L336 337 L337 338 L338 338 L339 339 L341 339 L342 340 L343 340 L344 341 L345 341 L346 342 L348 342 L349 343 L350 343 L351 344 L352 344 L353 345 L355 345 L356 346 L357 346 L358 347 L359 347 L360 348 C361.6 348.3 363.7 347.9 364 346 L365 345 L366 343 L367 342 L367 341 L368 340 L373 329 L374 328 L374 327 L375 326 L375 325 L376 324 L376 323 L377 322 L377 320 L378 319 L378 318 L379 317 L380 313 L381 312 L381 311 L382 310 L382 308 L383 307 L384 303 L385 302 L380 298 L379 297 L378 297 L377 296 L373 294 L372 293 L369 291 L368 290 L366 289 L365 288 L364 287 L361 285 L360 284 L359 283 L345 269 L344 268 L343 267 L342 266 L340 263 L339 262 L337 259 L336 258 L331 250 L330 249 L329 247 L328 246 L328 245 L327 244 L324 238 L324 237 L327 240 L328 241 L330 244 L331 245 L332 246 L333 247 L337 252 L338 253 L339 254 L340 255 L341 256 L342 257 L343 258 L344 259 L345 260 L346 261 L347 262 L348 263 L349 264 L355 269 L356 270 L357 271 L358 272 L362 275 L363 276 L366 278 L367 279 L368 280 L370 281 L371 282 L372 283 L374 284 L375 285 L377 286 L378 287 L380 288 L381 289 L383 290 L384 291 L386 292 C385.8 293.3 388.2 293.3 388 292 L388 291 C389.2 291.2 389 289.7 389 289 L389 287 C390.2 287.2 390 285.7 390 285 L390 282 C391.2 282.2 391 280.7 391 280 L391 277 C392.6 276.9 391.8 274.9 392 274 L392 272 L393 267 L393 242 L392 237 L392 233 L391 229 L391 227 L391 225 C391 224.3 391.2 222.8 390 223 L390 220 C390 219.3 390.2 217.8 389 218 L389 215 C389 214.3 389.2 212.8 388 213 L388 211 C388 210.3 388.2 208.8 387 209 L387 207 C387 206.3 387.2 204.8 386 205 L386 204 C386 203.3 386.2 201.8 385 202 L385 200 C385 199.3 385.2 197.8 384 198 L384 197 C384 196.3 384.2 194.8 383 195 L383 193 L382 192 L382 190 L381 189 L381 187 L380 186 L380 185 L379 184 L379 182 L378 181 L377 180 L376 179 L368 177 L367 176 L365 176 C365.2 174.8 363.7 175 363 175 L362 175 C362.2 173.8 360.7 174 360 174 L358 174 L357 173 L356 173 C356.2 171.8 354.7 172 354 172 L349 171 L348 170 L346 170 C346.2 168.8 344.7 169 344 169 L343 169 L344 168 L347 168 C346.8 169.2 348.3 169 349 169 L351 169 C350.8 170.2 352.3 170 353 170 L357 170 C356.8 171.2 358.3 171 359 171 L360 171 C360.1 172.6 362.1 171.8 363 172 L367 172 C366.8 173.2 368.3 173 369 173 L373 173 C373.1 174.6 375.1 173.8 376 174 L378 174 L382 175 C385.8 174.6 391.3 176.6 393 172 L394 171 L394 169 L395 165 L395 159 L394 154 L394 151 C393.8 150.1 394.6 148.1 393 148 L393 145 L393 143 C393 142.3 393.2 140.8 392 141 L391 134 C391 133.3 391.2 131.8 390 132 L390 131 C390 130.3 390.2 128.8 389 129 L389 127 C389 126.3 389.2 124.8 388 125 L388 124 C388 123.3 388.2 121.8 387 122 L387 120 C387 119.3 387.2 117.8 386 118 L386 117 C386 116.3 386.2 114.8 385 115 L385 114 C385 113.3 385.2 111.8 384 112 L383 108 L382 107 L382 106 L381 105 L381 104 L380 103 L379 100 L378 99 L378 98 L377 97 L375 95 L374 94 L372 93 L371 92 L367 91 L366 90 L364 90 L363 89 L361 89 L360 88 L358 88 C358.2 86.82 356.7 86.98 356 87 L355 87 C355.2 85.82 353.7 85.98 353 86 L351 86 C351.2 84.82 349.7 84.98 349 85 L346 85 C346.2 83.82 344.7 83.98 344 84 L341 84 C341.2 82.82 339.7 82.98 339 83 L336 83 C336.2 81.82 334.7 81.98 334 82 L331 82 C331.2 80.82 329.7 80.98 329 81 L326 81 C325.9 79.41 323.9 80.19 323 80 L319 80 C318.9 78.41 316.9 79.19 316 79 L312 79 C311.9 77.41 309.9 78.19 309 78 L302 78 L297 77 L294 77 C293.9 75.41 291.9 76.19 291 76 L285 76 L281 76 L275 75 L264 76 L254 76 L250 77 L248 77 L246 77 C245.3 76.98 243.8 76.82 244 78 L242 78 C241.3 77.98 239.8 77.82 240 79 L238 79 C237.3 78.98 235.8 78.82 236 80 Line truncated
<path style="fill:#585858" d="M444 41 C443.3 41.02 441.8 41.18 442 40 C442.7 39.98 444.2 39.82 444 41 z"/>
<path style="fill:#606060" d="M138 41 L137 42 L138 41 z"/>
<path style="fill:#606060" d="M447 42 L446 41 L447 42 z"/>
<path style="fill:#606060" d="M136 42 L135 43 L136 42 z"/>
<path style="fill:#909090" d="M134 43 L133 44 L134 43 z"/>
<path style="fill:#808080" d="M451 44 L450 43 L451 44 z"/>
<path style="fill:#606060" d="M129 48 L128 49 L129 48 z"/>
<path style="fill:#909090" d="M457 50 L456 49 L457 50 z"/>
<path style="fill:#808080" d="M127 51 L126 52 L127 51 z"/>
<path style="fill:#606060" d="M458 52 L457 51 L458 52 z"/>
<path style="fill:#787878" d="M126 53 C126 53.66 126.2 55.15 125 55 C125 54.34 124.8 52.85 126 53 z"/>
<path style="fill:#909090" d="M459 54 L458 53 L459 54 z"/>
<path style="fill:#9a9b9b" d="M125 56 L125 59 L124 59 C124.2 58.05 123.4 56.06 125 56 z"/>
<path style="fill:#909090" d="M460 58 L459 58 L459 56 C460.2 55.85 460 57.34 460 58 z"/>
<path style="fill:#404040" d="M460 58 L460 358 L459 358 L459 58 L460 58 z"/>
<path style="fill:#404040" d="M125 59 L126 171 L124 59 L125 59 z"/>
<path style="fill:#7d7d7d" d="M275 75 L275 76 L264 76 L275 75 z"/>
<path style="fill:#3a3b3b" d="M281 76 L275 76 L275 75 L281 76 z"/>
<path style="fill:#686868" d="M254 76 L250 77 L254 76 z"/>
<path style="fill:#a2a3a3" d="M291 76 L291 77 L285 76 L291 76 z"/>
<path style="fill:#4a4b4b" d="M294 77 L291 77 L291 76 C291.9 76.19 293.9 75.41 294 77 z"/>
<path style="fill:#585858" d="M246 77 L246 78 L244 78 C243.8 76.82 245.3 76.98 246 77 z"/>
<path style="fill:#a8a8a8" d="M248 77 C248.2 78.18 246.7 78.02 246 78 L246 77 L248 77 z"/>
<path style="fill:#a0a0a0" d="M302 78 L297 77 L302 78 z"/>
<path style="fill:#707070" d="M242 78 C242.2 79.18 240.7 79.02 240 79 C239.8 77.82 241.3 77.98 242 78 z"/>
<path style="fill:#606060" d="M312 79 C311.1 78.81 309.1 79.59 309 78 C309.9 78.19 311.9 77.41 312 79 z"/>
<path style="fill:#707070" d="M238 79 C238.2 80.18 236.7 80.02 236 80 C235.8 78.82 237.3 78.98 238 79 z"/>
<path style="fill:#656565" d="M319 80 C318.1 79.81 316.1 80.59 316 79 C316.9 79.19 318.9 78.41 319 80 z"/>
<path style="fill:#787878" d="M235 80 C235.2 81.18 233.7 81.02 233 81 C232.8 79.82 234.3 79.98 235 80 z"/>
<path style="fill:#606060" d="M326 81 C325.1 80.81 323.1 81.59 323 80 C323.9 80.19 325.9 79.41 326 81 z"/>
<path style="fill:#a0a0a0" d="M232 81 L231 82 L232 81 z"/>
<path style="fill:#707070" d="M331 82 C330.3 82.02 328.8 82.18 329 81 C329.7 80.98 331.2 80.82 331 82 z"/>
<path style="fill:#606060" d="M229 82 L228 83 L229 82 z"/>
<path style="fill:#909090" d="M336 83 C335.3 83.02 333.8 83.18 334 82 C334.7 81.98 336.2 81.82 336 83 z"/>
<path style="fill:#686868" d="M195 84 L191 83 L195 84 z"/>
<path style="fill:#808080" d="M227 83 L226 84 L227 83 z"/>
<path style="fill:#989898" d="M341 84 C340.3 84.02 338.8 84.18 339 83 C339.7 82.98 341.2 82.82 341 84 z"/>
<path style="fill:#606060" d="M203 85 L199 84 L203 85 z"/>
<path style="fill:#888888" d="M346 85 C345.3 85.02 343.8 85.18 344 84 C344.7 83.98 346.2 83.82 346 85 z"/>
<path style="fill:#5c5c5c" d="M211 86 L207 85 L211 86 z"/>
<path style="fill:#585858" d="M229 86 C228.3 86.02 226.8 86.18 227 85 C227.7 84.98 229.2 84.82 229 86 z"/>
<path style="fill:#606060" d="M351 86 C350.3 86.02 348.8 86.18 349 85 C349.7 84.98 351.2 84.82 351 86 z"/>
<path style="fill:#989898" d="M217 87 L213 86 L217 87 z"/>
<path style="fill:#a8a8a8" d="M236 87 C235.3 87.02 233.8 87.18 234 86 C234.7 85.98 236.2 85.82 236 87 z"/>
<path style="fill:#606060" d="M355 87 C354.3 87.02 352.8 87.18 353 86 C353.7 85.98 355.2 85.82 355 87 z"/>
<path style="fill:#a0a0a0" d="M183 87 L182 88 L183 87 z"/>
<path style="fill:#909090" d="M225 88 L221 87 L225 88 z"/>
<path style="fill:#686868" d="M240 88 C239.3 88.02 237.8 88.18 238 87 C238.7 86.98 240.2 86.82 240 88 z"/>
<path style="fill:#909090" d="M358 88 C357.3 88.02 355.8 88.18 356 87 C356.7 86.98 358.2 86.82 358 88 z"/>
<path style="fill:#909090" d="M182 88 L181 89 L182 88 z"/>
<path style="fill:#a0a0a0" d="M232 89 C231.1 88.81 229.1 89.59 229 88 C229.9 88.19 231.9 87.41 232 89 z"/>
<path style="fill:#606060" d="M245 89 C244.3 89.02 242.8 89.18 243 88 C243.7 87.98 245.2 87.82 245 89 z"/>
<path style="fill:#909090" d="M361 89 L360 88 L361 89 z"/>
<path style="fill:#606060" d="M181 89 L180 90 L181 89 z"/>
<path style="fill:#686868" d="M242 90 L238 89 L242 90 z"/>
<path style="fill:#6e6e6e" d="M252 90 C251.3 89.98 249.8 89.82 250 91 L246 90 C246.7 90.02 248.2 90.18 248 89 L252 90 z"/>
<path style="fill:#a0a0a0" d="M364 90 L363 89 L364 90 z"/>
<path style="fill:#0c0c0c" d="M252 90 L254 90 L254 91 L250 91 C249.8 89.82 251.3 89.98 252 90 z"/>
<path style="fill:#505050" d="M260 91 L260 92 L254 91 L254 90 L260 91 z"/>
<path style="fill:#909090" d="M367 91 L366 90 L367 91 z"/>
<path style="fill:#989898" d="M260 92 L260 91 L266.8 92.25 C265.8 93.41 260.9 93.72 260 92 z"/>
<path style="fill:#606060" d="M372 93 L371 92 L372 93 z"/>
<path style="fill:#808080" d="M178 93 L177 94 L178 93 z"/>
<path style="fill:#909090" d="M375 95 L374 94 L375 95 z"/>
<path style="fill:#909090" d="M176 96 L175 97 L176 96 z"/>
<path style="fill:#707070" d="M378 98 L377 97 L378 98 z"/>
<path style="fill:#707070" d="M174 99 L173 100 L174 99 z"/>
<path style="fill:#a0a0a0" d="M379 100 L378 99 L379 100 z"/>
<path style="fill:#808080" d="M173 101 L172 102 L173 101 z"/>
<path style="fill:#808080" d="M172 103 L171 104 L172 103 z"/>
<path style="fill:#a0a0a0" d="M381 104 L380 103 L381 104 z"/>
<path style="fill:#606060" d="M171 105 L170 106 L171 105 z"/>
<path style="fill:#808080" d="M382 106 L381 105 L382 106 z"/>
<path style="fill:#606060" d="M383 108 L382 107 L383 108 z"/>
<path style="fill:#989898" d="M170 108 C170 108.7 170.2 110.2 169 110 C169 109.3 168.8 107.8 170 108 z"/>
<path style="fill:#a5a5a5" d="M169 112 L169 121 C167.3 119.3 167.3 113.7 169 112 z"/>
<path style="fill:#787878" d="M385 114 C383.8 114.2 384 112.7 384 112 C385.2 111.8 385 113.3 385 114 z"/>
<path style="fill:#787878" d="M386 117 C384.8 117.2 385 115.7 385 115 C386.2 114.8 386 116.3 386 117 z"/>
<path style="fill:#787878" d="M387 120 C385.8 120.2 386 118.7 386 118 C387.2 117.8 387 119.3 387 120 z"/>
<path style="fill:#b0b0b0" d="M388 124 C386.8 124.2 387 122.7 387 122 C388.2 121.8 388 123.3 388 124 z"/>
<path style="fill:#a0a0a0" d="M170 124 L169 123 L170 124 z"/>
<path style="fill:#888888" d="M389 127 C387.8 127.2 388 125.7 388 125 C389.2 124.8 389 126.3 389 127 z"/>
<path style="fill:#606060" d="M171 127 L170 126 L171 127 z"/>
<path style="fill:#606060" d="M172 129 L171 128 L172 129 z"/>
<path style="fill:#a0a0a0" d="M390 131 C388.8 131.2 389 129.7 389 129 C390.2 128.8 390 130.3 390 131 z"/>
<path style="fill:#808080" d="M174 132 L173 131 L174 132 z"/>
<path style="fill:#606060" d="M391 134 C389.8 134.2 390 132.7 390 132 C391.2 131.8 391 133.3 391 134 z"/>
<path style="fill:#707070" d="M177 136 L176 135 L177 136 z"/>
<path style="fill:#a0a0a0" d="M178 137 L177 136 L178 137 z"/>
<path style="fill:#a0a0a0" d="M179 138 L178 137 L179 138 z"/>
<path style="fill:#a0a0a0" d="M180 139 L179 138 L180 139 z"/>
<path style="fill:#a0a0a0" d="M181 140 L180 139 L181 140 z"/>
<path style="fill:#a0a0a0" d="M182 141 L181 140 L182 141 z"/>
<path style="fill:#a0a0a0" d="M183 142 L182 141 L183 142 z"/>
<path style="fill:#585858" d="M393 143 L392 143 L392 141 C393.2 140.8 393 142.3 393 143 z"/>
<path style="fill:#909090" d="M184 143 L183 142 L184 143 z"/>
<path style="fill:#606060" d="M185 144 L184 143 L185 144 z"/>
<path style="fill:#b0b0b0" d="M393 143 L393 145 C391.8 145.2 392 143.7 392 143 L393 143 z"/>
<path style="fill:#a0a0a0" d="M189 147 L188 146 L189 147 z"/>
<path style="fill:#606060" d="M190 148 L189 147 L190 148 z"/>
<path style="fill:#a0a0a0" d="M394 151 C392.4 150.9 393.2 148.9 393 148 C394.6 148.1 393.8 150.1 394 151 z"/>
<path style="fill:#808080" d="M193 150 L192 149 L193 150 z"/>
<path style="fill:#808080" d="M196 152 L195 151 L196 152 z"/>
<path style="fill:#808080" d="M188 154 C188.2 155.2 186.7 155 186 155 C185.8 153.8 187.3 154 188 154 z"/>
<path style="fill:#909090" d="M193 155 L192 154 L193 155 z"/>
<path style="fill:#696a6a" d="M395 159 L394 159 L394 154 L395 159 z"/>
<path style="fill:#b0b0b0" d="M185 155 C185.2 156.2 183.7 156 183 156 C182.8 154.8 184.3 155 185 155 z"/>
<path style="fill:#606060" d="M196 156 L195 155 L196 156 z"/>
<path style="fill:#888888" d="M181 156 C181.2 157.2 179.7 157 179 157 C178.8 155.8 180.3 156 181 156 z"/>
<path style="fill:#808080" d="M198 157 L197 156 L198 157 z"/>
<path style="fill:#707070" d="M177 157 C177.2 158.2 175.7 158 175 158 C174.8 156.8 176.3 157 177 157 z"/>
<path style="fill:#a0a0a0" d="M200 158 L199 157 L200 158 z"/>
<path style="fill:#909090" d="M174 158 C174.2 159.2 172.7 159 172 159 C171.8 157.8 173.3 158 174 158 z"/>
<path style="fill:#606060" d="M203 159 L202 158 L203 159 z"/>
<path style="fill:#606060" d="M209 159 L208 158 L209 159 z"/>
<path style="fill:#787878" d="M170 159 C170.2 160.2 168.7 160 168 160 C167.8 158.8 169.3 159 170 159 z"/>
<path style="fill:#a0a0a0" d="M205 160 L204 159 L205 160 z"/>
<path style="fill:#606060" d="M211 160 L210 159 L211 160 z"/>
<path style="fill:#b8b8b8" d="M395 159 L395 165 L394 165 L394 159 L395 159 z"/>
<path style="fill:#a8a8a8" d="M167 160 C167.2 161.2 165.7 161 165 161 C164.8 159.8 166.3 160 167 160 z"/>
<path style="fill:#606060" d="M208 161 L207 160 L208 161 z"/>
<path style="fill:#606060" d="M213 161 L212 160 L213 161 z"/>
<path style="fill:#808080" d="M163 161 C163.2 162.2 161.7 162 161 162 C160.8 160.8 162.3 161 163 161 z"/>
<path style="fill:#808080" d="M210 162 L209 161 L210 162 z"/>
<path style="fill:#606060" d="M215 162 L214 161 L215 162 z"/>
<path style="fill:#b0b0b0" d="M160 162 C160.2 163.2 158.7 163 158 163 C157.8 161.8 159.3 162 160 162 z"/>
<path style="fill:#606060" d="M217 163 L216 162 L217 163 z"/>
<path style="fill:#909090" d="M156 163 C156.2 164.2 154.7 164 154 164 C153.8 162.8 155.3 163 156 163 z"/>
<path style="fill:#707070" d="M215 164 L214 163 L215 164 z"/>
<path style="fill:#2e2f2f" d="M226 167 L226 168 L222 167 L221 166 L217 165 L217 164 L218 163 L226 167 z"/>
<path style="fill:#707070" d="M152 164 C152.2 165.2 150.7 165 150 165 C149.8 163.8 151.3 164 152 164 z"/>
<path style="fill:#a0a0a0" d="M217 164 L217 165 L216 164 L217 164 z"/>
<path style="fill:#989898" d="M149 165 C149.2 166.2 147.7 166 147 166 C146.8 164.8 148.3 165 149 165 z"/>
<path style="fill:#929393" d="M336 166 L336 167 C331.1 167.2 332.8 162.9 336 166 z"/>
<path style="fill:#686868" d="M395 165 L394 169 L394 165 L395 165 z"/>
<path style="fill:#808080" d="M145 166 C145.2 167.2 143.7 167 143 167 C142.8 165.8 144.3 166 145 166 z"/>
<path style="fill:#909090" d="M222 167 L221 166 L222 167 z"/>
<path style="fill:#525353" d="M344 168 L343 169 L336 167 L336 166 L344 168 z"/>
<path style="fill:#606060" d="M141 167 C141.2 168.2 139.7 168 139 168 C138.8 166.8 140.3 167 141 167 z"/>
<path style="fill:#808080" d="M227 168 L227 169 L226 168 L226 167 L227 168 z"/>
<path style="fill:#888888" d="M138 168 C138.2 169.2 136.7 169 136 169 C135.8 167.8 137.3 168 138 168 z"/>
<path style="fill:#202020" d="M228 168 L228 169 L227 169 L227 168 L228 168 z"/>
<path style="fill:#7c7c7c" d="M231 170 C230.1 169.8 228.1 170.6 228 169 L228 168 L231 170 z"/>
<path style="fill:#989898" d="M349 169 C348.3 169 346.8 169.2 347 168 C347.7 168 349.2 167.8 349 169 z"/>
<path style="fill:#707070" d="M134 169 C134.2 170.2 132.7 170 132 170 C131.8 168.8 133.3 169 134 169 z"/>
<path style="fill:#808080" d="M346 170 C345.3 170 343.8 170.2 344 169 C344.7 169 346.2 168.8 346 170 z"/>
<path style="fill:#686868" d="M353 170 C352.3 170 350.8 170.2 351 169 C351.7 169 353.2 168.8 353 170 z"/>
<path style="fill:#909090" d="M131 170 C131.2 171.2 129.7 171 129 171 C128.8 169.8 130.3 170 131 170 z"/>
<path style="fill:#808080" d="M231 170 C234.2 169.3 231.7 172.5 231 170 z"/>
<path style="fill:#606060" d="M349 171 L348 170 L349 171 z"/>
<path style="fill:#a8a8a8" d="M359 171 C358.3 171 356.8 171.2 357 170 C357.7 170 359.2 169.8 359 171 z"/>
<path style="fill:#5a5b5b" d="M363 172 C362.1 171.8 360.1 172.6 360 171 C360.9 171.2 362.9 170.4 363 172 z"/>
<path style="fill:#606060" d="M394 171 L393 172 L394 171 z"/>
<path style="fill:#505050" d="M356 173 C355.3 173 353.8 173.2 354 172 C354.7 172 356.2 171.8 356 173 z"/>
<path style="fill:#989898" d="M369 173 C368.3 173 366.8 173.2 367 172 C367.7 172 369.2 171.8 369 173 z"/>
<path style="fill:#909090" d="M358 174 L357 173 L358 174 z"/>
<path style="fill:#a5a5a5" d="M376 174 C375.1 173.8 373.1 174.6 373 173 C373.9 173.2 375.9 172.4 376 174 z"/>
<path style="fill:#707070" d="M362 175 C361.3 175 359.8 175.2 360 174 C360.7 174 362.2 173.8 362 175 z"/>
<path style="fill:#646464" d="M382 175 L378 174 L382 175 z"/>
<path style="fill:#787878" d="M365 176 C364.3 176 362.8 176.2 363 175 C363.7 175 365.2 174.8 365 176 z"/>
<path style="fill:#606060" d="M368 177 L367 176 L368 177 z"/>
<path style="fill:#909090" d="M377 180 L376 179 L377 180 z"/>
<path style="fill:#707070" d="M379 182 L378 181 L379 182 z"/>
<path style="fill:#a0a0a0" d="M380 185 L379 184 L380 185 z"/>
<path style="fill:#606060" d="M381 187 L380 186 L381 187 z"/>
<path style="fill:#707070" d="M382 190 L381 189 L382 190 z"/>
<path style="fill:#707070" d="M383 193 L382 192 L383 193 z"/>
<path style="fill:#909090" d="M384 197 C382.8 197.2 383 195.7 383 195 C384.2 194.8 384 196.3 384 197 z"/>
<path style="fill:#787878" d="M385 200 C383.8 200.2 384 198.7 384 198 C385.2 197.8 385 199.3 385 200 z"/>
<path style="fill:#a0a0a0" d="M386 204 C384.8 204.2 385 202.7 385 202 C386.2 201.8 386 203.3 386 204 z"/>
<path style="fill:#707070" d="M387 207 C385.8 207.2 386 205.7 386 205 C387.2 204.8 387 206.3 387 207 z"/>
<path style="fill:#707070" d="M388 211 C386.8 211.2 387 209.7 387 209 C388.2 208.8 388 210.3 388 211 z"/>
<path style="fill:#606060" d="M389 215 C387.8 215.2 388 213.7 388 213 C389.2 212.8 389 214.3 389 215 z"/>
<path style="fill:#686868" d="M390 220 C388.8 220.2 389 218.7 389 218 C390.2 217.8 390 219.3 390 220 z"/>
<path style="fill:#585858" d="M391 225 L390 225 L390 223 C391.2 222.8 391 224.3 391 225 z"/>
<path style="fill:#a8a8a8" d="M391 225 L391 227 C389.8 227.2 390 225.7 390 225 L391 225 z"/>
<path style="fill:#707070" d="M392 233 L391 229 L392 233 z"/>
<path style="fill:#909090" d="M324 236 L323 236 C320.3 234.8 323.9 233.2 324 236 z"/>
<path style="fill:#202020" d="M324 236 L324 237 L323 237 L323 236 L324 236 z"/>
<path style="fill:#a0a0a0" d="M324 237 L324 238 L323 237 L324 237 z"/>
<path style="fill:#666666" d="M393 242 L392 237 L393 242 z"/>
<path style="fill:#a0a0a0" d="M328 241 L327 240 L328 241 z"/>
<path style="fill:#707070" d="M328 245 L327 244 L328 245 z"/>
<path style="fill:#606060" d="M331 245 L330 244 L331 245 z"/>
<path style="fill:#909090" d="M332 246 L331 245 L332 246 z"/>
<path style="fill:#909090" d="M329 247 L328 246 L329 247 z"/>
<path style="fill:#a0a0a0" d="M333 247 L332 246 L333 247 z"/>
<path style="fill:#707070" d="M331 250 L330 249 L331 250 z"/>
<path style="fill:#606060" d="M338 253 L337 252 L338 253 z"/>
<path style="fill:#606060" d="M339 254 L338 253 L339 254 z"/>
<path style="fill:#606060" d="M340 255 L339 254 L340 255 z"/>
<path style="fill:#606060" d="M341 256 L340 255 L341 256 z"/>
<path style="fill:#606060" d="M342 257 L341 256 L342 257 z"/>
<path style="fill:#606060" d="M343 258 L342 257 L343 258 z"/>
<path style="fill:#707070" d="M337 259 L336 258 L337 259 z"/>
<path style="fill:#606060" d="M344 259 L343 258 L344 259 z"/>
<path style="fill:#606060" d="M345 260 L344 259 L345 260 z"/>
<path style="fill:#606060" d="M346 261 L345 260 L346 261 z"/>
<path style="fill:#606060" d="M347 262 L346 261 L347 262 z"/>
<path style="fill:#707070" d="M340 263 L339 262 L340 263 z"/>
<path style="fill:#606060" d="M348 263 L347 262 L348 263 z"/>
<path style="fill:#606060" d="M349 264 L348 263 L349 264 z"/>
<path style="fill:#a0a0a0" d="M343 267 L342 266 L343 267 z"/>
<path style="fill:#808080" d="M344 268 L343 267 L344 268 z"/>
<path style="fill:#636363" d="M393 267 L392 272 L393 267 z"/>
<path style="fill:#606060" d="M345 269 L344 268 L345 269 z"/>
<path style="fill:#a0a0a0" d="M356 270 L355 269 L356 270 z"/>
<path style="fill:#909090" d="M357 271 L356 270 L357 271 z"/>
<path style="fill:#606060" d="M358 272 L357 271 L358 272 z"/>
<path style="fill:#a0a0a0" d="M392 274 C391.8 274.9 392.6 276.9 391 277 C391.2 276.1 390.4 274.1 392 274 z"/>
<path style="fill:#808080" d="M363 276 L362 275 L363 276 z"/>
<path style="fill:#a0a0a0" d="M367 279 L366 278 L367 279 z"/>
<path style="fill:#606060" d="M368 280 L367 279 L368 280 z"/>
<path style="fill:#a8a8a8" d="M391 280 C391 280.7 391.2 282.2 390 282 C390 281.3 389.8 279.8 391 280 z"/>
<path style="fill:#a0a0a0" d="M371 282 L370 281 L371 282 z"/>
<path style="fill:#606060" d="M372 283 L371 282 L372 283 z"/>
<path style="fill:#606060" d="M360 284 L359 283 L360 284 z"/>
<path style="fill:#a0a0a0" d="M361 285 L360 284 L361 285 z"/>
<path style="fill:#808080" d="M375 285 L374 284 L375 285 z"/>
<path style="fill:#909090" d="M390 285 C390 285.7 390.2 287.2 389 287 C389 286.3 388.8 284.8 390 285 z"/>
<path style="fill:#909090" d="M378 287 L377 286 L378 287 z"/>
<path style="fill:#606060" d="M365 288 L364 287 L365 288 z"/>
<path style="fill:#909090" d="M366 289 L365 288 L366 289 z"/>
<path style="fill:#909090" d="M381 289 L380 288 L381 289 z"/>
<path style="fill:#606060" d="M225 290 L224 289 L225 290 z"/>
<path style="fill:#808080" d="M389 289 C389 289.7 389.2 291.2 388 291 C388 290.3 387.8 288.8 389 289 z"/>
<path style="fill:#a0a0a0" d="M228 291 L227 290 L228 291 z"/>
<path style="fill:#606060" d="M369 291 L368 290 L369 291 z"/>
<path style="fill:#808080" d="M384 291 L383 290 L384 291 z"/>
<path style="fill:#606060" d="M221 291 L220 292 L221 291 z"/>
<path style="fill:#808080" d="M230 292 L229 291 L230 292 z"/>
<path style="fill:#a0a0a0" d="M220 292 L219 293 L220 292 z"/>
<path style="fill:#606060" d="M232 293 L231 292 L232 293 z"/>
<path style="fill:#606060" d="M388 292 C388.2 293.3 385.8 293.3 386 292 L388 292 z"/>
<path style="fill:#a0a0a0" d="M235 294 L234 293 L235 294 z"/>
<path style="fill:#a0a0a0" d="M373 294 L372 293 L373 294 z"/>
<path style="fill:#808080" d="M237 295 L236 294 L237 295 z"/>
<path style="fill:#606060" d="M239 296 L238 295 L239 296 z"/>
<path style="fill:#606060" d="M217 296 L216 297 L217 296 z"/>
<path style="fill:#a0a0a0" d="M242 297 L241 296 L242 297 z"/>
<path style="fill:#808080" d="M378 297 L377 296 L378 297 z"/>
<path style="fill:#909090" d="M216 297 L215 298 L216 297 z"/>
<path style="fill:#808080" d="M244 298 L243 297 L244 298 z"/>
<path style="fill:#606060" d="M380 298 L379 297 L380 298 z"/>
<path style="fill:#606060" d="M246 299 L245 298 L246 299 z"/>
<path style="fill:#a0a0a0" d="M249 300 L248 299 L249 300 z"/>
<path style="fill:#808080" d="M251 301 L250 300 L251 301 z"/>
<path style="fill:#606060" d="M253 302 L252 301 L253 302 z"/>
<path style="fill:#707070" d="M212 302 L211 303 L212 302 z"/>
<path style="fill:#a0a0a0" d="M256 303 L255 302 L256 303 z"/>
<path style="fill:#808080" d="M385 302 L384 303 L385 302 z"/>
<path style="fill:#a0a0a0" d="M211 303 L210 304 L211 303 z"/>
<path style="fill:#808080" d="M258 304 L257 303 L258 304 z"/>
<path style="fill:#606060" d="M260 305 L259 304 L260 305 z"/>
<path style="fill:#909090" d="M265 307 L264 306 L265 307 z"/>
<path style="fill:#606060" d="M208 307 L207 308 L208 307 z"/>
<path style="fill:#606060" d="M267 308 L266 307 L267 308 z"/>
<path style="fill:#909090" d="M383 307 L382 308 L383 307 z"/>
<path style="fill:#909090" d="M207 308 L206 309 L207 308 z"/>
<path style="fill:#909090" d="M272 310 L271 309 L272 310 z"/>
<path style="fill:#606060" d="M274 311 L273 310 L274 311 z"/>
<path style="fill:#606060" d="M382 310 L381 311 L382 310 z"/>
<path style="fill:#909090" d="M279 313 L278 312 L279 313 z"/>
<path style="fill:#909090" d="M381 312 L380 313 L381 312 z"/>
<path style="fill:#707070" d="M203 313 L202 314 L203 313 z"/>
<path style="fill:#606060" d="M281 314 L280 313 L281 314 z"/>
<path style="fill:#a0a0a0" d="M202 314 L201 315 L202 314 z"/>
<path style="fill:#a0a0a0" d="M286 316 L285 315 L286 316 z"/>
<path style="fill:#707070" d="M288 317 L287 316 L288 317 z"/>
<path style="fill:#707070" d="M379 317 L378 318 L379 317 z"/>
<path style="fill:#606060" d="M199 318 L198 319 L199 318 z"/>
<path style="fill:#a0a0a0" d="M293 319 L292 318 L293 319 z"/>
<path style="fill:#909090" d="M198 319 L197 320 L198 319 z"/>
<path style="fill:#707070" d="M295 320 L294 319 L295 320 z"/>
<path style="fill:#a0a0a0" d="M378 319 L377 320 L378 319 z"/>
<path style="fill:#a0a0a0" d="M300 322 L299 321 L300 322 z"/>
<path style="fill:#707070" d="M302 323 L301 322 L302 323 z"/>
<path style="fill:#606060" d="M377 322 L376 323 L377 322 z"/>
<path style="fill:#707070" d="M194 324 L193 325 L194 324 z"/>
<path style="fill:#a0a0a0" d="M307 325 L306 324 L307 325 z"/>
<path style="fill:#707070" d="M376 324 L375 325 L376 324 z"/>
<path style="fill:#a0a0a0" d="M193 325 L192 326 L193 325 z"/>
<path style="fill:#707070" d="M309 326 L308 325 L309 326 z"/>
<path style="fill:#808080" d="M375 326 L374 327 L375 326 z"/>
<path style="fill:#a0a0a0" d="M314 328 L313 327 L314 328 z"/>
<path style="fill:#808080" d="M316 329 L315 328 L316 329 z"/>
<path style="fill:#a0a0a0" d="M374 328 L373 329 L374 328 z"/>
<path style="fill:#606060" d="M190 329 L189 330 L190 329 z"/>
<path style="fill:#606060" d="M318 330 L317 329 L318 330 z"/>
<path style="fill:#909090" d="M189 330 L188 331 L189 330 z"/>
<path style="fill:#a0a0a0" d="M321 331 L320 330 L321 331 z"/>
<path style="fill:#808080" d="M323 332 L322 331 L323 332 z"/>
<path style="fill:#606060" d="M325 333 L324 332 L325 333 z"/>
<path style="fill:#a0a0a0" d="M328 334 L327 333 L328 334 z"/>
<path style="fill:#808080" d="M330 335 L329 334 L330 335 z"/>
<path style="fill:#707070" d="M185 335 L184 336 L185 335 z"/>
<path style="fill:#606060" d="M332 336 L331 335 L332 336 z"/>
<path style="fill:#a0a0a0" d="M184 336 L183 337 L184 336 z"/>
<path style="fill:#a0a0a0" d="M335 337 L334 336 L335 337 z"/>
<path style="fill:#808080" d="M337 338 L336 337 L337 338 z"/>
<path style="fill:#606060" d="M339 339 L338 338 L339 339 z"/>
<path style="fill:#a0a0a0" d="M342 340 L341 339 L342 340 z"/>
<path style="fill:#606060" d="M181 340 L180 341 L181 340 z"/>
<path style="fill:#808080" d="M344 341 L343 340 L344 341 z"/>
<path style="fill:#a0a0a0" d="M368 340 L367 341 L368 340 z"/>
<path style="fill:#a0a0a0" d="M180 341 L179 342 L180 341 z"/>
<path style="fill:#606060" d="M346 342 L345 341 L346 342 z"/>
<path style="fill:#a0a0a0" d="M349 343 L348 342 L349 343 z"/>
<path style="fill:#707070" d="M367 342 L366 343 L367 342 z"/>
<path style="fill:#808080" d="M351 344 L350 343 L351 344 z"/>
<path style="fill:#606060" d="M353 345 L352 344 L353 345 z"/>
<path style="fill:#a0a0a0" d="M356 346 L355 345 L356 346 z"/>
<path style="fill:#808080" d="M365 345 L364 346 L365 345 z"/>
<path style="fill:#808080" d="M176 346 L175 347 L176 346 z"/>
<path style="fill:#808080" d="M358 347 L357 346 L358 347 z"/>
<path style="fill:#a0a0a0" d="M175 347 L174 348 L175 347 z"/>
<path style="fill:#606060" d="M360 348 L359 347 L360 348 z"/>
<path style="fill:#606060" d="M172 351 L171 352 L172 351 z"/>
<path style="fill:#a0a0a0" d="M171 352 L170 353 L171 352 z"/>
<path style="fill:#808080" d="M167 357 L166 358 L167 357 z"/>
<path style="fill:#a0a0a0" d="M166 358 L165 359 L166 358 z"/>
<path style="fill:#a8a8a8" d="M460 358 C460 358.7 460.2 360.2 459 360 L459 358 L460 358 z"/>
<path style="fill:#606060" d="M459 361 L458 362 L459 361 z"/>
<path style="fill:#606060" d="M163 362 L162 363 L163 362 z"/>
<path style="fill:#a0a0a0" d="M162 363 L161 364 L162 363 z"/>
<path style="fill:#606060" d="M159 367 L158 368 L159 367 z"/>
<path style="fill:#808080" d="M158 368 L157 369 L158 368 z"/>
<path style="fill:#a0a0a0" d="M455 368 L454 369 L455 368 z"/>
<path style="fill:#808080" d="M454 369 L453 370 L454 369 z"/>
<path style="fill:#a0a0a0" d="M453 370 L452 371 L453 370 z"/>
<path style="fill:#707070" d="M450 372 L449 373 L450 372 z"/>
<path style="fill:#606060" d="M154 373 L153 374 L154 373 z"/>
<path style="fill:#606060" d="M448 373 L447 374 L448 373 z"/>
<path style="fill:#808080" d="M153 374 L441 375 C347.2 376 242.5 378 153 374 z"/>
<path style="fill:#787878" d="M446 374 C446.2 375.2 444.7 375 444 375 C443.8 373.8 445.3 374 446 374 z"/>
<path style="fill:#404040" d="M462 387 L462 388 L452 388 L462 387 z"/>
<path style="fill:#909090" d="M462 389 L462 388 L462 387 C463.3 386.8 463.3 389.2 462 389 z"/>
<path style="fill:#0d0e0e" d="M467 389 L468 390 L468 392 L469 393 L469 395 L470 396 L470 397 L471 399 L471 400 L469 400 L469 399 L468 398 L468 396 L467 395 L467 392 C463.7 387.1 465.4 397.8 465 400 L464 400 C464.1 396.7 462.8 382.8 467 389 z"/>
<path style="fill:#080808" d="M476 387 L475 400 L474 392 L473 391 L473 389 L474 388 C473.8 386.8 475.3 387 476 387 z"/>
<path style="fill:#868686" d="M475 400 L476 387 C477.4 389.3 478.4 401.9 475 400 z"/>
<path style="fill:#0" d="M462 388 L462 389 L459 389 L458 400 L457 400 L456 389 L452 388 L462 388 z"/>
<path style="fill:#909090" d="M474 388 L473 389 L474 388 z"/>
<path style="fill:#404040" d="M457 400 L456 400 L456 389 L457 400 z"/>
<path style="fill:#c0c0c0" d="M459 389 L458 400 L459 389 z"/>
<path style="fill:#909090" d="M468 390 L467 389 L468 390 z"/>
<path style="fill:#3b3c3c" d="M467 392 L466 400 L465 400 C465.4 397.8 463.7 387.1 467 392 z"/>
<path style="fill:#2c2c2c" d="M473 391 L474 392 L473 394 L473 396 L472 397 L472 399 L471 399 L470 397 L473 391 z"/>
<path style="fill:#7e7e7e" d="M475 400 L473 394 L474 392 L475 400 z"/>
<path style="fill:#909090" d="M469 393 L468 392 L469 393 z"/>
<path style="fill:#909090" d="M468 396 L467 395 L468 396 z"/>
<path style="fill:#909090" d="M470 396 L469 395 L470 396 z"/>
<path style="fill:#909090" d="M473 396 L472 397 L473 396 z"/>
<path style="fill:#888888" d="M166 397 C166.2 398.2 164.7 398 164 398 C163.8 396.8 165.3 397 166 397 z"/>
<path style="fill:#0" d="M175 397 C174.8 398.2 176.3 398 177 398 L179 398 L180 399 L183 400 L184 401 L185 402 L186 403 L187 404 L188 406 C187.6 407.1 189.4 407.1 189 406 L190 405 L191 404 L192 403 L195 401 L196 400 L202 398 C202.7 398 204.2 398.2 204 397 L211 397 C211.1 398.6 213.1 397.8 214 398 L217 398 L218 399 L219 399 L220 400 L222 401 L223 402 L224 403 L225 405 L226 406 L226 407 L227 408 L227 409 C227 409.7 226.8 411.2 228 411 L228 414 L228 457 L206.3 456.8 L206 421 C206 420.3 206.2 418.8 205 419 L204 417 L203 416 L202 416 L201 415 L196 415 L195 416 C193.5 416.7 191.7 418.1 192 420 L191 421 L191 422 L190 457 L168 457 L168 421 C168 420.3 168.2 418.8 167 419 L166 417 L165 416 C163 414.4 160.4 415.1 158 415 L157 416 L154 419 L153 420 L153 421 C151.8 420.8 152 422.3 152 423 L152 457 L130 457 L130 399 L150 399 C150.1 400.8 149.1 408.1 152 405 L153 404 L154 403 L155 402 L157 401 L158 400 L164 398 C164.7 398 166.2 398.2 166 397 L175 397 z"/>
<path style="fill:#707070" d="M177 398 C176.3 398 174.8 398.2 175 397 C175.7 397 177.2 396.8 177 398 z"/>
<path style="fill:#808080" d="M204 397 C204.2 398.2 202.7 398 202 398 C201.8 396.8 203.3 397 204 397 z"/>
<path style="fill:#4a4b4b" d="M214 398 C213.1 397.8 211.1 398.6 211 397 C211.9 397.2 213.9 396.4 214 398 z"/>
<path style="fill:#696a6a" d="M269 397 L264 398 L269 397 z"/>
<path style="fill:#010101" d="M276 397 L280 398 L282 398 L284 398 C283.8 399.2 285.3 399 286 399 L287 399 L288 400 L290 400 L291 401 L296 404 L297 405 L298 406 L299 407 L300 408 L303 413 L304 414 L304 416 L305 417 L305 419 C305 419.7 304.8 421.2 306 421 L306 424 L306 432 L306 434 C304.8 433.8 305 435.3 305 436 L305 438 L304 439 L304 441 L303 442 L300 447 L299 448 L298 449 L297 450 L296 451 L293 453 L292 454 L291 454 L290 455 L289 455 L288 456 L282 457 C281.1 457.2 279.1 456.4 279 458 L276 458 L269 458 L265 458 C265.2 456.8 263.7 457 263 457 L261 457 C261.2 455.8 259.7 456 259 456 L258 456 L257 455 L252 453 L251 452 L245 446 L244 445 L243 443 L242 442 L242 441 L241 440 L241 439 C241 438.3 241.2 436.8 240 437 L240 435 C240 434.3 240.2 432.8 239 433 L239 423 C240.2 423.2 240 421.7 240 421 L240 419 C241.2 419.2 241 417.7 241 417 C241.3 414 243.4 411.5 245 409 L246 408 L249 405 L250 404 L251 403 L253 402 L254 401 L255 401 L256 400 L257 400 L258 399 L260 399 C260.7 399 262.2 399.2 262 398 L264 398 L269 397 L276 397 z"/>
<path style="fill:#545454" d="M280 397 L280 398 L276 397 L280 397 z"/>
<path style="fill:#b0b0b0" d="M282 398 L280 398 L280 397 C280.7 397 282.2 396.8 282 398 z"/>
<path style="fill:#909090" d="M354 397 C354.2 398.2 352.7 398 352 398 C351.8 396.8 353.3 397 354 397 z"/>
<path style="fill:#0" d="M364 397 C363.8 398.2 365.3 398 366 398 L367 398 L368 399 L369 399 L370 400 L372 401 L373 402 L374 403 L375 404 L377 409 C377 409.7 376.8 411.2 378 411 L378 412 L378 416 L378 457 L356.3 456.8 L356 421 C356 420.3 356.2 418.8 355 419 L355 418 L354 417 L353 416 C350.4 414.5 346.6 414.5 344 416 L343 417 L342 418 L341 419 L341 420 C339.8 419.8 340 421.3 340 422 L340 423 L339 457 L317 457 L317 399 L338 399 L339 406 L340 405 L341 404 L342 403 L345 401 L346 400 L347 400 L348 399 L349 399 L350 398 L352 398 C352.7 398 354.2 398.2 354 397 L364 397 z"/>
<path style="fill:#b0b0b0" d="M366 398 C365.3 398 363.8 398.2 364 397 C364.7 397 366.2 396.8 366 398 z"/>
<path style="fill:#696a6a" d="M419 397 L414 398 L419 397 z"/>
<path style="fill:#010101" d="M426 397 L431 398 L434 398 C433.8 399.2 435.3 399 436 399 L437 399 L438 400 L440 400 L441 401 L446 404 L447 405 L448 406 L449 407 L450 408 L453 413 L454 414 L454 416 L455 417 L455 418 C455 418.7 454.8 420.2 456 420 L456 426 L456 432 L456 435 C454.8 434.8 455 436.3 455 437 L455 438 C453.8 437.8 454 439.3 454 440 L454 441 L453 442 L450 447 L449 448 L448 449 L447 450 L446 451 L445 452 L443 453 L442 454 L441 454 L440 455 L439 455 L438 456 L437 456 C436.3 456 434.8 455.8 435 457 L432 457 C431.1 457.2 429.1 456.4 429 458 L426 458 L419 458 L415 458 C415.2 456.8 413.7 457 413 457 L411 457 C411.2 455.8 409.7 456 409 456 L408 456 L407 455 L402 453 L401 452 L395 446 L394 445 L393 443 L392 442 L392 441 L391 440 L391 438 L390 437 L390 434 L389 430 L389 423 C390.2 423.2 390 421.7 390 421 L390 419 C391.2 419.2 391 417.7 391 417 L391 416 L392 415 L393 412 L394 411 L395 409 L396 408 L397 407 L398 406 L399 405 L400 404 L401 403 L403 402 L404 401 L405 401 L406 400 L407 400 C407.7 400 409.2 400.2 409 399 L410 399 C410.7 399 412.2 399.2 412 398 L414 398 L419 397 L426 397 z"/>
<path style="fill:#606060" d="M431 398 L426 397 L431 398 z"/>
<path style="fill:#808181" d="M130 398 L130 399 L130 457 C128.3 438.7 128.3 416.3 130 398 z"/>
<path style="fill:#404040" d="M150 398 L150 399 L130 399 L130 398 L150 398 z"/>
<path style="fill:#878787" d="M152 405 C149.1 408.1 150.1 400.8 150 399 L150 398 L152 405 z"/>
<path style="fill:#606060" d="M180 399 L179 398 L180 399 z"/>
<path style="fill:#909090" d="M218 399 L217 398 L218 399 z"/>
<path style="fill:#787878" d="M262 398 C262.2 399.2 260.7 399 260 399 C259.8 397.8 261.3 398 262 398 z"/>
<path style="fill:#909090" d="M286 399 C285.3 399 283.8 399.2 284 398 C284.7 398 286.2 397.8 286 399 z"/>
<path style="fill:#c0c0c0" d="M317 398 L317 399 L317 457 C315.3 438.7 315.3 416.3 317 398 z"/>
<path style="fill:#404040" d="M338 399 L317 399 L317 398 L338 399 z"/>
<path style="fill:#707070" d="M350 398 L349 399 L350 398 z"/>
<path style="fill:#808080" d="M368 399 L367 398 L368 399 z"/>
<path style="fill:#787878" d="M412 398 C412.2 399.2 410.7 399 410 399 C409.8 397.8 411.3 398 412 398 z"/>
<path style="fill:#909090" d="M436 399 C435.3 399 433.8 399.2 434 398 C434.7 398 436.2 397.8 436 399 z"/>
<path style="fill:#a0a0a0" d="M469 399 L468 398 L469 399 z"/>
<path style="fill:#808080" d="M220 400 L219 399 L220 400 z"/>
<path style="fill:#a0a0a0" d="M258 399 L257 400 L258 399 z"/>
<path style="fill:#606060" d="M288 400 L287 399 L288 400 z"/>
<path style="fill:#606060" d="M348 399 L347 400 L348 399 z"/>
<path style="fill:#707070" d="M370 400 L369 399 L370 400 z"/>
<path style="fill:#787878" d="M409 399 C409.2 400.2 407.7 400 407 400 C406.8 398.8 408.3 399 409 399 z"/>
<path style="fill:#606060" d="M438 400 L437 399 L438 400 z"/>
<path style="fill:#a0a0a0" d="M472 399 L471 400 L471 399 L472 399 z"/>
<path style="fill:#707070" d="M158 400 L157 401 L158 400 z"/>
<path style="fill:#a0a0a0" d="M184 401 L183 400 L184 401 z"/>
<path style="fill:#808080" d="M196 400 L195 401 L196 400 z"/>
<path style="fill:#808080" d="M256 400 L255 401 L256 400 z"/>
<path style="fill:#a0a0a0" d="M291 401 L290 400 L291 401 z"/>
<path style="fill:#808080" d="M346 400 L345 401 L346 400 z"/>
<path style="fill:#808080" d="M406 400 L405 401 L406 400 z"/>
<path style="fill:#a0a0a0" d="M441 401 L440 400 L441 401 z"/>
<path style="fill:#909090" d="M457 400 L458 400 C458.2 401.3 455.8 401.3 456 400 L457 400 z"/>
<path style="fill:#909090" d="M465 400 L466 400 C466.2 401.3 463.8 401.3 464 400 L465 400 z"/>
<path style="fill:#909090" d="M471 400 C471.2 401.3 468.8 401.3 469 400 L471 400 z"/>
<path style="fill:#808080" d="M185 402 L184 401 L185 402 z"/>
<path style="fill:#a0a0a0" d="M223 402 L222 401 L223 402 z"/>
<path style="fill:#909090" d="M254 401 L253 402 L254 401 z"/>
<path style="fill:#a0a0a0" d="M373 402 L372 401 L373 402 z"/>
<path style="fill:#a0a0a0" d="M404 401 L403 402 L404 401 z"/>
<path style="fill:#a0a0a0" d="M155 402 L154 403 L155 402 z"/>
<path style="fill:#808080" d="M186 403 L185 402 L186 403 z"/>
<path style="fill:#a0a0a0" d="M224 403 L223 402 L224 403 z"/>
<path style="fill:#808080" d="M374 403 L373 402 L374 403 z"/>
<path style="fill:#a0a0a0" d="M154 403 L153 404 L154 403 z"/>
<path style="fill:#a0a0a0" d="M187 404 L186 403 L187 404 z"/>
<path style="fill:#a0a0a0" d="M192 403 L191 404 L192 403 z"/>
<path style="fill:#909090" d="M251 403 L250 404 L251 403 z"/>
<path style="fill:#a0a0a0" d="M342 403 L341 404 L342 403 z"/>
<path style="fill:#a0a0a0" d="M375 404 L374 403 L375 404 z"/>
<path style="fill:#a0a0a0" d="M401 403 L400 404 L401 403 z"/>
<path style="fill:#a0a0a0" d="M153 404 L152 405 L153 404 z"/>
<path style="fill:#a0a0a0" d="M191 404 L190 405 L191 404 z"/>
<path style="fill:#606060" d="M250 404 L249 405 L250 404 z"/>
<path style="fill:#a0a0a0" d="M297 405 L296 404 L297 405 z"/>
<path style="fill:#a0a0a0" d="M341 404 L340 405 L341 404 z"/>
<path style="fill:#606060" d="M400 404 L399 405 L400 404 z"/>
<path style="fill:#909090" d="M447 405 L446 404 L447 405 z"/>
<path style="fill:#a0a0a0" d="M190 405 L189 406 L190 405 z"/>
<path style="fill:#606060" d="M226 406 L225 405 L226 406 z"/>
<path style="fill:#808080" d="M298 406 L297 405 L298 406 z"/>
<path style="fill:#a0a0a0" d="M340 405 L339 406 L340 405 z"/>
<path style="fill:#606060" d="M399 405 L398 406 L399 405 z"/>
<path style="fill:#606060" d="M448 406 L447 405 L448 406 z"/>
<path style="fill:#606060" d="M189 406 C189.4 407.1 187.6 407.1 188 406 L189 406 z"/>
<path style="fill:#808080" d="M299 407 L298 406 L299 407 z"/>
<path style="fill:#606060" d="M398 406 L397 407 L398 406 z"/>
<path style="fill:#606060" d="M449 407 L448 406 L449 407 z"/>
<path style="fill:#606060" d="M227 408 L226 407 L227 408 z"/>
<path style="fill:#a0a0a0" d="M300 408 L299 407 L300 408 z"/>
<path style="fill:#606060" d="M397 407 L396 408 L397 407 z"/>
<path style="fill:#909090" d="M450 408 L449 407 L450 408 z"/>
<path style="fill:#707070" d="M246 408 L245 409 L246 408 z"/>
<path style="fill:#808080" d="M396 408 L395 409 L396 408 z"/>
<path style="fill:#787878" d="M228 411 C226.8 411.2 227 409.7 227 409 C228.2 408.8 228 410.3 228 411 z"/>
<path style="fill:#686868" d="M378 411 C376.8 411.2 377 409.7 377 409 C378.2 408.8 378 410.3 378 411 z"/>
<path style="fill:#606060" d="M394 411 L393 412 L394 411 z"/>
<path style="fill:#909090" d="M379 416 L378 416 L378 412 L379 416 z"/>
<path style="fill:#606060" d="M269 413 L268 414 L269 413 z"/>
<path style="fill:#fdfefe" d="M276 413 L277 414 L278 414 L279 415 L280 416 L281 417 L282 419 C282 419.7 281.8 421.2 283 421 L283 423 L283 432 L283 435 L282 436 L282 437 L281 438 L278 441 L277 442 L276 442 L270 442 L268 442 L267 441 L265 439 L264 438 L263 435 L262 434 L262 431 L262 425 L262 422 C263.2 422.2 263 420.7 263 420 L263 419 L264 418 L268 414 L269 413 L276 413 z"/>
<path style="fill:#a0a0a0" d="M277 414 L276 413 L277 414 z"/>
<path style="fill:#a0a0a0" d="M304 414 L303 413 L304 414 z"/>
<path style="fill:#606060" d="M419 413 L418 414 L419 413 z"/>
<path style="fill:#fdfdfd" d="M426 413 L427 414 L428 414 L429 415 L430 416 L431 417 L432 418 L432 419 L433 420 L433 423 L433 432 L433 435 L432 436 L431 439 L430 440 L429 441 L426 442 L425 443 L421 443 C421.2 441.8 419.7 442 419 442 L417 441 L416 440 L415 439 L414 438 L413 435 C413 434.3 413.2 432.8 412 433 L412 423 C413.2 423.2 413 421.7 413 421 L413 419 L414 418 L418 414 L419 413 L426 413 z"/>
<path style="fill:#a0a0a0" d="M427 414 L426 413 L427 414 z"/>
<path style="fill:#a0a0a0" d="M454 414 L453 413 L454 414 z"/>
<path style="fill:#434343" d="M228 457 L228 414 C229.7 427 229.7 444 228 457 z"/>
<path style="fill:#808080" d="M279 415 L278 414 L279 415 z"/>
<path style="fill:#909090" d="M429 415 L428 414 L429 415 z"/>
<path style="fill:#a0a0a0" d="M158 415 L157 416 L158 415 z"/>
<path style="fill:#606060" d="M196 415 L195 416 L196 415 z"/>
<path style="fill:#a0a0a0" d="M202 416 L201 415 L202 416 z"/>
<path style="fill:#a0a0a0" d="M280 416 L279 415 L280 416 z"/>
<path style="fill:#606060" d="M392 415 L391 416 L392 415 z"/>
<path style="fill:#606060" d="M166 417 L165 416 L166 417 z"/>
<path style="fill:#606060" d="M204 417 L203 416 L204 417 z"/>
<path style="fill:#a0a0a0" d="M281 417 L280 416 L281 417 z"/>
<path style="fill:#606060" d="M305 417 L304 416 L305 417 z"/>
<path style="fill:#a0a0a0" d="M344 416 L343 417 L344 416 z"/>
<path style="fill:#808080" d="M354 417 L353 416 L354 417 z"/>
<path style="fill:#404040" d="M379 416 L378 457 L378 416 L379 416 z"/>
<path style="fill:#a0a0a0" d="M431 417 L430 416 L431 417 z"/>
<path style="fill:#606060" d="M455 417 L454 416 L455 417 z"/>
<path style="fill:#686868" d="M241 417 C241 417.7 241.2 419.2 240 419 C240 418.3 239.8 416.8 241 417 z"/>
<path style="fill:#a0a0a0" d="M343 417 L342 418 L343 417 z"/>
<path style="fill:#707070" d="M355 418 L354 417 L355 418 z"/>
<path style="fill:#787878" d="M391 417 C391 417.7 391.2 419.2 390 419 C390 418.3 389.8 416.8 391 417 z"/>
<path style="fill:#707070" d="M432 418 L431 417 L432 418 z"/>
<path style="fill:#808080" d="M264 418 L263 419 L264 418 z"/>
<path style="fill:#808080" d="M342 418 L341 419 L342 418 z"/>
<path style="fill:#606060" d="M414 418 L413 419 L414 418 z"/>
<path style="fill:#989898" d="M456 420 C454.8 420.2 455 418.7 455 418 C456.2 417.8 456 419.3 456 420 z"/>
<path style="fill:#808080" d="M154 419 L153 420 L154 419 z"/>
<path style="fill:#686868" d="M168 421 L167 421 L167 419 C168.2 418.8 168 420.3 168 421 z"/>
<path style="fill:#989898" d="M206 421 C204.8 421.2 205 419.7 205 419 C206.2 418.8 206 420.3 206 421 z"/>
<path style="fill:#888888" d="M283 421 C281.8 421.2 282 419.7 282 419 C283.2 418.8 283 420.3 283 421 z"/>
<path style="fill:#686868" d="M306 421 C304.8 421.2 305 419.7 305 419 C306.2 418.8 306 420.3 306 421 z"/>
<path style="fill:#888888" d="M356 421 C354.8 421.2 355 419.7 355 419 C356.2 418.8 356 420.3 356 421 z"/>
<path style="fill:#606060" d="M433 420 L432 419 L433 420 z"/>
<path style="fill:#a0a0a0" d="M192 420 L191 421 L192 420 z"/>
<path style="fill:#707070" d="M263 420 C263 420.7 263.2 422.2 262 422 C262 421.3 261.8 419.8 263 420 z"/>
<path style="fill:#989898" d="M341 420 C341 420.7 341.2 422.2 340 422 C340 421.3 339.8 419.8 341 420 z"/>
<path style="fill:#606060" d="M153 421 L153 423 L152 423 C152 422.3 151.8 420.8 153 421 z"/>
<path style="fill:#bfc0c0" d="M168 421 L168 457 L167 421 L168 421 z"/>
<path style="fill:#707070" d="M240 421 C240 421.7 240.2 423.2 239 423 C239 422.3 238.8 420.8 240 421 z"/>
<path style="fill:#909090" d="M390 421 C390 421.7 390.2 423.2 389 423 C389 422.3 388.8 420.8 390 421 z"/>
<path style="fill:#a0a0a0" d="M413 421 C413 421.7 413.2 423.2 412 423 C412 422.3 411.8 420.8 413 421 z"/>
<path style="fill:#7c7c7c" d="M191 422 L190 457 L191 422 z"/>
<path style="fill:#bfbfbf" d="M153 423 L152 457 L152 423 L153 423 z"/>
<path style="fill:#888989" d="M283 432 L283 423 C284.7 424.7 284.7 430.3 283 432 z"/>
<path style="fill:#7c7d7d" d="M340 423 L339 457 L340 423 z"/>
<path style="fill:#a1a2a2" d="M433 432 L433 423 C434.7 424.7 434.7 430.3 433 432 z"/>
<path style="fill:#c4c4c4" d="M306 432 L306 424 C307.6 425.3 307.6 430.7 306 432 z"/>
<path style="fill:#404040" d="M262 425 L262 431 C260.4 430.3 260.4 425.7 262 425 z"/>
<path style="fill:#a0a0a0" d="M456 432 L456 426 C457.6 426.7 457.6 431.3 456 432 z"/>
<path style="fill:#585858" d="M390 434 L389 430 L390 434 z"/>
<path style="fill:#909090" d="M240 435 C238.8 435.2 239 433.7 239 433 C240.2 432.8 240 434.3 240 435 z"/>
<path style="fill:#808080" d="M413 435 C411.8 435.2 412 433.7 412 433 C413.2 432.8 413 434.3 413 435 z"/>
<path style="fill:#707070" d="M263 435 L262 434 L263 435 z"/>
<path style="fill:#707070" d="M306 434 C306 434.7 306.2 436.2 305 436 C305 435.3 304.8 433.8 306 434 z"/>
<path style="fill:#909090" d="M283 435 L282 436 L283 435 z"/>
<path style="fill:#a0a0a0" d="M433 435 L432 436 L433 435 z"/>
<path style="fill:#989898" d="M456 435 C456 435.7 456.2 437.2 455 437 C455 436.3 454.8 434.8 456 435 z"/>
<path style="fill:#888888" d="M241 439 C239.8 439.2 240 437.7 240 437 C241.2 436.8 241 438.3 241 439 z"/>
<path style="fill:#a0a0a0" d="M282 437 L281 438 L282 437 z"/>
<path style="fill:#707070" d="M391 438 L390 437 L391 438 z"/>
<path style="fill:#909090" d="M265 439 L264 438 L265 439 z"/>
<path style="fill:#606060" d="M305 438 L304 439 L305 438 z"/>
<path style="fill:#909090" d="M415 439 L414 438 L415 439 z"/>
<path style="fill:#888888" d="M455 438 C455 438.7 455.2 440.2 454 440 C454 439.3 453.8 437.8 455 438 z"/>
<path style="fill:#a0a0a0" d="M416 440 L415 439 L416 440 z"/>
<path style="fill:#606060" d="M431 439 L430 440 L431 439 z"/>
<path style="fill:#808080" d="M242 441 L241 440 L242 441 z"/>
<path style="fill:#a0a0a0" d="M392 441 L391 440 L392 441 z"/>
<path style="fill:#a0a0a0" d="M417 441 L416 440 L417 441 z"/>
<path style="fill:#606060" d="M430 440 L429 441 L430 440 z"/>
<path style="fill:#606060" d="M268 442 L267 441 L268 442 z"/>
<path style="fill:#a0a0a0" d="M278 441 L277 442 L278 441 z"/>
<path style="fill:#a0a0a0" d="M304 441 L303 442 L304 441 z"/>
<path style="fill:#a0a0a0" d="M454 441 L453 442 L454 441 z"/>
<path style="fill:#808080" d="M243 443 L242 442 L243 443 z"/>
<path style="fill:#aaabab" d="M276 442 C275.3 443.6 270.7 443.6 270 442 L276 442 z"/>
<path style="fill:#909090" d="M393 443 L392 442 L393 443 z"/>
<path style="fill:#707070" d="M421 443 C420.3 443 418.8 443.2 419 442 C419.7 442 421.2 441.8 421 443 z"/>
<path style="fill:#808080" d="M426 442 L425 443 L426 442 z"/>
<path style="fill:#707070" d="M245 446 L244 445 L245 446 z"/>
<path style="fill:#707070" d="M395 446 L394 445 L395 446 z"/>
<path style="fill:#a0a0a0" d="M300 447 L299 448 L300 447 z"/>
<path style="fill:#909090" d="M450 447 L449 448 L450 447 z"/>
<path style="fill:#707070" d="M299 448 L298 449 L299 448 z"/>
<path style="fill:#606060" d="M449 448 L448 449 L449 448 z"/>
<path style="fill:#606060" d="M298 449 L297 450 L298 449 z"/>
<path style="fill:#606060" d="M448 449 L447 450 L448 449 z"/>
<path style="fill:#a0a0a0" d="M297 450 L296 451 L297 450 z"/>
<path style="fill:#808080" d="M447 450 L446 451 L447 450 z"/>
<path style="fill:#a0a0a0" d="M446 451 L445 452 L446 451 z"/>
<path style="fill:#909090" d="M252 453 L251 452 L252 453 z"/>
<path style="fill:#909090" d="M402 453 L401 452 L402 453 z"/>
<path style="fill:#a0a0a0" d="M293 453 L292 454 L293 453 z"/>
<path style="fill:#909090" d="M443 453 L442 454 L443 453 z"/>
<path style="fill:#808080" d="M291 454 L290 455 L291 454 z"/>
<path style="fill:#808080" d="M441 454 L440 455 L441 454 z"/>
<path style="fill:#606060" d="M258 456 L257 455 L258 456 z"/>
<path style="fill:#a0a0a0" d="M289 455 L288 456 L289 455 z"/>
<path style="fill:#606060" d="M408 456 L407 455 L408 456 z"/>
<path style="fill:#909090" d="M439 455 L438 456 L439 455 z"/>
<path style="fill:#787878" d="M261 457 C260.3 457 258.8 457.2 259 456 C259.7 456 261.2 455.8 261 457 z"/>
<path style="fill:#808080" d="M411 457 C410.3 457 408.8 457.2 409 456 C409.7 456 411.2 455.8 411 457 z"/>
<path style="fill:#a8a8a8" d="M437 456 C437.2 457.2 435.7 457 435 457 C434.8 455.8 436.3 456 437 456 z"/>
<path style="fill:#888888" d="M265 458 C264.3 458 262.8 458.2 263 457 C263.7 457 265.2 456.8 265 458 z"/>
<path style="fill:#606060" d="M282 457 C281.9 458.6 279.9 457.8 279 458 C279.1 456.4 281.1 457.2 282 457 z"/>
<path style="fill:#888888" d="M415 458 C414.3 458 412.8 458.2 413 457 C413.7 457 415.2 456.8 415 458 z"/>
<path style="fill:#606060" d="M432 457 C431.9 458.6 429.9 457.8 429 458 C429.1 456.4 431.1 457.2 432 457 z"/>
<path style="fill:#c2c2c2" d="M276 458 C275 459.6 270 459.6 269 458 L276 458 z"/>
<path style="fill:#c2c2c2" d="M426 458 C425 459.6 420 459.6 419 458 L426 458 z"/>
</svg>

After

Width:  |  Height:  |  Size: 52 KiB

+4
View File
@@ -0,0 +1,4 @@
*~
.*
*.out
output
+42
View File
@@ -0,0 +1,42 @@
Imports System
Class C1
Public a As Integer
Private b As Integer
Friend c As Integer
Protected d As Integer
Public Sub S1() ' All data members of the class should be accessible
a=10
b=20
c=30
d=40
S2()
End Sub
Private Sub S2()
End Sub
End Class
Class C2
Inherits C1
Public Sub DS1() 'All data members except private members should be accessible
a=100
c=300
d=400
End Sub
End Class
Class C3
Public Sub S1() 'All public and friend members should be accessible
Dim myC As New C1()
myC.a=1000
myC.c=3000
End Sub
End Class
Module Accessibility
Sub Main()
Dim myC1 As New C1()
myC1.S1()
Dim myC2 As New C2()
myC2.DS1()
Dim myC3 As New C3()
myC3.S1()
End Sub
End Module
+20
View File
@@ -0,0 +1,20 @@
Imports System
Class C1
Protected Friend a As Integer
End Class
Class C2
Inherits C1
Public Sub S()
a=100
End Sub
End Class
Module Accessibility
Sub Main()
Dim myC1 As New C1()
myC1.a=1000
Dim myC2 As New C2()
myC2.S()
End Sub
End Module
+114
View File
@@ -0,0 +1,114 @@
Imports System
Class C1
Public a As Integer=20
Private b As Integer=30
Friend c As Integer=40
Protected d As Integer=50
Public Sub S1() ' All data members of the class should be accessible
Try
If a<>20 Then
Throw New Exception("#A1-Accessibility:Failed-error accessing value of public data member frm same class")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
Try
If b<>30 Then
Throw New Exception("#A2-Accessibility:Failed-error accessing value of private data member from same class")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
Try
If c<>40 Then
Throw New Exception("#A3-Accessibility:Failed-error accessing value of friend data member from same class")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
Try
If d<>50 Then
Throw New Exception("#A4-Accessibility:Failed-error accessing value of protected data member from same class")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
S2()
End Sub
Private Sub S2()
End Sub
End Class
Class C2
Inherits C1
Public Sub DS1() 'All data members except private members should be accessible
Try
If a<>20 Then
Throw New Exception("#A5-Accessibility:Failed-error accessing value of public data member from derived class")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
Try
If c<>40 Then
Throw New Exception("#A6-Accessibility:Failed-error accessing value of friend data member from derived class")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
Try
If d<>50 Then
Throw New Exception("#A7-Accessibility:Failed-error accessing value of protected data member from derived")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
End Sub
End Class
Class C3
Public Sub S1() 'All public and friend members should be accessible
Dim myC As New C1()
Try
If myC.a<>20 Then
Throw New Exception("#A8-Accessibility:Failed-error accessing value of public data member from another class")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
Try
If myC.c<>40 Then
Throw New Exception("#A9-Accessibility:Failed-error accessing value of friend data member from another class")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
End Sub
End Class
Module Accessibility
Sub Main()
Dim myC1 As New C1()
myC1.S1()
Try
If myC1.a<>20 Then
Throw New Exception("#A10-Accessibility:Failed-error accessing value of public data member form another module")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
Dim myC2 As New C2()
myC2.DS1()
Dim myC3 As New C3()
myC3.S1()
End Sub
End Module
+34
View File
@@ -0,0 +1,34 @@
Imports System
Class C1
Protected Friend a As Integer=20
End Class
Class C2
Inherits C1
Public Sub S()
Try
If a<>20 Then
Throw New Exception("#A1-AccessibilityA:Failed-error accessing value of protected friend data member from derived class")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
End Sub
End Class
Module Accessibility
Sub Main()
Dim myC1 As New C1()
Try
If myC1.a<>20 Then
Throw New Exception("#A2-AccessibilityA:Failed-error accessing value of protected friend data member from another module")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
Dim myC2 As New C2()
myC2.S()
End Sub
End Module
+38
View File
@@ -0,0 +1,38 @@
Imports System 'Should generate five compilation errors
Class C1
Private a As Integer=10
Protected b As Integer=30
Private Sub S()
End Sub
End Class
Class C2
Inherits C1
Public Sub S1()
S()
Console.WriteLine(a)
End Sub
End Class
Class C3
Public Sub S()
Dim myC As New C1()
myC.S()
Console.WriteLine(myC.a)
Console.WriteLine(myC.b)
End Sub
End Class
Module Accessibility
Sub Main()
Dim myC1 As New C1()
myC1.S()
Console.WriteLine(myC1.a)
Console.WriteLine(myC1.b)
Dim myC2 As New C2()
myC2.S1()
Dim myC3 As New C3()
myC3.S()
End Sub
End Module
+12
View File
@@ -0,0 +1,12 @@
Imports System
Class C1
Public Private a As Integer
Public Protected b As Integer
Public Friend c As Integer
Private Protected d As Integer
Private Friend e As Integer
End Class
Module Accessibility
Sub Main()
End Sub
End Module
+23
View File
@@ -0,0 +1,23 @@
Class C1
End Class
Class C2
Inherits C1
Public Sub S1()
S2()
C = 10
End Sub
End Class
Class C3
Public Sub S()
Dim myC As New C1()
myC.S2()
myC.C = 20
End Sub
End Class
Module Accessibility
Sub Main()
End Sub
End Module
+11
View File
@@ -0,0 +1,11 @@
Protected Class C1
End Class
Private Class C2
End Class
Module Accessibility
Sub Main()
End Sub
End Module
+13
View File
@@ -0,0 +1,13 @@
Public Class C1
Protected Class InnerC
End Class
End Class
Public Class C2
inherits C1.InnerC
End Class
Module InheritanceC3
Sub Main()
End Sub
End Module
+44
View File
@@ -0,0 +1,44 @@
Imports System
Module VariableC
Dim a() As Integer = {1, 2, 3, 4, 5}
Dim b(3) As Integer
Dim c(2), d(4) As Long
Dim e as Integer() = {1, 2, 3}
dim f(2,3) as Integer
Dim g as Integer(,) = { {1,1}, {2,2}, {3,3} }
Dim h() as Integer
Dim i as integer(,)
Dim j as integer()
Sub Main()
If a(2) <> 3 Then
Throw New Exception("#A1, value mismatch")
End If
b(0) = 0
b(1) = 5
b(2) = 10
If b(1) <> 5 Then
Throw New Exception("#A2, value mismatch")
End If
If e(1) <> 2 Then
Throw New Exception("#A3, value mismatch")
End If
If g(2,1) <> 3 Then
Throw New Exception("#A4, value mismatch")
End If
'Console.WriteLine(e(1))
'Console.WriteLine(g(2,1))
h = new Integer(){0, 1, 2}
i = new Integer(2,1){ {1,1}, {2,2}, {3,3} }
j = new Integer(2) {}
End Sub
End Module
+18
View File
@@ -0,0 +1,18 @@
Imports System
Module VariableC
Dim a() As Integer ' = {1, 2, 3, 4, 5}
Sub Main()
dim arry as boolean
arry = IsArray(a)
If arry <> true then
Throw New Exception ("#A1, Not an Array")
End If
ReDim Preserve a(10)
Console.WriteLine(a(7))
End Sub
End Module
+18
View File
@@ -0,0 +1,18 @@
Imports System
Module VariableC
Dim a() As Integer = {1, 2, 3, 4, 5}
Sub Main()
ReDim Preserve a(10)
a(7) = 8
If a(7) <> 8 then
Throw New Exception ("#A1, Unexpected result")
End If
If a(2) <> 3 then
Throw New Exception ("#A2, Unexpected result - Preserve keyword not working")
End If
End Sub
End Module
+9
View File
@@ -0,0 +1,9 @@
Imports System
Module M
Dim a as Long(5)
Sub Main ()
End Sub
End Module
+9
View File
@@ -0,0 +1,9 @@
Imports System
Module M
Dim a() as Long()
Sub Main ()
End Sub
End Module
+15
View File
@@ -0,0 +1,15 @@
Imports System
Module VariableC
Dim a() As Integer = {1, 2, 3, 4, 5}
Sub Main()
dim c as Integer
c = UBound(a, 1)
c = LBound(a, 1)
'c = UBound(a)
'c = LBound(a)
End Sub
End Module
+38
View File
@@ -0,0 +1,38 @@
Imports System
<AttributeUsage(AttributeTargets.All, AllowMultiple:=True)> _
Public Class AuthorAttribute
Inherits Attribute
Public Name As String
Public No As Integer
Public Sub New(ByVal Name As String)
Me.Name=Name
End Sub
Public Sub New(ByVal Name As Integer)
Me.Name=Name.toString()
End Sub
End Class
<AttributeUsage(AttributeTargets.All)> _
Public Class PublicationAttribute
Inherits Attribute
Public Name
Public Sub New(ByVal Name As String)
Me.Name=Name
End Sub
End Class
<Publication("Tata McGraw"),AuthorAttribute("Robin Cook",No:=47),Author(10)> _
Public Class C1
<Author("John"),Publication("Tata McGraw")> _
Public Sub S1()
End Sub
End Class
Module Test
Sub Main()
End Sub
End Module
+30
View File
@@ -0,0 +1,30 @@
Imports System
'Ommiting AttributeUsage attribute
Public Class AuthorAttribute
Inherits Attribute
Public Name
Public Sub New(ByVal Name As String)
Me.Name=Name
End Sub
Public ReadOnly Property NameP() As String
Get
Return Name
End Get
End Property
End Class
<Author("Robin Cook")> _
Public Class C1
<Author("John")> _
Public Sub S1()
End Sub
End Class
Module Test
Sub Main()
End Sub
End Module
+35
View File
@@ -0,0 +1,35 @@
Imports System
'Testing 'Inherited' in attributes
<AttributeUsage(AttributeTargets.Class, AllowMultiple:=True, Inherited:=True)> _
Public Class AuthorAttribute
Inherits Attribute
Public Name
Public Sub New(ByVal Name As String)
Me.Name=Name
End Sub
Public ReadOnly Property NameP() As String
Get
Return Name
End Get
End Property
End Class
<Author("Robin Cook"),Author("Authur Haily")> _
Public Class C1
Public Sub S1()
End Sub
End Class
Public Class C2
Inherits C1
End Class
Module Test
Sub Main()
End Sub
End Module
+28
View File
@@ -0,0 +1,28 @@
Imports System
<AttributeUsage(AttributeTargets.All, AllowMultiple:=True, Inherited:=True)> _
Public Class AuthorAttribute
Inherits Attribute
Public Name
Public Sub New(ByVal Name As String)
Me.Name=Name
End Sub
End Class
<Author("Robin Cook"),Author("Authur Haily")> _
Public Interface C1
End Interface
Public Interface C2
Inherits C1
End Interface
Module Test
Sub Main()
End Sub
End Module
+30
View File
@@ -0,0 +1,30 @@
'Using private constructor in attributes
Imports System
<AttributeUsage(AttributeTargets.All)> _
Public Class AuthorAttribute
Inherits Attribute
Public Name
Private Sub New(ByVal Name As String)
Me.Name=Name
End Sub
Public ReadOnly Property NameP() As String
Get
Return Name
End Get
End Property
End Class
<Author("Robin Cook")> _
Public Class C1
<Author("John")> _
Public Sub S1()
End Sub
End Class
Module Test
Sub Main()
End Sub
End Module
+31
View File
@@ -0,0 +1,31 @@
Imports System
<AttributeUsage(AttributeTargets.All)> _
Public Class AuthorAttribute
Inherits Attribute
Public Name
Public Sub New(ByVal Name As String)
Me.Name=Name
End Sub
End Class
<Author("Robin Cook")> _
Public Class C1
<Author("John")> _
End Class
Module Test
Sub Main()
Dim type As Type=GetType(C1)
Dim arr As Object()=type.GetCustomAttributes(GetType(AuthorAttribute),True)
If arr.Length=0 Then
Console.WriteLine("Class has no attributes")
Else
Dim aa As AuthorAttribute=CType(arr(0),AuthorAttribute)
Console.WriteLine("Name:" & aa.Name)
End If
End Sub
End Module
+26
View File
@@ -0,0 +1,26 @@
'Using MustInherit on a attribute class
Imports System
<AttributeUsage(AttributeTargets.All)> _
Public MustInherit Class AuthorAttribute
Inherits Attribute
Public Name
Public Sub New(ByVal Name As String)
Me.Name=Name
End Sub
End Class
<Author("Robin Cook")> _
Public Class C1
<Author("John")> _
Public Sub S1()
End Sub
End Class
Module Test
Sub Main()
End Sub
End Module
+27
View File
@@ -0,0 +1,27 @@
Imports System
'Declaring atrribute target to be class and using attribute on methods
<AttributeUsage(AttributeTargets.Class)> _
Public Class AuthorAttribute
Inherits Attribute
Public Name
Public Sub New(ByVal Name As String)
Me.Name=Name
End Sub
End Class
<Author("Robin Cook")> _
Public Class C1
<Author("John")> _
Public Sub S1()
End Sub
End Class
Module Test
Sub Main()
End Sub
End Module
+30
View File
@@ -0,0 +1,30 @@
Imports System
'Using a single-use attribute multiple times
<AttributeUsage(AttributeTargets.Class, AllowMultiple:=False)> _
Public Class AuthorAttribute
Inherits Attribute
Public Name
Public Sub New(ByVal Name As String)
Me.Name=Name
End Sub
Public ReadOnly Property NameP() As String
Get
Return Name
End Get
End Property
End Class
<Author("Robin Cook"),Author("John Gresham")> _
Public Class C1
Public Sub S1()
End Sub
End Class
Module Test
Sub Main()
End Sub
End Module
+24
View File
@@ -0,0 +1,24 @@
Imports System
'Using byref positional parameters
<AttributeUsage(AttributeTargets.All)> _
Public Class AuthorAttribute
Inherits Attribute
Public Name
Public Sub New(ByRef Name As String)
Me.Name=Name
End Sub
End Class
<Author("Robin Cook")> _
Public Class C1
End Class
Module Test
Sub Main()
End Sub
End Module
+30
View File
@@ -0,0 +1,30 @@
Imports System
<AttributeUsage(AttributeTargets.All, AllowMultiple:=True, Inherited:=True)> _
Public Class AuthorAttribute
Inherits Attribute
Public Name
Public Sub New(ByVal Name As String)
Me.Name=Name
End Sub
End Class
<Author("Robin Cook"),Author("Authur Haily")> _
Public Class C1
End Class
Module Test
Sub Main()
Dim type As Type=GetType(C2)
Dim arr As Object()=type.GetCustomAttributes(GetType(AuthorAttribute),True)
If arr.Length=0 Then
Console.WriteLine("Interface has no attributes")
Else
Throw New Exception("AttributesC:Failed-Interfaces should not inherit attributes")
End If
End Sub
End Module
+17
View File
@@ -0,0 +1,17 @@
Option Strict Off
Imports System
Module M
Sub Main()
Try
Dim a As Boolean=True
Dim b As Boolean=False
Dim c As Boolean
c=a+b
If a<>True
Throw New Exception("BoolLiteralB:Failed")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
End Sub
End Module
+12
View File
@@ -0,0 +1,12 @@
Imports System
Module BoolLiteralTest
Sub main()
Try
Dim b As Boolean
b = True
b = False
Catch e As Exception
Console.WriteLine(e.Message)
End Try
End Sub
End Module
+10
View File
@@ -0,0 +1,10 @@
Module BoolLiteralTest1
Sub Main()
Try
Dim b As Boolean
b = Not True
Catch e As Exception
Console.WriteLine(e.Message)
End Try
End Sub
End Module
+4
View File
@@ -0,0 +1,4 @@
2004-03-16 Rafael Teixeira ([email protected])
* Test1.vb: corrected mispelling in keyword
* Test.Sources: no misc1.vb or CharacterLiteralsA.vb sources
* ConditionalCompilationC.vb: added some tests with #Const
+4
View File
@@ -0,0 +1,4 @@
2004-03-16 Rafael Teixeira ([email protected])
* Test1.vb: corrected mispelling in keyword
* Test.Sources: no misc1.vb or CharacterLiteralsA.vb sources
* ConditionalCompilationC.vb: added some tests with #Const
+17
View File
@@ -0,0 +1,17 @@
Module CharacterLiterals
Sub Main()
Dim c As Char
c = "x"
c = "X"
Dim a As String = "X"c
If a <> c Then
Throw New System.Exception("a is not same as c")
End If
'the outcome should be "x"
c = """x"""
End Sub
End Module
+11
View File
@@ -0,0 +1,11 @@
Module CharacterLiterals1
Sub Main()
Dim c As Char
c = "x"c
Dim a As String = "X"
If a <> c Then
Throw New System.Exception("a is not same as c")
End If
End Sub
End Module
+18
View File
@@ -0,0 +1,18 @@
Imports System
Module CharacterLiteral
Sub Main()
Try
Dim a As Char="R"c
Dim b As Char="W"c
Dim i As Char=23
Dim bl As Char=True
Dim f As Char=1.23
Dim c As Char
Dim d As Char
c=a+b
d=a*b
Catch e As Exception
End Try
End Sub
End Module
+6
View File
@@ -0,0 +1,6 @@
Module CharacterLiteralsC2
Sub Main()
Dim ch As Char
ch = "xc"c
End Sub
End Module
+5
View File
@@ -0,0 +1,5 @@
Module CharacterLiteralsC3
Sub Main()
c = ""x"
End Sub
End Module
+10
View File
@@ -0,0 +1,10 @@
Imports System
Module CharacterLiteral
Sub Main()
Try
Dim f As Char="""c
Catch e As Exception
End Try
End Sub
End Module
+53
View File
@@ -0,0 +1,53 @@
Imports System
Class C1
Public a As Integer=47
Public Sub S()
Dim myInnerC As New C2()
Dim b As Integer=myInnerC.H()
If b<>147 Then
Throw New Exception("#A5:Error in accessing inner class")
End If
End Sub
Public Function G() As Integer
Return 38
End Function
Class C2
Public Function H() As Integer
Return 147
End Function
End Class
End Class
Module M
Sub Main()
Try
Dim myCInstance As New C1()
Catch e As Exception
Console.WriteLine("#A1:Error in creating class instance:"+e.Message)
End Try
Dim myC As New C1()
Try
If myC.a<>47 Then
Throw New Exception("#A2-ClassTest:Failed-Error in accessing class data member")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
Try
myC.S()
Catch e As Exception
Console.WriteLine("#A3:Error in accessing Sub from a class:"+e.Message)
End Try
Try
Dim c As Integer=myC.G()
If c<>38 Then
Throw New Exception("#A4-ClassTest:Failed-Error in accessing Function of a class")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
End Sub
End Module
+9
View File
@@ -0,0 +1,9 @@
Imports System
Class C1
If True Then
End If
End Class
Module ClassTest
Sub Main()
End Sub
End Module
+7
View File
@@ -0,0 +1,7 @@
Module M
Sub Main()
Console.WriteLine(a) 'Line Continuation within _
comment
Dim a As IntegerREM Declaration
End Sub
End Module
+27
View File
@@ -0,0 +1,27 @@
Imports System
Module ConditionalCompilation
Sub Main()
Dim value As Integer
Try
'Testing #If and #End If Block
#If True
value=10
#End If
If value<>10 Then
Throw New Exception("#A1-Conditional Compilation:Failed ")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
Try
#If False
Throw New Exception("#A2-Conditional Compilation:Failed")")
#End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
End Sub
End Module
+14
View File
@@ -0,0 +1,14 @@
Imports System
Module ConditionalCompilation
Sub Main()
Try
'Using syntatically wrong statements inside a #If block that does not satisfy condition
#If False
Console.WriteLine("Hello)
#End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
End Sub
End Module
+40
View File
@@ -0,0 +1,40 @@
Imports System
Module ConditionalCompilation
Sub Main()
Dim value As Integer
Try
'Testing #If,#Elseif, #Else and #End If block
#If False
Throw New Exception("#A1-Conditional Compilation :Failed")
#ElseIf True
value=30
#Else
Throw New Exception("#A2-Conditional Compilation :Failed")
#End If
If value<>30 Then
Throw New Exception("#A3-Conditional Compilation:Failed ")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
'Testing nested #If and #End If Block
Try
#If True
#If True
value=40
#End If
#End If
If value<>40
Throw New Exception("#A4-Conditional Compilation:Failed ")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
End Sub
End Module
+38
View File
@@ -0,0 +1,38 @@
Imports System
Module ConditionalCompilation
Sub Main()
Dim value As Integer
'Testing whitespaces between #If
Try
# If True
value=50
#End If
If value<>50
Throw New Exception("#A1-Conditional Compilation:Failed ")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
End Sub
#Const A = True
#Const B = False
#If A Then
Sub Z()
End Sub
#Else
Sub W()
End Sub
#End If
#If B Then
Sub X()
End Sub
#Else
Sub Y()
End Sub
#End If
End Module
+20
View File
@@ -0,0 +1,20 @@
Imports System
Module ConditionalCompilation
Sub Main()
'Syntactically wrong statement within #If block that satisfies the condition
#If True
Console.WriteLine("Hello)
#End If
'Lexically invalid statement within #If block that satisfies condition
#If True
@#$^**
#End If
'Lexically invalid statement within #If block that does not satisfies condition
#If False
DD@##$
#End If
End Sub
End Module
+21
View File
@@ -0,0 +1,21 @@
Imports System
Module ConditionalCompilation
Sub Main()
Dim value As Integer
Dim a,b As Integer
Try
'Testing #If and #End If Block
#If a+b
value=10
#End If
If value<>10 Then
Throw New Exception("#A1-Conditional Compilation:Failed ")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
End Sub
End Module
+13
View File
@@ -0,0 +1,13 @@
Imports System
Module ConditionalCompilation
Sub Main()
'Testing line continuation within conditional compilation statement
#If _
True _
#End If
End Sub
End Module
+20
View File
@@ -0,0 +1,20 @@
Imports System
Module ConditionalCompilation
Sub Main()
Dim value As Integer
Try
'Testing #If Then and #End If Block
#If True Then
value=10
#End If
If value<>10 Then
Throw New Exception("#A1-Conditional Compilation:Failed ")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
End Sub
End Module
+26
View File
@@ -0,0 +1,26 @@
Imports System
Module ConditionalConstants
Sub Main()
Dim value As Integer
#Const A=True
#If A
value=10
#End If
#Const B=False
#If B
value=20
#End If
If value<>10 Then
Throw New Exception("Conditional Constant: Failed")
End If
'Testing the default value assigned to a conditional constant
#Const C
#If C
Console.WriteLine("Default value is True")
#Else
Console.WriteLine("Default value is Nothing")
#End If
End Sub
End Module
+21
View File
@@ -0,0 +1,21 @@
Imports System
Module ConditionalConstant
Sub Main()
Dim value As Integer
'Testing the scope of the conditional constant
#Const a=True
#If a
#Const a=False
value=10
#End If
#If a
value=20
#End If
If value<>10 Then
Throw New Exception("ConditionalConstantA:Failed-conditional constant should have global scope")
End If
'Redefining a conditional constant
#Const a=5
End Sub
End Module
+11
View File
@@ -0,0 +1,11 @@
Imports System
Module ConditionalConstants
Sub Main()
Dim value As Integer
#A=True ' const missing
#If A
value=10
#End If
End Sub
End Module
+32
View File
@@ -0,0 +1,32 @@
Imports System
Module ConstantA
Public Const a As Integer = 10
Const b As Boolean = True, c As Long = 20
Const d = 20
Const e% = 10
Const f% = 10, g# = 20
Sub Main()
If a.GetTypeCode() <> TypeCode.Int32 Then
Throw New System.Exception("#A1, Type mismatch found")
End If
If b.GetTypeCode() <> TypeCode.Boolean Then
Throw New System.Exception("#A2, Type mismatch found")
End If
If c.GetTypeCode() <> TypeCode.Int64 Then
Throw New System.Exception("#A3, Type mismatch found")
End If
If d.GetTypeCode() <> TypeCode.Int32 Then
Throw New System.Exception("#A4, Type mismatch found")
End If
If e.GetTypeCode() <> TypeCode.Int32 Then
Throw New System.Exception("#A5, Type mismatch found")
End If
If f.GetTypeCode() <> TypeCode.Int32 Then
Throw New System.Exception("#A6, Type mismatch found")
End If
If g.GetTypeCode() <> TypeCode.Double Then
Throw New System.Exception("#A7, Type mismatch found")
End If
End Sub
End Module
+15
View File
@@ -0,0 +1,15 @@
Class A
public const c as integer = 10
End Class
Class B
Inherits A
public shadows Const c as integer = 20
end class
Module M
Sub Main()
End Sub
End Module
+5
View File
@@ -0,0 +1,5 @@
Module ConstantC0
Const a As Integer
Sub main()
End Sub
End Module
+5
View File
@@ -0,0 +1,5 @@
Module ConstantC1
Const a(2) As Integer = {1, 2}
Sub main()
End Sub
End Module
+5
View File
@@ -0,0 +1,5 @@
Module ConstantC2
Const a As Integer = New Integer()
Sub Main()
End Sub
End Module
+8
View File
@@ -0,0 +1,8 @@
Class C
End Class
Module ConstantC3
Const a As C = New C()
Sub main()
End Sub
End Module
+5
View File
@@ -0,0 +1,5 @@
Module ConstantC4
Const a# As Integer
Sub main()
End Sub
End Module
+5
View File
@@ -0,0 +1,5 @@
Module ConstantC5
Const a As Integer, b As Integer
Sub main()
End Sub
End Module
+8
View File
@@ -0,0 +1,8 @@
Module Constant
Const a() As Integer = {1, 2}
Const b(2) As Long = {1, 2}
Const c() As String
Const d() As Long = {1, 2}, e() As Long = {1, 2}
Sub main()
End Sub
End Module
+16
View File
@@ -0,0 +1,16 @@
Imports System
Public Class C1
Private Class C2
End Class
Public Function F() As C2 'Function F exposes private class C2
End Function
Private Function F1() As C2
End Function
End Class
Module ConstituentTypes
Sub Main()
Dim myC As New C1()
End Sub
End Module
Loaded 100 of 10174 files, more files were not shown because too many files have changed in this diff. Show more