mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 01:41:17 -10:00
Compare commits
1494
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
49f22ec804 | ||
|
|
7d78877800 | ||
|
|
87a052504b | ||
|
|
26e759903e | ||
|
|
12ca38606d | ||
|
|
0ab383de1e | ||
|
|
132135cb22 | ||
|
|
5066d707ac | ||
|
|
794f7a7612 | ||
|
|
fe516ba0bd | ||
|
|
b2acee0ade | ||
|
|
8af44d2b16 | ||
|
|
f4cf17d61d | ||
|
|
8f3ddb716e | ||
|
|
a4cd00b333 | ||
|
|
cb6a2fc7ff | ||
|
|
c81fe5e84d | ||
|
|
1cf175e95c | ||
|
|
01d1582fb7 | ||
|
|
f177485aaf | ||
|
|
1d4fc17faa | ||
|
|
dc29ba37a6 | ||
|
|
8bcbd3cc89 | ||
|
|
24901ef720 | ||
|
|
b263d37e15 | ||
|
|
56267e8476 | ||
|
|
1afb931de6 | ||
|
|
63b57ba7a1 | ||
|
|
cbeae56621 | ||
|
|
f527b26e19 | ||
|
|
ebee14deca | ||
|
|
929575bb0e | ||
|
|
4fe608c216 | ||
|
|
6b8abfeb7c | ||
|
|
000682fe19 | ||
|
|
282e0fb6d3 | ||
|
|
4cadbfc272 | ||
|
|
2071615b87 | ||
|
|
cbc738c44d | ||
|
|
7f9739d414 | ||
|
|
4432d94f47 | ||
|
|
84a67e67e0 | ||
|
|
3d2159b391 | ||
|
|
2cc5ff0ef3 | ||
|
|
ab5dc2d67e | ||
|
|
b339b6677c | ||
|
|
a6db6112ca | ||
|
|
fd2303ecb6 | ||
|
|
490cc373e4 | ||
|
|
b65d1a9ffc | ||
|
|
8531639386 | ||
|
|
25ef6061fd | ||
|
|
066fde97d3 | ||
|
|
28a417c2c0 | ||
|
|
c97a3fcfd2 | ||
|
|
3acee7af00 | ||
|
|
b6cd01f017 | ||
|
|
67a2f14e73 | ||
|
|
8043db4c77 | ||
|
|
252415606d | ||
|
|
50f2938561 | ||
|
|
6425f06ff6 | ||
|
|
485d5205f9 | ||
|
|
582c5d77f0 | ||
|
|
bda280c5e8 | ||
|
|
287f4303f3 | ||
|
|
48d6bff3ae | ||
|
|
ad6ef5f4bc | ||
|
|
dd46212fc2 | ||
|
|
41ecc70a69 | ||
|
|
e9d3a69282 | ||
|
|
e7ce1807d7 | ||
|
|
eb7e8d4af8 | ||
|
|
94651df9ed | ||
|
|
d320c3a40a | ||
|
|
97d59f280a | ||
|
|
7f68119da8 | ||
|
|
9b3d1a60fc | ||
|
|
75aeec5fb9 | ||
|
|
a625b98e26 | ||
|
|
07ef3c251b | ||
|
|
fd85ac4fd1 | ||
|
|
667dcaa655 | ||
|
|
d6ba1ed4fc | ||
|
|
5b035af74a | ||
|
|
b69e232073 | ||
|
|
edd2d56a32 | ||
|
|
d4d81a3e02 | ||
|
|
1d1ec7d504 | ||
|
|
5fc8e28ffa | ||
|
|
de60f3b49e | ||
|
|
7f560b39c8 | ||
|
|
73c2e4322e | ||
|
|
13166f48a8 | ||
|
|
e5b06307ca | ||
|
|
be1b671b09 | ||
|
|
817a7e7bf7 | ||
|
|
6279df6d70 | ||
|
|
cbc419bb3e | ||
|
|
39a8a8f8c0 | ||
|
|
3c9a821c7e | ||
|
|
bb900edab1 | ||
|
|
36e3d93a52 | ||
|
|
4b49283a9c | ||
|
|
00ef078380 | ||
|
|
0a3ea22257 | ||
|
|
04419ee95b | ||
|
|
fc339c2777 | ||
|
|
35b2b68bdf | ||
|
|
009d1279a2 | ||
|
|
d8eb6c91a2 | ||
|
|
d451def6a5 | ||
|
|
f95909190c | ||
|
|
fc65bbe329 | ||
|
|
eb6386af15 | ||
|
|
8236cbe950 | ||
|
|
3505d310df | ||
|
|
c0c8d0bec4 | ||
|
|
3872a400b2 | ||
|
|
a6612b4c64 | ||
|
|
4db9028cb9 | ||
|
|
b6e231d521 | ||
|
|
1ec5966c89 | ||
|
|
9280bb5e19 | ||
|
|
d470d1abbf | ||
|
|
0e4d13f5b7 | ||
|
|
933ceae45c | ||
|
|
2f1b9e8aac | ||
|
|
f03dbfcae2 | ||
|
|
d9211fcb50 | ||
|
|
153467c0c6 | ||
|
|
a1cac02732 | ||
|
|
7be144c0b7 | ||
|
|
71936252fe | ||
|
|
ab0791102f | ||
|
|
be24ada60a | ||
|
|
9c991786ac | ||
|
|
019a83f88f | ||
|
|
33697c0568 | ||
|
|
fbb82d3923 | ||
|
|
733b51587e | ||
|
|
f66e71e01b | ||
|
|
262128c941 | ||
|
|
eeb68ca307 | ||
|
|
6471bbd6ef | ||
|
|
96a2b36e82 | ||
|
|
7a704f61c9 | ||
|
|
39150458f0 | ||
|
|
0b522087c2 | ||
|
|
911cc1d438 | ||
|
|
e4b08aa7c9 | ||
|
|
2db07ca754 | ||
|
|
0d8219ea4a | ||
|
|
a38a8e4ad4 | ||
|
|
d0b9d91817 | ||
|
|
fd6d8198f7 | ||
|
|
54260048cc | ||
|
|
34ba13146f | ||
|
|
00ea5f1e17 | ||
|
|
e75b24b807 | ||
|
|
ecf65f0093 | ||
|
|
35cb8bac8a | ||
|
|
33074493a0 | ||
|
|
c5d7419186 | ||
|
|
ccf4d32e12 | ||
|
|
89014568b7 | ||
|
|
9161e4e5a9 | ||
|
|
6ac4a68c46 | ||
|
|
1b5e0f7331 | ||
|
|
c8863e1d31 | ||
|
|
dd951e909a | ||
|
|
3c21a0f3dd | ||
|
|
f031c8fba3 | ||
|
|
442d000b6c | ||
|
|
2cdb7e8648 | ||
|
|
e72203782b | ||
|
|
00e3c897d5 | ||
|
|
52a5acbd88 | ||
|
|
778e04f2d9 | ||
|
|
93ecaeb2c6 | ||
|
|
49df11fd5f | ||
|
|
c8c8b16bfd | ||
|
|
6f83951d1c | ||
|
|
f2ae4658f9 | ||
|
|
faf4fe66af | ||
|
|
998759345f | ||
|
|
c88d2cce1f | ||
|
|
3e589e2c39 | ||
|
|
4c944bc86e | ||
|
|
d3e6c9d17f | ||
|
|
7379ac1bfb | ||
|
|
2a029615aa | ||
|
|
9c345b1b02 | ||
|
|
074a1228cf | ||
|
|
e3596928d8 | ||
|
|
ac71acfd52 | ||
|
|
8909c17d9c | ||
|
|
e5d16f01fd | ||
|
|
9874928b85 | ||
|
|
9e99e20001 | ||
|
|
b3e79ebc05 | ||
|
|
d30c17f44e | ||
|
|
2ca4575eeb | ||
|
|
51b93b6c23 | ||
|
|
ed9fb93c62 | ||
|
|
7d1644d234 | ||
|
|
010fce60af | ||
|
|
c3667fa861 | ||
|
|
cfdbdfc9eb | ||
|
|
077582d3f9 | ||
|
|
db51810499 | ||
|
|
5e23a773b4 | ||
|
|
1ca679877e | ||
|
|
9cb34c2a76 | ||
|
|
03c7f4f63b | ||
|
|
869a2b0121 | ||
|
|
0e409c5558 | ||
|
|
010fcfb9ec | ||
|
|
045232ef52 | ||
|
|
a560146b7c | ||
|
|
02db562b69 | ||
|
|
1b35e551d5 | ||
|
|
65b5d9b115 | ||
|
|
76f0a58429 | ||
|
|
572e868f97 | ||
|
|
313d06b169 | ||
|
|
74524d8b92 | ||
|
|
5b88ecbe0b | ||
|
|
a17afc056b | ||
|
|
d5eb1e5aed | ||
|
|
74c86ff4cc | ||
|
|
4ad2d48197 | ||
|
|
cbf2e5be18 | ||
|
|
135e4ddf27 | ||
|
|
6d298d47f9 | ||
|
|
a75c5db541 | ||
|
|
34a4ffcc45 | ||
|
|
798a08c1f1 | ||
|
|
cbd180afe6 | ||
|
|
c4aa50d2e1 | ||
|
|
84fe1a5774 | ||
|
|
819026f391 | ||
|
|
45e66c5362 | ||
|
|
cef99c3837 | ||
|
|
f7e0f70b7d | ||
|
|
feb90c6d43 | ||
|
|
b1b5ab0524 | ||
|
|
fd201644a0 | ||
|
|
97e9bbae7e | ||
|
|
d466cb5fa5 | ||
|
|
828d2adff9 | ||
|
|
37fe83f6ea | ||
|
|
e06781fb7a | ||
|
|
1782b291f8 | ||
|
|
7b51e84dc5 | ||
|
|
0f00eb3e59 | ||
|
|
2769d84822 | ||
|
|
966d8f2a57 | ||
|
|
b3901be2f6 | ||
|
|
ee90fc601e | ||
|
|
621faafcaf | ||
|
|
4e72eaacaa | ||
|
|
3a0d3e1169 | ||
|
|
da76a7b803 | ||
|
|
a7c31c9805 | ||
|
|
73f3ee63cc | ||
|
|
5c7f10154f | ||
|
|
992525a6df | ||
|
|
76e2c3227f | ||
|
|
5b4ccf033f | ||
|
|
071c3f5697 | ||
|
|
9a08e45324 | ||
|
|
574f482506 | ||
|
|
500eec69c7 | ||
|
|
5d50b36c5f | ||
|
|
89ceb247c4 | ||
|
|
2d57bab36b | ||
|
|
ed0b9b227b | ||
|
|
0cac21043d | ||
|
|
44b7efbee0 | ||
|
|
0a0da6cbe1 | ||
|
|
310b69ce3d | ||
|
|
0a3a12b9aa | ||
|
|
30f9a22f08 | ||
|
|
84bac28050 | ||
|
|
93e74ce434 | ||
|
|
f48e4357c9 | ||
|
|
a377fa737c | ||
|
|
aa7df40d0c | ||
|
|
5467391bbc | ||
|
|
94db1a63f0 | ||
|
|
414e98156a | ||
|
|
565d626c05 | ||
|
|
31ec985a6f | ||
|
|
4f1514cc22 | ||
|
|
a661eb8c9d | ||
|
|
b9b72e5947 | ||
|
|
b4b33c06e6 | ||
|
|
49a83d0b72 | ||
|
|
c271644e20 | ||
|
|
c96819eb25 | ||
|
|
3b9f8e8d77 | ||
|
|
ef239e765e | ||
|
|
2d403b3a44 | ||
|
|
3b3017dbe4 | ||
|
|
2dabc3e221 | ||
|
|
940944dcde | ||
|
|
182f7c33c1 | ||
|
|
e3ede19ce7 | ||
|
|
e6fc657342 | ||
|
|
a957ab18a3 | ||
|
|
bde8ce85e0 | ||
|
|
76849c1cfb | ||
|
|
1d115c6cd1 | ||
|
|
d1add5e846 | ||
|
|
b11e90f2f7 | ||
|
|
fe1c006f59 | ||
|
|
64cb61349f | ||
|
|
091181ba1d | ||
|
|
19631350a2 | ||
|
|
c2a7bb4598 | ||
|
|
d62228e521 | ||
|
|
7075c21582 | ||
|
|
581e33fcb6 | ||
|
|
f787cfb2ba | ||
|
|
0ec79ec49e | ||
|
|
52acc12919 | ||
|
|
631d4e0052 | ||
|
|
e1354fd956 | ||
|
|
2d7ce926aa | ||
|
|
8b9eaf7a72 | ||
|
|
a61c283115 | ||
|
|
4a78d5cb13 | ||
|
|
beb36c6a31 | ||
|
|
a0fc3f4dcf | ||
|
|
872976e6c6 | ||
|
|
f285740333 | ||
|
|
3b2da24533 | ||
|
|
ab98a01bac | ||
|
|
1516837c58 | ||
|
|
99c93cbe85 | ||
|
|
29741a40cb | ||
|
|
a796ce400d | ||
|
|
506e60cf63 | ||
|
|
3f527c012d | ||
|
|
027da05f20 | ||
|
|
eb18b8c0de | ||
|
|
88a90e5c20 | ||
|
|
48d1ebf570 | ||
|
|
d0b38e1871 | ||
|
|
836194d63b | ||
|
|
ea0f582d72 | ||
|
|
aaf9fd3dbd | ||
|
|
ab514a67ee | ||
|
|
323fcec547 | ||
|
|
3877878670 | ||
|
|
afffab3b5c | ||
|
|
3637f8cddf | ||
|
|
087316c833 | ||
|
|
5e5e381907 | ||
|
|
3713c3d810 | ||
|
|
11917e41a8 | ||
|
|
b79a891772 | ||
|
|
8884492839 | ||
|
|
56e3456e5f | ||
|
|
c989c25405 | ||
|
|
3bb98453bb | ||
|
|
1009c92386 | ||
|
|
20ab5bfe7a | ||
|
|
4465db2b46 | ||
|
|
f55019707b | ||
|
|
8522b3d989 | ||
|
|
4b2ec296b6 | ||
|
|
b21dc44004 | ||
|
|
16aeed9691 | ||
|
|
11e95169e7 | ||
|
|
fdc0acbb01 | ||
|
|
eec0a66009 | ||
|
|
e05343ddf5 | ||
|
|
45f1fb7d50 | ||
|
|
414b5fc644 | ||
|
|
0fd8ecd055 | ||
|
|
28a16d28a0 | ||
|
|
32eb3111ee | ||
|
|
92bc142c7c | ||
|
|
5a5145461d | ||
|
|
9710e93212 | ||
|
|
e13b6b397e | ||
|
|
eac4aabb7e | ||
|
|
31778d9146 | ||
|
|
5f72be6d6d | ||
|
|
67441500e4 | ||
|
|
77e670ccb3 | ||
|
|
908e8381f0 | ||
|
|
c49249d3b8 | ||
|
|
de6528383b | ||
|
|
29c82e9a81 | ||
|
|
8f886aa5ad | ||
|
|
18d4e1c1d7 | ||
|
|
4010476492 | ||
|
|
19bdbfa77c | ||
|
|
62e8f04c23 | ||
|
|
40a27d977b | ||
|
|
8b27dee31d | ||
|
|
0ed7b3647a | ||
|
|
66f78c9b43 | ||
|
|
f4ce23e0b7 | ||
|
|
7f245c7798 | ||
|
|
566eb0ccdb | ||
|
|
8077ff5da7 | ||
|
|
b41b5928ec | ||
|
|
c74f8a0ea5 | ||
|
|
e120193ed1 | ||
|
|
d99cf6b096 | ||
|
|
7283aded35 | ||
|
|
c51f5516ce | ||
|
|
163cfa71fd | ||
|
|
62a24d06c2 | ||
|
|
384c431d88 | ||
|
|
e5552e6905 | ||
|
|
230535d995 | ||
|
|
1e259bf34d | ||
|
|
d321424cab | ||
|
|
7eafb61cf1 | ||
|
|
125892ae42 | ||
|
|
79cc1aeccd | ||
|
|
e314d56b21 | ||
|
|
5c09208917 | ||
|
|
ca15fa930e | ||
|
|
820988907c | ||
|
|
f1542c6e52 | ||
|
|
5c74ddb92d | ||
|
|
cd658d90cc | ||
|
|
63d33d7f94 | ||
|
|
393db66fa0 | ||
|
|
882ae6dc81 | ||
|
|
b6147c325e | ||
|
|
f121eb73d4 | ||
|
|
291a32febc | ||
|
|
62bc1b229e | ||
|
|
c31458a5ad | ||
|
|
0ccfcec6fe | ||
|
|
c217843334 | ||
|
|
5c0f506a8d | ||
|
|
b60cf06374 | ||
|
|
9f0f177b6f | ||
|
|
2d19e5e052 | ||
|
|
e0b669dc1b | ||
|
|
52d82cba0a | ||
|
|
e7839d77b4 | ||
|
|
6ac36d6c40 | ||
|
|
2324773fbb | ||
|
|
5250b855e5 | ||
|
|
3f779475e3 | ||
|
|
720b81ff71 | ||
|
|
053868c17b | ||
|
|
f2dc087948 | ||
|
|
006de2be02 | ||
|
|
a8f395f763 | ||
|
|
055b15e042 | ||
|
|
07c6296f1c | ||
|
|
c7e4ef422e | ||
|
|
2ed4cddf00 | ||
|
|
859eac6db7 | ||
|
|
b0289fe19c | ||
|
|
35a4c994c8 | ||
|
|
c2cd663d62 | ||
|
|
1a86a68e46 | ||
|
|
7f81c06a0c | ||
|
|
427e0f335c | ||
|
|
21ae2786da | ||
|
|
83daf8e0e8 | ||
|
|
b834b10a3b | ||
|
|
b8670a4dbe | ||
|
|
f110c73056 | ||
|
|
4f65bd0778 | ||
|
|
7c50f6318c | ||
|
|
0f952a7adf | ||
|
|
3af24f31f3 | ||
|
|
02783048e9 | ||
|
|
348527989d | ||
|
|
59dd7ccff2 | ||
|
|
2517184252 | ||
|
|
df047ec2db | ||
|
|
ce55518eb9 | ||
|
|
e026ad7e55 | ||
|
|
3edf9da975 | ||
|
|
b6caf7d37a | ||
|
|
9b06c6a000 | ||
|
|
68e177a966 | ||
|
|
5d33eca131 | ||
|
|
280f222afa | ||
|
|
94a0d73732 | ||
|
|
15df083d06 | ||
|
|
4dee9cb05f | ||
|
|
cbcd4e8914 | ||
|
|
2b5495896e | ||
|
|
e6e4422fb4 | ||
|
|
6587eb73ae | ||
|
|
f95b3f433c | ||
|
|
9247bb5ce6 | ||
|
|
69689c95e5 | ||
|
|
e5cdc000d7 | ||
|
|
141970828e | ||
|
|
5e1d20ac48 | ||
|
|
f5696e5888 | ||
|
|
c21ffa3695 | ||
|
|
4bb7e0805e | ||
|
|
48a1825bff | ||
|
|
608fbb28a0 | ||
|
|
2c9595fe9b | ||
|
|
12d5afd75f | ||
|
|
23ae27b70d | ||
|
|
047414c02c | ||
|
|
45bcf3e665 | ||
|
|
fde1280c21 | ||
|
|
eeac70e579 | ||
|
|
cc8d3f09dd | ||
|
|
e05a638937 | ||
|
|
419331f455 | ||
|
|
72787358ad | ||
|
|
a77fff8e4c | ||
|
|
087178ba2c | ||
|
|
5f96b9c6e7 | ||
|
|
b28dfdd4ee | ||
|
|
4c0df6de33 | ||
|
|
b24fbe31cb | ||
|
|
9bb07c7986 | ||
|
|
8d349deb2a | ||
|
|
20bdb3ec83 | ||
|
|
9667b4ef59 | ||
|
|
49bb738eb2 | ||
|
|
d24633b39c | ||
|
|
e523f243d6 | ||
|
|
1afda33e4f | ||
|
|
e266dbe695 | ||
|
|
00dff71419 | ||
|
|
ca6365b316 | ||
|
|
94fe3dfb62 | ||
|
|
5e7137b6fe | ||
|
|
b89cb75d02 | ||
|
|
1207564519 | ||
|
|
897fb5025a | ||
|
|
509763cebe | ||
|
|
137e1e75d1 | ||
|
|
c38becfba1 | ||
|
|
3e46fb402b | ||
|
|
00efe86cd3 | ||
|
|
fe79b8de83 | ||
|
|
4312802ba7 | ||
|
|
b9043ed64c | ||
|
|
1982951c60 | ||
|
|
c2e47804fa | ||
|
|
341c0782e9 | ||
|
|
c26a8bbb74 | ||
|
|
722ddbf451 | ||
|
|
1f7386bd86 | ||
|
|
3ac455390e | ||
|
|
a402abe0c6 | ||
|
|
dd945c7ca5 | ||
|
|
fe9b9619fc | ||
|
|
0ea0f84a0d | ||
|
|
41739fb3e5 | ||
|
|
594719dbf2 | ||
|
|
13db722d6f | ||
|
|
a4eb5c2f91 | ||
|
|
a5c47a0894 | ||
|
|
76689aab4a | ||
|
|
5857790608 | ||
|
|
59737b2a47 | ||
|
|
2d964d860c | ||
|
|
f69b00568f | ||
|
|
41a4bda979 | ||
|
|
5730b425b3 | ||
|
|
e45b8b2f4f | ||
|
|
414e74bb4c | ||
|
|
7b3f134caa | ||
|
|
618f75ffe7 | ||
|
|
37e4a78fb7 | ||
|
|
915441ac03 | ||
|
|
06657dc387 | ||
|
|
f61b6ce5ab | ||
|
|
7a1a832f65 | ||
|
|
f75e5b4bc3 | ||
|
|
0b9bbcc7b2 | ||
|
|
10d334b8c6 | ||
|
|
8e22402bfa | ||
|
|
c0929c34e0 | ||
|
|
9e967f00b3 | ||
|
|
8532b7d59b | ||
|
|
5dd2290ef2 | ||
|
|
0d920026b5 | ||
|
|
5e08742b5c | ||
|
|
427cc60438 | ||
|
|
cb885fe3e0 | ||
|
|
22b6b95814 | ||
|
|
00ef68347f | ||
|
|
8b35ee7237 | ||
|
|
390e75170b | ||
|
|
25bcd22d15 | ||
|
|
8cad881e13 | ||
|
|
c629125a1d | ||
|
|
d7e3698dbc | ||
|
|
96afbd04c4 | ||
|
|
24acd0ff82 | ||
|
|
1c63fceb42 | ||
|
|
2a1bce7fef | ||
|
|
cf31c4eed1 | ||
|
|
397de9a6b0 | ||
|
|
0a9422abed | ||
|
|
08c7d3c120 | ||
|
|
9454206b34 | ||
|
|
2e95286e4d | ||
|
|
a2c9df5617 | ||
|
|
29340d4df3 | ||
|
|
07b8eaa68f | ||
|
|
7bc0e0cdd7 | ||
|
|
ec380c722e | ||
|
|
3e6c4f5264 | ||
|
|
6a91ef1ac3 | ||
|
|
2729605554 | ||
|
|
8e5124c890 | ||
|
|
45d90b20b7 | ||
|
|
0bc9c95a14 | ||
|
|
562e261f3a | ||
|
|
f15b1a5233 | ||
|
|
fafdb46e13 | ||
|
|
27fd8e5ad8 | ||
|
|
0c20ba842f | ||
|
|
bf6b05b0a3 | ||
|
|
6784c6120f | ||
|
|
cfeac85100 | ||
|
|
1debf39341 | ||
|
|
2cb98cb8ed | ||
|
|
b21c70ff49 | ||
|
|
b1360afe0a | ||
|
|
00c6a94a9c | ||
|
|
3d1b921a19 | ||
|
|
e9518198e5 | ||
|
|
a1cabeee67 | ||
|
|
ee13c84852 | ||
|
|
7111c840b9 | ||
|
|
7e2571ed33 | ||
|
|
247e158bf4 | ||
|
|
ca2292b6c2 | ||
|
|
fd41560563 | ||
|
|
ceabda8a54 | ||
|
|
b83d6e717d | ||
|
|
4472be61f0 | ||
|
|
1138466b13 | ||
|
|
32451337b0 | ||
|
|
f11c25c426 | ||
|
|
1a77e8727c | ||
|
|
0db4d85147 | ||
|
|
92fa05e67f | ||
|
|
faa5384be5 | ||
|
|
5c75d264a8 | ||
|
|
a8d9e343c6 | ||
|
|
87b7b97e0d | ||
|
|
eb602f66dc | ||
|
|
8d7c83a277 | ||
|
|
856377a61d | ||
|
|
000e598f31 | ||
|
|
b4df5611cb | ||
|
|
a8dfce5466 | ||
|
|
db95a04065 | ||
|
|
60ffbfb725 | ||
|
|
20e00bd15b | ||
|
|
5f94a10a06 | ||
|
|
e54ce145ea | ||
|
|
fdfa4b94bb | ||
|
|
8d12608cca | ||
|
|
66d32a0271 | ||
|
|
372f28339f | ||
|
|
00efc0305a | ||
|
|
53914b88bb | ||
|
|
3ee037c830 | ||
|
|
bb293a828f | ||
|
|
e83be97cb3 | ||
|
|
9a21932f43 | ||
|
|
93c02cfd32 | ||
|
|
52b00f2922 | ||
|
|
462834e6ea | ||
|
|
a7141c23ff | ||
|
|
2eebae392b | ||
|
|
46e7189c12 | ||
|
|
2087bd22c5 | ||
|
|
0256888233 | ||
|
|
2ed750a887 | ||
|
|
6b11f950e5 | ||
|
|
a5cea12cb3 | ||
|
|
e1626a41ea | ||
|
|
e146a9e9ca | ||
|
|
bc93e7fbe4 | ||
|
|
2f34c3325d | ||
|
|
e9f54cb051 | ||
|
|
5d72ee7c92 | ||
|
|
d8ce8b81c3 | ||
|
|
84b7714ba6 | ||
|
|
4cf2b5feee | ||
|
|
c2169c0121 | ||
|
|
c7dfe96397 | ||
|
|
169ab664c7 | ||
|
|
91ae166406 | ||
|
|
3aaacc57b0 | ||
|
|
b09b3689f2 | ||
|
|
177b2e1913 | ||
|
|
b7fff94589 | ||
|
|
68720076b1 | ||
|
|
5e8012a678 | ||
|
|
ea56fb0847 | ||
|
|
dac191e4e3 | ||
|
|
6fa9160954 | ||
|
|
30de1a50a6 | ||
|
|
834460c91d | ||
|
|
a701179293 | ||
|
|
66454b1a50 | ||
|
|
1eb27c1df8 | ||
|
|
65f260675e | ||
|
|
1c987f5bd0 | ||
|
|
a0d6c26a04 | ||
|
|
07bf83dd61 | ||
|
|
5548745ffa | ||
|
|
9556be1f23 | ||
|
|
afb392a079 | ||
|
|
6efe816846 | ||
|
|
07adebd8bf | ||
|
|
9635b9cea0 | ||
|
|
e0c31c054c | ||
|
|
a9dc556d0a | ||
|
|
2e2698a6e3 | ||
|
|
7b3c907796 | ||
|
|
8b7a2ebc53 | ||
|
|
31c446a1ac | ||
|
|
0ed43bba73 | ||
|
|
4b9235f567 | ||
|
|
f57f188d5e | ||
|
|
f64c3798c8 | ||
|
|
f922e1e565 | ||
|
|
393c357c53 | ||
|
|
13f5db4888 | ||
|
|
8ed730958d | ||
|
|
f9e4ca356a | ||
|
|
edf9f452e5 | ||
|
|
47ca0c0ae8 | ||
|
|
082daa04df | ||
|
|
8c7e025342 | ||
|
|
5289e52104 | ||
|
|
891b90b9d8 | ||
|
|
43d66ff4d8 | ||
|
|
9b97962a04 | ||
|
|
c66af2563e | ||
|
|
e0fe955483 | ||
|
|
a762f83e13 | ||
|
|
c0c41be207 | ||
|
|
e3f6365d8b | ||
|
|
9302c31f81 | ||
|
|
8df83179b6 | ||
|
|
ef42d89ffc | ||
|
|
ce4063f14f | ||
|
|
3a49748b76 | ||
|
|
9092eac2ea | ||
|
|
1fb2ab2244 | ||
|
|
ddcd1adb73 | ||
|
|
65ea950e30 | ||
|
|
cbe527afce | ||
|
|
276b0a9940 | ||
|
|
2cca55ee73 | ||
|
|
dddf0d8ea0 | ||
|
|
e3d9aad2a3 | ||
|
|
406c1d25ad | ||
|
|
8b58ce4ce3 | ||
|
|
5624d0d2ca | ||
|
|
11789c98ce | ||
|
|
59bbb688a5 | ||
|
|
6ed5db6dc8 | ||
|
|
3bfff911dd | ||
|
|
a9b5b501fd | ||
|
|
e2b4f546cf | ||
|
|
decbfc3e73 | ||
|
|
c67775554f | ||
|
|
2842685613 | ||
|
|
1b6292607c | ||
|
|
989aefce37 | ||
|
|
b388646ad0 | ||
|
|
5d80d08b8c | ||
|
|
6c62196f5c | ||
|
|
8bc93c4b39 | ||
|
|
47ca2c886d | ||
|
|
6706cae9a2 | ||
|
|
305b77c1fe | ||
|
|
19c8fad57b | ||
|
|
2742838b12 | ||
|
|
74770d3768 | ||
|
|
3a37fbaa0b | ||
|
|
bc7bb8ef59 | ||
|
|
786f289e00 | ||
|
|
c5aa6d1494 | ||
|
|
1a5dbe063a | ||
|
|
41fe812a81 | ||
|
|
ce2a8fcad1 | ||
|
|
0568203e32 | ||
|
|
17f001214e | ||
|
|
500765a5d3 | ||
|
|
8dba6fc778 | ||
|
|
bebbf5134d | ||
|
|
d95cc551df | ||
|
|
fd5089b471 | ||
|
|
b34ad6d930 | ||
|
|
6f1d247060 | ||
|
|
8e59eaa046 | ||
|
|
f704d56c37 | ||
|
|
41a4e6b63a | ||
|
|
40ded2b552 | ||
|
|
2ffb9a35a7 | ||
|
|
7a04c99af1 | ||
|
|
222df67b5f | ||
|
|
399f6e2425 | ||
|
|
1688f5d0c6 | ||
|
|
feff7ee306 | ||
|
|
53811fb124 | ||
|
|
45837e1a5a | ||
|
|
dba0a9c566 | ||
|
|
31434d52b3 | ||
|
|
335828b3e3 | ||
|
|
358039d9eb | ||
|
|
e0067a1201 | ||
|
|
772573f370 | ||
|
|
eee846a77f | ||
|
|
ba6c07c49c | ||
|
|
dd08fd4160 | ||
|
|
dcdfb3c500 | ||
|
|
bcefc71078 | ||
|
|
2099acf5f4 | ||
|
|
2c542fdc1b | ||
|
|
b17b5f38d6 | ||
|
|
25765e8d97 | ||
|
|
e7a5ef4aeb | ||
|
|
d189c74fa7 | ||
|
|
a9e73e7370 | ||
|
|
ea954f481b | ||
|
|
897ecfd59c | ||
|
|
d417b6d7dc | ||
|
|
2d4106dd06 | ||
|
|
200dff9cd1 | ||
|
|
cefa02738c | ||
|
|
7e24a650a8 | ||
|
|
a2083326f5 | ||
|
|
a2ec6eb28e | ||
|
|
778388f9ee | ||
|
|
62385ee390 | ||
|
|
75eacd49ae | ||
|
|
42aafd4c01 | ||
|
|
bf52e31dc2 | ||
|
|
68c053315e | ||
|
|
a3304910e9 | ||
|
|
91c849e442 | ||
|
|
5a36c9f1fd | ||
|
|
c3194fdd4a | ||
|
|
232236bed7 | ||
|
|
87d566aa5a | ||
|
|
30d0db2e53 | ||
|
|
d7b0d18bf0 | ||
|
|
13f3aab33e | ||
|
|
eeb5d4c670 | ||
|
|
17aa73d0ae | ||
|
|
327ef5d7a5 | ||
|
|
a616c819ef | ||
|
|
8f0f3c934a | ||
|
|
41bbde6add | ||
|
|
1c1a8550f3 | ||
|
|
171e74beab | ||
|
|
0cbf3e4a3c | ||
|
|
dd398d3481 | ||
|
|
1a5a4384d2 | ||
|
|
e8ee7f1f1d | ||
|
|
2ab495d049 | ||
|
|
60c26e4dd9 | ||
|
|
136f149c28 | ||
|
|
f76ffd46ce | ||
|
|
82a606c516 | ||
|
|
61ccc132bc | ||
|
|
8476f66ff2 | ||
|
|
41f760c673 | ||
|
|
cc0eb1b4cc | ||
|
|
781e549c48 | ||
|
|
4735975f0c | ||
|
|
c4597c7b8d | ||
|
|
507c619003 | ||
|
|
1a2e6167f4 | ||
|
|
17fb976edf | ||
|
|
fc5ed9af92 | ||
|
|
3478b0aa86 | ||
|
|
dce4401036 | ||
|
|
b058816edd | ||
|
|
b8688a447f | ||
|
|
c39797389a | ||
|
|
9cad7ff740 | ||
|
|
747c9fdc79 | ||
|
|
3830a53dc4 | ||
|
|
85bd889b9f | ||
|
|
ffaa990747 | ||
|
|
4c5545630d | ||
|
|
a86062cef0 | ||
|
|
580ccb1ffb | ||
|
|
8cc92b3c9a | ||
|
|
648916b028 | ||
|
|
c90f2f651f | ||
|
|
6fafd08b50 | ||
|
|
cbc30eb58e | ||
|
|
752ae75341 | ||
|
|
3922cd7d77 | ||
|
|
2a2c317d07 | ||
|
|
8c9259e7e9 | ||
|
|
3e7abade0e | ||
|
|
7a5658f388 | ||
|
|
ba36f4d622 | ||
|
|
9e79e88494 | ||
|
|
3bfd0fd2f8 | ||
|
|
d570afec5f | ||
|
|
c4512332ed | ||
|
|
4d1c90a812 | ||
|
|
4638c98ba0 | ||
|
|
ce44460fc7 | ||
|
|
b9448d5320 | ||
|
|
e6f020d390 | ||
|
|
5217f963e7 | ||
|
|
8435306c98 | ||
|
|
e461e9c6d2 | ||
|
|
41d647d252 | ||
|
|
25a5bedec1 | ||
|
|
70828363f1 | ||
|
|
45db742590 | ||
|
|
b6d57b4107 | ||
|
|
bbdba7d191 | ||
|
|
90efacbec9 | ||
|
|
66f47e25e9 | ||
|
|
3e906acfe2 | ||
|
|
0014f68478 | ||
|
|
123daf5e46 | ||
|
|
87bb2f5814 | ||
|
|
4ab98d81cd | ||
|
|
6393dc1926 | ||
|
|
dba2b07309 | ||
|
|
786cbe76a8 | ||
|
|
6443cd04c1 | ||
|
|
4d1e45d76a | ||
|
|
90b11833ff | ||
|
|
2115cd7394 | ||
|
|
15277e6bd6 | ||
|
|
f53004b171 | ||
|
|
59083b6912 | ||
|
|
665ef73634 | ||
|
|
fe3454a2de | ||
|
|
80e57d368b | ||
|
|
4771dc97ce | ||
|
|
a0fa08a524 | ||
|
|
a9c402ffda | ||
|
|
c1c09bc78d | ||
|
|
4d5f823b0f | ||
|
|
6c600321a7 | ||
|
|
1592e1e3da | ||
|
|
2811e6d984 | ||
|
|
496c5871ca | ||
|
|
6217218134 | ||
|
|
31e3260a36 | ||
|
|
7edc2b4a5f | ||
|
|
3ff66ac985 | ||
|
|
9bec7d1d33 | ||
|
|
a4806314e1 | ||
|
|
11987ed3a8 | ||
|
|
5d4a9aa7f9 | ||
|
|
a146700e40 | ||
|
|
a9e3ef2e13 | ||
|
|
a5076ac021 | ||
|
|
b715527f92 | ||
|
|
66a6782051 | ||
|
|
11e5c801a2 | ||
|
|
7b114d1942 | ||
|
|
96fc5f6350 | ||
|
|
1540749175 | ||
|
|
a483c550d7 | ||
|
|
4018527279 | ||
|
|
54a98ba74e | ||
|
|
463cf3b5c1 | ||
|
|
d86c6dce1c | ||
|
|
a333f0685b | ||
|
|
1312784075 | ||
|
|
1006d04ff6 | ||
|
|
74c2ce1ff8 | ||
|
|
6447228e30 | ||
|
|
b8285f3c99 | ||
|
|
395814d25f | ||
|
|
ec0624edc6 | ||
|
|
a715c0daee | ||
|
|
622840da56 | ||
|
|
c0dd559ee4 | ||
|
|
ddae67da8a | ||
|
|
99a0b46327 | ||
|
|
5a06ca6c04 | ||
|
|
59e8fa77d7 | ||
|
|
09c7afbc75 | ||
|
|
15145d0554 | ||
|
|
0af1ea70c2 | ||
|
|
5e8abc1c40 | ||
|
|
ebbdb78a35 | ||
|
|
00dac826ca | ||
|
|
f4a7a5242a | ||
|
|
a22bb15e6b | ||
|
|
a82fcb2c9c | ||
|
|
1b5338dc5f | ||
|
|
2e31504f02 | ||
|
|
cd57ffcd04 | ||
|
|
03c249026e | ||
|
|
f376e49d95 | ||
|
|
cdd571a071 | ||
|
|
882d805b9d | ||
|
|
8632f59dd2 | ||
|
|
1ba011835d | ||
|
|
96db2c2751 | ||
|
|
9f1983da90 | ||
|
|
2a927126d3 | ||
|
|
a2b79b241d | ||
|
|
a6155cbc4a | ||
|
|
85b2056a36 | ||
|
|
44f06623bd | ||
|
|
e0e93f396d | ||
|
|
780743d055 | ||
|
|
881dc69fef | ||
|
|
7ad842c95c | ||
|
|
4a1c47f4bd | ||
|
|
b94bebc69b | ||
|
|
b182c70602 | ||
|
|
588b905349 | ||
|
|
53ac1b026b | ||
|
|
a4bbf29c15 | ||
|
|
0fc77091f3 | ||
|
|
fc662e3ffe | ||
|
|
c37ef087cf | ||
|
|
b1d1a9d662 | ||
|
|
b0876880fd | ||
|
|
401e28d28f | ||
|
|
5f5a66ee96 | ||
|
|
35405bee31 | ||
|
|
1a17c39b23 | ||
|
|
067f012082 | ||
|
|
d3a4abc745 | ||
|
|
94c2a5434f | ||
|
|
c078f357c6 | ||
|
|
e98342bf74 | ||
|
|
8a83c3eb2c | ||
|
|
3e220c5b7b | ||
|
|
49b2bdeafb | ||
|
|
c27b70cc43 | ||
|
|
847ed21be0 | ||
|
|
88a6ae00a2 | ||
|
|
2bf7d1b525 | ||
|
|
01262e9104 | ||
|
|
294148d27d | ||
|
|
0b442e8430 | ||
|
|
e02828877e | ||
|
|
af7195e349 | ||
|
|
5bc0917df2 | ||
|
|
1e227ddee1 | ||
|
|
f58bc6e295 | ||
|
|
ae1822075d | ||
|
|
a21fae83b7 | ||
|
|
092f4c6ac0 | ||
|
|
a350f8f0f4 | ||
|
|
da3bd8368b | ||
|
|
be84042525 | ||
|
|
81129b83c3 | ||
|
|
8b7eee9788 | ||
|
|
5bb4b3d154 | ||
|
|
6f33b62f39 | ||
|
|
a28e700ff5 | ||
|
|
ad2d093d06 | ||
|
|
721ad57069 | ||
|
|
c0712cb163 | ||
|
|
64da05d517 | ||
|
|
5f7db6b93f | ||
|
|
bae654cbf7 | ||
|
|
d4513c61d4 | ||
|
|
1283104761 | ||
|
|
8fd5b8e0f5 | ||
|
|
914733cd27 | ||
|
|
fef19961d7 | ||
|
|
78072e093d | ||
|
|
a60e3b1497 | ||
|
|
6757632ae7 | ||
|
|
25869d138a | ||
|
|
4f187040c6 | ||
|
|
ab93bc9a7b | ||
|
|
b353ba1788 | ||
|
|
58ad70577a | ||
|
|
f6a855df8c | ||
|
|
067ed199d2 | ||
|
|
705d2361ca | ||
|
|
ca6d958db0 | ||
|
|
69b48401c9 | ||
|
|
51278a7b25 | ||
|
|
a3195b79f6 | ||
|
|
572e92c597 | ||
|
|
1de81ff1da | ||
|
|
3821e9bead | ||
|
|
ab66a6156f | ||
|
|
eb0e423499 | ||
|
|
814d37f556 | ||
|
|
ea5c5fe093 | ||
|
|
aad9126f5f | ||
|
|
c63aa7cd12 | ||
|
|
f2ba124191 | ||
|
|
03bd0ea9e6 | ||
|
|
0f2b159ed9 | ||
|
|
c12b559df3 | ||
|
|
420b6c3145 | ||
|
|
1bad3716e3 | ||
|
|
a4a794266d | ||
|
|
65025fea2c | ||
|
|
982646c232 | ||
|
|
65cddd7727 | ||
|
|
21dec72083 | ||
|
|
eff552d9bd | ||
|
|
6218be7200 | ||
|
|
d772d6a0e3 | ||
|
|
eea2d3e250 | ||
|
|
3a5adbd2af | ||
|
|
d455c0d234 | ||
|
|
4339c540ca | ||
|
|
6504758616 | ||
|
|
3a3baaf72a | ||
|
|
eda8722273 | ||
|
|
392de95a84 | ||
|
|
ceb5151a23 | ||
|
|
b5ea5215ef | ||
|
|
0b7b9d2bff | ||
|
|
b9d5083353 | ||
|
|
ddbea4b85a | ||
|
|
52c9310997 | ||
|
|
3ffd7c6ca8 | ||
|
|
b9480403b5 | ||
|
|
4b393c4e68 | ||
|
|
0560b20dad | ||
|
|
548e5ad0f7 | ||
|
|
cc82f7647f | ||
|
|
9e0e78ad64 | ||
|
|
b22850efd7 | ||
|
|
b2a93db718 | ||
|
|
cd1797fac9 | ||
|
|
fd8a5f9ebf | ||
|
|
8cdf86ee69 | ||
|
|
fa171c4369 | ||
|
|
78fb960c6a | ||
|
|
243d65d765 | ||
|
|
9862d66925 | ||
|
|
a2a647ca37 | ||
|
|
fa7f66c939 | ||
|
|
c6ceaa11df | ||
|
|
396ea09438 | ||
|
|
722e5ff2c5 | ||
|
|
cd8880b0c3 | ||
|
|
6761073b2a | ||
|
|
d46883ac2d | ||
|
|
d38d6580e2 | ||
|
|
2889a73335 | ||
|
|
e1c694a6c6 | ||
|
|
c013b533f2 | ||
|
|
5a5cca1bc0 | ||
|
|
8112950205 | ||
|
|
d3d1b2d56a | ||
|
|
b85b691a1a | ||
|
|
1651cf1ae3 | ||
|
|
2c9e4379c9 | ||
|
|
ed12a1d4da | ||
|
|
81a4224c7d | ||
|
|
b0b4fb685a | ||
|
|
15deb5b223 | ||
|
|
3ad43b66e7 | ||
|
|
abf1a37e2e | ||
|
|
2c50197c33 | ||
|
|
123e545dee | ||
|
|
fb14f43a98 | ||
|
|
c1b9fc566a | ||
|
|
62de061fb2 | ||
|
|
8c7b88f1aa | ||
|
|
6f2cbfaade | ||
|
|
aaa5b33e18 | ||
|
|
6ce41773fb | ||
|
|
af0192d09a | ||
|
|
fbdf874ee5 | ||
|
|
d1be740678 | ||
|
|
725d5fdcc2 | ||
|
|
7d1d8f51d8 | ||
|
|
fb4d198131 | ||
|
|
b39878bbda | ||
|
|
690c34df5f | ||
|
|
b37a2639e9 | ||
|
|
6bb074bbfb | ||
|
|
a56212b5ae | ||
|
|
b85e7c862b | ||
|
|
b41347b9f4 | ||
|
|
875ab8db4c | ||
|
|
3e4783c04b | ||
|
|
9547921445 | ||
|
|
5eb363dbf1 | ||
|
|
3f3be880fa | ||
|
|
1a07a83f17 | ||
|
|
30d60224a8 | ||
|
|
c667ba8f62 | ||
|
|
a5624bf9ea | ||
|
|
5134b17082 | ||
|
|
a19175129f | ||
|
|
c6de69eb21 | ||
|
|
f9e87491df | ||
|
|
eec02ff936 | ||
|
|
86aa29ba9c | ||
|
|
3f86444112 | ||
|
|
eca868c73c | ||
|
|
e71a7f33ef | ||
|
|
d2a6ce3a93 | ||
|
|
4d7109cceb | ||
|
|
f6b11e2213 | ||
|
|
d01c819b05 | ||
|
|
8059fb5c5c | ||
|
|
2b10be3758 | ||
|
|
16e5b3dbf8 | ||
|
|
8b671a8c31 | ||
|
|
5aa5218a13 | ||
|
|
9a09cb3ca5 | ||
|
|
f9dcaa74a9 | ||
|
|
271f003d33 | ||
|
|
b5a4413ca9 | ||
|
|
78da0216d2 | ||
|
|
f39517dcc9 | ||
|
|
a9fc05d4af | ||
|
|
9c630f56ce | ||
|
|
57172b4f19 | ||
|
|
e6de93e0c3 | ||
|
|
8946cb628f | ||
|
|
29455cce9b | ||
|
|
c0eb4ba374 | ||
|
|
a5aa5a1354 | ||
|
|
5b30a15806 | ||
|
|
550d7b0095 | ||
|
|
4accf0d718 | ||
|
|
1e7d4e1401 | ||
|
|
02782549c3 | ||
|
|
3f6f50317d | ||
|
|
959d68eacc | ||
|
|
bf71c7a73c | ||
|
|
bc59e605dd | ||
|
|
159153b539 | ||
|
|
84e9a10987 | ||
|
|
ca8f94773d | ||
|
|
f14b6234e4 | ||
|
|
66d987e38b | ||
|
|
d135465fba | ||
|
|
d899b02874 | ||
|
|
5e0d39a8a1 | ||
|
|
2a239b5205 | ||
|
|
c2c4503360 | ||
|
|
0c38b2846a | ||
|
|
6025544e01 | ||
|
|
34012db895 | ||
|
|
f35595be4d | ||
|
|
e461b821b1 | ||
|
|
b7f7f8c40d | ||
|
|
cb21cf2519 | ||
|
|
f88093694b | ||
|
|
91cd0472de | ||
|
|
f89d6b0c76 | ||
|
|
530ad57bc9 | ||
|
|
8120d7baad | ||
|
|
79f69c8cd7 | ||
|
|
52d4b9dcb7 | ||
|
|
3e2a367d91 | ||
|
|
68c190b1d6 | ||
|
|
ce4977fd6c | ||
|
|
487b036c28 | ||
|
|
bc25f308ca | ||
|
|
7dc414e181 | ||
|
|
655ac68c8a | ||
|
|
5c11fe6475 | ||
|
|
6a8c21d3ea | ||
|
|
de9d6af30d | ||
|
|
7584a761ba | ||
|
|
244d35f301 | ||
|
|
98a369ffa9 | ||
|
|
4fb9e11be7 | ||
|
|
874d6d4481 | ||
|
|
caaad87769 | ||
|
|
bafdce393e | ||
|
|
5927c87748 | ||
|
|
491730fbc3 | ||
|
|
26748dcdbf | ||
|
|
b36c8440d3 | ||
|
|
6d107fdeca | ||
|
|
a7bed9a7fc | ||
|
|
995e5620fb | ||
|
|
8d0e921d8b | ||
|
|
f1fa4ecd4d | ||
|
|
421088dfce | ||
|
|
8e7cae914b | ||
|
|
a5f5ca7e4b | ||
|
|
368c02f522 | ||
|
|
0fc4608b1b | ||
|
|
8d3e2a3c82 | ||
|
|
8fdae0685f | ||
|
|
ef88a33d1c | ||
|
|
cb947b7a56 | ||
|
|
25a554dc6b | ||
|
|
f03f5bf483 | ||
|
|
53925041e1 | ||
|
|
9389d44cba | ||
|
|
e1328b4a36 | ||
|
|
16dd36fe77 | ||
|
|
f8f323d671 | ||
|
|
4c4176ac3f | ||
|
|
46a0e22cc5 | ||
|
|
a794f55d16 | ||
|
|
0d2d3266b7 | ||
|
|
3d7713edcc | ||
|
|
f786b0d001 | ||
|
|
3ab1a56f73 | ||
|
|
c51a8e79ef | ||
|
|
77779a3798 | ||
|
|
539a6580da | ||
|
|
4ccd94d7cc | ||
|
|
9aa9822808 | ||
|
|
bc209e41d7 | ||
|
|
4ebb99f7a2 | ||
|
|
1171b0c1c0 | ||
|
|
70deea8dde | ||
|
|
c5efaeb498 | ||
|
|
ea9d8f02a9 | ||
|
|
79c1053d83 | ||
|
|
1339280bf5 | ||
|
|
5d373fb3e2 | ||
|
|
09e456bd98 | ||
|
|
dd4c3c2277 | ||
|
|
4f1a64acb0 | ||
|
|
779d417c8f | ||
|
|
765b41d0eb | ||
|
|
a26b7f61fe | ||
|
|
15a6c8a875 | ||
|
|
cd1fb04733 | ||
|
|
b495a722fe | ||
|
|
cb44ebe851 | ||
|
|
721a1200e4 | ||
|
|
f18e9a35e7 | ||
|
|
f50619864a | ||
|
|
2fc85bb367 | ||
|
|
4281399ba4 | ||
|
|
bdc40b7009 | ||
|
|
6a1bc81524 | ||
|
|
f0e2ab213d | ||
|
|
5f6f7b17bc | ||
|
|
a26da0742b | ||
|
|
5a20b20939 | ||
|
|
27b511e9e8 | ||
|
|
9c4c68f6c0 | ||
|
|
66f515c6e6 | ||
|
|
36506fd65b | ||
|
|
4b6221f88e | ||
|
|
1d38766f1d | ||
|
|
04fd965bc6 | ||
|
|
42d14faddb | ||
|
|
1be92405d9 | ||
|
|
2e591671a4 | ||
|
|
2b8362fa4a | ||
|
|
069b2287b0 | ||
|
|
65a94cb15f | ||
|
|
daae700d53 | ||
|
|
8d11edbb18 | ||
|
|
0d08e2b3fb | ||
|
|
3c31172e41 | ||
|
|
804044e4bd | ||
|
|
ad4eb74c6f | ||
|
|
f48449d629 | ||
|
|
28e8525372 | ||
|
|
ed1d25225b | ||
|
|
2166f0315a | ||
|
|
f0945bf7f6 | ||
|
|
b6f511dc16 | ||
|
|
deda0b8d8c | ||
|
|
cb0267cf43 | ||
|
|
e697335417 | ||
|
|
ff5956eacb | ||
|
|
fd6829c5b9 | ||
|
|
ed685e8b76 | ||
|
|
b7f2b467d6 | ||
|
|
1063240b86 | ||
|
|
5f7e9663af | ||
|
|
a4df7d4923 | ||
|
|
aaf7b009c0 | ||
|
|
a6c34bea95 | ||
|
|
36f29ca619 | ||
|
|
75702b65c9 | ||
|
|
b50ac20959 | ||
|
|
c363aae8d1 | ||
|
|
6e89ac3b20 | ||
|
|
85f0de201f | ||
|
|
b117a53b8f | ||
|
|
09d49bbe57 | ||
|
|
e98d3b9ca2 | ||
|
|
b472a0391c | ||
|
|
0605fe6928 | ||
|
|
1e1016775e | ||
|
|
779b5e8aed | ||
|
|
17c5a00c59 | ||
|
|
965750f13a | ||
|
|
f238640c9f | ||
|
|
16edc1e552 | ||
|
|
769d2a66b7 | ||
|
|
cd7a379d4d | ||
|
|
516e1cf793 | ||
|
|
4e54ac3d4b | ||
|
|
35ffcbc1a3 | ||
|
|
c283d07830 | ||
|
|
d14339d661 | ||
|
|
466765f73f | ||
|
|
9887662433 | ||
|
|
e4bd4dbb15 | ||
|
|
7bfb9bcb78 | ||
|
|
764de0ed5d | ||
|
|
2fb5b32d59 | ||
|
|
6a5690b9af | ||
|
|
9433d2c80a | ||
|
|
f7f2aadc63 | ||
|
|
85b89a1f4c | ||
|
|
ac10f4e562 | ||
|
|
aad8adc02d | ||
|
|
cfd8ee350b | ||
|
|
eedeb428d6 | ||
|
|
7100d93117 | ||
|
|
7e96bcfa38 | ||
|
|
611f3eea3e | ||
|
|
eaeadc3cdd | ||
|
|
fa4c0b6af3 | ||
|
|
7da0d3c26b | ||
|
|
b17ddc5c15 | ||
|
|
6c856a2dce | ||
|
|
8e49b6eb26 | ||
|
|
28173013b5 | ||
|
|
2436b702f9 | ||
|
|
97ad3a34d9 | ||
|
|
82974a28da | ||
|
|
2ac4e6a5c8 | ||
|
|
cc8d9648c0 | ||
|
|
95ac41a19b | ||
|
|
f26e4b2f6e | ||
|
|
9393226b12 | ||
|
|
924d93d1c5 | ||
|
|
ecf2510108 | ||
|
|
12b44a0e94 | ||
|
|
686fae761c | ||
|
|
3b2913ca03 | ||
|
|
41fced547f | ||
|
|
9780c4d801 | ||
|
|
82bcac8efa | ||
|
|
6df483ca43 | ||
|
|
740380de09 | ||
|
|
8b18c84289 | ||
|
|
d46d59e019 | ||
|
|
63aec27545 | ||
|
|
4c6c6f0ef8 | ||
|
|
1894134817 | ||
|
|
8bbf58446d | ||
|
|
5ceccbe744 | ||
|
|
202a99c4eb | ||
|
|
a878333ecd | ||
|
|
aeabef2ae6 | ||
|
|
9281d4a7e6 | ||
|
|
d3aa5f9504 | ||
|
|
ede498bb6f | ||
|
|
38ceab1547 | ||
|
|
1ce00698ff | ||
|
|
ce46242d2c | ||
|
|
bb3db1248b | ||
|
|
08f1fdcf14 | ||
|
|
76f89cdb64 | ||
|
|
0311475c60 | ||
|
|
f2f19e9503 | ||
|
|
2282f874a7 | ||
|
|
f23af186aa | ||
|
|
e8efa63b23 | ||
|
|
17fe3de8e0 | ||
|
|
c4034198f8 | ||
|
|
7b847a8d61 | ||
|
|
1c3c4d86b3 | ||
|
|
4ecb683985 | ||
|
|
17c867e883 | ||
|
|
863ddf25bf | ||
|
|
a4d4872884 |
No files matched your search
+3
-4
@@ -4,6 +4,9 @@ config.rpath crlf=input
|
||||
configure.host crlf=input
|
||||
mkinstalldirs crlf=input
|
||||
*.sh crlf=input
|
||||
*.sources crlf=input
|
||||
.gitattributes crlf=input
|
||||
*akefile* crlf=input
|
||||
|
||||
# ensure native line endings on checkout
|
||||
*.c crlf
|
||||
@@ -11,10 +14,6 @@ mkinstalldirs crlf=input
|
||||
*.cs crlf
|
||||
*.il crlf
|
||||
|
||||
.gitattributes crlf
|
||||
*akefile* crlf
|
||||
*.sources crlf
|
||||
|
||||
# don't do anything to line-endings. Let CRLFs go into the repo, and CRLF on checkout
|
||||
*.bat -crlf
|
||||
*.sln -crlf
|
||||
|
||||
+9
-6
@@ -20,18 +20,12 @@
|
||||
[submodule "external/reference-assemblies"]
|
||||
path = external/binary-reference-assemblies
|
||||
url = git://github.com/mono/reference-assemblies.git
|
||||
[submodule "external/Lucene.Net.Light"]
|
||||
path = external/Lucene.Net.Light
|
||||
url = git://github.com/mono/Lucene.Net.Light.git
|
||||
[submodule "external/nunit-lite"]
|
||||
path = external/nunit-lite
|
||||
url = git://github.com/mono/NUnitLite.git
|
||||
[submodule "external/nuget-buildtasks"]
|
||||
path = external/nuget-buildtasks
|
||||
url = git://github.com/mono/NuGet.BuildTasks
|
||||
[submodule "external/buildtools"]
|
||||
path = external/buildtools
|
||||
url = git://github.com/mono/buildtools.git
|
||||
[submodule "external/cecil-legacy"]
|
||||
path = external/cecil-legacy
|
||||
url = git://github.com/mono/cecil.git
|
||||
@@ -55,3 +49,12 @@
|
||||
[submodule "external/corert"]
|
||||
path = external/corert
|
||||
url = git://github.com/mono/corert.git
|
||||
[submodule "external/xunit-binaries"]
|
||||
path = external/xunit-binaries
|
||||
url = git://github.com/mono/xunit-binaries.git
|
||||
[submodule "external/api-doc-tools"]
|
||||
path = external/api-doc-tools
|
||||
url = git://github.com/mono/api-doc-tools.git
|
||||
[submodule "external/api-snapshot"]
|
||||
path = external/api-snapshot
|
||||
url = git://github.com/mono/api-snapshot.git
|
||||
+1
-17
@@ -44,31 +44,15 @@ dist-hook:
|
||||
rm -rf `find $(top_distdir)/external -path '*\.git'`
|
||||
rm -f `find $(top_distdir)/external -path '*\.exe' -not -path '*/roslyn-binaries/*'`
|
||||
rm -f `find $(top_distdir)/external -path '*\.dll' -not -path '*/binary-reference-assemblies/*' -not -path '*/roslyn-binaries/*'`
|
||||
cp mcs/class/lib/basic/System.Configuration.dll mcs/class/lib/monolite/
|
||||
cp mcs/class/lib/basic/System.Security.dll mcs/class/lib/monolite/
|
||||
# Disable this for now because it is very slow and causes wrench to timeout:
|
||||
# test ! -d $(GIT_DIR) || ./scripts/commits-to-changelog.py --root=$(distdir) last-commit-with-compulsory-changelog-entry
|
||||
|
||||
mac-sdk-package:
|
||||
external/bockbuild/bb MacSDK --package
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
noinst_DATA = mono-uninstalled.pc
|
||||
DISTCLEANFILES= mono-uninstalled.pc
|
||||
|
||||
# building with monolite
|
||||
mcslib = $(mcs_topdir)/class/lib
|
||||
monolite = $(mcslib)/monolite
|
||||
mono_corlib_version = $(shell sed -n "s/\#define MONO_CORLIB_VERSION //p" $(srcdir)/mono/metadata/appdomain.c)
|
||||
monolite_url = http://download.mono-project.com/monolite/monolite-$(mono_corlib_version)-latest.tar.gz
|
||||
.PHONY: get-monolite-latest
|
||||
get-monolite-latest:
|
||||
-rm -fr $(mcslib)/monolite-*
|
||||
-mkdir -p $(mcslib)
|
||||
test ! -d $(monolite) || test ! -d $(monolite).old || rm -fr $(monolite).old
|
||||
test ! -d $(monolite) || mv -f $(monolite) $(monolite).old
|
||||
cd $(mcslib) && { (wget -O- $(monolite_url) || curl $(monolite_url)) | gzip -d | tar xf - ; }
|
||||
cd $(mcslib) && mv -f monolite-* monolite
|
||||
$(MAKE) -C $(mcs_topdir)/class get-monolite-latest
|
||||
|
||||
if BITCODE
|
||||
BITCODE_CHECK=yes
|
||||
|
||||
@@ -29,6 +29,7 @@ The Mono project is part of the [.NET Foundation](http://www.dotnetfoundation.or
|
||||
| Windows | amd64 | [![windows-amd64][15]][16] |
|
||||
| Windows | i386 | [![windows-amd64][17]][18] |
|
||||
| CentOS | s390x (cs) | [![centos-s390x][19]][20] |
|
||||
| Debian 8 | ppc64el (cs) | [![debian-8-ppc64el][21]][22]|
|
||||
|
||||
_(cs) = community supported architecture_
|
||||
|
||||
@@ -50,8 +51,10 @@ _(cs) = community supported architecture_
|
||||
[16]: https://jenkins.mono-project.com/job/z/label=w64/
|
||||
[17]: https://jenkins.mono-project.com/job/z/label=w32/badge/icon
|
||||
[18]: https://jenkins.mono-project.com/job/z/label=w32/
|
||||
[19]: https://jenkins.mono-project.com/job/z/label=centos-s390x/badge/icon
|
||||
[20]: https://jenkins.mono-project.com/job/z/label=centos-s390x
|
||||
[19]: https://jenkins.mono-project.com/job/test-mono-mainline-community/label=centos-s390x/badge/icon
|
||||
[20]: https://jenkins.mono-project.com/job/test-mono-mainline-community/label=centos-s390x
|
||||
[21]: https://jenkins.mono-project.com/job/test-mono-mainline-community-chroot/label=debian-8-ppc64el/badge/icon
|
||||
[22]: https://jenkins.mono-project.com/job/test-mono-mainline-community-chroot/label=debian-8-ppc64el
|
||||
|
||||
Compilation and Installation
|
||||
============================
|
||||
@@ -190,22 +193,18 @@ disable the compilation of a Mono runtime with the SGen garbage
|
||||
collector.
|
||||
|
||||
* On platforms that support it, after building Mono, you will have
|
||||
both a `mono` binary and a `mono-sgen` binary. `mono` uses Boehm,
|
||||
both a `mono-boehm` binary and a `mono-sgen` binary. `mono-boehm` uses Boehm,
|
||||
while `mono-sgen` uses the Simple Generational GC.
|
||||
|
||||
* `--with-gc=[included, boehm, none]` - Selects the default Boehm
|
||||
* `--with-libgc=[included, none]` - Selects the default Boehm
|
||||
garbage collector engine to use.
|
||||
|
||||
* *included*: (*slightly modified Boehm GC*) This is the default
|
||||
value for the Boehm GC, and it's the most feature complete, it will
|
||||
allow Mono to use typed allocations and support the debugger.
|
||||
|
||||
* *boehm*: This is used to use a system-install Boehm GC, it is
|
||||
useful to test new features available in Boehm GC, but we do not
|
||||
recommend that people use this, as it disables a few features.
|
||||
|
||||
* *none*:
|
||||
Disables the inclusion of a garbage collector.
|
||||
Disables the inclusion of a Boehm garbage collector.
|
||||
|
||||
* This defaults to `included`.
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
{
|
||||
"name": "ms-test-suite",
|
||||
"url": "[email protected]:xamarin/ms-test-suite.git",
|
||||
"rev": "55b6637eb1de61c743323ec82db1e0cadfee5b32",
|
||||
"rev": "73c155f76b55839f26ba707d6d40091060e4f5d8",
|
||||
"remote-branch": "origin/master",
|
||||
"branch": "master",
|
||||
"directory": "ms-test-suite"
|
||||
|
||||
+150
-181
@@ -1,8 +1,7 @@
|
||||
# Process this file with autoconf to produce a configure script.
|
||||
#AC_PREREQ([2.62])
|
||||
|
||||
# when bumping version number below, keep it in sync with man/mono.1 too
|
||||
AC_INIT(mono, [4.9.0],
|
||||
AC_INIT(mono, [5.4.0],
|
||||
[http://bugzilla.xamarin.com/enter_bug.cgi?classification=Mono])
|
||||
|
||||
AC_CONFIG_SRCDIR([README.md])
|
||||
@@ -29,6 +28,24 @@ AC_PROG_LN_S
|
||||
|
||||
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
|
||||
|
||||
MONO_VERSION_MAJOR=`echo $VERSION | cut -d . -f 1`
|
||||
MONO_VERSION_MINOR=`echo $VERSION | cut -d . -f 2`
|
||||
MONO_VERSION_BUILD=`echo $VERSION | cut -d . -f 3`
|
||||
|
||||
# This is the version number of the corlib-runtime interface. When
|
||||
# making changes to this interface (by changing the layout
|
||||
# of classes the runtime knows about, changing icall signature or
|
||||
# semantics etc), increment this variable.
|
||||
#
|
||||
# This can be reset to 0 when Mono's version number is bumped
|
||||
# since it's part of the corlib version (the prefix '1' in the full
|
||||
# version number is to ensure the number isn't treated as octal in C)
|
||||
MONO_CORLIB_COUNTER=3
|
||||
MONO_CORLIB_VERSION=`printf "1%02d%02d%02d%03d" $MONO_VERSION_MAJOR $MONO_VERSION_MINOR 0 $MONO_CORLIB_COUNTER`
|
||||
|
||||
AC_DEFINE_UNQUOTED(MONO_CORLIB_VERSION,$MONO_CORLIB_VERSION,[Version of the corlib-runtime interface])
|
||||
AC_SUBST(MONO_CORLIB_VERSION)
|
||||
|
||||
case $host_os in
|
||||
*cygwin* )
|
||||
echo "Run configure using ./configure --host=i686-pc-mingw32"
|
||||
@@ -216,9 +233,6 @@ case "$host" in
|
||||
CFLAGS="$CFLAGS -DPAGE_SIZE=4096 -DS_IWRITE=S_IWUSR"
|
||||
CXXFLAGS="$CXXFLAGS -DPAGE_SIZE=4096 -DS_IWRITE=S_IWUSR"
|
||||
|
||||
# The configure check can't detect this
|
||||
AC_DEFINE(HAVE_LARGE_FILE_SUPPORT, 1, [Have large file support])
|
||||
|
||||
# to bypass the underscore linker check, can't work when cross-compiling
|
||||
mono_cv_uscore=yes
|
||||
mono_cv_clang=no
|
||||
@@ -250,17 +264,8 @@ case "$host" in
|
||||
with_sgen_default_concurrent=yes
|
||||
;;
|
||||
*-*-nacl*)
|
||||
CPPFLAGS="$CPPFLAGS -DGC_LINUX_THREADS -D_GNU_SOURCE -D_REENTRANT -DUSE_MMAP"
|
||||
if test "x$disable_munmap" != "xyes"; then
|
||||
CPPFLAGS="$CPPFLAGS -DUSE_MUNMAP"
|
||||
fi
|
||||
libmono_cflags="-D_REENTRANT"
|
||||
libdl=
|
||||
libgc_threads=pthreads
|
||||
use_sigposix=yes
|
||||
ikvm_native=no
|
||||
AC_DEFINE(DISABLE_SOCKETS,1,[Disable sockets support])
|
||||
AC_DEFINE(DISABLE_ATTACH, 1, [Disable agent attach support])
|
||||
echo "nacl no longer supported."
|
||||
exit 1
|
||||
;;
|
||||
*-*-hpux*)
|
||||
CPPFLAGS="$CPPFLAGS -DGC_HPUX_THREADS -D_HPUX_SOURCE -D_XOPEN_SOURCE_EXTENDED -D_REENTRANT"
|
||||
@@ -334,9 +339,13 @@ case "$host" in
|
||||
CPPFLAGS="$CPPFLAGS -D_REENTRANT -D_THREAD_SAFE"
|
||||
libmono_cflags="-D_REENTRANT -D_THREAD_SAFE"
|
||||
libdl=
|
||||
LIBS="$LIBS -lnetwork"
|
||||
LIBS="$LIBS -lnetwork -ltextencoding"
|
||||
need_link_unlink=yes
|
||||
AC_DEFINE(PTHREAD_POINTER_ID)
|
||||
dnl Haiku does not support static TLS with __thread
|
||||
with_tls=pthread
|
||||
dnl Boehm is too much work to backport Haiku support for
|
||||
support_boehm=no
|
||||
libgc_threads=pthreads
|
||||
use_sigposix=yes
|
||||
;;
|
||||
@@ -725,10 +734,6 @@ fi
|
||||
|
||||
AM_CONDITIONAL(DISABLE_LIBRARIES, test x$enable_libraries = xno)
|
||||
|
||||
case $host in
|
||||
*nacl* ) with_shared_mono=yes;;
|
||||
esac
|
||||
|
||||
if test "x$host_win32" = "xyes"; then
|
||||
# Boehm GC requires the runtime to be in its own dll
|
||||
with_static_mono=no
|
||||
@@ -858,9 +863,9 @@ elif test x$with_runtime_preset = xfullaot; then
|
||||
mono_feature_disable_reflection_emit='yes'
|
||||
mono_feature_disable_appdomains='yes'
|
||||
|
||||
AOT_BUILD_FLAGS="-O=gsharedvt --aot=full,$INVARIANT_AOT_OPTIONS"
|
||||
AOT_BUILD_FLAGS="--runtime=mobile -O=gsharedvt --aot=full,$INVARIANT_AOT_OPTIONS"
|
||||
|
||||
AOT_RUN_FLAGS="--full-aot"
|
||||
AOT_RUN_FLAGS="--runtime=mobile --full-aot"
|
||||
elif test x$with_runtime_preset = xbitcode; then
|
||||
DISABLE_MCS_DOCS_default=yes
|
||||
with_testing_aot_full_default=yes
|
||||
@@ -875,19 +880,15 @@ elif test x$with_runtime_preset = xbitcode; then
|
||||
mono_feature_disable_reflection_emit='yes'
|
||||
mono_feature_disable_appdomains='yes'
|
||||
|
||||
AOT_BUILD_FLAGS="--aot=llvmonly,$INVARIANT_AOT_OPTIONS"
|
||||
AOT_RUN_FLAGS="--llvmonly"
|
||||
AOT_BUILD_FLAGS="--runtime=mobile --aot=llvmonly,$INVARIANT_AOT_OPTIONS"
|
||||
AOT_RUN_FLAGS="--runtime=mobile --llvmonly"
|
||||
elif test x$with_runtime_preset = xhybridaot; then
|
||||
DISABLE_MCS_DOCS_default=yes
|
||||
with_testing_aot_hybrid_default=yes
|
||||
TEST_PROFILE=testing_aot_hybrid
|
||||
|
||||
mono_feature_disable_com='yes'
|
||||
mono_feature_disable_remoting='yes'
|
||||
mono_feature_disable_appdomains='yes'
|
||||
|
||||
AOT_BUILD_FLAGS="--aot=hybrid,$INVARIANT_AOT_OPTIONS"
|
||||
AOT_RUN_FLAGS="--hybrid-aot"
|
||||
AOT_BUILD_FLAGS="--runtime=mobile --aot=hybrid,$INVARIANT_AOT_OPTIONS"
|
||||
AOT_RUN_FLAGS="--runtime=mobile --hybrid-aot"
|
||||
elif test x$with_runtime_preset = xaot; then
|
||||
with_profile4_x_default=yes
|
||||
|
||||
@@ -906,8 +907,8 @@ elif test x$with_runtime_preset = xwinaot; then
|
||||
mono_feature_disable_reflection_emit='yes'
|
||||
mono_feature_disable_appdomains='yes'
|
||||
|
||||
AOT_BUILD_FLAGS="--aot=full,$INVARIANT_AOT_OPTIONS"
|
||||
AOT_RUN_FLAGS="--full-aot"
|
||||
AOT_BUILD_FLAGS="--runtime=mobile --aot=full,$INVARIANT_AOT_OPTIONS"
|
||||
AOT_RUN_FLAGS="--runtime=mobile --full-aot"
|
||||
elif test x$with_runtime_preset = xorbis; then
|
||||
DISABLE_MCS_DOCS_default=yes
|
||||
with_orbis_default=yes
|
||||
@@ -919,8 +920,8 @@ elif test x$with_runtime_preset = xorbis; then
|
||||
mono_feature_disable_reflection_emit='yes'
|
||||
mono_feature_disable_appdomains='yes'
|
||||
|
||||
AOT_BUILD_FLAGS="--aot=full,$INVARIANT_AOT_OPTIONS"
|
||||
AOT_RUN_FLAGS="--full-aot"
|
||||
AOT_BUILD_FLAGS="--runtime=mobile --aot=full,$INVARIANT_AOT_OPTIONS"
|
||||
AOT_RUN_FLAGS="--runtime=mobile --full-aot"
|
||||
else
|
||||
with_profile4_x_default=yes
|
||||
fi
|
||||
@@ -1017,25 +1018,25 @@ AC_SUBST(DEFAULT_PROFILE)
|
||||
|
||||
if test x$USE_NLS = xprofile_default; then
|
||||
|
||||
if test x$host_darwin = xyes; then
|
||||
# We make the default value for USE_NLS
|
||||
# "no" on OSX because it isn't available on most
|
||||
# default OSX installs. The most common configurations will
|
||||
# all disable it, so this saves us typing.
|
||||
USE_NLS=no
|
||||
AC_SUBST([USE_NLS])
|
||||
AC_MSG_RESULT([$USE_NLS])
|
||||
else
|
||||
USE_NLS=yes
|
||||
AC_SUBST([USE_NLS])
|
||||
AC_MSG_RESULT([$USE_NLS])
|
||||
fi
|
||||
AC_MSG_CHECKING([NLS used])
|
||||
|
||||
# We make the default value for USE_NLS
|
||||
# "no" on OSX because it isn't available on most
|
||||
# default OSX installs. The most common configurations will
|
||||
# all disable it, so this saves us typing.
|
||||
if test x$host_darwin = xyes; then
|
||||
USE_NLS=no;
|
||||
else
|
||||
USE_NLS=yes;
|
||||
fi
|
||||
|
||||
AC_SUBST([USE_NLS])
|
||||
AC_MSG_RESULT([$USE_NLS])
|
||||
fi
|
||||
|
||||
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,
|
||||
reflection_emit, reflection_emit_save, large_code, logging, com, ssa, generics, attach, jit, simd, soft_debug, perfcounters, normalization, assembly_remapping, shared_perfcounters, remoting,
|
||||
reflection_emit, reflection_emit_save, large_code, logging, com, ssa, generics, attach, jit, simd, soft_debug, perfcounters, normalization, desktop_loader, shared_perfcounters, remoting,
|
||||
security, lldb, mdb, sgen_remset, sgen_marksweep_par, sgen_marksweep_fixed, sgen_marksweep_fixed_par, sgen_copying.],
|
||||
[
|
||||
for feature in `echo "$enable_minimal" | sed -e "s/,/ /g"`; do
|
||||
@@ -1156,9 +1157,10 @@ if test "x$mono_feature_disable_normalization" = "xyes"; then
|
||||
AC_MSG_NOTICE([Disabled String normalization support.])
|
||||
fi
|
||||
|
||||
if test "x$mono_feature_disable_assembly_remapping" = "xyes"; then
|
||||
AC_DEFINE(DISABLE_ASSEMBLY_REMAPPING, 1, [Disable assembly remapping.])
|
||||
AC_MSG_NOTICE([Disabled Assembly remapping.])
|
||||
#TODO: remove assembly_remapping feature name once everyone is using desktop_loader
|
||||
if test "x$mono_feature_disable_assembly_remapping" = "xyes" || test "x$mono_feature_disable_desktop_loader" = "xyes"; then
|
||||
AC_DEFINE(DISABLE_DESKTOP_LOADER, 1, [Disable desktop assembly loader semantics.])
|
||||
AC_MSG_NOTICE([Disabled desktop assembly loader semantics.])
|
||||
fi
|
||||
|
||||
if test "x$mono_feature_disable_shared_perfcounters" = "xyes"; then
|
||||
@@ -1260,7 +1262,7 @@ dnl
|
||||
dnl Boehm GC configuration
|
||||
dnl
|
||||
|
||||
AC_ARG_WITH(libgc, [ --with-gc=included,none Controls the Boehm GC config, default=included],[libgc=$with_gc],[libgc=included])
|
||||
AC_ARG_WITH(libgc, [ --with-libgc=included,none Controls the Boehm GC config, default=included],[libgc=$with_gc],[libgc=included])
|
||||
|
||||
AC_ARG_ENABLE(boehm, [ --disable-boehm Disable the Boehm GC.], support_boehm=$enableval,support_boehm=${support_boehm:-yes})
|
||||
AM_CONDITIONAL(SUPPORT_BOEHM, test x$support_boehm = xyes)
|
||||
@@ -1308,7 +1310,7 @@ if test "x$support_boehm" = "xyes"; then
|
||||
;;
|
||||
|
||||
xsgen)
|
||||
AC_MSG_WARN("Use --with-sgen instead, --with-gc= controls Boehm configuration")
|
||||
AC_MSG_WARN("Use --with-sgen instead, --with-libgc= controls Boehm configuration")
|
||||
;;
|
||||
|
||||
xnone)
|
||||
@@ -1318,7 +1320,7 @@ if test "x$support_boehm" = "xyes"; then
|
||||
gc_msg="none"
|
||||
;;
|
||||
*)
|
||||
AC_MSG_ERROR([Invalid argument to --with-gc.])
|
||||
AC_MSG_ERROR([Invalid argument to --with-libgc.])
|
||||
;;
|
||||
esac
|
||||
|
||||
@@ -1356,8 +1358,6 @@ AC_TRY_COMPILE([
|
||||
AC_DEFINE_UNQUOTED(MONO_ZERO_LEN_ARRAY, 1, [Length of zero length arrays])
|
||||
])
|
||||
|
||||
AC_CHECK_HEADERS(nacl/nacl_dyncode.h)
|
||||
|
||||
dnl ***********************************
|
||||
dnl *** Checks for signals
|
||||
dnl ***********************************
|
||||
@@ -1432,8 +1432,6 @@ if test x$host_win32 = xno; then
|
||||
|
||||
AC_CHECK_FUNCS(getgrgid_r)
|
||||
AC_CHECK_FUNCS(getgrnam_r)
|
||||
AC_CHECK_FUNCS(getpwnam_r)
|
||||
AC_CHECK_FUNCS(getpwuid_r)
|
||||
AC_CHECK_FUNCS(getresuid)
|
||||
AC_CHECK_FUNCS(setresuid)
|
||||
AC_CHECK_FUNCS(kqueue)
|
||||
@@ -1454,6 +1452,11 @@ if test x$host_win32 = xno; then
|
||||
AC_CHECK_FUNCS(sched_setaffinity)
|
||||
AC_CHECK_FUNCS(sched_getcpu)
|
||||
|
||||
if test x$platform_android != xyes; then
|
||||
AC_CHECK_FUNCS(getpwnam_r)
|
||||
AC_CHECK_FUNCS(getpwuid_r)
|
||||
fi
|
||||
|
||||
dnl ****************************************************************
|
||||
dnl *** Check for sched_setaffinity from glibc versions before ***
|
||||
dnl *** 2.3.4. The older versions of the function only take 2 ***
|
||||
@@ -1914,6 +1917,10 @@ if test x$host_win32 = xno; then
|
||||
# and libpthread does not exist
|
||||
#
|
||||
case "${host}" in
|
||||
*-*-*haiku*)
|
||||
dnl Haiku has pthread in libroot (libc equiv)
|
||||
AC_CHECK_LIB(pthread, main, LIBS="$LIBS")
|
||||
;;
|
||||
*-*-*freebsd*)
|
||||
AC_CHECK_LIB(pthread, main, LIBS="$LIBS -pthread")
|
||||
;;
|
||||
@@ -2198,13 +2205,11 @@ if test x$host_win32 = xno; then
|
||||
dnl **********************************
|
||||
dnl *** epoll ***
|
||||
dnl **********************************
|
||||
if test "x$ac_cv_header_nacl_nacl_dyncode_h" = "xno"; then
|
||||
AC_CHECK_HEADERS(sys/epoll.h)
|
||||
haveepoll=no
|
||||
AC_CHECK_FUNCS(epoll_ctl, [haveepoll=yes], )
|
||||
if test "x$haveepoll" = "xyes" -a "x$ac_cv_header_sys_epoll_h" = "xyes"; then
|
||||
AC_DEFINE(HAVE_EPOLL, 1, [epoll supported])
|
||||
fi
|
||||
AC_CHECK_HEADERS(sys/epoll.h)
|
||||
haveepoll=no
|
||||
AC_CHECK_FUNCS(epoll_ctl, [haveepoll=yes], )
|
||||
if test "x$haveepoll" = "xyes" -a "x$ac_cv_header_sys_epoll_h" = "xyes"; then
|
||||
AC_DEFINE(HAVE_EPOLL, 1, [epoll supported])
|
||||
fi
|
||||
|
||||
havekqueue=no
|
||||
@@ -2323,6 +2328,10 @@ if test x$host_win32 = xno; then
|
||||
AC_MSG_RESULT(no)
|
||||
])
|
||||
|
||||
dnl **********************************
|
||||
dnl *** Checks for proclib ***
|
||||
dnl **********************************
|
||||
AC_CHECK_HEADER(sys/errno.h, [AC_DEFINE(HAVE_SYS_ERRNO_H, 1, Define to 1 if you have the <sys/errno.h> header file.)])
|
||||
dnl **********************************
|
||||
dnl *** Checks for MonoPosixHelper ***
|
||||
dnl **********************************
|
||||
@@ -2382,6 +2391,8 @@ if test x$host_win32 = xno; then
|
||||
AC_CHECK_FUNCS(system)
|
||||
AC_CHECK_FUNCS(fork execv execve)
|
||||
AC_CHECK_FUNCS(accept4)
|
||||
AC_CHECK_FUNCS(localtime_r)
|
||||
AC_CHECK_FUNCS(mkdtemp)
|
||||
AC_CHECK_SIZEOF(size_t)
|
||||
AC_CHECK_TYPES([blksize_t], [AC_DEFINE(HAVE_BLKSIZE_T)], ,
|
||||
[#include <sys/types.h>
|
||||
@@ -2831,40 +2842,6 @@ fi
|
||||
AM_CONDITIONAL(ENABLE_DTRACE, [test x$enable_dtrace = xyes])
|
||||
AM_CONDITIONAL(DTRACE_G_REQUIRED, [test x$dtrace_g = xyes])
|
||||
|
||||
dnl **************
|
||||
dnl *** NaCl ***
|
||||
dnl **************
|
||||
|
||||
AC_ARG_ENABLE(nacl_codegen, [ --enable-nacl-codegen Enable Native Client code generation], enable_nacl_codegen=$enableval, enable_nacl_codegen=no)
|
||||
AC_ARG_ENABLE(nacl_gc, [ --enable-nacl-gc Enable Native Client garbage collection], enable_nacl_gc=$enableval, enable_nacl_gc=no)
|
||||
|
||||
AM_CONDITIONAL(NACL_CODEGEN, test x$enable_nacl_codegen != xno)
|
||||
|
||||
dnl
|
||||
dnl Hack to use system mono for operations in build/install not allowed in NaCl.
|
||||
dnl
|
||||
nacl_self_host=""
|
||||
if test "x$ac_cv_header_nacl_nacl_dyncode_h" = "xyes"; then
|
||||
nacl_self_host="nacl_self_host"
|
||||
fi
|
||||
AC_SUBST(nacl_self_host)
|
||||
|
||||
if test "x$enable_nacl_codegen" = "xyes"; then
|
||||
MONO_NACL_ALIGN_MASK_OFF=1
|
||||
AC_DEFINE(TARGET_NACL, 1, [...])
|
||||
AC_DEFINE(__native_client_codegen__, 1, [...])
|
||||
fi
|
||||
if test "x$enable_nacl_gc" = "xyes"; then
|
||||
if test "x$TARGET" = "xAMD64" -o "x$TARGET" = "xX86"; then
|
||||
INSTRUMENT_CFLAG="-finstrument-for-thread-suspension"
|
||||
else
|
||||
# Not yet implemented
|
||||
INSTRUMENT_CFLAG=""
|
||||
fi
|
||||
CPPFLAGS="$CPPFLAGS $INSTRUMENT_CFLAG -D__native_client_gc__"
|
||||
fi
|
||||
AC_SUBST(MONO_NACL_ALIGN_MASK_OFF)
|
||||
|
||||
dnl **************************
|
||||
dnl *** AOT cross offsets ***
|
||||
dnl **************************
|
||||
@@ -2996,7 +2973,7 @@ if test "x$enable_llvm" = "xyes"; then
|
||||
LLVM_CXXFLAGS="$LLVM_CXXFLAGS -DLLVM_API_VERSION=$llvm_api_version"
|
||||
fi
|
||||
|
||||
AC_DEFINE_UNQUOTED(LLVM_VERSION, "$llvm_version", [Full version of LLVM libraties])
|
||||
AC_DEFINE_UNQUOTED(LLVM_VERSION, "$llvm_version", [Full version of LLVM libraries])
|
||||
|
||||
AC_SUBST(LLVM_CFLAGS)
|
||||
AC_SUBST(LLVM_CXXFLAGS)
|
||||
@@ -3127,21 +3104,6 @@ case "$host" in
|
||||
mingw*)
|
||||
;;
|
||||
esac
|
||||
case "$host" in
|
||||
x86_64-*-nacl*)
|
||||
AC_DEFINE(__mono_ilp32__, 1, [64 bit mode with 4 byte longs and pointers])
|
||||
sizeof_register=8
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
ia64-*-*)
|
||||
TARGET=IA64
|
||||
arch_target=ia64
|
||||
ACCESS_UNALIGNED="no"
|
||||
LIBC="libc.so.6.1"
|
||||
INTL="libc.so.6.1"
|
||||
AC_CHECK_LIB(unwind, _U_dyn_register, [], [AC_MSG_ERROR(library libunwind not found)])
|
||||
libmono_ldflags="-lunwind"
|
||||
;;
|
||||
sparc*-*-*)
|
||||
if test "x$ac_cv_sizeof_void_p" = "x8"; then
|
||||
@@ -3207,6 +3169,14 @@ case "$host" in
|
||||
ACCESS_UNALIGNED="no"
|
||||
AOT_SUPPORTED="yes"
|
||||
CPPFLAGS="$CPPFLAGS -D__ARM_EABI__"
|
||||
BTLS_SUPPORTED=yes
|
||||
BTLS_PLATFORM=arm
|
||||
AC_CHECK_HEADER(stdalign.h,[],[BTLS_SUPPORTED=no])
|
||||
case "$target" in
|
||||
arm*-linux*-gnueabi)
|
||||
BTLS_PLATFORM=armsoft
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
arm*-netbsd*-eabi*)
|
||||
TARGET=ARM;
|
||||
@@ -3214,19 +3184,15 @@ case "$host" in
|
||||
ACCESS_UNALIGNED="no"
|
||||
CPPFLAGS="$CPPFLAGS -D__ARM_EABI__"
|
||||
;;
|
||||
# TODO: make proper support for NaCl host.
|
||||
# arm*-*nacl)
|
||||
# TARGET=ARM;
|
||||
# arch_target=arm;
|
||||
# ACCESS_UNALIGNED="no"
|
||||
# AOT_SUPPORTED="no"
|
||||
# ;;
|
||||
aarch64-*)
|
||||
# https://lkml.org/lkml/2012/7/15/133
|
||||
TARGET=ARM64
|
||||
arch_target=arm64
|
||||
boehm_supported=false
|
||||
AOT_SUPPORTED="yes"
|
||||
BTLS_SUPPORTED=yes
|
||||
BTLS_PLATFORM=aarch64
|
||||
AC_CHECK_HEADER(stdalign.h,[],[BTLS_SUPPORTED=no])
|
||||
;;
|
||||
s390x-*-linux*)
|
||||
TARGET=S390X;
|
||||
@@ -3278,43 +3244,10 @@ if test "x$host" != "x$target"; then
|
||||
sizeof_register=8
|
||||
target_byte_order=G_BIG_ENDIAN
|
||||
;;
|
||||
x86_64-*-nacl)
|
||||
TARGET=AMD64
|
||||
arch_target=amd64
|
||||
AC_DEFINE(TARGET_AMD64, 1, [...])
|
||||
AC_DEFINE(__mono_ilp32__, 1, [64 bit mode with 4 byte longs and pointers])
|
||||
sizeof_register=8
|
||||
;;
|
||||
# TODO: make proper support for NaCl target.
|
||||
# arm*-*nacl)
|
||||
# TARGET=ARM
|
||||
# arch_target=arm
|
||||
# AC_DEFINE(TARGET_ARM, 1, [...])
|
||||
# ACCESS_UNALIGNED="no"
|
||||
# sizeof_register=4
|
||||
# CPPFLAGS="$CPPFLAGS \
|
||||
# -D__ARM_EABI__ \
|
||||
# -D__arm__ \
|
||||
# -D__portable_native_client__ \
|
||||
# -Dtimezone=_timezone \
|
||||
# -DDISABLE_SOCKETS \
|
||||
# -DDISABLE_ATTACH \
|
||||
# -DUSE_NEWLIB"
|
||||
# Can't use tls, since it depends on the runtime detection of tls offsets
|
||||
# in mono-compiler.h
|
||||
# with_tls=pthread
|
||||
# ;;
|
||||
i686-*-nacl)
|
||||
TARGET=X86
|
||||
arch_target=x86
|
||||
AC_DEFINE(TARGET_X86, 1, [...])
|
||||
sizeof_register=4
|
||||
;;
|
||||
arm*-linux-*)
|
||||
TARGET=ARM;
|
||||
arch_target=arm;
|
||||
AC_DEFINE(TARGET_ARM, 1, [...])
|
||||
AC_DEFINE(TARGET_ANDROID, 1, [...])
|
||||
ACCESS_UNALIGNED="no"
|
||||
CPPFLAGS="$CPPFLAGS -D__ARM_EABI__"
|
||||
# Can't use tls, since it depends on the runtime detection of tls offsets
|
||||
@@ -3327,6 +3260,11 @@ if test "x$host" != "x$target"; then
|
||||
CPPFLAGS="$CPPFLAGS"
|
||||
;;
|
||||
armv5-*-linux-androideabi*)
|
||||
AC_DEFINE(TARGET_ANDROID, 1, [...])
|
||||
CPPFLAGS="$CPPFLAGS"
|
||||
;;
|
||||
*-linux-androideabi*)
|
||||
AC_DEFINE(TARGET_ANDROID, 1, [...])
|
||||
CPPFLAGS="$CPPFLAGS"
|
||||
;;
|
||||
esac
|
||||
@@ -3346,23 +3284,33 @@ if test "x$host" != "x$target"; then
|
||||
TARGET=X86;
|
||||
arch_target=x86;
|
||||
AC_DEFINE(TARGET_X86, 1, [...])
|
||||
AC_DEFINE(TARGET_ANDROID, 1, [...])
|
||||
CPPFLAGS="$CPPFLAGS"
|
||||
# Can't use tls, since it depends on the runtime detection of tls offsets
|
||||
# in mono-compiler.h
|
||||
with_tls=pthread
|
||||
target_mach=no
|
||||
|
||||
case "$target" in
|
||||
*-linux-android*)
|
||||
AC_DEFINE(TARGET_ANDROID, 1, [...])
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
x86_64*-linux-*)
|
||||
TARGET=AMD64;
|
||||
arch_target=amd64;
|
||||
AC_DEFINE(TARGET_AMD64, 1, [...])
|
||||
AC_DEFINE(TARGET_ANDROID, 1, [...])
|
||||
CPPFLAGS="$CPPFLAGS"
|
||||
# Can't use tls, since it depends on the runtime detection of tls offsets
|
||||
# in mono-compiler.h
|
||||
with_tls=pthread
|
||||
target_mach=no
|
||||
|
||||
case "$target" in
|
||||
*-linux-android*)
|
||||
AC_DEFINE(TARGET_ANDROID, 1, [...])
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
x86_64-ps4-freebsd)
|
||||
TARGET=AMD64;
|
||||
@@ -3381,12 +3329,16 @@ if test "x$host" != "x$target"; then
|
||||
TARGET=ARM64;
|
||||
arch_target=arm64;
|
||||
AC_DEFINE(TARGET_ARM64, 1, [...])
|
||||
AC_DEFINE(TARGET_ANDROID, 1, [...])
|
||||
CPPFLAGS="$CPPFLAGS"
|
||||
# Can't use tls, since it depends on the runtime detection of tls offsets
|
||||
# in mono-compiler.h
|
||||
with_tls=pthread
|
||||
target_mach=no
|
||||
case "$target" in
|
||||
*-linux-android*)
|
||||
AC_DEFINE(TARGET_ANDROID, 1, [...])
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
aarch64-*)
|
||||
TARGET=ARM64
|
||||
@@ -3422,9 +3374,6 @@ S390X)
|
||||
MIPS)
|
||||
AC_DEFINE(TARGET_MIPS, 1, [...])
|
||||
;;
|
||||
IA64)
|
||||
AC_DEFINE(TARGET_IA64, 1, [...])
|
||||
;;
|
||||
SPARC)
|
||||
AC_DEFINE(TARGET_SPARC, 1, [...])
|
||||
;;
|
||||
@@ -3459,9 +3408,6 @@ S390X)
|
||||
MIPS)
|
||||
AC_DEFINE(HOST_MIPS, 1, [...])
|
||||
;;
|
||||
IA64)
|
||||
AC_DEFINE(HOST_IA64, 1, [...])
|
||||
;;
|
||||
SPARC)
|
||||
AC_DEFINE(HOST_SPARC, 1, [...])
|
||||
;;
|
||||
@@ -3580,14 +3526,19 @@ if test "x$have_deprecated" = "xyes"; then
|
||||
AC_DEFINE(HAVE_DEPRECATED, 1, [Support for the deprecated attribute])
|
||||
fi
|
||||
|
||||
AC_ARG_WITH(interpreter, [ --with-interpreter=yes|no Interpreter, default=no],[buildinterpreter=$with_interpreter],[buildinterpreter=no])
|
||||
if test "x$buildinterpreter" = "xyes"; then
|
||||
AC_DEFINE(ENABLE_INTERPRETER, 1, [Enable interpreter in the runtime.])
|
||||
AC_MSG_NOTICE([Enable interpreter in the runtime.])
|
||||
AC_ARG_ENABLE(interpreter, [ --enable-interpreter Enable Interpreter], enable_interpreter=$enableval, enable_interpreter=no)
|
||||
|
||||
if test "x$enable_interpreter" = "xyes"; then
|
||||
AC_DEFINE(ENABLE_INTERPRETER, 1, [Enable Interpreter])
|
||||
fi
|
||||
|
||||
AM_CONDITIONAL([ENABLE_INTERPRETER], [test x$buildinterpreter != xno])
|
||||
AM_CONDITIONAL(ENABLE_INTERPRETER, [test x$enable_interpreter = xyes])
|
||||
|
||||
if test "x$enable_interpreter" = "xyes" || test "x$mono_feature_disable_jit" != "xyes"; then
|
||||
AC_DEFINE(HAVE_ONLINE_VES, 1, [Some VES is available at runtime])
|
||||
fi
|
||||
|
||||
AM_CONDITIONAL(HAVE_ONLINE_VES, [test x$enable_interpreter = xyes] || [test x$mono_feature_disable_jit != xyes])
|
||||
|
||||
dnl
|
||||
dnl Simple Generational checks (sgen)
|
||||
@@ -4049,8 +4000,6 @@ dnl **************
|
||||
AC_ARG_ENABLE(btls, [ --disable-btls Disable the BoringTls provider], enable_btls=$enableval, enable_btls=$BTLS_SUPPORTED)
|
||||
AC_ARG_WITH(btls_android_ndk, [ --with-btls-android-ndk Android NDK for BoringTls])
|
||||
|
||||
AC_ARG_ENABLE(dynamic-btls, [ --enable-dynamic-btls Place the BTLS provider into a separate shared library/archive.], enable_dynamic_btls=$enableval, enable_dynamic_btls=no)
|
||||
|
||||
AM_CONDITIONAL(BTLS, test x$enable_btls = xyes)
|
||||
|
||||
btls_android=no
|
||||
@@ -4079,6 +4028,16 @@ if test "x$enable_btls" = "xyes"; then
|
||||
x86_64)
|
||||
btls_arch=x86_64
|
||||
;;
|
||||
arm)
|
||||
btls_arch=arm
|
||||
;;
|
||||
armsoft)
|
||||
btls_arch=arm
|
||||
btls_cflags="-DOPENSSL_NO_ASM=1"
|
||||
;;
|
||||
aarch64)
|
||||
btls_arch=aarch64
|
||||
;;
|
||||
android-armv5)
|
||||
BTLS_CMAKE_ARGS="-DANDROID_ABI=\"armeabi\" -DANDROID_NATIVE_API_LEVEL=12"
|
||||
;;
|
||||
@@ -4106,6 +4065,8 @@ if test "x$enable_btls" = "xyes"; then
|
||||
BTLS_CMAKE_ARGS="$BTLS_CMAKE_ARGS -DCMAKE_TOOLCHAIN_FILE=$BTLS_ROOT/util/android-cmake/android.toolchain.cmake"
|
||||
if test "x$with_btls_android_ndk" != "x"; then
|
||||
BTLS_CMAKE_ARGS="$BTLS_CMAKE_ARGS -DANDROID_NDK=\"$with_btls_android_ndk\""
|
||||
else
|
||||
AC_MSG_ERROR([Need to pass the --with-btls-android-ndk argument when building with BTLS support on Android.])
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -4144,7 +4105,6 @@ AM_CONDITIONAL(SPARC, test x$TARGET = xSPARC)
|
||||
AM_CONDITIONAL(SPARC64, test x$TARGET = xSPARC64)
|
||||
AM_CONDITIONAL(X86, test x$TARGET = xX86)
|
||||
AM_CONDITIONAL(AMD64, test x$TARGET = xAMD64)
|
||||
AM_CONDITIONAL(IA64, test x$TARGET = xIA64)
|
||||
AM_CONDITIONAL(MIPS, test x$TARGET = xMIPS)
|
||||
AM_CONDITIONAL(POWERPC, test x$TARGET = xPOWERPC)
|
||||
AM_CONDITIONAL(POWERPC64, test x$TARGET = xPOWERPC64)
|
||||
@@ -4180,7 +4140,7 @@ AC_SUBST(mono_build_root)
|
||||
mono_runtime=mono/mini/mono
|
||||
AC_SUBST(mono_runtime)
|
||||
|
||||
CSC_LOCATION=`cd $srcdir && pwd`/external/roslyn-binaries/Microsoft.Net.Compilers/Microsoft.Net.Compilers.2.0.0/tools/csc.exe
|
||||
CSC_LOCATION=`cd $srcdir && pwd`/external/roslyn-binaries/Microsoft.Net.Compilers/Microsoft.Net.Compilers.2.3.1/tools/csc.exe
|
||||
|
||||
if test $csc_compiler = mcs; then
|
||||
CSC=$mcs_topdir/class/lib/build/mcs.exe
|
||||
@@ -4387,13 +4347,12 @@ mono/arch/sparc/Makefile
|
||||
mono/arch/s390x/Makefile
|
||||
mono/arch/arm/Makefile
|
||||
mono/arch/arm64/Makefile
|
||||
mono/arch/ia64/Makefile
|
||||
mono/arch/mips/Makefile
|
||||
mono/sgen/Makefile
|
||||
mono/tests/Makefile
|
||||
mono/tests/tests-config
|
||||
mono/tests/assemblyresolve/Makefile
|
||||
mono/tests/gc-descriptors/Makefile
|
||||
mono/tests/testing_gac/Makefile
|
||||
mono/unit-tests/Makefile
|
||||
mono/benchmark/Makefile
|
||||
mono/mini/Makefile
|
||||
@@ -4504,9 +4463,22 @@ fi
|
||||
}')]
|
||||
|
||||
echo "MONO_VERSION = $myver" >> $mcs_topdir/build/config.make
|
||||
echo "MONO_CORLIB_VERSION = $MONO_CORLIB_VERSION" >> $mcs_topdir/build/config.make
|
||||
|
||||
if test x$host_darwin = xyes; then
|
||||
echo "PLATFORM = darwin" >> $mcs_topdir/build/config.make
|
||||
echo "BUILD_PLATFORM = darwin" >> $mcs_topdir/build/config.make
|
||||
elif test x$host_win32 = xyes; then
|
||||
echo "BUILD_PLATFORM = win32" >> $mcs_topdir/build/config.make
|
||||
else
|
||||
echo "BUILD_PLATFORM = linux" >> $mcs_topdir/build/config.make
|
||||
fi
|
||||
|
||||
if test x$host_darwin = xyes; then
|
||||
echo "HOST_PLATFORM ?= darwin" >> $mcs_topdir/build/config.make
|
||||
elif test x$host_win32 = xyes; then
|
||||
echo "HOST_PLATFORM ?= win32" >> $mcs_topdir/build/config.make
|
||||
else
|
||||
echo "HOST_PLATFORM ?= linux" >> $mcs_topdir/build/config.make
|
||||
fi
|
||||
|
||||
if test "x$PLATFORM_AOT_SUFFIX" != "x"; then
|
||||
@@ -4548,9 +4520,6 @@ fi
|
||||
|
||||
if test "x$enable_btls" = "xyes"; then
|
||||
echo "HAVE_BTLS=1" >> $srcdir/$mcsdir/build/config.make
|
||||
if test "x$enable_dynamic_btls" = "xyes"; then
|
||||
echo "HAVE_DYNAMIC_BTLS=1" >> $srcdir/$mcsdir/build/config.make
|
||||
fi
|
||||
fi
|
||||
|
||||
fi
|
||||
@@ -4582,7 +4551,7 @@ echo "
|
||||
BigArrays: $enable_big_arrays
|
||||
DTrace: $enable_dtrace
|
||||
LLVM Back End: $enable_llvm (dynamically loaded: $enable_loadedllvm)
|
||||
Interpreter: $buildinterpreter
|
||||
Interpreter: $enable_interpreter
|
||||
|
||||
Libraries:
|
||||
.NET 4.x: $with_profile4_x
|
||||
|
||||
@@ -18,8 +18,14 @@
|
||||
<dllmap dll="sqlite3" target="@SQLITE3@" os="!windows"/>
|
||||
<dllmap dll="libX11" target="@X11@" os="!windows" />
|
||||
<dllmap dll="libgdk-x11-2.0" target="@GDKX11@" os="!windows"/>
|
||||
<dllmap dll="libgdk_pixbuf-2.0" target="libgdk_pixbuf-2.0.so.0" os="!windows"/>
|
||||
<dllmap dll="libgtk-x11-2.0" target="@GTKX11@" os="!windows"/>
|
||||
<dllmap dll="libglib-2.0" target="libglib-2.0.so.0" os="!windows"/>
|
||||
<dllmap dll="libgobject-2.0" target="libgobject-2.0.so.0" os="!windows"/>
|
||||
<dllmap dll="libgnomeui-2" target="libgnomeui-2.so.0" os="!windows"/>
|
||||
<dllmap dll="librsvg-2" target="librsvg-2.so.2" os="!windows"/>
|
||||
<dllmap dll="libXinerama" target="@XINERAMA@" os="!windows" />
|
||||
<dllmap dll="libasound" target="libasound.so.2" os="!windows" />
|
||||
<dllmap dll="libcairo-2.dll" target="libcairo.so.2" os="!windows"/>
|
||||
<dllmap dll="libcairo-2.dll" target="libcairo.2.dylib" os="osx"/>
|
||||
<dllmap dll="libcups" target="libcups.so.2" os="!windows"/>
|
||||
|
||||
+27
-4
@@ -9,16 +9,38 @@ def print_frames(thread, num_frames, current_thread):
|
||||
|
||||
for frame in thread.frames[:+num_frames]:
|
||||
pc = str(frame.addr)
|
||||
fmt = ' %c %s'
|
||||
var = frame
|
||||
if pc[0] == '0':
|
||||
function_name = frame.GetFunctionName()
|
||||
if function_name == "ves_exec_method_with_context":
|
||||
try:
|
||||
s = 'frame->runtime_method->method'
|
||||
klassname = frame.EvaluateExpression('(char*) ' + s + '->klass->name').summary[1:-1]
|
||||
methodname = frame.EvaluateExpression('(char*) ' + s + '->name').summary[1:-1]
|
||||
|
||||
ipoffset = frame.EvaluateExpression('ip').GetValueAsUnsigned()
|
||||
insn = ''
|
||||
if ipoffset != 0:
|
||||
ipoffset -= frame.EvaluateExpression('rtm->code').GetValueAsUnsigned()
|
||||
insn = "\"" + frame.EvaluateExpression('mono_interp_opname [*ip]').summary[1:-1] + "\""
|
||||
var = '%s::%s @ %d %s || %s' % (klassname, methodname, ipoffset, insn, frame)
|
||||
except Exception as e:
|
||||
print "DBG: execfail:" + str(e)
|
||||
elif function_name == "mono_interp_transform_method":
|
||||
try:
|
||||
s = 'runtime_method->method'
|
||||
klassname = frame.EvaluateExpression('(char*) ' + s + '->klass->name').summary[1:-1]
|
||||
methodname = frame.EvaluateExpression('(char*) ' + s + '->name').summary[1:-1]
|
||||
var = 'transforming %s::%s || %s' % (klassname, methodname, frame)
|
||||
except Exception as e:
|
||||
print "DBG: transformfail:" + str(e)
|
||||
elif pc[0] == '0':
|
||||
try:
|
||||
framestr = frame.EvaluateExpression('(char*)mono_pmip((void*)%s)' % pc).summary[1:-1]
|
||||
var = 'frame #%i: %s%s' % (frame.idx, pc, framestr)
|
||||
except:
|
||||
pass
|
||||
|
||||
print fmt % ('*' if current_thread and frame.idx == selected_frame.idx else ' ', var)
|
||||
print ' %c %s' % ('*' if current_thread and frame.idx == selected_frame.idx else ' ', var)
|
||||
|
||||
def monobt(debugger, command, result, dict):
|
||||
opts = {'all_bt': False, 'num_frames': None}
|
||||
@@ -53,4 +75,5 @@ def __lldb_init_module (debugger, dict):
|
||||
# This initializer is being run from LLDB in the embedded command interpreter
|
||||
# Add any commands contained in this module to LLDB
|
||||
debugger.HandleCommand('command script add -f monobt.monobt monobt')
|
||||
print '"monobt" command installed'
|
||||
debugger.HandleCommand('command alias mbt monobt')
|
||||
print '"monobt" command installed'
|
||||
@@ -86,7 +86,7 @@ LOCK RULES
|
||||
Simple locks:
|
||||
Can be acquired at any point regardless of which locks are taken or not.
|
||||
No other locks can be acquired or released while holding a simple lock.
|
||||
Reentrancy is not recomended. (warning)
|
||||
Reentrancy is not recommended. (warning)
|
||||
Simple locks are leaf locks on the lock lattice.
|
||||
|
||||
Complex locks:
|
||||
@@ -129,7 +129,7 @@ ERROR: tried to acquire lock DomainLock at mono_domain_code_reserve_align while
|
||||
WARNING: tried to acquire lock ImageDataLock at mono_image_init_name_cache while holding ImageDataLock at mono_class_from_name
|
||||
WARNING: tried to acquire lock ImageDataLock at mono_image_init_name_cache while holding ImageDataLock at mono_image_add_to_name_cache
|
||||
Both of those happen when filling up the name_cache, as it needs to alloc image memory.
|
||||
This one is fixable by spliting mono_image_init_name_cache into a locked and an unlocked variants and calling them appropriatedly.
|
||||
This one is fixable by splitting mono_image_init_name_cache into a locked and an unlocked variants and calling them appropriately.
|
||||
|
||||
*/
|
||||
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
check-coverage crlf=input
|
||||
check-exports crlf=input
|
||||
produce-lists crlf=input
|
||||
+1
-1
@@ -87,7 +87,7 @@ mono-file-formats.zip: mono-file-formats.tree
|
||||
mono-file-formats.tree: $(srcdir)/docs.make $(srcdir)/Makefile.am $(srcdir)/deploy/.stamp
|
||||
$(TOOL_MAKE) $@
|
||||
|
||||
deploy/.stamp: convert.exe Makefile.am
|
||||
deploy/.stamp: convert.exe Makefile.am exdoc
|
||||
$(mkdir_p) html
|
||||
runtimedir=`cd ../runtime && pwd`; export runtimedir; \
|
||||
MONO_PATH=$(CLASS) perl $(srcdir)/exdoc -h $(srcdir) -t . $(srcdir)/../mono/*/*.c
|
||||
|
||||
@@ -26,7 +26,7 @@ some combination of the two.
|
||||
|
||||
To be clearer, and give an idea of what the algorithm can and
|
||||
cannot do without describing it in detail... keep in mind that
|
||||
only "redunant" checks cannot be removed. By "redundant", I
|
||||
only "redundant" checks cannot be removed. By "redundant", I
|
||||
mean "already explicitly checked" in the method code.
|
||||
|
||||
Unfortunately, analyzing complex expressions is not so easy
|
||||
@@ -136,7 +136,7 @@ some combination of the two.
|
||||
In the first case, the BB has exactly two exit BBs, and their
|
||||
execution conditions are easy to get from the condition of the
|
||||
branch (see the "get_relation_from_branch_instruction"
|
||||
function, and expecially the end of "analyze_block" in
|
||||
function, and especially the end of "analyze_block" in
|
||||
abcremoval.c.
|
||||
|
||||
If there is a switch, the jump condition of every exit BB is
|
||||
@@ -303,7 +303,7 @@ some combination of the two.
|
||||
each BB tried to examine all possible conditions between all
|
||||
variables, filling a sort of "evaluation matrix". The problem
|
||||
was that the complexity of this evaluation was quadratic (or
|
||||
worse) on the number of variables, and that many wariables
|
||||
worse) on the number of variables, and that many variables
|
||||
were examined even if they were not involved in any array
|
||||
access.
|
||||
|
||||
@@ -332,7 +332,7 @@ some combination of the two.
|
||||
|
||||
[1b] Prepare the evaluation graph (empty)
|
||||
|
||||
[1b] Summarize each varible definition, and put
|
||||
[1b] Summarize each variable definition, and put
|
||||
the resulting relations in the evaluation
|
||||
graph
|
||||
|
||||
|
||||
+6
-4
@@ -19,7 +19,7 @@ ENUM_VALUES_PER_LINE = 1
|
||||
EXCLUDE_SYMLINKS = NO
|
||||
EXPAND_ONLY_PREDEF = NO
|
||||
EXTENSION_MAPPING = c=C h=C
|
||||
EXTRACT_ALL = YES
|
||||
EXTRACT_ALL = NO
|
||||
EXTRACT_STATIC = YES
|
||||
EXT_LINKS_IN_WINDOW = NO
|
||||
FILE_PATTERNS = *.c *.h
|
||||
@@ -27,9 +27,9 @@ FULL_PATH_NAMES = YES
|
||||
GENERATE_BUGLIST = YES
|
||||
GENERATE_DEPRECATEDLIST = YES
|
||||
GENERATE_HTML = YES
|
||||
GENERATE_PERLMOD = YES
|
||||
GENERATE_LEGEND = YES
|
||||
GENERATE_TESTLIST = YES
|
||||
GENERATE_PERLMOD = NO
|
||||
GENERATE_TESTLIST = NO
|
||||
GENERATE_TODOLIST = YES
|
||||
GENERATE_TREEVIEW = YES
|
||||
GRAPHICAL_HIERARCHY = YES
|
||||
@@ -60,6 +60,7 @@ MULTILINE_CPP_IS_BRIEF = NO
|
||||
OPTIMIZE_OUTPUT_FOR_C = YES
|
||||
OUTPUT_DIRECTORY = doxygen-output
|
||||
OUTPUT_LANGUAGE = English
|
||||
PREDEFINED = "HAVE_SGEN_GC="
|
||||
PROJECT_NAME = "Mono"
|
||||
QT_AUTOBRIEF = NO
|
||||
QUIET = NO
|
||||
@@ -77,6 +78,7 @@ SHOW_USED_FILES = YES
|
||||
SKIP_FUNCTION_MACROS = YES
|
||||
SORT_BRIEF_DOCS = YES
|
||||
SORT_GROUP_NAMES = YES
|
||||
SORT_MEMBER_DOCS = YES
|
||||
SOURCE_BROWSER = YES
|
||||
SOURCE_TOOLTIPS = YES
|
||||
STRIP_CODE_COMMENTS = NO
|
||||
@@ -89,4 +91,4 @@ VERBATIM_HEADERS = YES
|
||||
WARNINGS = YES
|
||||
WARN_IF_DOC_ERROR = YES
|
||||
WARN_IF_UNDOCUMENTED = YES
|
||||
WARN_NO_PARAMDOC = NO
|
||||
WARN_NO_PARAMDOC = YES
|
||||
+436
-259
@@ -1,91 +1,295 @@
|
||||
#!/usr/bin/perl
|
||||
|
||||
if ($ARGV[0] eq "-h"){
|
||||
$sourcedir = $ARGV[1];
|
||||
$dir = $sourcedir;
|
||||
$html = 1;
|
||||
shift @ARGV;
|
||||
shift @ARGV;
|
||||
}
|
||||
open (FILE, "$dir/api-style.css" || die "Did not find $dir/api-style.css");
|
||||
while (<FILE>){
|
||||
$css = $css . $_;
|
||||
use warnings;
|
||||
use strict;
|
||||
|
||||
use Getopt::Long;
|
||||
use Pod::Usage;
|
||||
|
||||
# Options
|
||||
my $HELP = 0;
|
||||
my $SOURCE_DIR = '';
|
||||
my $TARGET_DIR = '';
|
||||
my $WARNINGS = 0;
|
||||
|
||||
GetOptions(
|
||||
"help" => \$HELP,
|
||||
"html|h=s" => \$SOURCE_DIR,
|
||||
"target|t=s" => \$TARGET_DIR,
|
||||
"warnings|W" => \$WARNINGS,
|
||||
) or pod2usage(1);
|
||||
|
||||
pod2usage(0) if $HELP;
|
||||
|
||||
exdoc();
|
||||
|
||||
#
|
||||
# Main entry point.
|
||||
#
|
||||
sub exdoc {
|
||||
my %templates = ();
|
||||
my %docs = ();
|
||||
my $stylesheet = load_stylesheet($SOURCE_DIR);
|
||||
load_templates($SOURCE_DIR, \%templates);
|
||||
process_source_files(\%docs);
|
||||
merge(\%docs, \%templates, \$stylesheet);
|
||||
}
|
||||
|
||||
if ($ARGV[0] eq "-t"){
|
||||
$dir = $ARGV[1];
|
||||
shift @ARGV;
|
||||
#
|
||||
# Load CSS stylesheet.
|
||||
#
|
||||
sub load_stylesheet {
|
||||
my ($dir_path) = @_;
|
||||
my $file_path = "$dir_path/api-style.css";
|
||||
open (my $file, '<', $file_path) or die "Could not open $file_path";
|
||||
local $/;
|
||||
my $contents = <$file>;
|
||||
close $file;
|
||||
return $contents;
|
||||
}
|
||||
|
||||
if ($html){
|
||||
opendir (D, "$sourcedir/sources/") || die "Can not open $dir";
|
||||
while ($n = readdir (D)){
|
||||
if ($n =~ /mono-api-.*\.html$/){
|
||||
open (IN, "$sourcedir/sources/$n") || die "Can not open $n";
|
||||
$files[$filecount] = $n;
|
||||
while (<IN>){
|
||||
@files_content[$filecount] .= $_;
|
||||
if (/name="api:(.*?)"/){
|
||||
$_ =~ s/.*name="api:(\w+?)".*/\1/;
|
||||
$apis[$filecount] .= "$_";
|
||||
}
|
||||
}
|
||||
$filecount++;
|
||||
close IN;
|
||||
}
|
||||
#
|
||||
# Load HTML templates.
|
||||
#
|
||||
sub load_templates {
|
||||
my ($dir_path, $templates) = @_;
|
||||
opendir (my $dir, "$dir_path/sources/") or die "Could not open $dir_path";
|
||||
while (my $file_name = readdir ($dir)) {
|
||||
next if $file_name !~ /mono-api-.*\.html$/;
|
||||
open (my $file, "$dir_path/sources/$file_name") or die "Could not open $file_name";
|
||||
my $contents = '';
|
||||
my @api = ();
|
||||
while (<$file>) {
|
||||
$contents .= $_;
|
||||
if (/name="api:(.*?)"/) {
|
||||
s/.*name="api:(\w+?)".*/$1/;
|
||||
push @api, $_;
|
||||
}
|
||||
}
|
||||
close $file;
|
||||
$templates->{$file_name}->{contents} = $contents;
|
||||
$templates->{$file_name}->{api} = \@api;
|
||||
}
|
||||
closedir $dir;
|
||||
}
|
||||
|
||||
#
|
||||
# Extract documentation from all source files.
|
||||
#
|
||||
sub process_source_files {
|
||||
my ($docs) = @_;
|
||||
for my $file_path (@ARGV) {
|
||||
process_source_file($file_path, $docs);
|
||||
}
|
||||
}
|
||||
|
||||
while (<ARGV>){
|
||||
if (/\/\*\* *\n/){
|
||||
&process_doc;
|
||||
} else {
|
||||
#print "IGNORING: $_";
|
||||
}
|
||||
#
|
||||
# Extract documentation from a single source file.
|
||||
#
|
||||
sub process_source_file {
|
||||
my ($file_path, $docs) = @_;
|
||||
open (my $file, '<', $file_path) or die "Could not open $file_path";
|
||||
while (<$file>) {
|
||||
next if (!/\/\*\* *\n/);
|
||||
process_function($file, $file_path, $docs);
|
||||
}
|
||||
close $file;
|
||||
}
|
||||
|
||||
if ($html){
|
||||
for ($f = 0; $f < $filecount; $f++){
|
||||
$name = $files[$f];
|
||||
open (OUT, "> $dir/html/$name") || die "Can not create $dir/html/$name";
|
||||
print "Merging: $name\n";
|
||||
print OUT<<EOF;
|
||||
#
|
||||
# Extract documentation from a single function.
|
||||
#
|
||||
sub process_function {
|
||||
|
||||
my ($file, $file_path, $docs) = @_;
|
||||
|
||||
my $PARAMETER_SECTION = 0;
|
||||
my $BODY_SECTION = 1;
|
||||
my $RETURN_SECTION = 2;
|
||||
my $section = $PARAMETER_SECTION;
|
||||
|
||||
my $name = do {
|
||||
$_ = <$file>;
|
||||
chomp;
|
||||
s/^ \* //;
|
||||
s/:$//;
|
||||
$_
|
||||
};
|
||||
|
||||
# Ignore irrelevant functions, and those with the wrong doc format.
|
||||
return if $name !~ /^mono_\w+$/;
|
||||
|
||||
my $deprecated;
|
||||
my @parameters = ();
|
||||
my $body = '';
|
||||
my $returns = '';
|
||||
my $prototype = '';
|
||||
|
||||
while (<$file>) {
|
||||
|
||||
# We've reached the last line in the documentation block.
|
||||
if (/^ \*\*?\//) {
|
||||
|
||||
# Grab function prototype.
|
||||
while (<$file>) {
|
||||
$prototype .= $_;
|
||||
last if /\{/;
|
||||
}
|
||||
|
||||
# Clean up prototype.
|
||||
$prototype = do {
|
||||
$_ = $prototype;
|
||||
# Strip braces and trailing whitespace.
|
||||
s/{//;
|
||||
s/ +$//;
|
||||
# Turn "Type * xxx" into "Type* xxx"
|
||||
s/^(\w+)\W+\*/$1*/;
|
||||
$_;
|
||||
};
|
||||
|
||||
# Process formatting within sections.
|
||||
for my $parameter (@parameters) {
|
||||
process_formatting(\$parameter->{description}, $file_path, $.);
|
||||
}
|
||||
process_formatting(\$returns, $file_path, $.);
|
||||
process_formatting(\$body, $file_path, $.);
|
||||
if (defined($deprecated)) {
|
||||
process_formatting(\$deprecated, $file_path, $.);
|
||||
}
|
||||
$body =~ s/\n/ /g;
|
||||
|
||||
if (exists($docs->{body}->{$name})) {
|
||||
my $origin = $docs->{origin}->{$name};
|
||||
if ($WARNINGS) {
|
||||
warn
|
||||
"$file_path:$.: Redundant documentation for $name\n",
|
||||
"$origin->{file}:$origin->{line}: Previously defined here\n";
|
||||
}
|
||||
}
|
||||
$docs->{origin}->{$name} = { file => $file_path, line => $. };
|
||||
$docs->{body}->{$name} = $body;
|
||||
$docs->{parameters}->{$name} = \@parameters;
|
||||
$docs->{deprecated}->{$name} = $deprecated if defined $deprecated;
|
||||
$docs->{return}->{$name} = $returns;
|
||||
$docs->{prototype}->{$name} = $prototype;
|
||||
last;
|
||||
|
||||
}
|
||||
|
||||
# Strip newlines and asterisk prefix.
|
||||
chomp;
|
||||
s/^ +\*//;
|
||||
|
||||
# Replace blank lines with paragraph breaks.
|
||||
$_ = '<p>' if /^\s*$/;
|
||||
|
||||
if ($section == $PARAMETER_SECTION) {
|
||||
if (/\s*\\param +(\w+)(.*)/) {
|
||||
# print "$file_path:$.: warning: Got parameter $1\n";
|
||||
push @parameters, { name => $1, description => $2 };
|
||||
} elsif (/\s*\\deprecated(.*)/) {
|
||||
# print "$file_path:$.: warning: Got deprecated annotation\n";
|
||||
$deprecated = $1;
|
||||
} elsif (/\s*(\w+):(.*)/) {
|
||||
if ($1 eq 'deprecated') {
|
||||
warn "$file_path:$.: Old-style monodoc notation 'deprecated:' used\n"
|
||||
if $WARNINGS;
|
||||
$deprecated = $2;
|
||||
} else {
|
||||
warn "$file_path:$.: Old-style monodoc notation 'param:' used\n"
|
||||
if $WARNINGS;
|
||||
push @parameters, { name => $1, description => $2 };
|
||||
}
|
||||
} else {
|
||||
# $body = "\t$_\n";
|
||||
$section = $BODY_SECTION;
|
||||
redo;
|
||||
}
|
||||
} elsif ($section == $BODY_SECTION) {
|
||||
if (s/(Returns?:\s*|\\returns?\s*)//) {
|
||||
$returns = "\t$_\n";
|
||||
$section = $RETURN_SECTION;
|
||||
} else {
|
||||
$body .= "\n\t$_";
|
||||
}
|
||||
} elsif ($section == $RETURN_SECTION) {
|
||||
$returns .= "\n\t$_";
|
||||
} else {
|
||||
die "Invalid section $section\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#
|
||||
# Substitute formatting within documentation text.
|
||||
#
|
||||
sub process_formatting {
|
||||
my ($content, $file_path, $current_line) = @_;
|
||||
$_ = $$content;
|
||||
|
||||
# Constants
|
||||
s{NULL}{<code>NULL</code>}g;
|
||||
s{TRUE}{<code>TRUE</code>}g;
|
||||
s{FALSE}{<code>FALSE</code>}g;
|
||||
|
||||
# Parameters
|
||||
warn "$file_path:$current_line: Old-style monodoc notation '\@param' used\n"
|
||||
if s{@(\w+)}{<i>$1</i>}g && $WARNINGS;
|
||||
s{\\p +(\w+)}{<i>$1</i>}g;
|
||||
|
||||
# Code
|
||||
warn "$file_path:$current_line: Old-style monodoc notation '#code' used\n"
|
||||
if s{#(\w+)}{<code>$1</code>}g && $WARNINGS;
|
||||
warn "$file_path:$current_line: Old-style monodoc notation '`code`' used\n"
|
||||
if s{\`((?!api:)[:.\w\*]+)\`}{<code>$1</code>}g && $WARNINGS;
|
||||
s{\\c +(\S+(?<![.,:;]))}{<code>$1</code>}g;
|
||||
|
||||
$$content = $_;
|
||||
}
|
||||
|
||||
#
|
||||
# Merge templates with stylesheet and documentation extracted from sources.
|
||||
#
|
||||
sub merge {
|
||||
my ($docs, $templates, $stylesheet) = @_;
|
||||
my $last = '';
|
||||
for my $name (keys %$templates) {
|
||||
open (my $output_file, '>', "$TARGET_DIR/html/$name")
|
||||
or die "Could not create $TARGET_DIR/html/$name";
|
||||
print "Merging: $name\n";
|
||||
print $output_file <<EOF;
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>$name</title>
|
||||
<style type="text/css">
|
||||
$css
|
||||
$stylesheet
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="mapi-docs">
|
||||
EOF
|
||||
@a = split (/\n/, $files_content[$f]);
|
||||
$strikeextra = "";
|
||||
$api_shown = 0;
|
||||
for ($ai = 0; $ai < $#a; $ai++){
|
||||
$line = $a[$ai];
|
||||
|
||||
($api,$caption) = $line =~ /<h4><a name=\"api:(\w+)\">(\w+)<\/a><\/h4>/;
|
||||
if ($api ne ""){
|
||||
if ($api_shown == 1){
|
||||
print OUT "</div> <!-- class=mapi -->\n\n";
|
||||
if ($deprecated{$api}){
|
||||
$strike = "mapi-strike";
|
||||
$strikeextra = "</div><br><div class='mapi-deprecated'><b>Deprecated:</b> " . $deprecated{$api};
|
||||
} else {
|
||||
$strike = "";
|
||||
$strikeextra = "";
|
||||
}
|
||||
}
|
||||
$api_shown = 1;
|
||||
$proto = $prototype{$api};
|
||||
if ($proto eq ""){
|
||||
$proto = "$api";
|
||||
}
|
||||
my @a = split (/\n/, $templates->{$name}->{contents});
|
||||
my $strike = '';
|
||||
my $strikeextra = '';
|
||||
my $api_shown = 0;
|
||||
for (my $ai = 0; $ai < $#a; $ai++) {
|
||||
my $line = $a[$ai];
|
||||
if (my ($api, $caption) = ($line =~ /<h4><a name=\"api:(\w+)\">(\w+)<\/a><\/h4>/)) {
|
||||
if ($api_shown == 1) {
|
||||
print $output_file "</div> <!-- class=mapi -->\n\n";
|
||||
if ($docs->{deprecated}->{$api}) {
|
||||
$strike = "mapi-strike";
|
||||
$strikeextra = "</div><br><div class='mapi-deprecated'><b>Deprecated:</b> " . $docs->{deprecated}->{$api};
|
||||
} else {
|
||||
$strike = "";
|
||||
$strikeextra = "";
|
||||
}
|
||||
}
|
||||
$api_shown = 1;
|
||||
my $proto = $docs->{prototype}->{$api} // $api;
|
||||
|
||||
print OUT<<EOF;
|
||||
print $output_file <<EOF;
|
||||
<a name="api:$api"></a>
|
||||
<div class="mapi">
|
||||
<div class="mapi-entry $strike"><code>$api$strikeextra</code></div>
|
||||
@@ -98,228 +302,201 @@ EOF
|
||||
<div class="mapi-prototype">$proto</div>
|
||||
<p>
|
||||
EOF
|
||||
$ppars = $arguments{$api};
|
||||
if ($ppars ne "" && (!($ppars =~ /^[ \t]+$/))){
|
||||
print OUT " <div class=\"mapi-section\">Parameters</div>\n";
|
||||
print OUT " <table class=\"mapi-parameters\"><tbody>".${arguments{$api}}."</tbody></table>";
|
||||
}
|
||||
|
||||
&opt_print ("Return value", $returns{$api}, 0);
|
||||
&opt_print ("Description", $bodies{$api}, 0);
|
||||
print OUT " </div><!--mapi-description-->\n </div><!--height container-->\n";
|
||||
} else {
|
||||
if ($line =~ /@API_IDX@/){
|
||||
$apis_toc = &create_toc ($apis[$f]);
|
||||
$line =~ s/\@API_IDX\@/$apis_toc/;
|
||||
}
|
||||
if ($line =~ /^<h4/){
|
||||
print OUT "</div>\n";
|
||||
$api_shown = 0;
|
||||
}
|
||||
if ($line =~ /`/){
|
||||
}
|
||||
print OUT "$line\n";
|
||||
}
|
||||
}
|
||||
print OUT<<EOF;
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
EOF
|
||||
close OUT;
|
||||
system ("$ENV{runtimedir}/mono-wrapper convert.exe $dir/html/$name $dir/html/x-$name");
|
||||
if (exists ($docs->{parameters}->{$api})) {
|
||||
my $ppars = $docs->{parameters}->{$api};
|
||||
if (@$ppars) {
|
||||
print $output_file
|
||||
" <div class=\"mapi-section\">Parameters</div>\n",
|
||||
" <table class=\"mapi-parameters\"><tbody>",
|
||||
render_parameters($ppars),
|
||||
"</tbody></table>";
|
||||
}
|
||||
}
|
||||
|
||||
opt_print ($output_file, "Return value", $docs->{return}->{$api});
|
||||
opt_print ($output_file, "Description", $docs->{body}->{$api});
|
||||
print $output_file " </div><!--mapi-description-->\n </div><!--height container-->\n";
|
||||
} else {
|
||||
if ($line =~ /\@API_IDX\@/) {
|
||||
my $apis_toc = create_toc ($docs, $templates->{$name}->{api});
|
||||
$line =~ s/\@API_IDX\@/$apis_toc/;
|
||||
}
|
||||
if ($line =~ /^<h4/) {
|
||||
print $output_file "</div>\n";
|
||||
$api_shown = 0;
|
||||
}
|
||||
if ($line =~ /`/) {
|
||||
}
|
||||
print $output_file "$line\n";
|
||||
}
|
||||
}
|
||||
print $output_file
|
||||
" </div>",
|
||||
"</body>",
|
||||
"</html>";
|
||||
close $output_file;
|
||||
system ("$ENV{runtimedir}/mono-wrapper convert.exe $TARGET_DIR/html/$name $TARGET_DIR/html/x-$name");
|
||||
|
||||
# clean up the mess that AgilityPack does, it CDATAs our CSS
|
||||
open HACK, "$dir/html/x-$name" || die "Could not open $dir/html/x-$name";
|
||||
open HACKOUT, ">$dir/deploy/$name" || die "Could not open output";
|
||||
# Clean up the mess that AgilityPack makes (it CDATAs our CSS).
|
||||
open (my $hack_input, '<', "$TARGET_DIR/html/x-$name")
|
||||
or die "Could not open $TARGET_DIR/html/x-$name";
|
||||
open (my $hack_output, '>', "$TARGET_DIR/deploy/$name")
|
||||
or die "Could not open output";
|
||||
|
||||
$line = 0;
|
||||
$doprint = 0;
|
||||
while (<HACK>){
|
||||
print HACKOUT $last if ($doprint);
|
||||
$line++;
|
||||
s/^\/\/<!\[CDATA\[//;
|
||||
s/^\/\/\]\]>\/\///;
|
||||
my $line = 0;
|
||||
my $doprint = 0;
|
||||
while (<$hack_input>) {
|
||||
print $hack_output $last if ($doprint);
|
||||
$line++;
|
||||
s/^\/\/<!\[CDATA\[//;
|
||||
s/^\/\/\]\]>\/\///;
|
||||
|
||||
# Remove the junk <span> wrapper generated by AgilityPack
|
||||
if ($line==1){
|
||||
s/<span>//;
|
||||
}
|
||||
if (/<style type/){
|
||||
# Replace the CSS in the XHTML output with the original CSS
|
||||
print HACKOUT $_;
|
||||
print HACKOUT $css;
|
||||
while (<HACK>){
|
||||
last if (/<\/style>/);
|
||||
}
|
||||
}
|
||||
$last = $_;
|
||||
$doprint = 1;
|
||||
}
|
||||
if (!($last =~ /span/)){
|
||||
print HACKOUT $last;
|
||||
}
|
||||
|
||||
#system ("cp.exe $dir/html/$name $dir/deploy/$name");
|
||||
# Remove the junk <span> wrapper generated by AgilityPack.
|
||||
if ($line==1) {
|
||||
s/<span>//;
|
||||
}
|
||||
if (/<style type/) {
|
||||
# Replace the CSS in the XHTML output with the original CSS.
|
||||
print $hack_output $_;
|
||||
print $hack_output $$stylesheet;
|
||||
while (<$hack_input>) {
|
||||
last if (/<\/style>/);
|
||||
}
|
||||
}
|
||||
$last = $_;
|
||||
$doprint = 1;
|
||||
}
|
||||
if (!($last =~ /span/)) {
|
||||
print $hack_output $last;
|
||||
}
|
||||
# system ("cp.exe $TARGET_DIR/html/$name $TARGET_DIR/deploy/$name");
|
||||
}
|
||||
}
|
||||
|
||||
sub process_doc {
|
||||
$doc = "";
|
||||
$func = <>;
|
||||
chop $func;
|
||||
$func =~ s/^ \* //;
|
||||
$func =~ s/:$//;
|
||||
print "Function: $func\n" if (!$html);
|
||||
$args = "";
|
||||
$inbody = 0;
|
||||
$returns = "";
|
||||
$body = "";
|
||||
$functions[$fn++] = $func;
|
||||
$deprecated = 0;
|
||||
# Process arguments
|
||||
while (<>){
|
||||
s/NULL/<code>NULL<\/code>/g;
|
||||
s/TRUE/<code>TRUE<\/code>/g;
|
||||
s/FALSE/<code>FALSE<\/code>/g;
|
||||
if (/^ \*\*?\//){
|
||||
$body =~ s/@(\w+)/<i>\1<\/i>/g;
|
||||
$returns =~ s/@(\w+)/<i>\1<\/i>/g;
|
||||
$args =~ s/@(\w+)/<i>\1<\/i>/g;
|
||||
|
||||
$body =~ s/#(\w+)/<code>\1<\/code>/g;
|
||||
$returns =~ s/#(\w+)/<code>\1<\/code>/g;
|
||||
$args =~ s/#(\w+)/<code>\1<\/code>/g;
|
||||
|
||||
$returns =~ s/\`([:.\w\*]+)\`/<code>\1<\/code>/g;
|
||||
$args =~ s/\`([:.\w\*]+)\`/<code>\1<\/code>/g;
|
||||
$body =~ s/\`([:.\w\*]+)\`/<code>\1<\/code>/g;
|
||||
|
||||
$body =~ s/\n/ /;
|
||||
$bodies{$func} = $body;
|
||||
$arguments{$func} = $args;
|
||||
$deprecated{$func} = $deprecated;
|
||||
$returns{$func} = $returns;
|
||||
$proto = "";
|
||||
while (<>){
|
||||
$proto .= $_;
|
||||
last if (/\{/);
|
||||
}
|
||||
$proto =~ s/{//;
|
||||
# clean it up a little, remove newlines, empty space at end
|
||||
$proto =~ s/ +$//;
|
||||
# Turn "Type * xxx" into "Type* xxx"
|
||||
$proto =~ s/^(\w+)\W+\*/\1\*/;
|
||||
$prototype{$func} = $proto;
|
||||
return;
|
||||
}
|
||||
chop;
|
||||
s/^\ \*//;
|
||||
$_ = "<p>" if (/^\s*$/);
|
||||
|
||||
if ($inbody == 0){
|
||||
if (/\s*(\w+):(.*)/){
|
||||
if ($1 eq "deprecated"){
|
||||
$deprecated = $2;
|
||||
} else {
|
||||
#$args .= "<dt><i>$1:</i></dt><dd>$2</dd>";
|
||||
$args .= "<tr><td><i>$1</i><td>$2</td></td></tr>";
|
||||
}
|
||||
} else {
|
||||
|
||||
$body = "\t$_\n";
|
||||
|
||||
$inbody = 1;
|
||||
}
|
||||
} elsif ($inbody == 1) {
|
||||
if (/Returns?:/){
|
||||
s/Returns?://;
|
||||
$returns = "\t$_\n";
|
||||
$inbody = 2;
|
||||
} else {
|
||||
$body .= "\n\t$_";
|
||||
}
|
||||
} else {
|
||||
$returns .= "\n\t$_";
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
sub create_toc {
|
||||
my ($apis_listed) = @_;
|
||||
my ($docs, $apis_listed) = @_;
|
||||
my $type_size = 0;
|
||||
my $name_size = 0;
|
||||
my $ret, $xname, $args, $line;
|
||||
$apis_toc = "";
|
||||
my ($ret, $xname, $args);
|
||||
my $apis_toc = "";
|
||||
|
||||
|
||||
# Try to align things, so compute type size, method size, and arguments
|
||||
foreach $line (split /\n/, $apis_listed){
|
||||
$p = $prototype{$line};
|
||||
($ret, $xname, $args) = $p =~ /(.*)\n(\w+)[ \t](.*)/;
|
||||
$tl = length ($ret);
|
||||
$pl = length ($xname);
|
||||
|
||||
$type_size = $tl if ($tl > $type_size);
|
||||
$name_size = $pl if ($pl > $name_size);
|
||||
# Try to align things; compute type size, method size, and arguments.
|
||||
foreach my $line (split /\n/, $apis_listed) {
|
||||
if (exists ($docs->{prototype}->{$line})) {
|
||||
my $p = $docs->{prototype}->{$line};
|
||||
if (my ($ret, $xname, $args) = ($p =~ /(.*)\n(\w+)[ \t](.*)/)) {
|
||||
my $tl = length ($ret);
|
||||
my $pl = length ($xname);
|
||||
$type_size = $tl if ($tl > $type_size);
|
||||
$name_size = $pl if ($pl > $name_size);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$type_size++;
|
||||
$name_size++;
|
||||
|
||||
foreach $line (split /\n/, $apis_listed){
|
||||
chop;
|
||||
$p = $prototype{$line};
|
||||
($ret, $xname, $args) = $p =~ /(.*)\n(\w+)[ \t](.*)/;
|
||||
if ($xname eq ""){
|
||||
$xname = $line;
|
||||
}
|
||||
|
||||
$rspace = " " x ($type_size - length ($ret));
|
||||
$nspace = " " x ($name_size - length ($xname));
|
||||
$args = &format ($args, length ($ret . $rspace . $xname . $nspace), 60);
|
||||
$apis_toc .= "$ret$rspace<a href=\"\#api:$line\">$xname</a>$nspace$args\n";
|
||||
foreach my $line (split /\n/, $apis_listed) {
|
||||
chomp($line);
|
||||
if (exists($docs->{prototype}->{$line})) {
|
||||
my $p = $docs->{prototype}->{$line};
|
||||
if (my ($ret, $xname, $args) = ($p =~ /(.*)\n(\w+)[ \t](.*)/)) {
|
||||
$xname = $line if $xname eq "";
|
||||
my $rspace = " " x ($type_size - length ($ret));
|
||||
my $nspace = " " x ($name_size - length ($xname));
|
||||
$args = wrap ($args, length ($ret . $rspace . $xname . $nspace), 60);
|
||||
$apis_toc .= "$ret$rspace<a href=\"\#api:$line\">$xname</a>$nspace$args\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
return $apis_toc;
|
||||
}
|
||||
|
||||
#
|
||||
# Formats the rest of the arguments in a way that will fit in N columns
|
||||
#
|
||||
sub format {
|
||||
sub wrap {
|
||||
my ($args, $size, $limit) = @_;
|
||||
my $sret = "";
|
||||
|
||||
# return $args if ((length (args) + size) < $limit);
|
||||
# return $args if ((length (args) + size) < $limit);
|
||||
|
||||
$remain = $limit - $size;
|
||||
@sa = split /,/, $args;
|
||||
$linelen = $size;
|
||||
foreach $arg (@sa){
|
||||
if ($sret eq ""){
|
||||
$sret = $arg . ", ";
|
||||
$linelen += length ($sret);
|
||||
} else {
|
||||
if ($linelen + length ($arg) < $limit){
|
||||
$sret .= "FITS" . $arg . ", ";
|
||||
} else {
|
||||
$newline = " " x ($size) . $arg . ", ";
|
||||
$linelen = length ($newline);
|
||||
$sret .= "\n" . $newline;
|
||||
}
|
||||
}
|
||||
my $remain = $limit - $size;
|
||||
my @sa = split /,/, $args;
|
||||
my $linelen = $size;
|
||||
foreach my $arg (@sa) {
|
||||
if ($sret eq "") {
|
||||
$sret = $arg . ", ";
|
||||
$linelen += length ($sret);
|
||||
} else {
|
||||
if ($linelen + length ($arg) < $limit) {
|
||||
$sret .= "FITS" . $arg . ", ";
|
||||
} else {
|
||||
my $newline = " " x ($size) . $arg . ", ";
|
||||
my $linelen = length ($newline);
|
||||
$sret .= "\n" . $newline;
|
||||
}
|
||||
}
|
||||
}
|
||||
$sret =~ s/, $/;/;
|
||||
return $sret;
|
||||
}
|
||||
|
||||
#
|
||||
# Print a section if non-empty.
|
||||
#
|
||||
sub opt_print {
|
||||
my ($caption, $opttext, $quote) = @_;
|
||||
|
||||
if ($opttext ne "" && (!($opttext =~ /^[ \t]+$/))){
|
||||
print OUT " <div class=\"mapi-section\">$caption</div>\n";
|
||||
print OUT " <div>$opttext</div>\n";
|
||||
my ($output, $caption, $opttext) = @_;
|
||||
if (defined($opttext) && $opttext ne '' && $opttext !~ /^[ \t]+$/) {
|
||||
print $output
|
||||
" <div class=\"mapi-section\">$caption</div>\n",
|
||||
" <div>$opttext</div>\n";
|
||||
}
|
||||
}
|
||||
|
||||
#
|
||||
# Render parameter information as table.
|
||||
#
|
||||
sub render_parameters {
|
||||
my ($parameters) = @_;
|
||||
my $result = '';
|
||||
for my $parameter (@$parameters) {
|
||||
$result .= "<tr><td><i>$parameter->{name}</i></td><td>$parameter->{description}</td></tr>";
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
||||
__END__
|
||||
|
||||
=head1 NAME
|
||||
|
||||
exdoc - Compiles API docs from Mono sources and HTML templates.
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
||||
exdoc [OPTIONS] [FILE...]
|
||||
|
||||
=head1 OPTIONS
|
||||
|
||||
=over 4
|
||||
|
||||
=item B<--help>
|
||||
|
||||
Print this help message.
|
||||
|
||||
=item B<--html> I<DIR>, B<-h> I<DIR>
|
||||
|
||||
Use I<DIR> as the input path for HTML sources.
|
||||
|
||||
=item B<--target> I<DIR>, B<-t> I<DIR>
|
||||
|
||||
Use I<DIR> as the target path for output.
|
||||
|
||||
=item B<--warnings>, B<-W>
|
||||
|
||||
Enable warnings about documentation errors.
|
||||
|
||||
=back
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
Reads HTML templates and C sources, extracting documentation from the sources and splicing it into the templates.
|
||||
|
||||
=cut
|
||||
@@ -27,7 +27,6 @@ typedef enum {
|
||||
|
||||
<h3>Opening and closing MonoImages</h3>
|
||||
|
||||
<h4><a name="api:mono_load_image">mono_load_image</a></h4>
|
||||
<h4><a name="api:mono_image_open">mono_image_open</a></h4>
|
||||
<h4><a name="api:mono_image_open_full">mono_image_open_full</a></h4>
|
||||
<h4><a name="api:mono_image_open_from_data">mono_image_open_from_data</a></h4>
|
||||
|
||||
@@ -40,7 +40,6 @@
|
||||
<h4><a name="api:mono_marshal_get_delegate_invoke">mono_marshal_get_delegate_invoke</a></h4>
|
||||
<h4><a name="api:mono_marshal_get_icall_wrapper">mono_marshal_get_icall_wrapper</a></h4>
|
||||
<h4><a name="api:mono_marshal_get_isinst">mono_marshal_get_isinst</a></h4>
|
||||
<h4><a name="api:mono_marshal_get_ldfld_remote_wrapper">mono_marshal_get_ldfld_remote_wrapper</a></h4>
|
||||
<h4><a name="api:mono_marshal_get_ldfld_wrapper">mono_marshal_get_ldfld_wrapper</a></h4>
|
||||
<h4><a name="api:mono_marshal_get_managed_wrapper">mono_marshal_get_managed_wrapper</a></h4>
|
||||
<h4><a name="api:mono_marshal_get_native_wrapper">mono_marshal_get_native_wrapper</a></h4>
|
||||
@@ -51,7 +50,6 @@
|
||||
<h4><a name="api:mono_marshal_get_remoting_invoke_with_check">mono_marshal_get_remoting_invoke_with_check</a></h4>
|
||||
<h4><a name="api:mono_marshal_get_runtime_invoke">mono_marshal_get_runtime_invoke</a></h4>
|
||||
<h4><a name="api:mono_marshal_get_stelemref">mono_marshal_get_stelemref</a></h4>
|
||||
<h4><a name="api:mono_marshal_get_stfld_remote_wrapper">mono_marshal_get_stfld_remote_wrapper</a></h4>
|
||||
<h4><a name="api:mono_marshal_get_stfld_wrapper">mono_marshal_get_stfld_wrapper</a></h4>
|
||||
<h4><a name="api:mono_marshal_get_struct_to_ptr">mono_marshal_get_struct_to_ptr</a></h4>
|
||||
<h4><a name="api:mono_marshal_get_synchronized_wrapper">mono_marshal_get_synchronized_wrapper</a></h4>
|
||||
@@ -59,47 +57,9 @@
|
||||
<h4><a name="api:mono_marshal_get_xappdomain_invoke">mono_marshal_get_xappdomain_invoke</a></h4>
|
||||
<h4><a name="api:mono_marshal_load_type_info">mono_marshal_load_type_info</a></h4>
|
||||
<h4><a name="api:mono_marshal_method_from_wrapper">mono_marshal_method_from_wrapper</a></h4>
|
||||
<h4><a name="api:mono_marshal_realloc">mono_marshal_realloc</a></h4>
|
||||
<h4><a name="api:mono_marshal_set_last_error">mono_marshal_set_last_error</a></h4>
|
||||
<h4><a name="api:mono_marshal_type_size">mono_marshal_type_size</a></h4>
|
||||
|
||||
<h2>Metadata Loading Errors</h2>
|
||||
|
||||
<p>The routines in this section are used to cope with errors
|
||||
during metadata loading. Errors in metadata handling can
|
||||
happen for many reason, and these include (this is not an
|
||||
exhaustive list).
|
||||
|
||||
<ul>
|
||||
<li>An assembly referenced is missing.
|
||||
<li>Fields referenced are missing.
|
||||
<li>Methods referenced are missing.
|
||||
</ul>
|
||||
|
||||
<p>The <tt>mono_loader_set_*</tt> routines are invoked during
|
||||
metadata loading to flag that an error has happened. The
|
||||
class loading errros are flagged in a per-thread basis.
|
||||
|
||||
<P>In various spots in the runtime the
|
||||
<tt>mono_loader_get_last_error</tt> routine is called to check
|
||||
if there was a problem, and then errors are propagated upwards
|
||||
on the stack until we reach a point where an exception can be
|
||||
raised and no runtime locks are held.
|
||||
|
||||
<p>The <tt>mono_loader_error_prepare_exception</tt> takes a
|
||||
<tt>MonoLoaderError</tt> structure (the value returned from
|
||||
<tt>mono_loader_get_last_error</tt>), turns that into an
|
||||
exception and clears the error condition from the current
|
||||
thread.
|
||||
|
||||
<h4><a name="api:mono_loader_set_error_field_load">mono_loader_set_error_field_load</a></h4>
|
||||
<h4><a name="api:mono_loader_set_error_method_load">mono_loader_set_error_method_load</a></h4>
|
||||
<h4><a name="api:mono_loader_set_error_type_load">mono_loader_set_error_type_load</a></h4>
|
||||
|
||||
<h4><a name="api:mono_loader_get_last_error">mono_loader_get_last_error</a></h4>
|
||||
<h4><a name="api:mono_loader_clear_error">mono_loader_clear_error</a></h4>
|
||||
<h4><a name="api:mono_loader_error_prepare_exception">mono_loader_error_prepare_exception</a></h4>
|
||||
|
||||
<h2>Metadata Loader Locking: Internals</h2>
|
||||
|
||||
<p>The locking functions here are used by code in class.c and
|
||||
@@ -114,10 +74,6 @@
|
||||
<p>The internal interface of the Mono GC is the interface used
|
||||
between the runtime engine and the garbage collector.
|
||||
|
||||
<h4><a name="api:mono_gc_disable">mono_gc_disable</a></h4>
|
||||
<h4><a name="api:mono_gc_enable">mono_gc_enable</a></h4>
|
||||
<h4><a name="api:mono_gc_start_world">mono_gc_start_world</a></h4>
|
||||
<h4><a name="api:mono_gc_stop_world">mono_gc_stop_world</a></h4>
|
||||
<h4><a name="api:mono_gc_alloc_fixed">mono_gc_alloc_fixed</a></h4>
|
||||
<h4><a name="api:mono_gc_free_fixed">mono_gc_free_fixed</a></h4>
|
||||
<h4><a name="api:mono_gc_make_descr_from_bitmap">mono_gc_make_descr_from_bitmap</a></h4>
|
||||
|
||||
@@ -31,17 +31,12 @@
|
||||
<h4><a name="api:mono_g_hash_table_destroy">mono_g_hash_table_destroy</a></h4>
|
||||
<h4><a name="api:mono_g_hash_table_foreach">mono_g_hash_table_foreach</a></h4>
|
||||
<h4><a name="api:mono_g_hash_table_foreach_remove">mono_g_hash_table_foreach_remove</a></h4>
|
||||
<h4><a name="api:mono_g_hash_table_foreach_steal">mono_g_hash_table_foreach_steal</a></h4>
|
||||
<h4><a name="api:mono_g_hash_table_insert">mono_g_hash_table_insert</a></h4>
|
||||
<h4><a name="api:mono_g_hash_table_lookup">mono_g_hash_table_lookup</a></h4>
|
||||
<h4><a name="api:mono_g_hash_table_lookup_extended">mono_g_hash_table_lookup_extended</a></h4>
|
||||
<h4><a name="api:mono_g_hash_table_new">mono_g_hash_table_new</a></h4>
|
||||
<h4><a name="api:mono_g_hash_table_new_full">mono_g_hash_table_new_full</a></h4>
|
||||
<h4><a name="api:mono_g_hash_table_remap">mono_g_hash_table_remap</a></h4>
|
||||
<h4><a name="api:mono_g_hash_table_remove">mono_g_hash_table_remove</a></h4>
|
||||
<h4><a name="api:mono_g_hash_table_replace">mono_g_hash_table_replace</a></h4>
|
||||
<h4><a name="api:mono_g_hash_table_size">mono_g_hash_table_size</a></h4>
|
||||
<h4><a name="api:mono_g_hash_table_steal">mono_g_hash_table_steal</a></h4>
|
||||
|
||||
|
||||
<h3>Memory Pools</h3>
|
||||
@@ -67,7 +62,6 @@
|
||||
<h4><a name="api:mono_mempool_destroy">mono_mempool_destroy</a></h4>
|
||||
<h4><a name="api:mono_mempool_alloc">mono_mempool_alloc</a></h4>
|
||||
<h4><a name="api:mono_mempool_alloc0">mono_mempool_alloc0</a></h4>
|
||||
<h4><a name="api:mono_mempool_empty">mono_mempool_empty</a></h4>
|
||||
<h4><a name="api:mono_mempool_invalidate">mono_mempool_invalidate</a></h4>
|
||||
<h4><a name="api:mono_mempool_stats">mono_mempool_stats</a></h4>
|
||||
<h4><a name="api:mono_mempool_contains_addr">mono_mempool_contains_addr</a></h4>
|
||||
@@ -153,6 +147,4 @@
|
||||
<h4><a name="api:mono_profiler_startup">mono_profiler_startup</a></h4>
|
||||
<h4><a name="api:mono_profiler_gc_event">mono_profiler_gc_event</a></h4>
|
||||
<h4><a name="api:mono_profiler_gc_heap_resize">mono_profiler_gc_heap_resize</a></h4>
|
||||
<h4><a name="api:mono_profiler_gc_event">mono_profiler_gc_event</a></h4>
|
||||
<h4><a name="api:mono_profiler_gc_heap_resize">mono_profiler_gc_heap_resize</a></h4>
|
||||
<h4><a name="api:mono_profiler_stat_hit">mono_profiler_stat_hit</a></h4>
|
||||
@@ -669,15 +669,12 @@ MONO_TYPESPEC_SIZE
|
||||
<h4><a name="api:mono_metadata_parse_method_signature">mono_metadata_parse_method_signature</a></h4>
|
||||
<h4><a name="api:mono_metadata_parse_mh">mono_metadata_parse_mh</a></h4>
|
||||
<h4><a name="api:mono_metadata_parse_param">mono_metadata_parse_param</a></h4>
|
||||
<h4><a name="api:mono_metadata_parse_ret_type">mono_metadata_parse_ret_type</a></h4>
|
||||
<h4><a name="api:mono_metadata_parse_signature">mono_metadata_parse_signature</a></h4>
|
||||
<h4><a name="api:mono_metadata_parse_typedef_or_ref">mono_metadata_parse_typedef_or_ref</a></h4>
|
||||
<h4><a name="api:mono_metadata_parse_type">mono_metadata_parse_type</a></h4>
|
||||
|
||||
<h2>Generics Support</h2>
|
||||
|
||||
<h4><a name="api:mono_metadata_generic_class_equal">mono_metadata_generic_class_equal</a></h4>
|
||||
<h4><a name="api:mono_metadata_generic_class_hash">mono_metadata_generic_class_hash</a></h4>
|
||||
<h4><a name="api:mono_metadata_generic_class_is_valuetype">mono_metadata_generic_class_is_valuetype</a></h4>
|
||||
|
||||
<h2>Tokens</h2>
|
||||
|
||||
@@ -94,6 +94,9 @@ arm*-darwin*|aarch64*-*)
|
||||
i*86-*-darwin*)
|
||||
ORDER=G_LITTLE_ENDIAN
|
||||
;;
|
||||
*-*-haiku*)
|
||||
LDFLAGS="$LDFLAGS -ltextencoding"
|
||||
;;
|
||||
*-*-openbsd*)
|
||||
CFLAGS="$CFLAGS -pthread"
|
||||
LDFLAGS="$LDFLAGS -pthread"
|
||||
|
||||
@@ -5,7 +5,7 @@ AM_CFLAGS = $(WERROR_CFLAGS)
|
||||
win_files = \
|
||||
eglib-config.hw \
|
||||
gdate-win32.c gdir-win32.c gfile-win32.c gmisc-win32.c \
|
||||
gmodule-win32.c gtimer-win32.c gunicode-win32.c
|
||||
gmodule-win32.c gmodule-win32-internals.h gtimer-win32.c gunicode-win32.c
|
||||
|
||||
unix_files = \
|
||||
gdate-unix.c gdir-unix.c gfile-unix.c gmisc-unix.c \
|
||||
|
||||
@@ -32,7 +32,7 @@ typedef signed @GSIZE@ gssize;
|
||||
#define G_HAVE_ISO_VARARGS
|
||||
#endif
|
||||
|
||||
#if defined (__native_client__) || defined (HOST_WATCHOS)
|
||||
#if defined (HOST_WATCHOS)
|
||||
#undef G_BREAKPOINT
|
||||
#define G_BREAKPOINT()
|
||||
#endif
|
||||
|
||||
@@ -15,6 +15,8 @@
|
||||
#define g_byte_array_append monoeg_g_byte_array_append
|
||||
#define g_byte_array_free monoeg_g_byte_array_free
|
||||
#define g_byte_array_new monoeg_g_byte_array_new
|
||||
#define g_byte_array_set_size monoeg_g_byte_array_set_size
|
||||
#define g_calloc monoeg_g_calloc
|
||||
#define g_clear_error monoeg_g_clear_error
|
||||
#define g_convert monoeg_g_convert
|
||||
#define g_convert_error_quark monoeg_g_convert_error_quark
|
||||
@@ -25,6 +27,7 @@
|
||||
#define g_mkdir_with_parents monoeg_g_mkdir_with_parents
|
||||
#define g_direct_equal monoeg_g_direct_equal
|
||||
#define g_direct_hash monoeg_g_direct_hash
|
||||
#define g_ensure_directory_exists monoeg_g_ensure_directory_exists
|
||||
#define g_error_free monoeg_g_error_free
|
||||
#define g_error_new monoeg_g_error_new
|
||||
#define g_error_vnew monoeg_g_error_vnew
|
||||
@@ -48,6 +51,7 @@
|
||||
#define g_get_tmp_dir monoeg_g_get_tmp_dir
|
||||
#define g_get_user_name monoeg_g_get_user_name
|
||||
#define g_getenv monoeg_g_getenv
|
||||
#define g_hasenv monoeg_g_hasenv
|
||||
#define g_hash_table_destroy monoeg_g_hash_table_destroy
|
||||
#define g_hash_table_find monoeg_g_hash_table_find
|
||||
#define g_hash_table_foreach monoeg_g_hash_table_foreach
|
||||
@@ -107,6 +111,8 @@
|
||||
#define g_markup_parse_context_new monoeg_g_markup_parse_context_new
|
||||
#define g_markup_parse_context_parse monoeg_g_markup_parse_context_parse
|
||||
#define g_memdup monoeg_g_memdup
|
||||
#define g_mem_set_vtable monoeg_g_mem_set_vtable
|
||||
#define g_mkdtemp monoeg_g_mkdtemp
|
||||
#define g_module_build_path monoeg_g_module_build_path
|
||||
#define g_module_close monoeg_g_module_close
|
||||
#define g_module_error monoeg_g_module_error
|
||||
@@ -251,6 +257,7 @@
|
||||
#define g_utf8_offset_to_pointer monoeg_g_utf8_offset_to_pointer
|
||||
#define g_utf8_pointer_to_offset monoeg_g_utf8_pointer_to_offset
|
||||
#define g_utf8_to_ucs4_fast monoeg_g_utf8_to_ucs4_fast
|
||||
#define g_vasprintf monoeg_g_vasprintf
|
||||
#define g_win32_getlocale monoeg_g_win32_getlocale
|
||||
#define g_assertion_message monoeg_assertion_message
|
||||
#define g_malloc monoeg_malloc
|
||||
|
||||
@@ -154,15 +154,6 @@ g_file_open_tmp (const gchar *tmpl, gchar **name_used, GError **error)
|
||||
gchar *
|
||||
g_get_current_dir (void)
|
||||
{
|
||||
#ifdef __native_client__
|
||||
char *buffer;
|
||||
if ((buffer = g_getenv("NACL_PWD"))) {
|
||||
buffer = g_strdup(buffer);
|
||||
} else {
|
||||
buffer = g_strdup(".");
|
||||
}
|
||||
return buffer;
|
||||
#else
|
||||
int s = 32;
|
||||
char *buffer = NULL, *r;
|
||||
gboolean fail;
|
||||
@@ -181,5 +172,4 @@ g_get_current_dir (void)
|
||||
* so we return the buffer here since it has a pointer to the valid string
|
||||
*/
|
||||
return buffer;
|
||||
#endif
|
||||
}
|
||||
@@ -82,7 +82,11 @@ g_file_test (const gchar *filename, GFileTest test)
|
||||
gchar *
|
||||
g_mkdtemp (char *tmp_template)
|
||||
{
|
||||
#ifdef HAVE_MKDTEMP
|
||||
char *template_copy = g_strdup (tmp_template);
|
||||
|
||||
return mkdtemp (template_copy);
|
||||
#else
|
||||
g_error("Function not supported");
|
||||
#endif
|
||||
}
|
||||
+2
-1
@@ -160,7 +160,8 @@ typedef struct _GMemChunk GMemChunk;
|
||||
* Misc.
|
||||
*/
|
||||
|
||||
const gchar * g_getenv(const gchar *variable);
|
||||
gboolean g_hasenv(const gchar *variable);
|
||||
gchar * g_getenv(const gchar *variable);
|
||||
gboolean g_setenv(const gchar *variable, const gchar *value, gboolean overwrite);
|
||||
void g_unsetenv(const gchar *variable);
|
||||
|
||||
|
||||
+50
-4
@@ -39,23 +39,69 @@
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
static pthread_mutex_t env_lock = PTHREAD_MUTEX_INITIALIZER;
|
||||
|
||||
const gchar *
|
||||
g_getenv(const gchar *variable)
|
||||
/* MONO Comment
|
||||
*
|
||||
* As per the UNIX spec,
|
||||
* "The return value from getenv() may point to static data which may be overwritten by subsequent calls to getenv(), setenv(), or unsetenv()."
|
||||
* Source: Unix Manual Pages for getenv, IEEE Std 1003.1
|
||||
*
|
||||
* This means that using pointers returned from getenv may (and does) lead to many
|
||||
* pointers which refer to the same piece of memory. When one is freed, all will be freed.
|
||||
*
|
||||
* This is unsafe and an ergonomics risk to fix in the callers. While the caller could lock,
|
||||
* this introduces the risk for looping or exiting while inside of a lock. For this reason,
|
||||
* g_getenv does not mimic the behavior of POSIX getenv anymore.
|
||||
*
|
||||
* The memory address returned will be unique to the invocaton, and must be freed.
|
||||
* */
|
||||
gchar *
|
||||
g_getenv (const gchar *variable)
|
||||
{
|
||||
return getenv(variable);
|
||||
gchar *ret = NULL;
|
||||
pthread_mutex_lock (&env_lock);
|
||||
gchar *res = getenv(variable);
|
||||
if (res)
|
||||
ret = g_strdup(res);
|
||||
pthread_mutex_unlock (&env_lock);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
/*
|
||||
* This function checks if the given variable is non-NULL
|
||||
* in the environment. It's useful because it removes memory
|
||||
* freeing requirements.
|
||||
*
|
||||
*/
|
||||
gboolean
|
||||
g_hasenv (const gchar *variable)
|
||||
{
|
||||
pthread_mutex_lock (&env_lock);
|
||||
gchar *res = getenv(variable);
|
||||
gboolean not_null = (res != NULL);
|
||||
pthread_mutex_unlock (&env_lock);
|
||||
|
||||
return not_null;
|
||||
}
|
||||
|
||||
gboolean
|
||||
g_setenv(const gchar *variable, const gchar *value, gboolean overwrite)
|
||||
{
|
||||
return setenv(variable, value, overwrite) == 0;
|
||||
gboolean res;
|
||||
pthread_mutex_lock (&env_lock);
|
||||
res = (setenv(variable, value, overwrite) == 0);
|
||||
pthread_mutex_unlock (&env_lock);
|
||||
return res;
|
||||
}
|
||||
|
||||
void
|
||||
g_unsetenv(const gchar *variable)
|
||||
{
|
||||
pthread_mutex_lock (&env_lock);
|
||||
unsetenv(variable);
|
||||
pthread_mutex_unlock (&env_lock);
|
||||
}
|
||||
|
||||
gchar*
|
||||
|
||||
@@ -39,7 +39,13 @@
|
||||
#include <io.h>
|
||||
#include <assert.h>
|
||||
|
||||
const gchar *
|
||||
gboolean
|
||||
g_hasenv (const gchar *variable)
|
||||
{
|
||||
return g_getenv (variable) != NULL;
|
||||
}
|
||||
|
||||
gchar *
|
||||
g_getenv(const gchar *variable)
|
||||
{
|
||||
gunichar2 *var, *buffer;
|
||||
|
||||
+26
-26
@@ -5,6 +5,32 @@
|
||||
#include "cygconfig.h"
|
||||
#else
|
||||
|
||||
#ifndef HAVE_WINAPI_FAMILY_SUPPORT
|
||||
|
||||
#define HAVE_WINAPI_FAMILY_SUPPORT
|
||||
|
||||
/* WIN API Family support */
|
||||
#include <winapifamily.h>
|
||||
|
||||
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
|
||||
#define HAVE_CLASSIC_WINAPI_SUPPORT 1
|
||||
#define HAVE_UWP_WINAPI_SUPPORT 0
|
||||
#elif WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
|
||||
#define HAVE_CLASSIC_WINAPI_SUPPORT 0
|
||||
#define HAVE_UWP_WINAPI_SUPPORT 1
|
||||
#ifndef HAVE_EXTERN_DEFINED_WINAPI_SUPPORT
|
||||
#error Unsupported WINAPI family
|
||||
#endif
|
||||
#else
|
||||
#define HAVE_CLASSIC_WINAPI_SUPPORT 0
|
||||
#define HAVE_UWP_WINAPI_SUPPORT 0
|
||||
#ifndef HAVE_EXTERN_DEFINED_WINAPI_SUPPORT
|
||||
#error Unsupported WINAPI family
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||
#define HAVE_DLFCN_H 1
|
||||
|
||||
@@ -78,30 +104,4 @@
|
||||
#define VERSION "0.1"
|
||||
|
||||
#define HAVE_STRTOK_R 1
|
||||
|
||||
#ifndef HAVE_WINAPI_FAMILY_SUPPORT
|
||||
|
||||
#define HAVE_WINAPI_FAMILY_SUPPORT
|
||||
|
||||
/* WIN API Family support */
|
||||
#include <winapifamily.h>
|
||||
|
||||
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
|
||||
#define HAVE_CLASSIC_WINAPI_SUPPORT 1
|
||||
#define HAVE_UWP_WINAPI_SUPPORT 0
|
||||
#elif WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
|
||||
#define HAVE_CLASSIC_WINAPI_SUPPORT 0
|
||||
#define HAVE_UWP_WINAPI_SUPPORT 1
|
||||
#ifndef HAVE_EXTERN_DEFINED_WINAPI_SUPPORT
|
||||
#error Unsupported WINAPI family
|
||||
#endif
|
||||
#else
|
||||
#define HAVE_CLASSIC_WINAPI_SUPPORT 0
|
||||
#define HAVE_UWP_WINAPI_SUPPORT 0
|
||||
#ifndef HAVE_EXTERN_DEFINED_WINAPI_SUPPORT
|
||||
#error Unsupported WINAPI family
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif
|
||||
Vendored
-1
Submodule external/Lucene.Net.Light deleted from 85978b7eb9.
+1
Submodule external/api-doc-tools added at d03e819838.
+1
Submodule external/api-snapshot added at b09033be33.
Vendored
+1
-1
Submodule external/binary-reference-assemblies updated: 6c77197318...142cbeb62f.
Vendored
+1
-1
Submodule external/bockbuild updated: 512ba41a94...855e3737d8.
Vendored
+1
-1
Submodule external/boringssl updated: c06ac6b33d...3e0770e188.
Vendored
-1
Submodule external/buildtools deleted from 9b6ee8686b.
Vendored
+1
-1
Submodule external/cecil updated: f7733aca62...c0eb983dac.
Vendored
+1
-1
Submodule external/corefx updated: f7ed7c88fe...9ad53d674e.
Vendored
+1
-1
Submodule external/corert updated: d87c966d80...48dba73801.
Vendored
+1
-1
Submodule external/ikdasm updated: e4deabf61c...1d7d436037.
Vendored
+1
-1
Submodule external/ikvm updated: 367864ef81...847e05fced.
Vendored
+1
-1
Submodule external/linker updated: e4d9784ac3...99354bf5c1.
Vendored
+1
-1
Submodule external/nuget-buildtasks updated: 04bdab55d8...b58ba42823.
Vendored
+1
-1
Submodule external/roslyn-binaries updated: 69ce5c6b08...1904c7d068.
+1
Submodule external/xunit-binaries added at d4433b0972.
+1
-1
@@ -21,7 +21,7 @@
|
||||
* See the definition of page_hash_table in gc_private.h.
|
||||
* False hits from the stack(s) are much more dangerous than false hits
|
||||
* from elsewhere, since the former can pin a large object that spans the
|
||||
* block, eventhough it does not start on the dangerous block.
|
||||
* block, even though it does not start on the dangerous block.
|
||||
*/
|
||||
|
||||
/*
|
||||
|
||||
@@ -1872,7 +1872,7 @@ Since 6.2alpha6:
|
||||
- Fixed Makefile.direct for DARWIN. (Thanks to Manuel Serrano.)
|
||||
- There was a race between GC_pthread_detach and thread exit that could
|
||||
result in a thread structure being deallocated by GC_pthread_detach
|
||||
eventhough it was still needed by the thread exit code. (Thanks to
|
||||
even though it was still needed by the thread exit code. (Thanks to
|
||||
Dick Porter for the small test case that allowed this to be debugged.)
|
||||
- Fixed version parsing for non-alpha versions in acinclude.m4 and
|
||||
version checking in version.h.
|
||||
|
||||
@@ -19,7 +19,7 @@ relatively easy to adapt to new compilers with a different set of predefined
|
||||
macros. Currently these macros generally identify platforms instead of
|
||||
features. In many cases, this is a mistake.
|
||||
|
||||
3) The code currently avoids #elif, eventhough that would make it more
|
||||
3) The code currently avoids #elif, even though that would make it more
|
||||
readable. This was done since #elif would need to be understood by ALL
|
||||
compilers used to build the collector, and that hasn't always been the case.
|
||||
It makes sense to reconsider this decision at some point, since #elif has been
|
||||
|
||||
+1
-1
@@ -936,7 +936,7 @@ void GC_do_local_mark(mse *local_mark_stack, mse *local_top)
|
||||
/* Try to share the load, since the main stack is empty, */
|
||||
/* and helper threads are waiting for a refill. */
|
||||
/* The entries near the bottom of the stack are likely */
|
||||
/* to require more work. Thus we return those, eventhough */
|
||||
/* to require more work. Thus we return those, even though */
|
||||
/* it's harder. */
|
||||
mse * p;
|
||||
mse * new_bottom = local_mark_stack
|
||||
|
||||
+57
-18
@@ -2,31 +2,22 @@
|
||||
.if t .sp .5v
|
||||
.if n .sp
|
||||
..
|
||||
.TH csharp 1 "4 September 2008"
|
||||
.TH csharp 1 "22 March 2017"
|
||||
.SH NAME
|
||||
csharp, gsharp \- Interactive C# Shell
|
||||
csharp \- Interactive C# Shell and Scripting
|
||||
.SH SYNOPSIS
|
||||
.B csharp [--attach PID] [-e EXPRESSION] [file1 [file2]]
|
||||
[options]
|
||||
.P
|
||||
.B gsharp [file1 [file2]]
|
||||
[compiler-options] [--|-s script-options]
|
||||
.SH DESCRIPTION
|
||||
The
|
||||
.I csharp
|
||||
is an interactive C# shell that allows the user to enter and evaluate
|
||||
C# statements and expressions from the command line. The regular
|
||||
command is an interactive C# shell and scripting host that allows
|
||||
the user to enter and evaluate C# statements and expressions from
|
||||
the command line or execute C# scripts.
|
||||
The regular
|
||||
.I mcs
|
||||
command line options can be used in this version of the compiler.
|
||||
.PP
|
||||
The
|
||||
.I gsharp
|
||||
command is a GUI version of the C# interpreter that uses Gtk# and
|
||||
provides an area to attach widgets as well. This version can be
|
||||
attached to other Gtk# applications in a safe way as it injects itself
|
||||
into the main loop of a Gtk# application, avoiding any problems
|
||||
arising from the multi-threaded nature of injecting itself into a
|
||||
target process.
|
||||
.PP
|
||||
Files specified in the command line will be loaded and executed as
|
||||
scripts.
|
||||
.PP
|
||||
@@ -35,9 +26,31 @@ Starting with Mono 2.10, the
|
||||
command can be used as an interpreter executed by executables flagged
|
||||
with the Unix execute attribute. To do this, make the first line of
|
||||
your C# source code look like this:
|
||||
.PP
|
||||
.nf
|
||||
"#!/usr/bin/csharp"
|
||||
Console.WriteLine ("Hello, World");
|
||||
#!/usr/bin/csharp
|
||||
Console.WriteLine ("Hello, World");
|
||||
.fi
|
||||
.PP
|
||||
Starting with Mono 5.0, command line arguments may now be passed
|
||||
to the
|
||||
.I csharp
|
||||
command by specifying either the
|
||||
.I -s
|
||||
or
|
||||
.I --
|
||||
(script) options.
|
||||
.PP
|
||||
The
|
||||
.I -s
|
||||
option is ideal for interpreting executable scripts that utilize
|
||||
shebang syntax (introduced in Mono 2.10). This allows command line
|
||||
arguments to be passed to and consumed cleanly by the script:
|
||||
.PP
|
||||
.nf
|
||||
#!/usr/bin/csharp -s
|
||||
foreach (var arg in Args)
|
||||
Console.WriteLine ($"script argument: {arg}");
|
||||
.fi
|
||||
.SH OPTIONS
|
||||
The commands accept all of the commands that are available to the
|
||||
@@ -45,6 +58,23 @@ The commands accept all of the commands that are available to the
|
||||
command, so you can reference assemblies, specify paths, language
|
||||
level and so on from the command line. In addition, the following
|
||||
command line options are supported:
|
||||
.TP
|
||||
.I "\-s" SCRIPT_FILE
|
||||
This option is ideal for authoring executable scripts that utilize
|
||||
the Unix shebang feature. Unix will implicitly append as an argument
|
||||
the path of the script to execute. When the executable is invoked,
|
||||
any arguments then passed to it will be available in the
|
||||
.I Args
|
||||
global. Example:
|
||||
.I "#!/usr/bin/env csharp -s"
|
||||
.TP
|
||||
.I "\-\-"
|
||||
Any arguments that follow will not be passed to the compiler driver,
|
||||
and instead will be made available in the
|
||||
.I Args
|
||||
global. Example:
|
||||
.I csharp -- a b c
|
||||
will result in Args = { "a", "b", "c" } in the interactive shell.
|
||||
.TP
|
||||
.I "\-\-attach"
|
||||
This is an advanced option and should only be used if you have a deep
|
||||
@@ -290,6 +320,15 @@ statements and expressions are executed are static, they can be
|
||||
invoked directly from the shell. These are the available properties
|
||||
and methods:
|
||||
.TP
|
||||
.I Args
|
||||
An easy to consume array of any arguments specified after either
|
||||
.I -s
|
||||
or
|
||||
.I --
|
||||
on the command line. Ideal for self-executing scripts utilizing the
|
||||
.I -s
|
||||
option.
|
||||
.TP
|
||||
.I void LoadAssembly(string assembly)
|
||||
Loads the given assembly. This is equivalent to passing the compiler
|
||||
the -r: flag with the specified string.
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@
|
||||
.if t .sp .5v
|
||||
.if n .sp
|
||||
..
|
||||
.TH gacutil "Mono 1.0"
|
||||
.TH Mono "gacutil"
|
||||
.SH NAME
|
||||
gacutil \- Global Assembly Cache management utility.
|
||||
.SH SYNOPSIS
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
.if t .sp .5v
|
||||
.if n .sp
|
||||
..
|
||||
.TH lc "Mono 2.6"
|
||||
.TH Mono "lc"
|
||||
.SH NAME
|
||||
lc \- Mono License Compiler
|
||||
.SH SYNOPSIS
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@
|
||||
.if t .sp .5v
|
||||
.if n .sp
|
||||
..
|
||||
.TH macpack "Mono 1.0"
|
||||
.TH Mono "macpack"
|
||||
.SH NAME
|
||||
macpack \- Macintosh OS X Packager for managed gui assemblies
|
||||
.SH SYNOPSIS
|
||||
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
.\"
|
||||
.\" mono manual page.
|
||||
.\" mdb2ppdb manual page.
|
||||
.\" Copyright 2017 Microsoft
|
||||
.\"
|
||||
.TH Mono "Mono 4.8.0"
|
||||
.TH Mono "mdb2ppdb"
|
||||
.SH NAME
|
||||
mdb2ppdb \- Convert Mono's debug file format (MDB) to Portable Program
|
||||
Database (PPDB) file formatn
|
||||
|
||||
+1
-1
@@ -765,7 +765,7 @@ Refers to a namespace, e.g. \fIN:System\fR.
|
||||
.I "P:"
|
||||
Refers to a property. If the property is an indexer or takes parameters,
|
||||
the parameter types are appended to the property name and enclosed with
|
||||
paranthesis:
|
||||
parenthesis:
|
||||
\fIP:System.String.Length\fR,
|
||||
\fIP:System.String.Chars(System.Int32)\fR.
|
||||
.TP
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@
|
||||
.if t .sp .5v
|
||||
.if n .sp
|
||||
..
|
||||
.TH mkbundle "mkbundle 1.0"
|
||||
.TH Mono "mkbundle"
|
||||
.SH NAME
|
||||
mkbundle, mkbundle2 \- Creates a bundled executable.
|
||||
.SH SYNOPSIS
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
.\" Miguel de Icaza ([email protected])
|
||||
.\" Paolo Molaro ([email protected])
|
||||
.\"
|
||||
.TH Mono "Mono 1.0"
|
||||
.TH Mono "mono-config"
|
||||
.SH NAME
|
||||
mono-config \- Mono runtime file format configuration
|
||||
.SH DESCRIPTION
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@
|
||||
.if t .sp .5v
|
||||
.if n .sp
|
||||
..
|
||||
.TH Mono "Mono 1.0"
|
||||
.TH Mono "mono-service"
|
||||
.SH NAME
|
||||
mono-service, mono-service2 \- Mono ServiceProcess host
|
||||
.SH SYNOPSIS
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@
|
||||
.if t .sp .5v
|
||||
.if n .sp
|
||||
..
|
||||
.TH mono-xmltool "Mono 1.0"
|
||||
.TH Mono "mono-xmltool"
|
||||
.SH NAME
|
||||
mono-xmltool \- Mono XML validation and transformation tool.
|
||||
.SH SYNOPSIS
|
||||
|
||||
+156
-52
@@ -7,7 +7,7 @@
|
||||
.\" Author:
|
||||
.\" Miguel de Icaza ([email protected])
|
||||
.\"
|
||||
.TH Mono "Mono 4.7.0"
|
||||
.TH Mono "mono"
|
||||
.SH NAME
|
||||
mono \- Mono's ECMA-CLI native code generator (Just-in-Time and Ahead-of-Time)
|
||||
.SH SYNOPSIS
|
||||
@@ -19,14 +19,6 @@ mono \- Mono's ECMA-CLI native code generator (Just-in-Time and Ahead-of-Time)
|
||||
\fImono\fP is a runtime implementation of the ECMA Common Language
|
||||
Infrastructure. This can be used to run ECMA and .NET applications.
|
||||
.PP
|
||||
The runtime contains a native code generator that transforms the
|
||||
Common Intermediate Language into native code.
|
||||
.PP
|
||||
The code generator can operate in two modes: just in time compilation
|
||||
(JIT) or ahead of time compilation (AOT). Since code can be
|
||||
dynamically loaded, the runtime environment and the JIT are always
|
||||
present, even if code is compiled ahead of time.
|
||||
.PP
|
||||
The runtime loads the specified
|
||||
.I file
|
||||
and optionally passes
|
||||
@@ -36,12 +28,26 @@ to it. The
|
||||
.I file
|
||||
is an ECMA assembly. They typically have a .exe or .dll extension.
|
||||
.PP
|
||||
These executables can reference additionaly functionality in the form
|
||||
of assembly references. By default those assembly references are
|
||||
resolved as follows: the \fBmscorlib.dll\fR is resolved from the
|
||||
system profile that is configured by Mono, and other assemblies are
|
||||
loaded from the Global Assembly Cache (GAC).
|
||||
.PP
|
||||
The runtime contains a native code generator that transforms the
|
||||
Common Intermediate Language into native code.
|
||||
.PP
|
||||
The code generator can operate in two modes: just in time compilation
|
||||
(JIT) or ahead of time compilation (AOT). Since code can be
|
||||
dynamically loaded, the runtime environment and the JIT are always
|
||||
present, even if code is compiled ahead of time.
|
||||
.PP
|
||||
The runtime provides a number of configuration options for running
|
||||
applications, for developing and debugging, and for testing and
|
||||
debugging the runtime itself.
|
||||
.PP
|
||||
The \fImono\fP command uses the Boehm conservative garbage collector
|
||||
while the \fImono-sgen\fP command uses a moving and generational
|
||||
The \fImono\fP command uses the moving and generational SGen garbage collector
|
||||
while the \fImono-boehm\fP command uses the conservative Boehm
|
||||
garbage collector.
|
||||
.SH PORTABILITY
|
||||
On Unix-based systems, Mono provides a mechanism to emulate the
|
||||
@@ -87,7 +93,7 @@ information which is not available on the generated file. When
|
||||
precompiling code, you might want to compile with all optimizations
|
||||
(-O=all). Pre-compiled code is position independent code.
|
||||
.Sp
|
||||
Pre compilation is just a mechanism to reduce startup time, increase
|
||||
Precompilation is just a mechanism to reduce startup time, increase
|
||||
code sharing across multiple mono processes and avoid just-in-time
|
||||
compilation program startup costs. The original assembly must still
|
||||
be present, as the metadata is contained there.
|
||||
@@ -104,11 +110,6 @@ than one can be specified:
|
||||
.RS
|
||||
.ne 8
|
||||
.TP
|
||||
.I autoreg
|
||||
The AOT compiler will emit a (ELF only) library initializer to automatically
|
||||
register the aot compiled module with the runtime. This is only useful in static
|
||||
mode
|
||||
.TP
|
||||
.I asmonly
|
||||
Instructs the AOT compiler to output assembly code instead of an
|
||||
object file.
|
||||
@@ -118,11 +119,6 @@ object file.
|
||||
If specified, forces the generated AOT files to be bound to the
|
||||
runtime version of the compiling Mono. This will prevent the AOT
|
||||
files from being consumed by a different Mono runtime.
|
||||
.I full
|
||||
.Sp
|
||||
This is currently an experimental feature as it is not complete.
|
||||
This instructs Mono to precompile code that has historically not been
|
||||
precompiled with AOT.
|
||||
.TP
|
||||
.I data-outfile=FILE.dll.aotdata
|
||||
.Sp
|
||||
@@ -134,10 +130,69 @@ on demand by using the
|
||||
.I mono_install_load_aot_data_hook
|
||||
method.
|
||||
.TP
|
||||
.I direct-icalls
|
||||
.Sp
|
||||
When this option is specified, icalls (internal calls made from the
|
||||
standard library into the mono runtime code) are invoked directly
|
||||
instead of going through the operating system symbol lookup operation.
|
||||
This requires use of the
|
||||
.I static
|
||||
option.
|
||||
.TP
|
||||
.I direct-pinvoke
|
||||
.Sp
|
||||
When this option is specified, P/Invoke methods are invoked directly
|
||||
instead of going through the operating system symbol lookup operation.
|
||||
This requires use of the
|
||||
.I static
|
||||
option.
|
||||
.TP
|
||||
.I dwarfdebug
|
||||
Instructs the AOT compiler to emit DWARF debugging information. When
|
||||
used together with the nodebug option, only DWARF debugging
|
||||
information is emitted, but not the information that can be used at
|
||||
runtime.
|
||||
.TP
|
||||
.I full
|
||||
.Sp
|
||||
This creates binaries which can be used with the --full-aot option.
|
||||
.TP
|
||||
.I hybrid
|
||||
.Sp
|
||||
This creates binaries which can be used with the --hybrid-aot option.
|
||||
.TP
|
||||
.I llvm
|
||||
AOT will be performed with the LLVM backend instead of the Mono backend where possible. This will be slower to compile but most likely result in a performance improvement.
|
||||
.TP
|
||||
.I llvmonly
|
||||
AOT will be performed with the LLVM backend exclusively and the Mono backend will not be used. The only output in this mode will be the bitcode file normally specified with the
|
||||
.I llvm-outfile
|
||||
option. Use of
|
||||
.I llvmonly
|
||||
automatically enables the
|
||||
.I full
|
||||
and
|
||||
.I llvm
|
||||
options. This feature is experimental.
|
||||
.TP
|
||||
.I llvm-outfile=[filename]
|
||||
Gives the path for the temporary LLVM bitcode file created during AOT.
|
||||
.TP
|
||||
.I info
|
||||
Print the architecture the AOT in this copy of Mono targets and quit.
|
||||
.TP
|
||||
.I interp
|
||||
Generates all required wrappers, so that it is possible to run --interpreter without
|
||||
any code generation at runtime. This option only makes sense with \fBmscorlib.dll\fR.
|
||||
Embedders can set
|
||||
|
||||
.nf
|
||||
mono_jit_set_aot_mode (MONO_AOT_MODE_INTERP);
|
||||
.fi
|
||||
.ne
|
||||
.TP
|
||||
.I ld-flags
|
||||
Additional flags to pass to the C linker (if the current AOT mode calls for invoking it).
|
||||
.TP
|
||||
.I llvm-path=<PREFIX>
|
||||
Same for the llvm tools 'opt' and 'llc'.
|
||||
@@ -156,7 +211,12 @@ llc compiler.
|
||||
.I nimt-trampolines=[number]
|
||||
When compiling in full aot mode, the IMT trampolines must be precreated
|
||||
in the AOT image. You can add additional method trampolines with this argument.
|
||||
Defaults to 128.
|
||||
Defaults to 512.
|
||||
.TP
|
||||
.I ngsharedvt-trampolines=[number]
|
||||
When compiling in full aot mode, the value type generic sharing trampolines must be precreated
|
||||
in the AOT image. You can add additional method trampolines with this argument.
|
||||
Defaults to 512.
|
||||
.TP
|
||||
.I nodebug
|
||||
Instructs the AOT compiler to not output any debugging information.
|
||||
@@ -166,23 +226,22 @@ This prevents the AOT compiler from generating a direct calls to a
|
||||
method. The AOT compiler usually generates direct calls for certain
|
||||
methods that do not require going through the PLT (for example,
|
||||
methods that are known to not require a hook like a static
|
||||
constructor) or call into simple internal calls.
|
||||
.TP
|
||||
.I dwarfdebug
|
||||
Instructs the AOT compiler to emit DWARF debugging information. When
|
||||
used together with the nodebug option, only DWARF debugging
|
||||
information is emitted, but not the information that can be used at
|
||||
runtime.
|
||||
constructor) or call into simple internal calls.
|
||||
.TP
|
||||
.I nrgctx-trampolines=[number]
|
||||
When compiling in full aot mode, the generic sharing trampolines must be precreated
|
||||
in the AOT image. You can add additional method trampolines with this argument.
|
||||
Defaults to 1024.
|
||||
Defaults to 4096.
|
||||
.TP
|
||||
.I nrgctx-fetch-trampolines=[number]
|
||||
When compiling in full aot mode, the generic sharing fetch trampolines must be precreated
|
||||
in the AOT image. You can add additional method trampolines with this argument.
|
||||
Defaults to 128.
|
||||
.TP
|
||||
.I ntrampolines=[number]
|
||||
When compiling in full aot mode, the method trampolines must be precreated
|
||||
in the AOT image. You can add additional method trampolines with this argument.
|
||||
Defaults to 1024.
|
||||
Defaults to 4096.
|
||||
.TP
|
||||
.I outfile=[filename]
|
||||
Instructs the AOT compiler to save the output to the specified file.
|
||||
@@ -191,6 +250,16 @@ Instructs the AOT compiler to save the output to the specified file.
|
||||
If the AOT compiler cannot compile a method for any reason, enabling this flag
|
||||
will output the skipped methods to the console.
|
||||
.TP
|
||||
.I profile=[file]
|
||||
Specify a file to use for profile-guided optimization. See the "AOT PROFILING" section. To specify multiple files, include the
|
||||
.I profile
|
||||
option multiple times.
|
||||
.TP
|
||||
.I profile-only
|
||||
AOT *only* the methods described in the files specified with the
|
||||
.I profile
|
||||
option. See the "AOT PROFILING" section.
|
||||
.TP
|
||||
.I readonly-value=namespace.typename.fieldname=type/value
|
||||
Override the value of a static readonly field. Usually, during JIT
|
||||
compilation, the static constructor is ran eagerly, so the value of
|
||||
@@ -203,7 +272,6 @@ Note that signed/unsigned numbers do not matter here, just the storage size.
|
||||
This option can be specified multiple times and it doesn't prevent the static
|
||||
constructor for the type defining the field to execute with the usual rules
|
||||
at runtime (hence possibly computing a different value for the field).
|
||||
|
||||
.TP
|
||||
.I save-temps,keep-temps
|
||||
Instructs the AOT compiler to keep temporary files.
|
||||
@@ -232,6 +300,9 @@ mono_aot_register_module (mono_aot_module_hello_info);
|
||||
.I stats
|
||||
Print various stats collected during AOT compilation.
|
||||
.TP
|
||||
.I temp_path=[path]
|
||||
Explicitly specify path to store temporary files created during AOT compilation.
|
||||
.TP
|
||||
.I threads=[number]
|
||||
This is an experimental option for the AOT compiler to use multiple threads
|
||||
when compiling the methods.
|
||||
@@ -241,12 +312,35 @@ Prepends <PREFIX> to the name of tools ran by the AOT compiler, i.e. 'as'/'ld'.
|
||||
example, --tool=prefix=arm-linux-gnueabi- will make the AOT compiler run
|
||||
'arm-linux-gnueabi-as' instead of 'as'.
|
||||
.TP
|
||||
.I write-symbols
|
||||
Instructs the AOT compiler to emit debug symbol information.
|
||||
.I verbose
|
||||
Prints additional information about type loading failures.
|
||||
.TP
|
||||
.I write-symbols,no-write-symbols
|
||||
Instructs the AOT compiler to emit (or not emit) debug symbol information.
|
||||
.PP
|
||||
For more information about AOT, see: http://www.mono-project.com/docs/advanced/aot/
|
||||
.RE
|
||||
.TP
|
||||
\fB--aot-path=PATH\fR
|
||||
List of additional directories to search for AOT images.
|
||||
.TP
|
||||
\fB--apply-bindings=FILE\fR
|
||||
Apply the assembly bindings from the specified configuration file when running
|
||||
the AOT compiler. This is useful when compiling an auxiliary assembly that is
|
||||
referenced by a main assembly that provides a configuration file. For example,
|
||||
if app.exe uses lib.dll then in order to make the assembly bindings from
|
||||
app.exe.config available when compiling lib.dll ahead of time, use:
|
||||
.nf
|
||||
mono --apply-bindings=app.exe.config --aot lib.dll
|
||||
.fi
|
||||
.TP
|
||||
\fB--assembly-loader=MODE\fR
|
||||
If mode is \fBstrict\fR, Mono will check that the public key token, culture and version
|
||||
of a candidate assembly matches the requested strong name. If mode is \fBlegacy\fR, as
|
||||
long as the name matches, the candidate will be allowed. \fBstrict\fR is the behavior
|
||||
consistent with .NET Framework but may break some existing mono-based applications.
|
||||
The default is \fBlegacy\fR.
|
||||
.TP
|
||||
\fB--attach=[options]\fR
|
||||
Currently the only option supported by this command line argument is
|
||||
\fBdisable\fR which disables the attach functionality.
|
||||
@@ -257,15 +351,12 @@ The default files are /etc/mono/config and ~/.mono/config or the file
|
||||
specified in the MONO_CONFIG environment variable, if set. See the
|
||||
mono-config(5) man page for details on the format of this file.
|
||||
.TP
|
||||
\fB--aot-path=PATH\fR
|
||||
List of additional directories to search for AOT images.
|
||||
.TP
|
||||
\fB--debugger-agent=[options]\fR
|
||||
This instructs the Mono runtime to
|
||||
start a debugging agent inside the Mono runtime and connect it to a
|
||||
client user interface will control the Mono process.
|
||||
This option is typically used by IDEs, like the MonoDevelop IDE.
|
||||
.PP
|
||||
This option is typically used by IDEs, like the MonoDevelop or Visual Studio IDEs.
|
||||
.RS
|
||||
The configuration is specified using one of more of the following options:
|
||||
.RS
|
||||
.ne 8
|
||||
@@ -292,10 +383,10 @@ actively waits for the debugger front end to connect to the Mono process.
|
||||
Mono will print out to stdout the IP address and port where it is listening.
|
||||
.TP
|
||||
.I setpgid=[y/n]
|
||||
If set to yes, Mono will call \fBsetpgid(0, 0)\fB on startup, if that function
|
||||
If set to yes, Mono will call \fBsetpgid(0, 0)\fR on startup, if that function
|
||||
is available on the system. This is useful for ensuring that signals delivered
|
||||
to a process that is executing the debuggee are not propagated to the debuggee,
|
||||
e.g. when Ctrl-C sends \fBSIGINT\fB to the \fBsdb\fB tool.
|
||||
e.g. when Ctrl-C sends \fBSIGINT\fR to the \fBsdb\fR tool.
|
||||
.TP
|
||||
.I suspend=[y/n]
|
||||
Defaults to yes, with the default option Mono will suspend the vm on startup
|
||||
@@ -318,10 +409,12 @@ the heap as much as possible at the expense of slowing down garbage
|
||||
collection a bit.
|
||||
.TP
|
||||
\fB--full-aot\fR
|
||||
This is an experimental flag that instructs the Mono runtime to not
|
||||
This flag instructs the Mono runtime to not
|
||||
generate any code at runtime and depend exclusively on the code
|
||||
generated from using mono --aot=full previously. This is useful for
|
||||
platforms that do not permit dynamic code generation.
|
||||
generated from using mono --aot=full previously. This is useful for
|
||||
platforms that do not permit dynamic code generation, or if you need
|
||||
to run assemblies that have been stripped of IL (for example using
|
||||
mono-cil-strip).
|
||||
.Sp
|
||||
Notice that this feature will abort execution at runtime if a codepath
|
||||
in your program, or Mono's class libraries attempts to generate code
|
||||
@@ -351,6 +444,14 @@ will switch to '/bin/mono64' iff '/bin/mono' is a 32-bit build).
|
||||
\fB--help\fR, \fB-h\fR
|
||||
Displays usage instructions.
|
||||
.TP
|
||||
\fB--hybrid-aot\fR
|
||||
This flag allows the Mono runtime to run assemblies
|
||||
that have been stripped of IL, for example using mono-cil-strip. For this to
|
||||
work, the assembly must have been AOT compiled with --aot=hybrid.
|
||||
|
||||
This flag is similar to --full-aot, but it does not disable the JIT. This means
|
||||
you can use dynamic features such as System.Reflection.Emit.
|
||||
.TP
|
||||
\fB--llvm\fR
|
||||
If the Mono runtime has been compiled with LLVM support (not available
|
||||
in all configurations), Mono will use the LLVM optimization and code
|
||||
@@ -528,7 +629,7 @@ platforms, and only when using gdb 7.0 or later.
|
||||
Turns on profiling. For more information about profiling applications
|
||||
and code coverage see the sections "PROFILING" and "CODE COVERAGE"
|
||||
below.
|
||||
.TP
|
||||
.Sp
|
||||
This option can be used multiple times, each time will load an
|
||||
additional profiler. This allows developers to use modules that
|
||||
extend the JIT through the Mono profiling interface.
|
||||
@@ -609,7 +710,7 @@ Finally, namespaces can be specified using the N: prefix:
|
||||
Don't align stack frames on the x86 architecture. By default, Mono
|
||||
aligns stack frames to 16 bytes on x86, so that local floating point
|
||||
and SIMD variables can be properly aligned. This option turns off the
|
||||
alignment, which usually saves one intruction per call, but might
|
||||
alignment, which usually saves one instruction per call, but might
|
||||
result in significantly lower floating point and SIMD performance.
|
||||
.TP
|
||||
\fB--jitmap\fR
|
||||
@@ -1692,7 +1793,7 @@ Captures the interrupt signal (Control-C) and displays a stack trace
|
||||
when pressed. Useful to find out where the program is executing at a
|
||||
given point. This only displays the stack trace of a single thread.
|
||||
.TP
|
||||
\fBinit-stacks\FR
|
||||
\fBinit-stacks\fR
|
||||
Instructs the runtime to initialize the stack with
|
||||
some known values (0x2a on x86-64) at the start of a method to assist
|
||||
in debuggin the JIT engine.
|
||||
@@ -1732,11 +1833,14 @@ values.
|
||||
This option allows using single-steps and breakpoints in hardware
|
||||
where we cannot do it with signals.
|
||||
.TP
|
||||
\fBsuspend-on-sigsegv\fR
|
||||
This option will suspend the program when a native SIGSEGV is received.
|
||||
\fBsuspend-on-native-crash\fR
|
||||
This option will suspend the program when a native crash occurs (SIGSEGV, SIGILL, ...).
|
||||
This is useful for debugging crashes which do not happen under gdb,
|
||||
since a live process contains more information than a core file.
|
||||
.TP
|
||||
\fBsuspend-on-sigsegv\fR
|
||||
Same as \fBsuspend-on-native-crash\fR.
|
||||
.TP
|
||||
\fBsuspend-on-exception\fR
|
||||
This option will suspend the program when an exception occurs.
|
||||
.TP
|
||||
@@ -1939,8 +2043,8 @@ http://www.mono-project.com/community/help/mailing-lists/
|
||||
http://www.mono-project.com
|
||||
.SH SEE ALSO
|
||||
.PP
|
||||
certmgr(1), csharp(1), mcs(1), mdb(1), monocov(1), monodis(1),
|
||||
mono-config(5), mozroots(1), mprof-report(1), pdb2mdb(1), xsp(1), mod_mono(8).
|
||||
certmgr(1), cert-sync(1), csharp(1), gacutil(1), mcs(1), mdb(1), monocov(1), monodis(1),
|
||||
mono-config(5), mprof-report(1), pdb2mdb(1), xsp(1), mod_mono(8).
|
||||
.PP
|
||||
For more information on AOT:
|
||||
http://www.mono-project.com/docs/advanced/aot/
|
||||
|
||||
+2
-2
@@ -237,7 +237,7 @@ to the type name, while methods append the method name (with an optional count
|
||||
of the number of generic parameters).
|
||||
.Sp
|
||||
If the constructor or method take arguments, these are listed within
|
||||
paranthesis after the constructor/method name:
|
||||
parenthesis after the constructor/method name:
|
||||
.Sp
|
||||
.I M:System.Object..ctor
|
||||
,
|
||||
@@ -259,7 +259,7 @@ Refers to a namespace, e.g.
|
||||
.I "P:"
|
||||
Refers to a property. If the property is an indexer or takes parameters,
|
||||
the parameter types are appended to the property name and enclosed with
|
||||
paranthesis:
|
||||
parenthesis:
|
||||
.I P:System.String.Length
|
||||
,
|
||||
.I P:System.String.Chars(System.Int32)
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@
|
||||
.if t .sp .5v
|
||||
.if n .sp
|
||||
..
|
||||
.TH resgen "resgen 1.0"
|
||||
.TH Mono "resgen"
|
||||
.SH NAME
|
||||
resgen, resgen2 \- Mono/CLI Resource Generator
|
||||
.SH SYNOPSIS
|
||||
|
||||
+1
-1
@@ -407,7 +407,7 @@ mysql MySQL AB MySql.Data.MySqlClient MySql.Data
|
||||
NOTES:
|
||||
|
||||
Ngsql is the .Net Data Provider for PosgreSQL. The
|
||||
latest verison can be downloaded from
|
||||
latest version can be downloaded from
|
||||
http://npgsql.projects.postgresql.org/
|
||||
|
||||
MySql.Data is the MySQL Connector/Net for connecting to MySql databases.
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
/LICENSE.MSPL -crlf
|
||||
/ScalableMonoIcon.svg -crlf
|
||||
/winexe.in crlf=input
|
||||
+3
-1
@@ -11,6 +11,7 @@ TestResult-*.log
|
||||
TestResult-*.xml
|
||||
TestResult*.xml
|
||||
.dep_dirs-*
|
||||
apidiff/*
|
||||
errors/*.log
|
||||
errors/dummy.xml
|
||||
class/Mono.Data.Sqlite/test.db
|
||||
@@ -20,7 +21,7 @@ class/RabbitMQ.Client/docs/specs/autogenerated-api-qpid-0-8.cs
|
||||
class/System.Web.Mvc/System.Web.Mvc/Resources/MvcResources.resources
|
||||
class/System.Web.Mvc2/System.Web.Mvc/Resources/MvcResources.resources
|
||||
XmlWriter
|
||||
obj-net_4_x
|
||||
obj-net_4_x*
|
||||
obj-bare
|
||||
obj-plainweb
|
||||
obj-Facades
|
||||
@@ -29,3 +30,4 @@ obj-plaindesign
|
||||
obj-plainservice
|
||||
obj-secxml
|
||||
obj-mcs-net_4_x
|
||||
obj-legacy
|
||||
+1
-3
@@ -1,7 +1,5 @@
|
||||
This list of authors is outdated. For a full list of contributors
|
||||
see:
|
||||
|
||||
http://www.go-mono.com/archive/mono-1.0.html
|
||||
check out the git history.
|
||||
|
||||
C# Compiler:
|
||||
Miguel de Icaza ([email protected])
|
||||
|
||||
+1
-340
@@ -1,340 +1 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
||||
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
License is intended to guarantee your freedom to share and change free
|
||||
software--to make sure the software is free for all its users. This
|
||||
General Public License applies to most of the Free Software
|
||||
Foundation's software and to any other program whose authors commit to
|
||||
using it. (Some other Free Software Foundation software is covered by
|
||||
the GNU Library General Public License instead.) You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
this service if you wish), that you receive source code or can get it
|
||||
if you want it, that you can change the software or use pieces of it
|
||||
in new free programs; and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
anyone to deny you these rights or to ask you to surrender the rights.
|
||||
These restrictions translate to certain responsibilities for you if you
|
||||
distribute copies of the software, or if you modify it.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must give the recipients all the rights that
|
||||
you have. You must make sure that they, too, receive or can get the
|
||||
source code. And you must show them these terms so they know their
|
||||
rights.
|
||||
|
||||
We protect your rights with two steps: (1) copyright the software, and
|
||||
(2) offer you this license which gives you legal permission to copy,
|
||||
distribute and/or modify the software.
|
||||
|
||||
Also, for each author's protection and ours, we want to make certain
|
||||
that everyone understands that there is no warranty for this free
|
||||
software. If the software is modified by someone else and passed on, we
|
||||
want its recipients to know that what they have is not the original, so
|
||||
that any problems introduced by others will not reflect on the original
|
||||
authors' reputations.
|
||||
|
||||
Finally, any free program is threatened constantly by software
|
||||
patents. We wish to avoid the danger that redistributors of a free
|
||||
program will individually obtain patent licenses, in effect making the
|
||||
program proprietary. To prevent this, we have made it clear that any
|
||||
patent must be licensed for everyone's free use or not licensed at all.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License applies to any program or other work which contains
|
||||
a notice placed by the copyright holder saying it may be distributed
|
||||
under the terms of this General Public License. The "Program", below,
|
||||
refers to any such program or work, and a "work based on the Program"
|
||||
means either the Program or any derivative work under copyright law:
|
||||
that is to say, a work containing the Program or a portion of it,
|
||||
either verbatim or with modifications and/or translated into another
|
||||
language. (Hereinafter, translation is included without limitation in
|
||||
the term "modification".) Each licensee is addressed as "you".
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running the Program is not restricted, and the output from the Program
|
||||
is covered only if its contents constitute a work based on the
|
||||
Program (independent of having been made by running the Program).
|
||||
Whether that is true depends on what the Program does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Program's
|
||||
source code as you receive it, in any medium, provided that you
|
||||
conspicuously and appropriately publish on each copy an appropriate
|
||||
copyright notice and disclaimer of warranty; keep intact all the
|
||||
notices that refer to this License and to the absence of any warranty;
|
||||
and give any other recipients of the Program a copy of this License
|
||||
along with the Program.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and
|
||||
you may at your option offer warranty protection in exchange for a fee.
|
||||
|
||||
2. You may modify your copy or copies of the Program or any portion
|
||||
of it, thus forming a work based on the Program, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) You must cause the modified files to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
b) You must cause any work that you distribute or publish, that in
|
||||
whole or in part contains or is derived from the Program or any
|
||||
part thereof, to be licensed as a whole at no charge to all third
|
||||
parties under the terms of this License.
|
||||
|
||||
c) If the modified program normally reads commands interactively
|
||||
when run, you must cause it, when started running for such
|
||||
interactive use in the most ordinary way, to print or display an
|
||||
announcement including an appropriate copyright notice and a
|
||||
notice that there is no warranty (or else, saying that you provide
|
||||
a warranty) and that users may redistribute the program under
|
||||
these conditions, and telling the user how to view a copy of this
|
||||
License. (Exception: if the Program itself is interactive but
|
||||
does not normally print such an announcement, your work based on
|
||||
the Program is not required to print an announcement.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Program,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Program, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Program.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Program
|
||||
with the Program (or with a work based on the Program) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may copy and distribute the Program (or a work based on it,
|
||||
under Section 2) in object code or executable form under the terms of
|
||||
Sections 1 and 2 above provided that you also do one of the following:
|
||||
|
||||
a) Accompany it with the complete corresponding machine-readable
|
||||
source code, which must be distributed under the terms of Sections
|
||||
1 and 2 above on a medium customarily used for software interchange; or,
|
||||
|
||||
b) Accompany it with a written offer, valid for at least three
|
||||
years, to give any third party, for a charge no more than your
|
||||
cost of physically performing source distribution, a complete
|
||||
machine-readable copy of the corresponding source code, to be
|
||||
distributed under the terms of Sections 1 and 2 above on a medium
|
||||
customarily used for software interchange; or,
|
||||
|
||||
c) Accompany it with the information you received as to the offer
|
||||
to distribute corresponding source code. (This alternative is
|
||||
allowed only for noncommercial distribution and only if you
|
||||
received the program in object code or executable form with such
|
||||
an offer, in accord with Subsection b above.)
|
||||
|
||||
The source code for a work means the preferred form of the work for
|
||||
making modifications to it. For an executable work, complete source
|
||||
code means all the source code for all modules it contains, plus any
|
||||
associated interface definition files, plus the scripts used to
|
||||
control compilation and installation of the executable. However, as a
|
||||
special exception, the source code distributed need not include
|
||||
anything that is normally distributed (in either source or binary
|
||||
form) with the major components (compiler, kernel, and so on) of the
|
||||
operating system on which the executable runs, unless that component
|
||||
itself accompanies the executable.
|
||||
|
||||
If distribution of executable or object code is made by offering
|
||||
access to copy from a designated place, then offering equivalent
|
||||
access to copy the source code from the same place counts as
|
||||
distribution of the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
4. You may not copy, modify, sublicense, or distribute the Program
|
||||
except as expressly provided under this License. Any attempt
|
||||
otherwise to copy, modify, sublicense or distribute the Program is
|
||||
void, and will automatically terminate your rights under this License.
|
||||
However, parties who have received copies, or rights, from you under
|
||||
this License will not have their licenses terminated so long as such
|
||||
parties remain in full compliance.
|
||||
|
||||
5. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Program or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Program (or any work based on the
|
||||
Program), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Program or works based on it.
|
||||
|
||||
6. Each time you redistribute the Program (or any work based on the
|
||||
Program), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute or modify the Program subject to
|
||||
these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties to
|
||||
this License.
|
||||
|
||||
7. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Program at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Program by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Program.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under
|
||||
any particular circumstance, the balance of the section is intended to
|
||||
apply and the section as a whole is intended to apply in other
|
||||
circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system, which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
8. If the distribution and/or use of the Program is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Program under this License
|
||||
may add an explicit geographical distribution limitation excluding
|
||||
those countries, so that distribution is permitted only in or among
|
||||
countries not thus excluded. In such case, this License incorporates
|
||||
the limitation as if written in the body of this License.
|
||||
|
||||
9. The Free Software Foundation may publish revised and/or new versions
|
||||
of the General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Program
|
||||
specifies a version number of this License which applies to it and "any
|
||||
later version", you have the option of following the terms and conditions
|
||||
either of that version or of any later version published by the Free
|
||||
Software Foundation. If the Program does not specify a version number of
|
||||
this License, you may choose any version ever published by the Free Software
|
||||
Foundation.
|
||||
|
||||
10. If you wish to incorporate parts of the Program into other free
|
||||
programs whose distribution conditions are different, write to the author
|
||||
to ask for permission. For software which is copyrighted by the Free
|
||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||
make exceptions for this. Our decision will be guided by the two goals
|
||||
of preserving the free status of all derivatives of our free software and
|
||||
of promoting the sharing and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||
REPAIR OR CORRECTION.
|
||||
|
||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
convey the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program is interactive, make it output a short notice like this
|
||||
when it starts in an interactive mode:
|
||||
|
||||
Gnomovision version 69, Copyright (C) year name of author
|
||||
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, the commands you use may
|
||||
be called something other than `show w' and `show c'; they could even be
|
||||
mouse-clicks or menu items--whatever suits your program.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||
|
||||
<signature of Ty Coon>, 1 April 1989
|
||||
Ty Coon, President of Vice
|
||||
|
||||
This General Public License does not permit incorporating your program into
|
||||
proprietary programs. If your program is a subroutine library, you may
|
||||
consider it more useful to permit linking proprietary applications with the
|
||||
library. If this is what you want to do, use the GNU Library General
|
||||
Public License instead of this License.
|
||||
See LICENSE file in the project root for full license information.
|
||||
+1
-477
@@ -1,477 +1 @@
|
||||
* Coding Style for the Mono C# source code.
|
||||
|
||||
* Class Libraries and Assembly Layout
|
||||
|
||||
The class libraries are grouped together in the assemblies
|
||||
they belong.
|
||||
|
||||
Each directory here represents an assembly, and inside each
|
||||
directory we divide the code based on the namespace they
|
||||
implement.
|
||||
|
||||
In addition, each assembly directory contains a Test directory
|
||||
that holds the NUnit tests for that assembly.
|
||||
|
||||
We use a new build system which is described by various README
|
||||
files in mcs/build
|
||||
|
||||
The build process typically builds an assembly, but in some
|
||||
cases it also builds special versions of the assemblies
|
||||
intended to be used for testing.
|
||||
|
||||
* Missing implementation bits
|
||||
|
||||
If you implement a class and you are missing implementation bits,
|
||||
please use the attribute [MonoTODO]. This attribute can be used
|
||||
to programatically generate our status web pages:
|
||||
|
||||
[MonoTODO("My Function is not available on Mono")]
|
||||
int MyFunction ()
|
||||
{
|
||||
throw new NotImplementedException ();
|
||||
}
|
||||
|
||||
Ideally, write a human description of the reason why there is
|
||||
a MonoTODO, this will be useful in the future for our
|
||||
automated tools that can assist in developers porting their code.
|
||||
|
||||
* Tagging buggy code
|
||||
|
||||
If there is a bug in your implementation tag the problem by using
|
||||
the word "FIXME" in the code, together with a description of the
|
||||
problem.
|
||||
|
||||
Do not use XXX or obscure descriptions, because otherwise people
|
||||
will not be able to understand what you mean.
|
||||
|
||||
* Tagging Problematic specs.
|
||||
|
||||
If the documentation and the Microsoft implementation do
|
||||
differ (you wrote a test case to prove this), I suggest that you edit
|
||||
the file `mcs/class/doc/API-notes' so we can keep track of these problems
|
||||
and submit our comments to ECMA or Microsoft and seek clarification.
|
||||
|
||||
Sometimes the documentation might be buggy, and sometimes the implementation
|
||||
might be buggy. Lets try to identify and pinpoint which one
|
||||
is the correct one.
|
||||
|
||||
Sometimes the specification will be lame (consider Version.ToString (fieldCount)
|
||||
where there is no way of knowing how many fields are available, making the API
|
||||
not only stupid, but leading to unreliable code).
|
||||
|
||||
In those cases, use the keyword "LAMESPEC".
|
||||
|
||||
|
||||
* Coding considerations and style.
|
||||
|
||||
In order to keep the code consistent, please use the following
|
||||
conventions. From here on `good' and `bad' are used to attribute
|
||||
things that would make the coding style match, or not match. It is not
|
||||
a judgement call on your coding abilities, but more of a style and
|
||||
look call. Please try to follow these guidelines to ensure prettiness.
|
||||
|
||||
Use 8 space tabs for writing your code (hopefully we can keep
|
||||
this consistent). If you are modifying someone else's code, try
|
||||
to keep the coding style similar.
|
||||
|
||||
Since we are using 8-space tabs, you might want to consider the Linus
|
||||
Torvals trick to reduce code nesting. Many times in a loop, you will
|
||||
find yourself doing a test, and if the test is true, you will nest.
|
||||
Many times this can be changed. Example:
|
||||
|
||||
|
||||
for (i = 0; i < 10; i++) {
|
||||
if (something (i)) {
|
||||
do_more ();
|
||||
}
|
||||
}
|
||||
|
||||
This take precious space, instead write it like this:
|
||||
|
||||
for (i = 0; i < 10; i++) {
|
||||
if (!something (i))
|
||||
continue;
|
||||
do_more ();
|
||||
}
|
||||
|
||||
* Performance and readability
|
||||
|
||||
It is more important to be correct than to be fast.
|
||||
|
||||
It is more important to be maintainable than to be fast.
|
||||
|
||||
Fast code that is difficult to maintain is likely going to
|
||||
be looked down upon.
|
||||
|
||||
* Style Guidelines
|
||||
|
||||
* Use a space before an opening parenthesis when calling
|
||||
functions, or indexing, like this:
|
||||
|
||||
method (a);
|
||||
b [10];
|
||||
|
||||
* Do not put a space after the opening parenthesis and the
|
||||
closing one, ie:
|
||||
|
||||
good: method (a); array [10];
|
||||
|
||||
bad: method ( a ); array[ 10 ];
|
||||
|
||||
* Inside a code block, put the opening brace on the same line
|
||||
as the statement:
|
||||
|
||||
good:
|
||||
if (a) {
|
||||
code ();
|
||||
code ();
|
||||
}
|
||||
|
||||
bad:
|
||||
if (a)
|
||||
{
|
||||
code ();
|
||||
code ();
|
||||
}
|
||||
|
||||
* Avoid using unecessary open/close braces, vertical space
|
||||
is usually limited:
|
||||
|
||||
good:
|
||||
if (a)
|
||||
code ();
|
||||
|
||||
bad:
|
||||
if (a) {
|
||||
code ();
|
||||
}
|
||||
|
||||
* When defining a method, use the C style for brace placement,
|
||||
that means, use a new line for the brace, like this:
|
||||
|
||||
good:
|
||||
void Method ()
|
||||
{
|
||||
}
|
||||
|
||||
bad:
|
||||
void Method () {
|
||||
}
|
||||
|
||||
* Properties and indexers are an exception, keep the
|
||||
brace on the same line as the property declaration.
|
||||
Rationale: this makes it visually
|
||||
simple to distinguish them.
|
||||
|
||||
good:
|
||||
int Property {
|
||||
get {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
bad:
|
||||
int Property
|
||||
{
|
||||
get {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
Notice how the accessor "get" also keeps its brace on the same
|
||||
line.
|
||||
|
||||
For very small properties, you can compress things:
|
||||
|
||||
ok:
|
||||
int Property {
|
||||
get { return value; }
|
||||
set { x = value; }
|
||||
}
|
||||
|
||||
* Use white space in expressions liberally, except in the presence
|
||||
of parenthesis:
|
||||
|
||||
good:
|
||||
|
||||
if (a + 5 > method (blah () + 4))
|
||||
|
||||
bad:
|
||||
if (a+5>method(blah()+4))
|
||||
|
||||
* For any new files, please use a descriptive introduction, like
|
||||
this:
|
||||
|
||||
//
|
||||
// System.Comment.cs: Handles comments in System files.
|
||||
//
|
||||
// Author:
|
||||
// Juan Perez ([email protected])
|
||||
//
|
||||
// (C) 2002 Address, Inc (http://www.address.com)
|
||||
//
|
||||
|
||||
* If you are modyfing someone else's code, and your contribution
|
||||
is significant, please add yourself to the Authors list.
|
||||
|
||||
* Switch statements have the case at the same indentation as the
|
||||
switch:
|
||||
|
||||
switch (x) {
|
||||
case 'a':
|
||||
...
|
||||
case 'b':
|
||||
...
|
||||
}
|
||||
|
||||
* Argument names should use the camel casing for
|
||||
identifiers, like this:
|
||||
|
||||
good:
|
||||
void Method (string myArgument)
|
||||
|
||||
bad:
|
||||
void Method (string lpstrArgument)
|
||||
void Method (string my_string)
|
||||
|
||||
* Empty methods: They should have the body of code using two
|
||||
lines, in consistency with the rest:
|
||||
|
||||
good:
|
||||
void EmptyMethod ()
|
||||
{
|
||||
}
|
||||
|
||||
bad:
|
||||
void EmptyMethod () {}
|
||||
|
||||
void EmptyMethod ()
|
||||
{}
|
||||
|
||||
* Line length: The line length for C# source code is 134 columns.
|
||||
|
||||
|
||||
If your function declaration arguments go beyond
|
||||
this point, please align your arguments to match the
|
||||
opening brace, like this:
|
||||
|
||||
void Function (int arg, string argb,
|
||||
int argc)
|
||||
{
|
||||
}
|
||||
|
||||
When invoking functions, the rule is different, the
|
||||
arguments are not aligned with the previous
|
||||
argument, instead they begin at the tabbed position,
|
||||
like this:
|
||||
|
||||
void M ()
|
||||
{
|
||||
MethodCall ("Very long string that will force",
|
||||
"Next argument on the 8-tab pos",
|
||||
"Just like this one")
|
||||
|
||||
}
|
||||
|
||||
* Variable declaration indentation.
|
||||
|
||||
Sometimes it is convenient to indent the variables to make the code
|
||||
look pretier, but do not add gratuitous space, try to use the minimally
|
||||
necessary space, for example:
|
||||
|
||||
Good:
|
||||
|
||||
void Method ()
|
||||
{
|
||||
string b;
|
||||
int a;
|
||||
byte c;
|
||||
}
|
||||
|
||||
Bad:
|
||||
|
||||
void Method ()
|
||||
{
|
||||
string b;
|
||||
int a;
|
||||
byte c;
|
||||
}
|
||||
|
||||
* Braces and the `else' clause
|
||||
|
||||
If there are braces closing or opening next to the else clause,
|
||||
they go on the same line as the word `else', for example:
|
||||
|
||||
Good:
|
||||
|
||||
if (..) {
|
||||
|
||||
} else {
|
||||
|
||||
}
|
||||
|
||||
Bad:
|
||||
|
||||
if (..) {
|
||||
|
||||
}
|
||||
else {
|
||||
|
||||
}
|
||||
|
||||
Bad:
|
||||
|
||||
if (..) {
|
||||
|
||||
} else
|
||||
{
|
||||
}
|
||||
|
||||
Bad:
|
||||
|
||||
if (..) {
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
* RCS and CVS tags
|
||||
|
||||
Some users like to use the special RCS/CVS tags in their
|
||||
source code: $id$, $log$ and so on.
|
||||
|
||||
The use of these is not permitted on the Mono source code
|
||||
repository. This metadata belongs on a ChangeLog or in the
|
||||
SVN metadata.
|
||||
|
||||
* File formats
|
||||
|
||||
Historically our repository has used a mix of line-endings,
|
||||
this is a mistake that we are trying hard to fix.
|
||||
|
||||
For existing files, please make sure that you do not convert
|
||||
the file, as that causes us to loose precious history (the
|
||||
full file is commited).
|
||||
|
||||
For new files that you create, please make sure that you use
|
||||
Subversion's support for mapping the line endings
|
||||
automatically, after adding your file:
|
||||
|
||||
$ svn add file.cs
|
||||
|
||||
Execute this command:
|
||||
|
||||
$ svn propset svn:eol-style native file.cs
|
||||
|
||||
Which will make the file automatically receive the proper
|
||||
treatment from that point on.
|
||||
|
||||
Please verify before commiting that your changes wont loose
|
||||
history, you can do this by running:
|
||||
|
||||
$ svn diff
|
||||
|
||||
And examining the output.
|
||||
|
||||
* Warnings
|
||||
|
||||
Avoid commiting code with warnings to the repository, the use
|
||||
of #pragmas to disable warnings is strongly discouraged, but
|
||||
can be used on unique cases. Please justify the use of the
|
||||
warning ignore clause on a comment.
|
||||
|
||||
Do not commit changes to the Makefiles that removes warnings,
|
||||
if anything warnings should be eliminated one at a time, and
|
||||
if not possible, they must be flagged.
|
||||
|
||||
|
||||
* Examples:
|
||||
|
||||
class X : Y {
|
||||
|
||||
bool Method (int argument_1, int argument_2)
|
||||
{
|
||||
if (argument_1 == argument_2)
|
||||
throw new Exception (Locale.GetText ("They are equal!");
|
||||
|
||||
if (argument_1 < argument_2) {
|
||||
if (argument_1 * 3 > 4)
|
||||
return true;
|
||||
else
|
||||
return false;
|
||||
}
|
||||
|
||||
//
|
||||
// This sample helps keep your sanity while using 8-spaces for tabs
|
||||
//
|
||||
VeryLongIdentifierWhichTakesManyArguments (
|
||||
Argument1, Argument2, Argument3,
|
||||
NestedCallHere (
|
||||
MoreNested));
|
||||
}
|
||||
|
||||
bool MyProperty {
|
||||
get {
|
||||
return x;
|
||||
}
|
||||
|
||||
set {
|
||||
x = value;
|
||||
}
|
||||
}
|
||||
|
||||
void AnotherMethod ()
|
||||
{
|
||||
if ((a + 5) != 4) {
|
||||
}
|
||||
|
||||
while (blah) {
|
||||
if (a)
|
||||
continue;
|
||||
b++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
* Conditional compilation
|
||||
|
||||
Ideally we would not need conditional compilation, and the use
|
||||
of #ifdef is strongly discouraged. But due to our support for
|
||||
old C# 1.0 compilers we have to use it in a few places.
|
||||
|
||||
Try to avoid negative tests that have an else clause, for
|
||||
example:
|
||||
|
||||
#if !NET_2_0
|
||||
CODE_FOR_1_0
|
||||
#else
|
||||
CODE_FOR_2_0
|
||||
#endif
|
||||
|
||||
Instead use:
|
||||
|
||||
#if NET_2_0
|
||||
CODE_FOR_2_0
|
||||
#else
|
||||
CODE_FOR_1_0
|
||||
#endif
|
||||
|
||||
When a major feature differs across compilation targets, try
|
||||
to factor out the code into a separate class, a helper class
|
||||
or a separate file, and include that in your profile while
|
||||
surrounding that helper file/class with the ifdefs to reduce
|
||||
the amount of ifdefs in the code.
|
||||
|
||||
For instance, this is used for some parts of Grasshopper where
|
||||
the code is ifdefed out, when large parts of a file would have
|
||||
been ifdefed out, we moved the code into a MyOtherFile.jvm.cs
|
||||
|
||||
For 2.0 classes, this is even simpler as code can be trivially
|
||||
factored out into
|
||||
|
||||
MyHelperClass.cli.cs
|
||||
MyHelperClass.jvm.cs
|
||||
|
||||
By using partial classes.
|
||||
Please see http://www.mono-project.com/community/contributing/coding-guidelines/ for latest guidelines.
|
||||
+4
-108
@@ -23,7 +23,7 @@ compilers and tools.
|
||||
* *
|
||||
*********************************************************************
|
||||
|
||||
If you only want to build a snapshot or a fresh CVS checkout of the
|
||||
If you only want to build a snapshot or a fresh checkout of the
|
||||
sources, you should go into the `mono' sibling directory and issue the
|
||||
make command, like this:
|
||||
|
||||
@@ -35,72 +35,6 @@ make command, like this:
|
||||
The compilation is bundled with the build due to dependencies on the
|
||||
class libraries on the runtime.
|
||||
|
||||
Build Features for Developers of Mono.
|
||||
======================================
|
||||
|
||||
These instructions apply to both Linux and Windows. To build this
|
||||
package, you must already have a C# compiler installed. This means
|
||||
that to build on Linux, you need to get a distribution of the MCS
|
||||
binaries; these are called monocharges. They can be found at
|
||||
www.go-mono.com/daily. On Windows, you can just use the
|
||||
Microsoft compiler. You also need GNU make to build the software (on
|
||||
Windows, you will need for example the Cygwin environment setup).
|
||||
|
||||
You can customize your MCS configuration by using:
|
||||
|
||||
./configure [--prefix=PREFIX] [--profile=PROFILE]
|
||||
|
||||
If you do not run the above, the defaults are /usr/local for the
|
||||
prefix, and `default' for the profile.
|
||||
|
||||
To build the compiler and class libraries, run:
|
||||
|
||||
make
|
||||
|
||||
The libraries will be placed in the directory class/lib/ and the mcs
|
||||
compiler executable in mcs/.
|
||||
|
||||
To install them, run the following:
|
||||
|
||||
make install
|
||||
|
||||
If you get "corlib out of sync" errors, try
|
||||
|
||||
make PROFILE="atomic"
|
||||
|
||||
A better alternative would be to fire off a 'make' from a sibling or
|
||||
parent 'mono/' tree.
|
||||
|
||||
Troubleshooting
|
||||
===============
|
||||
|
||||
We try to maintain the CVS tree such that it is bootstrapable from the
|
||||
latest released version of mono and mcs. Occasionally, something in the
|
||||
compiler or runtime changes enough that an existing installation cannot
|
||||
complete a bootstrap from cvs. In this case, go to
|
||||
http://go-mono.com/daily and download a monocharge or monolite tarball.
|
||||
Unpack and copy the .dlls to $prefix/lib and .exes to $prefix/bin/.
|
||||
Then you should be able to complete the build normally (i.e. using make
|
||||
bootstrap).
|
||||
|
||||
wget http://go-mono.com/daily/monolite-20040505.tar.gz
|
||||
tar -zxvf monolite-20040505.tar.gz
|
||||
cd monolite-20040505
|
||||
env prefix=/usr/local sh recharge.sh
|
||||
|
||||
Monocharges
|
||||
===========
|
||||
|
||||
If you are tracking Mono's development, you may sometimes need to share
|
||||
the compiled libraries with others, you can do:
|
||||
|
||||
make monocharge
|
||||
|
||||
Or a light version, which contains only the essential libraries and
|
||||
results in a much smaller file:
|
||||
|
||||
make monocharge-lite
|
||||
|
||||
Configuration
|
||||
=============
|
||||
|
||||
@@ -110,48 +44,15 @@ place your configuration options in build/config.make
|
||||
A list of variables that control the build are listed in the file
|
||||
build/config-default.make.
|
||||
|
||||
Build profiles? What?
|
||||
======================
|
||||
|
||||
Don't worry about them too much. If you're wondering which to use:
|
||||
use the default if you can (that's why it's the default!) and use
|
||||
the atomic if you have to.
|
||||
|
||||
The default profile uses the C# compiler and class libaries as they
|
||||
are built. This lets you build MCS without needing to have already
|
||||
installed it, but can fail if the libraries change significantly.
|
||||
(This is the source of the dreaded "corlib out of sync" warning, most
|
||||
of the time.)
|
||||
|
||||
The atomic profile tries to use the system compiler and preexisting
|
||||
MCS libraries. New libaries are built against this constant reference
|
||||
point, so if a newly built library has a binary incompatibility, the
|
||||
rest of your build can proceed.
|
||||
|
||||
If you want to always use the atomic profile, run this command:
|
||||
|
||||
./configure --profile=atomic
|
||||
|
||||
More About the Build System
|
||||
===========================
|
||||
|
||||
More information is found in build/README.*. Here's a quick rundown
|
||||
of the features:
|
||||
|
||||
* Unified build system for Windows and Linux. Windows is still
|
||||
fairly untested, but "should work." Unfortunately I don't
|
||||
have a Windows machine to test on, but Gonzalo can get
|
||||
corlib to build I think and that's about as complicated as
|
||||
it gets.
|
||||
|
||||
* Profile support. 'make PROFILE=profilename' or 'export
|
||||
PROFILE=profilename ; make' will work. Profiles are defined
|
||||
in build/profiles/profilename.make ; right now there isn't
|
||||
too much going on. The 'bootstrap' profile will build the
|
||||
way makefile.gnu did on Linux, by setting MONO_PATH and
|
||||
using mcs/mcs.exe; the default profile will build against
|
||||
the existing system libraries and compile with 'mcs', which
|
||||
should reduce a lot of 'corlib out of sync' warnings.
|
||||
in build/profiles/profilename.make ;
|
||||
|
||||
* Important variables are shared among makefiles now; you can
|
||||
edit build/config.make (see build/config-default.make for a
|
||||
@@ -164,16 +65,11 @@ of the features:
|
||||
|
||||
* Test libraries now live in class/Library/Library_test.dll,
|
||||
not class/Library/Test. 'make test' will build the test DLL,
|
||||
'make run-test' will actually run the nunit tests. Set the
|
||||
variable TEST_HARNESS to run with a program other than
|
||||
nunit-console (for example, nunit-gtk).
|
||||
'make run-test' will actually run the nunit tests.
|
||||
|
||||
* Standardized recursive targets: all, clean, install, test,
|
||||
run-test. Read build/README.makefiles for definitions of
|
||||
what they should do
|
||||
|
||||
* (Relatively) sane 'make dist' target; 'make distcheck'
|
||||
support; cute 'make monocharge' and 'make monocharge-lite'
|
||||
targets. They're made possible because 'make install' now
|
||||
supports DESTDIR a la automake, which I'm sure someone cares
|
||||
about.
|
||||
support;
|
||||
+31
-21
@@ -95,8 +95,7 @@ DISTFILES = \
|
||||
mkinstalldirs \
|
||||
MonoIcon.png \
|
||||
README \
|
||||
ScalableMonoIcon.svg \
|
||||
winexe.in
|
||||
ScalableMonoIcon.svg
|
||||
|
||||
dist-local: dist-default
|
||||
|
||||
@@ -138,24 +137,35 @@ distcheck: dist-tarball
|
||||
rm -f before.list after.list distdist.list ; \
|
||||
rm -rf $(package) InstallTest
|
||||
|
||||
monocharge:
|
||||
chargedir=monocharge-`date -u +%Y%m%d` ; \
|
||||
mkdir "$$chargedir" ; \
|
||||
DESTDIR=`cd "$$chargedir" && pwd` ; \
|
||||
$(MAKE) install DESTDIR="$$DESTDIR" || exit 1 ; \
|
||||
tar cvjf "$$chargedir".tar.bz2 "$$chargedir" ; \
|
||||
rm -rf "$$chargedir"
|
||||
# Targets for creating API diffs of the framework
|
||||
|
||||
# A bare-bones monocharge.
|
||||
MONO_API_SNAPSHOT_PATH := $(topdir)../external/api-snapshot/
|
||||
GENAPI := $(MONO_API_SNAPSHOT_PATH)tools/genapi/GenAPI.exe
|
||||
MONO_API_SNAPSHOT_PROFILE_PATH := $(MONO_API_SNAPSHOT_PATH)profiles/$(PROFILE)/
|
||||
MONO_API_ASSEMBLIES_IGNORED := $(addprefix $(topdir)class/lib/$(PROFILE)/, Mono.CSharp.dll SystemWebTestShim.dll standalone-runner-support.dll nunit.core.dll nunit.core.extensions.dll nunit.core.interfaces.dll nunit.framework.dll nunit.framework.extensions.dll nunit.mocks.dll nunit.util.dll nunit-console-runner.dll nunitlite.dll)
|
||||
MONO_API_ASSEMBLIES := $(filter-out $(MONO_API_ASSEMBLIES_IGNORED), $(wildcard $(topdir)class/lib/$(PROFILE)/*.dll)) $(wildcard $(topdir)class/lib/$(PROFILE)/Facades/*.dll)
|
||||
MONO_API_ASSEMBLIES_CS := $(MONO_API_ASSEMBLIES:$(topdir)class/lib/$(PROFILE)/%.dll=$(MONO_API_SNAPSHOT_PROFILE_PATH)%.cs)
|
||||
|
||||
monocharge-lite:
|
||||
chargedir=monocharge-lite-`date -u +%Y%m%d` ; \
|
||||
mkdir "$$chargedir" ; \
|
||||
DESTDIR=`cd "$$chargedir" && pwd` ; \
|
||||
$(MAKE) -C mcs install DESTDIR="$$DESTDIR" || exit 1; \
|
||||
$(MAKE) -C class/corlib install DESTDIR="$$DESTDIR" || exit 1; \
|
||||
$(MAKE) -C class/System install DESTDIR="$$DESTDIR" || exit 1; \
|
||||
$(MAKE) -C class/System.XML install DESTDIR="$$DESTDIR" || exit 1; \
|
||||
$(MAKE) -C class/Mono.CSharp.Debugger install DESTDIR="$$DESTDIR" || exit 1; \
|
||||
tar cvjf "$$chargedir".tar.bz2 "$$chargedir" ; \
|
||||
rm -rf "$$chargedir"
|
||||
$(MONO_API_SNAPSHOT_PROFILE_PATH)%.cs: $(topdir)class/lib/$(PROFILE)/%.dll $(GENAPI) $(MONO_API_SNAPSHOT_PATH)profiles/license-header.txt
|
||||
@mkdir -p $(dir $@)
|
||||
$(Q) MONO_PATH=$(topdir)class/lib/$(BUILD_TOOLS_PROFILE) $(RUNTIME) $(GENAPI) -libPath:$(topdir)class/lib/$(PROFILE),$(topdir)class/lib/$(PROFILE)/Facades -out:$(dir $@) -headerFile:$(MONO_API_SNAPSHOT_PATH)profiles/license-header.txt -assemblyAttributes -typeForwardedTo -assemblyVersion -assembly:$< || echo "Couldn't process assembly." > $@
|
||||
|
||||
mono-api-current: $(MONO_API_ASSEMBLIES_CS)
|
||||
|
||||
mono-api-current-clean:
|
||||
$(Q) rm -rf "$(MONO_API_SNAPSHOT_PROFILE_PATH)"
|
||||
|
||||
mono-api-diff:
|
||||
@echo "Regenerating API snapshot..."
|
||||
$(Q) $(MAKE) mono-api-current-clean PROFILE=net_4_x
|
||||
$(Q) $(MAKE) mono-api-current-clean PROFILE=monotouch
|
||||
$(Q) $(MAKE) mono-api-current-clean PROFILE=monodroid
|
||||
$(Q) $(MAKE) mono-api-current PROFILE=net_4_x
|
||||
$(Q) $(MAKE) mono-api-current PROFILE=monotouch
|
||||
$(Q) $(MAKE) mono-api-current PROFILE=monodroid
|
||||
@echo "Checking public API differences..."
|
||||
$(Q) cd $(MONO_API_SNAPSHOT_PATH); git add -A .
|
||||
$(Q) cd $(MONO_API_SNAPSHOT_PATH); git diff --no-renames HEAD > $(abspath $(topdir))/temp.patch
|
||||
@mkdir -p apidiff
|
||||
$(Q) sed -e "/@diffdata@/r temp.patch" -e "/@diffdata@/d" -e "s/@title@/Public API Diff/g" -e "s/@description@/If the changes are intentional, run <code>make -C mcs mono-api-diff<\/code> locally and commit changes in external\/api-snapshot./g" diff.html.in > apidiff/index.html
|
||||
$(Q) if [ -s temp.patch ]; then echo "Error: Found public API differences, see mcs/apidiff/index.html. If the changes are intentional, please go to external/api-snapshot and commit them."; rm -f temp.patch; exit 1; else echo "No differences found."; rm -f temp.patch; fi
|
||||
+20
-19
@@ -19,31 +19,34 @@ package module which drives the compilation of this directory.
|
||||
class/
|
||||
The class libraries.
|
||||
|
||||
docs/
|
||||
Some notes on the compiler and the class libraries.
|
||||
|
||||
errors/
|
||||
Sample programs that should generate errors by the C# compiler.
|
||||
|
||||
ilasm/
|
||||
The IL assembler.
|
||||
|
||||
jay/
|
||||
Yacc-based parser generator.
|
||||
|
||||
mcs/
|
||||
The Mono C# compiler
|
||||
|
||||
nunit24/
|
||||
An old copy of the NUnit 2.4 library that we ship for historical reasons.
|
||||
|
||||
packages/
|
||||
Integrates some packages from NuGet (like Roslyn) into the build system.
|
||||
|
||||
tests/
|
||||
Regression test suite for the C# compiler
|
||||
|
||||
docs/
|
||||
Some notes on the compiler and the class libraries.
|
||||
|
||||
nant/
|
||||
A copy of nant source code, used during the build process
|
||||
on Windows.
|
||||
|
||||
tools/
|
||||
Various small development tools: CorCompare used to compare
|
||||
two assemblies for differences in the API; TypeReflector is
|
||||
a tool used to introspect types from assemblies from the
|
||||
command line; MonoStyle helps you keep your code indendented
|
||||
with the Mono programming style.
|
||||
two assemblies for differences in the API; csharp is a C# REPL;
|
||||
cil-strip trims IL from assemblies.
|
||||
|
||||
* Building Individual Directories
|
||||
=================================
|
||||
@@ -51,14 +54,14 @@ package module which drives the compilation of this directory.
|
||||
You can build individual components in the hierarchy by running the command
|
||||
"make", and to install it use "make install".
|
||||
|
||||
By default, the 2.x profile is built, if you want to build the net 1.1 profile,
|
||||
By default, the 4.x profile is built, if you want to build other profiles,
|
||||
use the following command:
|
||||
|
||||
make PROFILE=net_1_1
|
||||
make PROFILE=<profilename>
|
||||
|
||||
And to install:
|
||||
|
||||
make PROFILE=net_1_1 install
|
||||
make PROFILE=<profilename> install
|
||||
|
||||
To turn on verbose mode in the build (for example to diagnose a
|
||||
problem), you can use the V=1 flag, like this:
|
||||
@@ -68,16 +71,14 @@ problem), you can use the V=1 flag, like this:
|
||||
* Running Unit tests
|
||||
====================
|
||||
|
||||
You can run unit tests in individual components by running the command
|
||||
"make run-test". If you want to run tests for a different profile (say
|
||||
'net_1_1')
|
||||
You can run unit tests in individual components by running the command:
|
||||
|
||||
make run-test PROFILE=net_1_1
|
||||
make run-test
|
||||
|
||||
If you want to only run the tests in a single fixture (say
|
||||
'MonoTests.System.TypeTest'), you can use
|
||||
|
||||
make run-test TEST_HARNESS_FLAGS=/fixture:MonoTests.System.TypeTest
|
||||
make run-test TEST_FIXTURE=System.TypeTest
|
||||
|
||||
* Acknowledgements
|
||||
==================
|
||||
|
||||
+2
-1
@@ -12,7 +12,8 @@ clean-local:
|
||||
|
||||
common/Consts.cs: common/Consts.cs.in $(wildcard config.make)
|
||||
test -n '$(MONO_VERSION)'
|
||||
sed -e 's,@''MONO_VERSION@,$(MONO_VERSION),' $< > $@
|
||||
test -n '$(MONO_CORLIB_VERSION)'
|
||||
sed -e 's,@''MONO_VERSION@,$(MONO_VERSION),' -e 's,@''MONO_CORLIB_VERSION@,$(MONO_CORLIB_VERSION),' $< > $@
|
||||
|
||||
PLATFORMS = darwin linux win32
|
||||
PROFILES = \
|
||||
|
||||
@@ -6,12 +6,12 @@ Peter Williams <[email protected]>
|
||||
It's pretty easy. You can create two files in this directory to tweak
|
||||
settings: pre-config.make and config.make.
|
||||
|
||||
pre-config.make is included before $(PLATFORM).make and
|
||||
pre-config.make is included before $(BUILD_PLATFORM).make and
|
||||
$(PROFILE).make, so you can set either of these variables if you want
|
||||
to change the default.
|
||||
|
||||
Just about any other change should go in config.make, which is
|
||||
included after $(PLATFORM).make and $(PROFILE).make, so you can use
|
||||
included after $(BUILD_PLATFORM).make and $(PROFILE).make, so you can use
|
||||
the values defined in those files if you wish. For example,
|
||||
|
||||
MCS_FLAGS = $(DEFAULT_MCS_FLAGS) /my-experimental-optimizer-flag
|
||||
|
||||
@@ -119,8 +119,8 @@ Configuration variables are given defaults in `config-default.make';
|
||||
`rules.make' optionally includes `$(topdir)/build/config.make', so you
|
||||
can customize your build without CVS trying to commit your modified
|
||||
`config-default.make' all the time. Platform-specific variables are
|
||||
defined in `$(topdir)/build/platforms/$(PLATFORM).make', where
|
||||
$(PLATFORM) is detected in config-default.make. (Currently, the only
|
||||
defined in `$(topdir)/build/platforms/$(BUILD_PLATFORM).make', where
|
||||
$(BUILD_PLATFORM) is detected in config-default.make. (Currently, the only
|
||||
choices are linux.make and win32.make.)
|
||||
|
||||
The best way to learn what the configuration variables are is to read
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="3.5" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\ExtensionPack\MSBuild.ExtensionPack.tasks"/>
|
||||
<Target Name="Build">
|
||||
<Copy SourceFiles="common\Consts.cs.in" DestinationFiles="common\Consts.cs"/>
|
||||
<MSBuild.ExtensionPack.FileSystem.File TaskAction="Replace" RegexPattern="@MONO_VERSION@" Replacement="2.7.0.0" Files="common\Consts.cs"/>
|
||||
</Target>
|
||||
</Project>
|
||||
@@ -38,6 +38,7 @@ static class Consts
|
||||
public const string MonoCompany = "Mono development team";
|
||||
public const string MonoProduct = "Mono Common Language Infrastructure";
|
||||
public const string MonoCopyright = "(c) Various Mono authors";
|
||||
public const int MonoCorlibVersion = @MONO_CORLIB_VERSION@;
|
||||
|
||||
#if MOBILE
|
||||
// Versions of .NET Framework for Silverlight 4.0
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
CODEPAGE = 65001
|
||||
|
||||
RUNTIME_FLAGS =
|
||||
TEST_HARNESS = $(topdir)/class/lib/$(PROFILE)/$(PARENT_PROFILE)nunit-lite-console.exe
|
||||
TEST_HARNESS = $(topdir)/class/lib/$(PROFILE_DIRECTORY)/$(PARENT_PROFILE)nunit-lite-console.exe
|
||||
PLATFORM_DEBUG_FLAGS = /debug:portable
|
||||
MCS_FLAGS =
|
||||
MBAS_FLAGS = -debug
|
||||
@@ -24,7 +24,7 @@ mono_libdir = $(exec_prefix)/lib
|
||||
sysconfdir = $(prefix)/etc
|
||||
#RUNTIME = mono
|
||||
RUNTIME = false
|
||||
TEST_RUNTIME = MONO_PATH="./$(PLATFORM_PATH_SEPARATOR)$(topdir)/class/lib/$(PROFILE)$(PLATFORM_PATH_SEPARATOR)$(TEST_MONO_PATH)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(RUNTIME) --debug
|
||||
TEST_RUNTIME = MONO_PATH="./$(PLATFORM_PATH_SEPARATOR)$(topdir)/class/lib/$(PROFILE_DIRECTORY)$(PLATFORM_PATH_SEPARATOR)$(TEST_MONO_PATH)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(RUNTIME) --debug
|
||||
|
||||
# In case you want to add MCS_FLAGS, this lets you not have to
|
||||
# keep track of the default value
|
||||
|
||||
@@ -19,7 +19,7 @@ executable_CLEAN_FILES += $(response)
|
||||
endif
|
||||
|
||||
ifndef the_libdir
|
||||
the_libdir = $(topdir)/class/lib/$(PROFILE)/
|
||||
the_libdir = $(topdir)/class/lib/$(PROFILE_DIRECTORY)/
|
||||
ifdef PROGRAM_USE_INTERMEDIATE_FILE
|
||||
build_libdir = $(the_libdir)tmp/
|
||||
else
|
||||
@@ -42,8 +42,8 @@ executable_CLEAN_FILES += $(build_lib) $(build_lib).so $(build_lib).mdb $(build_
|
||||
|
||||
makefrag = $(depsdir)/$(PROFILE)_$(base_prog).makefrag
|
||||
|
||||
MCS_REFERENCES = $(patsubst %,-r:$(topdir)/class/lib/$(PROFILE)/%.dll,$(LIB_REFS))
|
||||
MCS_REFERENCES += $(patsubst %,-r:$(topdir)/class/lib/$(PROFILE)/%.exe,$(EXE_REFS))
|
||||
MCS_REFERENCES = $(patsubst %,-r:$(topdir)/class/lib/$(PROFILE_DIRECTORY)/%.dll,$(LIB_REFS))
|
||||
MCS_REFERENCES += $(patsubst %,-r:$(topdir)/class/lib/$(PROFILE_DIRECTORY)/%.exe,$(EXE_REFS))
|
||||
|
||||
ifndef NO_BUILD
|
||||
all-local: $(the_lib) $(PROGRAM_config)
|
||||
@@ -117,7 +117,12 @@ ifndef PROGRAM_COMPILE
|
||||
PROGRAM_COMPILE = $(CSCOMPILE)
|
||||
endif
|
||||
|
||||
$(the_lib): $(the_libdir)/.stamp
|
||||
$(the_lib): $(the_libdir)/.stamp $(if $(PROFILE_PLATFORM),$(if $(filter $(HOST_PLATFORM),$(BUILD_PLATFORM)),$(topdir)/class/lib/$(PROFILE)/.stamp))
|
||||
|
||||
ifdef PROFILE_PLATFORM
|
||||
$(topdir)/class/lib/$(PROFILE)/.stamp: | $(topdir)/class/lib/$(PROFILE)-$(HOST_PLATFORM)/.stamp
|
||||
$(if $(filter $(HOST_PLATFORM),$(BUILD_PLATFORM)),$(if $(filter $(BUILD_PLATFORM),win32),CYGWIN=winsymlinks:nativestrict) ln -s $(abspath $(topdir)/class/lib/$(PROFILE)-$(BUILD_PLATFORM)) $(abspath $(topdir)/class/lib/$(PROFILE)))
|
||||
endif
|
||||
|
||||
$(build_lib): $(BUILT_SOURCES) $(EXTRA_SOURCES) $(response) $(build_libdir:=/.stamp)
|
||||
$(PROGRAM_COMPILE) $(MCS_REFERENCES) -target:exe -out:$@ $(BUILT_SOURCES) $(EXTRA_SOURCES) @$(response)
|
||||
|
||||
@@ -29,6 +29,17 @@ process_includes() {
|
||||
rm -f $t
|
||||
}
|
||||
|
||||
check_newline_eof() {
|
||||
file=$1
|
||||
if ! test -f "$file"; then return; fi
|
||||
if ! test -z "$(tail -c 1 "$file")"; then echo "$file: missing newline at end of file."; exit 1; fi
|
||||
}
|
||||
|
||||
check_newline_eof $incfile
|
||||
check_newline_eof $excfile
|
||||
check_newline_eof $extfile
|
||||
check_newline_eof $extexcfile
|
||||
|
||||
rm -f $outfile.makefrag
|
||||
|
||||
process_includes $incfile $outfile.inc
|
||||
|
||||
+61
-79
@@ -23,37 +23,8 @@ _FILTER_OUT = $(foreach x,$(2),$(if $(findstring $(1),$(x)),,$(x)))
|
||||
LIB_REFS_FULL = $(call _FILTER_OUT,=, $(LIB_REFS))
|
||||
LIB_REFS_ALIAS = $(filter-out $(LIB_REFS_FULL),$(LIB_REFS))
|
||||
|
||||
LIB_MCS_FLAGS += $(patsubst %,-r:$(topdir)/class/lib/$(PROFILE)/%.dll,$(LIB_REFS_FULL))
|
||||
LIB_MCS_FLAGS += $(patsubst %,-r:%.dll, $(subst =,=$(topdir)/class/lib/$(PROFILE)/,$(LIB_REFS_ALIAS)))
|
||||
|
||||
sourcefile = $(LIBRARY).sources
|
||||
|
||||
# If the directory contains the per profile include file, generate list file.
|
||||
PROFILE_sources := $(wildcard $(PROFILE)_$(LIBRARY).sources)
|
||||
ifdef PROFILE_sources
|
||||
PROFILE_excludes = $(wildcard $(PROFILE)_$(LIBRARY).exclude.sources)
|
||||
sourcefile = $(depsdir)/$(PROFILE)_$(LIBRARY).sources
|
||||
library_CLEAN_FILES += $(sourcefile)
|
||||
|
||||
# Note, gensources.sh can create a $(sourcefile).makefrag if it sees any '#include's
|
||||
# We don't include it in the dependencies since it isn't always created
|
||||
$(sourcefile): $(PROFILE_sources) $(PROFILE_excludes) $(topdir)/build/gensources.sh
|
||||
@echo Creating the per profile list $@ ...
|
||||
$(SHELL) $(topdir)/build/gensources.sh $@ '$(PROFILE_sources)' '$(PROFILE_excludes)'
|
||||
endif
|
||||
|
||||
PLATFORM_excludes := $(wildcard $(LIBRARY).$(PLATFORM)-excludes)
|
||||
|
||||
ifndef PLATFORM_excludes
|
||||
ifeq (cat,$(PLATFORM_CHANGE_SEPARATOR_CMD))
|
||||
response = $(sourcefile)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifndef response
|
||||
response = $(depsdir)/$(PROFILE)_$(LIBRARY_SUBDIR)_$(LIBRARY).response
|
||||
library_CLEAN_FILES += $(response)
|
||||
endif
|
||||
LIB_MCS_FLAGS += $(patsubst %,-r:$(topdir)/class/lib/$(PROFILE_DIRECTORY)/%.dll,$(LIB_REFS_FULL))
|
||||
LIB_MCS_FLAGS += $(patsubst %,-r:%.dll, $(subst =,=$(topdir)/class/lib/$(PROFILE_DIRECTORY)/,$(LIB_REFS_ALIAS)))
|
||||
|
||||
ifndef LIBRARY_NAME
|
||||
LIBRARY_NAME = $(LIBRARY)
|
||||
@@ -65,11 +36,7 @@ else
|
||||
lib_dir = lib
|
||||
endif
|
||||
|
||||
ifdef LIBRARY_SUBDIR
|
||||
the_libdir_base = $(topdir)/class/$(lib_dir)/$(PROFILE)/$(LIBRARY_SUBDIR)/
|
||||
else
|
||||
the_libdir_base = $(topdir)/class/$(lib_dir)/$(PROFILE)/
|
||||
endif
|
||||
the_libdir_base = $(topdir)/class/$(lib_dir)/$(PROFILE_DIRECTORY)/$(if $(LIBRARY_SUBDIR),$(LIBRARY_SUBDIR)/)
|
||||
|
||||
ifdef RESOURCE_STRINGS
|
||||
ifneq (basic, $(PROFILE))
|
||||
@@ -110,7 +77,7 @@ SN = MONO_PATH="$(topdir)/class/lib/$(BUILD_TOOLS_PROFILE)$(PLATFORM_PATH_SEPARA
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(PLATFORM), win32)
|
||||
ifeq ($(BUILD_PLATFORM), win32)
|
||||
GACDIR = `cygpath -w $(mono_libdir)`
|
||||
GACROOT = `cygpath -w $(DESTDIR)$(mono_libdir)`
|
||||
test_flags += -d:WINDOWS
|
||||
@@ -134,7 +101,7 @@ csproj-local: csproj-library csproj-test
|
||||
intermediate_clean=$(subst /,-,$(intermediate))
|
||||
csproj-library:
|
||||
config_file=`basename $(LIBRARY) .dll`-$(intermediate_clean)$(PROFILE).input; \
|
||||
case "$(thisdir)" in *"Facades"*) config_file=Facades_$$config_file;; esac; \
|
||||
case "$(thisdir)" in *"Facades"*) config_file=Facades_$$config_file;; *"legacy"*) config_file=legacy_$$config_file;; esac; \
|
||||
echo $(thisdir):$$config_file >> $(topdir)/../msvc/scripts/order; \
|
||||
(echo $(is_boot); \
|
||||
echo $(USE_MCS_FLAGS) $(LIBRARY_FLAGS) $(LIB_MCS_FLAGS); \
|
||||
@@ -266,7 +233,7 @@ endif
|
||||
# make dist will collect files in .sources files from all profiles
|
||||
dist-local: dist-default
|
||||
subs=' ' ; \
|
||||
for f in `$(topdir)/tools/removecomments.sh $(filter-out $(wildcard *_test.dll.sources) $(wildcard *exclude.sources),$(wildcard *.sources))` $(TEST_FILES) ; do \
|
||||
for f in `$(topdir)/tools/removecomments.sh $(filter-out $(wildcard *_test.dll.sources) $(wildcard *_xtest.dll.sources) $(wildcard *exclude.sources),$(wildcard *.sources))` $(TEST_FILES) ; do \
|
||||
case $$f in \
|
||||
../*) : ;; \
|
||||
*.g.cs) : ;; \
|
||||
@@ -296,9 +263,51 @@ endif
|
||||
|
||||
# The library
|
||||
|
||||
$(the_lib): $(the_libdir)/.stamp
|
||||
# If the directory contains the per profile include file, generate list file.
|
||||
PROFILE_sources := $(firstword $(if $(PROFILE_PLATFORM),$(wildcard $(PROFILE_PLATFORM)_$(PROFILE)_$(LIBRARY).sources)) $(wildcard $(PROFILE)_$(LIBRARY).sources) $(wildcard $(LIBRARY).sources))
|
||||
PROFILE_excludes = $(firstword $(if $(PROFILE_PLATFORM),$(wildcard $(PROFILE_PLATFORM)_$(PROFILE)_$(LIBRARY).exclude.sources)) $(wildcard $(PROFILE)_$(LIBRARY).exclude.sources))
|
||||
|
||||
$(build_lib): $(response) $(sn) $(BUILT_SOURCES) $(build_libdir:=/.stamp) $(GEN_RESOURCE_DEPS)
|
||||
# Note, gensources.sh can create a $(sourcefile).makefrag if it sees any '#include's
|
||||
# We don't include it in the dependencies since it isn't always created
|
||||
sourcefile = $(depsdir)/$(PROFILE_PLATFORM)_$(PROFILE)_$(LIBRARY_SUBDIR)_$(LIBRARY).sources
|
||||
$(sourcefile): $(PROFILE_sources) $(PROFILE_excludes) $(topdir)/build/gensources.sh $(depsdir)/.stamp
|
||||
$(SHELL) $(topdir)/build/gensources.sh $@ '$(PROFILE_sources)' '$(PROFILE_excludes)'
|
||||
|
||||
library_CLEAN_FILES += $(sourcefile)
|
||||
|
||||
response = $(depsdir)/$(PROFILE_PLATFORM)_$(PROFILE)_$(LIBRARY_SUBDIR)_$(LIBRARY).response
|
||||
$(response): $(sourcefile) $(topdir)/build/library.make $(depsdir)/.stamp
|
||||
$(PLATFORM_CHANGE_SEPARATOR_CMD) <$(sourcefile) >$@
|
||||
|
||||
library_CLEAN_FILES += $(response)
|
||||
|
||||
makefrag = $(depsdir)/$(PROFILE_PLATFORM)_$(PROFILE)_$(LIBRARY_SUBDIR)_$(LIBRARY).makefrag
|
||||
$(makefrag): $(sourcefile) $(topdir)/build/library.make $(depsdir)/.stamp
|
||||
# @echo Creating $@ ...
|
||||
@sed 's,^,$(build_lib): ,' $< >$@
|
||||
@if test ! -f $(sourcefile).makefrag; then :; else \
|
||||
cat $(sourcefile).makefrag >> $@ ; \
|
||||
echo '$@: $(sourcefile).makefrag' >> $@; \
|
||||
echo '$(sourcefile).makefrag:' >> $@; fi
|
||||
|
||||
library_CLEAN_FILES += $(makefrag)
|
||||
|
||||
ifndef NO_BUILD
|
||||
all-local: $(makefrag)
|
||||
endif
|
||||
|
||||
-include $(makefrag)
|
||||
|
||||
$(the_lib): $(the_libdir)/.stamp $(if $(PROFILE_PLATFORM),$(if $(filter $(HOST_PLATFORM),$(BUILD_PLATFORM)),$(topdir)/class/$(lib_dir)/$(PROFILE)/.stamp))
|
||||
|
||||
ifdef PROFILE_PLATFORM
|
||||
$(topdir)/class/$(lib_dir)/$(PROFILE)/.stamp: | $(topdir)/class/$(lib_dir)/$(PROFILE)-$(HOST_PLATFORM)/.stamp
|
||||
$(if $(filter $(HOST_PLATFORM),$(BUILD_PLATFORM)),$(if $(filter $(BUILD_PLATFORM),win32),CYGWIN=winsymlinks:nativestrict) ln -s $(abspath $(topdir)/class/$(lib_dir)/$(PROFILE)-$(BUILD_PLATFORM)) $(abspath $(topdir)/class/$(lib_dir)/$(PROFILE)))
|
||||
endif
|
||||
|
||||
ifndef NO_BUILD
|
||||
|
||||
$(build_lib): $(response) $(sn) $(BUILT_SOURCES) $(build_libdir)/.stamp $(GEN_RESOURCE_DEPS)
|
||||
$(LIBRARY_COMPILE) $(LIBRARY_FLAGS) $(LIB_MCS_FLAGS) $(GEN_RESOURCE_FLAGS) -target:library -out:$@ $(BUILT_SOURCES_cmdline) @$(response)
|
||||
ifdef RESOURCE_STRINGS_FILES
|
||||
$(Q) $(STRING_REPLACER) $(RESOURCE_STRINGS_FILES) $@
|
||||
@@ -313,7 +322,9 @@ $(the_lib): $(build_lib)
|
||||
$(Q) test ! -f $(build_lib:.dll=.pdb) || mv $(build_lib:.dll=.pdb) $(the_lib:.dll=.pdb)
|
||||
endif
|
||||
|
||||
library_CLEAN_FILES += $(PROFILE)_aot.log
|
||||
endif
|
||||
|
||||
library_CLEAN_FILES += $(PROFILE)_$(LIBRARY_NAME)_aot.log
|
||||
|
||||
ifdef PLATFORM_AOT_SUFFIX
|
||||
$(the_lib)$(PLATFORM_AOT_SUFFIX): $(the_lib)
|
||||
@@ -322,58 +333,29 @@ $(the_lib)$(PLATFORM_AOT_SUFFIX): $(the_lib)
|
||||
all-local-aot: $(the_lib)$(PLATFORM_AOT_SUFFIX)
|
||||
endif
|
||||
|
||||
|
||||
makefrag = $(depsdir)/$(PROFILE)_$(LIBRARY_SUBDIR)_$(LIBRARY).makefrag
|
||||
library_CLEAN_FILES += $(makefrag)
|
||||
$(makefrag): $(sourcefile)
|
||||
# @echo Creating $@ ...
|
||||
@sed 's,^,$(build_lib): ,' $< >$@
|
||||
@if test ! -f $(sourcefile).makefrag; then :; else \
|
||||
cat $(sourcefile).makefrag >> $@ ; \
|
||||
echo '$@: $(sourcefile).makefrag' >> $@; \
|
||||
echo '$(sourcefile).makefrag:' >> $@; fi
|
||||
|
||||
ifneq ($(response),$(sourcefile))
|
||||
|
||||
ifdef PLATFORM_excludes
|
||||
$(response): $(sourcefile) $(PLATFORM_excludes)
|
||||
@echo Filtering $(sourcefile) to $@ ...
|
||||
@sort $(sourcefile) $(PLATFORM_excludes) | uniq -u | $(PLATFORM_CHANGE_SEPARATOR_CMD) >$@
|
||||
else
|
||||
$(response): $(sourcefile)
|
||||
@echo Converting $(sourcefile) to $@ ...
|
||||
@cat $(sourcefile) | $(PLATFORM_CHANGE_SEPARATOR_CMD) >$@
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
-include $(makefrag)
|
||||
|
||||
# for now, don't give any /lib flags or set MONO_PATH, since we
|
||||
# give a full path to the assembly.
|
||||
|
||||
## Include corcompare stuff
|
||||
include $(topdir)/build/corcompare.make
|
||||
|
||||
all-local: $(makefrag) $(test_makefrag) $(btest_makefrag)
|
||||
ifneq ($(response),$(sourcefile))
|
||||
$(response): $(topdir)/build/library.make $(depsdir)/.stamp
|
||||
ifndef NO_BUILD
|
||||
all-local: $(test_makefrag) $(btest_makefrag)
|
||||
endif
|
||||
$(makefrag) $(test_response) $(test_makefrag) $(btest_response) $(btest_makefrag): $(topdir)/build/library.make $(depsdir)/.stamp
|
||||
|
||||
$(test_response) $(test_makefrag) $(btest_response) $(btest_makefrag): $(topdir)/build/library.make $(depsdir)/.stamp
|
||||
|
||||
## Documentation stuff
|
||||
|
||||
Q_MDOC_UP=$(if $(V),,@echo "MDOC-UP [$(PROFILE)] $(notdir $(@))";)
|
||||
MDOC_UP =$(Q_MDOC_UP) \
|
||||
MONO_PATH="$(topdir)/class/lib/$(DEFAULT_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(RUNTIME) $(topdir)/class/lib/$(DEFAULT_PROFILE)/mdoc.exe \
|
||||
update --delete -o Documentation/en $(the_lib)
|
||||
|
||||
doc-update-local: $(the_libdir)/.doc-stamp
|
||||
|
||||
$(the_libdir)/.doc-stamp: $(the_lib)
|
||||
$(MDOC_UP)
|
||||
$(MDOC_UP) $(the_lib)
|
||||
@echo "doc-stamp" > $@
|
||||
|
||||
# Need to be here so it comes after the definition of DEP_DIRS/DEP_LIBS
|
||||
gen-deps:
|
||||
@echo "$(DEPS_TARGET_DIR): $(DEP_DIRS) $(DEP_LIBS)" >> $(DEPS_FILE)
|
||||
|
||||
update-corefx-sr: $(RESX_RESOURCE_STRING)
|
||||
MONO_PATH="$(topdir)/class/lib/$(BUILD_TOOLS_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(RUNTIME) $(RUNTIME_FLAGS) $(topdir)/class/lib/$(BUILD_TOOLS_PROFILE)/resx2sr.exe $(RESX_RESOURCE_STRING) >corefx/SR.cs
|
||||
@@ -1,2 +0,0 @@
|
||||
/Mono.Common.targets -crlf
|
||||
/Mono.Default.targets -crlf
|
||||
@@ -1,28 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="3.5" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\ExtensionPack\MSBuild.ExtensionPack.tasks"/>
|
||||
<PropertyGroup Condition=" '$(USE_MONO_COMPILER)' == '1' ">
|
||||
<CscToolExe>gmcs.bat</CscToolExe>
|
||||
<CscToolPath>C:\MonoExperimental2.5.0\bin</CscToolPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" ('$(Configuration)' == 'basic' Or '$(Configuration)' == 'basic_XML_DEP') ">
|
||||
<OutputPath Condition=" '$(OutputPath)' == '' ">$(MSBuildProjectDirectory)\..\lib\basic\</OutputPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)' == 'net_2_0_bootstrap' ">
|
||||
<OutputPath Condition=" '$(OutputPath)' == '' ">$(MSBuildProjectDirectory)\..\lib\net_2_0_bootstrap\</OutputPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<OutputPath Condition=" '$(OutputPath)' == '' ">$(MSBuildProjectDirectory)\..\lib\$(Configuration)\</OutputPath>
|
||||
</PropertyGroup>
|
||||
<Target Name="SetupProject">
|
||||
<Copy SourceFiles="$(ResponseFile)" DestinationFiles="$(ResponseFile).msbuild"/>
|
||||
<MSBuild.ExtensionPack.FileSystem.File TaskAction="Replace" RegexPattern="/" Replacement="\" Files="$(ResponseFile).msbuild"/>
|
||||
<MakeDir Directories="$(OutputDirectory)"/>
|
||||
</Target>
|
||||
<PropertyGroup Condition=" '$(ResponseFile)' == '' ">
|
||||
<ResponseFile>$(MSBuildProjectName).dll.sources</ResponseFile>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<CompilerResponseFile>$(ResponseFile).msbuild</CompilerResponseFile>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@@ -1,7 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="3.5" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition="'$(Configuration)' == ''">net_2_0</Configuration>
|
||||
<Platform Condition="'$(Platform)' == ''">AnyCPU</Platform>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@@ -1,12 +1,12 @@
|
||||
# -*- makefile -*-
|
||||
#
|
||||
# Platform-specific makefile rules. This one's for linux.
|
||||
# Platform-specific makefile rules. This one's for macOS.
|
||||
#
|
||||
|
||||
PLATFORM_MCS_FLAGS =
|
||||
PLATFORM_RUNTIME = $(RUNTIME)
|
||||
PLATFORM_CORLIB = mscorlib.dll
|
||||
PLATFORM_TEST_HARNESS_EXCLUDES = NotOnMac,
|
||||
PLATFORM_TEST_HARNESS_EXCLUDES = NotOnMac,MacNotWorking,
|
||||
|
||||
EXTERNAL_MCS = mcs
|
||||
EXTERNAL_MBAS = mbas
|
||||
|
||||
@@ -1,15 +1,17 @@
|
||||
# -*- makefile -*-
|
||||
|
||||
with_mono_path_monolite = MONO_PATH="$(topdir)/class/lib/monolite$(PLATFORM_PATH_SEPARATOR)$(topdir)/class/lib/monolite/Facades$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH"
|
||||
monolite_path := $(topdir)/class/lib/monolite-$(BUILD_PLATFORM)/$(MONO_CORLIB_VERSION)
|
||||
|
||||
with_mono_path_monolite = MONO_PATH="$(monolite_path)$(PLATFORM_PATH_SEPARATOR)$(monolite_path)/Facades$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH"
|
||||
|
||||
monolite_flag := $(depsdir)/use-monolite
|
||||
use_monolite := $(wildcard $(monolite_flag))
|
||||
|
||||
MONOLITE_MSCORLIB = $(topdir)/class/lib/monolite/mscorlib.dll
|
||||
MONOLITE_MSCORLIB = $(monolite_path)/mscorlib.dll
|
||||
|
||||
ifdef use_monolite
|
||||
ifdef MCS_MODE
|
||||
CSC_LOCATION = $(topdir)/class/lib/monolite/mcs.exe
|
||||
CSC_LOCATION = $(monolite_path)/mcs.exe
|
||||
endif
|
||||
|
||||
PROFILE_RUNTIME = $(with_mono_path_monolite) $(RUNTIME)
|
||||
@@ -79,8 +81,7 @@ do-profile-check: $(depsdir)/.stamp
|
||||
$(MAKE) $(MAKE_Q) do-profile-check-monolite ; \
|
||||
else \
|
||||
echo "*** The runtime '$(PROFILE_RUNTIME)' doesn't appear to be usable." 1>&2; \
|
||||
echo "*** You need Mono version 4.8 or better installed to build MCS" 1>&2 ; \
|
||||
echo "*** Check mono README for information on how to bootstrap a Mono installation." 1>&2 ; \
|
||||
echo "*** Check README for information on how to bootstrap a Mono installation." 1>&2 ; \
|
||||
exit 1; fi; fi
|
||||
|
||||
|
||||
@@ -89,7 +90,7 @@ ifdef use_monolite
|
||||
do-get-monolite:
|
||||
|
||||
do-profile-check-monolite:
|
||||
@echo "*** The contents of your 'monolite' directory may be out-of-date" 1>&2
|
||||
@echo "*** The contents of your 'monolite-$(BUILD_PLATFORM)/$(MONO_CORLIB_VERSION)' directory may be out-of-date" 1>&2
|
||||
@echo "*** You may want to try 'make get-monolite-latest'" 1>&2
|
||||
rm -f $(monolite_flag)
|
||||
exit 1
|
||||
@@ -97,12 +98,12 @@ do-profile-check-monolite:
|
||||
else
|
||||
|
||||
do-get-monolite:
|
||||
@echo "*** Downloading bootstrap required 'monolite'" 1>&2
|
||||
$(MAKE) $(MAKE_Q) -C $(mono_build_root) get-monolite-latest
|
||||
@echo "*** Downloading bootstrap required 'monolite-$(BUILD_PLATFORM)/$(MONO_CORLIB_VERSION)'" 1>&2
|
||||
$(MAKE) $(MAKE_Q) -C $(topdir)/class get-monolite-latest
|
||||
|
||||
do-profile-check-monolite: $(depsdir)/.stamp
|
||||
@echo "*** The runtime '$(PROFILE_RUNTIME)' doesn't appear to be usable." 1>&2
|
||||
@echo "*** Trying the 'monolite' directory." 1>&2
|
||||
@echo "*** Trying the 'monolite-$(BUILD_PLATFORM)/$(MONO_CORLIB_VERSION)' directory." 1>&2
|
||||
@echo dummy > $(monolite_flag)
|
||||
$(MAKE) do-profile-check
|
||||
|
||||
|
||||
@@ -6,12 +6,14 @@ BUILD_TOOLS_PROFILE = basic
|
||||
BOOTSTRAP_MCS = MONO_PATH="$(topdir)/class/lib/$(BOOTSTRAP_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(INTERNAL_CSC)
|
||||
MCS = $(BOOTSTRAP_MCS)
|
||||
|
||||
PLATFORMS = darwin linux win32
|
||||
|
||||
# nuttzing!
|
||||
|
||||
profile-check:
|
||||
@:
|
||||
|
||||
DEFAULT_REFERENCES = -r:$(topdir)/class/lib/$(PROFILE)/mscorlib.dll
|
||||
DEFAULT_REFERENCES = -r:$(topdir)/class/lib/$(PROFILE_DIRECTORY)/mscorlib.dll
|
||||
PROFILE_MCS_FLAGS = -d:NET_4_0 -d:NET_4_5 -d:MONO -d:WIN_PLATFORM -nowarn:1699 -nostdlib $(DEFAULT_REFERENCES)
|
||||
|
||||
NO_SIGN_ASSEMBLY = yes
|
||||
|
||||
@@ -5,9 +5,6 @@ BOOTSTRAP_PROFILE = build
|
||||
BOOTSTRAP_MCS = MONO_PATH="$(topdir)/class/lib/$(BOOTSTRAP_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(INTERNAL_CSC)
|
||||
MCS = $(BOOTSTRAP_MCS)
|
||||
|
||||
# Use system resgen as we don't want local System.Windows.Forms dependency
|
||||
RESGEN = resgen2
|
||||
|
||||
profile-check:
|
||||
@:
|
||||
|
||||
@@ -25,14 +22,12 @@ PROFILE_MCS_FLAGS = \
|
||||
-d:MOBILE_DYNAMIC \
|
||||
-d:MONODROID \
|
||||
-d:ANDROID \
|
||||
-d:NETSTANDARD \
|
||||
-nowarn:1699 \
|
||||
-nostdlib \
|
||||
$(DEFAULT_REFERENCES) \
|
||||
$(PLATFORM_DEBUG_FLAGS)
|
||||
|
||||
FRAMEWORK_VERSION = 2.1
|
||||
NO_TEST = yes
|
||||
|
||||
# the tuner takes care of the install
|
||||
NO_INSTALL = yes
|
||||
|
||||
@@ -5,11 +5,6 @@ BOOTSTRAP_PROFILE = build
|
||||
BOOTSTRAP_MCS = MONO_PATH="$(topdir)/class/lib/$(BOOTSTRAP_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(INTERNAL_CSC)
|
||||
MCS = $(BOOTSTRAP_MCS)
|
||||
|
||||
# Use system resgen as we don't want local System.Windows.Forms dependency
|
||||
RESGEN := $(dir $(shell which $(EXTERNAL_MCS)))resgen2
|
||||
|
||||
# nuttzing!
|
||||
|
||||
profile-check:
|
||||
@:
|
||||
|
||||
@@ -27,7 +22,6 @@ PROFILE_MCS_FLAGS = \
|
||||
-d:DISABLE_REMOTING \
|
||||
-d:DISABLE_COM \
|
||||
-d:FEATURE_INTERCEPTABLE_THREADPOOL_CALLBACK \
|
||||
-d:NETSTANDARD \
|
||||
-nowarn:1699 \
|
||||
-nostdlib \
|
||||
$(DEFAULT_REFERENCES) \
|
||||
@@ -43,3 +37,5 @@ MOBILE_PROFILE = yes
|
||||
NO_CONSOLE = yes
|
||||
|
||||
PROFILE_DISABLE_BTLS=1
|
||||
MONO_FEATURE_APPLETLS=1
|
||||
ONLY_APPLETLS=1
|
||||
@@ -9,3 +9,6 @@ NO_THREAD_SUSPEND_RESUME=1
|
||||
NO_MULTIPLE_APPDOMAINS=1
|
||||
NO_PROCESS_START=1
|
||||
NO_MONO_SECURITY=1
|
||||
MONO_FEATURE_APPLETLS=
|
||||
ONLY_APPLETLS=
|
||||
MONO_FEATURE_APPLE_X509=1
|
||||
@@ -10,3 +10,6 @@ NO_THREAD_SUSPEND_RESUME=1
|
||||
# so we need a System.dll that can do that.
|
||||
#NO_PROCESS_START=1
|
||||
NO_MONO_SECURITY=1
|
||||
MONO_FEATURE_APPLETLS=
|
||||
ONLY_APPLETLS=
|
||||
MONO_FEATURE_APPLE_X509=1
|
||||
@@ -5,13 +5,16 @@ BOOTSTRAP_PROFILE = build
|
||||
BOOTSTRAP_MCS = MONO_PATH="$(topdir)/class/lib/$(BOOTSTRAP_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(INTERNAL_CSC)
|
||||
MCS = $(BOOTSTRAP_MCS)
|
||||
|
||||
PLATFORMS = darwin linux win32
|
||||
|
||||
# nuttzing!
|
||||
|
||||
profile-check:
|
||||
@:
|
||||
|
||||
DEFAULT_REFERENCES = -r:$(topdir)/class/lib/$(PROFILE)/mscorlib.dll
|
||||
PROFILE_MCS_FLAGS = -d:NET_4_0 -d:NET_4_5 -d:NET_4_6 -d:MONO -d:WIN_PLATFORM -nowarn:1699 -nostdlib $(DEFAULT_REFERENCES) $(PLATFORM_DEBUG_FLAGS)
|
||||
DEFAULT_REFERENCES = -r:$(topdir)/class/lib/$(PROFILE_DIRECTORY)/mscorlib.dll
|
||||
PROFILE_MCS_FLAGS = -d:NET_4_0 -d:NET_4_5 -d:NET_4_6 -d:MONO -d:WIN_PLATFORM -d:MULTIPLEX_OS -nowarn:1699 -nostdlib $(DEFAULT_REFERENCES) $(PLATFORM_DEBUG_FLAGS)
|
||||
|
||||
FRAMEWORK_VERSION = 4.5
|
||||
XBUILD_VERSION = 4.0
|
||||
MONO_FEATURE_APPLETLS=1
|
||||
@@ -5,9 +5,6 @@ BOOTSTRAP_PROFILE = build
|
||||
BOOTSTRAP_MCS = MONO_PATH="$(topdir)/class/lib/$(BOOTSTRAP_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(INTERNAL_CSC)
|
||||
MCS = $(BOOTSTRAP_MCS)
|
||||
|
||||
# Use system resgen as we don't want local System.Windows.Forms dependency
|
||||
RESGEN = resgen2
|
||||
|
||||
profile-check:
|
||||
@:
|
||||
|
||||
@@ -21,10 +18,10 @@ PROFILE_MCS_FLAGS = \
|
||||
-d:NET_4_0 \
|
||||
-d:NET_4_5 \
|
||||
-d:MONO \
|
||||
-d:NETSTANDARD \
|
||||
-d:MOBILE,MOBILE_LEGACY \
|
||||
-d:FULL_AOT_DESKTOP \
|
||||
-d:FULL_AOT_RUNTIME \
|
||||
-d:ORBIS \
|
||||
-d:DISABLE_REMOTING \
|
||||
-d:DISABLE_COM \
|
||||
-nowarn:1699 \
|
||||
@@ -41,6 +38,7 @@ ALWAYS_AOT = yes
|
||||
MOBILE_PROFILE = yes
|
||||
NO_VTS_TEST = yes
|
||||
NO_CONSOLE = yes
|
||||
PROFILE_DISABLE_BTLS = yes
|
||||
|
||||
# Note need for trailing comma. If you add, keep it
|
||||
PROFILE_TEST_HARNESS_EXCLUDES = MobileNotWorking,PKITS,
|
||||
@@ -5,9 +5,6 @@ BOOTSTRAP_PROFILE = build
|
||||
BOOTSTRAP_MCS = MONO_PATH="$(topdir)/class/lib/$(BOOTSTRAP_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(INTERNAL_CSC)
|
||||
MCS = $(BOOTSTRAP_MCS)
|
||||
|
||||
# Use system resgen as we don't want local System.Windows.Forms dependency
|
||||
RESGEN = resgen2
|
||||
|
||||
profile-check:
|
||||
@:
|
||||
|
||||
@@ -21,7 +18,6 @@ PROFILE_MCS_FLAGS = \
|
||||
-d:NET_4_0 \
|
||||
-d:NET_4_5 \
|
||||
-d:MONO \
|
||||
-d:NETSTANDARD \
|
||||
-d:MOBILE,MOBILE_LEGACY \
|
||||
-d:FULL_AOT_DESKTOP \
|
||||
-d:FULL_AOT_RUNTIME \
|
||||
|
||||
@@ -5,9 +5,6 @@ BOOTSTRAP_PROFILE = build
|
||||
BOOTSTRAP_MCS = MONO_PATH="$(topdir)/class/lib/$(BOOTSTRAP_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(INTERNAL_CSC)
|
||||
MCS = $(BOOTSTRAP_MCS)
|
||||
|
||||
# Use system resgen as we don't want local System.Windows.Forms dependency
|
||||
RESGEN = resgen2
|
||||
|
||||
profile-check:
|
||||
@:
|
||||
|
||||
@@ -23,7 +20,6 @@ PROFILE_MCS_FLAGS = \
|
||||
-d:NET_4_0 \
|
||||
-d:NET_4_5 \
|
||||
-d:MONO \
|
||||
-d:NETSTANDARD \
|
||||
-nowarn:1699 \
|
||||
-nostdlib \
|
||||
$(DEFAULT_REFERENCES) \
|
||||
|
||||
@@ -5,9 +5,6 @@ BOOTSTRAP_PROFILE = build
|
||||
BOOTSTRAP_MCS = MONO_PATH="$(topdir)/class/lib/$(BOOTSTRAP_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(INTERNAL_CSC)
|
||||
MCS = $(BOOTSTRAP_MCS)
|
||||
|
||||
# Use system resgen as we don't want local System.Windows.Forms dependency
|
||||
RESGEN = resgen2
|
||||
|
||||
profile-check:
|
||||
@:
|
||||
|
||||
@@ -21,7 +18,6 @@ PROFILE_MCS_FLAGS = \
|
||||
-d:NET_4_0 \
|
||||
-d:NET_4_5 \
|
||||
-d:MONO \
|
||||
-d:NETSTANDARD \
|
||||
-d:MOBILE,MOBILE_LEGACY \
|
||||
-d:FULL_AOT_DESKTOP \
|
||||
-d:FULL_AOT_RUNTIME \
|
||||
|
||||
@@ -3,9 +3,6 @@ BOOTSTRAP_PROFILE = build
|
||||
BOOTSTRAP_MCS = MONO_PATH="$(topdir)/class/lib/$(BOOTSTRAP_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(INTERNAL_CSC)
|
||||
MCS = $(BOOTSTRAP_MCS)
|
||||
|
||||
# Use system resgen as we don't want local System.Windows.Forms dependency
|
||||
RESGEN := $(dir $(shell which $(EXTERNAL_MCS)))resgen2
|
||||
|
||||
profile-check:
|
||||
@:
|
||||
|
||||
@@ -24,7 +21,6 @@ PROFILE_MCS_FLAGS = \
|
||||
-d:XAMMAC \
|
||||
-d:FEATURE_INTERCEPTABLE_THREADPOOL_CALLBACK \
|
||||
-d:XAMARIN_MODERN \
|
||||
-d:NETSTANDARD \
|
||||
-nowarn:1699 \
|
||||
-nostdlib \
|
||||
$(DEFAULT_REFERENCES) \
|
||||
@@ -39,3 +35,5 @@ MOBILE_PROFILE = yes
|
||||
NO_CONSOLE = yes
|
||||
|
||||
PROFILE_DISABLE_BTLS=1
|
||||
MONO_FEATURE_APPLETLS=1
|
||||
ONLY_APPLETLS=1
|
||||
@@ -1,6 +1,6 @@
|
||||
include $(topdir)/build/profiles/net_4_x.make
|
||||
|
||||
PROFILE_MCS_FLAGS += \
|
||||
PROFILE_MCS_FLAGS = -d:NET_4_0 -d:NET_4_5 -d:NET_4_6 -d:MONO -nowarn:1699 -nostdlib $(DEFAULT_REFERENCES) $(PLATFORM_DEBUG_FLAGS) \
|
||||
-d:FEATURE_INTERCEPTABLE_THREADPOOL_CALLBACK \
|
||||
-d:NO_SYSTEM_DRAWING_DEPENDENCY \
|
||||
-d:NO_WINFORMS_DEPENDENCY \
|
||||
@@ -18,5 +18,6 @@ NO_SYSTEM_DRAWING_DEPENDENCY=1
|
||||
NO_SYSTEM_SERVICEMODEL_ACTIVATION_DEPENDENCY=1
|
||||
NO_SYSTEM_DESIGN_DEPENDENCY=1
|
||||
NO_SYSTEM_DIRECTORY_SERVICES_DEPENDENCY=1
|
||||
|
||||
PROFILE_DISABLE_BTLS=1
|
||||
MONO_FEATURE_APPLETLS=1
|
||||
ONLY_APPLETLS=1
|
||||
@@ -2,8 +2,10 @@
|
||||
|
||||
include $(topdir)/build/profiles/net_4_x.make
|
||||
|
||||
PARENT_PROFILE = ../net_4_x/
|
||||
DEFAULT_REFERENCES = -r:$(topdir)/class/lib/net_4_x/mscorlib.dll
|
||||
PLATFORMS:=
|
||||
|
||||
PARENT_PROFILE = ../net_4_x$(if $(PROFILE_PLATFORM),-$(PROFILE_PLATFORM))/
|
||||
DEFAULT_REFERENCES = -r:$(topdir)/class/lib/net_4_x$(if $(PROFILE_PLATFORM),-$(PROFILE_PLATFORM))/mscorlib.dll
|
||||
PROFILE_MCS_FLAGS += -d:XBUILD_12
|
||||
|
||||
XBUILD_VERSION = 12.0
|
||||
+28
-55
@@ -22,8 +22,8 @@ VERSION = 0.93
|
||||
|
||||
Q=$(if $(V),,@)
|
||||
# echo -e "\\t" does not work on some systems, so use 5 spaces
|
||||
Q_MCS=$(if $(V),,@echo "$(if $(MCS_MODE),MCS,CSC) [$(intermediate)$(PROFILE)] $(notdir $(@))";)
|
||||
Q_AOT=$(if $(V),,@echo "AOT [$(intermediate)$(PROFILE)] $(notdir $(@))";)
|
||||
Q_MCS=$(if $(V),,@echo "$(if $(MCS_MODE),MCS,CSC) [$(intermediate)$(PROFILE_DIRECTORY)] $(notdir $(@))";)
|
||||
Q_AOT=$(if $(V),,@echo "AOT [$(intermediate)$(PROFILE_DIRECTORY)] $(notdir $(@))";)
|
||||
|
||||
ifndef BUILD_TOOLS_PROFILE
|
||||
BUILD_TOOLS_PROFILE = build
|
||||
@@ -33,7 +33,7 @@ USE_MCS_FLAGS = /codepage:$(CODEPAGE) /nologo /noconfig /deterministic $(LOCAL_M
|
||||
USE_MBAS_FLAGS = /codepage:$(CODEPAGE) $(LOCAL_MBAS_FLAGS) $(PLATFORM_MBAS_FLAGS) $(PROFILE_MBAS_FLAGS) $(MBAS_FLAGS)
|
||||
USE_CFLAGS = $(LOCAL_CFLAGS) $(CFLAGS) $(CPPFLAGS)
|
||||
CSCOMPILE = $(Q_MCS) $(MCS) $(USE_MCS_FLAGS)
|
||||
CSC_RUNTIME_FLAGS = --aot-path=$(topdir)/class/lib/$(BUILD_TOOLS_PROFILE) --gc-params=nursery-size=64m
|
||||
CSC_RUNTIME_FLAGS = --aot-path=$(abspath $(topdir)/class/lib/$(BUILD_TOOLS_PROFILE)) --gc-params=nursery-size=64m
|
||||
BASCOMPILE = $(MBAS) $(USE_MBAS_FLAGS)
|
||||
CCOMPILE = $(CC) $(USE_CFLAGS)
|
||||
BOOT_COMPILE = $(Q_MCS) $(BOOTSTRAP_MCS) $(USE_MCS_FLAGS)
|
||||
@@ -49,16 +49,13 @@ INTERNAL_CSC_LOCATION = $(CSC_LOCATION)
|
||||
# Using CSC_SDK_PATH_DISABLED for sanity check that all references have path specified
|
||||
INTERNAL_CSC = CSC_SDK_PATH_DISABLED= $(RUNTIME) $(RUNTIME_FLAGS) $(CSC_RUNTIME_FLAGS) $(INTERNAL_CSC_LOCATION)
|
||||
|
||||
RESGEN_EXE = $(topdir)/class/lib/$(PROFILE)/$(PARENT_PROFILE)resgen.exe
|
||||
INTERNAL_RESGEN = $(RUNTIME) $(RUNTIME_FLAGS) $(RESGEN_EXE)
|
||||
RESGEN = MONO_PATH="$(topdir)/class/lib/$(PROFILE)/$(PARENT_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(INTERNAL_RESGEN)
|
||||
RESGEN = MONO_PATH="$(topdir)/class/lib/$(BUILD_TOOLS_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(RUNTIME) $(RUNTIME_FLAGS) $(RESGEN_EXE) $(topdir)/class/lib/$(BUILD_TOOLS_PROFILE)/resgen.exe
|
||||
STRING_REPLACER = MONO_PATH="$(topdir)/class/lib/$(BUILD_TOOLS_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(RUNTIME) $(RUNTIME_FLAGS) $(topdir)/class/lib/$(BUILD_TOOLS_PROFILE)/cil-stringreplacer.exe
|
||||
|
||||
depsdir = $(topdir)/build/deps
|
||||
|
||||
# Make sure these propagate if set manually
|
||||
|
||||
export PLATFORM
|
||||
export PROFILE
|
||||
export MCS
|
||||
export MCS_FLAGS
|
||||
@@ -77,31 +74,18 @@ export RESGEN
|
||||
default: all
|
||||
|
||||
# Get initial configuration. pre-config is so that the builder can
|
||||
# override PLATFORM or PROFILE
|
||||
# override BUILD_PLATFORM or PROFILE
|
||||
|
||||
include $(topdir)/build/config-default.make
|
||||
-include $(topdir)/build/pre-config.make
|
||||
-include $(topdir)/build/config.make
|
||||
|
||||
# Default PLATFORM and PROFILE if they're not already defined.
|
||||
|
||||
ifndef PLATFORM
|
||||
ifeq ($(OS),Windows_NT)
|
||||
ifneq ($(V),)
|
||||
$(info *** Assuming PLATFORM is 'win32'.)
|
||||
endif
|
||||
PLATFORM = win32
|
||||
else
|
||||
ifneq ($(V),)
|
||||
$(info *** Assuming PLATFORM is 'linux'.)
|
||||
endif
|
||||
PLATFORM = linux
|
||||
endif
|
||||
endif
|
||||
|
||||
# Platform config
|
||||
|
||||
include $(topdir)/build/platforms/$(PLATFORM).make
|
||||
include $(topdir)/build/platforms/$(BUILD_PLATFORM).make
|
||||
|
||||
PROFILE_PLATFORM = $(if $(PLATFORMS),$(if $(filter $(PLATFORMS),$(HOST_PLATFORM)),$(HOST_PLATFORM),$(error Unknown platform "$(HOST_PLATFORM)" for profile "$(PROFILE)")))
|
||||
PROFILE_DIRECTORY = $(PROFILE)$(if $(PROFILE_PLATFORM),-$(PROFILE_PLATFORM))
|
||||
|
||||
ifdef PLATFORM_CORLIB
|
||||
corlib = $(PLATFORM_CORLIB)
|
||||
@@ -226,37 +210,34 @@ csproj: do-csproj
|
||||
# be listed _before_ including rules.make. However, the default
|
||||
# SUBDIRS list can come after, so don't use the eager := syntax when
|
||||
# using the defaults.
|
||||
PROFILE_SUBDIRS := $($(PROFILE)_SUBDIRS)
|
||||
ifndef PROFILE_SUBDIRS
|
||||
PROFILE_SUBDIRS = $(SUBDIRS)
|
||||
endif
|
||||
PROFILE_SUBDIRS = $(or $($(PROFILE)_SUBDIRS),$(SUBDIRS))
|
||||
|
||||
# These subdirs can be built in parallel
|
||||
PROFILE_PARALLEL_SUBDIRS := $($(PROFILE)_PARALLEL_SUBDIRS)
|
||||
ifndef PROFILE_PARALLEL_SUBDIRS
|
||||
PROFILE_PARALLEL_SUBDIRS = $(PARALLEL_SUBDIRS)
|
||||
endif
|
||||
PROFILE_PARALLEL_SUBDIRS = $(or $($(PROFILE)_PARALLEL_SUBDIRS),$(PARALLEL_SUBDIRS))
|
||||
|
||||
ifndef FRAMEWORK_VERSION_MAJOR
|
||||
FRAMEWORK_VERSION_MAJOR = $(basename $(FRAMEWORK_VERSION))
|
||||
endif
|
||||
|
||||
%-recursive:
|
||||
@set . $$MAKEFLAGS; final_exit=:; \
|
||||
@set . $$MAKEFLAGS; \
|
||||
case $$2 in --unix) shift ;; esac; \
|
||||
case $$2 in *=*) dk="exit 1" ;; *k*) dk=: ;; *) dk="exit 1" ;; esac; \
|
||||
list='$(PROFILE_SUBDIRS)'; for d in $$list ; do \
|
||||
(cd $$d && $(MAKE) $*) || { final_exit="exit 1"; $$dk; } ; \
|
||||
done; \
|
||||
if [ $* = "all" -a -n "$(PROFILE_PARALLEL_SUBDIRS)" ]; then \
|
||||
$(MAKE) do-all-parallel ENABLE_PARALLEL_SUBDIR_BUILD=1 || { final_exit="exit 1"; $$dk; } ; \
|
||||
else \
|
||||
list='$(PROFILE_PARALLEL_SUBDIRS)'; for d in $$list ; do \
|
||||
(cd $$d && $(MAKE) $*) || { final_exit="exit 1"; $$dk; } ; \
|
||||
done; \
|
||||
fi; \
|
||||
final_exit=:; \
|
||||
$(foreach subdir,$(PROFILE_SUBDIRS),$(MAKE) -C $(subdir) $* || { final_exit="exit 1"; $$dk; };) \
|
||||
$(if $(PROFILE_PARALLEL_SUBDIRS), \
|
||||
$(if $(filter $*,all), \
|
||||
$(MAKE) $(PROFILE_PARALLEL_SUBDIRS) ENABLE_PARALLEL_SUBDIR_BUILD=1 || { final_exit="exit 1"; $$dk; };, \
|
||||
$(foreach subdir,$(PROFILE_PARALLEL_SUBDIRS),$(MAKE) -C $(subdir) $* || { final_exit="exit 1"; $$dk; };))) \
|
||||
$$final_exit
|
||||
|
||||
ifdef ENABLE_PARALLEL_SUBDIR_BUILD
|
||||
.PHONY: $(PROFILE_PARALLEL_SUBDIRS)
|
||||
$(PROFILE_PARALLEL_SUBDIRS):
|
||||
@set . $$MAKEFLAGS; \
|
||||
$(MAKE) -C $@ all
|
||||
endif
|
||||
|
||||
#
|
||||
# Parallel build support
|
||||
#
|
||||
@@ -289,16 +270,6 @@ clean-dep-dir:
|
||||
|
||||
clean-local: clean-dep-dir
|
||||
|
||||
ifdef ENABLE_PARALLEL_SUBDIR_BUILD
|
||||
.PHONY: do-all-parallel $(PROFILE_PARALLEL_SUBDIRS)
|
||||
|
||||
do-all-parallel: $(PROFILE_PARALLEL_SUBDIRS)
|
||||
|
||||
$(PROFILE_PARALLEL_SUBDIRS):
|
||||
@set . $$MAKEFLAGS; \
|
||||
cd $@ && $(MAKE)
|
||||
endif
|
||||
|
||||
ifndef DIST_SUBDIRS
|
||||
DIST_SUBDIRS = $(SUBDIRS) $(DIST_ONLY_SUBDIRS)
|
||||
endif
|
||||
@@ -339,6 +310,8 @@ dist-default:
|
||||
|
||||
## Documentation stuff
|
||||
|
||||
Q_MDOC =$(if $(V),,@echo "MDOC [$(PROFILE)] $(notdir $(@))";)
|
||||
Q_MDOC =$(if $(V),,@echo "MDOC [$(PROFILE_DIRECTORY)] $(notdir $(@))";)
|
||||
MDOC =$(Q_MDOC) MONO_PATH="$(topdir)/class/lib/$(DEFAULT_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(RUNTIME) $(topdir)/class/lib/$(DEFAULT_PROFILE)/mdoc.exe
|
||||
|
||||
Q_MDOC_UP=$(if $(V),,@echo "MDOC-UP [$(PROFILE_DIRECTORY)] $(notdir $(@))";)
|
||||
MDOC_UP =$(Q_MDOC_UP) MONO_PATH="$(topdir)/class/lib/$(DEFAULT_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(RUNTIME) $(topdir)/class/lib/$(DEFAULT_PROFILE)/mdoc.exe update --delete -o Documentation/en
|
||||
@@ -20,8 +20,19 @@ TEST_RUNTIME_WRAPPERS_PATH = $(shell dirname $(RUNTIME))/_tmpinst/bin
|
||||
ifndef NO_TEST
|
||||
|
||||
test_nunit_lib = nunitlite.dll
|
||||
xunit_core := xunit.core xunit.abstractions xunit.assert Xunit.NetCore.Extensions
|
||||
xunit_deps := System.Runtime
|
||||
xunit_src := $(patsubst %,$(topdir)/../external/xunit-binaries/%,BenchmarkAttribute.cs BenchmarkDiscover.cs)
|
||||
xunit_class_deps :=
|
||||
|
||||
xunit_libs_ref = $(patsubst %,-r:$(topdir)/../external/xunit-binaries/%.dll,$(xunit_core))
|
||||
xunit_libs_ref += $(patsubst %,-r:$(topdir)/class/lib/$(PROFILE)/Facades/%.dll,$(xunit_deps))
|
||||
|
||||
xunit_libs_dep = $(xunit_class_deps:%=$(topdir)/class/lib/$(PROFILE)/$(PARENT_PROFILE)%.dll)
|
||||
xunit_libs_ref += $(xunit_libs_dep:%=-r:%)
|
||||
|
||||
TEST_LIB_MCS_FLAGS = $(patsubst %,-r:$(topdir)/class/lib/$(PROFILE)/%.dll,$(TEST_LIB_REFS))
|
||||
XTEST_LIB_MCS_FLAGS = $(patsubst %,-r:$(topdir)/class/lib/$(PROFILE)/%.dll,$(XTEST_LIB_REFS))
|
||||
|
||||
test_nunit_dep = $(test_nunit_lib:%=$(topdir)/class/lib/$(PROFILE)/$(PARENT_PROFILE)%)
|
||||
test_nunit_ref = $(test_nunit_dep:%=-r:%)
|
||||
@@ -34,6 +45,7 @@ test_sourcefile = $(ASSEMBLY:$(ASSEMBLY_EXT)=_test.dll.sources)
|
||||
endif
|
||||
|
||||
test_lib = $(PROFILE)_$(ASSEMBLY:$(ASSEMBLY_EXT)=_test.dll)
|
||||
|
||||
test_sourcefile_excludes = $(test_lib).exclude.sources
|
||||
|
||||
test_pdb = $(test_lib:.dll=.pdb)
|
||||
@@ -42,12 +54,28 @@ test_makefrag = $(depsdir)/$(test_lib).makefrag
|
||||
test_flags = -r:$(the_assembly) $(test_nunit_ref) $(TEST_MCS_FLAGS) $(TEST_LIB_MCS_FLAGS)
|
||||
tests_CLEAN_FILES += $(ASSEMBLY:$(ASSEMBLY_EXT)=_test*.dll) $(ASSEMBLY:$(ASSEMBLY_EXT)=_test*.pdb) $(test_response) $(test_makefrag)
|
||||
|
||||
xtest_sourcefile = $(PROFILE)_$(ASSEMBLY:$(ASSEMBLY_EXT)=_xtest.dll.sources)
|
||||
|
||||
|
||||
xunit_test_lib = $(PROFILE)_$(ASSEMBLY:$(ASSEMBLY_EXT)=_xunit-test.dll)
|
||||
|
||||
xtest_response = $(depsdir)/$(xunit_test_lib).response
|
||||
xtest_makefrag = $(depsdir)/$(xunit_test_lib).makefrag
|
||||
xtest_flags = -r:$(the_assembly) $(xunit_libs_ref) $(XTEST_MCS_FLAGS) $(XTEST_LIB_MCS_FLAGS)
|
||||
|
||||
ifeq ($(wildcard $(xtest_sourcefile)),)
|
||||
xtest_sourcefile = $(ASSEMBLY:$(ASSEMBLY_EXT)=_xtest.dll.sources)
|
||||
tests_CLEAN_FILES += $(xunit_test_lib) $(xtest_response) $(xtest_makefrag)
|
||||
endif
|
||||
|
||||
ifndef HAVE_CS_TESTS
|
||||
HAVE_CS_TESTS := $(wildcard $(test_sourcefile))
|
||||
endif
|
||||
|
||||
HAVE_SOURCE_EXCLUDES := $(wildcard $(test_sourcefile_excludes))
|
||||
|
||||
HAVE_CS_XTESTS := $(wildcard $(xtest_sourcefile))
|
||||
|
||||
endif # !NO_TEST
|
||||
|
||||
ifndef NO_TEST
|
||||
@@ -61,6 +89,7 @@ endif
|
||||
echo "stamp" >$@
|
||||
|
||||
tests_CLEAN_FILES += $(topdir)/build/deps/nunit-$(PROFILE).stamp
|
||||
|
||||
endif
|
||||
|
||||
test_assemblies :=
|
||||
@@ -157,6 +186,57 @@ $(test_makefrag): $(test_response)
|
||||
|
||||
-include $(test_makefrag)
|
||||
|
||||
build-test-lib: $(test_lib)
|
||||
@echo Building testing lib
|
||||
|
||||
endif
|
||||
|
||||
|
||||
ifdef HAVE_CS_XTESTS
|
||||
|
||||
XTEST_HARNESS_PATH = $(topdir)/../external/xunit-binaries
|
||||
XTEST_HARNESS = $(XTEST_HARNESS_PATH)/xunit.console.exe
|
||||
XTEST_HARNESS_FLAGS := -noappdomain -noshadow -parallel none -nunit TestResult-$(PROFILE)-xunit.xml
|
||||
XTEST_TRAIT := -notrait category=failing -notrait category=nonnetcoreapptests -notrait Benchmark=true -notrait category=outerloop
|
||||
|
||||
ifdef FIXTURE
|
||||
XTEST_HARNESS_FLAGS += -class $(FIXTURE)
|
||||
endif
|
||||
|
||||
ifdef TESTNAME
|
||||
XTEST_HARNESS_FLAGS += -method $(TESTNAME)
|
||||
endif
|
||||
|
||||
check: run-xunit-test-local
|
||||
run-xunit-test: run-xunit-test-local
|
||||
xunit-test-local: $(xunit_test_lib)
|
||||
run-xunit-test-local: run-xunit-test-lib
|
||||
|
||||
# ln -s is a HACK for xunit runner to require xunit.execution.desktop.dll file in local folder on .net only
|
||||
run-xunit-test-lib: xunit-test-local
|
||||
@ln -fs $(XTEST_HARNESS_PATH)/xunit.execution.desktop.dll xunit.execution.desktop.dll
|
||||
ok=:; \
|
||||
PATH="$(TEST_RUNTIME_WRAPPERS_PATH):$(PATH)" $(TEST_RUNTIME) $(RUNTIME_FLAGS) $(AOT_RUN_FLAGS) $(XTEST_HARNESS) $(xunit_test_lib) $(XTEST_HARNESS_FLAGS) $(XTEST_TRAIT) || ok=false; \
|
||||
$$ok
|
||||
@rm -f xunit.execution.desktop.dll
|
||||
|
||||
$(xunit_test_lib): $(the_assembly) $(xtest_response) $(xunit_libs_dep) $(xunit_src)
|
||||
$(TEST_COMPILE) $(LIBRARY_FLAGS) $(XTEST_LIB_FLAGS) -target:library -out:$@ $(xtest_flags) @$(xtest_response) $(xunit_src)
|
||||
|
||||
xtest_response_preprocessed = $(xtest_response)_preprocessed
|
||||
|
||||
# This handles .excludes/.sources pairs, as well as resolving the
|
||||
# includes that occur in .sources files
|
||||
$(xtest_response): $(xtest_sourcefile)
|
||||
$(SHELL) $(topdir)/build/gensources.sh $@ '$(xtest_sourcefile)' '$(xtest_sourcefile_excludes)'
|
||||
|
||||
$(xtest_makefrag): $(xtest_response)
|
||||
@echo Creating $@ ...
|
||||
@sed 's,^,$(xunit_test_lib): ,' $< >$@
|
||||
|
||||
-include $(xtest_makefrag)
|
||||
|
||||
endif
|
||||
|
||||
|
||||
.PHONY: patch-nunitlite-appconfig
|
||||
@@ -1,2 +1,3 @@
|
||||
/lib
|
||||
/compat/
|
||||
monolite-*.tar.gz
|
||||
Loaded 100 of 5881 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user