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
Atsushi Eno [Sat, 5 Jun 2004 15:43:40 +0000 (15:43 -0000)]
2004-06-05 Atsushi Enomoto <atsushi@ximian.com>
* culture-info-tables.h: reflecting locale-builder updates.
svn path=/trunk/mono/; revision=28872
Atsushi Eno [Sat, 5 Jun 2004 15:41:40 +0000 (15:41 -0000)]
2004-06-05 Atsushi Enomoto <atsushi@ximian.com>
* 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
Atsushi Eno [Sat, 5 Jun 2004 15:39:24 +0000 (15:39 -0000)]
2004-06-05 Atsushi Enomoto <atsushi@ximian.com>
* 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
Sebastien Pouliot [Sat, 5 Jun 2004 15:36:07 +0000 (15:36 -0000)]
2004-06-05 Sebastien Pouliot <sebastien@ximian.com>
* 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
Miguel de Icaza [Sat, 5 Jun 2004 15:23:49 +0000 (15:23 -0000)]
Update
svn path=/trunk/mono/; revision=28868
Atsushi Eno [Sat, 5 Jun 2004 15:19:23 +0000 (15:19 -0000)]
2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
* Driver.cs : Let's ignore DTD that takes most of the running time.
svn path=/trunk/mono/; revision=28867
Gonzalo Paniagua Javier [Sat, 5 Jun 2004 15:07:10 +0000 (15:07 -0000)]
2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* monoresgen.cs: fixed format exception in the po reader.
svn path=/trunk/mcs/; revision=28865
Gonzalo Paniagua Javier [Sat, 5 Jun 2004 14:08:42 +0000 (14:08 -0000)]
2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Socket.cs: throw ArgumentNullException if all the list are null OR
empty. Fixes bug #59632.
svn path=/trunk/mcs/; revision=28864
Paolo Molaro [Sat, 5 Jun 2004 13:47:16 +0000 (13:47 -0000)]
Sat Jun 5 16:32:33 CEST 2004 Paolo Molaro <lupus@ximian.com>
* 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
Atsushi Eno [Sat, 5 Jun 2004 12:47:03 +0000 (12:47 -0000)]
2004-06-05 Atsushi Enomoto <atsushi@ximian.com>
* Makefile: added target run-test-ondotnet.
svn path=/trunk/mcs/; revision=28862
Gonzalo Paniagua Javier [Sat, 5 Jun 2004 10:42:37 +0000 (10:42 -0000)]
revert
svn path=/trunk/mono/; revision=28861
Atsushi Eno [Sat, 5 Jun 2004 08:55:21 +0000 (08:55 -0000)]
2004-06-05 Atsushi Enomoto <atsushi@ximian.com>
* XPathDocument.cs : close self-opened XmlTextReader in .ctor().
svn path=/trunk/mcs/; revision=28860
Gonzalo Paniagua Javier [Sat, 5 Jun 2004 06:36:12 +0000 (06:36 -0000)]
2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* 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
Gonzalo Paniagua Javier [Sat, 5 Jun 2004 06:31:53 +0000 (06:31 -0000)]
2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* BinderTests.cs: added test for null type in the argument list.
svn path=/trunk/mcs/; revision=28858
Gonzalo Paniagua Javier [Sat, 5 Jun 2004 05:59:21 +0000 (05:59 -0000)]
2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Calendar.cs: set the title class attribute if we have it. Fixes bug
53671.
svn path=/trunk/mcs/; revision=28857
Miguel de Icaza [Sat, 5 Jun 2004 04:20:14 +0000 (04:20 -0000)]
Flush
svn path=/trunk/mono/; revision=28856
Miguel de Icaza [Sat, 5 Jun 2004 03:10:24 +0000 (03:10 -0000)]
Try this
svn path=/trunk/mono/; revision=28855
Gonzalo Paniagua Javier [Sat, 5 Jun 2004 02:57:20 +0000 (02:57 -0000)]
windows installer is only for win2k and above
svn path=/trunk/mono/; revision=28854
Gonzalo Paniagua Javier [Sat, 5 Jun 2004 02:44:38 +0000 (02:44 -0000)]
2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* icall.c: fixed nullref in ves_icall_type_from_name.
svn path=/trunk/mono/; revision=28852
Martin Baulig [Fri, 4 Jun 2004 22:12:41 +0000 (22:12 -0000)]
We always need to do this check before calling reflection.
svn path=/trunk/mcs/; revision=28850
Martin Baulig [Fri, 4 Jun 2004 19:42:02 +0000 (19:42 -0000)]
Ignore inflated methods.
svn path=/trunk/mcs/; revision=28847
Martin Baulig [Fri, 4 Jun 2004 19:37:26 +0000 (19:37 -0000)]
A type parameter can never be optional.
svn path=/trunk/mcs/; revision=28846
Sebastien Pouliot [Fri, 4 Jun 2004 17:09:16 +0000 (17:09 -0000)]
2004-06-04 Sebastien Pouliot <sebastien@ximian.com>
* 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
Sebastien Pouliot [Fri, 4 Jun 2004 16:57:59 +0000 (16:57 -0000)]
2004-06-04 Sebastien Pouliot <sebastien@ximian.com>
* MathTest.cs: Added another case when dividend is negative and
there's no remainder (must return negative 0).
svn path=/trunk/mcs/; revision=28844
Sebastien Pouliot [Fri, 4 Jun 2004 16:36:39 +0000 (16:36 -0000)]
2004-06-04 Sebastien Pouliot <sebastien@ximian.com>
* 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
Jackson Harper [Fri, 4 Jun 2004 16:17:20 +0000 (16:17 -0000)]
* ILTokenizer.cs: Handle comments first, handle whitespace in hex
blocks properly.
svn path=/trunk/mcs/; revision=28838