Compare commits

...
1909 Commits
Author SHA1 Message Date
Joao Matos 20c7478e60 Added System.IO.Compression implementation based on SharpCompress. 2014-05-12 19:41:00 +01:00
Joao Matos d2acd180ad Added SharpCompress Zip archive implementation.
This copy is based on our own fork at mono/sharpcompress.
2014-05-12 19:09:37 +01:00
Miguel de Icaza d79280674b Refreshed the CSProj files to use the new output build directory 2014-04-18 18:15:35 -04:00
Miguel de Icaza caa7615328 [genproj] Set the output directory to the Mono one, not an intermediary one 2014-04-18 18:15:35 -04:00
Miguel de Icaza c6c7c5af9c Update order.xml 2014-04-18 18:15:35 -04:00
Alexis Christoforides 49ac34bc80 Fixed xamarin #18898 # / novell #595899
DataRowView indexer should not break on "completed" added rows (any rows other than the IsNew one)
2014-04-18 18:08:16 -04:00
Alex Rønne Petersen 5e2f1f3301 Fix my last commit to match our libgc's declaration style. 2014-04-18 19:51:34 +02:00
Alex Rønne Petersen fb7c7e39b5 Hopefully fix a build error in libgc on some compilers.
../../libgc/alloc.c: In function ‘GC_stopped_mark’:
../../libgc/alloc.c:501:9: error: implicit declaration of function ‘GC_cond_register_dynamic_libraries’ [-Werror=implicit-function-declaration]
         GC_cond_register_dynamic_libraries();
2014-04-18 19:34:49 +02:00
Miguel de Icaza f07d6c58bc [genproj] Some hygiene changes to genproj, to be able to even digest this 2014-04-18 10:57:01 -04:00
Rodrigo Kumpera 816dde7892 [sgen-bridge] Introduce accounting mode to bridge processing.
This accounting mode logs the "cost" of each bridge-object during bridge processing.
This should give a very good first clue on how expensive each object is.
2014-04-17 19:26:41 -04:00
Alex Rønne Petersen 1669d0456b Really, seriously, for real fix mono/tests/Makefile.am when run with CI=1/V=1. 2014-04-18 01:07:51 +02:00
Martin Baulig f647afb02f [Http]: Correctly handle request bodies when resending with authentication.
My previous changes modified the way how we're handing the request body when
resending a request due to a 30x redirection.

Authentication is a "special" form of redirection because we sometimes need
to resend a request with additional authentication headers.  Unfortunately,
I forgot this, causing a regression which is now fixed.

This has been reported as bugs #19119 and #19068.
2014-04-17 22:27:19 +02:00
Jeffrey Stedfast 0096790ae5 [Mono.Debugger.Soft] Throw a NotSupportedException if we encounter an unsupported IL opcode 2014-04-17 16:05:39 -04:00
Marek Safar 394eb0d670 [corlib] Defer TypeInfo instantiation logic in DefinedTypes. Fixes #19082 2014-04-17 20:00:34 +02:00
Zoltan Varga f287d3c95b [jit] Fix an unreachable code part in mini_emit_memset (). Fixes #19083. Thanks to Bill Seurer for spotting it. 2014-04-17 17:49:36 +02:00
Alex Rønne Petersen 1d30486054 Shell expansion rules suck. Fix a7712d9093. 2014-04-17 16:32:38 +02:00
Miguel de Icaza b45701b799 Add System.Xml.Linq to the dotnet.pkg 2014-04-17 10:14:57 -04:00
Alex Rønne Petersen 4ea81c1845 Fix a couple of warnings in sgen-cardtable.c. 2014-04-17 14:51:54 +02:00
Alex Rønne Petersen 357afd3e25 Remove .travis.yml.
Travis simply doesn't give us anywhere near enough execution time
to run runtime tests + BCL tests.
2014-04-17 14:39:54 +02:00
Alex Rønne Petersen a2e4404751 Ignore testlist files in mono/tests. 2014-04-17 14:39:54 +02:00
Alex Rønne Petersen a7712d9093 Clean up mono/tests/Makefile.am.
This removes a lot of duplicated logic and special-casing for Wrench. There
are now only 3 important top-level targets:

* `check`: Run all stable (~fast) tests.
* `check-full`: Run all stable, unstable, and slow tests.
* `check-parallel`: Compile tests in parallel, then run `check-full`.

By default, `no-dump` is passed to the test runner. To pass `dump-output` and
get `stdout`/`stderr` dumped to console when a failure occurs, set `V` as in:

    $ make check V=1

Or:

    $ make check-full V=1

If you're running tests in a CI environment, it may be desirable to disable
tests that are known to be unstable. To do so, run:

    $ make check CI=1

Or:

    $ make check-full CI=1
2014-04-17 14:39:54 +02:00
Marek Safar b36b99fc06 [mcs] Fix tie breaking rules when both candidates have used default parameters 2014-04-17 13:13:31 +02:00
Zoltan Varga 0da13fe72f [aot] Add a separate mutex to each AOT module to reduce contention. 2014-04-17 12:48:04 +02:00
Zoltan Varga 8caa3960e9 [jit] Use compile-time conditionals in a few places. 2014-04-17 12:33:01 +02:00
Zoltan Varga 4797f0b912 [llvm] Fix the decomposition of some long opcodes on 32 bit machines. 2014-04-17 12:29:08 +02:00
Zoltan Varga ee785d7c42 Fix the build. 2014-04-17 11:43:51 +02:00
Zoltan Varga ae34bffe53 [llvm] Remove unused LLVM_MONO_BRANCH define. 2014-04-17 07:15:00 +02:00
Zoltan Varga 4bcbce9b02 Disable the self-assign warning when using clang. 2014-04-17 07:10:29 +02:00
Zoltan Varga cef112d74d [llvm] Update the LLVM backend to the LLVM mono-2014-04-17-cc117f4ad24a7ae6743ab6f08b8f5e8fc65d2d7f branch. 2014-04-17 07:06:38 +02:00
Zoltan Varga 0b197c8234 [llvm] Add a LLVM_API_VERSION define which is incremented in llvm every time there is a public api break. This allows the llvm backend to compile with different versions of LLVM. 2014-04-17 07:06:37 +02:00
Mark Probst c08bca90ee [sgen] Counter for time we spend starting and stopping the world. 2014-04-16 14:18:17 -07:00
Mark Probst cdce271a81 [sgen] Fix M&S object iteration.
When we want to iterate without sweeping, then on blocks that
have not been swept, we can only iterate over objects that are
marked.
2014-04-16 14:18:16 -07:00
Mark Probst 6a67811198 [sgen] Fix CLEAR_AT_GC.
We end up with faux arrays when we’re allocating new objects, but
the nursery must be zeroed.  We just zero the first few words when the
TLAB is created to get rid of the array header.

An alternative would be to erase the headers once the nursery
collection is over, which is cleaner and would only zero what we know
must be zeroed, i.e. it would catch errors in cases where we now
overwrite non-zero garbage in the nursery.  That’s an unlikely case,
though, and we don’t use this debug feature often anyway.
2014-04-16 14:18:16 -07:00
Mark Probst 86b1ca3abc [sgen] Fix remset consistency check in presence of cementing. 2014-04-16 14:18:16 -07:00
Mark Probst 713a6d2186 [sgen] Make binary protocol grep work without search addresses. 2014-04-16 14:18:15 -07:00
Mark Probst 35f397edc8 [sgen] Count cards for binary protocol. 2014-04-16 14:18:15 -07:00
Mark Probst 9f6ab33462 [sgen] Don't scan cards in no-reference LOS objects. 2014-04-16 14:18:14 -07:00
Mark Probst 83b51581f8 [sgen] Make missing remset debugging easier. 2014-04-16 14:18:14 -07:00
Mark Probst 659c69a0ba [sgen] Small refactoring of sgen_card_table_update_mod_union(). 2014-04-16 14:18:14 -07:00
Mark Probst 2308ee2ab9 [sgen] Make mod-union consistency check work again. 2014-04-16 14:18:13 -07:00
Mark Probst 97f8411a7d [sgen] Tool for visualizing GC pauses from binary protocols. 2014-04-16 14:18:13 -07:00
Mark Probst 3ba6b6919f [sgen] Binary protocol entries for world stop/restart with timestamps. 2014-04-16 14:18:13 -07:00
Mark Probst 9b36e8ec43 [sgen] Enable binary protocol by default, make the heavy stuff optional. 2014-04-16 14:18:12 -07:00
Marek Safar 329a10976a [mcs] Fix parsing member access expression with await simple name 2014-04-16 21:19:47 +02:00
Marek Safar 7fddc01287 [mcs] Relax struct definitive assignment rules for private fields 2014-04-16 20:05:16 +02:00
Alex Rønne Petersen 80b154781e Since make distcheck has been fixed, use it in .travis.yml again. 2014-04-16 18:39:16 +02:00
Alex Rønne Petersen 0ac40d8c71 Flush po/... files. 2014-04-16 18:19:46 +02:00
Miguel de Icaza e3150746f3 Runtime documentation will now build with srcdir != builddir
This removes an old and broken patch that did not allow for
clean builds of Mono.   The old patch was so bad, that instead
of fixing the actual source of the problem (the ability to build
the runtime documentation when the source directory was not the
same as the build directory), a hack was added to circumvent
`make distcheck''s security system and changed the permissions
at build time for the source directory to become read/write.

This fixes the problem
2014-04-16 12:09:20 -04:00
Miguel de Icaza 8f790e107f Update the configuration file for project builds 2014-04-16 12:09:20 -04:00
Miguel de Icaza 816c9eb193 Remove empty space from assembly name 2014-04-16 12:09:19 -04:00
Zoltan Varga 10f6606d5b [jit] Fix the lookup of the AOT version of Interlocked.Exchange<T> in full-aot mode. Fixes #19070. 2014-04-16 18:05:46 +02:00
Rodrigo Kumpera d2108392db [win64] Fix stack probing and disable omit_fp. Fixes iltests.
Stack probing on windows must be done a page a time so we must always force it to happen on windows.
Disable omit_fp on win64 for now as it makes the tail call tests fail.
2014-04-16 11:37:27 -04:00
Zoltan Varga 37f78e42a8 [llvm] Fix the loadable llvm build. 2014-04-16 17:19:47 +02:00
Marek Safar dac82c328c [mcs] Emit exception filters with empty stack 2014-04-16 16:53:48 +02:00
Marek Habersack 5564dad150 Fall back to calling Java.Util.TimeZone.Default.ID if the persist.sys.timezone system
property is not present on the system or its value is an empty string. This ensures that
we obtain valid timezone info on systems which do not define the above property.

Part of fix for https://bugzilla.xamarin.com/show_bug.cgi?id=4902
2014-04-16 16:23:16 +02:00
Alex Rønne Petersen c7c6506ce3 Avoid make distcheck in .travis.yml for now. 2014-04-16 14:57:02 +02:00
Alex Rønne Petersen f2e208a3a1 Only build master for now. 2014-04-16 13:34:32 +02:00
Alex Rønne Petersen 228aed9001 Add initial .travis.yml. 2014-04-16 13:07:49 +02:00
Alex Rønne Petersen a7c60da137 Make all Python scripts Python 3-friendly. 2014-04-16 12:54:41 +02:00
Marek Safar 8148b9c576 Update tests 2014-04-16 11:40:07 +02:00
Marek Safar 4ef97a07f3 Update error message 2014-04-16 11:40:07 +02:00
Marek Safar 8db075c049 [mcs] Initial implemntation of exception filters 2014-04-16 11:40:07 +02:00
Marek Safar b7399f6c0d [mcs] Primary constructors 2014-04-16 11:40:07 +02:00
Marek Safar 2865d4bda1 Merge pull request #996 from DavidS/fixes/string-format-nre
[System] handle arguments whose ToString returns null in String.Format
2014-04-16 10:10:44 +02:00
David Schmitt 3f9dd10eed [System] handle arguments whose ToString returns null in String.Format
When an argument to String.Format has no formatter, its ToString method
is called. This change takes care that the FormatHelper can handle
arguments whose ToString() method returns null.
2014-04-16 09:26:23 +02:00
Zoltan Varga 945faf65d1 [jit] Rewrite lookup_method () to reduce contention by not taking the loader lock while doing hashtable lookups. 2014-04-16 08:54:46 +02:00
Zoltan Varga dd72864f56 [runtime] Add some low level locks to image sets to reduce contention and the usage of the loader lock. 2014-04-16 06:47:58 +02:00
Rodrigo Kumpera b8ab042da7 [runtime] Don't g_string_append an empty string when running regression tests. 2014-04-15 17:55:23 -04:00
Rodrigo Kumpera f15f527aff [windows] Win64 requires 16 bytes alignment too. 2014-04-15 17:55:21 -04:00
Rodrigo Kumpera deeaba4549 [VS] Change the tools version back to v110 so it works with VS 2012. 2014-04-15 17:55:20 -04:00
Rodrigo Kumpera d30aa865a5 [windows] Remove sdb symbol from mono.def. Fix the build. 2014-04-15 17:55:18 -04:00
Marek Safar da35cb932b Add ICscHostObject4 skeleton 2014-04-15 23:31:48 +02:00
Miguel de Icaza 718ab59105 Merge pull request #987 from StephenMcConnel/bug-18874
Adjust scrollbar display after layout if autosized children
2014-04-15 16:29:06 -04:00
Alexis Christoforides 2a949443bc Added contribution guideline links in README
New section has links to guideline wiki page, and the page's Important Rules section that all contributors should be aware of.
2014-04-15 16:10:29 -04:00
Zoltan Varga 7e33fc7450 [llvm] Fix a few problems with longs on 32 bit platforms. Fixes #18925. 2014-04-15 08:54:05 +02:00
Alex Rønne Petersen 6a7791058f Ignore scripts/ikdasm. 2014-04-14 22:53:36 +02:00
Rodrigo Kumpera f62347fe66 [llvm] Fix llvm loading. 2014-04-14 15:53:53 -04:00
Alex Rønne Petersen 759257d32d Fix handling of the volatile. prefix instruction.
* Respect the `volatile.` prefix on all instructions specified in
  Ecma 335, Partition III, 2.6.
* Emit release barriers _before_ the instructions they affect.
* Skip certain optimizations when the `volatile.` prefix is used,
  since we can't easily emit barriers correctly in those
  optimization paths.
* Use `ins_flag` to check for `MONO_INST_VOLATILE` as it doesn't
  depend on an instruction having been emitted. This would kind of
  not work when we need to emit barriers before other instructions.
* Set `ins_flag` to zero in all cases where it's consumed.
2014-04-14 19:03:50 +02:00
Alex Rønne Petersen 7c6c3f9b39 Remove pointless #elif branch in mono-membar.h. 2014-04-14 19:03:50 +02:00
Alex Rønne Petersen bc31c79675 Clean up the log profiler's use of atomics. 2014-04-14 19:03:50 +02:00
Alexis Christoforides 7b9fc5514c Merge pull request #986 from ninjarobot/patch-1
Update io.c to support NFS mounts when parsing drives.
2014-04-14 11:28:53 -04:00
ninjarobot a177760688 Update io.c
Support for NFS mounts when parsing drives.  Previously ignored since they don't start with '/'.

This change is released under the MIT license.
2014-04-14 11:02:02 -04:00
Rodrigo Kumpera ba175a7bc5 Merge pull request #990 from BrandonLWhite/bw/cqleak
[runtime] Fixed leak of MonoListItems in MonoCQ
2014-04-14 09:12:10 -04:00
Sebastien Pouliot 81bdc35dd4 [xammac] Remove the Makefile hack as the extensions instructions will be applied (only) when a PROFILE_*.sources is present (and add that xammac_corlib.dll.sources file) 2014-04-12 12:41:26 -04:00
Alex Rønne Petersen ac60ecf03f Merge pull request #656 from LogosBible/collection_lock
Take shared file lock before collecting file share_info.
2014-04-12 15:40:23 +02:00
Brandon e4cdce00aa [runtime] Fixed leak of MonoListItems in MonoCQ
I release this change under the MIT license.
2014-04-12 08:25:11 -05:00
Alex Rønne Petersen 90d6059c54 Merge pull request #273 from joncham/bug-getpid
Use getpid instead of GetCurrentProcessId as the latter calls into io-la...
2014-04-12 10:29:38 +02:00
Alex Rønne Petersen e8f2c7111d Merge pull request #991 from ranma42/fix-jay-sh-bashism
Use bash when using $RANDOM bashism
2014-04-12 09:30:07 +02:00
Andrea Canciani 0c6920546b Use bash when using $RANDOM bashism
$RANDOM is only supported by bash, not by sh.
2014-04-12 09:03:56 +02:00
Zoltan Varga ea490c5486 [runtime] Improve the hashing of MONO_TYPE_VAR/MONO_TYPE_MVAR. Hopefully fixes #18880. 2014-04-12 04:56:14 +02:00
Zoltan Varga 506cd5e9f0 Merge pull request #988 from ranma42/fix-lls-test
Fix assertion in test-mono-linked-list-set
2014-04-12 02:31:19 +02:00
Zoltan Varga 83e085556d Merge pull request #989 from rolfbjarne/bundle-tracing-improvements
Improve tracing output for loaded assemblies from bundles.
2014-04-12 02:28:59 +02:00
Rolf Bjarne Kvinge cc7162510a Report bundle tracing using the filename, not the full path. 2014-04-12 00:56:33 +02:00
Rolf Bjarne Kvinge fb069fc1bc Improve tracing output for loaded assemblies from bundles. 2014-04-12 00:46:30 +02:00
Rodrigo Kumpera a2dd3db49b Use mono_dl_open_runtime_lib as an additional fallback for loading the profiler. Fixes profiler loading on OSX. 2014-04-11 18:16:10 -04:00
Rodrigo Kumpera 920b500407 Use mono_dl_open_runtime_lib instead of hand crafted load commands. 2014-04-11 18:16:09 -04:00
Rodrigo Kumpera 30532e6174 New function mono_dl_open_runtime_lib that loads runtime libraries.
This extracts the code used to load LLVM.
2014-04-11 18:16:09 -04:00
Sebastien Pouliot f39b3d794a [Mono.Security] Add .sources file for xammac (same as monotouch) 2014-04-11 18:11:30 -04:00
Sebastien Pouliot 911b80fc86 [xammac] Ajust corlib and System.Core builds to allow to use of CommonCrypto in Xamarin.Mac 2014-04-11 16:08:44 -04:00
Sebastien Pouliot 8df01216de [Mono.Security] Send all the certificates (except the root) from an SSL/TLS 'Server certificate' message (7.4.2 in RFC2246). Fix contributed by [email protected] [#16974] 2014-04-11 15:55:47 -04:00
Alexis Christoforides 5e4093ab13 Merge pull request #845 from meyerrj/master
Support for video/mp4, video/ogg, video/webm
2014-04-11 15:16:16 -04:00
Miguel de Icaza 53a08ebc1d Style on the README file, make it more readable for command line users 2014-04-11 12:04:10 -04:00
Alex Rønne Petersen 3652241132 ARM: Fix epilogue instrumentation to handle MONO_TYPE_{GENERICINST,R4,R8} correctly. 2014-04-11 10:22:28 +02:00
Alex Rønne Petersen 2d797acdd8 Revert "ARM: Fix epilogue instrumentation to handle MONO_TYPE_{GENERICINST,R4,R8} correctly."
This reverts commit 1afa622ba4.

I had a more recent version of this commit locally...
2014-04-11 10:22:08 +02:00
Alex Rønne Petersen 1afa622ba4 ARM: Fix epilogue instrumentation to handle MONO_TYPE_{GENERICINST,R4,R8} correctly. 2014-04-10 23:24:16 +02:00
Alexis Christoforides 73ba8a9535 [System.Net] Fixed intermittent test failures from undisposed UdpClients 2014-04-10 15:56:48 -04:00
Alexis Christoforides 5df45ecd4e [Security] Added check for failed chmod on "keypairs" directory creation
This is to help detect issues where the directory is later found to be not locked down.
2014-04-10 15:00:10 -04:00
Marek Safar f59d306ad2 [system.net.http] Improve 50879b35cf to close all connections not only the last one 2014-04-10 13:02:34 +02:00
Marek Safar 7be9829aa9 [mcs] Typo in error message 2014-04-10 11:17:22 +02:00
Marek Safar f860fe0aaf [mcs] Reference assemblies with same identity cannot have different version number 2014-04-10 10:54:33 +02:00
Andrea Canciani 78a64f7331 Fix assertion in test-mono-linked-list-set
When running 'make check', test-mono-linked-list-set fails with:

* Assertion at hazard-pointer.c:353, condition `small_id == i' not met

This happens since 71ad74dc11, because
that commit changes the behaviour of mono_thread_smr_init() so that
invoking it should not be invoked more than once.
2014-04-09 23:10:25 +02:00
Stephen McConnel cfd4b71552 Adjust scrollbar display after layout if autosized children
ScrollableControl.OnLayout sets the scroll bar display before doing the
actual layout.  If any children are autosized, they may change size as
a result of the layout, and that may change whether or not the scrollbar
is needed.  (This addresses Xamarin bug 18874.)
2014-04-09 15:42:28 -05:00
Rodrigo Kumpera 217e071a40 Revert "[runtime] Improve the hashing of MONO_TYPE_VAR/MONO_TYPE_MVAR. Hopefully fixes #18880."
This reverts commit 078dc0321d.

It's breaking for everyone.
2014-04-09 15:41:53 -04:00
Marek Safar 633db36bd3 [System.Core] Don't auto increment when trimming hashset. Fixes #18687 2014-04-09 21:19:11 +02:00
Marek Safar 50879b35cf [system.net.http] Close service-point slot on explicit dispose. Fixes #18848 2014-04-09 20:35:23 +02:00
Alexis Christoforides f34a97d2e7 Merge pull request #985 from joelmartinez/master
[docs] Fixed XML syntax issue with CipherSuitesCallback, and ServicePointManager xml files.
2014-04-09 14:26:45 -04:00
Marek Safar abbb766d3a [interpreter] Disable fast call invocation using methodinfo delegates due to aot limitation. Fixes #18688 2014-04-09 17:57:49 +02:00
Zoltan Varga 078dc0321d [runtime] Improve the hashing of MONO_TYPE_VAR/MONO_TYPE_MVAR. Hopefully fixes #18880. 2014-04-08 21:53:39 -04:00
Zoltan Varga 8ecdcaa526 Revert "[llvm] Fix the build."
This reverts commit 8990ab3363.

Revert this as it only works with an llvm version which doesn't compile on lion.
2014-04-08 21:53:39 -04:00
Alexis Christoforides 94b523275e [XML] Added unit test for multiple XMLElement attributes on arrays & ArrayLists 2014-04-08 18:05:46 -04:00
Alan McGovern 159c0b02cd [Microsoft.Build.Tasks] 'Copy' task now returns failure when errors are logged
If we try to copy a file which does not exist, we log the error (as we have
always done) but now we return failure from the Copy task if any errors were
logged.

This means we will correctly fail the build later on instead of having a
successful build which did not complete correctly.
2014-04-08 12:22:49 -04:00
Marek Safar fd4a8931d4 Merge pull request #984 from echampet/trim-column
Fix CreateErrorFromString: match.Result("${column}") may contain a '+', ...
2014-04-08 16:31:27 +02:00
Etienne CHAMPETIER 919e7caf88 Fix CreateErrorFromString: match.Result("${column}") may contain a '+', trim it
Signed-off-by: Etienne CHAMPETIER <[email protected]>
2014-04-08 16:27:49 +02:00
Marek Safar a10df86558 [corlib] Better checks for release of parent task 2014-04-08 15:31:53 +02:00
BrandonLWhite 5e5f3a19fd Fixed memory leak in Task when child tasks are continually created.
This resolves bug # 18398 and other OOM scenarios in long running applications that make use of FromAsync, ContinueWith, etc. to "rearm" asynchronous operations.
2014-04-08 15:31:52 +02:00
Alex Rønne Petersen cde40faf26 Merge pull request #983 from xen2/master
Fix MSVC compilation (mini-native-types.c was considered as header) and updated VTune project to use 2013 version.
2014-04-08 14:56:37 +02:00
Joel Martinez c9dd31f779 [docs] Fixed XML syntax issue with CipherSuitsCallback, and ServicePointManager xml files. 2014-04-08 08:05:17 -04:00
Marek Safar 404466030e [System.Core] Exclude legacy visitor in new profiles 2014-04-08 12:44:07 +02:00
Martin Baulig f986a59333 [Http]: Disable redirect with body and no buffering. 2014-04-08 08:24:40 +02:00
Martin Baulig 461855eddd [Http]: Clear the 'SendChunked' flag when redirecting. 2014-04-08 08:24:21 +02:00
Martin Baulig 9f7e64c187 [Http]: Remove chunked/etc headers when redirecting a request as GET. 2014-04-08 08:23:54 +02:00
Virgile Bello dda7f2c520 VTune profiler: update to VTune Amplifier 2013. 2014-04-08 11:45:08 +09:00
Virgile Bello 8910bd2715 MSVC: In libmono.vcxproj, mini-native-types.c was included as header instead of source file. 2014-04-08 11:44:41 +09:00
Marek Safar 9b61bc6fcd [corlib] Add SortVersion. Fixes #18770 2014-04-07 19:22:17 +02:00
Marek Safar c52a372c78 [corlib] Set test failure when test hangs 2014-04-07 19:22:17 +02:00
Alexis Christoforides 6f677fd8c3 Merge pull request #955 from ermshiperete/bug-xamarin-10537
[MWF] Fix crash from null control in ContainerControl (#10537)
2014-04-07 11:55:47 -04:00
Zoltan Varga 3d469b99ac [runtime] Refactor mono_marshal_get_delegate_invoke_internal (). 2014-04-05 21:33:24 -04:00
Zoltan Varga a2e69cea69 [bcl] Simplify the check added in 0ab4372189. 2014-04-05 13:27:47 -04:00
Zoltan Varga 0ab4372189 [bcl] Add an explicit null check to one of the unsafe string cctors instead of relaying on the implicit null check in memcpy () to easy debugging. 2014-04-04 20:37:34 -04:00
Alexis Christoforides 01bc03ffde Merge pull request #941 from upsilon/fix-layoutsettings-setter
Fix setter of TableLayoutPanel.LayoutSettings throws unwanted exception (Novell bug #497562)
2014-04-04 20:17:27 -04:00
Michael Hutchinson 5cbb6452af [xbuild] Fix building with 2.0 toolset, take 2
BXC18794 - Error executing task Csc with 2.0 toolset since Mono 3.4.0
2014-04-04 16:37:00 -04:00
Zoltan Varga 7fafa50a31 Fix building the monotouch_runtime profile. 2014-04-04 15:50:54 -04:00
Zoltan Varga 45345e6790 Revert "[xbuild] Fix building with 2.0 toolset"
This reverts commit 2086958399.

Revert this as it breaks the build:

MCS [net_2_0] Microsoft.Build.Engine.dll
Microsoft.Build.BuildEngine/Engine.cs(114,81): error CS0117: Microsoft.Build.Utilities.TargetDotNetFrameworkVersion' does not contain a definition forVersion30'
/root/my-mono-fork/mcs/class/Microsoft.Build.Engine/./../../class/lib/net_2_0/Microsoft.Build.Utilities.dll (Location of the symbol related to previous error)
Microsoft.Build.BuildEngine/Engine.cs(116,81): error CS0117: Microsoft.Build.Utilities.TargetDotNetFrameworkVersion' does not contain a definition forVersion35'
/root/my-mono-fork/mcs/class/Microsoft.Build.Engine/./../../class/lib/net_2_0/Microsoft.Build.Utilities.dll (Location of the symbol related to previous error)
Compilation failed: 2 error(s), 0 warnings
2014-04-04 14:58:34 -04:00
Zoltan Varga 8990ab3363 [llvm] Fix the build. 2014-04-04 14:35:54 -04:00
Zoltan Varga edce99bf2e [jit] Fix a regression caused by 837773af14. 2014-04-03 23:03:42 -04:00
Zoltan Varga 32860abf66 [jit] Make generic ctor calls made out of gsharedvt methods indirect, since they cannot be patched. Fixes #18634. 2014-04-03 16:43:07 -04:00
Zoltan Varga 754317f328 [runtime] Disable some warnings. 2014-04-03 16:42:12 -04:00
Zoltan Varga 2629d9775a [jit] Fix some of the check for support of atomic intrinsics on arm. 2014-04-03 16:10:52 -04:00
Michael Hutchinson 2086958399 [xbuild] Fix building with 2.0 toolset
BXC18794 - Error executing task Csc with 2.0 toolset since Mono 3.4.0
2014-04-03 15:38:11 -04:00
Rodrigo Kumpera 8ffc4070a9 Add new public API function mono_set_crash_chaining.
mono_set_crash_chaining tells mono to chain crash signals instead of just
running the next one.

This allows us to get the crash info from both mono and the native system.
2014-04-03 12:04:59 -04:00
Jonathan Pryor 199edbc851 [System] Add [MonoTODO] on DefaultTraceListener.AssertUiEnabled.
See the mono-list thread for fun/gory details:

http://lists.ximian.com/pipermail/mono-list/2014-March/050732.html
2014-04-03 11:54:25 -04:00
Marek Safar b79ebc6d2a Merge pull request #978 from echampet/ikdasm-spec
Fix spec file for ikdasm
2014-04-02 12:25:34 -06:00
Etienne CHAMPETIER 769582078f Fix spec file for ikdasm
Signed-off-by: Etienne CHAMPETIER <[email protected]>
2014-04-02 18:57:29 +02:00
Michael Hutchinson c4667496bf [xbuild] Include PCL common targets in tarball
BXC18690 - Microsoft.Portable.Common.targets is missing in mono 3.4.0 tarball
2014-04-01 17:32:32 -04:00
Zoltan Varga 64372c1928 [arm] Remove some unused code. 2014-04-01 15:32:38 -04:00
Zoltan Varga 837773af14 [jit] Implement support for atomic intrinsics on arm. 2014-04-01 18:39:05 +00:00
Zoltan Varga 695b17f8d5 [runtime] Fix a crash if the thread name is set before the thread is started. 2014-04-01 18:32:33 +00:00
Marek Safar 56cf1b8c2e [corlib] Fixes CancellationTokenSource dispose race 2014-04-01 11:10:50 -07:00
Marek Safar 897e95954e [corlib] Update test with failure info 2014-03-31 16:37:24 -07:00
Marek Safar 2f710f7ac8 [corlib] Make invariant NumberFormatter thread static too as it has internal static state. Fixes #18599 2014-03-31 11:12:44 -07:00
Marek Safar c72270afd6 [corlib] Filter out any right-to-left sign characters. Fixes #18522 2014-03-31 10:09:29 -07:00
Rolf Bjarne Kvinge c3b8b74340 Fix monotouch's repl support to build Mono.CSharp (and its dependencies) as well. 2014-03-31 16:58:32 +02:00
Zoltan Varga db75057d43 Merge pull request #973 from methane/fix-build-on-mac
Add mono_threads_core_set_name() on Mac.
2014-03-31 04:17:24 -04:00
INADA Naoki 4bdf2a2d37 Add mono_threads_core_set_name() on Mac. 2014-03-31 16:19:04 +09:00
Alex Rønne Petersen 148b100061 Fix a wrong check in 254954dc09. 2014-03-30 07:31:31 +02:00
Zoltan Varga 97ad698ab4 [aot] Add ReadOnlyCollection to the list of types supported by gsharedvt. 2014-03-29 23:17:08 -04:00
Zoltan Varga 5e0579782e [runtime] Add support for setting the native thread name on linux. 2014-03-30 00:45:37 +01:00
Miguel de Icaza 776002ee28 Remove profanity 2014-03-28 20:56:02 -04:00
Zoltan Varga 02b95e9552 Fix ikdasm submodule repository path. 2014-03-28 11:06:58 -04:00
Alex Rønne Petersen 9191b70c44 Merge pull request #972 from madewokherd/win32service
System.ServiceProcess: Implement ServiceBase.Run for Win32 services.
2014-03-28 07:59:58 +01:00
Vincent Povirk 223e9566a5 System.ServiceProcess: Implement ServiceBase.Run for Win32 services.
This commit licensed as MIT/X11.
2014-03-27 17:55:40 -05:00
Zoltan Varga 369ce3a4fa [aot] Add a 'log-instances=filename' aot option to dump a list of method instances generated to a file for statistical purposes. 2014-03-27 16:02:07 -04:00
Zoltan Varga 2c092e3b65 [aot] Refactor the code a bit. 2014-03-26 18:00:05 -04:00
Zoltan Varga e145e2fead [aot] Add more stats to the AOT compiler output. 2014-03-26 17:56:31 -04:00
Zoltan Varga e09c9f7a08 Distribute the ikdasm managed disassembler written by Jeroen Frijters. 2014-03-25 14:35:44 -04:00
Zoltan Varga 9999740d3a Bump external/ikdasm to master. 2014-03-25 14:26:50 -04:00
Zoltan Varga 47f30b288f Add the mono/ikdasm repository as a submodule. 2014-03-25 14:07:30 -04:00
Zoltan Varga 80d1a36c85 Revert "[llvm] Fix the build."
This reverts commit d9139d3f77.

Revert this as it doesn't work with the currently used mono llvm version.
2014-03-25 12:02:06 -04:00
Rodrigo Kumpera 2ea66a5906 Fix the build. 2014-03-25 10:34:43 -04:00
Zoltan Varga 5c054e5130 [runtime] Fix mono_sem_timedwait. 2014-03-25 10:24:39 -04:00
Zoltan Varga a2668b3d15 [runtime] Reduce timeouts in a test to speed it up. 2014-03-25 10:24:39 -04:00
Rodrigo Kumpera 5ed85e7aad Merge pull request #970 from Therzok/fixTypo
[BigInteger] Fix some tests typos.
2014-03-25 09:58:25 -04:00
Rolf Bjarne Kvinge b1babf0ff5 [System.Xml.Linq] Fix XNamespace.GetName locking to not be racy. Fixes #18564. 2014-03-25 08:50:46 -04:00
Marius Ungureanu b9e053aee5 [Mono.Posix] Remove profanity from tests. 2014-03-25 13:29:50 +02:00
Marius Ungureanu 2f4416a462 [BigInteger] Fix some tests typos. 2014-03-25 13:12:40 +02:00
Zoltan Varga 4f15ef462d [sdb] Implement a SetIP () method in ThreadMirror which can be used to implement the 'Set Next Statement' functionality in the VS debugger. 2014-03-24 22:14:08 -04:00
Zoltan Varga 9d156dab71 Fix a warning. 2014-03-24 16:32:07 -04:00
Zoltan Varga d9139d3f77 [llvm] Fix the build. 2014-03-24 09:13:46 -04:00
Marek Safar 7000b8ab4e Merge pull request #969 from eburgos/fix-wrong-cs0177-squashed
[mcs] Fix wrong case for error CS0177 (squashed)
2014-03-23 20:54:56 +01:00
Eduardo Burgos f953af2044 Adding fix for case of error CS0177 2014-03-23 13:48:44 -04:00
Zoltan Varga 6ee36b8a71 [jit] Fix rethrowing of exceptions in thumb mode. Fixes #18448. 2014-03-21 20:41:40 -04:00
Zoltan Varga 5d32ecb619 [jit] Add a few more constraints to the UnsafeMov intrinsic. 2014-03-21 20:37:15 -04:00
Zoltan Varga 9ccbd6a096 [runtime] Fix a regression caused by a7d26d4822. 2014-03-21 18:15:55 -04:00
Zoltan Varga 6f7a395e92 [runtime] Fix a warning. 2014-03-21 16:35:56 -04:00
Zoltan Varga db32a4e29e [jit] Disallow mixing structs/non-structs in the UnsafeMov intrinsic, the JIT can't handle it. 2014-03-21 15:42:09 -04:00
Zoltan Varga 4d066f415d [aot] Reorganize emit_and_reloc_code () a bit. 2014-03-21 15:42:09 -04:00
Marek Safar f9a509be0f Merge pull request #965 from PiotrZierhoffer/patch-1
Fix typo in exception message
2014-03-21 16:05:02 +01:00
Piotr Zierhoffer e7dce0eeba Fix typo in exception message 2014-03-21 16:00:45 +01:00
Zoltan Varga 3c0c5f8624 [runtime] Add a 'debug-domain-unload' MONO_DEBUG option to make the DEBUG_DOMAIN_UNLOAD define runtime configurable. 2014-03-20 21:09:31 -04:00
Marek Safar 9c5490d8c8 [System] CookieParser optimization tweaks 2014-03-20 22:20:59 +01:00
Zoltan Varga 8affdfa6fa [sdb] Add an Evaluate method to MethodMirror which can evaluate simple methods like property accessors on the client side without invoking methods in the debuggee. 2014-03-20 15:40:57 -04:00
Marek Safar 29d1e82bef [System.Net.Http] Incomplete byte ranges parsing. Fixes #18494 2014-03-20 18:57:01 +01:00
Zoltan Varga a7d26d4822 [jit] Add a 'check-pinvoke-callconv' MONO_DEBUG option to check for cdecl/stdcall mismatches. 2014-03-19 21:03:58 -04:00
Zoltan Varga ccdcf9cfdb [sdb] Implement support for fields in MethodBodyMirror. 2014-03-19 19:16:58 -04:00
Marek Safar 6169424b4c [corlib] Optimize EqualityComparer for common value types. Fixes #18400 2014-03-19 23:11:00 +01:00
Rodrigo Kumpera 6d405d4fd9 [jit] New Array.UnsafeMov intrinsic for overcomming our JIT lack of store-forwarding and type-aware opts. 2014-03-19 15:40:53 -04:00
Marek Safar 6363006285 [mcs] Better heuristics for error parsing of interrogation point. 2014-03-19 17:25:39 +01:00
Zoltan Varga fdae26513f Fix the cross-compiler build. 2014-03-18 19:58:35 -04:00
Marek Safar 652615f0a2 [mcs] Flow analysis of nested binary expressions inside anonymous methods was missing on left/right reset. Fixes #18417 2014-03-18 18:38:59 +01:00
Marek Safar 5bc6a95a39 [pcl] Update facades 2014-03-18 18:38:25 +01:00
Marek Safar 3163ab4f67 [mcs] Emit field initializer with expression tree in all user constructors. Fixes #18308 2014-03-18 16:44:41 +01:00
Marek Safar 6352c16dd5 Merge pull request #963 from kebby/master
Fix Process.CancelErrorRead
2014-03-18 13:45:38 +01:00
Tammo 'kb' Hinrichs e8eefe67ac Merge branch 'master' of https://github.com/kebby/mono 2014-03-18 12:46:10 +01:00
Tammo 'kb' Hinrichs dce6eeaece Fix Process.CancelErrorRead
Fixed CancelErrorRead throwing an InvalidOperationException because it checked the wrong output stream (probably a cut&paste mistake).
2014-03-18 12:45:11 +01:00
Tammo 'kb' Hinrichs 318127993d Fix error message in Process.CancelErrorRead 2014-03-18 12:15:14 +01:00
Tammo 'kb' Hinrichs de520ab9fa Fix Process.CancelErrorRead
Fixed CancelErrorRead throwing an InvalidOperationException because it checked the wrong output stream (probably a cut&paste mistake).
2014-03-18 12:08:48 +01:00
Sebastien Pouliot 13b942c073 [System.ServiceModel.Web] Fix JsonQueryStringConverter.ConvertValueToString to work when running on any culture [#18437] 2014-03-17 21:46:33 -04:00
Jérémie Laval 95f9ffacad Merge pull request #932 from exony-craigminihan/bugzilla#18182
[Fix] Bugzilla #18182 - ConcurrentQueue<T>.TryPeek() is not thread safe
2014-03-17 13:38:05 -04:00
Marek Safar 276e18d2c7 [system] Update mobile sources list 2014-03-17 15:48:21 +01:00
Marek Safar 30305335b8 Merge pull request #956 from ermshiperete/bug-xamarin-14987
[corlib] Fix localized resource loading bug (#14987)
2014-03-17 15:42:08 +01:00
Marek Safar 16c05cafdf [mcs] Allow to set any metadata version 2014-03-17 15:38:45 +01:00
Marek Safar ef3f17e5a5 Merge pull request #959 from NN---/patch-4
Do not crash if path is specified
2014-03-17 08:56:19 +01:00
Rodrigo Kumpera e777f9d045 Merge pull request #937 from exony-craigminihan/bugzilla#18235
[Fix] Bugzilla #18235 - System.Runtime.Caching.MemoryCache doesn't order...
2014-03-16 22:02:42 -04:00
NN f6bfc46060 Do not crash if path is specified
AssemblyBuilder is not a good class for doing that but simply taking only the file name covers most cases.
The best solution is to rewrite this tool using Mono.Cecil.

FYI AL.exe from .NET is not written in managed because of the SRE limitation
2014-03-16 23:08:53 +02:00
Zoltan Varga cfd789102b [runtime] Fix the msvc build. 2014-03-16 13:29:46 -04:00
Craig Minihan c3a89bffeb [Fix] Bugzilla #18182 - ConcurrentQueue<T>.TryPeek() is not thread safe
- removed IsEmpty test from TryPeek() since not needed now
2014-03-15 14:05:01 -07:00
Craig Minihan 8218c4afa1 [Fix] Bugzilla #18235 - System.Runtime.Caching.MemoryCache doesn't order expirable items correctly
- BubbleUp() in MemoryCacheEntryPriorityQueue was not ordering correctly on item insert
- Added a test case
2014-03-15 13:57:50 -07:00
Craig Minihan 704456aa48 [Fix] Bugzilla #18182 - ConcurrentQueue<T>.TryPeek() is not thread safe
- in the previous version the IsEmpty could be false, but by time we get
  to head.Next.Value we get an exception since Value is now null
- passes existing test cases, although these are not definitive since
  they don't show threading issue
- would need to adapt System.Threading.Tasks.ParallelTestHelper to allow
  TryPeek() to be called during Enqueue/Dequeue operations to truly
  test this change out
2014-03-15 13:50:51 -07:00
Mark Probst 71ad74dc11 [sgen] Restore hazard pointers in suspend signal handler. Fixes #15695. 2014-03-14 15:29:28 -07:00
Zoltan Varga b17ae00fa3 [runtime] Fix make install when boehm is disabled. 2014-03-14 17:44:00 -04:00
Rodrigo Kumpera e593b75bce Bump mono version. 2014-03-14 14:57:57 -04:00
Stephen McConnel 25ab7f7e36 [corlib] Fix localized resource loading bug (#14987)
We shouldn't share non-existent resources between resource
managers since different resources can have different localizations.
2014-03-14 17:24:46 +01:00
Stephen McConnel 18d7638422 [MWF] Fix crash from null control in ContainerControl (#10537) 2014-03-14 12:06:53 +01:00
Marek Safar 578585e0e8 Merge pull request #953 from rcook/p-rcook-correct-spelling
Correct spelling DEFAULT_ACCESS_MODIFER -> DEFAULT_ACCESS_MODIFIER
2014-03-14 08:56:16 +01:00
Miguel de Icaza 0a13aae80e System/PCL: Implement HttpWebRequest.SupportsCookieContainer, WebRequest.CreateHttp; Fixes #18378 2014-03-13 22:53:49 -04:00
Miguel de Icaza 9566a1fd9e WebResponse.cs: Implement SupportsHeaders property 2014-03-13 22:36:53 -04:00
Rodrigo Kumpera ecf3c6499a [boehm] Fix memory management for toggleref.
Replace GC_free with GC_INTERNAL_FREE. The former might take the GC lock
and deadlock us.

Replace GC_INTERNAL_MALLOC with GC_INTERNAL_MALLOC_IGNORE_OFF_PAGE as
we don't need the rest of the GC messing around with the toggleref array.
2014-03-13 18:47:26 -04:00
Rodrigo Kumpera 5dc84a1dcf [thread] Only register a dead letter if the current NSThread is non-null.
This breaks all embedder that don't link with CoreFoundation. In mono's case, monodis.
2014-03-13 18:19:33 -04:00
Richard Cook a8fc26651c Correct spelling DEFAULT_ACCESS_MODIFER -> DEFAULT_ACCESS_MODIFIER 2014-03-13 15:19:26 -07:00
Rodrigo Kumpera f6e4b69727 Fix a race condition in the test suite. 2014-03-13 18:19:22 -04:00
Rodrigo Kumpera d8f724157b [sgen] Fix the merging code.
The right behavior is that the loop move values up to the original size
and them the store after the loop store past it.

Let's see the last 2 iterations:

//i == size - 1 (value = array[size - 2], tmp = array [size - 1])
dyn_array_int_set (array, size, value); //ok
value = tmp; //ok
tmp = dyn_array_int_get (array, i + 1); //tmp has an unknown value, as the last element was never stored to.

//i == size (value = array[size - 1], tmp = array [size])
dyn_array_int_set (array, size, value); //This sets the last element to the right value
value = tmp; //value is undefined, as tmp has
tmp = dyn_array_int_get (array, i + 1); //this is an out-of-bounds read as we're reading 2 elements past the end.

The after the loop store (tmp = array [size + 1]):
dyn_array_int_set (array, size + 1, tmp); //This sets the last element to an unknown value.

With the fix on the last iteration is - 1. The post store will use value, which has
the right value (array [size - 1]).
2014-03-13 18:19:22 -04:00
Zoltan Varga 89d46b1b36 [jit] Add a MONO_IS_CROSS_COMPILE define. 2014-03-13 14:28:19 -04:00
Zoltan Varga 1aa0b78cc4 [runtime] Update configure after changes to llvm-config in the newest llvm versions. 2014-03-13 13:55:46 -04:00
Aaron Bockover caadde86d9 [bxc#18361] mdbrebase: use File.Move instead of FileInfo.MoveTo 2014-03-13 13:12:51 -04:00
Marek Safar 060c0c67c0 [mcs] Ignore import failures for private types used in private structs 2014-03-13 10:33:15 +01:00
Alex Rønne Petersen f74f34db43 Add some pointless zero initializations to shut GCC at -O3 up. 2014-03-13 02:06:30 +01:00
Alex Rønne Petersen 0b97ca8686 Convert asserts in sgen-hash-table.c to SGEN_ASSERT (). 2014-03-12 22:59:47 +01:00
Alex Rønne Petersen 0e962a1782 Add an assert to sgen-hash-table.c!rehash_if_necessary () to make GCC at -O3 shut up. 2014-03-12 22:50:30 +01:00
Alex Rønne Petersen 3a45747932 Silence a gcc warning. 2014-03-12 22:05:58 +01:00
Alex Rønne Petersen a9e3264504 Add/update some .gitignore files so that a clean build + make check results in a clean repo. 2014-03-12 21:49:12 +01:00
Alex Rønne Petersen 8310ce510c Remove now-unused dyn_array_ptr_set () function. 2014-03-12 21:11:49 +01:00
Alex Rønne Petersen cfd5e7753b Add -fwrapv to gcc/clang flags.
We rely on signed overflow in many places (in particular for *detecting*
signed overflow), so we need to tell GCC and Clang to not perform any
optimizations that rely on it being undefined.
2014-03-12 21:11:09 +01:00
Rodrigo Kumpera ae165c5eb8 [sgen] Wrap DynArray into strongly types variants making the code cleaner and safer.
This paves the way for having different number of objects inline.
2014-03-12 14:31:05 -04:00
Rodrigo Kumpera dca87415f3 [sgen] Cleanup argument list of dfs1, src is a constant. 2014-03-12 14:31:04 -04:00
Rodrigo Kumpera 507d9bcd77 [sgen] Remove the elem_size field from DynArray - explicitly pass it instead.
This reduces the size of DynArray from 4 to 3 words. Small perf gain.
2014-03-12 14:31:04 -04:00
Rodrigo Kumpera d7612d7ed2 [sgen] Add an optimized variant of qsort using macros. This is 4x faster on sgen-bridge.
The macro produces a custom version of qsort that doesn't use memcpy or a function pointer.
2014-03-12 14:31:04 -04:00
Marek Safar b7ba13f9af [mcs] Private fields of structs can have type of another private not imported type 2014-03-12 18:28:02 +01:00
Marek Safar a492928ef8 [pcl] Complete System.Runtime.InteropServices facade 2014-03-12 18:28:02 +01:00
Zoltan Varga ddd6681635 [jit] Fix the passing of vtypes on arm in vararg calls. Fixes MonoTests.System.Reflection.Emit.MethodBuilderTest.CanCallVarargMethods in corlib. 2014-03-11 19:11:51 -04:00
Marek Safar 323f0816f4 Add missing types and methods 2014-03-11 23:22:16 +01:00
Miguel de Icaza 6d0ffb3df8 Further doc updates, and schema fixing 2014-03-11 12:32:34 -04:00
Sebastien Pouliot 5bda991de3 [System] Document the new API for SSL/TLS cipher suites control added in ServicePointManager 2014-03-11 11:25:31 -04:00
Rodrigo Kumpera a678a101ee Merge pull request #938 from exony-craigminihan/bugzilla#18245
[Fix] Bugzilla #18245 - System.Runtime.MemoryCache.GetValues() throws Lo...
2014-03-11 10:28:54 -04:00
Marek Safar e14d3d04a4 [interpreter] Fix a typo 2014-03-11 14:29:56 +01:00
Marek Safar 2fd90f98a4 [interpreter] Implement simple quote expression. Fixes #18248 2014-03-11 14:29:55 +01:00
Alex Rønne Petersen 07b4f05070 Add support/ to the build when cross-compiling. 2014-03-11 10:11:36 +01:00
Zoltan Varga d65d91435a Fix a warning. 2014-03-10 21:06:45 -04:00
Zoltan Varga bd546d2926 [runtime] Fix the build with newer clang versions. 2014-03-10 20:59:20 -04:00
Mark Probst a10dcb6eb2 [runtime] Simplify unit-tests Makefile. 2014-03-10 15:59:07 -07:00
Mark Probst d180972ddf [runtime] Move unit tests to separate directory. 2014-03-10 15:59:07 -07:00
Mark Probst 539b2b929e [runtime] Unit test for lock-free linked list set. 2014-03-10 15:59:07 -07:00
Michael Hutchinson 2e939dd1b8 [MSBuild] BXC18246 - GetAssemblyIdentity is not implemented 2014-03-10 17:26:11 -04:00
Zoltan Varga e2a27f3326 [llvm] Update the LLVM backend to llvm 714a9d742af9ce911a3a46aa6e55041099a04be1. 2014-03-10 17:17:17 -04:00
Rodrigo Kumpera 83f77a71f9 Merge pull request #945 from joelmartinez/master
Documentation Update - 4.5 Profile
2014-03-10 16:52:02 -04:00
Joel Martinez 8ca91971eb docupdate: System.Numerics documentation update 2014-03-10 15:14:03 -04:00
Joel Martinez 4122e47891 docupdate: Microsoft.CSharp documentation update 2014-03-10 15:14:03 -04:00
Joel Martinez 7e0cfc10a5 docupdate: System.ComponentModel.DataAnnotations documentation update 2014-03-10 15:14:02 -04:00
Joel Martinez 3a0e33c369 docupdate: System.ComponentModel.Composition documentation update 2014-03-10 15:14:02 -04:00
Joel Martinez 7e5a64f35c docupdate: System.Core documentation update 2014-03-10 15:14:02 -04:00
Joel Martinez 307bd4fa43 docupdate: System.IO.Compression documentation update 2014-03-10 15:14:01 -04:00
Joel Martinez 2b564279c7 docupdate: System.Json documentation update 2014-03-10 15:14:01 -04:00
Joel Martinez 93f2e9f1f4 docupdate: System.Runtime.Serialization documentation update 2014-03-10 15:14:01 -04:00
Joel Martinez 46bf898791 docupdate: System.Security documentation update 2014-03-10 15:14:01 -04:00
Joel Martinez 68cf38bad0 docupdate: System.ServiceModel documentation update 2014-03-10 15:14:00 -04:00
Joel Martinez 25ca8ae5df docupdate: System.Xml.Linq documentation update 2014-03-10 15:14:00 -04:00
Joel Martinez 7bdbca8e92 docupdate: System.Xml documentation update 2014-03-10 15:13:59 -04:00
Joel Martinez 6537401395 docupdate: Mono.Options documentation update 2014-03-10 15:13:59 -04:00
Joel Martinez b17e448d93 docupdate: updated corlib documentation to the 4.5 profile 2014-03-10 15:13:59 -04:00
Joel Martinez b6baded277 Updated mdoc to remove <AssemblyVersions> tag 2014-03-10 15:13:57 -04:00
Joel Martinez ec03cbdc01 Fixed some reference issues with mdoc.csproj: mono.cecil assembly reference, and some resource files were incorrect 2014-03-10 15:13:56 -04:00
Joel Martinez eebbfbef2b docupdate: updated System.dll documentation 2014-03-10 15:13:56 -04:00
Joel Martinez df40b02d52 Updated makefile for Facades to avoid updating docs in that folder. 2014-03-10 15:13:55 -04:00
Zoltan Varga 6b6aee8c65 [jit] Add support for --debug=casts to one cast codepath, factor out common code. Fixes #18280. 2014-03-10 15:10:33 -04:00
Zoltan Varga 98619c109a [jit] Add an optimization to use the optimized delegate invoke trampolines in some special cases, since the corresponding delegate invoke wrappers cannot be AOTed. Fixes part of #17423. 2014-03-10 14:54:35 -04:00
Zoltan Varga f81868477f [jit] Change the sgen vector allocator il code so it can be AOTed. 2014-03-10 14:45:55 -04:00
Marek Safar 3d23503a90 [interpreter] Size reduction 2014-03-10 16:14:56 +01:00
Marek Safar 6b959efb22 [corlib] Update en-au pm/am designators 2014-03-10 11:33:44 +01:00
Kimura Youichi cc21d974b5 Fix setter of TableLayoutPanel.LayoutSettings throws unwanted exception (Novell bug #497562) 2014-03-10 05:26:46 +09:00
Kimura Youichi 44bedb30d7 Add unit test for Novell bug #497562 2014-03-10 05:26:35 +09:00
Marek Safar 81573de69d [corlib] Add .net compatible separators for es culture 2014-03-08 23:05:53 +01:00
Marek Safar 0d4949b842 Merge pull request #940 from alistair/ilist_xml_serialization
ilist xml serialization
2014-03-08 23:01:13 +01:00
Zoltan Varga 34fa78a5d8 [bcl] Work around quadratic behavior in NunitLite's AreEquivalent () methods. 2014-03-08 16:11:36 -05:00
Alistair Bush eaa5a184ca Add test to ensure using concrete List as readonly property still serializes
This change is released under the MIT license.
2014-03-09 01:12:06 +13:00
Alistair Bush f3296a1559 When a read only property and the type is an interface we can't serialize the type.
This change is released under the MIT license.
2014-03-09 01:05:24 +13:00
Rodrigo Kumpera 8a0c516a7c [corlib] Fix the mobile profile. 2014-03-07 18:00:17 -05:00
Rodrigo Kumpera c40af3e9a0 [io-layer] Bionic doesn't have clock_nanosleep. 2014-03-07 18:00:17 -05:00
Zoltan Varga beb190172d [runtime] Make different kinds of delegate invokes use a different name. 2014-03-07 14:23:26 -05:00
Marek Safar 200682ac78 Update CLDR to version 2.4. Fixes #17615 2014-03-07 17:56:33 +01:00
Marek Safar 802bc45cae [corlib] Fix culture name constants in CreateSpecificCultureFromNeutral to be all lower case 2014-03-07 17:56:33 +01:00
Rodrigo Kumpera 7ca713e156 [sgen] Change the bridge interface to include richer type information on classes.
There is an additional axis to bridge processing than just if a type is a bridge or not.
It can be processing transparent or opaque.

We didn't make this distinction before and treated all types as transparent.

Opaque types means that bridge processing should stop at them. An opaque bridge, in
addition to that, means it should be reported in.

This change paves the way for bridge graph pruning.
2014-03-07 10:37:20 -05:00
Craig Minihan d4ea35a94a [Fix] Bugzilla #18245 - System.Runtime.MemoryCache.GetValues() throws LockRecursionException with expired items
- GetValues() calls MemoryCacheContainer.GetEntry() which now gets an EnterUpgradeableReadLock needed by ExpireIfNeeded()
- Added a test case
2014-03-07 04:40:23 -08:00
Michael Hutchinson e01250c2c7 Merge pull request #915 from knocte/master
xbuild: include a Microsoft.Portable.Common.targets file (for F#)
2014-03-06 16:57:18 -05:00
Marek Safar ea324fa5ea [system.net.htt[] Pass CancellationToken in GetAsync. Fixes #13281 2014-03-06 22:54:39 +01:00
Marek Safar 4b4ddb66b3 [corlib] Improve flow of ExecutionContext (few tests taken from https://github.com/mono/mono/pull/864). Fixes #18121 and similar. 2014-03-06 19:54:06 +01:00
Rodrigo Kumpera 0da40ef41b Merge pull request #936 from adahn/master
[runtime] Fixed flags for VirtualAlloc in mono_valloc (Windows)
2014-03-06 11:18:31 -05:00
Marek Safar bc1d754ec1 Merge pull request #866 from linquize/content-type-encoding
(master) If HTTP charset header is empty, do not append content encoding to Content-Type header
2014-03-06 17:07:27 +01:00
Adam Rzepka 5dc8b1cdff [runtime] Fixed flags for VirtualAlloc in mono_valloc (Windows) 2014-03-06 15:46:54 +01:00
Rodrigo Kumpera 00853025ec Merge pull request #934 from exony-craigminihan/bugzilla#17897-B
[Fix] Bugzilla #17897 - MemoryCacheEntryPriorityQueue throws out of boun...
2014-03-06 08:40:47 -05:00
Craig Minihan 58e399bb9b [Fix] Bugzilla #17897 - MemoryCacheEntryPriorityQueue throws out of bounds after shrink
- when MemoryCacheEntryPriorityQueue grows the timed items after a shrink
  the value of the member variable heapSize is wrong allowing an out-of-
  bounds exception which would normally be prevented by bounds tests
- A test case was added for the out-of-bounds exception
2014-03-06 02:46:49 -08:00
Zoltan Varga 865389c630 Disable the test-messages test on win32, its not needed. 2014-03-05 21:23:09 -05:00
Zoltan Varga 8d65a236c9 [runtime] Fix loaded llvm support. 2014-03-05 21:13:45 -05:00
Zoltan Varga cfabe7be1c [runtime] Disable MONO_XEN_OPT on windows. 2014-03-05 21:12:36 -05:00
Zoltan Varga 7070b4ab46 [jit] Implement the push/pop LMF code in IR on windows too. 2014-03-05 21:11:49 -05:00
Zoltan Varga b5523227a5 Really fix the build. 2014-03-05 19:15:40 -05:00
Zoltan Varga 03212f394f [runtime] Move some counters to the mono-counters infrastructure, to break dependencies between utils/ and metadata/. 2014-03-05 17:30:08 -05:00
Marek Safar 4a9ea4c37a [corlib] Parse datetime string using culture calendar. Fixes #18052 2014-03-05 23:26:16 +01:00
Zoltan Varga 5b258ea848 [runtime] Fix a memory leak. 2014-03-05 17:01:48 -05:00
Zoltan Varga c5f8c79486 [runtime] Fix a memory leak. 2014-03-05 16:41:56 -05:00
Zoltan Varga ac8ecaaea4 [runtime] Fix a memory leak. 2014-03-05 16:40:50 -05:00
Zoltan Varga 0c40a9856a [runtime] Implement wapi_process_get_path () on non osx platforms by falling back to get_process_name_from_proc (). 2014-03-05 15:49:49 -05:00
Zoltan Varga 0bbaa58f20 [sdb] Add some debug output to help track down #18100. 2014-03-05 14:41:15 -05:00
Zoltan Varga 0bdbf3f2ba Fix the build. 2014-03-05 14:33:09 -05:00
Marek Safar 0c35602a17 [corlib] Implement CultureInfo.ClearCachedData. Fixes #18162 2014-03-05 19:45:28 +01:00
Zoltan Varga ed16d69d4b [mdoc] Fix the tests. 2014-03-05 13:12:38 -05:00
Marek Safar 66aa46557b Merge pull request #931 from exony-craigminihan/bugzilla#18097
Correctly set Count after call to ConcurrentStack.PushRange()
2014-03-05 15:19:27 +01:00
Craig Minihan 7bc35e0a01 Correctly set Count after call to ConcurrentStack.PushRange() 2014-03-05 04:33:54 -08:00
Marek Safar 153692f609 Merge pull request #930 from theraot/master
New cast to double and float for BigInteger
2014-03-05 08:22:02 +01:00
Alex Rønne Petersen 7843622f2c Add a MONO_CONSERVATIVE_HWCAP environment variable.
Also a bit of cleanup in the hwcap code.
2014-03-05 07:44:23 +01:00
Alex Rønne Petersen fcbf89d2ad Add a MONO_DEBUG=suspend-on-exception option. 2014-03-05 07:44:15 +01:00
Zoltan Varga 243899a5bd [runtime] Launch managed exe's using the current runtime executable if possible. Fixes #17820. 2014-03-04 22:05:33 -05:00
Zoltan Varga 490ca4b751 Revert parts of 6769a30f4, it disabled the hand-specialized sort methods in the non-aot case instead of the aot case. 2014-03-04 18:41:42 -05:00
theraot df50c16760 [Fix] BigInteger: reimplemented cast to single (float)
- The new implementation casts to double and then to float.
2014-03-04 16:19:19 -05:00
theraot f2dd91de16 [Fix] BigInteger: improved cast to double
- Added overloads for PopulationCount and LeadingZeroCount that take ulong.
- Added helper method BuildDouble that constructs a double by sign, mantissa
  and exponent. This method truncates the mantissa, thus may differ in
  rounding to Math.Pow.
- The new implementation avoids Math.Pow by using BuildDouble.
- Passing all recently added tests.
2014-03-04 13:59:11 -05:00
theraot 7d23576855 BigInteger: more test cases for cast to double 2014-03-04 13:43:58 -05:00
Marek Safar 2f909cf433 [interpreter] Size reduction 2014-03-04 19:40:25 +01:00
Marek Safar 6f96d2d973 [mcs] Emit correct code for lifted nullable bool logical operators where left operand is not pre cached. 2014-03-04 18:34:31 +01:00
theraot f277bca903 BigInteger: added tests for double conversion 2014-03-04 11:28:34 -05:00
theraot 1868150cbe [Performance] BigInteger: cast to double and float
- The new implementation converts directly to double or float.
2014-03-04 11:14:01 -05:00
theraot 697c793e47 BigIngeter: new LeadingZeroCount helper method
- The new helper method LeadingZeroCount returns the number of bits
  that are set to 0 at the start of an uint.
2014-03-04 11:12:41 -05:00
Sebastien Pouliot 56d406876f [System.ServiceModel.Web] Fix regression when converting strings using some (like German) cultures [#18131] and add unit test 2014-03-04 09:00:36 -05:00
Marek Safar 9cbe9c372b [corlib] Seal InternalThread 2014-03-04 10:17:30 +01:00
Zoltan Varga 1e811b2c65 [runtime] Fix the cross-compiler build. 2014-03-04 00:05:42 -05:00
Zoltan Varga 9c1971cf9d [runtime] Fix a memory leak. 2014-03-03 22:26:16 -05:00
Zoltan Varga d1c6d5a164 [llvm] Create separate MonoLLVMModule and an LLVM execution engine for each appdomain so they can be freed when the appdomain is unloaded. Part of the fix for #18083. 2014-03-03 20:32:35 -05:00
Zoltan Varga 9968d23b8c Fix the build. 2014-03-03 16:22:02 -05:00
Zoltan Varga b28b84f05e [llvm] Remove some debug spew. 2014-03-03 15:04:52 -05:00
Zoltan Varga 9ed2e8e22e [llvm] Make the 'llvm_types' hashtable per-domain to fix memory leaks. 2014-03-03 14:54:00 -05:00
Zoltan Varga b1b7ef35b1 [jit] Add support for the new DUMMY_ opcodes to the arm backend. 2014-03-03 14:53:28 -05:00
Zoltan Varga 2e34a838d3 [llvm] Fix more memory leaks. 2014-03-03 14:49:11 -05:00
Zoltan Varga 1aa63665e6 [llvm] Fix a memory leak. 2014-03-03 12:58:22 -05:00
Zoltan Varga d8a94636ac [llvm] Fix a memory leak. 2014-03-03 12:50:47 -05:00
Marek Safar db84f82ecb [mcs] Mark switch statement block scope statements as reachable. Fixes #18092 2014-03-03 18:10:08 +01:00
Martin Baulig 93fe81b22e This is a .NET 4.5 test. 2014-03-03 17:35:38 +01:00
Zoltan Varga ff9d20e5b1 [jit] Add LLVM support for the new OP_DUMMY_ opcodes. 2014-03-02 17:16:16 -05:00
Zoltan Varga cf2aa3162e [jit] Avoid forcing initlocals to TRUE when the 'unsafe' optimization flag is set. Fixes #18068. 2014-03-02 17:06:24 -05:00
Jeffrey Stedfast 250756b5f5 Merge pull request #929 from edbprx/master
Data corruption using SslStream (Xamarin bug 15293)
2014-03-01 20:53:37 -05:00
Zoltan Varga eef1f283a6 [jit] Allow inlining of calls to method with the AggressiveInlining attribute in aot mode. 2014-02-28 20:06:13 -05:00
Zoltan Varga 2d77b39444 [jit] Fix an uninitialized memory problem in the soft-float code. 2014-02-28 19:52:39 -05:00
Zoltan Varga ea38ea330c [jit] Implement proper tail call support on arm. Fixes #17654. 2014-02-28 19:01:16 -05:00
Ed Boren ee17eca298 Data corruption using SslStream (Xamarin bug 15293)
When reading and writing data at the same time over an
System.Net.Security.SslStream, an exception will be thrown often.
Usually the exception is: Mono.Security.Protocol.Tls.TlsException “Bad
record MAC”

The issue is that the single TlsCipherSuite instance used for both
reading and writing does not synchronize access to the “header” member.
If the contents get corrupted the MAC calculation returned by
ComputServerRecordMAC or ComputeClientRecordMAC is incorrect.

See https://bugzilla.xamarin.com/show_bug.cgi?id=15293. Reproduced in
OS X, iOS and Windows.
2014-02-28 17:08:15 -05:00
Alex Rønne Petersen 510eae664c Fix a warning introduced by the boehm toggleref code. 2014-02-28 22:43:03 +01:00
Alex Rønne Petersen 830c5172c4 Merge pull request #927 from ermshiperete/novell-bug-708856
[MWF] Fix finding of X11 shared library on Ubuntu (#708856)
2014-02-28 22:29:51 +01:00
Alex Rønne Petersen af7ed330ae Properly fix the iowait_ticks / strtoull () warning in mono-proclib. 2014-02-28 22:18:58 +01:00
Zoltan Varga 476c90fe96 [llvm] Fix --enable-loadedllvm on osx/amd64. 2014-02-28 13:36:59 -05:00
Eberhard Beilharz 5a79253d67 [MWF] Fix finding of X11 shared library on Ubuntu (#708856)
When libX11-dev is not installed on an end-user's machine MWF apps
will crash in XCreateFontSet. This change uses dynamic search path
when building instead of hard coded directories when
searching for libX11.so.*. This fixes bug 708856
(https://bugzilla.novell.com/show_bug.cgi?id=708856).
2014-02-28 18:04:40 +01:00
Zoltan Varga 342418201c [runtime] Fix memory leaks and usage of freed memory in ves_icall_System_Net_Dns_GetHostByName_internal. Fixes #18063. 2014-02-28 11:31:49 -05:00
Martin Baulig 51984e1631 Fix this again. 2014-02-28 17:27:16 +01:00
Marek Safar 9c4c295524 [corlib] Method signature fixes 2014-02-28 13:30:16 +01:00
Zoltan Varga fe3b21ae71 [corlib] Disable an OOM test which shouldn't fail on 64 bit machines. 2014-02-27 19:14:22 -05:00
Mark Probst ba9e1a26a8 [sgen] Fix cardtable for huge (>4gb) objects on 64bit.
We use an overlapping card table on 64 bits, meaning that the address
space wraps around our card table (every 4gb).  We had assumed in a few
places that an object could wrap around the end of the card table at most
once, but with objects larger than 4gb that is not the case.

Fixes the corlib test suite crash on OSX/64bit
(in SortedListTest.TestCapacity4).
2014-02-27 14:41:52 -08:00
Martin Baulig 154272d7a6 NUnitLite does not know Assert.IsInstanceOfType(). 2014-02-27 20:39:22 +01:00
Zoltan Varga 10b3d70111 [runtime] Fix an assertion which is hit if thread_cleanup () is called for a thread after it has been finalized during shutdown. 2014-02-27 14:33:33 -05:00
Marek Safar dff86fe824 [corlib] Add missing api 2014-02-27 20:22:12 +01:00
Zoltan Varga e98625a6e3 [runtime] Switch the order of LLVM_LIBS and LLVM_LDFLAGS on the linker command line. Hopefully fixes #17931. 2014-02-27 13:32:50 -05:00
Zoltan Varga 42edc1dddb Revert "[runtime] Add support for jagged array ctors which create an array of arrays. Fixes #17944."
This reverts commit 2136f8f0bc.

Revert this as it breaks make check PROFILE=net_2_0 in corlib.
2014-02-27 12:36:37 -05:00
Marek Safar 2009c2284e Merge pull request #922 from ermshiperete/novell-bug-599689
Fix Novell bug 599689
2014-02-27 16:41:04 +01:00
Marek Safar 1642d39e9f Merge pull request #921 from ermshiperete/novell-bug-594490
Allow qualified names in XmlAttribute serialization
2014-02-27 16:40:11 +01:00
Eberhard Beilharz aa6842b2fc [Sys.Xml] Fix Novell bug #599689
This change fixes #599689
(https://bugzilla.novell.com/show_bug.cgi?id=599689) by making the
output of XmlSchemaException.ToString() match the output under .NET.
2014-02-27 16:33:08 +01:00
Martin Baulig 5011900cc3 Fix the mobile build.
On the mobile profile, System.Xml.Linq is signed with the winfx key, not
with the ecma one, so we need a different [assembly: InternalsVisibleTo].
2014-02-27 16:30:29 +01:00
Eberhard Beilharz 86164dac13 [Sys.Xml] Add unit test for Novell bug #599689
The unit test demonstrates a difference between Mono and .NET
(https://bugzilla.novell.com/show_bug.cgi?id=599689).
2014-02-27 16:28:08 +01:00
Neil Mayhew 43ccb972b4 [Sys.Xml] Allow qualified names in XmlAttribute serialization
This fixes Mono bug #594490
(https://bugzilla.novell.com/show_bug.cgi?id=594490).
2014-02-27 16:01:50 +01:00
Eberhard Beilharz c0ef1fcb02 [Sys.Xml] Add unit test for Novell bug #594490
The unit test demonstrates the problem of serializing the
xml:lang attribute.
2014-02-27 15:57:57 +01:00
Miguel de Icaza 89684c509a Merge pull request #912 from Treer/patch-1
[FIX] mono-xmltool can't write to a file when prettyprinting, and corrupts the input file.
2014-02-26 23:09:19 -05:00
Rodrigo Kumpera 5611946a30 [boehm] Integrate toggleref support into the runtime. 2014-02-26 18:07:28 -05:00
Rodrigo Kumpera ae15e93b92 [boehm] Add toggleref support for boehm. This is line by line port of the sgen code, so keep them in sync. 2014-02-26 18:07:28 -05:00
Zoltan Varga 2136f8f0bc [runtime] Add support for jagged array ctors which create an array of arrays. Fixes #17944. 2014-02-26 16:16:45 -05:00
Zoltan Varga cba20cd722 [jit] Move a debug message to a larger verbosity level. 2014-02-26 16:16:44 -05:00
Zoltan Varga 243cecfaf2 [runtime] Fix the --enable-loadedllvm build on linux. 2014-02-26 21:39:33 +01:00
Zoltan Varga 9ad06a3bf6 [bcl] Allow Marshal.SizeOf () to work on pointer types. Fixes #17587. 2014-02-26 15:14:39 -05:00
Zoltan Varga 3953bef4aa [runtime] Add a FIXME. 2014-02-26 14:53:47 -05:00
Mark Probst 484d5d0408 [runtime] Fix a thread join race condition. Fixes #18026. 2014-02-26 11:07:19 -08:00
Zoltan Varga b87d9f4a32 [runtime] Fix an assert if a thread cannot be created. Fixes #18000. 2014-02-26 13:41:58 -05:00
Rodrigo Kumpera 8bbaaa0c57 [sgen] Ensure togglerefs are only cleared after we proccess finalizers and CWT.
Clearing TRs before finalizers and CWT means user driver resurrection would fail
badly.
2014-02-26 12:24:35 -05:00
Zoltan Varga 2c64ed7866 [bcl] Fix System tests. 2014-02-26 12:00:48 -05:00
Martin Baulig 8f2d3ea31d HttpWebRequest: Only add "Content-Length" if we have a body; fixes #17736. 2014-02-26 15:49:25 +01:00
Marek Safar e511e29095 [System] Add NetworkCredential 4.0 construtors. Fixes #18005 2014-02-26 10:54:29 +01:00
Marek Safar 32317ae405 [dlr] Add interpreter increment emit 2014-02-26 10:44:51 +01:00
Michael Hutchinson 0246bd1729 [gacutil] Create correct relative package symlinks
BXC17951 - broken softlinks in mono/xbuild/12.0/bin
2014-02-25 19:32:25 -05:00
Zoltan Varga 6124460628 [runtime] Remove the usage of pthread_cleanup_push/pop functions from io-layer code. 2014-02-25 19:03:51 -05:00
Zoltan Varga 7f0b4dc545 Merge pull request #914 from eiz/master
Fix memory leak.
2014-02-25 17:55:09 -05:00
Andrés G. Aragoneses 76d4e2ad1e xbuild: include a Microsoft.Portable.Common.targets file (for F#)
F# PCL projects expect this file to exist in:
$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.Common.targets

So in order to avoid pristine F# PCL projects (created from VS) fail
the build that file has to exist, and import the Core targets like
its CSharp counterpart (Microsoft.Portable.CSharp.targets) does.

Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=17906
2014-02-25 13:10:29 +01:00
Mackenzie Straight f657c5c5f4 Fix memory leak.
Introduced in b322a6e410. variance_used
was not being set before use, resulting in leaked trampolines when
calling methods on variant interfaces.
2014-02-25 04:05:04 -05:00
Miguel de Icaza d28e7b7955 [System.Runtime.Serialization] Fix from Brendan Zagaeski for bug #17663 2014-02-24 21:16:29 -05:00
Miguel de Icaza a195d21e04 [runtime] some inline api docs 2014-02-24 21:14:05 -05:00
Rodrigo Kumpera ba5aecb347 [sgen] Ensure minor_collection_allowance is always initialized. This avoid a spurious GC on startup. 2014-02-24 18:35:06 -05:00
Rodrigo Kumpera fba337b499 [sgen] Add regression test for toggleref transient marking bug. 2014-02-24 18:35:06 -05:00
Rodrigo Kumpera 362b3cc059 [sgen] Split mark/clean phase of sgen-toggle processing to account for transitive liveness.
Given two TG objects A and B. A is strong, B is weak, A points to B. B should remain registered
for TG processing since it's reachable thru A.

This means we have to split processing in multiple steps. Phase one marks all strong refs that should
happen before finalizer processing and phase two that happens after finalizers that cleanup those
that turned unreachable.
2014-02-24 18:35:05 -05:00
Rodrigo Kumpera 93f3bdf944 [sgen] We must do bridge processing with all sgen locks taken. 2014-02-24 18:35:05 -05:00
Rodrigo Kumpera a30838160e [sgen] Add internal test helper for sgen-toggleref. 2014-02-24 18:35:05 -05:00
Zoltan Varga 3114a6561a [runtime] Fix reading invalid memory during some checks for remoting types. 2014-02-24 17:25:39 -05:00
Zoltan Varga ce43afaee2 [runtime] Fix a memory leak. 2014-02-24 17:25:39 -05:00
Marek Safar 706426c3a2 [mcs] Don't report internal error for unresolved catch type. Fixes #17975 2014-02-24 23:08:16 +01:00
Zoltan Varga a1ee26a7c8 [runtime] Fix the order of how we fix types during appdomain unload. Fixes #17977. 2014-02-24 16:30:52 -05:00
Marek Safar 7632747636 [corlib] Simplify ambiguous chinese legacy name check 2014-02-24 21:59:10 +01:00
Zoltan Varga a1f8b20f20 [runtime] Export mini_type_is_vtype on linux as it is needed by the loaded llvm module. 2014-02-24 21:20:40 +01:00
Zoltan Varga e040f62eff [aot] Add support for encoding method addresses using call instructions on x86/amd64 as well, not enabled. 2014-02-24 14:41:34 -05:00
Zoltan Varga 98a57b7e67 [jit] Fix mono_arch_get_call_target () on x86/amd64. 2014-02-24 14:41:33 -05:00
Rodrigo Kumpera 9e8ecbc553 Fix the version string. 2014-02-24 11:53:45 -05:00
Marek Safar adb82c8bb0 [mcs] Simplify array element initializer load 2014-02-24 16:01:22 +01:00
Marek Safar 9cf471386b [mcs] Release array stack variable once all elements are initialized. Fixes #17942 2014-02-24 16:01:21 +01:00
Treer 18201dd3e9 xmltool.cs fix for writing output to files
A bug in argument handling meant that "mono-xmltool --prettyprint source.xml dest.xml" fails to write dest.xml and erases the contents of source.xml
2014-02-24 21:01:18 +11:00
Marek Safar 28243cc0e4 Merge pull request #910 from akoeplinger/cleanup-test-ignores
[Test] Cleaned up how a bunch of tests were ignored
2014-02-24 08:46:23 +01:00
Alexander Köplinger b0032294da [Test] Cleaned up how a bunch of tests were ignored
Previously, many tests just had a return statement when the test shouldn't
be executed (e.g. Unix-only). This made it look like the test was successful
when in fact it wasn't executed at all.
Assert.Ignore() is now used instead to correctly exclude those tests.
2014-02-23 19:44:21 +01:00
Atsushi Eno 06502ec1e9 [msbuild] for EmbeddedResource naming, take AutoGen property into consideration. 2014-02-23 23:36:02 +09:00
Miguel de Icaza c86473c2ba Work around DNS problem on the build hosts 2014-02-21 18:09:36 -05:00
Rodrigo Kumpera ed2d8f0b60 Merge pull request #908 from madewokherd/mingw-build
Avoid a POSIX include on Windows.
2014-02-21 17:48:19 -05:00
Vincent Povirk 5d89c7ccad Avoid a POSIX include on Windows.
This commit licensed as MIT/X11.
2014-02-21 16:41:13 -06:00
Zoltan Varga 7f8a9abb17 [jit] Add more comments about why the 'dse' llvm optimization is disabled. 2014-02-21 16:21:45 -05:00
Zoltan Varga c198a393b4 Fix bootstrap with older mono versions. 2014-02-21 13:57:15 -05:00
Sebastien Pouliot bc0900537c [System] Enable WebSockets on the mobile profile. Update related unit tests to run on mobile (and fix one to build with NUnitlite) 2014-02-21 13:41:57 -05:00
Mark Probst 1a662679aa [runtime] Fix build on Linux. 2014-02-21 10:22:26 -08:00
Zoltan Varga 47a274c3d5 [runtime] More io-layer threading cleanups. 2014-02-25 17:38:53 -05:00
Zoltan Varga c58749d1e8 [runtime] Get rid of the _wapi_thread_signal_self () function. 2014-02-25 17:21:51 -05:00
Zoltan Varga b6732f5a98 [runtime] Get rid of the unused _wapi_thread_dispatch_apc_queue () function. 2014-02-25 17:13:24 -05:00
Zoltan Varga 55fe4ac0a4 [runtime] Get rid of OpenThread (), move its functionality to mono-threads.c. 2014-02-25 17:09:32 -05:00
Zoltan Varga 2fed14d6ef [runtime] Allocate code chunks next to each other if possible to prevent vm fragmentation when they are freed during domain unloading. Fixes #17987. 2014-02-25 17:05:26 -05:00
Zoltan Varga 269879d6cd [runtime] Align sizes before aligning them to pagesize in the code manager to avoid allocating blocks which are larger than they should be. 2014-02-25 17:00:23 -05:00
Zoltan Varga d962b11e1b Fix a warning. 2014-02-25 16:21:20 -05:00
Zoltan Varga 4e012c326d [runtime] Fix SleepEx () on linux to clock_nanosleep () to work around time drifting caused by interrupts. 2014-02-25 16:20:01 -05:00
Martin Baulig c4941b96b6 Oops, fix the build. 2014-02-25 19:11:05 +01:00
Martin Baulig 2d573ae1ce [Sys.Xml]: Allow XElement to be deserialized; fixes #12571. 2014-02-25 18:59:29 +01:00
Martin Baulig 42c568fb11 [System]: Split WebClient.UploadData() data into chunks and fire the event.
This is mostly cosmetic and won't help unless you're sending a very large
buffer due to the kernel's internal buffering.  Unfortunately, there is no
way of getting a notification when the data has actually been sent over the
wire - socket.Write() returns after the kernel has accepted the data.
2014-02-25 18:59:20 +01:00
Martin Baulig faaa8a7c94 Async-ify the remaining WebConnectionStream pieces. 2014-02-25 18:57:30 +01:00
Zoltan Varga 190bd17354 [runtime] Fix the arm build. 2014-02-25 11:54:38 -05:00
Alex Rønne Petersen f759f1eef1 Merge pull request #913 from Daniel15/fix-catchall-routing-master
Fix routing of CatchAll tokens (Bug #17960) - on master
2014-02-25 17:52:21 +01:00
Paolo Molaro 57ade9dfca Added new API mono_runtime_set_main_args() and fixed CommandLine for embedders.
The new API allows to set the program arguments from embedders that don't call
mono_jit_exec() and related functions that set them automatically. This change
also fixes the NullRef exception that would happen if the arguments are not set.
2014-02-25 17:43:08 +01:00
Miguel de Icaza a871be7826 Add documentation for CFNetworkHandler 2014-02-25 11:43:01 -05:00
Zoltan Varga 2027961a5c Fix the build. 2014-02-25 11:38:46 -05:00
Miguel de Icaza 92beedb3a0 Add System.Net.Http documentation 2014-02-25 11:29:27 -05:00
Daniel Lo Nigro 627e902c8d Fix routing of CatchAll tokens 2014-02-24 10:11:47 -08:00
Marek Safar c83e56292d [System.Runtime.Caching] Fix ambiguous method call 2014-02-21 09:27:30 +01:00
Zoltan Varga 5065dab960 [runtime] Simplify the io-layer threading code a bit more. 2014-02-20 19:31:50 -05:00
Miguel de Icaza 22a4103091 [style] comment style updated 2014-02-20 19:12:08 -05:00
Rodrigo Kumpera 51d57122ef Add missing file I forget. Fix the build. 2014-02-20 18:24:38 -05:00
Rodrigo Kumpera 2d97048024 [runtime] Add an additional to detect thread death on Mach that happens even further in the cleanup process. 2014-02-20 18:11:01 -05:00
Zoltan Varga 426c784f50 [runtime] Disable DEBUG_DOMAIN_UNLOAD which was enabled by mistake. Fixes #17805. 2014-02-20 17:51:45 -05:00
Zoltan Varga e7c8bb12a5 [runtime] Get rid of the wapi_thread_interrupt_self () and the has_apc flag, it doesn't seem to be needed. 2014-02-20 17:07:20 -05:00
Marek Safar 2f076e3b2d Merge pull request #907 from enricosada/era_names
fix DateTimeFormatInfo era names
2014-02-20 21:28:09 +01:00
Zoltan Varga 6ecbeb2c2f Fix a warning. 2014-02-20 15:17:03 -05:00
Rodrigo Kumpera cff7efdb32 [runtime] Use the system limit when enforcing a new thread stack size. Fixes #17908. 2014-02-20 15:04:18 -05:00
Marek Safar eb04c47aa1 [mcs] Cleanup tie-breaking rules of better function member. Fixes #17755 2014-02-20 20:34:46 +01:00
Zoltan Varga 6d95657a21 [corlib] Remove the stack size limit check from CheckStackSize (), it should be possible to create larger stacks than the default. Fixes #17908. 2014-02-20 12:12:31 -05:00
Zoltan Varga 859f0ac73a [jit] Precompute a bit more information for delegate trampolines to speed them up. 2014-02-20 11:02:06 -05:00
Atsushi Eno 4139e7e658 When comparing string expressions, A, "A" and 'A' should be regarded as equivalent. 2014-02-20 18:23:03 +09:00
Atsushi Eno c57e14c21c Fix item expression parsing, indexes were wrong to parse after "->" . 2014-02-20 18:23:02 +09:00
Atsushi Eno 295ea83b32 ITaskItem.GetMetadata() implementations should not return null, but return "". 2014-02-20 18:23:02 +09:00
Atsushi Eno 25310c5561 Now our MS.Build.dll behaves like MS.Build.Engine.dll, replace \ with / at expansion time for everything.
Some MSBuild targets premises \ to work just like a path separator, and they
cannot be logically distinguished from any possible "normal" use of '\'.
(Except for escaped strings, which is why this change replaces \ with / after
expanding strings.)

I have added another override for NormalizeFilePath() and rather renamed old
one that works as file lookup, but there is no obvious difference in use.
They may be unified later to bring less confusion.
2014-02-20 18:23:01 +09:00
Atsushi Eno ce374a5817 Task load failures should not result in build errors, should be just warnings. 2014-02-20 18:22:41 +09:00
Atsushi Eno 8140531d91 Fix ElementLocation.File to NOT contain file URI, and then load task assembly from correct paths. 2014-02-20 18:22:40 +09:00
Atsushi Eno 03fc8b7fd9 UsingTasks are not collected expectedly when imports are involved. 2014-02-20 18:22:40 +09:00
Atsushi Eno d7702ec671 do not try to load assembly with empty string specification. Add tests for import/usingTask ordering.
One of the tests fail because we actually fail to pick up imported UsingTasks.
2014-02-20 18:22:23 +09:00
Atsushi Eno b3087090a6 Make sure to override existing ProjectPropertyInstance values when new decl. arrives. 2014-02-20 18:22:22 +09:00
Atsushi Eno 459b986b1c There is no local scope for properties and items that can be defined in a Target. 2014-02-20 18:22:22 +09:00
Atsushi Eno 92a1a5a008 remove some MonoTODOs. 2014-02-20 18:22:21 +09:00
Atsushi Eno c9122d4cba In a Project, Target can be overriden by another one with the identical name. 2014-02-20 18:22:21 +09:00
Jonathan Pryor 5597172dec [runtime] Add a "mobile" runtime version.
Xamarin.Android has historically used the "v2.0.50727" runtime
version -- which works -- but has the side effect that Mono constantly
generates runtime "warnings" akin to:

	The request to load the assembly mscorlib v2.0.5.0 was remapped to v2.0.0.0

The reason for this is that all of the Xamarin.Android assemblies have
the version number v2.0.5.0, while the "v2.0.50727" runtime version
expects assemblies to have version number v2.0.0.0; they differ.

Result: Mono warns (appropriately), and I do my best to ignore the
~meaningless warning message. (For years and years and years...)

It's time we fixed this.

Introduce a "mobile" runtime version which specifies the
Xamarin.Android v2.0.5.0 assembly versions. Xamarin.Android 4.14+ will
then specify the "mobile" runtime version, "fixing" the assembly remap
messages.
2014-02-19 22:22:14 -05:00
Enrico Sada fe489824b2 fix DateTimeFormatInfo era names
Calendar.Eras values start from 1 (1 = oldest)
As parameter of GetEraName or GetAbbreviatedEraName, era 0 mean current
era
2014-02-20 03:40:23 +01:00
Alex Rønne Petersen 5ff25684da Merge pull request #906 from kelly-linden/master
Add msvc/mono.props to EXTRA_DIST so make dist will find it.
2014-02-20 01:26:57 +01:00
Kelly eb0344c34f Add msvc/mono.props to EXTRA_DIST so make dist will find it. 2014-02-19 16:23:24 -08:00
Zoltan Varga 04a08edc14 Fix a warning. 2014-02-19 16:14:20 -05:00
Zoltan Varga 6295df5208 [jit] Optimize mono_merge_basic_blocks () for large methods. 2014-02-19 15:26:45 -05:00
Zoltan Varga e44f11191a [jit] Fix a crash when using -v -v -v -v with dynamic methods. 2014-02-19 15:26:45 -05:00
Aaron Bockover 494b4d6395 mono-api-html: ignore members using regex, add detailed help 2014-02-19 14:22:44 -05:00
Aaron Bockover 1f01ada267 mono-api-html: support ignoring added members
Use Mono.Options as well.
2014-02-19 14:22:44 -05:00
Rodrigo Kumpera 676ef96431 [bcl] Fix test suites. 2014-02-19 14:19:35 -05:00
Rodrigo Kumpera 8f4609ffe3 Bump version. 2014-02-19 14:13:01 -05:00
Zoltan Varga 08eb1124d8 [jit] Fix the stack cleanup during EH on x86 when LLVM is enabled. 2014-02-19 13:16:30 -05:00
Marek Safar 5fd43ffcb3 Add failing Uri test 2014-02-19 18:03:51 +01:00
Marek Safar da666f3aa0 [System] Kill some Uri static fields 2014-02-19 18:03:51 +01:00
Rodrigo Kumpera 8c33ccc896 Merge pull request #903 from simonhartmann/master
Bug 17838 - IDictionary item property implemention for ConcurrentDiction...
2014-02-19 11:59:49 -05:00
Simon Hartmann 11b5312c83 Bug 17838 - IDictionary item property implemention for ConcurrentDictionary/SortedList_T throws exception on non-existing key
Avoid double lookup for Dictionary IDictionary.get_Item property impl
2014-02-19 16:40:57 +01:00
Sebastien Pouliot 669d6a4561 [SSL/TLS] Fix typo to build when INSIDE_SYSTEM is defined 2014-02-19 09:54:30 -05:00
Marek Safar 651fc6a289 [System.Net.Http] Return ContentLength of the buffer when content is loaded into a buffer in request handler. Fixes #17861 2014-02-19 15:30:42 +01:00
Marek Safar f2f4e366b4 Merge pull request #905 from AxlPr/master
Fixed time out on HTTP redirects
2014-02-19 15:09:00 +01:00
Sebastien Pouliot ee2a498b05 [SSL/TLS] Update tlstest tool to build with 4.5 and to use/filter the client cipher suites 2014-02-19 08:51:52 -05:00
Sebastien Pouliot 43fcd744d0 [SSL/TLS] Expose Client/Server callbacks that can be used to select/reorder SSL/TLS cipher suites used (for client or server) and add unit tests for them [#16327] 2014-02-19 08:51:51 -05:00
Sebastien Pouliot 0af984a39b [SSL/TLS] Add support to select and/or re-order ciphers suites [#16327] 2014-02-19 08:51:51 -05:00
Sebastien Pouliot ec565240cf [System] Add new NET_4_5 values for SslProtocols enum 2014-02-19 08:51:51 -05:00
AxlPr b3ae7c6d11 Fixed time outs on http redirects
Fixed bug introduced by change 6ab86f50fd
where http request times out when it encounters a redirect.
2014-02-19 13:27:22 +00:00
Martin Baulig da6c88b49b [System] WebConnection and WebConnectionStream code cleanups.
* Merged WebConnection.EndWrite() and EndWrite2().

* WebConnectionStream.BeginWrite(): Use the same async-write
  callback for both chunked and non-chunked; remove the single-use
  small WriteRequestAsync() and inline it here to make the code
  more readable.

* WebConnectionStream.WriteRequestAsyncCB(): Now called for all
  async writes, call WebConnection.EndWrite() here.

The code is now more readable and easier to understand.  This is
the first part of a series of cleanups, which should eventually
lead towards full async and 100-continue.
2014-02-19 11:08:18 +01:00
Alex Rønne Petersen 0570fc0be4 Fix some warnings on !MONO_ARCH_AOT_SUPPORTED targets. 2014-02-19 03:43:27 +01:00
Alex Rønne Petersen ab73ddab6f Fix another mips32 warning. 2014-02-19 03:34:48 +01:00
Alex Rønne Petersen 07e74e129d Fix some warnings on mips32. 2014-02-19 03:19:08 +01:00
Michael Hutchinson d562f82d8f [xbuild] Exists should be false for empty values
BXC17802 - xbuild evaluates Exist wrongly when the item group does not exist
2014-02-18 18:25:39 -05:00
Alex Rønne Petersen 254954dc09 ARM: Emit shorter floating point load/store sequences when possible. 2014-02-18 23:22:55 +01:00
Alex Rønne Petersen f485233168 ARM: Handle large offsets in emit_float_args (). 2014-02-18 23:22:53 +01:00
Alex Rønne Petersen b0467a0c17 ARM: Back up VFP scratch registers before using them on hard float.
This is because d0-d7 are argument registers and d8-d15 are
preserved registers - we can't use any of them as scratch
registers without restoring their previous values.
2014-02-18 23:22:51 +01:00
Michael Hutchinson dadacb5421 [xbuild] Really don't local-copy mscorlib 2014-02-18 16:59:37 -05:00
Rodrigo Kumpera 3df3899e4b [runtime] Fix the linux build. 2014-02-18 16:36:20 -05:00
Marek Safar c4289c7764 [corlib] Change AggregateException get base exception to not rely on base GetBaseException 2014-02-18 22:33:01 +01:00
Marek Safar 268a8fbbaf [corlib] Remove unreliable test check 2014-02-18 21:41:16 +01:00
Michael Hutchinson 4f025a381c [xbuild] Clean up some API to match .NET
Some .NET 4 API had leaked into .NET 2 builds.
2014-02-18 12:04:23 -05:00
Michael Hutchinson ec7288ea3c [xbuild] Fix accidental local-copy of mscorlib
s
2014-02-18 12:04:21 -05:00
Michael Hutchinson 0396f3b1c3 [xbuild] Fix PCL 4.5 targets 2014-02-18 12:04:19 -05:00
Sebastien Pouliot 07d043e37c [Test] Fix previous test change as the test is dependent on line numbers 2014-02-18 10:49:25 -05:00
Sebastien Pouliot 1088183741 [Test] Avoid StackFrameTest.* failures when debugging symbols are not available (e.g. release configuration on iOS or Android) 2014-02-18 08:44:29 -05:00
Sebastien Pouliot d34c9297d1 [Test] Avoid MethodInfoTest.GetMethodBody failure when executed on a release (IL stripped) application on iOS 2014-02-18 08:44:28 -05:00
Sebastien Pouliot 2a81c70eaa [Test] Change FileTtest.MoveTest to use the temporary directory so it can be executed, without an access denied, on most environment (e.g. an iOS device) 2014-02-18 08:44:28 -05:00
Marek Safar a0173a7e76 Merge pull request #901 from Blewzman/FixAggregateExceptionGetBaseException
Add [Category ("NotWorking")] to failing test.
2014-02-18 11:42:47 +01:00
Blewzman a416234759 Add [Category ("NotWorking")] to failing test. 2014-02-18 10:22:54 +01:00
Alex Rønne Petersen 4d2de5c6ab Merge pull request #898 from UCIS/patch-3
Prevent exception in finalization of Form class
2014-02-18 03:41:27 +01:00
Alex Rønne Petersen 1a83c6ed5b Merge pull request #899 from UCIS/patch-4
Fix error in ToolStripItem finalization
2014-02-18 03:41:02 +01:00
Zoltan Varga 3f72288f57 [llvm] Disable the 'dse' optimization pass as it is buggy and causes #17616. Fixes #17616. 2014-02-17 18:34:26 -05:00
Rodrigo Kumpera a2c41c347f [runtime] Add two variants of mono_gc_bzero and mono_gc_memmove. They better convey the behavior we need.
After reviewing all usage of mono_gc_bzero and mono_gc_memmove, I found that there are two usage patterns
we care for:

1)Aligned pointer, any size, have managed pointers.
This happens when directly dealing with managed objects like when cloning of boxing.
On this case, all pointers MUST be aligned.

2)Maybe aligned pointer, any size, might have managed pointers.
This happens for functions dealing with structs, specially around boxing and unboxing them.
Our data layout code ensures that structs with managed layout are aligned to at least a word.
This means that if the pointer is unaligned, no managed pointer can exists in the memory range
been processed.

Given those two scenarios, lets introduce two variants that enforce those constrains.

_aligned:
Pointers must be aligned, ensures atomicity of word copies;

_atomic:
If pointers are aligned, works like _aligned, otherwise it inherits the behavior of the
system memmove&memset.

The above split ensures we won't have to deal with any RISC unaligned load nonsense.

It also adds some sanity checks to code that must respect alignment.

We still need fast code for mono_gc_memmove_aligned and mono_gc_bzero_aligned.

We still need to verify if a version of memcpy version is needed. Maybe the extra
branch is not such a perf penalty.
2014-02-17 17:03:56 -05:00
Marek Safar 5ad1099341 Merge pull request #900 from Blewzman/FixAggregateExceptionGetBaseException
Add unit test for AggregateException.GetBaseException that works on .net but is broken on Mono.
2014-02-17 17:56:55 +01:00
Blewzman a163bb7197 Add unit test for AggregateException.GetBaseException that works on .net but is broken on Mono. 2014-02-17 17:07:26 +01:00
Marek Safar 3646f687fe [mcs] Add NamespaceExpression to avoid problems with error location for misused namespaces. Fixes #17803 2014-02-17 16:37:30 +01:00
Rolf Bjarne Kvinge fff8231165 Properly preserve VPF registers in iOS. Fixes #17793. 2014-02-17 15:52:24 +01:00
Marek Safar 3f08ba83cc [mcs] Add nested types handling to check whether types unify for some type parameter substitutions. Fixes #17647 2014-02-17 11:15:34 +01:00
Marek Safar 657b95a863 Merge pull request #891 from DavidKarlas/listenerprefix
HttpListener now listens on default ports if not specified instead of random
2014-02-17 11:12:04 +01:00
Marek Safar eeeab3446f [corlib] Throw CultureNotFoundException using invariant culture. Fixes #17690 2014-02-16 18:11:46 +01:00
David Karlaš eaed50c0a2 HttpListener now listens on default ports if not specified instead of random 2014-02-16 04:58:32 -08:00
Zoltan Varga 50685c9733 Revert "[jit] Implement OP_CARD_TABLE_WBARRIER on ios."
This reverts commit b3f36681c7.

Revert this as it breaks mt.
2014-02-14 19:06:42 +01:00
Zoltan Varga 9c8a0eb7a1 Revert "[jit] Fix a regression introduced by b3f36681c72a6900cd5e9df9b593d555b351669f."
This reverts commit d50c836721.

Revert this as d50c836721 breaks mt.
2014-02-14 19:06:42 +01:00
Marek Safar 4447979d51 Fixes commit a63d0009af 2014-02-14 17:40:09 +01:00
Marek Safar a63d0009af [corlib] Unicode numbers are not considers valid in number parsing. Fixes #17628 2014-02-14 17:36:26 +01:00
Marek Safar f6eb2fc9ff [corlib] Fix warnings 2014-02-14 16:25:29 +01:00
Marek Safar 1abe31f994 [corlib] Improve TimeSpan custom formatting. Fixes #17699 2014-02-14 11:55:52 +01:00
Joao Matos eefbe2d246 Fixed incomplete decompression bug in System.IO.Compression.DeflateStream.
Call zlib's inflate() even if no data was read from the stream, there might still be some data left to process.

Originally reported by Eric Roller, as Xamarin bugzilla #17183.
https://bugzilla.xamarin.com/show_bug.cgi?id=17183

Reviewed by Rodrigo Kumpera.
2014-02-13 16:52:55 -05:00
Marek Safar 27feeb5a9a [corlib] Reset List enumerator current field. Fixes #17760 2014-02-13 22:26:13 +01:00
Marek Safar ceb62fdbe8 Fix typo 2014-02-13 22:13:30 +01:00
Marek Safar 8d40cb5b9c [system] Fix valid sorted set operations which could cause underlying tree modification 2014-02-13 19:59:56 +01:00
Marek Safar 831db4e0db [mcs] Imported methods need to have SpecialName flag to be valid C# operators 2014-02-13 19:59:56 +01:00
Marek Safar 049477004e Tests update 2014-02-13 19:59:56 +01:00
Martin Baulig 5e03c107bc Put back and fix the SSL async patch.
Revert "Revert "Merge pull request #829 from symform/httpwebreq-async-ssl""

This reverts commit 56d9a057eb, which was a
revert of 35899c07ff, thus putting 35889 back.
2014-02-13 18:48:16 +01:00
Marek Safar 1451cd9bce [mcs] Lift any non-nullable operand under runtime binder for lifted binary operation 2014-02-13 17:21:20 +01:00
Rodrigo Kumpera da2fe7195c Merge pull request #897 from echampet/scanbuild
Scanbuild
2014-02-13 11:02:09 -05:00
Martin Baulig 4b5f5f96c8 [System]: Reset NTLM auth state when redirecting; distinguish host and proxy. 2014-02-13 15:48:44 +01:00
Martin Baulig c6a70a9586 Rewrite and fix the web stack's connection reuse and idle logic.
* ServicePoint now uses an idle timer to close idle connections.

* WebConnectionGroup has been mostly rewritten to use a linked
  list of open connections and their idle times.

  This fixes both the problem that we were leaking sockets and
  that we were not reusing existing connections.

* ServicePoint now correctly keeps track of the number of open
  connections.

* ServicePointManager now uses the correct default idle time
  of 100 seconds (previously 15 minutes).

* WebConnection uses the new WebConnectionGroup's busy logic
  to correctly flag connections as busy / reusable.
2014-02-13 14:17:14 +01:00
Martin Baulig 861d495951 Fix WebConnectionStream.CheckComplete() logic for chunked encoding. 2014-02-13 13:22:19 +01:00
Rodrigo Kumpera a89b144a7d [corlib] Fix the 4.5 test suite. 2014-02-12 19:12:03 -05:00
Rodrigo Kumpera 21223d89c1 [runtime] Initialize param_count under DISABLE_JIT 2014-02-12 19:00:30 -05:00
Rodrigo Kumpera b4eaff51c0 [runtime] Don't abort on null module scope, there's nothing special to do there. Fixes #5835.
The defacto behavior of a null module scope is to resolve in the current image.
2014-02-12 18:53:10 -05:00
Rodrigo Kumpera 4072c020e1 [corlib] Remove obj_address debug helper, if anyone needs this, it can be done with overlapping fields. 2014-02-12 18:53:10 -05:00
Rodrigo Kumpera 51d2b75664 [corlib] Fix 4.0 test suite compilation. 2014-02-12 18:53:10 -05:00
Miguel de Icaza 3071b20dc5 Add test for Bug #15572 from pull request #820 2014-02-12 16:06:32 -05:00
Miguel de Icaza 1d1f618de4 Add tests for bug #15574, pull request 819 2014-02-12 15:39:24 -05:00
Miguel de Icaza dc186cf9ef Add tests for bug #15574, pull request 819 2014-02-12 15:39:24 -05:00
Miguel de Icaza c39718bbb3 Merge pull request #820 from brendanzagaeski/master
Bug 15572. Lookup KnownTypeCollection element types in MSSimpleNamespace
2014-02-12 15:31:12 -05:00
Miguel de Icaza 424595ea70 Merge pull request #819 from brendanzagaeski/patch-1
Bug 15574. XML deserialization recursion: add array type to known_types?
2014-02-12 15:30:30 -05:00
Miguel de Icaza e2812813f9 Merge pull request #796 from alesliehughes/master
Support for DispIdAttribute in GetIdsOfNames
2014-02-12 15:29:39 -05:00
Miguel de Icaza b57fcaa28b Merge pull request #778 from cmorris98/master
SqlBulkCopy Implementation
2014-02-12 15:25:59 -05:00
Miguel de Icaza 2cf74970a1 Merge pull request #835 from HorstKakuschke/master
Fixes Xamarin Bug 16742:  XmlConvert.ToDateTime(string, XmlDateTimeSeria...
2014-02-12 15:24:11 -05:00
Michael Hutchinson e753ca24e8 [xbuild] Fix dependency in C# targets
There was a typo in DependsOnTargets attribute of the
_AddCorlibReference target definition. It didn't break any
behaviour, since the target it depended on was always built
earlier in the build anyway, so it was really a sanity check.

However, it broke the tests for the new (unused) engine,
Microsoft.Build.dll, which checks for unexpected attributes.
2014-02-12 14:19:30 -05:00
Zoltan Varga 01ade94f36 Revert "[jit] Align the stack in mono_arch_restore_context () on x86 since it might be unaligned if it was captured asynchronously."
This reverts commit 7798b94706.

Revert this as it breaks debugging on android/x86 (#17410).
2014-02-12 20:11:35 +01:00
Miguel de Icaza 040ba8b7e8 [mscorlib] Path: fix GetFullPath (/../bin/bash) to return /bin/bash, not bin/bash, fixes 17083 2014-02-12 13:19:31 -05:00
Miguel de Icaza a2339679bc [HttpListener] Only bind to the specified hosts (and support '*' as Any), fixes #17204, #10818 2014-02-12 12:08:10 -05:00
Michael Hutchinson c1974786ca [xbuild] Fix 2.0 tests to handle mcs sdk argument 2014-02-12 12:04:59 -05:00
Miguel de Icaza 52e252bd1d [Uri] Fix the ParserUser feature of UriParseComponents
The current implementation was wrong, did not bother with pct-encoding
(despite being listed in the comments) and did not use the actual set
of characters listed on the spec, instead of using a white-list, it
had its own incorrect black-list.
2014-02-12 11:08:12 -05:00
Miguel de Icaza 847e71fdfe #17636: Allow Int32.Parse with/AllowExponents to take negative exponents. This is a change in behavior from 2009, when we fixed this: Novell#542464, now we match .NET 4.5 2014-02-12 09:32:23 -05:00
Miguel de Icaza f3fc0bb865 [DataAnnotation.Validator] Add support for nullable types, patch from [email protected], fixes #17318 2014-02-11 22:02:25 -05:00
Miguel de Icaza f2565054d5 WebRequest: Provide stub ImpersonationLevel
The old implementation threw an exception requesting that the method be implemented
in a derived class, but the method is not virtual, so it could have never been
implemented.

Since Mono does not support this, at least we keep the token around and avoid
throwing.
2014-02-11 21:53:44 -05:00
Ivo Smits 67a30ef5de Fix error in ToolStripItem finalization
The Dispose function in ToolStripItem should not remove itself from its owner during finalization. Finalization implies that the owner has also been garbage collected, and accessing it may result in undesirable behaviour. More specifically, the call to owner.Items.Remove ultimately may boil down to a call to GDI+ throwing an Exception like the following:

Program.UnhandledException: System.ArgumentException: A null reference or invalid value was found [GDI+ status: InvalidParameter]
  at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000] in <filename unknown>:0 
  at System.Drawing.Graphics.GdipMeasureString (IntPtr graphics, System.String text, System.Drawing.Font font, System.Drawing.RectangleF& layoutRect, IntPtr stringFormat) [0x00000] in <filename unknown>:0 
  at System.Drawing.Graphics.MeasureString (System.String text, System.Drawing.Font font, Int32 width, System.Drawing.StringFormat format) [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Drawing.Graphics:MeasureString (string,System.Drawing.Font,int,System.Drawing.StringFormat)
  at System.Windows.Forms.TextRenderer.MeasureTextInternal (IDeviceContext dc, System.String text, System.Drawing.Font font, Size proposedSize, TextFormatFlags flags, Boolean useMeasureString) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.TextRenderer.MeasureText (System.String text, System.Drawing.Font font, Size proposedSize, TextFormatFlags flags) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.ToolStripItem.CalculateAutoSize () [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.ToolStripItem.set_InternalOwner (System.Windows.Forms.ToolStrip value) [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.ToolStripItem:set_InternalOwner (System.Windows.Forms.ToolStrip)
  at System.Windows.Forms.ToolStripItemCollection.Remove (System.Windows.Forms.ToolStripItem value) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.ToolStripItem.Dispose (Boolean disposing) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.ToolStripDropDownItem.Dispose (Boolean disposing) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.ToolStripMenuItem.Dispose (Boolean disposing) [0x00000] in <filename unknown>:0 
  at System.ComponentModel.Component.Finalize () [0x00000] in <filename unknown>:0
2014-02-11 23:55:54 +01:00
Michael Hutchinson 693176c27f [xbuild] Fix Tooltask.ToolPath behaviour to match .NET 2014-02-11 16:46:28 -05:00
Michael Hutchinson df528313ab [xbuild] Make ToolLocationHelper work better for 2.0/3.5
Mono keeps unversioned tools in the 4.5 directory, so look there
for 2.0. Additionally, most 3.5 tools are in the 2.0 directory.
2014-02-11 16:44:09 -05:00
Michael Hutchinson a55c58844e [xbuild] Fix typo that broke 2.0/3.5 targets 2014-02-11 16:41:08 -05:00
Michael Hutchinson c705849b59 [xbuild] Fix mscorlib resolution for custom frameworks
Now that mcs supports multi-targeting, we can use the MSBuild 4.0+
system of finding mscorlib.dll in the target framework folders and
passing it to the compiler, along with the /nostdlib argument.

Like MSBuild, the old NoStdLib property can be set to true to disable
passing mscorlib.dll to the compiler, and the new NoCompilerStandardLib
property can be set to false to disable passing /nostdlib to the compiler.

This makes custom target frameworks work correctly without having to
override CscExe with a wrapper script.
2014-02-11 14:30:53 -05:00
Marek Safar 85fbadafd0 [mcs] Don't report any not applicable operator errors during constant folding. 2014-02-11 19:09:17 +01:00
Martin Baulig f70d569806 [NTLM]: Add new 'NtmlSettings' class to hold the 'DefaultAuthLevel' property.
When the NTLM sources are compiled into System.dll, then we need to store the
configuration variables there and peek/poke it in Mono.Security.
2014-02-11 18:51:33 +01:00
Marek Safar 1a33c018d1 [system] Updates to WebUtility decoders and encoders 2014-02-11 16:50:14 +01:00
Marek Safar 9ba1566be6 [system.xml] Add more invalid argument checks 2014-02-11 16:50:13 +01:00
Etienne CHAMPETIER 4d0e014a76 int a[0], malloc(0), memcpy(a,b,0), memcmp(c,d,0) doesn't make much sense
This remove a scan-build warning

Signed-off-by: Etienne CHAMPETIER <[email protected]>
2014-02-11 13:42:47 +01:00
Etienne CHAMPETIER df0030ccdd fix typo in mono_counters_cleanup leading to a double free
Signed-off-by: Etienne CHAMPETIER <[email protected]>
2014-02-11 12:49:57 +01:00
Zoltan Varga 620efd4c33 [arm] Use d0/d1 as fp scratch regs on non-hard float platforms. Hopefully fixes #17597. 2014-02-10 23:47:00 +01:00
Marek Safar a6e236b2d6 [system.xml] Support more primitive types in XmlReader::ReadContentAs 2014-02-10 23:10:58 +01:00
Mark Probst e3fa93de35 [runtime] Remove overly pessimistic test.
The test asserts that we can't allocate int arrays with 2G elements.
With SGen on 64 bits, however, we can, which is a feature, not
a bug.
2014-02-10 13:35:45 -08:00
Mark Probst 38637f5314 [sgen] new T[-1] must throw OverflowException, not OOM.
Fixes failure in mini/arrays.cs.
2014-02-10 13:33:10 -08:00
Mark Probst d77573cead [sgen] Hint OOM exception branch as not taken. 2014-02-10 12:45:11 -08:00
Mark Probst a3ab067241 [sgen] Fix overflow occurring with large object allocations. Fixes #17590. 2014-02-10 11:17:47 -08:00
Marek Safar c1539ef07f [corlib] Mark awaited task exception observed when GetResult does the wait 2014-02-10 20:08:29 +01:00
Marek Safar 56d9a057eb Revert "Merge pull request #829 from symform/httpwebreq-async-ssl"
This reverts commit 35899c07ff, reversing
changes made to 80166fd02f.
2014-02-10 18:48:03 +01:00
Marek Safar b54c72e680 Merge pull request #892 from initram/master
Implemented Parse() and TryParse() for System.Numerics.BigInteger and DaysInYearBeforeMinSupportedYear for Calendars
2014-02-10 08:21:31 +01:00
Marek Safar ff3351ef61 Merge pull request #895 from ranma42/fix-tuple-hash-codegen
[corlib] Fix implementation of Tuple hash generator
2014-02-10 08:19:18 +01:00
Andrea Canciani 5b7d557523 [corlib] Fix implementation of Tuple hash generator
The Tuples.cs code generator dies with:

Unhandled Exception:
System.NotImplementedException: The requested feature is not implemented.
  at TupleGen.computeHash (Int32 destVar, Int32 start, Int32 count) [0x00000] in <filename unknown>:0
  at TupleGen.WriteHash (Int32 destVar, Int32 start, Int32 count) [0x00000] in <filename unknown>:0
  at TupleGen.Main () [0x00000] in <filename unknown>:0

This is caused by the incorrect definition of WriteHash(), which
instead of recursively calling itself is calling computeHash().

Thanks to Marek Safar for reporting the issue in
https://github.com/fsharp/fsharp/issues/188#issuecomment-34351850
2014-02-09 20:40:44 +01:00
Martin Midtgaard 3c7dd7421c Implemented DaysInYearBeforeMinSupportedYear for all Calendars that should have it in .Net 4.5 2014-02-08 17:44:20 +01:00
Martin Midtgaard 787bb65a0e Cleanup and better comment. 2014-02-08 16:34:16 +01:00
Martin Midtgaard c2034c8718 Merge remote-tracking branch 'upstream/master' 2014-02-08 16:16:02 +01:00
Zoltan Varga d50c836721 [jit] Fix a regression introduced by b3f36681c7. 2014-02-08 11:29:35 +01:00
Marek Safar 6bc362b1db [numerics] Fix type in Cosh 2014-02-07 23:45:48 +01:00
Sebastien Pouliot 35899c07ff Merge pull request #829 from symform/httpwebreq-async-ssl
Convert blocking operations in HttpWebRequest and SslClientStream to non-blocking
2014-02-07 16:48:05 -05:00
Marek Safar 80166fd02f [corlib] Make primitive types smaller than int compare result compatible 2014-02-07 20:19:16 +01:00
Marek Safar bdc78fd98d [corlib] Fixes formatting of nested tuples 2014-02-07 20:17:14 +01:00
Marek Safar f43d02d563 [corlib] Default comparer uses IComparable interface only 2014-02-07 20:07:45 +01:00
Martin Midtgaard 3fb128ac0d Merge branch 'BigIntegerParse' 2014-02-07 11:23:37 +01:00
Martin Midtgaard 61a2e43f49 Implemented overloaded versions of Parse and TryParse functions for BigInteger.
Implementation is heavily inspired by Int32.
Added unit tests for the new functions.
2014-02-07 11:21:49 +01:00
Marek Safar 16a24ef559 Fixes build 2014-02-06 22:36:50 +01:00
Marek Safar 025cb7a5d7 [corlib] Update fixed test 2014-02-06 22:30:49 +01:00
Marek Safar 84021289bc Merge pull request #889 from slluis/serializer-fix
Fix serialization issue
2014-02-06 22:28:59 +01:00
Lluis Sanchez 4a8e55bf69 Fix serialization issue
Fixes BXC 5667 - SerializationException: The object with ID 1 could
not be resolved
2014-02-06 22:01:14 +01:00
Rodrigo Kumpera 4db7fe7112 [System] Fix process creation when UseShellExecute is set to false.
This fixes the behavior of process spawning when UseShellExecute is
set to true.

The right behavior is to return no process only when we used the system
launcher. So, spawning /bin/cat should behave in the same way independent
of how UseShellExecute is set.
2014-02-06 15:52:43 -05:00
Rodrigo Kumpera a6bc3bf4e1 Revert "[runtime] Don't pass SEE_MASK_NOCLOSEPROCESS to ShellExecuteEx as we don't care for the launched process. Part 1/3 of Bug #16119."
This reverts commit 6c06d10995.
2014-02-06 15:52:43 -05:00
Rodrigo Kumpera f351a6cc82 [corlib] Harden CustomAttributeData::GetHashCode 2014-02-06 15:52:43 -05:00
Zoltan Varga f88602911f [runtime] Put back ensure_synch_cs_set () which was removed in a157ac79e8 to work around some shutdown crashes. 2014-02-06 20:08:17 +01:00
Marek Safar 4b5125c707 [mcs] Tests update 2014-02-06 18:08:40 +01:00
Marek Safar d28989fddd [runtime] Filter out events with same name 2014-02-06 18:08:38 +01:00
Marek Safar 8d56b51656 Fixes build 2014-02-06 18:08:38 +01:00
Marek Safar 268771b856 [corlib] Cleanup type ToString formatting. 2014-02-06 18:08:37 +01:00
Marek Safar 21aae7666a [corlib] Fix some AssemblyName tests 2014-02-06 18:08:37 +01:00
Marek Safar 1383b1834d [corlib] Better recovery when tasks run on broken scheduler 2014-02-06 18:08:37 +01:00
Marek Safar d6c71e400b [corlib] Cleanup ThreadLocal output formatting. 2014-02-06 18:08:36 +01:00
Zoltan Varga f3443866ad [runtime] Fix the computation of AssemblyName.ProcessorArchitecture () to be compatible with MS.NET. Fixes #17632. 2014-02-06 11:58:31 +01:00
Andrés G. Aragoneses 0522c8b92a Add types from the method header even for gshared methods. 2014-02-06 11:34:29 +01:00
Zoltan Varga d73dcf705f Revert "[aot] Applied patch from "Andrés G. Aragoneses" <[email protected]>: Add types from the method header even for gshared methods."
This reverts commit 9231594314.
2014-02-06 11:34:28 +01:00
Atsushi Eno 21cb4135ea fix bug #16744 - null values on nullable value types were not handled in deserializer. 2014-02-06 17:11:30 +09:00
Rolf Bjarne Kvinge 1e10c63073 [Mono.Data.Sqlite] Add SqliteFunction tests. 2014-02-05 20:16:42 -05:00
Rolf Bjarne Kvinge 22cf2b620c [Mono.Data.Sqlite] Add support for custom collation functions in MonoTouch. 2014-02-05 19:55:26 -05:00
Zoltan Varga 9231594314 [aot] Applied patch from "Andrés G. Aragoneses" <[email protected]>: Add types from the method header even for gshared methods. 2014-02-06 00:52:13 +01:00
Zoltan Varga 9d34aac9c3 Revert "[aot] Add types from the method header even for gshared methods."
This reverts commit 70d7512ac8.
2014-02-06 00:51:31 +01:00
Zoltan Varga 70d7512ac8 [aot] Add types from the method header even for gshared methods. 2014-02-06 00:33:08 +01:00
Zoltan Varga 5a59eef22b [runtime] Fix the windows build. 2014-02-06 00:16:43 +01:00
Ivo Smits 3ed3a2ddf2 Prevent exception in finalization of Form class
If initialization of the Form class or one of its base classes fails, possibly because X11 is not available and the constructor of the parent Control class throws an exception, the owned_forms member is not initialized. This results in a NullReferenceException during initialization, if the error that occurs during construction is handled.

Stack traces:
Unhandled Exception:
System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.WindowsFormsSynchronizationContext ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.XplatUI ---> System.ArgumentNullException: Could not open display (X-Server required. Check you DISPLAY environment variable)
Parameter name: Display
  at System.Windows.Forms.XplatUIX11.SetDisplay (IntPtr display_handle) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.XplatUIX11..ctor () [0x00000] in <filename unknown>:0
  at System.Windows.Forms.XplatUIX11.GetInstance () [0x00000] in <filename unknown>:0
  at System.Windows.Forms.XplatUI..cctor () [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  at System.Windows.Forms.Theme.get_MenuAccessKeysUnderlined () [0x00000] in <filename unknown>:0
  at System.Windows.Forms.SystemInformation.get_MenuAccessKeysUnderlined () [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control..ctor () [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:.ctor ()
  at System.Windows.Forms.WindowsFormsSynchronizationContext..cctor () [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  at System.Windows.Forms.Control..ctor () [0x00000] in <filename unknown>:0
  at System.Windows.Forms.ScrollableControl..ctor () [0x00000] in <filename unknown>:0
  at System.Windows.Forms.ContainerControl..ctor () [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Form..ctor () [0x00000] in <filename unknown>:0
  at AutoCRCheck.frmOptions..ctor () [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) AutoCRCheck.frmOptions:.ctor ()
  at AutoCRCheck.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.WindowsFormsSynchronizationContext ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.XplatUI ---> System.ArgumentNullException: Could not open display (X-Server required. Check you DISPLAY environment variable)
Parameter name: Display
  at System.Windows.Forms.XplatUIX11.SetDisplay (IntPtr display_handle) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.XplatUIX11..ctor () [0x00000] in <filename unknown>:0
  at System.Windows.Forms.XplatUIX11.GetInstance () [0x00000] in <filename unknown>:0
  at System.Windows.Forms.XplatUI..cctor () [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  at System.Windows.Forms.Theme.get_MenuAccessKeysUnderlined () [0x00000] in <filename unknown>:0
  at System.Windows.Forms.SystemInformation.get_MenuAccessKeysUnderlined () [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control..ctor () [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:.ctor ()
  at System.Windows.Forms.WindowsFormsSynchronizationContext..cctor () [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  at System.Windows.Forms.Control..ctor () [0x00000] in <filename unknown>:0
  at System.Windows.Forms.ScrollableControl..ctor () [0x00000] in <filename unknown>:0
  at System.Windows.Forms.ContainerControl..ctor () [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Form..ctor () [0x00000] in <filename unknown>:0
  at AutoCRCheck.frmOptions..ctor () [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) AutoCRCheck.frmOptions:.ctor ()
  at AutoCRCheck.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0

---------------------------------------------------------
Handling the previous exception results in the following exception:

System.NullReferenceException: Object reference not set to an instance of an object
  at System.Windows.Forms.Form.Dispose (Boolean disposing) [0x00000] in <filename unknown>:0
  at AutoCRCheck.frmOptions.Dispose (Boolean disposing) [0x00000] in <filename unknown>:0
  at System.ComponentModel.Component.Finalize () [0x00000] in <filename unknown>:0
2014-02-05 20:37:30 +01:00
Zoltan Varga f97bc9e491 [arm] Increase the length of the endfinally instruction. Fixes #17589. 2014-02-05 17:37:14 +01:00
Marek Safar 5a20d0438a [corlib] Path.Combine with variable arguments length where one is empty should give same result as other Combine overloads 2014-02-05 16:56:03 +01:00
Marek Safar 22e1ab3666 [corlib] Convert with incorrect provider type should still return value when possible 2014-02-05 16:56:02 +01:00
Marek Safar 9bc33d4aae [corlib] Use shared version of utf8 encoding in stream reader 2014-02-05 16:56:02 +01:00
Marek Safar 6c99c56018 [corlib] Add nullable tests 2014-02-05 16:56:01 +01:00
Zoltan Varga b3f36681c7 [jit] Implement OP_CARD_TABLE_WBARRIER on ios. 2014-02-05 16:40:31 +01:00
Rodrigo Kumpera a9054cd8c5 Flush changes in corlib expected results. 2014-02-05 10:06:18 -05:00
Marek Safar 9c787bbc85 [corlib] Add more argument checks to ConcurrentStack 2014-02-05 14:09:11 +01:00
Marek Safar c964e24d02 [system] More SortedDictionary argument checks 2014-02-05 13:16:40 +01:00
Marek Safar d90906cbaa [system] Fix calls on empty linked list 2014-02-05 12:07:17 +01:00
Michael Hutchinson 1dd3e5b460 [xbuild] Fix ResolveAssemblyReference verbosity
Always log search logger messages with low importance.

Missing non-primary references are a low priority message,
not a warning.
2014-02-05 00:04:05 -05:00
Marek Safar 88ad199d5c [corlib] Implement parsing of complex double strings. 2014-02-04 17:39:35 +01:00
Marek Safar d3b817cbb8 [corlib] Initialize null stream reader 2014-02-04 13:14:33 +01:00
Marek Safar 27836846a5 [corlib] Add overflow checks to string padding 2014-02-04 12:44:44 +01:00
Zoltan Varga 7604aae1b1 [jit] Avoid running class cctors during AOT when using the AggressiveInlining attribute. Fixes #17558. 2014-02-04 09:52:42 +01:00
Zoltan Varga 86e5a5d90b [runtime] Fix a warning. 2014-02-04 07:05:47 +01:00
Rodrigo Kumpera 6083678eff [corlib] The hashcode of an empty struct must be constant. Fixes #17577 2014-02-03 18:08:53 -05:00
Rodrigo Kumpera 35148629ee [corlib] Add overflow checks to functions that alloc memory and uses raw pointers. 2014-02-03 17:37:30 -05:00
Zoltan Varga 0c27914928 [runtime] Applied patch from Frank Fuchs <[email protected]>. Add win64 support to mono_threads_core_get_stack_bounds (). 2014-02-03 22:15:30 +01:00
Zoltan Varga 83139b20e2 [runtime] Applied patch from Frank Fuchs <[email protected]>. Fix the windows build. 2014-02-03 22:12:11 +01:00
Marek Safar b90fc130ff [corlib] Allow to use custom comparer when sorting null values. 2014-02-03 20:27:58 +01:00
Marek Safar e679803c89 [corlib] Clean up array binary search argument checks 2014-02-03 18:36:24 +01:00
Marek Safar 27b2190c88 [corlib] Throw correct exception when array::copy elements don't match 2014-02-03 16:13:49 +01:00
Marek Safar 908676bca9 Merge pull request #886 from dmpot/master
[WindowsBase]: 6 fixes to Dispatcher
2014-02-03 00:40:56 -08:00
Dmitry Potapov e9a6400785 Dispatcher should process a higher-priority task
When a higher-priority tasked appeared in the dispatcher queue, the
dispatcher stopped processing of the current queue but moved to a low
priority queue instead of processing the most high priority queue.
2014-02-03 02:07:44 +04:00
Dmitry Potapov 0dc598dfe6 InvalidOperationException in Dispatcher.RunFrame
When a Dispatcher exits due to 'frame.Continue' being false, it does not
clear queue_bits. As result, the next run of the Dispatcher could try to
dequeue a non-existing dispatcher operation.
2014-02-03 01:57:20 +04:00
Dmitry Potapov 3479f368e8 Dispatcher should stop if Continue is false
If the dispatcher encounters that frame.Continue is false, it should return
immediately and do not try to execute anything. The unit test may be seen as
rather artificial, but the problem may happen in more realistic situations
when frames are unwound.
2014-02-03 01:48:32 +04:00
Dmitry Potapov ed448193fb Dispatcher: Run() can be used more than once
When Run() was invoked a second time, main_execution_frame had the Continue
flag set to false. So it did not work correctly.
2014-02-03 01:41:42 +04:00
Zoltan Varga 6472ba5272 [runtime] Simplify the io-layer threading code a bit more. 2014-02-02 22:36:28 +01:00
Dmitry Potapov 0a339c31a3 Dispatcher.PushFrame: clean references before return
The dispatcher did not clean references before returning, therefore
the second call to Dispatcher.Run() failed.
2014-02-02 23:55:12 +04:00
Dmitry Potapov 38a1e8d3bd Fix src and dest indexes in DispatcherOperation ctor
The source and the destination indexes are confused. The source index, which
is the second parameter, should be 0 and the destination index, which is the
fourth parameter, should be 1.
2014-02-02 22:40:55 +04:00
Zoltan Varga 17fcfee696 [runtime] Move more thread attach code to mono-threads from io-layer. 2014-02-02 16:44:40 +01:00
Marek Safar 549fddc4b4 Merge pull request #884 from akoeplinger/fix-ipv6-teredo
[System] Fixed an error in the implementation of System.Net.IPAddress.IsIPv6Teredo
2014-02-02 05:17:22 -08:00
Zoltan Varga 089012eefb [runtime] Simplify _wapi_set_termination_details (). 2014-02-02 06:11:31 +01:00
Alexander Köplinger daf2340d47 [System] Fixed an error in the implementation of System.Net.IPAddress.IsIPv6Teredo
The property was introduced with PR #870 but it missed to convert network byte order to host byte order, so the comparison
wasn't working correctly and the corresponding unit test failed. @marek-safar erroneously "fixed" the test in 27e07c7.

This is the corrected implementation and the original test now works as intended.
2014-02-01 22:02:27 +01:00
Zoltan Varga 6c36ba39f9 [runtime] Rename mono_thread_info_dettach () to mono_thread_info_detach (). 2014-02-01 19:31:07 +01:00
Zoltan Varga 4fe10052f3 [runtime] Rename the MONO_GSHARING define to ENABLE_GSHAREDVT for consistency. 2014-02-01 13:56:19 +01:00
Zoltan Varga f6f319715b [runtime] Implement GetCurrentThreadId () using mono-threads. 2014-02-01 13:50:47 +01:00
Zoltan Varga 4b4409213a [runtime] Move thread attaching to mono-threads from the io-layer. 2014-02-01 13:44:54 +01:00
Zoltan Varga 97bd727bc0 [runtime] Remove code duplication from the wapi_interrupt_.. functions. 2014-01-31 18:58:25 +01:00
Marek Safar e30d5edecc [corlib] Fixes our of range index access from a5fc91fc42 2014-01-31 17:42:06 +01:00
Marek Safar 7d200b7624 More tests 2014-01-31 15:44:12 +01:00
Marek Safar a5fc91fc42 [corlib] Decimal parsing with banker's rounding with non-zero digits beyond the thousandths digit. Fixes #17536 2014-01-31 15:32:21 +01:00
Zoltan Varga d64b215b8a [runtime] Remove some references to gc_wrapper.h which are no longer needed. 2014-01-31 14:29:51 +01:00
Zoltan Varga 6427caaea8 [runtime] Move the thread exit code to mono-threads from io-layer. 2014-01-31 14:18:26 +01:00
Marek Safar 83dd786b66 [mcs] Improve daa862f17f commit 2014-01-31 14:04:49 +01:00
Marek Safar 9ba287cc13 [mcs] Explicit user conversion from nullable types does not have to lift the result. Fixes #17469 2014-01-31 13:30:49 +01:00
Marek Safar daa862f17f [mcs] Report less internal errors. Fixes #17472 2014-01-31 11:44:04 +01:00
Marek Safar f5a0d45808 [mcs] Fixes warning 2014-01-31 11:25:25 +01:00
Marek Safar 587b934b22 [mcs] Release array initializer stack field at the end of initialization. Fixes #17494 2014-01-31 10:19:36 +01:00
Zoltan Varga 7f5859ea2d [runtime] Fix a shutdown leak. 2014-01-31 08:58:16 +01:00
Zoltan Varga 2468027212 [runtime] Use mono_thread_join () to wait for the finalizer thread to exit. 2014-01-31 06:43:32 +01:00
Zoltan Varga 19362c66ee [llvm] Disable llvm instead of asserting in some cases. Fixes #17527. 2014-01-31 06:17:41 +01:00
Zoltan Varga c0a34485ae [runtime] Use a separate lock for the joinable_threads () hash table. 2014-01-31 04:12:54 +01:00
Michael Hutchinson dbc5c2b43f Merge pull request #880 from awinters-fvs/xbuild/make-dist-fix
Fix 'make dist' broken since 35287878
2014-01-30 13:13:59 -08:00
Rodrigo Kumpera a86c932c77 [corlib] WeakReference<T>::TryGetTarget should return true only for non null targets. 2014-01-30 16:11:39 -05:00
Zoltan Varga 6de1a802b2 Fix warnings. 2014-01-30 19:08:22 +01:00
Zoltan Varga 7eb1f72f17 [runtime] Change the way the runtime waits for threads to finish. Instead of detaching them at thread startup and waiting for them using WaitForMultipleObject(), add threads to a hash table before they exit mono code and use the finalizer thread to call pthread_join () on them. This will hopefully fix the problems where a thread tried to access data which the runtime at shutdown/appdomain unload. 2014-01-30 10:28:42 +01:00
Alex Rønne Petersen c5bddd396d Merge pull request #882 from jgagnon/master
Fixes a socket leak in class TcpListener
2014-01-29 19:51:18 -08:00
Rodrigo Kumpera e614bd0216 [jit]Add a missing call to mini_native_type_replace_type in mini_get_basic_type_from_generic. 2014-01-29 14:17:19 -05:00
Zoltan Varga 80ef831207 [aot] Add a more helpfull error message when a method cannot be loaded. 2014-01-29 16:47:19 +01:00
Zoltan Varga 44fcdaf505 [sgen] Fix a regression caused by 07fc727b86. Fixes the windows build. 2014-01-29 16:24:28 +01:00
Michael Hutchinson a8392fb5e8 [xbuild] Rework escaping in TaskItem to be compatible with MSBuild
The escaping/unescaping behaviour of TaskItem:ITaskItem was undocumented
originally in MSBuild, so our implementation did not perform any. This
caused issues with Tasks getting metadata and paths that were escaped,
trying to use them as-is, and failing horribly.

Fortunately the ITaskItem2 interface in .NET 4 provides complementary
accessors with documentation that indicates that it stores values
escaped internally, and the old accessors unescape the values.

This commit implements ITaskItem2, fixes the escaping behavior of the
old accessors, and removes some superluous uses of IDictionary.Contains.
2014-01-28 18:25:57 -05:00
Michael Hutchinson 9d344c33ad [xbuild] Remove unnecessary/inconsistent path conversion hack
Directory separators are automatically converted from Windows->Native
when parsing MSBuild files, but any paths provided in code must already
be native.
2014-01-28 18:24:38 -05:00
Alan McGovern 216608a183 [Microsoft.Build.Utilities] Properly escape/unescape ItemSpec
With tests.
2014-01-28 16:18:57 -05:00
Alan McGovern d5611e8dc6 [Microsoft.Build.Utilities] Fix the escaping/unescaping of ItemSpec
This should hopefully fix compilation of projects using files with
names like '[email protected]' in various places like embedded resources
or content items which must be copied to the output directory.

With tests.
2014-01-28 15:40:25 -05:00
Marek Safar f25566d57b [mcs] Better check for invalid attribute targets. Fixes #17447 2014-01-28 10:16:58 +01:00
Zoltan Varga f060b99989 [llvm] Load rgctx/imt arguments using a volatile load on arm to prevent LLVM from moving the setting of the argument elsewhere. This is needed because these arguments are passed in a caller save register, but our code treats it as callee save in a lot of places. Fixes #17435. 2014-01-28 06:30:19 +01:00
Zoltan Varga 393325a1b8 Revert "[jit] Precompute a bit more information for delegate trampolines to speed them up."
This reverts commit e3de4cb92e.

Revert this as it seems to break mt.
2014-01-28 06:30:19 +01:00
Michael Hutchinson 28163fd254 [xbuild] Define VisualStudioVersion, since F# projects can depend on it 2014-01-27 17:00:08 -05:00
Rodrigo Kumpera 6b43686f98 Properly compare assembly versions when performing binding. Fixes #17368.
The right way to compare assembly versions is by translating the major/minor
pair into a single number and compare that.

Since each element can only be one byte long, we multiply major by 256
before adding to minor.

This solves the problem where version 100.0.0.0 was not after 3.5.0.0.
2014-01-27 16:28:01 -05:00
Jonathan Gagnon b699b14b06 Fixes a socket leak in class TcpListener
Fixes a socket leak in TcpListener.AcceptTcpClient and
TcpListener.EndAcceptTcpClient.
2014-01-27 09:18:10 -05:00
Marek Safar 9ec6141610 New test 2014-01-27 11:35:41 +01:00
Marek Safar bff1c7a08c [mcs] Remove used method 2014-01-27 11:21:34 +01:00
Marek Safar a360e899ae [mcs] Don't crash when default parameter constant member access cannot be resolved. Fixes #17354 2014-01-27 11:19:54 +01:00
Marek Safar f2eab9919d [dlr] Handle more expressions in interpreter 2014-01-26 11:35:09 +01:00
Marek Safar 280f85db70 [mcs] Do underlying float constant operation on double values. Fixes #15463 2014-01-26 11:35:08 +01:00
Marek Safar acccf24cca [mcs] Check for nested type arguments of cached method group. Fixes #17403 2014-01-26 11:35:08 +01:00
Linquize 506c11ae62 Add unit test for Content-Type header with and without charset set 2014-01-26 18:31:00 +08:00
Zoltan Varga e3de4cb92e [jit] Precompute a bit more information for delegate trampolines to speed them up. 2014-01-26 07:32:08 +01:00
Zoltan Varga b5f3d5c835 [jit] Store the spvar offsets for the finally clauses in MonoJitExceptionInfo to avoid disassembly in mono_arch_install_handler_block_guard (). 2014-01-25 07:39:36 +01:00
Zoltan Varga 0198a3afaa [jit] Change to signature of mono_arch_create_handler_block_trampoline () to be consistent with the signature of the other trampoline creation functions. 2014-01-25 07:27:40 +01:00
Ashley Winters 49238f289e Update mono-core.spec.in with xbuild reorganization 2014-01-24 14:30:22 -08:00
Zoltan Varga a33190d8e8 [jit] Add a mono_jinfo_get_unwind_info () helper function. 2014-01-24 20:44:28 +01:00
Sebastien Pouliot 5048ce7bd9 Allow a TLS1.1+ client (like recent Google Chrome, 1.2) to fallback to TLS1.0 when using System.dll (or Mono.Security.dll) server side SSL/TLS [#6843][#11736] 2014-01-24 08:47:10 -05:00
Atsushi Eno 6c9fb62368 Fix build (and cosmetic code formatting). 2014-01-24 17:34:27 +09:00
Atsushi Eno 4dabbbc56d remove private msbuild hacking project files. 2014-01-24 16:42:54 +09:00
Atsushi Eno 3f88e7c517 Merge branch 'msbuilddll2' 2014-01-24 16:41:00 +09:00
Atsushi Eno 001dc741f1 Log target build error. 2014-01-24 16:25:29 +09:00
Zoltan Varga 7fa4b9ab15 [jit] Fix/simplify the x86 handler guard trampoline code. Part of the fix for #16807. 2014-01-24 08:23:41 +01:00
Atsushi Eno b47eaa6c88 Make sure to fail build when exception is thrown while building a target. 2014-01-24 16:02:08 +09:00
Zoltan Varga 60ba4e74da Revert "finally_guard has been promoted to the stable set of tests."
This reverts commit 31d902a285.

finally_guard still fails when using LLVM.
2014-01-24 07:49:55 +01:00
Zoltan Varga 6c9a1d91c8 [jit] Fix a regression caused by 28374f3161. Fixes #17392. 2014-01-24 07:45:55 +01:00
Zoltan Varga 6154dc7731 [jit] Hopefully fix the loaded LLVM build. 2014-01-24 04:47:23 +01:00
Atsushi Eno 2556ac769e add comment on MSB4057. 2014-01-24 10:41:08 +09:00
Ashley Winters 75e0f8d7e5 Include xbuild_4_0_dirs in dist; fixes 425fdc03
In commit 425fdc03fa:

  [xbuild] Build & install MSBuild 12.0 assemblies

The net_3_5_only_dirs containing the Build classes were moved to
various xbuild_X_dirs variables, but an undefined $(xbuild_dirs)
variable was appended to DIST_ONLY_SUBDIRS.

This patch adds $(xbuild_4_0_dirs) instead.
2014-01-23 17:14:21 -08:00
Ashley Winters 48d027c872 Fix 'make dist' broken since 35287878
In commit 35287878b9:

    [xbuild] Reorganize xbuild targets/frameworks/bin data

Several files were shuffled around, but the EXTRA_DISTFILES was
not fully updated with the new file paths.

This patch is required to build a 3.2.7 tarball.
2014-01-23 17:14:18 -08:00
Sebastien Pouliot 0da4887478 [System] Exclude LinuxNetworkChange from MONOTOUCH build (since it won't work as the p/invoke are not present) 2014-01-23 16:57:11 -05:00
Atsushi Eno 3354229821 update .csproj. 2014-01-23 23:46:46 +09:00
Atsushi Eno e975cdcd71 Add BuildRequestDataTest and fixed some .NET compatibility in tests. 2014-01-23 23:46:09 +09:00
Atsushi Eno 0f2a28f154 Check null buildTargets at BuildRequestData. But not in ProjectInstance. 2014-01-23 23:45:23 +09:00
Alex Rønne Petersen 62a953fddf Merge pull request #735 from wtfrank/bitblt
dllmap for BitBlt in gdi32.dll
2014-01-23 03:59:37 -08:00
Atsushi Eno 77394d2b6b Path existence and lookup is now based on insensitive search. 2014-01-23 19:14:35 +09:00
Atsushi Eno 5afd546fdd comment out error check on Inputs/Outputs mismatch. 2014-01-23 17:03:18 +09:00
Atsushi Eno 845b1b7e5c implement OnError on target. 2014-01-23 17:02:15 +09:00
Atsushi Eno 30e1ab9a21 Exists() needs to normalize Windows path first. 2014-01-23 17:00:32 +09:00
Zoltan Varga e28ad88aea [jit] Add a mono_get_jit_tls () helper function. 2014-01-23 04:46:55 +01:00
Atsushi Eno 9d81eb03de exclude extraneous stuff from msbuild dir. 2014-01-23 11:56:25 +09:00
Atsushi Eno ff13feb917 DefaultTargets must be first picked up from imports' attributes, then first of Targets. 2014-01-23 11:31:07 +09:00
Atsushi Eno b8b67850a3 property name comparison should be done in case insensitive manner. 2014-01-23 11:30:43 +09:00
tritao f574fff5ef Follow up on return intrinsics tightening the preprocessor checks and using the declared version of the intrinsic instead of declaring it ourselves.
Addressing a post-commit review by @alexrp.
2014-01-23 00:34:45 +00:00
Rodrigo Kumpera 3ebef4abdf [runtime] Handle native size of structs with explicit layout and min alignment smaller than default packing. Fixes #4510
The calculating the native size of structs with explicit layout we need to take into consideration the minimum alignment
needed and the packing asked.

If no packing is supplied, we should respect the minimum alignment. If packing is supplied we should use the minimum required.
2014-01-22 16:51:50 -05:00
João Matos 5e0c599e4a Merge pull request #878 from tritao/master
MSVC build improvements
2014-01-22 10:46:45 -08:00
Marek Safar 95d5c30a29 New tests 2014-01-22 17:54:14 +01:00
Marek Safar ee5bf38ad0 [dlr] Implement few missing interpreter instructions 2014-01-22 17:54:14 +01:00
Marek Safar a2febcf2de [dlr] Fix UInt64 add/div 2014-01-22 17:54:13 +01:00
Zoltan Varga 738f9c3c38 [jit] Fix the freeing of AOT jump target lists. Fixes #17201. 2014-01-22 01:11:23 +01:00
Zoltan Varga 216ccda87a [amd64] Make seq_points clobber callee save registers. Fixes #17310. 2014-01-22 00:58:39 +01:00
Marek Safar c9cb2f4c4a [mkbundle] Make duplicate assembly name error tracking less painful 2014-01-21 23:11:43 +01:00
Marek Safar 4956113701 [mkbundle] Remove no longer needed System.Reflection hack 2014-01-21 20:39:28 +01:00
Marek Safar c6bd624372 [mcs] Check for initially unassigned struct instance variables of unassigned structs. 2014-01-21 16:33:01 +01:00
Rolf Bjarne Kvinge 5fe24cd406 [System] Include IndentedTextWriter in the mobile profile.
Fixes a build problem for Xamarin.iOS and besides there doesn't seem
to be any reason for it to not be included.
2014-01-21 10:41:27 +01:00
Zoltan Varga 93540ce41d [runtime] Fix the DISABLE_JIT build. 2014-01-21 04:27:06 +01:00
Zoltan Varga 26ac16318d [gsharedvt] Fix memory leaks. Fixes #16787. 2014-01-21 03:51:33 +01:00
tritao 0737176a13 Explicitly define strtoull for MSVC releases previous to 2013. 2014-01-20 18:50:44 +00:00
tritao eca6062b12 Fixed SGen qsort code to compile with MSVC.
MSVC does not understand C99, so we emulate it with some explicit allocas.
2014-01-20 18:49:37 +00:00
tritao 110bfc8bbe Fixed return address intrinsics in MSVC.
Patch previously contributed Vincent Povirk, slightly updated due to some review feedback by Alex Petersen.
2014-01-20 18:47:11 +00:00
tritao a7cc9fedd8 Fixed missing Interlocked intrinsics in MSVC x86.
Patch previously contributed by Vincent Povirk.
2014-01-20 18:44:39 +00:00
Alex Rønne Petersen 3c3b8ae818 Move a variable into the #ifdef path it's used in. Fixes a warning. 2014-01-20 18:15:33 +01:00
Alex Rønne Petersen fbde76e4c5 Remove unused emit_line_number_info_begin () function. Fixes a warning. 2014-01-20 18:15:13 +01:00
Alex Rønne Petersen 4e2c39751e Remove unused dummy_apc () function on non-WIN32. Fixes a warning. 2014-01-20 16:15:15 +01:00
Miguel de Icaza 165a35c18c Revert "Exclude more console code from NET_2_1"
Since we no longer care about Moonlight, this patch is no longer needed,
and enables some cute functionality on the iOS REPL.

This reverts commit ec445c82f7.
2014-01-20 09:22:17 -05:00
Marek Safar 7db9ee7b47 Merge pull request #876 from knocte/master
Fix very sticky typo in numerous places
2014-01-19 23:41:11 -08:00
Andrés G. Aragoneses 0eb40ad2da Fix very sticky typo in numerous places 2014-01-19 17:51:24 +01:00
Zoltan Varga 05821ed6e9 [runtime] Rename QueueUserAPC () to wapi_thread_interrupt_self () and simplify it. 2014-01-19 05:40:54 +01:00
Rodrigo Kumpera 31d902a285 finally_guard has been promoted to the stable set of tests. 2014-01-17 18:15:01 -05:00
Rodrigo Kumpera b7d2b9a000 The shutdown check is racy, we should check if the queue has been cleaned up instead. 2014-01-17 18:13:57 -05:00
Rodrigo Kumpera 7d688f1c02 [runtime] Properly unlink a node in the tls slot freelist. Fixes #17290.
The existing search code would not update the previous pointer so we would be
always unlinking all nodes in the freelist in front of the one picked.
2014-01-17 17:54:42 -05:00
Rodrigo Kumpera c9230c1fdb [runtime] Don't raise a ExecutionEngineException is shadown copying fails to find the file. Fixes #17251.
Patch by Jan Lamecki. Released under MIT X11 license as per https://bugzilla.xamarin.com/show_bug.cgi?id=17251
2014-01-17 16:07:41 -05:00
Marek Safar 4de39e0eac [corlib] BinaryStream sting reading from custom stream uses correct count. Fixes #15143 2014-01-17 21:59:40 +01:00
Richard Meyer 4ee22819a5 Added additional common internet media types
Many of the changes come from: http://en.wikipedia.org/wiki/Internet_media_type#List_of_common_media_types

dtd as application/xml-dtd
http://tools.ietf.org/html/rfc3023#section-3.5

vcf and vcard as text/vcard				http://tools.ietf.org/html/rfc6350#section-10.1

dart as application/dart
https://www.dartlang.org/articles/embedding-in-html/

xps as application/vnd.ms-xpsdocument
oxps as application/oxps
http://www.ecma-international.org/publications/standards/Ecma-388.htm

flac as audio/x-flac
http://en.wikipedia.org/wiki/FLAC

spx as audio/ogg
http://tools.ietf.org/html/rfc5334#section-10.3

opus as audio/ogg
http://tools.ietf.org/html/draft-terriberry-oggopus-01

X3D Mime Types:
http://www.web3d.org/x3d/learn/mimetypes/
http://www.iana.org/assignments/media-types/model/x3d-vrml

appcache for text/cache-manifest
http://en.wikipedia.org/wiki/Cache_manifest_in_HTML5
2014-01-17 14:26:50 -06:00
Marek Safar 661af380c3 [corlib] Fixes race in disposing CancellationTokenSource. Fixes #17256 2014-01-17 21:04:08 +01:00
Marek Safar 14db2127d4 [mcs] Less cascading errors 2014-01-17 21:04:08 +01:00
Marek Safar eee540621a Merge pull request #868 from mariokmk/master
Using the fully qualified assembly name in dependencies
2014-01-17 12:00:02 -08:00
Richard Meyer 9fc58a5bec Added application/json and application/xhtml+xml
application/json:
http://www.ietf.org/rfc/rfc4627.txt
This could improve support for libraries like jQuery that request raw .json files

application/xhtml+xml:
http://www.rfc-editor.org/rfc/rfc3236.txt
2014-01-17 11:51:23 -06:00
Richard Meyer 9d5ecce947 Some corrections and additions
Changed "aac" to "audio/aac"
http://en.wikipedia.org/wiki/Advanced_Audio_Coding

Added "m4a" for "audio/mp4" and "m4v" for "video/mp4"
Commented out "mp4a" since the official extension is "m4a"
http://tools.ietf.org/rfc/rfc4337.txt
http://en.wikipedia.org/wiki/MPEG-4_Part_14

Added "3pg" for "video/3gpp"
http://tools.ietf.org/html/rfc3839#section-3.2

Added "3g2" for "video/3gpp2"
http://tools.ietf.org/html/rfc4393#section-3.2

Added "ogx" for "application/ogg"
http://tools.ietf.org/html/rfc5334#section-10.1
2014-01-17 11:14:14 -06:00
Rodrigo Kumpera 058e285738 [metadata] Fix a potential crasher. 2014-01-17 12:06:50 -05:00
Rodrigo Kumpera 65e808bb55 [runtime] Fix a few warnings in io-layer and utils. 2014-01-17 12:06:49 -05:00
Rodrigo Kumpera eb460afc7b [utils] The fallback mmap should fail if it cannot read the full contents of a file. 2014-01-17 12:06:49 -05:00
Rodrigo Kumpera 20149a0ecc [eglib] Fix a possible memory leak. 2014-01-17 12:06:49 -05:00
Zoltan Varga 87bbf05c11 [runtime] Use mono_thread_info_tls_get () in sgen as well. 2014-01-17 18:03:02 +01:00
Atsushi Eno c9021a5d28 [mkbundle] fix template for compressed version. stderr is in stdio.h. 2014-01-17 23:18:27 +09:00
Marek Safar 47071c959e [mcs] Initial lambda checked scope comes from parent block. 2014-01-17 11:33:35 +01:00
Alex Rønne Petersen 3a86569d27 Merge pull request #856 from madewokherd/textcontrol
Avoid adjusting selection twice in TextControl.
2014-01-17 00:24:50 -08:00
Alex Rønne Petersen 6fd9c8ec2c Merge pull request #861 from RobertZenz/patch-1
Noted that the fullname attribute is not the same as Type.FullName.
2014-01-17 00:23:09 -08:00
Alex Rønne Petersen 6d2ab18976 Merge pull request #875 from justincc/master
Change Mono manpage to correct effect of MONO_THREADS_PER_CPU env var
2014-01-17 00:20:44 -08:00
Zoltan Varga ed1476e621 Fix boehm after eb1a7c1591. 2014-01-17 07:50:05 +01:00
Zoltan Varga 8a3bfc92ac [runtime] Remove some unused includes. 2014-01-17 07:27:48 +01:00
Zoltan Varga 3c2898ebb0 [runtime] Simplify mono_thread_state_init_from_handle () on darwin a bit. 2014-01-17 07:26:40 +01:00
Zoltan Varga eb1a7c1591 [runtime] Store the values of some TLS variables into an array in MonoThreadInfo, and use it in mono_thread_state_init_from_handle () on darwin to avoid the usage of platform specific hacks to obtain their values. 2014-01-17 04:59:23 +01:00
Zoltan Varga 7be7431b9f [runtime] Add a mono_thread_info_yield () function. 2014-01-17 03:29:33 +01:00
Zoltan Varga 07fc727b86 [runtime] Use mono_thread_info_get_stack_bounds () in sgen instead of duplicating code. 2014-01-17 03:13:10 +01:00
Zoltan Varga 679092e662 [runtime] Move mono_thread_get_stack_bounds () to utils/mono-threads. 2014-01-17 03:06:22 +01:00
Zoltan Varga 28374f3161 [aot] Add the rgctx trampolines required by array helper wrappers in the normal place instead of in mono_aot_get_method () so they won't interfere with gsharedvt. Fixes #17284. 2014-01-17 02:15:22 +01:00
Zoltan Varga 81182d1406 Disable a gsharedvt test which depends on async functionality which no longer works. 2014-01-17 02:15:22 +01:00
Aaron Bockover e22bb79ae6 driver.c: Revert "Update message"
This reverts commit 85841d0bbd.

Some scripts unfortunately depend on the verbage "Mono JIT compiler"
in the "mono --version" message. While this was never a blessed
or supported way of getting the version (use pkg-config) of Mono,
nonetheless this breaks some important stuff. We can use the better
message in the (somewhat distant) future.
2014-01-16 18:02:08 -05:00
Justin Clark-Casey a41ab301e8 Change Mono manpage to correct effect of MONO_THREADS_PER_CPU env var
1.  MONO_THREADS_PER_CPU affects ThreadPool min threads rather than max threads
2.  Effect is MONO_THREADS_PER_CPU * cpu_cores, there is no +20
3.  Default is 1, not 10
2014-01-16 20:02:53 +00:00
Aaron Bockover a66f333246 profiles: define xammac (Xamarin.Mac) profile
Based on the Mobile profile and modeled after
the MonoDroid profile.
2014-01-16 14:16:59 -05:00
Aaron Bockover 975d419550 build: use MOBILE_DYNAMIC instead of MONODROID
Some conditional compilation shouldn't really
be bound to MONODROID, instead add a new define
that can be reused, MOBILE_DYNAMIC.
2014-01-16 14:13:10 -05:00
Aaron Bockover 354e22bc89 configure.in: remove --with-mobile
It doesn't actually do anything. Was quite
misleading.
2014-01-16 14:09:55 -05:00
Zoltan Varga 401d832ca7 [jit] Handle native types in mini_type_get_underlying_type () as well. 2014-01-16 15:32:03 +01:00
Zoltan Varga cac0aaa9ce Fix the --enable-native-types build. 2014-01-16 04:03:52 +01:00
Zoltan Varga 8af5af5763 Fix the build. 2014-01-16 03:37:21 +01:00
Rodrigo Kumpera f5a80b8456 [runtime] Make gsharing and explicit configure extension. 2014-01-15 20:29:03 -05:00
Rodrigo Kumpera 01e18a7fcd [runtime]Add native type extension. 2014-01-15 20:26:56 -05:00
Marek Safar eca138a47f New test file 2014-01-15 23:03:52 +01:00
Alan McGovern 6d7e812d70 [Microsoft.Build.Engine] Fix the escaping/unescaping of FullPath metadata
It is incorrect to escape the FullPath metadata for a build item when
we invoke GetEvaluatedMetadata. If we do this we end up completely breaking
every file with a special character in it as things like this would always
fail as we'd pass an escaped path to the filesystem:
	File.Exists (item.GetEvaluatedMetadata ("FullPath"))

The iOS designer encountered this issue when we added retina images
called "[email protected]" to our solution.

With tests.
2014-01-15 15:33:16 -05:00
Marek Safar 89fcde4fd1 [mcs] Add additional l-value checks on member access properties as well. Fixes #9571 2014-01-15 20:45:58 +01:00
Marek Safar c30144b4b0 [mcs] Import extension methods dynamic generic arguments correctly. 2014-01-15 20:10:15 +01:00
Zoltan Varga 3a4464fcda [jit] Use the jit lock instead of the loader lock in mono_tramp_info_register (). 2014-01-15 18:50:47 +01:00
Zoltan Varga 791387fd05 [runtime] Get rid of SuspendThread()/ResumeThread(), integrate its functionality into mono-thread-info.c. 2014-01-15 18:34:34 +01:00
Zoltan Varga f18648d642 [jit] Fix dwarf line number info generation, make AOT use it again instead of the .loc/.file directives of GAS, since CLANG only supports those with assembly, not with .byte directives. Fixes part of #15202. 2014-01-15 04:22:45 +01:00
Marek Safar 8f1a0ccce6 [corlib] Improve 85aaf9b074 change 2014-01-14 19:23:23 +01:00
Miguel de Icaza 7d80c22054 Add support for stdout returns 2014-01-14 12:52:18 -05:00
Zoltan Varga 285f815fc5 [runtime] Fix a regression caused by a0afa38296. 2014-01-14 18:23:21 +01:00
Rolf Bjarne Kvinge f093f00839 The monotouch_runtime profile needs the DISABLE_COM flag too. 2014-01-14 18:19:06 +01:00
Zoltan Varga 1da09a9d20 [runtime] Fix regressions caused by 9e5b23eee3. 2014-01-14 17:52:50 +01:00
Zoltan Varga 9ee744d388 Revert "[runtime] Get rid of ResumeThread(), use mono_thread_info_resume () instead."
This reverts commit e0cff63013.

Revert this as its racy.
2014-01-14 17:52:50 +01:00
Sebastien Pouliot 835ac90fc0 Add missing (new) file for System.Net.Http.dll (monotouch build) 2014-01-14 11:51:25 -05:00
Rolf Bjarne Kvinge 6d75a5f34a The monotouch_runtime profile needs the DISABLE_REMOTING flag.
Since the corresponding mono runtime being used has also disabled remoting.
2014-01-14 17:31:22 +01:00
Marek Safar 4b1b421832 [mcs] Disable container definition check on platforms which don't support it 2014-01-14 17:30:50 +01:00
Marek Safar 09496c2a83 [linker] Add missing descriptors 2014-01-14 17:30:49 +01:00
Zoltan Varga 8ab9b5a4ee [runtime] Fix the windows build. 2014-01-14 16:50:56 +01:00
Sebastien Pouliot 24a220f373 The mobile profile can support IBindingRuntimePreferences on WebHttpBinding. Fix one S.SM.W unit test failure for XI 2014-01-14 10:12:11 -05:00
Sebastien Pouliot b7c10a7c1d There's no need for those special NET_2_1 cases (not using NameValueCollection like MS) anymore and it fixes 7 S.SM.W unit tests failures for XI (e.g. case sensitiveness) 2014-01-14 10:11:21 -05:00
Sebastien Pouliot 439b2917d9 There's no need for those special NET_2_1 cases (excluding System.Char) anymore and it fixes 6 S.SM.W unit tests failures for XI. 2014-01-14 10:10:35 -05:00
Sebastien Pouliot f83814bfbb [test] Disable a test for XI (only) as it does not support dynamic proxy code generation 2014-01-14 10:09:46 -05:00
Zoltan Varga 26f6ace91f Fix a warning. 2014-01-14 14:52:01 +01:00
Zoltan Varga 7982af4290 Revert "Fix a warning."
This reverts commit c5104c091a.
2014-01-14 14:52:01 +01:00
Marek Safar 27e07c76d8 Fixes failing test 2014-01-14 14:45:38 +01:00
Marek Safar f74fa4a0ac [build] Add Microsoft.CSharp to monotouch profile 2014-01-14 14:25:46 +01:00
Marek Safar c5eab2d5dc [System] Use generic equality comparer in Find/FindLast methods. Fixes #5245 2014-01-14 14:25:45 +01:00
Zoltan Varga fefea60aa0 [arm] Fix an assert caused by large offsets. Fixes #17208. 2014-01-14 04:37:43 +01:00
Zoltan Varga e0cff63013 [runtime] Get rid of ResumeThread(), use mono_thread_info_resume () instead. 2014-01-14 03:47:26 +01:00
Zoltan Varga c5104c091a Fix a warning. 2014-01-14 02:51:54 +01:00
Zoltan Varga 9e5b23eee3 [runtime] Centralize low-level thread creation in utils/mono-threads.c. Get rid of the CreateThread () function in io-layer. 2014-01-14 02:49:16 +01:00
Michael Hutchinson c25957f1a4 [xbuild] Add 4.0 client profile
BXC1426 - xbuild should include the ".NET 4.0 client" framework profile
2014-01-13 14:58:47 -05:00
Michael Hutchinson 07dfe00301 [xbuild] 4.0 test targets go in 4.5 profile 2014-01-13 14:58:46 -05:00
Zoltan Varga dab4dc951c [jit] Call mini_replace_type () in one place. 2014-01-13 19:03:00 +01:00
Zoltan Varga fc23a8e268 [runtime] Fix an assert caused by a157ac79e8. 2014-01-13 18:27:49 +01:00
Zoltan Varga 74bc71da95 [sdb] Fix setting of byref variables in registers. Fixes #17185. 2014-01-13 17:14:19 +01:00
Rodrigo Kumpera c1128bb7b0 [io-layer] Add essay on my choices for is_file_writable. 2014-01-13 10:52:49 -05:00
Marek Safar 5359f9feaf Merge pull request #844 from scottmcarthur/master
Check for null item in BindingList<T>.InsertItem
2014-01-13 06:24:13 -08:00
Marek Safar a41fe9781b Tests update 2014-01-13 15:13:40 +01:00
Marek Safar 2d0272d9c2 [System.Net.Http] Add parsing of multi-value strings. Fixes #17132 2014-01-13 14:48:12 +01:00
Zoltan Varga 0b1316bccb Fix the build. 2014-01-13 14:03:25 +01:00
Zoltan Varga 00141cd3d1 [runtime] Fix the --disable-boehm build. 2014-01-13 13:59:43 +01:00
Zoltan Varga 8aee5e61e8 Merge pull request #872 from Unity-Technologies/upstreaming/customize-suspend-policy2
allow users to specify a suspension policy when enabling an event
2014-01-13 04:35:19 -08:00
Lucas Meijer a650855da8 allow users to specify a suspension policy when enabling an event 2014-01-13 08:52:17 +01:00
Marek Safar 269c7e48dc Merge pull request #871 from tumtumtum/master
Fix for transactions hanging and timing out if PreparingEnlistment.Done() is called
2014-01-12 23:19:36 -08:00
Rodrigo Kumpera e613a00e46 [io-layer] Properly check write permission of a file. Fixes #3501.
The existing check only verified if owner had write privileges.
Which returns the wrong value when the file is not owned by the user.

And doesn't work when the file is globally writeable or the user
belongs to the user of the file.

We check flags for when euid/egid matches file's. Otherwise we fallback
to access(2), which sucks, but it's the only thing close to working
that exists on unix and has a reasonably portable behavior.
2014-01-13 00:59:43 -05:00
Zoltan Varga a0afa38296 Move the mono_thread_create () function into utils/mono-threads.h/c, change/simplify its signature a bit. 2014-01-13 04:04:58 +01:00
Zoltan Varga b71c0d6afc Clean up the thread startup code by moving common code into a new create_thread () function. 2014-01-13 02:14:47 +01:00
Thong Nguyen 99d7cb1610 Quickfix for transactions timing out and not committing when PreparingEnlistment.Done is called instead of PreparingEnlistment.Prepared 2014-01-12 22:00:57 +00:00
Zoltan Varga 0aa1d4fe15 Add LOCK_THREAD/UNLOCK_THREAD macros, get rid of ensure_synch_cs_set (). 2014-01-12 14:22:03 +01:00
Zoltan Varga a157ac79e8 Clean up the setup of thread->synch_cs. Initialize it when the MonoInternalThread object is created, and delete it in the finalizer. 2014-01-12 14:22:02 +01:00
Marek Safar 111e40018a Merge pull request #870 from wayoutmind/master
[system] Add IsIPv6Teredo to System.Net.IpAddress
2014-01-12 00:34:55 -08:00
Michael Hutchinson de413aa54e [xbuild] Properly disable tests on 4.0 framework profile 2014-01-12 01:12:43 -05:00
Michael Hutchinson a2829d26b1 [xbuild] Tests need older MSBuild targets 2014-01-12 01:12:42 -05:00
Rodrigo Kumpera 300bacd521 Merge pull request #869 from alistair/copyfile
Don't raise an exception if we can't find the src assembly on a shadow copy appdomain
2014-01-11 21:09:15 -08:00
Fredrick Galoso d27abb23af [system] Add IsIPv6Teredo to System.Net.IpAddress
Adds support for checking for an IPv6 Teredo address, introduced in
.NET Framework 4.
2014-01-11 21:23:50 -06:00
Alistair Bush 2d7b174c93 Don't raise an exception if we can't find the src assembly.
These changes are released under the MIT license.
2014-01-12 00:35:37 +13:00
Aaron Bockover bc6da57cc1 mono-api-info: avoid NumberOverflow
GetFlaggedEnumValue converts values to Int64 which
can cause a NumberOverflow exception when the value
is too large to fit (e.g. a large UInt64). Special
case UInt64 values for now (duplicates the logic,
which sucks).
2014-01-10 14:13:02 -05:00
Miguel de Icaza 319f562ca7 [csharp] do not try to read 0 characters for a string 2014-01-10 12:37:09 -05:00
Miguel de Icaza 2a728c2a86 [csharp] Make the stream reader iterate until all data has been read 2014-01-10 11:36:21 -05:00
Miguel de Icaza f85bf44466 Add new --client/--server[=server[:port] support for the shell 2014-01-10 11:36:20 -05:00
Miguel de Icaza bf60e93ea2 update copyright 2014-01-10 11:36:20 -05:00
Marek Safar 62dda0260a [corlib] Update en-GB first day of week. Fixes #17151 2014-01-10 16:47:47 +01:00
Marek Safar c92e96e850 [mcs] Check type of index used in pointer array aritmetic. Fixes #17145 2014-01-10 15:57:27 +01:00
Zoltan Varga 427d242009 [runtime] Fix large file support on android, it doesn't support -D_FILE_OFFSET_BITS=64, so call lseek64 directly. Fixes #17128. 2014-01-09 19:16:40 -05:00
Marek Safar 75bc8d1e1d [corlib] Hunting down rare Task.WaitAll race 2014-01-10 14:38:35 +01:00
Atsushi Eno c67aed9a47 fix build. 2014-01-10 20:42:25 +09:00
Marek Safar c4222e06ff [mdoc] Update expected result xml templates 2014-01-10 11:36:06 +01:00
Atsushi Eno bf909bcbd0 fix bug #11335. 2014-01-10 19:04:58 +09:00
Atsushi Eno 2fd8da4920 Fix bug #11336. 2014-01-10 19:03:33 +09:00
Marek Safar 9939588f48 [System.Core] Update MonoTouch System.Linq.Expression to be 4.5 compatible 2014-01-10 10:46:45 +01:00
Marek Safar e7c6b18e4e [mcs] Add missing object to dynamic conversion for imported types 2014-01-10 10:46:45 +01:00
Michael Hutchinson e6ffa41b0e [xbuild] Do not allow running tests or installing exe w/4.0 profile
It's not a usable MSBuild 4.0 toolset, that's in the 4.5 profile directory.
2014-01-10 01:11:33 -05:00
Michael Hutchinson 21a85cdd21 [xbuild] The 4.0 toolset is in the 4.5 directory 2014-01-10 01:11:32 -05:00
Michael Hutchinson 35287878b9 [xbuild] Reorganize xbuild targets/frameworks/bin data
They had been squashed into one single source directory
despite being installed into very different locations.

Made it easier to follow what's what by separating them
into:

* data: targets and data files for xbuild bin directory
* targets: misc pcl/web targets for extension directory
* frameworks: framework definitions
2014-01-10 01:11:31 -05:00
Rodrigo Kumpera 11edb27437 Revert "[runtime] Make mono_class_is_assignable_from lazy resolve its arguments." This broke WCF.
This reverts commit decc91e8da.
2014-01-09 16:47:31 -05:00
Rodrigo Kumpera b8bb36eb2f [runtime] Change MonoImage::field_cache lock from the loader lock to the image lock. 2014-01-09 16:47:12 -05:00
Marek Safar b3f05d8b00 [System.Core] Add dynamic interpreter 2014-01-09 20:40:09 +01:00
Marek Safar 57b915d78f [dlr] Better FEATURE_REFEMIT checks 2014-01-09 20:40:09 +01:00
Rodrigo Kumpera 4b0111dac9 [corlib] Add an exhaustive regression test for file sharing and File.Move. 2014-01-08 20:47:01 -05:00
Rodrigo Kumpera e66015a55e [io-layer] Correctly implement permission checking for File.Move. Fixes #17009.
The old check was simply for open sharing status, which is incorrect. The right
thing to do is to check for FileShare.Delete and not FileAccess.
2014-01-08 20:47:00 -05:00
Marek Safar 1b41e096fe [mcs] Suport recursive references of non-FX assemblies 2014-01-08 20:49:39 +01:00
Mario Kosmiskas a01e1ca877 Using the fully qualified assembly name in dependencies
Some assemblies fail to load without specifying the full name,
namely bundling an app that uses GTK
2014-01-08 11:32:28 -08:00
Zoltan Varga 22b3e7f2b1 [jit] Use the mono_restore_context () helper function in one place. 2014-01-08 16:58:33 +01:00
Zoltan Varga 7798b94706 [jit] Align the stack in mono_arch_restore_context () on x86 since it might be unaligned if it was captured asynchronously. 2014-01-08 16:56:03 +01:00
Zoltan Varga b5af5b72ca [jit] Fix some checks in the arm dyn call code. Fixes #17101. 2014-01-08 04:33:59 +01:00
Michael Hutchinson 91ed5dfbfc [xbuild] Suppress new window for child processes
BXC14584 - Console windows pop up during build with mono runtime
2014-01-07 22:23:13 -05:00
Michael Hutchinson 6bb2ab2f06 [xbuild] Add pkgconfig file for xbuild 12 2014-01-07 22:22:32 -05:00
Michael Hutchinson 84b473c086 [xbuild] Fix the xbuild 12 tests 2014-01-07 18:39:34 -05:00
Michael Hutchinson 15fedf3b08 [xbuild] Add binding redirects so old tasks work w/ new xbuild 2014-01-07 18:39:33 -05:00
Michael Hutchinson 794e185592 [xbuild] Remove Silverlight targets, they don't work w/o framework 2014-01-07 18:39:32 -05:00
Michael Hutchinson b22bf8cbbf [xbuild] Set correct DefaultToolsVersion for xbuild 12 2014-01-07 18:39:32 -05:00
Michael Hutchinson 76d9d6a458 [xbuild] Fix 12.0 toolset location and public API 2014-01-07 18:39:31 -05:00
Michael Hutchinson 92ac9868a3 [xbuild] Fix 12.0 tasks 2014-01-07 18:39:30 -05:00
Michael Hutchinson 6926accf40 [xbuild] MSBuild 12 toolset should be available for XBUILD_12 2014-01-07 18:39:30 -05:00
Michael Hutchinson 47cb8c24c8 [xbuild] Update printed version/copyright 2014-01-07 18:39:29 -05:00
Michael Hutchinson 5e70ba51a0 [xbuild] Make xbuild script point to xbuild 12 2014-01-07 18:39:29 -05:00
Michael Hutchinson 3313d9ee10 [xbuild] Install data files for xbuild 12 2014-01-07 18:39:28 -05:00
Michael Hutchinson 425fdc03fa [xbuild] Build & install MSBuild 12.0 assemblies 2014-01-07 18:39:27 -05:00
Rodrigo Kumpera c8a343cf30 [runtime] ves_icall_type_is_assignable_from should not init its arguments as this is done properly by its callees. 2014-01-07 17:47:02 -05:00
Rodrigo Kumpera decc91e8da [runtime] Make mono_class_is_assignable_from lazy resolve its arguments.
Drop the requirement to call mono_class_init in mono_class_is_assignable_from.

The solution is not ideal as it relies on mono_class_implement_interface_slow which
is significantly slower than the regular checks and is less tested / complete.

The right approach here would be to promote setup_offsets to have proper laziness and
not be hidden behind vtable initialization. Until this happen we can't drop the
usage of the slow variant here.
2014-01-07 17:41:26 -05:00
Rodrigo Kumpera bc6387b7dd [runtime] Make mono_class_is_assignable_from_slow handle arrays. 2014-01-07 17:32:13 -05:00
Zoltan Varga 208c3ed412 [jit] Fix the loading of arguments received on the stack on arm. 2014-01-07 18:47:54 +01:00
Atsushi Eno 9dbcf29891 Merge branch 'msbuilddll2' of https://github.com/atsushieno/mono into msbuilddll2
Conflicts:
	mcs/tools/msbuild/ErrorUtilities.cs
	mcs/tools/msbuild/Main.cs
	mcs/tools/msbuild/Parameters.cs
	mcs/tools/msbuild/SolutionParser.cs
2014-01-08 01:13:11 +09:00
Atsushi Eno 67c6be79ab several fixes to load get buildable Project and run working builds. 2014-01-08 00:48:38 +09:00
Atsushi Eno 4640310ab0 BuildEngine4 must not be reused as IBuildEngine when building another project by <MSBuild> task. Set current directory. 2014-01-08 00:48:28 +09:00
Atsushi Eno 9a1fa0225e Unlike MS.Build.Engine, sln files cannot be supported in MS.Build.dll, so deal with them in this tool. 2014-01-08 00:48:21 +09:00
Atsushi Eno 0c9f224f1e skip Condition and ContinueOnError as task parameters. Do not use null toolsVersion as is in IBuildEngine2 implementation.
Conflicts:
	mcs/class/Microsoft.Build/Microsoft.Build.Internal/BuildEngine4.cs
2014-01-08 00:48:10 +09:00
Atsushi Eno 17183a6fbf Merge branch 'master' into msbuilddll2
Conflicts:
	mcs/class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine/ConsoleLogger.cs
	mcs/class/Microsoft.Build/Microsoft.Build.Evaluation/Project.cs
	mcs/class/Microsoft.Build/Microsoft.Build.Execution/ProjectInstance.cs
	mcs/class/Microsoft.Build/Microsoft.Build.Execution/ProjectTargetInstance.cs
2014-01-08 00:20:29 +09:00
Zoltan Varga 50b0ab321a [aot] Disable aot for methods with tail calls in non full-aot mode, instead of compiling them without tail calls. 2014-01-07 16:17:57 +01:00
Zoltan Varga 5fbf9f1d11 [jit] Pass flags to mini_method_compile () as an enum. 2014-01-07 16:14:36 +01:00
Atsushi Eno 9676535077 Use ProjectInstance's DefaultTargets which also covers imports. 2014-01-08 00:09:35 +09:00
Atsushi Eno f20299d09a Add test for DefaultTargets handling with imports. 2014-01-08 00:09:34 +09:00
Atsushi Eno 6e33f6f724 rename some use of "xbuild" to "msbuild". Give loggers to ProejctInstance.Build() as expected. 2014-01-08 00:09:34 +09:00
Atsushi Eno c304f080a7 Add logger related tests (to sort out those Loggers properties relationship) 2014-01-08 00:09:33 +09:00
Atsushi Eno 96fe7c8372 update .sln too. 2014-01-08 00:09:33 +09:00
Atsushi Eno c915716227 Update .csproj (to add MSBuild.csproj). 2014-01-08 00:09:32 +09:00
Atsushi Eno 3bcf27afc1 Add experimental "MSBuild.exe" implementation which is based on Microsoft.Build.dll.
Conflicts:
	mcs/tools/msbuild/Main.cs
	mcs/tools/msbuild/SolutionParser.cs
2014-01-08 00:09:30 +09:00
Martin Baulig d8a1b2b353 [PCL]: Add ReadOnlyDictionary type-forwarder for XI. Fixes #16951. 2014-01-07 16:07:17 +01:00
Zoltan Varga a449c18d7a [jit] Disable tail calls in AOT mode so methods using tail calls can be AOT-ed. 2014-01-07 15:46:27 +01:00
Zoltan Varga 0ac4a74e51 [aot] Don't pass -W option to the clang assembler, it causes a warning. 2014-01-07 15:46:27 +01:00
Atsushi Eno 00c52b4cdd Revert "Remove private sln/csproj files."
I need these projects while I'm hacking MSBuild.

This reverts commit f188c158d4.
2014-01-07 22:47:47 +09:00
Atsushi Eno fde7b35e03 Fix mobile builds. 2014-01-07 22:33:06 +09:00
Atsushi Eno 7034ffa8b0 Fix mobile builds. 2014-01-07 22:32:26 +09:00
Atsushi Eno ebbc1b57b5 several fixes to load get buildable Project and run working builds. 2014-01-07 22:04:42 +09:00
Atsushi Eno ffb97e6fb8 BuildEngine4 must not be reused as IBuildEngine when building another project by <MSBuild> task. Set current directory. 2014-01-07 22:04:42 +09:00
Atsushi Eno b827e1f37c Unlike MS.Build.Engine, sln files cannot be supported in MS.Build.dll, so deal with them in this tool.
Conflicts:
	mcs/tools/msbuild/Main.cs
	mcs/tools/msbuild/SolutionParser.cs
2014-01-07 22:03:51 +09:00
Atsushi Eno d1e7c3be8b skip Condition and ContinueOnError as task parameters. Do not use null toolsVersion as is in IBuildEngine2 implementation. 2014-01-07 22:02:03 +09:00
Atsushi Eno 39a76b7d38 Evaluate Condition each Import within ImportGroup. 2014-01-07 22:02:02 +09:00
Zoltan Varga 2e1dc1864c [jit] Allocate MonoJumpInfo structures using alloc0. 2014-01-07 13:32:40 +01:00
Zoltan Varga 81295dd502 [runtime] Update copyright date in --version. 2014-01-07 11:54:52 +01:00
Alex Rønne Petersen d8feb5e9ad Allow creating MemoryMappedFiles with an in-memory and on-disk capacity of zero on Unix.
This is necessary to map special files such as /dev/mem.
2014-01-06 21:41:48 +01:00
Zoltan Varga eae1c9cb84 Merge pull request #865 from madewokherd/icallinit
Initialize icalls before exceptions.
2014-01-06 11:02:34 -08:00
Vincent Povirk 149e786af4 Initialize icalls before exceptions.
This commit licensed as MIT/X11.
2014-01-06 12:48:51 -06:00
Marek Safar e83bf13866 [corlib] Mark all promise-style task exceptions observed. Fixes #17015 2014-01-06 17:52:19 +01:00
Atsushi Eno 31a2e167f5 [rx][iOS] Do not try to generate doc comments with build properties, they don't work so far. 2014-01-07 00:55:14 +09:00
Marek Safar e619ed7765 [mcs] Emit Debuggable attribute. Fixes #16924 2014-01-06 15:24:33 +01:00
Marek Safar 76d899d494 [System.Web] Clean up assembly level attributes. 2014-01-06 12:05:42 +01:00
Marek Safar 2ce91c2481 [mcs] Method group caching needs to consider type arguments as well. Fixes #17059 2014-01-06 11:10:09 +01:00
Marek Safar 605b949141 New test 2014-01-06 11:10:08 +01:00
Zoltan Varga 3dba964da7 [jit] Save/restore all-callee saved registers in methods using some atomic opcodes on x86, since the opcode implementations use these registers, and the push/pop code used by these opcodes is not async safe, since the unwind code doesn't know about it. Fixes part of #16808. 2014-01-06 01:20:12 +01:00
Zoltan Varga 9921b0306f [runtime] Fix yet another metadata problem with dynamically created types. Fixes #14977. 2014-01-05 16:47:03 +01:00
Zoltan Varga c0278865da [jit] Fix the handling of OP_ISUB_IMM in abcrem. 2014-01-05 11:59:06 +01:00
Zoltan Varga 7efa9e3134 Merge pull request #852 from ranma42/abc-64bits
Improve ABCREM
2014-01-05 02:57:37 -08:00
Zoltan Varga a4eddbe982 [sdb] Add async variants to the InvokeMethod methods. 2014-01-05 11:32:35 +01:00
Linquize 3cc0e3fe3d If HTTP charset header is empty, do not append content encoding to Content-Type header 2014-01-05 16:56:05 +08:00
Zoltan Varga 01f587ef97 [jit] Emit calls to class init trampolines for fields accesses inside inline methods in AOT mode. Fixes #16461. 2014-01-05 02:03:30 +01:00
Zoltan Varga 41c521df6f [runtime] Avoid RuntimeHelpers.EnsureSufficientExecutionStack () failing on windows. Works around #16776. 2014-01-05 00:58:47 +01:00
Zoltan Varga a4070ceb60 [runtime] Call mono_class_setup_methods () before accessing klass->method.count. Fixes #16883. 2014-01-05 00:50:59 +01:00
Robert 'Bobby' Zenz ea33947ba3 Noted that the fullname attribute is not the same as Type.FullName.
Because of Cecil the fullname attribute does expect the fullname attribute to be in the format of ECMA-335. This is in certain cases not the same as the name reported by Type.FullName.

See jbevain/cecil#150 for some details on this.
2014-01-04 19:10:23 +01:00
Marek Safar 65f5704a2c [corlib] Update datetime patters. Fixes #17044 2014-01-04 15:33:24 +01:00
Marek Safar 46d83567ac [mcs] Type arguments resolve failure needs to be reported after probing mode 2014-01-04 15:33:12 +01:00
Marek Safar 48537ccc00 [mcs] Better check for value type base call. Fixes #16806 2014-01-04 15:33:11 +01:00
Marek Safar a62c32736f [mcs] Await flow analysis uses resolved expression. Fixes #16840 2014-01-04 15:33:11 +01:00
Zoltan Varga 0ed2afe61d [gsharedvt] Avoid using the variable size code paths for non-variable size types with some array opcodes. Fixes #17023. 2014-01-04 13:18:58 +01:00
Marek Safar 1913a6900b Merge pull request #858 from madewokherd/datavis
System.Windows.Forms.DataVisualization fixes
2014-01-04 02:05:03 -08:00
Marek Safar 996a249ff2 Merge pull request #859 from antoniusriha/groupDescription
Implement GroupDescription based on moonlight implementation
2014-01-04 00:51:42 -08:00
Zoltan Varga fefb5f9b7b [jit] Avoid nullifying class init trampolines for recursive calls to class initializers. Fixes #16489 2014-01-04 01:15:21 +01:00
Rodrigo Kumpera 79a3a432a7 [sdb] The sdb library depends on Process.Start returning a Process object, so force UseShellExecute to false.
This fixes a massive breakage on wrench.
2014-01-03 15:27:19 -05:00
Antonius Riha 57c18def14 Implement GroupDescription based on moonlight implementation 2014-01-03 21:15:32 +01:00
Vincent Povirk 21bc38b80d Avoid infinite loop in property getter.
This commit licensed as MIT/X11.
2014-01-03 12:46:00 -06:00
Vincent Povirk 3d387843cd Change System.Windows.Forms.DataVisualization PKT to match Windows.
This commit licensed as MIT/X11.
2014-01-03 12:45:52 -06:00
Zoltan Varga 0a558a7af6 Remove usage of mini_replace_type () from mono_jit_runtime_invoke (), runtime invokes care about the precise types of parameters. Fixes #16830. 2014-01-03 14:49:08 +01:00
Zoltan Varga 0a1f1fe87c [aot] Sanitize utf8 characters in symbol names. Fixes #16851. 2014-01-03 13:17:49 +01:00
Michael Hutchinson b3b28212f6 Merge pull request #822 from carlosmn/asp-pc
Use full path for aspnetwebstack pkg-config file
2014-01-02 17:19:57 -08:00
Michael Hutchinson 79e63ca4a9 Merge pull request #849 from antoniusriha/pcCacheBug
Fix for PkgConfig cache orphaned entries bug (xam bug #11133)
2014-01-02 16:58:37 -08:00
Rodrigo Kumpera 8bc8d64457 Merge pull request #838 from desdesdes/master
Implementation of System.Reflection.ParameterInfo.HasDefaultValue
2014-01-02 15:49:51 -08:00
Bart Vries 3d1779302e Implementation of System.Reflection.ParameterInfo.HasDefaultValue 2014-01-03 00:15:52 +01:00
Vincent Povirk 539862aded Avoid adjusting selection twice in TextControl.
This commit licensed as MIT/X11.
2014-01-02 16:28:49 -06:00
Antonius Riha 726fe38c48 Remove obsolete pc infos from pc cache on Update()
The pc info file cache (~/.config/xbuild/pkgconfig-cache-2.xml) stored data
for files which don't exist anymore on the system which causes
https://bugzilla.xamarin.com/show_bug.cgi?id=11133.

This patch removes obsolete entries from the cache when
PcFileCache.Update() is called.
2014-01-02 21:14:54 +01:00
Antonius Riha 3fcb8f8a6c Remove redundant pc info store.
* PcFileCache.filesByFolders held copies of the package infos in
  PcFileCache.infos grouped by the resp. pkg config directories the pc files
  resided in.

* Rewrite GetPackages:
    - Returns a snapshot-in-time IEnumerable<PackageInfo> ordered by pkg config
      folder.
    - Noramilzes paths of pkgConfigDirs parameter

* Remove now superfluous method PcFileCache.Add(,,)
2014-01-02 21:14:53 +01:00
Antonius Riha 37c3ac78f5 Add a test for PcFileCache.GetPackages() 2014-01-02 21:14:53 +01:00
Antonius Riha bbd2412985 Setup PcFileCache stubs and ctor tests 2014-01-02 21:14:53 +01:00
Antonius Riha 9ac4fc1b52 Move internals from Microsoft.Build.Tasks to new dll Mono.XBuild.Tasks
All internal members (such as PcFileCache) have been made public to make them unit-testable.

* mcs/class/Makefile: Add Mono.XBuild.Tasks as build target

* mcs/class/Microsoft.Build.Tasks/Makefile: Add Mono.XBuild.Tasks.dll as build
  reference of Microsoft.Build.Tasks.dll

* mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks-net_2_0.csproj:
* mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks-net_3_5.csproj:
* mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks-net_4_0.csproj:
* mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks-net_4_5.csproj: Remove
  source files, which have been moved to Mono.XBuild.Tasks.dll and add a
  project reference to Mono.XBuild.Tasks.dll

* mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks.dll.sources: Remove
  files that have been moved to Mono.XBuild.Tasks.dll from
  Microsoft.Build.Tasks.dll

* mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks/PcFileCache.cs:
* mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks/LibraryPcFileCache.cs:
  This file was moved to Mono.XBuild.Tasks.dll

* mcs/class/Mono.XBuild.Tasks/Assembly/AssemblyInfo.cs: Moved from
  Microsoft.Build.Tasks.dll. Signing key is mono.pub.

* mcs/class/Mono.XBuild.Tasks/Mono.XBuild.Tasks/PcFileCache.cs:
* mcs/class/Mono.XBuild.Tasks/Mono.XBuild.Tasks/LibraryPcFileCache.cs:
  Moved from Microsoft.Build.Tasks.dll. All internal members have been made
  public.

* mcs/class/Mono.XBuild.Tasks/Test/Mono.XBuild.Tasks/PcFileCacheTest.cs: Create
  test file stub.
2014-01-02 21:14:53 +01:00
Marek Safar 4248ffaf1c [mcs] Don't wrap reference type values in explicit nullable conversion. Fixes #16900 2014-01-02 18:53:09 +01:00
Marek Safar a9eb08036e Merge pull request #855 from echampet/spec
Fix a small typo in mono-core.spec.in breaking the build
2014-01-02 09:37:47 -08:00
Marek Safar c9f9f94d36 Merge pull request #854 from antoniusriha/sortDescription
Make SortDescriptionCollection returned by SortDescriptionCollection.Empty read-only
2014-01-02 08:47:42 -08:00
Marek Safar 9a36b4fd76 [eval] Consider base type members in tab completion 2014-01-02 17:40:10 +01:00
Antonius Riha 3e28c643b0 Make empty SortDescriptionCollection read-only.
This is in accordance with the behavior of SortDescriptionCollection in .NET.
2014-01-02 17:31:36 +01:00
Antonius Riha 9e20dc9fa8 Add tests for empty, non-modifiable SortDesriptionCollection 2014-01-02 17:31:22 +01:00
Etienne CHAMPETIER 3109cc5fb4 Fix a small typo in mono-core.spec.in breaking the build
Signed-off-by: Etienne CHAMPETIER <[email protected]>
2014-01-02 17:02:26 +01:00
Marek Safar 2ccb89fd97 [mcs] Restore async modifiers context after nested enums declaration. Fixes #16997 2014-01-02 14:18:42 +01:00
Marek Safar 99aa6cf9b2 [corlib] Promise style tasks cannot be started manually. Fixes #16857 2014-01-02 14:13:00 +01:00
Andrea Canciani 6c0fa0d567 Improve ABCREM on 64-bits architectures
Array indexes can be 32-bits integers even on 64-bits
architectures. This causes most loops to fail Array Bounds Checking
REMoval because the index is sign-extended before the check (see
mini_emit_ldelema_1_ins).

Sign-extending an I4 to I8 preserves its value, hence it is possible
to propagate the relation between the variables.
2014-01-01 18:55:23 +01:00
Marek Safar 92887027be [system] Make ICommand 4.5 profile only 2014-01-01 15:30:06 +01:00
Marek Safar dce005f81f [corlib] Thread.GetNamedDataSlot allocates slot on failure. Fixes #16788 2014-01-01 15:28:40 +01:00
Marek Safar 12e28957fc Merge pull request #851 from ranma42/fix_16992v2
Fix bug #16992
2014-01-01 02:01:09 -08:00
Andrea Canciani 6395563467 Use LIFO policy for CancellationTokenSource
The .NET implementation of CancellationTokenSource invokes the
callbacks in the opposite order from that of the registration.
In order to mixamize compatibility, use the same order.

Fixes ReEntrantRegistrationTest, Cancel_Order, Cancel_ExceptionOrder
(in CancellationTokenSourceTest) and
https://bugzilla.xamarin.com/show_bug.cgi?id=16992
2013-12-31 22:01:46 +01:00
Andrea Canciani 0ac0c15211 Add testcases for callback and exception ordering
Translated from the F# testcases available here
https://github.com/fsharp/fsharp/blob/19507b98bc6a7995e9c19c40f044fdfeb578ef77/src/fsharp/FSharp.Core.Unittests/FSharp.Core/Microsoft.FSharp.Control/Cancellation.fs#L100
2013-12-31 22:01:27 +01:00
Andrea Canciani 33178ca69c Fix CancellationTokenSourceTest.ReEntrantRegistrationTest
This test run on .NET would result in both "unregister" and "register"
set to a "true" value. In order to ensure that the "unregister = true"
fragment is not executed, its disposal needs to be registered after,
because on .NET the CancellationTokenSource has a LIFO behavior.

This change simplifies the code and makes the expected behavior
consistent with that of .NET.
2013-12-31 22:00:34 +01:00
Rodrigo Kumpera 87e820dfe0 Merge pull request #847 from ranma42/fsharp-tuple-hashing
F#-compatible tuple hashing
2013-12-26 10:05:41 -08:00
Andrea Canciani 648782fa2e Make tuple hash function consistent with the F# implementation
The F# compiler optimizes the hashing of tuples when it can inline
it. This is consistent with the hashing algorithm used in .NET, but it
is not with the one used in Mono, as pointed out in
https://github.com/fsharp/fsharp/issues/188

This patch modifies Tuples.cs so that the hashing algorithm is the
same as that used in F#, i.e. the XOR variant of DJB2, using a
balanced tree parenthesization.
2013-12-26 17:50:03 +01:00
Andrea Canciani de70cc72ff Fix Tuples.cs code generator
The code generator in Tuple.cs did not build because of missing
escaping of a string.
2013-12-26 17:45:46 +01:00
Marek Safar 20d948f98e Merge pull request #846 from abatishchev/patch-1
String.Join() calls List(IEnum) instead of looping
2013-12-24 00:21:46 -08:00
Alexander M. Batishchev e5618d9e15 String.Join() calls List(IEnum) instead of looping
String.Join() instead of looping over IEnumerable<T> calls the constructor of List<T> accepting IEnumerable<T>.
According to https://github.com/mono/mono/blob/master/mcs/class/corlib/System.Collections.Generic/List.cs#L67 it should be more efficient.

Because JoinUnchecked() accepts string[] the option #2 is to call ToArray() extension method instead.
https://github.com/mono/mono/blob/master/mcs/class/System.Core/System.Linq/Enumerable.cs#L2886
2013-12-23 19:57:03 -08:00
Rolf Bjarne Kvinge 3c928782dd Don't call CFNetworkCopyProxiesForAutoConfigurationScript from more than one thread. Fixes #7923, comment 21. 2013-12-24 00:51:01 +01:00
Richard Meyer e90b9743fc Updated various mime types, sources in description
http://blogs.msdn.com/b/vsofficedeveloper/archive/2008/05/08/office-2007-open-xml-mime-types.aspx

http://support.microsoft.com/?id=936496

http://www.rfc-editor.org/rfc/rfc4329.txt

Also added svg image/svg+xml
2013-12-23 16:01:53 -06:00
Richard Meyer 0ff662fa25 Support for audio/ogg and audio/mp4
.ogg, .oga audio/ogg
.mp4a, .aac audio/mp4
http://tools.ietf.org/html/rfc4337
2013-12-23 15:11:46 -06:00
meyerrj c9434cdb79 Support for video/mp4, video/ogg, video/webm
Added support for the three leading HTML5 Video mime types
.mp4 video/mp4
.ogv video/ogg
.webm video/webm

When Internet Explorer 10 or 11 receives application/octet-stream as the mime type for HTML5 video, it will not play the video. This resolves the issue in an Apache/mod_mono environment.
2013-12-23 04:01:06 -06:00
scottmcarthur 7a5ab1d8c9 Test for bug 16902
Check insert of null item, in a BindingList<T> where T implements INotifyPropertyChanged does not cause NullReferenceException.
2013-12-22 18:08:16 +00:00
scottmcarthur 6150625424 Check for null item in BindingList<T>.InsertItem
Prevents `NullReferenceException` when inserting `null` object into `BindingList<T>` where `T` implements `INotifyPropertyChanged`
2013-12-21 17:28:35 +00:00
Alex Rønne Petersen d7ce227abe Handle 12.00 in XBuild's SolutionParser.
This doesn't fix support for VS 2013 projects, but it's a start...
2013-12-21 09:57:45 +01:00
Sebastien Pouliot 69d82906cb Do not assume the first certificate of a PKCS12 file is the one matching the key (even if it's the most common way). ref: desk #54722 2013-12-18 14:21:23 -05:00
Sebastien Pouliot 4ec15d9627 Switch to File.ReadAllBytes since we do not have to support pre-2.0 code 2013-12-18 14:21:23 -05:00
Sebastien Pouliot 2c58476bbb Replace custom Load with File.ReadAllBytes 2013-12-18 14:21:22 -05:00
Marek Safar 12dc6607ee Merge pull request #841 from knocte/master
[System] Change S.N.S.NetworkStream's param name on ctor
2013-12-18 01:00:31 -08:00
Andrés G. Aragoneses bd964bab4b [System] Change S.N.S.NetworkStream's param name on ctor
Changed to the name that is used in MS.NET:
http://msdn.microsoft.com/en-us/library/te7e60bx%28v=vs.110%29.aspx

Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=16832
2013-12-17 23:09:22 +01:00
Horst Kakuschke 88af4836ad Cleaned up the using statements in DateTime tests 2013-12-17 15:42:25 +01:00
Horst Kakuschke 280fe42c65 Additional tests for Xamarin Bug 16742 + style enhancements 2013-12-17 13:53:25 +01:00
Alex Rønne Petersen bed99adf75 Merge pull request #839 from glinos/master
Implemented System.Threading.Monitor.IsEntered
2013-12-16 22:04:01 -08:00
Harry Glinos 245e3c11fa Implemented System.Threading.Monitor.IsEntered 2013-12-16 23:23:02 -06:00
Rodrigo Kumpera 5066972814 [System] When starting a process with UseShellExecute=true, don't return a process. Fixes #16119 2013-12-16 17:13:06 -05:00
Rodrigo Kumpera ee07f97545 [io-layer] On OSX don't pass -W to open as we don't care for it waiting. 2013-12-16 16:55:16 -05:00
Rodrigo Kumpera 6c06d10995 [runtime] Don't pass SEE_MASK_NOCLOSEPROCESS to ShellExecuteEx as we don't care for the launched process. Part 1/3 of Bug #16119.
The System.Diagnostics.Process API always return a null process when starting with UseShellExecute=true.
This means we should not track the launched process and not gather information regarding it.
2013-12-16 16:50:40 -05:00
Rodrigo Kumpera a17ce06e42 [runtime] A thread without a domain set cannot be running managed code. Fixes #16794. 2013-12-16 14:14:42 -05:00
Atsushi Eno d4afca2276 Updated Rx to 2.2 release. 2013-12-17 03:30:39 +09:00
Martin Baulig 2c4d09109c [runtime]: Cosmetic, fix log level on diagnostic PCL remapping messages. 2013-12-16 18:10:48 +01:00
Miguel de Icaza 8bfc95c49a Updated documentation 2013-12-16 13:03:18 -02:00
Marek Safar edbcca9467 [doc] Document CurrentCultureInfo 2013-12-16 13:58:43 +01:00
Zoltan Varga 3312a1af0c [aot] Give the compilation unit entries in the DWARF debug info different names, the osx tools seem to need this (#15202). 2013-12-16 01:24:53 +01:00
Zoltan Varga 32861b70dd [aot] Add runtime wrappers for methods of generic classes and generic methods. Fixes #16747. 2013-12-15 03:02:34 +01:00
Zoltan Varga 5b6c4ceb68 [gsharedvt] Add a wrapper to the mono_gsharedvt_constrained_call () icall, since it calls mono_runtime_invoke () which can throw exceptions. Fixes #16439. 2013-12-14 22:15:08 +01:00
Zoltan Varga 1dcee202f4 [jit] Remove an extra newline from a mono_trace () call. 2013-12-14 08:10:32 +01:00
Zoltan Varga 07dd8f8568 [jit] Fix TLS+AOT support in the monitor enter/exit trampolines. 2013-12-14 08:08:01 +01:00
Zoltan Varga b1693a8109 [jit] Cache gsharedvt types in get_gsharedvt_type (). 2013-12-14 07:05:22 +01:00
Zoltan Varga 9e5f1db551 [jit] Fix memory leaks in get_gsharedvt_type (). Fixes #16787. 2013-12-14 06:52:11 +01:00
Zoltan Varga cc46700633 Disable the bin writer on osx, it only works with xdebug, but the AOT compiler tries to use it as well. 2013-12-14 06:51:21 +01:00
Marek Safar 01b7a50189 [corlib] Don't inline await continuations when the context does not allow it. Fixes #16548 2013-12-13 17:09:24 +01:00
Rodrigo Kumpera 7ea732a51c Merge pull request #832 from xplicit/webperf1
Header names should be compared binary but not linguistic.
2013-12-13 07:24:06 -08:00
Zoltan Varga f6e4c12036 Revert "[gsharedvt] Avoid using gsharedvt trampolines for calls with a non-variable signature."
This reverts commit 38b6a9dffd.

Revert this as it causes failures in tests.
2013-12-12 23:58:25 +01:00
Zoltan Varga d04f68bf2b Merge pull request #837 from madewokherd/update-def
Update msvc .def files
2013-12-12 14:35:24 -08:00
Rodrigo Kumpera 2c0ed72458 [jit]Replace usage of mini_type_get_underlying_type with first arg null with new function mini_replace_type. 2013-12-12 17:04:17 -05:00
Rodrigo Kumpera a7029a72ba [jit] Properly wire the MGSC in the amd64 backend. 2013-12-12 17:04:17 -05:00
Zoltan Varga d24e0ade72 Merge pull request #806 from AxlPr/master
Fixed  g_win32_getlocale
2013-12-12 13:51:14 -08:00
Vincent Povirk 4162ac8716 Update msvc .def files.
This commit licensed as MIT/X11.
2013-12-12 15:50:38 -06:00
Vincent Povirk a4821b47a6 Exclude some functions that aren't on win32.
This commit licensed as MIT/X11.
2013-12-12 15:50:29 -06:00
Zoltan Varga b09b63db8b Merge pull request #836 from madewokherd/buildfixes
various build fixes
2013-12-12 13:49:54 -08:00
Vincent Povirk 3d590a378a Update create-windef.pl to account for sgen/boehm compiles.
This commit licensed as MIT/X11.
2013-12-12 15:23:24 -06:00
Miguel de Icaza 758246c2aa Update 2012 changes to sgen license 2013-12-12 12:31:57 -05:00
Marek Safar e586b796b1 [corlib] Mark ConcurrentDictionary serializable. Fixes #16730 2013-12-12 11:32:36 +01:00
Marek Safar 74e946bd85 Merge pull request #834 from OttoG/master
Stub implementation of EndGetRequestStream overload in HttpWebRequest.cs
2013-12-11 23:44:27 -08:00
Vincent Povirk 71c0296e69 Add HAVE_DECL_INTERLOCKED* symbols to winconfig.h.
This commit licensed as MIT/X11.
2013-12-11 17:23:26 -06:00
Vincent Povirk e6db4097a8 Update file listinigs in msvc projects. 2013-12-11 17:23:01 -06:00
Vincent Povirk acb851f494 Include config.h in mono-tls.c.
This commit licensed as MIT/X11.
2013-12-11 17:22:23 -06:00
Vincent Povirk bceebec90c Check for InterlockedDecrement64 in configure.
We already have code looking for the corresponding symbol.

This commit licensed as MIT/X11.
2013-12-11 17:21:26 -06:00
Rodrigo Kumpera 09e65ba543 [bcl] When finalizing a Process object, don't touch the streams as they are finalized on their own. Fixes #10883. 2013-12-11 17:15:12 -05:00
OttoG e4a09c8613 Changed compiler directive according to documentation
EndGetRequestStream with TransportContext parameter was introduced in .NET 3.5. Also added "using" statement for System.Net (namespace for TransportContext).
2013-12-11 22:03:18 +01:00
Horst Kakuschke 2ff1bf33aa Fixes Xamarin Bug 16742: XmlConvert.ToDateTime(string, XmlDateTimeSerializationMode) throws index out of bounds exception
Fix for bug + added tests for method
XmlConvert.ToDateTime(string, XmlDateTimeSerializationMode)
2013-12-11 20:14:17 +01:00
Marek Safar cd7f8a4ae8 [system] Make TransportContext 3.5 api 2013-12-11 20:03:18 +01:00
Marek Safar f7f54fa01a [mcs] Clone labeled statements cache in probing mode. Fixes #16376 2013-12-11 20:03:17 +01:00
Zoltan Varga 42f7b0bdd7 Make a test work in the presence of llvm optimizations. 2013-12-11 19:20:14 +01:00
Zoltan Varga 1d654c8828 [jit] Fix a problem in the liveness pass, where the variable which was only used in the first instruction of the first bblock was incorrectly marked as dead. 2013-12-11 19:19:53 +01:00
Rodrigo Kumpera 7888d9f224 [jit]Reenable int/long/double -> float rounding tests. 2013-12-11 11:15:25 -05:00
Rodrigo Kumpera cbf44a1e55 [jit]Emit explicit float rounding on amd64. Fixes #15987 2013-12-11 11:15:25 -05:00
Rodrigo Kumpera 88e7ef4729 [arch]Add cvtsi2ss to amd64 codegen. 2013-12-11 11:15:24 -05:00
OttoG a9079357c6 Stub implementation of EndGetRequestStream overload in HttpWebRequest.cs
I am not sure if a "do-nothing" implementation like this is acceptable in the Mono code base, but it does solve the problem described in https://bugzilla.xamarin.com/show_bug.cgi?id=12875 (successfully executing simple requests using the Google API .NET client library).
2013-12-11 12:35:57 +01:00
Sebastien Pouliot e4dcfc71ff [tests] Fix some corlib unit tests to run successfully on iOS 2013-12-10 21:48:09 -05:00
Martin Baulig d0d5f5a0d8 [corlib]: Add stubs for the remaining `System.Runtime.InteropServices.WindowsRuntime' APIs. 2013-12-11 02:13:18 +01:00
Martin Baulig 1908e1dce6 [PCL]: Add new 'System.Runtime.InteropServices.WindowsRuntime' Facade Assembly.
FIXME: This is only a stub, the only type currently present is
       `System.Runtime.InteropServices.WindowsRuntime.EventRegistrationToken',
       which is only a stub.
2013-12-11 00:59:19 +01:00
Martin Baulig 7d238658ed [corlib]: Add 'System.Runtime.InteropServices.WindowsRuntime.EventRegistrationToken' stub. 2013-12-11 00:52:32 +01:00
Martin Baulig 37af8b7fe7 [PCL]: Add "System.Dynamic.Runtime.dll" Facade Assembly to MonoTouch.
Added the type-forwarder for `ConditionalWeakTable<T,V>', put all the
others inside a `!FULL_AOT_RUNTIME' conditional, then enabled this in
the MonoTouch build.
2013-12-11 00:44:37 +01:00
Rodrigo Kumpera 6b2137e66e [jit] Use mini_type_get_underlying in a few missing places in the jit. 2013-12-10 15:20:21 -05:00
Rodrigo Kumpera 73591211e3 [jit] Use mini_type_get_underlying in a few missing places in the jit. 2013-12-10 15:20:21 -05:00
Rodrigo Kumpera c3bcbb87c8 [jit] Use mini_type_get_underlying type in a few missing places in the x86 port. 2013-12-10 15:20:20 -05:00
Rodrigo Kumpera dbce960c82 [jit] Use mini_type_get_underlying type in a few missing places int the amd64 port. 2013-12-10 15:20:20 -05:00
Zoltan Varga 1786712331 [jit] Disable the optimized lmf push/pop code even if the arch specific code enables if it is not supported. 2013-12-10 18:33:53 +01:00
Mark Probst 85ef4bad2a [sgen] Explain a FIXME. 2013-12-10 18:19:02 +01:00
Mark Probst 08e9f6ec2e [sgen] Our bzero()/memmove() must store “volatile”, lest LLVM screw us. 2013-12-10 18:18:35 +01:00
Mark Probst 2effcc1b53 [sgen] Reverse the free-list after sweeping to be in address-order. 2013-12-10 15:13:41 +01:00
Mark Probst de75a12c63 [sgen] Only enqueue LOS objects if they contain references. 2013-12-10 15:13:41 +01:00
Marek Safar 39fa8bb4c2 [mcs] Update populated member cache of dynamic containers manually for additional entries. Fixes #16659 2013-12-10 11:12:23 +01:00
xplicit 583e8e07f6 Header names should be compared binary but not linguistic.
Moreover according to RFC2616 header names are subset of ASCII chars [0-127],
so culture-aware comparison is useless and eats too many processor time
(according to my benchmarks get an item from Hashtable with OrdinalIgnoreCase
comparers more than 20x times faster compared to Hashtable with InvariantCultureIgnoreCase
comparer)
2013-12-10 12:02:09 +07:00
Zoltan Varga c1908d7e47 [jit] Implement the delegate ctor optimization in AOT mode too. 2013-12-10 03:36:01 +01:00
Alex Rønne Petersen a07c846bc9 Merge pull request #831 from madewokherd/win64-warnings
fix various warnings in win64 exception code
2013-12-09 15:02:27 -08:00
Vincent Povirk 493d786a89 Fix MonoW32ExceptionHandler type on win64.
This commit licensed as MIT/X11.
2013-12-09 15:56:08 -06:00
Vincent Povirk 524362a752 Move a variable declaration to the start of a block.
This commit licensed as MIT/X11.
2013-12-09 15:56:02 -06:00
Vincent Povirk 9ee5928c57 Mark some functions as static.
This commit licensed as MIT/X11.
2013-12-09 15:55:57 -06:00
Vincent Povirk c79a76411a Adjust type of mono_win_vectored_exception_handle to match its use.
This commit licensed as MIT/X11.
2013-12-09 15:55:39 -06:00
Zoltan Varga e652c6d7f2 [corlib] Disable a test which causes a wapi_unref_full () warning. 2013-12-09 19:56:47 +01:00
Marek Safar c2385c5ebf [corlib] Update current LogicalCallContext from empty context 2013-12-09 19:12:34 +01:00
Marek Safar 90ff06c7c3 [mcs] Show correct #line location for files in other than current location referenced as relative files. Fixes #16576 2013-12-09 14:37:47 +01:00
Marek Safar 6ab86f50fd [system] Redirect of put requests was converted to get. Fixes #16670 2013-12-09 14:18:15 +01:00
Atsushi Eno 3217cdc7f9 Merge pull request #830 from akoeplinger/fix-net40-build
Fix NET_4_0 tests build by correcting accessibility of properties/classes...
2013-12-08 19:32:21 -08:00
Marek Safar e94da6da6c [corlib] Ignore awaited default synchronization context. 2013-12-08 21:24:32 +01:00
Alexander Köplinger f9c02685a0 Fix NET_4_0 tests build by correcting accessibility of properties/classes
that should be public according to MSDN, but were internal:

http://msdn.microsoft.com/en-us/library/microsoft.build.evaluation.project.targets(v=vs.100).aspx
http://msdn.microsoft.com/en-us/library/microsoft.build.execution.projectinstance.targets(v=vs.100).aspx
http://msdn.microsoft.com/en-us/library/microsoft.build.execution.projecttargetinstance(v=vs.100).aspx
2013-12-08 19:55:53 +01:00
Marek Safar b05fdd2562 [corlib] Not continue on awaited source context should also ignore user task schedulers 2013-12-08 10:42:13 +01:00
Marek Safar de61f61d53 [corlib] Keep original cancellation exception from awaited task 2013-12-08 10:42:12 +01:00
Marek Safar 6a84e4ed21 Add new test 2013-12-08 10:42:12 +01:00
Marek Safar 6cce4a3937 Merge pull request #817 from desdesdes/master
[Bug 14664] LogicalSet/GetData implementation in CallContext
2013-12-08 01:39:27 -08:00
Marek Safar 127ff387ba [corlib] Block configurable task awaiter until task completes. 2013-12-07 19:51:36 +01:00
Marek Safar 85aaf9b074 [corlib] Better handling of awaiter continuation on finished task 2013-12-07 19:51:36 +01:00
Marek Safar 395cf8f623 [corlib] Add check for launching cancelled task to all overloads 2013-12-07 19:51:35 +01:00
Rodrigo Kumpera 971eba81ac [sgen]Fix a deadlock when the GC try to free a JI during world restart. Fixes #15759
This is deadlock prone as the GC lock is a leaf lock while the domain
lock required to free a JI is not.

There are plenty of places where we alloc memory while holding the
domain lock, so we cannot do it the other way.
2013-12-06 15:23:02 -05:00
Zoltan Varga 26b81f1358 [bcl] Invoke assembly resolve hooks even if the assembly name has a parse error. Fixes #16487. 2013-12-06 19:40:05 +01:00
Marek Safar 6cc37a6607 [corlib] Optimize one string Join<T> overload. Fixes #16647 2013-12-06 19:32:46 +01:00
Bassam Tabbara 90f9595967 Convert blocking operations in HttpWebRequest and SslClientStream to non-blocking operations. This fixes #15451.
More details:
  * HttpWebRequest now writes the HTTP request headers asynchronously. This will avoid blocking a thread pool thread until the headers are written.
  * SslClientStream was doing the TLS negotiations in a blocking manner. Converted the negotiation method to an async state machine where all operations are done asynchronously.
  * The test case identified in #15451 now completes quickly with less than 15 threads created, vs. 100s of threads used before this fix.

Future work if needed:
  * I did not convert SslServerStream but the same pattern could be used here.
  * SendAlert is still blocking. I thought it was not worth converting it to non-blocking.
2013-12-06 09:32:22 -08:00
Francis Fisher f698a81dbf gdi32.dll redirection apply to non-windows only 2013-12-06 16:14:15 +00:00
Francis Fisher baadfab798 dllmap for BitBlt in gdi32.dll 2013-12-06 16:13:46 +00:00
Rodrigo Kumpera b535b6a553 [bcl] Handle BigInt -> long conversions that should overflow but dont. Fixes #16526 2013-12-06 11:13:29 -05:00
Rodrigo Kumpera ac7a23e3a8 Merge pull request #828 from mateusz-holenko/master
Fix build.
2013-12-06 07:38:52 -08:00
Marek Safar 13899a5658 [System.Net.Http] Don't throw on invalid input in TryGetValues. Fixes #16634 2013-12-06 16:35:34 +01:00
Marek Safar a485cff9de [mcs] Don't stop type inference when a unique construction of the generic interface cannot be found. Fixes #16567 2013-12-06 16:35:33 +01:00
Mateusz Hołenko b6e27528e8 Fix build. 2013-12-06 16:18:44 +01:00
Zoltan Varga 537bffffa6 [aot] Avoid emitting two debug_line sections when using the GAS .file and .loc directives. 2013-12-06 15:20:22 +01:00
Marek Safar bb44c68952 [mcs] Add better type conversion to unary mutators. Fixes #16578 2013-12-06 14:33:31 +01:00
Marek Safar c8d91bc505 Bump mscorlib version for monolite to work correctly 2013-12-06 09:50:21 +01:00
Marek Safar 164119d8c5 Partially revert 3019283237 2013-12-06 09:40:26 +01:00
Marek Safar c9311087d9 Improve test failure check 2013-12-06 09:39:30 +01:00
Zoltan Varga 3019283237 Fix the arm build with xcode 5.1. 2013-12-06 03:50:45 +01:00
Atsushi Eno f9b37c6939 Fix build. 2013-12-06 10:11:23 +09:00
Sebastien Pouliot 2ef208b1a6 [Test] Fix build of System.Core unit tests 2013-12-05 17:52:53 -05:00
Jonathan Pryor a699e7444e [Mono.Options] Improve error message for badly bundled args.
mono(1) supports a "joined" verbose flag, `mono -v-v-v-v`, which
Mono.Options doesn't support. Attempting to use it, however, resulted
in a "weird" error message:

	$ csharp -r:Mono.Options.dll
	csharp> using Mono.Options;
	csharp> var p = new OptionSet { { "v", v => {} } };
	csharp> p.Parse (new[]{"-v-v-v"});
	Mono.Options.OptionException: Cannot bundle unregistered option '--'.
	...

This looks very weird to users because they never used a "--" option,
and if they had then `--` would have disabled further option
processing (as documented and implemented in OptionSet.Parse()).

Confusion all around.

Improve the error message so that it instead generates:

	Mono.Options.OptionException: Cannot use unregistered option '-' in bundle '-v-v-v'.

That way the user gets the full context of where this "unregistered
option" came from.
2013-12-05 15:43:35 -05:00
Miguel de Icaza 37e3c51b13 Comment style; Wrap at 100 2013-12-05 14:43:53 -05:00
Miguel de Icaza 01c5c73599 Comment style 2013-12-05 14:42:48 -05:00
Sebastien Pouliot c1193a68d2 [Test] Ignore a test case if executed on the main thread 2013-12-05 14:35:34 -05:00
Rodrigo Kumpera f60bd66244 [lock-tracer]Update the decoder to handle the current runtime and OSX. 2013-12-05 14:11:58 -05:00
Rodrigo Kumpera 3ffae9f5df [lock-tracer]Workaround ASLR on OSX by recording offsets to the main binary base address. 2013-12-05 14:11:58 -05:00
Rodrigo Kumpera 8998e08d7d [runtime]Fix deregister_reflection_info_roots_from_list to avoid full type resolution during unload. 2013-12-05 14:11:58 -05:00
Rodrigo Kumpera e90df12b26 [runtime]Add the marshal lock to the lock tracer. 2013-12-05 14:11:58 -05:00
Rodrigo Kumpera f274be9b81 [runtime]Replace the loader lock with the marshal lock in mono_marshal_load_type_info.
In order to make this possible, we now construct the marshal information without holding
any locks and then double-check on publication.
2013-12-05 14:11:57 -05:00
Rodrigo Kumpera 7b2e5477d0 [runtime] Don't hold the loader lock when calling mono_mb_create_method.
mono_mb_create_method no longer requires the loader lock. All use sites
replace the loader lock with simpler locks.

Those new locks cannot be held while we're building the methods themselves
as that piece of code does type resolution - thus taking the loader lock.
2013-12-05 14:11:57 -05:00
Rodrigo Kumpera b15194d70b [runtime] The assembly bindings are now protected by a separate lock instead of the loader lock. 2013-12-05 14:11:57 -05:00
Rodrigo Kumpera 0e4ad400c1 [runtime] Change deregister_reflection_info_roots to not take the loader lock.
We should not need the loader lock here as this only deals with dynamic images
that belong to the current domain that is been shutdown.

To ensure this is the case, added an assert to mono_image_append_class_to_reflection_info_set.
2013-12-05 14:11:57 -05:00
Rodrigo Kumpera df30abe4e6 [runtime] Cleanup usage of reflection_info_unregister_classes. Move it under the image lock and use image memory. 2013-12-05 14:11:56 -05:00
Rodrigo Kumpera ffee0d25c8 [runtime] mono_metadata_clean_for_image no longer needs to return a free list of classes. 2013-12-05 14:11:56 -05:00
Rodrigo Kumpera d3d6158ecb [runtime] Protect mono_create_icall_signature with the corlib image lock. 2013-12-05 14:11:55 -05:00
Rodrigo Kumpera 6f916be5c8 [runtime] Protect MonoImage::generic_def_objects with the image lock and not the loader lock. 2013-12-05 14:11:55 -05:00
Rodrigo Kumpera 720c9f42c7 [runtime] Introduce the icall lock to be used when looking up icall related information. 2013-12-05 14:11:55 -05:00
Rodrigo Kumpera d9d9ea796a [runtime] Ensure mono_class_setup_supertypes is atomic and drop the loader lock around it. 2013-12-05 14:11:54 -05:00
Marek Safar ad13ff15b3 Merge pull request #827 from Blewzman/master
Support IReadOnlyList in System.Linq.Enumerable.ElementAt and ElementAtOrDefault
2013-12-05 11:09:11 -08:00
Marek Safar 8f089b2bdd [mcs] Convert dotted paths to full path 2013-12-05 20:04:38 +01:00
Blewzman f17a1808cc Small coding style fixes. 2013-12-05 19:49:04 +01:00
Blewzman 3eae2c2407 Support IReadOnlyList in System.Linq.Enumerable.ElementAt and ElementAtOrDefault - with additional unit tests. 2013-12-05 19:35:35 +01:00
Marek Safar 6886a6e916 [sle] Implement DynamicExpressionVisitor. 2013-12-05 13:05:23 +01:00
Marek Safar 7efbb345ce Bump ikvm-reflection 2013-12-05 11:59:52 +01:00
Atsushi Eno 62712bc64b In ConsoleLogger, add workaround for bogus use of EventSource senders in MS.Build.Engine.
See comments for details.
2013-12-05 18:08:29 +09:00
Marek Safar 3b664f331f [corlib] Implement task awaiters running on custom task scheduler. Fixes #16587 2013-12-05 09:51:56 +01:00
Alex Rønne Petersen e42840fdd9 Fix monograph to build under various --disable-boehm/--disable-libraries configurations. 2013-12-05 00:28:18 +01:00
Zoltan Varga e62565f1e4 Fix the pp64 build. 2013-12-05 00:13:05 +01:00
Zoltan Varga 6be4932222 Fix the windows build. 2013-12-04 23:07:40 +01:00
Alex Rønne Petersen e20c2ecc68 Also use __builtin_extract_return_addr in these files. 2013-12-04 20:54:50 +01:00
Alex Rønne Petersen 6a4a396ba0 Apply __builtin_extract_return_addr to the result of __builtin_return_address. 2013-12-04 20:48:44 +01:00
Alex Rønne Petersen 41400cb378 Fix some warnings in mini-arm.c. 2013-12-04 20:42:16 +01:00
Martin Baulig c64997288f [xbuild]: Fix the tests.
'TestMessageLogger.Count' should not be used in tests to check for the
number of logged messages because it would also includes diagnostic messages.

Extra diagnostic messages should not be considered an error condition; in
fact, we have too few diagnostic messages, not too many.

Use 'TestMessageLogger.NormalMessageCount' and 'TestMessageLogger.WarningMessageCount'
instead.
2013-12-04 20:38:10 +01:00
Alex Rønne Petersen 4917c94318 Fix some pointer/integer size issues in unwind.c on 32-bit systems. 2013-12-04 17:31:47 +01:00
Alex Rønne Petersen 41b80b909b Add a dummy assignment to shut GCC up. 2013-12-04 17:26:08 +01:00
Alex Rønne Petersen e2367fc957 Fix some warnings caused by always_inline functions not being marked inline. 2013-12-04 16:58:14 +01:00
Marek Safar 97bb0ff149 [corlib] Better conversion betwen system locale and CultureInfo. Fixes #15875 2013-12-04 16:47:08 +01:00
Alex Rønne Petersen 99fda9e5ed Fix some warnings in mini-amd64.c. 2013-12-04 15:27:54 +01:00
Alex Rønne Petersen 04ce9f30b0 Fix a couple of warnings in mini-exceptions.c. 2013-12-04 15:19:31 +01:00
Alex Rønne Petersen 9794a36a67 Fix more PPC warnings. 2013-12-04 15:19:18 +01:00
Alex Rønne Petersen 81d70cc5ce Fix a warning on PPC. 2013-12-04 15:08:46 +01:00
Zoltan Varga d2485bf370 Merge pull request #824 from hanswolff/patch-1
Fixed missing pointer conversion tests in sizes.c
2013-12-04 04:18:44 -08:00
Alex Rønne Petersen 5ed3db3596 Unbreak libgc. 2013-12-04 12:56:58 +01:00
Marek Safar ef3f3753b8 [corlib] CreateSpecificCulture without exception retry 2013-12-04 12:18:10 +01:00
Alex Rønne Petersen 69997b9b28 Remove some more mdb bits. 2013-12-04 11:37:52 +01:00
Marek Safar 0a9cbdd968 [corlib] Update CurrentRegion to work with DefaultThreadCurrentCulture 2013-12-04 10:46:51 +01:00
Mark Probst 6f4e1151e0 [sgen] Link unit test programs with all libs.
Should fix the build for monodroid.
2013-12-04 10:32:47 +01:00
Hans Wolff a2f850e178 Fixed missing pointer conversion tests in sizes.c
Unsigned pointer conversion was not tested at all (looks like a copy & paste mistake)
2013-12-04 10:09:11 +01:00
Martin Baulig 0d0f4ae035 [xbuild]: Check a <Target>'s "Returns" first, then fall-back to "Outputs".
This fixes a problem with the "Microsoft.Bcl.Build" NuGet package, which
overrides the "GetTargetPath" target in a custom .targets file and uses
"Returns" instead of "Outputs".
2013-12-04 01:58:06 +01:00
Martin Baulig 305ce0e382 [xbuild]: Provide diagnostic logging of all executed targets. 2013-12-03 23:35:28 +01:00
Martin Baulig 1cf4b6f02e [xbuild]: Allow expressions inside a dynamic <ItemGroup>'s metadata.
Fixes #14661.
2013-12-03 21:05:07 +01:00
Zoltan Varga 6d7dd9e9fc Fix the build. 2013-12-03 20:06:27 +01:00
Alex Rønne Petersen 8b74167481 [sdb] Support a setpgid=y/n option to --debugger-agent. 2013-12-03 19:41:10 +01:00
Mark Probst c9ff997797 [sgen] Never invoke libc’s memmove() or bzero().
Those two functions are not guaranteed to do word-atomic copying or
zeroing under any circumstances.  memmove() on OSX, for instance,
has an SSE optimized variant that, if source and destination are 8-byte,
but not 16-byte aligned, will copy the first 8 bytes byte-wise, which can
crash SGen.

Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=16449.
2013-12-03 19:27:41 +01:00
Marek Safar afbd51e876 [mcs] Report nice error instead of crash for cyclic type forwarders. Fixes #16385 2013-12-03 19:21:39 +01:00
Marek Safar ffba0b7378 [mcs] Report all failure errors in lambda conversions. Fixes #16513 2013-12-03 19:21:39 +01:00
Marek Safar 83f166c110 [corlib] Replace manual array resize with Resize call 2013-12-03 19:21:37 +01:00
Atsushi Eno b90937ef14 Fix android-specific build (use of unassigned variable). 2013-12-04 01:37:38 +09:00
Alex Rønne Petersen 73e4f1d4a6 Sanitize the kqueue check in configure.in. 2013-12-03 13:37:54 +01:00
Mark Probst cd0631b0ef [sgen] Fix build on Linux. 2013-12-03 02:24:04 -08:00
Alex Rønne Petersen b9bcafb382 Merge branch 'armhf' of github.com:alexrp/mono 2013-12-03 10:04:58 +01:00
Atsushi Eno f188c158d4 Remove private sln/csproj files. 2013-12-03 16:55:47 +09:00
Atsushi Eno b3d6490a35 update .csproj. 2013-12-03 16:53:30 +09:00
Atsushi Eno 06b0f3d28a Add missing exception types. 2013-12-03 16:53:30 +09:00
Atsushi Eno 4914ab0b6a ProjectCollection.DefaultToolsVersion is settable. 2013-12-03 16:53:29 +09:00
Atsushi Eno cac790f7ca Some parser error message got source string for Condition evaluation. 2013-12-03 16:53:28 +09:00
Atsushi Eno cafdbf84dc Target items related fixes - give diagnostic outputs for initial items. Evaluate item condition. 2013-12-03 16:53:28 +09:00
Atsushi Eno c89d31260f Fix some default properties: OutputType has default to Exe. AssemblyName defaults to the project file name, not RootNamespace. 2013-12-03 16:53:27 +09:00
Atsushi Eno 37dd28603a Enable parallel build test, with successful command, now that ConsoleLogger is now parallel ready. 2013-12-03 16:53:27 +09:00
Atsushi Eno 79aead48aa ConsoleLogger is now parallel build ready. 2013-12-03 16:53:26 +09:00
Atsushi Eno f044685b16 Fixed Task output item string result creator and fixed test expectation.
Item output task parameters don't show up on TargetResult Items. Instead
those items can be retrieved via ProjectInstance after builds.
2013-12-03 16:53:26 +09:00
Atsushi Eno 33ddd9e511 Empty items could still slipped in when converting string to array.
ResolveAssemblyReferences was hit with empty SearchPaths because of this.
2013-12-03 16:53:25 +09:00
Atsushi Eno 717c7f504c Make sure to raise matching TaskFinished event. 2013-12-03 16:53:25 +09:00
Atsushi Eno ed990229fa While converting string to array, trim each element before converting.
ResolveAssemblyReferences should work now.
2013-12-03 16:53:24 +09:00
Atsushi Eno a86c3161a4 implement "skip target due to previous success" feature. 2013-12-03 16:53:24 +09:00
Atsushi Eno 8b991126cd Improve item evaluation whitespace handling. 2013-12-03 16:53:23 +09:00
Atsushi Eno f85c526832 disable parallel build test because it is ConsoleLogger which does not work fine. 2013-12-03 16:53:23 +09:00
Atsushi Eno f428a45eda ProjectTaskOutputPropertyInstance was not appropriately created. 2013-12-03 16:53:22 +09:00
Atsushi Eno 60b27cd208 Make sure to use BuildNodeManager in any build run, and corrected error handling to somewhat better state.
Also, now EndBuild() won't finish until all callbacks are done.
2013-12-03 16:53:22 +09:00
Atsushi Eno 58ce380ecb LoadProject() should add the loaded project to the collection. 2013-12-03 16:53:21 +09:00
Atsushi Eno 9cdcf9f7ce Any errors inside BuildEngine build could be logged by loggers.
Some exceptions _outside_ that can be still on stderr, but they are
much less now.
2013-12-03 16:53:21 +09:00
Atsushi Eno 3ae629a509 Give Project FullPath a unique name for each test so that error outputs could be attributed. 2013-12-03 16:53:20 +09:00
Atsushi Eno d744f4e374 Make sure to fire TargetFinished event in any result (namely, internal error).
That possible mismatch caused invalid Stack operation in ConsoleLogger.
2013-12-03 16:52:58 +09:00
Atsushi Eno 19c8247277 couple of minor refactoring and warnings cleanup.
BuildSubmission.IsCompleted is valid now.
Renamed some argument in BuildEngine4.
Removed ProjectTargetInstance field by moving them to arguments in BuildEngine4.
2013-12-03 16:52:57 +09:00
Atsushi Eno 87da3f6382 do not try to evaluate and set non-required and empty Task parameter for ITask instance. 2013-12-03 16:52:57 +09:00
Atsushi Eno cbe898bb70 fix test file name. 2013-12-03 16:52:56 +09:00
Atsushi Eno 6f58bb39c6 Handle target Inputs and Outputs so that extra targets can be skipped. Add some value convert (for task property) tests. 2013-12-03 16:52:55 +09:00
Atsushi Eno 2abc6438a0 For Condition, "yes", "no", "on" and "off" are also treated as valid boolean... 2013-12-03 16:52:54 +09:00
Atsushi Eno 1ef9aa3355 For ItemType-less metadata expression, apply all items in the project. 2013-12-03 16:52:53 +09:00
Atsushi Eno a27353ead3 Evaluate Target Condition too. 2013-12-03 16:52:53 +09:00
Atsushi Eno 46a949f958 Make use of XBUILD_FRAMEWORK_FOLDERS_PATH in GetReferenceAssemblyPaths task and make it testable importing common targets. 2013-12-03 16:52:52 +09:00
Atsushi Eno 733566f8e8 implement MetadataAccessExpression evaluate methods. 2013-12-03 16:52:51 +09:00
Atsushi Eno 14db3ee236 ProjectInstance never had valid ToolsVersion because ProjectRootElement holds "", not null(!) for default value. 2013-12-03 16:52:50 +09:00
Atsushi Eno 96e448b624 Fix ProjectInstance.ToolsVersion, never returned valid value. 2013-12-03 16:52:49 +09:00
Atsushi Eno 6761e5d3c8 Check Condition on task parameter before trying to apply it. 2013-12-03 16:52:49 +09:00
Atsushi Eno e72e4e9863 Well-Known metadata support is now in ProjectItemInstance too, sharing code with ProjectItem. 2013-12-03 16:52:48 +09:00
Atsushi Eno dd418612a7 Split lengthy DoBuildTarget() function into understandable units. 2013-12-03 16:52:47 +09:00
Atsushi Eno ebe1e4799d Project.GetItems() and ProjectInstance.GetItems() are now shared code.
They will involve more complication and I don't want to have duplicates.
2013-12-03 16:52:46 +09:00
Atsushi Eno 59a117b2e9 add some workaround for "PLATFORM" property that should not be filled by environment.
Add some tests to evaluate IntermediateOutputPath.
2013-12-03 16:52:45 +09:00
Atsushi Eno 16f67cab87 implement UnloadProject(). 2013-12-03 16:52:45 +09:00
Atsushi Eno 4a46f0a37a STRING_LITERAL could contain expandable expressions, so evaluate them too.
We cannot simply "expand strings first then evaluate condition as boolean"
because there are things like "$(A)=='true'" which is expanded as "=='true'".
2013-12-03 16:52:44 +09:00
Atsushi Eno 5b1d772403 remove redundant "throw NIE". 2013-12-03 16:52:44 +09:00
Atsushi Eno eaedaf632a implement ExpressionParserManual.EvaluateMetadataExpression(). 2013-12-03 16:52:43 +09:00
Atsushi Eno 14205a135c Forgot to rename namespace in .jay. 2013-12-03 16:52:42 +09:00
Atsushi Eno 87bf489e87 For expression stuff, change namespace to MS.Build.Internal.Expressionns.
Too annoying to track build engine traces.
2013-12-03 16:52:42 +09:00
Atsushi Eno 30bc1486dd Add more diagnostic logging in BuildEngine4. 2013-12-03 16:52:41 +09:00
Atsushi Eno 992fb0aeda update .csproj. 2013-12-03 16:52:41 +09:00
Atsushi Eno a93c8bf8e6 Add and use BuildAbortedException. 2013-12-03 16:52:40 +09:00
Atsushi Eno bbc7218256 implement ProjectInstance.GetItems() which is now actually used. 2013-12-03 16:52:40 +09:00
Atsushi Eno 25dd0d206a Filter out empty strings in split item array. 2013-12-03 16:52:39 +09:00
Atsushi Eno 18b80adf2b Task parameters has to be expanded before being applied to ITask instance. 2013-12-03 16:52:38 +09:00
Atsushi Eno e1b6ef6039 several BuildEngine4 fixes.
- DependsOnTargets has to be Trim()med before search.
- Metadata implementation is required in the TaskItem.
2013-12-03 16:52:38 +09:00
Atsushi Eno cd94d959fe Fix namespace. 2013-12-03 16:52:37 +09:00
Atsushi Eno 8958a54d81 use ConcurrentQueue in BuildNodeManager. 2013-12-03 16:52:37 +09:00
Atsushi Eno 6f65e552de fix class visibility. 2013-12-03 16:52:36 +09:00
Atsushi Eno 4cbaff75a5 dump possible build node exceptions that would have been silently ignored. 2013-12-03 16:52:36 +09:00
Atsushi Eno cf6fa9eb19 Evaluate and include property and item on <Target> element before running tasks.
BuildEngine4.BuildTarget() became too lengthy, so split it.
2013-12-03 16:52:35 +09:00
Atsushi Eno 777ec86a1a Fix ContinueOnError evaluation (was almost always true). Add more logging. 2013-12-03 16:52:35 +09:00
Atsushi Eno 5fec8ad019 handle Target/@DependsOnTargets. To make it possible, some code reorganization. 2013-12-03 16:52:34 +09:00
Atsushi Eno 6c5640122a make locations internal in NET_4_0. 2013-12-03 16:52:34 +09:00
Atsushi Eno 3f3748e9ca No need to fill UsingTaskElement content here. Load() takes care of it. 2013-12-03 16:52:33 +09:00
Atsushi Eno 8d2ad3c460 Fix bogus expression tokenizer that failed at parenthesized expressions with And/Or. 2013-12-03 16:52:33 +09:00
Atsushi Eno 8d28a5e143 MaxNodeCount is documented as 1 by default. (not in use so far anyways...) 2013-12-03 16:51:55 +09:00
Atsushi Eno 7bd9052eb7 Show better error location in InvalidProjectFileException. 2013-12-03 16:51:54 +09:00
Atsushi Eno 7f41201372 slightly changed Csc task test project structure so that it could at least launch compiler. 2013-12-03 16:51:53 +09:00
Atsushi Eno c16c3dfb2e Fix load error with related to new attributes since 4.0. 2013-12-03 16:51:52 +09:00
Atsushi Eno ed859d6303 Fix possible NRE on null Location. 2013-12-03 16:51:52 +09:00
Atsushi Eno 96dad50549 implement ProjectIntance.AddItem(). 2013-12-03 16:51:51 +09:00
Atsushi Eno aa3e42ef74 Use ContinueOnError property on BuildEngine itself. 2013-12-03 16:51:51 +09:00
Atsushi Eno a806c1e8ba Set Task properties before running it, and get output task parameters when done. 2013-12-03 16:51:50 +09:00
Atsushi Eno 1fe034409b Several fixes to get ProjectUsingTaskElement could be loaded and task database gets correct match.
Now tasks could be loaded, ready to execute.
2013-12-03 16:51:50 +09:00
Atsushi Eno 4df2a71e86 workaround threading by Task isse. Also fix regression on "no target found" case (should fail).
(Task causes NotImplementedException under the hood).
2013-12-03 16:51:49 +09:00
Atsushi Eno 3412c85d2a update .csproj. 2013-12-03 16:51:48 +09:00
Atsushi Eno 62ab57ae8a ongoing task database implementation.
This somehow causes thread freeze, I had to disable some tests.
2013-12-03 16:51:48 +09:00
Atsushi Eno 5b42283cad ITaskFactory2 is public. 2013-12-03 16:51:47 +09:00
Atsushi Eno c3c1b455b4 update .csproj. 2013-12-03 16:51:46 +09:00
Atsushi Eno 87eb7b68a9 add missing OutOfProcNode class (though it seems unused). 2013-12-03 16:51:46 +09:00
Atsushi Eno 86d65aadba update .csproj. 2013-12-03 16:51:45 +09:00
Atsushi Eno af6757b7c1 delete old file. 2013-12-03 16:51:44 +09:00
Atsushi Eno 90f95ad9b2 implement basic node management skeleton (which does not really manage nodes, just to hold node retriever). 2013-12-03 16:51:43 +09:00
Atsushi Eno 721fffe2ad Ongoing build engine implementation and some fixes in build submission handling.
BuildSubmission could be posted multiple times so that multiple projects can
be built within one BuildManager. Now node manager should be implemented too...
2013-12-03 16:51:43 +09:00
Atsushi Eno 612c8bc88a Fix API: remove non-existent property in .NET (copy-paste bad). 2013-12-03 16:51:42 +09:00
Atsushi Eno fc029e1327 update .csproj. 2013-12-03 16:51:41 +09:00
Atsushi Eno 580fa5a9db Add missing ITaskFactory/2 and co. Add BuildEventArgs.set_Context(). 2013-12-03 16:51:40 +09:00
Atsushi Eno 687bd6fa31 update csproj. 2013-12-03 16:51:39 +09:00
Atsushi Eno e13cfb0bb5 Add IBuildEngine implementation, required to expose some features to tasks. 2013-12-03 16:51:39 +09:00
Atsushi Eno bb0c8641cb add test for BuildManager.PendBuildRequest(). Looks like it's mostly for internal use... 2013-12-03 16:51:38 +09:00
Atsushi Eno 5930c3fa8d fix NET_2_0 build: INodeLogger is only in 4.0. 2013-12-03 16:51:37 +09:00
Atsushi Eno 3f0e9ea33d slightly reorganized external sources dirs. 2013-12-03 16:51:36 +09:00
Atsushi Eno 0c2f47f1cc add missing copyright headers. 2013-12-03 16:51:36 +09:00
Atsushi Eno 8e71ae89fe implement HostServices, not sure if we're going to use it though. 2013-12-03 16:51:35 +09:00
Atsushi Eno 33ab64e9b3 add missing license headers. 2013-12-03 16:51:35 +09:00
Atsushi Eno 6df1bb8344 slightly reduce NIE code path. 2013-12-03 16:51:34 +09:00
Atsushi Eno 91c57db0fd update csproj. 2013-12-03 16:51:34 +09:00
Atsushi Eno 5795a5d1ce Add test for BuildSubmission (which is mostly for build operation so far). 2013-12-03 16:51:33 +09:00
Atsushi Eno 9c8b90b3ce Implement more precise DefaultTargets handling. 2013-12-03 16:51:33 +09:00
Atsushi Eno 43042abc79 Several fixes on manual expression parser with related to function args and property accesses. 2013-12-03 16:51:32 +09:00
Atsushi Eno 85c24d7ef2 fix some string evaluator tests. Some of them even fails in prop values. 2013-12-03 16:51:32 +09:00
Atsushi Eno 5524846de1 slightly improve property access error message. 2013-12-03 16:51:31 +09:00
Atsushi Eno 716dbf8d4e Apply windows path loader fix to ProjectInstance too. 2013-12-03 16:51:31 +09:00
Atsushi Eno b752051d18 Resolve property value by EvaluatedValue where appropriate. 2013-12-03 16:51:30 +09:00
Atsushi Eno ee9d2692f9 Sequence of comparison expressions (A==B==C) is invalid. Avoid ANE on property evaluation. 2013-12-03 16:51:30 +09:00
Atsushi Eno 0355d025e2 Fix binary expression evaluation. They can be combined. 2013-12-03 16:50:51 +09:00
Atsushi Eno ce97b1a68b implement prebuilt Condition evaluation function support. 2013-12-03 16:50:50 +09:00
Atsushi Eno ea85db2436 Fix location of windows path compatibility change. 2013-12-03 16:50:49 +09:00
Atsushi Eno 520616ae21 Fix 4.5 toolpath. 2013-12-03 16:50:48 +09:00
Atsushi Eno a8a49c37b3 fix import path for ProjectInstance too. 2013-12-03 16:50:48 +09:00
Atsushi Eno f2bf63cd62 update csproj. 2013-12-03 16:50:47 +09:00
Atsushi Eno d0f9b5427d Add missing built-in properties. Resolve properties on import paths. Resolve \ with / on import paths. 2013-12-03 16:50:46 +09:00
Atsushi Eno 7ecb09c1dd Project needs to build just fine for empty projects. 2013-12-03 16:50:45 +09:00
Atsushi Eno 1c19fc890f some BuildSubmission and BuildResult implementation, as well as tiny bit of build operation. 2013-12-03 16:50:44 +09:00
Atsushi Eno 8fd57e40ae sorted out BuildManager build logic up to BuildSubmission.Execute(). 2013-12-03 16:50:43 +09:00
Atsushi Eno 05c976aefe Reuse logger types in Microsoft.Build.dll. 2013-12-03 16:50:43 +09:00
Atsushi Eno 3f9eacfecd update csproj. 2013-12-03 16:50:42 +09:00
Atsushi Eno b35862adb6 sorted out logger stuff. Imported many of existing loggers from MS.Build.Engine. Stubbed some. 2013-12-03 16:50:41 +09:00
Atsushi Eno ae34234c86 update .sources too. 2013-12-03 16:50:40 +09:00
Atsushi Eno 0a140fcec1 update csproj. 2013-12-03 16:50:39 +09:00
Atsushi Eno 4e5ba453e1 add missing logging types which are required for Microsoft.Build.dll. 2013-12-03 16:50:39 +09:00
Atsushi Eno 593e1c8cc3 update csproj. 2013-12-03 16:50:38 +09:00
Atsushi Eno 609a5659a2 Add missing ProjectPropertyGroupTaskIntance and descendant, and implement more of this namespace. 2013-12-03 16:50:38 +09:00
Atsushi Eno 9faf9ca526 Added some comments on loaders in the two project object models. 2013-12-03 16:50:37 +09:00
Atsushi Eno 9c4c85f376 implemented more ProjectInstance family. Enabled some tests back. 2013-12-03 16:50:37 +09:00
Atsushi Eno 0e54cf20ac implemented a lot of ProjectTargetInstance and its descendants. Fixed a lot of Location stuff to fix NET_4_0 build. 2013-12-03 16:50:36 +09:00
Atsushi Eno f101e9abe2 implement basic project loader for ProjectInstance. 2013-12-03 16:50:36 +09:00
Atsushi Eno d75b5e5e94 refactoring some internals to make code sharable between Project and ProjectInstance. 2013-12-03 16:50:35 +09:00
Atsushi Eno 27c08dce64 update .csproj. 2013-12-03 16:50:34 +09:00
Atsushi Eno 7961c3db2e implement ProjectMetadataInstance and add some MS.Build.Execution tests. 2013-12-03 16:50:34 +09:00
Atsushi Eno 803607d04f add another GetLoadedProject() test, this time with ProjectInstance. 2013-12-03 16:50:33 +09:00
Atsushi Eno 1c8ee6ae17 implement GetLoadedProject(), ProjectAdded and adjust relevant methods. 2013-12-03 16:50:33 +09:00
Atsushi Eno bdda009028 Added workaround for DirectoryScanner bug that finds multiple files. Then implemented RecursiveDir metadata. 2013-12-03 16:50:32 +09:00
Atsushi Eno c3e5e8c861 update .csproj. 2013-12-03 16:50:32 +09:00
Atsushi Eno 40ec8b64dd make TaskItem available (as internal) in Microsft.Build.dll. 2013-12-03 16:50:31 +09:00
Atsushi Eno 7569cc8a93 implement item wildcard support, except for "**" which looks buggy at DirectoryScanner. 2013-12-03 16:50:31 +09:00
Atsushi Eno 215b84c1b8 implement IsImported. 2013-12-03 16:50:30 +09:00
Atsushi Eno 92c1b87789 implemented well-known item metadata. 2013-12-03 16:50:29 +09:00
Atsushi Eno 956395ecd2 Fix API for ProjectItemElement.Condition. Add test for item definition Condition. 2013-12-03 16:50:29 +09:00
Atsushi Eno 099e027422 GetMetadataValue() returns "" if metadata is not found. 2013-12-03 16:50:28 +09:00
Atsushi Eno 86d1bc5fee Fix MSBuildThisFile reserved property value (empty by default). 2013-12-03 16:50:28 +09:00
Atsushi Eno 92810da48d got imports working. Imported ProjectRootElement needed XmlReader to load it. 2013-12-03 16:50:27 +09:00
Atsushi Eno 6a57658654 For expression, string equality comparison is done in case-insensitive manner. 2013-12-03 16:50:27 +09:00
Atsushi Eno ead100a78e fix couple of regressions caused by lazy evaluation of properties. 2013-12-03 16:50:26 +09:00
Atsushi Eno fab2d35312 update .csproj. 2013-12-03 16:50:26 +09:00
Atsushi Eno 198f0082e5 partal import implementation. 2013-12-03 16:50:08 +09:00
Atsushi Eno d3ab7f2f4f missing Project attribute causes load error at ProjectRootElement level. 2013-12-03 16:50:07 +09:00
Atsushi Eno 61927bbc50 Allow empty function args and fix "sigle-argument is ignored" issue. 2013-12-03 16:50:06 +09:00
Atsushi Eno 9104907d9a Fix fullname (dotted name) parsing in boolean expression parser. 2013-12-03 16:50:05 +09:00
Atsushi Eno 0f6863df4e Now we can directly evaluate boolean expression with jay-based parser. 2013-12-03 16:50:04 +09:00
Atsushi Eno 26830c94ef fix NRE. 2013-12-03 16:50:03 +09:00
Atsushi Eno 9e4d891e11 fix NRE. 2013-12-03 16:50:02 +09:00
Atsushi Eno 68356ed43c implemented (hacky) method resolution for overloads and varargs. 2013-12-03 16:50:01 +09:00
Atsushi Eno 29bef8b989 support property function calls in tokenizer. 2013-12-03 16:50:00 +09:00
Atsushi Eno f795db2981 support type's static property access. 2013-12-03 16:50:00 +09:00
Atsushi Eno e4c1837c6c fix whitespace skipping. Do not accept sequential binary operations. 2013-12-03 16:49:59 +09:00
Atsushi Eno 9d8d2572af prevent invalid sequential property reference such as $(X)$(Y), by explicitly adding surrounding APOS to the expanded value. 2013-12-03 16:49:59 +09:00
Atsushi Eno a8b56ab70f couple of tokenization fixes with more tests. 2013-12-03 16:49:58 +09:00
Atsushi Eno 0b566b28ee made several fixes in jay-based expression parser and use it for boolean evaluation.
For item/propery reference expansion, use manual parser.
2013-12-03 16:49:58 +09:00
Atsushi Eno 4338a63f9b fix test for GetPropertyValueEscaped(). (expects WTF behavior) 2013-12-03 16:49:57 +09:00
Atsushi Eno aab6d6e7bc evaluate condition on PropertyGroup too. 2013-12-03 16:49:57 +09:00
Atsushi Eno c9a584e7a7 evaluate Condition on property to add Properties list.
Now we got a couple of errors because of malfunctional expression evaluator...
2013-12-03 16:49:56 +09:00
Atsushi Eno 15970da3a7 property reference is valid in Condition too. 2013-12-03 16:49:56 +09:00
Atsushi Eno b218dd0fe2 implement well-known and reserved properties. 2013-12-03 16:49:55 +09:00
Atsushi Eno 7357be85f7 Item references can be evaluated as boolean and hence can be a valid Condition expression. 2013-12-03 16:49:55 +09:00
Atsushi Eno c8f38da2d8 fix tests that incorrectly allowed empty/missing Include attribute. 2013-12-03 16:49:54 +09:00
Atsushi Eno e6fcc65278 implement string literal boolean evaluation. 2013-12-03 16:49:54 +09:00
Atsushi Eno 672f575afa forgot to commit exception change. 2013-12-03 16:49:53 +09:00
Atsushi Eno 3deb8d0a85 fix IndexOutOfRangeException for parsing "$" "@" or "%" (one char for each). 2013-12-03 16:49:52 +09:00
Atsushi Eno f12f734432 implement IsDirty() (incomplete of course), MarkDirty() and DisableMarkDirty. Fix tests. 2013-12-03 16:49:52 +09:00
Atsushi Eno 7d4e2ff71b update csproj. 2013-12-03 16:49:51 +09:00
Atsushi Eno 5e26a81f7c Raise error when project item has empty Include attribute or lacks it. 2013-12-03 16:49:50 +09:00
Atsushi Eno 455eaa7af3 ProjectItems are created after splitting Include paths by ';'.
So there could be more than one ProjectItem for the same ProjectItemElement.
2013-12-03 16:49:49 +09:00
Atsushi Eno 1fb98239a1 update csproj. 2013-12-03 16:49:49 +09:00
Atsushi Eno 228a5f4099 delete generated code. 2013-12-03 16:49:48 +09:00
Atsushi Eno e61d88d238 Altered expression parser to hand-written one (which was kind of anticipated) for torelant parsing. 2013-12-03 16:49:47 +09:00
Atsushi Eno f7d05af3ea Add full-scratch expression parser implementation. 2013-12-03 16:49:46 +09:00
Atsushi Eno 8735d655c9 implemented couple of Project members, while changing some members to throw NIE. 2013-12-03 16:49:45 +09:00
Atsushi Eno 79c7800f9a update .csproj. 2013-12-03 16:49:45 +09:00
Atsushi Eno f1d08b2a5d implement ProjectItem and co. 2013-12-03 16:49:44 +09:00
Atsushi Eno 0667fbd6c3 ProjectItemDefinition.ItemType was not initialized (also not tested.) 2013-12-03 16:49:44 +09:00
Atsushi Eno 13e60b8816 update .csproj. 2013-12-03 16:49:43 +09:00
Atsushi Eno ffa341ffdc implement ProjectItemDefinition and co. 2013-12-03 16:49:43 +09:00
Atsushi Eno 19647da75d implement Project.RemoveProperty() and ProjectProperty.Predecessor (i.e. property overrides). 2013-12-03 16:49:42 +09:00
Atsushi Eno 0a86f8456f implement several ProjectProperty types. 2013-12-03 16:49:42 +09:00
Atsushi Eno 6ccce5d459 fix csproj too. 2013-12-03 16:49:35 +09:00
Atsushi Eno c59f6e852b fix wrong type nest for added event handler and args. 2013-12-03 16:49:34 +09:00
Atsushi Eno a983f2bde4 update .csproj. 2013-12-03 16:49:33 +09:00
Atsushi Eno b04389411b Added missing ProjectCollection events and co. 2013-12-03 16:49:32 +09:00
Atsushi Eno 0157410a00 update .csproj. 2013-12-03 16:49:31 +09:00
Atsushi Eno 5f6841b609 implement basic ProjectProperty members. 2013-12-03 16:49:30 +09:00
Atsushi Eno a7a11fc7ea Add more tests and fixes in Construction loaders. 2013-12-03 16:49:30 +09:00
Atsushi Eno 59e67847fa update csproj. 2013-12-03 16:49:29 +09:00
Atsushi Eno 03b31eca2b implement toolset and build related members. 2013-12-03 16:49:28 +09:00
Atsushi Eno 4669f9ab6c forgot to add ProjectCollectionTest.cs. 2013-12-03 16:49:26 +09:00
Atsushi Eno e07081d760 update .csproj. 2013-12-03 16:49:25 +09:00
Atsushi Eno 8fdb340ce3 Add more project loader tests. 2013-12-03 16:49:24 +09:00
Atsushi Eno ee54380121 Fix regarding GetProjectInstanceForBuild(), and added some tests regarding Escape(). 2013-12-03 16:49:23 +09:00
Atsushi Eno 758e14c4e2 update csproj. 2013-12-03 16:49:23 +09:00
Atsushi Eno 3bf0ffb55d implement Project.Build() and ProjectInstance.Build() (they lead to NIE yet)
..., but still sorts out relationship between those types and methods.
2013-12-03 16:49:21 +09:00
Atsushi Eno 950ca86f45 fill ElementLocation items at loading. Fix Subtool-related build fix for 4.0. 2013-12-03 16:49:20 +09:00
Atsushi Eno 47aaaff471 update .csproj. 2013-12-03 16:49:19 +09:00
Atsushi Eno fe66ba6f41 Add BuildEventContextTest and slightly made Equals() clear on how it works. 2013-12-03 16:49:19 +09:00
Atsushi Eno b28c703044 update test csproj. 2013-12-03 16:49:18 +09:00
Atsushi Eno 2628dbd1f8 Fix ProjectRootElement.DirectoryPath. Add unit test for ProjectRootElement. 2013-12-03 16:49:16 +09:00
Atsushi Eno 66e97df577 update MS.Build csproj to the latest status. 2013-12-03 16:49:15 +09:00
Atsushi Eno 221184f747 Fix net_4_0 build. 2013-12-03 16:49:15 +09:00
Atsushi Eno 0f28c05d99 add BuildEventContext to .csproj. 2013-12-03 16:49:14 +09:00
Atsushi Eno 412bfd34c0 Add BuildEventContext. 2013-12-03 16:49:14 +09:00
Atsushi Eno 8e31fa7597 update MS.Build test csproj. 2013-12-03 16:49:13 +09:00
Atsushi Eno e2a79db75f Add ToolsetTest and fix Toolset construction. 2013-12-03 16:49:13 +09:00
Atsushi Eno 2e8f7fc585 Fix MS.Build.Tasks.csproj build too. 2013-12-03 16:49:12 +09:00
Atsushi Eno 84bbf45c67 fix test csproj build. 2013-12-03 16:49:12 +09:00
Atsushi Eno 1b1ede900b update MS.Build.csproj. 2013-12-03 16:49:11 +09:00
Atsushi Eno 698edb13ff implement ProjectCollection.Toolsets. 2013-12-03 16:49:10 +09:00
Atsushi Eno 8cf480afbc Add ToolLocationHelper and co. to MS.Build.dll (as internal). 2013-12-03 16:49:10 +09:00
Atsushi Eno 5f9868a372 ToolLocationHelper is now used in MS.Build.dll too (as internal). 2013-12-03 16:49:09 +09:00
Atsushi Eno 89293d29d9 Add IBuildEngine3 and IBuildEngine4 to csproj. 2013-12-03 16:49:09 +09:00
Atsushi Eno a782e6178c Add IBuildEngine3 and IBuildEngine4. 2013-12-03 16:49:08 +09:00
Atsushi Eno e012992e25 Add missing tests in csproj. 2013-12-03 16:49:07 +09:00
Atsushi Eno aafe0a4e2e MS.Build.dll: Add more missing members and implementation for some members. 2013-12-03 16:49:07 +09:00
Atsushi Eno b6a3785bc9 implement some MS.Build members as well as adding missing members. 2013-12-03 16:49:06 +09:00
Atsushi Eno 4a9e3cdf9c Add missing ProjectInstance family. 2013-12-03 16:49:06 +09:00
Atsushi Eno 6c2776884f implement various not-implemented types in Microsoft.Build.dll. 2013-12-03 16:49:05 +09:00
Atsushi Eno acad24f57f Add hacking MSBuild solution for MSBuild libraries. 2013-12-03 16:49:05 +09:00
Atsushi Eno 40fb52be0f update .sln too. 2013-12-03 16:48:02 +09:00
Marek Safar 51927cb419 Merge pull request #823 from DavidKarlas/master
Update PointConverter exception message from RectConverter to PointConverter
2013-12-02 23:47:00 -08:00
Atsushi Eno 46c451adc0 Update .csproj (to add MSBuild.csproj). 2013-12-03 16:46:57 +09:00
David Karlaš 018df75d54 Update PointConverter.cs 2013-12-03 06:48:03 +01:00
Zoltan Varga 45d5758db9 Hopefully the --enable-loadedllvm build on linux. 2013-12-03 04:01:51 +01:00
Martin Baulig 93d55a3daf [xbuild]: Implement task batching for properties; fixes #16403. 2013-12-02 22:56:58 +01:00
Atsushi Eno 623ba9bff2 Add experimental "MSBuild.exe" implementation which is based on Microsoft.Build.dll. 2013-12-03 05:05:43 +09:00
Atsushi Eno bb96a90b69 update .csproj. 2013-12-03 04:55:17 +09:00
Atsushi Eno 0466344052 Add missing exception types. 2013-12-03 04:55:03 +09:00
Atsushi Eno fcd1a0278a ProjectCollection.DefaultToolsVersion is settable. 2013-12-03 04:54:31 +09:00
Alex Rønne Petersen e70dec1e27 Fix comment style. 2013-12-02 19:33:27 +01:00
Alex Rønne Petersen a6bb88d2e5 Avoid clobbering IP when passing single-precision args on ARM hard float. 2013-12-02 19:27:39 +01:00
Alex Rønne Petersen 59e4edb1f6 Maintain max_len when emitting calls on ARM hard float.
It has to be adjusted dynamically as with OP_SWITCH since
we emit extra instructions in the various call opcodes when
the argument list contains single-precision floats.

Also, allocate extra storage space when needed (we would
potentially overflow previously).
2013-12-02 19:27:39 +01:00
Alex Rønne Petersen 64732bae27 Use d14 and d15 as scratch VFP registers.
Using d0 and d1 is problematic because they're argument registers
and so can end up being clobbered by instructions inserted in the
middle of a call sequence.

d14 and d15 on the other hand are OK because they don't have any
particular meaning in the ABI, and we don't even use them in the
register allocator at the moment anyway.
2013-12-02 19:27:39 +01:00
Alex Rønne Petersen 49f5625797 Correct the VFP check in exceptions-arm.c.
This should be a runtime decision, and also should be in
effect when using the hard float ABI (ARM_FPU_VFP_HARD).
2013-12-02 19:27:39 +01:00
Alex Rønne Petersen 1cdf7fafbd Implement support for single-precision args on ARM hard float.
This is done with a gross hack that maintains a list of args
in the MonoCallInst and emits them as late as possible. This
is not pretty, but we have to work around the register
allocator. See the code comments for details.
2013-12-02 19:27:39 +01:00
Alex Rønne Petersen f978a34abd Make sure FPRs aren't used for implicit arguments on ARM hard float. 2013-12-02 19:27:38 +01:00
Alex Rønne Petersen 4f8e1a7ff8 Add register assignment for double-precision args on ARM hard float. 2013-12-02 19:27:38 +01:00
Alex Rønne Petersen 3fb9ed6ee3 Implement add_float () for hard float on ARM. 2013-12-02 19:27:38 +01:00
Alex Rønne Petersen 87931e22c5 Print detected ARM version in configure. 2013-12-02 19:27:38 +01:00
Alex Rønne Petersen 369c838eb1 Implement return value passing for ARM hard float.
This is currently only for float32/float64 values. They are passed
in the d0 register. The code is a bit complicated because we only
speak float64 in the JIT, so float32 values have to be converted
to/from float64.
2013-12-02 19:27:38 +01:00
Alex Rønne Petersen 76c7f42e11 Handle the MONO_ARM_FPU_VFP_HARD case in mono_arch_emit_setret (). 2013-12-02 19:27:38 +01:00
Alex Rønne Petersen 6d4cd2f03a Add VFP register saving to trampolines. 2013-12-02 19:27:37 +01:00
Alex Rønne Petersen fb478ba04c Add a helper function to the ARM back end to determine hard float mode. 2013-12-02 19:27:37 +01:00
Alex Rønne Petersen 5082618f54 Adjust various FP register values for hard float in mini-arm.h. 2013-12-02 19:27:37 +01:00
Alex Rønne Petersen f5004f9b83 Add detection of VFP v3 variants to mono-hwcap-arm. 2013-12-02 19:27:37 +01:00
Alex Rønne Petersen fb6e4eb972 Add an IS_HARD_FLOAT macro to the ARM back end.
Also define correct values for IS_SOFT_FLOAT and IS_VFP for
the hardware floating point (ARM_FPU_VFP_HARD) case.
2013-12-02 19:27:37 +01:00
Alex Rønne Petersen ddf82bffe2 Remove the #error for the ARM_FPU_VFP_HARD case. 2013-12-02 19:27:37 +01:00
Marek Safar 521a61ae5d [linq] Enumerable.Join and GroupJoin needs to ignore null keys. Fixes #16530 2013-12-02 19:03:37 +01:00
Marek Safar 611ce3a9ed [corlib] DebuggerTypeProxyAttribute.ProxyName needs to return an assembly qualified type name. Fixes #16527 2013-12-02 17:54:22 +01:00
Mark Probst 42c2a5207d [sgen] Integrate sgen_qsort() unit test in Makefile. 2013-12-02 16:20:47 +01:00
Atsushi Eno 6754431cc8 Some parser error message got source string for Condition evaluation. 2013-12-02 19:05:12 +09:00
Atsushi Eno c8552029dd Target items related fixes - give diagnostic outputs for initial items. Evaluate item condition. 2013-12-02 19:04:20 +09:00
Zoltan Varga 8304e4407b Fix dwarf section names in the mach image writer. 2013-12-02 02:01:45 +01:00
Zoltan Varga 9003740b64 Fix a warning. 2013-12-01 14:30:01 +01:00
Zoltan Varga 858e4ee61e [amd64] Fix the tail call code after 4c0376d037. 2013-12-01 14:10:11 +01:00
Zoltan Varga 073752949f [jit] Implement double->uintptr conversions on 64 bit platforms. Fixes #16529. 2013-12-01 13:03:06 +01:00
Zoltan Varga a1024016a0 [sdb] Fix step-over with recursive functions. Fixes #5700. 2013-11-30 21:05:19 +01:00
Zoltan Varga e21dc7cec8 [bcl] Fix a culture test on linux. 2013-11-30 12:08:27 +01:00
Zoltan Varga 24a429c116 Fix a warning. 2013-11-30 05:45:59 -05:00
Zoltan Varga 14095c336b [x86] Simplify emit_push_lmf()/emit_pop_lmf () by removing cases which are handled by the IR based code. 2013-11-30 05:43:57 -05:00
Carlos Martín Nieto e2b0132a16 Use full path for aspnetwebstack pkg-config file
Referencing the assemblies by DLL name isn't enough for MonoDevelop to
pick them up for listing. Use the full path so they show up the
references list.
2013-11-30 04:03:34 +01:00
Marek Safar ae3f5aa141 [corlib] Consider all unicode separators in ToTitleCase. Fixes #16365 2013-11-29 20:40:07 +01:00
Marek Safar 8006bd5011 [corlib] Set initialized List<T> capacity to match input enumeration. Fixes #16318 2013-11-29 20:40:07 +01:00
Zoltan Varga e020c3bc2c [jit] Add beginnings of a mach image writer for use with xdebug. 2013-11-29 18:45:23 +01:00
Atsushi Eno 19e8e3dc0e Fix some default properties: OutputType has default to Exe. AssemblyName defaults to the project file name, not RootNamespace. 2013-11-30 00:44:57 +09:00
Marek Safar 3d59213ac4 [mcs] Better cloning debugging 2013-11-29 16:17:32 +01:00
Marek Safar 34700deb47 Fixes build 2013-11-29 16:14:31 +01:00
Atsushi Eno 5a9ca18776 Enable parallel build test, with successful command, now that ConsoleLogger is now parallel ready. 2013-11-29 23:41:09 +09:00
Atsushi Eno 63d1004b97 ConsoleLogger is now parallel build ready. 2013-11-29 23:40:46 +09:00
Marek Safar 31cab6a76d Fixes build 2013-11-29 13:51:02 +01:00
Marek Safar 985b7ba6f9 [mcs] Better error message for lambda expressions used as statements 2013-11-29 13:48:33 +01:00
Atsushi Eno 2c6cc958f8 Fixed Task output item string result creator and fixed test expectation.
Item output task parameters don't show up on TargetResult Items. Instead
those items can be retrieved via ProjectInstance after builds.
2013-11-29 20:02:09 +09:00
Marek Safar 564e390eb5 [mcs] Report ambiguity in attribute types in expanded mode. Fixes #16342 2013-11-29 11:45:55 +01:00
Atsushi Eno d2220188fe Empty items could still slipped in when converting string to array.
ResolveAssemblyReferences was hit with empty SearchPaths because of this.
2013-11-29 18:55:54 +09:00
Atsushi Eno eea81f1b32 Make sure to raise matching TaskFinished event. 2013-11-29 18:24:22 +09:00
Atsushi Eno 60b6ddc82b While converting string to array, trim each element before converting.
ResolveAssemblyReferences should work now.
2013-11-29 18:24:21 +09:00
Atsushi Eno 83df434707 implement "skip target due to previous success" feature. 2013-11-29 18:24:20 +09:00
Atsushi Eno 6a9c76131c Improve item evaluation whitespace handling. 2013-11-29 18:24:19 +09:00
Atsushi Eno 9d95a1b592 disable parallel build test because it is ConsoleLogger which does not work fine. 2013-11-29 18:24:18 +09:00
Atsushi Eno 2cd4d9d956 ProjectTaskOutputPropertyInstance was not appropriately created. 2013-11-29 18:24:17 +09:00
Atsushi Eno 639a7e9a4b Make sure to use BuildNodeManager in any build run, and corrected error handling to somewhat better state.
Also, now EndBuild() won't finish until all callbacks are done.
2013-11-29 18:24:16 +09:00
Atsushi Eno b3311e865e LoadProject() should add the loaded project to the collection. 2013-11-29 18:24:15 +09:00
Atsushi Eno 6c8dfee821 Any errors inside BuildEngine build could be logged by loggers.
Some exceptions _outside_ that can be still on stderr, but they are
much less now.
2013-11-29 18:24:14 +09:00
Atsushi Eno 94a5d5b2de Give Project FullPath a unique name for each test so that error outputs could be attributed. 2013-11-29 18:24:13 +09:00
Atsushi Eno c8a5add1d8 Make sure to fire TargetFinished event in any result (namely, internal error).
That possible mismatch caused invalid Stack operation in ConsoleLogger.
2013-11-29 18:24:13 +09:00
Atsushi Eno 956bdf55f7 couple of minor refactoring and warnings cleanup.
BuildSubmission.IsCompleted is valid now.
Renamed some argument in BuildEngine4.
Removed ProjectTargetInstance field by moving them to arguments in BuildEngine4.
2013-11-29 18:24:12 +09:00
Atsushi Eno 7730a23131 do not try to evaluate and set non-required and empty Task parameter for ITask instance. 2013-11-29 18:24:11 +09:00
Atsushi Eno a1a9af7198 fix test file name. 2013-11-29 18:24:10 +09:00
Atsushi Eno adae939ef6 Handle target Inputs and Outputs so that extra targets can be skipped. Add some value convert (for task property) tests. 2013-11-29 18:24:09 +09:00
Atsushi Eno eedce4342a For Condition, "yes", "no", "on" and "off" are also treated as valid boolean... 2013-11-29 18:24:09 +09:00
Atsushi Eno 383ac87fdb For ItemType-less metadata expression, apply all items in the project. 2013-11-29 18:24:08 +09:00
Atsushi Eno 700d1ac945 Evaluate Target Condition too. 2013-11-29 18:24:07 +09:00
Atsushi Eno 180564d655 Make use of XBUILD_FRAMEWORK_FOLDERS_PATH in GetReferenceAssemblyPaths task and make it testable importing common targets. 2013-11-29 18:23:43 +09:00
Atsushi Eno a37b1c848b implement MetadataAccessExpression evaluate methods. 2013-11-29 18:23:42 +09:00
Atsushi Eno 335ec4dbae ProjectInstance never had valid ToolsVersion because ProjectRootElement holds "", not null(!) for default value. 2013-11-29 18:23:41 +09:00
Atsushi Eno 59bd373236 Fix ProjectInstance.ToolsVersion, never returned valid value. 2013-11-29 18:23:40 +09:00
Atsushi Eno e3fe185333 Check Condition on task parameter before trying to apply it. 2013-11-29 18:23:39 +09:00
Atsushi Eno 2fad4ce3bb Well-Known metadata support is now in ProjectItemInstance too, sharing code with ProjectItem. 2013-11-29 18:23:38 +09:00
Atsushi Eno 0151a69ee3 Split lengthy DoBuildTarget() function into understandable units. 2013-11-29 18:23:37 +09:00
Atsushi Eno d6baf62ee3 Project.GetItems() and ProjectInstance.GetItems() are now shared code.
They will involve more complication and I don't want to have duplicates.
2013-11-29 18:23:36 +09:00
Atsushi Eno 492dcbd4f7 add some workaround for "PLATFORM" property that should not be filled by environment.
Add some tests to evaluate IntermediateOutputPath.
2013-11-29 18:23:36 +09:00
Atsushi Eno 7227dd419b implement UnloadProject(). 2013-11-29 18:23:35 +09:00
Atsushi Eno 2c10d72eff STRING_LITERAL could contain expandable expressions, so evaluate them too.
We cannot simply "expand strings first then evaluate condition as boolean"
because there are things like "$(A)=='true'" which is expanded as "=='true'".
2013-11-29 18:23:34 +09:00
Atsushi Eno de51bfe66e remove redundant "throw NIE". 2013-11-29 18:23:33 +09:00
Atsushi Eno c066736954 implement ExpressionParserManual.EvaluateMetadataExpression(). 2013-11-29 18:23:32 +09:00
Atsushi Eno 98079828b1 Forgot to rename namespace in .jay. 2013-11-29 18:23:31 +09:00
Atsushi Eno c594d61da9 For expression stuff, change namespace to MS.Build.Internal.Expressionns.
Too annoying to track build engine traces.
2013-11-29 18:23:30 +09:00
Atsushi Eno 2019930748 Add more diagnostic logging in BuildEngine4. 2013-11-29 18:23:29 +09:00
Atsushi Eno 710735e0fa update .csproj. 2013-11-29 18:23:28 +09:00
Atsushi Eno 32b70c6379 Add and use BuildAbortedException. 2013-11-29 18:23:27 +09:00
Atsushi Eno c256216287 implement ProjectInstance.GetItems() which is now actually used. 2013-11-29 18:23:26 +09:00
Atsushi Eno 9739f7d204 Filter out empty strings in split item array. 2013-11-29 18:23:25 +09:00
Atsushi Eno 6069a3d16d Task parameters has to be expanded before being applied to ITask instance. 2013-11-29 18:23:24 +09:00
Atsushi Eno b40071b2d4 several BuildEngine4 fixes.
- DependsOnTargets has to be Trim()med before search.
- Metadata implementation is required in the TaskItem.
2013-11-29 18:23:23 +09:00
Atsushi Eno ce33ad2b0f Fix namespace. 2013-11-29 18:23:22 +09:00
Atsushi Eno d20c5365e4 use ConcurrentQueue in BuildNodeManager. 2013-11-29 18:23:21 +09:00
Atsushi Eno 6fac6fe343 fix class visibility. 2013-11-29 18:23:20 +09:00
Atsushi Eno 8a1c344309 dump possible build node exceptions that would have been silently ignored. 2013-11-29 18:23:19 +09:00
Atsushi Eno 83b70b28c6 Evaluate and include property and item on <Target> element before running tasks.
BuildEngine4.BuildTarget() became too lengthy, so split it.
2013-11-29 18:23:18 +09:00
Atsushi Eno b986c4936c Fix ContinueOnError evaluation (was almost always true). Add more logging. 2013-11-29 18:23:17 +09:00
Atsushi Eno 7b0cc4fe01 handle Target/@DependsOnTargets. To make it possible, some code reorganization. 2013-11-29 18:23:16 +09:00
Atsushi Eno c8de1afe58 make locations internal in NET_4_0. 2013-11-29 18:23:15 +09:00
Atsushi Eno 8d1c9a3b32 No need to fill UsingTaskElement content here. Load() takes care of it. 2013-11-29 18:23:14 +09:00
Atsushi Eno b39c93b3a3 Fix bogus expression tokenizer that failed at parenthesized expressions with And/Or. 2013-11-29 18:23:13 +09:00
Atsushi Eno bb250ee469 MaxNodeCount is documented as 1 by default. (not in use so far anyways...) 2013-11-29 18:23:12 +09:00
Atsushi Eno 5fb2f0646a Show better error location in InvalidProjectFileException. 2013-11-29 18:23:12 +09:00
Atsushi Eno a94d52aecc slightly changed Csc task test project structure so that it could at least launch compiler. 2013-11-29 18:23:11 +09:00
Atsushi Eno fe8d96084e Fix load error with related to new attributes since 4.0. 2013-11-29 18:23:10 +09:00
Atsushi Eno 3377cb384c Fix possible NRE on null Location. 2013-11-29 18:23:09 +09:00
Atsushi Eno 5d31178c39 implement ProjectIntance.AddItem(). 2013-11-29 18:23:08 +09:00
Atsushi Eno 6769d12a51 Use ContinueOnError property on BuildEngine itself. 2013-11-29 18:23:07 +09:00
Atsushi Eno 81a7b71b32 Set Task properties before running it, and get output task parameters when done. 2013-11-29 18:23:06 +09:00
Atsushi Eno 01a080ca19 Several fixes to get ProjectUsingTaskElement could be loaded and task database gets correct match.
Now tasks could be loaded, ready to execute.
2013-11-29 18:23:05 +09:00
Atsushi Eno 0d895877b1 workaround threading by Task isse. Also fix regression on "no target found" case (should fail).
(Task causes NotImplementedException under the hood).
2013-11-29 18:23:04 +09:00
Atsushi Eno 8d6ecbf257 update .csproj. 2013-11-29 18:23:03 +09:00
Atsushi Eno 4149f6d5d6 ongoing task database implementation.
This somehow causes thread freeze, I had to disable some tests.
2013-11-29 18:23:02 +09:00
Atsushi Eno f0c157933f ITaskFactory2 is public. 2013-11-29 18:23:02 +09:00
Atsushi Eno 1a8d1b356c update .csproj. 2013-11-29 18:23:01 +09:00
Atsushi Eno 4a163333cc add missing OutOfProcNode class (though it seems unused). 2013-11-29 18:23:00 +09:00
Atsushi Eno ada1007296 update .csproj. 2013-11-29 18:23:00 +09:00
Atsushi Eno ced599348c delete old file. 2013-11-29 18:22:14 +09:00
Atsushi Eno 532f1b16b1 implement basic node management skeleton (which does not really manage nodes, just to hold node retriever). 2013-11-29 18:22:13 +09:00
Atsushi Eno c1ba5d85f2 Ongoing build engine implementation and some fixes in build submission handling.
BuildSubmission could be posted multiple times so that multiple projects can
be built within one BuildManager. Now node manager should be implemented too...
2013-11-29 18:22:12 +09:00
Atsushi Eno ff2726545d Fix API: remove non-existent property in .NET (copy-paste bad). 2013-11-29 18:22:11 +09:00
Atsushi Eno 86eddfa308 update .csproj. 2013-11-29 18:22:10 +09:00
Atsushi Eno 5aeda36257 Add missing ITaskFactory/2 and co. Add BuildEventArgs.set_Context(). 2013-11-29 18:22:09 +09:00
Atsushi Eno 5040de10b2 update csproj. 2013-11-29 18:22:08 +09:00
Atsushi Eno e75f0d726b Add IBuildEngine implementation, required to expose some features to tasks. 2013-11-29 18:22:07 +09:00
Atsushi Eno c6c76b3a70 add test for BuildManager.PendBuildRequest(). Looks like it's mostly for internal use... 2013-11-29 18:22:06 +09:00
Atsushi Eno 91aaf0f60b fix NET_2_0 build: INodeLogger is only in 4.0. 2013-11-29 18:22:05 +09:00
Atsushi Eno 8d481f11d1 slightly reorganized external sources dirs. 2013-11-29 18:22:04 +09:00
Atsushi Eno 1d7a853df4 add missing copyright headers. 2013-11-29 18:22:03 +09:00
Atsushi Eno ca691c74f0 implement HostServices, not sure if we're going to use it though. 2013-11-29 18:22:02 +09:00
Atsushi Eno 6b8f1d0eee add missing license headers. 2013-11-29 18:22:01 +09:00
Atsushi Eno 220d96cba7 slightly reduce NIE code path. 2013-11-29 18:22:00 +09:00
Atsushi Eno 282915ba7e update csproj. 2013-11-29 18:22:00 +09:00
Atsushi Eno 741650f7c2 Add test for BuildSubmission (which is mostly for build operation so far). 2013-11-29 18:21:58 +09:00
Atsushi Eno 339871f523 Implement more precise DefaultTargets handling. 2013-11-29 18:21:57 +09:00
Atsushi Eno a1160ebc79 Several fixes on manual expression parser with related to function args and property accesses. 2013-11-29 18:21:56 +09:00
Atsushi Eno c942af4f9f fix some string evaluator tests. Some of them even fails in prop values. 2013-11-29 18:21:56 +09:00
Atsushi Eno 006a7bd303 slightly improve property access error message. 2013-11-29 18:21:55 +09:00
Atsushi Eno caf1e274b2 Apply windows path loader fix to ProjectInstance too. 2013-11-29 18:21:54 +09:00
Atsushi Eno 6626dfe95a Resolve property value by EvaluatedValue where appropriate. 2013-11-29 18:21:53 +09:00
Atsushi Eno bc3ab82b2b Sequence of comparison expressions (A==B==C) is invalid. Avoid ANE on property evaluation. 2013-11-29 18:21:52 +09:00
Atsushi Eno 2efdcb618d Fix binary expression evaluation. They can be combined. 2013-11-29 18:21:51 +09:00
Atsushi Eno c5d68b1922 implement prebuilt Condition evaluation function support. 2013-11-29 18:21:50 +09:00
Atsushi Eno a666fc9886 Fix location of windows path compatibility change. 2013-11-29 18:21:49 +09:00
Atsushi Eno 1280072e42 Fix 4.5 toolpath. 2013-11-29 18:21:48 +09:00
Atsushi Eno 0e8be129d9 fix import path for ProjectInstance too. 2013-11-29 18:21:47 +09:00
Atsushi Eno 5671aa742a update csproj. 2013-11-29 18:21:46 +09:00
Atsushi Eno 4986fc1d50 Add missing built-in properties. Resolve properties on import paths. Resolve \ with / on import paths. 2013-11-29 18:21:45 +09:00
Atsushi Eno c3e86429b4 Project needs to build just fine for empty projects. 2013-11-29 18:21:44 +09:00
Atsushi Eno 9bd1c8dcc1 some BuildSubmission and BuildResult implementation, as well as tiny bit of build operation. 2013-11-29 18:21:43 +09:00
Atsushi Eno dfcb502de9 sorted out BuildManager build logic up to BuildSubmission.Execute(). 2013-11-29 18:21:42 +09:00
Atsushi Eno 6d54b6e218 Reuse logger types in Microsoft.Build.dll. 2013-11-29 18:21:41 +09:00
Atsushi Eno 7c53a29fbe update csproj. 2013-11-29 18:21:40 +09:00
Atsushi Eno 7dd532d3ca sorted out logger stuff. Imported many of existing loggers from MS.Build.Engine. Stubbed some. 2013-11-29 18:21:39 +09:00
Atsushi Eno a4aae3e863 update .sources too. 2013-11-29 18:21:39 +09:00
Atsushi Eno cf31055124 update csproj. 2013-11-29 18:21:38 +09:00
Atsushi Eno 926c4f9bf4 add missing logging types which are required for Microsoft.Build.dll. 2013-11-29 18:21:37 +09:00
Atsushi Eno 0b80dfee1e update csproj. 2013-11-29 18:21:36 +09:00
Atsushi Eno 5eb01842ba Add missing ProjectPropertyGroupTaskIntance and descendant, and implement more of this namespace. 2013-11-29 18:21:35 +09:00
Atsushi Eno e7f42549e9 Added some comments on loaders in the two project object models. 2013-11-29 18:21:34 +09:00
Atsushi Eno 886aed3450 implemented more ProjectInstance family. Enabled some tests back. 2013-11-29 18:21:33 +09:00
Atsushi Eno 38b7328cb2 implemented a lot of ProjectTargetInstance and its descendants. Fixed a lot of Location stuff to fix NET_4_0 build. 2013-11-29 18:21:32 +09:00
Atsushi Eno 191815a093 implement basic project loader for ProjectInstance. 2013-11-29 18:21:32 +09:00
Atsushi Eno b00ebb0e3c refactoring some internals to make code sharable between Project and ProjectInstance. 2013-11-29 18:21:31 +09:00
Atsushi Eno c62b93e4e2 update .csproj. 2013-11-29 18:21:31 +09:00
Atsushi Eno ce24491e7a implement ProjectMetadataInstance and add some MS.Build.Execution tests. 2013-11-29 18:21:16 +09:00
Atsushi Eno 36771fce36 add another GetLoadedProject() test, this time with ProjectInstance. 2013-11-29 18:21:15 +09:00
Atsushi Eno bf7320eaf4 implement GetLoadedProject(), ProjectAdded and adjust relevant methods. 2013-11-29 18:21:14 +09:00
Atsushi Eno fbbca213a6 Added workaround for DirectoryScanner bug that finds multiple files. Then implemented RecursiveDir metadata. 2013-11-29 18:21:13 +09:00
Atsushi Eno f92a803094 update .csproj. 2013-11-29 18:21:13 +09:00
Atsushi Eno 74ce017542 make TaskItem available (as internal) in Microsft.Build.dll. 2013-11-29 18:21:12 +09:00
Atsushi Eno 6425733f3d implement item wildcard support, except for "**" which looks buggy at DirectoryScanner. 2013-11-29 18:21:11 +09:00
Atsushi Eno f86010a6d9 implement IsImported. 2013-11-29 18:21:10 +09:00
Atsushi Eno b11b278ebd implemented well-known item metadata. 2013-11-29 18:21:09 +09:00
Atsushi Eno 6956ad5939 Fix API for ProjectItemElement.Condition. Add test for item definition Condition. 2013-11-29 18:21:08 +09:00
Atsushi Eno 631ccfc234 GetMetadataValue() returns "" if metadata is not found. 2013-11-29 18:21:07 +09:00
Atsushi Eno 251ee38cb5 Fix MSBuildThisFile reserved property value (empty by default). 2013-11-29 18:21:06 +09:00
Atsushi Eno 07e6b5cf6f got imports working. Imported ProjectRootElement needed XmlReader to load it. 2013-11-29 18:21:05 +09:00
Atsushi Eno 386284c675 For expression, string equality comparison is done in case-insensitive manner. 2013-11-29 18:21:04 +09:00
Atsushi Eno e91fa0a69d fix couple of regressions caused by lazy evaluation of properties. 2013-11-29 18:21:03 +09:00
Atsushi Eno e57cbc1a2f update .csproj. 2013-11-29 18:21:02 +09:00
Atsushi Eno eb71da804f partal import implementation. 2013-11-29 18:21:01 +09:00
Atsushi Eno a645b4d25a missing Project attribute causes load error at ProjectRootElement level. 2013-11-29 18:21:00 +09:00
Atsushi Eno ce1337ab37 Allow empty function args and fix "sigle-argument is ignored" issue. 2013-11-29 18:20:59 +09:00
Atsushi Eno 966a31ce5a Fix fullname (dotted name) parsing in boolean expression parser. 2013-11-29 18:20:58 +09:00
Atsushi Eno eba5645adb Now we can directly evaluate boolean expression with jay-based parser. 2013-11-29 18:20:57 +09:00
Atsushi Eno c96143ed69 fix NRE. 2013-11-29 18:20:56 +09:00
Atsushi Eno 38950e5ba9 fix NRE. 2013-11-29 18:20:55 +09:00
Atsushi Eno 5c83336164 implemented (hacky) method resolution for overloads and varargs. 2013-11-29 18:20:54 +09:00
Atsushi Eno d1bd7c431d support property function calls in tokenizer. 2013-11-29 18:20:53 +09:00
Atsushi Eno 55e01f6eaf support type's static property access. 2013-11-29 18:20:53 +09:00
Atsushi Eno d24ec0ee9c fix whitespace skipping. Do not accept sequential binary operations. 2013-11-29 18:20:52 +09:00
Atsushi Eno 222b644a94 prevent invalid sequential property reference such as $(X)$(Y), by explicitly adding surrounding APOS to the expanded value. 2013-11-29 18:20:51 +09:00
Atsushi Eno 52fcb37ef5 couple of tokenization fixes with more tests. 2013-11-29 18:20:51 +09:00
Atsushi Eno 2296908450 made several fixes in jay-based expression parser and use it for boolean evaluation.
For item/propery reference expansion, use manual parser.
2013-11-29 18:20:50 +09:00
Atsushi Eno ba15463a18 fix test for GetPropertyValueEscaped(). (expects WTF behavior) 2013-11-29 18:20:49 +09:00
Atsushi Eno 6c1ade2208 evaluate condition on PropertyGroup too. 2013-11-29 18:20:49 +09:00
Atsushi Eno f49a313031 evaluate Condition on property to add Properties list.
Now we got a couple of errors because of malfunctional expression evaluator...
2013-11-29 18:20:48 +09:00
Atsushi Eno e44316aac8 property reference is valid in Condition too. 2013-11-29 18:20:47 +09:00
Atsushi Eno e401791fd2 implement well-known and reserved properties. 2013-11-29 18:20:47 +09:00
Atsushi Eno daf32712af Item references can be evaluated as boolean and hence can be a valid Condition expression. 2013-11-29 18:20:46 +09:00
Atsushi Eno 31e660b0f4 fix tests that incorrectly allowed empty/missing Include attribute. 2013-11-29 18:20:45 +09:00
Atsushi Eno 7892970584 implement string literal boolean evaluation. 2013-11-29 18:20:44 +09:00
Atsushi Eno e71071b1da forgot to commit exception change. 2013-11-29 18:20:43 +09:00
Atsushi Eno 36203fda98 fix IndexOutOfRangeException for parsing "$" "@" or "%" (one char for each). 2013-11-29 18:20:43 +09:00
Atsushi Eno 1169b64aa3 implement IsDirty() (incomplete of course), MarkDirty() and DisableMarkDirty. Fix tests. 2013-11-29 18:20:42 +09:00
Atsushi Eno fc8246b03a update csproj. 2013-11-29 18:20:41 +09:00
Atsushi Eno 1da050daf0 Raise error when project item has empty Include attribute or lacks it. 2013-11-29 18:20:40 +09:00
Atsushi Eno c0fcd506d6 ProjectItems are created after splitting Include paths by ';'.
So there could be more than one ProjectItem for the same ProjectItemElement.
2013-11-29 18:20:39 +09:00
Atsushi Eno a5f96125d0 update csproj. 2013-11-29 18:20:38 +09:00
Atsushi Eno 691b1e9799 delete generated code. 2013-11-29 18:20:37 +09:00
Atsushi Eno 5002b25ec3 Altered expression parser to hand-written one (which was kind of anticipated) for torelant parsing. 2013-11-29 18:20:37 +09:00
Atsushi Eno 7b9d44886e Add full-scratch expression parser implementation. 2013-11-29 18:20:36 +09:00
Atsushi Eno 34d86a8497 implemented couple of Project members, while changing some members to throw NIE. 2013-11-29 18:20:05 +09:00
Atsushi Eno cda2e72d37 update .csproj. 2013-11-29 18:20:04 +09:00
Atsushi Eno 47ccaa7d18 implement ProjectItem and co. 2013-11-29 18:20:03 +09:00
Atsushi Eno 85ed86a799 ProjectItemDefinition.ItemType was not initialized (also not tested.) 2013-11-29 18:20:02 +09:00
Atsushi Eno 1a3cd4eac3 update .csproj. 2013-11-29 18:20:02 +09:00
Atsushi Eno 819b18a732 implement ProjectItemDefinition and co. 2013-11-29 18:20:01 +09:00
Atsushi Eno edc982f914 implement Project.RemoveProperty() and ProjectProperty.Predecessor (i.e. property overrides). 2013-11-29 18:20:01 +09:00
Atsushi Eno 5cce2ee718 implement several ProjectProperty types. 2013-11-29 18:20:00 +09:00
Atsushi Eno 48bd97af64 fix csproj too. 2013-11-29 18:20:00 +09:00
Atsushi Eno d39128ce21 fix wrong type nest for added event handler and args. 2013-11-29 18:19:59 +09:00
Atsushi Eno b4aaae8931 update .csproj. 2013-11-29 18:19:58 +09:00
Atsushi Eno dedde5fb02 Added missing ProjectCollection events and co. 2013-11-29 18:19:58 +09:00
Atsushi Eno bc0f489f06 update .csproj. 2013-11-29 18:19:57 +09:00
Atsushi Eno 21441a9b48 implement basic ProjectProperty members. 2013-11-29 18:19:57 +09:00
Atsushi Eno be330e18ff Add more tests and fixes in Construction loaders. 2013-11-29 18:19:56 +09:00
Atsushi Eno 659eb9638a update csproj. 2013-11-29 18:19:55 +09:00
Atsushi Eno 97ea0acfec implement toolset and build related members. 2013-11-29 18:19:55 +09:00
Atsushi Eno 618d699a42 forgot to add ProjectCollectionTest.cs. 2013-11-29 18:19:54 +09:00
Atsushi Eno 4c7461c7af update .csproj. 2013-11-29 18:19:54 +09:00
Atsushi Eno b053b3c022 Add more project loader tests. 2013-11-29 18:19:53 +09:00
Atsushi Eno 400cf174f2 Fix regarding GetProjectInstanceForBuild(), and added some tests regarding Escape(). 2013-11-29 18:19:52 +09:00
Atsushi Eno 3da51cf17a update csproj. 2013-11-29 18:19:52 +09:00
Atsushi Eno 6e8d703fd0 implement Project.Build() and ProjectInstance.Build() (they lead to NIE yet)
..., but still sorts out relationship between those types and methods.
2013-11-29 18:19:51 +09:00
Atsushi Eno 0656e72353 fill ElementLocation items at loading. Fix Subtool-related build fix for 4.0. 2013-11-29 18:19:51 +09:00
Atsushi Eno 5cc3b0a007 update .csproj. 2013-11-29 18:19:50 +09:00
Atsushi Eno c6652332bc Add BuildEventContextTest and slightly made Equals() clear on how it works. 2013-11-29 18:19:50 +09:00
Atsushi Eno 6e44a54461 update test csproj. 2013-11-29 18:19:49 +09:00
Atsushi Eno 6c983b97f1 Fix ProjectRootElement.DirectoryPath. Add unit test for ProjectRootElement. 2013-11-29 18:19:48 +09:00
Atsushi Eno 60309a490e update MS.Build csproj to the latest status. 2013-11-29 18:19:48 +09:00
Atsushi Eno e33a6e056b Fix net_4_0 build. 2013-11-29 18:19:47 +09:00
Atsushi Eno 7631feae4b add BuildEventContext to .csproj. 2013-11-29 18:19:47 +09:00
Atsushi Eno 5d2f218ebb Add BuildEventContext. 2013-11-29 18:19:46 +09:00
Atsushi Eno cbd796fab3 update MS.Build test csproj. 2013-11-29 18:19:46 +09:00
Atsushi Eno 49fe80ab14 Add ToolsetTest and fix Toolset construction. 2013-11-29 18:19:45 +09:00
Atsushi Eno c7e31cf15b Fix MS.Build.Tasks.csproj build too. 2013-11-29 18:19:45 +09:00
Atsushi Eno 9d1b389da5 fix test csproj build. 2013-11-29 18:19:44 +09:00
Atsushi Eno 52728856ba update MS.Build.csproj. 2013-11-29 18:19:43 +09:00
Atsushi Eno a2ccbe1a15 implement ProjectCollection.Toolsets. 2013-11-29 18:19:43 +09:00
Atsushi Eno ad6f38d35e Add ToolLocationHelper and co. to MS.Build.dll (as internal). 2013-11-29 18:19:42 +09:00
Atsushi Eno f52d76b755 ToolLocationHelper is now used in MS.Build.dll too (as internal). 2013-11-29 18:19:42 +09:00
Atsushi Eno 7523eda306 Add IBuildEngine3 and IBuildEngine4 to csproj. 2013-11-29 18:19:41 +09:00
Atsushi Eno f392cecddf Add IBuildEngine3 and IBuildEngine4. 2013-11-29 18:19:41 +09:00
Atsushi Eno 5cc3fe2d12 Add missing tests in csproj. 2013-11-29 18:19:40 +09:00
Atsushi Eno 1b3593d6c2 MS.Build.dll: Add more missing members and implementation for some members. 2013-11-29 18:19:40 +09:00
Atsushi Eno eead7876af implement some MS.Build members as well as adding missing members. 2013-11-29 18:19:39 +09:00
Atsushi Eno cb16086cf3 Add missing ProjectInstance family. 2013-11-29 18:19:38 +09:00
Atsushi Eno 2fa725aeca implement various not-implemented types in Microsoft.Build.dll. 2013-11-29 18:19:38 +09:00
Atsushi Eno 63bc28d10a Add hacking MSBuild solution for MSBuild libraries. 2013-11-29 18:19:37 +09:00
Marek Safar 53cb3abb08 [mcs] Implements definite assignment of expressions 2013-11-29 09:12:28 +01:00
Marek Safar f12192b425 Fixes build 2013-11-29 09:12:28 +01:00
Zoltan Varga 22650957a3 [jit] Get rid of the mono_arch_get_domain_intrinsic () function, use the generic mono_get_domain_intrinsic () function instead. 2013-11-28 20:39:58 +01:00
Zoltan Varga 5a23148944 [x86] Emit the push/pop LMF code as IR on linux. 2013-11-28 03:11:44 -05:00
Zoltan Varga de62cc7d9b [x86] Emit the push/pop LMF code as IR on osx. 2013-11-28 20:08:46 +01:00
Zoltan Varga 38b6a9dffd [gsharedvt] Avoid using gsharedvt trampolines for calls with a non-variable signature. 2013-11-28 19:31:04 +01:00
Zoltan Varga 0b7712cdbc [amd64] Translate TLS offsets on osx/amd64 too. 2013-11-28 19:07:34 +01:00
Zoltan Varga f35e533000 [x86] Revert some changes which seem to cause regressions when compiling fsharp. 2013-11-28 18:34:24 +01:00
Mark Probst 1eef047d0d [sgen] Wait for workers before the finishing nursery collection.
Fixes the sgen-bridge.exe crash on concurrent M&S.
2013-11-28 13:51:35 +01:00
Mark Probst c8ed716a10 [sgen] Missed a binary protocol event for mark. 2013-11-28 13:51:35 +01:00
Mark Probst 0c7553a3de [sgen] Binary protocol records worker thread vs non-worker thread events. 2013-11-28 13:51:34 +01:00
Zoltan Varga 3da6eab45e [x86] Remove some dead code. 2013-11-28 13:34:56 +01:00
Zoltan Varga 88ffd6150f [jit] Translate TLS offsets on osx/x86 in mono_resolve_patch_target () to make OP_TLS_GET_REG/OP_TLS_SET_REG faster. 2013-11-28 13:18:37 +01:00
Zoltan Varga 2d2d96f2d7 [jit] Avoid emitting two AOT_CONST instructions for managed TLS access. 2013-11-28 13:10:50 +01:00
Zoltan Varga 516b33cff4 [x86] Implement OP_TLS_SET/OP_TLS_SET_REG opcodes. 2013-11-28 13:00:59 +01:00
Zoltan Varga f7914fec6d [x86] Disable fast tls access in the push/pop LMF code in AOT mode, the TLS offsets are not constant and we cannot load them from the GOT since the GOT address is not computed yet. 2013-11-28 11:58:03 +01:00
Zoltan Varga 23ddd68e86 [x86] Remove some dead code. 2013-11-28 11:51:14 +01:00
Alistair Leslie-Hughes 3c6517b67e Support for DispIdAttribute in GetIdsOfNames
License: This patch is under the MIT/X11 license.
2013-11-28 14:08:14 +11:00
Zoltan Varga aa389dc8c9 [x86] Fix the epilog tls access on linux too. 2013-11-27 20:59:19 -05:00
Zoltan Varga 9f593ceb06 [runtime] Fix the windows build. 2013-11-28 10:56:22 +01:00
Zoltan Varga 8355e54373 [x86] Fix tls access in epilogs in AOT code. 2013-11-28 10:46:22 +01:00
Zoltan Varga 2cd074ed31 Rework the x86 lmf code to use stores instead of pushes, and to be more consistent with the code on other platforms. 2013-11-27 23:29:10 +01:00
Zoltan Varga 2b2806ddf4 Revert "Rework the x86 lmf code to use stores instead of pushes, and to be more consistent with the code on other platforms."
This reverts commit 4f562893b7.

Revert this as it breaks many tests.
2013-11-27 22:13:58 +01:00
Zoltan Varga 0ba0e0cc67 [runtime] Really fix the windows build. 2013-11-27 20:46:59 +01:00
Zoltan Varga 4f562893b7 Rework the x86 lmf code to use stores instead of pushes, and to be more consistent with the code on other platforms. 2013-11-27 20:44:58 +01:00
Zoltan Varga 267e4f693a [runtime] Fix the windows build. 2013-11-27 19:38:36 +01:00
Craig Morris e5a83e6857 SqlBulkCopy Implementation
This are the code changes to get the SqlBulkCopy procedure working on
mono.
2013-11-27 11:11:11 -07:00
Marek Safar 4855d214c4 [corlib] Better exception message for unexpected task result 2013-11-27 18:55:42 +01:00
Alex Rønne Petersen 7897869121 Merge pull request #812 from ColdPie1/master
Fix getting current system locale
2013-11-27 09:44:14 -08:00
Rodrigo Kumpera 3c3e109e59 Merge pull request #815 from tmds/master
socket-io: interface index handling
2013-11-27 05:44:36 -08:00
Marek Safar 56ccb68415 [mcs] Emit this initializer for structs. Fixes #16430 2013-11-27 14:12:46 +01:00
Rolf Bjarne Kvinge 7249051374 Ignore generated files. 2013-11-27 11:27:24 +01:00
Zoltan Varga 5b65cb80ac [runtime] Avoid busy waiting when using the MONO_DEBUG=suspend-on-sigsegv option. 2013-11-27 10:11:27 +01:00
brendanzagaeski d0c24d73e5 Bug 15572. Lookup KnownTypeCollection element types in MSSimpleNamespace
This patch prevents the problem in https://bugzilla.xamarin.com/show_bug.cgi?id=15572. This change allows the DataContractSerializer to deserialize DataMembers that use an array KnownType, at least for the test case in the bug report.
2013-11-26 23:09:00 -05:00
brendanzagaeski df9535c5a4 Bug 15574. XML deserialization recursion: add array type to known_types?
One way to prevent https://bugzilla.xamarin.com/show_bug.cgi?id=15574 is to add the problematic array type to the `known_types`.

On the other hand, this might not be the intended use of `known_types`. In that case, perhaps a better fix would be to guard against recursion in the `foreach` loop:

	if (t != type)
		RegisterTypeAsKnown (t);
2013-11-26 22:47:48 -05:00
Alex Rønne Petersen 742171f317 Unbreak the amd64 build. 2013-11-27 03:45:00 +01:00
Alex Rønne Petersen 1a05494a15 Remove mdb stuff from configure.in. 2013-11-27 03:23:41 +01:00
Master T 962a30b605 SocketTest: added tests for multicast index handling for MulticastOption class and MulticastInterface socket option
This commit is under the MIT license.
2013-11-27 00:18:46 +01:00
Rodrigo Kumpera 958c1e23f4 [runtime] Remove the old debugger interface. 2013-11-26 14:25:19 -05:00
Rodrigo Kumpera 7d747d08f8 [jit] Remove mono_debug_add_icall_wrapper as it doesn't do anything. 2013-11-26 14:25:18 -05:00
Rodrigo Kumpera 556fd28f0c [runtime]Hide public fields and kill MONO_DEBUG_FORMAT_DEBUGGER. 2013-11-26 14:25:17 -05:00
Rodrigo Kumpera 8c42423030 [jit]Remove the last uses of MONO_DEBUGGER_SUPPORTED. 2013-11-26 14:25:16 -05:00
Rodrigo Kumpera e8b614d5bc [runtime] Mark all symbols in mono-debug-debugger as private as we don't install that header. 2013-11-26 14:25:05 -05:00
Rodrigo Kumpera 308fad9335 [runtime] Remove mono_debug_using_mono_debugger. This would only return true under mdb. 2013-11-26 14:25:04 -05:00
Rodrigo Kumpera fea01b0982 [jit] Kill the debug-mini.h header. 2013-11-26 14:25:03 -05:00
Rodrigo Kumpera d5ce87ee9a [jit] Remove some unused definitions. 2013-11-26 14:25:03 -05:00
Rodrigo Kumpera b7ba901ae9 [jit] Remove the rest of the API exposed by debug-mini.h. 2013-11-26 14:25:02 -05:00
Rodrigo Kumpera 254ffd0190 [jit] Remove mono_debugger_handle_exception, which was only used by mdb. 2013-11-26 14:25:01 -05:00
Rodrigo Kumpera 671814f8b3 [jit] Remove the exception handling code of the old debugger. 2013-11-26 14:24:21 -05:00
Rodrigo Kumpera f6d49c21dd [jit] Kill more of mdb. 2013-11-26 14:24:20 -05:00
Rodrigo Kumpera 549d7a45e7 [jit] Kill debug-debugger.c 2013-11-26 14:24:19 -05:00
Rodrigo Kumpera 3c29ad660a [jit] Remove the mdb debug-info files. 2013-11-26 14:24:14 -05:00
Marek Safar e062a637a3 [mcs] Don't merge unreachable if blocks 2013-11-26 19:02:57 +01:00
Alex Rønne Petersen e554e95f15 Merge pull request #818 from hanswolff/patch-1
fixed some warnings in mono-proclib.c
2013-11-26 07:37:34 -08:00
Marek Safar a6cb9fd714 [mcs] Fix flow analysis of infinite for statement with breaks 2013-11-26 15:16:37 +01:00
Marek Safar e0f8c2c2f8 [mcs] Run struct field assignment check on every exit point. 2013-11-26 14:25:01 +01:00
Marek Safar 099ffcb094 [mcs] Reachability analysis of constant switch 2013-11-26 13:08:31 +01:00
Hans Wolff 5fdcb5fc69 fixed some warnings in mono-proclib.c
mono-proclib.c: In function ‘get_cpu_times’:
mono-proclib.c:600:24: warning: ‘sirq_ticks’ may be used uninitialized in this function [-Wmaybe-uninitialized]
   *sirq = (sirq_ticks) * 10000000 / hz;
                        ^
mono-proclib.c:598:22: warning: ‘irq_ticks’ may be used uninitialized in this function [-Wmaybe-uninitialized]
   *irq = (irq_ticks) * 10000000 / hz;
                      ^
mono-proclib.c:602:24: warning: ‘idle_ticks’ may be used uninitialized in this function [-Wmaybe-uninitialized]
   *idle = (idle_ticks) * 10000000 / hz;
                        ^
mono-proclib.c:596:29: warning: ‘system_ticks’ may be used uninitialized in this function [-Wmaybe-uninitialized]
   *systemt = (system_ticks) * 10000000 / hz;
                             ^
mono-proclib.c:594:23: warning: ‘nice_ticks’ may be used uninitialized in this function [-Wmaybe-uninitialized]
   *user = (user_ticks + nice_ticks) * 10000000 / hz;
                       ^
mono-proclib.c:594:23: warning: ‘user_ticks’ may be used uninitialized in this function [-Wmaybe-uninitialized]
2013-11-26 11:38:24 +00:00
Marek Safar 66403410b0 [mcs] Excluded methods should not take a part in flow analysis 2013-11-25 17:51:34 +01:00
Bart Vries e3c37d1042 LogicalSet/GetData implementation in CallContext 2013-11-25 16:59:59 +01:00
Marek Safar 1d5cefe7ad [mcs] Arguments flow analysis needs to ignore out modifier. 2013-11-25 16:02:58 +01:00
Marek Safar 8c6864df1c [mcs] Optimize DefiniteAssignmentBitSet 2013-11-25 16:02:58 +01:00
Mark Probst 8a4e1ca74e [sgen] Implement our own qsort() so as not do deadlock.
qsort() may call malloc(), which can lead to a deadlock when the
world is stopped.

Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=16432.
2013-11-25 15:42:08 +01:00
Mark Probst 10ee80de68 [sgen] Improve describe_ptr().
Don’t try to print the vtable if the major allocator knows it’s invalid.
Print bridge information.
2013-11-25 15:22:45 +01:00
Zoltan Varga 4c0376d037 [amd64] Unify the register saving/restoring code for the fp/no-fp cases. 2013-11-25 10:33:46 +01:00
Master T 27024b966c socket-io.c: merge #ifdef HAVE_STRUCT_IP_MREQN of network interface index and address
This commit and the related commits 11b2e351d8 and af9fc5f16f) are under the MIT license.
2013-11-25 08:56:49 +01:00
Zoltan Varga 0ad5599acb [amd64] Simplify the push/pop LMF code a bit more. 2013-11-24 20:56:32 +01:00
Zoltan Varga f06efbe8b1 Fix a warning. 2013-11-24 20:41:42 +01:00
Zoltan Varga b710d972a8 Fix a warning. 2013-11-24 13:35:00 -05:00
Zoltan Varga 07c19b537b [amd64] Use the IR based push/pop LMF code on all platforms except windows. 2013-11-24 13:33:48 -05:00
Marek Safar d92b0d6d9f [mcs] Dynamically calculate size of flow-analysis bitset. Fixes #4210 2013-11-24 14:14:54 +01:00
Master T af9fc5f16f socket-io: pass MulticastOption InterfaceIndex into ip_mreqn imr_ifindex 2013-11-24 10:27:06 +01:00
Master T 11b2e351d8 socket-io: make it possible to specify an interface index as a MulticastInterface SocketOption on linux.
On windows, a value to IP_MULTICAST_IF with a most significant byte of zero is interpreted as an interface index instead of an ip address.
This makes it possible to set the interface index from .NET as follows:
socket.SetSocketOption(SocketOptionLevel.IP,
SocketOptionName.MulticastInterface, IPAddress.HostToNetworkOrder(ifindex));

For this to work on other platforms, we need to detect this case and handle it with an ip_mreqn struct.
2013-11-24 10:23:36 +01:00
Jeffrey Stedfast 2c7864ae98 [Mono.Data.Sqlite] Fixed for Windows .NET 4.0
Thanks to Joe for the patch.

Fixes bug #2148
2013-11-23 15:56:42 -05:00
Zoltan Varga c54015435a [sgen] Add minimal mingw64 support. 2013-11-23 20:02:50 +01:00
Zoltan Varga c6a041ed80 Disable a corlib test which hangs on windows. 2013-11-23 20:02:49 +01:00
Alex Rønne Petersen 926638469e Fix the encoding of x86_imul_reg_mem_imm. 2013-11-23 18:26:55 +01:00
Jérémie Laval 2211e3a5d0 Merge pull request #811 from criteo/16334-ConcurrentBag
[Bug 16334] Fix ConcurrentBag.TryTake and TryPeek
2013-11-22 13:35:42 -08:00
Maxime Brugidou 07be9a1f9c Add Unit tests 2013-11-22 15:33:26 +01:00
Marek Safar 86d6b6f7ca [mcs] Flow analysis of conditional expression 2013-11-21 21:06:54 +01:00
Marek Safar c5d1278525 Update failing tests 2013-11-21 21:06:53 +01:00
Zoltan Varga 1a8004315c [jit] Implement the optimized variant of the push/pop LMF code on amd64. 2013-11-21 18:55:24 +01:00
Zoltan Varga 4dc607fc8c [jit] Fix the optimized variant of push/pop LMF code. 2013-11-21 18:55:24 +01:00
Marek Safar 1ff37128b7 Add more tests 2013-11-21 15:06:15 +01:00
Marek Safar 31e9bb50b3 [mcs] Better error message for expected return expression in async Task<T> block 2013-11-21 14:59:32 +01:00
Marek Safar d12330eda7 [mcs] Reachability and flow analysis rewrite to work on resolved statements and expressions 2013-11-21 14:43:08 +01:00
Zoltan Varga cc4049bcf2 [jit] Emit the push/pop LMF code as IR on amd64. 2013-11-21 11:47:50 +01:00
Zoltan Varga e1e914a0cb [jit] Avoid pushing the lmf in inlined methods. Allow the variable holding the lmf address to be allocated to a global register. 2013-11-21 11:47:50 +01:00
Miguel de Icaza 658753c9c8 Merge pull request #780 from miniBill/master
Fix off-by-one error in ArraySegment
2013-11-20 10:00:03 -08:00
Miguel de Icaza 748a705230 Merge pull request #814 from ranma42/fix-monop
[monop] Fix handling of private and filter-obsolete flags when rendering...
2013-11-20 09:34:34 -08:00
Miguel de Icaza 05007a63c5 Merge pull request #802 from alistair/universaltime_at_boundary_end
TimeZone.GetUtcOffset daylight savings improvements
2013-11-20 09:34:07 -08:00
Andrea Canciani a726ea2b13 [monop] Fix handling of private and filter-obsolete flags when rendering all types
They were simply swapped.
2013-11-20 17:42:49 +01:00
Alex Rønne Petersen 9a587b5266 Merge pull request #807 from akoeplinger/fix-fonttest
Fixed a test failure that occurs when the specified font is not installed
2013-11-19 21:03:07 -08:00
Alex Rønne Petersen 114b545a2c Merge pull request #810 from criteo/16267-SemaphoreSlim
[Bug 16267] SemaphoreSlim.Wait fix when no timeout
2013-11-19 21:02:33 -08:00
Alex Rønne Petersen 261cdf42e5 Merge pull request #813 from ColdPie1/mingw64fix
Check for __readfsdword at configure-time
2013-11-19 20:58:11 -08:00
Rodrigo Kumpera 04fd2a832c Bump mono to 3.2.7. 2013-11-19 16:35:03 -05:00
Andrew Eikum 4f76360417 Check for __readfsdword at configure-time
Recent versions of mingw-w64 have moved this definition to a header
included by this file, so checking simply for GCC would cause a multiple
definition error. We should instead check for this function's
availability at configure-time.

These changes are released under MIT/X11 license.
2013-11-19 14:16:38 -06:00
Andrew Eikum b727b34091 Replace underscores with hyphens when reading system locale
The locale descriptions in
<mono/metadata/culture-info-tables.h:culture_name_entries> use 'xx-yy'
format, where most current systems use 'xx_YY', including Mono itself in
<eglib/src/gmisc-win32.c:g_win32_getlocale>. In normalizing the system
locale for comparison, we should switch any underscores for dashes.

Mono used to do this, but commit
be532638f5 removed this behavior, which
causes System.Globalization.CultureInfo.CurrentCultureInfo to always
point to the invariant culture on systems with LANG similar to xx_YY.

These changes are released under MIT/X11 license.
2013-11-19 13:38:19 -06:00
Miguel de Icaza 7b737a2715 Update for coverity 2013-11-19 13:54:44 -05:00
Miguel de Icaza 6cfd02c68d List maintainer, for scan.coverity.com 2013-11-19 13:53:59 -05:00
Zoltan Varga 54d1751b24 [sdb] Move the setup of the sdb invoke LMF structure to an arch-specific function mono_arch_init_lmf_ext (). 2013-11-19 17:14:42 +01:00
Zoltan Varga 0701d9d07f [amd64] Instead of saving callee saved registers in the LMF in trampoline frames, save a pointer to the register array inside the trampoline frame. 2013-11-19 17:14:42 +01:00
Rodrigo Kumpera 90e5ec63d5 [bcl]CultureInfo.DefaultThreadCurrentUICulture has now been implemented. Remove [MonoTODO] 2013-11-19 10:51:15 -05:00
Zoltan Varga b4f562d82c [amd64] Remove the unused 'method' field from MonoLMF. 2013-11-19 15:24:46 +01:00
Sebastien Pouliot f4dfcba64c [linker] Allow overriding MarkCustomAttribute and expose the MarkDefaultConstructor feature to subclasses 2013-11-19 08:41:57 -05:00
Maxime Brugidou 233396aa13 ConcurrentBag staging could become empty
after all items have been removed from a bag, the staging dictionary
is cleaned up but never filled again.
2013-11-19 13:55:03 +01:00
Zoltan Varga 18299f080f [llvm] Fix the handling of moves in the LICM optimization. 2013-11-19 13:16:10 +01:00
Zoltan Varga e4bf54392a [llvm] Decompose OP_STOREV_MEMBASE opcodes earlier since they might need write barriers. 2013-11-19 12:55:45 +01:00
Zoltan Varga 3a9ccd0683 [llvm] Implement support for OP_TLS_GET_REG on osx/amd64. 2013-11-19 12:05:04 +01:00
Zoltan Varga 12153dd3e6 [llvm] Pass the type token index to throw_corlib_exception on amd64 too. 2013-11-19 11:44:53 +01:00
Maxime Brugidou d970f3744e [Bug 16334] Fix ConcurrentBag.TryTake and TryPeek
Should return false if no result in all cases

see https://bugzilla.xamarin.com/show_bug.cgi?id=16334
2013-11-19 11:09:35 +01:00
Zoltan Varga 77e28973ac [llvm] Make the rgctx arg a pointer type as well. 2013-11-19 05:42:23 +01:00
Zoltan Varga f200c99c33 [llvm] Make some types more precise to decrease the number of int<->ptr conversions generated. 2013-11-19 05:28:56 +01:00
Rodrigo Kumpera 349cb638ff [bcl] Implement CultureInfo.DefaultThreadCurrentUICulture. 2013-11-18 18:13:03 -05:00
Rodrigo Kumpera 703eb84911 [bcl]Add test for CultureInfo.DefaultThreadCurrentCulture 2013-11-18 18:13:03 -05:00
Rodrigo Kumpera 5b8f9ad666 [bcl] Implement CultureInfo.DefaultThreadCurrentCulture.
The way DefaultThreadCurrentCulture is to be implemented is that its current value
will always be used by a thread that didn't set a value for its culture.

This means we can't cache DefaultThreadCurrentCulture value as it's allowed to
change and threads must always show the latest value.
2013-11-18 18:13:02 -05:00
Rodrigo Kumpera b1b2a0a8fb [bcl]Memoize the default culture so it can be reused across threads. 2013-11-18 18:13:02 -05:00
Rodrigo Kumpera e499793125 [bcl]Set the culture of the thread local NumberFormatter everytime.
the problem of changing the culture when a new value is set in the current thread
is that is doesn't work well with CultureInfo.DefaultThreadCurrentCulture.
2013-11-18 18:13:02 -05:00
Jonathan Pryor 57091eda02 [System] Add more of System.ComponentModel to MOBILE profile.
Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=16071

Improve compatibility of the MOBILE profile with Desktop .NET:
Add (nearly) everything from System.ComponentModel (and nested
namespaces) _except_ for things that depend on Licensing.

This includes System.ComponentModel.Design.HelpKeywordAttribute
(requested in Bug #16071), many many other attributes, more
exceptions, more EventArgs subclasses, etc.
2013-11-18 16:03:49 -05:00
Rodrigo Kumpera 055eeccb76 [bcl] Add regression test for bxc #16096. 2013-11-18 14:26:40 -05:00
Rodrigo Kumpera 5d6ca293ec [runtime] Avoid caching member_ref tokens of dynamic images. Fixes #16096
SRE encodes references to self-instantiated generic types in a different way
that regular code.

This is required as there's no clear way to differentiate between an open type
and a self-instantiated type when using System.Type.

Given that restriction, code that deals with loading such methods must take
special case and not cache then as the context under generic sharing will not
be used - so it would be seen as cacheable.

When using regular instantiation the same method lookup will require the context
to be used but will hit the cache before.

This is another problem of passing the instantiation context around. It messes
up with way too much stuff.
2013-11-18 14:26:39 -05:00
Zoltan Varga 0f197300e9 [llvm] Disable the LLVM verifier, it does module wide checks leading to quadratic behavior. 2013-11-18 10:09:14 +01:00
Zoltan Varga cb23a4fd2f [llvm] Collect used methods only in AOT mode. 2013-11-18 10:05:23 +01:00
Zoltan Varga f8e9706a45 [llvm] Add some micro optimizations to the LLVM/AOT code. 2013-11-18 07:52:32 +01:00
Zoltan Varga 5106e3a56d [llvm] Use a pointer type as the type of 'this' instead of an int. 2013-11-18 06:08:29 +01:00
Zoltan Varga 31d9292013 Fix the previous commit. 2013-11-18 05:32:05 +01:00
Zoltan Varga 07d6cfef02 Bump expected LLVM version in configure. 2013-11-18 05:31:03 +01:00
Zoltan Varga 62dda65498 Upgrade the LLVM backend to LLVM e656caccc7dfb5c51c208906f0e176f0973f030f. 2013-11-18 05:20:55 +01:00
Zoltan Varga a2be8ab682 Don't register the LLVM SSE intrinsics on arm. 2013-11-18 05:19:46 +01:00
Zoltan Varga c11973240b [jit] Handle the caller saved D8..D15 register during unwinding on ARM. 2013-11-18 05:19:39 +01:00
Zoltan Varga d6d4d305df [jit] Avoid clearing MONO_INST_FAULT flags when using explicit null checks, LLVM can move the non-faulting loads before the null checks. 2013-11-18 05:19:34 +01:00
Zoltan Varga 270fc62074 [runtime] Fix unaligned access in volatile icalls. 2013-11-16 13:05:55 +01:00
Marek Safar 521e757bfe Bump ikvm-reflection 2013-11-16 10:44:28 +01:00
Marek Safar 384adcd6f3 Add new test 2013-11-16 09:49:47 +01:00
Marek Safar 4571ac894d [ilasm] Correctly set empty export attributes 2013-11-16 09:49:46 +01:00
Zoltan Varga 60145c3028 Fix corlib tests. 2013-11-16 05:21:57 +01:00
Marek Safar cd13a48d06 [mcs] Import only forwarder kind of exported types. 2013-11-15 20:13:08 +01:00
Maxime Brugidou f346baaf96 [Bug 16267] SemaphoreSlim.Wait fix when no timeout
See https://bugzilla.xamarin.com/show_bug.cgi?id=16267
2013-11-15 18:10:16 +01:00
Alex Rønne Petersen a0cd023d06 Fix the nop opcode on some MIPS-based Loongson CPUs.
After much trouble building Mono in Debian/MIPS, @directhex
narrowed it down to this issue:

https://sourceware.org/ml/binutils/2009-11/msg00387.html

So since some of the 2E and 2F versions of the Loongson CPUs
break with a regular `sll zero, zero, 0` we need to issue an
`or at, at, 0`. This makes sure we don't randomly deadlock or
blow up when the CPU is under heavy load.

Yes, really.
2013-11-15 15:08:06 +01:00
Marek Safar 891d594b3f Merge pull request #809 from criteo/16186-SqlCommand
[Bug 16186] SqlCommand.BeginExecuteInternal fix
2013-11-15 04:57:53 -08:00
Maxime Brugidou a02d0c2e9a [Bug 16186] SqlCommand.BeginExecuteInternal fix
If you use a stored procedure or a prepared statement, with
CommantType.StoredProcedure the ar variable is not set as the result of
onnection.Tds.BeginExecuteProcedure().
2013-11-15 13:14:08 +01:00
Zoltan Varga 689adf38b5 Mark a few corlib tests as LLVMNotWorking. 2013-11-15 09:23:19 +01:00
Zoltan Varga d115725ade [jit] Make the exceptions.cs test suite runnable in mobile. 2013-11-15 01:41:33 +01:00
Zoltan Varga c3b5906efd [sdb] Add an ExitCode property to VMDeathEvent. Fixes #16113. 2013-11-15 00:59:16 +01:00
Jeffrey Stedfast 75d1cf2f19 [Mono.Debugger.Soft] Added FlagsAttrbite where appropriate 2013-11-14 15:05:01 -05:00
Zoltan Varga 32e5575768 [aot] Increase a buffer size to avoid an assert. Fixes #16239. 2013-11-14 21:01:59 +01:00
Rodrigo Kumpera 18aa5e3bf0 Add some tests for #15124. 2013-11-14 12:28:53 -05:00
Rodrigo Kumpera bd741f0aac [runtime]Type parsing of generics should not rely on the presence of a backtick. Fixes #15124.
We previously depended on the presence of a backtick in a generic type name to try to
parse a generics argument list. This is not what the spec says and F# breaks this expectation.

The right way to handle this is to probe for array syntax.
2013-11-14 12:28:52 -05:00
Rodrigo Kumpera 4a656ad29e [runtime]When setting a loader error, clear the previous one to avoid the leak. 2013-11-14 12:28:52 -05:00
Marek Safar a734827992 [mcs] Assignment to value type readonly generated variables needs to check all member access expressions. Fixes #15832 2013-11-14 18:16:57 +01:00
Marek Safar 58d4cd39c7 [mcs] Missing type forwarded types should not cause type collision. Fixes #16196 2013-11-14 16:26:58 +01:00
Marek Safar c0567c50b8 [ilasm] Fixes forwarded types namespace encoding 2013-11-14 16:26:58 +01:00
Marek Safar 5659b9a9ea Merge pull request #808 from knocte/master
[System.Configuration/Test] Try to track down failure in buildbot
2013-11-14 04:41:06 -08:00
Andrés G. Aragoneses d4ed8a8e9e [System.Configuration/Test] Try to track down failure in buildbot
This TestConnectionStringRetrieval unit test (committed by me some months
ago) succeeds for me in a clean checkout, but I don't understand why it
fails in the buildbot, so let's place some sanity check in it.
2013-11-14 13:08:07 +01:00
Zoltan Varga 0927129c35 [jit] Fix the DISABLE_JIT build. 2013-11-14 04:50:13 +01:00
Sebastien Pouliot 8332e5db56 [linker] Do not import something that is not marked when sweeping type references (otherwise we might re-intoduce dependencies we're not including or need) [#16213] 2013-11-13 21:42:18 -05:00
Zoltan Varga 4fc5a4ce34 [llvm] Fix type mismatches in the implementation of the atomic opcodes. 2013-11-13 22:39:38 +01:00
Rodrigo Kumpera d51c9f1a4f [runtime]Don't expand variant generic interfaces on arrays.
We don't need to expand variant interfaces in 4.5 as they work
just fine.

This saves us from loading a lot of extra metadata and inflating
spurious classes.
2013-11-13 15:54:27 -05:00
Jonathan Pryor 73f1946128 [mdoc] Flush expected output.
Commit 0a2c38df changed Delegate.Remove() so that it uses
Locale.GetText(), which thus introduces additional exceptions which
can be possibly thrown from Delegate.Remove().

This is similar to the situation in corlib/3d3fe6af (added
Locale.GetText() use) and mdoc/574dbc8e (updated unit tests).
2013-11-13 15:25:28 -05:00
Marek Safar cd21aebc7a Always show error message when type resolver produces ambiguous type. Fixes #16115 2013-11-13 20:38:18 +01:00
Marek Safar 46ccd3b4a8 [mcs] tests update 2013-11-13 14:13:38 +01:00
Rolf Bjarne Kvinge dc1dc9ca74 Merge pull request #801 from Ninds/master
Setting ReceiveBufferSize & SendBufferSize on Socket (Bug 16021 & Bug 12754)
2013-11-13 00:51:37 -08:00
Marek Safar 7692600c86 Disable failing test 2013-11-13 09:46:56 +01:00
Marek Safar 5d20cad529 [sle] Enable char equality comparison. Fixes #15582 2013-11-12 20:45:13 +01:00
Rodrigo Kumpera aea002c504 Fix the build. 2013-11-12 14:18:31 -05:00
Marek Safar 1da5ac516c Update currency separators. Fixes #15425 2013-11-12 20:12:34 +01:00
Marek Safar ff631b91cc Extract CurrencyDecimalDigits using currency and not territory info. Fixes #15895 2013-11-12 20:12:34 +01:00
Marek Safar ebe4dd413e Add more tests 2013-11-12 20:12:33 +01:00
Rodrigo Kumpera 06ba83bfb7 [jit] Use unsigned comparisons with the IMT thunks as they can live in high memory addresses. 2013-11-12 14:01:26 -05:00
Rodrigo Kumpera ef3524b267 [jit] Improve arm IMT debugging. 2013-11-12 14:01:25 -05:00
Rodrigo Kumpera 0a2c38df5e [corlib] Improve the exception message in Delegate::Remove. 2013-11-12 14:01:25 -05:00
Sebastien Pouliot cff65d2ae5 [linker] Do not remove resources from mscorlib unless it's action is set to Link 2013-11-12 13:56:15 -05:00
Alexander Köplinger 6923ba9c02 Fixed a test failure that occurs when the specified font is not installed.
On systems where 'Liberation Sans' is not installed out-of-the-box
(e.g. Ubuntu Server, OpenSuse Server) it falls back to 'DejaVu Sans',
which makes the GetHashCode_NameDiffers_HashesNotEqual() test fail as
the two font names are now equal. Instead we use 'Arial' and 'Courier New'
which resolve to different fonts on most systems.

Changes licensed under MIT/X11.
2013-11-12 19:07:25 +01:00
AxlPr 2e579c47fb Fixed g_win32_getlocale
Implemented g_win32_getlocale function to return correct locale.
2013-11-12 09:31:11 +00:00
Marek Safar a2850fc7da Merge pull request #799 from kebby/master
Task.WhenAllCore<T> now handles empty argument list correctly. Fixes #15956
2013-11-12 00:38:48 -08:00
Marek Safar 507c434d1e Merge pull request #805 from supershitauto/master
2013-11-12 Ryan Williams <[email protected]>
2013-11-12 00:11:18 -08:00
supershitauto 82eaaec7db 2013-11-12 Ryan Williams <[email protected]>
Renamed member variables to be compatible with Microsoft for serialization.

Slight change to Equals method for consistency.
2013-11-12 16:13:39 +11:00
Zoltan Varga 31009c93ca [aot] Fix a typo causing crashes when using async jit info. 2013-11-11 19:22:06 +01:00
Marek Safar d5f0a573ce Merge pull request #804 from xplicit/attrfix
Fixed StackOverflow exception in Attribute.GetHashCode()
2013-11-11 06:22:35 -08:00
xplicit 850dd01678 fixed stackoverflow exception in Attribute.GetHashCode()
MS implementation of Attribute.GetHashCode does not depend on TypeId property, so you can return any value in TypeId and hashcode in MS.NET will be the same.
2013-11-11 20:44:59 +07:00
Narinder CLAIRE bbd4ee4181 Socket ReceiveBufferSize & SendBufferSize set to random values.
Fixes :

https://bugzilla.xamarin.com/show_bug.cgi?id=16021
https://bugzilla.xamarin.com/show_bug.cgi?id=12754

Resolves:

http://lists.ximian.com/pipermail/mono-list/2013-June/050008.html

A reference to the variable bufsize, local to the else-if block was being passed to the function setsockopt hence
the properties ReceiveBufferSize & SendBufferSize were being set to garbage on the Socket class. This could and did have a SERIOUS performance hit on socket communication. It is not inconceivable that people would try to increase the
buffer sizes and inadvertently shrink them considerably with a consequence of drastically degrade performance.

Narinder Claire
narinder.claire <> gmail.com

Signed-off-by: Narinder CLAIRE <[email protected]>
2013-11-11 10:48:56 +00:00
Zoltan Varga f0094a00b5 [aot] Remove -mattr=-avx flag to llc on amd64+osx, its no longer needed. 2013-11-11 08:56:07 +01:00
Zoltan Varga cc395b92a3 [aot] Clean up the linker invocation code a bit. 2013-11-11 08:37:27 +01:00
Zoltan Varga 3c4f1df5a7 [aot] Use temp.bc/temp.opt.bc instead of temp.s.bc/temp.s.opt.bc as llvm temporary file names. 2013-11-11 08:23:33 +01:00
Zoltan Varga 8b870df629 [llvm] Add the strip-dead-prototypes pass to remove unused intrinsics definitions from the .bc file. 2013-11-11 08:09:24 +01:00
Zoltan Varga 994466e0e6 [aot] Use clang as the assembler on osx. 2013-11-11 06:54:34 +01:00
Zoltan Varga 2eb34b1a69 [aot] Avoid emitting a 'methods' symbol using .set methods, clang's integrated assembler doesn't seem to support it. 2013-11-11 06:35:58 +01:00
Zoltan Varga 81f7293aac [llvm] Use i64*/i32* as the LLVM type of objrefs instead of i64/i32, the basicaa LLVM pass cannot see through the inttoptr casts we were emitting before loads. 2013-11-11 06:05:29 +01:00
Zoltan Varga 4e8e3cb466 [llvm] Update list of optimizations passed to 'opt'. 2013-11-11 05:37:08 +01:00
Zoltan Varga f9582d2945 [llvm] Rename the MONO_INST_CONSTANT_LOAD flag to MONO_INST_INVARIANT_LOAD for consistency with LLVM. 2013-11-11 02:37:06 +01:00
Miguel de Icaza 18b72517b8 Do not justify the text 2013-11-10 20:24:54 -05:00
Zoltan Varga cff88593e0 [llvm] Mark the load generated by OP_AOTCONST as invariant. 2013-11-11 02:01:18 +01:00
Zoltan Varga 3e14c8db3d [jit] Add a simple loop invariant loop motion pass for use with LLVM, which moves loop invariant instructions out of loop headers into the preceeding bblock. 2013-11-10 21:11:06 +01:00
Alistair Bush 5c3c64d368 TimeZone.GetUtcOffset should use Standard UTC offsets for the period when daylight savings ends. 2013-11-10 09:36:11 +00:00
Marek Safar 25a3e0e4b8 Merge pull request #803 from Wolpertinger/patch-1
System.CompomentModel.Component.cs: Make disposedEvent key static
2013-11-10 00:10:43 -08:00
Alex Willmy c749da6d02 System.CompomentModel.Component.cs: Make disposedEvent key static
There is no need for an instance of Component to create its own lookup key for the Disposed event. Use a shared static key instead.
2013-11-09 17:49:12 +01:00
Alex Rønne Petersen a571d29499 Improve my previous change a bit.
Checking the `disposing` argument is cleaner.
2013-11-09 02:52:20 +01:00
Alex Rønne Petersen 2d18195d17 Fix an NRE in System.Timers.Timer.Dispose ().
This would happen because _lock is nullified by the GC during
finalization. Dispose () calls Close () which sets the Enabled
property to false, which then attempts to lock on _lock.
2013-11-09 02:18:23 +01:00
Zoltan Varga 55e766632f [jit] Remove references to unused llvm.invariant.start/end intrinsics. 2013-11-08 23:52:29 +01:00
Zoltan Varga f8701513e9 [jit] Make ABCREM really remove bounds checks, not just when running with -v -v -v -v. 2013-11-08 18:27:01 +01:00
Rolf Bjarne Kvinge 009689da63 [Mono.Tuner] Make ISubStep.Initialize public virtual instead of private, so that consumers can override.
Previously derived classes could implement ISubStep.Initialize, but after
da82237da0 this (correctly) not allowed anymore.
2013-11-08 14:50:46 +01:00
Atsushi Eno d6225bca64 fix package build. 2013-11-08 17:09:53 +09:00
Atsushi Eno 8bccb2fb73 Merge pull request #800 from alistair/south_timezone_fix
Southern Hemisphere timezone fix
2013-11-07 21:02:24 -08:00
Zoltan Varga b68ef214e1 [jit] Remove a few LLVM_MONO_BRANCH defines, we don't support non-mono versions of LLVM any more. 2013-11-08 05:24:30 +01:00
Zoltan Varga 09a0c58b7a [jit] Fix sgen support in LLVM. Use the new LLVM 'invariant.load' metadata instead of our 'mono.noalias' metadata. 2013-11-08 05:12:41 +01:00
Zoltan Varga 623b9d0dcf [jit] Implement support for OP_TLS_GET on amd64+llvm. 2013-11-08 04:40:25 +01:00
Zoltan Varga 3cb85f36f5 [runtime] Remove some debug spew. 2013-11-08 02:44:19 +01:00
Zoltan Varga 21d5d266e9 [runtime] Only do the stack manipulation added by 79e0856ffd on linux, since it seems to crash on osx. 2013-11-08 02:40:06 +01:00
Sebastien Pouliot 8cf7650d3d [monolinker] Add additional preserve instruction for IReadOnlyCollection on System.Array 2013-11-07 14:42:46 -05:00
Zoltan Varga 79e0856ffd [runtime] Preserve the call chain in mono_arch_setup_async_callback () on amd64 to prevent crashes in the libgcc unwinder (#15969). 2013-11-07 04:56:57 +01:00
Tammo 'kb' Hinrichs a3bf4b4356 Added tests for Task.WhenAll w/ empty list 2013-11-06 15:55:32 +01:00
Tammo 'kb' Hinrichs 9fce6c603c Return empty result array when calling Task.WhenAllCore<T> with empty argument list. Fixes #15956 2013-11-06 13:21:47 +01:00
Sebastien Pouliot 613906e04b Further reduce the chance of an NRE in WebConnection, ref: 55f400b644 2013-11-05 16:52:19 -05:00
Leonardo Taglialegne 6c3e614cc5 Fix off-by-one error in ArraySegment 2013-11-05 20:49:21 +01:00
Zoltan Varga fe80190fc4 [runtime] Fix the osx mavericks stack size calculation in sgen too. 2013-11-05 20:18:14 +01:00
Zoltan Varga d6673ca8ec [runtime] Fix stack size detection on osx mavericks. Fixes #15890. 2013-11-05 19:53:22 +01:00
Sebastien Pouliot 33663b2db8 [linker] Allow accessing more MarkStep.Mark* methods from subclasses 2013-11-05 11:44:57 -05:00
Paolo Molaro cc7b7992ff Reduce contention and unnecessary checks at each lookup, part of xambug #14644. 2013-11-05 17:37:08 +01:00
Rodrigo Kumpera cf8c83129d [runtime]Split thread unregistration in two steps, one with no locks, one with locks taken. Fixes #15916.
In order allow for arbitrary code in the profiler callback we must invoke it without
holding any runtime leaf lock - this happens quite frequently with sdb as it tries to
suspend the world on those callbacks.

So thread shutdown is now split in two phases, first one that does the no-locks part
where the thread remains suspendable afterwards and then onewith locks taken where we
do the final cleanup and final shutdown.
2013-11-05 09:59:27 -05:00
Zoltan Varga 1832b006ba [runtime] Handle unaligned access in all interlocked icalls. Fixes #15925. 2013-11-05 15:44:24 +01:00
Zoltan Varga f2c5766230 [runtime] Fix warnings. 2013-11-05 15:44:24 +01:00
Rodrigo Kumpera c2dfadefc2 Fix the mobile_static build. 2013-11-04 17:02:43 -05:00
Rodrigo Kumpera 0261d6fcea [jit] Cleanup a bit how we handle small structs. 2013-11-04 15:48:01 -05:00
Rodrigo Kumpera 86add8950f [jit]Add amd64 support for the new compare instructions. 2013-11-04 15:36:58 -05:00
Rodrigo Kumpera b44597cb49 [jit]Add x86 support for the new compare instructions. 2013-11-04 15:36:54 -05:00
Rodrigo Kumpera f047afaccb [jit] Add some missing compare instructions which will make it easier to optimize inlined boolean expressions. 2013-11-04 15:36:50 -05:00
Rodrigo Kumpera 1ba345570f [build]Enable passing arguments to the extension module.
The build argument --enable-extension-module now takes a comma separated list
of arguments that are passed down. Passing no arguments triggers the old behavior.
2013-11-04 11:04:53 -05:00
Zoltan Varga 9eda1b444b [jit] Reduce the number of #ifdefs in the JIT code by a little. 2013-11-03 22:26:16 +01:00
Zoltan Varga cbb0c783e6 Fix corlib tests with hard coded line numbers. 2013-11-03 22:22:07 +01:00
Zoltan Varga c508278e9c [jit] Get rid of the intermediate OP_..CALLVIRT opcodes, use the _MEMBASE opcodes instead. 2013-11-03 21:54:57 +01:00
Alistair Bush 813fe8057d Fix compile warning and break from for loop once complete 2013-11-03 22:29:15 +13:00
Alistair Bush 883a0e0e7d Attempt to implement GetTimeZoneData to support all hemispheres 2013-11-03 22:28:36 +13:00
Alistair Bush 23dfdd23d8 Add unit test for NZST 2013-11-03 21:56:38 +13:00
Tom Philpot aeed8baa68 Take shared file lock before collecting file share_info. 2013-06-06 22:08:38 -07:00
Jonathan Chambers 12085044cd Use getpid instead of GetCurrentProcessId as the latter calls into io-layer which is not initialzed at this point. 2012-04-16 09:48:54 -04:00
6408 changed files with 544476 additions and 144464 deletions

No files matched your search

+3
View File
@@ -22,3 +22,6 @@
[submodule "external/Lucene.Net"]
path = external/Lucene.Net
url = git://github.com/mono/lucene.net.git
[submodule "external/ikdasm"]
path = external/ikdasm
url = git://github.com/mono/ikdasm.git
-7
View File
@@ -64,13 +64,6 @@ For comments, corrections and updates, please contact [email protected]
the terms of the MIT X11, this means that this code can be
used for any purposes by anyone.
** mono/metadata/sgen*: Mono's Copying Collector
This new garbage collector is licensed under the terms of
the MIT X11 license, in hopes that the GC could be reused
by third party projects, follows the same spirit than the
Boehm GC.
** mono/arch/*/XXX-codegen.h
This are C macros that are useful when generating native
+6 -2
View File
@@ -3,20 +3,24 @@ ACLOCAL_AMFLAGS = -I m4
MONOTOUCH_SUBDIRS = $(libgc_dir) eglib/src mono
if CROSS_COMPILING
SUBDIRS = po $(libgc_dir) eglib mono $(ikvm_native_dir) data runtime scripts man samples msvc $(docs_dir)
SUBDIRS = po $(libgc_dir) eglib mono $(ikvm_native_dir) support data runtime scripts man samples msvc $(docs_dir)
# Keep in sync with SUBDIRS
## 'tools' is not normally built
DIST_SUBDIRS = m4 po libgc eglib mono ikvm-native data runtime scripts man samples tools msvc docs
DIST_SUBDIRS = m4 po libgc eglib mono ikvm-native support data runtime scripts man samples tools msvc docs
else
if ONLY_MONOTOUCH
SUBDIRS = $(MONOTOUCH_SUBDIRS) runtime
else
if ONLY_XAMMAC
SUBDIRS = $(libgc_dir) eglib/src mono runtime
else
SUBDIRS = po $(libgc_dir) eglib mono $(ikvm_native_dir) support data runtime scripts man samples msvc $(docs_dir)
# Keep in sync with SUBDIRS
## 'tools' is not normally built
DIST_SUBDIRS = m4 po libgc eglib mono ikvm-native support data runtime scripts man samples tools msvc docs
endif
endif
endif
all: update_submodules
+22 -11
View File
@@ -4,8 +4,9 @@ Mono is an open source implementation of Microsoft's .NET Framework based on the
1. [Installation](#compilation-and-installation)
2. [Using Mono](#using-mono)
3. [Directory Roadmap](#directory-roadmap)
4. [Git submodules maintenance](#git-submodules-maintenance)
5. [Reporting bugs](#reporting-bugs)
4. [Contributing to Mono] (#contributing-to-mono)
5. [Git submodules maintenance](#git-submodules-maintenance)
6. [Reporting bugs](#reporting-bugs)
Compilation and Installation
============================
@@ -83,10 +84,13 @@ For people with non-standard installations of the auto* utils and of
pkg-config (common on misconfigured OSX and windows boxes), you could get
an error like this:
`./configure: line 19176: syntax error near unexpected token 'PKG_CHECK_MODULES(BASE_DEPENDENCIES,' ...`
./configure: line 19176: syntax error near unexpected token 'PKG_CHECK_MODULES(BASE_DEPENDENCIES,' ...
This means that you need to set the ACLOCAL_FLAGS environment variable
when invoking autogen.sh, like this: `ACLOCAL_FLAGS="-I $acprefix/share/aclocal" ./autogen.sh --prefix=/usr/local`
when invoking autogen.sh, like this:
ACLOCAL_FLAGS="-I $acprefix/share/aclocal" ./autogen.sh --prefix=/usr/local
where $acprefix is the prefix where aclocal has been installed.
This will automatically go into the mcs/ tree and build the
binaries there.
@@ -97,7 +101,7 @@ runtime called 'mono'. You can use two make variables
EXTERNAL_MCS and EXTERNAL_RUNTIME to override these. e.g., you
can say:
`make EXTERNAL_MCS=/foo/bar/mcs EXTERNAL_RUNTIME=/somewhere/else/mono`
make EXTERNAL_MCS=/foo/bar/mcs EXTERNAL_RUNTIME=/somewhere/else/mono
If you don't have a working Mono installation
---------------------------------------------
@@ -136,7 +140,7 @@ class libraries, you need to re-run 'configure' with the
Expect to find a few test suite failures. As a sanity check, you
can compare the failures you got with
`https://wrench.mono-project.com/Wrench/`
https://wrench.mono-project.com/Wrench/
You can now install mono with: `make install`
@@ -153,10 +157,9 @@ building Mono might want to use:
* `--with-sgen=yes,no` - Generational GC support: Used to enable or disable the
compilation of a Mono runtime with the SGen garbage collector.
* On platforms that support it, after building Mono, you
will have both a mono binary and a mono-sgen binary.
Mono uses Boehm, while mono-sgen uses the Simple
Generational GC.
* On platforms that support it, after building Mono, you will have
both a mono binary and a mono-sgen binary. Mono uses Boehm, while
mono-sgen uses the Simple Generational GC.
* `--with-gc=[boehm, included, sgen, none]` - Selects the default Boehm garbage
collector engine to use.
@@ -514,12 +517,20 @@ independent checkout) from the Mono module, that
directory is automatically configured to share the
same prefix than this module gets.
Contributing to Mono
====================
Before submitting changes to Mono, please review the contribution guidelines at http://mono-project.com/Contributing. Please pay particular attention to the [Important Rules](http://mono-project.com/Contributing#Important_Rules) section.
Git submodules maintenance
==========================
Read documentation at http://mono-project.com/Git_Submodule_Maintenance
Maintainer
==========
Mono is maintained by miguel@xamarin.com
Reporting bugs
==============
@@ -532,4 +543,4 @@ Please use the search facility to ensure the same bug hasn't already
been submitted and follow our guidelines on how to make a good bug
report:
http://mono-project.com/Bugs#How_to_make_a_good_bug_report
http://mono-project.com/Bugs#How_to_make_a_good_bug_report
+8 -4
View File
@@ -107,15 +107,19 @@ fi
# Plug in the extension module
#
has_ext_mod=false
ext_mod_args=''
for PARAM; do
if test "$PARAM" = "--enable-extension-module" ; then
has_ext_mod=true
fi
if [[ $PARAM =~ "--enable-extension-module" ]] ; then
has_ext_mod=true
if [[ $PARAM =~ "=" ]] ; then
ext_mod_args=`echo $PARAM | cut -d= -f2`
fi
fi
done
if test x$has_ext_mod = xtrue; then
pushd ../mono-extensions/scripts
sh ./prepare-repo.sh || exit 1
sh ./prepare-repo.sh $ext_mod_args || exit 1
popd
else
cat mono/mini/Makefile.am.in > mono/mini/Makefile.am
+68 -51
View File
@@ -1,7 +1,7 @@
# Process this file with autoconf to produce a configure script.
#AC_PREREQ([2.62])
AC_INIT(mono, [3.2.5],
AC_INIT(mono, [3.4.1],
[http://bugzilla.xamarin.com/enter_bug.cgi?classification=Mono])
AC_CONFIG_SRCDIR([README.md])
@@ -215,6 +215,9 @@ case "$host" in
CFLAGS="$CFLAGS -DPAGE_SIZE=4096 -DS_IWRITE=S_IWUSR"
CXXFLAGS="$CXXFLAGS -DPAGE_SIZE=4096 -DS_IWRITE=S_IWUSR"
# The configure check can't detect this
AC_DEFINE(HAVE_LARGE_FILE_SUPPORT, 1, [Have large file support])
# to bypass the underscore linker check, can't work when cross-compiling
mono_cv_uscore=yes
mono_cv_clang=no
@@ -315,10 +318,8 @@ case "$host" in
CFLAGS_FOR_LIBGC="$CFLAGS_FOR_LIBGC $BROKEN_DARWIN_FLAGS"
CPPFLAGS_FOR_EGLIB="$CPPFLAGS_FOR_EGLIB $BROKEN_DARWIN_CPPFLAGS"
CFLAGS_FOR_EGLIB="$CFLAGS_FOR_EGLIB $BROKEN_DARWIN_FLAGS"
extra_runtime_ldflags="-Xlinker -stack_size -Xlinker 0x800000"
;;
x*64-*-darwin*)
extra_runtime_ldflags="-Xlinker -stack_size -Xlinker 0x800000"
;;
arm*-darwin*)
has_dtrace=no
@@ -515,6 +516,9 @@ if test x"$GCC" = xyes; then
# The runtime code does not respect ANSI C strict aliasing rules
CFLAGS="$CFLAGS -fno-strict-aliasing"
# We rely on signed overflow to behave
CFLAGS="$CFLAGS -fwrapv"
ORIG_CFLAGS=$CFLAGS
CFLAGS="$CFLAGS -Wdeclaration-after-statement"
AC_MSG_CHECKING(for -Wdeclaration-after-statement option to gcc)
@@ -544,7 +548,7 @@ if test x"$GCC" = xyes; then
if test "x$mono_cv_clang" = "xyes"; then
# https://bugzilla.samba.org/show_bug.cgi?id=8118
WARN="$WARN -Qunused-arguments"
WARN="$WARN -Wno-unused-function -Wno-tautological-compare"
WARN="$WARN -Wno-unused-function -Wno-tautological-compare -Wno-parentheses-equality -Wno-self-assign"
fi
else
# The Sun Forte compiler complains about inline functions that access static variables
@@ -931,7 +935,19 @@ fi
AC_ARG_ENABLE(executables, [ --disable-executables disable the build of the runtime executables], enable_executables=$enableval, enable_executables=yes)
AM_CONDITIONAL(DISABLE_EXECUTABLES, test x$enable_executables = xno)
AC_ARG_ENABLE(extension-module, [ --enable-extension-module enables usage of the extension module], has_extension_module=$enableval, has_extension_module=no)
has_extension_module=no
AC_ARG_ENABLE(extension-module, [ --enable-extension-module=LIST enable the core-extensions from LIST],
[
for extension in `echo "$enable_extension_module" | sed -e "s/,/ /g"`; do
if test x$extension = xdefault ; then
has_extension_module=yes;
fi
done
if test x$enable_extension_module = xyes; then
has_extension_module=yes;
fi
], [])
AM_CONDITIONAL([HAS_EXTENSION_MODULE], [test x$has_extension_module != xno])
if test x$has_extension_module != xno ; then
@@ -939,6 +955,15 @@ if test x$has_extension_module != xno ; then
AC_MSG_NOTICE([Enabling mono extension module.])
fi
AC_ARG_ENABLE(gsharing, [ --enable-gsharing Enable gsharing], enable_gsharing=$enableval, enable_gsharing=no)
if test x$enable_gsharing = xyes; then
AC_DEFINE(ENABLE_GSHAREDVT,1,[Gsharing])
fi
AC_ARG_ENABLE(native-types, [ --enable-native-types Enable native types], enable_native_types=$enableval, enable_native_types=no)
if test x$enable_native_types = xyes; then
AC_DEFINE(MONO_NATIVE_TYPES,1,[native types])
fi
AC_MSG_CHECKING(for visibility __attribute__)
AC_COMPILE_IFELSE([
@@ -1557,7 +1582,7 @@ if test x$target_win32 = xno; then
AC_CHECK_HEADERS(pthread.h)
AC_CHECK_HEADERS(pthread_np.h)
AC_CHECK_FUNCS(pthread_mutex_timedlock)
AC_CHECK_FUNCS(pthread_getattr_np pthread_attr_get_np)
AC_CHECK_FUNCS(pthread_getattr_np pthread_attr_get_np pthread_setname_np)
AC_CHECK_FUNCS(pthread_kill)
AC_MSG_CHECKING(for PTHREAD_MUTEX_RECURSIVE)
AC_TRY_COMPILE([ #include <pthread.h>], [
@@ -1826,9 +1851,9 @@ if test x$target_win32 = xno; then
fi
havekqueue=no
AC_CHECK_FUNCS(kqueue, , AC_MSG_CHECKING(for kqueue in sys/event.h)
AC_TRY_LINK([#include <sys/event.h>],
[ kqueue(); ],[havekqueue=yes],[]))
AC_CHECK_HEADERS(sys/event.h)
AC_CHECK_FUNCS(kqueue, [havekqueue=yes], )
dnl **************************************
dnl * Darwin has a race that prevents us from using reliably:
@@ -1837,8 +1862,8 @@ if test x$target_win32 = xno; then
dnl * and very few folks run Mono on large web servers on OSX, falling
dnl * back
dnl **************************************
if test x$havekqueue = xyes; then
if x$platform_darwin = xno; then
if test "x$havekqueue" = "xyes" -a "x$ac_cv_header_sys_event_h" = "xyes"; then
if test "x$platform_darwin" = "xno"; then
AC_DEFINE(USE_KQUEUE_FOR_THREADPOOL, 1, [Use kqueue for the threadpool])
fi
fi
@@ -1996,6 +2021,7 @@ if test x$target_win32 = xno; then
AC_CHECK_FUNCS(futimens utimensat)
AC_CHECK_FUNCS(fstatat mknodat readlinkat)
AC_CHECK_FUNCS(readv writev preadv pwritev)
AC_CHECK_FUNCS(setpgid)
AC_CHECK_SIZEOF(size_t)
AC_CHECK_TYPES([blksize_t], [AC_DEFINE(HAVE_BLKSIZE_T)], ,
[#include <sys/types.h>
@@ -2133,9 +2159,11 @@ else
AC_CHECK_FUNCS(GetProcessId)
AC_CHECK_DECLS(InterlockedExchange64, [], [], [[#include <windows.h>]])
AC_CHECK_DECLS(InterlockedCompareExchange64, [], [], [[#include <windows.h>]])
AC_CHECK_DECLS(InterlockedDecrement64, [], [], [[#include <windows.h>]])
AC_CHECK_DECLS(InterlockedIncrement64, [], [], [[#include <windows.h>]])
AC_CHECK_DECLS(InterlockedAdd, [], [], [[#include <windows.h>]])
AC_CHECK_DECLS(InterlockedAdd64, [], [], [[#include <windows.h>]])
AC_CHECK_DECLS(__readfsdword, [], [], [[#include <windows.h>]])
fi
dnl socklen_t check
@@ -2408,30 +2436,36 @@ if test "x$enable_llvm" = "xyes"; then
# from LLVM classes.
LLVM_CXXFLAGS="`$LLVM_CONFIG --cxxflags` -fno-rtti"
LLVM_LDFLAGS=`$LLVM_CONFIG --ldflags`
# This might include empty lines
LLVM_SYSTEM_LIBS=`$LLVM_CONFIG --system-libs 2>/dev/null | grep -- -`
if test "x$host" != "x$target"; then
# No need for jit libs
LLVM_LIBS=`$LLVM_CONFIG --libs core bitwriter`
else
LLVM_LIBS=`$LLVM_CONFIG --libs core bitwriter jit mcjit $llvm_codegen`
fi
LLVM_LIBS="$LLVM_LDFLAGS $LLVM_LIBS -lstdc++"
LLVM_LIBS="$LLVM_LIBS $LLVM_LDFLAGS $LLVM_SYSTEM_LIBS -lstdc++"
expected_llvm_version="3.3svn-mono/2c9642d"
expected_llvm_version="3.4svn-mono-mono/e656cac"
# Should be something like '2.6' or '2.7svn'
llvm_version=`$LLVM_CONFIG --version`
major_version=`echo $llvm_version | cut -c 1`
minor_version=`echo $llvm_version | cut -c 3`
llvm_api_version=`$LLVM_CONFIG --mono-api-version 2>/dev/null`
AC_MSG_CHECKING(LLVM version)
AC_MSG_RESULT($llvm_version)
if echo $llvm_version | grep -q 'mono'; then
AC_DEFINE(LLVM_MONO_BRANCH, 1, [Whenever we are using the mono branch of LLVM])
LLVM_CXXFLAGS="$LLVM_CXXFLAGS -DLLVM_MONO_BRANCH"
if test "x$enable_llvm_version_check" == "xyes"; then
if test "$llvm_version" != "$expected_llvm_version"; then
AC_MSG_ERROR([Expected llvm version $expected_llvm_version, but llvm-config --version returned $llvm_version"])
fi
fi
if test "x$llvm_api_version" = "x"; then
LLVM_CXXFLAGS="$LLVM_CXXFLAGS -DLLVM_API_VERSION=0"
else
LLVM_CXXFLAGS="$LLVM_CXXFLAGS -DLLVM_API_VERSION=$llvm_api_version"
fi
else
AC_MSG_ERROR([Compiling with stock LLVM is not supported, please use the Mono LLVM repo at https://github.com/mono/llvm, with the GIT branch which matches this version of mono, i.e. 'mono-2-10' for Mono 2.10.])
fi
@@ -2923,8 +2957,9 @@ case "$host" in
;;
*-*-*linux*)
AC_PATH_X
dlsearch_path=`(libtool --config ; echo eval echo \\$sys_lib_dlsearch_path_spec) | sh`
AC_MSG_CHECKING(for the soname of libX11.so)
for i in $x_libraries /usr/lib /usr/lib64; do
for i in $x_libraries $dlsearch_path; do
for r in 4 5 6; do
if test -f $i/libX11.so.$r; then
X11=libX11.so.$r
@@ -2962,39 +2997,6 @@ if test "x$TARGET" = "xAMD64" -o "x$TARGET" = "xX86"; then
fi
fi
mono_debugger_supported=no
AC_ARG_ENABLE(mono-debugger, [ --disable-mono-debugger disable support for the mdb debugger], try_mono_debugger=$enableval, try_mono_debugger=yes)
if test "x$try_mono_debugger" = "xyes"; then
if test "x$TARGET" = "xAMD64" -o "x$TARGET" = "xX86" -o "x$TARGET" = "xS390x"; then
if test x$use_included_gc = xyes; then
case "$host" in
*-*-*linux*)
mono_debugger_supported=yes
;;
*86-apple-darwin*)
mono_debugger_supported=yes
;;
esac
fi
fi
fi
# disable the debugger entirely when building with moonlight
if test "x$with_moonlight" != "xno"; then
mono_debugger_supported=no
fi
# mdb support for sgen is broken, disable it until further notice.
mono_debugger_supported=no
AC_MSG_CHECKING(if the Mono Debugger is supported on this platform)
if test "x$mono_debugger_supported" = "xyes"; then
BOEHM_DEFINES="$BOEHM_DEFINES -DMONO_DEBUGGER_SUPPORTED"
CPPFLAGS_FOR_LIBGC="$CPPFLAGS_FOR_LIBGC -DMONO_DEBUGGER_SUPPORTED"
fi
AM_CONDITIONAL(MONO_DEBUGGER_SUPPORTED, test x$mono_debugger_supported = xyes)
AC_MSG_RESULT($mono_debugger_supported)
AC_ARG_ENABLE(icall-symbol-map,[ --enable-icall-symbol-map Generate tables which map icall functions to their C symbols], icall_symbol_map=$enableval, icall_symbol_map=no)
if test "x$icall_symbol_map" = "xyes"; then
AC_DEFINE(ENABLE_ICALL_SYMBOL_MAP, 1, [Icall symbol map enabled])
@@ -3098,6 +3100,8 @@ if test ${TARGET} = ARM; then
return 0;
], [
arm_v5=yes
arm_ver=ARMv5
], [])
AC_TRY_COMPILE([], [
@@ -3108,6 +3112,8 @@ if test ${TARGET} = ARM; then
], [
arm_v5=yes
arm_v6=yes
arm_ver=ARMv6
], [])
AC_TRY_COMPILE([], [
@@ -3119,8 +3125,12 @@ if test ${TARGET} = ARM; then
arm_v5=yes
arm_v6=yes
arm_v7=yes
arm_ver=ARMv7
], [])
AC_MSG_RESULT($arm_ver)
if test x$arm_v5 = xyes; then
AC_DEFINE(HAVE_ARMV5, 1, [ARM v5])
CPPFLAGS_FOR_LIBGC="$CPPFLAGS_FOR_LIBGC -DHAVE_ARMV5=1"
@@ -3179,7 +3189,7 @@ AC_ARG_WITH(profile4, [ --with-profile4=yes,no If you want to install
AC_ARG_WITH(profile4_5,[ --with-profile4_5=yes,no If you want to install the 4.5 FX (defaults to yes)], [], [with_profile4_5=yes])
AC_ARG_WITH(monodroid, [ --with-monodroid=yes,no If you want to build the MonoDroid assemblies (defaults to no)], [], [with_monodroid=no])
AC_ARG_WITH(monotouch, [ --with-monotouch=yes,no,only If you want to build the MonoTouch assemblies (defaults to no)], [], [with_monotouch=no])
AC_ARG_WITH(mobile, [ --with-mobile=yes,no If you want to build the Mobile assemblies (defaults to no)], [], [with_mobile=no])
AC_ARG_WITH(xammac, [ --with-xammac=yes,no,only If you want to build the Xamarin.Mac assemblies (defaults to no)], [], [with_xammac=no])
OPROFILE=no
AC_ARG_WITH(oprofile,[ --with-oprofile=no,<oprofile install dir> Enable oprofile support (defaults to no)],[
@@ -3255,6 +3265,7 @@ if test x$cross_compiling = xyes -o x$enable_mcs_build = xno; then
with_profile4_5=no
with_monodroid=no
with_monotouch=no
with_xammac=no
fi
if test x$DISABLE_MCS_DOCS = xyes; then
@@ -3278,8 +3289,9 @@ AM_CONDITIONAL(INSTALL_4_0, [test "x$with_profile4" = xyes])
AM_CONDITIONAL(INSTALL_4_5, [test "x$with_profile4_5" = xyes])
AM_CONDITIONAL(INSTALL_MONODROID, [test "x$with_monodroid" != "xno"])
AM_CONDITIONAL(INSTALL_MONOTOUCH, [test "x$with_monotouch" != "xno"])
AM_CONDITIONAL(INSTALL_MOBILE, [test "x$with_mobile" = xyes])
AM_CONDITIONAL(INSTALL_XAMMAC, [test "x$with_xammac" != "xno"])
AM_CONDITIONAL(ONLY_MONOTOUCH, [test "x$with_monotouch" = "xonly"])
AM_CONDITIONAL(ONLY_XAMMAC, [test "x$with_xammac" = "xonly"])
AM_CONDITIONAL(MIPS_GCC, test ${TARGET}${ac_cv_prog_gcc} = MIPSyes)
AM_CONDITIONAL(MIPS_SGI, test ${TARGET}${ac_cv_prog_gcc} = MIPSno)
@@ -3527,6 +3539,7 @@ mono/tests/cas/inheritance/Makefile
mono/tests/cas/linkdemand/Makefile
mono/tests/cas/threads/Makefile
mono/tests/gc-descriptors/Makefile
mono/unit-tests/Makefile
mono/benchmark/Makefile
mono/monograph/Makefile
mono/io-layer/Makefile
@@ -3672,6 +3685,9 @@ fi
if test -z "$INSTALL_MONOTOUCH_TRUE"; then :
default_profile=monotouch
fi
if test -z "$INSTALL_XAMMAC_TRUE"; then :
default_profile=xammac
fi
if test -z "$INSTALL_4_5_TRUE"; then :
default_profile=net_4_5
fi
@@ -3723,6 +3739,7 @@ echo "
.NET 4.5: $with_profile4_5
MonoDroid: $with_monodroid
MonoTouch: $with_monotouch
Xamarin.Mac: $with_xammac
JNI support: $jdk_headers_found
libgdiplus: $libgdiplus_msg
zlib: $zlib_msg
+4 -3
View File
@@ -12,7 +12,8 @@ EXTRA_DIST = \
mono.pc.in mono-2.pc.in monosgen-2.pc.in mint.pc.in dotnet.pc.in dotnet35.pc.in wcf.pc.in monodoc.pc.in \
mono-nunit.pc.in mono-cairo.pc.in mono-options.pc.in cecil.pc.in \
mono-lineeditor.pc.in system.web.extensions_1.0.pc.in system.web.extensions.design_1.0.pc.in\
dtrace-prelink.sh mono.web.pc.in system.web.mvc.pc.in system.web.mvc2.pc.in system.web.mvc3.pc.in aspnetwebstack.pc.in reactive.pc.in \
dtrace-prelink.sh mono.web.pc.in system.web.mvc.pc.in system.web.mvc2.pc.in system.web.mvc3.pc.in aspnetwebstack.pc.in \
reactive.pc.in xbuild12.pc \
net_1_1/machine.config \
gdb/mono-gdb.py \
gdb/gdb-python.diff
@@ -28,10 +29,10 @@ endif
if JIT_SUPPORTED
if INTERP_SUPPORTED
pkgconfig_DATA= mono.pc mono-2.pc mint.pc dotnet.pc dotnet35.pc wcf.pc mono-nunit.pc mono-cairo.pc mono-options.pc cecil.pc monodoc.pc mono-lineeditor.pc system.web.extensions_1.0.pc \
system.web.extensions.design_1.0.pc mono.web.pc system.web.mvc.pc system.web.mvc2.pc system.web.mvc3.pc aspnetwebstack.pc reactive.pc $(SGENPCFILE)
system.web.extensions.design_1.0.pc mono.web.pc system.web.mvc.pc system.web.mvc2.pc system.web.mvc3.pc aspnetwebstack.pc reactive.pc xbuild12.pc $(SGENPCFILE)
else
pkgconfig_DATA= mono.pc mono-2.pc dotnet.pc dotnet35.pc wcf.pc mono-nunit.pc mono-cairo.pc mono-options.pc cecil.pc monodoc.pc mono-lineeditor.pc system.web.extensions_1.0.pc \
system.web.extensions.design_1.0.pc mono.web.pc system.web.mvc.pc system.web.mvc2.pc system.web.mvc3.pc aspnetwebstack.pc reactive.pc $(SGENPCFILE)
system.web.extensions.design_1.0.pc mono.web.pc system.web.mvc.pc system.web.mvc2.pc system.web.mvc3.pc aspnetwebstack.pc reactive.pc xbuild12.pc $(SGENPCFILE)
endif
else
pkgconfig_DATA= mint.pc mono-nunit.pc mono-cairo.pc mono-options.pc cecil.pc monodoc.pc mono-lineeditor.pc
+1 -1
View File
@@ -1,4 +1,4 @@
Name: AspNetWebStack
Description: References Microsoft ASP.NET Web Stack
Version: @VERSION@
Libs: -r:System.Web.Razor.dll -r:System.Web.Http.dll -r:System.Web.WebPages -r:System.Web.WebPages.Razor -r:System.Web.WebPages.Deployment
Libs: -r:@prefix@/lib/mono/gac/System.Web.Razor/2.0.0.0__31bf3856ad364e35/System.Web.Razor.dll -r:@prefix@/lib/mono/gac/System.Web.Http/4.0.0.0__31bf3856ad364e35/System.Web.Http.dll -r:@prefix@/lib/mono/gac/System.Web.WebPages/2.0.0.0__31bf3856ad364e35/System.Web.WebPages.dll -r:@prefix@/lib/mono/gac/System.Web.WebPages.Razor/2.0.0.0__31bf3856ad364e35/System.Web.WebPages.Razor.dll -r:@prefix@/lib/mono/gac/System.Web.WebPages.Deployment/2.0.0.0__31bf3856ad364e35/System.Web.WebPages.Deployment.dll
+2
View File
@@ -28,4 +28,6 @@
</dllmap>
<dllmap dll="gdiplus" target="@prefix@/lib/libgdiplus@libsuffix@" os="!windows"/>
<dllmap dll="gdiplus.dll" target="@prefix@/lib/libgdiplus@libsuffix@" os="!windows"/>
<dllmap dll="gdi32" target="@prefix@/lib/libgdiplus@libsuffix@" os="!windows"/>
<dllmap dll="gdi32.dll" target="@prefix@/lib/libgdiplus@libsuffix@" os="!windows"/>
</configuration>
+1 -1
View File
@@ -2,4 +2,4 @@
Name: Standard libraries in a .NET setup
Description: References all the standard .NET libraries for compilation
Version: @VERSION@
Libs: -r:Accessibility.dll -r:cscompmgd.dll -r:Microsoft.VisualC.dll -r:System.Configuration.Install.dll -r:System.Data.dll -r:System.Data.OracleClient.dll -r:System.Design.dll -r:System.DirectoryServices.dll -r:System.dll -r:System.Drawing.Design.dll -r:System.Drawing.dll -r:System.EnterpriseServices.dll -r:System.Management.dll -r:System.Messaging.dll -r:System.Runtime.Remoting.dll -r:System.Runtime.Serialization.Formatters.Soap.dll -r:System.Security.dll -r:System.ServiceProcess.dll -r:System.Web.dll -r:System.Web.Services.dll -r:System.Windows.Forms.dll -r:System.Xml.dll
Libs: -r:Accessibility.dll -r:cscompmgd.dll -r:Microsoft.VisualC.dll -r:System.Configuration.Install.dll -r:System.Data.dll -r:System.Data.OracleClient.dll -r:System.Design.dll -r:System.DirectoryServices.dll -r:System.dll -r:System.Drawing.Design.dll -r:System.Drawing.dll -r:System.EnterpriseServices.dll -r:System.Management.dll -r:System.Messaging.dll -r:System.Runtime.Remoting.dll -r:System.Runtime.Serialization.Formatters.Soap.dll -r:System.Security.dll -r:System.ServiceProcess.dll -r:System.Web.dll -r:System.Web.Services.dll -r:System.Windows.Forms.dll -r:System.Xml.dll -r:System.Xml.Linq.dll
+21 -20
View File
@@ -15,6 +15,7 @@
# When attaching to a mono process, make sure you are in the same directory.
#
from __future__ import print_function
import os
class StringPrinter:
@@ -35,7 +36,7 @@ class StringPrinter:
while i < len:
val = (chars.cast(gdb.lookup_type ("gint64")) + (i * 2)).cast(gdb.lookup_type ("gunichar2").pointer ()).dereference ()
if val >= 256:
c = "\u%X" % val
c = "\u%X".format (val)
else:
c = chr (val)
res.append (c)
@@ -52,7 +53,7 @@ def stringify_class_name(ns, name):
if ns == "":
return name
else:
return "%s.%s" % (ns, name)
return "%s.%s".format (ns, name)
class ArrayPrinter:
"Print a C# array"
@@ -65,7 +66,7 @@ class ArrayPrinter:
def to_string(self):
obj = self.val.cast (gdb.lookup_type ("MonoArray").pointer ()).dereference ()
length = obj ['max_length']
return "%s [%d]" % (stringify_class_name (self.class_ns, self.class_name [0:len(self.class_name) - 2]), int(length))
return "%s [%d]".format (stringify_class_name (self.class_ns, self.class_name [0:len (self.class_name) - 2]), int (length))
class ObjectPrinter:
"Print a C# object"
@@ -95,7 +96,7 @@ class ObjectPrinter:
return (field.name, self.obj [field.name])
except:
# Superclass
return (field.name, self.obj.cast (gdb.lookup_type ("%s" % (field.name))))
return (field.name, self.obj.cast (gdb.lookup_type ("%s".format (field.name))))
def children(self):
# FIXME: It would be easier if gdb.Value would support iteration itself
@@ -108,11 +109,11 @@ class ObjectPrinter:
class_name = obj ['vtable'].dereference ()['klass'].dereference ()['name'].string ()
if class_name [-2:len(class_name)] == "[]":
return {}.__iter__ ()
gdb_type = gdb.lookup_type ("struct %s_%s" % (class_ns.replace (".", "_"), class_name))
gdb_type = gdb.lookup_type ("struct %s_%s".format (class_ns.replace (".", "_"), class_name))
return self._iterator(obj.cast (gdb_type))
except:
print sys.exc_info ()[0]
print sys.exc_info ()[1]
print (sys.exc_info ()[0])
print (sys.exc_info ()[1])
return {}.__iter__ ()
def to_string(self):
@@ -128,16 +129,16 @@ class ObjectPrinter:
return ArrayPrinter (self.val,class_ns,class_name).to_string ()
if class_ns != "":
try:
gdb_type = gdb.lookup_type ("struct %s.%s" % (class_ns, class_name))
gdb_type = gdb.lookup_type ("struct %s.%s".format (class_ns, class_name))
except:
# Maybe there is no debug info for that type
return "%s.%s" % (class_ns, class_name)
return "%s.%s".format (class_ns, class_name)
#return obj.cast (gdb_type)
return "%s.%s" % (class_ns, class_name)
return "%s.%s".format (class_ns, class_name)
return class_name
except:
print sys.exc_info ()[0]
print sys.exc_info ()[1]
print (sys.exc_info ()[0])
print (sys.exc_info ()[1])
# FIXME: This can happen because we don't have liveness information
return self.val.cast (gdb.lookup_type ("guint64"))
@@ -153,9 +154,9 @@ class MonoMethodPrinter:
val = self.val.dereference ()
klass = val ["klass"].dereference ()
class_name = stringify_class_name (klass ["name_space"].string (), klass ["name"].string ())
return "\"%s:%s ()\"" % (class_name, val ["name"].string ())
return "\"%s:%s ()\"".format (class_name, val ["name"].string ())
# This returns more info but requires calling into the inferior
#return "\"%s\"" % (gdb.parse_and_eval ("mono_method_full_name (%s, 1)" % (str (int (self.val.cast (gdb.lookup_type ("guint64")))))).string ())
#return "\"%s\"".format (gdb.parse_and_eval ("mono_method_full_name (%s, 1)".format (str (int (self.val.cast (gdb.lookup_type ("guint64")))))).string ())
class MonoClassPrinter:
"Print a MonoClass structure"
@@ -168,9 +169,9 @@ class MonoClassPrinter:
return "0x0"
klass = self.val.dereference ()
class_name = stringify_class_name (klass ["name_space"].string (), klass ["name"].string ())
return "\"%s\"" % (class_name)
return "\"%s\"".format (class_name)
# This returns more info but requires calling into the inferior
#return "\"%s\"" % (gdb.parse_and_eval ("mono_type_full_name (&((MonoClass*)%s)->byval_arg)" % (str (int ((self.val).cast (gdb.lookup_type ("guint64")))))))
#return "\"%s\"".format (gdb.parse_and_eval ("mono_type_full_name (&((MonoClass*)%s)->byval_arg)".format (str (int ((self.val).cast (gdb.lookup_type ("guint64")))))))
def lookup_pretty_printer(val):
t = str (val.type)
@@ -216,9 +217,9 @@ class MonoSupport(object):
new_size = os.stat ("xdb.s").st_size
if new_size > self.s_size:
sofile = "xdb.so"
gdb.execute ("shell as -o xdb.o xdb.s && ld -shared -o %s xdb.o" % sofile)
gdb.execute ("shell as -o xdb.o xdb.s && ld -shared -o %s xdb.o".format (sofile))
# FIXME: This prints messages which couldn't be turned off
gdb.execute ("add-symbol-file %s 0" % sofile)
gdb.execute ("add-symbol-file %s 0".format (sofile))
self.s_size = new_size
class RunHook (gdb.Command):
@@ -229,7 +230,7 @@ class RunHook (gdb.Command):
def invoke(self, arg, from_tty):
mono_support.run_hook ()
print "Mono support loaded."
print ("Mono support loaded.")
mono_support = MonoSupport ()
@@ -244,4 +245,4 @@ exec_file = gdb.current_objfile ().filename
if os.stat (exec_file).st_size != os.lstat (exec_file).st_size:
exec_file = os.readlink (exec_file)
exec_dir = os.path.dirname (exec_file)
gdb.execute ("source %s/%s-gdbinit" % (exec_dir, os.path.basename (exec_file)))
gdb.execute ("source %s/%s-gdbinit".format (exec_dir, os.path.basename (exec_file)))
+2 -2
View File
@@ -3,8 +3,8 @@
import sys
gdb.execute ("file %s" % sys.argv [0])
gdb.execute ("r --break *:* %s" % " ".join (sys.argv[1:len(sys.argv)]))
gdb.execute ("file %s".format (sys.argv [0]))
gdb.execute ("r --break *:* %s".format (" ".join (sys.argv [1:len (sys.argv)])))
while True:
try:
+32 -31
View File
@@ -10,6 +10,7 @@
# - run mono under gdb, or attach to a mono process started with --debug=gdb using gdb.
#
from __future__ import print_function
import os
class StringPrinter:
@@ -30,7 +31,7 @@ class StringPrinter:
while i < len:
val = (chars.cast(gdb.lookup_type ("gint64")) + (i * 2)).cast(gdb.lookup_type ("gunichar2").pointer ()).dereference ()
if val >= 256:
c = "\u%X" % val
c = "\u%X".format (val)
else:
c = chr (val)
res.append (c)
@@ -47,7 +48,7 @@ def stringify_class_name(ns, name):
if ns == "":
return name
else:
return "%s.%s" % (ns, name)
return "%s.%s".format (ns, name)
class ArrayPrinter:
"Print a C# array"
@@ -60,7 +61,7 @@ class ArrayPrinter:
def to_string(self):
obj = self.val.cast (gdb.lookup_type ("MonoArray").pointer ()).dereference ()
length = obj ['max_length']
return "%s [%d]" % (stringify_class_name (self.class_ns, self.class_name [0:len(self.class_name) - 2]), int(length))
return "%s [%d]".format (stringify_class_name (self.class_ns, self.class_name [0:len(self.class_name) - 2]), int(length))
class ObjectPrinter:
"Print a C# object"
@@ -90,7 +91,7 @@ class ObjectPrinter:
return (field.name, self.obj [field.name])
except:
# Superclass
return (field.name, self.obj.cast (gdb.lookup_type ("%s" % (field.name))))
return (field.name, self.obj.cast (gdb.lookup_type ("%s".format (field.name))))
def children(self):
# FIXME: It would be easier if gdb.Value would support iteration itself
@@ -104,13 +105,13 @@ class ObjectPrinter:
if class_name [-2:len(class_name)] == "[]":
return {}.__iter__ ()
try:
gdb_type = gdb.lookup_type ("struct %s_%s" % (class_ns.replace (".", "_"), class_name))
gdb_type = gdb.lookup_type ("struct %s_%s".format (class_ns.replace (".", "_"), class_name))
return self._iterator(obj.cast (gdb_type))
except:
return {}.__iter__ ()
except:
print sys.exc_info ()[0]
print sys.exc_info ()[1]
print (sys.exc_info ()[0])
print (sys.exc_info ()[1])
return {}.__iter__ ()
def to_string(self):
@@ -126,16 +127,16 @@ class ObjectPrinter:
return ArrayPrinter (self.val,class_ns,class_name).to_string ()
if class_ns != "":
try:
gdb_type = gdb.lookup_type ("struct %s.%s" % (class_ns, class_name))
gdb_type = gdb.lookup_type ("struct %s.%s".format (class_ns, class_name))
except:
# Maybe there is no debug info for that type
return "%s.%s" % (class_ns, class_name)
return "%s.%s".format (class_ns, class_name)
#return obj.cast (gdb_type)
return "%s.%s" % (class_ns, class_name)
return "%s.%s".format (class_ns, class_name)
return class_name
except:
print sys.exc_info ()[0]
print sys.exc_info ()[1]
print (sys.exc_info ()[0])
print (sys.exc_info ()[1])
# FIXME: This can happen because we don't have liveness information
return self.val.cast (gdb.lookup_type ("guint64"))
@@ -151,9 +152,9 @@ class MonoMethodPrinter:
val = self.val.dereference ()
klass = val ["klass"].dereference ()
class_name = stringify_class_name (klass ["name_space"].string (), klass ["name"].string ())
return "\"%s:%s ()\"" % (class_name, val ["name"].string ())
return "\"%s:%s ()\"".format (class_name, val ["name"].string ())
# This returns more info but requires calling into the inferior
#return "\"%s\"" % (gdb.parse_and_eval ("mono_method_full_name (%s, 1)" % (str (int (self.val.cast (gdb.lookup_type ("guint64")))))).string ())
#return "\"%s\"".format (gdb.parse_and_eval ("mono_method_full_name (%s, 1)".format (str (int (self.val.cast (gdb.lookup_type ("guint64")))))).string ())
class MonoClassPrinter:
"Print a MonoClass structure"
@@ -167,20 +168,20 @@ class MonoClassPrinter:
klass = self.val.dereference ()
class_name = stringify_class_name (klass ["name_space"].string (), klass ["name"].string ())
if klass ["generic_class"].cast (gdb.lookup_type ("guint64")) != 0:
class_name = "%s<%s>" % (class_name, str (klass ["generic_class"]["context"]["class_inst"]))
class_name = "%s<%s>".format (class_name, str (klass ["generic_class"]["context"]["class_inst"]))
if add_quotes:
return "\"%s\"" % (class_name)
return "\"%s\"".format (class_name)
else:
return class_name
# This returns more info but requires calling into the inferior
#return "\"%s\"" % (gdb.parse_and_eval ("mono_type_full_name (&((MonoClass*)%s)->byval_arg)" % (str (int ((self.val).cast (gdb.lookup_type ("guint64")))))))
#return "\"%s\"".format (gdb.parse_and_eval ("mono_type_full_name (&((MonoClass*)%s)->byval_arg)".format (str (int ((self.val).cast (gdb.lookup_type ("guint64")))))))
def to_string(self):
try:
return self.to_string_inner (True)
except:
#print sys.exc_info ()[0]
#print sys.exc_info ()[1]
#print (sys.exc_info ()[0])
#print (sys.exc_info ()[1])
return str(self.val.cast (gdb.lookup_type ("gpointer")))
class MonoGenericInstPrinter:
@@ -197,7 +198,7 @@ class MonoGenericInstPrinter:
inst_args = inst ["type_argv"]
inst_str = ""
for i in range(0, inst_len):
print inst_args
print (inst_args)
type_printer = MonoTypePrinter (inst_args [i])
if i > 0:
inst_str = inst_str + ", "
@@ -221,14 +222,14 @@ class MonoGenericClassPrinter:
method_inst_str = ""
if int(method_inst.cast (gdb.lookup_type ("guint64"))) != 0:
method_inst_str = str(method_inst)
return "%s, [%s], [%s]>" % (container_str, class_inst_str, method_inst_str)
return "%s, [%s], [%s]>".format (container_str, class_inst_str, method_inst_str)
def to_string(self):
try:
return self.to_string_inner ()
except:
#print sys.exc_info ()[0]
#print sys.exc_info ()[1]
#print (sys.exc_info ()[0])
#print (sys.exc_info ()[1])
return str(self.val.cast (gdb.lookup_type ("gpointer")))
class MonoTypePrinter:
@@ -251,12 +252,12 @@ class MonoTypePrinter:
info = str(t ["data"]["generic_class"])
if info != "":
return "{%s, %s}" % (kind, info)
return "{%s, %s}".format (kind, info)
else:
return "{%s}" % (kind)
return "{%s}".format (kind)
except:
#print sys.exc_info ()[0]
#print sys.exc_info ()[1]
#print (sys.exc_info ()[0])
#print (sys.exc_info ()[1])
return str(self.val.cast (gdb.lookup_type ("gpointer")))
def to_string(self):
@@ -277,12 +278,12 @@ class MonoMethodRgctxPrinter:
inst_args = inst ["type_argv"]
inst_str = ""
for i in range(0, inst_len):
print inst_args
print (inst_args)
type_printer = MonoTypePrinter (inst_args [i])
if i > 0:
inst_str = inst_str + ", "
inst_str = inst_str + type_printer.to_string ()
return "MRGCTX[%s, [%s]]" % (klass_printer.to_string(), inst_str)
return "MRGCTX[%s, [%s]]".format (klass_printer.to_string(), inst_str)
class MonoVTablePrinter:
"Print a MonoVTable structure"
@@ -297,7 +298,7 @@ class MonoVTablePrinter:
klass = vtable ["klass"]
klass_printer = MonoClassPrinter (klass)
return "vtable(%s)" % (klass_printer.to_string ())
return "vtable(%s)".format (klass_printer.to_string ())
def lookup_pretty_printer(val):
t = str (val.type)
@@ -348,6 +349,6 @@ XdbCommand ()
gdb.execute ("set environment MONO_XDEBUG gdb")
print "Mono support loaded."
print ("Mono support loaded.")
+2 -2
View File
@@ -3,8 +3,8 @@
import sys
gdb.execute ("file %s" % sys.argv [0])
gdb.execute ("r --break *:* %s" % " ".join (sys.argv[1:len(sys.argv)]))
gdb.execute ("file %s".format (sys.argv [0]))
gdb.execute ("r --break *:* %s".format (" ".join (sys.argv [1:len (sys.argv)])))
while True:
try:
+51 -9
View File
@@ -102,15 +102,35 @@ Global locks:
Adding global locks is not to be taken lightly.
The current lock hierarchy:
loader lock
domain lock
domain jit lock
loader lock (global)
domain lock (complex)
domain jit lock (complex)
marshal lock
simple locks
Examples:
You can take the loader lock without holding a domain lock.
You cannot take a domain lock if the loader lock is held.
You can take the domain load while holding the loader lock
You cannot take the loader lock if only the domain lock is held.
You cannot take a domain lock while holding the lock to another domain.
TODO:
We have a few known ok violation. We need a way to whitelist them.
Known ok issues:
ERROR: tried to acquire lock DomainLock at mono_domain_code_reserve_align while holding DomainLock at mono_class_create_runtime_vtable: Hierarchy violation.
This is triggered when building the vtable of a non-root domain and fetching a vtable trampoline for an offset that has not been built. We'll take the root
domain lock while holding the other one.
This is ok since we never allow locking to have in the other direction, IOW, the root-domain lock is one level down from the other domain-locks.
WARNING: tried to acquire lock ImageDataLock at mono_image_init_name_cache while holding ImageDataLock at mono_class_from_name
WARNING: tried to acquire lock ImageDataLock at mono_image_init_name_cache while holding ImageDataLock at mono_image_add_to_name_cache
Both of those happen when filling up the name_cache, as it needs to alloc image memory.
This one is fixable by spliting mono_image_init_name_cache into a locked and an unlocked variants and calling them appropriatedly.
*/
public enum Lock {
@@ -120,6 +140,9 @@ public enum Lock {
DomainLock,
DomainAssembliesLock,
DomainJitCodeHashLock,
IcallLock,
AssemblyBindingLock,
MarshalLock,
}
public class SimLock
@@ -139,6 +162,7 @@ public class SimLock
case Lock.DomainLock:
return 1;
case Lock.DomainJitCodeHashLock:
case Lock.MarshalLock:
return 2;
default:
return 3;
@@ -157,6 +181,10 @@ public class SimLock
get { return kind == Lock.LoaderLock; }
}
public bool IsResursiveLock {
get { return kind == Lock.LoaderLock || kind == Lock.DomainLock; }
}
/*locked is already owned by the thread, 'this' is the new one*/
bool Compare (SimThread thread, SimLock locked, out bool isWarning, out string msg)
{
@@ -276,6 +304,11 @@ public class Trace {
"mono_loader_unlock",
"mono_image_lock",
"mono_image_unlock",
"mono_icall_lock",
"mono_icall_unlock",
"add_record",
"mono_locks_lock_acquired",
"mono_locks_lock_released",
};
public Trace (string[] fields) {
@@ -326,6 +359,10 @@ public class Symbol : IComparable<Symbol>
public int CompareTo(Symbol other) {
return offset - other.offset;
}
public void AdjustSize (Symbol next) {
size = next.offset - this.offset;
}
}
public interface SymbolTable {
@@ -352,21 +389,26 @@ public class OsxSymbolTable : SymbolTable
string line;
while ((line = proc.StandardOutput.ReadLine ()) != null) {
string[] fields = line.Split(new char[] {' ', '\t'}, StringSplitOptions.RemoveEmptyEntries);
if (fields.Length < 4)
if (fields.Length < 7)
continue;
if (!(fields [1].Equals ("g") || fields [1].Equals ("d")))
continue;
if (!fields [2].Equals ("*UND*"))
if (!fields [3].Equals ("FUN"))
continue;
int offset = fields [0].ParseHex ();
string name = fields [3];
string name = fields [6];
if (name.StartsWith ("_"))
name = name.Substring (1);
if (offset != 0)
list.Add (new Symbol (offset, 0, name));
}
table = new Symbol [list.Count];
list.CopyTo (table, 0);
Array.Sort (table);
for (int i = 1; i < table.Length; ++i) {
table [i - 1].AdjustSize (table [i]);
}
}
public string Translate (int offset) {
+7
View File
@@ -0,0 +1,7 @@
bindir=${pcfiledir}/../mono/xbuild/12.0/bin
Name: XBuild 12.0
Description: XBuild/MSBuild 12.0
Version: 12.0
Libs: -r:${bindir}/Microsoft.Build.Engine.dll -r:${bindir}/Microsoft.Build.Framework.dll -r:${bindir}/Microsoft.Build.Tasks.v12.0.dll -r:${bindir}/Microsoft.Build.Utilities.v12.0.dll -r:${bindir}/Microsoft.Build.dll
+25 -26
View File
@@ -73,41 +73,40 @@ dist-hook:
cp HtmlAgilityPack/* $(distdir)/HtmlAgilityPack
clean-local:
-rm -Rf $(srcdir)/html
-rm -f $(srcdir)/deploy/* $(srcdir)/convert.exe* $(srcdir)/AgilityPack.dll*
-cd $(srcdir) && rm -f $(ASSEMBLED_DOCS)
-rm -Rf html
-rm -f deploy/* convert.exe* AgilityPack.dll*
-rm -f $(ASSEMBLED_DOCS)
TOOL_MAKE=$(MAKE) -f $(srcdir)/docs.make topdir=$(srcdir)/../mcs srcdir=$(srcdir)
monoapi.zip: monoapi.tree
@test -f $@ || { rm -f $(srcdir)/monoapi.tree && $(MAKE) monoapi.tree; }
monoapi.tree: docs.make Makefile.am toc.xml $(srcdir)/deploy/.stamp perms
cd $(srcdir) && cp -f api-style.css deploy
cd $(srcdir) && $(MAKE) -f docs.make topdir=$(mcs_topdir_from_srcdir) $@
monoapi.tree: $(srcdir)/docs.make $(srcdir)/Makefile.am $(srcdir)/toc.xml $(srcdir)/deploy/.stamp
-mkdir deploy
cp -f $(srcdir)/api-style.css deploy
$(TOOL_MAKE) $@
mono-tools.zip: mono-tools.tree
@test -f $@ || { rm -f $(srcdir)/mono-tools.tree && $(MAKE) mono-tools.tree; }
mono-tools.tree: docs.make Makefile.am $(srcdir)/deploy/.stamp perms
cd $(srcdir) && $(MAKE) -f docs.make topdir=$(mcs_topdir_from_srcdir) $@
mono-file-formats.zip: mono-file-formats.tree perms
@test -f $@ || { rm -f $(srcdir)/mono-file-formats.tree && $(MAKE) mono-file-formats.tree; }
mono-file-formats.tree: docs.make Makefile.am $(srcdir)/deploy/.stamp
cd $(srcdir) && $(MAKE) -f docs.make topdir=$(mcs_topdir_from_srcdir) $@
mono-tools.tree: $(srcdir)/docs.make Makefile.am deploy/.stamp
$(TOOL_MAKE) $@
$(srcdir)/deploy/.stamp: convert.exe Makefile.am perms
$(mkdir_p) $(srcdir)/html
mono-file-formats.zip: mono-file-formats.tree
mono-file-formats.tree: $(srcdir)/docs.make $(srcdir)/Makefile.am $(srcdir)/deploy/.stamp
$(TOOL_MAKE) $@
deploy/.stamp: convert.exe Makefile.am
$(mkdir_p) html
runtimedir=`cd ../runtime && pwd`; export runtimedir; \
cd $(srcdir) && MONO_PATH=$(mcs_topdir_from_srcdir)/class/lib/net_2_0 perl ./exdoc -h . ../mono/*/*.c
MONO_PATH=../mcs/class/lib/net_2_0 perl $(srcdir)/exdoc -h $(srcdir) -t . $(srcdir)/../mono/*/*.c
touch $@
extract: $(srcdir)/deploy/.stamp
extract: deploy/.stamp
convert.exe: convert.cs AgilityPack.dll perms
cd $(srcdir) && $(MAKE) PROFILE=net_2_0 -f docs.make topdir=$(mcs_topdir_from_srcdir) convert.exe
convert.exe: convert.cs AgilityPack.dll
$(TOOL_MAKE) PROFILE=net_2_0 convert.exe
AgilityPack.dll: perms
cd $(srcdir) && $(MAKE) PROFILE=net_2_0 -f docs.make topdir=$(mcs_topdir_from_srcdir) AgilityPack.dll
.PHONY: perms
perms:
-@test -w $(srcdir) || chmod a+w $(srcdir)
AgilityPack.dll:
$(TOOL_MAKE) PROFILE=net_2_0 AgilityPack.dll
+13 -5
View File
@@ -1,3 +1,8 @@
#
# This makefile is here because it uses the configuration from the
# in-place built mono to run and compile a few C# tools
#
thisdir = docs
SUBDIRS =
include $(topdir)/build/rules.make
@@ -7,25 +12,28 @@ ASSEMBLED_DOCS = \
mono-tools.tree mono-tools.zip \
monoapi.tree monoapi.zip
convert.exe: convert.cs AgilityPack.dll
convert.exe: $(srcdir)/convert.cs AgilityPack.dll
$(CSCOMPILE) -out:$@ $< -r:AgilityPack.dll
AgilityPack.dll:
$(CSCOMPILE) -target:library -out:$@ HtmlAgilityPack/*.cs
$(CSCOMPILE) -target:library -out:$@ $(srcdir)/HtmlAgilityPack/*.cs
monoapi.zip: monoapi.tree
@test -f $@ || { rm -f $< && $(MAKE) $<; }
monoapi.tree: toc.xml docs.make
monoapi.tree: $(srcdir)/toc.xml $(srcdir)/docs.make
$(MDOC) assemble -o monoapi -f hb $<
mono-tools.zip: mono-tools.tree
@test -f $@ || { rm -f $< && $(MAKE) $<; }
mono-tools.tree: mono-tools.config docs.make
mono-tools.tree: $(srcdir)/mono-tools.config $(srcdir)/docs.make
$(MDOC) assemble -o mono-tools -f man $<
mono-file-formats.zip: mono-file-formats.tree
@test -f $@ || { rm -f $< && $(MAKE) $<; }
mono-file-formats.tree: mono-file-formats.config docs.make
mono-file-formats.tree: $(srcdir)/mono-file-formats.config $(srcdir)/docs.make
$(MDOC) assemble -o mono-file-formats -f man $<
.doc-stamp:
+9 -3
View File
@@ -1,17 +1,23 @@
#!/usr/bin/perl
if ($ARGV[0] eq "-h"){
$dir = $ARGV[1];
$sourcedir = $ARGV[1];
$dir = $sourcedir;
$html = 1;
shift @ARGV;
shift @ARGV;
}
if ($ARGV[0] eq "-t"){
$dir = $ARGV[1];
shift @ARGV;
}
if ($html){
opendir (D, "$dir/sources/") || die "Can not open $dir";
opendir (D, "$sourcedir/sources/") || die "Can not open $dir";
while ($n = readdir (D)){
if ($n =~ /mono-api-.*\.html$/){
open (IN, "$dir/sources/$n") || die "Can not open $n";
open (IN, "$sourcedir/sources/$n") || die "Can not open $n";
$files[$filecount] = $n;
while (<IN>){
@files_content[$filecount] .= $_;
+6 -4
View File
@@ -87,10 +87,12 @@ g_unsetenv(const gchar *variable)
gchar*
g_win32_getlocale(void)
{
/* FIXME: Use GetThreadLocale
* and convert LCID to standard
* string form, "en_US" */
return strdup ("en_US");
LCID lcid = GetThreadLocale();
gchar buf[19];
gint ccBuf = GetLocaleInfo(lcid, LOCALE_SISO639LANGNAME, buf, 9);
buf[ccBuf - 1] = '-';
ccBuf += GetLocaleInfo(lcid, LOCALE_SISO3166CTRYNAME, buf + ccBuf, 9);
return strdup(buf);
}
gboolean
+3 -2
View File
@@ -216,8 +216,8 @@ cont:
gchar *
g_find_program_in_path (const gchar *program)
{
char *p = g_strdup (g_getenv ("PATH"));
char *x = p, *l;
char *p;
char *x, *l;
gchar *curdir = NULL;
char *save = NULL;
#ifdef G_OS_WIN32
@@ -228,6 +228,7 @@ g_find_program_in_path (const gchar *program)
#endif
g_return_val_if_fail (program != NULL, NULL);
x = p = g_strdup (g_getenv ("PATH"));
if (x == NULL || *x == '\0') {
curdir = g_get_current_dir ();
+9 -9
View File
@@ -60,22 +60,22 @@ test_ptrconv ()
return FAILED ("int to pointer and back conversions fail %d != %d", iv, iv2);
uv = 0;
ptr = GUINT_TO_POINTER (iv);
ptr = GUINT_TO_POINTER (uv);
uv2 = GPOINTER_TO_UINT (ptr);
if (iv != iv2)
return FAILED ("uint to pointer and back conversions fail %u != %d", iv, iv2);
if (uv != uv2)
return FAILED ("uint to pointer and back conversions fail %u != %d", uv, uv2);
uv = 1;
ptr = GUINT_TO_POINTER (iv);
ptr = GUINT_TO_POINTER (uv);
uv2 = GPOINTER_TO_UINT (ptr);
if (iv != iv2)
return FAILED ("uint to pointer and back conversions fail %u != %d", iv, iv2);
if (uv != uv2)
return FAILED ("uint to pointer and back conversions fail %u != %d", uv, uv2);
uv = UINT32_MAX;
ptr = GUINT_TO_POINTER (iv);
ptr = GUINT_TO_POINTER (uv);
uv2 = GPOINTER_TO_UINT (ptr);
if (iv != iv2)
return FAILED ("uint to pointer and back conversions fail %u != %d", iv, iv2);
if (uv != uv2)
return FAILED ("uint to pointer and back conversions fail %u != %d", uv, uv2);
return NULL;
Vendored Submodule
+1
Submodule external/ikdasm added at 7ded4decb9.
+1 -1
Vendored
+1 -1
Submodule external/rx updated: 17e8477b2c...00c1aadf14.
+1 -17
View File
@@ -5,10 +5,6 @@
#include <AvailabilityMacros.h>
#include "mono/utils/mono-compiler.h"
#ifdef MONO_DEBUGGER_SUPPORTED
#include "include/libgc-mono-debugger.h"
#endif
/* From "Inside Mac OS X - Mach-O Runtime Architecture" published by Apple
Page 49:
"The space beneath the stack pointer, where a new stack frame would normally
@@ -584,6 +580,7 @@ void GC_stop_world()
if (GC_notify_event)
GC_notify_event (GC_EVENT_PRE_STOP_WORLD);
GC_process_togglerefs ();
# if DEBUG_THREADS
GC_printf1("Stopping the world from 0x%lx\n", mach_thread_self());
@@ -736,17 +733,4 @@ void GC_darwin_register_mach_handler_thread(mach_port_t thread) {
GC_use_mach_handler_thread = 1;
}
#ifdef MONO_DEBUGGER_SUPPORTED
GCThreadFunctions *gc_thread_vtable = NULL;
void *
GC_mono_debugger_get_stack_ptr (void)
{
GC_thread me;
me = GC_lookup_thread (pthread_self ());
return &me->stop_info.stack_ptr;
}
#endif
#endif
+162 -1
View File
@@ -307,6 +307,163 @@ out:
return(0);
}
/* toggleref support */
typedef struct {
GC_PTR strong_ref;
GC_hidden_pointer weak_ref;
} GCToggleRef;
static int (*GC_toggleref_callback) (GC_PTR obj);
static GCToggleRef *GC_toggleref_array;
static int GC_toggleref_array_size;
static int GC_toggleref_array_capacity;
void
GC_process_togglerefs (void)
{
int i, w;
int toggle_ref_counts [3] = { 0, 0, 0 };
for (i = w = 0; i < GC_toggleref_array_size; ++i) {
int res;
GCToggleRef r = GC_toggleref_array [i];
GC_PTR obj;
if (r.strong_ref)
obj = r.strong_ref;
else if (r.weak_ref)
obj = REVEAL_POINTER (r.weak_ref);
else
continue;
res = GC_toggleref_callback (obj);
++toggle_ref_counts [res];
switch (res) {
case 0:
break;
case 1:
GC_toggleref_array [w].strong_ref = obj;
GC_toggleref_array [w].weak_ref = (GC_hidden_pointer)NULL;
++w;
break;
case 2:
GC_toggleref_array [w].strong_ref = NULL;
GC_toggleref_array [w].weak_ref = HIDE_POINTER (obj);
++w;
break;
default:
ABORT("Invalid callback result");
}
}
for (i = w; i < GC_toggleref_array_size; ++i) {
GC_toggleref_array [w].strong_ref = NULL;
GC_toggleref_array [w].weak_ref = (GC_hidden_pointer)NULL;
}
GC_toggleref_array_size = w;
}
static void push_and_mark_object (GC_PTR p)
{
hdr * hhdr = HDR(p);
PUSH_OBJ((word *)p, hhdr, GC_mark_stack_top,
&(GC_mark_stack[GC_mark_stack_size]));
while (!GC_mark_stack_empty()) MARK_FROM_MARK_STACK();
GC_set_mark_bit (p);
if (GC_mark_state != MS_NONE)
while (!GC_mark_some((ptr_t)0)) {}
}
static void GC_mark_togglerefs ()
{
int i;
if (!GC_toggleref_array)
return;
GC_set_mark_bit ((GC_PTR)GC_toggleref_array);
for (i = 0; i < GC_toggleref_array_size; ++i) {
if (GC_toggleref_array [i].strong_ref) {
GC_PTR object = GC_toggleref_array [i].strong_ref;
push_and_mark_object (object);
}
}
}
static void GC_clear_togglerefs ()
{
int i;
for (i = 0; i < GC_toggleref_array_size; ++i) {
if (GC_toggleref_array [i].weak_ref) {
GC_PTR object = REVEAL_POINTER (GC_toggleref_array [i].weak_ref);
if (!GC_is_marked (object)) {
GC_toggleref_array [i].weak_ref = (GC_hidden_pointer)NULL; /* We defer compaction to only happen on the callback step. */
} else {
/*No need to copy, boehm is non-moving */
}
}
}
}
void GC_toggleref_register_callback(int (*proccess_toggleref) (GC_PTR obj))
{
GC_toggleref_callback = proccess_toggleref;
}
static void
ensure_toggleref_capacity (int capacity)
{
if (!GC_toggleref_array) {
GC_toggleref_array_capacity = 32;
GC_toggleref_array = (GCToggleRef *) GC_INTERNAL_MALLOC_IGNORE_OFF_PAGE (GC_toggleref_array_capacity * sizeof (GCToggleRef), NORMAL);
}
if (GC_toggleref_array_size + capacity >= GC_toggleref_array_capacity) {
GCToggleRef *tmp;
int old_capacity = GC_toggleref_array_capacity;
while (GC_toggleref_array_capacity < GC_toggleref_array_size + capacity)
GC_toggleref_array_capacity *= 2;
tmp = (GCToggleRef *) GC_INTERNAL_MALLOC_IGNORE_OFF_PAGE (GC_toggleref_array_capacity * sizeof (GCToggleRef), NORMAL);
memcpy (tmp, GC_toggleref_array, GC_toggleref_array_size * sizeof (GCToggleRef));
GC_INTERNAL_FREE (GC_toggleref_array);
GC_toggleref_array = tmp;
}
}
void
GC_toggleref_add (GC_PTR object, int strong_ref)
{
DCL_LOCK_STATE;
# ifdef THREADS
DISABLE_SIGNALS();
LOCK();
# endif
if (!GC_toggleref_callback)
goto end;
ensure_toggleref_capacity (1);
GC_toggleref_array [GC_toggleref_array_size].strong_ref = strong_ref ? object : NULL;
GC_toggleref_array [GC_toggleref_array_size].weak_ref = strong_ref ? (GC_hidden_pointer)NULL : HIDE_POINTER (object);
++GC_toggleref_array_size;
end:
# ifdef THREADS
UNLOCK();
ENABLE_SIGNALS();
# endif
}
# if defined(__STDC__) || defined(__cplusplus)
int GC_register_long_link(GC_PTR * link, GC_PTR obj)
@@ -679,7 +836,9 @@ void GC_finalize()
ptr_t real_ptr;
register int i;
int fo_size = (log_fo_table_size == -1 ) ? 0 : (1 << log_fo_table_size);
GC_mark_togglerefs();
/* Make non-tracking disappearing links disappear */
GC_make_disappearing_links_disappear(&GC_dl_hashtbl);
@@ -755,6 +914,8 @@ void GC_finalize()
/* Remove dangling disappearing links. */
GC_remove_dangling_disappearing_links(&GC_dl_hashtbl);
GC_clear_togglerefs ();
/* Make long links disappear and remove dangling ones. */
GC_make_disappearing_links_disappear(&GC_ll_hashtbl);
GC_remove_dangling_disappearing_links(&GC_ll_hashtbl);
-2
View File
@@ -1,5 +1,3 @@
noinst_HEADERS = libgc-mono-debugger.h
EXTRA_DIST = $(srcdir)/*.h
SUBDIRS = private
+5
View File
@@ -769,6 +769,11 @@ GC_API int GC_unregister_disappearing_link GC_PROTO((GC_PTR * /* link */));
GC_API int GC_register_long_link GC_PROTO((GC_PTR * /* link */, GC_PTR obj));
GC_API int GC_unregister_long_link GC_PROTO((GC_PTR * /* link */));
/* toggleref support */
GC_API void GC_toggleref_register_callback GC_PROTO((int (*proccess_toggleref) (GC_PTR obj)));
GC_API void GC_toggleref_add (GC_PTR object, int strong_ref);
/* Returns !=0 if GC_invoke_finalizers has something to do. */
GC_API int GC_should_invoke_finalizers GC_PROTO((void));
-27
View File
@@ -1,27 +0,0 @@
#ifndef LIBGC_MONO_DEBUGGER_H
#define LIBGC_MONO_DEBUGGER_H
#if defined(_IN_LIBGC) || defined(_IN_THE_MONO_DEBUGGER)
typedef struct
{
void (* initialize) (void);
void (* thread_created) (pthread_t tid, void *stack_ptr);
void (* thread_exited) (pthread_t tid, void *stack_ptr);
void (* stop_world) (void);
void (* start_world) (void);
} GCThreadFunctions;
extern GCThreadFunctions *gc_thread_vtable;
extern void *
GC_mono_debugger_get_stack_ptr (void);
#else
#error "This header is only intended to be used by the Mono Debugger"
#endif
#endif
+7
View File
@@ -1454,6 +1454,10 @@ GC_bool GC_is_tmp_root GC_PROTO((ptr_t p));
void GC_register_dynamic_libraries GC_PROTO((void));
/* Add dynamic library data sections to the root set. */
void GC_cond_register_dynamic_libraries GC_PROTO((void));
/* Remove and reregister dynamic libraries if we're */
/* configured to do that at each GC. */
GC_bool GC_register_main_static_data GC_PROTO((void));
/* We need to register the main data segment. Returns */
/* TRUE unless this is done implicitly as part of */
@@ -1688,6 +1692,9 @@ void GC_finalize GC_PROTO((void));
/* for processing by GC_invoke_finalizers. */
/* Invoked with lock. */
void GC_process_togglerefs (void);
/*Process the togglerefs before GC starts */
void GC_notify_or_invoke_finalizers GC_PROTO((void));
/* If GC_finalize_on_demand is not set, invoke */
/* eligible finalizers. Otherwise: */
+1 -34
View File
@@ -19,10 +19,6 @@
#undef PACKAGE_VERSION
#include "mono/utils/mono-compiler.h"
#ifdef MONO_DEBUGGER_SUPPORTED
#include "include/libgc-mono-debugger.h"
#endif
#ifdef NACL
volatile int __nacl_thread_suspension_needed = 0;
pthread_t nacl_thread_parker = -1;
@@ -615,6 +611,7 @@ void GC_stop_world()
{
if (GC_notify_event)
GC_notify_event (GC_EVENT_PRE_STOP_WORLD);
GC_process_togglerefs ();
/* Make sure all free list construction has stopped before we start. */
/* No new construction can start, since free list construction is */
/* required to acquire and release the GC lock before it starts, */
@@ -625,11 +622,6 @@ void GC_stop_world()
/* We should have previously waited for it to become zero. */
# endif /* PARALLEL_MARK */
++GC_stop_count;
#ifdef MONO_DEBUGGER_SUPPORTED
if (gc_thread_vtable && gc_thread_vtable->stop_world)
gc_thread_vtable->stop_world ();
else
#endif
pthread_stop_world ();
# ifdef PARALLEL_MARK
GC_release_mark_lock();
@@ -717,11 +709,6 @@ static void pthread_start_world()
void GC_start_world()
{
#ifdef MONO_DEBUGGER_SUPPORTED
if (gc_thread_vtable && gc_thread_vtable->start_world)
gc_thread_vtable->start_world();
else
#endif
pthread_start_world ();
}
@@ -773,27 +760,7 @@ static void pthread_stop_init() {
/* We hold the allocation lock. */
void GC_stop_init()
{
#ifdef MONO_DEBUGGER_SUPPORTED
if (gc_thread_vtable && gc_thread_vtable->initialize)
gc_thread_vtable->initialize ();
else
#endif
pthread_stop_init ();
}
#ifdef MONO_DEBUGGER_SUPPORTED
GCThreadFunctions *gc_thread_vtable = NULL;
void *
GC_mono_debugger_get_stack_ptr (void)
{
GC_thread me;
me = GC_lookup_thread (pthread_self ());
return &me->stop_info.stack_ptr;
}
#endif
#endif
-24
View File
@@ -222,10 +222,6 @@ static int GC_setspecific (GC_key_t key, void *value) {
static GC_bool keys_initialized;
#ifdef MONO_DEBUGGER_SUPPORTED
#include "include/libgc-mono-debugger.h"
#endif
/* Recover the contents of the freelist array fl into the global one gfl.*/
/* Note that the indexing scheme differs, in that gfl has finer size */
/* resolution, even if not all entries are used. */
@@ -804,10 +800,6 @@ void GC_delete_thread(pthread_t id)
} else {
prev -> next = p -> next;
}
#ifdef MONO_DEBUGGER_SUPPORTED
if (gc_thread_vtable && gc_thread_vtable->thread_exited)
gc_thread_vtable->thread_exited (id, &p->stop_info.stack_ptr);
#endif
#ifdef GC_DARWIN_THREADS
mach_port_deallocate(mach_task_self(), p->stop_info.mach_thread);
@@ -1124,14 +1116,6 @@ void GC_thr_init()
t -> stop_info.stack_ptr = (ptr_t)(&dummy);
# endif
t -> flags = DETACHED | MAIN_THREAD;
#ifdef MONO_DEBUGGER_SUPPORTED
if (gc_thread_vtable && gc_thread_vtable->thread_created)
# ifdef GC_DARWIN_THREADS
gc_thread_vtable->thread_created (mach_thread_self (), &t->stop_info.stack_ptr);
# else
gc_thread_vtable->thread_created (pthread_self (), &t->stop_info.stack_ptr);
# endif
#endif
if (pthread_self () == main_pthread_self) {
t->stack = main_stack;
t->stack_size = main_stack_size;
@@ -1461,14 +1445,6 @@ void * GC_start_routine_head(void * arg, void *base_addr,
/* This is also < 100% convincing. We should also read this */
/* from /proc, but the hook to do so isn't there yet. */
# endif /* IA64 */
#ifdef MONO_DEBUGGER_SUPPORTED
if (gc_thread_vtable && gc_thread_vtable->thread_created)
# ifdef GC_DARWIN_THREADS
gc_thread_vtable->thread_created (mach_thread_self(), &me->stop_info.stack_ptr);
# else
gc_thread_vtable->thread_created (my_pthread, &me->stop_info.stack_ptr);
# endif
#endif
UNLOCK();
if (start) *start = si -> start_routine;
+21 -3
View File
@@ -265,6 +265,12 @@ instructs the Mono runtime to start debugging in server mode, where Mono
actively waits for the debugger front end to connect to the Mono process.
Mono will print out to stdout the IP address and port where it is listening.
.TP
.I setpgid=[y/n]
If set to yes, Mono will call \fBsetpgid(0, 0)\fB on startup, if that function
is available on the system. This is useful for ensuring that signals delivered
to a process that is executing the debuggee are not propagated to the debuggee,
e.g. when Ctrl-C sends \fBSIGINT\fB to the \fBsdb\fB tool.
.TP
.I suspend=[y/n]
Defaults to yes, with the default option Mono will suspend the vm on startup
until it connects successfully to a debugger front end. If you set it to 'n', in
@@ -1411,9 +1417,9 @@ small embedded systems.
The default is 180 seconds.
.TP
\fBMONO_THREADS_PER_CPU\fR
The maximum number of threads in the general threadpool will be
20 + (MONO_THREADS_PER_CPU * number of CPUs). The default value for this
variable is 10.
The minimum number of threads in the general threadpool will be
MONO_THREADS_PER_CPU * number of CPUs. The default value for this
variable is 1.
.TP
\fBMONO_XMLSERIALIZER_THS\fR
Controls the threshold for the XmlSerializer to produce a custom
@@ -1528,6 +1534,12 @@ after a SIGSEGV or SIGABRT in unmanaged code.
This option will suspend the program when a native SIGSEGV is received.
This is useful for debugging crashes which do not happen under gdb,
since a live process contains more information than a core file.
.TP
\fBcheck-pinvoke-callconv\fR
This option causes the runtime to check for calling convention
mismatches when using pinvoke, i.e. mixing cdecl/stdcall. It only
works on windows. If a mismatch is detected, an
ExecutionEngineException is thrown.
.ne
.RE
.TP
@@ -1632,6 +1644,12 @@ method.
\fBMONO_VERBOSE_HWCAP\fR
If set, makes the JIT output information about detected CPU features
(such as SSE, CMOV, FCMOV, etc) to stdout.
.TP
\fBMONO_CONSERVATIVE_HWCAP\fR
If set, the JIT will not perform any hardware capability detection. This
may be useful to pinpoint the cause of JIT issues. This is the default
when Mono is built as an AOT cross compiler, so that the generated code
will run on most hardware.
.SH VALGRIND
If you want to use Valgrind, you will find the file `mono.supp'
useful, it contains the suppressions for the GC which trigger
+5 -1
View File
@@ -10,10 +10,12 @@ net_2_0_SUBDIRS := build class nunit24 ilasm tools tests errors docs
monodroid_SUBDIRS := build class
monotouch_SUBDIRS := build class
monotouch_runtime_SUBDIRS := build class
xammac_SUBDIRS := build class
mobile_SUBDIRS := build class
net_3_5_SUBDIRS := build class tools/xbuild
net_4_0_SUBDIRS := build class
net_4_5_SUBDIRS := build mcs class nunit24 ilasm tools tests errors docs
xbuild_12_SUBDIRS := build class tools/xbuild
# List of test subdirs that should pass 100%
centum_tests := \
@@ -85,7 +87,7 @@ dir-check:
# fun specialty targets
PROFILES = net_2_0 net_3_5 net_4_0 net_4_5
PROFILES = net_2_0 net_3_5 net_4_0 net_4_5 xbuild_12
.PHONY: all-profiles $(STD_TARGETS:=-profiles)
all-profiles $(STD_TARGETS:=-profiles): %-profiles: profiles-do--%
@@ -104,12 +106,14 @@ profiles-do--run-test:
# Orchestrate the bootstrap here.
_boot_ = all clean install
$(_boot_:%=profile-do--xbuild_12--%): profile-do--xbuild_12--%: profile-do--net_4_5--%
$(_boot_:%=profile-do--net_4_5--%): profile-do--net_4_5--%: profile-do--build--%
$(_boot_:%=profile-do--net_4_0--%): profile-do--net_4_0--%: profile-do--build--%
$(_boot_:%=profile-do--net_3_5--%): profile-do--net_3_5--%: profile-do--net_2_0--%
$(_boot_:%=profile-do--monodroid--%): profile-do--monodroid--%: profile-do--build--%
$(_boot_:%=profile-do--monotouch--%): profile-do--monotouch--%: profile-do--build--%
$(_boot_:%=profile-do--monotouch_runtime--%): profile-do--monotouch_runtime--%: profile-do--build--%
$(_boot_:%=profile-do--xammac--%): profile-do--xammac--%: profile-do--build--%
$(_boot_:%=profile-do--mobile--%): profile-do--mobile--%: profile-do--build--%
$(_boot_:%=profile-do--net_2_0--%): profile-do--net_2_0--%: profile-do--build--%
$(_boot_:%=profile-do--build--%): profile-do--build--%: profile-do--basic--%
+2 -1
View File
@@ -21,7 +21,8 @@ PROFILES = \
net_2_0 \
net_3_5 \
net_4_0 \
net_4_5
net_4_5 \
xbuild_12
COMMON_SRCS = \
Consts.cs.in \
+1
View File
@@ -119,6 +119,7 @@ static class Consts
public const string WindowsBase_3_0 = "WindowsBase, Version=3.0.0.0, PublicKeyToken=31bf3856ad364e35";
public const string AssemblyWindowsBase = "WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35";
public const string AssemblyPresentationCore_3_5 = "PresentationCore, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35";
public const string AssemblyPresentationCore_4_0 = "PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35";
public const string AssemblyPresentationFramework_3_5 = "PresentationFramework, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35";
public const string AssemblySystemServiceModel_3_0 = "System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089";
#elif NET_2_1
+1 -1
View File
@@ -12,7 +12,7 @@ profile-check:
@:
DEFAULT_REFERENCES = -r:mscorlib.dll
PROFILE_MCS_FLAGS = -d:NET_1_1 -d:NET_2_0 -d:NET_2_1 -d:NET_3_5 -d:NET_4_0 -d:NET_4_5 -d:MOBILE -d:MONODROID -nowarn:1699 -nostdlib -lib:$(topdir)/class/lib/$(PROFILE) $(DEFAULT_REFERENCES) $(PLATFORM_DEBUG_FLAGS)
PROFILE_MCS_FLAGS = -d:NET_1_1 -d:NET_2_0 -d:NET_2_1 -d:NET_3_5 -d:NET_4_0 -d:NET_4_5 -d:MOBILE -d:MOBILE_DYNAMIC -d:MONODROID -nowarn:1699 -nostdlib -lib:$(topdir)/class/lib/$(PROFILE) $(DEFAULT_REFERENCES) $(PLATFORM_DEBUG_FLAGS)
FRAMEWORK_VERSION = 2.1
NO_TEST = yes
+1 -1
View File
@@ -14,7 +14,7 @@ profile-check:
@:
DEFAULT_REFERENCES = -r:mscorlib.dll
PROFILE_MCS_FLAGS = -d:NET_1_1 -d:NET_2_0 -d:NET_2_1 -d:NET_3_5 -d:NET_4_0 -d:NET_4_5 -d:MOBILE -d:MONOTOUCH -nowarn:1699 -nostdlib -lib:$(topdir)/class/lib/$(PROFILE) $(DEFAULT_REFERENCES) $(PLATFORM_DEBUG_FLAGS)
PROFILE_MCS_FLAGS = -d:NET_1_1 -d:NET_2_0 -d:NET_2_1 -d:NET_3_5 -d:NET_4_0 -d:NET_4_5 -d:MOBILE -d:MONOTOUCH -D:DISABLE_REMOTING -d:DISABLE_COM -nowarn:1699 -nostdlib -lib:$(topdir)/class/lib/$(PROFILE) $(DEFAULT_REFERENCES) $(PLATFORM_DEBUG_FLAGS)
FRAMEWORK_VERSION = 2.1
+1
View File
@@ -13,3 +13,4 @@ DEFAULT_REFERENCES = -r:mscorlib.dll
PROFILE_MCS_FLAGS = -d:NET_1_1 -d:NET_2_0 -nowarn:1699 -nostdlib -lib:$(topdir)/class/lib/$(PROFILE) $(DEFAULT_REFERENCES) $(PLATFORM_DEBUG_FLAGS)
FRAMEWORK_VERSION = 2.0
XBUILD_VERSION = 2.0
+1
View File
@@ -13,6 +13,7 @@ DEFAULT_REFERENCES = -r:mscorlib.dll
PROFILE_MCS_FLAGS = -d:NET_1_1 -d:NET_2_0 -d:NET_3_5 -nowarn:1699 -nostdlib -lib:$(topdir)/class/lib/$(PROFILE) -lib:$(topdir)/class/lib/net_2_0 $(DEFAULT_REFERENCES) $(PLATFORM_DEBUG_FLAGS)
FRAMEWORK_VERSION = 3.5
XBUILD_VERSION = 3.5
TEST_HARNESS = $(topdir)/class/lib/net_2_0/nunit-console.exe
TEST_MONO_PATH = $(topdir)/class/lib/net_2_0
+1
View File
@@ -14,5 +14,6 @@ DEFAULT_REFERENCES = -r:mscorlib.dll
PROFILE_MCS_FLAGS = -d:NET_1_1 -d:NET_2_0 -d:NET_3_0 -d:NET_3_5 -d:NET_4_0 -nowarn:1699 -nostdlib -lib:$(topdir)/class/lib/$(PROFILE) $(DEFAULT_REFERENCES)
FRAMEWORK_VERSION = 4.0
XBUILD_VERSION = 4.0
LIBRARY_INSTALL_DIR = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)
+1
View File
@@ -14,3 +14,4 @@ DEFAULT_REFERENCES = -r:mscorlib.dll
PROFILE_MCS_FLAGS = -d:NET_1_1 -d:NET_2_0 -d:NET_3_0 -d:NET_3_5 -d:NET_4_0 -d:NET_4_5 -nowarn:1699 -nostdlib -lib:$(topdir)/class/lib/$(PROFILE) $(DEFAULT_REFERENCES) $(PLATFORM_DEBUG_FLAGS)
FRAMEWORK_VERSION = 4.5
XBUILD_VERSION = 4.0
+32
View File
@@ -0,0 +1,32 @@
BOOTSTRAP_PROFILE = build
BOOTSTRAP_MCS = MONO_PATH="$(topdir)/class/lib/$(BOOTSTRAP_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(INTERNAL_GMCS)
MCS = MONO_PATH="$(topdir)/class/lib/$(BOOTSTRAP_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(INTERNAL_GMCS)
# Use system resgen as we don't want local System.Windows.Forms dependency
RESGEN = resgen2
profile-check:
@:
DEFAULT_REFERENCES = -r:mscorlib.dll
PROFILE_MCS_FLAGS = \
-d:NET_1_1 \
-d:NET_2_0 \
-d:NET_2_1 \
-d:NET_3_5 \
-d:NET_4_0 \
-d:NET_4_5 \
-d:MOBILE \
-d:MOBILE_DYNAMIC \
-d:XAMMAC \
-nowarn:1699 \
-nostdlib \
-lib:$(topdir)/class/lib/$(PROFILE) \
$(DEFAULT_REFERENCES) \
$(PLATFORM_DEBUG_FLAGS)
FRAMEWORK_VERSION = 2.1
NO_TEST = yes
NO_INSTALL = yes
+7
View File
@@ -0,0 +1,7 @@
# -*- makefile -*-
include $(topdir)/build/profiles/net_4_5.make
PROFILE_MCS_FLAGS := $(PROFILE_MCS_FLAGS) -d:XBUILD_12 -lib:$(topdir)/class/lib/net_4_5
XBUILD_VERSION = 12.0
@@ -5,10 +5,10 @@
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{6088F0A1-9658-4B71-86DB-8685B9279154}</ProjectGuid>
<ProjectGuid>{43A23ADA-35D9-4A48-BCE5-C21C081C6676}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699</NoWarn>
<OutputPath>bin\Debug\Accessibility-net_2_0</OutputPath>
<OutputPath>./../../class/lib/net_2_0</OutputPath>
<NoStdLib>True</NoStdLib>
<NoConfig>True</NoConfig>
@@ -59,17 +59,21 @@
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent>
xcopy $(TargetName).* $(ProjectDir)..\lib\net_2_0\ /Y /R /D
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\corlib\corlib-net_2_0.csproj">
<Project>{EB7444A6-C3E6-4224-BDB0-63CA3B4F2B87}</Project>
<Project>{5A00133C-6D08-48F7-A164-8B796CE6DB83}</Project>
<Name>corlib\corlib-net_2_0</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
</Project>
</Project>
@@ -5,10 +5,10 @@
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{3C0E9135-1458-47F6-9076-17FFB1E3E32F}</ProjectGuid>
<ProjectGuid>{0978E130-1E7B-4627-A9CC-7489DB17BFF1}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699</NoWarn>
<OutputPath>bin\Debug\Accessibility-net_4_0</OutputPath>
<OutputPath>./../../class/lib/net_4_0</OutputPath>
<NoStdLib>True</NoStdLib>
<NoConfig>True</NoConfig>
@@ -59,17 +59,21 @@
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent>
xcopy $(TargetName).* $(ProjectDir)..\lib\net_4_0\ /Y /R /D
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\corlib\corlib-net_4_0.csproj">
<Project>{3874F10B-9AE4-4A7E-873B-42FFDCE80CB7}</Project>
<Project>{F42F5509-677F-4C93-A026-047AB6153801}</Project>
<Name>corlib\corlib-net_4_0</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
</Project>
</Project>
@@ -5,10 +5,10 @@
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{121E7DB9-FC04-46DF-8CF1-18B5A3FEE1B5}</ProjectGuid>
<ProjectGuid>{FACE8136-C95A-4788-90B2-DB0ECF7A020A}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699</NoWarn>
<OutputPath>bin\Debug\Accessibility-net_4_5</OutputPath>
<OutputPath>./../../class/lib/net_4_5</OutputPath>
<NoStdLib>True</NoStdLib>
<NoConfig>True</NoConfig>
@@ -59,17 +59,21 @@
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent>
xcopy $(TargetName).* $(ProjectDir)..\lib\net_4_5\ /Y /R /D
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{07C1F58B-9E99-47F8-A847-79EDA5157DA8}</Project>
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
</Project>
</Project>
@@ -5,10 +5,10 @@
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{543FE97D-6C85-42C7-9C19-A4106C878F73}</ProjectGuid>
<ProjectGuid>{2B2412A6-4397-4DA7-94A6-D1AFEBCFA563}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699</NoWarn>
<OutputPath>bin\Debug\Commons.Xml.Relaxng-net_2_0</OutputPath>
<OutputPath>./../../class/lib/net_2_0</OutputPath>
<NoStdLib>True</NoStdLib>
<NoConfig>True</NoConfig>
@@ -95,21 +95,24 @@
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent>
xcopy $(TargetName).* $(ProjectDir)..\lib\net_2_0\ /Y /R /D
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\corlib\corlib-net_2_0.csproj">
<Project>{EB7444A6-C3E6-4224-BDB0-63CA3B4F2B87}</Project>
<Project>{5A00133C-6D08-48F7-A164-8B796CE6DB83}</Project>
<Name>corlib\corlib-net_2_0</Name>
</ProjectReference>
<ProjectReference Include="..\System\System-net_2_0-2.csproj">
<Project>{79F25FD7-0D76-4526-AF39-1A648649A827}</Project>
<Project>{1F3B168C-A4D0-44AA-B116-792D8804971F}</Project>
<Name>System\System-net_2_0-2</Name>
</ProjectReference>
<ProjectReference Include="..\System.XML\System.Xml-net_2_0-1.csproj">
<Project>{D9776E38-7673-45F6-BF19-7B77830DF9CA}</Project>
<Project>{080698DE-8AF0-496E-9AD7-58B6C605328A}</Project>
<Name>System.XML\System.Xml-net_2_0-1</Name>
</ProjectReference>
</ItemGroup>
@@ -121,4 +124,5 @@
<LogicalName>relaxng.rng</LogicalName>
</EmbeddedResource>
</ItemGroup>
</Project>
</Project>
@@ -5,10 +5,10 @@
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{2F70B549-EA84-4C1D-93C0-05CEA551DDFF}</ProjectGuid>
<ProjectGuid>{4381A633-26BF-430E-B03B-A83DC8146BF9}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699</NoWarn>
<OutputPath>bin\Debug\Commons.Xml.Relaxng-net_4_0</OutputPath>
<OutputPath>./../../class/lib/net_4_0</OutputPath>
<NoStdLib>True</NoStdLib>
<NoConfig>True</NoConfig>
@@ -95,21 +95,24 @@
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent>
xcopy $(TargetName).* $(ProjectDir)..\lib\net_4_0\ /Y /R /D
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\corlib\corlib-net_4_0.csproj">
<Project>{3874F10B-9AE4-4A7E-873B-42FFDCE80CB7}</Project>
<Project>{F42F5509-677F-4C93-A026-047AB6153801}</Project>
<Name>corlib\corlib-net_4_0</Name>
</ProjectReference>
<ProjectReference Include="..\System\System-net_4_0-2.csproj">
<Project>{8260E24F-1471-4320-AB5B-7CC7B68521E3}</Project>
<Project>{3391D58D-26E9-48D2-9A76-4BC1A2F06BE9}</Project>
<Name>System\System-net_4_0-2</Name>
</ProjectReference>
<ProjectReference Include="..\System.XML\System.Xml-net_4_0-1.csproj">
<Project>{51720A26-B4D9-4B84-8CB5-9CBA57477FBB}</Project>
<Project>{3FFA80F7-ACB9-480C-828F-7C9BA7A17EE3}</Project>
<Name>System.XML\System.Xml-net_4_0-1</Name>
</ProjectReference>
</ItemGroup>
@@ -121,4 +124,5 @@
<LogicalName>relaxng.rng</LogicalName>
</EmbeddedResource>
</ItemGroup>
</Project>
</Project>
@@ -5,10 +5,10 @@
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{0C6297C3-66BE-4FD1-B9B0-057950B32E94}</ProjectGuid>
<ProjectGuid>{4399F601-CF0A-4D5B-9FCB-2EFB8A5D982E}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699</NoWarn>
<OutputPath>bin\Debug\Commons.Xml.Relaxng-net_4_5</OutputPath>
<OutputPath>./../../class/lib/net_4_5</OutputPath>
<NoStdLib>True</NoStdLib>
<NoConfig>True</NoConfig>
@@ -95,21 +95,24 @@
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent>
xcopy $(TargetName).* $(ProjectDir)..\lib\net_4_5\ /Y /R /D
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{07C1F58B-9E99-47F8-A847-79EDA5157DA8}</Project>
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\System\System-net_4_5-2.csproj">
<Project>{38FCD731-0E11-46F7-A31B-DCBE853AD8D7}</Project>
<Project>{5C605B73-19DA-4FB7-AB39-C7EF9A8B19FE}</Project>
<Name>System\System-net_4_5-2</Name>
</ProjectReference>
<ProjectReference Include="..\System.XML\System.Xml-net_4_5-1.csproj">
<Project>{4ED6CCE8-8E8A-4D82-8BCA-3EA4D4203AA4}</Project>
<Project>{2534ADE0-05E4-490F-933D-1E39310A0CB9}</Project>
<Name>System.XML\System.Xml-net_4_5-1</Name>
</ProjectReference>
</ItemGroup>
@@ -121,4 +124,5 @@
<LogicalName>relaxng.rng</LogicalName>
</EmbeddedResource>
</ItemGroup>
</Project>
</Project>
@@ -5,7 +5,7 @@
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{09A994B6-D73D-4BB1-B0EE-3AB1DFFF2DA1}</ProjectGuid>
<ProjectGuid>{0CCD9F77-53C4-4E1A-92C5-0A237C034C00}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699,618,219,169</NoWarn>
<OutputPath>bin\Debug\Commons.Xml.Relaxng-tests-net_2_0</OutputPath>
@@ -63,26 +63,29 @@
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent>
xcopy $(TargetName).* $(ProjectDir)..\lib\net_2_0\ /Y /R /D
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
<Reference Include="..\lib\net_2_0\nunit.framework.dll" />
<ProjectReference Include="..\corlib\corlib-net_2_0.csproj">
<Project>{EB7444A6-C3E6-4224-BDB0-63CA3B4F2B87}</Project>
<Project>{5A00133C-6D08-48F7-A164-8B796CE6DB83}</Project>
<Name>corlib\corlib-net_2_0</Name>
</ProjectReference>
<ProjectReference Include="..\Commons.Xml.Relaxng\Commons.Xml.Relaxng-net_2_0.csproj">
<Project>{543FE97D-6C85-42C7-9C19-A4106C878F73}</Project>
<Project>{2B2412A6-4397-4DA7-94A6-D1AFEBCFA563}</Project>
<Name>Commons.Xml.Relaxng\Commons.Xml.Relaxng-net_2_0</Name>
</ProjectReference>
<ProjectReference Include="..\System\System-net_2_0-2.csproj">
<Project>{79F25FD7-0D76-4526-AF39-1A648649A827}</Project>
<Project>{1F3B168C-A4D0-44AA-B116-792D8804971F}</Project>
<Name>System\System-net_2_0-2</Name>
</ProjectReference>
<ProjectReference Include="..\System.XML\System.Xml-net_2_0-1.csproj">
<Project>{D9776E38-7673-45F6-BF19-7B77830DF9CA}</Project>
<Project>{080698DE-8AF0-496E-9AD7-58B6C605328A}</Project>
<Name>System.XML\System.Xml-net_2_0-1</Name>
</ProjectReference>
</ItemGroup>
@@ -94,4 +97,5 @@
<LogicalName>relaxng.rng</LogicalName>
</EmbeddedResource>
</ItemGroup>
</Project>
</Project>
@@ -5,7 +5,7 @@
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{07D36D76-142D-4C8D-80CD-CA073A31E1DE}</ProjectGuid>
<ProjectGuid>{75496501-CA6D-4C97-952E-95DC6F77C523}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699,618,219,169</NoWarn>
<OutputPath>bin\Debug\Commons.Xml.Relaxng-tests-net_4_0</OutputPath>
@@ -63,26 +63,29 @@
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent>
xcopy $(TargetName).* $(ProjectDir)..\lib\net_4_0\ /Y /R /D
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
<Reference Include="..\lib\net_4_0\nunit.framework.dll" />
<ProjectReference Include="..\corlib\corlib-net_4_0.csproj">
<Project>{3874F10B-9AE4-4A7E-873B-42FFDCE80CB7}</Project>
<Project>{F42F5509-677F-4C93-A026-047AB6153801}</Project>
<Name>corlib\corlib-net_4_0</Name>
</ProjectReference>
<ProjectReference Include="..\Commons.Xml.Relaxng\Commons.Xml.Relaxng-net_4_0.csproj">
<Project>{2F70B549-EA84-4C1D-93C0-05CEA551DDFF}</Project>
<Project>{4381A633-26BF-430E-B03B-A83DC8146BF9}</Project>
<Name>Commons.Xml.Relaxng\Commons.Xml.Relaxng-net_4_0</Name>
</ProjectReference>
<ProjectReference Include="..\System\System-net_4_0-2.csproj">
<Project>{8260E24F-1471-4320-AB5B-7CC7B68521E3}</Project>
<Project>{3391D58D-26E9-48D2-9A76-4BC1A2F06BE9}</Project>
<Name>System\System-net_4_0-2</Name>
</ProjectReference>
<ProjectReference Include="..\System.XML\System.Xml-net_4_0-1.csproj">
<Project>{51720A26-B4D9-4B84-8CB5-9CBA57477FBB}</Project>
<Project>{3FFA80F7-ACB9-480C-828F-7C9BA7A17EE3}</Project>
<Name>System.XML\System.Xml-net_4_0-1</Name>
</ProjectReference>
</ItemGroup>
@@ -94,4 +97,5 @@
<LogicalName>relaxng.rng</LogicalName>
</EmbeddedResource>
</ItemGroup>
</Project>
</Project>
@@ -5,7 +5,7 @@
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{7694FE57-6BB7-478E-BB4E-C5187167804F}</ProjectGuid>
<ProjectGuid>{8017F2F8-5276-411F-A2C8-581BA6C9ED17}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699,618,219,169</NoWarn>
<OutputPath>bin\Debug\Commons.Xml.Relaxng-tests-net_4_5</OutputPath>
@@ -63,26 +63,29 @@
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent>
xcopy $(TargetName).* $(ProjectDir)..\lib\net_4_5\ /Y /R /D
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
<Reference Include="..\lib\net_4_5\nunit.framework.dll" />
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{07C1F58B-9E99-47F8-A847-79EDA5157DA8}</Project>
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\Commons.Xml.Relaxng\Commons.Xml.Relaxng-net_4_5.csproj">
<Project>{0C6297C3-66BE-4FD1-B9B0-057950B32E94}</Project>
<Project>{4399F601-CF0A-4D5B-9FCB-2EFB8A5D982E}</Project>
<Name>Commons.Xml.Relaxng\Commons.Xml.Relaxng-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\System\System-net_4_5-2.csproj">
<Project>{38FCD731-0E11-46F7-A31B-DCBE853AD8D7}</Project>
<Project>{5C605B73-19DA-4FB7-AB39-C7EF9A8B19FE}</Project>
<Name>System\System-net_4_5-2</Name>
</ProjectReference>
<ProjectReference Include="..\System.XML\System.Xml-net_4_5-1.csproj">
<Project>{4ED6CCE8-8E8A-4D82-8BCA-3EA4D4203AA4}</Project>
<Project>{2534ADE0-05E4-490F-933D-1E39310A0CB9}</Project>
<Name>System.XML\System.Xml-net_4_5-1</Name>
</ProjectReference>
</ItemGroup>
@@ -94,4 +97,5 @@
<LogicalName>relaxng.rng</LogicalName>
</EmbeddedResource>
</ItemGroup>
</Project>
</Project>
@@ -5,10 +5,10 @@
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{A98EAB08-7C3E-40CE-898E-3DF9A0939DB5}</ProjectGuid>
<ProjectGuid>{8F572B12-CBD2-48F8-8234-41A876C57364}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699</NoWarn>
<OutputPath>bin\Debug\Compat.ICSharpCode.SharpZipLib-net_2_0</OutputPath>
<OutputPath>./../../class/compat/net_2_0</OutputPath>
<NoStdLib>True</NoStdLib>
<NoConfig>True</NoConfig>
@@ -93,25 +93,29 @@
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent>
xcopy $(TargetName).* $(ProjectDir)..\lib\net_2_0\ /Y /R /D
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\corlib\corlib-net_2_0.csproj">
<Project>{EB7444A6-C3E6-4224-BDB0-63CA3B4F2B87}</Project>
<Project>{5A00133C-6D08-48F7-A164-8B796CE6DB83}</Project>
<Name>corlib\corlib-net_2_0</Name>
</ProjectReference>
<ProjectReference Include="..\System\System-net_2_0-2.csproj">
<Project>{79F25FD7-0D76-4526-AF39-1A648649A827}</Project>
<Project>{1F3B168C-A4D0-44AA-B116-792D8804971F}</Project>
<Name>System\System-net_2_0-2</Name>
</ProjectReference>
<ProjectReference Include="..\System.XML\System.Xml-net_2_0-1.csproj">
<Project>{D9776E38-7673-45F6-BF19-7B77830DF9CA}</Project>
<Project>{080698DE-8AF0-496E-9AD7-58B6C605328A}</Project>
<Name>System.XML\System.Xml-net_2_0-1</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
</Project>
</Project>
+12 -8
View File
@@ -5,10 +5,10 @@
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{9E7D403F-232E-4126-ADF8-0897129C037F}</ProjectGuid>
<ProjectGuid>{C010783F-1EAC-480C-B1D4-A289426D3F8F}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699</NoWarn>
<OutputPath>bin\Debug\Cscompmgd-net_2_0</OutputPath>
<OutputPath>./../../class/lib/net_2_0</OutputPath>
<NoStdLib>True</NoStdLib>
<NoConfig>True</NoConfig>
@@ -62,21 +62,25 @@
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent>
xcopy $(TargetName).* $(ProjectDir)..\lib\net_2_0\ /Y /R /D
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\corlib\corlib-net_2_0.csproj">
<Project>{EB7444A6-C3E6-4224-BDB0-63CA3B4F2B87}</Project>
<Project>{5A00133C-6D08-48F7-A164-8B796CE6DB83}</Project>
<Name>corlib\corlib-net_2_0</Name>
</ProjectReference>
<ProjectReference Include="..\System\System-net_2_0-2.csproj">
<Project>{79F25FD7-0D76-4526-AF39-1A648649A827}</Project>
<Project>{1F3B168C-A4D0-44AA-B116-792D8804971F}</Project>
<Name>System\System-net_2_0-2</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
</Project>
</Project>
+12 -8
View File
@@ -5,10 +5,10 @@
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{DCF7BFCB-23B0-41F0-94A3-0AEFA87EC799}</ProjectGuid>
<ProjectGuid>{B26893EC-D295-40B7-8AE6-60B3D0F5CBA6}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699</NoWarn>
<OutputPath>bin\Debug\Cscompmgd-net_4_0</OutputPath>
<OutputPath>./../../class/lib/net_4_0</OutputPath>
<NoStdLib>True</NoStdLib>
<NoConfig>True</NoConfig>
@@ -62,21 +62,25 @@
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent>
xcopy $(TargetName).* $(ProjectDir)..\lib\net_4_0\ /Y /R /D
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\corlib\corlib-net_4_0.csproj">
<Project>{3874F10B-9AE4-4A7E-873B-42FFDCE80CB7}</Project>
<Project>{F42F5509-677F-4C93-A026-047AB6153801}</Project>
<Name>corlib\corlib-net_4_0</Name>
</ProjectReference>
<ProjectReference Include="..\System\System-net_4_0-2.csproj">
<Project>{8260E24F-1471-4320-AB5B-7CC7B68521E3}</Project>
<Project>{3391D58D-26E9-48D2-9A76-4BC1A2F06BE9}</Project>
<Name>System\System-net_4_0-2</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
</Project>
</Project>
+12 -8
View File
@@ -5,10 +5,10 @@
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{C67F17EE-7E1C-4B87-B58B-11458749DD70}</ProjectGuid>
<ProjectGuid>{7CC1624B-EBC8-45E6-A30B-951A31ADC150}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699</NoWarn>
<OutputPath>bin\Debug\Cscompmgd-net_4_5</OutputPath>
<OutputPath>./../../class/lib/net_4_5</OutputPath>
<NoStdLib>True</NoStdLib>
<NoConfig>True</NoConfig>
@@ -62,21 +62,25 @@
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent>
xcopy $(TargetName).* $(ProjectDir)..\lib\net_4_5\ /Y /R /D
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{07C1F58B-9E99-47F8-A847-79EDA5157DA8}</Project>
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\System\System-net_4_5-2.csproj">
<Project>{38FCD731-0E11-46F7-A31B-DCBE853AD8D7}</Project>
<Project>{5C605B73-19DA-4FB7-AB39-C7EF9A8B19FE}</Project>
<Name>System\System-net_4_5-2</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
</Project>
</Project>
@@ -5,7 +5,7 @@
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{09C1F680-F5E0-421A-9040-D98664AF9895}</ProjectGuid>
<ProjectGuid>{B3E7EE0C-3AB6-4578-844E-FF72C5807953}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699,618,219,169</NoWarn>
<OutputPath>bin\Debug\Cscompmgd-tests-net_2_0</OutputPath>
@@ -56,26 +56,30 @@
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent>
xcopy $(TargetName).* $(ProjectDir)..\lib\net_2_0\ /Y /R /D
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
<Reference Include="..\lib\net_2_0\nunit.framework.dll" />
<ProjectReference Include="..\corlib\corlib-net_2_0.csproj">
<Project>{EB7444A6-C3E6-4224-BDB0-63CA3B4F2B87}</Project>
<Project>{5A00133C-6D08-48F7-A164-8B796CE6DB83}</Project>
<Name>corlib\corlib-net_2_0</Name>
</ProjectReference>
<ProjectReference Include="..\Cscompmgd\Cscompmgd-net_2_0.csproj">
<Project>{9E7D403F-232E-4126-ADF8-0897129C037F}</Project>
<Project>{C010783F-1EAC-480C-B1D4-A289426D3F8F}</Project>
<Name>Cscompmgd\Cscompmgd-net_2_0</Name>
</ProjectReference>
<ProjectReference Include="..\System\System-net_2_0-2.csproj">
<Project>{79F25FD7-0D76-4526-AF39-1A648649A827}</Project>
<Project>{1F3B168C-A4D0-44AA-B116-792D8804971F}</Project>
<Name>System\System-net_2_0-2</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
</Project>
</Project>
@@ -5,7 +5,7 @@
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{7E92EB42-C1FD-4AE4-AE19-FA7F534FFCA1}</ProjectGuid>
<ProjectGuid>{0CD2EF3C-6E4A-4FC5-9D8C-B0CB5E4EE3BF}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699,618,219,169</NoWarn>
<OutputPath>bin\Debug\Cscompmgd-tests-net_4_0</OutputPath>
@@ -56,26 +56,30 @@
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent>
xcopy $(TargetName).* $(ProjectDir)..\lib\net_4_0\ /Y /R /D
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
<Reference Include="..\lib\net_4_0\nunit.framework.dll" />
<ProjectReference Include="..\corlib\corlib-net_4_0.csproj">
<Project>{3874F10B-9AE4-4A7E-873B-42FFDCE80CB7}</Project>
<Project>{F42F5509-677F-4C93-A026-047AB6153801}</Project>
<Name>corlib\corlib-net_4_0</Name>
</ProjectReference>
<ProjectReference Include="..\Cscompmgd\Cscompmgd-net_4_0.csproj">
<Project>{DCF7BFCB-23B0-41F0-94A3-0AEFA87EC799}</Project>
<Project>{B26893EC-D295-40B7-8AE6-60B3D0F5CBA6}</Project>
<Name>Cscompmgd\Cscompmgd-net_4_0</Name>
</ProjectReference>
<ProjectReference Include="..\System\System-net_4_0-2.csproj">
<Project>{8260E24F-1471-4320-AB5B-7CC7B68521E3}</Project>
<Project>{3391D58D-26E9-48D2-9A76-4BC1A2F06BE9}</Project>
<Name>System\System-net_4_0-2</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
</Project>
</Project>
@@ -5,7 +5,7 @@
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{C7D8B744-96E6-42A0-82C0-C191C686D485}</ProjectGuid>
<ProjectGuid>{843703E1-7EE5-4D68-85CD-FBDA426C30F1}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699,618,219,169</NoWarn>
<OutputPath>bin\Debug\Cscompmgd-tests-net_4_5</OutputPath>
@@ -56,26 +56,30 @@
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent>
xcopy $(TargetName).* $(ProjectDir)..\lib\net_4_5\ /Y /R /D
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
<Reference Include="..\lib\net_4_5\nunit.framework.dll" />
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{07C1F58B-9E99-47F8-A847-79EDA5157DA8}</Project>
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\Cscompmgd\Cscompmgd-net_4_5.csproj">
<Project>{C67F17EE-7E1C-4B87-B58B-11458749DD70}</Project>
<Project>{7CC1624B-EBC8-45E6-A30B-951A31ADC150}</Project>
<Name>Cscompmgd\Cscompmgd-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\System\System-net_4_5-2.csproj">
<Project>{38FCD731-0E11-46F7-A31B-DCBE853AD8D7}</Project>
<Project>{5C605B73-19DA-4FB7-AB39-C7EF9A8B19FE}</Project>
<Name>System\System-net_4_5-2</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
</Project>
</Project>
@@ -5,10 +5,10 @@
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{E580684B-ECFC-41D9-9AC7-FDDD0FDBD399}</ProjectGuid>
<ProjectGuid>{81062FC0-B86A-4707-9BC3-F67FDFB47AF4}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699</NoWarn>
<OutputPath>bin\Debug\CustomMarshalers-net_2_0</OutputPath>
<OutputPath>./../../class/lib/net_2_0</OutputPath>
<NoStdLib>True</NoStdLib>
<NoConfig>True</NoConfig>
@@ -63,21 +63,25 @@
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent>
xcopy $(TargetName).* $(ProjectDir)..\lib\net_2_0\ /Y /R /D
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\corlib\corlib-net_2_0.csproj">
<Project>{EB7444A6-C3E6-4224-BDB0-63CA3B4F2B87}</Project>
<Project>{5A00133C-6D08-48F7-A164-8B796CE6DB83}</Project>
<Name>corlib\corlib-net_2_0</Name>
</ProjectReference>
<ProjectReference Include="..\System\System-net_2_0-2.csproj">
<Project>{79F25FD7-0D76-4526-AF39-1A648649A827}</Project>
<Project>{1F3B168C-A4D0-44AA-B116-792D8804971F}</Project>
<Name>System\System-net_2_0-2</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
</Project>
</Project>
@@ -5,10 +5,10 @@
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{974FC570-0B07-4912-A06A-99DF7B82DCF7}</ProjectGuid>
<ProjectGuid>{73865D3C-DCFC-4C7A-8AB5-D8C3CA6DBB42}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699</NoWarn>
<OutputPath>bin\Debug\CustomMarshalers-net_4_0</OutputPath>
<OutputPath>./../../class/lib/net_4_0</OutputPath>
<NoStdLib>True</NoStdLib>
<NoConfig>True</NoConfig>
@@ -63,21 +63,25 @@
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent>
xcopy $(TargetName).* $(ProjectDir)..\lib\net_4_0\ /Y /R /D
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\corlib\corlib-net_4_0.csproj">
<Project>{3874F10B-9AE4-4A7E-873B-42FFDCE80CB7}</Project>
<Project>{F42F5509-677F-4C93-A026-047AB6153801}</Project>
<Name>corlib\corlib-net_4_0</Name>
</ProjectReference>
<ProjectReference Include="..\System\System-net_4_0-2.csproj">
<Project>{8260E24F-1471-4320-AB5B-7CC7B68521E3}</Project>
<Project>{3391D58D-26E9-48D2-9A76-4BC1A2F06BE9}</Project>
<Name>System\System-net_4_0-2</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
</Project>
</Project>
@@ -5,10 +5,10 @@
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{417E7FEB-E054-44F0-81FF-A896F4018DC7}</ProjectGuid>
<ProjectGuid>{E957A4A5-677B-44C9-93A7-C11CE514C07B}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699</NoWarn>
<OutputPath>bin\Debug\CustomMarshalers-net_4_5</OutputPath>
<OutputPath>./../../class/lib/net_4_5</OutputPath>
<NoStdLib>True</NoStdLib>
<NoConfig>True</NoConfig>
@@ -63,21 +63,25 @@
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent>
xcopy $(TargetName).* $(ProjectDir)..\lib\net_4_5\ /Y /R /D
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{07C1F58B-9E99-47F8-A847-79EDA5157DA8}</Project>
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\System\System-net_4_5-2.csproj">
<Project>{38FCD731-0E11-46F7-A31B-DCBE853AD8D7}</Project>
<Project>{5C605B73-19DA-4FB7-AB39-C7EF9A8B19FE}</Project>
<Name>System\System-net_4_5-2</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
</Project>
</Project>
@@ -5,10 +5,10 @@
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{2D2DDD2D-5AE7-458B-B626-4475D671A7F9}</ProjectGuid>
<ProjectGuid>{D1081004-B9C0-4982-BA68-EB5999440ACD}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699</NoWarn>
<OutputPath>bin\Debug\EntityFramework.SqlServer-net_4_5</OutputPath>
<OutputPath>./../../class/lib/net_4_5</OutputPath>
<NoStdLib>True</NoStdLib>
<NoConfig>True</NoConfig>
@@ -110,33 +110,36 @@
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent>
xcopy $(TargetName).* $(ProjectDir)..\lib\net_4_5\ /Y /R /D
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{07C1F58B-9E99-47F8-A847-79EDA5157DA8}</Project>
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\System\System-net_4_5-2.csproj">
<Project>{38FCD731-0E11-46F7-A31B-DCBE853AD8D7}</Project>
<Project>{5C605B73-19DA-4FB7-AB39-C7EF9A8B19FE}</Project>
<Name>System\System-net_4_5-2</Name>
</ProjectReference>
<ProjectReference Include="..\System.XML\System.Xml-net_4_5-1.csproj">
<Project>{4ED6CCE8-8E8A-4D82-8BCA-3EA4D4203AA4}</Project>
<Project>{2534ADE0-05E4-490F-933D-1E39310A0CB9}</Project>
<Name>System.XML\System.Xml-net_4_5-1</Name>
</ProjectReference>
<ProjectReference Include="..\System.Core\System.Core-net_4_5.csproj">
<Project>{D8260595-C32F-4AC3-9C01-2CD2528CFA1D}</Project>
<Project>{D92530F4-3F2B-4351-BD21-9D6BEE6D2A4E}</Project>
<Name>System.Core\System.Core-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\EntityFramework\EntityFramework-net_4_5.csproj">
<Project>{7AC4183B-FA37-45D9-9069-47336EB37D0A}</Project>
<Project>{CEE31F03-087E-4164-BBD4-990759B40C3E}</Project>
<Name>EntityFramework\EntityFramework-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\System.Data\System.Data-net_4_5.csproj">
<Project>{663D8C81-B74E-4D44-8C59-2264C6942B30}</Project>
<Project>{9A33954F-57A8-4D75-B1D8-0F81808A0DD4}</Project>
<Name>System.Data\System.Data-net_4_5</Name>
</ProjectReference>
</ItemGroup>
@@ -169,4 +172,5 @@
<LogicalName>System.Data.Resources.SqlClient.SqlProviderServices.StoreSchemaMappingVersion3.msl</LogicalName>
</EmbeddedResource>
</ItemGroup>
</Project>
</Project>
@@ -5,10 +5,10 @@
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{7AC4183B-FA37-45D9-9069-47336EB37D0A}</ProjectGuid>
<ProjectGuid>{CEE31F03-087E-4164-BBD4-990759B40C3E}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699</NoWarn>
<OutputPath>bin\Debug\EntityFramework-net_4_5</OutputPath>
<OutputPath>./../../class/lib/net_4_5</OutputPath>
<NoStdLib>True</NoStdLib>
<NoConfig>True</NoConfig>
@@ -1634,53 +1634,56 @@
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent>
xcopy $(TargetName).* $(ProjectDir)..\lib\net_4_5\ /Y /R /D
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{07C1F58B-9E99-47F8-A847-79EDA5157DA8}</Project>
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\System.Data\System.Data-net_4_5.csproj">
<Project>{663D8C81-B74E-4D44-8C59-2264C6942B30}</Project>
<Project>{9A33954F-57A8-4D75-B1D8-0F81808A0DD4}</Project>
<Name>System.Data\System.Data-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\System.Transactions\System.Transactions-net_4_5.csproj">
<Project>{9C3F8EFB-4A3A-4BD1-9072-881F1F558781}</Project>
<Project>{AF2BBF50-AB57-4CA1-8EF5-2B54C7418434}</Project>
<Name>System.Transactions\System.Transactions-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\System.Xml.Linq\System.Xml.Linq-net_4_5.csproj">
<Project>{A581C8A4-F031-43BA-A744-042ECD6EA6FE}</Project>
<Project>{8328796E-8A15-4972-8F1E-2F15E7D57C42}</Project>
<Name>System.Xml.Linq\System.Xml.Linq-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\System.Configuration\System.Configuration-net_4_5.csproj">
<Project>{CA2CD67B-1308-460D-BDBA-498F63DEAA31}</Project>
<Project>{D52A2CEA-245E-4877-950E-3EAC5F541B8E}</Project>
<Name>System.Configuration\System.Configuration-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\System.ComponentModel.DataAnnotations\System.ComponentModel.DataAnnotations-net_4_5.csproj">
<Project>{64E625C0-AA4E-44DC-98F4-352D552F2EF8}</Project>
<Project>{63EC4158-FFAC-4867-8003-CF6054C8DF0B}</Project>
<Name>System.ComponentModel.DataAnnotations\System.ComponentModel.DataAnnotations-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\System.Runtime.Serialization\System.Runtime.Serialization-net_4_5.csproj">
<Project>{E90544E8-C031-49EE-BB6F-8688382E8618}</Project>
<Project>{08FF4C26-9C12-433D-AE90-43370046387A}</Project>
<Name>System.Runtime.Serialization\System.Runtime.Serialization-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\System\System-net_4_5-2.csproj">
<Project>{38FCD731-0E11-46F7-A31B-DCBE853AD8D7}</Project>
<Project>{5C605B73-19DA-4FB7-AB39-C7EF9A8B19FE}</Project>
<Name>System\System-net_4_5-2</Name>
</ProjectReference>
<ProjectReference Include="..\System.XML\System.Xml-net_4_5-1.csproj">
<Project>{4ED6CCE8-8E8A-4D82-8BCA-3EA4D4203AA4}</Project>
<Project>{2534ADE0-05E4-490F-933D-1E39310A0CB9}</Project>
<Name>System.XML\System.Xml-net_4_5-1</Name>
</ProjectReference>
<ProjectReference Include="..\System.Core\System.Core-net_4_5.csproj">
<Project>{D8260595-C32F-4AC3-9C01-2CD2528CFA1D}</Project>
<Project>{D92530F4-3F2B-4351-BD21-9D6BEE6D2A4E}</Project>
<Name>System.Core\System.Core-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\Microsoft.CSharp\Microsoft.CSharp-net_4_5.csproj">
<Project>{AC2AB4A1-8005-4458-8B2B-614DA9BBC644}</Project>
<Project>{D554618C-5D38-413A-82BA-7A70B6FC61A3}</Project>
<Name>Microsoft.CSharp\Microsoft.CSharp-net_4_5</Name>
</ProjectReference>
</ItemGroup>
@@ -1746,4 +1749,5 @@
<LogicalName>System.Data.Resources.CSMSL_3.xsd</LogicalName>
</EmbeddedResource>
</ItemGroup>
</Project>
</Project>
+18 -2
View File
@@ -2,12 +2,23 @@ MCS_BUILD_DIR = ../../build
thisdir = class/Facades
monotouch_SUBDIRS = System.Collections.Concurrent System.Collections System.ComponentModel.Annotations System.ComponentModel.EventBasedAsync System.ComponentModel System.Diagnostics.Contracts System.Diagnostics.Debug System.Diagnostics.Tools System.Globalization System.IO System.Linq.Expressions System.Linq.Parallel System.Linq.Queryable System.Linq System.Net.NetworkInformation System.Net.Primitives System.Net.Requests System.ObjectModel System.Reflection.Extensions System.Reflection.Primitives System.Reflection System.Resources.ResourceManager System.Runtime.Extensions System.Runtime.InteropServices System.Runtime.Numerics System.Runtime.Serialization.Json System.Runtime.Serialization.Primitives System.Runtime.Serialization.Xml System.Runtime System.Security.Principal System.ServiceModel.Http System.ServiceModel.Primitives System.Text.Encoding.Extensions System.Text.Encoding System.Text.RegularExpressions System.Threading.Tasks.Parallel System.Threading.Tasks System.Threading System.Xml.ReaderWriter System.Xml.XDocument System.Xml.XmlSerializer
monotouch_SUBDIRS = System.Collections.Concurrent System.Collections System.ComponentModel.Annotations System.ComponentModel.EventBasedAsync System.ComponentModel \
System.Diagnostics.Contracts System.Diagnostics.Debug System.Diagnostics.Tracing System.Diagnostics.Tools System.Dynamic.Runtime System.Globalization System.IO System.Linq.Expressions \
System.Linq.Parallel System.Linq.Queryable System.Linq System.Net.NetworkInformation System.Net.Primitives System.Net.Requests System.ObjectModel \
System.Reflection.Extensions System.Reflection.Primitives System.Reflection System.Resources.ResourceManager System.Runtime.Extensions \
System.Runtime.InteropServices System.Runtime.InteropServices.WindowsRuntime System.Runtime.Numerics System.Runtime.Serialization.Json \
System.Runtime.Serialization.Primitives System.Runtime.Serialization.Xml System.Runtime System.Security.Principal System.ServiceModel.Http \
System.ServiceModel.Primitives System.Text.Encoding.Extensions System.Text.Encoding System.Text.RegularExpressions System.Threading.Tasks.Parallel \
System.Threading.Tasks System.Threading.Timer System.Threading System.Xml.ReaderWriter System.Xml.XDocument System.Xml.XmlSerializer
net_4_5_SUBDIRS = $(monotouch_SUBDIRS) System.Dynamic.Runtime System.Reflection.Emit.ILGeneration System.Reflection.Emit.Lightweight System.Reflection.Emit
mobile_static_SUBDIRS = $(monotouch_SUBDIRS)
net_4_5_SUBDIRS = $(monotouch_SUBDIRS) System.Reflection.Emit.ILGeneration System.Reflection.Emit.Lightweight System.Reflection.Emit
monodroid_SUBDIRS = $(net_4_5_SUBDIRS)
xammac_SUBDIRS = $(net_4_5_SUBDIRS)
SUBDIRS = $(net_4_5_SUBDIRS)
include $(MCS_BUILD_DIR)/rules.make
@@ -15,3 +26,8 @@ include $(MCS_BUILD_DIR)/rules.make
dist-local: dist-default
doc-update-local:
@echo "not doing docs"
doc-update-recursive:
@echo "do not recurse the Facades folder"
@@ -0,0 +1,85 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{675F041D-3D9F-4195-B713-8BD1CA16E16E}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699,1616,1699</NoWarn>
<OutputPath>./../../../class/lib/net_4_5/Facades</OutputPath>
<NoStdLib>True</NoStdLib>
<NoConfig>True</NoConfig>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>
</RootNamespace>
<AssemblyName>System.Collections.Concurrent</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<NoWarn>1699,1616,1699</NoWarn>
<Optimize>false</Optimize>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<NoWarn>1699,1616,1699</NoWarn>
<Optimize>true</Optimize>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<!-- Set AddAdditionalExplicitAssemblyReferences to false, otherwise if targetting .NET4.0,
Microsoft.NETFramework.props will force a dependency on the assembly System.Core. This
is a problem to compile the Mono mscorlib.dll -->
<PropertyGroup>
<AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
</PropertyGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<ItemGroup>
<Compile Include="AssemblyInfo.cs" />
<Compile Include="TypeForwarders.cs" />␍ </ItemGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
<PropertyGroup>
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\System\System-net_4_5-2.csproj">
<Project>{5C605B73-19DA-4FB7-AB39-C7EF9A8B19FE}</Project>
<Name>System\System-net_4_5-2</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
</Project>
@@ -0,0 +1,89 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{64CA4DB7-C8DA-49CC-A114-1C20038A0469}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699,1616,1699</NoWarn>
<OutputPath>./../../../class/lib/net_4_5/Facades</OutputPath>
<NoStdLib>True</NoStdLib>
<NoConfig>True</NoConfig>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>
</RootNamespace>
<AssemblyName>System.Collections</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<NoWarn>1699,1616,1699</NoWarn>
<Optimize>false</Optimize>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<NoWarn>1699,1616,1699</NoWarn>
<Optimize>true</Optimize>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<!-- Set AddAdditionalExplicitAssemblyReferences to false, otherwise if targetting .NET4.0,
Microsoft.NETFramework.props will force a dependency on the assembly System.Core. This
is a problem to compile the Mono mscorlib.dll -->
<PropertyGroup>
<AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
</PropertyGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<ItemGroup>
<Compile Include="AssemblyInfo.cs" />
<Compile Include="TypeForwarders.cs" />␍ </ItemGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
<PropertyGroup>
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\System\System-net_4_5-2.csproj">
<Project>{5C605B73-19DA-4FB7-AB39-C7EF9A8B19FE}</Project>
<Name>System\System-net_4_5-2</Name>
</ProjectReference>
<ProjectReference Include="..\System.Core\System.Core-net_4_5.csproj">
<Project>{D92530F4-3F2B-4351-BD21-9D6BEE6D2A4E}</Project>
<Name>System.Core\System.Core-net_4_5</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
</Project>
@@ -0,0 +1,85 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{7B94E990-3BC4-44B6-98FF-102A3459AF92}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699,1616,1699</NoWarn>
<OutputPath>./../../../class/lib/net_4_5/Facades</OutputPath>
<NoStdLib>True</NoStdLib>
<NoConfig>True</NoConfig>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>
</RootNamespace>
<AssemblyName>System.ComponentModel.Annotations</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<NoWarn>1699,1616,1699</NoWarn>
<Optimize>false</Optimize>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<NoWarn>1699,1616,1699</NoWarn>
<Optimize>true</Optimize>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<!-- Set AddAdditionalExplicitAssemblyReferences to false, otherwise if targetting .NET4.0,
Microsoft.NETFramework.props will force a dependency on the assembly System.Core. This
is a problem to compile the Mono mscorlib.dll -->
<PropertyGroup>
<AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
</PropertyGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<ItemGroup>
<Compile Include="AssemblyInfo.cs" />
<Compile Include="TypeForwarders.cs" />␍ </ItemGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
<PropertyGroup>
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\System.ComponentModel.DataAnnotations\System.ComponentModel.DataAnnotations-net_4_5.csproj">
<Project>{63EC4158-FFAC-4867-8003-CF6054C8DF0B}</Project>
<Name>System.ComponentModel.DataAnnotations\System.ComponentModel.DataAnnotations-net_4_5</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
</Project>
@@ -0,0 +1,85 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{F550AB44-48A5-47F1-8EBB-5BA1CAF3366E}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699,1616,1699</NoWarn>
<OutputPath>./../../../class/lib/net_4_5/Facades</OutputPath>
<NoStdLib>True</NoStdLib>
<NoConfig>True</NoConfig>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>
</RootNamespace>
<AssemblyName>System.ComponentModel.EventBasedAsync</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<NoWarn>1699,1616,1699</NoWarn>
<Optimize>false</Optimize>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<NoWarn>1699,1616,1699</NoWarn>
<Optimize>true</Optimize>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<!-- Set AddAdditionalExplicitAssemblyReferences to false, otherwise if targetting .NET4.0,
Microsoft.NETFramework.props will force a dependency on the assembly System.Core. This
is a problem to compile the Mono mscorlib.dll -->
<PropertyGroup>
<AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
</PropertyGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<ItemGroup>
<Compile Include="AssemblyInfo.cs" />
<Compile Include="TypeForwarders.cs" />␍ </ItemGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
<PropertyGroup>
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\System\System-net_4_5-2.csproj">
<Project>{5C605B73-19DA-4FB7-AB39-C7EF9A8B19FE}</Project>
<Name>System\System-net_4_5-2</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
</Project>
@@ -0,0 +1,85 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{A13F59CB-1F71-4ECE-82A1-9A3D6760E5D2}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699,1616,1699</NoWarn>
<OutputPath>./../../../class/lib/net_4_5/Facades</OutputPath>
<NoStdLib>True</NoStdLib>
<NoConfig>True</NoConfig>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>
</RootNamespace>
<AssemblyName>System.ComponentModel</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<NoWarn>1699,1616,1699</NoWarn>
<Optimize>false</Optimize>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<NoWarn>1699,1616,1699</NoWarn>
<Optimize>true</Optimize>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<!-- Set AddAdditionalExplicitAssemblyReferences to false, otherwise if targetting .NET4.0,
Microsoft.NETFramework.props will force a dependency on the assembly System.Core. This
is a problem to compile the Mono mscorlib.dll -->
<PropertyGroup>
<AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
</PropertyGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<ItemGroup>
<Compile Include="AssemblyInfo.cs" />
<Compile Include="TypeForwarders.cs" />␍ </ItemGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
<PropertyGroup>
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\System\System-net_4_5-2.csproj">
<Project>{5C605B73-19DA-4FB7-AB39-C7EF9A8B19FE}</Project>
<Name>System\System-net_4_5-2</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
</Project>
@@ -0,0 +1,81 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{BDCFB32D-9CCE-4A2F-ABBB-490C3D49BBE0}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699,1616,1699</NoWarn>
<OutputPath>./../../../class/lib/net_4_5/Facades</OutputPath>
<NoStdLib>True</NoStdLib>
<NoConfig>True</NoConfig>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>
</RootNamespace>
<AssemblyName>System.Diagnostics.Contracts</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<NoWarn>1699,1616,1699</NoWarn>
<Optimize>false</Optimize>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<NoWarn>1699,1616,1699</NoWarn>
<Optimize>true</Optimize>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<!-- Set AddAdditionalExplicitAssemblyReferences to false, otherwise if targetting .NET4.0,
Microsoft.NETFramework.props will force a dependency on the assembly System.Core. This
is a problem to compile the Mono mscorlib.dll -->
<PropertyGroup>
<AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
</PropertyGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<ItemGroup>
<Compile Include="AssemblyInfo.cs" />
<Compile Include="TypeForwarders.cs" />␍ </ItemGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
<PropertyGroup>
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
</Project>
@@ -0,0 +1,85 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{37D2FA30-09B8-4E38-982A-1890D7275F42}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699,1616,1699</NoWarn>
<OutputPath>./../../../class/lib/net_4_5/Facades</OutputPath>
<NoStdLib>True</NoStdLib>
<NoConfig>True</NoConfig>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>
</RootNamespace>
<AssemblyName>System.Diagnostics.Debug</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<NoWarn>1699,1616,1699</NoWarn>
<Optimize>false</Optimize>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<NoWarn>1699,1616,1699</NoWarn>
<Optimize>true</Optimize>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<!-- Set AddAdditionalExplicitAssemblyReferences to false, otherwise if targetting .NET4.0,
Microsoft.NETFramework.props will force a dependency on the assembly System.Core. This
is a problem to compile the Mono mscorlib.dll -->
<PropertyGroup>
<AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
</PropertyGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<ItemGroup>
<Compile Include="AssemblyInfo.cs" />
<Compile Include="TypeForwarders.cs" />␍ </ItemGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
<PropertyGroup>
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\System\System-net_4_5-2.csproj">
<Project>{5C605B73-19DA-4FB7-AB39-C7EF9A8B19FE}</Project>
<Name>System\System-net_4_5-2</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
</Project>
@@ -0,0 +1,85 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{3A324F98-B121-44F2-B1AD-6DC4D3D27A89}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699,1616,1699</NoWarn>
<OutputPath>./../../../class/lib/net_4_5/Facades</OutputPath>
<NoStdLib>True</NoStdLib>
<NoConfig>True</NoConfig>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>
</RootNamespace>
<AssemblyName>System.Diagnostics.Tools</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<NoWarn>1699,1616,1699</NoWarn>
<Optimize>false</Optimize>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<NoWarn>1699,1616,1699</NoWarn>
<Optimize>true</Optimize>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<!-- Set AddAdditionalExplicitAssemblyReferences to false, otherwise if targetting .NET4.0,
Microsoft.NETFramework.props will force a dependency on the assembly System.Core. This
is a problem to compile the Mono mscorlib.dll -->
<PropertyGroup>
<AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
</PropertyGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<ItemGroup>
<Compile Include="AssemblyInfo.cs" />
<Compile Include="TypeForwarders.cs" />␍ </ItemGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
<PropertyGroup>
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\System\System-net_4_5-2.csproj">
<Project>{5C605B73-19DA-4FB7-AB39-C7EF9A8B19FE}</Project>
<Name>System\System-net_4_5-2</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
</Project>
@@ -0,0 +1,41 @@
//
// Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
//
using System;
using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle ("System.Diagnostics.Tracing.dll")]
[assembly: AssemblyDescription ("System.Diagnostics.Tracing.dll")]
[assembly: AssemblyDefaultAlias ("System.Diagnostics.Tracing.dll")]
[assembly: AssemblyCompany ("Xamarin, Inc.")]
[assembly: AssemblyProduct ("Mono Common Language Infrastructure")]
[assembly: AssemblyCopyright ("Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)")]
[assembly: AssemblyVersion ("4.0.0.0")]
[assembly: AssemblyInformationalVersion ("4.0.0.0")]
[assembly: AssemblyFileVersion ("4.0.0.0")]
[assembly: AssemblyDelaySign (true)]
[assembly: AssemblyKeyFile ("../../msfinal.pub")]
[assembly: ReferenceAssembly]
@@ -0,0 +1,22 @@
MCS_BUILD_DIR = ../../../build
thisdir = class/Facades/System.Diagnostics.Tracing
SUBDIRS =
include $(MCS_BUILD_DIR)/rules.make
LIBRARY_SUBDIR = Facades
LIBRARY_INSTALL_DIR = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)/Facades
LIBRARY = System.Diagnostics.Tracing.dll
KEY_FILE = ../../msfinal.pub
SIGN_FLAGS = /delaysign /keyfile:$(KEY_FILE) /nowarn:1616,1699
LIB_MCS_FLAGS = $(SIGN_FLAGS) /r:mscorlib
PLATFORM_DEBUG_FLAGS =
NO_TEST = yes
include $(MCS_BUILD_DIR)/library.make
@@ -0,0 +1,81 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{34C2ACED-602C-41CD-AB40-3813B3420625}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699,1616,1699</NoWarn>
<OutputPath>./../../../class/lib/net_4_5/Facades</OutputPath>
<NoStdLib>True</NoStdLib>
<NoConfig>True</NoConfig>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>
</RootNamespace>
<AssemblyName>System.Diagnostics.Tracing</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<NoWarn>1699,1616,1699</NoWarn>
<Optimize>false</Optimize>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<NoWarn>1699,1616,1699</NoWarn>
<Optimize>true</Optimize>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<!-- Set AddAdditionalExplicitAssemblyReferences to false, otherwise if targetting .NET4.0,
Microsoft.NETFramework.props will force a dependency on the assembly System.Core. This
is a problem to compile the Mono mscorlib.dll -->
<PropertyGroup>
<AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
</PropertyGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<ItemGroup>
<Compile Include="AssemblyInfo.cs" />
<Compile Include="TypeForwarders.cs" />␍ </ItemGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
<PropertyGroup>
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
</Project>
@@ -0,0 +1,3 @@
TypeForwarders.cs
AssemblyInfo.cs
@@ -0,0 +1,35 @@
//
// Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
//
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Tracing.EventAttribute))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Tracing.EventCommand))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Tracing.EventCommandEventArgs))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Tracing.EventKeywords))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Tracing.EventLevel))]
//[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Tracing.EventListener))]
//[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Tracing.EventOpcode))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Tracing.EventSource))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Tracing.EventSourceAttribute))]
//[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Tracing.EventSourceException))]
//[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Tracing.EventTask))]
//[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Tracing.EventWrittenEventArgs))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Tracing.NonEventAttribute))]
@@ -0,0 +1,89 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{6E17967A-FBC5-4F44-AE4F-CBE1E70F862E}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699,1616,1699</NoWarn>
<OutputPath>./../../../class/lib/net_4_5/Facades</OutputPath>
<NoStdLib>True</NoStdLib>
<NoConfig>True</NoConfig>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>
</RootNamespace>
<AssemblyName>System.Dynamic.Runtime</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<NoWarn>1699,1616,1699</NoWarn>
<Optimize>false</Optimize>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<NoWarn>1699,1616,1699</NoWarn>
<Optimize>true</Optimize>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<!-- Set AddAdditionalExplicitAssemblyReferences to false, otherwise if targetting .NET4.0,
Microsoft.NETFramework.props will force a dependency on the assembly System.Core. This
is a problem to compile the Mono mscorlib.dll -->
<PropertyGroup>
<AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
</PropertyGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<ItemGroup>
<Compile Include="AssemblyInfo.cs" />
<Compile Include="TypeForwarders.cs" />␍ </ItemGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
<PropertyGroup>
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\System.Core\System.Core-net_4_5.csproj">
<Project>{D92530F4-3F2B-4351-BD21-9D6BEE6D2A4E}</Project>
<Name>System.Core\System.Core-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\System\System-net_4_5-2.csproj">
<Project>{5C605B73-19DA-4FB7-AB39-C7EF9A8B19FE}</Project>
<Name>System\System-net_4_5-2</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
</Project>
@@ -41,9 +41,10 @@
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Dynamic.SetMemberBinder))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Dynamic.UnaryOperationBinder))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Expressions.DynamicExpression))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Expressions.DynamicExpressionVisitor))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Runtime.CompilerServices.CallSite))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Runtime.CompilerServices.CallSite<>))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Runtime.CompilerServices.CallSiteBinder))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Runtime.CompilerServices.CallSiteHelpers))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Runtime.CompilerServices.DynamicAttribute))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Runtime.CompilerServices.ConditionalWeakTable<,>))]
@@ -0,0 +1,81 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{5DF5E924-6F3B-42DB-A3E0-1FB63028F189}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699,1616,1699</NoWarn>
<OutputPath>./../../../class/lib/net_4_5/Facades</OutputPath>
<NoStdLib>True</NoStdLib>
<NoConfig>True</NoConfig>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>
</RootNamespace>
<AssemblyName>System.Globalization</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<NoWarn>1699,1616,1699</NoWarn>
<Optimize>false</Optimize>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<NoWarn>1699,1616,1699</NoWarn>
<Optimize>true</Optimize>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<!-- Set AddAdditionalExplicitAssemblyReferences to false, otherwise if targetting .NET4.0,
Microsoft.NETFramework.props will force a dependency on the assembly System.Core. This
is a problem to compile the Mono mscorlib.dll -->
<PropertyGroup>
<AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
</PropertyGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<ItemGroup>
<Compile Include="AssemblyInfo.cs" />
<Compile Include="TypeForwarders.cs" />␍ </ItemGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
<PropertyGroup>
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
</Project>
@@ -0,0 +1,85 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{188DBB84-D591-48CC-B8B2-E7E12A0EE0BE}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699,1616,1699</NoWarn>
<OutputPath>./../../../class/lib/net_4_5/Facades</OutputPath>
<NoStdLib>True</NoStdLib>
<NoConfig>True</NoConfig>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>
</RootNamespace>
<AssemblyName>System.IO</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<NoWarn>1699,1616,1699</NoWarn>
<Optimize>false</Optimize>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<NoWarn>1699,1616,1699</NoWarn>
<Optimize>true</Optimize>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<!-- Set AddAdditionalExplicitAssemblyReferences to false, otherwise if targetting .NET4.0,
Microsoft.NETFramework.props will force a dependency on the assembly System.Core. This
is a problem to compile the Mono mscorlib.dll -->
<PropertyGroup>
<AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
</PropertyGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<ItemGroup>
<Compile Include="AssemblyInfo.cs" />
<Compile Include="TypeForwarders.cs" />␍ </ItemGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
<PropertyGroup>
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\System\System-net_4_5-2.csproj">
<Project>{5C605B73-19DA-4FB7-AB39-C7EF9A8B19FE}</Project>
<Name>System\System-net_4_5-2</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
</Project>
@@ -0,0 +1,85 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{FD626146-F48C-4E29-9D4C-872FB5AEA5C1}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699,1616,1699</NoWarn>
<OutputPath>./../../../class/lib/net_4_5/Facades</OutputPath>
<NoStdLib>True</NoStdLib>
<NoConfig>True</NoConfig>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>
</RootNamespace>
<AssemblyName>System.Linq.Expressions</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<NoWarn>1699,1616,1699</NoWarn>
<Optimize>false</Optimize>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<NoWarn>1699,1616,1699</NoWarn>
<Optimize>true</Optimize>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<!-- Set AddAdditionalExplicitAssemblyReferences to false, otherwise if targetting .NET4.0,
Microsoft.NETFramework.props will force a dependency on the assembly System.Core. This
is a problem to compile the Mono mscorlib.dll -->
<PropertyGroup>
<AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
</PropertyGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<ItemGroup>
<Compile Include="AssemblyInfo.cs" />
<Compile Include="TypeForwarders.cs" />␍ </ItemGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
<PropertyGroup>
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\System.Core\System.Core-net_4_5.csproj">
<Project>{D92530F4-3F2B-4351-BD21-9D6BEE6D2A4E}</Project>
<Name>System.Core\System.Core-net_4_5</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
</Project>
@@ -20,7 +20,6 @@
// THE SOFTWARE.
//
#if !MONOTOUCH
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Expressions.BlockExpression))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Expressions.CatchBlock))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Expressions.DebugInfoExpression))]
@@ -36,7 +35,6 @@
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Expressions.SwitchExpression))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Expressions.SymbolDocumentInfo))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Expressions.TryExpression))]
#endif
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Expressions.BinaryExpression))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Expressions.ConditionalExpression))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Expressions.ConstantExpression))]
@@ -0,0 +1,85 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{F8EB53BB-0BD5-4775-9EE7-2D4C7403B898}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699,1616,1699</NoWarn>
<OutputPath>./../../../class/lib/net_4_5/Facades</OutputPath>
<NoStdLib>True</NoStdLib>
<NoConfig>True</NoConfig>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>
</RootNamespace>
<AssemblyName>System.Linq.Parallel</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<NoWarn>1699,1616,1699</NoWarn>
<Optimize>false</Optimize>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<NoWarn>1699,1616,1699</NoWarn>
<Optimize>true</Optimize>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<!-- Set AddAdditionalExplicitAssemblyReferences to false, otherwise if targetting .NET4.0,
Microsoft.NETFramework.props will force a dependency on the assembly System.Core. This
is a problem to compile the Mono mscorlib.dll -->
<PropertyGroup>
<AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
</PropertyGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<ItemGroup>
<Compile Include="AssemblyInfo.cs" />
<Compile Include="TypeForwarders.cs" />␍ </ItemGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
<PropertyGroup>
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\System.Core\System.Core-net_4_5.csproj">
<Project>{D92530F4-3F2B-4351-BD21-9D6BEE6D2A4E}</Project>
<Name>System.Core\System.Core-net_4_5</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
</Project>
@@ -0,0 +1,85 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{C2025B80-1555-4CBE-8982-8E0DFCFC9F16}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699,1616,1699</NoWarn>
<OutputPath>./../../../class/lib/net_4_5/Facades</OutputPath>
<NoStdLib>True</NoStdLib>
<NoConfig>True</NoConfig>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>
</RootNamespace>
<AssemblyName>System.Linq.Queryable</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<NoWarn>1699,1616,1699</NoWarn>
<Optimize>false</Optimize>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<NoWarn>1699,1616,1699</NoWarn>
<Optimize>true</Optimize>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<!-- Set AddAdditionalExplicitAssemblyReferences to false, otherwise if targetting .NET4.0,
Microsoft.NETFramework.props will force a dependency on the assembly System.Core. This
is a problem to compile the Mono mscorlib.dll -->
<PropertyGroup>
<AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
</PropertyGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<ItemGroup>
<Compile Include="AssemblyInfo.cs" />
<Compile Include="TypeForwarders.cs" />␍ </ItemGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
<PropertyGroup>
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\System.Core\System.Core-net_4_5.csproj">
<Project>{D92530F4-3F2B-4351-BD21-9D6BEE6D2A4E}</Project>
<Name>System.Core\System.Core-net_4_5</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
</Project>
@@ -0,0 +1,85 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{F97C589C-5F94-4C4F-B465-13432ABF4744}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699,1616,1699</NoWarn>
<OutputPath>./../../../class/lib/net_4_5/Facades</OutputPath>
<NoStdLib>True</NoStdLib>
<NoConfig>True</NoConfig>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>
</RootNamespace>
<AssemblyName>System.Linq</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<NoWarn>1699,1616,1699</NoWarn>
<Optimize>false</Optimize>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<NoWarn>1699,1616,1699</NoWarn>
<Optimize>true</Optimize>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<!-- Set AddAdditionalExplicitAssemblyReferences to false, otherwise if targetting .NET4.0,
Microsoft.NETFramework.props will force a dependency on the assembly System.Core. This
is a problem to compile the Mono mscorlib.dll -->
<PropertyGroup>
<AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
</PropertyGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<ItemGroup>
<Compile Include="AssemblyInfo.cs" />
<Compile Include="TypeForwarders.cs" />␍ </ItemGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
<PropertyGroup>
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\System.Core\System.Core-net_4_5.csproj">
<Project>{D92530F4-3F2B-4351-BD21-9D6BEE6D2A4E}</Project>
<Name>System.Core\System.Core-net_4_5</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
</Project>
@@ -0,0 +1,85 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{A2069635-0635-40BA-B82C-DC458AFB3A9E}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699,1616,1699</NoWarn>
<OutputPath>./../../../class/lib/net_4_5/Facades</OutputPath>
<NoStdLib>True</NoStdLib>
<NoConfig>True</NoConfig>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>
</RootNamespace>
<AssemblyName>System.Net.NetworkInformation</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<NoWarn>1699,1616,1699</NoWarn>
<Optimize>false</Optimize>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<NoWarn>1699,1616,1699</NoWarn>
<Optimize>true</Optimize>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<!-- Set AddAdditionalExplicitAssemblyReferences to false, otherwise if targetting .NET4.0,
Microsoft.NETFramework.props will force a dependency on the assembly System.Core. This
is a problem to compile the Mono mscorlib.dll -->
<PropertyGroup>
<AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
</PropertyGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<ItemGroup>
<Compile Include="AssemblyInfo.cs" />
<Compile Include="TypeForwarders.cs" />␍ </ItemGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
<PropertyGroup>
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\System\System-net_4_5-2.csproj">
<Project>{5C605B73-19DA-4FB7-AB39-C7EF9A8B19FE}</Project>
<Name>System\System-net_4_5-2</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
</Project>
@@ -0,0 +1,85 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{D5541A16-CFFD-4699-BC6D-EE859A38737F}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699,1616,1699</NoWarn>
<OutputPath>./../../../class/lib/net_4_5/Facades</OutputPath>
<NoStdLib>True</NoStdLib>
<NoConfig>True</NoConfig>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>
</RootNamespace>
<AssemblyName>System.Net.Primitives</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<NoWarn>1699,1616,1699</NoWarn>
<Optimize>false</Optimize>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<NoWarn>1699,1616,1699</NoWarn>
<Optimize>true</Optimize>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<!-- Set AddAdditionalExplicitAssemblyReferences to false, otherwise if targetting .NET4.0,
Microsoft.NETFramework.props will force a dependency on the assembly System.Core. This
is a problem to compile the Mono mscorlib.dll -->
<PropertyGroup>
<AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
</PropertyGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<ItemGroup>
<Compile Include="AssemblyInfo.cs" />
<Compile Include="TypeForwarders.cs" />␍ </ItemGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
<PropertyGroup>
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\System\System-net_4_5-2.csproj">
<Project>{5C605B73-19DA-4FB7-AB39-C7EF9A8B19FE}</Project>
<Name>System\System-net_4_5-2</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
</Project>
@@ -0,0 +1,85 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{5DC73C5F-E943-473B-BE4D-0EB115C3F1AF}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699,1616,1699</NoWarn>
<OutputPath>./../../../class/lib/net_4_5/Facades</OutputPath>
<NoStdLib>True</NoStdLib>
<NoConfig>True</NoConfig>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>
</RootNamespace>
<AssemblyName>System.Net.Requests</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<NoWarn>1699,1616,1699</NoWarn>
<Optimize>false</Optimize>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<NoWarn>1699,1616,1699</NoWarn>
<Optimize>true</Optimize>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<!-- Set AddAdditionalExplicitAssemblyReferences to false, otherwise if targetting .NET4.0,
Microsoft.NETFramework.props will force a dependency on the assembly System.Core. This
is a problem to compile the Mono mscorlib.dll -->
<PropertyGroup>
<AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
</PropertyGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<ItemGroup>
<Compile Include="AssemblyInfo.cs" />
<Compile Include="TypeForwarders.cs" />␍ </ItemGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
<PropertyGroup>
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\System\System-net_4_5-2.csproj">
<Project>{5C605B73-19DA-4FB7-AB39-C7EF9A8B19FE}</Project>
<Name>System\System-net_4_5-2</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
</Project>
@@ -0,0 +1,85 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{9A11D4E5-5C4C-471C-9912-AAB6C9851CF9}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699,1616,1699</NoWarn>
<OutputPath>./../../../class/lib/net_4_5/Facades</OutputPath>
<NoStdLib>True</NoStdLib>
<NoConfig>True</NoConfig>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>
</RootNamespace>
<AssemblyName>System.ObjectModel</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<NoWarn>1699,1616,1699</NoWarn>
<Optimize>false</Optimize>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<NoWarn>1699,1616,1699</NoWarn>
<Optimize>true</Optimize>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<!-- Set AddAdditionalExplicitAssemblyReferences to false, otherwise if targetting .NET4.0,
Microsoft.NETFramework.props will force a dependency on the assembly System.Core. This
is a problem to compile the Mono mscorlib.dll -->
<PropertyGroup>
<AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
</PropertyGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<ItemGroup>
<Compile Include="AssemblyInfo.cs" />
<Compile Include="TypeForwarders.cs" />␍ </ItemGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
<PropertyGroup>
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\System\System-net_4_5-2.csproj">
<Project>{5C605B73-19DA-4FB7-AB39-C7EF9A8B19FE}</Project>
<Name>System\System-net_4_5-2</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
</Project>
@@ -20,9 +20,7 @@
// THE SOFTWARE.
//
#if !MONOTOUCH
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Collections.ObjectModel.ReadOnlyDictionary<,>))]
#endif
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Collections.ObjectModel.KeyedCollection<,>))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<>))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Collections.ObjectModel.ReadOnlyObservableCollection<>))]
@@ -0,0 +1,81 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{71E1B60C-1AF2-4AE8-B5F5-118AC38B64DB}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699,1616,1699</NoWarn>
<OutputPath>./../../../class/lib/net_4_5/Facades</OutputPath>
<NoStdLib>True</NoStdLib>
<NoConfig>True</NoConfig>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>
</RootNamespace>
<AssemblyName>System.Reflection.Emit.ILGeneration</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<NoWarn>1699,1616,1699</NoWarn>
<Optimize>false</Optimize>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<NoWarn>1699,1616,1699</NoWarn>
<Optimize>true</Optimize>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<!-- Set AddAdditionalExplicitAssemblyReferences to false, otherwise if targetting .NET4.0,
Microsoft.NETFramework.props will force a dependency on the assembly System.Core. This
is a problem to compile the Mono mscorlib.dll -->
<PropertyGroup>
<AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
</PropertyGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<ItemGroup>
<Compile Include="AssemblyInfo.cs" />
<Compile Include="TypeForwarders.cs" />␍ </ItemGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
<PropertyGroup>
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
</Project>
@@ -0,0 +1,81 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{56035DDD-F2DD-46ED-88EF-DF8636198D36}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699,1616,1699</NoWarn>
<OutputPath>./../../../class/lib/net_4_5/Facades</OutputPath>
<NoStdLib>True</NoStdLib>
<NoConfig>True</NoConfig>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>
</RootNamespace>
<AssemblyName>System.Reflection.Emit.Lightweight</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<NoWarn>1699,1616,1699</NoWarn>
<Optimize>false</Optimize>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<NoWarn>1699,1616,1699</NoWarn>
<Optimize>true</Optimize>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<!-- Set AddAdditionalExplicitAssemblyReferences to false, otherwise if targetting .NET4.0,
Microsoft.NETFramework.props will force a dependency on the assembly System.Core. This
is a problem to compile the Mono mscorlib.dll -->
<PropertyGroup>
<AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
</PropertyGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<ItemGroup>
<Compile Include="AssemblyInfo.cs" />
<Compile Include="TypeForwarders.cs" />␍ </ItemGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
<PropertyGroup>
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
</Project>
@@ -0,0 +1,81 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{6ABB9197-8B7B-4566-B42A-5B7A8CDE3D4E}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699,1616,1699</NoWarn>
<OutputPath>./../../../class/lib/net_4_5/Facades</OutputPath>
<NoStdLib>True</NoStdLib>
<NoConfig>True</NoConfig>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>
</RootNamespace>
<AssemblyName>System.Reflection.Emit</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<NoWarn>1699,1616,1699</NoWarn>
<Optimize>false</Optimize>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<NoWarn>1699,1616,1699</NoWarn>
<Optimize>true</Optimize>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<!-- Set AddAdditionalExplicitAssemblyReferences to false, otherwise if targetting .NET4.0,
Microsoft.NETFramework.props will force a dependency on the assembly System.Core. This
is a problem to compile the Mono mscorlib.dll -->
<PropertyGroup>
<AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
</PropertyGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<ItemGroup>
<Compile Include="AssemblyInfo.cs" />
<Compile Include="TypeForwarders.cs" />␍ </ItemGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
<PropertyGroup>
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
</Project>
@@ -0,0 +1,81 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{670D61FE-7031-4734-87FB-E7DC401F7D99}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699,1616,1699</NoWarn>
<OutputPath>./../../../class/lib/net_4_5/Facades</OutputPath>
<NoStdLib>True</NoStdLib>
<NoConfig>True</NoConfig>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>
</RootNamespace>
<AssemblyName>System.Reflection.Extensions</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<NoWarn>1699,1616,1699</NoWarn>
<Optimize>false</Optimize>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<NoWarn>1699,1616,1699</NoWarn>
<Optimize>true</Optimize>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<!-- Set AddAdditionalExplicitAssemblyReferences to false, otherwise if targetting .NET4.0,
Microsoft.NETFramework.props will force a dependency on the assembly System.Core. This
is a problem to compile the Mono mscorlib.dll -->
<PropertyGroup>
<AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
</PropertyGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<ItemGroup>
<Compile Include="AssemblyInfo.cs" />
<Compile Include="TypeForwarders.cs" />␍ </ItemGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
<PropertyGroup>
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
</Project>
@@ -0,0 +1,81 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{080E1A07-4A13-4D86-966E-4BED488972E9}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699,1616,1699</NoWarn>
<OutputPath>./../../../class/lib/net_4_5/Facades</OutputPath>
<NoStdLib>True</NoStdLib>
<NoConfig>True</NoConfig>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>
</RootNamespace>
<AssemblyName>System.Reflection.Primitives</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<NoWarn>1699,1616,1699</NoWarn>
<Optimize>false</Optimize>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<NoWarn>1699,1616,1699</NoWarn>
<Optimize>true</Optimize>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<!-- Set AddAdditionalExplicitAssemblyReferences to false, otherwise if targetting .NET4.0,
Microsoft.NETFramework.props will force a dependency on the assembly System.Core. This
is a problem to compile the Mono mscorlib.dll -->
<PropertyGroup>
<AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
</PropertyGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<ItemGroup>
<Compile Include="AssemblyInfo.cs" />
<Compile Include="TypeForwarders.cs" />␍ </ItemGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
<PropertyGroup>
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
</Project>
@@ -20,7 +20,7 @@
// THE SOFTWARE.
//
#if !MONOTOUCH
#if !FULL_AOT_RUNTIME
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Reflection.Emit.FlowControl))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Reflection.Emit.OpCode))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Reflection.Emit.OpCodes))]
Loaded 100 of 6408 files, more files were not shown because too many files have changed in this diff. Show more