Atsushi Eno [Fri, 9 May 2014 12:24:07 +0000 (21:24 +0900)]
assign project FullPath before creating ProjectInstance so that properties are assigned appropriately.
Atsushi Eno [Fri, 9 May 2014 12:23:39 +0000 (21:23 +0900)]
MSBuildExtensionsPath32/64 should default to MSBuildExtensionsPath value.
Atsushi Eno [Fri, 9 May 2014 09:09:06 +0000 (18:09 +0900)]
fix previous change (huh, I was blind, no such option -f, use -p).
Atsushi Eno [Fri, 9 May 2014 09:04:53 +0000 (18:04 +0900)]
use mkdir -f to ignore "directory already exists" error.
Zoltan Varga [Fri, 9 May 2014 01:03:40 +0000 (03:03 +0200)]
Merge pull request #1029 from ranma42/dont_free_global_codeman-cleanup
[runtime] Remove the last bits of mono_dont_free_global_codeman
Sebastien Pouliot [Fri, 9 May 2014 00:17:39 +0000 (20:17 -0400)]
[mono-api-html] Add the [Obsolete] message for API additions and removals
Less common case - unless the API difference has a large delta.
Some additional spacing is added to ease readability: if an entry takes two line then it needs a empty line.
Andrea Canciani [Thu, 8 May 2014 23:25:09 +0000 (01:25 +0200)]
[runtime] Remove the last bits of mono_dont_free_global_codeman
All uses of the mono_dont_free_global_codeman variable (including its
definition) have been removed in
4a1ae4694a2d4fc06bd1cb02b88dfeeeb8c90630.
Its declaration should be removed as well to keep the codebase clean.
Zoltan Varga [Thu, 8 May 2014 23:00:13 +0000 (01:00 +0200)]
[runtime] Wait for the finalizer thread to exit in both code paths where waiting for it succeeded.
Zoltan Varga [Thu, 8 May 2014 22:56:35 +0000 (00:56 +0200)]
Fix make runtest-managed in tests/.
Zoltan Varga [Thu, 8 May 2014 22:44:09 +0000 (00:44 +0200)]
Fix make check in tests/
David Karlaš [Thu, 8 May 2014 22:41:37 +0000 (00:41 +0200)]
[Mono.Debugger.Soft] Catching AssemblyMirror in AppDomainMirror and TypeMirror in AssemblyMirror
Zoltan Varga [Thu, 8 May 2014 22:36:33 +0000 (00:36 +0200)]
[runtime] Remove the mono_dont_free_global_codeman hack, it shouldn't be needed now that we actually wait for threads to exit.
Zoltan Varga [Thu, 8 May 2014 21:03:18 +0000 (23:03 +0200)]
[jit] Disable the interval based linear scan algorithm in aot+debug mode, since it doesn't respect cfg->disable_reuse_registers, leading to problems during debugging when registers are shared between variables.
Jeffrey Stedfast [Thu, 8 May 2014 20:38:12 +0000 (16:38 -0400)]
[Mono.Debugger.Soft] Added TypeMirror.IsNested
Ludovic Henry [Thu, 8 May 2014 20:26:09 +0000 (16:26 -0400)]
Merge pull request #1024 from ludovic-henry/pr10-proflog-counters
[proflog] Add counters support to proflog
Ludovic Henry [Thu, 8 May 2014 19:56:46 +0000 (15:56 -0400)]
[proflog] Edit according to Paolo review
Alex Rønne Petersen [Thu, 8 May 2014 18:33:04 +0000 (20:33 +0200)]
Update MONO_CPU_ARCH description in man/mono.1.
Marek Habersack [Thu, 8 May 2014 18:28:39 +0000 (20:28 +0200)]
Merge Mono.Web back into System.Web and remove the Mono.Web module
Jeffrey Stedfast [Thu, 8 May 2014 18:05:46 +0000 (14:05 -0400)]
Merge pull request #1026 from DavidKarlas/cacheThreadInfo
[Mono.Debugger.Soft] Adding caching of ThreadInfo in ThreadMirror
Sebastien Pouliot [Thu, 8 May 2014 17:30:49 +0000 (13:30 -0400)]
[mono-api-html] Refactor to ensure the RegEx (if used) is applied everywhere
* The existing regex was not always used (e.g. new sections);
* It's now possible to use a regex on 'removed' (not just added) elements;
* It's possible to use the same regex for both (or have different ones);
Ludovic Henry [Thu, 8 May 2014 15:29:01 +0000 (11:29 -0400)]
[counters] Fix operator precedence
Ludovic Henry [Wed, 7 May 2014 22:04:47 +0000 (18:04 -0400)]
[counters] Edit dump_counter to use mono_counters_sample and accessors
Zoltan Varga [Wed, 7 May 2014 22:10:55 +0000 (00:10 +0200)]
[gsharedvt] Add tests for large structs.
Rolf Bjarne Kvinge [Thu, 8 May 2014 14:57:17 +0000 (16:57 +0200)]
Initialize out parameters to NULL.
Fixes a crash in the debugger, where we were freeing random pointers:
(lldb)
frame #2: 0x000dc981 monotouchtest`method_commands_internal(command=<unavailable>, method=<unavailable>, domain=<unavailable>, p=0x7f52aca4, end=<unavailable>, buf=<unavailable>) + 9009 at debugger-agent.c:8116
8113 g_free (il_offsets);
8114 g_free (line_numbers);
8115 g_free (column_numbers);
-> 8116 g_free (end_line_numbers);
8117 g_free (end_column_numbers);
8118 g_free (source_files);
8119 g_ptr_array_free (source_file_list, TRUE);
David Karlaš [Thu, 8 May 2014 08:51:40 +0000 (10:51 +0200)]
[Mono.Debugger.Soft] Adding caching of ThreadInfo in ThreadMirror
Marek Safar [Thu, 8 May 2014 08:25:00 +0000 (10:25 +0200)]
[corlib] Use invariant culture for GetTempFileName generator
Marek Safar [Wed, 7 May 2014 18:05:55 +0000 (20:05 +0200)]
[xbuild] Don't crash when reporting top level unknown elements
Sebastien Pouliot [Wed, 7 May 2014 23:33:45 +0000 (19:33 -0400)]
[System.Core] Fix MOBILE-implementation of MemoryMappedFile
Internal API was updated only for the non-MOBILE part. Public/shared API requires them in sync.
Ludovic Henry [Wed, 7 May 2014 22:40:11 +0000 (18:40 -0400)]
[counters] Fix -1 array access in case counter is of type string and value is null
Rodrigo Kumpera [Wed, 7 May 2014 21:55:54 +0000 (17:55 -0400)]
[counters] Improve the documentation of the counters API.
Rodrigo Kumpera [Wed, 7 May 2014 21:55:20 +0000 (17:55 -0400)]
[counters] Fix the build and do some error handling.
Rodrigo Kumpera [Wed, 7 May 2014 21:40:10 +0000 (17:40 -0400)]
Merge pull request #1022 from ludovic-henry/pr9-string-counters
[counters] Add support for string values
Ludovic Henry [Wed, 7 May 2014 21:32:09 +0000 (17:32 -0400)]
[counters] Fix potential overflow in string sampling
Sebastien Pouliot [Wed, 7 May 2014 21:24:49 +0000 (17:24 -0400)]
[mono-api-html] Prettier output when dealing with arrays ([] or [][]), nullable (?) and pointers (*).
Ludovic Henry [Wed, 7 May 2014 19:01:38 +0000 (15:01 -0400)]
[counters] Edit get process pid and /proc/loadavg according to Paolo review
Ludovic Henry [Wed, 7 May 2014 20:59:34 +0000 (16:59 -0400)]
[proflog] Increment LOG_DATA_VERSION
Ludovic Henry [Wed, 7 May 2014 20:55:00 +0000 (16:55 -0400)]
[proflog] Add integration of counters_init and counters_sample
counters_init is called at the end of runtime initialization, on runtime_initialized hook
counters_sample is called in the helper_thread at least once per second
Ludovic Henry [Wed, 7 May 2014 20:32:56 +0000 (16:32 -0400)]
[proflog] Add counters_init and counters_sample functions
Ludovic Henry [Wed, 7 May 2014 20:29:19 +0000 (16:29 -0400)]
[proflog] Add counters enum type and documentation
Ludovic Henry [Wed, 7 May 2014 20:28:02 +0000 (16:28 -0400)]
[proflog] Add counters option parsing
Ludovic Henry [Wed, 7 May 2014 20:18:40 +0000 (16:18 -0400)]
[proflog] Add emit_string and emit_double functions
Marek Safar [Wed, 7 May 2014 17:10:27 +0000 (19:10 +0200)]
Merge pull request #1023 from LogosBible/NetworkStreamBeginWriteInnerException
Include inner exception when BeginWrite fails due to exception from Sock...
Ludovic Henry [Wed, 7 May 2014 16:01:25 +0000 (12:01 -0400)]
[counters] Add support for string values
Add new function mono_counters_register_with_size which let the counters API now what is going to be the max size of the string.
The type of the value passed when MONO_COUNTER_STRING is passed must be char* (instead of char** previously). This is to guarantee that, if we want to change the value of the counter, we do not reallocate and free the old value, but we change the value in place. Thus to avoir race condition and access to freed memory.
Tom Philpot [Wed, 7 May 2014 16:48:31 +0000 (09:48 -0700)]
Include inner exception when BeginWrite fails due to exception from Socket.BeginSend.
Marek Safar [Wed, 7 May 2014 15:01:09 +0000 (17:01 +0200)]
Undo project change from
073fe7a39cd9d64d77bc9687c50fd49bb0c66fdd which should not be included
Alex Rønne Petersen [Wed, 7 May 2014 14:56:41 +0000 (16:56 +0200)]
Marek Safar [Wed, 7 May 2014 14:51:08 +0000 (16:51 +0200)]
[mcs] Fix completion for `new {' input
Marek Safar [Wed, 7 May 2014 13:10:13 +0000 (15:10 +0200)]
[mcs] Don't report interface implementation errors for optional implementations. Fixes #18030
Zoltan Varga [Wed, 7 May 2014 12:50:20 +0000 (14:50 +0200)]
Fix the build.
Marek Safar [Wed, 7 May 2014 12:19:34 +0000 (14:19 +0200)]
[system.core] Fix some MemoryMappedFile argument checks
Zoltan Varga [Wed, 7 May 2014 12:01:57 +0000 (14:01 +0200)]
[sdb] Add end lines/end columns to line number information.
Zoltan Varga [Wed, 7 May 2014 12:00:53 +0000 (14:00 +0200)]
Add end line/end column information to the mdb file format and pdb2mdb.
Marek Safar [Wed, 7 May 2014 11:12:12 +0000 (13:12 +0200)]
[corlib] Rethrow user not initialization exception when lazy initialization throws. Fixes #19564
Rodrigo Kumpera [Wed, 7 May 2014 03:11:25 +0000 (23:11 -0400)]
Fix copyright.
Sebastien Pouliot [Tue, 6 May 2014 21:29:49 +0000 (17:29 -0400)]
[mono-api-html] Allow a lax processing mode of the XML files
This is useful when the files needs to be pre-processed (e.g. a major change between the assemblies internals) and where some duplicate entries might be created (e.g. merged types/namespaces).
Note: normally the mono-api* tools should not produce such files (so it's better not used unless required)
Sebastien Pouliot [Tue, 6 May 2014 15:32:05 +0000 (11:32 -0400)]
[mono-api-html] Prettier output using singular and plural forms in sections
Ludovic Henry [Tue, 6 May 2014 22:33:06 +0000 (18:33 -0400)]
[counters] Add system counters
After discussion with Kumpera, it was decided to load them lazily when calling mono_counters_foreach for the first time. It has to be inside the mono runtime, and not in a profiler because it accesses proclib API which is all MONO_INTERNAL functions.
Rodrigo Kumpera [Tue, 6 May 2014 21:26:33 +0000 (17:26 -0400)]
[counters] Fix --stat to not dump counters for all sections.
Miguel de Icaza [Tue, 6 May 2014 21:24:51 +0000 (17:24 -0400)]
Merge pull request #1018 from ermshiperete/xamarin-19567
[MWF] Clear currentCell before disposing (fixes #19567)
Rodrigo Kumpera [Tue, 6 May 2014 19:39:03 +0000 (15:39 -0400)]
[sgen-bridge] Add color duplication pathology.
Rodrigo Kumpera [Tue, 6 May 2014 19:38:17 +0000 (15:38 -0400)]
[sgen] Improve bridge comparison code a bit.
Rodrigo Kumpera [Thu, 1 May 2014 18:35:55 +0000 (14:35 -0400)]
[sgen-bridge] Add the tarjan-coloring bridge.
The tarjan-coloring bridge is significant departure from the old bridge. It's design is based
on the Tarjan Strongly Connected Component algorithm.
SCC links are calculated as part of the Tarjan dfs on the second scan to calculate the low index and
form the components.
The algorithm does inspect all children after they have been processed, which enables us to do backward
propagation of the reachable SCCs.
In order to avoid the xref mess of the old algorithm, we color each component based on the sum of all
reachable components (colors). This means no matter how many non-bridge objects are in between two bridges,
they will all receive the same color and be represented in the final output as a single node in the SCC
graph.
This allows for a reasonably compact output graph as it will only include colors with no bridges when
a single object has multiple bridges reachable.
Said that, the basic algorithm received a series of optimizations:
1)Flag based merging, great idea from Mark, it bounds color and xref merging to be linear on the number of
colors found.
2)Objects and Colors bucket allocation. Instead of using expansible arrays we use fixed size buckets that
form a linked list. This allow us to use direct pointers instead of indexes. It avoid the expensive expansions.
Another benefit is that it reduces the work by sgen's malloc, which can be really slow.
3)Replace the object hash table with header patching. We tag objects with both pinning and forwarded bits and
store a pointer in the lock word. This eliminates the hashtable, a big source of perf issues. Patching objects
back at the end of bridge processing is much much cheaper than free'ing all the hashtable entries.
4)Color deduplication. It's possible to produce duplicated colors due to mutually unreachable paths that
both points to the same set of bridges. A cache is introduced to reduce it for colors points to 2 or 3 others.
The way we build colors allow us in the future to fix the hub object problem (SetupDoubleFan).
Experimental results with sgen-bridge-pathologies shows this implementation been 2-3x faster than the new one.
Rodrigo Kumpera [Thu, 1 May 2014 18:34:27 +0000 (14:34 -0400)]
[bridge] change the log entry name to make it easier to read logs.
Rodrigo Kumpera [Thu, 1 May 2014 15:01:08 +0000 (11:01 -0400)]
[sgen-bridge] Each bridge needs it own internal mem type as their sizes differ.
Miguel de Icaza [Tue, 6 May 2014 18:19:43 +0000 (14:19 -0400)]
Merge pull request #1010 from davidmoore1/bug-19304
Prevent call to OwnerLostFocusHandler for disposed object
Marek Safar [Tue, 6 May 2014 17:58:34 +0000 (19:58 +0200)]
[mcs] Include more unicode categories in parsing identifier part character. Fixes #18229
Eberhard Beilharz [Tue, 6 May 2014 17:09:29 +0000 (19:09 +0200)]
[MWF] Clear currentCell before disposing (fixes #19567)
If currentCell still has a value when we call Columns.Clear() we
might try to end the editing. Because the columns got disposed
before calling Columns.Clear() we get a crash. This patch fixes
the problem by setting currentCell to null.
Eberhard Beilharz [Tue, 6 May 2014 17:06:50 +0000 (19:06 +0200)]
[MWF] Unit test for DataGridView bug (#19567)
Rodrigo Kumpera [Tue, 6 May 2014 16:34:42 +0000 (12:34 -0400)]
Merge pull request #992 from ludovic-henry/ludovic-counters-pr1
[counters] Add sample and accessors to mono counters API
Marek Safar [Tue, 6 May 2014 15:56:50 +0000 (17:56 +0200)]
[mcs] Emit null constant value for default parameters of generic types to indicate not missing value. Fixes #19033
Marek Safar [Tue, 6 May 2014 15:19:15 +0000 (17:19 +0200)]
[mcs] Report error for invalid unary nullable predefined operators
Marek Safar [Tue, 6 May 2014 14:51:40 +0000 (16:51 +0200)]
[mcs] Do type parameter conversion involving type parameters using dependency rules. Fixes #18473
Marek Safar [Tue, 6 May 2014 13:39:23 +0000 (15:39 +0200)]
Merge pull request #1017 from akoeplinger/fix-monocc
[Mono.CodeContracts] Always build debug file for the test assembly
Alexander Köplinger [Tue, 6 May 2014 13:37:16 +0000 (15:37 +0200)]
[Mono.CodeContracts] Always build debug file for the test assembly
The tests require that the debug file is available, however in the net_4_0 profile this file isn't generated by default.
We now ensure the debug file is always generated for the test assembly.
Sebastien Pouliot [Tue, 6 May 2014 12:55:50 +0000 (08:55 -0400)]
[mono-api-html] Prettier output of ref and out (instead of &)
Sebastien Pouliot [Tue, 6 May 2014 01:50:34 +0000 (21:50 -0400)]
[mono-api-html] Make the [Obsolete] a bit prettier when no text message is available
Zoltan Varga [Mon, 5 May 2014 21:39:46 +0000 (23:39 +0200)]
[sdb] Add a new TypeMirror.NewInstance () method which can create valuetypes without a ctor.
Jeffrey Stedfast [Mon, 5 May 2014 21:19:10 +0000 (17:19 -0400)]
[Mono.Debugger.Soft] Modified TypeMirror.NewInstance() to check that the method is a .ctor
Sebastien Pouliot [Mon, 5 May 2014 20:17:54 +0000 (16:17 -0400)]
[mono-api-html] Report [Obsolete] members in a separate section (not as both removed and added with an [Obsolete]). That makes it easier to read long API diff reports
Ludovic Henry [Mon, 5 May 2014 18:08:46 +0000 (14:08 -0400)]
[counters] Disable register filter on valid_mask
This was previously used to not store counters that were not going to be dumped, but because we can now sample them, we have to make sure that they are stored, even if we do not plan to dump or sample them.
Marek Safar [Mon, 5 May 2014 17:16:11 +0000 (19:16 +0200)]
[dlr] Emit correct code for convert of nullable types. Fixes #19500
Ludovic Henry [Mon, 5 May 2014 16:23:20 +0000 (12:23 -0400)]
[counters] Fix type issue on mini counters
Used MONO_COUNTER_WORD for gint32 variable, crashed on 64bits platform.
Ludovic Henry [Mon, 5 May 2014 16:20:59 +0000 (12:20 -0400)]
[counters] Use macro to copy counter in sampling, and use sizeof directly instead of mono_counter_get_size
The use of sizeof will enable compilers optimization on memcpy.
Marek Safar [Mon, 5 May 2014 15:53:26 +0000 (17:53 +0200)]
[mcs] Emit all method like members in same order as they appear in source code. Fixes #19509
Ludovic Henry [Wed, 30 Apr 2014 18:51:22 +0000 (14:51 -0400)]
[counters] Sample should fail if buffer size is too small
Ludovic Henry [Wed, 30 Apr 2014 18:39:29 +0000 (14:39 -0400)]
[counters] Add sample and accessors functions
Marek Safar [Mon, 5 May 2014 12:56:41 +0000 (14:56 +0200)]
[mcs] Convert extended underlying enum constants to their underlying type. Fixes #18866
Miguel de Icaza [Sun, 4 May 2014 21:34:12 +0000 (17:34 -0400)]
[corlib] Remove stale comments
Miguel de Icaza [Sun, 4 May 2014 21:33:51 +0000 (17:33 -0400)]
System: Fix the previous bulid
Miguel de Icaza [Sun, 4 May 2014 21:14:54 +0000 (17:14 -0400)]
[System] Fix build warnings
Zoltan Varga [Sat, 3 May 2014 19:50:52 +0000 (21:50 +0200)]
[jit] Register the Mono_UnhandledException_internal icall when TARGET_ANDROID is set.
Zoltan Varga [Sat, 3 May 2014 17:29:42 +0000 (19:29 +0200)]
[runtime] Fix some automake conditionals in scripts/, they should be in the beginning of the line.
Zoltan Varga [Sat, 3 May 2014 16:47:35 +0000 (18:47 +0200)]
[runtime] Fix a warning which happens because we store the thread tid as a guint64.
Mark Probst [Fri, 2 May 2014 20:56:52 +0000 (13:56 -0700)]
[sgen-bridge] Don't forward a node to itself.
Mark Probst [Wed, 30 Apr 2014 21:02:47 +0000 (14:02 -0700)]
[sgen-bridge] Compare xrefs between bridge implementations, too.
Mark Probst [Wed, 30 Apr 2014 20:33:31 +0000 (13:33 -0700)]
[sgen-bridge] Compare SCCs between bridge implementations.
Mark Probst [Wed, 30 Apr 2014 19:45:10 +0000 (12:45 -0700)]
[sgen-bridge] Allow second bridge implementation to run alongside the active one.
Mark Probst [Wed, 30 Apr 2014 18:29:50 +0000 (11:29 -0700)]
[sgen-bridge] Small refactoring.
Mark Probst [Wed, 30 Apr 2014 18:01:17 +0000 (11:01 -0700)]
[sgen-bridge] Move bridge debug option handling to sgen-bridge.c.
Mark Probst [Wed, 30 Apr 2014 17:28:05 +0000 (10:28 -0700)]
[sgen-bridge] Set bridge_processing_in_progress in sgen-bridge.c.