Lluis Sanchez [Tue, 8 Jun 2004 16:33:05 +0000 (16:33 -0000)]
* ReadOnlyCollectionBase.cs: Renamed internal variable to make serialization
compatible with MS.NET.
svn path=/trunk/mcs/; revision=29044
Gonzalo Paniagua Javier [Tue, 8 Jun 2004 15:50:13 +0000 (15:50 -0000)]
style and ^Ms in last patch from Alon
svn path=/trunk/mcs/; revision=29043
Gonzalo Paniagua Javier [Tue, 8 Jun 2004 15:44:57 +0000 (15:44 -0000)]
2004-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: removed extra ^Ms and fixed style of last patch.
svn path=/trunk/mcs/; revision=29042
Paolo Molaro [Tue, 8 Jun 2004 13:49:15 +0000 (13:49 -0000)]
Tue Jun 8 16:37:15 CEST 2004 Paolo Molaro <lupus@ximian.com>
* inssel-long32.brg: implemented a few missing ulong cast opcodes.
svn path=/trunk/mono/; revision=29041
Marek Safar [Tue, 8 Jun 2004 13:43:40 +0000 (13:43 -0000)]
2004-06-08 Marek Safar <marek.safar@seznam.cz>
* class:
(Method.ApplyAttributeBuilder): Moved and added conditional
attribute error tests (CS0577, CS0578, CS0243, CS0582, CS0629).
* delegate.cs:
(DelegateCreation.ResolveMethodGroupExpr): Added error CS1618 test.
svn path=/trunk/mcs/; revision=29040
Dick Porter [Tue, 8 Jun 2004 13:42:30 +0000 (13:42 -0000)]
2004-06-08 Dick Porter <dick@ximian.com>
* CultureInfo.cs: Make calendar_data readonly, to match the
const-ness in the runtime.
svn path=/trunk/mcs/; revision=29039
Dick Porter [Tue, 8 Jun 2004 13:40:51 +0000 (13:40 -0000)]
2004-06-08 Dick Porter <dick@ximian.com>
* object.h:
* locales.c: Fixed compile warnings, including a real bug in
CompareInfo_internal_compare.
svn path=/trunk/mono/; revision=29038
Marek Safar [Tue, 8 Jun 2004 13:20:37 +0000 (13:20 -0000)]
2004-06-08 Marek Safar <marek.safar@seznam.cz>
Fixed #59640
* class.cs: (EventField.attribute_targets): Changed default target.
svn path=/trunk/mcs/; revision=29037
Dick Porter [Tue, 8 Jun 2004 13:10:03 +0000 (13:10 -0000)]
2004-06-08 Dick Porter <dick@ximian.com>
* locales.c
(ves_icall_System_Globalization_CompareInfo_internal_index):
(ves_icall_System_Globalization_CompareInfo_internal_index_char):
Double-check the resuls of usearches, because ICU currently
ignores most of the collator settings here. Fixes bug 59720.
svn path=/trunk/mono/; revision=29036
Sebastien Pouliot [Tue, 8 Jun 2004 13:05:03 +0000 (13:05 -0000)]
2004-06-08 Sebastien Pouliot <sebastien@ximian.com>
* Decimal.cs: Fixed cast to integer types to truncate (not round) the
value.
svn path=/trunk/mcs/; revision=29035
Sebastien Pouliot [Tue, 8 Jun 2004 12:51:36 +0000 (12:51 -0000)]
2004-06-08 Sebastien Pouliot <sebastien@ximian.com>
* DecimalTest.cs: Added test case for truncating including indirect
truncates with cast to integer types.
svn path=/trunk/mcs/; revision=29034
Paolo Molaro [Tue, 8 Jun 2004 12:48:36 +0000 (12:48 -0000)]
Tue Jun 8 15:36:30 CEST 2004 Paolo Molaro <lupus@ximian.com>
* Makefile.am: remove the -static hack completely, it links in
statically glib as well.
svn path=/trunk/mono/; revision=29033
Dick Porter [Tue, 8 Jun 2004 12:30:58 +0000 (12:30 -0000)]
2004-06-08 Dick Porter <dick@ximian.com>
* locales.c
(ves_icall_System_Globalization_CompareInfo_internal_index_char):
Fix memory leak and segfault-causing typo. No idea how this one
lasted so long without being noticed.
svn path=/trunk/mono/; revision=29031
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
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
Jordi Mas i Hernandez [Tue, 8 Jun 2004 10:19:55 +0000 (10:19 -0000)]
Mono.Cairo fixes
svn path=/trunk/mcs/; revision=29024
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
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
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
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
Alon Gazit [Tue, 8 Jun 2004 07:18:34 +0000 (07:18 -0000)]
Adding ServerVariablesCollection.
svn path=/trunk/mcs/; revision=29019
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
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
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
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
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
Miguel de Icaza [Tue, 8 Jun 2004 04:06:19 +0000 (04:06 -0000)]
Sort
svn path=/trunk/mono/; revision=29012
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
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
Martin Baulig [Tue, 8 Jun 2004 03:08:24 +0000 (03:08 -0000)]
Improved this test a bit.
svn path=/trunk/mcs/; revision=29008
Martin Baulig [Tue, 8 Jun 2004 02:58:31 +0000 (02:58 -0000)]
Reflect latest API changes.
svn path=/trunk/mcs/; revision=29006
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
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
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
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