Compare commits

..
Author SHA1 Message Date
Atsushi Eno 978b2f5d12 Fix all Encoding related regressions caused by referencesource import. 2015-02-12 20:40:28 +08:00
Atsushi Eno 0b82d1225b [encoding] add test for bug #23771 (UTF8 decoder state broken). 2015-02-12 14:43:05 +08:00
Atsushi Eno b5947fb500 Now we have our own EncodingTable.cs and EncodingDataItem.cs implementation.
Instead of adding InternalCall from EncodingTable, we have managed
version of encoding list which is copied from coreclr sources.

With this implementation we can run nunit tests (make run-test) again.
2015-02-11 03:26:47 +08:00
Atsushi Eno b300bf47b4 Removed NLS-based encodings in referencesource from build.
The basic plan here is to just replace ASCII and Unicode-based encodings
while preserving Latin1 and I18N-based encodings. We need to plug
InvokeI18N to referencesource Encoding and probably hack EncodingTable
etc. to work consistently (or remove references to it, if possible).
2015-02-10 22:09:53 +08:00
Atsushi Eno b054149da5 initial attempt to import referencesource Encoding classes.
This does NOT work yet, because it's just to make everything to "build"
and there are missing InternalCall implementations (e.g. for
EncodingDataTable) and embedded resources (such as codepages.nlp).

I'm not sure what is the best solution for these classes yet. Creating
nlp resources for everything, or make some changes in Encoding and
import only partial sources such as UTF8Encoding.
2015-02-10 04:54:45 +08:00
Atsushi Eno 0a511354f3 bump referencesource for Encoding implementation. 2015-02-10 04:25:39 +08:00
Atsushi Eno c72628cf46 Remove unused unicode category data (which is now charinfo.nlp). 2015-02-10 01:43:10 +08:00
Atsushi Eno d8aba3fa75 replace CharUnicodeInfo with that of referencesource and update runtime.
CharUnicodeInfo had conversion methods for uppercase/lowercase
conversion, and they are actually used by TextInfo. So moved them.
Then added another icall for "lite" version of internal character table
loader.

The new CharUnicodeInfo depends on "charinfo.nlp" resource file, which
does not exist in referencesource but can be generated by coreclr build
tools (as src/mscorlib/src/System/Globalization/Tables/CharInfo.nlp).

The coreclr rev. that built this specific checkin was c4eb037.
2015-02-10 00:47:16 +08:00
Marek Safar fe40c28be0 Merge pull request #1555 from JetBrains/unrecognized_pragma
Skip unrecognized #pragma directive
2015-02-09 11:17:32 +01:00
Miguel de Icaza d12c06df59 Fix the build 2015-02-08 13:52:29 -05:00
Leonid Shalupov e9b8cb6682 Add test for skipping unrecognized #pragma directive 2015-02-08 19:09:25 +01:00
Leonid Shalupov c4890a882a Skip unrecognized #pragma directive 2015-02-08 19:09:02 +01:00
Zoltan Varga 8628fd051b [jit] Remove unused disable_vtypes_in_regs variable. 2015-02-08 03:23:53 -05:00
Miguel de Icaza 4489d2399d [monop] Port to use IKVM.Reflection, add -xi and -xa options to easily lookup Xamarin.Android and Xamarin.iOS types 2015-02-07 22:44:50 -05:00
Zoltan Varga cc6e967a23 [sdb] Use a variant of g_path_get_basename () which can handle windows paths as well. Fixes #26436. 2015-02-07 22:37:50 -05:00
Zoltan Varga 66f5f06469 Revert "[llvm] Maps structs made up of floats/doubles to llvm structs containing floats."
This reverts commit bc9c77280f.

Revert this as it breaks pinvoke2.exe.
2015-02-07 22:07:06 -05:00
Zoltan Varga e179554eee Revert "Fix the loadable llvm build."
This reverts commit dfe6b21b5e.

Revert this as it breaks pinvoke2.exe.
2015-02-07 22:06:47 -05:00
Zoltan Varga 1f14a9721b Fix the loadable llvm build. 2015-02-07 18:01:43 -05:00
João Matos 1a341220c6 [decimal] Fixed the Windows build.
Works around the following compile error:

```/Users/triton/Development/mono/mono/metadata/decimal-ms.h:3:16: error: redefinition of 'struct tagDEC'
 typedef struct tagDEC {
                ^
In file included from /Users/triton/Development/monodroid/builds/toolchains/windows/mxe/usr/i686-w64-mingw32.static/include/unknwn.h:37:0,
                 from /Users/triton/Development/monodroid/builds/toolchains/windows/mxe/usr/i686-w64-mingw32.static/include/objidl.h:477,
                 from /Users/triton/Development/monodroid/builds/toolchains/windows/mxe/usr/i686-w64-mingw32.static/include/objbase.h:66,
                 from /Users/triton/Development/monodroid/builds/toolchains/windows/mxe/usr/i686-w64-mingw32.static/include/ole2.h:17,
                 from /Users/triton/Development/monodroid/builds/toolchains/windows/mxe/usr/i686-w64-mingw32.static/include/wtypes.h:12,
                 from /Users/triton/Development/monodroid/builds/toolchains/windows/mxe/usr/i686-w64-mingw32.static/include/winscard.h:10,
                 from /Users/triton/Development/monodroid/builds/toolchains/windows/mxe/usr/i686-w64-mingw32.static/include/windows.h:97,
                 from /Users/triton/Development/mono/mono/io-layer/io-layer.h:24,
                 from /Users/triton/Development/mono/mono/metadata/process.h:17,
                 from /Users/triton/Development/monodroid/builds/toolchains/windows/mxe/usr/i686-w64-mingw32.static/include/unistd.h:11,
                 from /Users/triton/Development/mono/mono/metadata/icall.c:27:
/Users/triton/Development/monodroid/builds/toolchains/windows/mxe/usr/i686-w64-mingw32.static/include/wtypes.h:452:16: note: originally defined here
 typedef struct tagDEC {
                ^
```
2015-02-07 14:21:35 +00:00
Zoltan Varga dfe6b21b5e Fix the loadable llvm build. 2015-02-07 07:56:26 -05:00
Miguel de Icaza bc68eda84d Merge pull request #1552 from mono/ms-decimal
Bring the CoreCLR Decimal support to Mono.
2015-02-07 00:05:15 -05:00
Zoltan Varga bc9c77280f [llvm] Maps structs made up of floats/doubles to llvm structs containing floats. 2015-02-06 19:12:03 -05:00
Miguel de Icaza d1ff413081 Make referencesource point to mono/referencesource's mono branch 2015-02-06 17:39:44 -05:00
Miguel de Icaza b8f68cc3f4 [Decimal] Remove old decimal from the metadata directory 2015-02-06 17:28:37 -05:00
Jeffrey Stedfast f2c6ec43dc [Mono.Debugger.Soft] Fixed StackFrame.Domain logic to not blow up 2015-02-06 17:24:57 -05:00
Zoltan Varga ad38eb5cac [arm64] Add r4 opcodes. 2015-02-06 16:18:29 -05:00
Miguel de Icaza e4ee7a5e1f Remove old implementation of Decimal support, it served us well 2015-02-06 15:56:27 -05:00
Miguel de Icaza 97f01eac96 Merge branch 'master' into ms-decimal 2015-02-06 15:54:31 -05:00
Miguel de Icaza b1ca045003 [Decimal] Add test cases from the bugs that this branch fixes 2015-02-06 15:51:14 -05:00
Miguel de Icaza 9e13adae4b [Decimal] Expand test suite with Microsoft's CoreFX Decimal tests 2015-02-06 15:25:58 -05:00
Miguel de Icaza c13ecfcdee [Decimal] Fix another missing cast, makes the entire Mono test suite pass 2015-02-06 14:54:49 -05:00
Miguel de Icaza d72f9a0fc7 [Decimal] Set the reserved field, fix signed to unsigned cast mistakes from the port, document places where MS does not explicitly set reserved; Down to 1 failure 2015-02-06 14:09:40 -05:00
Zoltan Varga 7656a6beb4 Merge branch 'r4fp-ir' 2015-02-06 13:40:16 -05:00
Zoltan Varga 5a61d55c7f Fix the build. 2015-02-06 13:37:47 -05:00
Zoltan Varga 76b0aebf27 Add mixed r4/r8 opcodes to binary opcodes. 2015-02-06 13:32:03 -05:00
Zoltan Varga 32f6084793 Exclude the float32 optimization from -O=all. 2015-02-06 13:32:03 -05:00
Zoltan Varga 067ab06be1 Implement arm support. 2015-02-06 13:32:02 -05:00
Zoltan Varga c77eb2b62e Add LLVM support. 2015-02-06 13:32:02 -05:00
Zoltan Varga e0caebb53a Fix OP_MOVE_F_TO_I4 and OP_MOVE_I4_TO_F in float32 mode. 2015-02-06 13:32:02 -05:00
Zoltan Varga 1d6362cdbd Add support for generating 32 bit floating point code when operating on floats.
Design:

- Handle r4 types in the front-end normally like other types.
- Controlled using a 'float32' optimization flag, may become the default in the future.
- new stack type STACK_R4.
- new set of opcodes prefixed by 'R', use the same vregs as 'F' opcodes.
- opcodes which worked with r4 values are used as before, but generate different code
  in the back end (OP_R4CONST/OP_LOADR4_MEMBASE/OP_STORER4_MEMBASE_REG, etc.).
2015-02-06 13:30:19 -05:00
Miguel de Icaza 0a7d65e63e [Decimal] Fix enumeration values, down to 2 failures 2015-02-06 12:46:17 -05:00
Marek Safar b927fa8ee6 [corlib] Imports messages from coreclr project 2015-02-06 18:37:32 +01:00
Jeffrey Stedfast fcd44bb0d5 [Microsoft.Build.Utilities] Fixed to make unit tests pass again 2015-02-06 12:24:18 -05:00
Alex Rønne Petersen 1f6c5e8be7 [mini] Bump move_f_to_i4/move_i4_to_f insn sizes on x86. 2015-02-06 17:55:58 +01:00
Marek Safar 815c1bd287 Merge pull request #1551 from directhex/fix-missing-System.Web.ApplicationServices-sources
Move files which were split out in 4.0 from System.Web...
2015-02-06 17:55:54 +01:00
Marek Safar 9a26c9ef5f [mcs] Correctly import metadata constant with mismatched type and value. Fixes #24675 2015-02-06 17:54:59 +01:00
Jo Shields f3d505ed1e Ensure missing test_op_il_seq_point.sh is shipped in tarballs. 2015-02-06 10:48:47 -05:00
Alex Rønne Petersen cb085a39c5 [mini] Remove OP_ICONV_TO_R8_RAW since OP_MOVE_I4_TO_F does the same thing. 2015-02-06 16:45:14 +01:00
Alex Rønne Petersen 2bb9ed862c [mini] Use a spill var for float <-> int data transfer opcodes on x86. 2015-02-06 16:45:14 +01:00
Alex Rønne Petersen 1046214694 [mini] Remove some unnecessary amd64 codegen macros (we already had them with different names). 2015-02-06 16:45:14 +01:00
Jo Shields eb53f82111 Move files which were split out from System.Web into System.Web.ApplicationServices into the latter's directory. They no longer need to be in the former, since we no longer build the 2.0 profile they were originally part of. This fixes "no rule to make target" errors on tarball builds, caused by those files no longer being shipped in tarballs (make dist does not traverse a ../ boundary, so it wasn't enough for them to be listed in System.Web.ApplicationServices' manifest by System.Web's folder) 2015-02-06 10:17:54 -05:00
Miguel de Icaza a51ac80865 Merge pull request #1550 from tpetazzoni/mips-fix
mono-context.h: fix build on MIPS
2015-02-06 09:50:33 -05:00
Sebastien Pouliot 375b749fca [tests] Fix TypeDescriptorTests compilation when NUnitLite is used 2015-02-06 09:37:21 -05:00
Marek Safar c7ad272b9a [mcs] Fix cloning of labels from outer anonymous block. Fixes #26736 2015-02-06 15:14:26 +01:00
Marek Safar baa2c983b3 [mcs] Replace 1684 warning turned into error with unique 7069 error code 2015-02-06 15:14:26 +01:00
Thomas Petazzoni 8f489c24e1 mono-context.h: fix build on MIPS
The mono-context.h file uses definitions such as mips_fp and mips_sp,
which are defined in <mono/arch/mips/mips-codegen.h>, but this file is
not included, leading to build failures.

This fix is similar to 4437ecea91 (for
ARM).

Signed-off-by: Thomas Petazzoni <[email protected]>
2015-02-06 14:56:10 +01:00
João Matos 88e35ade18 [runtime] Fixed potential memory leak in a8390dcd63. 2015-02-06 12:46:24 +00:00
João Matos a8390dcd63 [runtime] Fixed marshalling bug in mono_marshal_get_native_func_wrapper.
It was caused by a mismatch of the `sig` and `csig` variables when looking the wrapper in the marshalling cache.

This was manifesting as the following crash in all Monodroid programs:

```
#0  mono_type_hash () at /Users/joao/Dev/droid/mono/mono/metadata/metadata.c:1390
#1  0x7512edf4 in mono_signature_hash () at /Users/joao/Dev/droid/mono/mono/metadata/metadata.c:4957
#2  0x75115d18 in signature_pointer_pair_hash () from /Users/joao/Dev/droid/monodroid/tests/runtime/gdb-symbols/libmonosgen-2.0.so
#3  0x751dca10 in rehash () from /Users/joao/Dev/droid/monodroid/tests/runtime/gdb-symbols/libmonosgen-2.0.so
#4  0x751dcbe0 in monoeg_g_hash_table_insert_replace () from /Users/joao/Dev/droid/monodroid/tests/runtime/gdb-symbols/libmonosgen-2.0.so
#5  0x75119570 in mono_mb_create_and_cache_full () from /Users/joao/Dev/droid/monodroid/tests/runtime/gdb-symbols/libmonosgen-2.0.so
#6  0x75127390 in mono_marshal_get_native_func_wrapper () from /Users/joao/Dev/droid/monodroid/tests/runtime/gdb-symbols/libmonosgen-2.0.so
#7  0x75127780 in mono_ftnptr_to_delegate () from /Users/joao/Dev/droid/monodroid/tests/runtime/gdb-symbols/libmonosgen-2.0.so
```

Originally introduced in https://github.com/mono/mono/pull/1540.
2015-02-06 12:35:45 +00:00
Marek Safar 6733010353 Merge pull request #1508 from slluis/fix-20966
Generate proper Link metadata for resources in imported projects
2015-02-06 11:05:40 +01:00
Marek Safar a62823ac14 Merge pull request #1549 from esdrubal/tziathens
[corlib] Fixed TimeZoneInfo.TryGetTransitionOffset.
2015-02-06 09:18:01 +01:00
Marcos Henrich 5df4852b1a [corlib] Fixed TimeZoneInfo.TryGetTransitionOffset.
Olson TZ transitions are in UTC, and TryGetTransitionOffset used the TZ standard time.
TryGetTransitionOffset was comparing UTC with TZ standard times thus DST transitions could be obtained some hours before their start.
TryGetTransitionOffset is now changing provided times to UTC before comparing them with the transition times.
Fixes #25050.
2015-02-06 09:30:51 +02:00
Marcos Henrich 0c5347ad43 [corlib] Added test to TimeZoneInfoTest. Covers #25050. 2015-02-06 06:20:54 +00:00
Miguel de Icaza 9241773f5c [Decimal] Fix structure definitions, down to 3 failures from Mono test suite 2015-02-06 00:42:44 -05:00
Miguel de Icaza 9d31706582 [Decimal] Down to six failures in Mono's test suite 2015-02-06 00:23:52 -05:00
Miguel de Icaza 98e9d352e4 [Decimal] Fix basic decimal startup issues 2015-02-05 22:56:41 -05:00
Miguel de Icaza fd78f734ea [Build] Make the code build with old bootstrapped environments 2015-02-05 22:11:59 -05:00
Miguel de Icaza 09abacdd14 [Decimal] Fix the build for unresolved symbols with some C compilers 2015-02-05 22:11:35 -05:00
Alex Rønne Petersen 36a5363ef7 [mini] Remove now-unneeded clob spec for move_f_to_i4 on amd64. 2015-02-06 03:47:40 +01:00
Miguel de Icaza 5bde5effed Merge pull request #1548 from akoeplinger/stubs
[bcl] Added a few stubs for missing APIs
2015-02-05 21:01:38 -05:00
Zoltan Varga 1445d4821c [runtime] Update valgrind headers to the ones from valgrind 3.10.1. Fixes #26688. 2015-02-05 20:53:21 -05:00
Miguel de Icaza dda1b86e64 [Decimal] Completed the methods in decimal-ms.c
This completes the list of methods in decimal-ms.c that are surfaced
to the Decimal class.  This change also swaps out the Decimal class
from Mono to the Microsoft implementation.

This has not been tested yet, beyond the compiler being able to read
decimals (it did crash without it).

CoreCLR has two different bits of code for SearchScale, it looks like
one is just old and has not been updated.  Moved to the new one, and
updated the code to pass the extra data that is missing from the
former one.
2015-02-05 18:25:48 -05:00
Zoltan Varga a5f77df5e1 [amd64] Avoid clobbering sreg1 in OP_MOVE_F_TO_I4. 2015-02-05 17:16:53 -05:00
Zoltan Varga 00a28a7dfd [jit] Avoid live range indexes overflowing for large basic blocks in the liveness pass. Fixes #26732. 2015-02-05 17:16:53 -05:00
Rodrigo Kumpera 8b4a2f2bd6 [runtime] Plug a loader error leak. 2015-02-05 17:15:42 -05:00
Zoltan Varga 54c312fa93 Revert "[jit] Avoid live range indexes overflowing for large basic blocks in the liveness pass. Fixes #26732."
This reverts commit 98f665aba9.

Revert this as it causes assertions on methods with large basic blocks.
2015-02-05 16:53:26 -05:00
Sebastien Pouliot 6bd76b142d Bump referencesource to disable some CAS usage 2015-02-05 15:55:09 -05:00
Alexander Köplinger 890ca8595e Fix error message to mention git instead of svn
Just a nitpick, but I saw this in a build log and thought I'd fix it.
2015-02-05 21:30:58 +01:00
Sebastien Pouliot 7145c08255 [linker] Only consider [Preserve] (i.e. without any parameters) on assembly-level as meaning 'preserve everything inside this assembly'. 2015-02-05 15:20:55 -05:00
Sebastien Pouliot 7b29d5abb2 [linker] Preserve types given to custom attributes - even if they are inside an array [#26030] 2015-02-05 15:19:46 -05:00
Sebastien Pouliot a7a4de9dd5 [linker] Do not process custom attribute fields unless there are some (avoids memory allocation for collections) 2015-02-05 15:18:47 -05:00
Mark Probst fe56186215 Merge pull request #1546 from evincarofautumn/faster-binprot
Make sgen-grep-binprot faster.
2015-02-05 11:55:26 -08:00
Jon Purdy b299715e36 [sgen] Make sgen-grep-binprot faster.
fread() spent a great deal of time locking, and we called malloc() once for
each entry. Replacing fread() with read() plus manual buffering, as well
as replacing malloc() with a static buffer, improves throughput by an
order of magnitude.

This also adds an '--input' option for reading from a stream other than
standard input.
2015-02-05 11:53:08 -08:00
Neale Ferguson d19817ad9c Use float<->integer instructions for move operations 2015-02-05 14:36:54 -05:00
Jeffrey Stedfast f076746dd7 [Microsoft.Build.Utilities] Fixed MSBuildErrorParser to be more robust 2015-02-05 13:43:14 -05:00
Marek Safar ecaa5d7faf [mcs] Prefer not missing type for ambiguous imported types. Fixes #26753 2015-02-05 18:25:18 +01:00
Alexander Köplinger 92af367655 [bcl] Added a few stubs for missing APIs
They are required for the upcoming System.Web port.
2015-02-05 18:09:40 +01:00
Marek Safar 52ce4a07b2 [corlib] TimeZoneInfo.ConvertTimeToUtc maximum datetime handling 2015-02-05 07:25:49 -05:00
Marek Safar 8442408da0 [runtime] Fixes setting FileVersionInfo managed booleans 2015-02-05 12:34:16 +01:00
Marek Safar 26a31a583b [xbuild] Fix When Condition with a user comment 2015-02-05 11:49:59 +01:00
Marek Safar 6b908c2f34 [build] remove unused defines 2015-02-05 11:28:40 +01:00
Marek Safar 7c0da3c990 [corlib] BitConverter from reference sources 2015-02-05 10:48:49 +01:00
Alex Rønne Petersen 4c887f7ba4 [mini] Really fix the float <-> int data transfer instructions on arm.
The ARM_CVTS/ARM_CVTD macros have somewhat deceptive names: They
describe the source data type, not the target data type.
2015-02-05 04:59:47 +01:00
Miguel de Icaza 5b2bb8c901 [decimal] Microsoft's unmanaged code for decimal support
This is a port of the CoreCLR Decimal support to C and to the Mono
coding conventions.  In the process of porting the code, I removed a
bunch of COM-isms and some Windows-isms that were just workaround with
compatibility typedefs and replaced it instead with stdint.h data
types as well as Mono assertions.

There are still a few methods missing, and the managed library is not
plugged yet (both constructors likely need to be altered to be managed
proxies to the init method).
2015-02-04 21:45:03 -05:00
Alex Rønne Petersen 136f17a024 Merge pull request #1541 from alexrp/mcs-build-cleanup
Clean up mcs build system
2015-02-05 03:13:59 +01:00
Miguel de Icaza dee36bfa52 Start work to generate dependencies 2015-02-04 21:05:29 -05:00
Alex Rønne Petersen 2baec073f4 [mini] Implement float <-> int data transfer instructions in the LLVM backend. 2015-02-05 02:03:38 +01:00
Rodrigo Kumpera 3b38dffbc4 [test] Add verifier test for cgt_un and valuetypes. 2015-02-04 17:08:47 -05:00
Rodrigo Kumpera ff87fbe74d [verifier] Properly verify CGT_UN when used with reference value and the null literal. 2015-02-04 17:06:38 -05:00
Zoltan Varga 98f665aba9 [jit] Avoid live range indexes overflowing for large basic blocks in the liveness pass. Fixes #26732. 2015-02-04 14:00:17 -05:00
Zoltan Varga 257620d383 [runtime] Enable the new interrupt code on arm64. 2015-02-04 13:22:38 -05:00
Marek Safar 03c62b9023 Move TimeZoneInfo tests to corlib 2015-02-04 19:09:14 +01:00
Marek Safar da7d598940 [system.xml] Disable failing test, requires reference source implementation 2015-02-04 18:46:30 +01:00
Marek Safar 798e9c0c41 [corlib] Fix overflow in TimeZoneInfo utc conversion 2015-02-04 17:55:41 +01:00
Marek Safar 22c8cc477f [mcs] update error message 2015-02-04 17:55:41 +01:00
Marek Safar b75b33ab83 [corlib] Boolean from reference sources 2015-02-04 17:55:41 +01:00
Radek Doulik 598920ce36 [android] disable TLS on android/x86_64
- otherwise we assert in sgen allocator
   in   sgen-gc.h:EMIT_TLS_ACCESS_NEXT_ADDR
   thru sgen-alloc.c:create_allocator
 - note that it is also disabled for ARM[64] and X86
   on android
2015-02-04 17:16:22 +01:00
Marek Safar 96eca3b925 [System] More TypeDescriptor tests 2015-02-04 15:49:41 +01:00
Marek Safar 9e396e4022 [corlib] Add test for #17626 2015-02-04 15:36:51 +01:00
Marek Safar aa4ba602fc [corlib] DateTime from reference sources 2015-02-04 15:36:51 +01:00
Alex Rønne Petersen 29a4519b5f Revert "[runtime] Fixed allowing non-object complex arguments to cgt.un"
This reverts commit 38f878ce9d.

This broke the build: http://wrench.mono-project.com/Wrench/WebServices/Download.aspx?workfile_id=3704132
2015-02-04 15:28:44 +01:00
Alex Rønne Petersen c294093080 [mini] Hopefully fix float <-> int data transfer instructions on x86. x87 sucks. 2015-02-04 14:58:03 +01:00
Alex Rønne Petersen 5ad8b5d9d4 [mini] Fix float <-> int data transfer instructions on arm/mips. 2015-02-04 14:42:43 +01:00
Alex Rønne Petersen b48718ed54 [mini] Fix x86/arm build. 2015-02-04 14:42:43 +01:00
João Matos 057af01163 Fixed System.Net.NetworkInformation tests to work with MonoTouch.NUnitLite. 2015-02-04 13:21:40 +00:00
João Matos acbf7557e4 [runtime] Added autoconf support for AMD64 Android cross compilation. 2015-02-04 13:08:32 +00:00
Alex Rønne Petersen 1a319806fe [mini] Implement atomic exchange with xchg on x86/amd64. 2015-02-04 13:18:13 +01:00
Alex Rønne Petersen 5ca71a7700 [mini] Use new float <-> int move opcodes to implement r4/r8 CAS/Exchange. 2015-02-04 12:05:59 +01:00
Alex Rønne Petersen afd8928030 [mini] Add new instructions for moving data between float and int regs.
These perform no conversions (other than any necessary single <-> double
conversions). They simply copy the raw data back and forth.
2015-02-04 12:05:59 +01:00
Alex Rønne Petersen 9095bc0d14 [mini] Apply the dreg != sreg1 optimization to OP_(F)MOVE in all backends. 2015-02-04 12:05:58 +01:00
Alex Rønne Petersen 1d3ec567aa [mini] Fix some cases where intrinsics did not have a stack type set. 2015-02-04 12:05:58 +01:00
Radek Doulik a99d8a396d [android] do not use tkill on android/amd64(x86_64) as well 2015-02-04 09:54:00 +01:00
Alex Rønne Petersen 00725c15bc Merge pull request #1543 from alexanderkyte/master
[runtime] Fixed allowing non-object complex arguments to cgt.un
2015-02-04 04:53:29 +01:00
Alexander Kyte 38f878ce9d [runtime] Fixed allowing non-object complex arguments to cgt.un 2015-02-03 22:43:50 -05:00
Zoltan Varga a85fe92f45 [amd64] Add missing amd64_sse_cvtss2si_reg_reg_size() codegen macro. 2015-02-03 20:44:26 -05:00
Zoltan Varga 989301647e Merge pull request #1545 from akoeplinger/fix-windows-build
Fix Windows build
2015-02-03 15:58:12 -05:00
Alexander Köplinger 0b2a537abf Fix Windows build
It was broken by c731686feb
2015-02-03 10:40:03 -08:00
Miguel de Icaza 38a2f62b2f Updated the order file generated by following the instructions in msvc/scripts/README 2015-02-03 11:48:38 -05:00
Marek Safar 0b32ad8dfc [corlib] TimeSpan from reference sources 2015-02-03 16:20:55 +01:00
João Matos 58ae0ae309 [corlib] Fixed tests to work with NET_2_1 define. 2015-02-03 14:11:32 +00:00
Marek Safar 6427a13879 [corlib] DateTimeOffset from reference sources 2015-02-03 11:58:48 +01:00
Marek Safar 5937d3a70c [corlib] DateTimeFormatInfo and friends from reference sources 2015-02-03 10:30:30 +01:00
Marek Safar 98ecb517a7 [system] Add support for redirected http web-request with disabled AllowWriteStreamBuffering (empty streams only). Fixes #26640 2015-02-03 10:25:03 +01:00
Rodrigo Kumpera 98658d9091 [runtime] Replace a call to mono_get_method_full to mono_get_method_checked. 2015-02-02 22:36:15 -05:00
Alex Rønne Petersen e55268f3ab Remove old centum tests stuff.
Despite what the makefiles would have you believe, this was never
actually used when running the test suites. Don't ask me why - my
make-fu isn't good enough. Regardless, it's a bad idea to only
run tests for a specific set of assemblies. If some tests fail or
are unstable, they should be fixed, or disabled and have a bug
filed. Sweeping them under the rug like this is the wrong thing
to do. Incidentally, this commit doesn't add any new failures.
2015-02-03 03:41:15 +01:00
Alex Rønne Petersen c740b9831d Remove now-obsolete System.Web.Extensions(.Design)_1.0 assemblies.
These are no longer built in the newer profiles.
2015-02-03 03:41:14 +01:00
Alex Rønne Petersen 351e94964c Remove obsolete profiles and profile checks from the build system.
* Removed all old profiles from VALID_PROFILE checks.
* Removed most logic under checks like ifeq (net_2_0), $(PROFILE)) as
  it is dead code now that those old profiles are gone.
* Simplified the list of assemblies in mcs/class/Makefile now that we
  only have one profile.
* LIBRARY_NEEDS_POSTPROCESSING has been removed as it was only used by
  old 1.x assemblies that no longer exist.
* Build logic that sets MONO_PATH now points to mcs/class/lib/net_4_5
  instead of mcs/class/lib/net_2_0.
2015-02-03 03:41:14 +01:00
Alex Rønne Petersen 43a0088f3f Remove some leftover old 1.x, 2.x, 3.x profile ifdefs.
We no longer support these profiles so these code paths are dead.
2015-02-03 03:41:14 +01:00
Zoltan Varga 1b41e15f91 Avoid recompiling a test on every run. 2015-02-02 19:30:30 -05:00
Zoltan Varga d504f17272 Revert "Switch System.Web.ApplicationServices to referencesource"
This reverts commit ea88432e49.

Revert this as it breaks the System.Web tests.
2015-02-02 18:20:45 -05:00
Zoltan Varga e2193970c9 Revert "Include hard-coded strings (SR.cs-style) rather than using AppliCationServicesStrings.Designer.cs"
This reverts commit b88fc96610.

Revert this as it breaks the System.Web tests.
2015-02-02 18:20:23 -05:00
Rodrigo Kumpera 9621471d3a [io-layer] Small portability fix. 2015-02-02 17:39:38 -05:00
Jonathan Pryor 52eceb5460 [System.Core/Android] Update TimeZone database self test.
The `make tzi.exe` target had bitrotted, and the
`make android-dump-tzdata` target generated inadvertent/unintentional
errors.  Fix the makefile so that things build and run.
2015-02-02 15:20:39 -05:00
Marek Safar d8cbfdfbb1 [corlib] Makes AggregateException output visible 2015-02-02 20:26:52 +01:00
João Matos d9f9ba0d8b [corlib] Fixed xammac build. 2015-02-02 15:53:02 +00:00
João Matos b6df249cc2 [corlib] Fixed build with NET_2_1 define. 2015-02-02 15:51:50 +00:00
Rolf Bjarne Kvinge f3b7aa8afc [System.Xml] Overwrite instead of append so that subsequent executions doesn't end up with garbage in the output. 2015-02-02 13:51:42 +01:00
Rodrigo Kumpera 03a28d987a [jit] Fix bad_method_regression_2 when SSA is enabled on 32bits. 2015-02-01 19:20:17 -05:00
Zoltan Varga 3edd4ffe6b Merge pull request #1540 from esdrubal/marshallingcache
[runtime] Added native_func_wrapper_cache.
2015-01-31 02:42:34 -05:00
Zoltan Varga 910ebf9438 [jit] Increase the inline memcpy/memset cutoff to 8 machine words. 2015-01-30 23:50:28 -05:00
Zoltan Varga 1f5b328219 [llvm] Add a new LLVMArgAsFpArgs argument passing convention which means an argument is passed as a set of fp scalar arguments, i.e. HFAs on arm64. 2015-01-30 20:59:55 -05:00
Zoltan Varga 4b2d1f0edc Fix a warning. 2015-01-30 19:15:24 -05:00
Zoltan Varga 4bd4e7539a [arm] Enable llvm for methods with struct arguments larger than 2 words. 2015-01-30 17:46:43 -05:00
Zoltan Varga d4077516ed [runtime] Disable a test which fails with llvm/gcc. 2015-01-30 15:43:22 -05:00
Rodrigo Kumpera c731686feb Don't include the poll backed directly into the threadpool source code. 2015-01-30 14:07:52 -05:00
Rodrigo Kumpera ebf7c45f74 [runtime] Skip the finalizer thread while it's sleeping. 2015-01-30 14:07:52 -05:00
Marcos Henrich 09c48bc964 [runtime] Added native_func_wrapper_cache.
mono_marshal_get_native_func_wrapper now uses native_func_wrapper_cache indexed by SignaturePointerPair,

Using SignaturePointerPair index instead of MonoMethod index avoids problems when one native function needs multiple wrappers.
e.g: when the managed code creates delegates for function pointers with parameters that require different marshallings.

This fixes bug 26127.
2015-01-30 17:01:45 +00:00
Marcos Henrich e8f48de9bb [runtime] Renamed SignatureMethodPair to SignaturePointerPair.
Changed field MonoMethod* method to gpointer pointer.
This change was done because we need in some cases to use a signature pointer pair.
2015-01-30 15:26:03 +00:00
Marek Safar 26618719fe Merge pull request #1539 from directhex/use-referencesource-for-System.Web.ApplicationServices
Include hard-coded strings (SR.cs-style) rather than using AppliCationServicesStrings.Designer.cs
2015-01-30 15:13:37 +01:00
Jo Shields b88fc96610 Include hard-coded strings (SR.cs-style) rather than using AppliCationServicesStrings.Designer.cs
This avoids depending on a missing .resources file with string translations in it
2015-01-30 14:09:15 +00:00
João Matos 6fa8f480dd Merge pull request #1538 from directhex/use-referencesource-for-System.Web.ApplicationServices
Switch System.Web.ApplicationServices to ReferenceSource.
2015-01-30 12:45:38 +00:00
Jo Shields ea88432e49 Switch System.Web.ApplicationServices to referencesource
Due to the removal of the net_2_0 profile, the files in ../System.Web/System.Web.Security aren't included in make dist anymore since they aren't used in System.Web (the classes got moved to System.Web.ApplicationServices.dll in .NET 4).

This breaks the tarball builds, as System.Web.ApplicationServices relies
on those files, so we now include the ReferenceSource equivalents instead.
2015-01-30 12:44:47 +00:00
Rodrigo Kumpera 2436f4c059 [runtime] Use MonoError instead of loader error with signature parsing. 2015-01-30 01:03:01 -05:00
Sebastien Pouliot 998dbd5a9d Bump referencesource to disable CAS calls on System.Componentmodel.TypeDescriptor [#26554] 2015-01-29 19:58:45 -05:00
Alex Rønne Petersen f3d7670010 [mini] Fix Enum.HasFlag () intrinsic emitting a bad OP_LCEQ on 32-bit. 2015-01-30 01:10:31 +01:00
Zoltan Varga 8b6ae32c26 Fix the dreg op the long_ccc instructions, those instructions return ints. 2015-01-29 19:09:43 -05:00
Mark Probst d43c5b2723 Merge pull request #1537 from evincarofautumn/color-binprot
Add color mode to sgen-grep-binprot.
2015-01-29 14:09:14 -08:00
Jon Purdy b63d941ba0 [runtime] Add color mode to sgen-grep-binprot.
When searching for a pointer with '--color' or '-c', the field in a
protocol entry that matched will be highlighted; when searching for
multiple pointers, they will be highlighted in different colors
according to their order on the command line. When highlighting more
than six pointers, colors will be reused.
2015-01-29 13:51:27 -08:00
Jon Purdy 9df536fcc6 [runtime] Fix incorrect labels in sgen-grep-binprot output. 2015-01-29 12:52:13 -08:00
Miguel de Icaza 4bc5170cb5 Add more detail 2015-01-29 15:39:59 -05:00
Miguel de Icaza 9e53c70376 [lldb] Document and install the mono.py file for LLDB 2015-01-29 15:33:48 -05:00
Zoltan Varga 2457f29139 Fix a warning. 2015-01-29 15:29:45 -05:00
Alex Rønne Petersen bc13a8125e [mini] Fix decomposition of long opcodes in VolatileRead ()/VolatileWrite () intrinsics. 2015-01-29 19:06:33 +01:00
Alex Rønne Petersen 8221afc2bc Optimize Enum.HasFlag () implementation and recognize it in the JIT.
The previous implementation did a ton of reflection and boxing making
it about 4x slower than it should be. This new (native) implementation
simply memcpy ()s the values out of the Enum objects and then does the
bitwise AND.

In addition, the JIT now recognizes this common IL pattern:

	<push int or long ptr>
	<push int or long>
	box MyFlagsEnum
	constrained. MyFlagsEnum
	callvirt instace bool class [mscorlib] System.Enum::HasFlag (class [mscorlib] System.Enum)

This is generated from C# code such as:

	MyFlagsEnum a = ..., b = ...;
	a.HasFlag (b);

When the operand types of the `box` and `constrained.` instructions are
the same, we can skip all the slow stuff that HasFlag () normally does
and simply turn the whole thing into this IR:

	<this> = loadi4_membase <this_ptr>
	<temp> = int_and <this> <flag>
	icompare <temp> <flag>
	<result> = int_ceq

This is about 60x faster than the old HasFlag () without any JIT support
and about 15x faster than the new HasFlag () native implementation.

Also, added missing argument checks to HasFlag ().
2015-01-29 19:06:33 +01:00
João Matos 32db079545 [build] Updated the class library MSBuild projects. 2015-01-29 17:02:08 +00:00
Rodrigo Kumpera 7551802f99 Merge pull request #1536 from esdrubal/noreuse
[runtime] MonoIO methods using SafeHandle now prevent handle reuse.
2015-01-29 10:15:05 -06:00
João Matos 8c8eb43638 [System.Core] Fixed interpreter build. 2015-01-29 16:11:37 +00:00
Miguel de Icaza 27da886fe8 [FtpWebRequest] Add test for bug #26312, issue was fixed by bringing .NET's implementation 2015-01-29 10:45:59 -05:00
Marcos Henrich cfbd2c797b [runtime] MonoIO methods using SafeHandle now prevent handle reuse.
This reverts partially commit 753229c72dd9f2b63beb097700e350164b887c2.

Marshallers are not called for ICalls parameters so the change of ICalls parameters to SafeHandle did not prevents handle reuse.

To prevent handle reuse ICalls are no longer called directly.
Instead we call a method that receives a SafeHandle and wraps the ICall call with safeHandle.DangerousAddRef and safeHandle.DangerousReleaseRef.

This guarantees that the safe handle reference countererence does not reach zero before or while the ICall, thus avoiding the handle beeing released and possibly reused.
2015-01-29 15:27:57 +00:00
Marek Safar 01557ce516 [system.core] Fixes MT build 2015-01-29 15:54:54 +01:00
Marcos Henrich d08bfead6f [symbolicate] Added tool README. 2015-01-29 13:13:00 +00:00
Rodrigo Kumpera dc953f8095 [eglib] [io-layer] Have a single wrapper around getdtablesize. This removes the duplicate on io-layer and exports the eglib one. 2015-01-28 20:28:13 -05:00
Zoltan Varga d547860431 [mdoc] More updates to expected test output. 2015-01-28 20:15:28 -05:00
Alex Rønne Petersen 55b090587d [mini] Prefer OP_ICEQ over OP_CEQ in i4 CAS intrinsics. 2015-01-29 01:17:06 +01:00
Zoltan Varga 57a302ce03 [arm64] Add tests for loading of sbyte/bool arguments passed on the stack. 2015-01-28 18:39:24 -05:00
Rodrigo Kumpera 3798f91417 [profiler] Report methods not found in async mode due to AOT. 2015-01-28 18:25:46 -05:00
Rodrigo Kumpera bb83aaa4f0 [utils] Fix mono_dl_build_path termination logic. 2015-01-28 18:25:45 -05:00
Rodrigo Kumpera 1e47df3c7b [runtime] Fix appdomain loading event ordering. 2015-01-28 18:25:41 -05:00
Kai Ruhnau 46b5b849ae Populate the RequestingAssembly property of ResolveEventArgs 2015-01-28 18:15:30 -05:00
Zoltan Varga 98949d2e25 Merge pull request #1535 from StephenMcConnel/bug-26523
Fix the default behavior of ToolStripLayoutStyle.Table
2015-01-28 17:54:38 -05:00
Stephen McConnel aa7bfb2359 Fix the default behavior of ToolStripLayoutStyle.Table
This addresses https://bugzilla.xamarin.com/show_bug.cgi?id=26523.
2015-01-28 16:52:40 -06:00
Alex Rønne Petersen 962c9682ab [mini] Add some missing atomic instructions to cpu-arm64.md. 2015-01-28 23:48:36 +01:00
Ludovic Henry 2c524916b7 [runtime] Fix #26307 "Random crash due to threading issue in new threadpool heuristics code"
By locking `threads_lock` before launching the thread, we guarantee that the thread is not going to remove itself from `threads` before we actually add it to `threads`.
2015-01-28 15:56:07 -05:00
Zoltan Varga d1647dabf8 Merge pull request #1533 from jbevain/pdb2mdb-roslyn
[pdb2mdb] Skip unknown pdb metadata
2015-01-28 15:45:26 -05:00
Rodrigo Kumpera 36afbc6563 Merge pull request #1510 from BrzVlad/fix-file-map
Fix file map
2015-01-28 14:18:19 -06:00
Mark Probst 5f70b2e00b Merge pull request #1527 from ludovic-henry/master
[runtime] Generate binary protocol functions and structure with macro
2015-01-28 10:12:50 -08:00
Alex Rønne Petersen 5b1bce5693 [mini] Add atomic load/store instructions for float/double. 2015-01-28 18:29:09 +01:00
Alex Rønne Petersen 40ad17a1c3 [mini] Lower atomic load/store instruction sizes on ARM. 2015-01-28 18:29:09 +01:00
Alex Rønne Petersen 133aad946c [mini] Fix some warnings. 2015-01-28 18:29:09 +01:00
João Matos 78e28d1121 [runtime] Fixed mono_dl_open_file to work in Android. 2015-01-28 17:21:22 +00:00
Ludovic Henry b9da8d3f1e [runtime] Generate binary protocol functions and structure with macro
You just have to edit mono/metadata/sgen-protocol-def.h to generate a new binary protocol entry type
2015-01-28 11:51:51 -05:00
Marcos Henrich 4f2b974bfa [symbolicate] Added symbolicate.expected.
The added file Test/symbolicate.expected contains the value that we expect to find in Test/out/symbolicate.out.
make check now uses Test/symbolicate.expected.
2015-01-28 16:35:13 +00:00
Marcos Henrich c052b2618c [runtime] Duplicated instructions OP_IL_SEQ_POINT are now removed.
Sequences of OP_IL_SEQ_POINT instructions are now reduced to only the instruction.
This removes about half of the generated sequence point instructions.
2015-01-28 16:35:13 +00:00
Marek Safar b23077459a [System.Core] More reference sources 2015-01-28 16:30:19 +01:00
Marek Safar f90fe36593 [corlib] Move Aes.cs to corlib 2015-01-28 16:30:19 +01:00
Marek Safar 895f9cc39e [system.core] Profiles cleanup 2015-01-28 16:30:18 +01:00
Marek Safar cba3edec90 [corlib] Move TimeZoneInfo source files to assembly they are used 2015-01-28 16:30:18 +01:00
Marek Safar a303b38586 [system.core] Cleanup TimeZoneInfo ifdefs 2015-01-28 16:30:18 +01:00
João Matos 786edf7ad6 [msvc] Updated runtime project files. 2015-01-28 15:09:14 +00:00
João Matos cde444ffb0 [runtime] Windows build fixes. 2015-01-28 15:07:17 +00:00
Jb Evain 974526dd3c [pdb2mdb] Skip unknown pdb metadata
This patch allows pdb2mdb to convert pdb files containing
metadata items emitted by the Roslyn compiler.
2015-01-28 15:36:46 +01:00
Alex Rønne Petersen 4d72abb180 [mini] Fix a few cases where incorrect vreg types were being allocated for intrinsics. 2015-01-28 14:36:49 +01:00
Alex Rønne Petersen c6fb35d47d [mini] Fix stack type for atomic intrinsics involving IntPtr. 2015-01-28 14:36:49 +01:00
Rolf Bjarne Kvinge 2bdeceed14 [mono-api-html] Take arity into account when comparing methods.
Fixes a crash when there are two methods overloaded by arity:

System.InvalidOperationException: Sequence contains more than one matching element
  at System.Linq.Enumerable.Single[XElement] (IEnumerable`1 source, System.Func`2 predicate, Fallback fallback) [0x00038] in /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/System.Core/System.Linq/Enumerable.cs:2371
  at System.Linq.Enumerable.SingleOrDefault[XElement] (IEnumerable`1 source, System.Func`2 predicate) [0x00007] in /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/System.Core/System.Linq/Enumerable.cs:2445
  at Xamarin.ApiDiff.MemberComparer.Find (IEnumerable`1 target) [0x00019] in /Users/builder/data/lanes/macios-mac-master/177810cb/source/mono/mcs/tools/corcompare/mono-api-html/MemberComparer.cs:72
  at Xamarin.ApiDiff.MemberComparer.Compare (IEnumerable`1 source, IEnumerable`1 target) [0x0003c] in /Users/builder/data/lanes/macios-mac-master/177810cb/source/mono/mcs/tools/corcompare/mono-api-html/MemberComparer.cs:83
  at Xamarin.ApiDiff.MemberComparer.Compare (System.Xml.Linq.XElement source, System.Xml.Linq.XElement target) [0x000a2] in /Users/builder/data/lanes/macios-mac-master/177810cb/source/mono/mcs/tools/corcompare/mono-api-html/MemberComparer.cs:55
  at Xamarin.ApiDiff.ClassComparer.Modified (System.Xml.Linq.XElement source, System.Xml.Linq.XElement target) [0x0005b] in /Users/builder/data/lanes/macios-mac-master/177810cb/source/mono/mcs/tools/corcompare/mono-api-html/ClassComparer.cs:210
  at Xamarin.ApiDiff.Comparer.Compare (IEnumerable`1 source, IEnumerable`1 target) [0x00093] in /Users/builder/data/lanes/macios-mac-master/177810cb/source/mono/mcs/tools/corcompare/mono-api-html/Comparer.cs:80
  at Xamarin.ApiDiff.ClassComparer.Compare (System.Xml.Linq.XElement source, System.Xml.Linq.XElement target) [0x00055] in /Users/builder/data/lanes/macios-mac-master/177810cb/source/mono/mcs/tools/corcompare/mono-api-html/ClassComparer.cs:67
  at Xamarin.ApiDiff.NamespaceComparer.Modified (System.Xml.Linq.XElement source, System.Xml.Linq.XElement target) [0x0001a] in /Users/builder/data/lanes/macios-mac-master/177810cb/source/mono/mcs/tools/corcompare/mono-api-html/NamespaceComparer.cs:75
  at Xamarin.ApiDiff.Comparer.Compare (IEnumerable`1 source, IEnumerable`1 target) [0x00093] in /Users/builder/data/lanes/macios-mac-master/177810cb/source/mono/mcs/tools/corcompare/mono-api-html/Comparer.cs:80
  at Xamarin.ApiDiff.NamespaceComparer.Compare (System.Xml.Linq.XElement source, System.Xml.Linq.XElement target) [0x00055] in /Users/builder/data/lanes/macios-mac-master/177810cb/source/mono/mcs/tools/corcompare/mono-api-html/NamespaceComparer.cs:49
  at Xamarin.ApiDiff.AssemblyComparer.Modified (System.Xml.Linq.XElement source, System.Xml.Linq.XElement target) [0x0002b] in /Users/builder/data/lanes/macios-mac-master/177810cb/source/mono/mcs/tools/corcompare/mono-api-html/AssemblyComparer.cs:70
  at Xamarin.ApiDiff.Comparer.Compare (IEnumerable`1 source, IEnumerable`1 target) [0x00093] in /Users/builder/data/lanes/macios-mac-master/177810cb/source/mono/mcs/tools/corcompare/mono-api-html/Comparer.cs:80
  at Xamarin.ApiDiff.AssemblyComparer.Compare () [0x0004a] in /Users/builder/data/lanes/macios-mac-master/177810cb/source/mono/mcs/tools/corcompare/mono-api-html/AssemblyComparer.cs:50
  at Xamarin.ApiDiff.Program.Main (System.String[] args) [0x00328] in /Users/builder/data/lanes/macios-mac-master/177810cb/source/mono/mcs/tools/corcompare/mono-api-html/ApiDiff.cs:164
2015-01-28 14:17:17 +01:00
Alex Rønne Petersen 416cbef8d8 [mini] Recognize and optimize Thread.VolatileRead ()/VolatileWrite (). 2015-01-28 13:30:57 +01:00
Alex Rønne Petersen 90d942e1c5 [mini] Recognize and optimize the new 4-parameter CAS overload. 2015-01-28 11:57:06 +01:00
Alex Rønne Petersen 9f3f9b174c [corlib] Add a new generated test file to .gitignore. 2015-01-28 11:57:06 +01:00
Jo Shields 559b0b2c67 Missing bracket from 8b10cef3 2015-01-28 10:50:32 +00:00
Marek Safar d5febd5365 [mdoc] update expected delegate exceptions 2015-01-28 10:07:15 +01:00
Zoltan Varga e5d76a7074 [amd64] Add 32bit fp codegen macros. 2015-01-27 20:25:56 -05:00
Rodrigo Kumpera 417fc5e789 [runtime] Cleanup networking init/shutdown code. 2015-01-27 18:35:38 -05:00
Rodrigo Kumpera 8b10cef344 [utils] Cleanup the dynamic loading code and split the platform specific code into multiple files.
This makes the actual code much simpler to read and work with as we can clearly see what's done on each
target.
2015-01-27 17:59:33 -05:00
Zoltan Varga 69dc4238a2 Merge pull request #1530 from StephenMcConnel/bug-26478
Fix TextBox display to handle kerning fonts
2015-01-27 16:47:24 -05:00
Stephen McConnel 3280b20650 Fix TextBox display to handle kerning fonts
Many fonts, including the default DejaVu Sans, use kerning between
certain character pairs.  This resulted in garbled or even invisible
display during typing of strings with a lot of kerning going on.  An
attempt is made to retain the current speed-optimized implementation
while using accurate, slower string width measurements when needed.
See https://bugzilla.xamarin.com/show_bug.cgi?id=26478 for details.
2015-01-27 15:40:11 -06:00
Marcos Henrich 81af7de23d [symbolicate] Makefile fixes. 2015-01-27 18:54:18 +00:00
Zoltan Varga ec1244784c Add tools/symbolicate to the build. 2015-01-27 13:49:30 -05:00
Marek Safar 6a0b61634d [corlib] Remove redundant checks from delegate::combine 2015-01-27 19:46:55 +01:00
Zoltan Varga d2ec22099a [sdb] Avoid errors when a vtype method is invoked with the InvokeOptions.Virtual flag set. 2015-01-27 13:09:59 -05:00
Marek Safar 0d1f48b9e1 [mcs] Fix type inference fixing to filter all candidates 2015-01-27 18:53:17 +01:00
Atsushi Eno 057623eb7c Merge pull request #1529 from alistair/xmlreader_read_to_next_sibling_bug
XmlReader.ReadToNextSibling(string) doesn't match .net behaviour
2015-01-28 01:04:26 +08:00
Marek Safar a24bb201eb Revert referencesource change from 9ac4b5b7a7 2015-01-27 17:58:29 +01:00
Marek Safar 52a93b2dbb Revert to broken scope reference indexing 2015-01-27 17:58:29 +01:00
Marcos Henrich 0e3f9853ac [symbolicate] Added target check to Makefile.
Target check verifies that symbolicate is capable of returning a debug stacktrace from a release stackframe.
2015-01-27 16:25:16 +00:00
Alistair Bush aba3b1a915 Unit test for reproduction of XmlReader.ReadToNextSibling behaviour 2015-01-28 04:17:52 +13:00
Marek Safar 3abac7458e Update ikvm 2015-01-27 16:14:54 +01:00
João Matos b655fb35c6 [runtime] Fixed MONO_STRUCT_OFFSET to work with non-cross builds. 2015-01-27 15:06:08 +00:00
Alex Rønne Petersen 157db2ae27 [corlib] Switch to reference source System.Threading.SpinLock. 2015-01-27 13:05:28 +01:00
Alex Rønne Petersen 4f5195edd2 [mini] Make intrinsic method signature checks more robust.
This is so we can avoid miscompiling things left and right
when new overloads are added. For example, before this patch,
we miscompiled the new 4-parameter CAS () overload.
2015-01-27 13:05:28 +01:00
Marcos Henrich 951299ddae test_op_il_seq_point.sh now properly generates tmp files. 2015-01-27 10:59:14 +00:00
Marcos Henrich b457329942 test_op_il_seq_point.sh now calls mono with option --compile-all=1
Calling mono with flag --compile-all=1 avoids running the code and possible stdout problems and it also compiles every method.
As test_op_il_seq_point.sh now only compiles it is now capable of testing libraries and executables that are expecting parameters.
2015-01-27 09:37:48 +00:00
Zoltan Varga 2140250e4f [corlib] Wait for tasks to finish in some Tasks tests to prevent races between tests. 2015-01-26 19:59:06 -05:00
Vlad Brezae 8b914ca48b When map size is 0, use the aligned size of the file.
As MS does.
2015-01-26 15:08:15 -08:00
Vlad Brezae 08f78b1615 Fail on mappings that exceed the file size.
As MS does.
2015-01-26 15:08:14 -08:00
Vlad Brezae 495cd1500b Fix handling of mappings over file size.
Add tests.
2015-01-26 15:08:14 -08:00
Vlad Brezae 3f81926327 Fix truncation of newly created map files.
File truncation could skip due to the fact that st_size field is only initialized for already existing files.
2015-01-26 15:06:53 -08:00
Zoltan Varga 85d7771306 [sdb] Avoid errors when a static method is invoked with the InvokeOptions.Virtual flag set. 2015-01-26 17:59:32 -05:00
Rodrigo Kumpera 89ed7a9018 [runtime] Check for sigaction been present when trying to use signals. 2015-01-26 16:30:43 -05:00
Rodrigo Kumpera b3a4976b6d [utils] Explicitly check if the system has mincore instead of relying on mmap been present. 2015-01-26 16:30:42 -05:00
Zoltan Varga b97979906b [runtime] Add infrastructure code for getting/setting Thread.Priority. 2015-01-26 15:13:46 -05:00
Rodrigo Kumpera 9ac4b5b7a7 [runtime] Introduce MonoError into mono_metadata_parse_method_signature_full. 2015-01-26 14:50:36 -05:00
Rodrigo Kumpera a4188b73cd Fix loader error <> MonoError interop. 2015-01-26 14:26:18 -05:00
Marek Safar 3632d51916 [corlib] Report constructor ContainsGenericParameters by inspecting parent type. Fixes #26412 2015-01-26 18:12:00 +01:00
Marek Safar 8fcdfeda92 Update reference sources to correctly fix #26375 2015-01-26 17:41:53 +01:00
Alex Rønne Petersen 1a858cbfbd [runtime] Use MonoBoolean in icall signature, not gboolean. 2015-01-26 17:14:51 +01:00
João Matos 20eb41f97a [runtime] Fixed the iOS build.
Failure caused by https://github.com/mono/mono/commit/2f1b464beb14a1b6b6099a03fc332493293bef35.

```
../../../../../mono/mono/utils/mono-proclib.c:104:8: error: use of undeclared identifier 'errno'
                        if (errno != ENOMEM)
                            ^
../../../../../mono/mono/utils/mono-proclib.c:104:17: error: use of undeclared identifier 'ENOMEM'
                        if (errno != ENOMEM)
```
2015-01-26 14:59:39 +00:00
João Matos b52a468f49 Partial revert of "Fixes mobile build"
This reverts commit 4d3877d23b.

We cannot remove this file as the build logic is expecting it since we override it from mono-extensions.

```System/Guid.cs(42,7): error CS0246: The type or namespace name `Crimson' could not be found. Are you missing an assembly reference?```
2015-01-26 14:59:39 +00:00
Marek Safar fc81c9a972 Revert corlib changes from 268627a68b 2015-01-26 15:50:58 +01:00
Marek Safar 268627a68b [mcs] Emit catch scope with correct start offset. Also fixes local variable scope index reference. Fixes #25358 2015-01-26 15:46:03 +01:00
Alex Rønne Petersen 506d405b98 Fixup for 2644152b06.
Accidentally committed an incomplete patch.
2015-01-26 14:11:20 +01:00
Marek Safar b3c4d9d786 Merge pull request #1521 from esdrubal/fshandle
[corlib] FileStream now uses SafeFileHandle.
2015-01-26 13:46:05 +01:00
Marcos Henrich 7a81fd5b30 [corlib] FileStream now uses SafeFileHandle.
FileStream now stores a SafeFileHandle instead of a IntPtr handle.
Added ObjectDisposedException to more methods.
2015-01-26 12:27:44 +00:00
Marcos Henrich 753229c72d [corlib] Changed some MonoIO methods to use SafeHandle. 2015-01-26 12:27:42 +00:00
João Matos 6c65d62a14 [System] Fixed mobile build. 2015-01-26 12:03:17 +00:00
Jo Shields cd9db9cb45 Merge pull request #1525 from akoeplinger/fix-dynamicdata-test
[System.Web.DynamicData] Fix MetaColumnTest.Attributes() test
2015-01-26 10:31:36 +00:00
Alex Rønne Petersen 33e5da7a47 Revert "[runtime] Fix getting main thread's stack size with musl."
This reverts commit 67d84faecb.

This is not enough on its own to fix sigaltstack support with musl.
2015-01-26 07:11:51 +01:00
Alex Rønne Petersen 67d84faecb [runtime] Fix getting main thread's stack size with musl.
See the code for an explanation of this mess.
2015-01-25 16:14:23 +01:00
Alexander Köplinger cb3835ba9e [System.Web.DynamicData] Fix MetaColumnTest.Attributes() test
It started failing when code from MS referencesource was imported.
I checked on MS.NET and the list of attributes is now the same on Mono
(except an additional __DynamicallyInvokableAttribute on MS.NET).
2015-01-25 15:05:16 +01:00
Alex Rønne Petersen 36589008a4 [runtime] Fix build when using musl libc. 2015-01-25 08:30:34 +01:00
Zoltan Varga 1d5f1c4760 Merge pull request #1522 from StephenMcConnel/bug-26258
Fix occasional rendering problem in TextBoxes
2015-01-24 22:10:10 -05:00
Zoltan Varga 2f1b464beb [runtime] Avoid failures in Process.GetProcesses () when the number of processes is above 400. Fixes #26382. 2015-01-24 21:14:53 -05:00
Zoltan Varga b21fe11d6c [runtime] Allow spaces after commas in generic instances passed in Type.GetType (). Fixes #26384. 2015-01-24 19:22:54 -05:00
Zoltan Varga f342649f75 [jit] Properly inflate method signatures used in CEE_NEWOBJ opcodes. Fixes #26346. 2015-01-24 19:11:11 -05:00
Marek Safar 4d3877d23b Fixes mobile build 2015-01-24 09:25:35 +01:00
Alex Rønne Petersen 94a922305a [mini] Fix setting stack type for some atomic instructions.
Fixes some assertion failures introduced by 78141114e3.
2015-01-24 08:47:10 +01:00
Zoltan Varga 0efa5704f4 Fix the build. 2015-01-23 20:13:05 -05:00
Alex Rønne Petersen 4d24ccadc6 [mini] Implement OP_MEMORY_BARRIER on MIPS. 2015-01-24 01:08:02 +01:00
Alex Rønne Petersen f457dee224 [mini] Fix CAS atomic ordering under LLVM.
AcquireRelease [0] and SequentiallyConsistent [1] are not equivalent.

[0] http://llvm.org/docs/Atomics.html#acquirerelease
[1] http://llvm.org/docs/Atomics.html#sequentiallyconsistent
2015-01-24 01:08:02 +01:00
Alex Rønne Petersen c118dae7d3 [mini] Add atomic load/store instruction definitions for ARM64. 2015-01-24 01:08:02 +01:00
Alex Rønne Petersen 5bf4ab138d [mini] Implement atomic load/store instructions on ARM. 2015-01-24 01:08:02 +01:00
Alex Rønne Petersen 52bfd89d96 [mini] Implement atomic load/store instructions on x86. 2015-01-24 01:08:02 +01:00
Alex Rønne Petersen c25ff177fd [mini] Implement atomic load/store instructions on AMD64. 2015-01-24 01:08:01 +01:00
Alex Rønne Petersen df625319bb [mini] Implement atomic load/store opcodes in the LLVM backend.
Requires a newer Mono LLVM fork and is only enabled on MONO_API_VERSION >= 4.
2015-01-24 01:08:01 +01:00
Alex Rønne Petersen 3198e62024 [mini] Add new atomic load/store opcodes with acq/rel/seq semantics.
These are emitted by recognizing Interlocked and Volatile methods. They allow
us to generate more efficient instruction sequences on certain architectures
(e.g. ARM64 which has specialized load-acquire and store-release instructions).
2015-01-24 01:08:01 +01:00
Alex Rønne Petersen 78141114e3 [mini] Also match Interlocked.Exchange<T> () in mono_method_to_ir (). 2015-01-24 01:08:01 +01:00
Alex Rønne Petersen e901b3377c [mini] Memory barrier fixes, simplifications, and optimizations.
* Barrier semantics is now specified as acquire, release, and sequentially
  consistent. This is in line with CIL/.NET semantics and also maps better to
  LLVM's fence types.
* Use the mfence instruction for memory barriers on AMD64 as it's smaller
  (and presumably also faster).
* We now emit specific barriers when using LLVM instead of always emitting
  sequentially consistent barriers.
* Barriers emitted for the CIL volatile prefix instruction are now more
  specific instead of always being sequentially consistent.
* Fixed emission of CEE_MONO_MEMORY_BARRIER in SGen's managed allocators. For
  some reason (that I haven't had time to look into), mono_mb_emit_op ()
  clobbers the barrier kind operand. This meant that in many cases we ended
  up not actually emitting any barriers because the switches in the backends
  didn't handle the clobbered values. mono_mb_emit_i4 () seems to work.
* Fixed handling of CEE_MONO_MEMORY_BARRIER in mono_method_to_ir (). Since it's
  a custom opcode, the opcode is actually 2 bytes long. Another source of
  barriers not actually being emitted.
2015-01-24 01:08:01 +01:00
Alex Rønne Petersen 2644152b06 Add an internal Interlocked.CompareExchange () icall overload needed by MS BCL. 2015-01-24 01:08:01 +01:00
Martin Baulig 3bcd0eb9de Bump referencesource to un-break Xamarin Studio.
See https://bugzilla.xamarin.com/show_bug.cgi?id=26375.
2015-01-24 00:48:16 +01:00
João Matos be92f03550 [runtime] Get Mono's LLVM API version from the LLVM repo when cross compiling.
The previous code was hardcoding Mono's LLVM API version which was less than ideal. The API has been bumped twice since without this being updated.

This depends on a recent Mono LLVM version, at least https://github.com/mono/llvm/commit/607aeaae423da73e6ddfe49af4741fa1bc5f9e78.
2015-01-23 16:46:32 +00:00
João Matos 6d17bd5611 [mini] Include signal.h in mini.c.
This fixes Monodroid cross build, which broke with https://github.com/mono/mono/commit/adca49cdd28e7c7b0cc65073167c143cc5f52fdd.

Error:

```
/Users/joao/Dev/droid/mono/mono/mini/mini.c:6645:31: note: each undeclared identifier is reported only once for each function it appears in
/Users/joao/Dev/droid/mono/mono/mini/mini.c: In function 'mono_sigsegv_signal_handler':
/Users/joao/Dev/droid/mono/mono/mini/mini.c:6704:31: error: 'SIGSEGV' undeclared (first use in this function)
   mono_handle_native_sigsegv (SIGSEGV, ctx, info);
```
2015-01-23 16:41:16 +00:00
João Matos 73292633fc [runtime] Check for signal.h when targeting Win32.
This fixes Monodroid cross build, which broke with https://github.com/mono/mono/commit/adca49cdd28e7c7b0cc65073167c143cc5f52fdd.
2015-01-23 16:40:07 +00:00
Marek Safar a09f7c6f7b Revert "[System] Remove network interface operational status test."
This reverts commit 519582150d.
2015-01-23 13:46:49 +01:00
Marek Safar a4a6ad39f8 [corlib] Add more tests 2015-01-23 13:46:26 +01:00
João Matos 519582150d [System] Remove network interface operational status test.
This test is proving to be problematic since the status of interfaces can be different on OSs.
2015-01-23 12:38:41 +00:00
Marek Safar b18af252e9 Fixes 579084d1f7 commit 2015-01-23 13:21:15 +01:00
Marek Safar dc462a850b [corlib] Increase timeout of failing test 2015-01-23 11:45:42 +01:00
Marcos Henrich 92f04b8636 [corlib] Added tests for FileStream SafeHandle. 2015-01-23 10:41:53 +00:00
Marek Safar 140d6e440c [system] Implement Android specific domain name. Fixes #26305 2015-01-23 11:23:10 +01:00
Marek Safar 579084d1f7 [system] Fixes failing test 2015-01-23 11:08:28 +01:00
Marek Safar 772c45aaf9 Revert "[corlib] StringBuilder from reference sourcers"
This reverts commit ef6b35a009.
2015-01-23 10:42:06 +01:00
Marek Safar ef6b35a009 [corlib] StringBuilder from reference sourcers 2015-01-23 10:24:10 +01:00
Zoltan Varga 5090e3557a [sdb] Move the checking of the various debugger attributes to one function to make it easier to add support for DebuggerStepperBoundaryAttribute. 2015-01-22 18:44:39 -05:00
Martin Baulig 335258b147 [System]: Add new internal Socket APIs. 2015-01-22 23:10:56 +01:00
Zoltan Varga 879cd1bed1 [runtime] Add a preliminary mono support mode for lldb. Currently, pretty printing some runtime types is supported. 2015-01-22 16:42:56 -05:00
Zoltan Varga af7a963fc0 [runtime] Use the new one parameter ctor to create RuntimeWrappedException objects. 2015-01-22 16:01:49 -05:00
Marek Safar 066bbf8b21 [corlib] Remove current timezone specific tests 2015-01-22 15:55:08 -05:00
Marek Safar f30d7e21a8 [Microsoft.Build.BuildEngine] Update failing test 2015-01-22 21:33:53 +01:00
Martin Baulig f0abad3748 Bring Internal.cs, Logging.cs and _LoggingObject.cs. 2015-01-22 20:28:10 +01:00
Martin Baulig c7d14ed7d8 Fix KeyContainerPermission.SetFlags(). 2015-01-22 20:27:07 +01:00
Martin Baulig 5311437f06 Make TraceSource.GetSupportedAttributes() "protected internal". 2015-01-22 20:26:59 +01:00
Martin Baulig dcfd3f23d1 The class needs to be called `FriendAccessAllowedAttribute'. 2015-01-22 20:26:52 +01:00
Mark Probst 14eda7354d [sgen] MONO_GC_DEBUG options to not run finalizers. 2015-01-22 14:04:00 -05:00
Stephen McConnel e62a37d332 Fix occasional rendering problem in TextBoxes
See https://bugzilla.xamarin.com/show_bug.cgi?id=26258 for details.
2015-01-22 12:26:42 -06:00
Zoltan Varga a9af48a4a6 Fix the build. 2015-01-22 12:27:03 -05:00
Zoltan Varga 412f680e56 [runtime] Make RuntimeWrappedExceptions work with the new reference source version of RuntimeWrappedException. 2015-01-22 12:20:26 -05:00
Martin Baulig 20d845ca07 Merge pull request #1156 from felfert/master
Fixed Bug #21135 - Deadlock in WebConnectionStream
2015-01-22 17:21:24 +01:00
Marek Safar 7c3c908458 [corlib] referencesources update 2015-01-22 17:04:26 +01:00
Crisdut 7c39ab701b Add unit test for the bug #1849 2015-01-22 15:41:59 +00:00
Crisdut 8098123ec2 Fix the bug #1849 2015-01-22 15:41:59 +00:00
Marek Safar ea6a13d413 Remove unused files 2015-01-22 16:05:40 +01:00
Marek Safar 5352329186 [corlib] Calendars from reference sources 2015-01-22 16:05:40 +01:00
Marek Safar 346894957c [corlib] generic collections from reference sources 2015-01-22 16:05:40 +01:00
Marek Safar 585c1278cb Merge pull request #1520 from madrang/SafeHandleFix
Small fix for SafeHandle Disposing
2015-01-22 11:33:04 +01:00
Neale Ferguson c9722940db Add memory barrier support using BCR 14,0 2015-01-22 05:12:17 -05:00
Marc-Andre Ferland b4776f20c7 Small fix for SafeHandle Disposing 2015-01-22 01:55:01 -05:00
Zoltan Varga 0c4cc7160a Merge pull request #1518 from akoeplinger/remove-only-net11-ifdef
[bcl] Remove ONLY_1_1 defines from class libs
2015-01-21 23:08:47 -05:00
Zoltan Varga 6cf56cbb2f [amd64] Fix r8->int conversions. Fixes #26219. 2015-01-21 15:00:06 -05:00
Zoltan Varga 03724e8d79 [arm64] Add a test for vtypebyref parameters in gsharedvt trampolines. 2015-01-21 13:48:12 -05:00
Zoltan Varga e478ab8364 Merge pull request #1519 from akoeplinger/remove-net35-ifdef
[bcl] Remove NET_3_5 defines from class libs
2015-01-21 12:53:56 -05:00
Alexander Köplinger 2a978a42f1 [bcl] Remove NET_3_5 defines from class libs 2015-01-21 17:59:27 +01:00
Alexander Köplinger d4d7374efc [bcl] Remove ONLY_1_1 defines from class libs
This is not used anymore.
2015-01-21 17:18:30 +01:00
João Matos 1e25d67aef [runtime] Fix sigsev signal handler Win32 build.
This was broken by: https://github.com/mono/mono/commit/45704daf22d1cec17851ce011ee391137932c471
2015-01-21 13:06:33 +00:00
João Matos c28e73de04 Merge pull request #1517 from akoeplinger/fix-network-test
[System] Skip loopback interfaces in the FirstInterfaceOperationalStatus() test
2015-01-21 12:27:39 +00:00
Marek Safar 50f2b63442 [corlib] Contracts and CompilerServices from reference sources 2015-01-21 11:46:03 +01:00
Marek Safar 4fd0f05f66 [corlib] Fixes more SafeHandle failing tests 2015-01-21 11:46:03 +01:00
Marek Safar 018e826d47 Merge pull request #1502 from madrang/SafeHandle.CloseTestDispose
Test that closing handle will release managed resource by calling Dispose
2015-01-21 09:11:28 +01:00
Marek Safar 912dda4613 Merge pull request #1504 from madrang/SafeHandle.SetInvalidRelease
Allows refs to be released after the handle is set as invalid.
2015-01-21 09:11:12 +01:00
Rodrigo Kumpera ebfa2d2b40 [runtime] Remove debug spew. 2015-01-20 15:31:21 -05:00
Zoltan Varga 76558bd382 Merge pull request #1516 from DavidKarlas/getThreadsHang
[sdb] Fixed GetThreads deadlock if thread was started or stopped during GetThread
2015-01-20 15:01:20 -05:00
Rodrigo Kumpera 75a4c28352 [runtime] Introduce mono_ldtoken_check and replace usage of the unchecked one with it. 2015-01-20 12:50:50 -05:00
Rodrigo Kumpera 6a348cfc32 [runtime] Weave MonoError into method_from_method_def_or_ref. 2015-01-20 12:50:50 -05:00
Rodrigo Kumpera 7650568113 [runtime] mono_type_create_from_typespec is no longer used by the runtime, it doesn't need to create a loader error. 2015-01-20 12:50:50 -05:00
Rodrigo Kumpera 4bb01e4a2d [runtime] Remove last usage of mono_class_get. Moving it and its _full variant to the bad to call set. 2015-01-20 12:50:50 -05:00
Rodrigo Kumpera 53424f1fae [runtime] Weave MonoError in mono_metadata_interfaces_from_typedef_full. 2015-01-20 12:50:49 -05:00
Rodrigo Kumpera b2c5eaba5d [runtime] Weave MonoError into more of the loader code. 2015-01-20 12:50:49 -05:00
Rodrigo Kumpera cd4a89e234 [runtime] Add more error checking. 2015-01-20 12:50:49 -05:00
Rodrigo Kumpera e9fc37d44e [runtime] Introduce the usage of mono_class_get_checked in most of the runtime. 2015-01-20 12:50:49 -05:00
Rodrigo Kumpera 027609046e [runtime] Explicitly call mono_class_setup_methods to fail types with bad methods. 2015-01-20 12:50:49 -05:00
Rodrigo Kumpera 047116c246 [runtime] Introduce mono_get_method_checked. 2015-01-20 12:50:48 -05:00
Rodrigo Kumpera 5995bb0ccb [runtime] switch to checked variant of mono_get_method_constrained. 2015-01-20 12:50:48 -05:00
Rodrigo Kumpera b8775906b1 [runtime] Introduce mono_get_method_constrained_checked. 2015-01-20 12:50:48 -05:00
Rodrigo Kumpera a40ade5fef [runtime] mono_get_method_constrained_with_method now uses MonoError. 2015-01-20 12:50:48 -05:00
Rodrigo Kumpera 6d09e35a0f [runtime] Introduce MonoError into get_method_constrained. 2015-01-20 12:50:47 -05:00
Rodrigo Kumpera 396d0623ad [runtime] Fix a loader error leakage. 2015-01-20 12:50:47 -05:00
Rodrigo Kumpera 8e18aca8cf [runtime] Introduce MonoError into mono_get_method_from_token. 2015-01-20 12:50:47 -05:00
Rodrigo Kumpera 20526d840d [runtime] Move the runtime to use the checked variants of mono_class_inflate_generic_method. 2015-01-20 12:50:47 -05:00
Rodrigo Kumpera 0a159bb035 [runtime] Move method_from_methodspec to use MonoError. 2015-01-20 12:50:46 -05:00
Rodrigo Kumpera a0056ed85b [runtime] Make method_from_memberref use MonoError. 2015-01-20 12:50:46 -05:00
Marek Safar d13b92edb1 [System] Extract NetworkInterface factory and implement LoopbackInterfaceIndex for more platforms 2015-01-20 15:04:32 +01:00
Marek Safar 2c472f0670 Merge pull request #1513 from akoeplinger/remove-net20-ifdefs
[bcl] Remove more NET_2_0 checks from class libs
2015-01-20 13:29:40 +01:00
Marek Safar 52cace8bb5 [corlib] Update System.Numeric mobile public key 2015-01-20 13:25:55 +01:00
Marek Safar 191cde43ad [System.Numerics] Update to latest mscorlib 2015-01-20 13:09:43 +01:00
Marek Safar 429fd07df8 [corlib] Primitive types from reference sources 2015-01-20 12:23:29 +01:00
David Karlaš 948689360b [sdb] Fixed GetThreads deadlock if thread was started or stopped during GetThreads call.
Regression introduced in 52b168e336
2015-01-20 11:29:44 +01:00
Zoltan Varga 7ef5dfed95 [sgen] Disable PREFETCH_CARDS when using xcode4 as it causes gcc to crash. 2015-01-19 17:06:43 -05:00
Marek Safar c1a50591da [corlib] Fixed failing covert test 2015-01-19 22:38:49 +01:00
Marek Safar cde677dbaf [corlib] Add more convert checks 2015-01-19 19:50:36 +01:00
Mark Probst abc0bc6fbe [sgen] Fix clearing ephemerons and weak links on domain unload.
At some point we zeroed all the unloaded domain's objects first, and then we cleared
weak links, ephemerons, etc.  Because the objects were zeroes, we only had to
check that the vtable was null.  Now we do it the other way around: clear weak links,
ephemerons, ..., and then zero objects.  Obviously we now need to check for the
object's domain, because their vtables will not be null.
2015-01-19 09:57:23 -08:00
Marek Safar 6f802b490c [corlib] Fixes ToDateTime for primitive types 2015-01-19 16:23:03 +01:00
Marek Safar 519ddb9895 [corlib] Char from reference sourcers 2015-01-19 16:23:03 +01:00
João Matos 435f968102 [runtime] Workaround missing net/route.h in iOS SDK. 2015-01-19 15:07:49 +00:00
Marek Safar c5e4cfc9fb [corlib] More system types from reference sources 2015-01-19 14:07:53 +01:00
Marek Safar 9aefc2627b [corlib] Type's GetInterfaceMap has no implementation 2015-01-19 14:07:53 +01:00
Marek Safar 8c41fbe08f [runtime] Remove Convert icalls 2015-01-19 14:07:53 +01:00
João Matos 396d9dbeb1 Merge pull request #1404 from woodsb02/mono-route
Add mono/metadata/mono-route.c for non-Linux ParseRouteInfo_local
2015-01-19 12:53:56 +00:00
Marek Safar 66a679268c [corlib] System.Convert from reference sources 2015-01-19 11:14:04 +01:00
Alexander Köplinger ff71a0fa40 [System] Skip loopback interfaces in the FirstInterfaceOperationalStatus() test
The status of loopback interfaces is always 'Unknown' on Linux.
This fails the test so we need to skip them.
2015-01-19 10:30:29 +01:00
Ben Woods 1e0c63e953 Add mono/metadata/mono-route.c for non-Linux ParseRouteInfo_local
Add #ifdef to ignore code in mono/metadata/mono-route.c if OS=linux
Also remove mono-route.c from msvc/libmonoruntime.vcxproj (Windows)

Add #ifdef to ensure mono/metadata/mono-route.h code is not included
on Linux

Change to using #if defined(PLATFORM_MACOSX) || defined(PLATFORM_BSD)

Use sizeof(addr) for maximum length of IP address string, instead of the hard-coded 16.
Should the size of addr ever change it will keep us from disaster in case if shrinking the array length.
Also, do not ignore snprintf return value - check for truncated output and act accordingly if it happens.

Add Tests for System.Net.NetworkInformation/IPInterfacePropertiesTest.cs and System.Net.NetworkInformation/NetworkInterfaceTest.cs

Remove accidental Copyright

add a space before the opening parenthesis, as shown in the coding guidelines.

Indent TestFixture to align with coding style of newer Test classes

Use G_N_ELEMENTS(mib) instead of sizeof(mib) / sizeof(mib[0])
2015-01-19 07:05:32 +08:00
Zoltan Varga a3f3abf8fd [arm64] Add a test for r4 hfa parameter passing in gsharedvt trampolines. 2015-01-18 11:32:22 -05:00
Zoltan Varga 12f36fd126 [arm64] Add a test for hfa parameter passing in gsharedvt out trampolines (#26085). 2015-01-17 20:29:05 -05:00
Zoltan Varga aeb7813213 [runtime] Fix aot-tests.cs. 2015-01-17 20:13:35 -05:00
Zoltan Varga 25246e4c3b [arm64] Add tests for dyn calls with floats. 2015-01-17 15:55:20 -05:00
Zoltan Varga 8cd6feb66b [arm64] Increase the size of the dyn_call instruction, and the buffers used during dyn calls. 2015-01-17 15:55:19 -05:00
David Karlaš eb29fb3fa4 [sdb] ILInterpreter handle Br_S same as Br 2015-01-17 17:02:30 +01:00
David Karlaš 6953d781cd [sdb] Fix deadlock in case of runtime disconnect while fetching frames(Bug 24434) 2015-01-17 16:24:30 +01:00
Alexander Köplinger 746650d1b9 [bcl] Remove more NET_2_0 checks from class libs 2015-01-17 05:45:39 +01:00
Miguel de Icaza 7d1cd56c5d [System] ComponentModel, make it build in the MOBILE profile 2015-01-16 20:20:26 -05:00
Zoltan Varga 43a9f2af11 [bcl] Fix System.Threading.Tasks.Dataflow tests. 2015-01-16 19:49:00 -05:00
Mark Probst 9daffb747a [sgen] Fix a concurrent collector bug.
Pinning is done in the worker thread, but reset in the main thread.
The main thread must wait for the worker jobs to finish until it can
reset pinning.  We didn't do this before.
2015-01-16 16:00:11 -08:00
Zoltan Varga d929a5d9ae Merge pull request #1511 from akoeplinger/windows
[utils] Extract Windows-specific networking fallback into networking-windows.c
2015-01-16 17:26:34 -05:00
Zoltan Varga ba6d6d74cd [bcl] Fix the serialization of string arrays to IEnumerable<string> in the Json serializer. Fixes #25808. 2015-01-16 14:11:51 -05:00
Marek Safar 014e3493b1 [System.Threading.Tasks.Dataflow] update atomicboolen location 2015-01-16 19:20:48 +01:00
Marek Safar a844019685 [system.core] TaskExtensions from reference source 2015-01-16 19:01:40 +01:00
Marek Safar 8fa4f20578 Another build fix 2015-01-16 18:33:09 +01:00
Marek Safar dc95e23048 Fixes build 2015-01-16 18:23:34 +01:00
Rodrigo Kumpera 45704daf22 [jit] Adjust the sigsegv handle to accomodate targets without siginfo. 2015-01-16 12:16:36 -05:00
Rodrigo Kumpera adca49cdd2 [jit] First pass of portability fixes for the JIT. 2015-01-16 12:16:36 -05:00
Marek Safar 5a6e9cc4eb [corlib] USe more types from System.Threading reference sources 2015-01-16 18:04:05 +01:00
Marek Safar de222aa4be [System.Core] System.Collections.Generic from reference sources 2015-01-16 16:55:36 +01:00
Marek Safar 2c439a5b84 [System.ServiceModel.Web] Update failing test 2015-01-16 16:32:03 +01:00
Alexander Köplinger e1010a2e35 [utils] Extract Windows-specific networking fallback into networking-windows.c 2015-01-16 16:23:48 +01:00
Marek Safar 061d7f3fb1 [system.xml] Fix broken ClassMap logic which relied on order of hashtable elements 2015-01-16 16:21:22 +01:00
Marek Safar b8d0752d82 [system.web] Update SqlDataSource test not to rely on idictionary order 2015-01-16 09:58:00 +01:00
Marek Safar 49721c35af [WindowsBase] Fix incorrect test 2015-01-16 09:11:28 +01:00
Zoltan Varga 9661a1fba0 [runtime] Fix the build. 2015-01-15 19:17:19 -05:00
Zoltan Varga 3a4c4766fa [sdb] Fix single stepping after a SetIP operation. Fixes #26033. 2015-01-15 19:13:27 -05:00
Vlad Brezae 098121114a Don't truncate the file to the page aligned size.
The second open attempt at opening would fail due to the capacity being smaller than the file size.
2015-01-15 15:27:50 -08:00
Miguel de Icaza 3619fe9c4c [Mono.Posix] Add overloads to pass ints and pointers 2015-01-15 18:22:58 -05:00
Zoltan Varga aae77596bf [sdb] Rename 'restore_ctx' to 'restore_state' and change its type to MonoThreadUnwindState. 2015-01-15 17:33:10 -05:00
Marek Safar 76ad4fb9fe [corlib] fixing TPL integration 2015-01-15 23:24:49 +01:00
Marek Safar 30ee7c53a4 [system] update failing tests 2015-01-15 23:13:36 +01:00
Ludovic Henry 9ac10ff321 [TPL] Replace implementation by Microsoft reference sources 2015-01-15 16:05:51 -05:00
Rodrigo Kumpera 18751d4475 Merge pull request #1458 from BrzVlad/feature-fat-cas
Poll-free fat locks
2015-01-15 14:54:12 -06:00
Zoltan Varga 5084172643 [runtime] Remap io-layer symbols using the prefix wapi_. Fixes #25821. 2015-01-15 15:07:56 -05:00
Zoltan Varga b27d024877 Fix a warning. 2015-01-15 14:42:01 -05:00
Martin Baulig e129937283 [Mono.Security]: More exception debug foo.
Note: This patch may cause some ugly exception messages.  This is intended to help
us debug and hopefully fix bug #19334.
2015-01-15 19:08:46 +01:00
Martin Baulig 8670be04bf [Mono.Security]: Test suite - we may not throw IOException as well here.
In fact, we should not ever throw ObjectDisposedException, but provide a
meaningful IOException.  Still working on it.
2015-01-15 17:53:57 +01:00
Martin Baulig 60bd02c236 [Mono.Security]: Fix TLS Alert level." This breaks the System test suite.
Prevent further abuse (calling it before the fields have been assigned to)
by making the helper function static.
2015-01-15 17:53:57 +01:00
João Matos d065c31a24 [msvc] Fixed the build. 2015-01-15 16:21:48 +00:00
Rodrigo Kumpera e50db21610 Revert "[Mono.Security]: Improve error reporting when sending TLS Alerts fail."
This reverts commit 95eff24950.
2015-01-15 11:04:32 -05:00
Rodrigo Kumpera 9b04cd4d29 Revert "[Mono.Security]: Fix TLS Alert level." This breaks the System test suite.
This reverts commit a036a6bf18.
2015-01-15 10:57:58 -05:00
Zoltan Varga 34f074e4fa Merge pull request #1507 from DavidKarlas/mdbRead0Line
[sdb] Fixed .mdb parsing when line equals 0
2015-01-15 10:39:55 -05:00
Marek Safar 46bdea893b [corlib] System.Collections from reference sources 2015-01-15 16:16:42 +01:00
Martin Baulig a036a6bf18 [Mono.Security]: Fix TLS Alert level. 2015-01-15 13:23:10 +01:00
Martin Baulig 95eff24950 [Mono.Security]: Improve error reporting when sending TLS Alerts fail. 2015-01-15 11:55:13 +01:00
Lluis Sanchez 639bf66171 Generate proper Link metadata for resources in imported projects
When importing a project that contains embedded resources, the id
of those resources must be generated using the path relative
to the project file that includes them, not relative to the
main project file. To fix this problem, we now generate a
Link metadata property for those resources that has the correct
relative path, and later this is used to generate the correct
id for the resource. We also now store a new metadata value
for all items (DefiningProjectFullPath) which contains the
path to the project file that defines the element. This is
used to check if an item was defined in an imported file,
in which case the Link assignment may need to be made.

This fixes bug BXC 20966.
2015-01-15 11:07:49 +01:00
Marek Safar 02782f4a1a [system] System.Timer from reference sources 2015-01-15 10:05:50 +01:00
Marek Safar bc6ea9d725 Merge pull request #1505 from esdrubal/tzifloatingrule
[System.Core] Fixed wrong DST of TimeZoneInfo with floating date rules.
2015-01-15 09:19:02 +01:00
David Karlaš 03082714c0 [sdb] Fixed .mdb parsing when line equals 0 2015-01-15 09:18:16 +01:00
Zoltan Varga 31ca4c480c Merge pull request #1506 from akoeplinger/fix-paste-test
[MWF] Fix unicode string handling from clipboard paste in X11
2015-01-14 23:57:05 -05:00
Zoltan Varga 18561ff041 [sdb] Don't continue single stepping when reaching the same line if locations without debug info were reached during the single step. 2015-01-14 19:57:49 -05:00
Rodrigo Kumpera e92b71af43 Sorry for breaking linux. 2015-01-14 19:26:13 -05:00
Rodrigo Kumpera 6f6e8586eb [runtime] I can still find unguarded used of signal.h, amazing. 2015-01-14 19:21:36 -05:00
Zoltan Varga 025f351123 [sdb] Fix the detection of whenever an image has debug info or not. 2015-01-14 19:13:46 -05:00
Mark Probst ae3b35aa23 Merge pull request #1466 from schani/stage-unified-card-table-scanning
Unified card table scanning
2015-01-14 14:56:12 -08:00
Zoltan Varga 4304c55302 Fix the build. 2015-01-14 17:48:51 -05:00
Marek Safar f9917c3110 [corlib] Hashtable constructor with equality comparer needs to use it during initialization as well 2015-01-14 23:25:32 +01:00
Zoltan Varga ea0159a4ac [sdb] Fix a few places missed in 73d14781d2. 2015-01-14 16:56:57 -05:00
Marek Safar 5c3e91d094 [Microsoft.Build.Utilities] Replace use of ProcessStringDictionary with case insensitive dictionary. It shouldn't case insensitive on non-windows but that'd break msbuild compatibility 2015-01-14 22:31:42 +01:00
Marek Safar b15de26512 Fixes build 2015-01-14 22:31:42 +01:00
Alexander Köplinger 9c05594fc5 [MWF] Fix unicode string handling from clipboard paste in X11
In the TextBoxTest.PasteTest () test case we copy the string "ABCD" to the clipboard.
We then try to paste it again and see if it's the same.

Internally in WinForms, the clipboard data is retrieved via an X11 API that returns
a pointer to the string. In this case, we have a unicode/utf16 string that usually
looks as follows in memory (2 byte per character):

65  'A'
0
-
66  'B'
0
-
67  'C'
0
-
68  'D'
0
-
0   '\0' end of string
0   potential garbage from here on
-
0
0
...

The bug is that we use Marshal.PtrToStringUni (), which reads until the
first null *char* not the first null *byte*.

Imagine if we get the following (happens sometimes):

65  'A'
0
-
66  'B'
0
-
67  'C'
0
-
68  'D'
0
-
0   '\0' end of string
230 <--- garbage, but considered part of a char by PtrToStringUni ()
-
47
56
-
74
43
...

This produces garbage like "ABCD㠯⭊" since PtrToStringUni () reads beyond the original string.

The fix is to use the nitems variable that is returned by the X11 API (it contains the
actual number of bytes in the string) and copy the bytes manually. We already do
the same for the UTF8 case above.

This fixes the TextBoxTest.PasteTest () that intermittently fails on Jenkins.
2015-01-14 22:31:30 +01:00
Zoltan Varga 73d14781d2 [sdb] Emit debug logs using g_print () on android, so it shows up in adb logcat output. 2015-01-14 16:29:54 -05:00
Marek Safar 053e618102 [system.net.http] Drop WebClient dependency 2015-01-14 21:41:49 +01:00
Marek Safar a90491c257 [system] System.Collections.ObjectModel from reference sources 2015-01-14 21:41:48 +01:00
Zoltan Varga d9341960de [pdb2mdb] Fix the decoding of nested scopes. 2015-01-14 13:44:44 -05:00
Marek Safar 941ac41ac0 [system] System.Collections.Specialized from reference sources 2015-01-14 18:42:12 +01:00
Marek Safar eb050de08a [system] Add UnicodeDecodingConformance, UnicodeEncodingConformance 2015-01-14 18:18:07 +01:00
Marek Safar 4403146ada [system] Switch to reference sources WebClient 2015-01-14 17:37:12 +01:00
Marek Safar af11f84af0 [system] Cookies implementation from reference sources 2015-01-14 16:41:27 +01:00
João Matos 8811a8704f [runtime] Do not use MONO_STRUCT_OFFSET for Win32-specific offsets.
We do not yet have auto-generated offsets for Win32 targets and this interacts in weird ways with the Android cross-compilers for Windows.
2015-01-14 15:28:11 +00:00
Marcos Henrich e0278f8f69 [System.Core] Fixed wrong DST of TimeZoneInfo with floating date rules.
Fixes #26008
We do not want (transition.DayOfWeek - first) % 7 to be negative.
As (transition.DayOfWeek - first) cannot be lower than -7, adding 7 to it solves the issue.
2015-01-14 15:20:27 +00:00
Marcos Henrich e4676f8a12 [System.Core] Added tests to TimeZoneInfoTest. Covers #26008. 2015-01-14 15:20:16 +00:00
Alex Rønne Petersen 9c660cf0b9 Fix mono_handle_native_sigsegv () signature in the cross compiler case. 2015-01-14 13:52:14 +01:00
Zoltan Varga 1f32c791d4 Fix a deadlock introduced by 3f10c46468. 2015-01-13 21:52:31 -05:00
Zoltan Varga a9e3b26344 Merge pull request #1500 from criteo-forks/criteo
Fix SpinLock.TryEnter
2015-01-13 20:31:07 -05:00
Vlad Brezae 3f16384da1 [amd64] Add monitor enter v4 fastpath. 2015-01-13 17:07:18 -08:00
Zoltan Varga 3f10c46468 [bcl] Break waits in KeventWatcher by closing the command fd instead of polling. 2015-01-13 18:58:02 -05:00
Zoltan Varga 3cf4d21f8a [bcl] Put the files created by the HostFileChangeMonitor test into an additional subdir to avoid the file system watcher starting to watch system temporary files in the parent dir. Dispose file system watchers at the end of the test. 2015-01-13 18:56:14 -05:00
Vlad Brezae 5b0fbd4c9c [x86] Add monitor enter v4 fastpath. 2015-01-13 14:26:33 -08:00
Zoltan Varga c1b4366932 [bcl] Remove NET_4_5 defines from class libs. 2015-01-13 16:34:23 -05:00
Zoltan Varga 2375c74a64 [bcl] Remove NET_4_5 defines from tools. 2015-01-13 16:34:11 -05:00
Zoltan Varga bfb9d6d5d9 [runtime] Move the monograph tool to tools/. 2015-01-13 16:25:19 -05:00
Zoltan Varga 032f313d5f [bcl] Remove NET_4_0 defines from class libs. 2015-01-13 16:06:31 -05:00
Zoltan Varga bc8041cbe5 [bcl] Remove NET_4_0 defines from tools. 2015-01-13 15:59:48 -05:00
Zoltan Varga 0985d4aa4b [bcl] Remove NET_2_0 defines from the class libs. This has been done using: unifdef -t -DNET_2_0 -o <filename> <filename>. 2015-01-13 15:29:38 -05:00
Zoltan Varga f54652de26 [bcl] Remove NET_2_0 defines from tools. 2015-01-13 15:13:27 -05:00
João Matos 7299191d96 Revert "[build] Add seq-points.c to the genmdesc to try to fix the Monotouch build."
This reverts commit 5510857e6b.
2015-01-13 17:53:18 +00:00
Marcos Henrich 80cd1c8a0f [build] Updated csproj files. 2015-01-13 17:47:48 +00:00
Marcos Henrich d19f5dc228 Fixed msvc/scripts/genproj.cs file seperator issue on UNIX.
On UNIX '\\' is a valid file name character.
In this case we have to replace '\\' for Path.GetFileNameWithoutExtension to work as expected.
2015-01-13 17:47:48 +00:00
Marcos Henrich 5b851f03a2 [System.ComponentModel.Composition] Updated Makefile thisdir.
Old thisdir was causing problems while doing make update-csproj on top dir.
2015-01-13 17:47:48 +00:00
João Matos 5510857e6b [build] Add seq-points.c to the genmdesc to try to fix the Monotouch build. 2015-01-13 17:25:15 +00:00
Marc-Andre Ferland 80f72a9dd9 Allows refs to be released after the handle is set as invalid. 2015-01-13 12:06:49 -05:00
Marek Safar 5a781d6d56 [system.data] refresh mobile sources 2015-01-13 17:02:08 +01:00
Marek Safar d0d5cd45de [system.data] Update for DataSetExtensions as GetTableMappingBySchemaAction is now more restrictive. 2015-01-13 16:11:07 +01:00
Marek Safar 04dc09cbf8 [corlib] Close underlying synchronized stream. Fixes #25498 2015-01-13 14:57:55 +01:00
Marek Safar 7c2bf5f2a1 [system.net.http] Split reading headers and content in GetStreamAsync. Fixes #23966 2015-01-13 12:28:06 +01:00
Marek Safar 4736f957a6 [corlib] Add range checks to CharUnicodeInfo. Fixes #25895 2015-01-13 11:19:21 +01:00
Marek Safar 9ceced044e [system.data] update mobile profile 2015-01-13 11:02:54 +01:00
Marek Safar 0042e68c2e [system.data] Replace connection string builder from reference sources 2015-01-13 10:59:21 +01:00
Alex Rønne Petersen 20f9db583e Fix the build on sigaltstack platforms. 2015-01-13 10:16:44 +01:00
Alex Rønne Petersen b1099af6c7 Fix the Android build; use HAVE_SYS_SYSCTL_H instead of HAVE_SYS_IOCTL_H. 2015-01-13 09:43:58 +01:00
Alex Rønne Petersen 15312e93ab Add an extension point for backtraces on native SIGSEGVs. 2015-01-13 09:20:06 +01:00
Alex Rønne Petersen d1c6023b32 Propagate siginfo to mono_handle_native_sigsegv ().
Some platforms (e.g. Android) need this to get a backtrace in a signal handler.
2015-01-13 09:20:06 +01:00
Marek Safar cb452cfff7 [system.data] Replace System.Data.SqlTypes from reference sources except SqlXml which depends on internal system.xml factory method 2015-01-13 09:19:11 +01:00
Marek Safar 696c08126c [system.data] Switch to DbEnumerator from reference sources. Fixes #24935 2015-01-13 09:19:11 +01:00
Guillaume Turri 3d17efc13c Fix SpinLock.TryEnter
Little and big endian cases were inverted. It can be seen e.g. from the
reference http://locklessinc.com/articles/locks, where the ticket algorithm
is given for little-endian machines

As a consequence, without this patch, if TryEnter succeeds, it increments
ticket.Value instead of ticket.User, which puts the SpinLock in a corrupted
state, and makes it impossible to release afterwards.
2015-01-13 08:47:09 +01:00
Miguel de Icaza 9d08d2b0d9 [Regex] Disable IL code generation until we figure out 25671 2015-01-12 23:23:23 -05:00
Miguel de Icaza a4c7885f7d [Mono.Posix] Add support for OSX F_NOCACHE 2015-01-12 23:13:58 -05:00
Marc-Andre Ferland f7d2cb47c0 Test that closing handle will release managed resource by calling Dispose 2015-01-12 21:37:09 -05:00
Zoltan Varga c38c9c6f25 [aot] Fix llvm support. 2015-01-12 19:38:01 -05:00
Zoltan Varga 037f47d973 [runtime] Fix the android build. 2015-01-12 18:08:39 -05:00
Zoltan Varga ca327b1162 [runtime] Use a guint64 for device/inode instead of dev_t/ino_t since ino_t is defined as 32 bit on newer android versions, but inode values can actually be 64 bit. 2015-01-12 17:23:41 -05:00
Zoltan Varga 02696b4d21 Fix the build. 2015-01-12 17:20:01 -05:00
Zoltan Varga 3ccc4e92b2 [runtime] Remove an unused define. 2015-01-12 17:08:21 -05:00
Zoltan Varga 57f99de33d [bcl] Fix a race in a System.Threading.Tasks test. 2015-01-12 17:02:39 -05:00
Zoltan Varga 05cd4225b2 [aot] Implement support for separate llvm object files when using static linking. Enable it on all platforms. 2015-01-12 16:45:07 -05:00
Zoltan Varga 472afb9fd7 [arm] Fix the decoding of backward branches in mono_arch_get_call_target (). 2015-01-12 16:45:07 -05:00
Marek Safar bb9d05a5f5 [system] Fixes barrier file name 2015-01-12 20:07:33 +01:00
Zoltan Varga 1e5ddf741c [aot] Add an 'llvm-outfile=' command line argument to specify the name of the assembly file holding the LLVM compiled code when the 'asmonly' option is used. 2015-01-12 13:41:54 -05:00
Marek Safar e9b135baca [system] Replace Barrier implementation from reference sources. Fixes #25928 2015-01-12 17:18:42 +01:00
Marek Safar 5728c1a3dd [system.net.http] ProductInfoHeader collection parsing/formatting uses special separators. Fixes #19881 2015-01-12 16:47:04 +01:00
Radek Doulik 581ac48a56 do not use liblog's absolute path in DllImport
- let it for dllmap to specify the path of liblog
   https://github.com/xamarin/monodroid/commit/e834a251d65cb8f677ee7140450ea11e09dbf5c8
 - when checking if running on Android, check the 64bit liblog location as well
2015-01-12 15:28:15 +01:00
Marcos Henrich 2dabfdf453 [System.Runtime.Caching] Removed unused files.
referencesource files are used instead of the removed files.
2015-01-12 13:08:20 +00:00
Marek Safar 9652f056bc [corlib] SafeHandle dispose can be called multiple times after closing. Fixes #25850 2015-01-12 14:05:38 +01:00
Marcos Henrich bcfdc181eb [runtime] update_liveness2 replaced wrong binary or with or. 2015-01-12 11:32:36 +00:00
Marcos Henrich 602a62377d [runtime] update_liveness2 now handles OP_IL_SEQ_POINT. 2015-01-12 11:05:15 +00:00
Marek Safar 28f16c8991 [corlib] Fixes SafeHandle invalidHandleValue handling 2015-01-12 11:52:31 +01:00
Marcos Henrich f0834d5407 Merge pull request #1455 from esdrubal/caching
[System.Runtime.Caching] .NET integration.
2015-01-12 08:27:48 +00:00
Marek Safar 7a7d04b618 Merge pull request #1499 from madrang/SafeHandleTesting
SafeHandle SetAsInvalid Testing
2015-01-12 00:13:40 +01:00
Marc-Andre Ferland 4288f7d687 More strict testing of SafeHandle.
SafeHandle.IsInvalid refer only to the handle value it self. Being true only if the handle is 0 || -1
	In all cases, Releasing, Disposing or SetHandleAsInvalid does not change the handle value, so SafeHandle.IsInvalid will remain unchanged.
	IsClosed will be true if the handle is released or if SetHandleAsInvalid is called.
	The handle will not be released when calling Dispose if SetHandleAsInvalid was called.
	The handle is not released at Dispose but when the last ref is removed by DangerousRelease
2015-01-11 18:10:06 -05:00
Zoltan Varga b2e5b02817 runtime] Really fix a race condition in mono_remoting_marshal_init (). 2015-01-11 12:07:16 -05:00
Zoltan Varga 1fa2463bc3 [aot] Enable direct llvm object file emission on x86 as well. 2015-01-11 10:31:29 -05:00
Zoltan Varga e3c000b256 [aot] Avoid duplicate symbol errors if two methods have the same cfg->method. 2015-01-11 10:26:41 -05:00
Marcos Henrich b9e97c9957 test_op_il_seq_point.sh now properly tests AOT compilation.
Added missing option --aot
2015-01-11 14:53:13 +00:00
Marcos Henrich 4db0888798 test_op_il_seq_point.sh no longer prints empty lines. 2015-01-11 14:53:13 +00:00
Marcos Henrich 984d3df9b1 TestDriver now has option --quiet to disable Console outputs.
test_op_il_seq_point.sh does not work well when TestDriver produces outputs, calling the tests with option -q solves this.
2015-01-11 14:53:13 +00:00
Zoltan Varga f663ba7ba7 [aot] Emit LLVM object files directly from llc on amd64. 2015-01-11 09:49:21 -05:00
Marcos Henrich 454d96dea6 test_op_il_seq_point.sh now prints whole diff. 2015-01-11 10:08:30 +00:00
Zoltan Varga 20113c5ec7 Fix warnings. 2015-01-10 23:04:05 -05:00
Zoltan Varga d1beab3cd8 Fix the build. 2015-01-10 22:55:13 -05:00
Zoltan Varga f717d75b69 Merge pull request #1498 from akoeplinger/fix-windows
Fix Windows build
2015-01-10 22:46:39 -05:00
Alexander Köplinger 6213c699d2 Fix Windows build
Some autoconf checks were missing when running on Windows.
Added stub for mono_get_local_interfaces back that was removed in b92e560d3f
for systems like Windows that have neither HAVE_SIOCGIFCONF nor HAVE_GETIFADDRS.
2015-01-10 22:09:18 +01:00
Marek Safar 9f9d9d25b3 [mcs] Auto-implemented properties must override all accessors of the overridden property 2015-01-10 18:51:01 +01:00
Marek Safar aa5f851bec [mcs] Contructors cannot be extern and have a constructor initializer 2015-01-10 18:51:01 +01:00
Marcos Henrich 55c0773505 test_op_il_seq_point.sh ignore diff unnecessary data. 2015-01-10 16:51:30 +00:00
Zoltan Varga f6b3eb0e80 [aot] Emit a separate GOT for LLVM and JITted code, this avoids having to reference the extern got symbol from JITted code if the LLVM code is emitted into a separate module. 2015-01-10 11:24:42 -05:00
Zoltan Varga 9130a8641e Add missing files to the windows build. 2015-01-10 10:07:41 -05:00
Zoltan Varga edbde3b6be Fix the windows build. 2015-01-10 08:18:25 -05:00
Marcos Henrich 3bcef7ef86 [System.Runtime.Caching] Updated MemoryCacheTest.
When config PhysicalMemoryLimitPercentage is not set or set to zero MemoryCache.PhysicalMemoryLimit value will depend on the total physical memory available.
2015-01-10 11:30:01 +00:00
Marcos Henrich b78211356f [System.Runtime.Caching] Improved CacheUsage sorting.
Now even if multiple MemoryCacheEntry are added to CacheUsage with the same date time CacheEntryCollection is able to sort them for removal in the same order.
2015-01-10 11:14:24 +00:00
Rodrigo Kumpera 6202a690ad [utils][runtime] Another rounds of header cleanup. 2015-01-09 21:06:39 -05:00
Rodrigo Kumpera 48f0075b9d [utils] Remove useless include. 2015-01-09 20:10:17 -05:00
Rodrigo Kumpera e095e8b011 [metadata] Fix the build. 2015-01-09 20:09:18 -05:00
Rodrigo Kumpera be917fb5ef [metadata] Rename security.c to mono-security.c to avoid conflicts with some weird linkers. 2015-01-09 20:03:55 -05:00
Rodrigo Kumpera 7090ce602b [io-layer] Fix another header missing a guard. 2015-01-09 19:46:51 -05:00
Rodrigo Kumpera 1f83d515cf [metadata] Use new networking abtraction to fix targets without inet_ntop 2015-01-09 19:36:45 -05:00
Rodrigo Kumpera 4b98deb7c9 [utils] Add API to stringify a network address. 2015-01-09 19:36:45 -05:00
Zoltan Varga 92ca06aa7d [jit] Add a MONO_PATCH_INFO_LDSTR_LIT patch type to handle strings which do not come from metadata, i.e. they are used in wrappers. Fixes #25891. 2015-01-09 17:30:27 -05:00
Marek Safar f52380fc7c [mcs] Add string interpolation conversions 2015-01-09 23:27:18 +01:00
Rodrigo Kumpera 7b84b28673 [io-layer] Fix linux build. 2015-01-09 15:13:10 -05:00
Zoltan Varga 86a65282f6 Merge pull request #1497 from esdrubal/sq
Tests and fixes for OP_IL_SEQ_POINT
2015-01-09 13:37:58 -05:00
Marcos Henrich 5caa7a1491 [System.Runtime.Caching] MemoryCacheTest.Trim now checks LRU.
Entries are now removed in the least recently used order.
MemoryCacheTest.Trim was updated to check that entries are removed in LRU order.
2015-01-09 15:36:57 +00:00
Marcos Henrich 70d30f9de1 [System.Runtime.Caching] Updated MemoryCacheTest.TestCacheSliding.
Changed sliding expiration timeout from 1 second to 2 seconds.
2015-01-09 15:36:57 +00:00
Marcos Henrich 861b335181 [System.Runtime.Caching] Updated tests default PhysicalMemoryLimit.
MemoryCache.PhysicalMemoryLimit default value is now 99 instead of 98.
2015-01-09 15:36:57 +00:00
Marcos Henrich 80427367c2 [System.Runtime.Caching] .sources now uses referecensource files. 2015-01-09 15:36:57 +00:00
Marcos Henrich 88262cfa6e [System.Runtime.Caching] Implemented referencesource missing classes.
Implemented classes UsageEntryRef, CacheUsage, ExpiresEntryRef and CacheExpires.
2015-01-09 15:36:56 +00:00
Marcos Henrich bcf7e6e797 [System.Runtime.Caching] Copied SRef.cs from .NET.
.NET was using this to retrieve the size of an object graph, by using special logic on its GC.
This version of SRef is not doing that, because Mono does not provide that kind of computation.
As the changes that the GC would require to support this are not trivial, SRef returns a wrong size for now.
Known problems:
   - CacheMemoryMonitor does not trim the cache when it reaches its memory size limit.
   - IMemoryCacheManager.UpdateCacheSize is called with incorrect size.
2015-01-09 15:36:56 +00:00
Marcos Henrich 04285d5ad2 [System.Runtime.Caching] Copied R.Designer.cs from .NET
We will be using this version of R.Designer.cs with hard coded strings until Mono has access to .NET resources.
2015-01-09 15:36:56 +00:00
Marcos Henrich b5d0ffe7dd Added performance counter "Available Physical Memory".
Performance counter "Available Physical Memory" return the current
amount of ram that is not in use.

This was added to be used by System.Runtime.Caching .NET integration
that relies on the available system memory to resize the cache.
2015-01-09 15:36:56 +00:00
Alexander Köplinger 1db6835638 [utils] Remove duplicate socklen_t typedef from Windows build
This is already defined in ws2tcpip.h
2015-01-09 00:42:48 +01:00
Alexander Köplinger d03e64a2ee Merge pull request #1433 from akoeplinger/system.numerics-port
[System.Numerics] Ported code from MS referencesource
2015-01-09 00:34:31 +01:00
Zoltan Varga 2617698743 [aot] Enable emission of LLVM code into a separate file on amd64 in full aot mode. This requires emitting got accesses using normal assembly instead of emit_symbol_diff (), since clang cannot handle <sym> - . expressions if <sym> is an extern symbol. 2015-01-08 17:59:11 -05:00
Rodrigo Kumpera 2ce793efb6 [io-layer] Header usage grooming. Remove some unused headers and add config.h guards to others. 2015-01-08 17:46:54 -05:00
Miguel de Icaza e397f7097a Merge pull request #1495 from akoeplinger/fix-cancelrequestviaproxy
[System.Net.Http] Fix CancelRequestViaProxy() test that intermittently fails on Jenkins
2015-01-08 17:09:13 -05:00
Rodrigo Kumpera 41c1a773f9 [gc] Fix gc bitmap for array of pointers. They don't contain references 2015-01-08 15:37:18 -05:00
Rodrigo Kumpera 047b15f4e6 [utils] Fix linux compilation. 2015-01-08 15:18:23 -05:00
Rodrigo Kumpera 0959de07bf [utils] Apparently ws2ipdef.h should not be included directly. Using ws2tcpip.h which is the recommended header. 2015-01-08 15:18:23 -05:00
Marek Safar f776513488 [mcs] Add string interpolation grammar 2015-01-08 20:55:49 +01:00
Rodrigo Kumpera c5d8151c22 [utils] Another round of windows fixing. 2015-01-08 12:33:48 -05:00
Rodrigo Kumpera ab72a3d6ba [utils] More portability cleanups. 2015-01-08 12:33:48 -05:00
Rodrigo Kumpera 2df9fc3e8c [utils] Don't enable usage of sigaction unless the function is available. 2015-01-08 12:33:47 -05:00
Zoltan Varga 281b4a4abf [runtime] Fix a race condition in mono_remoting_marshal_init (). 2015-01-08 12:15:04 -05:00
Rodrigo Kumpera 800a117da9 [utils] Don't special case android or FreeBSD when trying ucontext.h 2015-01-08 11:34:52 -05:00
Rodrigo Kumpera 373e055709 [utils] Small header sanitization. networking.h now include config.h 2015-01-08 11:34:03 -05:00
Rodrigo Kumpera dd07fe7aaf [utils] Another try to fix the windows build. 2015-01-08 10:57:56 -05:00
Alexander Köplinger ab77341c6f Only build the master branch on AppVeyor 2015-01-08 16:50:47 +01:00
Marcos Henrich 4629d64abd [runtime] Makefile check now calls check-seq-points
check-seq-points now also checks AOT
2015-01-08 15:28:21 +00:00
Marcos Henrich 46a65b39bb [runtime] mono_decompose_long_opts now handles OP_IL_SEQ_POINT. 2015-01-08 14:12:42 +00:00
Marcos Henrich e5e97ddf35 test_op_il_seq_point.sh now checks sizes using diff.
Replaced sdiff with diff because sdiff cuts long line and we need to parse the code length from its output.
2015-01-08 14:01:51 +00:00
Marcos Henrich 2f5e9048a1 test_op_il_seq_point.sh no longer compares native code with AOT.
AOT compilation is also including non deterministic data into the generated native code.
2015-01-08 13:56:43 +00:00
Zoltan Varga 16b2539bab [runtime] Another windows build fix. 2015-01-08 07:29:56 -05:00
Zoltan Varga 2368176d0f [runtime] Add a header check for arpa/inet.h. 2015-01-08 06:16:42 -05:00
Zoltan Varga 62b4e3a314 [cominterop] Fix a crash by passing the proper value to mono_marshal_free_ccw (). Fixes #24638. 2015-01-08 05:09:11 -05:00
Zoltan Varga a568b19c13 [cominterop] Avoid crashes when the first item of a list is deleted and the list head was stored in a hash table. Fixes #24720. 2015-01-08 05:05:08 -05:00
Zoltan Varga b103884634 [runtime] Avoid Process.GetCurrentProcess ().HasExited asserting. Fixes #25720. 2015-01-08 04:47:55 -05:00
Jo Shields 51f2a8c251 [msvc] 64-bit Windows still needs _WIN32_WINNT (for monoposixhelper) 2015-01-08 08:55:09 +00:00
Mark Probst c389a66121 [sgen] Unified loop for scanning card tables.
We had previously used two separate loops for scanning card tables: One
loop that handled blocks where the object slots were larger than a single card,
and one loop where they were smaller.  In the large case we would iterate over
the slots, check whether they were occupied, and if so, check their cards. In the
smaller case we would do it the opposite way: Check the card first, then check
the slots in the card.

For some workloads, the large loop resulted in lots of cache misses, because
we were fetching memory all over the blocks instead of just the cards.  The small
loop, on the other hand, would sometimes scan objects twice, namely when they
crossed the boundary between two cards, and both cards were marked.

This new unified loop fixes both problems.  We always look at the cards first,
and we keep a scan front pointer that prevents scanning objects more than
once.
2015-01-07 16:57:54 -08:00
Mark Probst 001c8a68ed [sgen] Don't scan card tables differently based on object size.
For objects that were larger than a card we iterated over the objects in a block, rather
than iterate over the cards.  To do that we had to load the object headers, which caused
cache misses.  The card bits are consecutive, so they'll be in the cache.
2015-01-07 15:34:56 -08:00
Mark Probst 5d0069dec3 [sgen] Use a scan front pointer to avoid scanning objects twice from cardtable. 2015-01-07 15:34:56 -08:00
Mark Probst 6be120bde8 [sgen] Prefetching of blocks and cards in cardtable scanning. 2015-01-07 15:34:56 -08:00
Zoltan Varga 15e9a61807 [arm] Fix OP_ICLE_UN. Fixes #25798. 2015-01-07 18:29:12 -05:00
Vlad Brezae 7786ec1408 [x86] Enable the monitor enter/exit fastpaths. 2015-01-07 14:21:45 -08:00
Vlad Brezae efe2234b98 [amd64] Enable the monitor enter/exit fastpaths. 2015-01-07 14:21:14 -08:00
Vlad Brezae 753348a68b Unmanaged implementation of spin free locks.
The commit addresses race issues between the waiting on the lock semaphore and the release of the lock. The entry count and the owner field are grouped together into the status field. Accesses to it are done using atomic cas operations so threads aren't lost waiting for release on the lock semaphore.

Disable native fastpaths for now, until they are updated to the new implementation.
2015-01-07 14:19:59 -08:00
Vlad Brezae 3327e1c25e [amd64] Fix compilation error when monitor fastpaths are disabled 2015-01-07 14:03:12 -08:00
Vlad Brezae b7482d9b22 Remove IL fastpaths for Monitor Enter/Exit. 2015-01-07 14:03:11 -08:00
Vlad Brezae 045422715f [runtime] If possible, use fast tls for small_id storage. 2015-01-07 13:48:18 -08:00
Marek Safar f41f2f0df1 [mcs] An argument to nameof operator cannot be extension method group 2015-01-07 21:06:11 +01:00
Marek Safar c97ef02dc8 [mcs] update exception filters syntax to use yet another contextual keyword 2015-01-07 19:22:04 +01:00
Zoltan Varga e2558972bd [sdb] Enable the StackFrame.Domain property on stack frames which represent native transitions. 2015-01-07 10:59:17 -05:00
Marcos Henrich 93ffd56a4a [runtime] Improved mono_local_cprop OP_IL_SEQ_POINT filtering.
Replaced more ins->next usages with mono_inst_next (ins, OP_IL_SEQ_POINT).
2015-01-07 14:11:16 +00:00
Marek Safar 50405e2e64 [mcs] Add reference to parent storey when this is hoisted in disconnected state machine. Fixes #25007 2015-01-07 14:02:12 +01:00
Marcos Henrich 0e90a8ccce test_op_il_seq_point.sh can now tests with and without AOT
Without AOT only code size is checked
With AOT native code is checked.
We cannot compare the native code without AOT because some undeterministic data is stored in the middle of the code and there is no easy way of making the native code dumper ignore it.
2015-01-07 12:39:27 +00:00
Marcos Henrich 1aa885d086 test_op_il_seq_point.sh now compares native code with AOT only.
Comparing native code is only possible with AOT because it is almost deterministic.
A diff of the smallest method changed by OP_IL_SEQ_POINT is now printed to ease problem identification.
2015-01-07 11:56:21 +00:00
Zoltan Varga 9b294f1fc0 [aot] Enable separate llvm modules on amd64. 2015-01-07 03:49:01 -05:00
Zoltan Varga bda99d7944 [aot] Enable emission of debug info for LLVM code if the LLVM code is emitted into a separate module. 2015-01-07 03:44:58 -05:00
Zoltan Varga ac94e5c7cd [aot] Add support for emitting the llvm code separately into a separate object file on amd64. Not enabled yet. 2015-01-07 03:11:49 -05:00
Zoltan Varga eb0a3fe358 [aot] Allow the emission of the LLVM code into a separate .s/.o file. Not enabled yet. 2015-01-07 01:46:14 -05:00
Rodrigo Kumpera b92e560d3f [runtime] Change socket-io.c to use new API for local IP discovery. 2015-01-06 16:11:43 -05:00
Rodrigo Kumpera 0457b278f2 [utils] Add abstraction to retrive the local interface addresses. 2015-01-06 16:11:43 -05:00
Rodrigo Kumpera da0acc6450 [runtime] IPV6 is now the norm so we can expect all systems to have it. 2015-01-06 16:11:43 -05:00
Zoltan Varga f6ecbd11dc [sdb] Bump protocol version to 2.39 so the single stepping changes can be detected by clients. 2015-01-06 15:14:09 -05:00
David Karlaš 1eb510ed44 [Sdb] Ignore hidden sequence points 2015-01-06 15:12:37 -05:00
David Karlaš 1187a32f28 [Sdb] With better mimicking of .Net debugging experience stepping out of method returns to method call instead of next statement 2015-01-06 15:12:17 -05:00
David Karlaš ccf808281d [Sdb] Fixed bug with STEP_DEPTH_MIN+STEP_SIZE_MIN which stopped on NONEMPTY_STACK sequence point in same method as it begin stepping 2015-01-06 15:12:16 -05:00
David Karlaš 1d195ac697 [Sdb] Removed exclusion of CEE_POP and CEE_NOP sequence point creation 2015-01-06 15:12:15 -05:00
David Karlaš 85c40f6784 [Sdb] Set filter on ss_req in ss_create because filter was never set condition "if ((ss_req->filter & STEP_FILTER_STATIC_CTOR) &&" in process_single_step_inner was nerver true 2015-01-06 15:12:15 -05:00
Zoltan Varga a5c3f535cc [sdb] Fix single stepping problems caused by missing seq point info in .mdb files. When stepping in, we have to put a single stepping breakpoint into the parent method, otherwise a missing seq point could cause the debugger to continue until it hits a method entry seq point. 2015-01-06 15:12:15 -05:00
Zoltan Varga 04753f184f [sdb] Avoid putting implicit seq points at nops followed by a sym seq point. 2015-01-06 15:12:15 -05:00
Zoltan Varga 3ce94182e2 [sdb] Put seq points at nop's following calls as well. 2015-01-06 15:12:14 -05:00
Zoltan Varga cd4cbc4c70 [sdb] Emit an implicit sequence point after every call and newobj instruction. 2015-01-06 15:12:14 -05:00
Zoltan Varga 6b43e2d103 [sdb] Avoid using implicit sequence points for methods without debug info in images which have debug info, like auto generated property accessors. 2015-01-06 15:12:14 -05:00
Rodrigo Kumpera 5229466676 [tests] Dump stdout/stderr on test failure. 2015-01-06 15:06:03 -05:00
Marek Safar 157083d1a5 [mcs] Additional fix for naming of nested types in attributes. Second fix of #24172 2015-01-06 19:22:51 +01:00
Rodrigo Kumpera ab0be9bbee [networking] mono_socket_address_init should set len to the size of sockaddr_* and not *_addr. 2015-01-06 13:12:08 -05:00
Zoltan Varga a9a87caa20 [runtime] Fix a crash in FieldInfo.GetRawConstantValue () if a dynamic field doesn't have a default value, but has the HasDefault flag set. 2015-01-06 12:59:30 -05:00
Zoltan Varga 96b25f0d82 [jit] Add a test for #25487. 2015-01-06 12:22:01 -05:00
Zoltan Varga 3a74470db6 Merge pull request #1493 from BrzVlad/vtune-integration2
Vtune integration
2015-01-06 04:00:09 -05:00
Rodrigo Kumpera 36128150d1 [io-layer] Remove some deadcode from the sockets code.
That function is no longer needed since nothing calls it.

This was effective dead code for ages as it would only be used by targets
with no ipv6. So, unless you're using Debian Potato, nothing to see here.
2015-01-05 18:50:43 -05:00
Rodrigo Kumpera c87236f052 [sdb] Move sdb to use the new portable networking APIS.
This simplifies a lot of the code in some cases and enables some ports
to have access to previously disabled functionality (passive inferior).
2015-01-05 18:48:41 -05:00
Rodrigo Kumpera 98df6c7728 [runtime] Use the new network abstraction in the sockets code.
By using a single networking abstraction for name resolution we no longer
need to have two code paths, one for struct hostent and one for struct addrinfo. Good riddance.

More specifically.

We now use functions to fetch protocol numbers and not rely on inline ifdefs.

We use the single abstraction over name resolution, which allows us to have a single code
path to convert the native structure into a managed one.

Finally, we moved the polyfill logic for missing functionality to a separate file to make
things easier.
2015-01-05 18:40:34 -05:00
Rodrigo Kumpera ab59edf8a5 [utils] Add a cross platform networking API for name discovery.
This meant to replace the ifdef hell that is part of the current socket code and to
modernize the sockets code on some targets.

For some reason we still relied on gethostbyname (and variants) in 2015.
Those functions were deprecated circa the KAME project - yes, I'm that old to remember it.

With that in mind, we now rely on getaddrinfo for all sane targets and drop straight to
the lowest common denominator when it's not available, which is gethostbyname/gethostbyname2.

This patch removes support for the glibc gethostbyname2_r extension. Which is not a practical
problem because all linux/android target we can realistically run on have getaddrinfo.
Sorry grampa, no Slackware 8.0 anymore.

This code has a simpler structure of whole file ifdefs as much as possible, which is
a blessing to OOT ports.
2015-01-05 18:29:02 -05:00
Rodrigo Kumpera 23b892dc3d [configure] Add checks for some posix networking functions (getaddrinfo, gethostbyname2, gethostbyname, getprotobyname).
Some targets lack different combinations of those functions so we got to check them all.
2015-01-05 18:21:48 -05:00
Vlad Brezae 97c01a0adb [profiler] Report code buffers to vtune. 2015-01-05 14:19:52 -08:00
Vlad Brezae 92128dfd4e [profiler] Include vtune support for jitted methods in the build system.
In order to track emitted code with vtune you need to :
* pass --enable-vtune=yes to autogen.sh
* have in the LD_LIBRARY_PATH the path to the profiler libraries (ex $(installation_folder)/lib)
* pass argument --profiler=vtune to mono
2015-01-05 14:19:50 -08:00
Zoltan Varga 1b9729dbf6 [arm64] Mark the 'tailcall' opcode as a call. Fixes #25646. 2015-01-05 15:22:16 -05:00
Alexander Köplinger 04170bbc67 Add build badge for debian-ppc64el to README.md 2015-01-05 19:20:04 +01:00
Marek Safar 81bd20edbd Fixes build 2015-01-05 19:13:16 +01:00
Marek Safar a9dbf2f152 [system.net.http] Use HttpWebRequest without additional buffering. Fixes #25213 2015-01-05 18:02:03 +01:00
Zoltan Varga 27fd291b19 [aot] Avoid returning different names for the same method in get_debug_sym () if llvm fails for a method. Fixes #25107. 2015-01-05 11:40:52 -05:00
Alexander Köplinger 4dce3c27d9 [System.Net.Http] Fix CancelRequestViaProxy() test that intermittently fails on Jenkins
Seems that on Jenkins, the request to the (non-existing) IP address used in the test returns before the 1s timeout,
causing the test to fail because the cancellation didn't fire.

Lowering the timeout to 1 millisecond should fix this.

I also verified that the test still correctly fails when the commit that fixed the original issue is reverted.
2015-01-05 16:41:30 +01:00
Marcos Henrich 6719c94da5 [runtime] Improved test_op_il_seq_point.sh
test_op_il_seq_point.sh now compares methods generated native code.
2015-01-05 14:56:18 +00:00
Zoltan Varga 56e0f4518f Merge pull request #1492 from akoeplinger/fix-eglib-remap-test
Add g_getdtablesize to list of acceptable g_* symbols in mono, for test-eglib-remap
2015-01-05 08:06:58 -05:00
Marek Safar cd3707a51f [system] Fixes HttpWebRequest::AllowReadStreamBuffering 2015-01-05 12:48:29 +01:00
Zoltan Varga 63a167dbcb Merge pull request #1491 from akoeplinger/fix-async_read
Fix unreliable async_read.exe test
2015-01-04 23:24:51 -05:00
Alexander Köplinger 0e298082d7 [System.Numerics] Ported code from MS referencesource 2015-01-04 11:26:42 +01:00
Zoltan Varga 7ab68ad32f [aot] Get rid of the code offsets code since direct method addresses are used on all supported platforms. 2015-01-04 04:43:06 -05:00
Zoltan Varga 3e0c70415e [aot] Avoid creating gsharedvt synchronized wrappers if gsharedvt is not enabled. 2015-01-04 04:19:39 -05:00
Zoltan Varga b73e4a71a0 [aot] Use direct method addresses on x86/amd64. 2015-01-04 04:13:45 -05:00
Zoltan Varga 1f2fe37733 [aot] Refactor the MONO_AOT_FILE_FLAG_DIRECT_METHOD_ADDRESSES code a bit. 2015-01-04 04:11:45 -05:00
Zoltan Varga 25abc112ea [aot] Split the unbox_trampolines table into two to separate the indexes and the method addresses/offsets. 2015-01-04 04:03:52 -05:00
Zoltan Varga e8156a0c8c [aot] Use nops as alignment padding on amd64 instead of zeros. 2015-01-04 03:07:47 -05:00
Alexander Köplinger dd8d450575 Add g_getdtablesize to list of acceptable g_* symbols in mono, for test-eglib-remap
The method was added in cd9f3b5859 and caused the test to fail.
2015-01-04 08:59:35 +01:00
Alexander Köplinger 219d56df76 Fix unreliable async_read.exe test 2015-01-04 05:51:18 +01:00
Zoltan Varga b7c3485cda [runtime] Use the proper domain in mono_thread_destroy_domain_tls (). Fixes #25629. 2015-01-03 13:36:02 -05:00
Zoltan Varga a0395d390a [jit] Disable the seq point tests for now, they seem to fail because of stdout buffering problems on osx. 2015-01-03 13:32:43 -05:00
Zoltan Varga 2e90c80f54 [runtime] Fix the LOCK_TRACER build. 2015-01-03 10:03:40 -05:00
Miguel de Icaza a080a7d8a9 [Windows.Forms] DataGridViewTextBoxCell: do not use a shared editing control
This fixes the case of the System.ObjectDisposedException being thrown
when editing a text cell in a DataGridView control a second time.

The problem is that the static control would be disposed by the code in
DataGridView's EditingControlInternal, but this instance was reused over
and over.

Instead, we now createa  new editing control every time that the TextBoxCell
is created.

The investigation for this bug took place here:

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

Fixes also:

https://bugzilla.xamarin.com/show_bug.cgi?id=22297
2015-01-03 12:42:32 -02:00
Zoltan Varga 43aa9be05d [jit] Fix some IL_SEQ_POINT filtering issues on x86. 2015-01-03 07:13:09 -05:00
Zoltan Varga 9514523876 [runtime] Implement FieldInfo.GetRawConstantValue () for dynamic types. Fixes #25690. 2015-01-03 06:48:45 -05:00
Zoltan Varga 2d4209742d [sdb] Fix the previous change by setting SingleStepReq.start_method when the request is created, not when single stepping is started, since the latter can happen multiple times for a single step request. 2015-01-03 06:01:22 -05:00
Zoltan Varga 1139f71dc2 [sdb] Avoid stepping out of the current method if it is a cctor if StepFilter.StaticCtor is used. Fixes #14277. 2015-01-03 05:38:19 -05:00
Zoltan Varga 9d64590968 Merge pull request #1473 from esdrubal/sq
[runtime] Optimizations fixes for OP_IL_SEQ_POINT compatibility.
2015-01-03 04:40:22 -05:00
Zoltan Varga 9e03c10d8f [jit] Fix the returning of vtypes of size less than 8 in registers by using the proper sized load instructions instead of always 8. Fixes #25631. 2015-01-02 22:29:04 -05:00
Zoltan Varga f9bcd25048 [pdb2mdb] Implement support for scopes. Fixes #25357. 2015-01-02 21:08:59 -05:00
Zoltan Varga 46b15a2a6b [bcl] Fix crashes when FieldInfo.GetValue () is called on a pointer field with a null value. Fixes #25664. 2015-01-02 18:36:02 -05:00
Zoltan Varga 102f316ae2 [runtime] Avoid reading past the end of a MonoGenericParam structure in some cases. Fixes #25679. 2015-01-02 17:58:40 -05:00
Marek Safar 40810cf076 [mcs] More special case handling for explicit type names documentation. Fixes #25544 2015-01-02 23:16:33 +01:00
Marek Safar 4ab03af16a [corlib] Fix Type::GetEnumName/IsEnumDefined to return same value as Enum::GetName/IsDefined 2015-01-02 18:54:48 +01:00
João Matos a3510a115a Fixed metadata offsets for ARM64 support. 2015-01-02 16:30:14 +00:00
Alexander Köplinger e50764ba04 Fix CookieContainerTest to use expiration date in the future
It is 2015 now, so the cookie is already expired and the test fails otherwise.
2015-01-02 16:54:22 +01:00
Marek Safar e8796320bf [corlib] Allow bool/char to enum conversions 2015-01-02 15:19:51 +01:00
Alexander Köplinger c04f7e75bf Add missing quote to string added in 156ab8c5fc
This would fail to compile otherwise when the PCL constant is defined.
2014-12-31 12:42:05 +01:00
Alexander Köplinger 45a6bc149d Merge pull request #1081 from rneatherway/bug17537
Allow CLR binaries to be passed to Process.Start
2014-12-31 12:38:41 +01:00
Marek Safar fe37c2458d Merge pull request #1482 from akoeplinger/fix-codetaskfactory-2
[Microsoft.Build.Tasks] Rework CodeTaskFactory to use CodeDom and implement parameter support
2014-12-30 22:24:48 +01:00
Alexander Köplinger cdc8071806 [Microsoft.Build.Tasks] Rework CodeTaskFactory to use CodeDom and implement parameter support
Removed the old string-based code and use CodeDom APIs for everything.
Implemented parameter support by adding the necessary properties to the generated class.
Fixed bug where the task references weren't passed to the compiler.
This should now work with VB code as well (assuming the compiler is installed).
2014-12-28 13:08:20 +01:00
João Matos be8962df9c [runtime] Added support for builds with cross-compiled LLVM. 2014-12-24 19:49:12 +00:00
João Matos 1c3d900853 [runtime] Fixed mini-llvm.c build with MinGW.
MinGW-w64 lacks a definition for bzero which we use in the rest of this file, provide a simple implementation that should get the job done.
2014-12-24 19:49:11 +00:00
João Matos 28ce82dbed Merge pull request #1479 from mfoliveira/ppc64el-build-errors-v2-mit
Fix build errors in mono-context.c on ppc64el
2014-12-24 13:31:03 -05:00
Mauricio Faria de Oliveira 55fa0a561a Fix build errors in mono-context.c on ppc64el
Build error #1:

	libtool: compile:  gcc <...> -c mono-context.c  -fPIC -DPIC -o .libs/mono-context.o
	mono-context.c: In function 'mono_sigctx_to_monoctx':
	mono-context.c:435:68: error: 'MONO_SAVED_GREGS' undeclared (first use in this function)
	  memcpy (&mctx->regs, &UCONTEXT_REG_Rn(uc, 13), sizeof (mgreg_t) * MONO_SAVED_GREGS);
		                                                            ^
	mono-context.c:435:68: note: each undeclared identifier is reported only once for each function it appears in
	mono-context.c:436:70: error: 'MONO_SAVED_FREGS' undeclared (first use in this function)
	  memcpy (&mctx->fregs, &UCONTEXT_REG_FPRn(uc, 14), sizeof (double) * MONO_SAVED_FREGS);
		                                                              ^
The MONO_SAVED_GREGS and MONO_SAVED_FREGS macros are defined in mini-ppc.h.
The problem happens because commit 7e056cd346
moved code using them from exceptions-ppc.h (which includes mini-ppc.h) to
mono-context.c (which doesn't), where they're not #included.

So, include mini-ppc.h in mono-context.c (in the existing powerpc ifdef block).

Signed-off-by: Mauricio Faria de Oliveira <[email protected]>

Build error #2:

Now, it turns out mini-ppc.h doesn't know MonoMethod, MonoMethodSignature, and MonoObject.
So, include object.h (MonoObject), which includes metadata.h (MonoMethod and MonoMethodSignature),
in mini-ppc.h.

	libtool: compile: gcc <...>  -c mono-context.c  -fPIC -DPIC -o .libs/mono-context.o
	In file included from mono-context.c:427:0:
	../../mono/mini/mini-ppc.h:37:2: error: unknown type name 'MonoMethod'
	  MonoMethod *method;
	  ^
	../../mono/mini/mini-ppc.h:306:31: error: unknown type name 'MonoMethodSignature'
	 mono_ppc_tail_call_supported (MonoMethodSignature *caller_sig, MonoMethodSignature *callee_sig) MONO_INTERNAL;
		                       ^
	../../mono/mini/mini-ppc.h:306:64: error: unknown type name 'MonoMethodSignature'
	 mono_ppc_tail_call_supported (MonoMethodSignature *caller_sig, MonoMethodSignature *callee_sig) MONO_INTERNAL;
		                                                        ^
	../../mono/mini/mini-ppc.h:312:27: error: unknown type name 'MonoObject'
	 mono_ppc_throw_exception (MonoObject *exc, unsigned long eip, unsigned long esp, mgreg_t *int_regs, gdouble *fp_regs, gboolean rethrow) MONO_INTERNAL;
		                   ^

Signed-off-by: Mauricio Faria de Oliveira <[email protected]>
2014-12-24 15:52:07 -02:00
João Matos 052dd2c94e Merge pull request #1478 from mono/revert-1475-ppc64el-build-errors
Revert "Fix build errors in mono-context.c on ppc64el"
2014-12-24 11:43:37 -05:00
João Matos 30a7ba9808 Revert "Fix build errors in mono-context.c on ppc64el" 2014-12-24 16:42:17 +00:00
Miguel de Icaza 649f91f71b [System.IO.Compression.FileSystem] Fix infinite loop in ZipFile.Open(string,ZipArchiveMode) 2014-12-24 08:38:12 -02:00
João Matos 074873ab99 Merge pull request #1475 from mfoliveira/ppc64el-build-errors
Fix build errors in mono-context.c on ppc64el
2014-12-23 10:11:59 -05:00
Mauricio Faria de Oliveira e36ef8bda6 Fix build errors in mono-context.c on ppc64el
Build error #1:

	libtool: compile:  gcc <...> -c mono-context.c  -fPIC -DPIC -o .libs/mono-context.o
	mono-context.c: In function 'mono_sigctx_to_monoctx':
	mono-context.c:435:68: error: 'MONO_SAVED_GREGS' undeclared (first use in this function)
	  memcpy (&mctx->regs, &UCONTEXT_REG_Rn(uc, 13), sizeof (mgreg_t) * MONO_SAVED_GREGS);
		                                                            ^
	mono-context.c:435:68: note: each undeclared identifier is reported only once for each function it appears in
	mono-context.c:436:70: error: 'MONO_SAVED_FREGS' undeclared (first use in this function)
	  memcpy (&mctx->fregs, &UCONTEXT_REG_FPRn(uc, 14), sizeof (double) * MONO_SAVED_FREGS);
		                                                              ^
The MONO_SAVED_GREGS and MONO_SAVED_FREGS macros are defined in mini-ppc.h.
The problem happens because commit 7e056cd346
moved code using them from exceptions-ppc.h (which includes mini-ppc.h) to
mono-context.c (which doesn't), where they're not #included.

So, include mini-ppc.h in mono-context.c (in the existing powerpc ifdef block).

Signed-off-by: Mauricio Faria de Oliveira <[email protected]>

Build error #2:

Now, it turns out mini-ppc.h doesn't know MonoMethod, MonoMethodSignature, and MonoObject.
So, include object.h (MonoObject), which includes metadata.h (MonoMethod and MonoMethodSignature),
in mini-ppc.h.

	libtool: compile: gcc <...>  -c mono-context.c  -fPIC -DPIC -o .libs/mono-context.o
	In file included from mono-context.c:427:0:
	../../mono/mini/mini-ppc.h:37:2: error: unknown type name 'MonoMethod'
	  MonoMethod *method;
	  ^
	../../mono/mini/mini-ppc.h:306:31: error: unknown type name 'MonoMethodSignature'
	 mono_ppc_tail_call_supported (MonoMethodSignature *caller_sig, MonoMethodSignature *callee_sig) MONO_INTERNAL;
		                       ^
	../../mono/mini/mini-ppc.h:306:64: error: unknown type name 'MonoMethodSignature'
	 mono_ppc_tail_call_supported (MonoMethodSignature *caller_sig, MonoMethodSignature *callee_sig) MONO_INTERNAL;
		                                                        ^
	../../mono/mini/mini-ppc.h:312:27: error: unknown type name 'MonoObject'
	 mono_ppc_throw_exception (MonoObject *exc, unsigned long eip, unsigned long esp, mgreg_t *int_regs, gdouble *fp_regs, gboolean rethrow) MONO_INTERNAL;
		                   ^

Signed-off-by: Mauricio Faria de Oliveira <[email protected]>
2014-12-23 12:48:20 -02:00
Alex Rønne Petersen 95f9770413 Merge pull request #1472 from Aetf/zh-CHS-patch-fix-25554
Add zh-CHS parent_lcid handling
2014-12-22 18:50:07 +01:00
Mark Probst b4f51ba8e9 [sgen] Fix debug output for descriptor types. 2014-12-22 09:48:03 -08:00
Marcos Henrich e52f1e1f5a [runtime] mini-arm sequence point vars are only required to debug. 2014-12-22 10:51:40 +00:00
Marcos Henrich 44cbf38ddd [runtime] Do not emit seq points for entry/exit offsets on release.
METHOD_ENTRY_IL_OFFSET and METHOD_EXIT_IL_OFFSET are only used by the debugger agent.
2014-12-22 10:09:27 +00:00
Marcos Henrich 5054bd6233 [runtime] mono_if_conversion no longer breaks with OP_IL_SEQ_POINT.
mono_if_conversion now skips OP_NOP and OP_IL_SEQ_POINT while navigating through the instructions.
2014-12-22 10:03:12 +00:00
Aetf 7595f73821 fix coding style 2014-12-22 17:41:23 +08:00
Aetf 80d2c0a74f Add zh-CHS parent_lcid handling 2014-12-22 14:25:33 +08:00
João Matos dabfddfd28 Merge pull request #1470 from cmp-/fix-mutex-trylock-windows
Fix mono_mutex_trylock on Windows
2014-12-20 10:55:26 -05:00
cmp d34764ab2c Fix mono_mutex_trylock on Windows
mono_mutex_trylock is expected to return nonzero on failure, while
TryEnterCriticalSection returns nonzero on success.
2014-12-20 16:23:16 +01:00
Marek Safar 0fda579501 Merge pull request #1465 from akoeplinger/msbuild-getdirnameoffileabove
[xbuild] Implement GetDirectoryNameOfFileAbove ()
2014-12-20 00:09:49 +01:00
Marcos Henrich 6dfca8e721 [runtime] Check that sequence points have no effect on JIT code.
Added a test to check that each method of the test assemblies are JITed the same way with and without the sequence points enabled.
2014-12-19 20:53:46 +00:00
Zoltan Varga 3b5a261a1e Merge pull request #1375 from echampet/cleanup
TARGET_J2EE cleanup.
2014-12-19 14:59:51 -05:00
Miguel de Icaza 156ab8c5fc [Mono.DataConverter] Make it easier to use in PCL libraries 2014-12-19 14:55:25 -05:00
Marek Safar da7bfbe539 Merge pull request #1469 from akoeplinger/msbuild-missing-api
[xbuild] Add missing property 'StandardOutputImportance' to ToolTask
2014-12-19 16:15:05 +01:00
Alexander Köplinger a2f1dfbfcb Respond to code review feedback 2014-12-19 03:51:58 +01:00
Alexander Köplinger b4aa35a571 Respond to code review feedback 2014-12-19 03:45:25 +01:00
Ludovic Henry 22b3945b66 [runtime] Add support to trace generics 2014-12-18 15:47:43 -05:00
Ludovic Henry 4f3b70d511 [runtime] Fix #24605 : "counters not enabled" message with embeders 2014-12-18 15:47:42 -05:00
Alexander Köplinger ece634029e [xbuild] Add missing property 'StandardOutputImportance' to ToolTask
It's a stub and is currently not used by xbuild.
2014-12-18 19:58:51 +01:00
Alexander Köplinger b52e2e25f6 [xbuild] Implement GetDirectoryNameOfFileAbove ()
The method looks for the given file starting at the given path and traverses
the directory tree up until the file is found or root is reached.
2014-12-18 14:58:50 +01:00
Marcos Henrich 58f1c53708 [runtime] mono_local_deadce no longer breaks with OP_IL_SEQ_POINT.
Replaced ins->prev usages with mono_inst_prev (ins, FILTER_NOP | FILTER_IL_SEQ_POINT).
2014-12-18 11:04:36 +00:00
Marcos Henrich 702061aed0 [runtime] Updated amd64 with better OP_IL_SEQ_POINT handling. 2014-12-18 10:53:07 +00:00
Marcos Henrich f982e98f03 [runtime] OP_IL_SEQ_POINT no longer breaks mono_local_cprop
mono_local_cprop now uses mono_inst_next (ins, FILTER_IL_SEQ_POINT) which skips OP_IL_SEQ_POINT.
2014-12-18 10:32:36 +00:00
Marcos Henrich 7e6965d398 [runtime] mono_optimize_branches no longer breaks with OP_IL_SEQ_POINT.
bbn->code was replaced with mono_bb_first_inst (bbn, FILTER_IL_SEQ_POINT).
2014-12-18 09:00:01 +00:00
Marcos Henrich 77ee6e0e08 [runtime] mono_peephole_ins last_ins now skips OP_IL_SEQ_POINT. 2014-12-18 08:26:30 +00:00
Marcos Henrich bfb5185aab [runtime] Added helper methods to iterate MonoInst with filters.
Added methods mono_inst_next, mono_inst_prev, mono_bb_first_inst, mono_bb_last_inst
The added methods do respectively the same as ins->next, ins->prev, bb->code, bb->last_ins but skip the instruction until it matches the specified filter.
2014-12-18 08:15:53 +00:00
Marcos Henrich d4a2bab840 Merge pull request #1462 from ExonyLimited/fix-25442
Performance fix for TimeZoneInfo.GetApplicableRule(), addresses #25442
2014-12-17 07:28:17 +00:00
Craig Minihan f0f976b985 Performance fix for TimeZoneInfo.GetApplicableRule(), addresses #25442
* Main use case - JSON.NET serialization of CLR objects containing DateTime fields, GetUtcOffset()=>GetApplicableRule() are the highest Mono methods in the profiler
* The property DateTime.Date access in the foreach is very expensive, this has been moved outside the foreach
* Performance for DateTime.Now passed as a parameter is 10x better than before
* This is the simplest possible change to yield an improvement, it would be better to replace the O(N) loop logic with a binary search - this yields a further 2-3x performance improvement, when master is building I may submit later
2014-12-16 17:19:36 -08:00
Marek Safar bb3fe582d5 [build] Fix bootstrap profile dependencies lib location 2014-12-17 00:09:01 +01:00
Mark Probst 4266d3bc98 [sgen] Never inline sgen_par_object_get_size().
This makes at least graph4 a lot faster.
2014-12-16 13:19:16 -08:00
Marek Habersack d8092c84a9 Bump the referencesource submodule
The new referenced commit in the submodule changes the macro used in the
mobile profile to disable CAS from MOBILE to DISABLE_CAS_USE
2014-12-16 21:50:11 +01:00
Marcos Henrich 67514a19d5 [runtime] remove_block_if_useless now ignores OP_IL_SEQ_POINT. 2014-12-16 20:28:27 +00:00
Marcos Henrich 2694840702 [runtime] mini-amd64 seq_point_info_var is only required to debug. 2014-12-16 20:28:27 +00:00
Marcos Henrich ab392debf4 [runtime] Added gen-compact-seq-points option to MONO_DEBUG.
gen-compact-seq-points can be used to enable the generation of the sequence points data required to map native offsets to IL offsets.
2014-12-16 20:28:27 +00:00
João Matos c021673939 Merge pull request #1336 from esdrubal/datatablereadxmlschema
DataTabe.ReadXmlSchema now handles non Schema base element.
2014-12-16 14:28:01 -05:00
João Matos 5742335f66 Merge pull request #1349 from martinjt/MachineKeyProtect
Implement MachineKey.Protect and MachineKey.Unprotect
2014-12-16 14:26:08 -05:00
João Matos 8597a88b69 Merge pull request #1459 from akoeplinger/fix-website-links
Updated the Mono website links in the man pages
2014-12-16 14:19:03 -05:00
João Matos b5ddc30ebc [System.IO.Compression] Fixed DeflateStream native error when handling empty input.
Bug: https://bugzilla.xamarin.com/show_bug.cgi?id=22346
2014-12-16 18:56:24 +00:00
Marek Safar 6c8b4c1e90 [buid] Fix bootstrap issue on cygwin 2014-12-16 16:00:14 +01:00
Alexander Köplinger 0c8492cbc6 Updated the Mono website links in the man pages
Even though the old links still work, we can save everyone an unnecessary redirect by using the new links.
2014-12-16 15:05:05 +01:00
Marek Habersack c2dce69079 Fix command stream encoding for FTP requests.
Whenever a connection to an FTP server is established, FtpWebRequest
sends an option command to the server to enable UTF8 encoding for the
transfer. So far we've failed to check the request status of that
command and assumed that UTF8 is enabled but *also* failed to actually
use the encoding when sending commands (we had the ASCII encoding
hard-coded). This resulted in failed requests whenever a command named a
file or path which included non-ASCII characters. This patch does two
things:

 * checks the status of the UTF8 enabling command and uses UTF8 encoding
   only if it succeeded. Otherwise Encoding.Default is used.
 * uses the encoding detected above for the command stream.

Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=24611

[Tests will follow at a later date]
2014-12-15 23:34:32 +01:00
Neale Ferguson e78a3c6857 Add per thread profiling support to s390x 2014-12-15 14:13:00 -05:00
Jo Shields f5e62d4d2f Merge pull request #1456 from directhex/fix_Microsoft.Build.Execution.BuildManagerTest.BuildCommonResolveAssemblyReferences
Fix Microsoft.Build.Execution.BuildManagerTest.BuildCommonResolveAssemblyReferences
2014-12-15 18:38:53 +00:00
João Matos e723d4ade5 [System] Relaxed Ping test to work under Linux.
So in Linux the PingTimeOut test was returning TtlExpired and failing the assertion. Since I'm not exactly sure how ping behaves under all platforms, relax the test to only make sure it doesn't succeed.
2014-12-15 17:06:27 +00:00
Jo Shields 70d3c7a23a Use net_4_5 libraries for xbuild tests, regardless of target.
This works around failures caused by tests asking for other frameworks (like 4.0) on Mono 4.0, which only has 4.5
2014-12-15 16:59:48 +00:00
Jo Shields d1a5f1d53a Move XBUILD_FRAMEWORK_FOLDERS_PATH definition somewhere useful & export
This variable isn't being passed to the child xbuild process during testing, making it sorta useless.
2014-12-15 16:58:14 +00:00
Alexis Christoforides e79dc945a5 [FileSystemWatcher] Properly handle multicast delegates.
Reverted the async delegate firing which is how Caching et al. expect FSW events; and properly handle the multicast case.

Also fixing a typo/regression in @2f1a136583c90cae805441e63b94bc4f277bb953
2014-12-15 11:05:19 -05:00
Marcos Henrich 25bcda516b Bump referencesource 2014-12-15 15:54:46 +00:00
Jo Shields 9bd865ecc3 Force MSBuildExtensionsPath to point to in-tree xbuild data
As-is, on non-Mac, Xbuild looks for MSBuildExtensionsPath in the folder specified by --prefix, i.e. /usr/local/mono/xbuild by default (which may not & should not exist).
2014-12-15 14:32:18 +00:00
Jo Shields 5b591e1098 Revert "Use ";" not Empty as bad TargetFrameworkDirectory value"
This reverts commit 7b58afa1c8.

Apparently this bad value passes on mac/wrench. So it's not a good failure condition for the test.
2014-12-15 13:37:19 +00:00
Jo Shields 7b58afa1c8 Use ";" not Empty as bad TargetFrameworkDirectory value
After manager.Build is called, a "null" empty for TargetFrameworkDirectory is
a string containing only ";" - a "good" value is the target framework
directory with a trailing ";". By testing for string.Empty, we don't actually
test whether the value has been correctly populated (causing all subsequent
failures).
2014-12-15 12:07:29 +00:00
Miguel de Icaza d16a01fe98 [System.Runtime.Serialization] Further baby steps 2014-12-14 00:02:45 -05:00
Miguel de Icaza 8f32e290ad [System.Runtime.Serialization] Dip toes into using ReferenceSource 2014-12-13 23:50:34 -05:00
Miguel de Icaza db6468e61e [Console/TerminfoDriver] Look in the TERMINFO directory if set 2014-12-13 23:49:51 -05:00
Miguel de Icaza 448f60e7f0 [System/SR] Brings some strings from .NET Core
Used the following script to do this:

var d = XDocument.Load ("Strings.resx");
foreach (var j in d.XPathSelectElements ("/root/data")){ var v = j.XPathSelectElement ("value"); Console.WriteLine ("\tpublic const string {0}=\"{1}\";", j.Attribute ("name").Value, v.Value); }
2014-12-13 19:58:06 -05:00
Miguel de Icaza fda6bf1a33 [Console] Updated to terminfo renderer.
This brings .NET's parameterized terminfo renderer, various fixes and
semantic changes.

The existing implementation of the Console did not have a proper an
implementation of terminfo's parameterized sequences.  Instead of
this, a collection of hacks existed to hardcode both light colors and
cursor position.  These are now gone, since the parameterized strings
do contain the correct values for this.

The search path for terminfo now picks the most modern location for
terminfo.   With the old paths in place.

The lookup for terminfo databases only supported the lookup based on
the first character of a terminal, so for example, for xterm this was
$terminfo_dir/x/xterm, but OSX and maybe other systems now store the
files in $terminfo_dir/78/xterm (where 78 is the hex representation of
'x', the first letter of the terminal name).

The fallback is still in place for other Unix systems.

We no longer use the built-in terminfo databases as the first pick,
instead we try to load the system terminfo database before we use the
built-in versions.

Worth figuring out if we want to remove the two built-in ones (Linux
and xterm) as broken terminfo databases are no longer the norm in Unix
and just keep the ansi one as a database of last resort.

This means that the console actually now gets high colors on MacOS,
not just Linux.

This also fixes the issue with consoles with more than 256 colors.  As
reported in bug 18315.
2014-12-13 19:37:39 -05:00
Marek Safar 8a061c8c8e Merge pull request #1451 from akoeplinger/fix-winforms-test
[MWF] Fix PropertyGridTest.PropertyGrid_ArrayParentTest by returning the correct value of PropertyCategoryDefault
2014-12-13 10:01:38 +01:00
Marek Safar 06a22be0a2 Merge pull request #1452 from esdrubal/xmlnamespace
[System.Xml.Linq] xmlns prefixes are no longer generated in some cases.
2014-12-13 10:01:11 +01:00
Marcos Henrich aad3c917e4 [System.Xml.Linq] xmlns prefixes are no longer generated in some cases.
- XNodeWrite.FillXmlns was adding a prefix to the attribute when no prefix was found (prefix==null)

  - XNodeWrite.LookupPrefix now returns string.Empty prefix when the namespace is the same as the element.
    A string.Empty prefix explicitly states that it has no prefix whereas null states that prefix was not defined.
    When LookupPrefix returns null for a namespace it means that a prefix should be generated first for anything that uses the namespace.
    That is what XmlSerializationWriter.GetQualifiedName does.

Fixes #24300
2014-12-12 19:50:15 +00:00
Marcos Henrich 2039c7d499 [System.Xml.Linq] Test XmlSerializer with custom namespace.
Covers #24300.
2014-12-12 19:01:51 +00:00
Alexander Köplinger bb100049e1 [MWF] Fix PropertyGridTest.PropertyGrid_ArrayParentTest by returning the correct value of PropertyCategoryDefault
The code in ComponentModel (https://github.com/mono/referencesource/blob/7dc4e513eafd3fb30d34111948ef14c981264463/System/compmod/system/componentmodel/CategoryAttribute.cs#L276) looks up the category name by string concatenation, which means it wasn't captured in our SR.cs.
We also can't add the correct value for PropertyCategoryDefault as a string constant to SR.cs since the value is retrieved via GetObject () and we currently just return the parameter name there.

A short-term workaround is to just special case PropertyCategoryDefault in GetObject ().
2014-12-12 02:39:02 +01:00
Vlad Brezae 49830fb910 Populate small id field for MonoInternalThread structure. 2014-12-10 12:22:42 -08:00
Etienne CHAMPETIER a4134641d8 [cleanup] WebConfigurationManager: remove hasConfigErrors
it's not used since 2009 (6a261e04ad)

Signed-off-by: Etienne CHAMPETIER <[email protected]>
2014-12-01 23:57:19 +01:00
Etienne CHAMPETIER 227b0d1b55 [cleanup] System.Web*: remove TARGET_J2EE
done using unifdef
git grep -l TARGET_J2EE | grep -v ChangeLog | xargs -n1 unifdef -m -UTARGET_J2EE

Signed-off-by: Etienne CHAMPETIER <[email protected]>
2014-12-01 23:57:18 +01:00
Martin Thwaites 8302b5782d Implement MachineKey.Protect and MachineKey.Unprotect 2014-11-03 21:52:18 +00:00
Marcos Henrich 48d05afa0e DataTabe.ReadXmlSchema now handles non Schema base element. Fixes #22501. 2014-10-13 16:15:23 -04:00
Marcos Henrich 9e5d94e72b Test DataTable.ReadXmlSchema with non Schema base element. Covers #22501. 2014-10-13 16:15:03 -04:00
Robin Neatherway b50e4a8728 Allow CLR binaries to be passed to Process.Start
On *nix files are not executable by default where on Windows they
are. This causes problems if installing a NuGet package on *nix that
contains .exe files intended to be used by build tasks. On Windows the
build will invoke these without complaining whereas on *nix the build
will fail with "Native error: cannot find file specified".

On mono, the action that will be taken is to pass the path to the .exe
file to mono as a command-line argument. If this was done in a shell it
would succeed whether or not the .exe file has the executable bit set,
so it seems that this should also succeed within a program.

With thanks to @akoeplinger for help designing the test.

I release this under the MIT license.
2014-09-14 18:44:02 +01:00
Fritz Elfert ce9db9db3f Fixed Bug #21135 - Deadlock in WebConnectionStream 2014-07-11 19:20:11 +02:00
5339 changed files with 39399 additions and 207320 deletions

No files matched your search

+14 -3
View File
@@ -10,9 +10,20 @@ It is an open source implementation of Microsoft's .NET Framework based on the E
**Build Status**
| debian-amd64 | debian-i386 | centos-s390x | windows-amd64 |
|:------------:|:-----------:|:------------:|:-------------:|
| [![debian-amd64](http://jenkins.mono-project.com/job/test-mono-mainline/label=debian-amd64/badge/icon)](http://jenkins.mono-project.com/job/test-mono-mainline/label=debian-amd64/) | [![debian-i386](http://jenkins.mono-project.com/job/test-mono-mainline/label=debian-i386/badge/icon)](http://jenkins.mono-project.com/job/test-mono-mainline/label=debian-i386/) | [![centos-s390x](http://jenkins.mono-project.com/job/test-mono-mainline/label=centos-s390x/badge/icon)](http://jenkins.mono-project.com/job/test-mono-mainline/label=centos-s390x/) | [![windows-amd64](https://ci.appveyor.com/api/projects/status/1e61ebdfpbiei58v/branch/master?svg=true)](https://ci.appveyor.com/project/ajlennon/mono-817/branch/master) |
| debian-amd64 | debian-i386 | debian-ppc64el | centos-s390x | windows-amd64 |
|:-----------------------:|:----------------------:|:-------------------------:|:-----------------------:|:-------------------------:|
| [![debian-amd64][1]][2] | [![debian-i386][3]][4] | [![debian-ppc64el][5]][6] | [![centos-s390x][7]][8] | [![windows-amd64][9]][10] |
[1]: http://jenkins.mono-project.com/job/test-mono-mainline/label=debian-amd64/badge/icon
[2]: http://jenkins.mono-project.com/job/test-mono-mainline/label=debian-amd64/
[3]: http://jenkins.mono-project.com/job/test-mono-mainline/label=debian-i386/badge/icon
[4]: http://jenkins.mono-project.com/job/test-mono-mainline/label=debian-i386/
[5]: http://jenkins.mono-project.com/job/test-mono-mainline-communityarchitectures/label=debian-ppc64el/badge/icon
[6]: http://jenkins.mono-project.com/job/test-mono-mainline-communityarchitectures/label=debian-ppc64el/
[7]: http://jenkins.mono-project.com/job/test-mono-mainline-communityarchitectures/label=centos-s390x/badge/icon
[8]: http://jenkins.mono-project.com/job/test-mono-mainline-communityarchitectures/label=centos-s390x/
[9]: https://ci.appveyor.com/api/projects/status/1e61ebdfpbiei58v/branch/master?svg=true
[10]: https://ci.appveyor.com/project/ajlennon/mono-817/branch/master
Compilation and Installation
============================
+7
View File
@@ -88,6 +88,13 @@ build_script:
#
test: off
#
# Only build the master branch
#
branches:
only:
- master
#
# NOTE: Currently this is the Mono installation tree. In future we will create an installation package artifact.
# It has to be relative to the project path. Thus we have installed to within the build tree.
+311 -17
View File
@@ -306,7 +306,6 @@ case "$host" in
platform_darwin=yes
target_mach=yes
CPPFLAGS="$CPPFLAGS -no-cpp-precomp -D_THREAD_SAFE -DGC_MACOSX_THREADS -DPLATFORM_MACOSX -DUSE_MMAP -DUSE_MUNMAP"
CPPFLAGS="$CPPFLAGS -DGetCurrentProcess=MonoGetCurrentProcess -DGetCurrentThread=MonoGetCurrentThread -DCreateEvent=MonoCreateEvent"
libmono_cflags="-D_THREAD_SAFE"
need_link_unlink=yes
AC_DEFINE(PTHREAD_POINTER_ID)
@@ -441,8 +440,8 @@ AM_ICONV()
AM_CONDITIONAL(NO_VERSION_SCRIPT, test x$no_version_script = xyes)
AC_CHECK_HEADERS(sys/filio.h sys/sockio.h netdb.h utime.h sys/utime.h semaphore.h sys/un.h linux/rtc.h sys/syscall.h sys/mkdev.h sys/uio.h sys/param.h libproc.h)
AC_CHECK_HEADERS(sys/param.h sys/socket.h sys/ipc.h sys/sem.h sys/utsname.h alloca.h ucontext.h pwd.h sys/select.h netinet/tcp.h netinet/in.h unistd.h sys/types.h link.h asm/sigcontext.h sys/inotify.h)
AC_CHECK_HEADERS(sys/filio.h sys/sockio.h netdb.h utime.h sys/utime.h semaphore.h sys/un.h linux/rtc.h sys/syscall.h sys/mkdev.h sys/uio.h sys/param.h sys/sysctl.h libproc.h)
AC_CHECK_HEADERS(sys/param.h sys/socket.h sys/ipc.h sys/sem.h sys/utsname.h alloca.h ucontext.h pwd.h sys/select.h netinet/tcp.h netinet/in.h unistd.h sys/types.h link.h asm/sigcontext.h sys/inotify.h arpa/inet.h)
AC_CHECK_HEADERS([linux/netlink.h linux/rtnetlink.h],
[], [], [#include <stddef.h>
#include <sys/socket.h>
@@ -1145,6 +1144,12 @@ AC_TRY_COMPILE([
AC_CHECK_HEADERS(nacl/nacl_dyncode.h)
dnl ***********************************
dnl *** Checks for signals
dnl ***********************************
AC_CHECK_HEADERS(signal.h)
AC_CHECK_FUNCS(sigaction)
if test x$target_win32 = xno; then
dnl hires monotonic clock support
@@ -1519,11 +1524,32 @@ if test x$target_win32 = xno; then
])
])
dnl **********************************
dnl *** Check for getaddrinfo ***
dnl **********************************
AC_MSG_CHECKING(for getaddrinfo)
AC_TRY_LINK([
#include <stdio.h>
#include <netdb.h>
], [
getaddrinfo(NULL,NULL,NULL,NULL);
], [
# Yes, we have it...
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_GETADDRINFO, 1, [Have getaddrinfo])
], [
AC_MSG_RESULT(no)
])
dnl **********************************
dnl *** Check for gethostbyname2_r ***
dnl **********************************
AC_MSG_CHECKING(for gethostbyname2_r)
AC_TRY_LINK([#include <netdb.h>], [
AC_TRY_LINK([
#include <stdio.h>
#include <netdb.h>
], [
gethostbyname2_r(NULL,0,NULL,NULL,0,NULL,NULL);
], [
# Yes, we have it...
@@ -1533,6 +1559,92 @@ if test x$target_win32 = xno; then
AC_MSG_RESULT(no)
])
dnl **********************************
dnl *** Check for gethostbyname2 ***
dnl **********************************
AC_MSG_CHECKING(for gethostbyname2)
AC_TRY_LINK([
#include <stdio.h>
#include <netdb.h>
], [
gethostbyname2(NULL,0);
], [
# Yes, we have it...
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_GETHOSTBYNAME2, 1, [Have gethostbyname2])
], [
AC_MSG_RESULT(no)
])
dnl **********************************
dnl *** Check for gethostbyname ***
dnl **********************************
AC_MSG_CHECKING(for gethostbyname)
AC_TRY_LINK([
#include <stdio.h>
#include <netdb.h>
], [
gethostbyname(NULL);
], [
# Yes, we have it...
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_GETHOSTBYNAME, 1, [Have gethostbyname])
], [
AC_MSG_RESULT(no)
])
dnl **********************************
dnl *** Check for getprotobyname ***
dnl **********************************
AC_MSG_CHECKING(for getprotobyname)
AC_TRY_LINK([
#include <stdio.h>
#include <netdb.h>
], [
getprotobyname(NULL);
], [
# Yes, we have it...
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_GETPROTOBYNAME, 1, [Have getprotobyname])
], [
AC_MSG_RESULT(no)
])
dnl **********************************
dnl *** Check for getnameinfo ***
dnl **********************************
AC_MSG_CHECKING(for getnameinfo)
AC_TRY_LINK([
#include <stdio.h>
#include <netdb.h>
], [
getnameinfo (NULL, 0, NULL, 0, NULL, 0, 0);
], [
# Yes, we have it...
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_GETNAMEINFO, 1, [Have getnameinfo])
], [
AC_MSG_RESULT(no)
])
dnl **********************************
dnl *** Check for inet_ntop ***
dnl **********************************
AC_MSG_CHECKING(for inet_ntop)
AC_TRY_LINK([
#include <stdio.h>
#include <arpa/inet.h>
], [
inet_ntop (0, NULL, NULL, 0);
], [
# Yes, we have it...
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_INET_NTOP, 1, [Have inet_ntop])
], [
AC_MSG_RESULT(no)
])
dnl *****************************
dnl *** Checks for libnsl ***
dnl *****************************
@@ -1598,11 +1710,23 @@ if test x$target_win32 = xno; then
AC_CHECK_FUNCS(pthread_attr_getstack pthread_attr_getstacksize)
AC_CHECK_FUNCS(pthread_get_stacksize_np pthread_get_stackaddr_np)
dnl ***********************************
dnl *** Checks for signals
dnl ***********************************
AC_CHECK_HEADERS(signal.h)
AC_CHECK_FUNCS(sigaction)
dnl **********************************
dnl *** Check for mincore ***
dnl **********************************
AC_MSG_CHECKING(for mincore)
AC_TRY_LINK([
#include <stdio.h>
#include <sys/types.h>
#include <sys/mman.h>
], [
mincore(NULL, 0, NULL);
], [
# Yes, we have it...
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_MINCORE, 1, [Have mincore])
], [
AC_MSG_RESULT(no)
])
dnl ***********************************
dnl *** Checks for working __thread ***
@@ -2156,6 +2280,97 @@ else
AC_MSG_RESULT(no)
])
])
dnl **********************************
dnl *** Check for getaddrinfo ***
dnl **********************************
AC_MSG_CHECKING(for getaddrinfo)
AC_TRY_LINK([
#include <stdio.h>
#include <winsock2.h>
#include <ws2tcpip.h>
], [
getaddrinfo(NULL,NULL,NULL,NULL);
], [
# Yes, we have it...
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_GETADDRINFO, 1, [Have getaddrinfo])
], [
AC_MSG_RESULT(no)
])
dnl **********************************
dnl *** Check for gethostbyname ***
dnl **********************************
AC_MSG_CHECKING(for gethostbyname)
AC_TRY_LINK([
#include <stdio.h>
#include <winsock2.h>
#include <ws2tcpip.h>
], [
gethostbyname(NULL);
], [
# Yes, we have it...
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_GETHOSTBYNAME, 1, [Have gethostbyname])
], [
AC_MSG_RESULT(no)
])
dnl **********************************
dnl *** Check for getprotobyname ***
dnl **********************************
AC_MSG_CHECKING(for getprotobyname)
AC_TRY_LINK([
#include <stdio.h>
#include <winsock2.h>
#include <ws2tcpip.h>
], [
getprotobyname(NULL);
], [
# Yes, we have it...
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_GETPROTOBYNAME, 1, [Have getprotobyname])
], [
AC_MSG_RESULT(no)
])
dnl **********************************
dnl *** Check for getnameinfo ***
dnl **********************************
AC_MSG_CHECKING(for getnameinfo)
AC_TRY_LINK([
#include <stdio.h>
#include <winsock2.h>
#include <ws2tcpip.h>
], [
getnameinfo (NULL, 0, NULL, 0, NULL, 0, 0);
], [
# Yes, we have it...
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_GETNAMEINFO, 1, [Have getnameinfo])
], [
AC_MSG_RESULT(no)
])
dnl **********************************
dnl *** Check for inet_ntop ***
dnl **********************************
AC_MSG_CHECKING(for inet_ntop)
AC_TRY_LINK([
#include <stdio.h>
#include <winsock2.h>
#include <ws2tcpip.h>
], [
inet_ntop (0, NULL, NULL, 0);
], [
# Yes, we have it...
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_INET_NTOP, 1, [Have inet_ntop])
], [
AC_MSG_RESULT(no)
])
AC_CHECK_DECLS(InterlockedExchange64, [], [], [[#include <windows.h>]])
AC_CHECK_DECLS(InterlockedCompareExchange64, [], [], [[#include <windows.h>]])
AC_CHECK_DECLS(InterlockedDecrement64, [], [], [[#include <windows.h>]])
@@ -2420,6 +2635,9 @@ AC_ARG_WITH(llvm, [ --with-llvm=<llvm prefix> Enable the LLVM back-end], ena
if test "x$enable_llvm" = "xyes"; then
if test "x$with_llvm" != "x"; then
LLVM_CONFIG=$with_llvm/bin/llvm-config
if test x$target_win32 = xyes; then
LLVM_CONFIG=$LLVM_CONFIG.exe
fi
if test ! -x $LLVM_CONFIG; then
AC_MSG_ERROR([LLVM executable $LLVM_CONFIG not found.])
fi
@@ -2437,6 +2655,8 @@ if test "x$enable_llvm" = "xyes"; then
;;
esac
if test "x$target_win32" = "xno"; then
# The output of --cflags seems to include optimizations flags too
LLVM_CFLAGS=`$LLVM_CONFIG --cflags | sed -e 's/-O2//g' | sed -e 's/-O0//g' | sed -e 's/-fomit-frame-pointer//g' | sed -e 's/-fPIC//g'`
# LLVM is compiled with -fno-rtti, so we need this too, since our classes inherit
@@ -2466,17 +2686,39 @@ if test "x$enable_llvm" = "xyes"; 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_CFLAGS="$LLVM_CFLAGS -DLLVM_API_VERSION=0"
LLVM_CXXFLAGS="$LLVM_CXXFLAGS -DLLVM_API_VERSION=0"
else
LLVM_CFLAGS="$LLVM_CFLAGS -DLLVM_API_VERSION=$llvm_api_version"
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
else
LLVM_CFLAGS="-I$with_llvm/include -DNDEBUG -D__NO_CTYPE_INLINE -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS"
LLVM_CXXFLAGS="$LLVM_CFLAGS -std=gnu++11 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -Woverloaded-virtual -Wcast-qual"
LLVM_LDFLAGS="-L$with_llvm/lib"
LLVM_SYSTEM_LIBS="-lshell32 -lpsapi -limagehlp -ldbghelp -lm"
LLVM_LIBS="-lLLVMLTO -lLLVMObjCARCOpts -lLLVMLinker -lLLVMipo -lLLVMVectorize -lLLVMBitWriter \
-lLLVMARMDisassembler -lLLVMARMCodeGen -lLLVMARMAsmParser -lLLVMARMDesc -lLLVMARMInfo \
-lLLVMARMAsmPrinter -lLLVMTableGen -lLLVMDebugInfo -lLLVMOption -lLLVMX86Disassembler \
-lLLVMX86AsmParser -lLLVMX86CodeGen -lLLVMSelectionDAG -lLLVMAsmPrinter -lLLVMX86Desc \
-lLLVMMCDisassembler -lLLVMX86Info -lLLVMX86AsmPrinter -lLLVMX86Utils -lLLVMJIT \
-lLLVMIRReader -lLLVMAsmParser -lLLVMLineEditor -lLLVMMCAnalysis -lLLVMInstrumentation \
-lLLVMInterpreter -lLLVMCodeGen -lLLVMScalarOpts -lLLVMInstCombine -lLLVMTransformUtils \
-lLLVMipa -lLLVMAnalysis -lLLVMProfileData -lLLVMMCJIT -lLLVMTarget -lLLVMRuntimeDyld \
-lLLVMObject -lLLVMMCParser -lLLVMBitReader -lLLVMExecutionEngine -lLLVMMC -lLLVMCore \
-lLLVMSupport -lstdc++"
LLVM_LIBS="$LLVM_LIBS $LLVM_SYSTEM_LIBS"
llvm_config_path=$with_llvm/include/llvm/Config/llvm-config.h
llvm_api_version=`awk '/MONO_API_VERSION/ { print $3 }' $llvm_config_path`
fi
if test "x$llvm_api_version" = "x"; then
LLVM_CFLAGS="$LLVM_CFLAGS -DLLVM_API_VERSION=0"
LLVM_CXXFLAGS="$LLVM_CXXFLAGS -DLLVM_API_VERSION=0"
else
LLVM_CFLAGS="$LLVM_CFLAGS -DLLVM_API_VERSION=$llvm_api_version"
LLVM_CXXFLAGS="$LLVM_CXXFLAGS -DLLVM_API_VERSION=$llvm_api_version"
fi
AC_DEFINE_UNQUOTED(LLVM_VERSION, "$llvm_version", [Full version of LLVM libraties])
AC_SUBST(LLVM_CFLAGS)
@@ -2797,6 +3039,18 @@ if test "x$host" != "x$target"; then
with_tls=pthread
target_mach=no
;;
x86_64*-linux-*)
TARGET=AMD64;
arch_target=amd64;
AC_DEFINE(TARGET_AMD64, 1, [...])
AC_DEFINE(TARGET_ANDROID, 1, [...])
CPPFLAGS="$CPPFLAGS"
sgen_supported=true
# Can't use tls, since it depends on the runtime detection of tls offsets
# in mono-compiler.h
with_tls=pthread
target_mach=no
;;
aarch64*-linux-*)
TARGET=ARM64;
arch_target=arm64;
@@ -2853,6 +3107,46 @@ SPARC64)
;;
esac
dnl *************
dnl *** VTUNE ***
dnl *************
AC_ARG_ENABLE(vtune,[ --enable-vtune Enable the VTUNE back-end], enable_vtune=$enableval, enable_vtune=no)
AC_ARG_WITH(vtune, [ --with-vtune=<vtune prefix> Enable jit vtune profiling], enable_vtune=yes,)
AM_CONDITIONAL(HAVE_VTUNE, test x$enable_vtune = xyes)
if test "x$enable_vtune" = "xyes"; then
if test "x$with_vtune" = "x"; then
VTUNE_PATH=/opt/intel/vtune_amplifier_xe
else
VTUNE_PATH=$with_vtune
fi
VTUNE_INCLUDE=$VTUNE_PATH/include
case "$TARGET" in
X86)
VTUNE_LIB=$VTUNE_PATH/lib32
;;
AMD64)
VTUNE_LIB=$VTUNE_PATH/lib64
;;
*)
AC_MSG_ERROR([Unsupported target $TARGET for VTUNE.])
;;
esac
if test ! -f $VTUNE_INCLUDE/jitprofiling.h; then
AC_MSG_ERROR([VTUNE $VTUNE_INCLUDE/jitprofiling.h not found.])
fi
if test ! -f $VTUNE_LIB/libjitprofiling.a; then
AC_MSG_ERROR([VTUNE $VTUNE_LIB/libjitprofiling.a not found.])
fi
VTUNE_CFLAGS=-I$VTUNE_INCLUDE
VTUNE_LIBS="-L/$VTUNE_LIB/ -ljitprofiling"
AC_SUBST(VTUNE_LIBS)
AC_SUBST(VTUNE_CFLAGS)
fi
dnl Use GCC atomic ops if they work on the target.
if test x$GCC = "xyes"; then
case $TARGET in
@@ -3557,7 +3851,6 @@ mono/tests/cas/threads/Makefile
mono/tests/gc-descriptors/Makefile
mono/unit-tests/Makefile
mono/benchmark/Makefile
mono/monograph/Makefile
mono/io-layer/Makefile
mono/mini/Makefile
mono/profiler/Makefile
@@ -3599,6 +3892,7 @@ data/config
tools/Makefile
tools/locale-builder/Makefile
tools/sgen/Makefile
tools/monograph/Makefile
runtime/Makefile
msvc/Makefile
po/Makefile
+4 -1
View File
@@ -1,6 +1,7 @@
SUBDIRS = net_2_0 net_4_0 net_4_5
monodir = $(sysconfdir)/mono
monolldbdir = $(libdir)/mono/lldb
EXTRA_DIST = \
config.in \
@@ -12,7 +13,8 @@ EXTRA_DIST = \
reactive.pc.in xbuild12.pc \
net_1_1/machine.config \
gdb/mono-gdb.py \
gdb/gdb-python.diff
gdb/gdb-python.diff \
lldb/mono.py
pkgconfigdir = $(libdir)/pkgconfig
@@ -31,6 +33,7 @@ DISTCLEANFILES= mono-2.pc mono.pc mint.pc dotnet.pc dotnet35.pc wcf.pc mono-nuni
mono_DATA = config \
browscap.ini
monolldb_DATA = lldb/mono.py
gdbdir = $(bindir)
mono-sgen-gdb.py: gdb/mono-gdb.py
+174
View File
@@ -0,0 +1,174 @@
#
# Author: Zoltan Varga ([email protected])
# License: MIT/X11
#
#
# This is a mono support mode for lldb
#
# Comments about the lldb python api:
# - there are no accessors, i.e. valobj["name"]
# - http://lldb.llvm.org/python_reference/index.html seems to be outdated
# - there is no autoload support, i.e. can't load this file automatically
# when 'mono' is the debugger target.
import lldb
# FIXME: Generate enums from runtime enums
MONO_TYPE_END = 0x00
MONO_TYPE_VOID = 0x01
MONO_TYPE_BOOLEAN = 0x02
MONO_TYPE_CHAR = 0x03
MONO_TYPE_I1 = 0x04
MONO_TYPE_U1 = 0x05
MONO_TYPE_I2 = 0x06
MONO_TYPE_U2 = 0x07
MONO_TYPE_I4 = 0x08
MONO_TYPE_U4 = 0x09
MONO_TYPE_I8 = 0x0a
MONO_TYPE_U8 = 0x0b
MONO_TYPE_R4 = 0x0c
MONO_TYPE_R8 = 0x0d
MONO_TYPE_STRING = 0x0e
MONO_TYPE_PTR = 0x0f
MONO_TYPE_BYREF = 0x10
MONO_TYPE_VALUETYPE = 0x11
MONO_TYPE_CLASS = 0x12
MONO_TYPE_VAR = 0x13
MONO_TYPE_ARRAY = 0x14
MONO_TYPE_GENERICINST= 0x15
MONO_TYPE_TYPEDBYREF = 0x16
MONO_TYPE_I = 0x18
MONO_TYPE_U = 0x19
MONO_TYPE_FNPTR = 0x1b
MONO_TYPE_OBJECT = 0x1c
MONO_TYPE_SZARRAY = 0x1d
MONO_TYPE_MVAR = 0x1e
primitive_type_names = {
MONO_TYPE_BOOLEAN : "bool",
MONO_TYPE_CHAR : "char",
MONO_TYPE_I1 : "sbyte",
MONO_TYPE_U1 : "byte",
MONO_TYPE_I2 : "short",
MONO_TYPE_U2 : "ushort",
MONO_TYPE_I4 : "int",
MONO_TYPE_U4 : "uint",
MONO_TYPE_I8 : "long",
MONO_TYPE_U8 : "ulong",
MONO_TYPE_R4 : "float",
MONO_TYPE_R8 : "double",
MONO_TYPE_STRING : "string"
}
#
# Helper functions for working with the lldb python api
#
def member(val, member_name):
return val.GetChildMemberWithName (member_name)
def string_member(val, member_name):
return val.GetChildMemberWithName (member_name).GetSummary ()[1:-1]
def isnull(val):
return val.deref.addr.GetOffset () == 0
def stringify_class_name(ns, name):
if ns == "System":
if name == "Byte":
return "byte"
if name == "String":
return "string"
if ns == "":
return name
else:
return "{0}.{1}".format (ns, name)
#
# Pretty printers for mono runtime types
#
def stringify_type (type):
"Print a MonoType structure"
ttype = member(type, "type").GetValueAsUnsigned()
if primitive_type_names.has_key (ttype):
return primitive_type_names [ttype]
else:
return "<MonoTypeEnum 0x{0:x}>".format (ttype)
def stringify_ginst (ginst):
"Print a MonoGenericInst structure"
len = int(member(ginst, "type_argc").GetValue())
argv = member(ginst, "type_argv")
res=""
for i in range(len):
t = argv.GetChildAtIndex(i, False, True)
if i > 0:
res += ", "
res += stringify_type(t)
return res
def print_type(valobj, internal_dict):
type = valobj
if isnull (type):
return ""
return stringify_type (type)
def print_class (valobj, internal_dict):
klass = valobj
if isnull (klass):
return ""
aname = member (member (member (klass, "image"), "assembly"), "aname")
basename = "[{0}]{1}".format (string_member (aname, "name"), (stringify_class_name (string_member (klass, "name_space"), string_member (klass, "name"))))
gclass = member (klass, "generic_class")
if not isnull (gclass):
ginst = member (member (gclass, "context"), "class_inst")
return "{0}<{1}>".format (basename, stringify_ginst (ginst))
return basename
def print_method (valobj, internal_dict):
method = valobj
if isnull (method):
return ""
klass = member (method, "klass")
return "{0}:{1}()".format (print_class (klass, None), string_member (valobj, "name"))
def print_domain(valobj, internal_dict):
domain = valobj
if isnull (domain):
return ""
target = domain.target
root = target.FindFirstGlobalVariable("mono_root_domain")
name = string_member (domain, "friendly_name")
if root.IsValid () and root.deref.addr.GetOffset () == root.deref.addr.GetOffset ():
return "[root]"
else:
return "[{0}]".format (name)
def print_object(valobj, internal_dict):
obj = valobj
if isnull (obj):
return ""
domain = member (member (obj, "vtable"), "domain")
klass = member (member (obj, "vtable"), "klass")
return print_domain (domain, None) + print_class (klass, None)
# Register pretty printers
# FIXME: This cannot pick up the methods define in this module, leading to warnings
lldb.debugger.HandleCommand ("type summary add -w mono -F mono.print_method MonoMethod")
lldb.debugger.HandleCommand ("type summary add -w mono -F mono.print_class MonoClass")
lldb.debugger.HandleCommand ("type summary add -w mono -F mono.print_type MonoType")
lldb.debugger.HandleCommand ("type summary add -w mono -F mono.print_domain MonoDomain")
lldb.debugger.HandleCommand ("type summary add -w mono -F mono.print_object MonoObject")
lldb.debugger.HandleCommand ("type category enable mono")
# Helper commands for runtime debugging
# These resume the target
# Print the method at the current ip
lldb.debugger.HandleCommand ("command alias pip p mono_print_method_from_ip((void*)$pc)")
# Print the method at the provided ip
lldb.debugger.HandleCommand ("command regex pmip 's/^$/p mono_print_method_from_ip((void*)$pc)/' 's/(.+)/p mono_print_method_from_ip((void*)(%1))/'")
print "Mono support mode loaded."
+2
View File
@@ -143,6 +143,8 @@ public enum Lock {
IcallLock,
AssemblyBindingLock,
MarshalLock,
ClassesLock,
LoaderGlobalDataLock
}
public class SimLock
+1
View File
@@ -814,6 +814,7 @@ gboolean g_spawn_command_line_sync (const gchar *command_line, gchar **standard_
gboolean g_spawn_async_with_pipes (const gchar *working_directory, gchar **argv, gchar **envp, GSpawnFlags flags, GSpawnChildSetupFunc child_setup,
gpointer user_data, GPid *child_pid, gint *standard_input, gint *standard_output, gint *standard_error, GError **error);
int eg_getdtablesize (void);
/*
* Timer
+10 -4
View File
@@ -218,8 +218,8 @@ write_all (int fd, const void *vbuf, size_t n)
}
#ifndef G_OS_WIN32
static int
g_getdtablesize (void)
int
eg_getdtablesize (void)
{
#ifdef HAVE_GETRLIMIT
struct rlimit limit;
@@ -232,6 +232,12 @@ g_getdtablesize (void)
return getdtablesize ();
#endif
}
#else
int
eg_getdtablesize (void)
{
g_error ("Should not be called");
}
#endif
gboolean
@@ -277,7 +283,7 @@ g_spawn_command_line_sync (const gchar *command_line,
close (stderr_pipe [0]);
dup2 (stderr_pipe [1], STDERR_FILENO);
}
for (i = g_getdtablesize () - 1; i >= 3; i--)
for (i = eg_getdtablesize () - 1; i >= 3; i--)
close (i);
/* G_SPAWN_SEARCH_PATH is always enabled for g_spawn_command_line_sync */
@@ -438,7 +444,7 @@ g_spawn_async_with_pipes (const gchar *working_directory,
}
if ((flags & G_SPAWN_LEAVE_DESCRIPTORS_OPEN) != 0) {
for (i = g_getdtablesize () - 1; i >= 3; i--)
for (i = eg_getdtablesize () - 1; i >= 3; i--)
close (i);
}
+1 -1
+4 -4
View File
@@ -358,9 +358,9 @@ gmcs(1), mcs(1), mdb(1), mono(1), pkg-config(1)
.SH BUGS
To report bugs in the compiler, you must file them on our bug tracking
system, at:
http://www.mono-project.com/Bugs
http://www.mono-project.com/community/bugs/
.SH MAILING LIST
The Mono Mailing lists are listed at http://www.mono-project.com/Mailing_Lists
The Mono Mailing lists are listed at http://www.mono-project.com/community/help/mailing-lists/
.SH MORE INFORMATION
The Mono C# compiler was developed by Novell, Inc
(http://www.novell.com, http) and is based on the
@@ -368,5 +368,5 @@ ECMA C# language standard available here:
http://www.ecma.ch/ecma1/STAND/ecma-334.htm
.PP
The home page for the Mono C# compiler is at
http://www.mono-project.com/CSharp_Compiler information about the
interactive mode for C# is available in http://mono-project.com/CsharpRepl
http://www.mono-project.com/docs/about-mono/languages/csharp/ information about the
interactive mode for C# is available in http://mono-project.com/docs/tools+libraries/tools/repl/
+2 -2
View File
@@ -54,7 +54,7 @@ httpcfg -add -port 8081 -pvk myfile.pvk -cert MyCert
For more details on creating the certificate file and the private key,
see the following web page:
.PP
http://www.mono-project.com/UsingClientCertificatesWithXSP
http://www.mono-project.com/docs/web/using-clientcertificates-with-xsp/
.SH FILES
The certificates are stored in the ~/.mono/httplistener directory
.SH AUTHOR
@@ -72,4 +72,4 @@ Visit http://www.mono-project.com for details
The private key format:
.nf
http://www.drh-consultancy.demon.co.uk/pvk.html
.fi
.fi
+1 -1
View File
@@ -78,7 +78,7 @@ version and publickeytoken.
.SH MAILING LISTS
Mailing lists are listed at the
http://www.mono-project.com/Mailing_Lists
http://www.mono-project.com/community/help/mailing-lists/
.SH WEB SITE
http://www.mono-project.com
.SH SEE ALSO
+3 -3
View File
@@ -538,13 +538,13 @@ csharp(1), mdb(1), mono(1), mopen(1), pkg-config(1), sn(1)
.SH BUGS
To report bugs in the compiler, you must file them on our bug tracking
system, at:
http://www.mono-project.com/Bugs
http://www.mono-project.com/community/bugs/
.SH MAILING LIST
The Mono Mailing lists are listed at http://www.mono-project.com/Mailing_Lists
The Mono Mailing lists are listed at http://www.mono-project.com/community/help/mailing-lists/
.SH MORE INFORMATION
The Mono C# compiler was developed by Novell, Inc
(http://www.novell.com) and Xamarin Inc (http://www.xamarin.com) is based on the
ECMA C# language standard available here:
http://www.ecma.ch/ecma1/STAND/ecma-334.htm
.PP
The home page for the Mono C# compiler is at http://www.mono-project.com/CSharp_Compiler
The home page for the Mono C# compiler is at http://www.mono-project.com/docs/about-mono/languages/csharp/
+2 -2
View File
@@ -198,7 +198,7 @@ file for a list of PATH values
.I //node/@name
values).
.sp
See also: http://www.mono-project.com/Generating_Documentation
See also: http://www.mono-project.com/docs/tools+libraries/tools/monodoc/generating-documentation/
.TP
.I Create your documentation
See also the
@@ -256,4 +256,4 @@ Visit http://lists.ximian.com/mailman/listinfo/mono-docs-list for details.
.SH WEB SITE
See also: http://www.mono-project.com
and
http://www.mono-project.com/Assembler
http://www.mono-project.com/docs/tools+libraries/tools/mdassembler/
+1 -1
View File
@@ -207,4 +207,4 @@ file and looks for referenced documents to create the help source.
.TP
Visit http://lists.ximian.com/mailman/listinfo/mono-docs-list for details.
.SH WEB SITE
See also: http://www.mono-project.com/mdoc
See also: http://www.mono-project.com/docs/tools+libraries/tools/mdoc/
+1 -1
View File
@@ -148,4 +148,4 @@ See the \fICREF FORMAT\fR section of \fBmdoc\fR(5) for more information.
.TP
Visit http://lists.ximian.com/mailman/listinfo/mono-docs-list for details.
.SH WEB SITE
Visit http://www.mono-project.com/mdoc for details
Visit http://www.mono-project.com/docs/tools+libraries/tools/mdoc/ for details
+1 -1
View File
@@ -34,4 +34,4 @@ Display a help message and exit.
.TP
Visit http://lists.ximian.com/mailman/listinfo/mono-docs-list for details.
.SH WEB SITE
Visit http://www.mono-project.com/mdoc for details
Visit http://www.mono-project.com/docs/tools+libraries/tools/mdoc/ for details
+1 -1
View File
@@ -51,4 +51,4 @@ documentation within that directory, recursively), use:
.TP
Visit http://lists.ximian.com/mailman/listinfo/mono-docs-list for details.
.SH WEB SITE
Visit http://www.mono-project.com/mdoc for details
Visit http://www.mono-project.com/docs/tools+libraries/tools/mdoc/ for details
+1 -1
View File
@@ -195,4 +195,4 @@ mdoc-validate(1)
.TP
Visit http://lists.ximian.com/mailman/listinfo/mono-docs-list for details.
.SH WEB SITE
Visit http://www.mono-project.com/mdoc for details
Visit http://www.mono-project.com/docs/tools+libraries/tools/mdoc/ for details
+1 -1
View File
@@ -11,7 +11,7 @@ longer necessary, but the metadata still is.
.SH COPYRIGHT
Copyright (C) 2008 Novell, Inc (http://www.novell.com)
.SH MAILING LISTS
Mailing lists are listed at http://www.mono-project.com/Mailing_Lists
Mailing lists are listed at http://www.mono-project.com/community/help/mailing-lists/
.SH LICENSE
mono-cil-strip is licensed under the MIT/X11 license. Please read the accompayning
MIT.X11 file for details.
+1 -1
View File
@@ -78,7 +78,7 @@ specified it reads the standard input. If
is not specified, the output is sent to the standard output.
.SH MAILING LISTS
Mailing lists are listed at the
http://www.mono-project.com/Mailing_Lists
http://www.mono-project.com/community/help/mailing-lists/
.SH WEB SITE
http://www.mono-project.com
.SH SEE ALSO
+38 -7
View File
@@ -222,7 +222,7 @@ example, --tool=prefix=arm-linux-gnueabi- will make the AOT compiler run
.I write-symbols
Instructs the AOT compiler to emit debug symbol information.
.PP
For more information about AOT, see: http://www.mono-project.com/AOT
For more information about AOT, see: http://www.mono-project.com/docs/advanced/aot/
.RE
.TP
\fB--attach=[options]\fR
@@ -318,7 +318,7 @@ If the Mono runtime has been compiled with LLVM support (not available
in all configurations), Mono will use the LLVM optimization and code
generation engine to JIT or AOT compile.
.Sp
For more information, consult: http://www.mono-project.com/Mono_LLVM
For more information, consult: http://www.mono-project.com/docs/advanced/mono-llvm/
.TP
\fB--nollvm\fR
When using a Mono that has been compiled with LLVM support, it forces
@@ -401,7 +401,7 @@ e.g. execution of Code Access Security (CAS) or non-CAS demands.
.I core-clr
Enables the core-clr security system, typically used for
Moonlight/Silverlight applications. It provides a much simpler
security system than CAS, see http://www.mono-project.com/Moonlight
security system than CAS, see http://www.mono-project.com/docs/web/moonlight/
for more details and links to the descriptions of this new system.
.TP
.I validil
@@ -737,7 +737,7 @@ shared library `mono-profiler-custom.so'. This profiler module must
be on your dynamic linker library path.
.PP
A list of other third party profilers is available from Mono's web
site (www.mono-project.com/Performance_Tips)
site (www.mono-project.com/docs/advanced/performance-tips/)
.PP
Custom profiles are written as shared libraries. The shared library
must be called `mono-profiler-NAME.so' where `NAME' is the name of
@@ -854,6 +854,27 @@ The following is a common use to track down problems with P/Invoke:
.fi
.PP
.SH DEBUGGING WITH LLDB
If you are using LLDB, you can use the
.B mono.py
script to print some internal data structures with it. To use this,
add this to your
.B $HOME/.lldbinit
file:
.nf
command script import $PREFIX/lib/mono/lldb/mono.py
.fi
.PP
Where $PREFIX is the prefix value that you used when you configured
Mono (typically /usr).
.PP
Once this is done, then you can inspect some Mono Runtime data structures,
for example:
.nf
(lldb) p method
(MonoMethod *) $0 = 0x05026ac0 [mscorlib]System.OutOfMemoryException:.ctor()
.fi
.SH SERIALIZATION
Mono's XML serialization engine by default will use a reflection-based
approach to serialize which might be slow for continuous processing
@@ -1267,6 +1288,16 @@ heap corruption issues.
.ne
.RE
.TP
\fBdo-not-finalize\fR
If enabled, finalizers will not be run. Everything else will be
unaffected: finalizable objects will still be put into the
finalization queue where they survive until they're scheduled to
finalize. Once they're not in the queue anymore they will be
collected regularly.
.fi
.ne
.RE
.TP
\fBMONO_GAC_PREFIX\fR
Provides a prefix the runtime uses to look for Global Assembly Caches.
Directories are separated by the platform path separator (colons on
@@ -1372,7 +1403,7 @@ libraries side-by-side with the main executable.
.Sp
For a complete description of recommended practices for application
deployment, see
http://www.mono-project.com/Guidelines:Application_Deployment
http://www.mono-project.com/docs/getting-started/application-deployment/
.TP
\fBMONO_RTC\fR
Experimental RTC support in the statistical profiler: if the user has
@@ -1756,7 +1787,7 @@ on this subject see the http://www.mono-project.com/Config_system.web
page.
.SH MAILING LISTS
Mailing lists are listed at the
http://www.mono-project.com/Mailing_Lists
http://www.mono-project.com/community/help/mailing-lists/
.SH WEB SITE
http://www.mono-project.com
.SH SEE ALSO
@@ -1765,6 +1796,6 @@ certmgr(1), csharp(1), mcs(1), mdb(1), monocov(1), monodis(1),
mono-config(5), mozroots(1), mprof-report(1), pdb2mdb(1), xsp(1), mod_mono(8).
.PP
For more information on AOT:
http://www.mono-project.com/AOT
http://www.mono-project.com/docs/advanced/aot/
.PP
For ASP.NET-related documentation, see the xsp(1) manual page
+3 -3
View File
@@ -202,13 +202,13 @@ Specify a parameter for a custom step.
.SH COPYRIGHT
Copyright (C) 2007 Novell, Inc (http://www.novell.com)
.SH BUGS
Bugs report are welcome at http://bugzilla.ximian.com
Bugs report are welcome at http://bugzilla.xamarin.com
.PP
Product Mono Tools, Component linker.
.SH MAILING LISTS
Mailing lists are listed at http://www.mono-project.com/Mailing_Lists
Mailing lists are listed at http://www.mono-project.com/community/help/mailing-lists/
.SH WEB SITE
http://www.mono-project.com/Linker
http://www.mono-project.com/docs/tools+libraries/tools/linker/
.SH AUTHORS
The linker has been written by Jb Evain, and have been partially founded by
the Google Summer of Code.
+8
View File
@@ -30,6 +30,14 @@ Show private members.
.TP
.I \-\-runtime\-version
Print runtime version.
.TP
.I \-xa
Sets the lookup path to the Xamarin.Android directory. This will
load both the mscorlib from there, and search assemblies in that directory.
.TP
.I \-xi
Sets the lookup path to the Xamarin.iOS directory. This will
load both the mscorlib from there, and search assemblies in that directory.
.PP
.SH DESCRIPTION
Monop is a tool that allows you to view the outline of a class. You can see the
+1 -1
View File
@@ -170,7 +170,7 @@ manual page for more information on managing certificate stores.
Copyright (C) 2005 Novell.
.SH MAILING LISTS
Mailing lists are listed at the
http://www.mono-project.com/Mailing_Lists
http://www.mono-project.com/community/help/mailing-lists/
.SH WEB SITE
http://www.mono-project.com
.SH SEE ALSO
+1 -1
View File
@@ -536,7 +536,7 @@ information, you could use it like this:
.PP
\f[B]output=|mprof-report\ --reports=monitor\ --traces\ -\f[]
.SH WEB SITE
http://www.mono-project.com/Profiler
http://www.mono-project.com/docs/debug+profile/profile/profiler/
.SH SEE ALSO
.PP
mono(1)
+1 -1
View File
@@ -518,7 +518,7 @@ licenses are available from Novell or Daniel Morgan.
To report bugs in the compiler, you can use `bug-buddy', or you can
file bug reports in our bug tracking system:
.nf
http://bugzilla.ximian.com.
http://bugzilla.xamarin.com.
.fi
.PP
.SH MAILING LISTS
-56
View File
@@ -17,62 +17,6 @@ net_4_5_SUBDIRS := build mcs class nunit24 ilasm tools tests errors docs
xbuild_12_SUBDIRS := build class tools/xbuild
xbuild_14_SUBDIRS := build class tools/xbuild
# List of test subdirs that should pass 100%
centum_tests := \
class/corlib \
class/System \
class/System.XML \
class/Commons.Xml.Relaxng \
class/Cscompmgd \
class/Mono.Posix \
class/Mono.Security \
class/System.Design \
class/System.DirectoryServices \
class/System.Drawing \
class/System.Runtime.Remoting \
class/System.Runtime.Serialization.Formatters.Soap \
class/System.Security \
class/System.ServiceProcess \
class/System.Web \
class/System.Web.Services \
tests \
errors
default_centum_tests := \
$(centum_tests) \
class/System.Data
net_2_0_centum_tests := \
$(centum_tests) \
class/System.Core \
class/System.Configuration \
class/System.Data.DataSetExtensions \
class/System.Xml.Linq \
class/System.Transactions \
class/Microsoft.Build.Framework \
class/Microsoft.Build.Utilities \
class/Microsoft.Build.Engine \
class/System.Runtime.Serialization \
class/System.IdentityModel \
class/System.ServiceModel \
class/System.ServiceModel.Web \
class/Mono.C5
# class/System.Web.Extensions
# class/Microsoft.Build.Tasks
# note that System.Xml.Linq is here to prevent this from being empty
net_3_5_centum_tests := \
class/System.Xml.Linq
ifdef ONLY_CENTUM_TESTS
TEST_SUBDIRS := $($(PROFILE)_centum_tests)
endif
ifdef TEST_SUBDIRS
$(PROFILE)_SUBDIRS := $(TEST_SUBDIRS)
endif
include build/rules.make
all-recursive $(STD_TARGETS:=-recursive): dir-check platform-check profile-check
+2 -1
View File
@@ -9,6 +9,7 @@ static class AssemblyRef
public const string EcmaPublicKey = "b77a5c561934e089";
public const string MicrosoftPublicKey = "b03f5f7f11d50a3a";
public const string MicrosoftVSDesigner = Consts.AssemblyMicrosoft_VSDesigner;
public const string SystemDesign = Consts.AssemblySystem_Design;
public const string SystemDrawing = Consts.AssemblySystem_Drawing;
public const string SystemWeb = Consts.AssemblySystem_Web;
@@ -41,6 +42,6 @@ static partial class SR
namespace System.Runtime.CompilerServices
{
class FriendAccessAllowed : Attribute
class FriendAccessAllowedAttribute : Attribute
{ }
}
+7 -1
View File
@@ -23,8 +23,14 @@ class X {
return 1;
var consts = o.GetType ().Assembly.GetType ("Consts");
if (consts == null)
if (consts == null) {
// We could be bootraping on cygwin using .net runtime
var assembly = o.GetType ().Assembly;
if (assembly.GetName ().Version >= new Version (4, 0) && assembly.Location.Contains ("Microsoft.NET"))
return 0;
return 2;
}
var field = consts.GetField ("MonoVersion");
if (field == null)
+1 -13
View File
@@ -79,15 +79,11 @@ secxml_libdir = $(the_libdir_base)secxml
the_libdir = $(the_libdir_base)$(intermediate)
ifdef LIBRARY_NEEDS_POSTPROCESSING
build_libdir = fixup/$(PROFILE)/
else
ifdef LIBRARY_USE_INTERMEDIATE_FILE
build_libdir = $(the_libdir)tmp/
else
build_libdir = $(the_libdir)
endif
endif
the_lib = $(the_libdir)$(LIBRARY_NAME)
build_lib = $(build_libdir)$(LIBRARY_NAME)
@@ -243,13 +239,6 @@ dist-local: dist-default
for d in . $$subs ; do \
case $$d in .) : ;; *) test ! -f $$d/ChangeLog || cp -p $$d/ChangeLog $(distdir)/$$d ;; esac ; done
ifdef LIBRARY_NEEDS_POSTPROCESSING
dist-local: dist-fixup
FIXUP_PROFILES = default net_2_0
dist-fixup:
$(MKINSTALLDIRS) $(distdir)/fixup $(FIXUP_PROFILES:%=$(distdir)/fixup/%)
endif
ifndef LIBRARY_COMPILE
LIBRARY_COMPILE = $(CSCOMPILE)
endif
@@ -340,9 +329,8 @@ $(makefrag) $(test_response) $(test_makefrag) $(btest_response) $(btest_makefrag
## Documentation stuff
Q_MDOC_UP=$(if $(V),,@echo "MDOC-UP [$(PROFILE)] $(notdir $(@))";)
# net_2_0 is needed because monodoc is only compiled in that profile
MDOC_UP =$(Q_MDOC_UP) \
MONO_PATH="$(topdir)/class/lib/$(DEFAULT_PROFILE)$(PLATFORM_PATH_SEPARATOR)$(topdir)/class/lib/net_2_0$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(RUNTIME) $(topdir)/class/lib/$(DEFAULT_PROFILE)/mdoc.exe \
MONO_PATH="$(topdir)/class/lib/$(DEFAULT_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(RUNTIME) $(topdir)/class/lib/$(DEFAULT_PROFILE)/mdoc.exe \
update --delete -o Documentation/en $(the_lib)
doc-update-local: $(the_libdir)/.doc-stamp
+1 -1
View File
@@ -18,7 +18,7 @@ endif
MCS = $(with_mono_path) $(INTERNAL_GMCS)
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 -d:MONO -d:BOOTSTRAP_BASIC -nowarn:1699 -d:DISABLE_CAS_USE
PROFILE_MCS_FLAGS = -d:NET_4_0 -d:NET_4_5 -d:MONO -d:BOOTSTRAP_BASIC -nowarn:1699 -d:DISABLE_CAS_USE -lib:$(topdir)/class/lib/$(PROFILE)
NO_SIGN_ASSEMBLY = yes
NO_TEST = yes
NO_INSTALL = yes
+1 -1
View File
@@ -13,7 +13,7 @@ profile-check:
@:
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 -d:MONO -d:DISABLE_CAS_USE -nowarn:1699 -nostdlib -lib:$(topdir)/class/lib/$(PROFILE) $(DEFAULT_REFERENCES)
PROFILE_MCS_FLAGS = -d:NET_4_0 -d:NET_4_5 -d:MONO -d:DISABLE_CAS_USE -nowarn:1699 -nostdlib -lib:$(topdir)/class/lib/$(PROFILE) $(DEFAULT_REFERENCES)
NO_SIGN_ASSEMBLY = yes
NO_TEST = yes
+1 -1
View File
@@ -11,7 +11,7 @@ profile-check:
@:
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 -d:MONO -d:DISABLE_CAS_USE -nowarn:1699 -nostdlib -lib:$(topdir)/class/lib/$(PROFILE) $(DEFAULT_REFERENCES) $(PLATFORM_DEBUG_FLAGS)
PROFILE_MCS_FLAGS = -d:NET_4_0 -d:NET_4_5 -d:MONO -d:DISABLE_CAS_USE -nowarn:1699 -nostdlib -lib:$(topdir)/class/lib/$(PROFILE) $(DEFAULT_REFERENCES) $(PLATFORM_DEBUG_FLAGS)
FRAMEWORK_VERSION = 4.5
XBUILD_VERSION = 4.0
+1 -2
View File
@@ -210,6 +210,5 @@ dist-default:
## Documentation stuff
Q_MDOC =$(if $(V),,@echo "MDOC [$(PROFILE)] $(notdir $(@))";)
# net_2_0 is needed because monodoc is only compiled in that profile
MDOC =$(Q_MDOC) MONO_PATH="$(topdir)/class/lib/$(DEFAULT_PROFILE)$(PLATFORM_PATH_SEPARATOR)$(topdir)/class/lib/net_2_0$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(RUNTIME) $(topdir)/class/lib/$(DEFAULT_PROFILE)/mdoc.exe
MDOC =$(Q_MDOC) MONO_PATH="$(topdir)/class/lib/$(DEFAULT_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(RUNTIME) $(topdir)/class/lib/$(DEFAULT_PROFILE)/mdoc.exe
@@ -25,7 +25,7 @@
<DebugType>full</DebugType>
<NoWarn>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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -33,7 +33,7 @@
<DebugType>pdbonly</DebugType>
<NoWarn>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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -41,7 +41,6 @@ namespace Commons.Xml.Nvdl
public override XmlReader CreateValidator (XmlReader reader,
XmlResolver resolver)
{
#if NET_2_0
XmlReaderSettings s = new XmlReaderSettings ();
s.ValidationType = ValidationType.Schema;
// do not allow inline schema and schemaLocation.
@@ -50,14 +49,6 @@ namespace Commons.Xml.Nvdl
foreach (XmlSchema schema in schemas)
s.Schemas.Add (schema);
return XmlReader.Create (reader, s);
#else
XmlValidatingReader xvr =
new XmlValidatingReader (reader);
xvr.XmlResolver = resolver;
foreach (XmlSchema schema in schemas)
xvr.Schemas.Add (schema);
return xvr;
#endif
}
public override bool AddOption (string name, string arg)
@@ -25,7 +25,7 @@
<DebugType>full</DebugType>
<NoWarn>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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -33,7 +33,7 @@
<DebugType>pdbonly</DebugType>
<NoWarn>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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -417,7 +417,6 @@ namespace Commons.Xml.Relaxng.Inference
private QName InferMergedType (string value, QName typeName)
{
#if NET_2_0
// examine value against specified type and
// if unacceptable, then return a relaxed type.
@@ -436,7 +435,6 @@ namespace Commons.Xml.Relaxng.Inference
typeName = st != null ? st.QualifiedName : QName.Empty;
}
} while (typeName != QName.Empty);
#endif
return QNameString;
}
@@ -34,11 +34,7 @@ using System.IO;
using System.Xml;
using Commons.Xml.Relaxng;
#if NET_2_0
using NSResolver = System.Xml.IXmlNamespaceResolver;
#else
using NSResolver = System.Xml.XmlNamespaceManager;
#endif
namespace Commons.Xml.Relaxng.Rnc
{
@@ -217,11 +213,6 @@ namespace Commons.Xml.Relaxng.Rnc
{
string prefix = String.Empty;
if (ns != null && ns != String.Empty) {
#if NET_2_0
#else
// XmlNamespaceManager sucks.
ns = nss.NameTable.Add (ns);
#endif
prefix = nss.LookupPrefix (ns);
}
if (prefix == null)
@@ -278,12 +269,8 @@ namespace Commons.Xml.Relaxng.Rnc
defaultNamespace);
if (nsmgr != null) {
#if NET_2_0
foreach (string s in nsmgr.GetNamespacesInScope (
XmlNamespaceScope.All).Keys) {
#else
foreach (string s in nsmgr) {
#endif
switch (s) {
case "xml":
case "xmlns":
@@ -38,11 +38,7 @@ using System.Xml;
using Commons.Xml.Relaxng.Derivative;
using Commons.Xml.Relaxng.Rnc;
#if NET_2_0
using NSResolver = System.Xml.IXmlNamespaceResolver;
#else
using NSResolver = System.Xml.XmlNamespaceManager;
#endif
namespace Commons.Xml.Relaxng
{
@@ -47,12 +47,7 @@ using System.Runtime.CompilerServices;
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
#if NET_2_0
[assembly: AssemblyVersion("2.6.0.0")]
#else
// not worrying about the NET_1_0 profile for now.
[assembly: AssemblyVersion("0.6.0.0")]
#endif
[assembly: AssemblyDelaySign(true)]
[assembly: AssemblyKeyFile ("SharpZipLib.pub")]
@@ -33,9 +33,7 @@ using System.Reflection;
using System.Resources;
using System.Diagnostics;
using System.Runtime.CompilerServices;
#if NET_2_0
using System.Runtime.ConstrainedExecution;
#endif
using System.Runtime.InteropServices;
// General Information about the cscompmgd assembly
+2 -2
View File
@@ -25,7 +25,7 @@
<DebugType>full</DebugType>
<NoWarn>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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -33,7 +33,7 @@
<DebugType>pdbonly</DebugType>
<NoWarn>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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -36,9 +36,7 @@ using System.Text.RegularExpressions;
namespace Microsoft.CSharp {
#if NET_2_0
[System.Obsolete]
#endif
public class Compiler {
private Compiler()
@@ -32,9 +32,7 @@ using System.Text;
namespace Microsoft.CSharp {
#if NET_2_0
[System.Obsolete]
#endif
public class CompilerError {
public ErrorLevel ErrorLevel;
@@ -29,9 +29,7 @@
namespace Microsoft.CSharp {
#if NET_2_0
[System.Obsolete]
#endif
public enum ErrorLevel {
None,
Warning,
@@ -25,7 +25,7 @@
<DebugType>full</DebugType>
<NoWarn>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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -33,7 +33,7 @@
<DebugType>pdbonly</DebugType>
<NoWarn>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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -31,7 +31,7 @@
<DebugType>full</DebugType>
<NoWarn>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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -39,7 +39,7 @@
<DebugType>pdbonly</DebugType>
<NoWarn>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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -31,7 +31,7 @@
<DebugType>full</DebugType>
<NoWarn>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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -39,7 +39,7 @@
<DebugType>pdbonly</DebugType>
<NoWarn>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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -31,7 +31,7 @@
<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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -39,7 +39,7 @@
<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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -31,7 +31,7 @@
<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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -39,7 +39,7 @@
<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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -31,7 +31,7 @@
<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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -39,7 +39,7 @@
<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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -31,7 +31,7 @@
<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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -39,7 +39,7 @@
<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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -31,7 +31,7 @@
<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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -39,7 +39,7 @@
<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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -31,7 +31,7 @@
<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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -39,7 +39,7 @@
<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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -31,7 +31,7 @@
<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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -39,7 +39,7 @@
<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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -31,7 +31,7 @@
<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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -39,7 +39,7 @@
<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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -31,7 +31,7 @@
<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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -39,7 +39,7 @@
<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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -31,7 +31,7 @@
<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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -39,7 +39,7 @@
<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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -31,7 +31,7 @@
<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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -39,7 +39,7 @@
<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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -31,7 +31,7 @@
<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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -39,7 +39,7 @@
<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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -31,7 +31,7 @@
<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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -39,7 +39,7 @@
<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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -31,7 +31,7 @@
<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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -39,7 +39,7 @@
<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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -31,7 +31,7 @@
<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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -39,7 +39,7 @@
<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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -31,7 +31,7 @@
<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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -39,7 +39,7 @@
<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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -31,7 +31,7 @@
<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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -39,7 +39,7 @@
<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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -31,7 +31,7 @@
<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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -39,7 +39,7 @@
<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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -31,7 +31,7 @@
<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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -39,7 +39,7 @@
<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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -31,7 +31,7 @@
<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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -39,7 +39,7 @@
<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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -31,7 +31,7 @@
<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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -39,7 +39,7 @@
<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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -31,7 +31,7 @@
<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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -39,7 +39,7 @@
<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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -31,7 +31,7 @@
<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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -39,7 +39,7 @@
<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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -31,7 +31,7 @@
<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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -39,7 +39,7 @@
<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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -31,7 +31,7 @@
<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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -39,7 +39,7 @@
<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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -31,7 +31,7 @@
<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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -39,7 +39,7 @@
<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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -31,7 +31,7 @@
<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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -39,7 +39,7 @@
<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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -31,7 +31,7 @@
<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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -39,7 +39,7 @@
<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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -31,7 +31,7 @@
<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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -39,7 +39,7 @@
<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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -31,7 +31,7 @@
<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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -39,7 +39,7 @@
<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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -31,7 +31,7 @@
<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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -39,7 +39,7 @@
<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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -31,7 +31,7 @@
<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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -39,7 +39,7 @@
<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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -31,7 +31,7 @@
<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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -39,7 +39,7 @@
<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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -31,7 +31,7 @@
<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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -39,7 +39,7 @@
<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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -31,7 +31,7 @@
<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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -39,7 +39,7 @@
<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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -88,8 +88,8 @@
<Project>{FFAC0B73-D997-493B-9C62-27656CD858BB}</Project>
<Name>System-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="../../System.ComponentModel.Composition/System.ComponentModel.Composition-net_4_5.csproj">
<Project>{51392CAD-5DCF-443F-8ECF-C9113DF3B91A}</Project>
<ProjectReference Include="../../System.ComponentModel.Composition.4.5/System.ComponentModel.Composition-net_4_5.csproj">
<Project>{81352E26-6AB7-4AA3-8FB1-28A476E82748}</Project>
<Name>System.ComponentModel.Composition-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="../../System.Core/System.Core-net_4_5.csproj">
@@ -31,7 +31,7 @@
<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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -39,7 +39,7 @@
<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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -31,7 +31,7 @@
<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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -39,7 +39,7 @@
<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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -31,7 +31,7 @@
<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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -39,7 +39,7 @@
<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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -0,0 +1,96 @@
<?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>{EF11BD41-8AF8-4A15-A6B7-344BC9852EF6}</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.ServiceModel.Security</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup>
<SignAssembly>true</SignAssembly>
<DelaySign>true</DelaySign>
</PropertyGroup>
<PropertyGroup>
<AssemblyOriginatorKeyFile>../../msfinal.pub</AssemblyOriginatorKeyFile>
</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;MONO;DISABLE_CAS_USE</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;MONO;DISABLE_CAS_USE</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 Condition=" '$(OS)' != 'Windows_NT' ">
</PreBuildEvent>
<PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
</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-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="../../corlib/corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="../../System.ServiceModel/System.ServiceModel-net_4_5.csproj">
<Project>{F2156C09-C377-4945-A690-39CFBF3319B3}</Project>
<Name>System.ServiceModel-net_4_5</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
</Project>
@@ -38,4 +38,4 @@
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.ServiceModel.Security.TrustVersion))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.ServiceModel.SpnEndpointIdentity))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.ServiceModel.UpnEndpointIdentity))]
#endif
#endif
@@ -31,7 +31,7 @@
<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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -39,7 +39,7 @@
<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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -31,7 +31,7 @@
<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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -39,7 +39,7 @@
<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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -31,7 +31,7 @@
<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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -39,7 +39,7 @@
<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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -31,7 +31,7 @@
<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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -39,7 +39,7 @@
<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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -31,7 +31,7 @@
<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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -39,7 +39,7 @@
<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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -31,7 +31,7 @@
<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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -39,7 +39,7 @@
<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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -31,7 +31,7 @@
<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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -39,7 +39,7 @@
<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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -31,7 +31,7 @@
<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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -39,7 +39,7 @@
<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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -31,7 +31,7 @@
<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>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -39,7 +39,7 @@
<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>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;MONO;DISABLE_CAS_USE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
Loaded 100 of 5339 files, more files were not shown because too many files have changed in this diff. Show more