platform/upstream/coreclr.git
9 years agoMerge pull request #1116 from jasonwilliams200OK/master
Matt Mitchell [Mon, 8 Jun 2015 16:23:45 +0000 (09:23 -0700)]
Merge pull request #1116 from jasonwilliams200OK/master

build,freebsd: Adds freebsdmscorlib to build.cmd

9 years agobuild,freebsd: Adds freebsdmscorlib to build.cmd.
Peter Jas [Sun, 7 Jun 2015 18:04:01 +0000 (18:04 +0000)]
build,freebsd: Adds freebsdmscorlib to build.cmd.

9 years agoMerge pull request #1112 from josteink/freebsd-pal-tests
Jan Kotas [Sun, 7 Jun 2015 18:45:51 +0000 (11:45 -0700)]
Merge pull request #1112 from josteink/freebsd-pal-tests

Fix timing in PAL-tests for FreeBSD on hypervisors.

9 years agoFix timing in PAL-tests for FreeBSD on hypervisors.
Jostein Kjønigsen [Thu, 4 Jun 2015 06:29:55 +0000 (16:29 +1000)]
Fix timing in PAL-tests for FreeBSD on hypervisors.

9 years agoMerge pull request #1111 from hadibrais/master
Jan Kotas [Sun, 7 Jun 2015 15:51:41 +0000 (08:51 -0700)]
Merge pull request #1111 from hadibrais/master

Enable Whole Program Optimization (WPO) for the Release build on Windows

9 years agoMerge pull request #1115 from stephentoub/build_windowsmscorlib
Jan Kotas [Sun, 7 Jun 2015 14:19:12 +0000 (07:19 -0700)]
Merge pull request #1115 from stephentoub/build_windowsmscorlib

Add windowsmscorlib option to build.cmd

9 years agobuild,win: Enables Whole Program Optimization.
Hadi Brais [Sat, 6 Jun 2015 13:48:06 +0000 (19:18 +0530)]
build,win: Enables Whole Program Optimization.

* Enables whole program optimization for release configuration
  on Windows.

* Fixes all messages "/LTCG specified but no code generation required;
  remove /LTCG from link command line to improve linker performance"
  which slow down the build process.

* Fixes all messages "MSIL .netmodule or module compiled with /GL
  found; restarting link with /LTCG; add /LTCG to the link command
  line to improve linker performance" which slow down the build
  process.

* The previous two fixes work in Release and Debug builds on Windows.

Issue-URL: #1086

9 years agoAdd windowsmscorlib option to build.cmd
stephentoub [Sun, 7 Jun 2015 11:22:41 +0000 (07:22 -0400)]
Add windowsmscorlib option to build.cmd

9 years agoMerge pull request #1108 from dotnet-bot/from-tfs
Jan Kotas [Sat, 6 Jun 2015 22:59:37 +0000 (15:59 -0700)]
Merge pull request #1108 from dotnet-bot/from-tfs

Merge changes from TFS

9 years agoMerge pull request #1105 from janvorli/fix-ctrlc-handling-2
Jan Vorlicek [Sat, 6 Jun 2015 05:45:15 +0000 (07:45 +0200)]
Merge pull request #1105 from janvorli/fix-ctrlc-handling-2

Fix SIGINT and SIGQUIT handling on Linux / FreeBSD

9 years agoMerge pull request #1109 from mikem8361/verifyheap
Mike McLaughlin [Sat, 6 Jun 2015 00:16:30 +0000 (17:16 -0700)]
Merge pull request #1109 from mikem8361/verifyheap

Enable VerifyHeap and DumpHeap.

9 years agoEnable VerifyHeap and DumpHeap.
Mike McLaughlin [Thu, 4 Jun 2015 19:00:51 +0000 (12:00 -0700)]
Enable VerifyHeap and DumpHeap.

Fix error output. The lldb function cached all the error output separately from the normal output so the error/normal text are not properly intermixed.

Fixed calculation in CardIsSet getting the lowest address from card table header. Use the ALIGN_DOWN macro to make it a little more clear what is going on in CardIsSet.  Couldn't include stdmacros.h (containing this macro) in the sos context so the macro has been copied to the beginning of the file.

Changed some "unsigned long" in sos to "ULONG" because it is different between Linux and Windows.

9 years agoFix SIGINT and SIGQUIT handling on Linux / FreeBSD
Jan Vorlicek [Fri, 5 Jun 2015 17:23:55 +0000 (19:23 +0200)]
Fix SIGINT and SIGQUIT handling on Linux / FreeBSD

This change changes the way the SIGINT and SIGQUIT are handled. First, it
makes sure that when the signal is not handled, we call the default signal
handler that takes care of the proper default behavior.
And second, it makes debugging experience better. Before, in the external events
handler thread we were waiting for these signals and then spawning a console event
handling thread. That caused the signals to be detected in that thread even when
running under the debugger, effectively making ctrl-c break-in unusable, since
an attempt to continue after the ctrl-c caused the process to exit.
I have modified it so that the SIGINT and SIGQUIT are now handled by regular signal
handlers and use pipe to notify the external events handler thread about the
events. That way, the debugger has a chance to swallow the SIGINT signal and work
as expected.

9 years agoFix bug: CoreCLR debugger couldn't make more than one EnC edit to a method. Second...
Eugene Zemtsov [Fri, 5 Jun 2015 22:03:44 +0000 (15:03 -0700)]
Fix bug: CoreCLR debugger couldn't make more than one EnC edit to a method. Second and all further attempts failed, moreover sometimes VS debugger would crash with AV trying to do EnC. (TFS bug #1172983)

[tfs-changeset: 1483755]

9 years agoMerge pull request #1106 from dotnet-bot/from-tfs
Jan Kotas [Fri, 5 Jun 2015 20:31:20 +0000 (13:31 -0700)]
Merge pull request #1106 from dotnet-bot/from-tfs

Merge changes from TFS

9 years agofix typo reported in OSG bug 1017856
Rahul Kumar [Fri, 5 Jun 2015 18:21:03 +0000 (11:21 -0700)]
fix typo reported in OSG bug 1017856

[tfs-changeset: 1483634]

9 years agoMerge pull request #1101 from bgribaudo/bgribaudo-raw-instruction-updates
Jan Kotas [Fri, 5 Jun 2015 01:57:55 +0000 (18:57 -0700)]
Merge pull request #1101 from bgribaudo/bgribaudo-raw-instruction-updates

Revising raw demo instructions

9 years agoMerge pull request #1100 from dotnet-bot/from-tfs
Jan Kotas [Fri, 5 Jun 2015 01:53:52 +0000 (18:53 -0700)]
Merge pull request #1100 from dotnet-bot/from-tfs

Merge changes from TFS

9 years agoRevising raw demo instructions
Ben Gribaudo [Thu, 4 Jun 2015 23:16:02 +0000 (18:16 -0500)]
Revising raw demo instructions

* Revised package version to reflect versions currently available from the MyGet (most versions listed were no longer available).
* Fixed command line `for...` statement so that it works with paths containing spaces and doesn't accidentally copy reference assemblies.
* Added NETCore.Runtime.ApiSets-x64 package and copying instructions so that the tutorial works for Windows 7 users.
* Minor edits, including formatting adjustments and a spelling fix.

9 years agoMerge pull request #1092 from dotnet-bot/from-tfs
Jan Kotas [Thu, 4 Jun 2015 22:22:12 +0000 (15:22 -0700)]
Merge pull request #1092 from dotnet-bot/from-tfs

Merge changes from TFS

9 years agoMerge pull request #1085 from fieryorc/pal_cpp
Prem Ramanathan [Thu, 4 Jun 2015 21:41:14 +0000 (14:41 -0700)]
Merge pull request #1085 from fieryorc/pal_cpp

Make PAL headers compatible with C++11 headers.

9 years agoChanges necessary to make PAL headers compatible with c++ headers,
Prem Ramanathan [Tue, 19 May 2015 07:58:47 +0000 (00:58 -0700)]
Changes necessary to make PAL headers compatible with c++ headers,
allowing them to be used side by side with c++11 headers.

Contains few fixes to PAL library as well.

9 years agoMerge pull request #1095 from stephentoub/console_ctrlhandler
Stephen Toub [Thu, 4 Jun 2015 20:27:51 +0000 (16:27 -0400)]
Merge pull request #1095 from stephentoub/console_ctrlhandler

Initialize signal-handling thread in PAL initialization

9 years agoInitialize signal-handling thread in PAL initialization
stephentoub [Thu, 4 Jun 2015 19:06:10 +0000 (15:06 -0400)]
Initialize signal-handling thread in PAL initialization

Without this, ctrl-C will not interrupt a program, nor
will Console.CancelKeyPress in corefx work.

9 years agoaddressing arm64 build break- renabling uwp for arm64. conditionally excluding a...
Rama Krishnan Raghupathy [Thu, 4 Jun 2015 16:24:28 +0000 (09:24 -0700)]
addressing arm64 build break- renabling uwp for arm64. conditionally excluding a lib file- api-ms-win-core-winrt-l1-1-0.lib

[tfs-changeset: 1482794]

9 years agoMerge pull request #1087 from stephentoub/path_altchar
Jan Vorlicek [Thu, 4 Jun 2015 15:17:40 +0000 (17:17 +0200)]
Merge pull request #1087 from stephentoub/path_altchar

Fix Path.AltDirectorySeparatorChar to be '/' on Unix

9 years agodisabling uwp infrastruture for arm64 builds for now
Rama Krishnan Raghupathy [Thu, 4 Jun 2015 01:52:24 +0000 (18:52 -0700)]
disabling uwp infrastruture for arm64 builds for now

[tfs-changeset: 1482465]

9 years agoMerge pull request #1008 from BruceForstall/docs
Stephen Toub [Wed, 3 Jun 2015 23:49:15 +0000 (19:49 -0400)]
Merge pull request #1008 from BruceForstall/docs

Update some paths, fix typos

9 years agoUpdate some paths, fix typos
Bruce Forstall [Fri, 15 May 2015 23:09:18 +0000 (16:09 -0700)]
Update some paths, fix typos

9 years agoMerge pull request #1090 from BruceForstall/JitCodingConventions
Bruce Forstall [Wed, 3 Jun 2015 23:09:15 +0000 (16:09 -0700)]
Merge pull request #1090 from BruceForstall/JitCodingConventions

Rename JIT coding conventions doc to lower case

9 years agoRename JIT coding conventions doc to lower case and match other docs naming convention
Bruce Forstall [Wed, 3 Jun 2015 23:02:40 +0000 (16:02 -0700)]
Rename JIT coding conventions doc to lower case and match other docs naming convention

Fixes bad link from README.md.

9 years agoMerge pull request #1088 from libengu/AddDev11Test
Bengu Li [Wed, 3 Jun 2015 22:13:55 +0000 (15:13 -0700)]
Merge pull request #1088 from libengu/AddDev11Test

Add multiple smaller test directories under JIT/Regression

9 years agoAdd multiple smaller test directories under JIT/Regression
Bengu Li [Wed, 3 Jun 2015 18:42:28 +0000 (11:42 -0700)]
Add multiple smaller test directories under JIT/Regression

Add all other test directories under JIT/Regression except for CLR-x86-JIT which is
a big one. Related proj, config files added. AllTestProjects.sln is updated.
Passed build, buildtest, runtest.

9 years agoFix Path.AltDirectorySeparatorChar to be '/' on Unix
stephentoub [Wed, 3 Jun 2015 14:17:52 +0000 (10:17 -0400)]
Fix Path.AltDirectorySeparatorChar to be '/' on Unix

9 years agoMerge pull request #1075 from richlander/rich-docs-update2
Rich Lander [Wed, 3 Jun 2015 04:16:21 +0000 (21:16 -0700)]
Merge pull request #1075 from richlander/rich-docs-update2

Move wiki files to coreclr repo

9 years agoMerge pull request #1084 from mikem8361/resourcelib
Mike McLaughlin [Tue, 2 Jun 2015 23:56:11 +0000 (16:56 -0700)]
Merge pull request #1084 from mikem8361/resourcelib

Fix unresolved symbol in dbgshim by adding the native resource lib.

9 years agoFix unresolved symbol by adding the native resource lib.
Mike McLaughlin [Tue, 2 Jun 2015 22:51:17 +0000 (15:51 -0700)]
Fix unresolved symbol by adding the native resource lib.

9 years agoRe-work wiki as Repo docs
Richard Lander [Tue, 2 Jun 2015 04:33:41 +0000 (21:33 -0700)]
Re-work wiki as Repo docs

9 years agoMerge pull request #1081 from dotnet-bot/from-tfs
Jan Kotas [Tue, 2 Jun 2015 04:07:37 +0000 (21:07 -0700)]
Merge pull request #1081 from dotnet-bot/from-tfs

Merge changes from TFS

9 years agoFix 1176647: Jit does invalid reordering of left and right side
Carol Eidt [Mon, 1 Jun 2015 23:36:26 +0000 (16:36 -0700)]
Fix 1176647: Jit does invalid reordering of left and right side

This bug occurs in the Lowering of the code for a compare, where op1 is an indirection, and op2 is a call.  It chooses to make op1 "contained" (i.e. do the load as part of the compare op), but this is invalid because the call may modify op1.

This also fixes a similar issue with RMW operators (e.g. +=).

Fixing this causes numerous regressions (a few improvements, due to keeping fewer things live across the call), but they look valid - that is, they are a similar case of delaying a load past a call.

[tfs-changeset: 1480705]

9 years agoMerge pull request #1080 from mikem8361/cleanup
Mike McLaughlin [Mon, 1 Jun 2015 23:30:51 +0000 (16:30 -0700)]
Merge pull request #1080 from mikem8361/cleanup

General SOS support cleanup

9 years agoCR feedback: corhost.h is private.
Mike McLaughlin [Mon, 1 Jun 2015 23:29:34 +0000 (16:29 -0700)]
CR feedback: corhost.h is private.

9 years agoGeneral cleanup. Don't install libdebug-pal.a. Ifdef some DEBUG only code.
Mike McLaughlin [Tue, 31 Mar 2015 22:58:17 +0000 (15:58 -0700)]
General cleanup. Don't install libdebug-pal.a. Ifdef some DEBUG only code.

Use the coreclr module path from the target process to load the sos module.

9 years agoMerge pull request #1047 from justinvp/readerwriter
Aditya Mandaleeka [Mon, 1 Jun 2015 20:09:46 +0000 (13:09 -0700)]
Merge pull request #1047 from justinvp/readerwriter

Avoid unnecessary delegate allocations in TextReader & TextWriter

9 years agoUpdate Contributor and Developer Guides and other docs
Rich Lander [Wed, 11 Mar 2015 17:50:06 +0000 (10:50 -0700)]
Update Contributor and Developer Guides and other docs

9 years agoLink to performance requirements
Brian Robbins [Tue, 24 Feb 2015 16:07:09 +0000 (08:07 -0800)]
Link to performance requirements

9 years agoCreate Testing across repos
Alexandru Ghiondea [Fri, 20 Feb 2015 20:18:14 +0000 (12:18 -0800)]
Create Testing across repos

9 years agoUpdate Performance
Brian Robbins [Thu, 12 Feb 2015 17:48:47 +0000 (09:48 -0800)]
Update Performance

9 years agoUpdate wording and links for Visual Studio 2013
Rich Lander [Wed, 11 Feb 2015 17:00:01 +0000 (09:00 -0800)]
Update wording and links for Visual Studio 2013

9 years agoUpdate Contribution guidelines
Immo Landwerth [Tue, 10 Feb 2015 01:18:29 +0000 (17:18 -0800)]
Update Contribution guidelines

9 years agoUpdate contribution guidelines
Alexandru Ghiondea [Tue, 10 Feb 2015 00:32:25 +0000 (16:32 -0800)]
Update contribution guidelines

9 years agoUpdate Contribution guidelines
Jan Kotas [Sat, 7 Feb 2015 10:47:36 +0000 (02:47 -0800)]
Update Contribution guidelines

9 years agoCreate Contribution guidelines
Alexandru Ghiondea [Fri, 6 Feb 2015 22:38:17 +0000 (14:38 -0800)]
Create Contribution guidelines

9 years agoUpdate Performance
Brian Robbins [Tue, 3 Feb 2015 20:07:53 +0000 (12:07 -0800)]
Update Performance

9 years agoUpdate Developer and Contributor Guides
Gaurav Khanna [Tue, 3 Feb 2015 17:46:37 +0000 (09:46 -0800)]
Update Developer and Contributor Guides

9 years agoCreate Garbage Collector Contributions
Brian Robbins [Tue, 3 Feb 2015 15:57:04 +0000 (07:57 -0800)]
Create Garbage Collector Contributions

9 years agoUpdate Developer and Contributor Guides
Gaurav Khanna [Tue, 3 Feb 2015 11:27:03 +0000 (03:27 -0800)]
Update Developer and Contributor Guides

9 years agoCreate Performance
Brian Robbins [Tue, 3 Feb 2015 00:12:18 +0000 (16:12 -0800)]
Create Performance

9 years agoCreate Developer and Contributor Guides
Gaurav Khanna [Sat, 31 Jan 2015 01:18:06 +0000 (17:18 -0800)]
Create Developer and Contributor Guides

9 years agoMerge pull request #1073 from Djuffin/icastable
Eugene Zemtsov [Sat, 30 May 2015 10:49:13 +0000 (03:49 -0700)]
Merge pull request #1073 from Djuffin/icastable

Fix an issue in implementation of ICastable

9 years agoFix a bug in implementation of ICastable when CoreCLR throws exception on IL isinst...
Eugene Zemtsov [Sat, 30 May 2015 02:38:19 +0000 (19:38 -0700)]
Fix a bug in implementation of ICastable when CoreCLR throws exception on IL isinst if IsInstanceOfInterface() sets the exception out param.

Correct behavior:   If false is returned when IsInstanceOfInterface() called as part of a castclass then the usual InvalidCastException
will be thrown unless an alternate exception is assigned to the castError output parameter.
This parameter is ignored on successful casts or during the evaluation of an isinst (which returns null rather than throwing on error).

9 years agoMerge pull request #1074 from janvorli/minimize-coreclr-exports-fix
Jan Vorlicek [Sat, 30 May 2015 07:52:06 +0000 (09:52 +0200)]
Merge pull request #1074 from janvorli/minimize-coreclr-exports-fix

Add missing EnsureOpenSslInitialized to the export list of coreclr

9 years agoAdd missing EnsureOpenSslInitialized to the export list of coreclr
Jan Vorlicek [Sat, 30 May 2015 07:15:22 +0000 (09:15 +0200)]
Add missing EnsureOpenSslInitialized to the export list of coreclr

9 years agoMerge pull request #1065 from janvorli/minimize-coreclr-exports
Jan Vorlicek [Fri, 29 May 2015 21:53:29 +0000 (23:53 +0200)]
Merge pull request #1065 from janvorli/minimize-coreclr-exports

Limit the libcoreclr.so exports to the necessary minimum

9 years agoMerge pull request #1071 from dotnet-bot/from-tfs
Jan Kotas [Fri, 29 May 2015 21:16:10 +0000 (14:16 -0700)]
Merge pull request #1071 from dotnet-bot/from-tfs

Merge changes from TFS

9 years agoMerge pull request #1069 from libengu/UpdateAllProjectSolution
Bengu Li [Fri, 29 May 2015 21:07:41 +0000 (14:07 -0700)]
Merge pull request #1069 from libengu/UpdateAllProjectSolution

Update AllTestProjects.sln for Regression tests

9 years agoExpose EventAttribute.ActivityOptions from CoreCLR mscorlib
Nick Guerrera [Fri, 29 May 2015 20:24:28 +0000 (13:24 -0700)]
Expose EventAttribute.ActivityOptions from CoreCLR mscorlib

This is required for compatibility with the latest tracing contract.

[tfs-changeset: 1479360]

9 years agoMerge pull request #1068 from stephentoub/executeassembly_exitcode
Stephen Toub [Fri, 29 May 2015 15:01:33 +0000 (11:01 -0400)]
Merge pull request #1068 from stephentoub/executeassembly_exitcode

Fix exitCode from ExecuteAssembly

9 years agoFix exitCode from ExecuteAssembly
stephentoub [Thu, 28 May 2015 19:02:40 +0000 (15:02 -0400)]
Fix exitCode from ExecuteAssembly

ExecuteAssembly is initializing exitCode to 0 on entrance to the function.  If it then fails prior to exitCode being set when invoking the entry point, the exitCode remains 0 even though there was a failure, and corerun ends up returning a successful exit code.

9 years agoLimit the libcoreclr.so exports to the required minimum
Jan Vorlicek [Thu, 28 May 2015 00:15:00 +0000 (02:15 +0200)]
Limit the libcoreclr.so exports to the required minimum

This change limits the libcoreclr.so exports on Unix to functions that are PInvoked
by the managed mscorlib / corefx and the DllMain, CoreDllMain and ExecuteAssembly.

9 years agoUpdate AllTestProjects.sln for Regression tests
Bengu Li [Thu, 28 May 2015 21:55:10 +0000 (14:55 -0700)]
Update AllTestProjects.sln for Regression tests

Add all Regression\VS-ia64-JIT projects to AllTestProjects.sln.

9 years agoMerge pull request #1066 from jkotas/gcsample
Jan Kotas [Thu, 28 May 2015 20:13:28 +0000 (13:13 -0700)]
Merge pull request #1066 from jkotas/gcsample

Fix GCSample

9 years agoMerge pull request #1067 from pgavlin/jitsln
Pat Gavlin [Thu, 28 May 2015 19:30:51 +0000 (12:30 -0700)]
Merge pull request #1067 from pgavlin/jitsln

Add new JIT tests to the test solution file.

9 years agoMerge pull request #1048 from josteink/gitignore-emacs
Aditya Mandaleeka [Thu, 28 May 2015 18:50:30 +0000 (11:50 -0700)]
Merge pull request #1048 from josteink/gitignore-emacs

Improve .gitignore-file

9 years agoAdd new JIT tests to the test solution file.
Pat Gavlin [Thu, 28 May 2015 18:04:54 +0000 (11:04 -0700)]
Add new JIT tests to the test solution file.

9 years agoFix GCSample
Jan Kotas [Thu, 28 May 2015 15:05:22 +0000 (08:05 -0700)]
Fix GCSample

9 years agoImprove .gitignore-file
Jostein Kjønigsen [Sun, 24 May 2015 19:05:50 +0000 (21:05 +0200)]
Improve .gitignore-file

Currently all emacs-temp files are tracked.
TAGS is for emacs' etags used to track symbols in code-files.
Generated Makefiles from the build-process should also be ignored.

9 years agoMerge pull request #1061 from janvorli/pal-error-strings
Aditya Mandaleeka [Wed, 27 May 2015 22:30:30 +0000 (15:30 -0700)]
Merge pull request #1061 from janvorli/pal-error-strings

Add PAL error message strings

9 years agoMerge pull request #1064 from pgavlin/JITjit64
Pat Gavlin [Wed, 27 May 2015 20:40:34 +0000 (13:40 -0700)]
Merge pull request #1064 from pgavlin/JITjit64

Import JIT tests.

9 years agoMerge pull request #1057 from janvorli/flush-process-write-buffers-page
Jan Vorlicek [Wed, 27 May 2015 20:39:55 +0000 (22:39 +0200)]
Merge pull request #1057 from janvorli/flush-process-write-buffers-page

Implement FlushProcessWriteBuffers using the page protection mechanism

9 years agoMerge pull request #1059 from libengu/JITRegression1
Bengu Li [Wed, 27 May 2015 20:00:43 +0000 (13:00 -0700)]
Merge pull request #1059 from libengu/JITRegression1

Add Regression/VS-ia64-JIT test cases for JIT.

9 years agoImplement FlushProcessWriteBuffers using the page protection mechanism
Jan Vorlicek [Fri, 22 May 2015 18:11:32 +0000 (20:11 +0200)]
Implement FlushProcessWriteBuffers using the page protection mechanism

9 years agoAdd PAL error message strings
Jan Vorlicek [Wed, 27 May 2015 12:50:37 +0000 (14:50 +0200)]
Add PAL error message strings

This change adds PAL error message strings to PAL. Until now, the
FormatMessage in PAL formatted the PAL error codes as "Error xxx".
With this change, it inserts textual form of the messages.

9 years agoImport JIT tests.
Pat Gavlin [Wed, 27 May 2015 00:41:38 +0000 (17:41 -0700)]
Import JIT tests.

This imports the remainder of the tests under JIT/jit64 that are able
to target CoreCLR.

9 years agoAdd Regression/VS-ia64-JIT test cases for JIT.
Bengu Li [Wed, 27 May 2015 00:39:16 +0000 (17:39 -0700)]
Add Regression/VS-ia64-JIT test cases for JIT.

Add Regression/VS-ia64-JIT test cases for JIT. Related proj, config files added.
AllTestProjects.sln update delayed for a batch adding. Passed build, buildtest, runtest.

9 years agoMerge pull request #1055 from janvorli/cleanup-unused-members
Jan Vorlicek [Tue, 26 May 2015 23:08:14 +0000 (01:08 +0200)]
Merge pull request #1055 from janvorli/cleanup-unused-members

Cleanup several unused class members

9 years agoMerge pull request #1056 from dotnet-bot/from-tfs
Jan Kotas [Tue, 26 May 2015 23:06:04 +0000 (16:06 -0700)]
Merge pull request #1056 from dotnet-bot/from-tfs

Merge changes from TFS

9 years agoCleanup several unused class members
Jan Vorlicek [Tue, 26 May 2015 19:30:32 +0000 (21:30 +0200)]
Cleanup several unused class members

The change removes few unused class members and puts few others
under appropriate FEATURE_xxx ifdefs

9 years agoMerge pull request #1054 from dotnet-bot/from-tfs
Matt Ellis [Tue, 26 May 2015 20:47:21 +0000 (13:47 -0700)]
Merge pull request #1054 from dotnet-bot/from-tfs

Merge changes from TFS

9 years agoMerge pull request #1050 from janvorli/fix-warning-no-overloaded-virtual
Jan Vorlicek [Tue, 26 May 2015 19:50:48 +0000 (21:50 +0200)]
Merge pull request #1050 from janvorli/fix-warning-no-overloaded-virtual

Fix warning no-overloaded-virtual

9 years agoFix warning no-overloaded-virtual
Jan Vorlicek [Mon, 25 May 2015 19:04:31 +0000 (21:04 +0200)]
Fix warning no-overloaded-virtual

This warning is issued when a derived class defines a virtual method with the
same name as its base class, but different set of parameters. The base class
virtual method is hidden in that case. Clang issues a warning here.
To fix the warning, I have added "using Base::Method" to the private section
of all the derived classes.

9 years agoMerge pull request #1052 from janvorli/fix-warnings-delete-non-virtual-dtor
Jan Kotas [Tue, 26 May 2015 18:10:26 +0000 (11:10 -0700)]
Merge pull request #1052 from janvorli/fix-warnings-delete-non-virtual-dtor

Fix the virtual destructor warning

9 years agoFix resource string
Matt Ellis [Tue, 26 May 2015 18:06:39 +0000 (11:06 -0700)]
Fix resource string

One of the resource strings used by mscorlib had a wrong character
in it, this brings the data back into alignment with what is provided
by the Windows Globalization folks.

[tfs-changeset: 1476903]

9 years agoMerge pull request #1049 from janvorli/fix-warning-implicit-exception-spec-mismatch
Jan Kotas [Tue, 26 May 2015 17:42:13 +0000 (10:42 -0700)]
Merge pull request #1049 from janvorli/fix-warning-implicit-exception-spec-mismatch

Fix the implicit-exception-spec-mismatch warning

9 years agoMerge pull request #1045 from libengu/JITGenerics
Bengu Li [Tue, 26 May 2015 16:02:06 +0000 (09:02 -0700)]
Merge pull request #1045 from libengu/JITGenerics

Add all JIT/Generics test cases

9 years agoFix the virtual destructor warning
Jan Vorlicek [Fri, 22 May 2015 22:42:43 +0000 (00:42 +0200)]
Fix the virtual destructor warning

This change changes destructors to be virtual or adds virtual ones where they were
missing based on the clang warnings.

9 years agoFix the implicit-exception-spec-mismatch warning
Jan Vorlicek [Mon, 25 May 2015 11:05:52 +0000 (13:05 +0200)]
Fix the implicit-exception-spec-mismatch warning

Fix the warning. Since VC++ until VS2015 doesn't support the noexcept keyword,
define a NOEXCEPT macro as empty for VC++ older than VS2015 and as noexcept for others.

9 years agoAvoid unnecessary delegate allocations
Justin Van Patten [Mon, 11 May 2015 07:03:34 +0000 (00:03 -0700)]
Avoid unnecessary delegate allocations

There are 9 up-front delegate allocations (2 for TextReader and 7 for
TextWriter) that are unnecessary in most cases as most
TextReader/TextWriter subclasses override the base async methods where
such delegates are used. Instead, let the compiler allocate and cache
such delegates lazily, only in the rare cases when the delegates are
actually used.

9 years agoAdd all JIT/Generics test cases
Bengu Li [Fri, 22 May 2015 20:42:04 +0000 (13:42 -0700)]
Add all JIT/Generics test cases

Add all remaining JIT/Generics test cases for JIT. Related proj, config,
and sln files added and updated. Passed build, buildtest, runtest.

9 years agoMerge pull request #1042 from janvorli/remove-setlocale
Jan Vorlicek [Fri, 22 May 2015 19:21:44 +0000 (21:21 +0200)]
Merge pull request #1042 from janvorli/remove-setlocale

Remove the InitializeStringResources function