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
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
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
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
Sebastien Pouliot [Thu, 17 Mar 2005 19:12:06 +0000 (19:12 -0000)]
Bump version number
svn path=/trunk/mcs/; revision=41957
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
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
Miguel de Icaza [Thu, 17 Mar 2005 18:08:56 +0000 (18:08 -0000)]
Add new test
svn path=/trunk/mcs/; revision=41954
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
Martin Baulig [Thu, 17 Mar 2005 16:54:10 +0000 (16:54 -0000)]
Ooops.
svn path=/trunk/mcs/; revision=41951
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
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
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
Martin Baulig [Thu, 17 Mar 2005 12:56:54 +0000 (12:56 -0000)]
New test.
svn path=/trunk/mcs/; revision=41947
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
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
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
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
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
Martin Baulig [Thu, 17 Mar 2005 12:30:43 +0000 (12:30 -0000)]
New test.
svn path=/trunk/mcs/; revision=41941
Dick Porter [Thu, 17 Mar 2005 12:29:01 +0000 (12:29 -0000)]
Remove svn change marker
svn path=/trunk/mono/; revision=41940
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
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
Raja R Harinath [Thu, 17 Mar 2005 11:41:11 +0000 (11:41 -0000)]
fix
svn path=/trunk/mcs/; revision=41937
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
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
Martin Baulig [Thu, 17 Mar 2005 10:31:47 +0000 (10:31 -0000)]
New test.
svn path=/trunk/mcs/; revision=41933
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Martin Baulig [Wed, 16 Mar 2005 14:51:40 +0000 (14:51 -0000)]
Reverted the merging.
svn path=/trunk/mcs/; revision=41904
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
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
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
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
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
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
Martin Baulig [Wed, 16 Mar 2005 12:56:33 +0000 (12:56 -0000)]
**** Merged r39626-39898 from MCS ****
svn path=/trunk/mcs/; revision=41894
Martin Baulig [Wed, 16 Mar 2005 12:52:57 +0000 (12:52 -0000)]
**** Merged r39544-r39566 from MCS ****
svn path=/trunk/mcs/; revision=41893
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
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
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
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
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
Raja R Harinath [Wed, 16 Mar 2005 11:24:38 +0000 (11:24 -0000)]
update
svn path=/trunk/mcs/; revision=41886
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
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
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
Raja R Harinath [Wed, 16 Mar 2005 10:17:17 +0000 (10:17 -0000)]
svn:eol-style=native
svn path=/trunk/mcs/; revision=41882
Martin Baulig [Wed, 16 Mar 2005 10:16:35 +0000 (10:16 -0000)]
New test.
svn path=/trunk/mcs/; revision=41881
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
Raja R Harinath [Wed, 16 Mar 2005 10:12:45 +0000 (10:12 -0000)]
svn:eol-style=native
svn path=/trunk/mcs/; revision=41879
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
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
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
Raja R Harinath [Wed, 16 Mar 2005 09:06:37 +0000 (09:06 -0000)]
Updated to new tests
svn path=/trunk/mcs/; revision=41873
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
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
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
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
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
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
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
Miguel de Icaza [Tue, 15 Mar 2005 21:31:06 +0000 (21:31 -0000)]
Update man page
svn path=/trunk/mono/; revision=41863
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Sebastien Pouliot [Tue, 15 Mar 2005 13:04:26 +0000 (13:04 -0000)]
svn path=/trunk/mono/; revision=41835