mono.git
9 years agoMerge pull request #1349 from martinjt/MachineKeyProtect
João Matos [Tue, 16 Dec 2014 19:26:08 +0000 (14:26 -0500)]
Merge pull request #1349 from martinjt/MachineKeyProtect

Implement MachineKey.Protect and MachineKey.Unprotect

9 years agoMerge pull request #1459 from akoeplinger/fix-website-links
João Matos [Tue, 16 Dec 2014 19:19:03 +0000 (14:19 -0500)]
Merge pull request #1459 from akoeplinger/fix-website-links

Updated the Mono website links in the man pages

9 years ago[System.IO.Compression] Fixed DeflateStream native error when handling empty input.
João Matos [Tue, 16 Dec 2014 18:54:19 +0000 (18:54 +0000)]
[System.IO.Compression] Fixed DeflateStream native error when handling empty input.

Bug: https://bugzilla.xamarin.com/show_bug.cgi?id=22346

9 years ago[buid] Fix bootstrap issue on cygwin
Marek Safar [Tue, 16 Dec 2014 14:59:33 +0000 (15:59 +0100)]
[buid] Fix bootstrap issue on cygwin

9 years agoUpdated the Mono website links in the man pages
Alexander Köplinger [Tue, 16 Dec 2014 14:05:05 +0000 (15:05 +0100)]
Updated the Mono website links in the man pages

Even though the old links still work, we can save everyone an unnecessary redirect by using the new links.

9 years agoFix command stream encoding for FTP requests.
Marek Habersack [Mon, 15 Dec 2014 22:34:32 +0000 (23:34 +0100)]
Fix command stream encoding for FTP requests.

Whenever a connection to an FTP server is established, FtpWebRequest
sends an option command to the server to enable UTF8 encoding for the
transfer. So far we've failed to check the request status of that
command and assumed that UTF8 is enabled but *also* failed to actually
use the encoding when sending commands (we had the ASCII encoding
hard-coded). This resulted in failed requests whenever a command named a
file or path which included non-ASCII characters. This patch does two
things:

 * checks the status of the UTF8 enabling command and uses UTF8 encoding
   only if it succeeded. Otherwise Encoding.Default is used.
 * uses the encoding detected above for the command stream.

Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=24611

[Tests will follow at a later date]

9 years agoAdd per thread profiling support to s390x
Neale Ferguson [Mon, 15 Dec 2014 19:12:15 +0000 (14:12 -0500)]
Add per thread profiling support to s390x

9 years agoMerge pull request #1456 from directhex/fix_Microsoft.Build.Execution.BuildManagerTes...
Jo Shields [Mon, 15 Dec 2014 18:38:53 +0000 (18:38 +0000)]
Merge pull request #1456 from directhex/fix_Microsoft.Build.Execution.BuildManagerTest.BuildCommonResolveAssemblyReferences

Fix Microsoft.Build.Execution.BuildManagerTest.BuildCommonResolveAssemblyReferences

9 years ago[System] Relaxed Ping test to work under Linux.
João Matos [Mon, 15 Dec 2014 17:06:27 +0000 (17:06 +0000)]
[System] Relaxed Ping test to work under Linux.

So in Linux the PingTimeOut test was returning TtlExpired and failing the assertion. Since I'm not exactly sure how ping behaves under all platforms, relax the test to only make sure it doesn't succeed.

9 years agoUse net_4_5 libraries for xbuild tests, regardless of target.
Jo Shields [Mon, 15 Dec 2014 16:59:48 +0000 (16:59 +0000)]
Use net_4_5 libraries for xbuild tests, regardless of target.

This works around failures caused by tests asking for other frameworks (like 4.0) on Mono 4.0, which only has 4.5

9 years agoMove XBUILD_FRAMEWORK_FOLDERS_PATH definition somewhere useful & export
Jo Shields [Mon, 15 Dec 2014 16:58:14 +0000 (16:58 +0000)]
Move XBUILD_FRAMEWORK_FOLDERS_PATH definition somewhere useful & export

This variable isn't being passed to the child xbuild process during testing, making it sorta useless.

9 years ago[FileSystemWatcher] Properly handle multicast delegates.
Alexis Christoforides [Mon, 15 Dec 2014 15:38:37 +0000 (10:38 -0500)]
[FileSystemWatcher] Properly handle multicast delegates.
Reverted the async delegate firing which is how Caching et al. expect FSW events; and properly handle the multicast case.

Also fixing a typo/regression in @2f1a136583c90cae805441e63b94bc4f277bb953

9 years agoBump referencesource
Marcos Henrich [Mon, 15 Dec 2014 15:54:46 +0000 (15:54 +0000)]
Bump referencesource

9 years agoForce MSBuildExtensionsPath to point to in-tree xbuild data
Jo Shields [Mon, 15 Dec 2014 14:32:18 +0000 (14:32 +0000)]
Force MSBuildExtensionsPath to point to in-tree xbuild data

As-is, on non-Mac, Xbuild looks for MSBuildExtensionsPath in the folder specified by --prefix, i.e. /usr/local/mono/xbuild by default (which may not & should not exist).

9 years agoRevert "Use ";" not Empty as bad TargetFrameworkDirectory value"
Jo Shields [Mon, 15 Dec 2014 13:37:19 +0000 (13:37 +0000)]
Revert "Use ";" not Empty as bad TargetFrameworkDirectory value"

This reverts commit 7b58afa1c8f37c0c82e8d95e8b274834b2fecbbc.

Apparently this bad value passes on mac/wrench. So it's not a good failure condition for the test.

9 years agoUse ";" not Empty as bad TargetFrameworkDirectory value
Jo Shields [Mon, 15 Dec 2014 12:07:29 +0000 (12:07 +0000)]
Use ";" not Empty as bad TargetFrameworkDirectory value

After manager.Build is called, a "null" empty for TargetFrameworkDirectory is
a string containing only ";" - a "good" value is the target framework
directory with a trailing ";". By testing for string.Empty, we don't actually
test whether the value has been correctly populated (causing all subsequent
failures).

9 years ago[System.Runtime.Serialization] Further baby steps
Miguel de Icaza [Sun, 14 Dec 2014 05:02:45 +0000 (00:02 -0500)]
[System.Runtime.Serialization] Further baby steps

9 years ago[System.Runtime.Serialization] Dip toes into using ReferenceSource
Miguel de Icaza [Sun, 14 Dec 2014 04:50:34 +0000 (23:50 -0500)]
[System.Runtime.Serialization] Dip toes into using ReferenceSource

9 years ago[Console/TerminfoDriver] Look in the TERMINFO directory if set
Miguel de Icaza [Sun, 14 Dec 2014 04:49:51 +0000 (23:49 -0500)]
[Console/TerminfoDriver] Look in the TERMINFO directory if set

9 years ago[System/SR] Brings some strings from .NET Core
Miguel de Icaza [Sun, 14 Dec 2014 00:58:06 +0000 (19:58 -0500)]
[System/SR] Brings some strings from .NET Core

Used the following script to do this:

var d = XDocument.Load ("Strings.resx");
foreach (var j in d.XPathSelectElements ("/root/data")){ var v = j.XPathSelectElement ("value"); Console.WriteLine ("\tpublic const string {0}=\"{1}\";", j.Attribute ("name").Value, v.Value); }

9 years ago[Console] Updated to terminfo renderer.
Miguel de Icaza [Sun, 14 Dec 2014 00:36:43 +0000 (19:36 -0500)]
[Console] Updated to terminfo renderer.

This brings .NET's parameterized terminfo renderer, various fixes and
semantic changes.

The existing implementation of the Console did not have a proper an
implementation of terminfo's parameterized sequences.  Instead of
this, a collection of hacks existed to hardcode both light colors and
cursor position.  These are now gone, since the parameterized strings
do contain the correct values for this.

The search path for terminfo now picks the most modern location for
terminfo.   With the old paths in place.

The lookup for terminfo databases only supported the lookup based on
the first character of a terminal, so for example, for xterm this was
$terminfo_dir/x/xterm, but OSX and maybe other systems now store the
files in $terminfo_dir/78/xterm (where 78 is the hex representation of
'x', the first letter of the terminal name).

The fallback is still in place for other Unix systems.

We no longer use the built-in terminfo databases as the first pick,
instead we try to load the system terminfo database before we use the
built-in versions.

Worth figuring out if we want to remove the two built-in ones (Linux
and xterm) as broken terminfo databases are no longer the norm in Unix
and just keep the ansi one as a database of last resort.

This means that the console actually now gets high colors on MacOS,
not just Linux.

This also fixes the issue with consoles with more than 256 colors.  As
reported in bug 18315.

9 years agoMerge pull request #1451 from akoeplinger/fix-winforms-test
Marek Safar [Sat, 13 Dec 2014 09:01:38 +0000 (10:01 +0100)]
Merge pull request #1451 from akoeplinger/fix-winforms-test

[MWF] Fix PropertyGridTest.PropertyGrid_ArrayParentTest by returning the correct value of PropertyCategoryDefault

9 years agoMerge pull request #1452 from esdrubal/xmlnamespace
Marek Safar [Sat, 13 Dec 2014 09:01:11 +0000 (10:01 +0100)]
Merge pull request #1452 from esdrubal/xmlnamespace

[System.Xml.Linq] xmlns prefixes are no longer generated in some cases.

9 years agoDisable sequence points
Marcos Henrich [Fri, 12 Dec 2014 21:23:48 +0000 (21:23 +0000)]
Disable sequence points
Sequence points were disabled until the optimization issues it causes are handled.

9 years agoDo not call seq_point_info_get_write_size with no seq points.
Marcos Henrich [Fri, 12 Dec 2014 21:17:34 +0000 (21:17 +0000)]
Do not call seq_point_info_get_write_size with no seq points.
This change fixes a segfault when sequence points are disabled.

9 years ago[System.Xml.Linq] xmlns prefixes are no longer generated in some cases.
Marcos Henrich [Fri, 12 Dec 2014 19:07:33 +0000 (19:07 +0000)]
[System.Xml.Linq] xmlns prefixes are no longer generated in some cases.
  - XNodeWrite.FillXmlns was adding a prefix to the attribute when no prefix was found (prefix==null)

  - XNodeWrite.LookupPrefix now returns string.Empty prefix when the namespace is the same as the element.
    A string.Empty prefix explicitly states that it has no prefix whereas null states that prefix was not defined.
    When LookupPrefix returns null for a namespace it means that a prefix should be generated first for anything that uses the namespace.
    That is what XmlSerializationWriter.GetQualifiedName does.

Fixes #24300

9 years ago[System.Xml.Linq] Test XmlSerializer with custom namespace.
Marcos Henrich [Fri, 12 Dec 2014 19:01:51 +0000 (19:01 +0000)]
[System.Xml.Linq] Test XmlSerializer with custom namespace.
Covers #24300.

9 years ago[System] Fixed Ping returning invalid results on OSX.
João Matos [Fri, 12 Dec 2014 18:23:22 +0000 (18:23 +0000)]
[System] Fixed Ping returning invalid results on OSX.

Simplify the code by re-using the OSX check from Platform which is more robust and add some tests to make sure we don't regress.

Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=25210.

9 years ago[mscorlib/Android] CultureInfo.ClearCachedData() clears DateTime.
Jonathan Pryor [Fri, 12 Dec 2014 17:17:53 +0000 (12:17 -0500)]
[mscorlib/Android] CultureInfo.ClearCachedData() clears DateTime.

Context: https://bugzilla.xamarin.com/show_bug.cgi?id=24947

When an Android user changes the timezone, those TimeZone changes
aren't reflected in Xamarin.Android apps. Part of this is a
Xamarin.Android bug, in which it needs to listen for TimeZone change
notifications and in turn let Mono know that the TimeZone changed.

Xamarin.Android can/will call Thread.CurrentCulture.ClearCachedData()
and Thread.CurrentUICulture.ClearCachedData() when the TimeZone has
changed. This will allow Mono to lookup the TimeZone info again.

At which point we hit two problems within Mono:

 1. TimeZoneInfo.AndroidTimeZones.Local is unnecessarily cached.
 2. DateTime itself caches the UTC offset for use by DateTime.Now.

TimeZoneInfo.Local is *already* cached, and TimeZoneInfo.Local is
properly cleared by TimeZoneInfo.ClearCachedData() while
TimeZoneInfo.AndroidTimeZones.Local wasn't. Removing the extra
cache allows the TimeZoneInfo to be looked up again.

Which brings us to DateTime.Now: for my simple test case, after
calling CultureInfo.ClearCachedData() the result of
DateTime.Now.ToString() didn't reflect the newly current TimeZone. The
cause for this was DateTime.to_local_time_span_object and
DateTime.last_now, which DateTime.Now uses as a cache for the
TimeZone's UTC offset.

Since these DateTime fields weren't cleared, subsequent DateTime.Now
invocations reported the *previous* TimeZone instead of the current
timezone.

To fix this, add an `internal` DateTime.ClearCachedData() method, and
call DateTime.ClearCachedData() from CultureInfo.ClearCachedData().

9 years ago[MWF] Fix PropertyGridTest.PropertyGrid_ArrayParentTest by returning the correct...
Alexander Köplinger [Fri, 12 Dec 2014 00:50:43 +0000 (01:50 +0100)]
[MWF] Fix PropertyGridTest.PropertyGrid_ArrayParentTest by returning the correct value of PropertyCategoryDefault

The code in ComponentModel (https://github.com/mono/referencesource/blob/7dc4e513eafd3fb30d34111948ef14c981264463/System/compmod/system/componentmodel/CategoryAttribute.cs#L276) looks up the category name by string concatenation, which means it wasn't captured in our SR.cs.
We also can't add the correct value for PropertyCategoryDefault as a string constant to SR.cs since the value is retrieved via GetObject () and we currently just return the parameter name there.

A short-term workaround is to just special case PropertyCategoryDefault in GetObject ().

9 years ago[amd64] Fix a simple peephole opt broken by the OP_IL_SEQ_POINT changes.
Zoltan Varga [Fri, 12 Dec 2014 00:30:07 +0000 (19:30 -0500)]
[amd64] Fix a simple peephole opt broken by the OP_IL_SEQ_POINT changes.

9 years ago[jit] Mark OP_IL_SEQ_POINT as not having side effects.
Zoltan Varga [Fri, 12 Dec 2014 00:14:18 +0000 (19:14 -0500)]
[jit] Mark OP_IL_SEQ_POINT as not having side effects.

9 years ago[bcl] Fix another test failure caused by the usage of the reference version of System...
Zoltan Varga [Thu, 11 Dec 2014 23:31:53 +0000 (18:31 -0500)]
[bcl] Fix another test failure caused by the usage of the reference version of System.ComponentModel.

9 years ago[sgen] Add an assertion.
Mark Probst [Thu, 11 Dec 2014 23:02:15 +0000 (15:02 -0800)]
[sgen] Add an assertion.

9 years ago[sgen] Use the `SGEN_UPDATE_REFERENCE` macro in optimized copy.
Mark Probst [Thu, 11 Dec 2014 23:01:45 +0000 (15:01 -0800)]
[sgen] Use the `SGEN_UPDATE_REFERENCE` macro in optimized copy.

9 years ago[sgen] Fix evacuation.
Mark Probst [Thu, 11 Dec 2014 22:57:58 +0000 (14:57 -0800)]
[sgen] Fix evacuation.

We can't dereference an object's VTable before we know that it's not
tagged.  In this case, forwarded.  The access would be unaligned and
might even fault.

9 years agoRevert "[jit] Enable tail calls from gshared code. Fixes #25224."
Zoltan Varga [Thu, 11 Dec 2014 22:51:19 +0000 (17:51 -0500)]
Revert "[jit] Enable tail calls from gshared code. Fixes #25224."

This reverts commit ca0dd5c0bb0f600331aac3c6b8d0579e37cdd0c7.

Revert this as it causes a performance regression in f#.

9 years agoFix merge typo
Alexis Christoforides [Thu, 11 Dec 2014 21:00:40 +0000 (16:00 -0500)]
Fix merge typo

9 years ago[System.IO.KeventWatcher] Fixed deadlock when watcher stopped/disposed from its own...
Alexis Christoforides [Thu, 11 Dec 2014 20:30:25 +0000 (15:30 -0500)]
[System.IO.KeventWatcher] Fixed deadlock when watcher stopped/disposed from its own event handler.
This fixes hangs in tests that do that (ie. System.Runtime.Caching).

9 years ago[jit] Enable tail calls from gshared code. Fixes #25224.
Zoltan Varga [Thu, 11 Dec 2014 20:37:29 +0000 (15:37 -0500)]
[jit] Enable tail calls from gshared code. Fixes #25224.

9 years ago[jit] Remove some dead code.
Zoltan Varga [Thu, 11 Dec 2014 18:55:37 +0000 (13:55 -0500)]
[jit] Remove some dead code.

9 years ago[runtime] Fixed shutdown crasher in mono_thread_pool_cleanup.
Joao Matos [Thu, 11 Dec 2014 18:45:44 +0000 (18:45 +0000)]
[runtime] Fixed shutdown crasher in mono_thread_pool_cleanup.

We call `mono_thread_pool_cleanup` twice from `mono_runtime_try_shutdown` and later `mono_domain_finalize`, which meant we tried to destroy the semaphore twice and that caused a crasher.

Fix this by clearing out the semaphore pointer. That way when we try to destroy it again it's already null and execution continues just fine.

9 years ago[sdb] Fix the decoding of the next array when decoding sequence points.
Zoltan Varga [Thu, 11 Dec 2014 18:23:02 +0000 (13:23 -0500)]
[sdb] Fix the decoding of the next array when decoding sequence points.

9 years ago[sgen] Fixed dump_alloc_records() to work on MSVC.
Joao Matos [Thu, 11 Dec 2014 17:46:36 +0000 (17:46 +0000)]
[sgen] Fixed dump_alloc_records() to work on MSVC.

We are getting some crashers in printf when using the 'z' size_t printf specifier.

9 years ago[sgen] Align vtable pointers to 8-bytes for phony vtable used for filling the nursery.
Joao Matos [Thu, 11 Dec 2014 17:40:36 +0000 (17:40 +0000)]
[sgen] Align vtable pointers to 8-bytes for phony vtable used for filling the nursery.

Thanks to Kumpera for providing the fix!

9 years ago[sgen] Disable evacuation temporarily to fix crashes.
Mark Probst [Thu, 11 Dec 2014 17:30:12 +0000 (09:30 -0800)]
[sgen] Disable evacuation temporarily to fix crashes.

9 years ago[sdb] Another try at fixing #25009.
Zoltan Varga [Thu, 11 Dec 2014 16:58:41 +0000 (11:58 -0500)]
[sdb] Another try at fixing #25009.

9 years agoFix DateTimeConverter test
Marek Safar [Thu, 11 Dec 2014 12:40:00 +0000 (13:40 +0100)]
Fix DateTimeConverter test

9 years ago[sdb] Fix another shutdown crash. Fixes #25009.
Zoltan Varga [Thu, 11 Dec 2014 12:34:04 +0000 (07:34 -0500)]
[sdb] Fix another shutdown crash. Fixes #25009.

9 years agoMerge pull request #1403 from schani/fix-roslyn-linux-oom
Rodrigo Kumpera [Wed, 10 Dec 2014 15:53:16 +0000 (10:53 -0500)]
Merge pull request #1403 from schani/fix-roslyn-linux-oom

Fix Roslyn Linux OOM

9 years agobump rx to rx-oss-v2.2 and add branch info on .gitmodules.
Atsushi Eno [Wed, 10 Dec 2014 15:16:35 +0000 (23:16 +0800)]
bump rx to rx-oss-v2.2 and add branch info on .gitmodules.

9 years ago[mcs] Better recovery from failed async return type inference. Fixes #25165
Marek Safar [Wed, 10 Dec 2014 14:07:04 +0000 (15:07 +0100)]
[mcs] Better recovery from failed async return type inference. Fixes #25165

9 years agoDistribute reference assemblies in source tarball. Yuck.
Jo Shields [Wed, 10 Dec 2014 12:56:49 +0000 (12:56 +0000)]
Distribute reference assemblies in source tarball. Yuck.

9 years ago[System.Drawing] Fixes commit 2abd0ed92e1b5aae4c917c9feb7b08949e828424
Marek Safar [Wed, 10 Dec 2014 11:52:23 +0000 (12:52 +0100)]
[System.Drawing] Fixes commit 2abd0ed92e1b5aae4c917c9feb7b08949e828424

9 years ago[mcs] Update static using to match the latest update (still work in progress)
Marek Safar [Wed, 10 Dec 2014 11:30:56 +0000 (12:30 +0100)]
[mcs] Update static using to match the latest update (still work in progress)

9 years agoSpecify referencesource branch in .gitmodules to make updating easier
Marek Habersack [Wed, 10 Dec 2014 10:33:14 +0000 (11:33 +0100)]
Specify referencesource branch in .gitmodules to make updating easier

9 years agoUpdate external/referencesource to fix mobile builds
Marek Habersack [Wed, 10 Dec 2014 10:31:27 +0000 (11:31 +0100)]
Update external/referencesource to fix mobile builds

9 years ago[sgen] Always alloc degraded when nursery allocation fails.
Mark Probst [Fri, 14 Nov 2014 23:13:54 +0000 (15:13 -0800)]
[sgen] Always alloc degraded when nursery allocation fails.

There's an unlikely case that Roslyn triggers quite often on Linux: A
thread tries to allocate from the nursery, but it's full.  It triggers
a nursery collection, then tries allocating again.  Between the
collection and the allocation retry, another thread fills the nursery
so that the retry also fails.

We failed an assertion in this case.  Now we always go to the major
heap if it happens.

9 years ago[arm] Really fix the build.
Zoltan Varga [Tue, 9 Dec 2014 23:34:35 +0000 (18:34 -0500)]
[arm] Really fix the build.

9 years ago[arm] Fix the build.
Zoltan Varga [Tue, 9 Dec 2014 23:19:42 +0000 (18:19 -0500)]
[arm] Fix the build.

9 years ago[runtime] Fix string size calculation in `mono_string_new_size()`.
Mark Probst [Tue, 9 Dec 2014 21:15:55 +0000 (13:15 -0800)]
[runtime] Fix string size calculation in `mono_string_new_size()`.

This bug is not hit when doing managed allocations with SGen because the
managed allocator catches it.  It can be triggered with the embedding API, as
well as when the heavy binary protocol is enabled, in which case `bug-17590`
fails.

9 years ago[runtime] Allow StructLayoutAttribute.Pack values between 16 and 128. Fixes #25059.
Zoltan Varga [Tue, 9 Dec 2014 20:40:11 +0000 (15:40 -0500)]
[runtime] Allow StructLayoutAttribute.Pack values between 16 and 128. Fixes #25059.

9 years ago[System.Drawing] Add support for a null culture argument to the ConvertFrom () method...
Zoltan Varga [Tue, 9 Dec 2014 20:16:49 +0000 (15:16 -0500)]
[System.Drawing] Add support for a null culture argument to the ConvertFrom () method in RectangeConverter/SizeFConverter, the reference sources version of TypeConverter.ConvertFromString () passes null as the culture.

9 years ago[System.Data] Fix a test failure caused by the transition to the reference sources...
Zoltan Varga [Tue, 9 Dec 2014 19:53:13 +0000 (14:53 -0500)]
[System.Data] Fix a test failure caused by the transition to the reference sources version of System.ComponentModel.

9 years agoMerge pull request #1436 from esdrubal/readerwriterlockslim
Marcos Henrich [Tue, 9 Dec 2014 19:01:46 +0000 (19:01 +0000)]
Merge pull request #1436 from esdrubal/readerwriterlockslim

[System.Core] Bring .NET implementation of ReaderWriterLockSlim.

9 years agoMerge pull request #1448 from ermshiperete/TSBTextTruncation
Zoltan Varga [Tue, 9 Dec 2014 18:34:47 +0000 (13:34 -0500)]
Merge pull request #1448 from ermshiperete/TSBTextTruncation

[MWF] Don't truncate text on ToolStripButton

9 years agoMerge pull request #1449 from ermshiperete/Xamarin-bug-23591
Zoltan Varga [Tue, 9 Dec 2014 17:29:58 +0000 (12:29 -0500)]
Merge pull request #1449 from ermshiperete/Xamarin-bug-23591

[MWF] Fix crash in multi-selection list view

9 years ago[MWF] Fix crash in multi-selection list view
Eberhard Beilharz [Tue, 9 Dec 2014 17:15:12 +0000 (18:15 +0100)]
[MWF] Fix crash in multi-selection list view

Calling owner.UpdateMultiSelection can also change the selected item,
causing a crash.

This change improves the fix for Xamarin bug #23591.

9 years ago[profiler] Enhance the profiler to keep track of and summarize jit trampolines and...
Paolo Molaro [Tue, 9 Dec 2014 16:40:45 +0000 (17:40 +0100)]
[profiler] Enhance the profiler to keep track of and summarize jit trampolines and helpers.

9 years ago[profiler] Report trampolines and other JIT helpers to the profiler.
Paolo Molaro [Tue, 9 Dec 2014 16:39:27 +0000 (17:39 +0100)]
[profiler] Report trampolines and other JIT helpers to the profiler.

9 years ago[jit] Expose helper method to the rest of the JIT to get specific trampoline descript...
Paolo Molaro [Tue, 9 Dec 2014 16:37:30 +0000 (17:37 +0100)]
[jit] Expose helper method to the rest of the JIT to get specific trampoline descriptions.

9 years ago[profiler] Provide more options for describing jit code buffers precisely.
Paolo Molaro [Tue, 9 Dec 2014 16:36:12 +0000 (17:36 +0100)]
[profiler] Provide more options for describing jit code buffers precisely.

9 years agoReferenceSource ComponentModel changes to mobile_System.dll.sources
Jo Shields [Tue, 9 Dec 2014 16:44:27 +0000 (16:44 +0000)]
ReferenceSource ComponentModel changes to mobile_System.dll.sources

9 years ago[MWF] Don't truncate text on ToolStripButton
Eberhard Beilharz [Tue, 9 Dec 2014 16:22:30 +0000 (17:22 +0100)]
[MWF] Don't truncate text on ToolStripButton

Previous code subtracted 4 pixels of the height of the text of a
toolstrip button, presumably to leave a margin. However, margins
are handled elsewhere, so we ended up with truncated text.

9 years ago[system] Workaround boostrap issue with HostProtectionAttribute
Marek Safar [Tue, 9 Dec 2014 14:56:09 +0000 (15:56 +0100)]
[system] Workaround boostrap issue with HostProtectionAttribute

9 years agoMerge pull request #1447 from chrisvire/bug-25102
Zoltan Varga [Tue, 9 Dec 2014 14:25:03 +0000 (09:25 -0500)]
Merge pull request #1447 from chrisvire/bug-25102

[MWF] Use Ctrl+PageUp/PageDown for Tab Navigation

9 years ago[corlib] Workaround boostrap issue with HostProtectionAttribute
Marek Safar [Tue, 9 Dec 2014 14:09:34 +0000 (15:09 +0100)]
[corlib] Workaround boostrap issue with HostProtectionAttribute

9 years ago[System] Use ComponentModel from reference sources
Marek Safar [Tue, 9 Dec 2014 13:27:42 +0000 (14:27 +0100)]
[System] Use ComponentModel from reference sources

9 years agoMerge pull request #1446 from odinserj/master
Marek Safar [Tue, 9 Dec 2014 09:03:30 +0000 (10:03 +0100)]
Merge pull request #1446 from odinserj/master

Add DateTimeOffsetConverter to the default converters list

9 years agomake dist fix
Marek Safar [Tue, 9 Dec 2014 08:59:25 +0000 (09:59 +0100)]
make dist fix

9 years agoFix dmcs to have correct sdk value
Marek Safar [Tue, 9 Dec 2014 08:46:47 +0000 (09:46 +0100)]
Fix dmcs to have correct sdk value

9 years agoUpdate mcs test
Marek Safar [Tue, 9 Dec 2014 08:29:43 +0000 (09:29 +0100)]
Update mcs test

9 years ago[sdb] Fix more crashes on shutdown when the assembly unload callbacks are called...
Zoltan Varga [Mon, 8 Dec 2014 22:53:35 +0000 (17:53 -0500)]
[sdb] Fix more crashes on shutdown when the assembly unload callbacks are called on the debugger thread. Fixes #25009.

9 years ago[build] Print out the version of the bootstrap mcs if the profile check fails.
Zoltan Varga [Mon, 8 Dec 2014 20:56:01 +0000 (15:56 -0500)]
[build] Print out the version of the bootstrap mcs if the profile check fails.

9 years ago[runtime] Remove the bug-438454.exe test, it tests behaviour which is by design.
Zoltan Varga [Mon, 8 Dec 2014 20:48:17 +0000 (15:48 -0500)]
[runtime] Remove the bug-438454.exe test, it tests behaviour which is by design.

9 years ago[runtime] Add another rule for the builder-sgen.h -> main-sgen.o dependency since...
Zoltan Varga [Mon, 8 Dec 2014 20:18:00 +0000 (15:18 -0500)]
[runtime] Add another rule for the builder-sgen.h -> main-sgen.o dependency since apparently some versions of automake etc. generate a main-sgen.o file too.

9 years agoRevert "[build] Rework the buildver dep check."
Zoltan Varga [Mon, 8 Dec 2014 20:15:44 +0000 (15:15 -0500)]
Revert "[build] Rework the buildver dep check."

This reverts commit a9f31e63db668955e2723796201d5c12dd146eae.

Revert this as it breaks make dist by having a source file depend on a generated file.

9 years agogmcs script is no longer installed.
Marek Safar [Mon, 8 Dec 2014 18:54:30 +0000 (19:54 +0100)]
gmcs script is no longer installed.

The intention is to make build failures easy to spot instead of silently upgrading
target framework from 2 to 4 and then fail down the road on e.g type ambiguity
caused by new 4.0 framework types or methods

9 years agoAdd DateTimeOffsetConverter to the default converters list.
Sergey Odinokov [Mon, 8 Dec 2014 18:59:00 +0000 (21:59 +0300)]
Add DateTimeOffsetConverter to the default converters list.

This is the fix for https://bugzilla.xamarin.com/show_bug.cgi?id=25158

Current implementation does not contain the DateTimeOffsetConverter
in the list of default converters. This cause NotSupportedException
to be thrown when trying to serialize/deserialize DateTimeOffset
values to/from strings.

In .NET Framework implementation this class is added to such a list.

9 years agoUse `git://...` instead of `git@...` for submodules.
Alex Rønne Petersen [Mon, 8 Dec 2014 18:40:15 +0000 (19:40 +0100)]
Use `git://...` instead of `git@...` for submodules.

9 years ago[corlib] Update SafeHandle dispose pattern to match .net. Fixes #25132
Marek Safar [Mon, 8 Dec 2014 16:50:21 +0000 (17:50 +0100)]
[corlib] Update SafeHandle dispose pattern to match .net. Fixes #25132

9 years agoAdded reference-assemblies submodule to fix the build
Marek Habersack [Mon, 8 Dec 2014 16:23:11 +0000 (17:23 +0100)]
Added reference-assemblies submodule to fix the build

9 years agoChange 4.0 profile to metadata reference only profile
Marek Safar [Mon, 8 Dec 2014 15:46:10 +0000 (16:46 +0100)]
Change 4.0 profile to metadata reference only profile

9 years ago[corlib] Remove duplicate FirstChanceExceptionEventArgs
Marek Safar [Mon, 8 Dec 2014 13:48:28 +0000 (14:48 +0100)]
[corlib] Remove duplicate FirstChanceExceptionEventArgs

9 years ago[mkbundle] fix execution for X.Android on Windows regarding dos2unix.
Atsushi Eno [Mon, 8 Dec 2014 15:40:52 +0000 (23:40 +0800)]
[mkbundle] fix execution for X.Android on Windows regarding dos2unix.

This fixes bug #25086 (Xamarin.Android). Details described there.

To fix the issue, we use #if XAMARIN_ANDROID to avoid that old cygwin-only
code path. (We are not sure if simply removing the old code still works,
so we don't remove that for now.)

9 years ago[MWF] Use Ctrl+PageUp/PageDown for Tab Navigation
Chris Hubbard [Mon, 8 Dec 2014 15:35:56 +0000 (10:35 -0500)]
[MWF] Use Ctrl+PageUp/PageDown for Tab Navigation

In the Windows implementation of the TabControl, Ctrl+PageUp
navigates to the previous tab and Ctrl+PageDown navigates to the
next tab (with both wrapping around).  This change implements this
feature in the Mono implementation.

Change-Id: Ib940bd08d5ba641f05ed91c0e789e356e68f72bb

9 years ago[system] Replace System.Collections.Generic from reference sources
Marek Safar [Mon, 8 Dec 2014 11:04:01 +0000 (12:04 +0100)]
[system] Replace System.Collections.Generic from reference sources

9 years ago[system] Add test for #25137
Marek Safar [Mon, 8 Dec 2014 11:02:33 +0000 (12:02 +0100)]
[system] Add test for #25137

9 years ago[system] Fix soctec test to not block indefinitely
Marek Safar [Mon, 8 Dec 2014 10:33:04 +0000 (11:33 +0100)]
[system] Fix soctec test to not block indefinitely

9 years agoMerge pull request #1445 from meebey/registry_fix_unneeded_write_permission
Marek Safar [Mon, 8 Dec 2014 09:49:01 +0000 (10:49 +0100)]
Merge pull request #1445 from meebey/registry_fix_unneeded_write_permission

[corlib] Fix needing write permission when reading registry values. Fixe...