mono.git
19 years ago Test cases for Type members and Like operator
Manjula GHM [Fri, 18 Mar 2005 04:45:46 +0000 (04:45 -0000)]
      Test cases for Type members and Like operator

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

19 years ago Test cases for Type members and Like operator
Manjula GHM [Fri, 18 Mar 2005 04:40:27 +0000 (04:40 -0000)]
 Test cases for Type members and Like operator

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

19 years ago * XplatUIX11.cs: Fixed menu coord calculations
Peter Dennis Bartok [Fri, 18 Mar 2005 00:40:21 +0000 (00:40 -0000)]
* XplatUIX11.cs: Fixed menu coord calculations
* MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
  for calculating offsets

2005-03-17  Peter Bartok  <pbartok@novell.com>

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

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

* Hwnd.cs: Do not consider menu presence for default client
  rectangle location/size
* XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
  translation functions
* FileDialog.cs: Fixed (what I presume is a) typo

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

19 years ago2005-03-17 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 17 Mar 2005 23:34:42 +0000 (23:34 -0000)]
2005-03-17  Miguel de Icaza  <miguel@novell.com>

* convert.cs: When converting to a pointer, use the proper Conv.U
or Conv.I depending on the source data type.

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

19 years agoupdated
Gonzalo Paniagua Javier [Thu, 17 Mar 2005 23:23:02 +0000 (23:23 -0000)]
updated

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

19 years agoUpdate
Miguel de Icaza [Thu, 17 Mar 2005 22:22:10 +0000 (22:22 -0000)]
Update

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

19 years ago2005-03-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 17 Mar 2005 20:48:04 +0000 (20:48 -0000)]
2005-03-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* MonoIO.cs:
* MonoIOError.cs: handle ERROR_LOCK_VIOLATION.

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

19 years ago2005-03-17 Miguel de Icaza <miguel@novell.com>
Gonzalo Paniagua Javier [Thu, 17 Mar 2005 20:46:40 +0000 (20:46 -0000)]
2005-03-17 Miguel de Icaza <miguel@novell.com>

* io.c: don't fail on NFS when there are no more locks available.

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

19 years ago2005-03-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 17 Mar 2005 19:43:32 +0000 (19:43 -0000)]
2005-03-17  Sebastien Pouliot  <sebastien@ximian.com>

* IsolatedStorageScope.cs: Add missing BOOTSTRAP_NET_2_0 to new enum
values. Fix #73046.
* IsolatedStorageFile.cs: Remove commented security attributes.

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

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

* IsolatedStorageContainment.cs: Add missing BOOTSTRAP_NET_2_0 to new
enum values. Fix bug #73046.

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

19 years agoBump version number
Sebastien Pouliot [Thu, 17 Mar 2005 19:12:06 +0000 (19:12 -0000)]
Bump version number

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

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

* SecurityAction.cs: Use `#if NET_2_0 || BOOTSTRAP_NET_2_0'.

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

19 years ago2005-03-17 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 17 Mar 2005 18:09:07 +0000 (18:09 -0000)]
2005-03-17  Miguel de Icaza  <miguel@novell.com>

* cs-tokenizer.cs: Make the size for large decimal constants,
fixes #72957.

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

19 years agoAdd new test
Miguel de Icaza [Thu, 17 Mar 2005 18:08:56 +0000 (18:08 -0000)]
Add new test

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

19 years ago2005-03-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 17 Mar 2005 17:41:55 +0000 (17:41 -0000)]
2005-03-17  Sebastien Pouliot  <sebastien@ximian.com>

* Makefile: Added tests from demand directory to execution.

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

19 years agoOoops.
Martin Baulig [Thu, 17 Mar 2005 16:54:10 +0000 (16:54 -0000)]
Ooops.

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

19 years ago2005-03-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 17 Mar 2005 16:18:36 +0000 (16:18 -0000)]
2005-03-17  Sebastien Pouliot  <sebastien@ximian.com>

* declsec.c: Renamed aptc to allowpartiallytrustedcallers.
* mini.c: Check for p/invoke method when generating code. If a
p/invoke method, or it's class, isn't decorated with [Suppress
UnmanagedCodeSecurity] then generate code to call System.Security.
UnmanagedDemand (only if the security manager is active).

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

19 years ago2005-03-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 17 Mar 2005 16:18:27 +0000 (16:18 -0000)]
2005-03-17  Sebastien Pouliot  <sebastien@ximian.com>

* security-manager.c|h: Added demandunmanaged method and
suppressunmanagedcodesecurity class to MonoSecurityManager.
Renamed aptc class to allowpartiallytrustedcallers.

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

19 years agoDirectoryServicesDirectoryEntryTest.cs: New. Unit tests for DirectoryServices.Directo...
Boris Kirzner [Thu, 17 Mar 2005 14:55:42 +0000 (14:55 -0000)]
DirectoryServicesDirectoryEntryTest.cs: New. Unit tests for DirectoryServices.DirectoryEntry.
DirectoryServicesDirectorySearcherTest.cs: New. Unit tests for DirectoryServices.DirectorySearcher.
DirectoryServicesSearchResultTest.cs: New. Unit tests for DirectoryServices.SearchResult.

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

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

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

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

* anonymous.cs (AnonymousMethod.method_modifiers): Change default
from `Modifiers.INTERNAL' to `Modifiers.PRIVATE'.  Fixes #73260.

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

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

* anonymous.cs (AnonymousMethod.method_modifiers): Change default
from `Modifiers.INTERNAL' to `Modifiers.PRIVATE'.  Fixes #73260.

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

19 years ago2005-03-17 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 17 Mar 2005 12:44:07 +0000 (12:44 -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=41944

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