mono.git
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 ago[System.Xml] Use profile-specific file names for generated files.
Rolf Bjarne Kvinge [Fri, 30 May 2014 14:50:05 +0000 (16:50 +0200)]
[System.Xml] Use profile-specific file names for generated files.

Otherwise parallel builds will break randomly.

10 years ago[mcs] Add lang version
Marek Safar [Fri, 30 May 2014 13:12:44 +0000 (15:12 +0200)]
[mcs] Add lang version

10 years agoMerge pull request #1069 from esdrubal/bug16990
Marek Safar [Fri, 30 May 2014 11:43:02 +0000 (13:43 +0200)]
Merge pull request #1069 from esdrubal/bug16990

Changed ConcurrentDictionary.Contains(KeyValuePair) to also compare value. Fixes #16990.

10 years agoChanged ConcurrentDictionary.Contains(KeyValuePair<TKey, TValue>) to also compare...
marcos henrich [Fri, 30 May 2014 10:33:02 +0000 (11:33 +0100)]
Changed ConcurrentDictionary.Contains(KeyValuePair<TKey, TValue>) to also compare value. Fixes #16990.

10 years agoTest ConcurrentDictionary.Contains(KeyValuePair<TKey, TValue>). Covers #16990.
marcos henrich [Fri, 30 May 2014 10:22:01 +0000 (11:22 +0100)]
Test ConcurrentDictionary.Contains(KeyValuePair<TKey, TValue>). Covers #16990.

10 years ago[boehm] Implement the finalization extension API.
Rodrigo Kumpera [Fri, 30 May 2014 01:51:29 +0000 (21:51 -0400)]
[boehm] Implement the finalization extension API.

10 years ago[gc] Add finalizer API, implemented only on sgen.
Rodrigo Kumpera [Mon, 19 May 2014 15:00:40 +0000 (11:00 -0400)]
[gc] Add finalizer API, implemented only on sgen.

The new finalizer API allows an embedder to be notified during a collector
when an object is queued for finalization.

This is a VERY low level interface, as this is called with the world stopped, so the
code MUST be async safe. If you don't precisely know what that means, don't use it.

10 years ago[jit] Applied patch from Vladimir Kargov <kargov@gmail.com>. Fix a local register...
Zoltan Varga [Fri, 30 May 2014 00:57:48 +0000 (02:57 +0200)]
[jit] Applied patch from Vladimir Kargov <kargov@gmail.com>. Fix a local register allocation problem involving global registers and x86 register constraints.

10 years agoBump 'master' branch version.
Alexis Christoforides [Thu, 29 May 2014 22:09:05 +0000 (18:09 -0400)]
Bump 'master' branch version.

10 years ago[mobile] Add support for Environment.SetEnvironmentVariable in the mobile profile...
Sebastien Pouliot [Thu, 29 May 2014 19:29:52 +0000 (15:29 -0400)]
[mobile] Add support for Environment.SetEnvironmentVariable in the mobile profile (e.g. iOS)

10 years ago[sdb] Avoid clearning event requests if they reference an assembly which is unloaded...
Zoltan Varga [Thu, 29 May 2014 19:08:20 +0000 (21:08 +0200)]
[sdb] Avoid clearning event requests if they reference an assembly which is unloaded. Instead, remove the assembly reference from the event request so it stays active. Fixes #19924.

10 years agoOverwrites dequeued ref/value with default. Fixes 18421.
marcos henrich [Thu, 29 May 2014 16:53:32 +0000 (17:53 +0100)]
Overwrites dequeued ref/value with default. Fixes 18421.
ConcurrentQueue was keeping the last dequeued ref/value.

10 years agoTest that ConcurrentQueue does not keep old references. Covers 18421.
marcos henrich [Thu, 29 May 2014 16:42:10 +0000 (17:42 +0100)]
Test that ConcurrentQueue does not keep old references. Covers 18421.

10 years ago[verifier] Set correctly stack type based on constrained type
Marek Safar [Thu, 29 May 2014 15:54:39 +0000 (17:54 +0200)]
[verifier] Set correctly stack type based on constrained type

10 years ago[mcs] If the overriding property is sealed, then the overridden accessors cannot...
Marek Safar [Thu, 29 May 2014 12:32:27 +0000 (14:32 +0200)]
[mcs] If the overriding property is sealed, then the overridden accessors cannot be inaccessible

10 years agoFixes build with newer mcs
Marek Safar [Thu, 29 May 2014 12:18:34 +0000 (14:18 +0200)]
Fixes build with newer mcs

10 years ago[mcs] Use constrained prefix for enum calls too
Marek Safar [Thu, 29 May 2014 10:52:09 +0000 (12:52 +0200)]
[mcs] Use constrained prefix for enum calls too

10 years ago[verifier] Fix constrained type unwrap for enum types. Fixes #18371
Marek Safar [Thu, 29 May 2014 10:03:14 +0000 (12:03 +0200)]
[verifier] Fix constrained type unwrap for enum types. Fixes #18371

10 years agoAdd System.ServiceModel.Security assembly. Fixes #20108
Marek Safar [Thu, 29 May 2014 07:49:09 +0000 (09:49 +0200)]
Add System.ServiceModel.Security assembly. Fixes #20108

10 years agoMerge pull request #1067 from esdrubal/bug19862
Zoltan Varga [Thu, 29 May 2014 00:01:34 +0000 (02:01 +0200)]
Merge pull request #1067 from esdrubal/bug19862

Removed NET_2_1 conditional blocks from FileInfo. Fixes #19862.

10 years ago[amd64] Simplify mono_arch_handle_altstack_exception () by passing a MonoContext...
Zoltan Varga [Wed, 28 May 2014 23:07:51 +0000 (01:07 +0200)]
[amd64] Simplify mono_arch_handle_altstack_exception () by passing a MonoContext on the stack instead of an os specific sigctx structure which required special handling and broke when _XOPEN_SOURCE was defined.

10 years ago[Mono.Debugger.Soft] minor code cleanup
Jeffrey Stedfast [Wed, 28 May 2014 18:14:48 +0000 (14:14 -0400)]
[Mono.Debugger.Soft] minor code cleanup

10 years agoMerge pull request #1048 from DavidKarlas/cacheThreadsAndBulkFetch
Jeffrey Stedfast [Wed, 28 May 2014 17:59:27 +0000 (13:59 -0400)]
Merge pull request #1048 from DavidKarlas/cacheThreadsAndBulkFetch

[Mono.Debugger.Soft] Caching threads and bulk fetching StackFrames

10 years agoRemoved NET_2_1 conditional blocks from FileInfo. Fixes #19862.
marcos henrich [Wed, 28 May 2014 17:24:16 +0000 (18:24 +0100)]
Removed NET_2_1 conditional blocks from FileInfo. Fixes #19862.

10 years ago[mcs] Fix betterness logic for default vs params parameters. Fixes #19754
Marek Safar [Wed, 28 May 2014 15:59:47 +0000 (17:59 +0200)]
[mcs] Fix betterness logic for default vs params parameters. Fixes #19754

10 years agoTests update
Marek Safar [Wed, 28 May 2014 14:34:37 +0000 (16:34 +0200)]
Tests update

10 years ago[System] Ensure pinvoke into OXS/iOS CFNetwork framework (for proxy support) are...
Sebastien Pouliot [Wed, 28 May 2014 14:33:47 +0000 (10:33 -0400)]
[System] Ensure pinvoke into OXS/iOS CFNetwork framework (for proxy support) are 64bits safe

10 years ago[mcs] Flow analysis of binary expressions not using logical operators. Fixes #20086
Marek Safar [Wed, 28 May 2014 14:23:01 +0000 (16:23 +0200)]
[mcs] Flow analysis of binary expressions not using logical operators. Fixes #20086

10 years ago[System] Ensure pinvoke into OXS/iOS Security framework are 64bits safe
Sebastien Pouliot [Wed, 28 May 2014 13:49:03 +0000 (09:49 -0400)]
[System] Ensure pinvoke into OXS/iOS Security framework are 64bits safe

10 years ago[corlib][ios] Fix 'write' pinvoke declaration to be 64bits safe
Sebastien Pouliot [Wed, 28 May 2014 13:06:36 +0000 (09:06 -0400)]
[corlib][ios] Fix 'write' pinvoke declaration to be 64bits safe

10 years agoChanged API for fetching StackFrames in bulk on multiple threads ThreadMirror.FetchFr...
David Karlaš [Wed, 28 May 2014 10:58:38 +0000 (12:58 +0200)]
Changed API for fetching StackFrames in bulk on multiple threads ThreadMirror.FetchFrames instead of automatically on VirtualMachine.GetThreads

10 years ago[mcs] Emit unmanaged version info from AssemblyFileVersion. Fixes #20057
Marek Safar [Wed, 28 May 2014 08:59:31 +0000 (10:59 +0200)]
[mcs] Emit unmanaged version info from AssemblyFileVersion. Fixes #20057

10 years ago[runtime] Call mono_threads_join_threads () to prevent running out of threads when...
Zoltan Varga [Tue, 27 May 2014 22:09:47 +0000 (00:09 +0200)]
[runtime] Call mono_threads_join_threads () to prevent running out of threads when the finalizer threads becomes blocked/backlogged.

10 years ago[llvm] Fix the loadable llvm build.
Zoltan Varga [Tue, 27 May 2014 20:36:37 +0000 (22:36 +0200)]
[llvm] Fix the loadable llvm build.

10 years ago[runtime] Add a test for the type loading changes.
Rodrigo Kumpera [Tue, 27 May 2014 19:38:49 +0000 (15:38 -0400)]
[runtime] Add a test for the type loading changes.

10 years ago[runtime] Ensure reflection-based assembly load has a basedir set.
Rodrigo Kumpera [Tue, 27 May 2014 19:36:42 +0000 (15:36 -0400)]
[runtime] Ensure reflection-based assembly load has a basedir set.

When loading assemblies, we must ensure that a basedir is provided otherwise
things like custom attributes and Type.GetType won't be able to load sibling
assemblies when basedir is not the same of the domain.

10 years ago[build] Address the System.Configuration test problem
Miguel de Icaza [Tue, 27 May 2014 18:59:25 +0000 (14:59 -0400)]
[build] Address the System.Configuration test problem

The compiler seems to ignore reference assemblies with a full path when the
-lib: directive is passed, so things like:

      -lib:FOO -r:BAR/bar.dll

Would resolve bar.dll to FOO/bar.dll, instead of BAR/bar.dll.

This is a problem with the test suite as it needs to reference the
final build of System.Configuration from $(the_libdir_base) and not
the intermediate step.

To work around this issue, we introduce "test_remove" variable that is
a piece of text that will be removed from the TEST_COMPILE variable
when this is evaluated.

This means that it gets CSCOMPILE and then it removes the bits that we
are not interested in.

10 years ago[llvm] Fix support for native types.
Zoltan Varga [Tue, 27 May 2014 18:41:57 +0000 (20:41 +0200)]
[llvm] Fix support for native types.

10 years ago[sgen] Remove unnecessary newline from warning.
Mark Probst [Tue, 27 May 2014 17:46:32 +0000 (10:46 -0700)]
[sgen] Remove unnecessary newline from warning.

10 years ago[sgen] Fix for ridiculously small nurseries.
Mark Probst [Tue, 27 May 2014 17:45:58 +0000 (10:45 -0700)]
[sgen] Fix for ridiculously small nurseries.

10 years agoFixed TLAB_ACCESS_INIT usages in MSVC by moving the macro expansions to the start...
Joao Matos [Tue, 27 May 2014 16:29:45 +0000 (17:29 +0100)]
Fixed TLAB_ACCESS_INIT usages in MSVC by moving the macro expansions to the start of each block.

10 years agoRevert "Fixed TLAB_ACCESS_INIT usages in MSVC by declaring the variables explicitly...
Joao Matos [Tue, 27 May 2014 15:57:19 +0000 (16:57 +0100)]
Revert "Fixed TLAB_ACCESS_INIT usages in MSVC by declaring the variables explicitly at the start of each block."

This will be fixed in a slightly different way.

This reverts commit aa7ab303bae3de8e8401cbbb4dbc92964347994e.

10 years agoReplaced "__asm call $+5" pattern to get the IP with a label.
Joao Matos [Tue, 27 May 2014 15:55:48 +0000 (16:55 +0100)]
Replaced "__asm call $+5" pattern to get the IP with a label.

This was suggested by Kumpera as a work-around for the lack of support for $ in clang-cl.

10 years ago[corlib] Disable test
Marek Safar [Tue, 27 May 2014 16:14:02 +0000 (18:14 +0200)]
[corlib] Disable test

10 years ago[mcs] More of correct error propagation
Marek Safar [Tue, 27 May 2014 15:33:52 +0000 (17:33 +0200)]
[mcs] More of correct error propagation

10 years ago[System.Configuration] Temporary fix for system.configuration test suite.
Rodrigo Kumpera [Tue, 27 May 2014 15:04:08 +0000 (11:04 -0400)]
[System.Configuration] Temporary fix for system.configuration test suite.

10 years ago[system] Fix warnings
Marek Safar [Tue, 27 May 2014 15:04:24 +0000 (17:04 +0200)]
[system] Fix warnings

10 years ago[mcs] Fix expression tree conversion type for lifted enum equality comparisons. Fixes...
Marek Safar [Tue, 27 May 2014 14:14:14 +0000 (16:14 +0200)]
[mcs] Fix expression tree conversion type for lifted enum equality comparisons. Fixes #19938

10 years ago[arm64] Fix mono_strtod ().
Zoltan Varga [Tue, 27 May 2014 13:29:04 +0000 (15:29 +0200)]
[arm64] Fix mono_strtod ().

10 years ago[mcs] Report error when named argument for param parameter is given but not all forma...
Marek Safar [Tue, 27 May 2014 12:37:17 +0000 (14:37 +0200)]
[mcs] Report error when named argument for param parameter is given but not all formal parameters are provided. Fixes #19878

10 years agoMerge pull request #1062 from sethjackson/sem_timedwait
Alex Rønne Petersen [Tue, 27 May 2014 10:18:42 +0000 (12:18 +0200)]
Merge pull request #1062 from sethjackson/sem_timedwait

OpenBSD has sem_timedwait().

10 years ago[mcs] Unify reachable label lookup. Fixes #19887
Marek Safar [Tue, 27 May 2014 08:46:54 +0000 (10:46 +0200)]
[mcs] Unify reachable label lookup. Fixes #19887

10 years agoMerge pull request #1060 from rolfbjarne/logical-name-in-embedded-resources
Marek Safar [Tue, 27 May 2014 07:32:55 +0000 (09:32 +0200)]
Merge pull request #1060 from rolfbjarne/logical-name-in-embedded-resources

[Microsoft.Build.Tasks] Add support for LogicalName in EmbeddedResources...

10 years ago[ms.build] use appropriate ProjectCollection so that it can build the projects with...
Atsushi Eno [Tue, 27 May 2014 05:08:58 +0000 (14:08 +0900)]
[ms.build] use appropriate ProjectCollection so that it can build the projects with appropriate settings.

Now a solution turns into a project with "BuildingSolutionFile" property
which is assigned by SolutionParser and subsequently gets _ExplicitReference
that is to store path to mscorlib.dll and thence projects build.

10 years ago[ms.build] follow xbuild to use version 12.0.
Atsushi Eno [Tue, 27 May 2014 03:53:15 +0000 (12:53 +0900)]
[ms.build] follow xbuild to use version 12.0.

10 years ago[ms.build] Add msbuild.rsp.
Atsushi Eno [Tue, 27 May 2014 03:52:52 +0000 (12:52 +0900)]
[ms.build] Add msbuild.rsp.

10 years agoOpenBSD has sem_timedwait().
Seth Jackson [Tue, 27 May 2014 01:43:35 +0000 (21:43 -0400)]
OpenBSD has sem_timedwait().

This change released under the MIT license with permission from the original
author Robert Nagy.

10 years ago[Mono.Security] Add new test files (form previous PR) to the build
Sebastien Pouliot [Tue, 27 May 2014 00:02:24 +0000 (20:02 -0400)]
[Mono.Security] Add new test files (form previous PR) to the build

10 years agoMerge pull request #1057 from lextm/master
Sebastien Pouliot [Tue, 27 May 2014 00:00:43 +0000 (20:00 -0400)]
Merge pull request #1057 from lextm/master

[Mono.Security] Added Encode to AuthorityKeyIdentifierExtension and Subj...

10 years agoMerge pull request #1061 from sethjackson/L_cuserid
Zoltan Varga [Mon, 26 May 2014 23:50:32 +0000 (01:50 +0200)]
Merge pull request #1061 from sethjackson/L_cuserid

L_cuserid was removed from OpenBSD.

10 years agoReplaced C99 variable-length array with an alloca to work with MSVC.
Joao Matos [Mon, 26 May 2014 22:42:09 +0000 (23:42 +0100)]
Replaced C99 variable-length array with an alloca to work with MSVC.

10 years agoFixed SGEN_HASH_TABLE_INIT usages to work in MSVC.
Joao Matos [Mon, 26 May 2014 22:40:30 +0000 (23:40 +0100)]
Fixed SGEN_HASH_TABLE_INIT usages to work in MSVC.

10 years agoFixed TLAB_ACCESS_INIT usages in MSVC by declaring the variables explicitly at the...
Joao Matos [Mon, 26 May 2014 22:39:34 +0000 (23:39 +0100)]
Fixed TLAB_ACCESS_INIT usages in MSVC by declaring the variables explicitly at the start of each block.

10 years ago[System.ServiceModel.Web] Fix issue with types explicitly implementing IDictionary...
Sebastien Pouliot [Mon, 26 May 2014 21:27:26 +0000 (17:27 -0400)]
[System.ServiceModel.Web] Fix issue with types explicitly implementing IDictionary or IDictionary<,>

Issue: The previous code, with new tests [1], failed when the linker was
enabled.

That was caused because the code looks for the Keys and Item properties
getter using reflection. The linker handled that imperfectly (it left
some holes), in part because:

* System.Collections.Generic.IDictionary`2 does not implement
  System.Collections.IDictionary; and

* It preserved the explicit methods - not the implicit one that were
  used the the reflection-based code;

That later fact is also a bug (without the linker involvment) and solved
by this commit. A unit test was added to show the issue (NRE).

The patch also avoid the use of reflection for IDictionary since we can
simply typecast to get the same result (without the additional cost).

10 years agoL_cuserid was removed from OpenBSD.
Seth Jackson [Mon, 26 May 2014 21:21:27 +0000 (17:21 -0400)]
L_cuserid was removed from OpenBSD.

This change released under the MIT license with permission from the original
author Christian Weisgerber.

10 years agoUse string.IsNullOrEmpty instead of .Length.
Rolf Bjarne Kvinge [Mon, 26 May 2014 16:53:05 +0000 (18:53 +0200)]
Use string.IsNullOrEmpty instead of .Length.

10 years ago[mcs] Don't release field address copy before it's used. Fixes #20040
Marek Safar [Mon, 26 May 2014 16:50:05 +0000 (18:50 +0200)]
[mcs] Don't release field address copy before it's used. Fixes #20040

10 years ago[arm64] Fix another crash due to not using the right objc_msgSend signature.
Rolf Bjarne Kvinge [Fri, 23 May 2014 16:53:18 +0000 (18:53 +0200)]
[arm64] Fix another crash due to not using the right objc_msgSend signature.

Also simplify the code a little bit, there's no need to have separate
code paths for ARM64, since using the correct objc_msgSend signature
works on all architectures.

10 years agoFix a couple of compiler warnings.
Rolf Bjarne Kvinge [Fri, 23 May 2014 16:51:33 +0000 (18:51 +0200)]
Fix a couple of compiler warnings.

10 years ago[Microsoft.Build.Tasks] Add support for LogicalName in EmbeddedResources.
Rolf Bjarne Kvinge [Mon, 26 May 2014 16:17:36 +0000 (18:17 +0200)]
[Microsoft.Build.Tasks] Add support for LogicalName in EmbeddedResources.

10 years ago[Mono.Security] Added AuthorityKeyIdentifierExtensionTest and SubjectKeyIdentifierExt...
Lex Li [Mon, 26 May 2014 13:09:41 +0000 (13:09 +0000)]
[Mono.Security] Added AuthorityKeyIdentifierExtensionTest and SubjectKeyIdentifierExtensionTest.

10 years ago[mcs] Fix error reporting propagation for loop statements. Fixes #20034
Marek Safar [Mon, 26 May 2014 13:14:58 +0000 (15:14 +0200)]
[mcs] Fix error reporting propagation for loop statements. Fixes #20034

10 years agoMerge pull request #1059 from ranma42/jenkins-warnings-cleanup
Zoltan Varga [Mon, 26 May 2014 09:49:12 +0000 (11:49 +0200)]
Merge pull request #1059 from ranma42/jenkins-warnings-cleanup

Cleanup of some MonoJenkins warnings

10 years agoMerge pull request #1033 from godFather89/master
Marek Safar [Mon, 26 May 2014 07:55:40 +0000 (09:55 +0200)]
Merge pull request #1033 from godFather89/master

When dynamically compiling script with a class with a nested class defin...

10 years ago[mcs] Don't report hiding warnings for compiler generated fields
Marek Safar [Mon, 26 May 2014 07:54:33 +0000 (09:54 +0200)]
[mcs] Don't report hiding warnings for compiler generated fields

10 years ago[mcs] Add cref handling of user operator documentation without parameters
Marek Safar [Mon, 26 May 2014 07:53:32 +0000 (09:53 +0200)]
[mcs] Add cref handling of user operator documentation without parameters

10 years ago[eval] Add test for nested types
Marek Safar [Mon, 26 May 2014 07:47:20 +0000 (09:47 +0200)]
[eval] Add test for nested types

10 years agoFix non-prototype function declarations
Andrea Canciani [Sun, 25 May 2014 09:13:18 +0000 (11:13 +0200)]
Fix non-prototype function declarations

MonoJenkins repeatedly complains about:
mono-counters.c:xxx:1: warning: function declaration isn't a prototype
[-Wstrict-prototypes]

This is caused by the missing declaration of the function arguments.

This change is released under the MIT license.

10 years agoMore C90 compatibility fixes
Andrea Canciani [Sun, 25 May 2014 09:31:05 +0000 (11:31 +0200)]
More C90 compatibility fixes

This silences the following gcc/clang warnings from MonoJenkins:
sgen-tarjan-bridge.c:395:2: warning: ISO C90 forbids mixed declarations and code
proflog.c:1942:2: warning: ISO C90 forbids mixed declarations and code
proflog.c:1999:3: warning: ISO C90 forbids mixed declarations and code
decode.c:2409:6: warning: ISO C90 forbids mixed declarations and code
decode.c:2433:6: warning: ISO C90 forbids mixed declarations and code

Moving the declarations to the beginning of the blocks is sufficient
to silence the warnings.

This change is released under the MIT license.

10 years agoRename configure.in -> configure.ac. Based on PR #976.
Alex Rønne Petersen [Sun, 25 May 2014 17:00:43 +0000 (19:00 +0200)]
Rename configure.in -> configure.ac. Based on PR #976.

10 years agoMerge pull request #1056 from ranma42/vc-compat-C90
Alex Rønne Petersen [Sun, 25 May 2014 16:49:12 +0000 (18:49 +0200)]
Merge pull request #1056 from ranma42/vc-compat-C90

Fix the build on Visual C++

10 years ago[Mono.Security] Added Encode to AuthorityKeyIdentifierExtension and SubjectKeyIdentif...
Lex Li [Sun, 25 May 2014 12:02:57 +0000 (12:02 +0000)]
[Mono.Security] Added Encode to AuthorityKeyIdentifierExtension and SubjectKeyIdentifierExtension.

10 years agoFix the build on Visual C++
Andrea Canciani [Sun, 25 May 2014 07:56:23 +0000 (09:56 +0200)]
Fix the build on Visual C++

Visual C++ does not support intermixed declarations and code and
errors out with:
error C2275: 'guint' : illegal use of this type as an expression

This also silences gcc/clang warnings such as:
mono-counters.c:xxx:3: warning: ISO C90 forbids mixing declarations
and code

In this case this can be fixed easily by skipping the intermediate
variable.

Based on pull request #1043 by J-M <jean-michel.perraud@csiro.au>

This change is released under the MIT license.

10 years agoMerge pull request #1055 from josedonizetti/fix_datacontractserializer_tests
Marek Safar [Sun, 25 May 2014 07:27:34 +0000 (09:27 +0200)]
Merge pull request #1055 from josedonizetti/fix_datacontractserializer_tests

validate if attribute is defined before check IsAny

10 years ago[build] the csproj files can now do a full class libraries build
Miguel de Icaza [Sun, 25 May 2014 04:47:09 +0000 (00:47 -0400)]
[build] the csproj files can now do a full class libraries build

10 years ago[System.Runtime.Remoting] Build if DBEUG Is defined
Miguel de Icaza [Sun, 25 May 2014 04:41:55 +0000 (00:41 -0400)]
[System.Runtime.Remoting] Build if DBEUG Is defined