João Matos [Mon, 19 Jan 2015 12:53:56 +0000 (12:53 +0000)]
Merge pull request #1404 from woodsb02/mono-route
Add mono/metadata/mono-route.c for non-Linux ParseRouteInfo_local
Marek Safar [Mon, 19 Jan 2015 10:13:25 +0000 (11:13 +0100)]
[corlib] System.Convert from reference sources
Ben Woods [Sat, 15 Nov 2014 17:24:09 +0000 (01:24 +0800)]
Add mono/metadata/mono-route.c for non-Linux ParseRouteInfo_local
Add #ifdef to ignore code in mono/metadata/mono-route.c if OS=linux
Also remove mono-route.c from msvc/libmonoruntime.vcxproj (Windows)
Add #ifdef to ensure mono/metadata/mono-route.h code is not included
on Linux
Change to using #if defined(PLATFORM_MACOSX) || defined(PLATFORM_BSD)
Use sizeof(addr) for maximum length of IP address string, instead of the hard-coded 16.
Should the size of addr ever change it will keep us from disaster in case if shrinking the array length.
Also, do not ignore snprintf return value - check for truncated output and act accordingly if it happens.
Add Tests for System.Net.NetworkInformation/IPInterfacePropertiesTest.cs and System.Net.NetworkInformation/NetworkInterfaceTest.cs
Remove accidental Copyright
add a space before the opening parenthesis, as shown in the coding guidelines.
Indent TestFixture to align with coding style of newer Test classes
Use G_N_ELEMENTS(mib) instead of sizeof(mib) / sizeof(mib[0])
Zoltan Varga [Sun, 18 Jan 2015 16:32:22 +0000 (11:32 -0500)]
[arm64] Add a test for r4 hfa parameter passing in gsharedvt trampolines.
Zoltan Varga [Sun, 18 Jan 2015 01:28:59 +0000 (20:28 -0500)]
[arm64] Add a test for hfa parameter passing in gsharedvt out trampolines (#26085).
Zoltan Varga [Sun, 18 Jan 2015 01:13:35 +0000 (20:13 -0500)]
[runtime] Fix aot-tests.cs.
Zoltan Varga [Sat, 17 Jan 2015 20:55:05 +0000 (15:55 -0500)]
[arm64] Add tests for dyn calls with floats.
Zoltan Varga [Sat, 17 Jan 2015 20:53:41 +0000 (15:53 -0500)]
[arm64] Increase the size of the dyn_call instruction, and the buffers used during dyn calls.
David Karlaš [Sat, 17 Jan 2015 16:02:30 +0000 (17:02 +0100)]
[sdb] ILInterpreter handle Br_S same as Br
David Karlaš [Sat, 17 Jan 2015 15:14:52 +0000 (16:14 +0100)]
[sdb] Fix deadlock in case of runtime disconnect while fetching frames(Bug 24434)
Miguel de Icaza [Sat, 17 Jan 2015 01:19:37 +0000 (20:19 -0500)]
[System] ComponentModel, make it build in the MOBILE profile
Zoltan Varga [Sat, 17 Jan 2015 00:48:55 +0000 (19:48 -0500)]
[bcl] Fix System.Threading.Tasks.Dataflow tests.
Mark Probst [Sat, 17 Jan 2015 00:00:11 +0000 (16:00 -0800)]
[sgen] Fix a concurrent collector bug.
Pinning is done in the worker thread, but reset in the main thread.
The main thread must wait for the worker jobs to finish until it can
reset pinning. We didn't do this before.
Zoltan Varga [Fri, 16 Jan 2015 22:26:34 +0000 (17:26 -0500)]
Merge pull request #1511 from akoeplinger/windows
[utils] Extract Windows-specific networking fallback into networking-windows.c
Zoltan Varga [Fri, 16 Jan 2015 19:11:51 +0000 (14:11 -0500)]
[bcl] Fix the serialization of string arrays to IEnumerable<string> in the Json serializer. Fixes #25808.
Marek Safar [Fri, 16 Jan 2015 18:20:48 +0000 (19:20 +0100)]
[System.Threading.Tasks.Dataflow] update atomicboolen location
Marek Safar [Fri, 16 Jan 2015 18:01:40 +0000 (19:01 +0100)]
[system.core] TaskExtensions from reference source
Marek Safar [Fri, 16 Jan 2015 17:33:09 +0000 (18:33 +0100)]
Another build fix
Marek Safar [Fri, 16 Jan 2015 17:23:12 +0000 (18:23 +0100)]
Fixes build
Rodrigo Kumpera [Thu, 15 Jan 2015 21:34:05 +0000 (16:34 -0500)]
[jit] Adjust the sigsegv handle to accomodate targets without siginfo.
Rodrigo Kumpera [Thu, 15 Jan 2015 21:28:11 +0000 (16:28 -0500)]
[jit] First pass of portability fixes for the JIT.
Marek Safar [Fri, 16 Jan 2015 17:04:05 +0000 (18:04 +0100)]
[corlib] USe more types from System.Threading reference sources
Marek Safar [Fri, 16 Jan 2015 15:55:36 +0000 (16:55 +0100)]
[System.Core] System.Collections.Generic from reference sources
Marek Safar [Fri, 16 Jan 2015 15:32:03 +0000 (16:32 +0100)]
[System.ServiceModel.Web] Update failing test
Alexander Köplinger [Fri, 16 Jan 2015 13:34:33 +0000 (05:34 -0800)]
[utils] Extract Windows-specific networking fallback into networking-windows.c
Marek Safar [Fri, 16 Jan 2015 15:21:22 +0000 (16:21 +0100)]
[system.xml] Fix broken ClassMap logic which relied on order of hashtable elements
Marek Safar [Fri, 16 Jan 2015 08:58:00 +0000 (09:58 +0100)]
[system.web] Update SqlDataSource test not to rely on idictionary order
Marek Safar [Fri, 16 Jan 2015 08:11:03 +0000 (09:11 +0100)]
[WindowsBase] Fix incorrect test
Zoltan Varga [Fri, 16 Jan 2015 00:17:19 +0000 (19:17 -0500)]
[runtime] Fix the build.
Zoltan Varga [Fri, 16 Jan 2015 00:13:20 +0000 (19:13 -0500)]
[sdb] Fix single stepping after a SetIP operation. Fixes #26033.
Miguel de Icaza [Thu, 15 Jan 2015 23:22:37 +0000 (18:22 -0500)]
[Mono.Posix] Add overloads to pass ints and pointers
Zoltan Varga [Thu, 15 Jan 2015 22:32:59 +0000 (17:32 -0500)]
[sdb] Rename 'restore_ctx' to 'restore_state' and change its type to MonoThreadUnwindState.
Marek Safar [Thu, 15 Jan 2015 22:24:49 +0000 (23:24 +0100)]
[corlib] fixing TPL integration
Marek Safar [Thu, 15 Jan 2015 22:13:05 +0000 (23:13 +0100)]
[system] update failing tests
Ludovic Henry [Thu, 15 Jan 2015 20:40:41 +0000 (15:40 -0500)]
[TPL] Replace implementation by Microsoft reference sources
Rodrigo Kumpera [Thu, 15 Jan 2015 20:54:12 +0000 (14:54 -0600)]
Merge pull request #1458 from BrzVlad/feature-fat-cas
Poll-free fat locks
Zoltan Varga [Thu, 15 Jan 2015 20:07:56 +0000 (15:07 -0500)]
[runtime] Remap io-layer symbols using the prefix wapi_. Fixes #25821.
Zoltan Varga [Thu, 15 Jan 2015 19:41:51 +0000 (14:41 -0500)]
Fix a warning.
Martin Baulig [Thu, 15 Jan 2015 18:08:46 +0000 (19:08 +0100)]
[Mono.Security]: More exception debug foo.
Note: This patch may cause some ugly exception messages. This is intended to help
us debug and hopefully fix bug #19334.
Martin Baulig [Thu, 15 Jan 2015 16:52:18 +0000 (17:52 +0100)]
[Mono.Security]: Test suite - we may not throw IOException as well here.
In fact, we should not ever throw ObjectDisposedException, but provide a
meaningful IOException. Still working on it.
Martin Baulig [Thu, 15 Jan 2015 16:04:21 +0000 (17:04 +0100)]
[Mono.Security]: Fix TLS Alert level." This breaks the System test suite.
Prevent further abuse (calling it before the fields have been assigned to)
by making the helper function static.
João Matos [Thu, 15 Jan 2015 16:20:27 +0000 (16:20 +0000)]
[msvc] Fixed the build.
Rodrigo Kumpera [Thu, 15 Jan 2015 16:04:32 +0000 (11:04 -0500)]
Revert "[Mono.Security]: Improve error reporting when sending TLS Alerts fail."
This reverts commit
95eff2495093ccd20ad2db7df3f07a835d580e5e.
Rodrigo Kumpera [Thu, 15 Jan 2015 15:57:50 +0000 (10:57 -0500)]
Revert "[Mono.Security]: Fix TLS Alert level." This breaks the System test suite.
This reverts commit
a036a6bf181bf9e8946e7a9708869244b0c38db0.
Zoltan Varga [Thu, 15 Jan 2015 15:39:55 +0000 (10:39 -0500)]
Merge pull request #1507 from DavidKarlas/mdbRead0Line
[sdb] Fixed .mdb parsing when line equals 0
Marek Safar [Thu, 15 Jan 2015 15:15:42 +0000 (16:15 +0100)]
[corlib] System.Collections from reference sources
Martin Baulig [Thu, 15 Jan 2015 12:23:10 +0000 (13:23 +0100)]
[Mono.Security]: Fix TLS Alert level.
Martin Baulig [Thu, 15 Jan 2015 10:55:13 +0000 (11:55 +0100)]
[Mono.Security]: Improve error reporting when sending TLS Alerts fail.
Marek Safar [Thu, 15 Jan 2015 09:05:50 +0000 (10:05 +0100)]
[system] System.Timer from reference sources
Marek Safar [Thu, 15 Jan 2015 08:19:02 +0000 (09:19 +0100)]
Merge pull request #1505 from esdrubal/tzifloatingrule
[System.Core] Fixed wrong DST of TimeZoneInfo with floating date rules.
David Karlaš [Thu, 15 Jan 2015 08:18:16 +0000 (09:18 +0100)]
[sdb] Fixed .mdb parsing when line equals 0
Zoltan Varga [Thu, 15 Jan 2015 04:57:05 +0000 (23:57 -0500)]
Merge pull request #1506 from akoeplinger/fix-paste-test
[MWF] Fix unicode string handling from clipboard paste in X11
Zoltan Varga [Thu, 15 Jan 2015 00:57:41 +0000 (19:57 -0500)]
[sdb] Don't continue single stepping when reaching the same line if locations without debug info were reached during the single step.
Rodrigo Kumpera [Thu, 15 Jan 2015 00:26:13 +0000 (19:26 -0500)]
Sorry for breaking linux.
Rodrigo Kumpera [Thu, 15 Jan 2015 00:21:32 +0000 (19:21 -0500)]
[runtime] I can still find unguarded used of signal.h, amazing.
Zoltan Varga [Thu, 15 Jan 2015 00:13:41 +0000 (19:13 -0500)]
[sdb] Fix the detection of whenever an image has debug info or not.
Mark Probst [Wed, 14 Jan 2015 22:56:12 +0000 (14:56 -0800)]
Merge pull request #1466 from schani/stage-unified-card-table-scanning
Unified card table scanning
Zoltan Varga [Wed, 14 Jan 2015 22:48:51 +0000 (17:48 -0500)]
Fix the build.
Marek Safar [Wed, 14 Jan 2015 22:24:06 +0000 (23:24 +0100)]
[corlib] Hashtable constructor with equality comparer needs to use it during initialization as well
Zoltan Varga [Wed, 14 Jan 2015 21:56:57 +0000 (16:56 -0500)]
Marek Safar [Wed, 14 Jan 2015 21:30:35 +0000 (22:30 +0100)]
[Microsoft.Build.Utilities] Replace use of ProcessStringDictionary with case insensitive dictionary. It shouldn't case insensitive on non-windows but that'd break msbuild compatibility
Marek Safar [Wed, 14 Jan 2015 21:14:32 +0000 (22:14 +0100)]
Fixes build
Alexander Köplinger [Wed, 14 Jan 2015 11:02:37 +0000 (12:02 +0100)]
[MWF] Fix unicode string handling from clipboard paste in X11
In the TextBoxTest.PasteTest () test case we copy the string "ABCD" to the clipboard.
We then try to paste it again and see if it's the same.
Internally in WinForms, the clipboard data is retrieved via an X11 API that returns
a pointer to the string. In this case, we have a unicode/utf16 string that usually
looks as follows in memory (2 byte per character):
65 'A'
0
-
66 'B'
0
-
67 'C'
0
-
68 'D'
0
-
0 '\0' end of string
0 potential garbage from here on
-
0
0
...
The bug is that we use Marshal.PtrToStringUni (), which reads until the
first null *char* not the first null *byte*.
Imagine if we get the following (happens sometimes):
65 'A'
0
-
66 'B'
0
-
67 'C'
0
-
68 'D'
0
-
0 '\0' end of string
230 <--- garbage, but considered part of a char by PtrToStringUni ()
-
47
56
-
74
43
...
This produces garbage like "ABCD㠯⭊" since PtrToStringUni () reads beyond the original string.
The fix is to use the nitems variable that is returned by the X11 API (it contains the
actual number of bytes in the string) and copy the bytes manually. We already do
the same for the UTF8 case above.
This fixes the TextBoxTest.PasteTest () that intermittently fails on Jenkins.
Zoltan Varga [Wed, 14 Jan 2015 21:29:46 +0000 (16:29 -0500)]
[sdb] Emit debug logs using g_print () on android, so it shows up in adb logcat output.
Marek Safar [Wed, 14 Jan 2015 20:41:09 +0000 (21:41 +0100)]
[system.net.http] Drop WebClient dependency
Marek Safar [Wed, 14 Jan 2015 17:56:24 +0000 (18:56 +0100)]
[system] System.Collections.ObjectModel from reference sources
Zoltan Varga [Wed, 14 Jan 2015 18:44:29 +0000 (13:44 -0500)]
[pdb2mdb] Fix the decoding of nested scopes.
Marek Safar [Wed, 14 Jan 2015 17:42:12 +0000 (18:42 +0100)]
[system] System.Collections.Specialized from reference sources
Marek Safar [Wed, 14 Jan 2015 17:18:07 +0000 (18:18 +0100)]
[system] Add UnicodeDecodingConformance, UnicodeEncodingConformance
Marek Safar [Wed, 14 Jan 2015 16:37:12 +0000 (17:37 +0100)]
[system] Switch to reference sources WebClient
Marek Safar [Wed, 14 Jan 2015 15:40:43 +0000 (16:40 +0100)]
[system] Cookies implementation from reference sources
João Matos [Wed, 14 Jan 2015 15:28:11 +0000 (15:28 +0000)]
[runtime] Do not use MONO_STRUCT_OFFSET for Win32-specific offsets.
We do not yet have auto-generated offsets for Win32 targets and this interacts in weird ways with the Android cross-compilers for Windows.
Marcos Henrich [Wed, 14 Jan 2015 14:47:45 +0000 (14:47 +0000)]
[System.Core] Fixed wrong DST of TimeZoneInfo with floating date rules.
Fixes #26008
We do not want (transition.DayOfWeek - first) % 7 to be negative.
As (transition.DayOfWeek - first) cannot be lower than -7, adding 7 to it solves the issue.
Marcos Henrich [Wed, 14 Jan 2015 14:25:17 +0000 (14:25 +0000)]
[System.Core] Added tests to TimeZoneInfoTest. Covers #26008.
Alex Rønne Petersen [Wed, 14 Jan 2015 12:51:38 +0000 (13:51 +0100)]
Fix mono_handle_native_sigsegv () signature in the cross compiler case.
Zoltan Varga [Wed, 14 Jan 2015 02:52:31 +0000 (21:52 -0500)]
Zoltan Varga [Wed, 14 Jan 2015 01:31:07 +0000 (20:31 -0500)]
Merge pull request #1500 from criteo-forks/criteo
Fix SpinLock.TryEnter
Vlad Brezae [Tue, 9 Dec 2014 21:24:07 +0000 (13:24 -0800)]
[amd64] Add monitor enter v4 fastpath.
Zoltan Varga [Tue, 13 Jan 2015 23:58:02 +0000 (18:58 -0500)]
[bcl] Break waits in KeventWatcher by closing the command fd instead of polling.
Zoltan Varga [Tue, 13 Jan 2015 23:55:53 +0000 (18:55 -0500)]
[bcl] Put the files created by the HostFileChangeMonitor test into an additional subdir to avoid the file system watcher starting to watch system temporary files in the parent dir. Dispose file system watchers at the end of the test.
Vlad Brezae [Tue, 9 Dec 2014 19:58:24 +0000 (11:58 -0800)]
[x86] Add monitor enter v4 fastpath.
Zoltan Varga [Tue, 13 Jan 2015 21:34:23 +0000 (16:34 -0500)]
[bcl] Remove NET_4_5 defines from class libs.
Zoltan Varga [Tue, 13 Jan 2015 21:34:11 +0000 (16:34 -0500)]
[bcl] Remove NET_4_5 defines from tools.
Zoltan Varga [Tue, 13 Jan 2015 21:25:19 +0000 (16:25 -0500)]
[runtime] Move the monograph tool to tools/.
Zoltan Varga [Tue, 13 Jan 2015 21:06:31 +0000 (16:06 -0500)]
[bcl] Remove NET_4_0 defines from class libs.
Zoltan Varga [Tue, 13 Jan 2015 20:59:48 +0000 (15:59 -0500)]
[bcl] Remove NET_4_0 defines from tools.
Zoltan Varga [Tue, 13 Jan 2015 20:29:38 +0000 (15:29 -0500)]
[bcl] Remove NET_2_0 defines from the class libs. This has been done using: unifdef -t -DNET_2_0 -o <filename> <filename>.
Zoltan Varga [Tue, 13 Jan 2015 20:13:27 +0000 (15:13 -0500)]
[bcl] Remove NET_2_0 defines from tools.
João Matos [Tue, 13 Jan 2015 17:52:52 +0000 (17:52 +0000)]
Revert "[build] Add seq-points.c to the genmdesc to try to fix the Monotouch build."
This reverts commit
5510857e6b3d584152ec314cea718416c6a05332.
Marcos Henrich [Tue, 13 Jan 2015 16:54:19 +0000 (16:54 +0000)]
[build] Updated csproj files.
Marcos Henrich [Tue, 13 Jan 2015 16:43:42 +0000 (16:43 +0000)]
Fixed msvc/scripts/genproj.cs file seperator issue on UNIX.
On UNIX '\\' is a valid file name character.
In this case we have to replace '\\' for Path.GetFileNameWithoutExtension to work as expected.
Marcos Henrich [Tue, 13 Jan 2015 15:19:05 +0000 (15:19 +0000)]
[System.ComponentModel.Composition] Updated Makefile thisdir.
Old thisdir was causing problems while doing make update-csproj on top dir.
João Matos [Tue, 13 Jan 2015 17:24:52 +0000 (17:24 +0000)]
[build] Add seq-points.c to the genmdesc to try to fix the Monotouch build.
Marek Safar [Tue, 13 Jan 2015 16:02:08 +0000 (17:02 +0100)]
[system.data] refresh mobile sources
Marek Safar [Tue, 13 Jan 2015 15:11:07 +0000 (16:11 +0100)]
[system.data] Update for DataSetExtensions as GetTableMappingBySchemaAction is now more restrictive.
Marek Safar [Tue, 13 Jan 2015 13:57:55 +0000 (14:57 +0100)]
[corlib] Close underlying synchronized stream. Fixes #25498
Marek Safar [Tue, 13 Jan 2015 11:28:06 +0000 (12:28 +0100)]
[system.net.http] Split reading headers and content in GetStreamAsync. Fixes #23966
Marek Safar [Tue, 13 Jan 2015 10:19:21 +0000 (11:19 +0100)]
[corlib] Add range checks to CharUnicodeInfo. Fixes #25895
Marek Safar [Tue, 13 Jan 2015 10:02:54 +0000 (11:02 +0100)]
[system.data] update mobile profile
Marek Safar [Tue, 13 Jan 2015 09:58:45 +0000 (10:58 +0100)]
[system.data] Replace connection string builder from reference sources