mono.git
10 years agoMerge pull request #1035 from DavidKarlas/cacheSdb
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

10 years ago[runtime] Fix a pair of thread abort races in classic abort code.
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.

10 years ago[jit] Unblock more critical signals at startup.
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.

10 years ago[gc] Add mono_gc_get_restart_signal.
Rodrigo Kumpera [Tue, 13 May 2014 22:50:07 +0000 (18:50 -0400)]
[gc] Add mono_gc_get_restart_signal.

10 years ago[sgen] Implement 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.

10 years ago[boehm] 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.

10 years ago[System.IO.KeventWatcher] Introduce enums with the KEvent flags and constants
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).

10 years ago[bcl] Fix Process.PrivateMemorySize64 on osx, we now return task_baic_info.resident_s...
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.

10 years agoClean up the usage of FILETIME structures, avoid accessing them as gint64 since that...
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.

10 years ago[Mono.Debugger.Soft] Caching tokens resolving
David Karlaš [Tue, 13 May 2014 18:20:46 +0000 (20:20 +0200)]
[Mono.Debugger.Soft] Caching tokens resolving

10 years ago[Mono.Debugger.Soft] Using cached GetParameters when fetching GetLocals
David Karlaš [Tue, 13 May 2014 18:18:26 +0000 (20:18 +0200)]
[Mono.Debugger.Soft] Using cached GetParameters when fetching GetLocals

10 years ago[mprof-report] Fix crash in case no counters values were sampled because of too short...
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

10 years ago[sdb] Avoid stack overflows when a boxed vtype recursively references itself using...
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.

10 years ago[profiler] Add managed backtrace support to sampling mode for the signal-based impl.
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.

10 years ago[mprof-report] Fix bug where no counters would be printed if --verbose or --counters...
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

10 years ago[profiler] Filter more event types in mprof-report based on time (more xambug #11904).
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).

10 years ago[profiler] In mprof-report fix handling of the time filter when starting from 0 ...
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).

10 years ago[profiler] Emit statistical samples at 1 second intervals and fix race condition.
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.

10 years agoMerge pull request #1020 from ludovic-henry/pr7-system-counters
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

10 years ago[counters] Edit according to Kumpera review
Ludovic Henry [Mon, 12 May 2014 20:35:05 +0000 (16:35 -0400)]
[counters] Edit according to Kumpera review

10 years ago[system.web] remove some more remnants of Mono.Web.dll to fix Xamarin Studio activation
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.

10 years ago[arm] Add support for the new compare instructions used by native types.
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.

10 years ago[decode] Edit according to Paolo review
Ludovic Henry [Mon, 12 May 2014 13:55:28 +0000 (09:55 -0400)]
[decode] Edit according to Paolo review

10 years ago[decode] Fix sample difference parsing
Ludovic Henry [Fri, 9 May 2014 20:48:14 +0000 (16:48 -0400)]
[decode] Fix sample difference parsing

10 years ago[decode] Add command line counters options parsing
Ludovic Henry [Fri, 9 May 2014 19:43:43 +0000 (15:43 -0400)]
[decode] Add command line counters options parsing

10 years ago[decode] Add dump_counters
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

10 years ago[decode] Add parsing for TYPE_SAMPLE_COUNTERS
Ludovic Henry [Fri, 9 May 2014 19:40:06 +0000 (15:40 -0400)]
[decode] Add parsing for TYPE_SAMPLE_COUNTERS

10 years ago[decode] Add parsing for TYPE_SAMPLE_COUNTERS_DESC
Ludovic Henry [Fri, 9 May 2014 19:39:35 +0000 (15:39 -0400)]
[decode] Add parsing for TYPE_SAMPLE_COUNTERS_DESC

10 years ago[decode] Add functions to transform mono-counters enum to strings
Ludovic Henry [Fri, 9 May 2014 19:37:51 +0000 (15:37 -0400)]
[decode] Add functions to transform mono-counters enum to strings

10 years ago[decode] Add functions to manipulate counters, counters_sections and counters_timestamps
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

10 years ago[decode] Add Counter, CounterValue, CounterList, CounterSection and CounterTimestamp...
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.

10 years ago[decode] Add check for computer endianness on startup
Ludovic Henry [Fri, 9 May 2014 16:16:40 +0000 (12:16 -0400)]
[decode] Add check for computer endianness on startup

10 years ago[http] Convert string output data using BOM header when available. Fixes #19667
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

10 years ago[system.net.http] Fix encoding of Content-MD5. Based on patch by nberardi. Fixes...
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

10 years ago[sdb] Fix a deadlock in the assembly cache invalidation code.
Zoltan Varga [Sun, 11 May 2014 22:47:00 +0000 (00:47 +0200)]
[sdb] Fix a deadlock in the assembly cache invalidation code.

10 years ago[sdb] Avoid placing implicit sequence points at offsets where the IL stack is empty...
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.

10 years ago[jit] Add a test for lrem_un.
Zoltan Varga [Sun, 11 May 2014 19:53:36 +0000 (21:53 +0200)]
[jit] Add a test for lrem_un.

10 years ago[sdb] Fix the serialization of variables with address mode VTADDR.
Zoltan Varga [Sun, 11 May 2014 19:14:31 +0000 (21:14 +0200)]
[sdb] Fix the serialization of variables with address mode VTADDR.

10 years ago[eglib] Remove test-glib code, we don't have to maintain compatibility with glib...
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.

10 years ago[xbuild] Make tool output parsing more robust
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

10 years ago[runtime] Remove an assert from inner_start_thread () on win32 which is not needed.
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.

10 years ago[tests] Fix a trivial consistency issue in a test case.
Mark Probst [Fri, 9 May 2014 20:12:26 +0000 (13:12 -0700)]
[tests] Fix a trivial consistency issue in a test case.

10 years ago[xbuild] Implement WriteCodeFragment task
Marek Safar [Fri, 9 May 2014 16:52:54 +0000 (18:52 +0200)]
[xbuild] Implement WriteCodeFragment task

10 years ago[xbuild] Add ItemDefinitionGroup basic handling
Marek Safar [Fri, 9 May 2014 13:41:38 +0000 (15:41 +0200)]
[xbuild] Add ItemDefinitionGroup basic handling

10 years ago[xbuild] Evaluate Choose and PropertyGroup elements in order of appearance
Marek Safar [Fri, 9 May 2014 13:41:13 +0000 (15:41 +0200)]
[xbuild] Evaluate Choose and PropertyGroup elements in order of appearance

10 years ago[xbuild] Simplify and speedup ConditionFunctionExpression
Marek Safar [Fri, 9 May 2014 13:29:57 +0000 (15:29 +0200)]
[xbuild] Simplify and speedup ConditionFunctionExpression

10 years agoRemove last traces of Mono.Web
Marek Habersack [Fri, 9 May 2014 14:01:45 +0000 (16:01 +0200)]
Remove last traces of Mono.Web

10 years agoMerge pull request #1028 from DavidKarlas/sdbTypesCaching
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

10 years agoassign project FullPath before creating ProjectInstance so that properties are assign...
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.

10 years agoMSBuildExtensionsPath32/64 should default to MSBuildExtensionsPath value.
Atsushi Eno [Fri, 9 May 2014 12:23:39 +0000 (21:23 +0900)]
MSBuildExtensionsPath32/64 should default to MSBuildExtensionsPath value.

10 years agofix previous change (huh, I was blind, no such option -f, use -p).
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).

10 years agouse mkdir -f to ignore "directory already exists" error.
Atsushi Eno [Fri, 9 May 2014 09:04:53 +0000 (18:04 +0900)]
use mkdir -f to ignore "directory already exists" error.

10 years agoMerge pull request #1029 from ranma42/dont_free_global_codeman-cleanup
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

10 years ago[mono-api-html] Add the [Obsolete] message for API additions and removals
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.

10 years ago[runtime] Remove the last bits of mono_dont_free_global_codeman
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.

10 years ago[runtime] Wait for the finalizer thread to exit in both code paths where waiting...
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.

10 years agoFix make runtest-managed in tests/.
Zoltan Varga [Thu, 8 May 2014 22:56:35 +0000 (00:56 +0200)]
Fix make runtest-managed in tests/.

10 years agoFix make check in tests/
Zoltan Varga [Thu, 8 May 2014 22:44:09 +0000 (00:44 +0200)]
Fix make check in tests/

10 years ago[Mono.Debugger.Soft] Catching AssemblyMirror in AppDomainMirror and TypeMirror in...
David Karlaš [Thu, 8 May 2014 22:41:37 +0000 (00:41 +0200)]
[Mono.Debugger.Soft] Catching AssemblyMirror in AppDomainMirror and TypeMirror in AssemblyMirror

10 years ago[runtime] Remove the mono_dont_free_global_codeman hack, it shouldn't be needed now...
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.

10 years ago[jit] Disable the interval based linear scan algorithm in aot+debug mode, since it...
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.

10 years ago[Mono.Debugger.Soft] Added TypeMirror.IsNested
Jeffrey Stedfast [Thu, 8 May 2014 20:38:12 +0000 (16:38 -0400)]
[Mono.Debugger.Soft] Added TypeMirror.IsNested

10 years agoMerge pull request #1024 from ludovic-henry/pr10-proflog-counters
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

10 years ago[proflog] Edit according to Paolo review
Ludovic Henry [Thu, 8 May 2014 19:56:46 +0000 (15:56 -0400)]
[proflog] Edit according to Paolo review

10 years agoUpdate MONO_CPU_ARCH description in man/mono.1.
Alex Rønne Petersen [Thu, 8 May 2014 18:33:04 +0000 (20:33 +0200)]
Update MONO_CPU_ARCH description in man/mono.1.

10 years agoMerge Mono.Web back into System.Web and remove the Mono.Web module
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

10 years agoMerge pull request #1026 from DavidKarlas/cacheThreadInfo
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

10 years ago[mono-api-html] Refactor to ensure the RegEx (if used) is applied everywhere
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);

10 years ago[counters] Fix operator precedence
Ludovic Henry [Thu, 8 May 2014 15:29:01 +0000 (11:29 -0400)]
[counters] Fix operator precedence

10 years ago[counters] Edit dump_counter to use mono_counters_sample and accessors
Ludovic Henry [Wed, 7 May 2014 22:04:47 +0000 (18:04 -0400)]
[counters] Edit dump_counter to use mono_counters_sample and accessors

10 years ago[gsharedvt] Add tests for large structs.
Zoltan Varga [Wed, 7 May 2014 22:10:55 +0000 (00:10 +0200)]
[gsharedvt] Add tests for large structs.

10 years agoInitialize out parameters to NULL.
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);

10 years ago[Mono.Debugger.Soft] Adding caching of ThreadInfo in ThreadMirror
David Karlaš [Thu, 8 May 2014 08:51:40 +0000 (10:51 +0200)]
[Mono.Debugger.Soft] Adding caching of ThreadInfo in ThreadMirror

10 years ago[corlib] Use invariant culture for GetTempFileName generator
Marek Safar [Thu, 8 May 2014 08:25:00 +0000 (10:25 +0200)]
[corlib] Use invariant culture for GetTempFileName generator

10 years ago[xbuild] Don't crash when reporting top level unknown elements
Marek Safar [Wed, 7 May 2014 18:05:55 +0000 (20:05 +0200)]
[xbuild] Don't crash when reporting top level unknown elements

10 years ago[System.Core] Fix MOBILE-implementation of MemoryMappedFile
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.

10 years ago[counters] Fix -1 array access in case counter is of type string and value is null
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

10 years ago[counters] Improve the documentation of the counters API.
Rodrigo Kumpera [Wed, 7 May 2014 21:55:54 +0000 (17:55 -0400)]
[counters] Improve the documentation of the counters API.

10 years ago[counters] Fix the build and do some error handling.
Rodrigo Kumpera [Wed, 7 May 2014 21:55:20 +0000 (17:55 -0400)]
[counters] Fix the build and do some error handling.

10 years agoMerge pull request #1022 from ludovic-henry/pr9-string-counters
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

10 years ago[counters] Fix potential overflow in string sampling
Ludovic Henry [Wed, 7 May 2014 21:32:09 +0000 (17:32 -0400)]
[counters] Fix potential overflow in string sampling

10 years ago[mono-api-html] Prettier output when dealing with arrays ([] or [][]), nullable ...
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 (*).

10 years ago[counters] Edit get process pid and /proc/loadavg according to Paolo review
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

10 years ago[proflog] Increment LOG_DATA_VERSION
Ludovic Henry [Wed, 7 May 2014 20:59:34 +0000 (16:59 -0400)]
[proflog] Increment LOG_DATA_VERSION

10 years ago[proflog] Add integration of counters_init and counters_sample
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

10 years ago[proflog] Add counters_init and counters_sample functions
Ludovic Henry [Wed, 7 May 2014 20:32:56 +0000 (16:32 -0400)]
[proflog] Add counters_init and counters_sample functions

10 years ago[proflog] Add counters enum type and documentation
Ludovic Henry [Wed, 7 May 2014 20:29:19 +0000 (16:29 -0400)]
[proflog] Add counters enum type and documentation

10 years ago[proflog] Add counters option parsing
Ludovic Henry [Wed, 7 May 2014 20:28:02 +0000 (16:28 -0400)]
[proflog] Add counters option parsing

10 years ago[proflog] Add emit_string and emit_double functions
Ludovic Henry [Wed, 7 May 2014 20:18:40 +0000 (16:18 -0400)]
[proflog] Add emit_string and emit_double functions

10 years agoMerge pull request #1023 from LogosBible/NetworkStreamBeginWriteInnerException
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...

10 years ago[counters] Add support for string values
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.

10 years agoInclude inner exception when BeginWrite fails due to exception from Socket.BeginSend.
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.

10 years agoUndo project change from 073fe7a39cd9d64d77bc9687c50fd49bb0c66fdd which should not...
Marek Safar [Wed, 7 May 2014 15:01:09 +0000 (17:01 +0200)]
Undo project change from 073fe7a39cd9d64d77bc9687c50fd49bb0c66fdd which should not be included

10 years agoFix the check in 4660f44381e6f686b0cf3ded08564104c277e00a for special files.
Alex Rønne Petersen [Wed, 7 May 2014 14:56:41 +0000 (16:56 +0200)]
Fix the check in 4660f44381e6f686b0cf3ded08564104c277e00a for special files.

10 years ago[mcs] Fix completion for `new {' input
Marek Safar [Wed, 7 May 2014 14:51:08 +0000 (16:51 +0200)]
[mcs] Fix completion for `new {' input

10 years ago[mcs] Don't report interface implementation errors for optional implementations....
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

10 years agoFix the build.
Zoltan Varga [Wed, 7 May 2014 12:50:20 +0000 (14:50 +0200)]
Fix the build.

10 years ago[system.core] Fix some MemoryMappedFile argument checks
Marek Safar [Wed, 7 May 2014 12:19:34 +0000 (14:19 +0200)]
[system.core] Fix some MemoryMappedFile argument checks

10 years ago[sdb] Add end lines/end columns to line number information.
Zoltan Varga [Wed, 7 May 2014 12:01:57 +0000 (14:01 +0200)]
[sdb] Add end lines/end columns to line number information.

10 years agoAdd end line/end column information to the mdb file format and pdb2mdb.
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.