mono.git
20 years ago * mb-parser.jay:
Anirban Bhattacharjee [Tue, 8 Jun 2004 11:59:29 +0000 (11:59 -0000)]
    * mb-parser.jay:
        * statement.cs:
                Few exception checks for Event

svn path=/trunk/mcs/; revision=29029

20 years agoCairo GTK# Mono sample
Jordi Mas i Hernandez [Tue, 8 Jun 2004 10:25:56 +0000 (10:25 -0000)]
Cairo GTK# Mono sample

svn path=/trunk/mcs/; revision=29025

20 years agoMono.Cairo fixes
Jordi Mas i Hernandez [Tue, 8 Jun 2004 10:19:55 +0000 (10:19 -0000)]
Mono.Cairo fixes

svn path=/trunk/mcs/; revision=29024

20 years ago2004-06-08 Umadevi S <sumadevi@novell.com>
Umadevi S [Tue, 8 Jun 2004 10:17:16 +0000 (10:17 -0000)]
2004-06-08 Umadevi S <sumadevi@novell.com>
        * Corrected the contains testcase to test for invalidcastexception

svn path=/trunk/mcs/; revision=29023

20 years ago2004-06-08 Umadevi S <sumadevi@novell.com>
Umadevi S [Tue, 8 Jun 2004 10:14:38 +0000 (10:14 -0000)]
2004-06-08 Umadevi S <sumadevi@novell.com>
        * DataColumnMappingCollection.cs - fixed nunit testcase errors.
        - remove, removeat, contains methods.

svn path=/trunk/mcs/; revision=29022

20 years ago2004-06-09 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 8 Jun 2004 08:40:52 +0000 (08:40 -0000)]
2004-06-09  Zoltan Varga  <vargaz@freemail.hu>

* icall.c (ves_icall_Type_GetEvents_internal): Handle events without
any methods. Fixes #59629.

svn path=/trunk/mono/; revision=29021

20 years agoChanging the implementation of HttpRequest.ServerVariables.
Alon Gazit [Tue, 8 Jun 2004 07:24:00 +0000 (07:24 -0000)]
Changing the implementation of HttpRequest.ServerVariables.

svn path=/trunk/mcs/; revision=29020

20 years agoAdding ServerVariablesCollection.
Alon Gazit [Tue, 8 Jun 2004 07:18:34 +0000 (07:18 -0000)]
Adding ServerVariablesCollection.

svn path=/trunk/mcs/; revision=29019

20 years ago2004-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 8 Jun 2004 06:20:11 +0000 (06:20 -0000)]
2004-06-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* 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

20 years ago2004-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 8 Jun 2004 05:50:09 +0000 (05:50 -0000)]
2004-06-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* BaseCompiler.cs:
* WebServiceCompiler.cs: adapted to the 'new' CachingCompiler.
* CachingCompiler.cs: use HttpRuntime.Cache.

svn path=/trunk/mcs/; revision=29016

20 years agoa complete set positive tests for invoking event
Anirban Bhattacharjee [Tue, 8 Jun 2004 05:22:46 +0000 (05:22 -0000)]
a complete set positive tests for invoking event

svn path=/trunk/mcs/; revision=29015

20 years ago2004-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 8 Jun 2004 05:17:45 +0000 (05:17 -0000)]
2004-06-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* 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

20 years ago2004-06-08 Umadevi S <sumadevi@novell.com>
Umadevi S [Tue, 8 Jun 2004 04:45:30 +0000 (04:45 -0000)]
2004-06-08 Umadevi S <sumadevi@novell.com>
        * SqlGuid.cs - fixed bug 59420. Implemented CompareTo according to MSDN documenation

svn path=/trunk/mcs/; revision=29013

20 years agoSort
Miguel de Icaza [Tue, 8 Jun 2004 04:06:19 +0000 (04:06 -0000)]
Sort

svn path=/trunk/mono/; revision=29012

20 years ago2004-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 8 Jun 2004 03:56:25 +0000 (03:56 -0000)]
2004-06-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* 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

20 years agoDisable 269 until #59750 is fixed
Miguel de Icaza [Tue, 8 Jun 2004 03:46:35 +0000 (03:46 -0000)]
Disable 269 until #59750 is fixed

svn path=/trunk/mcs/; revision=29009

20 years agoImproved this test a bit.
Martin Baulig [Tue, 8 Jun 2004 03:08:24 +0000 (03:08 -0000)]
Improved this test a bit.

svn path=/trunk/mcs/; revision=29008

20 years agoReflect latest API changes.
Martin Baulig [Tue, 8 Jun 2004 02:58:31 +0000 (02:58 -0000)]
Reflect latest API changes.

svn path=/trunk/mcs/; revision=29006

20 years ago2004-06-08 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 8 Jun 2004 02:45:57 +0000 (02:45 -0000)]
2004-06-08  Martin Baulig  <martin@ximian.com>

* metadata.c (mono_metadata_signature_alloc): Default
`sentinelpos' to -1.

* reflection.c (mono_image_get_array_token): Likewise.

svn path=/trunk/mono/; revision=29005

20 years ago2004-06-08 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 8 Jun 2004 02:34:51 +0000 (02:34 -0000)]
2004-06-08  Martin Baulig  <martin@ximian.com>

* test-269.cs: New test for varargs methods.

svn path=/trunk/mcs/; revision=29004

20 years ago2004-06-08 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 8 Jun 2004 02:30:21 +0000 (02:30 -0000)]
2004-06-08  Martin Baulig  <martin@ximian.com>

* expression.cs (Invocation.EmitCall): Enable varargs methods.

svn path=/trunk/mcs/; revision=29003

20 years ago2004-06-08 Martin Baulig <martin@ximian.com>
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

20 years agoIncremented version number.
Martin Baulig [Tue, 8 Jun 2004 02:26:41 +0000 (02:26 -0000)]
Incremented version number.

svn path=/trunk/mcs/; revision=29001

20 years ago2004-06-08 Martin Baulig <martin@ximian.com>
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

20 years ago2004-06-08 Martin Baulig <martin@ximian.com>
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

20 years agoFix the brokeness that I introduced earlier
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

20 years ago* Exception.cs (Source): This can return null.
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

20 years agoFix embarrassing typos.
Duncan Mak [Mon, 7 Jun 2004 23:09:12 +0000 (23:09 -0000)]
Fix embarrassing typos.

svn path=/trunk/mcs/; revision=28996

20 years ago2004-06-07 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago2004-06-07 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago* FileStream.cs (SetLength): The other exceptions have precendence
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

20 years ago* locales.c: Fixed memory leak in Char.ToLower/ToUpper.
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

20 years ago2004-06-08 Martin Baulig <martin@ximian.com>
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

20 years ago * driver.cs: Add -check_refs option to check if all referenced
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

20 years agoFlush
Miguel de Icaza [Mon, 7 Jun 2004 20:41:56 +0000 (20:41 -0000)]
Flush

svn path=/trunk/mono/; revision=28988

20 years ago * LeaseManager.cs: In StopManager, nullify the timer variable before
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

20 years ago2004-06-08 Atsushi Enomoto <atsushi@ximian.com>
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

20 years ago2004-06-08 Atsushi Enomoto <atsushi@ximian.com>
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

20 years ago2004-06-07 Martin Baulig <martin@ximian.com>
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

20 years ago2004-06-07 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago2004-06-07 Atsushi Enomoto <atsushi@ximian.com>
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

20 years ago2004-06-07 Atsushi Enomoto <atsushi@ximian.com>
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

20 years ago * assembly.c: It should be <MONO_GAC_PATH>/lib/mono/gac when
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

20 years ago2004-06-07 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago2004-06-07 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago2004-06-07 Atsushi Enomoto <atsushi@ximian.com>
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

20 years ago2004-06-07 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago2004-06-07 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago2004-06-08 Zoltan Varga <vargaz@freemail.hu>
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

20 years ago2004-06-08 Atsushi Enomoto <atsushi@ximian.com>
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

20 years ago2004-06-08 Atsushi Enomoto <atsushi@ximian.com>
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

20 years ago2004-06-08 Atsushi Enomoto <atsushi@ximian.com>
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

20 years ago2004-06-07 Atsushi Enomoto <atsushi@ximian.com>
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

20 years ago2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
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

20 years ago2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
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

20 years agotestcase from 59477
Raja R Harinath [Mon, 7 Jun 2004 12:35:11 +0000 (12:35 -0000)]
testcase from 59477

svn path=/trunk/mcs/; revision=28962

20 years ago* cs0038-2.cs: New test, from bug #59477.
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

20 years agothis implementation is using a lazy loading mechanism for the server variables.
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

20 years agofixed ParseServerVariables().
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

20 years agoadded ServerVariablesCollection.
Alon Gazit [Mon, 7 Jun 2004 11:55:02 +0000 (11:55 -0000)]
added ServerVariablesCollection.

svn path=/trunk/mcs/; revision=28957

20 years agousing cache to get performance improvement.
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

20 years agoChanged Page.ProcessPostData().
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

20 years agofew event related test cases
Anirban Bhattacharjee [Mon, 7 Jun 2004 11:00:34 +0000 (11:00 -0000)]
few event related test cases

svn path=/trunk/mcs/; revision=28954

20 years ago * mb-parser.jay: Resolved the problem in Sub statement with Handles clause
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

20 years agoCreated new resource bundlr for VB errors. Implemented almost nearly
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

20 years ago2004-06-08 Zoltan Varga <vargaz@freemail.hu>
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

20 years ago2004-06-07 Atsushi Enomoto <atsushi@ximian.com>
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

20 years ago2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
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

20 years ago2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
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

20 years ago2004-06-07 Miguel de Icaza <miguel@ximian.com>
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

20 years ago2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
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

20 years ago2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
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

20 years ago2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
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

20 years ago2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
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

20 years ago2004-06-06 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago2004-06-06 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
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

20 years ago2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
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

20 years ago2004-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
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

20 years ago2004-06-06 Atsushi Enomoto <atsushi@ximian.com>
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

20 years ago2004-06-06 Atsushi Enomoto <atsushi@ximian.com>
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

20 years ago2004-06-06 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago2004-06-06 Sebastien Pouliot <sebastien@ximian.com>
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

20 years agoremoved ^M added in the last patch
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

20 years ago* MonoCustomAttrs.cs: fixed issue where an empty array was
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

20 years ago2004-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
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

20 years ago2004-06-06 Sebastien Pouliot <sebastien@ximian.com>
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

20 years agoAdded test case for exercising Regex.Unescape()
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

20 years agoFixed issues with Regex.Unescape() identified as part of
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

20 years ago2004-06-06 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago2004-06-06 Atsushi Enomoto <atsushi@ximian.com>
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

20 years ago2004-06-06 Atsushi Enomoto <atsushi@ximian.com>
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

20 years ago2004-06-06 Atsushi Enomoto <atsushi@ximian.com>
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

20 years ago2004-06-06 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago2004-06-06 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago2004-06-06 Atsushi Enomoto <atsushi@ximian.com>
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

20 years ago2004-06-06 Atsushi Enomoto <atsushi@ximian.com>
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

20 years ago2004-06-06 Atsushi Enomoto <atsushi@ximian.com>
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

20 years ago2004-06-06 Atsushi Enomoto <atsushi@ximian.com>
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

20 years ago2004-06-06 Atsushi Enomoto <atsushi@ximian.com>
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