Jonathan Pobst [Wed, 25 Nov 2009 16:13:09 +0000 (16:13 -0000)]
- win32.xml: Add details for System.Web resources instead of requiring
separate System.Web.dll.resources file.
svn path=/trunk/mono/; revision=146918
Jonathan Pobst [Wed, 25 Nov 2009 16:03:23 +0000 (16:03 -0000)]
- win32.xml: Remove obsolete, disabled steps.
svn path=/trunk/mono/; revision=146917
Jonathan Pobst [Wed, 25 Nov 2009 15:45:52 +0000 (15:45 -0000)]
- Add "installeronly" tags so the same file can be used for MonkeyBuilder
and for the buildbot.
svn path=/trunk/mono/; revision=146916
Jb Evain [Wed, 25 Nov 2009 15:43:49 +0000 (15:43 -0000)]
in System.Collections.Generic:
2009-11-25 Jb Evain <jbevain@novell.com>
* Queue.cs (ICollection.CopyTo): fix typo, remove code duplication.
in Test/System.Collections.Generic:
2009-11-25 Jb Evain <jbevain@novell.com>
* QueueTest.cs: add tests for ICollection.CopyTo.
svn path=/trunk/mcs/; revision=146914
Marek Safar [Wed, 25 Nov 2009 13:54:37 +0000 (13:54 -0000)]
Forget to commit
svn path=/trunk/mcs/; revision=146908
Zoltan Varga [Wed, 25 Nov 2009 13:38:22 +0000 (13:38 -0000)]
2009-11-25 Zoltan Varga <vargaz@gmail.com>
* DelegateTest.cs: Add a test for GetHashCode ().
svn path=/trunk/mcs/; revision=146904
Zoltan Varga [Wed, 25 Nov 2009 13:38:15 +0000 (13:38 -0000)]
2009-11-25 Zoltan Varga <vargaz@gmail.com>
* Delegate.cs (GetHashCode): Fix this so it is constant.
svn path=/trunk/mcs/; revision=146903
Sebastien Pouliot [Wed, 25 Nov 2009 13:07:00 +0000 (13:07 -0000)]
2009-11-25 Sebastien Pouliot <sebastien@ximian.com>
* verify.c (mono_method_verify): Use the uninflated type name,
when the inflated is null, to report errors. Also take care when
freeing, not to free everything since, in case of an error, some
stuff would be copies (i.e. not allocated by the function itself)
Fix bug #558145
svn path=/trunk/mono/; revision=146900
Zoltan Varga [Wed, 25 Nov 2009 12:50:25 +0000 (12:50 -0000)]
2009-11-25 Zoltan Varga <vargaz@gmail.com>
* debugger-agent.c (vm_commands): Implement EXIT by invoking Environment.Exit ()
on a random thread if possible.
svn path=/trunk/mono/; revision=146897
Zoltan Varga [Wed, 25 Nov 2009 12:50:16 +0000 (12:50 -0000)]
2009-11-25 Zoltan Varga <vargaz@gmail.com>
* mono-hash.c (mono_g_hash_table_find): Implement this.
svn path=/trunk/mono/; revision=146896
Ankit Jain [Wed, 25 Nov 2009 12:28:10 +0000 (12:28 -0000)]
* xbuild/Microsoft.Common.targets: Emit list of files written
during the build to the obj/$(Config) rather than obj/, to keep
them per config. Bug reported by : Greg F <kog@epiphanic.org>
svn path=/trunk/mcs/; revision=146895
Marek Safar [Wed, 25 Nov 2009 11:51:19 +0000 (11:51 -0000)]
2009-11-25 Marek Safar <marek.safar@gmail.com>
* ecore.cs, cs-parser.jay: Keep parser structures local. Share
common data buckers.
svn path=/trunk/mcs/; revision=146893
Ankit Jain [Wed, 25 Nov 2009 11:38:02 +0000 (11:38 -0000)]
* ToolLocationHelper.cs: Set directory for 3.0 framework
to "2.0"
svn path=/trunk/mcs/; revision=146892
Daniel Morgan [Wed, 25 Nov 2009 05:51:06 +0000 (05:51 -0000)]
2009-11-25 Daniel Morgan <monodanmorg@yahoo.com>
* System.Data.OracleClient/OracleParameter.cs: add
parameter support for LONG RAW and RAW data types
* System.Data.OracleClient.Oci/OciDefineHandle.cs: flush
extra assigning of types
svn path=/trunk/mcs/; revision=146885
Jonathan Pryor [Wed, 25 Nov 2009 04:25:11 +0000 (04:25 -0000)]
* Monodoc/ecma-provider.cs: Use XslCompiledTransform instead of
XslTransform, as XslCompiledTransform is *significantly* faster
under .NET (3m7s -> 1.7s for some tests).
svn path=/trunk/mcs/; revision=146884
Jonathan Pryor [Wed, 25 Nov 2009 04:13:21 +0000 (04:13 -0000)]
* Mono.Documentation/monodocs2html.cs: Use XslCompiledTransform, as
it's *significantly* faster under .NET than XslTransform --
1.7s vs ~3 minutes 7s (for a trivial test case).
svn path=/trunk/mcs/; revision=146883
Rodrigo Kumpera [Wed, 25 Nov 2009 01:41:34 +0000 (01:41 -0000)]
2009-11-24 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (stack_push, stack_pop, stack_pop_safe): Assert if we underflow
or overflow. The caller must have done this check explicitly. This guard us
from accessing invalid memory.
* verify.c (do_push_static_field): Check for stack overflow.
Fixes #553333.
svn path=/trunk/mono/; revision=146876
Rodrigo Kumpera [Wed, 25 Nov 2009 01:41:20 +0000 (01:41 -0000)]
2009-11-24 Rodrigo Kumpera <rkumpera@novell.com>
* loader.c (find_method_in_class): Don't crash if the signature cannot
be resolved.
* metadata.c (mono_metadata_parse_generic_param): Return NULL instead
of asserting for the case of invalid params.
Fixes #553304.
svn path=/trunk/mono/; revision=146875
Geoff Norton [Wed, 25 Nov 2009 00:54:44 +0000 (00:54 -0000)]
2009-11-24 Geoff Norton <gnorton@novell.com>
* mini-darwin.c: Work around apple bug rdar://
7209349 See
http://openradar.appspot.com/
7209349 for details. Synopsis,
CoreFoundation SIGTRAP's if you dlopen it off the main thread if its
never been initialized before.
svn path=/trunk/mono/; revision=146873
Zoltan Varga [Tue, 24 Nov 2009 22:56:36 +0000 (22:56 -0000)]
2009-11-25 Zoltan Varga <vargaz@gmail.com>
* aot-runtime.c (mono_aot_plt_resolve): Clean up the handling of function
descriptors a bit, add comments, handle RGCTX_FETCH/GENERIC_CLASS_INIT_TRAMPOLINE
correctly.
* exceptions-ppc.c (mono_arch_find_jit_info_ext): Use mgreg_t as the type of
regs. Pass the real size of the regs array to mono_unwind_frame ().
* unwind.c (mono_unwind_frame): Remove an incorrect assert, add more correct
ones instead.
svn path=/trunk/mono/; revision=146867
Zoltan Varga [Tue, 24 Nov 2009 21:58:20 +0000 (21:58 -0000)]
2009-11-24 Zoltan Varga <vargaz@gmail.com>
* tramp-arm.c: Use blx instead of mov pc, reg to improve support for thumb.
* mini-arm.c (mono_arm_thumb_supported): New helper function.
svn path=/trunk/mono/; revision=146863
Zoltan Varga [Tue, 24 Nov 2009 18:29:54 +0000 (18:29 -0000)]
2009-11-24 Zoltan Varga <vargaz@gmail.com>
* cfold.c (mono_constant_fold_ins): Fix a problem in the previous change,
OP_SHL_IMM is not 32 bit.
svn path=/trunk/mono/; revision=146852
Marek Safar [Tue, 24 Nov 2009 16:32:12 +0000 (16:32 -0000)]
Fixes build.
svn path=/trunk/mcs/; revision=146842
Marek Safar [Tue, 24 Nov 2009 16:30:55 +0000 (16:30 -0000)]
2009-11-24 Marek Safar <marek.safar@gmail.com>
* StreamReader.cs, FileStream.cs: Use recycle buffer to avoid
repeated underlying buffer initialization (saves hefty 10MB
during corlib compilation).
* Path.cs (InsecureGetFullPath): Avoid CanonicalizePath in common
path.
svn path=/trunk/mcs/; revision=146841
Sebastien Pouliot [Tue, 24 Nov 2009 16:17:17 +0000 (16:17 -0000)]
2009-11-24 Sebastien Pouliot <sebastien@ximian.com>
* image.c (mono_image_load_module): Fix crash when a bad assembly
has no module at all (fix bug #553412) and also replace the
g_assert with a return NULL (documented return value for failure)
svn path=/trunk/mono/; revision=146839
Marek Safar [Tue, 24 Nov 2009 16:08:59 +0000 (16:08 -0000)]
2009-11-24 Marek Safar <marek.safar@gmail.com>
* UTF8Encoding.cs (GetPreamble): Let compiler optimize it.
svn path=/trunk/mcs/; revision=146838
Marek Safar [Tue, 24 Nov 2009 16:07:17 +0000 (16:07 -0000)]
Updated.
svn path=/trunk/mcs/; revision=146837
Marek Safar [Tue, 24 Nov 2009 16:05:44 +0000 (16:05 -0000)]
2009-11-24 Marek Safar <marek.safar@gmail.com>
* expression.cs: Lower static array initializer barrier.
* support.cs, driver.cs: Share reader buffer.
svn path=/trunk/mcs/; revision=146836
Jb Evain [Tue, 24 Nov 2009 15:24:28 +0000 (15:24 -0000)]
2009-11-24 Jb Evain <jbevain@novell.com>
* Array.cs: use ContainsGenericParameters instead of
IsGenericTypeDefinition as it catches more cases.
svn path=/trunk/mcs/; revision=146834
Zoltan Varga [Tue, 24 Nov 2009 15:21:50 +0000 (15:21 -0000)]
2009-11-24 Zoltan Varga <vargaz@gmail.com>
* mono-io-portability.c (append_report): g_string_append_vprintf is available
only in glib 2.14.
svn path=/trunk/mono/; revision=146833
Jb Evain [Tue, 24 Nov 2009 15:01:31 +0000 (15:01 -0000)]
in System:
2009-11-24 Jb Evain <jbevain@novell.com>
* Array.cs (IList.this[int]): prevent the use of the IList indexer
when dealing with a multi dimensional array.
in Test/System:
2009-11-24 Jb Evain <jbevain@novell.com>
* ArrayTest.cs: test that we don't allow the use of the IList indexer
on a multi dimensional array.
svn path=/trunk/mcs/; revision=146831
Zoltan Varga [Tue, 24 Nov 2009 14:41:55 +0000 (14:41 -0000)]
2009-11-24 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (encode_patch): Fix the encoding of R8 on big-endian systems.
svn path=/trunk/mono/; revision=146829
Zoltan Varga [Tue, 24 Nov 2009 14:25:49 +0000 (14:25 -0000)]
2009-11-24 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c: Avoid infinite recursion when generic virtual recursion is
encountered.
svn path=/trunk/mono/; revision=146828
Jb Evain [Tue, 24 Nov 2009 14:20:01 +0000 (14:20 -0000)]
in System:
2009-11-24 Jb Evain <jbevain@novell.com>
* Array.cs (Clear): throw an IndexOutOfRangeException instead
of an ArgumentOutRangeException for a negative length.
in Test/System:
2009-11-24 Jb Evain <jbevain@novell.com>
* ArrayTest: test for the proper exception on Clear ().
svn path=/trunk/mcs/; revision=146825
Jb Evain [Tue, 24 Nov 2009 13:58:53 +0000 (13:58 -0000)]
2009-11-24 Jb Evain <jbevain@novell.com>
* ArrayTest.cs: add test ensuring we do not allow open
generic types in CreateInstance.
svn path=/trunk/mcs/; revision=146823
Jb Evain [Tue, 24 Nov 2009 13:57:32 +0000 (13:57 -0000)]
2009-11-24 Jb Evain <jbevain@novell.com>
* Array.cs (CreateInstance): do not allow open generic types.
svn path=/trunk/mcs/; revision=146821
Jb Evain [Tue, 24 Nov 2009 13:43:06 +0000 (13:43 -0000)]
Fix all CreateInstance overloads for void
svn path=/trunk/mcs/; revision=146818
Jb Evain [Tue, 24 Nov 2009 13:31:35 +0000 (13:31 -0000)]
2009-11-24 Jb Evain <jbevain@novell.com>
* ArrayTest.cs: Add test ensuring we do not allow void arrays.
svn path=/trunk/mcs/; revision=146815
Jb Evain [Tue, 24 Nov 2009 13:30:03 +0000 (13:30 -0000)]
2009-11-24 Jb Evain <jbevain@novell.com>
* Array.cs (CreateInstance): do not allow void arrays.
svn path=/trunk/mcs/; revision=146814
Jb Evain [Tue, 24 Nov 2009 13:22:01 +0000 (13:22 -0000)]
NET_1_1 removal
svn path=/trunk/mcs/; revision=146813
Jb Evain [Tue, 24 Nov 2009 13:21:38 +0000 (13:21 -0000)]
NET_1_1 removal
svn path=/trunk/mcs/; revision=146812
Zoltan Varga [Tue, 24 Nov 2009 12:58:49 +0000 (12:58 -0000)]
2009-11-24 Zoltan Varga <vargaz@gmail.com>
* ObjectMirror.cs TypeMirror.cs StructMirror.cs: Make the BeginInvokeMethod
which takes a 'vm' argument obsolete, it was added by mistake, add a version
without that argument instead.
svn path=/trunk/mcs/; revision=146806
Zoltan Varga [Tue, 24 Nov 2009 12:56:10 +0000 (12:56 -0000)]
2009-11-24 Zoltan Varga <vargaz@gmail.com>
* dtest.cs dtest-app.cs: Add a test for single threaded invokes + events.
svn path=/trunk/mono/; revision=146805
Zoltan Varga [Tue, 24 Nov 2009 12:56:03 +0000 (12:56 -0000)]
2009-11-24 Zoltan Varga <vargaz@gmail.com>
* debugger-agent.c (resume_vm): Signal the suspend_cond even if suspend_count
> 0 since some threads can resume if their resume_count is > 0.
(invoke_method): Avoid reading freed memory.
svn path=/trunk/mono/; revision=146804
Zoltan Varga [Tue, 24 Nov 2009 12:05:38 +0000 (12:05 -0000)]
2009-11-24 Zoltan Varga <vargaz@gmail.com>
* debugger-agent.c (process_suspend): Extract the suspend code from
process_single_step_inner () to a separate function. Rework the code to prevent
races between this function and thread interrupts.
svn path=/trunk/mono/; revision=146803
Jonathan Pryor [Tue, 24 Nov 2009 04:32:34 +0000 (04:32 -0000)]
* Resources/overview.xsl, Resources/stylesheet.xsl: Remove the 'ext'
and 'language' global <xsl:param>'s, as they cause "variable 'foo'
was duplicated within the same scope" errors under .NET.
svn path=/trunk/mcs/; revision=146792
Carlos Alberto Cortez [Tue, 24 Nov 2009 01:24:08 +0000 (01:24 -0000)]
2009-11-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* Comparer.cs: Our DefaultComparer class should be serializable just
as the generic one is.
Fixes #503585.
svn path=/trunk/mcs/; revision=146789
Zoltan Varga [Tue, 24 Nov 2009 00:37:39 +0000 (00:37 -0000)]
2009-11-24 Zoltan Varga <vargaz@gmail.com>
* tramp-amd64.c (mono_arch_nullify_class_init_trampoline): Handle more llvm
calling sequences.
svn path=/trunk/mono/; revision=146787
Gonzalo Paniagua Javier [Tue, 24 Nov 2009 00:32:37 +0000 (00:32 -0000)]
2009-11-23 Gonzalo Paniagua Javier <gonzalo@novell.com>
* ConnectionManagementElement.cs: bump maxconnection to 6.
svn path=/trunk/mcs/; revision=146786
Zoltan Varga [Tue, 24 Nov 2009 00:02:04 +0000 (00:02 -0000)]
2009-11-24 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (add_generic_instances): Only emit the GetGenericValueImpl
wrapper into the mscorlib aot image.
svn path=/trunk/mono/; revision=146780
Zoltan Varga [Mon, 23 Nov 2009 23:17:14 +0000 (23:17 -0000)]
2009-11-24 Zoltan Varga <vargaz@gmail.com>
* debugger-agent.c (suspend_current): Check the resume_count field instead
of resume_one so suspends+resumes during single threaded invokes work
correctly.
svn path=/trunk/mono/; revision=146777
Andreas Färber [Mon, 23 Nov 2009 21:10:40 +0000 (21:10 -0000)]
2009-11-23 Andreas Faerber <andreas.faerber@web.de>
* mono-mmap.c (mono_mprotect): Use posix_madvise in absence of madvise.
This commit is licensed under the MIT X11 license.
svn path=/trunk/mono/; revision=146769
Carlos Alberto Cortez [Mon, 23 Nov 2009 18:44:27 +0000 (18:44 -0000)]
2009-11-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* Array.cs: When sorting and we are sorting value types implementing
IComparable<T>, use its corresponding Comparer<T>.Default helper.
This way we avoid casting our values to IComparable<T>, and thus we
avoid *all* the boxing for them. Using Comparer<T>.Default seems to be
slower for reference types, so we don't use it for those ones.
svn path=/trunk/mcs/; revision=146763
Jonathan Pryor [Mon, 23 Nov 2009 18:44:11 +0000 (18:44 -0000)]
* Mono.Documentation/monodocer.cs: ".NET support": ensure that we
always get Unix line endings so that we can update documentation
under both Mono & .NET w/o continually changing the file due to
line-ending differences.
svn path=/trunk/mcs/; revision=146762
Raja R Harinath [Mon, 23 Nov 2009 18:32:04 +0000 (18:32 -0000)]
update known issues with test that's been failing for some time now
svn path=/trunk/mcs/; revision=146756
Marek Habersack [Mon, 23 Nov 2009 16:38:42 +0000 (16:38 -0000)]
2009-11-23 Marek Habersack <mhabersack@novell.com>
* mono-io-portability.c: gather up and report misnamed files
accessed by the application if the 'report' option is present in
the MONO_IOMAP environment variable.
2009-11-23 Marek Habersack <mhabersack@novell.com>
* mono.1: documented the 'report' option for MONO_IOMAP
svn path=/trunk/mono/; revision=146740
Marek Habersack [Mon, 23 Nov 2009 16:24:04 +0000 (16:24 -0000)]
2009-11-23 Marek Habersack <mhabersack@novell.com>
* HttpRequest.cs: PathInfo returns an empty string when worker
request is absent or its GetPathInfo method returns a null. Patch
from Tiaan <tagdev@gmail.com>, thanks!
2009-11-23 Marek Habersack <mhabersack@novell.com>
* Route.cs: GetRouteData throws NotImplementedException only when
pathInfo for the current request is a non-empty string. Patch from
Tiaan <tagdev@gmail.com>, thanks!
svn path=/trunk/mcs/; revision=146732
Zoltan Varga [Mon, 23 Nov 2009 16:15:55 +0000 (16:15 -0000)]
2009-11-23 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (emit_llvm_file): Enable some llvm optimizations which seem
to make the generated code smaller.
svn path=/trunk/mono/; revision=146730
Zoltan Varga [Mon, 23 Nov 2009 16:03:20 +0000 (16:03 -0000)]
2009-11-23 Zoltan Varga <vargaz@gmail.com>
* tramp-amd64.c (mono_arch_nullify_class_init_trampoline): Add a code
sequence generated by recent LLVM versions.
svn path=/trunk/mono/; revision=146729
Zoltan Varga [Mon, 23 Nov 2009 15:53:58 +0000 (15:53 -0000)]
2009-11-23 Zoltan Varga <vargaz@gmail.com>
* mini-llvm.c: Add support for a few simple cases which weren't supported
before.
* mini-trampolines.c (mono_magic_trampoline): Don't call
mono_arch_get_vcall_slot () when llvm is enabled.
* aot-compiler.c (emit_llvm_file): Add code to run the 'opt' llvm tool.
svn path=/trunk/mono/; revision=146728
Zoltan Varga [Mon, 23 Nov 2009 15:53:51 +0000 (15:53 -0000)]
2009-11-23 Zoltan Varga <vargaz@gmail.com>
* debug-helpers.c (mono_type_get_desc): Handle typedbyref.
svn path=/trunk/mono/; revision=146727
Marek Safar [Mon, 23 Nov 2009 14:55:42 +0000 (14:55 -0000)]
2009-11-23 Marek Safar <marek.safar@gmail.com>
* cs-tokenizer.cs, support.cs: Some tokenizer optimizations.
svn path=/trunk/mcs/; revision=146724
Zoltan Varga [Mon, 23 Nov 2009 09:29:00 +0000 (09:29 -0000)]
Fix the 2.6 build.
svn path=/trunk/mono/; revision=146713
Marek Safar [Mon, 23 Nov 2009 09:05:36 +0000 (09:05 -0000)]
2009-11-23 Marek Safar <marek.safar@gmail.com>
* cs-tokenizer.cs, support.cs: Use Dictionary instead of Hashtable,
cleanup some obsolete code.
svn path=/trunk/mcs/; revision=146712
Marek Safar [Mon, 23 Nov 2009 08:57:23 +0000 (08:57 -0000)]
Unused
svn path=/trunk/mcs/; revision=146711
Jb Evain [Mon, 23 Nov 2009 08:38:29 +0000 (08:38 -0000)]
2009-11-23 Jb Evain <jbevain@novell.com>
* Descriptors/mscorlib.xml: protect the InternalThread class.
Fixes #555871.
svn path=/trunk/mcs/; revision=146709
Zoltan Varga [Mon, 23 Nov 2009 08:25:41 +0000 (08:25 -0000)]
2009-11-23 Zoltan Varga <vargaz@gmail.com>
* mini-trampolines.c (mono_magic_trampoline): Extract the bulk of this function
into a new function called common_call_trampoline () which is used by the
llvm vcall trampoline as well.
svn path=/trunk/mono/; revision=146708
Miguel de Icaza [Mon, 23 Nov 2009 07:22:20 +0000 (07:22 -0000)]
Add new overloads
svn path=/trunk/mcs/; revision=146707
Miguel de Icaza [Mon, 23 Nov 2009 06:51:41 +0000 (06:51 -0000)]
2009-11-23 Miguel de Icaza <miguel@novell.com>
* Directory.cs: Add EnumerateFiles and EnumerateFileSystemEntries
overloads. Share code.
svn path=/trunk/mcs/; revision=146706
Miguel de Icaza [Mon, 23 Nov 2009 06:50:57 +0000 (06:50 -0000)]
svn path=/trunk/mono/; revision=146705
Carlos Alberto Cortez [Mon, 23 Nov 2009 06:49:25 +0000 (06:49 -0000)]
2009-11-23 Juraj Skripsky <js@hotfeet.ch>
* List.cs (Sort): Call more appropriate overload of Array.Sort<T>.
Array.Sort<T> should be able to determine the comparison itself.
Speeds up the sorting for items of primitive type.
Fixes #530450.
svn path=/trunk/mcs/; revision=146704
Miguel de Icaza [Mon, 23 Nov 2009 03:45:41 +0000 (03:45 -0000)]
Reduce code duplication
svn path=/trunk/mcs/; revision=146701
Miguel de Icaza [Mon, 23 Nov 2009 03:45:27 +0000 (03:45 -0000)]
2009-11-21 Miguel de Icaza <miguel@novell.com>
* Assembly.cs: Implement missing method.
svn path=/trunk/mcs/; revision=146700
Miguel de Icaza [Mon, 23 Nov 2009 03:45:10 +0000 (03:45 -0000)]
2009-11-21 Miguel de Icaza <miguel@novell.com>
* RegistryKey.cs: Implement a GetValueKind and a handful of
methods.
svn path=/trunk/mcs/; revision=146699
Miguel de Icaza [Mon, 23 Nov 2009 03:44:51 +0000 (03:44 -0000)]
2009-11-22 Miguel de Icaza <miguel@novell.com>
* Directory.cs: Added new IEnumerable methods to Directory.
* MonoIO.cs: Surface a high level FindFirst/FindNext API to
implement the various enumerable APIs.
svn path=/trunk/mcs/; revision=146698
Miguel de Icaza [Mon, 23 Nov 2009 03:44:35 +0000 (03:44 -0000)]
Avoid code duplication
svn path=/trunk/mcs/; revision=146697
Miguel de Icaza [Mon, 23 Nov 2009 03:44:14 +0000 (03:44 -0000)]
2009-11-22 Miguel de Icaza <miguel@novell.com>
* Environment (IsUnix): expose this common property, so we avoid
duplicating code.
svn path=/trunk/mcs/; revision=146696
Miguel de Icaza [Mon, 23 Nov 2009 03:43:27 +0000 (03:43 -0000)]
2009-11-22 Miguel de Icaza <miguel@novell.com>
* file-io.c: Surface a smart FindFirst/FindNext/FindClose API to
the managed world.
* icall-def.h: New entry points.
svn path=/trunk/mono/; revision=146695
Zoltan Varga [Mon, 23 Nov 2009 01:32:14 +0000 (01:32 -0000)]
2009-11-23 Zoltan Varga <vargaz@gmail.com>
* dtest.cs dtest-app.cs: Add a test for single threaded invokes.
svn path=/trunk/mono/; revision=146693
Zoltan Varga [Mon, 23 Nov 2009 01:32:08 +0000 (01:32 -0000)]
2009-11-23 Zoltan Varga <vargaz@gmail.com>
* debugger-agent.c: Implement single threaded invokes.
svn path=/trunk/mono/; revision=146692
Zoltan Varga [Mon, 23 Nov 2009 01:15:07 +0000 (01:15 -0000)]
2009-11-23 Zoltan Varga <vargaz@gmail.com>
* debugger-agent.c: Revert change which broke the agent on linux.
svn path=/trunk/mono/; revision=146691
Zoltan Varga [Sun, 22 Nov 2009 23:23:38 +0000 (23:23 -0000)]
2009-11-23 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (inline_method): Prevent infinite recursion. Fixes
#557606.
* generics.cs: Add a test.
svn path=/trunk/mono/; revision=146688
Daniel Morgan [Sun, 22 Nov 2009 03:58:37 +0000 (03:58 -0000)]
2009-11-21 Daniel Morgan <monodanmorg@yahoo.com>
* System.Data.OracleClient/OracleParameter.cs: clean up
svn path=/trunk/mcs/; revision=146684
Daniel Morgan [Sun, 22 Nov 2009 02:58:05 +0000 (02:58 -0000)]
2009-11-21 Daniel Morgan <monodanmorg@yahoo.com>
* System.Data.OracleClient/OracleParameter.cs:
- if programmer explicitly sets the Size property,
do not override the size later if the Value property
is set for character data.
- for character and numeric data types, output and
return parameters were not allocated memory. Also,
input/output parameters need to allocate memory
based on Size because the output can be bigger than
the input after an execute.
* Test/TestOracleClient.cs: Data Adapter Test 2 is failing
for NET_2_0 profile.
svn path=/trunk/mcs/; revision=146683
Zoltan Varga [Sun, 22 Nov 2009 02:51:55 +0000 (02:51 -0000)]
2009-11-22 Zoltan Varga <vargaz@gmail.com>
* debugger-agent.c: Fix the cygwin build.
svn path=/trunk/mono/; revision=146682
Zoltan Varga [Sun, 22 Nov 2009 02:51:47 +0000 (02:51 -0000)]
2009-11-22 Zoltan Varga <vargaz@gmail.com>
* configure.in: Disable visibility attributes on cygwin.
svn path=/trunk/mono/; revision=146681
Miguel de Icaza [Sat, 21 Nov 2009 21:33:06 +0000 (21:33 -0000)]
API updates from Moma
svn path=/trunk/mcs/; revision=146680
Raja R Harinath [Sat, 21 Nov 2009 19:17:01 +0000 (19:17 -0000)]
Add a few TypeForwardedTo attributes for types moved to System.dll
* System.Collections.ObjectModel/ObservableCollection.cs [NET_4_0]:
Forward type to System.dll.
* System.Collections.ObjectModel/ReadOnlyObservableCollection.cs: Likewise.
* System.Collections.Specialized/INotifyCollectionChanged.cs: Likewise.
* System.Collections.Specialized/NotifyCollectionChangedAction.cs: Likewise.
* System.Collections.Specialized/NotifyCollectionChangedEventArgs.cs: Likewise.
* System.Collections.Specialized/NotifyCollectionChangedEventHandler.cs:
Likewise.
svn path=/trunk/mcs/; revision=146678
Daniel Morgan [Sat, 21 Nov 2009 05:45:47 +0000 (05:45 -0000)]
svn path=/trunk/mcs/; revision=146672
Zoltan Varga [Sat, 21 Nov 2009 02:54:00 +0000 (02:54 -0000)]
2009-11-21 Zoltan Varga <vargaz@gmail.com>
* cprop.c: Remove this unused file.
svn path=/trunk/mono/; revision=146671
Zoltan Varga [Sat, 21 Nov 2009 02:48:25 +0000 (02:48 -0000)]
2009-11-21 Zoltan Varga <vargaz@gmail.com>
* cfold.c (mono_constant_fold_ins): Fix constant folding of shr_imm. Fixes
#557262.
* basic.cs: Add a test.
svn path=/trunk/mono/; revision=146667
Zoltan Varga [Sat, 21 Nov 2009 01:05:18 +0000 (01:05 -0000)]
2009-11-21 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_method_to_ir): Use mono_use_llvm instead of ENABLE_LLVM
in one more place.
svn path=/trunk/mono/; revision=146665
Gonzalo Paniagua Javier [Sat, 21 Nov 2009 00:20:44 +0000 (00:20 -0000)]
PLATFORM_WIN32
svn path=/trunk/mono/; revision=146664
Gonzalo Paniagua Javier [Fri, 20 Nov 2009 22:50:26 +0000 (22:50 -0000)]
slipped #if 1
svn path=/trunk/mono/; revision=146655
Gonzalo Paniagua Javier [Fri, 20 Nov 2009 22:43:01 +0000 (22:43 -0000)]
removing PLATFORM_WIN32
svn path=/trunk/mono/; revision=146654
Gonzalo Paniagua Javier [Fri, 20 Nov 2009 22:42:56 +0000 (22:42 -0000)]
removing PLATFORM_WIN32
svn path=/trunk/mono/; revision=146653
Gonzalo Paniagua Javier [Fri, 20 Nov 2009 22:34:30 +0000 (22:34 -0000)]
removing PLATFORM_WIN32
svn path=/trunk/mono/; revision=146652
Gonzalo Paniagua Javier [Fri, 20 Nov 2009 21:45:36 +0000 (21:45 -0000)]
more PLATFORM_WIN32 removal
svn path=/trunk/mono/; revision=146649
Gonzalo Paniagua Javier [Fri, 20 Nov 2009 21:44:01 +0000 (21:44 -0000)]
more PLATFORM_WIN32 removal
svn path=/trunk/mono/; revision=146648
Gonzalo Paniagua Javier [Fri, 20 Nov 2009 21:42:51 +0000 (21:42 -0000)]
more PLATFORM_WIN32 removal
svn path=/trunk/mono/; revision=146647