Atsushi Eno [Mon, 7 Oct 2013 12:32:10 +0000 (21:32 +0900)]
in XLinq XObject there is no need to instantiate XObjectEventArgs every time.
Zoltan Varga [Sun, 6 Oct 2013 04:12:58 +0000 (21:12 -0700)]
Merge pull request #771 from madewokherd/rvamap
For module handles, only check that rva's are within the image size.
Sebastien Pouliot [Fri, 4 Oct 2013 21:08:48 +0000 (17:08 -0400)]
Ignore some asserts since the validation were removed
Miguel de Icaza [Fri, 4 Oct 2013 20:59:36 +0000 (16:59 -0400)]
FixBuild
Marek Safar [Fri, 4 Oct 2013 20:41:24 +0000 (16:41 -0400)]
Better check for instance equality of generic types. Fixes #15100
Marek Safar [Thu, 3 Oct 2013 16:28:18 +0000 (12:28 -0400)]
Fix some code issue warnings
Zoltan Varga [Fri, 4 Oct 2013 19:51:51 +0000 (15:51 -0400)]
[sgen] Use gcc bitcount intrinsics where appropriate.
Miguel de Icaza [Fri, 4 Oct 2013 19:47:22 +0000 (15:47 -0400)]
This regex was wrong in the first place, and second, it uses CC code from Stackoverflow
Miguel de Icaza [Fri, 4 Oct 2013 19:43:47 +0000 (15:43 -0400)]
Remove CodeProject licensed code
Miguel de Icaza [Fri, 4 Oct 2013 19:42:49 +0000 (15:42 -0400)]
Add actual source
Miguel de Icaza [Fri, 4 Oct 2013 19:39:03 +0000 (15:39 -0400)]
Fix inacurrate reference
Vincent Povirk [Fri, 4 Oct 2013 18:26:32 +0000 (13:26 -0500)]
For module handles, only check that rva's are within the image size.
This commit licensed as MIT/X11.
Rodrigo Kumpera [Fri, 4 Oct 2013 16:55:00 +0000 (09:55 -0700)]
Merge pull request #770 from abock/master
mdbrebase: fix prefix replacement, add regex & filename modes
Aaron Bockover [Fri, 4 Oct 2013 14:26:24 +0000 (10:26 -0400)]
mdbrebase: fix prefix replacement, add regex & filename modes
Existing prefix replacement was incorrect as
it tested for a prefix but performed a multi
search and replace instead of just a prefix
replace. Fix that.
Add -r|--regex mode to indicate that path
replacement should be performed with regular
expressions.
Add -f|--filename mode to indicate that
replacements should be performed only on
a file name and not the full absolute path.
Add -v|--verbose mode to print the replacements
that are performed.
Gustavo Guerra [Fri, 4 Oct 2013 09:49:00 +0000 (10:49 +0100)]
[xBuild] Don't set any VisualStudioVersion
Sebastien Pouliot [Fri, 4 Oct 2013 01:59:41 +0000 (21:59 -0400)]
[mdoc] Fix output of GenericParameter (Cecil now overrides DeclaringType since
60ce19429e9cfaa770d72c2f395fdcdf11eb0f7b) not to include namespace (and match previous, correct, output)
Jonathan Pryor [Thu, 3 Oct 2013 15:06:21 +0000 (11:06 -0400)]
Support deserializing relative Uris. Fixes #15169.
Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=15169
Marek Safar [Thu, 3 Oct 2013 13:07:13 +0000 (09:07 -0400)]
Rodrigo Kumpera [Wed, 2 Oct 2013 21:45:09 +0000 (14:45 -0700)]
Merge pull request #769 from schani/fix-exception-throw-signal
[x86] Fix bug when getting a signal while throwing exception.
Marek Safar [Wed, 2 Oct 2013 21:29:12 +0000 (17:29 -0400)]
Emit better debugger attribute for stepping over state machine initialization
Sebastien Pouliot [Wed, 2 Oct 2013 20:28:04 +0000 (16:28 -0400)]
Use more detailled assert messages in some, randomly failing, Timer unit tests (to help track #14305)
Zoltan Varga [Wed, 2 Oct 2013 17:20:43 +0000 (13:20 -0400)]
[runtime] Save MonoTrampInfo structures in a list so mono_print_method_from_ip () would work on trampolines.
Gustavo Guerra [Wed, 2 Oct 2013 15:12:29 +0000 (16:12 +0100)]
[xBuild] Add missing VisualStudioVersion propety which was introduced in VS2012
Mark Probst [Wed, 2 Oct 2013 14:58:53 +0000 (10:58 -0400)]
[x86] Fix bug when getting a signal while throwing exception.
Mark Probst [Wed, 2 Oct 2013 14:00:59 +0000 (07:00 -0700)]
[AMD64] Fix bug when getting a signal while throwing exception.
This is a very rarely occurring bug that's also still present on x86
and possibly other architectures, as well.
Atsushi Eno [Wed, 2 Oct 2013 14:04:44 +0000 (23:04 +0900)]
revive XSLT standalone tests (which was broken because of dependency on too old nunit and build profiles).
Zoltan Varga [Wed, 2 Oct 2013 13:24:32 +0000 (09:24 -0400)]
[runtime] Fix a runtime test which got broken by the newly added methods to the Marshal class.
Gustavo Guerra [Tue, 1 Oct 2013 20:43:17 +0000 (21:43 +0100)]
[xBuild] Fix use of properties in project references when those properties use MSBuildExtensionPath after expanded
Robin Neatherway [Tue, 1 Oct 2013 19:21:23 +0000 (20:21 +0100)]
[xBuild] Fix compilation for Mono 2.0
Martin Baulig [Tue, 1 Oct 2013 16:48:00 +0000 (12:48 -0400)]
[System]: Fix System.IO.Compression.CompressionLevel enum.
Sebastien Pouliot [Tue, 1 Oct 2013 00:39:14 +0000 (20:39 -0400)]
Relax name check when deserializing a WindowsIdentity instance as the name can be empty (e.g. iOS7 simulator will hide the user name) [#12789]
Sebastien Pouliot [Mon, 30 Sep 2013 21:32:38 +0000 (17:32 -0400)]
[mono-api-html] Better handling of generic types (so they can be simplified and displayed correctly, e.g. for arrays)
Sebastien Pouliot [Mon, 30 Sep 2013 21:31:50 +0000 (17:31 -0400)]
[mono-api-html] Fix ending quote for non-string fields
Marek Safar [Sun, 29 Sep 2013 21:56:23 +0000 (17:56 -0400)]
Anonymous method with this access inside an iterator needs to initialize captured this field from iterator's copy. Fixes #14926
Gustavo Guerra [Sun, 29 Sep 2013 20:28:56 +0000 (21:28 +0100)]
[xBuild] Fix Import elements with the combination of wildcards and absolute paths
Used in the .targets files shipped with VS2013
Gustavo Guerra [Sun, 29 Sep 2013 20:26:00 +0000 (21:26 +0100)]
[xBuild] Support for ImportGroup element
Used in the .targets files shipped with VS2013
Gustavo Guerra [Sun, 29 Sep 2013 20:22:47 +0000 (21:22 +0100)]
[xBuild] Suport >= in string conditions
e.g: '$(MSBuildAssemblyVersion)' == '' and ('$(VisualStudioVersion)' != '' and '$(VisualStudioVersion)' >= '12.0'), used in the .targets files shipped with VS2013
Gustavo Guerra [Sun, 29 Sep 2013 20:16:34 +0000 (21:16 +0100)]
[xBuild] Support use of properties defined in Choose elements in project references
This is used by the .fsproj files generated by VS2013 which use a Choose element to set the location of the F# targets file to import
Gustavo Guerra [Sun, 29 Sep 2013 20:13:58 +0000 (21:13 +0100)]
[xBuild] Support ToolsVersion 12
From VS2013, MSBuild is now decouple from the .NET Framework and is a separate redistributable. This means it has a new location and version numbering scheme. There are also some addition MSBuild properties because of this
Sebastien Pouliot [Sat, 28 Sep 2013 17:06:35 +0000 (13:06 -0400)]
Fix potential NRE and give better output for fields and some types
Atsushi Eno [Sat, 28 Sep 2013 11:58:52 +0000 (20:58 +0900)]
Add ConsoleLoggerTest and fixed implementation to match .NET implementation.
Atsushi Eno [Sat, 28 Sep 2013 11:57:50 +0000 (20:57 +0900)]
implement some "new in 4.0" build event args types.
Rodrigo Kumpera [Fri, 27 Sep 2013 23:51:54 +0000 (19:51 -0400)]
Revert "Allow workitems to startup faster and reduce polling thread interval in the threadpool."
This commit is causing unbound growth in the number of threads for a series of workloads.
It's leading a sgen test to crash with 800 tp threads around, which doesn't make sense on a
4 cores system with default TP configuration.
This reverts commit
3c347d5d3a9c58666ef33c96e28a16c751e59619.
Rolf Bjarne Kvinge [Fri, 27 Sep 2013 13:03:23 +0000 (15:03 +0200)]
[Mono.Tuner] Remove unused field.
Atsushi Eno [Fri, 27 Sep 2013 11:02:14 +0000 (20:02 +0900)]
Add some "new in 4.0" API regarding build event args.
Zoltan Varga [Fri, 27 Sep 2013 10:35:12 +0000 (12:35 +0200)]
[sdb] Fix decoding of nested structs. Fixes #14942.
Atsushi Eno [Fri, 27 Sep 2013 10:12:54 +0000 (19:12 +0900)]
Fix build.
I forgot to save buffer, build, then save, then committed :(
Sebastien Pouliot [Thu, 26 Sep 2013 20:17:15 +0000 (16:17 -0400)]
Drop the System.Enum and System.ValueType for enum and struct.
Sebastien Pouliot [Thu, 26 Sep 2013 19:41:16 +0000 (15:41 -0400)]
Add a new tool to produce HTML diff of assemblies similar to what Xamarin.iOS has been producing
Vincent Povirk [Thu, 26 Sep 2013 19:03:15 +0000 (14:03 -0500)]
Define GC_NOT_DLL for included boehm on win32.
This commit licensed as MIT/X11.
Atsushi Eno [Thu, 26 Sep 2013 16:54:41 +0000 (01:54 +0900)]
implement some primary members of ConsoleLogger (and FileLogger).
Jeffrey Stedfast [Thu, 26 Sep 2013 16:27:12 +0000 (12:27 -0400)]
[MacProxy] Initialize err to IntPtr.Zero before calling CFNetworkCopyProxiesForAutoConfigurationScript
Zoltan Varga [Thu, 26 Sep 2013 11:02:30 +0000 (13:02 +0200)]
[sdb] Fix a race in the sdb tests exposed by the recent threadpool changes.
Mark Probst [Thu, 26 Sep 2013 01:38:59 +0000 (18:38 -0700)]
[sgen] A better fix for the POSIX stop-world deadlock.
R. Brian Lindahl [Wed, 25 Sep 2013 15:40:43 +0000 (08:40 -0700)]
When generating resources, it intends to add the .resources file to the FilesWritten list. However, it sets the ItemSpec on the wrong item, and a 'Clean' ends up deleting the .resx file.
Zoltan Varga [Wed, 25 Sep 2013 11:03:51 +0000 (13:03 +0200)]
Implement net 4.5.1 generic wrapper methods in Marshal.
Atsushi Eno [Wed, 25 Sep 2013 09:37:30 +0000 (18:37 +0900)]
Fix bug #14951 - there was another escape sequence 1B 24 40 to indicate "old" JIS.
Marek Safar [Wed, 25 Sep 2013 09:27:06 +0000 (11:27 +0200)]
Bump ikvm-reflect
Marek Safar [Wed, 25 Sep 2013 09:20:09 +0000 (11:20 +0200)]
Report less cascading errors
Marek Safar [Wed, 25 Sep 2013 08:53:03 +0000 (10:53 +0200)]
Don't crash when reporting invalid named argument name. Fixes #14962
Zoltan Varga [Tue, 24 Sep 2013 23:35:19 +0000 (01:35 +0200)]
Fix the build.
Mark Probst [Tue, 24 Sep 2013 22:17:14 +0000 (15:17 -0700)]
Add a section to the README on how to submit bug reports.
Jonathan Pryor [Tue, 24 Sep 2013 21:14:55 +0000 (17:14 -0400)]
[System] Fix the CSharpCodeCompiler error parsing regex.
Use the same regex as xbuild uses for error parsing; see
7a2d2c24.
Jonathan Pryor [Tue, 24 Sep 2013 20:16:32 +0000 (16:16 -0400)]
[MSBuild] Fix the ${level} and ${number} capture.
Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=14767
Some people, when confronted with a problem, think
“I know, I'll use regular expressions.” Now they have two problems.
- http://regex.info/blog/2006-09-15/247
ToolTask uses a regular expression to extract various bits of
information from the warning/error message. Unfortunately it was
inadequate, and didn't correctly match on some errors.
The error message in this case is:
class1.cs(16,4): error CS0152: The label `case 1:' already occurs in this switch statement.
The problem was that while the previous regular expression would
succeed in matching the above string, it was horribly inaccurate in
what it captured:
${file} = "error CS0152"
${line} = "16"
${column} = "4"
${level} = "The"
${number} = "label `case 1"
${message}= "' already occurs in this switch statement."
Did I mention hilariously wrong?
There were two problems with the previous pattern:
1. It allowed filename+(line,column) to be _repeated_, which is
clearly insane. Filename/etc. shouldn't be repeated.
2. ${number} captured ".*\d", i.e. anything ending with a number, so
when the message had a number embedded within it, it was captured.
For good measure, use RegexOptions.IgnorePatternWhitespace so that
we don't have a horrendously long regex pattern to compare for diffs
the next time this needs fixing, and add NUnit tests.
Mark Probst [Tue, 24 Sep 2013 17:55:22 +0000 (10:55 -0700)]
[sgen] Fix a thread startup deadlock on POSIX.
If the GC stops the world and a thread is in the process of starting
up, but has not yet registered (it's not in the thread_list), it is
possible that the thread does register while the world is stopped.
When restarting the GC will then try to restart said thread, but since
it never got the suspend signal, it cannot answer the restart signal,
so a deadlock results.
This is triggered by `tests/sgen-bridge.cs`, about once every 10 runs.
We solve this by using a negative value in the `signal` field in the
thread info to indicate threads that have never been suspended.
Marek Safar [Tue, 24 Sep 2013 17:17:06 +0000 (19:17 +0200)]
Better checks for inaccessible member used via dynamic proxy. Fixes #14762
Marek Safar [Tue, 24 Sep 2013 14:04:07 +0000 (16:04 +0200)]
Reenable accidentally disabled test
Marek Safar [Tue, 24 Sep 2013 14:00:00 +0000 (16:00 +0200)]
Fixes compilation error on Mavericks
Marek Safar [Tue, 24 Sep 2013 13:56:45 +0000 (15:56 +0200)]
Initialize cookie container for default requests. Fixes #14783
Marek Safar [Tue, 24 Sep 2013 13:53:25 +0000 (15:53 +0200)]
Optmizes one string comparison.
Remove useless GC.SuppressFinalize
Paolo Molaro [Tue, 24 Sep 2013 13:25:53 +0000 (15:25 +0200)]
Allow workitems to startup faster and reduce polling thread interval in the threadpool.
Deals with xambug #14644 and similar issues.
Sebastien Pouliot [Tue, 24 Sep 2013 12:13:05 +0000 (08:13 -0400)]
Update cecil sources to latest
Sebastien Pouliot [Sat, 21 Sep 2013 02:26:54 +0000 (22:26 -0400)]
[linker] Resolve every type references if we're to save an assembly that is not linked (so the scope won't point to assemblies that were removed)
Marek Safar [Tue, 24 Sep 2013 07:44:44 +0000 (09:44 +0200)]
Check modifying members of readonly value-type field. Fixes #14802
Zoltan Varga [Tue, 24 Sep 2013 04:11:50 +0000 (06:11 +0200)]
Fix the windows build.
Rodrigo Kumpera [Mon, 23 Sep 2013 23:14:05 +0000 (19:14 -0400)]
Fix the windows build.
Rodrigo Kumpera [Mon, 23 Sep 2013 23:07:42 +0000 (19:07 -0400)]
Add test case for xref behavior for the sgen bridge.
Rodrigo Kumpera [Mon, 23 Sep 2013 22:51:34 +0000 (18:51 -0400)]
Make sure we properly account for transitive liveness when processing bridge objects. Fixes #13858
We depend on the latent liveness state of objects at the time we collect bridged objects. To
preserve this we must perform the dfs1 step right after collecting them and before we drain the
gray stack or all objects pointed by candidate bridge objects will be marked as alive.
Miguel de Icaza [Mon, 23 Sep 2013 17:03:05 +0000 (13:03 -0400)]
Wrap the code in MONO_BEGIN/END_DECLS
Miguel de Icaza [Mon, 16 Sep 2013 20:28:29 +0000 (16:28 -0400)]
Update message
Marek Safar [Sun, 22 Sep 2013 17:23:17 +0000 (19:23 +0200)]
Pass cancellation token to CopyAsync read block
Marek Safar [Sun, 22 Sep 2013 17:15:08 +0000 (19:15 +0200)]
Implements content loading cancellation. Fixes #13200
Marek Safar [Sun, 22 Sep 2013 15:43:41 +0000 (17:43 +0200)]
Test update
Marek Safar [Sun, 22 Sep 2013 15:42:47 +0000 (17:42 +0200)]
Bump ikvm-reflection
Zoltan Varga [Sat, 21 Sep 2013 12:56:58 +0000 (14:56 +0200)]
[runtime] Ignore --llvm when LLVM is not enabled in configure.
Vincent Povirk [Mon, 22 Apr 2013 21:06:10 +0000 (16:06 -0500)]
Add test for native thiscall methods.
Licensed under MIT/X11.
Vincent Povirk [Fri, 26 Jul 2013 20:50:11 +0000 (15:50 -0500)]
Add support for thiscall pinvokes on x86.
Licensed under MIT/X11.
Zoltan Varga [Sat, 21 Sep 2013 03:03:48 +0000 (05:03 +0200)]
[aot] Pass correct architecture to llc on x86-64.
Zoltan Varga [Sat, 21 Sep 2013 00:45:09 +0000 (02:45 +0200)]
Make the test-aot test less verbose.
Zoltan Varga [Fri, 20 Sep 2013 22:51:35 +0000 (15:51 -0700)]
Merge pull request #765 from knocte/runtime_fixage
[sgen] Improve fix for BXC#14834 to avoid redundant code
Andrés G. Aragoneses [Fri, 20 Sep 2013 20:15:42 +0000 (22:15 +0200)]
[sgen] Improve fix for BXC#14834 to avoid redundant code
Improve https://github.com/mono/mono/commit/
d2cc22580898df5d4a15e0f99ab513e1570a6082
by making OBJ_BITMAP_FOREACH be less redundant thanks to new macro
GNUC_BUILTIN_CTZ
Marek Safar [Fri, 20 Sep 2013 17:39:12 +0000 (19:39 +0200)]
Fixed TaskFactory::ContinueWhenAny with func result. Fixes #14839
Zoltan Varga [Fri, 20 Sep 2013 17:06:34 +0000 (19:06 +0200)]
[sgen] Use __builtin_ctzl () in OBJ_BITMAP_FOREACH_PTR () on 64 bit platforms. Fixes #14834.
Mark Probst [Fri, 20 Sep 2013 16:34:44 +0000 (09:34 -0700)]
Fix the build.
Marek Safar [Fri, 20 Sep 2013 15:59:28 +0000 (17:59 +0200)]
AggregateException::GetBaseException uses only 1-based inner exceptions. Fixes #14824
Marek Safar [Fri, 20 Sep 2013 15:39:51 +0000 (08:39 -0700)]
Merge pull request #760 from mayerwin/patch-2
Fix: bug https://bugzilla.xamarin.com/show_bug.cgi?id=14811 (to be reviewed)
Martin Baulig [Thu, 19 Sep 2013 22:56:30 +0000 (00:56 +0200)]
[xbuild]: Actually add the $(TargetFrameworkMonikerAssemblyAttributesPath) to @(Compile).
APS [Wed, 18 Sep 2013 09:26:21 +0000 (11:26 +0200)]
[FIX] Bug 267: wsdl fails with "Argument is out of range."
This fix bug 267
https://bugzilla.xamarin.com/show_bug.cgi?id=267
Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
Marek Habersack [Fri, 20 Sep 2013 12:21:52 +0000 (05:21 -0700)]
Merge pull request #758 from echampet/capabilities
Fix crashes with browser capabilities
Etienne CHAMPETIER [Wed, 18 Sep 2013 11:37:45 +0000 (13:37 +0200)]
[System.Web] Re-enable AppBrowsersTest.cs tests for net_2_0
For now mcs/class/System.Web/Test/mainsoft/NunitWebResources/adapters.browser
depends on System.Web_test_net_2_0.dll
Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>