Compare commits

...
4478 Commits
Author SHA1 Message Date
nobody 3742db035a This commit was manufactured by cvs2svn to create tag 'MCS_0_97'.
svn path=/tags/MCS_0_97/mcs/; revision=30411
2004-06-25 19:08:20 +00:00
Ben Maurer e9c345319d 2004-06-25 Ben Maurer <[email protected]>
* Environment.cs: GetFolderPath has new behavior. r=miguel

svn path=/trunk/mcs/; revision=30410
2004-06-25 19:08:20 +00:00
Miguel de Icaza ec388a7eb3 Flush
svn path=/trunk/mono/; revision=30407
2004-06-25 19:02:34 +00:00
Jackson Harper d8dde95cc1 * get.c: Add a few more keywords to be escaped.
* main.c: MS's ildasm writes '// end of class' not '// end of
	type'. The python.net tool searches for this string.

svn path=/trunk/mono/; revision=30406
2004-06-25 18:54:50 +00:00
Paolo Molaro 0f082aa0ab Fri Jun 25 21:36:26 CEST 2004 Paolo Molaro <[email protected]>
* reflection.c: make sure padding bytes in heaps are zeroed.

svn path=/trunk/mono/; revision=30403
2004-06-25 18:46:24 +00:00
Lluis Sanchez 173508fd68 * HttpSimpleProtocolImporter.cs: Added null check. The XmlTypeMapping for
the return type will be null if the method returns void.

svn path=/trunk/mcs/; revision=30394
2004-06-25 15:53:30 +00:00
Paolo Molaro 9bd2937f67 Fri Jun 25 17:36:28 CEST 2004 Paolo Molaro <[email protected]>
* driver.c: remove loop from the default optimizations: it seems to
	interact badly with some of the other options (see bug #60613).

svn path=/trunk/mono/; revision=30383
2004-06-25 14:45:17 +00:00
Miguel de Icaza a8dea00dfb Fixed licenses
svn path=/trunk/mcs/; revision=30382
2004-06-25 14:42:22 +00:00
Ravindra eeb7486b59 * LinearGradientBrush.cs: Added checks for the values of
focus and scale parameters in SetBlendTriangularShape and
	SetSigmaBellShape methods.
	* PathGradientBrush.cs: Same as above.

svn path=/trunk/mcs/; revision=30377
2004-06-25 10:41:37 +00:00
Raja R Harinath 8b5958d00e Enable test-277. The bugfix went in before the freeze :-)
svn path=/trunk/mcs/; revision=30375
2004-06-25 07:42:28 +00:00
Paolo Molaro 7673091063 Add prototype for encode_constant().
svn path=/trunk/mono/; revision=30374
2004-06-25 07:02:44 +00:00
Miguel de Icaza 72ae0a236d Up
svn path=/trunk/mono/; revision=30351
2004-06-24 21:55:21 +00:00
Duncan Mak f1fdcca8f5 Remove duplicate license
svn path=/trunk/mcs/; revision=30350
2004-06-24 21:48:47 +00:00
Duncan Mak bab786ade5 Add licensing info
svn path=/trunk/mcs/; revision=30348
2004-06-24 21:38:17 +00:00
Duncan Mak d1c09fcc67 Add licensing info
svn path=/trunk/mcs/; revision=30345
2004-06-24 20:59:43 +00:00
Duncan Mak 93bcd78c01 Remove the keyword "abstract" to fix the build.
svn path=/trunk/mcs/; revision=30339
2004-06-24 20:42:07 +00:00
David Waite d635611b29 06/24/2004 David Waite <[email protected]>
* Changed comments in ikvm-jni, mono/dis, mono/interpreter,
	mono/metadata, mono/monoburg and mono/utils to be C90-style instead
	of C99/C++-style

svn path=/trunk/mono/; revision=30337
2004-06-24 20:41:39 +00:00
Jackson Harper f31fd0b1a2 * MethodDef.cs: Report when defining methods just like MS.
* TypeDef.cs: Error message when we can't find a locla method.

svn path=/trunk/mcs/; revision=30328
2004-06-24 19:12:01 +00:00
Jackson Harper 3677158928 * Report.cs: Add new mehtod for displaying messages.
svn path=/trunk/mcs/; revision=30327
2004-06-24 19:10:11 +00:00
Jambunathan K dd0da93a79 * RandomVBFile.cs: Fixed FileGet() for Date and Decimal types
* FileSystem.cs: Fixed ChDir, FileCopy
* ControlChars.cs:  corcompare based fixes

* Utils.cs:
* StringType.cs: corcompare based fixes

svn path=/trunk/mcs/; revision=30323
2004-06-24 16:56:07 +00:00
Atsushi Eno eb17094994 2004-06-22 Atsushi Enomoto <[email protected]>
* SqlCommandBuilder.cs : Avoid cast exception caused by DbNull.

svn path=/trunk/mcs/; revision=30322
2004-06-24 16:48:11 +00:00
Atsushi Eno 3e2821d002 2004-06-24 Atsushi Enomoto <[email protected]>
* DataColumnMappingCollection.cs : fixed typo.
	* DbDataAdapter.cs : column mappings were not filled.

svn path=/trunk/mcs/; revision=30321
2004-06-24 16:25:02 +00:00
Gonzalo Paniagua Javier 093071fda3 2004-06-24 Gonzalo Paniagua Javier <[email protected]>
* HtmlTextWriter.cs: only create a closing tag for unknown tags. Fixes
	bug #60681.

svn path=/trunk/mcs/; revision=30317
2004-06-24 15:12:20 +00:00
Atsushi Eno b4bdf95c9d 2004-06-24 Atsushi Enomoto <[email protected]>
* DataTableMapping.cs : Clone() should also clone ColumnMappings.

svn path=/trunk/mcs/; revision=30316
2004-06-24 14:53:54 +00:00
Raja R Harinath f6e4fb2e6a * IBM.Data.DB2/Makefile: Disable for 'net_2_0'.
* ICSharpCode.SharpZipLib/AssemblyInfo.cs (AssemblyVersion): Set different version for the
net_2_0 profile.

svn path=/trunk/mcs/; revision=30315
2004-06-24 14:43:35 +00:00
Raja R Harinath cd66bf8192 (gac_assemblies_list): Put back
ICSharpCode.SharpZipLib, not that it has a different version.

svn path=/trunk/mono/; revision=30314
2004-06-24 14:42:24 +00:00
Gonzalo Paniagua Javier f04f14f3a7 2004-06-24 Gonzalo Paniagua Javier <[email protected]>
* DefaultWatcher.cs: fixed subdirectories notifications and don't
	fail when any directory is removed. Closes bug #59840.

svn path=/trunk/mcs/; revision=30313
2004-06-24 14:22:29 +00:00
Dick Porter cb491f6063 2004-06-24 Dick Porter <[email protected]>
* mutexes.c: Indicate when a named mutex was reused

2004-06-24  Dick Porter  <[email protected]>

	* threads.c
	(ves_icall_System_Threading_Mutex_CreateMutex_internal): Correctly
	return createdNew.  Fixes bug 60412.

	* threads-types.h:
	* icall.c: Add createdNew parameter to CreateMutex icall

svn path=/trunk/mono/; revision=30312
2004-06-24 14:22:00 +00:00
Zoltan Varga 3851261a9a 2004-06-25 Zoltan Varga <[email protected]>
* mini.c mini-x86.h mini-x86.c: Applied patch from Guenter Feldmann
	([email protected]): Add Solaris x86 support.

svn path=/trunk/mono/; revision=30311
2004-06-24 14:21:20 +00:00
Dick Porter 128b0c1159 2004-06-24 Dick Porter <[email protected]>
* Mutex.cs: Implement the createdNew parameter

svn path=/trunk/mcs/; revision=30310
2004-06-24 14:21:03 +00:00
Raja R Harinath f0c1c8324c (BetterConversion): Remove buggy special-case
handling of "implicit constant expression conversions".  At this
point, we already know that the conversion is possible -- we're
only checking to see which is better.

svn path=/trunk/mcs/; revision=30309
2004-06-24 14:19:26 +00:00
Sachin Kumar 5c2898d0d8 Added license and copyright
svn path=/trunk/mcs/; revision=30306
2004-06-24 14:06:50 +00:00
Raja R Harinath 14995f2132 * test-252.cs: Avoid reference to System.dll.
* test-277.cs: New test for #56774.

svn path=/trunk/mcs/; revision=30303
2004-06-24 13:33:42 +00:00
Marek Safar f4d4ebdc7e fixed test
svn path=/trunk/mcs/; revision=30302
2004-06-24 13:19:22 +00:00
Paolo Molaro 1dc753bdc6 Thu Jun 24 16:06:41 CEST 2004 Paolo Molaro <[email protected]>
* reflection.c, object-internals.h: save default value in params.

svn path=/trunk/mono/; revision=30301
2004-06-24 13:14:51 +00:00
Gonzalo Paniagua Javier 809c3d5843 2004-06-24 Gonzalo Paniagua Javier <[email protected]>
* Directory.cs: implemented GetLogicalDrives.

svn path=/trunk/mcs/; revision=30300
2004-06-24 13:14:24 +00:00
Marek Safar df7da47215 new test
svn path=/trunk/mcs/; revision=30299
2004-06-24 13:14:20 +00:00
Sanja Gupta 79b13a3e46 ChangeLog: Updated ChangeLog.
ImageAnimator.cs: Rewrote complete implementation. Tested on Windows.

svn path=/trunk/mcs/; revision=30297
2004-06-24 12:55:10 +00:00
Paolo Molaro 41172aa516 Thu Jun 24 15:33:04 CEST 2004 Paolo Molaro <[email protected]>
* ParameterBuilder.cs: implement SetConstant ().

svn path=/trunk/mcs/; revision=30295
2004-06-24 12:40:53 +00:00
Marek Safar f78807a86c enabled test-273 (Bug #60411 closed)
svn path=/trunk/mcs/; revision=30294
2004-06-24 12:35:02 +00:00
Atsushi Eno 5698135a41 2004-06-24 Atsushi Enomoto <[email protected]>
* VBCodeCompiler.cs : On windows we use fixed mono.exe and mbas.exe
	  located by mscorlib.dll. (The same fix as that of CSharpCodeCompiler)

svn path=/trunk/mcs/; revision=30292
2004-06-24 12:23:39 +00:00
Dick Porter 673a502e27 2004-06-24 Dick Porter <[email protected]>
* threads.c (SuspendThread):
	* timed-thread.c (_wapi_timed_thread_suspend): Wrap sem_wait in a
	while loop.  See bug 58161.

svn path=/trunk/mono/; revision=30291
2004-06-24 12:17:40 +00:00
Atsushi Eno d4cbaa798f 2004-06-24 Atsushi Enomoto <[email protected]>
* Process.cs : quick fix for UseShellExecute=false on windows. See
	  the code comment.

svn path=/trunk/mcs/; revision=30290
2004-06-24 11:57:36 +00:00
Atsushi Eno edb0c6019c 2004-06-24 Atsushi Enomoto <[email protected]>
* CSharpCodeCompiler.cs : On windows we use fixed mono.exe and mcs.exe
	  located by mscorlib.dll.

svn path=/trunk/mcs/; revision=30289
2004-06-24 11:56:57 +00:00
Lluis Sanchez 92673ba006 * StreamReader.cs: In DiscardBufferedData(), reset the mayBlock flag.
svn path=/trunk/mcs/; revision=30288
2004-06-24 09:34:12 +00:00
Raja R Harinath 856016dd57 * Makefile.am (MCS_DIRS, MCS_FILES): Add back Mono.CSharp.Debugger.
(tmpinst-dir-contents, $(tmpinst)/bin/mono.bat): Remove mono.bat
in W32.  Use 'mono' and 'mcs' in W32 too.
(bootstrap) [PLATFORM_WIN32]: Back to single stage bootstrap.
* runtime/net_2_0/Makefile.am (gac_assemblies_list): Don't mention
nunit.*, IBM.Data.DB2, ICSharpCode.SharpZipLib.
Fix for #60443, the GAC .DLL-Hell.

svn path=/trunk/mono/; revision=30287
2004-06-24 08:40:10 +00:00
Anirban Bhattacharjee e3109b9199 2004-06-24 Anirban Bhattacharjee <[email protected]>
* Strings.cs: Enabled case insensitive search in InStr aand InStrRev functions
                      Fixed Filter method

svn path=/trunk/mcs/; revision=30286
2004-06-24 08:22:28 +00:00
Marek Safar 773e1f90b5 2004-06-24 Marek Safar <[email protected]>
* test-205.cs: Removed because become invalid.

svn path=/trunk/mcs/; revision=30285
2004-06-24 08:19:28 +00:00
Marek Safar 396b130290 2004-06-24 Marek Safar <[email protected]>
* cs-parser.jay: Added error CS0210 test.

svn path=/trunk/mcs/; revision=30284
2004-06-24 08:09:25 +00:00
Marek Safar 4f556d1a67 2004-06-24 Marek Safar <[email protected]>
* cs-parser.jay: Added error CS0134 test.

svn path=/trunk/mcs/; revision=30283
2004-06-24 07:51:48 +00:00
Marek Safar e59ff96c48 2004-06-24 Marek Safar <[email protected]>
Fix bug #52507
	* cs-parser.jay: Added error CS0145 test.

svn path=/trunk/mcs/; revision=30282
2004-06-24 07:25:20 +00:00
Marek Safar 08efe906f1 unsafe-8 without .cs extension
svn path=/trunk/mcs/; revision=30281
2004-06-24 07:24:05 +00:00
Marek Safar 6246d43ed9 2004-06-24 Marek Safar <[email protected]>
* class.cs (Operator.Define): Added test for errors CS0553, CS0554.

svn path=/trunk/mcs/; revision=30280
2004-06-24 06:58:00 +00:00
Raja R Harinath e49aacd981 (gac_assemblies_list): Don't mention nunit.*.
Fix for #60443.

svn path=/trunk/mono/; revision=30277
2004-06-24 06:08:32 +00:00
Raja R Harinath 7d3c788eb8 New test for #60459.
svn path=/trunk/mcs/; revision=30276
2004-06-24 06:04:41 +00:00
Raja R Harinath fb28cf618d (LIBRARY_COMPILE): Only define for W32.
Unbreak the build on Linux.

svn path=/trunk/mcs/; revision=30275
2004-06-24 05:59:44 +00:00
Sanja Gupta 16bea13f66 ChangeLog: Updated Changelog
gdipFunctions.cs: Corrected issue in GdiPlusStreamHelper class.
        If read function was called after seek function call, the
        implementation  was returning data from bytes already peeked and
        not from the new position in stream, which we have seeked.

svn path=/trunk/mcs/; revision=30274
2004-06-24 05:56:02 +00:00
Sebastien Pouliot 83eefc994f 2004-06-23 Sebastien Pouliot <[email protected]>
* UTF7Encoding.cs: Fixed decoding table. Fixed char count calculation.
	Follow the RFC1642 rules for "overbits".

svn path=/trunk/mcs/; revision=30262
2004-06-24 02:39:31 +00:00
Sebastien Pouliot 4f4f9d7e08 2004-06-23 Sebastien Pouliot <[email protected]>
* UTF7EncodingTest.cs: Added 3 more test cases from RFC1642 to decode
	and re-encode UTF7 from/to unicode.

svn path=/trunk/mcs/; revision=30257
2004-06-24 02:10:12 +00:00
Miguel de Icaza c07c3f3d19 Flush
svn path=/trunk/mono/; revision=30255
2004-06-24 00:54:16 +00:00
Miguel de Icaza 9db2e99647 flush
svn path=/trunk/mono/; revision=30254
2004-06-24 00:19:08 +00:00
Miguel de Icaza 7aea17d6fc flush
svn path=/trunk/mono/; revision=30253
2004-06-24 00:14:22 +00:00
Ben Maurer 6dba22de31 test case for 60669
svn path=/trunk/mcs/; revision=30251
2004-06-23 23:33:35 +00:00
Ben Maurer 49f99785d3 2004-06-23 Ben Maurer <[email protected]>
* expression.cs (StackAlloc.Resolve): The argument may not
	be a constant; deal with this case.

svn path=/trunk/mcs/; revision=30250
2004-06-23 23:30:25 +00:00
Paolo Molaro c95c3fcd08 Wed Jun 23 23:29:04 CEST 2004 Paolo Molaro <[email protected]>
* io.c: don't use sharemode for on-disk file permissions: it's used
	for shared access to the open file.

svn path=/trunk/mono/; revision=30240
2004-06-23 20:37:54 +00:00
Marek Safar 45a6eb1331 2004-06-23 Marek Safar <[email protected]>
* attribute.cs (IndexerName_GetIndexerName): Renamed to
	GetIndexerAttributeValue.
	(ScanForIndexerName): Renamed to GetIndexerNameAttribute.

	* class.cs (Indexer.Define): Added error tests for CS0415,
	CS0609.

svn path=/trunk/mcs/; revision=30239
2004-06-23 20:32:33 +00:00
Miguel de Icaza 15c56ab327 Add Edd's Catalog
svn path=/trunk/mcs/; revision=30238
2004-06-23 20:00:36 +00:00
Jackson Harper d43da25048 * Driver.cs: Use the same success message as MS.
svn path=/trunk/mcs/; revision=30237
2004-06-23 19:56:26 +00:00
Jackson Harper dabba3f6d8 * MethodDef.cs: sigh, another varargs fix that probably breaks
other varargs tets. Someday I will get this right, I don't think
	today is that day though. This fix basically just makes sure to
	trim the sentinel off of signatures. Also eliminated some code
	duplication.
	* ParamDef.cs: Make IsSentinel work for both cases of generating a
	sentinel param def.

svn path=/trunk/mcs/; revision=30233
2004-06-23 18:50:54 +00:00
Sebastien Pouliot cfbd5912f8 2004-06-23 Sebastien Pouliot <[email protected]>
* DateTime.cs: Throw ArgumentOutOfRangeException if the year is
	bigger than 9999. Fix bug #41845.

svn path=/trunk/mcs/; revision=30230
2004-06-23 18:19:15 +00:00
Gonzalo Paniagua Javier 193970990d 2004-06-23 Gonzalo Paniagua Javier <[email protected]>
* PageParser.cs:
	* UserControlParser.cs: set the page/user control base type even when no
	default directive provided. Fixes bug #60572.

svn path=/trunk/mcs/; revision=30227
2004-06-23 17:55:50 +00:00
Gonzalo Paniagua Javier 2a958dc772 Store browscap.ini as a text file
svn path=/trunk/mono/; revision=30224
2004-06-23 17:47:20 +00:00
Sebastien Pouliot 62a65807c9 2004-06-23 Sebastien Pouliot <[email protected]>
* SymmetricTransform.cs: The condition to keep a block is a little
	more complex so it was moved as a private property.

svn path=/trunk/mcs/; revision=30223
2004-06-23 17:37:27 +00:00
Miguel de Icaza 59312205f7 Add INTL macro, for the libintl library
svn path=/trunk/mono/; revision=30220
2004-06-23 17:21:02 +00:00
Gonzalo Paniagua Javier af5142b4d2 2004-06-23 Gonzalo Paniagua Javier <[email protected]>
* appdomain.c: for paths in PrivateBinPath that are absolute, there's
	no need to build a new path combining that with the application base.
	Fixes bug #60442.

svn path=/trunk/mono/; revision=30217
2004-06-23 17:14:08 +00:00
Jackson Harper 7b90b85077 * CSharpCodeGenerator.cs (GenerateLabeledStatement): Append a ": "
to the statement name. Make sure the statement isn't null before
	writing. Patch by Alex Yakunin.

svn path=/trunk/mcs/; revision=30211
2004-06-23 16:25:02 +00:00
Paolo Molaro cc7454d782 Wed Jun 23 18:36:58 CEST 2004 Paolo Molaro <[email protected]>
* reflection.c: fixed minor standard compliance issues.

svn path=/trunk/mono/; revision=30210
2004-06-23 15:45:52 +00:00
Gonzalo Paniagua Javier f58acb1bab 2004-06-23 Gonzalo Paniagua Javier <[email protected]>
* HtmlForm.cs: disabled smartnavigation as we have no scripts to support
	it and failed when the browser was IE.

svn path=/trunk/mcs/; revision=30208
2004-06-23 15:16:27 +00:00
Paolo Molaro fcaf1f7d66 Wed Jun 23 17:59:29 CEST 2004 Paolo Molaro <[email protected]>
* reflection.c: fixed issue with encoding some custom attributes
	(arrays in properties and fields, bug #60411).

svn path=/trunk/mono/; revision=30207
2004-06-23 15:09:05 +00:00
Gonzalo Paniagua Javier 7371e09828 2004-06-23 Gonzalo Paniagua Javier <[email protected]>
* PageParser.cs: use default trace settings from web.config and check
	if trace is only requested for local connections. Fixes bug #60180.

svn path=/trunk/mcs/; revision=30206
2004-06-23 15:02:35 +00:00
Miguel de Icaza 54f8a7282c 2004-06-23 Miguel de Icaza <[email protected]>
* attribute.cs (Attribute.Resolve): Keep field code in sync with
	property code.

svn path=/trunk/mcs/; revision=30205
2004-06-23 15:02:33 +00:00
Sebastien Pouliot 3e4be5e128 2004-06-23 Sebastien Pouliot <[email protected]>
* FloatingPointFormatter.cs: Applied correction from Jon Skeet on
	the "R"eversible format for negative numbers.

svn path=/trunk/mcs/; revision=30204
2004-06-23 14:54:54 +00:00
Sebastien Pouliot 76f44be2f3 2004-06-23 Sebastien Pouliot <[email protected]>
* DoubleFormatterTest.cs: Added a new test for a negative roundtrip
	(which was broken).

svn path=/trunk/mcs/; revision=30203
2004-06-23 14:52:50 +00:00
Sebastien Pouliot 8c8082be00 2004-06-23 Sebastien Pouliot <[email protected]>
* CryptoStreamTest.cs: Added two tests for bug #60573. One shows that
	an encryptor doesn't reduce the number of block on Write while the
	second shows that a decryptor does reduce the number of blocks on
	Write.

svn path=/trunk/mcs/; revision=30200
2004-06-23 14:39:00 +00:00
Sebastien Pouliot 4ba33a11f2 2004-06-23 Sebastien Pouliot <[email protected]>
* SymmetricTransform.cs: Reduce by one the number of block when
	decrypting. This operation was in CryptoStream before but is only
	required for decryption (which CryptoStream can't know).
	Fix bug #60573.

svn path=/trunk/mcs/; revision=30199
2004-06-23 14:29:59 +00:00
Sebastien Pouliot 0d0a717190 2004-06-23 Sebastien Pouliot <[email protected]>
* CryptoStream.cs: Removed the block reduction. This seems to be done
	only for Decryptor so it was moved to SymmetricTransform.

svn path=/trunk/mcs/; revision=30198
2004-06-23 14:25:11 +00:00
Gonzalo Paniagua Javier 9eced4ea4b 2004-06-23 Gonzalo Paniagua Javier <[email protected]>
* reflection.c: fix start address when copying the public key token.

svn path=/trunk/mono/; revision=30194
2004-06-23 13:52:13 +00:00
Martin Baulig b36b756a32 2004-06-23 Martin Baulig <[email protected]>
* mono-debug-debugger.c (mono_debugger_unhandled_exception): Store
	the `exc' object in a static object to put it into the GC's root set.

svn path=/trunk/mono/; revision=30193
2004-06-23 13:41:56 +00:00
Gonzalo Paniagua Javier 73a1a3866c updated
svn path=/trunk/mono/; revision=30190
2004-06-23 13:31:42 +00:00
Jambunathan K fa54ec10b2 corcompare based fixes
svn path=/trunk/mcs/; revision=30188
2004-06-23 13:01:11 +00:00
Paolo Molaro 24ed1ebc0b Enable alpha and hppa/linux builds, though they probably need more work.
svn path=/trunk/mono/; revision=30187
2004-06-23 12:53:45 +00:00
Miguel de Icaza 6971b9943f fix
svn path=/trunk/mono/; revision=30186
2004-06-23 12:51:26 +00:00
Paolo Molaro bb4d01190c Wed Jun 23 15:40:48 CEST 2004 Paolo Molaro <[email protected]>
* TypeBuilder.cs: handle properly the case when SetParent()
	is called (requires an updated runtime, too bug#60474).

svn path=/trunk/mcs/; revision=30185
2004-06-23 12:50:05 +00:00
Paolo Molaro 8a99e745e0 Wed Jun 23 15:37:31 CEST 2004 Paolo Molaro <[email protected]>
* reflection.c: make mono_reflection_setup_internal_class ()
	callable a second time to setup a new parent class.

svn path=/trunk/mono/; revision=30184
2004-06-23 12:47:14 +00:00
Sachin Kumar 3e99ece0ea Trivial Fixes
svn path=/trunk/mcs/; revision=30183
2004-06-23 12:46:21 +00:00
Marek Safar e6ab4f17b8 fixed type
svn path=/trunk/mcs/; revision=30182
2004-06-23 12:17:02 +00:00
Marek Safar 4e06d30c9c new tests
svn path=/trunk/mcs/; revision=30181
2004-06-23 12:05:00 +00:00
Paolo Molaro 0243a47fd9 Wed Jun 23 14:20:47 CEST 2004 Paolo Molaro <[email protected]>
* EnumBuilder.cs, TypeBuilder.cs: patch from Gert Driesen
	to implement EnumBuilder (slightly tweaked).

svn path=/trunk/mcs/; revision=30180
2004-06-23 12:02:37 +00:00
Gonzalo Paniagua Javier 40181c2c94 2004-06-23 Gonzalo Paniagua Javier <[email protected]>
* AuthorizationConfig.cs: really fix bug #60482. Thanks David!

svn path=/trunk/mcs/; revision=30178
2004-06-23 11:13:28 +00:00
Anirban Bhattacharjee 126a962029 2004-06-23 Anirban Bhattacharjee <[email protected]>
* Strings.cs: Several trivial bug fixing

svn path=/trunk/mcs/; revision=30176
2004-06-23 11:09:58 +00:00
Miguel de Icaza 3330deac71 Flush
svn path=/trunk/mono/; revision=30175
2004-06-23 10:53:57 +00:00
Lluis Sanchez 0e8cc54621 * System.Runtime.Remoting_test.dll.sources: Added ActivationTests.cs.
svn path=/trunk/mcs/; revision=30174
2004-06-23 10:26:13 +00:00
Lluis Sanchez a8a6c2431d * ActivationTests.cs: New tests.
* BaseCalls.cs, CallSeq.cs: Use Assert instead of the deprecated Assertion.

svn path=/trunk/mcs/; revision=30173
2004-06-23 10:25:15 +00:00
Gonzalo Paniagua Javier 55827b6f12 enable Mono.CSharp.Debugger on windows
svn path=/trunk/mono/; revision=30172
2004-06-23 09:59:27 +00:00
Gonzalo Paniagua Javier 220966f782 2004-06-23 Gonzalo Paniagua Javier <[email protected]>
* Makefile: enabled Mono.CSharp.Debugger on windows.

svn path=/trunk/mcs/; revision=30171
2004-06-23 09:58:18 +00:00
Gonzalo Paniagua Javier 4c581a0e59 2004-06-23 Gonzalo Paniagua Javier <[email protected]>
* Makefile: build using mcs on windows.

svn path=/trunk/mcs/; revision=30170
2004-06-23 09:57:13 +00:00
Gonzalo Paniagua Javier c5512254ac 2004-06-23 Gonzalo Paniagua Javier <[email protected]>
* Socket.cs: wrong error code in connect and accept. EWOULDBLOCK is
	10035. Fixes bug #60563.

svn path=/trunk/mcs/; revision=30169
2004-06-23 09:38:50 +00:00
Dick Porter 460f2a77c8 2004-06-23 Dick Porter <[email protected]>
* threads.c: Check for WAIT_IO_COMPLETION return values.

svn path=/trunk/mono/; revision=30167
2004-06-23 08:59:54 +00:00
Dick Porter 71613dce13 Fix the build
svn path=/trunk/mono/; revision=30166
2004-06-23 08:32:16 +00:00
Anirban Bhattacharjee 3769a33f45 2004-06-23 Anirban Bhattacharjee <[email protected]>
* DateTime.cs: More date formats supported by DateValue function now

svn path=/trunk/mcs/; revision=30165
2004-06-23 06:16:41 +00:00
Umadevi S f742f2b454 2004-06-23 Umadevi S <[email protected]>
* UniqueConstraint.cs :changed a ifdef true to ifdef NET_1_1

svn path=/trunk/mcs/; revision=30164
2004-06-23 05:51:35 +00:00
Umadevi S 26968ca6e2 2004-06-23 Umadevi S <[email protected]>
* DataTableTest.cs :Corrected Testcases to .net 1.1 specifications

svn path=/trunk/mcs/; revision=30163
2004-06-23 05:44:04 +00:00
Anirban Bhattacharjee 5a230b617f 2004-06-23 Anirban Bhattacharjee <[email protected]>
* Strings.cs: Trivial changes

svn path=/trunk/mcs/; revision=30162
2004-06-23 05:39:17 +00:00
Sureshkumar T 19abd41ef6 2004-06-23 Sureshkumar T ([email protected])
* OdbcConnection.cs: Fix: Moved env allocation to Open method.
                             Disconnection & freeing handles are done in Close
                             method to avoid simultaneous connections.
        * libodbc.cs       : Added constants for odbc version.

svn path=/trunk/mcs/; revision=30161
2004-06-23 05:19:59 +00:00
Sureshkumar T db3105e999 2004-06-23 Sureshkumar T <[email protected]>
* Added test to check whether the OdbcConnection.Close method closes
          all the handles.
        * New files:
                OdbcConnectionTest.cs   - test suite for OdbcConnection class.

svn path=/trunk/mcs/; revision=30160
2004-06-23 05:13:42 +00:00
Umadevi S c8a01883b7 2004-06-23 Umadevi S <[email protected]>
* DataRelationTest.cs : Corrected AddRelation testcases

svn path=/trunk/mcs/; revision=30158
2004-06-23 04:12:13 +00:00
Raja R Harinath 42b467bbdd (dis_event_signature): Decode and print event_flags.
svn path=/trunk/mono/; revision=30157
2004-06-23 04:10:50 +00:00
Umadevi S 899c87a148 2004-06-23 Umadevi S <[email protected]>
* ConstraintCollectionTest.cs : Corrected AddRange testcases

svn path=/trunk/mcs/; revision=30155
2004-06-23 03:44:36 +00:00
Anirban Bhattacharjee 74962a8e93 bug fixes
svn path=/trunk/mcs/; revision=30154
2004-06-23 03:35:06 +00:00
Martin Baulig 1cf7bcfc62 2004-06-23 Martin Baulig <[email protected]>
* flowanalysis.cs (UsageVector.MergeChild): If we're a loop and we
	neither return nor throw, reset the barrier as well.  Fixes #60457.

svn path=/trunk/mcs/; revision=30150
2004-06-23 00:18:28 +00:00
Martin Baulig a0b25ef280 New test for #60457.
svn path=/trunk/mcs/; revision=30149
2004-06-23 00:16:45 +00:00
Jackson Harper ff5f9c382d fix typo
svn path=/trunk/mono/; revision=30148
2004-06-22 23:18:59 +00:00
Miguel de Icaza ef8e81dbcf Flush
svn path=/trunk/mono/; revision=30146
2004-06-22 23:00:23 +00:00
Atsushi Eno 907fb23d3d 2004-06-22 Atsushi Enomoto <[email protected]>
* Uri.cs : Such ctor arg string that starts with "//" should be
	  regarded as a local file path that will be condensed to single "/",
	  so handle such path differently under Windows and under *nix.
	  Since '\\' is a valid path character on Unix, so we should not
	  replace it with '/' in LocalPath.

svn path=/trunk/mcs/; revision=30142
2004-06-22 20:18:01 +00:00
Atsushi Eno ee12fd768b 2004-06-22 Atsushi Enomoto <[email protected]>
* UriTest.cs : As Unix paths, //foo/bar never means host == foo,
	  file path == /bar. So on *nix environment, interpret LocalPath of
	  file://foo/bar as /bar, not //foo/bar.
	* test-uri-list.txt, tset-uri-props.txt : We cannot test such path
	  that starts with "//" in automatic one, since on Windows it is
	  UNC host name but on Unix it is condensed to /foo style abs path.
	* UriTest2.cs : Test only on windows such path that starts with "\\".

svn path=/trunk/mcs/; revision=30141
2004-06-22 20:10:39 +00:00
Sebastien Pouliot f111ad1180 2004-06-22 Sebastien Pouliot <[email protected]>
* appdomain.c: Removed the g_free on the public key token. Now copy
	the pk token string into the MonoAssemblyName buffer using g_strlcpy.
	* assembly.c: Added public key token string value when loading
	assemblies. Fix bug #60439.
	* icall.c: Added missing informations (like public key) in
	GetReferencedAssemblies. Fix #60519.
	* image.h: Changed definition for public key token from const char*
	public_tok_value to guchar public_key_token [17];
	* reflection.c: Updated for changes to public key token.

svn path=/trunk/mono/; revision=30140
2004-06-22 20:09:27 +00:00
Dick Porter 4b7c1d9725 2004-06-22 Dick Porter <[email protected]>
* events.c (CreateEvent): When creating an auto-reset event that
	is initially owned, make sure the set count starts at 1.

svn path=/trunk/mono/; revision=30137
2004-06-22 19:34:47 +00:00
Atsushi Eno 805fd0c41d 2004-06-22 Atsushi Enomoto <[email protected]>
* class.cs : EventAttributes is now set to None by default.
	  This fixes bug #60459.

svn path=/trunk/mcs/; revision=30133
2004-06-22 19:00:15 +00:00
Atsushi Eno a2343da0de 2004-06-22 Atsushi Enomoto <[email protected]>
* CSharpCodeGenerator.cs :
	  Check null argument in CreateValidIdentifier().

svn path=/trunk/mcs/; revision=30132
2004-06-22 18:53:16 +00:00
Jambunathan K 39051eab8f Added BinaryVBFile.cs and RandomVBFile.cs. Just preliminary changes.
All changes need to be reviewed and committed.

I have pulled off Rob's changes on FileSystem.cs temporarily. I will
remerge it another day or two.

svn path=/trunk/mcs/; revision=30131
2004-06-22 18:49:09 +00:00
Atsushi Eno 420991e86a 2004-06-22 Atsushi Enomoto <[email protected]>
* DataSet.cs : Fixed ReadXml(). When ReadMode is ReadSchema and the
	  schema is inside the document element (as created in XmlWriteMode
	  .WriteSchema), it should read schema from that non-document element.
	  This fixes one case reported in bug #60470.

svn path=/trunk/mcs/; revision=30130
2004-06-22 18:42:26 +00:00
Paolo Molaro bb55581111 Tue Jun 22 21:29:11 CEST 2004 Paolo Molaro <[email protected]>
* mini-ppc.c, cpu-g4.md: small updates to be able to compile
	vararg-using methods.

svn path=/trunk/mono/; revision=30129
2004-06-22 18:38:07 +00:00
Jordi Mas i Hernandez b5fd3413ce fixes class name in filename
svn path=/trunk/mcs/; revision=30128
2004-06-22 16:49:20 +00:00
Jordi Mas i Hernandez 70b35b408e MeasureString wrappers
svn path=/trunk/mcs/; revision=30127
2004-06-22 16:40:48 +00:00
Lluis Sanchez 24e25ee390 * icall.c: In ves_icall_InternalExecute, when setting a filed, also look
for the field in base classes.

svn path=/trunk/mono/; revision=30125
2004-06-22 15:19:08 +00:00
Miguel de Icaza df6cb78b0c Add Marek to the about section
svn path=/trunk/mcs/; revision=30123
2004-06-22 15:06:48 +00:00
Sachin Kumar cb4a5378f2 Fixed few bugs
svn path=/trunk/mcs/; revision=30122
2004-06-22 14:27:52 +00:00
Marek Safar 0ae7041cc4 fixed error text
svn path=/trunk/mcs/; revision=30121
2004-06-22 14:24:59 +00:00
Paolo Molaro b83501a6b1 Tue Jun 22 16:48:02 CEST 2004 Paolo Molaro <[email protected]>
* mono-debug.h, mono-debug-debugger.h, debug-mono-symfile.h:
	mark headers as not supported, they are installed only for use by the
	debugger.

svn path=/trunk/mono/; revision=30119
2004-06-22 13:57:15 +00:00
Paolo Molaro 14ec9a1363 Tue Jun 22 16:32:03 CEST 2004 Paolo Molaro <[email protected]>
* *.c, *.h: avoid namespace pollution in public headers.

svn path=/trunk/mono/; revision=30116
2004-06-22 13:44:46 +00:00
Dick Porter 631b27e200 Fix for older automake
svn path=/trunk/mono/; revision=30115
2004-06-22 13:41:32 +00:00
Marek Safar 2b850af228 new tests
svn path=/trunk/mcs/; revision=30114
2004-06-22 13:40:12 +00:00
Joerg Rosenkranz 03f9ca4f63 Patch submitted by Gert Driesen:
2004-06-19  Gert Driesen <[email protected]>

        * Makefile: added references to System.EnterpriseServices and
        System.Drawing assemblies
        * System.Data.OracleClient.dll: added Assembly/Consts.cs and
        System.Data.OracleClient/OracleMonthSpan.cs
        * OracleCommand.cs: added missing attributes, marked class sealed,
        fixed signature of ExecuteOracleScalar method
        * OracleCommandBuilder.cs: added missing attributes
        * OracleConnection.cs: marked class sealed, added missing attributes,
        stubbed missing propertie, methods and events
        * OracleDataAdapter.cs: added missing attributes, removed extra
        stubbed Dispose method
        * OracleDataReader.cs: stubbed missing methods
        * OracleDataTime.cs: fixed signature and implementation of operator
        * OracleException.cs: marked serializable, added serialization ctor
        * OracleParameter.cs: added missing attributes, marked extra methods
        private
        * OracleParameterCollection.cs: marked class sealed, added missing
        attributes
        * OracleString.cs: added missing methods, added missing operators

svn path=/trunk/mcs/; revision=30112
2004-06-22 13:21:08 +00:00
Sanja Gupta 5f4cfdad82 ChangeLog: Updated ChangeLog.
TestIconConverter.cs, TestImageConverter.cs: Commented out some tests.

svn path=/trunk/mcs/; revision=30111
2004-06-22 13:06:00 +00:00
Dick Porter 0b31cdd230 2004-06-22 Dick Porter <[email protected]>
* MutexTest.cs: No need to ignore these tests now

	* ThreadTest.cs: You can't Start() a thread that's been aborted.
	Improve state tests.

svn path=/trunk/mcs/; revision=30108
2004-06-22 11:55:25 +00:00
Lluis Sanchez dab9b5e951 * proxies.net.xml.gz: Updated.
* wsdlfiles.tar.gz: Updated.

svn path=/trunk/mcs/; revision=30107
2004-06-22 10:05:08 +00:00
Lluis Sanchez e23c82103d * XmlReturnReader.cs, XmlReturnWriter.cs: Generate the serializer with
the root attribute taken from the method attributes.

svn path=/trunk/mcs/; revision=30106
2004-06-22 10:03:21 +00:00
Lluis Sanchez 3680906902 * HttpSimpleProtocolImporter.cs: Import return types as XmlTypeMapping,
not as XmlMemberMapping. This allows the use of the correct AddMetadata
	  method for generating attributes.

svn path=/trunk/mcs/; revision=30105
2004-06-22 09:59:34 +00:00
Lluis Sanchez 360208e654 * ReflectionHelper.cs: Correctly detect private types.
* XmlCodeExporter.cs: Implemented missing method.
	* XmlSchemaImporter.cs: Allow import of root primitive types.

svn path=/trunk/mcs/; revision=30104
2004-06-22 09:51:50 +00:00
Raja R Harinath ad194e0f96 (bootstrap) [PLATFORM_WIN32]: Make two-stage.
svn path=/trunk/mono/; revision=30102
2004-06-22 09:30:49 +00:00
Raja R Harinath 62183b530c Use $(PLATFORM_PATH_SEPARATOR) in MONO_PATH.
svn path=/trunk/mcs/; revision=30101
2004-06-22 09:19:37 +00:00
Jordi Mas i Hernandez df668cb4c0 define and use GdipSetVisibleClip_linux
svn path=/trunk/mcs/; revision=30100
2004-06-22 09:17:28 +00:00
Raja R Harinath 5d884fd231 Use $(PLATFORM_PATH_SEPARATOR) when setting MONO_PATH.
svn path=/trunk/mcs/; revision=30099
2004-06-22 09:15:58 +00:00
Jordi Mas i Hernandez 1f0f46a3dd add clip sample
svn path=/trunk/mcs/; revision=30098
2004-06-22 09:12:36 +00:00
Raja R Harinath b915bc6dfd Refine previous change to work with mcs 0.31.
* Consts.cs (UnmanagedType_80): While bootstrapping, refer to new
internal bootstrap-only define in UnmanagedType.

svn path=/trunk/mcs/; revision=30097
2004-06-22 08:36:47 +00:00
Raja R Harinath d83f98c524 Fix bootstrap with mcs 0.31.
* UnmanagedType.cs (UnmanagedType.__mono_bootstrap_NativeTypeMax):
New bootstrap-only constant.

svn path=/trunk/mcs/; revision=30096
2004-06-22 08:36:05 +00:00
Gonzalo Paniagua Javier 72d5a6809b 2004-06-22 Gonzalo Paniagua Javier <[email protected]>
* AuthorizationConfig.cs: we must match [verb +] (role|user). Fixes bug
	#60482.

svn path=/trunk/mcs/; revision=30095
2004-06-22 08:18:48 +00:00
Todd Berman eb6cb51857 2004-06-22 Todd Berman <[email protected]>
* configure: Patch from Mariano Su��rez-Alvarez
        <[email protected]> to make configure accept jhbuild style
        /prefix /usr options, and to continue past unknown options. Currently
        this patch is a bit spammy with multiple unknown options, anyone
        who is interested is welcome to fix this.

svn path=/trunk/mcs/; revision=30093
2004-06-22 06:02:06 +00:00
Miguel de Icaza ccd3ed614a Add more inline docs, to be extracted later with a tool
svn path=/trunk/mono/; revision=30090
2004-06-22 04:18:17 +00:00
Duncan Mak d74ee6abee Remove duplicate licenses
svn path=/trunk/mcs/; revision=30084
2004-06-22 03:46:33 +00:00
Atsushi Eno a5ef8bedd7 2004-06-21 Atsushi Enomoto <[email protected]>
* XmlSecureResolverTests.cs : Just [Ignore] EmptyEvidenceDeniedAccess.
	  It requires CAS.

svn path=/trunk/mcs/; revision=30074
2004-06-22 01:22:07 +00:00
Atsushi Eno 606f7ce490 2004-06-21 Atsushi Enomoto <[email protected]>
* CSharpCodeGenerator.cs : Fix for tests. Check type names in
	  CreateValidIdentifier. Implemented IsValidIdentifier.

svn path=/trunk/mcs/; revision=30073
2004-06-22 00:58:11 +00:00
Atsushi Eno ea228cfdfe 2004-06-21 Atsushi Enomoto <[email protected]>
* Misc.cs,
	  RelaxngPattern.cs,
	  RelaxngReader.cs :
	  Use XmlResolver (or XmlUrlResolver) directly. XmlResolver was
	  incorrectly _used_ before null check. Don't create XmlResolver
	  instance for _every_ pattern object.
	* RelaxngPattern.cs : UnresolvedRef.ExpandRef() should return not
	  try to find target derivative pattern twice. It was the culprit of
	  infinite loop. Removed dirty switches.
	* RelaxngGrammar.cs : code cleanup.

svn path=/trunk/mcs/; revision=30070
2004-06-21 20:54:39 +00:00
Atsushi Eno 77c7d595f8 2004-06-21 Atsushi Enomoto <[email protected]>
* RdpPatterns.cs : Fixed ExpandRef() that caused incorrect nest error.

svn path=/trunk/mcs/; revision=30069
2004-06-21 20:40:30 +00:00
Martin Baulig 8c2b9a1af2 2004-06-21 Martin Baulig <[email protected]>
* exception.c (mono_get_exception_security): It's in
	"System.Security", not in "System".

	* mono-debug-debugger.c (mono_debugger_add_builtin_types): Add all
	the exception classes.

svn path=/trunk/mono/; revision=30067
2004-06-21 20:23:21 +00:00
Miguel de Icaza 5d9705bf2b Add inline documentation to the class API
svn path=/trunk/mono/; revision=30065
2004-06-21 19:51:36 +00:00
Martin Baulig 1886261c12 2004-06-21 Martin Baulig <[email protected]>
* mono-debug-debugger.c (mono_debugger_unhandled_exception):
	Protect the exception object from being finalized.

svn path=/trunk/mono/; revision=30061
2004-06-21 18:43:21 +00:00
Duncan Mak 25e1e7ccfd Add MIT license to System.Security.DLL
svn path=/trunk/mcs/; revision=30060
2004-06-21 18:32:17 +00:00
Duncan Mak 58a0067567 Add MIT license to System.Web.Services.DLL
svn path=/trunk/mcs/; revision=30058
2004-06-21 18:30:28 +00:00
Martin Baulig 83f27b4135 2004-06-21 Martin Baulig <[email protected]>
* mini/mini-exceptions.c
	(mono_handle_exception): Added `gpointer original_ip' argument.
	After calling mono_unhandled_exception(), call
	mono_debugger_unhandled_exception() and if that returns true,
	restore the context and return.

svn path=/trunk/mono/; revision=30057
2004-06-21 18:27:42 +00:00
Martin Baulig 7fd64f5c24 2004-06-21 Martin Baulig <[email protected]>
* mono-debug-debugger.h (mono_debugger_unhandled_exception): New
	public function.

svn path=/trunk/mono/; revision=30056
2004-06-21 18:23:30 +00:00
Duncan Mak 8fa6e766dd Add MIT license to System.XML.DLL
svn path=/trunk/mcs/; revision=30055
2004-06-21 18:07:31 +00:00
Duncan Mak 24f5ef2c44 Add MIT license to System.dll
svn path=/trunk/mcs/; revision=30054
2004-06-21 18:02:11 +00:00
Duncan Mak 9286403c14 Add license and copyright to Mono.Cairo
svn path=/trunk/mcs/; revision=30051
2004-06-21 17:36:11 +00:00
Paolo Molaro 49d673df71 Mon Jun 21 19:26:40 CEST 2004 Paolo Molaro <[email protected]>
* mini-ppc.c: prefer the use of relative branches so
	they won't need to be patched in aot code (patch from Patrick Beard).

svn path=/trunk/mono/; revision=30046
2004-06-21 16:36:33 +00:00
Paolo Molaro bb9f5fdc12 Mon Jun 21 19:03:18 CEST 2004 Paolo Molaro <[email protected]>
* aot.c: patch from Patrick Beard to make the output assembly
	more correct for the MacOSX assembler. Small tweak to
	generate sane images on Linux/PPC, too.

svn path=/trunk/mono/; revision=30045
2004-06-21 16:29:32 +00:00
Jackson Harper 1f28102aae * Decimal.cs: Make sure to use invariant culture when parsing
floats stringified with the invariant culture. Patch by Rodrigo
	B. de Oliveira.

svn path=/trunk/mcs/; revision=30044
2004-06-21 16:10:13 +00:00
Atsushi Eno 7d1ecfd7c4 2004-06-21 Atsushi Enomoto <[email protected]>
* FileStreamTest.cs : Added some tests on .ctor() without FileShare.

svn path=/trunk/mcs/; revision=30041
2004-06-21 14:46:14 +00:00
Atsushi Eno d28b4f66c0 2004-06-21 Atsushi Enomoto <[email protected]>
* FileStream.cs :
	  .ctor() should block write access when created with FileAccess.Write.

svn path=/trunk/mcs/; revision=30040
2004-06-21 14:45:01 +00:00
Atsushi Eno 8c0f1bb9d5 2004-06-21 Atsushi Enomoto <[email protected]>
FileInfoTest.cs : more '/' and Path.DirectorySeparatorChar fixes

svn path=/trunk/mcs/; revision=30038
2004-06-21 13:46:04 +00:00
Atsushi Eno 8fa49e6e35 2004-06-16 Atsushi Enomoto <[email protected]>
* DirectoryInfoTest.cs,
	  DirectoryTest.cs,
	  FileStreamTest.cs,
	  FileSystemInfoTest.cs:
	  Replace all '/' in path with Path.DirectorySeparatorChar.

svn path=/trunk/mcs/; revision=30037
2004-06-21 13:42:39 +00:00
Sebastien Pouliot e9c375e394 2004-06-21 Sebastien Pouliot <[email protected]>
* reflection.c: Load the assembly in mono_reflection_type_from_name,
	if it was not loaded before. Fix parts of #60439.

svn path=/trunk/mono/; revision=30036
2004-06-21 13:38:29 +00:00
Paolo Molaro e21b1e1c26 More tests for runtime_invoke ().
svn path=/trunk/mono/; revision=30035
2004-06-21 13:37:29 +00:00
Paolo Molaro e9969921c0 More embedding samples.
svn path=/trunk/mono/; revision=30034
2004-06-21 13:32:25 +00:00
Atsushi Eno 5412643255 2004-06-21 Atsushi Enomoto <[email protected]>
* FileStream.cs : Check buffer size before creating file.
	* StreamReader.cs : Check encoding!=null before creating file.
	* File.cs,
	  MonoIO.cs : Convert DateTime to FileTime after checking
	  file IO sharing violation (it just fixes the type of exception).

svn path=/trunk/mcs/; revision=30033
2004-06-21 13:30:46 +00:00
Paolo Molaro df246a4f9c Mon Jun 21 16:04:43 CEST 2004 Paolo Molaro <[email protected]>
* marshal.c, icall.c, object.c, image.c: fix the runtime_invoke ()
	code that was broken since Ben's change: wrappers are now
	dependent on the method signature only again.

svn path=/trunk/mono/; revision=30032
2004-06-21 13:28:25 +00:00
Raja R Harinath 3f42416e8a (ReSign): Return a bool indicating success or failure.
(Main): Return with failure if ReSign() fails.

svn path=/trunk/mcs/; revision=30031
2004-06-21 12:23:41 +00:00
Raja R Harinath 3dd1fabda2 (LIBRARY_SNK): Sign with nunit.key.
svn path=/trunk/mcs/; revision=30030
2004-06-21 12:15:49 +00:00
Raja R Harinath 51b4a7a71a Avoid spurious "unexpected incorrect error".
svn path=/trunk/mcs/; revision=30029
2004-06-21 12:12:07 +00:00
Raja R Harinath f3834ac171 (LIBRARY_SNK): Sign with Npgsql/Npgsql.snk.
svn path=/trunk/mcs/; revision=30028
2004-06-21 12:08:12 +00:00
Raja R Harinath dbc4617b0c (LIBRARY_SNK): Sign with SharpZipLib.key. The library
is delay-signed according to ICSharpCode.SharpZipLib/AssemblyInfo.cs.

svn path=/trunk/mcs/; revision=30027
2004-06-21 12:07:29 +00:00
Marek Safar 8dd59d7659 new tests
svn path=/trunk/mcs/; revision=30026
2004-06-21 12:07:23 +00:00
Raja R Harinath 092ade872e update
svn path=/trunk/mcs/; revision=30025
2004-06-21 12:07:00 +00:00
Raja R Harinath cb2f17a4ed * executable.make ($(PROGRAM)): Move depend on the makefrags ...
(all-local): ... here.
* library.make ($(the_lib), $(test_lib), $(btest_lib), all-local):
Likewise.
(LIBRARY_SNK): New default define.  Allows library to be signed
with a key other than mono.snk.
($(the_lib_signature_stamp)): New stamp file created when an
assembly is signed.
(install-local, uninstall-local, maybe-sign-lib): Set MONO_PATH.

svn path=/trunk/mcs/; revision=30024
2004-06-21 12:06:34 +00:00
Paolo Molaro ebb4ae0126 Mon Jun 21 14:06:03 CEST 2004 Paolo Molaro <[email protected]>
* interp.h: API updates.

svn path=/trunk/mono/; revision=30023
2004-06-21 11:14:42 +00:00
Marek Safar 66e7897cc9 2004-06-21 Marek Safar <[email protected]>
* test-275.cs: New test for #59792

svn path=/trunk/mcs/; revision=30022
2004-06-21 09:46:14 +00:00
Sachin Kumar c3046ba7a7 Minor bug fixes
svn path=/trunk/mcs/; revision=30021
2004-06-21 07:41:21 +00:00
Atsushi Eno ae05f2b3f8 2004-06-21 Atsushi Enomoto <[email protected]>
* mono-sha1.c : close opened file in case of successful read. This
	  saves a bunch of System.Reflection Emit failures under windows.

svn path=/trunk/mono/; revision=30019
2004-06-21 07:18:40 +00:00
César Natarén 76cc01191d updates from grammar changes
svn path=/trunk/mcs/; revision=30004
2004-06-21 00:50:46 +00:00
César Natarén 3624f7d92f changelog entries
svn path=/trunk/mcs/; revision=30003
2004-06-21 00:48:54 +00:00
César Natarén 1275c3782c * jscript-lexer-parser.g: pass parent to break_stm. Added block as
a statement. Temporarily disabled object_literal in order to test
        the block structure and continue and break statements.

svn path=/trunk/mcs/; revision=30002
2004-06-21 00:45:45 +00:00
César Natarén 9cab3b6de1 * ast.cs: Added InLoop and InSwitch.
svn path=/trunk/mcs/; revision=30000
2004-06-21 00:45:16 +00:00
César Natarén 5b05aba516 * Statement.cs: class If.Emit, call fall_true instead of fall_false so we don't
need to jump if the expression evaluates to true. Continue class,
        replaced ParentIsItrStm with InLoop, emit jump to correct
        place. Break class, implemented Resolve; deleted
        ParentIsCorrect. DoWhile, While classes, set LoopBegin and
        LoopEnd. While class, set LoopBegin and LoopEnd.

svn path=/trunk/mcs/; revision=29999
2004-06-21 00:44:52 +00:00
César Natarén 0e0a64c8ec * CodeGenerator.cs: Added LoopBegin and LoopEnd to EmitContext, they are used by
break and continue in order to jump to the desired place. Added
        check for converting to boolean if we encounter an identifier (at need_convert_to_boolean).

svn path=/trunk/mcs/; revision=29998
2004-06-21 00:44:16 +00:00
Martin Baulig a825eb4c52 2004-06-21 Martin Baulig <[email protected]>
* mono-debug-debugger.c (write_class): Cleaned this up a bit and
	added interface support.

svn path=/trunk/mono/; revision=29996
2004-06-21 00:37:56 +00:00
Jackson Harper 2968f8c40c * dis-cil.c: Handle switch statements with no labels.
svn path=/trunk/mono/; revision=29994
2004-06-20 23:23:38 +00:00
Jackson Harper 87e28b49cb * SwitchInstr.cs: Allow switches with no labels.
svn path=/trunk/mcs/; revision=29993
2004-06-20 23:12:12 +00:00
Jackson Harper 8002eb6ae8 * InstrTable.cs: Add .u8 opcodes for ldind and ldelem these are
just aliases to their .i8 equivelents.

svn path=/trunk/mcs/; revision=29992
2004-06-20 22:38:27 +00:00
Martin Baulig df61aada92 2004-06-21 Martin Baulig <[email protected]>
* class.c (mono_vtable_get_static_field_data): New public method.

svn path=/trunk/mono/; revision=29990
2004-06-20 22:29:00 +00:00
Atsushi Eno 79a84de0fa 2004-06-20 Atsushi Enomoto <[email protected]>
* filewatcher.c : Windows build fix to be compliant with API changes.

svn path=/trunk/mono/; revision=29989
2004-06-20 21:30:31 +00:00
Gonzalo Paniagua Javier acf93ff574 2004-06-20 Gonzalo Paniagua Javier <[email protected]>
* Socket.cs: fixed Accept for non-blocking sockets.

svn path=/trunk/mcs/; revision=29980
2004-06-20 19:00:11 +00:00
Atsushi Eno eeb7788acc 2004-06-20 Atsushi Enomoto <[email protected]>
* XmlDataInferenceLoader.cs : Kindly reject xml schema document as a
	  inference target. For bug #60470. (MS does not support schema
	  document inference and results in unconsistent dataset structure.)

svn path=/trunk/mcs/; revision=29977
2004-06-20 18:52:23 +00:00
Atsushi Eno 2949e66c28 2004-06-20 Atsushi Enomoto <[email protected]>
* DataTableCollection.cs : reset the table's DataSet to null when
	  removing a table from this collection.
	* DataTable.cs : When Namespace is not specified explicitly, its
	  Namespace property reflects DataSet's Namespace if exist.
	  This fixes bug #60469.

svn path=/trunk/mcs/; revision=29975
2004-06-20 17:35:14 +00:00
Atsushi Eno dcfd1cffa9 2004-06-20 Atsushi Enomoto <[email protected]>
* DataTableCollectionTest.cs : Added test for DataSet and Namespace
	  adjustment.

svn path=/trunk/mcs/; revision=29974
2004-06-20 17:34:40 +00:00
Jordi Mas i Hernandez 87664ecf85 added missing wrappers
svn path=/trunk/mcs/; revision=29973
2004-06-20 14:44:35 +00:00
Jackson Harper 2ce4a3f049 * monodis.1: Document --blob
svn path=/trunk/mono/; revision=29968
2004-06-20 01:50:13 +00:00
Jackson Harper bcffb8c467 * dump.c/h: New function to dump the contents of the blob
stream. I found it useful for debugging so I will share.
	* main.c: Add --blob switch to dump the blob stream.

svn path=/trunk/mono/; revision=29967
2004-06-20 01:46:44 +00:00
Jackson Harper 4db788efc0 * get.c/h: New function to stringify function pointers.
svn path=/trunk/mono/; revision=29966
2004-06-20 01:40:32 +00:00
Jackson Harper 42cb196921 * get.c: New function to stringify function pointers.
svn path=/trunk/mono/; revision=29965
2004-06-20 01:36:36 +00:00
Jackson Harper 709e98a759 * get.c: Fix name escaping so we dont escape everything in the
world anymore.

svn path=/trunk/mono/; revision=29964
2004-06-20 01:13:56 +00:00
Jackson Harper d7bec71731 * ILParser.jay: Resolve method pointers that are being treated as
typerefs.

svn path=/trunk/mcs/; revision=29963
2004-06-19 23:25:52 +00:00
Jackson Harper 141bac3ad0 * ilasm.exe.sources: Add MethodPointerTypeRef.cs to the build.
svn path=/trunk/mcs/; revision=29962
2004-06-19 23:23:09 +00:00
Jackson Harper 2b7087f3bc * MethodPointerTypeRef.cs: New File - represents a method pointer
that is being treated as a typeref. For example method void*() in
	the statement castclass method void*().

svn path=/trunk/mcs/; revision=29961
2004-06-19 23:21:31 +00:00
Jackson Harper 94c0773c00 * PEAPI.cs: Make sure the sentinel is placed properly for vararg
method pointers.

svn path=/trunk/mcs/; revision=29960
2004-06-19 23:12:20 +00:00
Jackson Harper ddecf09809 Give a little love
svn path=/trunk/mcs/; revision=29959
2004-06-19 22:30:13 +00:00
Jackson Harper b94c1f6680 * PEAPI.cs: Allow MethPtrTypes to be created from a signature
instead of from a method reference because it really doesn't make
	sense to do it that way ;-).

svn path=/trunk/mcs/; revision=29958
2004-06-19 21:14:45 +00:00
Jackson Harper 4a7b3fcc5a Add instructions on setting multiple mask values.
svn path=/trunk/mono/; revision=29953
2004-06-19 17:34:26 +00:00
Jackson Harper 8ae5262c72 * InstrTable.cs: Add undocumented brnull opcode. This is really
just an alias for brfalse.

svn path=/trunk/mcs/; revision=29952
2004-06-19 17:21:57 +00:00
Jackson Harper 0c95afbde4 * ILParser.jay: Resolve other modules global 'type'.
svn path=/trunk/mcs/; revision=29949
2004-06-19 16:43:00 +00:00
Miguel de Icaza 57d706aa4d Floush
svn path=/trunk/mono/; revision=29947
2004-06-19 16:29:08 +00:00
Paolo Molaro 63b0272887 Sat Jun 19 19:04:50 CEST 2004 Paolo Molaro <[email protected]>
* class.h, class.c: more accessors.
	* metadata.h, metadata.c: prepare for hiding MonoType and
	MonoMethodSignature: people should use the accessors from now on
	outside of the tree.

svn path=/trunk/mono/; revision=29946
2004-06-19 16:17:04 +00:00
Jackson Harper 12357e691b * MethodDef.cs: Add a method to create vararg signatures from a
list of typerefs that matches the algorithm for creating vararg
	signatures from paramdefs. This is used when creating methodref
	signatures.
	* MethodRef.cs: Use the new CreateVarargSignature method to create
	the methods signature if it is a vararg method.

svn path=/trunk/mcs/; revision=29945
2004-06-19 16:12:47 +00:00
Paolo Molaro 0e43f1677e Test with metadata-related API sample usage.
svn path=/trunk/mono/; revision=29943
2004-06-19 15:10:45 +00:00
Paolo Molaro ca60c99375 Sat Jun 19 17:56:50 CEST 2004 Paolo Molaro <[email protected]>
* *.c, *.h: more API cleanups.

svn path=/trunk/mono/; revision=29942
2004-06-19 15:08:58 +00:00
Atsushi Eno 666767aaf6 2004-06-19 Atsushi Enomoto <[email protected]>
* FloatingPointFormatter.cs : Literal string should be kept in the
	  output.

svn path=/trunk/mcs/; revision=29940
2004-06-19 13:11:50 +00:00
Atsushi Eno 2e8bfb9d63 2004-06-19 Atsushi Enomoto <[email protected]>
* FloatingPointFormatterTest.cs : Format literal (i.e. '...') in
	  format string should be kept as is.

svn path=/trunk/mcs/; revision=29939
2004-06-19 13:11:23 +00:00
Jochen Wezel e18c1d37e0 Changed some public constructors to private to match MS' implementation
svn path=/trunk/mcs/; revision=29938
2004-06-19 11:03:42 +00:00
Gert Driesen 187b6e8dd9 * Consts.cs: Added
svn path=/trunk/mcs/; revision=29937
2004-06-19 10:42:34 +00:00
Gonzalo Paniagua Javier e640278680 2004-06-19 Gonzalo Paniagua Javier <[email protected]>
* TemplateControlCompiler.cs: for system colors, use SystemColors class
	instead of Color. Fixes bug #60249.

svn path=/trunk/mcs/; revision=29936
2004-06-19 10:24:16 +00:00
Paolo Molaro 18f0189f44 Document function remapping, too.
svn path=/trunk/mono/; revision=29935
2004-06-19 09:42:23 +00:00
Atsushi Eno 448baf251a 2004-06-19 Atsushi Enomoto <[email protected]>
* mono-api-diff.cs : tiny fix on warning output.

svn path=/trunk/mcs/; revision=29934
2004-06-19 07:29:22 +00:00
Martin Baulig dda8f8dd35 2004-06-19 Martin Baulig <[email protected]>
* MonoSymbolTable.cs
	(SourceFileTable.Namespaces): New public property.

svn path=/trunk/mcs/; revision=29931
2004-06-19 01:26:02 +00:00
Jackson Harper 0fa628e921 * man/mono.1: Add MONO_LOG_LEVEL and MONO_LOG_MASK
svn path=/trunk/mono/; revision=29930
2004-06-18 23:35:58 +00:00
Jackson Harper 1ed5f785d1 * assembly.c: Trace loading assemblies.
* loader.c: Trace loading native libraries.
	* mono-config.c: Trace loading config files.

svn path=/trunk/mono/; revision=29926
2004-06-18 22:06:53 +00:00
Jackson Harper bdffef14b9 * mono-logger.c/h: Add a trace mask option for tracing loading
config files. A little white space love.

svn path=/trunk/mono/; revision=29925
2004-06-18 22:03:10 +00:00
Martin Baulig 3daec2987b 2004-06-18 Martin Baulig <[email protected]>
* generics.cs (GenericMethod.ctor): Don't take an Attributes
	argument.  Fixes #60441.

svn path=/trunk/mcs/; revision=29922
2004-06-18 21:07:55 +00:00
Duncan Mak 67e9efed0b Enable FC2
svn path=/trunk/mono/; revision=29920
2004-06-18 21:03:35 +00:00
Neale Ferguson 8ded928d50 Fix broken ABI for stack parameters
svn path=/trunk/mono/; revision=29915
2004-06-18 20:03:01 +00:00
Miguel de Icaza 7cb1ef2bf4 Fix
svn path=/trunk/mono/; revision=29914
2004-06-18 19:30:24 +00:00
Sebastien Pouliot cfcb5ae03f 2004-06-18 Sebastien Pouliot <[email protected]>
* ReturnMessage.cs: Added IMessage interface to class definition.

svn path=/trunk/mcs/; revision=29913
2004-06-18 19:12:03 +00:00
Sebastien Pouliot 6bff3db4ae 2004-06-18 Sebastien Pouliot <[email protected]>
* StrongNameMembershipCondition.cs: Added missing [Serializable]
	attribute.
	* ZoneMembershipCondition.cs: Added missing [Serializable] attribute.

svn path=/trunk/mcs/; revision=29912
2004-06-18 19:08:04 +00:00
Ben Maurer 8d8ea7c773 more v2 classes some workarounds are here for gmcs bugs
svn path=/trunk/mcs/; revision=29910
2004-06-18 18:32:31 +00:00
Dick Porter 8dabaf7398 2004-06-18 Dick Porter <[email protected]>
* event-private.h:
	* events.c: Auto-reset events need to release one thread for each
	time SetEvent() is called.  Fixes bug 41292.

	* threads.h:
	* mutex-private.h:
	* mutexes.c: Scan for mutexes that are still locked by a thread
	when it exits.  Fixes the MS demo app linked by bug 41292.

	* wait.c (test_and_own): Make sure a handle is signalled before it
	is owned.

svn path=/trunk/mono/; revision=29909
2004-06-18 18:15:56 +00:00
Atsushi Eno cc6dc18eec 2004-06-18 Atsushi Enomoto <[email protected]>
* DateTime.cs : Concatenating whitespace removal was not working fine.
	  Modified FormatException message (1 cent kindness).

svn path=/trunk/mcs/; revision=29903
2004-06-18 17:48:27 +00:00
Dick Porter ddbb177a02 Thread exiting behaviour
svn path=/trunk/mono/; revision=29902
2004-06-18 17:29:27 +00:00
Gert Driesen 23c68894ff * IStateRuntime.cs: added missing marshalling attributes
svn path=/trunk/mcs/; revision=29901
2004-06-18 17:24:05 +00:00
Gert Driesen 3f09099bcd * IAppDomainFactory.cs: added missing marshalling attributes
* IISAPIRuntime.cs: added missing marshalling attributes

svn path=/trunk/mcs/; revision=29900
2004-06-18 17:22:44 +00:00
Ben Maurer 3939fcd228 2004-06-18 Ben Maurer <[email protected]>
* Action.cs, ArraySegment.cs, Comparison.cs, Converter.cs, Predicate.cs:
	new generics classes
	* IComparable.cs: add the new <T> version.
	* EventHandler.cs: new <T> version.

svn path=/trunk/mcs/; revision=29899
2004-06-18 17:18:10 +00:00
Paolo Molaro d294c046c6 Fix windows build.
svn path=/trunk/mono/; revision=29898
2004-06-18 17:16:14 +00:00
Gert Driesen a34e54fc99 * IComManagedImportUtil.cs: added missing marshalling attributes
* IComSoapIISVRoot.cs: added missing marshalling attributes
* IComSoapMetadata.cs: added missing marshalling attributes
* IComSoapPublisher.cs: added missing marshalling attributes
* IServerWebConfig.cs: added missing marshalling attributes
* ISoapClientImport.cs: added missing marshalling attributes
* ISoapServerTlb.cs: added missing marshalling attributes
* ISoapServerVRoot.cs: added missing marshalling attributes
* ISoapUtility.cs: added missing marshalling attributes

svn path=/trunk/mcs/; revision=29897
2004-06-18 17:08:49 +00:00
Gert Driesen 9d77ba7a02 * Compensator.cs: fixed return value of CommitRecord method
svn path=/trunk/mcs/; revision=29896
2004-06-18 17:01:51 +00:00
Gert Driesen db58d33746 * AuthenticationOption.cs: fixed enum field values to match MS.NET
* IProcessInitializer.cs: added missing marshalling attributes
* IRegistrationHelper.cs: added missing marshalling attributes
* ImpersonationLevelOption: fixed enum field values to match MS.NET
* InstallationFlags: fixed enum field values to match MS.NET
* PropertyLockMode: fixed enum field values to match MS.NET
* PropertyReleaseMode: fixed enum field values to match MS.NET
* RegistrationHelper: added missing marshalling attributes
* RegistrationHelperTx: added missing marshalling attributes
* SynchronizationOption: fixed enum field values to match MS.NET
* TransactionIsolationLevel: fixed enum field values to match MS.NET
* TransactionVote: fixed enum field values to match MS.NET

svn path=/trunk/mcs/; revision=29895
2004-06-18 16:59:14 +00:00
Paolo Molaro abd8757538 Fri Jun 18 19:39:09 CEST 2004 Paolo Molaro <[email protected]>
* Makefile.am: process data before runtime, so the config file is
	installed and gacutil has a chance to work (finding symlink).

svn path=/trunk/mono/; revision=29890
2004-06-18 16:49:57 +00:00
Gert Driesen f9dddf5374 * SqlNullValueException.cs: fixed serialization
* SqlTruncateException.cs: fixed serialization
* SqlTypeException.cs: fixed serialization

svn path=/trunk/mcs/; revision=29887
2004-06-18 15:40:47 +00:00
Gert Driesen f776ed3720 * OleDbError.cs: fixed serialization compatibility with MS.NET
* OleDbErrorCollection.cs: fixed serialization compatibility with
MS.NET

svn path=/trunk/mcs/; revision=29886
2004-06-18 15:38:10 +00:00
Gert Driesen 8c65905adb * OdbcError.cs: fixed serialization compatibility with MS.NET
* OdbcErrorCollection.cs: fixed serialization compatibility with
MS.NET
* OdbcException.cs: fixed serialization compatibility with MS.NET

svn path=/trunk/mcs/; revision=29885
2004-06-18 15:37:16 +00:00
Paolo Molaro 0a9afb7fdc Fri Jun 18 18:24:28 CEST 2004 Paolo Molaro <[email protected]>
* mini.c, mini.h, mini-ppc.c: handle varargs methods with a special
	case until bug #59509 is fixed (shows up in #60332).

svn path=/trunk/mono/; revision=29884
2004-06-18 15:34:57 +00:00
Gert Driesen 04d75f32c3 * DBConcurrentcyException.cs: CRLF to LF
* DataViewSetting.cs: CRLF to LF

svn path=/trunk/mcs/; revision=29883
2004-06-18 15:34:23 +00:00
Gert Driesen f8ef4fd803 *** empty log message ***
svn path=/trunk/mcs/; revision=29882
2004-06-18 15:29:34 +00:00
Ravindra 2ef8dce743 Correcting some errors of last checkin.
svn path=/trunk/mcs/; revision=29881
2004-06-18 15:12:34 +00:00
Ravindra 263e9fc081 * FontConverter.cs: Implemented the missing functions.
* Font.cs: Added some notes.

svn path=/trunk/mcs/; revision=29879
2004-06-18 14:56:07 +00:00
Jackson Harper 4a5ee6c278 * mono-logger.c: Change default logging level to ERROR. Make sure
that mono_trace_init is called if mono_tracev is our first trace
	statement is mono_tracev. Little indentation fix.

svn path=/trunk/mono/; revision=29878
2004-06-18 14:46:40 +00:00
Dick Porter a31d672375 2004-06-18 Dick Porter <[email protected]>
* String.cs: The icall can cope with embedded \0 now.

svn path=/trunk/mcs/; revision=29876
2004-06-18 13:53:19 +00:00
Dick Porter e40302bd2b 2004-06-18 Dick Porter <[email protected]>
* locales.c: Tell ICU the lengths of strings, it can cope with
	embedded \0 then.  Fixes bug 59274, and doesn't break bug 55822.

svn path=/trunk/mono/; revision=29875
2004-06-18 13:52:57 +00:00
Atsushi Eno bb1ebb19b8 2004-06-18 Atsushi Enomoto <[email protected]>
* XmlDataDocumentTest2.cs : When line ending is LF, CR is preserved.
	  To reproduce on windows too, set NewLine as LF.

svn path=/trunk/mcs/; revision=29874
2004-06-18 12:32:14 +00:00
Marek Safar 73d81a98dd 2004-06-18 Marek Safar <[email protected]>
* test-274.cs: New test for #60219

svn path=/trunk/mcs/; revision=29873
2004-06-18 12:27:03 +00:00
Marek Safar 1109c9ac7c 2004-06-18 Marek Safar <[email protected]>
Fix bug #60219
 	* class.cs (ConstructorInitializer.GetOverloadedConstructor):
 	Don't throw exception but return null (it's sufficient now).

svn path=/trunk/mcs/; revision=29872
2004-06-18 12:23:29 +00:00
Raja R Harinath 5ebd13b632 * runtime/Makefile.am ($(monoone_DATA) $(monotwo_DATA) $(monobins_DATA)):
Test if files exist in the mcs/ tree before creating symlinks.
Remove symlinks before creating them again.
* runtime/net_1_1/Makefile.am (mscorlib.dll $(gac_assemblies)): Likewise.
* runtime/net_2_0/Makefile.am (mscorlib.dll $(gac_assemblies)): Likewise.

Make real bug more explicit.

svn path=/trunk/mono/; revision=29871
2004-06-18 12:07:45 +00:00
Marek Safar 70e0204235 2004-06-18 Marek Safar <[email protected]>
* typemanager.cs (GetArgumentTypes): Faster implementation.

svn path=/trunk/mcs/; revision=29870
2004-06-18 12:00:32 +00:00
Marek Safar bf40fee8a3 2004-06-18 Marek Safar <[email protected]>
* test-273.cs: New test for #55971

svn path=/trunk/mcs/; revision=29869
2004-06-18 11:31:25 +00:00
Paolo Molaro ff785c3085 Fri Jun 18 13:46:05 CEST 2004 Paolo Molaro <[email protected]>
* mono-jni.c: updates for the API cleanups.

svn path=/trunk/mono/; revision=29867
2004-06-18 10:55:21 +00:00
Umadevi S 41e1f3ce9f 2004-06-18 Umadevi S <[email protected]>
* DataContainer.cs - CheckedforNull before calling the relavant setmethods in each of the
                SetItemForDataRecord method for all the classes.

svn path=/trunk/mcs/; revision=29866
2004-06-18 10:33:17 +00:00
Atsushi Eno a5eaabf6f1 2004-06-18 Atsushi Enomoto <[email protected]>
* CodeIdentifier.cs, CodeIdentifiers.cs, MapCodeGenerator.cs,
	  SerializationCodeGenerator.cs, SerializationSource.cs,
	  TypeTranslator.cs, XmlAttributeOverrides.cs, XmlCustomFormatter.cs,
	  XmlSerializationReader.cs, XmlSerializationWriter.cs,
	  XmlSerializer.cs, XmlTypeMapMemberElement.cs, XmlTypeMapping.cs
	  : Globalization fixes.
	    In XmlCustomFormatter.GenerateToXmlString() time was not
	    generated correctly.
	    Replaced all CRLF XmlAttributeOverrides.cs into LF.

svn path=/trunk/mcs/; revision=29865
2004-06-18 09:50:34 +00:00
Anirban Bhattacharjee e2041f94d7 Interaction.cs: Shell method implemented
svn path=/trunk/mcs/; revision=29864
2004-06-18 09:32:18 +00:00
Atsushi Eno a51abf2aab 2004-06-18 Atsushi Enomoto <[email protected]>
* DateTime.cs :
	  - Added new common pattern "yyyy/M/dZ"
	  - empty string should not be compared in _ParseEnum()
	  - Use culture independent string comparison in _ParseString()
	  - Whitespace removal should be checked after '..' token check (some
	    pattern such like es-ES LongDatePattern contains spaces in '..').
	  - formats null check should be done (to throw ArgumentNullException)
	    in ParseExact().
	  - When specified one character format, dates are incorrectly regarded
	    as to use invariant culture.

svn path=/trunk/mcs/; revision=29863
2004-06-18 09:11:48 +00:00
Paolo Molaro 3f57d35c68 Fri Jun 18 11:59:57 CEST 2004 Paolo Molaro <[email protected]>
* image.c: swapped name/filename;

svn path=/trunk/mono/; revision=29862
2004-06-18 09:09:37 +00:00
Atsushi Eno 0036fb7850 2004-06-18 Atsushi Enomoto <[email protected]>
* DateTimeTest.cs : Improved CultureIndependentTests(). Error message
	  contains specific locale and error location. Verified by run-test-
	  ondotnet and commented out X509-like pattern.(not all culture passes)

svn path=/trunk/mcs/; revision=29861
2004-06-18 09:04:39 +00:00
Ravindra 61667876de Some formatting and cleanup.
svn path=/trunk/mcs/; revision=29860
2004-06-18 08:39:39 +00:00
Raja R Harinath 2ea89aa1cc (REWRITE): New. Common rewriting 'sed' command.
(bin_SCRIPTS): Unify all the script generating rules into one.

svn path=/trunk/mono/; revision=29859
2004-06-18 08:36:21 +00:00
Raja R Harinath a58b9ee05b fix line-delete-o.
svn path=/trunk/mcs/; revision=29857
2004-06-18 07:53:04 +00:00
Raja R Harinath 4b3f825831 Fix breaking build (see tests/test-272.cs). Since corlib is a
bootstrap library, we have to keep this fix even if the in-tree
mcs compiler is fixed.
* UCOMIEnumConnections.cs: Replace '(UnmanagedType) 80' in
attribute field initialization with Consts.UnmanagedType_80.
* UCOMIEnumMoniker.cs: Likewise.
* UCOMIEnumString.cs: Likewise.
* UCOMIStream.cs: Likewise.
* UCOMITypeInfo.cs: Likewise.
* UCOMITypeLib.cs: Likewise.

svn path=/trunk/mcs/; revision=29856
2004-06-18 07:45:21 +00:00
Raja R Harinath 1c1b502115 (UnmanagedType_80): New constant. Used to workaround
problems like in tests/test-272.cs.

svn path=/trunk/mcs/; revision=29855
2004-06-18 07:44:55 +00:00
Raja R Harinath 7d38cc94b0 New test case for the breaking build.
svn path=/trunk/mcs/; revision=29854
2004-06-18 07:39:32 +00:00
Gert Driesen 2bcaebf1cc * ArgIterator.cs: changed layout to Auto
* DateTime.cs: changed layout to Auto

svn path=/trunk/mcs/; revision=29853
2004-06-18 06:33:49 +00:00
Gert Driesen 1b8b2a501d * DateTime.cs: CRLF to LF
svn path=/trunk/mcs/; revision=29852
2004-06-18 06:30:40 +00:00
Sachin Kumar f47e31b6bf Fixed bugs in Val(string)
svn path=/trunk/mcs/; revision=29851
2004-06-18 06:21:09 +00:00
Anirban Bhattacharjee 16f6cb8223 2004-06-18 Anirban Bhattacharjee <[email protected]>
* Interaction.cs: Few methods implemented - Contribution by Jambunathan and Anirban

svn path=/trunk/mcs/; revision=29850
2004-06-18 06:08:10 +00:00
Umadevi S aeb993c977 2004-06-18 Umadevi S <[email protected]>
* SqlCommand.cs - ExecuteNonQuery returns -1 in all cases except
                insert,update or delete.

svn path=/trunk/mcs/; revision=29849
2004-06-18 06:01:40 +00:00
Gert Driesen d7536995bf * BINDPTR.cs: have layout and charset match MS.NET
* CONNECTDATA.cs: have layout and charset match MS.NET
* DISPPARAMS.cs: have layout and charset match MS.NET
* ELEMDESC.cs: have layout and charset match MS.NET
* EXCEPINFO.cs: have layout and charset match MS.NET
* IDLDESC.cs: have layout and charset match MS.NET
* PARAMDESC.cs: have layout and charset match MS.NET
* STATSTG.cs: have layout and charset match MS.NET
* TYPEATTR.cs: have layout and charset match MS.NET
* TYPEDESC.cs: have layout and charset match MS.NET
* TYPELIBATTR.cs: have layout and charset match MS.NET
* VARDESC.cs: have layout and charset match MS.NET

svn path=/trunk/mcs/; revision=29848
2004-06-18 05:53:26 +00:00
Gert Driesen 48447ddacb * ArrayWithOffset.cs: fixed GetOffset to return int instead of
object
* CONNECTDATA.cs: added missing MarshalAs attribute
* EXCEPINFO.cs: added missing MarshalAs attributes
* ITypeLibConverter.cs: added missing MarshalAs attributes
* ITypeLibImporterNotifySink.cs: added missing MarshalAs attributes
* Marshal.cs: added missing MarshalAs attributues, and missing
Out attributes
* TypeLibConverter.cs: added missing MarshalAs attributes
* UCOMIBindCtx.cs: added missing MarshalAs attributes
* UCOMIConnectionPoint.cs: added missing MarshalAs attributes
* UCOMIEnumConnectionPoints.cs: added missing MarshalAs attributes
* UCOMIEnumConnections.cs: added missing PreserveSig attributes,
added missing MarshalAs attributes
* UCOMIEnumMoniker.cs: added missing PreserveSig attributes,
added missing MarshalAs attributes
* UCOMIEnumString.cs: added missing PreserveSig attributes,
added missing MarshalAs attributes
* UCOMIMoniker.cs: added missing MarshalAs attributes
* UCOMIPersistFile.cs: added missing PreserveSig attribute,
added missing MarshalAs attributes
* UCOMIRunningObjectTable.cs: added missing MarshalAs attributes
* UCOMIStream.cs: added missing MarshalAs attributes
* UCOMITypeComp.cs: added missing MarshalAs attributes
* UCOMITypeInfo.cs: added missing MarshalAs attributes
* UCOMITypeLib.cs: added missing PreserveSig attributes, added
missing MarshalAs attributes

svn path=/trunk/mcs/; revision=29847
2004-06-18 05:17:25 +00:00
Umadevi S 46aa685e63 2004-06-18 Umadevi S <[email protected]>
* SqlConnection.cs - handled null being passed as a connectionstring
          - checked for minimal set of parameters in connectionstring.
          - handled unrecogonized keywords similar to MS.NET

svn path=/trunk/mcs/; revision=29846
2004-06-18 04:23:08 +00:00
Miguel de Icaza 927f734e4a Flush
svn path=/trunk/mono/; revision=29845
2004-06-18 03:44:21 +00:00
Martin Baulig f6f244119f 2004-06-18 Martin Baulig <[email protected]>
* mono-debug-debugger.c (write_class): Write the parent class at
	the end of the header.

svn path=/trunk/mono/; revision=29841
2004-06-18 03:12:01 +00:00
Francisco Figueiredo Jr. c1dbd1467d 2004-06-18 Francisco Figueiredo Jr. <[email protected]>
* Synchronized files with gborg cvs up to release 0.6.

svn path=/trunk/mcs/; revision=29840
2004-06-18 02:58:45 +00:00
Francisco Figueiredo Jr. 8efff70c78 2004-06-18 Francisco Figueiredo Jr. <[email protected]>
* Synchronized files with gborg cvs up to release 0.6

svn path=/trunk/mcs/; revision=29839
2004-06-18 02:56:25 +00:00
Francisco Figueiredo Jr. 249109f582 2004-06-18 Francisco Figueiredo Jr. <[email protected]>
* Synchronized files from gborg cvs up to release 0.6.

svn path=/trunk/mcs/; revision=29838
2004-06-18 02:54:48 +00:00
Geoff Norton 55481f6dfa Updated for B3
svn path=/trunk/mono/; revision=29835
2004-06-18 02:17:48 +00:00
Atsushi Eno ae938f1f66 2004-06-18 Atsushi Enomoto <[email protected]>
* XmlSecureResolverTests.cs : [TestFixture] was missing.

svn path=/trunk/mcs/; revision=29833
2004-06-18 02:06:08 +00:00
Atsushi Eno 5c8ecfc986 2004-06-18 Atsushi Enomoto <[email protected]>
* MonoMicro.Test.csproj : updated.

svn path=/trunk/mcs/; revision=29830
2004-06-18 01:40:17 +00:00
Atsushi Eno 9f2763e462 2004-06-18 Atsushi Enomoto <[email protected]>
* Mono.System.XML.csproj : now contains new NET_2_0 files.

svn path=/trunk/mcs/; revision=29829
2004-06-18 01:36:53 +00:00
Atsushi Eno 6f208edbf7 2004-06-18 Atsushi Enomoto <[email protected]>
* DefaultContext.cs : Globalization.
	* Iterator.cs : In SlashIterator.MoveNext() position might keep 0
	  in case of empty list. Thus extraneous iteration might happened.
	  Removed unused (and clone unsafe) EnumeratorIterator.

svn path=/trunk/mcs/; revision=29828
2004-06-18 01:30:02 +00:00
Atsushi Eno 4cf0759319 2004-06-18 Atsushi Enomoto <[email protected]>
* CustomSerializer.cs, XmlSchemaException.cs,
	  XmlSchemaParticle.cs, XmlSchemaSimpleTypeRestriction.cs
	  : Globalization.

svn path=/trunk/mcs/; revision=29827
2004-06-18 01:25:07 +00:00
Atsushi Eno 47029604e8 2004-06-18 Atsushi Enomoto <[email protected]>
* DTDObjectModel.cs, DTDReader.cs, XmlConvert.cs, XmlDocument.cs,
	  XmlException.cs, XmlParserInput.cs, XmlTextReader.cs,
	  XmlTextWriter.cs : Globalization.
	* XmlNode.cs : Fixed error message that confused node type.

svn path=/trunk/mcs/; revision=29825
2004-06-18 01:22:07 +00:00
Atsushi Eno 72fd119cf8 2004-06-18 Atsushi Enomoto <[email protected]>
* XslNumber.cs : Globalization. Removed unused code.

svn path=/trunk/mcs/; revision=29824
2004-06-18 01:14:29 +00:00
Atsushi Eno dd26fb65db 2004-06-18 Atsushi Enomoto <[email protected]>
* Debug.cs, HtmlEmitter.cs, MSXslScriptManager.cs,
	  ScriptCompilerInfo.cs, XslFunctions.cs, XslTemplate.cs
	  : Globalization. Removed unused code.

svn path=/trunk/mcs/; revision=29823
2004-06-18 01:13:58 +00:00
Atsushi Eno a658ed86da 2004-06-18 Atsushi Enomoto <[email protected]>
* XsdIdentityPath.cs : removed unused code.
	* XsdIdentityState.cs : Globalization.

svn path=/trunk/mcs/; revision=29822
2004-06-18 01:09:03 +00:00
Martin Baulig 043e069ece 2004-06-18 Martin Baulig <[email protected]>
* attribute.cs (Attribute.Resolve): Check whether we're an
	EmptyCast which a Constant child.  Fixes #60333.

svn path=/trunk/mcs/; revision=29821
2004-06-18 00:51:27 +00:00
Atsushi Eno 57a33056a1 2004-06-18 Atsushi Enomoto <[email protected]>
* CodeGeneratorIdentifierTest.cs : [TestFixture] was missing.

svn path=/trunk/mcs/; revision=29819
2004-06-17 23:28:23 +00:00
Atsushi Eno 063a735387 2004-06-18 Atsushi Enomoto <[email protected]>
* TypedDataSetGeneratorTest.cs : [TestFixture] was missing.

svn path=/trunk/mcs/; revision=29818
2004-06-17 23:24:54 +00:00
Sebastien Pouliot e858743eaf 2004-06-17 Sebastien Pouliot <[email protected]>
* KeyInfoX509Data.cs: Removed old internal IssuerSerial for the
	undocumented structure (now documented, and public, in Fx 2.0).
	* X509IssuerSerial.cs: Use structure as public in NET_2_0 and as
	internal before that.

svn path=/trunk/mcs/; revision=29817
2004-06-17 23:12:52 +00:00
Jackson Harper 6e115c811b * Uri.cs: Use invariant culture.
svn path=/trunk/mcs/; revision=29816
2004-06-17 21:48:29 +00:00
Miguel de Icaza 034f6535bb Revert
svn path=/trunk/mono/; revision=29815
2004-06-17 21:36:48 +00:00
Martin Baulig 79f1f8ead4 Revert.
svn path=/trunk/mono/; revision=29814
2004-06-17 21:29:47 +00:00
Ben Maurer 765b9b1d2f new test
svn path=/trunk/mcs/; revision=29813
2004-06-17 20:50:27 +00:00
Ben Maurer c817f917dc 2004-06-17 Ben Maurer <[email protected]>
* statement.cs (EmitCollectionForeach): Account for the fact that
	not all valuetypes are in areas which we can take the address of.
	For these variables, we store to a temporary variable. Also, make
	sure that we dont emit a `callvirt' on a valuetype method.

svn path=/trunk/mcs/; revision=29812
2004-06-17 20:50:10 +00:00
Jackson Harper 13bd73bd49 * CompilerError.cs:
* CodeGenerator.cs: Make sure we are using invariant for non
	culture sensitive operations.

svn path=/trunk/mcs/; revision=29807
2004-06-17 19:27:12 +00:00
Jackson Harper 9fcdd687af * CodeGenerator.cs: Make sure we are using invariant for non
culture sensitive operations.

svn path=/trunk/mcs/; revision=29806
2004-06-17 19:11:43 +00:00
Gert Driesen 1618604541 * ReturnMessage.cs: remove serializable attribute to match MS.NET
svn path=/trunk/mcs/; revision=29805
2004-06-17 19:01:55 +00:00
Duncan Mak 6fd8b12076 In sounds better than On
svn path=/trunk/mono/; revision=29804
2004-06-17 18:56:43 +00:00
Duncan Mak ead6e02f60 Uncomment the MacOS X section
svn path=/trunk/mono/; revision=29803
2004-06-17 18:53:40 +00:00
Sebastien Pouliot 29cb77e547 2004-06-18 Sebastien Pouliot <[email protected]>
* SqlMoney.cs: Removed old "hack" to correct scale after rounding as
	Decimal has been fixed (in fact this code was moved and adapted for
	Decimal as it was better than the previous fix).

svn path=/trunk/mcs/; revision=29802
2004-06-17 18:46:45 +00:00
Gert Driesen 68419f70e1 * MarshalDirectiveException.cs: marked serializable to match MS.NET
* SafeArrayRankMismatchException.cs: marked serializable to match
MS.NET
* SafeArrayTypeMismatchException.cs: marked serializable to match
MS.NET

svn path=/trunk/mcs/; revision=29801
2004-06-17 18:35:35 +00:00
Gert Driesen 1bdec1beee * InvalidComObjectException.cs: marked serializable to match MS.NET
* InvalidOleVarianTypeException.cs: marked serializable to match
MS.NET

svn path=/trunk/mcs/; revision=29800
2004-06-17 18:28:49 +00:00
Sebastien Pouliot d50232bbb4 2004-06-17 Sebastien Pouliot <[email protected]>
* Decimal.cs: Removed unused (and unusable) IsOne and fixed IsZero
	(where scale has no importance).

svn path=/trunk/mcs/; revision=29799
2004-06-17 18:25:02 +00:00
Gert Driesen 83d87af40c * BestFitMappingAttribute.cs: removed serializable attribute
to match MS.NET

svn path=/trunk/mcs/; revision=29798
2004-06-17 18:17:47 +00:00
Gert Driesen d150fc45d4 * Pointer.cs: remove serializable attribute to match MS.NET
svn path=/trunk/mcs/; revision=29797
2004-06-17 18:15:01 +00:00
Gert Driesen 44629757bd * ParameterModifier.cs: marked serializable, renamed field to match
MS.NET, throw ArgumentException when parameter count is less than or
equal to zero

svn path=/trunk/mcs/; revision=29796
2004-06-17 18:09:37 +00:00
Sebastien Pouliot d2adcc4530 2004-06-17 Sebastien Pouliot <[email protected]>
* Decimal.cs: Fixed regression in System.Data caused by the recent
	changes. Adapted (and moved) the code to correct the scale from
	SqlMoney.

svn path=/trunk/mcs/; revision=29795
2004-06-17 18:09:09 +00:00
Lluis Sanchez 77ed91f3ce Restored accents.
svn path=/trunk/mcs/; revision=29794
2004-06-17 18:04:26 +00:00
Lluis Sanchez b7c580bd3a * Activator.cs: In CreateInstance(), use Public|Instance if access binding
attributes are omitted.

svn path=/trunk/mcs/; revision=29793
2004-06-17 17:55:06 +00:00
Miguel de Icaza 8140f5c896 Flush
svn path=/trunk/mono/; revision=29790
2004-06-17 17:01:15 +00:00
Victor Vatamanescu 6c5f412fff *** empty log message ***
svn path=/trunk/mono/; revision=29788
2004-06-17 16:46:56 +00:00
Paolo Molaro 3407807e1d API cleanup fixes.
svn path=/trunk/mono/; revision=29787
2004-06-17 16:25:19 +00:00
Atsushi Eno 5942a2137a 2004-06-17 Atsushi Enomoto <[email protected]>
* relaxngtest.cs : Now we can test all cases (though resulting in
	  failure). Catch unexpected exception and report them as such.

svn path=/trunk/mcs/; revision=29782
2004-06-17 15:31:15 +00:00
Atsushi Eno d8509c465b 2004-06-17 Atsushi Enomoto <[email protected]>
* RdpPatterns.cs : Quick workaround for infinite loop happening in
	  some kind of recursive expansion.

svn path=/trunk/mcs/; revision=29781
2004-06-17 15:22:58 +00:00
Jambunathan K 389b310d7e Ported OutPutVBFile.cs from Mainsoft's codebase. No assurance beyond the
fact that it would compile just fine !

svn path=/trunk/mcs/; revision=29780
2004-06-17 15:20:57 +00:00
Ravindra 33c0975994 Moving samples from Test/System.Drawing to Samples/General and Samples/System.Drawing directories.
svn path=/trunk/mcs/; revision=29778
2004-06-17 14:20:20 +00:00
Paolo Molaro 77c6d215a3 Thu Jun 17 16:50:44 CEST 2004 Paolo Molaro <[email protected]>
* *.c, *.h, Makefile.am: more API cleanups and bugfixes.

svn path=/trunk/mono/; revision=29777
2004-06-17 14:10:57 +00:00
Atsushi Eno 63f2b74047 2004-06-17 Atsushi Enomoto <[email protected]>
* DateTime.cs : GetDateTimeFormats(char, IFormatProvider) should also
	  check if the format character is valid.

svn path=/trunk/mcs/; revision=29776
2004-06-17 13:17:43 +00:00
Victor Vatamanescu f60c78a067 *** empty log message ***
svn path=/trunk/mono/; revision=29775
2004-06-17 13:12:05 +00:00
Anirban Bhattacharjee cac7679961 2004-06-17 Anirban Bhattacharjee <[email protected]>
* ControlChars.cs: StandardModuleAttribute added

svn path=/trunk/mcs/; revision=29774
2004-06-17 13:08:50 +00:00
Anirban Bhattacharjee f4a7959f92 2004-06-17 Anirban Bhattacharjee <[email protected]>
* Strings.cs: An effort make this file feature complete

svn path=/trunk/mcs/; revision=29772
2004-06-17 13:02:26 +00:00
Atsushi Eno 9176188dc8 2004-06-17 Atsushi Enomoto <[email protected]>
* DateTime.cs : AddDays(double) rounds the input.

svn path=/trunk/mcs/; revision=29771
2004-06-17 12:42:29 +00:00
Sachin Kumar 8ece8b55cd Added license and copyright
svn path=/trunk/mcs/; revision=29770
2004-06-17 12:42:08 +00:00
Jambunathan K 28ed14ccca Committed a couple of FileSystem methods and associated Test cases
submitted by Rob Tillie.

svn path=/trunk/mcs/; revision=29769
2004-06-17 12:37:44 +00:00
Boris Kirzner cea45c8670 * ChangeLog : Fix for misspelled words.
svn path=/trunk/mcs/; revision=29768
2004-06-17 12:29:05 +00:00
Sachin Kumar 86caa35d31 Added license and copyright
svn path=/trunk/mcs/; revision=29767
2004-06-17 12:24:22 +00:00
Boris Kirzner 6e8bc9f17c * DataRowCollection.cs : Removed onColumnRemoved since it iss not in use.
svn path=/trunk/mcs/; revision=29766
2004-06-17 12:23:49 +00:00
Boris Kirzner 04e47fce7d * DataTable.cs :
- Table stores default values for columns in soecial default values row. It is allocated once (in NewRow)
  - DataTable.Copy rewrited. It works with uninitialized rows for better perfomance.
  - OnRemoveColumn has nothing to perform by now.

svn path=/trunk/mcs/; revision=29765
2004-06-17 12:13:57 +00:00
Sachin Kumar 3c6ea8cfd6 Added license and copyright
svn path=/trunk/mcs/; revision=29764
2004-06-17 12:12:59 +00:00
Boris Kirzner 299108b770 * DataRow.cs :
- Changed access of original, current and proposed indexes to internal.
  - ColumnErrors reviewed : now column errors stored in ArrayList and allocated on demand only.
  - Added new DataRow constructor that creates uninitialized DataRow (used in DataTable.Copy).
  - Use DataContainer.CopyValue and default values row for faster set of default values in row.
  - SetColumnValue become CheckValue. Now it does not changes the value, but only checks for its correctness.  Care about Null and DBNull values is now in DataContainer.
  - Use DataColumn.AutoIncrementValue and GetInt64 for faster set of autoincrement value.
  - Use Datacontainer.CopyValue and default values row to speed up CheckChildRows.
  - Fix in CopyState : clone column errors.
  - Removed CollectionChanged and onColumnRemoved since we are not using both of them anymore.

svn path=/trunk/mcs/; revision=29763
2004-06-17 12:00:58 +00:00
Sachin Kumar f9504dbf49 Made corrections as suggested by Hari
svn path=/trunk/mcs/; revision=29762
2004-06-17 11:51:54 +00:00
Boris Kirzner 6878db0601 * DataColumnCollection.cs :
- Fix : Add() now delegates to Add(DataColumn).
  - autoIncrement list holds DataColumn objects, and not just column names.

svn path=/trunk/mcs/; revision=29760
2004-06-17 11:42:55 +00:00
Boris Kirzner edddb534ed * DataColumn.cs :
- AutoIncrementValue fixes. Now AutoIncrement uses DataContainer.GetInt64 to avoid boxing.
  - DefaultValue fixes. Default value from now on is also stored in special record in DataTable, so we're able to set default value for the column faster (typed).

svn path=/trunk/mcs/; revision=29759
2004-06-17 11:36:24 +00:00
Victor Vatamanescu dced06f7cb *** empty log message ***
svn path=/trunk/mcs/; revision=29758
2004-06-17 11:09:59 +00:00
Umadevi S a855975ad5 2004-06-17 Umadevi S <[email protected]>
* SqlTransaction.cs - isRolledBack reset in the internal constructor

svn path=/trunk/mcs/; revision=29757
2004-06-17 10:30:55 +00:00
Victor Vatamanescu 67178abef4 *** empty log message ***
svn path=/trunk/mcs/; revision=29756
2004-06-17 10:14:35 +00:00
Umadevi S 6c50e0cd4b 2004-06-17 Umadevi S <[email protected]>
* SqlTransaction.cs - fixed  multiple rollbacks being called causes invalidoperationexception

svn path=/trunk/mcs/; revision=29755
2004-06-17 08:41:54 +00:00
Boris Kirzner 351b27d360 * RecordCache.cs : Added CopyRecord mathod that copies single record from one table to another.
svn path=/trunk/mcs/; revision=29754
2004-06-17 08:39:07 +00:00
Boris Kirzner 08f68bf0c9 * Datacontainer.cs :
- Store and retreival of null and DBNull values reviewed.
  - Added GetInt64 to support AutoIncrement of DataColumn.
  - Added missing CopyValue method to BitDataContainer.
  - Added FillValues method to propagate single value to whole container.

svn path=/trunk/mcs/; revision=29753
2004-06-17 08:35:21 +00:00
Raja R Harinath 5a1eee2e6a revert wierd commit error
svn path=/trunk/mono/; revision=29752
2004-06-17 08:34:44 +00:00
Boris Kirzner a01de3070a * Comparison.cs - use 'as' to avoid NullReferenceExeption in casting.
svn path=/trunk/mcs/; revision=29751
2004-06-17 08:22:13 +00:00
Raja R Harinath 04ab2a3565 (PLATFORM_LIB): New. Possibly refer to ../os/libmonoos.la.
(bundle_obj): New conditional define.
(BUILT_SOURCES): Remove.
($(bundle_srcs)): Make parallel-make safe.
(libmonoruntime_la_LIBADD): Make unconditional.
(libmetadata_la_LIBADD): Make unconditional.  Refer to $(bundle_obj).
(libmetadata_la_SOURCES): Don't refer to $(bundle_srcs).

svn path=/trunk/mono/; revision=29750
2004-06-17 07:50:24 +00:00
Atsushi Eno 8b736d47b9 2004-06-17 Atsushi Enomoto <[email protected]>
* Misc.cs, RelaxngGrammar.cs, RelaxngPattern.cs, RelaxngReader.cs :
	  Added XmlResolver property to fix bug #60334.
	  Check incrrect recursion check that caused possible infinite loop.

svn path=/trunk/mcs/; revision=29749
2004-06-17 07:06:07 +00:00
Atsushi Eno bfa352dcab 2004-06-17 Atsushi Enomoto <[email protected]>
* XmlDefaultReader.cs : don't catch the exception.

svn path=/trunk/mcs/; revision=29748
2004-06-17 07:05:13 +00:00
Gert Driesen 30237d0377 * AspNetHostingPermission.cs: marked serialiable, renamed field to
match MS.NET
* AspNetHostingPermissionAttribute.cs: marked serializable, renamed
field to match MS.NET

svn path=/trunk/mcs/; revision=29745
2004-06-17 05:58:32 +00:00
Gert Driesen 2dd841e9d8 * AccessControlEntryType.cs: fixed enum field values to correspond
with MS.NET, removed TODO
* AcknowledgeTypes.cs: fixed enum field values to correspond with
MS.NET, removed TODO
* CryptographicProviderType.cs: fixed enum field values to correspond
with MS.NET, removed TODO
* EncryptionAlgorithm.cs: fixed enum field values to correspond with
MS.NET, removed TODO
* EncryptionRequired.cs: fixed enum field values to correspond with
MS.NET, removed TODO
* GenericAccessRights.cs: fixed enum field values to correspond with
MS.NET, removed TODO
* HashAlgortihm.cs: fixed enum field values to correspond with
MS.NET, removed TODO
* MessagePriority.cs: fixed enum field values to correspond with
MS.NET, removed TODO
* MessageQueueErrorCode.cs: fixed enum field values to correspond
with MS.NET, removed TODO
* MessageQueueException.cs: marked serializable
* MessageQueuePermissionAccess.cs: fixed enum field values to
correspond with MS.NET, removed TODO
* MessageQueueTransactionStatus.cs: fixed enum field values to
correspond with MS.NET, removed TODO
* MessageQueueTransactionType.cs: fixed enum field values to
correspond with MS.NET, removed TODO
* MessageType.cs: fixed enum field values to correspond with MS.NET,
removed TODO
* StandardAccessRights.cs: fixed enum field values to correspond
with MS.NET, removed TODO
* TrusteeType.cs: fixed enum field values to correspond with MS.NET,
removed TODO

svn path=/trunk/mcs/; revision=29741
2004-06-17 05:41:58 +00:00
Gert Driesen 75b1140307 * DirectoryServicesPermission.cs: renamed field to match MS.NET
* DirectoryServicesPermissionEntry.cs: fixed serialization
compatibility with MS.NET
* DirectoryServicesPermissionEntryCollection.cs: marked serializable,
added TODO for serialization compatibility
* ReferralChasingOption.cs: changed enum field values to match MS.NET

svn path=/trunk/mcs/; revision=29739
2004-06-17 05:08:24 +00:00
Atsushi Eno 1609b697b0 2004-06-17 Atsushi Enomoto <[email protected]>
* DateTimeFormatInfo.cs : check if pattern array is empty or not. Now
	  icall fills them as possible empty list.

svn path=/trunk/mcs/; revision=29737
2004-06-17 04:29:50 +00:00
Atsushi Eno 4acb7f3eb2 2004-06-17 Atsushi Enomoto <[email protected]>
* culture-info-tables.h: It was inconsistent with the latest
	  supp info files.

svn path=/trunk/mono/; revision=29735
2004-06-17 04:08:33 +00:00
Sebastien Pouliot 00e39cb7f7 2004-06-16 Sebastien Pouliot <[email protected]>
* SignatureDescription.cs: Implemented .ctor(SecurityElement) using
	documentation from VS.NET 2005.

svn path=/trunk/mcs/; revision=29731
2004-06-17 01:45:31 +00:00
Sebastien Pouliot 7314c4cbd1 2004-06-16 Sebastien Pouliot <[email protected]>
* SignatureDescriptionTest.cs: Added missing [TestFixture] :( and
	cases for the previously undocumented .ctor(SecurityElement) - which
	is now, backwardly, documented in VS.NET 2005.

svn path=/trunk/mcs/; revision=29730
2004-06-17 01:34:44 +00:00
Atsushi Eno 78ee678180 2004-06-17 Atsushi Enomoto <[email protected]>
* DateTime.cs : Incorrect maxvalue comparison in ToUniversalTime().
	  Fixed ToLocalTime() as well, but it does check range for MinValue.

svn path=/trunk/mcs/; revision=29729
2004-06-17 01:28:32 +00:00
Atsushi Eno a431a616d1 2004-06-17 Atsushi Enomoto <[email protected]>
* DateTime.cs : Added overflow check in ToUniversalTime() and
	  ToLocalTime(). Fixed bug #60253.

svn path=/trunk/mcs/; revision=29726
2004-06-17 00:48:06 +00:00
Lluis Sanchez 4235983de0 * SoapServerFormatterSink.cs: Removed unneded method.
svn path=/trunk/mcs/; revision=29722
2004-06-16 23:19:51 +00:00
Lluis Sanchez add2bf8f69 * Process.cs: Added missing check in HasExited property.
svn path=/trunk/mcs/; revision=29721
2004-06-16 23:16:49 +00:00
Lluis Sanchez e51bb93c12 * ThreadTest.cs: Improved test.
svn path=/trunk/mcs/; revision=29719
2004-06-16 23:12:10 +00:00
Marek Safar edfced107c new test
svn path=/trunk/mcs/; revision=29709
2004-06-16 19:40:49 +00:00
Zoltan Varga 15a3a676e0 2004-06-17 Zoltan Varga <[email protected]>
* assembly.c (mono_assembly_open): Fix crash when the assembly can't
	be loaded.

svn path=/trunk/mono/; revision=29708
2004-06-16 19:09:00 +00:00
Zoltan Varga c6000e5bc5 2004-06-17 Zoltan Varga <[email protected]>
* threads.c (ves_icall_System_Threading_Thread_Resume): Fix compilation
	with gcc 2.95.

svn path=/trunk/mono/; revision=29707
2004-06-16 19:03:51 +00:00
Gert Driesen 17e50e1260 * mono-api-diff.cs:
- check method/ctor parameters
  - use target attribute for attributes in key for attributes
    (if available). This allows us to differentiate between method
    and return type attributes for methods
  - check field values (for literal fields)
  - LoadExtraData was not always called, causing certain signature
    mismatches not to be reported
  - now also check charset, layout and serializability of
    types

* mono-api-info.cs:
  - check field values of literal fields
  - document parameters of method/ctors
  - also output attribute applied to return type of methods
  - output charset, layout and flag indicating whether type
    is serializable

svn path=/trunk/mcs/; revision=29706
2004-06-16 18:46:13 +00:00
Sebastien Pouliot 4a5457ed45 2004-06-16 Sebastien Pouliot <[email protected]>
* FloatingPointFormatter.cs: Implemented "R" format using Jon Skeet
	source code (with permission). Fix (biggest) part of bug #60110.
	http://www.yoda.arachsys.com/csharp/floatingpoint.html

svn path=/trunk/mcs/; revision=29704
2004-06-16 18:12:24 +00:00
Sebastien Pouliot 44f1f6c2f3 2004-06-16 Sebastien Pouliot <[email protected]>
* DoubleFormatterTest.cs: Splitted test case for #60110 in two - what
	works with Mono and what's not working.

svn path=/trunk/mcs/; revision=29698
2004-06-16 17:41:05 +00:00
Atsushi Eno 456bd7f06c 2004-06-16 Atsushi Enomoto <[email protected]>
* Manager.cs : If ecoding is not detected it always throws useless
	  null reference exception.

svn path=/trunk/mcs/; revision=29697
2004-06-16 17:39:53 +00:00
Marek Safar 19f5449e51 new test
svn path=/trunk/mcs/; revision=29696
2004-06-16 17:29:27 +00:00
Ben Maurer 58c3cc6ef9 *** empty log message ***
svn path=/trunk/mcs/; revision=29695
2004-06-16 17:13:41 +00:00
Jambunathan K 812007d231 Ported VBFile.cs, BaseVBFile.cs and InputVBFile.cs from Mainsoft's codebase.
Currently these files compile fine. That's it. All these files require
both review and testing.

svn path=/trunk/mcs/; revision=29694
2004-06-16 16:04:42 +00:00
Paolo Molaro 1569b0978d Wed Jun 16 18:23:45 CEST 2004 Paolo Molaro <[email protected]>
* threads.h, icall.c, object.c, threadpool.c, threads-types.h:
	cleaned up public header threads.h.

svn path=/trunk/mono/; revision=29692
2004-06-16 15:34:26 +00:00
Paolo Molaro 1c9ec4be0d Wed Jun 16 18:11:41 CEST 2004 Paolo Molaro <[email protected]>
* Makefile.am, *.c, *.h: more API cleanups.

svn path=/trunk/mono/; revision=29691
2004-06-16 15:24:15 +00:00
Sebastien Pouliot 5e0c65188f 2004-06-16 Sebastien Pouliot <[email protected]>
* DoubleFormatterTest.cs: Added new cases from bug reports 60110
	(roundtrip format) and 60111 (non-banker rounding).

svn path=/trunk/mcs/; revision=29690
2004-06-16 15:11:50 +00:00
Dick Porter 76c7a995de 2004-06-16 Dick Porter <[email protected]>
* timed-thread.c: Call the thread cleanup exit routine before taking
	the join mutex, because this could deadlock if another thread tries
	to join in the meantime.  This fixes the hang-at-exit problem seen
	on macos.

svn path=/trunk/mono/; revision=29689
2004-06-16 14:11:39 +00:00
Sachin Kumar ec81df777c Add license and copyright to all source files in System.Data
svn path=/trunk/mcs/; revision=29688
2004-06-16 13:52:11 +00:00
Paolo Molaro f5c646ed36 Updates fro API cleanups.
svn path=/trunk/mono/; revision=29687
2004-06-16 13:34:45 +00:00
Marek Safar 809f24fe47 new tests
svn path=/trunk/mcs/; revision=29685
2004-06-16 13:19:33 +00:00
Sanja Gupta ce7abd8456 ChangeLog: Updated ChangeLog.
gdipFunctions.cs: Modified Function signature for
        GdipSaveImageToDelegate_linux() method for saving tiff images
        to streams.
image.cs: Modified function call GdipSaveImageToDelegate_linux()
        with new signature.

svn path=/trunk/mcs/; revision=29684
2004-06-16 13:17:22 +00:00
Sachin Kumar ce459e6e2a Java code converted from Mainsoft
svn path=/trunk/mcs/; revision=29683
2004-06-16 12:52:47 +00:00
Paolo Molaro 99864ffc60 Updates for API cleanups.
svn path=/trunk/mono/; revision=29681
2004-06-16 11:49:22 +00:00
Paolo Molaro ee3e267c3a Wed Jun 16 14:33:22 CEST 2004 Paolo Molaro <[email protected]>
* Makefile.am: removed monosn from compilation.
	* appdomain.c, assembly.c, assembly.h, blob.h, class.c,
	debug-helpers.c, debug-mono-symfile.c, domain.c, icall.c,
	image.c, image.h, loader.c, marshal.c, metadata-internals.h,
	metadata.c, metadata.h, mono-config.c, mono-debug-debugger.c,
	mono-debug.c, object.c, opcodes.c, opcodes.h, pedump.c, process.c,
	reflection.c, reflection.h, verify.c: more API cleanups and fixes.

svn path=/trunk/mono/; revision=29680
2004-06-16 11:48:32 +00:00
Atsushi Eno e005caa547 2004-06-16 Atsushi Enomoto <[email protected]>
* Uri.cs : Fixed LocalPath. In that condition, path is always UNC.

svn path=/trunk/mcs/; revision=29679
2004-06-16 10:17:25 +00:00
Atsushi Eno 62bba9af32 2004-06-16 Atsushi Enomoto <[email protected]>
* Uri.cs : Reimplemented HexUnescape() (It was too broken to handle
	  multi-byte utf-8 characters.)

svn path=/trunk/mcs/; revision=29678
2004-06-16 10:05:44 +00:00
Atsushi Eno 376c149fd1 2004-06-16 Atsushi Enomoto <[email protected]>
* test-uri-list.txt, test-uri-props.txt, test-uri-props-manual.txt :
	  The autogenerated test contained Unix path case. Moved to manual.

svn path=/trunk/mcs/; revision=29677
2004-06-16 10:03:02 +00:00
Raja R Harinath 4977b50340 * library.make ($(makefrag),$(test_makefrag),$(btest_makefrag)):
Depend on library.make.
* executable.make ($(makefrag)): Depend on executable.make.

svn path=/trunk/mcs/; revision=29676
2004-06-16 08:31:51 +00:00
Gonzalo Paniagua Javier a87e673a2c uploaded windows beta3 installer
svn path=/trunk/mono/; revision=29675
2004-06-16 08:23:55 +00:00
Raja R Harinath fbe700235c (populate-runtime-subdir): Rewrite sanity check.
svn path=/trunk/mono/; revision=29674
2004-06-16 08:03:23 +00:00
Raja R Harinath 7bb66c3cac Fix typo
svn path=/trunk/mcs/; revision=29672
2004-06-16 07:40:20 +00:00
Atsushi Eno 75027362fd 2004-06-16 Atsushi Enomoto <[email protected]>
* Makefile.am : GAC path fixie for windows build.

svn path=/trunk/mono/; revision=29671
2004-06-16 07:12:08 +00:00
Atsushi Eno 536e1c2bef 2004-06-16 Atsushi Enomoto <[email protected]>
* library.make : Added GACDIR. Use cygpath -w on windows.

svn path=/trunk/mcs/; revision=29670
2004-06-16 07:10:24 +00:00
Sureshkumar T 15a71c6dbd 2004-06-16 Sureshkumar T <[email protected]>
* Added Odbc tests using MySql test database
        * New files:
                ChangeLog
                OdbcDataReaderTest.cs   - test suite for OdbcDataReader class.
                OdbcDataAdapterTest.cs  - test suite for OdbcDataAdapter class.

svn path=/trunk/mcs/; revision=29668
2004-06-16 06:34:10 +00:00
Sachin Kumar 15a49e8b92 Add license and copyright to all source files in System.Drawing
svn path=/trunk/mcs/; revision=29667
2004-06-16 06:32:39 +00:00
Sureshkumar T 78c2dbbc00 04-06-16 Sureshkumar T <[email protected]>
* Added standalone NUnit test cases for MySql db related tests.
        * Created sub-directory for System.Data.Odbc
        * New Files :
                MySqlTestBed.cs         - Base class for all MySql db based tests.
                                          contains instructions to run these tests.
                MySqlTestBed.dll.config - configurable parameters to this test suite.
                System.Data.Odbc/OdbcDataReaderTest.cs
                System.Data.Odbc/OdbcDataAdapterTest.cs

svn path=/trunk/mcs/; revision=29666
2004-06-16 06:31:24 +00:00
Raja R Harinath da525a5466 (MCS_DIRS, MCS_FILES, MONO_CSHARP_DEBUGGER_DIR, MONO_CSHARP_DEBUGGER_FILE):
Avoid automake conditional/+= problems.

svn path=/trunk/mono/; revision=29665
2004-06-16 06:23:48 +00:00
Sureshkumar T 1193274a28 2004-06-16 Sureshkumar T ([email protected])
* OdbcDataReader.cs: Added GetValue support for Sql Binary type to return byte array.
                             Implemented GetBytes method.
        * libodbc.cs       : Added enums, constants & imports for above fix.

svn path=/trunk/mcs/; revision=29664
2004-06-16 06:23:05 +00:00
Sachin Kumar d391f555ee Add license and copyright to all source files in System.Drawing
svn path=/trunk/mcs/; revision=29662
2004-06-16 06:11:12 +00:00
Raja R Harinath 1d73024b83 (bootstrap) [PLATFORM_WIN32]: Open code. Don't
build and populate net_2_0 profile.
(populate-runtime-subdir): Make into subroutine that takes list of
profiles to populate.
(faststrap): Update.

svn path=/trunk/mono/; revision=29661
2004-06-16 05:57:59 +00:00
Sachin Kumar cb6d808af9 Add license and copyright to all source files in System.Drawing
svn path=/trunk/mcs/; revision=29660
2004-06-16 05:38:50 +00:00
Raja R Harinath efcc851c41 Include prototype completely-untested 'make bootstrap' support for W32.
* Makefile.am (bootstrap): Define to fasterstrap for W32.
(MCS_DIRS, MCS_FILES): Don't refer to Mono.CSharp.Debugger in W32.
(tmpinst-dir): Change sub-make invoke to ...
(tmpinst-dir-contents): ... this.  Build 'mono.bat' in W32 instead
of 'mono' and 'mcs'.
($(tmpinst)/bin/mono.bat): New.

svn path=/trunk/mono/; revision=29659
2004-06-16 04:13:15 +00:00
Miguel de Icaza 9db358014d Lets hide this
svn path=/trunk/mono/; revision=29658
2004-06-16 03:44:07 +00:00
Miguel de Icaza 8851829869 Flush
svn path=/trunk/mono/; revision=29657
2004-06-16 03:33:51 +00:00
Ben Maurer ea6bf9e946 2004-06-16 Ben Maurer <[email protected]>
* ecore.cs (MethodGroupExpr.Name): Revert Martin's patch.
	The name needs to have the actual name of the method in order
	for other tests (such as the one in OverloadResolve for Invoke
	on a delegate) to work. As well, it does not really help
	error reporting because the method group had multiple methods.

svn path=/trunk/mcs/; revision=29656
2004-06-16 03:23:54 +00:00
Atsushi Eno 667f01181e 2004-06-16 Atsushi Enomoto <[email protected]>
* UriTest2.cs : LocalPath values should vary depending on the running
	  environment - so replace '/' and '\\' each other.

svn path=/trunk/mcs/; revision=29655
2004-06-16 02:52:59 +00:00
Atsushi Eno 9c0b280afa 2004-06-16 Atsushi Enomoto
mono.1 : unmanaged xslt is not officially supported now.

svn path=/trunk/mono/; revision=29654
2004-06-16 02:24:31 +00:00
Sebastien Pouliot 2c787153a4 2004-06-15 Sebastien Pouliot <[email protected]>
* FloatingPointFormatter.cs: Fixed ToString which doesn't use banker's
	rounding (which is the rounding provided by Math.Round). This fix bug
	#60111. The code (new Round methods) should be moved elsewhere (as it
	may also be required elsewhere) post Mono 1.0.

svn path=/trunk/mcs/; revision=29653
2004-06-16 01:54:52 +00:00
Gonzalo Paniagua Javier be31b0ce2d 2004-06-16 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Compilation/BaseCompiler.cs: try getting the Type from
	the cache before doing the real work. Remove temporary files right after
	successful compilation.

	* System.Web.Compilation/CachingCompiler.cs: added GetTypeFromCache.

	* System.Web.Compilation/UserControlCompiler.cs: nothing interesting.

	* System.Web.Compilation/WebServiceCompiler.cs: try getting the Type
	from the cache before doing anything else. Remove temp files on
	sucessful compilation.

	* System.Web.UI/SimpleWebHandlerParser.cs: implemented
	GetCompiledTypeFromCache. When we read the default directive, check the
	cache for the Type and if present, don't keep reading and store the
	type found.

	* System.Web.UI/WebHandlerParser.cs:
	* System.Web.UI/WebServiceParser.cs: try GetCompiledTypeFromCache
	before actually compiling.

svn path=/trunk/mcs/; revision=29652
2004-06-16 01:41:10 +00:00
Duncan Mak d6877df05d Add section for beta 3
svn path=/trunk/mono/; revision=29651
2004-06-16 01:25:22 +00:00
Jackson Harper 33420bc369 * assembly.c: Make locales lower case when searching the GAC for
assemblies. gacutil will always make locales lowercase when
	installing so this effectively makes them case insensitive.

svn path=/trunk/mono/; revision=29647
2004-06-15 21:56:11 +00:00
Sebastien Pouliot 89ed662547 2004-06-15 Sebastien Pouliot <[email protected]>
* crypto: Updated status for beta 3. Removed stuff that is better
	documented in monodoc.

svn path=/trunk/mono/; revision=29645
2004-06-15 20:05:00 +00:00
Jackson Harper 50662a8a48 * driver.cs: Ensure that the -gacdir ends with /lib if it does not
appened one. The reason for this is that the runtime expects it,
	and existing makefiles user -gacdir $(destdir)/$(libdir) so auto
	appending it without checking would break many things.

svn path=/trunk/mcs/; revision=29644
2004-06-15 19:27:56 +00:00
Miguel de Icaza 541a601b6e Revert Gert's patch until its fixed
svn path=/trunk/mcs/; revision=29642
2004-06-15 18:56:28 +00:00
Gert Driesen d356b3dd28 * SoapMessage.cs: fixed serialization compatibility with MS.NET
svn path=/trunk/mcs/; revision=29640
2004-06-15 18:42:46 +00:00
Gert Driesen 7f2ede041e * ObjectIDGenerator.cs: added TODO for serialization
svn path=/trunk/mcs/; revision=29639
2004-06-15 18:42:15 +00:00
Gert Driesen 6b001a6c75 * SoapHexBinary.cs: fixed serialization compatibility with MS.NET
* SoapQName.cs: fixed serialization compatibility with MS.NET

svn path=/trunk/mcs/; revision=29638
2004-06-15 18:41:20 +00:00
Gert Driesen 7e7c331dc6 * SynchronizationAttribute.cs: added TODO for serialization
svn path=/trunk/mcs/; revision=29637
2004-06-15 18:40:47 +00:00
Gert Driesen b301575dd6 * TransportHeaders.cs: added TODO for serialization
svn path=/trunk/mcs/; revision=29634
2004-06-15 18:40:13 +00:00
Gert Driesen fba8ec682a * RemotingTimeoutException.cs: added missing serialization ctor
* ServerException.cs: added missing serialization ctor

svn path=/trunk/mcs/; revision=29633
2004-06-15 18:39:20 +00:00
Sebastien Pouliot 09b1b14e35 2004-06-15 Sebastien Pouliot <[email protected]>
* ConvertTest.cs: Changed compare between Decimals (from a string
	compare to Decimal.Equals) because the issue wasn't related to the
	Convert class. See #60227 for more details.

svn path=/trunk/mcs/; revision=29632
2004-06-15 18:26:22 +00:00
Gert Driesen 4e2abb9d75 * ArrayWithOffset.cs: fixed GetOffset to return int instead of
object
* CONNECTDATA.cs: added missing MarshalAs attribute
* EXCEPINFO.cs: added missing MarshalAs attributes
* ITypeLibConverter.cs:
* ITypeLibImporterNotifySink.cs:
* Marshal.cs: added missing MarshalAs attributues, and missing
Out attributes
* TypeLibConverter.cs: added missing MarshalAs attributes
* UCOMIBindCtx.cs:
* UCOMIConnectionPoint.cs:
* UCOMIEnumConnectionPoints.cs:
* UCOMIEnumConnections.cs: added missing PreserveSig attributes,
added missing MarshalAs attributes
* UCOMIEnumMoniker.cs: added missing PreserveSig attributes,
added missing MarshalAs attributes
* UCOMIEnumString.cs: added missing PreserveSig attributes,
added missing MarshalAs attributes
* UCOMIMoniker.cs: added missing MarshalAs attributes
* UCOMIPersistFile.cs: added missing PreserveSig attribute,
added missing MarshalAs attributes
* UCOMIRunningObjectTable.cs: added missing MarshalAs attributes
* UCOMIStream.cs: added missing MarshalAs attributes
* UCOMITypeComp.cs: added missing MarshalAs attributes
* UCOMITypeInfo.cs: added missing MarshalAs attributes
* UCOMITypeLib.cs: added missing PreserveSig attributes, added
missing MarshalAs attributes

svn path=/trunk/mcs/; revision=29631
2004-06-15 18:23:16 +00:00
Gert Driesen 24f35b6a4b * MethodImplAttribute.cs: changed field name to fix serialization
compatibility with MS.NET

svn path=/trunk/mcs/; revision=29630
2004-06-15 18:21:14 +00:00
Gert Driesen bf01781d2e * MethodRental.cs: fixed value of JitOnDemand
svn path=/trunk/mcs/; revision=29629
2004-06-15 18:19:45 +00:00
Gert Driesen 678c1fac55 * AssemblyName.cs: added TODO for serialization
* Pointer.cs: fixed Box method to return object instead of
Pointer

svn path=/trunk/mcs/; revision=29628
2004-06-15 18:18:59 +00:00
Gert Driesen b11894b5c3 * StackTrace.cs: added TODO for serialization
* StackFrame.cs: added TODO for serialization

svn path=/trunk/mcs/; revision=29627
2004-06-15 18:03:10 +00:00
Gert Driesen 7d73431646 * CaseInsensitiveComparer.cs: added TODO for serialization
* CaseInsensitiveHashCodeProvider.cs: added TODO for serialization
* SortedList.cs: added TODO for serialization
* Stack.cs: added TODO for serialization

svn path=/trunk/mcs/; revision=29626
2004-06-15 18:02:16 +00:00
Sebastien Pouliot 5f765610b8 2004-06-15 Sebastien Pouliot <[email protected]>
* Decimal.cs: Fixed scale after Round (a different scale is correct
	from a math point of view but affect the string representation of the
	value). Note: other operations also have scale problems!
	* DecimalFormatter.cs: Fixed FormatGeneral to match Fx 1.1 output.

svn path=/trunk/mcs/; revision=29625
2004-06-15 18:00:42 +00:00
Gert Driesen 8fe65ae3dc * DateTimeFormatInfo.cs: added TODO for serialization
* GregorianCalendar.cs:: added TODO for serialization
* HebrewCalendar.cs: added TODO for serialization
* HijriCalendar.cs: added TODO for serialization
* JapaneseCalendar.cs: added TODO for serialization
* JulianCalendar.cs: added TODO for serialization
* KoreanCalendar.cs: added TODO for serialization
* TaiwanCalendar.cs: added TODO for serialization
* ThaiBuddhistCalendar.cs: added TODO for serialization

svn path=/trunk/mcs/; revision=29624
2004-06-15 17:56:56 +00:00
Gert Driesen b26ef71adf * Evidence.cs: added TODO for serialization
svn path=/trunk/mcs/; revision=29623
2004-06-15 17:55:41 +00:00
Gert Driesen 2eec8e2a38 * Thread.cs: changed return type of VolatileRead to UIntPtr
* ThreadPool.cs: set return type of SetMinThreads to bool

svn path=/trunk/mcs/; revision=29622
2004-06-15 17:55:07 +00:00
Gert Driesen b447caed96 * ASCIIEncoding.cs: added TODO for serialization
* StringBuilder.cs: added TODO for serialization
* UnicodeEncoding.cs: added TODO for serialization
* UTF7Encoding.cs: added TODO for serialization
* UTF8Encoding.cs: added TODO for serialization

svn path=/trunk/mcs/; revision=29621
2004-06-15 17:53:18 +00:00
Gert Driesen 2acc2aed04 * XmlSyntaxException.cs: added missing serialization ctor
* SecurityException.cs: fixed typo

svn path=/trunk/mcs/; revision=29620
2004-06-15 17:52:25 +00:00
Gert Driesen 0d5fadd9d0 * MemoryStream.cs: added TODO for serialization
* StringWriter.cs: added TODO for serialization
* TextWriter.cs: fixed CoreNewLine to return char[]

svn path=/trunk/mcs/; revision=29619
2004-06-15 17:51:32 +00:00
Gert Driesen 10a4773f38 * AppDomainSetup.cs: added TODO for serialization
* ExecutionEngineException.cs: added missing serialization ctor
* InvalidProgramException.cs: added missing serialization ctor
* MulticastNotSupportedException.cs: added missing serialization ctor
* ObsoleteAttribute.cs: fixed serialization compatibility with MS.NET
* Random.cs: fixed serialization compatibility with MS.NET

svn path=/trunk/mcs/; revision=29618
2004-06-15 17:47:32 +00:00
Dick Porter 1e44fbf47f 2004-06-15 Dick Porter <[email protected]>
* configure.in: Check for struct ip_mreqn and struct ip_mreq on
	windows too.  Fixes bug 55040.

svn path=/trunk/mono/; revision=29613
2004-06-15 16:23:59 +00:00
Sebastien Pouliot 136d70a9fa 2004-06-15 Sebastien Pouliot <[email protected]>
* DecimalTest.cs: Added test to ensure we keep/output the decimals
	precision (#59425). Added tests to see how many decimals are supported
	in "G" before switching to "E".

svn path=/trunk/mcs/; revision=29610
2004-06-15 16:21:23 +00:00
Lluis Sanchez 3c1cf1969b * locales.c, threadpool.c: use mono_monitor_enter instead of mono_monitor_try_enter.
* monitor.c: New method mono_monitor_try_enter_internal, which takes a new
	  parameter which allows to choose whether the wait can be interrupted or
	  not. Also added the method mono_monitor_enter(), which locks the monitor
	  using an infinite wait and without allowing interruption.
	  In the Monitor.Enter and Wait icalls, retry the lock if the wait is
	  interrupted.
	* object.h: Added new fields in MonoThread. suspend_event holds the event
	  used to susped/resume the thread. synch_lock is the lock object to use for
	  modifying the thread state.
	* threads.c: Use the new synch_lock object for locking, instead of "this",
	  which can generate deadlocks.
	  Moved thread state change in Thread.Sleep and Thread.Join from managed
	  to unmanaged code. This avoids a deadlock when the thread was suspended
	  just after acquiring the thread lock.
	  In general, use mono_monitor_enter instead of mono_monitor_try_enter.
	  Implemented Thread.Suspend using an event instead of ThreadSuspend,
	  which is not fully implemented in the io-layer.
	* socket-io.c: Only try IPv6 DNS lookup if IPv4 fails.

svn path=/trunk/mono/; revision=29609
2004-06-15 16:20:06 +00:00
Lluis Sanchez 1ac40a0de2 * Thread.cs: Added new fields to keep sync with MonoThread.
Removed state changes in Sleep and Join. The state change is now done
	  in the icall. For accessing to internal fields lock with synch_lock
	  instead of this, which can be a source of deadlocks.

svn path=/trunk/mcs/; revision=29605
2004-06-15 15:56:24 +00:00
Paolo Molaro 4b20312cfb Tue Jun 15 18:34:21 CEST 2004 Paolo Molaro <[email protected]>
* Makefile.am, monitor.h, object.h, threadpool.c, threadpool.h,
	threads-types.h: more API cleanups.

svn path=/trunk/mono/; revision=29604
2004-06-15 15:45:03 +00:00
Sachin Kumar 7a2e814372 Conversion.cs: Implemented few type conversion methods
svn path=/trunk/mcs/; revision=29602
2004-06-15 15:29:58 +00:00
Paolo Molaro b90f596a18 Tue Jun 15 16:40:19 CEST 2004 Paolo Molaro <[email protected]>
* domain-internals.h, Makefile.am, appdomain.c, appdomain.h,
	domain.c, gc.c, icall.c, mono-debug.c, object.c, reflection.c,
	threadpool.c, threads.c: first pass at the exported API cleanup.

svn path=/trunk/mono/; revision=29601
2004-06-15 13:55:28 +00:00
Paolo Molaro 5e05daf849 Tue Jun 15 16:36:51 CEST 2004 Paolo Molaro <[email protected]>
* mini.c: make sure the needed wrappers are compiled, too, with
	precomp.

svn path=/trunk/mono/; revision=29600
2004-06-15 13:47:13 +00:00
Paolo Molaro d4777f804a Tue Jun 15 15:29:47 CEST 2004 Paolo Molaro <[email protected]>
* icall.c: fix signatures of some VolatileRead and VolatileWrite icalls.

svn path=/trunk/mono/; revision=29597
2004-06-15 12:40:35 +00:00
Paolo Molaro 0ce7a42525 Tue Jun 15 15:15:44 CEST 2004 Paolo Molaro <[email protected]>
* Type.cs: removed unused (and non-existing) icall type_is_instance.

svn path=/trunk/mcs/; revision=29596
2004-06-15 12:34:47 +00:00
Sebastien Pouliot e02b362573 2004-06-15 Sebastien Pouliot <[email protected]>
* MemberInfo.cs: Changed constructor from internal to protected.

svn path=/trunk/mcs/; revision=29595
2004-06-15 11:12:48 +00:00
Lluis Sanchez 1c38fe8835 * Timer.cs: The timer thread must be a background thread.
This fixes #58816.

svn path=/trunk/mcs/; revision=29594
2004-06-15 10:15:00 +00:00
Lluis Sanchez 6f79c6d07e * Timer.cs: Don't abort the thread if Dispose() is called from the runner
thread.

svn path=/trunk/mcs/; revision=29593
2004-06-15 09:51:58 +00:00
Atsushi Eno 15596d15bd 2004-06-15 Atsushi Enomoto <[email protected]>
* DataSetTest.cs : Added regression for #53959.

svn path=/trunk/mcs/; revision=29592
2004-06-15 09:51:54 +00:00
Atsushi Eno a657ff5bba 2004-06-15 Atsushi Enomoto <[email protected]>
* DataSet.cs : children of non-root rows were not properly written.
	  Fixed bug #53959.

svn path=/trunk/mcs/; revision=29591
2004-06-15 09:50:39 +00:00
Marek Safar de4a77467d 2004-06-15 Marek Safar <[email protected]>
* expression.cs (StackAlloc.DoReSolve): Added test for
	negative parameter (CS0247).

svn path=/trunk/mcs/; revision=29590
2004-06-15 09:44:07 +00:00
Jambunathan K 44bc84e25c Added FinancialTest.cs to the list of test files
svn path=/trunk/mcs/; revision=29589
2004-06-15 08:52:37 +00:00
Sanja Gupta 82ed3e2366 ChangeLog: Update ChangeLog.
gdipFunctions.cs: Added delegate and StreamHelper functions, Close
        and Size, required by TIFFCodec. Modifed Function signature for
        GdipLoadImageFromDelegate_linux() method.
image.cs: Modified function call GdipLoadImageFromDelegate_linux()
        with new signature.

svn path=/trunk/mcs/; revision=29587
2004-06-15 08:39:16 +00:00
Marek Safar 78c8381095 2004-06-15 Marek Safar <[email protected]>
Fix bug #59792
	* class.cs: (Event.DelegateMethod.Emit): Added synchronization flag.

svn path=/trunk/mcs/; revision=29586
2004-06-15 07:30:43 +00:00
Jambunathan K e64fc9d0a1 Trivial changes to ExceptionUtils.cs
svn path=/trunk/mcs/; revision=29585
2004-06-15 07:08:14 +00:00
Marek Safar 71f584929d 2004-06-15 Marek Safar <[email protected]>
Fix bug #59781
	* expression.cs: (Binary.DoNumericPromotions): Added conversion for
	ulong.

svn path=/trunk/mcs/; revision=29584
2004-06-15 07:07:46 +00:00
Jambunathan K 50f7d0dda4 Fixed a minor bug in Information.LBound() and Information.UBound()
svn path=/trunk/mcs/; revision=29583
2004-06-15 06:52:05 +00:00
Jambunathan K 5efbd856c9 Added back Conversion.cs !
svn path=/trunk/mcs/; revision=29582
2004-06-15 06:20:13 +00:00
Jambunathan K f8098cad73 Accidentally removed Conversion.cs from CVS. The file will be added back
very soon !

svn path=/trunk/mcs/; revision=29581
2004-06-15 06:18:46 +00:00
Gert Driesen 32de3952e4 * OleDbLiteral.cs: changed enum field values to match MS.NET
* OleDbType.cs: changed enum field values to match MS.NET

svn path=/trunk/mcs/; revision=29580
2004-06-15 05:01:54 +00:00
Gert Driesen 82c7d52cc9 * OdbcDataReader.cs: changed GetData method to return IDataReader
to match MS.NET

svn path=/trunk/mcs/; revision=29579
2004-06-15 05:01:26 +00:00
Gonzalo Paniagua Javier e649fb3261 2004-06-15 Gonzalo Paniagua Javier <[email protected]>
* WebConfigurationSettings.cs: allow empty <configSections>.

svn path=/trunk/mcs/; revision=29578
2004-06-15 04:59:43 +00:00
Gonzalo Paniagua Javier cee0aa4219 2004-06-15 Gonzalo Paniagua Javier <[email protected]>
* ConfigurationSettings.cs: allow empty <configSections>.

svn path=/trunk/mcs/; revision=29577
2004-06-15 04:59:18 +00:00
Anirban Bhattacharjee 9ad4888182 2004-05-15 Anirban Bhattacharjee <[email protected]>
* FinancialTest.cs: Tests for Financial class

svn path=/trunk/mcs/; revision=29576
2004-06-15 04:36:06 +00:00
Anirban Bhattacharjee 50723a3752 2004-06-15 Anirban Bhattacharjee <[email protected]>
* VBUtils.txt: Exception messages for Financial functions by Rob Tillie

svn path=/trunk/mcs/; revision=29575
2004-06-15 04:30:39 +00:00
Jackson Harper ec934f4aad * ilasm.exe.sources: Add FileRef.cs
svn path=/trunk/mcs/; revision=29574
2004-06-15 04:12:40 +00:00
Jackson Harper a8b72380fa * ILParser.jay: Add file refs.
svn path=/trunk/mcs/; revision=29572
2004-06-15 04:11:10 +00:00
Jackson Harper 993802a9c6 * CodeGen.cs: Allow file refs to be added.
* FileRef.cs: New file - represents a file ref.

svn path=/trunk/mcs/; revision=29571
2004-06-15 04:08:41 +00:00
Anirban Bhattacharjee 7baeea3dc9 2004-06-15 Anirban Bhattacharjee <[email protected]>
* Financial.cs: Complete implementation by Rob Tillie

svn path=/trunk/mcs/; revision=29570
2004-06-15 04:02:42 +00:00
Gonzalo Paniagua Javier 7a86616f87 2004-06-15 Gonzalo Paniagua Javier <[email protected]>
* TraceData.cs: fixed <br> output. Closes bug #60181.

svn path=/trunk/mcs/; revision=29569
2004-06-15 03:58:43 +00:00
Gonzalo Paniagua Javier 6cf50976b3 2004-06-15 Gonzalo Paniagua Javier <[email protected]>
* DefaultProxyHandler.cs: removed Console.WriteLine's.

svn path=/trunk/mcs/; revision=29568
2004-06-15 03:55:58 +00:00
Gonzalo Paniagua Javier 668a710f63 aded a few default clientTargets
svn path=/trunk/mono/; revision=29567
2004-06-15 03:55:04 +00:00
Gonzalo Paniagua Javier d7dc90b03a 2004-06-15 Gonzalo Paniagua Javier <[email protected]>
* Environment.cs: use internalGetHome instead of getting "HOME" as
	that variable may not be defined.

svn path=/trunk/mcs/; revision=29566
2004-06-15 03:54:22 +00:00
Gonzalo Paniagua Javier 3ed3fd9e1f 2004-06-15 Gonzalo Paniagua Javier <[email protected]>
* icall.c: added internalGetHome.

svn path=/trunk/mono/; revision=29565
2004-06-15 03:54:15 +00:00
Jackson Harper 4cce9d7fd2 flush
svn path=/trunk/mcs/; revision=29563
2004-06-15 02:57:07 +00:00
Jackson Harper 03abbb0d27 * PEAPI.cs: Add IExternRef interface and modify sigs so it can be
used. So we can easily add stuff to modules and assemblies. Fix
	the nometadata flag, it should be set when there is NO metadata
	not when there is metadata.

svn path=/trunk/mcs/; revision=29562
2004-06-15 02:51:00 +00:00
Sebastien Pouliot 63a9ea5d17 2004-06-14 Sebastien Pouliot <[email protected]>
* EnumBuilderTest.cs: Fixed typos so the test is reported in
	alphabetical order by NUnit.

svn path=/trunk/mcs/; revision=29561
2004-06-15 01:28:15 +00:00
Jackson Harper 6431f5fa76 * ILParser.jay: Add module refs, allow them to be referenced.
svn path=/trunk/mcs/; revision=29560
2004-06-15 00:51:07 +00:00
Jackson Harper 66bfaaa6f7 * CodeGen.cs: Allow adding module refs.
* ExternTable.cs: Add ExternModule refs.
	* ExternTypeRef.cs: Take an ExternRef which can be either an
	assmebly ref or a module ref.

svn path=/trunk/mcs/; revision=29559
2004-06-15 00:50:39 +00:00
Lluis Sanchez 142390ed0a * TimerTest.cs: Added more tests.
* ThreadTest.cs: Added new tests for Thread.Suspend.

svn path=/trunk/mcs/; revision=29556
2004-06-14 21:49:38 +00:00
Lluis Sanchez 0036436ef6 * RemotingConfiguration.cs: Read application name from configuraation file.
svn path=/trunk/mcs/; revision=29555
2004-06-14 21:41:02 +00:00
Sebastien Pouliot 9abca3e9dd 2004-06-14 Sebastien Pouliot <[email protected]>
* NameObjectCollectionBase.cs: Now use IComparer to compare keys. This
	completes a TODO and fix Remove in NameValueCollection.

svn path=/trunk/mcs/; revision=29550
2004-06-14 20:43:18 +00:00
Sebastien Pouliot 0bae4d8bb1 2004-06-14 Sebastien Pouliot <[email protected]>
* NameValueCollectionTest.cs: Added test for remove (case insensitive).

svn path=/trunk/mcs/; revision=29545
2004-06-14 20:09:06 +00:00
Sebastien Pouliot 55b671bb85 2004-06-14 Sebastien Pouliot <[email protected]>
* Hashtable.cs: Compare index and length in CopyTo only when length > 0.

svn path=/trunk/mcs/; revision=29538
2004-06-14 19:53:00 +00:00
Sebastien Pouliot 80ccb2b7d0 2004-06-14 Sebastien Pouliot <[email protected]>
* HashtableTest.cs: Added new case to CopyTo(Array,int) an empty
	hashtable.

svn path=/trunk/mcs/; revision=29536
2004-06-14 19:30:21 +00:00
Sebastien Pouliot 95d1497d5f 2004-06-14 Sebastien Pouliot <[email protected]>
* HybridDictionary.cs: Fixed Contains for null argument (again). Return
	false when dictionary is empty or else throw an ArgumentNullException.
	* NameValueCollection.cs: Added missing Rank check in CopyTo (Array,
	int).

svn path=/trunk/mcs/; revision=29534
2004-06-14 19:12:47 +00:00
Sebastien Pouliot 4c43e39933 2004-06-14 Sebastien Pouliot <[email protected]>
* HybridDictionaryTest.cs: Added cases with an non-empty dictionary.
	* NameValueCollectionTest.cs: Added tests for CopyTo(Array,int).

svn path=/trunk/mcs/; revision=29533
2004-06-14 19:06:10 +00:00
Sebastien Pouliot 8eef9e5f2a 2004-06-14 Sebastien Pouliot <[email protected]>
* ResourceReaderTest.cs: Un-ignored an old test case (probably fixed a
	long time ago). Converted tests to NUnit 2.x format to be more
	specific when checking exceptions.

svn path=/trunk/mcs/; revision=29530
2004-06-14 17:43:17 +00:00
Gert Driesen 84bbaf253d * DisplayMode.cs: changed enum field values to match MS.NET
svn path=/trunk/mcs/; revision=29528
2004-06-14 17:01:18 +00:00
Gert Driesen 1c052d21b8 * XmlSerializationWriter.cs: changed signature of protected method
FromByteArrayBase64 to match MS.NET

svn path=/trunk/mcs/; revision=29527
2004-06-14 17:00:12 +00:00
Gert Driesen 4004241887 * SchemaReference.cs: corrected namespace
* SoapBinding.cs: corrected namespace

svn path=/trunk/mcs/; revision=29526
2004-06-14 16:59:10 +00:00
Jackson Harper d52b2222e8 * ILParser.jay: Set module names.
svn path=/trunk/mcs/; revision=29523
2004-06-14 16:35:26 +00:00
Sebastien Pouliot 683dc0b3bb 2004-06-14 Sebastien Pouliot <[email protected]>
* SortedListTest.cs: Un-ignored TestCapacity4 test case as it now
	works correctly under Mono.

svn path=/trunk/mcs/; revision=29522
2004-06-14 16:33:13 +00:00
Jackson Harper 4174966eab * CodeGen.cs: Implement setting module names.
svn path=/trunk/mcs/; revision=29521
2004-06-14 16:32:51 +00:00
Sebastien Pouliot 92935b3ee5 2004-06-14 Sebastien Pouliot <[email protected]>
* TimeSpan.cs: Fixed timespan with large values for hours or minutes
	(overflow is only checked for days but can also occurs in hours and
	minutes which uses Int32 when multiplying). The new results match MS
	implementation.

svn path=/trunk/mcs/; revision=29520
2004-06-14 16:31:18 +00:00
Jackson Harper 43f8d7efc0 * PEAPI.cs: Add new constructor so we can explicitly set the
module name.

svn path=/trunk/mcs/; revision=29519
2004-06-14 16:31:17 +00:00
Sebastien Pouliot 0b812daeb3 2004-06-14 Sebastien Pouliot <[email protected]>
* TimeSpanTest.cs: Added more cases with MinValue and MaxValue for
	each parameter of the constructor. Some tests are ignored because
	they are too long to run (but useful when debugging).

svn path=/trunk/mcs/; revision=29517
2004-06-14 16:27:20 +00:00
Paolo Molaro 485e69756c Mon Jun 14 18:38:34 CEST 2004 Paolo Molaro <[email protected]>
* configure.in: better explain that --with-nptl is not related to
	NPTL, but to __thread support. Set sigaltstack support to off by
	default.

svn path=/trunk/mono/; revision=29509
2004-06-14 15:52:52 +00:00
Paolo Molaro d22849413b Mon Jun 14 18:36:08 CEST 2004 Paolo Molaro <[email protected]>
* driver.c: remove NPTL reference in --version output.

svn path=/trunk/mono/; revision=29508
2004-06-14 15:47:31 +00:00
Lluis Sanchez 1f8de5e814 * ArrayList.cs: Avoid endless loop in Insert when the current size is 0.
svn path=/trunk/mcs/; revision=29505
2004-06-14 15:24:22 +00:00
Marek Safar 6f7d6b5613 2004-06-14 Marek Safar <[email protected]>
Fix bug #58254 & cs1555.cs, cs1556.cs

	* driver.cs (MainDriver): Added tests for errors CS1555, CS1556.

svn path=/trunk/mcs/; revision=29499
2004-06-14 14:34:12 +00:00
Atsushi Eno 390f4b60a9 2004-06-14 Atsushi Enomoto <[email protected]>
* XslKey.cs : Key-value search in absolute path search was
	  insufficient.

svn path=/trunk/mcs/; revision=29498
2004-06-14 13:50:17 +00:00
Dick Porter ac70de62f3 2004-06-14 Dick Porter <[email protected]>
* Directory.cs:
	* File.cs: Catch PATH_NOT_FOUND errors in Exists() too.  Fixes bug
	59354.

svn path=/trunk/mcs/; revision=29497
2004-06-14 13:18:13 +00:00
Dick Porter 6ac8ee26f2 2004-06-14 Dick Porter <[email protected]>
* file-io.c (ves_icall_System_IO_MonoIO_FindFirstFile): It was
	possible to return successfully when '.' or '..' were the only
	entries in a directory, but were skipped.  The MonoIOStat was not
	filled in in that case.  Now return ERROR_NO_MORE_FILES instead.
	Fixes bug 59574.

svn path=/trunk/mono/; revision=29496
2004-06-14 13:09:41 +00:00
Atsushi Eno ee1e56e2a5 2004-06-14 Atsushi Enomoto <[email protected]>
* XmlDocumentNavigator.cs : MoveToNext() should skip concatenating
	  text/cdata/whitespace nodes.

svn path=/trunk/mcs/; revision=29495
2004-06-14 13:07:32 +00:00
Marek Safar 1ff36bc3db 2004-06-14 Marek Safar <[email protected]>
* cs-parser.jay: Added error CS1669 test for indexers.

svn path=/trunk/mcs/; revision=29493
2004-06-14 11:12:52 +00:00
Atsushi Eno 357572721d 2004-06-14 Atsushi Enomoto <[email protected]>
* XmlTextWriterTests.cs : Avoid CR/CRLF testing complexity.

svn path=/trunk/mcs/; revision=29492
2004-06-14 10:40:33 +00:00
Raja R Harinath 0ded9f8e5b (net20bootstrap_response): Remove. This shouldn't
differ from $(response).
(post_process): Remove, now that PLATFORM_CHANGE_SEPARATOR_CMD is
unconditional.
($(cmp_response),$(res_response)): Update.

svn path=/trunk/mcs/; revision=29491
2004-06-14 10:36:00 +00:00
Raja R Harinath 65452698f3 * platforms/linux.make (PLATFORM_CHANGE_SEPARATOR_CMD): Define to 'cat'.
(PLATFORM_TWEAK_CORLIB_SOURCES): Remove.
(platform-check): Avoid bash-ism.
* library.make: Simplify uses of $(patsubst x,y,$(foo)) to $(foo:x=y).
(core_sourcefile): Rename back to ...
(sourcefile): ... this.  Remove creation of redundant intermediate file.
(response): Change test for optimization, now that
PLATFORM_CHANGE_SEPARATOR_CMD is unconditional.  Combine with
platform-exclude handling.
(library_CLEAN_FILES): New variable to specify clean:-able files
close to where they're defined.
(test_response, btest_response): Simplify.
* executable.make (response): Change test for optimization.
(executable_CLEAN_FILES): New define.

Maintainability improvements.  Sorry, I'm still in the scratch-an-itch
mode with the build stuff :-)

svn path=/trunk/mcs/; revision=29490
2004-06-14 10:32:59 +00:00
Atsushi Eno 5c7e0ec021 2004-06-14 Atsushi Enomoto <[email protected]>
* XmlUrlResolverTests.cs : Unlike MS.NET, we treats Unix absolute file
	  URI file:///usr/local/src as correct file path. MS.NET is not aware
	  of such format and parses as "host = usr, path = /local/src".

svn path=/trunk/mcs/; revision=29489
2004-06-14 10:27:43 +00:00
Raja R Harinath 7338308ac1 (all-profiles, clean-profiles): Simplify slightly.
svn path=/trunk/mcs/; revision=29488
2004-06-14 10:21:47 +00:00
Atsushi Eno acb6944ecf 2004-06-14 Atsushi Enomoto <[email protected]>
* FloatingPointFormatter.cs : Recognize '%' and '\u2030' and replace
	  them with matching NumberFormatInfo properties.

svn path=/trunk/mcs/; revision=29487
2004-06-14 10:08:10 +00:00
Atsushi Eno 39782ca42a 2004-06-14 Atsushi Enomoto <[email protected]>
* FloatingPointFormatterTest.cs : Added more permille and percent
	  formatting test.

svn path=/trunk/mcs/; revision=29486
2004-06-14 10:04:48 +00:00
Roopa Wilson d06b28adf0 Removed a space in Test.Sources
svn path=/trunk/mcs/; revision=29485
2004-06-14 09:40:02 +00:00
Atsushi Eno 7e642db6b3 2004-06-14 Atsushi Enomoto <[email protected]>
* FloatingPointFormatterTest.cs : Added Permille formatting test.

svn path=/trunk/mcs/; revision=29484
2004-06-14 08:55:12 +00:00
Atsushi Eno 620e3d84e2 2004-06-14 Atsushi Enomoto <[email protected]>
* Double.cs : Use IFormatProvider.GetFormat() instead of literal '-'.
	* FloatingPointFormatter.cs :
	  Use NumberFormatInfo.NegativeSign. This change saves many XSLT test
	  failures.
	  Format Permille pattern (It is undocumented but actually available,
	  and used in xsl:format-number).

svn path=/trunk/mcs/; revision=29483
2004-06-14 08:54:31 +00:00
Gert Driesen f5d2c69c7a * EmfPlusRecordType.cs: fixed mismatches in enum field values
svn path=/trunk/mcs/; revision=29482
2004-06-14 05:47:33 +00:00
Gert Driesen 6a01fd4110 * DashCap.cs: fixed mismatches in enum field values
* HatchStyle.cs: fixes mismatches in enum field values

svn path=/trunk/mcs/; revision=29481
2004-06-14 05:47:08 +00:00
Raja R Harinath 3e7047c1a5 * Console.cs (Console.Write, Console.WriteLine): Disable __arglist
version with BOOTSTRAP_WITH_OLDLIB.
* String.cs (STring.Concat): Likewise.

svn path=/trunk/mcs/; revision=29477
2004-06-14 04:21:47 +00:00
Atsushi Eno 15742d9ac5 2004-06-14 Atsushi Enomoto <[email protected]>
* CP51932.cs : eliminate Console.WriteLine().

svn path=/trunk/mcs/; revision=29476
2004-06-14 04:14:19 +00:00
Raja R Harinath 9d239e015c (uninstall-local): Fix typo.
svn path=/trunk/mcs/; revision=29474
2004-06-14 03:51:20 +00:00
Gonzalo Paniagua Javier 23fa50da3b 2004-06-14 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: Modified file.

svn path=/trunk/mcs/; revision=29472
2004-06-14 03:36:28 +00:00
Atsushi Eno 75e131ed39 2004-06-14 Atsushi Enomoto <[email protected]>
* HtmlEmitter.cs : Correct URL escape implementation.

svn path=/trunk/mcs/; revision=29470
2004-06-14 03:08:53 +00:00
Atsushi Eno fd1f7cc1c4 2004-06-14 Atsushi Enomoto <[email protected]>
* XmlInputStream.cs : Fixed encoding detection detected in xslt
	  standalone tests. Removed extraneous code.

svn path=/trunk/mcs/; revision=29467
2004-06-14 01:58:22 +00:00
Atsushi Eno 489f4b4823 2004-06-13 Atsushi Enomoto <[email protected]>
* FloatingPointFormatterTest.cs : Added regression for #59890.

svn path=/trunk/mcs/; revision=29465
2004-06-14 01:03:34 +00:00
Atsushi Eno ac4c0085ff 2004-06-13 Atsushi Enomoto <[email protected]>
* FloatingPointFormatter.cs :
	  - Don't format more than 15 fraction digits. Don't report to Pedro
	    directly (removing the error message with his concent).
	  - When format string starts with '.', it means integral part format
	    is not specified. Ignore '.' characters after the first
	    appearance. Fixed bug #59890.
	  - 0.0 is formatted only before the third ';' appearance.

svn path=/trunk/mcs/; revision=29464
2004-06-14 01:02:55 +00:00
Paolo Molaro 294c452fe3 Mon Jun 14 00:27:15 CEST 2004 Paolo Molaro <[email protected]>
* reflection.c: make binaries run on .Net 1.1 by default.

svn path=/trunk/mono/; revision=29462
2004-06-13 21:39:12 +00:00
Gert Driesen 6a39faee00 * IndentedTextWriterTest.cs: added test for IndentedTextWriter
svn path=/trunk/mcs/; revision=29460
2004-06-13 19:04:46 +00:00
Gert Driesen b7a26d1c96 *** empty log message ***
svn path=/trunk/mcs/; revision=29459
2004-06-13 19:04:27 +00:00
Gert Driesen f90dd050d3 * System_test.dll.sources: Added IndentedTextWriterTest to unit
tests

svn path=/trunk/mcs/; revision=29458
2004-06-13 19:02:23 +00:00
Gert Driesen 24b7baffa1 * IndentedTextWriter.cs: have DefaultTabString correspond with
MS.NET (meaning four spaces)

svn path=/trunk/mcs/; revision=29457
2004-06-13 19:00:26 +00:00
Gert Driesen 1f1de514c6 * IsolatedStorage.cs: really mark the storage_scope field private
svn path=/trunk/mcs/; revision=29454
2004-06-13 17:51:09 +00:00
Paolo Molaro 31ba67be62 Sun Jun 13 18:22:40 CEST 2004 Paolo Molaro <[email protected]>
* threadpool.c, threadpool.h: use the correct return type in SetMinThreads ().

svn path=/trunk/mono/; revision=29452
2004-06-13 15:34:56 +00:00
Paolo Molaro 7d170c6f6f Sun Jun 13 17:25:28 CEST 2004 Paolo Molaro <[email protected]>
* aot.c: patch from Patrick Beard ([email protected]) to
	generate valid assembly for the Mach-O assembler.

svn path=/trunk/mono/; revision=29449
2004-06-13 14:41:37 +00:00
Paolo Molaro 988dd3995e Sun Jun 13 16:44:39 CEST 2004 Paolo Molaro <[email protected]>
* marshal.c: keep track of struct size with explicit layout
	(bug #59979).

svn path=/trunk/mono/; revision=29448
2004-06-13 13:57:31 +00:00
Paolo Molaro 53a9117369 Sun Jun 13 15:59:38 CEST 2004 Paolo Molaro <[email protected]>
* driver.c: don't include abcrem in the all optimization specifier
	since it slows down jit compilation too much for now.

svn path=/trunk/mono/; revision=29447
2004-06-13 13:11:04 +00:00
Anirban Bhattacharjee 848239edf4 2004-06-13 Anirban Bhattacharjee <[email protected]>
* mb-parser.jay: Small correction in delegate declaration grammar

svn path=/trunk/mcs/; revision=29444
2004-06-13 07:19:00 +00:00
Anirban Bhattacharjee 11d018d7d3 2004-06-13 Anirban Bhattacharjee <[email protected]>
* mb-parser.jay: modified RemoveHandler function
        * statement.cs: Added RemoveHandler statement class

svn path=/trunk/mcs/; revision=29441
2004-06-13 06:27:14 +00:00
Anirban Bhattacharjee 07f491e2df 2004-06-13 Anirban Bhattacharjee <[email protected]>
* mb-parser.jay: Modified grammar for several syntax of AddressOf operator

svn path=/trunk/mcs/; revision=29439
2004-06-13 05:47:15 +00:00
Martin Baulig 627e504e3a New test.
svn path=/trunk/mcs/; revision=29436
2004-06-13 02:21:43 +00:00
Martin Baulig bbc0c79f0e 2004-06-13 Martin Baulig <[email protected]>
* cs-parser.jay: Don't allow generic attributes.

svn path=/trunk/mcs/; revision=29435
2004-06-13 02:20:09 +00:00
Martin Baulig bfa8742116 This was only for debugging.
svn path=/trunk/mcs/; revision=29434
2004-06-13 02:17:36 +00:00
Martin Baulig 57e772164d 2004-06-13 Martin Baulig <[email protected]>
* gen-57.cs: New test.

svn path=/trunk/mcs/; revision=29432
2004-06-13 02:15:14 +00:00
Martin Baulig 8202a9b73b 2004-06-13 Martin Baulig <[email protected]>
* class.cs (MemberBase.DoDefineBase): New protected method.
	(MemberBase.DoDefine): Compute the `flags' in the new
	DoDefineBase() which must be called first.
	(Method.Define): Call DoDefineBase() first so we have the flags
	when defining the generic method.

	* cs-parser.jay (interface_method_declaration): Support generic methods.

svn path=/trunk/mcs/; revision=29431
2004-06-13 02:13:32 +00:00
Martin Baulig 12a77d21f0 2004-06-13 Martin Baulig <[email protected]>
* decl.cs (TypeName): Removed.
	(MemberName): Removed TypeName and MemberNow; now we just have
	MemberName.

	* cs-parser.jay: Don't distinguish between type arguments and type
	parameters in the grammar and simplified the rules a bit.  The
	reduce/reduce conflicts are now gone (except the one we inherited
	from mcs).

svn path=/trunk/mcs/; revision=29430
2004-06-13 00:42:14 +00:00
Martin Baulig 6439d29011 Ooops.
svn path=/trunk/mcs/; revision=29429
2004-06-13 00:07:49 +00:00
Martin Baulig aa4eb85cfc Moved the marker.
svn path=/trunk/mcs/; revision=29428
2004-06-13 00:05:55 +00:00
Martin Baulig 61d82ce906 **** Merged from MCS ****
svn path=/trunk/mcs/; revision=29427
2004-06-13 00:04:49 +00:00
Atsushi Eno 76e95d00c5 2004-06-13 Atsushi Enomoto <[email protected]>
* XmlTextReader.cs : Character range check is always done. It is only
	  character references for which check is not done when Normalization
	  is false.
	  A bit more kind error message for multiple document element error.
	* XmlTextWriter.cs : Check if character is valid and entitize when
	  it was invalid.

svn path=/trunk/mcs/; revision=29426
2004-06-12 21:55:10 +00:00
Pedro Martínez Juliá 092ed65642 2004-06-12 Pedro Mart�nez Juli� <[email protected]>
* FormsAuthentication.cs: Undo last change.

svn path=/trunk/mcs/; revision=29423
2004-06-12 19:49:16 +00:00
Pedro Martínez Juliá da96842784 2004-06-12 Pedro Mart�nez Juli� <[email protected]>
* FormsAuthentication.cs: go to loginUrl from web.config settings               before try with the default ones.

-- MISTAKE --

svn path=/trunk/mcs/; revision=29422
2004-06-12 19:43:52 +00:00
Pedro Martínez Juliá ec20c001c4 2004-06-12 Pedro Mart�nez Juli� <[email protected]>
* FormsAuthentication.cs: go to loginUrl from web.config settings               before try with the default ones.

svn path=/trunk/mcs/; revision=29421
2004-06-12 19:41:52 +00:00
Martin Baulig 25c9e39e05 2004-06-12 Martin Baulig <[email protected]>
* mono-debug-debugger.c: Comment out a debugging g_message().

svn path=/trunk/mono/; revision=29413
2004-06-12 17:57:09 +00:00
Ben Maurer 97f47f852b 2004-06-12 Ben Maurer <[email protected]>
* mini.c: use BIGMUL only if both operands have the same signage.
	* iltests.il: Test for bug 60056. (errors related to signage in
	BIGMUL).

	r=lupus.

svn path=/trunk/mono/; revision=29410
2004-06-12 15:39:27 +00:00
Paolo Molaro 6869fc3d87 Sat Jun 12 14:15:02 CEST 2004 Paolo Molaro <[email protected]>
* reflection.c, reflection.h: do not free custom attrs that are cached.
	* icall.c: use braces to make code clearer.

svn path=/trunk/mono/; revision=29406
2004-06-12 11:32:35 +00:00
Raja R Harinath ca519aa189 (populate-runtime-subdir): Add _tmpinst directory
to the PATH.

svn path=/trunk/mono/; revision=29404
2004-06-12 09:18:33 +00:00
Gonzalo Paniagua Javier d47da25b78 virtuoso
svn path=/trunk/mono/; revision=29403
2004-06-12 04:15:55 +00:00
Gonzalo Paniagua Javier 46e84593d7 LN_S should be just cp on windows
svn path=/trunk/mono/; revision=29401
2004-06-12 03:16:37 +00:00
Gonzalo Paniagua Javier e980625073 Don't copy Mono.CSharp.Debugger on windows as it's not built
svn path=/trunk/mono/; revision=29400
2004-06-12 03:16:02 +00:00
Gonzalo Paniagua Javier aea4b0b92d 2004-06-12 Gonzalo Paniagua Javier <[email protected]>
* TypeDescriptor.cs: when a component in componentTable is Disposed,
	remove it from the table.

svn path=/trunk/mcs/; revision=29395
2004-06-12 01:20:25 +00:00
Jackson Harper 1bf318303c fix
svn path=/trunk/mono/; revision=29379
2004-06-11 19:24:55 +00:00
Miguel de Icaza 8e6b2dcf63 Version
svn path=/trunk/mono/; revision=29378
2004-06-11 19:22:58 +00:00
Miguel de Icaza e5d116cdfc Version
svn path=/trunk/mcs/; revision=29378
2004-06-11 19:22:58 +00:00
Jackson Harper d6c7ea39cc * runtime/net_2_0/Makefile.am:
* runtime/net_1_1/Makefile.am: Remove signing patches

svn path=/trunk/mono/; revision=29377
2004-06-11 19:18:55 +00:00
Jackson Harper 7db0bfe9b3 Do not sign ziplib, npgsql, or nunit assemblies. Sign mscorlib.
svn path=/trunk/mono/; revision=29374
2004-06-11 19:04:22 +00:00
Martin Baulig 18fea92869 2004-06-11 Martin Baulig <[email protected]>
* gen-56.cs: New test from #58307.

svn path=/trunk/mcs/; revision=29373
2004-06-11 18:51:23 +00:00
Martin Baulig cc1e0a2dde This is a bit of a hack, but works for the moment.
svn path=/trunk/mcs/; revision=29372
2004-06-11 18:48:47 +00:00
Martin Baulig 2fb4189935 2004-06-11 Martin Baulig <[email protected]>
* FieldInfo.cs (Mono_GetGenericFieldDefinition): New method for NET_2_0.

svn path=/trunk/mcs/; revision=29371
2004-06-11 18:47:56 +00:00
Martin Baulig deb18e8253 2004-06-11 Martin Baulig <[email protected]>
* class.h (MonoInflatedField): New type.
	(MonoClassField): Replaced `MonoType *generic_type' with
	`MonoInflatedField *generic_info'.

	* icall.c
	(ves_icall_MonoField_Mono_GetGenericFieldDefinition): New icall.

svn path=/trunk/mono/; revision=29370
2004-06-11 18:46:39 +00:00
Miguel de Icaza d6d643c4fb Remove FIXMEs: they are flagged as TODOs
svn path=/trunk/mcs/; revision=29369
2004-06-11 18:40:10 +00:00
Martin Baulig 3598f4b21b 2004-06-11 Martin Baulig <[email protected]>
* Console.cs (Write, WriteLine): Implemented the varargs versions.

svn path=/trunk/mcs/; revision=29366
2004-06-11 18:00:09 +00:00
Martin Baulig 8dc7f554a9 2004-06-11 Martin Baulig <[email protected]>
* get.c (get_methodref_signature): Include "vararg " in the
	signature of a varargs method.

svn path=/trunk/mono/; revision=29365
2004-06-11 17:59:08 +00:00
Martin Baulig 95b9d403e9 2004-06-11 Martin Baulig <[email protected]>
* reflection.c (mono_image_create_method_token): Correctly encode
	varargs methods.

svn path=/trunk/mono/; revision=29364
2004-06-11 17:58:21 +00:00
Neale Ferguson 9114a0a8eb Further ABI tweeking
svn path=/trunk/mono/; revision=29358
2004-06-11 17:30:30 +00:00
Martin Baulig 0f688c0ac4 2004-06-11 Martin Baulig <[email protected]>
* test-269.cs: Another varargs test.

svn path=/trunk/mcs/; revision=29356
2004-06-11 17:17:31 +00:00
Martin Baulig b249b9955d 2004-06-11 Martin Baulig <[email protected]>
* expression.cs (Invocation.IsParamsMethodApplicable): We need to
	call this twice: for params and varargs methods.

svn path=/trunk/mcs/; revision=29355
2004-06-11 17:15:04 +00:00
Atsushi Eno 05a7152f1a 2004-06-11 Atsushi Enomoto <[email protected]>
* UriTest.cs : Added UnixLocalPath().

svn path=/trunk/mcs/; revision=29353
2004-06-11 16:18:09 +00:00
Atsushi Eno f51909e709 2004-06-11 Atsushi Enomoto <[email protected]>
* Uri.cs :
	  - We don't have to mind '\\'.
	  - Fixed bug #58301. When path starts with "///" and not more than
	    "////" and not "///*:", handle it as unix path and set Host as
	    empty string. In absolute path case, port should not be parsed
	    and LocalPath should start with '/'.
	  - Handle fragment in prior to path.

svn path=/trunk/mcs/; revision=29352
2004-06-11 16:16:55 +00:00
Duncan Mak 6235c7ab97 * IBM.Data.DB2/IBM.Data.DB2.dll.sources:
* Makefile: Add IBM.Data.DB2.

svn path=/trunk/mcs/; revision=29351
2004-06-11 16:08:32 +00:00
Duncan Mak 70cfd6ac44 Add IBM.Data.DB2 to the build
svn path=/trunk/mono/; revision=29350
2004-06-11 16:06:46 +00:00
Jackson Harper 3162253a33 * runtime/net_2_0/Makefile.am:
* runtime/net_1_1/Makefile.am: Sign assemblies before
        installing

svn path=/trunk/mono/; revision=29348
2004-06-11 15:39:44 +00:00
Jackson Harper 1b0c6bf269 * man/mono.1: Add documentation for MONO_GAC_PREFIX.
svn path=/trunk/mono/; revision=29347
2004-06-11 15:12:48 +00:00
Sebastien Pouliot 244a160d6a 2004-06-11 Sebastien Pouliot <[email protected]>
* TimeSpan.cs: Now throw an OverflowException when the timespan is
	over MaxValue or under MinValue.

svn path=/trunk/mcs/; revision=29346
2004-06-11 14:28:55 +00:00
Sebastien Pouliot 886b784e3f 2004-06-11 Sebastien Pouliot <[email protected]>
* TimeSpanTest.cs: Added valid cases to parse MinValue and MaxValue.
	Added invalid cases to parse under MinValue and over MaxValue.

svn path=/trunk/mcs/; revision=29345
2004-06-11 14:22:15 +00:00
Marek Safar f7a0110591 2004-06-11 Marek Safar <[email protected]>
* class.cs:
	(FieldBase.DoDefine, PropertyBase.DoDefine): Added error test CS0610.

svn path=/trunk/mcs/; revision=29344
2004-06-11 13:43:46 +00:00
Atsushi Eno 390b27fde2 2004-06-11 Atsushi Enomoto <[email protected]>
* library.make : HAVE_CS_TESTS fixie.

svn path=/trunk/mcs/; revision=29343
2004-06-11 13:21:05 +00:00
Gert Driesen 13cf3092ff * Makefile: also delete System.Design.xml and System.Drawing.Design
assembly in clean target

svn path=/trunk/mono/; revision=29342
2004-06-11 13:08:35 +00:00
Sebastien Pouliot a4b1fa5023 2004-06-11 Sebastien Pouliot <[email protected]>
* DateTime.cs: Added a AddRoundedMilliseconds which use the "old Mono"
	rounding logic which worked for FromOADate (while the newer didn't).

svn path=/trunk/mcs/; revision=29341
2004-06-11 12:43:42 +00:00
Gert Driesen abaf40f801 * mono-api-info.cs: ignore non-public attributes
svn path=/trunk/mcs/; revision=29340
2004-06-11 12:37:23 +00:00
Raja R Harinath 8e8979eb80 (TEST_COMPILE): Use internal mcs to compile the
platform testsuite too.

svn path=/trunk/mcs/; revision=29339
2004-06-11 12:32:32 +00:00
Raja R Harinath 6310986244 * library.make (HAVE_CS_TESTS, HAVE_VB_TESTS): Allow to be
overriden.  Useful if the tests sourcefile is generated.
(TEST_COMPILE, BTEST_COMPILE): Allow these to be customized too.

Support enough features to build mscorlib.dll.
* library.make (core_sourcefile): New renamed from $(sourcefile).
(PLATFORM_excludes): Auto-detecting define that sees if
$(LIBRARY).$(PLATFORM)-excludes file exists.
(sourcefile): New.  Possibly-built file that removes
PLATFORM_excluded files from core_sourcefile.
(test_against, test_dep): New.  Allow the test assembly to be
built against a different library.
(test_lib): Allow makefile to override the name of the test
assembly.
(LIBRARY_INSTALL_DIR): If defined, switch to using $(INSTALL_LIB)
rather than $(gacutil).
(DISTFILES, dist-local): Use core_sourcefile.
(clean-local): Remove sourcefile if it was generated.
(test_lib, btest_lib): Depend on $(test_dep).

svn path=/trunk/mcs/; revision=29338
2004-06-11 12:31:24 +00:00
Gert Driesen 752cbd0583 * corlib_test.dll.sources: added EnumBuilderTest and
FieldBuilderTest to the build

svn path=/trunk/mcs/; revision=29337
2004-06-11 12:30:35 +00:00
Raja R Harinath 31f8ea53dc Remove contents. Any file listed
here has also to be listed in corlib_test.dll.sources.

svn path=/trunk/mcs/; revision=29336
2004-06-11 12:21:13 +00:00
Raja R Harinath 30922fd175 Now 'make bootstrap && make install' should install signed assemblies.
(populate-runtime-subdir): New target.  Does a
controlled "make install" in the 'mcs/' directory to populate the
'runtime' directory.
(fasterstrap): Use it.

svn path=/trunk/mono/; revision=29335
2004-06-11 12:03:28 +00:00
Raja R Harinath b1d4529fd2 Override HAVE_CS_TESTS.
svn path=/trunk/mcs/; revision=29334
2004-06-11 11:57:35 +00:00
Raja R Harinath 0e4de6d47b * library.make (HAVE_CS_TESTS, HAVE_VB_TESTS): Allow to be
overriden.  Useful if the tests sourcefile is generated.

svn path=/trunk/mcs/; revision=29333
2004-06-11 11:56:26 +00:00
Marek Safar 9aa2412813 2004-06-11 Marek Safar <[email protected]>
* attribute.cs (Attribute.GetValidTargets): Made public.

	* class.cs:
	(AbstractPropertyEventMethod): New class for better code sharing.
	(AbstractPropertyEventMethod.ApplyAttributeBuilder): Add error
	CS1667 report.
	(PropertyMethod, DelegateMethod): Derived from AbstractPropertyEventMethod

svn path=/trunk/mcs/; revision=29332
2004-06-11 11:53:46 +00:00
Gert Driesen 9a2b04af95 * BaseEvent.cs: added missing attribute, removed extra finalizer
* DefaultManagementProjectInstaller.cs: removed extra finalizer
* IgnoreMemberAttribute.cs: removed extra finalizer and GetHashCode
* Instance.cs: removed extra finalizer, added missing attribute
* Instrumentation.cs: removed extra finalizer
* InstumentationClassAttribute.cs: removed extra finalizer, added
missing ctors
* InstrumentationType.cs: fixed enum field values
* InstrumentedAttribute.cs: removed extra finalizer and GetHashCode,
added missing ctors
* ManagedNameAttribute.cs: removed extra finalizer, removed default
ctor, added ctor, added Name property
* ManagementInstaller.cs: removed extra finalizer

svn path=/trunk/mcs/; revision=29329
2004-06-11 11:46:40 +00:00
Raja R Harinath e6a666684e (PLATFORM_TWEAK_CORLIB_SOURCES): Remove.
svn path=/trunk/mcs/; revision=29327
2004-06-11 11:26:43 +00:00
Ravindra 624b36fe83 * run-samples.sh: Added a script to run the samples.
Thanks to Harinath and Sachin for the help.

svn path=/trunk/mcs/; revision=29326
2004-06-11 11:25:31 +00:00
Gert Driesen 52e284c5cf * SoapProtocolImporter.cs: Added stub for missing IsSoapEncodingPresent
method
* MimeContentBinding.cs: removed extra Default attribute from Part

svn path=/trunk/mcs/; revision=29325
2004-06-11 11:21:57 +00:00
Raja R Harinath 21ee4d123f Rewrite to use library.make. Do away with stampfiles.
svn path=/trunk/mcs/; revision=29324
2004-06-11 11:19:18 +00:00
Raja R Harinath 79838acd64 Support enough features to build mscorlib.dll.
* library.make (core_sourcefile): New renamed from $(sourcefile).
(PLATFORM_excludes): Auto-detecting define that sees if
$(LIBRARY).$(PLATFORM)-excludes file exists.
(sourcefile): New.  Possibly-built file that removes
PLATFORM_excluded files from core_sourcefile.
(test_against, test_dep): New.  Allow the test assembly to be
built against a different library.
(test_lib): Allow makefile to override the name of the test
assembly.
(LIBRARY_INSTALL_DIR): If defined, switch to using $(INSTALL_LIB)
rather than $(gacutil).
(DISTFILES, dist-local): Use core_sourcefile.
(clean-local): Remove sourcefile if it was generated.
(test_lib, btest_lib): Depend on $(test_dep).

svn path=/trunk/mcs/; revision=29323
2004-06-11 11:08:56 +00:00
Gert Driesen 7ba625ad00 * IClrObjectFactory.cs: added missing DispId attributes
* IComManagedImportUtil.cs: added missing DispId attributes
* IComSoapIISVRoot.cs: added missing DispId attributes
* IComSoapMetadata.cs: added missing DispId attributes
* IComSoapPublisher.cs: added missing DispId attributes
* IServerWebConfig.cs: added missing DispId attributes
* ISoapClientImport.cs: added missing DispId attributes
* ISoapServerTlb.cs: added missing DispId attributes
* ISoapServerVRoot.cs: added missing DispId attributes
* ISoapUtility.cs: added missing DispId attributes

svn path=/trunk/mcs/; revision=29322
2004-06-11 11:04:40 +00:00
Gert Driesen b981ec7ba1 * ApplicationCrmEnabledAttribute: added missing
svn path=/trunk/mcs/; revision=29321
2004-06-11 11:00:35 +00:00
Gert Driesen da98982d5a * RegistrationHelperTx.cs: added missing attribute on class
* TransactionOption.cs: corrected values of enum fields

svn path=/trunk/mcs/; revision=29320
2004-06-11 10:59:17 +00:00
Paolo Molaro db110f03e5 Playing "fix the build after gert's changes" game.
svn path=/trunk/mcs/; revision=29319
2004-06-11 10:56:02 +00:00
Martin Baulig a856ad10f1 Merged it again :-)
svn path=/trunk/mcs/; revision=29318
2004-06-11 10:53:23 +00:00
Martin Baulig e4f17cb1a8 **** Merged from MCS ****
svn path=/trunk/mcs/; revision=29317
2004-06-11 10:52:31 +00:00
Martin Baulig 70aa3b5140 Moved the marker.
svn path=/trunk/mcs/; revision=29316
2004-06-11 10:41:20 +00:00
Atsushi Eno 39c55d8fa9 2004-06-11 Atsushi Enomoto <[email protected]>
* UriTest.cs : Added InvalidScheme().
	* test-uri-list.txt, test-uri-props.txt :
	  Commented out RFC2396-violent URIs.

svn path=/trunk/mcs/; revision=29315
2004-06-11 10:38:44 +00:00
Atsushi Eno 6c7138f765 2004-06-11 Atsushi Enomoto <[email protected]>
* Uri.cs : Handle Windows UNC. Now we could simplify Parse(). Don't
	  escape windows path twice. Check scheme name as defined in RFC2396.

svn path=/trunk/mcs/; revision=29314
2004-06-11 10:37:11 +00:00
Martin Baulig 15b8709b4b **** Merged from MCS ****
svn path=/trunk/mcs/; revision=29313
2004-06-11 10:37:01 +00:00
Martin Baulig b918e9d187 Ooops, varargs methods are not CLS compliant.
svn path=/trunk/mcs/; revision=29312
2004-06-11 10:36:14 +00:00
Raja R Harinath ab7edb2f50 * Makefile (TEST_SOURCES): Add test-268.
* test-268.cs: New test for #59477.

svn path=/trunk/mcs/; revision=29311
2004-06-11 10:30:40 +00:00
Raja R Harinath 159a311768 Fix bug #59477.
* ecore.cs (ResolveFlags): Add new 'Intermediate' flag to tell
that the call to Resolve is part of a MemberAccess.
(Expression.Resolve): Use it for SimpleName resolution.
(SimpleName.SimpleNameResolve, SimpleName.DoResolveAllowStatic):
Add 'intermediate' boolean argument.
(SimpleName.DoSimpleNameResolve): Likewise.  Use it to disable an
error message when the SimpleName can be resolved ambiguously
between an expression and a type.
* expression.cs (MemberAccess.IdenticalNameAndTypeName): Make
public.
(MemberAccess.Resolve): Pass 'Intermediate' flag to the Resolve()
call on the left-side.

svn path=/trunk/mcs/; revision=29310
2004-06-11 10:30:04 +00:00
Gert Driesen efa16e80cc * ComponentEditorForm.cs: CRLF to LF
* ControlDesigner.cs: API signature fix
* DocumentDesigner.cs: API signature fixes, CRLF to LF

svn path=/trunk/mcs/; revision=29309
2004-06-11 10:28:40 +00:00
Gert Driesen 61b38c411e * System.Design.dll.sources: added more stub for classes
in System.Windows.Forms.Design

svn path=/trunk/mcs/; revision=29308
2004-06-11 10:13:52 +00:00
Gert Driesen d80645f689 * AxParameterData.cs: stubbed
* AxWrapperGen.cs: stubbed
* DockEditor.cs: stubbed
* EventHandlerService.cs: stubbed

svn path=/trunk/mcs/; revision=29307
2004-06-11 10:12:38 +00:00
Gert Driesen bc9d9fc161 * ChangeLog: added, and move entries from changelog in System.Design here
* AxParameterData.cs: stubbed
* AxWrapperGen.cs: stubbed
* DockEditor.cs: stubbed
* EventHandlerService.cs: stubbed

svn path=/trunk/mcs/; revision=29306
2004-06-11 10:06:15 +00:00
Marek Safar c474761474 2004-06-11 Marek Safar <[email protected]>
* class.cs:
	(MethodCore.VerifyClsCompliance): Added test for error CS3000.

svn path=/trunk/mcs/; revision=29305
2004-06-11 09:50:00 +00:00
Gert Driesen 5f3c3b8bec * System.Design.dll.sources: added more stubs for classes
in System.Diagnostics.Design, System.Messaging.Design and
System.ServiceProcess.Design

svn path=/trunk/mcs/; revision=29304
2004-06-11 09:43:03 +00:00
Raja R Harinath 8ac07d29d4 (PROGRAM_INSTALL_DIR): New define.
(install-local, uninstall-local): Use it.

svn path=/trunk/mcs/; revision=29303
2004-06-11 09:40:46 +00:00
Gert Driesen 018c0572c9 * ServiceControllerDesigner.cs: stubbed
svn path=/trunk/mcs/; revision=29302
2004-06-11 09:39:12 +00:00
Gert Driesen 03bc97368a * MessageDesigner.cs: stubbed
svn path=/trunk/mcs/; revision=29301
2004-06-11 09:38:45 +00:00
Gert Driesen a397fc051f * LogConverter.cs: stubbed
* ProcessDesigner.cs: stubbed
* ProcessModuleDesigner.cs: stubbed
* ProcessThreadDesigner.cs: stubbed

svn path=/trunk/mcs/; revision=29299
2004-06-11 09:38:14 +00:00
Atsushi Eno 9e8dc5d494 2004-06-11 Atsushi Enomoto <[email protected]>
* Uri.cs : Reverted some changes. '#' should be handled when the input
	  string is NOT raw file path. So handle raw file paths differently.
	  (right now except for Windows UNC).
	  Cache LocalPath and don't compute every time.

svn path=/trunk/mcs/; revision=29297
2004-06-11 09:31:41 +00:00
Atsushi Eno b80ef28d8b 2004-06-11 Atsushi Enomoto <[email protected]>
* test-uri-list.txt,
	  test-uri-props.txt,
	  test-uri-props-manual.txt :
	  Reverted the last change. File URI handling should be common to
	  MS.NET. We have to change the behavior only for Unix file path.
	* UriTest2.cs : Fixed just catch only UriFormatException.

svn path=/trunk/mcs/; revision=29296
2004-06-11 09:31:14 +00:00
Anirban Bhattacharjee bcafb9fb7d 2004-06-11 Anirban Bhattacharjee <[email protected]>
* Makefile: Removed inclusion of rules.make from Makefile for two reasons :
                - This Makefile as of now has no dependency on rules.make what so ever
                - Because of inclusion of INTENAL_MBAS in rules.make it was causing confliction with existing INTERNAL_MBAS in this makefile and causing lots of tests to fail

svn path=/trunk/mcs/; revision=29295
2004-06-11 09:22:59 +00:00
Martin Baulig 4d7c7a1f87 2004-06-11 Martin Baulig <[email protected]>
* String.cs (Concat): Implemented the varargs version.

svn path=/trunk/mcs/; revision=29294
2004-06-11 09:21:55 +00:00
Gert Driesen 40766886ac * Makefile: added reference to System.Data assembly
* System.Design.dll.sources: added new stubbed classes

svn path=/trunk/mcs/; revision=29293
2004-06-11 09:16:27 +00:00
Gert Driesen d2a7bcb568 * CalendarDataBindingHandler.cs: stubbed
* ColorBuilder.cs: stubbed
* ControlParser.cs: stubbed
* ControlPersister.cs: stubbed
* DataBindingCollectionConverter.cs: stubbed
* DataBindingCollectionEditor.cs: stubbed
* DataBindingValueUIHandler.cs: stubbed
* DataFieldConverter.cs: stubbed
* DataMemberConverter.cs: stubbed
* DataSourceConverter.cs: stubbed
* DesignTimeData.cs: stubbed
* HtmlIntrinsicControlDesigner.cs: stubbed
* HyperLinkDataBindingHandler.cs: stubbed
* IControlDesignerBehaviour.cs: stubbed
* IDataSourceProvider.cs: stubbed
* ITemplateEditingFrame.cs: stubbed
* ITemplateEditingService.cs: stubbed
* IWebFormReferenceManager.cs: stubbed
* IWebFormsBuilderUIService.cs: stubbed
* IWebFormsDocumentService.cs: stubbed
* TemplateEditingService.cs: stubbed
* TemplateEditingVerb.cs: stubbed
* TemplatedControlDesigner.cs: stubbed
* TextControlDesigner.cs: stubbed
* TextDataBindingHandler.cs: stubbed
* UrlBuilder.cs: stubbed
* UserControlDesigner.cs: stubbed
* XmlFileEditor.cs: stubbed

svn path=/trunk/mcs/; revision=29292
2004-06-11 09:16:01 +00:00
Paolo Molaro 1934e90228 Fri Jun 11 11:58:22 CEST 2004 Paolo Molaro <[email protected]>
* LocalizableAttribute.cs, DesignerSerializationVisibilityAttribute.cs,
	DesignOnlyAttribute.cs: fix targets for attributes.

svn path=/trunk/mcs/; revision=29291
2004-06-11 09:09:50 +00:00
Marek Safar 993516622e new test
svn path=/trunk/mcs/; revision=29289
2004-06-11 09:07:00 +00:00
Marek Safar 495f81748f 2004-06-11 Marek Safar <[email protected]>
* attribute.cs (Attribute.Emit): Fixed error CS0579 reporting.

svn path=/trunk/mcs/; revision=29288
2004-06-11 09:04:54 +00:00
Martin Baulig 2c9063cff5 2004-06-11 Martin Baulig <[email protected]>
* metadata.c (mono_metadata_parse_method_signature): When parsing
	a MethodDef which has VarArgs, also set sentinelpos if we don't
	have any parameters.

svn path=/trunk/mono/; revision=29287
2004-06-11 08:52:35 +00:00
Gonzalo Paniagua Javier d03b6c7fd4 details, details
svn path=/trunk/mcs/; revision=29286
2004-06-11 08:47:09 +00:00
Martin Baulig a0215f4f60 2004-06-11 Martin Baulig <[email protected]>
* vararg-lib.cs, vararg-exe.cs: New tests.

svn path=/trunk/mcs/; revision=29285
2004-06-11 08:45:14 +00:00
Gonzalo Paniagua Javier d35467e43d 2004-06-11 Gonzalo Paniagua Javier <[email protected]>
* SessionSQLServerHandler.cs:
	* SessionStateServerHandler.cs:
	* ISessionHandler.cs: added new parameter to Init.

	* SessionInProcHandler.cs: use the HttpRuntime cache to store the
	sessions and handle expiration.

	* SessionStateModule.cs: added OnSessionRemoved internal method that is
	called whenever a session expires or is removed.

svn path=/trunk/mcs/; revision=29284
2004-06-11 08:41:50 +00:00
Martin Baulig 208eb653b1 2004-06-11 Martin Baulig <[email protected]>
* Makefile: Enable test-269.

svn path=/trunk/mcs/; revision=29283
2004-06-11 08:40:45 +00:00
Martin Baulig 7595fda6ae 2004-06-08 Martin Baulig <[email protected]>
* Makefile: Enable test-157.

svn path=/trunk/mcs/; revision=29282
2004-06-11 08:39:41 +00:00
Martin Baulig e1f6f29755 2004-06-11 Martin Baulig <[email protected]>
* verify.c (mono_method_verify): In CEE_CALL, use
	mono_method_get_signature() to get the method's signature, unless
	we're a PInvoke method.

svn path=/trunk/mono/; revision=29281
2004-06-11 08:38:42 +00:00
Gonzalo Paniagua Javier 68d1cee6af 2004-06-11 Gonzalo Paniagua Javier <[email protected]>
* AspGenerator.cs:
	* CachingCompiler.cs: use a different prefix when caching compiler
	results or Types.

svn path=/trunk/mcs/; revision=29280
2004-06-11 08:38:21 +00:00
Martin Baulig 0cf6d96c72 2004-06-11 Martin Baulig <[email protected]>
* get.c (get_methodref_signature): If we're a varargs method,
	print "..." for the sentinel followed by the actual types.

svn path=/trunk/mono/; revision=29279
2004-06-11 08:27:49 +00:00
Lluis Sanchez c640eb0920 * StrongNameKeyPair.cs: Catch exception when getting PublicKey to match
MS implementation. Generate the RSA in the constructors.

svn path=/trunk/mcs/; revision=29278
2004-06-11 08:14:54 +00:00
Martin Baulig 54dfc849f1 2004-06-11 Martin Baulig <[email protected]>
* expression.cs (Invocation.EmitCall): Use OpCodes.Callvirt for
	varargs methods if applicable.

svn path=/trunk/mcs/; revision=29277
2004-06-11 07:59:33 +00:00
Martin Baulig f2aea00df4 2004-06-11 Martin Baulig <[email protected]>
* expression.cs (Invocation.EmitCall): Don't use
	`method.CallingConvention == CallingConventions.VarArgs' since the
	method could also have `CallingConventions.HasThis'.

svn path=/trunk/mcs/; revision=29276
2004-06-11 07:31:11 +00:00
Gert Driesen d006bfbd91 * ArrayEditor.cs: removed extra finalizer
* BinaryEditor.cs: stubbed
* ByteViewer.cs: removed extra finalizer, added missing method
* CollectionEditor.cs: removed extra finalizer
* DateTimeEditor.cs: stubbed
* InheritanceService.cs: removedd extra finalizer
* LocalizationExtenderProvider.cs: added missing attributes,
removed extra finalizer
* ObjectSelectorEditor.cs: stubbed

svn path=/trunk/mcs/; revision=29275
2004-06-11 07:24:46 +00:00
Gert Driesen 8281cecbd7 * System.Configuration.Install.dll.sources: added
stubbed classes

svn path=/trunk/mcs/; revision=29274
2004-06-11 06:51:45 +00:00
Gert Driesen 748ae7b921 * EventLogInstaller.cs: stubbed
* PerformanceCounterInstaller.cs: stubbed

svn path=/trunk/mcs/; revision=29272
2004-06-11 06:41:27 +00:00
Gert Driesen 04de3ac14d * Consts.cs: Replaced by Consts.cs from System.Messaging
svn path=/trunk/mcs/; revision=29271
2004-06-11 06:37:41 +00:00
Gert Driesen 4f5a23f73b * Installer.cs: use Type instead of string argument for
Designer attribute

svn path=/trunk/mcs/; revision=29270
2004-06-11 06:36:21 +00:00
Marek Safar 9badc5a4f9 2004-06-11 Marek Safar <[email protected]>
* class.cs (Event.GetSignatureForError): Implemented.
	Fixed crash in error test cs3010.cs

svn path=/trunk/mcs/; revision=29268
2004-06-11 06:27:01 +00:00
Atsushi Eno 8bcfd7518d 2004-06-11 Atsushi Enomoto <[email protected]>
* IHasXmlParserContext.cs, IHasXmlSchemaInfo.cs : internal.

svn path=/trunk/mcs/; revision=29267
2004-06-11 06:06:04 +00:00
Gert Driesen b8fe1d05d6 * AssemblyInstaller.cs: stubbed
* ManagedInstallerClass.cs: stubbed
* TransactedInstaller.cs: stubbed

svn path=/trunk/mcs/; revision=29266
2004-06-11 06:05:10 +00:00
Atsushi Eno 76e5bd5184 2004-06-11 Atsushi Enomoto <[email protected]>
* XsdValidatingReader.cs : Identity check didn't work fine when
	  reference node appeared in front of the target key node.
	  This fixes bug #59889.

svn path=/trunk/mcs/; revision=29263
2004-06-11 05:24:37 +00:00
Ravindra c00342c67c * gdipFunctions.cs: (GdipCreateSolidFill): Changed one argument
from out int to out IntPtr.
        * SolidBrush.cs: Same.

svn path=/trunk/mcs/; revision=29262
2004-06-11 05:14:51 +00:00
Gert Driesen c575740e28 * SoapAttribute.cs: use protected field to store namespace value,
removed obsolete private field

svn path=/trunk/mcs/; revision=29261
2004-06-11 05:11:27 +00:00
Gert Driesen c4ac3065d5 * LingerOption.cs: marked field private to fix API signature
* MulticastOption.cs: marked field private to fix API signature

svn path=/trunk/mcs/; revision=29260
2004-06-11 05:07:35 +00:00
Gert Driesen 16f9cdccf3 * Information.cs: use Type.Name property instead of Type.get_Name()
accessor method.  This fixes the build on Windows (csc). Reported
as mcs bug #59980.

svn path=/trunk/mcs/; revision=29259
2004-06-11 05:05:17 +00:00
Gonzalo Paniagua Javier 5e98fc70af MONO_CODEDOM_NODELETE is MONO_ASPNET_NODELETE now
svn path=/trunk/mono/; revision=29257
2004-06-11 04:11:12 +00:00
Gonzalo Paniagua Javier d2d2fb9f1f 2004-06-11 Gonzalo Paniagua Javier <[email protected]>
* CSharpCodeCompiler.cs: let the TempFileCollection handle the removal
	of the files if needed.

svn path=/trunk/mcs/; revision=29256
2004-06-11 04:08:44 +00:00
Gonzalo Paniagua Javier 34fbc1363d 2004-06-11 Gonzalo Paniagua Javier <[email protected]>
* BaseCompiler.cs: dynamicBase is now protected. Check
	MONO_ASPNET_NODELETE here.

	* TemplateControlCompiler.cs: if the type is not known but has a
	TypeConverter, invoke ConvertFromString in the generated code.

	* WebServiceCompiler.cs: it used a hardcoded C# compiler, now it gets
	the compiler from the configuration. Also handle MONO_ASPNET_NODELETE.

	* CachingCompiler.cs: updated compilation of web services and simple
	web handlers.

svn path=/trunk/mcs/; revision=29255
2004-06-11 04:03:13 +00:00
Gonzalo Paniagua Javier 22bd2d91e3 2004-06-11 Gonzalo Paniagua Javier <[email protected]>
* HttpUtility.cs: check for control characters in the string to encode
	or decode and return the same string if there are none.

svn path=/trunk/mcs/; revision=29254
2004-06-11 03:56:18 +00:00
Jackson Harper 711c928898 * ILTables.cs: Remove opcodes, these are contained in codegen/IntrTable.cs
* ILTokenizer.cs: Dont refer to ILTables::Opcodes

svn path=/trunk/mcs/; revision=29253
2004-06-11 03:19:38 +00:00
Jackson Harper e2a84ba6f1 * driver.cs: We don't need to check if the canidate is a file in
IsSwitch anymore as some other commandline handling will take care
	of this case.

svn path=/trunk/mcs/; revision=29252
2004-06-11 03:09:39 +00:00
Sebastien Pouliot 2766ba5c23 2004-06-10 Sebastien Pouliot <[email protected]>
* DecimalTest.cs: Added rounding tests for negative values. Added more
	checks to ParseFractions. Removed test TooSmall because it was a bad
	interaction between a buggy corlib (buggy decimal) and the tests (i.e.
	the value was legal).

svn path=/trunk/mcs/; revision=29251
2004-06-11 02:29:25 +00:00
Sebastien Pouliot d6f8209297 2004-06-10 Sebastien Pouliot <[email protected]>
* Decimal.cs: Hacked the Parse method to allow the runtime C code to
	decode it properly (i.e. matching MS results). Fixed the Round method
	for negative decimal numbers (moved code from Math.cs).
	* Math.cs: Now use Decimal class for Round(Decimal,int). Required to
	fix a bug when rounding a negative decimal.

svn path=/trunk/mcs/; revision=29250
2004-06-11 02:22:40 +00:00
Duncan Mak 13d1764537 Add license and copyright to all source files in corlib
svn path=/trunk/mcs/; revision=29249
2004-06-11 02:09:36 +00:00
Gonzalo Paniagua Javier ae7b210e4f 2004-06-11 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpApplication.cs: change/restore the IPrincipal in their
	own methods and make them internal.

	* System.Web.Security/DefaultAuthenticationModule.cs: set the IPrincipal
	for this thread once we have a user. Fixes bug #59683.

svn path=/trunk/mcs/; revision=29248
2004-06-11 01:24:35 +00:00
Gonzalo Paniagua Javier 50abbf1102 2004-06-11 Gonzalo Paniagua Javier <[email protected]>
* Thread.cs:
	(CurrentPrincipal): lock on CurrentThread, not typeof (Thread) and set
	the thread IPrincipal if we get it from the AppDomain.

svn path=/trunk/mcs/; revision=29247
2004-06-11 01:18:21 +00:00
Gonzalo Paniagua Javier e07f4c9ecf 2004-06-11 Gonzalo Paniagua Javier <[email protected]>
* AppDomain.cs: set the _principal to null when changing the policy.
	* Console.cs: remove ClsCompliant attribute from a method marked as
	internal and added comment.

svn path=/trunk/mcs/; revision=29246
2004-06-11 01:14:57 +00:00
Jackson Harper 0710cfa2c7 Rename MONO_GAC_PATH to MONO_GAC_PREFIX, this is a more
logical name as the supplied path is just a prefix to the gac not
	the direct path to it.

svn path=/trunk/mono/; revision=29245
2004-06-10 23:47:30 +00:00
Gonzalo Paniagua Javier ef045b18a7 fix
svn path=/trunk/mcs/; revision=29244
2004-06-10 23:11:58 +00:00
Lluis Sanchez d2c82b10e3 * AssemblyName.cs: Added missing fields to serialization methods.
* StrongNameKeyPair.cs: Made it compatible with MS serialization.

svn path=/trunk/mcs/; revision=29243
2004-06-10 21:38:02 +00:00
Jackson Harper 334d870393 * assembly.c: Use <path>/lib/mono/gac for the extra paths
lookup.

svn path=/trunk/mono/; revision=29242
2004-06-10 21:33:43 +00:00
Jackson Harper fb83b286bf * ILTokenizingExpcetion.cs: New exception thrown by the tokenizer
if any tokenizing errors occur.
	* ILTokenizer.cs:
	* NumberHelper.cs: Use the new exception.

svn path=/trunk/mcs/; revision=29241
2004-06-10 21:01:19 +00:00
Jackson Harper b0e23daaaf * Driver.cs: Handle tokenization errors with the correct error
message.
	* Report.cs: Print error messages properly. Add an extra \n after
	the assemble file message.
	* ilasm.exe.sources: Add new exception, remove old one.

svn path=/trunk/mcs/; revision=29240
2004-06-10 21:00:18 +00:00
Rafael Teixeira fa240e76af 2004/06/10 Rafael Teixeira <[email protected]>
* typemanager.cs : GetPertinentStandardModules receives the array now with params modifier to help usage
	* ecore.cs : correcting lookup of semi-qualified standard modules members - A little better but not there yet

svn path=/trunk/mcs/; revision=29239
2004-06-10 20:50:52 +00:00
Miguel de Icaza 5dcb517d52 Not yet
svn path=/trunk/mono/; revision=29237
2004-06-10 20:28:39 +00:00
Jackson Harper 237cde59f6 Make the new gacutil the default again.
svn path=/trunk/mcs/; revision=29231
2004-06-10 19:48:34 +00:00
Atsushi Eno b0c427a479 2004-06-10 Atsushi Enomoto <[email protected]>
* UriTest.cs : Should not expect exception for Unix file path.

svn path=/trunk/mcs/; revision=29222
2004-06-10 19:40:17 +00:00
Erik Dasque 1df2fba7ef added new site news item
svn path=/trunk/mono/; revision=29219
2004-06-10 19:29:17 +00:00
Gert Driesen 118ced56b6 * RegexRunner.cs: fixed case mismatch of methods
svn path=/trunk/mcs/; revision=29218
2004-06-10 18:37:54 +00:00
Jackson Harper 7dd96c89dc * errors: This directory will contain assembly files that should
not compile.
	* bad_bytearray.il: A bad bytearray in a .data line. Should give a
	syntax error.

svn path=/trunk/mcs/; revision=29216
2004-06-10 18:28:43 +00:00
Miguel de Icaza 9b8a7570c6 2004-06-10 Miguel de Icaza <[email protected]>
* cs-tokenizer.cs: Change the way we track __arglist to be
	consistent with the other keywords.

svn path=/trunk/mcs/; revision=29215
2004-06-10 18:11:31 +00:00
Gert Driesen 6f3c495f7c * RegexRunner.cs: marked TODO, added missing protected internal
fields, throw NotImplementedException in all methods

svn path=/trunk/mcs/; revision=29214
2004-06-10 18:06:31 +00:00
Atsushi Eno 0c5cf2fac1 2004-06-10 Atsushi Enomoto <[email protected]>
* Uri.cs : Don't escape '#' in file URI paths. This fixes bug #47691.
	  Some code simplification.

svn path=/trunk/mcs/; revision=29213
2004-06-10 18:01:45 +00:00
Gert Driesen dfab5786dd * Publisher.cs: removed extra finalizer to fix public API
signature, renamed private field for serialization compatibility
with MS.NET

svn path=/trunk/mcs/; revision=29212
2004-06-10 17:58:04 +00:00
Atsushi Eno 53479fd53f 2004-06-10 Atsushi Enomoto <[email protected]>
* test-uri-list.txt,
	  test-uri-props.txt,
	  test-uri-props-manual.txt :
	  - Moved '#' containing file URIs to manual test patterns (I think MS
	    disregards '#', as conceptually reported in bug #47691).
	  - Removed URIs that contains "/////" that is ambiguous (is /////cygwin
	    directory '/cygwin', or host 'cygwin' ?).
	* UriTest2.cs : explicitly show what input string is being checked
	  in Assert(). And also surround try...catch and show which URI failed.

svn path=/trunk/mcs/; revision=29211
2004-06-10 17:57:36 +00:00
Gert Driesen 95afd686ee * RegexRunnerFactory.cs: removed comment, no longer throw exception
from ctor
* regex.cs: fixed public API signature by renaming protected
internal fields and adding destructor, added MonoTODO attribute to
fields and method that are not yet implemented, changed not
implemented methods to throw NotImplementedException instead of
Exception, fixed names of field that are serialized

svn path=/trunk/mcs/; revision=29210
2004-06-10 17:53:10 +00:00
Jordi Mas i Hernandez 7ee8b3cfac remove dbg code
svn path=/trunk/mcs/; revision=29209
2004-06-10 17:34:00 +00:00
Paolo Molaro ea50ca4cf6 Thu Jun 10 20:10:16 CEST 2004 Paolo Molaro <[email protected]>
* reflection.c: make the token for a created method match
	the token of the MethodBuilder it was created from
	(IKVM requires this behaviour now).

svn path=/trunk/mono/; revision=29208
2004-06-10 17:23:23 +00:00
Gert Driesen aeed334240 * Encoding.cs: Marked protected internal field as internal to
fix API signature

svn path=/trunk/mcs/; revision=29207
2004-06-10 17:19:58 +00:00
Gert Driesen 2725186677 * SignedXml.cs: API signature fixes
svn path=/trunk/mcs/; revision=29206
2004-06-10 17:19:14 +00:00
Gert Driesen 8899547ace * StrongNameIdentityPermission.cs: removed extra useless finalizer
to fix public API signature

svn path=/trunk/mcs/; revision=29205
2004-06-10 17:03:00 +00:00
Gert Driesen ae23e8d4e5 * ToBase64Transform.cs: Uncomment finalizer to fix public API
signature

svn path=/trunk/mcs/; revision=29204
2004-06-10 17:00:23 +00:00
Lluis Sanchez decadc95bc * SoapAttribute.cs: Added missing protected members.
svn path=/trunk/mcs/; revision=29202
2004-06-10 16:31:35 +00:00
Jackson Harper 90089998a4 * driver.cs: Don't append gacdir to /root. This breaks
everything. Will add another option for doing this if its
	needed.

svn path=/trunk/mcs/; revision=29201
2004-06-10 16:20:32 +00:00
Gert Driesen 164cadff8e * Delegate.cs: marked protected fields private to match public
API of MS.NET, marked DynamicInvokeImpl and GetMethodImpl
protected to fix public API
* Enum.cs: marked ctor protected to match public API of MS.NET
* MulticastDelegate.cs: marked DynamicInvokeImpl protected to
match public API of MS.NET

svn path=/trunk/mcs/; revision=29199
2004-06-10 16:14:13 +00:00
Jordi Mas i Hernandez 6a60709f88 *** empty log message ***
svn path=/trunk/mcs/; revision=29198
2004-06-10 15:24:13 +00:00
Jordi Mas i Hernandez 00a1210909 move samples to the samples dir
svn path=/trunk/mcs/; revision=29197
2004-06-10 15:22:09 +00:00
Lluis Sanchez 21eff991a5 * ThreadTest.cs: Removed Ignore attribute from several threading tests that
failed because of Thread.Abort.

svn path=/trunk/mcs/; revision=29196
2004-06-10 14:59:37 +00:00
Lluis Sanchez 9b32c6e734 i * AssemblyNameTest.cs: AssertEqualsByteArrays(): don't crash if arrays are
empty. TestSerialization(): Use AssertEqualsByteArrays to compare keys.
	  Added messages to the assertions.

svn path=/trunk/mcs/; revision=29195
2004-06-10 14:58:32 +00:00
Lluis Sanchez 7a4f5a1080 * ChannelServices.cs: ExceptionFilterSink should be internal.
svn path=/trunk/mcs/; revision=29194
2004-06-10 14:56:27 +00:00
Rafael Teixeira 245abcf010 2004-06-10 Rafael Teixeira <[email protected]>
* skeleton.cs: oops some uses of changed classes/interfaces also need to become internal.

svn path=/trunk/mcs/; revision=29192
2004-06-10 14:32:47 +00:00
Rafael Teixeira 894f00aad3 Added a TODO comment
svn path=/trunk/mcs/; revision=29191
2004-06-10 14:20:37 +00:00
Jambunathan K abdf16032c Err Object related infrastructure is near complete. This is just a
preliminary commit. Requires more thorough review and test cases.

svn path=/trunk/mcs/; revision=29190
2004-06-10 14:12:47 +00:00
Atsushi Eno d10f558970 2004-06-10 Atsushi Enomoto <[email protected]>
* skelton.cs: make classes/interfaces internal.

svn path=/trunk/mcs/; revision=29189
2004-06-10 14:10:20 +00:00
Jordi Mas i Hernandez f24e0f33fd lock resource creation, cloning, and destroying
svn path=/trunk/mcs/; revision=29188
2004-06-10 13:20:08 +00:00
Paolo Molaro 9d429a6cf4 Thu Jun 10 16:06:42 CEST 2004 Paolo Molaro <[email protected]>
* mini.c, aot.c: memory leak fixes.

svn path=/trunk/mono/; revision=29187
2004-06-10 13:18:01 +00:00
Paolo Molaro 594de034a4 Thu Jun 10 16:02:27 CEST 2004 Paolo Molaro <[email protected]>
* image.c, image.h, appdomain.c, assembly.c, loader.c, metadata.c,
	reflection.c, socket-io.c: leak fixes.

svn path=/trunk/mono/; revision=29186
2004-06-10 13:16:12 +00:00
Gonzalo Paniagua Javier 61638e55ba 2004-06-10 Gonzalo Paniagua Javier <[email protected]>
* Control.cs:
	(ResolveUrl): fixed typo when dealing with relative urls. Closes bug
	#59794.

svn path=/trunk/mcs/; revision=29185
2004-06-10 12:02:57 +00:00
Marek Safar cf5443e16c 2004-06-10 Marek Safar <[email protected]>
* do-test.pl: --expect-error must be at the
	first place (mcs parses options by order).

svn path=/trunk/mcs/; revision=29184
2004-06-10 11:42:13 +00:00
Gonzalo Paniagua Javier 48c30bf3f3 2004-06-10 Gonzalo Paniagua Javier <[email protected]>
* library.make: fixed PLATFORM_CHANGE_SEPARATOR_CHAR on windows.

svn path=/trunk/mcs/; revision=29183
2004-06-10 11:37:25 +00:00
Marek Safar 583660eccb 2004-06-10 Marek Safar <[email protected]>
* do-test.pl: Added simple error logging.
	* Makefile (clean): Remove .dll & .log files

svn path=/trunk/mcs/; revision=29181
2004-06-10 11:12:25 +00:00
Lluis Sanchez c4d8e78767 * SoapMessageFormatter.cs: Don't add the signature to the headers list if
the method is not overloaded, and don't add the LogicalCallContext if
	  it has no info.

svn path=/trunk/mcs/; revision=29180
2004-06-10 11:01:59 +00:00
Lluis Sanchez fa03577b00 * SoapWriter.cs: In SerializeArray, consider 1 a valid id.
svn path=/trunk/mcs/; revision=29179
2004-06-10 10:54:20 +00:00
Umadevi S bbfaf64275 2004-06-10 Umadevi S <[email protected]>
* DataRelation.cs - Constructor
        - The datatypes of the parentcolumn(s) and the childcolumn(s) should match

svn path=/trunk/mcs/; revision=29178
2004-06-10 09:35:58 +00:00
Marek Safar ce6816dd49 CRLF->LF
svn path=/trunk/mcs/; revision=29177
2004-06-10 09:23:07 +00:00
Lluis Sanchez 63a60a1904 * HttpSimpleProtocolImporter.cs: Add needed XmlInclude attributes to the
generated class. Generate the correct data type for input parameters.
	* SoapProtocolImporter.cs: Like in MS.NET, take the first output parameter
	  as the return value of the method. When generating a header variable,
	  use the type name as the base for the variable name, not the part name.

svn path=/trunk/mcs/; revision=29176
2004-06-10 09:10:25 +00:00
Lluis Sanchez caa7ee9da6 * TypeStubManager.cs: Improved locking in GetLogicalTypeInfo().
* WebServiceHandler.cs: Removed unneded methods.

svn path=/trunk/mcs/; revision=29175
2004-06-10 09:09:38 +00:00
Lluis Sanchez e627ca7cb6 * DiscoveryClientProtocol.cs: In DiscoverAny, catch expection of type
DiscoveryException and rethrow the included Exception instead.
	* DiscoveryReference.cs: Added BaseUri property, that returns an uri
	  for the reference, supporting file uris.
	* ContractReference.cs: Use the new property BaseUri to build the import
	  uri.

svn path=/trunk/mcs/; revision=29174
2004-06-10 09:07:24 +00:00
Lluis Sanchez 27659c3160 * Makefile: Fix ms.net api file before the comparison.
* cormissing.xsl: Removed html encoding. Now generates plain text.
	* proxies.net.xml.gz: Updated.
	* services.xml: Updated.
	* wsdlfiles.tar.gz: Updated.
	* wstest.cs: Added option for removing wrong extra classes from ms.net
	  api xml file. Improved checkdiff option.

svn path=/trunk/mcs/; revision=29173
2004-06-10 09:04:47 +00:00
Lluis Sanchez aae87fab03 * MapCodeGenerator.cs, SoapCodeExporter.cs: Generate the same XmlInclude
attributes that MS.NET generates.
	* SerializationCodeGenerator.cs: Avoid duplicate generation of maps in the
	  same reader/writer.
	* XmlCodeExporter.cs: Added support for ignore flag in maps and members.
	* XmlReflectionImporter.cs: Changed GetReflectionMembers to match
	  MS.NET member ordering. Patch by David Taylor.
	* XmlSchemaImporter.cs: When generating a choice member, set the ignore
	  flag. The generated enum must also not be included in the schema.
	* XmlTypeMapMember.cs: Added ignore flag.
	* XmlTypeMapping.cs: The AttributeMembers property now returns the
	  attributes in the correct order.

svn path=/trunk/mcs/; revision=29172
2004-06-10 08:47:59 +00:00
Raja R Harinath 292144245e * runtime/Makefile.am ($(monoone_DATA),$(monotwo_DATA),$(monobins_DATA)):
Don't copy from prefix.  Use $(LN_S) to point to the mcs/ tree.
* runtime/net_1_1/Makefile.am (mscorlib.dll,$(gac_assemblies)):
Use $(LN_S) to point to the mcs/ tree, rather than copying.
* runtime/net_2_0/Makefile.am (mscorlib.dll,$(gac_assemblies)): Likewise.

svn path=/trunk/mono/; revision=29171
2004-06-10 08:14:21 +00:00
Alon Gazit 911f16aefc fixed WebControl.LoadViewState().
Creates new attributes state bag only when the current is null.

svn path=/trunk/mcs/; revision=29170
2004-06-10 08:06:32 +00:00
Raja R Harinath 76340d93ab (LIBRARY_COMPILE): Define only if 'USE_BOOT_COMPILE' is
defined.  Don't conflate building a non-Xml temporary System.dll
with building System.dll for bootstrapping mcs.

svn path=/trunk/mcs/; revision=29169
2004-06-10 06:57:46 +00:00
Raja R Harinath 29244a261b Support the new assembly signing setup in mcs/.
* Makefile.am (mcs-do-basic-build): Pass 'USE_BOOT_COMPILE' to sub-makes.
($(tmpinst)/etc/mono/machine.config): New target.
(tmpinst-dir.stamp): Remove and rewrite into ...
($(tmpinst)/bin/mcs): ... this and ...
($(tmpinst)/bin/mono): ... this.  Update to use the in-tree machine.config.
(tmpinst-dir): Rewrite to invoke above $(tmpinst)/... targets directly.
* configure.in (AC_PROG_LN_S): New check to define $(LN_S).

svn path=/trunk/mono/; revision=29168
2004-06-10 06:56:33 +00:00
Atsushi Eno f67f33e172 2004-06-10 Atsushi Enomoto <[email protected]>
* DateTimeTest.cs : added more "common pattern" tests.

svn path=/trunk/mcs/; revision=29167
2004-06-10 06:38:56 +00:00
Atsushi Eno 4347c57e97 2004-06-10 Atsushi Enomoto <[email protected]>
* DateTime.cs : Added more common patterns.

svn path=/trunk/mcs/; revision=29166
2004-06-10 06:35:16 +00:00
Atsushi Eno 97a9b197f8 2004-06-10 Atsushi Enomoto <[email protected]>
* DateTimeTest.cs : Added more milliseconds and pattern recognition
	  tests. Patch by Steven Brown (a bit modified).

svn path=/trunk/mcs/; revision=29165
2004-06-10 06:33:47 +00:00
Atsushi Eno 93ed277f61 2004-06-10 Atsushi Enomoto <[email protected]>
* XmlNodeWriter.cs : it's internal.

svn path=/trunk/mcs/; revision=29164
2004-06-10 06:17:06 +00:00
Anirban Bhattacharjee 4064fd7f1a * mb-parser.jay: Grammar added for RemoveHandler statement
svn path=/trunk/mcs/; revision=29163
2004-06-10 06:12:48 +00:00
Sanja Gupta 3495454571 ChangeLog: Updated ChangeLog.
TestBitmap.cs: Corrected issues from my previous checkin.

svn path=/trunk/mcs/; revision=29162
2004-06-10 06:09:10 +00:00
Umadevi S 4aa10877e8 2004-06-10 Umadevi S <[email protected]>
* DataTableMappingCollection.cs - fixed nunit testcase errors
        IndexOfDataSetTable method

svn path=/trunk/mcs/; revision=29161
2004-06-10 05:53:53 +00:00
Umadevi S bcde523fb0 2004-06-10 Umadevi S <[email protected]>
* Corrected GetTableMappingBySchemaAction for DataTableMappingCollectionTest

svn path=/trunk/mcs/; revision=29160
2004-06-10 05:51:00 +00:00
Gert Driesen ea434cb90f * Image.cs: API signature fixes, meaning DisposeResources is now
private and marked InitFromStream internal

svn path=/trunk/mcs/; revision=29159
2004-06-10 05:45:44 +00:00
Atsushi Eno 1262953080 2004-06-10 Atsushi Enomoto <[email protected]>
* XmlSchemaFacet.cs : Fixed internal protected --> internal.

svn path=/trunk/mcs/; revision=29158
2004-06-10 05:29:42 +00:00
Umadevi S 64433c7db6 2004-06-10 Umadevi S <[email protected]>
* SqlGuidTest.cs - corrected the CompareTo method

svn path=/trunk/mcs/; revision=29156
2004-06-10 03:38:14 +00:00
Anirban Bhattacharjee b564cc3a1d this test is fully functional now
svn path=/trunk/mcs/; revision=29155
2004-06-10 03:09:32 +00:00
Anirban Bhattacharjee 9a4c271be7 * mb-parser.jay:
* expression.cs:
                Added support for statement like
                        delgate_name = AddressOf sub_name

svn path=/trunk/mcs/; revision=29154
2004-06-10 03:01:04 +00:00
Sebastien Pouliot caec2d48ce 2004-06-09 Sebastien Pouliot <[email protected]>
* Decimal.cs: Fixed banker rounding by calling Math.Round. This won't
	be a performance winner (the actual Math code has a note to wait a
	better Decimal implementation) but it returns the correct results
	(without adding new code in corlib or the runtime). Fix #37744.

svn path=/trunk/mcs/; revision=29153
2004-06-10 02:52:56 +00:00
Ravindra 038dc01003 * Makefile: Suppress compiler warning cs:618 for test dll.
svn path=/trunk/mcs/; revision=29152
2004-06-10 02:50:56 +00:00
Sebastien Pouliot d6683688a2 2004-06-09 Sebastien Pouliot <[email protected]>
* DecimalTest.cs: Reactivated test and added new cases for banker
	rounding.

svn path=/trunk/mcs/; revision=29151
2004-06-10 02:44:49 +00:00
Sanja Gupta 1c8e4ce180 ChangeLog: Updated ChangeLog.
TestBmpCodec.cs, TestImageCodecInfo.cs, TestJpedCodec.cs: Removed
        dependency on obsolete class, Assertion from NUnit.

svn path=/trunk/mcs/; revision=29150
2004-06-10 02:42:10 +00:00
Sanja Gupta 3609bff39c ChangeLog: Updated ChangeLog
TestImageFormatConverter.cs, TestStringFormat.cs: Removed
        dependency on obsolete class, Assertion from NUnit.

svn path=/trunk/mcs/; revision=29148
2004-06-10 02:31:48 +00:00
Miguel de Icaza 314485d57d 2004-06-09 Miguel de Icaza <[email protected]>
* codegen.cs: FAQ avoider: turn 1577 into a warning for now until
	tomorrow.

svn path=/trunk/mcs/; revision=29147
2004-06-10 01:45:51 +00:00
Miguel de Icaza 01136d52a7 2004-06-09 Miguel de Icaza <[email protected]>
* codegen.cs: FAQ avoider: turn 1577 into a warning for now until
	tomorrow.

svn path=/trunk/mcs/; revision=29146
2004-06-10 01:45:18 +00:00
Atsushi Eno 137eba09a5 2004-06-09 Atsushi Enomoto <[email protected]>
* UriTest.cs : Added RelativeCtor(), Unescape(), Segments5() and
	  ParseOverride().

svn path=/trunk/mcs/; revision=29145
2004-06-10 00:22:23 +00:00
Atsushi Eno 566144984e 2004-06-09 Atsushi Enomoto <[email protected]>
* Uri.cs :
	  - Now Parse() is properly implemented. If overriden, the overriding
	    Parse() is used _instead of_ this class's parsing logic.
	  - AbsoluteUri does not escape URI string at all.
	  - ToString() should unescape Query. But should not unescape fragment.
	    And all all parts should be unescaped individually to keep ? and #.
	  - In relative .ctor(), handle Windows UNC as an absolute file URI.
	  - In some cases, hosts and paths were not properly escaped in
	    relative .ctor().
	  - Removed unused isWindowsPath.
	  - Escape Query.
	* UriBuilder.cs : Fragment and Query aren't escaped when they are set.

svn path=/trunk/mcs/; revision=29144
2004-06-10 00:20:33 +00:00
Atsushi Eno a2460e676a 2004-06-09 Atsushi Enomoto <[email protected]>
* DateTime.cs :
	  - A bunch of fixes (patch by Steven Brown). Fraction seconds are
	    now represented as double. Strict token check for 'Z'.
	  - Pattern validity check in GetDateTimeFormats(char).
	  - Fixed pattern "yyyy/M/d HH:mm:ss".

svn path=/trunk/mcs/; revision=29143
2004-06-09 23:15:12 +00:00
Miguel de Icaza f1b2eca2da AddBreak
svn path=/trunk/mono/; revision=29142
2004-06-09 23:15:06 +00:00
Sebastien Pouliot a5935eb2e2 2004-06-09 Sebastien Pouliot <[email protected]>
* codegen.cs: Check that all referenced assemblies have a strongname
	before strongnaming the compiled assembly. If not report error CS1577.
	Fix bug #56563. Patch by Jackson Harper.
	* typemanager.cs: Added a method to return all referenced assemblies.
	Fix bug #56563. Patch by Jackson Harper.

svn path=/trunk/mcs/; revision=29141
2004-06-09 23:03:25 +00:00
Miguel de Icaza 50beb484c0 Flush
svn path=/trunk/mono/; revision=29140
2004-06-09 22:48:03 +00:00
Sebastien Pouliot 3686c61283 2004-06-09 Sebastien Pouliot <[email protected]>
* Decimal.cs: Fixed GetHashCode to return different result for X and -X.

svn path=/trunk/mcs/; revision=29139
2004-06-09 22:38:33 +00:00
Duncan Mak 7e1ce1a201 (RegisterObject): Add checks for ArgumentNullException as well.
r=lluis

svn path=/trunk/mcs/; revision=29138
2004-06-09 22:21:22 +00:00
Jackson Harper 62e8923475 Use the old one, there are a few issues that need to be resolved in the new one
svn path=/trunk/mcs/; revision=29137
2004-06-09 20:30:02 +00:00
Miguel de Icaza f879a12f34 API signature fixes
svn path=/trunk/mcs/; revision=29136
2004-06-09 20:15:14 +00:00
Jackson Harper c6e71b5f40 reduce toods crying
svn path=/trunk/mcs/; revision=29135
2004-06-09 19:43:04 +00:00
Gonzalo Paniagua Javier 2b7bb3b74a 2004-06-09 Gonzalo Paniagua Javier <[email protected]>
* HttpContext.cs: reverting Pedro's patch and sending mail with test
	to mono-devel.

svn path=/trunk/mcs/; revision=29134
2004-06-09 19:22:26 +00:00
Gert Driesen 15fcfc0166 * TypeBuilderTest.cs: Added tests for completed/created type
* FieldBuilderTest.cs: Added tests for FieldBuilder (mostly
checking error conditions for now)

* EnumBuilderTest.cs: Added tests for EnumBuilder

* MethodBuilderTest.cs: Added tests for invalid parameter
indexes for created types, added test for GetHashCode

svn path=/trunk/mcs/; revision=29133
2004-06-09 19:21:44 +00:00
Gert Driesen 8f6a62c321 * FieldBuilder.cs: fixed implementation to match MS.NET,
meaning throw InvalidOperationException for methods that
should not be allowed to execute when type has been
created, and throw NotSupportedException for methods and
properties that should not be called on FieldBuilder

svn path=/trunk/mcs/; revision=29132
2004-06-09 19:16:17 +00:00
Sebastien Pouliot e677cd0529 2004-06-09 Sebastien Pouliot <[email protected]>
* Makefile: Don't sign this assembly as it is fully signed during
	compilation (we have the original private key). Thanks to Jackson.

svn path=/trunk/mcs/; revision=29131
2004-06-09 18:58:16 +00:00
Sebastien Pouliot b250033002 2004-06-09 Sebastien Pouliot <[email protected]>
* library.make: Added support to fully sign assemblies when doing a
	"make install" (thanks to Jackson :-).

svn path=/trunk/mcs/; revision=29130
2004-06-09 18:56:21 +00:00
Gert Driesen 4b118ebec5 * MethodBuilder.cs: move check to see if type has already
been created up, to match MS.NET behaviour. Fix GetHashCode
(removed TODO)

svn path=/trunk/mcs/; revision=29129
2004-06-09 18:29:11 +00:00
Martin Baulig b92852c716 This error checking rule was never applied due to a reduce/reduce conflict.
svn path=/trunk/mcs/; revision=29128
2004-06-09 18:14:43 +00:00
Gert Driesen 29a02024d6 * AssemblyNameTests.cs: added tests for AssemblyName.FullName
and serialization of AssemblyName, converted tests to use Assert
class

svn path=/trunk/mcs/; revision=29127
2004-06-09 17:53:12 +00:00
Atsushi Eno 25244c80c2 2004-06-09 Atsushi Enomoto <[email protected]>
* UriBuilderTest.cs : Actually Query() and Fragment() didnt pass under
	  MS.NET.

svn path=/trunk/mcs/; revision=29125
2004-06-09 17:44:22 +00:00
Atsushi Eno 0dc3354b11 2004-06-09 Atsushi Enomoto <[email protected]>
* UriBuilderTest.cs: Please don't hardcode non-ASCII/non-UTF8
	  character in the sources.

svn path=/trunk/mcs/; revision=29124
2004-06-09 17:27:58 +00:00
Duncan Mak 099f56bc86 * BufferedStream.cs (SetLength): Add checks and throw the
appropriate Exceptions here instead.

* FileStream.cs (SetLength): Revert part of my last patch, we're
throwing ObjectDisposedException instead of IOException again.

svn path=/trunk/mcs/; revision=29123
2004-06-09 17:10:54 +00:00
Jackson Harper efd6612d24 * gacutil.exe.sources: Make the new gacutil the default and return
seats to their upright position.

svn path=/trunk/mcs/; revision=29122
2004-06-09 17:01:29 +00:00
Sebastien Pouliot c7579eb05e 2004-06-09 Sebastien Pouliot <[email protected]>
* Decimal.cs: Fixed remainder (and optimized some cases not to call
	unmanaged code). Simplified divide. Removed workaround for bug #59793.

svn path=/trunk/mcs/; revision=29121
2004-06-09 16:58:11 +00:00
Sebastien Pouliot bded94a7d1 2004-06-09 Sebastien Pouliot <[email protected]>
* Decimal.cs: Added tests for remainder, divide and parsing overflow.

svn path=/trunk/mcs/; revision=29120
2004-06-09 16:54:22 +00:00
Atsushi Eno ccbe1a058e 2004-06-09 Atsushi Enomoto <[email protected]>
* XmlNamespaceManager.cs : The error message was improper.
	  Fix for bug #59880.

svn path=/trunk/mcs/; revision=29119
2004-06-09 16:44:01 +00:00
Duncan Mak 70b35ad1a5 * SerializationInfoEnumerator.cs: Instead of using
IDictionaryEnumerator from a Hashtable, use a normal IEnumerator
from the newly added ArrayList in SerializationInfo.

* SerializationInfo.cs: Added an extra ArrayList so that we can
keep the SerializationEntrys added in the order.
(SerializationInfo, AddValue): Throw ArgumentNullException
correctly.

svn path=/trunk/mcs/; revision=29118
2004-06-09 16:26:08 +00:00
Jordi Mas i Hernandez 58d1c25081 simplifies object destruction and fixes
svn path=/trunk/mcs/; revision=29117
2004-06-09 16:14:53 +00:00
Paolo Molaro fa0c15d5b6 Improved vararg test.
svn path=/trunk/mcs/; revision=29115
2004-06-09 15:54:10 +00:00
Paolo Molaro 42cb850ada Wed Jun 9 18:23:59 CEST 2004 Paolo Molaro <[email protected]>
* icall.c: handle sentinel pos in vararg methods in position different
	from 0.

svn path=/trunk/mono/; revision=29114
2004-06-09 15:36:21 +00:00
Pedro Martínez Juliá 0a43522af6 2004-06-09 Pedro Mart�nez Juli� <[email protected]>
* HttpContext: User property returns its own "user" value because
    the context can walk through different Threads. When "User" property
    is changed, change "Thread.CurrentPrincipal" too.

svn path=/trunk/mcs/; revision=29113
2004-06-09 13:27:27 +00:00
Marek Safar 785445af36 new error test
svn path=/trunk/mcs/; revision=29112
2004-06-09 12:50:33 +00:00
Sebastien Pouliot a9e8ff0947 2004-06-09 Sebastien Pouliot <[email protected]>
* StrongNameManager.cs: Fix ToString() when no verificationSettings
	are present (used in sn -Vl).
	* sn.cs: Fixed to match documentation.

svn path=/trunk/mcs/; revision=29111
2004-06-09 12:07:17 +00:00
Sebastien Pouliot 83b82e4e4d 2004-06-09 Sebastien Pouliot <[email protected]>
* sn.1: Updated documentation to match the tool and to include more
	informations about the configuration kept in machine.config.

svn path=/trunk/mono/; revision=29110
2004-06-09 12:04:28 +00:00
Sanja Gupta a010c76173 ChangeLog: Updated ChangeLog
TestImageConverter.cs: Removed dependency on obsolete class,
		      Assertion from NUnit.

svn path=/trunk/mcs/; revision=29109
2004-06-09 11:57:49 +00:00
Marek Safar f5ade4f15c new error test
svn path=/trunk/mcs/; revision=29108
2004-06-09 11:27:07 +00:00
Jordi Mas i Hernandez 32f8bc7e0b added missing destructors
svn path=/trunk/mcs/; revision=29107
2004-06-09 11:06:00 +00:00
Sanja Gupta e7a66d7923 ChangeLog: Updated ChangeLog.
TestBitmap.cs, TestIcon.cs, TestIconConverter.cs: Removed
dependency on obsolete class, Assertion from NUnit.

svn path=/trunk/mcs/; revision=29106
2004-06-09 11:04:48 +00:00
Raja R Harinath 86ef6c503b Do away with stampfiles.
Introduce support for VB test cases.
* library.make (HAVE_CS_TESTS, HAVE_VB_TESTS): New auto-detecting
defines.
(stampfile, test_stampfile): Remove.
(clean-local): Don't mention them.
(test-local, run-test-local, run-test-ondotnet-local):
Make unconditional.
($(makefrag), $(test_makefrag)): Simplify.
($(btest_lib)): New.  Support for VB testcases.

svn path=/trunk/mcs/; revision=29105
2004-06-09 10:57:33 +00:00
Umadevi S 444b551e2d 2004-06-09 Umadevi S <[email protected]>
* Correct Add, InserAt testcases for DataTableMappingCollection

svn path=/trunk/mcs/; revision=29104
2004-06-09 10:32:13 +00:00
Sureshkumar T 0aef1ec5d0 * OdbcDataReader.cs: Removed checking of currentRow in GetName method
svn path=/trunk/mcs/; revision=29103
2004-06-09 10:28:13 +00:00
Umadevi S ef1237f9f7 2004-06-09 Umadevi S <[email protected]>
* DataTableMappingCollection.cs - fixed nunit testcase errors
        - Add, GetByDataSetTable,Insert, Remove, RemoveAt methods.

svn path=/trunk/mcs/; revision=29102
2004-06-09 10:24:01 +00:00
Raja R Harinath fb98cfaf90 Simplify slightly.
svn path=/trunk/mcs/; revision=29101
2004-06-09 10:02:25 +00:00
Gonzalo Paniagua Javier 31fdfdaac3 2004-06-09 Gonzalo Paniagua Javier <[email protected]>
* GlobalizationConfigurationHandler.cs: if no culture given, use the
	default one, not the invariant.

svn path=/trunk/mcs/; revision=29100
2004-06-09 09:51:06 +00:00
Gonzalo Paniagua Javier 6e508a36dd 2004-06-09 Gonzalo Paniagua Javier <[email protected]>
* culture-info-tables.h: freshly generated.

svn path=/trunk/mono/; revision=29099
2004-06-09 09:42:13 +00:00
Gonzalo Paniagua Javier fa3fece5a4 2004-06-09 Gonzalo Paniagua Javier <[email protected]>
* Driver.cs: handle single quotes in the pattern. We used to fail for,
	at least, es and pt cultures with full patterns like
	"EEEE d' de 'MMMM' de 'yyyy".

svn path=/trunk/mono/; revision=29098
2004-06-09 09:40:22 +00:00
Raja R Harinath 06bdfa7a56 (HAVE_CYCLIC_DEP_FILE): New. Used to detect if
System.Xml.dll is present.
(SECOND_PASS): Remove.

svn path=/trunk/mcs/; revision=29097
2004-06-09 09:15:20 +00:00
Umadevi S 859672405a 2004-06-09 Umadevi S <[email protected]>
* Corrected Remove method testcase

svn path=/trunk/mcs/; revision=29096
2004-06-09 09:00:02 +00:00
Umadevi S b92efab743 2004-06-09 Umadevi S <[email protected]>
* DataColumnMappingCollection.cs - fixed nunit testcase errors
        - GetByDataSetColumn,IndexOfDataSetColumn, Remove methods.

svn path=/trunk/mcs/; revision=29095
2004-06-09 08:57:24 +00:00
Raja R Harinath 5f397c7877 Remove stray space.
svn path=/trunk/mcs/; revision=29094
2004-06-09 08:23:01 +00:00
Raja R Harinath 8b7ae3326c Remove trailing empty lines
svn path=/trunk/mcs/; revision=29093
2004-06-09 08:21:21 +00:00
Raja R Harinath 89c949be67 Partial support for writing Visual Basic source files.
* rules.make (USE_MBAS_FLAGS,BASCOMPILE,INTERNAL_MBAS): New.
* config-default.make (MBAS_FLAGS, DEFAULT_MBAS_FLAGS): New.
* profiles/default.make (MBAS): New.

svn path=/trunk/mcs/; revision=29092
2004-06-09 08:19:15 +00:00
Raja R Harinath 8c1fc80fe6 Do away with stampfiles.
* executable.make (stampfile): Remove.
(clean-local): Remove mention of $(stampfile).
(test-local, run-test-local, run-test-ondotnet-local):
Make unconditional.  Add dummy rule to prevent other makefiles
from defining rules on these.
($(PROGRAM)): Depend directly on $(BUILT_SOURCES).
($(makefrag)): Simplify.

svn path=/trunk/mcs/; revision=29091
2004-06-09 08:12:16 +00:00
Raja R Harinath 95c8c4f8f5 (HAS_TEST): Remove.
(run-test-local): Move rules to and depend on ...
(run-cilc-test): ... this.

svn path=/trunk/mcs/; revision=29090
2004-06-09 08:08:22 +00:00
Raja R Harinath d59545c0ca (HAS_TEST): Remove.
(run-test-local): Disable for now.  Move rules to ...
(run-sqlsharp-test): ... this.

svn path=/trunk/mcs/; revision=29089
2004-06-09 08:08:03 +00:00
Raja R Harinath 79a72c3436 (HAS_TEST): Remove.
(run-test-local): Move rule to and depend on ...
(run-mbas-test): ... this.

svn path=/trunk/mcs/; revision=29088
2004-06-09 08:07:39 +00:00
Raja R Harinath da5d64df7e Remove trailing empty lines
svn path=/trunk/mcs/; revision=29087
2004-06-09 08:02:44 +00:00
Marek Safar b4e07fb8fd new error test
svn path=/trunk/mcs/; revision=29086
2004-06-09 07:51:18 +00:00
Gert Driesen 8a112edb56 * CompressedStack.cs: Added finalizer to match public API of
MS.NET

svn path=/trunk/mcs/; revision=29082
2004-06-09 04:56:20 +00:00
Gert Driesen 8f4b677f58 * Context.cs: Added finalizer to match MS.NET
svn path=/trunk/mcs/; revision=29081
2004-06-09 04:54:36 +00:00
Gert Driesen 1383411edd * IsolatedStorage.cs: use private variable for holding scope,
set scope in InitStore method, removed need for extra protected
member (public API fix)
* IsolatedStorageFile.cs: use InitStore to initialize scope

svn path=/trunk/mcs/; revision=29080
2004-06-09 04:48:36 +00:00
Jackson Harper 9ced84c8d8 * AssemblyName.cs (GetAssemblyName): Send a fullpath to the
runtime. This way the codebase is set properly. The codebase is
	using g_filename_to_uri which expects a full path.

svn path=/trunk/mcs/; revision=29079
2004-06-09 04:44:55 +00:00
Jackson Harper 16793ba679 * driver.cs: When checking refs don't bother using an AppDomain
and load the assembly using the code base so we get the right
	one. Print out the name of the non strong named assembly if one is
	referenced.

svn path=/trunk/mcs/; revision=29078
2004-06-09 04:35:47 +00:00
Gonzalo Paniagua Javier 7dcce26259 2004-06-09 Gonzalo Paniagua Javier <[email protected]>
* FileStream.cs: re-enabled ignoring broken pipe errors when reading.
	Fixes bug #59639.

svn path=/trunk/mcs/; revision=29077
2004-06-09 04:10:30 +00:00
Gert Driesen 7fa039a9be * MethodRentalTest.cs: Added check for invalid method size,
fixed tests on MS.NET, Mono-stylized

svn path=/trunk/mcs/; revision=29076
2004-06-09 03:53:52 +00:00
Gert Driesen 77e4340424 * MethodRental.cs: Added check for method size to match MS.NET
svn path=/trunk/mcs/; revision=29075
2004-06-09 03:46:13 +00:00
Sebastien Pouliot 0e862bf888 2004-06-08 Sebastien Pouliot <[email protected]>
* StrongName.cs: Synch with corlib (the new code isn't even compiled)
	in Mono.Security assembly.

svn path=/trunk/mcs/; revision=29074
2004-06-09 00:49:32 +00:00
Sebastien Pouliot d41f63f691 2004-06-08 Sebastien Pouliot <[email protected]>
* StrongName.cs: Added corlib specific code to load configuration
	from machine.config to allow public key token remapping to work
	with (for example) gacutil.
	* StrongNameManager.cs: Now load configuration from machine.config.

svn path=/trunk/mcs/; revision=29073
2004-06-09 00:47:21 +00:00
Gonzalo Paniagua Javier 08ea49abc6 updated with hints on attaching a file
svn path=/trunk/mono/; revision=29072
2004-06-08 23:34:48 +00:00
Duncan Mak 4bcfccc9f6 Use something more portable. Thanks for the suggestion, Gonzalo!
svn path=/trunk/mcs/; revision=29071
2004-06-08 23:23:58 +00:00
Martin Baulig 8f4d2c1f94 2004-06-09 Martin Baulig <[email protected]>
* loader.c (mono_get_method_constrained): Call `mono_class_init
	(constrained_class)'.

svn path=/trunk/mono/; revision=29068
2004-06-08 23:13:08 +00:00
Jordi Mas i Hernandez c881227ce3 compose sample
svn path=/trunk/mcs/; revision=29067
2004-06-08 23:08:08 +00:00
Jordi Mas i Hernandez 5dca3c6e39 SaveAdd wrappers
svn path=/trunk/mcs/; revision=29066
2004-06-08 23:06:16 +00:00
Duncan Mak 1e68e05910 (IsRootDirectory): New helper method for determining if a path is the
root directory. Handles both Unix as well as Windows.
(GetParent): Use IsRootDirectory for the check.

svn path=/trunk/mcs/; revision=29065
2004-06-08 21:29:57 +00:00
Duncan Mak 707853d557 (GetParentOfRootDirectory): Add test for
GetParent from the root directory.

svn path=/trunk/mcs/; revision=29064
2004-06-08 21:29:36 +00:00
Duncan Mak 6fd29319dd Fix embarrassment
svn path=/trunk/mcs/; revision=29063
2004-06-08 20:45:34 +00:00
Duncan Mak ea24ee3d3e Make it work on Windows as well
svn path=/trunk/mcs/; revision=29062
2004-06-08 20:28:52 +00:00
Duncan Mak 3f9d81d821 * File.cs: Fix line endings, took out ^Ms.
* Directory.cs (GetParent): Return null if the specified path is
the root directory.

svn path=/trunk/mcs/; revision=29061
2004-06-08 20:09:19 +00:00
Gert Driesen bbb9f8a37f * icall.c (ves_icall_MonoType_GetEvent): Handle events without
any methods. Fixes #59629.

svn path=/trunk/mono/; revision=29060
2004-06-08 19:50:29 +00:00
Sebastien Pouliot d976d4ee03 2004-06-08 Sebastien Pouliot <[email protected]>
* machine.config: Added strongname token remapping configuration.

svn path=/trunk/mono/; revision=29058
2004-06-08 19:30:12 +00:00
Sebastien Pouliot 60c0e8bee7 2004-06-08 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Updated version number for post beta 2.
	* StrongNameManager.cs: Changed XML format to be compatible with
	machine.config. Made token uppercase.
	* sn.cs: Now load the token remapping configuration from
	machine.config. Fixed some errors in help.

svn path=/trunk/mcs/; revision=29057
2004-06-08 19:26:16 +00:00
Duncan Mak 560c5a0645 (StreamReader):
(Initialize): Add a check that buffer_size must not be less than
or equal to zero.

svn path=/trunk/mcs/; revision=29056
2004-06-08 19:08:03 +00:00
Duncan Mak 6ea3a021d6 Add MacOS X installer.
svn path=/trunk/mono/; revision=29055
2004-06-08 18:41:20 +00:00
Jackson Harper 0cc5c10859 * driver.cs Add install from list and uninstall from list
commands. Allow options to come before commands. Add the /silent
	option so we can shut the tool up. And use returns instead of
	Environment.Exit where appropriate.

svn path=/trunk/mcs/; revision=29054
2004-06-08 18:40:51 +00:00
Duncan Mak 042a130ac1 (RegisterObject): Throw ArgumentOutOfRangeException if the objectID
parameter is less than or equal to zero. This check was missing from
this particular overload.

svn path=/trunk/mcs/; revision=29053
2004-06-08 18:39:04 +00:00
Atsushi Eno af5686ee0d 2004-06-08 Atsushi Enomoto <[email protected]>
* xsd.1 : some additional info.

svn path=/trunk/mono/; revision=29052
2004-06-08 18:30:19 +00:00
Atsushi Eno ec2ecd7275 2004-06-08 Atsushi Enomoto <[email protected]>
* DateTime.cs :
	  - Now re-checked all common format patterns. They should be tried
	    with both current culture and invariant culture. Since '/' covers
	    '-', removed extraneous patterns. Added more common patterns
	    such as "yyyy-MM-dd" and X509Certificate pattern (it is valid
	    only after NET_1_1). Commented out 1 character format patterns.
	  - The format patterns we should try should not be obtained by
	    GetAllDateTimePatterns(). Just use 'd', 'D', 't', 'T', ... (one
	    character patterns), to handle UTC correctly. Examined patterns
	    are changed, to 1) common patterns with specified (or current)
	    culture, 2) common patterns with invariant, 3) The above "one
	    character patterns" with specified (or current) culture.
	  - When trying to parse some kind of patterns such as RFC1123,
	    always use invariant DateTimeFormatInfo so that they can avoid
	    parsing with culture-dependent calendar.
	  - Check "GMT" only when doing Parse(). Don't it when ParseExact().
	  - Removed extraneous '-' case. It is not special one.
	  - When ParseExact(), allow only '/' for '/' pattern character.
	  - When Parse(), allow any non-letter & non-number characters.
	  - When pattern is not fully parsed, reject that format.
	  - Added "exact" parameter to some ParseExact().
	  - RFC1123 pattern is (again) now parsed in local time. I regressed
	    some problems in previous fix.

svn path=/trunk/mcs/; revision=29051
2004-06-08 18:21:54 +00:00
Atsushi Eno 6d3249f6f2 2004-06-08 Atsushi Enomoto <[email protected]>
* culture-info-tables.h: reflecting locale-builder updates.

svn path=/trunk/mono/; revision=29050
2004-06-08 17:58:50 +00:00
Atsushi Eno d1a28d06f5 2004-06-08 Atsushi Enomoto <[email protected]>
* ja.xml : added extra datetime patterns.
	* renamed ca.xml to added ca_ES.xml.
	* ca_ES.xml, ko_KR.xml, pt_BR.xml : fixed percent patterns.

svn path=/trunk/mono/; revision=29049
2004-06-08 17:57:13 +00:00
Atsushi Eno 93ca27d6be 2004-06-08 Atsushi Enomoto <[email protected]>
* Driver.cs : To make "extra pattern only" xxxFormatLength possible,
	  fill values only when the exact element was available.

svn path=/trunk/mono/; revision=29048
2004-06-08 17:44:37 +00:00
Duncan Mak b747124904 Add mono.snk
svn path=/trunk/mcs/; revision=29046
2004-06-08 17:32:30 +00:00
Atsushi Eno 602d465be5 2004-06-08 Atsushi Enomoto <[email protected]>
* DateTimeTest.cs :
	  - Added TestParse3() (not-allowed pattern example), ParseUtcNonUtc()
	    ("GMT" strings and time adjustment), TimeZoneAdjustment() ('Z'
	    pattern conditions) and CultureIndependentTests() (batch tests for
	    _all_ or almost all cultures).
	  - Added more Z string to X509Certificate test.
	  - Added ParseAllowsQueerString() [not fixed].

svn path=/trunk/mcs/; revision=29045
2004-06-08 17:28:34 +00:00
Lluis Sanchez 36e32abfec * ReadOnlyCollectionBase.cs: Renamed internal variable to make serialization
compatible with MS.NET.

svn path=/trunk/mcs/; revision=29044
2004-06-08 16:33:05 +00:00
Gonzalo Paniagua Javier f7f0210dc1 style and ^Ms in last patch from Alon
svn path=/trunk/mcs/; revision=29043
2004-06-08 15:50:13 +00:00
Gonzalo Paniagua Javier f05b15b50b 2004-06-08 Gonzalo Paniagua Javier <[email protected]>
* HttpRequest.cs: removed extra ^Ms and fixed style of last patch.

svn path=/trunk/mcs/; revision=29042
2004-06-08 15:44:57 +00:00
Paolo Molaro 78bc1fefbb Tue Jun 8 16:37:15 CEST 2004 Paolo Molaro <[email protected]>
* inssel-long32.brg: implemented a few missing ulong cast opcodes.

svn path=/trunk/mono/; revision=29041
2004-06-08 13:49:15 +00:00
Marek Safar 18a52a02d0 2004-06-08 Marek Safar <[email protected]>
* class:
	(Method.ApplyAttributeBuilder): Moved and added conditional
	attribute error tests (CS0577, CS0578, CS0243, CS0582, CS0629).

	* delegate.cs:
	(DelegateCreation.ResolveMethodGroupExpr): Added error CS1618 test.

svn path=/trunk/mcs/; revision=29040
2004-06-08 13:43:40 +00:00
Dick Porter e37a61824f 2004-06-08 Dick Porter <[email protected]>
* CultureInfo.cs: Make calendar_data readonly, to match the
	const-ness in the runtime.

svn path=/trunk/mcs/; revision=29039
2004-06-08 13:42:30 +00:00
Dick Porter a7bd34ac55 2004-06-08 Dick Porter <[email protected]>
* object.h:
	* locales.c: Fixed compile warnings, including a real bug in
	CompareInfo_internal_compare.

svn path=/trunk/mono/; revision=29038
2004-06-08 13:40:51 +00:00
Marek Safar d5902eb57e 2004-06-08 Marek Safar <[email protected]>
Fixed #59640
	* class.cs: (EventField.attribute_targets): Changed default target.

svn path=/trunk/mcs/; revision=29037
2004-06-08 13:20:37 +00:00
Dick Porter d6c273362d 2004-06-08 Dick Porter <[email protected]>
* locales.c
	(ves_icall_System_Globalization_CompareInfo_internal_index):
	(ves_icall_System_Globalization_CompareInfo_internal_index_char):
	Double-check the resuls of usearches, because ICU currently
	ignores most of the collator settings here.  Fixes bug 59720.

svn path=/trunk/mono/; revision=29036
2004-06-08 13:10:03 +00:00
Sebastien Pouliot 7662436177 2004-06-08 Sebastien Pouliot <[email protected]>
* Decimal.cs: Fixed cast to integer types to truncate (not round) the
	value.

svn path=/trunk/mcs/; revision=29035
2004-06-08 13:05:03 +00:00
Sebastien Pouliot 5c3bb3d662 2004-06-08 Sebastien Pouliot <[email protected]>
* DecimalTest.cs: Added test case for truncating including indirect
	truncates with cast to integer types.

svn path=/trunk/mcs/; revision=29034
2004-06-08 12:51:36 +00:00
Paolo Molaro 61a93e9316 Tue Jun 8 15:36:30 CEST 2004 Paolo Molaro <[email protected]>
* Makefile.am: remove the -static hack completely, it links in
	statically glib as well.

svn path=/trunk/mono/; revision=29033
2004-06-08 12:48:36 +00:00
Dick Porter 2e1893674c 2004-06-08 Dick Porter <[email protected]>
* locales.c
	(ves_icall_System_Globalization_CompareInfo_internal_index_char):
	Fix memory leak and segfault-causing typo.  No idea how this one
	lasted so long without being noticed.

svn path=/trunk/mono/; revision=29031
2004-06-08 12:30:58 +00:00
Anirban Bhattacharjee bfac4f91e3 * mb-parser.jay:
* statement.cs:
                Few exception checks for Event

svn path=/trunk/mcs/; revision=29029
2004-06-08 11:59:29 +00:00
Jordi Mas i Hernandez 3123d99964 Cairo GTK# Mono sample
svn path=/trunk/mcs/; revision=29025
2004-06-08 10:25:56 +00:00
Jordi Mas i Hernandez 8408ea898a Mono.Cairo fixes
svn path=/trunk/mcs/; revision=29024
2004-06-08 10:19:55 +00:00
Umadevi S 033a269ef9 2004-06-08 Umadevi S <[email protected]>
* Corrected the contains testcase to test for invalidcastexception

svn path=/trunk/mcs/; revision=29023
2004-06-08 10:17:16 +00:00
Umadevi S eaabecc4bc 2004-06-08 Umadevi S <[email protected]>
* DataColumnMappingCollection.cs - fixed nunit testcase errors.
        - remove, removeat, contains methods.

svn path=/trunk/mcs/; revision=29022
2004-06-08 10:14:38 +00:00
Zoltan Varga b735fc2576 2004-06-09 Zoltan Varga <[email protected]>
* icall.c (ves_icall_Type_GetEvents_internal): Handle events without
	any methods. Fixes #59629.

svn path=/trunk/mono/; revision=29021
2004-06-08 08:40:52 +00:00
Alon Gazit c11a57d9e8 Changing the implementation of HttpRequest.ServerVariables.
svn path=/trunk/mcs/; revision=29020
2004-06-08 07:24:00 +00:00
Alon Gazit b78bafeecd Adding ServerVariablesCollection.
svn path=/trunk/mcs/; revision=29019
2004-06-08 07:18:34 +00:00
Gonzalo Paniagua Javier 2dbdb5b80f 2004-06-08 Gonzalo Paniagua Javier <[email protected]>
* System.Web.dll.sources: removed CSCompiler.cs

	* System.Web.Compilation/CSCompiler.cs: removed.

	* System.Web.Compilation/CachingCompiler.cs: language independent
	compilation for single files.

	* System.Web.UI/SimpleWebHandlerParser.cs:
	* System.Web.UI/TemplateParser.cs: pass the language when compiling from
	a file.

svn path=/trunk/mcs/; revision=29017
2004-06-08 06:20:11 +00:00
Gonzalo Paniagua Javier 2511627962 2004-06-08 Gonzalo Paniagua Javier <[email protected]>
* BaseCompiler.cs:
	* WebServiceCompiler.cs: adapted to the 'new' CachingCompiler.
	* CachingCompiler.cs: use HttpRuntime.Cache.

svn path=/trunk/mcs/; revision=29016
2004-06-08 05:50:09 +00:00
Anirban Bhattacharjee 643b535a94 a complete set positive tests for invoking event
svn path=/trunk/mcs/; revision=29015
2004-06-08 05:22:46 +00:00
Gonzalo Paniagua Javier b828b4c975 2004-06-08 Gonzalo Paniagua Javier <[email protected]>
* assembly.c:
	(mono_assembly_load): search_loaded -> mono_assembly_loaded (we didn't
	own the critical section before). Removed dead code (that's done
	in the preload hook).

	(mono_assembly_load_with_partial_name): call the preload hook.

svn path=/trunk/mono/; revision=29014
2004-06-08 05:17:45 +00:00
Umadevi S e408112803 2004-06-08 Umadevi S <[email protected]>
* SqlGuid.cs - fixed bug 59420. Implemented CompareTo according to MSDN documenation

svn path=/trunk/mcs/; revision=29013
2004-06-08 04:45:30 +00:00
Miguel de Icaza f71a24e7b2 Sort
svn path=/trunk/mono/; revision=29012
2004-06-08 04:06:19 +00:00
Gonzalo Paniagua Javier 6117ef7c7a 2004-06-08 Gonzalo Paniagua Javier <[email protected]>
* SimpleWebHandlerParser.cs: if we have a global.asax, move its
	reference to the end to help mcs loading the assemblies. Fixes bug
	#58768.

	* TemplateParser.cs: same as above. Removed some kludges to workaround
	loading assemblies from bin path that are now in the runtime. Don't
	load the assemblies in bin if not needed, but still reference them
	when compiling.

svn path=/trunk/mcs/; revision=29010
2004-06-08 03:56:25 +00:00
Miguel de Icaza 9d8d381108 Disable 269 until #59750 is fixed
svn path=/trunk/mcs/; revision=29009
2004-06-08 03:46:35 +00:00
Martin Baulig 3678da8073 Improved this test a bit.
svn path=/trunk/mcs/; revision=29008
2004-06-08 03:08:24 +00:00
Martin Baulig 0c77e93acb Reflect latest API changes.
svn path=/trunk/mcs/; revision=29006
2004-06-08 02:58:31 +00:00
Martin Baulig 749271a2c6 2004-06-08 Martin Baulig <[email protected]>
* metadata.c (mono_metadata_signature_alloc): Default
	`sentinelpos' to -1.

	* reflection.c (mono_image_get_array_token): Likewise.

svn path=/trunk/mono/; revision=29005
2004-06-08 02:45:57 +00:00
Martin Baulig 3cd93d228c 2004-06-08 Martin Baulig <[email protected]>
* test-269.cs: New test for varargs methods.

svn path=/trunk/mcs/; revision=29004
2004-06-08 02:34:51 +00:00
Martin Baulig 7da009db81 2004-06-08 Martin Baulig <[email protected]>
* expression.cs (Invocation.EmitCall): Enable varargs methods.

svn path=/trunk/mcs/; revision=29003
2004-06-08 02:30:21 +00:00
Martin Baulig 735998cb27 2004-06-08 Martin Baulig <[email protected]>
* dump.c (dump_table_memberref): Added support for MethodDef
	parents.

svn path=/trunk/mono/; revision=29002
2004-06-08 02:28:45 +00:00
Martin Baulig d2d6aae795 Incremented version number.
svn path=/trunk/mcs/; revision=29001
2004-06-08 02:26:41 +00:00
Martin Baulig 1b05fa056c 2004-06-08 Martin Baulig <[email protected]>
* ILGenerator.cs (TokenGenerator.GetToken): Added overloaded
	version which takes a MethodInfo and a Type[].
	(IlGenerator.EmitCall): When emitting a call to a varargs method,
	use the new GetToken() to pass the optional argument types to the
	runtime.

	* ModuleBuilder.cs (ModuleBuilder.getMethodToken): New interncall.

svn path=/trunk/mcs/; revision=29000
2004-06-08 02:26:17 +00:00
Martin Baulig e62e8cad56 2004-06-08 Martin Baulig <[email protected]>
* icall.c (ves_icall_ModuleBuilder_getMethodToken): New icall.

	* metadata.c (mono_metadata_parse_method_signature): When parsing
	a MethodDef which has VarArgs, set sentinelpos.

	* metadata.h (MonoMethodSignature): Make `sentinalpos' a signed
	`gint16' since we're using -1 for non-varargs methods.

	* reflection.c
	(ReflectionMethodBuilder): Added `MonoArray *opt_types'.
	(method_encode_signature): Added varargs support.
	(method_builder_encode_signature): Likewise.
	(mono_image_get_varargs_method_token): New static method.
	(mono_image_create_method_token): New public method; this is
	called via an icall instead of mono_image_create_token() when
	calling a varargs method.

svn path=/trunk/mono/; revision=28999
2004-06-08 02:23:00 +00:00
Duncan Mak 319a9f2994 Fix the brokeness that I introduced earlier
svn path=/trunk/mcs/; revision=28998
2004-06-08 00:30:41 +00:00
Duncan Mak 48eeb710ff * Exception.cs (Source): This can return null.
* ExceptionTest.cs: Added [Test] attributes to the test methods.
(InnerExceptionSource): Test that the InnerException's Source is
null unless it's been set.

svn path=/trunk/mcs/; revision=28997
2004-06-08 00:04:09 +00:00
Duncan Mak 02a60df845 Fix embarrassing typos.
svn path=/trunk/mcs/; revision=28996
2004-06-07 23:09:12 +00:00
Sebastien Pouliot f13be0a060 2004-06-07 Sebastien Pouliot <[email protected]>
* DateTime.cs: Fixed constructor to limit range of milliseconds from
	0,999. Fixed ToType method to work for object, string and DateTime.

svn path=/trunk/mcs/; revision=28995
2004-06-07 23:07:39 +00:00
Sebastien Pouliot 6a5c6409b9 2004-06-07 Sebastien Pouliot <[email protected]>
* DateTimeTest.cs: Added test cases for ToType (conversion) and
	contructors (milliseconds).

svn path=/trunk/mcs/; revision=28994
2004-06-07 23:05:01 +00:00
Duncan Mak 9eb61b41c6 * FileStream.cs (SetLength): The other exceptions have precendence
over ObjectDisposedException, which is not one of the exceptions
listed in the documentation). Also, instead of throwing an
ObjectDisposedException, throw an IOException.

* FileStreamTest.cs (SetLengthWithClosedBaseStream): New test for
checking that the correct exception is thrown when the base stream
is closed.

svn path=/trunk/mcs/; revision=28993
2004-06-07 22:24:05 +00:00
Lluis Sanchez 04f963e7ac * locales.c: Fixed memory leak in Char.ToLower/ToUpper.
svn path=/trunk/mono/; revision=28992
2004-06-07 21:56:33 +00:00
Martin Baulig 951854f640 2004-06-08 Martin Baulig <[email protected]>
* rootcontext.cs (ResolveCore): Added "System.RuntimeArgumentHandle".

svn path=/trunk/mcs/; revision=28990
2004-06-07 21:41:54 +00:00
Jackson Harper 4983c84a37 * driver.cs: Add -check_refs option to check if all referenced
assemblies are stron named. Fix some pathing issues when create
	links for packaged. Update todds (C) info.

svn path=/trunk/mcs/; revision=28989
2004-06-07 20:47:56 +00:00
Miguel de Icaza 0d15631806 Flush
svn path=/trunk/mono/; revision=28988
2004-06-07 20:41:56 +00:00
Lluis Sanchez 996c280341 * LeaseManager.cs: In StopManager, nullify the timer variable before
disposing, since Dispose may abort the current thread.

svn path=/trunk/mcs/; revision=28986
2004-06-07 20:05:15 +00:00
Atsushi Eno 46ae83cb6b 2004-06-08 Atsushi Enomoto <[email protected]>
* culture-info-tables.h : Reflecting the latest locale-builder that
	  fixed empty array representation ({} to {0}).

svn path=/trunk/mono/; revision=28985
2004-06-07 19:44:36 +00:00
Atsushi Eno 5041fb195a 2004-06-08 Atsushi Enomoto <[email protected]>
* DateTimeFormatEntry.cs : Use "{0}" for empty array.

svn path=/trunk/mono/; revision=28984
2004-06-07 19:42:23 +00:00
Martin Baulig 5f2722c1ab 2004-06-07 Martin Baulig <[email protected]>
Added support for varargs methods.

	* cs-tokenizer.cs (Token.ARGLIST): New token for the `__arglist'
	keyword.

	* cs-parser.jay: Added support for `__arglist'.

	* decl.cs (MemberCache.AddMethods): Don't ignore varargs methods.

	* expression.cs (Argument.AType): Added `ArgList'.
	(Invocation): Added support for varargs methods.
	(ArglistAccess): New public class.
	(Arglist): New public class.

	* parameter.cs (Parameter.Modifier): Added `ARGLIST'.

	* statement.cs (Block.Flags): Added `HasVarargs'.  We set this on
	a method's top-level block if the method has varargs.

	* support.cs (ReflectionParameters, InternalParameters): Added
	support for varargs methods.

svn path=/trunk/mcs/; revision=28983
2004-06-07 19:09:51 +00:00
Sebastien Pouliot 3860098f96 2004-06-07 Sebastien Pouliot <[email protected]>
* HttpContext.cs: User property now get/set Thread.CurrentPrincipal.
	Fix (at least partially) #59683.

svn path=/trunk/mcs/; revision=28981
2004-06-07 17:56:02 +00:00
Atsushi Eno 057b5cc83b 2004-06-07 Atsushi Enomoto <[email protected]>
* UTF8Encoding.cs : Length check must be done only when the character
	  sequence is valid (i.e. should not check when it is overlongs).
	  See also TestThrowOnInvalid().

svn path=/trunk/mcs/; revision=28980
2004-06-07 17:54:23 +00:00
Atsushi Eno 8dcd4adc79 2004-06-07 Atsushi Enomoto <[email protected]>
* UTF8EncodingTest.cs : Added TestThrowOnInvalid().

svn path=/trunk/mcs/; revision=28979
2004-06-07 17:53:40 +00:00
Jackson Harper 176131d58d * assembly.c: It should be <MONO_GAC_PATH>/lib/mono/gac when
looking up extra gac paths. This allows MONO_GAC_PATH to act
	exactly like a prefix.

svn path=/trunk/mono/; revision=28978
2004-06-07 17:51:30 +00:00
Sebastien Pouliot c685300076 2004-06-07 Sebastien Pouliot <[email protected]>
* DateTime.cs: Fixed FromFileTime for negative values.

svn path=/trunk/mcs/; revision=28977
2004-06-07 17:40:24 +00:00
Sebastien Pouliot 29ef6c0887 2004-06-07 Sebastien Pouliot <[email protected]>
* DateTimeTest.cs: Added test cases for FromFileTime.

svn path=/trunk/mcs/; revision=28976
2004-06-07 17:38:45 +00:00
Atsushi Eno 365aff1294 2004-06-07 Atsushi Enomoto <[email protected]>
* UTF8Encoding.cs : Added Overlong check to InternalGetCharCount().

svn path=/trunk/mcs/; revision=28975
2004-06-07 17:35:49 +00:00
Sebastien Pouliot 371950d818 2004-06-07 Sebastien Pouliot <[email protected]>
* DateTime.cs: Fixed OLE Automation date conversions: timezone
	insensitive, wrong exception in FromOADate, handling of Min/Max
	values, negative doubles where integer part is negative but
	decimals are positive! Charming format ;-)

svn path=/trunk/mcs/; revision=28973
2004-06-07 16:42:58 +00:00
Sebastien Pouliot 610176186b 2004-06-07 Sebastien Pouliot <[email protected]>
* DateTimeTest.cs: Added new test cases for From|ToOADate (OLE
	Automation date format).

svn path=/trunk/mcs/; revision=28972
2004-06-07 16:38:29 +00:00
Zoltan Varga 73385f7638 2004-06-08 Zoltan Varga <[email protected]>
* reflection.c (mono_reflection_type_from_name): Make a copy of the
	type name before modifying it. Fixes #59405.

svn path=/trunk/mono/; revision=28971
2004-06-07 16:22:02 +00:00
Atsushi Eno 4d06f9db21 2004-06-08 Atsushi Enomoto <[email protected]>
* en.xml : added "all datetime" pattern strings.
	* ca.xml, da.xml, el.xml, fi.xml, fr_FR.xml, he.xml, hu.xml,
	  nl_NL.xml : fixed percent patterns.

svn path=/trunk/mono/; revision=28970
2004-06-07 15:25:36 +00:00
Atsushi Eno b80bb48164 2004-06-08 Atsushi Enomoto <[email protected]>
* DateTimeFormatEntry.cs : Added "all datetime patterns" support.
	* Driver.cs : Added "all datetime patterns" support and fixed some
	  XPathNavigator use to strictly navigate to "pattern" element.

svn path=/trunk/mono/; revision=28969
2004-06-07 15:21:58 +00:00
Atsushi Eno 9f6d841887 2004-06-08 Atsushi Enomoto <[email protected]>
* culture-info.h: added fields for "all datetime patterns".
	* locales.c: (  ves_icall_System_Globalization_CultureInfo
	  _construct_datetime_format ()): fill xxx_patterns fields.
	* object.h: added fields for "all datetime patterns" to
	  MonoDateTimeFormatInfo.
	* culture-info-tables.h: reflecting locale-builder updates.

svn path=/trunk/mono/; revision=28968
2004-06-07 15:19:26 +00:00
Atsushi Eno b01c7bf7e6 2004-06-07 Atsushi Enomoto <[email protected]>
* UTF8Encoding.cs : Throw overlongs error only when throwOnInvalid is
	  true. Otherwise just ignore them.

svn path=/trunk/mcs/; revision=28966
2004-06-07 14:25:30 +00:00
Gonzalo Paniagua Javier 15101831e0 2004-06-07 Gonzalo Paniagua Javier <[email protected]>
* System.Web.dll.sources: removing ServerVariablesCollection. It does
	not compile.

	* System.Web/HttpRequest.cs: reverting patch from Alon Gazit. Uses the
	above file that doesn't compile.

svn path=/trunk/mcs/; revision=28965
2004-06-07 14:10:06 +00:00
Gonzalo Paniagua Javier bdc9cd0b33 2004-06-07 Gonzalo Paniagua Javier <[email protected]>
* XmlInputStream.cs: Initialize reads a larger buffer now when trying
	to guess the encoding.

svn path=/trunk/mcs/; revision=28964
2004-06-07 13:52:46 +00:00
Raja R Harinath 78f6c7b235 testcase from 59477
svn path=/trunk/mcs/; revision=28962
2004-06-07 12:35:11 +00:00
Raja R Harinath 1b0107aba9 * cs0038-2.cs: New test, from bug #59477.
* mcs-expect-wrong-error: Add cs0038-1.

svn path=/trunk/mcs/; revision=28961
2004-06-07 12:34:15 +00:00
Alon Gazit 7412e7bb11 this implementation is using a lazy loading mechanism for the server variables.
svn path=/trunk/mcs/; revision=28959
2004-06-07 12:11:06 +00:00
Alon Gazit 95ee9bf391 fixed ParseServerVariables().
using the new implementation of ServerVariablesCollection.

svn path=/trunk/mcs/; revision=28958
2004-06-07 12:10:01 +00:00
Alon Gazit ad0b04add4 added ServerVariablesCollection.
svn path=/trunk/mcs/; revision=28957
2004-06-07 11:55:02 +00:00
Alon Gazit 8a5e2b7bcf using cache to get performance improvement.
svn path=/trunk/mcs/; revision=28956
2004-06-07 11:40:32 +00:00
Alon Gazit 476dc8a213 Changed Page.ProcessPostData().
After the change ,the state of controls that aren't visible is saved
during a postback.

svn path=/trunk/mcs/; revision=28955
2004-06-07 11:24:04 +00:00
Anirban Bhattacharjee e5b875d24b few event related test cases
svn path=/trunk/mcs/; revision=28954
2004-06-07 11:00:34 +00:00
Anirban Bhattacharjee dfb5fd35c3 * mb-parser.jay: Resolved the problem in Sub statement with Handles clause
* class.cs: Added a AddEventHandler function and a EventHandler readonly property. Also modified define of constructor to accommodate Handles clause.
                    If one initialize a event handler as
                        Sub Handler() Handles x.Event
                    The handler will be initialized by the constructor of the corresponding class by calling AddHandler.

svn path=/trunk/mcs/; revision=28953
2004-06-07 10:45:27 +00:00
Jambunathan K a44a9a40ed Created new resource bundlr for VB errors. Implemented almost nearly
fully the Microsoft.VisualBasic.Information class.

svn path=/trunk/mcs/; revision=28950
2004-06-07 08:44:52 +00:00
Zoltan Varga a43fb9484a 2004-06-08 Zoltan Varga <[email protected]>
* icall.c (ves_icall_Type_GetEvents_internal): Handle the case when
	the event has no add and remove methods. Fixes #59629.

svn path=/trunk/mono/; revision=28949
2004-06-07 08:10:18 +00:00
Atsushi Eno a4e5ec25e0 2004-06-07 Atsushi Enomoto <[email protected]>
* RncParser.jay : removed unused code. Fixed LookupNamespace() to
	  pass atomized name always.

svn path=/trunk/mcs/; revision=28948
2004-06-07 07:57:42 +00:00
Gonzalo Paniagua Javier aa47cc4f03 2004-06-07 Gonzalo Paniagua Javier <[email protected]>
* TraceData.cs: fixes nullref in an application that relies on
	r ["Message"] not being null. Closes bug #59679.

svn path=/trunk/mcs/; revision=28946
2004-06-07 04:54:11 +00:00
Gonzalo Paniagua Javier 1ea661c0ad 2004-06-07 Gonzalo Paniagua Javier <[email protected]>
* xmltest.cs: directory name of extracted test cases is lower case.

svn path=/trunk/mcs/; revision=28945
2004-06-07 04:44:26 +00:00
Miguel de Icaza 13f69a2002 2004-06-07 Miguel de Icaza <[email protected]>
* class.cs: Provide location in indexer error report.

	* driver.cs: Use standard names.

	* namespace.cs: Catch the use of using after a namespace has been
	declared also on using aliases.

svn path=/trunk/mcs/; revision=28944
2004-06-07 04:10:19 +00:00
Gonzalo Paniagua Javier 8d79b5bec0 2004-06-07 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: removed obsolete MonoTODO from RegisterOnSubmitStatement.

svn path=/trunk/mcs/; revision=28943
2004-06-07 04:08:16 +00:00
Gonzalo Paniagua Javier ab45d4c0f3 2004-06-07 Gonzalo Paniagua Javier <[email protected]>
* HttpCachePolicy.cs: implemented SetAllowResponseInBrowserHistory.

svn path=/trunk/mcs/; revision=28942
2004-06-07 03:46:57 +00:00
Gonzalo Paniagua Javier a2ae0c940e 2004-06-07 Gonzalo Paniagua Javier <[email protected]>
* HttpRuntime.cs: implemented a 5 simple properties that were TODOs.

svn path=/trunk/mcs/; revision=28941
2004-06-07 01:21:33 +00:00
Gonzalo Paniagua Javier 030c406856 2004-06-07 Gonzalo Paniagua Javier <[email protected]>
* Calendar.cs: implemented OnPreRender and HasWeekSelectors.

svn path=/trunk/mcs/; revision=28940
2004-06-07 00:36:36 +00:00
Sebastien Pouliot c93f8968d4 2004-06-06 Sebastien Pouliot <[email protected]>
* String.cs: Fixed Join in case separator parameter is null.
	* TimeSpan.cs: Cache format errors during parsing and throw
	FormatException only if there was no overflow.

svn path=/trunk/mcs/; revision=28939
2004-06-07 00:03:37 +00:00
Sebastien Pouliot 7418f812b2 2004-06-06 Sebastien Pouliot <[email protected]>
* TimeSpanTest.cs: Added test to verify exception order when a parsed
	string is both invalid (format) and contains an overflow.

svn path=/trunk/mcs/; revision=28938
2004-06-06 23:55:05 +00:00
Gonzalo Paniagua Javier a952b3414f 2004-06-07 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpBrowserCapabilities.cs: implemented ClrVersion and
	GetClrVersions.

	* System.Web.Configuration/HttpCapabilitiesBase.cs: set the useragent
	of the new HttpBrowserCapabilities object.

	* System.Web/HttpException.cs: removed MonoTODO.

svn path=/trunk/mcs/; revision=28936
2004-06-06 23:18:11 +00:00
Gonzalo Paniagua Javier 32f421da00 2004-06-07 Gonzalo Paniagua Javier <[email protected]>
* AcceptEncodingModule.cs: don't cause nullref if there's no
	<mono.aspnet> section and the module is loaded.

svn path=/trunk/mcs/; revision=28935
2004-06-06 23:05:48 +00:00
Gonzalo Paniagua Javier 1f0785be03 2004-06-06 Gonzalo Paniagua Javier <[email protected]>
* System/String.cs: Concat (params (string|object) []) now uses
	InternalJoin instead of InternalAllocateStr + InternalStrcpy.
	* Test/System/StringTest.cs: added test for Concat (params) overrides.

svn path=/trunk/mcs/; revision=28932
2004-06-06 20:11:18 +00:00
Atsushi Eno fbd34f4d08 2004-06-06 Atsushi Enomoto <[email protected]>
* XmlDataDocument.cs :
	  - It was not handling SimpleContent. This fixes bug #56951.
	  - It was not converting values into DataType of the DataColumn.

svn path=/trunk/mcs/; revision=28931
2004-06-06 20:08:18 +00:00
Atsushi Eno c9076f36ed 2004-06-06 Atsushi Enomoto <[email protected]>
* XmlSchemaDataImporter.cs : We should fill Namespace for DataTable.

svn path=/trunk/mcs/; revision=28923
2004-06-06 19:49:38 +00:00
Sebastien Pouliot 2936c54e67 2004-06-06 Sebastien Pouliot <[email protected]>
* String.cs: Fixed Join in case separator parameter is null.

svn path=/trunk/mcs/; revision=28919
2004-06-06 18:40:32 +00:00
Sebastien Pouliot bab2504ace 2004-06-06 Sebastien Pouliot <[email protected]>
* StringTest.cs: Added more cases for Join (null separator and null
	values).

svn path=/trunk/mcs/; revision=28918
2004-06-06 18:33:45 +00:00
Gonzalo Paniagua Javier 1ec601054f removed ^M added in the last patch
svn path=/trunk/mcs/; revision=28917
2004-06-06 18:03:54 +00:00
Gert Driesen 73fe091819 * MonoCustomAttrs.cs: fixed issue where an empty array was
returned when GetCustomAttributes was invoked with null
attribute type and there was only one result

svn path=/trunk/mcs/; revision=28916
2004-06-06 17:52:35 +00:00
Gonzalo Paniagua Javier 671f8b5ce6 2004-06-06 Gonzalo Paniagua Javier <[email protected]>
* ChunkStream.cs: added ChunkLeft property.
	* WebConnection.cs:
	(EndRead): when using small byte arrays to read from a chunked stream,
	ensure we've read the chunk size and try to fulfill the request
	completely. fixes bug 59653.

svn path=/trunk/mcs/; revision=28915
2004-06-06 17:41:06 +00:00
Sebastien Pouliot 289f6cd0cc 2004-06-06 Sebastien Pouliot <[email protected]>
* Int16.cs: Fixed ToString(String.Empty) to default ("G").
	* Int32.cs: Fixed ToString(String.Empty) to default ("G").
	* Int64.cs: Fixed ToString(String.Empty) to default ("G").
	* SByte.cs: Fixed ToString(String.Empty) to default ("G").
	* UInt16.cs: Fixed ToString(String.Empty) to default ("G").
	* UInt32.cs: Fixed ToString(String.Empty) to default ("G").
	* UInt64.cs: Fixed ToString(String.Empty) to default ("G").

svn path=/trunk/mcs/; revision=28914
2004-06-06 15:13:39 +00:00
Jambunathan K f333b37b79 Added test case for exercising Regex.Unescape()
Added test cases for exercising \b as a word boundary operator
and as a character class in a regex. Refer bug #58256 for more
information.

svn path=/trunk/mcs/; revision=28913
2004-06-06 15:08:34 +00:00
Jambunathan K 793a40c310 Fixed issues with Regex.Unescape() identified as part of
debugging bug #58256. The original problem reported was about
inconsistency between the way we treat replacement patterns and the
way microsoft treats the replacement patterns in Regex.Replace(). MS
implementation is buggy and doesn't honour escape sequences in the
replacement patterns, even though the SDK claims otherwise.

svn path=/trunk/mcs/; revision=28912
2004-06-06 15:01:33 +00:00
Sebastien Pouliot bcca5ac74e 2004-06-06 Sebastien Pouliot <[email protected]>
* ByteTest.cs: Added tests for default ToString(String.Empty).
	* DoubleTest.cs: Added tests for default ToString(String.Empty).
	* Int16Test.cs: Added tests for default ToString(String.Empty).
	* Int32Test.cs: Added tests for default ToString(String.Empty).
	* Int64Test.cs: Added tests for default ToString(String.Empty).
	* SByteTest.cs: Added tests for default ToString(String.Empty).
	* SingleTest.cs: Added tests for default ToString(String.Empty).
	* UInt16Test.cs: Added tests for default ToString(String.Empty).
	* UInt32Test.cs: Added tests for default ToString(String.Empty).
	* UInt64Test.cs: Added tests for default ToString(String.Empty).

svn path=/trunk/mcs/; revision=28911
2004-06-06 14:59:03 +00:00
Atsushi Eno d4e8a093ba 2004-06-06 Atsushi Enomoto <[email protected]>
* XmlTextWriterTests.cs : Added indentation testcase (it might now
	  work due to CompareInfo.IndexOf() bug).

svn path=/trunk/mcs/; revision=28910
2004-06-06 14:50:43 +00:00
Atsushi Eno adfc9a4885 2004-06-06 Atsushi Enomoto <[email protected]>
* XmlSchema.cs : Make sure to close url-based XmlTextReader.

svn path=/trunk/mcs/; revision=28909
2004-06-06 14:48:43 +00:00
Atsushi Eno fc44269092 2004-06-06 Atsushi Enomoto <[email protected]>
* NameTable.cs : Fixed incorrect hash computation. Thanks to Ben.
	* XmlTextWriter.cs : Fixed remaining LookupNamespace() atom problem
	  shown in xslt standalone tests.

svn path=/trunk/mcs/; revision=28908
2004-06-06 14:47:11 +00:00
Sebastien Pouliot e4a5eaac12 2004-06-06 Sebastien Pouliot <[email protected]>
* Decimal.cs: Fixed ToString(String.Empty) to default ("G").

svn path=/trunk/mcs/; revision=28907
2004-06-06 14:10:29 +00:00
Sebastien Pouliot a869fea963 2004-06-06 Sebastien Pouliot <[email protected]>
* DecimalTest.cs: Added tests for default ToString(). Added tests when
	Decimal is casted to an integer (trunc not rounded). Added tests to
	parse very small values (#59301).

svn path=/trunk/mcs/; revision=28906
2004-06-06 14:09:04 +00:00
Atsushi Eno f6acd54635 2004-06-06 Atsushi Enomoto <[email protected]>
* XmlTextWriter.cs : Improved indenting. For children of a mixed
	  content element, it won't be indented.

svn path=/trunk/mcs/; revision=28905
2004-06-06 10:57:08 +00:00
Atsushi Eno 2f1251e81a 2004-06-06 Atsushi Enomoto <[email protected]>
* XmlDsigXsltTransformTest.cs : Fixed EmbeddedStylesheet() that missed
	  xmlns:xsl declaration.

svn path=/trunk/mcs/; revision=28904
2004-06-06 07:41:18 +00:00
Atsushi Eno acfe8b01c4 2004-06-06 Atsushi Enomoto <[email protected]>
* MsxslScriptTests.cs : Namespace are required (found on fixing
	  XmlTextReader's namespace bugfix).

svn path=/trunk/mcs/; revision=28903
2004-06-06 07:37:24 +00:00
Atsushi Eno 10ba91fbfa 2004-06-06 Atsushi Enomoto <[email protected]>
* XmlTextReaderTests.cs : added some namespace check tests.

svn path=/trunk/mcs/; revision=28902
2004-06-06 07:36:19 +00:00
Atsushi Eno 98c0f22bb9 2004-06-06 Atsushi Enomoto <[email protected]>
* XPathDocument.s : The previous patch is still incomplete to close.

svn path=/trunk/mcs/; revision=28901
2004-06-06 07:34:53 +00:00
Atsushi Eno c818d765cf 2004-06-06 Atsushi Enomoto <[email protected]>
* DTDObjectModel.cs,
	  XmlDocument.cs : Close stream always.
	* XmlNodeReader.cs : don't expect atomized name in LookupNamespace().
	* XmlTextReader.cs : Namespace has was not done. Some tests depends on
	  this failure and to be fixed.

svn path=/trunk/mcs/; revision=28900
2004-06-06 07:32:59 +00:00
Atsushi Eno 7105385bbb 2004-06-06 Atsushi Enomoto <[email protected]>
* XslTransformProcessor.cs : On document() function, close the
	  XmlTextReader opened from uri string.

svn path=/trunk/mcs/; revision=28899
2004-06-06 07:29:20 +00:00
Atsushi Eno 72586a446b 2004-06-06 Atsushi Enomoto <[email protected]>
* DTMXPathDocumentBuilder.cs : Close XmlTextReader strictly. It might
	  raise an error after opening stream and before try-catch.

svn path=/trunk/mcs/; revision=28898
2004-06-06 07:28:04 +00:00
Atsushi Eno 3558a83ed9 2004-06-06 Atsushi Enomoto <[email protected]>
* XsdValidatingReader.cs : Close XmlTextReader more strictly. Exception
	  might be thrown in ctor() *after* stream open and before try-catch.

svn path=/trunk/mcs/; revision=28897
2004-06-06 07:26:41 +00:00
Sebastien Pouliot f3f5b554d8 2004-06-05 Sebastien Pouliot <[email protected]>
* X509CertificateCollection.cs: Fixed Contains which works by value
	(i.e. not by object reference). Fixed Remove for null and unexisting
	elements.

svn path=/trunk/mcs/; revision=28896
2004-06-06 01:17:41 +00:00
Sebastien Pouliot 8d8eeb9459 2004-06-05 Sebastien Pouliot <[email protected]>
* System_test.dll.sources: Added X509CertificateCollectionTest
	to the unit tests.

svn path=/trunk/mcs/; revision=28895
2004-06-06 01:07:18 +00:00
Sebastien Pouliot 6d6d4ec087 2004-06-05 Sebastien Pouliot <[email protected]>
* X509CertificateCollectionTest.cs: New. Unit tests for
	X509CertificateCollection.

svn path=/trunk/mcs/; revision=28894
2004-06-06 01:05:41 +00:00
Miguel de Icaza 24dfe2824d 2004-06-05 Miguel de Icaza <[email protected]>
* gacutil.cs: GetAssemblyInfo might return null now, check for
	that.

	Add try/catch to GetAssemblyInfo.

svn path=/trunk/mcs/; revision=28892
2004-06-06 00:11:26 +00:00
Sebastien Pouliot a897118880 2004-06-05 Sebastien Pouliot <[email protected]>
* HybridDictionary.cs: Fixed Contains for null argument.
	* NameValueCollection.cs: Fixed Set to remove existing values. Fixed
	Add(NVC) to throw same exception as MS implementation.

svn path=/trunk/mcs/; revision=28891
2004-06-05 23:50:40 +00:00
Sebastien Pouliot d497ff12cd 2004-06-05 Sebastien Pouliot <[email protected]>
* HybridDictionaryTest.cs: Added cases with an empty diectionary.
	* NameValueCollectionTest.cs: Added tests to add and replace (set)
	existing values in collection. Added tests for CopyTo.

svn path=/trunk/mcs/; revision=28890
2004-06-05 23:47:06 +00:00
Duncan Mak ee726d601b Add section for Fedora Core 2.
svn path=/trunk/mono/; revision=28889
2004-06-05 22:37:45 +00:00
Miguel de Icaza 6787d64a8f fix
svn path=/trunk/mono/; revision=28888
2004-06-05 20:49:56 +00:00
Sebastien Pouliot 1b53e7d2a9 2004-06-05 Sebastien Pouliot <[email protected]>
* Convert.cs: Fixed the convertion of negative integers (byte, short,
	int and long) into string in a specific base (2, 8, 10 or 16).

svn path=/trunk/mcs/; revision=28887
2004-06-05 20:14:54 +00:00
Sebastien Pouliot 0cfc23582f 2004-06-05 Sebastien Pouliot <[email protected]>
* object.c: Fixed possible integer overflow when allocating large
	strings.

svn path=/trunk/mono/; revision=28886
2004-06-05 19:16:29 +00:00
Atsushi Eno 6f3196bbc7 2004-06-05 Atsushi Enomoto <[email protected]>
* culture-info-tables.h: reflecting locale-builder updates.

svn path=/trunk/mono/; revision=28885
2004-06-05 18:41:35 +00:00
Duncan Mak 1c790e92b8 Take out redundant gtk# listing.
svn path=/trunk/mono/; revision=28884
2004-06-05 18:19:01 +00:00
Atsushi Eno 9ce031fc08 2004-06-05 Atsushi Enomoto <[email protected]>
* en_US.xml : fixed percent pattern.
	* en_ZA.xml : fixed NumberDecimalDigits.
	* id_ID.xml : fixed CurrencyDecimalDigits.
	* ja_JP.xml : added currencySymbol (MS assigns 0x5c).

svn path=/trunk/mono/; revision=28880
2004-06-05 17:37:08 +00:00
Atsushi Eno 8d1b281523 2004-06-05 Atsushi Enomoto <[email protected]>
* Driver.cs : Percent patterns are not properly parsed since they are
	  in fact not separated by '.'
	* Entry.cs : Escape '\' to "\\" (for Japanese yen-sign fix).

svn path=/trunk/mono/; revision=28879
2004-06-05 17:36:35 +00:00
Gonzalo Paniagua Javier 07f363f435 2004-06-05 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: IsPostBack also returns true when method is GET and we have
	viewstate information in the query string. Fixes bug #58151.

svn path=/trunk/mcs/; revision=28876
2004-06-05 16:06:00 +00:00
Gonzalo Paniagua Javier 1f19ce5b39 2004-06-05 Gonzalo Paniagua Javier <[email protected]>
* SocketTest.cs: added test for Select with empty lists. Changed the
	'bogus' address of EndConnect test.

svn path=/trunk/mcs/; revision=28875
2004-06-05 15:55:37 +00:00
Gonzalo Paniagua Javier 042a08443a 2004-06-05 Gonzalo Paniagua Javier <[email protected]>
* System.Web/TraceContext.cs: don't check if HttpRuntime.TraceManager
	is enabled when writing.

	* System.Web.Compilation/PageCompiler.cs: fixed Trace and add support
	for Buffer.

	* System.Web.UI/Page.cs: removed obsolete TODO. Only check if Trace is
	enabled, not HttpRutime.TraceManager.

	* System.Web.UI/PageParser.cs: for 'trace' we have 2 variables now.
	Added support for 'buffer' attribute.

	Fixes bug #58481.

svn path=/trunk/mcs/; revision=28873
2004-06-05 15:47:26 +00:00
Atsushi Eno 59ab65d504 2004-06-05 Atsushi Enomoto <[email protected]>
* culture-info-tables.h: reflecting locale-builder updates.

svn path=/trunk/mono/; revision=28872
2004-06-05 15:43:40 +00:00
Atsushi Eno 3ced5a2d49 2004-06-05 Atsushi Enomoto <[email protected]>
* fr_CH.xml : missing updates.
	* Renamed cs.xml as cs_CZ.xml and added number format.
	  Also renamed lt.xml as lt_LT.xml. They are files' precedence matter.
	* es_NI.xml : added.
	* en.xml, en_CA.xml, en_IE.xml, en_PH.xml, en_US.xml, en_ZW.xml :
	  Change with related to the change of NumberDecimalDigits handling.
	* es_PR.xml, ja.xml, ko_KR.xml :
	  Added number format.

svn path=/trunk/mono/; revision=28871
2004-06-05 15:41:40 +00:00
Atsushi Eno 6f7c7183a5 2004-06-05 Atsushi Enomoto <[email protected]>
* Driver.cs :
	  - NumberDecimalDigits are almost differently specified by locale
	    xml files. Almost all of them have ".###", but we need ".##" in
	    almost all the locale. So let's *assume* that the number of
	    digit is always +1 extraneous by this Driver itself.
	    This change accompanies with some existing supp/*.xml changes.

	  - For decimal patterns and currency patterns, when numeric patterns
	    does not have ';'-separated patterns, it ignored the whole pattern
	    string. Fixed it by just copying the same patterns.

	  - When parsing percent patterns, '%' characters were in the way.
	  - When the decimal part of the percent pattern ends with ".##0",
	    the value of PercentDecimalDigits is 2.
	  - Assume PercentDecimalDigits as 2 by default.

svn path=/trunk/mono/; revision=28870
2004-06-05 15:39:24 +00:00
Sebastien Pouliot 4e222e016d 2004-06-05 Sebastien Pouliot <[email protected]>
* ConvertTest.cs: Added tests to convert min/max values of integer
	types to strings in all bases.
	* SByteTest.cs: Added test to parse min/max values.

svn path=/trunk/mcs/; revision=28869
2004-06-05 15:36:07 +00:00
Miguel de Icaza 8fde15460e Update
svn path=/trunk/mono/; revision=28868
2004-06-05 15:23:49 +00:00
Atsushi Eno 58eb97f902 2004-06-03 Atsushi Enomoto <[email protected]>
* Driver.cs : Let's ignore DTD that takes most of the running time.

svn path=/trunk/mono/; revision=28867
2004-06-05 15:19:23 +00:00
Gonzalo Paniagua Javier eea376f6d4 2004-06-05 Gonzalo Paniagua Javier <[email protected]>
* monoresgen.cs: fixed format exception in the po reader.

svn path=/trunk/mcs/; revision=28865
2004-06-05 15:07:10 +00:00
Gonzalo Paniagua Javier 552b3e2465 2004-06-05 Gonzalo Paniagua Javier <[email protected]>
* Socket.cs: throw ArgumentNullException if all the list are null OR
	empty. Fixes bug #59632.

svn path=/trunk/mcs/; revision=28864
2004-06-05 14:08:42 +00:00
Paolo Molaro 708cf2a532 Sat Jun 5 16:32:33 CEST 2004 Paolo Molaro <[email protected]>
* iltests.il, mini.c: fixed bug#59580 in branch optimization.
	* exceptions.cs: make it compile with new mcs/csc.

svn path=/trunk/mono/; revision=28863
2004-06-05 13:47:16 +00:00
Atsushi Eno 537f8cdcfd 2004-06-05 Atsushi Enomoto <[email protected]>
* Makefile: added target run-test-ondotnet.

svn path=/trunk/mcs/; revision=28862
2004-06-05 12:47:03 +00:00
Gonzalo Paniagua Javier 49ee4cdcf5 revert
svn path=/trunk/mono/; revision=28861
2004-06-05 10:42:37 +00:00
Atsushi Eno f68fd091c5 2004-06-05 Atsushi Enomoto <[email protected]>
* XPathDocument.cs : close self-opened XmlTextReader in .ctor().

svn path=/trunk/mcs/; revision=28860
2004-06-05 08:55:21 +00:00
Gonzalo Paniagua Javier ceb2d47dbb 2004-06-05 Gonzalo Paniagua Javier <[email protected]>
* Binder.cs: don't crash when we have a 'null' argument Type array.
	Allow it for non-value types. Fixed for both, methods and properties.
	Closes bug #58846.

svn path=/trunk/mcs/; revision=28859
2004-06-05 06:36:12 +00:00
Gonzalo Paniagua Javier ed4e55f405 2004-06-05 Gonzalo Paniagua Javier <[email protected]>
* BinderTests.cs: added test for null type in the argument list.

svn path=/trunk/mcs/; revision=28858
2004-06-05 06:31:53 +00:00
Gonzalo Paniagua Javier e6c1f1a629 2004-06-05 Gonzalo Paniagua Javier <[email protected]>
* Calendar.cs: set the title class attribute if we have it. Fixes bug
	53671.

svn path=/trunk/mcs/; revision=28857
2004-06-05 05:59:21 +00:00
Miguel de Icaza b01c679b50 Flush
svn path=/trunk/mono/; revision=28856
2004-06-05 04:20:14 +00:00
Miguel de Icaza e68186a7a4 Try this
svn path=/trunk/mono/; revision=28855
2004-06-05 03:10:24 +00:00
Gonzalo Paniagua Javier ed2667ce2a windows installer is only for win2k and above
svn path=/trunk/mono/; revision=28854
2004-06-05 02:57:20 +00:00
Gonzalo Paniagua Javier c51e1dc747 2004-06-05 Gonzalo Paniagua Javier <[email protected]>
* icall.c: fixed nullref in ves_icall_type_from_name.

svn path=/trunk/mono/; revision=28852
2004-06-05 02:44:38 +00:00
Martin Baulig 07d67f2184 We always need to do this check before calling reflection.
svn path=/trunk/mcs/; revision=28850
2004-06-04 22:12:41 +00:00
Martin Baulig 7312ebdf8a Ignore inflated methods.
svn path=/trunk/mcs/; revision=28847
2004-06-04 19:42:02 +00:00
Martin Baulig 7873e0392f A type parameter can never be optional.
svn path=/trunk/mcs/; revision=28846
2004-06-04 19:37:26 +00:00
Sebastien Pouliot 8dde8bd51f 2004-06-04 Sebastien Pouliot <[email protected]>
* Math.cs: Fixed IEEERemainder to return -0 (0x8000000000000000) when
	the dividend is negative and the result is 0 (remainder).

svn path=/trunk/mcs/; revision=28845
2004-06-04 17:09:16 +00:00
Sebastien Pouliot 245208ba59 2004-06-04 Sebastien Pouliot <[email protected]>
* MathTest.cs: Added another case when dividend is negative and
	there's no remainder (must return negative 0).

svn path=/trunk/mcs/; revision=28844
2004-06-04 16:57:59 +00:00
Sebastien Pouliot e73c7c945f 2004-06-04 Sebastien Pouliot <[email protected]>
* MathTest.cs: Added case to check for negative 0 (double) in
	IEEERemainder.
	* TimeSpanTest.cs: Added more asserts in existing tests cases.
	Added case to check for ToString with MinValue and MaxValue.

svn path=/trunk/mcs/; revision=28840
2004-06-04 16:36:39 +00:00
Jackson Harper 450a82cc05 * ILTokenizer.cs: Handle comments first, handle whitespace in hex
blocks properly.

svn path=/trunk/mcs/; revision=28838
2004-06-04 16:17:20 +00:00
Jackson Harper 50fcab4ce2 * Driver.cs: Do everything using the invariant culture.
svn path=/trunk/mcs/; revision=28837
2004-06-04 16:12:38 +00:00
Atsushi Eno d5a5f5ad9a 2004-06-04 Atsushi Enomoto <[email protected]>
* SignedXml.cs : Complete fix for bug #59545. Support #xpointer(id()).
	  Namespace fixup is required when signing prefixed xml.

svn path=/trunk/mcs/; revision=28835
2004-06-04 12:40:01 +00:00
Anirban Bhattacharjee 55b41cc1b5 * mb-parser.jay: Modified WithEvents grammar
svn path=/trunk/mcs/; revision=28831
2004-06-04 11:19:17 +00:00
Atsushi Eno 493c8f7793 2004-06-04 Atsushi Enomoto <[email protected]>
* Makefile : fixed incorrectly unified corlib-plattest in the
	  previous fix.

svn path=/trunk/mcs/; revision=28830
2004-06-04 10:57:21 +00:00
Sebastien Pouliot c8809a359f 2004-06-04 Sebastien Pouliot <[email protected]>
* corlib_test.dll.sources: Added new file for unit tests.

svn path=/trunk/mcs/; revision=28829
2004-06-04 10:34:09 +00:00
Sachin Kumar 542d5dc43d TODOAttribute.cs: Definition for 'Comment' was defined twice
svn path=/trunk/mcs/; revision=28828
2004-06-04 10:20:43 +00:00
Lluis Sanchez bac90292d1 * Makefile: Changed nunit dll, to make it easier to integrate in the result
web page.
	* wstest.cs: Little fix.

svn path=/trunk/mcs/; revision=28827
2004-06-04 09:23:43 +00:00
Anirban Bhattacharjee 06591e52cf updated test.sources
svn path=/trunk/mcs/; revision=28826
2004-06-04 08:30:35 +00:00
Anirban Bhattacharjee c8ceeb60db more negetive tests for property
svn path=/trunk/mcs/; revision=28825
2004-06-04 08:29:47 +00:00
Atsushi Eno a966e4e229 2004-06-04 Atsushi Enomoto <[email protected]>
* SignedXml.cs : Fix for bug #59545. Handle #xpointer(/) as document.

svn path=/trunk/mcs/; revision=28824
2004-06-04 08:23:43 +00:00
Anirban Bhattacharjee 23dcf44ab3 * class.cs: - NotOverridable modifier support added to Property
- Few overriding related checks put on Property

svn path=/trunk/mcs/; revision=28823
2004-06-04 08:18:23 +00:00
Gert Driesen e97839f916 * mono-api-info.cs: for checking API compatibility, we're only
interested in public interfaces that are implemented by a given
type.  Include protected internal fields and ctors.

svn path=/trunk/mcs/; revision=28821
2004-06-04 05:46:24 +00:00
Gert Driesen 1517677e7f * SqlClientPermission.cs: removed extra CreateInstance
method

svn path=/trunk/mcs/; revision=28820
2004-06-04 05:36:15 +00:00
Gert Driesen bd31f019bb * OleDbDataAdapter.cs: added stub for missing
Dispose override

svn path=/trunk/mcs/; revision=28819
2004-06-04 05:35:48 +00:00
Gert Driesen 58557e401c * OdbcPermission.cs: moved Obsolete attribute to correct
ctor

svn path=/trunk/mcs/; revision=28818
2004-06-04 05:35:23 +00:00
Gert Driesen 76306c9a15 * DataAdapter.cs: added missing protected ctor
* DbDataAdapter.cs: added stub for missing protected ctor
* DbDataPermission.cs: added stubs for missing protected
ctors, added stub for missing Clear method

svn path=/trunk/mcs/; revision=28817
2004-06-04 05:34:58 +00:00
Gert Driesen 8ab8dabc37 * Constraint.cs: marked methods internal to fix public API
* ConstraintCollection.cs: to fix public API, use
DataTable.fInitInProgress to check whether initialization
of DataTable is in progress
* DataColumn.cs: added stubs for missing methods
* DataRowBuilder.cs: marked Table property internal to
fix public API
* DataSet.cs: removed extra empty destructor, marked
OnMergeFailed internal to fix public API
* DataTable.cs: use fInitInProgress field to hold init
status, to match MS.NET
* DataView.cs: added missing attributes on IsOpen

svn path=/trunk/mcs/; revision=28816
2004-06-04 05:34:25 +00:00
Anirban Bhattacharjee 2b6d46ff29 * decl.cs: Check for duplicate member name within same container
svn path=/trunk/mcs/; revision=28814
2004-06-04 04:36:34 +00:00
Gonzalo Paniagua Javier e404b1b70d 2004-06-04 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpRequest.cs: added ClientTarget internal property.

	* System.Web.Compilation/PageCompiler.cs: override CreateConstructor
	to add assignment for ClientTarget.

	* System.Web.Configuration/HttpCapabilitiesBase.cs: ClientTarget takes
	precedence over UserAgent.

	* System.Web.UI/Page.cs: implemented ClientTarget.
	* System.Web.UI/PageParser.cs: support for clientTarget and check for
	validity.

svn path=/trunk/mcs/; revision=28811
2004-06-04 04:01:07 +00:00
Anirban Bhattacharjee b0cc28fb7e * class.cs: changed exception number in event grammar
svn path=/trunk/mcs/; revision=28810
2004-06-04 04:00:09 +00:00
Gonzalo Paniagua Javier d371fc1c0a added system.web/clientTarget handler
svn path=/trunk/mono/; revision=28809
2004-06-04 03:52:38 +00:00
Sebastien Pouliot 02520e0ba8 2004-06-03 Sebastien Pouliot <[email protected]>
* Delegate.cs: Fix the NullReferenceException in Combine(Delegate[]).

svn path=/trunk/mcs/; revision=28807
2004-06-04 02:16:39 +00:00
Gonzalo Paniagua Javier e9232610a0 2004-06-04 Gonzalo Paniagua Javier <[email protected]>
* Style.cs: added SetBit.

svn path=/trunk/mcs/; revision=28806
2004-06-04 01:57:37 +00:00
Gonzalo Paniagua Javier 48115ec345 2004-06-04 Gonzalo Paniagua Javier <[email protected]>
* mono-api-diff.cs: fixes event diff when we're missing attributes. Now
	the class status properly shows the attributes under the event.

	* mono-api-info.cs: include protected internal methods.

svn path=/trunk/mcs/; revision=28805
2004-06-04 01:17:07 +00:00
Sebastien Pouliot d6d922a7bf 2004-06-03 Sebastien Pouliot <[email protected]>
* BufferedStreamTest.cs: Modified two tests (using newer helper
	classes) to be more specific and avoid regressions of bugs like
	 #59534.
	* StreamHelperTest.cs: New. Helper classes that provides read-only,
	write-only or non-seekable stream.

svn path=/trunk/mcs/; revision=28804
2004-06-04 01:16:39 +00:00
Martin Baulig d8279f3afc Moved the marker.
svn path=/trunk/mcs/; revision=28803
2004-06-04 00:46:37 +00:00
Martin Baulig e48cdde6c7 **** Merged from MCS ****
svn path=/trunk/mcs/; revision=28802
2004-06-04 00:45:05 +00:00
Martin Baulig 9bf050c846 Put everything back I reverted with the "Reverted everything back until 14:15 this afternoon." commit.
svn path=/trunk/mcs/; revision=28801
2004-06-04 00:00:22 +00:00
Jackson Harper 662104f9ae * PEAPI.cs: Do not null terminate byte arrays when writing to the
blob stream.

svn path=/trunk/mcs/; revision=28797
2004-06-03 21:53:25 +00:00
Atsushi Eno 1cab6db759 2004-06-03 Atsushi Enomoto <[email protected]>
* culture-info-tables.h: reflecting locale-builder updates.

svn path=/trunk/mono/; revision=28795
2004-06-03 21:33:48 +00:00
Atsushi Eno 47444acbd5 2004-06-03 Atsushi Enomoto <[email protected]>
* fr_CH.xml : missing updates.

svn path=/trunk/mono/; revision=28794
2004-06-03 21:28:23 +00:00
Atsushi Eno 9217f85350 2004-06-03 Atsushi Enomoto <[email protected]>
* Driver.cs : {3} is the almost default number for group digits.

svn path=/trunk/mono/; revision=28793
2004-06-03 21:27:21 +00:00
Atsushi Eno e6af507b9f 2004-06-03 Atsushi Enomoto <[email protected]>
* DataSet.cs : Use NameTable.Get() before calling LookupNamespace()
	  in XmlNamespaceManager.

svn path=/trunk/mcs/; revision=28792
2004-06-03 21:12:23 +00:00
Atsushi Eno a29d95c9e9 2004-06-03 Atsushi Enomoto <[email protected]>
* Expression.cs : LookupNamespace() only allows already-atomized names.
	* XPathEditableNavigator.cs : removed incorrect set_OuterXml() and
	  set_InnerXml().

svn path=/trunk/mcs/; revision=28791
2004-06-03 21:05:17 +00:00
Atsushi Eno bba3fd5d13 2004-06-03 Atsushi Enomoto <[email protected]>
* BuiltInDatatype.cs,
	  XmlSchemaFacet.cs,
	  XmlSchemaSimpleTypeRestriction.cs,
	  XmlSchemaXPath.cs : modified some enum const to static readonly
	  (.NET 1.0 does not allow it). Use safe overload of LookupNamespace().

svn path=/trunk/mcs/; revision=28790
2004-06-03 21:03:29 +00:00
Atsushi Eno 1d28c755b8 2004-06-03 Atsushi Enomoto <[email protected]>
* XmlNamespaceManagre.cs : Fixed LookupNamespace() and LookupPrefix().
	  They require that names are *already* atomized.
	* XmlNodeReader.cs,
	  XmlTextWriter.cs : use safe overload of LookupXXX().

svn path=/trunk/mcs/; revision=28789
2004-06-03 21:02:31 +00:00
Atsushi Eno 44184229f2 2004-06-03 Atsushi Enomoto <[email protected]>
* Compiler.cs,
	  GenericOutputter.cs : XmlNamespaceManager.LookupPrefix() allows only
	  atomized names. Fixed XPathNavigatorNsm.LookupNamespace() that
	  should override another overload.

svn path=/trunk/mcs/; revision=28788
2004-06-03 21:01:54 +00:00
Atsushi Eno f0bdee817c 2004-06-03 Atsushi Enomoto <[email protected]>
* XsdValidatingReader.cs : XmlNamespaceManager.LookupPrefix() allows
	  only atomized names.

svn path=/trunk/mcs/; revision=28787
2004-06-03 21:01:11 +00:00
Duncan Mak 710600b689 What happened to this line?
svn path=/trunk/mcs/; revision=28786
2004-06-03 20:30:12 +00:00
Duncan Mak 8ec38e1163 Remove the Description field and use Comment, this makes it consistent
with the other TODOAttributes, and it also fixes the build.

svn path=/trunk/mcs/; revision=28785
2004-06-03 20:27:28 +00:00
Martin Baulig 709dd3c49f 2004-06-03 Martin Baulig <[email protected]>
* generic.cs (ConstructedType.GetMemberAccess): Renamed to
	GetSimpleName() and return a SimpleName.

	* ecore.cs (SimpleName.Arguments): New public field.
	(SimpleName): Added overloaded ctor which takes an additional
	TypeArguments argument.
	(SimpleName.SimpleNameResolve): Added support for generic methods.
	(MethodGroupExpr.ResolveGeneric): New public method.  The code was
	formerly in MemberAccess.DoResolve(), but we also need it in
	SimpleNameResolve().

	* expression.cs (MemberAccess.DoResolve): Use the new
	MethodGroupExpr.ResolveGeneric().

svn path=/trunk/mcs/; revision=28783
2004-06-03 19:15:01 +00:00
Atsushi Eno 0ff3bf221b 2004-06-03 Atsushi Enomoto <[email protected]>
* DataSet.cs : complex table content child was not properly added
	  when it is the only one child in the parent table. Fixed bug #53959.

svn path=/trunk/mcs/; revision=28782
2004-06-03 19:05:45 +00:00
Lluis Sanchez f525911fbf * threads.c: Made Thread.Sleep abortable.
svn path=/trunk/mono/; revision=28781
2004-06-03 19:02:00 +00:00
Gonzalo Paniagua Javier 6b670ae6dd 2004-06-03 Gonzalo Paniagua Javier <[email protected]>
* mono-api-info.cs: we don't want internal members listed.

svn path=/trunk/mcs/; revision=28780
2004-06-03 18:58:34 +00:00
Lluis Sanchez 266f664ca0 * threads.c: Implemented SleepEx.
* threads.h: Fixed SleepEx signature.

svn path=/trunk/mono/; revision=28779
2004-06-03 18:58:23 +00:00
Gonzalo Paniagua Javier 590c7733ba 2004-06-03 Gonzalo Paniagua Javier <[email protected]>
* Cscompmgd/Microsoft.CSharp/TODOAttribute.cs:
	* Microsoft.JScript/Microsoft.JScript/TODOAttribute.cs:
	* Microsoft.Web.Services/Microsoft.Web.Services/TODOAttribute.cs:
	* Mono.Data.MySql/Mono.Data.MySql/TODOAttribute.cs:
	* Mono.Data.PostgreSqlClient/Mono.Data.PostgreSqlClient/TODOAttribute.cs:
	* Mono.Data.SybaseClient/Mono.Data.SybaseClient/TODOAttribute.cs:
	* Mono.Data.SybaseClient/Mono.Data.SybaseTypes/TODOAttribute.cs:
	* Mono.Data.Tds/Mono.Data.Tds.Protocol/TODOAttribute.cs:
	* Mono.Data.TdsClient/Mono.Data.TdsClient/TODOAttribute.cs:
	* Mono.Data.TdsClient/Mono.Data.TdsTypes/TODOAttribute.cs:
	* System/Microsoft.Win32/TODOAttribute.cs:
	* System/System/TODOAttribute.cs:
	* System.Data/System.Data/TODOAttribute.cs:
	* System.Data.OracleClient/System.Data.OracleClient/TODOAttribute.cs:
	* System.Design/System.Design/TODOAttribute.cs:
	* System.Design/System.Web.UI.Design.WebControls/TODOAttribute.cs:
	* System.Design/System.Windows.Forms.Design/TODOAttribute.cs:
	* System.DirectoryServices/System.DirectoryServices/TODOAttribute.cs:
	* System.Drawing.Design/Assembly/TODOAttribute.cs:
	* System.Messaging/System.Messaging/MonoTODO.cs:
	* System.Web/System.Web/TODOAttribute.cs:
	* System.Web.Mobile/System.Web.Mobile/TODOAttribute.cs:
	* System.Web.Services/System.Web.Services/TODOAttribute.cs:
	* System.Windows.Forms/System.Resources/ResXResourceReader.cs:
	* System.Windows.Forms/System.Windows.Forms/TODOAttribute.cs:
	* System.Windows.Forms/WINELib/TODOAttribute.cs:
	* System.XML/System.Xml/TODOAttribute.cs:
	Added Comment property.

svn path=/trunk/mcs/; revision=28778
2004-06-03 18:25:00 +00:00
Lluis Sanchez 4379a327a0 * HttpApplication.cs: Clear the http handler list after releasing the
handlers.

svn path=/trunk/mcs/; revision=28777
2004-06-03 18:21:05 +00:00
Gert Driesen f1e3e289da * mono-api-info.cs: also check protected internal members
svn path=/trunk/mcs/; revision=28776
2004-06-03 17:29:45 +00:00
Gonzalo Paniagua Javier d67b6715cd 2004-06-03 Gonzalo Paniagua Javier <[email protected]>
* TemplateControlCompiler.cs: use CodeDelegateCreateExpression instead
	of CodeObjectCreateExpression for the render method delegate. Thanks
	to Jochen Wezel.

svn path=/trunk/mcs/; revision=28775
2004-06-03 17:18:13 +00:00
Gert Driesen 696506a733 * DirectoryEntries.cs: flagged field private to fix public API
* DirectoryEntry.cs: added protected override for Dispose, marked
properties TODO
* DirectoryServicesPermissionEntryCollection.cs: added stubs for
missing protected methods
* PropertyCollection.cs: flagged field private to fix public API
* PropertyValueCollection.cs: removed empty extra methods, added
stub for missing methods to fix public API
* SearchResult.cs: removed unused local variable
* SearchResultCollection.cs: flagged field private to fix public
API, added missing property Dispose method and finalizer

svn path=/trunk/mcs/; revision=28771
2004-06-03 16:39:17 +00:00
Gert Driesen 7329ab8e6b * XmlSerializationReader.cs: added missing protected members
to fix API compatibility with MS.NET
* XmlSerializationWriter.cs: added missing protected members
to fix API compatibility with MS.NET

svn path=/trunk/mcs/; revision=28770
2004-06-03 16:37:47 +00:00
Miguel de Icaza b2a5558df6 2004-06-03 Miguel de Icaza <[email protected]>
* threads.c: When running under valgrind, do not allocate too much
	stack, as Valgrind default is 1 meg.

svn path=/trunk/mono/; revision=28769
2004-06-03 14:54:43 +00:00
Jochen Wezel 75adf4a235 Fixes for Property ReadOnly/WriteOnly, Property Set
svn path=/trunk/mcs/; revision=28766
2004-06-03 13:34:50 +00:00
Ravindra d395910e3f * HatchBrush.cs: Added missing test cases for all the hatch styles.
svn path=/trunk/mcs/; revision=28765
2004-06-03 12:36:51 +00:00
Massimiliano Mantione d767c20648 * cpu-pentium.md basic-float.cs Fixed bug on fpu spills (see bug 54467),
and added relevant test case.

svn path=/trunk/mono/; revision=28764
2004-06-03 12:11:54 +00:00
Paolo Molaro 8f8ff8fba5 Thu Jun 3 14:39:17 CEST 2004 Paolo Molaro <[email protected]>
* configure.in: libc setting for NetBSD (patch from [email protected]).

svn path=/trunk/mono/; revision=28763
2004-06-03 11:53:27 +00:00
Raja R Harinath 81d578bd20 Bug #50820.
* typemanager.cs (closure_private_ok, closure_invocation_type)
(closure_qualifier_type, closure_invocation_assembly)
(FilterWithClosure): Move to ...
(Closure): New internal nested class.
(Closure.CheckValidFamilyAccess): Split out from Closure.Filter.
(MemberLookup, RealMemberLookup): Add new almost_match parameter.
* ecore.cs (almostMatchedMembers): New variable to help report CS1540.
(MemberLookup, MemberLookupFailed): Use it.
* expression.cs (New.DoResolve): Treat the lookup for the
constructor as being qualified by the 'new'ed type.
(Indexers.GetIndexersForTypeOrInterface): Update.

svn path=/trunk/mcs/; revision=28761
2004-06-03 11:36:53 +00:00
Raja R Harinath 8ca370f68e New testcases for bug #50820.
svn path=/trunk/mcs/; revision=28760
2004-06-03 11:32:31 +00:00
Anirban Bhattacharjee 5930670e36 * mb-parser.jay: RaiseEvent grammar fixed to get it working
svn path=/trunk/mcs/; revision=28755
2004-06-03 10:49:22 +00:00
Ravindra 9c05cfea6e * Makefile: Updated. We don't need to define the flag
DECLARE_CDECL_DELEGATES anymore. As we have moved all the
	codecs to libgdiplus.

svn path=/trunk/mcs/; revision=28754
2004-06-03 10:08:47 +00:00
Lluis Sanchez c9e20d512a * Makefile: generate client source file list before compiling the test
suite.

svn path=/trunk/mcs/; revision=28752
2004-06-03 09:42:19 +00:00
Gonzalo Paniagua Javier 05d6416e37 2004-06-03 Gonzalo Paniagua Javier <[email protected]>
* BufferedStream.cs: fixed typo that prevented Read() from working.
	This went out with beta 2. Closes bug #59534.

svn path=/trunk/mcs/; revision=28750
2004-06-03 07:59:04 +00:00
Anirban Bhattacharjee 867b4897f1 * driver.cs: fixed bug - 59540
svn path=/trunk/mcs/; revision=28749
2004-06-03 07:50:36 +00:00
Raja R Harinath 98473fb087 Add. Copied from System/Assembly/Consts.cs.
Unbreak build

svn path=/trunk/mcs/; revision=28748
2004-06-03 07:40:01 +00:00
Gonzalo Paniagua Javier ed2ee874b4 2004-06-03 Gonzalo Paniagua Javier <[email protected]>
* mono-api-info.cs: if we have a TODOAttribute, get the Comment property
	value and store it in attribute 'comment'.

	* mono-api-diff.cs: if we have a 'comment' keep it in the output file.

	* mono-api.xsl: if we have a 'comment' set it as the title attribute
	of the monoTODO gif image.

	Now we can see the MonoTODO comments when browsing the class status
	pages.

svn path=/trunk/mcs/; revision=28747
2004-06-03 07:33:58 +00:00
Marek Safar 8b6353a11b Enabled again
svn path=/trunk/mcs/; revision=28746
2004-06-03 07:18:12 +00:00
Marek Safar a63708b651 2004-06-03 Marek Safar <[email protected]>
* attribute.cs
	(GetConditionalAttributeValue): New method. Returns
	condition of ConditionalAttribute.
	(SearchMulti): New method.  Returns all attributes of type 't'.
	Use it when attribute is AllowMultiple = true.
	(IsConditionalMethodExcluded): New method.

	* class.cs
	(Method.IsExcluded): Implemented. Returns true if method has conditional
	attribute and the conditions is not defined (method is excluded).
	(IMethodData): Extended interface for ConditionalAttribute support.
	(PropertyMethod.IsExcluded): Implemented.

	* decl.cs
	(MemberCore.Flags): Excluded_Undetected, Excluded new caching flags.

	* expression.cs
	(Invocation.IsMethodExcluded): Checks the ConditionalAttribute
	on the method.

svn path=/trunk/mcs/; revision=28745
2004-06-03 07:15:04 +00:00
Raja R Harinath ca2f9ecbef Don't sign if BOOTSTRAP_WITH_OLDLIB.
svn path=/trunk/mcs/; revision=28744
2004-06-03 06:22:57 +00:00
Gonzalo Paniagua Javier aa11211a2a 2004-06-03 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Handlers/TraceHandler.cs:
	* System.Web.UI/Control.cs:
	* System.Web.UI/Html32TextWriter.cs:
	* System.Web.UI/HtmlTextWriter.cs:
	* System.Web.UI/SimpleWebHandlerParser.cs:
	* System.Web.UI/TemplateControl.cs:
	* System.Web.UI.WebControls/Calendar.cs:
	* System.Web.UI.WebControls/CompareValidator.cs:
	* System.Web.UI.WebControls/ImageButton.cs:
	* System.Web.UI.WebControls/Style.cs:
	* System.Web.UI.WebControls/WebControl.cs:
	Added protected missing members and attributes.

svn path=/trunk/mcs/; revision=28743
2004-06-03 06:17:31 +00:00
Gonzalo Paniagua Javier de6295ffb3 Fixed link text for mod_mono
svn path=/trunk/mono/; revision=28738
2004-06-03 05:04:57 +00:00
Gonzalo Paniagua Javier aaabec71e5 2004-06-03 Gonzalo Paniagua Javier <[email protected]>
* ObjectStateFormatter.cs: use ObjectFormatter methods instead of
	calling a protected method of another object.

svn path=/trunk/mcs/; revision=28737
2004-06-03 04:57:26 +00:00
Anirban Bhattacharjee 0361e88e46 mb-parser.jay: Improved event declaration grammar
svn path=/trunk/mcs/; revision=28736
2004-06-03 04:54:28 +00:00
Atsushi Eno b03dd37b8f 2004-06-03 Atsushi Enomoto <[email protected]>
* ObjectStateFormatter.cs : csc build fix. Protected Read()/Write()
	  (of other objects) are called in TypeConverterFormatter.

svn path=/trunk/mcs/; revision=28735
2004-06-03 04:35:12 +00:00
Gert Driesen 165f76fa4d * ChangeLog: moved entries to ChangeLog in namespace directories
* Makefile: added extra assembly references
* System.Messaging.dll.sources: added new classes in
System.Messaging.Design namespace

svn path=/trunk/mcs/; revision=28734
2004-06-03 04:10:27 +00:00
Gert Driesen 8ee10bcd61 * ChangeLog: added file
* AccessControlEntry.cs: removed extra finalizer
* AccessControlList.cs: removed extra finalizer
* ActiveXMessageFormatter.cs: removed extra finalizer
* BinaryMessageFormatter.cs: public API fixes
* DefaultPropertiesToSend.cs: public API fixes
* IMessageFormatter.cs: public API fixes
* Message.cs: public API fixes
* MessageEnumerator.cs: public API fixes
* MessagePropertyFilter.cs: public API fixes
* MessageQueue.cs: public API fixes
* MessageQueueAccessControlEntry.cs: public API fixes
* MessageQueueEnumerator.cs: public API fixes
* MessageQueueException.cs: public API fixes
* MessageQueueInstaller.cs: public API fixes
* MessageQueuePermission.cs: public API fixes
* MessageQueuePermissionAttribute.cs: public API fixes
* MessageQueuePermissionEntry.cs: public API fixes
* MessageQueuePermissionEntryCollection.cs: public API
fixes
* MessagingDescriptionAttribute.cs: public API fixes
* PeekCompletedEventArgs.cs: public API fixes
* ReceiveCompletedEventArgs.cs: public API fixes
* Trustee.cs: removed extra finalizer
* XmlMessageFormatter.cs: public API fixes

svn path=/trunk/mcs/; revision=28733
2004-06-03 04:09:37 +00:00
Gert Driesen d56c182f84 * ChangeLog: added file
* MessageFormatterConverter.cs: added file
* MessageQueueConverter.cs: added file
* QueuePathDialog.cs: added file
* QueuePathEditor.cs: added file
* TimeoutConverter.cs: added file

svn path=/trunk/mcs/; revision=28732
2004-06-03 04:07:32 +00:00
Raja R Harinath 40dacb1c19 (Mono.Posix/make-map.exe): Depend on $(the_lib) to pick
the name of the library from library.make.  This should make it
parallel-make-safe.

svn path=/trunk/mcs/; revision=28731
2004-06-03 03:58:44 +00:00
Atsushi Eno 993ca36cce 2004-06-03 Atsushi Enomoto <[email protected]>
* README.makefiles : added description for run-test-ondotnet.

svn path=/trunk/mcs/; revision=28730
2004-06-03 03:46:23 +00:00
Atsushi Eno 4330ae3ebe 2004-06-03 Atsushi Enomoto <[email protected]>
* Makefile : ignore make run-test-ondotnet.

svn path=/trunk/mcs/; revision=28729
2004-06-03 03:31:52 +00:00
Atsushi Eno d98b7f501b 2004-06-03 Atsushi Enomoto <[email protected]>
* Makefile : added run-test-ondotnet support.

svn path=/trunk/mcs/; revision=28728
2004-06-03 03:29:50 +00:00
Gert Driesen b26347d5e3 * mono-api-diff.cs: also report mismatches in protected members
* mono-api-info.cs: fixed issue where counters were not output
for missing attributes if there were no other mismatches

svn path=/trunk/mcs/; revision=28727
2004-06-03 03:28:16 +00:00
Atsushi Eno 5872301b80 2004-06-03 Atsushi Enomoto <[email protected]>
* Makefile : add run-test-ondotnet target support.

svn path=/trunk/mcs/; revision=28726
2004-06-03 03:26:47 +00:00
Atsushi Eno 5b3d33811d 2004-06-03 Atsushi Enomoto <[email protected]>
* Makefile, executable.make, library.make, rules.make :
	  Added new target "run-test-ondotnet" that works what "run-test"
	  used to be on windows (i.e. tests our libs under MS.NET).

svn path=/trunk/mcs/; revision=28725
2004-06-03 03:21:38 +00:00
Sebastien Pouliot 99ce30066f 2004-06-02 Sebastien Pouliot <[email protected]>
* TimeSpan.cs: Fixed overflow issues when delaing with big (days) time
	spans. Fixed parsing when only days are presents in the string (which
	should be illegal according to the documentation but is supported).

svn path=/trunk/mcs/; revision=28724
2004-06-03 00:22:22 +00:00
Gonzalo Paniagua Javier 554f9ec5ca 2004-06-03 Gonzalo Paniagua Javier <[email protected]>
* ObjectStateFormatter.cs: before choosing the binary formatter, check
	if the object type has a TypeConverter that can convert to/from string.
	Fixes bug #59495.

	* Page.cs: call GetViewStateString from outside the WriteLine. This
	allows writing to the Response when getting the string without breaking
	the HTML generated.

svn path=/trunk/mcs/; revision=28721
2004-06-03 00:05:29 +00:00
Lluis Sanchez 8754b186aa * wsdlfiles.tar.gz: New file that contains all test wsdl documents.
* proxies.net.xml.gz: Description of the proxies generated by MS.NET.
	* cormissing.xml: Formatting stuff.

svn path=/trunk/mcs/; revision=28720
2004-06-02 23:52:12 +00:00
Lluis Sanchez deed5ea977 * Makefile: Added new targets for running the tests. Now the generated
proxies are checked against the ones generated by MS.NET.
	* services.xml: Updated service list.
	* wstest.cs: new command checkdiff: generates a xml file using nunit format
	  with all differences between mono generated proxies and MS.NET ones.
	* client/localhost/ConvRpcTest.cs: Fixed url.

svn path=/trunk/mcs/; revision=28719
2004-06-02 23:30:00 +00:00
Ben Maurer 4fc8ad8412 2004-06-02 Ben Maurer <[email protected]>
* expression.cs (ArrayCreationExpression): Make this just an
	`expression'. It can't be a statement, so the code here was
	dead.

svn path=/trunk/mcs/; revision=28718
2004-06-02 21:59:48 +00:00
Miguel de Icaza cb0df43302 Fix
svn path=/trunk/mono/; revision=28717
2004-06-02 21:50:52 +00:00
Peter Dennis Bartok 53b9552dd9 - Fixed bug #59479
svn path=/trunk/mcs/; revision=28713
2004-06-02 18:52:29 +00:00
Sebastien Pouliot 61aa800d02 2004-06-02 Sebastien Pouliot <[email protected]>
* TimeSpanTest.cs: Added tests for overflow checking and parsing
	only days (LAMESPEC).

svn path=/trunk/mcs/; revision=28712
2004-06-02 18:32:36 +00:00
Lluis Sanchez 285cd2dcc8 * XmlSerializationReader.cs: Support schamea instance namespaces other than
the 2001 one when reading the xsi type.
	* MapCodeGenerator.cs: Take into account that the root namespace and element
	  name may have changed from one export to another of the same type. In
	  this case the class attributes need to be regenerated.
	* SoapCodeExporter.cs, XmlCodeExporter.cs: Take the enum name from XmlType,
	  not ElementName. Idem for namespace.
	* XmlReflectionImporter.cs: Set nullable property of XmlTypeMapping.
	* XmlRootAttribute.cs: Default value for nullable is true.
	* XmlSchemaImporter.cs: The root name for a class may change in some
	  scenarios (for example, when the type is initially exported as part of
	  another type and later exported as a root type).
	* XmlSerializationReader.cs: In GetXsiType(), if the type attribute is not
	  found using the standard namespace, try getting the type using
	  the 2000/10 and 1999 namespaces.
	* XmlTypeMapping.cs: Added IsNullable property. Updated SetRoot method.

svn path=/trunk/mcs/; revision=28711
2004-06-02 18:16:39 +00:00
Gonzalo Paniagua Javier 3d1a0acc32 2004-06-02 Gonzalo Paniagua Javier <[email protected]>
* WebConfigurationSettings.cs: when the virtual path is not /, don't
	loop forever trying to read configuration from /. Fixes bug #59480.

svn path=/trunk/mcs/; revision=28710
2004-06-02 18:08:21 +00:00
Sebastien Pouliot 1e3d58625d 2004-05-02 Sebastien Pouliot <[email protected]>
* ResourceManager.cs: Avoid endless recursion when a resource file
	isn't found.

svn path=/trunk/mcs/; revision=28707
2004-06-02 16:27:02 +00:00
Urs C. Muff 095f584130 Fix libintl.a problem, thanks kangaroo
svn path=/trunk/mono/; revision=28706
2004-06-02 15:38:17 +00:00
Gonzalo Paniagua Javier 009cb3ef2e 2004-06-02 Gonzalo Paniagua Javier <[email protected]>
* HtmlTextWriter.cs: render end tag for unknown tags.
	Patch frmo Markus Kr�utner. Fixes bug #59466.

svn path=/trunk/mcs/; revision=28703
2004-06-02 15:09:57 +00:00
Gonzalo Paniagua Javier c7ae11abaa Replace only \n by <br>, not \r\n
svn path=/trunk/mcs/; revision=28702
2004-06-02 14:49:26 +00:00
Gonzalo Paniagua Javier 4fa2d15c15 2004-06-02 Gonzalo Paniagua Javier <[email protected]>
* TraceData.cs: html-encode the messages written to the trace. Fixes
	bug #59431.

svn path=/trunk/mcs/; revision=28701
2004-06-02 14:47:02 +00:00
Gonzalo Paniagua Javier 8342f74320 2004-06-02 Gonzalo Paniagua Javier <[email protected]>
* Binder.cs: default score must be lower than fail_score or we'll get
	an ambiguous match when no indexers given and one single match is found.

svn path=/trunk/mcs/; revision=28698
2004-06-02 14:30:56 +00:00
Gonzalo Paniagua Javier f44b83ff48 2004-06-02 Gonzalo Paniagua Javier <[email protected]>
* BinderTests.cs: one more test for matching a single property. Adapted
	to nunit 2.2 style.

svn path=/trunk/mcs/; revision=28697
2004-06-02 14:29:09 +00:00
Urs C. Muff 20792a1e4e Update to beta2, provided by kangaroo (removed gc 6.3 a 6 dep, since that is included now)
svn path=/trunk/mono/; revision=28696
2004-06-02 13:56:00 +00:00
Miguel de Icaza c640a6dbca Flsuh
svn path=/trunk/mono/; revision=28695
2004-06-02 13:45:21 +00:00
Lluis Sanchez a11fa40df5 * HttpSimpleProtocolImporter.cs: Fixed case of generated methods to match
MS behavior. Always use import input parameters as System.String.
	* ProtocolImporter.cs: Remove _x0020_ from type names.
	* SoapProtocolImporter.cs: Fixed case of generated methods to match
	  MS behavior.

svn path=/trunk/mcs/; revision=28694
2004-06-02 13:43:45 +00:00
Lluis Sanchez 3e5c944d3c * LogicalMethodInfo.cs: Don't crash in GetCustomAttribute if the requested
attribute is not found.

svn path=/trunk/mcs/; revision=28693
2004-06-02 13:42:29 +00:00
Sureshkumar T 1a324291c4 Implemented GetByte method. Fixed bug #58820
svn path=/trunk/mcs/; revision=28691
2004-06-02 08:44:42 +00:00
Umadevi S a8e6fcdf07 * SQLDebugging.cs: added missing attributes, marked ctor
public to match MS.NET

svn path=/trunk/mcs/; revision=28690
2004-06-02 08:20:21 +00:00
Marek Safar 87167c7734 2004-06-02 Marek Safar <[email protected]>
Fixed #59072
	* typemanager.cs (GetFullNameSignature): New method for
	MethodBase types.

svn path=/trunk/mcs/; revision=28689
2004-06-02 08:11:36 +00:00
Marek Safar 9ed88b2d45 2004-06-02 Marek Safar <[email protected]>
Fixed #56452
	* class.cs (MemberBase.GetSignatureForError): New virtual method.
	Use this method when MethodBuilder is null.
	(MethodData.DefineMethodBuilder): Encapsulated code to the new method.
	Added test for error CS0626 (MONO reports error for this situation).
	(IMethodData.GetSignatureForError): Extended interface.

svn path=/trunk/mcs/; revision=28688
2004-06-02 07:25:18 +00:00
Umadevi S 09f0d5500b * OleDbParameter.cs: added missing attributes
* OleDbPermission.cs: added missing attributes
       * OleDbConnection.cs: added missing attributes
       * OleDbDataAdapter.cs: added missing attributes

svn path=/trunk/mcs/; revision=28687
2004-06-02 06:13:15 +00:00
Marek Safar 91c45adb65 I forgot include my latest test
svn path=/trunk/mcs/; revision=28686
2004-06-02 05:09:29 +00:00
Umadevi S 01c1457a04 * OdbcParameter.cs: added missing attributes
* OdbcPermission.cs: added missing attributes
       * OdbcConnection.cs: fixes attribute, added missing attributes
       * OdbcInfoMessageEventArgs.cs: removed extra properties, fixed
       API compatibility with MS.NET
       * OdbcCommandBuilder.cs: use correct attributes

svn path=/trunk/mcs/; revision=28684
2004-06-02 05:02:58 +00:00
Duncan Mak bb99ec8eb8 Use the correct yum-repository.
svn path=/trunk/mono/; revision=28683
2004-06-02 04:55:49 +00:00
Martin Baulig 7b6c68d084 2004-06-02 Martin Baulig <[email protected]>
Set version number to 37.

svn path=/trunk/mcs/; revision=28680
2004-06-02 04:45:57 +00:00
Martin Baulig 9f727da8ce 2004-06-02 Martin Baulig <[email protected]>
* mono-debug.h (MONO_DEBUGGER_VERSION): Bumped version to 41.

	* debug-mono-symfile.h: Bumped symbol file version number to 37.

svn path=/trunk/mono/; revision=28679
2004-06-02 04:45:30 +00:00
Umadevi S aba4022c63 * DataColumnMappingCollection.cs: added missing attributes on
indexers

svn path=/trunk/mcs/; revision=28678
2004-06-02 04:33:12 +00:00
Umadevi S a8ff9e76f9 2004-06-02 Umadevi S <[email protected]>
* added System.Data/DataTableTypeConverter to system.data.dll.sources

svn path=/trunk/mcs/; revision=28677
2004-06-02 04:24:43 +00:00
Umadevi S ecb8b65b60 * DataTableTypeConverter.cs: added
* DataView.cs: added missing attribute on Table property
* DataViewManager.cs: moved attribute to correct property
* UniqueConstraint.cs: removed extra ReadOnly attribute from
       IsPrimaryKey property

svn path=/trunk/mcs/; revision=28676
2004-06-02 04:22:28 +00:00
Miguel de Icaza 1f5237f4c2 Flush
svn path=/trunk/mono/; revision=28673
2004-06-02 03:44:33 +00:00
Gonzalo Paniagua Javier b9d4b51646 missing 3 comments
svn path=/trunk/mcs/; revision=28671
2004-06-02 02:59:21 +00:00
Gonzalo Paniagua Javier ea81552b3f 2004-06-02 Gonzalo Paniagua Javier <[email protected]>
* Binder.cs: removed ^Ms. In case of several properties matching, try
	to disambiguate based on the indexer types provider and the conversions
	from those into the ones of the property.

svn path=/trunk/mcs/; revision=28670
2004-06-02 02:49:29 +00:00
Gonzalo Paniagua Javier 48c23a3d48 2004-06-02 Gonzalo Paniagua Javier <[email protected]>
* BinderTests.cs: added more indexers and more SelectProperty tests.

svn path=/trunk/mcs/; revision=28669
2004-06-02 02:43:05 +00:00
Todd Berman fcd6a5179a match mono-rpm-helpers rearranging in mcs
svn path=/trunk/mono/; revision=28668
2004-06-02 02:26:46 +00:00
Todd Berman 4c0f55d680 2004-06-01 Todd Berman <[email protected]>
* all: move stuff around so that it builds properly.
        build system cant handle building two exes from one directory.

svn path=/trunk/mcs/; revision=28667
2004-06-02 02:26:17 +00:00
Sebastien Pouliot d19c09b70a 2004-06-01 Sebastien Pouliot <[email protected]>
* TimeSpan.cs: Fixed exceptions in FromXXX methods as they are
	somewhat different from the documentation.

svn path=/trunk/mcs/; revision=28666
2004-06-02 02:05:57 +00:00
Sebastien Pouliot 924167bbe6 2004-06-01 Sebastien Pouliot <[email protected]>
* TimeSpanTest.cs: Added tests for exceptions in FromXXX methods
	which are very badly documented.

svn path=/trunk/mcs/; revision=28665
2004-06-02 01:43:24 +00:00
Martin Baulig b3be87884e Reverted Ben's latest change, it broke the debugger :-(
svn path=/trunk/mcs/; revision=28656
2004-06-01 20:19:50 +00:00
Todd Berman 457a215edf fixing domain, if someone could push this, that would rock :)
svn path=/trunk/mono/; revision=28655
2004-06-01 20:06:50 +00:00
Marek Safar d12ace09e5 2004-06-01 Marek Safar <[email protected]>
* test-267.cs: New test.

svn path=/trunk/mcs/; revision=28654
2004-06-01 20:06:00 +00:00
Atsushi Eno 4935bfc2a8 2004-06-01 Atsushi Enomoto <[email protected]>
* DataRow.cs : ColumnsChanged event is not required in .ctor().

svn path=/trunk/mcs/; revision=28652
2004-06-01 19:27:03 +00:00
Marek Safar 421ba8f515 2004-06-01 Marek Safar <[email protected]>
* attribute.cs
	(AttributeTester.GetObsoleteAttribute): Returns instance of
	ObsoleteAttribute when type is obsolete.

	* class.cs
	(TypeContainer.VerifyObsoleteAttribute): Override.
	(Method.GetSignatureForError): New method for usage when MethodBuilder is null.
	(MethodCode.VerifyObsoleteAttribute): Override.
	(MemberBase.VerifyObsoleteAttribute): Override.

	* decl.cs
	(MemberCore.CheckUsageOfObsoleteAttribute): Tests presence of ObsoleteAttribute
	and report proper error.

	*delegate.cs
	Delegate.VerifyObsoleteAttribute): Override.

	* ecore.cs
	(Expression.CheckObsoleteAttribute): Tests presence of ObsoleteAttribute
	and report proper error.
	(FieldExpr.DoResolve): Added tests for ObsoleteAttribute.

	* enum.cs
	(Enum.GetObsoleteAttribute): Returns ObsoleteAttribute for both enum type
	and enum member.

	* expression.cs
	(Probe.DoResolve, Cast.DoResolve, LocalVariableReference.DoResolve,
	New.DoResolve, SizeOf.DoResolve, TypeOf.DoResolce, MemberAccess.DoResolve):
	Added test for ObsoleteAttribute.

	* statement.cs
	(Catch): Derived from Statement.

svn path=/trunk/mcs/; revision=28651
2004-06-01 18:57:19 +00:00
Atsushi Eno fe58e181f1 2004-06-01 Atsushi Enomoto <[email protected]>
* XmlDataReader.cs : type change is required before setting value
	  string to row item.

svn path=/trunk/mcs/; revision=28650
2004-06-01 18:49:14 +00:00
Marek Safar f663a673c7 2004-06-01 Marek Safar <[email protected]>
Fixed bug #59071 & cs0160.cs

	* statement.cs (Try.Resolve): Check here whether order of catch
	clauses matches their dependencies.

svn path=/trunk/mcs/; revision=28648
2004-06-01 18:24:31 +00:00
Gert Driesen 85abe35367 * RemotingServices.cs: Added missing Conditional attribute and
MonoTODO attribute on LogRemotingStage

svn path=/trunk/mcs/; revision=28644
2004-06-01 17:58:08 +00:00
Gert Driesen 6f4501e510 * Assembly.cs: added missing ComVisible attribute on
ImageRuntimeVersion property
* ConstructorInfo.cs: added missing attributes on Invoke
* EventInfo.cs: added missing attributes
* FieldInfo.cs: added missing attributes
* MethodBase.cs: added missing attributes
* PropertyInfo.cs: added missing attributes

svn path=/trunk/mcs/; revision=28642
2004-06-01 17:48:31 +00:00
Gert Driesen 33f3a435b5 forgot to remove conflict indicators
svn path=/trunk/mcs/; revision=28641
2004-06-01 17:47:55 +00:00
Gert Driesen 8860a80e89 * Type.cs: added missing attributes on InvokeMember
svn path=/trunk/mcs/; revision=28640
2004-06-01 17:47:04 +00:00
Atsushi Eno f6e61d103b 2004-06-01 Atsushi Enomoto <[email protected]>
* platforms/win32.make : TEST_RUNTIME should be always mono we can't
	  test our libs against MS.NET runtime. Think about internal call).

svn path=/trunk/mcs/; revision=28628
2004-06-01 14:15:36 +00:00
Miguel de Icaza afe6148ebd 2004-06-01 Miguel de Icaza <[email protected]>
* String.cs: Flag concat with four arguments internal.

svn path=/trunk/mcs/; revision=28625
2004-06-01 13:30:40 +00:00
Ravindra da34629417 Minor correction in Pen.Dispose and SolidBrush.Dispose
svn path=/trunk/mcs/; revision=28624
2004-06-01 12:09:36 +00:00
Sebastien Pouliot c68c1bd6c0 2004-06-01 Sebastien Pouliot <[email protected]>
* SortedList.cs: Fixed case where the initial capacity was set to 0.

svn path=/trunk/mcs/; revision=28623
2004-06-01 12:09:27 +00:00
Sebastien Pouliot a2d18abb30 2004-06-01 Sebastien Pouliot <[email protected]>
* SortedListTest.cs: Added new test when initial capacity is set to 0
	(so it never returns to default, 16, when Capacity is set to 0) unless
	Clear is called. Cleaned up unused SetUp/TearDown.

svn path=/trunk/mcs/; revision=28622
2004-06-01 12:05:49 +00:00
Marek Safar dd7100cbbd 2004-06-01 Marek Safar <[email protected]>
* cs1555.cs,
	* cs1556.cs,
	* cs3000.cs: 3 new error tests.

svn path=/trunk/mcs/; revision=28621
2004-06-01 11:59:37 +00:00
Raja R Harinath 5a6cb5ce83 (monolite-bootstrap): Update.
svn path=/trunk/mono/; revision=28620
2004-06-01 10:02:34 +00:00
Raja R Harinath a90a8752fa (bootstrap,faststrap,fasterstrap): Refactor.
Fix 'faststrap' to be corlib-version-change-safe.
(one-stage-strap,two-stage-strap,three-stage-strap): Remove.

svn path=/trunk/mono/; revision=28619
2004-06-01 09:50:00 +00:00
Lluis Sanchez 2cf46f9f3a 2004-06-01 Gert Driesen <[email protected]>
* DiscoveryReference.cs: Added missing XmlIgnore attribute.

svn path=/trunk/mcs/; revision=28617
2004-06-01 08:59:06 +00:00
Lluis Sanchez d939457bb9 2004-06-01 Gert Driesen <[email protected]>
* HttpSoapWebServiceHandler.cs: Removed unused variables.
	* SoapHeaderAttribute.cs: Added Obsolete attribute.

svn path=/trunk/mcs/; revision=28616
2004-06-01 08:58:32 +00:00
Lluis Sanchez bc88cf65e9 * Binding.cs: removed extra XmlIgnore attribute on ServiceDescription
* Import.cs: removed extra XmlIgnore attribute on ServiceDescription
	* Message.cs: removed extra XmlIgnore attribute on ServiceDescription
	* MessageBinding.cs: removed extra DefaultValue attribute from Name,
	removed extra XmlIgnoreAttribute from OperationBinding
	* MessagePart.cs: removed extra XmlIgnore attribute on Message
	* MimeContentBinding.cs: removed extra DefaultValue attribute on Part
	* Operation.cs: removed extra XmlIgnore attribute on PortType
	* OperationBinding.cs: removed extra XmlIgnore attribute on Binding
	* OperationMessage.cs: removed extra XmlIgnore attribute on Operation
	* Port.cs: removed extra XmlIgnore attribute on Service
	* PortType.cs: removed extra XmlIgnore on ServiceDescription
	* Service.cs: removed extra XmlIgnore on ServiceDescription
	* ServiceDescriptionFormatExtension.cs: removed extra XmlIgnore
	  attribute on Parent
	* SoapHeaderBinding.cs: added XmlElement attribute on Fault
	* HttpSimpleProtocolImporter.cs: removed unused variable
	* ServiceDescriptionImporter.cs: removed unused variable
	* SoapProtocolImporter.cs: removed unused variable

svn path=/trunk/mcs/; revision=28615
2004-06-01 08:49:25 +00:00
Lluis Sanchez 11b23d5c2a * WebServicesConfigurationSectionHandler.cs: removed unused variables
svn path=/trunk/mcs/; revision=28614
2004-06-01 08:48:08 +00:00
Ravindra fdeac5a1d2 Patch from Gert Driesen.
svn path=/trunk/mcs/; revision=28613
2004-06-01 08:29:58 +00:00
Anirban Bhattacharjee 99bc5750c0 test cases for Delegate
svn path=/trunk/mcs/; revision=28612
2004-06-01 06:12:41 +00:00
Gonzalo Paniagua Javier f611271a66 2004-06-01 Gonzalo Paniagua Javier <[email protected]>
* HttpWorkerRequest.cs: the hashtables are now case-insensitive. Thanks
	to Markus Kr�utner.

svn path=/trunk/mcs/; revision=28611
2004-06-01 05:47:02 +00:00
Gonzalo Paniagua Javier ab10994d3d 2004-06-01 Gonzalo Paniagua Javier <[email protected]>
* RegexBugs.cs: added CategoryAndNegated test.

svn path=/trunk/mcs/; revision=28610
2004-06-01 05:45:05 +00:00
Gonzalo Paniagua Javier 4d8d5cc311 2004-06-01 Gonzalo Paniagua Javier <[email protected]>
* syntax.cs: re-applied my patch from 2004-05-27 plus a fix which is
	emitting a Category.All if both a category and its negated value are
	present.

svn path=/trunk/mcs/; revision=28609
2004-06-01 05:43:48 +00:00
Ravindra 46eac4f446 Formatting.
svn path=/trunk/mcs/; revision=28608
2004-06-01 05:10:45 +00:00
Ravindra e21f636e8c * Pen.cs: Added a note on Dispose method.
* Brush.cs: Fixed Dispose method.
	* SolidBrush.cs: Fixed Dispose method.

svn path=/trunk/mcs/; revision=28607
2004-06-01 05:00:16 +00:00
Sebastien Pouliot b1b8611ecf 2004-05-31 Sebastien Pouliot <[email protected]>
* ArrayTest.cs: Fixed array used for some tests. Strangely the tests
	didn't fail on MS runtime ?!?! but they should have!

svn path=/trunk/mcs/; revision=28606
2004-06-01 01:42:38 +00:00
Sebastien Pouliot da69c6c63c 2004-05-31 Sebastien Pouliot <[email protected]>
* PathTest.cs: Fixed ChangeExtension_BadExtension to run only on Windows.

svn path=/trunk/mcs/; revision=28605
2004-06-01 01:24:57 +00:00
Gonzalo Paniagua Javier 6e3884f14f 2004-06-01 Gonzalo Paniagua Javier <[email protected]>
* syntax.cs: reverting my previous patch. It causes bigger problems.

svn path=/trunk/mcs/; revision=28604
2004-06-01 01:01:23 +00:00
Sebastien Pouliot 0b06a8ac4c 2004-05-31 Sebastien Pouliot <[email protected]>
* Array.cs: Fixed legal case where value is null.
	* Byte.cs: Fixed ToString when format is an empty string (use "G").

svn path=/trunk/mcs/; revision=28603
2004-06-01 00:49:08 +00:00
Sebastien Pouliot 8b96bfb634 2004-05-31 Sebastien Pouliot <[email protected]>
* Guid.cs: Renamed private fields (and changed some to signed) to
	match MS implementation and allow serialization to work. Fix
	bug #59113.

svn path=/trunk/mcs/; revision=28602
2004-06-01 00:45:29 +00:00
Sebastien Pouliot e2c9c8c0bf 2004-05-31 Sebastien Pouliot <[email protected]>
* Hashtable.cs: Added ArgumentNullException in GetObjectData.

svn path=/trunk/mcs/; revision=28601
2004-06-01 00:44:10 +00:00
Sebastien Pouliot 585d7ffd41 2004-05-31 Sebastien Pouliot <[email protected]>
* ArrayListTest.cs: Added new test for null in BinarySearch.
	* HashtableTest.cs: Added null checking fro GetObjectData.

svn path=/trunk/mcs/; revision=28600
2004-06-01 00:20:08 +00:00
Sebastien Pouliot 93359ce5b4 2004-05-31 Sebastien Pouliot <[email protected]>
* FileTest.cs: Added tests to confirm that Exists never throws
	exceptions even for invalid filenames or for unexisting directories.
	* PathTest.cs: Added windows-specific tests that shows that
	ChangeExtension validate the input patch but doesn't validate the
	resulting path.

svn path=/trunk/mcs/; revision=28599
2004-06-01 00:16:12 +00:00
Sebastien Pouliot de8ffd34ed 2004-05-30 Sebastien Pouliot <[email protected]>
* ArrayTest.cs: Added tests for null values in BinarySearch.
	* Byte.cs: Added test for default ToString format value.

svn path=/trunk/mcs/; revision=28598
2004-06-01 00:11:50 +00:00
Gonzalo Paniagua Javier f82a1f85dd 2004-05-31 Gonzalo Paniagua Javier <[email protected]>
* HttpRequest.cs: nullify _sRequestRootVirtualDir and baseVirtualDir
	when SetFilePath is called. This way the cached values are reset and
	get the right value in case someone (namely SessionStateModule +
	cookieless session) changes the FilePath after the property cached its
	value. Fixes bug #59364.

svn path=/trunk/mcs/; revision=28586
2004-05-31 19:15:56 +00:00
Atsushi Eno e3cfa1cf7c 2004-05-31 Atsushi Enomoto <[email protected]>
* DataSet.cs : Loop-break of the last fix was incorrect.

svn path=/trunk/mcs/; revision=28585
2004-05-31 19:12:07 +00:00
Miguel de Icaza 3343ab394f version
svn path=/trunk/mcs/; revision=28575
2004-05-31 18:22:57 +00:00
Miguel de Icaza 749975515b version
svn path=/trunk/mcs/; revision=28574
2004-05-31 18:22:28 +00:00
Atsushi Eno 29bd87001f 2004-05-31 Atsushi Enomoto <[email protected]>
* DataSet.cs : When a row has no parent row but the table has parent
	  relation(s), that row had been always ignored.

svn path=/trunk/mcs/; revision=28572
2004-05-31 18:16:37 +00:00
Gonzalo Paniagua Javier 1263f41404 tired of those ^M
svn path=/trunk/mcs/; revision=28571
2004-05-31 18:14:08 +00:00
Miguel de Icaza 3389912d8f This is Beta2
svn path=/trunk/mono/; revision=28567
2004-05-31 17:51:14 +00:00
Miguel de Icaza f131483ce6 UPdate
svn path=/trunk/mono/; revision=28566
2004-05-31 17:28:06 +00:00
Atsushi Eno f2bfd9fe48 2004-05-31 Atsushi Enomoto <[email protected]>
* XmlDataInferenceLoader.cs : Fixed GetMappedTable() that incorrectly
	  rejected same-named tables in different hierarchy. Thanks to Boris.

svn path=/trunk/mcs/; revision=28565
2004-05-31 17:16:55 +00:00
Ben Maurer e45a69164c add multi-6
svn path=/trunk/mcs/; revision=28564
2004-05-31 17:12:21 +00:00
Gonzalo Paniagua Javier 1602cb9de7 2004-05-31 Gonzalo Paniagua Javier <[email protected]>
* configure.in: fixlets for windows.

svn path=/trunk/mono/; revision=28562
2004-05-31 17:01:48 +00:00
Paolo Molaro d273b61a20 Mon May 31 19:41:46 CEST 2004 Paolo Molaro <[email protected]>
* mini.c revert Zoltan's fix to bug#58863 on ppc, since it causes
	regressions in gtk-sharp.

svn path=/trunk/mono/; revision=28561
2004-05-31 17:01:25 +00:00
Miguel de Icaza 81e825559a 2004-05-31 Miguel de Icaza <[email protected]>
* Reverted patch to namespace.cs (Use lookuptypedirect).  This
	caused a regression: #59343.  Referencing nested classes from an
	assembly stopped working.

svn path=/trunk/mcs/; revision=28560
2004-05-31 16:57:21 +00:00
Atsushi Eno b1000500d6 2004-05-31 Atsushi Enomoto <[email protected]>
* XmlDiffLoader.cs : Added some Skip() that is required not to go to
	  infinite loop. Thanks to Boris for this fix.

svn path=/trunk/mcs/; revision=28558
2004-05-31 16:50:16 +00:00
Atsushi Eno 4557407d6d 2004-05-31 Atsushi Enomoto <[email protected]>
* Directory.cs, File.cs : Fixed Exists() that raised
	  DirectoryNotFoundException. Quick fix for bug #59354.

svn path=/trunk/mcs/; revision=28557
2004-05-31 16:44:03 +00:00
Zoltan Varga a84be32229 2004-05-31 Zoltan Varga <[email protected]>
* marshal.c (mono_marshal_get_runtime_invoke): Fix CR/LFs.

svn path=/trunk/mono/; revision=28555
2004-05-31 15:47:57 +00:00
Miguel de Icaza 862d515398 Updated with new tests
svn path=/trunk/mcs/; revision=28554
2004-05-31 15:18:47 +00:00
Miguel de Icaza 27adaadb5b Add new test files
svn path=/trunk/mcs/; revision=28553
2004-05-31 15:13:25 +00:00
Atsushi Eno 0820f840a5 2004-05-31 Atsushi Enomoto <[email protected]>
* SignedXml.cs : partial fix for bug #59165 that does not output
	  namespace that conflicts with element's namespace.

svn path=/trunk/mcs/; revision=28551
2004-05-31 12:06:45 +00:00
Atsushi Eno 87aa3d424c The latest tests were by Boris Kirzner (thanks!)
svn path=/trunk/mcs/; revision=28550
2004-05-31 10:47:19 +00:00
Atsushi Eno acec2a5772 2004-05-31 Atsushi Enomoto <[email protected]>
* DataTableTest.cs : Added test for serialization.
	* DataSetInferXmlSchemaTest.cs : Added test for schema element skip.

svn path=/trunk/mcs/; revision=28549
2004-05-31 10:45:27 +00:00
Atsushi Eno c4c84f3d00 2004-05-31 Atsushi Enomoto <[email protected]>
* XmlDataInferenceLoader.cs : XmlSchema elements should not be infered.
	  Thanks to Boris for this fix.

svn path=/trunk/mcs/; revision=28548
2004-05-31 10:29:27 +00:00
Atsushi Eno d538cb0571 2004-05-31 Atsushi Enomoto <[email protected]>
* RncParser.jay : now error output is disabled.
	* RncTokenizer.cs : It should not be public class.

svn path=/trunk/mcs/; revision=28547
2004-05-31 10:23:31 +00:00
Atsushi Eno 9c5f8f2746 2004-05-31 Atsushi Enomoto <[email protected]>
* Misc.cs : made Util class internal.
	* RelaxngDatatypeProvider.cs : looks commit was missing.
	* RelaxngException.cs : made one .ctor() internal that accepts
	  RdpPattern.
	* RelaxngNameClas.cs : Names list should not be settable.
	* RelaxngPattern.cs : RelaxngRefPattern class is internal use only.
	* RelaxngPatternType.cs : there is not "Include" pattern.

svn path=/trunk/mcs/; revision=28546
2004-05-31 10:22:51 +00:00
Atsushi Eno da5275f248 2004-05-31 Atsushi Enomoto <[email protected]>
* anglia-test-runner.cs : Added support for RELAX NG compact syntax
	  parser tests.
	* Makefile : added anglia-test support.
	* README : ditto.

svn path=/trunk/mcs/; revision=28545
2004-05-31 10:22:02 +00:00
Rafael Teixeira 776110a374 2004-05-31 Rafael Teixeira <[email protected]>
* OptionDetails.cs : ShortForm member now a string to favor some simplifications, fixes for Bug 58672
	* OptionList.cs : Fixes for Bug 58672 and better handling for mixed-form options (linux/windows)

svn path=/trunk/mcs/; revision=28543
2004-05-31 09:15:09 +00:00
Rafael Teixeira 386481ff06 Exercise Mono.GetOptions a bit in the testmbas/WriteOK.exe target
svn path=/trunk/mcs/; revision=28542
2004-05-31 08:57:22 +00:00
Ravindra 956c67906f * pie.cs: Made the output image little organized and added a
case where DrawPie and FillPie were crashing the system. It
	was happening with zero degree sweep angle.

svn path=/trunk/mcs/; revision=28541
2004-05-31 08:43:54 +00:00
Rafael Teixeira a9c884eaef 2004-05-31 Rafael Teixeira <[email protected]>
* OptionDetails.cs: Assemble an one-line authors' list in about processor (also abandon after about)

svn path=/trunk/mcs/; revision=28534
2004-05-31 07:03:50 +00:00
Rafael Teixeira 86a295501e 2004/05/31 Rafael Teixeira <[email protected]>
* AssemblyInfo.cs : Anirban is and author too

svn path=/trunk/mcs/; revision=28532
2004-05-31 07:00:05 +00:00
Rafael Teixeira 7ebae8306a 2004-05-31 Rafael Teixeira <[email protected]>
* Financial.cs:
		Correct IRR and MIRR method signatures and prevent public default constructor, all according to Class Status Page (corcompare)

svn path=/trunk/mcs/; revision=28530
2004-05-31 05:35:21 +00:00
Rafael Teixeira b1853cba15 BETTER ALPHA WARNING
svn path=/trunk/mcs/; revision=28529
2004-05-31 04:51:11 +00:00
Martin Baulig 5d7664c3cc 2004-05-31 Martin Baulig <[email protected]>
MCS is now frozen for beta 2.

svn path=/trunk/mcs/; revision=28528
2004-05-31 02:55:34 +00:00
Martin Baulig 1390efe910 **** Merged from MCS ****
svn path=/trunk/mcs/; revision=28527
2004-05-31 02:46:01 +00:00
Martin Baulig b5c5563b18 **** Merged from MCS ****
svn path=/trunk/mcs/; revision=28526
2004-05-31 02:44:20 +00:00
Martin Baulig a02bf8816d Reverted everything back until 14:15 this afternoon.
svn path=/trunk/mcs/; revision=28525
2004-05-31 02:32:48 +00:00
Martin Baulig 7e9bc7847d 2004-05-30 Ben Maurer <[email protected]>
* decl.cs: If possible, use lookuptypedirect here. We can only do
	this if there is no `.' after the namespace. Avoids using
	LookupType, which does lots of slow processing.
	(FindNestedType) New method, does what it says :-).
	* namespace.cs: use LookupTypeDirect.
	* rootcontext.cs: use membercache, if possible.
	* typemanager.cs (LookupTypeDirect): Cache negative hits too.

svn path=/trunk/mcs/; revision=28523
2004-05-31 02:31:16 +00:00
Martin Baulig 42981c413a 2004-05-30 Ben Maurer <[email protected]>
* expression.cs:
	According to the spec,

	In a member access of the form E.I, if E is a single identifier,
	and if the meaning of E as a simple-name (�7.5.2) is a constant,
	field, property, localvariable, or parameter with the same type as
	the meaning of E as a type-name (�3.8), then both possible
	meanings of E are permitted.

	We did not check that E as a simple-name had the same type as E as
	a type name.

	This trivial check gives us 5-7% on bootstrap time.

2004-05-30 Ben Maurer  <[email protected]>

	* expression.cs (Invocation.OverloadResolve): Avoid the
	use of hashtables and boxing here by allocating on demand.

svn path=/trunk/mcs/; revision=28522
2004-05-31 02:26:38 +00:00
Martin Baulig d31c6ef8d0 2004-05-30 Martin Baulig <[email protected]>
* rootcontext.cs (RootContext.LookupType): Don't cache things if
	we're doing a silent lookup.  Don't try to lookup nested types in
	TypeManager.object_type (thanks to Ben Maurer).

2004-05-30  Martin Baulig  <[email protected]>

	Committing a patch from Ben Maurer.

	* rootcontext.cs (RootContext.LookupType): Cache negative results.

svn path=/trunk/mcs/; revision=28521
2004-05-31 02:24:04 +00:00
Martin Baulig 7af71bde6d Reverted everything back until 14:15:00 this afternoon.
svn path=/trunk/mcs/; revision=28520
2004-05-31 02:12:45 +00:00
Martin Baulig 53624cf702 Moved the marker again.
svn path=/trunk/mcs/; revision=28519
2004-05-31 01:18:45 +00:00
Martin Baulig 4f900ec539 **** Merged from MCS ****
svn path=/trunk/mcs/; revision=28518
2004-05-31 01:18:06 +00:00
Ben Maurer aa976d180b hush little baby, dont say a word
svn path=/trunk/mcs/; revision=28517
2004-05-31 01:13:30 +00:00
Ben Maurer 9221c586f1 disable this for now
svn path=/trunk/mcs/; revision=28516
2004-05-31 01:11:56 +00:00
Ben Maurer 74df29cff8 2004-05-30 Ben Maurer <[email protected]>
* convert.cs: add a trivial cache for overload operator resolution.

svn path=/trunk/mcs/; revision=28515
2004-05-30 23:11:04 +00:00
Ben Maurer f333a7fbb7 revert this patch, it broke the build
svn path=/trunk/mcs/; revision=28514
2004-05-30 22:49:58 +00:00
Jackson Harper 518da7775c * library.make: Install to 2.0 package if building with the
net_2_0 profile.

svn path=/trunk/mcs/; revision=28513
2004-05-30 22:44:38 +00:00
Ben Maurer de1565c510 2004-05-31 Marek Safar <[email protected]>
* attribute.cs
	(AttributeTester.GetObsoleteAttribute): Returns instance of
	ObsoleteAttribute when type is obsolete.

	* class.cs
	(TypeContainer.VerifyObsoleteAttribute): Override.
	(Method.GetSignatureForError): New method for usage when MethodBuilder is null.
	(MethodCode.VerifyObsoleteAttribute): Override.

svn path=/trunk/mcs/; revision=28512
2004-05-30 22:10:04 +00:00
Marek Safar df8d224980 2004-05-31 Marek Safar <[email protected]>
* attribute.cs
	(AttributeTester.GetObsoleteAttribute): Returns instance of
	ObsoleteAttribute when type is obsolete.

	* class.cs
	(TypeContainer.VerifyObsoleteAttribute): Override.
	(Method.GetSignatureForError): New method for usage when MethodBuilder is null.
	(MethodCode.VerifyObsoleteAttribute): Override.
	(MemberBase.VerifyObsoleteAttribute): Override.

	* decl.cs
	(MemberCore.CheckUsageOfObsoleteAttribute): Tests presence of ObsoleteAttribute
	and report proper error.

	*delegate.cs
	(Delegate.VerifyObsoleteAttribute): Override.

	* ecore.cs
	(Expression.CheckObsoleteAttribute): Tests presence of ObsoleteAttribute
	and report proper error.
	(FieldExpr.DoResolve): Added tests for ObsoleteAttribute.

	* enum.cs
	(Enum.GetObsoleteAttribute): Returns ObsoleteAttribute for both enum type
	and enum member.

	* expression.cs
	(Probe.DoResolve, Cast.DoResolve, LocalVariableReference.DoResolve,
	New.DoResolve, SizeOf.DoResolve, TypeOf.DoResolce, MemberAccess.DoResolve):
	Added test for ObsoleteAttribute.

	* statement.cs
	(Catch): Derived from Statement.

svn path=/trunk/mcs/; revision=28511
2004-05-30 21:56:07 +00:00
Marek Safar 27e7e8ce15 2004-05-31 Marek Safar <[email protected]>
* attribute.cs
	(GetConditionalAttributeValue): New method. Returns
	condition of ConditionalAttribute.
	(SearchMulti): New method.  Returns all attributes of type 't'.
	Use it when attribute is AllowMultiple = true.

	* class.cs
	(Method.IsExcluded): Implemented. Returns true if method has conditional
	attribute and the conditions is not defined (method is excluded).
	(IMethodData): Extended interface for ConditionalAttribute support.
	(PropertyMethod.IsExcluded): Implemented.

svn path=/trunk/mcs/; revision=28510
2004-05-30 21:37:08 +00:00
Martin Baulig c69e5cf3df Oooops, forgot to add this.
svn path=/trunk/mcs/; revision=28509
2004-05-30 21:32:23 +00:00
Marek Safar 88c51c34b5 2004-05-30 Marek Safar <[email protected]>
* test-240.cs: Enable test.

svn path=/trunk/mcs/; revision=28508
2004-05-30 21:28:21 +00:00
Gonzalo Paniagua Javier a2890ef65c 2004-05-30 Gonzalo Paniagua Javier <[email protected]>
* Mono.Data.SqliteClient.dll.sources: added SqliteTransaction.cs

	* Mono.Data.SqliteClient/SqliteConnection.cs:
	* Mono.Data.SqliteClient/SqliteTransaction.cs: patch from
	[email protected] that adds transactions support.

svn path=/trunk/mcs/; revision=28507
2004-05-30 20:50:33 +00:00
Gonzalo Paniagua Javier 370c785c91 2004-05-30 Gert Driesen ([email protected])
* SetWin32ContextInIDispatchAttribute.cs: only build
	for NET_2_0 profile
	* VariantWrapper.cs: only build for NET_2_0 profile

svn path=/trunk/mcs/; revision=28506
2004-05-30 20:42:47 +00:00
Ben Maurer 03fc690667 2004-05-30 Ben Maurer <[email protected]>
* expression.cs:
	According to the spec,

	In a member access of the form E.I, if E is a single identifier,
	and if the meaning of E as a simple-name (�7.5.2) is a constant,
	field, property, localvariable, or parameter with the same type as
	the meaning of E as a type-name (�3.8), then both possible
	meanings of E are permitted.

	We did not check that E as a simple-name had the same type as E as
	a type name.

	This trivial check gives us 5-7% on bootstrap time.

svn path=/trunk/mcs/; revision=28505
2004-05-30 20:37:58 +00:00
Ben Maurer 9027e9d1b2 add this
svn path=/trunk/mcs/; revision=28504
2004-05-30 20:33:08 +00:00
Atsushi Eno e21ad29117 2004-05-30 Atsushi Enomoto <[email protected]>
* RncTests.cs : fixed test that got impossible to build anymore.

svn path=/trunk/mcs/; revision=28503
2004-05-30 20:23:52 +00:00
Atsushi Eno 5cd74c6e93 2004-05-30 Atsushi Enomoto <[email protected]>
* RncParser.jay :
	  Now RncParser.Parse() returns RelaxngPattern, not RelaxngGrammar.
	  Fixed many "confusing RelaxngPattern and RelaxngPatternList"
	  problems, and ditto for other "List" stuff.
	  To avoid complex situations, mostly removed unused annotation stuff.

svn path=/trunk/mcs/; revision=28502
2004-05-30 20:23:26 +00:00
Atsushi Eno f03957145f 2004-05-30 Atsushi Enomoto <[email protected]>
* RelaxngDatatypeProvider.cs : removed meaningless using alias.
	* RelaxngGrammar.cs : modified ArrayList to RelaxngGrammarContentList.
	  RelaxngMergedProvider.cs : Added #if PNET switch to support non-
	  xmlschema available environment.
	* RelaxngPattern.cs : added IGrammarContent and
	  RelaxngGrammarContentList.

svn path=/trunk/mcs/; revision=28501
2004-05-30 20:22:51 +00:00
Miguel de Icaza 022f2a162c Start
svn path=/trunk/mono/; revision=28500
2004-05-30 20:18:01 +00:00
Martin Baulig 8bdc8dbbb8 2004-05-30 Martin Baulig <[email protected]>
* Makefile (net_2_0_dir): New variable; also use the correct
	directory here.

svn path=/trunk/mcs/; revision=28499
2004-05-30 19:52:04 +00:00
Marek Safar 86108c6777 2004-05-30 Marek Safar <[email protected]>
Fixed bug #59071 & cs0160.cs
	* statement.cs (Try.Resolve): Check here whether order of catch
	clauses matches their dependencies.

svn path=/trunk/mcs/; revision=28498
2004-05-30 19:51:00 +00:00
Sebastien Pouliot 782aff048c 2004-05-30 Sebastien Pouliot <[email protected]>
* FileStream.cs: Added missing validations.

svn path=/trunk/mcs/; revision=28497
2004-05-30 19:34:26 +00:00
Sebastien Pouliot 3666377b63 2004-05-30 Sebastien Pouliot <[email protected]>
* FileStream.cs: Lots of new tests for exception handling (negatives,
	disposed) and test reading a byte ast the end of the stream.

svn path=/trunk/mcs/; revision=28496
2004-05-30 19:18:50 +00:00
Atsushi Eno b20f049e63 2004-05-30 Atsushi Enomoto <[email protected]>
* DataTable.cs : serialization .ctor() should use XmlReadMode.DiffGram
	  for ReadXml(). Thanks to Boris.

svn path=/trunk/mcs/; revision=28495
2004-05-30 19:13:00 +00:00
Marek Safar 2f31aa3e43 2004-05-30 Marek Safar <[email protected]>
* cs1017.cs: New test.

svn path=/trunk/mcs/; revision=28494
2004-05-30 19:08:00 +00:00
Marek Safar b18d980fab 2004-05-30 Marek Safar <[email protected]>
Fixed bug #58624
	* ecore.cs (SimpleName.SimpleNameResolve): Added test for
	unsafe type.

svn path=/trunk/mcs/; revision=28493
2004-05-30 19:00:12 +00:00
Jackson Harper d857e242ab * AssemblyInfo.cs: Sign corlib for net_2_0 now too.
svn path=/trunk/mcs/; revision=28492
2004-05-30 17:58:43 +00:00
Sebastien Pouliot c716a7bd6f 2004-05-30 Sebastien Pouliot <[email protected]>
* BufferedStreamTest.cs: Added tests for Position after SetLength,
	SetLength after Close and Seek logic exception handling.
	* FileStream.cs: Added test for invalid SeekOrigin in Seek.
	* MemoryStream.cs: Added test for Seek after Close.

svn path=/trunk/mcs/; revision=28491
2004-05-30 17:58:09 +00:00
Sebastien Pouliot 50ad571d70 2004-05-30 Sebastien Pouliot <[email protected]>
* BufferedStream.cs: Fixed Seek logic (check for CanSeek and dispose).
	SetLength must also reset Position and check for dispose.
	* FileStream.cs: Added missing check for invalid SeekOrigin.

svn path=/trunk/mcs/; revision=28490
2004-05-30 17:52:35 +00:00
Jackson Harper 1fc3bcc2b8 * reflection.c: Do not hardcode assembly versions or public key
tokens anymore. All of this except the corlib section was dead
	code anyways.

svn path=/trunk/mono/; revision=28489
2004-05-30 17:19:24 +00:00
Martin Baulig 94abf32795 Small fix for NET_2_0.
svn path=/trunk/mcs/; revision=28488
2004-05-30 17:17:15 +00:00
Martin Baulig b47870a87b Small fix.
svn path=/trunk/mcs/; revision=28487
2004-05-30 17:04:33 +00:00
Martin Baulig 957bc1dbe3 Make things work again.
This should have been done during merging.

svn path=/trunk/mcs/; revision=28486
2004-05-30 16:59:41 +00:00
Martin Baulig a5d9b3f229 Fix typo (base_classs_type' -> base_class_type').
svn path=/trunk/mcs/; revision=28485
2004-05-30 16:20:02 +00:00
Martin Baulig 374bdf5cd7 Moved the marker.
svn path=/trunk/mcs/; revision=28484
2004-05-30 16:08:34 +00:00
Martin Baulig fee32a49f5 **** Merged from MCS ****
svn path=/trunk/mcs/; revision=28483
2004-05-30 16:06:13 +00:00
Ben Maurer c7f63eecba 2004-05-30 Ben Maurer <[email protected]>
* expression.cs (Invocation.OverloadResolve): Avoid the
	use of hashtables and boxing here by allocating on demand.

svn path=/trunk/mcs/; revision=28482
2004-05-30 15:48:50 +00:00
Martin Baulig 3920aa8c5c 2004-05-30 Martin Baulig <[email protected]>
* rootcontext.cs (RootContext.LookupType): Don't cache things if
	we're doing a silent lookup.  Don't try to lookup nested types in
	TypeManager.object_type (thanks to Ben Maurer).

svn path=/trunk/mcs/; revision=28481
2004-05-30 15:42:56 +00:00
Sebastien Pouliot 502882dde2 2004-05-30 Sebastien Pouliot <[email protected]>
* BinaryReader.cs: Added missing disposed check for most methods.
	Reordered some exceptions to match MS implementation.

svn path=/trunk/mcs/; revision=28480
2004-05-30 15:10:15 +00:00
Martin Baulig 6a30d9b3c6 2004-05-30 Martin Baulig <[email protected]>
Merged latest changes into gmcs.  Please keep this comment in
	here, it makes it easier for me to see what changed in MCS since
	the last time I merged.

svn path=/trunk/mcs/; revision=28477
2004-05-30 14:12:23 +00:00
Martin Baulig e1029c24e4 **** Merged from MCS ****
svn path=/trunk/mcs/; revision=28476
2004-05-30 14:10:53 +00:00
Martin Baulig e6971e6673 2004-05-30 Martin Baulig <[email protected]>
Committing a patch from Ben Maurer.

	* rootcontext.cs (RootContext.LookupType): Cache negative results.

svn path=/trunk/mcs/; revision=28475
2004-05-30 12:58:09 +00:00
Gonzalo Paniagua Javier 2f8403bcf4 *** empty log message ***
svn path=/trunk/mcs/; revision=28474
2004-05-30 11:57:18 +00:00
Gonzalo Paniagua Javier 83c5cdea3c 2004-05-30 Gonzalo Paniagua Javier <[email protected]>
* DateTime.cs: adjust milliseconds for fraction specifier ('f').

svn path=/trunk/mcs/; revision=28473
2004-05-30 11:45:33 +00:00
David Sheldon cd7a35cae1 2004-05-30 David Sheldon <[email protected]>
* StackFrameTest.cs: Mark the failures that have been failing
	for months due to bug 45730 as ignored as it doesn't look like
	it will be fixed soon.

My aim with these commits is that eventually people will run the test cases,
and see what errors they have caused, rather than tens of pages of stacktraces.

svn path=/trunk/mcs/; revision=28472
2004-05-30 08:23:00 +00:00
David Sheldon b03e7fffb8 2004-05-30 David Sheldon <[email protected]>
* DecimalTest.cs: Moved the rounding test that fails due to
    bug 37744 (bankers rounding) into its own test, and annotated it as ignored
    until the bug is fixed.

svn path=/trunk/mcs/; revision=28471
2004-05-30 08:02:01 +00:00
Miguel de Icaza 819395604c 2004-05-30 Miguel de Icaza <[email protected]>
* Console.cs: Remove *again* the version of WriteLine with four
	arguments;  That should *not* be added.

	Flag it as internal as people migrate their code.

svn path=/trunk/mcs/; revision=28469
2004-05-30 05:39:21 +00:00
Atsushi Eno 4fc67d1a14 2004-05-30 Atsushi Enomoto <[email protected]>
* XmlTextReader.cs : Fixed version mismatch; ProhibitDtd should be
	  NET_2_0.

svn path=/trunk/mcs/; revision=28468
2004-05-30 04:07:19 +00:00
Sebastien Pouliot 2c47c798a5 2004-05-29 Sebastien Pouliot <[email protected]>
* BinaryReader.cs: Added new cases to check exceptions thrown by Read
	methods.

svn path=/trunk/mcs/; revision=28467
2004-05-29 22:44:01 +00:00
Zoltan Varga 4a791732ff 2004-05-29 Zoltan Varga <[email protected]>
* invoke.cs: Add an Invoke test.

svn path=/trunk/mono/; revision=28465
2004-05-29 19:22:32 +00:00
Zoltan Varga a1e21f8406 2004-05-29 Zoltan Varga <[email protected]>
* object.c (mono_runtime_invoke_array): Automatically create boxed
	objects for byref valuetypes if needed. Fixes #59300.

svn path=/trunk/mono/; revision=28464
2004-05-29 19:20:49 +00:00
Sebastien Pouliot 942bdbd5f4 2004-05-29 Sebastien Pouliot <[email protected]>
* Convert.cs: Fixed ChangeTo where null could be misinterpreted
	between null and Empty.

svn path=/trunk/mcs/; revision=28462
2004-05-29 18:47:09 +00:00
Zoltan Varga ae63609233 2004-05-29 Zoltan Varga <[email protected]>
* object.c (mono_method_return_message_restore): Handle
	MONO_TYPE_OBJECT as well.

svn path=/trunk/mono/; revision=28461
2004-05-29 18:29:35 +00:00
Zoltan Varga 5e69101fb5 2004-05-29 Zoltan Varga <[email protected]>
* exceptions.cs: New regression tests.

	* jit-icalls.c (mono_llmult_ovf): Fix some boundary conditions.

svn path=/trunk/mono/; revision=28460
2004-05-29 18:16:08 +00:00
Sebastien Pouliot 71e6af6bfb 2004-05-29 Sebastien Pouliot <[email protected]>
* ConvertTest.cs: Added test to ChangeType to Empty.

svn path=/trunk/mcs/; revision=28459
2004-05-29 18:12:28 +00:00
Martin Baulig 4cb79d4939 2004-05-29 Martin Baulig <[email protected]>
* class.cs (IMethodData.ShouldIgnore): New method.

	* typemanager.cs (TypeManager.MethodFlags): Don't take a
	`Location' argument, we don't need it anywhere.  Use
	`IMethodData.ShouldIgnore ()' instead of
	`MethodData.GetMethodFlags ()'.
	(TypeManager.AddMethod): Removed.
	(TypeManager.AddMethod2): Renamed to AddMethod.

svn path=/trunk/mcs/; revision=28458
2004-05-29 18:03:07 +00:00
Martin Baulig c299d9423a 2004-05-29 Martin Baulig <[email protected]>
* test-266.cs: New test for #52578.

svn path=/trunk/mcs/; revision=28457
2004-05-29 17:41:42 +00:00
Martin Baulig 4b82041b60 2004-05-29 Martin Baulig <[email protected]>
Committing a patch from Benjamin Jemlich <[email protected]>.

	* convert.cs (Convert.ImplicitReferenceConversion): If we're
	converting from a class type S to an interface type and we already
	have an object on the stack, don't box it again.  Fixes #52578.

svn path=/trunk/mcs/; revision=28456
2004-05-29 17:40:21 +00:00
Martin Baulig fe699eac7f 2004-05-29 Martin Baulig <[email protected]>
* test-265.cs: New test for #59267.

svn path=/trunk/mcs/; revision=28455
2004-05-29 17:29:34 +00:00
Martin Baulig 1a336cbb03 2004-05-29 Martin Baulig <[email protected]>
* test-264.cs: New test for #59188.

svn path=/trunk/mcs/; revision=28454
2004-05-29 17:28:30 +00:00
Martin Baulig 6cb5277b61 2004-05-29 Martin Baulig <[email protected]>
* class.cs (ConstructorInitializer.GetOverloadedConstructor):
	Added support for `params' parameters.  Fixes #59267.

svn path=/trunk/mcs/; revision=28453
2004-05-29 17:27:57 +00:00
Sebastien Pouliot ac9098f000 2004-05-29 Sebastien Pouliot <[email protected]>
* Convert.cs: Fixed ToSByte(string,IFormatProvider) to throw
	ArgumentNullException (only case, all other returns 0). Fixed exception
	reporting for hex prefix only strings.

svn path=/trunk/mcs/; revision=28450
2004-05-29 16:56:04 +00:00
Miguel de Icaza 4b541b39b1 Update
svn path=/trunk/mono/; revision=28448
2004-05-29 16:42:23 +00:00
Miguel de Icaza bf7f10d598 update
svn path=/trunk/mcs/; revision=28447
2004-05-29 16:41:43 +00:00
Miguel de Icaza b346b5fdd2 up
svn path=/trunk/mcs/; revision=28446
2004-05-29 16:40:57 +00:00
Zoltan Varga 6dd9ea60dd 2004-05-29 Zoltan Varga <[email protected]>
* configure.in: export CC instead of passing it to libgc/configure.

svn path=/trunk/mono/; revision=28445
2004-05-29 16:32:27 +00:00
Sebastien Pouliot 3f625156e6 2004-05-29 Sebastien Pouliot <[email protected]>
* ConvertTest.cs: Added new parsing tests including special case for
	Convert.ToSByte.
	* Int64Test.cs: Added new test cases for overflows.

svn path=/trunk/mcs/; revision=28444
2004-05-29 16:31:32 +00:00
Gonzalo Paniagua Javier d311a8974f 2004-05-29 Gonzalo Paniagua Javier <[email protected]>
* ChangeLog:
	* Comparer.cs: reverted last 2 patches from Gert Driesen. Totally wrong.
	I wonder why.

svn path=/trunk/mcs/; revision=28441
2004-05-29 14:56:35 +00:00
Sebastien Pouliot a9dc7c1423 2004-05-29 Sebastien Pouliot <[email protected]>
* CspProviderFlags.cs: Reverted previous patch as UseExistingKey isn't
	part of the 1.0/1.1 framework.

svn path=/trunk/mcs/; revision=28440
2004-05-29 14:48:10 +00:00
Gonzalo Paniagua Javier 560e4580b9 2004-05-29 Gonzalo Paniagua Javier <[email protected]>
* ObjectWriter.cs: reduce contention in GetObjectData.

svn path=/trunk/mcs/; revision=28439
2004-05-29 14:23:10 +00:00
Gert Driesen ddc29a68dc * System.Messaging/Acknowledgment.cs: added/corrected values,
removed TODO
* System.Messaging/MessageQueueErrorCode.cs: fixed typo
* System.Messaging/MessageQueueAccessRights.cs: removed extra
enum field

svn path=/trunk/mcs/; revision=28438
2004-05-29 12:43:03 +00:00
Francisco Figueiredo Jr. b767d8ce93 2004-05-29 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlConnection.cs: Added workaround for redhat server versions.
	It returns 7.3.4-RH as its server version. Thanks Jaroslaw Kowalski
([email protected]) for the patch.

svn path=/trunk/mcs/; revision=28437
2004-05-29 12:39:05 +00:00
Gert Driesen 31d3a9249b * Compare.cs: ISerializable should only be implemented
for NET_1_1 profile

svn path=/trunk/mcs/; revision=28436
2004-05-29 12:18:54 +00:00
Gert Driesen 31ce1e8731 * XmlTextReader.cs: Added ProhibitDtd property for NET 1.1 to match
public API in MS.NET 1.1

svn path=/trunk/mcs/; revision=28435
2004-05-29 12:09:06 +00:00
Martin Baulig 0ea9548259 2004-05-29 Martin Baulig <[email protected]>
* literal.cs (NullPointer): Provide a private .ctor which sets
	`type' to TypeManager.object_type.  Fixes #59048.

svn path=/trunk/mcs/; revision=28434
2004-05-29 11:58:51 +00:00
Gert Driesen 6966c937a7 * CspProviderFlags.cs: Added missing enum field UseExistingKey
svn path=/trunk/mcs/; revision=28433
2004-05-29 11:54:24 +00:00
Martin Baulig 4ed05be113 2004-05-29 Martin Baulig <[email protected]>
* test-264.cs: New test for #59188.

2004-05-27  Marek Safar <[email protected]>

	* test-263.cs: New test.

svn path=/trunk/mcs/; revision=28432
2004-05-29 11:50:44 +00:00
Martin Baulig 468605ade8 2004-05-29 Martin Baulig <[email protected]>
* expression.cs (MemberAccess.ResolveMemberAccess): If we're an
	EventExpr, set `ee.InstanceExpression = left'.  Fixes #59188.

	* ecore.cs (EventExpr.instance_expr): Make the field private.

svn path=/trunk/mcs/; revision=28431
2004-05-29 11:48:06 +00:00
Gert Driesen 8e85175c9f * corlib.dll.sources: added SetWin32ContextInIDispatchAttribute
and VariantWrapper

svn path=/trunk/mcs/; revision=28430
2004-05-29 11:47:40 +00:00
Gert Driesen 52b617c26d * SetWin32ContextInIDispatchAttribute.cs: added
* VariantWrapper.cs: added

svn path=/trunk/mcs/; revision=28429
2004-05-29 11:47:08 +00:00
Gert Driesen 33a27d220a * Compare.cs: Implemented ISerializable, fixes public API
svn path=/trunk/mcs/; revision=28428
2004-05-29 11:10:08 +00:00
Paolo Molaro 14fd5a011c Sat May 29 10:45:58 CEST 2004 Paolo Molaro <[email protected]>
* mini.c: emit castclass/isinst in their own trees (bug #54209/59057).

svn path=/trunk/mono/; revision=28427
2004-05-29 08:05:51 +00:00
Gert Driesen fbc5540411 * AssemblyBuilder.cs: removed extra method, fixes public API
compatibility with MS.NET
* TypeBuilder.cs: removed extra method, fixes public API
compatibility with MS.NET

svn path=/trunk/mcs/; revision=28426
2004-05-29 07:50:08 +00:00
Gonzalo Paniagua Javier 5c116b3809 update version
svn path=/trunk/mcs/; revision=28423
2004-05-29 02:10:28 +00:00
Gonzalo Paniagua Javier 041074c05c update and cleanup
svn path=/trunk/mono/; revision=28422
2004-05-29 02:06:59 +00:00
Duncan Mak 2eec15c2c2 Fix
svn path=/trunk/mcs/; revision=28421
2004-05-29 01:50:37 +00:00
Duncan Mak c036498ee3 2004-05-28 Duncan Mak <[email protected]>
* SharpZipLib.pub: Added public key.

	* AssemblyInfo.cs: Use the new SharpZipLib.pub.

svn path=/trunk/mcs/; revision=28420
2004-05-29 01:43:13 +00:00
Duncan Mak 348cc03c6b 2004-05-28 Duncan Mak <[email protected]>
* Zip/Compression/DeflaterHuffman.cs (FlushBlock): Add some
	parenthesis to help the generics compiler read this source.

svn path=/trunk/mcs/; revision=28419
2004-05-29 01:21:29 +00:00
Jackson Harper bf10762927 * reflection.c: The modified type encoding was causing build
problems. Reverted for now.

svn path=/trunk/mono/; revision=28417
2004-05-29 00:33:48 +00:00
Duncan Mak 539f93dc9b Weird! How did that get in there?
svn path=/trunk/mono/; revision=28416
2004-05-29 00:30:26 +00:00
Ben Maurer 100b11f54e fixeypoo
svn path=/trunk/mcs/; revision=28415
2004-05-29 00:19:40 +00:00
Duncan Mak 9c5054496a Fixity fix
svn path=/trunk/mono/; revision=28414
2004-05-29 00:17:56 +00:00
Duncan Mak 44e346f730 Add mono-find-provides and mono-find-requires
svn path=/trunk/mono/; revision=28413
2004-05-29 00:09:34 +00:00
Gonzalo Paniagua Javier e803963be2 2004-05-29 Gonzalo Paniagua Javier <[email protected]>
* WebConnectionStream.cs: fixed CanRead property. Closes bug #59273.

svn path=/trunk/mcs/; revision=28412
2004-05-28 23:54:19 +00:00
Duncan Mak 00afe48c72 * runtime/Makefile.am:
* scripts/Makefile.am: Include mono-find-provides and
mono-find-requires.

svn path=/trunk/mono/; revision=28411
2004-05-28 23:49:32 +00:00
Sebastien Pouliot 20205363c3 2004-05-28 Sebastien Pouliot <[email protected]>
* Convert.cs: Fixed the case when we parse Int64.MinValue (positive
	doesn't fit a signed long).

svn path=/trunk/mcs/; revision=28410
2004-05-28 23:48:05 +00:00
Jackson Harper c5ee2c6e20 * reflection.c/h: Take an assembly ref so that we dont create
fully qualified names when encoding types in the same assembly as
	the custom attribute being emitted.

svn path=/trunk/mono/; revision=28409
2004-05-28 23:37:42 +00:00
Duncan Mak 0462988716 * scripts/Makefile.am: Include mono-find-provides and
mono-find-requires.

* scripts/mono-find-provides.in:
* scripts/mono-find-requires.in: New wrapper scripts.

svn path=/trunk/mono/; revision=28408
2004-05-28 23:33:19 +00:00
Duncan Mak 9df2d2b132 2004-05-26 Duncan Mak <[email protected]>
* icall.c
	(ves_icall_System_Reflection_Assembly_GetReferencedAssemblies):
	Set the full version number (major, minor, build, revision).

svn path=/trunk/mono/; revision=28407
2004-05-28 23:28:44 +00:00
Jackson Harper ab9ac534ec * appdomain.c: Increment version number.
svn path=/trunk/mono/; revision=28404
2004-05-28 22:36:45 +00:00
Ben Maurer 443a7ccc56 import .6
svn path=/trunk/mcs/; revision=28391
2004-05-28 20:53:20 +00:00
Peter Dennis Bartok bbc196f353 - Fixes for ContainerControl, ScrollableControl and UserControl, fixes some
of the issues I found with the pnet Coding Developers (Dining
  Philosophers) sample app. We now at least draw on screen :-)

svn path=/trunk/mcs/; revision=28390
2004-05-28 20:31:10 +00:00
Sebastien Pouliot f712d57b1d 2004-05-28 Sebastien Pouliot <[email protected]>
* Convert.cs: Fixed integer parsing for special cases (0x, 0X for base
	16), non-base 10 negative numbers ... see new unit tests.

svn path=/trunk/mcs/; revision=28389
2004-05-28 20:20:09 +00:00
Sebastien Pouliot 2bba2cb921 2004-05-28 Sebastien Pouliot <[email protected]>
* ConvertTest.cs: Added case for a prefixed hexadecimal without a number.

svn path=/trunk/mcs/; revision=28388
2004-05-28 19:51:19 +00:00
Jackson Harper 84b44740df * Environment.cs: Increment version number.
svn path=/trunk/mcs/; revision=28382
2004-05-28 19:01:22 +00:00
Jackson Harper 659bbbf9ed * CustomAttributeBuilder.cs: GetBlob now takes a ref to the
assembly so it can encode type names properly.

svn path=/trunk/mcs/; revision=28381
2004-05-28 18:59:37 +00:00
César Natarén 2f2dc9b0d1 2004-05-28 Cesar Lopez Nataren <[email protected]>
* switch.js: added clause after default

svn path=/trunk/mcs/; revision=28379
2004-05-28 18:47:04 +00:00
Sebastien Pouliot 4a36e8f8d3 2004-05-28 Sebastien Pouliot <[email protected]>
* ConvertTest.cs: Added new tests for pasring MinValue and MaxValue
	of integer types in all supported bases.

svn path=/trunk/mcs/; revision=28378
2004-05-28 18:46:47 +00:00
César Natarén df9f0d3bf7 updates from grammar changes
svn path=/trunk/mcs/; revision=28377
2004-05-28 18:39:31 +00:00
César Natarén 3d8ec43e8e 2004-05-28 Cesar Lopez Nataren <[email protected]>
* Statement.cs: changed parent_is_itr_stm method to ParentIsItrStm
	property. Added initial pieces for Break's Resolve. Fixed bug that
	did not let Emit the code for case clauses that came after the
	default clause (we match the jsc behavior).

svn path=/trunk/mcs/; revision=28376
2004-05-28 18:37:29 +00:00
Zoltan Varga d9ac812f0e 2004-05-28 Vladimir Vukicevic <[email protected]>
* marshal.c (emit_struct_conv): increment src/dst after blit
	(mono_marshal_get_managed_wrapper,
	mono_marshal_get_native_wrapper): make sure we have marshalling
	info before marshalling params (info computation affects
	blittable)

	* class.c (class_compute_field_layout): correctly deal with
	blittable
	(mono_class_layout_fields): Don't do gc_aware_layout for AUTO
	value types (as per what windows dows by default)
	(mono_class_setup_mono_type): System.ValueType is blittable
	(mono_ptr_class_get, mono_fnptr_class_get): Pointer classes are
	blittable

	* marshal.c (mono_marshal_load_type_info): flag types  as
	non-blittable if the native layout doesn't match the managed
	layout

svn path=/trunk/mono/; revision=28375
2004-05-28 18:30:22 +00:00
Gonzalo Paniagua Javier ccf4e0f3ad 2004-05-28 Gonzalo Paniagua Javier <[email protected]>
* appdomain.c: don't add stuff in the private search path that is
	above the application base. If application base is not set, there's
	no private search path.

svn path=/trunk/mono/; revision=28374
2004-05-28 18:28:21 +00:00
César Natarén 0d0977764d set parent of switch's clauses
svn path=/trunk/mcs/; revision=28373
2004-05-28 18:25:53 +00:00
Sebastien Pouliot b7b4ddd52f 2004-05-28 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Update version number for beta 2.

svn path=/trunk/mcs/; revision=28370
2004-05-28 17:54:19 +00:00
Zoltan Varga be04be228d 2004-05-28 Zoltan Varga <[email protected]>
* mini-sparc.h (MONO_ARCH_NEED_DIV_CHECK): Define this.

svn path=/trunk/mono/; revision=28368
2004-05-28 17:43:38 +00:00
Zoltan Varga 095130eca6 2004-05-28 Zoltan Varga <[email protected]>
* cpu-sparc.md mini-sparc.c: Add overflow detection to div opcodes.

svn path=/trunk/mono/; revision=28366
2004-05-28 17:27:16 +00:00
Zoltan Varga d18c179d5e 2004-05-28 Zoltan Varga <[email protected]>
* pinvoke3.cs libtest.c: New tests for byref struct marshalling.

svn path=/trunk/mono/; revision=28365
2004-05-28 17:26:37 +00:00
Zoltan Varga 778d849ef0 2004-05-28 Zoltan Varga <[email protected]>
* marshal.c (mono_marshal_get_managed_wrapper): Add proper support for
	byref struct arguments in native->managed marshalling.

svn path=/trunk/mono/; revision=28364
2004-05-28 17:23:50 +00:00
Miguel de Icaza 0a2fccb980 Up
svn path=/trunk/mono/; revision=28363
2004-05-28 17:14:27 +00:00
Patrik Torstensson 12561b45b4 2004-05-28 Patrik Torstensson <[email protected]>
* mini.c (mono_jit_runtime_invoke): Init class in this
	method instead of trusting mono_jit_compile_method to
	do the work (because wrappers can be in object class)

svn path=/trunk/mono/; revision=28359
2004-05-28 16:22:40 +00:00
Patrik Torstensson 4dc959ad28 2004-05-28 Patrik Torstensson <[email protected]>
* marshal.c (mono_marshal_get_runtime_invoke): correctly
	cache methods using signature (special case for methods
	that are value type or string class)

	* image.c (mono_image_close): clean up allocated GSList's
	in runtime_invoke_cache.

svn path=/trunk/mono/; revision=28358
2004-05-28 16:21:23 +00:00
Gonzalo Paniagua Javier 37dc7f44c1 2004-05-28 Gonzalo Paniagua Javier <[email protected]>
* mono-config.c: set the correct path for mono_cfg_dir on windows when
	there's no MONO_CFG_DIR environment variable defined.

svn path=/trunk/mono/; revision=28357
2004-05-28 16:18:18 +00:00
Zoltan Varga d8e15dec91 2004-05-28 Zoltan Varga <[email protected]>
* AppDomain.cs (Load): Try loading from assemblyRef.CodeBase if exists.
	Fixes #59189.

svn path=/trunk/mcs/; revision=28356
2004-05-28 16:14:00 +00:00
Gonzalo Paniagua Javier 11f4b5566f 2004-05-28 Gonzalo Paniagua Javier <[email protected]>
* threads.c: windows version must be >= 0x0500 to include OpenThread.

svn path=/trunk/mono/; revision=28352
2004-05-28 15:27:12 +00:00
Sebastien Pouliot 04c8585361 2004-05-28 Sebastien Pouliot <[email protected]>
* ConvertTest.cs: Added overflow testing for integer types convertion.

svn path=/trunk/mcs/; revision=28348
2004-05-28 14:21:24 +00:00
Zoltan Varga 49066dff5d 2004-05-28 Zoltan Varga <[email protected]>
* static-constructor.cs: Add new regression test for bug #59193.

svn path=/trunk/mono/; revision=28347
2004-05-28 13:27:01 +00:00
Sebastien Pouliot a52fa324e3 2004-05-28 Sebastien Pouliot <[email protected]>
* ConvertTest.cs: Removed extra 0 from ToInt16_MinValue.

svn path=/trunk/mcs/; revision=28346
2004-05-28 13:18:11 +00:00
Marek Safar 9919fd997b I forgot
// Compiler options: -unsafe

svn path=/trunk/mcs/; revision=28345
2004-05-28 12:20:06 +00:00
Marek Safar ae2d2298b8 new test
svn path=/trunk/mcs/; revision=28344
2004-05-28 12:13:03 +00:00
Lluis Sanchez f49a9b2ba0 * threadpool.c: Really wait for 500ms after the async call, even if the wait
is interrumped.
	* threads.c: In mono_thread_manage, call OpenThread to ref each handle
	  before waiting for it, and call CloseHandle after the wait to unref it.
	  This will make sure that handles are not disposed too early.

svn path=/trunk/mono/; revision=28343
2004-05-28 12:00:35 +00:00
Atsushi Eno ee9709c1c7 2004-05-28 Atsushi Enomoto <[email protected]>
* DateTimeFormatInfo.cs : In fact GetAllDateTimePatterns() returns
	  non-unique results.  Just reordered return values looking at MS
	  invariant behavior.

svn path=/trunk/mcs/; revision=28342
2004-05-28 11:44:02 +00:00
Atsushi Eno efd218530c 2004-05-28 Atsushi Enomoto <[email protected]>
* DateTime.cs : I reverted my fix by accident :(

svn path=/trunk/mcs/; revision=28341
2004-05-28 11:40:58 +00:00
Zoltan Varga e283a05ca5 2004-05-28 Zoltan Varga <[email protected]>
* setenv.cs: Fix this after marshalling changes.

svn path=/trunk/mono/; revision=28340
2004-05-28 11:24:28 +00:00
Atsushi Eno f9bd23cd5b 2004-05-28 Atsushi Enomoto <[email protected]>
* DateTime.cs :
	  - In ToString(), Don't use culture-dependent daynames to format
	    Universal/RFC1123 date/time. Also, use FullDateTimePattern for 'U'.
	  - Fixed GetDateTimeFormats () that generated incorrect 'U' value
	    (since the format string is the same as 'F').

svn path=/trunk/mcs/; revision=28339
2004-05-28 11:00:50 +00:00
Ravindra ae1b49ead9 * gdipFunctions.cs: Added some P/Invoke calls for Draw/Fill
rectangles.
	* Graphics.cs: Implemented Dispose method and changed Draw/Fill
	rectangles implementation (This is basically done to avoid lots
	of brush and pen setup happening in libgdiplus.)

svn path=/trunk/mcs/; revision=28336
2004-05-28 08:31:46 +00:00
Joerg Rosenkranz f417fe531b 2004-05-27 Joerg Rosenkranz <[email protected]>
* System.Data.OracleClient/OracleCommandBuilder.cs:
		Fixed namespace.
	* System.Data.OracleClient.dll.sources:
		Added OracleCommandBuilder.cs.

2004-05-26	Joerg Rosenkranz <[email protected]>

	* System.Data.OracleClient.Oci/OciDefineHandle.cs:
		Merged in a fix send by Rogerio Pereira Araujo
		<[email protected]>: Fixed a bug with NUMBER data type
		when no parameter is passed to OracleCommand.

svn path=/trunk/mcs/; revision=28333
2004-05-28 07:28:45 +00:00
Atsushi Eno 0cd8291185 2004-05-28 Atsushi Enomoto <[email protected]>
* DateTime.cs : don't adjust utc value in ToString(). It must output
	  the same time value, just adding 'Z' for UTC.

svn path=/trunk/mcs/; revision=28332
2004-05-28 07:21:45 +00:00
Atsushi Eno e04b91b820 2004-05-28 Atsushi Enomoto <[email protected]>
* DateTime.cs : in 'Z' case, remove the 'Z' char from input before
	  proceeding.

svn path=/trunk/mcs/; revision=28331
2004-05-28 06:34:26 +00:00
Gonzalo Paniagua Javier 71888f0ed0 2004-05-28 Gonzalo Paniagua Javier <[email protected]>
* AppDomainSetup.cs: InitAppDomainSetup is not needed now.

svn path=/trunk/mcs/; revision=28326
2004-05-28 03:24:49 +00:00
Gonzalo Paniagua Javier d2a988415f 2004-05-28 Gonzalo Paniagua Javier <[email protected]>
* appdomain.c:
	* appdomain.h:
	* icall.c: removed
	ves_icall_System_AppDomainSetup_InitAppDomainSetup as it's not
	needed now.

	* object.c: se the application_base only for the domain that
	runs Main. Fixes bug #59216,

svn path=/trunk/mono/; revision=28325
2004-05-28 03:22:35 +00:00
Gonzalo Paniagua Javier 0d9077e0dd 2004-05-28 Gonzalo Paniagua Javier <[email protected]>
* appdomain.c:
	* object.c: only the domain in which Main is run have
	SetupInformation.ConfigurationFile set, so moved a few lines from
	appdomain.c to object.c.

svn path=/trunk/mono/; revision=28324
2004-05-28 02:57:33 +00:00
Gonzalo Paniagua Javier 4ce94f3420 2004-05-28 Gonzalo Paniagua Javier <[email protected]>
* appdomain.c: we tried to load [name].(dll|exe), but according
	to bug #57710, we must also try [culture]/[name].(dll|exe) and
	[culture]/[name]/[name](dll|exe). This patch fixes the bug.
	There's a test case attached to bug #58922.

svn path=/trunk/mono/; revision=28323
2004-05-28 02:30:23 +00:00
Sebastien Pouliot 39543dad84 2004-05-27 Sebastien Pouliot <[email protected]>
* ConvertTest.cs: Added tests for int16 limits in various bases.

svn path=/trunk/mcs/; revision=28322
2004-05-28 02:04:36 +00:00
Sebastien Pouliot b1ae573339 2004-05-27 Sebastien Pouliot <[email protected]>
* Convert.cs: Convert with a base parameter cannot parse negative
	string numbers, even "-0".

svn path=/trunk/mcs/; revision=28321
2004-05-28 01:52:38 +00:00
Sebastien Pouliot f0ad255138 2004-05-27 Sebastien Pouliot <[email protected]>
* Byte.cs: Fixed parsing for "-0" which is valid for unsigned types.
	* UInt16.cs: Fixed parsing for "-0" which is valid for unsigned types.
	* UInt32.cs: Fixed parsing for "-0" which is valid for unsigned types.
	* UInt64.cs: Fixed parsing for "-0" which is valid for unsigned types.

svn path=/trunk/mcs/; revision=28320
2004-05-28 01:37:50 +00:00
Sebastien Pouliot 984876a733 2004-05-27 Sebastien Pouliot <[email protected]>
* X509Certificate.cs: Rethrow original exception when parsing X.509
	certificates (inside a CryptographicException) so people can see if
	their changes affects certificate decoding.

svn path=/trunk/mcs/; revision=28319
2004-05-28 01:22:52 +00:00
Gonzalo Paniagua Javier 6f1dbe972c 2004-05-28 Gonzalo Paniagua Javier <[email protected]>
* DigestClient.cs: cache the sessions based on address and
	credentials, not only address. Added poor men's expiration to
	the session cache. Fixes bug #59202.

svn path=/trunk/mcs/; revision=28316
2004-05-27 23:19:35 +00:00
Sebastien Pouliot f545ed2905 2004-05-27 Sebastien Pouliot <[email protected]>
* ConvertTest.cs: Mode complete tests for unsigned type convertion wrt
	-0, base != 10, ...

svn path=/trunk/mcs/; revision=28312
2004-05-27 20:57:15 +00:00
Zoltan Varga d80bfe411b 2004-05-27 Zoltan Varga <[email protected]>
* mini-sparc.c (mono_arch_output_basic_block): Fix sub.imm.

	* basic-long.cs: New regression test.

svn path=/trunk/mono/; revision=28311
2004-05-27 20:47:31 +00:00
Sebastien Pouliot 4404826946 2004-05-27 Sebastien Pouliot <[email protected]>
* ConvertTest.cs: Another case of -0 - so many to do things, so
	many way to mess them...

svn path=/trunk/mcs/; revision=28310
2004-05-27 20:16:29 +00:00
Sebastien Pouliot 9b8e420c32 2004-05-27 Sebastien Pouliot <[email protected]>
* ConvertTest.cs: Added case where Convert.ToByte ("-0") is legal.

svn path=/trunk/mcs/; revision=28309
2004-05-27 20:04:34 +00:00
Sebastien Pouliot 3c401168cb 2004-05-27 Sebastien Pouliot <[email protected]>
* SortedList.cs: Setting Capacity to 0 returns it to it's default
	value (16).

svn path=/trunk/mcs/; revision=28308
2004-05-27 19:46:32 +00:00
Sebastien Pouliot 847faa71a9 2004-05-27 Sebastien Pouliot <[email protected]>
* SortedListTest.cs: Test that setting Capacity	to zero return the
	capacity to it's initial default (16).

svn path=/trunk/mcs/; revision=28307
2004-05-27 19:42:57 +00:00
Miguel de Icaza 14974ecb87 2004-05-27 Miguel de Icaza <[email protected]>
* icall.c (ves_icall_System_Text_Encoding_InternalCodePage): The
	test was broken, just make sure that codepage contains utf-8
	string.

svn path=/trunk/mono/; revision=28306
2004-05-27 19:42:01 +00:00
Marek Safar 68cd1cb0ac new test
svn path=/trunk/mcs/; revision=28305
2004-05-27 19:26:33 +00:00
Marek Safar 2460782960 2004-05-27 Marek Safar <[email protected]>
* test-263.cs: New test.

svn path=/trunk/mcs/; revision=28304
2004-05-27 19:16:56 +00:00
Sebastien Pouliot 565c846b77 2004-05-27 Sebastien Pouliot <[email protected]>
* SortedList.cs: Added missing ICloneable support to internal
	enumerator. Added Capacity to the synchronized version of SortedList.

svn path=/trunk/mcs/; revision=28303
2004-05-27 19:15:43 +00:00
Sebastien Pouliot 953e7056d6 2004-05-27 Sebastien Pouliot <[email protected]>
* QueueTest.cs: Test for synchronized clones.
	* SortedListTest.cs: Added cases for synchronized capacity and testing
	the interface from the internal enumerator.

svn path=/trunk/mcs/; revision=28302
2004-05-27 19:11:14 +00:00
Dick Porter 9ce3c08653 2004-05-27 Dick Porter <[email protected]>
* FileSystemInfo.cs: Take out the error checking in Refresh(), it
	broke other stuff

svn path=/trunk/mcs/; revision=28299
2004-05-27 18:44:14 +00:00
Zoltan Varga 27489d4d21 2004-05-27 Zoltan Varga <[email protected]>
* configure.in: Pass CC to libgc configure.

svn path=/trunk/mono/; revision=28298
2004-05-27 18:42:54 +00:00
Duncan Mak 8fb99b40b9 2004-05-27 Duncan Mak <[email protected]>
* mono-find-provides.cs
	* mono-find-requires.cs: Added. These are
	helper tools to help RPM packaging.

	* Makefile (Module): Add mono-rpm-helpers

svn path=/trunk/mcs/; revision=28297
2004-05-27 18:03:16 +00:00
Atsushi Eno 4277238022 2004-05-27 Atsushi Enomoto <[email protected]>
* DateTimeFormatInfo.cs : 'U' is in fact the same as 'F' for pattern
	  strings. Thanks to kangaroo for the hint.

svn path=/trunk/mcs/; revision=28296
2004-05-27 17:54:59 +00:00
César Natarén 897de58083 ChangeLog entries
svn path=/trunk/mcs/; revision=28295
2004-05-27 17:34:06 +00:00
César Natarén be5aa2266b updates from grammar changes
svn path=/trunk/mcs/; revision=28294
2004-05-27 17:31:43 +00:00
Sebastien Pouliot e0fc892e70 2004-05-27 Sebastien Pouliot <[email protected]>
* Queue.cs: Fixed Count for Queue.Synchronize (Queue.Synchronize (q)).

svn path=/trunk/mcs/; revision=28293
2004-05-27 17:30:21 +00:00
César Natarén 47c365831a allow continue ast building tree. fixed parent references at iteration_stm
svn path=/trunk/mcs/; revision=28292
2004-05-27 17:29:57 +00:00
César Natarén 476363200c added parent parameter to Continue's constructor. Added parent_is_itr_stm
svn path=/trunk/mcs/; revision=28291
2004-05-27 17:28:30 +00:00
César Natarén b2fa973341 back to Microsoft.JScript namespace
svn path=/trunk/mcs/; revision=28290
2004-05-27 17:18:04 +00:00
Dick Porter 7f436bdc58 Shut up gcc warnings
svn path=/trunk/mono/; revision=28289
2004-05-27 17:06:15 +00:00
Atsushi Eno f6a94472d1 2004-05-27 Atsushi Enomoto <[email protected]>
* DateTime.cs :
	  - Added "yyyy/MM/dd HH:mm:ss 'GMT'" and "yyyy-MM-dd HH:mm:ss 'GMT'"
	    to common formats (yes, I know it is nothing more than hack)
	  - Fixed some GetDateTimeFormats() that just returned patterns.
	  - For InvariantCulture, now try both supported formats and our
	    predefined formats.
	  - It was accepting incorrectly extraneous characters. That caused
	    some UTC/non-UTC bug.
	  - RFC1123 string should return universal time. Uncomment again (the
	    problem should went away because of the extra characters fix above.

	    With some of the changes above, fixed bug #47720.

svn path=/trunk/mcs/; revision=28288
2004-05-27 17:04:48 +00:00
Atsushi Eno 48e2ca895c 2004-05-27 Atsushi Enomoto <[email protected]>
* DateTimeFormatInfo.cs : Fixed longtimes and shorttimes (exchanged).

svn path=/trunk/mcs/; revision=28287
2004-05-27 16:59:14 +00:00
Dick Porter d024688825 2004-05-27 Dick Porter <[email protected]>
* MonoIO.cs: Define icalls for Lock() and Unlock()

	* FileStream.cs: Implement Lock() and Unlock().  Also improve IO
	error reporting.

	* FileSystemInfo.cs:
	* File.cs:
	* Directory.cs: Improve IO error reporting

svn path=/trunk/mcs/; revision=28285
2004-05-27 16:25:27 +00:00
Dick Porter ddad604639 2004-05-27 Dick Porter <[email protected]>
* io.h:
	* io.c: Implemented LockFile() and UnlockFile()

2004-05-27  Dick Porter  <[email protected]>

	* icall.c:
	* file-io.c: Implemented icalls for locking and unlocking regions
	in a file.
	(ves_icall_System_IO_MonoIO_FindNextFile): FindNextFile() returns
	FALSE on error (fixes both compiler warning and real bug.)

svn path=/trunk/mono/; revision=28284
2004-05-27 16:24:52 +00:00
Paolo Molaro 0f4f36e3a7 Forgot in previous commit.
svn path=/trunk/mono/; revision=28283
2004-05-27 16:24:04 +00:00
Atsushi Eno 30e4b3f86b 2004-05-27 Atsushi Enomoto <[email protected]>
* DateTimeFormatInfo.cs : Added some string[] fields for
	  GetAllDateTimePatterns(char). The fields will be filled in metadata
	  and culture info table. Added improved patterns for
	  GetAllDateTimePatterns() (right now works only for invariant).
	* CultureInfo.cs : Use InvariantInfo for InvariantCulture.

svn path=/trunk/mcs/; revision=28282
2004-05-27 16:23:05 +00:00
Atsushi Eno ea57b163a7 2004-05-27 Atsushi Enomoto <[email protected]>
* culture-info-tables.h: reflecting locale-builder updates.

	  (Added missing ChangeLog entry for 05/26)

svn path=/trunk/mono/; revision=28281
2004-05-27 15:58:26 +00:00
Atsushi Eno c6346fd7f5 2004-05-27 Atsushi Enomoto <[email protected]>
* en_PH.xml, en_ZW.xml, fr_CA.xml, fr_CH.xml, fr_FR.xml, fr_LU.xml :
	  fixed incorrect markup.

svn path=/trunk/mono/; revision=28279
2004-05-27 15:55:59 +00:00
Jackson Harper cd99189733 * PEAPI.cs: When writing to the blob heap we always set a
size.

svn path=/trunk/mcs/; revision=28277
2004-05-27 15:46:15 +00:00
Jackson Harper 8a50eabb98 * locales.c: Fix some cut and paste errors.
svn path=/trunk/mono/; revision=28276
2004-05-27 15:21:33 +00:00
Anirban Bhattacharjee 238a334118 * delegate.cs:
* expression.cs:
                Few exception checks for delegete

svn path=/trunk/mcs/; revision=28274
2004-05-27 14:48:25 +00:00
Sebastien Pouliot 06257093b5 2004-05-27 Sebastien Pouliot <[email protected]>
* Hashtable.cs: Cloned synchronized Hashtables are now synchronized.

svn path=/trunk/mcs/; revision=28273
2004-05-27 14:46:50 +00:00
Sebastien Pouliot fd3cc90c78 2004-05-27 Sebastien Pouliot <[email protected]>
* HashtableTest.cs: Added case where a cloned hashtable must also be
	synchronized (if the original was).

svn path=/trunk/mcs/; revision=28272
2004-05-27 14:33:38 +00:00
Sebastien Pouliot 5639cebe40 2004-05-27 Sebastien Pouliot <[email protected]>
* QueueTest.cs: Added case to ensure that MoveNext always return
	false (after the first time).

svn path=/trunk/mcs/; revision=28271
2004-05-27 14:20:49 +00:00
Anirban Bhattacharjee a6c9098ad4 * mb-parser.jay:
* delegate.cs:
        Few more fixes in delegate grammar

svn path=/trunk/mcs/; revision=28270
2004-05-27 14:19:52 +00:00
Sebastien Pouliot 7638d64d48 2004-05-27 Sebastien Pouliot <[email protected]>
* Queue.cs: Changed -1 to Int32.MaxValue so calling MoveNext again
	(after a false) still returns false.

svn path=/trunk/mcs/; revision=28269
2004-05-27 14:14:57 +00:00
Sebastien Pouliot b5ab2d09bb 2004-05-27 Sebastien Pouliot <[email protected]>
* Queue.cs: Fixed case where we could still get Current after the last
	MoveNext.

svn path=/trunk/mcs/; revision=28268
2004-05-27 14:01:24 +00:00
Sebastien Pouliot 28d5f93fcf 2004-05-27 Sebastien Pouliot <[email protected]>
* QueueTest.cs: Added case where we try to get Current after the last
	MoveNext.

svn path=/trunk/mcs/; revision=28267
2004-05-27 13:59:34 +00:00
Nick Drochak 3dc53f3345 2004-05-27 Nick Drochak <[email protected]>
* DataRelationCollectionTest.cs: Fixed build when using csc.

svn path=/trunk/mcs/; revision=28266
2004-05-27 13:52:07 +00:00
Patrik Torstensson 73613bd9ea Sorry Sorry Sorry
svn path=/trunk/mcs/; revision=28265
2004-05-27 13:41:52 +00:00
Patrik Torstensson 4ea1031684 2004-05-27 Patrik Torstensson <[email protected]>
* ExpiresBucket.cs (FlushExpiredItems): fix csc and a typo bug

svn path=/trunk/mcs/; revision=28264
2004-05-27 13:34:30 +00:00
Paolo Molaro b7b4d2ff81 Thu May 27 15:50:52 CEST 2004 Paolo Molaro <[email protected]>
* cpu-g4.md, mini-ppc.c: fixes to long add/sub ovf opcodes
	and div/rem checks.

svn path=/trunk/mono/; revision=28263
2004-05-27 13:11:09 +00:00
Gert Driesen b4fd1bcc1a * monowiz.win32.nsi: normalized line-endings to unix (LF)
svn path=/trunk/mono/; revision=28262
2004-05-27 13:04:43 +00:00
Sebastien Pouliot ea3e5137cf 2004-05-27 Sebastien Pouliot <[email protected]>
* SymmetricTransform.cs: Added missing exception handling in
	TransformBlock and TransformFinalBlock.

svn path=/trunk/mcs/; revision=28259
2004-05-27 12:40:08 +00:00
Sebastien Pouliot ead10bbbe3 2004-05-27 Sebastien Pouliot <[email protected]>
* ARC4Managed.cs: Added missing exception handling in TransformBlock
	and TransformFinalBlock.

svn path=/trunk/mcs/; revision=28258
2004-05-27 12:29:28 +00:00
Sebastien Pouliot 467dd77d3e 2004-05-27 Sebastien Pouliot <[email protected]>
* ARC4ManagedTest.cs: Added unit tests for exceptions coming from
	ICryptoTransform interface (TransformBlock, TransformFinalBlock).

svn path=/trunk/mcs/; revision=28256
2004-05-27 12:27:16 +00:00
Patrik Torstensson b4aa05b699 2004-05-27 Patrik Torstensson <[email protected]>
* HttpApplicationFactory.cs: Added SignalError (still todo)

svn path=/trunk/mcs/; revision=28255
2004-05-27 12:25:30 +00:00
Patrik Torstensson a596fe4999 2004-05-27 Patrik Torstensson <[email protected]>
* CacheEntry.cs,CacheExpires.cs,ExpiresBucket.cs,
	  Cache.cs : Fixed deadlock issues, fixed
	  items not correctly being flushed, fixed update
	  of item when expiration has been updated more
	  than 1 min (placed in wrong bucket),
	  fixed deadlock during cache callback when item
	  is removed due to expiriation.

	  Rewrite of locking handling in Cache class, leading
	  to better performance and less bugs.

	  This rewrite is due to a number of bugs found
	  in the output caching during load (leading to memory
	  leaks and deadlocks)

svn path=/trunk/mcs/; revision=28254
2004-05-27 12:15:13 +00:00
Sebastien Pouliot 78cde01104 2004-05-27 Sebastien Pouliot <[email protected]>
* SymmetricTransform.cs: Fixed possible integer overflow.

svn path=/trunk/mcs/; revision=28253
2004-05-27 11:57:33 +00:00
Sebastien Pouliot 7e0b188fe3 2004-05-27 Sebastien Pouliot <[email protected]>
* HashAlgorithm.cs: Added missing exception handling to ComputeHash,
	TransformBlock and TransformFinalBlock.

svn path=/trunk/mcs/; revision=28252
2004-05-27 11:47:56 +00:00
Sebastien Pouliot ef48a9ec22 2004-05-27 Sebastien Pouliot <[email protected]>
* HashAlgorithmTest.cs: Added new tests to check for more exceptions.

svn path=/trunk/mcs/; revision=28250
2004-05-27 11:21:20 +00:00
Boris Kirzner d354bd2ab6 DataRow.cs :
- CheckReadOnlyStatus : use typed (and faster comparing).
- EndEdit : bug fix - do not dispose record if it holds original version.
- SetValuesFromDataRecord : Take care about autoincrement columns.

svn path=/trunk/mcs/; revision=28249
2004-05-27 11:14:32 +00:00
Raja R Harinath 2a676e1fa8 reindent with monostyle
svn path=/trunk/mcs/; revision=28248
2004-05-27 10:55:59 +00:00
Anirban Bhattacharjee 90acb9e77f * mb-parser.jay: Changed Delegate instantiation grammar to get it working
svn path=/trunk/mcs/; revision=28247
2004-05-27 10:48:04 +00:00
Raja R Harinath f219cf5a68 revert one unintentional change.
svn path=/trunk/mcs/; revision=28246
2004-05-27 10:46:03 +00:00
Raja R Harinath f50193fb6e Fix formatting using 'c-indent-line-or-region' in csharp-mode.
Only whitespace changes.

svn path=/trunk/mcs/; revision=28245
2004-05-27 10:42:44 +00:00
Boris Kirzner d424220532 * DataContainer.cs : Bug fixes in BitDataContainer.get_Item and StringDataContainer.SetValue .
svn path=/trunk/mcs/; revision=28244
2004-05-27 10:36:17 +00:00
Paolo Molaro a5c830fc40 Thu May 27 12:36:53 CEST 2004 Paolo Molaro <[email protected]>
* Makefile.am: fix miguel's change to build mono statically against
	libmono (track build dependencies).

svn path=/trunk/mono/; revision=28243
2004-05-27 09:52:02 +00:00
Atsushi Eno a22089fbd5 2004-05-27 Atsushi Enomoto <[email protected]>
* SqlDecimal.cs : don't output debug message to Console.

svn path=/trunk/mcs/; revision=28242
2004-05-27 09:47:17 +00:00
Atsushi Eno 75d61ade9d 2004-05-27 Atsushi Enomoto <[email protected]>
* OleDbDataReader.cs : don't output debug message to Console.

svn path=/trunk/mcs/; revision=28241
2004-05-27 09:46:48 +00:00
Atsushi Eno 7f63eeafcd 2004-05-27 Atsushi Enomoto <[email protected]>
* MergeManager.cs : don't output debug message to Console.

svn path=/trunk/mcs/; revision=28240
2004-05-27 09:46:27 +00:00
Atsushi Eno 261e928b07 2004-05-27 Atsushi Enomoto <[email protected]>
* XmlTextReaderTests.cs : added test for bug #59142.
	* XmlTextWriterTests.cs : added test for bug #59154.
	* XmlDocumentTests.cs : added test for bug #59155.

svn path=/trunk/mcs/; revision=28238
2004-05-27 09:29:47 +00:00
Atsushi Eno 2ead87db32 2004-05-22 Atsushi Enomoto <[email protected]>
* DefaultContext.cs : Add XPathNavigator input support for ToBoolean()
	  and ToNavigator().
	* Expression.cs : In Equality comparison, evaluate XPathNavigator in
	  the same as well as NodeSet. This fixes bug #59134.

svn path=/trunk/mcs/; revision=28237
2004-05-27 09:10:08 +00:00
Atsushi Eno bb195f33c3 2004-05-27 Atsushi Enomoto <[email protected]>
* XmlDataInferenceLoader.cs : Namespace are not imported to the table
	  structure. Thanks to Boris Kirzner for the fix.

svn path=/trunk/mcs/; revision=28235
2004-05-27 08:32:40 +00:00
Atsushi Eno 00781b75f7 2004-05-27 Atsushi Enomoto <[email protected]>
* XmlDocument.cs : Save() should indent only when PreserveWhitespace
	  is false. Fixed bug #59155.
	  Modified comment lines a bit.

svn path=/trunk/mcs/; revision=28234
2004-05-27 08:22:09 +00:00
Atsushi Eno 87846a29cd 2004-05-27 Atsushi Enomoto <[email protected]>
* XmlTextWriter.cs : WriteRaw() looks to proceed WriteState to Prolog
	  (if it is Start). Fixed bug #59154.

svn path=/trunk/mcs/; revision=28233
2004-05-27 07:50:31 +00:00
Umadevi S 59c6edbda5 2004-05-27 Umadevi S <[email protected]>
* added files DataTableMappingCollectionTest and DataColumnMappingCollectionTest to system.data_test.dll.sources

svn path=/trunk/mcs/; revision=28232
2004-05-27 07:22:22 +00:00
Ravindra 78693a6be5 Temporarily ignoring a failing test case.
svn path=/trunk/mcs/; revision=28231
2004-05-27 07:20:18 +00:00
Umadevi S c5faa10091 2004-05-27 Umadevi S <[email protected]>
* Added Classes DataColumnMappingCollectionTest and DataTableMappingCollectionTest

svn path=/trunk/mcs/; revision=28230
2004-05-27 07:20:07 +00:00
Atsushi Eno 297c5f5069 2004-05-27 Atsushi Enomoto <[email protected]>
* XmlTextReader.cs : simplified ReadCharsInternal(); use ReadEndTag()
	  and don't bork against <foo></foo>. Also mofidied this method to skip
	  <foo/>. Fixed bug #59142.
	  Modified some comments on the code (FIXME->LAMESPEC et al).

svn path=/trunk/mcs/; revision=28229
2004-05-27 07:13:28 +00:00
Marek Safar b0ee1263f2 I forgot commit changelog
svn path=/trunk/mcs/; revision=28228
2004-05-27 06:55:36 +00:00
Umadevi S f561b92c2f 2004-05-27 Umadevi S <[email protected]>
* Corrected small typos in DataTableCollectionTest & DataRelationCollectionTest

svn path=/trunk/mcs/; revision=28227
2004-05-27 06:30:14 +00:00
Ravindra ef9e08f735 Ignored the tests that are failing because of bug #58435.
svn path=/trunk/mcs/; revision=28226
2004-05-27 06:28:06 +00:00
Umadevi S 3453a2f9a4 2004-05-27 Umadevi S <[email protected]>
* DataRelationCollection.cs - fixed nunit test errors

svn path=/trunk/mcs/; revision=28225
2004-05-27 06:27:11 +00:00
Umadevi S ce8fd78890 2004-05-27 Umadevi S <[email protected]>
* DataTableCollection.cs - fixed nunit test errors

svn path=/trunk/mcs/; revision=28223
2004-05-27 05:31:53 +00:00
Gonzalo Paniagua Javier 31172b2d1e 2004-05-27 Gonzalo Paniagua Javier <[email protected]>
* FileStream.cs: delay seeking to the end when FileMode.Append is
	specified until after buffer initialization. Fixes bug #59151.

svn path=/trunk/mcs/; revision=28222
2004-05-27 04:37:28 +00:00
Gert Driesen 2fbc744790 * monowiz.win32.nsi: do not include mono subdirectory in
MonoConfigDir registry key, to match batch files

svn path=/trunk/mono/; revision=28221
2004-05-27 04:25:07 +00:00
Ravindra cb641ea4f1 Changed test for Color.Green.G to make it pass on MS.
svn path=/trunk/mcs/; revision=28220
2004-05-27 04:00:24 +00:00
Ravindra 5d6b742de6 Conforming Color.Green to MS.
svn path=/trunk/mcs/; revision=28219
2004-05-27 04:00:07 +00:00
Gonzalo Paniagua Javier fef90f0a49 2004-05-27 Gonzalo Paniagua Javier <[email protected]>
* category.cs: added LastValue field to mark the end of enum Category.
	* syntax.cs: in CharacterClass, use Category.LastValue to get the size
	of the array needed. Use a BitArray instead of bool[].
	In AddCategory(), don't set the opposite category as false. Fixes
	bug #59150. All tests pass.

svn path=/trunk/mcs/; revision=28218
2004-05-27 03:40:44 +00:00
Miguel de Icaza d31dd7f6e4 2004-05-27 Miguel de Icaza <[email protected]>
* loader.c: Only init Wine on non-Windows platforms.

svn path=/trunk/mono/; revision=28217
2004-05-27 03:17:28 +00:00
Gonzalo Paniagua Javier 6e6ffcb1a2 2004-05-27 Gonzalo Paniagua Javier <[email protected]>
* RegexBugs.cs: added tests from bug #59150.

svn path=/trunk/mcs/; revision=28216
2004-05-27 02:36:25 +00:00
Atsushi Eno d813b13d95 2004-05-27 Atsushi Enomoto <[email protected]>
* DateTime.cs : quick revert 'Z' support for certificate verifications.

svn path=/trunk/mcs/; revision=28215
2004-05-27 02:29:42 +00:00
Sebastien Pouliot 2318a431a0 2004-05-26 Sebastien Pouliot <[email protected]>
* CryptoStream.cs: Fixed possible integer overflow.
	* FromBase64Transform.cs: Better exception handling and fixed possible
	integer overflow.
	* ToBase64Transform.cs: Better exception handling and fixed possible
	integer overflow.

svn path=/trunk/mcs/; revision=28213
2004-05-27 01:05:57 +00:00
Sebastien Pouliot d1c40d086b 2004-05-26 Sebastien Pouliot <[email protected]>
* ToBase64TransformTest.cs: Added new unit tests for negatives and
	overflows.

svn path=/trunk/mcs/; revision=28212
2004-05-27 00:46:14 +00:00
Sebastien Pouliot 3d66415c6e 2004-05-26 Sebastien Pouliot <[email protected]>
* CryptoStreamTest.cs: Added new unit tests for overflows.

svn path=/trunk/mcs/; revision=28211
2004-05-27 00:28:58 +00:00
Sebastien Pouliot b45673de55 2004-05-26 Sebastien Pouliot <[email protected]>
* FromBase64Transform.cs: Added new unit tests for undocumented
	exceptions (null, overflows...).

svn path=/trunk/mcs/; revision=28210
2004-05-27 00:09:42 +00:00
Gonzalo Paniagua Javier bfd5dd8e7d 2004-05-27 Gonzalo Paniagua Javier <[email protected]>
* mono-config.c: set the correct path for config. directory on windows.

svn path=/trunk/mono/; revision=28209
2004-05-26 23:01:57 +00:00
Gonzalo Paniagua Javier d356ac7a4d 2004-05-27 Gonzalo Paniagua Javier <[email protected]>
* gacutil.cs: when -il, don't stop if one assembly fails to install.

svn path=/trunk/mcs/; revision=28208
2004-05-26 22:48:17 +00:00
Neale Ferguson a4c3047380 Further exception handling refinement for JIT
svn path=/trunk/mono/; revision=28207
2004-05-26 22:30:14 +00:00
Duncan Mak feaf80aae9 Fix typo.
svn path=/trunk/mcs/; revision=28206
2004-05-26 20:59:28 +00:00
Zoltan Varga f045df4406 2004-05-26 Zoltan Varga <[email protected]>
* cfold.c: Some glib versions do not have G_MININT32.

svn path=/trunk/mono/; revision=28205
2004-05-26 20:38:35 +00:00
Sebastien Pouliot c6e84ac1a3 2004-05-26 Sebastien Pouliot <[email protected]>
* Queue.cs: Fixed possible integer overflow in CopyTo methods.
	* Stack.cs: Fixed possible integer overflow in CopyTo methods.

svn path=/trunk/mcs/; revision=28204
2004-05-26 20:18:35 +00:00
Miguel de Icaza 38f87f7c37 2004-05-26 Miguel de Icaza <[email protected]>
* Mono.Cairo/Cairo.cs: Do not use `extern string' here, as the
	return value is owned by Cairo.

svn path=/trunk/mcs/; revision=28203
2004-05-26 20:14:09 +00:00
Miguel de Icaza 3b0b8f7c97 Remove old stale directory
svn path=/trunk/mcs/; revision=28202
2004-05-26 20:10:20 +00:00
Sebastien Pouliot 94053e134a 2004-05-26 Sebastien Pouliot <[email protected]>
* ArrayList.cs: Fixed possible integer overflows.

svn path=/trunk/mcs/; revision=28201
2004-05-26 20:08:27 +00:00
Miguel de Icaza 4efac0362d 2004-05-26 Miguel de Icaza <[email protected]>
* Syscall.cs: Do not let the runtime handle strings, as we do not
	own those strings, we must transform the char * into a string
	ourselves.

svn path=/trunk/mcs/; revision=28200
2004-05-26 20:07:57 +00:00
Sebastien Pouliot b50dbda591 2004-05-26 Sebastien Pouliot <[email protected]>
* Array.cs: Removed duplicate condition if LastIndexOf.

svn path=/trunk/mcs/; revision=28199
2004-05-26 20:06:56 +00:00
Zoltan Varga 78be95d070 2004-05-26 Zoltan Varga <[email protected]>
* marshal.c (mono_marshal_get_native_wrapper): Free strings returned
	from pinvoke functions.

svn path=/trunk/mono/; revision=28198
2004-05-26 20:04:09 +00:00
Sebastien Pouliot 1d4370ad9a 2004-05-26 Sebastien Pouliot <[email protected]>
* ArrayListTest.cs: Added tests for integer overflows.

svn path=/trunk/mcs/; revision=28197
2004-05-26 20:03:34 +00:00
Miguel de Icaza b7f472596b *** empty log message ***
svn path=/trunk/mono/; revision=28196
2004-05-26 20:03:31 +00:00
Massimiliano Mantione 1c04f49c67 Fixed problem with precision of tan, atan, sin and cos, and implemented
related regressions tests (fixes bug 54467, but one new problem appeared
and is not fixed yet).

svn path=/trunk/mono/; revision=28195
2004-05-26 19:49:55 +00:00
Miguel de Icaza f6c7d28d4f Link libmono statically, its easier to debug, per irc discussion today
svn path=/trunk/mono/; revision=28193
2004-05-26 19:45:59 +00:00
Gonzalo Paniagua Javier 60e721afba long time...
svn path=/trunk/mono/; revision=28192
2004-05-26 19:45:42 +00:00
Zoltan Varga eacf760fd2 2004-05-26 Zoltan Varga <[email protected]>
* cfold.c (FOLD_BINOPZ): Avoid division by zero.

svn path=/trunk/mono/; revision=28190
2004-05-26 19:35:12 +00:00
Zoltan Varga 2a999ebccc 2004-05-26 Zoltan Varga <[email protected]>
* exceptions.cs: Add test for constant folding && division by zero.

svn path=/trunk/mono/; revision=28189
2004-05-26 19:32:28 +00:00
Gonzalo Paniagua Javier 6d36d994dc 2004-05-26 Gonzalo Paniagua Javier <[email protected]>
* data/DefaultWsdlHelpGenerator.aspx: fixed querystring attribute
	values. Now they are URlEncoded.

	* data/browscap.ini.gz: updated.

svn path=/trunk/mono/; revision=28188
2004-05-26 19:25:28 +00:00
Gonzalo Paniagua Javier 3ccd2c085f 2004-05-26 Gonzalo Paniagua Javier <[email protected]>
* BrowserCapsUpdater.cs: update URL for browscap.ini.

svn path=/trunk/mcs/; revision=28187
2004-05-26 19:25:21 +00:00
Gonzalo Paniagua Javier d54ba0dbe0 2004-05-26 Gonzalo Paniagua Javier <[email protected]>
* HttpResponse.cs: remove hardcoded "HTTP/1.0" version that kept
	chunked encoding disabled. Fixed chunked suffix and end. Send the
	'lastchunk' marked when in the final Flush even if the content length
	is 0. This makes mod-mono-server work fine with chunked encoding.

	* HttpRuntime.cs: Set the _firstRequest* variables to true
	earlier. TraceContext don't take any parameter now.

	* TraceManager.cs: don't need a context. Use GetAppConfig.

svn path=/trunk/mcs/; revision=28186
2004-05-26 19:25:17 +00:00
Sebastien Pouliot 5d8ff40aa8 2004-05-26 Sebastien Pouliot <[email protected]>
* ArrayTest.cs: Added integer overflow tests for LastIndexOf.

svn path=/trunk/mcs/; revision=28185
2004-05-26 19:21:45 +00:00
Zoltan Varga c122e0e595 2004-05-26 Zoltan Varga <[email protected]>
* driver.c mini.h mini.c mini-x86.c: Revert most of the previous patch
	since driver.c is in libmono too, so the optimization was useless.

svn path=/trunk/mono/; revision=28184
2004-05-26 19:01:38 +00:00
Atsushi Eno d7a5613ab0 2004-05-26 Atsushi Enomoto <[email protected]>
* DateTimeFormatInfo.cs :
	  hack implementation for GetAllDateTimePatterns().

svn path=/trunk/mcs/; revision=28182
2004-05-26 18:45:56 +00:00
Atsushi Eno cf946a498f 2003-05-26 Atsushi Enomoto <[email protected]>
* FileInfoTest.cs : more incorrect \ fix.

svn path=/trunk/mcs/; revision=28181
2004-05-26 18:36:54 +00:00
Atsushi Eno 32c0427f83 2004-05-26 Atsushi Enomoto <[email protected]>
* icall.c : Fixed ves_icall_System_DateTime_GetNow() to return utc
	  on win32.

svn path=/trunk/mono/; revision=28180
2004-05-26 18:29:07 +00:00
Lluis Sanchez 0ed89f563f * HttpServerChannel.cs: Default port is 0.
svn path=/trunk/mcs/; revision=28179
2004-05-26 18:25:52 +00:00
Lluis Sanchez 99bb845efd * SoapMessageFormatter.cs: Include soap headers as properties when creating
the IMessage, and add IMessage properties as headers when creating the
	  SoapMessage. LogicalCallContext info will be passed as a header value.

svn path=/trunk/mcs/; revision=28178
2004-05-26 18:24:43 +00:00
Atsushi Eno b725942d10 2004-05-26 Atsushi Enomoto <[email protected]>
* DateTime.cs :
	  - Added "yyyy-MM-dd HH:mm:ss" to "compatible patterns".
	    (Fixed bug #58938.)
	  - As a quick remedy to accept more patterns, Parse() now also tries
	    InvariantInfo patterns (this is because we have no more than one
	    pattern for each pattern component.)
	  - In _DoParse(), 'Z' should not be read as timezone specifier. Some
	    culture uses 'Z' as AM/PM designer, and it should be recognized as
	    part of the UTCpattern (if it actually UTC pattern for the culture
	    contains 'Z').

svn path=/trunk/mcs/; revision=28177
2004-05-26 18:18:39 +00:00
Sebastien Pouliot 9cd88d39f6 2004-05-26 Sebastien Pouliot <[email protected]>
* BufferedStream.cs: Fixed possible integer overflow.
	* FileStream.cs: Fixed possible integer overflow.
	* MemoryStream.cs: Fixed possible integer overflow.
	* StringReader.cs: Fixed possible integer overflow.

svn path=/trunk/mcs/; revision=28176
2004-05-26 17:40:51 +00:00
Sebastien Pouliot 0683f54f83 2004-05-26 Sebastien Pouliot <[email protected]>
* FileStreamTest.cs: Added new tests for integer overflow checks.
	* StringReaderTest.cs: Added new tests for integer overflow checks.

svn path=/trunk/mcs/; revision=28175
2004-05-26 17:38:02 +00:00
Gert Driesen 86a107d225 * MonoCustomAttrs.cs: Fixed issue with AllowMultiple, as MS
seems to allow multiple attributes with AllowMultiple at
runtime.

svn path=/trunk/mcs/; revision=28174
2004-05-26 17:28:57 +00:00
Sebastien Pouliot 1ca4636760 2004-05-26 Sebastien Pouliot <[email protected]>
* BufferedStream.cs: Added globalization and fixed exceptions and
	possible integer overflow.
	* TextWriter.cs: Fixed possible integer	overflow.

svn path=/trunk/mcs/; revision=28172
2004-05-26 17:04:43 +00:00
Sebastien Pouliot 825b2dfec3 2004-05-26 Sebastien Pouliot <[email protected]>
* BufferedStreamTest.cs: Added new unit tests for exceptions.

svn path=/trunk/mcs/; revision=28171
2004-05-26 16:42:38 +00:00
Sebastien Pouliot 83e514bc50 2004-05-26 Sebastien Pouliot <[email protected]>
* rand.c: Fixed CrypptReleaseContext (missing parameter).

svn path=/trunk/mono/; revision=28169
2004-05-26 16:12:59 +00:00
Gonzalo Paniagua Javier 5a00aadf38 2004-05-26 Gonzalo Paniagua Javier <[email protected]>
* library.make: reference nunti.core.dll and nunit.util.dll when
	building tests.

svn path=/trunk/mcs/; revision=28167
2004-05-26 15:39:32 +00:00
Sebastien Pouliot efd29ca224 *** empty log message ***
svn path=/trunk/mcs/; revision=28165
2004-05-26 15:04:22 +00:00
Sebastien Pouliot b48bc7611d 2004-05-26 Sebastien Pouliot <[email protected]>
* rand.c: Used wrong define in call :(

svn path=/trunk/mono/; revision=28164
2004-05-26 14:59:44 +00:00
Sebastien Pouliot a06631a3e2 2004-05-26 Sebastien Pouliot <[email protected]>
* rand.c: Define PROV_INTEL_SEC and CRYPT_VERIFY_CONTEXT if not
	defined in cygwin version of wincrypt.h.

svn path=/trunk/mono/; revision=28162
2004-05-26 14:33:21 +00:00
Sebastien Pouliot 961f3692e4 2004-05-26 Sebastien Pouliot <[email protected]>
* Byte.cs: Throw an OverflowException for negative numbers.
	* Convert.cs: Accept 0x and 0X as prefix when parsing base16 strings.

svn path=/trunk/mcs/; revision=28160
2004-05-26 14:05:46 +00:00
Sebastien Pouliot b20d1bac54 2004-05-26 Sebastien Pouliot <[email protected]>
* ConvertTest.cs: Added case where 0X00 is valid when parsed in base16

svn path=/trunk/mcs/; revision=28159
2004-05-26 13:56:12 +00:00
Zoltan Varga a7a8581a85 2004-05-26 Zoltan Varga <[email protected]>
* pinvoke3.cs libtest.c: Add tests for fnptr->delegate marshalling.

svn path=/trunk/mono/; revision=28158
2004-05-26 13:41:24 +00:00
Lluis Sanchez 9bf6263942 * SerializationCodeGenerator.cs, XmlSerializationReaderInterpreter.cs:
In encoded format, primitive types can be null. Read them using
	  ReadReferencingElement, that already checks for the null tag.

svn path=/trunk/mcs/; revision=28157
2004-05-26 13:41:23 +00:00
Zoltan Varga 30ffec36d6 2004-05-26 Zoltan Varga <[email protected]>
* marshal.c (mono_ftnptr_to_delegate): Implement this.

svn path=/trunk/mono/; revision=28156
2004-05-26 13:37:30 +00:00
Sebastien Pouliot af43a7a510 2004-05-26 Sebastien Pouliot <[email protected]>
* StringBuilder.cs: Fixed potential integer overflows in several
	methods.

svn path=/trunk/mcs/; revision=28155
2004-05-26 13:37:21 +00:00
Sebastien Pouliot d1f4ff909a 2004-05-26 Sebastien Pouliot <[email protected]>
* StringBuilderTest.cs: Added unit tests to be sure integer overflows
	are catched.

svn path=/trunk/mcs/; revision=28154
2004-05-26 13:24:16 +00:00
Zoltan Varga bdc4bc43d0 2004-05-26 Zoltan Varga <[email protected]>
* Makefile.am (DISABLED_TESTS): appdomain-unload.exe seems to run too.

svn path=/trunk/mono/; revision=28153
2004-05-26 13:23:42 +00:00
Zoltan Varga 6f2d24e6bb 2004-05-26 Zoltan Varga <[email protected]>
* driver.c mini.h mini.c mini-x86.c: Moved the mono_lmf_addr TLS
	variable to driver.c so the compiler can emit more efficient code to
	access them.

svn path=/trunk/mono/; revision=28152
2004-05-26 13:22:42 +00:00
Marek Safar ca91493e38 fix the build
svn path=/trunk/mcs/; revision=28151
2004-05-26 12:44:15 +00:00
Atsushi Eno 103dedd502 2004-05-26 Atsushi Enomoto <[email protected]>
* culture-info-tables.h: reflecting locale-builder updates.

svn path=/trunk/mono/; revision=28150
2004-05-26 12:08:35 +00:00
Atsushi Eno 2bbfe589c8 2004-05-26 Atsushi Enomoto <[email protected]>
* Driver.cs : for af_ZA locale, am/pm part got required to support
	  "empty" string. So check am/pm elements and overwrite AMDesigner/
	  PMDesigner value even if they consist of empty string.

	* (moved logs for supp/ content to supp/)

svn path=/trunk/mono/; revision=28149
2004-05-26 11:53:06 +00:00
Zoltan Varga b12832127c 2004-05-26 Zoltan Varga <[email protected]>
* profiler.c (simple_allocation): Skip icall wrapper methods. Fixes
	#59086.

svn path=/trunk/mono/; revision=28148
2004-05-26 11:52:38 +00:00
Atsushi Eno c24e59e5cd 2004-05-26 Atsushi Enomoto <[email protected]>
* Added ChangeLog also here (and moved the last msg from ..).

	* af_ZA.xml, ar_SA.xml, be_BY.xml, de_AT.xml, en_AU.xml, en_GB.xml,
	  en_NZ.xml, es_AR.xml, es_BO.xml, es_CL.xml, es_CO.xml, es_CR.xml,
	  es_DO.xml, es_EC.xml, es_ES.xml, es_GT.xml, es_HN.xml, es_MX.xml,
	  es_PA.xml, es_PE.xml, es_PR.xml, es_PY.xml, es_SV.xml, es_UY.xml,
	  es_VE.xml, eu_ES.xml,
	  fo_FO.xml, fr_BE.xml, fr_CA.xml, fr_FR.xml, fr_CH.xml, fr_FR.xml,
	  fr_LU.xml, hi_IN.xml, id_ID.xml, it_CH.xml, it_IT.xml, ko_KR.xml,
	  nl_BE.xml, nl_NL.xml, pt_BR.xml, pt_PT.xml, sv_FI.xml, sv_SE.xml,
	  sw_KE.xml, bg.xml, ca.xml, cs.xml, da.xml, de.xml, el.xml, es.xml,
	  et.xml, fa.xml, fi.xml, he.xml, hr.xml, hu.xml, hy.xml, is.xml,
	  lt.xml, lv.xml, mk.xml, ro.xml, ru.xml, sk.xml, sl.xml, sq.xml,
	  tr.xml, uk.xml, vi.xml :
	  Added shortdate/longtime/am/pm etc. for DateTime.ToString().
	* ar_AE.xml, ar_BH.xml, ar_DZ.xml, ar_EG.xml, ar_JO.xml, ar_KW.xml,
	  ar_LB.xml, ar_LY.xml, ar_MA.xml, ar_OM.xml, ar_QA.xml, ar_SY.xml,
	  ar_TN.xml, ar_YE.xml, en_CA.xml, en_IE.xml, en_PH.xml, en_ZA.xml,
	  en_ZW.xml :
	  Added shortdate/longtime.
	* th.xml : ditto.
	* ja.xml : I incorrectly modified long time format. Reverting.

svn path=/trunk/mono/; revision=28147
2004-05-26 11:49:35 +00:00
Umadevi S 1816c5b871 2004-05-26 Umadevi S <[email protected].
* Added files DataTableCollectionTest and DataRelationCollectionTest to the system.data_test.dll.sources

svn path=/trunk/mcs/; revision=28146
2004-05-26 11:35:36 +00:00
Sebastien Pouliot 59a8b939c4 2004-05-26 Sebastien Pouliot <[email protected]>
Environment.cs: Bumped mono_corlib_version to 20 (rng interface).

svn path=/trunk/mcs/; revision=28145
2004-05-26 11:27:56 +00:00
Umadevi S 0b1871044d 2004-05-26 Umadevi S <[email protected].
* Added files DataTableCollectionTest and DataRelationCollectionTest

svn path=/trunk/mcs/; revision=28144
2004-05-26 11:26:34 +00:00
Sebastien Pouliot 2b2c201528 2004-05-26 Sebastien Pouliot <[email protected]>
* RNGCryptoServiceProvider.cs: Changed RNG interface with the runtime
	so it could be used in a thread-safe way with CryptoAPI.

svn path=/trunk/mcs/; revision=28143
2004-05-26 11:26:23 +00:00
Umadevi S cae794742c 2004-05-26 Umadevi S <[email protected]>.
* Added files DataTableCollectionTest and DataRelationCollectionTest

svn path=/trunk/mcs/; revision=28142
2004-05-26 11:26:07 +00:00
Lluis Sanchez 78e0f4ad97 * SoapFormatter.cs: Added headers parameter to SoapWriter call.
* SoapReader.cs: Added support for deserialization of headers. Cache
	  both member indexes and member infos in the new TypeMetadata structure.
	* SoapWriter.cs: Added support for serialization of headers.

svn path=/trunk/mcs/; revision=28141
2004-05-26 11:26:05 +00:00
Sebastien Pouliot eb35a5ff05 2004-05-26 Sebastien Pouliot <[email protected]>
* appdomain.cs: Bumped MONO_CORLIB_VERSION to 20.
	* icall.c: Modified icalls for RNG.
	* rand.c|h: Changed RNG interface to allow thread-safe usage under
	Windows (CryptoAPI).

svn path=/trunk/mono/; revision=28140
2004-05-26 11:25:26 +00:00
Marek Safar 3f360142ae 2004-05-26 Marek Safar <[email protected]>
* test-74.cs: Now test passes on my machine too.
	It is not perfect though.

svn path=/trunk/mcs/; revision=28139
2004-05-26 11:07:30 +00:00
Raja R Harinath 57576aabc2 (clean-local): Add $(CLEAN_FILES) too.
svn path=/trunk/mcs/; revision=28137
2004-05-26 09:36:25 +00:00
Marek Safar 0ed51a2049 2004-05-26 Marek Safar <[email protected]>
Fixed bug #50080 & cs0214-2.cs
	* expression.cs (Cast.DoResolve): Check unsafe context here.

	* statement.cs (Resolve.DoResolve): Likewise.

svn path=/trunk/mcs/; revision=28136
2004-05-26 09:29:13 +00:00
Jordi Mas i Hernandez 45329d4007 gif image sample
svn path=/trunk/mcs/; revision=28135
2004-05-26 09:28:55 +00:00
Raja R Harinath 0a91e7c527 Rebuild
svn path=/trunk/mcs/; revision=28134
2004-05-26 09:27:23 +00:00
Raja R Harinath 4a6967728b * nunit20/util/Makefile (EXTRA_DISTFILES): Remove
Transform.resources.
($(the_lib)): Make Transform.resources using internal resgen.
* nunit20/util/Transform.resources: Rebuild.

svn path=/trunk/mcs/; revision=28133
2004-05-26 09:22:25 +00:00
Sanja Gupta cd77a06594 ChangeLog: Updated ChangeLog.
TestImageFormatConverter.cs: Removed duplicate assertion numbers.

svn path=/trunk/mcs/; revision=28132
2004-05-26 08:41:51 +00:00
Sanja Gupta 99f35ca769 ChangeLog: Update ChangeLog.
ImageFormatConverter.cs: Fixed issues discovered from nunit test cases.

svn path=/trunk/mcs/; revision=28131
2004-05-26 08:36:32 +00:00
Raja R Harinath 8ff8dec32b Remove a couple of noise words.
svn path=/trunk/mono/; revision=28129
2004-05-26 08:21:34 +00:00
Ravindra 354be45444 Added test for Color.cs.
svn path=/trunk/mcs/; revision=28128
2004-05-26 08:11:49 +00:00
Ravindra 2a753f23f5 Added a note.
svn path=/trunk/mcs/; revision=28127
2004-05-26 08:08:22 +00:00
Ravindra c2aa7b1c9f Minor fix in Color.Green property.
svn path=/trunk/mcs/; revision=28126
2004-05-26 08:06:07 +00:00
Ravindra 11379f4141 Test for Color.cs.
svn path=/trunk/mcs/; revision=28125
2004-05-26 08:03:52 +00:00
Anirban Bhattacharjee 7fb97ff443 Few property related checks applied
svn path=/trunk/mcs/; revision=28124
2004-05-26 07:59:30 +00:00
Raja R Harinath 28d631d201 * Makefile.am (mcs-do-basic-build): No need to set MCS here.
* runtime/net_1_1/Makefile.am (gac_assemblies_list): Update to
reflect new names for nunit.util and nunit.framework.  Add
nunit.core.
* runtime/net_2_0/Makefile.am (gac_assemblies_list): Likewise.

svn path=/trunk/mono/; revision=28123
2004-05-26 07:41:03 +00:00
Martin Baulig b2fb916aed 2004-05-26 Martin Baulig <[email protected]>
* namespace.cs (NamespaceEntry.Lookup): Added `bool silent'.

	* rootcontext.cs (RootContext.NamespaceLookup): Added `bool silent'.
	(RootContext.LookupType): Pass down the `silent' flag.

svn path=/trunk/mcs/; revision=28122
2004-05-26 06:03:37 +00:00
Martin Baulig 3ea141228f Put my changes back.
svn path=/trunk/mcs/; revision=28121
2004-05-26 06:01:33 +00:00
Atsushi Eno 7e8678f8c6 2004-05-26 Atsushi Enomoto <[email protected]>
* FileInfo.cs,
	  DirectoryInfo.cs : ToString() should return constructor arg as is.
	  This fixes bug #58804.

svn path=/trunk/mcs/; revision=28120
2004-05-26 03:54:51 +00:00
Atsushi Eno 2f91adfd77 2003-05-26 Atsushi Enomoto <[email protected]>
* FileInfoTest.cs : incorrect \ fix. added more cases.

svn path=/trunk/mcs/; revision=28119
2004-05-26 03:45:34 +00:00
Atsushi Eno ac00a4d3f3 2003-05-26 Atsushi Enomoto <[email protected]>
* FileInfoTest.cs : added tests for ToString().

svn path=/trunk/mcs/; revision=28118
2004-05-26 03:33:21 +00:00
Gonzalo Paniagua Javier d1177f0843 fixed 59051
svn path=/trunk/mcs/; revision=28117
2004-05-26 02:51:47 +00:00
Jackson Harper e6b19e2a4a * ILParser.jay: Fix casting for data type constants.
svn path=/trunk/mcs/; revision=28116
2004-05-26 01:37:52 +00:00
Sebastien Pouliot 7672953ef6 2004-05-25 Sebastien Pouliot <[email protected]>
* Makefile: changed case on nunit.framework.dll (lowercase)

svn path=/trunk/mcs/; revision=28115
2004-05-26 01:16:57 +00:00
Sebastien Pouliot 25d6b85e07 2004-05-25 Sebastien Pouliot <[email protected]>
* library.make: changed case on nunit.framework.dll (lowercase)

svn path=/trunk/mcs/; revision=28114
2004-05-26 01:15:07 +00:00
Sebastien Pouliot 7d77e174cb 2004-05-25 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Removed MONO define for strongnaming assembly.

svn path=/trunk/mcs/; revision=28113
2004-05-26 01:10:55 +00:00
Gonzalo Paniagua Javier 2068a5adf9 Details...
svn path=/trunk/mcs/; revision=28112
2004-05-26 01:09:55 +00:00
Sebastien Pouliot 4748a08227 2004-05-25 Sebastien Pouliot <[email protected]>
* Makefile: Allow different case between *.source and assembly name.
	* AssemblyInfo.cs: Nunit.key->nunit.key

svn path=/trunk/mcs/; revision=28111
2004-05-26 01:09:20 +00:00
Sebastien Pouliot 525c601353 2004-05-25 Sebastien Pouliot <[email protected]>
* Allow different filename case for *.source and resulting assembly.

svn path=/trunk/mcs/; revision=28110
2004-05-26 01:08:00 +00:00
Gonzalo Paniagua Javier 05400a27d7 2004-05-26 Gonzalo Paniagua Javier <[email protected]>
* UrlUtils.cs:
	(GetFile): not public, and fixed to really return just the file name.
	(InsertSessionId): ensure that the directory ends with a "/". This
	fixes cookieless sessions.

svn path=/trunk/mcs/; revision=28109
2004-05-26 01:05:43 +00:00
Ben Maurer 49cf2ab03e test the regression
svn path=/trunk/mcs/; revision=28108
2004-05-26 00:48:28 +00:00
Sebastien Pouliot 0c2cc49f3e 2004-05-25 Sebastien Pouliot <[email protected]>
* Updated files (and added new ones) for NUnit 2.1.91.

svn path=/trunk/mcs/; revision=28107
2004-05-26 00:38:46 +00:00
Sebastien Pouliot 3465260328 2004-05-25 Sebastien Pouliot <[email protected]>
* forgot to remove TestLoadEventArgs.cs

svn path=/trunk/mcs/; revision=28106
2004-05-26 00:36:51 +00:00
Sebastien Pouliot fe3cd77c73 2004-05-25 Sebastien Pouliot <[email protected]>
* Updated files for nunit-console 2.1.91.

svn path=/trunk/mcs/; revision=28105
2004-05-26 00:35:08 +00:00
Sebastien Pouliot 32a425e1e3 2004-05-25 Sebastien Pouliot <[email protected]>
* Removed old files from previous versions of NUnit.

svn path=/trunk/mcs/; revision=28104
2004-05-26 00:33:22 +00:00
Sebastien Pouliot 05ebe2b79e 2004-05-25 Sebastien Pouliot <[email protected]>
* Update existing files (and added new ones) for nunit 2.1.91.

svn path=/trunk/mcs/; revision=28103
2004-05-26 00:31:38 +00:00
Miguel de Icaza 6e8fda40bb Revert the last two patches, they regress
svn path=/trunk/mcs/; revision=28102
2004-05-26 00:29:07 +00:00
Sebastien Pouliot 7d25a7d718 2004-05-25 Sebastien Pouliot <[email protected]>
* Removed old files from previous Nunit versions.

svn path=/trunk/mcs/; revision=28101
2004-05-26 00:25:00 +00:00
Sebastien Pouliot 7bd8f52d43 2004-05-25 Sebastien Pouliot <[email protected]>
* Update to existing files and new files for NUnit 2.1.91.

svn path=/trunk/mcs/; revision=28100
2004-05-26 00:23:03 +00:00
Sebastien Pouliot e648010cec 2004-05-25 Sebastien Pouliot <[email protected]>
Removed old files (most have been move to other assemblies).

svn path=/trunk/mcs/; revision=28099
2004-05-26 00:20:24 +00:00
Sebastien Pouliot 13d4b3253f 2004-05-25 Sebastien Pouliot <[email protected]>
* Imported NUnit 2.1.91 (2.2 beta) source code for new assembly.

svn path=/trunk/mcs/; revision=28098
2004-05-26 00:12:18 +00:00
Sebastien Pouliot f3400b881b 2004-05-25 Sebastien Pouliot <[email protected]>
* nunit.key: New. NUnit private key. Due to build issues the key
	must be present in this directory.

svn path=/trunk/mcs/; revision=28097
2004-05-26 00:05:37 +00:00
Jordi Mas i Hernandez 471a2a236c fixes compilation problem under win32 using csc
svn path=/trunk/mcs/; revision=28096
2004-05-25 23:33:31 +00:00
Gonzalo Paniagua Javier ff305f8291 2004-05-26 Gonzalo Paniagua Javier <[email protected]>
* OracleType.cs: fixed values for Int16 and Int32. Thanks to Artem
	Zabytin for reporting this.

svn path=/trunk/mcs/; revision=28092
2004-05-25 22:27:41 +00:00
Jackson Harper b3175dd00f * PEAPI.cs: Set the has default flag on fields when a default data
constant is assigned to them.

svn path=/trunk/mcs/; revision=28091
2004-05-25 22:27:08 +00:00
Gonzalo Paniagua Javier 00f11231ef 2004-05-26 Gonzalo Paniagua Javier <[email protected]>
* Makefile.am: don't distribute generated inssel.[ch] files.

svn path=/trunk/mono/; revision=28090
2004-05-25 22:23:23 +00:00
Jackson Harper 5e11dd3483 * PEAPI.cs: Encode string constants as unicode before putting them
in the blob.

svn path=/trunk/mcs/; revision=28089
2004-05-25 22:09:24 +00:00
Gonzalo Paniagua Javier 01040c6fdd 2004-05-26 Gonzalo Paniagua Javier <[email protected]>
* IPAddress.cs:
	* IPEndPoint.cs:
	* IPv6Address.cs: no more warnings about IPAddress.Address.

svn path=/trunk/mcs/; revision=28086
2004-05-25 21:28:41 +00:00
Martin Baulig cd4490d4bd 2004-05-25 Martin Baulig <[email protected]>
* expression.cs
	(MethodGroupExpr.IdenticalTypeName): New public property.
	(Invocation.DoResolve): Don't report a CS0176 if the "instance"
	expression actually refers to a type.

svn path=/trunk/mcs/; revision=28084
2004-05-25 21:15:23 +00:00
Gonzalo Paniagua Javier d51339b19b *** empty log message ***
svn path=/trunk/mcs/; revision=28083
2004-05-25 21:12:04 +00:00
Gonzalo Paniagua Javier 9634b2bb99 2004-05-25 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpApplication.cs: set culture/uiculture from
	configuration and restore it after each step. Fixes bug #52851.

	* System.Web.Configuration/GlobalizationConfiguration.cs: if we have no
	context, use GetAppConfig instead of GetConfig.

svn path=/trunk/mcs/; revision=28081
2004-05-25 20:59:53 +00:00
Ben Maurer 19c21859ba 2004-05-25 Ben Maurer <[email protected]>
* config.h.in: remove

svn path=/trunk/mono/; revision=28080
2004-05-25 20:18:36 +00:00
Martin Baulig 810bd43c2b New test.
svn path=/trunk/mcs/; revision=28079
2004-05-25 20:18:25 +00:00
Martin Baulig 74dedf71a1 2004-05-25 Martin Baulig <[email protected]>
* expression.cs (Invocation.DoResolve): Applied Ben Maurer's patch
	for #56176 and made it actually work.

svn path=/trunk/mcs/; revision=28078
2004-05-25 20:16:53 +00:00
Zoltan Varga 95a3e3e63b 2004-05-25 Zoltan Varga <[email protected]>
* mini.c (mono_jit_compile_method_with_opt): Really emit icall wrappers
	into the default appdomain. Fixes #58707.

svn path=/trunk/mono/; revision=28077
2004-05-25 19:21:00 +00:00
Sebastien Pouliot 47ec8815df 2004-05-25 Sebastien Pouliot <[email protected]>
* Array.cs: Fixed possible integer overflow.
	* BitConverter.cs: Fixed a possible integer overflow in ToString.

svn path=/trunk/mcs/; revision=28070
2004-05-25 18:59:35 +00:00
Sebastien Pouliot 5b9e9f8578 2004-05-25 Sebastien Pouliot <[email protected]>
* MethodBuilder.cs: Now use FastNewGuidArray to create new random
	Guids without using CryptoConfig. Speed up for MCS.

svn path=/trunk/mcs/; revision=28069
2004-05-25 18:53:12 +00:00
Sebastien Pouliot fea3c895fe 2004-05-25 Sebastien Pouliot <[email protected]>
* Guid.cs: Added an internal method to create a random Guid without
	using CryptoConfig (which is heavy on first use). This is only used
	in S.R.E.ModuleBuilder to speedup MCS compilation.

svn path=/trunk/mcs/; revision=28068
2004-05-25 18:51:22 +00:00
Martin Baulig 6025a14c1a 2004-05-25 Martin Baulig <[email protected]>
* ecore.cs (Expression.CacheTemporaries): Make this virtual.
	(FieldExpr, PropertyExpr): Override and implement
	CacheTemporaries.  Fixes #52279.

svn path=/trunk/mcs/; revision=28067
2004-05-25 18:51:11 +00:00
Martin Baulig 351636b5be 2004-05-25 Martin Baulig <[email protected]>
* test-261.cs: New test for #52279.

svn path=/trunk/mcs/; revision=28066
2004-05-25 18:49:36 +00:00
Jackson Harper 3339f45af0 * PEAPI.cs: zero RVAs for abstract, runtime, and internal call
methods.

svn path=/trunk/mcs/; revision=28065
2004-05-25 18:46:37 +00:00
Zoltan Varga 2ce114b1f3 2004-05-25 Zoltan Varga <[email protected]>
* mono-codeman.c (mono_code_manager_invalidate): On x86, fill the
	memory with 0xcc (x86 break).

svn path=/trunk/mono/; revision=28064
2004-05-25 18:29:18 +00:00
Zoltan Varga 9f6a6852c9 2004-05-25 Zoltan Varga <[email protected]>
* locales.c: Fix build.

svn path=/trunk/mono/; revision=28063
2004-05-25 18:18:22 +00:00
Sebastien Pouliot f2f10096e4 2004-05-25 Sebastien Pouliot <[email protected]>
* ArrayTest.cs: Added tests to check for integer overflow in Clear,
       Copy and Reverse.
       * BitConverterTest.cs: Added test to check for possible integer
       overflow in ToString (byte,int,int)

svn path=/trunk/mcs/; revision=28062
2004-05-25 17:59:05 +00:00
Jackson Harper 000a582758 * parser.cs: Allow creating a regular expression using {,n} as the
specified. The min bounds is set to -1, I am not completely sure
	if that is what it is supposed to be but MS does not set it to 0
	based on testing. Patch by [email protected]. Fixes bug
	#56761.

svn path=/trunk/mcs/; revision=28061
2004-05-25 17:29:44 +00:00
Sebastien Pouliot 1934e429b0 2004-05-25 Sebastien Pouliot <[email protected]>
* String.cs: Fixed reported exception for PadLeft|Right. Fixed
	possible integer overflow in methods that takes index and count
	as parameters.

svn path=/trunk/mcs/; revision=28060
2004-05-25 17:10:39 +00:00
Jackson Harper cc5910d215 fix name
svn path=/trunk/mono/; revision=28059
2004-05-25 17:05:32 +00:00
Atsushi Eno f2e9f1ad8d 2004-05-25 Atsushi Enomoto <[email protected]>
* culture-info-tables.h: reflecting locale-builder updates.

svn path=/trunk/mono/; revision=28057
2004-05-25 16:49:14 +00:00
Patrik Torstensson fc4890ddd2 2004-05-25 18:30 CET Patrik Torstensson <[email protected]>
* configure.in: Check for trunc instead of truncl (HAVE_TRUNC)

svn path=/trunk/mono/; revision=28056
2004-05-25 16:45:08 +00:00
Jordi Mas i Hernandez b9813f94b1 added wrapmode examples
svn path=/trunk/mcs/; revision=28054
2004-05-25 16:08:52 +00:00
Atsushi Eno 0a3f85c02b 2004-05-26 Atsushi Enomoto <[email protected]>
* supp/pl.xml,
	  supp/ja.xml : Added overriding formats. pl.xml fixes bug #58186.

svn path=/trunk/mono/; revision=28053
2004-05-25 15:44:12 +00:00
Jackson Harper 0b904ce407 * Makefile.am: Extract xml files.
svn path=/trunk/mono/; revision=28052
2004-05-25 15:41:50 +00:00
Jackson Harper d49790403c * locales.c: When creating the current culture use the $LANGs
specific culture. So DateTimeFormat and NumberFormat entries are created.

svn path=/trunk/mono/; revision=28050
2004-05-25 15:17:00 +00:00
Sebastien Pouliot fae256a97e 2004-05-25 Sebastien Pouliot <[email protected]>
* StringTest.cs: Added tests for special cases like
	s.LastIndexOf ('o', s.Length, 1) fail but
	s.LastIndexOf ("o", s.Length, 1) works.

svn path=/trunk/mcs/; revision=28049
2004-05-25 14:25:57 +00:00
Lluis Sanchez 2295258581 * XmlSerializationReader.cs: Check for empty element when reading an array
element. This fixes bug #59003. Thanks Atsushi!

svn path=/trunk/mcs/; revision=28048
2004-05-25 13:49:22 +00:00
Zoltan Varga 1c54c6de8e 2004-05-25 Zoltan Varga <[email protected]>
* String.cs: Add new Strcpy icalls which take a char array as
	parameter.

svn path=/trunk/mcs/; revision=28046
2004-05-25 13:23:36 +00:00
Zoltan Varga 56bc7bbd0b 2004-05-25 Zoltan Varga <[email protected]>
* string-icalls.{h,c} icalls.c: Add new icalls for Strcpy which take
	a char array as parameter.

svn path=/trunk/mono/; revision=28045
2004-05-25 13:19:38 +00:00
Zoltan Varga 088a486d76 2004-05-25 Zoltan Varga <[email protected]>
* jit-icalls.c: Remove the broken approximation for truncl, doing
	no conversion is better.

svn path=/trunk/mono/; revision=28044
2004-05-25 13:13:09 +00:00
Sebastien Pouliot 6b6f15ecae 2004-05-25 Sebastien Pouliot <[email protected]>
* ConvertTest.cs: New tests for prefixed hexadecimal strings and
	negative byte convertion.
	* StringTest.cs: Added new tests for integer overflow and negatives.

svn path=/trunk/mcs/; revision=28042
2004-05-25 12:56:02 +00:00
Atsushi Eno 48ff110b43 2004-05-25 Atsushi Enomoto <[email protected]>
* DateTime.cs : added more invariant format patterns. This should
	  really fix bug #57656.

svn path=/trunk/mcs/; revision=28041
2004-05-25 12:44:48 +00:00
Marek Safar ff7f9b6e20 New test
svn path=/trunk/mcs/; revision=28040
2004-05-25 12:43:41 +00:00
Zoltan Varga c945701176 2004-05-25 Zoltan Varga <[email protected]>
* mini.c (handle_stack_args): Avoid reusing variables for stack slots.
	Fixes #58863.

svn path=/trunk/mono/; revision=28039
2004-05-25 12:29:28 +00:00
Patrik Torstensson f13ad4d8cd 2004-05-25 14:14 CET Patrik Torstensson <[email protected]>
* BitConverter.cs (ToBoolean): Return true or false instead
	of unsafe returing byte as bool. Fixes bug #58874.

svn path=/trunk/mcs/; revision=28038
2004-05-25 12:28:09 +00:00
Atsushi Eno ebcf12b2da 2004-05-25 Atsushi Enomoto <[email protected]>
* DateTime.cs : In ToString(string, IFormatProvider), use "G" if
	  string format argument is null. This should fix bug #57656.

svn path=/trunk/mcs/; revision=28037
2004-05-25 12:21:51 +00:00
Lluis Sanchez e4b7a90e7a * BindingCollection.cs: Fixed this[string] property.
svn path=/trunk/mcs/; revision=28036
2004-05-25 12:18:31 +00:00
Paolo Molaro 576aaead4c Tue May 25 14:33:56 CEST 2004 Paolo Molaro <[email protected]>
* mini-ops.h, mini-ppc.c, cpu-g4.md, inssel-ppc.brg: eliminate the use
	of the mcrxr instruction which is not available on some processors
	even if it's documented to be. Implement add and sub overflow correctly
	(still not complete for long unsigned). Speed up icalls a bit.

svn path=/trunk/mono/; revision=28035
2004-05-25 11:55:12 +00:00
Lluis Sanchez 466fabe5ae * HttpServerChannel.cs: Take unused port if the provided prot is 0.
svn path=/trunk/mcs/; revision=28034
2004-05-25 11:34:08 +00:00
Patrik Torstensson 018125cad1 2004-05-25 13:01 CET Patrik Torstenson <[email protected]>
* mini.c (mono_jit_compile_method_with_opt): Make sure that
	we run .cctor in the current domain instead of target_domain.

	Fixes bug #58558, .cctor not being called in -O=shared.

svn path=/trunk/mono/; revision=28032
2004-05-25 11:15:40 +00:00
Lluis Sanchez d3642dfc0c * Version.cs: Rename of data fields to match those in Microsoft.NET.
Patch by [email protected].

svn path=/trunk/mcs/; revision=28031
2004-05-25 10:25:06 +00:00
Paolo Molaro bf19feb145 More tests for div, rem.
svn path=/trunk/mono/; revision=28030
2004-05-25 10:13:30 +00:00
Paolo Molaro 1ade5cf1f1 Tue May 25 12:46:50 CEST 2004 Paolo Molaro <[email protected]>
* mini-ppc.h, jit-icalls.c: added explicit checks for divide by zero.

svn path=/trunk/mono/; revision=28029
2004-05-25 10:02:28 +00:00
Lluis Sanchez 683bba8ceb * ScriptCompilerInfo.cs: the name used to load the Microsoft.JScript
assembly should not include the .dll extension.

svn path=/trunk/mcs/; revision=28028
2004-05-25 09:09:33 +00:00
Marek Safar 8a6749f11e New tests
svn path=/trunk/mcs/; revision=28027
2004-05-25 08:35:08 +00:00
Atsushi Eno 8db1637866 2004-05-25 Atsushi Enomoto <[email protected]>
* PrintDialog.cs : Build fix related to win32functions.cs changes.

svn path=/trunk/mcs/; revision=28026
2004-05-25 06:14:42 +00:00
Miguel de Icaza 314f866345 2004-05-25 Miguel de Icaza <[email protected]>
* location.cs: In the new compiler listing a file twice is a
	warning, not an error.

svn path=/trunk/mcs/; revision=28025
2004-05-25 04:01:54 +00:00
Gonzalo Paniagua Javier 64f41b5283 2004-05-25 Gonzalo Paniagua Javier <[email protected]>
* System.Data.OracleClient/OracleCommand.cs:
	* System.Data.OracleClient/OracleDataReader.cs:
	* System.Data.OracleClient.Oci/OciStatementHandle.cs: patch by Eduard
	Nesiba that implements autocommit behavior for non query statement
	which is out of transaction. In previous implementation changed rows
	stayed locked until client disconnect and hasRows proper settings.

svn path=/trunk/mcs/; revision=28019
2004-05-25 00:49:50 +00:00
César Natarén f482db7298 2004-05-24 Cesar Lopez Nataren <[email protected]>
* StrictEquality.cs, JSFieldInfo.cs: got it back to Microsoft.JScript namespace.

svn path=/trunk/mcs/; revision=28018
2004-05-25 00:30:53 +00:00
César Natarén 8fba3ffa73 2004-05-24 Cesar Lopez Nataren <[email protected]>
* StrictEquality.cs: got it back to Microsoft.JScript namespace.

svn path=/trunk/mcs/; revision=28017
2004-05-25 00:29:10 +00:00
César Natarén 56dd512971 updates from grammar changes
svn path=/trunk/mcs/; revision=28016
2004-05-25 00:27:54 +00:00
César Natarén 7497bd9358 2004-05-24 Cesar Lopez Nataren <[email protected]>
* Statement.cs: Added code generation support for 'switch' statement.

svn path=/trunk/mcs/; revision=28015
2004-05-25 00:25:44 +00:00
César Natarén 27c19dba87 2004-05-24 Cesar Lopez Nataren <[email protected]>
* Added switch.js

svn path=/trunk/mcs/; revision=28014
2004-05-25 00:23:59 +00:00
César Natarén 5fe9ea2627 2004-05-24 Cesar Lopez Nataren <[email protected]>
* jscript-lexer-parser.g: added 'using' for
	System.Collections. Allow 'switch' statement building of its
	ast. Added parent parameter to constructor of With. Build
	inside_for ast.

svn path=/trunk/mcs/; revision=28013
2004-05-25 00:21:16 +00:00
Gonzalo Paniagua Javier c7038a7ccc 2004-05-25 Gonzalo Paniagua Javier <[email protected]>
* DateTimeTest.cs: test for bug 56436.

svn path=/trunk/mcs/; revision=28012
2004-05-25 00:15:15 +00:00
Gonzalo Paniagua Javier 49ffcb66e0 2004-05-25 Gonzalo Paniagua Javier <[email protected]>
* DateTime.cs: allow double quotes in the formats. Don't set
	next_not_digit to true in presence of single or double quotes. Patch by
	Martin Probst.

svn path=/trunk/mcs/; revision=28011
2004-05-25 00:14:20 +00:00
Peter Dennis Bartok 96528389da - Added ActiveMdiChild method
svn path=/trunk/mcs/; revision=28010
2004-05-25 00:04:10 +00:00
Peter Dennis Bartok 20772dd521 - Fixed translation of wine pathnames to their unix counterpart
- Added loading of comdlg32 for wine to enable usage of common dialogs.
- Moved the comdlg32 functions into the Win32 section

svn path=/trunk/mcs/; revision=28009
2004-05-24 23:34:20 +00:00
Gonzalo Paniagua Javier 3df8e09908 2004-05-25 Gonzalo Paniagua Javier <[email protected]>
* DirectoryTest.cs: added test from bug 58875.

svn path=/trunk/mcs/; revision=28007
2004-05-24 21:56:42 +00:00
Gonzalo Paniagua Javier 8dd5b7a64b no more IsEmptyString
svn path=/trunk/mcs/; revision=28006
2004-05-24 21:49:55 +00:00
Gonzalo Paniagua Javier a7402c9747 2004-05-25 Gonzalo Paniagua Javier <[email protected]>
* Directory.cs: ERROR_FILE_NOT_FOUND in FindFirstFile means there are
	no files, but the directory was found. Fixes bug #58875.

svn path=/trunk/mcs/; revision=28005
2004-05-24 21:36:27 +00:00
Ben Maurer 893b008e14 2004-05-24 Ben Maurer <[email protected]>
* mini-x86.c (EMIT_COND_BRANCH): If an OP_LABEL has an offset
	which can be done with an imm8, do it that way.
	(mono_arch_output_basic_block): ditto for a jmp
	(mono_arch_emit_prolog): Computate maximum offset of a label.

svn path=/trunk/mono/; revision=28004
2004-05-24 20:57:39 +00:00
Duncan Mak fa66940492 (Close): Remember to set the 'closed' flag.
svn path=/trunk/mcs/; revision=28003
2004-05-24 20:29:04 +00:00
Duncan Mak 955c3bbef4 Fix embarrassing typo.
svn path=/trunk/mcs/; revision=28001
2004-05-24 20:27:58 +00:00
Sebastien Pouliot 03b1d4987c 2004-05-24 Sebastien Pouliot <[email protected]>
* StreamReader.cs: Add checks for null encoding. Fixed possible integer
	overflow and ArgumentNullException in Read.

svn path=/trunk/mcs/; revision=28000
2004-05-24 20:15:47 +00:00
Martin Baulig 5873b67054 2004-05-24 Martin Baulig <[email protected]>
* enum.cs (Enum.DefineType): For the `BaseType' to be a
	TypeLookupExpression; otherwise, report a CS1008.  Fixes #58571.

svn path=/trunk/mcs/; revision=27999
2004-05-24 20:15:03 +00:00
Sebastien Pouliot 15b3b0d548 2004-05-24 Sebastien Pouliot <[email protected]>
* StreamReaderTest.cs: New tests for integer overflow and null handling

svn path=/trunk/mcs/; revision=27998
2004-05-24 20:13:55 +00:00
Martin Baulig dda855e1bf New test.
svn path=/trunk/mcs/; revision=27997
2004-05-24 20:13:16 +00:00
Duncan Mak adac222648 * DirectoryInfo.cs:
* FileInfo.cs: Reformat the whole file to use DOS line endings.
(MoveTo): Return if the destination of Move is the same as the file's
current location.

svn path=/trunk/mcs/; revision=27996
2004-05-24 19:49:18 +00:00
Martin Baulig e0daa067de 2004-05-24 Martin Baulig <[email protected]>
* decl.cs (DeclSpace.FindType): Try doing an alias lookup before
	walking the `using' list.  Fixes #53921.

svn path=/trunk/mcs/; revision=27995
2004-05-24 19:41:33 +00:00
Martin Baulig 4582bae056 2004-05-24 Martin Baulig <[email protected]>
* test-260.cs: New test for #53921.

svn path=/trunk/mcs/; revision=27994
2004-05-24 19:37:17 +00:00
Sebastien Pouliot f9154436b5 2004-05-24 Sebastien Pouliot <[email protected]>
* StreamWriter.cs: Add dispose check to Write(char) and Write(char[]),
	AutoFlush. Fixed possible integer overflow in Write(char[],int,int).

svn path=/trunk/mcs/; revision=27993
2004-05-24 19:29:11 +00:00
Sebastien Pouliot 51111282bc 2004-05-24 Sebastien Pouliot <[email protected]>
* StreamWriterTest.cs: New tests for integer overflow, disposed
	exceptions and null handling.

svn path=/trunk/mcs/; revision=27992
2004-05-24 19:27:51 +00:00
Duncan Mak 6ecda639c2 Remove debug messages
svn path=/trunk/mcs/; revision=27991
2004-05-24 19:17:23 +00:00
Duncan Mak 263c2985a7 2004-05-22 Duncan Mak <[email protected]>
* Directory.cs: Reformat the whole file to use Unix line endings
	for consistency.
	(GetFileSystemEntries): If pattern is String.Empty, always
	return an empty string array. Throw the ArgumentException if path
	is an empty string (determined using the new helper method)
	(IsEmptyString): Returns true on an empty string or a string with
	only whitespace characters.

	* Path.cs (GetPathRoot): Throw an ArgumentException if the path
	argument is String.Empty.

svn path=/trunk/mcs/; revision=27990
2004-05-24 18:45:35 +00:00
Miguel de Icaza d29ce95d37 Inner release
svn path=/trunk/mono/; revision=27988
2004-05-24 18:28:03 +00:00
Peter Dennis Bartok a1c98f5519 - Added loading of common dialog dll
svn path=/trunk/mcs/; revision=27987
2004-05-24 18:24:38 +00:00
Sebastien Pouliot 2740d6eb84 2004-05-24 Sebastien Pouliot <[email protected]>
* StringWriter.cs: Fixed possible integer overflow in Write. Changed
	spaces for tabs.

svn path=/trunk/mcs/; revision=27986
2004-05-24 18:24:29 +00:00
Sebastien Pouliot 2785a192ff 2004-05-24 Sebastien Pouliot <[email protected]>
* StringWriterTest.cs: New tests for integer overflow and disposed
	exceptions.

svn path=/trunk/mcs/; revision=27985
2004-05-24 18:21:08 +00:00
César Natarén ed63219adf 2004-05-24 Cesar Lopez Nataren <[email protected]>
* With.cs: code generation support for 'with' stm.

svn path=/trunk/mcs/; revision=27983
2004-05-24 17:52:43 +00:00
Lluis Sanchez f69e1ada89 * image.c: In mono_image_open(), always use an absolute path name to
look for already loaded images.

svn path=/trunk/mono/; revision=27982
2004-05-24 16:40:10 +00:00
Patrik Torstensson 35d5369a85 2004-05-24 18:18 CET Patrik Torstenson <[email protected]>
* mini-x86.c (mono_arch_local_regalloc): the reg allocator
	now tries to allocate prefered physical reg's for virtual
	regs. This reduces the number of emited spills/loads with
	20-30% on our core assemblies.

svn path=/trunk/mono/; revision=27981
2004-05-24 16:38:32 +00:00
Martin Baulig 90224d7d1f 2004-05-24 Martin Baulig <[email protected]>
* test-259.cs: New test for #55251.

svn path=/trunk/mcs/; revision=27980
2004-05-24 16:35:10 +00:00
Martin Baulig e121c3ecfe 2004-05-24 Martin Baulig <[email protected]>
* const.cs (Const.LookupConstantValue): Added support for
	EmptyCast's; fixes #55251.

svn path=/trunk/mcs/; revision=27979
2004-05-24 16:34:42 +00:00
Martin Baulig 8b049ae604 2004-05-24 Martin Baulig <[email protected]>
* test-258.cs: New test for #58584.

svn path=/trunk/mcs/; revision=27978
2004-05-24 16:17:38 +00:00
Sebastien Pouliot 4494459053 2004-05-24 Sebastien Pouliot <[email protected]>
* MemoryStream.cs: Fixed exception reporting to match MS Fx. Fixed the
	condition to allow zeroization of existing data when we shrink the
	stream.

svn path=/trunk/mcs/; revision=27977
2004-05-24 15:39:39 +00:00
Paolo Molaro 7d16f3f65d Mon May 24 18:21:51 CEST 2004 Paolo Molaro <[email protected]>
* jit-icalls.c: truncl() is not needed and trunc() is
	the correct thing to do anyway (bug #58287).

svn path=/trunk/mono/; revision=27975
2004-05-24 15:38:19 +00:00
Sebastien Pouliot 81abb44b6e 2004-05-24 Sebastien Pouliot <[email protected]>
* MemoryStreamTest.cs: Test that we zeroize old data when we manipulate
	the length of the stream. Verify that we throw the same exceptions as
	MS fx.

svn path=/trunk/mcs/; revision=27974
2004-05-24 15:36:14 +00:00
Martin Baulig 442edc485f 2004-05-24 Martin Baulig <[email protected]>
* ecore.cs (SimpleName.SimpleNameResolve): Renamed to
	DoSimpleNameResolve() and provide a SimpleNameResolve() wrapper
	which does the CS0135 check.  The reason is that we first need to
	check whether the variable actually exists.

svn path=/trunk/mcs/; revision=27973
2004-05-24 15:34:49 +00:00
Martin Baulig 3384dc1f42 2004-05-24 Martin Baulig <[email protected]>
* class.cs (MemberBase.DoDefine): Use DeclSpace.FindType() rather
	than RootContext.LookupType() to find the explicit interface
	type.  Fixes #58584.

svn path=/trunk/mcs/; revision=27972
2004-05-24 15:09:12 +00:00
Anirban Bhattacharjee 0cdb99143c Few tests on property grammar
svn path=/trunk/mcs/; revision=27971
2004-05-24 14:48:13 +00:00
Anirban Bhattacharjee 5a784c61ef * class.cs: Check for ReadOnly and WriteOnly modifiers added to property
svn path=/trunk/mcs/; revision=27970
2004-05-24 14:41:36 +00:00
Anirban Bhattacharjee 49fbdb1a92 * mb-paresr.jay: Support for abstruct property is added
svn path=/trunk/mcs/; revision=27969
2004-05-24 14:37:20 +00:00
Sebastien Pouliot 18f3b62bdf 2004-05-24 Sebastien Pouliot <[email protected]>
* icall.c: Added define for CSIDL_FLAG_CREATE (0x8000) in case it is
	missing in the windows build (like older cygwin include files).

svn path=/trunk/mono/; revision=27968
2004-05-24 14:32:56 +00:00
Lluis Sanchez 8934a37601 * SoapClientMessage.cs: Get the MethodInfo from the corresponding
SoapMethodStubInfo.

svn path=/trunk/mcs/; revision=27967
2004-05-24 14:03:37 +00:00
Zoltan Varga 4f89b59e58 2004-05-24 Zoltan Varga <[email protected]>
* mini-sparc.c (mono_arch_flush_icache): Call sync_instruction_memory
	if available.

svn path=/trunk/mono/; revision=27965
2004-05-24 12:59:48 +00:00
Zoltan Varga f68dd1444b 2004-05-24 Zoltan Varga <[email protected]>
* AppDomainSetup.cs (InitAppDomainSetup): This one returns void.

svn path=/trunk/mcs/; revision=27964
2004-05-24 12:56:12 +00:00
Jackson Harper 852c973b78 * Driver.cs: Filter on GetFiles so we only get the xml locale
files.

svn path=/trunk/mono/; revision=27963
2004-05-24 12:52:23 +00:00
Lluis Sanchez 013f0130e1 * StringCollection.cs: Renamed internal variable to make serialization
compatible with MS.NET.

svn path=/trunk/mcs/; revision=27962
2004-05-24 11:33:48 +00:00
Lluis Sanchez 3a59ec0931 * Hashtable.cs: Renamed internal class to make serialization compatible
with MS.NET.

svn path=/trunk/mcs/; revision=27961
2004-05-24 11:20:08 +00:00
Gonzalo Paniagua Javier d782507b2b 2004-05-24 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: call DeterminePostBackMode only once per request. Patch by
	Evain Jb.

svn path=/trunk/mcs/; revision=27960
2004-05-24 11:14:46 +00:00
Paolo Molaro 3cad0c0665 Mon May 24 13:36:53 CEST 2004 Paolo Molaro <[email protected]>
* monograph.c: default assembly name is "mscorlib" now.

svn path=/trunk/mono/; revision=27959
2004-05-24 10:57:38 +00:00
Lluis Sanchez 1185f9fb56 * ContractReference.cs: convert relative import uris to absolute uris.
* DiscoveryClientProtocol.cs: Before resolving a reference, always
	  set the Url property.

svn path=/trunk/mcs/; revision=27958
2004-05-24 10:44:17 +00:00
Lluis Sanchez 7bcc59e7ff * ProtocolImporter.cs: issue a warning if no services have been found.
svn path=/trunk/mcs/; revision=27957
2004-05-24 10:42:05 +00:00
Atsushi Eno 814122aadc 2004-05-24 Atsushi Enomoto <[email protected]>
* XmlSchemaBuiltInDataypeTests.cs : 'Z' is not allowed here (maybe it
	  is 'T' that was wanted). More kind error message in Fail().

svn path=/trunk/mcs/; revision=27956
2004-05-24 10:40:09 +00:00
Lluis Sanchez b06d37cfb1 * MonoWSDL.cs: Get the name of the generated file from the first WSDL doc
that has a service. Don't print exception on error.

svn path=/trunk/mcs/; revision=27955
2004-05-24 10:39:05 +00:00
Raja R Harinath bb9e438c4d * Makefile: Simplify. Use executable.make.
* mcs.exe.sources: New file.  List of sources of mcs.exe.

svn path=/trunk/mcs/; revision=27954
2004-05-24 10:37:00 +00:00
Paolo Molaro 255f667098 Mon May 24 12:49:45 CEST 2004 Paolo Molaro <[email protected]>
* driver.c: enable loop optimizations by default.

svn path=/trunk/mono/; revision=27952
2004-05-24 10:10:28 +00:00
Raja R Harinath 785d0c9457 (EXTRA_FLAGS): Remove.
(LIBRARY_COMPILE) [!HAVE_SYSTEM_XML]: Use $(BOOT_COMPILE) for
non-Xml first build.
(all-local) [!SECOND_PASS]: Simplify.

svn path=/trunk/mcs/; revision=27950
2004-05-24 09:33:14 +00:00
Raja R Harinath b2566b1126 * library.make (LIBRARY_COMPILE): New define.
($(the_lib)): Use $(LIBRARY_COMPILE) to compile $(the_lib).

* executable.make (uninstall-local): Use PROGRAM_INSTALL_DIR.

svn path=/trunk/mcs/; revision=27949
2004-05-24 09:30:22 +00:00
Jordi Mas i Hernandez ec348dff63 remove unnecessary code, since bug 57706 is fixed
svn path=/trunk/mcs/; revision=27948
2004-05-24 09:29:54 +00:00
Raja R Harinath 35a5549966 (PROGRAM_INSTALL_DIR): Install mbas into
$(prefix)/lib/mono/1.0.

svn path=/trunk/mcs/; revision=27947
2004-05-24 08:45:19 +00:00
Raja R Harinath 55767df4e3 (PROGRAM_INSTALL_DIR): Allow makefile to specify
a different directory for installation.

svn path=/trunk/mcs/; revision=27946
2004-05-24 08:43:27 +00:00
Paolo Molaro 31685d7b00 Mon May 24 11:13:46 CEST 2004 Paolo Molaro <[email protected]>
* mini-x86.c: fix calc of max loop size when aligning loops start.

svn path=/trunk/mono/; revision=27945
2004-05-24 08:35:20 +00:00
Atsushi Eno 8aab01d991 2004-05-24 Atsushi Enomoto <[email protected]>
* NamedNodeMap.cs : Modified. "domestic or street" does not mean
	  the exact literal node name, but it means "either 'domestic' or
	  'street'". We always return fixed values.

svn path=/trunk/mcs/; revision=27944
2004-05-24 07:45:24 +00:00
Atsushi Eno 7ba146f2ca 2004-05-24 Atsushi Enomoto <[email protected]>
* Document.cs : am sure that element nodes are up to 36, not 37
	  (maybe counting the element that is in unused entity value?).

svn path=/trunk/mcs/; revision=27943
2004-05-24 07:44:24 +00:00
Atsushi Eno 92f5d743a2 2004-05-24 Atsushi Enomoto <[email protected]>
* XmlNodeTests.cs : added Normalize2().

svn path=/trunk/mcs/; revision=27942
2004-05-24 07:40:48 +00:00
Atsushi Eno 12c0df7558 2004-05-24 Atsushi Enomoto <[email protected]>
* DTDReader.cs : When sequential PE references exist, the reader only
	  expands the first one and in some cases the parser complaints the
	  content (such like expecting name character but found '%').
	  This fixes bug #58818.

svn path=/trunk/mcs/; revision=27941
2004-05-24 07:39:49 +00:00
Sebastien Pouliot 5ca3e2ca6c 2004-05-23 Sebastien Pouliot <[email protected]>
* icall.c: Fixed check for possible integer overflow in Buffer_
	BlockCopy icall. Replaced comments style // by /* */.

svn path=/trunk/mono/; revision=27939
2004-05-23 23:08:32 +00:00
Sebastien Pouliot e860b270f2 2004-05-23 Sebastien Pouliot <[email protected]>
* Buffer.cs: Fixed integer overflow in BlockCopy.

svn path=/trunk/mcs/; revision=27938
2004-05-23 23:03:16 +00:00
Miguel de Icaza 06a4450424 2004-05-24 Anders Carlsson <[email protected]>
* decl.cs:
	* enum.cs:
	Use the invariant culture when doing String.Compare for CLS case
	sensitivity.

svn path=/trunk/mcs/; revision=27937
2004-05-23 22:48:34 +00:00
Sebastien Pouliot fe01f60076 2004-05-23 Sebastien Pouliot <[email protected]>
* BufferTest.cs: Added new tests for integer overflow in BlockCopy.

svn path=/trunk/mcs/; revision=27936
2004-05-23 22:47:11 +00:00
Ben Maurer e979589adb 2004-05-23 Ben Maurer <[email protected]>
* MonoSymbolWriter.cs (AddLocal), etc: kill more arraylists.

svn path=/trunk/mcs/; revision=27935
2004-05-23 20:05:04 +00:00
Jackson Harper 23a351c5ca * MethodDef.cs: Cache vararg signatures so a new memberref is not
created for each vararg pattern.

svn path=/trunk/mcs/; revision=27934
2004-05-23 19:55:40 +00:00
Ben Maurer a530616ba2 2004-05-23 Ben Maurer <[email protected]>
* MonoSymbolTable.cs (BuildLineNumberTable): Avoid arraylist.

svn path=/trunk/mcs/; revision=27933
2004-05-23 19:39:26 +00:00
Martin Baulig 46972b8ca1 New test.
svn path=/trunk/mcs/; revision=27932
2004-05-23 19:10:51 +00:00
Martin Baulig adb9d81270 2004-05-23 Martin Baulig <[email protected]>
* decl.cs (DeclSpace.FindType): Only check the `using' list if we
	don't have any dots.  Fixes #52622, added cs0246-8.cs.

	* namespace.cs (NamespaceEntry.Lookup): Likewise.

svn path=/trunk/mcs/; revision=27931
2004-05-23 19:09:48 +00:00
Sebastien Pouliot e4283bb1bd 2004-05-23 Sebastien Pouliot <[email protected]>
* Array.cs: Fixed exception when we try to Clear outside bounds.

svn path=/trunk/mcs/; revision=27930
2004-05-23 19:05:32 +00:00
Sebastien Pouliot 5bd99cfb02 2004-05-23 Sebastien Pouliot <[email protected]>
* ArrayTest.cs: Oops wrong exception (commited Mono not MS results).

svn path=/trunk/mcs/; revision=27929
2004-05-23 19:02:29 +00:00
Francisco Figueiredo Jr. f045eece2d 2004-05-23 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlConnection.cs: Fixed bug which prevented Npgsql to
connect to cvs built servers which had devel in its version string.

svn path=/trunk/mcs/; revision=27928
2004-05-23 19:01:14 +00:00
Sebastien Pouliot de75a9a1a4 2004-05-23 Sebastien Pouliot <[email protected]>
* ArrayTest.cs: Added a new test to clear outside the bound of a
	multidimentional array.

svn path=/trunk/mcs/; revision=27927
2004-05-23 18:57:16 +00:00
Sebastien Pouliot e9bea44135 2004-05-23 Sebastien Pouliot <[email protected]>
* Boolean.cs: Fixed Equals for True!=True (see bugzilla #58874).
	* BitConverter.cs: Fixed negative index and integer overflow in
	To... methods.

svn path=/trunk/mcs/; revision=27926
2004-05-23 18:54:17 +00:00
Sebastien Pouliot d0bd0daf44 2004-05-23 Sebastien Pouliot <[email protected]>
* BooleanTest.cs: Added new test to compare booleans using Equals
	and == (case of True!=True). Converted to NUnit2 format.

svn path=/trunk/mcs/; revision=27925
2004-05-23 18:50:05 +00:00
Martin Baulig 735f9f7feb 2004-05-23 Martin Baulig <[email protected]>
* ecore.cs (SimpleName.SimpleNameResolve): Only report a CS0135 if
	the variable also exists in the current block (otherwise, we need
	to report a CS0103).  Fixes #58670.

svn path=/trunk/mcs/; revision=27924
2004-05-23 18:30:36 +00:00
Marek Safar ccba624489 2004-05-23 Marek Safar <[email protected]>
* class.cs (MemberBase.Define): Reuse MemberType member for
	resolved type. Other methods can use it too.

svn path=/trunk/mcs/; revision=27923
2004-05-23 18:20:09 +00:00
Martin Baulig cc43a724b5 2004-05-23 Martin Baulig <[email protected]>
* test-154.cs: Added testcase for #58322.

svn path=/trunk/mcs/; revision=27922
2004-05-23 17:56:56 +00:00
Martin Baulig 518606c46f 2004-05-23 Martin Baulig <[email protected]>
* flowanalysis.cs (Reachability.Reachable): Compute this
	on-the-fly rather than storing it as a field.

svn path=/trunk/mcs/; revision=27921
2004-05-23 17:55:51 +00:00
Martin Baulig a74d3ab0a4 2004-05-23 Martin Baulig <[email protected]>
* flowanalysis.cs (Reachability.And): Manually compute the
	resulting `barrier' from the reachability.

svn path=/trunk/mcs/; revision=27920
2004-05-23 17:46:31 +00:00
Zoltan Varga 398b275d50 2004-05-23 Zoltan Varga <[email protected]>
* ssa.c (mono_ssa_cprop): Allocate carray dynamically instead of on
	the stack.

svn path=/trunk/mono/; revision=27919
2004-05-23 17:33:50 +00:00
Marek Safar 2b213cf3b7 2004-05-23 Marek Safar <[email protected]>
Fix bug #57835
	* attribute.cs (AttributeTester.GetMethodObsoleteAttribute): Returns
	instance of ObsoleteAttribute when symbol is obsolete.

	* class.cs
	(IMethodData): Extended interface for ObsoleteAttribute support.

svn path=/trunk/mcs/; revision=27917
2004-05-23 15:43:06 +00:00
Sebastien Pouliot 474f053e96 2004-05-23 Sebastien Pouliot <[email protected]>
* BitConverterTest.cs: Modified ToBoolean test to prove that True!=True.

svn path=/trunk/mcs/; revision=27915
2004-05-23 15:38:04 +00:00
Sebastien Pouliot 0c596dda01 2004-05-23 Sebastien Pouliot <[email protected]>
* BitConverterTest.cs: Added new tests for negative integers and
	integer overflow in To... methods. Added new boolean convertion
	tests.

svn path=/trunk/mcs/; revision=27912
2004-05-23 15:09:15 +00:00
Zoltan Varga 00184ee838 2004-05-23 Zoltan Varga <[email protected]>
* Makefile.am (DISABLED_TESTS): Reenable remoting2 and remoting3.

svn path=/trunk/mono/; revision=27910
2004-05-23 13:45:41 +00:00
Atsushi Eno 825cdda66f 2004-05-23 Atsushi Enomoto <[email protected]>
* XmlNode.cs : RemoveChild() should check null argument.
	  Normalize() was broken in some cases.

svn path=/trunk/mcs/; revision=27909
2004-05-23 12:10:52 +00:00
Patrik Torstensson 44f764f69b 2004-04-23 Patrik Torstensson
* RealProxy.cs: Moved async functionlity here, also take
	care of custom proxies (non RemotingProxy) case for async and
	construction calls.

	* RemotingProxy.cs: allow RealProxy to call construction method and
	remove end async control (moved to RealProxy)

	Fixes remoting2/3 test case (mono/mono/tests) and closes bug #57672.

svn path=/trunk/mcs/; revision=27908
2004-05-22 22:58:16 +00:00
Duncan Mak cd424ecf02 Reformat the whole file to use Unix line endings for consistency.
svn path=/trunk/mcs/; revision=27907
2004-05-22 21:42:10 +00:00
Sebastien Pouliot aa6e918d96 2004-05-22 Sebastien Pouliot <[email protected]>
* Array.cs: Clear can now work on multidimentional arrays.

svn path=/trunk/mcs/; revision=27906
2004-05-22 21:24:51 +00:00
Jackson Harper c0723ff1e2 * InstrTable.cs: ldc.i4.M1 is aliased to ldc.i4.m1. Fixes bug
#58524.

svn path=/trunk/mcs/; revision=27905
2004-05-22 20:08:09 +00:00
Jackson Harper c57f193477 * ILParser.jay: [,] is short form for [...,...] this fixes bug
number 58569.

svn path=/trunk/mcs/; revision=27904
2004-05-22 20:02:26 +00:00
Jackson Harper 401f6b4c60 * ILParser.jay: Handle wchar, it is just an alias for char.
svn path=/trunk/mcs/; revision=27903
2004-05-22 19:40:32 +00:00
Atsushi Eno 3192ef204e 2004-05-22 Atsushi Enomoto <[email protected]>
* SqlClientPermission.cs : don't use chained obsolete .ctor.

svn path=/trunk/mcs/; revision=27902
2004-05-22 19:39:00 +00:00
Atsushi Eno 4a8aca0670 2004-05-22 Atsushi Enomoto <[email protected]>
* ConformanceLevel.cs : added.

svn path=/trunk/mcs/; revision=27900
2004-05-22 19:11:34 +00:00
Jackson Harper 1459a8a225 * GlobalMethodRef.cs: Check for sentinel properly.
svn path=/trunk/mcs/; revision=27899
2004-05-22 19:01:46 +00:00
Todd Berman 791185b384 2004-05-22 Todd Berman <[email protected]>
* corlib.dll.sources: added Mono/Runtime.cs
        * Mono: added Mono directory back
        * Mono/Runtime.cs: add back Runtime.cs, marked as internal, gnome#
        needs it.

svn path=/trunk/mcs/; revision=27897
2004-05-22 18:01:11 +00:00
Atsushi Eno 68bc8cf585 2004-05-22 Atsushi Enomoto <[email protected]>
* XmlSchemaDatatypeVariety.cs,
	  XmlSchemaValidity.cs : they are NET_2_0 enums.

svn path=/trunk/mcs/; revision=27896
2004-05-22 17:54:59 +00:00
Zoltan Varga d151274ac0 2004-05-22 Zoltan Varga <[email protected]>
* marshal.c (mono_ftnptr_to_delegate): Fix warning.

svn path=/trunk/mono/; revision=27895
2004-05-22 17:50:37 +00:00
Atsushi Eno 19a8d9c09f 2004-05-22 Atsushi Enomoto <[email protected]>
* XmlNodeChangedEventArgs.cs : the last patch looks true
	  ONLY AFTER .NET 2.0.

svn path=/trunk/mcs/; revision=27894
2004-05-22 17:47:26 +00:00
Zoltan Varga d63bf6de65 2004-05-22 Zoltan Varga <[email protected]>
* marshal.c (mono_marshal_get_proxy_cancast): Move thread interrupt
	check after MONO_VTADDR. Fixes pinvoke2.exe.

svn path=/trunk/mono/; revision=27893
2004-05-22 17:47:19 +00:00
César Natarén 6c51b362ca 2004-05-22 Cesar Lopez Nataren <[email protected]>
* FieldInfo.cs: changed default constructor from internal to protected, so classes
	that inherit from it can get build.

svn path=/trunk/mcs/; revision=27892
2004-05-22 17:43:52 +00:00
Atsushi Eno 521405a974 2004-05-22 Atsushi Enomoto <[email protected]>
* System.Data.SqlXml.dll.sources : updated .net 2.0 classes.

svn path=/trunk/mcs/; revision=27891
2004-05-22 17:23:31 +00:00
Atsushi Eno 79e1bf271d 2004-05-22 Atsushi Enomoto <[email protected]>
* Added ChangeLog.
	* XQueryProcessor.cs,
	  XmlViewSchema.cs,
	  XmlViewSchemaDictionary.cs : removed old classes.
	* XQueryCommand.cs,
	  XmlMapping.cs,
	  XmlMappingDictionary.cs : added new clases.

svn path=/trunk/mcs/; revision=27890
2004-05-22 17:22:27 +00:00
Atsushi Eno 744ed5b65f 2004-05-22 Atsushi Enomoto <[email protected]>
* XmlValueConverter.cs : missed NET_2_0.

svn path=/trunk/mcs/; revision=27889
2004-05-22 17:13:47 +00:00
Atsushi Eno 8c53a3828d 2004-05-22 Atsushi Enomoto <[email protected]>
* XPathAtomicValue.cs : missed NET_2_0.

svn path=/trunk/mcs/; revision=27888
2004-05-22 17:13:00 +00:00
Atsushi Eno 78175a2bdb 2004-05-22 Atsushi Enomoto <[email protected]>
* XmlReaderSettings.cs, XmlWriterSettings.cs : NET_2_0 were missed.

svn path=/trunk/mcs/; revision=27887
2004-05-22 17:12:03 +00:00
Zoltan Varga a0abffd305 2004-05-22 Zoltan Varga <[email protected]>
* mini-sparc.c (mono_arch_output_basic_block): ADD_IMM and SUB_IMM
	should set carry.

	* basic-long.cs: Add tests for add/subtract of immediates with carry.

svn path=/trunk/mono/; revision=27886
2004-05-22 17:04:16 +00:00
Atsushi Eno 38d8ae1ab7 2004-05-22 Atsushi Enomoto <[email protected]>
* System.Xml.dll.sources : added/removed all NET_2_0 classes.

svn path=/trunk/mcs/; revision=27885
2004-05-22 16:59:50 +00:00
Atsushi Eno edcb7df121 2004-05-22 Atsushi Enomoto <[email protected]>
* IXPathChangeNavigable.cs,
	  IXPathEditable.cs,
	  NodeChangedEventArgs.cs,
	  NodeChangedEventHandler.cs,
	  XPathAtomicValue.cs,
	  XPathChangeNavigator.cs,
	  XPathDocumentNodeChangedAction.cs,
	  XPathEditableNavigator.cs,
	  XPathItem.cs,
	  XmlChangeFilters.cs,
	  XmlNodeChangeType.cs : added NET_2_0 classes.
	* XPathDocument.cs,
	  XPathNavigator.cs : updated NET_2_0 members.

svn path=/trunk/mcs/; revision=27884
2004-05-22 16:59:30 +00:00
Atsushi Eno 01f2cf3765 2004-05-22 Atsushi Enomoto <[email protected]>
* IXmlSchemaInfo.cs,
	  IXmlType.cs,
	  XmlSchemaDatatypeVariety.cs,
	  XmlSchemaValidity.cs,
	  XmlTypeCode.cs,
	  XmlValueConverter.cs : added.

	* XmlSchemaInfo.cs : removed (.NET 1.2).

	* XmlSchemaBuiltInType.cs,
	  XmlSchemaSet.cs : updated.

svn path=/trunk/mcs/; revision=27883
2004-05-22 16:57:46 +00:00
Atsushi Eno 06fd5a823c 2004-05-22 Atsushi Enomoto <[email protected]>
* IXmlCompilerInclude.cs,
	  QueryEventArgs.cs,
	  QuertEventHandler.cs,
	  XmlArgumentList.cs,
	  XsltCommand.cs : added.

	* XmlQueryArgumentList.cs,
	  XsltProcessor.cs : removed (only in .NET 1.2).

	* XmlCommand.cs,
	  XmlQueryCompileException.cs,
	  XmlQueryException.cs : updated API to that of .NET 2.0.

svn path=/trunk/mcs/; revision=27882
2004-05-22 16:56:21 +00:00
Atsushi Eno ab2afd4c7d 2004-05-22 Atsushi Enomoto <[email protected]>
* XmlFactory.cs,
	  XmlItemView.cs,
	  XmlItemViewCollection.cs,
	  XmlReaderSettings.cs,
	  XmlWriterSettings.cs : added new .NET 2.0 classes.

	* AsyncXmlTextWriter.cs,
	  IXPathChangeNavigator.cs,
	  IXPathEditor.cs,
	  IXPathNavigator.cs,
	  XmlChangeFilters.cs,
	  XmlInfoItemType.cs,
	  XmlNodeChangeType.cs,
	  XPathChangeNavigator.cs,
	  XPathDocument2.cs,
	  XPathDocument2ChangedEventAction.cs,
	  XPathDocument2ChangedEventHandler.cs,
	  XPathEditor.cs,
	  XPathNavigator2.cs : removed. (They are only in .NET 1.2)

	* XmlWriter.cs : added new NET_2_0 WriteElementString().

svn path=/trunk/mcs/; revision=27881
2004-05-22 16:54:34 +00:00
Zoltan Varga 64d99d48cc 2004-05-22 Zoltan Varga <[email protected]>
* mini.c exceptions-x86.c: Remove MONO_USE_EXC_TABLES stuff.

svn path=/trunk/mono/; revision=27880
2004-05-22 16:50:22 +00:00
Francisco Figueiredo Jr. eccb3e4616 2004-05-22 Francisco Figueiredo Jr. <[email protected]>
Npgsql.xml: Removed file.

svn path=/trunk/mcs/; revision=27879
2004-05-22 16:47:05 +00:00
Zoltan Varga 94079432ed 2004-05-22 Zoltan Varga <[email protected]>
* Makefile.am (PLATFORM_DISABLED_TESTS): Reenable thread abort test.

svn path=/trunk/mono/; revision=27878
2004-05-22 16:45:44 +00:00
Francisco Figueiredo Jr. 4967a86190 2004-05-22 Francisco Figueiredo Jr. <[email protected]>
Npgsql/NpgsqlCommand.cs,
	Npgsql/NpgsqlConnection.cs,
	Npgsql/NpgsqlDataReader.cs,
	Npgsql/NpgsqlException.cs,
	Npgsql/NpgsqlTransaction.cs,
	Npgsql/Design/ConnectionStringEditor.cs,
	Npgsql/Design/ConnectionStringEditorForm.cs,
	Npgsql/Design/NpgsqlParameterConverter.cs,
	Npgsql/Design/NpgsqlParametersEditor.cs,
	NpgsqlTypes/NpgsqlTypesHelper.cs: Commit log by
	Glen Parker ([email protected]): Bug #772 ("Using
	Command and Prepare adds single quotes to strings twice")
	is fixed  :-)   It was broken when running on the version 3
	protocol (extended query support) on PostgreSQL 7.4.
	Some of the files in Design were formatted with macintosh line
	terminators. This was screwing up the xmldoc generator in csc,
	so I reformatted to make it work.
	I've added some essential xmldoc comments (<summary> tags).  Much work
remains here, but I wanted to get a few in on common functions and
properties.

	The .build file will now generate the Npgsql.xml file, next to the .dll
file.  I removed the existing Npgsql.xml from CVS.

	Thanks Glen Parker for this patch.

svn path=/trunk/mcs/; revision=27877
2004-05-22 16:44:57 +00:00
Francisco Figueiredo Jr. 7d2226c132 2004-05-20 Francisco Figueiredo Jr. <[email protected]>
NpgsqlAsciiRow.cs,
        NpgsqlBackEndKeyData.cs,
        NpgsqlBinaryRow.cs,
        NpgsqlCommand.cs,
        NpgsqlConnectedState.cs,
        NpgsqlConnection.cs,
        NpgsqlConnection.resx,
        NpgsqlConnector.cs,
        NpgsqlConnectorPool.cs,
        NpgsqlError.cs,
        NpgsqlMediator.cs,
        NpgsqlMessageTypes.cs,
        NpgsqlPasswordPacket.cs,
        NpgsqlQuery.cs,
        NpgsqlRowDescription.cs,
        NpgsqlStartupPacket.cs,
        NpgsqlState.cs,
        PGUtil.cs,
        NpgsqlTypes/NpgsqlTypesHelper.cs : - store protocol version as an enum, keep numbers as protocol specific
        - split more protocol handlers between version 2 and version 3
        - split MessageTypes class on ver2/ver3 and add remaining types for ver3        - removed handlers for deprecated protocol message types
        - store BackendKeyData in its own member on Mediator
        - Store ParameterStatus objects in a key map on Mediator
        - Get backend version now from the Mediator if possible
        - Rewrite parsers for server version and connection string
        - Store server version numericially (in a new class ServerVersion)
        - As usual, lots of code cleanup/commenting/etc.

        Thanks very much Glen Parker ([email protected]) for this patch.

svn path=/trunk/mcs/; revision=27876
2004-05-22 16:36:46 +00:00
Marek Safar aaf30086d7 2004-05-22 Marek Safar <[email protected]>
* attribute.cs: Fix bug #55970

svn path=/trunk/mcs/; revision=27875
2004-05-22 16:28:29 +00:00
Zoltan Varga 8a68ae48b4 2004-05-22 Zoltan Varga <[email protected]>
* mini.c (inline_method): Allways inline some wrappers even if the cost
	is too large. Fixes #58785.

	* mini.c: Add support for MARSHAL_CONV_FTN_DEL.

svn path=/trunk/mono/; revision=27874
2004-05-22 16:17:35 +00:00
Zoltan Varga 5e0b82b772 2004-05-22 Zoltan Varga <[email protected]>
* marshal.h marshal.c metadata.h: Add beginnings of support for
	ftnptr -> delegate marshalling.

svn path=/trunk/mono/; revision=27873
2004-05-22 16:16:03 +00:00
Marek Safar fcddd26bcd 2004-05-22 Marek Safar <[email protected]>
Fix bug #52705
	* attribute.cs
	(GetObsoleteAttribute): New method. Creates the instance of
	ObsoleteAttribute.
	(AttributeTester.GetMemberObsoleteAttribute): Returns instance of
	ObsoleteAttribute when method is obsolete.
	(AttributeTester.Report_ObsoleteMessage): Common method for
	Obsolete error/warning reporting.

	* class.cs
	(TypeContainer.base_classs_type): New member for storing parent type.

	* decl.cs
	(MemberCore.GetObsoleteAttribute): Returns instance of ObsoleteAttribute
	for this MemberCore.

svn path=/trunk/mcs/; revision=27872
2004-05-22 15:36:43 +00:00
Atsushi Eno d7c2e3753a 2004-05-22 Atsushi Enomoto <[email protected]>
* XmlNodeChangedEventArgs.cs : not properly inherited from EventArgs.

svn path=/trunk/mcs/; revision=27870
2004-05-22 15:16:02 +00:00
Sebastien Pouliot cd21cc027f 2004-05-22 Sebastien Pouliot <[email protected]>
* ArrayTest.cs: Added a new test to clear a multidimentional array.

svn path=/trunk/mcs/; revision=27869
2004-05-22 14:59:07 +00:00
Sebastien Pouliot 850dd9a2f3 2004-05-22 Sebastien Pouliot <[email protected]>
* ArrayTest.cs: Added a new test to clear a jagged array.

svn path=/trunk/mcs/; revision=27868
2004-05-22 14:50:18 +00:00
Jordi Mas i Hernandez 68751ce1c2 ImageAttributes sample
svn path=/trunk/mcs/; revision=27866
2004-05-22 14:31:53 +00:00
Sebastien Pouliot 73901e647f 2004-05-22 Sebastien Pouliot <[email protected]>
* UIntPtr.cs: We now only accept 32bits unsigned values in the ulong
	constructor unless we're on a 64 bits machine.

svn path=/trunk/mcs/; revision=27865
2004-05-22 14:04:59 +00:00
Sebastien Pouliot 28fb1381e1 2004-05-22 Sebastien Pouliot <[email protected]>
* corlib_test.dll.sources: Added UIntPtrTest to the build.

svn path=/trunk/mcs/; revision=27864
2004-05-22 14:02:47 +00:00
Sebastien Pouliot fc82ab0f27 2004-05-22 Sebastien Pouliot <[email protected]>
* UIntPtrTest.cs: New. Tests for 32/64 bits behaviour of UIntPtr.

svn path=/trunk/mcs/; revision=27863
2004-05-22 14:01:38 +00:00
Sebastien Pouliot 76bc25fee3 2004-05-22 Sebastien Pouliot <[email protected]>
* IntPtr.cs: We now only accept 32bits values in the long constructor
	unless we're on a 64 bits machine.

svn path=/trunk/mcs/; revision=27862
2004-05-22 13:47:13 +00:00
Sebastien Pouliot bb95a9b54e 2004-05-22 Sebastien Pouliot <[email protected]>
* corlib_test.dll.sources: Added IntPtrTest to the build.

svn path=/trunk/mcs/; revision=27861
2004-05-22 13:38:44 +00:00
Sebastien Pouliot 35a2c0856c 2004-05-22 Sebastien Pouliot <[email protected]>
* IntPtrTest.cs: New. Tests for 32/64 bits behaviour of IntPtr.
	* SingleTest.cs: Added tests to compare positive 0 and negative 0.

svn path=/trunk/mcs/; revision=27860
2004-05-22 13:34:07 +00:00
Duncan Mak 6f57519677 The file was mostly in DOS endings already, for the sake of
consistency, converted it all to DOS endings.
(ToType): When value is null, immediately return null and don't ever
throw a NullReferenceException. When conversionType is null, throw an
InvalidCastException. Give a better error message when attempting to
convert to a DBNull as well.

svn path=/trunk/mcs/; revision=27856
2004-05-22 08:09:39 +00:00
Miguel de Icaza 7665cb70ff 2004-05-10 Joerg Rosenkranz <[email protected]>
* System.Data.OracleClient.Oci/OciCalls.cs:
		Added OCI calls OCICharSetToUnicode and OCIUnicodeToCharSet.
 	* System.Data.OracleClient.Oci/OciStatementHandle.cs:
 		Changed statement encoding from UTF8 to OCIUnicodeToCharSet.
 	* System.Data.OracleClient.Oci/OciDefineHandle.cs:
 		Changed string encoding from UTF8 to OCICharSetToUnicode.

svn path=/trunk/mcs/; revision=27855
2004-05-21 22:21:59 +00:00
Bernie Solomon f301225fa7 2004-05-21 Bernie Solomon <[email protected]>
* transform.c: ignore new LMF opcodes

svn path=/trunk/mono/; revision=27854
2004-05-21 21:18:39 +00:00
Jackson Harper 56ca124233 * driver.cs: More fiddling with paths.
svn path=/trunk/mcs/; revision=27853
2004-05-21 20:22:20 +00:00
Neale Ferguson 0620438d6e Remove debugging printfs
svn path=/trunk/mono/; revision=27852
2004-05-21 20:13:49 +00:00
Dick Porter 7d99c5cd37 File share mode notes
svn path=/trunk/mono/; revision=27851
2004-05-21 19:55:14 +00:00
Dick Porter dc53da821c 2004-05-21 Dick Porter <[email protected]>
* io.c (CreateFile): Check for existing share modes when opening
	a file.

	* handles.c:
	* handles-private.h:
	* daemon-messages.h:
	* daemon.c: Maintain a hash of file share modes, keying on device
	and inode (to cope with symlinks.)

svn path=/trunk/mono/; revision=27850
2004-05-21 19:46:43 +00:00
Atsushi Eno 87a6a67327 2004-05-21 Atsushi Enomoto <[email protected]>
* Manager.cs : It should not allow invalid encoding name such as
	  euc_jp and shift-jis.

svn path=/trunk/mcs/; revision=27849
2004-05-21 19:34:42 +00:00
Jackson Harper 2d1255fee8 oops
svn path=/trunk/mcs/; revision=27848
2004-05-21 19:05:43 +00:00
Sebastien Pouliot 020838c2c7 2004-05-21 Sebastien Pouliot <[email protected]>
* Decimal.cs: I say truncate but used floor :(

svn path=/trunk/mcs/; revision=27847
2004-05-21 19:04:42 +00:00
Sebastien Pouliot 66bcd1b91d 2004-05-21 Sebastien Pouliot <[email protected]>
* DecimalTest.cs: Added tests for negative values and large number
	parsing (> Int64).

svn path=/trunk/mcs/; revision=27846
2004-05-21 19:01:11 +00:00
Atsushi Eno 21b31d8da5 2004-05-21 Atsushi Enomoto <[email protected]>
* tools/uni2tab.c : non JIS X 0208 characters could not be decoded.
	  (It is hack!)
	* CJK/jis.table : updated using the latest uni2tab.c

svn path=/trunk/mcs/; revision=27845
2004-05-21 18:59:34 +00:00
Jackson Harper 24cdfee082 * driver.cs: Allow the root and gacdir to both be specified. In
this case they are combined.

svn path=/trunk/mcs/; revision=27844
2004-05-21 18:33:07 +00:00
Neale Ferguson dc8be3c947 Further JIT fixes for S390
svn path=/trunk/mono/; revision=27843
2004-05-21 18:32:16 +00:00
Marek Safar 534934f475 2004-05-21 Marek Safar <[email protected]>
* attribute.cs, const.cs: Fix bug #58590

svn path=/trunk/mcs/; revision=27842
2004-05-21 18:25:21 +00:00
Zoltan Varga 1abb878d0b 2004-05-21 Zoltan Varga <[email protected]>
* threads.c: Fix warnings.

svn path=/trunk/mono/; revision=27841
2004-05-21 18:16:06 +00:00
Zoltan Varga c8c185d620 2004-05-21 Zoltan Varga <[email protected]>
* threads.c (ves_icall_System_Threading_Thread_ResetAbort): Fix compilation on gcc-2.95.

svn path=/trunk/mono/; revision=27840
2004-05-21 18:14:35 +00:00
Zoltan Varga 2e29b7b105 2004-05-21 Zoltan Varga <[email protected]>
* mini-sparc.c exceptions-sparc.c: Applied patch from Mark Crichton
	([email protected]). Beginning of support for sparc/linux.

	* mini-sparc.c: Optimize retrieval of LMF address.

svn path=/trunk/mono/; revision=27839
2004-05-21 17:22:56 +00:00
Jackson Harper c986b021fb * driver.cs: Do not allow gacdir and root to be specified at the
same time. Cleanup help. Add help for options.

svn path=/trunk/mcs/; revision=27838
2004-05-21 17:10:29 +00:00
Patrik Torstensson ef50c1b2e1 2004-05-21 Patrik Torstensson <[email protected]>
* TcpListener.cs: Fixes a lot of the problems with remoting nunit tests.

	(AcceptTcpClient): Don't create TcpClient before a
	connection is accepted.

	(LocalEndPoint): Use Server LocalEndPoint if connected
	otherwise use endpoint from ctor.

	(Init): Save end point, not server endpoint. This did
	cause TcpListener to ignore port sent via constructor.

	(Pending): Fixed wait time (method should return directly)

	(Start): Moved Bind here instead of Init method; old method
	caused us to bind ports even if the listener was stopped.

	(Stop): Null server when stopping

svn path=/trunk/mcs/; revision=27837
2004-05-21 17:05:32 +00:00
César Natarén f773ee528a 2004-05-21 Cesar Lopez Nataren <[email protected]>
* Statement.cs: initial code generation of 'for'.

svn path=/trunk/mcs/; revision=27835
2004-05-21 16:27:55 +00:00
César Natarén 7e9b258ea5 updates from grammar changes for building for_stm ast
svn path=/trunk/mcs/; revision=27834
2004-05-21 16:14:29 +00:00
César Natarén 83c65824c1 *** empty log message ***
svn path=/trunk/mcs/; revision=27833
2004-05-21 16:11:41 +00:00
Martin Baulig eca5827d0f 2004-05-21 Martin Baulig <[email protected]>
* test-257.cs: New test for #28098.

svn path=/trunk/mcs/; revision=27832
2004-05-21 16:03:12 +00:00
Martin Baulig 16dc91b8c3 2004-05-21 Martin Baulig <[email protected]>
* flowanalysis.cs (FlowBranching.MergeTopBlock): Don't check for
	out parameters if the end of the method is unreachable.  Fixes
	#58098.

svn path=/trunk/mcs/; revision=27831
2004-05-21 15:53:20 +00:00
Jackson Harper f7b798ebd6 * driver.cs: Add uninstall-specific option. This takes an assembly
file and uninstalls a matching named one from the GAC. Fix search
	string shenanigans when uninstalling.

svn path=/trunk/mcs/; revision=27830
2004-05-21 15:35:40 +00:00
Atsushi Eno a1ad65b95b 2004-05-21 Atsushi Enomoto <[email protected]>
* DataColumnCollection.cs : NullReferenceException was thrown when
	  the table was not found.
	* DataRowCollection.cs :
	  Find() just returns null for null value under MS.NET 1.1.
	  RemoveAt() should also avoid to call AcceptChanges() like Remove().
	* UniqueConstraint.cs : in AssertConstraint() throw ConstraintException
	  directly under MS.NET (for nunit test).

svn path=/trunk/mcs/; revision=27829
2004-05-21 15:29:30 +00:00
Sebastien Pouliot 5d408e4f96 2004-05-21 Sebastien Pouliot <[email protected]>
* Decimal.cs: Fixed To... methods that needs to trunk the integer part
	of Decimal (and not use the banker's rounding like Convert.To...).

svn path=/trunk/mcs/; revision=27828
2004-05-21 15:10:07 +00:00
Sebastien Pouliot 5d7daac707 2004-05-21 Sebastien Pouliot <[email protected]>
* DecimalTest.cs: But IConvertible does share Convert.To behaviour.

svn path=/trunk/mcs/; revision=27827
2004-05-21 15:08:02 +00:00
Sebastien Pouliot a735f6ebfb 2004-05-21 Sebastien Pouliot <[email protected]>
* DecimalTest.cs: Added new unit test to check for correct rounding.
	It appears that Decimal.To... trunk but Convert.To... use banking
	rounding (so we can't use Convert.To... to implement To...).

svn path=/trunk/mcs/; revision=27825
2004-05-21 14:32:36 +00:00
Gonzalo Paniagua Javier f957442c6c removed comment
svn path=/trunk/mono/; revision=27824
2004-05-21 14:01:15 +00:00
Marek Safar 63bb196907 2004-05-21 Marek Safar <[email protected]>
* test-256.cs: New test for #58590.

svn path=/trunk/mcs/; revision=27823
2004-05-21 13:57:16 +00:00
Miguel de Icaza b962e0d7ef Like this
svn path=/trunk/mono/; revision=27822
2004-05-21 13:48:10 +00:00
Paolo Molaro 1b0fe627cd More encoding fixes.
svn path=/trunk/mono/; revision=27820
2004-05-21 13:04:55 +00:00
Gonzalo Paniagua Javier 423cbb8537 2004-05-21 Gonzalo Paniagua Javier <[email protected]>
* Makefile.am:
	* monowiz.win32.nsi: improved windows installer script.

svn path=/trunk/mono/; revision=27818
2004-05-21 13:00:03 +00:00
Gonzalo Paniagua Javier b7e5206d16 added comment to m_value field
svn path=/trunk/mcs/; revision=27817
2004-05-21 12:42:29 +00:00
Urs C. Muff e18f32c0fd Line ending fix
svn path=/trunk/mono/; revision=27816
2004-05-21 12:24:55 +00:00
Marek Safar 2a5ae6f05f 2004-05-21 Marek Safar <[email protected]>
* codegen.cs, cs-parser.jay: Removed SetAttributes method.
	Hari was right, why extra method.

svn path=/trunk/mcs/; revision=27815
2004-05-21 12:15:22 +00:00
Sebastien Pouliot daa6129e0e 2004-05-21 Sebastien Pouliot <[email protected]>
* Single.cs: Fixed CompareTo and Equals (copied fix from Double) wrt
	to NaN compares (see new unit tests).

svn path=/trunk/mcs/; revision=27814
2004-05-21 12:07:48 +00:00
Sebastien Pouliot cfede82cd7 2004-05-21 Sebastien Pouliot <[email protected]>
* corlib_test.dll.sources: Added SingleTest to the build.

svn path=/trunk/mcs/; revision=27813
2004-05-21 11:47:20 +00:00
Sebastien Pouliot 0dcf2237c9 2004-05-21 Sebastien Pouliot <[email protected]>
* SingleTest.cs: New. Unit tests for Single (adapted from Double).

svn path=/trunk/mcs/; revision=27812
2004-05-21 11:44:03 +00:00
Marek Safar 85a4243208 2004-05-21 Marek Safar <[email protected]>
* attribute.cs, cs-parser.jay: Fix errors/cs0579-7.cs.

svn path=/trunk/mcs/; revision=27811
2004-05-21 11:42:47 +00:00
Paolo Molaro f2fb958ea4 Fri May 21 08:00:12 EDT 2004 Paolo Molaro <[email protected]>
* exceptions-ppc.c:  handle alloca in methods with clauses.

svn path=/trunk/mono/; revision=27809
2004-05-21 11:15:33 +00:00
Paolo Molaro a5dff37d61 Fri May 21 07:35:30 EDT 2004 Paolo Molaro <[email protected]>
* mini-ppc.c: cleanups, off-by-one fixes, avoid recursive thunks.

svn path=/trunk/mono/; revision=27808
2004-05-21 10:51:09 +00:00
Raja R Harinath f9ea5d99fb remove doubled word, and slightly disambiguate a sentence.
svn path=/trunk/mono/; revision=27807
2004-05-21 09:56:06 +00:00
Raja R Harinath 57f7b34025 Update to include instructions for the various new
bootstrap-like targets.

svn path=/trunk/mono/; revision=27806
2004-05-21 08:51:29 +00:00
Atsushi Eno b13cbb2557 2004-05-21 Atsushi Enomoto <[email protected]>
* XmlSchemaDataImporter.cs : Setting startindex in LastIndexOf()
	  caused problem on qualified name to get schema Field name.

svn path=/trunk/mcs/; revision=27803
2004-05-21 08:03:32 +00:00
Atsushi Eno d911c8c4e8 2004-05-21 Atsushi Enomoto <[email protected]>
* Uri.cs :
	  AbsoluteUri does not escape file URI string.
	  ToString() should unescape every file uri. MS.NET.ToString() does
	  not unescape '#' but it looks a bug.

svn path=/trunk/mcs/; revision=27802
2004-05-21 07:55:28 +00:00
Jackson Harper 3c53b46c3b * driver.cs: This is the new gacutil. Right now it wont get built,
after I do a little more testing I will make it the built/installed
	gacutil.

svn path=/trunk/mcs/; revision=27801
2004-05-21 07:21:08 +00:00
Atsushi Eno 1f9f45592a 2004-05-20 Atsushi Enomoto <[email protected]>
* XmlDataReader.cs : Now data reader is namespace aware in all places.
	  When table's namespace is different, it entered to infinite loop.

svn path=/trunk/mcs/; revision=27800
2004-05-21 05:55:55 +00:00
Umadevi S 3b7e9b62a3 2004-05-21 Umadevi S <[email protected]>
* System.Data.OracleClient.Oci/OciDefineHandle.cs
          Fixed bug 55030. Included checking for size

svn path=/trunk/mcs/; revision=27799
2004-05-21 05:33:18 +00:00
Sebastien Pouliot cfd312dfb2 2004-05-20 Sebastien Pouliot <[email protected]>
* UTF7EncodingTest.cs, UnicodeEncodingTest.cs: Removed unused SetUp
	and TearDown to facilitate searches.

svn path=/trunk/mcs/; revision=27798
2004-05-21 01:24:26 +00:00
Sebastien Pouliot fc84e62f34 2003-05-20 Sebastien Pouliot <[email protected]>
* PolicyLevelTest.cs, StrongNameTest.cs: SetUp is now public (required
	for new nunit).

svn path=/trunk/mcs/; revision=27797
2004-05-21 01:22:17 +00:00
Sebastien Pouliot 9c9fd72996 2003-05-20 Sebastien Pouliot <[email protected]>
* PublisherIdentityPermissionTest.cs: SetUp is now public (required
	for new nunit).

svn path=/trunk/mcs/; revision=27796
2004-05-21 01:18:43 +00:00
Sebastien Pouliot de2fd4fcac 2004-05-20 Sebastien Pouliot <[email protected]>
* X509CapiTest.cs: SetUp and TearDown are now public (required for new
	nunit).
	* X509SpcTest.cs: SetUp and TearDown are now public (required for new
	nunit).

svn path=/trunk/mcs/; revision=27795
2004-05-21 01:16:53 +00:00
Sebastien Pouliot b20fb36b80 2003-05-20 Sebastien Pouliot <[email protected]>
* SecurityElementTest.cs: SetUp is now public (required for new nunit).

svn path=/trunk/mcs/; revision=27794
2004-05-21 01:14:54 +00:00
Sebastien Pouliot 1ebda52a5a 2003-05-20 Sebastien Pouliot <[email protected]>
* StrongNameKeyPairTest.cs: SetUp (renamed) is now public (required
	for new nunit).

svn path=/trunk/mcs/; revision=27793
2004-05-21 01:13:09 +00:00
Sebastien Pouliot b4ad670189 2004-05-20 Sebastien Pouliot <[email protected]>
* MemoryStream.cs: SetUp is now	public (required for new nunit).

svn path=/trunk/mcs/; revision=27792
2004-05-21 01:10:40 +00:00
Sebastien Pouliot 5dedc57476 2004-05-20 Sebastien Pouliot <[email protected]>
* AppDomainTest.cs: Renamed Unload to TearDown (like it's attribute)
	to ease searches.

svn path=/trunk/mcs/; revision=27791
2004-05-21 01:09:02 +00:00
Sebastien Pouliot 2584b0aaf2 2004-05-20 Sebastien Pouliot <[email protected]>
* CryptoStreamTest.cs, DESCryptoServiceProviderTest.cs,
	DSACryptoServiceProviderTest.cs, DSATest.cs, FromBase64Transform.cs,
	HMACRIPEMD160Test.cs, MD5Test.cs, PKCS1MaskGenerationMethodTest.cs,
	RIPEMD160ManagedTest.cs, RNGCryptoServiceProviderTest.cs,
	RSACryptoServiceProviderTest.cs, RSAOAEPKeyExchangeDeformatterTest.cs,
	RSAOAEPKeyExchangeFormatterTest.cs, RSAPKCS1KeyExchangeDeformatterTest.cs,
	RSAPKCS1KeyExchangeFormatterTest.cs, RSAPKCS1SignatureDeformatterTest.cs,
	RSAPKCS1SignatureFormatterTest.cs, RSATest.cs: SetUp/TearDown are now
	public (required for new nunit).

svn path=/trunk/mcs/; revision=27790
2004-05-21 01:03:41 +00:00
Sebastien Pouliot 6556ca5186 2004-05-20 Sebastien Pouliot <[email protected]>
* KeyInfoTest.cs: SetUp is now public (required for new nunit).
	* ReferenceTest.cs: SetUp is now public (required for new nunit).

svn path=/trunk/mcs/; revision=27789
2004-05-21 00:58:23 +00:00
Jackson Harper dea02cc0e4 * DirectoryInfoTest.cs: Add test for CreateSubdirectory.
svn path=/trunk/mcs/; revision=27788
2004-05-21 00:46:48 +00:00
Francisco Figueiredo Jr. cffa7d149e 2004-05-20 Francisco Figueiredo Jr. <[email protected]>
NpgsqlAsciiRow.cs,
        NpgsqlBackEndKeyData.cs,
        NpgsqlBinaryRow.cs,
        NpgsqlCommand.cs,
        NpgsqlConnectedState.cs,
        NpgsqlConnection.cs,
        NpgsqlConnection.resx,
        NpgsqlConnector.cs,
        NpgsqlConnectorPool.cs,
        NpgsqlError.cs,
        NpgsqlMediator.cs,
        NpgsqlMessageTypes.cs,
        NpgsqlPasswordPacket.cs,
        NpgsqlQuery.cs,
        NpgsqlRowDescription.cs,
        NpgsqlStartupPacket.cs,
        NpgsqlState.cs,
        PGUtil.cs,
        NpgsqlTypes/NpgsqlTypesHelper.cs : - store protocol version as an enum, keep numbers as protocol specific
        - split more protocol handlers between version 2 and version 3
        - split MessageTypes class on ver2/ver3 and add remaining types for ver3        - removed handlers for deprecated protocol message types
        - store BackendKeyData in its own member on Mediator
        - Store ParameterStatus objects in a key map on Mediator
        - Get backend version now from the Mediator if possible
        - Rewrite parsers for server version and connection string
        - Store server version numericially (in a new class ServerVersion)
        - As usual, lots of code cleanup/commenting/etc.

        Thanks very much Glen Parker ([email protected]) for this patch.

svn path=/trunk/mcs/; revision=27787
2004-05-21 00:05:13 +00:00
Francisco Figueiredo Jr. 737e46dcb5 2004-05-20 Francisco Figueiredo Jr. <[email protected]>
NpgsqlAsciiRow.cs,
	NpgsqlBackEndKeyData.cs,
	NpgsqlBinaryRow.cs,
	NpgsqlCommand.cs,
	NpgsqlConnectedState.cs,
	NpgsqlConnection.cs,
	NpgsqlConnection.resx,
	NpgsqlConnector.cs,
	NpgsqlConnectorPool.cs,
	NpgsqlError.cs,
	NpgsqlMediator.cs,
	NpgsqlMessageTypes.cs,
	NpgsqlPasswordPacket.cs,
	NpgsqlQuery.cs,
	NpgsqlRowDescription.cs,
	NpgsqlStartupPacket.cs,
	NpgsqlState.cs,
	PGUtil.cs,
	NpgsqlTypes/NpgsqlTypesHelper.cs : - store protocol version as an enum, keep numbers as protocol specific
	- split more protocol handlers between version 2 and version 3
	- split MessageTypes class on ver2/ver3 and add remaining types for ver3	- removed handlers for deprecated protocol message types
	- store BackendKeyData in its own member on Mediator
	- Store ParameterStatus objects in a key map on Mediator
	- Get backend version now from the Mediator if possible
	- Rewrite parsers for server version and connection string
	- Store server version numericially (in a new class ServerVersion)
	- As usual, lots of code cleanup/commenting/etc.

	Thanks very much Glen Parker ([email protected]) for this patch.

svn path=/trunk/mcs/; revision=27786
2004-05-21 00:04:00 +00:00
Jackson Harper 9c7aa8ac9c * DirectoryInfo.cs: Create subdirectories correctly if more then
one is supplied.

svn path=/trunk/mcs/; revision=27785
2004-05-20 23:59:46 +00:00
Martin Baulig 4b29217cc6 Make this actually compile.
svn path=/trunk/mcs/; revision=27784
2004-05-20 23:17:31 +00:00
Urs C. Muff 1fc1a9d860 Initial checkin for Mono Mac Framework building script by Andy Satori
svn path=/trunk/mono/; revision=27783
2004-05-20 22:43:41 +00:00
Neale Ferguson cf0eedc202 More fixes for code generation (CONV_I1/CONV_I2)
svn path=/trunk/mono/; revision=27782
2004-05-20 21:20:38 +00:00
Sebastien Pouliot ced9344e95 2004-05-20 Sebastien Pouliot <[email protected]>
* Convert.cs: Added checks for integer overflow for From|ToBase64Char.
	Also fixed the case where wide (16 bits) characters were converted to
	bytes.

svn path=/trunk/mcs/; revision=27781
2004-05-20 20:41:29 +00:00
Sebastien Pouliot 1efa9cec28 2004-05-20 Sebastien Pouliot <[email protected]>
* ConvertTest.cs: Added new unit tests for integer overflow in To/From
	Base64CharArray. Added new test for wide char. Exploded some tests in
	NUnit2 format (to ease add new tests).

svn path=/trunk/mcs/; revision=27780
2004-05-20 20:24:53 +00:00
Lluis Sanchez f6c3bffae5 * interp.c, interp.h: Use the new methods for handling thread.abort.
svn path=/trunk/mono/; revision=27779
2004-05-20 20:19:08 +00:00
Lluis Sanchez 7ef569a756 * mini.c: Delegate most of the abort signal work to
mono_thread_request_interruption, which also handles Stop and Suspend
	  states.

svn path=/trunk/mono/; revision=27778
2004-05-20 20:17:53 +00:00
Lluis Sanchez 72164d6cc3 * daemon-messages.c: Retry if the communication with the daemon is
interrupted by a signal.
	* io.c, sockets.c: Check for EINTR in every syscall that can be interrumped.
	  Only return an error in this case if there is something in the apc queue
	  (which means that it is an interruption requested by the "user").
	* processes.c: Use WaitForSingleObjectEx. No need to pass "alertable" as
	  true since the wait is small.
	* shared.c: Retry write calls when interrumped by a signal.
	* timed-thread.h, timed-thread.c: added _wapi_thread_apc_pending, which
	  returns TRUE if there are pending asynchronous calls (APC) for the
	  provided thread. Also added _wapi_thread_dispatch_apc_queue which calls
	  the enqueued APCs. Defined a new struct ApcInfo that holds information
	  about an enqueued APC.
	* thread-private.h, threads.c: Implemented QueueUserAPC (which does the same
	  as in win32),_wapi_thread_apc_pending and _wapi_thread_dispatch_apc_queue.
	  These last two methods call the corresponding apc methods in
	  thread-private using the provided thread handle.
	* threads.h: Added QueueUserAPC.
	* uglify.h: Added WapiApcProc (needed by QueueUserAPC).
	* wait.c, wait.h: Changed WaitForSingleObject to WaitForSingleObjectEx, and
	  WaitForMultipleObjects to WaitForMultipleObjectsEx. Implemented support
	  for APCs in those two methods and also in SleepEx.

svn path=/trunk/mono/; revision=27777
2004-05-20 20:09:58 +00:00
Lluis Sanchez aee60f1e3e * daemon-messages.c: Retry if the communication with the daemon is
interrupted by a signal.
	* io.c, sockets.c: Check for EINTR in every syscall that can be interrumped.
	  Only return an error in this case if there is something in the apc queue
	  (which means that it is an interruption requested by the "user").
	* processes.c: Use WaitForSingleObjectEx. No need to pass "alertable" as
	  true since the wait is small.
	* shared.c: Retry write calls when interrumped by a signal.
	* timed-thread.h, timed-thread.c: added _wapi_thread_apc_pending, which
	  returns TRUE if there are pending asynchronous calls (APC) for the
	  provided thread. Also added _wapi_thread_dispatch_apc_queue which calls
	  the enqueued APCs. Defined a new struct ApcInfo that holds information
	  about an enqueued APC.
	* thread-private.h, threads.c: Implemented QueueUserAPC (which does the same
	  as in win32),_wapi_thread_apc_pending and _wapi_thread_dispatch_apc_queue.
	  These last two methods call the corresponding apc methods in
	  thread-private using the provided thread handle.
	* threads.h: Added QueueUserAPC.
	* uglify.h: Added WapiApcProc (needed by QueueUserAPC).
	* wait.c, wait.h: Changed WaitForSingleObject to WaitForSingleObjectEx, and
	  WaitForMultipleObjects to WaitForMultipleObjectsEx. Implemented support
	  for APCs in those two methods and also in SleepEx.

svn path=/trunk/mono/; revision=27776
2004-05-20 20:04:40 +00:00
Lluis Sanchez 49228e033d * Thread.cs: Some fixes in Abort. Implemented Suspend and Resume.
Added internal interruption_requested field.

svn path=/trunk/mcs/; revision=27775
2004-05-20 20:02:44 +00:00
Patrik Torstensson bde175a9f7 2004-05-20 Patrik Torstensson
* Hostname.cs: Test for hostname crash

svn path=/trunk/mono/; revision=27774
2004-05-20 19:33:58 +00:00
Gert Driesen 5c0e9dc92e * OleDbPermissionAttribute.cs: change AllowMultiple and
Inherited to match .NET

svn path=/trunk/mcs/; revision=27773
2004-05-20 19:18:03 +00:00
Gert Driesen 3ac272d35b * OdbcPermissionAttribute.cs: change AllowMultiple and
Inherited to match .NET

svn path=/trunk/mcs/; revision=27772
2004-05-20 19:16:40 +00:00
Gert Driesen 8663c97122 * DbDataPermissionAttribute.cs: change AllowMultiple and
Inherited to match .NET

svn path=/trunk/mcs/; revision=27771
2004-05-20 19:15:27 +00:00
Gert Driesen a72f4f118c * SqlClientPermissionAttribute.cs: change AllowMultiple and
Inherited to match .NET

svn path=/trunk/mcs/; revision=27770
2004-05-20 19:13:10 +00:00
Gert Driesen 2e472fe368 * EventLogPermissionAttribute.cs:
* PerformanceCounterPermissionAttribute.cs: adjust AllowMultiple
and Inherited to match .NET

svn path=/trunk/mcs/; revision=27769
2004-05-20 18:56:34 +00:00
Marek Safar ff0310677a Added more test code
svn path=/trunk/mcs/; revision=27768
2004-05-20 18:46:35 +00:00
Atsushi Eno ccdf2e0bc1 2004-05-20 Atsushi Enomoto <[email protected]>
* OracleCommandBuilder.cs : Added (stub).
	* OracleString.cs : Implemented missing bits.

svn path=/trunk/mcs/; revision=27766
2004-05-20 17:59:36 +00:00
Boris Kirzner b0ca597d50 * Datacontainer.cs : CompareValues reviewed. set_Item and get_Item of null and DBNull values in case of DataContainers for primitive types reviewed. Added check for null values when reading from IDataRecord.
svn path=/trunk/mcs/; revision=27765
2004-05-20 17:35:22 +00:00
Boris Kirzner 91c5bbb326 * MergeManager.cs : AdjustSchema now updates by reference new created table, so in Merge you do not need to lookup for it (were unable to do this for unnamed tables). Code styling.
svn path=/trunk/mcs/; revision=27764
2004-05-20 17:29:12 +00:00
Boris Kirzner d78c46d04e * DataColumn.cs : In set_Item[int] - if autoincrement, adjust next autoincrement value.
* DataColumnCollection.cs : fixed parantethes.
* DataRow.cs :
- AcceptChanges : do nothing if row state is unchanged.
- GetChildRows, GetParentRows  : bug fix (use correct index).
* DataRowCollection.cs : bug fix (compare all row's values).
* DataTable.cs : bug fix (use correct row version).

svn path=/trunk/mcs/; revision=27763
2004-05-20 17:26:23 +00:00
Marek Safar bb56009ae6 New test
svn path=/trunk/mcs/; revision=27761
2004-05-20 16:41:15 +00:00
Atsushi Eno 12549f8418 2004-05-20 Atsushi Enomoto <[email protected]>
* XmlSchemaDataImporter.cs : xs:positiveInteger is mapped to ulong.
	  When content type is Mixed, text column is not required (it is
	  required only when the complex type has no particle).
	  "Repeated element" column is also created (considering maxOccurs=0
	  and complex content extension).

svn path=/trunk/mcs/; revision=27759
2004-05-20 15:16:41 +00:00
Atsushi Eno e9ecb880af 2004-05-20 Atsushi Enomoto <[email protected]>
* XmlSchemaDataImporter.cs : XmlSchemaGroupBase was not handled
	  properly.

svn path=/trunk/mcs/; revision=27757
2004-05-20 13:56:00 +00:00
Martin Baulig c5b0f1a534 Small fix from Raja.
svn path=/trunk/mcs/; revision=27756
2004-05-20 13:45:12 +00:00
Martin Baulig 0fd37e4030 2004-05-20 Martin Baulig <[email protected]>
* delegate.cs: Convert this file to Unix mode - like the original
	version in mcs is.

svn path=/trunk/mcs/; revision=27755
2004-05-20 13:38:23 +00:00
Martin Baulig dafa3b82c0 **** Merged from MCS ****
svn path=/trunk/mcs/; revision=27754
2004-05-20 13:32:19 +00:00
Martin Baulig 04b1daf7bf 2004-05-20 Martin Baulig <[email protected]>
Merged this back from gmcs to keep the differences to a minumum.

	* attribute.cs (Attribute.CheckAttributeType): Take an EmitContext
	instead of a Declspace.
	(Attribute.ResolveType): Likewise.
	(Attributes.Search): Likewise.
	(Attributes.Contains): Likewise.
	(Attributes.GetClsCompliantAttribute): Likewise.

	* class.cs (TypeContainer.VerifyMembers): Added EmitContext
	argument.
	(MethodData.ApplyAttributes): Take an EmitContext instead of a
	DeclSpace.

svn path=/trunk/mcs/; revision=27753
2004-05-20 13:23:04 +00:00
Martin Baulig d17436a244 Moved this to make diff happy.
svn path=/trunk/mcs/; revision=27752
2004-05-20 13:01:34 +00:00
Martin Baulig c0102e3f8c Whitespace changes to make this more similar to the mcs version.
svn path=/trunk/mcs/; revision=27751
2004-05-20 12:58:53 +00:00
Zoltan Varga 2a8360eba0 2004-05-20 Zoltan Varga <[email protected]>
* mini.c: Allow inlining of icall wrappers if the backend supports
	the save/restore lmf opcodes.

svn path=/trunk/mono/; revision=27750
2004-05-20 12:53:35 +00:00
Zoltan Varga 3fd6bd21d6 2004-05-20 Zoltan Varga <[email protected]>
* marshal.c: Insert SAVE_LMF and RESTORE_LMF opcodes around native
	calls.

svn path=/trunk/mono/; revision=27749
2004-05-20 12:50:53 +00:00
Atsushi Eno 5cd8619543 2004-05-20 Atsushi Enomoto <[email protected]>
* XmlSchemaDataImporter.cs : Removed unused code and extra MonoTODO.
	  Fixed relation inference to consider attribute XPath.

svn path=/trunk/mcs/; revision=27748
2004-05-20 12:49:43 +00:00
Zoltan Varga f284ad8dc6 2004-05-20 Zoltan Varga <[email protected]>
* opcode.def: Add mono_save_lmf and mono_restore_lmf.

svn path=/trunk/mono/; revision=27747
2004-05-20 12:48:40 +00:00
Martin Baulig 1a8c47aaca 2004-05-20 Martin Baulig <[email protected]>
* attribute.cs: Convert this file to Unix mode - like the original
	version in mcs is.

svn path=/trunk/mcs/; revision=27746
2004-05-20 12:48:25 +00:00
Martin Baulig 0e6af1f827 2004-04-20 Martin Baulig <[email protected]>
Merged latest changes into gmcs.  Please keep this comment in
	here, it makes it easier for me to see what changed in MCS since
	the last time I merged.

svn path=/trunk/mcs/; revision=27745
2004-05-20 12:28:27 +00:00
Martin Baulig 38a6d54fcb **** Merged from MCS ****
svn path=/trunk/mcs/; revision=27744
2004-05-20 12:26:41 +00:00
Martin Baulig aff5a6b8e0 **** Merged from MCS ****
svn path=/trunk/mcs/; revision=27743
2004-05-20 12:24:59 +00:00
Martin Baulig 287977829c **** Merged from MCS ****
svn path=/trunk/mcs/; revision=27742
2004-05-20 12:08:02 +00:00
Raja R Harinath 903e252fa1 Fix small thinko.
svn path=/trunk/mono/; revision=27741
2004-05-20 11:19:59 +00:00
Raja R Harinath 3eb4ea1425 Fix typo.
svn path=/trunk/mono/; revision=27740
2004-05-20 11:11:44 +00:00
Raja R Harinath 5436b3fb25 (get-monolite-latest, monolite-bootstrap):
New bootstrap targets to build from monolite.
Based on idea from Jaroslaw Kowalski <[email protected]>.

svn path=/trunk/mono/; revision=27739
2004-05-20 11:06:42 +00:00
Marek Safar 3982c48f6e 2004-05-20 Marek Safar <[email protected]>
* test-255.cs: New test.

svn path=/trunk/mcs/; revision=27738
2004-05-20 10:56:16 +00:00
Marek Safar 0492599cb0 New test
svn path=/trunk/mcs/; revision=27737
2004-05-20 10:44:14 +00:00
Raja R Harinath f9078c0a01 (PROGRAM_COMPILE): Define to $(BOOT_COMPILE).
svn path=/trunk/mcs/; revision=27736
2004-05-20 10:41:26 +00:00
Raja R Harinath 4d72b23005 (%.resources): Use INTERNAL_RESGEN.
svn path=/trunk/mcs/; revision=27735
2004-05-20 10:41:09 +00:00
Raja R Harinath 0f06a4fb24 * profiles/default.make (TEST_RUNTIME): Look in class/lib/default
for library to be tested.
* rules.make (INTERNAL_RESGEN): New Define.
* library.make (run-test-local): Move commands to run-test-lib.
Preparartion for allowing creation of addition test dll with .vb
testcases.
* executable.make (PROGRAM_COMPILE): New define.
($(PROGRAM)): Use PROGRAM_COMPILE to compile PROGRAM.

svn path=/trunk/mcs/; revision=27734
2004-05-20 10:40:50 +00:00
Raja R Harinath 1138dbc32c (SUBDIRS): Move 'monoresgen' ahead of 'class'.
svn path=/trunk/mcs/; revision=27733
2004-05-20 10:40:31 +00:00
Raja R Harinath 49bc3c3e85 * configure.in (AC_OUTPUT): Add tools/Makefile and
tools/locale-builder/Makefile.
* Makefile.am (SUBDIRS): Remove tools.
(DIST_SUBDIRS): Add 'tools'.
(bootstrap): Rewrite so that we get two new targets.
(faststrap): New two-stage build.
(fasterstrap): New one-stage build.

Make 'faststrap' and 'fasterstrap' are useful for continuing development
once you've bootstrapped a mono/ CVS checkout.

svn path=/trunk/mono/; revision=27732
2004-05-20 10:26:46 +00:00
Sanja Gupta ab2398148d ChangeLog: Updated ChangeLog.
Icon.cs: Fixed issue with Size property.

svn path=/trunk/mcs/; revision=27731
2004-05-20 10:19:19 +00:00
Sanja Gupta f5bd124831 ChangeLog: Updated ChangeLog
TestIcon.cs: Added.
bitmaps/smiley.ico: Added.

svn path=/trunk/mcs/; revision=27730
2004-05-20 10:09:03 +00:00
Sanja Gupta 3d694370cf ChangeLog: Updated ChangeLog
System.Drawing_test.dll.sources: Added TestIcon.cs to the source list.

svn path=/trunk/mcs/; revision=27729
2004-05-20 10:04:19 +00:00
Umadevi S e3ae8dc698 2004-05-20 Umadevi S <[email protected]>
* Fixed bug 58406- implemented the hasrow method, test program used
         to test with the bug report

svn path=/trunk/mcs/; revision=27728
2004-05-20 09:51:47 +00:00
Atsushi Eno 562b65fc66 2004-05-20 Atsushi Enomoto <[email protected]>
* XslTransformTests.cs : Added tests for msxsl:node-set().

svn path=/trunk/mcs/; revision=27727
2004-05-20 08:44:01 +00:00
Atsushi Eno 7efc4e561b 2004-05-20 Atsushi Enomoto <[email protected]>
* Expression.cs : We should not catch all kind of exception. Just
	  throwing any kind of exception would be preferable.
	  Added support for XPathNavigator values.

svn path=/trunk/mcs/; revision=27726
2004-05-20 08:42:32 +00:00
Atsushi Eno 7580260949 2004-05-20 Atsushi Enomoto <[email protected]>
* XslCopyOf.cs : When evaluation result was result tree fragment (i.e.
	  XPathNavigator) output its content (children).
	* XslNumber.cs : Reflected CompilePattern() change.
	* XslTemplateContent.cs : Don't throw System.Exception.
	* XslVariable.cs : XslVariableInformation.Evaluate() now returns
	  XPathNavigator, not NodeSet (it should not return "children", since
	  the node pointed by XPathNavigator should be referenced as Root).

svn path=/trunk/mcs/; revision=27725
2004-05-20 08:42:04 +00:00
Atsushi Eno ff370646d6 2004-05-20 Atsushi Enomoto <[email protected]>
* Compiler.cs :
	  - CompilePattern() now throws XsltCompileException for invalid
	    pattern, and add error location support.
	  - In Compiler.TryGetFunction(), compare namespace URI, not prefix.
	    Now it returns MSXslNodeSet instance (for msxsl:node-set).
	* Debug.cs : don't throw System.Exception.
	* XslFunctions.cs : Added MSXslNodeSet class.
	* XslTemplate.cs : reflected CompilePattern() change.
	* XslTransformProcessor.cs : don't throw System.Exception.
	* XsltCompiledContext.cs : don't throw System.Exception.

svn path=/trunk/mcs/; revision=27724
2004-05-20 08:41:12 +00:00
Atsushi Eno 23e602b3cc 2004-05-20 Atsushi Enomoto <[email protected]>
* Pattern.cs : don't throw System.Exception. Delegate error handling to
	  the only one caller CompilePattern().

svn path=/trunk/mcs/; revision=27723
2004-05-20 08:40:21 +00:00
Gonzalo Paniagua Javier b06f9960d5 warnings
svn path=/trunk/mono/; revision=27719
2004-05-20 00:00:19 +00:00
Gonzalo Paniagua Javier 3a53032bfa 2004-05-20 Gonzalo Paniagua Javier <[email protected]>
* appdomain.c:
	* assembly.c:
	* gc.c:
	* locales.c:
	* mono-config.c:
	* rand.c: getenv -> g_getenv (windows!)

	* process.c: complete_path is also used on non-windows platforms.

svn path=/trunk/mono/; revision=27718
2004-05-19 23:55:44 +00:00
Jackson Harper 6b4a81594a * tools/
* tools/Makefile.am: Add tools directory
	* tools/locale-builder: Add the locale-builder tool, this tool is
	not built by default as it is only needed by people that wish to
	moidify culture data.
	* Makefile.am: Add tools to build

svn path=/trunk/mono/; revision=27717
2004-05-19 23:18:18 +00:00
Jackson Harper c4e495a504 Ignore Makefile
svn path=/trunk/mono/; revision=27716
2004-05-19 23:16:22 +00:00
Jackson Harper eab58f4b75 ignore generated table
svn path=/trunk/mono/; revision=27715
2004-05-19 23:15:41 +00:00
Jackson Harper 4b7bd9cb4d .cvsignore
svn path=/trunk/mono/; revision=27714
2004-05-19 23:14:53 +00:00
Jackson Harper 6efb874c14 supplemental locale data
svn path=/trunk/mono/; revision=27713
2004-05-19 23:13:38 +00:00
Jackson Harper a236e9766f Add locale builder
svn path=/trunk/mono/; revision=27712
2004-05-19 23:11:58 +00:00
Jackson Harper 5459ad227e * tools/
* tools/Makefile.am: Add tools directory
        CVS: ----------------------------------------------------------------------

svn path=/trunk/mono/; revision=27711
2004-05-19 23:10:38 +00:00
Gonzalo Paniagua Javier 9445db1057 2004-05-20 Gonzalo Paniagua Javier <[email protected]>
* monop.cs: give the correct assembly that fails loading or the type.

svn path=/trunk/mcs/; revision=27710
2004-05-19 23:05:23 +00:00
Gonzalo Paniagua Javier 8886aab23f Fix ChangeLog entry to tell the truth
svn path=/trunk/mcs/; revision=27708
2004-05-19 19:43:16 +00:00
Martin Baulig 954742c93e **** Merged from MCS ****
svn path=/trunk/mcs/; revision=27707
2004-05-19 19:32:24 +00:00
Martin Baulig 20a4365920 **** Merged from MCS ****
svn path=/trunk/mcs/; revision=27706
2004-05-19 19:21:20 +00:00
Martin Baulig 5a4dadc551 **** Merged from MCS ****
svn path=/trunk/mcs/; revision=27705
2004-05-19 19:10:17 +00:00
Gert Driesen bc796a73b4 * AttributeTest.cs: added tests for Inherited and
AllowMultiple

svn path=/trunk/mcs/; revision=27703
2004-05-19 18:52:17 +00:00
Gert Driesen 57cf39129b * DebuggerHiddenAttribute.cs
* DebuggerStepThroughAttribute.cs : now that Inherited is
false by default on AttributeUsageAttribute (as it
should be) we need to explicitly set Inherited to false
for those attributes where it should be false.

svn path=/trunk/mcs/; revision=27702
2004-05-19 18:48:58 +00:00
Gert Driesen 31d549e2d1 * CustomConstantAttribute.cs
* DateTimeconstantAttribute.cs
* DecimalConstantAttribute.cs
* IDispatchConstantAttribute.cs
* IUnknownConstantAttribute.cs
* MethodImplAttribute.cs
* RequiredAttributeAttribute.cs: now that Inherited is
false by default on AttributeUsageAttribute (as it
should be) we need to explicitly set Inherited to false
for those attributes where it should be false.

svn path=/trunk/mcs/; revision=27701
2004-05-19 18:47:07 +00:00
Gert Driesen 5a74724324 * AutomationProxyAttribute.cs
* BestFitMappingAttribute.cs
        * ClassInterfaceAttribute.cs
        * CoClassAttribute.cs
        * ComAliasNameAttribute.cs
        * ComCompatibleVersionAttribute.cs
	* ComConversionLossAttribute.cs
	* ComEventInterfaceAttribute.cs
	* ComImportAttribute.cs
	* ComRegisterFunctionAttribute.cs
	* ComSourceInterfaceAttribute.cs
	* ComUnregisterFunctionAttribute.cs
	* Comvisible.cs
	* DispIdAttribute.cs
	* DllImportAttribute.cs
	* FieldOffsetAttribute.cs
	* GuidAttribute.cs
	* IDispatchImplAttribute.cs
	* ImportedFromTypeLibAttribute.cs
	* InAttribute.cs
	* InterfaceTypeAttribute.cs
	* LCIDConversionAttribute.cs
	* MarshalAsAttribute.cs
	* OptionalAttribute.cs
	* OutAttribute.cs
	* PreserveSigAttribute.cs
	* PrimaryInteropAssemblyAttribute.cs
	* ProgIdAttribute.cs
	* StructLayoutAttribute.cs
	* TypeLibFuncAttribute.Cs
	* TypeLibTypeAttribute.cs
	* TypeLibVarAttribute.cs
	* TypeLibVersionAttribute.cs now that Inherited is
	false by default on AttributeUsageAttribute (as it
	should be) we need to explicitly set Inherited to
	false for those attributes should where it should be
	false.

svn path=/trunk/mcs/; revision=27700
2004-05-19 18:42:54 +00:00
Gert Driesen e0f962b280 * ThreadStaticAttribute.cs
* ContextStaticAttribute.cs
* FlagsAttribute.cs
* ObsoleteAttribute.cs : now that Inherited is false by
default on AttributeUsageAttribute (as it should be) we
need to explicitly set Inherited to false for those
attributes should it be be false.

svn path=/trunk/mcs/; revision=27699
2004-05-19 18:33:38 +00:00
Gert Driesen 086e51d57e * AttributeUsageAttribute.cs: Inherited property should be
true by defaultrs.cs: respect Inherited property, and

svn path=/trunk/mcs/; revision=27698
2004-05-19 18:32:32 +00:00
Gert Driesen 6a3b002263 * MonoCustomAttrs.cs: respect Inherited property, and
AllowMultiple property of a CustomAttribute. This fixes
a major issue we had with respect to custom attributes.

svn path=/trunk/mcs/; revision=27697
2004-05-19 18:23:02 +00:00
Gonzalo Paniagua Javier 411dc70043 2004-05-19 Gonzalo Paniagua Javier <[email protected]>
* icall.c: new signature for Process_Start.

	* process.[ch]: new signature for Process_Start. If we're on windows
	and UseShellExecute is false, we have to search for the program by
	ourselves if we don't get a full path.

svn path=/trunk/mono/; revision=27696
2004-05-19 17:59:26 +00:00
Gonzalo Paniagua Javier d41151034a 2004-05-19 Gonzalo Paniagua Javier <[email protected]>
* Process.cs: separate the command and the arguments when calling
	Start_internal.

svn path=/trunk/mcs/; revision=27695
2004-05-19 17:59:11 +00:00
Gert Driesen 65b9ee31d4 * AttributeTest.cs: formatting, and remove commented
code

svn path=/trunk/mcs/; revision=27689
2004-05-19 16:42:02 +00:00
Paolo Molaro 68bfe3719c Wed May 19 13:22:19 EDT 2004 Paolo Molaro <[email protected]>
* configure.in: make MacOSX default to use the included libgc.

svn path=/trunk/mono/; revision=27688
2004-05-19 16:38:37 +00:00
Marek Safar 24a9a0ce48 2004-05-19 Marek Safar <[email protected]>
Fix bug #58688 (MCS does not report error when the same attribute
	is assigned twice)

	* attribute.cs (Attribute.Emit): Distinction between null and default.

svn path=/trunk/mcs/; revision=27687
2004-05-19 16:34:34 +00:00
Gonzalo Paniagua Javier 84943987e3 2004-05-19 Gonzalo Paniagua Javier <[email protected]>
* Process.cs: redirecting I/O is not permitted if UseShellExecute is
	false. Also throw if FileName is null.

svn path=/trunk/mcs/; revision=27684
2004-05-19 16:10:46 +00:00
Atsushi Eno 8a17df5cd8 2004-05-19 Atsushi Enomoto <[email protected]>
* System.Xml.dll.sources : Added System.Xml.Schema/CustomSerializer.cs

svn path=/trunk/mcs/; revision=27681
2004-05-19 14:57:51 +00:00
Atsushi Eno 1b720ab0bd 2004-05-19 Atsushi Enomoto <[email protected]>
* CustomSerializer.cs : Added custom serializer for XmlSchema, that is
	  generated by SerializationCodeGenerator and edited a bit.
	* XmlSchema.cs : Use XmlSchemaSerializationWriter.

svn path=/trunk/mcs/; revision=27680
2004-05-19 14:57:24 +00:00
Marek Safar 0b29f2df3b 2004-05-19 Marek Safar <[email protected]>
* cs0579-6.cs: New test for bug #58688.

svn path=/trunk/mcs/; revision=27677
2004-05-19 14:38:20 +00:00
Martin Baulig 6388883b62 **** Merged from MCS ****
svn path=/trunk/mcs/; revision=27676
2004-05-19 14:38:01 +00:00
Martin Baulig 681f649bfb **** Merged from MCS ****
svn path=/trunk/mcs/; revision=27675
2004-05-19 14:38:01 +00:00
Miguel de Icaza af6ff4763b Flush
svn path=/trunk/mono/; revision=27674
2004-05-19 14:15:29 +00:00
Martin Baulig 4ee1800ffc **** Merged from MCS ****
svn path=/trunk/mcs/; revision=27673
2004-05-19 14:06:39 +00:00
Martin Baulig 79e7806ea5 **** Merged from MCS ****
svn path=/trunk/mcs/; revision=27672
2004-05-19 14:00:31 +00:00
Zoltan Varga 8fc5d2f120 2004-05-19 Zoltan Varga <[email protected]>
* mini-x86.c (mono_arch_setup_jit_tls_data): Handle code generated
	by gcc-3.4 as well.

	* mini-x86.h mini-x86.c tramp-x86.c: Optimize lmf restoring code.

svn path=/trunk/mono/; revision=27671
2004-05-19 13:17:05 +00:00
Martin Baulig 856cd84f60 **** Merged from MCS ****
svn path=/trunk/mcs/; revision=27670
2004-05-19 13:05:18 +00:00
Martin Baulig a3d0b0b6d2 **** Merged from MCS ****
svn path=/trunk/mcs/; revision=27669
2004-05-19 12:55:49 +00:00
Martin Baulig 21534e005f **** Merged from MCS ****
svn path=/trunk/mcs/; revision=27668
2004-05-19 12:43:33 +00:00
Martin Baulig b1801db9eb **** Merged from MCS ****
svn path=/trunk/mcs/; revision=27667
2004-05-19 12:35:05 +00:00
Raja R Harinath 3d11af4fd0 * cs-parser.jay (attribute): Create a GlobalAttribute for the case
of a top-level attribute without an attribute target.
* attribute.cs (Attribute.Error_AttributeConstructorMismatch):
Make non-static.
(Attribute.Conditional_GetConditionName),
(Attribute.Obsolete_GetObsoleteMessage): Update.
(Attribute.IndexerName_GetIndexerName): New.  Attribute-specific
part of ScanForIndexerName.
(Attribute.CanIgnoreInvalidAttribute): New function.
(Attribute.ScanForIndexerName): Move to ...
(Attributes.ScanForIndexerName): ... here.
(Attributes.Attrs): Rename from now-misnamed AttributeSections.
(Attributes.Search): New internal variant that can choose not to
complain if types aren't resolved.  The original signature now
complains.
(Attributes.GetClsCompliantAttribute): Use internal variant, with
complaints suppressed.
(GlobalAttribute.CheckAttributeType): Overwrite ds.NamespaceEntry
only if it not useful.
(CanIgnoreInvalidAttribute): Ignore assembly attribute errors at
top-level for attributes that are shared between the assembly
and a top-level class.
* parameter.cs (ImplicitParameter): Rename from ParameterAtribute.
* class.cs: Update to reflect changes.
(DefineIndexers): Fuse loops.
* codegen.cs (GetAssemblyName): Update to reflect changes.  Accept
a couple more variants of attribute names.

(cleans up some issues with Marek's patch.  Most importantly, it fixes
a breaking build: errors/CS0618-2-lib.dll)

svn path=/trunk/mcs/; revision=27666
2004-05-19 12:18:11 +00:00
Zoltan Varga 436e4e989a 2004-05-18 Zoltan Varga <[email protected]>
* configure.in: Get rid of -DMONO_USE_EXC_TABLES.

svn path=/trunk/mono/; revision=27665
2004-05-19 12:09:53 +00:00
Sebastien Pouliot d502be2267 2004-05-19 Sebastien Pouliot <[email protected]>
* PKCS7.cs: In sync with Mono.Security.dll version.

svn path=/trunk/mcs/; revision=27664
2004-05-19 12:05:50 +00:00
Atsushi Eno b22296f1b6 2004-05-19 Atsushi Enomoto <[email protected]>
* DataColumn.cs : Fixed set_Item[int]. Convert.ToInt64(DBNull.Value)
	  always fails.

svn path=/trunk/mcs/; revision=27663
2004-05-19 11:48:24 +00:00
Sebastien Pouliot 66bce2561f 2004-05-19 Jesper Pedersen <[email protected]>
* PKCS7.cs: Added SignedData.VerifySignature(AsymmetricAlgorithm aa).
	Added support for calculating signature from SignedData content (i.e.
	when UseAuthenticatedAttributes is false). Added contentType to
	AuthenticatedAttributes (when SignedData.UseAuthenticatedAttributes
	is true).

svn path=/trunk/mcs/; revision=27662
2004-05-19 11:24:52 +00:00
Martin Baulig bce2e1bb6a **** Merged from MCS ****
svn path=/trunk/mcs/; revision=27661
2004-05-19 10:53:16 +00:00
Martin Baulig b405f11d8c **** Merged from MCS ****
svn path=/trunk/mcs/; revision=27660
2004-05-19 10:42:15 +00:00
Boris Kirzner 899387a887 * DataColumn.cs - removed default member attribute.
svn path=/trunk/mcs/; revision=27659
2004-05-19 10:37:40 +00:00
Martin Baulig 890e868737 Moved the marker.
svn path=/trunk/mcs/; revision=27658
2004-05-19 10:34:56 +00:00
Martin Baulig 3ef288611d **** Merged from MCS ****
(Last time I merged, I forgot the ChangeLog).

svn path=/trunk/mcs/; revision=27657
2004-05-19 10:33:39 +00:00
Martin Baulig 70ce6b2ff0 Moved the marker.
svn path=/trunk/mcs/; revision=27656
2004-05-19 10:17:28 +00:00
Boris Kirzner 033e708f3c * RecordCache.cs - added. Each instance of record cache belongs to specific table and manages pool of records ( indexes into data containers) to be used by data rows.
* DataContainer.cs - added. Provides implementation for data containers that holds data in arrays of primitives or objects. Each data container belongs to specific DataColumn.
* DbDataAdapter.cs - changes to complete data storage redesign. Bug fix in FillTable ( to fetch exact number of records required ).

svn path=/trunk/mcs/; revision=27655
2004-05-19 09:46:00 +00:00
Boris Kirzner 256439e2eb * System.Data.dll.sources : Added DataContainer.cs, RecordCache.cs
svn path=/trunk/mcs/; revision=27654
2004-05-19 09:39:27 +00:00
Boris Kirzner 0c5044e5f0 * DataColumn.cs, DataColumnChangeEventArgs.cs, DataColumnCollection.cs, DataRow.cs, DataRowCollection.cs, DataTable.cs, Index.cs : Data storage in the row is redesigned. Now data is stored in typed containers inside DataColumn. Row holds its versions as indexes inside each of data container, accessed through the row that holds it.
svn path=/trunk/mcs/; revision=27653
2004-05-19 09:30:15 +00:00
Boris Kirzner b0324213db * UniqueConstraint.cs - added comment.
svn path=/trunk/mcs/; revision=27652
2004-05-19 09:04:44 +00:00
Gert Driesen b73f20514c * MonoType.cs: throw ArgumentNullException when type parameter in
GetCustomAttributes(Type, bool) is null

svn path=/trunk/mcs/; revision=27651
2004-05-19 09:00:58 +00:00
Atsushi Eno cdf2f09c71 2004-05-19 Atsushi Enomoto <[email protected]>
* DataSetTest.cs : Fixed ReadWriteXmlSchema() that miscounted
	  constraints and parent keys.

svn path=/trunk/mcs/; revision=27648
2004-05-19 07:17:44 +00:00
Atsushi Eno 92d6b1bec2 2004-05-19 Atsushi Enomoto <[email protected]>
* XmlDataInferenceLoader.cs : Don't add already-existing DataTable to
	  DataSet.

svn path=/trunk/mcs/; revision=27647
2004-05-19 07:16:23 +00:00
Raja R Harinath ceffb58197 * configure.in: Use proper autoconf idiom to pass additional
arguments to libgc/configure.
(PLATFORM_WIN32, NEED_LINK_UNLINK): Use three-argument AC_DEFINE.
* acconfig.h: Update to reflect changes.

svn path=/trunk/mono/; revision=27644
2004-05-19 03:42:02 +00:00
Gonzalo Paniagua Javier 6aa078964e 2004-05-19 Gonzalo Paniagua Javier <[email protected]>
* gacutil.cs: force = true requested by Miguel.

svn path=/trunk/mcs/; revision=27643
2004-05-19 02:00:03 +00:00
César Natarén a5f40f69b2 updates from grammar changes
svn path=/trunk/mcs/; revision=27640
2004-05-19 01:18:06 +00:00
César Natarén 79763abfaa 2004-05-18 Cesar Lopez Nataren <[email protected]>
* jscript-lexer-parser.g: let's build Try/Catch/Finally ast.

svn path=/trunk/mcs/; revision=27639
2004-05-19 01:13:59 +00:00
César Natarén 51e63f0e42 2004-05-18 Cesar Lopez Nataren <[email protected]>
* expression.cs: handle Try case for field or local vars allocation.

svn path=/trunk/mcs/; revision=27638
2004-05-19 01:08:51 +00:00
César Natarén 199306c26c 2004-05-18 Cesar Lopez Nataren <[email protected]>
* Try.cs: implemented Emit.
	* Throw.cs: implemented code generation.

svn path=/trunk/mcs/; revision=27637
2004-05-19 01:06:00 +00:00
César Natarén 556aa1468e 2004-05-18 Cesar Lopez Nataren <[email protected]>
* Throw.cs: implemented code generation.cs

svn path=/trunk/mcs/; revision=27636
2004-05-19 00:58:54 +00:00
César Natarén c06f369f0a 2004-05-18 Cesar Lopez Nataren <[email protected]>
* FunctionDeclaration.cs: cache some values.

svn path=/trunk/mcs/; revision=27633
2004-05-19 00:51:47 +00:00
Miguel de Icaza 0a7363d72f Remove debugging message
svn path=/trunk/mcs/; revision=27627
2004-05-18 20:36:15 +00:00
Miguel de Icaza 191afb9869 Add warning
svn path=/trunk/mcs/; revision=27626
2004-05-18 19:45:48 +00:00
Atsushi Eno 93ee6369f3 2004-05-18 Atsushi Enomoto <[email protected]>
* SqlDecimal.cs : Fixed operator/ not to return positive always.
	  Halfly fixed ConvertToPrecScale() that was broken.

svn path=/trunk/mcs/; revision=27624
2004-05-18 19:36:51 +00:00
Zoltan Varga 77acfdd06f 2004-05-18 Zoltan Varga <[email protected]>
* marshal9.cs marshal10.cs: Fix custom marshalling tests.

svn path=/trunk/mono/; revision=27620
2004-05-18 19:08:19 +00:00
Zoltan Varga b1091e6ab4 2004-05-18 Zoltan Varga <[email protected]>
* marshal.c (mono_marshal_get_native_wrapper): Fix up custom
	marshalling and call CleanUpNativeData if needed. Fixes #58646.

svn path=/trunk/mono/; revision=27618
2004-05-18 19:06:36 +00:00
Marek Safar 5fd4e2751c Enabled test-254.cs
svn path=/trunk/mcs/; revision=27616
2004-05-18 18:44:56 +00:00
Atsushi Eno 454a3649fd 2004-05-18 Atsushi Enomoto <[email protected]>
* SqlDecimal.cs :
	  - .ctor() should check the valid scale range and throw
	    SqlTypeException.
	  - Value should copy the last int32 value fragment.
	  - Fixed Abs() and Ceiling() to return Null when the input is Null.
	  - Now AdjustScale() should not depend on Truncate() that keeps zero
	    digits correctly. So Round() before returning the final result.
	  - ToString() should insert '-' for minus values.
	  - operator+ should use larger scale of operands rather than smaller
	    scale.

svn path=/trunk/mcs/; revision=27615
2004-05-18 18:44:40 +00:00
Marek Safar 4e8b680d89 2004-05-18 Marek Safar <[email protected]>
Fix bug #52585 (Implemented explicit attribute declaration)

	* attribute.cs:
	(Attributable.ValidAttributeTargets): New abstract method. It gets
	list of valid attribute targets for explicit target declaration.
	(Attribute.Target): It holds target itself.
	(AttributeSection): Removed.
	(Attribute.CheckTargets): New method. It checks whether attribute
	target is valid for the current element.

	* class.cs:
	(EventProperty): New class. For events that are declared like
	property (with add and remove accessors).
	(EventField): New class. For events that are declared like field.
	class.cs

	* cs-parser.jay: Implemented explicit attribute target declaration.

	* class.cs, decl.cs, delegate.cs, enum.cs, parameter.cs:
	Override ValidAttributeTargets.

	* parameter.cs:
	(ReturnParameter): Class for applying custom attributes on
	the return type.
	(ParameterAtribute): New class. Class for applying custom
	attributes on the parameter type.

svn path=/trunk/mcs/; revision=27608
2004-05-18 18:28:40 +00:00
Zoltan Varga e033beea3f 2004-05-18 Zoltan Varga <[email protected]>
* mini.h mini.c (mini_method_compile): Only run abc removal pass on
	methods which contain array accesses.

	* mini.c (CEE_LDTOKEN): Handle this instruction correctly on bb
	boundaries. Fixes #58537.

	* iltests.il: Add regression test for #58537.

svn path=/trunk/mono/; revision=27607
2004-05-18 18:02:30 +00:00
Gert Driesen 752cd8ab7a * corlib_test.dll.sources: added PropertyInfoTest
svn path=/trunk/mcs/; revision=27606
2004-05-18 17:56:15 +00:00
Jordi Mas i Hernandez 62a16ab086 fixes GDI+ parameter call
svn path=/trunk/mcs/; revision=27605
2004-05-18 17:55:45 +00:00
Gert Driesen af7d2eaa1d * PropertyInfoTest.cs: New file. Added test for
bug #58661.

svn path=/trunk/mcs/; revision=27602
2004-05-18 17:19:41 +00:00
Gert Driesen 05ed4022f3 * MonoProperty.cs: return correct MethodInfo for
property with only a get or set method. Fixes
bug #58661.

svn path=/trunk/mcs/; revision=27601
2004-05-18 17:17:52 +00:00
Miguel de Icaza 442df184e6 Flush
svn path=/trunk/mono/; revision=27600
2004-05-18 16:27:54 +00:00
Miguel de Icaza c8b6382bfb Flush
svn path=/trunk/mono/; revision=27599
2004-05-18 16:23:12 +00:00
Patrik Torstensson 5b84854a7a 2004-05-18 Patrik Torstensson <[email protected]>
* mini-x86.c (mono_arch_local_regalloc): Last part of
	fix for bug #58633 (releasing register to early).

svn path=/trunk/mono/; revision=27596
2004-05-18 15:36:49 +00:00
Miguel de Icaza 884d6fee74 Improve
svn path=/trunk/mono/; revision=27595
2004-05-18 15:14:44 +00:00
Miguel de Icaza 55c35d975a update
svn path=/trunk/mono/; revision=27594
2004-05-18 15:13:40 +00:00
Miguel de Icaza 97575ebbd2 Add new file
svn path=/trunk/mono/; revision=27593
2004-05-18 15:10:23 +00:00
Miguel de Icaza c21e20f026 2004-05-18 Miguel de Icaza <[email protected]>
* basic-long.cs: Add new regression test.

2004-05-18  Patrik Torstensson <[email protected]>

	* mini-x86.c (mono_arch_local_regalloc): Avoid releasing a
	register too early on the chain.

svn path=/trunk/mono/; revision=27591
2004-05-18 14:16:52 +00:00
Atsushi Eno 8426c230c9 2004-05-18 Atsushi Enomoto <[email protected]>
* SqlDecimalTest.cs : Don't use unreliable SqlDecimal to test
	  Truncate(). Just use decimal.

svn path=/trunk/mcs/; revision=27590
2004-05-18 14:14:03 +00:00
Atsushi Eno d356c5ad90 2004-05-18 Atsushi Enomoto <[email protected]>
* SqlDecimal.cs : Fixed Truncate() to work fine.
	* SqlMoney.cs : Added one hack line in operator/ to work fine.

svn path=/trunk/mcs/; revision=27589
2004-05-18 14:12:03 +00:00
Miguel de Icaza f83b3edda4 Update
svn path=/trunk/mono/; revision=27588
2004-05-18 13:49:14 +00:00
Sebastien Pouliot d0a31f5034 2004-05-18 Sebastien Pouliot <[email protected]>
* ASN1Convert.cs: In sync with Mono.Security.dll version.
	* StrongName.cs: In sync with Mono.Security.dll version.

svn path=/trunk/mcs/; revision=27587
2004-05-18 13:43:17 +00:00
Sebastien Pouliot 916c8ae86f 2004-05-18 Sebastien Pouliot <[email protected]>
* Assembly.cs: Return an empty Evidence collection to avoid
	NullReferenceException from calling code (as this is never
	null with MS implementation). See bugzilla #53548.

svn path=/trunk/mcs/; revision=27586
2004-05-18 13:02:33 +00:00
Sebastien Pouliot 75dacf7bbd 2004-05-18 Sebastien Pouliot <[email protected]>
* Buffer.cs: Added checks for null source and destination. Fix failing
	CryptoStream unit test.
	* Guid.cs: Fixed thread-safety issue. Simplified implementation to use
	pseudo-random numbers to generate GUIDs (as per section 3.4 of the
	spec). This removes the TODO to get the computer MAC address and
	the chances to get a duplicate GUID (across different machines).

svn path=/trunk/mcs/; revision=27585
2004-05-18 12:04:04 +00:00
Ravindra 18b476a537 * CustomLineCap.cs: Added null checks and corrected Dispose method.
svn path=/trunk/mcs/; revision=27584
2004-05-18 11:52:34 +00:00
Ravindra c945b94ae9 * Pen.cs: Added value checks in DashPattern and CompoundArray
properties.

svn path=/trunk/mcs/; revision=27583
2004-05-18 11:49:42 +00:00
Sebastien Pouliot e2f8d7c4f9 2005-05-18 Sebastien Pouliot <[email protected]>
* BufferTest.cs: Added missing tests for BlockCopy exceptions.

svn path=/trunk/mcs/; revision=27582
2004-05-18 11:43:42 +00:00
Sanja Gupta 82ec1082b2 ChangeLog: Updated ChangeLog
TestImageFormatConverter.cs: Fixed issues with test case.

svn path=/trunk/mcs/; revision=27581
2004-05-18 11:36:29 +00:00
Sanja Gupta d2020ddbb6 ChangeLog: UpdateChangeLog
TestImageConverter.cs: Fixed issues with test case

svn path=/trunk/mcs/; revision=27580
2004-05-18 11:25:20 +00:00
Sanja Gupta fc9972c2d3 ChangeLog: Updated ChangeLog.
TestIconConverter.cs: Fixed issues with test case.

svn path=/trunk/mcs/; revision=27579
2004-05-18 11:12:42 +00:00
Zoltan Varga ff9b2c5410 2004-05-18 Zoltan Varga <[email protected]>
* mini.c (create_helper_signature): Use a helper function to reduce
	the code which needs to be written. Also set the calling convention of
	icalls on windows. Fixes #57840.

svn path=/trunk/mono/; revision=27578
2004-05-18 10:55:15 +00:00
Paolo Molaro ee07ba426d Tue May 18 11:05:18 CEST 2004 Paolo Molaro <[email protected]>
* mini.h, exceptions-x86.c, exceptions-sparc.c, exceptions-s390.c,
	exceptions-ppc.c: added helper function to get the instruction address
	from a signal handler context.

svn path=/trunk/mono/; revision=27577
2004-05-18 08:27:58 +00:00
Ravindra 644e89a1c7 Minor sentence corrections.
svn path=/trunk/mcs/; revision=27576
2004-05-18 08:27:24 +00:00
Ravindra a2a7a67c02 Minor formatting.
svn path=/trunk/mcs/; revision=27574
2004-05-18 08:25:14 +00:00
Ravindra 6daf8ea664 Typo.
svn path=/trunk/mcs/; revision=27573
2004-05-18 08:21:12 +00:00
Ravindra 8f3191ef9d * System.Drawing_test.dll.sources: Added TestHatchBrush.cs to the
test sources list.
	* README: Added some guidelines for writing tests/samples.

svn path=/trunk/mcs/; revision=27572
2004-05-18 08:19:19 +00:00
Marek Safar 47b2cfce7a 2004-05-18 Marek Safar <[email protected]>
* test-254.cs: New test for #52585.

svn path=/trunk/mcs/; revision=27571
2004-05-18 08:02:25 +00:00
Marek Safar f64e0c0b44 2004-05-18 Marek Safar <[email protected]>
* cs0592-8.cs,
	* cs0657-{2-17}.cs,
	* cs1518-3.cs: 18 new error tests.

svn path=/trunk/mcs/; revision=27570
2004-05-18 07:56:35 +00:00
Atsushi Eno a7f134a1a9 2004-05-18 Atsushi Enomoto <[email protected]>
* SqlDecimal.cs : Fixed AdjustScale(). When reducing digits, scale
	  parameter was incorrect.

svn path=/trunk/mcs/; revision=27569
2004-05-18 07:46:36 +00:00
Atsushi Eno e57e711f64 2004-05-18 Atsushi Enomoto <[email protected]>
* SqlDecimal.cs :
	  - .ctor(double) initializes the precision as 17. If not sufficient,
	    it calls AdjustScale(), and if too much then it calls Round().
	  - Data should not return the internal array otherwise it might be
	    modified by outer code.
	  - Reimplemented AdjustScale() to work fine.
	  - Reimplemented Parse(). It should rather use Decimal.Parse()
	    rather than SqlDouble.Parse() for parsable value range difference.
	  - Reimplemented Round(). Don't use double.
	  - Fixed ToString() to return "Null" for null value.
	  - Fixed explicit let operator to use double .ctor, not decimal
	    .ctor() so that precision can be handled in the same way as double.

svn path=/trunk/mcs/; revision=27568
2004-05-18 06:55:42 +00:00
Ravindra bde80e3981 * TestHatchBrush.cs: Removed. Now, we have a better test for HatchBrush
under Test/System.Drawing.Drawing2D directory.

svn path=/trunk/mcs/; revision=27567
2004-05-18 06:37:14 +00:00
Ravindra 99afc6c7d1 * TestHatchBrush.cs: Added a test case for HatchBrush.cs.
* TestBlend.cs: dos2unix format and namespace changed to
	MonoTests.System.Drawing.Drawing2D.
	* TestColorBlend.cs: dos2unix format and namespace changed to
	MonoTests.System.Drawing.Drawing2D.

svn path=/trunk/mcs/; revision=27566
2004-05-18 06:09:33 +00:00
Atsushi Eno c78ab46991 2004-05-18 Atsushi Enomoto <[email protected]>
* SqlDecimalTest.cs :
	  Don't catch all kind of exception. That hides the exact error info.
	  Don't use ToSqlString() in AdjustScale() test (to make which is
	  wrong).
	  MS.NET's ToSqlInt32() is buggy; no worth following the behavior.
	  Added test for parsing "999999..." (SqlDecimal.MaxValue).

svn path=/trunk/mcs/; revision=27564
2004-05-18 05:14:22 +00:00
Duncan Mak 4f6a26c2a3 Gonzalo reminded me that I need to update the version number as
well. We're at 0.7.6 now.

svn path=/trunk/mcs/; revision=27562
2004-05-18 04:46:40 +00:00
Gonzalo Paniagua Javier eb35fd3737 2004-05-18 Gonzalo Paniagua Javier <[email protected]>
* HttpUtility.cs: use lower case in UrlEncode like MS does. Delay
	entities hashtable creation until it's really needed.

svn path=/trunk/mcs/; revision=27561
2004-05-18 04:38:14 +00:00
Duncan Mak cd8af73359 (CreateUnixSocketStream): Instead of hostList [0], which is a char,
use hostList directly. This fixes the build.

svn path=/trunk/mcs/; revision=27560
2004-05-18 04:21:54 +00:00
Gonzalo Paniagua Javier 5b23316dfe 2004-05-18 Gonzalo Paniagua Javier <[email protected]>
* socket-io.c: field value changed for Int32 from 'value' to 'm_value'.
	Fixes bug #58373.

svn path=/trunk/mono/; revision=27559
2004-05-18 04:17:00 +00:00
Duncan Mak 6269699a07 Build fix
svn path=/trunk/mcs/; revision=27558
2004-05-18 03:47:58 +00:00
Duncan Mak 1da941cf42 * Makefile: Add reference to Mono.Posix.dll.
* ByteFX.Data.dll.sources: Update to latest listing of source
files.

* AssemblyInfo.cs: Revert back to the previous version, because we
don't have bytefx.snk.

* mysqlclient/transcaction.cs: Removed, replaced by the new
transaction.cs.

svn path=/trunk/mcs/; revision=27557
2004-05-18 03:45:54 +00:00
Duncan Mak 54c8857254 Sync the ByteFX source tree to the latest version:
http://www.bytefx.com/releases/ByteFX.MySqlClient.76.src.zip

svn path=/trunk/mcs/; revision=27556
2004-05-18 03:16:43 +00:00
Atsushi Eno e00c1cd980 2004-05-18 Atsushi Enomoto <[email protected]>
* DataSetTest.cs : Converted CRLF to LF for line ending comparison.
	  (and added copyright line.)

svn path=/trunk/mcs/; revision=27555
2004-05-18 02:58:18 +00:00
Sebastien Pouliot be18a0f207 2004-05-17 Sebastien Pouliot <[email protected]>
* RNGCryptoServiceProviderTest.cs: Added new tests to see how the
	constructor behave with null seeds or if they modify the seed.

svn path=/trunk/mcs/; revision=27553
2004-05-18 01:46:19 +00:00
Ben Maurer c6cf2f4308 2004-05-17 Ben Maurer <[email protected]>
* helpers.c: use g_get_tmp_dir. Invokes happyness
	from gonzalo.

svn path=/trunk/mono/; revision=27552
2004-05-18 01:45:49 +00:00
Ben Maurer 3fec6b9b9b 2004-05-17 Ben Maurer <[email protected]>
* helpers.c: Add new env variable to pass args to objdump.
	Specifically for those of us who love -Mintel. r=miguel, gonzalo.

svn path=/trunk/mono/; revision=27551
2004-05-18 01:35:10 +00:00
Gonzalo Paniagua Javier 1265a06ea4 2004-05-18 Gonzalo Paniagua Javier <[email protected]>
* TextBox.cs: don't save the Text if in ViewState if it's a password.
	Save it if the control is not visible or not enabled. Fixes bug #58497.

svn path=/trunk/mcs/; revision=27549
2004-05-18 00:56:18 +00:00
Gonzalo Paniagua Javier 698bb3cd32 2004-05-18 Gonzalo Paniagua Javier <[email protected]>
* TextBox.cs: removed ^Ms and reformatted.

svn path=/trunk/mcs/; revision=27548
2004-05-18 00:43:35 +00:00
Jackson Harper 9fc844b793 * CultureInfo.cs: Invariant culture has the invariant culture as
its parent....<insert joke about the south>. It is readonly so we
	can return this.

svn path=/trunk/mcs/; revision=27547
2004-05-18 00:23:19 +00:00
Neale Ferguson d7ce0f424f Fix local variable allocation logic
svn path=/trunk/mono/; revision=27546
2004-05-18 00:12:50 +00:00
Jackson Harper 32cbdd5985 * CultureInfo.cs: Invariant culture has the invariant culture as
its parent....<insert joke about the south>.

svn path=/trunk/mcs/; revision=27545
2004-05-17 23:37:04 +00:00
Gonzalo Paniagua Javier 8e70fc3962 2004-05-18 Gonzalo Paniagua Javier <[email protected]>
* WebException.cs: implemented serialization .ctor and GetObjectData().

svn path=/trunk/mcs/; revision=27544
2004-05-17 23:19:06 +00:00
Gonzalo Paniagua Javier b53a254e78 2004-05-18 Gonzalo Paniagua Javier <[email protected]>
* SoapHttpClientProtocol.cs: when the response has a not acceptable
	status code, the WebException we throw has a status of ProtocolError.
	Fixes bug #58564.

svn path=/trunk/mcs/; revision=27543
2004-05-17 23:12:01 +00:00
Jackson Harper e0a5360f56 * CultureInfo.cs: Properify error messages when invalid lcid's are
used.

svn path=/trunk/mcs/; revision=27542
2004-05-17 22:47:56 +00:00
Gonzalo Paniagua Javier a221a64c18 2004-05-18 Gonzalo Paniagua Javier <[email protected]>
* HttpApplicationFactory.cs: if no module matches the name found for a
	possible event, ignore it. Fixes bug #58542.

svn path=/trunk/mcs/; revision=27541
2004-05-17 21:37:33 +00:00
Miguel de Icaza 362bcf6ba3 2004-05-17 Miguel de Icaza <[email protected]>
* class.cs (MemberBase.DoDefine): Pass UNSAFE on interface
	definitions.

	(Method): Allow UNSAFE here.

	* modifiers.cs: Support unsafe reporting.

svn path=/trunk/mcs/; revision=27540
2004-05-17 21:22:51 +00:00
Gonzalo Paniagua Javier 99a2ca96d9 2004-05-17 Gonzalo Paniagua Javier <[email protected]>
* ConfigurationSettings.cs: don't ask me why, but the .cctor
	initialization of 'instance' field does no longer work.

svn path=/trunk/mcs/; revision=27539
2004-05-17 20:34:32 +00:00
Miguel de Icaza b668d314eb Flush
svn path=/trunk/mono/; revision=27538
2004-05-17 19:55:40 +00:00
Gonzalo Paniagua Javier b71d0f0f70 2004-05-17 Gonzalo Paniagua Javier <[email protected]>
* gacutil.cs:
	(InstallAssembly): use Array.IndexOf to search for "/f", "-f" or
	"--force" instead of expecting it in a fixed place.

svn path=/trunk/mcs/; revision=27537
2004-05-17 19:47:21 +00:00
Erik Dasque b10714392b added MonoBeta1PressCoverage.htm for Beta 1 press coverage in may. Updated indexes
svn path=/trunk/mono/; revision=27536
2004-05-17 19:31:53 +00:00
Andreas N 02a94c6916 2004-05-17 Andreas Nahr <[email protected]>
* TimeSpan.cs: Only catch expected exceptions, if we get other exceptions
	  than OverflowExceptions then something went wrong internally

svn path=/trunk/mcs/; revision=27535
2004-05-17 19:30:10 +00:00
Duncan Mak 01a193d498 Added section on Nemerle, per request from Kamil Skalski.
svn path=/trunk/mono/; revision=27534
2004-05-17 19:08:42 +00:00
Duncan Mak 6eadf37de4 Untabify and fixed coding style.
(GraphicsPathIterator): Store the path count, path points and path
type arrays instead of calling unmanaged functions in GDI+ each time
to get to get the path data.

(CopyData, Enumerate, HasCurve, Rewind, SubpathCount): Implemented.

svn path=/trunk/mcs/; revision=27533
2004-05-17 18:51:50 +00:00
Miguel de Icaza b538e3116d Fix from Marek to fix pinvoke3.cs
svn path=/trunk/mcs/; revision=27532
2004-05-17 18:51:32 +00:00
Atsushi Eno f4ab0bef2a 2004-05-17 Atsushi Enomoto <[email protected]>
* XmlConvert.cs : Fixed ToString(TimeSpan) that didn't handle Hour
	  correctly. This fixes bug #57786.

svn path=/trunk/mcs/; revision=27531
2004-05-17 18:01:54 +00:00
Atsushi Eno 111d31e19d 2004-05-17 Atsushi Enomoto <[email protected]>
* XmlDataDocument.cs :
	  Removed MonoTODO from implemented members and private members.
	  Updated OnNodeRemoved(), OnDataRowDeleted() and OnDataTableRollback()
	  to match with current implementation.

svn path=/trunk/mcs/; revision=27529
2004-05-17 17:41:20 +00:00
Radek Doulik db7caacaa1 2004-05-17 Radek Doulik <[email protected]>
* Makefile.am (common_sources): added abcremoval.h so it get
	disted and daily mono packages on go-mono.com will build again

svn path=/trunk/mono/; revision=27528
2004-05-17 17:29:45 +00:00
Andreas N 3382c797bb 2004-05-17 Andreas Nahr <[email protected]>
* Char.cs: Fix long standing bug with ToLower/ToUpper not being
	  culture - sensitive

svn path=/trunk/mcs/; revision=27527
2004-05-17 17:27:59 +00:00
Atsushi Eno 75feffdcf8 2004-05-17 Atsushi Enomoto <[email protected]>
* DataSet.cs,
	  XmlDataInferenceLoader.cs,
	  XmlDataReader.cs,
	  XmlSchemaDataImporter.cs : XmlDecode every local name to read and
	  XmlEncode every local name to write. This should fix bug #58268.

svn path=/trunk/mcs/; revision=27524
2004-05-17 17:01:57 +00:00
Atsushi Eno 9990778cc9 2004-05-17 Atsushi Enomoto <[email protected]>
* DataSetTest.cs : Added WriteXmlEncodedXml() test.

svn path=/trunk/mcs/; revision=27523
2004-05-17 16:58:04 +00:00
Miguel de Icaza 4ab87ca826 Flush
svn path=/trunk/mono/; revision=27522
2004-05-17 16:38:49 +00:00
Dick Porter d1e47af8ed 2004-05-17 Dick Porter <[email protected]>
* io.c (CopyFile): Speed up.  Fixes bug 57859.

svn path=/trunk/mono/; revision=27521
2004-05-17 16:07:13 +00:00
Atsushi Eno 9f24e3e501 2004-05-17 Atsushi Enomoto <[email protected]>
* DataSetAssertion.cs : Enabled "Ordinal" check again, unless the test
	  value is -1.
	* DataSetInferXmlSchemaTest.cs,
	  DataSetReadXmlSchemaTest.cs  : Enabled Ordinal check again, as long
	  as working. Added IgnoredNamespaces() to inferxmlschema test.

svn path=/trunk/mcs/; revision=27520
2004-05-17 15:28:12 +00:00
Atsushi Eno 4e8cebe2fa 2004-05-17 Atsushi Enomoto <[email protected]>
* SqlBinary.cs,
	  SqlDateTime.cs,
	  SqlDouble.cs,
	  SqlGuid.cs,
	  SqlMoney.cs,
	  SqlSingle.cs,
	  SqlString.cs : If values are null, ToString() should return "Null".

svn path=/trunk/mcs/; revision=27519
2004-05-17 15:12:17 +00:00
Atsushi Eno aced1da708 2004-05-17 Atsushi Enomoto <[email protected]>
* DataSet.cs : Implemented ignored namespaces in InferXmlSchema().
	  Supported repeated elements. Removed MonoTODOs.
	* XmlDataInferenceLoader.cs : Design change to support ignored
	  namespace and repeated elements.
	* XmlSchemaDataImporter.cs : Added mapping support classes.

svn path=/trunk/mcs/; revision=27518
2004-05-17 15:06:50 +00:00
Sanja Gupta d5ae7da7ca ChangeLog: Updated ChangeLog.
TestIconConverter.cs: Added.
bitmaps/VisualPng.ico: Added.
bitmaps/VisualPng1.ico: Added.

svn path=/trunk/mcs/; revision=27517
2004-05-17 13:28:51 +00:00
Sanja Gupta 56311bab2c ChangeLog: Updated ChangeLog.
System.Drawing_test.dll.sources: Added TestIconConverter to source list.

svn path=/trunk/mcs/; revision=27516
2004-05-17 13:19:33 +00:00
Dick Porter 29aa42c97a Build fixes
svn path=/trunk/mono/; revision=27515
2004-05-17 12:14:29 +00:00
Raja R Harinath 0eb77f0872 (tmpinst-dir): Creates _tmpinst tree if
necessary. Move body ...
(tmpinst-dir.stamp): ... here.
(stage3): Don't remove _tmpinst tree.
(bootstrap-clean, bootstrap-check): New rules.  They run the
corresponding rules in the mcs/ tree.

svn path=/trunk/mono/; revision=27513
2004-05-17 10:08:57 +00:00
Umadevi S f3d8d5e12d 2004-05-17 Umadevi S ([email protected])
* OdbcPermissionAttribute, OdbcPermission.cs - fixed missing methods

svn path=/trunk/mcs/; revision=27512
2004-05-17 10:08:05 +00:00
Massimiliano Mantione f338a0c396 Added documentation for abc removal code.
svn path=/trunk/mono/; revision=27511
2004-05-17 09:35:07 +00:00
Massimiliano Mantione a188e60dac 2004-05-17 Massimiliano Mantione <[email protected]>
svn path=/trunk/mono/; revision=27510
2004-05-17 09:11:53 +00:00
Massimiliano Mantione d1dc118286 Added copyright header.
svn path=/trunk/mono/; revision=27509
2004-05-17 09:11:27 +00:00
Massimiliano Mantione 17cf08c04b Added prototype for abc removal main function.
svn path=/trunk/mono/; revision=27508
2004-05-17 09:04:42 +00:00
Massimiliano Mantione cf45fa5301 Fixed style and moved prototype to mini.h.
svn path=/trunk/mono/; revision=27507
2004-05-17 09:02:27 +00:00
Massimiliano Mantione 659ffa54b9 2004-05-14 Massimiliano Mantione <[email protected]>
svn path=/trunk/mono/; revision=27506
2004-05-17 08:57:51 +00:00
Umadevi S fd9347803b 2004-05-14 Umadevi S ([email protected])
* OleDbAdapter.cs -Implemented attributes, changed method signature for fill

svn path=/trunk/mcs/; revision=27505
2004-05-17 08:56:53 +00:00
Raja R Harinath 37b2ec8785 (all, clean): Remove indirection.
(clean-profiles): New.

svn path=/trunk/mcs/; revision=27504
2004-05-17 08:52:42 +00:00
Massimiliano Mantione b42adeb5e0 Changed header file usage (abcremoval.h).
svn path=/trunk/mono/; revision=27503
2004-05-17 08:49:55 +00:00
Massimiliano Mantione 7213c054ba Fixed coding style.
svn path=/trunk/mono/; revision=27502
2004-05-17 08:45:48 +00:00
Umadevi S cbe452468b 2004-05-14 Umadevi S <[email protected]>
* System.Data.dll.sources : Added SQLDebugging.cs

svn path=/trunk/mcs/; revision=27501
2004-05-17 07:33:01 +00:00
Marek Safar 531dd7c123 2004-05-17 Marek Safar <[email protected]>
* decl.cs: Fix bug #58478.

svn path=/trunk/mcs/; revision=27500
2004-05-17 07:20:58 +00:00
Gert Driesen 88f8cf8c2d * OdbcCategoryAttribute.cs: fixed namespace
* OdbcDataAdapter.cs: removed extra attributes
* OdbcDescriptionAttribute.cs: fixed namespace

svn path=/trunk/mcs/; revision=27499
2004-05-17 06:37:31 +00:00
Gonzalo Paniagua Javier 181a65498c 2004-05-17 Gonzalo Paniagua Javier <[email protected]>
* statement.cs: When checking for unreachable code on an EmptyStatement,
	set the location. Fixes bug #58488.

svn path=/trunk/mcs/; revision=27498
2004-05-17 01:23:34 +00:00
Gonzalo Paniagua Javier ebdbd43045 2004-05-17 Gonzalo Paniagua Javier <[email protected]>
* process.c: use double quotes to quote program name and arguments on
	windows. Fixes bug #58575.

svn path=/trunk/mono/; revision=27497
2004-05-17 00:42:10 +00:00
Gonzalo Paniagua Javier 7ae1740b3f 2004-05-17 Gonzalo Paniagua Javier <[email protected]>
* file-io.c: don't return "." and ".." when using windows Find*File.

svn path=/trunk/mono/; revision=27496
2004-05-17 00:22:20 +00:00
Patrik Torstensson 41f7ebe345 2003-05-17 Patrik Torstensson <[email protected]>
* marshal.c: Don't pass wrappers to message init because method
	addressed used to lookup metadata. part of remoting[2|3] fix.

svn path=/trunk/mono/; revision=27495
2004-05-16 21:37:33 +00:00
Miguel de Icaza 2db8feaede Fix build
svn path=/trunk/mcs/; revision=27494
2004-05-16 20:53:39 +00:00
Miguel de Icaza ca840c4b36 Fix build
svn path=/trunk/mcs/; revision=27493
2004-05-16 20:52:51 +00:00
Miguel de Icaza f60a3314e3 Disable anonymous methods
svn path=/trunk/mcs/; revision=27490
2004-05-16 17:56:15 +00:00
Patrik Torstensson d3620b8aed 2004-05-16 Patrik Torstensson <[email protected]>
* HttpRuntime (Init): Removed old todo
	* HttApplication : Implemented IHttpHandlerFactory recycling

svn path=/trunk/mcs/; revision=27489
2004-05-16 16:48:41 +00:00
Gert Driesen 0e69868443 * DirectoryServicesPermission.cs: marked sealed, added
Serializable attribute
* SearchResultCollection: made Handle public

svn path=/trunk/mcs/; revision=27488
2004-05-16 16:30:38 +00:00
Gert Driesen 5dbd25316b * System.Windows.Forms.Design/IMenuEditorService.cs:
fixed signature

svn path=/trunk/mcs/; revision=27487
2004-05-16 16:22:12 +00:00
Gert Driesen 23e32ce3cc * System.Windows.Forms.Design/DocumentDesigner.cs:
stubbed
* System.Windows.Forms.Design/ParentControlDesigner.cs:
stubbed
* System.Windows.Forms.Design/ScrollableControlDesigner.cs:
stubbed

svn path=/trunk/mcs/; revision=27486
2004-05-16 16:14:11 +00:00
Gert Driesen 20ab038e49 * System.Windows.Forms.Design/ControlDesigner.cs:
stubbed

svn path=/trunk/mcs/; revision=27485
2004-05-16 15:25:23 +00:00
Gert Driesen 3f5d6339ef * UnsafeNativeMethods.cs: added IEnumVariant interface,
added to-do's
* AccessibleObject.cs: stubbed IEnumVariant implementation,
added to-do's

svn path=/trunk/mcs/; revision=27484
2004-05-16 15:23:18 +00:00
Atsushi Eno 99ad74c16d 2004-05-16 Atsushi Enomoto <[email protected]>
* xsd.1 : added description for /generator option.

svn path=/trunk/mono/; revision=27483
2004-05-16 15:21:29 +00:00
Atsushi Eno 8fb3d716a6 2004-05-16 Atsushi Enomoto <[email protected]>
* DirectoryInfo.cs: Fixed ToString() as well as FileInfo.

svn path=/trunk/mcs/; revision=27482
2004-05-16 15:02:47 +00:00
Atsushi Eno 9c425d8ca9 2004-05-16 Atsushi Enomoto <[email protected]>
* FileInfo.cs: ToString() returns not full path but just the file name.

svn path=/trunk/mcs/; revision=27481
2004-05-16 14:53:53 +00:00
Patrik Torstensson d814897206 2004-05-16 Patrik Torstensson <[email protected]>
* ExpiresBucket.cs: Style changes plus;
	(Update): Fixed possible lock bug (bug 54531)
	(Expand): remove lock optimization due to it can cause newly
	added items to be lost.
	(Remove): fixed possible lock bug.

svn path=/trunk/mcs/; revision=27480
2004-05-16 14:43:49 +00:00
Patrik Torstensson 010f3a2087 2004-05-16 Patrik Torstensson <[email protected]>
* basic-long.cs: reg test for complex ceq_long bug.

svn path=/trunk/mono/; revision=27479
2004-05-16 13:18:08 +00:00
Patrik Torstensson 909521f781 2004-05-16 Patrik Torstensson <[email protected]>
* mini-x86.c (mono_arch_local_regalloc): Correctly free
	reg in long and clob case (bug #58343). Fixed/added comments.

svn path=/trunk/mono/; revision=27478
2004-05-16 13:16:45 +00:00
Gert Driesen cf47d2d76a * System.Design.dll.sources: added ISelectionUIHandler
* System.Windows.Forms.Design/ISelectionUIHandler.cs:
added
* System.Windows.Forms.Design/ComponentTray.cs: stubbed

svn path=/trunk/mcs/; revision=27477
2004-05-16 12:46:33 +00:00
Gert Driesen 4898dec25d * CodeDomSerializerException.cs: removed default public
ctror, removed finalizer, removed ToString() method

svn path=/trunk/mcs/; revision=27476
2004-05-16 12:06:27 +00:00
Gert Driesen 7c74c82055 * ByteViewer.cs: removed Site property, added GetBytes sub,
added missing attributes
* LocalizationExtenderProvider.cs: added missing attributes

svn path=/trunk/mcs/; revision=27475
2004-05-16 12:01:58 +00:00
Gert Driesen 03c581a77c * Graphics.cs: fixed warning
* ImageAnimator.cs: fixed warning
* FontConverter.cs: fixed public API

svn path=/trunk/mcs/; revision=27474
2004-05-16 11:47:07 +00:00
Gert Driesen c8514597c4 * GraphicsPath.cs: renamed SetMarker to SetMarkers, to fix
public API to match MS.NET

svn path=/trunk/mcs/; revision=27473
2004-05-16 11:34:27 +00:00
Gert Driesen c76c6cfac3 * EncoderParameterValueType.cs: fix Windows build (CSC),
MCS bug #58571

* EncoderParameter.cs: removed ctors taking int value,
to fix public API

svn path=/trunk/mcs/; revision=27472
2004-05-16 11:28:07 +00:00
Gert Driesen b22358ca00 * IManagedInstaller.cs: fixed signature
* Installer.cs: marked parent internal to match MS
* InstallerCollection.cs: implemented
* InstallEventArgs.cs: remove setter for SavedState

svn path=/trunk/mcs/; revision=27471
2004-05-16 09:22:06 +00:00
Vladimir Vukicevic e932bf2d09 * EncoderParameters.cs: Added ToNativePtr() method to marshal
struct correctly to a native struct.  Resulting data should be
FreeHGlobal'd when finished.

* EncoderParameter.cs: Changed data storage to correspond to
native code layout.  Also changed layout to match native layout.

* EncoderParameterValueType.cs: force EncoderParameterValueType to
be Int32

* gdipFunctions.cs: Fixed prototype for
GdipGetEncoderParameterList

* Image.cs: Reworked Save functions to handle EncoderParameters.
Implemented GetEncoderParameterList.
Also removed unused setGDIPalette internal method.

svn path=/trunk/mcs/; revision=27467
2004-05-15 23:33:15 +00:00
Vladimir Vukicevic 6f39e2d5f7 Changes from arch/CVS synchronization
svn path=/trunk/mcs/; revision=27465
2004-05-15 22:03:58 +00:00
Jackson Harper a3470065d5 * assembly.c: Remove user gac and implement MONO_GAC_PATH, this
path is essentially the same as MONO_PATH except that it points to
	GACs instead of lib directories.
	* loader.h: The user gac is gone so we dont need function to
	enable/disable it.
	* mono-config.c: user gac option is now gone.

svn path=/trunk/mono/; revision=27464
2004-05-15 21:49:35 +00:00
Jackson Harper 962d3d6725 * CultureInfo.cs: Initialize optional calendars. A pointer to an
array of ints is passed back from the runtime to the CultureInfo
	object. The ints store the calendar type and any optional data
	needed to construct the calendar.

svn path=/trunk/mcs/; revision=27462
2004-05-15 20:10:49 +00:00
Jackson Harper 1db9e3e313 * culture-info.h: Make defines more consistent, add calendar data
to the culture info table.
	* culture-info-tables.h: Add basic calendar data. Basically
	everyone gets default gregorian until all the data is
	updated.
	* locales.c: Use the new consistent defines. Set calendar data for
	culture info objects.
	* object.h: add a field for calendar data to CultureInfo

svn path=/trunk/mono/; revision=27461
2004-05-15 20:09:06 +00:00
Duncan Mak f7b1c1a722 Instead of casting null to an IntPtr, use IntPtr.Zero instead. Thanks
to Nick Drochak for spotting this.

svn path=/trunk/mcs/; revision=27460
2004-05-15 19:05:00 +00:00
Rafael Teixeira 68ea632bea 2004-05-15 Rafael Teixeira ([email protected])
* Makefile: corrected /libpath: compiler flag (parameter) to point to ../class/lib/default/ the new location of libraries

svn path=/trunk/mcs/; revision=27459
2004-05-15 18:03:02 +00:00
Gert Driesen 000da9d529 * System.Configuration.Install.dll.sources: added
Assembly/Consts.cs

svn path=/trunk/mcs/; revision=27458
2004-05-15 17:24:39 +00:00
Gert Driesen a3b2c81b31 * Consts.cs: Added
svn path=/trunk/mcs/; revision=27457
2004-05-15 17:23:05 +00:00
Gert Driesen dbfef65642 * InstallContext.cs: removed setter for Parameters
* Installer.cs: added missing attributes, remove
setter for Installers, Context

svn path=/trunk/mcs/; revision=27456
2004-05-15 17:21:51 +00:00
Gert Driesen eed0749763 * ClerkInfo.cs: added internal ctor
svn path=/trunk/mcs/; revision=27455
2004-05-15 16:43:04 +00:00
Gert Driesen faa376b487 * ServiceDomain.cs: added private ctor to match MS
* BYOT.cs: added private ctor to match MS
* RegistrationErrorInfo.cs: marked ctor internal

svn path=/trunk/mcs/; revision=27454
2004-05-15 16:26:41 +00:00
Gert Driesen 6f58865771 * System.EnterpriseServices.dll.sources: Added IConfigurationAttribute
interface

svn path=/trunk/mcs/; revision=27453
2004-05-15 16:18:46 +00:00
Gert Driesen fa08baa33a * IConfigurationAttribute: added
* ApplicationAccessControlAttribute.cs:
* ApplicationActivationAttribute.cs:
* ApplicationIDAttribute.cs:
* ApplicationNameAttribute.cs: stubbed implementation of
IConfigurationAttribute

svn path=/trunk/mcs/; revision=27452
2004-05-15 16:16:33 +00:00
Gert Driesen 386a087eed *** empty log message ***
svn path=/trunk/mcs/; revision=27451
2004-05-15 16:12:18 +00:00
Gert Driesen 3496b6439a * AssemblyInfo.cs: fixed assembly attributes to match MS
frameworks

svn path=/trunk/mcs/; revision=27450
2004-05-15 15:19:42 +00:00
Gert Driesen 9b956f2604 * AssemblyInfo.cs: System.Data.OracleClient is CLS compliant
svn path=/trunk/mcs/; revision=27449
2004-05-15 14:21:13 +00:00
Gert Driesen 48cbabfa38 * Makefile: add reference to Accessibility assembly, needed
to check CLS compliance
* Assembly/AssemblyInfo.cs: System.Design is CLS Compliant

svn path=/trunk/mcs/; revision=27448
2004-05-15 14:18:01 +00:00
Gert Driesen 9c68b6f249 * System.Design.dll.sources: remove DataBindingCollection
* System.Web.UI.Design/DataBindingCollection.cs: removed
* System.Web.UI.Design/HtmlControlDesigner.cs: fixed imports
* System.Web.UI.Design/WebControlToolboxItem.cs: fixed
public API
* System.Web.UI.Design/UrlBuilderOptions.cs: added Flags
attribute

svn path=/trunk/mcs/; revision=27447
2004-05-15 14:13:23 +00:00
Gert Driesen 18c12c1052 * System.Design.dll.sources: added IOleDragClient
* System.ComponentModel.Design/ComponentDesigner.cs: fixed public API
* System.Web.UI.Design/ControlDesigner.cs: fixed public API
* System.Web.UI.Design/HtmlControlDesigner: fixed public API
* System.Windows.Forms.Design/AnchorEditor.cs: fixed public API,
converted to unix linefeeds
* System.Windows.Forms.Design/AxImporter.cs: fixed public API,
converted to unix linefeeds
* System.Windows.Forms.Design/ComponentDocumentDesigner.cs: fixed
public API, converted to unix linefeeds
* System.Windows.Forms.Design/SelectionRules.cs: implementation

svn path=/trunk/mcs/; revision=27445
2004-05-15 13:48:12 +00:00
Gert Driesen f523bd044e * System.Windows.Forms.Design/FileNameEditor.cs: code formatting
* System.Windows.Forms.Design/FolderNameEditor.cs: code formatting
* System.Windows.Forms.Design/MenuCommands.cs: code formatting

svn path=/trunk/mcs/; revision=27444
2004-05-15 13:45:15 +00:00
Gert Driesen 8c4761499e * System.Design.dll.sources: remove MenusCommands, added
MenuCommands
* System.Web.UI.Design/ImageUrlEditor.cs: fixed warnings
* System.Windows.Forms.Design/MenuCommands.cs: added impl
* System.Windows.Forms.Design/MenusCommands.cs: removed,
wrong name

svn path=/trunk/mcs/; revision=27443
2004-05-15 12:12:44 +00:00
Nick Drochak 3f569a1079 2004-05-14 Nick Drochak <[email protected]>
* GraphicsPath.cs: fix build with csc.  No implicit conversion from
	null to IntPtr.  Bug in mcs?

svn path=/trunk/mcs/; revision=27442
2004-05-15 10:53:40 +00:00
Gert Driesen fcf987546e * System.Windows.Forms.Design/FolderNameEditor.cs:
converted to unix linefeeds, marked class TODO, added Flags
attribute to FolderBrowserStyles enum
* System.Windows.Forms.Design/FileNameEditor.cs:
completed stubs, converted to unix linefeeds

svn path=/trunk/mcs/; revision=27441
2004-05-15 10:16:46 +00:00
Gert Driesen 073dabbd04 * System.Windows.Forms.Design/FolderNameEditor.cs: added stub
svn path=/trunk/mcs/; revision=27440
2004-05-15 09:44:35 +00:00
Atsushi Eno 94cdcdb50a 2004-05-15 Atsushi Enomoto <[email protected]>
* CustomDataClassGenerator.cs :
	  Added property parent "[foo]Row" and children "Get[foo]Row" support
	  for custom DataRow classes.
	  Fixed DataColumn property accessibility (public --> internal).

svn path=/trunk/mcs/; revision=27439
2004-05-15 08:54:45 +00:00
Gert Driesen cfe62586cb rolled back change to use mono runtime, committed by accident
svn path=/trunk/mono/; revision=27438
2004-05-15 06:41:09 +00:00
Peter Dennis Bartok 2435a73b4e - Fixed Text set property. If user updated text field through UI the
text!=value comparison might be off

svn path=/trunk/mcs/; revision=27437
2004-05-15 03:55:07 +00:00
Peter Dennis Bartok 211872b6ec - Fixed Text get property (also fixes bug #55005)
- Removed debug output

svn path=/trunk/mcs/; revision=27436
2004-05-15 03:27:07 +00:00
Peter Dennis Bartok 8b6f2d95b6 - Implemented Graphics.MeasureCharacterRanges method
- Added CharacterRange handling to StringFormat

svn path=/trunk/mcs/; revision=27435
2004-05-15 01:53:31 +00:00
Miguel de Icaza c3a262546c Add a few names
svn path=/trunk/mono/; revision=27434
2004-05-14 22:25:10 +00:00
Carlos Alberto Cortez 3065dfdd67 Support for delegates and nestedt types added
svn path=/trunk/mcs/; revision=27433
2004-05-14 22:21:47 +00:00
Todd Berman cdefe9e8a0 2004-05-14 Todd Berman <[email protected]>
* gacutil.cs: Remove old file/symlink, thanks urs.

svn path=/trunk/mcs/; revision=27432
2004-05-14 22:21:24 +00:00
Ben Maurer 57d4440617 share runtime code, r=zoltan
svn path=/trunk/mono/; revision=27431
2004-05-14 22:05:06 +00:00
Gert Driesen 584bf73dbd Added class status pages for these assemblies:
- System.Configuration.Install
- System.Data.OracleClient
- System.Drawing.Design
- System.Design
- System.Management
- System.Messaging

svn path=/trunk/mono/; revision=27429
2004-05-14 20:49:39 +00:00
Peter Dennis Bartok 3744ec8174 - Added error check
svn path=/trunk/mcs/; revision=27427
2004-05-14 20:28:34 +00:00
Duncan Mak 0a60e85735 * GraphicsPath.cs (ConvertPoints): Removed, we'll do the
conversion in C.
(GraphicsPath): Use GdipCreatePath2I instead.
(SetMarker, ClearMarkers):
(Flatten, GetBounds, IsOutlineVisible, IsVisible):
(StartFigure, CloseFigure, CloseFigures):
(Warp, Widen): Implemented. I left the MonoTODO attribute on for
the methods where the equivalent C function has not yet been
implemented.

* GraphicsPathIterator.cs (Count): Implemented.

* gdipFunctions.cs (GdipCreatePath2I, GdipAddPathPieI):
(GdipFlattenPath, GdipWarpPath, GdipWidenPath):
(GdipGetPathWorldBounds, GdipGetPathWorldBoundsI): Imported.

svn path=/trunk/mcs/; revision=27424
2004-05-14 19:29:19 +00:00
Mike Kestner e5759e4837 2004-05-14: Mike Kestner <[email protected]>
* ClientRemotingConfig.cs : stub
	* ComSoapPublishError.cs : stub
	* GenerateMetadata.cs : stub
	* IComSoapIISVRoot.cs : impl
	* IComSoapMetadata.cs : impl
	* IISVirtualRoot.cs : impl
	* IServerWebConfig.cs : impl
	* ServerWebConfig.cs : stub

svn path=/trunk/mcs/; revision=27423
2004-05-14 19:18:44 +00:00
Zoltan Varga 5ada7022ff 2004-05-14 Zoltan Varga <[email protected]>
* ChangeLog: Fix author of memory leak patch.

svn path=/trunk/mono/; revision=27422
2004-05-14 18:19:12 +00:00
Zoltan Varga a2b81dff7e 2004-05-14 Zoltan Varga <[email protected]>
* appdomain.c (MONO_CORLIB_VERSION): Bump corlib version.

svn path=/trunk/mono/; revision=27421
2004-05-14 18:10:59 +00:00
Sebastien Pouliot b2744fd13e 2004-05-14 Sebastien Pouliot <[email protected]>
* UTF8Encoding.cs: Added code to check for overlongs.

svn path=/trunk/mcs/; revision=27419
2004-05-14 17:41:31 +00:00
Atsushi Eno 75833b045e 2004-05-14 Atsushi Enomoto <[email protected]>
* CustomDataClassGenerator.cs :
	  - Put classes inside custom DataSet class.
	  - Added automatic DataRelation creation support.
	  - Added Constraints creation support. That is done separate from
	    relations, since they might be independently created.
	  - Added non-MS public DataRelation fields.
	  - Removed extraneous "DataRelation type generation" code.
	  - Fixed custom_dataset.Initialize() not to create "c" field that
	    was created more than once.
	  - Implemented AddxxxRow() that takes parameters for every column.

svn path=/trunk/mcs/; revision=27418
2004-05-14 16:42:48 +00:00
Miguel de Icaza c1385914f5 Flush
svn path=/trunk/mono/; revision=27417
2004-05-14 15:57:56 +00:00
Miguel de Icaza 7f373e776e Flush
svn path=/trunk/mono/; revision=27416
2004-05-14 15:57:22 +00:00
Jackson Harper 4f742c58fc * gacutil.cs: Always install the package files.
svn path=/trunk/mcs/; revision=27415
2004-05-14 15:45:45 +00:00
Jackson Harper 1ab6c801b8 * library.make: Install package files. Get params in magical
correct order.

svn path=/trunk/mcs/; revision=27414
2004-05-14 15:42:24 +00:00
Anirban Bhattacharjee 47c497c0d6 * mb-parser.jay: few Property related grammar changes
svn path=/trunk/mcs/; revision=27413
2004-05-14 14:55:23 +00:00
Anirban Bhattacharjee 7c36d2ed00 * mb-tokenizer.cs: Bug fixed - Got Property working
svn path=/trunk/mcs/; revision=27412
2004-05-14 14:52:55 +00:00
Miguel de Icaza 7b6935eaea Patch from Gonzalo to improve pkg-config handling
svn path=/trunk/mcs/; revision=27411
2004-05-14 14:32:19 +00:00
Jackson Harper cd14db04a0 * library.make: Install package files.
svn path=/trunk/mcs/; revision=27410
2004-05-14 14:26:49 +00:00
Dick Porter de035cb2c7 2004-05-14 Dick Porter <[email protected]>
* HebrewCalendar.cs: Stubbed ToFourDigitYear()

	* HijriCalendar.cs: Stubbed HijriAdjustment

svn path=/trunk/mcs/; revision=27409
2004-05-14 14:05:18 +00:00
Sanja Gupta 5442f16916 ChangeLog: Updated ChangeLog.
ImageFormatConverter.cs: Modified implementation of ConvertFrom() method.

svn path=/trunk/mcs/; revision=27407
2004-05-14 13:40:06 +00:00
Sanja Gupta 7dbb09a87a ChangeLog: Updated ChangeLog
System.Drawing_test.dll.sources: Added TestImageConverter.cs and TestImageFormatCoverter.cs.

svn path=/trunk/mcs/; revision=27406
2004-05-14 13:37:03 +00:00
Sebastien Pouliot 24a73cab4c 2004-05-14 Sebastien Pouliot <[email protected]>
* UTF8Encoding.cs: Moved charCount-- after the check for surrogate
	pair. This fix bug #57009 (and 2 failing unit tests).

svn path=/trunk/mcs/; revision=27405
2004-05-14 13:36:37 +00:00
Sebastien Pouliot 9993e4e210 2004-05-14 Sebastien Pouliot <[email protected]>
* UTF8EncodingTest.cs: Test both characters in test 2.1.4.

svn path=/trunk/mcs/; revision=27404
2004-05-14 13:33:10 +00:00
Dick Porter 1f181241c9 Shut CVS up
svn path=/trunk/mono/; revision=27403
2004-05-14 13:27:25 +00:00
Sanja Gupta 30d98c1aab ChangeLog: Update ChangeLog
TestBitmap.cs: Modified method signature to static for use in other files.
TestImageConverter.cs: Added.
TestImageFormatConverter.cs: Added.
bitmaps/almogaver24bits1.bmp: Added.

svn path=/trunk/mcs/; revision=27402
2004-05-14 13:25:38 +00:00
Zoltan Varga dbb5513138 2004-05-14 Zoltan Varga <[email protected]>
* Buffer.cs: Optimize BlockCopy.

	* Environment.cs: Bump corlib version.

svn path=/trunk/mcs/; revision=27401
2004-05-14 13:06:16 +00:00
Zoltan Varga ffadde26f7 2004-05-14 Zoltan Varga <[email protected]>
* icall.c (ves_icall_System_Reflection_Assembly_load_with_partial_name): Fix warning.

	* appdomain.c (MONO_CORLIB_VERSION): Bump corlib version.

	* icall.c: Optimize Buffer.BlockCopy.

svn path=/trunk/mono/; revision=27400
2004-05-14 13:04:47 +00:00
Massimiliano Mantione 29b8cc3208 Added array bounds check (ABC) removal optimization.
svn path=/trunk/mono/; revision=27399
2004-05-14 12:54:27 +00:00
Jordi Mas i Hernandez af528ec870 change for Sachin
svn path=/trunk/mcs/; revision=27398
2004-05-14 12:39:30 +00:00
Umadevi S f1e7f363b3 2004-05-14 Umadevi S ([email protected])
* OdbcParameter.cs - Added Attributes
	* OdbcParamerterConverter.cs - Added File

svn path=/trunk/mcs/; revision=27397
2004-05-14 12:35:56 +00:00
Paolo Molaro 6a2dfc589c Fri May 14 15:13:06 CEST 2004 Paolo Molaro <[email protected]>
* Makefile.am: fix make dist as well...

svn path=/trunk/mono/; revision=27396
2004-05-14 12:35:18 +00:00
Umadevi S 0e3fa8a5ff 2004-05-14 Umadevi S ([email protected])
* Updated System.Data.dll.sources - Added OdbcParameterConverter.cs

svn path=/trunk/mcs/; revision=27395
2004-05-14 12:31:23 +00:00
Umadevi S cbefdb98c2 *** empty log message ***
svn path=/trunk/mcs/; revision=27393
2004-05-14 12:11:14 +00:00
Paolo Molaro 82078d04eb Fri May 14 14:30:13 CEST 2004 Paolo Molaro <[email protected]>
* mini.c, cfold.c: fix style.

svn path=/trunk/mono/; revision=27392
2004-05-14 11:55:11 +00:00
Paolo Molaro 21005c1758 Fri May 14 14:28:22 CEST 2004 Paolo Molaro <[email protected]>
* mini.c: handle issue with the low-level implementation of
	some long opcodes (bug #54209).

svn path=/trunk/mono/; revision=27391
2004-05-14 11:51:35 +00:00
Umadevi S 02583168f9 2004-05-14 Umadevi S ([email protected])
* OdbcCommand.cs - Added Attributes

svn path=/trunk/mcs/; revision=27390
2004-05-14 11:51:09 +00:00
Atsushi Eno 618ba6e268 2004-05-14 Atsushi Enomoto <[email protected]>
ChangeLog update was missing.

svn path=/trunk/mcs/; revision=27389
2004-05-14 11:33:40 +00:00
Atsushi Eno 88b09ce83f 2004-05-14 Atsushi Enomoto <[email protected]>
* XmlSchemaDataImporter.cs : When primary key is used more than once,
	  DataRelation borked because of empty parent column name.

svn path=/trunk/mcs/; revision=27388
2004-05-14 11:32:49 +00:00
Atsushi Eno bf13e10685 2004-05-14 Atsushi Enomoto <[email protected]>
* DataSetReadXmlSchemaTest.cs : Added test014.xsd tes (contains two
	  simple repeatable elements).

svn path=/trunk/mcs/; revision=27387
2004-05-14 11:32:01 +00:00
Atsushi Eno 9f93b9b01a 2004-05-14 Atsushi Enomoto <[email protected]>
* test014.xsd : added.

svn path=/trunk/mcs/; revision=27386
2004-05-14 11:31:09 +00:00
Umadevi S 4b4be57368 2004-05-14 Umadevi S ([email protected])
* OdbcCommand.cs - Added Attributes

svn path=/trunk/mcs/; revision=27385
2004-05-14 11:31:01 +00:00
Raja R Harinath bcba34cecc * SearchResultCollection.cs: Add a few more stubs.
* SchemaNameCollection.cs: Likewise.

svn path=/trunk/mcs/; revision=27384
2004-05-14 11:30:25 +00:00
Dick Porter ae463a57df Fix build
svn path=/trunk/mono/; revision=27382
2004-05-14 11:26:20 +00:00
Zoltan Varga ff39f88dbf 2004-05-14 Zoltan Varga <[email protected]>
* MethodBuilder.cs: Add Equals and GetHashCode.

svn path=/trunk/mcs/; revision=27380
2004-05-14 11:23:29 +00:00
Zoltan Varga 864dd2012c 2004-05-14 Zoltan Varga <[email protected]>
* Assembly.cs: Fix build.

svn path=/trunk/mcs/; revision=27379
2004-05-14 11:22:47 +00:00
Zoltan Varga 2673f7ec67 2004-05-14 Zoltan Varga <[email protected]>
* TypeBuilder.cs: Add IsSubclassOf.

svn path=/trunk/mcs/; revision=27376
2004-05-14 11:09:20 +00:00
Umadevi S 81b45cb3aa 2004-05-14 Umadevi S ([email protected])
* OdbcDataReader.cs - Added Attributes

svn path=/trunk/mcs/; revision=27374
2004-05-14 11:08:12 +00:00
Zoltan Varga 29bd12f2d6 2004-05-14 Zoltan Varga <[email protected]>
* Assembly.cs: Add stub for LoadFrom.

svn path=/trunk/mcs/; revision=27373
2004-05-14 11:06:12 +00:00
Raja R Harinath b90499d893 * DirectoryServicesPermission.cs: Fix typo.
* SchemaNameCollection.cs: Revert.  Add MonoTODO attributes.

svn path=/trunk/mcs/; revision=27372
2004-05-14 10:57:29 +00:00
Marek Safar 29e67c28b3 2004-05-14 Marek Safar <[email protected]>
* cs3008-7.cs: New test for bug #58478.

svn path=/trunk/mcs/; revision=27370
2004-05-14 10:37:41 +00:00
Umadevi S dfdbca7223 2004-05-14 Umadevi S <[email protected]>
* System.Data.dll.sources : Added OdbcCategoryAttribute.cs OdbcDescriptionAttribute.cs

svn path=/trunk/mcs/; revision=27369
2004-05-14 10:37:25 +00:00
Umadevi S bf543a48d2 004-05-14 Umadevi S ([email protected])
* Added Classes OdbcCategoryAttribute.cs, OdbcDescriptionAttribute.cs

svn path=/trunk/mcs/; revision=27368
2004-05-14 10:35:40 +00:00
Atsushi Eno 0f953d8d26 2004-05-14 Atsushi Enomoto <[email protected]>
* XmlSchemaDataImporter.cs : When Creating constraints with related
	  to DataRelation creation, also set PrimaryKey to the parent table.

svn path=/trunk/mcs/; revision=27367
2004-05-14 10:35:27 +00:00
Atsushi Eno 2f9b6ea568 2004-05-14 Atsushi Enomoto <[email protected]>
* DataSetTest.cs,
	  DataSetReadXmlTest.cs,
	  DataSetReadXmlSchemaTest.cs,
	  DataSetInferXmlSchemaTest.cs,
	  DataSetAssertion.cs : AssertDataTable() now checks Constraint count
	  and ParentKey length.

svn path=/trunk/mcs/; revision=27366
2004-05-14 10:34:26 +00:00
Massimiliano Mantione e5bdea8c56 Added array bounds check (ABC) removal optimization.
svn path=/trunk/mono/; revision=27365
2004-05-14 10:30:10 +00:00
Massimiliano Mantione 496b8a7805 Made so that conversions from pointer to int4 are no-ops on archs where pointers are 4 bytes long.
svn path=/trunk/mono/; revision=27364
2004-05-14 10:26:55 +00:00
Umadevi S 61d48e609d 2004-05-14 Umadevi S <[email protected]>
* System.Data.dll.sources : Added OdbcCommandBuilder.cs

svn path=/trunk/mcs/; revision=27363
2004-05-14 10:08:07 +00:00
Umadevi S 4eeb43ddaf 2004-05-14 Umadevi S ([email protected])
* Added Class OdbcCommandBuilder.cs

svn path=/trunk/mcs/; revision=27362
2004-05-14 10:07:10 +00:00
Raja R Harinath c4514f477c * System.DirectoryServices.dll.sources: Add
DirectoryServicesPermission{,Attribute,Entry,EntryCollection}.cs
and TODOAttribute.cs.

svn path=/trunk/mcs/; revision=27361
2004-05-14 10:04:11 +00:00
Raja R Harinath d6dc0dfa37 * DirectoryEntries.cs (SchemaFilter): New stub.
* DirectoryEntry.cs: Add missing [MonoTODO] to NotImplemented
classes.  Remove DesignerCategory attribute.
* DirectorySearcher.cs: Likewise.
* PropertyValueCollection.cs (AddRange([object[]): Don't go into
an infinite loop.
(AddRange(PropertyValueCollection)): New.
(CopyTo): New.
* ResultPropertyCollection.cs (ResultPropertyCollection): Make
internal.
(CopyTo): New.
* SchemaNameCollection.cs: Implement.
* SortOption.cs (PropertyName, Direction): Add DSDescription and
DefaultValue attributes.
* DirectoryServicesPermission.cs: New file.
* DirectoryServicesPermissionAttribute.cs: Likewise.
* DirectoryServicesPermissionEntry.cs: Likewise.
* DirectoryServicesPermissionEntryCollection.cs: Likewise.
* TODOAttribute.cs: Likewise.

svn path=/trunk/mcs/; revision=27360
2004-05-14 10:03:13 +00:00
Atsushi Eno df8f3ff537 2004-05-14 Atsushi Enomoto <[email protected]>
* XmlSchemaDataImporter.cs :
	  Design change to add indirect table and relation structures.
	  Support for "relation" annotation for local element.
	  Support for repeatable simple element column (maxOccurs > 1).
	  Fixed handling of Nested property on DataRelation (for globally
	  annotated relation, Nested is false).

svn path=/trunk/mcs/; revision=27359
2004-05-14 09:59:59 +00:00
Atsushi Eno f487e69db7 2004-05-14 Atsushi Enomoto <[email protected]>
* DataSetReadXmlSchemaTest.cs : Added tests for test012.xsd (repeatable
	  simple element) and test013.xsd (reference to global element;
	  currently failing).

svn path=/trunk/mcs/; revision=27358
2004-05-14 09:54:12 +00:00
Umadevi S 9a537330f5 2004-05-14 Umadevi S <[email protected]>
* System.Data.dll.sources : Added OdbcInfoMessageEventArgs.cs, OdbcInfoMessageEventHandler.cs

svn path=/trunk/mcs/; revision=27357
2004-05-14 09:53:18 +00:00
Umadevi S e2ab5d83c5 2004-05-14 Umadevi S ([email protected])
* Added classes OdbcInfoMessageEventArgs.cs - with stubs
        * Added classes OdbcInfoMessageEventInfo.cs

svn path=/trunk/mcs/; revision=27356
2004-05-14 09:51:06 +00:00
Atsushi Eno 52953e9c06 2004-05-14 Atsushi Enomoto <[email protected]>
* test012.xsd, test013.xsd : added.

svn path=/trunk/mcs/; revision=27355
2004-05-14 09:50:56 +00:00
Umadevi S d350c6b33f 2004-05-14 Umadevi S <[email protected]>
* System.Data.dll.sources : Added OdbcPermission.cs,OdbcPermissionAttribute.cs

svn path=/trunk/mcs/; revision=27354
2004-05-14 09:34:09 +00:00
Umadevi S 0b0d7e2355 2004-05-14 Umadevi S ([email protected])
* Added classes OdbcPermission.cs, OdbcPermissionAttribute.cs - with stubs

svn path=/trunk/mcs/; revision=27353
2004-05-14 09:32:29 +00:00
Marek Safar fd587ba8f7 2004-05-14 Marek Safar <[email protected]>
* cs3008-7.cs: New test for bug #58478.

svn path=/trunk/mcs/; revision=27352
2004-05-14 08:42:05 +00:00
Vladimir Vukicevic 8981619146 * binary_serialization_format.htm: renamed filename from having
spaces to _'s (checked with lluis)

svn path=/trunk/mcs/; revision=27351
2004-05-14 07:57:21 +00:00
Umadevi S 4e42fbd18a 2004-05-14 Umadevi S ([email protected])
* OleDbCommand.cs - Completed implementing all the attribute

svn path=/trunk/mcs/; revision=27350
2004-05-14 07:56:30 +00:00
Umadevi S 6a6f2c9260 2004-05-14 Umadevi S ([email protected])
* OleDbCommand.cs - Completed implementing all the attribute

svn path=/trunk/mcs/; revision=27349
2004-05-14 07:44:01 +00:00
Umadevi S fada37ea87 2004-05-14 Umadevi S ([email protected])
* OleDbConnection.cs - Completed implementing all the attributes
                           - Stubbed EnlistDistributedTransaction method

svn path=/trunk/mcs/; revision=27342
2004-05-14 06:30:19 +00:00
Gonzalo Paniagua Javier 10cfe84e20 Got rid of those Internal(1) warnings
svn path=/trunk/mcs/; revision=27341
2004-05-14 06:19:22 +00:00
Gonzalo Paniagua Javier 343a7a5710 2004-05-14 Gonzalo Paniagua Javier <[email protected]>
* Calendar.cs: fire OnDayRender after assigning the calendar cell text.
	Fixes bug #58097.

svn path=/trunk/mcs/; revision=27340
2004-05-14 05:41:49 +00:00
Raja R Harinath 669391d0a1 Revert unlogged unexplained changes.
(stage3): Make 'all-profiles' since the mono source tarball
carries all the net_2_0 preview dlls.

svn path=/trunk/mono/; revision=27339
2004-05-14 05:36:34 +00:00
Umadevi S 98d7031f10 2004-05-14 Umadevi S ([email protected])
* OleDbDataAdapter.cs - Completed implementing all the attributes
                           - Stubbed the Fill methods

svn path=/trunk/mcs/; revision=27338
2004-05-14 05:34:01 +00:00
Gonzalo Paniagua Javier 6724d64da3 2004-05-14 Gonzalo Paniagua Javier <[email protected]>
* culture-info-tables.h: seems like Spanish and Portuguese cultures had
	DateTimeFormatInfo.YearMonthPattern like "MMMM' yyyy" (note the single
	quote). Changed them to "MMMM yyyy".

svn path=/trunk/mono/; revision=27337
2004-05-14 05:21:48 +00:00
Umadevi S cdf38c8cb3 2004-05-14 Umadevi S ([email protected])
* OleDbParameter.cs - Completed implementing all the attributes

svn path=/trunk/mcs/; revision=27335
2004-05-14 04:46:17 +00:00
Atsushi Eno d1b83f96c2 2004-05-14 Atsushi Enomoto <[email protected]>
* XmlDsigC14NTransform.cs : Reverted Ingore attribute that does not
	  seem like incorrect test.

svn path=/trunk/mcs/; revision=27334
2004-05-14 04:38:11 +00:00
Atsushi Eno 4f70c8bd3e 2004-05-14 Atsushi Enomoto <[email protected]>
* Reverted xmlns change that seems my misinterpretation.

svn path=/trunk/mcs/; revision=27333
2004-05-14 04:35:59 +00:00
Gonzalo Paniagua Javier f186acc44a 2004-05-14 Gonzalo Paniagua Javier <[email protected]>
* HtmlForm.cs: default value for Enctype is "".
	* HtmlInputFile.cs: if no one set the encoding type for the HtmlForm,
	we set it to "multipart/form-data". Fixes bug #58359.

svn path=/trunk/mcs/; revision=27332
2004-05-14 04:32:32 +00:00
Atsushi Eno 46d5c0775a 2004-05-14 Atsushi Enomoto <[email protected]>
* __ComObject.cs : This class is not regarded as CLSCompliant by csc.
	  See also bug #58478.

svn path=/trunk/mcs/; revision=27331
2004-05-14 03:56:34 +00:00
Gonzalo Paniagua Javier 21eafae84c 2004-05-14 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Compilation/BaseCompiler.cs: use DynamicBase for the output
	assemblies.

	* System.Web.Configuration/CompilationConfiguration.cs: a null value is
	ok for TempDirectory.

	* System.Web.Hosting/AppDomainFactory.cs: set the Dynamic base for the
	AppDomain.

	Fixes bug #57726.

svn path=/trunk/mcs/; revision=27329
2004-05-14 03:01:04 +00:00
Gonzalo Paniagua Javier db9292e4b5 2004-05-14 Gonzalo Paniagua Javier <[email protected]>
* TempFileCollection.cs: don't create a Random object on every call to
	BasePath.

svn path=/trunk/mcs/; revision=27328
2004-05-14 02:30:31 +00:00
Sanja Gupta ab1b18c6c4 ChangeLog: Updated ChangeLog.
ImageFormatConverter.cs: Implemented GetStandardValuesSupported() method.

svn path=/trunk/mcs/; revision=27327
2004-05-14 02:25:44 +00:00
Gonzalo Paniagua Javier 24bbb48eab 2004-05-14 Gonzalo Paniagua Javier <[email protected]>
* AppDomainSetup.cs: don't throw an exception if dynamic_base has not
	been set. Just return null as MS. Fixes bug #58120.

svn path=/trunk/mcs/; revision=27326
2004-05-14 01:18:45 +00:00
Gonzalo Paniagua Javier a150227a1e 2004-05-14 Gonzalo Paniagua Javier <[email protected]>
* corlib.dll.sources: removed obsolete Mono/Runtime.cs
	* corlib_test.dll.sources: added BinderTests
	* Mono: removed obsolete directory.
	* Mono/ChangeLog: Removed file.
	* Mono/Runtime.cs: Removed file.

svn path=/trunk/mcs/; revision=27325
2004-05-14 01:06:00 +00:00
Gonzalo Paniagua Javier ee18bd70ce removed extra <tr>
svn path=/trunk/mono/; revision=27324
2004-05-14 00:55:36 +00:00
Gonzalo Paniagua Javier 5c8ad0fda3 2004-05-14 Gonzalo Paniagua Javier <[email protected]>
* UrlUtils.cs: respect trailing slashes. Fixes bug #56802.

svn path=/trunk/mcs/; revision=27323
2004-05-14 00:22:16 +00:00
Gonzalo Paniagua Javier 0dfe2b3696 2004-05-14 Gonzalo Paniagua Javier <[email protected]>
* UrlUtils.cs: no more ^Ms.

svn path=/trunk/mcs/; revision=27322
2004-05-14 00:16:00 +00:00
Gonzalo Paniagua Javier ee6f7f3b36 2004-05-14 Gonzalo Paniagua Javier <[email protected]>
* Makefile: install-local is verbose now.

svn path=/trunk/mcs/; revision=27321
2004-05-14 00:11:23 +00:00
Lluis Sanchez 94ede21d42 * AggregateDictionary.cs: Moved to System.Runtime.Remoting.Channels
namespace.
	* BaseChannelObjectWithProperties.cs: format.
	* BaseChannelWithProperties.cs: Implemented.

svn path=/trunk/mcs/; revision=27319
2004-05-13 23:40:11 +00:00
Ben Maurer 8790f8eec2 move on now
svn path=/trunk/mono/; revision=27318
2004-05-13 23:34:42 +00:00
Ben Maurer 636e687442 2004-05-13 Ben Maurer <[email protected]>
* basic.cs: test for my new cmov stuff.

svn path=/trunk/mono/; revision=27317
2004-05-13 22:39:33 +00:00
Ben Maurer fa6ff5f8a9 fix build
svn path=/trunk/mono/; revision=27316
2004-05-13 22:37:52 +00:00
Miguel de Icaza 310e501c06 FixetyFix
svn path=/trunk/mcs/; revision=27315
2004-05-13 22:35:44 +00:00
Marek Safar 17b718a094 Removed useless [CLSCompliant(false)]
svn path=/trunk/mcs/; revision=27314
2004-05-13 22:28:44 +00:00
Mike Kestner 8b44340c98 add guid
svn path=/trunk/mcs/; revision=27313
2004-05-13 21:37:47 +00:00
Ben Maurer 9d5ce3c2e7 new cases for stuff I have been working on
svn path=/trunk/mono/; revision=27312
2004-05-13 21:22:39 +00:00
Mike Kestner 7c606a6af3 2004-05-13: Mike Kestner <[email protected]>
* SoapClientImportUtil.cs : add a TODO
	* SoapServerTlb.cs : stub
	* SoapServerVRoot.cs : stub
	* SoapUtility.cs : stub

svn path=/trunk/mcs/; revision=27311
2004-05-13 21:17:18 +00:00
Mike Kestner 3738551392 2004-05-13: Mike Kestner <[email protected]>
* AppDomainHelper.cs : stub
	* AssemblyLocator.cs : stub
	* ClrObjectFactory.cs : stub
	* ComManagedImportUtil.cs : stub
	* Publish.cs : stub
	* SoapClientImport.cs : stub

svn path=/trunk/mcs/; revision=27310
2004-05-13 20:42:07 +00:00
Miguel de Icaza 54bad6c8db 2004-05-13 Miguel de Icaza <[email protected]>
* driver.cs: Add -pkg handling.

svn path=/trunk/mcs/; revision=27309
2004-05-13 20:25:05 +00:00
Miguel de Icaza f85048dd21 Flush
svn path=/trunk/mono/; revision=27308
2004-05-13 20:24:49 +00:00
Mike Kestner 1fd039cf92 2004-05-13: Mike Kestner <[email protected]>
* IClrObjectFactory.cs : add guid.
	* IComManagedImportUtil.cs : add guid.
	* IComSoapPublisher.cs : add guid.
	* ISoapClientImport.cs : impl.
	* ISoapServerTlb.cs : impl.
	* ISoapServerVRoot.cs : impl.
	* ISoapUtility.cs : impl.

svn path=/trunk/mcs/; revision=27305
2004-05-13 19:10:55 +00:00
Sebastien Pouliot d2da1f5c88 2004-05-14 Sebastien Pouliot <[email protected]>
* corlib.dll.sources: Added System/__ComObject.cs to the build.

svn path=/trunk/mcs/; revision=27304
2004-05-13 19:04:02 +00:00
Sebastien Pouliot 2384356529 2004-05-13 Sebastien Pouliot <[email protected]>
* __ComObject.cs: To please corcompare (no implementation).

svn path=/trunk/mcs/; revision=27303
2004-05-13 19:02:30 +00:00
Miguel de Icaza 17d13ed41c Update
svn path=/trunk/mono/; revision=27302
2004-05-13 18:43:26 +00:00
Francisco Figueiredo Jr. 371c6fe74b 2004-05-13 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlHashAlgorithm.cs: Changed exception type from Exception t
o InvalidOperationException when calling the Hash property and hash value is nul
l. Thanks Gonzalo Paniagua Javier <[email protected]> for catching that.

svn path=/trunk/mcs/; revision=27299
2004-05-13 18:23:17 +00:00
Francisco Figueiredo Jr. 1d152084b7 2004-05-13 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlHashAlgorithm.cs: Changed exception type from Exception to InvalidOperationException when calling the Hash property and hash value is null. Thanks Gonzalo Paniagua Javier <[email protected]> for catching that.

svn path=/trunk/mcs/; revision=27298
2004-05-13 18:22:18 +00:00
Zoltan Varga bf4a56375a 2004-05-13 Zoltan Varga <[email protected]>
* reflection.h: Updated after changes to managed structures.

	* appdomain.c: Bump corlib version.

svn path=/trunk/mono/; revision=27297
2004-05-13 18:11:44 +00:00
Zoltan Varga e7b2e50be3 2004-05-13 Zoltan Varga <[email protected]>
* Environment.cs: Bump corlib version.

svn path=/trunk/mcs/; revision=27296
2004-05-13 18:10:09 +00:00
Zoltan Varga 3b67e9fb1e 2004-05-13 Zoltan Varga <[email protected]>
* Assembly.cs: Add ModuleResolve event.

svn path=/trunk/mcs/; revision=27295
2004-05-13 18:09:44 +00:00
Sebastien Pouliot 29ddfa3b81 2004-05-13 Sebastien Pouliot <[email protected]>
* Thread.cs: Added missing MemoryBarrier (only for 1.1) and SpinWait to please
	corcompare. Both throw a NotImplementedException.
	* ThreadPool.cs: Added missing UnsafeRegisterWaitForSingleObject methods (4
	overloads) to please corcompare. All throw a NotImplementedException.

svn path=/trunk/mcs/; revision=27293
2004-05-13 17:47:00 +00:00
Dick Porter 60f4754270 2004-05-13 Dick Porter <[email protected]>
* mono-mutex.c (mono_mutex_unlock): Return EPERM when the current
	thread doesn't own the mutex, rather than assert()ing.

svn path=/trunk/mono/; revision=27292
2004-05-13 17:37:30 +00:00
Zoltan Varga 75e24be1b9 2004-05-13 Zoltan Varga <[email protected]>
* AssemblyBuilder.cs: Make extra methods internal. mcs was changed
	to handle this a long time ago.

svn path=/trunk/mcs/; revision=27291
2004-05-13 17:37:16 +00:00
Jackson Harper d88e327260 * Makefile: default build is no longer the multi profile build. Do
build both 1.1 and 2.0 profiles use the all-profiles target.

svn path=/trunk/mcs/; revision=27290
2004-05-13 17:25:56 +00:00
Zoltan Varga 320f35b864 2004-05-13 Zoltan Varga <[email protected]>
* TypeBuilder.cs: Add IsAssignableFrom and IsInstanceOfType.

svn path=/trunk/mcs/; revision=27289
2004-05-13 17:21:16 +00:00
Zoltan Varga 6d6869d1d4 2004-05-13 Zoltan Varga <[email protected]>
* Module.cs (Mono_GetGuid): Make this internal.

svn path=/trunk/mcs/; revision=27288
2004-05-13 17:20:32 +00:00
Mike Kestner f2fd14aaa5 2004-05-13 Mike Kestner <[email protected]>
* ApplicationCrmEnabledAttribute.cs : add ComVisible.  Hide val field.
	* ClerkInfo.cs : stub
	* ClerkMonitor.cs : stub

svn path=/trunk/mcs/; revision=27287
2004-05-13 16:32:43 +00:00
Dick Porter 0937ade06a 2004-05-13 Dick Porter <[email protected]>
* UdpClient.cs:
	* TcpClient.cs: Public API fixes

svn path=/trunk/mcs/; revision=27286
2004-05-13 16:22:40 +00:00
Lluis Sanchez c75ec101a3 * SerializationTest.cs: Test serialization of empty struct arrays. This
used to fail.

svn path=/trunk/mcs/; revision=27285
2004-05-13 16:08:41 +00:00
Lluis Sanchez 9e8bde8303 * ObjectWriter.cs: Fixed and Simplified WriteGenericArray and
WriteSingleDimensionArrayElements. This also fixes bug #58345.

svn path=/trunk/mcs/; revision=27284
2004-05-13 16:05:38 +00:00
Mike Kestner fb2b8099be 2004-05-13 Mike Kestner <[email protected]>
* RegistrationHelper.cs : add Guid and 2 methods
	* RegistrationHelperTx.cs : add Guid and 2 methods
	* SynchronizationAttribute.cs : add ComVisible

svn path=/trunk/mcs/; revision=27283
2004-05-13 15:59:35 +00:00
Mike Kestner 42d846de70 2004-05-13 Mike Kestner <[email protected]>
* ContextUtil.cs : fix sigs for 2 methods
	* RegistrationConfig.cs : impl

svn path=/trunk/mcs/; revision=27282
2004-05-13 15:39:47 +00:00
Jackson Harper 22c236ffaf * CultureInfo.cs: You can access DateTimeFormat and NumberFormat
from the invariant culture.

svn path=/trunk/mcs/; revision=27281
2004-05-13 15:17:07 +00:00
Lluis Sanchez 30314b972c * XmlSerializationWriter.cs: Implemented some missing methods.
In .NET 1.0, encoded null elements use the attribute null="1", while in
	  1.1 the attribute is nil="true".
	* XmlTypeMapping.cs: Little fix for nested classes.

svn path=/trunk/mcs/; revision=27279
2004-05-13 15:09:35 +00:00
Rafael Teixeira d3b27cce9c 2004-05-13 Rafael Teixeira <[email protected]>
* Utils.cs: 
		Finally implement fully method CopyArray
		Progression: all nunit-tests for this method now pass on Mono, as they do in .NET

svn path=/trunk/mcs/; revision=27278
2004-05-13 14:55:15 +00:00
Mike Kestner 35201fe0d0 2004-05-13 Mike Kestner <[email protected]>
* EventTrackingEnabledAttribute.cs : add ComVisible
	* ExceptionClassAttribute.cs : add ComVisible
	* IISIntrinsicsAttribute.cs : add ComVisible
	* InterfaceQueuingAttribute.cs : add ComVisible
	* JustInTimeActivationAttribute.cs : add ComVisible
	* LoadBalancingSupportedAttribute.cs : add ComVisible
	* MustRunInClientContextAttribute.cs : add ComVisible
	* ObjectPoolingAttribute.cs : add ComVisible
	* PrivateComponentAttribute.cs : add ComVisible

svn path=/trunk/mcs/; revision=27277
2004-05-13 14:54:50 +00:00
Sebastien Pouliot 116797e522 2004-05-13 Sebastien Pouliot <[email protected]>
* CompressedStack.cs: Added an internal constructor so a default one
	doesn't appear with corcompare.

svn path=/trunk/mcs/; revision=27276
2004-05-13 14:47:10 +00:00
Jackson Harper ff38205e3c * CultureInfo.cs: DateTimeFormat and NumberFormat can not be
accessed for neutral cultures.

svn path=/trunk/mcs/; revision=27275
2004-05-13 14:43:05 +00:00
Sebastien Pouliot 7fcbfac84a 2004-05-13 Sebastien Pouliot <[email protected]>
* SignedXml.cs: Update TODO informations.

svn path=/trunk/mcs/; revision=27274
2004-05-13 14:36:48 +00:00
Jordi Mas i Hernandez ec2a0dd41e include tests in the process and remove not longer need it TestBitmap case
svn path=/trunk/mcs/; revision=27273
2004-05-13 14:29:54 +00:00
Jordi Mas i Hernandez ba9523ce98 bmpcodec and ImageCodec tests
svn path=/trunk/mcs/; revision=27272
2004-05-13 14:26:53 +00:00
Jordi Mas i Hernandez 76e66b730a JpegCodec Testcase
svn path=/trunk/mcs/; revision=27271
2004-05-13 14:22:47 +00:00
Atsushi Eno bb254c546c 2004-05-13 Atsushi Enomoto <[email protected]>
* XmlCanonicalizer.cs :
	  Element namespace is not XPath-selected(selectable) namespace nodes
	  and that should be outputted.
	  Don't return null for empty output.

svn path=/trunk/mcs/; revision=27270
2004-05-13 14:21:58 +00:00
Atsushi Eno 87223a0b93 2004-05-13 Atsushi Enomoto <[email protected]>
* XmlDsigBase64Transform.cs :
	  LoadInput() should retrieve all the descendants.
	  GetOutput() should handle nodes without digging into child nodes.

svn path=/trunk/mcs/; revision=27269
2004-05-13 14:19:22 +00:00
Sebastien Pouliot d81bae3ec2 2004-05-13 Sebastien Pouliot <[email protected]>
* Environement.cs: Removed two security attributes for CurrentDirectory
	that weren't documented (and anyway we don't support them).

svn path=/trunk/mcs/; revision=27268
2004-05-13 14:13:32 +00:00
Lluis Sanchez 569da76f56 Added
svn path=/trunk/mcs/; revision=27267
2004-05-13 14:04:19 +00:00
Atsushi Eno fd25fbd628 2004-05-13 Atsushi Enomoto <[email protected]>
* DataRow.cs : Added DataElement property to avoid storing every row-
	  element mapping. It stored even for nodes that should be removed.

svn path=/trunk/mcs/; revision=27266
2004-05-13 13:59:49 +00:00
Zoltan Varga 9e8399eed9 2004-05-13 Zoltan Varga <[email protected]>
* TypeBuilder.cs (ToString): Make this consistent with MS.NET.

svn path=/trunk/mcs/; revision=27265
2004-05-13 13:59:13 +00:00
Jordi Mas i Hernandez 088b3927d7 jpeg 24 bits sample
svn path=/trunk/mcs/; revision=27264
2004-05-13 13:52:53 +00:00
Patrik Torstensson cc57331140 2004-05-13 Patrik Torstensson
* mini-x86.c: added OP_X86_COMPARE_MEMBASE_IMM peephole
	opt and added peephole documentation.

svn path=/trunk/mono/; revision=27263
2004-05-13 13:52:01 +00:00
Miguel de Icaza e5a5518fe8 Update with Massi's idea
svn path=/trunk/mono/; revision=27262
2004-05-13 13:30:48 +00:00
Zoltan Varga b52b2342e9 2004-05-13 Zoltan Varga <[email protected]>
* FieldInfo.cs: Add stubs for {Get,Set}ValueDirect.

svn path=/trunk/mcs/; revision=27261
2004-05-13 13:25:50 +00:00
Zoltan Varga 91c673fd99 2004-05-13 Zoltan Varga <[email protected]>
* TypeBuilder.cs MethodBuilder.cs ConstructorBuilder.cs: Implement
	ToString ().

svn path=/trunk/mcs/; revision=27260
2004-05-13 13:10:36 +00:00
Umadevi S 131e878b75 2004-05-13 Umadevi S ([email protected])
* OleDbDataReader.cs - Stubbed HasRows method
                        - Implemented EditorBrowsableAttribute
        * OleDbParameterConverter.cs - Stubbed this class
        * OleDbParameter.cs - Added a few attributes.

svn path=/trunk/mcs/; revision=27258
2004-05-13 10:47:06 +00:00
Umadevi S 8dfa1ba968 2004-05-13 Umadevi S <[email protected]>
* System.Data.dll.sources : added OleDbParameterConverter.cs

svn path=/trunk/mcs/; revision=27257
2004-05-13 10:42:14 +00:00
Jordi Mas i Hernandez 4597d0b6d3 helper scripts to run swi tests
svn path=/trunk/mcs/; revision=27256
2004-05-13 10:34:03 +00:00
Jordi Mas i Hernandez 1b3caabcdc 32-bit bitmap sample
svn path=/trunk/mcs/; revision=27255
2004-05-13 10:21:41 +00:00
Umadevi S 894f66fc34 2004-05013 Umadevi S <[email protected]>
* System.Data.dll.sources : added RelationshipConverter.cs

svn path=/trunk/mcs/; revision=27254
2004-05-13 09:54:08 +00:00
Umadevi S ed3eafa6dd 2004-05-13 Umadevi S <[email protected]>
* RelationshipConverter.cs - Stubbed this class
        * DataRelation.cs - added TypeConveterAttribute

svn path=/trunk/mcs/; revision=27253
2004-05-13 09:52:55 +00:00
Atsushi Eno 3231b47e35 2004-05-13 Atsushi Enomoto <[email protected]>
* XmlDataDocument.cs : Removed row-element mapping. Just use new
	  DataRow.DataElement property. Added/removed some comments.

svn path=/trunk/mcs/; revision=27251
2004-05-13 09:14:46 +00:00
Lluis Sanchez fecd228e26 * System.Runtime.Remoting.dll.sources: Added:
System.Runtime.Remoting.Channels.Http/AggregateDictionary.cs,
	  System.Runtime.Remoting.Services/RemotingClientProxy.cs,
	  System.Runtime.Remoting.Services/RemotingService.cs

svn path=/trunk/mcs/; revision=27250
2004-05-13 09:13:50 +00:00
Lluis Sanchez 45b9119cdb * RemotingClientProxy.cs, RemotingService.cs: Added.
svn path=/trunk/mcs/; revision=27249
2004-05-13 09:07:24 +00:00
Lluis Sanchez 3e925dd61f * SUDSGeneratorException.cs, SUDSParserException.cs: Removed unneeded
methods and added internal constructor.
	* SdlChannelSink.cs: Fixed public constructor.
	* SdlChannelSinkProvider.cs: Added missing constructor.

svn path=/trunk/mcs/; revision=27248
2004-05-13 09:00:46 +00:00
Paolo Molaro fa36c12eaf Thu May 13 11:41:49 CEST 2004 Paolo Molaro <[email protected]>
* tramp-ppc.c: rewrote the generic trampoline code.

svn path=/trunk/mono/; revision=27247
2004-05-13 08:59:53 +00:00
Lluis Sanchez fe5721d637 * TcpChannel.cs: Made Init private.
* TcpClientTransportSink.cs, TcpClientTransportSinkProvider.cs,
	  TcpServerTransportSink.cs: Made internal.

svn path=/trunk/mcs/; revision=27246
2004-05-13 08:59:05 +00:00
Lluis Sanchez a1befbed05 * HttpChannel.cs, HttpClientChannel.cs: Added missing IDictionary
properties.
	* HttpRemotingHandler.cs: Added missing constructor.
	* HttpRemotingHandlerFactory.cs: Made ConfigureHttpChannel private.
	* HttpServerChannel.cs: Fixed IDictionary properties.

svn path=/trunk/mcs/; revision=27245
2004-05-13 08:55:28 +00:00
Lluis Sanchez 0a461a9b9c * BinaryCore.cs, SoapCore.cs: Added Properties property.
* BinaryServerFormatterSink.cs, SoapServerFormatterSink.cs: Added missing
	  TypeFilterLevel property.
	* BinaryServerFormatterSinkProvider.cs: Fixed setter for TypeFilterLevel.
	* SoapServerFormatterSinkProvider.cs: Added missing TypeFilterLevel
	  property.

svn path=/trunk/mcs/; revision=27244
2004-05-13 08:48:08 +00:00
Lluis Sanchez 6378e18dd8 AssemblyInfo.cs: Removed CLSCompliant attribute.
svn path=/trunk/mcs/; revision=27243
2004-05-13 08:43:09 +00:00
Umadevi S 606d9f626b 2004-05-13 Umadevi S <[email protected]>
* DataColumnCollection.cs - Added ResDescriptionAttribute
        * DataRelation.cs - Added TypeConverterAttribute
        * DataRelationCollection.cs - Added DefaultPropertyAttribute
        * DataRowView.cs - Added GetHashCode method with a TODO tag
        * DataSet.cs - Added DesignerAttribute
        * DataView.cs - Added DesignerAttribute
        * DataViewManager.cs - Added DesignerAttribute
        * DataViewSetting.cs - Added TypeConverterAttribute

svn path=/trunk/mcs/; revision=27241
2004-05-13 07:46:01 +00:00
Jordi Mas i Hernandez 28eafe391c make private data private
svn path=/trunk/mcs/; revision=27240
2004-05-13 07:39:14 +00:00
Atsushi Eno 37601e10f9 2004-05-13 Atsushi Enomoto <[email protected]>
* XsdValidatingReaderTests.cs : Ignore TestNamespaceFalse(). It is not
	  kind of thing that should be supported.
	* XmlValidatingReaderTests.cs : commented a bit.

svn path=/trunk/mcs/; revision=27238
2004-05-13 07:26:39 +00:00
Atsushi Eno 02fb9f05e2 2004-05-13 Atsushi Enomoto <[email protected]>
* CharacterData.cs : More don't check error message.

svn path=/trunk/mcs/; revision=27237
2004-05-13 07:24:57 +00:00
Atsushi Eno e7849a7aea 2004-05-13 Atsushi Enomoto <[email protected]>
* Document.cs : More don't check error message.

svn path=/trunk/mcs/; revision=27236
2004-05-13 07:24:38 +00:00
Atsushi Eno 7557c9c2ad 2004-05-13 Atsushi Enomoto <[email protected]>
* Text.cs : More don't check error message.

svn path=/trunk/mcs/; revision=27235
2004-05-13 07:24:17 +00:00
Atsushi Eno a30aba7e98 2004-05-13 Atsushi Enomoto <[email protected]>
* XmlSchema.cs : Removed FIXME. No PSVI required.
	* XmlSchemaAll.cs : Removed FIXME. It was not done.
	* XmlSchemaAttributeGroupRef.cs : Removed FIXME. It can be annotated.
	* XmlSchemaChoice.cs : not FIXME but LAMESPEC.
	* XmlSchemaSimpleTypeRestriction.cs : Added check for non
	  XmlSchemaFacet items on Compile(). Thus removed FIXME.
	* XmlSchemaUtil.cs : Fixed SplitList to handle sequential spaces.
	  Thus removed FIXME.
	* XmlSchemaObjectTable. cs: modified to use HybridDictionary (mostly
	  for avoiding iterator order difference).

svn path=/trunk/mcs/; revision=27232
2004-05-13 07:09:03 +00:00
Peter Dennis Bartok f9665d4497 - Fixed bug #52868, Bitmap(Image, Size) would not resize the image
svn path=/trunk/mcs/; revision=27231
2004-05-13 06:26:25 +00:00
Umadevi S 3f468f6084 2004-05-13 Umadevi S ([email protected])
* DbDataPermissionAttribute.cs - Added KeyRestrictions property with a TODO tag

svn path=/trunk/mcs/; revision=27230
2004-05-13 05:49:30 +00:00
Umadevi S d788e9aec7 2004-05-13 Umadevi S <[email protected]>
*  SqlClientPermission.cs, SqlDataReader.cs - added missing methods with TODO tags
        *  SqlCommand.cs, SqlDataAdapter.cs - implemented ToolboxItemAttribute
        *  SQLDebugging.cs - Added new file with a TODO tag

svn path=/trunk/mcs/; revision=27229
2004-05-13 05:29:56 +00:00
Sanja Gupta 21b14e727b ChangeLog: Updated ChangeLog.
GraphicsState.cs: Added internal constructor.

svn path=/trunk/mcs/; revision=27226
2004-05-13 05:19:28 +00:00
Sanja Gupta 68aa476b9c ChangeLog: Updated ChangeLog
MetafileHeader.cs: Added internal constructor.
PropertyItem.cs: Added internal constructor.

svn path=/trunk/mcs/; revision=27225
2004-05-13 05:17:42 +00:00
Atsushi Eno da650ba480 2004-05-13 Atsushi Enomoto <[email protected]>
* DefaultContext.cs : Removed MonoTODO. done.
	* Expression.cs : handle XPathResultType.Navigator in some places and
	  removed MonoTODO. Mark MonoTODO with explicit comments (though they
	  are mostly pointing out possibilities of optimization).
	  Removed extra check that depended on the old bugs.
	* XPathResultType.cs : Fixed .Navigator that had the same value as
	  .String.

svn path=/trunk/mcs/; revision=27224
2004-05-13 05:09:14 +00:00
Peter Dennis Bartok 3c2237bbe7 - Implemented GetThumbnailImage method
svn path=/trunk/mcs/; revision=27223
2004-05-13 05:07:59 +00:00
Atsushi Eno e0cfce445b 2004-05-13 Atsushi Enomoto <[email protected]>
* XmlSchemaSimpleTypeRestriction.cs : Removed MonoTODO. done.

svn path=/trunk/mcs/; revision=27222
2004-05-13 05:01:01 +00:00
Atsushi Eno c90e7f11e6 2004-05-13 Atsushi Enomoto <[email protected]>
* XmlValidatingReader.cs : explicitly mark as MonoTODO for XDR (not
	  supported).

svn path=/trunk/mcs/; revision=27221
2004-05-13 05:00:37 +00:00
Carlos Alberto Cortez dd76b32ca9 Added the --private option to monop to show private/family members
svn path=/trunk/mcs/; revision=27220
2004-05-13 03:52:53 +00:00
Gonzalo Paniagua Javier 95ed6c4c40 2004-05-13 Gonzalo Paniagua Javier <[email protected]>
* WebAsyncResult.cs: don't create the WaitHandle if not needed.

svn path=/trunk/mcs/; revision=27219
2004-05-13 03:37:35 +00:00
Sanja Gupta 4c94a3d5b8 ChangeLog: Updated ChangeLog.
Graphics.cs: Made method FromXDrawable(IntPtr, IntPtr) internal.

svn path=/trunk/mcs/; revision=27218
2004-05-13 03:36:13 +00:00
Umadevi S 1ae45ce41b 2004-05-13 Umadevi S <[email protected]>
*  Literal.cs - made class internal

svn path=/trunk/mcs/; revision=27217
2004-05-13 03:19:21 +00:00
Sanja Gupta de77cf4f59 ChangeLog: Updated ChangeLog.
Graphics.cs: Made method DrawRectangle (Pen, RectangleF) internal.

svn path=/trunk/mcs/; revision=27216
2004-05-13 03:16:37 +00:00
Sanja Gupta 02bc85cf44 ChangeLog: Updated ChangeLog.
GraphicsPath.cs: Added stub for missing method CloseFigure().

svn path=/trunk/mcs/; revision=27215
2004-05-13 03:06:41 +00:00
Sanja Gupta 460cda8266 ChangeLog: Updated ChangeLog.
Metafile.cs: Added Editor attribute to class Metafile.

svn path=/trunk/mcs/; revision=27214
2004-05-13 03:00:29 +00:00
Sanja Gupta 71f4f40e36 ChangeLog: Updated ChangeLog.
WmfPlaceablleFileHeader.cs: Removed extra property Id.

svn path=/trunk/mcs/; revision=27213
2004-05-13 02:50:09 +00:00
Gonzalo Paniagua Javier ec49116c9e 2004-05-13 Gonzalo Paniagua Javier <[email protected]>
* System.Net/HttpWebRequest.cs: added 3 missing properties for 1.1. They
	are not used yet.

	* System.Net/NetConfig.cs: added MaxResponseHeadersLength field.

	* System.Net/ServicePoint.cs:
	* System.Net/ServicePointManager.cs: added missing properties for 1.1.

	* System.Net.Configuration/NetConfigurationHandler.cs: process the
	httpWebRequest node too. Better error checking.

svn path=/trunk/mcs/; revision=27211
2004-05-13 02:26:55 +00:00
Gonzalo Paniagua Javier 21a0b91547 Removed Consoles and ^Ms
svn path=/trunk/mcs/; revision=27210
2004-05-13 02:13:57 +00:00
Gonzalo Paniagua Javier ce62c7590a Removed Consoles and ^Ms
svn path=/trunk/mcs/; revision=27209
2004-05-13 02:05:19 +00:00
Sebastien Pouliot fceba28ede 2004-05-12 Sebastien Pouliot <[email protected]>
* IsolatedStorage.cs: More details on MonoTODO. Throw exceptions on
	AssemblyIdentity and DomainIdentity properties.
	* IsolatedStorageFile.cs: More details on MonoTODO.
	* IsolatedStorageFileStream.cs: Removed MonoTODO on class. Now use
	Path.Combine to build filenames (constructor) and throw an exception
	when we try to get the handle (as documented).

svn path=/trunk/mcs/; revision=27208
2004-05-13 01:32:30 +00:00
Gonzalo Paniagua Javier ad9ebfec30 2004-05-13 Gonzalo Paniagua Javier <[email protected]>
* util.c: use the W version of the function. With this, 'make test'
	works now on windows.

svn path=/trunk/mono/; revision=27207
2004-05-13 01:20:31 +00:00
Miguel de Icaza 9ac72b51b6 Fix potential leak
svn path=/trunk/mono/; revision=27205
2004-05-13 00:32:52 +00:00
Gonzalo Paniagua Javier 724a9774ef 2004-05-13 Gonzalo Paniagua Javier <[email protected]>
* RegistrationHelper.cs: fixed the build on windows. I will file a bug
	report on mcs for this.

svn path=/trunk/mcs/; revision=27204
2004-05-13 00:32:08 +00:00
Gonzalo Paniagua Javier ea8b58bba8 Cscompmgd -> cscompmgd
svn path=/trunk/mono/; revision=27203
2004-05-13 00:25:09 +00:00
Miguel de Icaza d6766f8afa NetBSD GC patches from [email protected]
svn path=/trunk/mono/; revision=27202
2004-05-13 00:23:34 +00:00
Gonzalo Paniagua Javier b5bd323e56 update win. installer
svn path=/trunk/mono/; revision=27201
2004-05-13 00:14:09 +00:00
Gonzalo Paniagua Javier c6406894fb 2004-05-13 Gonzalo Paniagua Javier <[email protected]>
* corlib_test.dll.sources: added BinderTests.cs
	* System.Reflection/Binder.cs: check for ambiguous matches in
	SelectMethod and SelectProperty. Fixes bug #58381
	* Test/System.Reflection/BinderTests.cs: New file.

svn path=/trunk/mcs/; revision=27199
2004-05-12 23:44:10 +00:00
Mike Kestner 326a50c995 2004-05-12 Mike Kestner <[email protected]>
* ApplicationAccessControlAttribute.cs : Add ComVisible and
	s/Impersonation/ImpersonationLevel.
	* ApplicationActivationAttribute.cs : Add ComVisible
	* ApplicationIDAttribute.cs : Add ComVisible
	* ApplicationNameAttribute.cs : Add ComVisible
	* ApplicationQueuingAttribute.cs : Add ComVisible
	* AutoCompleteAttribute.cs : Add ComVisible
	* ComponentAccessControlAttribute.cs : Add ComVisible and remove
	set_Value.
	* COMTIIntrinsicsAttribute.cs : Add ComVisible and remove set_Value.
	* ConstructionEnabledAttribute.cs : Add ComVisible, add Enabled, and
	remove set_Value.
	* DescriptionAttribute.cs : Add ComVisible
	* EventClassAttribute.cs : Add ComVisible and s/InProc/Inproc.
	* SecureMethodAttribute.cs : Add ComVisible
	* SecurityRoleAttribute.cs : Add ComVisible
	* ServicedComponentException.cs : Add ComVisible

svn path=/trunk/mcs/; revision=27197
2004-05-12 20:56:54 +00:00
Atsushi Eno 9ca9de3f91 2004-05-12 Atsushi Enomoto <[email protected]>
* DataRow.cs : Added XmlDataElement initialization code.

svn path=/trunk/mcs/; revision=27196
2004-05-12 20:17:19 +00:00
Mike Kestner 8888648072 2004-05-12 Mike Kestner <[email protected]>
* BOID.cs : add ComVisible attr.
	* ServiceDomain.cs : impl
	* SynchronizationAttribute.cs : add ComVisible attr
	* TransactionAttribute.cs : add ComVisible attr
	* XACTRRANSINFO.cs : add ComVisible attr.

svn path=/trunk/mcs/; revision=27195
2004-05-12 20:10:45 +00:00
Atsushi Eno c62a359a03 2004-05-12 Atsushi Enomoto <[email protected]>
* XmlDataDocument.cs : Radical design change.
	  - GetElementFromRow() must return "detached" element, even if it is
	    not added to table's Rows.
	  - Introduced XmlDataElement class to map element (this class itself)
	    and DataRow _always_ . It is impossible to map *all* DataRows
	    to/from elements only in XmlDataDocument API, since DataRow can
	    be created separate from it (i.e. by table.NewRow()).
	  - Removed unreliable GetElementsByTagName() dependency from most
	    of the code, since users might create elements that has the same
	    name of any tables (that is possible especially unmapped elements).
	  - Adding/Removing delegates on every event action is unnecessary.
	    Use just flags.
	  - For Load(), just using base.Load() will do most of the job.
	  - Attributes and SimpleContents are not handled properly.

	  "Removed" and "Rollback" events are still TODO.

svn path=/trunk/mcs/; revision=27194
2004-05-12 20:09:51 +00:00
Atsushi Eno 8d885b0916 2004-05-12 Atsushi Enomoto <[email protected]>
* XmlDataDocumentTest.cs : use Environment.NewLine. Added more tests.
	* XmlDataDocumentTest2.cs : Test nested relationship, detached row
	  state, and unmapped element as well.

svn path=/trunk/mcs/; revision=27192
2004-05-12 19:51:34 +00:00
Mike Kestner f4237d2357 2004-05-12 Mike Kestner <[email protected]>
* TransactionStatus.cs : impl

svn path=/trunk/mcs/; revision=27191
2004-05-12 19:49:21 +00:00
Dick Porter 6e830e4bb8 2004-05-12 Dick Porter <[email protected]>
* Uri.cs: Reduce(string) is not in the public API.

svn path=/trunk/mcs/; revision=27190
2004-05-12 19:34:24 +00:00
Dick Porter 3cf2eef79b Unbreak the build
svn path=/trunk/mcs/; revision=27189
2004-05-12 19:22:39 +00:00
Miguel de Icaza 1bb57f6eda update
svn path=/trunk/mcs/; revision=27188
2004-05-12 19:21:15 +00:00
Mike Kestner f345a3e920 2004-05-12 Mike Kestner <[email protected]>
* Activity.cs : stub
	* BindingOption.cs : impl
	* InheritanceOption.cs : impl
	* PartitionOption.cs : impl
	* ServiceConfig.cs : stub
	* SxsOption.cs : impl
	* ThreadPoolOption.cs : impl

svn path=/trunk/mcs/; revision=27187
2004-05-12 19:14:35 +00:00
Lluis Sanchez 797c6414c2 * LogicalMethodInfo.cs: Made EnableSession property internal.
svn path=/trunk/mcs/; revision=27186
2004-05-12 19:07:08 +00:00
Lluis Sanchez 9e13c4ccdb * SoapBinding.cs: Added missing attributes. The class is not sealed.
* SoapBodyBinding.cs: Removed unneeded attributes.

svn path=/trunk/mcs/; revision=27185
2004-05-12 19:03:56 +00:00
Dick Porter 27f8a98046 2004-05-12 Dick Porter <[email protected]>
* regex.cs:
	* quicksearch.cs:
	* RegexRunnerFactory.cs:
	* RegexRunner.cs: More public API difference fixes.

svn path=/trunk/mcs/; revision=27184
2004-05-12 19:03:21 +00:00
Mike Kestner 392101edcd 2004-05-12 Mike Kestner <[email protected]>
* IAsyncErrorNotify.cs : oops, should be public
	* IProcessInitComponent.cs : ditto
	* IProcessInitializer.cs : ditto
	* IServiceCall.cs : ditto

svn path=/trunk/mcs/; revision=27181
2004-05-12 18:09:06 +00:00
Sebastien Pouliot 7af6a24eee 2004-05-12 Jaroslaw Kowalski <[email protected]>
* AuthenticationConfigHandler.cs: fixed slidingExpiration and requireSSL

svn path=/trunk/mcs/; revision=27180
2004-05-12 18:04:18 +00:00
Mike Kestner 80b18a2796 2004-05-12 Mike Kestner <[email protected]>
* System.EnterpriseServices.dll.sources: Added new interface files.

2004-05-12  Mike Kestner <[email protected]>

	* IAsyncErrorNotify.cs : implement new 1.1 iface.
	* IPlaybackControl.cs : implement new 1.1 iface.
	* IProcessInitComponent.cs : implement new 1.1 iface.
	* IProcessInitializer.cs : implement new 1.1 iface.
	* IRegistrationHelper.cs : add GUID, fix some param passing.
	* IRemoteDispatch.cs : add GUID
	* IServiceCall.cs : implement new 1.1 iface.
	* IServicedComponentInfo.cs : add GUID
	* ITransaction.cs : add GUID

svn path=/trunk/mcs/; revision=27179
2004-05-12 17:56:00 +00:00
Jordi Mas i Hernandez 1f5c87144a remove added extra dc
svn path=/trunk/mcs/; revision=27177
2004-05-12 16:30:30 +00:00
Miguel de Icaza c9457beb06 flush
svn path=/trunk/mono/; revision=27176
2004-05-12 16:23:00 +00:00
Dick Porter d500d05763 2004-05-12 Dick Porter <[email protected]>
* GroupCollection.cs:
	* MatchCollection.cs:
	* CaptureCollection.cs: Moved GroupCollection, MatchCollection and
	CaptureCollection so that they no longer inherit from the
	non-standard RegexCollectionBase class.  Fixes the API difference.

svn path=/trunk/mcs/; revision=27175
2004-05-12 16:10:07 +00:00
Zoltan Varga 8c6aacbdfd 2004-05-12 Zoltan Varga <[email protected]>
* corlib.dll.sources: Added System.Threading/CompressedStack.cs

svn path=/trunk/mcs/; revision=27174
2004-05-12 16:01:04 +00:00
Zoltan Varga e21949fa8e 2004-05-12 Zoltan Varga <[email protected]>
* CompressedStack.cs: New file.

svn path=/trunk/mcs/; revision=27173
2004-05-12 16:00:10 +00:00
Miguel de Icaza ddd1fba375 Mhm
svn path=/trunk/mono/; revision=27172
2004-05-12 15:44:18 +00:00
Miguel de Icaza 428676040b Update
svn path=/trunk/mono/; revision=27171
2004-05-12 15:43:27 +00:00
Atsushi Eno e0b51a10ce 2004-05-12 Atsushi Enomoto <[email protected]>
* Makefile : added remoting.dll and enterprisesvc.dll.

svn path=/trunk/mono/; revision=27170
2004-05-12 15:40:33 +00:00
Miguel de Icaza 7b1d3ff919 Flush
svn path=/trunk/mono/; revision=27169
2004-05-12 14:30:51 +00:00
Lluis Sanchez de7bdac611 * HttpSimpleWebServiceHandler.cs: Added GetRequestMethod(), which is used
by the handler factory to check if the target method needs session or not.
	  Also factorized error handling in WriteError().
	* HttpSoapWebServiceHandler.cs: Added GetRequestMethod(), for the same
	  reason. Assign the context to the WebService just before invoking the
	  method.
	* SoapHttpClientProtocol.cs: Use helper method to create the xml writer.
	* WebServiceHandler.cs: Added virtual GetRequestMethod().
	* WebServiceHandlerFactory.cs: Use an http handler wrapper when the target
	  method requires session support.
	* WebServiceHelper.cs: Added some helper methods.

svn path=/trunk/mcs/; revision=27168
2004-05-12 14:25:07 +00:00
Lluis Sanchez 42e925fd3a * WebService.cs: Take the session from the context.
svn path=/trunk/mcs/; revision=27167
2004-05-12 14:22:09 +00:00
Sebastien Pouliot 0a2dad82d7 2004-05-12 Jesper Pedersen <[email protected]>
* PKCS12.cs: Removed file exists check from SaveToFile(). Removed
	Equals() and GetHashCode(). Clone the original iteration count.

svn path=/trunk/mcs/; revision=27166
2004-05-12 14:21:25 +00:00
Lluis Sanchez 38c5d018ae * Makefile: Added reference to System.Data.
* services.xml, wsdl.ignore: Updated.
	* wstest.cs: Small improvements.
	* external/BankCodeEJBHomeTest.cs, external/GlobalWeatherTest.cs,
	  external/HPcatalogTest.cs, external/IODCODESPOSTAUXTest.cs,
	  external/TemperatureServiceTest.cs, localhost/ConvDocEncBarTest.cs,
	  localhost/ConvDocEncWraTest.cs, localhost/ConvDocLitBarTest.cs,
	  localhost/ConvDocLitWraTest.cs, localhost/ConvRpcTest.cs
	  Changed namespace to make it easier to select tests in gnunit.
	* localhost/ConvRpcTest.cs: Added test for method that returns "Object".
	* server/ConvDocEncWra.asmx, ConvDocLitWra.asmx, ConvRpc.asmx: New test
	  methods.
	* server/web.config: Added version to vsdisco handler type name.
	* client/localhost/DataServiceTest.cs
	  client/localhost/DuplicateArrayTestTest.cs
	  client/localhost/SessionCounterTest.cs
	  server/DataService.asmx
	  server/DuplicateArrayTest.asmx
	  server/SessionCounter.asmx: New tests.

svn path=/trunk/mcs/; revision=27165
2004-05-12 14:20:47 +00:00
Jordi Mas i Hernandez c8f6299f1b API compatibility changes
svn path=/trunk/mcs/; revision=27164
2004-05-12 13:05:28 +00:00
Ravindra 35e735ec48 * Bitmap.cs, Font.cs, FontConverter.cs, Graphics.cs, Icon.cs, Image.cs
ImageAnimator.cs, Point.cs, PointF.cs, Rectangle.cs, RectangleF.cs
	Region.cs, Size.cs, SizeF.cs, ToolboxBitmapAttribute.cs, gdipFunctions.cs:
	Added missing attributes and some coding style fixes.
	* Pen.cs: Implementing CustomStartCap and CustomEndCap properties and
	some fixes.

svn path=/trunk/mcs/; revision=27163
2004-05-12 12:33:36 +00:00
Jordi Mas i Hernandez 34661a2fac fixes typos
svn path=/trunk/mcs/; revision=27160
2004-05-12 11:44:44 +00:00
Jordi Mas i Hernandez 9269cfde45 fixes class name definition typo
svn path=/trunk/mcs/; revision=27159
2004-05-12 11:34:37 +00:00
Jordi Mas i Hernandez c7c5623c28 LockBitmap tests for different pixel formats
svn path=/trunk/mcs/; revision=27157
2004-05-12 11:07:16 +00:00
Sebastien Pouliot e9aab56cdf 2004-05-12 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Reduce extra/missing in corcompare (again).

svn path=/trunk/mcs/; revision=27156
2004-05-12 10:54:58 +00:00
Umadevi S e072df5639 2004-05-12 Umadevi S <[email protected]>
* Expression.cs, Functions.cs, In.cs, Like.cs, Parser.jay, StringFunctions.cs - made class/enum/interfaces internal

svn path=/trunk/mcs/; revision=27155
2004-05-12 10:48:10 +00:00
Umadevi S 88c950c9cc 2004-05-12 Umadevi S <[email protected]>
* BooleanExpression.cs,ColumnReference.cs, Comparison.cs - made class/enum internal

svn path=/trunk/mcs/; revision=27154
2004-05-12 10:30:48 +00:00
Umadevi S 810d737cda 2004-05-12 Umadevi S <[email protected]>
* ArithmeticExpression.cs - made class internal

svn path=/trunk/mcs/; revision=27153
2004-05-12 10:22:10 +00:00
Umadevi S e00a913152 2004-05-12 Umadevi S <[email protected]>
* Aggregation.cs - made Class/enum internal

svn path=/trunk/mcs/; revision=27152
2004-05-12 10:17:06 +00:00
Atsushi Eno 20efd1a861 2004-05-12 Atsushi Enomoto <[email protected]>
* Parser.jay : made class internal.

svn path=/trunk/mcs/; revision=27151
2004-05-12 09:13:26 +00:00
Atsushi Eno 848a8c8c44 2004-05-12 Atsushi Enomoto <[email protected]>
* BuiltInDatatype.cs : made classes/enums internal.

svn path=/trunk/mcs/; revision=27150
2004-05-12 09:12:13 +00:00
Atsushi Eno 4190429496 2004-05-12 Atsushi Enomoto <[email protected]>
* DTDObjectModel.cs,
	  DTDReader.cs,
	  XmlDocument.cs,
	  XmlInputStream.cs,
	  XmlParserInput.cs,
	  XmlTextReader.cs,
	  XmlUrlResolver.cs : removed reference to Mono.Xml.
	  Made Mono.Xml.* classes internal.
	* XmlDocument.cs : output xml declaration for TextWriter output in Save()
	* XmlElement.cs : Name character check should be done in .ctor().
	* XmlNamespaceManager.cs : Removed dangerous internal .ctor()

svn path=/trunk/mcs/; revision=27149
2004-05-12 09:11:19 +00:00
Atsushi Eno 8710d9f877 2004-05-12 Atsushi Enomoto <[email protected]>
* XslNumber.cs : made enum internal

svn path=/trunk/mcs/; revision=27148
2004-05-12 09:05:06 +00:00
Atsushi Eno 6447b67d6f 2004-05-12 Atsushi Enomoto <[email protected]>
* XmlOutputter.cs,
	  XslOutput.cs,
	  XslStylesheet.cs : made classes/enums internal.

svn path=/trunk/mcs/; revision=27147
2004-05-12 09:04:23 +00:00
Atsushi Eno c42df60f9e 2004-05-12 Atsushi Enomoto <[email protected]>
* Pattern.cs : made class internal.

svn path=/trunk/mcs/; revision=27146
2004-05-12 09:02:44 +00:00
Nick Drochak fc9998d952 2004-05-12 Nick Drochak <[email protected]>
* PKCS12Test.cs: Do not exceed line length limit.

svn path=/trunk/mcs/; revision=27145
2004-05-12 06:42:48 +00:00
Gonzalo Paniagua Javier b36aa24e62 2004-05-12 Gonzalo Paniagua Javier <[email protected]>
* System.Web.dll.sources: added Html32TextWriter.

	* System.Web.Compilation/AspGenerator.cs: ObjectTagBuilder do not
	override HasBody now.

	* System.Web.UI/Html32TextWriter.cs: stub contributed by Matthijs ter
	Woord [meddochat].

	* System.Web.UI/ObjectTagBuilder.cs: remove the HasBody override as MS
	does not have that.

	This makes System.Web free of errors, missing or extra stuff in the
	class status pages.

svn path=/trunk/mcs/; revision=27144
2004-05-12 06:40:13 +00:00
Marek Safar 92759cb93e 2004-05-12 Marek Safar <[email protected]>
* attribute.cs:
	(Attribute.GetAttributeTargets): New method. Gets AttributeTargets
	for attribute.
	(Attribute.IsClsCompliaceRequired): Moved to base for better
	accesibility.
	(Attribute.UsageAttribute): New property for AttributeUsageAttribute
	when attribute is AttributeUsageAttribute.
	(Attribute.GetValidTargets): Simplified.
	(Attribute.GetAttributeUsage): New method returns AttributeUsage
	attribute for this type.
	(Attribute.ApplyAttributes): Method renamed to Emit and make
	non-static.
	(GlobalAttributeSection): New class for special handling of global
	attributes (assembly, module).
	(AttributeSection.Emit): New method.

	* class.cs: Implemented Attributable abstract methods.
	(MethodCore.LabelParameters): Moved to Parameter class.
	(Accessor): Is back simple class.
	(PropertyMethod): Implemented Attributable abstract class.
	(DelegateMethod): Implemented Attributable abstract class.
	(Event): New constructor for disctintion between normal Event
	and Event with accessors.

	* cs-parser.jay: Used new Event ctor and GlobalAttributeSection.

	* codegen.cs, const.cs, decl.cs, delegate.cs:
	(CommonAssemblyModulClass): Implemented Attributable abstract class
	and simplified.

	* enum.cs: Implement IAttributeSupport interface.
	(EnumMember): New class for emum members. Implemented Attributable
	abstract class

	* parameter.cs:
	(ParameterBase): Is abstract.
	(ReturnParameter): New class for easier [return:] attribute handling.

	* typemanager.cs: Removed builder_to_attr.

svn path=/trunk/mcs/; revision=27143
2004-05-12 06:36:15 +00:00
Gonzalo Paniagua Javier a85c5aeb59 lazy Canadians... ;-)
svn path=/trunk/mcs/; revision=27142
2004-05-12 05:22:19 +00:00
Gonzalo Paniagua Javier 8e05172278 Don't try 2.0 on windows. It does not built yet.
svn path=/trunk/mono/; revision=27141
2004-05-12 05:12:14 +00:00
Gonzalo Paniagua Javier 926e37a2d6 Added cleanassemblies target to remove all dlls and exes
svn path=/trunk/mono/; revision=27140
2004-05-12 05:11:14 +00:00
Atsushi Eno b461488ea1 2004-05-12 Atsushi Enomoto <[email protected]>
* Makefile : added vb.dll

svn path=/trunk/mono/; revision=27139
2004-05-12 05:05:05 +00:00
Gonzalo Paniagua Javier bf7344774a 2004-05-12 Gonzalo Paniagua Javier <[email protected]>
* Makefile.am: also add libmonoos to libmetadata. Fixes the build on
	windows.

svn path=/trunk/mono/; revision=27138
2004-05-12 05:02:11 +00:00
Gonzalo Paniagua Javier d453f6336b 2004-05-12 Gonzalo Paniagua Javier <[email protected]>
* Makefile: disable net_2_0 on windows. It doesn't build. Don't
	try to build net_1_0 and net_2_0 if we provide a PROFILE=xxx in the
	command line.

svn path=/trunk/mcs/; revision=27137
2004-05-12 04:51:03 +00:00
Gonzalo Paniagua Javier f13c127b3c Version
svn path=/trunk/mcs/; revision=27136
2004-05-12 04:42:56 +00:00
Miguel de Icaza e037b59a7e Gone
svn path=/trunk/mono/; revision=27135
2004-05-12 03:01:09 +00:00
Gonzalo Paniagua Javier 1a952799be 2004-05-12 Gonzalo Paniagua Javier <[email protected]>
* metadata/Makefile.am: link to ../os/libmonoos.la on windows.

	* metadata/assembly.c:
		-If MONO_DEBUG, warn about non-existing directories in
		MONO_PATH.
		-Added mono_assembly_getrootdir() that replaces MONO_ASSEMBLIES
		compile time variable.
		-Removed init_default_path and call mono_set_rootdir from
		libmonoos.a instead (windows only).

	* metadata/assembly.h: declare mono_assembly_getrootdir().

	* metadata/domain.c:
	* metadata/icall.c: use mono_assembly_getrootdir() instead of
	MONO_ASSEMBLIES.

	* metadata/loader.c: s/getenv/g_getenv/
	* os/win32/util.c: the path from GetModuleFileName is UTF-16.

svn path=/trunk/mono/; revision=27134
2004-05-12 01:58:21 +00:00
Patrik Torstensson 26c93c9487 2004-05-11 Patrik Torstensson
* mini-x86.c: optimize long shl/shr asm code (one less branch)

svn path=/trunk/mono/; revision=27133
2004-05-11 21:00:44 +00:00
Zoltan Varga f2b868665f 2004-05-11 Zoltan Varga <[email protected]>
* Makefile.am (EXTRA_DIST): Distribute benchmarks as well.

svn path=/trunk/mono/; revision=27131
2004-05-11 19:13:30 +00:00
Zoltan Varga a8be2bfb51 2004-05-11 Zoltan Varga <[email protected]>
* basic.cs basic-long.cs objects.cs: Make these compile under MS csc.

svn path=/trunk/mono/; revision=27130
2004-05-11 19:04:37 +00:00
Zoltan Varga fe50dc6d3d 2004-05-11 Zoltan Varga <[email protected]>
* mini.h mini.c dominators.c: Applied patch from David Waite
	([email protected]): Fix memory leaks in loop optimizations.

svn path=/trunk/mono/; revision=27129
2004-05-11 18:37:50 +00:00
Jackson Harper d5cc4c8b33 * Makefile: Preserve MONO_PATH
svn path=/trunk/mcs/; revision=27128
2004-05-11 18:16:22 +00:00
Jackson Harper dbe9cb30b2 * Makefile: Use snazzy new PLATFORM_PATH_SEPARATOR when setting
the mono path, so it works on Windows.

svn path=/trunk/mcs/; revision=27127
2004-05-11 18:13:00 +00:00
Jackson Harper 9ceb42d7df * platforms/linux.make:
* platforms/win32.make: Define a PLATFORM_PATH_SEPARATOR used for
	separating paths in env vars. (ie MONO_PATH).
	* profiles/net_2_0.make: Always use gmcs for building the 2.0
	libraries. corlib is the first lib built and it will build
        gmcs.

svn path=/trunk/mcs/; revision=27126
2004-05-11 18:05:18 +00:00
Mike Shaver aac5b8d645 update link to Jim Miller's patent message
svn path=/trunk/mono/; revision=27125
2004-05-11 17:27:41 +00:00
Zoltan Varga efa9f9669b 2004-05-11 Zoltan Varga <[email protected]>
* pinvoke2.cs libtest.c: Add tests for AsAny marshalling.

svn path=/trunk/mono/; revision=27124
2004-05-11 17:23:17 +00:00
Zoltan Varga aa60db9b32 2004-05-11 Zoltan Varga <[email protected]>
* mini.c: Add new icalls for AsAny marshalling.

svn path=/trunk/mono/; revision=27123
2004-05-11 17:22:14 +00:00
Zoltan Varga 7c41c5c623 2004-05-11 Zoltan Varga <[email protected]>
* marshal.{h,c}: Add support for UnmanagedType.AsAny.

	* marshal.c: Use mono_metadata_signature_{alloc,dup} where appropriate.

	* metadata.h: Add new marshalling conversions.

	* metadata.h metadata.c (mono_metadata_signature_dup): New helper function.

svn path=/trunk/mono/; revision=27122
2004-05-11 17:20:07 +00:00
Zoltan Varga becfd57d95 2004-05-11 Zoltan Varga <[email protected]>
* opcode.def: Add mono_func2.

svn path=/trunk/mono/; revision=27121
2004-05-11 17:17:49 +00:00
Andreas N 6efca4fe71 2004-05-11 Andreas Nahr <[email protected]>
* Char.cs: Fix exceptions

svn path=/trunk/mcs/; revision=27120
2004-05-11 17:05:25 +00:00
Andreas N 6a8c196ae4 2004-05-11 Andreas Nahr <[email protected]>
* OpCodes.cs: Refactored to avoid the static constructor

svn path=/trunk/mcs/; revision=27119
2004-05-11 17:03:52 +00:00
Miguel de Icaza 91b5710fc0 flush
svn path=/trunk/mono/; revision=27118
2004-05-11 16:46:40 +00:00
Carlos Guzmán Álvarez 6f94dbbcef 2004-05-11 Carlos Guzman Alvarez <[email protected]>
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs:

		- Added fix for better handling of exceptions when
		building the X509 Certificate chain.

svn path=/trunk/mcs/; revision=27117
2004-05-11 16:41:59 +00:00
Jackson Harper 8ac8a83197 * Makefile: Use mono and mcs to build gmcs
svn path=/trunk/mcs/; revision=27116
2004-05-11 16:37:34 +00:00
Gonzalo Paniagua Javier ec3393747f 2004-05-11 Gonzalo Paniagua Javier <[email protected]>
* Timer.cs: if AutoReset, disable the timer before adding the callback
	to the ThreadPool. Patch by Tim Fries <[email protected]>. Fixes bug
	#57993.

svn path=/trunk/mcs/; revision=27114
2004-05-11 16:06:42 +00:00
Jackson Harper 10ae4cb6c5 * runtime/net_1_1/Makefile.am:
* runtime/net_2_0/Makefile.am: cscompmgd.dll is lowercase now.

svn path=/trunk/mono/; revision=27113
2004-05-11 15:35:55 +00:00
Jackson Harper 718ee3cecb * Makefile: Specify correct lowercase assembly name.
svn path=/trunk/mcs/; revision=27112
2004-05-11 15:17:50 +00:00
Atsushi Eno c2a8e95ef6 2004-05-11 Atsushi Enomoto <[email protected]>
* XmlDataInferenceLoader.cs :
	  It now requires XmlDocument as input.  Improved identification of
	  DataSet element.  Removed extra lines.
	  Moved boresome design notes to bottom of the source and
	  added standalone runnable driver (not included on build).
	* DataSet.cs :
	  Update with related to the change above.
	  WriteXml() should call Flush() after writing. This fixes bug #58327.
	* XmlSchemaDataImporter.cs :
	  Improved indentification of DataSet element.

svn path=/trunk/mcs/; revision=27111
2004-05-11 15:16:29 +00:00
Jackson Harper f7313d5ae6 * library.make: Allow assembly names to be different then their
.sources file names.

svn path=/trunk/mcs/; revision=27110
2004-05-11 15:13:51 +00:00
Atsushi Eno f53afd3f14 2004-05-11 Atsushi Enomoto <[email protected]>
* DataSetTest.cs : Added WriteXmlToStream().

svn path=/trunk/mcs/; revision=27109
2004-05-11 15:12:23 +00:00
Paolo Molaro 1d18ae81bd Tue May 11 16:00:38 CEST 2004 Paolo Molaro <[email protected]>
* tramp-ppc.c, mini-ppc.c: more cleanups.

svn path=/trunk/mono/; revision=27104
2004-05-11 13:51:39 +00:00
Lluis Sanchez dc510f2bc5 * MethodResponse.cs: Only get the MethodBase from type and method name when
requested.

svn path=/trunk/mcs/; revision=27102
2004-05-11 13:36:05 +00:00
Lluis Sanchez 96b8f0bb74 * ChannelServices.cs: Configure delayed load channels when a chanel lookup
fails.

svn path=/trunk/mcs/; revision=27101
2004-05-11 13:25:21 +00:00
Lluis Sanchez 421c46d503 * RemotingConfiguration.cs: Added method for configuring chanels with the
delayed client load flag. Added locks for accessing internal tables.

svn path=/trunk/mcs/; revision=27100
2004-05-11 13:22:03 +00:00
Lluis Sanchez 9dd73226eb * ChannelCore.cs: Use LoadWithPartialName when configuration information
is not present.

svn path=/trunk/mcs/; revision=27099
2004-05-11 13:19:02 +00:00
Sanja Gupta eae0449500 ImageAnimator.cs: Fixed compilation problem which crept in 'cos of my carelessness.
svn path=/trunk/mcs/; revision=27098
2004-05-11 13:04:23 +00:00
Dick Porter 71b932b3a4 2004-05-11 Dick Porter <[email protected]>
* shared.c (_wapi_shm_attach): Cope when a previous daemon startup
	attempt failed, leaving shared files that look like a daemon is
	still starting.

svn path=/trunk/mono/; revision=27097
2004-05-11 13:02:27 +00:00
Sanja Gupta 556182dbf6 ChangeLog: Updated ChangeLog
ImageAnimator.cs: Implemented first version. UNTESTED

svn path=/trunk/mcs/; revision=27096
2004-05-11 13:01:53 +00:00
Sebastien Pouliot 5330821009 2004-05-11 Jesper Pedersen <[email protected]>
* PKCS12Test.cs: Added unit tests for the new methods.

svn path=/trunk/mcs/; revision=27094
2004-05-11 12:47:58 +00:00
Gonzalo Paniagua Javier c43de4b511 2004-05-11 Gonzalo Paniagua Javier <[email protected]>
* mini.c: no warnings.

svn path=/trunk/mono/; revision=27093
2004-05-11 12:29:45 +00:00
Gonzalo Paniagua Javier 28e68025c2 2004-05-11 Gonzalo Paniagua Javier <[email protected]>
* SoapDocumentationHandler.cs: added internal property to get the page
	handler when available.

	* WebServiceHandlerFactory.cs: wrap the documentation handler in a class
	that implements IRequiresSessionState and, if requested,
	IReadOnlySessionState, so that we can use Sesion object in the default
	WSDL help generator.

svn path=/trunk/mcs/; revision=27092
2004-05-11 12:18:20 +00:00
Zoltan Varga 0f128ab73f 2004-05-11 Zoltan Varga <[email protected]>
* reflection.c (mono_reflection_get_type): Lookup the type in all
	modules of a multi-module assembly. Fixes #58291.

svn path=/trunk/mono/; revision=27091
2004-05-11 11:48:31 +00:00
Sebastien Pouliot 79f1909e01 2004-05-11 Sebastien Pouliot <[email protected]>
* Mono.Security_test.dll.sources: Added unit tests for Mono.Security.
	Protocol.Ntlm.MessabeBase and Mono.Security.ASN1Convert.

svn path=/trunk/mcs/; revision=27090
2004-05-11 11:37:30 +00:00
Paolo Molaro b43fb4927f Tue May 11 13:59:28 CEST 2004 Paolo Molaro <[email protected]>
* mini-ppc.c, mini.c: use mono_resolve_patch_target ().

svn path=/trunk/mono/; revision=27089
2004-05-11 11:35:59 +00:00
Sebastien Pouliot e2a2d743dc 2004-05-11 Sebastien Pouliot <[email protected]>
* PKCS8.cs: Fixed negative Version check.
	* MD2Managed.cs: Added readonly to static array constants.
	* MD4Managed.cs: Removed unrequired memory allocation in MD4Transform.

svn path=/trunk/mcs/; revision=27088
2004-05-11 11:34:34 +00:00
Sebastien Pouliot 32fa6d4398 2004-05-11 Sebastien Pouliot <[email protected]>
* ARC4ManagedTest.cs: Added missing  unit tests for complete coverage.
	Completed convertion to NUnit 2.
	* CryptoConvertTest.cs: Added/modified unit tests for better coverage.
	* MD2ManagedTest.cs: Added unit tests for better coverage.
	* MD2Test.cs: Added unit tests for better coverage.
	* MD4ManagedTest.cs: Added unit tests for better coverage.
	* MD4Test.cs: Added unit tests for better coverage.
	* PKCS8.cs: Added unit tests for better coverage.

svn path=/trunk/mcs/; revision=27087
2004-05-11 11:30:24 +00:00
Sebastien Pouliot b3dd432929 2004-05-11 Sebastien Pouliot <[email protected]>
* ChallengeResponseTest.cs: Added new unit tests for better coverage.
	* MessageBaseTest.cs: New. Unit tests for the base abstract class.
	* Type2MessageTest.cs: Added new unit tests for better coverage.
	* Type3MessageTest.cs: Added new unit tests for better coverage.

svn path=/trunk/mcs/; revision=27086
2004-05-11 11:25:46 +00:00
Sebastien Pouliot 6c81951fca 2004-05-11 Sebastien Pouliot <[email protected]>
* PrivateKeyTest.cs: Added new unit tests for better coverage.
	* SoftwarePublisherCertificateTest.cs: Added new unit tests for better
	coverage.

svn path=/trunk/mcs/; revision=27085
2004-05-11 11:22:51 +00:00
Sebastien Pouliot 39264c7e95 2004-05-11 Sebastien Pouliot <[email protected]>
* ASN1ConvertTest.cs: New. Unit tests for ASN.1 convertions.
	* StrongNameTest.cs: Added new unit tests for better coverage.

svn path=/trunk/mcs/; revision=27084
2004-05-11 11:20:28 +00:00
Sebastien Pouliot 11bbe77019 2004-05-11 Sebastien Pouliot <[email protected]>
* PrivateKey.cs: Better exception reporting. Added globalization to
	exceptions.
	* SoftwarePublisherCertificate.cs: Better exception reporting. Added
	globalization to exceptions.

svn path=/trunk/mcs/; revision=27083
2004-05-11 11:17:48 +00:00
Sebastien Pouliot 1292d8b337 2004-05-11 Sebastien Pouliot <[email protected]>
* ASN1Convert.cs: Added better exceptions. Fixed bugs found by new
	unit tests.
	* StrongName.cs: Fixed GetBytes() when creating a new strongname.
	Removed	unrequired :base() from a constructor. Removed debugging
	Console.WriteLine.

svn path=/trunk/mcs/; revision=27082
2004-05-11 11:15:13 +00:00
Raja R Harinath 4a6d35661f add test-252.cs
svn path=/trunk/mcs/; revision=27081
2004-05-11 11:09:46 +00:00
Raja R Harinath 84753bc417 Fix bug #57151.
* attribute.cs (Attribute.GetPositionalValue): New function.
* class.cs (TypeContainer.VerifyMembers): New function.
(TypeContainer.Emit): Use it.
(ClassOrStruct): New base class for Class and Struct.
(ClassOrStruct.ApplyAttributeBuilder): New function.  Note if
StructLayout(LayoutKind.Explicit) was ascribed to the struct or
class.
(ClassOrStruct.VerifyMembers): If the struct is explicitly laid out,
then each non-static field should have a FieldOffset attribute.
Otherwise, none of the fields should have a FieldOffset attribute.
* rootcontext.cs (RootContext.ResolveCore): Resolve StructLayout
and FieldOffset attributes.
* typemanager.cs (TypeManager.struct_layout_attribute_type)
(TypeManager.field_offset_attribute_type): New core types.
(TypeManager.InitCoreTypes): Initialize them.

svn path=/trunk/mcs/; revision=27080
2004-05-11 11:08:10 +00:00
Raja R Harinath d5bc2421b7 * class.cs (Event.RemoveDelegateMethod.DelegateMethodInfo):
Return correct type.
From bug #58270.

svn path=/trunk/mcs/; revision=27079
2004-05-11 11:06:18 +00:00
Raja R Harinath c05298354b New test from #58290.
svn path=/trunk/mcs/; revision=27078
2004-05-11 11:01:31 +00:00
Lluis Sanchez bc4032669c * mini.c: In the thread abort signal handler, if the thread is in the
process of being stoped, don't throw the Abort exception, just stop the
	thread.

svn path=/trunk/mono/; revision=27077
2004-05-11 10:24:36 +00:00
Lluis Sanchez 54d84c22c8 * threads.c: Before aborting a background, set the StopRequested state (this
avoids throwing the Abort exception).
	In mono_thread_manage, don't continue with the shutdown until all aborted
	threads have actually stopped.

svn path=/trunk/mono/; revision=27076
2004-05-11 10:22:48 +00:00
Lluis Sanchez acd8316fc2 * MethodResponse.cs: In the serialization constructor, initialize MethodBase
using the method name and type name.

svn path=/trunk/mcs/; revision=27075
2004-05-11 09:55:54 +00:00
Lluis Sanchez 304ffc273f * RemotingServices.cs: In GetMethodBaseFromMethodMessage, look for
constructors if no method is found.

svn path=/trunk/mcs/; revision=27074
2004-05-11 09:54:26 +00:00
Lluis Sanchez 4180bcf78e * MissingMemberException.cs: Fix in serialization constructor.
svn path=/trunk/mcs/; revision=27073
2004-05-11 09:52:57 +00:00
Paolo Molaro d4589317de Tue May 11 12:15:24 CEST 2004 Paolo Molaro <[email protected]>
* tramp-ppc.c: removed old code.

svn path=/trunk/mono/; revision=27072
2004-05-11 09:33:33 +00:00
Paolo Molaro d6d345ba92 Tue May 11 12:02:28 CEST 2004 Paolo Molaro <[email protected]>
* mini.h, mini-ppc.c, cfold.c: export mono_is_power_of_two().
	do some simple speed optimizations on ppc.

svn path=/trunk/mono/; revision=27071
2004-05-11 09:21:36 +00:00
Raja R Harinath bd7f2f321a (constructor): Remove. Compiler is a static-only
class.

svn path=/trunk/mcs/; revision=27070
2004-05-11 07:53:53 +00:00
Gonzalo Paniagua Javier 6e2298caa6 2004-05-11 Gonzalo Paniagua Javier <[email protected]>
* System.Resources/ResXResourceWriter.cs: implemented.

svn path=/trunk/mcs/; revision=27069
2004-05-11 07:37:19 +00:00
Raja R Harinath 9335a6b796 * Makefile (run-test-local): Run gmcs and multi tests too.
(test-multi-local): Add logging of errors.
* runtest.pl: Change $errors and $warnings to keep track of lines
on which errors are supposed to occur.

svn path=/trunk/mcs/; revision=27068
2004-05-11 07:22:56 +00:00
Atsushi Eno 84976ba908 2004-05-11 Atsushi Enomoto <[email protected]>
* SqlMoney.cs : Handle fixed digits correctly.
	  Round decimal value before casting into other numeric types.
	* SqlInt16.cs,
	  SqlInt32.cs,
	  SqlInt64.cs : Round SqlMoney decimal value before casting into them.
	* SqlDateTime.cs :
	  Added range check.
	  Years and months were ignored in some .ctor().
	  Return invariant culture string in ToString().
	  Return null for operator - when operand is null.

svn path=/trunk/mcs/; revision=27067
2004-05-11 06:48:02 +00:00
Gert Driesen 653eab0b96 * Compiler.cs: marked ctor private to match MS.NET
svn path=/trunk/mcs/; revision=27066
2004-05-11 05:38:10 +00:00
Atsushi Eno 8477a69a08 2004-05-11 Atsushi Enomoto <[email protected]>
* DataSetReadXmlSchemaTest.cs : SingleElementTreatmentDifference() was
	  incorrect. DataSet element is assumed only if there is only one
	  global element.
	* DataSetReadXmlTest.cs : Added error-reported test case.
	* DataSetInferXmlSchemaTest.cs : Modified more tests not to compare
	  Ordinal for non-specified columns (that shouldn't be significant).

svn path=/trunk/mcs/; revision=27065
2004-05-11 05:37:50 +00:00
Gert Driesen 48aec59d1f * SoapFormatter.cs: sealed class and added ComVisible attribute
to FilterLevel property to match MS.NET
* SoapTypeMapper.cs: fixed compiler warnings

svn path=/trunk/mcs/; revision=27064
2004-05-11 05:31:18 +00:00
Ravindra 8627dfa65b Implemented AdjustableArrowCap.cs and CustomLineCap.cs.
svn path=/trunk/mcs/; revision=27063
2004-05-11 05:22:47 +00:00
Ravindra 5316acffbb Implementing AdjustableArrowCap.cs. Added P/Invokes for the same.
svn path=/trunk/mcs/; revision=27062
2004-05-11 05:16:37 +00:00
Gert Driesen 878827c788 * DataTable: marked initStatus enum internal
svn path=/trunk/mcs/; revision=27061
2004-05-11 05:15:45 +00:00
Miguel de Icaza 4357d08d30 Flush
svn path=/trunk/mono/; revision=27058
2004-05-11 01:14:34 +00:00
Miguel de Icaza 13b1f2b04b New hacker for the Hall of Fame
svn path=/trunk/mono/; revision=27056
2004-05-10 23:05:36 +00:00
Miguel de Icaza cdcb8fe9c6 Flush
svn path=/trunk/mono/; revision=27053
2004-05-10 21:12:25 +00:00
Duncan Mak 90c1d4396e Add link to packagers page.
svn path=/trunk/mono/; revision=27047
2004-05-10 20:32:40 +00:00
Jackson Harper d6fc20c125 * locales.c: Remove the modifier from culture names.
svn path=/trunk/mono/; revision=27032
2004-05-10 15:21:00 +00:00
Gonzalo Paniagua Javier 7929d278ea 2004-05-10 Gonzalo Paniagua Javier <[email protected]>
* io.c:
	(SetFileAttributes): don't the the exec bit if the corresponding read
	bit is not set.

svn path=/trunk/mono/; revision=27031
2004-05-10 15:16:17 +00:00
Paolo Molaro 5ebcdc8f3c Prettify and include s390 sources.
svn path=/trunk/mono/; revision=27030
2004-05-10 15:06:25 +00:00
Paolo Molaro 68609a3dca Mon May 10 17:21:00 CEST 2004 Paolo Molaro <[email protected]>
* mini-ppc.c, cpu-g4.md: fixes to handle large stack frames
	and large offsets in load/store.

svn path=/trunk/mono/; revision=27029
2004-05-10 14:40:13 +00:00
Paolo Molaro 7327191f71 Fix macros.
svn path=/trunk/mono/; revision=27028
2004-05-10 14:37:42 +00:00
Marek Safar ce8edc448d 2004-05-10 Marek Safar <[email protected]>
* cs0577-2, cs0577-3,
	* cs1618.cs: 3 new error tests.

svn path=/trunk/mcs/; revision=27027
2004-05-10 13:49:22 +00:00
Zoltan Varga 167ec58d39 2004-05-10 Zoltan Varga <[email protected]>
* io.c (FindFirstFile): Fix invalid free.

svn path=/trunk/mono/; revision=27026
2004-05-10 13:16:14 +00:00
Ravindra 7cf355e3fe Implementing CustomLineCap. Added P/Invokes for the same. Added few related P/Invokes for Pen also.
svn path=/trunk/mcs/; revision=27025
2004-05-10 12:39:16 +00:00
Gert Driesen 832bb7e90f * AssemblyBuilder.cs: fixed warning
* MethodRental.cs: added private default ctror to match MS.NET

svn path=/trunk/mcs/; revision=27024
2004-05-10 12:31:44 +00:00
Radek Doulik 3b63097d93 2004-05-10 Radek Doulik <[email protected]>
* Mono.Cairo/Graphics.cs: fixed typo, pass x2, y2 to
	cairo_curve_to instead of passing x2, x2

svn path=/trunk/mcs/; revision=27023
2004-05-10 09:58:39 +00:00
Atsushi Eno a4c0443c27 2004-05-10 Atsushi Enomoto <[email protected]>
* XmlNodeReader.cs : renamed ownerElement to ownerLinkedNode (text
	  node can be it as well) and added check for Attributes existence
	  in GetAttribute() and MoveTo*Attribute().

svn path=/trunk/mcs/; revision=27022
2004-05-10 09:56:16 +00:00
Anirban Bhattacharjee 21e5b6e8dd * mb-parser.jay: Support added for attaching Attributes in methods
svn path=/trunk/mcs/; revision=27021
2004-05-10 09:52:10 +00:00
Gert Driesen 4dc6b21ef5 * Hashtable.cs: marked EnumeratorMode private
* SortedList.cs: marked EnumeratorMode private

svn path=/trunk/mcs/; revision=27020
2004-05-10 08:59:50 +00:00
Raja R Harinath 4c9ff5ff2b Don't mention 'fullbuild'. Mention 'bootstrap'
instead.  Update instructions for 'monocharge'.

svn path=/trunk/mcs/; revision=27019
2004-05-10 07:54:35 +00:00
Gonzalo Paniagua Javier 247fb79d80 2004-05-10 Gonzalo Paniagua Javier <[email protected]>
* HttpSoapWebServiceHandler.cs: finish the request after serializing
	the fault message.

svn path=/trunk/mcs/; revision=27018
2004-05-10 06:00:42 +00:00
Atsushi Eno 8cf3257586 2004-05-10 Atsushi Enomoto <[email protected]>
* XmlTextWriter.cs : comment not in the content state is indented.
	  This fixes bug #58247.

svn path=/trunk/mcs/; revision=27017
2004-05-10 04:47:41 +00:00
Miguel de Icaza d0326ac905 Flush
svn path=/trunk/mono/; revision=27016
2004-05-10 04:10:53 +00:00
Raja R Harinath 9c6c9ea44b (tmpinst-dir): Always add $tmpinst/lib to MONO_PATH.
Fix quoting of commands.

svn path=/trunk/mono/; revision=27015
2004-05-10 03:51:55 +00:00
Raja R Harinath 9c60361ba8 (corlib_net_2_0_bootstrap): Remove extraneous copying.
svn path=/trunk/mcs/; revision=27014
2004-05-10 03:49:29 +00:00
Raja R Harinath e1c0137381 Add back lost 'chomp'.
svn path=/trunk/mcs/; revision=27013
2004-05-10 03:47:14 +00:00
Raja R Harinath 9798870e15 (install-local,test-local,run-test-local,clean-local):
Make cyclic-dependency safe.

svn path=/trunk/mcs/; revision=27012
2004-05-10 03:26:50 +00:00
Gonzalo Paniagua Javier feecc7b0d3 2004-05-10 Gonzalo Paniagua Javier <[email protected]>
* Makefile.am: monosn is not installed any more. It has been deprecated
	in favor of sn.

svn path=/trunk/mono/; revision=27011
2004-05-10 03:13:24 +00:00
Gonzalo Paniagua Javier 627b96733d 2004-05-10 Gonzalo Paniagua Javier <[email protected]>
* Environment.cs: GetGacPath return value is resolved at runtime on
	windows.

svn path=/trunk/mcs/; revision=27010
2004-05-10 01:19:21 +00:00
Francisco Figueiredo Jr. aaee641fbb 2004-05-09 Francisco Figueiredo Jr. <[email protected]>
* HashAlgorithm.cs,
        NpgsqlAsciiRow.cs,
        NpgsqlBinaryRow.cs,
        NpgsqlClosedState.cs,
        NpgsqlCommand.cs,
        NpgsqlCommandBuilder.cs,
        NpgsqlConnection.cs,
        NpgsqlDataReader.cs,
        NpgsqlException.cs,
        NpgsqlParameterCollection.cs,
        NpgsqlReadyState.cs,
        NpgsqlTransaction.cs: Improved exception handling. Now Npgsql throws mor
e meaningful exceptions instead of throw NpgsqlException which are now exclusive
ly to sign server errors. Thanks Glen Parker ([email protected]) for the patch.

svn path=/trunk/mcs/; revision=27009
2004-05-09 22:28:00 +00:00
Francisco Figueiredo Jr. f99302f41a 2004-05-09 Francisco Figueiredo Jr. <[email protected]>
* HashAlgorithm.cs,
	NpgsqlAsciiRow.cs,
	NpgsqlBinaryRow.cs,
	NpgsqlClosedState.cs,
	NpgsqlCommand.cs,
	NpgsqlCommandBuilder.cs,
	NpgsqlConnection.cs,
	NpgsqlDataReader.cs,
	NpgsqlException.cs,
	NpgsqlParameterCollection.cs,
	NpgsqlReadyState.cs,
	NpgsqlTransaction.cs: Improved exception handling. Now Npgsql throws more meaningful exceptions instead of throw NpgsqlException which are now exclusively to sign server errors. Thanks Glen Parker ([email protected]) for the patch.

svn path=/trunk/mcs/; revision=27008
2004-05-09 22:27:14 +00:00
John Luke d8741ce2ea 2004-05-09 John Luke <[email protected]>
* monop.cs: seperate assembly loading into .GetAssembly method,
        fail gracefully, and support loading assemblies from absolute and
        relative paths
        support /r: as well as -r:

svn path=/trunk/mcs/; revision=27007
2004-05-09 18:34:51 +00:00
Miguel de Icaza 69c222394d 2004-05-09 Miguel de Icaza <[email protected]>
* expression.cs (Binary.DoNumericPromotions): 0 long constant can
	be implicitly converted to ulong.

svn path=/trunk/mcs/; revision=27006
2004-05-09 18:24:23 +00:00
Miguel de Icaza 34ee5ffb5a Update test
svn path=/trunk/mcs/; revision=27005
2004-05-09 18:23:29 +00:00
Miguel de Icaza 0ffbd7592c The logic was wrong here, it worked because of a codepath not covered, fixes #57895
svn path=/trunk/mcs/; revision=27004
2004-05-09 18:17:20 +00:00
Miguel de Icaza 6766f8ae59 2004-05-09 Miguel de Icaza <[email protected]>
* class.cs: Applied patch from [email protected] Iain McCoy to
	allow volatile fields to be reference types.

svn path=/trunk/mcs/; revision=27003
2004-05-09 18:02:06 +00:00
Miguel de Icaza 2950fcece1 Add new tests
svn path=/trunk/mcs/; revision=27002
2004-05-09 18:01:03 +00:00
Miguel de Icaza 7f0d49eaf3 Add new test
svn path=/trunk/mcs/; revision=27001
2004-05-09 18:00:13 +00:00
Gert Driesen 082cd2bb14 * DataTable.cs: removed TypeConverterAttribute, marked RowsExist
methods internal
* DataRowView.cs: removed extra Error property
* DataRow.cs: reduced accessibility of CollectionChanged method
to private
* DataColumnPropertyDescriptor.cs: made class internal
* DataColumn.cs: removed extra TypeConvertorAttribute
* ConstrainCollection.cs: marked PostEndInit method internal

svn path=/trunk/mcs/; revision=27000
2004-05-09 17:35:45 +00:00
Miguel de Icaza 1e5575e9a9 Fix Build
svn path=/trunk/mcs/; revision=26999
2004-05-09 17:32:35 +00:00
Gert Driesen 0b16822db1 * ComparerFactory.cs: marked internal
svn path=/trunk/mcs/; revision=26998
2004-05-09 17:10:55 +00:00
Atsushi Eno 1b9cbdb49e 2004-05-09 Atsushi Enomoto <[email protected]>
* FileSystemWatcher.cs : csc build fix. Duplicate name between class
	  field and local variable. (already filed in bugzilla #47991).

svn path=/trunk/mcs/; revision=26997
2004-05-09 17:10:32 +00:00
Gert Driesen 2a4777e37a * OleDbCommand.cs: removed setter for Parameters property to
match MS.NET
* OleDbCommandBuilder.cs: fixed GetUpdatetCommand typo
* OleDbErrorCollection: added default internal ctor to match
MS.NET
* OleDbInfoMessageEventArgs.cs: added default internal ctor
to match MS.NET
* OleDbParameter.cs: added setter for IsNullable
* OleDbParameterCollection: added default internal ctor to
match MS.NET
* OleDbPermission.cs: removed extra IsSubsetOf method

svn path=/trunk/mcs/; revision=26996
2004-05-09 17:07:58 +00:00
Gert Driesen 93b9996139 * OdbcDataReader.cs : added HasRows stub
svn path=/trunk/mcs/; revision=26995
2004-05-09 16:54:02 +00:00
Gert Driesen 438cca69ac * SqlString.cs: changed accessibility of CompareOptions property
to private, commented out unreachable code

svn path=/trunk/mcs/; revision=26994
2004-05-09 16:48:38 +00:00
Gert Driesen 1b8b3f6321 * OdbcException.cs : removed ErrorCode property, fixing signature
* OdbcErrorCollection.cs : added internal ctor, reduced
accessibility of Add method to internal
* OdbcCommand.cs: marked hstmt field private, remove setters for
Parameters property
* OdbcDataReader.cs: Added GetDate method, renamed GetTimeSpan to
GetTime to match MS.NET, added HasRows stub

svn path=/trunk/mcs/; revision=26993
2004-05-09 16:38:22 +00:00
Gert Driesen 0a7f465e82 * OdbcError.cs:
* OdbcErrorCollection.cs:
* OdbcException.cs: fixed linefeeds to DOS to match other
sources in System.Data.Odbc

svn path=/trunk/mcs/; revision=26992
2004-05-09 16:20:30 +00:00
Gert Driesen 2005bd3e3d * OdbcCommand.cs: No longer use OdbcConnection.Datareader, in order
to fix signature of OdbcConnection
* OdbcDataReader.cs: No longer use ODbcConnection.Datareader, in
order to fix signature of OdbcConnection
* OdbcConnection.cs: Signature fixes: removed DataReader property,
added setter for ConnectionTimeout, made transaction internal
* OdbcParameter.cs: reduced accessibility of Bind method to
internal, added setter for IsNullable
* OdbcParameterCollection.cs: made default ctor and Bind method
internal

svn path=/trunk/mcs/; revision=26991
2004-05-09 16:15:17 +00:00
Gert Driesen e47651fa06 * OdbcCommand: fixed linefeeds to DOS to match other sources
in System.Data.Odbc

svn path=/trunk/mcs/; revision=26990
2004-05-09 15:51:54 +00:00
Atsushi Eno a49547bbef 2004-05-09 Atsushi Enomoto <[email protected]>
* Manager.cs : Added comment.
	* Handler.cs : Added missing euc-jp support.

svn path=/trunk/mcs/; revision=26989
2004-05-09 15:41:43 +00:00
Atsushi Eno d37d409d7b 2004-05-09 Atsushi Enomoto <[email protected]>
* Added CP51932.cs.
	* I18N.CJK.dll.sources : added it.

svn path=/trunk/mcs/; revision=26988
2004-05-09 15:38:55 +00:00
Gert Driesen def3354f3b * OdbcTransaction.cs: fixed signature to match MS.NET
svn path=/trunk/mcs/; revision=26987
2004-05-09 15:20:35 +00:00
Gert Driesen bdfd6d7584 * OdbcType.cs: fixed typo UniqueIndetifier
* OdbcColumn.cs : fixed typo UniqueIndetifier

svn path=/trunk/mcs/; revision=26986
2004-05-09 15:02:39 +00:00
Gert Driesen 530f7968ec * OdbcType.cs : fixed linefeeds to DOS to match other sources
in System.Data.Odbc

svn path=/trunk/mcs/; revision=26985
2004-05-09 14:54:33 +00:00
Gert Driesen 64c5bf5b67 * Parameter.cs:
* SqlDataSourceCommandEventArgs:
* XmlDataSource.cs : removed temporary workarounds for CLS
compliance as System.Data is now CLS compliant

svn path=/trunk/mcs/; revision=26983
2004-05-09 11:34:35 +00:00
Carlos Guzmán Álvarez 1e0d4468ae 2004-05-09 Carlos Guzman Alvarez <[email protected]>
* Mono.Security.Protocol.Tls/Alert.cs:
	* Mono.Security.Protocol.Tls/CipherSuite.cs:
	* Mono.Security.Protocol.Tls/CipherSuiteCollection.cs:
	* Mono.Security.Protocol.Tls/ClientRecordProtocol.cs:
	* Mono.Security.Protocol.Tls/Context.cs:
	* Mono.Security.Protocol.Tls/RecordProtocol.cs:
	* Mono.Security.Protocol.Tls/SecurityCompressionType.cs:
	* Mono.Security.Protocol.Tls/ServerRecordProtocol.cs:
	* Mono.Security.Protocol.Tls/SslServerStream.cs:
	* Mono.Security.Protocol.Tls/TlsClientSettings.cs:

		- Changes for fix FxCop Rules.

		- Reworked CipherSuiteCollection class.

	* Mono.Security.Protocol.Tls.Handshake/HandshakeMessage.cs:

		- Changes for fix FxCop Rules.

	* 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=26982
2004-05-09 09:48:56 +00:00
Atsushi Eno ce89d39da9 2004-05-09 Atsushi Enomoto <[email protected]>
* RncParser.jay :
	  Added static Parse () methods.
	  Converted all CRLF to LF, since jay automatically inserts LF lines.

svn path=/trunk/mcs/; revision=26981
2004-05-09 07:49:48 +00:00
Gert Driesen e8f0695f21 * Assembly/AssemblyInfo.cs: Added
* Assembly/Consts.cs : Added
* Assembly/Locale.cs : Added
* Assembly/ChangeLog: Added
* monoresgen.cs : use Assembly.Load with fullly qualified assembly
name for loading swf assembly
* monoresgen.exe.sources : added AssemblyInfo.cs, Consts.cs,
Locale.cs

svn path=/trunk/mcs/; revision=26980
2004-05-09 07:31:57 +00:00
Gonzalo Paniagua Javier fd208f62c0 2004-05-09 Gonzalo Paniagua Javier <[email protected]>
* io.c: translate from GFileError to errno codes and don't free
	variables right after calling mono_io_scandir, as we may overwrite
	errno value.

svn path=/trunk/mono/; revision=26979
2004-05-09 03:47:59 +00:00
Gonzalo Paniagua Javier fec76c733b 2004-05-09 Gonzalo Paniagua Javier <[email protected]>
* DefaultWatcher.cs:
	* FAMWatcher.cs: use MangledFilter instead of Filter.

	* FileSystemWatcher.cs: added MangledFilter and finalizer.

	* SearchPattern.cs: fixed the case when the pattern is "*".

svn path=/trunk/mcs/; revision=26978
2004-05-09 03:31:54 +00:00
Miguel de Icaza ecbfd40701 Flush
svn path=/trunk/mono/; revision=26971
2004-05-08 16:24:15 +00:00
Gonzalo Paniagua Javier 6661988d1e 2004-05-08 Gonzalo Paniagua Javier <[email protected]>
* io.c: g_dir_open return ENOENT for directories on which we don't have
	read/execute permission, while returning EPERM for anything below those.
	So, change ENOENT by EPERM if the directory exists.

svn path=/trunk/mono/; revision=26970
2004-05-08 11:57:37 +00:00
Gonzalo Paniagua Javier 1914aee116 2004-05-08 Gonzalo Paniagua Javier <[email protected]>
* monowiz.win32.nsi: some changes i made to build the 0.91 win32 setup
	file.

svn path=/trunk/mono/; revision=26969
2004-05-08 05:31:08 +00:00
Gonzalo Paniagua Javier dc331eebe0 2004-05-08 Gonzalo Paniagua Javier <[email protected]>
* Makefile: build NUnit if the dll is not found when running
	'make test'. Use INTERNAL_MCS to build the tests as csc fails miserably
	to compile them.

svn path=/trunk/mcs/; revision=26968
2004-05-08 05:18:36 +00:00
Gonzalo Paniagua Javier 8632a5f443 2004-05-08 Gonzalo Paniagua Javier <[email protected]>
* library.make: build NUnit if we try to run 'make test' and the dll
	is not found.

svn path=/trunk/mcs/; revision=26967
2004-05-08 05:17:07 +00:00
Gonzalo Paniagua Javier 7ce3ee29ed 2004-05-08 Gonzalo Paniagua Javier <[email protected]>
* RelaxngValidatingReaderTests.cs: this compiled with mcs but fails with
	csc. Filed as bug #58222.

svn path=/trunk/mcs/; revision=26966
2004-05-08 05:04:11 +00:00
Bernie Solomon 71a62410c3 2004-05-07 Bernie Solomon <[email protected]>
* man/mono.1: mention MONO_EGD_SOCKET

svn path=/trunk/mono/; revision=26959
2004-05-08 01:37:06 +00:00
Bernie Solomon ce2e9e97de 2004-05-07 Bernie Solomon <[email protected]>
* ppc/ppc-codegen.h: remove GCC-ism in ppc_emit32

svn path=/trunk/mono/; revision=26957
2004-05-08 01:03:26 +00:00
Pawel Rozanski fe7b586dba add Bash completion fuction for monop
svn path=/trunk/mcs/; revision=26956
2004-05-08 01:00:46 +00:00
Ben Maurer e43a8bde3a 2004-05-07 Ben Maurer <[email protected]>
* monop.cs: Helpers for completion.

svn path=/trunk/mcs/; revision=26955
2004-05-07 23:31:28 +00:00
Miguel de Icaza d8e4354936 Typo fix
svn path=/trunk/mcs/; revision=26953
2004-05-07 22:38:18 +00:00
Miguel de Icaza 6654adf626 2004-05-07 Miguel de Icaza <[email protected]>
* driver.cs: Add support for /debug-

svn path=/trunk/mcs/; revision=26952
2004-05-07 22:29:09 +00:00
Gonzalo Paniagua Javier 020945f624 2004-05-07 Gonzalo Paniagua Javier <[email protected]>
* System.Web.dll.sources: removed 2 unused files in system.Web.Utils.

	* System.Web/HttpRequest.cs:
	* System.Web/HttpResponse.cs:
	* System.Web/HttpRuntime.cs:
	* System.Web/HttpServerUtility.cs:
	* System.Web/HttpUnhandledException.cs:
	* System.Web.Compilation/CachingCompiler.cs:
	* System.Web.Configuration/AuthenticationConfigHandler.cs:
	* System.Web.Configuration/CompilationConfiguration.cs:
	* System.Web.Configuration/MachineKeyConfigHandler.cs:
	* System.Web.UI/Page.cs:
	* System.Web.UI.WebControls/Calendar.cs:
	* System.Web.UI.WebControls/FontInfo.cs:
	* System.Web.UI.WebControls/WebControl.cs: removed TODOs.

	* System.Web.UI/ApplicationFileParser.cs: add file dependencies.
	* System.Web.UI/Control.cs: removed TODOs and some ^M.

	* System.Web.Util/ApacheVersionInfo.cs: removed.
	* System.Web.Util/IISVersionInfo.cs: removed.

svn path=/trunk/mcs/; revision=26947
2004-05-07 20:24:19 +00:00
Neale Ferguson ac63a01b09 Remove debugging printfs
svn path=/trunk/mono/; revision=26945
2004-05-07 20:21:19 +00:00
Neale Ferguson ba14487a65 Bring s390 JIT up to date.
svn path=/trunk/mono/; revision=26943
2004-05-07 19:53:40 +00:00
Zoltan Varga 812a0bced4 2004-05-07 Zoltan Varga <[email protected]>
* mini-x86.c (mono_arch_local_regalloc): Remove the previous fix, since
	it causes regressions.

svn path=/trunk/mono/; revision=26936
2004-05-07 17:45:31 +00:00
Sebastien Pouliot 203e626531 2004-05-07 Sebastien Pouliot <[email protected]>
* DSACryptoServiceProvider.cs: Fixed SignData to hash data before
	signing it (thanks to Jens Thiel for spotting this).

svn path=/trunk/mcs/; revision=26932
2004-05-07 16:51:34 +00:00
Sebastien Pouliot 2cc5bc406c 2004-05-07 Sebastien Pouliot <[email protected]>
* DSACryptoServiceProviderTest.cs: Added a new unit test for SignData
	(was badly tested) and simplified test to reduce key pair generations.

svn path=/trunk/mcs/; revision=26931
2004-05-07 16:29:21 +00:00
Atsushi Eno afb2738e0e 2004-05-07 Atsushi Enomoto <[email protected]>
* DataSet.cs :
	  In WriteXmlSchema(), when complex type contains simple type content
	  attributes must not added to XmlSchemaComplexType directly. It
	  causes schema compilation error.
	  DataRelation should not be output when related columns are hidden.

svn path=/trunk/mcs/; revision=26930
2004-05-07 16:14:51 +00:00
Jordi Mas i Hernandez d96eab6652 rotate tests
svn path=/trunk/mcs/; revision=26927
2004-05-07 15:05:15 +00:00
Atsushi Eno faa091e5be 2004-05-07 Atsushi Enomoto <[email protected]>
* NewMonoXSD.cs : Previous change broke default C# code generation.
	  XML schema inference output path fix.

svn path=/trunk/mcs/; revision=26924
2004-05-07 14:33:56 +00:00
Sebastien Pouliot ac839a262f 2004-05-07 Sebastien Pouliot <[email protected]>
* RSACryptoServiceProvider.cs: Fixed OID related exception in SignData.

svn path=/trunk/mcs/; revision=26923
2004-05-07 14:28:41 +00:00
Jackson Harper a9c8c3860d * locales.c
(ves_icall_System_Globalization_CultureInfo_internal_get_cultures):
	Fix array construction, add bailout if the length is 0.

svn path=/trunk/mono/; revision=26922
2004-05-07 14:25:26 +00:00
Sebastien Pouliot 2b7558c4f7 2004-05-07 Sebastien Pouliot <[email protected]>
* RSACryptoServiceProviderTest.cs: Oops wrong exception for SignHashNullOID.

svn path=/trunk/mcs/; revision=26921
2004-05-07 14:23:46 +00:00
Sebastien Pouliot a6aa68e2f6 2004-05-07 Sebastien Pouliot <[email protected]>
* PasswordDerivceBytesTest.cs: Added new tests to complete
	coverage.
	* RSACryptoServiceProviderTest.cs: Added new tests to complete
	coverage.

svn path=/trunk/mcs/; revision=26919
2004-05-07 14:01:55 +00:00
Dick Porter 5127e49742 2004-05-07 Dick Porter <[email protected]>
* io.c (SetFileAttributes): Don't have failed chmod()s cause a
	"file not found" error.  Fixes bug 54032.

svn path=/trunk/mono/; revision=26914
2004-05-07 13:35:15 +00:00
Zoltan Varga 0609d6aaf3 2004-05-07 Zoltan Varga <[email protected]>
* mini-sparc.c: Fix vararg support + add beginnings of sigaltstack
	support.

svn path=/trunk/mono/; revision=26913
2004-05-07 13:29:50 +00:00
Dick Porter 3f5302cdb6 2004-05-07 Dick Porter <[email protected]>
* io.c (FindFirstFile): Comment out a windows-compatibility check
	that breaks when directories have metachars in their names.
	Workaround for bug 58116.

svn path=/trunk/mono/; revision=26912
2004-05-07 13:21:27 +00:00
Sebastien Pouliot 0c98b10471 2004-05-07 Sebastien Pouliot <[email protected]>
* ToBase64Transform.cs: Input block may be smaller than a full block
	when calling TransformFinalBlock (fix 2 CryptoStream unit tests).

svn path=/trunk/mcs/; revision=26911
2004-05-07 13:02:24 +00:00
Sebastien Pouliot 06d2660b3e 2004-05-07 Sebastien Pouliot <[email protected]>
* ToBase64TransformTest.cs: Added a (legal) test where the final
	transform receive data smaller than it's input block (padding).

svn path=/trunk/mcs/; revision=26910
2004-05-07 12:59:28 +00:00
Lluis Sanchez f90024c138 * XmlTextWriter.cs: In WriteStartAttribute, when the prefix is xmlns and
the name is empty, convert it to a xmlns attribute.

svn path=/trunk/mcs/; revision=26909
2004-05-07 12:16:06 +00:00
Dick Porter a62a1024f3 2004-05-07 Dick Porter <[email protected]>
* socket-io.c (addrinfo_to_IPHostEntry): Don't crash if the
	machine doesn't have a DNS entry.  Patch by Urs Muff
	([email protected]), fixes bug 57928.

svn path=/trunk/mono/; revision=26908
2004-05-07 12:14:05 +00:00
Sebastien Pouliot f40db6fe6c 2004-05-07 Sebastien Pouliot <[email protected]>
* CipherMode.cs: Moved XML comments to monodoc.
	* CryptoConfig.cs: Changed Array.Copy to Buffer.BlockCopy.
	* CryptoStream.cs: Changed Array.Copy to Buffer.BlockCopy.
	* DSA.cs: Changed Array.Copy to Buffer.BlockCopy.
	* ICryptoTransform.cs: Moved XML comments to monodoc.
	* PasswordDeriveBytes.cs: Changed Array.Copy to Buffer.BlockCopy.
	* FromBase64Transform.cs: Moved XML comments to monodoc.

svn path=/trunk/mcs/; revision=26907
2004-05-07 11:35:22 +00:00
Sebastien Pouliot be7c2ce94c 2004-05-07 Sebastien Pouliot <[email protected]>
* Convert.cs: ToBase64CharArray method was depending on a bug in
	S.S.C.ToBase64Transform class to work. Added an internal method to
	provide the same functionality (multiple block processing).

svn path=/trunk/mcs/; revision=26906
2004-05-07 11:32:06 +00:00
Sebastien Pouliot 7e68c254c8 2004-05-07 Sebastien Pouliot <[email protected]>
* SequentialSearchPrimeGeneratorBase.cs: In sync with
	Mono.Security.dll version.

svn path=/trunk/mcs/; revision=26905
2004-05-07 11:27:12 +00:00
Sebastien Pouliot 0014e1ad65 2004-05-07 Sebastien Pouliot <[email protected]>
* PrimalityTests.cs: In sync with Mono.Security.dll version.

svn path=/trunk/mcs/; revision=26904
2004-05-07 11:25:12 +00:00
Sebastien Pouliot 8a54113a0d 2004-05-07 Sebastien Pouliot <[email protected]>
* BigInteger.cs: In sync with Mono.Security.dll version.

svn path=/trunk/mcs/; revision=26903
2004-05-07 11:23:52 +00:00
Sebastien Pouliot 1e5e8d4172 2005-05-07 Sebastien Pouliot <[email protected]>
* SequentialSearchPrimeGeneratorBase.cs: Start the smallPrime vector at
	10 (not 9) as 29 was just tested (more for correctness than speed gain).

svn path=/trunk/mcs/; revision=26902
2004-05-07 11:10:01 +00:00
Sebastien Pouliot c5540d48c0 2004-05-07 Sebastien Pouliot <[email protected]>
* PrimalityTests.cs: Applying optimization from HAC section 4.50
	(base == 2) for a 30% gain in primality testing (medium confidence).

svn path=/trunk/mcs/; revision=26901
2004-05-07 11:09:20 +00:00
Sebastien Pouliot 66c031d6aa 2005-05-07 Sebastien Pouliot <[email protected]>
* BigInteger.cs: Faster scan of smallPrimes in IsProbablePrime.
	Commented the methods OddModTwoPow and EvenModTwoPow as they are broken
	in some cases (well tested primes test case).

svn path=/trunk/mcs/; revision=26900
2004-05-07 11:08:26 +00:00
Raja R Harinath 1b5ee8c867 * attribute.cs (Attribute.CheckAttributeType, Attribute.ResolveType):
Add a 'complain' parameter to silence errors.
(Attribute.Resolve): Update to changes.  Put in sanity check to catch
silently overlooked type-resolutions.
(Attribute.ScanForIndexerName, Attribute.DefinePInvokeMethod): Update
to reflect changes.
(Attributes.Search): New function.
(Attributes.Contains, Attributes.GetClsCompliantAttribute): Use Search.
(Attributes.GetAttributeFullName): Remove hack.
* class.cs (MethodCore.LabelParameters, MethodData.ApplyAttributes):
Update to reflect changes.
* codegen.cs (CommonAssemblyModulClass.GetClsCompliantAttribute):
Use Attributes.Search instead of nested loops.

svn path=/trunk/mcs/; revision=26899
2004-05-07 11:00:44 +00:00
Raja R Harinath 6a2b24f38b Simplify sed expression.
svn path=/trunk/mcs/; revision=26898
2004-05-07 10:59:05 +00:00
Paolo Molaro e325a3f84d Fri May 7 13:25:50 CEST 2004 Paolo Molaro <[email protected]>
* jit-icalls.c: remove warnings.
	* inssel-x86.brg, inssel.brg, mini-x86.c, cfold.c: some simple
	speedups for unsafe code.

svn path=/trunk/mono/; revision=26897
2004-05-07 10:53:57 +00:00
Lluis Sanchez 52de36e0df * SoapWriter.cs: Fixed string formatting.
svn path=/trunk/mcs/; revision=26896
2004-05-07 10:51:40 +00:00
Lluis Sanchez 47296304eb * SoapServices.cs: Support encoded namespace names in
DecodeXmlNamespaceForClrTypeNamespace. Thanks to George Kodinov.

svn path=/trunk/mcs/; revision=26895
2004-05-07 10:43:32 +00:00
Atsushi Eno 2d0f1a15b9 2004-05-07 Atsushi Enomoto <[email protected]>
* System.Data.dll.sources : added XmlDataInferenceLoader.cs and
	  XmlDataReader.cs.

svn path=/trunk/mcs/; revision=26894
2004-05-07 10:21:58 +00:00
Lluis Sanchez b37ee973a1 * XmlReflectionImporter.cs: Don't reset the internal tables at every
ImportMembersMapping call. This fixes bug #58112. The problem is that
	  it imported two different arrays (only different in the array item
	  namespace) with the same name. Not sure what was this Reset needed for,
	  everyting seems to work without it.

svn path=/trunk/mcs/; revision=26893
2004-05-07 10:18:23 +00:00
Raja R Harinath 56974f2ad0 New tests.
svn path=/trunk/mcs/; revision=26892
2004-05-07 10:08:33 +00:00
Raja R Harinath 7d07cb3c6c (all-local) [SECOND_PASS]: Rewrite to use 'make' itself
to determine out-of-date-ness.  (This fixes an unlogged change.)
(install-local,test-local,run-test-local,clean-local): Collapse
near-identical rules.

svn path=/trunk/mcs/; revision=26891
2004-05-07 10:02:42 +00:00
Marek Safar 13c581d5cf 2004-05-07 Marek Safar <[email protected]>
* cs0579-4.cs, CS0579-4-1.cs,
	* cs0579-5.cs,
	* cs0657.cs,
	* cs3015-2.cs,
	* cs3019.cs,
	* cs3019-2.cs: 6 new error tests.

svn path=/trunk/mcs/; revision=26890
2004-05-07 09:24:40 +00:00
Atsushi Eno 1fab1be621 2004-05-07 Atsushi Enomoto <[email protected]>
* XmlDataInferenceReader.cs : Added. It does InferXmlSchema() (it is
	  also expected to do ReadXml(), but I will remove that feature and
	  support column reordering).
	* XmlSchemaDataImporter.cs : Always initialize dataset name.
	  Always set Nested and primary key for parent table.
	* XmlDataReader.cs : Now it is used.
	  Top level element might not match to dataset name nor any table
	  name, but still possible to read content tables.
	  Handle empty element correctly in some places.
	  Handle Fragment mode (read up XmlReader to the end).
	* DataSet.cs : Modified InferXmlSchema() and ReadXml() to use
	  XmlDataInferenceLoader and XmlDataReader.

svn path=/trunk/mcs/; revision=26889
2004-05-07 09:16:57 +00:00
Marek Safar d0a522f722 2004-05-07 Marek Safar <[email protected]>
* decl.cs:
	(MemberCore.Flags): Extended for caching presence of CLSCompliantAttribute.
	(MemberCore.VerifyClsCompliance): Implemented CS3019 error report.
	(DeclSpace.GetClsCompliantAttributeValue): Returns simple bool.

	* report.cs: (Report.Warning): Renamed to Warning_T because of
	parameter collision.

svn path=/trunk/mcs/; revision=26888
2004-05-07 07:57:24 +00:00
Gonzalo Paniagua Javier 6b97495b1d 2004-05-07 Gonzalo Paniagua Javier <[email protected]>
* Socket.cs: fixed Connect for non-blocking sockets. Closes bug #58169.

svn path=/trunk/mcs/; revision=26887
2004-05-07 07:47:23 +00:00
Sanja Gupta 9c44d8e19f ChangeLog: Updated ChangeLog
ImageAnimator.cs: Corrected implementation of CanAnimate() method.

svn path=/trunk/mcs/; revision=26886
2004-05-07 06:56:05 +00:00
Raja R Harinath 495c35c8d8 Goodbye 'fullbuild', hello 'bootstrap'.
* Makefile.am (bootstrap): New target for building from CVS.  New
improved version of 'fullbuild' -- does not install any files.
(fullbuild): Obsolete target.  Bootstraps and installs tree.
(mcs-tree-safe-build,xinstall-runtime,mcs-rest,remove-binaries):
Removed.
(stage1,stage1-mcs,stage1-mono,stage2,stage3)
(tmpinst-dir,tmpinst-runtime): New targets used to implement a
two-stage bootstrap.

svn path=/trunk/mono/; revision=26884
2004-05-07 05:05:57 +00:00
Gonzalo Paniagua Javier 33b511cc18 0.91.99.0
svn path=/trunk/mcs/; revision=26883
2004-05-07 04:55:31 +00:00
Gonzalo Paniagua Javier eb14e783aa 0.91.99
svn path=/trunk/mono/; revision=26882
2004-05-07 04:54:45 +00:00
Gonzalo Paniagua Javier 45f6a29944 Attempt to fix cyclic dependency issues.
svn path=/trunk/mcs/; revision=26881
2004-05-07 04:14:54 +00:00
Ben Maurer 65753f5535 2004-05-07 Ben Maurer <[email protected]>
* inssel.brg: Optimize Stind.[ui][12]. r=zoltan.

svn path=/trunk/mono/; revision=26880
2004-05-07 04:11:31 +00:00
Duncan Mak 02cfa4928f Sync from web site
svn path=/trunk/mono/; revision=26879
2004-05-07 03:19:29 +00:00
Raja R Harinath 284a843cb7 (AssemblyDelaySign, AssemblyKeyFile): Disable
with BOOTSTRAP_WITH_OLDLIB.  Mono 0.31 runtime crashes on this.

svn path=/trunk/mcs/; revision=26878
2004-05-07 03:08:25 +00:00
Raja R Harinath 1b5d33ae8b (corlib_net_2_0_bootstrap): Copy System.dll and
System.Xml.dll from 'default' profile build.
($(gmcs)): Always go to 'gmcs' directory.

svn path=/trunk/mcs/; revision=26877
2004-05-07 03:07:36 +00:00
Raja R Harinath a404df78f4 (AssemblyDelaySign, AssemblyKeyFile): Disable
for BOOTSTRAP_WITH_OLDLIB.  Mono 0.31 runtime crashes with them.

svn path=/trunk/mcs/; revision=26876
2004-05-07 03:06:56 +00:00
Raja R Harinath 8749e7b04d (all-local): Built first pass with BOOT_COMPILE.
svn path=/trunk/mcs/; revision=26875
2004-05-07 03:06:19 +00:00
Raja R Harinath db8a554985 (SUBDIRS): Build 'corlib' and first pass of 'System'
before anything else.  Remove duplicated Novell.Directory.Ldap.

svn path=/trunk/mcs/; revision=26874
2004-05-07 03:05:24 +00:00
Sebastien Pouliot d4fcff3e3e 2004-05-06 Sebastien Pouliot <[email protected]>
* README: Updated to match the new version and public token for the
	assembly. Also changed my email address.

svn path=/trunk/mcs/; revision=26873
2004-05-07 00:24:37 +00:00
Sebastien Pouliot 90c4678ede 2004-05-06 Sebastien Pouliot <[email protected]>
* SignatureDescriptionTest.cs: Misspelled [SetUp] attribute.

svn path=/trunk/mcs/; revision=26871
2004-05-07 00:08:33 +00:00
Sebastien Pouliot 56d9b6e86e 2004-05-06 Sebastien Pouliot <[email protected]>
* SignatureDescriptionTest.cs: Removed unimplemented constructor from
	tests. Converted to NUnit2.

svn path=/trunk/mcs/; revision=26870
2004-05-07 00:02:53 +00:00
Sebastien Pouliot 1dc0861ecf 2004-05-06 Jesper Pedersen <[email protected]>
* PKCS12.cs: Fixed synchronization with X509CertificateCollection in
	GetBytes ().

svn path=/trunk/mcs/; revision=26867
2004-05-06 23:16:03 +00:00
Jean-Marc Andre 2db3c39529 2004-05-06: Jean-Marc Andr�� <[email protected]>
* SoapTypeMapper.cs: small fix

svn path=/trunk/mcs/; revision=26866
2004-05-06 22:47:13 +00:00
Sebastien Pouliot 3d0fa96491 2004-05-06 Sebastien Pouliot <[email protected]>
* RSAOAEPKeyExchangeDeformatter.cs: Fixed wrt completed unit tests.
	* RSAOAEPKeyExchangeFormatter.cs: Fixed wrt completed unit tests.
	* RSAPKCS1KeyExchangeDeformatter.cs: Fixed wrt completed unit tests.
	Added globalization to exceptions.
	* RSAPKCS1KeyExchangeFormatter.cs: Fixed wrt completed unit tests.
	* RSAPKCS1SignatureDeformatter.cs: Fixed wrt completed unit tests.
	Added globalization to exceptions.
	* RSAPKCS1SignatureFormatter.cs: Fixed wrt completed unit tests.
	Added globalization to exceptions.

svn path=/trunk/mcs/; revision=26862
2004-05-06 19:51:45 +00:00
Jackson Harper f7ee0cbe92 * reflection.c: Handle null PublicTokens properly. alloc mem for
assembly names culture so we dont crash when freeing it.

svn path=/trunk/mono/; revision=26861
2004-05-06 19:46:27 +00:00
Sebastien Pouliot 77d0dd9c47 2004-05-06 Sebastien Pouliot <[email protected]>
* RSAOAEPKeyExchangeDeformatterTest.cs: Updated unit tests to complete
	coverage.
	* RSAOAEPKeyExchangeFormatterTest.cs: Updated unit tests to complete
	coverage.
	* RSAPKCS1KeyExchangeDeformatterTest.cs: Updated unit tests to
	complete coverage.
	* RSAPKCS1KeyExchangeFormatterTest.cs: Updated unit tests to complete
	coverage.
	* RSAPKCS1SignatureDeformatterTest.cs: Updated unit tests to complete
	coverage.
	* RSAPKCS1SignatureFormatterTest.cs: Updated unit tests to complete
	coverage.

svn path=/trunk/mcs/; revision=26860
2004-05-06 19:28:52 +00:00
Jaroslaw Kowalski 2d475bf13b fix for loading I18N.*.dll assemblies from the GAC
svn path=/trunk/mcs/; revision=26859
2004-05-06 19:14:31 +00:00
Jackson Harper 784eeba55e * assembly.c: Check the usergac when loading with
partial names.

svn path=/trunk/mono/; revision=26858
2004-05-06 18:50:28 +00:00
Gonzalo Paniagua Javier ffbd7f9d99 2004-05-06 Gonzalo Paniagua Javier <[email protected]>
* Directory.cs: use the real wildcard for file names as it is supported
	now in io-layer. SearhPattern is not needed now.

svn path=/trunk/mcs/; revision=26856
2004-05-06 17:48:31 +00:00
Gonzalo Paniagua Javier ad0b5f7489 removed obsolete comment
svn path=/trunk/mono/; revision=26855
2004-05-06 17:43:33 +00:00
Gonzalo Paniagua Javier 5638a610ac 2004-05-06 Gonzalo Paniagua Javier <[email protected]>
* io.c: fixed for FindFirstFile for empty directories. Closes
	bug #58147.

svn path=/trunk/mono/; revision=26854
2004-05-06 17:21:00 +00:00
Jackson Harper f827d032d1 * Assembly.cs: remove TODO, this is done.
svn path=/trunk/mcs/; revision=26853
2004-05-06 16:51:09 +00:00
Jackson Harper 5eb7fdb6d8 * Environment.cs: Make $HOME the personal directory.
svn path=/trunk/mcs/; revision=26852
2004-05-06 16:45:01 +00:00
Atsushi Eno e55051f004 2004-05-06 Atsushi Enomoto <[email protected]>
* xml-classes : updates

svn path=/trunk/mono/; revision=26851
2004-05-06 16:38:08 +00:00
Sebastien Pouliot f4149bac0c 2004-05-06 Sebastien Pouliot <[email protected]>
* Convert.cs: ToBase64String method was depending on a bug in
	S.S.C.ToBase64Transform class to work. Added an internal method to
	provide the same functionality (multiple block processing).

svn path=/trunk/mcs/; revision=26850
2004-05-06 16:37:34 +00:00
Sebastien Pouliot 9d7ae50253 2004-05-06 Sebastien Pouliot <[email protected]>
* Rijndael.cs: Source clean up.
	* RijndaelManaged.cs: Moved XML comments to monodoc. Added
	globalization to exceptions.

svn path=/trunk/mcs/; revision=26849
2004-05-06 16:34:41 +00:00
Sebastien Pouliot e7cc9f30bc 2004-05-06 Sebastien Pouliot <[email protected]>
* RNGCryptoServiceProvider.cs: Removed TODO and documented them in
	mono doc. Now call runtime when a seed is provided.
	* RSA.cs: Added globalization to exceptions. Removed check for
	<RSAKeyValue> as it is not checked by MS implementation.
	* SignatureDescription.cs: Moved XML comments to monodoc. Added
	globalization to exceptions. Removed TODO and added notes to monodoc.
	* SymmetricAlgorithm.cs: Moved XML comments to monodoc. Added
	globalization to exceptions.
	* ToBase64Tranform.cs: Added missing exception handling. Moved XML
	comments to monodoc.

svn path=/trunk/mcs/; revision=26848
2004-05-06 16:31:52 +00:00
Gonzalo Paniagua Javier 581c069a2a ordered last 'In the news' by date
svn path=/trunk/mono/; revision=26847
2004-05-06 16:27:25 +00:00
Sebastien Pouliot 5b3e334040 2004-05-06 Sebastien Pouliot <[email protected]>
* TripleDES.cs: Added globalization to exceptions.
	* TripleDESCryptoServiceProvider.cs: Changed Array.Copy to
	Buffer.BlockCopy. Zeroize decrypted data.

svn path=/trunk/mcs/; revision=26846
2004-05-06 16:27:14 +00:00
Sebastien Pouliot e6dd3a1022 2004-05-06 Sebastien Pouliot <[email protected]>
* SHA1.cs: Moved XML comments to monodoc.
	* SHA1CryptoServiceProvider.cs: Moved XML comments to monodoc. Removed CLSCompliance
	attributes from	private fields.
	* SHA256.cs: Moved XML comments to monodoc.
	* SHA256Managed.cs: Moved XML comments to monodoc. Removed CLSCompliance
	attributes from	private fields.
	* SHA384.cs: Moved XML comments to monodoc.
	* SHA512.cs: Moved XML comments to monodoc.

svn path=/trunk/mcs/; revision=26845
2004-05-06 16:24:33 +00:00
Sebastien Pouliot 340663a90a 2004-05-06 Sebastien Pouliot <[email protected]>
* RC2.cs: Fixed KeySize to change it's value and the EffectiveKeySize
	when the key is changed.
	* RC2CryptoServiceProvider.cs: Added globalization to exceptions.
	Fixed the KeySize must be equal with EffectiveKeySize to match MS
	implementation.

svn path=/trunk/mcs/; revision=26844
2004-05-06 16:19:57 +00:00
Ravindra f550dce7c5 * RectangleConverter.cs: Implemented GetProperties () method.
* SizeConverter.cs: Implemented GetProperties () method.
	* PointConverter.cs: Implemented GetProperties () method.
	* FontConverter.cs: Implemented some of the methods.

svn path=/trunk/mcs/; revision=26841
2004-05-06 15:47:50 +00:00
Zoltan Varga 7cd4db061f 2004-05-06 Zoltan Varga <[email protected]>
* basic-calls.cs: Add new regression test.

svn path=/trunk/mono/; revision=26840
2004-05-06 15:20:19 +00:00
Zoltan Varga 0a04f6676f 2004-05-06 Zoltan Varga <[email protected]>
* mini.c (mono_runtime_install_handlers): Use SA_ONSTACK since it is
	more portable.

	* mini.c (mono_method_to_ir): Handle opcode emulation for *_OVF opcodes.

svn path=/trunk/mono/; revision=26839
2004-05-06 15:12:34 +00:00
Bernie Solomon ee4f51092b 2004-05-06 Bernie Solomon <[email protected]>
* dump.c:
	* get.c:
	* main.c:
	* util.c:
	* util.h: rename map_t dis_map_t to avoid AIX symbol clash

svn path=/trunk/mono/; revision=26838
2004-05-06 15:10:48 +00:00
Erik Dasque 9b38e544e3 added two "In the news" items. Don't know where to put images for now
svn path=/trunk/mono/; revision=26837
2004-05-06 15:09:11 +00:00
Lluis Sanchez 304353fc3f * SerializationCodeGenerator.cs, XmlSerializationReaderInterpreter.cs:
When deserializing an encoded method response, if the return type of the
	  method is Object, assign to it the first element of the message, whatever
	  it is.
	* XmlSerializationReader.cs:
	* SoapReflectionImporter.cs, XmlReflectionImporter.cs: Set IsReturnValue of
	  the imported member.
	* TypeTranslator.cs: Added method to safely get a primitive TypeData.
	* XmlSerializationReader.cs: Don't throw an exception when the CLR type for
	  a given xsi type is not found. Just read it as primitive type.
	* XmlTypeMapMember.cs: Added IsReturnValue property.
	* XmlTypeMapping.cs: Added ReturnMember property.
	* XmlSerializer.cs: Reference System.Data when compiling the serializer.

svn path=/trunk/mcs/; revision=26836
2004-05-06 15:08:58 +00:00
Sebastien Pouliot f105478081 2004-05-06 Sebastien Pouliot <[email protected]>
* corlib_test.dll.sources: Added SymmetricAlgorithm2Test,
	ToBaseTransformTest, TripleDESTest unit tests to the build.

svn path=/trunk/mcs/; revision=26834
2004-05-06 14:56:32 +00:00
Sebastien Pouliot 2403373982 2004-05-06 Sebastien Pouliot <[email protected]>
* RNGCryptoServiceProviderTest.cs: Updated unit tests for exception
	testing.
	* RSATest.cs: Updated unit tests for importing XML key pairs.
	* SymmetricAlgorithm2Test.cs: New. Non generated unit test for better
	coverage (like exception testing).
	* ToBase64TransformTest.cs: New. Unit tests to complete coverage of
	ToBase64Transform.
	* TripleDESTest.cs: New. Unit tests to complete coverage of TripleDES.

svn path=/trunk/mcs/; revision=26833
2004-05-06 14:53:05 +00:00
Atsushi Eno ef60eaba14 2004-05-06 Atsushi Enomoto <[email protected]>
* DataSet.cs :
	  Eliminated CRLF injection.
	  More clear message in Clear().
	  Updates reflecting XmlSchemaDataImporter change.
	  Added duplicate check for XmlSerializerNamespaces in BuildSchema().
	  Don't use xmlns attribute for UnhandledAttributes (its not mandatory
	  but that depends on different behavior from ms.net).
	  Set locale also for DataTable.
	  Add xs:element only when target namespace matches to the
	  element's namespace. Otherwise, add xs:import for external namespace.
	  Put xs:sequence for dataset element's particle _only when_ actual
	  contents exist.

svn path=/trunk/mcs/; revision=26832
2004-05-06 14:44:29 +00:00
Ravindra 058b008a9e * Color.cs: Fixed Name property.
* ColorTranslator.cs: Fixed the existing methods and implemented
	the missing methods.
	* ColorConverter.cs: Fixed the existing methods and implemented
	the missing methods. Also, fixed coding style.

svn path=/trunk/mcs/; revision=26831
2004-05-06 14:40:20 +00:00
Sebastien Pouliot 108f7f003d 2004-05-06 Sebastien Pouliot <[email protected]>
* RC2Test.cs: Converted to NUnit 2. Uncommented some tests that throw
	exceptions to test exception handling (and get more coverage).
	* SHA256Test.cs: Corrected Setup attribtue (was [Test]).

svn path=/trunk/mcs/; revision=26830
2004-05-06 14:36:21 +00:00
Atsushi Eno 51b3c2a98a 2004-05-06 Atsushi Enomoto <[email protected]>
* XmlDataReader.cs : Added. This class will work better when our
	  schema inference and schema read engine gets improved. (It contains
	  standalone testable Driver class.)

svn path=/trunk/mcs/; revision=26829
2004-05-06 14:29:36 +00:00
Nick Drochak 721c5efbdc 2004-05-07 Nick Drochak <[email protected]>
* Makefile (plattest_flags): Add /unsafe.

svn path=/trunk/mcs/; revision=26827
2004-05-06 14:24:45 +00:00
Miguel de Icaza 15e93cd6d7 Fix
svn path=/trunk/mono/; revision=26826
2004-05-06 14:04:46 +00:00
Miguel de Icaza 0e41c30ad3 Fix
svn path=/trunk/mono/; revision=26825
2004-05-06 14:02:31 +00:00
Atsushi Eno 4697c5210b 2004-05-06 Atsushi Enomoto <[email protected]>
* ForeignKeyConstraint.cs : Check step change. Existence then column
	  validity. just for tests.
	* XmlSchemaDataImporter.cs : code simplification. reduced extraneous
	  fields.

svn path=/trunk/mcs/; revision=26824
2004-05-06 13:59:00 +00:00
Atsushi Eno 52ba29c687 2004-05-06 Atsushi Enomoto <[email protected]>
* ConstraintCollectionTest.cs : Table name should not be the same as
	  for the purpose of this test.
	* DataSetReadXmlSchemaTest.cs : Added more tests based on schema files.
	* DataSetTest.cs : Reordered attributes to pass test in
	  WriteDifferentNamespaceSchema().

svn path=/trunk/mcs/; revision=26822
2004-05-06 13:52:23 +00:00
Atsushi Eno 13b282d1fb 2004-05-06 Atsushi Enomoto <[email protected]>
* New directory.
	  Added test001.xsd - test011.xsd, test101.xsd, test102.xsd

svn path=/trunk/mcs/; revision=26820
2004-05-06 13:48:39 +00:00
Zoltan Varga 6bb7c6244c 2004-05-06 Zoltan Varga <[email protected]>
* Makefile.am: Only disable thread6.exe on x86.

svn path=/trunk/mono/; revision=26819
2004-05-06 13:17:40 +00:00
Zoltan Varga acc71ac3a9 2004-05-06 Zoltan Varga <[email protected]>
* Makefile.am: Disable thread6.exe since it might hang. Fix check for
	failed tests.

svn path=/trunk/mono/; revision=26818
2004-05-06 12:34:18 +00:00
Alon Gazit 6eb1ccb667 fixed LoadViewState() and SaveViewState() in WebControl.
Before the change the Enabled property wasn't updated when a postback
event was raised.
fixed SelectedIndex property implementation in ListControl.
Prevents throwing ArgumentOutOfRangeException (that should not be thrown),
when the list is empty.

svn path=/trunk/mcs/; revision=26817
2004-05-06 12:18:22 +00:00
Atsushi Eno 3f7b10da20 2004-05-06 Atsushi Enomoto <[email protected]>
* ManagedXslTransform.cs : For Stream input, use StreamWriter for
	  input to GenericOutputter. Passing XmlWriter causes unexpected
	  xml declaration output.

svn path=/trunk/mcs/; revision=26816
2004-05-06 12:10:24 +00:00
Zoltan Varga 33ce44982c 2004-05-06 Zoltan Varga <[email protected]>
* mini-x86.c (mono_arch_local_regalloc): Free new_dest register when it
	is no longer used.

svn path=/trunk/mono/; revision=26815
2004-05-06 12:01:45 +00:00
Atsushi Eno 7ce87bf23c 2004-05-06 Atsushi Enomoto <[email protected]>
* NewMonoXSD.cs : Added new /generator:typename(,assemblyfile) option
	  support that enables users to use any CodeDomProvider.
	  Added VB support (/language:VB).

svn path=/trunk/mcs/; revision=26812
2004-05-06 10:11:34 +00:00
Patrik Torstensson ccf08337d7 2004-05-06 Patrik Torstensson
* mini-x86.[c|h], inssel-x86.brg, cpu-pentium.md, mini.c: enabled
	long reg allocation in any reg (not only eax:edx) and implemented
	long shl/shr ops in asm instead of helpers.

svn path=/trunk/mono/; revision=26811
2004-05-06 09:33:46 +00:00
Gonzalo Paniagua Javier cbd5ff5515 2004-05-06 Gonzalo Paniagua Javier <[email protected]>
* processes.c: set the start time for the current process. Fixes bug
	#58109.

svn path=/trunk/mono/; revision=26810
2004-05-06 09:07:22 +00:00
Gonzalo Paniagua Javier 6dc115d439 2004-05-06 Gonzalo Paniagua Javier <[email protected]>
* Assembly.cs: ToString () returns the same as GetName ().ToString ().
	Fixes bug #58104.

svn path=/trunk/mcs/; revision=26809
2004-05-06 06:33:39 +00:00
Gonzalo Paniagua Javier 02767b6e8d <pre> 12px
svn path=/trunk/mono/; revision=26808
2004-05-06 05:40:35 +00:00
Mike Shaver bc92af0f5e Implement StringToCoTaskMem{Ansi,Uni} (bug 58102).
svn path=/trunk/mcs/; revision=26806
2004-05-06 04:03:57 +00:00
Gonzalo Paniagua Javier 6414e56caa 2004-05-05 Gonzalo Paniagua Javier <[email protected]>
* configure.in: scandir check is no longer needed.

svn path=/trunk/mono/; revision=26803
2004-05-06 02:19:33 +00:00
Sebastien Pouliot 93dcf1663c 2004-05-05 Sebastien Pouliot <[email protected]>
* rand.c|h: Added new icall for (optionally) seeding the PRNG. This
	does nothing for now (not required for Linux/Windows) but the class
	library can call it (and a newer or modified runtime could need it).
	* icall.c: Registred icall.

svn path=/trunk/mono/; revision=26802
2004-05-06 02:18:47 +00:00
Gonzalo Paniagua Javier 5c7e358321 2004-05-06 Gonzalo Paniagua Javier <[email protected]>
* io-private.h: 'namelist' is now a gchar ** in _WapiHandlePrivate_find.
	* io.c: implemented scandir using glib functions.

svn path=/trunk/mono/; revision=26801
2004-05-06 02:18:19 +00:00
Gonzalo Paniagua Javier 19bb38456b update MONO_DEBUG
svn path=/trunk/mono/; revision=26800
2004-05-06 01:07:16 +00:00
Gonzalo Paniagua Javier ee201ca3c4 2004-05-06 Gonzalo Paniagua Javier <[email protected]>
* loader.c: prints a message on module loading error we set MONO_DEBUG
	environment variable.

svn path=/trunk/mono/; revision=26799
2004-05-06 00:58:01 +00:00
Gonzalo Paniagua Javier c2cf85f5fa 2004-05-06 Gonzalo Paniagua Javier <[email protected]>
* AspParser.cs: indent a few lines.
	* AspTokenizer.cs: added ungetc() used when we read a '/' in an unquoted
	attribute value. This way we can simulate reading 2 characters ahead
	(one in ungetc and the other in Peek) and work with values like
	text/javascript. Fixes bug #57302.

svn path=/trunk/mcs/; revision=26798
2004-05-06 00:39:36 +00:00
Gonzalo Paniagua Javier 24a8232adc 2004-05-06 Gonzalo Paniagua Javier <[email protected]>
* WebConfigurationSettings.cs: fixed loading of external files. Closes
	bug #57244.

svn path=/trunk/mcs/; revision=26794
2004-05-06 00:11:28 +00:00
Gonzalo Paniagua Javier e193340b0f 2004-05-06 Gonzalo Paniagua Javier <[email protected]>
* ConfigXmlDocument.cs: removed method that was supposed to be internal.

	* ConfigurationSettings.cs: instead of calling the overload that doesn't
	exist in MS, use what we have when loading an external file.

svn path=/trunk/mcs/; revision=26793
2004-05-06 00:10:42 +00:00
Miguel de Icaza d2c3741000 Update CVS
svn path=/trunk/mono/; revision=26792
2004-05-05 23:56:10 +00:00
Gonzalo Paniagua Javier 8231f0a5ba 2004-05-06 Gonzalo Paniagua Javier <[email protected]>
* AspParser.cs: ignore whitespace after directives. Fixes bug #58057.

svn path=/trunk/mcs/; revision=26790
2004-05-05 23:18:53 +00:00
Bernie Solomon b547e31639 2004-05-05 Bernie Solomon <[email protected]>
* configure.in: set LIBC on HPUX

svn path=/trunk/mono/; revision=26788
2004-05-05 21:11:47 +00:00
Atsushi Eno bb5d2e9138 2004-05-05 Atsushi Enomoto <[email protected]>
* ForeignKeyConstraintTest.cs : Made tests pass under MS.NET 1.1.
	  Don't catch every kind of exception. That does nothing but keep us
	  away from the exact error location.
	* DataSetTest.cs : Make sure that we read schema correctly, before
	  testing WriteXmlSchema.

svn path=/trunk/mcs/; revision=26786
2004-05-05 19:53:23 +00:00
Jackson Harper 8832b6ba54 * appdomain.c: Handle PublicKeyToken=null properly.
svn path=/trunk/mono/; revision=26785
2004-05-05 19:34:41 +00:00
Atsushi Eno 6daf503610 2004-05-05 Atsushi Enomoto <[email protected]>
* DataSet.cs : Ignore empty content only when output type is diffgram.

svn path=/trunk/mcs/; revision=26784
2004-05-05 19:00:10 +00:00
Gonzalo Paniagua Javier 1332cad5c2 2004-05-05 Gonzalo Paniagua Javier <[email protected]>
* Makefile:
	* Npgsql.dll.resources: all the resources command line options are now
	in a separate response file.

svn path=/trunk/mcs/; revision=26783
2004-05-05 18:55:26 +00:00
Gonzalo Paniagua Javier 3e0dca1db9 2004-05-05 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Services.dll.sources: removed HttpGetWebServiceHandler and
	HttpPostWebServiceHandler.

	* System.Web.Services.Protocols/HttpGetWebServiceHandler.cs:
	* System.Web.Services.Protocols/HttpPostWebServiceHandler.cs: removed.

	* System.Web.Services.Protocols/HttpSimpleWebServiceHandler.cs: changed
	ctor parameters and added EnableSession property.

	* System.Web.Services.Protocols/WebServiceHandler.cs: added EnableSession
	virtual property.

	* System.Web.Services.Protocols/WebServiceHandlerFactory.cs: added a new
	handler that implements IRequiresSessionState used for HttpGet and
	HttpPost.
	(GetHandler): for HttpGet and HttpPost check if the method requires to
	have a Session object and use the new SimpleSyncSessionHandler in that
	case.

	Still missing proper session handler for SOAP requests.

svn path=/trunk/mcs/; revision=26782
2004-05-05 18:51:00 +00:00
Gonzalo Paniagua Javier 36879b3188 2004-05-05 Gonzalo Paniagua Javier <[email protected]>
* HttpSessionState.cs: added Clone (), which makes and exact copy but
	with a cloned SessionDictionary. When EnableSessionState is set to
	ReadOnly, we can modify the collection, but changes are not propagated.

	* ISessionHandler.cs: changed signature of UpdateContext().

	* SessionDictionary.cs: added Clone.

	* SessionInProcHandler.cs:
	* SessionSQLServerHandler.cs:
	* SessionStateServerHandler.cs: don't create a new session if the handler
	do not require it. UpdateContext() now returns an HttpSessionState to
	the module.

	* SessionStateModule.cs: removed IsReadOnly as it is now passed as a
	parameter to the session handler. If the session is read-only, clone
	it so that it can be changed but changes are not kept.

	In short, we don't create session objects when not required and we
	honor the ReadOnly sessions.

svn path=/trunk/mcs/; revision=26781
2004-05-05 18:45:08 +00:00
Jackson Harper 6f97ab8d8f * ILParser.jay: Handle endian issues when converting numeric
types.

svn path=/trunk/mcs/; revision=26779
2004-05-05 18:34:06 +00:00
Sebastien Pouliot ff4f6876ba 2004-05-05 Sebastien Pouliot <[email protected]>
* Environment.cs: Completed OSVersion property.
 	* Version.cs: Added internal CreateFromString() to "try" to build the
 	best version number form the specified string.

svn path=/trunk/mcs/; revision=26777
2004-05-05 18:20:02 +00:00
Sebastien Pouliot 219613bdad 2004-05-05 Sebastien Pouliot <[email protected]>
* environment.c|h: Added icall ves_icall_System_Environment_
	GetOSVersionString to get the current OS version as a string.
	* icall.c: Registred icall.

svn path=/trunk/mono/; revision=26776
2004-05-05 18:18:58 +00:00
Atsushi Eno e32685b887 2004-05-05 Atsushi Enomoto <[email protected]>
* CustomDataClassGenerator.cs : Modified that DataSet contains each
	  DataTable field so that each table property can access them directly.
	  (plus, modified standalone code driver code: shouldn't affect)

svn path=/trunk/mcs/; revision=26775
2004-05-05 18:03:58 +00:00
Atsushi Eno f1b7456d4a 2004-05-05 Atsushi Enomoto <[email protected]>
* DataColumnCollectionTest.cs : catch only specific exception. Don't
	  rely on localizable error message.
	* DataSetTest.cs : Attribute orders should not be significant, so
	  just hacked to match current implementation's order.
	  Added WriteNestedTableXml().

svn path=/trunk/mcs/; revision=26774
2004-05-05 17:48:54 +00:00
Sebastien Pouliot dc581bf25d 2004-05-05 Sebastien Pouliot <[email protected]>
* HashAlgorithm.cs: Moved XML comments to monodoc. Added globalization
	to exceptions.
	* KeyedHashAlgorithm.cs: Added globalization to exceptions.
	* KeySizes.cs: Moved XML comments to monodoc.
	* MaskGenerationMethod.cs: Source clean up.
	* MD5.cs: Moved XML comments to monodoc.
	* MD5CryptoServiceProvider.cs: Removed CLSCompliance attributes from
	private fields. Changed constants from enum to array. Zeroize data on
	Dispose.
	* PaddingMode.cs: Moved XML comments to monodoc.
	* PasswordDeriveBytes.cs: Added globalization to exceptions. Removed
	TODO and documented as "not supported" in MonoDoc.
	* RandomNumberGenerator.cs: Source clean up.

svn path=/trunk/mcs/; revision=26773
2004-05-05 17:40:22 +00:00
Lluis Sanchez 5850916c3c * object.c: in mono_object_get_virtual_method(), take into account that
non-virtual methods don't have a slot in the vtable. Check needed when
	the object is a proxy.

svn path=/trunk/mono/; revision=26772
2004-05-05 17:27:48 +00:00
Lluis Sanchez 158becb0c3 * BooleanConverter.cs: Improved ConverFrom method.
svn path=/trunk/mcs/; revision=26771
2004-05-05 17:05:53 +00:00
Zoltan Varga 881f005dfd 2004-05-05 Zoltan Varga <[email protected]>
* mini-sparc.h: Fix warnings.

	* exceptions-sparc.c (mono_arch_find_jit_info): Pop unused lfm off the
	stack.

	* mini-exceptions.c (mono_handle_exception): Call the filter in a
	separate statement for clarity.

svn path=/trunk/mono/; revision=26770
2004-05-05 17:02:52 +00:00
Rafael Teixeira e4289f8c21 2004/04/07 Rafael Teixeira <[email protected]>
* AssemblyInfo.cs : Correcting information and version number

svn path=/trunk/mcs/; revision=26768
2004-05-05 15:37:17 +00:00
Jordi Mas i Hernandez eb6166abf0 Let GDI+ to calculate the strides
svn path=/trunk/mcs/; revision=26767
2004-05-05 15:26:37 +00:00
Jaroslaw Kowalski 7afbf82c34 NpgsqlDataReader.RecordsAffected fix
svn path=/trunk/mcs/; revision=26765
2004-05-05 14:59:16 +00:00
Sebastien Pouliot 85d5a4d1f0 2004-05-05 Sebastien Pouliot <[email protected]>
* DSACryptoServiceProvider.cs: Added globalization to exceptions.
	* HMACSHA1.cs: Cleanup.
	* SHA1CryptoServiceProvider.cs: Removed unused private methods.
	* SHA1Managed.cs: Removed unused private methods.
	* SHA384Managed.cs: Don't zeroize buffer on first initialization.
	* SHA512Managed.cs: Don't zeroize buffer on first initialization.

svn path=/trunk/mcs/; revision=26763
2004-05-05 14:14:26 +00:00
Lluis Sanchez fb9c1efbf0 * SerializationCodeGenerator.cs, XmlSerializationReaderInterpreter.cs:
When reading an object using the typeof(object) map, an emty xsi:type
	  means that it has to read the contents into an XmlNode[].
	* TypeData.cs: Return the correct full name for inner classes.
	* XmlSchemaImporter.cs: Improved detection of types that represent
	  "anyType", and must be mapped to XmlElement, XmlNode or Object.
	* XmlSerializationReader.cs: In GetXsiType(), find the type attribute using
	  the correct namespace.
	  In ReadTypedPrimitive(), read the element as XmlNode[] if the type is
	  not known.

svn path=/trunk/mcs/; revision=26761
2004-05-05 13:32:08 +00:00
Sebastien Pouliot 58b47ca476 2004-05-05 Sebastien Pouliot <[email protected]>
* corlib.dll.sources: Added SHAConstants to the build.

svn path=/trunk/mcs/; revision=26760
2004-05-05 13:28:10 +00:00
Sebastien Pouliot 81f86a80e8 2004-05-05 Sebastien Pouliot <[email protected]>
* SHA256Managed.cs: Updated to use shared constants.
	* SHA384Managed.cs: Updated to use shared constants.
	* SHA512Managed.cs: Updated to use shared constants.
	* SHAConstants.cs: New. Shared constants for SHA implementations.

svn path=/trunk/mcs/; revision=26759
2004-05-05 13:27:12 +00:00
Zoltan Varga fd85c965b3 2004-05-05 Zoltan Varga <[email protected]>
* mini-sparc.c: Update status.

svn path=/trunk/mono/; revision=26758
2004-05-05 13:13:54 +00:00
Gonzalo Paniagua Javier 5cc63db76a removed ^Ms
svn path=/trunk/mcs/; revision=26757
2004-05-05 13:12:40 +00:00
Sebastien Pouliot e7c5c21986 2004-05-05 Jesper Pedersen <[email protected]>
* PKCS12.cs: Added support for SafeBag attributes. Added support for
	Clone() (ICloneable), Equals and GetHashCode. New methods:
	- AddCertificate (X509Certificate cert)
	- AddCertificate (X509Certificate cert, IDictionary attributes)
	- RemoveCertificate (X509Certificate cert)
	- RemoveCertificate (X509Certificate cert, IDictionary attributes)
	- AddPkcs8ShroudedKeyBag (AsymmetricAlgorithm aa)
	- AddPkcs8ShroudedKeyBag (AsymmetricAlgorithm aa, IDictionary attributes)
	- RemovePkcs8ShroudedKeyBag (AsymmetricAlgorithm aa)
	- AddKeyBag (AsymmetricAlgorithm aa)
	- AddKeyBag (AsymmetricAlgorithm aa, IDictionary attributes)
	- RemoveKeyBag (AsymmetricAlgorithm aa)
	- AsymmetricAlgorithm GetAsymmetricAlgorithm (IDictionary attrs)
	- X509Certificate GetCertificate (IDictionary attrs)
	- IDictionary GetAttributes (AsymmetricAlgorithm aa)
	- IDictionary GetAttributes (X509Certificate cert)

svn path=/trunk/mcs/; revision=26756
2004-05-05 13:11:57 +00:00
Zoltan Varga 96a0804643 2004-05-05 Zoltan Varga <[email protected]>
* mono-jni.c: Implement some missing JNI functions.

svn path=/trunk/mono/; revision=26755
2004-05-05 13:08:34 +00:00
Sebastien Pouliot 3099aafc6f 2004-05-05 Sebastien Pouliot <[email protected]>
* corlib.dll.sources: Added Base64Constants to the build.

svn path=/trunk/mcs/; revision=26754
2004-05-05 12:48:11 +00:00
Sebastien Pouliot e57fe275fc 2004-05-05 Sebastien Pouliot <[email protected]>
* Base64Constants.cs: New. Convert code into tables for better base64
	performance.
	* FromBase64Transform.cs: Updated to use the new tables. Source code
	cleanup.
	* ToBase64Transform.cs: Updated to use the new tables. Added
	globalization. Commented finalizer as it isn't required in this case.

svn path=/trunk/mcs/; revision=26753
2004-05-05 12:46:44 +00:00
Boris Kirzner 2797c8f00d * DataView.cs , DataRowView.cs : Added implementation to basic methods and properties.
svn path=/trunk/mcs/; revision=26752
2004-05-05 12:19:07 +00:00
Raja R Harinath 9d7ffb37f5 testcases for bug 57151
svn path=/trunk/mcs/; revision=26751
2004-05-05 11:06:41 +00:00
Zoltan Varga b92d0b7e63 2004-05-05 Zoltan Varga <[email protected]>
* MarshalTest.cs: Add test for UnsafeAddrOfPinnedArrayElement.

svn path=/trunk/mcs/; revision=26750
2004-05-05 11:04:42 +00:00
Zoltan Varga 35d646caeb 2004-05-05 Zoltan Varga <[email protected]>
* Makefile (test_flags): Add /unsafe.

svn path=/trunk/mcs/; revision=26749
2004-05-05 11:03:44 +00:00
Zoltan Varga 8310dc4160 2004-05-05 Zoltan Varga <[email protected]>
* Marshal.cs: Applied patch from [email protected] (Vladimir Vukicevic). Implement UnsafeAddrOfPinnedArrayElement.

svn path=/trunk/mcs/; revision=26748
2004-05-05 11:02:41 +00:00
Zoltan Varga ea46e43b38 2004-05-05 Zoltan Varga <[email protected]>
* marshal.h marshal.c icall.c: Applied patch from [email protected] (Vladimir Vukicevic). Implement UnsafeAddrOfPinnedArrayElement.

svn path=/trunk/mono/; revision=26747
2004-05-05 11:01:24 +00:00
Raja R Harinath 5d805e2561 test for bug #57151
svn path=/trunk/mcs/; revision=26746
2004-05-05 11:01:22 +00:00
Zoltan Varga c36e12ba54 2004-05-05 Zoltan Varga <[email protected]>
* configure.in: Detect JNI headers in GNU classpath sources as well.

svn path=/trunk/mono/; revision=26745
2004-05-05 10:36:41 +00:00
Raja R Harinath e6064df91a revert log for uncommitted part.
svn path=/trunk/mono/; revision=26743
2004-05-05 10:11:18 +00:00
Raja R Harinath c0b5da8923 (install-data-local, uninstall-local):
Only disable this if INSTALL_2_0 is disabled.

svn path=/trunk/mono/; revision=26742
2004-05-05 10:10:28 +00:00
Zoltan Varga f6645dec47 2004-05-05 Zoltan Varga <[email protected]>
* object.c (mono_class_compute_gc_descriptor): Fix warning.

	* object.c (mono_runtime_invoke_array): Add an assert so null cannot be
	passed when a valuetype is expected.

	* object.c (mono_unhandled_exception): Only set the exit code if the
	exception happens in the main thread. Fixes thread5.exe.

svn path=/trunk/mono/; revision=26741
2004-05-05 09:54:12 +00:00
Zoltan Varga d66f74de02 2004-05-05 Zoltan Varga <[email protected]>
* appdomain.c (get_info_from_assembly_name): Fix infinite loop on
	invalid names. Fixes #58047.

svn path=/trunk/mono/; revision=26740
2004-05-05 09:19:34 +00:00
Raja R Harinath be37528cc3 * expression.cs (MemberAccess.ResolveMemberAccess):
Exit with non-zero status after Report.Error.
* rootcontext.cs (RootContext.BootstrapCorlib_ResolveDelegate):
Likewise.
* typemanager.cs (TypeManager.CoreLookupType): Likewise.

svn path=/trunk/mcs/; revision=26739
2004-05-05 08:49:33 +00:00
Atsushi Eno 6b9acee880 2004-05-05 Atsushi Enomoto <[email protected]>
* BuiltInDatatype.cs : trivia fix

svn path=/trunk/mcs/; revision=26738
2004-05-05 04:56:09 +00:00
Atsushi Eno b13d1c2c41 2004-05-05 Atsushi Enomoto <[email protected]>
* BuiltInDatatype.cs : added BUGGY_MS_COMPLIANT condition and that
	  handles ms-compatible properties.
	* XmlSchemaComplexType.cs : ditto for ContentTypeParticle of xs:anyType.
	  Make sure ContentType for xs:anyType is Mixed.
	* XmlSchemaUtil.cs : ditto for <xs:attribute use="prohibited" ..>

svn path=/trunk/mcs/; revision=26737
2004-05-05 04:44:49 +00:00
Atsushi Eno 622f40ad6d 2004-05-05 Atsushi Enomoto <[email protected]>
* XmlSerializationWriter.cs : It do not have to handle schema
	  namespace as special one.

svn path=/trunk/mcs/; revision=26736
2004-05-05 04:28:54 +00:00
Atsushi Eno c381e2e366 2004-05-05 Atsushi Enomoto <[email protected]>
* XmlSchema.cs : Write() handles schema namespace for xmlserializer
	  (it does not look to be handled inside xmlserializer).

svn path=/trunk/mcs/; revision=26735
2004-05-05 04:27:22 +00:00
Atsushi Eno 2b323defa8 2004-05-05 Atsushi Enomoto <[email protected]>
* XmlSchemaTests.cs : Added TestWriteNamespaces().

svn path=/trunk/mcs/; revision=26734
2004-05-05 04:25:02 +00:00
Atsushi Eno 9e692caa42 2004-05-05 Atsushi Enomoto <[email protected]>
* XmlDsigBase64Transform.cs : LoadInputAsXmlNodeList() is testable.
	* XmlDsigC14NTransformTest.cs : Ignore LoadInputAsXmlNodeList(); that
	  test premises incorrect namespace handling.
	* XmlDsigXPathTransformTest.cs : Removed some FIXMEs (counting node
	  will give more expected results),
	  plus some noise on FunctionHereObsolete().

svn path=/trunk/mcs/; revision=26732
2004-05-05 03:51:51 +00:00
Atsushi Eno 461b2e57a5 2004-05-05 Atsushi Enomoto <[email protected]>
* SignedXml.cs,
	  Transform.cs : code cleanup. #if !NET_1_0 -> #if NET_1_1.
	* XmlDsigBase64Transform.cs : Should not output the content of the
	  selected element nodes. Put text content only those text nodes are
	  in the node list.
	* XmlDsigEnvelopedSignatureTransform.cs : removed MonoTODO.
	* XmlDsigXsltTransform.cs : Use XmlResolver to load document and
	  to transform. Throw null reference exception explicitly when
	  the input was not loaded.

svn path=/trunk/mcs/; revision=26731
2004-05-05 03:45:49 +00:00
Atsushi Eno 792d4a585f 2004-05-05 Atsushi Enomoto <[email protected]>
* XmlSchemaDataImporter.cs :
	  SimpleContent column support.
	  Annotated relation support.
	  Top-level element is counted only when its type is complex.
	  xs:anyType is no longer treated as complex type.
	  dataset existence is mandatory now.
	  Improved DataType and DefaultValue support.
	  Attribute namespace is properly handled now.
	  Prohibited attribute is now treated as hidden column.
	  Reject list or union simple type.

	  Still incomplete 1) to read relationship in some cases, 2) to
	  determine whether an element is dataset or table, 3) thus to
	  exclude extraneous column, 4) to remove extraneous *_Id column.

svn path=/trunk/mcs/; revision=26730
2004-05-05 03:32:02 +00:00
Atsushi Eno 3180468065 2004-05-05 Atsushi Enomoto <[email protected]>
* DataTable.cs :
	  We had better reuse DataSet's ReadXmlSchema() and ReadXml() in
	  serialization .ctor() (thus schema read/inference should be easier).
	  DataRowSorter should consider Table's Locale.

svn path=/trunk/mcs/; revision=26729
2004-05-05 03:20:44 +00:00
Atsushi Eno 6981b2a7a7 2004-05-05 Atsushi Enomoto <[email protected]>
* DataColumnCollection.cs : We already had AutoIncrementValue(), so
	  use it instead of duplicating logic.

svn path=/trunk/mcs/; revision=26728
2004-05-05 03:11:57 +00:00
Atsushi Eno 551ac66cd4 2004-05-05 Atsushi Enomoto <[email protected]>
* ConstraintCollection.cs :
	  Use Table.CaseSensitive and Table.Locale to compare strings.
	  Duplicate constraint name exception does not occur under .NET 1.1.

svn path=/trunk/mcs/; revision=26727
2004-05-05 03:09:47 +00:00
Atsushi Eno 9b717ebc15 2004-05-05 Atsushi Enomoto <[email protected]>
* ConstraintCollectionTest.cs : uncommented some tests that should be
	  implemented until mono 1.0.
	* ConstraintTest.cs : use ExpectedException. Don't expect localizable
	  error message.
	* DataColumnTest.cs,
	  DataRelationTest.cs,
	  DataRowCollectionTest.cs : catch only specific type exception.
	  Don't rely on (test) localizable messages.
	* DataSetAssertion.cs : We shouldn't expect exact column ordinals
	  when infering/reading the structures from documents/schemas.

svn path=/trunk/mcs/; revision=26726
2004-05-05 02:59:48 +00:00
Atsushi Eno 5b732c062a 2004-05-05 Atsushi Enomoto <[email protected]>
* ArithmeticExpressions.cs: avoid null exception on add operation.

svn path=/trunk/mcs/; revision=26725
2004-05-05 02:45:02 +00:00
Ben Maurer f16bf50d6d shhhhh
svn path=/trunk/mcs/; revision=26724
2004-05-05 02:35:09 +00:00
Gonzalo Paniagua Javier a162b3ef2f 2004-05-05 Gonzalo Paniagua Javier <[email protected]>
* monop.cs: use assembly.LoadWithPartialName.

svn path=/trunk/mcs/; revision=26723
2004-05-05 02:29:39 +00:00
Gonzalo Paniagua Javier 1056209871 2004-05-05 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Services/WebService.cs: added a HttpSessionState field
	and a setter method. Session now returns null if EnableSession is not
	set for the method invoked.

	* System.Web.Services.Protocols/HttpSimpleWebServiceHandler.cs:
	* System.Web.Services.Protocols/HttpSoapWebServiceHandler.cs:  use
	the session if the method has EnableSession set.

	* System.Web.Services.Protocols/LogicalMethodInfo.cs: added
	EnableSession property.

	* System.Web.Services.Protocols/WebServiceHandler.cs: set the Session
	object of the WebService.

	Fixes bug #57905 (needs the latest DefaultWsdlHelpGenerator.aspx).

svn path=/trunk/mcs/; revision=26722
2004-05-05 02:25:10 +00:00
Gonzalo Paniagua Javier 0618c232f9 2004-05-05 Gonzalo Paniagua Javier <[email protected]>
* data/DefaultWsdlHelpGenerator.aspx: add any cookie in the request to
	the request we do for the actual web service.

svn path=/trunk/mono/; revision=26721
2004-05-05 02:19:07 +00:00
Lluis Sanchez 2eba3b227e * support.cs: Don't hang when the file is empty.
svn path=/trunk/mcs/; revision=26720
2004-05-04 23:59:21 +00:00
Jordi Mas i Hernandez f63772fa3c rawformat should be handled by GDI+
svn path=/trunk/mcs/; revision=26719
2004-05-04 22:39:44 +00:00
Vladimir Vukicevic 840e2f96ba * BitmapData.cs: re-synchronized with libgdiplus; also
removed memory deallocs here (as the data is always owned
by libgdiplus)

svn path=/trunk/mcs/; revision=26718
2004-05-04 22:19:34 +00:00
Paolo Molaro 13a7c7d3bb Add inssel.h to the sources.
svn path=/trunk/mono/; revision=26717
2004-05-04 21:23:28 +00:00
Paolo Molaro 15694a95ca Fix Miguel's last minute breakage.
svn path=/trunk/mono/; revision=26716
2004-05-04 20:38:32 +00:00
Miguel de Icaza 58be6972de Remove gtk#
svn path=/trunk/mono/; revision=26715
2004-05-04 19:43:18 +00:00
Miguel de Icaza 2de4a59cd2 Map our internal codes to the C# codes
svn path=/trunk/mcs/; revision=26714
2004-05-04 19:23:48 +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
nobody 4e4824afab This commit was manufactured by cvs2svn to create branch 'SAVANNAH_CVS'.
svn path=/branches/SAVANNAH_CVS/mcs/; revision=6844
2002-08-21 10:08:33 +00:00
7415 changed files with 417679 additions and 118577 deletions

No files matched your search

+1
View File
@@ -20,3 +20,4 @@ mono.spec
autom4te.cache
mint.pc
stamp-h1
config.h.in
+555 -1
View File
@@ -1,3 +1,558 @@
2004-06-24 Raja R Harinath <[email protected]>
* runtime/net_2_0/Makefile.am (gac_assemblies_list): Put back
ICSharpCode.SharpZipLib, not that it has a different version.
2004-06-24 Raja R Harinath <[email protected]>
* Makefile.am (MCS_DIRS, MCS_FILES): Add back Mono.CSharp.Debugger.
(tmpinst-dir-contents, $(tmpinst)/bin/mono.bat): Remove mono.bat
in W32. Use 'mono' and 'mcs' in W32 too.
(bootstrap) [PLATFORM_WIN32]: Back to single stage bootstrap.
* runtime/net_2_0/Makefile.am (gac_assemblies_list): Don't mention
nunit.*, IBM.Data.DB2, ICSharpCode.SharpZipLib.
Fix for #60443, the GAC .DLL-Hell.
2004-06-22 Raja R Harinath <[email protected]>
* Makefile.am (bootstrap) [PLATFORM_WIN32]: Make two-stage.
2004-06-18 Jackson Harper <[email protected]>
* man/mono.1: Add MONO_LOG_LEVEL and MONO_LOG_MASK. Add
instructions on setting multiple mask values.
Fri Jun 18 19:39:09 CEST 2004 Paolo Molaro <[email protected]>
* Makefile.am: process data before runtime, so the config file is
installed and gacutil has a chance to work (finding symlink).
2004-06-18 Raja R Harinath <[email protected]>
* runtime/Makefile.am ($(monoone_DATA) $(monotwo_DATA) $(monobins_DATA)):
Test if files exist in the mcs/ tree before creating symlinks.
Remove symlinks before creating them again.
* runtime/net_1_1/Makefile.am (mscorlib.dll $(gac_assemblies)): Likewise.
* runtime/net_2_0/Makefile.am (mscorlib.dll $(gac_assemblies)): Likewise.
2004-06-18 Raja R Harinath <[email protected]>
* scripts/Makefile.am (REWRITE): New. Common rewriting 'sed' command.
(bin_SCRIPTS): Unify all the script generating rules into one.
2004-06-16 Raja R Harinath <[email protected]>
* Makefile.am (bootstrap) [PLATFORM_WIN32]: Open code. Don't
build and populate net_2_0 profile.
(populate-runtime-subdir): Make into subroutine that takes list of
profiles to populate.
(faststrap): Update.
(MCS_DIRS, MCS_FILES, MONO_CSHARP_DEBUGGER_DIR, MONO_CSHARP_DEBUGGER_FILE):
Avoid automake conditional/+= problems.
(populate-runtime-subdir): Rewrite sanity check.
2004-06-16 Raja R Harinath <[email protected]>
Include prototype completely-untested 'make bootstrap' support for W32.
* Makefile.am (bootstrap): Define to fasterstrap for W32.
(MCS_DIRS, MCS_FILES): Don't refer to Mono.CSharp.Debugger in W32.
(tmpinst-dir): Change sub-make invoke to ...
(tmpinst-dir-contents): ... this. Build 'mono.bat' in W32 instead
of 'mono' and 'mcs'.
($(tmpinst)/bin/mono.bat): New.
2004-06-15 Dick Porter <[email protected]>
* configure.in: Check for struct ip_mreqn and struct ip_mreq on
windows too. Fixes bug 55040.
Mon Jun 14 18:38:34 CEST 2004 Paolo Molaro <[email protected]>
* configure.in: better explain that --with-nptl is not related to
NPTL, but to __thread support. Set sigaltstack support to off by
default.
2004-06-12 Raja R Harinath <[email protected]>
* Makefile.am (populate-runtime-subdir): Add _tmpinst directory
to the PATH.
2004-06-11 Jackson Harper <[email protected]>
* runtime/net_2_0/Makefile.am:
* runtime/net_1_1/Makefile.am: Remove signing patches
2004-06-11 Jackson Harper <[email protected]>
* man/mono.1: Add documentation for MONO_GAC_PREFIX.
* runtime/net_2_0/Makefile.am:
* runtime/net_1_1/Makefile.am: Sign assemblies before
installing. Do not sign ziplib, npgsql, or nunit assemblies. Sign mscorlib.
2004-06-11 Raja R Harinath <[email protected]>
* Makefile.am (populate-runtime-subdir): New target. Does a
controlled "make install" in the 'mcs/' directory to populate the
'runtime' directory.
(fasterstrap): Use it.
2004-06-10 Raja R Harinath <[email protected]>
* runtime/Makefile.am ($(monoone_DATA),$(monotwo_DATA),$(monobins_DATA)):
Don't copy from prefix. Use $(LN_S) to point to the mcs/ tree.
* runtime/net_1_1/Makefile.am (mscorlib.dll,$(gac_assemblies)):
Use $(LN_S) to point to the mcs/ tree, rather than copying.
* runtime/net_2_0/Makefile.am (mscorlib.dll,$(gac_assemblies)): Likewise.
2004-06-10 Raja R Harinath <[email protected]>
Support the new assembly signing setup in mcs/.
* Makefile.am (mcs-do-basic-build): Pass 'USE_BOOT_COMPILE' to sub-makes.
($(tmpinst)/etc/mono/machine.config): New target.
(tmpinst-dir.stamp): Remove and rewrite into ...
($(tmpinst)/bin/mcs): ... this and ...
($(tmpinst)/bin/mono): ... this. Update to use the in-tree machine.config.
(tmpinst-dir): Rewrite to invoke above $(tmpinst)/... targets directly.
* configure.in (AC_PROG_LN_S): New check to define $(LN_S).
Thu Jun 3 14:39:17 CEST 2004 Paolo Molaro <[email protected]>
* configure.in: libc setting for NetBSD (patch from [email protected]).
2004-06-01 Raja R Harinath <[email protected]>
* Makefile.am (bootstrap,faststrap,fasterstrap): Refactor.
Fix 'faststrap' to be corlib-version-change-safe.
(one-stage-strap,two-stage-strap,three-stage-strap): Remove.
(monolite-bootstrap): Update.
2004-05-31 Gonzalo Paniagua Javier <[email protected]>
* configure.in: fixlets for windows.
2004-05-29 Zoltan Varga <[email protected]>
* configure.in: export CC instead of passing it to libgc/configure.
2004-05-28 Duncan Mak <[email protected]>
* runtime/Makefile.am:
* scripts/Makefile.am: Include mono-find-provides and
mono-find-requires.
* scripts/mono-find-provides.in:
* scripts/mono-find-requires.in: New wrapper scripts.
2004-05-27 Zoltan Varga <[email protected]>
* configure.in: Pass CC to libgc configure.
2004-05-27 Gert Driesen ([email protected])
* monowiz.win32.nsi: normalized line-endings to unix (LF)
2004-05-27 Gert Driesen ([email protected])
* monowiz.win32.nsi: do not include mono subdirectory in
MonoConfigDir registry key, to match batch files
2004-05-26 Gonzalo Paniagua Javier <[email protected]>
* data/DefaultWsdlHelpGenerator.aspx: fixed querystring attribute
values. Now they are URlEncoded.
* data/browscap.ini.gz: updated.
2004-05-26 Raja R Harinath <[email protected]>
* Makefile.am (mcs-do-basic-build): No need to set MCS here.
* runtime/net_1_1/Makefile.am (gac_assemblies_list): Update to
reflect new names for nunit.util and nunit.framework. Add
nunit.core.
* runtime/net_2_0/Makefile.am (gac_assemblies_list): Likewise.
2004-05-25 Ben Maurer <[email protected]>
* config.h.in: remove
2004-05-25 18:30 CET Patrik Torstensson <[email protected]>
* configure.in: Check for trunc instead of truncl (HAVE_TRUNC)
2004-05-21 Gonzalo Paniagua Javier <[email protected]>
* Makefile.am:
* monowiz.win32.nsi: improved windows installer script.
2004-05-21 Raja R Harinath <[email protected]>
* README: Update to include instructions for the various new
bootstrap-like targets.
2004-05-20 Raja R Harinath <[email protected]>
* Makefile.am (get-monolite-latest, monolite-bootstrap):
New bootstrap targets to build from monolite.
Based on idea from Jaroslaw Kowalski <[email protected]>.
2004-05-20 Raja R Harinath <[email protected]>
* configure.in (AC_OUTPUT): Add tools/Makefile and
tools/locale-builder/Makefile.
* Makefile.am (SUBDIRS): Remove tools.
(DIST_SUBDIRS): Add 'tools'.
(bootstrap): Rewrite so that we get two new targets.
(faststrap): New two-stage build.
(fasterstrap): New one-stage build.
2004-05-19 Jackson Harper <[email protected]>
* tools/
* tools/Makefile.am: Add tools directory
* tools/locale-builder: Add the locale-builder tool, this tool is
not built by default as it is only needed by people that wish to
moidify culture data.
* Makefile.am: Add tools to build
Wed May 19 13:22:19 EDT 2004 Paolo Molaro <[email protected]>
* configure.in: make MacOSX default to use the included libgc.
2004-05-18 Zoltan Varga <[email protected]>
* configure.in: Get rid of -DMONO_USE_EXC_TABLES.
2004-05-19 Raja R Harinath <[email protected]>
* configure.in: Use proper autoconf idiom to pass additional
arguments to libgc/configure.
(PLATFORM_WIN32, NEED_LINK_UNLINK): Use three-argument AC_DEFINE.
* acconfig.h: Update to reflect changes.
2004-05-17 Raja R Harinath <[email protected]>
* Makefile.am (tmpinst-dir): Creates _tmpinst tree if
necessary. Move body ...
(tmpinst-dir.stamp): ... here.
(stage3): Don't remove _tmpinst tree.
(bootstrap-clean, bootstrap-check): New rules. They run the
corresponding rules in the mcs/ tree.
2004-05-14 Raja R Harinath <[email protected]>
* Makefile.am: Revert unlogged unexplained changes.
(stage3): Make 'all-profiles' since the mono source tarball
carries all the net_2_0 preview dlls.
2004-05-11 Jackson Harper <[email protected]>
* runtime/net_1_1/Makefile.am:
* runtime/net_2_0/Makefile.am: cscompmgd.dll is lowercase now.
2004-05-10 Raja R Harinath <[email protected]>
* Makefile.am (tmpinst-dir): Always add $tmpinst/lib to MONO_PATH.
Fix quoting of commands.
2004-05-08 Gonzalo Paniagua Javier <[email protected]>
* monowiz.win32.nsi: some changes i made to build the 0.91 win32 setup
file.
2004-05-07 Bernie Solomon <[email protected]>
* man/mono.1: mention MONO_EGD_SOCKET
2004-05-07 Raja R Harinath <[email protected]>
Goodbye 'fullbuild', hello 'bootstrap'.
* Makefile.am (bootstrap): New target for building from CVS. New
improved version of 'fullbuild' -- does not install any files.
(fullbuild): Obsolete target. Bootstraps and installs tree.
(mcs-tree-safe-build,xinstall-runtime,mcs-rest,remove-binaries):
Removed.
(stage1,stage1-mcs,stage1-mono,stage2,stage3)
(tmpinst-dir,tmpinst-runtime): New targets used to implement a
two-stage bootstrap.
2004-05-05 Gonzalo Paniagua Javier <[email protected]>
* configure.in: scandir check is no longer needed.
2004-05-05 Bernie Solomon <[email protected]>
* configure.in: set LIBC on HPUX
2004-05-05 Zoltan Varga <[email protected]>
* configure.in: Detect JNI headers in GNU classpath sources as well.
2004-05-05 Raja R Harinath <[email protected]>
* runtime/net_2_0/Makefile.am (install-data-local, uninstall-local):
Only disable this if INSTALL_2_0 is disabled.
2004-05-05 Gonzalo Paniagua Javier <[email protected]>
* data/DefaultWsdlHelpGenerator.aspx: add any cookie in the request to
the request we do for the actual web service.
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 +1089,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.
+179 -25
View File
@@ -1,8 +1,11 @@
AUTOMAKE_OPTIONS = foreign
ACLOCAL_AMFLAGS = -I .
SUBDIRS = @libgc_dir@ mono web docs runtime scripts man data samples support
SUBDIRS = $(libgc_dir) mono $(ikvm_jni_dir) docs data runtime scripts man samples support web
# EXTRA_SUBDIRS = libgc
# Keep in sync with SUBDIRS
## 'tools' is not normally built
DIST_SUBDIRS = libgc mono ikvm-jni docs data runtime scripts man samples support web tools
EXTRA_DIST= mono.pc.in mono.spec.in mint.pc.in
@@ -15,31 +18,188 @@ endif
DISTCLEANFILES= mono.pc mint.pc
#
# The following target is used to compile and install
# The following targets are used to compile and install
# mono and mcs without running into the out-of-sync
# 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: bootstrap faststrap fasterstrap bootstrap-clean bootstrap-check get-monolite-latest monolite-bootstrap
.PHONY: tmpinst-dir tmpinst-mcs-basic-build tmpinst-mcs-short-build tmpinst-mcs-full-build tmpinst-monolite
.PHONY: mono-do-runtime-only mcs-do-basic-build mcs-do-short-build mcs-do-full-build mcs-do-clean-profiles mcs-do-run-test
.PHONY: populate-runtime-subdir
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)
if USE_JIT
mono_runtime = mono/mini/mono
else
mono_runtime = mono/interpreter/mint
endif
mcs-rest:
(cd ../mcs/class; $(MAKE))
# Minimal set of directories to build, and files used to run the 'mcs' compiler
MCS_BASIC_DIRS = jay mcs class/corlib class/System
MCS_BASIC_FILES = \
$(mcs_topdir)/mcs/mcs.exe \
$(mcs_topdir)/class/lib/default/mscorlib.dll \
$(mcs_topdir)/class/lib/default/System.dll
remove-binaries:
rm ../mcs/class/lib/mscorlib.dll ../mcs/mcs/mcs.exe runtime/*dll runtime/*.exe > /dev/null 2>&1; echo
# Set of directories and files the 'mcs' compiler can use
## We build class/System twice to resolve the cyclic dependency of class/System.XML
MCS_DIRS = $(MCS_BASIC_DIRS) class/System.XML class/System class/Mono.CSharp.Debugger
MCS_FILES = $(MCS_BASIC_FILES) \
$(mcs_topdir)/class/lib/default/System.Xml.dll \
$(mcs_topdir)/class/lib/default/Mono.CSharp.Debugger.dll
tmpinst = _tmpinst
if PLATFORM_WIN32
populate_profiles = default:net_1_1
# bootstraps using the .NET C# compiler
bootstrap: tmpinst-dir mono-do-runtime-only
$(MAKE) fasterstrap
else
populate_profiles = default:net_1_1 net_2_0:net_2_0
bootstrap: tmpinst-mcs-basic-build mono-do-runtime-only
$(MAKE) tmpinst-mcs-short-build
$(MAKE) fasterstrap
endif
faststrap: tmpinst-mcs-short-build
$(MAKE) mono-do-runtime-only
$(MAKE) fasterstrap
fasterstrap: tmpinst-mcs-full-build
$(MAKE) populate-runtime-subdir
$(MAKE)
bootstrap-clean: clean mcs-do-clean-profiles
bootstrap-check: check mcs-do-run-test
# building with monolite
get-monolite-latest:
wget -O $(srcdir)/../monolite-latest.tar.gz http://www.go-mono.com/daily/monolite-latest.tar.gz
monolite-bootstrap: tmpinst-monolite mono-do-runtime-only
rm -f $(MCS_FILES)
$(MAKE) tmpinst-mcs-short-build
$(MAKE) fasterstrap
# internal targets
tmpinst-mcs-basic-build: mcs-do-basic-build tmpinst-dir
mv -f $(MCS_BASIC_FILES) $(tmpinst)/lib
tmpinst-mcs-short-build: mcs-do-short-build tmpinst-dir
mv -f $(MCS_FILES) $(tmpinst)/lib
tmpinst-mcs-full-build: mcs-do-full-build tmpinst-dir
cp -f $(MCS_FILES) $(tmpinst)/lib
tmpinst-monolite: tmpinst-dir
-rm -f $(tmpinst)/lib/mcs.exe $(tmpinst)/lib/*.dll
-rm -fr $(tmpinst)/monolite-*
srcdir=`cd $(srcdir) && pwd` && cd $(tmpinst) && ( gzip -d -c $$srcdir/../monolite-latest.tar.gz | tar xf - )
mv -f $(tmpinst)/monolite-*/mcs.exe $(tmpinst)/monolite-*/*.dll $(tmpinst)/lib
rm -fr $(tmpinst)/monolite-*
# Build enough of 'mono' to run the stage1 mcs.exe
mono-do-runtime-only: $(CONFIG_HEADER)
for dir in $(libgc_dir) mono data; do \
(cd $$dir && $(MAKE)) || exit 1 ; \
done
mcs-do-basic-build:
rm -f $(MCS_FILES)
for dir in $(MCS_BASIC_DIRS); do \
(cd $(mcs_topdir)/$$dir && $(MAKE) PROFILE=default USE_BOOT_COMPILE=yes BOOTSTRAP_MCS="mcs -d:BOOTSTRAP_WITH_OLDLIB") || exit 1 ; \
done
mcs-do-short-build:
tmpinst=`cd $(tmpinst) && pwd` ; \
PATH=$$tmpinst/bin:$$PATH; export PATH ; \
for dir in $(MCS_DIRS); do \
(cd $(mcs_topdir)/$$dir && $(MAKE) PROFILE=default) || exit 1 ; \
done
mcs-do-full-build:
tmpinst=`cd $(tmpinst) && pwd` ; \
PATH=$$tmpinst/bin:$$PATH ; export PATH ; \
cd $(mcs_topdir) && $(MAKE) all-profiles
mcs-do-clean-profiles:
cd $(mcs_topdir) && $(MAKE) clean-profiles
mcs-do-run-test: tmpinst-dir
tmpinst=`cd $(tmpinst) && pwd` ; \
PATH=$$tmpinst/bin:$$PATH ; export PATH ; \
cd $(mcs_topdir) && $(MAKE) PROFILE=default run-test
populate-runtime-subdir:
test -n '$(populate_profiles)'
@srcdir=`cd $(srcdir) && pwd`; tmpinst=`pwd`/$(tmpinst) ; \
PATH=$$tmpinst/bin:$$PATH ; export PATH ; \
for profile in $(populate_profiles); do \
( set fnord `echo $$profile | sed 's,:, ,g'` && \
echo "cd $(mcs_topdir) && $(MAKE) PROGRAM_INSTALL_DIR=$$srcdir/runtime PROFILE=$$2 LIBRARY_INSTALL_DIR=$$srcdir/runtime/$$3 prefix=$$tmpinst/prefix install" && \
cd $(mcs_topdir) && \
$(MAKE) PROGRAM_INSTALL_DIR=$$srcdir/runtime PROFILE=$$2 LIBRARY_INSTALL_DIR=$$srcdir/runtime/$$3 prefix=$$tmpinst/prefix install ) || exit 1 ; \
done
find $(tmpinst)/prefix -type f -path '*/jay*' -exec rm -f '{}' ';'
test -z "`find $(tmpinst)/prefix -type f -print`"
rm -rf $(tmpinst)/prefix
tmpinst-dir:
mkdir -p $(tmpinst) $(tmpinst)/bin $(tmpinst)/lib $(tmpinst)/etc/mono
$(MAKE) tmpinst-dir-contents
tmpinst-dir-contents: $(tmpinst)/bin/mono $(tmpinst)/bin/mcs $(tmpinst)/etc/mono/machine.config
if PLATFORM_WIN32
$(tmpinst)/bin/mono: $(srcdir)/Makefile.am
echo '#! /bin/sh' > $@
echo 'builddir="'`pwd`'"; win_builddir="'`cygpath -w -a .`'"' >> $@
echo 'tmpinst="$$win_builddir\\$(tmpinst)"' >> $@
echo 'if test -z "$$MONO_PATH" ; then MONO_PATH="$$tmpinst\\lib"; else MONO_PATH="$${MONO_PATH};$$tmpinst\\lib" ; fi' >> $@
echo 'MONO_CFG_DIR="$$tmpinst\\etc"' >> $@
echo 'export MONO_PATH MONO_CFG_DIR' >> $@
echo 'exec "$$builddir/libtool" --mode=execute "$$builddir/mono.exe" "$$@"' >> $@
chmod +x $@
else
$(tmpinst)/bin/mono: $(srcdir)/Makefile.am
echo '#! /bin/sh' > $@
echo 'builddir="'`pwd`'"; tmpinst=$$builddir/$(tmpinst)' >> $@
echo 'if test -z "$$MONO_PATH" ; then MONO_PATH=$$tmpinst/lib; else MONO_PATH=$${MONO_PATH}:$$tmpinst/lib ; fi' >> $@
echo 'MONO_CFG_DIR=$$tmpinst/etc' >> $@
echo 'export MONO_PATH MONO_CFG_DIR' >> $@
echo 'exec "$$builddir/libtool" --mode=execute "$$builddir/$(mono_runtime)" --config "$$builddir/data/config" "$$@"' >> $@
chmod +x $@
endif
$(tmpinst)/bin/mcs: $(srcdir)/Makefile.am
(t=`cd $(tmpinst) && pwd`; echo '#! /bin/sh'; echo 'exec "'"$$t/bin/mono"'" "'"$$t/lib/mcs.exe"'" "$$@"') > $@
chmod +x $@
$(tmpinst)/etc/mono/machine.config: $(srcdir)/data/machine.config
rm -f $@
srcdir=`cd $(srcdir) && pwd`; cd $(tmpinst)/etc/mono && $(LN_S) $$srcdir/data/machine.config machine.config
# Obsolete target -- don't use.
.PHONY: fullbuild
fullbuild: bootstrap
$(MAKE) install
echo "*** 'fullbuild' is an obsolete target. Use 'make bootstrap && make install'."
exit 1
win32getdeps:
wget http://www.go-mono.com/archive/pkgconfig-0.11-20020310.zip
@@ -58,10 +218,4 @@ win32getdeps:
unzip -n -d / nsis4cygwin.zip
win32setup:
cp /usr/lib/libglib-2.0-0.dll @prefix@/lib
cp /usr/lib/iconv.dll @prefix@/lib
cp /usr/lib/libgmodule-2.0-0.dll @prefix@/lib
cp /usr/lib/libgobject-2.0-0.dll @prefix@/lib
cp /usr/lib/libgthread-2.0-0.dll @prefix@/lib
cp /usr/lib/libintl-1.dll @prefix@/lib
makensis /DMILESTONE=@VERSION@ /DSOURCE_INSTALL_DIR=`cygpath -a -w @prefix@`\\* monowiz.win32.nsi
makensis /DMILESTONE=$(VERSION) /DSOURCE_INSTALL_DIR=$(SOURCE_INSTALL_DIR) /DBUILDNUM=$(BUILDNUM) monowiz.win32.nsi
+92 -14
View File
@@ -59,14 +59,31 @@ This is Mono.
tar xzf mcs-XXXX.tar.gz
tar xzf mono-XXXX.tar.gz
cd mono-XXXX
mv mono-XXX mono
mv mcs-XXX mcs
cd mono
./autogen.sh --prefix=/usr/local
make fullbuild
make bootstrap
c. Upgrade from CVS
-------------------
c. Building the software from CVS
---------------------------------
If you are building the software from CVS, make sure that you
have up-to-date mcs and mono sources:
cvs co mono mcs
Then, go into the mono directory, and configure:
cd mono
./autogen.sh --prefix=/usr/local
Depending on whether you have an existing Mono installation or
not, you can try the following:
i. If you have an existing Mono installation
-----------------------------------------
If you are upgrading from CVS you will need an existing Mono installation.
First verify that you have a working installation:
echo 'class X { static void Main () { System.Console.Write("OK");}}' > x.cs
@@ -79,25 +96,86 @@ This is Mono.
mono x.exe
If you get the output `OK' and no errors, you are ready to start your CVS upgrade.
If you get the output `OK' and no errors, and you have mono
version 0.31 or later, continue. Otherwise, you can try option
(ii) below.
First, make sure that you have up-to-date mcs and mono sources:
You are ready to start your CVS upgrade. Compile with
cvs co mono mcs
make bootstrap
Then, go into the mono directory, and configure:
This will automatically go into the mcs/ tree and build the
binaries there, and copy them into the appropriate
sub-directories of mono/runtime/.
cd mono
./autogen.sh --prefix=/usr/local
Now, go to step (iii) below.
Then compile using the special target `fullbuild':
ii. If you don't have a working Mono installation
---------------------------------------------
make fullbuild
If you don't have a working Mono installation, an obvious choice
is to install the latest released packages of 'mono' for your
distribution and go back to step (i).
This step will compile and install at the same time.
You can also try a slightly more risky approach that should work
almost all the time.
This works by first getting the latest version of the 'monolite'
distribution, which contains just enough to run the 'mcs'
compiler. You do this by
make get-monolite-latest
This should place a monolite-latest.tar.gz in the parent
directory of the 'mono' source tree. You can then run:
make monolite-bootstrap
This will automatically gunzip and untar the tarball, place the
files appropriately, and then complete the bootstrap.
iii. Testing and Installation
------------------------
You can run the mono and mcs testsuites with the command:
make -k bootstrap-check
Expect to find several testsuite failures, especially in the
mcs/ tree. As a sanity check, you can compare the failures you
got with
http://go-mono.com/tests/displayTestResults.php
You can now install it:
make install
Failure to follow these steps will result in a broken installation.
iv. Other useful "bootstrap"-like facilities
----------------------------------------
If you have a CVS snapshot that you keep updating periodically,
and/or do your development in, you may try using a couple of
specialty make targets that may be slightly faster than a
"make bootstrap".
You can try a two-stage bootstrap with:
make faststrap
This assumes that you have already run a "make bootstrap" on the
tree before.
If you want to avoid waiting even for that, you can try the
riskier one-stage build:
make fasterstrap
This should be attempted only if you're sure that the sources of
the mcs compiler itself and the sources of the libraries used by
it have not been changed.
2. Using Mono
=============
+1 -2
View File
@@ -10,7 +10,6 @@
#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
@@ -21,7 +20,6 @@
#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
@@ -35,4 +33,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
+373 -82
View File
@@ -1,9 +1,11 @@
AC_INIT(README)
AC_CANONICAL_SYSTEM
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE(mono,0.31)
AM_INIT_AUTOMAKE(mono,0.97)
AM_MAINTAINER_MODE
AC_PROG_LN_S
dnl
dnl libgc checks
dnl
@@ -30,21 +32,30 @@ AC_SUBST(libmono_ldflags)
dnl if linker handles the version script
no_version_script=no
# Set to yes if Unix sockets cannot be created in an anonymous namespace
need_link_unlink=no
# Thread configuration inspired by sleepycat's db
AC_MSG_CHECKING([host platform characteristics])
libgc_threads=no
case "$host" in
*-*-mingw*|*-*-cygwin*)
platform_win32=yes
AC_DEFINE(PLATFORM_WIN32)
AC_DEFINE(PLATFORM_WIN32,1,[Platform is Win32])
CC="gcc -mno-cygwin"
HOST_CC="gcc"
# So libgc configure gets -mno-cygwin
export CC
# latest libgc already defines GC_WIN32_THREADS
# CPPFLAGS="$CPPFLAGS -DGC_WIN32_THREADS -DWIN32_THREADS"
CPPFLAGS="$CPPFLAGS -DWIN32_THREADS"
libdl=
libgc_threads=win32
gc_default=boehm
with_nptl=no
with_sigaltstack=no
LN_S=cp
;;
*-*-*netbsd*)
platform_win32=no
@@ -52,25 +63,25 @@ case "$host" in
libmono_cflags="-D_REENTRANT"
LDFLAGS="$LDFLAGS -pthread"
libmono_ldflags="-pthread"
AC_DEFINE(NEED_LINK_UNLINK)
need_link_unlink=yes
libdl=
libgc_threads=pthreads
libgc_threads=no
;;
*-*-*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"
AC_DEFINE(NEED_LINK_UNLINK)
need_link_unlink=yes
AC_DEFINE(PTHREAD_POINTER_ID)
libdl=
libgc_threads=pthreads
;;
*-*-linux*)
platform_win32=no
CPPFLAGS="$CPPFLAGS -DGC_LINUX_THREADS -DMONO_USE_EXC_TABLES -D_GNU_SOURCE -D_REENTRANT -fexceptions"
libmono_cflags="-DMONO_USE_EXC_TABLES -fexceptions -D_REENTRANT"
CPPFLAGS="$CPPFLAGS -DGC_LINUX_THREADS -D_GNU_SOURCE -D_REENTRANT"
libmono_cflags="-D_REENTRANT"
libmono_ldflags="-lpthread"
libdl="-ldl"
libgc_threads=pthreads
@@ -83,28 +94,27 @@ case "$host" in
libmono_cflags="-D_REENTRANT"
libmono_ldflags="-lpthread"
libgc_threads=pthreads
AC_DEFINE(NEED_LINK_UNLINK)
need_link_unlink=yes
;;
*-*-solaris*)
platform_win32=no
CPPFLAGS="$CPPFLAGS -DGC_SOLARIS_THREADS -DGC_SOLARIS_PTHREADS -D_REENTRANT"
AC_DEFINE(NEED_LINK_UNLINK)
need_link_unlink=yes
libmono_cflags="-D_REENTRANT"
libgc_threads=pthreads
;;
*-*-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"
AC_DEFINE(NEED_LINK_UNLINK)
need_link_unlink=yes
AC_DEFINE(PTHREAD_POINTER_ID)
AC_DEFINE(USE_MACH_SEMA)
no_version_script=yes
libdl=
libgc_threads=no
gc_default=none
libgc_threads=pthreads
;;
*)
AC_MSG_WARN([*** Please add $host to configure.in checks!])
@@ -113,8 +123,12 @@ case "$host" in
;;
esac
AC_MSG_RESULT(ok)
if test x$need_link_unlink = xyes; then
AC_DEFINE(NEED_LINK_UNLINK, 1, [Define if Unix sockets cannot be created in an anonymous namespace])
fi
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 +165,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
@@ -223,18 +246,15 @@ AC_SUBST(GMODULE_LIBS)
AC_ARG_WITH(gc, [ --with-gc=boehm,included,none],[gc=$with_gc],[gc=$gc_default])
# Enable support for NPTL only features like fast thread-local storage
# We can't reliably detect nptl at compile & run time
# so this option will stay until nptl becomes more widespread
AC_ARG_WITH(nptl, [ --with-nptl=yes,no enable/disable support for NPTL],[],[with_nptl=yes])
# Enable support for fast thread-local storage
# Some systems have broken support, so we allow to disable it.
# This is misnamed: __thread support has no relation to NPTL,
# but people already use it...
AC_ARG_WITH(nptl, [ --with-nptl=yes,no enable/disable support for __thread support],[],[with_nptl=yes])
# Enable support for using sigaltstack for SIGSEGV and stack overflow handling
# 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
AC_ARG_WITH(sigaltstack, [ --with-sigaltstack=yes,no enable/disable support for sigaltstack],[],[with_sigaltstack=no])
# assembly bundle support, see metadata/make-bundle.pl for more info
AC_ARG_WITH(bundle, [ --with-bundle=bundle_template],[
@@ -304,9 +324,9 @@ case "x$gc" in
;;
esac
we_are_embedded_in_mono=yes
export we_are_embedded_in_mono
export libgc_threads
# tell libgc/configure about what we want
ac_configure_args="$ac_configure_args --disable-embed-check --with-libgc-threads=$libgc_threads"
AM_CONDITIONAL(INCLUDED_LIBGC, test x$use_included_gc = xyes)
AC_SUBST(LIBGC_CFLAGS)
@@ -318,6 +338,68 @@ 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
if test -f $with_jdk_dir/include/jni_md.h; then
# GNU Classpath sources
jdk_platform=
else
jdk_headers_found=no
fi
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 +644,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 +662,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 ***
@@ -690,11 +873,69 @@ if test x$platform_win32 = xno; then
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
jdk_headers_found=no
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?))
dnl *********************************
dnl *** Check for struct ip_mreqn ***
dnl *********************************
AC_MSG_CHECKING(for struct ip_mreqn)
AC_TRY_COMPILE([#include <ws2tcpip.h>], [
struct ip_mreqn mreq;
mreq.imr_address.s_addr = 0;
], [
# Yes, we have it...
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_STRUCT_IP_MREQN)
], [
# We'll just have to try and use struct ip_mreq
AC_MSG_RESULT(no)
AC_MSG_CHECKING(for struct ip_mreq)
AC_TRY_COMPILE([#include <ws2tcpip.h>], [
struct ip_mreq mreq;
mreq.imr_interface.s_addr = 0;
], [
# Yes, we have it...
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_STRUCT_IP_MREQ)
], [
# No multicast support
AC_MSG_RESULT(no)
])
])
fi
dnl socklen_t check
@@ -712,13 +953,13 @@ ac_cv_c_socklen_t=yes
AC_MSG_RESULT(no)
])
AC_CHECK_FUNCS(truncl, , AC_MSG_CHECKING(for truncl in math.h)
AC_CHECK_FUNCS(trunc, , AC_MSG_CHECKING(for trunc in math.h)
AC_TRY_LINK([#include <math.h>],
[ truncl(0.0); ],
[ trunc(0.0); ],
[
AC_DEFINE(HAVE_TRUNCL)
AC_DEFINE(HAVE_TRUNC)
AC_MSG_RESULT(yes)
ac_cv_truncl=yes
ac_cv_trunc=yes
],
AC_MSG_RESULT(no)))
@@ -744,7 +985,7 @@ case "{$target}" in
dnl Win32 does not have /dev/random, they have their own method...
*-*-mingw*|*-*-cygwin*)
ac_cv_have_dev_random = no
ac_cv_have_dev_random=no
;;
dnl Everywhere else, it's /dev/random
@@ -787,7 +1028,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 +1041,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)
@@ -820,6 +1076,7 @@ ACCESS_UNALIGNED="yes"
JIT_SUPPORTED=no
LIBC="libc.so.6"
INTL="libc.so.6"
jit_wanted=false
case "$host" in
@@ -835,7 +1092,7 @@ case "$host" in
;;
x86_64-*-* | amd64-*-*)
TARGET=AMD64;
arch_target=x86-64;
arch_target=amd64;
JIT_SUPPORTED=no
;;
sparc*-*-*)
@@ -843,12 +1100,16 @@ case "$host" in
arch_target=sparc;
JIT_SUPPORTED=yes
ACCESS_UNALIGNED="no"
LIBC="libc.so"
INTL="libintl.so"
jit_wanted=true
;;
# alpha*-*-linux* | alpha*-*-osf*)
# TARGET=ALPHA;
# ACCESS_UNALIGNED="no"
# ;;
alpha*-*-linux* | alpha*-*-osf*)
TARGET=ALPHA;
ACCESS_UNALIGNED="no"
JIT_SUPPORTED=no
arch_target=alpha;
;;
# ia64-*-linux* | ia64-*-hpux*)
# TARGET=IA64;
# arch_target=ia64;
@@ -863,6 +1124,12 @@ case "$host" in
# TARGET=M68K
# ;;
hppa2.0w-hp-hpux11.00 | hppa64-hp-hpux11.00)
TARGET=HPPA;
arch_target=hppa;
LIBC="libc.sl"
ACCESS_UNALIGNED="no"
;;
hppa*linux*)
TARGET=HPPA;
arch_target=hppa;
ACCESS_UNALIGNED="no"
@@ -872,6 +1139,7 @@ case "$host" in
TARGET=POWERPC;
arch_target=ppc;
JIT_SUPPORTED=yes
jit_wanted=true
;;
arm-*-linux-* | armv4l-*-linux-*)
TARGET=ARM;
@@ -882,10 +1150,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
])
@@ -908,6 +1177,11 @@ libsuffix=".so"
case "$host" in
powerpc-*-darwin*)
libsuffix=".dylib"
LIBC="libc.dylib"
INTL="libintl.dylib"
;;
*-*-*netbsd*)
LIBC="libc.so.12"
;;
esac
AC_SUBST(libsuffix)
@@ -940,6 +1214,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)
@@ -956,6 +1239,7 @@ AM_CONDITIONAL(HPPA, test x$TARGET = xHPPA)
AM_CONDITIONAL(JIT_SUPPORTED, test x$JIT_SUPPORTED = xyes)
AC_SUBST(LIBC)
AC_SUBST(INTL)
AC_SUBST(arch_target)
AC_SUBST(CFLAGS)
@@ -993,7 +1277,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
@@ -1003,14 +1290,18 @@ samples/Makefile
support/Makefile
data/config
mono.spec
tools/Makefile
tools/locale-builder/Makefile
])
echo "
GC: $gc
ICU: $enable_icu
NPTL: $with_nptl
__thread: $with_nptl
SIGALTSTACK: $with_sigaltstack
Engine: $jit_status
2.0 Alpha: $PREVIEW
JNI support: $jdk_headers_found
"
-1
View File
@@ -2,4 +2,3 @@ Makefile.in
Makefile
config
.cvsignore
browscap.ini
+20 -8
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);
@@ -313,7 +316,7 @@ string GetTestResult ()
{
if (fill) {
if (qs != "") qs += "&";
qs += Request.QueryString.GetKey(n) + "=" + Request.QueryString [n];
qs += Request.QueryString.GetKey(n) + "=" + Server.UrlEncode (Request.QueryString [n]);
}
if (Request.QueryString.GetKey(n) == "ext") fill = true;
}
@@ -335,6 +338,17 @@ string GetTestResult ()
try
{
WebRequest req = WebRequest.Create (location + "/" + CurrentOperationName + "?" + qs);
HttpCookieCollection cookies = Request.Cookies;
int last = cookies.Count;
if (last > 0) {
CookieContainer container = new CookieContainer ();
for (int i = 0; i < last; i++) {
HttpCookie hcookie = cookies [i];
Cookie cookie = new Cookie (hcookie.Name, hcookie.Value, hcookie.Path, hcookie.Domain);
container.Add (cookie);
}
((HttpWebRequest) req).CookieContainer = container;
}
WebResponse resp = req.GetResponse();
StreamReader sr = new StreamReader (resp.GetResponseStream());
string s = sr.ReadToEnd ();
@@ -1582,7 +1596,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 +1726,7 @@ function clearForm ()
<% } %>
<% } %>
<%}%>
<% if (CurrentPage == "proxy") {%>
<%} else if (CurrentPage == "proxy") {%>
<!--
**********************************************************
Client Proxy
@@ -1733,9 +1747,7 @@ function clearForm ()
<div class="codePanel">
<div class="code-<%#CurrentLanguage%>"><%#GetProxyCode ()%></div>
</div>
<%}%>
<% if (CurrentPage == "wsdl") {%>
<%} else if (CurrentPage == "wsdl") {%>
<!--
**********************************************************
Service description
+1 -4
View File
@@ -3,13 +3,10 @@ monodir = $(sysconfdir)/mono
EXTRA_DIST = config.in \
machine.config \
DefaultWsdlHelpGenerator.aspx \
browscap.ini.gz
browscap.ini
mono_DATA = config \
machine.config \
DefaultWsdlHelpGenerator.aspx \
browscap.ini
browscap.ini: browscap.ini.gz
gunzip -c $^ > $@
+13082
View File
File diff suppressed because it is too large. Load diff
Binary file not shown.
+5 -16
View File
@@ -1,21 +1,10 @@
<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="libintl" target="@INTL@" />
<dllmap dll="libxslt.dll" target="libxslt@libsuffix@" />
<dllmap dll="libmySQL.dll" target="libmysqlclient@libsuffix@" />
<dllmap dll="odbc32.dll" target="libodbc@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="db2cli" target="libdb2_36@libsuffix@"/>
</configuration>
+80 -60
View File
@@ -3,61 +3,63 @@
<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" />
<section name="clientTarget"
type="System.Web.Configuration.ClientTargetSectionHandler, 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 +67,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 +77,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 +126,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" /> -->
@@ -151,6 +152,12 @@
enableSessionState="true"
autoEventWireup="true"
validateRequest="true" />
<clientTarget>
<add alias="ie5" userAgent="Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)" />
<add alias="ie4" userAgent="Mozilla/4.0 (compatible; MSIE 4.0; Windows NT 4.0)" />
<add alias="uplevel" userAgent="Mozilla/4.0 (compatible; MSIE 4.0; Windows NT 4.0)" />
<add alias="downlevel" userAgent="Unknown" />
</clientTarget>
</system.web>
<system.runtime.remoting>
@@ -161,22 +168,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>
@@ -191,6 +198,19 @@
</system.diagnostics>
<system.drawing>
</system.drawing>
<strongNames>
<pubTokenMapping>
<!-- ECMA key -->
<map Token="b77a5c561934e089" PublicKey="002400000480000094000000060200000024000052534131000400000100010079159977d2d03a8e6bea7a2e74e8d1afcc93e8851974952bb480a12c9134474d04062447c37e0e68c080536fcf3c3fbe2ff9c979ce998475e506e8ce82dd5b0f350dc10e93bf2eeecf874b24770c5081dbea7447fddafa277b22de47d6ffea449674a4f9fccf84d15069089380284dbdd35f46cdff12a1bd78e4ef0065d016df" />
<!-- Microsoft (final) key -->
<map Token="b03f5f7f11d50a3a" PublicKey="002400000480000094000000060200000024000052534131000400000100010079159977d2d03a8e6bea7a2e74e8d1afcc93e8851974952bb480a12c9134474d04062447c37e0e68c080536fcf3c3fbe2ff9c979ce998475e506e8ce82dd5b0f350dc10e93bf2eeecf874b24770c5081dbea7447fddafa277b22de47d6ffea449674a4f9fccf84d15069089380284dbdd35f46cdff12a1bd78e4ef0065d016df" />
<!-- Microsoft (Web Service Enhancement) key -->
<map Token="31bf3856ad364e35" PublicKey="002400000480000094000000060200000024000052534131000400000100010079159977d2d03a8e6bea7a2e74e8d1afcc93e8851974952bb480a12c9134474d04062447c37e0e68c080536fcf3c3fbe2ff9c979ce998475e506e8ce82dd5b0f350dc10e93bf2eeecf874b24770c5081dbea7447fddafa277b22de47d6ffea449674a4f9fccf84d15069089380284dbdd35f46cdff12a1bd78e4ef0065d016df" />
<!-- IBM (DB2 Data Provider) key -->
<map Token="7c307b91aa13d208" PublicKey="002400000480000094000000060200000024000052534131000400000100010079159977d2d03a8e6bea7a2e74e8d1afcc93e8851974952bb480a12c9134474d04062447c37e0e68c080536fcf3c3fbe2ff9c979ce998475e506e8ce82dd5b0f350dc10e93bf2eeecf874b24770c5081dbea7447fddafa277b22de47d6ffea449674a4f9fccf84d15069089380284dbdd35f46cdff12a1bd78e4ef0065d016df" />
</pubTokenMapping>
</strongNames>
</configuration>
+525
View File
@@ -0,0 +1,525 @@
Here "abc" stays for "array bounds check", or "array bound checks", or
some combination of the two...
------------------------------------------------------------------------------
USAGE
Simply use the "abcrem" optimization invoking mono.
To see if bound checks are actually removed, use "mono -v" and grep for
"ARRAY-ACCESS" in the output, there should be a message for each check
that has been removed.
To trace the algorithm execution, use "-v -v -v", and be prepared to be
totally submersed by debugging messages...
------------------------------------------------------------------------------
EFFECTIVENESS
The abc removal code can now always remove bound checks from "clean"
array scans in loops, and generally anyway there are clear conditions that
already state that the index is "safe".
To be clearer, and give an idea of what the algorithm can and cannot do
without describing it in detail... keep in mind that only "redunant" checks
cannot be removed. By "redundant", I mean "already explicitly checked" in
the method code.
Unfortunately, analyzing complex expressions is not so easy (see below for
details), so the capabilities of this "abc remover" are limited.
These are simple guidelines:
- Only simple comparisons between variables are understood.
- Only increment-decrement operations are handled.
- "switch" statements are not yet handled.
This means that code like this will be handled well:
for (int i = 0; i < a.Length; i++) {
a [i] = .....
}
The "i" variable could be declared out of the "for", the "for" could be a
"while", and maybe even implemented with "goto", the array could be scanned
in reverse order, and everything would still work.
I could have a temporary variable storing the array length, and check on
it inside the loop, and the abc removal would still occurr, like this:
int i = 0;
int l = a.Length;
while ( i < l ) {
a [i] ......
}
or this:
int l = a.Length;
for (int i = l; i > 0; i--) {
a [i] = .....
}
But just something like this
for (int i = 0; i < (a.Length -1); i++) .....
or like this
for (int i = 0; i < a.Length; i += 2) .....
would not work, the check would stay there, sorry :-(
Just to make you understand how things are tricky... this would work!
int limit = a.Length - 1;
for (int i = 0; i < limit; i++) {
a [i] = .....
}
A detailed explanation of the reason why things are done like this is given
below...
All in all, the compiling phase is generally non so fast, and the abc removed
are so few, that there is hardly a performance gain in using the "abcrem"
flag in the compiling options for short programs like the ones I tried.
Anyway, various bound checks *are* removed, and this is good :-)
------------------------------------------------------------------------------
THE ALGORITHM
Unfortunately, this time google has not been my friend, and I did not
find an algorithm I could reasonably implement in the time frame I had,
so I had to invent one. The two cleasses of algorithms I found were either
simply an analisys of variable ranges (which is not very different from
what I'm doing), or they were based on type systems richer than the .NET
one (particularly, they required integer types to have an explicit range,
which could be related to array ranges). By the way, it seems that the
gcj people do not have an array bound check removal optimization (they
just have a compiler flag that unconditionally removes all the checks,
but this is not what we want).
This array bound check removal (abc removal) algorithm is based on
symbolic execution concepts. I handle the removal like an "unreachable
code elimination" (and in fact the optimization could be extended to remove
also other unreachable sections of code, due to branches that "always go the
same way").
In symbolic execution, variables do not have actual (numeric) values, but
instead symbolic expressions (like "a", or "x+y").
Also, branch conditions are handled like symbolic conditions (like "i<k"),
which state relations between variable values.
The SSA representation inside mini is somewhat close to a symbolic
representation of the execution of the compiled method.
Particularly, the representation of variable values is exactly a symbolic
one. It is enough to find all CEE_STIND_* instructions which store to a
local variable, and their second argument is exactly the variable value.
Actually, "cfg->vars [<variable-index>]->def" should contain exactly
those store instructions, and the "get_variable_value_from_ssa_store"
function extracts the variable value from there.
On the other hand, the conditions under which each basic block is
executed are not made fully explicit.
However, it is not difficult to make them so.
Each BB that has more than one exit BB, in practice must end either with
a conditional branch instruction or with a switch instruction.
In the first case, the BB has exactly two exit BBs, and their execution
conditions are easy to get from the condition of the branch (see the
"get_relation_from_branch_instruction" function, and expecially the end of
"analyze_block" in abcremoval.c.
If there is a switch, the jump condition of every exit BB is the equality
of the switch argument with the particular index associated with its case
(but the current implementation does not handle switch statements yet).
These individual conditions are in practice associated to each arc that
connects BBs in the CFG (with the simple case that unconditional branches
have a "TRUE" condition, because they always happen).
So, for each BB, its *proper* entry condition is the union of all the
conditions associated to arcs that enter the BB. The "union" is like a
logical "or", in the sense that either of the condition could be true,
they are not necessarily all true. This means that if I can enter a BB
in two ways, and in one case I know that "x>0", and in the other that
"x==0", actually in the BB I know that "x>=0", which is a weaker
condition (the union of the two).
Also, the *complete* entry condition for a BB is the "intersection" of all
the entry conditions of its dominators. This is true because each dominator
is the only way to reach the BB, so the entry condition of each dominator
must be true if the control flow reached the BB. This translates to the
logical "and" of all the "proper" conditions of the BBs met walking up in the
dominator tree. So, if one says "x>0", and another "x==1", then I know
that "x==1", which is a stronger condition (the intersection of the two).
Note that, if the two conditions were "x>0" and "x==0", then the block would
be unreachable (the intersection is empty), because some branch is impossible.
Another observation is that, inside each BB, every variable is subject to the
complete entry condition of that very same BB, and not the one in which it is
defined (with the "complete entry condition" being the thing I defined before,
sorry if these terms "proper" and "complete" are strange, I found nothing
better).
This happens because the branch conditions are related to the control flow.
I can define "i=a", and if I am in a BB where "a>0", then "i>0", but not
otherwise.
So, intuitively, if the available conditions say "i>=0", and i is used as an
index in an array access, then the lower bound check can be omitted.
If the condition also says "(i>=0)&&(i<array.length)", the abc removal can
occur.
So, a complete solution to the problem of abc removal would be the following:
for each array access, build a system of equations containing:
[1] all the symbolic variable definitions
[2] the complete entry condition of the BB in which the array access occurs
[3] the two "goal functions" ("index >=0" and "index < array.length")
If the system is valid for *each possible* variable value, then the goal
functions are always true, and the abc can be removed.
All this discussion is useful to give a precise specification to the problem
we are trying to solve.
The trouble is that, in the general case, the resulting system of equations
is like a predicate in first order logic, which is semi-decidable, and its
general solution is anyway too complex to be attempted in a JIT compiler
(which should not contain a full fledged theorem prover).
Therefore, we must cut some corner.
By the way, there is also another big problem, which is caused by "recursive"
symbolic definitions. These definition can (and generally do) happen every
time there is a loop. For instance, in the following piece of code
for ( int i = 0; i < array.length; i++ ) {
Console.WriteLine( "array [i] = " + array [i] );
}
one of the definitions of i is a PHI that can be either 0 or "i + 1".
Now, we know that mathematically "i = i + 1" does not make sense, and in
fact symbolic values are not "equations", they are "symbolic definitions".
The symbolic value of i is a generic "n", where "n" is the number of
iterations of the loop, but this is terrible to handle (and in more complex
examples the symbolic definition of i simply cannot be written, because i is
calculated in an iterative way).
However, the definition "i = i + 1" tells us something about i: it tells us
that i "grows". So (from the PHI definition) we know that i is either 0, or
"grows". This is enough to tell that "i>=0", which is what we want!
It is important to note that recursive definitions can only occurr inside
PHI definitions, because actually a variable cannot be defined *only* in terms
of itself!
At this point, I can explain which corners I want to cut to make the
problem solvable. It will not remove all the abc that could theoretically
be removed, but at least it will work.
The easiest way to cut corners is to only handle expressions which are
"reasonably simple", and ignore the rest.
Keep in mind that ignoring an expression is not harmful in itself.
The algorithm will be simply "less powerful", because it will ignore
conditions that could have caused to the removal of an abc, but will
not remove checks "by mistake" (so the resulting code will be in any case
correct).
In a first attempt, we can consider only conditions that have the simple
possible form, which is "(compare simpleExpression simpleExpression)",
where "simpleExpression" is either "(ldind.* local[*])" or
"(ldlen (ldind.ref local[*]))" (or a constant, of course).
We can also "summarize" variable definitions, keeping only what is relevant
to know: if they are greater or smaller than zero or other variables.
One particular note on PHI functions: they work (obviously) like the logical
"or" of their definitions, and therefore are equivalent to the "logical or"
of the summarization of their definitions.
About recursive definitions (which, believe me, are the worst thing in all
this mess), we handle only "monotonic" ones. That is, we try to understand
if the recursive definition (which, as we said above, must happen because
of a loop) always "grows" or "gets smaller". In all other cases, we decide
we cannot handle it.
So, the algorithm to optimize one method could be something like:
[1] Build the SSA representation.
[2] Analyze each BB. Particularly, do the following:
[2a] summarize its exit conditions
[2b] summarize all the variable definitions occurring in the BB
[2c] check if it contains array accesses (only as optimization, so that
step 3 will be performed only when necessary)
[3] Perform the removal. For each BB that contains array accesses, do:
[3a] build an evaluation area where for each variable we keep track
of its relations with zero and with each other variable.
[3b] populate the evaluation area with the initial data (the variable
definitions and the complete entry condition of the BB)
[3c] propagate the relations between variables (so that from "a<b" and
"b<c" we know that "a<c") in the evaluation area
[3d] for each array access in the BB, use the evaluation area to "match
conditions", to see if the goal functions are satisfied
------------------------------------------------------------------------------
LOW LEVEL DESIGN DECISIONS
One of the problems I had to solve was the representation of the relations
between symbolic values.
The "canonical" solution would be to have a complex, potentially recursive
data structure, somewhat similar to MonoInst, and use it all the time (maybe
MonoInst could be used "as is").
The problem is that, at this point, the software would have to "play" with
these structures, for instance to deduce "b < a-1" from "a > b+1", because we
are interested in what value b has, and not a. And maybe the software should
be able to do this without modifying the original condition, because it was
used elsewhere (or could be reused).
Then, the software should also be able to apply logical relations to
conditions (like "(a>0)||(c<1)"), and manipulate them, too.
In my opinion, an optimizer written in this way risks to be too complex, and
its performance not acceptable in a JIT compiler.
Therefore, I decided to represent values in a "summarized" way.
For instance, "x = a + 1" becomes "x > a" (and, by the way, "x = x + 1"
would look like "x > x", which means that "x grows").
So, each variable value is simply a "relation" of the variable with other
variables or constants. Anything more complex is ignored.
Relations are represented with flags (EQ, LT and GT), so that it is easy
to combine them logically (it is enough to perform the bitwise operations
on the flags). The condition (EQ|LT|GT) means we know nothing special, any
value is possible. The empty condition would mean an unreachable statement
(because no value is acceptable).
There is still the problem of identifying variables, and where to store all
these relations. After some thinking, I decided that a "brute force" approach
is the easier, and probably also the fastest. In practice, I keep in memory
an array of "variable relations", where for each variable I record its
relation with the constants 0 and 1 and an array of its relations with all
other variables. The evaluation area, therefore, looks like a square matrix
as large as the number of variables. I *know* that the matrix is rather sparse
(in the sense that only few of its cells are significant), but I decided that
this data structure was the simplest and more efficient anyway. After all,
each cell takes just one byte, and any other data structure must be some
kind of associative array (like a g_hash_table). Such a data structue is
difficult to use with a MonoMemPool, and in the end is slower than a plain
array, and has the storage overhead of all the pointers... in the end, maybe
the full matrix is not a waste at all.
<note>
After a few benchmarks, I clearly see that the matrix works well if the
variables are not too much, otherwise it gets "too sparse", and much time
is wasted in the propagation phase. Maybe the data structure could be changed
after a more careful evaluation of the problem...
</note>
With these assumptions, all the memory used to represent values, conditions
and the evaluation area can be allocated in advance (from a MonoMemPool), and
used for all the analysis of one method. Moreover, the performance of logical
operations is high (they are simple bitwise operations on bytes).
<note>
For the propagation phase, there was a function I could not easily code
with bitwise operations. As that phase is a real pain for the performance
(the complexity is quadratic, and it must be executed iteratively until
nothing changes), I decided to code it in perl, and generate a precomputed
table then used by the C code (just 64 bytes). I think this is faster than
all those branches... Really, I could think again to phases 3c and 3d (see
above), maybe there is a better way to do them.
</note>
Of course not all expressions can be handled by the summarization, so the
optimizer is not as effective as a full blown theorem prover...
Another thing related to design... the implementation is as less intrusive
as possible.
I "patched" the main files to add an option for abc removal, and handle it
just like any other option, and then wrote all the relevant code in two
separated files (one header for data structures, and a C file for the code).
If the patch turns out to be useful also for other pourposes (like a more
generic "unreachable code elimination", that detects branches that will never
be taken using the analysis of variable values), it will not be difficult
to integrate the branch summarizations into the BasicBlock data structures,
and so on.
One last thing... in some places, I knowingly coded in an inefficient way.
For instance, "remove_abc_from_block" does something only if the flag
"has_array_access_instructions" is true, but I call it anyway, letting it
do nothing (calling it conditionally would be better). There are several
things like this in the code, but I was in a hurry, and preferred to make
the code more readable (it is already difficult to understand as it is).
------------------------------------------------------------------------------
WHEN IS ABC REMOVAL POSSIBLE? WHEN IS IT USEFUL?
Warning! Random ideas ahead!
In general, managed code should be safe, so abc removal is possible only if
there already is some branch in the method that does the check.
So, one check on the index is "mandatory", the abc removal can only avoid a
second one (which is useless *because* of the first one).
If in the code there is not a conditional branch that "avoids" to access
an array out of its bounds, in general the abc removal cannot occur.
It could happen, however, that one method is called from another one, and
the check on the index is performed in the caller.
For instance:
void
caller( int[] a, int n ) {
if ( n <= a.Length ) {
for ( int i = 0; i < n; i++ ) {
callee( a, i );
}
}
}
void callee( int[] a, int i ) {
Console.WriteLine( "a [i] = " + a [i] );
}
In this case, it should be possible to have two versions of the callee, one
without checks, to be called from methods that do the check themselves, and
another to be called otherwise.
This kind of optimization could be profile driven: if one method is executed
several times, wastes CPU time for bound checks, and is mostly called from
another one, it could make sense to analyze the situation in detail.
However, one simple way to perform this optimization would be to inline
the callee (so that the abc removal algorithm can see both methods at once).
The biggest benefits of abc removal can be seen for array accesses that
occur "often", like the ones inside inner loops. This is why I tried to
handle "recursive" variable definitions, because without them you cannot
optimize inside loops, which is also where you need it most.
Another possible optimization (alwais related to loops) is the following:
void method( int[] a, int n ) {
for ( int i = 0; i < n; i++ ) {
Console.WriteLine( "a [i] = " + a [i] );
}
}
In this case, the check on n is missing, so the abc could not be removed.
However, this would mean that i will be checked twice at each loop iteration,
one against n, and the other against a.Length. The code could be transformed
like this:
void method( int[] a, int n ) {
if ( n < a.Length ) {
for ( int i = 0; i < n; i++ ) {
Console.WriteLine( "a [i] = " + a [i] ); // Remove abc
}
} else {
for ( int i = 0; i < n; i++ ) {
Console.WriteLine( "a [i] = " + a [i] ); // Leave abc
}
}
}
This could result in performance improvements (again, probably this
optimization should be profile driven).
------------------------------------------------------------------------------
OPEN ISSUES
There are several issues that should still be addressed...
One is related to aliasing. For now, I decided to operate only on local
variables, and ignore aliasing problems (and alias analisys has not yet
been implemented anyway).
Actually, I identified the local arrays with their length, because I
totally ignore the contents of arrays (and objects in general).
Also, in several places in the code I only handle some cases, and ignore
other more complex ones, which could anyway work (there are comments where
this happens). Anyway, this is not harmful (the code is not as effective
as it could be).
Another possible improvement is the explicit handling of all constants.
For now, code like
void
method () {
int[] a = new int [16];
for ( int i = 0; i < 16; i++ ) {
a [i] = i;
}
}
is not handled, because the two constants "16" are lost when variable
relations are summarized (actually they are not lost, they are stored in the
summarized values, but they are not yet used correctly).
The worst thing, anyway, is that for now I fail completely in distinguishing
between signed and unsigned variables/operations/conditions, and between
different integer sizes (in bytes). I did this on pourpose, just for lack of
time, but this can turn out to be terribly wrong.
The problem is caused by the fact that I handle arithmetical operations and
conditions as "ideal" operations, but actually they can overflow and/or
underflow, giving "surprising" results.
For instance, look at the following two methods:
public static void testSignedOverflow()
{
Console.WriteLine( "Testing signed overflow..." );
int[] ia = new int[70000];
int i = 1;
while ( i <ia.Length )
{
try
{
Console.WriteLine( " i = " + i );
ia[i] = i;
}
catch ( IndexOutOfRangeException e )
{
Console.WriteLine( "Yes, we had an overflow (i = " + i + ")" );
}
i *= 60000;
}
Console.WriteLine( "Testing signed overflow done." );
}
public static void testUnsignedOverflow()
{
Console.WriteLine( "Testing unsigned overflow..." );
int[] ia = new int[70000];
uint i = 1;
while ( i <ia.Length )
{
try
{
Console.WriteLine( " i = " + i );
ia[i] = (int) i;
}
catch ( IndexOutOfRangeException e )
{
Console.WriteLine( "Yes, we had an overflow (i = " + i + ")" );
}
i *= 60000;
}
Console.WriteLine( "Testing unsigned overflow done." );
}
In the "testSignedOverflow" method, the exception will be thrown, while
in the "testUnsignedOverflow" everything will go on smoothly.
The problem is that the test "i <ia.Length" is a signed comparison in the
first case, and will not exit from the loop if the index is negative.
Therefore, in the first method, the abc should not be removed.
In practice, the abc removal code should try to predict if any given
expression could over/under-flow, and act accordingly.
For now, I made so that the only accepted expressions are plain increments
and decrements of variables (which cannot over/under-flow without being
trapped by the existing conditions). Anyway, this issue should be analyzed
better.
By the way, in summarizations there is a field that keeps track of the
relation with "1", which I planned to use exactly to summarize products and
quotients, but it is never used (as I said, only increment and decrement
operations are properly summarized).
+173
View File
@@ -0,0 +1,173 @@
Rules for opening shared files
==============================
File is already open, with share set to none:
Can not open again
File is already open for reading, with read share:
Can open for reading only, share must include read (can have write too)
File is already open for reading, with write share:
Can open for writing only, share must include read (can have write too)
File is already open for reading, with read + write share:
Can open for read, writing or both, share must include read (can have write too)
File is already open for writing, with read share:
Can open for reading only, share must include write (can have read too)
File is already open for writing, with write share:
Can open for writing only, share must include write (can have read too)
File is already open for writing, with read + write share:
Can open for reading, writing or both, share must include write (can have read too)
File is already open for reading + writing, with read share:
Can open for reading only, share must be read + write
File is already open for reading + writing, with write share:
Can open for for writing only, share must be read + write
File is already open for reading + writing, with read + write share:
Can open for read, writing or both, share must be read + write
Executive Summary
-----------------
Second open must have access within first share, must set second share to at least first access
Documenting code
----------------
#include <stdio.h>
#include <windows.h>
int access[] = {
GENERIC_READ,
GENERIC_WRITE,
GENERIC_READ | GENERIC_WRITE
};
char *access_names[] = {
"G_READ",
"G_WRITE",
"G_READ|G_WRITE"
};
int share[] = {
FILE_SHARE_READ,
FILE_SHARE_WRITE,
FILE_SHARE_READ | FILE_SHARE_WRITE
};
char *share_names[] = {
"SHARE_READ",
"SHARE_WRITE",
"SHARE_READ|SHARE_WRITE"
};
void lockfiles(int access1, int share1, int access2, int share2)
{
HANDLE h1, h2;
BOOL ret;
if (access2 == 0 && share2 == 0) {
printf("\n");
printf("%22.22s\n%22.22s", access_names[access1], share_names[share1]);
}
h1 = CreateFile("lockedfile",
access[access1],
share[share1],
NULL, OPEN_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL);
if (h1 == INVALID_HANDLE_VALUE) {
printf("Open1 failed: %d\n", GetLastError());
return;
}
h2 = CreateFile("lockedfile",
access[access2],
share[share2],
NULL, OPEN_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL);
if (h2 == INVALID_HANDLE_VALUE) {
printf(" %4.4s", "");
} else {
printf(" %4.4s", "OK");
CloseHandle(h2);
}
CloseHandle(h1);
}
int main(int argc, char **argv)
{
int i, j, k, l;
printf("\t\t\t\t\t\t\tSecond Open\n");
printf("%22.22s G_RE G_RE G_RE G_WR G_WR G_WR G_RW G_RW G_RW\n", "");
printf("%22.22s S_RE S_WR S_RW S_RE S_WR S_RW S_RE S_WR S_RW", "First open --v ");
for (i = 0; i < 3; i++) {
for (j = 0; j < 3; j++) {
for (k = 0; k < 3; k++) {
for (l = 0; l < 3; l++) {
lockfiles(i, j, k, l);
}
}
}
}
return(0);
}
Code output
-----------
Second Open
G_RE G_RE G_RE G_WR G_WR G_WR G_RW G_RW G_RW
First open --v S_RE S_WR S_RW S_RE S_WR S_RW S_RE S_WR S_RW
G_READ
SHARE_READ OK OK
G_READ
SHARE_WRITE OK OK
G_READ
SHARE_READ|SHARE_WRITE OK OK OK OK OK OK
G_WRITE
SHARE_READ OK OK
G_WRITE
SHARE_WRITE OK OK
G_WRITE
SHARE_READ|SHARE_WRITE OK OK OK OK OK OK
G_READ|G_WRITE
SHARE_READ OK
G_READ|G_WRITE
SHARE_WRITE OK
G_READ|G_WRITE
SHARE_READ|SHARE_WRITE OK OK OK
+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
+16
View File
@@ -0,0 +1,16 @@
<h1>Mono 1.0 Release Notes</h1>
<h2>What does Mono Include</h2>
<h2>Missing functionality</h2>
<p>COM support.
<p>EnterpriseServices are non-existant.
<p>Windows.Forms is only available as a preview, it is not
completed nor stable.
<h3>Assembly: System.Drawing</h3>
<p>System.Drawing.Printing is not supported.
+3
View File
@@ -0,0 +1,3 @@
Makefile.in
Makefile
.deps
+24
View File
@@ -0,0 +1,24 @@
2004-06-24 David Waite <[email protected]>
* mono-jni.c: change to C90-style comments from C99/C++-style
Fri Jun 18 13:46:05 CEST 2004 Paolo Molaro <[email protected]>
* mono-jni.c: updates for the API cleanups.
2004-05-05 Zoltan Varga <[email protected]>
* mono-jni.c: Implement some missing JNI functions.
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
+1263
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>
+49 -5
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,9 +93,20 @@ 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 \-\-stacktrace
Generates a stack trace at the time the error is reported, useful for
debugging the compiler.
.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 -lib:PATHLIST
Each path specified in the comma-separated list will direct the
@@ -90,6 +116,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.
@@ -108,6 +138,16 @@ Names the output file to be generated.
.I \-\-parse
Used for benchmarking. The compiler will only parse its input files.
.TP
.I \-pkg:package1[,packageN]
The compiler will invoke pkg-config --libs on the set of packages
specified on the command line to obtain libraries and directories to
compile the code.
.PP
This is typically used with third party components, like this:
.nf
$ mcs -pkg:gtk-sharp demo.cs
.fi
.TP
.I -resource:RESOURCE[,ID]
Embeds to the given resource file. The optional ID can be used to
give a different name to the resource. If not specified, the resource
@@ -131,9 +171,13 @@ Does recursive compilation using the specified pattern. In Unix the
shell will perform globbing, so you migth want to use it like this:
.PP
.nf
bash$ mcs -recurse:'*.cs'
$ mcs -recurse:'*.cs'
.fi
.TP
.I \-\-stacktrace
Generates a stack trace at the time the error is reported, useful for
debugging the compiler.
.TP
.I \-target:KIND, \-t:KIND
Used to specify the desired target. The possible values are: exe
(plain executable), winexe (Windows.Forms executable), library
@@ -220,7 +264,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
+55 -2
View File
@@ -1,8 +1,9 @@
.\"
.\" mono configuration page.
.\" mono-config configuration page.
.\" (C) Ximian, Inc.
.\" Author:
.\" Miguel de Icaza ([email protected])
.\" Paolo Molaro ([email protected])
.\"
.TH Mono "Mono 1.0"
.SH NAME
@@ -12,6 +13,9 @@ The Mono runtime will load configuration data from the
installation prefix /etc/mono/config file, the ~/.mono/config or from
the file pointed by the MONO_CONFIG environment variable.
.PP
For each assembly loaded a config file with the name:
/path/to/the/assembly.exe.config is loaded, too.
.PP
This file controls the behavior of the runtime.
.PP
The file contains an XML-like file with various sections, all of them
@@ -24,6 +28,37 @@ You use the dllmap directive to map shared libraries referenced by
P/Invoke in your assemblies to a different shared library.
.PP
This is typically used to map Windows libraries to Unix library names.
The
.B dllmap
element takes two attributes:
.TP
.I dll
This should be the same string used in the DllImport attribute
.TP
.I target
This should be the name of the library where the function can be found:
this name should be suitable for use with the platform native shared library
loading routines (dlopen etc.), so you may want to check the manpages for that, too.
.SH <dllentry> directive
This directive can be used to map a specific dll/function pair to a different
library and also a different function name. It should appear inside a
.B dllmap
element with only the dll attribute specified.
.PP
The
.B dllentry
element takes 3 attributes:
.TP
.I dll
This is the target library, where the function can be found.
.TP
.I name
This is the name of the fuction as it appears in the metadata: it is the name
of the P/Invoke method.
.TP
.I target
This is the name of the function to lookup instead of the name specified in the
P/Invoke method.
.SH EXAMPLES
The following example maps references to the `cygwin1.dll' shared
library to the `libc.so.6' file.
@@ -32,5 +67,23 @@ library to the `libc.so.6' file.
<dllmap dll="cygwin1.dll" target="libc.so.6"/>
</configuration>
.fi
.PP
This one maps the following C# method:
.nf
[DllImport ("libc")]
static extern void somefunction ();
.fi
to
.B differentfunction
in
.B libdifferent.so.
.nf
<configuration>
<dllmap dll="libc">
<dllentry dll="libdifferent.so" name="somefunction" target="differentfunction" />
</dllmap>
</configuration>
.fi
.SH SEE ALSO
.BR mono(1), monodis(1), mint(1)
.BR mono(1), monodis(1), mint(1)
+59 -25
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
@@ -225,10 +238,10 @@ Finally, namespaces can be specified using the N: prefix:
Turns off the garbage collection in Mono. This should be only used
for debugging purposes
.TP
.I "MONO_PATH"
Provides a search path to the runtime where to look for library files.
Directories are separated by the platform path separator (colons on unix). Example:
.B /home/username/lib:/usr/local/mono/lib
.I "MONO_ASPNET_NODELETE"
If set to any value, temporary source files generated by ASP.NET support
classes will not be removed. They will be kept in the user's temporary
directory.
.TP
.I "MONO_CFG_DIR"
If set, this variable overrides the default system configuration directory
@@ -239,10 +252,27 @@ If set, this variable overrides the default runtime configuration file
($PREFIX/etc/mono/config). The --config command line options overrides the
environment variable.
.TP
.I "MONO_LOG_LEVEL"
If set, the logging level is changed to the set value. Possible values
are "error", "critical", "warning", "message", "info", "debug". The
default value is "error". Messages with a logging level greater then
or equal to the log level will be printed to stdout/stderr.
.TP
.I "MONO_LOG_MASK"
If set, the log mask is changed to the set value. Possible values are
"asm" (assembly loader), "type", "dll" (native library loader), "gc"
(garbage collector), "cfg" (config file loader), "all". The default value is
"all". Changing the mask value allows you to display only messages for
a certain component. You can use multiple masks by comma separating
them. For example to see config file messages and assembly loader
messages set you mask to "asm,cfg".
.TP
.I "MONO_DEBUG"
If set, enables some features of the runtime useful for debugging.
Currently it only makes the runtime display the stack traces for all the
threads running and exit. It may not exit cleanly. Use at your own risk.
It makes the runtime display the stack traces for all the threads
running and exit when mono is interrupted (Ctrl-C) and print some
additional messages on error conditions. It may not exit cleanly. Use at
your own risk.
.TP
.I "MONO_DISABLE_AIO"
If set, tells mono NOT to attempt using native asynchronous I/O services. In
@@ -254,33 +284,23 @@ Windows I/O Emulation layer, and handles (files, events, mutexes,
pipes) will not be shared across processes. Process creation is also
disabled. This option is only available on Unix.
.TP
.I "MONO_EGD_SOCKET"
For platforms that do not otherwise have a way of obtaining random bytes
this can be set to the name of a file system socket on which an egd or
prngd daemon is listening.
.TP
.I "MONO_EXTERNAL_ENCODINGS"
If set, contains a colon-separated list of text encodings to try when
turning externally-generated text (e.g. command-line arguments or
filenames) into Unicode. The encoding names come from the list
provided by iconv, and the special case "default_locale" which refers
to the current locale's default encoding.
.TP
.IP
When reading externally-generated text strings UTF-8 is tried first,
and then this list is tried in order with the first successful
conversion ending the search. When writing external text (e.g. new
filenames or arguments to new processes) the first item in this list
is used, or UTF-8 if the environment variable is not set.
.TP
.I "MONO_SHARED_DIR"
If set its the directory where the ".wapi" handle state is stored.
This is the directory where the Windows I/O Emulation layer stores its
shared state data (files, events, mutexes, pipes). By default Mono
will store the ".wapi" directory in the users's home directory.
.TP
.I "MONO_UNMANAGED_XSLT"
If set any value, System.Xml.Xsl.XslTransform uses libxslt-based
transformation engine (a.k.a Unmanaged XSLT). Unmanaged XSLT has
long been used for XSLT engine while Managed XSLT engine is so
new and might have some bugs. Basically we recommend Managed XSLT
solution, but if it contains some blocking bugs, then you can also
use traditional libxslt. If you want to use msxsl:script, you have
to select Managed XSLT.
.TP
.I "MONO_MANAGED_WATCHER"
If set to any value, System.IO.FileSystemWatcher will use the default
@@ -288,9 +308,23 @@ managed implementation (slow). If unset, mono will try to use FAM under
Unix systems and native API calls on Windows, falling back to the
managed implementation on error.
.TP
.I "MONO_CODEDOM_NODELETE"
If set to any value, the C# CodeDom compiler will not remove the temporary
source files generated.
.I "MONO_PATH"
Provides a search path to the runtime where to look for library files.
Directories are separated by the platform path separator (colons on unix). Example:
.B /home/username/lib:/usr/local/mono/lib
.TP
.I "MONO_GAC_PREFIX"
Provides a prefix the runtime uses to look for Global Assembly Caches.
Directories are separated by the platform path separator (colons on
unix). MONO_GAC_PREFIX should point to the top directory of a prefixed
install. Or to the directory provided in the gacutil /gacdir command. Example:
.B /home/username/.mono:/usr/local/mono/
.TP
.I "MONO_SHARED_DIR"
If set its the directory where the ".wapi" handle state is stored.
This is the directory where the Windows I/O Emulation layer stores its
shared state data (files, events, mutexes, pipes). By default Mono
will store the ".wapi" directory in the users's home directory.
.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
+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.
+48 -10
View File
@@ -1,8 +1,9 @@
.\"
.\" sn manual page.
.\" Copyright 2003 Motus Technologies
.\" Copyright 2004 Novell
.\" Author:
.\" Sebastien Pouliot (spouliot@motus.com)
.\" Sebastien Pouliot <sebastien@ximian.com>
.\"
.TH Mono "sn"
.SH NAME
@@ -13,24 +14,33 @@ sn \- Digitally sign/verify/compare strongname on CLR assemblies.
.SH DESCRIPTION
Digitally sign, verify or compare, CLR assemblies using strongnames.
.SH CONFIGURATION OPTIONS
Configuration options are stored in the machine.config configuration file
under /configuration/strongNames.
.TP
.I "-c provider"
Change the default CSP (Crypto Service Provider).
Change the default CSP (Crypto Service Provider). Currently not supported
in Mono.
.TP
.I "-m [y|n]"
Use a machine [y] key container or a user [n] key container.
Use a machine [y] key container or a user [n] key container. Currently not
supported in Mono.
.TP
.I "-Vl"
List the verification options.
List the verification options. The list is kept under /configuration/
strongNames/verificationSettings in machine.config.
.TP
.I "-Vr assembly [userlist]"
Exempt the specified assembly from verification for the specified user list.
Currently not supported by sn, you must edit machine.config manually if you
require this.
.TP
.I "-Vu assembly"
Remove the exemption entry for the specified assembly.
Remove the exemption entry for the specified assembly. Currently not
supported by sn, you must edit machine.config manually if you require this.
.TP
.I "-Vx"
Remove all exemptions entries.
Remove all exemptions entries. Currently not supported by sn, you must edit
machine.config manually if you require this.
.SH CSP RELATED OPTIONS
.TP
.I "-d container"
@@ -62,11 +72,14 @@ Compare if assembly1 and assembly are the same exception for their signature.
This is done by comparing the hash of the metadata of both assembly.
.TP
.I "-k keypair.snk"
Create a new strongname keypair in the specified file.
Create a new strongname keypair (a 1024 bits RSA keypair) in the specified
file.
.TP
.I "-R assembly keypair.snk"
Resign the specified assembly using the specified strongname keypair file
(SNK).
(SNK). You can only sign an assembly with the private key (SNK) that match
the public key inside the assembly (unless it's public key token has been
remapped in machine.config).
.TP
.I "-Rc assembly container"
Resign the specified assembly using the specified strongname container.
@@ -83,10 +96,10 @@ Show the public key from the specified assembly.
.I "-Tp assembly"
Show the public key and the public key token from the specified assembly.
.TP
.I "-V assembly"
.I "-v assembly"
Verify the specified assembly signature.
.TP
.I "-Vf assembly"
.I "-vf assembly"
Verify the specified assembly signature (even if disabled).
.SH HELP OPTIONS
.TP
@@ -104,10 +117,35 @@ Display convertion related help about this tool.
.TP
.I "-h sn", "-? sn"
Display strongname related help about this tool.
.SH CONFIGURATION FILE
.TP
Strongnames configuration is kept in "machine.config" file. Currently two
features can be configured.
.TP
.I "/configuration/strongNames/pubTokenMapping"
This mechanism let Mono remap a public key token, like the ECMA token, to
another public key for verification. This is useful in two scenarios. First
assemblies signed with the "ECMA key" needs to be verified by the "runtime"
key (as the ECMA key isn't a public key). Second, many assemblies are signed
with private keys that Mono can't use (e.g. System.Security.dll assembly).
A new key cannot be used because it should change thr strongname (a new key
pair would have a new public key which would produce a new token). Public
key token remapping is the solution for both problems. Each token must be
configured in a "map" entry similar to this one: <map Token="b77a5c561934e089"
PublicKey="00..." />
.TP
.I "/configuration/strongNames/verificationSettings"
It is often useful during development to use delay signed assemblies.
Normally* the runtime wouldn't allow delay-signed assemblies to be loaded.
This feature allows some delay-signed assemblies (based on their public key
token, optionally assembly name and user name) to be used like they were
fully signed assemblies. [*] Note that Mono 1.0 "runtime" doesn't validate
strongname signatures so this option shouldn't be required in most scenarios.
.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.
+73
View File
@@ -0,0 +1,73 @@
.\" 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 "/generator:type,assembly" "/g:type,assembly"
Indicates xsd.exe to use custom CodeDomProvider to generate code. The type name must be full name. Assembly name is a local file name that is going to be loaded. The specified Type must have the default constructor.
.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)
+101 -33
View File
@@ -1,3 +1,71 @@
2004-06-22 Todd Berman <[email protected]>
* configure: Patch from Mariano Suárez-Alvarez
<[email protected]> to make configure accept jhbuild style
/prefix /usr options, and to continue past unknown options. Currently
this patch is a bit spammy with multiple unknown options, anyone
who is interested is welcome to fix this.
2004-06-14 Raja R Harinath <[email protected]>
* Makefile (all-profiles, clean-profiles): Simplify slightly.
2004-06-05 Atsushi Enomoto <[email protected]>
* Makefile: added target run-test-ondotnet.
2004-05-26 Raja R Harinath <[email protected]>
* nunit20/util/Makefile (EXTRA_DISTFILES): Remove
Transform.resources.
($(the_lib)): Make Transform.resources using internal resgen.
* nunit20/util/Transform.resources: Rebuild.
2004-05-25 Sebastien Pouliot <[email protected]>
* nunit.key: New. NUnit private key. Due to build issues the key
must be present in this directory.
2004-05-20 Raja R Harinath <[email protected]>
* Makefile (SUBDIRS): Move 'monoresgen' ahead of 'class'.
2004-05-17 Raja R Harinath <[email protected]>
* Makefile (all, clean): Remove indirection.
(clean-profiles): New.
2004-05-13 Jackson Harper <[email protected]>
* Makefile: default build is no longer the multi profile build. Do
build both 1.1 and 2.0 profiles use the all-profiles target.
2004-05-12 Gonzalo Paniagua Javier <[email protected]>
* Makefile: disable net_2_0 on windows. It doesn't build. Don't
try to build net_1_0 and net_2_0 if we provide a PROFILE=xxx in the
command line.
2004-05-10 Raja R Harinath <[email protected]>
* INSTALL.txt: Don't mention 'fullbuild'. Mention 'bootstrap'
instead. Update instructions for 'monocharge'.
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
@@ -132,41 +200,41 @@
which includes a MySQL ADO.NET Provider.
Contributed by Reggie Burnett <[email protected]>
from ByteFX, Inc.
ByteFX.Data 0.6.5 is Copyright 2002-2003, ByteFX, Inc.
Added the following files and directories:
ByteFX.Data 0.6.5 is Copyright 2002-2003, ByteFX, Inc.
Added the following files and directories:
class/ByteFX.Data/AssemblyInfo.cs
class/ByteFX.Data/list
class/ByteFX.Data/ByteFX.Data.build
class/ByteFX.Data/makefile.gnu
class/ByteFX.Data/ChangeLog.txt
class/ByteFX.Data/readme.txt
class/ByteFX.Data/lgpl.txt: new files
BitStream.cs
Connection.cs
Field.cs
Inflater.cs
ConnectionString.cs
HuffmanTree.cs
NamedPipeStream.cs
class/ByteFX.Data/Common: added files to new directory
Driver.cs
command.resx
todo.txt
CommandBuilder.cs
Exception.cs
dataadapter.cs
transcaction.cs
Connection.cs
Field.cs
datareader.cs
Connection.resx
MysqlDefs.cs
class/ByteFX.Data/AssemblyInfo.cs
class/ByteFX.Data/list
class/ByteFX.Data/ByteFX.Data.build
class/ByteFX.Data/makefile.gnu
class/ByteFX.Data/ChangeLog.txt
class/ByteFX.Data/readme.txt
class/ByteFX.Data/lgpl.txt: new files
BitStream.cs
Connection.cs
Field.cs
Inflater.cs
ConnectionString.cs
HuffmanTree.cs
NamedPipeStream.cs
class/ByteFX.Data/Common: added files to new directory
Driver.cs
command.resx
todo.txt
CommandBuilder.cs
Exception.cs
dataadapter.cs
transcaction.cs
Connection.cs
Field.cs
datareader.cs
Connection.resx
MysqlDefs.cs
parameter.cs
class/ByteFX.Data/mysqlclient: added files to new directory
class/ByteFX.Data/mysqlclient: added files to new directory
command.cs
parameter_collection.cs
+17 -15
View File
@@ -25,15 +25,15 @@ compilers and tools.
If you only want to build a snapshot or a fresh CVS checkout of the
sources, you should go into the `mono' sibling directory and issue the
make fullbuild command, like this:
make bootstrap command, like this:
cd ../mono
./autogen.sh --prefix=/usr/local
make fullbuild
make bootstrap
make install
That will build and install the code in a single pass. The
compilation is bundled with the build due to dependencies on the class
libraries on the runtime.
The compilation is bundled with the build due to dependencies on the
class libraries on the runtime.
Build Features for Developers of Mono.
======================================
@@ -73,17 +73,19 @@ The difference between the two modes is explained farther down.
Troubleshooting
===============
Occasionally, something in the compiler or runtime changes enough that
an existing installation cannot complete a full build from cvs. In this case,
go to http://go-mono.com/daily and download a monocharge or monolite tarball.
Unpack and copy the .dlls to $prefix/lib and .exes to $prefix/bin/. Then
you should be able to complete the build normally (i.e. using make fullbuild).
We try to maintain the CVS tree such that it is bootstrapable from the
latest released version of mono and mcs. Occasionally, something in the
compiler or runtime changes enough that an existing installation cannot
complete a bootstrap from cvs. In this case, go to
http://go-mono.com/daily and download a monocharge or monolite tarball.
Unpack and copy the .dlls to $prefix/lib and .exes to $prefix/bin/.
Then you should be able to complete the build normally (i.e. using make
bootstrap).
wget http://go-mono.com/daily/monolite-20031028.tar.gz
tar -zxvf monolite-20031028.tar.gz
cd monolite-20031028
cp *.exe /usr/local/bin/.
cp *.dll /usr/local/lib/.
wget http://go-mono.com/daily/monolite-20040505.tar.gz
tar -zxvf monolite-20040505.tar.gz
cd monolite-20040505
env prefix=/usr/local sh recharge.sh
Monocharges
===========
+16 -2
View File
@@ -1,11 +1,15 @@
thisdir := .
SUBDIRS := build jay mcs class mbas nunit20 monoresgen ilasm tools tests errors docs
SUBDIRS := build jay mcs monoresgen class mbas nunit20 ilasm tools tests errors docs
OVERRIDE_BARE_TARGETS = hells yeah
include build/rules.make
# Define these ourselves to that the platform checks come first
all: platform-check profile-check all-recursive #all-local
#all: platform-check profile-check all-recursive #all-local
.PHONY: all clean all-profiles clean-profiles install uninstall test run-test testcorlib
all: platform-check profile-check all-recursive
install: platform-check profile-check install-recursive #install-local
@@ -15,10 +19,20 @@ test: platform-check profile-check test-recursive #test-local
run-test: run-test-recursive #run-test-local
run-test-ondotnet: run-test-ondotnet-recursive # run-test-ondotnet-local
clean: clean-recursive #clean-local
# fun specialty targets
all-profiles:
$(MAKE) PROFILE=default all
$(MAKE) PROFILE=net_2_0 all
clean-profiles:
$(MAKE) PROFILE=default clean
$(MAKE) PROFILE=net_2_0 clean
testcorlib:
@cd class/corlib && $(MAKE) test run-test
+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
+12 -4
View File
@@ -1,4 +1,12 @@
2004-03-16 Rafael Teixeira (rafaelteixeira@hotmail.com)
* Test1.vb: corrected mispelling in keyword
* Test.Sources: no misc1.vb or CharacterLiteralsA.vb sources
* ConditionalCompilationC.vb: added some tests with #Const
2004-06-11 Anirban Bhattacharjee <banirban@novell.com>
* Makefile: Removed inclusion of rules.make from Makefile for two reasons :
- This Makefile as of now has no dependency on rules.make what so ever
- Because of inclusion of INTENAL_MBAS in rules.make it was causing confliction with existing INTERNAL_MBAS in this makefile and causing lots of tests to fail
2004-05-15 Rafael Teixeira ([email protected])
* Makefile: corrected /libpath: compiler flag (parameter) to point to ../class/lib/default/ the new location of libraries
2004-03-16 Rafael Teixeira ([email protected])
* Test1.vb: corrected mispelling in keyword
* Test.Sources: no misc1.vb or CharacterLiteralsA.vb sources
* ConditionalCompilationC.vb: added some tests with #Const
+12 -4
View File
@@ -1,4 +1,12 @@
2004-03-16 Rafael Teixeira (rafaelteixeira@hotmail.com)
* Test1.vb: corrected mispelling in keyword
* Test.Sources: no misc1.vb or CharacterLiteralsA.vb sources
* ConditionalCompilationC.vb: added some tests with #Const
2004-06-11 Anirban Bhattacharjee <banirban@novell.com>
* Makefile: Removed inclusion of rules.make from Makefile for two reasons :
- This Makefile as of now has no dependency on rules.make what so ever
- Because of inclusion of INTENAL_MBAS in rules.make it was causing confliction with existing INTERNAL_MBAS in this makefile and causing lots of tests to fail
2004-05-15 Rafael Teixeira ([email protected])
* Makefile: corrected /libpath: compiler flag (parameter) to point to ../class/lib/default/ the new location of libraries
2004-03-16 Rafael Teixeira ([email protected])
* Test1.vb: corrected mispelling in keyword
* Test.Sources: no misc1.vb or CharacterLiteralsA.vb sources
* ConditionalCompilationC.vb: added some tests with #Const
+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
+34
View File
@@ -0,0 +1,34 @@
Imports System
Module M
Delegate Sub SD()
sub f()
End sub
Public Delegate Function SF(a as integer) as Integer
Public Function f1(a as integer) as Integer
return a
End Function
Sub Main()
dim d1 as SD
d1 = new SD(AddressOf f)
d1.Invoke()
dim d2 as SD
d2 = AddressOf f
d2.Invoke()
dim d3 as new SD(AddressOf f)
d3.Invoke()
dim d4 as SF
d4 = new SF(AddressOf f1)
Dim i as Integer = d4.Invoke(10)
if i <> 10 then
Throw new System.Exception ("#A1, Unexpected result")
end if
End Sub
End Module
+14
View File
@@ -0,0 +1,14 @@
Imports System
Module M
Delegate Sub SD()
sub f(i as integer)
End sub
Sub Main()
dim d1 as SD
d1= new SD(AddressOf f)
d1.Invoke()
End Sub
End Module
+18
View File
@@ -0,0 +1,18 @@
Imports System
Module M
Delegate Sub SD()
sub f()
End sub
Public Delegate Function SF(a as integer) as Integer
Public Function f1(a as integer) as Integer
return a
End Function
Sub Main()
dim d1 as SD
d1= new SD(AddressOf f1)
d1.Invoke()
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
+27
View File
@@ -0,0 +1,27 @@
Imports System
Class C
Public Event E
Public Sub S()
RaiseEvent E
End Sub
End Class
Class C1
dim WithEvents x as C = new C()
Sub call_S()
x.S()
End Sub
Sub EH() Handles x.E
Console.WriteLine("event called")
End Sub
End Class
Module M
Sub Main()
dim y as new C1
y.call_S()
End Sub
End Module
+28
View File
@@ -0,0 +1,28 @@
Imports System
Class C
Delegate Sub EH()
Public Event E as EH
Public Sub S()
RaiseEvent E
End Sub
End Class
Class C1
dim WithEvents x as C = new C()
Sub call_S()
x.S()
End Sub
Sub EH() Handles x.E
Console.WriteLine("event called")
End Sub
End Class
Module M
Sub Main()
dim y as new C1
y.call_S()
End Sub
End Module
+30
View File
@@ -0,0 +1,30 @@
Imports System
Class C
Public Event E (ByVal i as integer)
Public Sub S()
RaiseEvent E(10)
End Sub
End Class
Class C1
dim WithEvents x as C = new C()
Sub call_S()
x.S()
End Sub
Sub EH(i as Integer) Handles x.E
Console.WriteLine("event called : " + i)
End Sub
End Class
Module M
Sub Main()
dim y as new C1
y.call_S()
End Sub
End Module
+31
View File
@@ -0,0 +1,31 @@
Imports System
Class C
Delegate Sub EH(ByVal i as integer)
Public Event E as EH
Public Sub S()
RaiseEvent E(10)
End Sub
End Class
Class C1
dim WithEvents x as C = new C()
Sub call_S()
x.S()
End Sub
Sub EH(i as Integer) Handles x.E
Console.WriteLine("event called : " + i)
End Sub
End Class
Module M
Sub Main()
dim y as new C1
y.call_S()
End Sub
End Module
+28
View File
@@ -0,0 +1,28 @@
Imports System
Public Class C
Public Event E()
Sub S()
RaiseEvent E()
End Sub
End Class
Module M
Sub S1()
Dim x As New C()
AddHandler x.E, AddressOf EH
x.S()
End Sub
Sub EH()
Console.WriteLine("Event fired")
End Sub
Sub Main()
S1()
End Sub
End Module
+30
View File
@@ -0,0 +1,30 @@
Imports System
Class C
Delegate Sub EH()
Public Event E as EH
Public Sub S()
RaiseEvent E
End Sub
End Class
Class C1
Sub call_S()
dim x as C = new C()
AddHandler x.E, AddressOf xh
x.S()
End Sub
Sub xh()
Console.WriteLine("event called")
End Sub
End Class
Module M
Sub Main()
dim y as new C1
y.call_S()
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
+5 -2
View File
@@ -1,12 +1,15 @@
thisdir = btests
SUBDIRS =
TEST_RUNTIME = mono
COMPILER_FLAGS = /libpath:../class/lib /imports:System
COMPILER_FLAGS = /libpath:../class/lib/default/ /imports:System
INTERNAL_MBAS = $(TEST_RUNTIME) --debug ../mbas/mbas.exe --stacktrace $(COMPILER_FLAGS)
#INTERNAL_MBAS = vbc $(COMPILER_FLAGS)
all: test-compiler-jit
include ../build/rules.make
# removed this cause INTERNAL_MBAS now getting set in
# rules.make which is conflicting with this instance of
# INTERNAL_MBAS
#include ../build/rules.make
DISTFILES = README.tests $(wildcard *.vb)
+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
Loaded 100 of 7415 files, more files were not shown because too many files have changed in this diff. Show more