mono.git
10 years agoMerge pull request #943 from ermshiperete/bug-novell-325669
Miguel de Icaza [Fri, 16 May 2014 14:54:22 +0000 (10:54 -0400)]
Merge pull request #943 from ermshiperete/bug-novell-325669

[MWF] Implement multi-display support on Linux (Fixes #325669)

10 years ago[MWF] Fix ComboBox list to not display offscreen (#15462)
Stephen McConnel [Thu, 17 Oct 2013 16:43:42 +0000 (11:43 -0500)]
[MWF] Fix ComboBox list to not display offscreen (#15462)

The fix mimics the behavior of Windows/.NET.

10 years ago[MWF] Fix Screen.FromRectangle (#8271)
Stephen McConnel [Fri, 9 Nov 2012 00:22:59 +0000 (18:22 -0600)]
[MWF] Fix Screen.FromRectangle (#8271)

The Screen.FromRectangle method was too simple minded.  It did not try to
find the best match for a screen when the system has more than one screen.
The new implementation makes at least some effort to find the closest
screen with the most overlap with the rectangle.

10 years ago[MWF] Implement multi-display support on Linux (Fixes #325669)
Eberhard Beilharz [Fri, 16 May 2014 14:21:51 +0000 (16:21 +0200)]
[MWF] Implement multi-display support on Linux (Fixes #325669)

The number of displays and sizes can be retrieved with the help of
libXinerama. The implementation was done in a way that is backwards
compatible, so on non-Linux systems or when libXinerama is not
available the behavior will be the same as before.

Also fixed the implementation of FormStartPosition.CenterScreen to
bring up the form centered on the current display (with the current
display being either the screen the top left corner of the owner
form is on, or if there is no owner the screen that has the mouse
pointer). This fixes Novell bug #325669 on Linux
(https://bugzilla.novell.com/show_bug.cgi?id=325669).

10 years ago[MS.Build] for item metadata access expression, remove surrounding ' and ".
Atsushi Eno [Fri, 16 May 2014 12:58:38 +0000 (21:58 +0900)]
[MS.Build] for item metadata access expression, remove surrounding ' and ".

The test case would explain what is not desired there.

10 years ago[MS.Build] more cleanup (remove debugging, kill extra code).
Atsushi Eno [Fri, 16 May 2014 05:50:19 +0000 (14:50 +0900)]
[MS.Build] more cleanup (remove debugging, kill extra code).

10 years agoMerge pull request #993 from ancailliau/fix-datacontract-json-serialization
Miguel de Icaza [Thu, 15 May 2014 21:34:53 +0000 (17:34 -0400)]
Merge pull request #993 from ancailliau/fix-datacontract-json-serialization

[Fix] DataContractJsonSerializer fails serializing/deserializing collections

10 years agoMerge pull request #925 from ermshiperete/novell-bug-602934
Miguel de Icaza [Thu, 15 May 2014 21:27:39 +0000 (17:27 -0400)]
Merge pull request #925 from ermshiperete/novell-bug-602934

[Printing] Fix for Novell bug #602934: improve values that printer settings return

10 years agoMerge pull request #942 from ermshiperete/MessageBoxBugs
Miguel de Icaza [Thu, 15 May 2014 21:26:13 +0000 (17:26 -0400)]
Merge pull request #942 from ermshiperete/MessageBoxBugs

[MWF] Improvements to MessageBox width

10 years agoMerge pull request #948 from ermshiperete/bug-xamarin-2394
Miguel de Icaza [Thu, 15 May 2014 21:22:31 +0000 (17:22 -0400)]
Merge pull request #948 from ermshiperete/bug-xamarin-2394

[MWF] Fixes related to Height and MinimumHeight in DataGridView

10 years agoMerge pull request #926 from ermshiperete/novell-bug-674098
Miguel de Icaza [Thu, 15 May 2014 21:21:55 +0000 (17:21 -0400)]
Merge pull request #926 from ermshiperete/novell-bug-674098

[MWF] Fix hang if clipboard source application closes down

10 years agoRemoved unneeded NET_2_0 ifdefs
Mika Aalto [Sat, 15 Mar 2014 19:31:20 +0000 (21:31 +0200)]
Removed unneeded NET_2_0 ifdefs

10 years agoAdded implementation and unit tests for GetFieldValue, GetStream and GetTextReader...
Mika Aalto [Sat, 15 Mar 2014 19:08:18 +0000 (21:08 +0200)]
Added implementation and unit tests for GetFieldValue, GetStream and GetTextReader methods in DbDataReader class.

Used https://github.com/matthid/mono/commit/51e808b3836e9ba32901762ea23941ee60b2746d as reference.

10 years agoMerge pull request #954 from ermshiperete/bug-xamarin-8907
Miguel de Icaza [Thu, 15 May 2014 21:13:21 +0000 (17:13 -0400)]
Merge pull request #954 from ermshiperete/bug-xamarin-8907

[MWF] Fix TableLayoutPanel layout bug (#8907)

10 years agoMerge pull request #952 from ermshiperete/bug-xamarin-2912
Miguel de Icaza [Thu, 15 May 2014 21:12:51 +0000 (17:12 -0400)]
Merge pull request #952 from ermshiperete/bug-xamarin-2912

[MWF] Fix AutoSize behavior of FlowLayoutPanel (#2912)

10 years agoMerge pull request #951 from ermshiperete/bug-xamarin-2462
Miguel de Icaza [Thu, 15 May 2014 21:11:46 +0000 (17:11 -0400)]
Merge pull request #951 from ermshiperete/bug-xamarin-2462

[MWF] Fix clipping of last line of dropdown (#2462)

10 years agoMerge pull request #950 from ermshiperete/bug-xamarin-2787
Miguel de Icaza [Thu, 15 May 2014 21:11:14 +0000 (17:11 -0400)]
Merge pull request #950 from ermshiperete/bug-xamarin-2787

[MWF] Release capture when clicking LinkLabel (Fixes #2787)

10 years agoMerge pull request #949 from ermshiperete/bug-novell-463149
Miguel de Icaza [Thu, 15 May 2014 21:08:54 +0000 (17:08 -0400)]
Merge pull request #949 from ermshiperete/bug-novell-463149

[MWF] Fix text position on buttons (#463149)

10 years agoMerge pull request #1038 from ermshiperete/bug-xamarin-19818
Miguel de Icaza [Thu, 15 May 2014 20:10:21 +0000 (16:10 -0400)]
Merge pull request #1038 from ermshiperete/bug-xamarin-19818

[MWF] Don't try to remove non-child control (#19818)

10 years agoDrop mono.web.pc
Miguel de Icaza [Thu, 15 May 2014 19:54:06 +0000 (15:54 -0400)]
Drop mono.web.pc

10 years ago[runtime] Fix hazard pointer usage in the suspend sequence.
Rodrigo Kumpera [Thu, 15 May 2014 19:42:22 +0000 (15:42 -0400)]
[runtime] Fix hazard pointer usage in the suspend sequence.

We now have a pair of functions to match mono_thread_info_safe_suspend_sync.
They should be used instead of mono_thread_resume as they do the right thing
WRT to hazard pointers.

10 years ago[runtime] Fix a hazard pointer leakage in mono_thread_info_resume.
Rodrigo Kumpera [Wed, 14 May 2014 22:45:45 +0000 (18:45 -0400)]
[runtime] Fix a hazard pointer leakage in mono_thread_info_resume.

mono_thread_info_lookup leaves the current value on hazard pointer 1,
so all callers must clean it afterwards. This was not done in all cases
by mono_thread_info_resume.

10 years ago[runtime] Pass the MonoThreadInfo explicitly to mono_thread_state_init_from_handle...
Rodrigo Kumpera [Wed, 14 May 2014 22:40:59 +0000 (18:40 -0400)]
[runtime] Pass the MonoThreadInfo explicitly to mono_thread_state_init_from_handle to avoid nested hazzard point usage.

This function was called from code that uses hazard pointers, so their values could get overridden.
Besides that, we did not clean up the hazard pointer table afterwards, which is wrong too.

10 years ago[Mono.Web] Further steps to kill Mono.web, this time the pkg-config files
Miguel de Icaza [Thu, 15 May 2014 19:44:27 +0000 (15:44 -0400)]
[Mono.Web] Further steps to kill Mono.web, this time the pkg-config files

10 years ago[io-layer] Added missing handle type in _wapi_handle_struct_size...
Alexis Christoforides [Thu, 15 May 2014 19:25:01 +0000 (15:25 -0400)]
[io-layer] Added missing handle type in _wapi_handle_struct_size...

10 years agoMerge pull request #1034 from joelmartinez/msdoc-import2
Miguel de Icaza [Thu, 15 May 2014 18:48:07 +0000 (14:48 -0400)]
Merge pull request #1034 from joelmartinez/msdoc-import2

Second pass of Microsoft Documentation import

10 years ago[System.ComponentModel.DataAnnotations] Add UrlAttribute type.
Marek Safar [Thu, 15 May 2014 17:43:25 +0000 (19:43 +0200)]
[System.ComponentModel.DataAnnotations] Add UrlAttribute type.

10 years ago[io-layer] Fixed error condition in _wapi_handle_struct_size.
Alexis Christoforides [Thu, 15 May 2014 17:22:02 +0000 (13:22 -0400)]
[io-layer] Fixed error condition in _wapi_handle_struct_size.

10 years ago[runtime] Fix decoding of jagged arrays in custom attributes. Fixes #19825.
Zoltan Varga [Thu, 15 May 2014 17:26:58 +0000 (19:26 +0200)]
[runtime] Fix decoding of jagged arrays in custom attributes. Fixes #19825.

10 years agoFixes 60d7997e0233d8aee833dab5c7b5c14df124dd16 commit
Marek Safar [Thu, 15 May 2014 17:24:12 +0000 (19:24 +0200)]
Fixes 60d7997e0233d8aee833dab5c7b5c14df124dd16 commit

10 years ago[System.Security.Claims] Add ClaimsPrincipal
Miguel de Icaza [Thu, 15 May 2014 16:54:08 +0000 (12:54 -0400)]
[System.Security.Claims] Add ClaimsPrincipal

10 years ago[System.Security.Claims] Add basic support for Claims
Miguel de Icaza [Thu, 15 May 2014 15:40:08 +0000 (11:40 -0400)]
[System.Security.Claims] Add basic support for Claims

10 years ago[xbuild] Property Functions implementation
Marek Safar [Thu, 15 May 2014 15:45:39 +0000 (17:45 +0200)]
[xbuild] Property Functions implementation

10 years ago[MWF] Don't try to remove non-child control (#19818)
Eberhard Beilharz [Thu, 15 May 2014 15:28:57 +0000 (17:28 +0200)]
[MWF] Don't try to remove non-child control (#19818)

When removing a control from a controls collection we have to
check that the control is part of the collection. Otherwise
we shouldn't do anything.

10 years ago[MWF] Add unit test for #19818
Eberhard Beilharz [Thu, 15 May 2014 15:21:08 +0000 (17:21 +0200)]
[MWF] Add unit test for #19818

10 years ago[io-layer] Precise memcpy of handle structs.
Alexis Christoforides [Thu, 15 May 2014 14:57:11 +0000 (10:57 -0400)]
[io-layer] Precise memcpy of handle structs.
First issue found by AddressSanitizer.

10 years ago[MS.Build] cleanup ITaskItem evaluation related old code.
Atsushi Eno [Thu, 15 May 2014 14:40:07 +0000 (23:40 +0900)]
[MS.Build] cleanup ITaskItem evaluation related old code.

10 years ago[MS.Build] now ITaskItems are collected while evaluating expression and metadata...
Atsushi Eno [Thu, 15 May 2014 14:13:06 +0000 (23:13 +0900)]
[MS.Build] now ITaskItems are collected while evaluating expression and metadata is filled later.

It is kind of reverting previous implementation of item metadata for expression.
Code cleanup should follow.

10 years ago[MS.Build] skip null string entry as input to string.Join().
Atsushi Eno [Wed, 14 May 2014 09:21:05 +0000 (18:21 +0900)]
[MS.Build] skip null string entry as input to string.Join().

10 years ago[msbuild] ongoing ITaskItem input parameter handling improvements.
Atsushi Eno [Wed, 14 May 2014 08:26:13 +0000 (17:26 +0900)]
[msbuild] ongoing ITaskItem input parameter handling improvements.

Right now all the input parameters are computed based on string, and any
metadata items are simply chopped out when it is passed to a Task.
To fix this, we need to replace ExpandString() use with more complicated
evaluator that takes ITaskItem into consideration.

(It is not complete as of now; evaluation method needs to be replaced and
any regressions need to be fixed.)

10 years ago[MS.Build] more of the same (remove obsolete comment).
Atsushi Eno [Mon, 12 May 2014 08:38:37 +0000 (17:38 +0900)]
[MS.Build] more of the same (remove obsolete comment).

10 years ago[MS.Build] remove extraneous expression evaluation code.
Atsushi Eno [Mon, 12 May 2014 08:23:03 +0000 (17:23 +0900)]
[MS.Build] remove extraneous expression evaluation code.

10 years ago[MS.Build] add another expression expansion test.
Atsushi Eno [Mon, 12 May 2014 08:22:35 +0000 (17:22 +0900)]
[MS.Build] add another expression expansion test.

10 years ago[MS.Build] output item was dropping metadata after running task.
Atsushi Eno [Mon, 12 May 2014 07:10:46 +0000 (16:10 +0900)]
[MS.Build] output item was dropping metadata after running task.

10 years ago[mprof-report] Add counter filter when not in verbose mode
Ludovic Henry [Wed, 14 May 2014 14:20:38 +0000 (10:20 -0400)]
[mprof-report] Add counter filter when not in verbose mode

This will reduce the amount of printed counters in non verbose mode.

10 years ago[mprof-report] Extract the counter key prefix of dump_counters_value
Ludovic Henry [Wed, 14 May 2014 14:19:40 +0000 (10:19 -0400)]
[mprof-report] Extract the counter key prefix of dump_counters_value

10 years ago[runtime] Avoid calling mono_thread_current () in sgen_thread_detach (), since it...
Zoltan Varga [Thu, 15 May 2014 12:05:03 +0000 (14:05 +0200)]
[runtime] Avoid calling mono_thread_current () in sgen_thread_detach (), since it can construct objects. Fixes #19755.

10 years ago[mdoc] Fix NullReferenceException when importing @name attribute.
Jonathan Pryor [Wed, 14 May 2014 20:04:05 +0000 (16:04 -0400)]
[mdoc] Fix NullReferenceException when importing @name attribute.

(Reported by directhex on #mono 2014-05-14 at 14:28 EDT.)

When importing Microsoft XML Documentation, if a //altmember/@name,
//exception/@name, or //permission/@name attribute is encountered then
mdoc will die with a NullReferenceException:

mdoc: System.NullReferenceException: Object reference not set to an instance of an object
  at Mono.Documentation.MsxdocDocumentationImporter.ImportDocumentation (Mono.Documentation.DocsNodeInfo info)
  at Mono.Documentation.MDocUpdater.MakeDocNode (Mono.Documentation.DocsNodeInfo info)
  at Mono.Documentation.MDocUpdater.UpdateMember (Mono.Documentation.DocsNodeInfo info)
  at Mono.Documentation.MDocUpdater.MakeMember (System.Xml.XmlDocument doc, Mono.Documentation.DocsNodeInfo info)
  at Mono.Documentation.MDocUpdater.DoUpdateType2 (System.String message, System.Xml.XmlDocument basefile, Mono.Cecil.TypeDefinition type, System.String output, Boolean insertSince)
  at Mono.Documentation.MDocUpdater.StubType (Mono.Cecil.TypeDefinition type, System.String output)
  at Mono.Documentation.MDocUpdater.DoUpdateType (Mono.Cecil.TypeDefinition type, System.String basepath, System.String dest)
  at Mono.Documentation.MDocUpdater.DoUpdateAssembly (Mono.Cecil.AssemblyDefinition assembly, System.Xml.XmlElement index_types, System.String source, System.String dest, System.Collections.Generic.HashSet`1 goodfiles)
  at Mono.Documentation.MDocUpdater.DoUpdateAssemblies (System.String source, System.String dest)
  at Mono.Documentation.MDocUpdater.Run (IEnumerable`1 args)
  at Mono.Documentation.MDoc.Run (System.String[] args)
  at Mono.Documentation.MDoc.Main (System.String[] args)

The cause of the NullReferenceException is due to inconsistent
checking: we check that _either_ `child.Attributes["cref"]` OR
`child.Attributes["name"]` is not null, and if one of them IS non-null
then we just grab `child.Attributes["cref"].Value`, which will throw a
NullReferenceException if the @name attribute was present but not the
@cref attribute.

The fix is to be consistent: once we grab an XmlAttribute, use the
already looked up XmlAttribute, don't re-look it up.

10 years ago[runtime] Avoid passing commands to lldb using the python api, it doesn't seem to...
Zoltan Varga [Wed, 14 May 2014 19:23:37 +0000 (21:23 +0200)]
[runtime] Avoid passing commands to lldb using the python api, it doesn't seem to work well in script files. Fixes #19732.

10 years ago[xbuild] Fix parsing messages with empty/blank origin
Michael Hutchinson [Wed, 14 May 2014 18:22:01 +0000 (14:22 -0400)]
[xbuild] Fix parsing messages with empty/blank origin

10 years ago[runtime] Fix Process.TotalProcessorTime becoming negative. Fixes #19739.
Zoltan Varga [Wed, 14 May 2014 17:17:46 +0000 (19:17 +0200)]
[runtime] Fix Process.TotalProcessorTime becoming negative. Fixes #19739.

10 years ago[system.net.http] Set version to 4.0.0.0 on MOBILE
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.

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

10 years ago[Mono.Debugger.Soft] Fixing regression from previous commit where type name instead...
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

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

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

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[docs] documentation import for 'returns' elements.
Joel Martinez [Mon, 12 May 2014 18:51:54 +0000 (14:51 -0400)]
[docs] documentation import for 'returns' elements.

10 years ago[docs] Import of additional member documentation that contain generic parameteres
Joel Martinez [Mon, 12 May 2014 18:19:47 +0000 (14:19 -0400)]
[docs] Import of additional member documentation that contain generic parameteres

10 years ago[docs] namespace documentation import.
Joel Martinez [Fri, 9 May 2014 22:25:38 +0000 (18:25 -0400)]
[docs] namespace documentation import.

10 years ago[docs] type parameter documentation impport.
Joel Martinez [Thu, 8 May 2014 20:13:31 +0000 (16:13 -0400)]
[docs] type parameter documentation impport.

10 years ago[docs] Additional parameter documentation import.
Joel Martinez [Thu, 8 May 2014 18:41:57 +0000 (14:41 -0400)]
[docs] Additional parameter documentation import.

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.