mono.git
8 years ago[mcs] Accept and ignore command line args supported by csc that we don't
Ankit Jain [Thu, 24 Mar 2016 19:21:58 +0000 (15:21 -0400)]
[mcs] Accept and ignore command line args supported by csc that we don't

support:

/analyzer
/appconfig
/baseaddress
/deterministic
/errorendlocation
/errorlog
/features
/link
/moduleassemblyname
/pathmap
/pdb
/preferreduilang
/publicsign
/reportanalyzer
/ruleset
/sqmsessionguid

8 years ago[runtime] Make the appdomain-unload.exe test more verbose.
Zoltan Varga [Thu, 24 Mar 2016 16:49:47 +0000 (12:49 -0400)]
[runtime] Make the appdomain-unload.exe test more verbose.

8 years ago[aot] Reenable the emission of line number info using GAS .file/.loc directives,...
Zoltan Varga [Thu, 24 Mar 2016 16:06:33 +0000 (12:06 -0400)]
[aot] Reenable the emission of line number info using GAS .file/.loc directives, recent versions of clang seems to support it.

8 years ago[jit] Fix the dwarf info structure when there is no line number table.
Zoltan Varga [Thu, 24 Mar 2016 15:45:56 +0000 (11:45 -0400)]
[jit] Fix the dwarf info structure when there is no line number table.

8 years ago[jit] Remove the 'appending' support from the dwarf writer, its no longer used.
Zoltan Varga [Thu, 24 Mar 2016 15:28:33 +0000 (11:28 -0400)]
[jit] Remove the 'appending' support from the dwarf writer, its no longer used.

8 years ago[jit] Get rid of the create_delegate_trampoline_data () helper function which only...
Zoltan Varga [Thu, 24 Mar 2016 01:01:05 +0000 (21:01 -0400)]
[jit] Get rid of the create_delegate_trampoline_data () helper function which only has one caller.

8 years agoMerge pull request #2768 from lambdageek/dev/monoerror-cominterop
Aleksey Kliger (λgeek) [Thu, 24 Mar 2016 15:19:42 +0000 (11:19 -0400)]
Merge pull request #2768 from lambdageek/dev/monoerror-cominterop

[com] MonoError-ize cominterop.c

8 years agoMerge pull request #2663 from esdrubal/islocal
Alexis Christoforides [Thu, 24 Mar 2016 14:45:48 +0000 (10:45 -0400)]
Merge pull request #2663 from esdrubal/islocal

[System] Fixes HttpListenerRequest.IsLocal.

8 years agoCreate xammac_net_4_5 variant of System.Runtime.Remoting
Chris Hamons [Wed, 23 Mar 2016 21:45:29 +0000 (16:45 -0500)]
Create xammac_net_4_5 variant of System.Runtime.Remoting

8 years agoTrigger a rebuild of Mono.Security
Alexander Köplinger [Thu, 24 Mar 2016 02:11:47 +0000 (03:11 +0100)]
Trigger a rebuild of Mono.Security

8 years ago[Mono.Security]: MonoTlsProvider.InvokeSystemCertificateValidator() now takes 'ref...
Martin Baulig [Wed, 23 Mar 2016 23:42:26 +0000 (19:42 -0400)]
[Mono.Security]: MonoTlsProvider.InvokeSystemCertificateValidator() now takes 'ref X509Chain'.

8 years ago[System]: Add private 'X500DistinguishedName' API to store the canonical encoding...
Martin Baulig [Tue, 22 Mar 2016 03:43:59 +0000 (23:43 -0400)]
[System]: Add private 'X500DistinguishedName' API to store the canonical encoding and use it for fast comparison.

8 years ago[System]: SystemCertificateValidator.CheckUsage(): lazily convert to X509Certificate2...
Martin Baulig [Wed, 16 Mar 2016 04:20:39 +0000 (00:20 -0400)]
[System]: SystemCertificateValidator.CheckUsage(): lazily convert to X509Certificate2 if needed.

8 years ago[System]: Make 'X509Certificate2' and 'X509Chain' lazily-initialized.
Martin Baulig [Tue, 15 Mar 2016 23:36:48 +0000 (19:36 -0400)]
[System]: Make 'X509Certificate2' and 'X509Chain' lazily-initialized.

Add new internal 'X509Certificate2Impl' and 'X509ChainImpl' classes similar to
'X509CertificateImpl' in corlib and only initialize them when actually needed.

8 years ago[corlib]: Cleanup the internal 'X509CertificateImpl' API.
Martin Baulig [Tue, 15 Mar 2016 23:33:11 +0000 (19:33 -0400)]
[corlib]: Cleanup the internal 'X509CertificateImpl' API.

8 years ago[ppdb] Disable the metadata verifier for ppdb tables for now. Fixes #39631.
Zoltan Varga [Wed, 23 Mar 2016 21:11:28 +0000 (17:11 -0400)]
[ppdb] Disable the metadata verifier for ppdb tables for now. Fixes #39631.

8 years ago[man] Remove documentation for the nonexistent MONO_ENABLE_SHM environment variable.
Zoltan Varga [Wed, 23 Mar 2016 18:10:16 +0000 (14:10 -0400)]
[man] Remove documentation for the nonexistent MONO_ENABLE_SHM environment variable.

8 years agoMerge pull request #2784 from mhutch/msbuild-fixes
Alexander Köplinger [Wed, 23 Mar 2016 15:43:24 +0000 (16:43 +0100)]
Merge pull request #2784 from mhutch/msbuild-fixes

Fix regressions in Microsoft.Build.dll

8 years ago[cil-stringreplacer] Use Cecil as reference dependency
Marek Safar [Wed, 23 Mar 2016 14:44:25 +0000 (15:44 +0100)]
[cil-stringreplacer] Use Cecil as reference dependency

8 years ago[cil-stringreplacer] Update debug symbol
Marek Safar [Wed, 23 Mar 2016 12:08:40 +0000 (13:08 +0100)]
[cil-stringreplacer] Update debug symbol

8 years agoMerge pull request #2783 from alexanderkyte/strdup_memory_leaks
monojenkins [Tue, 22 Mar 2016 22:35:21 +0000 (22:35 +0000)]
Merge pull request #2783 from alexanderkyte/strdup_memory_leaks

[runtime] Fix memory leaks related to short-lived strings

8 years agoMerge pull request #2775 from lambdageek/dev/monoerror-reflection-icalls
monojenkins [Tue, 22 Mar 2016 22:35:16 +0000 (22:35 +0000)]
Merge pull request #2775 from lambdageek/dev/monoerror-reflection-icalls

[SRE] MonoError-ize some icalls

* Cleanup some memory that would leak on failure; improve a few error messages
* Add MonoError to `mono_reflection_call_is_assignable_to` and `fieldbuilder_to_mono_class_field`.
* Update several SRE icalls to follow the pattern:
  ```c
    void
    the_icall (args... )
    {
       MonoError error;
       (void) the_real_work_function (args..., &error);
       mono_error_set_pending_exception (&error);
    }

    static gboolean
    the_real_work_function (args..., MonoError *error)
    {
       ... /* return TRUE on success, FALSE and set error on failure */ ...
    }
  ```
  Do this to:
        1. `mono_reflection_register_with_runtime`
        2. `mono_reflection_setup_internal_class`
        3. `mono_reflection_create_internal_class`
        4. `mono_reflection_generic_class_initialize`
        5. `mono_reflection_event_builder_get_event_info`
        6. `mono_reflection_initialize_generic_parameter`
        7. `mono_reflection_create_dynamic_method`

8 years agoMerge pull request #2782 from madewokherd/process-sessionid
Alexander Köplinger [Tue, 22 Mar 2016 17:58:06 +0000 (18:58 +0100)]
Merge pull request #2782 from madewokherd/process-sessionid

[System.Diagnostics] Return dummy value from Process.SessionId.

8 years ago[System.Diagnostics] Return dummy value from Process.SessionId.
Vincent Povirk [Mon, 21 Mar 2016 21:50:56 +0000 (16:50 -0500)]
[System.Diagnostics] Return dummy value from Process.SessionId.

8 years ago[sgen] Switch the default GC bridge to the new mode.
Joao Matos [Tue, 22 Mar 2016 17:45:57 +0000 (17:45 +0000)]
[sgen] Switch the default GC bridge to the new mode.

8 years ago[Microsoft.Build] Shut down single-use build manager
Mikayla Hutchinson [Tue, 22 Mar 2016 16:06:19 +0000 (12:06 -0400)]
[Microsoft.Build] Shut down single-use build manager

8 years agoMerge pull request #2764 from esdrubal/fileinfo_tostring
Marcos Henrich [Tue, 22 Mar 2016 14:41:18 +0000 (14:41 +0000)]
Merge pull request #2764 from esdrubal/fileinfo_tostring

[corlib] Fix FileInfo.ToString after MoveTo

8 years agoMerge pull request #2534 from mhutch/install-api-html
monojenkins [Tue, 22 Mar 2016 01:35:28 +0000 (01:35 +0000)]
Merge pull request #2534 from mhutch/install-api-html

Install mono-api-html

We install its counterpart mono-api-info already

8 years agoInstall mono-api-html
mhutch [Thu, 28 Jan 2016 22:55:35 +0000 (17:55 -0500)]
Install mono-api-html

We install its counterpart mono-api-info already

8 years ago[Microsoft.Build] Set IsBackground on builder thread
mhutch [Mon, 22 Feb 2016 20:53:20 +0000 (15:53 -0500)]
[Microsoft.Build] Set IsBackground on builder thread

It should not prevent the process from terminating. Fixes
issue where the thread is not shut down if ProjectInstances
are built directly instead of via the build manager.

8 years ago[Microsoft.Build] Fix exception disposing BuildManager
mhutch [Mon, 22 Feb 2016 20:51:36 +0000 (15:51 -0500)]
[Microsoft.Build] Fix exception disposing BuildManager

8 years ago[runtime] Remove string memory leak related to basename
Alexander Kyte [Mon, 21 Mar 2016 21:52:04 +0000 (17:52 -0400)]
[runtime] Remove string memory leak related to basename

8 years ago[runtime] Fix reassignment over string-pointing var without freeing
Alexander Kyte [Mon, 21 Mar 2016 21:49:06 +0000 (17:49 -0400)]
[runtime] Fix reassignment over string-pointing var without freeing

8 years agoMerge pull request #2778 from xmcclure/checked-build-updates-2
Andi McClure [Mon, 21 Mar 2016 14:27:40 +0000 (10:27 -0400)]
Merge pull request #2778 from xmcclure/checked-build-updates-2

Fix patch merge error in PR#2753, was breaking checked build

8 years agoFix patch merge error in PR#2753, was breaking checked build
Andi McClure [Mon, 21 Mar 2016 14:24:13 +0000 (10:24 -0400)]
Fix patch merge error in PR#2753, was breaking checked build

8 years agoAdd note about acceptance-tests to top level README
Alexander Köplinger [Mon, 21 Mar 2016 13:28:25 +0000 (14:28 +0100)]
Add note about acceptance-tests to top level README

8 years agoFix "make dist"
Alexander Köplinger [Sun, 20 Mar 2016 19:20:39 +0000 (20:20 +0100)]
Fix "make dist"

8 years ago[gsharedvt] Add a test for #39528.
Zoltan Varga [Sat, 19 Mar 2016 22:19:00 +0000 (23:19 +0100)]
[gsharedvt] Add a test for #39528.

8 years ago[runtime] Remove some dead test code added by c736aba5c94c20e6faad6b736f8e3a834e26d95f.
Zoltan Varga [Sat, 19 Mar 2016 14:52:20 +0000 (15:52 +0100)]
[runtime] Remove some dead test code added by c736aba5c94c20e6faad6b736f8e3a834e26d95f.

8 years ago[runtime] Implement support for passing icall methods as delegates in pinvoke. Fixes...
Zoltan Varga [Sat, 19 Mar 2016 12:03:31 +0000 (13:03 +0100)]
[runtime] Implement support for passing icall methods as delegates in pinvoke. Fixes #39347.

8 years ago[runtime] Remove an mistaken assert. Fixes #39568.
Zoltan Varga [Sat, 19 Mar 2016 11:21:15 +0000 (12:21 +0100)]
[runtime] Remove an mistaken assert. Fixes #39568.

8 years ago[jit] Remove an mistaken assert. Fixes #39746.
Zoltan Varga [Sat, 19 Mar 2016 11:11:12 +0000 (12:11 +0100)]
[jit] Remove an mistaken assert. Fixes #39746.

8 years agoMerge pull request #2777 from xmcclure/win-makefile-aotcheck
monojenkins [Sat, 19 Mar 2016 01:30:17 +0000 (01:30 +0000)]
Merge pull request #2777 from xmcclure/win-makefile-aotcheck

Make `make fullaotcheck` in mono/mini runnable on Windows

Run with
MONO_EXECUTABLE=/path/to/msvc/mono.exe LIST_SEPARATOR=";"
This assumes you are running the test harness in Cygwin and you built mono with MSVC. Also, the test does not currently succeed.
Being able to run the test is a zeroth step toward making the test pass.

8 years ago[System.Net.Http] Make HttpClientTest.RequestUriAfterRedirect test more reliable
Alexander Köplinger [Sat, 19 Mar 2016 01:28:20 +0000 (02:28 +0100)]
[System.Net.Http] Make HttpClientTest.RequestUriAfterRedirect test more reliable

It was the only test in the class that required network access (for looking up xamarin.com in the redirect).
Replacing the redirect target with a second local HttpListener should be more resilient to network/DNS issues.

8 years agomono/mini make fullaotcheck can now be run on Windows
Andi McClure [Fri, 18 Mar 2016 22:24:41 +0000 (18:24 -0400)]
mono/mini make fullaotcheck can now be run on Windows

Test harness now uses the proper path separator and also now supports
MONO_EXECUTABLE if you built with MSVC.

8 years agoMerge pull request #2753 from xmcclure/checked-build-updates
monojenkins [Fri, 18 Mar 2016 22:00:34 +0000 (22:00 +0000)]
Merge pull request #2753 from xmcclure/checked-build-updates

Changes to "checked build" feature

Here are some changes to checked builds I made while trying to debug some coop gc problems. The changes made are:

- Replace the checked build configure flags with a single --enable-checked-build= flag
- Runtime environment variable required for checked build asserts to run
- Report the thread transition history for more kinds of asserts
- For the `mono_threads_reset_blocking` functions, add an assert that guarantees proper nesting

In addition to this, I have documented the checked build feature as implemented here, see my pull request for the website: https://github.com/mono/website/pull/187

Overall my goals with this patch were

- Make it easier to do rapid-fire testing with the checked builds (runtime switch, default-off)
- Make the checked build implementation more internally consistent (more uniform names etc)

Notice I do make the change that instead of checked build sub-features being disabled with a blacklist, you now must enable them with a whitelist. I think this is an improvement because it makes it easier to just casually keep a checked build around  (for one thing I would have the option to ship debug builds to users with the checked build modes included but dormant) but I could be talked out of it if this change turns out to be controversial. The only thing I feel strongly about is that if the configure flag is changed back to a blacklist the environment variable should switch to a blacklist also.

If we accept this change the CI bots will need to adopt the new configure flag and environment variable.

8 years agoMerge pull request #2746 from lambdageek/dev/monoerror-mono_reflection_create_runtime...
monojenkins [Fri, 18 Mar 2016 22:00:24 +0000 (22:00 +0000)]
Merge pull request #2746 from lambdageek/dev/monoerror-mono_reflection_create_runtime_class

[System.Reflection.Emit] MonoError in mono_reflection_create_runtime_class

Depends on #2745
Bubble MonoError up to `mono_reflection_create_runtime_class`.  Use `mono_error_set_pending_exception` instead of `mono_error_raise_exception` And try to release resources on the way out.

8 years ago[SRE] Refactor a few icalls
Aleksey Kliger [Tue, 15 Mar 2016 17:30:55 +0000 (10:30 -0700)]
[SRE] Refactor a few icalls

The icalls follow the pattern:
    void
    the_icall (args... )
    {
       MonoError error;
       (void) the_real_work_function (args..., &error);
       mono_error_set_pending_exception (&error);
    }

    static gboolean
    the_real_work_function (args..., MonoError *error)
    {
       ... /* return TRUE on success, FALSE and set error on failure */ ...
    }

Do this to:
1. mono_reflection_register_with_runtime
2. mono_reflection_setup_internal_class
3. mono_reflection_create_internal_class
4. mono_reflection_generic_class_initialize
5. mono_reflection_event_builder_get_event_info
6. mono_reflection_initialize_generic_parameter
7. mono_reflection_create_dynamic_method

8 years ago[SRE] Some cleanups in mono_method_body_get_object_checked
Aleksey Kliger [Thu, 10 Mar 2016 21:32:38 +0000 (16:32 -0500)]
[SRE] Some cleanups in mono_method_body_get_object_checked

Don't leak method header on failure.

8 years ago[SRE] MonoError for fieldbuilder_to_mono_class_field
Aleksey Kliger [Tue, 8 Mar 2016 19:39:15 +0000 (14:39 -0500)]
[SRE] MonoError for fieldbuilder_to_mono_class_field

8 years agoAdd mono_threads_reset_blocking nesting checks to gc checked mode
Andi McClure [Fri, 18 Mar 2016 19:18:38 +0000 (15:18 -0400)]
Add mono_threads_reset_blocking nesting checks to gc checked mode

8 years agoRename checked build assertion_fail to mono_fatal_with_history, use in more places
Andi McClure [Fri, 18 Mar 2016 20:07:14 +0000 (16:07 -0400)]
Rename checked build assertion_fail to mono_fatal_with_history, use in more places

8 years agoMerge pull request #2772 from WeiHeCN/master
monojenkins [Fri, 18 Mar 2016 18:15:24 +0000 (18:15 +0000)]
Merge pull request #2772 from WeiHeCN/master

Update mini-llvm.c

These header files are already included in mini-llvm-cpp.h.

8 years agoUpdate mini-llvm.c
WeiHeCN [Fri, 18 Mar 2016 03:40:41 +0000 (11:40 +0800)]
Update mini-llvm.c

8 years ago[reflection] MonoError for mono_reflection_call_is_assignable_to
Aleksey Kliger [Mon, 7 Mar 2016 21:24:24 +0000 (16:24 -0500)]
[reflection] MonoError for mono_reflection_call_is_assignable_to

8 years ago[SRE] MonoError for mono_reflection_create_runtime_class
Aleksey Kliger [Tue, 8 Mar 2016 22:52:18 +0000 (17:52 -0500)]
[SRE] MonoError for mono_reflection_create_runtime_class

1. Don't raise while holding locks.

2. Change remove_instantiations_of_and_ensure_contents (called via
  g_hash_table_foreach_remove) to populate a MonoError instead of
  throwing.  If there are multiple errors, we just stash the first one
  in user_data and clean up the rest.

3. Use mono_erro_set_pending_exception instead of
  mono_error_raise_exception since it's an icall.

8 years agoMerge pull request #2745 from lambdageek/dev/monoerror-sre-internals
monojenkins [Thu, 17 Mar 2016 21:35:31 +0000 (21:35 +0000)]
Merge pull request #2745 from lambdageek/dev/monoerror-sre-internals

[System.Reflection.Emit] Propagate MonoError through some more static functions

Some externally visible changes include:
* Bubble MonoError up to one more SRE icall: `System.Reflection.Emit.CustomAttributeBuilder.GetBlob()`
* `fix_partial_generic_class` and `ensure_generic_class_runtime_vtable` now expect their callers to set the class failure state which they do under slightly more circumstances now than previously (now: whenever there's an error set from the above functions; before: only when we had trouble initializing the generic type definition.)
* Previous API for `mono_reflection_bind_generic_parameters` didn't make it clear whether NULL was a valid return value or not.  Now when we return NULL we always set the `error` out-arg. So non-NULL is success and NULL is failure.

8 years ago[reflection] MonoError for mono_marshal_spec_from_builder
Aleksey Kliger [Tue, 8 Mar 2016 00:02:34 +0000 (19:02 -0500)]
[reflection] MonoError for mono_marshal_spec_from_builder

8 years ago[reflection] Mark mono_reflection_get_custom_attrs_blob external only.
Aleksey Kliger [Mon, 7 Mar 2016 21:59:14 +0000 (16:59 -0500)]
[reflection] Mark mono_reflection_get_custom_attrs_blob external only.

The runtime should use mono_reflection_get_custom_attrs_blob_checked.
The icall is now ves_icall_System_Reflection_Emit_CustomAttributeBuilder_GetBlob.

8 years ago[reflection] MonoError for resolve_object
Aleksey Kliger [Mon, 7 Mar 2016 21:16:55 +0000 (16:16 -0500)]
[reflection] MonoError for resolve_object

8 years ago[reflection] MonoError for ensure_complete_type
Aleksey Kliger [Mon, 7 Mar 2016 18:55:00 +0000 (13:55 -0500)]
[reflection] MonoError for ensure_complete_type

8 years ago[reflection] MonoError for mono_reflection_get_dynamic_overrides
Aleksey Kliger [Mon, 7 Mar 2016 18:37:00 +0000 (13:37 -0500)]
[reflection] MonoError for mono_reflection_get_dynamic_overrides

8 years ago[reflection] MonoError for mono_reflection_method_get_handle
Aleksey Kliger [Mon, 7 Mar 2016 17:07:00 +0000 (12:07 -0500)]
[reflection] MonoError for mono_reflection_method_get_handle

8 years ago[SRE] Don't set failiure flag in ensure_generic_class_runtime_vtable
Aleksey Kliger [Mon, 14 Mar 2016 20:28:59 +0000 (13:28 -0700)]
[SRE] Don't set failiure flag in ensure_generic_class_runtime_vtable

Leave it up to the caller to set the flag.

8 years ago[SRE] Don't set class failure in fix_partial_generic class
Aleksey Kliger [Mon, 14 Mar 2016 18:50:32 +0000 (11:50 -0700)]
[SRE] Don't set class failure in fix_partial_generic class

Leave it to callers to set it based on the MonoError.

Also return a boolean indicating whether we succeeded or failed.

8 years ago[reflection] MonoError for fix_partial_generic_class
Aleksey Kliger [Mon, 7 Mar 2016 17:02:18 +0000 (12:02 -0500)]
[reflection] MonoError for fix_partial_generic_class

8 years ago[SRE] Use MonoError for mono_reflection_bind_generic_parameters
Aleksey Kliger [Mon, 7 Mar 2016 16:38:06 +0000 (11:38 -0500)]
[SRE] Use MonoError for mono_reflection_bind_generic_parameters

This commit also changes the behavior of
mono_reflection_bind_generic_parameters slightly: if the passed in class
isn't generic, it sets error and returns NULL.  (It wasn't clearly
previously whether NULL was an error condition or not - with this commit
we clarify that a NULL result is an error).

8 years ago[reflection] Use MonoError in encode_{cattr_value,named_val}
Aleksey Kliger [Fri, 4 Mar 2016 21:44:24 +0000 (16:44 -0500)]
[reflection] Use MonoError in encode_{cattr_value,named_val}

8 years ago[reflection] MonoError in get_{prop,field}_name_and_type
Aleksey Kliger [Fri, 4 Mar 2016 21:29:31 +0000 (16:29 -0500)]
[reflection] MonoError in get_{prop,field}_name_and_type

8 years ago[reflection] MonoError in parameters_to_signature
Aleksey Kliger [Fri, 4 Mar 2016 21:21:08 +0000 (16:21 -0500)]
[reflection] MonoError in parameters_to_signature

And a few other static fns

8 years ago[gacutil] Add support for pdb file
Marek Safar [Thu, 17 Mar 2016 16:13:18 +0000 (17:13 +0100)]
[gacutil] Add support for pdb file

8 years ago[build] Fix more incomplete mcs references names
Marek Safar [Thu, 17 Mar 2016 16:07:30 +0000 (17:07 +0100)]
[build] Fix more incomplete mcs references names

8 years ago[mcs] Allow local variables and parameters on lhs of nameof expression. Fixes #39455
Marek Safar [Thu, 17 Mar 2016 15:58:44 +0000 (16:58 +0100)]
[mcs] Allow local variables and parameters on lhs of nameof expression. Fixes #39455

8 years ago[mono] Remove al2/dmcs from TEST_SUPPORT_FILES too
Alexander Köplinger [Thu, 17 Mar 2016 13:08:49 +0000 (14:08 +0100)]
[mono] Remove al2/dmcs from TEST_SUPPORT_FILES too

8 years ago[mono] Remove dmcs from temp install folder
Alexander Köplinger [Thu, 17 Mar 2016 13:04:00 +0000 (14:04 +0100)]
[mono] Remove dmcs from temp install folder

8 years ago[mono] Remove al2 from temp install folder
Marek Safar [Thu, 17 Mar 2016 12:56:53 +0000 (13:56 +0100)]
[mono] Remove al2 from temp install folder

8 years ago[acceptance-tests] Bump ms-test-suite to pick up 4a95604fdf2c0523e68eaad64a17d22eebb0...
Alexander Köplinger [Thu, 17 Mar 2016 12:55:42 +0000 (13:55 +0100)]
[acceptance-tests] Bump ms-test-suite to pick up 4a95604fdf2c0523e68eaad64a17d22eebb051b3:

8 years ago[runtime] Cleanup the debug info module before the images module since ppdb debug...
Zoltan Varga [Thu, 17 Mar 2016 11:06:02 +0000 (12:06 +0100)]
[runtime] Cleanup the debug info module before the images module since ppdb debug info depends on images. Fixes #39715.

8 years ago[ppdb] Avoid an assert if the ppdb image has an empty guid heap, it can happen if...
Zoltan Varga [Thu, 17 Mar 2016 10:33:07 +0000 (11:33 +0100)]
[ppdb] Avoid an assert if the ppdb image has an empty guid heap, it can happen if the assembly has no types thus no document guids. Fixes #39644.

8 years ago[arm] Avoid storing fp arguments below the stack pointer if the param area has size...
Zoltan Varga [Thu, 17 Mar 2016 10:14:41 +0000 (11:14 +0100)]
[arm] Avoid storing fp arguments below the stack pointer if the param area has size 0. Fixes #38161.

8 years agoBump referencesource
Marek Safar [Thu, 17 Mar 2016 09:23:28 +0000 (10:23 +0100)]
Bump referencesource

8 years ago[com] Push MonoError through cominterop_get_ccw
Aleksey Kliger [Wed, 16 Mar 2016 22:30:02 +0000 (15:30 -0700)]
[com] Push MonoError through cominterop_get_ccw

8 years ago[com] Push MonoError through cominterop_get_idispatch_for_object
Aleksey Kliger [Wed, 16 Mar 2016 22:07:59 +0000 (15:07 -0700)]
[com] Push MonoError through cominterop_get_idispatch_for_object

8 years ago[com] Push MonoError through cominterop_get_interface
Aleksey Kliger [Wed, 16 Mar 2016 21:53:26 +0000 (14:53 -0700)]
[com] Push MonoError through cominterop_get_interface

8 years agoMerge pull request #2766 from lambdageek/dev/monoerror-jit
Aleksey Kliger (λgeek) [Wed, 16 Mar 2016 22:24:00 +0000 (15:24 -0700)]
Merge pull request #2766 from lambdageek/dev/monoerror-jit

[runtime] Propagate error from class loading when JIT-ing

8 years ago[com] Change cominterop_raise_hr_exception to cominterop_set_hr_error
Aleksey Kliger [Wed, 16 Mar 2016 21:20:04 +0000 (14:20 -0700)]
[com] Change cominterop_raise_hr_exception to cominterop_set_hr_error

Don't throw the exception, just store the instance in a MonoError.

8 years ago[acceptance-test] Ensure the exit code of the main test script is used
Alexander Köplinger [Wed, 16 Mar 2016 21:15:15 +0000 (22:15 +0100)]
[acceptance-test] Ensure the exit code of the main test script is used

Due to our usage of chained commands it'd use the exit code of the last command,
which is not what we want. We use chaining because e.g. in the ms-test-suite
case we still want to run the systemruntimebringup suite even if the conformance
suite had a failing test.

8 years ago[runtime] Propagate error from class loading when JIT-ing
Aleksey Kliger [Wed, 16 Mar 2016 17:28:04 +0000 (10:28 -0700)]
[runtime] Propagate error from class loading when JIT-ing

This is another approach to a341404ecdd3b5ca2ed0ab1e9a5bcb9b5ccd2566
which was backed out because it was
stale (2a899492c30740f6785883fae14bb1ddacbc8b77).

8 years ago[bcl] Remove wrong IVT attributes
Marek Safar [Wed, 16 Mar 2016 17:34:05 +0000 (18:34 +0100)]
[bcl] Remove wrong IVT attributes

8 years agoMerge pull request #2765 from akoeplinger/mcs-fix-test-windows-backslash
Marek Safar [Wed, 16 Mar 2016 17:18:27 +0000 (18:18 +0100)]
Merge pull request #2765 from akoeplinger/mcs-fix-test-windows-backslash

[compiler-tester] Fix incorrect failure with Windows paths in error messages

8 years agoRevert "Merge pull request #2454 from tastywheattasteslikechicken/FixVtableAbort"
Marek Safar [Wed, 16 Mar 2016 14:55:40 +0000 (15:55 +0100)]
Revert "Merge pull request #2454 from tastywheattasteslikechicken/FixVtableAbort"

This reverts commit a341404ecdd3b5ca2ed0ab1e9a5bcb9b5ccd2566, reversing
changes made to 04a177b2be47ec1de995b3abb8cd378a15590647.

8 years ago[build] Add missing explicit references in docs
Marek Safar [Wed, 16 Mar 2016 14:42:55 +0000 (15:42 +0100)]
[build] Add missing explicit references in docs

8 years ago[corlib] Fix FileInfo.ToString after MoveTo
Marcos Henrich [Wed, 16 Mar 2016 10:07:06 +0000 (10:07 +0000)]
[corlib] Fix FileInfo.ToString after MoveTo

Fixes #38796

8 years ago[corlib] Test FileInfo.ToString after MoveTo
Marcos Henrich [Wed, 16 Mar 2016 10:04:40 +0000 (10:04 +0000)]
[corlib] Test FileInfo.ToString after MoveTo

Covers #38796

8 years agoMerge pull request #2454 from tastywheattasteslikechicken/FixVtableAbort
Zoltan Varga [Wed, 16 Mar 2016 09:54:02 +0000 (10:54 +0100)]
Merge pull request #2454 from tastywheattasteslikechicken/FixVtableAbort

[runtime] Fixes an abort caused by a TypeLoadException in certain ins…

8 years ago[corlib] RuntimeEnvironment from referencesource
Marek Safar [Wed, 16 Mar 2016 09:44:01 +0000 (10:44 +0100)]
[corlib] RuntimeEnvironment from referencesource

8 years ago[tests] Don't use AppDomain.AppendPrivateBinPath for assembly-load-remap.exe
Alexander Köplinger [Wed, 16 Mar 2016 02:33:24 +0000 (03:33 +0100)]
[tests] Don't use AppDomain.AppendPrivateBinPath for assembly-load-remap.exe

It's not supposed to contain a full path to a directory, but rather a relative path
to a subdirectory of the ApplicationBase. However, this isn't enforced in all cases
by Mono so setting a full path worked when the path doesn't contain a '.' because then
the code in [1] doesn't clear the variable and the path is added to the domain->search_path.

This caused the test to fail on Wrench on the mono-4.4.0 lane because the path contains
a dot while confusingly it worked fine on master.

Fixing this by appending the xbuild_14 path via an alternative (albeit slightly hacky)
method related to the standard MONO_PATH env var. Because the variable is only read
once at app startup we need to call into the runtime to explicitly set the new path
before trying to load the MSBuild 14 assemblies. This is fine since we only
want to test that the correct assembly version is loaded and nothing else.

[1] https://github.com/mono/mono/blob/37b2b9fbc25a2199aba1d794117924d4828360a7/mono/metadata/appdomain.c#L1319-L1337

8 years ago[runtime] Fixes an abort caused by a TypeLoadException in certain instances
James Venning [Wed, 16 Mar 2016 00:20:36 +0000 (10:20 +1000)]
[runtime] Fixes an abort caused by a TypeLoadException in certain instances

8 years ago[System]: Fix certificate validation on Linux. Bug #39307.
Martin Baulig [Tue, 15 Mar 2016 22:50:08 +0000 (18:50 -0400)]
[System]: Fix certificate validation on Linux.  Bug #39307.

8 years ago[System]: Properly propagate exceptions in 'MonoTlsStream'.
Martin Baulig [Sun, 28 Feb 2016 04:53:46 +0000 (23:53 -0500)]
[System]: Properly propagate exceptions in 'MonoTlsStream'.

(cherry picked from commit a7ab399d093f4aac3f24b862e6075ab9f4fdb9e1)