mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-16 11:21:08 -10:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7328415ac5 | ||
|
|
20a03cdb8e | ||
|
|
5f805b6b03 | ||
|
|
4205769da9 | ||
|
|
5756e65a5c | ||
|
|
dfd7ba8ff6 | ||
|
|
623fc84874 | ||
|
|
f6d04a53f9 | ||
|
|
e5cb8c4e34 | ||
|
|
59ee4edb6e | ||
|
|
c58000534f | ||
|
|
30689421ab | ||
|
|
728b1e9258 | ||
|
|
d71eff1541 | ||
|
|
8e75f5a28e | ||
|
|
cd226d8452 | ||
|
|
481e856031 | ||
|
|
5d30ccbafc | ||
|
|
b1b58ccc0d | ||
|
|
123ac44eb3 | ||
|
|
6f23092e7c | ||
|
|
26ae896ecb | ||
|
|
990f516a4b | ||
|
|
ad95c02c2a | ||
|
|
d543f5e540 | ||
|
|
d724f744bc | ||
|
|
1f3fbedc39 | ||
|
|
45d996b7ba | ||
|
|
8aeab70720 | ||
|
|
ced76ae314 | ||
|
|
b854e882b4 | ||
|
|
fbfc91536f | ||
|
|
44d5fa37ad | ||
|
|
eb2267f30b | ||
|
|
6f0cc47bbf | ||
|
|
3cb098653b | ||
|
|
8afa37c663 | ||
|
|
5521167e5d | ||
|
|
84d66c6b35 | ||
|
|
39138f1ed5 | ||
|
|
dc1bd5bde1 | ||
|
|
e88d9ced3b | ||
|
|
f564c1d808 | ||
|
|
ef1589a6cd | ||
|
|
07e2ed7708 | ||
|
|
c73aa699d6 | ||
|
|
746ece2e0f | ||
|
|
1d85cba972 | ||
|
|
6d26f8ba24 | ||
|
|
669ed125e3 | ||
|
|
f51cfe74e3 | ||
|
|
1ebc801381 | ||
|
|
70219cc2b5 | ||
|
|
0161714a5a | ||
|
|
442aeedc5e | ||
|
|
2d845f0711 | ||
|
|
02b9be1282 | ||
|
|
2d567b395e | ||
|
|
5f44f27a0d | ||
|
|
5b33599427 | ||
|
|
5e05c87d3d | ||
|
|
89e7e5c210 | ||
|
|
e3b3a6f864 | ||
|
|
74243d9b93 | ||
|
|
92ce33daba | ||
|
|
0cd363fb98 | ||
|
|
a7aa383fc6 | ||
|
|
45f2b54612 | ||
|
|
9d9ec219c1 | ||
|
|
4835e29470 | ||
|
|
8a2dc9dc32 | ||
|
|
61ba224a6e | ||
|
|
350828e54c | ||
|
|
743ebf9c09 | ||
|
|
1ae5414a2c | ||
|
|
9d4e3ba229 | ||
|
|
9f129a6b3a | ||
|
|
462971120c | ||
|
|
ce43eb0beb | ||
|
|
4ca4a459ad | ||
|
|
601a2d6e8a | ||
|
|
d09e9e21b3 | ||
|
|
92f54ee4c2 | ||
|
|
71307187cb | ||
|
|
f0229da768 | ||
|
|
2921130fa8 | ||
|
|
a57e7e4d5f | ||
|
|
b258af8b7f | ||
|
|
c16f6e0955 | ||
|
|
9a66d68d96 | ||
|
|
957d1942d1 | ||
|
|
4c7c1181cf | ||
|
|
b3ce259316 | ||
|
|
b6d95e093b | ||
|
|
cb2d589e24 | ||
|
|
cb630c292c | ||
|
|
cf9935e136 | ||
|
|
be199e71b5 | ||
|
|
ae983fe58f | ||
|
|
fbe6a9618a | ||
|
|
218419e77b | ||
|
|
5d7d1b12be | ||
|
|
f87a9d7baf | ||
|
|
60643c36f5 | ||
|
|
c0aa77d2ea | ||
|
|
aafaa6d93f | ||
|
|
83083ef905 | ||
|
|
5d3116f4ff | ||
|
|
850af3ba40 | ||
|
|
a2fcf072e8 | ||
|
|
f8d27a4847 | ||
|
|
0372a381ad | ||
|
|
2058deb70f | ||
|
|
2b6531e9b4 | ||
|
|
e9560636b9 | ||
|
|
d8dda25c27 | ||
|
|
e1ba14ff82 | ||
|
|
28315c66b7 | ||
|
|
f026b9a31c | ||
|
|
3856ef71f8 | ||
|
|
a463d28a41 | ||
|
|
a64bca988d | ||
|
|
b601abd311 | ||
|
|
77ae877253 | ||
|
|
b923fc1651 | ||
|
|
74782ab634 | ||
|
|
0bced44f8f | ||
|
|
4647328f76 | ||
|
|
3059051ddd | ||
|
|
c94f94bb17 | ||
|
|
047ed897dd | ||
|
|
4456328a3e | ||
|
|
ee3a669dc3 | ||
|
|
9ecb588fc7 | ||
|
|
47ef5a8d6a | ||
|
|
24be27d5e7 | ||
|
|
47777a57c0 | ||
|
|
f963132ac8 | ||
|
|
1e27513c9b | ||
|
|
c9664e6c40 | ||
|
|
0edd8d4102 | ||
|
|
b35ae56d96 | ||
|
|
ffea1753d3 | ||
|
|
1bf3add26d | ||
|
|
9c0121161c | ||
|
|
5bd9f53dc0 | ||
|
|
1d94e306fb | ||
|
|
f047b0b299 | ||
|
|
dc7448f15f | ||
|
|
1da3a20c8b | ||
|
|
618cdf6ff7 | ||
|
|
6cb3c5bdbb | ||
|
|
6de06a3636 | ||
|
|
8b8ee716f4 | ||
|
|
b6ef72c244 | ||
|
|
b70c794f70 | ||
|
|
38850478fd | ||
|
|
793020489a | ||
|
|
96927e3532 | ||
|
|
163ab2747d | ||
|
|
ffb6ee3c0a | ||
|
|
f50ea76a08 | ||
|
|
51dfcfe5c0 | ||
|
|
174aeaa31c | ||
|
|
1d3e43ec3a | ||
|
|
b873e91b11 | ||
|
|
a79bf1902d | ||
|
|
336bbb079c | ||
|
|
380d60dc70 | ||
|
|
80a9ecba2e | ||
|
|
b3110cd291 | ||
|
|
c511814182 | ||
|
|
f562eb8869 | ||
|
|
28ba000f84 | ||
|
|
0d655a5eb6 | ||
|
|
a654692162 | ||
|
|
82d2277a08 | ||
|
|
7a0425e81f | ||
|
|
caf00ee3d6 | ||
|
|
872139a3e0 | ||
|
|
a0231c5fc3 | ||
|
|
9c62b13be4 | ||
|
|
d9ce741562 | ||
|
|
21e1d30efc | ||
|
|
09c44c9323 | ||
|
|
cec9dee254 | ||
|
|
dba7d43c7e | ||
|
|
32c3b17e50 | ||
|
|
2c2a1718a9 | ||
|
|
ab3cc22dfe | ||
|
|
d919597d26 | ||
|
|
a1b885f1fc | ||
|
|
9954695c4c | ||
|
|
99794efa11 | ||
|
|
ea8f106187 | ||
|
|
386ae0405d | ||
|
|
4ac081d6df | ||
|
|
61808b8f27 | ||
|
|
74f6d2ce2d | ||
|
|
ac71dd3a3a | ||
|
|
3a5d91fee2 | ||
|
|
bab1cde432 | ||
|
|
35153475a2 | ||
|
|
540da38191 | ||
|
|
e51b4af9cd | ||
|
|
4966fc22c4 | ||
|
|
07e6f1e605 | ||
|
|
c99dcebb15 | ||
|
|
363e89b403 | ||
|
|
e19ce7b433 | ||
|
|
aa46acadd4 | ||
|
|
a0658ed9b4 | ||
|
|
965b2eb778 | ||
|
|
f37c1c91dc | ||
|
|
df2f9b01d2 | ||
|
|
faee046f95 | ||
|
|
5ec4240614 | ||
|
|
497152e37c | ||
|
|
b4092e2011 | ||
|
|
ba14e69474 | ||
|
|
ad0b2b8e3d | ||
|
|
fdb5e61a5b | ||
|
|
2321bba344 | ||
|
|
0250810bc9 | ||
|
|
5246aaf492 | ||
|
|
f27ccd0432 | ||
|
|
dda38c4d17 | ||
|
|
9dc089f334 | ||
|
|
335a5949ad | ||
|
|
eaa32d1365 | ||
|
|
3b2e8e1102 | ||
|
|
51b5fa6421 | ||
|
|
335750b3ca | ||
|
|
3f5ade5246 | ||
|
|
5bf43dd0d0 | ||
|
|
2d187d76ae | ||
|
|
d5ed68483c | ||
|
|
b7a100c036 | ||
|
|
9c0403bc46 | ||
|
|
d35dc0bcf4 | ||
|
|
233077f452 | ||
|
|
a42f4fea6b | ||
|
|
e163c5b6a2 | ||
|
|
da0a7f2352 | ||
|
|
d163874806 | ||
|
|
bea273e99c | ||
|
|
dcfa0ec293 | ||
|
|
5c204cfb10 | ||
|
|
5c9b63da2e | ||
|
|
6489563f28 | ||
|
|
da59b3acab | ||
|
|
834bf5ede3 | ||
|
|
14ff5bd29a | ||
|
|
540e8d1d7b | ||
|
|
53d0017701 | ||
|
|
38356be989 | ||
|
|
df8f3c3c3d | ||
|
|
6bb89469e8 | ||
|
|
dd9bc98945 | ||
|
|
02e83f0ddc | ||
|
|
8446996cab | ||
|
|
8f0fbfcd95 | ||
|
|
8e071069af | ||
|
|
d2da900426 | ||
|
|
a1b68d97c3 | ||
|
|
7490cc0e2b | ||
|
|
2f56fc19dc | ||
|
|
78dbf5b308 | ||
|
|
783b96aa4c | ||
|
|
cec64d9b7f | ||
|
|
0c87593336 | ||
|
|
e2b1e065d0 | ||
|
|
2918655063 | ||
|
|
98320ecbde | ||
|
|
4490662bc0 | ||
|
|
01be43b9cb | ||
|
|
669ba26333 | ||
|
|
e35988adc0 | ||
|
|
b552da81ff | ||
|
|
38584afad0 | ||
|
|
8c8497e79f | ||
|
|
1a022edfcb | ||
|
|
13c5c4129e | ||
|
|
f24a85069b | ||
|
|
bab72f364a | ||
|
|
b9d0edb407 | ||
|
|
3905678ac5 | ||
|
|
b66f812449 | ||
|
|
f265d9a783 | ||
|
|
bcbb4cf5a6 | ||
|
|
b7274d8a27 | ||
|
|
33b0653c2c | ||
|
|
430570e18b | ||
|
|
169a842f4e | ||
|
|
866914eeff | ||
|
|
8e1f242bdb | ||
|
|
798f22399e | ||
|
|
049de7513a | ||
|
|
680481793a | ||
|
|
8d774f90bf | ||
|
|
ae1ba25fb1 | ||
|
|
cc7c5855c3 | ||
|
|
258c9de8d9 | ||
|
|
3546709b3f | ||
|
|
c2795c9cb5 | ||
|
|
c9e6754eea | ||
|
|
e96347b0ef | ||
|
|
f6e347ed11 | ||
|
|
5d59d699fc | ||
|
|
cff010202b | ||
|
|
e911de2a8b | ||
|
|
5633d5ccef | ||
|
|
fdc474bc46 | ||
|
|
6b3eb8aa82 | ||
|
|
ccadc65005 | ||
|
|
5270d49f71 | ||
|
|
ec646ff710 | ||
|
|
88cae11c6b | ||
|
|
9e1c7d5aa4 | ||
|
|
3148398386 | ||
|
|
e934687575 | ||
|
|
6442041b8b | ||
|
|
41508e493d | ||
|
|
c0c18ce34b | ||
|
|
e76b77a6b2 | ||
|
|
f627ac6c16 | ||
|
|
aff8690a9b | ||
|
|
fcb8bd80fe | ||
|
|
429d269d0f | ||
|
|
b2ec7fbfd9 | ||
|
|
d4cb7ce150 | ||
|
|
7e64403cfa | ||
|
|
0568261f20 | ||
|
|
98e3eb8345 | ||
|
|
82c4f32882 | ||
|
|
946a479729 | ||
|
|
72b3c27759 | ||
|
|
1763f53a4f | ||
|
|
3a04bff395 | ||
|
|
2c9ccaa46f | ||
|
|
1289c36895 | ||
|
|
bc8f971803 | ||
|
|
7f41366684 | ||
|
|
e5937caf97 | ||
|
|
2c5eb1993f | ||
|
|
0a37eeadec | ||
|
|
068b41946d | ||
|
|
17c4a60cd2 | ||
|
|
4821038587 | ||
|
|
12dd904025 | ||
|
|
b2f760ddb3 | ||
|
|
90560d3518 | ||
|
|
4eb9787f1b | ||
|
|
e400e13324 | ||
|
|
5c5be77f00 | ||
|
|
7f0b1b1037 | ||
|
|
3aa1bbb55f | ||
|
|
80f7953477 | ||
|
|
dfd748b695 | ||
|
|
bb019312d3 | ||
|
|
354c9e68b6 | ||
|
|
7ae1d80f03 | ||
|
|
a65055dbdf | ||
|
|
eb68dbc2b0 | ||
|
|
42f5d32e12 | ||
|
|
9545c24a15 | ||
|
|
b1e4d125c7 | ||
|
|
039a6890f4 | ||
|
|
be24f101bd | ||
|
|
123bee9620 | ||
|
|
aaf7a193cc | ||
|
|
a73d0c028f | ||
|
|
5a71ba15f3 | ||
|
|
e71879085d | ||
|
|
a5fd1cd86f | ||
|
|
a87a90463e | ||
|
|
6e6f67669d | ||
|
|
a448a33fd7 | ||
|
|
e4eb2f0efc | ||
|
|
bc3f47fdf5 | ||
|
|
d5daeeab9a | ||
|
|
fdb3893c09 | ||
|
|
585d92f375 | ||
|
|
b653274418 | ||
|
|
acddc9c5c9 | ||
|
|
6e5c15cea5 | ||
|
|
5a45ab6630 | ||
|
|
f9faa296b8 | ||
|
|
5a3e168af2 | ||
|
|
fc7ea0aa0e | ||
|
|
e4fbccac0a | ||
|
|
9bfe456516 | ||
|
|
f821cf4f80 | ||
|
|
ced27c7de3 | ||
|
|
34cccfa2fd | ||
|
|
1167f95932 | ||
|
|
fda7280cea | ||
|
|
1fa5c1e0eb | ||
|
|
29214fcbf1 | ||
|
|
ed23e5e41a | ||
|
|
a26d2f0c3e | ||
|
|
e3f31b2bdc | ||
|
|
198e323fc2 | ||
|
|
4f7cc4db7e | ||
|
|
a4a19c3cb4 | ||
|
|
b33943df2b | ||
|
|
c6fa6f773a | ||
|
|
cd024dc80f | ||
|
|
a0d69a4e87 | ||
|
|
1386af6071 | ||
|
|
42c76a9728 | ||
|
|
8fbdc3ea44 | ||
|
|
a562759d6e | ||
|
|
54256b61e9 | ||
|
|
c683499ad3 | ||
|
|
36c1034f4b | ||
|
|
c5149e31b4 | ||
|
|
c991c1d4c4 |
No files matched your search
+23
-23
@@ -18,11 +18,11 @@
|
||||
/acceptance-tests/profiler-stress* @BrzVlad @akoeplinger
|
||||
|
||||
/data @directhex @akoeplinger
|
||||
/data/gdb @lewurm @vargaz
|
||||
/data/lldb @lewurm @vargaz
|
||||
/data/gdb @vargaz
|
||||
/data/lldb @vargaz
|
||||
|
||||
/docs @marek-safar @akoeplinger
|
||||
/docs/riscv.md @alexrp @lewurm
|
||||
/docs/riscv.md @alexrp
|
||||
/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 @lewurm
|
||||
/mcs/ilasm @marek-safar @lewurm
|
||||
/mcs/jay @marek-safar @lewurm
|
||||
/mcs/mcs @marek-safar @lewurm
|
||||
/mcs/tests @marek-safar @lewurm
|
||||
/mcs/errors @marek-safar
|
||||
/mcs/ilasm @marek-safar
|
||||
/mcs/jay @marek-safar
|
||||
/mcs/mcs @marek-safar
|
||||
/mcs/tests @marek-safar
|
||||
|
||||
/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 @lewurm
|
||||
/mono/arch @vargaz
|
||||
|
||||
/mono/btls @baulig @marek-safar
|
||||
/mono/dis @lambdageek @vargaz
|
||||
/mono/eglib @vargaz @lambdageek
|
||||
|
||||
/mono/benchmark @SamMonoRT @lewurm
|
||||
/mono/benchmark @SamMonoRT
|
||||
|
||||
/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 @lewurm @lambdageek @SamMonoRT
|
||||
/mono/mini/*cfgdump* @lewurm @vargaz
|
||||
/mono/mini/*exceptions* @lewurm @vargaz @BrzVlad
|
||||
/mono/mini @vargaz @lambdageek @SamMonoRT
|
||||
/mono/mini/*cfgdump* @vargaz
|
||||
/mono/mini/*exceptions* @vargaz @BrzVlad
|
||||
/mono/mini/*ppc* @lewurm @vargaz
|
||||
/mono/mini/*riscv* @alexrp @lewurm
|
||||
/mono/mini/*type-check* @lewurm @lambdageek
|
||||
/mono/mini/*type-check* @lambdageek
|
||||
/mono/mini/*llvm* @vargaz @imhameed
|
||||
/mono/mini/interp/* @lewurm @BrzVlad
|
||||
/mono/mini/interp/* @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 @lewurm @rolfbjarne
|
||||
/mono/tools/offsets-tool @rolfbjarne
|
||||
|
||||
/mono/utils @vargaz @lewurm @lambdageek
|
||||
/mono/utils/atomic* @lewurm @vargaz
|
||||
/mono/utils/mono-hwcap* @lewurm @vargaz
|
||||
/mono/utils/mono-mem* @lewurm @vargaz
|
||||
/mono/utils @vargaz @lambdageek
|
||||
/mono/utils/atomic* @vargaz
|
||||
/mono/utils/mono-hwcap* @vargaz
|
||||
/mono/utils/mono-mem* @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 @lewurm
|
||||
/samples @lambdageek
|
||||
/samples/profiler @BrzVlad @lambdageek
|
||||
/samples/size @alexrp @lambdageek
|
||||
|
||||
/scripts @akoeplinger @directhex
|
||||
/scripts/ci @akoeplinger @directhex
|
||||
|
||||
/sdks @marek-safar @lewurm @vargaz @lambdageek
|
||||
/sdks @marek-safar @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 @lewurm
|
||||
/tools/pedump @lambdageek
|
||||
/tools/sgen @brzvlad @vargaz @naricc
|
||||
@@ -43,5 +43,5 @@ Please paste the stack trace here if available.
|
||||
```
|
||||
|
||||
<!--
|
||||
You can join us at https://gitter.im/mono/mono to discuss your reported issue
|
||||
You can join us on Discord (https://aka.ms/dotnet-discord) in the #monovm channel to discuss your reported issue
|
||||
-->
|
||||
@@ -18,6 +18,7 @@
|
||||
*.vssscc
|
||||
*_i.c
|
||||
*_p.c
|
||||
*.mdb
|
||||
*.ncb
|
||||
*.suo
|
||||
*.tlb
|
||||
|
||||
@@ -76,7 +76,7 @@ The Licenses
|
||||
|
||||
These are the licenses used in Mono, the files are located:
|
||||
|
||||
### MIT X11 License
|
||||
### MIT License
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of this software and associated documentation files (the
|
||||
|
||||
@@ -5,7 +5,13 @@ standards for C# and the Common Language Runtime.
|
||||
|
||||
The Mono project is part of the [.NET Foundation](https://www.dotnetfoundation.org/)
|
||||
|
||||
[](https://gitter.im/mono/mono?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
||||
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
|
||||
|
||||
1. [Compilation and Installation](#compilation-and-installation)
|
||||
2. [Using Mono](#using-mono)
|
||||
|
||||
+4
-48
@@ -1,50 +1,6 @@
|
||||
# Contributor Code of Conduct
|
||||
# Code of Conduct
|
||||
|
||||
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.
|
||||
This project has adopted the code of conduct defined by the Contributor Covenant
|
||||
to clarify expected behavior in our community.
|
||||
|
||||
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/
|
||||
For more information, see the [.NET Foundation Code of Conduct](https://dotnetfoundation.org/code-of-conduct).
|
||||
+169
-20
@@ -139,13 +139,14 @@ 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
|
||||
platform_wasm=yes
|
||||
host_wasm=yes
|
||||
# FIXME:
|
||||
RID="osx-x64"
|
||||
COREARCH="wasm32"
|
||||
@@ -320,6 +321,11 @@ 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
|
||||
@@ -392,15 +398,23 @@ 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"
|
||||
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"
|
||||
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
|
||||
@@ -442,6 +456,10 @@ case "$host" in
|
||||
platform_ios=yes
|
||||
has_dtrace=no
|
||||
;;
|
||||
aarch64*-darwin20*)
|
||||
# OSX/arm64
|
||||
support_boehm=no
|
||||
;;
|
||||
aarch64*-darwin*)
|
||||
platform_ios=yes
|
||||
;;
|
||||
@@ -577,7 +595,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$platform_wasm = xyes)
|
||||
AM_CONDITIONAL(HOST_WASM, test x$host_wasm = xyes)
|
||||
AM_CONDITIONAL(HOST_AIX, test x$host_aix = xyes)
|
||||
|
||||
if test -z "$HOST_DARWIN_TRUE"; then :
|
||||
@@ -758,7 +776,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
|
||||
@@ -870,7 +888,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"
|
||||
CFLAGS="$CFLAGS -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -Wno-format-zero-length -Wc++-compat"
|
||||
|
||||
# We require C99 with some GNU extensions, e.g. `linux` macro
|
||||
CFLAGS="$CFLAGS -std=gnu99"
|
||||
@@ -1107,7 +1125,10 @@ AC_ARG_WITH(csc, [ --with-csc=mcs,roslyn,default Configures the CSharp com
|
||||
|
||||
if test $csc_compiler = default; then
|
||||
if test $endian = big; then
|
||||
csc_compiler=mcs
|
||||
case "$host" in
|
||||
s390x*) csc_compiler=roslyn ;;
|
||||
*) csc_compiler=mcs
|
||||
esac
|
||||
elif test $endian = little; then
|
||||
case "$host" in
|
||||
powerpc*) csc_compiler=mcs ;;
|
||||
@@ -1198,6 +1219,7 @@ 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)
|
||||
@@ -1292,6 +1314,12 @@ 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
|
||||
@@ -1389,7 +1417,8 @@ if test x$with_runtime_preset = xnetcore; then
|
||||
mono_feature_disable_gac='yes'
|
||||
mono_feature_disable_perfcounters='yes'
|
||||
mono_feature_disable_attach='yes'
|
||||
if test "x$enable_monodroid" = "x" -a "x$enable_monotouch" = "x"; then
|
||||
mono_feature_disable_cfgdir_config='yes'
|
||||
if test "x$enable_monodroid" = "xno" -a "x$enable_monotouch" = "xno"; then
|
||||
mono_feature_disable_dllmap='yes' # FIXME: the mobile products use this
|
||||
fi
|
||||
disable_mono_native=yes
|
||||
@@ -1679,6 +1708,7 @@ 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"])
|
||||
@@ -1765,9 +1795,7 @@ 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_debug_helpers, sockets, gac, threads, processes.],
|
||||
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.],
|
||||
[
|
||||
for feature in `echo "$enable_minimal" | sed -e "s/,/ /g"`; do
|
||||
eval "mono_feature_disable_$feature='yes'"
|
||||
@@ -1963,7 +1991,6 @@ 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.])
|
||||
@@ -1974,11 +2001,21 @@ 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])
|
||||
@@ -2004,6 +2041,22 @@ 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)
|
||||
|
||||
@@ -2198,6 +2251,9 @@ 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)
|
||||
@@ -2256,14 +2312,13 @@ 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 i offering this function.
|
||||
# IBM provides a compatibility library for 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)
|
||||
@@ -2729,7 +2784,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"
|
||||
@@ -2772,7 +2827,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)
|
||||
AC_CHECK_FUNCS(pthread_kill pthread_jit_write_protect_np)
|
||||
AC_MSG_CHECKING(for PTHREAD_MUTEX_RECURSIVE)
|
||||
AC_TRY_COMPILE([ #include <pthread.h>], [
|
||||
pthread_mutexattr_t attr;
|
||||
@@ -3197,7 +3252,6 @@ 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)
|
||||
@@ -3903,6 +3957,19 @@ 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)
|
||||
@@ -3921,6 +3988,8 @@ 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 *********************************
|
||||
@@ -4616,7 +4685,7 @@ case "$host" in
|
||||
ACCESS_UNALIGNED="yes"
|
||||
BTLS_SUPPORTED=yes
|
||||
BTLS_PLATFORM=s390x
|
||||
CFLAGS="$CFLAGS -mbackchain -D__USE_STRING_INLINES"
|
||||
CFLAGS="$CFLAGS -mbackchain"
|
||||
;;
|
||||
riscv32-*)
|
||||
TARGET=RISCV32
|
||||
@@ -4715,6 +4784,12 @@ 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
|
||||
;;
|
||||
@@ -4927,7 +5002,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" = "xARM" -o "x$TARGET" = "xARM64" -o "x$TARGET" = "xARM6432"; then
|
||||
elif test "x$TARGET_SYS" = "xIOS" -o "x$TARGET" = "xARM" -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"
|
||||
@@ -4943,6 +5018,9 @@ 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"
|
||||
@@ -6133,8 +6211,8 @@ fi
|
||||
AC_SUBST(mono_runtime)
|
||||
AC_SUBST(mono_runtime_wrapper)
|
||||
|
||||
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
|
||||
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
|
||||
|
||||
if test $csc_compiler = mcs; then
|
||||
CSC=$mcs_topdir/class/lib/build/mcs.exe
|
||||
@@ -6731,8 +6809,10 @@ 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
|
||||
@@ -6765,6 +6845,18 @@ 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
|
||||
@@ -6783,6 +6875,63 @@ 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
@@ -22,7 +22,7 @@ Layout
|
||||
as well as the upcoming Monodoc tools and index creation
|
||||
tools).
|
||||
|
||||
The files can contain any ammount of extra information.
|
||||
The files can contain any amount of extra information.
|
||||
|
||||
The documentation from the source code is then merged with
|
||||
these files and the header/footer information to produce
|
||||
|
||||
@@ -15,13 +15,13 @@
|
||||
</Dependency>
|
||||
</ProductDependencies>
|
||||
<ToolsetDependencies>
|
||||
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="5.0.0-beta.20171.1">
|
||||
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="5.0.0-beta.20201.2">
|
||||
<Uri>https://github.com/dotnet/arcade</Uri>
|
||||
<Sha>7dbc907fa03eacf4c57f827cb4235d77b7ed4fcd</Sha>
|
||||
<Sha>bce0a98620c1c5a110b2bba9912f3d5929069c6b</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="5.0.0-beta.20171.1">
|
||||
<Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="5.0.0-beta.20201.2">
|
||||
<Uri>https://github.com/dotnet/arcade</Uri>
|
||||
<Sha>7dbc907fa03eacf4c57f827cb4235d77b7ed4fcd</Sha>
|
||||
<Sha>bce0a98620c1c5a110b2bba9912f3d5929069c6b</Sha>
|
||||
</Dependency>
|
||||
</ToolsetDependencies>
|
||||
</Dependencies>
|
||||
@@ -2,15 +2,16 @@
|
||||
|
||||
usage()
|
||||
{
|
||||
echo "Usage: $0 [BuildArch] [LinuxCodeName] [lldbx.y] [--skipunmount] --rootfsdir <directory>]"
|
||||
echo "Usage: $0 [BuildArch] [CodeName] [lldbx.y] [--skipunmount] --rootfsdir <directory>]"
|
||||
echo "BuildArch can be: arm(default), armel, arm64, x86"
|
||||
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 "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 "--skipunmount - optional, will skip the unmount of rootfs folder."
|
||||
exit 1
|
||||
}
|
||||
|
||||
__LinuxCodeName=xenial
|
||||
__CodeName=xenial
|
||||
__CrossDir=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
|
||||
__InitialDir=$PWD
|
||||
__BuildArch=arm
|
||||
@@ -53,6 +54,15 @@ __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
|
||||
@@ -81,7 +91,7 @@ while :; do
|
||||
__BuildArch=armel
|
||||
__UbuntuArch=armel
|
||||
__UbuntuRepo="http://ftp.debian.org/debian/"
|
||||
__LinuxCodeName=jessie
|
||||
__CodeName=jessie
|
||||
;;
|
||||
x86)
|
||||
__BuildArch=x86
|
||||
@@ -110,36 +120,36 @@ while :; do
|
||||
unset __LLDB_Package
|
||||
;;
|
||||
trusty) # Ubuntu 14.04
|
||||
if [ "$__LinuxCodeName" != "jessie" ]; then
|
||||
__LinuxCodeName=trusty
|
||||
if [ "$__CodeName" != "jessie" ]; then
|
||||
__CodeName=trusty
|
||||
fi
|
||||
;;
|
||||
xenial) # Ubuntu 16.04
|
||||
if [ "$__LinuxCodeName" != "jessie" ]; then
|
||||
__LinuxCodeName=xenial
|
||||
if [ "$__CodeName" != "jessie" ]; then
|
||||
__CodeName=xenial
|
||||
fi
|
||||
;;
|
||||
zesty) # Ubuntu 17.04
|
||||
if [ "$__LinuxCodeName" != "jessie" ]; then
|
||||
__LinuxCodeName=zesty
|
||||
if [ "$__CodeName" != "jessie" ]; then
|
||||
__CodeName=zesty
|
||||
fi
|
||||
;;
|
||||
bionic) # Ubuntu 18.04
|
||||
if [ "$__LinuxCodeName" != "jessie" ]; then
|
||||
__LinuxCodeName=bionic
|
||||
if [ "$__CodeName" != "jessie" ]; then
|
||||
__CodeName=bionic
|
||||
fi
|
||||
;;
|
||||
jessie) # Debian 8
|
||||
__LinuxCodeName=jessie
|
||||
__CodeName=jessie
|
||||
__UbuntuRepo="http://ftp.debian.org/debian/"
|
||||
;;
|
||||
stretch) # Debian 9
|
||||
__LinuxCodeName=stretch
|
||||
__CodeName=stretch
|
||||
__UbuntuRepo="http://ftp.debian.org/debian/"
|
||||
__LLDB_Package="liblldb-6.0-dev"
|
||||
;;
|
||||
buster) # Debian 10
|
||||
__LinuxCodeName=buster
|
||||
__CodeName=buster
|
||||
__UbuntuRepo="http://ftp.debian.org/debian/"
|
||||
__LLDB_Package="liblldb-6.0-dev"
|
||||
;;
|
||||
@@ -149,14 +159,22 @@ while :; do
|
||||
usage;
|
||||
exit 1;
|
||||
fi
|
||||
__LinuxCodeName=
|
||||
__CodeName=
|
||||
__UbuntuRepo=
|
||||
__Tizen=tizen
|
||||
;;
|
||||
alpine)
|
||||
__LinuxCodeName=alpine
|
||||
__CodeName=alpine
|
||||
__UbuntuRepo=
|
||||
;;
|
||||
freebsd11)
|
||||
__FreeBSDBase="11.3-RELEASE"
|
||||
;&
|
||||
freebsd12)
|
||||
__CodeName=freebsd
|
||||
__BuildArch=x64
|
||||
__SkipUnmount=1
|
||||
;;
|
||||
--skipunmount)
|
||||
__SkipUnmount=1
|
||||
;;
|
||||
@@ -192,7 +210,7 @@ if [ -d "$__RootfsDir" ]; then
|
||||
rm -rf $__RootfsDir
|
||||
fi
|
||||
|
||||
if [[ "$__LinuxCodeName" == "alpine" ]]; then
|
||||
if [[ "$__CodeName" == "alpine" ]]; then
|
||||
__ApkToolsVersion=2.9.1
|
||||
__AlpineVersion=3.9
|
||||
__ApkToolsDir=$(mktemp -d)
|
||||
@@ -218,9 +236,24 @@ if [[ "$__LinuxCodeName" == "alpine" ]]; then
|
||||
add $__AlpinePackagesEdgeTesting
|
||||
|
||||
rm -r $__ApkToolsDir
|
||||
elif [[ -n $__LinuxCodeName ]]; then
|
||||
qemu-debootstrap --arch $__UbuntuArch $__LinuxCodeName $__RootfsDir $__UbuntuRepo
|
||||
cp $__CrossDir/$__BuildArch/sources.list.$__LinuxCodeName $__RootfsDir/etc/apt/sources.list
|
||||
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
|
||||
chroot $__RootfsDir apt-get update
|
||||
chroot $__RootfsDir apt-get -f -y install
|
||||
chroot $__RootfsDir apt-get -y install $__UbuntuPackages
|
||||
@@ -230,7 +263,7 @@ elif [[ -n $__LinuxCodeName ]]; then
|
||||
umount $__RootfsDir/*
|
||||
fi
|
||||
|
||||
if [[ "$__BuildArch" == "arm" && "$__LinuxCodeName" == "trusty" ]]; then
|
||||
if [[ "$__BuildArch" == "arm" && "$__CodeName" == "trusty" ]]; then
|
||||
pushd $__RootfsDir
|
||||
patch -p1 < $__CrossDir/$__BuildArch/trusty.patch
|
||||
patch -p1 < $__CrossDir/$__BuildArch/trusty-lttng-2.4.patch
|
||||
|
||||
@@ -1,7 +1,11 @@
|
||||
set(CROSS_ROOTFS $ENV{ROOTFS_DIR})
|
||||
|
||||
set(TARGET_ARCH_NAME $ENV{TARGET_BUILD_ARCH})
|
||||
set(CMAKE_SYSTEM_NAME Linux)
|
||||
if(EXISTS ${CROSS_ROOTFS}/bin/freebsd-version)
|
||||
set(CMAKE_SYSTEM_NAME FreeBSD)
|
||||
else()
|
||||
set(CMAKE_SYSTEM_NAME Linux)
|
||||
endif()
|
||||
set(CMAKE_SYSTEM_VERSION 1)
|
||||
|
||||
if(TARGET_ARCH_NAME STREQUAL "armel")
|
||||
@@ -27,6 +31,9 @@ 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()
|
||||
@@ -60,6 +67,12 @@ 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,6 +53,13 @@ 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,6 +167,13 @@ 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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -33,6 +33,10 @@ 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
|
||||
|
||||
@@ -6,10 +6,6 @@ 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 {
|
||||
@@ -29,6 +25,10 @@ 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 = {
|
||||
|
||||
@@ -12,6 +12,10 @@ 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
|
||||
@@ -58,6 +62,6 @@ try {
|
||||
}
|
||||
catch {
|
||||
Write-Host $_.ScriptStackTrace
|
||||
Write-PipelineTelemetryError -Category 'Sdl' -Message $_
|
||||
Write-PipelineTelemetryError -Force -Category 'Sdl' -Message $_
|
||||
ExitWithExitCode 1
|
||||
}
|
||||
@@ -12,6 +12,10 @@ $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
|
||||
@@ -62,4 +66,4 @@ catch {
|
||||
Write-Host $_.ScriptStackTrace
|
||||
Write-PipelineTelemetryError -Category 'Sdl' -Message $_
|
||||
ExitWithExitCode 1
|
||||
}
|
||||
}
|
||||
@@ -16,6 +16,10 @@ $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
|
||||
@@ -64,6 +68,6 @@ try {
|
||||
}
|
||||
catch {
|
||||
Write-Host $_.ScriptStackTrace
|
||||
Write-PipelineTelemetryError -Category 'Sdl' -Message $_
|
||||
Write-PipelineTelemetryError -Force -Category 'Sdl' -Message $_
|
||||
ExitWithExitCode 1
|
||||
}
|
||||
}
|
||||
@@ -24,6 +24,8 @@ parameters:
|
||||
enablePublishBuildAssets: false
|
||||
enablePublishTestResults: false
|
||||
enablePublishUsingPipelines: false
|
||||
mergeTestResults: false
|
||||
testRunTitle: $(AgentOsName)-$(BuildConfiguration)-xunit
|
||||
name: ''
|
||||
preSteps: []
|
||||
runAsPublic: false
|
||||
@@ -194,6 +196,8 @@ 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 Core 5 Dev
|
||||
- name: NetCore_5_Dev_Channel_Id
|
||||
# .NET 5 Dev
|
||||
- name: Net_5_Dev_Channel_Id
|
||||
value: 131
|
||||
|
||||
# .NET Eng - Validation
|
||||
@@ -96,4 +96,4 @@ variables:
|
||||
- name: skipComponentGovernanceDetection
|
||||
value: true
|
||||
- name: runCodesignValidationInjection
|
||||
value: false
|
||||
value: false
|
||||
@@ -27,7 +27,7 @@ parameters:
|
||||
# needs to be updated with the new channel ID
|
||||
NetEngLatestChannelId: 2
|
||||
NetEngValidationChannelId: 9
|
||||
NetCoreDev5ChannelId: 131
|
||||
NetDev5ChannelId: 131
|
||||
GeneralTestingChannelId: 529
|
||||
NETCoreToolingDevChannelId: 548
|
||||
NETCoreToolingReleaseChannelId: 549
|
||||
@@ -35,8 +35,10 @@ parameters:
|
||||
NETCoreExperimentalChannelId: 562
|
||||
NetEngServicesIntChannelId: 678
|
||||
NetEngServicesProdChannelId: 679
|
||||
Net5Preview1ChannelId: 737
|
||||
Net5Preview2ChannelId: 738
|
||||
Net5Preview3ChannelId: 739
|
||||
NetCoreSDK313xxChannelId: 759
|
||||
NetCoreSDK313xxInternalChannelId: 760
|
||||
|
||||
stages:
|
||||
- stage: Validate
|
||||
@@ -63,7 +65,7 @@ stages:
|
||||
inputs:
|
||||
filePath: $(Build.SourcesDirectory)/eng/common/post-build/check-channel-consistency.ps1
|
||||
arguments: -PromoteToChannels "$(InitialChannels)[$(PromoteToMaestroChannelId)]"
|
||||
-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}}
|
||||
-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}}
|
||||
|
||||
- job:
|
||||
displayName: NuGet Validation
|
||||
@@ -198,23 +200,9 @@ stages:
|
||||
publishInstallersAndChecksums: ${{ parameters.publishInstallersAndChecksums }}
|
||||
symbolPublishingAdditionalParameters: ${{ parameters.symbolPublishingAdditionalParameters }}
|
||||
stageName: 'NetCore_Dev5_Publish'
|
||||
channelName: '.NET Core 5 Dev'
|
||||
channelName: '.NET 5 Dev'
|
||||
akaMSChannelName: 'net5/dev'
|
||||
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 }}
|
||||
channelId: ${{ parameters.NetDev5ChannelId }}
|
||||
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'
|
||||
@@ -233,6 +221,20 @@ 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 }}
|
||||
@@ -352,3 +354,29 @@ 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
@@ -77,7 +77,7 @@ function ResolvePath {
|
||||
function ReadGlobalVersion {
|
||||
local key=$1
|
||||
|
||||
local line=`grep -m 1 "$key" "$global_json_file"`
|
||||
local line=$(awk "/$key/ {print; exit}" "$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=`grep -m 1 "runtimes" "$global_json_file"` || true
|
||||
dotnetlocal_key=$(awk "/runtimes/ {print; exit}" "$global_json_file") || true
|
||||
if [[ -n "$dotnetlocal_key" ]]; then
|
||||
global_json_has_runtimes=true
|
||||
fi
|
||||
|
||||
Vendored
+1
-1
Submodule external/api-snapshot updated: 08f847d614...e543779364.
Vendored
+1
-1
Submodule external/binary-reference-assemblies updated: e68046d510...680013abda.
Vendored
+1
-1
Submodule external/bockbuild updated: efde5e63c8...93607d34ad.
Vendored
+1
-1
Submodule external/corefx updated: bec9343705...7c24bb0756.
Vendored
+1
-1
Submodule external/ikvm updated: 8362227c5b...26d148421c.
Vendored
+1
-1
Submodule external/linker updated: e1c7a72951...40922458d2.
Vendored
+1
-1
Submodule external/roslyn-binaries updated: a8984d0533...04556aa2c2.
+2
-2
@@ -3,7 +3,7 @@
|
||||
"dotnet": "5.0.100-alpha1-015772"
|
||||
},
|
||||
"msbuild-sdks": {
|
||||
"Microsoft.DotNet.Arcade.Sdk": "5.0.0-beta.20171.1",
|
||||
"Microsoft.DotNet.Helix.Sdk": "5.0.0-beta.20171.1"
|
||||
"Microsoft.DotNet.Arcade.Sdk": "5.0.0-beta.20201.2",
|
||||
"Microsoft.DotNet.Helix.Sdk": "5.0.0-beta.20201.2"
|
||||
}
|
||||
}
|
||||
+3
-1
@@ -9,6 +9,8 @@ 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)
|
||||
|
||||
@@ -43,7 +45,7 @@ configure-llvm: $(LLVM_BUILD)/$(if $(NINJA),build.ninja,Makefile)
|
||||
|
||||
.PHONY: build-llvm
|
||||
build-llvm: configure-llvm
|
||||
DESTDIR="" $(if $(NINJA),$(NINJA),$(MAKE) -j) -C $(LLVM_BUILD)
|
||||
DESTDIR="" $(if $(NINJA),$(NINJA),$(MAKE) -j$(CPU_COUNT)) -C $(LLVM_BUILD)
|
||||
|
||||
.PHONY: install-llvm
|
||||
install-llvm: build-llvm
|
||||
|
||||
@@ -16,6 +16,7 @@ AC_DEFUN([AC_MONO_OUTPUT], [
|
||||
llvm/Makefile
|
||||
mono/Makefile
|
||||
mono/btls/Makefile
|
||||
mono/culture/Makefile
|
||||
mono/native/Makefile
|
||||
mono/utils/Makefile
|
||||
mono/metadata/Makefile
|
||||
|
||||
@@ -430,10 +430,9 @@ namespace I18N.CJK
|
||||
}
|
||||
#else
|
||||
|
||||
public override int GetByteCount(char[] chars, int index, int count, bool refresh)
|
||||
public override int GetByteCount(char[] chars, int start, int count, bool refresh)
|
||||
{
|
||||
int start = 0;
|
||||
int end = count;
|
||||
int end = start + count;
|
||||
int ret = 0;
|
||||
while (start < end)
|
||||
{
|
||||
|
||||
@@ -92,6 +92,14 @@ 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,7 +315,6 @@ namespace Mono.Debugger.Soft
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
class AssemblyModifier : Modifier {
|
||||
public long[] Assemblies {
|
||||
get; set;
|
||||
@@ -409,6 +408,7 @@ namespace Mono.Debugger.Soft
|
||||
public ErrorCode ErrorCode {
|
||||
get; set;
|
||||
}
|
||||
|
||||
public string ErrorMessage {
|
||||
get; set;
|
||||
}
|
||||
@@ -807,6 +807,10 @@ namespace Mono.Debugger.Soft
|
||||
get; set;
|
||||
}
|
||||
|
||||
public string ErrorMsg {
|
||||
get; internal set;
|
||||
}
|
||||
|
||||
public int Command {
|
||||
get; set;
|
||||
}
|
||||
@@ -815,10 +819,6 @@ namespace Mono.Debugger.Soft
|
||||
get; set;
|
||||
}
|
||||
|
||||
public string ErrorMsg {
|
||||
get; internal set;
|
||||
}
|
||||
|
||||
public int Offset {
|
||||
get {
|
||||
return offset;
|
||||
@@ -873,6 +873,7 @@ namespace Mono.Debugger.Soft
|
||||
|
||||
public ValueImpl ReadValue () {
|
||||
ElementType etype = (ElementType)ReadByte ();
|
||||
|
||||
switch (etype) {
|
||||
case ElementType.Void:
|
||||
return new ValueImpl { Type = etype };
|
||||
@@ -1322,7 +1323,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);
|
||||
@@ -2753,6 +2754,21 @@ 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,9 +70,10 @@ namespace Mono.Debugger.Soft
|
||||
sb.Append(Name);
|
||||
sb.Append(" ");
|
||||
sb.Append("(");
|
||||
for (var i = 0; i < param_info.Length; i++) {
|
||||
sb.Append(param_info[i].ParameterType.Name);
|
||||
if (i != param_info.Length - 1)
|
||||
var parameters = GetParameters ();
|
||||
for (var i = 0; i < parameters.Length; i++) {
|
||||
sb.Append(parameters[i].ParameterType.Name);
|
||||
if (i != parameters.Length - 1)
|
||||
sb.Append(", ");
|
||||
}
|
||||
sb.Append(")");
|
||||
|
||||
@@ -70,5 +70,5 @@ namespace Mono.Debugger.Soft
|
||||
return info.SourceLink;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -39,6 +39,8 @@ 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,6 +471,14 @@ public class Tests : TestsBase, ITest2
|
||||
|
||||
#pragma warning restore 0414
|
||||
|
||||
public string BreakInField
|
||||
{
|
||||
get {
|
||||
Debugger.Break ();
|
||||
return "Foo";
|
||||
}
|
||||
}
|
||||
|
||||
public class NestedClass {
|
||||
}
|
||||
|
||||
|
||||
@@ -1806,7 +1806,7 @@ public class DebuggerTests
|
||||
t = frame.Method.GetParameters ()[7].ParameterType;
|
||||
|
||||
var props = t.GetProperties ();
|
||||
Assert.AreEqual (3, props.Length);
|
||||
Assert.AreEqual (4, props.Length);
|
||||
foreach (PropertyInfoMirror prop in props) {
|
||||
ParameterInfoMirror[] indexes = prop.GetIndexParameters ();
|
||||
|
||||
@@ -4953,6 +4953,23 @@ 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,9 +184,7 @@
|
||||
</When>
|
||||
<When Condition="'$(Platform)' == 'wasm'">
|
||||
<ItemGroup>
|
||||
<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" />
|
||||
<Compile Include="corefx\BrotliStubs.cs" />
|
||||
</ItemGroup>
|
||||
</When>
|
||||
<When Condition="'$(Platform)' == 'unreal'">
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
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
|
||||
@@ -0,0 +1,5 @@
|
||||
#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
|
||||
@@ -38,7 +38,7 @@ LIB_MCS_FLAGS += -d:XAMARIN_MODERN
|
||||
endif
|
||||
|
||||
ifeq (wasm,$(PROFILE))
|
||||
API_BIN_REFS := WebAssembly.Net.Http
|
||||
API_BIN_REFS := System.Net.Http.WebAssemblyHttpHandler
|
||||
endif
|
||||
|
||||
TEST_LIB_REFS = System System.Core
|
||||
|
||||
@@ -1407,9 +1407,9 @@
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup Condition=" '$(Platform)' == 'wasm' ">
|
||||
<Reference Include="./../../../external/binary-reference-assemblies/build/monowasm/WebAssembly.Net.Http.dll">
|
||||
<Reference Include="./../../../external/binary-reference-assemblies/build/monowasm/System.Net.Http.WebAssemblyHttpHandler.dll">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>./../../../external/binary-reference-assemblies/build/monowasm/WebAssembly.Net.Http.dll</HintPath>
|
||||
<HintPath>./../../../external/binary-reference-assemblies/build/monowasm/System.Net.Http.WebAssemblyHttpHandler.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
|
||||
@@ -2,6 +2,6 @@ namespace System.Net.Http
|
||||
{
|
||||
public partial class HttpClient
|
||||
{
|
||||
static HttpMessageHandler CreateDefaultHandler () => new WebAssembly.Net.Http.HttpClient.WasmHttpMessageHandler ();
|
||||
static HttpMessageHandler CreateDefaultHandler () => new System.Net.Http.WebAssemblyHttpHandler ();
|
||||
}
|
||||
}
|
||||
@@ -13,11 +13,11 @@ namespace System.Net.Http
|
||||
{
|
||||
public class HttpClientHandler : HttpMessageHandler
|
||||
{
|
||||
WebAssembly.Net.Http.HttpClient.WasmHttpMessageHandler wasmHandler;
|
||||
System.Net.Http.WebAssemblyHttpHandler wasmHandler;
|
||||
|
||||
public HttpClientHandler ()
|
||||
{
|
||||
wasmHandler = new WebAssembly.Net.Http.HttpClient.WasmHttpMessageHandler ();
|
||||
wasmHandler = new System.Net.Http.WebAssemblyHttpHandler ();
|
||||
}
|
||||
|
||||
protected override void Dispose (bool disposing)
|
||||
|
||||
+1
-1
@@ -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 = new SurrogateProviderAdapter(provider);
|
||||
IDataContractSurrogate adapter = (provider != null) ? new SurrogateProviderAdapter(provider) : null;
|
||||
|
||||
// DCS doesn't expose a setter, access the field directly as a workaround
|
||||
typeof(DataContractSerializer)
|
||||
|
||||
+3
-1
@@ -423,8 +423,10 @@ namespace System.Runtime.Serialization.Json
|
||||
XmlDictionaryString namespaceLocal = null;
|
||||
if (nameLocal != null && nameLocal is string)
|
||||
writer.WriteStartElement ((string) name, null);
|
||||
else
|
||||
else if (name is XmlDictionaryString)
|
||||
writer.WriteStartElement ((XmlDictionaryString) name, null);
|
||||
else
|
||||
writer.WriteStartElement (name.ToString(), null);
|
||||
}
|
||||
|
||||
void WriteEndElement ()
|
||||
|
||||
@@ -23,6 +23,8 @@ namespace System.Transactions
|
||||
[ThreadStatic]
|
||||
static Transaction ambient;
|
||||
|
||||
Transaction internalTransaction;
|
||||
|
||||
IsolationLevel level;
|
||||
TransactionInformation info;
|
||||
|
||||
@@ -83,6 +85,8 @@ namespace System.Transactions
|
||||
volatiles = other.Volatiles;
|
||||
durables = other.Durables;
|
||||
pspe = other.Pspe;
|
||||
TransactionCompletedInternal = other.TransactionCompletedInternal;
|
||||
internalTransaction = other;
|
||||
}
|
||||
|
||||
[MonoTODO]
|
||||
@@ -92,7 +96,29 @@ namespace System.Transactions
|
||||
throw new NotImplementedException ();
|
||||
}
|
||||
|
||||
public event TransactionCompletedEventHandler TransactionCompleted;
|
||||
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 static Transaction Current {
|
||||
get {
|
||||
@@ -378,7 +404,7 @@ namespace System.Transactions
|
||||
private void DoCommit ()
|
||||
{
|
||||
/* Scope becomes null in TransactionScope.Dispose */
|
||||
if (Scope != null) {
|
||||
if (Scope != null && (!Scope.IsComplete || !Scope.IsDisposed)) {
|
||||
/* See test ExplicitTransaction8 */
|
||||
Rollback (null, null);
|
||||
CheckAborted ();
|
||||
@@ -529,14 +555,14 @@ namespace System.Transactions
|
||||
|
||||
void CheckAborted ()
|
||||
{
|
||||
if (aborted)
|
||||
if (aborted || (Scope != null && Scope.IsAborted))
|
||||
throw new TransactionAbortedException ("Transaction has aborted", innerException);
|
||||
}
|
||||
|
||||
void FireCompleted ()
|
||||
{
|
||||
if (TransactionCompleted != null)
|
||||
TransactionCompleted (this, new TransactionEventArgs(this));
|
||||
if (TransactionCompletedInternal != null)
|
||||
TransactionCompletedInternal (this, new TransactionEventArgs(this));
|
||||
}
|
||||
|
||||
static void EnsureIncompleteCurrentScope ()
|
||||
@@ -548,4 +574,3 @@ namespace System.Transactions
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
// (C)2006 Novell Inc,
|
||||
//
|
||||
|
||||
using System.Threading;
|
||||
|
||||
using DTCOption = System.Transactions.EnterpriseServicesInteropOption;
|
||||
|
||||
@@ -19,6 +20,7 @@ namespace System.Transactions
|
||||
static TransactionOptions defaultOptions =
|
||||
new TransactionOptions (0, TransactionManager.DefaultTimeout);
|
||||
|
||||
Timer scopeTimer;
|
||||
Transaction transaction;
|
||||
Transaction oldTransaction;
|
||||
TransactionScope parentScope;
|
||||
@@ -29,6 +31,7 @@ namespace System.Transactions
|
||||
|
||||
bool disposed;
|
||||
bool completed;
|
||||
bool aborted;
|
||||
bool isRoot;
|
||||
|
||||
bool asyncFlowEnabled;
|
||||
@@ -99,7 +102,7 @@ namespace System.Transactions
|
||||
DTCOption interopOption)
|
||||
{
|
||||
Initialize (scopeOption, null, transactionOptions, interopOption,
|
||||
TransactionManager.DefaultTimeout, TransactionScopeAsyncFlowOption.Suppress);
|
||||
transactionOptions.Timeout, TransactionScopeAsyncFlowOption.Suppress);
|
||||
}
|
||||
|
||||
public TransactionScope (Transaction transactionToUse,
|
||||
@@ -143,8 +146,35 @@ 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)
|
||||
@@ -181,6 +211,14 @@ namespace System.Transactions
|
||||
completed = true;
|
||||
}
|
||||
|
||||
internal bool IsAborted {
|
||||
get { return aborted; }
|
||||
}
|
||||
|
||||
internal bool IsDisposed {
|
||||
get { return disposed; }
|
||||
}
|
||||
|
||||
internal bool IsComplete {
|
||||
get { return completed; }
|
||||
}
|
||||
@@ -214,6 +252,9 @@ 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;
|
||||
@@ -229,7 +270,10 @@ namespace System.Transactions
|
||||
|
||||
transaction.Scope = null;
|
||||
|
||||
if (!IsComplete) {
|
||||
if (IsAborted) {
|
||||
throw new TransactionAbortedException("Transaction has aborted");
|
||||
}
|
||||
else if (!IsComplete) {
|
||||
transaction.Rollback ();
|
||||
variedTransaction.Rollback();
|
||||
return;
|
||||
@@ -251,9 +295,11 @@ namespace System.Transactions
|
||||
/* scope was not in a transaction, (Suppress) */
|
||||
return;
|
||||
|
||||
transaction.Scope = null;
|
||||
|
||||
if (!IsComplete)
|
||||
if (IsAborted) {
|
||||
transaction.Scope = null;
|
||||
throw new TransactionAbortedException("Transaction has aborted");
|
||||
}
|
||||
else if (!IsComplete)
|
||||
{
|
||||
transaction.Rollback();
|
||||
return;
|
||||
@@ -265,10 +311,10 @@ namespace System.Transactions
|
||||
|
||||
transaction.CommitInternal();
|
||||
|
||||
transaction.Scope = null;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
using System;
|
||||
using NUnit.Framework;
|
||||
using System.Transactions;
|
||||
using System.Threading;
|
||||
|
||||
namespace MonoTests.System.Transactions
|
||||
{
|
||||
@@ -1114,6 +1115,18 @@ 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,6 +375,7 @@ 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,8 +334,7 @@ namespace System.Windows.Forms.PropertyGridInternal
|
||||
if (value is string)
|
||||
return (string)value;
|
||||
|
||||
if (PropertyDescriptor != null && PropertyDescriptor.Converter != null &&
|
||||
PropertyDescriptor.Converter.CanConvertTo ((ITypeDescriptorContext)this, typeof (string))) {
|
||||
if (PropertyDescriptor != null && PropertyDescriptor.Converter != null) {
|
||||
try {
|
||||
return PropertyDescriptor.Converter.ConvertToString ((ITypeDescriptorContext)this, value);
|
||||
} catch {
|
||||
@@ -467,7 +466,8 @@ namespace System.Windows.Forms.PropertyGridInternal
|
||||
if (this.IsReadOnly)
|
||||
return false;
|
||||
|
||||
if (SetValueCore (value, out error)) {
|
||||
if (value != Value) {
|
||||
SetValueCore(value, out error);
|
||||
InvalidateChildGridItemsCache ();
|
||||
property_grid.OnPropertyValueChangedInternal (this, this.Value);
|
||||
return true;
|
||||
@@ -478,42 +478,6 @@ 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 ((Char.IsWhiteSpace (c) && c != '\u00A0') || c == '-' || c == '\u2013' || c == '\u2014') {
|
||||
if (wrap_pos <= pos && ((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,11 +738,15 @@ 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
|
||||
// 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;
|
||||
}
|
||||
} else {
|
||||
if (wrap_pos > pos && pos > 0) {
|
||||
@@ -953,7 +957,7 @@ namespace System.Windows.Forms
|
||||
|
||||
this.textHeight = (int)tag.Font.Height;
|
||||
tag.Height = this.textHeight;
|
||||
this.height = (int)(this.textHeight + this.LineSpacing + this.TotalParagraphSpacing);
|
||||
this.height = (int)(this.LineSpacing + this.TotalParagraphSpacing);
|
||||
|
||||
this.ascent = tag.Ascent;
|
||||
|
||||
|
||||
@@ -668,73 +668,9 @@ 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 + align_offset_x, Padding.Top + align_offset_y);
|
||||
pieces[i].region.Translate (Padding.Left, Padding.Top);
|
||||
}
|
||||
|
||||
Invalidate ();
|
||||
|
||||
@@ -3852,7 +3852,7 @@ namespace System.Windows.Forms
|
||||
{
|
||||
Size item_size = ItemSize;
|
||||
for (int i = 0; i < items.Count; i++) {
|
||||
Rectangle item_rect = items [i].Bounds;
|
||||
Rectangle item_rect = new Rectangle(GetItemLocation(i), item_size);
|
||||
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)
|
||||
if (category_item == null || !(category_item is CategoryGridEntry))
|
||||
category_item = categories [categoryName];
|
||||
|
||||
if (category_item == null) {
|
||||
|
||||
@@ -2006,22 +2006,22 @@ namespace System.Windows.Forms {
|
||||
}
|
||||
|
||||
case RTF.Minor.LQuote: {
|
||||
Console.Write("\u2018");
|
||||
rtf_line.Append ("\u2018");
|
||||
break;
|
||||
}
|
||||
|
||||
case RTF.Minor.RQuote: {
|
||||
Console.Write("\u2019");
|
||||
rtf_line.Append ("\u2019");
|
||||
break;
|
||||
}
|
||||
|
||||
case RTF.Minor.LDblQuote: {
|
||||
Console.Write("\u201C");
|
||||
rtf_line.Append ("\u201C");
|
||||
break;
|
||||
}
|
||||
|
||||
case RTF.Minor.RDblQuote: {
|
||||
Console.Write("\u201D");
|
||||
rtf_line.Append ("\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}'>",
|
||||
line.line_no, line.ending, line.X, line.Y, line.Width, line.Height, line.Indent, line.HangingIndent, line.RightIndent);
|
||||
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);
|
||||
|
||||
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 + (int)line.SpacingBefore + line.height - viewport_y)
|
||||
if (line != null && clip.Bottom == offset_y + line.Y + line.height - viewport_y)
|
||||
end--;
|
||||
|
||||
line_no = start;
|
||||
|
||||
@@ -311,7 +311,7 @@ namespace System.Windows.Forms
|
||||
|
||||
public override Size GetPreferredSize (Size constrainingSize)
|
||||
{
|
||||
return base.GetPreferredSize (constrainingSize);
|
||||
return new Size(TextBox.Bounds.Width, TextBox.PreferredHeight);
|
||||
}
|
||||
|
||||
public void Paste ()
|
||||
|
||||
@@ -270,8 +270,11 @@ 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,8 +32,11 @@ 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
|
||||
@@ -259,6 +262,7 @@ namespace Mono.Btls
|
||||
return error;
|
||||
}
|
||||
|
||||
[UnmanagedFunctionPointer (CallingConvention.Cdecl)]
|
||||
delegate int PrintErrorsCallbackFunc (IntPtr str, IntPtr len, IntPtr ctx);
|
||||
|
||||
[Mono.Util.MonoPInvokeCallback (typeof (PrintErrorsCallbackFunc))]
|
||||
|
||||
@@ -93,8 +93,11 @@ 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,6 +61,7 @@ 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;
|
||||
|
||||
@@ -120,7 +120,15 @@ namespace System.Net.Security
|
||||
public SslStream (Stream innerStream, bool leaveInnerStreamOpen)
|
||||
: base (innerStream, leaveInnerStreamOpen)
|
||||
{
|
||||
#if WASM
|
||||
try {
|
||||
provider = GetProvider ();
|
||||
} catch (Exception ex) {
|
||||
throw new PlatformNotSupportedException ("System.Net.Security.SslStream is not supported on the current platform.", ex);
|
||||
}
|
||||
#else
|
||||
provider = GetProvider ();
|
||||
#endif
|
||||
settings = MonoTlsSettings.CopyDefaultSettings ();
|
||||
impl = provider.CreateSslStream (this, innerStream, leaveInnerStreamOpen, settings);
|
||||
}
|
||||
@@ -133,7 +141,15 @@ namespace System.Net.Security
|
||||
public SslStream (Stream innerStream, bool leaveInnerStreamOpen, RemoteCertificateValidationCallback userCertificateValidationCallback, LocalCertificateSelectionCallback userCertificateSelectionCallback)
|
||||
: base (innerStream, leaveInnerStreamOpen)
|
||||
{
|
||||
#if WASM
|
||||
try {
|
||||
provider = GetProvider ();
|
||||
} catch (Exception ex) {
|
||||
throw new PlatformNotSupportedException ("System.Net.Security.SslStream is not supported on the current platform.", ex);
|
||||
}
|
||||
#else
|
||||
provider = GetProvider ();
|
||||
#endif
|
||||
settings = MonoTlsSettings.CopyDefaultSettings ();
|
||||
SetAndVerifyValidationCallback (userCertificateValidationCallback);
|
||||
SetAndVerifySelectionCallback (userCertificateSelectionCallback);
|
||||
@@ -488,6 +504,26 @@ 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,8 +237,12 @@ namespace System.Net {
|
||||
}
|
||||
|
||||
if (ProcessInput (ms)) {
|
||||
if (!context.HaveError)
|
||||
context.Request.FinishInitialization ();
|
||||
if (!context.HaveError) {
|
||||
if (!context.Request.FinishInitialization()) {
|
||||
Close (true);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (context.HaveError) {
|
||||
SendError ();
|
||||
|
||||
@@ -192,12 +192,12 @@ namespace System.Net {
|
||||
return false;
|
||||
}
|
||||
|
||||
internal void FinishInitialization ()
|
||||
internal bool FinishInitialization ()
|
||||
{
|
||||
string host = UserHostName;
|
||||
if (version > HttpVersion.Version10 && (host == null || host.Length == 0)) {
|
||||
context.ErrorMessage = "Invalid host name";
|
||||
return;
|
||||
return true;
|
||||
}
|
||||
|
||||
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;
|
||||
return true;
|
||||
}
|
||||
|
||||
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;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -255,6 +255,8 @@ namespace System.Net {
|
||||
ResponseStream output = context.Connection.GetResponseStream ();
|
||||
output.InternalWrite (_100continue, 0, _100continue.Length);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
internal static string Unquote (String str) {
|
||||
|
||||
@@ -302,6 +302,11 @@
|
||||
<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 -->
|
||||
|
||||
@@ -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:%)
|
||||
LIB_MCS_FLAGS = $(REFERENCE_SOURCES_FLAGS) $(RESOURCE_FILES:%=-resource:%) $(UNICODECHARINFO:%=-resource:%)
|
||||
|
||||
USE_XTEST_REMOTE_EXECUTOR = YES
|
||||
LIBRARY_WARN_AS_ERROR = yes
|
||||
@@ -74,10 +74,6 @@ RESOURCE_STRINGS_FILES = --mscorlib-debug
|
||||
RESOURCE_STRINGS = ../referencesource/mscorlib/mscorlib.txt
|
||||
MODULE_DEPS = $(IL_REPLACE) LinkerDescriptor/mscorlib.xml
|
||||
|
||||
|
||||
ifdef WASM
|
||||
MANAGED_COLLATOR_RESOURCES_FILES =
|
||||
else
|
||||
MANAGED_COLLATOR_RESOURCES_FILES = \
|
||||
resources/collation.core.bin \
|
||||
resources/collation.tailoring.bin \
|
||||
@@ -86,7 +82,6 @@ MANAGED_COLLATOR_RESOURCES_FILES = \
|
||||
resources/collation.cjkJA.bin \
|
||||
resources/collation.cjkKO.bin \
|
||||
resources/collation.cjkKOlv2.bin
|
||||
endif
|
||||
|
||||
ifdef MCS_MODE
|
||||
UNICODECHARINFO = resources/charinfo.nlp
|
||||
@@ -95,7 +90,6 @@ else
|
||||
endif
|
||||
|
||||
RESOURCE_FILES = \
|
||||
$(UNICODECHARINFO) \
|
||||
$(MANAGED_COLLATOR_RESOURCES_FILES) \
|
||||
LinkerDescriptor/mscorlib.xml
|
||||
|
||||
@@ -207,6 +201,7 @@ EXTRA_DISTFILES = \
|
||||
$(RESOURCE_FILES) \
|
||||
$(TEST_RESOURCE_FILES) \
|
||||
$(TEST_RESOURCES:.resources=.resx) \
|
||||
resources/charinfo.nlp \
|
||||
LinkerDescriptor/mscorlib_test.xml
|
||||
|
||||
TEST_RESOURCE_FILES = \
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
//
|
||||
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
@@ -81,7 +82,7 @@ namespace Mono {
|
||||
return true;
|
||||
}
|
||||
|
||||
static object exception_capture = new object ();
|
||||
static object dump = new object ();
|
||||
|
||||
[MethodImplAttribute (MethodImplOptions.InternalCall)]
|
||||
static extern string ExceptionToState_internal (Exception exc, out ulong portable_hash, out ulong unportable_hash);
|
||||
@@ -145,7 +146,7 @@ namespace Mono {
|
||||
{
|
||||
ulong portable_hash;
|
||||
ulong unportable_hash;
|
||||
lock (exception_capture)
|
||||
lock (dump)
|
||||
{
|
||||
string payload_str = ExceptionToState_internal (exc, out portable_hash, out unportable_hash);
|
||||
SendMicrosoftTelemetry (payload_str, portable_hash, unportable_hash);
|
||||
@@ -182,7 +183,11 @@ namespace Mono {
|
||||
{
|
||||
ulong portable_hash;
|
||||
ulong unportable_hash;
|
||||
string payload_str = DumpStateSingle_internal (out portable_hash, out unportable_hash);
|
||||
string payload_str;
|
||||
lock (dump)
|
||||
{
|
||||
payload_str = DumpStateSingle_internal (out portable_hash, out unportable_hash);
|
||||
}
|
||||
|
||||
return new Tuple<String, ulong, ulong> (payload_str, portable_hash, unportable_hash);
|
||||
}
|
||||
@@ -192,7 +197,11 @@ namespace Mono {
|
||||
{
|
||||
ulong portable_hash;
|
||||
ulong unportable_hash;
|
||||
string payload_str = DumpStateTotal_internal (out portable_hash, out unportable_hash);
|
||||
string payload_str;
|
||||
lock (dump)
|
||||
{
|
||||
payload_str = DumpStateTotal_internal (out portable_hash, out unportable_hash);
|
||||
}
|
||||
|
||||
return new Tuple<String, ulong, ulong> (payload_str, portable_hash, unportable_hash);
|
||||
}
|
||||
@@ -255,6 +264,43 @@ 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);
|
||||
|
||||
@@ -263,7 +309,10 @@ namespace Mono {
|
||||
using (var key_chars = RuntimeMarshal.MarshalString (key))
|
||||
using (var val_chars = RuntimeMarshal.MarshalString (val))
|
||||
{
|
||||
AnnotateMicrosoftTelemetry_internal (key_chars.Value, val_chars.Value);
|
||||
lock (dump)
|
||||
{
|
||||
AnnotateMicrosoftTelemetry_internal (key_chars.Value, val_chars.Value);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -72,9 +72,6 @@ namespace System.Globalization
|
||||
static bool managedCollation;
|
||||
static bool managedCollationChecked;
|
||||
|
||||
#if WASM
|
||||
const bool UseManagedCollation = false;
|
||||
#else
|
||||
static bool UseManagedCollation {
|
||||
get {
|
||||
if (!managedCollationChecked) {
|
||||
@@ -85,13 +82,9 @@ namespace System.Globalization
|
||||
return managedCollation;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
ISimpleCollator GetCollator ()
|
||||
{
|
||||
#if WASM
|
||||
return null;
|
||||
#else
|
||||
if (collator != null)
|
||||
return collator;
|
||||
|
||||
@@ -107,7 +100,6 @@ namespace System.Globalization
|
||||
}
|
||||
|
||||
return collator;
|
||||
#endif
|
||||
}
|
||||
|
||||
SortKey CreateSortKeyCore (string source, CompareOptions options)
|
||||
|
||||
@@ -284,56 +284,93 @@ namespace System.Diagnostics.Tracing
|
||||
// [MonoTODO]
|
||||
public event EventHandler<EventCommandEventArgs> EventCommandExecuted
|
||||
{
|
||||
#if WASM
|
||||
add { throw new PlatformNotSupportedException (); }
|
||||
remove { throw new PlatformNotSupportedException (); }
|
||||
#else
|
||||
add { throw new NotImplementedException (); }
|
||||
remove { throw new NotImplementedException (); }
|
||||
#endif
|
||||
}
|
||||
|
||||
// [MonoTODO]
|
||||
public static string GenerateManifest (Type eventSourceType, string assemblyPathToIncludeInManifest)
|
||||
{
|
||||
#if WASM
|
||||
throw new PlatformNotSupportedException ();
|
||||
#else
|
||||
throw new NotImplementedException ();
|
||||
#endif
|
||||
}
|
||||
|
||||
// [MonoTODO]
|
||||
public static string GenerateManifest (Type eventSourceType, string assemblyPathToIncludeInManifest, EventManifestOptions flags)
|
||||
{
|
||||
#if WASM
|
||||
throw new PlatformNotSupportedException ();
|
||||
#else
|
||||
throw new NotImplementedException ();
|
||||
#endif
|
||||
}
|
||||
|
||||
// [MonoTODO]
|
||||
public static Guid GetGuid (Type eventSourceType)
|
||||
{
|
||||
#if WASM
|
||||
throw new PlatformNotSupportedException ();
|
||||
#else
|
||||
throw new NotImplementedException ();
|
||||
#endif
|
||||
}
|
||||
|
||||
// [MonoTODO]
|
||||
public static string GetName (Type eventSourceType)
|
||||
{
|
||||
#if WASM
|
||||
throw new PlatformNotSupportedException ();
|
||||
#else
|
||||
throw new NotImplementedException ();
|
||||
#endif
|
||||
}
|
||||
|
||||
// [MonoTODO]
|
||||
public static IEnumerable<EventSource> GetSources ()
|
||||
{
|
||||
#if WASM
|
||||
throw new PlatformNotSupportedException ();
|
||||
#else
|
||||
throw new NotImplementedException ();
|
||||
#endif
|
||||
}
|
||||
|
||||
// [MonoTODO]
|
||||
public static void SendCommand (EventSource eventSource, EventCommand command, IDictionary<string, string> commandArguments)
|
||||
{
|
||||
#if WASM
|
||||
throw new PlatformNotSupportedException ();
|
||||
#else
|
||||
throw new NotImplementedException ();
|
||||
#endif
|
||||
}
|
||||
|
||||
// [MonoTODO]
|
||||
public static void SetCurrentThreadActivityId (Guid activityId)
|
||||
{
|
||||
#if WASM
|
||||
throw new PlatformNotSupportedException ();
|
||||
#else
|
||||
throw new NotImplementedException ();
|
||||
#endif
|
||||
}
|
||||
|
||||
// [MonoTODO]
|
||||
public static void SetCurrentThreadActivityId (Guid activityId, out Guid oldActivityThatWillContinue)
|
||||
{
|
||||
#if WASM
|
||||
throw new PlatformNotSupportedException ();
|
||||
#else
|
||||
throw new NotImplementedException ();
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+6
-1
@@ -66,6 +66,11 @@ namespace System.Runtime.InteropServices
|
||||
_osArchitecture = Environment.Is64BitOperatingSystem ? Architecture.X64 : Architecture.X86;
|
||||
_processArchitecture = Architecture.X64;
|
||||
break;
|
||||
case "wasm":
|
||||
#if false
|
||||
_osArchitecture = Architecture.Wasm;
|
||||
_processArchitecture = Architecture.Wasm;
|
||||
#endif
|
||||
// upstream only has these values; try to pretend we're x86 if nothing matches
|
||||
// want more? bug: https://github.com/dotnet/corefx/issues/30706
|
||||
default:
|
||||
@@ -107,7 +112,7 @@ namespace System.Runtime.InteropServices
|
||||
_osPlatform = OSPlatform.Create ("HAIKU");
|
||||
break;
|
||||
case "wasm":
|
||||
_osPlatform = OSPlatform.Create ("WEBASSEMBLY");
|
||||
_osPlatform = OSPlatform.Create ("BROWSER");
|
||||
break;
|
||||
default:
|
||||
_osPlatform = OSPlatform.Create ("UNKNOWN");
|
||||
|
||||
@@ -1499,6 +1499,7 @@ public class DirectoryTest
|
||||
}
|
||||
|
||||
[Test] // bug #346123
|
||||
[Category ("NotWasm")]
|
||||
public void GetDirectories_Backslash ()
|
||||
{
|
||||
if (!RunningOnUnix)
|
||||
@@ -1567,6 +1568,7 @@ public class DirectoryTest
|
||||
}
|
||||
|
||||
[Test] // bug #346123
|
||||
[Category ("NotWasm")]
|
||||
public void GetFiles_Backslash ()
|
||||
{
|
||||
if (!RunningOnUnix)
|
||||
|
||||
@@ -977,9 +977,15 @@ namespace MonoTests.System.IO
|
||||
Assert.IsTrue (Path.IsPathRooted ("\\"), "IsPathRooted #16");
|
||||
Assert.IsTrue (Path.IsPathRooted ("\\\\"), "IsPathRooted #17");
|
||||
} else {
|
||||
// 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.
|
||||
#if !WASM
|
||||
Assert.IsTrue (!Path.IsPathRooted ("\\"), "IsPathRooted #09");
|
||||
Assert.IsTrue (!Path.IsPathRooted ("\\\\"), "IsPathRooted #10");
|
||||
Assert.IsTrue (!Path.IsPathRooted ("z:"), "IsPathRooted #11");
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -316,6 +316,28 @@ 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
|
||||
|
||||
@@ -61,6 +61,11 @@ namespace MonoTests.System
|
||||
C
|
||||
};
|
||||
|
||||
class GenericEnum<T>
|
||||
{
|
||||
public enum TheEnum { A, B };
|
||||
}
|
||||
|
||||
class SampleGeneric<T> where T : IFace1
|
||||
{
|
||||
}
|
||||
@@ -2935,6 +2940,7 @@ namespace MonoTests.System
|
||||
Assert.AreEqual (TypeCode.UInt16, Type.GetTypeCode (typeof (ushort)), "#16");
|
||||
Assert.AreEqual (TypeCode.UInt32, Type.GetTypeCode (typeof (uint)), "#17");
|
||||
Assert.AreEqual (TypeCode.UInt64, Type.GetTypeCode (typeof (ulong)), "#18");
|
||||
Assert.AreEqual (TypeCode.Int32, Type.GetTypeCode (typeof (GenericEnum<int>.TheEnum)));
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Internal.Runtime.Augments
|
||||
|
||||
public void ResetThreadPoolThread () {}
|
||||
|
||||
public static RuntimeThread InitializeThreadPoolThread () => default;
|
||||
public static RuntimeThread InitializeThreadPoolThread () => new RuntimeThread (null);
|
||||
|
||||
public static RuntimeThread Create (ParameterizedThreadStart start, int maxStackSize)
|
||||
=> new RuntimeThread (new Thread (start, maxStackSize));
|
||||
|
||||
@@ -1301,6 +1301,7 @@
|
||||
<Compile Include="Mono.Globalization.Unicode\MSCompatUnicodeTableUtil.cs" />
|
||||
<Compile Include="Mono.Globalization.Unicode\Normalization.cs" />
|
||||
<Compile Include="Mono.Globalization.Unicode\NormalizationTableUtil.cs" />
|
||||
<Compile Include="Mono.Globalization.Unicode\SimpleCollator.cs" />
|
||||
<Compile Include="Mono.Globalization.Unicode\SortKey.cs" />
|
||||
<Compile Include="Mono.Globalization.Unicode\SortKeyBuffer.cs" />
|
||||
<Compile Include="Mono.Security.Cryptography\DSAManaged.cs" />
|
||||
@@ -1986,7 +1987,6 @@
|
||||
<Compile Include="Microsoft.Win32\UnixRegistryApi.cs" />
|
||||
<Compile Include="Microsoft.Win32\Win32RegistryApi.cs" />
|
||||
<Compile Include="Microsoft.Win32\Win32ResultCode.cs" />
|
||||
<Compile Include="Mono.Globalization.Unicode\SimpleCollator.cs" />
|
||||
<Compile Include="Mono.Interop\ComInteropProxy.cs" />
|
||||
<Compile Include="Mono.Interop\IDispatch.cs" />
|
||||
<Compile Include="Mono.Interop\IUnknown.cs" />
|
||||
@@ -2266,7 +2266,6 @@
|
||||
<Compile Include="Microsoft.Win32\UnixRegistryApi.cs" />
|
||||
<Compile Include="Microsoft.Win32\Win32RegistryApi.cs" />
|
||||
<Compile Include="Microsoft.Win32\Win32ResultCode.cs" />
|
||||
<Compile Include="Mono.Globalization.Unicode\SimpleCollator.cs" />
|
||||
<Compile Include="Mono.Interop\ComInteropProxy.cs" />
|
||||
<Compile Include="Mono.Interop\IDispatch.cs" />
|
||||
<Compile Include="Mono.Interop\IUnknown.cs" />
|
||||
@@ -2600,7 +2599,6 @@
|
||||
<Compile Include="Microsoft.Win32\UnixRegistryApi.cs" />
|
||||
<Compile Include="Microsoft.Win32\Win32RegistryApi.cs" />
|
||||
<Compile Include="Microsoft.Win32\Win32ResultCode.cs" />
|
||||
<Compile Include="Mono.Globalization.Unicode\SimpleCollator.cs" />
|
||||
<Compile Include="Mono.Interop\ComInteropProxy.cs" />
|
||||
<Compile Include="Mono.Interop\IDispatch.cs" />
|
||||
<Compile Include="Mono.Interop\IUnknown.cs" />
|
||||
@@ -2855,7 +2853,6 @@
|
||||
<Compile Include="Microsoft.Win32\UnixRegistryApi.cs" />
|
||||
<Compile Include="Microsoft.Win32\Win32RegistryApi.cs" />
|
||||
<Compile Include="Microsoft.Win32\Win32ResultCode.cs" />
|
||||
<Compile Include="Mono.Globalization.Unicode\SimpleCollator.cs" />
|
||||
<Compile Include="Mono.Interop\ComInteropProxy.cs" />
|
||||
<Compile Include="Mono.Interop\IDispatch.cs" />
|
||||
<Compile Include="Mono.Interop\IUnknown.cs" />
|
||||
@@ -3176,7 +3173,6 @@
|
||||
<Compile Include="..\referencesource\mscorlib\system\security\cryptography\sha384managed.cs" />
|
||||
<Compile Include="..\referencesource\mscorlib\system\security\cryptography\sha512managed.cs" />
|
||||
<Compile Include="..\referencesource\mscorlib\system\security\cryptography\tripledescryptoserviceprovider.cs" />
|
||||
<Compile Include="Mono.Globalization.Unicode\SimpleCollator.cs" />
|
||||
<Compile Include="Mono.Interop\ComInteropProxy.cs" />
|
||||
<Compile Include="Mono.Interop\IDispatch.cs" />
|
||||
<Compile Include="Mono.Interop\IUnknown.cs" />
|
||||
@@ -3425,7 +3421,6 @@
|
||||
<Compile Include="Microsoft.Win32\UnixRegistryApi.cs" />
|
||||
<Compile Include="Microsoft.Win32\Win32RegistryApi.cs" />
|
||||
<Compile Include="Microsoft.Win32\Win32ResultCode.cs" />
|
||||
<Compile Include="Mono.Globalization.Unicode\SimpleCollator.cs" />
|
||||
<Compile Include="Mono.Interop\ComInteropProxy.cs" />
|
||||
<Compile Include="Mono.Interop\IDispatch.cs" />
|
||||
<Compile Include="Mono.Interop\IUnknown.cs" />
|
||||
@@ -3681,7 +3676,6 @@
|
||||
<Compile Include="Microsoft.Win32\UnixRegistryApi.cs" />
|
||||
<Compile Include="Microsoft.Win32\Win32RegistryApi.cs" />
|
||||
<Compile Include="Microsoft.Win32\Win32ResultCode.cs" />
|
||||
<Compile Include="Mono.Globalization.Unicode\SimpleCollator.cs" />
|
||||
<Compile Include="Mono.Interop\ComInteropProxy.cs" />
|
||||
<Compile Include="Mono.Interop\IDispatch.cs" />
|
||||
<Compile Include="Mono.Interop\IUnknown.cs" />
|
||||
@@ -3937,7 +3931,6 @@
|
||||
<Compile Include="Microsoft.Win32\UnixRegistryApi.cs" />
|
||||
<Compile Include="Microsoft.Win32\Win32RegistryApi.cs" />
|
||||
<Compile Include="Microsoft.Win32\Win32ResultCode.cs" />
|
||||
<Compile Include="Mono.Globalization.Unicode\SimpleCollator.cs" />
|
||||
<Compile Include="Mono.Interop\ComInteropProxy.cs" />
|
||||
<Compile Include="Mono.Interop\IDispatch.cs" />
|
||||
<Compile Include="Mono.Interop\IUnknown.cs" />
|
||||
@@ -4185,7 +4178,6 @@
|
||||
<Compile Include="Microsoft.Win32\UnixRegistryApi.cs" />
|
||||
<Compile Include="Microsoft.Win32\Win32RegistryApi.cs" />
|
||||
<Compile Include="Microsoft.Win32\Win32ResultCode.cs" />
|
||||
<Compile Include="Mono.Globalization.Unicode\SimpleCollator.cs" />
|
||||
<Compile Include="Mono.Interop\ComInteropProxy.cs" />
|
||||
<Compile Include="Mono.Interop\IDispatch.cs" />
|
||||
<Compile Include="Mono.Interop\IUnknown.cs" />
|
||||
@@ -4436,7 +4428,6 @@
|
||||
<Compile Include="Microsoft.Win32\UnixRegistryApi.cs" />
|
||||
<Compile Include="Microsoft.Win32\Win32RegistryApi.cs" />
|
||||
<Compile Include="Microsoft.Win32\Win32ResultCode.cs" />
|
||||
<Compile Include="Mono.Globalization.Unicode\SimpleCollator.cs" />
|
||||
<Compile Include="Mono.Interop\ComInteropProxy.cs" />
|
||||
<Compile Include="Mono.Interop\IDispatch.cs" />
|
||||
<Compile Include="Mono.Interop\IUnknown.cs" />
|
||||
@@ -4687,7 +4678,6 @@
|
||||
<Compile Include="Microsoft.Win32\UnixRegistryApi.cs" />
|
||||
<Compile Include="Microsoft.Win32\Win32RegistryApi.cs" />
|
||||
<Compile Include="Microsoft.Win32\Win32ResultCode.cs" />
|
||||
<Compile Include="Mono.Globalization.Unicode\SimpleCollator.cs" />
|
||||
<Compile Include="Mono.Interop\ComInteropProxy.cs" />
|
||||
<Compile Include="Mono.Interop\IDispatch.cs" />
|
||||
<Compile Include="Mono.Interop\IUnknown.cs" />
|
||||
@@ -4973,7 +4963,6 @@
|
||||
<Compile Include="Microsoft.Win32\UnixRegistryApi.cs" />
|
||||
<Compile Include="Microsoft.Win32\Win32RegistryApi.cs" />
|
||||
<Compile Include="Microsoft.Win32\Win32ResultCode.cs" />
|
||||
<Compile Include="Mono.Globalization.Unicode\SimpleCollator.cs" />
|
||||
<Compile Include="Mono.Interop\ComInteropProxy.cs" />
|
||||
<Compile Include="Mono.Interop\IDispatch.cs" />
|
||||
<Compile Include="Mono.Interop\IUnknown.cs" />
|
||||
@@ -5223,7 +5212,6 @@
|
||||
<Compile Include="Microsoft.Win32\UnixRegistryApi.cs" />
|
||||
<Compile Include="Microsoft.Win32\Win32RegistryApi.cs" />
|
||||
<Compile Include="Microsoft.Win32\Win32ResultCode.cs" />
|
||||
<Compile Include="Mono.Globalization.Unicode\SimpleCollator.cs" />
|
||||
<Compile Include="Mono.Interop\ComInteropProxy.cs" />
|
||||
<Compile Include="Mono.Interop\IDispatch.cs" />
|
||||
<Compile Include="Mono.Interop\IUnknown.cs" />
|
||||
@@ -5478,7 +5466,6 @@
|
||||
<Compile Include="Microsoft.Win32\UnixRegistryApi.cs" />
|
||||
<Compile Include="Microsoft.Win32\Win32RegistryApi.cs" />
|
||||
<Compile Include="Microsoft.Win32\Win32ResultCode.cs" />
|
||||
<Compile Include="Mono.Globalization.Unicode\SimpleCollator.cs" />
|
||||
<Compile Include="Mono.Interop\ComInteropProxy.cs" />
|
||||
<Compile Include="Mono.Interop\IDispatch.cs" />
|
||||
<Compile Include="Mono.Interop\IUnknown.cs" />
|
||||
@@ -5733,7 +5720,6 @@
|
||||
<Compile Include="Microsoft.Win32\UnixRegistryApi.cs" />
|
||||
<Compile Include="Microsoft.Win32\Win32RegistryApi.cs" />
|
||||
<Compile Include="Microsoft.Win32\Win32ResultCode.cs" />
|
||||
<Compile Include="Mono.Globalization.Unicode\SimpleCollator.cs" />
|
||||
<Compile Include="Mono.Interop\ComInteropProxy.cs" />
|
||||
<Compile Include="Mono.Interop\IDispatch.cs" />
|
||||
<Compile Include="Mono.Interop\IUnknown.cs" />
|
||||
@@ -6423,6 +6409,27 @@
|
||||
<EmbeddedResource Include="LinkerDescriptor/mscorlib.xml">
|
||||
<LogicalName>mscorlib.xml</LogicalName>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="resources/collation.cjkCHS.bin">
|
||||
<LogicalName>collation.cjkCHS.bin</LogicalName>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="resources/collation.cjkCHT.bin">
|
||||
<LogicalName>collation.cjkCHT.bin</LogicalName>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="resources/collation.cjkJA.bin">
|
||||
<LogicalName>collation.cjkJA.bin</LogicalName>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="resources/collation.cjkKO.bin">
|
||||
<LogicalName>collation.cjkKO.bin</LogicalName>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="resources/collation.cjkKOlv2.bin">
|
||||
<LogicalName>collation.cjkKOlv2.bin</LogicalName>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="resources/collation.core.bin">
|
||||
<LogicalName>collation.core.bin</LogicalName>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="resources/collation.tailoring.bin">
|
||||
<LogicalName>collation.tailoring.bin</LogicalName>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<!-- @ALL_RESOURCES@ -->
|
||||
<PropertyGroup>
|
||||
|
||||
@@ -1,4 +1,2 @@
|
||||
#include unix_build_corlib.dll.exclude.sources
|
||||
#include testing_aot_common_corlib.dll.exclude.sources
|
||||
|
||||
Mono.Globalization.Unicode/SimpleCollator.cs
|
||||
+1
-1
@@ -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
@@ -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 (default) or a custom value\n" +
|
||||
" VERSION can be one of: 2, 4, 4.5, 4.x (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" +
|
||||
|
||||
@@ -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,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.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/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,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-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-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,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-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-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,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-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-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,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-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-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,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,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
|
||||
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
|
||||
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,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.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/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,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-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-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,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-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-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,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,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
|
||||
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
|
||||
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,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-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-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,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
|
||||
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
|
||||
|
@@ -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,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
|
||||
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
|
||||
|
@@ -72,7 +72,9 @@ Options:
|
||||
return new ResourceReader (stream);
|
||||
case ".resx":
|
||||
var reader = new ResXResourceReader (stream);
|
||||
reader.BasePath = Path.GetDirectoryName (name);
|
||||
if (useSourcePath) {
|
||||
reader.BasePath = Path.GetDirectoryName (name);
|
||||
}
|
||||
return reader;
|
||||
default:
|
||||
throw new Exception ("Unknown format in file " + name);
|
||||
|
||||
@@ -0,0 +1,346 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,303 @@
|
||||
// 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;
|
||||
}
|
||||
@@ -40,19 +40,6 @@ 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) {
|
||||
@@ -63,8 +50,6 @@ 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;
|
||||
@@ -97,6 +82,7 @@ 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>.");
|
||||
}
|
||||
|
||||
@@ -116,13 +102,15 @@ 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;
|
||||
}
|
||||
}
|
||||
|
||||
static string MapType (TypeReference t) {
|
||||
public static string MapType (TypeReference t) {
|
||||
if (t.Name == "Void")
|
||||
return "void";
|
||||
else if (t.Name == "Double")
|
||||
@@ -137,83 +125,25 @@ 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 ();
|
||||
pinvokes = new List<Pinvoke> ();
|
||||
foreach (var fname in args) {
|
||||
var a = AssemblyDefinition.ReadAssembly (fname);
|
||||
var assemblies = new List<AssemblyDefinition> ();
|
||||
foreach (var fname in args)
|
||||
assemblies.Add (AssemblyDefinition.ReadAssembly (fname));
|
||||
|
||||
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 ("};");
|
||||
var generator = new PInvokeTableGenerator ();
|
||||
generator.Run (assemblies, modules);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
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));
|
||||
}
|
||||
void Error (string msg) {
|
||||
Console.Error.WriteLine (msg);
|
||||
Environment.Exit (1);
|
||||
}
|
||||
|
||||
static string GenIcallDecl (Icall icall) {
|
||||
@@ -274,21 +204,26 @@ public class WasmTuner
|
||||
var sorted = icalls.Where (i => i.Assembly == assembly).ToArray ();
|
||||
Array.Sort (sorted);
|
||||
|
||||
Console.WriteLine ($"#define ICALL_TABLE_{assembly} 1\n");
|
||||
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 ($"static int {assembly}_icall_indexes [] = {{");
|
||||
Console.WriteLine ($"static int {aname}_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 *{assembly}_icall_funcs [] = {{");
|
||||
Console.WriteLine ($"static void *{aname}_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 {assembly}_icall_handles [] = {{");
|
||||
Console.WriteLine ($"static uint8_t {aname}_icall_handles [] = {{");
|
||||
foreach (var icall in sorted)
|
||||
Console.WriteLine (String.Format ("{0},", icall.Handles ? "1" : "0"));
|
||||
Console.WriteLine ("};");
|
||||
@@ -426,4 +361,30 @@ 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;
|
||||
}
|
||||
}
|
||||
@@ -53,6 +53,8 @@
|
||||
<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,4 +1,6 @@
|
||||
tuner.cs
|
||||
InterpToNativeGenerator.cs
|
||||
PInvokeTableGenerator.cs
|
||||
../../build/common/Consts.cs
|
||||
../../build/common/SR.cs
|
||||
../../class/System.Json/corefx/SR.cs
|
||||
|
||||
+6
-6
@@ -1,8 +1,8 @@
|
||||
project (mono)
|
||||
project(mono)
|
||||
|
||||
#set (subdirs eglib arch utils cil sgen metadata mini dis profiler)
|
||||
set (subdirs mini)
|
||||
#set(subdirs eglib arch utils cil sgen metadata mini dis profiler)
|
||||
set(subdirs mini profiler)
|
||||
|
||||
foreach (dir ${subdirs})
|
||||
add_subdirectory (${dir})
|
||||
endforeach ()
|
||||
foreach(dir ${subdirs})
|
||||
add_subdirectory(${dir})
|
||||
endforeach()
|
||||
+19
-6
@@ -13,22 +13,35 @@ native_dirs = native
|
||||
endif
|
||||
|
||||
if ENABLE_NETCORE
|
||||
btls_dirs =
|
||||
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
|
||||
endif
|
||||
|
||||
if ENABLE_NETCORE
|
||||
SUBDIRS = eglib arch utils sgen zlib metadata mini profiler
|
||||
SUBDIRS = eglib arch utils sgen zlib $(eventpipe_dirs) metadata mini profiler $(native_unit_test_dirs)
|
||||
else
|
||||
|
||||
if CROSS_COMPILING
|
||||
SUBDIRS = $(btls_dirs) eglib arch utils cil zlib $(sgen_dirs) metadata mini dis profiler $(native_dirs)
|
||||
SUBDIRS = $(btls_dirs) $(culture_dirs) eglib arch utils cil zlib $(sgen_dirs) metadata mini dis profiler $(native_dirs)
|
||||
else
|
||||
if INSTALL_MONOTOUCH
|
||||
SUBDIRS = $(btls_dirs) eglib arch utils zlib $(sgen_dirs) metadata mini profiler $(native_dirs)
|
||||
SUBDIRS = $(btls_dirs) $(culture_dirs) eglib arch utils zlib $(sgen_dirs) metadata mini profiler $(native_dirs)
|
||||
else
|
||||
SUBDIRS = $(btls_dirs) eglib arch utils cil zlib $(sgen_dirs) metadata mini dis tests unit-tests benchmark profiler $(native_dirs)
|
||||
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)
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
DIST_SUBDIRS = btls native eglib arch utils cil zlib $(sgen_dirs) metadata mini dis tests unit-tests benchmark profiler
|
||||
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
|
||||
@@ -1,3 +1,9 @@
|
||||
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
|
||||
@@ -867,4 +867,40 @@ 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__ */
|
||||
@@ -416,6 +416,19 @@ 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,7 +1,6 @@
|
||||
/*
|
||||
* 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
|
||||
|
||||
Loaded 100 of 514 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user