Compare commits

..
58 Commits
Author SHA1 Message Date
Ankit Jain 86b78b7d19 [3.2-wasm][wasm][debugger] Relocate tests (#19787)
* [wasm][debugger][tests] Move the test files to `tests/debugger`

- Also, rename `class Math` to `class SampleMath` in `sample.cs`,
to allow building sample.dll, with all the tests added.

* [wasm][debugger][tests] Add back missing dependency

* [wasm][debugger][tests] move *datetime-test.cs to `tests/debugger`

* [wasm][debugger][tests] Move CFO test to debugger-cfo-test.cs
2020-05-15 14:48:26 -04:00
Tammy Qiu d46a972c3b Merge pull request #19734 from tqiu8/locale-test
[wasm][debugger][tests] Add locale tests for datetime
2020-05-11 15:29:50 -04:00
monojenkinsandLarry Ewing 57dcba253c [3.2-wasm] [wasm][debugger] Only send resolved events on load (#19739)
* [wasm][debugger] Only send resolved events on load

* Add the request to the context after potentially loading the store

* improve the resolution logic

Co-authored-by: Larry Ewing <[email protected]>
2020-05-11 10:44:31 -05:00
tqiu8 e4acd81888 incorporate PR feedback & reference issue number for disabled locales 2020-05-08 12:00:47 -04:00
tqiu8 c6bd1ac7fa [wasm][debugger][tests] Add locale tests for datetime 2020-05-07 14:16:06 -04:00
Tammy Qiu 1a6e64a938 Merge pull request #19718 from tqiu8/breakpoint-tests
[wasm][debugger][tests] Add tests for multiple breakpoints inline
2020-05-05 18:14:54 -04:00
tqiu8 feb9163b26 [wasm][debugger][tests] Combine two tests in one using [Theory] 2020-05-05 18:14:25 -04:00
tqiu8 1b697209f5 [wasm][debugger][tests] More descriptive test name 2020-05-05 17:57:42 -04:00
tqiu8 40ca9b2f37 [wasm][debugger][tests] Update CheckBreakpoint with more descriptive name and use CheckLocation 2020-05-05 17:51:55 -04:00
tqiu8 0d532de801 [wasm][debugger][tests] add tests for multiple breakpoints 2020-05-05 17:28:25 -04:00
monojenkinsandLarry Ewing 7569ee7b36 [wasm][debugger] Add tests for floating common types (#19717)
Co-authored-by: Larry Ewing <[email protected]>
2020-05-05 13:56:00 -05:00
Larry Ewing fbc81c503e [3.2-wasm][wasm][debugger] Backport of #19688 (#19716)
* [wasm][debugger] Only choose the best match when mutiple locations are found

* OrderBy column just to be certain

* Add tests for the JS breakpoint behavior that we are duplicating

* remove accidentally disabled code
2020-05-05 13:55:15 -05:00
monojenkinsandBrzVlad 8bcfbc80f3 [interp] Move label outside of main loop (#19708)
Wasm has control flow limitations which don't go well with gotos. Move label outside of main loop because it translates to very poor wasm code. Other gotos don't seem to negatively impact instruction dispatch code, so leave them alone, for now ..

Co-authored-by: BrzVlad <[email protected]>
2020-05-05 12:36:08 -05:00
monojenkinsandAnkit Jain 5dc5126323 [3.2-wasm] [wasm][debugger][tests] Split tests into separate files (#19715)
* [wasm][debugger][tests] Move helper methods to base class

* [wasm][debugger][tests] Extract EvaluateOnCallFrame tests to new file

* [wasm][debugger][tests] Extract Array tests to a new file

* [wasm][debugger][tests] Extract CallFunctionOn tests to a new file

* [wasm][debugger][tests] Extract Delegate tests to a new file

* [wasm][debugger] Don't inherit from another test class

.. as that ends up running all the tests of the base class too.

* [wasm][debugger][tests] Improve retries in TestHarnessStartup

Sometimes `/json/list` seems to return an empty array (`[ ]`). Treat
that also as a case for retry.

* [wasm][debugger][tests] Bump timeout from 2s to 5s

* [wasm][debugger][tests] Launch chrome in incognito mode

* debugging

* [wasm][debugger] TestHarnessStartup - don't share `ProcessStartInfo`

.. instances. Instead, create one for every use.
We seem to run into cases where the `get_Environment` is modifying it's
`_environmentVariables` field, concurrently from multiple threads,
causing exceptions like:

```
System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at System.Diagnostics.Process.CreateEnvp(ProcessStartInfo psi)
   at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start()
   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
   at WebAssembly.Net.Debugging.TestHarnessStartup.LaunchAndServe(ProcessStartInfo psi, HttpContext context, Func`2 extract_conn_url) in /Users/radical/dev/w1/sdks/wasm/ProxyDriver/TestHarnessStartup.cs:line 82
   at WebAssembly.Net.Debugging.TestHarnessStartup.<>c__DisplayClass10_0.<<Configure>b__1>d.MoveNext() in /Users/radical/dev/w1/sdks/wasm/ProxyDriver/TestHarnessStartup.cs:line 167
```

* [wasm][debugger] Fix regression in debug.html

Fixes https://github.com/mono/mono/issues/19653 .

Co-authored-by: Ankit Jain <[email protected]>
2020-05-05 12:24:46 -05:00
monojenkinsandLarry Ewing f6e60534ff [wasm][debugger] Fix type argument (#19710)
Co-authored-by: Larry Ewing <[email protected]>
2020-05-05 11:36:13 -05:00
Alexander Köplinger 6fd32d873a [3.2-wasm][ci] Run only wasm CI legs (#19711) 2020-05-05 17:57:24 +02:00
monojenkinsandAnkit Jain cc6d4bf6cf [3.2-wasm] [wasm][debugger] Fix evaluateOnCallFrame for valuetype locals (#19644)
* [wasm][debugger] Fix `evaluateOnCallFrame` for valuetype locals

.. including generic, and async methods.

* [wasm][debugger] Remove some debug spew

(cherry picked from commit 2e042925b95a2e3eba693525a5c1e495cca47f2f)

Co-authored-by: Ankit Jain <[email protected]>
2020-04-28 11:06:08 -05:00
Larry EwingandZoltan Varga c5f62a7e7d [3.2-wasm] Backport wasm index fix (#19636)
* [corlib] Fix String.Replace (..., StringComparison.InvariantCultureIgnoreCase).

Fixes https://github.com/mono/mono/issues/18978.

* Disable the test here

Co-authored-by: Zoltan Varga <[email protected]>
2020-04-22 17:32:04 -05:00
monojenkinsandZoltan Varga af98855016 [3.2-wasm] [wasm] Reenable the managed collation code, link it out by default, add a packager option to enable it. (#19608)
* [wasm] Reenable the managed collation code, link it out by default, add a packager option to enable it.

* Disable some xunit tests which fail because the test runner can't handle the [SkipOnTargetFramework(TargetFrameworkMonikers.Mono)] attribute.

* [csproj] Update project files

Co-authored-by: Zoltan Varga <[email protected]>
2020-04-22 14:20:34 -05:00
monojenkinsandMaxim Lipnin a0a972cabf [3.2-wasm] [wasm] Add throwing PNSE to where currently disabled tests throw something different (#19633)
* Add throwing PNSE to where currently disabled tests throw something different

* Add try-catch + PNSE to public SslStream ctor in case of WASM

Co-authored-by: Maxim Lipnin <[email protected]>
2020-04-22 13:47:27 -05:00
monojenkinsandAnkit Jain fe5a9ecec8 [3.2-wasm] [wasm][debugger] Fix enumerating for this on valuetypes (#19630)
* [wasm][debugger] `mono_wasm_call_function_on` - remove unncessary

.. parameter, since it is already present in the `args` object.

* [wasm] MonoProxy - convert cfo calls to MonoCommands

* [wasm][debugger] Fix enumerating `this` properties for a valuetype

* [wasm][debugger] `evaluateOnCallFrame` - fix `this` for valuetypes

* [wasm][debugger] Remove MonoCommands no longer used

* [wasm][debugger] Fix showing the name for generic methods

- We were using `method.Name` from Cecil, but that we want to the name
with the type arguments for the generic instance.

Co-authored-by: Ankit Jain <[email protected]>
2020-04-22 13:38:16 -05:00
monojenkinsandZoltan Varga 1bb2a7d171 Bump linker to the tip of mono-2020-02. (#19607)
Co-authored-by: Zoltan Varga <[email protected]>
2020-04-22 09:36:52 -05:00
Larry Ewing 70ff920a89 [wasm-3.2] Fix webdriver initialization (#19617) 2020-04-21 13:31:17 -05:00
monojenkinsandLarry Ewing 0122b3e0eb [3.2-wasm] [wasm][debugger] Fix command response handling (#19615)
* [wasm][debugger] send failed evaluations to the browser

Make sure that we allways either send a single result or return
false from Accept Command to ensure that we don't leave
messages spinning.

Co-authored-by: Larry Ewing <[email protected]>
2020-04-21 11:56:01 -05:00
7f581f1398 [3.2-wasm] [wasm][debugger] Support array expansion in VS via callFunctionOn (#19606)
* [wasm][debugger] Move `getProperties` implementation to `library_mono.js`,

.. from `MonoProxy.cs`. MonoProxy essentially just forwards the
request to `library_mono.js` now.

* [wasm][debugger] Add `length` info array details

- update tests to track the change

* [wasm][debugger][tests] Simplify some of the helper methods

* [wasm][debuggger] Implement `Runtime.callFunctionOn`

- This was prompted by vscode/vs requiring this for array expansion.
- It runs a given js function string, on a given object id.
- We handle the case for dotnet object ids.

Implementation:

- We build a proxy object that reflects the details of the real dotnet object/array
- And run the js function on that proxy object

- Then if `returnByValue` was requested, the result is returned as-is
- Else we cache that object, with a new special object id (`dotnet:cfo_res:..`),
  and return that id in the response.

- Subsequently, we would get `Runtime.getProperties` request on this new object id
- And a `Runtime.releaseObject` request, to free that function result.

- All this is handled currently

Tests:

- A few tests were added which invoke `callFunctionOn`, on JS objects, and checks the result
  - And the same checks are performed on equivalent dotnet objects, with the same js function
  - This should help stay in sync with what we think `callFunctionOn` should work as

  - These tests have an additional parameter - `roundtrip`, which calls a simple function

	`function () { return this; }`

    .. on a dotnet object, and gets the result object id. If `roundtrip == true`, then it
    runs that same function on the result object, and gets a new result object id. And the
    tests run their checks on that.

    - this helps to check that outside of the proxy, the result object behaves same as any
      other dotnet object.

- Also, most of the tests were modified to support an additional mode (`use_cfo`).
  - With this, whenever a test wants to run `Runtime.getProperties on an object, we pass that
    object through the earlier "identity" function, and then run `getProperties` on that
    resultant object.

  - This helps to take advantage most of the existing tests, and use them for `callFunctionOn`
    testing too, by ensuring that the results of CFO returns results same as any other object.

Fixes https://github.com/mono/mono/issues/19229, https://github.com/mono/mono/issues/19531

* Apply suggestions from code review

Applying suggestions to start CI

* Update sdks/wasm/src/library_mono.js

Co-authored-by: Ankit Jain <[email protected]>
Co-authored-by: Larry Ewing <[email protected]>
2020-04-21 11:32:04 -05:00
monojenkinsandLarry Ewing ae8e4b5b04 [3.2-wasm] [wasm][debugger] Add an option to clear navigator.webdriver on attach (#19592)
* [wasm][debugger] Add an option to clear navigator.webdriver on attach

* Pass the flag when it is useful

Co-authored-by: Larry Ewing <[email protected]>
2020-04-20 13:04:15 -05:00
monojenkinsandKenneth Pouncey c8cbcaad0d [wasm][sdk][nuget] Bump version. (#19585)
Co-authored-by: Kenneth Pouncey <[email protected]>
2020-04-18 00:50:30 -05:00
monojenkinsandLarry Ewing 91a8312033 [wasm][debugger] Add comment about embedded pdbs and fix old regression (#19582)
With embedded pdbs we have to try to load symbols even when the
pdb is missing then handle ArgumentException if there is no embedded
pdb.  This restores the intended error path and added an explanation
while still logging unexpected errors

Co-authored-by: Larry Ewing <[email protected]>
2020-04-17 17:42:57 -05:00
Larry EwingandAnkit Jain d76afcc147 [wasm][debugger] Show pointer type+address (#19537) (#19581)
* [wasm][debugger] Simplify the interface between debugger.c and

.. library_mono.js .

* [wasm][debugger] Show pointer type+address

* [wasm][debugger] Address review feedback

* [wasm][debugger] Small cleanups, from review feedback

* [wasm][debugger] declare mono_wasm_add_typed_value as extern

Co-authored-by: Ankit Jain <[email protected]>
2020-04-17 16:51:24 -05:00
Larry EwingandAnkit Jain fdf009e4d1 [wasm][debugger] Show signature for delegate, or target, if available… (#19535) (#19579)
* [wasm][debugger] Show signature for delegate, or target, if available (#19505)

* [wasm][debugger] Show signature for delegate, or target, if available

- As object properties, we return a `Target` which has the signature of
the delegate target.

Fixes https://github.com/mono/mono/issues/19382

* [wasm][debugger] Some tidying up

* [wasm][debugger] Remove unused `sig_desc`

* [wasm][debugger] Simplify code, avoid extra allocations

.. as suggested by @lewing

(cherry picked from commit 4eca12e794)

* [wasm][debugger] Fix tests broken because unused vars are not null

.. anymore, which is because we disabled optimizations in the
interpreter when debugging.

* [wasm][debugger][tests] Add tests to also check delegates in previous

.. frames.

* [wasm][debugger] Disable a test that tried to look at previous async

.. frames. This just happened to work. Currently, the trace has details
of the async machinery, instead of one reflecting what it might have
looked like for a non-async case. So, we can't reliably find the
previous method to inspect it's locals.

* [wasm][debugger] Fix test

Co-authored-by: Ankit Jain <[email protected]>
2020-04-17 16:31:08 -05:00
monojenkinsandLarry Ewing e630444dc6 [wasm][debugger] Always send the remove breakpoint command to the browser too (#19578)
Co-authored-by: Larry Ewing <[email protected]>
2020-04-17 16:09:18 -05:00
Larry Ewing f585a341d0 [wasm][debugger] Handle multi-doc methods and multiple results for breakpoints (#19449) (#19577)
* [wasm][debugger] Rework source loading

Add logic to support embedded sources and
add all the documents from multi-doc methods

Add logic to check source hashes against
pdb hash.

* [wasm][debugger] Fix breakpoints on delegates

Only add methods to a source once by RID

When column is != 0 specified the fronted only wants results
that match that column exactly.

* Allow checking pdb hash and remove source cache

* Fixup typesByName merge
2020-04-17 16:04:58 -05:00
Larry EwingandZoltan Varga 56ba392b3b [wasm] Debugger test improvements. (#19499) (#19573)
* Disable the Loaded: messages, they are not very useful.

* Add a Dotnet-test.setBreakpointByMethod protocol extensions to the proxy to set breakpoints in specific methods during testing.

* Add a new sample debugger test using the setBreakpointByMethod API.

* Remove some unrelated changes.

* Restore logging.

* Disable a log message which is printed when a pdb file is missing.

Co-authored-by: Zoltan Varga <[email protected]>
2020-04-17 00:49:36 -05:00
monojenkinsandLarry Ewing 1a6d1100c4 [wasm][debugger] Fix typo and silence output (#19567)
Co-authored-by: Larry Ewing <[email protected]>
2020-04-16 18:58:17 -05:00
monojenkinsandLarry Ewing 41a4f60bee Change OSPlatform for wasm to "BROWSER" rather than "WEBASSEMBLY" (#19568)
Following the guidance in https://github.com/dotnet/runtime/issues/33328
Change OSPlatform to BROWSER for wasm runtimeArchitecture.

Co-authored-by: Larry Ewing <[email protected]>
2020-04-16 18:58:01 -05:00
monojenkinsandvargaz c6fbfa6726 [wasm] Disable the AOT cache check on wasm as well. (#19553)
Co-authored-by: vargaz <[email protected]>
2020-04-16 14:27:34 -05:00
monojenkinsandLarry Ewing 84d12a33a0 [wasm] force set a local when running debugger tests (#19552)
Co-authored-by: Larry Ewing <[email protected]>
2020-04-15 14:45:24 -05:00
monojenkinsandLarry Ewing 4dba91e7f5 [wasm] Use browser style lang (#19551)
Co-authored-by: Larry Ewing <[email protected]>
2020-04-15 14:45:12 -05:00
monojenkinsandAnkit Jain c66e702ba5 [wasm][debugger] Show signature for delegate, or target, if available (#19505) (#19536)
* [wasm][debugger] Show signature for delegate, or target, if available

- As object properties, we return a `Target` which has the signature of
the delegate target.

Fixes https://github.com/mono/mono/issues/19382

* [wasm][debugger] Some tidying up

* [wasm][debugger] Remove unused `sig_desc`

* [wasm][debugger] Simplify code, avoid extra allocations

.. as suggested by @lewing

(cherry picked from commit 4eca12e794)

Co-authored-by: Ankit Jain <[email protected]>
2020-04-14 02:26:17 -04:00
monojenkinsandtqiu8 07d1f6452e [wasm] Add readme to package update scripts (#19533)
Co-authored-by: tqiu8 <[email protected]>
2020-04-13 19:59:42 -05:00
monojenkinsandAnkit Jain 3926eae609 [3.2-wasm] [wasm][debugger] Improve some valuetype visualization (#19532)
* [wasm][debugger] Fix up `value.description` for local vars too

- Local vars, when being enumerated in `mono_wasm_get_variables` don't
have an associated `name`, and so `_fixup_name_value_objects`
*incorrectly* ends up not fixing up the `value.description` field for
them.

* [wasm][debugger] For some types, use `ToString()` for their ..

.. `description`.

- `System.DateTime`
- `System.DateTimeOffset`
- `System.Decimal`
- `System.TimeSpan`
- `System.Guid`

* [wasm][debugger] Invoke all property getters, for some types

- `System.DateTime`
- `System.DateTimeOffset`
- `System.TimeSpan`

* [wasm][debugger] Show char symbol along with the code

Fixes https://github.com/mono/mono/issues/19381

* [wasm][debugger] Fix DateTime tests, don't use hardcoded strings for

.. description. Instead, use a `DateTime` object in the test to create
the expected string for the test. This should ensure that the expected
and actual were created in the same environment.

* [wasm][debugger] Special case `System.Guid` to use

.. `mono_guid_to_string`, instead of calling `ToString()` on it.

* [wasm][debugger] Don't box valuetypes for calling `ToString()`

Co-authored by @vargaz .

* [wasm][debugger] `System.Guid` is special-cased, so remove it from the

.. allowed list.

* [wasm][debugger] simple cleanup

Co-authored-by: Ankit Jain <[email protected]>
2020-04-13 19:59:15 -05:00
monojenkinsandLarry Ewing 4bfd29e820 [wasm][debugger] explicitly pass --lang=en_US for debugger tests (#19530)
Co-authored-by: Larry Ewing <[email protected]>
2020-04-13 17:37:49 -05:00
monojenkinsandMartin Baulig f2b7b0000d Bump CoreFX to pickup https://github.com/mono/corefx/pull/397. (#19526)
Co-authored-by: Martin Baulig <[email protected]>
2020-04-13 20:15:21 +02:00
monojenkinsandKenneth Pouncey 4f156f6e32 [wasm][browser][tests] Generate sdk version in global.json file automatically. (#19527)
Co-authored-by: Kenneth Pouncey <[email protected]>
2020-04-13 12:29:56 -05:00
monojenkinsandZoltan Varga 8b290302b2 [wasm] Remove .stamp-build-debugger-test-app, the app can always be built. (#19524)
Co-authored-by: Zoltan Varga <[email protected]>
2020-04-13 11:51:11 -05:00
monojenkinsandZoltan Varga 3b761deb75 [3.2-wasm] [wasm] Disable interpreter optimizations when debugging. (#19516)
* [wasm] Disable interpreter optimizations when debugging.

* Fix tests.

Co-authored-by: Zoltan Varga <[email protected]>
2020-04-11 03:10:31 -05:00
monojenkinsandtqiu8 37221f2c32 add powershell and bash scripts for replacing default webassembly nuget packages from link or path (#19515)
Co-authored-by: tqiu8 <[email protected]>
2020-04-11 03:05:11 -05:00
monojenkinsandKenneth Pouncey 31c66244bd [3.2-wasm] [wasm][bcl] Handle correctly backslash in file name (#19514)
* [wasm][bcl] Handle correctly backslash in file name

- Modify IO file to assign backslash to alternate directory separator by default
- Add tests for issue https://github.com/mono/mono/issues/18933

* [wasm][tests] Skip two tests for wasm

- After internal discussions decided to skip these two tests on wasm

   1. GetDirectories_Backslash
   1. GetFiles_Backslash

* [wasm][tests] PathIsRooted tests failing

- skip subtest #9 if WASM
- To fix issue https://github.com/mono/mono/issues/18933 we set the AltDirectorySeparatorChar as well.  This causes the `Assert.IsTrue (!Path.IsPathRooted ("\\"), "IsPathRooted #09");` to fail. Path.IsPathFullyQualified Method handles paths that use both the DirectorySeparatorChar and the AltDirectorySeparatorChar characters.

* [wasm][tests] PathIsRooted tests failing

- skip if WASM

Co-authored-by: Kenneth Pouncey <[email protected]>
2020-04-11 02:58:37 -05:00
monojenkinsandLarry Ewing f9771388ab [3.2-wasm] [wasm][debugger] Wasm debug log level (#19512)
* [wasm][debugging] pass enable_debugging as debug engine log level

enable_debugging was already an int, with this change log_level
will remain at 1 by default but passing -1 will disable the log
spew

* Change the default debug level of 'Failed to lookup sequence point'

Co-authored-by: Larry Ewing <[email protected]>
2020-04-10 18:13:56 -05:00
monojenkinsandKenneth Pouncey 2925dcdc83 [wasm][bcl][zoneinfo] Fix local zone info marshaling (#19511)
- Correctly marshal Intl.DateTimeFormat().resolvedOptions().timeZone information

Co-authored-by: Kenneth Pouncey <[email protected]>
2020-04-10 18:13:40 -05:00
Larry Ewing d351fa1cfe [3.2-wasm][ci] Use path not name (#19513) 2020-04-10 16:59:57 -05:00
Larry Ewing 7055ff9b78 [3.2-wasm][ci] Fix typo in groovy 2020-04-10 15:36:59 -05:00
monojenkinsandLarry Ewing 08481dc20b [wasm][ci] Always build and package wasm (#19509)
Co-authored-by: Larry Ewing <[email protected]>
2020-04-10 14:53:47 -05:00
Larry Ewing 72ac1d024d Upload the zip in sdks/wasm (#19506) 2020-04-10 12:30:26 -05:00
monojenkinsandZoltan Varga a475a78a71 [runtime] Fix Type.GetTypeCode () for generic enums. (#19471)
Fixes https://github.com/mono/mono/issues/17735.

Co-authored-by: Zoltan Varga <[email protected]>
2020-04-08 12:01:16 -05:00
monojenkinsandPranav K 92e0af1500 [3.2-wasm] Produce System.Net.Http.WebAssemblyHttpHandler (#19474)
* Produce System.Net.Http.WebAssemblyMessageHandler

* Branding changes for WebAssembly.Net.Http -> System.Net.Http.WebAssemblyMessageHandler

* Change how fetch options are configured

* Fixup tests

* More fixup

* Update submodule

Co-authored-by: Pranav K <[email protected]>
2020-04-08 10:58:30 -05:00
Larry EwingandThays Grazia 4598104765 [wasm][debugger] Improving evaluate expression implementation (#19444) (#19469)
* - Adding tests to evaluate expression
- Adding a cache to local vars and object properties
- Fixing evaluate expressions like "this.a"
- Fixing evaluate expressions like "d + d"

Co-authored-by: Thays Grazia <[email protected]>
2020-04-07 17:25:02 -05:00
Larry Ewing c68c7cebe3 [sdks] Disable all sdk builds for this 3.2-wasm release branch
Disable the other sdks and enable the wask sdk for this branch
2020-04-07 15:13:29 -05:00
474 changed files with 18809 additions and 32947 deletions

No files matched your search

+23 -23
View File
@@ -18,11 +18,11 @@
/acceptance-tests/profiler-stress* @BrzVlad @akoeplinger
/data @directhex @akoeplinger
/data/gdb @vargaz
/data/lldb @vargaz
/data/gdb @lewurm @vargaz
/data/lldb @lewurm @vargaz
/docs @marek-safar @akoeplinger
/docs/riscv.md @alexrp
/docs/riscv.md @alexrp @lewurm
/docs/sources/mono-api-profiler.html @BrzVlad
/external @akoeplinger @marek-safar
@@ -65,24 +65,24 @@
/mcs/class/System/System.Security.Cryptography.X509Certificates @baulig @steveisok
/mcs/class/System.Data* @egorbo @steveisok
/mcs/errors @marek-safar
/mcs/ilasm @marek-safar
/mcs/jay @marek-safar
/mcs/mcs @marek-safar
/mcs/tests @marek-safar
/mcs/errors @marek-safar @lewurm
/mcs/ilasm @marek-safar @lewurm
/mcs/jay @marek-safar @lewurm
/mcs/mcs @marek-safar @lewurm
/mcs/tests @marek-safar @lewurm
/mcs/tools @marek-safar @akoeplinger @steveisok
/mcs/tools/gensources @kg @akoeplinger
/mcs/tools/resx2sr @baulig
/mcs/tools/upload-to-sentry @directhex @akoeplinger
/mono/arch @vargaz
/mono/arch @vargaz @lewurm
/mono/btls @baulig @marek-safar
/mono/dis @lambdageek @vargaz
/mono/eglib @vargaz @lambdageek
/mono/benchmark @SamMonoRT
/mono/benchmark @SamMonoRT @lewurm
/mono/metadata @vargaz @lambdageek @thaystg
/mono/metadata/*profiler* @lambdageek
@@ -99,14 +99,14 @@
/mono/metadata/native-library* @vargaz @lambdageek @CoffeeFlux
/mono/metadata/*-unix* @lambdageek @CoffeeFlux
/mono/mini @vargaz @lambdageek @SamMonoRT
/mono/mini/*cfgdump* @vargaz
/mono/mini/*exceptions* @vargaz @BrzVlad
/mono/mini @vargaz @lewurm @lambdageek @SamMonoRT
/mono/mini/*cfgdump* @lewurm @vargaz
/mono/mini/*exceptions* @lewurm @vargaz @BrzVlad
/mono/mini/*ppc* @lewurm @vargaz
/mono/mini/*riscv* @alexrp @lewurm
/mono/mini/*type-check* @lambdageek
/mono/mini/*type-check* @lewurm @lambdageek
/mono/mini/*llvm* @vargaz @imhameed
/mono/mini/interp/* @BrzVlad
/mono/mini/interp/* @lewurm @BrzVlad
/mono/mini/*profiler* @BrzVlad @lambdageek
/mono/mini/debugger-agent.c @vargaz @thaystg @DavidKarlas @lambdageek
@@ -116,12 +116,12 @@
/mono/sgen @BrzVlad @lambdageek
/mono/tools/offsets-tool @rolfbjarne
/mono/tools/offsets-tool @lewurm @rolfbjarne
/mono/utils @vargaz @lambdageek
/mono/utils/atomic* @vargaz
/mono/utils/mono-hwcap* @vargaz
/mono/utils/mono-mem* @vargaz
/mono/utils @vargaz @lewurm @lambdageek
/mono/utils/atomic* @lewurm @vargaz
/mono/utils/mono-hwcap* @lewurm @vargaz
/mono/utils/mono-mem* @lewurm @vargaz
/mono/utils/mono-merp* @alexischr @lambdageek
/mono/utils/mono-state* @alexischr @lambdageek
/mono/utils/mono-threads* @lambdageek @vargaz
@@ -137,14 +137,14 @@
/runtime @akoeplinger @marek-safar
/samples @lambdageek
/samples @lambdageek @lewurm
/samples/profiler @BrzVlad @lambdageek
/samples/size @alexrp @lambdageek
/scripts @akoeplinger @directhex
/scripts/ci @akoeplinger @directhex
/sdks @marek-safar @vargaz @lambdageek
/sdks @marek-safar @lewurm @vargaz @lambdageek
/sdks/builds/android* @alexischr @jonpryor
/sdks/builds/mxe* @alexischr @jonpryor
/sdks/builds/ios* @vargaz @rolfbjarne
@@ -158,5 +158,5 @@
/tools @lambdageek @vargaz
/tools/locale-builder @marek-safar @egorbo
/tools/nuget-hash-extractor @marek-safar @radical @akoeplinger
/tools/pedump @lambdageek
/tools/pedump @lambdageek @lewurm
/tools/sgen @brzvlad @vargaz @naricc
+1 -1
View File
@@ -43,5 +43,5 @@ Please paste the stack trace here if available.
```
<!--
You can join us on Discord (https://aka.ms/dotnet-discord) in the #monovm channel to discuss your reported issue
You can join us at https://gitter.im/mono/mono to discuss your reported issue
-->
-1
View File
@@ -18,7 +18,6 @@
*.vssscc
*_i.c
*_p.c
*.mdb
*.ncb
*.suo
*.tlb
+1 -1
View File
@@ -76,7 +76,7 @@ The Licenses
These are the licenses used in Mono, the files are located:
### MIT License
### MIT X11 License
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
+1 -7
View File
@@ -5,13 +5,7 @@ standards for C# and the Common Language Runtime.
The Mono project is part of the [.NET Foundation](https://www.dotnetfoundation.org/)
Join us on [Discord](https://aka.ms/dotnet-discord) in the `#monovm` channel:
<a href="https://aka.ms/dotnet-discord">
<img src="https://img.shields.io/discord/732297728826277939?style=flat-square&label=Discord&logo=discord&logoColor=white&color=7289DA">
</a>
### Contents
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/mono/mono?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
1. [Compilation and Installation](#compilation-and-installation)
2. [Using Mono](#using-mono)
+48 -4
View File
@@ -1,6 +1,50 @@
# Code of Conduct
# Contributor Code of Conduct
This project has adopted the code of conduct defined by the Contributor Covenant
to clarify expected behavior in our community.
As contributors and maintainers of this project, and in the interest of
fostering an open and welcoming community, we pledge to respect all people who
contribute through reporting issues, posting feature requests, updating
documentation, submitting pull requests or patches, and other activities.
For more information, see the [.NET Foundation Code of Conduct](https://dotnetfoundation.org/code-of-conduct).
We are committed to making participation in this project a harassment-free
experience for everyone, regardless of level of experience, gender, gender
identity and expression, sexual orientation, disability, personal appearance,
body size, race, ethnicity, age, religion, or nationality.
Examples of unacceptable behavior by participants include:
* The use of sexualized language or imagery
* Personal attacks
* Trolling or insulting/derogatory comments
* Public or private harassment
* Publishing other's private information, such as physical or electronic
addresses, without explicit permission
* Other unethical or unprofessional conduct
Project maintainers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned to this Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.
By adopting this Code of Conduct, project maintainers commit themselves to
fairly and consistently applying these principles to every aspect of managing
this project. Project maintainers who do not follow or enforce the Code of
Conduct may be permanently removed from the project team.
This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community.
Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting a project maintainer at miguel@xamarin.com. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. Maintainers are
obligated to maintain confidentiality with regard to the reporter of an
incident.
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 1.3.0, available at
[http://contributor-covenant.org/version/1/3/0/][version]
[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/3/0/
+20 -169
View File
@@ -139,14 +139,13 @@ platform_ios=no
host_darwin=no
host_linux=no
build_darwin=no
host_sunos=no
case "$host" in
wasm32*)
CFLAGS="$CFLAGS -D_REENTRANT -D_GNU_SOURCE -s WASM=1"
CPPFLAGS="$CPPFLAGS -D_REENTRANT -DUSE_MMAP -s WASM=1"
libgc_threads=pthreads
host_wasm=yes
platform_wasm=yes
# FIXME:
RID="osx-x64"
COREARCH="wasm32"
@@ -321,11 +320,6 @@ case "$host" in
# available during cross-compilation
mono_cv_uscore=no
fi
case "$host" in
*-musl)
AC_DEFINE(MUSL, 1, [musl libc])
;;
esac
case "$host" in
*-tizen-linux-*)
platform_tizen=yes
@@ -398,23 +392,15 @@ case "$host" in
use_sigposix=yes
;;
*-*-solaris*)
CPPFLAGS="$CPPFLAGS -DGC_SOLARIS_THREADS -DGC_SOLARIS_PTHREADS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_MMAP -DUSE_MUNMAP -DHOST_SOLARIS -D__EXTENSIONS__ -D_XPG4_2"
CPPFLAGS="$CPPFLAGS -DGC_SOLARIS_THREADS -DGC_SOLARIS_PTHREADS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_MMAP -DUSE_MUNMAP -DHOST_SOLARIS"
need_link_unlink=yes
libmono_cflags="-D_REENTRANT"
libgc_threads=pthreads
has_dtrace=yes
use_sigposix=yes
enable_solaris_tar_check=yes
host_sunos=yes
;;
*-*-darwin*)
# Temporary workaround for Apple Silicon
# config.guess returns arm-apple-darwin20.0.0
if test $ac_cv_host = arm-apple-darwin20.0.0 -o $ac_cv_target = arm-apple-darwin20.0.0; then
echo "You are running on Apple Silicon, but using an old config.guess, invoke configure like this:"
echo "Run configure using ./configure --host=aarch64-apple-darwin20.0.0 --target=aarch64-apple-darwin20.0.0"
exit 1
fi
parallel_mark="Disabled_Currently_Hangs_On_MacOSX"
host_darwin=yes
target_mach=yes
@@ -456,10 +442,6 @@ case "$host" in
platform_ios=yes
has_dtrace=no
;;
aarch64*-darwin20*)
# OSX/arm64
support_boehm=no
;;
aarch64*-darwin*)
platform_ios=yes
;;
@@ -595,7 +577,7 @@ AM_CONDITIONAL(HOST_SIGPOSIX, test x$use_sigposix = xyes)
AM_CONDITIONAL(HOST_ANDROID, test x$platform_android = xyes)
AM_CONDITIONAL(HOST_TIZEN, test x$platform_tizen = xyes)
AM_CONDITIONAL(HOST_IOS, test x$platform_ios = xyes)
AM_CONDITIONAL(HOST_WASM, test x$host_wasm = xyes)
AM_CONDITIONAL(HOST_WASM, test x$platform_wasm = xyes)
AM_CONDITIONAL(HOST_AIX, test x$host_aix = xyes)
if test -z "$HOST_DARWIN_TRUE"; then :
@@ -776,7 +758,7 @@ AC_CHECK_HEADERS(elf.h)
# for perf jit dump support
AC_CHECK_HEADERS(sys/mman.h)
if test "x$host_linux" = "xyes" -a x$ac_cv_header_sys_mman_h = xyes -a x$ac_cv_header_elf_h = xyes -a x$ac_cv_header_sys_syscall_h = xyes; then
AC_DEFINE(ENABLE_JIT_DUMP, 1, [Enable jit dump support on Linux])
AC_DEFINE(ENABLE_JIT_DUMP, 1, [Enable jit dump support on Linux])
fi
# for support
@@ -888,7 +870,7 @@ AC_ARG_ENABLE(visibility-hidden,
WARN=''
if test x"$GCC" = xyes; then
WARN='-Wall -Wunused -Wmissing-declarations -Wpointer-arith -Wno-cast-qual -Wwrite-strings -Wno-switch -Wno-switch-enum -Wno-unused-value -Wno-attributes'
CFLAGS="$CFLAGS -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -Wno-format-zero-length -Wc++-compat"
CFLAGS="$CFLAGS -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -Wno-format-zero-length"
# We require C99 with some GNU extensions, e.g. `linux` macro
CFLAGS="$CFLAGS -std=gnu99"
@@ -1125,10 +1107,7 @@ AC_ARG_WITH(csc, [ --with-csc=mcs,roslyn,default Configures the CSharp com
if test $csc_compiler = default; then
if test $endian = big; then
case "$host" in
s390x*) csc_compiler=roslyn ;;
*) csc_compiler=mcs
esac
csc_compiler=mcs
elif test $endian = little; then
case "$host" in
powerpc*) csc_compiler=mcs ;;
@@ -1219,7 +1198,6 @@ if test "x$crash_reporting" != "xyes"; then
CFLAGS="$CFLAGS -DDISABLE_CRASH_REPORTING=1"
CXXFLAGS="$CXXFLAGS -DDISABLE_CRASH_REPORTING=1"
fi
AM_CONDITIONAL(DISABLE_CRASH_REPORTING, test x$crash_reporting != xyes)
AC_ARG_ENABLE(monodroid, [ --enable-monodroid Enable runtime support for Monodroid (Xamarin.Android)], enable_monodroid=$enableval, enable_monodroid=no)
AM_CONDITIONAL(ENABLE_MONODROID, test x$enable_monodroid = xyes)
@@ -1314,12 +1292,6 @@ AC_ARG_WITH(spectre-mitigation, [ --with-spectre-mitigation=yes,no
AC_ARG_WITH(spectre-indirect-branch-choice, [ --with-spectre-indirect-branch-choice=keep,thunk,inline,extern Convert indirect branches to the specified kind of thunk (defaults to inline)], [], [with_spectre_indirect_branch_choice=inline])
AC_ARG_WITH(spectre-function-return-choice, [ --with-spectre-function-return-choice=keep,thunk,inline,extern Convert function return instructions to the specified kind of thunk (defaults to inline)], [], [with_spectre_function_return_choice=inline])
AC_ARG_WITH(static_icu, [ --with-static-icu=yes|no Integrate ICU statically into the runtime (defaults to no)],[
if test x$with_static_icu = xyes ; then
AC_DEFINE(STATIC_ICU,1,[Integrate ICU statically into the runtime.])
fi
], [with_static_icu=no])
dnl
dnl Spectre compiler mitigation flag checks
dnl
@@ -1417,8 +1389,7 @@ if test x$with_runtime_preset = xnetcore; then
mono_feature_disable_gac='yes'
mono_feature_disable_perfcounters='yes'
mono_feature_disable_attach='yes'
mono_feature_disable_cfgdir_config='yes'
if test "x$enable_monodroid" = "xno" -a "x$enable_monotouch" = "xno"; then
if test "x$enable_monodroid" = "x" -a "x$enable_monotouch" = "x"; then
mono_feature_disable_dllmap='yes' # FIXME: the mobile products use this
fi
disable_mono_native=yes
@@ -1708,7 +1679,6 @@ AM_CONDITIONAL(INSTALL_MONOTOUCH, [test "x$with_monotouch" != "xno"])
AM_CONDITIONAL(INSTALL_MONOTOUCH_WATCH, [test "x$with_monotouch_watch" != "xno"])
AM_CONDITIONAL(INSTALL_MONOTOUCH_TV, [test "x$with_monotouch_tv" != "xno"])
AM_CONDITIONAL(BITCODE, test "x$with_bitcode" = "xyes")
AM_CONDITIONAL(STATIC_ICU, test "x$with_static_icu" = "xyes")
AM_CONDITIONAL(INSTALL_XAMMAC, [test "x$with_xammac" != "xno"])
AM_CONDITIONAL(INSTALL_TESTING_AOT_FULL_INTERP, [test "x$with_testing_aot_full_interp" != "xno"])
AM_CONDITIONAL(INSTALL_TESTING_AOT_HYBRID, [test "x$with_testing_aot_hybrid" != "xno"])
@@ -1795,7 +1765,9 @@ fi
AM_CONDITIONAL(ENABLE_STATIC_GCC_LIBS, test "x$enable_static_gcc_libs" = "xyes")
AC_ARG_ENABLE(minimal, [ --enable-minimal=LIST drop support for LIST subsystems.
LIST is a comma-separated list from: aot, profiler, decimal, pinvoke, debug, appdomains, verifier, dllmap, reflection_emit, reflection_emit_save, large_code, logging, com, ssa, generics, attach, jit, interpreter, simd, soft_debug, perfcounters, normalization, desktop_loader, shared_perfcounters, remoting, security, lldb, mdb, assert_messages, config, cfgdir_config, cleanup, sgen_marksweep_conc, sgen_split_nursery, sgen_gc_bridge, sgen_toggleref, sgen_debug_helpers, sgen_binary_protocol, sockets, gac, threads, processes, eventpipe.],
LIST is a comma-separated list from: aot, profiler, decimal, pinvoke, debug, appdomains, verifier, dllmap,
reflection_emit, reflection_emit_save, large_code, logging, com, ssa, generics, attach, jit, interpreter, simd, soft_debug, perfcounters, normalization, desktop_loader, shared_perfcounters, remoting,
security, lldb, mdb, assert_messages, config, cfgdir_config, cleanup, sgen_marksweep_conc, sgen_split_nursery, sgen_gc_bridge, sgen_debug_helpers, sockets, gac, threads, processes.],
[
for feature in `echo "$enable_minimal" | sed -e "s/,/ /g"`; do
eval "mono_feature_disable_$feature='yes'"
@@ -1991,6 +1963,7 @@ if test "x$mono_feature_disable_sgen_marksweep_conc" = "xyes"; then
AC_MSG_NOTICE([Disabled concurrent gc support in SGEN.])
fi
if test "x$mono_feature_disable_sgen_split_nursery" = "xyes"; then
AC_DEFINE(DISABLE_SGEN_SPLIT_NURSERY, 1, [Disable minor=split support in SGEN.])
AC_MSG_NOTICE([Disabled minor=split support in SGEN.])
@@ -2001,21 +1974,11 @@ if test "x$mono_feature_disable_sgen_gc_bridge" = "xyes"; then
AC_MSG_NOTICE([Disabled gc bridge support in SGEN.])
fi
if test "x$mono_feature_disable_sgen_toggleref" = "xyes"; then
AC_DEFINE(DISABLE_SGEN_TOGGLEREF, 1, [Disable toggleref support in SGEN.])
AC_MSG_NOTICE([Disabled toggleref support in SGEN.])
fi
if test "x$mono_feature_disable_sgen_debug_helpers" = "xyes"; then
AC_DEFINE(DISABLE_SGEN_DEBUG_HELPERS, 1, [Disable debug helpers in SGEN.])
AC_MSG_NOTICE([Disabled debug helpers in SGEN.])
fi
if test "x$mono_feature_disable_sgen_binary_protocol" = "xyes"; then
AC_DEFINE(DISABLE_SGEN_BINARY_PROTOCOL, 1, [Disable binary protocol logging in SGEN.])
AC_MSG_NOTICE([Disabled binary protocol logging in SGEN.])
fi
if test "x$mono_feature_disable_sockets" = "xyes"; then
AC_DEFINE(DISABLE_SOCKETS, 1, [Disable sockets])
AC_MSG_NOTICE([Disabled sockets])
@@ -2041,22 +2004,6 @@ if test "x$mono_feature_disable_processes" = "xyes"; then
AC_MSG_NOTICE([Disabled process support])
fi
if test "x$mono_feature_disable_eventpipe" = "xyes"; then
AC_DEFINE(DISABLE_EVENTPIPE, 1, [Disable EventPipe support])
AC_MSG_NOTICE([Disabled EventPipe support])
enable_perftracing=no
fi
if test x$enable_perftracing = x -a x$with_core = xonly; then
if test -f $srcdir/mono/eventpipe/ep.h; then
enable_perftracing=yes
fi
fi
if test x$enable_perftracing = xyes; then
AC_DEFINE(ENABLE_PERFTRACING,1,[Enables support for eventpipe library])
fi
AM_CONDITIONAL(ENABLE_PERFTRACING, test x$enable_perftracing = xyes)
AC_ARG_ENABLE(executables, [ --disable-executables disable the build of the runtime executables], enable_executables=$enableval, enable_executables=yes)
AM_CONDITIONAL(DISABLE_EXECUTABLES, test x$enable_executables = xno)
@@ -2251,9 +2198,6 @@ if test x$host_win32 = xno; then
AC_CHECK_FUNC(futimes, [AC_DEFINE(HAVE_FUTIMES, 1, [futimes])])
AC_CHECK_FUNC(futimens, [AC_DEFINE(HAVE_FUTIMENS, 1, [futimens])])
AC_CHECK_TYPES([clockid_t], [AC_DEFINE(HAVE_CLOCKID_T)], [],
[#include <sys/types.h>])
dnl hires monotonic clock support
AC_SEARCH_LIBS(clock_gettime, rt)
AC_CHECK_FUNCS(clock_nanosleep)
@@ -2312,13 +2256,14 @@ if test x$host_win32 = xno; then
AC_CHECK_FUNCS(getresuid)
AC_CHECK_FUNCS(setresuid)
AC_CHECK_FUNCS(kqueue)
# IBM provides a compatibility library for offering this function.
# IBM provides a compatibility library for i offering this function.
# BSDs and others, have execinfo in base or packages.
AC_SEARCH_LIBS(backtrace_symbols, execinfo util)
# Two-step so it sets it in config.h
AC_CHECK_FUNCS(backtrace_symbols)
AC_CHECK_FUNCS(mkstemp)
AC_CHECK_FUNCS(mmap)
AC_CHECK_FUNCS(madvise)
AC_CHECK_FUNCS(getrusage)
AC_CHECK_FUNCS(getpriority)
AC_CHECK_FUNCS(setpriority)
@@ -2784,7 +2729,7 @@ if test x$host_win32 = xno; then
dnl *** Checks for libxnet ***
dnl *****************************
case "${host}" in
*solaris*)
*solaris* )
AC_MSG_CHECKING(for Solaris XPG4 support)
if test -f /usr/lib/libxnet.so; then
CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=500"
@@ -2827,7 +2772,7 @@ if test x$host_win32 = xno; then
AC_CHECK_HEADERS(pthread_np.h)
AC_CHECK_FUNCS(pthread_mutex_timedlock)
AC_CHECK_FUNCS(pthread_getattr_np pthread_attr_get_np pthread_getname_np pthread_setname_np pthread_cond_timedwait_relative_np)
AC_CHECK_FUNCS(pthread_kill pthread_jit_write_protect_np)
AC_CHECK_FUNCS(pthread_kill)
AC_MSG_CHECKING(for PTHREAD_MUTEX_RECURSIVE)
AC_TRY_COMPILE([ #include <pthread.h>], [
pthread_mutexattr_t attr;
@@ -3252,6 +3197,7 @@ if test x$host_win32 = xno; then
AC_CHECK_FUNCS(remap_file_pages)
AC_CHECK_FUNCS(posix_fadvise)
AC_CHECK_FUNCS(posix_fallocate)
AC_CHECK_FUNCS(posix_madvise)
AC_CHECK_FUNCS(vsnprintf)
AC_CHECK_FUNCS(sendfile)
AC_CHECK_FUNCS(gethostid sethostid)
@@ -3957,19 +3903,6 @@ if test x$host_win32 = xno; then
AC_CHECK_DECL(IN_EXCL_UNLINK, [AC_DEFINE(HAVE_IN_EXCL_UNLINK, 1, [IN_EXCL_UNLINK])], [], [[#include <sys/inotify.h>]])
if test x$host_sunos = xyes; then
# set -Werror=strict-prototypes, to match the flags used during the compilation.
ORIG_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -Werror=strict-prototypes"
fi
AC_CHECK_FUNCS(madvise)
AC_CHECK_FUNCS(posix_madvise)
if test x$host_sunos = xyes; then
CFLAGS="$ORIG_CFLAGS"
fi
# *** End of Mono.Native checks ***
else
AM_CONDITIONAL(ENABLE_GSS, false)
@@ -3988,8 +3921,6 @@ else
AC_CHECK_LIB(advapi32, main, LIBS="$LIBS -ladvapi32", AC_ERROR(bad mingw install?))
AC_CHECK_LIB(version, main, LIBS="$LIBS -lversion", AC_ERROR(bad mingw install?))
AC_CHECK_TYPES([struct sockaddr_in6], [AC_DEFINE(HAVE_STRUCT_SOCKADDR_IN6)], , [#include <ws2tcpip.h>])
dnl *********************************
dnl *** Check for struct ip_mreqn ***
dnl *********************************
@@ -4685,7 +4616,7 @@ case "$host" in
ACCESS_UNALIGNED="yes"
BTLS_SUPPORTED=yes
BTLS_PLATFORM=s390x
CFLAGS="$CFLAGS -mbackchain"
CFLAGS="$CFLAGS -mbackchain -D__USE_STRING_INLINES"
;;
riscv32-*)
TARGET=RISCV32
@@ -4784,12 +4715,6 @@ if test "x$host" != "x$target"; then
sizeof_register=8
AC_DEFINE(TARGET_WATCHOS, 1, [...])
;;
aarch64*darwin*)
TARGET=ARM64
# Both ios and osx/arm64 have the same aarc64-darwin triple,
# assume ios for now when cross compiling
TARGET_SYS=IOS
;;
aarch64-*)
TARGET=ARM64
;;
@@ -5002,7 +4927,7 @@ if test "x$target_mach" = "xyes"; then
CPPFLAGS_FOR_LIBGC="$CPPFLAGS_FOR_LIBGC -DTARGET_WATCHOS"
CFLAGS_FOR_LIBGC="$CFLAGS_FOR_LIBGC -DTARGET_WATCHOS"
BTLS_SUPPORTED=no
elif test "x$TARGET_SYS" = "xIOS" -o "x$TARGET" = "xARM" -o "x$TARGET" = "xARM6432"; then
elif test "x$TARGET" = "xARM" -o "x$TARGET" = "xARM64" -o "x$TARGET" = "xARM6432"; then
AC_DEFINE(TARGET_IOS,1,[The JIT/AOT targets iOS])
CPPFLAGS_FOR_LIBGC="$CPPFLAGS_FOR_LIBGC -DTARGET_IOS"
CFLAGS_FOR_LIBGC="$CFLAGS_FOR_LIBGC -DTARGET_IOS"
@@ -5018,9 +4943,6 @@ if test "x$target_mach" = "xyes"; then
CPPFLAGS_FOR_LIBGC="$CPPFLAGS_FOR_LIBGC -DTARGET_OSX"
CFLAGS_FOR_LIBGC="$CFLAGS_FOR_LIBGC -DTARGET_OSX"
target_osx=yes
if test "x$TARGET" = "xARM64"; then
BTLS_SUPPORTED=no
fi
], [
AC_DEFINE(TARGET_IOS,1,[The JIT/AOT targets iOS])
CPPFLAGS_FOR_LIBGC="$CPPFLAGS_FOR_LIBGC -DTARGET_IOS"
@@ -6211,8 +6133,8 @@ fi
AC_SUBST(mono_runtime)
AC_SUBST(mono_runtime_wrapper)
CSC_LOCATION=`cd $srcdir && pwd`/external/roslyn-binaries/Microsoft.Net.Compilers/3.7.0/csc.exe
VBCS_LOCATION=`cd $srcdir && pwd`/external/roslyn-binaries/Microsoft.Net.Compilers/3.7.0/VBCSCompiler.exe
CSC_LOCATION=`cd $srcdir && pwd`/external/roslyn-binaries/Microsoft.Net.Compilers/3.5.0/csc.exe
VBCS_LOCATION=`cd $srcdir && pwd`/external/roslyn-binaries/Microsoft.Net.Compilers/3.5.0/VBCSCompiler.exe
if test $csc_compiler = mcs; then
CSC=$mcs_topdir/class/lib/build/mcs.exe
@@ -6809,10 +6731,8 @@ AC_SUBST(MONO_NATIVE_PLATFORM_TYPE_UNIFIED)
#
if test "x$enable_llvm_runtime" = "xyes"; then
AC_SUBST(MONO_CXXLD, [$CXX])
AC_SUBST(MONO_LIBTOOL_TAG, '--tag=CXX')
else
AC_SUBST(MONO_CXXLD, [$CC])
AC_SUBST(MONO_LIBTOOL_TAG, '')
fi
### Set -Werror options
@@ -6845,18 +6765,6 @@ if test x"$GCC" = xyes; then
CFLAGS="$CFLAGS -Werror-implicit-function-declaration"
# jay has a lot of implicit declarations
JAY_CFLAGS="-Wno-implicit-function-declaration"
ORIG_CFLAGS=$CFLAGS
CFLAGS="$CFLAGS -Wsometimes-uninitialized -Werror"
AC_MSG_CHECKING(for -Wsometimes-uninitialized option to gcc)
AC_TRY_COMPILE([],[
], [
AC_MSG_RESULT(yes)
CFLAGS="$ORIG_CFLAGS -Werror=sometimes-uninitialized"
], [
AC_MSG_RESULT(no)
CFLAGS=$ORIG_CFLAGS
])
fi
# zlib/configure checks if this program compiles and if so
@@ -6875,63 +6783,6 @@ AC_COMPILE_IFELSE(
AC_MSG_RESULT(no)
])
# for icu shim
ICU_SHIM_PATH=.
if test x$with_core = xonly; then
if test x$cross_compiling = xno; then
AC_CHECK_FILE($srcdir/../libraries/Native/Unix/System.Globalization.Native/pal_icushim.h, [have_shim_globalization=yes], [have_shim_globalization=no])
fi
if test x$have_shim_globalization = xyes || test x$cross_compiling = xyes; then
ICU_SHIM_PATH=../../../libraries/Native/Unix/System.Globalization.Native
if test x$target_wasm = xyes && test x$with_static_icu = xyes; then
ICU_CFLAGS="-DTARGET_UNIX -DU_DISABLE_RENAMING -DHAVE_UDAT_STANDALONE_SHORTER_WEEKDAYS -DHAVE_SET_MAX_VARIABLE"
have_sys_icu=yes
elif test x$target_osx = xyes; then
ORIG_CPPFLAGS=$CPPFLAGS
# adding icu path to pkg_config_path
PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig:/usr/local/opt/icu4c/lib/pkgconfig
export PKG_CONFIG_PATH
CPPFLAGS="`pkg-config --cflags-only-I icu-uc`"
AC_CHECK_LIB(icucore, ucol_open, LIBS=$LIBS,
[AC_MSG_ERROR([Cannot find libicucore, skipping build for System.Globalization.Native. .NET globalization is not expected to function.])])
AC_CHECK_HEADER(unicode/utypes.h, [have_sys_icu=yes], [have_sys_icu=no])
if test x$have_sys_icu = xyes; then
ICU_CFLAGS="$CPPFLAGS -DPALEXPORT="" -DOSX_ICU_LIBRARY_PATH=AS_ESCAPE(\"/usr/lib/libicucore.dylib\", '\"') -DTARGET_UNIX -DU_DISABLE_RENAMING -Wno-reserved-id-macro -Wno-documentation -Wno-documentation-unknown-command -Wno-switch-enum -Wno-covered-switch-default -Wno-covered-switch-default -Wno-extra-semi-stmt -Wno-unknown-warning-option -Wno-deprecated-declarations"
fi
CPPFLAGS=$ORIG_CPPFLAGS
elif test x$platform_android = xyes; then
ICU_CFLAGS="-DPALEXPORT="" -DHAVE_UDAT_STANDALONE_SHORTER_WEEKDAYS -DHAVE_SET_MAX_VARIABLE -DTARGET_UNIX -DTARGET_ANDROID -Wno-reserved-id-macro -Wno-documentation -Wno-documentation-unknown-command -Wno-switch-enum -Wno-covered-switch-default -Wno-covered-switch-default -Wno-extra-semi-stmt -Wno-unknown-warning-option"
have_sys_icu=yes
elif test x$host_linux = xyes; then
AC_CHECK_LIB(icuuc, main, LIBS=$LIBS,
[AC_MSG_ERROR([Cannot find libicuuc, try installing libicu-dev (or the appropriate package for your platform).])])
AC_CHECK_LIB(icui18n, main, LIBS=$LIBS,
[AC_MSG_ERROR([Cannot find libicui18n, try installing libicu-dev (or the appropriate package for your platform).])])
AC_CHECK_HEADER(unicode/utypes.h, [have_sys_icu=yes], [have_sys_icu=no])
if test x$have_sys_icu = xyes; then
ICU_CFLAGS="-DPALEXPORT="" -DTARGET_UNIX -Wno-reserved-id-macro -Wno-documentation -Wno-documentation-unknown-command -Wno-switch-enum -Wno-covered-switch-default -Wno-covered-switch-default -Wno-extra-semi-stmt -Wno-unknown-warning-option"
fi
elif test x$host_sunos = xyes; then
ICU_CFLAGS="-DPALEXPORT="" -DTARGET_UNIX -Wno-reserved-id-macro -Wno-documentation -Wno-documentation-unknown-command -Wno-switch-enum -Wno-covered-switch-default -Wno-extra-semi-stmt -Wno-unknown-warning-option"
have_sys_icu=yes
elif test x$host_wasm = xyes; then
ICU_CFLAGS="-DPALEXPORT="" -DTARGET_UNIX -Wno-reserved-id-macro -Wno-documentation -Wno-documentation-unknown-command -Wno-switch-enum -Wno-covered-switch-default -Wno-covered-switch-default -Wno-extra-semi-stmt -Wno-unknown-warning-option"
have_sys_icu=yes
else
GLOBALIZATION_SHIM_DEFINES="-DNO_GLOBALIZATION_SHIM"
fi
AC_SUBST(ICU_CFLAGS)
else
GLOBALIZATION_SHIM_DEFINES="-DNO_GLOBALIZATION_SHIM"
fi
else
GLOBALIZATION_SHIM_DEFINES="-DNO_GLOBALIZATION_SHIM"
fi
AC_SUBST(GLOBALIZATION_SHIM_DEFINES)
AC_SUBST(ICU_SHIM_PATH)
AM_CONDITIONAL(HAVE_SYS_ICU, test x$have_sys_icu = xyes)
AC_SUBST(CFLAGS)
AC_SUBST(CPPFLAGS)
AC_SUBST(LDFLAGS)
+1 -1
View File
@@ -22,7 +22,7 @@ Layout
as well as the upcoming Monodoc tools and index creation
tools).
The files can contain any amount of extra information.
The files can contain any ammount of extra information.
The documentation from the source code is then merged with
these files and the header/footer information to produce
+4 -4
View File
@@ -15,13 +15,13 @@
</Dependency>
</ProductDependencies>
<ToolsetDependencies>
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="5.0.0-beta.20201.2">
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="5.0.0-beta.20171.1">
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>bce0a98620c1c5a110b2bba9912f3d5929069c6b</Sha>
<Sha>7dbc907fa03eacf4c57f827cb4235d77b7ed4fcd</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="5.0.0-beta.20201.2">
<Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="5.0.0-beta.20171.1">
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>bce0a98620c1c5a110b2bba9912f3d5929069c6b</Sha>
<Sha>7dbc907fa03eacf4c57f827cb4235d77b7ed4fcd</Sha>
</Dependency>
</ToolsetDependencies>
</Dependencies>
+23 -56
View File
@@ -2,16 +2,15 @@
usage()
{
echo "Usage: $0 [BuildArch] [CodeName] [lldbx.y] [--skipunmount] --rootfsdir <directory>]"
echo "Usage: $0 [BuildArch] [LinuxCodeName] [lldbx.y] [--skipunmount] --rootfsdir <directory>]"
echo "BuildArch can be: arm(default), armel, arm64, x86"
echo "CodeName - optional, Code name for Linux, can be: trusty, xenial(default), zesty, bionic, alpine. If BuildArch is armel, LinuxCodeName is jessie(default) or tizen."
echo " for FreeBSD can be: freebsd11 or freebsd12."
echo "lldbx.y - optional, LLDB version, can be: lldb3.9(default), lldb4.0, lldb5.0, lldb6.0 no-lldb. Ignored for alpine and FReeBSD"
echo "LinuxCodeName - optional, Code name for Linux, can be: trusty, xenial(default), zesty, bionic, alpine. If BuildArch is armel, LinuxCodeName is jessie(default) or tizen."
echo "lldbx.y - optional, LLDB version, can be: lldb3.9(default), lldb4.0, lldb5.0, lldb6.0 no-lldb. Ignored for alpine"
echo "--skipunmount - optional, will skip the unmount of rootfs folder."
exit 1
}
__CodeName=xenial
__LinuxCodeName=xenial
__CrossDir=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
__InitialDir=$PWD
__BuildArch=arm
@@ -54,15 +53,6 @@ __AlpinePackages+=" krb5-dev"
__AlpinePackages+=" openssl-dev"
__AlpinePackages+=" zlib-dev"
__FreeBSDBase="12.1-RELEASE"
__FreeBSDPkg="1.10.5"
__FreeBSDPackages="libunwind"
__FreeBSDPackages+=" icu"
__FreeBSDPackages+=" libinotify"
__FreeBSDPackages+=" lttng-ust"
__FreeBSDPackages+=" llvm-90"
__FreeBSDPackages+=" krb5"
__UnprocessedBuildArgs=
while :; do
if [ $# -le 0 ]; then
@@ -91,7 +81,7 @@ while :; do
__BuildArch=armel
__UbuntuArch=armel
__UbuntuRepo="http://ftp.debian.org/debian/"
__CodeName=jessie
__LinuxCodeName=jessie
;;
x86)
__BuildArch=x86
@@ -120,36 +110,36 @@ while :; do
unset __LLDB_Package
;;
trusty) # Ubuntu 14.04
if [ "$__CodeName" != "jessie" ]; then
__CodeName=trusty
if [ "$__LinuxCodeName" != "jessie" ]; then
__LinuxCodeName=trusty
fi
;;
xenial) # Ubuntu 16.04
if [ "$__CodeName" != "jessie" ]; then
__CodeName=xenial
if [ "$__LinuxCodeName" != "jessie" ]; then
__LinuxCodeName=xenial
fi
;;
zesty) # Ubuntu 17.04
if [ "$__CodeName" != "jessie" ]; then
__CodeName=zesty
if [ "$__LinuxCodeName" != "jessie" ]; then
__LinuxCodeName=zesty
fi
;;
bionic) # Ubuntu 18.04
if [ "$__CodeName" != "jessie" ]; then
__CodeName=bionic
if [ "$__LinuxCodeName" != "jessie" ]; then
__LinuxCodeName=bionic
fi
;;
jessie) # Debian 8
__CodeName=jessie
__LinuxCodeName=jessie
__UbuntuRepo="http://ftp.debian.org/debian/"
;;
stretch) # Debian 9
__CodeName=stretch
__LinuxCodeName=stretch
__UbuntuRepo="http://ftp.debian.org/debian/"
__LLDB_Package="liblldb-6.0-dev"
;;
buster) # Debian 10
__CodeName=buster
__LinuxCodeName=buster
__UbuntuRepo="http://ftp.debian.org/debian/"
__LLDB_Package="liblldb-6.0-dev"
;;
@@ -159,22 +149,14 @@ while :; do
usage;
exit 1;
fi
__CodeName=
__LinuxCodeName=
__UbuntuRepo=
__Tizen=tizen
;;
alpine)
__CodeName=alpine
__LinuxCodeName=alpine
__UbuntuRepo=
;;
freebsd11)
__FreeBSDBase="11.3-RELEASE"
;&
freebsd12)
__CodeName=freebsd
__BuildArch=x64
__SkipUnmount=1
;;
--skipunmount)
__SkipUnmount=1
;;
@@ -210,7 +192,7 @@ if [ -d "$__RootfsDir" ]; then
rm -rf $__RootfsDir
fi
if [[ "$__CodeName" == "alpine" ]]; then
if [[ "$__LinuxCodeName" == "alpine" ]]; then
__ApkToolsVersion=2.9.1
__AlpineVersion=3.9
__ApkToolsDir=$(mktemp -d)
@@ -236,24 +218,9 @@ if [[ "$__CodeName" == "alpine" ]]; then
add $__AlpinePackagesEdgeTesting
rm -r $__ApkToolsDir
elif [[ "$__CodeName" == "freebsd" ]]; then
mkdir -p $__RootfsDir/usr/local/etc
wget -O - https://download.freebsd.org/ftp/releases/amd64/${__FreeBSDBase}/base.txz | tar -C $__RootfsDir -Jxf - ./lib ./usr/lib ./usr/libdata ./usr/include ./usr/share/keys ./etc ./bin/freebsd-version
# For now, ask for 11 ABI even on 12. This can be revisited later.
echo "ABI = \"FreeBSD:11:amd64\"; FINGERPRINTS = \"${__RootfsDir}/usr/share/keys\"; REPOS_DIR = [\"${__RootfsDir}/etc/pkg\"]; REPO_AUTOUPDATE = NO; RUN_SCRIPTS = NO;" > ${__RootfsDir}/usr/local/etc/pkg.conf
echo "FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/\${ABI}/quarterly", mirror_type: \"srv\", signature_type: \"fingerprints\", fingerprints: \"${__RootfsDir}/usr/share/keys/pkg\", enabled: yes }" > ${__RootfsDir}/etc/pkg/FreeBSD.conf
mkdir -p $__RootfsDir/tmp
# get and build package manager
wget -O - https://github.com/freebsd/pkg/archive/${__FreeBSDPkg}.tar.gz | tar -C $__RootfsDir/tmp -zxf -
cd $__RootfsDir/tmp/pkg-${__FreeBSDPkg}
./autogen.sh && ./configure --prefix=$__RootfsDir/host && make install
rm -rf $__RootfsDir/tmp/pkg-${__FreeBSDPkg}
# install packages we need.
$__RootfsDir/host/sbin/pkg -r $__RootfsDir -C $__RootfsDir/usr/local/etc/pkg.conf update
$__RootfsDir/host/sbin/pkg -r $__RootfsDir -C $__RootfsDir/usr/local/etc/pkg.conf install --yes $__FreeBSDPackages
elif [[ -n $__CodeName ]]; then
qemu-debootstrap --arch $__UbuntuArch $__CodeName $__RootfsDir $__UbuntuRepo
cp $__CrossDir/$__BuildArch/sources.list.$__CodeName $__RootfsDir/etc/apt/sources.list
elif [[ -n $__LinuxCodeName ]]; then
qemu-debootstrap --arch $__UbuntuArch $__LinuxCodeName $__RootfsDir $__UbuntuRepo
cp $__CrossDir/$__BuildArch/sources.list.$__LinuxCodeName $__RootfsDir/etc/apt/sources.list
chroot $__RootfsDir apt-get update
chroot $__RootfsDir apt-get -f -y install
chroot $__RootfsDir apt-get -y install $__UbuntuPackages
@@ -263,7 +230,7 @@ elif [[ -n $__CodeName ]]; then
umount $__RootfsDir/*
fi
if [[ "$__BuildArch" == "arm" && "$__CodeName" == "trusty" ]]; then
if [[ "$__BuildArch" == "arm" && "$__LinuxCodeName" == "trusty" ]]; then
pushd $__RootfsDir
patch -p1 < $__CrossDir/$__BuildArch/trusty.patch
patch -p1 < $__CrossDir/$__BuildArch/trusty-lttng-2.4.patch
+1 -14
View File
@@ -1,11 +1,7 @@
set(CROSS_ROOTFS $ENV{ROOTFS_DIR})
set(TARGET_ARCH_NAME $ENV{TARGET_BUILD_ARCH})
if(EXISTS ${CROSS_ROOTFS}/bin/freebsd-version)
set(CMAKE_SYSTEM_NAME FreeBSD)
else()
set(CMAKE_SYSTEM_NAME Linux)
endif()
set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_VERSION 1)
if(TARGET_ARCH_NAME STREQUAL "armel")
@@ -31,9 +27,6 @@ elseif(TARGET_ARCH_NAME STREQUAL "arm64")
elseif(TARGET_ARCH_NAME STREQUAL "x86")
set(CMAKE_SYSTEM_PROCESSOR i686)
set(TOOLCHAIN "i686-linux-gnu")
elseif (CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
set(CMAKE_SYSTEM_PROCESSOR "x86_64")
set(triple "x86_64-unknown-freebsd11")
else()
message(FATAL_ERROR "Arch is ${TARGET_ARCH_NAME}. Only armel, arm, arm64 and x86 are supported!")
endif()
@@ -67,12 +60,6 @@ if("$ENV{__DistroRid}" MATCHES "android.*")
# include official NDK toolchain script
include(${CROSS_ROOTFS}/../build/cmake/android.toolchain.cmake)
elseif (CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
# we cross-compile by instructing clang
set(CMAKE_C_COMPILER_TARGET ${triple})
set(CMAKE_CXX_COMPILER_TARGET ${triple})
set(CMAKE_ASM_COMPILER_TARGET ${triple})
set(CMAKE_SYSROOT "${CROSS_ROOTFS}")
else()
set(CMAKE_SYSROOT "${CROSS_ROOTFS}")
@@ -53,13 +53,6 @@ if ($Internal) {
$CommonSetupArguments="--channel master --queue $Queue --build-number $BuildNumber --build-configs $Configurations --architecture $Architecture"
$SetupArguments = "--repository https://github.com/$Repository --branch $Branch --get-perf-hash --commit-sha $CommitSha $CommonSetupArguments"
#This grabs the LKG version number of dotnet and passes it to our scripts
$VersionJSON = Get-Content global.json | ConvertFrom-Json
$DotNetVersion = $VersionJSON.tools.dotnet
$SetupArguments = "--dotnet-versions $DotNetVersion $SetupArguments"
if ($RunFromPerformanceRepo) {
$SetupArguments = "--perf-hash $CommitSha $CommonSetupArguments"
@@ -167,13 +167,6 @@ fi
common_setup_arguments="--channel master --queue $queue --build-number $build_number --build-configs $configurations --architecture $architecture"
setup_arguments="--repository https://github.com/$repository --branch $branch --get-perf-hash --commit-sha $commit_sha $common_setup_arguments"
# Get the tools section from the global.json.
# This grabs the LKG version number of dotnet and passes it to our scripts
dotnet_version=`cat global.json | python3 -c 'import json,sys;obj=json.load(sys.stdin);print(obj["tools"]["dotnet"])'`
setup_arguments="--dotnet-versions $dotnet_version $setup_arguments"
if [[ "$run_from_perf_repo" = true ]]; then
payload_directory=
workitem_directory=$source_directory
+3 -3
View File
@@ -67,12 +67,12 @@ function Write-PipelineTaskError {
}
if(($Type -ne 'error') -and ($Type -ne 'warning')) {
Write-Host $Message
return
Write-Host $Message
return
}
$PSBoundParameters.Remove('Force') | Out-Null
if(-not $PSBoundParameters.ContainsKey('Type')) {
$PSBoundParameters.Add('Type', 'error')
$PSBoundParameters.Add('Type', 'error')
}
Write-LogIssue @PSBoundParameters
}
-4
View File
@@ -33,10 +33,6 @@ try {
$disableConfigureToolsetImport = $true
$LASTEXITCODE = 0
# `tools.ps1` checks $ci to perform some actions. Since the SDL
# scripts don't necessarily execute in the same agent that run the
# build.ps1/sh script this variable isn't automatically set.
$ci = $true
. $PSScriptRoot\..\tools.ps1
#Replace repo names to the format of org/repo
+4 -4
View File
@@ -6,6 +6,10 @@ param(
$ErrorActionPreference = 'Stop'
Set-StrictMode -Version 2.0
# `tools.ps1` checks $ci to perform some actions. Since the post-build
# scripts don't necessarily execute in the same agent that run the
# build.ps1/sh script this variable isn't automatically set.
$ci = $true
$disableConfigureToolsetImport = $true
function ExtractArtifacts {
@@ -25,10 +29,6 @@ function ExtractArtifacts {
}
try {
# `tools.ps1` checks $ci to perform some actions. Since the SDL
# scripts don't necessarily execute in the same agent that run the
# build.ps1/sh script this variable isn't automatically set.
$ci = $true
. $PSScriptRoot\..\tools.ps1
$ExtractPackage = {
+1 -5
View File
@@ -12,10 +12,6 @@ Set-StrictMode -Version 2.0
$disableConfigureToolsetImport = $true
$LASTEXITCODE = 0
# `tools.ps1` checks $ci to perform some actions. Since the SDL
# scripts don't necessarily execute in the same agent that run the
# build.ps1/sh script this variable isn't automatically set.
$ci = $true
. $PSScriptRoot\..\tools.ps1
# Don't display the console progress UI - it's a huge perf hit
@@ -62,6 +58,6 @@ try {
}
catch {
Write-Host $_.ScriptStackTrace
Write-PipelineTelemetryError -Force -Category 'Sdl' -Message $_
Write-PipelineTelemetryError -Category 'Sdl' -Message $_
ExitWithExitCode 1
}
+1 -5
View File
@@ -12,10 +12,6 @@ $disableConfigureToolsetImport = $true
$LASTEXITCODE = 0
try {
# `tools.ps1` checks $ci to perform some actions. Since the SDL
# scripts don't necessarily execute in the same agent that run the
# build.ps1/sh script this variable isn't automatically set.
$ci = $true
. $PSScriptRoot\..\tools.ps1
# We create the temp directory where we'll store the sdl-config repository
@@ -66,4 +62,4 @@ catch {
Write-Host $_.ScriptStackTrace
Write-PipelineTelemetryError -Category 'Sdl' -Message $_
ExitWithExitCode 1
}
}
+2 -6
View File
@@ -16,10 +16,6 @@ $disableConfigureToolsetImport = $true
$LASTEXITCODE = 0
try {
# `tools.ps1` checks $ci to perform some actions. Since the SDL
# scripts don't necessarily execute in the same agent that run the
# build.ps1/sh script this variable isn't automatically set.
$ci = $true
. $PSScriptRoot\..\tools.ps1
# We store config files in the r directory of .gdn
@@ -68,6 +64,6 @@ try {
}
catch {
Write-Host $_.ScriptStackTrace
Write-PipelineTelemetryError -Force -Category 'Sdl' -Message $_
Write-PipelineTelemetryError -Category 'Sdl' -Message $_
ExitWithExitCode 1
}
}
-4
View File
@@ -24,8 +24,6 @@ parameters:
enablePublishBuildAssets: false
enablePublishTestResults: false
enablePublishUsingPipelines: false
mergeTestResults: false
testRunTitle: $(AgentOsName)-$(BuildConfiguration)-xunit
name: ''
preSteps: []
runAsPublic: false
@@ -196,8 +194,6 @@ jobs:
testResultsFormat: 'xUnit'
testResultsFiles: '*.xml'
searchFolder: '$(Build.SourcesDirectory)/artifacts/TestResults/$(_BuildConfig)'
testRunTitle: ${{ parameters.testRunTitle }}
mergeTestResults: ${{ parameters.mergeTestResults }}
continueOnError: true
condition: always()
@@ -9,8 +9,8 @@ variables:
- name: PublicDevRelease_31_Channel_Id
value: 128
# .NET 5 Dev
- name: Net_5_Dev_Channel_Id
# .NET Core 5 Dev
- name: NetCore_5_Dev_Channel_Id
value: 131
# .NET Eng - Validation
@@ -96,4 +96,4 @@ variables:
- name: skipComponentGovernanceDetection
value: true
- name: runCodesignValidationInjection
value: false
value: false
+19 -47
View File
@@ -27,7 +27,7 @@ parameters:
# needs to be updated with the new channel ID
NetEngLatestChannelId: 2
NetEngValidationChannelId: 9
NetDev5ChannelId: 131
NetCoreDev5ChannelId: 131
GeneralTestingChannelId: 529
NETCoreToolingDevChannelId: 548
NETCoreToolingReleaseChannelId: 549
@@ -35,10 +35,8 @@ parameters:
NETCoreExperimentalChannelId: 562
NetEngServicesIntChannelId: 678
NetEngServicesProdChannelId: 679
Net5Preview1ChannelId: 737
Net5Preview2ChannelId: 738
Net5Preview3ChannelId: 739
NetCoreSDK313xxChannelId: 759
NetCoreSDK313xxInternalChannelId: 760
stages:
- stage: Validate
@@ -65,7 +63,7 @@ stages:
inputs:
filePath: $(Build.SourcesDirectory)/eng/common/post-build/check-channel-consistency.ps1
arguments: -PromoteToChannels "$(InitialChannels)[$(PromoteToMaestroChannelId)]"
-AvailableChannelIds ${{parameters.NetEngLatestChannelId}},${{parameters.NetEngValidationChannelId}},${{parameters.NetDev5ChannelId}},${{parameters.GeneralTestingChannelId}},${{parameters.NETCoreToolingDevChannelId}},${{parameters.NETCoreToolingReleaseChannelId}},${{parameters.NETInternalToolingChannelId}},${{parameters.NETCoreExperimentalChannelId}},${{parameters.NetEngServicesIntChannelId}},${{parameters.NetEngServicesProdChannelId}},${{parameters.Net5Preview2ChannelId}},${{parameters.Net5Preview3ChannelId}},${{parameters.NetCoreSDK313xxChannelId}},${{parameters.NetCoreSDK313xxInternalChannelId}}
-AvailableChannelIds ${{parameters.NetEngLatestChannelId}},${{parameters.NetEngValidationChannelId}},${{parameters.NetCoreDev5ChannelId}},${{parameters.GeneralTestingChannelId}},${{parameters.NETCoreToolingDevChannelId}},${{parameters.NETCoreToolingReleaseChannelId}},${{parameters.NETInternalToolingChannelId}},${{parameters.NETCoreExperimentalChannelId}},${{parameters.NetEngServicesIntChannelId}},${{parameters.NetEngServicesProdChannelId}},${{parameters.Net5Preview1ChannelId}},${{parameters.Net5Preview2ChannelId}}
- job:
displayName: NuGet Validation
@@ -200,9 +198,23 @@ stages:
publishInstallersAndChecksums: ${{ parameters.publishInstallersAndChecksums }}
symbolPublishingAdditionalParameters: ${{ parameters.symbolPublishingAdditionalParameters }}
stageName: 'NetCore_Dev5_Publish'
channelName: '.NET 5 Dev'
channelName: '.NET Core 5 Dev'
akaMSChannelName: 'net5/dev'
channelId: ${{ parameters.NetDev5ChannelId }}
channelId: ${{ parameters.NetCoreDev5ChannelId }}
transportFeed: 'https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet5-transport/nuget/v3/index.json'
shippingFeed: 'https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet5/nuget/v3/index.json'
symbolsFeed: 'https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet5-symbols/nuget/v3/index.json'
- template: \eng\common\templates\post-build\channels\generic-public-channel.yml
parameters:
artifactsPublishingAdditionalParameters: ${{ parameters.artifactsPublishingAdditionalParameters }}
dependsOn: ${{ parameters.publishDependsOn }}
publishInstallersAndChecksums: ${{ parameters.publishInstallersAndChecksums }}
symbolPublishingAdditionalParameters: ${{ parameters.symbolPublishingAdditionalParameters }}
stageName: 'Net5_Preview1_Publish'
channelName: '.NET 5 Preview 1'
akaMSChannelName: 'net5/preview1'
channelId: ${{ parameters.Net5Preview1ChannelId }}
transportFeed: 'https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet5-transport/nuget/v3/index.json'
shippingFeed: 'https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet5/nuget/v3/index.json'
symbolsFeed: 'https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet5-symbols/nuget/v3/index.json'
@@ -221,20 +233,6 @@ stages:
shippingFeed: 'https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet5/nuget/v3/index.json'
symbolsFeed: 'https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet5-symbols/nuget/v3/index.json'
- template: \eng\common\templates\post-build\channels\generic-public-channel.yml
parameters:
artifactsPublishingAdditionalParameters: ${{ parameters.artifactsPublishingAdditionalParameters }}
dependsOn: ${{ parameters.publishDependsOn }}
publishInstallersAndChecksums: ${{ parameters.publishInstallersAndChecksums }}
symbolPublishingAdditionalParameters: ${{ parameters.symbolPublishingAdditionalParameters }}
stageName: 'Net5_Preview3_Publish'
channelName: '.NET 5 Preview 3'
akaMSChannelName: 'net5/preview3'
channelId: ${{ parameters.Net5Preview3ChannelId }}
transportFeed: 'https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet5-transport/nuget/v3/index.json'
shippingFeed: 'https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet5/nuget/v3/index.json'
symbolsFeed: 'https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet5-symbols/nuget/v3/index.json'
- template: \eng\common\templates\post-build\channels\generic-public-channel.yml
parameters:
artifactsPublishingAdditionalParameters: ${{ parameters.artifactsPublishingAdditionalParameters }}
@@ -354,29 +352,3 @@ stages:
transportFeed: 'https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json'
shippingFeed: 'https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json'
symbolsFeed: 'https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng-symbols/nuget/v3/index.json'
- template: \eng\common\templates\post-build\channels\generic-public-channel.yml
parameters:
artifactsPublishingAdditionalParameters: ${{ parameters.artifactsPublishingAdditionalParameters }}
dependsOn: ${{ parameters.publishDependsOn }}
publishInstallersAndChecksums: ${{ parameters.publishInstallersAndChecksums }}
symbolPublishingAdditionalParameters: ${{ parameters.symbolPublishingAdditionalParameters }}
stageName: 'NETCore_SDK_313xx_Publishing'
channelName: '.NET Core SDK 3.1.3xx'
channelId: ${{ parameters.NetCoreSDK313xxChannelId }}
transportFeed: 'https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet3.1-transport/nuget/v3/index.json'
shippingFeed: 'https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet3.1/nuget/v3/index.json'
symbolsFeed: 'https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet3.1-symbols/nuget/v3/index.json'
- template: \eng\common\templates\post-build\channels\generic-internal-channel.yml
parameters:
artifactsPublishingAdditionalParameters: ${{ parameters.artifactsPublishingAdditionalParameters }}
dependsOn: ${{ parameters.publishDependsOn }}
publishInstallersAndChecksums: ${{ parameters.publishInstallersAndChecksums }}
symbolPublishingAdditionalParameters: ${{ parameters.symbolPublishingAdditionalParameters }}
stageName: 'NETCore_SDK_313xx_Internal_Publishing'
channelName: '.NET Core SDK 3.1.3xx Internal'
channelId: ${{ parameters.NetCoreSDK313xxInternalChannelId }}
transportFeed: 'https://pkgs.dev.azure.com/dnceng/_packaging/dotnet3.1-internal-transport/nuget/v3/index.json'
shippingFeed: 'https://pkgs.dev.azure.com/dnceng/_packaging/dotnet3.1-internal/nuget/v3/index.json'
symbolsFeed: 'https://pkgs.dev.azure.com/dnceng/_packaging/dotnet3.1-internal-symbols/nuget/v3/index.json'
+2 -2
View File
@@ -77,7 +77,7 @@ function ResolvePath {
function ReadGlobalVersion {
local key=$1
local line=$(awk "/$key/ {print; exit}" "$global_json_file")
local line=`grep -m 1 "$key" "$global_json_file"`
local pattern="\"$key\" *: *\"(.*)\""
if [[ ! $line =~ $pattern ]]; then
@@ -438,7 +438,7 @@ temp_dir="$artifacts_dir/tmp/$configuration"
global_json_file="$repo_root/global.json"
# determine if global.json contains a "runtimes" entry
global_json_has_runtimes=false
dotnetlocal_key=$(awk "/runtimes/ {print; exit}" "$global_json_file") || true
dotnetlocal_key=`grep -m 1 "runtimes" "$global_json_file"` || true
if [[ -n "$dotnetlocal_key" ]]; then
global_json_has_runtimes=true
fi
+1 -1
+1 -1
+2 -2
View File
@@ -3,7 +3,7 @@
"dotnet": "5.0.100-alpha1-015772"
},
"msbuild-sdks": {
"Microsoft.DotNet.Arcade.Sdk": "5.0.0-beta.20201.2",
"Microsoft.DotNet.Helix.Sdk": "5.0.0-beta.20201.2"
"Microsoft.DotNet.Arcade.Sdk": "5.0.0-beta.20171.1",
"Microsoft.DotNet.Helix.Sdk": "5.0.0-beta.20171.1"
}
}
+1 -3
View File
@@ -9,8 +9,6 @@ LLVM_VERSION := $(shell git -C "$(abs_top_srcdir)/external/llvm-project/llvm" re
# FIXME: URL should be http://xamjenkinsartifact.blob.core.windows.net/build-package-osx-llvm-$(LLVM_BRANCH)/llvm-osx64-$(LLVM_VERSION).tar.gz
LLVM_DOWNLOAD_LOCATION = "http://xamjenkinsartifact.blob.core.windows.net/build-package-osx-llvm-release60/llvm-osx64-$(LLVM_VERSION).tar.gz"
CPU_COUNT := $(shell getconf _NPROCESSORS_ONLN || echo 8)
CMAKE := $(or $(CMAKE),$(shell which cmake))
NINJA := $(shell which ninja)
@@ -45,7 +43,7 @@ configure-llvm: $(LLVM_BUILD)/$(if $(NINJA),build.ninja,Makefile)
.PHONY: build-llvm
build-llvm: configure-llvm
DESTDIR="" $(if $(NINJA),$(NINJA),$(MAKE) -j$(CPU_COUNT)) -C $(LLVM_BUILD)
DESTDIR="" $(if $(NINJA),$(NINJA),$(MAKE) -j) -C $(LLVM_BUILD)
.PHONY: install-llvm
install-llvm: build-llvm
-1
View File
@@ -16,7 +16,6 @@ AC_DEFUN([AC_MONO_OUTPUT], [
llvm/Makefile
mono/Makefile
mono/btls/Makefile
mono/culture/Makefile
mono/native/Makefile
mono/utils/Makefile
mono/metadata/Makefile
+3 -2
View File
@@ -430,9 +430,10 @@ namespace I18N.CJK
}
#else
public override int GetByteCount(char[] chars, int start, int count, bool refresh)
public override int GetByteCount(char[] chars, int index, int count, bool refresh)
{
int end = start + count;
int start = 0;
int end = count;
int ret = 0;
while (start < end)
{
@@ -92,14 +92,6 @@ namespace Mono.Debugger.Soft
vm.conn.Array_SetValues (id, index, vm.EncodeValues (values));
}
public void SetByteValues (byte [] bytes)
{
if (bytes != null && bytes.Length != Length) {
throw new IndexOutOfRangeException ();
}
vm.conn.ByteArray_SetValues (id, bytes);
}
IEnumerator IEnumerable.GetEnumerator ()
{
return new SimpleEnumerator (this);
@@ -216,7 +216,7 @@ namespace Mono.Debugger.Soft
public bool IsEnum; // For ElementType.ValueType
public long Id; /* For VALUE_TYPE_ID_TYPE */
public int Index; /* For VALUE_TYPE_PARENT_VTYPE */
public int FixedSize;
public int FixedSize;
}
class ModuleInfo {
@@ -315,6 +315,7 @@ namespace Mono.Debugger.Soft
}
}
class AssemblyModifier : Modifier {
public long[] Assemblies {
get; set;
@@ -408,7 +409,6 @@ namespace Mono.Debugger.Soft
public ErrorCode ErrorCode {
get; set;
}
public string ErrorMessage {
get; set;
}
@@ -807,10 +807,6 @@ namespace Mono.Debugger.Soft
get; set;
}
public string ErrorMsg {
get; internal set;
}
public int Command {
get; set;
}
@@ -819,6 +815,10 @@ namespace Mono.Debugger.Soft
get; set;
}
public string ErrorMsg {
get; internal set;
}
public int Offset {
get {
return offset;
@@ -873,7 +873,6 @@ namespace Mono.Debugger.Soft
public ValueImpl ReadValue () {
ElementType etype = (ElementType)ReadByte ();
switch (etype) {
case ElementType.Void:
return new ValueImpl { Type = etype };
@@ -1323,7 +1322,7 @@ namespace Mono.Debugger.Soft
}
}
}
protected abstract int TransportReceive (byte[] buf, int buf_offset, int len);
protected abstract int TransportSend (byte[] buf, int buf_offset, int len);
protected abstract void TransportSetTimeouts (int send_timeout, int receive_timeout);
@@ -2754,21 +2753,6 @@ namespace Mono.Debugger.Soft
SendReceive (CommandSet.ARRAY_REF, (int)CmdArrayRef.SET_VALUES, new PacketWriter ().WriteId (id).WriteInt (index).WriteInt (values.Length).WriteValues (values));
}
// This is a special case when setting values of an array that
// consists of a large number of bytes. This saves much time and
// cost than we create ValueImpl object for each byte.
internal void ByteArray_SetValues (long id, byte [] bytes)
{
int index = 0;
var typ = (byte)ElementType.U1;
var w = new PacketWriter ().WriteId (id).WriteInt (index).WriteInt (bytes.Length);
for (int i = 0; i < bytes.Length; i++) {
w.WriteByte (typ);
w.WriteInt (bytes [i]);
}
SendReceive (CommandSet.ARRAY_REF, (int)CmdArrayRef.SET_VALUES, w);
}
/*
* STRINGS
*/
@@ -70,10 +70,9 @@ namespace Mono.Debugger.Soft
sb.Append(Name);
sb.Append(" ");
sb.Append("(");
var parameters = GetParameters ();
for (var i = 0; i < parameters.Length; i++) {
sb.Append(parameters[i].ParameterType.Name);
if (i != parameters.Length - 1)
for (var i = 0; i < param_info.Length; i++) {
sb.Append(param_info[i].ParameterType.Name);
if (i != param_info.Length - 1)
sb.Append(", ");
}
sb.Append(")");
@@ -70,5 +70,5 @@ namespace Mono.Debugger.Soft
return info.SourceLink;
}
}
}
}
}
@@ -39,8 +39,6 @@ namespace Mono.Debugger.Soft
if (vm.Version.AtLeast (2, 38)) {
try {
domain = vm.GetDomain (vm.conn.StackFrame_GetDomain (thread.Id, Id));
} catch (InvalidStackFrameException) {
domain = Thread.Domain;
} catch (AbsentInformationException) {
domain = Thread.Domain;
}
@@ -471,14 +471,6 @@ public class Tests : TestsBase, ITest2
#pragma warning restore 0414
public string BreakInField
{
get {
Debugger.Break ();
return "Foo";
}
}
public class NestedClass {
}
+1 -18
View File
@@ -1806,7 +1806,7 @@ public class DebuggerTests
t = frame.Method.GetParameters ()[7].ParameterType;
var props = t.GetProperties ();
Assert.AreEqual (4, props.Length);
Assert.AreEqual (3, props.Length);
foreach (PropertyInfoMirror prop in props) {
ParameterInfoMirror[] indexes = prop.GetIndexParameters ();
@@ -4953,23 +4953,6 @@ public class DebuggerTests
Assert.IsTrue ((e as StepEvent).Method.Name == "op_Equality" || (e as StepEvent).Method.Name == "if_property_stepping");
}
[Test]
public void DebuggerBreakInFieldDoesNotHang () {
vm.EnableEvents (EventType.UserBreak);
Event e = run_until ("o1");
StackFrame frame = e.Thread.GetFrames () [0];
object val = frame.GetThis ();
Assert.IsTrue (val is ObjectMirror);
Assert.AreEqual ("Tests", (val as ObjectMirror).Type.Name);
ObjectMirror o = (val as ObjectMirror);
TypeMirror t = o.Type;
MethodMirror m = t.GetProperty ("BreakInField").GetGetMethod();
Value v = o.InvokeMethod (e.Thread, m, null, InvokeOptions.DisableBreakpoints);
AssertValue ("Foo", v);
}
#if !MONODROID_TOOLS
void HandleEvents () {
@@ -184,7 +184,9 @@
</When>
<When Condition="'$(Platform)' == 'wasm'">
<ItemGroup>
<Compile Include="corefx\BrotliStubs.cs" />
<Compile Include="..\..\..\external\corefx\src\System.IO.Compression.Brotli\src\Interop\Interop.Brotli.Decoder.cs" />
<Compile Include="..\..\..\external\corefx\src\System.IO.Compression.Brotli\src\Interop\Interop.Brotli.Encoder.cs" />
<Compile Include="corefx\Interop.Libraries.cs" />
</ItemGroup>
</When>
<When Condition="'$(Platform)' == 'unreal'">
@@ -1,3 +0,0 @@
corefx/Interop.Libraries.cs
../../../external/corefx/src/System.IO.Compression.Brotli/src/Interop/Interop.Brotli.Decoder.cs
../../../external/corefx/src/System.IO.Compression.Brotli/src/Interop/Interop.Brotli.Encoder.cs
@@ -1,5 +0,0 @@
#include System.IO.Compression.dll.sources
corefx/BrotliStubs.cs
# for clrcompression.dll (instead of BrotliStubs for Windows)
#../../../external/corefx/src/Common/src/Interop/Windows/Interop.Libraries.cs
@@ -21,7 +21,7 @@ namespace System.Runtime.Serialization
public static void SetSerializationSurrogateProvider(this DataContractSerializer serializer, ISerializationSurrogateProvider provider)
{
// allocate every time, expectation is that this won't happen enough to warrant maintaining a CondtionalWeakTable.
IDataContractSurrogate adapter = (provider != null) ? new SurrogateProviderAdapter(provider) : null;
IDataContractSurrogate adapter = new SurrogateProviderAdapter(provider);
// DCS doesn't expose a setter, access the field directly as a workaround
typeof(DataContractSerializer)
@@ -423,10 +423,8 @@ namespace System.Runtime.Serialization.Json
XmlDictionaryString namespaceLocal = null;
if (nameLocal != null && nameLocal is string)
writer.WriteStartElement ((string) name, null);
else if (name is XmlDictionaryString)
writer.WriteStartElement ((XmlDictionaryString) name, null);
else
writer.WriteStartElement (name.ToString(), null);
writer.WriteStartElement ((XmlDictionaryString) name, null);
}
void WriteEndElement ()
@@ -23,8 +23,6 @@ namespace System.Transactions
[ThreadStatic]
static Transaction ambient;
Transaction internalTransaction;
IsolationLevel level;
TransactionInformation info;
@@ -85,8 +83,6 @@ namespace System.Transactions
volatiles = other.Volatiles;
durables = other.Durables;
pspe = other.Pspe;
TransactionCompletedInternal = other.TransactionCompletedInternal;
internalTransaction = other;
}
[MonoTODO]
@@ -96,29 +92,7 @@ namespace System.Transactions
throw new NotImplementedException ();
}
internal event TransactionCompletedEventHandler TransactionCompletedInternal;
// Transaction B was cloned from transaction A. Add event handlers to A
// when they are added to B. This will not work when new handlers are added to A
// as A has no reference to B.
public event TransactionCompletedEventHandler TransactionCompleted
{
add
{
if (this.internalTransaction != null)
this.internalTransaction.TransactionCompleted += value;
TransactionCompletedInternal += value;
}
remove
{
if (this.internalTransaction != null)
this.internalTransaction.TransactionCompleted -= value;
TransactionCompletedInternal -= value;
}
}
public event TransactionCompletedEventHandler TransactionCompleted;
public static Transaction Current {
get {
@@ -404,7 +378,7 @@ namespace System.Transactions
private void DoCommit ()
{
/* Scope becomes null in TransactionScope.Dispose */
if (Scope != null && (!Scope.IsComplete || !Scope.IsDisposed)) {
if (Scope != null) {
/* See test ExplicitTransaction8 */
Rollback (null, null);
CheckAborted ();
@@ -555,14 +529,14 @@ namespace System.Transactions
void CheckAborted ()
{
if (aborted || (Scope != null && Scope.IsAborted))
if (aborted)
throw new TransactionAbortedException ("Transaction has aborted", innerException);
}
void FireCompleted ()
{
if (TransactionCompletedInternal != null)
TransactionCompletedInternal (this, new TransactionEventArgs(this));
if (TransactionCompleted != null)
TransactionCompleted (this, new TransactionEventArgs(this));
}
static void EnsureIncompleteCurrentScope ()
@@ -574,3 +548,4 @@ namespace System.Transactions
}
}
}
@@ -9,7 +9,6 @@
// (C)2006 Novell Inc,
//
using System.Threading;
using DTCOption = System.Transactions.EnterpriseServicesInteropOption;
@@ -20,7 +19,6 @@ namespace System.Transactions
static TransactionOptions defaultOptions =
new TransactionOptions (0, TransactionManager.DefaultTimeout);
Timer scopeTimer;
Transaction transaction;
Transaction oldTransaction;
TransactionScope parentScope;
@@ -31,7 +29,6 @@ namespace System.Transactions
bool disposed;
bool completed;
bool aborted;
bool isRoot;
bool asyncFlowEnabled;
@@ -102,7 +99,7 @@ namespace System.Transactions
DTCOption interopOption)
{
Initialize (scopeOption, null, transactionOptions, interopOption,
transactionOptions.Timeout, TransactionScopeAsyncFlowOption.Suppress);
TransactionManager.DefaultTimeout, TransactionScopeAsyncFlowOption.Suppress);
}
public TransactionScope (Transaction transactionToUse,
@@ -146,35 +143,8 @@ namespace System.Transactions
transaction.InitScope (this);
if (parentScope != null)
parentScope.nested ++;
if (timeout != TimeSpan.Zero)
scopeTimer = new Timer (TransactionScope.TimerCallback, this, scopeTimeout, TimeSpan.Zero);
}
private static void TimerCallback (object state)
{
TransactionScope scope = state as TransactionScope;
if (null == scope)
{
throw new TransactionException ("TransactionScopeTimerObjectInvalid", null);
}
scope.TimeoutScope ();
}
private void TimeoutScope()
{
if (!completed && transaction != null)
{
try
{
this.transaction.Rollback ();
this.aborted = true;
}
catch (ObjectDisposedException ex) { }
catch (TransactionException txEx) { }
}
}
Transaction InitTransaction (Transaction tx, TransactionScopeOption scopeOption, TransactionOptions options)
{
if (tx != null)
@@ -211,14 +181,6 @@ namespace System.Transactions
completed = true;
}
internal bool IsAborted {
get { return aborted; }
}
internal bool IsDisposed {
get { return disposed; }
}
internal bool IsComplete {
get { return completed; }
}
@@ -252,9 +214,6 @@ namespace System.Transactions
throw new InvalidOperationException ("Transaction.Current has changed inside of the TransactionScope");
}
if (scopeTimer != null)
scopeTimer.Dispose();
if (asyncFlowEnabled) {
if (oldTransaction != null)
oldTransaction.Scope = parentScope;
@@ -270,10 +229,7 @@ namespace System.Transactions
transaction.Scope = null;
if (IsAborted) {
throw new TransactionAbortedException("Transaction has aborted");
}
else if (!IsComplete) {
if (!IsComplete) {
transaction.Rollback ();
variedTransaction.Rollback();
return;
@@ -295,11 +251,9 @@ namespace System.Transactions
/* scope was not in a transaction, (Suppress) */
return;
if (IsAborted) {
transaction.Scope = null;
throw new TransactionAbortedException("Transaction has aborted");
}
else if (!IsComplete)
transaction.Scope = null;
if (!IsComplete)
{
transaction.Rollback();
return;
@@ -311,10 +265,10 @@ namespace System.Transactions
transaction.CommitInternal();
transaction.Scope = null;
}
}
}
}
@@ -11,7 +11,6 @@
using System;
using NUnit.Framework;
using System.Transactions;
using System.Threading;
namespace MonoTests.System.Transactions
{
@@ -1115,18 +1114,6 @@ namespace MonoTests.System.Transactions
Assert.AreEqual(IsolationLevel.ReadCommitted, Transaction.Current.IsolationLevel);
}
}
[Test]
[ExpectedException(typeof(TransactionAbortedException))]
public void TransactionScopeTimeout()
{
Assert.IsNull(Transaction.Current, "Ambient transaction exists (before)");
using (var ts = new TransactionScope(TransactionScopeOption.Required, TimeSpan.FromMilliseconds(1)))
{
Thread.Sleep(100);
ts.Complete();
}
}
}
}
@@ -375,7 +375,6 @@ namespace System.Windows.Forms
public void End (PaintEventArgs pe) {
Graphics buffered_graphics;
buffered_graphics = pe.SetGraphics ((Graphics) real_graphics.Pop ());
buffered_graphics.Flush();
if (pending_disposal)
Dispose ();
@@ -334,7 +334,8 @@ namespace System.Windows.Forms.PropertyGridInternal
if (value is string)
return (string)value;
if (PropertyDescriptor != null && PropertyDescriptor.Converter != null) {
if (PropertyDescriptor != null && PropertyDescriptor.Converter != null &&
PropertyDescriptor.Converter.CanConvertTo ((ITypeDescriptorContext)this, typeof (string))) {
try {
return PropertyDescriptor.Converter.ConvertToString ((ITypeDescriptorContext)this, value);
} catch {
@@ -466,8 +467,7 @@ namespace System.Windows.Forms.PropertyGridInternal
if (this.IsReadOnly)
return false;
if (value != Value) {
SetValueCore(value, out error);
if (SetValueCore (value, out error)) {
InvalidateChildGridItemsCache ();
property_grid.OnPropertyValueChangedInternal (this, this.Value);
return true;
@@ -478,6 +478,42 @@ namespace System.Windows.Forms.PropertyGridInternal
protected virtual bool SetValueCore (object value, out string error)
{
error = null;
TypeConverter converter = GetConverter ();
Type valueType = value != null ? value.GetType () : null;
// if the new value is not of the same type try to convert it
if (valueType != null && this.PropertyDescriptor.PropertyType != null &&
!this.PropertyDescriptor.PropertyType.IsAssignableFrom (valueType)) {
bool conversionError = false;
try {
if (converter != null &&
converter.CanConvertFrom ((ITypeDescriptorContext)this, valueType))
value = converter.ConvertFrom ((ITypeDescriptorContext)this,
CultureInfo.CurrentCulture, value);
else
conversionError = true;
} catch (Exception e) {
error = e.Message;
conversionError = true;
}
if (conversionError) {
string valueText = ConvertToString (value);
string errorShortDescription = null;
if (valueText != null) {
errorShortDescription = "Property value '" + valueText + "' of '" +
PropertyDescriptor.Name + "' is not convertible to type '" +
this.PropertyDescriptor.PropertyType.Name + "'";
} else {
errorShortDescription = "Property value of '" +
PropertyDescriptor.Name + "' is not convertible to type '" +
this.PropertyDescriptor.PropertyType.Name + "'";
}
error = errorShortDescription + Environment.NewLine + Environment.NewLine + error;
return false;
}
}
bool changed = false;
bool current_changed = false;
object[] propertyOwners = this.PropertyOwners;
@@ -719,7 +719,7 @@ namespace System.Windows.Forms
if (doc.Wrap) {
// FIXME: Technically there are multiple no-break spaces, not just the main one.
if (wrap_pos <= pos && ((Char.IsWhiteSpace (c) && c != '\u00A0') || c == '-' || c == '\u2013' || c == '\u2014')) {
if ((Char.IsWhiteSpace (c) && c != '\u00A0') || c == '-' || c == '\u2013' || c == '\u2014') {
// Primarily break on dashes or whitespace other than a no-break space.
prev_wrap_pos = wrap_pos;
if (c == '\t') {
@@ -738,15 +738,11 @@ namespace System.Windows.Forms
if (Char.IsWhiteSpace (c)) {
if (wrap_pos > pos) {
while (wrap_pos < text.Length && Char.IsWhiteSpace (text [wrap_pos]) && text [wrap_pos] != '\t') {
// Leave whitespace other than tabs on the end of this line.
wrap_pos++;
}
pos++;
wrapped = true;
// don't try pulling more into this line, but keep looping to deal with the rest of the widths and tags that will be left on the line
} else {
// At the wrap position, so split the line. c is a tab.
split_tag = tag;
// don't try pulling more into this line, but keep looping to deal with the rest of the widths and tags
}
} else {
if (wrap_pos > pos && pos > 0) {
@@ -957,7 +953,7 @@ namespace System.Windows.Forms
this.textHeight = (int)tag.Font.Height;
tag.Height = this.textHeight;
this.height = (int)(this.LineSpacing + this.TotalParagraphSpacing);
this.height = (int)(this.textHeight + this.LineSpacing + this.TotalParagraphSpacing);
this.ascent = tag.Ascent;
@@ -668,9 +668,73 @@ namespace System.Windows.Forms
PaddingClientRectangle,
string_format);
// Get offset for different text alignments
float align_offset_x = 0F;
float align_offset_y = 0F;
if (TextAlign != ContentAlignment.TopLeft) {
Region all_regions = new Region (new Rectangle ());
foreach (Region region in regions) {
all_regions.Union (region);
}
Graphics graphics = CreateGraphics ();
if (TextAlign == ContentAlignment.TopCenter) {
float text_width = all_regions.GetBounds(graphics).Width;
align_offset_x = (ClientRectangle.Width / 2 - text_width / 2);
}
if (TextAlign == ContentAlignment.TopRight) {
float text_width = all_regions.GetBounds(graphics).Width;
align_offset_x = (ClientRectangle.Width - text_width);
}
if (TextAlign == ContentAlignment.MiddleLeft) {
float text_height = all_regions.GetBounds(graphics).Height;
align_offset_y = (ClientRectangle.Height / 2 - text_height / 2);
}
if (TextAlign == ContentAlignment.MiddleCenter) {
float text_width = all_regions.GetBounds(graphics).Width;
float text_height = all_regions.GetBounds(graphics).Height;
align_offset_x = (ClientRectangle.Width / 2 - text_width / 2);
align_offset_y = (ClientRectangle.Height / 2 - text_height / 2);
}
if (TextAlign == ContentAlignment.MiddleRight) {
float text_width = all_regions.GetBounds(graphics).Width;
float text_height = all_regions.GetBounds(graphics).Height;
align_offset_x = (ClientRectangle.Width - text_width);
align_offset_y = (ClientRectangle.Height / 2 - text_height / 2);
}
if (TextAlign == ContentAlignment.BottomLeft) {
float text_height = all_regions.GetBounds(graphics).Height;
align_offset_y = (ClientRectangle.Height - text_height);
}
if (TextAlign == ContentAlignment.BottomCenter) {
float text_width = all_regions.GetBounds(graphics).Width;
float text_height = all_regions.GetBounds(graphics).Height;
align_offset_x = (ClientRectangle.Width / 2 - text_width / 2);
align_offset_y = (ClientRectangle.Height - text_height);
}
if (TextAlign == ContentAlignment.BottomRight) {
float text_width = all_regions.GetBounds(graphics).Width;
float text_height = all_regions.GetBounds(graphics).Height;
align_offset_x = (ClientRectangle.Width - text_width);
align_offset_y = (ClientRectangle.Height - text_height);
}
}
for (int i = 0; i < pieces.Length; i ++) {
pieces[i].region = regions[i];
pieces[i].region.Translate (Padding.Left, Padding.Top);
pieces[i].region.Translate (Padding.Left + align_offset_x, Padding.Top + align_offset_y);
}
Invalidate ();
@@ -3852,7 +3852,7 @@ namespace System.Windows.Forms
{
Size item_size = ItemSize;
for (int i = 0; i < items.Count; i++) {
Rectangle item_rect = new Rectangle(GetItemLocation(i), item_size);
Rectangle item_rect = items [i].Bounds;
if (item_rect.Contains (x, y))
return items [i];
}
@@ -1576,7 +1576,7 @@ namespace System.Windows.Forms
if (categoryName == null)
categoryName = UNCATEGORIZED_CATEGORY_LABEL;
GridItem category_item = rootItem.GridItems [categoryName];
if (category_item == null || !(category_item is CategoryGridEntry))
if (category_item == null)
category_item = categories [categoryName];
if (category_item == null) {
@@ -2006,22 +2006,22 @@ namespace System.Windows.Forms {
}
case RTF.Minor.LQuote: {
rtf_line.Append ("\u2018");
Console.Write("\u2018");
break;
}
case RTF.Minor.RQuote: {
rtf_line.Append ("\u2019");
Console.Write("\u2019");
break;
}
case RTF.Minor.LDblQuote: {
rtf_line.Append ("\u201C");
Console.Write("\u201C");
break;
}
case RTF.Minor.RDblQuote: {
rtf_line.Append ("\u201D");
Console.Write("\u201D");
break;
}
@@ -1732,8 +1732,8 @@ namespace System.Windows.Forms {
lines, document_x, document_y, owner.Width, owner.Height);
for (int i = 1; i <= lines ; i++) {
Line line = GetLine (i);
Console.WriteLine ("<line no='{0}' ending='{1}' x='{2}' y='{3}' width='{4}' height='{5}' indent='{6}' hanging-indent='{7}' right-indent='{8}' spacing-before='{9}' spacing-after='{10}'>",
line.line_no, line.ending, line.X, line.Y, line.Width, line.Height, line.Indent, line.HangingIndent, line.RightIndent, line.SpacingBefore, line.SpacingAfter);
Console.WriteLine ("<line no='{0}' ending='{1}' x='{2}' y='{3}' width='{4}' height='{5}' indent='{6}' hanging-indent='{7}' right-indent='{8}'>",
line.line_no, line.ending, line.X, line.Y, line.Width, line.Height, line.Indent, line.HangingIndent, line.RightIndent);
LineTag tag = line.tags;
while (tag != null) {
@@ -1794,7 +1794,7 @@ namespace System.Windows.Forms {
/// Make sure that we aren't drawing one more line then we need to
line = GetLine (end - 1);
if (line != null && clip.Bottom == offset_y + line.Y + line.height - viewport_y)
if (line != null && clip.Bottom == offset_y + line.Y + (int)line.SpacingBefore + line.height - viewport_y)
end--;
line_no = start;
@@ -311,7 +311,7 @@ namespace System.Windows.Forms
public override Size GetPreferredSize (Size constrainingSize)
{
return new Size(TextBox.Bounds.Width, TextBox.PreferredHeight);
return base.GetPreferredSize (constrainingSize);
}
public void Paste ()
@@ -270,11 +270,8 @@ namespace Mono.Btls
Flush = 1
}
[UnmanagedFunctionPointer (CallingConvention.Cdecl)]
delegate int BioReadFunc (IntPtr bio, IntPtr data, int dataLength, out int wantMore);
[UnmanagedFunctionPointer (CallingConvention.Cdecl)]
delegate int BioWriteFunc (IntPtr bio, IntPtr data, int dataLength);
[UnmanagedFunctionPointer (CallingConvention.Cdecl)]
delegate long BioControlFunc (IntPtr bio, ControlCommand command, long arg);
[DllImport (BTLS_DYLIB)]
@@ -32,11 +32,8 @@ using System.Runtime.CompilerServices;
namespace Mono.Btls
{
[UnmanagedFunctionPointer (CallingConvention.Cdecl)]
delegate int MonoBtlsVerifyCallback (MonoBtlsX509StoreCtx ctx);
[UnmanagedFunctionPointer (CallingConvention.Cdecl)]
delegate int MonoBtlsSelectCallback (string[] acceptableIssuers);
[UnmanagedFunctionPointer (CallingConvention.Cdecl)]
delegate int MonoBtlsServerNameCallback ();
class MonoBtlsSsl : MonoBtlsObject
@@ -262,7 +259,6 @@ namespace Mono.Btls
return error;
}
[UnmanagedFunctionPointer (CallingConvention.Cdecl)]
delegate int PrintErrorsCallbackFunc (IntPtr str, IntPtr len, IntPtr ctx);
[Mono.Util.MonoPInvokeCallback (typeof (PrintErrorsCallbackFunc))]
@@ -93,11 +93,8 @@ namespace Mono.Btls
[DllImport (BTLS_DYLIB)]
extern static void mono_btls_ssl_ctx_set_server_name_callback (IntPtr handle, IntPtr func);
[UnmanagedFunctionPointer (CallingConvention.Cdecl)]
delegate int NativeVerifyFunc (IntPtr instance, int preverify_ok, IntPtr ctx);
[UnmanagedFunctionPointer (CallingConvention.Cdecl)]
delegate int NativeSelectFunc (IntPtr instance, int count, IntPtr sizes, IntPtr data);
[UnmanagedFunctionPointer (CallingConvention.Cdecl)]
delegate int NativeServerNameFunc (IntPtr instance);
NativeVerifyFunc verifyFunc;
@@ -61,7 +61,6 @@ namespace Mono.Btls
[DllImport (BTLS_DYLIB)]
extern static int mono_btls_x509_lookup_mono_free (IntPtr handle);
[UnmanagedFunctionPointer (CallingConvention.Cdecl)]
delegate int BySubjectFunc (IntPtr instance, IntPtr name, out IntPtr x509_ptr);
GCHandle gch;
@@ -504,26 +504,6 @@ namespace System.Net.Security
return Impl.WriteAsync (buffer, offset, count, cancellationToken);
}
public override IAsyncResult BeginRead (byte[] buffer, int offset, int count, AsyncCallback callback, object state)
{
return TaskToApm.Begin (Impl.ReadAsync (buffer, offset, count), callback, state);
}
public override int EndRead (IAsyncResult asyncResult)
{
return TaskToApm.End<int> (asyncResult);
}
public override IAsyncResult BeginWrite (byte[] buffer, int offset, int count, AsyncCallback callback, object state)
{
return TaskToApm.Begin (Impl.WriteAsync (buffer, offset, count), callback, state);
}
public override void EndWrite (IAsyncResult asyncResult)
{
TaskToApm.End (asyncResult);
}
#else // !SECURITY_DEP
const string EXCEPTION_MESSAGE = "System.Net.Security.SslStream is not supported on the current platform.";
@@ -237,12 +237,8 @@ namespace System.Net {
}
if (ProcessInput (ms)) {
if (!context.HaveError) {
if (!context.Request.FinishInitialization()) {
Close (true);
return;
}
}
if (!context.HaveError)
context.Request.FinishInitialization ();
if (context.HaveError) {
SendError ();
@@ -192,12 +192,12 @@ namespace System.Net {
return false;
}
internal bool FinishInitialization ()
internal void FinishInitialization ()
{
string host = UserHostName;
if (version > HttpVersion.Version10 && (host == null || host.Length == 0)) {
context.ErrorMessage = "Invalid host name";
return true;
return;
}
string path;
@@ -223,7 +223,7 @@ namespace System.Net {
if (!Uri.TryCreate (base_uri + path, UriKind.Absolute, out url)){
context.ErrorMessage = WebUtility.HtmlEncode ("Invalid url: " + base_uri + path);
return true;
return;
}
CreateQueryString (url.Query);
@@ -239,7 +239,7 @@ namespace System.Net {
// 'identity' is not valid!
if (t_encoding != null && !is_chunked) {
context.Connection.SendError (null, 501);
return false;
return;
}
}
@@ -247,7 +247,7 @@ namespace System.Net {
if (String.Compare (method, "POST", StringComparison.OrdinalIgnoreCase) == 0 ||
String.Compare (method, "PUT", StringComparison.OrdinalIgnoreCase) == 0) {
context.Connection.SendError (null, 411);
return false;
return;
}
}
@@ -255,8 +255,6 @@ namespace System.Net {
ResponseStream output = context.Connection.GetResponseStream ();
output.InternalWrite (_100continue, 0, _100continue.Length);
}
return true;
}
internal static string Unquote (String str) {
@@ -302,11 +302,6 @@
<method signature="System.Void .ctor(System.String)" />
</type>
<type fullname="System.PlatformNotSupportedException">
<!-- mono_error_set_platform_not_supported -->
<method signature="System.Void .ctor(System.String)" />
</type>
<!-- mono-error.c (mono_error_set_ambiguous_implementation) -->
<type fullname="System.Runtime.AmbiguousImplementationException">
<!-- mono_error_set_ambiguous_implementation -->
+2 -2
View File
@@ -6,7 +6,7 @@ export __SECURITY_BOOTSTRAP_DB=$(topdir)/class/corlib
LIBRARY = corlib.dll
LIBRARY_NAME = mscorlib.dll
LIB_MCS_FLAGS = $(REFERENCE_SOURCES_FLAGS) $(RESOURCE_FILES:%=-resource:%) $(UNICODECHARINFO:%=-resource:%)
LIB_MCS_FLAGS = $(REFERENCE_SOURCES_FLAGS) $(RESOURCE_FILES:%=-resource:%)
USE_XTEST_REMOTE_EXECUTOR = YES
LIBRARY_WARN_AS_ERROR = yes
@@ -90,6 +90,7 @@ else
endif
RESOURCE_FILES = \
$(UNICODECHARINFO) \
$(MANAGED_COLLATOR_RESOURCES_FILES) \
LinkerDescriptor/mscorlib.xml
@@ -201,7 +202,6 @@ EXTRA_DISTFILES = \
$(RESOURCE_FILES) \
$(TEST_RESOURCE_FILES) \
$(TEST_RESOURCES:.resources=.resx) \
resources/charinfo.nlp \
LinkerDescriptor/mscorlib_test.xml
TEST_RESOURCE_FILES = \
+5 -54
View File
@@ -27,7 +27,6 @@
//
using System;
using System.IO;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -82,7 +81,7 @@ namespace Mono {
return true;
}
static object dump = new object ();
static object exception_capture = new object ();
[MethodImplAttribute (MethodImplOptions.InternalCall)]
static extern string ExceptionToState_internal (Exception exc, out ulong portable_hash, out ulong unportable_hash);
@@ -146,7 +145,7 @@ namespace Mono {
{
ulong portable_hash;
ulong unportable_hash;
lock (dump)
lock (exception_capture)
{
string payload_str = ExceptionToState_internal (exc, out portable_hash, out unportable_hash);
SendMicrosoftTelemetry (payload_str, portable_hash, unportable_hash);
@@ -183,11 +182,7 @@ namespace Mono {
{
ulong portable_hash;
ulong unportable_hash;
string payload_str;
lock (dump)
{
payload_str = DumpStateSingle_internal (out portable_hash, out unportable_hash);
}
string payload_str = DumpStateSingle_internal (out portable_hash, out unportable_hash);
return new Tuple<String, ulong, ulong> (payload_str, portable_hash, unportable_hash);
}
@@ -197,11 +192,7 @@ namespace Mono {
{
ulong portable_hash;
ulong unportable_hash;
string payload_str;
lock (dump)
{
payload_str = DumpStateTotal_internal (out portable_hash, out unportable_hash);
}
string payload_str = DumpStateTotal_internal (out portable_hash, out unportable_hash);
return new Tuple<String, ulong, ulong> (payload_str, portable_hash, unportable_hash);
}
@@ -264,43 +255,6 @@ namespace Mono {
}
}
static string get_breadcrumb_value (string file_prefix, string directory_str, bool clear)
{
var allfiles = Directory.GetFiles (directory_str, $"{file_prefix}_*" );
if (allfiles.Length == 0)
return string.Empty;
if (allfiles.Length > 1) {
// it's impossible to tell which breadcrumb is the last one (let's not trust filesystem timestamps)
// delete the multiple files so at least next crash can make sense
try {
Array.ForEach (allfiles, f => File.Delete (f) );
} catch (Exception) { }
return string.Empty;
}
if (clear)
File.Delete (allfiles [0]);
var filename = Path.GetFileName (allfiles [0]);
return filename.Substring (file_prefix.Length + 1);
}
static long CheckCrashReportHash (string directory_str, bool clear)
{
var value = get_breadcrumb_value ("crash_hash", directory_str, clear);
if (value == string.Empty)
return 0;
else
return Convert.ToInt64 (value, 16);
}
static string CheckCrashReportReason (string directory_str, bool clear)
{
return get_breadcrumb_value ("crash_reason", directory_str, clear);
}
[MethodImplAttribute (MethodImplOptions.InternalCall)]
static extern void AnnotateMicrosoftTelemetry_internal (IntPtr key, IntPtr val);
@@ -309,10 +263,7 @@ namespace Mono {
using (var key_chars = RuntimeMarshal.MarshalString (key))
using (var val_chars = RuntimeMarshal.MarshalString (val))
{
lock (dump)
{
AnnotateMicrosoftTelemetry_internal (key_chars.Value, val_chars.Value);
}
AnnotateMicrosoftTelemetry_internal (key_chars.Value, val_chars.Value);
}
}
}
@@ -1499,7 +1499,7 @@ public class DirectoryTest
}
[Test] // bug #346123
[Category ("NotWasm")]
[Category ("NotWasm")]
public void GetDirectories_Backslash ()
{
if (!RunningOnUnix)
@@ -1568,7 +1568,7 @@ public class DirectoryTest
}
[Test] // bug #346123
[Category ("NotWasm")]
[Category ("NotWasm")]
public void GetFiles_Backslash ()
{
if (!RunningOnUnix)
@@ -316,28 +316,6 @@ namespace MonoTests.System.Reflection.Emit
Assert.Fail ("Expected CreateInstance of a broken type to throw TLE");
}
[Test]
public void TestCreateInvalidEnumWithAnIncompleteUnderlyingEnumType ()
{
var mb = GenerateModule ();
var incomplete = GenerateEnum (mb);
GenerateField (incomplete);
var eb = mb.DefineEnum (
_enumNamespace + ".IncompleteUnderlying",
TypeAttributes.Public,
incomplete);
bool caught = false;
try {
var t = eb.CreateType ();
} catch (TypeLoadException exn) {
caught = true;
}
if (!caught)
Assert.Fail ("Expected CreateType of a broken type to throw TLE");
}
[Test]
public void TestEnumBuilderTokenUsable () {
// Regression test for https://bugzilla.xamarin.com/show_bug.cgi?id=58361
@@ -3221,6 +3221,9 @@ public class StringTest
// Test replacing null characters (bug #67395)
Assert.AreEqual ("is this ok ?", "is \0 ok ?".Replace ("\0", "this"), "should not strip content after nullchar");
// Disabling in 3.2-wasm for now
//Assert.AreEqual ("CBC", "ABC".Replace ("a", "C", StringComparison.InvariantCultureIgnoreCase));
}
[Test]
+5 -3
View File
@@ -86,9 +86,11 @@ namespace System.Globalization
unsafe int IndexOfCore (string source, string target, int startIndex, int count, CompareOptions options, int* matchLengthPtr)
{
if (matchLengthPtr != null)
throw new NotImplementedException ();
return internal_index_switch (source, startIndex, count, target, options, true);
*matchLengthPtr = 0;
int res = internal_index_switch (source, startIndex, count, target, options, true);
if (res >= 0 && matchLengthPtr != null)
*matchLengthPtr = target.Length;
return res;
}
unsafe int IndexOfCore (ReadOnlySpan<char> source, ReadOnlySpan<char> target, CompareOptions options, int* matchLengthPtr)
+1 -1
View File
@@ -14,7 +14,7 @@ namespace Internal.Runtime.Augments
public void ResetThreadPoolThread () {}
public static RuntimeThread InitializeThreadPoolThread () => new RuntimeThread (null);
public static RuntimeThread InitializeThreadPoolThread () => default;
public static RuntimeThread Create (ParameterizedThreadStart start, int maxStackSize)
=> new RuntimeThread (new Thread (start, maxStackSize));
+1 -1
View File
@@ -92,7 +92,7 @@ t }
. int [] tokens = yyExpectingTokens (state);
. string [] result = new string[tokens.Length];
. for (int n = 0; n < tokens.Length; n++)
. result[n] = yyNames[tokens [n]];
. result[n++] = yyNames[tokens [n]];
. return result;
. }
.
+1 -1
View File
@@ -1661,7 +1661,7 @@ namespace Mono.CSharp {
" -reference:A1[,An] Imports metadata from the specified assembly (short: -r)\n" +
" -reference:ALIAS=A Imports metadata using specified extern alias (short: -r)\n" +
" -sdk:VERSION Specifies SDK version of referenced assemblies\n" +
" VERSION can be one of: 2, 4, 4.5, 4.x (default) or a custom value\n" +
" VERSION can be one of: 2, 4, 4.5 (default) or a custom value\n" +
" -target:KIND Specifies the format of the output assembly (short: -t)\n" +
" KIND can be one of: exe, winexe, library, module\n" +
" -unsafe[+|-] Allows to compile code which uses unsafe keyword\n" +
+16 -16
View File
@@ -1,24 +1,24 @@
App,mscorlib.dll,System.dll,System.Core.dll,System.Xml.dll,I18N.CJK.dll,I18N.MidEast.dll,I18N.Other.dll,I18N.Rare.dll,I18N.West.dll,I18N.dll,Microsoft.CSharp.dll,System.ComponentModel.Composition.dll,System.ComponentModel.DataAnnotations.dll,System.Data.DataSetExtensions.dll,System.Data.Services.Client.dll,System.Data.dll,System.IO.Compression.FileSystem.dll,System.IO.Compression.dll,System.IdentityModel.dll,System.Json.dll,System.Net.Http.WinHttpHandler.dll,System.Net.Http.dll,System.Net.dll,System.Numerics.Vectors.dll,System.Numerics.dll,System.Reflection.Context.dll,System.Runtime.CompilerServices.Unsafe.dll,System.Runtime.Serialization.dll,System.Security.dll,System.ServiceModel.Internals.dll,System.ServiceModel.Web.dll,System.ServiceModel.dll,System.Transactions.dll,System.Web.Services.dll,System.Windows.dll,System.Xml.Linq.dll,System.Xml.Serialization.dll
System.Core/test-plinq-01.exe,1563648,12800,63488,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
System.Core/test-queryable-01.exe,1888768,14336,385536,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
System.Core/test-queryable-02.exe,1888768,14336,385536,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
System.Net.Http/test-handler-01.exe,1890816,101376,27136,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10752,0,0,25600,0,0,0,0,0,0,0,0,0,0,0,0
System/test-security.exe,1884672,71168,27136,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,25600,0,0,0,0,0,0,0,0,0,0,0,0
System.Core/test-plinq-01.exe,1564160,12800,63488,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
System.Core/test-queryable-01.exe,1889280,14336,385536,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
System.Core/test-queryable-02.exe,1889280,14336,385536,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
System.Net.Http/test-handler-01.exe,1891328,101376,27136,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10752,0,0,25600,0,0,0,0,0,0,0,0,0,0,0,0
System/test-security.exe,1885184,71168,27136,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,25600,0,0,0,0,0,0,0,0,0,0,0,0
System/test-typeconverter.exe,1589760,81408,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-array.exe,1556992,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-calendar-01.exe,1556992,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-calendar-02.exe,1556992,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-array.exe,1557504,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-calendar-01.exe,1557504,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-calendar-02.exe,1557504,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-crypto-01.exe,1747968,13824,24576,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-exception-01.exe,1556992,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-exception-01.exe,1557504,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-locale-01.exe,1559040,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-methodimpl-01.exe,1556992,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-reflection-01.exe,1556992,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-reflection-02.exe,1566720,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-methodimpl-01.exe,1557504,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-reflection-01.exe,1557504,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-reflection-02.exe,1567232,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-reflection-03.exe,1558016,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-reflection-04.exe,1566720,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-reflection.exe,1852416,13824,24576,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-remoting.exe,1556992,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-string-01.exe,1556992,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-string-02.exe,1556992,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-reflection.exe,1852928,13824,24576,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-remoting.exe,1557504,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-string-01.exe,1557504,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-string-02.exe,1557504,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-string-03.exe,1557504,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-task-01.exe,1561088,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
1 App mscorlib.dll System.dll System.Core.dll System.Xml.dll I18N.CJK.dll I18N.MidEast.dll I18N.Other.dll I18N.Rare.dll I18N.West.dll I18N.dll Microsoft.CSharp.dll System.ComponentModel.Composition.dll System.ComponentModel.DataAnnotations.dll System.Data.DataSetExtensions.dll System.Data.Services.Client.dll System.Data.dll System.IO.Compression.FileSystem.dll System.IO.Compression.dll System.IdentityModel.dll System.Json.dll System.Net.Http.WinHttpHandler.dll System.Net.Http.dll System.Net.dll System.Numerics.Vectors.dll System.Numerics.dll System.Reflection.Context.dll System.Runtime.CompilerServices.Unsafe.dll System.Runtime.Serialization.dll System.Security.dll System.ServiceModel.Internals.dll System.ServiceModel.Web.dll System.ServiceModel.dll System.Transactions.dll System.Web.Services.dll System.Windows.dll System.Xml.Linq.dll System.Xml.Serialization.dll
2 System.Core/test-plinq-01.exe 1563648 1564160 12800 63488 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
3 System.Core/test-queryable-01.exe 1888768 1889280 14336 385536 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
4 System.Core/test-queryable-02.exe 1888768 1889280 14336 385536 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
5 System.Net.Http/test-handler-01.exe 1890816 1891328 101376 27136 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 10752 0 0 25600 0 0 0 0 0 0 0 0 0 0 0 0
6 System/test-security.exe 1884672 1885184 71168 27136 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 25600 0 0 0 0 0 0 0 0 0 0 0 0
7 System/test-typeconverter.exe 1589760 81408 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
8 mscorlib/test-array.exe 1556992 1557504 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
9 mscorlib/test-calendar-01.exe 1556992 1557504 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
10 mscorlib/test-calendar-02.exe 1556992 1557504 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
11 mscorlib/test-crypto-01.exe 1747968 13824 24576 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
12 mscorlib/test-exception-01.exe 1556992 1557504 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
13 mscorlib/test-locale-01.exe 1559040 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
14 mscorlib/test-methodimpl-01.exe 1556992 1557504 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
15 mscorlib/test-reflection-01.exe 1556992 1557504 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
16 mscorlib/test-reflection-02.exe 1566720 1567232 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
17 mscorlib/test-reflection-03.exe 1558016 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
18 mscorlib/test-reflection-04.exe 1566720 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
19 mscorlib/test-reflection.exe 1852416 1852928 13824 24576 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
20 mscorlib/test-remoting.exe 1556992 1557504 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
21 mscorlib/test-string-01.exe 1556992 1557504 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
22 mscorlib/test-string-02.exe 1556992 1557504 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
23 mscorlib/test-string-03.exe 1557504 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
24 mscorlib/test-task-01.exe 1561088 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+6 -6
View File
@@ -1,19 +1,19 @@
App,mscorlib.dll,System.dll,System.Core.dll,System.Xml.dll,I18N.CJK.dll,I18N.MidEast.dll,I18N.Other.dll,I18N.Rare.dll,I18N.West.dll,I18N.dll,Microsoft.CSharp.dll,System.ComponentModel.Composition.dll,System.ComponentModel.DataAnnotations.dll,System.Data.DataSetExtensions.dll,System.Data.Services.Client.dll,System.Data.dll,System.IO.Compression.FileSystem.dll,System.IO.Compression.dll,System.IdentityModel.dll,System.Json.dll,System.Net.Http.WinHttpHandler.dll,System.Net.Http.dll,System.Net.dll,System.Numerics.Vectors.dll,System.Numerics.dll,System.Reflection.Context.dll,System.Runtime.CompilerServices.Unsafe.dll,System.Runtime.Serialization.dll,System.Security.dll,System.ServiceModel.Internals.dll,System.ServiceModel.Web.dll,System.ServiceModel.dll,System.Transactions.dll,System.Web.Services.dll,System.Windows.dll,System.Xml.Linq.dll,System.Xml.Serialization.dll
Newtonsoft.Json.Test/bin/iPhoneSimulator/Release/Newtonsoft.Json.Test.exe,1824256,720384,369152,420864,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,35840,0,0,0,0,0,0,0,0,0,0,30720,0
Newtonsoft.Json.Test/bin/iPhoneSimulator/Release/Newtonsoft.Json.Test.exe,1824768,720384,369152,421376,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,35840,0,0,0,0,0,0,0,0,0,0,30720,0
System.Core/test-plinq-01.exe,942080,13824,60928,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
System.Net.Http/test-handler-01.exe,1391616,86016,8192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10240,0,0,25600,0,0,0,0,0,0,0,0,0,0,0,0
System/test-security.exe,1384448,64000,8192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,25600,0,0,0,0,0,0,0,0,0,0,0,0
System.Net.Http/test-handler-01.exe,1392128,86016,8192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10240,0,0,25600,0,0,0,0,0,0,0,0,0,0,0,0
System/test-security.exe,1384960,64000,8192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,25600,0,0,0,0,0,0,0,0,0,0,0,0
System/test-typeconverter.exe,1033728,80384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-array.exe,874496,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-calendar-01.exe,874496,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-calendar-02.exe,874496,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-crypto-01.exe,875008,0,4608,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-exception-01.exe,874496,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-locale-01.exe,878080,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-locale-01.exe,878592,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-methodimpl-01.exe,874496,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-reflection-01.exe,874496,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-reflection-02.exe,886272,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-reflection-03.exe,996864,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-reflection-02.exe,886784,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-reflection-03.exe,997376,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-reflection-04.exe,886272,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-string-01.exe,874496,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-string-02.exe,875008,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
1 App mscorlib.dll System.dll System.Core.dll System.Xml.dll I18N.CJK.dll I18N.MidEast.dll I18N.Other.dll I18N.Rare.dll I18N.West.dll I18N.dll Microsoft.CSharp.dll System.ComponentModel.Composition.dll System.ComponentModel.DataAnnotations.dll System.Data.DataSetExtensions.dll System.Data.Services.Client.dll System.Data.dll System.IO.Compression.FileSystem.dll System.IO.Compression.dll System.IdentityModel.dll System.Json.dll System.Net.Http.WinHttpHandler.dll System.Net.Http.dll System.Net.dll System.Numerics.Vectors.dll System.Numerics.dll System.Reflection.Context.dll System.Runtime.CompilerServices.Unsafe.dll System.Runtime.Serialization.dll System.Security.dll System.ServiceModel.Internals.dll System.ServiceModel.Web.dll System.ServiceModel.dll System.Transactions.dll System.Web.Services.dll System.Windows.dll System.Xml.Linq.dll System.Xml.Serialization.dll
2 Newtonsoft.Json.Test/bin/iPhoneSimulator/Release/Newtonsoft.Json.Test.exe 1824256 1824768 720384 369152 420864 421376 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 35840 0 0 0 0 0 0 0 0 0 0 30720 0
3 System.Core/test-plinq-01.exe 942080 13824 60928 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
4 System.Net.Http/test-handler-01.exe 1391616 1392128 86016 8192 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 10240 0 0 25600 0 0 0 0 0 0 0 0 0 0 0 0
5 System/test-security.exe 1384448 1384960 64000 8192 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 25600 0 0 0 0 0 0 0 0 0 0 0 0
6 System/test-typeconverter.exe 1033728 80384 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
7 mscorlib/test-array.exe 874496 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
8 mscorlib/test-calendar-01.exe 874496 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
9 mscorlib/test-calendar-02.exe 874496 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
10 mscorlib/test-crypto-01.exe 875008 0 4608 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
11 mscorlib/test-exception-01.exe 874496 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
12 mscorlib/test-locale-01.exe 878080 878592 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
13 mscorlib/test-methodimpl-01.exe 874496 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
14 mscorlib/test-reflection-01.exe 874496 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
15 mscorlib/test-reflection-02.exe 886272 886784 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
16 mscorlib/test-reflection-03.exe 996864 997376 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
17 mscorlib/test-reflection-04.exe 886272 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
18 mscorlib/test-string-01.exe 874496 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
19 mscorlib/test-string-02.exe 875008 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+20 -20
View File
@@ -1,23 +1,23 @@
App,mscorlib.dll,System.dll,System.Core.dll,System.Xml.dll,I18N.CJK.dll,I18N.MidEast.dll,I18N.Other.dll,I18N.Rare.dll,I18N.West.dll,I18N.dll,Microsoft.Build.Engine.dll,Microsoft.Build.Framework.dll,Microsoft.Build.Tasks.v4.0.dll,Microsoft.Build.Utilities.v4.0.dll,Microsoft.Build.dll,Microsoft.CSharp.dll,Microsoft.VisualC.dll,Microsoft.Web.Infrastructure.dll,System.ComponentModel.Composition.dll,System.ComponentModel.DataAnnotations.dll,System.Configuration.Install.dll,System.Configuration.dll,System.Data.DataSetExtensions.dll,System.Data.Entity.dll,System.Data.Linq.dll,System.Data.OracleClient.dll,System.Data.Services.Client.dll,System.Data.Services.dll,System.Data.dll,System.Deployment.dll,System.Design.dll,System.DirectoryServices.Protocols.dll,System.DirectoryServices.dll,System.Drawing.Design.dll,System.Drawing.dll,System.Dynamic.dll,System.EnterpriseServices.dll,System.IO.Compression.FileSystem.dll,System.IO.Compression.dll,System.IdentityModel.Selectors.dll,System.IdentityModel.dll,System.Json.Microsoft.dll,System.Json.dll,System.Management.dll,System.Messaging.dll,System.Net.Http.Formatting.dll,System.Net.Http.WebRequest.dll,System.Net.Http.dll,System.Net.dll,System.Numerics.Vectors.dll,System.Numerics.dll,System.Reactive.Core.dll,System.Reactive.Debugger.dll,System.Reactive.Experimental.dll,System.Reactive.Interfaces.dll,System.Reactive.Linq.dll,System.Reactive.Observable.Aliases.dll,System.Reactive.PlatformServices.dll,System.Reactive.Providers.dll,System.Reactive.Runtime.Remoting.dll,System.Reactive.Windows.Forms.dll,System.Reactive.Windows.Threading.dll,System.Reflection.Context.dll,System.Runtime.Caching.dll,System.Runtime.CompilerServices.Unsafe.dll,System.Runtime.DurableInstancing.dll,System.Runtime.Remoting.dll,System.Runtime.Serialization.Formatters.Soap.dll,System.Runtime.Serialization.dll,System.Security.dll,System.ServiceModel.Activation.dll,System.ServiceModel.Discovery.dll,System.ServiceModel.Internals.dll,System.ServiceModel.Routing.dll,System.ServiceModel.Web.dll,System.ServiceModel.dll,System.ServiceProcess.dll,System.Threading.Tasks.Dataflow.dll,System.Transactions.dll,System.Web.Abstractions.dll,System.Web.ApplicationServices.dll,System.Web.DynamicData.dll,System.Web.Extensions.Design.dll,System.Web.Extensions.dll,System.Web.Http.SelfHost.dll,System.Web.Http.WebHost.dll,System.Web.Http.dll,System.Web.Mobile.dll,System.Web.Mvc.dll,System.Web.Razor.dll,System.Web.RegularExpressions.dll,System.Web.Routing.dll,System.Web.Services.dll,System.Web.WebPages.Deployment.dll,System.Web.WebPages.Razor.dll,System.Web.WebPages.dll,System.Web.dll,System.Windows.Forms.DataVisualization.dll,System.Windows.Forms.dll,System.Windows.dll,System.Workflow.Activities.dll,System.Workflow.ComponentModel.dll,System.Workflow.Runtime.dll,System.Xaml.dll,System.Xml.Linq.dll,System.Xml.Serialization.dll
Newtonsoft.Json.Test/bin/Release/Newtonsoft.Json.Test.exe,2366464,1024512,346112,1319424,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,56832,0,0,0,0,0,0,622080,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,36864,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6144,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,35840,0
System.Core/test-plinq-01.exe,1562624,67072,63488,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
System.Core/test-queryable-01.exe,1979904,62464,365056,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
System.Core/test-queryable-02.exe,1979904,62464,365568,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
System/test-security.exe,2152448,841728,7168,694272,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,51712,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,25600,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
System/test-typeconverter.exe,1578496,136704,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-array.exe,1555968,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-calendar-01.exe,1555968,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-calendar-02.exe,1555968,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-exception-01.exe,1555968,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
Newtonsoft.Json.Test/bin/Release/Newtonsoft.Json.Test.exe,2366976,1025024,346112,1319424,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,56832,0,0,0,0,0,0,622080,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,36864,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6144,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,35840,0
System.Core/test-plinq-01.exe,1563136,67072,63488,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
System.Core/test-queryable-01.exe,1980416,62464,365056,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
System.Core/test-queryable-02.exe,1980416,62464,365568,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
System/test-security.exe,2152960,842240,7168,694272,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,51712,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,25600,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
System/test-typeconverter.exe,1579008,136704,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-array.exe,1556480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-calendar-01.exe,1556480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-calendar-02.exe,1556480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-exception-01.exe,1556480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-locale-01.exe,1558528,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-methodimpl-01.exe,1555968,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-reflection-01.exe,1555968,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-reflection-02.exe,1565696,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-reflection-03.exe,1657856,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-methodimpl-01.exe,1556480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-reflection-01.exe,1556480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-reflection-02.exe,1566208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-reflection-03.exe,1658368,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-reflection-04.exe,1565696,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-reflection.exe,1943040,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-remoting.exe,1555968,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-string-01.exe,1555968,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-string-02.exe,1555968,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-string-03.exe,1560576,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-task-01.exe,1560064,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-reflection.exe,1943552,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-remoting.exe,1556480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-string-01.exe,1556480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-string-02.exe,1556480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-string-03.exe,1561088,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-task-01.exe,1560576,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
1 App mscorlib.dll System.dll System.Core.dll System.Xml.dll I18N.CJK.dll I18N.MidEast.dll I18N.Other.dll I18N.Rare.dll I18N.West.dll I18N.dll Microsoft.Build.Engine.dll Microsoft.Build.Framework.dll Microsoft.Build.Tasks.v4.0.dll Microsoft.Build.Utilities.v4.0.dll Microsoft.Build.dll Microsoft.CSharp.dll Microsoft.VisualC.dll Microsoft.Web.Infrastructure.dll System.ComponentModel.Composition.dll System.ComponentModel.DataAnnotations.dll System.Configuration.Install.dll System.Configuration.dll System.Data.DataSetExtensions.dll System.Data.Entity.dll System.Data.Linq.dll System.Data.OracleClient.dll System.Data.Services.Client.dll System.Data.Services.dll System.Data.dll System.Deployment.dll System.Design.dll System.DirectoryServices.Protocols.dll System.DirectoryServices.dll System.Drawing.Design.dll System.Drawing.dll System.Dynamic.dll System.EnterpriseServices.dll System.IO.Compression.FileSystem.dll System.IO.Compression.dll System.IdentityModel.Selectors.dll System.IdentityModel.dll System.Json.Microsoft.dll System.Json.dll System.Management.dll System.Messaging.dll System.Net.Http.Formatting.dll System.Net.Http.WebRequest.dll System.Net.Http.dll System.Net.dll System.Numerics.Vectors.dll System.Numerics.dll System.Reactive.Core.dll System.Reactive.Debugger.dll System.Reactive.Experimental.dll System.Reactive.Interfaces.dll System.Reactive.Linq.dll System.Reactive.Observable.Aliases.dll System.Reactive.PlatformServices.dll System.Reactive.Providers.dll System.Reactive.Runtime.Remoting.dll System.Reactive.Windows.Forms.dll System.Reactive.Windows.Threading.dll System.Reflection.Context.dll System.Runtime.Caching.dll System.Runtime.CompilerServices.Unsafe.dll System.Runtime.DurableInstancing.dll System.Runtime.Remoting.dll System.Runtime.Serialization.Formatters.Soap.dll System.Runtime.Serialization.dll System.Security.dll System.ServiceModel.Activation.dll System.ServiceModel.Discovery.dll System.ServiceModel.Internals.dll System.ServiceModel.Routing.dll System.ServiceModel.Web.dll System.ServiceModel.dll System.ServiceProcess.dll System.Threading.Tasks.Dataflow.dll System.Transactions.dll System.Web.Abstractions.dll System.Web.ApplicationServices.dll System.Web.DynamicData.dll System.Web.Extensions.Design.dll System.Web.Extensions.dll System.Web.Http.SelfHost.dll System.Web.Http.WebHost.dll System.Web.Http.dll System.Web.Mobile.dll System.Web.Mvc.dll System.Web.Razor.dll System.Web.RegularExpressions.dll System.Web.Routing.dll System.Web.Services.dll System.Web.WebPages.Deployment.dll System.Web.WebPages.Razor.dll System.Web.WebPages.dll System.Web.dll System.Windows.Forms.DataVisualization.dll System.Windows.Forms.dll System.Windows.dll System.Workflow.Activities.dll System.Workflow.ComponentModel.dll System.Workflow.Runtime.dll System.Xaml.dll System.Xml.Linq.dll System.Xml.Serialization.dll
2 Newtonsoft.Json.Test/bin/Release/Newtonsoft.Json.Test.exe 2366464 2366976 1024512 1025024 346112 1319424 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 56832 0 0 0 0 0 0 622080 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 36864 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 6144 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 35840 0
3 System.Core/test-plinq-01.exe 1562624 1563136 67072 63488 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
4 System.Core/test-queryable-01.exe 1979904 1980416 62464 365056 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
5 System.Core/test-queryable-02.exe 1979904 1980416 62464 365568 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
6 System/test-security.exe 2152448 2152960 841728 842240 7168 694272 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 51712 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 25600 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
7 System/test-typeconverter.exe 1578496 1579008 136704 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
8 mscorlib/test-array.exe 1555968 1556480 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
9 mscorlib/test-calendar-01.exe 1555968 1556480 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
10 mscorlib/test-calendar-02.exe 1555968 1556480 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
11 mscorlib/test-exception-01.exe 1555968 1556480 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
12 mscorlib/test-locale-01.exe 1558528 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
13 mscorlib/test-methodimpl-01.exe 1555968 1556480 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
14 mscorlib/test-reflection-01.exe 1555968 1556480 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
15 mscorlib/test-reflection-02.exe 1565696 1566208 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
16 mscorlib/test-reflection-03.exe 1657856 1658368 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
17 mscorlib/test-reflection-04.exe 1565696 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
18 mscorlib/test-reflection.exe 1943040 1943552 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
19 mscorlib/test-remoting.exe 1555968 1556480 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
20 mscorlib/test-string-01.exe 1555968 1556480 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
21 mscorlib/test-string-02.exe 1555968 1556480 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
22 mscorlib/test-string-03.exe 1560576 1561088 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
23 mscorlib/test-task-01.exe 1560064 1560576 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+23 -23
View File
@@ -1,24 +1,24 @@
App,mscorlib.dll,System.dll,System.Core.dll,System.Xml.dll,I18N.CJK.dll,I18N.MidEast.dll,I18N.Other.dll,I18N.Rare.dll,I18N.West.dll,I18N.dll,Microsoft.CSharp.dll,System.ComponentModel.Composition.dll,System.ComponentModel.DataAnnotations.dll,System.Data.DataSetExtensions.dll,System.Data.dll,System.IO.Compression.FileSystem.dll,System.IO.Compression.dll,System.Net.Http.dll,System.Numerics.Vectors.dll,System.Numerics.dll,System.Runtime.CompilerServices.Unsafe.dll,System.Runtime.Serialization.dll,System.Security.dll,System.ServiceModel.Internals.dll,System.Transactions.dll,System.Xml.Linq.dll
BlazingPizza.Client/bin/Release/netstandard2.0/BlazingPizza.Client.dll,1491968,67072,286208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8704,0,0,3072,0,0,0,0,0
HelloWorld/bin/Release/netstandard2.0/dist/_framework/_bin/HelloWorld.dll,1479680,67072,284672,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8704,0,0,0,0,0,0,0,0
Microsoft.AspNetCore.Blazor.E2EPerformance/bin/Release/netstandard2.0/Microsoft.AspNetCore.Blazor.E2EPerformance.dll,1529856,68608,286208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8704,0,0,0,0,0,0,0,0
Newtonsoft/bin/Release/netstandard2.0/dist/_framework/_bin/Newtonsoft.dll,1479680,67072,284672,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8704,0,0,0,0,0,0,0,0
System.Core/test-plinq-01.exe,975360,12288,60928,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
System.Net.Http/test-handler-01.exe,1085440,38400,7168,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6656,0,0,0,0,0,0,0,0
System/test-security.exe,1414144,60416,26624,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,25600,0,0,0,0,0,0
System/test-typeconverter.exe,1135104,78848,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-array.exe,969216,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-calendar-01.exe,969216,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-calendar-02.exe,969216,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-crypto-01.exe,1210880,11776,24576,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-exception-01.exe,969216,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-locale-01.exe,971264,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-methodimpl-01.exe,969216,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-reflection-01.exe,969216,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-reflection-02.exe,980480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-reflection-03.exe,990208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-reflection-04.exe,979968,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-string-01.exe,969216,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-string-02.exe,969216,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-string-03.exe,977920,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-task-01.exe,972800,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
BlazingPizza.Client/bin/Release/netstandard2.0/BlazingPizza.Client.dll,1122304,67072,286208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8704,0,0,3072,0,0,0,0,0
HelloWorld/bin/Release/netstandard2.0/dist/_framework/_bin/HelloWorld.dll,1110016,67072,284672,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8704,0,0,0,0,0,0,0,0
Microsoft.AspNetCore.Blazor.E2EPerformance/bin/Release/netstandard2.0/Microsoft.AspNetCore.Blazor.E2EPerformance.dll,1155584,68608,286208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8704,0,0,0,0,0,0,0,0
Newtonsoft/bin/Release/netstandard2.0/dist/_framework/_bin/Newtonsoft.dll,1110016,67072,284672,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8704,0,0,0,0,0,0,0,0
System.Core/test-plinq-01.exe,535040,12288,60928,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
System.Net.Http/test-handler-01.exe,713216,38400,7168,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6656,0,0,0,0,0,0,0,0
System/test-security.exe,1039360,60416,26624,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,25600,0,0,0,0,0,0
System/test-typeconverter.exe,648704,78848,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-array.exe,450560,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-calendar-01.exe,450560,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-calendar-02.exe,450560,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-crypto-01.exe,833024,11776,24576,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-exception-01.exe,450560,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-locale-01.exe,458752,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-methodimpl-01.exe,450560,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-reflection-01.exe,450560,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-reflection-02.exe,462336,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-reflection-03.exe,599040,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-reflection-04.exe,461824,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-string-01.exe,450560,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-string-02.exe,450560,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-string-03.exe,466944,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mscorlib/test-task-01.exe,532992,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
1 App mscorlib.dll System.dll System.Core.dll System.Xml.dll I18N.CJK.dll I18N.MidEast.dll I18N.Other.dll I18N.Rare.dll I18N.West.dll I18N.dll Microsoft.CSharp.dll System.ComponentModel.Composition.dll System.ComponentModel.DataAnnotations.dll System.Data.DataSetExtensions.dll System.Data.dll System.IO.Compression.FileSystem.dll System.IO.Compression.dll System.Net.Http.dll System.Numerics.Vectors.dll System.Numerics.dll System.Runtime.CompilerServices.Unsafe.dll System.Runtime.Serialization.dll System.Security.dll System.ServiceModel.Internals.dll System.Transactions.dll System.Xml.Linq.dll
2 BlazingPizza.Client/bin/Release/netstandard2.0/BlazingPizza.Client.dll 1491968 1122304 67072 286208 0 0 0 0 0 0 0 0 0 0 0 0 0 0 8704 0 0 3072 0 0 0 0 0
3 HelloWorld/bin/Release/netstandard2.0/dist/_framework/_bin/HelloWorld.dll 1479680 1110016 67072 284672 0 0 0 0 0 0 0 0 0 0 0 0 0 0 8704 0 0 0 0 0 0 0 0
4 Microsoft.AspNetCore.Blazor.E2EPerformance/bin/Release/netstandard2.0/Microsoft.AspNetCore.Blazor.E2EPerformance.dll 1529856 1155584 68608 286208 0 0 0 0 0 0 0 0 0 0 0 0 0 0 8704 0 0 0 0 0 0 0 0
5 Newtonsoft/bin/Release/netstandard2.0/dist/_framework/_bin/Newtonsoft.dll 1479680 1110016 67072 284672 0 0 0 0 0 0 0 0 0 0 0 0 0 0 8704 0 0 0 0 0 0 0 0
6 System.Core/test-plinq-01.exe 975360 535040 12288 60928 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
7 System.Net.Http/test-handler-01.exe 1085440 713216 38400 7168 0 0 0 0 0 0 0 0 0 0 0 0 0 0 6656 0 0 0 0 0 0 0 0
8 System/test-security.exe 1414144 1039360 60416 26624 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 25600 0 0 0 0 0 0
9 System/test-typeconverter.exe 1135104 648704 78848 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
10 mscorlib/test-array.exe 969216 450560 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
11 mscorlib/test-calendar-01.exe 969216 450560 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
12 mscorlib/test-calendar-02.exe 969216 450560 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
13 mscorlib/test-crypto-01.exe 1210880 833024 11776 24576 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
14 mscorlib/test-exception-01.exe 969216 450560 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
15 mscorlib/test-locale-01.exe 971264 458752 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
16 mscorlib/test-methodimpl-01.exe 969216 450560 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
17 mscorlib/test-reflection-01.exe 969216 450560 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
18 mscorlib/test-reflection-02.exe 980480 462336 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
19 mscorlib/test-reflection-03.exe 990208 599040 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
20 mscorlib/test-reflection-04.exe 979968 461824 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
21 mscorlib/test-string-01.exe 969216 450560 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
22 mscorlib/test-string-02.exe 969216 450560 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
23 mscorlib/test-string-03.exe 977920 466944 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
24 mscorlib/test-task-01.exe 972800 532992 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+1 -3
View File
@@ -72,9 +72,7 @@ Options:
return new ResourceReader (stream);
case ".resx":
var reader = new ResXResourceReader (stream);
if (useSourcePath) {
reader.BasePath = Path.GetDirectoryName (name);
}
reader.BasePath = Path.GetDirectoryName (name);
return reader;
default:
throw new Exception ("Unknown format in file " + name);
@@ -1,346 +0,0 @@
using System;
using System.IO;
using System.Linq;
using System.Text;
using System.Collections.Generic;
using Mono.Cecil;
//
// This class generates the icall_trampoline_dispatch () function used by the interpreter to call native code on WASM.
// It should be kept in sync with mono_wasm_interp_to_native_trampoline () in the runtime.
//
class InterpToNativeGenerator {
// Default set of signatures
static string[] cookies = new string[] {
"V",
"VI",
"VII",
"VIII",
"VIIII",
"VIIIII",
"VIIIIII",
"VIIIIIII",
"VIIIIIIII",
"VIIIIIIIII",
"VIIIIIIIIII",
"VIIIIIIIIIII",
"VIIIIIIIIIIII",
"VIIIIIIIIIIIII",
"VIIIIIIIIIIIIII",
"VIIIIIIIIIIIIIII",
"I",
"II",
"III",
"IIII",
"IIIII",
"IIIIII",
"IIIIIII",
"IIIIIIII",
"IIIIIIIII",
"IIIIIIIIII",
"IIIIIIIIIII",
"IIIIIIIIIIII",
"IIIIIIIIIIIII",
"IIIIIIIIIIIIII",
"IILIIII",
"IIIL",
"IF",
"ID",
"IIF",
"IIFI",
"IIFF",
"IFFII",
"IIFII",
"IIFFI",
"IIFFF",
"IIFFFI",
"IIFFII",
"IIFIII",
"IIFFFFI",
"IIFFFFII",
"IIIF",
"IIIFI",
"IIIFII",
"IIIFIII",
"IIIIF",
"IIIIFI",
"IIIIFII",
"IIIIFIII",
"IIIFFFF",
"IIIFFFFF",
"IIFFFFFF",
"IIIFFFFFF",
"IIIIIIIF",
"IIIIIIIFF",
"IIFFFFFFFF",
"IIIFFFFFFFF",
"IIIIIIFII",
"IIIFFFFFFFFIII",
"IIIIIFFFFIIII",
"IFFFFFFI",
"IIFFIII",
"ILI",
"IILLI",
"L",
"LL",
"LI",
"LIL",
"LILI",
"LILII",
"DD",
"DDI",
"DDD",
"DDDD",
"VF",
"VFF",
"VFFF",
"VFFFF",
"VFFFFF",
"VFFFFFF",
"VFFFFFFF",
"VFFFFFFFF",
"VFI",
"VIF",
"VIFF",
"VIFFFF",
"VIFFFFF",
"VIFFFFFF",
"VIFFFFFI",
"VIIFFI",
"VIIF",
"VIIFFF",
"VIIFI",
"FF",
"FFI",
"FFF",
"FFFF",
"DI",
"FI",
"IIL",
"IILI",
"IILIIIL",
"IILLLI",
"IDIII",
"LII",
"VID",
"VILLI",
"DID",
"DIDD",
"FIF",
"FIFF",
"LILL",
"VL",
"VIL",
"VIIL",
"FIFFF",
"FII",
"FIII",
"FIIIIII",
"IFFFFIIII",
"IFFI",
"IFFIF",
"IFFIFI",
"IFI",
"IFIII",
"IIFIFIIIII",
"IIFIFIIIIII",
"IIFIIIII",
"IIFIIIIII",
"IIIFFFII",
"IIIFFIFFFII",
"IIIFFIFFII",
"IIIFFII",
"IIIFFIIIII",
"IIIIIF",
"IIIIIFII",
"IIIIIIFFI",
"IIIIIIIFFI",
"VIFFF",
"VIFFFFI",
"VIFFFI",
"VIFFFIIFF",
"VIFFI",
"VIFI",
"VIIFF",
"VIIFFFF",
"VIIFFII",
"VIIIF",
"VIIIFFII",
"VIIIFFIII",
"VIIIFII",
"VIIIFIII",
"VIIIIF",
"IFFFFIII",
"IFFIII",
"VIIIIFFII",
"IIILIIII",
"IIILLI",
"IL",
"IFF",
"IFFF",
"IFFFF",
"VLII",
};
static string TypeToSigType (char c) {
switch (c) {
case 'V': return "void";
case 'I': return "int";
case 'L': return "gint64";
case 'F': return "float";
case 'D': return "double";
default:
throw new Exception ("Can't handle " + c);
}
}
List<string> extra_signatures;
public InterpToNativeGenerator () {
extra_signatures = new List<string> ();
}
static char typeToChar (TypeReference type) {
switch (type.MetadataType) {
case MetadataType.Void:
return 'V';
case MetadataType.Boolean:
case MetadataType.Char:
case MetadataType.SByte:
case MetadataType.Byte:
case MetadataType.Int16:
case MetadataType.UInt16:
case MetadataType.Int32:
case MetadataType.UInt32:
case MetadataType.IntPtr:
case MetadataType.UIntPtr:
return 'I';
case MetadataType.Int64:
case MetadataType.UInt64:
return 'L';
case MetadataType.Single:
return 'F';
case MetadataType.Double:
return 'D';
case MetadataType.String:
case MetadataType.Pointer:
case MetadataType.ByReference:
case MetadataType.Object:
case MetadataType.Class:
case MetadataType.Array:
return 'I';
case MetadataType.ValueType:
return 'I';
default:
throw new Exception ("Can't handle type '" + type.FullName + "' (" + type.MetadataType + ").");
}
}
// Add an extra signature for a pinvoke method
public void AddSignature (MethodReference Method) {
var sb = new StringBuilder ();
sb.Append (typeToChar (Method.ReturnType));
foreach (var par in Method.Parameters)
sb.Append (typeToChar (par.ParameterType));
extra_signatures.Add (sb.ToString ());
}
public void Emit (StreamWriter w) {
w.WriteLine ("/*");
w.WriteLine ("* GENERATED FILE, DON'T EDIT");
w.WriteLine ("* Generated by wasm-tuner.exe --gen-interp-to-native");
w.WriteLine ("*/");
var added = new HashSet<string> ();
var l = new List<string> ();
foreach (var c in cookies) {
l.Add (c);
added.Add (c);
}
foreach (var c in extra_signatures) {
if (!added.Contains (c)) {
l.Add (c);
added.Add (c);
}
}
var signatures = l.ToArray ();
foreach (var c in signatures) {
w.WriteLine ("static void");
w.WriteLine ($"wasm_invoke_{c.ToLower ()} (void *target_func, InterpMethodArguments *margs)");
w.WriteLine ("{");
w.Write ($"\ttypedef {TypeToSigType (c [0])} (*T)(");
for (int i = 1; i < c.Length; ++i) {
char p = c [i];
if (i > 1)
w.Write (", ");
w.Write ($"{TypeToSigType (p)} arg_{i - 1}");
}
if (c.Length == 1)
w.Write ("void");
w.WriteLine (");\n\tT func = (T)target_func;");
var ctx = new EmitCtx ();
w.Write ("\t");
if (c [0] != 'V')
w.Write ($"{TypeToSigType (c [0])} res = ");
w.Write ("func (");
for (int i = 1; i < c.Length; ++i) {
char p = c [i];
if (i > 1)
w.Write (", ");
w.Write (ctx.Emit (p));
}
w.WriteLine (");");
if (c [0] != 'V')
w.WriteLine ($"\t*({TypeToSigType (c [0])}*)margs->retval = res;");
w.WriteLine ("\n}\n");
}
Array.Sort (signatures);
w.WriteLine ("static const char* interp_to_native_signatures [] = {");
foreach (var sig in signatures)
w.WriteLine ($"\"{sig}\",");
w.WriteLine ("};");
w.WriteLine ("static void* interp_to_native_invokes [] = {");
foreach (var sig in signatures) {
var lsig = sig.ToLower ();
w.WriteLine ($"wasm_invoke_{lsig},");
}
w.WriteLine ("};");
}
class EmitCtx
{
int iarg, farg;
public string Emit (char c) {
switch (c) {
case 'I':
iarg += 1;
return $"(int)(gssize)margs->iargs [{iarg - 1}]";
case 'F':
farg += 1;
return $"*(float*)&margs->fargs [FIDX ({farg - 1})]";
case 'L':
iarg += 2;
return $"get_long_arg (margs, {iarg - 2})";
case 'D':
farg += 1;
return $"margs->fargs [FIDX ({farg - 1})]";
default:
throw new Exception ("IDK how to handle " + c);
}
}
}
}
@@ -1,303 +0,0 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.IO;
using System.Linq;
using System.Text;
using System.Json;
using System.Collections.Generic;
using Mono.Cecil;
public class PInvokeTableGenerator
{
public PInvokeTableGenerator () {
}
List<AssemblyDefinition> assemblies;
Dictionary<string, string> modules;
List<Pinvoke> pinvokes;
List<PinvokeCallback> callbacks;
public void Run (List<AssemblyDefinition> assemblies, Dictionary<string, string> modules) {
this.assemblies = assemblies;
this.modules = modules;
CollectPInvokes (assemblies, out pinvokes, out callbacks);
Console.WriteLine ("// GENERATED FILE, DO NOT MODIFY");
Console.WriteLine ();
GenPInvokeTable ();
GenNativeToInterp ();
}
void GenPInvokeTable () {
var decls = new Dictionary<string, Pinvoke> ();
foreach (var pinvoke in pinvokes) {
if (modules.ContainsKey (pinvoke.Module)) {
pinvoke.CDecl = GenPinvokeDecl (pinvoke);
if (decls.TryGetValue (pinvoke.EntryPoint, out Pinvoke prev_pinvoke)) {
if (pinvoke.CDecl != prev_pinvoke.CDecl) {
Console.Error.WriteLine ($"Warning: PInvoke method '{pinvoke.EntryPoint}' has incompatible declarations.");
pinvoke.TableEntryPoint = "mono_wasm_pinvoke_vararg_stub";
prev_pinvoke.TableEntryPoint = "mono_wasm_pinvoke_vararg_stub";
continue;
}
}
decls [pinvoke.EntryPoint] = pinvoke;
Console.WriteLine (pinvoke.CDecl);
}
}
foreach (var module in modules.Keys) {
string symbol = module.Replace (".", "_") + "_imports";
Console.WriteLine ("static PinvokeImport " + symbol + " [] = {");
foreach (var pinvoke in pinvokes) {
if (pinvoke.Module == module)
Console.WriteLine ("{\"" + pinvoke.EntryPoint + "\", " + pinvoke.TableEntryPoint + "},");
}
Console.WriteLine ("{NULL, NULL}");
Console.WriteLine ("};");
}
Console.Write ("static void *pinvoke_tables[] = { ");
foreach (var module in modules.Keys) {
string symbol = module.Replace (".", "_") + "_imports";
Console.Write (symbol + ",");
}
Console.WriteLine ("};");
Console.Write ("static char *pinvoke_names[] = { ");
foreach (var module in modules.Keys) {
Console.Write ("\"" + module + "\"" + ",");
}
Console.WriteLine ("};");
}
void GenNativeToInterp () {
// Generate native->interp entry functions
// These are called by native code, so they need to obtain
// the interp entry function/arg from a global array
// They also need to have a signature matching what the
// native code expects, which is the native signature
// of the delegate invoke in the [MonoPInvokeCallback]
// attribute.
// Only blittable parameter/return types are supposed.
int cb_index = 0;
// Arguments to interp entry functions in the runtime
Console.WriteLine ("InterpFtnDesc wasm_native_to_interp_ftndescs[" + callbacks.Count + "];");
foreach (var cb in callbacks) {
var method = cb.Method;
if (!IsBlittable (method.ReturnType))
Error ("The return type of pinvoke callback method '" + method.FullName + "' needs to be blittable.");
foreach (var p in method.Parameters) {
if (!IsBlittable (p.ParameterType))
Error ("Parameter types of pinvoke callback method '" + method.FullName + "' needs to be blittable.");
}
}
foreach (var cb in callbacks) {
var sb = new StringBuilder ();
var method = cb.Method;
// The signature of the interp entry function
// This is a gsharedvt_in signature
sb.Append ("typedef void ");
sb.Append (" (*WasmInterpEntrySig_" + cb_index + ") (");
int pindex = 0;
if (method.ReturnType.Name != "Void") {
sb.Append ("int");
pindex ++;
}
foreach (var p in method.Parameters) {
if (pindex > 0)
sb.Append (",");
sb.Append ("int");
pindex ++;
}
if (pindex > 0)
sb.Append (",");
// Extra arg
sb.Append ("int");
sb.Append (");\n");
bool is_void = method.ReturnType.Name == "Void";
string module_symbol = method.DeclaringType.Module.Assembly.Name.Name.Replace (".", "_");
var token = method.MetadataToken.ToUInt32 ();
string entry_name = $"wasm_native_to_interp_{module_symbol}_{token}";
cb.EntryName = entry_name;
sb.Append (WasmTuner.MapType (method.ReturnType));
sb.Append ($" {entry_name} (");
pindex = 0;
foreach (var p in method.Parameters) {
if (pindex > 0)
sb.Append (",");
sb.Append (WasmTuner.MapType (method.Parameters [pindex].ParameterType));
sb.Append (" arg" + pindex);
pindex ++;
}
sb.Append (") { \n");
if (!is_void)
sb.Append (WasmTuner.MapType (method.ReturnType) + " res;\n");
sb.Append ("((WasmInterpEntrySig_" + cb_index + ")wasm_native_to_interp_ftndescs [" + cb_index + "].func) (");
pindex = 0;
if (!is_void) {
sb.Append ("&res");
pindex ++;
}
int aindex = 0;
foreach (var p in method.Parameters) {
if (pindex > 0)
sb.Append (", ");
sb.Append ("&arg" + aindex);
pindex ++;
aindex ++;
}
if (pindex > 0)
sb.Append (", ");
sb.Append ($"wasm_native_to_interp_ftndescs [{cb_index}].arg");
sb.Append (");\n");
if (!is_void)
sb.Append ("return res;\n");
sb.Append ("}");
Console.WriteLine (sb);
cb_index ++;
}
// Array of function pointers
Console.Write ("static void *wasm_native_to_interp_funcs[] = { ");
foreach (var cb in callbacks) {
Console.Write (cb.EntryName + ",");
}
Console.WriteLine ("};");
// Lookup table from method->interp entry
// The key is a string of the form <assembly name>_<method token>
// FIXME: Use a better encoding
Console.Write ("static const char *wasm_native_to_interp_map[] = { ");
foreach (var cb in callbacks) {
var method = cb.Method;
string module_symbol = method.DeclaringType.Module.Assembly.Name.Name.Replace (".", "_");
var token = method.MetadataToken.ToUInt32 ();
Console.WriteLine ($"\"{module_symbol}_{token}\",");
}
Console.WriteLine ("};");
}
static bool IsBlittable (TypeReference type) {
switch (type.MetadataType) {
case MetadataType.Void:
case MetadataType.Char:
case MetadataType.Boolean:
case MetadataType.Byte:
case MetadataType.SByte:
case MetadataType.Int16:
case MetadataType.UInt16:
case MetadataType.Int32:
case MetadataType.UInt32:
case MetadataType.Int64:
case MetadataType.UInt64:
case MetadataType.IntPtr:
case MetadataType.UIntPtr:
case MetadataType.Single:
case MetadataType.Double:
case MetadataType.Pointer:
case MetadataType.ByReference:
return true;
case MetadataType.ValueType: {
var tdef = type.Resolve ();
return tdef != null && tdef.IsEnum;
}
default:
return false;
}
}
static void Error (string msg) {
Console.Error.WriteLine (msg);
Environment.Exit (1);
}
public static void CollectPInvokes (List<AssemblyDefinition> assemblies, out List<Pinvoke> pinvokes, out List<PinvokeCallback> callbacks) {
pinvokes = new List<Pinvoke> ();
callbacks = new List<PinvokeCallback> ();
foreach (var assembly in assemblies) {
foreach (var type in assembly.MainModule.Types) {
ProcessTypeForPinvoke (pinvokes, callbacks, type);
foreach (var nested in type.NestedTypes)
ProcessTypeForPinvoke (pinvokes, callbacks, nested);
}
}
}
static void ProcessTypeForPinvoke (List<Pinvoke> pinvokes, List<PinvokeCallback> callbacks, TypeDefinition type) {
foreach (var method in type.Methods) {
var info = method.PInvokeInfo;
if (info != null) {
pinvokes.Add (new Pinvoke (info.EntryPoint, info.Module.Name, method));
}
foreach (var attr in method.CustomAttributes) {
// The type has no defined namespace
if (attr.Constructor.DeclaringType.Name == "MonoPInvokeCallbackAttribute") {
if (!method.IsStatic)
Error ($"Method '{method.FullName}' decored with [MonoPInvokeCallback] needs to be static.");
var callback_type = attr.ConstructorArguments [0];
if (callback_type.Type.Name != "Type" || callback_type.Value == null)
Error ("[MonoPInvokeCallback] attribute has invalid format.");
var tref = (TypeReference)callback_type.Value;
callbacks.Add (new PinvokeCallback (method, tref));
} else if (attr.Constructor.DeclaringType.Name == "UnmanagedCallersOnlyAttribute") {
callbacks.Add (new PinvokeCallback (method, null));
}
}
}
}
static string GenPinvokeDecl (Pinvoke pinvoke) {
var sb = new StringBuilder ();
var method = pinvoke.Method;
sb.Append (WasmTuner.MapType (method.ReturnType));
sb.Append ($" {pinvoke.EntryPoint} (");
int pindex = 0;
foreach (var p in method.Parameters) {
if (pindex > 0)
sb.Append (",");
sb.Append (WasmTuner.MapType (method.Parameters [pindex].ParameterType));
pindex ++;
}
sb.Append (");");
return sb.ToString ();
}
}
public class Pinvoke
{
public Pinvoke (string entry_point, string module, MethodReference method) {
EntryPoint = entry_point;
TableEntryPoint = entry_point;
Module = module;
Method = method;
}
public string EntryPoint;
public string TableEntryPoint;
public string Module;
public MethodReference Method;
public string CDecl;
}
public class PinvokeCallback
{
public PinvokeCallback (MethodReference method, TypeReference callback_type) {
Method = method;
CallbackType = callback_type;
}
public MethodReference Method;
public TypeReference CallbackType;
public string EntryName;
}
+86 -47
View File
@@ -40,6 +40,19 @@ class IcallClass {
public Dictionary<string, Icall> Icalls;
}
class Pinvoke
{
public Pinvoke (string entry_point, string module, MethodReference method) {
EntryPoint = entry_point;
Module = module;
Method = method;
}
public string EntryPoint;
public string Module;
public MethodReference Method;
}
public class WasmTuner
{
public static int Main (String[] args) {
@@ -50,6 +63,8 @@ public class WasmTuner
Dictionary<string, IcallClass> runtime_icalls;
List<Pinvoke> pinvokes;
// Read the icall table generated by mono --print-icall-table
void ReadTable (string filename) {
JsonValue json;
@@ -82,7 +97,6 @@ public class WasmTuner
Console.WriteLine ("Arguments:");
Console.WriteLine ("--gen-icall-table icall-table.json <assemblies>.");
Console.WriteLine ("--gen-pinvoke-table <list of native library names separated by commas> <assemblies>.");
Console.WriteLine ("--gen-interp-to-native <output file name> <assemblies>.");
Console.WriteLine ("--gen-empty-assemblies <filenames>.");
}
@@ -102,15 +116,13 @@ public class WasmTuner
return GenPinvokeTable (args);
} else if (cmd == "--gen-empty-assemblies") {
return GenEmptyAssemblies (args);
} else if (cmd == "--gen-interp-to-native") {
return GenInterpToNative (args);
} else {
Usage ();
return 1;
}
}
public static string MapType (TypeReference t) {
static string MapType (TypeReference t) {
if (t.Name == "Void")
return "void";
else if (t.Name == "Double")
@@ -125,25 +137,83 @@ public class WasmTuner
return "int";
}
static string GenPinvokeDecl (Pinvoke pinvoke) {
var sb = new StringBuilder ();
var method = pinvoke.Method;
sb.Append (MapType (method.ReturnType));
sb.Append ($" {pinvoke.EntryPoint} (");
int pindex = 0;
foreach (var p in method.Parameters) {
if (pindex > 0)
sb.Append (",");
sb.Append (MapType (method.Parameters [pindex].ParameterType));
pindex ++;
}
sb.Append (");");
return sb.ToString ();
}
int GenPinvokeTable (String[] args) {
var modules = new Dictionary<string, string> ();
foreach (var module in args [1].Split (','))
modules [module] = module;
args = args.Skip (2).ToArray ();
var assemblies = new List<AssemblyDefinition> ();
foreach (var fname in args)
assemblies.Add (AssemblyDefinition.ReadAssembly (fname));
pinvokes = new List<Pinvoke> ();
foreach (var fname in args) {
var a = AssemblyDefinition.ReadAssembly (fname);
var generator = new PInvokeTableGenerator ();
generator.Run (assemblies, modules);
foreach (var type in a.MainModule.Types) {
ProcessTypeForPinvoke (type);
foreach (var nested in type.NestedTypes)
ProcessTypeForPinvoke (nested);
}
}
Console.WriteLine ("// GENERATED FILE, DO NOT MODIFY");
Console.WriteLine ("typedef struct {");
Console.WriteLine ("const char *name;");
Console.WriteLine ("void *func;");
Console.WriteLine ("} PinvokeImport;");
Console.WriteLine ();
foreach (var pinvoke in pinvokes) {
if (modules.ContainsKey (pinvoke.Module))
Console.WriteLine (GenPinvokeDecl (pinvoke));
}
foreach (var module in modules.Keys) {
string symbol = module.Replace (".", "_") + "_imports";
Console.WriteLine ("static PinvokeImport " + symbol + " [] = {");
foreach (var pinvoke in pinvokes) {
if (pinvoke.Module == module)
Console.WriteLine ("{\"" + pinvoke.EntryPoint + "\", " + pinvoke.EntryPoint + "},");
}
Console.WriteLine ("{NULL, NULL}");
Console.WriteLine ("};");
}
Console.Write ("static void *pinvoke_tables[] = { ");
foreach (var module in modules.Keys) {
string symbol = module.Replace (".", "_") + "_imports";
Console.Write (symbol + ",");
}
Console.WriteLine ("};");
Console.Write ("static char *pinvoke_names[] = { ");
foreach (var module in modules.Keys) {
Console.Write ("\"" + module + "\"" + ",");
}
Console.WriteLine ("};");
return 0;
}
void Error (string msg) {
Console.Error.WriteLine (msg);
Environment.Exit (1);
void ProcessTypeForPinvoke (TypeDefinition type) {
foreach (var method in type.Methods) {
var info = method.PInvokeInfo;
if (info == null)
continue;
pinvokes.Add (new Pinvoke (info.EntryPoint, info.Module.Name, method));
}
}
static string GenIcallDecl (Icall icall) {
@@ -204,26 +274,21 @@ public class WasmTuner
var sorted = icalls.Where (i => i.Assembly == assembly).ToArray ();
Array.Sort (sorted);
string aname;
if (assembly == "mscorlib" || assembly == "System.Private.CoreLib")
aname = "corlib";
else
aname = assembly.Replace (".", "_");
Console.WriteLine ($"#define ICALL_TABLE_{aname} 1\n");
Console.WriteLine ($"#define ICALL_TABLE_{assembly} 1\n");
Console.WriteLine ($"static int {aname}_icall_indexes [] = {{");
Console.WriteLine ($"static int {assembly}_icall_indexes [] = {{");
foreach (var icall in sorted)
Console.WriteLine (String.Format ("{0},", icall.TokenIndex));
Console.WriteLine ("};");
foreach (var icall in sorted)
Console.WriteLine (GenIcallDecl (icall));
Console.WriteLine ($"static void *{aname}_icall_funcs [] = {{");
Console.WriteLine ($"static void *{assembly}_icall_funcs [] = {{");
foreach (var icall in sorted) {
Console.WriteLine (String.Format ("// token {0},", icall.TokenIndex));
Console.WriteLine (String.Format ("{0},", icall.Func));
}
Console.WriteLine ("};");
Console.WriteLine ($"static uint8_t {aname}_icall_handles [] = {{");
Console.WriteLine ($"static uint8_t {assembly}_icall_handles [] = {{");
foreach (var icall in sorted)
Console.WriteLine (String.Format ("{0},", icall.Handles ? "1" : "0"));
Console.WriteLine ("};");
@@ -361,30 +426,4 @@ public class WasmTuner
}
return 0;
}
int GenInterpToNative (String[] args) {
if (args.Length < 2) {
Usage ();
return 1;
}
string outfileName = args [1];
args = args.Skip (2).ToArray ();
var assemblies = new List<AssemblyDefinition> ();
foreach (var fname in args)
assemblies.Add (AssemblyDefinition.ReadAssembly (fname));
List<Pinvoke> pinvokes;
List<PinvokeCallback> callbacks;
PInvokeTableGenerator.CollectPInvokes (assemblies, out pinvokes, out callbacks);
var gen = new InterpToNativeGenerator ();
foreach (var pinvoke in pinvokes)
gen.AddSignature (pinvoke.Method);
using (var w = File.CreateText (outfileName)) {
gen.Emit (w);
}
return 0;
}
}
-2
View File
@@ -53,8 +53,6 @@
<Compile Include="..\..\build\common\Consts.cs" />
<Compile Include="..\..\build\common\SR.cs" />
<Compile Include="..\..\class\System.Json\corefx\SR.cs" />
<Compile Include="InterpToNativeGenerator.cs" />
<Compile Include="PInvokeTableGenerator.cs" />
<Compile Include="tuner.cs" />
<ProjectReference Include="$(SolutionDir)\msvc\scripts\genconsts.csproj">
<Name>genconsts</Name>
@@ -1,6 +1,4 @@
tuner.cs
InterpToNativeGenerator.cs
PInvokeTableGenerator.cs
../../build/common/Consts.cs
../../build/common/SR.cs
../../class/System.Json/corefx/SR.cs
+6 -6
View File
@@ -1,8 +1,8 @@
project(mono)
project (mono)
#set(subdirs eglib arch utils cil sgen metadata mini dis profiler)
set(subdirs mini profiler)
#set (subdirs eglib arch utils cil sgen metadata mini dis profiler)
set (subdirs mini)
foreach(dir ${subdirs})
add_subdirectory(${dir})
endforeach()
foreach (dir ${subdirs})
add_subdirectory (${dir})
endforeach ()
+6 -19
View File
@@ -13,35 +13,22 @@ native_dirs = native
endif
if ENABLE_NETCORE
btls_dirs =
managed_unit_test_dirs =
native_unit_test_dirs =
culture_dirs =
else
managed_unit_test_dirs = tests
native_unit_test_dirs = unit-tests
culture_dirs = culture
endif
if ENABLE_PERFTRACING
eventpipe_dirs = eventpipe
btls_dirs =
endif
if ENABLE_NETCORE
SUBDIRS = eglib arch utils sgen zlib $(eventpipe_dirs) metadata mini profiler $(native_unit_test_dirs)
SUBDIRS = eglib arch utils sgen zlib metadata mini profiler
else
if CROSS_COMPILING
SUBDIRS = $(btls_dirs) $(culture_dirs) eglib arch utils cil zlib $(sgen_dirs) metadata mini dis profiler $(native_dirs)
SUBDIRS = $(btls_dirs) eglib arch utils cil zlib $(sgen_dirs) metadata mini dis profiler $(native_dirs)
else
if INSTALL_MONOTOUCH
SUBDIRS = $(btls_dirs) $(culture_dirs) eglib arch utils zlib $(sgen_dirs) metadata mini profiler $(native_dirs)
SUBDIRS = $(btls_dirs) eglib arch utils zlib $(sgen_dirs) metadata mini profiler $(native_dirs)
else
SUBDIRS = $(btls_dirs) $(culture_dirs) eglib arch utils cil zlib $(sgen_dirs) metadata mini dis $(managed_unit_test_dirs) $(native_unit_test_dirs) benchmark profiler $(native_dirs)
SUBDIRS = $(btls_dirs) eglib arch utils cil zlib $(sgen_dirs) metadata mini dis tests unit-tests benchmark profiler $(native_dirs)
endif
endif
endif
DIST_SUBDIRS = btls $(culture_dirs) native eglib eventpipe arch utils cil zlib $(sgen_dirs) metadata mini dis $(managed_unit_test_dirs) $(native_unit_test_dirs) benchmark profiler
EXTRA_DIST = eventpipe/Makefile
DIST_SUBDIRS = btls native eglib arch utils cil zlib $(sgen_dirs) metadata mini dis tests unit-tests benchmark profiler
-6
View File
@@ -1,9 +1,3 @@
MAKEFLAGS := $(MAKEFLAGS) --no-builtin-rules
EXTRA_DIST = arm64-codegen.h codegen-test.c
test-codegen:
$(CC) $(CFLAGS) -I../../.. -I../../eglib/ ../../eglib/.libs/libeglib.a -o codegen-test codegen-test.c
./codegen-test > tmp.s
$(CC) $(CFLAGS) -c -o tmp.o tmp.s
objdump -d --triple=arm64e tmp.o
-36
View File
@@ -867,40 +867,4 @@ arm_encode_arith_imm (int imm, guint32 *shift)
#define arm_cmpp arm_cmpx
#endif
/* ARM v8.3 */
/* PACIA */
#define arm_format_pacia(p, crm, op2) arm_emit ((p), (0b11010101000000110010000000011111 << 0) | ((crm) << 8) | ((op2) << 5))
#define arm_paciasp(p) arm_format_pacia ((p), 0b0011, 0b001)
/* PACIB */
#define arm_format_pacib(p, crm, op2) arm_emit ((p), (0b11010101000000110010000000011111 << 0) | ((crm) << 8) | ((op2) << 5))
#define arm_pacibsp(p) arm_format_pacib ((p), 0b0011, 0b011)
/* RETA */
#define arm_format_reta(p,key) arm_emit ((p), 0b11010110010111110000101111111111 + ((key) << 10))
#define arm_retaa(p) arm_format_reta ((p),0)
#define arm_retab(p) arm_format_reta ((p),1)
/* BRA */
#define arm_format_bra(p, z, m, rn, rm) arm_emit ((p), (0b1101011000011111000010 << 10) + ((z) << 24) + ((m) << 10) + ((rn) << 5) + ((rm) << 0))
#define arm_braaz(p, rn) arm_format_bra ((p), 0, 0, (rn), 0b11111)
#define arm_brabz(p, rn) arm_format_bra ((p), 0, 1, (rn), 0b11111)
#define arm_braa(p, rn, rm) arm_format_bra ((p), 1, 0, (rn), (rm))
#define arm_brab(p, rn, rm) arm_format_bra ((p), 1, 1, (rn), (rm))
/* BLRA */
#define arm_format_blra(p, z, m, rn, rm) arm_emit ((p), (0b1101011000111111000010 << 10) + ((z) << 24) + ((m) << 10) + ((rn) << 5) + ((rm) << 0))
#define arm_blraaz(p, rn) arm_format_blra ((p), 0, 0, (rn), 0b11111)
#define arm_blraa(p, rn, rm) arm_format_blra ((p), 1, 0, (rn), (rm))
#define arm_blrabz(p, rn) arm_format_blra ((p), 0, 1, (rn), 0b11111)
#define arm_blrab(p, rn, rm) arm_format_blra ((p), 1, 1, (rn), (rm))
#endif /* __arm_CODEGEN_H__ */
-13
View File
@@ -416,19 +416,6 @@ main (int argc, char *argv [])
arm_stlxrx (code, ARMREG_R0, ARMREG_R1, ARMREG_R2);
arm_stlxrw (code, ARMREG_R0, ARMREG_R1, ARMREG_R2);
arm_paciasp (code);
arm_pacibsp (code);
arm_retaa (code);
arm_retab (code);
arm_braaz (code, ARMREG_R1);
arm_brabz (code, ARMREG_R1);
arm_braa (code, ARMREG_R1, ARMREG_R2);
arm_brab (code, ARMREG_R1, ARMREG_R2);
arm_blraaz (code, ARMREG_R1);
arm_blraa (code, ARMREG_R1, ARMREG_R2);
arm_blrabz (code, ARMREG_R1);
arm_blrab (code, ARMREG_R1, ARMREG_R2);
for (i = 0; i < code - buf; ++i)
printf (".byte %d\n", buf [i]);
printf ("\n");
+1
View File
@@ -1,6 +1,7 @@
/*
* Licensed to the .NET Foundation under one or more agreements.
* The .NET Foundation licenses this file to you under the MIT license.
* See the LICENSE file in the project root for more information.
*/
#define MONO_RISCV_CODEGEN_TEST
+1
View File
@@ -1,6 +1,7 @@
/*
* Licensed to the .NET Foundation under one or more agreements.
* The .NET Foundation licenses this file to you under the MIT license.
* See the LICENSE file in the project root for more information.
*/
#ifndef __MONO_RISCV_CODEGEN_H__
+1 -3
View File
@@ -191,7 +191,6 @@ typedef enum {
#define S390_FP s390_r11
#define S390_MINIMAL_STACK_SIZE 160
#define S390_REG_SAVE_OFFSET 48
#define S390_NONPARM_SAVE_OFFSET 56
#define S390_PARM_SAVE_OFFSET 16
#define S390_RET_ADDR_OFFSET 112
#define S390_FLOAT_SAVE_OFFSET 128
@@ -1340,6 +1339,7 @@ typedef struct {
#define s390_ldeb(c, r, x, b, d) S390_RXE(c, 0xed04, r, x, b, d)
#define s390_ldebr(c, r1, r2) S390_RRE(c, 0xb304, r1, r2)
#define s390_ldgr(c, r1, r2) S390_RRE(c, 0xb3c1, r1, r2)
#define s390_ldgr(c, r1, r2) S390_RRE(c, 0xb3c1, r1, r2)
#define s390_ldxbr(c, r1, r2) S390_RRE(c, 0xb345, r1, r2)
#define s390_ldr(c, r1, r2) S390_RR(c, 0x28, r1, r2)
#define s390_le(c, f, x, b, d) S390_RX(c, 0x78, f, x, b, d)
@@ -1384,7 +1384,6 @@ typedef struct {
#define s390_lm(c, r1, r2, b, d) S390_RS_1(c, 0x98, r1, r2, b, d)
#define s390_lmg(c, r1, r2, b, d) S390_RSY_1(c, 0xeb04, r1, r2, b, d)
#define s390_lndbr(c, r1, r2) S390_RRE(c, 0xb311, r1, r2)
#define s390_lnebr(c, r1, r2) S390_RRE(c, 0xb301, r1, r2)
#define s390_lngr(c, r1, r2) S390_RRE(c, 0xb901, r1, r2)
#define s390_lnr(c, r1, r2) S390_RR(c, 0x11, r1, r2)
#define s390_lpdbr(c, r1, r2) S390_RRE(c, 0xb310, r1, r2)
@@ -1490,7 +1489,6 @@ typedef struct {
#define s390_srlg(c, r1, r2, b, d) S390_RSY_1(c, 0xeb0c, r1, r2, b, d)
#define s390_st(c, r, x, b, d) S390_RX(c, 0x50, r, x, b, d)
#define s390_stam(c, r1, r2, b, d) S390_RS_1(c, 0x9b, r1, r2, b, d)
#define s390_stamy(c, r1, r2, b, d) S390_RSY_1(c, 0xeb9b, r1, r2, b, d)
#define s390_stc(c, r, x, b, d) S390_RX(c, 0x42, r, x, b, d)
#define s390_stcm(c, r, m, b, d) S390_RX(c, 0xbe, r, m, b, d)
#define s390_stcmy(c, r, x, b, d) S390_RXY(c, 0xeb2d, r, x, b, d)
-2
View File
@@ -325,6 +325,4 @@
<opcode name="mono_ld_delegate_method_ptr" input="Pop1" output="PushI" args="InlineNone" o1="0xF0" o2="0x1E" flow="next" />
<opcode name="mono_rethrow" input="PopRef" output="Push0" args="InlineNone" o1="0xF0" o2="0x1F" flow="throw" type="Objmodel" />
<opcode name="mono_get_sp" input="Pop0" output="PushI" args="InlineNone" o1="0xF0" o2="0x20" flow="next" />
<opcode name="mono_methodconst" input="Pop0" output="PushI" args="InlineI" o1="0xF0" o2="0x21" flow="next" />
<opcode name="mono_pinvoke_addr_cache" input="Pop0" output="PushI" args="InlineI" o1="0xF0" o2="0x22" flow="next" />
</opdesc>
-2
View File
@@ -325,8 +325,6 @@ OPDEF(CEE_MONO_LDPTR_PROFILER_ALLOCATION_COUNT, "mono_ldptr_profiler_allocation_
OPDEF(CEE_MONO_LD_DELEGATE_METHOD_PTR, "mono_ld_delegate_method_ptr", Pop1, PushI, InlineNone, 0, 2, 0xF0, 0x1E, NEXT)
OPDEF(CEE_MONO_RETHROW, "mono_rethrow", PopRef, Push0, InlineNone, 0, 2, 0xF0, 0x1F, ERROR)
OPDEF(CEE_MONO_GET_SP, "mono_get_sp", Pop0, PushI, InlineNone, 0, 2, 0xF0, 0x20, NEXT)
OPDEF(CEE_MONO_METHODCONST, "mono_methodconst", Pop0, PushI, InlineI, 0, 2, 0xF0, 0x21, NEXT)
OPDEF(CEE_MONO_PINVOKE_ADDR_CACHE, "mono_pinvoke_addr_cache", Pop0, PushI, InlineI, 0, 2, 0xF0, 0x22, NEXT)
#ifndef OPALIAS
#define _MONO_CIL_OPALIAS_DEFINED_
#define OPALIAS(a,s,r)
-12
View File
@@ -1,12 +0,0 @@
/Makefile
/Makefile.in
/.libs
/.deps
/*.lo
/*.la
/*.o
/*.a
/semantic.cache
/.project
/.cproject
/TAGS
-24
View File
@@ -1,24 +0,0 @@
MAKEFLAGS := $(MAKEFLAGS) --no-builtin-rules
AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/mono $(GLIB_CFLAGS) $(SHARED_CFLAGS)
CFLAGS := $(filter-out @CXX_REMOVE_CFLAGS@, @CFLAGS@)
if !ENABLE_MSVC_ONLY
noinst_LTLIBRARIES = libmono-culture.la
if !HOST_WIN32
unix_sources = w32process-unix-language.c
platform_sources = $(unix_sources)
endif
libmono_culture_la_SOURCES = \
$(platform_sources) \
culture-info.h \
culture-info-tables.h \
locales.c
libmono_culture_la_CPPFLAGS = $(AM_CPPFLAGS) @CXX_ADD_CFLAGS@
endif # ENABLE_MSVC_ONLY
-796
View File
@@ -1,796 +0,0 @@
/**
* \file
* System.Diagnostics.Process support, mono_w32process_ver_language_name
*/
#include <config.h>
#include <glib.h>
#include <mono/utils/mono-compiler.h>
#include <mono/utils/mono-publib.h>
#include <mono/metadata/w32process-internals.h>
#if !defined(ENABLE_NETCORE) && !defined(DISABLE_PROCESSES)
static guint32
copy_lang (gunichar2 *lang_out, guint32 lang_len, const gchar *text)
{
gunichar2 *unitext;
int chars = strlen (text);
int ret;
unitext = g_utf8_to_utf16 (text, -1, NULL, NULL, NULL);
g_assert (unitext != NULL);
if (chars < (lang_len - 1)) {
memcpy (lang_out, (gpointer)unitext, chars * 2);
lang_out[chars] = '\0';
ret = chars;
} else {
memcpy (lang_out, (gpointer)unitext, (lang_len - 1) * 2);
lang_out[lang_len] = '\0';
ret = lang_len;
}
g_free (unitext);
return(ret);
}
guint32
mono_w32process_ver_language_name (guint32 lang, gunichar2 *lang_out, guint32 lang_len)
{
int primary, secondary;
const char *name = NULL;
primary = lang & 0x3FF;
secondary = (lang >> 10) & 0x3F;
switch(primary) {
case 0x00:
switch (secondary) {
case 0x01: name = "Process Default Language"; break;
}
break;
case 0x01:
switch (secondary) {
case 0x00:
case 0x01: name = "Arabic (Saudi Arabia)"; break;
case 0x02: name = "Arabic (Iraq)"; break;
case 0x03: name = "Arabic (Egypt)"; break;
case 0x04: name = "Arabic (Libya)"; break;
case 0x05: name = "Arabic (Algeria)"; break;
case 0x06: name = "Arabic (Morocco)"; break;
case 0x07: name = "Arabic (Tunisia)"; break;
case 0x08: name = "Arabic (Oman)"; break;
case 0x09: name = "Arabic (Yemen)"; break;
case 0x0a: name = "Arabic (Syria)"; break;
case 0x0b: name = "Arabic (Jordan)"; break;
case 0x0c: name = "Arabic (Lebanon)"; break;
case 0x0d: name = "Arabic (Kuwait)"; break;
case 0x0e: name = "Arabic (U.A.E.)"; break;
case 0x0f: name = "Arabic (Bahrain)"; break;
case 0x10: name = "Arabic (Qatar)"; break;
}
break;
case 0x02:
switch (secondary) {
case 0x00: name = "Bulgarian (Bulgaria)"; break;
case 0x01: name = "Bulgarian"; break;
}
break;
case 0x03:
switch (secondary) {
case 0x00: name = "Catalan (Spain)"; break;
case 0x01: name = "Catalan"; break;
}
break;
case 0x04:
switch (secondary) {
case 0x00:
case 0x01: name = "Chinese (Taiwan)"; break;
case 0x02: name = "Chinese (PRC)"; break;
case 0x03: name = "Chinese (Hong Kong S.A.R.)"; break;
case 0x04: name = "Chinese (Singapore)"; break;
case 0x05: name = "Chinese (Macau S.A.R.)"; break;
}
break;
case 0x05:
switch (secondary) {
case 0x00: name = "Czech (Czech Republic)"; break;
case 0x01: name = "Czech"; break;
}
break;
case 0x06:
switch (secondary) {
case 0x00: name = "Danish (Denmark)"; break;
case 0x01: name = "Danish"; break;
}
break;
case 0x07:
switch (secondary) {
case 0x00:
case 0x01: name = "German (Germany)"; break;
case 0x02: name = "German (Switzerland)"; break;
case 0x03: name = "German (Austria)"; break;
case 0x04: name = "German (Luxembourg)"; break;
case 0x05: name = "German (Liechtenstein)"; break;
}
break;
case 0x08:
switch (secondary) {
case 0x00: name = "Greek (Greece)"; break;
case 0x01: name = "Greek"; break;
}
break;
case 0x09:
switch (secondary) {
case 0x00:
case 0x01: name = "English (United States)"; break;
case 0x02: name = "English (United Kingdom)"; break;
case 0x03: name = "English (Australia)"; break;
case 0x04: name = "English (Canada)"; break;
case 0x05: name = "English (New Zealand)"; break;
case 0x06: name = "English (Ireland)"; break;
case 0x07: name = "English (South Africa)"; break;
case 0x08: name = "English (Jamaica)"; break;
case 0x09: name = "English (Caribbean)"; break;
case 0x0a: name = "English (Belize)"; break;
case 0x0b: name = "English (Trinidad and Tobago)"; break;
case 0x0c: name = "English (Zimbabwe)"; break;
case 0x0d: name = "English (Philippines)"; break;
case 0x10: name = "English (India)"; break;
case 0x11: name = "English (Malaysia)"; break;
case 0x12: name = "English (Singapore)"; break;
}
break;
case 0x0a:
switch (secondary) {
case 0x00: name = "Spanish (Spain)"; break;
case 0x01: name = "Spanish (Traditional Sort)"; break;
case 0x02: name = "Spanish (Mexico)"; break;
case 0x03: name = "Spanish (International Sort)"; break;
case 0x04: name = "Spanish (Guatemala)"; break;
case 0x05: name = "Spanish (Costa Rica)"; break;
case 0x06: name = "Spanish (Panama)"; break;
case 0x07: name = "Spanish (Dominican Republic)"; break;
case 0x08: name = "Spanish (Venezuela)"; break;
case 0x09: name = "Spanish (Colombia)"; break;
case 0x0a: name = "Spanish (Peru)"; break;
case 0x0b: name = "Spanish (Argentina)"; break;
case 0x0c: name = "Spanish (Ecuador)"; break;
case 0x0d: name = "Spanish (Chile)"; break;
case 0x0e: name = "Spanish (Uruguay)"; break;
case 0x0f: name = "Spanish (Paraguay)"; break;
case 0x10: name = "Spanish (Bolivia)"; break;
case 0x11: name = "Spanish (El Salvador)"; break;
case 0x12: name = "Spanish (Honduras)"; break;
case 0x13: name = "Spanish (Nicaragua)"; break;
case 0x14: name = "Spanish (Puerto Rico)"; break;
case 0x15: name = "Spanish (United States)"; break;
}
break;
case 0x0b:
switch (secondary) {
case 0x00: name = "Finnish (Finland)"; break;
case 0x01: name = "Finnish"; break;
}
break;
case 0x0c:
switch (secondary) {
case 0x00:
case 0x01: name = "French (France)"; break;
case 0x02: name = "French (Belgium)"; break;
case 0x03: name = "French (Canada)"; break;
case 0x04: name = "French (Switzerland)"; break;
case 0x05: name = "French (Luxembourg)"; break;
case 0x06: name = "French (Monaco)"; break;
}
break;
case 0x0d:
switch (secondary) {
case 0x00: name = "Hebrew (Israel)"; break;
case 0x01: name = "Hebrew"; break;
}
break;
case 0x0e:
switch (secondary) {
case 0x00: name = "Hungarian (Hungary)"; break;
case 0x01: name = "Hungarian"; break;
}
break;
case 0x0f:
switch (secondary) {
case 0x00: name = "Icelandic (Iceland)"; break;
case 0x01: name = "Icelandic"; break;
}
break;
case 0x10:
switch (secondary) {
case 0x00:
case 0x01: name = "Italian (Italy)"; break;
case 0x02: name = "Italian (Switzerland)"; break;
}
break;
case 0x11:
switch (secondary) {
case 0x00: name = "Japanese (Japan)"; break;
case 0x01: name = "Japanese"; break;
}
break;
case 0x12:
switch (secondary) {
case 0x00: name = "Korean (Korea)"; break;
case 0x01: name = "Korean"; break;
}
break;
case 0x13:
switch (secondary) {
case 0x00:
case 0x01: name = "Dutch (Netherlands)"; break;
case 0x02: name = "Dutch (Belgium)"; break;
}
break;
case 0x14:
switch (secondary) {
case 0x00:
case 0x01: name = "Norwegian (Bokmal)"; break;
case 0x02: name = "Norwegian (Nynorsk)"; break;
}
break;
case 0x15:
switch (secondary) {
case 0x00: name = "Polish (Poland)"; break;
case 0x01: name = "Polish"; break;
}
break;
case 0x16:
switch (secondary) {
case 0x00:
case 0x01: name = "Portuguese (Brazil)"; break;
case 0x02: name = "Portuguese (Portugal)"; break;
}
break;
case 0x17:
switch (secondary) {
case 0x01: name = "Romansh (Switzerland)"; break;
}
break;
case 0x18:
switch (secondary) {
case 0x00: name = "Romanian (Romania)"; break;
case 0x01: name = "Romanian"; break;
}
break;
case 0x19:
switch (secondary) {
case 0x00: name = "Russian (Russia)"; break;
case 0x01: name = "Russian"; break;
}
break;
case 0x1a:
switch (secondary) {
case 0x00: name = "Croatian (Croatia)"; break;
case 0x01: name = "Croatian"; break;
case 0x02: name = "Serbian (Latin)"; break;
case 0x03: name = "Serbian (Cyrillic)"; break;
case 0x04: name = "Croatian (Bosnia and Herzegovina)"; break;
case 0x05: name = "Bosnian (Latin, Bosnia and Herzegovina)"; break;
case 0x06: name = "Serbian (Latin, Bosnia and Herzegovina)"; break;
case 0x07: name = "Serbian (Cyrillic, Bosnia and Herzegovina)"; break;
case 0x08: name = "Bosnian (Cyrillic, Bosnia and Herzegovina)"; break;
}
break;
case 0x1b:
switch (secondary) {
case 0x00: name = "Slovak (Slovakia)"; break;
case 0x01: name = "Slovak"; break;
}
break;
case 0x1c:
switch (secondary) {
case 0x00: name = "Albanian (Albania)"; break;
case 0x01: name = "Albanian"; break;
}
break;
case 0x1d:
switch (secondary) {
case 0x00: name = "Swedish (Sweden)"; break;
case 0x01: name = "Swedish"; break;
case 0x02: name = "Swedish (Finland)"; break;
}
break;
case 0x1e:
switch (secondary) {
case 0x00: name = "Thai (Thailand)"; break;
case 0x01: name = "Thai"; break;
}
break;
case 0x1f:
switch (secondary) {
case 0x00: name = "Turkish (Turkey)"; break;
case 0x01: name = "Turkish"; break;
}
break;
case 0x20:
switch (secondary) {
case 0x00: name = "Urdu (Islamic Republic of Pakistan)"; break;
case 0x01: name = "Urdu"; break;
}
break;
case 0x21:
switch (secondary) {
case 0x00: name = "Indonesian (Indonesia)"; break;
case 0x01: name = "Indonesian"; break;
}
break;
case 0x22:
switch (secondary) {
case 0x00: name = "Ukrainian (Ukraine)"; break;
case 0x01: name = "Ukrainian"; break;
}
break;
case 0x23:
switch (secondary) {
case 0x00: name = "Belarusian (Belarus)"; break;
case 0x01: name = "Belarusian"; break;
}
break;
case 0x24:
switch (secondary) {
case 0x00: name = "Slovenian (Slovenia)"; break;
case 0x01: name = "Slovenian"; break;
}
break;
case 0x25:
switch (secondary) {
case 0x00: name = "Estonian (Estonia)"; break;
case 0x01: name = "Estonian"; break;
}
break;
case 0x26:
switch (secondary) {
case 0x00: name = "Latvian (Latvia)"; break;
case 0x01: name = "Latvian"; break;
}
break;
case 0x27:
switch (secondary) {
case 0x00: name = "Lithuanian (Lithuania)"; break;
case 0x01: name = "Lithuanian"; break;
}
break;
case 0x28:
switch (secondary) {
case 0x01: name = "Tajik (Tajikistan)"; break;
}
break;
case 0x29:
switch (secondary) {
case 0x00: name = "Farsi (Iran)"; break;
case 0x01: name = "Farsi"; break;
}
break;
case 0x2a:
switch (secondary) {
case 0x00: name = "Vietnamese (Viet Nam)"; break;
case 0x01: name = "Vietnamese"; break;
}
break;
case 0x2b:
switch (secondary) {
case 0x00: name = "Armenian (Armenia)"; break;
case 0x01: name = "Armenian"; break;
}
break;
case 0x2c:
switch (secondary) {
case 0x00: name = "Azeri (Latin) (Azerbaijan)"; break;
case 0x01: name = "Azeri (Latin)"; break;
case 0x02: name = "Azeri (Cyrillic)"; break;
}
break;
case 0x2d:
switch (secondary) {
case 0x00: name = "Basque (Spain)"; break;
case 0x01: name = "Basque"; break;
}
break;
case 0x2e:
switch (secondary) {
case 0x01: name = "Upper Sorbian (Germany)"; break;
case 0x02: name = "Lower Sorbian (Germany)"; break;
}
break;
case 0x2f:
switch (secondary) {
case 0x00: name = "FYRO Macedonian (Former Yugoslav Republic of Macedonia)"; break;
case 0x01: name = "FYRO Macedonian"; break;
}
break;
case 0x32:
switch (secondary) {
case 0x00: name = "Tswana (South Africa)"; break;
case 0x01: name = "Tswana"; break;
}
break;
case 0x34:
switch (secondary) {
case 0x00: name = "Xhosa (South Africa)"; break;
case 0x01: name = "Xhosa"; break;
}
break;
case 0x35:
switch (secondary) {
case 0x00: name = "Zulu (South Africa)"; break;
case 0x01: name = "Zulu"; break;
}
break;
case 0x36:
switch (secondary) {
case 0x00: name = "Afrikaans (South Africa)"; break;
case 0x01: name = "Afrikaans"; break;
}
break;
case 0x37:
switch (secondary) {
case 0x00: name = "Georgian (Georgia)"; break;
case 0x01: name = "Georgian"; break;
}
break;
case 0x38:
switch (secondary) {
case 0x00: name = "Faroese (Faroe Islands)"; break;
case 0x01: name = "Faroese"; break;
}
break;
case 0x39:
switch (secondary) {
case 0x00: name = "Hindi (India)"; break;
case 0x01: name = "Hindi"; break;
}
break;
case 0x3a:
switch (secondary) {
case 0x00: name = "Maltese (Malta)"; break;
case 0x01: name = "Maltese"; break;
}
break;
case 0x3b:
switch (secondary) {
case 0x00: name = "Sami (Northern) (Norway)"; break;
case 0x01: name = "Sami, Northern (Norway)"; break;
case 0x02: name = "Sami, Northern (Sweden)"; break;
case 0x03: name = "Sami, Northern (Finland)"; break;
case 0x04: name = "Sami, Lule (Norway)"; break;
case 0x05: name = "Sami, Lule (Sweden)"; break;
case 0x06: name = "Sami, Southern (Norway)"; break;
case 0x07: name = "Sami, Southern (Sweden)"; break;
case 0x08: name = "Sami, Skolt (Finland)"; break;
case 0x09: name = "Sami, Inari (Finland)"; break;
}
break;
case 0x3c:
switch (secondary) {
case 0x02: name = "Irish (Ireland)"; break;
}
break;
case 0x3e:
switch (secondary) {
case 0x00:
case 0x01: name = "Malay (Malaysia)"; break;
case 0x02: name = "Malay (Brunei Darussalam)"; break;
}
break;
case 0x3f:
switch (secondary) {
case 0x00: name = "Kazakh (Kazakhstan)"; break;
case 0x01: name = "Kazakh"; break;
}
break;
case 0x40:
switch (secondary) {
case 0x00: name = "Kyrgyz (Kyrgyzstan)"; break;
case 0x01: name = "Kyrgyz (Cyrillic)"; break;
}
break;
case 0x41:
switch (secondary) {
case 0x00: name = "Swahili (Kenya)"; break;
case 0x01: name = "Swahili"; break;
}
break;
case 0x42:
switch (secondary) {
case 0x01: name = "Turkmen (Turkmenistan)"; break;
}
break;
case 0x43:
switch (secondary) {
case 0x00: name = "Uzbek (Latin) (Uzbekistan)"; break;
case 0x01: name = "Uzbek (Latin)"; break;
case 0x02: name = "Uzbek (Cyrillic)"; break;
}
break;
case 0x44:
switch (secondary) {
case 0x00: name = "Tatar (Russia)"; break;
case 0x01: name = "Tatar"; break;
}
break;
case 0x45:
switch (secondary) {
case 0x00:
case 0x01: name = "Bengali (India)"; break;
}
break;
case 0x46:
switch (secondary) {
case 0x00: name = "Punjabi (India)"; break;
case 0x01: name = "Punjabi"; break;
}
break;
case 0x47:
switch (secondary) {
case 0x00: name = "Gujarati (India)"; break;
case 0x01: name = "Gujarati"; break;
}
break;
case 0x49:
switch (secondary) {
case 0x00: name = "Tamil (India)"; break;
case 0x01: name = "Tamil"; break;
}
break;
case 0x4a:
switch (secondary) {
case 0x00: name = "Telugu (India)"; break;
case 0x01: name = "Telugu"; break;
}
break;
case 0x4b:
switch (secondary) {
case 0x00: name = "Kannada (India)"; break;
case 0x01: name = "Kannada"; break;
}
break;
case 0x4c:
switch (secondary) {
case 0x00:
case 0x01: name = "Malayalam (India)"; break;
}
break;
case 0x4d:
switch (secondary) {
case 0x01: name = "Assamese (India)"; break;
}
break;
case 0x4e:
switch (secondary) {
case 0x00: name = "Marathi (India)"; break;
case 0x01: name = "Marathi"; break;
}
break;
case 0x4f:
switch (secondary) {
case 0x00: name = "Sanskrit (India)"; break;
case 0x01: name = "Sanskrit"; break;
}
break;
case 0x50:
switch (secondary) {
case 0x00: name = "Mongolian (Mongolia)"; break;
case 0x01: name = "Mongolian (Cyrillic)"; break;
case 0x02: name = "Mongolian (PRC)"; break;
}
break;
case 0x51:
switch (secondary) {
case 0x01: name = "Tibetan (PRC)"; break;
case 0x02: name = "Tibetan (Bhutan)"; break;
}
break;
case 0x52:
switch (secondary) {
case 0x00: name = "Welsh (United Kingdom)"; break;
case 0x01: name = "Welsh"; break;
}
break;
case 0x53:
switch (secondary) {
case 0x01: name = "Khmer (Cambodia)"; break;
}
break;
case 0x54:
switch (secondary) {
case 0x01: name = "Lao (Lao PDR)"; break;
}
break;
case 0x56:
switch (secondary) {
case 0x00: name = "Galician (Spain)"; break;
case 0x01: name = "Galician"; break;
}
break;
case 0x57:
switch (secondary) {
case 0x00: name = "Konkani (India)"; break;
case 0x01: name = "Konkani"; break;
}
break;
case 0x5a:
switch (secondary) {
case 0x00: name = "Syriac (Syria)"; break;
case 0x01: name = "Syriac"; break;
}
break;
case 0x5b:
switch (secondary) {
case 0x01: name = "Sinhala (Sri Lanka)"; break;
}
break;
case 0x5d:
switch (secondary) {
case 0x01: name = "Inuktitut (Syllabics, Canada)"; break;
case 0x02: name = "Inuktitut (Latin, Canada)"; break;
}
break;
case 0x5e:
switch (secondary) {
case 0x01: name = "Amharic (Ethiopia)"; break;
}
break;
case 0x5f:
switch (secondary) {
case 0x02: name = "Tamazight (Algeria, Latin)"; break;
}
break;
case 0x61:
switch (secondary) {
case 0x01: name = "Nepali (Nepal)"; break;
}
break;
case 0x62:
switch (secondary) {
case 0x01: name = "Frisian (Netherlands)"; break;
}
break;
case 0x63:
switch (secondary) {
case 0x01: name = "Pashto (Afghanistan)"; break;
}
break;
case 0x64:
switch (secondary) {
case 0x01: name = "Filipino (Philippines)"; break;
}
break;
case 0x65:
switch (secondary) {
case 0x00: name = "Divehi (Maldives)"; break;
case 0x01: name = "Divehi"; break;
}
break;
case 0x68:
switch (secondary) {
case 0x01: name = "Hausa (Nigeria, Latin)"; break;
}
break;
case 0x6a:
switch (secondary) {
case 0x01: name = "Yoruba (Nigeria)"; break;
}
break;
case 0x6b:
switch (secondary) {
case 0x00:
case 0x01: name = "Quechua (Bolivia)"; break;
case 0x02: name = "Quechua (Ecuador)"; break;
case 0x03: name = "Quechua (Peru)"; break;
}
break;
case 0x6c:
switch (secondary) {
case 0x00: name = "Northern Sotho (South Africa)"; break;
case 0x01: name = "Northern Sotho"; break;
}
break;
case 0x6d:
switch (secondary) {
case 0x01: name = "Bashkir (Russia)"; break;
}
break;
case 0x6e:
switch (secondary) {
case 0x01: name = "Luxembourgish (Luxembourg)"; break;
}
break;
case 0x6f:
switch (secondary) {
case 0x01: name = "Greenlandic (Greenland)"; break;
}
break;
case 0x78:
switch (secondary) {
case 0x01: name = "Yi (PRC)"; break;
}
break;
case 0x7a:
switch (secondary) {
case 0x01: name = "Mapudungun (Chile)"; break;
}
break;
case 0x7c:
switch (secondary) {
case 0x01: name = "Mohawk (Mohawk)"; break;
}
break;
case 0x7e:
switch (secondary) {
case 0x01: name = "Breton (France)"; break;
}
break;
case 0x7f:
switch (secondary) {
case 0x00: name = "Invariant Language (Invariant Country)"; break;
}
break;
case 0x80:
switch (secondary) {
case 0x01: name = "Uighur (PRC)"; break;
}
break;
case 0x81:
switch (secondary) {
case 0x00: name = "Maori (New Zealand)"; break;
case 0x01: name = "Maori"; break;
}
break;
case 0x83:
switch (secondary) {
case 0x01: name = "Corsican (France)"; break;
}
break;
case 0x84:
switch (secondary) {
case 0x01: name = "Alsatian (France)"; break;
}
break;
case 0x85:
switch (secondary) {
case 0x01: name = "Yakut (Russia)"; break;
}
break;
case 0x86:
switch (secondary) {
case 0x01: name = "K'iche (Guatemala)"; break;
}
break;
case 0x87:
switch (secondary) {
case 0x01: name = "Kinyarwanda (Rwanda)"; break;
}
break;
case 0x88:
switch (secondary) {
case 0x01: name = "Wolof (Senegal)"; break;
}
break;
case 0x8c:
switch (secondary) {
case 0x01: name = "Dari (Afghanistan)"; break;
}
break;
default:
name = "Language Neutral";
}
if (!name)
name = "Language Neutral";
return copy_lang (lang_out, lang_len, name);
}
#endif /* ENABLE_NETCORE && DISABLE_PROCESSES */
MONO_EMPTY_SOURCE_FILE (culture_w32_process_unix_language);
-4
View File
@@ -159,7 +159,6 @@
#define g_ptr_array_sized_new monoeg_g_ptr_array_sized_new
#define g_ptr_array_sort monoeg_g_ptr_array_sort
#define g_ptr_array_sort_with_data monoeg_g_ptr_array_sort_with_data
#define g_ptr_array_find monoeg_g_ptr_array_find
#define g_qsort_with_data monoeg_g_qsort_with_data
#define g_queue_free monoeg_g_queue_free
#define g_queue_is_empty monoeg_g_queue_is_empty
@@ -312,6 +311,3 @@
#define g_set_printerr_handler monoeg_set_printerr_handler
#define g_size_to_int monoeg_size_to_int
#define g_ascii_charcmp monoeg_ascii_charcmp
#define g_ascii_charcasecmp monoeg_ascii_charcasecmp
#define g_warning_d monoeg_warning_d
+1 -1
View File
@@ -179,7 +179,7 @@ g_get_current_dir (void)
} while (fail);
/* On amd64 sometimes the bottom 32-bits of r == the bottom 32-bits of buffer
* but the top 32-bits of r have overflown to 0xffffffff (seriously, getcwd
* but the top 32-bits of r have overflown to 0xffffffff (seriously wtf getcwd
* so we return the buffer here since it has a pointer to the valid string
*/
return buffer;
-10
View File
@@ -726,7 +726,6 @@ void g_ptr_array_set_size (GPtrArray *array, gint length);
gpointer *g_ptr_array_free (GPtrArray *array, gboolean free_seg);
void g_ptr_array_foreach (GPtrArray *array, GFunc func, gpointer user_data);
guint g_ptr_array_capacity (GPtrArray *array);
gboolean g_ptr_array_find (GPtrArray *array, gconstpointer needle, guint *index);
#define g_ptr_array_index(array,index) (array)->pdata[(index)]
//FIXME previous missing parens
@@ -780,7 +779,6 @@ GLogLevelFlags g_log_set_fatal_mask (const gchar *log_domain, GLogLevelFlags f
void g_logv (const gchar *log_domain, GLogLevelFlags log_level, const gchar *format, va_list args);
G_EXTERN_C // Used by MonoPosixHelper or MonoSupportW, at least.
void g_log (const gchar *log_domain, GLogLevelFlags log_level, const gchar *format, ...);
void g_log_disabled (const gchar *log_domain, GLogLevelFlags log_level, const char *file, int line);
G_EXTERN_C // Used by MonoPosixHelper or MonoSupportW, at least.
void g_assertion_message (const gchar *format, ...) G_GNUC_NORETURN;
void mono_assertion_message_disabled (const char *file, int line) G_GNUC_NORETURN;
@@ -788,7 +786,6 @@ void mono_assertion_message (const char *file, int line, const char *
void mono_assertion_message_unreachable (const char *file, int line) G_GNUC_NORETURN;
const char * g_get_assertion_message (void);
#ifndef DISABLE_ASSERT_MESSAGES
#ifdef HAVE_C99_SUPPORT
/* The for (;;) tells gc thats g_error () doesn't return, avoiding warnings */
#define g_error(format, ...) do { g_log (G_LOG_DOMAIN, G_LOG_LEVEL_ERROR, format, __VA_ARGS__); for (;;); } while (0)
@@ -803,13 +800,6 @@ const char * g_get_assertion_message (void);
#define g_message(...) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_MESSAGE, __VA_ARGS__)
#define g_debug(...) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, __VA_ARGS__)
#endif /* ndef HAVE_C99_SUPPORT */
#else
#define g_error(...) do { g_log_disabled (G_LOG_DOMAIN, G_LOG_LEVEL_ERROR, __FILE__, __LINE__); for (;;); } while (0)
#define g_critical(...) g_log_disabled (G_LOG_DOMAIN, G_LOG_LEVEL_CRITICAL, __FILE__, __LINE__)
#define g_warning(...) g_log_disabled (G_LOG_DOMAIN, G_LOG_LEVEL_WARNING, __FILE__, __LINE__)
#define g_message(...) g_log_disabled (G_LOG_DOMAIN, G_LOG_LEVEL_MESSAGE, __FILE__, __LINE__)
#define g_debug(...) g_log_disabled (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, __FILE__, __LINE__)
#endif
typedef void (*GLogFunc) (const gchar *log_domain, GLogLevelFlags log_level, const gchar *message, gpointer user_data);
typedef void (*GPrintFunc) (const gchar *string);
-6
View File
@@ -183,12 +183,6 @@ g_log (const gchar *log_domain, GLogLevelFlags log_level, const gchar *format, .
va_end (args);
}
void
g_log_disabled (const gchar *log_domain, GLogLevelFlags log_level, const char *file, int line)
{
g_log (log_domain, log_level, "%s:%d <disabled>", file, line);
}
static char *failure_assertion = NULL;
const char *
Loaded 100 of 474 files, more files were not shown because too many files have changed in this diff. Show more