mono.git
19 years ago2005-03-17 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 17 Mar 2005 12:42:30 +0000 (12:42 -0000)]
2005-03-17  Martin Baulig  <martin@ximian.com>

* anonymous.cs (AnonymousMethod.EmitMethod): Changed return type
to bool so we can return an error condition.
(AnonymousDelegate.Emit): Check whether AnonymousMethod.EmitMethod()
returned an error.

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

19 years ago2005-03-17 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 17 Mar 2005 12:31:38 +0000 (12:31 -0000)]
2005-03-17  Martin Baulig  <martin@ximian.com>

* class.c (inflate_generic_type): Add MONO_TYPE_ARRAY.

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

19 years agoNew test.
Martin Baulig [Thu, 17 Mar 2005 12:30:43 +0000 (12:30 -0000)]
New test.

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

19 years agoRemove svn change marker
Dick Porter [Thu, 17 Mar 2005 12:29:01 +0000 (12:29 -0000)]
Remove svn change marker

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

19 years ago * Stdlib.cs: Move Errno-related functionality into Stdlib from Syscall,
Jonathan Pryor [Thu, 17 Mar 2005 12:10:40 +0000 (12:10 -0000)]
* Stdlib.cs: Move Errno-related functionality into Stdlib from Syscall,
  since (1) errno is part of C89, and (2) StdioFileStream will need it, and
  StdioFileStream shouldn't use Syscall.  Add [UnmanagedFunctionPointer]
attribute to SignalHandler for .NET 2.0 (since signal handlers use C
calling convention, not Stdcall).
* Syscall.cs: Move Errno-related functionality into Stdlib.
* UnixMarshal.cs: Use ERANGE not EPERM when figuring out appropriate
  translator, since ERANGE is part of C99 and EPERM isn't.  Use Stdlib
  instead of Syscall for Errno-related functionality.

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

19 years ago2005-03-17 Jonathan Gilbert <logic@deltaq.org>
Peter Dennis Bartok [Thu, 17 Mar 2005 11:44:28 +0000 (11:44 -0000)]
2005-03-17  Jonathan Gilbert  <logic@deltaq.org>

* XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
  X access (avoids X-Async errors)

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

19 years agofix
Raja R Harinath [Thu, 17 Mar 2005 11:41:11 +0000 (11:41 -0000)]
fix

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

19 years ago2005-03-17 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Thu, 17 Mar 2005 11:08:27 +0000 (11:08 -0000)]
2005-03-17  Peter Bartok  <pbartok@novell.com>

* gdipFunctions.cs:
  - Changed P/Invoke signature for GdipLoadImageFromDelegate_linux()
    method, now includes a get header delegate
  - Added StreamGetHeaderImpl method, to allow libgdiplus to determine
    the image type even on non-seekable streams
  - Fixed StreamGetBytesImpl to consider the bytes already retrieved
    via StreamGetHeaderImpl
* Image.cs: Fixed call to GdipLoadImageFromDelegate_linux() to include
  the new StreamGetHeader delegate

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

19 years ago Fix for build breakage on cygwin-head-mono
Manjula GHM [Thu, 17 Mar 2005 10:53:01 +0000 (10:53 -0000)]
 Fix for build breakage on cygwin-head-mono

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

19 years agoNew test.
Martin Baulig [Thu, 17 Mar 2005 10:31:47 +0000 (10:31 -0000)]
New test.

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

19 years ago2005-03-17 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 17 Mar 2005 10:30:22 +0000 (10:30 -0000)]
2005-03-17  Martin Baulig  <martin@ximian.com>

* generic.cs (TypeMananager.IsIEnumerable): New public method.

* convert.cs (Convert.ImplicitReferenceConversion(Exists)): Allow
converting from an array-type of T to `IEnumerable<T>'.

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

19 years ago* Makefile (run-mcs-tests): Disable TestRunner on net_2_0 profile.
Raja R Harinath [Thu, 17 Mar 2005 10:03:13 +0000 (10:03 -0000)]
* Makefile (run-mcs-tests): Disable TestRunner on net_2_0 profile.
* TestRunner.cs (Main): Exit with non-zero on regressions.

I had BINFMT_MISC that supported executing mono binaries.
No wonder it worked for me.

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

19 years agoMinor fix in the LoopStatement test cases
Manjula GHM [Thu, 17 Mar 2005 09:51:17 +0000 (09:51 -0000)]
Minor fix in the LoopStatement test cases

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

19 years agorename know-issue-* to known-issue-*
Raja R Harinath [Thu, 17 Mar 2005 09:27:42 +0000 (09:27 -0000)]
rename know-issue-* to known-issue-*

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

19 years ago* Makefile (test-local): Depend on TestRunner-$(PROFILE).cs.
Raja R Harinath [Thu, 17 Mar 2005 09:05:06 +0000 (09:05 -0000)]
* Makefile (test-local): Depend on TestRunner-$(PROFILE).cs.
(run-mcs-tests): Clean up.  Use profile specific test runner.
* TestRunner.cs (ProcessTester): Redirect stdout too.
(Tester.Log, Tester.LogLine): New.  Replacements for Console.Write
and Console.WriteLine that also log to files.
(Tester.Main): Add new command line argument for log file name.
Use the name of the compiler to select tests rather than "1".

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

19 years agoRounding the double values before converting to Integer types
Manjula GHM [Thu, 17 Mar 2005 07:57:49 +0000 (07:57 -0000)]
Rounding the double values before converting to Integer types

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

19 years agoSupport Double in case statement and do necessary conversion to Int Literal
Manjula GHM [Thu, 17 Mar 2005 06:39:11 +0000 (06:39 -0000)]
Support Double in case statement and do necessary conversion to Int Literal

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

19 years ago2005-03-16 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Thu, 17 Mar 2005 01:22:31 +0000 (01:22 -0000)]
2005-03-16  Cesar Lopez Nataren  <cnataren@novell.com>

* FunctionExpression.cs: Update to TypeManager new API.

* TypeManager.cs: Keep both MethodBuilder and LocalBuilder around.

* FunctionDeclaration.cs: In some contexts we need the
MethodBuilder and LocalBuilder, so we must keep both around.

* expression.cs: (load_script_func) Take care if bounded variable
was declared in a nested context. (emit_create_instance) Handle
the FunctionConstructor case.

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

19 years ago2005-03-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 17 Mar 2005 00:31:49 +0000 (00:31 -0000)]
2005-03-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* CompilerCollection.cs:
* CompilationConfigurationHandler.cs:
* Compiler.cs:
* CompilationSection.cs:
* CompilationConfiguration.cs: reverted last patch and/or disable code
until the whole config system is migrated to 2.0. Fixes bug #73736.

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

19 years ago2005-03-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 16 Mar 2005 23:26:20 +0000 (23:26 -0000)]
2005-03-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Configuration.cs: a few MonoTODOs less.

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

19 years ago * TabControl.cs: Raise the SelectedIndexChanged event.
Jackson Harper [Wed, 16 Mar 2005 22:53:30 +0000 (22:53 -0000)]
* TabControl.cs: Raise the SelectedIndexChanged event.

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

19 years ago2004-03-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 16 Mar 2005 20:55:55 +0000 (20:55 -0000)]
2004-03-16  Atsushi Enomoto  <atsushi@ximian.com>

* Parser.jay : rewrote step part to be reusable for upcoming XSLT
  pattern parser.

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

19 years ago2005-03-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 16 Mar 2005 19:20:05 +0000 (19:20 -0000)]
2005-03-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* file-io.c: disabled file async. IO using aio_*. It uses the
threadpool now. Workaround for bug #73718.

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

19 years ago2005-03-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 16 Mar 2005 18:55:23 +0000 (18:55 -0000)]
2005-03-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* BasicClient.cs: ensure credentials are not null.

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

19 years ago2005-03-16 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 16 Mar 2005 18:42:35 +0000 (18:42 -0000)]
2005-03-16  Zoltan Varga  <vargaz@freemail.hu>

* tramp-amd64.c (create_specific_trampoline): Revert parts of the
last change as it seems to cause strange crashes.

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

19 years ago2005-03-16 Alexander Olk <xenomorph2@onlinehome.de>
Alexander Olk [Wed, 16 Mar 2005 17:14:45 +0000 (17:14 -0000)]
2005-03-16  Alexander Olk <xenomorph2@onlinehome.de>

* System.Windows.Forms.resx, System.Windows.Forms.en.resx,
  System.Windows.Forms.de.resx:
  - Corrected one FileDialog bitmap

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

19 years ago2005-03-16 Alexander Olk <xenomorph2@onlinehome.de>
Alexander Olk [Wed, 16 Mar 2005 17:07:31 +0000 (17:07 -0000)]
2005-03-16  Alexander Olk  <xenomorph2@onlinehome.de>

* FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  - Removed vertical ToolBar and replaced it with a custom panel
    (desktop and home button already work)
  - Added Help button (some controls get resized or relocated then)
  - Draw correct text depending on Open or Save.
  - Fixed some typos...

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

19 years agoAdded powerpc-*-linux to allow the default options to work with a ppc NPTL system.
Paolo Molaro [Wed, 16 Mar 2005 17:00:15 +0000 (17:00 -0000)]
Added powerpc-*-linux to allow the default options to work with a ppc NPTL system.

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

19 years agoWed Mar 16 18:11:47 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 16 Mar 2005 16:48:33 +0000 (16:48 -0000)]
Wed Mar 16 18:11:47 CET 2005 Paolo Molaro <lupus@ximian.com>

* template.c, mkbundle.cs: automatically bundle config files if found.

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

19 years agoWed Mar 16 18:08:00 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 16 Mar 2005 16:44:59 +0000 (16:44 -0000)]
Wed Mar 16 18:08:00 CET 2005 Paolo Molaro <lupus@ximian.com>

* assembly.h, mono-config.c: added code to deal with bundled configs
for bundled assemblies.

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

19 years ago2005-03-16 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Wed, 16 Mar 2005 15:56:56 +0000 (15:56 -0000)]
2005-03-16  Jordi Mas i Hernandez <jordi@ximian.com>

* ScrollBar.cs:
  - Only change Maximum and Minimum when need it (bug fix)

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

19 years agoWed Mar 16 16:34:38 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 16 Mar 2005 15:12:30 +0000 (15:12 -0000)]
Wed Mar 16 16:34:38 CET 2005 Paolo Molaro <lupus@ximian.com>

* *.c, private.h: cleanup, removing old private.h header file.

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

19 years agoWed Mar 16 16:24:11 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 16 Mar 2005 15:00:59 +0000 (15:00 -0000)]
Wed Mar 16 16:24:11 CET 2005 Paolo Molaro <lupus@ximian.com>

* *.c: handle unsafe function pointers where needed.

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

19 years agoReverted the merging.
Martin Baulig [Wed, 16 Mar 2005 14:51:40 +0000 (14:51 -0000)]
Reverted the merging.

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

19 years ago2005-03-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 16 Mar 2005 14:33:07 +0000 (14:33 -0000)]
2005-03-16  Atsushi Enomoto  <atsushi@ximian.com>

* DataRow.cs : on importing row, it was copying data from incorrect
  DataRow. This fixes bug #73288.

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

19 years ago2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Wed, 16 Mar 2005 14:04:33 +0000 (14:04 -0000)]
2005-03-16  Lluis Sanchez Gual  <lluis@novell.com>

* ClientScriptManager.cs: Fix build.

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

19 years ago2005-03-16 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 16 Mar 2005 13:29:41 +0000 (13:29 -0000)]
2005-03-16  Zoltan Varga  <vargaz@freemail.hu>

* reflection.c (mono_image_get_method_info): Encode best_fit_mapping
and throw_on_unmappable_char attributes.

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

19 years ago2005-03-16 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 16 Mar 2005 13:28:25 +0000 (13:28 -0000)]
2005-03-16  Zoltan Varga  <vargaz@freemail.hu>

* attribute.cs: Encode ThrowOnUnmappableChar and BestFitMapping
attributes.

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

19 years ago2005-03-16 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 16 Mar 2005 13:27:15 +0000 (13:27 -0000)]
2005-03-16  Zoltan Varga  <vargaz@freemail.hu>

* MethodBuilder.cs: Add internal BestFitMapping and
ThrowOnUnmappableChar properties used by mcs.

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

19 years ago2005-03-16 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 16 Mar 2005 13:11:54 +0000 (13:11 -0000)]
2005-03-16  Sebastien Pouliot  <sebastien@ximian.com>

* Assembly.cs: Implemented EscapedCodeBase using the copy of
System.Uri (System.dll) located in Mono.Security.Uri. Fix bug #73663.

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

19 years ago**** Merged r39626-39898 from MCS ****
Martin Baulig [Wed, 16 Mar 2005 12:56:33 +0000 (12:56 -0000)]
**** Merged r39626-39898 from MCS ****

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

19 years ago**** Merged r39544-r39566 from MCS ****
Martin Baulig [Wed, 16 Mar 2005 12:52:57 +0000 (12:52 -0000)]
**** Merged r39544-r39566 from MCS ****

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

19 years ago2005-03-16 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 16 Mar 2005 12:30:14 +0000 (12:30 -0000)]
2005-03-16  Zoltan Varga  <vargaz@freemail.hu>

* mini.c (mono_jit_free_method): Remove the fixme too.

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

19 years ago2005-03-16 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Wed, 16 Mar 2005 12:16:39 +0000 (12:16 -0000)]
2005-03-16 Marek Safar <marek.safar@seznam.cz>

* Makefile: Enabled TestRunner for default profile.

* know-issues-*: Updated.

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

19 years ago2005-03-16 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Wed, 16 Mar 2005 11:54:02 +0000 (11:54 -0000)]
2005-03-16 Marek Safar <marek.safar@seznam.cz>

* TestRunner.cs: Add support for (no errors, ignore errors).

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

19 years ago2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Wed, 16 Mar 2005 11:35:49 +0000 (11:35 -0000)]
2005-03-16  Lluis Sanchez Gual  <lluis@novell.com>

* TreeNode.cs, TreeView.cs: Don't raise the SelectedNodeChanged
  event when loading the view state. Fixes #73746.

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

19 years agosvn:eol-style=native
Raja R Harinath [Wed, 16 Mar 2005 11:28:12 +0000 (11:28 -0000)]
svn:eol-style=native
Bit the bullet and set it on all files.  It's too much of a pain
trying to avoid history changes on 20-or-so files each time I have to set
this property.

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

19 years agoupdate
Raja R Harinath [Wed, 16 Mar 2005 11:24:38 +0000 (11:24 -0000)]
update

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

19 years ago2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Wed, 16 Mar 2005 11:01:05 +0000 (11:01 -0000)]
2005-03-16  Lluis Sanchez Gual <lluis@novell.com>

* ListControl.cs: Load selected indices in the right place. Fixes #73745.

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

19 years ago* Makefile (RUNTEST_PL, test-multi-local): Remove, now that
Raja R Harinath [Wed, 16 Mar 2005 11:00:20 +0000 (11:00 -0000)]
* Makefile (RUNTEST_PL, test-multi-local): Remove, now that
they're no longer used.
* runtest.pl: Remove.

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

19 years ago Support 'expression TO expression' case clause for select statement
Manjula GHM [Wed, 16 Mar 2005 10:54:43 +0000 (10:54 -0000)]
 Support 'expression TO expression' case clause for select statement

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

19 years agosvn:eol-style=native
Raja R Harinath [Wed, 16 Mar 2005 10:17:17 +0000 (10:17 -0000)]
svn:eol-style=native

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

19 years agoNew test.
Martin Baulig [Wed, 16 Mar 2005 10:16:35 +0000 (10:16 -0000)]
New test.

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

19 years ago2005-03-16 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 16 Mar 2005 10:15:48 +0000 (10:15 -0000)]
2005-03-16  Martin Baulig  <martin@ximian.com>

* generic.cs (Nullable.Unwrap): Implement IAssignMethod.
(Nullable.LiftedUnaryMutator): New public class.

* expression.cs (UnaryMutator.DoResolve): Added support for
Nullable Types.

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

19 years agosvn:eol-style=native
Raja R Harinath [Wed, 16 Mar 2005 10:12:45 +0000 (10:12 -0000)]
svn:eol-style=native

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

19 years agoFix stray ^M. Set svn:eol-style=native to a few files.
Raja R Harinath [Wed, 16 Mar 2005 09:59:04 +0000 (09:59 -0000)]
Fix stray ^M.  Set svn:eol-style=native to a few files.

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

19 years agoRemove TypeManager.LookupType and TypeManager.LookupTypeDirect.
Raja R Harinath [Wed, 16 Mar 2005 09:53:15 +0000 (09:53 -0000)]
Remove TypeManager.LookupType and TypeManager.LookupTypeDirect.
Refactor to avoid traversing the list of assemblies, and to avoid
string concatenation.
* typemanager.cs (guid_attr_type): Remove.
(negative_hits, pointers, references): Remove hashes.
(type_hash): New.
(GetConstructedType): New.  Uses type_hash to handle constructed
types (arrays, references, pointers).
(GetReferenceType, GetPointerType): Use it.
(GetNestedType): New.  Uses type_hash to handle nested types of reflected types.
(LookupType, LookupTypeDirect): Remove.
(CoreLookupType): Inline parts of old LookupTypeDirect code.  Use
'types' hash and LookupTypeReflection directly.
(params_string, params_object): Use GetConstructedType.
* namespace.cs (Namespace.cached_types): New.  Cache of reflected
top-level types.
(Namespace.Lookup): Use cached_types.
(NamespaceEntry.LookupNamespaceOrType): Inline the functionality
provided by old TypeManager.LookupType.
* rootcontext.cs (MakeFQN): Remove.
* decl.cs (DeclSpace.MakeFQN): Likewise.
(DeclSpace.LookupType): Use TypeManager.GetNestedType.
* expression.cs (ComposedCast.DoResolveAsTypeStep): Use
TypeManager.GetConstructedType.
* tree.cs (decl_ns_hash, LookupByNamespace): Remove.

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

19 years ago2004-03-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 16 Mar 2005 09:09:39 +0000 (09:09 -0000)]
2004-03-16  Atsushi Enomoto  <atsushi@ximian.com>

* Pattern.cs : fixed incorrect optimization.

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

19 years agoUpdated to new tests
Raja R Harinath [Wed, 16 Mar 2005 09:06:37 +0000 (09:06 -0000)]
Updated to new tests

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

19 years ago* a-capture6.cs, a-nested.cs: Fix compilation.
Raja R Harinath [Wed, 16 Mar 2005 08:22:42 +0000 (08:22 -0000)]
* a-capture6.cs, a-nested.cs: Fix compilation.

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

19 years ago2004-03-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 16 Mar 2005 05:53:02 +0000 (05:53 -0000)]
2004-03-16  Atsushi Enomoto  <atsushi@ximian.com>

* Iterator.cs : reduced extra clone.

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

19 years agoAdded type casting in some places and moved "optional" attribute to be AFTER that...
Manjula GHM [Wed, 16 Mar 2005 05:32:07 +0000 (05:32 -0000)]
Added type casting in some places and moved "optional" attribute to be AFTER that __Default*
 attribute

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

19 years agoIn Windows INTL is intl
Miguel de Icaza [Wed, 16 Mar 2005 00:26:10 +0000 (00:26 -0000)]
In Windows INTL is intl

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

19 years agoBetter messages than a throw
Miguel de Icaza [Tue, 15 Mar 2005 22:27:37 +0000 (22:27 -0000)]
Better messages than a throw

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

19 years ago2005-03-15 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 15 Mar 2005 21:36:10 +0000 (21:36 -0000)]
2005-03-15  Miguel de Icaza  <miguel@novell.com>

* mini.c: As discussed, make the code actually free the delegate
thunk now, to enable the debugging of delegate problems, use
MONO_DEBUG=1 when running Mono.

This takes also care of parts of the leaks as seen by Joe.

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

19 years ago2004-03-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 15 Mar 2005 21:34:04 +0000 (21:34 -0000)]
2004-03-15  Atsushi Enomoto  <atsushi@ximian.com>

* DefaultContext.cs,
  Expression.cs,
  Iterator.cs : Now RequireSorting is not required in BaseIterator
  (it is now fully in Expression).
  Removed the last ListIterator .ctor() argument.

* XslKey.cs : removed last ListIterator.ctor() argument.
  Reverted the last commit that changed internal key index change
  from ArrayList to Hashtable. Avoid clone in CollectIndex().
  Sort results in Evaluate() before passing list to ListIterator.
* XslFunctions.cs : removed last ListIterator.ctor() argument.

* XslVariable.cs : removed last ListIterator.ctor() argument.

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

19 years agoUpdate man page
Miguel de Icaza [Tue, 15 Mar 2005 21:31:06 +0000 (21:31 -0000)]
Update man page

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

19 years ago2004-03-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 15 Mar 2005 21:26:11 +0000 (21:26 -0000)]
2004-03-15  Atsushi Enomoto  <atsushi@ximian.com>

* DTMXPathDocumentBuilder2.cs : skip only Read() internally called
  xmlReader.Read(). Simplify loop a bit.

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

19 years ago2004-03-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 15 Mar 2005 21:24:18 +0000 (21:24 -0000)]
2004-03-15  Atsushi Enomoto  <atsushi@ximian.com>

* XPathNavigator.cs : In ComparePosition(), make use of IsDescendant().

* XmlDocumentNavigator.cs : overriden IsDescendant (default
  implementation extraneously clones).

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

19 years ago2005-03-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 15 Mar 2005 21:15:37 +0000 (21:15 -0000)]
2005-03-15  Sebastien Pouliot  <sebastien@ximian.com>

* corlib_test.dll.sources : Added new CAS unit tests BadImageFormat
Exception, IsolatedStorageFile and IsolatedStorageFileStream.

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

19 years ago2005-03-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 15 Mar 2005 21:13:34 +0000 (21:13 -0000)]
2005-03-15  Sebastien Pouliot  <sebastien@ximian.com>

* BadImageFormatExceptionCas.cs: New. Permission tests for
BadImageFormatException.

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

19 years ago2005-03-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 15 Mar 2005 21:11:50 +0000 (21:11 -0000)]
2005-03-15  Sebastien Pouliot  <sebastien@ximian.com>

* IsolatedStorageFileStreamCas.cs: New. CAS unit tests for
IsolatedStorageFileStream.
* IsolatedStorageFileCas.cs: New. CAS unit tests for
IsolatedStorageFile.

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

19 years ago2005-03-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 15 Mar 2005 21:09:05 +0000 (21:09 -0000)]
2005-03-15  Sebastien Pouliot  <sebastien@ximian.com>

* FileStreamTest.cs: Added tests for all FileMode when a directory
doesn't exists. Added a test for UnauthorizedAccessException when a
directory is opened as a file.

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

19 years ago2005-03-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 15 Mar 2005 21:07:29 +0000 (21:07 -0000)]
2005-03-15  Sebastien Pouliot  <sebastien@ximian.com>

* IsolatedStorageFile.cs: Added CAS demands (imperative when possible)
for IsolatedStoragePermission. The security attributes for NET_2_0 are
commented until #73046 is fixed.
* IsolatedStorageFileStream.cs: Now use StackFrame(2) to find which
assembly is really calling the IsolatedStorageFileStream when no
default is supplied. Throw DirectoryNotFoundException when a directory
inside the isolated storage is missing.

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

19 years ago2005-03-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 15 Mar 2005 21:07:07 +0000 (21:07 -0000)]
2005-03-15  Sebastien Pouliot  <sebastien@ximian.com>

* FileStream.cs: Anonymize part of the path when exceptions are throw
by a FileStream is used for isolated storage. Throw a DirectoryNotFound
Exception for any FileMode not just CreateNew (see new unit tests).

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

19 years agoThe file 'fail' seems to be gone now
Miguel de Icaza [Tue, 15 Mar 2005 20:59:58 +0000 (20:59 -0000)]
The file 'fail' seems to be gone now

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

19 years ago2005-03-15 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 15 Mar 2005 19:56:50 +0000 (19:56 -0000)]
2005-03-15  Zoltan Varga  <vargaz@freemail.hu>

* mini-amd64.c (mono_arch_setup_jit_tls_data): Enable
thread_tls_offset calculation.

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

19 years ago2005-03-15 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 15 Mar 2005 19:47:29 +0000 (19:47 -0000)]
2005-03-15  Zoltan Varga  <vargaz@freemail.hu>

* amd64/amd64-codegen.h (amd64_emit_rex): Emit a rex when accessing the
byte registers.

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

19 years ago2005-03-15 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 15 Mar 2005 17:08:39 +0000 (17:08 -0000)]
2005-03-15  Zoltan Varga  <vargaz@freemail.hu>

* amd64/amd64-codegen.h (AMD64_BYTE_REGS): Add AMD64_BYTE_REGS macro.

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

19 years ago2005-03-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 15 Mar 2005 16:48:12 +0000 (16:48 -0000)]
2005-03-15  Atsushi Enomoto <atsushi@ximian.com>

* XmlValidatingReaderTests.cs : Added test for sequential text nodes
  which affects on ExpandEntities.

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

19 years ago2005-03-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 15 Mar 2005 16:40:38 +0000 (16:40 -0000)]
2005-03-15  Atsushi Enomoto <atsushi@ximian.com>

* DTDValidatingReader.cs : When expanding entities and there is a
  sequence of text nodes, its value was not returned.
* XmlTextReader.cs : better invalid char error report for EOF.

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

19 years ago2005-03-15 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Tue, 15 Mar 2005 15:00:50 +0000 (15:00 -0000)]
2005-03-15  Sureshkumar T  <tsureshkumar@novell.com>

* OdbcConnection.cs: re-throw error on exception in Open method.

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

19 years agosvn path=/trunk/mono/; revision=41835
Sebastien Pouliot [Tue, 15 Mar 2005 13:04:26 +0000 (13:04 -0000)]
svn path=/trunk/mono/; revision=41835

19 years ago2005-03-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 15 Mar 2005 13:03:49 +0000 (13:03 -0000)]
2005-03-15  Sebastien Pouliot  <sebastien@ximian.com>

* CodeAccessPermission.cs: Fixed depth for starting the stack walk
(imperative) and fixed assert condition.
* PermissionSet.cs: Fixed depth for starting the stack walk.
* SecurityFrame.cs: Reversed stack. Added optional debugging code.

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

19 years ago2005-03-15 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 15 Mar 2005 12:31:53 +0000 (12:31 -0000)]
2005-03-15  Peter Bartok  <pbartok@novell.com>

* Form.cs: Use Handle for icon, to trigger creation if
  the window does not yet exist
* Control.cs:
  - CanSelect: Slight performance improvement
  - Focus(): Preventing possible recursion
  - Invalidate(): Removed ControlStyle based clear flag setting
  - WM_PAINT: fixed logic for calling OnPaintBackground
  - WM_ERASEBKGND: Fixed logic, added call to new driver method
    EraseWindowBackground if the control doesn't paint background
* XplatUIWin32.cs:
  - Moved EraseWindowBackground() method to internal methods
  - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
    is sent via SendMessage on BeginPaint call on Win32
* XplatUIX11.cs:
  - Added EraseWindowBackground() method
  - No longer sends WM_ERASEBKGND on .Expose, but on call to
    PaintEventStart, which more closely matches Win32 behaviour
  - Fixed Invalidate() call, now updates new ErasePending Hwnd property
  - Fixed SetFocus() to properly deal with client and whole windows
* Hwnd.cs: Added ErasePending property
* XplatUIOSX.cs: Stubbed EraseWindowBackground() method
* XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method

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

19 years agoIn System.Drawing.Drawing2D:
Jordi Mas i Hernandez [Tue, 15 Mar 2005 12:11:30 +0000 (12:11 -0000)]
In System.Drawing.Drawing2D:
2005-03-15 Jordi Mas i Hernandez <jordi@ximian.com>

* GraphicsState.cs: should only contain the nativeState cookie
* Matrix.cs: Fixes Dispose method to allow to be called multiple times

In System.Drawing:
2005-03-15 Jordi Mas i Hernandez <jordi@ximian.com>

* Pen.cs: Fixes dispose method to allow to be called multiple times
* Graphics.cs: matrix are saved and restored at gdiplus level

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

19 years agoNew tests + updated wrong (need to flush before it become chaotic)
Marek Safar [Tue, 15 Mar 2005 11:36:52 +0000 (11:36 -0000)]
New tests + updated wrong (need to flush before it become chaotic)
Removed obsole tests.

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

19 years ago2005-03-15 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Tue, 15 Mar 2005 08:19:50 +0000 (08:19 -0000)]
2005-03-15  Marek Safar  <marek.safar@seznam.cz>

* class.cs (TypeContainer.CircularDepException) New nested
(MethodCore.CheckBase): Report CS1715 for properties and indexers.

* cs-parser.jay: Reports CS1527 for any namespace element.

* delegate.cs (DelegateCreation.Error_NoMatchingMethodForDelegate):
Added CS0407.

* expression.cs (ParameterReference.IsAssigned): Changed error to
CS0269.
(Error_WrongNumArguments): Moved CS0245 detection here.

* statement.cs (Return.Resolve): Add CS1622 report.

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

19 years agoremove cs0720.cs
Raja R Harinath [Tue, 15 Mar 2005 08:02:10 +0000 (08:02 -0000)]
remove cs0720.cs

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

19 years ago2005-03-15 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Tue, 15 Mar 2005 07:25:37 +0000 (07:25 -0000)]
2005-03-15  Marek Safar <marek.safar@seznam.cz>

* a-capture{2,3,4}.cs: Fixed tests.

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

19 years agosupported '\' operator for objects
Satya Sudha K [Tue, 15 Mar 2005 06:34:11 +0000 (06:34 -0000)]
supported '\' operator for objects

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

19 years agoSupported '\' operator
Satya Sudha K [Tue, 15 Mar 2005 06:30:09 +0000 (06:30 -0000)]
Supported '\' operator

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

19 years ago2004-03-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 15 Mar 2005 05:43:56 +0000 (05:43 -0000)]
2004-03-15  Atsushi Enomoto  <atsushi@ximian.com>

* DTMXPathDocumentWriter2.cs : Eliminated Depth as well as -builder.
* DTMXPathNode2.cs, DTMXPathDocumentBuilder2.cs :
  Eliminated Depth at all.

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

19 years ago2004-03-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 15 Mar 2005 04:34:36 +0000 (04:34 -0000)]
2004-03-15  Atsushi Enomoto  <atsushi@ximian.com>

* DTMXPathDocumentBuilder2.cs : Eliminating Depth. Store parent index
  stack instead of depending on Depth.
  Just use hasAttributes and hasLocalNs instead of indices.
* DTMXPathNavigator2.cs : (get_Value) Check empty element earlier.

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

19 years ago2005-03-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 15 Mar 2005 01:43:22 +0000 (01:43 -0000)]
2005-03-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DirectoryEntry.cs: username and password are now initialized to null.
Patch by Boris Kirzner (Mainsoft).

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

19 years ago2005-03-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 15 Mar 2005 01:39:19 +0000 (01:39 -0000)]
2005-03-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* PropertyValueCollection.cs: the Value property for an empty collection
is now null and setting Value to null clears the collection. Patch by
Boris Kirzner (Mainsoft).

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

19 years agoremoved unneeded if/endif
Gonzalo Paniagua Javier [Tue, 15 Mar 2005 01:35:15 +0000 (01:35 -0000)]
removed unneeded if/endif

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

19 years ago2005-03-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 15 Mar 2005 01:01:38 +0000 (01:01 -0000)]
2005-03-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web.dll.sources: added new files in System.Web.Configuration.

* System.Web.Configuration/CodeSubDirectoriesCollection.cs:
* System.Web.Configuration/ExpressionBuilderCollection.cs:
* System.Web.Configuration/BuildProviderCollection.cs:
* System.Web.Configuration/CompilerCollection.cs:
* System.Web.Configuration/CompilationConfigurationHandler.cs:
* System.Web.Configuration/ExpressionBuilder.cs:
* System.Web.Configuration/Compiler.cs:
* System.Web.Configuration/CompilationSection.cs:
* System.Web.Configuration/CompilationConfiguration.cs:
* System.Web.Configuration/CodeSubDirectory.cs: added and implemented
most of these files that are used when reading configuration files in
NET_2_0.

* System.Web.Configuration/WebCompiler.cs: renamed to Compiler.cs

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

19 years ago2005-03-14 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 14 Mar 2005 23:14:02 +0000 (23:14 -0000)]
2005-03-14  Sebastien Pouliot  <sebastien@ximian.com>

* StackFrame.cs: Fix CAS unit tests for NET_1_1.
* StackTrace.cs: Fix CAS unit tests for NET_1_1.

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

19 years ago2005-03-14 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 14 Mar 2005 23:13:06 +0000 (23:13 -0000)]
2005-03-14  Sebastien Pouliot  <sebastien@ximian.com>

* Environment.cs: Fix CAS unit tests for NET_1_1.
* Exception.cs: Fix CAS unit tests for NET_1_1.

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