Ankit Jain [Wed, 7 Dec 2011 14:05:41 +0000 (06:05 -0800)]
Merge pull request #199 from slide/master
[xbuild] Add 'OverrideReadOnlyFiles' property to Copy task. bug#2239
Also, fixed bug #2239 where the copy task does not
behave the same as msbuild when a file being copied is
ReadOnly. msbuild resets the attributes of the file to
Normal.
Paolo Molaro [Wed, 7 Dec 2011 14:00:54 +0000 (15:00 +0100)]
Fix overflow in the win32 monotonic time (xambug #183).
Zoltan Varga [Wed, 7 Dec 2011 13:33:21 +0000 (14:33 +0100)]
Add missing file to fix the build.
Zoltan Varga [Wed, 7 Dec 2011 04:55:17 +0000 (05:55 +0100)]
Add GetInterfaces () and GetInterfaceMap () methods to TypeMirror to help fix #1841.
Zoltan Varga [Wed, 7 Dec 2011 03:31:58 +0000 (04:31 +0100)]
Fix argument checking order in GetInterfaceMap ().
Zoltan Varga [Wed, 7 Dec 2011 03:18:33 +0000 (04:18 +0100)]
Document MONO_SDB_ENV_OPTIONS.
Zoltan Varga [Wed, 7 Dec 2011 03:09:33 +0000 (04:09 +0100)]
Add a MONO_SDB_ENV_OPTIONS env variable to allow passing extra options like loglevel to sdb.
Gonzalo Paniagua Javier [Wed, 7 Dec 2011 01:25:06 +0000 (17:25 -0800)]
Merge pull request #194 from QuickJack/master
Fixes two problems in WebClient/ WebRequest
Slide [Tue, 6 Dec 2011 17:00:38 +0000 (10:00 -0700)]
[xbuild] Add 'OverrideReadOnlyFiles' property to Copy task.
Also, fixed Bugzilla 2239 where the copy task does not
behave the same as msbuild when a file being copied is
ReadOnly. msbuild resets the attributes of the file to
Normal in this case.
Zoltan Varga [Tue, 6 Dec 2011 11:12:02 +0000 (11:12 +0000)]
Merge branch 'master' of github.com:mono/mono
Zoltan Varga [Tue, 6 Dec 2011 11:11:47 +0000 (11:11 +0000)]
Implement generic sharing on MIPS.
Paolo Molaro [Tue, 6 Dec 2011 07:09:50 +0000 (07:09 +0000)]
Fixed path for ilasm.
Zoltan Varga [Mon, 5 Dec 2011 15:54:28 +0000 (16:54 +0100)]
Fix the build on platforms without generic sharing.
Paolo Molaro [Mon, 5 Dec 2011 14:44:51 +0000 (15:44 +0100)]
Avoid assert and crash when allocating smaller large objects in sgen.
Paolo Molaro [Mon, 5 Dec 2011 14:27:28 +0000 (15:27 +0100)]
Fixed crash in sgen when a large array can't be allocated.
Marek Safar [Mon, 5 Dec 2011 12:17:02 +0000 (12:17 +0000)]
Update to the latest IKVM.Reflection
Zoltan Varga [Mon, 5 Dec 2011 09:58:05 +0000 (10:58 +0100)]
Get rid of MONO_ARCH_HAVE_STATIC_RGCTX_TRAMPOLINE, use MONO_ARCH_GSHARED_SUPPORTED instead. Set MONO_ARCH_RGCTX_REG to MONO_ARCH_IMT_REG on most platforms. Fix MONO_ARCH_VTABLE_REG on MIPS.
Zoltan Varga [Mon, 5 Dec 2011 05:00:48 +0000 (06:00 +0100)]
Fix infinite recursion introduced by the previous patch.
Zoltan Varga [Mon, 5 Dec 2011 04:52:42 +0000 (05:52 +0100)]
AOT the cctor of generic classes which are referenced by SFLDA patches and superclasses of generic instances. Fixes #2155
Zoltan Varga [Mon, 5 Dec 2011 03:15:53 +0000 (04:15 +0100)]
Disable some unstable Task tests.
Marek Safar [Sun, 4 Dec 2011 10:03:41 +0000 (02:03 -0800)]
Merge pull request #197 from ch5oh/master
Comments for SqlBulkCopyOptions enum describes expected behaviour
Oleg Petrov [Sun, 4 Dec 2011 09:12:56 +0000 (13:12 +0400)]
Comments for SqlBulkCopyOptions enum describes expected behaviour
Zoltan Varga [Sun, 4 Dec 2011 04:48:43 +0000 (04:48 +0000)]
Implement frame pointer elimination on MIPS.
Zoltan Varga [Sun, 4 Dec 2011 03:22:45 +0000 (03:22 +0000)]
Only save a subset of registers in the LMF on MIPS.
Zoltan Varga [Sat, 3 Dec 2011 06:52:29 +0000 (06:52 +0000)]
Finish sdb support on MIPS. Fix resume_context () to restore all registers. Fix UCONTEXT_ definitions.
Marek Safar [Sat, 3 Dec 2011 13:09:18 +0000 (05:09 -0800)]
Merge pull request #196 from ch5oh/master
Argument checks and 2 new ctor tests for SqlBulkCopy class
Oleg Petrov [Fri, 2 Dec 2011 18:49:50 +0000 (22:49 +0400)]
Initial tests (for constructors) of SqlBulkCopy class
Oleg Petrov [Fri, 2 Dec 2011 18:36:53 +0000 (22:36 +0400)]
2 new tests for ctors
Oleg Petrov [Fri, 2 Dec 2011 18:35:28 +0000 (22:35 +0400)]
Not null checks for ctors
Zoltan Varga [Sat, 3 Dec 2011 00:12:23 +0000 (01:12 +0100)]
Fix the build.
Miguel de Icaza [Fri, 2 Dec 2011 18:10:46 +0000 (13:10 -0500)]
Include System.IO.MemoryMappedFiles in the MOBILE profile
Jb Evain [Fri, 2 Dec 2011 15:45:10 +0000 (16:45 +0100)]
Test for assignability of arrays to generic interfaces. Fixes #2304.
Jb Evain [Fri, 2 Dec 2011 15:44:29 +0000 (16:44 +0100)]
Add test for bug #2304
Marek Safar [Fri, 2 Dec 2011 15:35:43 +0000 (15:35 +0000)]
New test
Marek Safar [Fri, 2 Dec 2011 15:23:50 +0000 (15:23 +0000)]
Implement some System.Net.Http.Headers
Martin [Fri, 2 Dec 2011 13:43:46 +0000 (14:43 +0100)]
Removes warning CS0219 in line 1647
Martin [Fri, 2 Dec 2011 13:28:14 +0000 (14:28 +0100)]
Code formatting fixes.
Zoltan Varga [Fri, 2 Dec 2011 10:18:26 +0000 (10:18 +0000)]
Ongoing MIPS work. Fix varargs, implement delegate trampolines, fix OP_FCALL_MEMBASE. All tests in mini/ and tests/ run now.
Zoltan Varga [Fri, 2 Dec 2011 06:20:16 +0000 (06:20 +0000)]
Ongoing MIPS work. Fix mips_load () to be patchable, fix endianness issue in OP_MIPS_MFC1D, fix OP_JMP. make rcheck runs now.
Zoltan Varga [Fri, 2 Dec 2011 05:06:22 +0000 (05:06 +0000)]
Change calling convention info on MIPS to use the same terminology as on other platforms.
Zoltan Varga [Fri, 2 Dec 2011 02:49:51 +0000 (03:49 +0100)]
Add configure checks for arm hardfp abi, not supported yet.
Zoltan Varga [Fri, 2 Dec 2011 02:14:00 +0000 (03:14 +0100)]
Implement mono_arch_setup_resume_sighandler_ctx () on arm to fix sdb+thumb.
Zoltan Varga [Fri, 2 Dec 2011 00:22:09 +0000 (01:22 +0100)]
Add a Length property and a GetChars () method to StringMirror. Fixes #2301.
Neale Ferguson [Thu, 1 Dec 2011 16:38:56 +0000 (11:38 -0500)]
Add change to mono_arch_skip_breakpoint as for other archs
Paolo Molaro [Thu, 1 Dec 2011 08:56:28 +0000 (08:56 +0000)]
Initial sgen mips port.
Marek Safar [Thu, 1 Dec 2011 08:42:22 +0000 (00:42 -0800)]
Merge pull request #193 from ch5oh/master
Ctor tests for SqlBulkCopy class
Zoltan Varga [Thu, 1 Dec 2011 01:38:46 +0000 (02:38 +0100)]
Implement sdb+aot support for amd64 for completeness.
Zoltan Varga [Thu, 1 Dec 2011 01:36:48 +0000 (02:36 +0100)]
Zoltan Varga [Tue, 29 Nov 2011 18:31:57 +0000 (19:31 +0100)]
Emit line number table in the sdb debug log.
Oleg Petrov [Wed, 30 Nov 2011 23:40:16 +0000 (03:40 +0400)]
These tests show difference between original .NET behaviour and current Mono implementation
Zoltan Varga [Wed, 30 Nov 2011 22:08:58 +0000 (23:08 +0100)]
Fix some gshared+aot problems in sdb. Fixes the crash in #664.
Marek Safar [Wed, 30 Nov 2011 14:17:01 +0000 (14:17 +0000)]
Add tests for InternalArray::GetIndex
Marek Safar [Wed, 30 Nov 2011 13:45:45 +0000 (13:45 +0000)]
Initial System.Net.Http.Headers implementation
Marek Safar [Wed, 30 Nov 2011 13:44:17 +0000 (13:44 +0000)]
Fix Array::Contains for null items via ICollection<T>. Fixes #2260
Sebastien Pouliot [Wed, 30 Nov 2011 00:54:44 +0000 (19:54 -0500)]
Ensure that [Parameterized]ThreadStart code is always wrapped in a NSAutoreleasePool for MonoTouch. Fix bug #1999
Jeffrey Stedfast [Tue, 29 Nov 2011 21:11:10 +0000 (16:11 -0500)]
[monodoc] Removed debug spew
Paolo Molaro [Tue, 29 Nov 2011 15:53:51 +0000 (16:53 +0100)]
Win32 compilation fixes for sgen.
Martin [Tue, 29 Nov 2011 13:06:19 +0000 (14:06 +0100)]
WebRequest.GetSystemWebProxy() throws a NullReferenceException in case the proxy bypass list is empty or has not been configured for the system. This is true when running MonoDevelop 2.8.2 in Linux to debug an ASP.NET application. In this case, the debugger does not have access to the no_proxy environment variable. As a result, WebClient cannot be used in such an environment.
Martin [Tue, 29 Nov 2011 12:44:54 +0000 (13:44 +0100)]
Commit
6a9937d2166023c370489d8e6654d01f6ec52f44 is not correct. WebClient.Proxy should return WebRequest.DefaultProxy if WebClient.Proxy has NOT been set before.
Zoltan Varga [Mon, 28 Nov 2011 18:23:54 +0000 (19:23 +0100)]
Disable an assert in mini-gc.c which can be hit. Fixes #2211.
Tom Hindle [Mon, 28 Nov 2011 17:52:29 +0000 (10:52 -0700)]
Fix bug #395 (part 2)
Tom Hindle [Mon, 28 Nov 2011 17:49:29 +0000 (10:49 -0700)]
Fix bug #395
Marek Safar [Mon, 28 Nov 2011 13:26:54 +0000 (13:26 +0000)]
Add debug parser target
Zoltan Varga [Mon, 28 Nov 2011 03:51:40 +0000 (03:51 +0000)]
Use dwarf unwind info on MIPS.
Zoltan Varga [Sun, 27 Nov 2011 01:17:51 +0000 (01:17 +0000)]
Ongoing MIPS work. Fix more endianness issues. Fix order fp compares.
Zoltan Varga [Sat, 26 Nov 2011 23:19:32 +0000 (23:19 +0000)]
Fix warnings on MIPS.
Zoltan Varga [Sat, 26 Nov 2011 22:52:45 +0000 (23:52 +0100)]
Initial soft debugger support for MIPS.
Zoltan Varga [Sat, 26 Nov 2011 17:08:07 +0000 (18:08 +0100)]
Add a heuristic to insert_breakpoint () to avoid 'Unable to insert breakpoint' errors in some cases, since the set of IL offsets in the debug info doesn't completely match what the JIT generates. Fixes #407.
Zoltan Varga [Thu, 24 Nov 2011 19:04:17 +0000 (20:04 +0100)]
Save the stack space used by arguments into MonoJitInfo to avoid calling mono_arch_get_arg_info () during stack walking, since it is not signal safe. Fixes #2190.
Jeremie Laval [Sat, 26 Nov 2011 14:30:45 +0000 (15:30 +0100)]
Add C# errors to search index so that it can be accessed by search tools (like webdoc's fastsearch)
Thomas Goldstein [Sat, 26 Nov 2011 00:26:27 +0000 (01:26 +0100)]
Unit test for bug #821.
Thomas Goldstein [Sat, 26 Nov 2011 00:17:02 +0000 (01:17 +0100)]
Ensure DataGridViewRowCollection.Insert() doesn't change element type. Fixes bug #821.
Marek Safar [Fri, 25 Nov 2011 20:09:46 +0000 (20:09 +0000)]
Fix type inference for nested non-generic delegates inside generic classes
Marek Safar [Thu, 24 Nov 2011 18:48:24 +0000 (18:48 +0000)]
Update expresion visitor based on MD changes
Rodrigo Kumpera [Fri, 25 Nov 2011 12:03:50 +0000 (10:03 -0200)]
Fix error message.
Rodrigo Kumpera [Thu, 24 Nov 2011 23:02:48 +0000 (21:02 -0200)]
Improve error reporting on test failure.
Rodrigo Kumpera [Thu, 24 Nov 2011 22:46:02 +0000 (20:46 -0200)]
Make INodeVisitor methods nonvirtual by augmenting nodes with interfaces.
Zoltan Varga [Thu, 24 Nov 2011 22:32:33 +0000 (23:32 +0100)]
Add an assert () to thread_suspend_func ().
Marek Safar [Thu, 24 Nov 2011 13:21:06 +0000 (13:21 +0000)]
Implementations of Uri.Equals must not throw exceptions. Fixes #2023
Marek Safar [Thu, 24 Nov 2011 12:59:26 +0000 (12:59 +0000)]
Fix 4.5 framework path used by xbuild
Marek Safar [Thu, 24 Nov 2011 12:56:50 +0000 (12:56 +0000)]
Clone input collection for ObservableCollection<T>. Fixes #2169
Marek Safar [Thu, 24 Nov 2011 12:27:10 +0000 (12:27 +0000)]
Add System.Collections.ObjectModel tests
Miguel de Icaza [Thu, 24 Nov 2011 06:29:20 +0000 (01:29 -0500)]
Extend JsonSerializerReader to support nullables and parse a wider range of Date formats, fixes x#163
Zoltan Varga [Thu, 24 Nov 2011 05:25:16 +0000 (05:25 +0000)]
Fix some endianess problems on mips.
Miguel de Icaza [Thu, 24 Nov 2011 03:47:12 +0000 (22:47 -0500)]
Updated with Xamarin copyrights
Miguel de Icaza [Thu, 24 Nov 2011 03:46:04 +0000 (22:46 -0500)]
Updated with Xamarin copyrights
Miguel de Icaza [Thu, 24 Nov 2011 03:44:58 +0000 (22:44 -0500)]
Updated with Xamarin copyrights
Miguel de Icaza [Thu, 24 Nov 2011 03:42:50 +0000 (22:42 -0500)]
Updated with Xamarin copyrights
Zoltan Varga [Thu, 24 Nov 2011 01:33:32 +0000 (02:33 +0100)]
Always free _WapiFileShare entries using _wapi_free_share_info (), otherwise zeroed out entries remain in the hash table when shared handles are disabled. Fixes #2170.
Rodrigo Kumpera [Wed, 23 Nov 2011 22:23:37 +0000 (20:23 -0200)]
Correctly calculate the number of cards to be marked.
* sgen-cardtable.c (sgen_card_table_mark_range): The number of
pages to be marked must be correctly calculated to avoid the case
when the in-card offset of the start address is bigger than
of the end address and cause the last card to be skipped.
Fixes #1917
Rodrigo Kumpera [Wed, 23 Nov 2011 18:22:00 +0000 (16:22 -0200)]
Speedup get_execution_context_addr.
* threads.c (get_execution_context_addr): This function is called
by the threadpool machinery and a contention hotspot. So we
cache the thread local offset per domain.
Rodrigo Kumpera [Wed, 23 Nov 2011 18:21:46 +0000 (16:21 -0200)]
Fix a theoretical deadlock found by valgrind. It was never reported.
Pablo Ruiz Garcia [Wed, 16 Nov 2011 21:10:19 +0000 (22:10 +0100)]
An enhanced fix for GB18030's GC problem, by allocating the underlaying table buffer from Marshal.AllocHGlobal, as the previous solution would fail if GC moves the memory pointed to by the static field..
Pablo Ruiz Garcia [Wed, 16 Nov 2011 20:18:36 +0000 (21:18 +0100)]
Avoid internal character table used by gb18030 (on ms.net) from being collected by GC.
Pablo Ruiz Garcia [Tue, 15 Nov 2011 17:50:43 +0000 (18:50 +0100)]
Fixes #683475: - Fixed ISO2022JPEncoder's GetBytesCount(..) to avoid it from returning invalid calculations leading to buffer overflows during GetBytes(..). - Fixed MonoEncoding::HandleFallback(..) off-by-one error when handling double-byte replacements. - Fixed ISO2022JPEncoder::GetBytes(..) invalid translation of some full width characters (U+FF60 ~ U+FF0A) when using halfwide kana mapping. - Fixed ISO2022JPEncoder::GetBytes(..) invalid translation of IDEOGRAPHIC SPACE (U+3000) character. - Refactor of MonoEncoding::HandleFallback(..) to correctly support replacement of inv. characters by statefull encoders/encodings (like ISO-2022-JP).
NOTE: This fixes were found by creating alternative safe-only implementations of the actual CJK encoders. Such implementations are disabled by default for performance reasons, but can be enabled if needed by using the conditional compiling flag DISABLE_UNSAFE.
Marek Safar [Wed, 23 Nov 2011 18:25:28 +0000 (18:25 +0000)]
Print errors comming from lambda expressions before error mode execution. Fixes #2083
Marek Safar [Wed, 23 Nov 2011 16:08:34 +0000 (16:08 +0000)]
Try to initialize for statement from incomplete statements
Marek Safar [Wed, 23 Nov 2011 14:05:07 +0000 (14:05 +0000)]
Add instance qualifier check to overload resolver. Fixes #2160
Zoltan Varga [Tue, 22 Nov 2011 21:56:43 +0000 (22:56 +0100)]
Fix a crash introduced by
64d35e3940f7b0e1839c1906855c29862e6ab8c1. Fixes #2150.
Rodrigo Kumpera [Tue, 22 Nov 2011 19:19:34 +0000 (17:19 -0200)]
Scan all ephemeron arrays during nursery collections.
* sgen-gc.c (mark_ephemerons_in_range): All ephemeron arrays
must be scanned during a nursery collection since we ignore
them during remset processing for a good reason.
In the future we should use cardtable information to avoid
scanning the whole thing.
Fixes bxc #1175.