Compare commits

..
1798 Commits
Author SHA1 Message Date
nobody 3cadc5c762 This commit was manufactured by cvs2svn to create tag 'MONO_0_91'.
svn path=/tags/MONO_0_91/mono/; revision=26713
2004-05-04 19:20:51 +00:00
Miguel de Icaza 85f380edab For the Beta1, we will fix later
svn path=/trunk/mono/; revision=26712
2004-05-04 19:20:51 +00:00
Atsushi Eno 6f4a74d971 2004-05-04 Atsushi Enomoto <[email protected]>
* net_1_1/Makefile.am,
	  net_2_0/Makefile.am : replace gacutil -i with gacutil /i.

svn path=/trunk/mono/; revision=26711
2004-05-04 19:12:57 +00:00
Lluis Sanchez cd7ea36139 * support.cs: In SeekableStreamReader, compute the preamble size of the
underlying stream. Position changes should take into account that initial
	  count of bytes.

svn path=/trunk/mcs/; revision=26709
2004-05-04 19:01:17 +00:00
Jackson Harper 278eaf8351 * gacutil.cs: We need to overwrite existing libraries if they
already exist in the package directory on windows. Also made the
	code somewhat readable with 80 cols.

svn path=/trunk/mcs/; revision=26705
2004-05-04 17:04:53 +00:00
Dick Porter 9d0125942b 2004-05-04 Dick Porter <[email protected]>
* daemon.c (read_message): Return FALSE on error so the GSource
	callback itself can return FALSE.  Cures the infinite loop poll()
	warning on MacosX.
	* shared.c: Fix some daemon startup race conditions.

svn path=/trunk/mono/; revision=26704
2004-05-04 16:20:16 +00:00
Lluis Sanchez 6292505861 * XmlSchemaDataImporter.cs: Added little type check.
svn path=/trunk/mcs/; revision=26702
2004-05-04 15:08:03 +00:00
Ravindra b91fbf25a1 Minor change to make sample output little better with a white background and black color text.
svn path=/trunk/mcs/; revision=26701
2004-05-04 14:43:12 +00:00
Miguel de Icaza fdb156fd3b Update to include echos
svn path=/trunk/mono/; revision=26700
2004-05-04 14:34:43 +00:00
Ravindra 668a50ae10 Fixed Transform property in LinearGradientBrush.cs.
svn path=/trunk/mcs/; revision=26699
2004-05-04 14:16:33 +00:00
Gonzalo Paniagua Javier b5d55265c2 2004-05-04 Gonzalo Paniagua Javier <[email protected]>
* WebConfigurationSettings.cs: now it defaults to 'web.config' and if
	not found, 'Web.config'. Don't throw exception if both exists. Thanks
	to urs and dru for bugging me about this.

svn path=/trunk/mcs/; revision=26698
2004-05-04 14:16:12 +00:00
Ravindra 238da299bc * Pen.cs: Modified exception message. Fixed Transform, DashPattern,
and DashCap properties. Implementing CoumpoundArray, StartCap, EndCap
	properties and SetLineCap method. In constructors use IntPtr instead
	of int.
	* SolidBrush.cs: Modified exception message.
	* TextureBrush.cs: Fixed Transform property.
	* gdipFunctions.cs: Fixed P/Invokes for Pen.cs, TextureBrush.cs and
	LinearGradientBrush.cs.

svn path=/trunk/mcs/; revision=26697
2004-05-04 14:11:34 +00:00
Paolo Molaro a75d2e4a41 This may help with threads in FreeBSD.
svn path=/trunk/mono/; revision=26695
2004-05-04 14:02:07 +00:00
Jordi Mas i Hernandez 13e610d13e ImageRotateFlip sample
svn path=/trunk/mcs/; revision=26694
2004-05-04 13:57:58 +00:00
Lluis Sanchez f9d0715287 * DataSet.cs: Implemented support for runtime serialization. Fixed support
for xml serialization.
	* XmlDiffLoader.cs: Skip diffgram element when it is empty.

svn path=/trunk/mcs/; revision=26692
2004-05-04 12:11:44 +00:00
Zoltan Varga 2695c6169e 2004-05-04 Zoltan Varga <[email protected]>
* mini-exceptions.c (ves_icall_get_frame_info): Flush register windows
	here.

svn path=/trunk/mono/; revision=26691
2004-05-04 12:11:13 +00:00
Gonzalo Paniagua Javier af9bb14dd7 2004-05-04 Gonzalo Paniagua Javier <[email protected]>
* configure.in: check for SIGEV_THREAD being defined before checking
	for AIO support. Fixes compilation under FreeBSD.

svn path=/trunk/mono/; revision=26690
2004-05-04 12:04:03 +00:00
Zoltan Varga bf3f31ae02 2004-05-04 Zoltan Varga <[email protected]>
* interp.c (ves_exec_method_with_context): Disable explicit assignment
	of 'esi' to the ip variable, since it causes register allocation errors
	on some versions of gcc. Fixes #58010.

svn path=/trunk/mono/; revision=26689
2004-05-04 11:47:19 +00:00
Lluis Sanchez c3c02a50b3 Added version to the ASMX handler type name
svn path=/trunk/mono/; revision=26687
2004-05-04 10:01:42 +00:00
Sanja Gupta c67423f29b ChangeLog: Updated ChangeLog
Image.cs: Implemented FrameDimensionsList property

svn path=/trunk/mcs/; revision=26686
2004-05-04 07:46:16 +00:00
Raja R Harinath 465c6f4ab4 * runtime/net_1_1/Makefile.am (mono_runtime): Use USE_JIT, not
JIT_SUPPORTED.
(install-data-local, uninstall-data-local): Run runtime with
libtool.
* runtime/net_2_0/Makefile.am: Likewise.
Report from Urs C Muff <[email protected]>.

svn path=/trunk/mono/; revision=26685
2004-05-04 07:38:05 +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
Martin Baulig 5f9165e4da 2004-03-24 Martin Baulig <[email protected]>
* decl.cs (DeclSpace.FindType): Also use
	TypeManager.CheckGeneric() for types from the using clauses.

svn path=/trunk/mcs/; revision=24557
2004-03-25 02:42:47 +00:00
Martin Baulig 68e478cf8a 2004-03-24 Martin Baulig <[email protected]>
* class.c (mono_class_setup_vtable): If we're a generic instance,
	use our generic type's vtable size.

svn path=/trunk/mono/; revision=24556
2004-03-25 02:21:27 +00:00
Martin Baulig 3a735b0403 2004-03-24 Martin Baulig <[email protected]>
* mini.c (mini_get_class): New static method; if we're inside a
	generic instance, inflate the class if neccessary.
	(mono_method_to_ir): Use mini_get_class() instead of mono_class_get().

svn path=/trunk/mono/; revision=24555
2004-03-25 02:20:23 +00:00
Gonzalo Paniagua Javier 020c22b732 2004-03-24 Gonzalo Paniagua Javier <[email protected]>
* NumberFormatInfo.cs: this fixes bug #56000 for me. And it doesn't
	break anything as NumberFormatInfo is sealed.

svn path=/trunk/mcs/; revision=24554
2004-03-25 00:49:57 +00:00
Lluis Sanchez ef6734e55d * SerializationCodeGenerator.cs: Generate an integer for unknown enum values.
Use a special method to generate default values, since default enum values
	  will come as integers, so a special cast is needed.
	* XmlSerializationReaderInterpreter.cs,
	* SerializationSource.cs, SoapAttributeAttribute.cs, SoapAttributeOverrides.cs,
	  SoapAttributes.cs, SoapElementAttribute.cs, SoapEnumAttribute.cs,
	  SoapTypeAttribute.cs, XmlAnyElementAttribute.cs, XmlAnyElementAttributes.cs,
	  XmlArrayAttribute.cs, XmlArrayItemAttribute.cs, XmlArrayItemAttributes.cs,
	  XmlAttributeAttribute.cs, XmlAttributeOverrides.cs, XmlAttributes.cs,
	  XmlChoiceIdentifierAttribute.cs, XmlElementAttribute.cs, XmlElementAttributes.cs,
	  XmlEnumAttribute.cs, XmlReflectionMember.cs, XmlRootAttribute.cs,
	  XmlTextAttribute.cs, XmlTypeAttribute.cs: Had to change the implementation
	  of SerializationSource. It can't keep and use the XmlAttributeOverride
	  instances as key values, since those instances can be modified after the
	  xml map has been generated. Now, SerializationSource generates a unique
	  string hash from XmlAttributeOverride and uses it for comparisons.

svn path=/trunk/mcs/; revision=24553
2004-03-25 00:07:43 +00:00
Gonzalo Paniagua Javier 0d062a34e6 2004-03-24 Gonzalo Paniagua Javier <[email protected]>
* RegexBugs.cs: added new test with a regex used when discovering the
	wsdl document for a asmx page.

svn path=/trunk/mcs/; revision=24552
2004-03-24 23:53:11 +00:00
Gonzalo Paniagua Javier b55ee14579 2004-03-24 Gonzalo Paniagua Javier <[email protected]>
* parser.cs: fixed group numbering.

svn path=/trunk/mcs/; revision=24551
2004-03-24 23:27:24 +00:00
Gonzalo Paniagua Javier b24f2374e0 2004-03-24 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequest.cs: added the exception status to the error message.
	* WebConnection.cs: add headers using SetInternal instead of Add to
	bypass header name validation. Fixes bug #55994.
	* WebHeaderCollection.cs: added SetInternal (string header).

svn path=/trunk/mcs/; revision=24549
2004-03-24 22:06:56 +00:00
Sebastien Pouliot eeeca84ae4 2004-03-24 Sebastien Pouliot <[email protected]>
* StrongName.cs: Added CanSign property for AssemblyBuilder. Current
	Fx design requires an exception to know if the private key is present
	in an RSA instance. In some case (inside corlib) we can do without...

svn path=/trunk/mcs/; revision=24547
2004-03-24 20:25:12 +00:00
Zoltan Varga 6ff626ab00 2004-03-24 Zoltan Varga <[email protected]>
* iltests.il: New regression test for #55976.

	* mini.c (mono_method_to_ir): Empty the stack in endfinally. Fixes
	#55976.

svn path=/trunk/mono/; revision=24546
2004-03-24 20:20:48 +00:00
Sebastien Pouliot 6525978790 2004-03-24 Sebastien Pouliot <[email protected]>
* StrongName.cs: Added CanSign property for AssemblyBuilder. Current
	Fx design requires an exception to know if the private key is present
	in an RSA instance. In some case (inside corlib) we can do without...

svn path=/trunk/mcs/; revision=24545
2004-03-24 20:15:57 +00:00
Lluis Sanchez e5aad3e5cf * System.Xml_test.dll.sources: Added
System.Xml.Serialization/ComplexDataStructure.cs.

svn path=/trunk/mcs/; revision=24543
2004-03-24 19:33:16 +00:00
Lluis Sanchez 5c0505d232 added literal-data.xml. This file is used by ComplexDataStructure.cs.
svn path=/trunk/mcs/; revision=24542
2004-03-24 19:32:45 +00:00
Lluis Sanchez bb3d1a73c9 * XmlSerializerTests.cs: Added some identifiers for AssertEquals.
Minor fixes in Infoset method.
	* ComplexDataStructure.cs: New set of tests for testing complex object
	  serialization.

svn path=/trunk/mcs/; revision=24541
2004-03-24 19:31:28 +00:00
Lluis Sanchez a303d9ab6f * SerializationCodeGenerator.cs: Several fixes: generate valid names for
WriteRoot_ and ReadRoot_ methods. Cast result of ReadTypedPrimitive to
	  the adequate type. Set the default value of members that do have a default
	  value. Other minor fixes.
	* SoapReflectionImporter.cs, XmlReflectionImporter.cs: All maps must derive
	  from typeof(object) map, even those that have another base class.
	* XmlCustomFormatter.cs: Fixed generation of conversion from char to string.
	  It must serialize the char as number, not as character.
	* XmlSerializationReaderInterpreter.cs: Set the default value of members
	  that do have a default value.
	* XmlTypeMapping.cs: Added property MembersWithDefault, which returns a list
	  of members that have a default value.

svn path=/trunk/mcs/; revision=24540
2004-03-24 19:30:12 +00:00
Sebastien Pouliot 4df7e1bd7c 2004-03-24 Sebastien Pouliot <[email protected]>
* StrongNameKeyPair.cs: Added an internal method to return a
	StrongName object (for AssemblyBuilder). Simplified implementation
	using Mono.Security.Cryptography.CryptoConvert class.

svn path=/trunk/mcs/; revision=24539
2004-03-24 19:17:35 +00:00
Atsushi Eno f06178f71d 2004-03-24 Atsushi Enomoto <[email protected]>
* xmldsig.cs : Ok, time to test phaos collection ;-)

svn path=/trunk/mcs/; revision=24535
2004-03-24 18:40:57 +00:00
Atsushi Eno 5d47dd82a3 2004-03-24 Atsushi Enomoto <[email protected]>
* ReferenceTest.cs : Test for keeping document object identity.
	* XmlDsigC14NTransformTest.cs : Fixed LoadInputAsXmlNodeList(). Here,
	  passed XmlNodeList means filtered (e.g. XPath) nodes, which might
	  contain parent and children as each node in the list.
	  Added LoadInputAsXmlNodeList2(), which fails in the meantime.

svn path=/trunk/mcs/; revision=24534
2004-03-24 18:38:08 +00:00
Atsushi Eno f4e851c96f 2004-03-24 Atsushi Enomoto <[email protected]>
* Reference.cs, Signature.cs : They should keep input element and hence
	  keep namespace context nodes on LoadXml() as same as SignedInfo.
	* SignedXml.cs : Fixed SignedInfoTransformed() to fill context
	  namespace nodes into the input document (unlike other classes, there
	  seems no other way to keep ns-nodes here).
	  Now some of W3C phaos xmldsig test passes.

svn path=/trunk/mcs/; revision=24532
2004-03-24 18:32:58 +00:00
Atsushi Eno 5e6c273dd5 2004-03-24 Atsushi Enomoto <[email protected]>
* XmlDocumentNavigator.cs : MoveTo*Namespace() should not iterate
	  namespace nodes which has the same name as already-iterated nodes.
	  Also xmlns='' should not be selected, and once it appeared, default
	  namespace should not be selected anymore.

svn path=/trunk/mcs/; revision=24531
2004-03-24 18:20:14 +00:00
Atsushi Eno 8fc32b5ea4 2004-03-24 Atsushi Enomoto <[email protected]>
* SelectNodesTests.cs : Added test for 1) not selecting previously-
	  selected prefixes, and that 2) default namespace erasure (i.e.
	  xmlns="") should not be selected.

svn path=/trunk/mcs/; revision=24530
2004-03-24 18:19:51 +00:00
Atsushi Eno 0b1403e780 2004-03-24 Atsushi Enomoto <[email protected]>
* XslTransformTests.cs : Added InvalidStylesheet2().

svn path=/trunk/mcs/; revision=24529
2004-03-24 18:19:24 +00:00
Sebastien Pouliot c31e0ddac6 2003-03-24 Sebastien Pouliot <[email protected]>
* StrongNameKeyPairTest.cs: Converted to NUnit2 format. Removed
	unneeded code and false comments (too much copy-n-paste).

svn path=/trunk/mcs/; revision=24528
2004-03-24 18:05:30 +00:00
Lluis Sanchez a186746a8a * File.cs: In Move, throw IOException instead of ArgumentException if destination
is a directory.
	* MonoIO.cs: In ExistsDirectory, return ERROR_PATH_NOT_FOUND instead of
	  ERROR_FILE_NOT_FOUND, since we are looking for a directory, not a file.

svn path=/trunk/mcs/; revision=24527
2004-03-24 17:24:29 +00:00
Urs C. Muff 2be7ee27e0 use platform specific file extension for shared libraries (.so / .dylib)
svn path=/trunk/mono/; revision=24526
2004-03-24 16:39:02 +00:00
Sebastien Pouliot dcb5fa8f0b 2004-03-24 Sebastien Pouliot <[email protected]>
* AssemblyBuilderTest.cs: Added new tests to build strongnamed
	assemblies.

svn path=/trunk/mcs/; revision=24525
2004-03-24 16:12:50 +00:00
Zoltan Varga 33a23c3a09 2004-03-24 Zoltan Varga <[email protected]>
* appdomain.c (ves_icall_System_AppDomain_InternalUnload): Add
	MONO_NO_UNLOAD env var as a temporary workaround for unloading
	problems.

svn path=/trunk/mono/; revision=24524
2004-03-24 16:11:29 +00:00
Sebastien Pouliot 415bd840fe 2004-03-24 Sebastien Pouliot <[email protected]>
* other: Added Mono Brazil for fxjr

svn path=/trunk/mono/; revision=24523
2004-03-24 15:22:29 +00:00
Sebastien Pouliot e553e75bff 2004-03-24 Sebastien Pouliot <[email protected]>
* compiler.csproj: Updated for Visual Studio .NET 2003.
	* compiler.csproj.user: Updated for Visual Studio .NET 2003.
	* compiler.sln: Updated for Visual Studio .NET 2003.

svn path=/trunk/mcs/; revision=24522
2004-03-24 15:20:36 +00:00
Jordi Mas i Hernandez 5a48761f6e fixes image and bmp dpi
svn path=/trunk/mcs/; revision=24521
2004-03-24 14:52:41 +00:00
Zoltan Varga 52811a9526 2004-03-24 Zoltan Varga <[email protected]>
* TypeBuilder.cs (GetMethod): Implement.

svn path=/trunk/mcs/; revision=24520
2004-03-24 13:46:51 +00:00
Jordi Mas i Hernandez 093adb768b drawimage sample
svn path=/trunk/mcs/; revision=24519
2004-03-24 12:51:20 +00:00
Zoltan Varga 2a9356d23e 2004-03-24 Zoltan Varga <[email protected]>
* CustomAttributeBuilder.cs: Reenable argument checking with MS.NET
	compatibility tweaks.

svn path=/trunk/mcs/; revision=24518
2004-03-24 12:16:53 +00:00
Zoltan Varga 86d3150fbf 2004-03-24 Zoltan Varga <[email protected]>
* AssemblyFileVersionAttribute.cs (.ctor): Add argument checking.

svn path=/trunk/mcs/; revision=24517
2004-03-24 12:14:09 +00:00
Jordi Mas i Hernandez bdea42d3f5 added missing DrawImage gdi+ calls and example
svn path=/trunk/mcs/; revision=24516
2004-03-24 12:11:25 +00:00
Ravi Pratap M bd51c35c2b oops. forgot to add this
svn path=/trunk/mcs/; revision=24515
2004-03-24 11:49:58 +00:00
Umadevi S af584a5538 2004-03-24 Umadevi S ([email protected])
* DataColumn.cs - removed the TODOs since I had checkedin earlier
		* DataViewRowState.cs - Implemented EditorAttribute

svn path=/trunk/mcs/; revision=24514
2004-03-24 05:04:40 +00:00
Ravi Pratap M faaa614056 2004-03-24 Ravi Pratap M <[email protected]>
* expression.cs: Fix bug #47234. We basically need to apply the
	rule that we prefer the conversion of null to a reference type
	when faced with a conversion to 'object' (csc behaviour).

svn path=/trunk/mcs/; revision=24513
2004-03-24 04:51:11 +00:00
Ravi Pratap M 76a39fc985 2004-03-24 Ravi Pratap M <[email protected]>
* test-235.cs: test for 47234.

svn path=/trunk/mcs/; revision=24512
2004-03-24 04:49:26 +00:00
Atsushi Eno ca7962559c 2004-03-24 Atsushi Enomoto <[email protected]>
* XmlCharacterData.cs : ReplaceData() should reject negative integer
	  value for count argument.
	* XmlAttribute.cs, XmlAttributeCollection.cs, XmlNamedNodeMap.cs :
	  On RemoveNamedItem(), default attribute value should be restored.

svn path=/trunk/mcs/; revision=24511
2004-03-24 03:45:22 +00:00
Ben Maurer 4ffc99365d 2004-03-23 Ben Maurer <[email protected]>
* statement.cs: Shorter form for foreach, eliminates
	a local variable. r=Martin.

svn path=/trunk/mcs/; revision=24510
2004-03-24 03:35:19 +00:00
Atsushi Eno 3aee5d6284 2004-03-24 Atsushi Enomoto <[email protected]>
* XmlAttributeCollection.cs : Remove() should throw an exception when
	  target attribute is not included in the collection.
	* XmlDocument.cs : ImportNode() should reject null node.
	* XmlNode.cs : Fixed type of exception for invalid insertion.
	  It should throw an exception not only when the owner document of the
	  reference element is different but its parent element is different.
	  Some error message improvement.

svn path=/trunk/mcs/; revision=24509
2004-03-24 02:21:48 +00:00
Martin Baulig 07e8a49a47 Make this actually work.
svn path=/trunk/mcs/; revision=24508
2004-03-23 23:10:24 +00:00
Martin Baulig 8237dc9cd5 2004-03-23 Martin Baulig <[email protected]>
* MonoGenericInst.cs: Added support for events.

svn path=/trunk/mcs/; revision=24507
2004-03-23 23:08:19 +00:00
Martin Baulig 9956d5ddab 2004-03-23 Martin Baulig <[email protected]>
* TypeBuilder.cs (TypeBuilder.GetEvents_internal): New internal
	method; this is basically GetEvents(), but see the FIXME in that method.

svn path=/trunk/mcs/; revision=24506
2004-03-23 23:08:03 +00:00
Martin Baulig 9deab5bbd9 2004-03-23 Martin Baulig <[email protected]>
* class.h (MonoDynamicGenericInst): Added `int count_events' and
	`MonoEvent *events'.

	* icall.c (ves_icall_MonoGenericInst_GetEvents): New interncall.
	(typebuilder_icalls): Added "get_event_info"; calls
	mono_reflection_event_builder_get_event_info().

	* reflection.c (mono_reflection_generic_inst_initialize): Added
	`MonoArray *events'.
	(mono_reflection_event_builder_get_event_info): New function.

svn path=/trunk/mono/; revision=24505
2004-03-23 23:07:39 +00:00
Bernie Solomon 46c8ebe6e7 2004-03-23 Bernie Solomon <[email protected]>
* hppa/hppa-codegen.h: created

	* hppa/tramp.c: changed style to be more like
	other platforms.

	* hppa/Makefile.am: add hppa-codegen.h

svn path=/trunk/mono/; revision=24504
2004-03-23 22:01:55 +00:00
Sebastien Pouliot 7443900426 2004-03-23 Sebastien Pouliot <[email protected]>
* cs1548.cs: New test for signing an assembly.

svn path=/trunk/mcs/; revision=24503
2004-03-23 21:46:15 +00:00
Ben Maurer a68914c645 2004-03-23 Ben Maurer <[email protected]>
* Switch.cs: Don't throw when there is no switches section.

svn path=/trunk/mcs/; revision=24502
2004-03-23 20:57:13 +00:00
Ben Maurer fe7f428306 2004-03-23 Ben Maurer <[email protected]>
* constant.cs, ecore.cs, literal.cs: New prop IsZeroInteger that
	checks if we can use brtrue/brfalse to test for 0.
	* expression.cs: use the above in the test for using brtrue/brfalse.
	cleanup code a bit.

svn path=/trunk/mcs/; revision=24501
2004-03-23 20:47:18 +00:00
Bernie Solomon 57db628494 2004-03-23 Bernie Solomon <[email protected]>
* object.h: add mono_type_initialization_init

	* object.c (mono_runtime_class_init):
	implement class constructor synchronization rules
	to cope with threading issues.
	add mono_type_initialization_init

	* appdomain.c (mono_runtime_init): call
	mono_type_initialization_init

	* class.h: removing initializing field from MonoVTable

svn path=/trunk/mono/; revision=24500
2004-03-23 20:19:53 +00:00
Martin Baulig 710c8b2251 2004-03-23 Martin Baulig <[email protected]>
* expression.cs (Invocation.OverloadResolve): Added `bool
	may_fail' argument and use it instead of the Location.IsNull() hack.

svn path=/trunk/mcs/; revision=24499
2004-03-23 20:09:21 +00:00
Martin Baulig b4c9545e53 Make the delegate stuff actually working.
svn path=/trunk/mcs/; revision=24498
2004-03-23 19:44:48 +00:00
Sebastien Pouliot 6a15b2e6b3 2004-03-23 Sebastien Pouliot <[email protected]>
* CryptoConvert.cs: Added support for public keys preceded by an
	header like the one generated by "sn -e".

svn path=/trunk/mcs/; revision=24497
2004-03-23 19:35:01 +00:00
Sebastien Pouliot 4f7dba8f47 2004-03-23 Sebastien Pouliot <[email protected]>
* CryptoConvertTest.cs: Added test case where the public key structure
	is inside preceded by an header (like the one produced by "sn -e").

svn path=/trunk/mcs/; revision=24496
2004-03-23 19:28:36 +00:00
Zoltan Varga 1c4ecb7cc2 2004-03-23 Zoltan Varga <[email protected]>
* exceptions-sparc.c (mono_sparc_handle_exception): Remove debugging
	output.

svn path=/trunk/mono/; revision=24495
2004-03-23 19:05:56 +00:00
Sebastien Pouliot cf58d12c72 2004-03-23 Sebastien Pouliot <[email protected]>
* Mono.Security_test.dll.sources: Added unit tests for CryptoConvert.

svn path=/trunk/mcs/; revision=24494
2004-03-23 19:04:13 +00:00
Zoltan Varga 14ecce8181 2004-03-23 Zoltan Varga <[email protected]>
* liveness.c: Consider SSA stores as well as loads when making vars
	volatile.

	* exceptions.cs: New regression tests for register allocation.

svn path=/trunk/mono/; revision=24493
2004-03-23 19:03:38 +00:00
Martin Baulig b4a3bf5b12 Make this actually work.
svn path=/trunk/mcs/; revision=24492
2004-03-23 19:03:16 +00:00
Sebastien Pouliot bad72976dc 2004-03-23 Sebastien Pouliot <[email protected]>
* RSAManaged.cs: CryptographicException thrown when trying to export
	the private key when only the public key is present (CRT aware).

svn path=/trunk/mcs/; revision=24491
2004-03-23 19:02:23 +00:00
Martin Baulig fd3fd3e481 2004-03-23 Martin Baulig <[email protected]>
* expression.cs (Invocation.InferType): Use correct type inference
	rules here.

svn path=/trunk/mcs/; revision=24490
2004-03-23 19:01:54 +00:00
Sebastien Pouliot 6130002f5e 2004-03-23 Sebastien Pouliot <[email protected]>
* StrongName.cs: Added exceptions for null or invalid keys.

svn path=/trunk/mcs/; revision=24489
2004-03-23 19:01:31 +00:00
Martin Baulig b6cf2c1d21 New test ...
svn path=/trunk/mcs/; revision=24488
2004-03-23 19:00:52 +00:00
Martin Baulig 406e2d49cb New tests .....
svn path=/trunk/mcs/; revision=24487
2004-03-23 19:00:21 +00:00
Sebastien Pouliot 626aa8535f 2004-03-23 Sebastien Pouliot <[email protected]>
* CryptoConvert.cs: Added exception for null and bad parameters.
	* RSAManaged.cs: CryptographicException thrown when trying to export
	the private key when only the public key is present (CRT aware).

svn path=/trunk/mcs/; revision=24486
2004-03-23 18:58:52 +00:00
Sebastien Pouliot 1c8c4fc566 2004-03-23 Sebastien Pouliot <[email protected]>
* StrongName.cs: Added exceptions for null or invalid keys.

svn path=/trunk/mcs/; revision=24485
2004-03-23 18:54:54 +00:00
Martin Baulig 616da98cd5 2004-03-23 Martin Baulig <[email protected]>
* ecore.cs (MethodGroupExpr.Name): Use
	TypeManager.CSharpSignature() instead of just the name.

	* expression.cs (Invocation.OverloadResolve): Provide better error
	reporting.
	(Invocation.DoResolve): OverloadResolve() never returns null
	without reporting an error, so removed the error -6 reporting here.

svn path=/trunk/mcs/; revision=24484
2004-03-23 18:41:03 +00:00
Martin Baulig 6949d3ce57 2004-03-23 Martin Baulig <[email protected]>
* MonoMethod.cs (MonoMethod.ToString): Don't include the namespace
	if it's the empty string.

svn path=/trunk/mcs/; revision=24483
2004-03-23 18:38:22 +00:00
Martin Baulig fa0f9b72cd 2004-03-23 Martin Baulig <[email protected]>
* class.c (my_mono_class_from_generic_parameter): Use
	`param->name' if it's not NULL.

svn path=/trunk/mono/; revision=24482
2004-03-23 18:37:07 +00:00
Lluis Sanchez 7b84b60a8e * ByteTest.cs, Int32Test.cs, Int64Test, SingleFormatterTest.cs, UInt16Test.cs, UInt32Test.cs, UInt64Test.cs: Made some tests depend on the current culture.
svn path=/trunk/mcs/; revision=24481
2004-03-23 18:30:34 +00:00
Gonzalo Paniagua Javier 8a6eee694d added socket-wrappers.h
svn path=/trunk/mono/; revision=24480
2004-03-23 18:18:45 +00:00
Ben Maurer fa92ddc567 2004-03-23 Ben Maurer <[email protected]>
* expression.cs: Rewrite string concat stuff. Benefits:

	- "a" + foo + "b" + "c" becomes "a" + foo + "bc"
	- "a" + foo + "b" + bar + "c" + baz ... uses concat (string []).
	rather than a concat chain.

	* typemanager.cs: Add lookups for more concat overloads.

svn path=/trunk/mcs/; revision=24479
2004-03-23 17:55:34 +00:00
Dick Porter 08b6a9b61f 2004-03-23 Dick Porter <[email protected]>
* DateTime.cs: Allow any character for DateSeparator when parsing,
	except TimeSeparator, a digit or a letter.  Fixes bug 54047.  Also
	deleted the previous fix for 54721, because this covers it too.

svn path=/trunk/mcs/; revision=24478
2004-03-23 17:41:46 +00:00
Martin Baulig de3886106c Reset dynamic_info and is_initialized.
svn path=/trunk/mono/; revision=24477
2004-03-23 17:37:51 +00:00
Martin Baulig 13d5d4ad7b 2004-03-23 Martin Baulig <[email protected]>
* typemanager.cs (TypeManager.GetMethodFlags): Fixed the FIXME for
	generic methods.

	* cs-parser.jay (delegate_declaration): Support generic delegates.

	* delegate.cs: Support generic delegates.

svn path=/trunk/mcs/; revision=24476
2004-03-23 17:36:32 +00:00
Lluis Sanchez 2aedf9aecf * FloatingPointFormatter.cs: Made the class thread safe. Had to move some
internal variables to structures that are moved around methods.
	  Factorized some common formatting code into FormatNumberInternal.

svn path=/trunk/mcs/; revision=24475
2004-03-23 17:33:49 +00:00
Gonzalo Paniagua Javier 93973d690f 2004-03-23 Gonzalo Paniagua Javier <[email protected]>
* ListDictionary.cs: mark ListEntry as serializable. Thanks to Jan
	Jaros.

svn path=/trunk/mcs/; revision=24473
2004-03-23 17:27:09 +00:00
Zoltan Varga d8d89aaede 2004-03-23 Zoltan Varga <[email protected]>
* configure.in: Fix GNU ld check.

svn path=/trunk/mono/; revision=24472
2004-03-23 17:21:21 +00:00
Sebastien Pouliot 6e79ed7e60 2004-02-23 Sebastien Pouliot <[email protected]>
* PrivateKey.cs: Adjusted to catch exceptions from CryptoConvert.
	FromCapiPrivateKeyBlob when dealing with weakly encrypted keys.

svn path=/trunk/mcs/; revision=24471
2004-03-23 17:19:20 +00:00
Sebastien Pouliot e82e7ed41b 2004-03-23 Sebastien Pouliot <[email protected]>
* CryptoConvert.cs: Added exception for null and bad parameters.

svn path=/trunk/mcs/; revision=24470
2004-03-23 17:11:32 +00:00
Sebastien Pouliot 06b8b783ff 2004-03-23 Sebastien Pouliot <[email protected]>
* CryptoConvertTest.cs: New. Unit tests for CryptoConvert.

svn path=/trunk/mcs/; revision=24469
2004-03-23 16:38:40 +00:00
Ben Maurer a71d8a5ce4 2004-03-23 Ben Maurer <[email protected]>
* expression.cs: Emit shorter il code for array init.

	newarr
	dup
	// set 1

	// set 2

	newarr
	stloc.x

	ldloc.x
	// set 1

	ldloc.x
	// set 2

svn path=/trunk/mcs/; revision=24467
2004-03-23 16:19:47 +00:00
Atsushi Eno 1cc064583f 2004-03-23 Atsushi Enomoto <[email protected]>
* SignedInfo.cs : It holds input element and directly returns it
	  unless the properties are not set.
	  Throw CryptographicException when Reference is empty *and* GetXml()
	  is *created*. (when just returning input element, no exception is
	  thrown).

svn path=/trunk/mcs/; revision=24465
2004-03-23 15:55:37 +00:00
Atsushi Eno 8c9368f811 2004-03-23 Atsushi Enomoto <[email protected]>
* SignedInfoTest.cs : assure the owner document object equality /
	  inequality with related to LoadXml() and setting properties.

svn path=/trunk/mcs/; revision=24464
2004-03-23 15:55:14 +00:00
Rafael Teixeira 9a6472f418 2004/03/22 Rafael Teixeira <[email protected]>
* typemanager.cs :  being more carefull with null arguments in some places,
						null checking in GetPertinentStandardModules() loop
	* namespace.cs : a helper ToString override
	* ecore.cs : Dealing with finding more than a pertinent standard module having a global member
	* testmbas/WriteOk.vb : Exercising correct standard module resolution
    NOTE: Almost there for Bug #52067 - just the semi-qualified case isn't working

svn path=/trunk/mcs/; revision=24463
2004-03-23 15:39:36 +00:00
Dick Porter a6f53e92e7 2004-03-23 Dick Porter <[email protected]>
* DateTime.cs: Check the date string for too many digits when
	parsing.  Fixes bugs 53023 and 53025.

svn path=/trunk/mcs/; revision=24462
2004-03-23 15:29:47 +00:00
Sebastien Pouliot 0ba2b0fe8f 2004-03-23 Sebastien Pouliot <[email protected]>
* mswse.pub: New. Microsoft WSE public key to be used for
	strongnaming the Microsoft.Web.Service assembly.

svn path=/trunk/mcs/; revision=24461
2004-03-23 13:23:05 +00:00
Sebastien Pouliot 558f4d0af6 2004-03-23 Sebastien Pouliot <[email protected]>
* ecma.pub: New. ECMA key to be used for strongnaming assemblies.
	* msfinal.pub: New. Microsoft public key to be used for strongnaming
	assemblies.

svn path=/trunk/mcs/; revision=24460
2004-03-23 13:21:28 +00:00
Atsushi Eno f343ebfeaf 2004-03-23 Atsushi Enomoto <[email protected]>
* DataObject.cs : It now hold element instead of each parameters.
	  Avoid loading element content to different document unless its
	  properties were modified (to keep namespace node context).

svn path=/trunk/mcs/; revision=24459
2004-03-23 13:05:03 +00:00
Atsushi Eno 80da194523 2004-03-23 Atsushi Enomoto <[email protected]>
* DataObjectTest.cs : assure that owner document object are different
	  after setting properties.

svn path=/trunk/mcs/; revision=24458
2004-03-23 13:04:06 +00:00
Carlos Guzmán Álvarez fa65933310 2004-03-19 Carlos Guzman Alvarez <[email protected]>
* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientHello.cs:

		- Fixed cipher suite selection.

	* Mono.Security.Protocol.Tls/TlsServerSettings.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientKeyExchange.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:

		- Added new CertificateRSA property.

		- Added new UpdateCErtfificateRSA method.

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

		- Removed CertificateRSA() method.

svn path=/trunk/mcs/; revision=24457
2004-03-23 12:03:35 +00:00
Zoltan Varga a90895fec7 2004-03-23 Zoltan Varga <[email protected]>
* CustomAttributeBuilder.cs: Disable argument checking since it causes
	regressions.

svn path=/trunk/mcs/; revision=24456
2004-03-23 11:30:08 +00:00
Anirban Bhattacharjee 0d1e1a3346 * mb-parser.jay: handled implicit static modifier for module members in const
* const.cs: changed supported modifiers

svn path=/trunk/mcs/; revision=24455
2004-03-23 11:14:22 +00:00
Anirban Bhattacharjee 3829d69daf modifiers.cs: Return name of modifiers changed to vb specific
svn path=/trunk/mcs/; revision=24454
2004-03-23 11:03:17 +00:00
Umadevi S 3dd5e6fe1a 2004-03-23 Umadevi S ([email protected])
* implemented Attributes, methods in OleDbError.cs & OleDbErrorCollection.cs

svn path=/trunk/mcs/; revision=24453
2004-03-23 10:41:16 +00:00
Ravindra bb8fe26a6e Implementing LinearGradientBrush.cs public methods.
svn path=/trunk/mcs/; revision=24452
2004-03-23 08:23:43 +00:00
Ravindra c9a34c38b6 Added few P/Invoke calls for LinearGradientBrush.
svn path=/trunk/mcs/; revision=24451
2004-03-23 08:21:07 +00:00
Umadevi S ba0568eb5e 2004-03-23 Umadevi S ([email protected])
* OleDbException.cs - implemented Attributes, GetObjectData Method

svn path=/trunk/mcs/; revision=24450
2004-03-23 08:06:50 +00:00
Francisco Figueiredo Jr. 208f6badd8 2004-03-22 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlAsciiRow.cs
        * Npgsql/NpgsqlBinaryRow.cs
        * Npgsql/NpgsqlDataReader.cs: Fixed NpgsqlDataReader.IsDBNull(). It wasn't working for postgresql 7.4+. Thanks Glen Parker ([email protected]) for the patch.

svn path=/trunk/mcs/; revision=24447
2004-03-23 01:36:45 +00:00
Francisco Figueiredo Jr. df182db1fa 2004-03-22 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlAsciiRow.cs
	* Npgsql/NpgsqlBinaryRow.cs
	* Npgsql/NpgsqlDataReader.cs: Fixed NpgsqlDataReader.IsDBNull(). It wasn't working for postgresql 7.4+. Thanks Glen Parker ([email protected]) for the patch.

svn path=/trunk/mcs/; revision=24446
2004-03-23 01:35:54 +00:00
Ben Maurer 954a17f84b 2004-03-22 Ben Maurer <[email protected]>
* mono-todo: I finished the vtable task :-).

svn path=/trunk/mono/; revision=24445
2004-03-23 01:34:02 +00:00
Francisco Figueiredo Jr. 92f68ebf28 2004-03-22 Francisco Figueiredo Jr. <[email protected]>
* NpgsqlTypes/NpgsqlTypesHelper: Applied patch to correctly parse datetimes values with timezone information. Thanks Glen Parker <[email protected]> for the patch.

svn path=/trunk/mcs/; revision=24444
2004-03-23 01:31:25 +00:00
Ben Maurer 8944bfdf8e 2004-03-22 Ben Maurer <[email protected]>
* class.c: do not insert non-virtual methods in the vtable.
	* icall.c, mono-debug-debugger.c, object.c: if method->slot == -1,
	that means the method is non-virtual. This never would have
	happened before.

svn path=/trunk/mono/; revision=24443
2004-03-23 01:31:08 +00:00
Martin Baulig 193b3d3665 delegate test ....
svn path=/trunk/mcs/; revision=24442
2004-03-22 23:10:46 +00:00
Gonzalo Paniagua Javier 799e70ce7e Don't dispose the handler
svn path=/trunk/mcs/; revision=24441
2004-03-22 21:55:44 +00:00
Gonzalo Paniagua Javier f7bff4ab5d 2004-03-22 Gonzalo Paniagua Javier <[email protected]>
* monoresgen.cs:  don't create the output file on error reading the
	input. Fixes bug #55916.

svn path=/trunk/mcs/; revision=24440
2004-03-22 21:45:17 +00:00
Gonzalo Paniagua Javier 1586e985e1 2004-03-22 Gonzalo Paniagua Javier <[email protected]>
* Process.cs: support EnableRaisingEvents + Exited event.

svn path=/trunk/mcs/; revision=24439
2004-03-22 21:36:03 +00:00
Gonzalo Paniagua Javier f6086dacfc 2004-03-22 Gonzalo Paniagua Javier <[email protected]>
* daemon.c: turned a warning into a DEBUG statement. Now we may hit it.

svn path=/trunk/mono/; revision=24438
2004-03-22 21:35:17 +00:00
Martin Baulig d7f60118e7 Ravi fixed this in July 2003, but somehow it didn't make it into gmcs ....
svn path=/trunk/mcs/; revision=24436
2004-03-22 20:57:05 +00:00
Sebastien Pouliot 980cad64ca 2004-03-22 Sebastien Pouliot <[email protected]>
* Makefile: Added /nowarn to cleanup display when building.

svn path=/trunk/mcs/; revision=24435
2004-03-22 20:52:45 +00:00
Sebastien Pouliot af1a3f3de7 2004-03-22 Sebastien Pouliot <[email protected]>
* PublisherMembershipCondition.cs: Now use CryptoConvert for
	Hexadecimal convertions.

svn path=/trunk/mcs/; revision=24434
2004-03-22 20:46:38 +00:00
Sebastien Pouliot 03ba0a2b3e 2004-03-22 Sebastien Pouliot <[email protected]>
* PublisherIdentityPermission.cs: Now use CryptoConvert for Hexadecimal
	convertions.
	* PublisherIdentityPermissionAttribute.cs: Now use CryptoConvert for
	Hexadecimal convertions.

svn path=/trunk/mcs/; revision=24433
2004-03-22 20:44:30 +00:00
Sebastien Pouliot 10d6ca59f8 2004-03-22 Sebastien Pouliot <[email protected]>
* CryptoConvert.cs: Added new methods to convert [From|To]Hex. Added
	new version of FromCapiPublicKeyBlob with an integer offset.

svn path=/trunk/mcs/; revision=24432
2004-03-22 20:39:39 +00:00
Zoltan Varga b30d135056 2004-03-22 Zoltan Varga <[email protected]>
* configure.in: Use amd64 instead of x86-64 as directory name. Fixes
	#55840.

svn path=/trunk/mono/; revision=24431
2004-03-22 20:15:01 +00:00
Zoltan Varga 68930f5be9 2004-03-22 Zoltan Varga <[email protected]>
* configure.in: Disable -version-script if not using GNU ld. Fixes
	#55910.

svn path=/trunk/mono/; revision=24430
2004-03-22 20:03:53 +00:00
Atsushi Eno c3dcc27b30 2004-03-22 Atsushi Enomoto <[email protected]>
* XslApplyTemplates.cs,
	  XslAvt.cs,
	  XslCallTemplate.cs,
	  XslChoose.cs,
	  XslIf.cs,
	  XslMessage.cs,
	  XslNumber.cs,
	  XslVariable.cs :
	  Throw XsltCompileException instead of Exception.
	* XslVariable.cs : Reject invalid attributes.

svn path=/trunk/mcs/; revision=24429
2004-03-22 18:36:28 +00:00
Atsushi Eno f10189a439 2004-03-22 Atsushi Enomoto <[email protected]>
* Compiler.cs,
	  XslAttributeSet.cs,
	  XslFunctions,
	  XslTransformProcessor.cs :
	  Throw specific types of exceptions instead of Exception.
	* XslFunctions.cs, XsltCompiledContext.cs :
	  added node argument for XsltExtensionFunction ctor() etc.

svn path=/trunk/mcs/; revision=24428
2004-03-22 18:35:34 +00:00
Lluis Sanchez eb44e1e8c5 * mini-ppc.c, tramp-ppc.c: Added lock for accessing the domain code manager.
* mini.c: Removed domain lock from mono_jit_compile_method_with_opt. Use
	  domain lock only to protect puntual access to data structures.
	  Added access lock for sighash, jit_icall_hash_name,
	  jit_icall_hash_addr and domain->code_mp.

svn path=/trunk/mono/; revision=24427
2004-03-22 17:51:15 +00:00
Lluis Sanchez 7c6c029fdd profiler.c: Added lock for accessing coverage_hash.
svn path=/trunk/mono/; revision=24426
2004-03-22 17:48:46 +00:00
Zoltan Varga 4e7119ec6e 2004-03-22 Zoltan Varga <[email protected]>
* CustomAttributeBuilder.cs (Initialize): Add more argument checking.
	Fixes #55793.

svn path=/trunk/mcs/; revision=24425
2004-03-22 17:45:35 +00:00
Martin Baulig 12bbb89749 Added params argument.
svn path=/trunk/mcs/; revision=24424
2004-03-22 17:33:10 +00:00
Martin Baulig b763764593 2004-03-22 Martin Baulig <[email protected]>
* expression.cs (Invocation.InferParamsTypeArguments): New static
	method; does type inference for params arguments.

svn path=/trunk/mcs/; revision=24423
2004-03-22 17:32:02 +00:00
Jordi Mas i Hernandez 86f440a319 pie sample
svn path=/trunk/mcs/; revision=24421
2004-03-22 17:00:13 +00:00
Dick Porter 4f6c31d26a 2004-03-22 Dick Porter <[email protected]>
* String.cs (System): Use the provider when converting strings to
	other types.

	* DateTime.cs (System): Add MM-dd-yyyy to the list of standard
	date parsing formats.  Fixes bug 54721.

2004-03-22  Dick Porter  <[email protected]>

	* DateTimeTest.cs (System): Test the MM-dd-yyyy date parse format.

svn path=/trunk/mcs/; revision=24420
2004-03-22 16:58:33 +00:00
Andreas N ac5c121ab5 2004-03-22 Andreas Nahr <[email protected]>
* Console.cs: Styled, optimized calls
	* CrossAppDomainDelegate.cs: Small header fix
	* Buffer.cs: Style, improve errors
	* BitConverter.cs: Style, improve errors, remove obsolete comment
	* Attribute.cs: Style, improve errors, small fix
	* Array.cs: Style, improve errors, small fix, added TODOs
	* Activator.cs: Style, localized errors, added error checks
	* Byte.cs: Style, localized errors, fixed wrong exception parameters
	* Char.cs: Style
	* Boolean.cs: Style
	* AppDomainSetup.cs: Style
	* AppDomain.cs: Style, implemented two methods (redirect)

svn path=/trunk/mcs/; revision=24419
2004-03-22 16:13:32 +00:00
Jackson Harper edfe1fb025 * parser.cs: Use the group number as the name in mapping. Patch by Gert Driesen.
* regex.cs: Fix off by one error. Patch by Gert Driesen.

svn path=/trunk/mcs/; revision=24418
2004-03-22 16:09:39 +00:00
Jackson Harper 100076871e * RegexBugs.cs: Add test case for multiple matches.
svn path=/trunk/mcs/; revision=24417
2004-03-22 16:02:15 +00:00
Zoltan Varga c57317920c 2004-03-22 Zoltan Varga <[email protected]>
* CustomAttributeBuilderTest.cs: Call GetCustomAttributes with false
	so custom attributes on Object do not screw the results.

svn path=/trunk/mcs/; revision=24416
2004-03-22 15:51:54 +00:00
Rafael Teixeira e944cbe7d1 2004/03/22 Rafael Teixeira <[email protected]>
* ecore.cs : now it gets the correct list of namespaces in scope (either imported or current) Almost there for Bug #52067

svn path=/trunk/mcs/; revision=24415
2004-03-22 15:42:23 +00:00
Zoltan Varga 01d63e525c 2004-03-22 Zoltan Varga <[email protected]>
* configure.in: Speedup successful sigaltstack test.

svn path=/trunk/mono/; revision=24414
2004-03-22 15:40:42 +00:00
Ravindra 0147ab6cff Implementing LinearGradientBrush.cs and fixing PathGradientBrush.cs.
svn path=/trunk/mcs/; revision=24413
2004-03-22 12:21:04 +00:00
Ravindra 5c37570079 Added few P/Invoke calls for LinearGradientBrush and couple of coding style fixes.
svn path=/trunk/mcs/; revision=24412
2004-03-22 12:08:55 +00:00
Anirban Bhattacharjee 689e7f0b41 one more test case for constant
svn path=/trunk/mcs/; revision=24410
2004-03-22 10:50:24 +00:00
Anirban Bhattacharjee bd83779db8 mb-parser.jay: One more negative scenario is addressed in const grammar
svn path=/trunk/mcs/; revision=24409
2004-03-22 10:44:04 +00:00
Anirban Bhattacharjee 92f0be3983 VariablesB.vb: small correction in test case
svn path=/trunk/mcs/; revision=24408
2004-03-22 08:22:09 +00:00
Anirban Bhattacharjee 85de23e1ec Test cases for constant
svn path=/trunk/mcs/; revision=24407
2004-03-22 08:15:52 +00:00
Anirban Bhattacharjee 20807d2f0f const.cs: Change type of constant to the type of its value if no explicit type declaration found
svn path=/trunk/mcs/; revision=24406
2004-03-22 07:22:15 +00:00
Jackson Harper e6c9c07fe5 * DoubleFormatterTest.cs: test setting the number of decimal
digits.

svn path=/trunk/mcs/; revision=24405
2004-03-22 07:17:41 +00:00
Anirban Bhattacharjee e81d868b80 mb-parser.jay: Grammar for declaring constant inside block is changed
svn path=/trunk/mcs/; revision=24404
2004-03-22 07:00:54 +00:00
Jackson Harper c69f40cecd * FloatingPointFormatter.cs: Set precision from number format info
when it is not specified. This fixes bug #54983.

svn path=/trunk/mcs/; revision=24403
2004-03-22 06:57:06 +00:00
Jackson Harper cc615ced8d * Uri.cs: Equals should be case insensitive for all parts except
the path.

svn path=/trunk/mcs/; revision=24401
2004-03-22 06:16:01 +00:00
Jackson Harper b27193fd68 * TestUri.cs: Make sure Uri::Equals is case insensitive for
everything but paths.

svn path=/trunk/mcs/; revision=24400
2004-03-22 06:11:25 +00:00
Atsushi Eno 1da9ad39e9 2004-03-22 Atsushi Enomoto <[email protected]>
* XsltException.cs, XsltCompileException.cs : They had used
	  message field which were never set.

svn path=/trunk/mcs/; revision=24399
2004-03-22 05:47:56 +00:00
Atsushi Eno 63532431bb 2004-03-22 Atsushi Enomoto <[email protected]>
* ScriptCompilerInfo.cs : Modified compilation processing. Now it uses
	  CodeDom. Compilation error should be caught. This fixes bug #55875.

svn path=/trunk/mcs/; revision=24398
2004-03-22 05:45:07 +00:00
Anirban Bhattacharjee da96838a27 const.cs: Changed exception numbers
svn path=/trunk/mcs/; revision=24397
2004-03-22 05:02:44 +00:00
Anirban Bhattacharjee 99e554c1d8 Changed grammar for constant
svn path=/trunk/mcs/; revision=24396
2004-03-22 04:58:27 +00:00
Ben Maurer eeb2c98e2a 2004-03-22 Ben Maurer <[email protected]>
* test-234.cs: test for 25885.

svn path=/trunk/mcs/; revision=24394
2004-03-22 04:52:05 +00:00
Martin Baulig 5b4e8f69cf 2004-03-21 Martin Baulig <[email protected]>
* typemanager.cs (TypeManager.IsGenericMethod): New public static
	method; checks whether a method is a generic method.

	* expression.cs (Invocation.InferTypeArguments): New static method;
	infer type arguments for generic method invocation.

	* ecore.cs (MethodGroupExpr.HasTypeArguments): New public
	property; we set this to true if we're resolving a generic method
	invocation and the user specified type arguments, ie. we're not
	doing type inference.

svn path=/trunk/mcs/; revision=24393
2004-03-22 04:48:22 +00:00
Ben Maurer a04d5b5535 2004-03-22 Ben Maurer <[email protected]>
* statement.cs: Before, two switch blocks would be merged if the
	total size of the blocks (end_item - begin_item + 1) was less than
	two times the combined sizes of the blocks.

	Now, it will only merge if after the merge at least half of the
	slots are filled.

	fixes 55885.

svn path=/trunk/mcs/; revision=24392
2004-03-22 04:47:45 +00:00
Martin Baulig 5035bc9109 2004-03-22 Martin Baulig <[email protected]>
* icall.c (ves_icall_MethodInfo_get_IsGenericMethod): Use
	`method->method->signature->generic_param_count != 0' to make it
	work for interface methods.

svn path=/trunk/mono/; revision=24391
2004-03-22 04:47:31 +00:00
Martin Baulig f7f3447776 Don't crash here ;-)
svn path=/trunk/mono/; revision=24390
2004-03-22 04:47:22 +00:00
Martin Baulig 2c36ea0a1e 2004-03-21 Martin Baulig <[email protected]>
* gen-45.cs: New generics test for type inference.

svn path=/trunk/mcs/; revision=24389
2004-03-22 00:44:09 +00:00
Sebastien Pouliot 688896e493 2004-03-21 Sebastien Pouliot <[email protected]>
* ChangeLog: commited missing ChangeLog entries.

svn path=/trunk/mcs/; revision=24388
2004-03-21 14:09:24 +00:00
Gonzalo Paniagua Javier 1c963cb88d 2004-03-21 Gonzalo Paniagua Javier <[email protected]>
* Socket.cs: when Dispose (bool) is called from the finalizer, always
	do the cleanup. Fixes yet another nullref with xsp.

svn path=/trunk/mcs/; revision=24387
2004-03-21 07:56:15 +00:00
Gonzalo Paniagua Javier 271bb68c4e 2004-03-21 Gonzalo Paniagua Javier <[email protected]>
* ThreadAbortException.cs: use same HResult as MS.
	* Timer.cs: abort the running thread when disposing the Timer. This
	fixes NullRefs when finishing xsp.

svn path=/trunk/mcs/; revision=24386
2004-03-21 07:38:16 +00:00
Gonzalo Paniagua Javier 6c6bd263f9 2004-03-21 Gonzalo Paniagua Javier <[email protected]>
* configure.in: this test for sigaltstack works.

svn path=/trunk/mono/; revision=24385
2004-03-21 06:43:13 +00:00
Atsushi Eno 0a270288b5 2004-03-21 Atsushi Enomoto <[email protected]>
* XmlReader.cs : ReadInnerXml() incorrectly tried to get output xml.
	  This fixes bug #55856.

svn path=/trunk/mcs/; revision=24384
2004-03-21 06:02:29 +00:00
Sebastien Pouliot ef584c35f0 2004-03-20 Sebastien Pouliot <[email protected]>
* SignedXmlTest.cs: Renamed GetPublicKey to PublicGetPublicKey to
	remove warning.

svn path=/trunk/mcs/; revision=24382
2004-03-21 01:05:21 +00:00
Sebastien Pouliot 189c0f1443 2004-03-20 Sebastien Pouliot <[email protected]>
* SignedXml.cs: Removed unused (and commented) ComputeHash method.

svn path=/trunk/mcs/; revision=24381
2004-03-21 01:03:10 +00:00
Sebastien Pouliot 829860f3d3 2004-03-20 Sebastien Pouliot <[email protected]>
* .cvsignore: Ignore Phaos test suite files.

svn path=/trunk/mcs/; revision=24380
2004-03-20 23:59:33 +00:00
Sebastien Pouliot 6acbbf4401 2004-03-20 Sebastien Pouliot <[email protected]>
* crypto: Updated status after 0.31 release.

svn path=/trunk/mono/; revision=24379
2004-03-20 23:52:53 +00:00
Martin Baulig ab40303b89 2004-03-20 Martin Baulig <[email protected]>
* gen-44.cs: New generics test for operators.

	* gen-21.cs: Use the new `default(T)' syntax.

svn path=/trunk/mcs/; revision=24378
2004-03-20 22:41:57 +00:00
Martin Baulig f80ed8bc1f 2004-03-20 Martin Baulig <[email protected]>
* class.cs (MethodData.DeclaringType): New public property.
	(MethodData.Define): Set DeclaringType here.
	(Operator.Define): Use OperatorMethod.MethodData.DeclaringType
	instead of OperatorMethodBuilder.DeclaringType.

svn path=/trunk/mcs/; revision=24377
2004-03-20 22:38:30 +00:00
Zoltan Varga 1ecb1f0a45 2004-03-20 Zoltan Varga <[email protected]>
* configure.in: Disable sigaltstack test for now since it can hang.

svn path=/trunk/mono/; revision=24374
2004-03-20 22:24:04 +00:00
Zoltan Varga 370f56f417 2004-03-20 Zoltan Varga <[email protected]>
* driver.c: Print SIGSEGV handling method.

svn path=/trunk/mono/; revision=24373
2004-03-20 22:02:47 +00:00
Martin Baulig b6368b82c3 2004-03-20 Martin Baulig <[email protected]>
* cs-tokenizer.cs (xtoken): Return a special
	Token.DEFAULT_OPEN_PARENS for "`default' followed by open parens".

	* cs-parser.jay (default_value_expression): Switch to the new
	syntax (14.5.13).

svn path=/trunk/mcs/; revision=24372
2004-03-20 22:00:41 +00:00
Zoltan Varga 08f7402ccc 2004-03-20 Zoltan Varga <[email protected]>
* configure.in: Add test for working sigaltstack.

svn path=/trunk/mono/; revision=24371
2004-03-20 21:41:08 +00:00
Martin Baulig 3cf991243b 2004-03-19 Martin Baulig <[email protected]>
* decl.cs (MemberName): New class.  We use this to "construct"
	namespace_or_type_name's.

	* generics.cs (TypeArguments.GetDeclarations): New public method;
	returns the type arguments as a string[] and reports a CS0081 if
	one of them is not an identifier.

	* class.cs (MemberBase): The .ctor now takes the name as a
	MemberName instead of a string.
	(MemberBase.ExplicitInterfaceName): Changed type from string to
	Expression.
	(MemberBase.DoDefine): If we're an explicit implementation, the
	InterfaceType may be a generic instance.

	* cs-parser.jay (namespace_or_type_name): Return a MemberName.
	(namespace_name): Call MemberName.GetName () to transform the
	MemberName into a string and ensure we don't have any type
	arguments.
	(type_name): Call MemberName.GetTypeExpression() to transfrom the
	MemberName into an expression.
	(method_header): Use namespace_or_type_name instead of member_name.

svn path=/trunk/mcs/; revision=24369
2004-03-20 21:15:39 +00:00
Ben Maurer 02731a145e build fixie for 1.2
svn path=/trunk/mcs/; revision=24368
2004-03-20 20:19:49 +00:00
Zoltan Varga 3c6672f72b 2004-03-20 Zoltan Varga <[email protected]>
* mini-x86.c (mono_arch_free_jit_tls_data): Add missing ifdef.

svn path=/trunk/mono/; revision=24367
2004-03-20 20:16:13 +00:00
Atsushi Eno a9b3ada7f4 2004-03-20 Atsushi Enomoto <[email protected]>
* class.cs : csc build fix for GetMethods(). See bug #52503.

svn path=/trunk/mcs/; revision=24366
2004-03-20 19:51:06 +00:00
Ben Maurer cfcc060f4e test for fp comparison
svn path=/trunk/mcs/; revision=24365
2004-03-20 19:49:57 +00:00
Ben Maurer aaf21d9349 2004-03-20 Ben Maurer <[email protected]>
* expression.cs: Make sure fp comparisons work with NaN.
	This fixes bug #54303. Mig approved this patch a long
	time ago, but we were not able to test b/c the runtime
	had a related bug.

svn path=/trunk/mcs/; revision=24364
2004-03-20 19:49:24 +00:00
Zoltan Varga 0d1216c266 2004-03-20 Zoltan Varga <[email protected]>
* mini.c (setup_jit_tls_data): Handle case when this is called
	multiple times for a thread.

svn path=/trunk/mono/; revision=24363
2004-03-20 19:05:57 +00:00
Zoltan Varga f84ea977f9 2004-03-20 Zoltan Varga <[email protected]>
* mini-x86.c cpu-pentium.md: Fix floating point branch opcodes so fbxx
	is different from fbxx_un. Fixes #54303. Also use constants instead of
	magic numbers in a lot of places.

svn path=/trunk/mono/; revision=24362
2004-03-20 17:54:20 +00:00
Atsushi Eno 3e55c81d52 2004-03-20 Atsushi Enomoto <[email protected]>
* XmlTextWriter.cs : Fixed indentation on CDATA. This fixes bug #55828.

svn path=/trunk/mcs/; revision=24361
2004-03-20 00:35:54 +00:00
Gonzalo Paniagua Javier 8def85bdc8 2004-03-19 Gonzalo Paniagua Javier <[email protected]>
* Watcher.cs: Removed file. Jackson made it obsolete and already
	removed it from the .sources file.

svn path=/trunk/mcs/; revision=24359
2004-03-19 23:00:41 +00:00
Gonzalo Paniagua Javier b40bb7ed5f updated changelog
svn path=/trunk/mcs/; revision=24358
2004-03-19 22:55:45 +00:00
Gonzalo Paniagua Javier 58fd85e029 2004-03-19 Gonzalo Paniagua Javier <[email protected]>
* ConfigurationSettings.cs: removed FileWatcherCache.

svn path=/trunk/mcs/; revision=24357
2004-03-19 22:51:13 +00:00
Martin Baulig 17267042e5 Small fix.
svn path=/trunk/mcs/; revision=24356
2004-03-19 22:40:32 +00:00
Martin Baulig 0a458b4720 2004-03-19 Martin Baulig <[email protected]>
* class.cs (MemberCore.IsDuplicateImplementation): Check whether
	two overloads may unify for some type parameter substitutions and
	report a CS0408 if appropriate.

svn path=/trunk/mcs/; revision=24355
2004-03-19 22:22:01 +00:00
Miguel de Icaza c60f36decb 2004-03-19 Miguel de Icaza <[email protected]>
* ecore.cs (TypExpr.GetHashCode): implement this overload.

svn path=/trunk/mcs/; revision=24354
2004-03-19 22:17:26 +00:00
Martin Baulig 0a84bfe1b1 2004-03-19 Martin Baulig <[email protected]>
* class.cs (MemberCore.IsDuplicateImplementation): Report the
	error here and not in our caller.

svn path=/trunk/mcs/; revision=24353
2004-03-19 22:08:02 +00:00
Gonzalo Paniagua Javier 01e17ca3b1 2004-03-19 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: return HttpContext.Current if _context has not yet been
	assigned to. Fixes bug #55245.

svn path=/trunk/mcs/; revision=24352
2004-03-19 21:53:04 +00:00
Gonzalo Paniagua Javier 5447d87bd4 forgot this from George's patch
svn path=/trunk/mcs/; revision=24351
2004-03-19 21:33:44 +00:00
Martin Baulig 81c71a8039 *** Merged from MCS ****
svn path=/trunk/mcs/; revision=24350
2004-03-19 20:45:44 +00:00
Gonzalo Paniagua Javier 1efb7820d0 2004-03-19 Gonzalo Paniagua Javier <[email protected]>
* daemon.c: only call getdtablesize () once.
	* processes.c: wait 500 ms to check if execve failed and throw the same
	exception as MS on failure. Fixes bug #32809.

svn path=/trunk/mono/; revision=24349
2004-03-19 20:28:19 +00:00
Gonzalo Paniagua Javier b0cbd68a34 2004-03-19 Gonzalo Paniagua Javier <[email protected]>
* Win32Exception.cs: added ERROR_PATH_NOT_FOUND that reports the same
	message as ERROR_FILE_NOT_FOUND.

svn path=/trunk/mcs/; revision=24348
2004-03-19 20:23:09 +00:00
Martin Baulig a89e8725b4 Removed interface.cs from the makefile.
svn path=/trunk/mcs/; revision=24347
2004-03-19 20:06:57 +00:00
Martin Baulig 546736488f Added newline at the end of the file.
svn path=/trunk/mcs/; revision=24346
2004-03-19 20:01:15 +00:00
Martin Baulig 9afacc15d7 2004-03-19 Martin Baulig <[email protected]>
* interface.cs: Completely killed this file.
	(Interface): We're now a TypeContainer and live in class.cs.

	* class.cs (TypeContainer.GetClassBases): Added `bool is_iface'
	argument; we're now also called for interfaces.
	(TypeContainer.DefineMembers): Allow this method being called
	multiple times.
	(TypeContainer.GetMethods): New public method; formerly known as
	Interface.GetMethod().  This is used by PendingImplementation.
	(TypeContainer.EmitDefaultMemberAttr): Moved here from Interface;
	it's now private and non-static.
	(Interface): Moved this here; it's now implemented similar to
	Class and Struct.
	(Method, Property, Event, Indexer): Added `bool is_interface'
	argument to their .ctor's.
	(MemberBase.IsInterface): New public field.

	* cs-parser.jay: Create normal Method, Property, Event, Indexer
	instances instead of InterfaceMethod, InterfaceProperty, etc.
	(opt_interface_base): Removed; we now use `opt_class_base' instead.
	(InterfaceAccessorInfo): Create `Get' and `Set' Accessor's.

svn path=/trunk/mcs/; revision=24345
2004-03-19 19:59:38 +00:00
Miguel de Icaza a62a2ce584 Update after testing
svn path=/trunk/mono/; revision=24344
2004-03-19 19:49:17 +00:00
Miguel de Icaza 5900e84b84 Update
svn path=/trunk/mono/; revision=24343
2004-03-19 19:21:34 +00:00
Zoltan Varga 6451a9be2e 2004-03-19 Zoltan Varga <[email protected]>
* exceptions.cs: Fix cctor test when --regression is used.

svn path=/trunk/mono/; revision=24342
2004-03-19 19:11:49 +00:00
Gonzalo Paniagua Javier d41414f963 0.31.99
svn path=/trunk/mono/; revision=24341
2004-03-19 18:41:16 +00:00
Gonzalo Paniagua Javier 9b35101261 0.31.99
svn path=/trunk/mcs/; revision=24341
2004-03-19 18:41:16 +00:00
Gonzalo Paniagua Javier a8d0b784b0 2004-03-19 Gonzalo Paniagua Javier <[email protected]>
* UrlUtils.cs: small fix from George Kodinov for Combine when ~ is used.

svn path=/trunk/mcs/; revision=24340
2004-03-19 18:28:19 +00:00
Martin Baulig 7258418ade 2004-03-19 Martin Baulig <[email protected]>
* class.cs (MethodCore.IsDuplicateImplementation): New private
	method which does the CS0111 checking.
	(Method.CheckBase, Constructor.CheckBase, PropertyBase.CheckBase):
	Use IsDuplicateImplementation().

svn path=/trunk/mcs/; revision=24339
2004-03-19 18:19:06 +00:00
Atsushi Eno 852b567b99 2004-03-19 Atsushi Enomoto <[email protected]>
* XmlDsigXPathTransform.cs : just found stupid bug.

svn path=/trunk/mcs/; revision=24338
2004-03-19 18:17:13 +00:00
Miguel de Icaza d7de5a11d2 Add include directory
svn path=/trunk/mono/; revision=24337
2004-03-19 18:14:04 +00:00
Gonzalo Paniagua Javier ff941f80ff 2004-03-19 Gonzalo Paniagua Javier <[email protected]>
* process.c: quote the string passed to the shell using g_shell_quote.

svn path=/trunk/mono/; revision=24336
2004-03-19 18:05:27 +00:00
Gonzalo Paniagua Javier f96033521f 2004-03-19 Gonzalo Paniagua Javier <[email protected]>
* threads.c:
	(mono_threads_manage): don't remove the finalizer thread and self
	from the threads hash table so that mono_thread_manage can be called
	more than once.

svn path=/trunk/mono/; revision=24335
2004-03-19 17:42:40 +00:00
Jordi Mas i Hernandez 55cb57557c bmp encoder /decoder enhancements and bug fixing
svn path=/trunk/mcs/; revision=24334
2004-03-19 17:25:27 +00:00
Jordi Mas i Hernandez b7414a15b6 revert Sanjay's patch. It broke the TestBimap test case and also saving on existing files. On Monday, he can rework the patch and send it again
svn path=/trunk/mcs/; revision=24333
2004-03-19 15:52:49 +00:00
Sebastien Pouliot 8e86375c4b Can't update ChangeLog from Windows due to encoding problems.
svn path=/trunk/mcs/; revision=24332
2004-03-19 15:25:40 +00:00
Sebastien Pouliot 106d595a44 2004-03-19 Sebastien Pouliot <[email protected]>
* TlsClientKeyExchange.cs: Fixed key pair used to encrypt pre-master
	secret for exportable ciphers - must use the public key received in
	ServerKeyExchange.

svn path=/trunk/mcs/; revision=24331
2004-03-19 15:22:17 +00:00
Sebastien Pouliot 0923510772 2004-03-19 Sebastien Pouliot <[email protected]>
* CipherSuite.cs: Fixed PRF generation when secret is an odd number of
	bytes (section 5 in RFC2246).
	* CipherSuiteFactory.cs: Added algorithms RSA_EXPORT_WITH_RC4_40_MD5,
	RSA_EXPORT_WITH_RC2_CBC_40_MD5, RSA_EXPORT_WITH_DES40_CBC_SHA,
	RSA_EXPORT_WITH_RC4_56_MD5, RSA_EXPORT_WITH_RC2_CBC_56_MD5,
	RSA_EXPORT_WITH_DES_CBC_56_SHA and RSA_EXPORT_WITH_RC4_56_SHA to both
	SSL3 and TLS1 protocols.
	* SslCipherSuite.cs: Fixed key generation for exportable ciphers.
	* TlsCipherSuite.cs: Fixed key generation for exportable ciphers.

svn path=/trunk/mcs/; revision=24330
2004-03-19 15:21:18 +00:00
Atsushi Eno 2e584078f8 2004-03-19 Atsushi Enomoto <[email protected]>
* XmlImplementation.cs : HasFeature() returns true when strVersion
	  is null.

svn path=/trunk/mcs/; revision=24329
2004-03-19 14:31:06 +00:00
Dick Porter d339f0349e 2004-03-19 Dick Porter <[email protected]>
* UnicodeEncoding.cs: GetCharCount(), GetChars(): Check for the
	BOM at the beginning of the range of characters we're interested
	in, not at the beginning of the array.  Fixes bug 51531.

2004-03-19  Dick Porter  <[email protected]>

	* UnicodeEncodingTest.cs: Test for character counts on subranges
	of arrays with a BOM at the start of the array.

svn path=/trunk/mcs/; revision=24328
2004-03-19 13:57:25 +00:00
Sebastien Pouliot f8fed6fdc5 2004-03-19 Sebastien Pouliot <[email protected]>
* SignedXmlTest.cs: Completed unit tests as many methods were not
	tested at all previously.

svn path=/trunk/mcs/; revision=24327
2004-03-19 13:36:13 +00:00
Sebastien Pouliot b69503f4bc 2004-03-19 Sebastien Pouliot <[email protected]>
* SignedXml.cs: Lot of small changes to complete TODOs and to match
	the new unit tests.

svn path=/trunk/mcs/; revision=24326
2004-03-19 13:34:28 +00:00
Rafael Teixeira 506cbfcdab 2004-03-19 Joerg Rosenkranz <[email protected]>
* Interaction.cs:
		Added MonoTODO attributes
		All not implemented members are throwing NotImplementedException
		Implemented IIf
		Implemented Command
		Implemented Environ

svn path=/trunk/mcs/; revision=24325
2004-03-19 13:08:04 +00:00
Umadevi S 376bcdb21f 2004-03-18 Umadevi S ([email protected])
* OdbcCollection.cs - implemented CopyTo method

svn path=/trunk/mcs/; revision=24324
2004-03-19 10:50:45 +00:00
Umadevi S 3fd555137e 2004-03-19 Umadevi S ([email protected])
* OdbcException.cs - Implemented Message and GetObjectData

svn path=/trunk/mcs/; revision=24322
2004-03-19 08:15:29 +00:00
David Sheldon c8a30a7adb 2004-03-19 David Sheldon <[email protected]>
* ThreadTest.cs: Removed Ignore attributes from
      CurrentPrincipal_PrincipalPolicy_NoPrincipal and
      CurrentPrincipal_PrincipalPolicy_UnauthenticatedPrincipal
    Now that bug 54041 is fixed, and they wont livelock.

svn path=/trunk/mcs/; revision=24321
2004-03-19 08:12:42 +00:00
Sanja Gupta 7734f9a6a8 ChangeLog: Updated ChangeLog
TestBitmap.cs: Added test case for exception thrown while saving
	   image to same file from which it is read.

svn path=/trunk/mcs/; revision=24320
2004-03-19 06:24:58 +00:00
Sanja Gupta 76ed7f56ea ChangeLog: Updated ChangeLog
Image.cs: Implemented save method and fixed issue with file creation

svn path=/trunk/mcs/; revision=24319
2004-03-19 06:08:46 +00:00
Gonzalo Paniagua Javier 767d5b33b8 2004-03-19 Gonzalo Paniagua Javier <[email protected]>
* process.c: quote the arguments when UseShellExecute is true. Fixes
	bug #55790.

svn path=/trunk/mono/; revision=24318
2004-03-19 05:25:22 +00:00
Miguel de Icaza bcfc8c7293 Flush
svn path=/trunk/mono/; revision=24317
2004-03-19 02:27:17 +00:00
Gonzalo Paniagua Javier f77844a345 2004-03-18 Gonzalo Paniagua Javier <[email protected]>
* threads.c: set mono_thread_detach as a cleanup routine for every
	thread. This way it's always executed upon thread termination, either
	aborted or finished normally. No more xsp hangs!

svn path=/trunk/mono/; revision=24315
2004-03-19 01:36:11 +00:00
2643 changed files with 140125 additions and 58439 deletions

No files matched your search

+256 -1
View File
@@ -1,3 +1,259 @@
2004-05-04 Gonzalo Paniagua Javier <[email protected]>
* configure.in: check for SIGEV_THREAD being defined before checking
for AIO support. Fixes compilation under FreeBSD.
2004-05-04 Raja R Harinath <[email protected]>
* runtime/net_1_1/Makefile.am (mono_runtime): Use USE_JIT, not
JIT_SUPPORTED.
(install-data-local, uninstall-data-local): Run runtime with
libtool.
* runtime/net_2_0/Makefile.am: Likewise.
Report from Urs C Muff <[email protected]>.
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.
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.
2004-03-21 Gonzalo Paniagua Javier <[email protected]>
* configure.in: this test for sigaltstack works.
2004-03-20 Zoltan Varga <[email protected]>
* configure.in: Disable sigaltstack test for now since it can hang.
* configure.in: Add test for working sigaltstack.
2004-03-16 Duncan Mak <[email protected]>
* runtime/Makefile.am
@@ -534,7 +790,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
-159
View File
@@ -1,159 +0,0 @@
/* config.h.in. Generated from configure.in by autoheader. */
#undef HAVE_INET_PTON
#undef HAVE_INET_ATON
#undef HAVE_MSG_NOSIGNAL
#undef HAVE_SOL_IP
#undef HAVE_SOL_TCP
#undef HAVE_SOL_IPV6
#undef HAVE_IP_PKTINFO
#undef HAVE_STRUCT_IP_MREQN
#undef HAVE_STRUCT_IP_MREQ
#undef HAVE_PTHREAD_MUTEX_TIMEDLOCK
#undef USE_MONO_MUTEX
#undef HAVE_LARGE_FILE_SUPPORT
#undef PLATFORM_WIN32
#undef HAVE_NEW_ICONV
#undef NAME_DEV_RANDOM
#undef HAVE_CRYPT_RNG
#undef HAVE_BOEHM_GC
#undef USE_INCLUDED_LIBGC
#undef DISABLE_SHARED_HANDLES
#undef HAVE_TIMEZONE
#undef HAVE_TM_GMTOFF
#undef MONO_SIZEOF_SUNPATH
#undef MONO_ZERO_ARRAY_LENGTH
#undef NEED_LINK_UNLINK
#undef PTHREAD_POINTER_ID
#undef HAVE_GC_H
#undef HAVE_GC_GCJ_MALLOC
#undef HAVE_GC_ENABLE
#undef WITH_BUNDLE
#undef HAVE_GETHOSTBYNAME2_R
#undef HAVE_ICU
#undef HAVE_KW_THREAD
#undef HAVE_SIGNBIT
#undef USE_MACH_SEMA
#undef HAVE_SOCKLEN_T
#undef HAVE_TRUNCL
#undef HAVE_AINTL
#undef HAVE_WORKING_SIGALTSTACK
/* Define to 1 if you have the <aio.h> header file. */
#undef HAVE_AIO_H
/* Define to 1 if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H
/* Define to 1 if you have the <elf.h> header file. */
#undef HAVE_ELF_H
/* Define to 1 if you have the `finite' function. */
#undef HAVE_FINITE
/* Define to 1 if you have the <gc/gc.h> header file. */
#undef HAVE_GC_GC_H
/* Define to 1 if you have the <gc.h> header file. */
#undef HAVE_GC_H
/* Define to 1 if you have the `inet_aton' function. */
#undef HAVE_INET_ATON
/* Define to 1 if you have the `inet_pton' function. */
#undef HAVE_INET_PTON
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define to 1 if you have the `isfinite' function. */
#undef HAVE_ISFINITE
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
/* Define to 1 if you have the <netdb.h> header file. */
#undef HAVE_NETDB_H
/* Define to 1 if you have the `poll' function. */
#undef HAVE_POLL
/* Define to 1 if you have the `pthread_attr_setstacksize' function. */
#undef HAVE_PTHREAD_ATTR_SETSTACKSIZE
/* Define to 1 if you have the <pthread.h> header file. */
#undef HAVE_PTHREAD_H
/* Define to 1 if you have the `pthread_mutex_timedlock' function. */
#undef HAVE_PTHREAD_MUTEX_TIMEDLOCK
/* Define to 1 if you have the <semaphore.h> header file. */
#undef HAVE_SEMAPHORE_H
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
/* Define to 1 if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H
/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H
/* Define to 1 if you have the <sys/filio.h> header file. */
#undef HAVE_SYS_FILIO_H
/* Define to 1 if you have the <sys/sockio.h> header file. */
#undef HAVE_SYS_SOCKIO_H
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H
/* Define to 1 if you have the <sys/un.h> header file. */
#undef HAVE_SYS_UN_H
/* Define to 1 if you have the `truncl' function. */
#undef HAVE_TRUNCL
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
/* Define to 1 if you have the <utime.h> header file. */
#undef HAVE_UTIME_H
/* Define to 1 if you have the <valgrind/memcheck.h> header file. */
#undef HAVE_VALGRIND_MEMCHECK_H
/* Define to 1 if you have the <wchar.h> header file. */
#undef HAVE_WCHAR_H
/* Name of package */
#undef PACKAGE
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
/* Define to the full name of this package. */
#undef PACKAGE_NAME
/* Define to the full name and version of this package. */
#undef PACKAGE_STRING
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
/* Define to the version of this package. */
#undef PACKAGE_VERSION
/* The size of a `void *', as computed by sizeof. */
#undef SIZEOF_VOID_P
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
/* Version number of package */
#undef VERSION
+282 -53
View File
@@ -1,7 +1,7 @@
AC_INIT(README)
AC_CANONICAL_SYSTEM
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE(mono,0.31)
AM_INIT_AUTOMAKE(mono,0.91)
AM_MAINTAINER_MODE
dnl
@@ -58,7 +58,7 @@ case "$host" in
;;
*-*-*freebsd*|*-*-*openbsd*)
platform_win32=no
CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE"
CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE -DGC_FREEBSD_THREADS"
libmono_cflags="-D_THREAD_SAFE"
LDFLAGS="$LDFLAGS -pthread"
libmono_ldflags="-pthread"
@@ -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"
@@ -114,7 +114,6 @@ case "$host" in
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
@@ -151,6 +150,15 @@ AC_HEADER_STDC
AC_LIBTOOL_WIN32_DLL
AM_PROG_LIBTOOL
# Test whenever ld supports -version-script
AC_PROG_LD
AC_PROG_LD_GNU
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
@@ -232,10 +240,6 @@ AC_ARG_WITH(nptl, [ --with-nptl=yes,no enable/disable support for NPTL],[]
# This does not work on some platforms (bug #55253)
AC_ARG_WITH(sigaltstack, [ --with-sigaltstack=yes,no enable/disable support for sigaltstack],[],[with_sigaltstack=yes])
if test x$with_sigaltstack = "xyes"; then
AC_DEFINE(HAVE_WORKING_SIGALTSTACK)
fi
# assembly bundle support, see metadata/make-bundle.pl for more info
AC_ARG_WITH(bundle, [ --with-bundle=bundle_template],[
BUNDLE_FILE=$with_bundle
@@ -318,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) ***
@@ -562,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;
@@ -579,45 +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)
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;
}
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);
}
int
main ()
{
pid_t son;
int status;
int i;
son = fork ();
if (son == -1) {
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;
}
], [
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_WORKING_SIGALTSTACK)
], [
with_sigaltstack=no
AC_MSG_RESULT(no)
])
fi
dnl ********************************
dnl *** Checks for semaphore lib ***
@@ -687,11 +849,45 @@ 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_LIB(rt, aio_read, [ LIBS="$LIBS -lrt" ],)
AC_MSG_CHECKING([for SIGEV_THREAD definition])
dnl Some systems (FreeBSD at least) may have aio_read
dnl but don't support/define SIGEV_THREAD.
AC_TRY_COMPILE([
#include <sys/signal.h>
],[
int x = SIGEV_THREAD;
],[
ac_cv_c_sigev_thread=yes
AC_MSG_RESULT(yes)
],[
AC_MSG_RESULT(no)
])
if test "$ac_cv_c_sigev_thread" = "yes" ; then
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'])
fi
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?))
@@ -787,7 +983,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
@@ -799,18 +996,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)
@@ -835,7 +1046,7 @@ case "$host" in
;;
x86_64-*-* | amd64-*-*)
TARGET=AMD64;
arch_target=x86-64;
arch_target=amd64;
JIT_SUPPORTED=no
;;
sparc*-*-*)
@@ -843,6 +1054,7 @@ case "$host" in
arch_target=sparc;
JIT_SUPPORTED=yes
ACCESS_UNALIGNED="no"
LIBC="libc.so"
jit_wanted=true
;;
# alpha*-*-linux* | alpha*-*-osf*)
@@ -872,6 +1084,8 @@ case "$host" in
TARGET=POWERPC;
arch_target=ppc;
JIT_SUPPORTED=yes
jit_wanted=true
LIBC="libc.dylib"
;;
arm-*-linux-* | armv4l-*-linux-*)
TARGET=ARM;
@@ -882,10 +1096,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
])
@@ -940,6 +1155,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)
@@ -993,7 +1217,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
@@ -1012,5 +1239,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 $^ > $@
+15 -16
View File
@@ -1,21 +1,20 @@
<configuration>
<dllmap dll="cygwin1.dll" target="@LIBC@" />
<dllmap dll="libc" target="@LIBC@" />
<dllmap dll="libxslt.dll" target="libxslt.so" />
<dllmap dll="libmySQL.dll" target="libmysqlclient.so" />
<dllmap dll="odbc32.dll" target="libodbc.so" />
<dllmap dll="libglib-2.0-0.dll" target="libglib-2.0.so" />
<dllmap dll="libgobject-2.0-0.dll" target="libgobject-2.0.so" />
<dllmap dll="libgthread-2.0-0.dll" target="libgthread-2.0.so" />
<dllmap dll="libpango-1.0-0.dll" target="libpango-1.0.so" />
<dllmap dll="libatk-1.0-0.dll" target="libatk-1.0.so" />
<dllmap dll="libgdk-win32-2.0-0.dll" target="libgdk-x11-2.0.so" />
<dllmap dll="libgdk_pixbuf-2.0-0.dll" target="libgdk_pixbuf-2.0.so" />
<dllmap dll="libgtk-win32-2.0-0.dll" target="libgtk-x11-2.0.so" />
<dllmap dll="libgtk-win32-2.0-0.dll" target="libgtk-x11-2.0.so" />
<dllmap dll="libglade-2.0-0.dll" target="libglade-2.0.so" />
<dllmap dll="libxslt.dll" target="libxslt@libsuffix@" />
<dllmap dll="libmySQL.dll" target="libmysqlclient@libsuffix@" />
<dllmap dll="odbc32.dll" target="libodbc@libsuffix@" />
<dllmap dll="libglib-2.0-0.dll" target="libglib-2.0@libsuffix@" />
<dllmap dll="libgobject-2.0-0.dll" target="libgobject-2.0@libsuffix@" />
<dllmap dll="libgthread-2.0-0.dll" target="libgthread-2.0@libsuffix@" />
<dllmap dll="libpango-1.0-0.dll" target="libpango-1.0@libsuffix@" />
<dllmap dll="libatk-1.0-0.dll" target="libatk-1.0@libsuffix@" />
<dllmap dll="libgdk-win32-2.0-0.dll" target="libgdk-x11-2.0@libsuffix@" />
<dllmap dll="libgdk_pixbuf-2.0-0.dll" target="libgdk_pixbuf-2.0@libsuffix@" />
<dllmap dll="libgtk-win32-2.0-0.dll" target="libgtk-x11-2.0@libsuffix@" />
<dllmap dll="libglade-2.0-0.dll" target="libglade-2.0@libsuffix@" />
<dllmap dll="oci" target="clntsh" />
<dllmap dll="gtkhtml-3.0" target="libgtkhtml-3.0.so" />
<dllmap dll="db2cli" target="libdb2_36.so"/>
<dllmap dll="gstreamer" target="libgstreamer-0.6.so" />
<dllmap dll="gtkhtml-3.0" target="libgtkhtml-3.0@libsuffix@" />
<dllmap dll="db2cli" target="libdb2_36@libsuffix@"/>
<dllmap dll="gstreamer" target="libgstreamer-0.6@libsuffix@" />
</configuration>
+59 -60
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,25 @@
</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="*.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="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, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<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 +124,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 +160,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>
-246
View File
@@ -1,246 +0,0 @@
System.Object
System.Exception
System.ValueType
System.Delegate
System.MulticastDelegate
System.Enum
System.Activator
System.ArgIterator
System.__ComObject
System.TypedReference
System.Security.AllowPartiallyTrustedCallersAttribute
System.Runtime.Serialization.Formatter
System.Runtime.Serialization.FormatterConverter
System.Runtime.Serialization.FormatterServices
System.Runtime.Serialization.ObjectIDGenerator
System.Runtime.Serialization.ObjectManager
System.Reflection.ModuleResolveEventHandler
System.Reflection.Pointer
System.Globalization.CompareInfo
System.Globalization.HebrewCalendar
System.Globalization.HijriCalendar
System.Globalization.JapaneseCalendar
System.Globalization.KoreanCalendar
System.Globalization.SortKey
System.Globalization.StringInfo
System.Globalization.TaiwanCalendar
System.Globalization.TextElementEnumerator
System.Globalization.TextInfo
System.Globalization.ThaiBuddhistCalendar
System.IO.IsolatedStorage.IsolatedStorageFile
System.Reflection.Emit.MethodRental
System.Runtime.CompilerServices.AccessedThroughPropertyAttribute
System.Runtime.CompilerServices.CallConvCdecl
System.Runtime.CompilerServices.CallConvStdcall
System.Runtime.CompilerServices.CallConvThiscall
System.Runtime.CompilerServices.CallConvFastcall
System.Runtime.CompilerServices.CustomConstantAttribute
System.Runtime.CompilerServices.DateTimeConstantAttribute
System.Runtime.CompilerServices.DiscardableAttribute
System.Runtime.CompilerServices.DecimalConstantAttribute
System.Runtime.CompilerServices.CompilationRelaxationsAttribute
System.Runtime.CompilerServices.CompilerGlobalScopeAttribute
System.Runtime.CompilerServices.IDispatchConstantAttribute
System.Runtime.CompilerServices.IsVolatile
System.Runtime.CompilerServices.IUnknownConstantAttribute
System.Runtime.CompilerServices.RequiredAttributeAttribute
System.Runtime.InteropServices.ArrayWithOffset
System.Runtime.InteropServices.DispIdAttribute
System.Runtime.InteropServices.ClassInterfaceType
System.Runtime.InteropServices.ClassInterfaceAttribute
System.Runtime.InteropServices.ComVisibleAttribute
System.Runtime.InteropServices.LCIDConversionAttribute
System.Runtime.InteropServices.ComRegisterFunctionAttribute
System.Runtime.InteropServices.ComUnregisterFunctionAttribute
System.Runtime.InteropServices.ProgIdAttribute
System.Runtime.InteropServices.ImportedFromTypeLibAttribute
System.Runtime.InteropServices.IDispatchImplType
System.Runtime.InteropServices.IDispatchImplAttribute
System.Runtime.InteropServices.ComSourceInterfacesAttribute
System.Runtime.InteropServices.ComConversionLossAttribute
System.Runtime.InteropServices.TypeLibTypeFlags
System.Runtime.InteropServices.TypeLibFuncFlags
System.Runtime.InteropServices.TypeLibVarFlags
System.Runtime.InteropServices.TypeLibTypeAttribute
System.Runtime.InteropServices.TypeLibFuncAttribute
System.Runtime.InteropServices.TypeLibVarAttribute
System.Runtime.InteropServices.ComImportAttribute
System.Runtime.InteropServices.PreserveSigAttribute
System.Runtime.InteropServices.ComAliasNameAttribute
System.Runtime.InteropServices.AutomationProxyAttribute
System.Runtime.InteropServices.PrimaryInteropAssemblyAttribute
System.Runtime.InteropServices.CoClassAttribute
System.Runtime.InteropServices.ComEventInterfaceAttribute
System.Runtime.InteropServices.COMException
System.Runtime.InteropServices.ComMemberType
System.Runtime.InteropServices.CurrencyWrapper
System.Runtime.InteropServices.DispatchWrapper
System.Runtime.InteropServices.ErrorWrapper
System.Runtime.InteropServices.ExtensibleClassFactory
System.Runtime.InteropServices.HandleRef
System.Runtime.InteropServices.InvalidComObjectException
System.Runtime.InteropServices.InvalidOleVariantTypeException
System.Runtime.InteropServices.TypeLibImporterFlags
System.Runtime.InteropServices.ExporterEventKind
System.Runtime.InteropServices.ITypeLibExporterNotifySink
System.Runtime.InteropServices.ITypeLibConverter
System.Runtime.InteropServices.MarshalDirectiveException
System.Runtime.InteropServices.ObjectCreationDelegate
System.Runtime.InteropServices.RuntimeEnvironment
System.Runtime.InteropServices.RegistrationServices
System.Runtime.InteropServices.SafeArrayRankMismatchException
System.Runtime.InteropServices.SafeArrayTypeMismatchException
System.Runtime.InteropServices.SEHException
System.Runtime.InteropServices.TypeLibConverter
System.Runtime.InteropServices.BIND_OPTS
System.Runtime.InteropServices.UCOMIBindCtx
System.Runtime.InteropServices.UCOMIConnectionPointContainer
System.Runtime.InteropServices.UCOMIConnectionPoint
System.Runtime.InteropServices.UCOMIEnumMoniker
System.Runtime.InteropServices.CONNECTDATA
System.Runtime.InteropServices.UCOMIEnumConnections
System.Runtime.InteropServices.UCOMIEnumConnectionPoints
System.Runtime.InteropServices.UCOMIEnumString
System.Runtime.InteropServices.UCOMIEnumVARIANT
System.Runtime.InteropServices.FILETIME
System.Runtime.InteropServices.UCOMIMoniker
System.Runtime.InteropServices.UCOMIPersistFile
System.Runtime.InteropServices.UCOMIRunningObjectTable
System.Runtime.InteropServices.STATSTG
System.Runtime.InteropServices.UCOMIStream
System.Runtime.InteropServices.DESCKIND
System.Runtime.InteropServices.BINDPTR
System.Runtime.InteropServices.UCOMITypeComp
System.Runtime.InteropServices.TYPEKIND
System.Runtime.InteropServices.TYPEFLAGS
System.Runtime.InteropServices.IMPLTYPEFLAGS
System.Runtime.InteropServices.TYPEATTR
System.Runtime.InteropServices.FUNCDESC
System.Runtime.InteropServices.IDLFLAG
System.Runtime.InteropServices.IDLDESC
System.Runtime.InteropServices.PARAMFLAG
System.Runtime.InteropServices.PARAMDESC
System.Runtime.InteropServices.TYPEDESC
System.Runtime.InteropServices.ELEMDESC
System.Runtime.InteropServices.VARDESC
System.Runtime.InteropServices.DISPPARAMS
System.Runtime.InteropServices.EXCEPINFO
System.Runtime.InteropServices.FUNCKIND
System.Runtime.InteropServices.INVOKEKIND
System.Runtime.InteropServices.CALLCONV
System.Runtime.InteropServices.FUNCFLAGS
System.Runtime.InteropServices.VARFLAGS
System.Runtime.InteropServices.UCOMITypeInfo
System.Runtime.InteropServices.SYSKIND
System.Runtime.InteropServices.LIBFLAGS
System.Runtime.InteropServices.TYPELIBATTR
System.Runtime.InteropServices.UCOMITypeLib
System.Runtime.InteropServices.UnknownWrapper
System.Runtime.Remoting.IObjectHandle
System.Runtime.Remoting.IRemotingTypeInfo
System.Runtime.Remoting.IChannelInfo
System.Runtime.Remoting.IEnvoyInfo
System.Runtime.Remoting.RemotingConfiguration
System.Runtime.Remoting.TypeEntry
System.Runtime.Remoting.ActivatedClientTypeEntry
System.Runtime.Remoting.ActivatedServiceTypeEntry
System.Runtime.Remoting.WellKnownClientTypeEntry
System.Runtime.Remoting.WellKnownServiceTypeEntry
System.Runtime.Remoting.RemotingException
System.Runtime.Remoting.ServerException
System.Runtime.Remoting.RemotingTimeoutException
System.Runtime.Remoting.RemotingServices
System.Runtime.Remoting.InternalRemotingServices
System.Runtime.Remoting.SoapServices
System.Runtime.Remoting.Activation.UrlAttribute
System.Runtime.Remoting.Messaging.IMessageSink
System.Runtime.Remoting.Messaging.AsyncResult
System.Runtime.Remoting.Messaging.CallContext
System.Runtime.Remoting.Messaging.ILogicalThreadAffinative
System.Runtime.Remoting.Messaging.InternalMessageWrapper
System.Runtime.Remoting.Messaging.IMethodCallMessage
System.Runtime.Remoting.Messaging.MethodCallMessageWrapper
System.Runtime.Remoting.Messaging.HeaderHandler
System.Runtime.Remoting.Messaging.IMessageCtrl
System.Runtime.Remoting.Messaging.IRemotingFormatter
System.Runtime.Remoting.Messaging.ReturnMessage
System.Runtime.Remoting.Messaging.MethodCall
System.Runtime.Remoting.Messaging.ConstructionCall
System.Runtime.Remoting.Messaging.MethodResponse
System.Runtime.Remoting.Messaging.ConstructionResponse
System.Runtime.Remoting.Messaging.MethodReturnMessageWrapper
System.Runtime.Remoting.Messaging.OneWayAttribute
System.Runtime.Remoting.Messaging.MessageSurrogateFilter
System.Runtime.Remoting.Messaging.RemotingSurrogateSelector
System.Runtime.Remoting.Contexts.CrossContextDelegate
System.Runtime.Remoting.Contexts.ContextProperty
System.Runtime.Remoting.Contexts.IContextPropertyActivator
System.Runtime.Remoting.Contexts.IContributeClientContextSink
System.Runtime.Remoting.Contexts.IContributeDynamicSink
System.Runtime.Remoting.Contexts.IContributeEnvoySink
System.Runtime.Remoting.Contexts.IContributeObjectSink
System.Runtime.Remoting.Contexts.IContributeServerContextSink
System.Runtime.Serialization.Formatters.InternalRM
System.Runtime.Serialization.Formatters.InternalST
System.Runtime.Serialization.Formatters.SoapMessage
System.Runtime.Serialization.Formatters.SoapFault
System.Runtime.Serialization.Formatters.ServerFault
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
System.Security.Cryptography.CryptoConfig
System.Security.Cryptography.KeyedHashAlgorithm
System.Security.Cryptography.HMACSHA1
System.Security.Cryptography.MACTripleDES
System.Security.Cryptography.MaskGenerationMethod
System.Security.Cryptography.PasswordDeriveBytes
System.Security.Cryptography.PKCS1MaskGenerationMethod
System.Security.Cryptography.RC2
System.Security.Cryptography.RC2CryptoServiceProvider
System.Security.Cryptography.RSACryptoServiceProvider
System.Security.Cryptography.RSAOAEPKeyExchangeDeformatter
System.Security.Cryptography.RSAOAEPKeyExchangeFormatter
System.Security.Cryptography.RSAPKCS1KeyExchangeDeformatter
System.Security.Cryptography.RSAPKCS1KeyExchangeFormatter
System.Security.Cryptography.RSAPKCS1SignatureDeformatter
System.Security.Cryptography.RSAPKCS1SignatureFormatter
System.Security.Cryptography.SHA1Managed
System.Security.Cryptography.TripleDES
System.Security.Cryptography.TripleDESCryptoServiceProvider
System.Security.Permissions.EnvironmentPermission
System.Security.Permissions.FileDialogPermission
System.Security.Permissions.IsolatedStorageFilePermission
System.Security.Permissions.PrincipalPermissionAttribute
System.Security.Permissions.SecurityPermissionAttribute
System.Security.Permissions.PublisherIdentityPermissionAttribute
System.Security.Permissions.PublisherIdentityPermission
System.Security.Permissions.ReflectionPermission
System.Security.Permissions.RegistryPermission
System.Security.Permissions.PrincipalPermission
System.Security.Permissions.SiteIdentityPermission
System.Security.Permissions.StrongNameIdentityPermission
System.Security.Permissions.StrongNamePublicKeyBlob
System.Security.Permissions.UIPermission
System.Security.Permissions.UrlIdentityPermission
System.Security.Permissions.ZoneIdentityPermission
System.Security.Policy.ApplicationDirectory
System.Security.Policy.ApplicationDirectoryMembershipCondition
System.Security.Policy.FirstMatchCodeGroup
System.Security.Policy.Hash
System.Security.Policy.HashMembershipCondition
System.Security.Policy.NetCodeGroup
System.Security.Policy.PermissionRequestEvidence
System.Security.Policy.Publisher
System.Security.Policy.PublisherMembershipCondition
System.Security.Policy.Site
System.Security.Policy.SiteMembershipCondition
System.Security.Policy.StrongName
System.Security.Policy.StrongNameMembershipCondition
System.Security.Policy.UnionCodeGroup
System.Security.Policy.Url
System.Security.Policy.UrlMembershipCondition
System.Security.Policy.Zone
System.Security.Policy.ZoneMembershipCondition
System.Security.Principal.WindowsIdentity
System.Security.Principal.WindowsImpersonationContext
System.Security.Principal.WindowsPrincipal
System.Threading.CompressedStack
+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)
+15
View File
@@ -1,3 +1,18 @@
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
+12 -2
View File
@@ -5,7 +5,17 @@ include build/rules.make
# Define these ourselves to that the platform checks come first
all: platform-check profile-check all-recursive #all-local
#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
@@ -15,7 +25,7 @@ test: platform-check profile-check test-recursive #test-local
run-test: run-test-recursive #run-test-local
clean: clean-recursive #clean-local
clean-profile: clean-recursive #clean-local
# fun specialty targets
+1
View File
@@ -1,3 +1,4 @@
*~
.*
*.out
output
+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
+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
+26
View File
@@ -0,0 +1,26 @@
Imports System
Class A
public Sub New()
End Sub
public Sub New(name as String)
if name <> "abc" then
throw new exception ("#A1, Unexpected result")
end if
End Sub
End Class
Class B
' implicitly call base class default ctor
public Sub New()
End Sub
End Class
Module M
Sub Main()
dim x as A = new A()
dim y as A = new A("abc")
dim z as B = new B()
End Sub
End Module
+54
View File
@@ -0,0 +1,54 @@
Imports System
Class A
public Sub New()
End Sub
public Sub New(name as String)
if name <> "abc" then
throw new exception ("#A1, Unexpected result")
end if
End Sub
End Class
Class B
Inherits A
' call base class ctor explicitly
public Sub New()
MyBase.New()
End Sub
End Class
Class C
Inherits A
' call base class ctor with parameter
public Sub New()
MyBase.NEw("abc")
End Sub
End Class
Class D
' call another ctor in the same class
' either of the methods mentioned below should give same result
public Sub New()
MyClass.NEw("aaa")
'Me.NEw("aaa")
End Sub
public Sub New(name as String)
if name <> "aaa" then
throw new exception ("#A2, Unexpected result")
end if
End Sub
End Class
Module M
Sub Main()
dim x as B = new B()
dim y as C = new C()
dim z as D = new D()
End Sub
End Module
+45
View File
@@ -0,0 +1,45 @@
Imports System
Class A
public shared x as integer = 10
Shared Sub New()
Console.WriteLine("Shared ctor")
End Sub
public Sub New()
Console.WriteLine("ctor")
End Sub
End Class
Class B
inherits A
public shared y as integer = 20
public z as integer = 30
Shared Sub New()
Console.WriteLine("Shared ctor in derived class")
End Sub
public Sub New()
Console.WriteLine("ctor in derived class")
End Sub
Shared Sub f()
Console.WriteLine("f")
end sub
end class
Module M
Sub Main()
B.y = 25
Console.WriteLine(B.y)
Console.WriteLine(A.x)
dim c as new B()
Console.WriteLine(c.z)
End Sub
End Module
+15
View File
@@ -0,0 +1,15 @@
Class A
public Sub New(a as string)
Me.New("aaa")
End Sub
public Sub New ()
Me.New()
End Sub
End Class
Module M
Sub Main()
End Sub
End Module
+16
View File
@@ -0,0 +1,16 @@
Class A
public Sub New(i as String)
End Sub
End Class
Class B
Inherits A
public Sub New()
Mybase.new()
End Sub
End Class
Module M
Sub Main()
End Sub
End Module
+12
View File
@@ -0,0 +1,12 @@
Imports System
Class A
Public Shared Sub New()
Console.WriteLine("Shared ctor")
End Sub
End Class
Module M
Sub Main()
End Sub
End Module
+11
View File
@@ -0,0 +1,11 @@
Imports System
Class A
Shared Sub New(i as integer)
End Sub
End Class
Module M
Sub Main()
End Sub
End Module
+20
View File
@@ -0,0 +1,20 @@
Imports System
Class A
Shared Sub New()
End Sub
End Class
Class B
Inherits A
Shared Sub New()
Me.New()
End Sub
End Class
Module M
Sub Main()
End Sub
End Module
+88
View File
@@ -0,0 +1,88 @@
Imports System
Module M
Enum E
A
B
C
D
E = 10
F
G = 5
H
I = D
J = -10
K
End Enum
Public Enum E1 As Long
A = 10
B = 20
End Enum
Sub Main()
dim i as integer
i = E.A
If i <> 0 Then
Throw new Exception("#A1, unexpected result")
End If
i = E.B
If i <> 1 Then
Throw new Exception("#A2, unexpected result")
End If
i = E.C
If i <> 2 Then
Throw new Exception("#A3, unexpected result")
End If
i = E.D
If i <> 3 Then
Throw new Exception("#A4, unexpected result")
End If
i = E.E
If i <> 10 Then
Throw new Exception("#A5, unexpected result")
End If
i = E.F
If i <> 11 Then
Throw new Exception("#A6, unexpected result")
End If
i = E.G
If i <> 5 Then
Throw new Exception("#A7, unexpected result")
End If
i = E.H
If i <> 6 Then
Throw new Exception("#A8, unexpected result")
End If
i = E.I
If i <> 3 Then
Throw new Exception("#A9, unexpected result")
End If
i = E.J
If i <> -10 Then
Throw new Exception("#A10, unexpected result")
End If
i = E.K
If i <> -9 Then
Throw new Exception("#A11, unexpected result")
End If
' Console.WriteLine(E.A)
' Console.WriteLine(E.B)
' Console.WriteLine(E.C)
' Console.WriteLine(E.D)
' Console.WriteLine(E.E)
' Console.WriteLine(E.F)
' Console.WriteLine(E.G)
' Console.WriteLine(E.H)
' Console.WriteLine(E.I)
' Console.WriteLine(E.J)
' Console.WriteLine(E.K)
End Sub
End Module
+15
View File
@@ -0,0 +1,15 @@
Imports System
Module M
Public Enum E1 As Long
A = 2.3
B = 2.5
End Enum
Sub Main()
Console.WriteLine (E1.A)
End Sub
End Module
+16
View File
@@ -0,0 +1,16 @@
Imports System
Module M
Public Enum E1 As Long
A = 2
B
End Enum
Sub Main()
E1.A = 5
End Sub
End Module
+12
View File
@@ -0,0 +1,12 @@
Imports System
Module M
Public Enum E1 As Long
A = 2
B
End Enum
Sub Main()
Dim i as long = E1.c
End Sub
End Module
+13
View File
@@ -0,0 +1,13 @@
Imports System
Module M
Public Enum E1 As Long
A = B
B
End Enum
Sub Main()
End Sub
End Module
'C:\btests\EnumC4.vb(6) : error BC30500: Constant 'A' cannot depend on its own value.- B
+13
View File
@@ -0,0 +1,13 @@
Imports System
Module M
Public Enum E1
A = System.Int64.MaxValue
B
End Enum
Sub Main()
Dim i as integer = E1.A
End Sub
End Module
+13
View File
@@ -0,0 +1,13 @@
Imports System
Module M
Public Enum E1
A = System.Int32.MaxValue
B
End Enum
Sub Main()
Dim i as integer = E1.A
End Sub
End Module
+16
View File
@@ -0,0 +1,16 @@
Imports System
Class C
private Enum E
q = 10
m = 20
End Enum
End Class
Module M
Sub Main()
dim x as C = new C ()
Console.WriteLine(c.E.m)
End Sub
End Module
+15 -12
View File
@@ -1,11 +1,14 @@
Imports System
' if a class is not derived from any class
' means it is derived from Object class
Public Class C1
Function f1()
If GetType(C1).ToString <> "C1" Then
Function f1 (name as string)
dim t as Type = GetType()
If t.name <> name Then
Throw New System.Exception("#A1 Unexpected result")
End If
End If
End Function
Function fn() As Integer
@@ -15,14 +18,14 @@ End Class
Public Class C2
Inherits C1
Function f2()
f1()
Function f2(name as string)
f1(name)
End Function
End Class
Public Class c3
Public Class C3
Inherits C2
End Class
@@ -30,16 +33,16 @@ End Class
Module Inheritance
Sub Main()
Dim c1 As New C1()
c1.f1()
c1.f1("C1")
Dim c2 As New C2()
c2.f1()
c2.f2()
c2.f1("C2")
c2.f2("C2")
c2.fn()
Dim c3 As New c3()
c3.f1()
c3.f2()
c3.f1("C3")
c3.f2("C3")
c3.fn()
End Sub
End Module
End Module
+11
View File
@@ -0,0 +1,11 @@
public enum e
End enum
Public Class C2
inherits e
End Class
Module InheritanceC3
Sub Main()
End Sub
End Module
+4
View File
@@ -12,7 +12,11 @@ End Class
Module InheritanceE
Sub Main()
dim b as New C1()
b.F1()
Dim d As C2 = New C2()
d.F1()
End Sub
End Module
+10
View File
@@ -1,9 +1,19 @@
Module ClsModule
Sub New()
End Sub
Public a As Integer
Public Const b as integer = 10
Class C1
End Class
' inherited members can be declared as protected
protected Sub Finalize()
end sub
End Module
Module MainModule
Sub Main()
ClsModule.a=20
+23
View File
@@ -0,0 +1,23 @@
NameSpace NS
Public Module M1
Public a As Integer
public Const b as integer = 10
Class C1
End Class
End Module
Friend Module MainModule
Sub Main()
M1.a = 20
dim x as integer = M1.b
if (x <> 10) then
Throw new System.Exception("#A1, Unexpected result")
end if
x = NS.M1.b
if x <> 10 then
Throw new System.Exception("#A2, Unexpected result")
end if
End Sub
End Module
End NameSpace
+4 -2
View File
@@ -1,6 +1,8 @@
Module M
End Module
Module ModuleTest
System.Console.WriteLine("If you read this, then there is something wrong!!")
Sub Main()
Module M = new Module
End Sub
End Module
+6
View File
@@ -0,0 +1,6 @@
NameSpace N
Private Module M
Sub Main()
End Sub
End Module
End NameSpace
+9
View File
@@ -0,0 +1,9 @@
Module M1
Sub Main ()
End Sub
End Module
Module M2
Sub Main ()
End Sub
End Module
+4
View File
@@ -0,0 +1,4 @@
Module M1
Sub Main (argc as string)
End Sub
End Module
+16
View File
@@ -0,0 +1,16 @@
Module ClsModule
Protected a As Integer
Protected Const b as integer = 10
'Protected Class C1
Class C1
End Class
protected Sub s()
end sub
End Module
Module MainModule
Sub Main()
End Sub
End Module
+7 -1
View File
@@ -1,5 +1,11 @@
Class A
Public Overridable Sub F1()
End Sub
End Class
Class B
Public NotOverridable Sub F1()
Inherits A
Public Overrides NotOverridable Sub F1()
End Sub
End Class
+3 -2
View File
@@ -1,6 +1,7 @@
Class C1
Public Notoverridable Sub S() 'methods that do not override any other method should not be declared 'notoverridable'
'methods that do not override any other
'method should not be declared 'notoverridable'
Public Notoverridable Sub S()
End Sub
End Class
Module OverrideC2
+17
View File
@@ -0,0 +1,17 @@
Class B
Public Sub F1()
End Sub
End Class
Class D
Inherits B
Public Overrides Sub F1()
End Sub
End Class
Module OverrideC1
Sub Main()
End Sub
End Module
+10
View File
@@ -0,0 +1,10 @@
Class D
Public Overrides Sub F1()
End Sub
End Class
Module OverrideC1
Sub Main()
End Sub
End Module
+16
View File
@@ -0,0 +1,16 @@
Class A
Public Overridable Sub F1()
End Sub
End Class
Class B
Inherits A
Public NotOverridable Sub F1()
End Sub
End Class
Module OverrideC1
Sub Main()
End Sub
End Module
+16
View File
@@ -0,0 +1,16 @@
Class A
Public Overridable Sub F1()
End Sub
End Class
Class B
Inherits A
Public Overrides Overridable Sub F1()
End Sub
End Class
Module OverrideC1
Sub Main()
End Sub
End Module
+16
View File
@@ -0,0 +1,16 @@
Class A
Public Overridable Sub F1()
End Sub
End Class
Class B
Inherits A
Public Overrides Shadows Sub F1()
End Sub
End Class
Module OverrideC1
Sub Main()
End Sub
End Module
+50
View File
@@ -0,0 +1,50 @@
Imports System
Structure S
Dim a as String
Const b as integer = 25
Class c
End class
Function f(l as long) as long
f = l
End Function
Structure S1
dim g as string
End Structure
End Structure
Module M
Sub Main()
dim x as S
x.a = 10
If x.a <> 10 then
Throw new Exception ("#A1, Unexpected result")
End If
dim y as S = x
x.a = 20
If y.a <> 10 then
Throw new Exception ("#A2, Unexpected result")
End If
If x.a <> 20 then
Throw new Exception ("#A3, Unexpected result")
End If
If x.b <> 25 then
Throw new Exception ("#A4, Unexpected result")
End If
'Console.WriteLine(x.b)
If x.f(99) <> 99 then
Throw new Exception ("#A5, Unexpected result")
End If
End Sub
End Module
+16
View File
@@ -0,0 +1,16 @@
Imports System
Structure S
Dim a as String
Const b as integer = 25
Sub NEW(l as long)
End Sub
End Structure
Module M
Sub Main()
dim x as S = new S(100)
End Sub
End Module
+8
View File
@@ -0,0 +1,8 @@
Structure S
End Structure
Module M
Sub Main()
dim x as S
End Sub
End Module
+12
View File
@@ -0,0 +1,12 @@
Structure S
Dim a as String
Sub NEW()
end Sub
End Structure
Module M
Sub Main()
dim x as S
End Sub
End Module
+20
View File
@@ -0,0 +1,20 @@
Structure S
Dim a as String
Protected Const b as integer = 10
protected Class c
end class
protected sub f(l as long)
end sub
Protected Structure S1
dim g as string
End Structure
End Structure
Module M
Sub Main()
dim x as S
End Sub
End Module
+56
View File
@@ -67,6 +67,7 @@ NSA \
NSB \
ModuleTest \
ModuleA \
ModuleB \
ClassTest \
Scope \
ScopeA \
@@ -85,6 +86,9 @@ InheritanceI \
MustInherit \
MustInheritA \
NotInheritable \
ConstructorA \
ConstructorB \
ConstructorC \
Interface \
InterfaceA \
InterfaceB \
@@ -110,6 +114,20 @@ AttributesC \
AttributesD \
QualifiedNames \
Variables \
VariablesA \
VariablesB \
VariablesC \
VariablesD \
VariablesE \
ConstantA \
ConstantB \
StructureA \
StructureB \
ArrayA \
ArrayB \
ArrayC \
ArrayD \
EnumA
# All negetive test cases which should
@@ -175,6 +193,10 @@ NameSpaceC2 \
NameSpaceC3 \
ModuleTestC1 \
ModuleTestC2 \
ModuleTestC3 \
ModuleTestC4 \
ModuleTestC5 \
ModuleTestC6 \
ClassTestC1 \
ScopeC1 \
OverloadingC1 \
@@ -183,6 +205,7 @@ OverloadingC3 \
InheritanceC1 \
InheritanceC2 \
InheritanceC3 \
InheritanceC4 \
MustInheritC1 \
MustInheritC2 \
MustInheritC3 \
@@ -193,6 +216,11 @@ MustInheritC7 \
NotInheritableC1 \
NotInheritableC2 \
NotInheritableC3 \
ConstructorC1 \
ConstructorC2 \
ConstructorC4 \
ConstructorC5 \
ConstructorC6 \
InterfaceC1 \
InterfaceC2 \
InterfaceC3 \
@@ -208,8 +236,16 @@ OverrideC1 \
OverrideC2 \
OverrideC3 \
OverrideC4 \
OverrideC5 \
OverrideC6 \
OverrideC7 \
OverrideC8 \
OverrideC9 \
AccessibilityC1 \
AccessibilityC2 \
AccessibilityC3 \
AccessibilityC4 \
AccessibilityC5 \
AttributesC1 \
AttributesC2 \
AttributesC3 \
@@ -217,7 +253,27 @@ AttributesC4 \
AttributesC5 \
AttributesC6 \
ConstituentTypesC1 \
ConstantC0 \
ConstantC1 \
ConstantC2 \
ConstantC3 \
ConstantC4 \
ConstantC5 \
VariablesC1 \
VariablesC2 \
VariablesC3 \
StructureC1 \
StructureC2 \
StructureC3 \
ArrayC1 \
ArrayC2 \
EnumC1 \
EnumC2 \
EnumC3 \
EnumC4 \
EnumC5 \
EnumC6 \
EnumC7
# All negetive test cases which should fail at
# runtime goes here
-4
View File
@@ -16,7 +16,6 @@ Module VariableB
Dim o
Dim p As New cls1()
Dim q%, r&, s@, t!, u#
Dim v@, w# as integer
Sub main()
If a.GetTypeCode() <> TypeCode.Int32 Then
Throw New System.Exception("#A1, Type mismatch found")
@@ -49,8 +48,5 @@ Module VariableB
If u.GetTypeCode() <> TypeCode.Double Then
Throw New System.Exception("#A10, Type mismatch found")
End If
If w.GetTypeCode() <> TypeCode.Int32 Then
Throw New System.Exception("#A11, Type mismatch found")
End If
End Sub
End Module
+59
View File
@@ -0,0 +1,59 @@
Imports System
Class A
public shared y as integer = 20
public z as integer = 30
Shared Sub New()
End Sub
public Sub New()
End Sub
Shared function f() as integer
return 50
end function
end class
Module M
Sub Main()
if (A.y <> 20) then
Throw new Exception ("#A1, Unexpected result")
end if
dim c as new A()
dim d as new A()
if(c.y <> 20) then
Throw new Exception ("#A2, Unexpected result")
end if
if(d.y <> 20) then
Throw new Exception ("#A3, Unexpected result")
end if
A.y = 25
if(c.y <> 25) then
Throw new Exception ("#A4, Unexpected result")
end if
c.y = 35
if(A.y <> 35) then
Throw new Exception ("#A5, Unexpected result")
end if
if(d.y <> 35) then
Throw new Exception ("#A6, Unexpected result")
end if
if(c.z <> 30) then
Throw new Exception ("#A7, Unexpected result")
end if
if(A.f() <> 50) then
Throw new Exception ("#A8, Unexpected result")
end if
End Sub
End Module
+14
View File
@@ -0,0 +1,14 @@
Class A
public c as integer = 10
End Class
Class B
Inherits A
public shadows c as integer = 20
end class
Module M
Sub Main()
End Sub
End Module
+45
View File
@@ -1,3 +1,48 @@
2004-04-29 Jackson Harper <[email protected]>
* library.make: Fix uninstall
2004-04-29 Martin Baulig <[email protected]>
* rules.make: Added `INTERNAL_ILASM'.
2004-04-29 Jackson Harper <[email protected]>
* library.make: Use RUNTIME instead of PLATFORM_RUNTIME for the
gacutil. gacutil needs to be run on our runtime. Make dependancys
more sane.
2004-04-28 Jackson Harper <[email protected]>
* library.make: Use the proper runtime, make sure gacutil is
built.
2004-04-28 Jackson Harper <[email protected]>
* library.make: Install these bad actors to the GAC.
2004-04-28 Raja R Harinath <[email protected]>
* library.make (test_flags): NUnit.Framework.dll is now in
class/lib/$(PROFILE).
2004-04-26 Jackson Harper <[email protected]>
* library.make:
* profiles/bootstrap.make:
* profiles/default.make: profiles are built in their ownb lib
directory now.
* profiles/net_2_0.make: new .net 2.0 profile.
2004-04-22 Martin Baulig <[email protected]>
* profiles/net_1_2.make: Removed.
* profiles/martin-generics.make: Remove.
2004-04-19 Raja R Harinath <[email protected]>
* rules.make (%-recursive): Honor 'make -k'.
2004-02-17 Martin Baulig <[email protected]>
* profiles/generics.make: Renamed to `martin-generics.make' and
+17 -13
View File
@@ -10,33 +10,37 @@
sourcefile = $(LIBRARY).sources
ifdef PLATFORM_CHANGE_SEPARATOR_CMD
response = $(depsdir)/$(LIBRARY).response
response = $(depsdir)/$(PROFILE)_$(LIBRARY).response
else
response = $(sourcefile)
endif
makefrag = $(depsdir)/$(LIBRARY).makefrag
stampfile = $(depsdir)/$(LIBRARY).stamp
the_lib = $(topdir)/class/lib/$(LIBRARY)
makefrag = $(depsdir)/$(PROFILE)_$(LIBRARY).makefrag
stampfile = $(depsdir)/$(PROFILE)_$(LIBRARY).stamp
the_lib = $(topdir)/class/lib/$(PROFILE)/$(LIBRARY)
the_pdb = $(patsubst %.dll,%.pdb,$(the_lib))
ifndef NO_TEST
test_lib = $(patsubst %.dll,%_test.dll,$(LIBRARY))
test_pdb = $(patsubst %.dll,%.pdb,$(test_lib))
test_sourcefile = $(test_lib).sources
test_response = $(depsdir)/$(test_lib).response
test_makefrag = $(depsdir)/$(test_lib).makefrag
test_stampfile = $(depsdir)/$(test_lib).stamp
test_flags = /r:$(the_lib) /r:$(topdir)/class/lib/NUnit.Framework.dll $(TEST_MCS_FLAGS)
test_response = $(depsdir)/$(PROFILE)_$(test_lib).response
test_makefrag = $(depsdir)/$(PROFILE)_$(test_lib).makefrag
test_stampfile = $(depsdir)/$(PROFILE)_$(test_lib).stamp
test_flags = /r:$(the_lib) /r:$(topdir)/class/lib/$(PROFILE)/NUnit.Framework.dll $(TEST_MCS_FLAGS)
endif
gacutil = $(topdir)/tools/gacutil/gacutil.exe
all-local: $(the_lib)
install-local: $(the_lib)
$(MKINSTALLDIRS) $(DESTDIR)$(prefix)/lib
$(INSTALL_LIB) $(the_lib) $(DESTDIR)$(prefix)/lib
install-local: $(the_lib) $(gacutil)
$(RUNTIME) $(gacutil) -i $(the_lib) -f /root $(DESTDIR)$(prefix)/lib || exit 1 ; \
uninstall-local:
-rm -f $(DESTDIR)$(prefix)/lib/$(LIBRARY)
uninstall-local: $(gacutil)
$(RUNTIME) $(gacutil) /u $$(basename $(the_lib) .dll) ; \
$(gacutil):
cd $(topdir)/tools/gacutil && $(MAKE) || exit 1 ;
clean-local:
-rm -f $(the_lib) $(makefrag) $(test_lib) \
+2 -2
View File
@@ -14,7 +14,7 @@
# run the compiler; /r: flags are by default loaded from whatever's
# in the MONO_PATH too).
MCS = MONO_PATH="$(topdir)/class/lib:$$MONO_PATH" $(RUNTIME) $(topdir)/mcs/mcs.exe
MCS = MONO_PATH="$(topdir)/class/lib/$(PROFILE):$$MONO_PATH" $(RUNTIME) --debug $(topdir)/mcs/mcs.exe
BOOTSTRAP_MCS = $(MCS)
# nuttzing!
@@ -22,4 +22,4 @@ BOOTSTRAP_MCS = $(MCS)
profile-check:
# Causes some build errors
PROFILE_MCS_FLAGS = -d:GENERICS -d:NET_1_1
PROFILE_MCS_FLAGS = -d:NET_1_1 -d:ONLY_1_1
+2 -2
View File
@@ -15,10 +15,10 @@
# in the MONO_PATH too).
ifdef PLATFORM_MONO_NATIVE
MCS = MONO_PATH="$(topdir)/class/lib:$$MONO_PATH" $(INTERNAL_MCS)
MCS = MONO_PATH="$(topdir)/class/lib/$(PROFILE):$$MONO_PATH" $(INTERNAL_MCS)
TEST_RUNTIME = MONO_PATH=".:$$MONO_PATH" $(RUNTIME) --debug
else
MCS = $(PLATFORM_RUNTIME) $(BOOTSTRAP_MCS) /lib:$(topdir)/class/lib
MCS = $(PLATFORM_RUNTIME) $(BOOTSTRAP_MCS) /lib:$(topdir)/class/lib/$(PROFILE)
endif
# nuttzing!
-21
View File
@@ -1,21 +0,0 @@
# -*- makefile -*-
#
# Generics support: this is highly experimental and unstable.
#
# As the name of this profile already says: it's basically just for me.
# February 17, 2004 Martin Baulig <[email protected]>
#
ifdef PLATFORM_MONO_NATIVE
MCS = MONO_PATH="$(topdir)/class/lib:$$MONO_PATH" $(RUNTIME) --debug $(topdir)/gmcs/gmcs.exe
BOOTSTRAP_MCS = $(MCS)
TEST_RUNTIME = MONO_PATH=".:$$MONO_PATH" $(RUNTIME) --debug
else
MCS = $(PLATFORM_RUNTIME) $(BOOTSTRAP_MCS) /lib:$(topdir)/class/lib
endif
# nuttzing!
profile-check:
PROFILE_MCS_FLAGS = -d:NET_1_1 -d:NET_1_2 -d:GENERICS -2
@@ -15,14 +15,14 @@
# in the MONO_PATH too).
ifdef PLATFORM_MONO_NATIVE
MCS = MONO_PATH="$(topdir)/class/lib:$$MONO_PATH" $(INTERNAL_MCS)
MCS = MONO_PATH="$(topdir)/class/lib/$(PROFILE):$$MONO_PATH" $(INTERNAL_GMCS)
TEST_RUNTIME = MONO_PATH=".:$$MONO_PATH" $(RUNTIME) --debug
else
MCS = $(PLATFORM_RUNTIME) $(BOOTSTRAP_MCS) /lib:$(topdir)/class/lib
MCS = $(PLATFORM_RUNTIME) $(BOOTSTRAP_MCS) /lib:$(topdir)/class/lib/$(PROFILE)
endif
# nuttzing!
profile-check:
PROFILE_MCS_FLAGS = -d:NET_1_1 -d:NET_1_2 -2
PROFILE_MCS_FLAGS = -d:NET_1_1 -d:NET_2_0 -2
+6 -2
View File
@@ -25,6 +25,8 @@ INSTALL_BIN = $(INSTALL) -m 755
INSTALL_LIB = $(INSTALL_BIN)
MKINSTALLDIRS = $(SHELL) $(topdir)/mkinstalldirs
INTERNAL_MCS = $(RUNTIME) $(topdir)/mcs/mcs.exe
INTERNAL_GMCS = $(RUNTIME) $(topdir)/gmcs/gmcs.exe
INTERNAL_ILASM = $(RUNTIME) $(topdir)/ilasm/ilasm.exe
corlib = mscorlib.dll
depsdir = $(topdir)/build/deps
@@ -91,8 +93,10 @@ include $(topdir)/build/profiles/$(PROFILE).make
# Simple rules
%-recursive:
@list='$(SUBDIRS)'; for d in $$list ; do \
(cd $$d && $(MAKE) $*) || exit 1 ; \
@set . $$MAKEFLAGS; \
case $$2 in *=*) dk="exit 1" ;; *k*) dk=: ;; *) dk="exit 1" ;; esac; \
list='$(SUBDIRS)'; for d in $$list ; do \
(cd $$d && $(MAKE) $*) || $$dk ; \
done
# note: dist-local dep, extra subdirs, $* has become $@
@@ -19,14 +19,16 @@ using System.Runtime.InteropServices;
#if (NET_1_0)
[assembly: AssemblyVersion("1.0.3300.0")]
[assembly: SatelliteContractVersion("1.0.3300.0")]
#endif
#if (NET_1_1)
#elif (NET_2_0)
[assembly: AssemblyVersion("2.0.3600.0")]
[assembly: SatelliteContractVersion("2.0.3600.0")]
#elif (NET_1_1)
[assembly: AssemblyVersion("1.0.5000.0")]
[assembly: SatelliteContractVersion("1.0.5000.0")]
[assembly: ComCompatibleVersion(1, 0, 3300, 0)]
[assembly: TypeLibVersion(1, 10)]
#endif
[assembly: AssemblyTitle("Accessibility.dll")]
[assembly: AssemblyDescription("Accessibility.dll")]
[assembly: AssemblyConfiguration("Development version")]
@@ -44,5 +46,5 @@ using System.Runtime.InteropServices;
[assembly: AllowPartiallyTrustedCallers]
[assembly: Guid("1ea4dbf0-3c3b-11cf-810c-00aa00389b71")]
//[assembly: AssemblyDelaySign(false)]
//[assembly: AssemblyKeyFile("")]
[assembly: AssemblyDelaySign(true)]
[assembly: AssemblyKeyFile("../msfinal.pub")]
+3
View File
@@ -0,0 +1,3 @@
.makefrag
.response
library-deps.stamp
+9 -29
View File
@@ -26,33 +26,13 @@ using System.Runtime.CompilerServices;
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("0.7.4.*")]
#if (NET_2_0)
[assembly: AssemblyVersion ("0.7.4.2")]
#elif (NET_1_1)
[assembly: AssemblyVersion ("0.7.4.1")]
#else
[assembly: AssemblyVersion ("0.7.4.0")]
#endif
//
// In order to sign your assembly you must specify a key to use. Refer to the
// Microsoft .NET Framework documentation for more information on assembly signing.
//
// Use the attributes below to control which key is used for signing.
//
// Notes:
// (*) If no key is specified, the assembly is not signed.
// (*) KeyName refers to a key that has been installed in the Crypto Service
// Provider (CSP) on your machine. KeyFile refers to a file which contains
// a key.
// (*) If the KeyFile and the KeyName values are both specified, the
// following processing occurs:
// (1) If the KeyName can be found in the CSP, that key is used.
// (2) If the KeyName does not exist and the KeyFile does exist, the key
// in the KeyFile is installed into the CSP and used.
// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility.
// When specifying the KeyFile, the location of the KeyFile should be
// relative to the project output directory which is
// %Project Directory%\obj\<configuration>. For example, if your KeyFile is
// located in the project directory, you would specify the AssemblyKeyFile
// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")]
// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework
// documentation for more information on this.
//
[assembly: AssemblyDelaySign(false)]
//[assembly: AssemblyKeyFile("..\\..\\bytefx.snk")]
[assembly: AssemblyKeyName("")]
[assembly: AssemblyDelaySign (true)]
[assembly: AssemblyKeyFile ("../mono.pub")]
Loaded 100 of 2643 files, more files were not shown because too many files have changed in this diff. Show more