Marek Safar [Wed, 25 Mar 2015 16:24:55 +0000 (17:24 +0100)]
Merge pull request #1644 from ztone/eval_class_attr
[eval] Allow class attributes
Marek Safar [Wed, 25 Mar 2015 16:17:23 +0000 (17:17 +0100)]
[mcs] Resize identifier buffer in all cases. Fixes #28292
Marek Safar [Wed, 25 Mar 2015 15:32:19 +0000 (16:32 +0100)]
[mcs] Fix parsing of interpolated strings inside conditional expression. Fixes #28293
Alexander Köplinger [Wed, 25 Mar 2015 14:28:24 +0000 (15:28 +0100)]
Fix a typo and code indentation in readme.md
Marek Safar [Wed, 25 Mar 2015 14:07:13 +0000 (15:07 +0100)]
[corlib] String from reference sources, fixes mostly string.format issues
João Matos [Wed, 25 Mar 2015 14:03:07 +0000 (14:03 +0000)]
[runtime] Fixed the build on Android by relying on header checking for system headers.
João Matos [Wed, 25 Mar 2015 14:02:08 +0000 (14:02 +0000)]
[runtime] Fixed complex.h usage in MS's thread pool to work in Android.
Android does not provide complex.h in the API levels that we compile against so bundle our own header (based on the one from FreeBSD).
Turns out GCC already provides built-in handling for the complex functions used by the code so there's no need to provide our own implementations.
João Matos [Wed, 25 Mar 2015 12:59:30 +0000 (12:59 +0000)]
Merge pull request #1657 from alexrp/disable-perf-events
[profiler] Disable `perf` events by default.
Zoltan Varga [Wed, 25 Mar 2015 12:31:46 +0000 (08:31 -0400)]
[io-layer] Fix the freeing of MonoProcess structures. Fixes #28209.
Alex Rønne Petersen [Wed, 25 Mar 2015 12:22:39 +0000 (13:22 +0100)]
[profiler] Disable `perf` events by default.
As it turns out, `perf` support crashes/hangs on a lot of Linux
kernels in the wild, and produces no output on some Android devices.
So, given that using a signal + helper thread is more reliable, use
it by default and make `perf` support optional.
The configure flag is now `--enable-perf-events`.
Alex Rønne Petersen [Wed, 25 Mar 2015 12:13:03 +0000 (13:13 +0100)]
[profiler] Avoid a slow path in mono_jit_info_table_find ().
Alex Rønne Petersen [Wed, 25 Mar 2015 12:03:08 +0000 (13:03 +0100)]
[profiler] Really fix looking up JIT info for AOT'd methods.
mono_aot_get_method () will not necessarily put methods into the
MonoDomain::jit_code_hash table. But it does return an IP that we
can use to look up the JIT info with mono_jit_info_table_find ().
Marek Safar [Wed, 25 Mar 2015 11:33:38 +0000 (12:33 +0100)]
[mcs] Allow built-in types to have partial declaration
Zoltan Varga [Wed, 25 Mar 2015 09:14:42 +0000 (05:14 -0400)]
[runtime] Revert
eaf200b37bd8ba29d59fc7054f8409e9b76b5697 and all fixes to it since it still causes hangs.
Zoltan Varga [Wed, 25 Mar 2015 05:29:27 +0000 (01:29 -0400)]
[runtime] Avoid returning null from Marshal.AllocCoTaskMem () if size is 0. Fixes #28383.
Zoltan Varga [Wed, 25 Mar 2015 05:07:07 +0000 (01:07 -0400)]
Miguel de Icaza [Wed, 25 Mar 2015 02:13:04 +0000 (22:13 -0400)]
Add submodule instructions
Alex Soto [Tue, 24 Mar 2015 23:24:02 +0000 (17:24 -0600)]
[MonoDataSqlite] Add test for Xamarin.iOS specific bug 27864
src: https://bugzilla.xamarin.com/show_bug.cgi?id=27864
As of iOS 8.2 Apple updated Sqlite and broke queries that used to work
pre iOS 8.2 like the select command in this test, The pruppose of this
test is to know when apple fixes this. Expected test behaivour is as follows.
* If iOS 8.2+ Test will pass as long as apple does not fix the bug
* If iOS < 8.2 Test will pass as it does work as expected
* If iOS 8.2+ and apple fixed bug 27864 test will fail and we will need to
remove the fail check on lines 105 and 106
Zoltan Varga [Tue, 24 Mar 2015 21:53:46 +0000 (17:53 -0400)]
[amd64] Fix OP_SHR_IMM/OP_SHL_IMM.
Zoltan Varga [Tue, 24 Mar 2015 20:51:31 +0000 (16:51 -0400)]
[runtime] Fix another regression caused by
eaf200b37bd8ba29d59fc7054f8409e9b76b5697.
Zoltan Varga [Tue, 24 Mar 2015 20:46:38 +0000 (16:46 -0400)]
[arm] Handle OP_SEQ_POINT opcodes during peephole optimizations correctly.
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.