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
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
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
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
Mika Aalto [Sat, 15 Mar 2014 19:31:20 +0000 (21:31 +0200)]
Removed unneeded NET_2_0 ifdefs
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.
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)
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)
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)
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)
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)
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)
Miguel de Icaza [Thu, 15 May 2014 19:54:06 +0000 (15:54 -0400)]
Drop mono.web.pc
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.
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.
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.
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
Alexis Christoforides [Thu, 15 May 2014 19:25:01 +0000 (15:25 -0400)]
[io-layer] Added missing handle type in _wapi_handle_struct_size...
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
Marek Safar [Thu, 15 May 2014 17:43:25 +0000 (19:43 +0200)]
[System.ComponentModel.DataAnnotations] Add UrlAttribute type.
Alexis Christoforides [Thu, 15 May 2014 17:22:02 +0000 (13:22 -0400)]
[io-layer] Fixed error condition in _wapi_handle_struct_size.
Zoltan Varga [Thu, 15 May 2014 17:26:58 +0000 (19:26 +0200)]
[runtime] Fix decoding of jagged arrays in custom attributes. Fixes #19825.
Marek Safar [Thu, 15 May 2014 17:24:12 +0000 (19:24 +0200)]
Miguel de Icaza [Thu, 15 May 2014 16:54:08 +0000 (12:54 -0400)]
[System.Security.Claims] Add ClaimsPrincipal
Miguel de Icaza [Thu, 15 May 2014 15:40:08 +0000 (11:40 -0400)]
[System.Security.Claims] Add basic support for Claims
Marek Safar [Thu, 15 May 2014 15:45:39 +0000 (17:45 +0200)]
[xbuild] Property Functions implementation
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.
Eberhard Beilharz [Thu, 15 May 2014 15:21:08 +0000 (17:21 +0200)]
[MWF] Add unit test for #19818
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.
Atsushi Eno [Thu, 15 May 2014 14:40:07 +0000 (23:40 +0900)]
[MS.Build] cleanup ITaskItem evaluation related old code.
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.
Atsushi Eno [Wed, 14 May 2014 09:21:05 +0000 (18:21 +0900)]
[MS.Build] skip null string entry as input to string.Join().
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.)
Atsushi Eno [Mon, 12 May 2014 08:38:37 +0000 (17:38 +0900)]
[MS.Build] more of the same (remove obsolete comment).
Atsushi Eno [Mon, 12 May 2014 08:23:03 +0000 (17:23 +0900)]
[MS.Build] remove extraneous expression evaluation code.
Atsushi Eno [Mon, 12 May 2014 08:22:35 +0000 (17:22 +0900)]
[MS.Build] add another expression expansion test.
Atsushi Eno [Mon, 12 May 2014 07:10:46 +0000 (16:10 +0900)]
[MS.Build] output item was dropping metadata after running task.
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.
Ludovic Henry [Wed, 14 May 2014 14:19:40 +0000 (10:19 -0400)]
[mprof-report] Extract the counter key prefix of dump_counters_value
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.
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.
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.
Michael Hutchinson [Wed, 14 May 2014 18:22:01 +0000 (14:22 -0400)]
[xbuild] Fix parsing messages with empty/blank origin
Zoltan Varga [Wed, 14 May 2014 17:17:46 +0000 (19:17 +0200)]
[runtime] Fix Process.TotalProcessorTime becoming negative. Fixes #19739.
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
Joel Martinez [Mon, 12 May 2014 18:51:54 +0000 (14:51 -0400)]
[docs] documentation import for 'returns' elements.
Joel Martinez [Mon, 12 May 2014 18:19:47 +0000 (14:19 -0400)]
[docs] Import of additional member documentation that contain generic parameteres
Joel Martinez [Fri, 9 May 2014 22:25:38 +0000 (18:25 -0400)]
[docs] namespace documentation import.
Joel Martinez [Thu, 8 May 2014 20:13:31 +0000 (16:13 -0400)]
[docs] type parameter documentation impport.
Joel Martinez [Thu, 8 May 2014 18:41:57 +0000 (14:41 -0400)]
[docs] Additional parameter documentation import.
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