Martin Baulig [Tue, 8 Jun 2004 02:28:45 +0000 (02:28 -0000)]
2004-06-08 Martin Baulig <martin@ximian.com>
* dump.c (dump_table_memberref): Added support for MethodDef
parents.
svn path=/trunk/mono/; revision=29002
Martin Baulig [Tue, 8 Jun 2004 02:26:41 +0000 (02:26 -0000)]
Incremented version number.
svn path=/trunk/mcs/; revision=29001
Martin Baulig [Tue, 8 Jun 2004 02:26:17 +0000 (02:26 -0000)]
2004-06-08 Martin Baulig <martin@ximian.com>
* 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
Martin Baulig [Tue, 8 Jun 2004 02:23:00 +0000 (02:23 -0000)]
2004-06-08 Martin Baulig <martin@ximian.com>
* 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
Duncan Mak [Tue, 8 Jun 2004 00:30:41 +0000 (00:30 -0000)]
Fix the brokeness that I introduced earlier
svn path=/trunk/mcs/; revision=28998
Duncan Mak [Tue, 8 Jun 2004 00:04:09 +0000 (00:04 -0000)]
* 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
Duncan Mak [Mon, 7 Jun 2004 23:09:12 +0000 (23:09 -0000)]
Fix embarrassing typos.
svn path=/trunk/mcs/; revision=28996
Sebastien Pouliot [Mon, 7 Jun 2004 23:07:39 +0000 (23:07 -0000)]
2004-06-07 Sebastien Pouliot <sebastien@ximian.com>
* 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
Sebastien Pouliot [Mon, 7 Jun 2004 23:05:01 +0000 (23:05 -0000)]
2004-06-07 Sebastien Pouliot <sebastien@ximian.com>
* DateTimeTest.cs: Added test cases for ToType (conversion) and
contructors (milliseconds).
svn path=/trunk/mcs/; revision=28994
Duncan Mak [Mon, 7 Jun 2004 22:24:05 +0000 (22:24 -0000)]
* 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
Lluis Sanchez [Mon, 7 Jun 2004 21:56:33 +0000 (21:56 -0000)]
* locales.c: Fixed memory leak in Char.ToLower/ToUpper.
svn path=/trunk/mono/; revision=28992
Martin Baulig [Mon, 7 Jun 2004 21:41:54 +0000 (21:41 -0000)]
2004-06-08 Martin Baulig <martin@ximian.com>
* rootcontext.cs (ResolveCore): Added "System.RuntimeArgumentHandle".
svn path=/trunk/mcs/; revision=28990
Jackson Harper [Mon, 7 Jun 2004 20:47:56 +0000 (20:47 -0000)]
* 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
Miguel de Icaza [Mon, 7 Jun 2004 20:41:56 +0000 (20:41 -0000)]
Flush
svn path=/trunk/mono/; revision=28988
Lluis Sanchez [Mon, 7 Jun 2004 20:05:15 +0000 (20:05 -0000)]
* LeaseManager.cs: In StopManager, nullify the timer variable before
disposing, since Dispose may abort the current thread.
svn path=/trunk/mcs/; revision=28986
Atsushi Eno [Mon, 7 Jun 2004 19:44:36 +0000 (19:44 -0000)]
2004-06-08 Atsushi Enomoto <atsushi@ximian.com>
* culture-info-tables.h : Reflecting the latest locale-builder that
fixed empty array representation ({} to {0}).
svn path=/trunk/mono/; revision=28985
Atsushi Eno [Mon, 7 Jun 2004 19:42:23 +0000 (19:42 -0000)]
2004-06-08 Atsushi Enomoto <atsushi@ximian.com>
* DateTimeFormatEntry.cs : Use "{0}" for empty array.
svn path=/trunk/mono/; revision=28984
Martin Baulig [Mon, 7 Jun 2004 19:09:51 +0000 (19:09 -0000)]
2004-06-07 Martin Baulig <martin@ximian.com>
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
Sebastien Pouliot [Mon, 7 Jun 2004 17:56:02 +0000 (17:56 -0000)]
2004-06-07 Sebastien Pouliot <sebastien@ximian.com>
* HttpContext.cs: User property now get/set Thread.CurrentPrincipal.
Fix (at least partially) #59683.
svn path=/trunk/mcs/; revision=28981
Atsushi Eno [Mon, 7 Jun 2004 17:54:23 +0000 (17:54 -0000)]
2004-06-07 Atsushi Enomoto <atsushi@ximian.com>
* 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
Atsushi Eno [Mon, 7 Jun 2004 17:53:40 +0000 (17:53 -0000)]
2004-06-07 Atsushi Enomoto <atsushi@ximian.com>
* UTF8EncodingTest.cs : Added TestThrowOnInvalid().
svn path=/trunk/mcs/; revision=28979
Jackson Harper [Mon, 7 Jun 2004 17:51:30 +0000 (17:51 -0000)]
* 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
Sebastien Pouliot [Mon, 7 Jun 2004 17:40:24 +0000 (17:40 -0000)]
2004-06-07 Sebastien Pouliot <sebastien@ximian.com>
* DateTime.cs: Fixed FromFileTime for negative values.
svn path=/trunk/mcs/; revision=28977
Sebastien Pouliot [Mon, 7 Jun 2004 17:38:45 +0000 (17:38 -0000)]
2004-06-07 Sebastien Pouliot <sebastien@ximian.com>
* DateTimeTest.cs: Added test cases for FromFileTime.
svn path=/trunk/mcs/; revision=28976
Atsushi Eno [Mon, 7 Jun 2004 17:35:49 +0000 (17:35 -0000)]
2004-06-07 Atsushi Enomoto <atsushi@ximian.com>
* UTF8Encoding.cs : Added Overlong check to InternalGetCharCount().
svn path=/trunk/mcs/; revision=28975
Sebastien Pouliot [Mon, 7 Jun 2004 16:42:58 +0000 (16:42 -0000)]
2004-06-07 Sebastien Pouliot <sebastien@ximian.com>
* 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
Sebastien Pouliot [Mon, 7 Jun 2004 16:38:29 +0000 (16:38 -0000)]
2004-06-07 Sebastien Pouliot <sebastien@ximian.com>
* DateTimeTest.cs: Added new test cases for From|ToOADate (OLE
Automation date format).
svn path=/trunk/mcs/; revision=28972
Zoltan Varga [Mon, 7 Jun 2004 16:22:02 +0000 (16:22 -0000)]
2004-06-08 Zoltan Varga <vargaz@freemail.hu>
* 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
Atsushi Eno [Mon, 7 Jun 2004 15:25:36 +0000 (15:25 -0000)]
2004-06-08 Atsushi Enomoto <atsushi@ximian.com>
* 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
Atsushi Eno [Mon, 7 Jun 2004 15:21:58 +0000 (15:21 -0000)]
2004-06-08 Atsushi Enomoto <atsushi@ximian.com>
* 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
Atsushi Eno [Mon, 7 Jun 2004 15:19:26 +0000 (15:19 -0000)]
2004-06-08 Atsushi Enomoto <atsushi@ximian.com>
* 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
Atsushi Eno [Mon, 7 Jun 2004 14:25:30 +0000 (14:25 -0000)]
2004-06-07 Atsushi Enomoto <atsushi@ximian.com>
* UTF8Encoding.cs : Throw overlongs error only when throwOnInvalid is
true. Otherwise just ignore them.
svn path=/trunk/mcs/; revision=28966
Gonzalo Paniagua Javier [Mon, 7 Jun 2004 14:10:06 +0000 (14:10 -0000)]
2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* 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
Gonzalo Paniagua Javier [Mon, 7 Jun 2004 13:52:46 +0000 (13:52 -0000)]
2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* XmlInputStream.cs: Initialize reads a larger buffer now when trying
to guess the encoding.
svn path=/trunk/mcs/; revision=28964
Raja R Harinath [Mon, 7 Jun 2004 12:35:11 +0000 (12:35 -0000)]
testcase from 59477
svn path=/trunk/mcs/; revision=28962
Raja R Harinath [Mon, 7 Jun 2004 12:34:15 +0000 (12:34 -0000)]
* cs0038-2.cs: New test, from bug #59477.
* mcs-expect-wrong-error: Add cs0038-1.
svn path=/trunk/mcs/; revision=28961
Alon Gazit [Mon, 7 Jun 2004 12:11:06 +0000 (12:11 -0000)]
this implementation is using a lazy loading mechanism for the server variables.
svn path=/trunk/mcs/; revision=28959
Alon Gazit [Mon, 7 Jun 2004 12:10:01 +0000 (12:10 -0000)]
fixed ParseServerVariables().
using the new implementation of ServerVariablesCollection.
svn path=/trunk/mcs/; revision=28958
Alon Gazit [Mon, 7 Jun 2004 11:55:02 +0000 (11:55 -0000)]
added ServerVariablesCollection.
svn path=/trunk/mcs/; revision=28957
Alon Gazit [Mon, 7 Jun 2004 11:40:32 +0000 (11:40 -0000)]
using cache to get performance improvement.
svn path=/trunk/mcs/; revision=28956
Alon Gazit [Mon, 7 Jun 2004 11:24:04 +0000 (11:24 -0000)]
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
Anirban Bhattacharjee [Mon, 7 Jun 2004 11:00:34 +0000 (11:00 -0000)]
few event related test cases
svn path=/trunk/mcs/; revision=28954
Anirban Bhattacharjee [Mon, 7 Jun 2004 10:45:27 +0000 (10:45 -0000)]
* 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
Jambunathan K [Mon, 7 Jun 2004 08:44:52 +0000 (08:44 -0000)]
Created new resource bundlr for VB errors. Implemented almost nearly
fully the Microsoft.VisualBasic.Information class.
svn path=/trunk/mcs/; revision=28950
Zoltan Varga [Mon, 7 Jun 2004 08:10:18 +0000 (08:10 -0000)]
2004-06-08 Zoltan Varga <vargaz@freemail.hu>
* 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
Atsushi Eno [Mon, 7 Jun 2004 07:57:42 +0000 (07:57 -0000)]
2004-06-07 Atsushi Enomoto <atsushi@ximian.com>
* RncParser.jay : removed unused code. Fixed LookupNamespace() to
pass atomized name always.
svn path=/trunk/mcs/; revision=28948
Gonzalo Paniagua Javier [Mon, 7 Jun 2004 04:54:11 +0000 (04:54 -0000)]
2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TraceData.cs: fixes nullref in an application that relies on
r ["Message"] not being null. Closes bug #59679.
svn path=/trunk/mcs/; revision=28946
Gonzalo Paniagua Javier [Mon, 7 Jun 2004 04:44:26 +0000 (04:44 -0000)]
2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* xmltest.cs: directory name of extracted test cases is lower case.
svn path=/trunk/mcs/; revision=28945
Miguel de Icaza [Mon, 7 Jun 2004 04:10:19 +0000 (04:10 -0000)]
2004-06-07 Miguel de Icaza <miguel@ximian.com>
* 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
Gonzalo Paniagua Javier [Mon, 7 Jun 2004 04:08:16 +0000 (04:08 -0000)]
2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs: removed obsolete MonoTODO from RegisterOnSubmitStatement.
svn path=/trunk/mcs/; revision=28943
Gonzalo Paniagua Javier [Mon, 7 Jun 2004 03:46:57 +0000 (03:46 -0000)]
2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpCachePolicy.cs: implemented SetAllowResponseInBrowserHistory.
svn path=/trunk/mcs/; revision=28942
Gonzalo Paniagua Javier [Mon, 7 Jun 2004 01:21:33 +0000 (01:21 -0000)]
2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRuntime.cs: implemented a 5 simple properties that were TODOs.
svn path=/trunk/mcs/; revision=28941
Gonzalo Paniagua Javier [Mon, 7 Jun 2004 00:36:36 +0000 (00:36 -0000)]
2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Calendar.cs: implemented OnPreRender and HasWeekSelectors.
svn path=/trunk/mcs/; revision=28940
Sebastien Pouliot [Mon, 7 Jun 2004 00:03:37 +0000 (00:03 -0000)]
2004-06-06 Sebastien Pouliot <sebastien@ximian.com>
* 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
Sebastien Pouliot [Sun, 6 Jun 2004 23:55:05 +0000 (23:55 -0000)]
2004-06-06 Sebastien Pouliot <sebastien@ximian.com>
* 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
Gonzalo Paniagua Javier [Sun, 6 Jun 2004 23:18:11 +0000 (23:18 -0000)]
2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* 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
Gonzalo Paniagua Javier [Sun, 6 Jun 2004 23:05:48 +0000 (23:05 -0000)]
2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AcceptEncodingModule.cs: don't cause nullref if there's no
<mono.aspnet> section and the module is loaded.
svn path=/trunk/mcs/; revision=28935
Gonzalo Paniagua Javier [Sun, 6 Jun 2004 20:11:18 +0000 (20:11 -0000)]
2004-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* 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
Atsushi Eno [Sun, 6 Jun 2004 20:08:18 +0000 (20:08 -0000)]
2004-06-06 Atsushi Enomoto <atsushi@ximian.com>
* 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
Atsushi Eno [Sun, 6 Jun 2004 19:49:38 +0000 (19:49 -0000)]
2004-06-06 Atsushi Enomoto <atsushi@ximian.com>
* XmlSchemaDataImporter.cs : We should fill Namespace for DataTable.
svn path=/trunk/mcs/; revision=28923
Sebastien Pouliot [Sun, 6 Jun 2004 18:40:32 +0000 (18:40 -0000)]
2004-06-06 Sebastien Pouliot <sebastien@ximian.com>
* String.cs: Fixed Join in case separator parameter is null.
svn path=/trunk/mcs/; revision=28919
Sebastien Pouliot [Sun, 6 Jun 2004 18:33:45 +0000 (18:33 -0000)]
2004-06-06 Sebastien Pouliot <sebastien@ximian.com>
* StringTest.cs: Added more cases for Join (null separator and null
values).
svn path=/trunk/mcs/; revision=28918
Gonzalo Paniagua Javier [Sun, 6 Jun 2004 18:03:54 +0000 (18:03 -0000)]
removed ^M added in the last patch
svn path=/trunk/mcs/; revision=28917
Gert Driesen [Sun, 6 Jun 2004 17:52:35 +0000 (17:52 -0000)]
* 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
Gonzalo Paniagua Javier [Sun, 6 Jun 2004 17:41:06 +0000 (17:41 -0000)]
2004-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* 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
Sebastien Pouliot [Sun, 6 Jun 2004 15:13:39 +0000 (15:13 -0000)]
2004-06-06 Sebastien Pouliot <sebastien@ximian.com>
* 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
Jambunathan K [Sun, 6 Jun 2004 15:08:34 +0000 (15:08 -0000)]
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
Jambunathan K [Sun, 6 Jun 2004 15:01:33 +0000 (15:01 -0000)]
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
Sebastien Pouliot [Sun, 6 Jun 2004 14:59:03 +0000 (14:59 -0000)]
2004-06-06 Sebastien Pouliot <sebastien@ximian.com>
* 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
Atsushi Eno [Sun, 6 Jun 2004 14:50:43 +0000 (14:50 -0000)]
2004-06-06 Atsushi Enomoto <atsushi@ximian.com>
* XmlTextWriterTests.cs : Added indentation testcase (it might now
work due to CompareInfo.IndexOf() bug).
svn path=/trunk/mcs/; revision=28910
Atsushi Eno [Sun, 6 Jun 2004 14:48:43 +0000 (14:48 -0000)]
2004-06-06 Atsushi Enomoto <atsushi@ximian.com>
* XmlSchema.cs : Make sure to close url-based XmlTextReader.
svn path=/trunk/mcs/; revision=28909
Atsushi Eno [Sun, 6 Jun 2004 14:47:11 +0000 (14:47 -0000)]
2004-06-06 Atsushi Enomoto <atsushi@ximian.com>
* 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
Sebastien Pouliot [Sun, 6 Jun 2004 14:10:29 +0000 (14:10 -0000)]
2004-06-06 Sebastien Pouliot <sebastien@ximian.com>
* Decimal.cs: Fixed ToString(String.Empty) to default ("G").
svn path=/trunk/mcs/; revision=28907
Sebastien Pouliot [Sun, 6 Jun 2004 14:09:04 +0000 (14:09 -0000)]
2004-06-06 Sebastien Pouliot <sebastien@ximian.com>
* 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
Atsushi Eno [Sun, 6 Jun 2004 10:57:08 +0000 (10:57 -0000)]
2004-06-06 Atsushi Enomoto <atsushi@ximian.com>
* XmlTextWriter.cs : Improved indenting. For children of a mixed
content element, it won't be indented.
svn path=/trunk/mcs/; revision=28905
Atsushi Eno [Sun, 6 Jun 2004 07:41:18 +0000 (07:41 -0000)]
2004-06-06 Atsushi Enomoto <atsushi@ximian.com>
* XmlDsigXsltTransformTest.cs : Fixed EmbeddedStylesheet() that missed
xmlns:xsl declaration.
svn path=/trunk/mcs/; revision=28904
Atsushi Eno [Sun, 6 Jun 2004 07:37:24 +0000 (07:37 -0000)]
2004-06-06 Atsushi Enomoto <atsushi@ximian.com>
* MsxslScriptTests.cs : Namespace are required (found on fixing
XmlTextReader's namespace bugfix).
svn path=/trunk/mcs/; revision=28903
Atsushi Eno [Sun, 6 Jun 2004 07:36:19 +0000 (07:36 -0000)]
2004-06-06 Atsushi Enomoto <atsushi@ximian.com>
* XmlTextReaderTests.cs : added some namespace check tests.
svn path=/trunk/mcs/; revision=28902
Atsushi Eno [Sun, 6 Jun 2004 07:34:53 +0000 (07:34 -0000)]
2004-06-06 Atsushi Enomoto <atsushi@ximian.com>
* XPathDocument.s : The previous patch is still incomplete to close.
svn path=/trunk/mcs/; revision=28901
Atsushi Eno [Sun, 6 Jun 2004 07:32:59 +0000 (07:32 -0000)]
2004-06-06 Atsushi Enomoto <atsushi@ximian.com>
* 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
Atsushi Eno [Sun, 6 Jun 2004 07:29:20 +0000 (07:29 -0000)]
2004-06-06 Atsushi Enomoto <atsushi@ximian.com>
* XslTransformProcessor.cs : On document() function, close the
XmlTextReader opened from uri string.
svn path=/trunk/mcs/; revision=28899
Atsushi Eno [Sun, 6 Jun 2004 07:28:04 +0000 (07:28 -0000)]
2004-06-06 Atsushi Enomoto <atsushi@ximian.com>
* DTMXPathDocumentBuilder.cs : Close XmlTextReader strictly. It might
raise an error after opening stream and before try-catch.
svn path=/trunk/mcs/; revision=28898
Atsushi Eno [Sun, 6 Jun 2004 07:26:41 +0000 (07:26 -0000)]
2004-06-06 Atsushi Enomoto <atsushi@ximian.com>
* 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
Sebastien Pouliot [Sun, 6 Jun 2004 01:17:41 +0000 (01:17 -0000)]
2004-06-05 Sebastien Pouliot <sebastien@ximian.com>
* 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
Sebastien Pouliot [Sun, 6 Jun 2004 01:07:18 +0000 (01:07 -0000)]
2004-06-05 Sebastien Pouliot <sebastien@ximian.com>
* System_test.dll.sources: Added X509CertificateCollectionTest
to the unit tests.
svn path=/trunk/mcs/; revision=28895
Sebastien Pouliot [Sun, 6 Jun 2004 01:05:41 +0000 (01:05 -0000)]
2004-06-05 Sebastien Pouliot <sebastien@ximian.com>
* X509CertificateCollectionTest.cs: New. Unit tests for
X509CertificateCollection.
svn path=/trunk/mcs/; revision=28894
Miguel de Icaza [Sun, 6 Jun 2004 00:11:26 +0000 (00:11 -0000)]
2004-06-05 Miguel de Icaza <miguel@ximian.com>
* gacutil.cs: GetAssemblyInfo might return null now, check for
that.
Add try/catch to GetAssemblyInfo.
svn path=/trunk/mcs/; revision=28892
Sebastien Pouliot [Sat, 5 Jun 2004 23:50:40 +0000 (23:50 -0000)]
2004-06-05 Sebastien Pouliot <sebastien@ximian.com>
* 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
Sebastien Pouliot [Sat, 5 Jun 2004 23:47:06 +0000 (23:47 -0000)]
2004-06-05 Sebastien Pouliot <sebastien@ximian.com>
* 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
Duncan Mak [Sat, 5 Jun 2004 22:37:45 +0000 (22:37 -0000)]
Add section for Fedora Core 2.
svn path=/trunk/mono/; revision=28889
Miguel de Icaza [Sat, 5 Jun 2004 20:49:56 +0000 (20:49 -0000)]
fix
svn path=/trunk/mono/; revision=28888
Sebastien Pouliot [Sat, 5 Jun 2004 20:14:54 +0000 (20:14 -0000)]
2004-06-05 Sebastien Pouliot <sebastien@ximian.com>
* 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
Sebastien Pouliot [Sat, 5 Jun 2004 19:16:29 +0000 (19:16 -0000)]
2004-06-05 Sebastien Pouliot <sebastien@ximian.com>
* object.c: Fixed possible integer overflow when allocating large
strings.
svn path=/trunk/mono/; revision=28886
Atsushi Eno [Sat, 5 Jun 2004 18:41:35 +0000 (18:41 -0000)]
2004-06-05 Atsushi Enomoto <atsushi@ximian.com>
* culture-info-tables.h: reflecting locale-builder updates.
svn path=/trunk/mono/; revision=28885
Duncan Mak [Sat, 5 Jun 2004 18:19:01 +0000 (18:19 -0000)]
Take out redundant gtk# listing.
svn path=/trunk/mono/; revision=28884
Atsushi Eno [Sat, 5 Jun 2004 17:37:08 +0000 (17:37 -0000)]
2004-06-05 Atsushi Enomoto <atsushi@ximian.com>
* 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
Atsushi Eno [Sat, 5 Jun 2004 17:36:35 +0000 (17:36 -0000)]
2004-06-05 Atsushi Enomoto <atsushi@ximian.com>
* 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
Gonzalo Paniagua Javier [Sat, 5 Jun 2004 16:06:00 +0000 (16:06 -0000)]
2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* 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
Gonzalo Paniagua Javier [Sat, 5 Jun 2004 15:55:37 +0000 (15:55 -0000)]
2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* SocketTest.cs: added test for Select with empty lists. Changed the
'bogus' address of EndConnect test.
svn path=/trunk/mcs/; revision=28875
Gonzalo Paniagua Javier [Sat, 5 Jun 2004 15:47:26 +0000 (15:47 -0000)]
2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* 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