Zoltan Varga [Tue, 24 Mar 2015 20:44:02 +0000 (16:44 -0400)]
Merge pull request #1655 from ghuntley/patch-1
corrected spelling mistakes.
Geoffrey Huntley [Tue, 24 Mar 2015 20:38:58 +0000 (07:38 +1100)]
corrected spelling mistakes.
Zoltan Varga [Tue, 24 Mar 2015 18:56:06 +0000 (14:56 -0400)]
[runtime] Fix an uninitialized memory error added by
eaf200b37bd8ba29d59fc7054f8409e9b76b5697.
Zoltan Varga [Tue, 24 Mar 2015 16:35:15 +0000 (12:35 -0400)]
[io-layer] Fix the freeing of MonoProcess structures. Fixes #28209.
Sebastien Pouliot [Tue, 24 Mar 2015 14:46:33 +0000 (10:46 -0400)]
[tests] Tweak MemoryMappedFile test case that fails on iOS/ARM64 [#27667]
Filled with Apple. From bug report:
The problem appears to be caused by a bug in mmap on the arm64 ios.
In this test, we request a page and mmap returns successfully, but when trying
to access the mapped memory, the program crashes after the 4097th byte, meaning
that it only maps us 4kb(???). It should be mentioned that on arm64 ios the
page size is 16kb.
Marek Safar [Tue, 24 Mar 2015 09:52:23 +0000 (10:52 +0100)]
[corlib] ngen attributes from reference sources
Marek Safar [Tue, 24 Mar 2015 09:35:42 +0000 (10:35 +0100)]
[corlib] Remove unused files
Marek Safar [Tue, 24 Mar 2015 09:04:23 +0000 (10:04 +0100)]
[corlib] ExceptionServices from reference sources
Marek Safar [Tue, 24 Mar 2015 08:50:11 +0000 (09:50 +0100)]
[corlib] Debugger attributes from reference sources
João Matos [Tue, 24 Mar 2015 11:31:51 +0000 (11:31 +0000)]
Merge pull request #1634 from StephenMcConnel/bug-28025
Show thumbnail images in SWF.(Open,Save)FileDialog
Ludovic Henry [Tue, 24 Mar 2015 11:28:39 +0000 (11:28 +0000)]
[runtime] Remove unnecessary winbase.h header include on Windows
João Matos [Tue, 24 Mar 2015 11:25:08 +0000 (11:25 +0000)]
Merge pull request #1652 from debuglevel/bugfix-crosscompile
fixed case-sensitive file name for cross compilation
Zoltan Varga [Tue, 24 Mar 2015 09:29:29 +0000 (05:29 -0400)]
Merge pull request #1588 from BrzVlad/feature-aot-wbarrier
AOT write barrier method
Marek Safar [Tue, 24 Mar 2015 09:25:57 +0000 (10:25 +0100)]
Merge pull request #1638 from esdrubal/servicepoint
[System] Fixed RemoveConnectionGroup concurrent issue.
Zoltan Varga [Tue, 24 Mar 2015 09:24:58 +0000 (05:24 -0400)]
Merge pull request #1632 from alexanderkyte/bug24118
[corlib] Fixed change in
4b4ddb66b3 that prevented use of remoting fast path
Marek Safar [Tue, 24 Mar 2015 08:30:03 +0000 (09:30 +0100)]
[system] FrameworkName from reference sources
Marek Safar [Tue, 24 Mar 2015 07:43:54 +0000 (08:43 +0100)]
[mcs] Emit correct assignment to ref pointer
Marek Safar [Tue, 24 Mar 2015 06:27:57 +0000 (07:27 +0100)]
Fixes build
Marek Safar [Tue, 24 Mar 2015 06:14:24 +0000 (07:14 +0100)]
[system.windows.forms] Add AssemblyNamesTypeResolutionService to correctly fix
78b63f29d50d08ac2826f95164433a5ff3c843ae
Alex Rønne Petersen [Tue, 24 Mar 2015 01:44:36 +0000 (02:44 +0100)]
Typo fix...
Alex Rønne Petersen [Tue, 24 Mar 2015 01:43:15 +0000 (02:43 +0100)]
[arm] Also fix OP_ATOMIC_STORE_R4.
Miguel de Icaza [Tue, 24 Mar 2015 01:31:00 +0000 (21:31 -0400)]
Man page update
Mark Probst [Mon, 23 Mar 2015 22:36:03 +0000 (15:36 -0700)]
Merge pull request #1596 from schani/feature-sgen-improvements
Small SGen fixes and improvements
Mark Probst [Mon, 23 Feb 2015 23:34:35 +0000 (15:34 -0800)]
[sgen] Fix slot size calculation.
The way we calculated slot sizes was very brittle when it came to
small slots. Reducing the size of the block header could trigger it
skipping an important small size class, which would lead to increased
memory usage and slower execution times.
Now we always produce all possible small slot sizes, up to four times
the minimum object size.
Mark Probst [Wed, 18 Feb 2015 00:16:43 +0000 (16:16 -0800)]
[sgen] Remove stealing.
We only have one worker thread. There is no point in stealing.
Mark Probst [Wed, 11 Feb 2015 21:08:10 +0000 (13:08 -0800)]
[sgen] Save more space in M&S block infos.
Mark Probst [Wed, 11 Feb 2015 20:55:58 +0000 (12:55 -0800)]
[sgen] Do pinning of M&S blocks in one pass. Saves time and memory.
Mark Probst [Thu, 5 Feb 2015 22:39:26 +0000 (14:39 -0800)]
[sgen] Store worker's job names for debugging.
Mark Probst [Thu, 5 Feb 2015 21:58:41 +0000 (13:58 -0800)]
[sgen] Allow skipping of entries in `sgen-grep-binprot`.
Mark Probst [Thu, 5 Feb 2015 21:12:22 +0000 (13:12 -0800)]
[sgen] Some clarifying comments and rearrangements.
Mark Probst [Thu, 5 Feb 2015 21:11:50 +0000 (13:11 -0800)]
[sgen] Remove dead code.
Mark Probst [Thu, 5 Feb 2015 21:05:07 +0000 (13:05 -0800)]
[sgen] Binary protocol entry for pin-staging cemented objects.
Mark Probst [Thu, 5 Feb 2015 20:39:57 +0000 (12:39 -0800)]
[sgen] Only scan mod-union in LOS on marked objects.
Mark Probst [Thu, 29 Jan 2015 20:21:42 +0000 (12:21 -0800)]
[sgen] Free lists in blocks must be volatile.
Mark Probst [Mon, 26 Jan 2015 17:18:24 +0000 (12:18 -0500)]
[sgen] Rename a callback for clarity.
Mark Probst [Wed, 21 Jan 2015 23:04:29 +0000 (15:04 -0800)]
[sgen] Don't scan until jobs done in worker thread.
The jobs must always have priority because the concurrent collector
waits for them to finish before restarting the world.
Mark Probst [Tue, 28 Oct 2014 21:13:42 +0000 (14:13 -0700)]
[sgen] Fix names and remove superfluous parameters.
Mark Probst [Tue, 28 Oct 2014 20:21:03 +0000 (13:21 -0700)]
[sgen] Move debug code to `sgen-debug.c`.
Mark Probst [Tue, 28 Oct 2014 20:05:01 +0000 (13:05 -0700)]
[sgen] Rename `have_computed_minor_collection_allowance` to `free_swept_blocks`.
Because that's what it actually does.
Mark Probst [Tue, 28 Oct 2014 19:17:22 +0000 (12:17 -0700)]
[sgen] Remove superfluous function indirection.
Mark Probst [Tue, 28 Oct 2014 19:15:47 +0000 (12:15 -0700)]
[sgen] Replace `have_swept` pointer with callback.
We want to use a state variable instead of `have_swept`, so we need a callback
to abstract.
Mark Probst [Fri, 20 Feb 2015 00:00:13 +0000 (16:00 -0800)]
[sgen] Don't pass redundant `scan_mod_union` to `major_finish_collection()`.
Mark Probst [Thu, 5 Feb 2015 21:57:58 +0000 (13:57 -0800)]
[sgen] Disable cementing for concurrent M&S.
The code just worked because it never reset cementing. It needs to be
completely rewritten.
With cementing enabled, at the start of a major concurrent
collection, we cannot reset it. That's because if we have
cemented objects, some remsets to them will be missing, and the
major collector does not scan the whole heap immediately, like
the non-concurrent one does.
The proper way to do it seems to be to reset cementing before
finishing a concurrent collection. All major objects that point
to formerly cemented objects must either be marked in the
mod-union table or the current card table. When we scan the card
tables, we should be able to just evict objects.
Currently, the finishing collection pause still does some
scanning via the worker thread. This might be a problem.
Mark Probst [Fri, 20 Feb 2015 00:02:55 +0000 (16:02 -0800)]
[sgen] Don't re-check reference after marking in concurrent mark.
If the reference was modified, it was done by the mutator, in which case it will
have marked the card if necessary.
Sebastien Pouliot [Mon, 23 Mar 2015 22:08:47 +0000 (18:08 -0400)]
[tests] Tweak DateTime.AddMillisecondsOutOfRangeException* tests to work on ARM [#28311]
Neale Ferguson [Mon, 23 Mar 2015 21:31:01 +0000 (17:31 -0400)]
Fix decimal comparison by using signed char comparison of signs; Fix size of jmp instruction sequence
Rodrigo Kumpera [Mon, 23 Mar 2015 21:18:59 +0000 (17:18 -0400)]
Merge pull request #1631 from alexanderkyte/stringbuilder-referencesource
Switch to using referencesource StringBuilder, with runtime fixes and tests
Rodrigo Kumpera [Mon, 23 Mar 2015 21:09:13 +0000 (17:09 -0400)]
Merge pull request #1595 from directhex/randomize-tcp-ports-in-tests
Randomize tcp ports in tests
Rodrigo Kumpera [Mon, 2 Feb 2015 16:04:37 +0000 (11:04 -0500)]
[threading] Use a RT signal for abort when possible.
Zoltan Varga [Mon, 23 Mar 2015 18:25:11 +0000 (14:25 -0400)]
[arm] Fix OP_ATOMIC_LOAD_R4.
Marek Safar [Mon, 23 Mar 2015 16:43:09 +0000 (17:43 +0100)]
[system] Don't replace CategoryAttribute value with key when not found. Fixes #28331
Zoltan Varga [Mon, 23 Mar 2015 15:51:27 +0000 (11:51 -0400)]
Fix a warning.
Marek Safar [Mon, 23 Mar 2015 15:48:39 +0000 (16:48 +0100)]
[corlib] System.Resources from reference sources
Jo Shields [Mon, 23 Mar 2015 11:10:36 +0000 (11:10 +0000)]
Add port randomization to ClientWebSocketTest and HttpListenerTest
These two are consistently failing due to port re-use. Other hard-coded
ports exist, but let's target the *known* issues primarily, and can
handle the others ad-hoc if they demonstrate that they're problematic.
Jo Shields [Mon, 23 Mar 2015 10:41:35 +0000 (10:41 +0000)]
Add a helper class to assign a random port for a test.
This helps in cases where two copies of the test suite are
running simultaneously, and both want to use the same hard-coded
ports in tests.
Marc Kohaupt [Mon, 23 Mar 2015 13:28:26 +0000 (14:28 +0100)]
fixed case-sensitive file name for cross compilation
João Matos [Mon, 23 Mar 2015 13:02:47 +0000 (13:02 +0000)]
Merge pull request #1646 from myrup/master
TimeZoneInfo.Local improvements
Marek Safar [Mon, 23 Mar 2015 09:59:32 +0000 (10:59 +0100)]
[corlib] MethodBase from reference sources
Marek Safar [Mon, 23 Mar 2015 08:25:37 +0000 (09:25 +0100)]
[corlib] Member|TypeInfo from reference sources
Marek Safar [Mon, 23 Mar 2015 07:12:09 +0000 (08:12 +0100)]
[system.windows.forms] Update failing test
Zoltan Varga [Sun, 22 Mar 2015 07:56:09 +0000 (03:56 -0400)]
[runtime] Throw an exception on allocation failure from Marshal.AllocHGlobal/ReAllocHGlobal. Fixes #28290.
Zoltan Varga [Sun, 22 Mar 2015 05:44:03 +0000 (01:44 -0400)]
[aot] Remove support for non-separate llvm mode.
Zoltan Varga [Sun, 22 Mar 2015 05:32:13 +0000 (01:32 -0400)]
[jit] Remove support for LLVM_API_VERSION < 4.
Jonathan Pryor [Sat, 21 Mar 2015 12:23:22 +0000 (08:23 -0400)]
Merge pull request #1641 from joelmartinez/docs-monodoc-mdoc-patches
monodoc/mdoc patches
Zoltan Varga [Sat, 21 Mar 2015 09:18:04 +0000 (05:18 -0400)]
[jit] Enable partial sharing only in full-aot mode.
Zoltan Varga [Sat, 21 Mar 2015 01:38:33 +0000 (21:38 -0400)]
[jit] Unify the handling of the type parameters in generic sharing. Instead of using the generic parameters of the generic definition for reference types, use a generated type parameter with gshared_constraint set to MONO_TYPE_OBJECT.
Sebastien Pouliot [Fri, 20 Mar 2015 19:25:52 +0000 (15:25 -0400)]
[tests] Some of the new decimal tests (ported from MS tests) do not work on every culture, this set one that works for them
Marek Safar [Fri, 20 Mar 2015 16:38:19 +0000 (17:38 +0100)]
[corlib] Remove unmanaged type IsVisible path. Fixes #28235
Marek Safar [Fri, 20 Mar 2015 13:50:08 +0000 (14:50 +0100)]
[corlib] Enable legacy LCID api
Marek Safar [Fri, 20 Mar 2015 13:36:05 +0000 (14:36 +0100)]
[mcs] Test update
Marek Safar [Fri, 20 Mar 2015 13:31:01 +0000 (14:31 +0100)]
Revert "Fix more System.Web tests."
This reverts commit
7fa35b58ca65cea019147eadd128d125f416ede4.
Marek Safar [Fri, 20 Mar 2015 12:51:00 +0000 (13:51 +0100)]
[corlib] Pointer from reference sources
João Matos [Fri, 20 Mar 2015 13:02:26 +0000 (13:02 +0000)]
[runtime] Check for MSVC instead of non-GCC in mono_threads_core_set_name.
This is just a small cleanup and will also work for Clang since it defines _MSC_VER in MSVC-compatible mode.
Marek Safar [Fri, 20 Mar 2015 11:24:22 +0000 (12:24 +0100)]
[corlib] More simple System.Reflection types from reference sources
Zoltan Varga [Fri, 20 Mar 2015 11:04:37 +0000 (07:04 -0400)]
Fix more System.Web tests.
João Matos [Fri, 20 Mar 2015 11:02:52 +0000 (11:02 +0000)]
Merge pull request #1647 from svedm/master
Fix duplicate sub-expressions
Svetoslav Karasev [Fri, 20 Mar 2015 10:56:59 +0000 (15:56 +0500)]
Fix duplicate sub-expressions
Marek Safar [Fri, 20 Mar 2015 10:20:58 +0000 (11:20 +0100)]
[corlib] Add new test
myrup [Fri, 20 Mar 2015 09:50:43 +0000 (10:50 +0100)]
Fixed TimeZoneInfo.Local windows xp issue
Windows xp StandardName property has an exception when system time is UTC.
Marek Safar [Fri, 20 Mar 2015 09:39:58 +0000 (10:39 +0100)]
[corlib] MemberInfoSerializationHolder from reference sources. Fixes generics serialization and other issues
Marek Safar [Fri, 20 Mar 2015 09:17:55 +0000 (10:17 +0100)]
[system.web] Update failing test
myrup [Fri, 20 Mar 2015 08:42:34 +0000 (09:42 +0100)]
Added null check
CreateLocal could fail in an unexpected manner. The change re-enables fall back to environment variable "TZ" and allows TimeZoneInfoNotFoundExceptions to be thrown instead of NullReferenceException.
Zoltan Varga [Fri, 20 Mar 2015 03:51:21 +0000 (23:51 -0400)]
Merge pull request #1645 from myrup/master
Fixed TimeZoneInfo.Local on windows xp
Zoltan Varga [Fri, 20 Mar 2015 03:25:45 +0000 (23:25 -0400)]
[aot] Fix support for direct icalls in llvm mode.
Zoltan Varga [Fri, 20 Mar 2015 02:45:49 +0000 (22:45 -0400)]
[jit] Use unique castclass caches in all cases. Fixes #27787.
Zoltan Varga [Fri, 20 Mar 2015 02:44:43 +0000 (22:44 -0400)]
[runtime] Fix the isinst_with_cache wrapper on 64 bit platforms.
myrup [Thu, 19 Mar 2015 23:39:19 +0000 (00:39 +0100)]
Fixed TimeZoneInfo.Local on windows xp
Fall back to “StandardName” subkey when “TimeZoneKeyName” isn’t present.
Zoltan Varga [Thu, 19 Mar 2015 23:33:26 +0000 (19:33 -0400)]
[sdb] Add support for TypedReferences. Fixes #28181.
Zoltan Varga [Thu, 19 Mar 2015 22:59:52 +0000 (18:59 -0400)]
[corlib] Implement FieldInfo.SetValueDirect ().
Marek Safar [Thu, 19 Mar 2015 21:42:08 +0000 (22:42 +0100)]
[corlib] Return top-level parameter custom attributes when no base methods exists. Fixes #28184
Zoltan Varga [Thu, 19 Mar 2015 21:35:37 +0000 (17:35 -0400)]
[io-layer] Avoid closing std file descriptors on shutdown. Fixes #28098.
Marek Safar [Thu, 19 Mar 2015 20:59:31 +0000 (21:59 +0100)]
[corlib] TypedReference from reference sources
Marek Safar [Thu, 19 Mar 2015 20:45:42 +0000 (21:45 +0100)]
Merge pull request #1642 from vestild/modulebuilder-definetype
[System.Reflection.Emit] fix typo in ModuleBuilder.DefineType
Vlad Zaitsev [Thu, 19 Mar 2015 19:37:51 +0000 (00:37 +0500)]
[System.Reflection.Emit] fix typo in ModuleBuilder.DefineType
João Matos [Thu, 19 Mar 2015 17:36:05 +0000 (17:36 +0000)]
[mini] Small code cleanup, check for iOS host instead of Apple/ARM.
João Matos [Thu, 19 Mar 2015 17:21:45 +0000 (17:21 +0000)]
[windows] Fixed thread async suspend assert.
This should be asserting for 1 instead of 0, this way we actually assert that the thread was resumed.
João Matos [Wed, 18 Mar 2015 13:40:05 +0000 (13:40 +0000)]
[windows] Remove some cruft used by the old Windows installer.
Marek Safar [Thu, 19 Mar 2015 15:26:27 +0000 (16:26 +0100)]
[runtime] Remove unused icall
Joel Martinez [Wed, 18 Mar 2015 20:32:14 +0000 (16:32 -0400)]
[monodoc] Added `PlatformDocApi` to the list of valid related sections.
The use case here is when you are documenting a managed wrapper on top of a native platform API. This related link can be used to link to the original platform documentation for that member. This lets the reader look up the semantics of the native call without you having to duplicate the documentation in the managed reference docs; leaving you to focus your energies on documenting any unique considerations when calling this managed API.
Example:
```xml
<related type="PlatformDocAPI" href="https://msdn.microsoft.com/en-us/library/system.console.writeline">Microsoft documentation for <c>System.Console.WriteLine</c></related>
```
Joel Martinez [Wed, 18 Mar 2015 20:23:37 +0000 (16:23 -0400)]
[monodoc] Fixed issue generating EcmaCref URLs.
If you have a URL of the form ``T:System.Collections.Generic.Dictionary`2``, it parses correctly, but the `EcmaDesc` instance returned by the parser will throw an exception if you try to call the `.ToEcmaCref ()` method. This patch resolves this issue and returns a correctly formatted URL in this instance. Unit test included.