mono.git
10 years agoAdded g_unreachable to explicitly notify the compiler of unreachable code.
Joao Matos [Wed, 4 Jun 2014 18:37:17 +0000 (19:37 +0100)]
Added g_unreachable to explicitly notify the compiler of unreachable code.

10 years ago[sgen] Fix logging due to changes in a lot of size types.
Rodrigo Kumpera [Wed, 4 Jun 2014 18:35:59 +0000 (14:35 -0400)]
[sgen] Fix logging due to changes in a lot of size types.

10 years ago[runtime] Add another test for passing many small arguments.
Zoltan Varga [Wed, 4 Jun 2014 18:32:59 +0000 (20:32 +0200)]
[runtime] Add another test for passing many small arguments.

10 years ago[sgen] Fix clang compilation.
Rodrigo Kumpera [Wed, 4 Jun 2014 18:30:29 +0000 (14:30 -0400)]
[sgen] Fix clang compilation.

10 years ago[sgen] Fix a few warnings related to lossy conversion of size_t to int on 64bits.
Rodrigo Kumpera [Wed, 4 Jun 2014 17:24:44 +0000 (13:24 -0400)]
[sgen] Fix a few warnings related to lossy conversion of size_t to int on 64bits.

10 years ago[sgen] Fix nursery size calculation and the managed write barrier to be 64bits clean.
Rodrigo Kumpera [Wed, 4 Jun 2014 17:24:24 +0000 (13:24 -0400)]
[sgen] Fix nursery size calculation and the managed write barrier to be 64bits clean.

10 years ago[sgen] Fix the object size functions to be 64bits clean.
Rodrigo Kumpera [Wed, 4 Jun 2014 17:21:58 +0000 (13:21 -0400)]
[sgen] Fix the object size functions to be 64bits clean.

10 years ago[sgen] Ensure the cardtable code is 64bits clean.
Rodrigo Kumpera [Wed, 4 Jun 2014 17:17:26 +0000 (13:17 -0400)]
[sgen] Ensure the cardtable code is 64bits clean.

10 years ago[sgen] Use size_t for all heap limits.
Rodrigo Kumpera [Wed, 4 Jun 2014 16:41:32 +0000 (12:41 -0400)]
[sgen] Use size_t for all heap limits.

10 years ago[sgen] Fix size warnings in the descriptor code.
Rodrigo Kumpera [Wed, 4 Jun 2014 16:36:00 +0000 (12:36 -0400)]
[sgen] Fix size warnings in the descriptor code.

10 years ago[sgen] Silence warnings when big arrays are not in use on 64bits.
Rodrigo Kumpera [Wed, 4 Jun 2014 16:33:54 +0000 (12:33 -0400)]
[sgen] Silence warnings when big arrays are not in use on 64bits.

10 years ago[sgen] Make degrated_mode a size_t.
Rodrigo Kumpera [Wed, 4 Jun 2014 16:32:15 +0000 (12:32 -0400)]
[sgen] Make degrated_mode a size_t.

10 years ago[sgen] Make los usage of size_t cosnsitent.
Rodrigo Kumpera [Wed, 4 Jun 2014 16:27:22 +0000 (12:27 -0400)]
[sgen] Make los usage of size_t cosnsitent.

10 years ago[sgen] Use size_t consistently in the major collector for object sizes and number...
Rodrigo Kumpera [Wed, 4 Jun 2014 16:15:54 +0000 (12:15 -0400)]
[sgen] Use size_t consistently in the major collector for object sizes and number of memory blocks.

10 years ago[sgen] Use size_t consistently in the nursery code.
Rodrigo Kumpera [Wed, 4 Jun 2014 16:10:01 +0000 (12:10 -0400)]
[sgen] Use size_t consistently in the nursery code.

10 years ago[sgen] Move the pinning code to use size_t internally. This makes this code 64bits...
Rodrigo Kumpera [Wed, 4 Jun 2014 14:58:15 +0000 (10:58 -0400)]
[sgen] Move the pinning code to use size_t internally. This makes this code 64bits clean.

10 years ago[sgen] Fix small localized warnings.
Rodrigo Kumpera [Tue, 3 Jun 2014 22:02:19 +0000 (18:02 -0400)]
[sgen] Fix small localized warnings.

10 years ago[sgen] Fix win64 issues with longs and inline assembly.
Rodrigo Kumpera [Tue, 3 Jun 2014 21:45:50 +0000 (17:45 -0400)]
[sgen] Fix win64 issues with longs and inline assembly.

10 years ago[runtime] Fix a bunch of warnings in threads.c related to int64 -> int32 lossy casts.
Rodrigo Kumpera [Tue, 3 Jun 2014 21:39:33 +0000 (17:39 -0400)]
[runtime] Fix a bunch of warnings in threads.c related to int64 -> int32 lossy casts.

10 years ago[verifier] Silence a size mismatch warning in the verifier.
Rodrigo Kumpera [Tue, 3 Jun 2014 21:35:22 +0000 (17:35 -0400)]
[verifier] Silence a size mismatch warning in the verifier.

10 years ago[runtime] Replace gulong with size_t to fix counter sizes in win64.
Rodrigo Kumpera [Tue, 3 Jun 2014 21:34:36 +0000 (17:34 -0400)]
[runtime] Replace gulong with size_t to fix counter sizes in win64.

10 years ago[win64] Windows64 MSVC compiler dropped support for inline assembly. Move that code...
Rodrigo Kumpera [Tue, 3 Jun 2014 21:31:18 +0000 (17:31 -0400)]
[win64] Windows64 MSVC compiler dropped support for inline assembly. Move that code into a .asm file.

10 years ago[VS] Fix the solutions to work with win64. Update the file list to include some new...
Rodrigo Kumpera [Tue, 3 Jun 2014 21:28:01 +0000 (17:28 -0400)]
[VS] Fix the solutions to work with win64. Update the file list to include some new sgen files.

10 years ago[runtime] Fix warnings in mono-threads.
Rodrigo Kumpera [Tue, 3 Jun 2014 20:53:22 +0000 (16:53 -0400)]
[runtime] Fix warnings in mono-threads.

10 years ago[runtime] Replace gulong with size_t so it works on win64.
Rodrigo Kumpera [Tue, 3 Jun 2014 20:52:14 +0000 (16:52 -0400)]
[runtime] Replace gulong with size_t so it works on win64.

10 years agofix win thread size calc.
Rodrigo Kumpera [Fri, 30 May 2014 18:11:46 +0000 (14:11 -0400)]
fix win thread size calc.

10 years ago[mcs] Revert unwanted change from 9e5d5e5c90fce0374447b81111b5d6b08773c55a
Marek Safar [Wed, 4 Jun 2014 17:06:59 +0000 (19:06 +0200)]
[mcs] Revert unwanted change from 9e5d5e5c90fce0374447b81111b5d6b08773c55a

10 years agoFixes build
Marek Safar [Wed, 4 Jun 2014 17:02:18 +0000 (19:02 +0200)]
Fixes build

10 years ago[mcs] Better error message for attribute value used for unsupported parameter type
Marek Safar [Wed, 4 Jun 2014 16:26:54 +0000 (18:26 +0200)]
[mcs] Better error message for attribute value used for unsupported parameter type

10 years ago[mcs] Emit result type conversion for null coalescing operator on nullable type
Marek Safar [Wed, 4 Jun 2014 16:24:28 +0000 (18:24 +0200)]
[mcs] Emit result type conversion for null coalescing operator on nullable type

10 years agoCorrect op_seqpoint length
Neale Ferguson [Wed, 4 Jun 2014 14:50:03 +0000 (10:50 -0400)]
Correct op_seqpoint length

10 years agoFix s390x soft debug
Neale Ferguson [Wed, 4 Jun 2014 14:47:37 +0000 (10:47 -0400)]
Fix s390x soft debug

10 years agoArchitectural level set to z10 instruction set
Neale Ferguson [Tue, 3 Jun 2014 15:52:00 +0000 (11:52 -0400)]
Architectural level set to z10 instruction set

10 years ago[mcs] Add more checks to dynamic logical operations when lhs is not of dynamic type
Marek Safar [Wed, 4 Jun 2014 12:40:16 +0000 (14:40 +0200)]
[mcs] Add more checks to dynamic logical operations when lhs is not of dynamic type

10 years ago[mcs] Don't wrap enum constants during folding when result is reduced
Marek Safar [Wed, 4 Jun 2014 12:30:03 +0000 (14:30 +0200)]
[mcs] Don't wrap enum constants during folding when result is reduced

10 years agoMerge pull request #1082 from esdrubal/bug19287
Marek Safar [Wed, 4 Jun 2014 11:02:04 +0000 (13:02 +0200)]
Merge pull request #1082 from esdrubal/bug19287

Improved JavaScriptSerializer.ConvertToType Nullable handling. Fixes #19287.

10 years agoImproved JavaScriptSerializer.ConvertToType Nullable handling. Fixes #19287. ConvertT...
marcos henrich [Wed, 4 Jun 2014 10:11:36 +0000 (11:11 +0100)]
Improved JavaScriptSerializer.ConvertToType Nullable handling. Fixes #19287. ConvertToType was returning null even when the object was not a string. When the target type is Nullable, ConvertToType returns null if the object is an empty string, if the object is not a string and the target type is obtainable from a string then the object is converted to a string and the string to the target type.

10 years agoTest JavaScriptSerializer.Deserialize with nullable enums. Covers #19287.
marcos henrich [Wed, 4 Jun 2014 09:18:43 +0000 (10:18 +0100)]
Test JavaScriptSerializer.Deserialize with nullable enums. Covers #19287.

10 years ago[mcs] null coalescing operator cannot reduce constants
Marek Safar [Wed, 4 Jun 2014 09:24:34 +0000 (11:24 +0200)]
[mcs] null coalescing operator cannot reduce constants

10 years ago[msbuild] Implemented instance members on static property evaluation
Marek Safar [Wed, 4 Jun 2014 09:23:13 +0000 (11:23 +0200)]
[msbuild] Implemented instance members on static property evaluation

10 years ago[System] Fix WebClientTest build in net_2_0.
Alex Rønne Petersen [Tue, 3 Jun 2014 21:33:30 +0000 (23:33 +0200)]
[System] Fix WebClientTest build in net_2_0.

CancellationTokenSource is a 4.0 thing.

10 years ago[System.ServiceModel.Security] Exclude security forwarders from mobile builds
Marek Safar [Tue, 3 Jun 2014 20:29:12 +0000 (22:29 +0200)]
[System.ServiceModel.Security] Exclude security forwarders from mobile builds

10 years agoMerge pull request #1079 from esdrubal/webclient_cancel
Alex Rønne Petersen [Tue, 3 Jun 2014 18:27:58 +0000 (20:27 +0200)]
Merge pull request #1079 from esdrubal/webclient_cancel

UploadStringAsync cancel

10 years ago[runtime] Add an EXTRA_DISABLED_TESTS make variable to disable tests on the command...
Zoltan Varga [Tue, 3 Jun 2014 18:19:33 +0000 (20:19 +0200)]
[runtime] Add an EXTRA_DISABLED_TESTS make variable to disable tests on the command line.

10 years ago[bcl] Disable a test added by 3cf55e6016811ce115ef47fbb9636f10d4b62789, it depends...
Zoltan Varga [Tue, 3 Jun 2014 17:30:49 +0000 (19:30 +0200)]
[bcl] Disable a test added by 3cf55e6016811ce115ef47fbb9636f10d4b62789, it depends on precise gc behaviour.

10 years agoChanged UploadStringAsync to handle UploadString encapsulated exceptions.
marcos henrich [Tue, 3 Jun 2014 15:23:22 +0000 (16:23 +0100)]
Changed UploadStringAsync to handle UploadString encapsulated exceptions.
UploadString call UploadData that encapsulates all exceptions in a WebException. ThreadInterruptedException were encapsulated into a WebException, so UploadStringAsync now uses e.InnerException is ThreadInterruptedException instead of trying to catch it.

10 years ago[mcs] Update new error codes
Marek Safar [Tue, 3 Jun 2014 14:52:04 +0000 (16:52 +0200)]
[mcs] Update new error codes

10 years ago[runtime] Applied patch from Kyle Edwards <kyleedwardsny@gmail.com>. Fix isinf (...
Zoltan Varga [Tue, 3 Jun 2014 14:07:40 +0000 (16:07 +0200)]
[runtime] Applied patch from Kyle Edwards <kyleedwardsny@gmail.com>. Fix isinf () check with clang. Fixes #20244.

10 years ago[corlib] Add CreateTypeInfo method
Marek Safar [Tue, 3 Jun 2014 09:56:47 +0000 (11:56 +0200)]
[corlib] Add CreateTypeInfo method

10 years ago[mcs] Better error reporting for incorrect async lambdas
Marek Safar [Tue, 3 Jun 2014 09:31:24 +0000 (11:31 +0200)]
[mcs] Better error reporting for incorrect async lambdas

10 years agoMerge pull request #1080 from chillitom/patch-1
Alex Rønne Petersen [Mon, 2 Jun 2014 22:42:57 +0000 (00:42 +0200)]
Merge pull request #1080 from chillitom/patch-1

Add missing definitions to ClaimTypes

10 years agoAdd new missing ClaimTypes entries
Tom Rathbone [Mon, 2 Jun 2014 22:12:54 +0000 (23:12 +0100)]
Add new missing ClaimTypes entries

Added 2008 and 2009 definitions and fixed Email definition

10 years agoTest WebClient asynchronous uploads cancellation.
marcos henrich [Mon, 2 Jun 2014 18:04:43 +0000 (19:04 +0100)]
Test WebClient asynchronous uploads cancellation.
Tests that UploadStringAsync triggers UploadStringCompleted with Cancelled == true.
Tests that UploadDataAsync triggers UploadDataCompleted with Cancelled == true.
Tests that UploadValuesAsync triggers UploadValuesCompleted with Cancelled == true.
Tests that UploadFileAsync triggers UploadFileCompleted with Cancelled == true.

10 years ago[llvm] Fix a native types problem.
Zoltan Varga [Mon, 2 Jun 2014 18:02:15 +0000 (20:02 +0200)]
[llvm] Fix a native types problem.

10 years agoMerge pull request #1070 from tpokorra/FixTarball
Zoltan Varga [Mon, 2 Jun 2014 17:51:34 +0000 (19:51 +0200)]
Merge pull request #1070 from tpokorra/FixTarball

Fix tarball for master

10 years ago[xbuild/msbuild] fix previous ItemGroup definition (should be in <ItemGroup>).
Atsushi Eno [Mon, 2 Jun 2014 16:18:21 +0000 (01:18 +0900)]
[xbuild/msbuild] fix previous ItemGroup definition (should be in <ItemGroup>).

10 years ago[mcs] Remove wrong comment
Marek Safar [Mon, 2 Jun 2014 15:19:51 +0000 (17:19 +0200)]
[mcs] Remove wrong comment

10 years ago[mcs] Add more warnings for caller attributes
Marek Safar [Mon, 2 Jun 2014 15:13:10 +0000 (17:13 +0200)]
[mcs] Add more warnings for caller attributes

10 years ago[xbuild/msbuild] fix build: fix Exists() argument.
Atsushi Eno [Mon, 2 Jun 2014 13:39:43 +0000 (22:39 +0900)]
[xbuild/msbuild] fix build: fix Exists() argument.

10 years ago[mcs] Add support for await in catch clause
Marek Safar [Mon, 2 Jun 2014 12:53:12 +0000 (14:53 +0200)]
[mcs] Add support for await in catch clause

10 years agoFixes build
Marek Safar [Mon, 2 Jun 2014 11:15:22 +0000 (13:15 +0200)]
Fixes build

10 years ago[mcs] Extend possible unintended reference comparison check
Marek Safar [Fri, 30 May 2014 15:08:08 +0000 (17:08 +0200)]
[mcs] Extend possible unintended reference comparison check

10 years ago[msbuild/xbuild] use ToolLocationHelper.GetPathToStandardLibraries() to get corlib...
Atsushi Eno [Mon, 2 Jun 2014 10:26:14 +0000 (19:26 +0900)]
[msbuild/xbuild] use ToolLocationHelper.GetPathToStandardLibraries() to get corlib path, for new build engine.

This is enabled only with Microsoft.Build.dll because property function
support is not fully implemented in MS.Build.Engine.dll and simply fails.

Since the targets files are shared between xbuild and msbuild, I added
some well-known property for msbuild and used it in the targets file.

10 years ago[MS.Build] add MS.Build.dll-specific well-known property, to differentiate from MS...
Atsushi Eno [Mon, 2 Jun 2014 10:21:48 +0000 (19:21 +0900)]
[MS.Build] add MS.Build.dll-specific well-known property, to differentiate from MS.Build.Engine.

10 years ago[xbuild] fix 4.0-only test condition.
Atsushi Eno [Mon, 2 Jun 2014 10:25:17 +0000 (19:25 +0900)]
[xbuild] fix 4.0-only test condition.

10 years ago[msbuild] build the projects via MSBuild task with appropriate configuration, not...
Atsushi Eno [Fri, 30 May 2014 11:17:05 +0000 (20:17 +0900)]
[msbuild] build the projects via MSBuild task with appropriate configuration, not the entire projects in the solution.

10 years ago[MS.Build] ProjectOnErrorInstance should not cause build failure.
Atsushi Eno [Mon, 2 Jun 2014 08:48:00 +0000 (17:48 +0900)]
[MS.Build] ProjectOnErrorInstance should not cause build failure.

10 years ago[MS.Build] added test for ToolLocationHelper.GetPathToStandardLibraries() to add...
Atsushi Eno [Mon, 2 Jun 2014 07:47:38 +0000 (16:47 +0900)]
[MS.Build] added test for ToolLocationHelper.GetPathToStandardLibraries() to add target item.

It should be used in Microsoft.CSharp.targets to pass the path to mscorlib.dll
but it's not working yet, so I'm making it to work step by step.

10 years ago[MS.Build] when evaluated as object, do not add extra quotes.
Atsushi Eno [Mon, 2 Jun 2014 07:45:37 +0000 (16:45 +0900)]
[MS.Build] when evaluated as object, do not add extra quotes.

When the object is passed as argument to property function, it gets extra
" or ' and could result in unexpected value.

10 years ago[xbuild] ToolLocationHelper.GetPathToStandardLibraries() skips "" too.
Atsushi Eno [Mon, 2 Jun 2014 07:44:30 +0000 (16:44 +0900)]
[xbuild] ToolLocationHelper.GetPathToStandardLibraries() skips "" too.

Test is added too, but since it requires some environment setup, I didn't
enable it so far.

10 years ago[MS.Build] fix some issues around quoted string handling.
Atsushi Eno [Fri, 30 May 2014 11:20:32 +0000 (20:20 +0900)]
[MS.Build] fix some issues around quoted string handling.

Since the parser didn't really detect those quotation chars unless they are
top of the next tokeniation, it was always starting from wrong position.

10 years ago[MS.Build] add function call releated tests.
Atsushi Eno [Fri, 30 May 2014 08:25:20 +0000 (17:25 +0900)]
[MS.Build] add function call releated tests.

10 years ago[MS.Build] '\\' is also escaped syntax, so parse it carefully too.
Atsushi Eno [Fri, 30 May 2014 08:24:34 +0000 (17:24 +0900)]
[MS.Build] '\\' is also escaped syntax, so parse it carefully too.

10 years ago[MS.Build] fix function call expression parsing wrt nested refs: $(X('$(Y)','$(Z)'))
Atsushi Eno [Fri, 30 May 2014 07:32:28 +0000 (16:32 +0900)]
[MS.Build] fix function call expression parsing wrt nested refs: $(X('$(Y)','$(Z)'))

Nested references inside quoted strings are not parsed correctly.
To resolve this issue, parse quoted expressions in more complicated way.

10 years ago[ms.build] make sure that we don't skip any other kind of child under target element.
Atsushi Eno [Fri, 30 May 2014 05:05:34 +0000 (14:05 +0900)]
[ms.build] make sure that we don't skip any other kind of child under target element.

10 years ago[MS.Build] simplify IBuildEngine.Build() implementation, and build the argument proje...
Atsushi Eno [Thu, 29 May 2014 10:27:12 +0000 (19:27 +0900)]
[MS.Build] simplify IBuildEngine.Build() implementation, and build the argument project, not the project that is being built by the BuildManager.

That was wrong recursion.

10 years ago[MS.Build] make env. properties are read only, and show initial properties in differe...
Atsushi Eno [Thu, 29 May 2014 10:26:26 +0000 (19:26 +0900)]
[MS.Build] make env. properties are read only, and show initial properties in different manner.

Now it's easier to see project properties and other properties.

10 years ago[MS.Build] revise previous fix; only Items are in reverse order.
Atsushi Eno [Thu, 29 May 2014 10:07:54 +0000 (19:07 +0900)]
[MS.Build] revise previous fix; only Items are in reverse order.

The previous change regressed at order of property evaluation. Now this fix
does not regress as well as F# project still builds.

10 years ago[MS.Build] ProjectInstance needs ChildrenReversed to evaluate items.
Atsushi Eno [Thu, 29 May 2014 09:29:00 +0000 (18:29 +0900)]
[MS.Build] ProjectInstance needs ChildrenReversed to evaluate items.

This behavioral difference between ProjectRootElement, Project and
ProjectInstance was discovered while trying to get F# project working
(where item order significantly matters).

10 years ago[MS.Build] load ImportGroup in root.
Atsushi Eno [Wed, 28 May 2014 17:17:39 +0000 (02:17 +0900)]
[MS.Build] load ImportGroup in root.

10 years ago[ms.build] several fixes in BuildEngine4.
Atsushi Eno [Wed, 28 May 2014 05:44:00 +0000 (14:44 +0900)]
[ms.build] several fixes in BuildEngine4.

- InitialTargets also need to be executed.
- toolsVersion must be filled.
- HostServices object is also passed from the parent build.

10 years ago[ms.build] pass DefaultToolsVersion from ProjectInstance to build request data.
Atsushi Eno [Wed, 28 May 2014 05:40:35 +0000 (14:40 +0900)]
[ms.build] pass DefaultToolsVersion from ProjectInstance to build request data.

10 years agoMerge pull request #1078 from LRFalk01/master
Marek Safar [Mon, 2 Jun 2014 06:42:50 +0000 (08:42 +0200)]
Merge pull request #1078 from LRFalk01/master

Null Exception in System.Security.Claims

10 years agoNull Exception in System.Security.Claims
Lucas [Sun, 1 Jun 2014 20:50:38 +0000 (16:50 -0400)]
Null Exception in System.Security.Claims

This fixed a runtime exception when trying to get a ClaimsPrincipal from an IIdentity.
Noticed this work working with aspnet Identity in a Web Api 2 controller.
Exception fired when running User.Identity.IsAuthenticated.

Exception detail:
http://falk.pw:7777/tocehuhemo.xml

10 years agoMerge pull request #1071 from bl8/cairo-additions
Alex Rønne Petersen [Sun, 1 Jun 2014 19:52:18 +0000 (21:52 +0200)]
Merge pull request #1071 from bl8/cairo-additions

Cairo API additions in Context class

10 years agoMerge pull request #1075 from Meai1/patch-1
Alex Rønne Petersen [Sun, 1 Jun 2014 19:51:14 +0000 (21:51 +0200)]
Merge pull request #1075 from Meai1/patch-1

Update README.md

10 years agoMerge pull request #1077 from sethjackson/null-gc-sgen
Alex Rønne Petersen [Sun, 1 Jun 2014 19:50:47 +0000 (21:50 +0200)]
Merge pull request #1077 from sethjackson/null-gc-sgen

Allow building with null-gc and sgen.

10 years agoMerge pull request #1076 from sethjackson/null-gc-msg
Alex Rønne Petersen [Sun, 1 Jun 2014 19:48:30 +0000 (21:48 +0200)]
Merge pull request #1076 from sethjackson/null-gc-msg

Print the correct GC type if compiling using --with-gc=none.

10 years agoAllow building with null-gc and sgen.
Seth Jackson [Sun, 1 Jun 2014 15:08:32 +0000 (11:08 -0400)]
Allow building with null-gc and sgen.
Previously if --with-gc=none --with-sgen=yes was specified the sgen runtime
would include the null GC and the sgen GC which would confuse the linker.

This change released uner the MIT license.

10 years agoPrint the correct GC type if compiling using --with-gc=none.
Seth Jackson [Sun, 1 Jun 2014 14:46:56 +0000 (10:46 -0400)]
Print the correct GC type if compiling using --with-gc=none.

This change released under the MIT license.

10 years agoUpdate README.md
Meai1 [Sat, 31 May 2014 18:25:33 +0000 (20:25 +0200)]
Update README.md

10 years agoMemoryMappedFile fixes
Miguel de Icaza [Sat, 31 May 2014 16:52:59 +0000 (12:52 -0400)]
MemoryMappedFile fixes

This patch includes a few fixes:

* CreateNew will actually create a memory map file, the previous logic
  in MemoryMapImpl.Open was wrong, and would fail if the file did not
  exist.   We now cope with this (bug #20052 was caused by this).

  * Some exceptions were wrong, so this patch updates the
  exceptions being thrown to be the right ones

* On Mobile, we inverted the logic to ensure that capacity must be
  bigger or equal than the file size (which is what the API needs to do),
  previously it performed the opposite test.

Added tests that match the behavior on .NET for this.

10 years agoMerge pull request #1073 from DavidKarlas/logging
Zoltan Varga [Sat, 31 May 2014 15:11:10 +0000 (17:11 +0200)]
Merge pull request #1073 from DavidKarlas/logging

[Mono.Debugger.Soft] Using environment variable MONO_SDB_LOG as logfile path

10 years agoUpdate README.md
Meai1 [Sat, 31 May 2014 10:36:50 +0000 (12:36 +0200)]
Update README.md

Add info on parallel installations which is going to be the case for 99% of people trying to compile and use mono from source.

10 years ago[sdb] Add a lower level lock and use it in place of the loader lock in some places.
Zoltan Varga [Fri, 30 May 2014 23:41:27 +0000 (01:41 +0200)]
[sdb] Add a lower level lock and use it in place of the loader lock in some places.

10 years agoMerge pull request #1068 from esdrubal/bug18421
Jérémie Laval [Fri, 30 May 2014 18:50:35 +0000 (14:50 -0400)]
Merge pull request #1068 from esdrubal/bug18421

Changed ConcurrentQueue to remove last ref/value. Fixes 18421

10 years ago[Mono.Debugger.Soft] Using environment variable MONO_SDB_LOG as logfile path
David Karlaš [Fri, 30 May 2014 18:10:54 +0000 (20:10 +0200)]
[Mono.Debugger.Soft] Using environment variable MONO_SDB_LOG as logfile path

10 years agoMerge pull request #1072 from esdrubal/bug19862
Rolf Bjarne Kvinge [Fri, 30 May 2014 15:59:52 +0000 (17:59 +0200)]
Merge pull request #1072 from esdrubal/bug19862

FileInfo members that rely on AccessControl are now inside a conditional block !MOBILE

10 years agoFileInfo members that rely on System.Security.AccessControl are now inside a conditio...
marcos henrich [Fri, 30 May 2014 15:55:52 +0000 (16:55 +0100)]
FileInfo members that rely on System.Security.AccessControl are now inside a conditional block !MOBILE

10 years agoMono.Cairo: Add Context.SetSourceColor(Color) convenience method
Bertrand Lorentz [Fri, 30 May 2014 15:11:55 +0000 (17:11 +0200)]
Mono.Cairo: Add Context.SetSourceColor(Color) convenience method

The Color property was obsoleted, but the suggested replacement
SetSourceRGBA has 4 double parameters, which can be unconvenient.

Add a SetSourceColor that takes a Cairo.Color parameter, make the Color
property use it, and update the message on the Obsolete attribute.