Jonathan Pryor [Wed, 14 May 2014 17:02:10 +0000 (13:02 -0400)]
[system.net.http] Set version to 4.0.0.0 on MOBILE
For a variety of reasons, we need to bump the assembly version of
System.Net.Http.dll to "4.0.0.0" (from 2.0.5.0) on our MOBILE
profiles, lest much pain and suffering occur, e.g.:
http://motzcod.es/post/
78863496592/portable-class-libraries-httpclient-so-happy
> For some reason at compile time the facades don’t kick in
> properly and it tries to use the NuGet version of
> System.Net.Http which has some specific functionality for
> older platforms. ...
> All you need to do is create a new app.config file in your
> Android and iOS project.
The need to create a custom app.config is ugly and something
to be avoided. Setting our System.Net.Http.dll version to
v4.0.0.0 removes the need for the custom app.config.
Jeffrey Stedfast [Wed, 14 May 2014 15:14:44 +0000 (11:14 -0400)]
Merge pull request #1037 from DavidKarlas/fixingParamName
Fixing regression from previous commit
David Karlaš [Wed, 14 May 2014 14:55:34 +0000 (16:55 +0200)]
[Mono.Debugger.Soft] Fixing regression from previous commit where type name instead of parameter name was used
Jeffrey Stedfast [Wed, 14 May 2014 10:47:53 +0000 (06:47 -0400)]
Merge pull request #1036 from DavidKarlas/cacheSdbLocking
[Mono.Debugger.Soft] Adding thread locking on access to tokensCache dictionary
David Karlaš [Wed, 14 May 2014 04:41:43 +0000 (06:41 +0200)]
[Mono.Debugger.Soft] Adding thread locking on access to tokensCache dictionary
Jeffrey Stedfast [Tue, 13 May 2014 23:39:38 +0000 (19:39 -0400)]
Merge pull request #1035 from DavidKarlas/cacheSdb
[Mono.Debugger.Soft] More caching
Rodrigo Kumpera [Tue, 13 May 2014 22:55:15 +0000 (18:55 -0400)]
[runtime] Fix a pair of thread abort races in classic abort code.
The two races in question are:
In signal_thread_state_change we need to block the target from
further waiting before we signal it or otherwise it might miss the
broadcast asking it to wakeup.
In mono_thread_request_interruption we need to ensure we self interrupt
before returning from the signal handler.
Rodrigo Kumpera [Tue, 13 May 2014 22:51:45 +0000 (18:51 -0400)]
[jit] Unblock more critical signals at startup.
Unblock the GC suspend/restart signals and SIGCHLD. Those are required to make the GC
and process watching work.
The SIGCHLD issue was found on mod_mono that fork a process with that signal blocked.
The GC signals are been preemptively unblocked as we can never know what sort of sig mask
we'll start with.
Rodrigo Kumpera [Tue, 13 May 2014 22:50:07 +0000 (18:50 -0400)]
[gc] Add mono_gc_get_restart_signal.
Rodrigo Kumpera [Tue, 13 May 2014 22:49:34 +0000 (18:49 -0400)]
[sgen] Implement mono_gc_get_restart_signal.
Rodrigo Kumpera [Tue, 13 May 2014 22:49:10 +0000 (18:49 -0400)]
[boehm] Implement mono_gc_get_restart_signal.
Miguel de Icaza [Tue, 13 May 2014 22:11:49 +0000 (18:11 -0400)]
[System.IO.KeventWatcher] Introduce enums with the KEvent flags and constants
This merely introduces a more readable version of some of the constants that
were hardcoded on the source code.
There is a suspect value "20" that was on the original source code, that
stands for VNodeLink and VNodeExtend, but perhaps the original author
meant to say VNodeRename. In any case, it seems like we should catch all
of them (except for Revoke).
Zoltan Varga [Tue, 13 May 2014 21:51:58 +0000 (23:51 +0200)]
[bcl] Fix Process.PrivateMemorySize64 on osx, we now return task_baic_info.resident_size. Fixes #19738.
Zoltan Varga [Tue, 13 May 2014 21:40:38 +0000 (23:40 +0200)]
Clean up the usage of FILETIME structures, avoid accessing them as gint64 since that would lead to alignment problems. Hopefully fixes #19739.
David Karlaš [Tue, 13 May 2014 18:20:46 +0000 (20:20 +0200)]
[Mono.Debugger.Soft] Caching tokens resolving
David Karlaš [Tue, 13 May 2014 18:18:26 +0000 (20:18 +0200)]
[Mono.Debugger.Soft] Using cached GetParameters when fetching GetLocals
Ludovic Henry [Tue, 13 May 2014 17:49:07 +0000 (13:49 -0400)]
[mprof-report] Fix crash in case no counters values were sampled because of too short run time
Zoltan Varga [Tue, 13 May 2014 16:24:59 +0000 (18:24 +0200)]
[sdb] Avoid stack overflows when a boxed vtype recursively references itself using fields. Fixes #18914.
Paolo Molaro [Tue, 13 May 2014 15:40:51 +0000 (17:40 +0200)]
[profiler] Add managed backtrace support to sampling mode for the signal-based impl.
Ludovic Henry [Tue, 13 May 2014 13:49:27 +0000 (09:49 -0400)]
[mprof-report] Fix bug where no counters would be printed if --verbose or --counters-sort=category were not passed
Paolo Molaro [Tue, 13 May 2014 13:18:22 +0000 (15:18 +0200)]
[profiler] Filter more event types in mprof-report based on time (more xambug #11904).
Paolo Molaro [Tue, 13 May 2014 11:20:50 +0000 (13:20 +0200)]
[profiler] In mprof-report fix handling of the time filter when starting from 0 (xambug #11904).
Paolo Molaro [Tue, 13 May 2014 10:59:06 +0000 (12:59 +0200)]
[profiler] Emit statistical samples at 1 second intervals and fix race condition.
Ludovic Henry [Mon, 12 May 2014 21:19:34 +0000 (17:19 -0400)]
Merge pull request #1020 from ludovic-henry/pr7-system-counters
[counters] Add system counters
Ludovic Henry [Mon, 12 May 2014 20:35:05 +0000 (16:35 -0400)]
[counters] Edit according to Kumpera review
Marek Habersack [Mon, 12 May 2014 17:31:15 +0000 (19:31 +0200)]
[system.web] remove some more remnants of Mono.Web.dll to fix Xamarin Studio activation
The section mapping system wasn't being initialized and used properly since some ifdefs had
been left in the source code. This caused a null reference exception while trying to perform
some HTTP requests and, as the result, broke Xamarin Studio activation.
Zoltan Varga [Mon, 12 May 2014 16:20:28 +0000 (18:20 +0200)]
[arm] Add support for the new compare instructions used by native types.
Ludovic Henry [Mon, 12 May 2014 13:55:28 +0000 (09:55 -0400)]
[decode] Edit according to Paolo review
Ludovic Henry [Fri, 9 May 2014 20:48:14 +0000 (16:48 -0400)]
[decode] Fix sample difference parsing
Ludovic Henry [Fri, 9 May 2014 19:43:43 +0000 (15:43 -0400)]
[decode] Add command line counters options parsing
Ludovic Henry [Fri, 9 May 2014 19:43:16 +0000 (15:43 -0400)]
[decode] Add dump_counters
Two main way to dump :
- per Time : equivalent to a --stats but every seconds, useful to see the overall evolution of all counters
- per Category : print sample values grouped per category and counters, useful to see the evolution of a specific counter over time
Ludovic Henry [Fri, 9 May 2014 19:40:06 +0000 (15:40 -0400)]
[decode] Add parsing for TYPE_SAMPLE_COUNTERS
Ludovic Henry [Fri, 9 May 2014 19:39:35 +0000 (15:39 -0400)]
[decode] Add parsing for TYPE_SAMPLE_COUNTERS_DESC
Ludovic Henry [Fri, 9 May 2014 19:37:51 +0000 (15:37 -0400)]
[decode] Add functions to transform mono-counters enum to strings
Ludovic Henry [Fri, 9 May 2014 19:36:43 +0000 (15:36 -0400)]
[decode] Add functions to manipulate counters, counters_sections and counters_timestamps
This variables are respectively :
- the list of all counters
- the list of all counters grouped by sections
- the list of all counters groupes by sample value timestamps and sections
Ludovic Henry [Fri, 9 May 2014 16:20:47 +0000 (12:20 -0400)]
[decode] Add Counter, CounterValue, CounterList, CounterSection and CounterTimestamp structs
Counter : contains metadata concerning a counter. There is one in memory per counter index (right now ~100).
CounterValue : represent a sample value of a counter.
CounterList : it is a utility struct that contains a list of counters.
CounterSection : represent all the counters that are in this sections. Used only when we sort counters per category.
CounterTimestamp : represent all the counters that have a sample value at this timestamp. Used only when we sort counters per time.
Ludovic Henry [Fri, 9 May 2014 16:16:40 +0000 (12:16 -0400)]
[decode] Add check for computer endianness on startup
Marek Safar [Mon, 12 May 2014 13:24:57 +0000 (15:24 +0200)]
[http] Convert string output data using BOM header when available. Fixes #19667
Marek Safar [Mon, 12 May 2014 11:24:47 +0000 (13:24 +0200)]
[system.net.http] Fix encoding of Content-MD5. Based on patch by nberardi. Fixes #19644
Zoltan Varga [Sun, 11 May 2014 22:47:00 +0000 (00:47 +0200)]
[sdb] Fix a deadlock in the assembly cache invalidation code.
Zoltan Varga [Sun, 11 May 2014 21:08:13 +0000 (23:08 +0200)]
[sdb] Avoid placing implicit sequence points at offsets where the IL stack is empty when using symbol file based sequence points. Fixes #13640.
Zoltan Varga [Sun, 11 May 2014 19:53:36 +0000 (21:53 +0200)]
[jit] Add a test for lrem_un.
Zoltan Varga [Sun, 11 May 2014 19:14:31 +0000 (21:14 +0200)]
[sdb] Fix the serialization of variables with address mode VTADDR.
Zoltan Varga [Sat, 10 May 2014 01:07:37 +0000 (03:07 +0200)]
[eglib] Remove test-glib code, we don't have to maintain compatibility with glib any more. Fixes #19638.
Michael Hutchinson [Fri, 9 May 2014 23:58:02 +0000 (19:58 -0400)]
[xbuild] Make tool output parsing more robust
It's now also much more compatible with the subtleties of
the MS .NET parser and includes a substantial test suite.
Fixes BXC19542 - Broken F# Error Reports
Zoltan Varga [Fri, 9 May 2014 23:00:16 +0000 (01:00 +0200)]
[runtime] Remove an assert from inner_start_thread () on win32 which is not needed.
Mark Probst [Fri, 9 May 2014 20:12:26 +0000 (13:12 -0700)]
[tests] Fix a trivial consistency issue in a test case.
Marek Safar [Fri, 9 May 2014 16:52:54 +0000 (18:52 +0200)]
[xbuild] Implement WriteCodeFragment task
Marek Safar [Fri, 9 May 2014 13:41:38 +0000 (15:41 +0200)]
[xbuild] Add ItemDefinitionGroup basic handling
Marek Safar [Fri, 9 May 2014 13:41:13 +0000 (15:41 +0200)]
[xbuild] Evaluate Choose and PropertyGroup elements in order of appearance
Marek Safar [Fri, 9 May 2014 13:29:57 +0000 (15:29 +0200)]
[xbuild] Simplify and speedup ConditionFunctionExpression
Marek Habersack [Fri, 9 May 2014 14:01:45 +0000 (16:01 +0200)]
Remove last traces of Mono.Web
Zoltan Varga [Fri, 9 May 2014 12:52:28 +0000 (14:52 +0200)]
Merge pull request #1028 from DavidKarlas/sdbTypesCaching
[Mono.Debugger.Soft] Caching Assemblies and Types
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