Sebastien Pouliot [Thu, 27 May 2004 13:59:34 +0000 (13:59 -0000)]
2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
* QueueTest.cs: Added case where we try to get Current after the last
MoveNext.
svn path=/trunk/mcs/; revision=28267
Nick Drochak [Thu, 27 May 2004 13:52:07 +0000 (13:52 -0000)]
2004-05-27 Nick Drochak <ndrochak@ieee.org>
* DataRelationCollectionTest.cs: Fixed build when using csc.
svn path=/trunk/mcs/; revision=28266
Patrik Torstensson [Thu, 27 May 2004 13:41:52 +0000 (13:41 -0000)]
Sorry Sorry Sorry
svn path=/trunk/mcs/; revision=28265
Patrik Torstensson [Thu, 27 May 2004 13:34:30 +0000 (13:34 -0000)]
2004-05-27 Patrik Torstensson <totte@hiddenpeaks.com>
* ExpiresBucket.cs (FlushExpiredItems): fix csc and a typo bug
svn path=/trunk/mcs/; revision=28264
Paolo Molaro [Thu, 27 May 2004 13:11:09 +0000 (13:11 -0000)]
Thu May 27 15:50:52 CEST 2004 Paolo Molaro <lupus@ximian.com>
* cpu-g4.md, mini-ppc.c: fixes to long add/sub ovf opcodes
and div/rem checks.
svn path=/trunk/mono/; revision=28263
Gert Driesen [Thu, 27 May 2004 13:04:43 +0000 (13:04 -0000)]
* monowiz.win32.nsi: normalized line-endings to unix (LF)
svn path=/trunk/mono/; revision=28262
Sebastien Pouliot [Thu, 27 May 2004 12:40:08 +0000 (12:40 -0000)]
2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
* SymmetricTransform.cs: Added missing exception handling in
TransformBlock and TransformFinalBlock.
svn path=/trunk/mcs/; revision=28259
Sebastien Pouliot [Thu, 27 May 2004 12:29:28 +0000 (12:29 -0000)]
2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
* ARC4Managed.cs: Added missing exception handling in TransformBlock
and TransformFinalBlock.
svn path=/trunk/mcs/; revision=28258
Sebastien Pouliot [Thu, 27 May 2004 12:27:16 +0000 (12:27 -0000)]
2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
* ARC4ManagedTest.cs: Added unit tests for exceptions coming from
ICryptoTransform interface (TransformBlock, TransformFinalBlock).
svn path=/trunk/mcs/; revision=28256
Patrik Torstensson [Thu, 27 May 2004 12:25:30 +0000 (12:25 -0000)]
2004-05-27 Patrik Torstensson <totte@hiddenpeaks.com>
* HttpApplicationFactory.cs: Added SignalError (still todo)
svn path=/trunk/mcs/; revision=28255
Patrik Torstensson [Thu, 27 May 2004 12:15:13 +0000 (12:15 -0000)]
2004-05-27 Patrik Torstensson <totte@hiddenpeaks.com>
* 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
Sebastien Pouliot [Thu, 27 May 2004 11:57:33 +0000 (11:57 -0000)]
2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
* SymmetricTransform.cs: Fixed possible integer overflow.
svn path=/trunk/mcs/; revision=28253
Sebastien Pouliot [Thu, 27 May 2004 11:47:56 +0000 (11:47 -0000)]
2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
* HashAlgorithm.cs: Added missing exception handling to ComputeHash,
TransformBlock and TransformFinalBlock.
svn path=/trunk/mcs/; revision=28252
Sebastien Pouliot [Thu, 27 May 2004 11:21:20 +0000 (11:21 -0000)]
2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
* HashAlgorithmTest.cs: Added new tests to check for more exceptions.
svn path=/trunk/mcs/; revision=28250
Boris Kirzner [Thu, 27 May 2004 11:14:32 +0000 (11:14 -0000)]
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
Raja R Harinath [Thu, 27 May 2004 10:55:59 +0000 (10:55 -0000)]
reindent with monostyle
svn path=/trunk/mcs/; revision=28248
Anirban Bhattacharjee [Thu, 27 May 2004 10:48:04 +0000 (10:48 -0000)]
* mb-parser.jay: Changed Delegate instantiation grammar to get it working
svn path=/trunk/mcs/; revision=28247
Raja R Harinath [Thu, 27 May 2004 10:46:03 +0000 (10:46 -0000)]
revert one unintentional change.
svn path=/trunk/mcs/; revision=28246
Raja R Harinath [Thu, 27 May 2004 10:42:44 +0000 (10:42 -0000)]
Fix formatting using 'c-indent-line-or-region' in csharp-mode.
Only whitespace changes.
svn path=/trunk/mcs/; revision=28245
Boris Kirzner [Thu, 27 May 2004 10:36:17 +0000 (10:36 -0000)]
* DataContainer.cs : Bug fixes in BitDataContainer.get_Item and StringDataContainer.SetValue .
svn path=/trunk/mcs/; revision=28244
Paolo Molaro [Thu, 27 May 2004 09:52:02 +0000 (09:52 -0000)]
Thu May 27 12:36:53 CEST 2004 Paolo Molaro <lupus@ximian.com>
* Makefile.am: fix miguel's change to build mono statically against
libmono (track build dependencies).
svn path=/trunk/mono/; revision=28243
Atsushi Eno [Thu, 27 May 2004 09:47:17 +0000 (09:47 -0000)]
2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
* SqlDecimal.cs : don't output debug message to Console.
svn path=/trunk/mcs/; revision=28242
Atsushi Eno [Thu, 27 May 2004 09:46:48 +0000 (09:46 -0000)]
2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
* OleDbDataReader.cs : don't output debug message to Console.
svn path=/trunk/mcs/; revision=28241
Atsushi Eno [Thu, 27 May 2004 09:46:27 +0000 (09:46 -0000)]
2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
* MergeManager.cs : don't output debug message to Console.
svn path=/trunk/mcs/; revision=28240
Atsushi Eno [Thu, 27 May 2004 09:29:47 +0000 (09:29 -0000)]
2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
* 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
Atsushi Eno [Thu, 27 May 2004 09:10:08 +0000 (09:10 -0000)]
2004-05-22 Atsushi Enomoto <atsushi@ximian.com>
* 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
Atsushi Eno [Thu, 27 May 2004 08:32:40 +0000 (08:32 -0000)]
2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
* XmlDataInferenceLoader.cs : Namespace are not imported to the table
structure. Thanks to Boris Kirzner for the fix.
svn path=/trunk/mcs/; revision=28235
Atsushi Eno [Thu, 27 May 2004 08:22:09 +0000 (08:22 -0000)]
2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
* XmlDocument.cs : Save() should indent only when PreserveWhitespace
is false. Fixed bug #59155.
Modified comment lines a bit.
svn path=/trunk/mcs/; revision=28234
Atsushi Eno [Thu, 27 May 2004 07:50:31 +0000 (07:50 -0000)]
2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
* XmlTextWriter.cs : WriteRaw() looks to proceed WriteState to Prolog
(if it is Start). Fixed bug #59154.
svn path=/trunk/mcs/; revision=28233
Umadevi S [Thu, 27 May 2004 07:22:22 +0000 (07:22 -0000)]
2004-05-27 Umadevi S <sumadevi@novell.com>
* added files DataTableMappingCollectionTest and DataColumnMappingCollectionTest to system.data_test.dll.sources
svn path=/trunk/mcs/; revision=28232
Ravindra [Thu, 27 May 2004 07:20:18 +0000 (07:20 -0000)]
Temporarily ignoring a failing test case.
svn path=/trunk/mcs/; revision=28231
Umadevi S [Thu, 27 May 2004 07:20:07 +0000 (07:20 -0000)]
2004-05-27 Umadevi S <sumadevi@novell.com>
* Added Classes DataColumnMappingCollectionTest and DataTableMappingCollectionTest
svn path=/trunk/mcs/; revision=28230
Atsushi Eno [Thu, 27 May 2004 07:13:28 +0000 (07:13 -0000)]
2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
* 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
Marek Safar [Thu, 27 May 2004 06:55:36 +0000 (06:55 -0000)]
I forgot commit changelog
svn path=/trunk/mcs/; revision=28228
Umadevi S [Thu, 27 May 2004 06:30:14 +0000 (06:30 -0000)]
2004-05-27 Umadevi S <sumadevi@novell.com>
* Corrected small typos in DataTableCollectionTest & DataRelationCollectionTest
svn path=/trunk/mcs/; revision=28227
Ravindra [Thu, 27 May 2004 06:28:06 +0000 (06:28 -0000)]
Ignored the tests that are failing because of bug #58435.
svn path=/trunk/mcs/; revision=28226
Umadevi S [Thu, 27 May 2004 06:27:11 +0000 (06:27 -0000)]
2004-05-27 Umadevi S <sumadevi@novell.com>
* DataRelationCollection.cs - fixed nunit test errors
svn path=/trunk/mcs/; revision=28225
Umadevi S [Thu, 27 May 2004 05:31:53 +0000 (05:31 -0000)]
2004-05-27 Umadevi S <sumadevi@novell.com>
* DataTableCollection.cs - fixed nunit test errors
svn path=/trunk/mcs/; revision=28223
Gonzalo Paniagua Javier [Thu, 27 May 2004 04:37:28 +0000 (04:37 -0000)]
2004-05-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* 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
Gert Driesen [Thu, 27 May 2004 04:25:07 +0000 (04:25 -0000)]
* monowiz.win32.nsi: do not include mono subdirectory in
MonoConfigDir registry key, to match batch files
svn path=/trunk/mono/; revision=28221
Ravindra [Thu, 27 May 2004 04:00:24 +0000 (04:00 -0000)]
Changed test for Color.Green.G to make it pass on MS.
svn path=/trunk/mcs/; revision=28220
Ravindra [Thu, 27 May 2004 04:00:07 +0000 (04:00 -0000)]
Conforming Color.Green to MS.
svn path=/trunk/mcs/; revision=28219
Gonzalo Paniagua Javier [Thu, 27 May 2004 03:40:44 +0000 (03:40 -0000)]
2004-05-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* 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
Miguel de Icaza [Thu, 27 May 2004 03:17:28 +0000 (03:17 -0000)]
2004-05-27 Miguel de Icaza <miguel@ximian.com>
* loader.c: Only init Wine on non-Windows platforms.
svn path=/trunk/mono/; revision=28217
Gonzalo Paniagua Javier [Thu, 27 May 2004 02:36:25 +0000 (02:36 -0000)]
2004-05-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* RegexBugs.cs: added tests from bug #59150.
svn path=/trunk/mcs/; revision=28216
Atsushi Eno [Thu, 27 May 2004 02:29:42 +0000 (02:29 -0000)]
2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
* DateTime.cs : quick revert 'Z' support for certificate verifications.
svn path=/trunk/mcs/; revision=28215
Sebastien Pouliot [Thu, 27 May 2004 01:05:57 +0000 (01:05 -0000)]
2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
* 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
Sebastien Pouliot [Thu, 27 May 2004 00:46:14 +0000 (00:46 -0000)]
2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
* ToBase64TransformTest.cs: Added new unit tests for negatives and
overflows.
svn path=/trunk/mcs/; revision=28212
Sebastien Pouliot [Thu, 27 May 2004 00:28:58 +0000 (00:28 -0000)]
2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
* CryptoStreamTest.cs: Added new unit tests for overflows.
svn path=/trunk/mcs/; revision=28211
Sebastien Pouliot [Thu, 27 May 2004 00:09:42 +0000 (00:09 -0000)]
2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
* FromBase64Transform.cs: Added new unit tests for undocumented
exceptions (null, overflows...).
svn path=/trunk/mcs/; revision=28210
Gonzalo Paniagua Javier [Wed, 26 May 2004 23:01:57 +0000 (23:01 -0000)]
2004-05-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* mono-config.c: set the correct path for config. directory on windows.
svn path=/trunk/mono/; revision=28209
Gonzalo Paniagua Javier [Wed, 26 May 2004 22:48:17 +0000 (22:48 -0000)]
2004-05-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* gacutil.cs: when -il, don't stop if one assembly fails to install.
svn path=/trunk/mcs/; revision=28208
Neale Ferguson [Wed, 26 May 2004 22:30:14 +0000 (22:30 -0000)]
Further exception handling refinement for JIT
svn path=/trunk/mono/; revision=28207
Duncan Mak [Wed, 26 May 2004 20:59:28 +0000 (20:59 -0000)]
Fix typo.
svn path=/trunk/mcs/; revision=28206
Zoltan Varga [Wed, 26 May 2004 20:38:35 +0000 (20:38 -0000)]
2004-05-26 Zoltan Varga <vargaz@freemail.hu>
* cfold.c: Some glib versions do not have G_MININT32.
svn path=/trunk/mono/; revision=28205
Sebastien Pouliot [Wed, 26 May 2004 20:18:35 +0000 (20:18 -0000)]
2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
* Queue.cs: Fixed possible integer overflow in CopyTo methods.
* Stack.cs: Fixed possible integer overflow in CopyTo methods.
svn path=/trunk/mcs/; revision=28204
Miguel de Icaza [Wed, 26 May 2004 20:14:09 +0000 (20:14 -0000)]
2004-05-26 Miguel de Icaza <miguel@ximian.com>
* Mono.Cairo/Cairo.cs: Do not use `extern string' here, as the
return value is owned by Cairo.
svn path=/trunk/mcs/; revision=28203
Miguel de Icaza [Wed, 26 May 2004 20:10:20 +0000 (20:10 -0000)]
Remove old stale directory
svn path=/trunk/mcs/; revision=28202
Sebastien Pouliot [Wed, 26 May 2004 20:08:27 +0000 (20:08 -0000)]
2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
* ArrayList.cs: Fixed possible integer overflows.
svn path=/trunk/mcs/; revision=28201
Miguel de Icaza [Wed, 26 May 2004 20:07:57 +0000 (20:07 -0000)]
2004-05-26 Miguel de Icaza <miguel@ximian.com>
* 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
Sebastien Pouliot [Wed, 26 May 2004 20:06:56 +0000 (20:06 -0000)]
2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
* Array.cs: Removed duplicate condition if LastIndexOf.
svn path=/trunk/mcs/; revision=28199
Zoltan Varga [Wed, 26 May 2004 20:04:09 +0000 (20:04 -0000)]
2004-05-26 Zoltan Varga <vargaz@freemail.hu>
* marshal.c (mono_marshal_get_native_wrapper): Free strings returned
from pinvoke functions.
svn path=/trunk/mono/; revision=28198
Sebastien Pouliot [Wed, 26 May 2004 20:03:34 +0000 (20:03 -0000)]
2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
* ArrayListTest.cs: Added tests for integer overflows.
svn path=/trunk/mcs/; revision=28197
Miguel de Icaza [Wed, 26 May 2004 20:03:31 +0000 (20:03 -0000)]
*** empty log message ***
svn path=/trunk/mono/; revision=28196
Massimiliano Mantione [Wed, 26 May 2004 19:49:55 +0000 (19:49 -0000)]
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
Miguel de Icaza [Wed, 26 May 2004 19:45:59 +0000 (19:45 -0000)]
Link libmono statically, its easier to debug, per irc discussion today
svn path=/trunk/mono/; revision=28193
Gonzalo Paniagua Javier [Wed, 26 May 2004 19:45:42 +0000 (19:45 -0000)]
long time...
svn path=/trunk/mono/; revision=28192
Zoltan Varga [Wed, 26 May 2004 19:35:12 +0000 (19:35 -0000)]
2004-05-26 Zoltan Varga <vargaz@freemail.hu>
* cfold.c (FOLD_BINOPZ): Avoid division by zero.
svn path=/trunk/mono/; revision=28190
Zoltan Varga [Wed, 26 May 2004 19:32:28 +0000 (19:32 -0000)]
2004-05-26 Zoltan Varga <vargaz@freemail.hu>
* exceptions.cs: Add test for constant folding && division by zero.
svn path=/trunk/mono/; revision=28189
Gonzalo Paniagua Javier [Wed, 26 May 2004 19:25:28 +0000 (19:25 -0000)]
2004-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* data/DefaultWsdlHelpGenerator.aspx: fixed querystring attribute
values. Now they are URlEncoded.
* data/browscap.ini.gz: updated.
svn path=/trunk/mono/; revision=28188
Gonzalo Paniagua Javier [Wed, 26 May 2004 19:25:21 +0000 (19:25 -0000)]
2004-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* BrowserCapsUpdater.cs: update URL for browscap.ini.
svn path=/trunk/mcs/; revision=28187
Gonzalo Paniagua Javier [Wed, 26 May 2004 19:25:17 +0000 (19:25 -0000)]
2004-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* 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
Sebastien Pouliot [Wed, 26 May 2004 19:21:45 +0000 (19:21 -0000)]
2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
* ArrayTest.cs: Added integer overflow tests for LastIndexOf.
svn path=/trunk/mcs/; revision=28185
Zoltan Varga [Wed, 26 May 2004 19:01:38 +0000 (19:01 -0000)]
2004-05-26 Zoltan Varga <vargaz@freemail.hu>
* 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
Atsushi Eno [Wed, 26 May 2004 18:45:56 +0000 (18:45 -0000)]
2004-05-26 Atsushi Enomoto <atsushi@ximian.com>
* DateTimeFormatInfo.cs :
hack implementation for GetAllDateTimePatterns().
svn path=/trunk/mcs/; revision=28182
Atsushi Eno [Wed, 26 May 2004 18:36:54 +0000 (18:36 -0000)]
2003-05-26 Atsushi Enomoto <atsushi@ximian.com>
* FileInfoTest.cs : more incorrect \ fix.
svn path=/trunk/mcs/; revision=28181
Atsushi Eno [Wed, 26 May 2004 18:29:07 +0000 (18:29 -0000)]
2004-05-26 Atsushi Enomoto <atsushi@ximian.com>
* icall.c : Fixed ves_icall_System_DateTime_GetNow() to return utc
on win32.
svn path=/trunk/mono/; revision=28180
Lluis Sanchez [Wed, 26 May 2004 18:25:52 +0000 (18:25 -0000)]
* HttpServerChannel.cs: Default port is 0.
svn path=/trunk/mcs/; revision=28179
Lluis Sanchez [Wed, 26 May 2004 18:24:43 +0000 (18:24 -0000)]
* 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
Atsushi Eno [Wed, 26 May 2004 18:18:39 +0000 (18:18 -0000)]
2004-05-26 Atsushi Enomoto <atsushi@ximian.com>
* 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
Sebastien Pouliot [Wed, 26 May 2004 17:40:51 +0000 (17:40 -0000)]
2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
* 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
Sebastien Pouliot [Wed, 26 May 2004 17:38:02 +0000 (17:38 -0000)]
2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
* FileStreamTest.cs: Added new tests for integer overflow checks.
* StringReaderTest.cs: Added new tests for integer overflow checks.
svn path=/trunk/mcs/; revision=28175
Gert Driesen [Wed, 26 May 2004 17:28:57 +0000 (17:28 -0000)]
* MonoCustomAttrs.cs: Fixed issue with AllowMultiple, as MS
seems to allow multiple attributes with AllowMultiple at
runtime.
svn path=/trunk/mcs/; revision=28174
Sebastien Pouliot [Wed, 26 May 2004 17:04:43 +0000 (17:04 -0000)]
2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
* BufferedStream.cs: Added globalization and fixed exceptions and
possible integer overflow.
* TextWriter.cs: Fixed possible integer overflow.
svn path=/trunk/mcs/; revision=28172
Sebastien Pouliot [Wed, 26 May 2004 16:42:38 +0000 (16:42 -0000)]
2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
* BufferedStreamTest.cs: Added new unit tests for exceptions.
svn path=/trunk/mcs/; revision=28171
Sebastien Pouliot [Wed, 26 May 2004 16:12:59 +0000 (16:12 -0000)]
2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
* rand.c: Fixed CrypptReleaseContext (missing parameter).
svn path=/trunk/mono/; revision=28169
Gonzalo Paniagua Javier [Wed, 26 May 2004 15:39:32 +0000 (15:39 -0000)]
2004-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* library.make: reference nunti.core.dll and nunit.util.dll when
building tests.
svn path=/trunk/mcs/; revision=28167
Sebastien Pouliot [Wed, 26 May 2004 15:04:22 +0000 (15:04 -0000)]
*** empty log message ***
svn path=/trunk/mcs/; revision=28165
Sebastien Pouliot [Wed, 26 May 2004 14:59:44 +0000 (14:59 -0000)]
2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
* rand.c: Used wrong define in call :(
svn path=/trunk/mono/; revision=28164
Sebastien Pouliot [Wed, 26 May 2004 14:33:21 +0000 (14:33 -0000)]
2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
* 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
Sebastien Pouliot [Wed, 26 May 2004 14:05:46 +0000 (14:05 -0000)]
2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
* 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
Sebastien Pouliot [Wed, 26 May 2004 13:56:12 +0000 (13:56 -0000)]
2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
* ConvertTest.cs: Added case where 0X00 is valid when parsed in base16
svn path=/trunk/mcs/; revision=28159
Zoltan Varga [Wed, 26 May 2004 13:41:24 +0000 (13:41 -0000)]
2004-05-26 Zoltan Varga <vargaz@freemail.hu>
* pinvoke3.cs libtest.c: Add tests for fnptr->delegate marshalling.
svn path=/trunk/mono/; revision=28158
Lluis Sanchez [Wed, 26 May 2004 13:41:23 +0000 (13:41 -0000)]
* 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
Zoltan Varga [Wed, 26 May 2004 13:37:30 +0000 (13:37 -0000)]
2004-05-26 Zoltan Varga <vargaz@freemail.hu>
* marshal.c (mono_ftnptr_to_delegate): Implement this.
svn path=/trunk/mono/; revision=28156
Sebastien Pouliot [Wed, 26 May 2004 13:37:21 +0000 (13:37 -0000)]
2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
* StringBuilder.cs: Fixed potential integer overflows in several
methods.
svn path=/trunk/mcs/; revision=28155
Sebastien Pouliot [Wed, 26 May 2004 13:24:16 +0000 (13:24 -0000)]
2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
* StringBuilderTest.cs: Added unit tests to be sure integer overflows
are catched.
svn path=/trunk/mcs/; revision=28154
Zoltan Varga [Wed, 26 May 2004 13:23:42 +0000 (13:23 -0000)]
2004-05-26 Zoltan Varga <vargaz@freemail.hu>
* Makefile.am (DISABLED_TESTS): appdomain-unload.exe seems to run too.
svn path=/trunk/mono/; revision=28153
Zoltan Varga [Wed, 26 May 2004 13:22:42 +0000 (13:22 -0000)]
2004-05-26 Zoltan Varga <vargaz@freemail.hu>
* 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
Marek Safar [Wed, 26 May 2004 12:44:15 +0000 (12:44 -0000)]
fix the build
svn path=/trunk/mcs/; revision=28151