Martin Baulig [Tue, 8 Jun 2004 23:13:08 +0000 (23:13 -0000)]
2004-06-09 Martin Baulig <martin@ximian.com>
* loader.c (mono_get_method_constrained): Call `mono_class_init
(constrained_class)'.
svn path=/trunk/mono/; revision=29068
Jordi Mas i Hernandez [Tue, 8 Jun 2004 23:08:08 +0000 (23:08 -0000)]
compose sample
svn path=/trunk/mcs/; revision=29067
Jordi Mas i Hernandez [Tue, 8 Jun 2004 23:06:16 +0000 (23:06 -0000)]
SaveAdd wrappers
svn path=/trunk/mcs/; revision=29066
Duncan Mak [Tue, 8 Jun 2004 21:29:57 +0000 (21:29 -0000)]
(IsRootDirectory): New helper method for determining if a path is the
root directory. Handles both Unix as well as Windows.
(GetParent): Use IsRootDirectory for the check.
svn path=/trunk/mcs/; revision=29065
Duncan Mak [Tue, 8 Jun 2004 21:29:36 +0000 (21:29 -0000)]
(GetParentOfRootDirectory): Add test for
GetParent from the root directory.
svn path=/trunk/mcs/; revision=29064
Duncan Mak [Tue, 8 Jun 2004 20:45:34 +0000 (20:45 -0000)]
Fix embarrassment
svn path=/trunk/mcs/; revision=29063
Duncan Mak [Tue, 8 Jun 2004 20:28:52 +0000 (20:28 -0000)]
Make it work on Windows as well
svn path=/trunk/mcs/; revision=29062
Duncan Mak [Tue, 8 Jun 2004 20:09:19 +0000 (20:09 -0000)]
* File.cs: Fix line endings, took out ^Ms.
* Directory.cs (GetParent): Return null if the specified path is
the root directory.
svn path=/trunk/mcs/; revision=29061
Gert Driesen [Tue, 8 Jun 2004 19:50:29 +0000 (19:50 -0000)]
* icall.c (ves_icall_MonoType_GetEvent): Handle events without
any methods. Fixes #59629.
svn path=/trunk/mono/; revision=29060
Sebastien Pouliot [Tue, 8 Jun 2004 19:30:12 +0000 (19:30 -0000)]
2004-06-08 Sebastien Pouliot <sebastien@ximian.com>
* machine.config: Added strongname token remapping configuration.
svn path=/trunk/mono/; revision=29058
Sebastien Pouliot [Tue, 8 Jun 2004 19:26:16 +0000 (19:26 -0000)]
2004-06-08 Sebastien Pouliot <sebastien@ximian.com>
* AssemblyInfo.cs: Updated version number for post beta 2.
* StrongNameManager.cs: Changed XML format to be compatible with
machine.config. Made token uppercase.
* sn.cs: Now load the token remapping configuration from
machine.config. Fixed some errors in help.
svn path=/trunk/mcs/; revision=29057
Duncan Mak [Tue, 8 Jun 2004 19:08:03 +0000 (19:08 -0000)]
(StreamReader):
(Initialize): Add a check that buffer_size must not be less than
or equal to zero.
svn path=/trunk/mcs/; revision=29056
Duncan Mak [Tue, 8 Jun 2004 18:41:20 +0000 (18:41 -0000)]
Add MacOS X installer.
svn path=/trunk/mono/; revision=29055
Jackson Harper [Tue, 8 Jun 2004 18:40:51 +0000 (18:40 -0000)]
* driver.cs Add install from list and uninstall from list
commands. Allow options to come before commands. Add the /silent
option so we can shut the tool up. And use returns instead of
Environment.Exit where appropriate.
svn path=/trunk/mcs/; revision=29054
Duncan Mak [Tue, 8 Jun 2004 18:39:04 +0000 (18:39 -0000)]
(RegisterObject): Throw ArgumentOutOfRangeException if the objectID
parameter is less than or equal to zero. This check was missing from
this particular overload.
svn path=/trunk/mcs/; revision=29053
Atsushi Eno [Tue, 8 Jun 2004 18:30:19 +0000 (18:30 -0000)]
2004-06-08 Atsushi Enomoto <atsushi@ximian.com>
* xsd.1 : some additional info.
svn path=/trunk/mono/; revision=29052
Atsushi Eno [Tue, 8 Jun 2004 18:21:54 +0000 (18:21 -0000)]
2004-06-08 Atsushi Enomoto <atsushi@ximian.com>
* DateTime.cs :
- Now re-checked all common format patterns. They should be tried
with both current culture and invariant culture. Since '/' covers
'-', removed extraneous patterns. Added more common patterns
such as "yyyy-MM-dd" and X509Certificate pattern (it is valid
only after NET_1_1). Commented out 1 character format patterns.
- The format patterns we should try should not be obtained by
GetAllDateTimePatterns(). Just use 'd', 'D', 't', 'T', ... (one
character patterns), to handle UTC correctly. Examined patterns
are changed, to 1) common patterns with specified (or current)
culture, 2) common patterns with invariant, 3) The above "one
character patterns" with specified (or current) culture.
- When trying to parse some kind of patterns such as RFC1123,
always use invariant DateTimeFormatInfo so that they can avoid
parsing with culture-dependent calendar.
- Check "GMT" only when doing Parse(). Don't it when ParseExact().
- Removed extraneous '-' case. It is not special one.
- When ParseExact(), allow only '/' for '/' pattern character.
- When Parse(), allow any non-letter & non-number characters.
- When pattern is not fully parsed, reject that format.
- Added "exact" parameter to some ParseExact().
- RFC1123 pattern is (again) now parsed in local time. I regressed
some problems in previous fix.
svn path=/trunk/mcs/; revision=29051
Atsushi Eno [Tue, 8 Jun 2004 17:58:50 +0000 (17:58 -0000)]
2004-06-08 Atsushi Enomoto <atsushi@ximian.com>
* culture-info-tables.h: reflecting locale-builder updates.
svn path=/trunk/mono/; revision=29050
Atsushi Eno [Tue, 8 Jun 2004 17:57:13 +0000 (17:57 -0000)]
2004-06-08 Atsushi Enomoto <atsushi@ximian.com>
* ja.xml : added extra datetime patterns.
* renamed ca.xml to added ca_ES.xml.
* ca_ES.xml, ko_KR.xml, pt_BR.xml : fixed percent patterns.
svn path=/trunk/mono/; revision=29049
Atsushi Eno [Tue, 8 Jun 2004 17:44:37 +0000 (17:44 -0000)]
2004-06-08 Atsushi Enomoto <atsushi@ximian.com>
* Driver.cs : To make "extra pattern only" xxxFormatLength possible,
fill values only when the exact element was available.
svn path=/trunk/mono/; revision=29048
Duncan Mak [Tue, 8 Jun 2004 17:32:30 +0000 (17:32 -0000)]
Add mono.snk
svn path=/trunk/mcs/; revision=29046
Atsushi Eno [Tue, 8 Jun 2004 17:28:34 +0000 (17:28 -0000)]
2004-06-08 Atsushi Enomoto <atsushi@ximian.com>
* DateTimeTest.cs :
- Added TestParse3() (not-allowed pattern example), ParseUtcNonUtc()
("GMT" strings and time adjustment), TimeZoneAdjustment() ('Z'
pattern conditions) and CultureIndependentTests() (batch tests for
_all_ or almost all cultures).
- Added more Z string to X509Certificate test.
- Added ParseAllowsQueerString() [not fixed].
svn path=/trunk/mcs/; revision=29045
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