mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 17:02:10 -10:00
Compare commits
3124
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
39652536ab | ||
|
|
44d55466ba | ||
|
|
aef3355422 | ||
|
|
21d6b331fc | ||
|
|
e87d1235da | ||
|
|
b9fb4d8857 | ||
|
|
b7031bccfc | ||
|
|
3538148a18 | ||
|
|
947e457f0e | ||
|
|
7f0c97aa03 | ||
|
|
85cfb9ccab | ||
|
|
22a6ec10b1 | ||
|
|
454bd206aa | ||
|
|
4adf8229e8 | ||
|
|
de4729fae2 | ||
|
|
721462c4a1 | ||
|
|
177997b063 | ||
|
|
c8845164ad | ||
|
|
ac87945049 | ||
|
|
5ef368bb1e | ||
|
|
c67ec40879 | ||
|
|
fd1fd05f18 | ||
|
|
936f7841d7 | ||
|
|
9a2f778a91 | ||
|
|
96eee2f901 | ||
|
|
28e047fd35 | ||
|
|
0d51a8063b | ||
|
|
b232a3929b | ||
|
|
fbc4f0546d | ||
|
|
d0c1e9d32b | ||
|
|
778a70ba01 | ||
|
|
f83b8da83e | ||
|
|
f12e936ca3 | ||
|
|
3977339940 | ||
|
|
cb15effa2f | ||
|
|
2ad3f0bf9e | ||
|
|
899599b951 | ||
|
|
3da56339ec | ||
|
|
a0af42ab18 | ||
|
|
aab818fbf3 | ||
|
|
4b1745401d | ||
|
|
1746c18f79 | ||
|
|
38c4fa936f | ||
|
|
c1fcbe0ae8 | ||
|
|
b66bc5390f | ||
|
|
0501da7b55 | ||
|
|
587fed1498 | ||
|
|
e62d2ff40f | ||
|
|
f5e8783eee | ||
|
|
231983017c | ||
|
|
b6bff2a286 | ||
|
|
142047819b | ||
|
|
e146c01ec9 | ||
|
|
7d20732432 | ||
|
|
fa7740e0a1 | ||
|
|
8a3c54a555 | ||
|
|
a5ccbc4f92 | ||
|
|
71fdb336b8 | ||
|
|
6ea480ea70 | ||
|
|
9407a08c98 | ||
|
|
a024fe40af | ||
|
|
6094376b9d | ||
|
|
bfc7397859 | ||
|
|
4cefdc21f5 | ||
|
|
79b419483f | ||
|
|
0dbef43aa8 | ||
|
|
6be8ed4490 | ||
|
|
e87f9d77e7 | ||
|
|
2c07caaa89 | ||
|
|
f59d94b8ef | ||
|
|
8690335a1b | ||
|
|
98a566225a | ||
|
|
4837409ab5 | ||
|
|
b05dad9f31 | ||
|
|
94fa6e513e | ||
|
|
84c3251449 | ||
|
|
f9011ff53a | ||
|
|
664424113b | ||
|
|
008fadc689 | ||
|
|
8ab23120b1 | ||
|
|
d7e3297640 | ||
|
|
2ab1f71dc7 | ||
|
|
c0264304e7 | ||
|
|
c7837d7526 | ||
|
|
df24f1e8da | ||
|
|
d54e8b4e13 | ||
|
|
4eae0ba533 | ||
|
|
f4ac568f87 | ||
|
|
62f7ec0ae8 | ||
|
|
bb98788ef5 | ||
|
|
e292c7b245 | ||
|
|
b0a755079e | ||
|
|
e131c9ce2a | ||
|
|
4da306a2ca | ||
|
|
ba2ad8a64e | ||
|
|
5a725c544d | ||
|
|
aa440dbfba | ||
|
|
c085d00019 | ||
|
|
57500fce5d | ||
|
|
11bea3ec41 | ||
|
|
570226dc13 | ||
|
|
123d623cf8 | ||
|
|
9ccd1450ab | ||
|
|
d303a9096c | ||
|
|
12fa379c6a | ||
|
|
4796de33e9 | ||
|
|
1d5a4b8440 | ||
|
|
a9e184e780 | ||
|
|
041e1dd073 | ||
|
|
a4c1776ccb | ||
|
|
30737519b8 | ||
|
|
0a30e46bb2 | ||
|
|
a76978f83a | ||
|
|
becaba2655 | ||
|
|
88f7b739ee | ||
|
|
40432cd2ca | ||
|
|
52e225e4b1 | ||
|
|
70a71e69fe | ||
|
|
a59563176a | ||
|
|
a496a9a5ff | ||
|
|
26f12f2f9c | ||
|
|
bdf199da26 | ||
|
|
00413c20a2 | ||
|
|
70fe915df2 | ||
|
|
4dee5cabd9 | ||
|
|
a250365791 | ||
|
|
b6677cc2ba | ||
|
|
dcaf47f518 | ||
|
|
30d69ae55e | ||
|
|
519e15744c | ||
|
|
907075a5f0 | ||
|
|
3a0de9703b | ||
|
|
d4ffec6385 | ||
|
|
4116105b8b | ||
|
|
34634352e1 | ||
|
|
4b62c55e7d | ||
|
|
9a2543e8c0 | ||
|
|
a68cfd2ffa | ||
|
|
84f05e8817 | ||
|
|
ea6f8ab201 | ||
|
|
17f4b4286f | ||
|
|
4f130913c6 | ||
|
|
dd1faf6f54 | ||
|
|
febbfd1e3e | ||
|
|
0c5a524e50 | ||
|
|
ec4a957151 | ||
|
|
58618dea1e | ||
|
|
a21fb19fc7 | ||
|
|
db05a2523c | ||
|
|
2bab8fa49e | ||
|
|
5bdaef7e5f | ||
|
|
d107f0852c | ||
|
|
e2e34c157c | ||
|
|
0ae98538f6 | ||
|
|
f714138216 | ||
|
|
ce96441a10 | ||
|
|
465e2036d3 | ||
|
|
f079d5f961 | ||
|
|
13d221bf40 | ||
|
|
f408d2c4c4 | ||
|
|
c12b749434 | ||
|
|
225071a2a5 | ||
|
|
c8bf8c287a | ||
|
|
3635db23fc | ||
|
|
9c2c689a61 | ||
|
|
dcbc55c615 | ||
|
|
73c6a2ee50 | ||
|
|
26de079c89 | ||
|
|
be6c2af639 | ||
|
|
384a163cfa | ||
|
|
0c873d207a | ||
|
|
2bd75f83ea | ||
|
|
0239710580 | ||
|
|
0c88bc2ca3 | ||
|
|
804979969a | ||
|
|
370fd7bb86 | ||
|
|
c5d3bf2428 | ||
|
|
33afa19ce3 | ||
|
|
425c62c5da | ||
|
|
c79c456bd8 | ||
|
|
58d94f4f7f | ||
|
|
b4eb34de9b | ||
|
|
38cc502132 | ||
|
|
8d1ef54321 | ||
|
|
c36f5afb58 | ||
|
|
22d22ff3d5 | ||
|
|
cd46e14ee4 | ||
|
|
832e161fc9 | ||
|
|
8d487ae8e2 | ||
|
|
c92f638d2e | ||
|
|
7ed2c02d0c | ||
|
|
fcfaf09acb | ||
|
|
ccc1bd2c18 | ||
|
|
afea7b6c79 | ||
|
|
eb11cee53c | ||
|
|
0927d51418 | ||
|
|
b3fad3f0f8 | ||
|
|
f5fc773512 | ||
|
|
87500ea50a | ||
|
|
ea10d2f2f8 | ||
|
|
6be02ed6c7 | ||
|
|
3b00c67e0a | ||
|
|
82151ac4fa | ||
|
|
2ab06befe9 | ||
|
|
dcf567ff64 | ||
|
|
c1fd42eac8 | ||
|
|
984f648466 | ||
|
|
20de41832a | ||
|
|
41a3571272 | ||
|
|
198147add4 | ||
|
|
b25e55028b | ||
|
|
a84fa6652f | ||
|
|
6ed4adc2d8 | ||
|
|
22f0977132 | ||
|
|
22adb80c21 | ||
|
|
5f7452f384 | ||
|
|
f3706fac10 | ||
|
|
46c997fdf7 | ||
|
|
82bca175c4 | ||
|
|
e51565c7e5 | ||
|
|
9ed8574570 | ||
|
|
031405e9cc | ||
|
|
e8e92e5323 | ||
|
|
d29cc4770a | ||
|
|
b736b420b5 | ||
|
|
ec117584a2 | ||
|
|
4f0fd2a59b | ||
|
|
3325bdfbd5 | ||
|
|
78933c423f | ||
|
|
98d3906a39 | ||
|
|
5ef930b5f8 | ||
|
|
7b4dfeebc4 | ||
|
|
edc590a3d3 | ||
|
|
4535442e84 | ||
|
|
484a9089a8 | ||
|
|
e663bd7c92 | ||
|
|
5eb884bab8 | ||
|
|
431e36f731 | ||
|
|
1cc3bc58be | ||
|
|
ecd85dc839 | ||
|
|
5c2a49f4b6 | ||
|
|
00e2b06f2f | ||
|
|
c2fceeaf39 | ||
|
|
19a7107a03 | ||
|
|
9107efe94d | ||
|
|
7ed25b0be4 | ||
|
|
011d28de46 | ||
|
|
16cf089281 | ||
|
|
0f985ed885 | ||
|
|
76872edd27 | ||
|
|
d1748f7c58 | ||
|
|
7c8f5e02b2 | ||
|
|
9b0c6fc45d | ||
|
|
0d123027b0 | ||
|
|
c7f9875f27 | ||
|
|
cbe30987b0 | ||
|
|
0abcdc9c60 | ||
|
|
8ab10ff01d | ||
|
|
53084a4098 | ||
|
|
80788a3c50 | ||
|
|
908d10de6c | ||
|
|
528e793ce3 | ||
|
|
aa19b6aa18 | ||
|
|
5d2febd966 | ||
|
|
076632c3e9 | ||
|
|
718247da6f | ||
|
|
f1f3ae49f0 | ||
|
|
9d6f430994 | ||
|
|
8aed7ab89c | ||
|
|
c8cd5a5710 | ||
|
|
ddace393cf | ||
|
|
27eed3574d | ||
|
|
8e09c454f4 | ||
|
|
6549011576 | ||
|
|
8ea4864f30 | ||
|
|
9a882ab9cf | ||
|
|
d3c7faa750 | ||
|
|
7e9074b54c | ||
|
|
ef0f3a53f3 | ||
|
|
1f59d0958f | ||
|
|
e5248979fe | ||
|
|
6beed5f791 | ||
|
|
a178a5273a | ||
|
|
2c160ed9a7 | ||
|
|
73bd521c07 | ||
|
|
a6e7c1f81c | ||
|
|
fab0ce54d3 | ||
|
|
21ba3d0d9d | ||
|
|
3259e04ace | ||
|
|
92f20ae75d | ||
|
|
0bbc3e8c15 | ||
|
|
009b508174 | ||
|
|
dae27ef2ba | ||
|
|
a985310287 | ||
|
|
e5a8111a64 | ||
|
|
1d7ec6a3d7 | ||
|
|
7a22e06622 | ||
|
|
b44333823d | ||
|
|
f1a22f31a7 | ||
|
|
c498a00479 | ||
|
|
c2ea774d4c | ||
|
|
9c64c7d390 | ||
|
|
29d2176893 | ||
|
|
e608ed2386 | ||
|
|
24fc118eef | ||
|
|
18fb8563fb | ||
|
|
5cf1aada52 | ||
|
|
421f8553fb | ||
|
|
e3862cb004 | ||
|
|
937fcd1023 | ||
|
|
9a143f99ca | ||
|
|
82e9c5ccd7 | ||
|
|
1b9e3ec070 | ||
|
|
04d0d026b8 | ||
|
|
3d80b0b50e | ||
|
|
0d10ad9a26 | ||
|
|
c8ed7a1715 | ||
|
|
426109e9c9 | ||
|
|
9e8a648fa7 | ||
|
|
cb8d515c00 | ||
|
|
d9224b10b2 | ||
|
|
48c111e123 | ||
|
|
fed2587457 | ||
|
|
0d6f22f04c | ||
|
|
7cb492db00 | ||
|
|
88e9d00c52 | ||
|
|
07d07ad907 | ||
|
|
491f4b651f | ||
|
|
af08374ef2 | ||
|
|
3e1eeec6c3 | ||
|
|
2bb178c7a8 | ||
|
|
1f4bd60284 | ||
|
|
4d02be3abf | ||
|
|
5bc422d733 | ||
|
|
d416f570bd | ||
|
|
b488cacd50 | ||
|
|
0435b2ba16 | ||
|
|
8a82b292fb | ||
|
|
51a8a45906 | ||
|
|
ae9cef9103 | ||
|
|
375471820c | ||
|
|
c0f6935b45 | ||
|
|
8b7df777bb | ||
|
|
bcaca2dbaf | ||
|
|
401ed4d16c | ||
|
|
2cc1ae3b29 | ||
|
|
ca8b8bd346 | ||
|
|
50fa04c136 | ||
|
|
115b290143 | ||
|
|
43a23e71e5 | ||
|
|
6910dd4bc0 | ||
|
|
c58ab6f4cb | ||
|
|
93ad6575a5 | ||
|
|
3318b29704 | ||
|
|
67160915c9 | ||
|
|
52d836f5e2 | ||
|
|
2255c54966 | ||
|
|
0bba45f06e | ||
|
|
a5248e5e11 | ||
|
|
a6c2080c24 | ||
|
|
26b76cb879 | ||
|
|
c445fa3262 | ||
|
|
0257dcde58 | ||
|
|
33eb71ae07 | ||
|
|
bf1b5dced0 | ||
|
|
2f308109e1 | ||
|
|
d1ece840fe | ||
|
|
5f35ea4b68 | ||
|
|
05fae5f1fa | ||
|
|
2503f874ca | ||
|
|
f23ce4f37e | ||
|
|
9afe9e1445 | ||
|
|
d59f8a64ae | ||
|
|
af818a1709 | ||
|
|
356c5aaef8 | ||
|
|
4e43805a1e | ||
|
|
78be18ab99 | ||
|
|
295625bbb0 | ||
|
|
00035e5b68 | ||
|
|
70807d5198 | ||
|
|
7d3dc331b5 | ||
|
|
d244f6d2c7 | ||
|
|
ee20fc0ad9 | ||
|
|
e348c56a01 | ||
|
|
4b80cb6861 | ||
|
|
e45d72f4a8 | ||
|
|
a9e1c60a63 | ||
|
|
b78e9b5e98 | ||
|
|
69ec805ff3 | ||
|
|
cd2fd4d81d | ||
|
|
40be6362c6 | ||
|
|
ea060b586d | ||
|
|
a45569fe37 | ||
|
|
198481639f | ||
|
|
865e344512 | ||
|
|
a60b50417a | ||
|
|
4e01b276ae | ||
|
|
a62a7e7e96 | ||
|
|
a2649fe604 | ||
|
|
e3d3433b76 | ||
|
|
de771964ee | ||
|
|
3c4b261617 | ||
|
|
3e9c2af62a | ||
|
|
83f9f3a813 | ||
|
|
286e62e84d | ||
|
|
c3be0663c1 | ||
|
|
5ed0fab147 | ||
|
|
ec78917e10 | ||
|
|
c5fa794e98 | ||
|
|
e2a7e328d3 | ||
|
|
43f03233f3 | ||
|
|
acf3607795 | ||
|
|
1a79065f8c | ||
|
|
035ad2f118 | ||
|
|
30fd079c90 | ||
|
|
879f4bc60f | ||
|
|
591ab6d34b | ||
|
|
6f7025ba00 | ||
|
|
88970711ff | ||
|
|
292f8ac3c5 | ||
|
|
dfca26c32f | ||
|
|
9e6c430e5e | ||
|
|
29826908fc | ||
|
|
5a88e085f3 | ||
|
|
f58ba94f8c | ||
|
|
733b4a4c9f | ||
|
|
dc023c2fe0 | ||
|
|
f6e21efe14 | ||
|
|
4272b68b76 | ||
|
|
8f3a51860d | ||
|
|
14d137029b | ||
|
|
36d588d62f | ||
|
|
5d056c0184 | ||
|
|
4c8bff917c | ||
|
|
5fffc1b8cf | ||
|
|
174bea7caf | ||
|
|
81feabe4c6 | ||
|
|
c43d73cfd7 | ||
|
|
151fa5590f | ||
|
|
fb0fe43283 | ||
|
|
fa898df0fc | ||
|
|
5143b5a461 | ||
|
|
9b9159cb4a | ||
|
|
5a1fa0f3df | ||
|
|
e2b59a234f | ||
|
|
ae8d913b00 | ||
|
|
01e767447b | ||
|
|
d1349d274f | ||
|
|
a0687c199c | ||
|
|
db00ae8496 | ||
|
|
675b190455 | ||
|
|
6f229c1a1b | ||
|
|
5b118b84e5 | ||
|
|
fa7623e0f3 | ||
|
|
8ed81c060c | ||
|
|
033ccb6635 | ||
|
|
3df4b8f7f6 | ||
|
|
80a20870af | ||
|
|
55cae500f5 | ||
|
|
f124b4d1b8 | ||
|
|
b73480af34 | ||
|
|
d49e8c32c4 | ||
|
|
e0607c34f0 | ||
|
|
08bb8da2cc | ||
|
|
bea6d82e80 | ||
|
|
2bf3e7e3a9 | ||
|
|
b259c836ab | ||
|
|
35acde58d4 | ||
|
|
32d2f28518 | ||
|
|
9a879a1b11 | ||
|
|
0dbdcf2e77 | ||
|
|
8992f0fd05 | ||
|
|
92477b9583 | ||
|
|
82579ce9ce | ||
|
|
d208927a5f | ||
|
|
c133304b95 | ||
|
|
6b3e68486a | ||
|
|
cc9cb3f6d7 | ||
|
|
79ef4d8eef | ||
|
|
110888fd66 | ||
|
|
d5028868d3 | ||
|
|
da53cb0e08 | ||
|
|
fdcf7da3f4 | ||
|
|
ff078951a5 | ||
|
|
9fdc0045ad | ||
|
|
96361e3913 | ||
|
|
ddd07a749f | ||
|
|
dd033ae341 | ||
|
|
1c15c3ebd3 | ||
|
|
f5915baa5d | ||
|
|
cfba305b7e | ||
|
|
a043b26831 | ||
|
|
f871b90d5e | ||
|
|
ac4095a1ea | ||
|
|
2856f523f6 | ||
|
|
4a28d3595c | ||
|
|
6b8b32b6fc | ||
|
|
e1b75723d7 | ||
|
|
f2e658cdca | ||
|
|
6d9d804d62 | ||
|
|
0a320dbb95 | ||
|
|
adbf98b977 | ||
|
|
1f1a1574c2 | ||
|
|
6e529aafcc | ||
|
|
5802f03926 | ||
|
|
8e617d38da | ||
|
|
aa39bf69f2 | ||
|
|
c17cc609da | ||
|
|
59c42eacf4 | ||
|
|
e4b94aa495 | ||
|
|
ec038ebb76 | ||
|
|
c14b08013c | ||
|
|
b0919d93f9 | ||
|
|
55df935275 | ||
|
|
eb9238c05e | ||
|
|
067809c50e | ||
|
|
a348c12719 | ||
|
|
5c75f593de | ||
|
|
13a9fb6c7a | ||
|
|
b0983b83cd | ||
|
|
82e2421819 | ||
|
|
e3c239ccdc | ||
|
|
0f045b1ded | ||
|
|
00af82567c | ||
|
|
1ba4211147 | ||
|
|
498eb7dc58 | ||
|
|
72b5a0e99e | ||
|
|
6cdc5531dc | ||
|
|
b73d5302b1 | ||
|
|
52786872cd | ||
|
|
77fd6e0846 | ||
|
|
16ebef70ed | ||
|
|
85f4b5b167 | ||
|
|
8ea394429c | ||
|
|
847aec7167 | ||
|
|
0de5f20375 | ||
|
|
e57d26ebaf | ||
|
|
794f17ef8b | ||
|
|
89647e4d20 | ||
|
|
26aaf7617d | ||
|
|
477d5f3f70 | ||
|
|
26ccf75f06 | ||
|
|
2b15f1e6b2 | ||
|
|
4b702c8d6a | ||
|
|
9502de7852 | ||
|
|
14a6854c79 | ||
|
|
bc3ba3cb5d | ||
|
|
79d96a5a8d | ||
|
|
03ea90cf1f | ||
|
|
cc67bfdcfc | ||
|
|
f2e1f58a80 | ||
|
|
77b4cd11d1 | ||
|
|
91a10ffd01 | ||
|
|
5edb2a54db | ||
|
|
d60877b0f3 | ||
|
|
2124bda984 | ||
|
|
7cde4806fd | ||
|
|
299ad0f1fd | ||
|
|
f5ee4a398c | ||
|
|
dc732f0166 | ||
|
|
e9899e4bb1 | ||
|
|
70cff6b6b0 | ||
|
|
043ee9f13d | ||
|
|
7483082d9a | ||
|
|
ea73165ca8 | ||
|
|
ee98142c15 | ||
|
|
111a6ed2ff | ||
|
|
44b21bca28 | ||
|
|
c26e069703 | ||
|
|
5e6893ad48 | ||
|
|
15bb34e6d6 | ||
|
|
30b5ea7cd9 | ||
|
|
f5aca1da30 | ||
|
|
a8dab358d9 | ||
|
|
1df82c2d51 | ||
|
|
0b40428d59 | ||
|
|
1538798867 | ||
|
|
61559965a1 | ||
|
|
ce596ec25c | ||
|
|
c50b4ef9c7 | ||
|
|
5a7d6e3d9a | ||
|
|
0f9bbb90fb | ||
|
|
1e29ed0d7e | ||
|
|
8af88bd0e6 | ||
|
|
ceec5e9786 | ||
|
|
9cce09b0a2 | ||
|
|
c763b4a250 | ||
|
|
6caf00b09c | ||
|
|
cfedbd7aa2 | ||
|
|
eb5fa1fced | ||
|
|
bbb109bd03 | ||
|
|
dbb0872f49 | ||
|
|
0ccfa87a91 | ||
|
|
df37bb7a7c | ||
|
|
0b60a62ee7 | ||
|
|
6684e29f7a | ||
|
|
7777d78b16 | ||
|
|
71997d296f | ||
|
|
17d86bd264 | ||
|
|
5440d5718b | ||
|
|
e7736ca5cc | ||
|
|
1d0e803fbb | ||
|
|
3d00ea31a7 | ||
|
|
4bd3aa2158 | ||
|
|
e87cc4822c | ||
|
|
618ef61ae9 | ||
|
|
464c5916d5 | ||
|
|
afb822af07 | ||
|
|
bdababe715 | ||
|
|
9c2a4ff286 | ||
|
|
2a294c432e | ||
|
|
87694b9ed0 | ||
|
|
d12dda34e4 | ||
|
|
f2bab1910d | ||
|
|
8e3867013a | ||
|
|
9ff18d1dca | ||
|
|
2d63c93d06 | ||
|
|
acb5f68e3e | ||
|
|
d055f9e21f | ||
|
|
d9922895d4 | ||
|
|
d8d4307293 | ||
|
|
c399c787c8 | ||
|
|
25ad948e02 | ||
|
|
83af047720 | ||
|
|
e8ad2487f3 | ||
|
|
4c4d3dcdc5 | ||
|
|
73eed5d415 | ||
|
|
8593149b0b | ||
|
|
606f40e708 | ||
|
|
66f11a1699 | ||
|
|
dd1a39dbc6 | ||
|
|
c89a3e55b7 | ||
|
|
a1cc4dfedb | ||
|
|
23d2615f3d | ||
|
|
3a8e4fcfd4 | ||
|
|
d4b2024871 | ||
|
|
69b9f11b6f | ||
|
|
1f1edce576 | ||
|
|
dc2d1c291f | ||
|
|
23d2ee726d | ||
|
|
1dcaf8fddc | ||
|
|
efdf035cfb | ||
|
|
8dead2a644 | ||
|
|
959eb46e17 | ||
|
|
d73e8be1de | ||
|
|
f53ce8e180 | ||
|
|
8eb2c02d7e | ||
|
|
1c4d741a02 | ||
|
|
ce19b84529 | ||
|
|
b86c084cbc | ||
|
|
6d4821b282 | ||
|
|
55fb7bcda1 | ||
|
|
308ce3f5c3 | ||
|
|
7a452797f1 | ||
|
|
db8183c9d8 | ||
|
|
43757d67ef | ||
|
|
81f7d591d7 | ||
|
|
663754bf46 | ||
|
|
4fe87bd820 | ||
|
|
03474ba9e2 | ||
|
|
abd4a6a57b | ||
|
|
286aa03847 | ||
|
|
d8bd874fe4 | ||
|
|
49b29bfce8 | ||
|
|
1f580e17b8 | ||
|
|
3468d54fbb | ||
|
|
b05f478376 | ||
|
|
34592c5233 | ||
|
|
6c60d2fce0 | ||
|
|
373ebd547d | ||
|
|
fa92fa86c2 | ||
|
|
3a8cb50b07 | ||
|
|
ed10891d9b | ||
|
|
d071235ffa | ||
|
|
16a67c6f6e | ||
|
|
e47b1865c2 | ||
|
|
0ae4504681 | ||
|
|
12ca539f85 | ||
|
|
42816aaa92 | ||
|
|
ad4ed79c9a | ||
|
|
0c61eb1b12 | ||
|
|
e004f1ed5e | ||
|
|
95ab8ab08f | ||
|
|
8f324cdfc2 | ||
|
|
8cf8b32972 | ||
|
|
f02e158d3c | ||
|
|
4718035ee6 | ||
|
|
1c9cf1f1c0 | ||
|
|
8e9c90b37e | ||
|
|
428d0606ab | ||
|
|
344a3ec4e1 | ||
|
|
75415afa76 | ||
|
|
c4bee6af4d | ||
|
|
8e9ae0cb07 | ||
|
|
15c0640201 | ||
|
|
4058c2be43 | ||
|
|
d2e60f48b6 | ||
|
|
c9fc371e31 | ||
|
|
64b4a63a87 | ||
|
|
90a68e6591 | ||
|
|
aef03761fa | ||
|
|
70abfb795a | ||
|
|
56b3c007f4 | ||
|
|
9eed0cb99e | ||
|
|
e77153a623 | ||
|
|
925c2dc632 | ||
|
|
72c86fe6cc | ||
|
|
f0ce7bc289 | ||
|
|
410bb8a57e | ||
|
|
f165a0dc3f | ||
|
|
74a87af7f5 | ||
|
|
a984f20e23 | ||
|
|
411a37af27 | ||
|
|
3e9d7d6e9c | ||
|
|
caa9ed689f | ||
|
|
baac94e4b7 | ||
|
|
44e0631618 | ||
|
|
012f861023 | ||
|
|
b2a11ac756 | ||
|
|
f77270c633 | ||
|
|
135dbb9c6d | ||
|
|
b683b3dc74 | ||
|
|
dbf70d1083 | ||
|
|
f0f4a22ae1 | ||
|
|
f86145e558 | ||
|
|
d7c22488d7 | ||
|
|
ef7a4c0620 | ||
|
|
4f673eac74 | ||
|
|
66205238fc | ||
|
|
1004d95b6b | ||
|
|
4db06151be | ||
|
|
1bcf21e048 | ||
|
|
abcca89bd4 | ||
|
|
56247cecbd | ||
|
|
3d47b20c62 | ||
|
|
3aeeae6230 | ||
|
|
adaf7fd65b | ||
|
|
9369ed6e23 | ||
|
|
199d4da9ac | ||
|
|
216b92db17 | ||
|
|
0f3ca07b42 | ||
|
|
8ae01a69f2 | ||
|
|
4c144cfacf | ||
|
|
1091bd94fd | ||
|
|
8d22c47199 | ||
|
|
975d820a75 | ||
|
|
df03eb3fac | ||
|
|
6cb544f91d | ||
|
|
17392d380c | ||
|
|
05a3f528f7 | ||
|
|
fde8978893 | ||
|
|
43e9ddc1fc | ||
|
|
52418d713f | ||
|
|
52e98abd6e | ||
|
|
92576e31d2 | ||
|
|
233bbcaaa3 | ||
|
|
098e88f3a8 | ||
|
|
02a9ceaebb | ||
|
|
edbc5c2334 | ||
|
|
7751545573 | ||
|
|
d8be089964 | ||
|
|
f99b88b812 | ||
|
|
bfc76bafbf | ||
|
|
30cddad5fb | ||
|
|
34866ac4c2 | ||
|
|
120574de19 | ||
|
|
177fca4917 | ||
|
|
56779410e8 | ||
|
|
7c6607a000 | ||
|
|
5825342717 | ||
|
|
813c1308fe | ||
|
|
2b2fbe074a | ||
|
|
fe1eeb0724 | ||
|
|
22187e8df1 | ||
|
|
6f20e306e0 | ||
|
|
3741d16503 | ||
|
|
c6d92b9983 | ||
|
|
ab0b591ca5 | ||
|
|
87b1ca3bd8 | ||
|
|
391dca5988 | ||
|
|
b451434168 | ||
|
|
e27b73e000 | ||
|
|
651161fa9d | ||
|
|
c8627b39d1 | ||
|
|
d0ad7e2df9 | ||
|
|
e3685c4c9a | ||
|
|
a17ae9ec74 | ||
|
|
919a03d17d | ||
|
|
01df432af4 | ||
|
|
ac1d494270 | ||
|
|
b4e3c6b5fe | ||
|
|
24e97e5c52 | ||
|
|
a7c9e39f0f | ||
|
|
45d6da52ce | ||
|
|
f84533a8de | ||
|
|
c334db5e2c | ||
|
|
ef8bc5028e | ||
|
|
c889057d64 | ||
|
|
161c807083 | ||
|
|
5728865725 | ||
|
|
a54603a604 | ||
|
|
52b96a9233 | ||
|
|
925bf36f4c | ||
|
|
707231e1b4 | ||
|
|
98e4187cf0 | ||
|
|
b586119cb9 | ||
|
|
fa62f916a3 | ||
|
|
8540b4c9fe | ||
|
|
1d763c4dc6 | ||
|
|
ed1884bb9b | ||
|
|
8c0645dab9 | ||
|
|
21932198d7 | ||
|
|
2aace5b6ee | ||
|
|
f0cb764a7e | ||
|
|
932a58ea40 | ||
|
|
981f6d1a1f | ||
|
|
023046395b | ||
|
|
7f6370f849 | ||
|
|
7f5efea2d7 | ||
|
|
1575348f10 | ||
|
|
02155d6ceb | ||
|
|
2d7b258eb9 | ||
|
|
3cfd40ccce | ||
|
|
446728b335 | ||
|
|
5b681a16bd | ||
|
|
fc6f7e7921 | ||
|
|
499e5ea2b2 | ||
|
|
d295ab6618 | ||
|
|
be99d5f32c | ||
|
|
1df9fdf613 | ||
|
|
a2f2649d60 | ||
|
|
f94c5b8d8f | ||
|
|
76640001eb | ||
|
|
878b260edc | ||
|
|
01142a1091 | ||
|
|
8b959c6a57 | ||
|
|
83bc0165f7 | ||
|
|
a494d83eff | ||
|
|
6eef0e52df | ||
|
|
b2cf114902 | ||
|
|
5c4a14a9e2 | ||
|
|
ba77af38ed | ||
|
|
20eef073b5 | ||
|
|
aae84ac64b | ||
|
|
bd45f9846a | ||
|
|
9a46a6d946 | ||
|
|
96ace09a50 | ||
|
|
50e2ecc773 | ||
|
|
5d97d9b6c9 | ||
|
|
ccb1921b7b | ||
|
|
e90147646f | ||
|
|
917eb0586c | ||
|
|
5b483a6820 | ||
|
|
c7e322d704 | ||
|
|
700b4be883 | ||
|
|
d0c98fab56 | ||
|
|
d0cf2c890a | ||
|
|
4e608fb8f2 | ||
|
|
a6aa45cc94 | ||
|
|
dcbbe94d4e | ||
|
|
ef2f4f2de2 | ||
|
|
b6bfa9f26d | ||
|
|
7a86a5f22f | ||
|
|
470b6bb77d | ||
|
|
8d17a32927 | ||
|
|
8efc784bd9 | ||
|
|
6e2db26f5e | ||
|
|
7cec5b7123 | ||
|
|
44fee4ff97 | ||
|
|
842a983bed | ||
|
|
eaea54ed54 | ||
|
|
1e3585a07b | ||
|
|
f74ecea14e | ||
|
|
afe5ec7ce1 | ||
|
|
f3e9c849be | ||
|
|
b387155197 | ||
|
|
7348e275ff | ||
|
|
e88f9c11f1 | ||
|
|
99f2c2a103 | ||
|
|
cdcfd715f8 | ||
|
|
66b85dc9ad | ||
|
|
5205fc9ff3 | ||
|
|
9300c086e0 | ||
|
|
56c2802ff9 | ||
|
|
002fcd5835 | ||
|
|
de1633042b | ||
|
|
1616de091b | ||
|
|
110b6f1617 | ||
|
|
d378fc8ede | ||
|
|
47b285eac9 | ||
|
|
05bd5d3004 | ||
|
|
2709ca7625 | ||
|
|
be9821f888 | ||
|
|
c13138725d | ||
|
|
3d7573adce | ||
|
|
4b51f5d3ed | ||
|
|
e7a5358094 | ||
|
|
0c5291144f | ||
|
|
f79c0b5c03 | ||
|
|
fb48a088ce | ||
|
|
3e268fb9de | ||
|
|
2b15ada1a1 | ||
|
|
77fb4aee81 | ||
|
|
04cbe795fa | ||
|
|
260ce80d70 | ||
|
|
2cfc55117a | ||
|
|
f59b99f22c | ||
|
|
41be53b107 | ||
|
|
78e9f064e1 | ||
|
|
20bbf32086 | ||
|
|
764a78ba45 | ||
|
|
278f533546 | ||
|
|
698f6e6f2f | ||
|
|
e0fd280828 | ||
|
|
5a26d60113 | ||
|
|
b46e9cf985 | ||
|
|
8493513ad3 | ||
|
|
4a20e930af | ||
|
|
cf9dff4bb8 | ||
|
|
2d238eeb11 | ||
|
|
f98d0799d8 | ||
|
|
5a758bd714 | ||
|
|
d7609da34c | ||
|
|
098f6e8aa8 | ||
|
|
d96de323da | ||
|
|
65106878d5 | ||
|
|
a09b912b86 | ||
|
|
91149fb1e5 | ||
|
|
bbb0a58f15 | ||
|
|
eefe01a655 | ||
|
|
7d68dc8e71 | ||
|
|
0253b65888 | ||
|
|
443c85784f | ||
|
|
4f3dde8e57 | ||
|
|
5d36f305a5 | ||
|
|
7db0fb0c88 | ||
|
|
bcf0ad5860 | ||
|
|
5b22c773bd | ||
|
|
9864e28ebc | ||
|
|
d76f8cf1cd | ||
|
|
645a261f9a | ||
|
|
daf47bd258 | ||
|
|
a243301ee4 | ||
|
|
2f61cd998f | ||
|
|
79e94c43dc | ||
|
|
fc524c4756 | ||
|
|
586d10d3ab | ||
|
|
a78a103fcb | ||
|
|
1cba9d8748 | ||
|
|
0f0b9c2913 | ||
|
|
95f0800520 | ||
|
|
90450cc148 | ||
|
|
6a95fac6d3 | ||
|
|
e2a86a54f1 | ||
|
|
57ae02b1c5 | ||
|
|
9cba093c63 | ||
|
|
29017b48d3 | ||
|
|
aaf5672018 | ||
|
|
dbf3a44282 | ||
|
|
4eafc3169f | ||
|
|
06fcf41eae | ||
|
|
770ea93292 | ||
|
|
13486d308d | ||
|
|
cfed4f7710 | ||
|
|
9df8e7db13 | ||
|
|
fcf0cfbe75 | ||
|
|
e64e3dbaca | ||
|
|
78ef7aea9a | ||
|
|
55dce78066 | ||
|
|
8d1bacae0d | ||
|
|
bc83d048ba | ||
|
|
df92047580 | ||
|
|
2852d49c3b | ||
|
|
0e0c7b33f0 | ||
|
|
3686ea4022 | ||
|
|
7b759ee9d3 | ||
|
|
078463fa1f | ||
|
|
118a5c70ed | ||
|
|
5a25467be0 | ||
|
|
7455e7cffc | ||
|
|
0eb6e77c84 | ||
|
|
0270871238 | ||
|
|
a7f706251b | ||
|
|
5179bbe40c | ||
|
|
1904650288 | ||
|
|
e7a2d94f75 | ||
|
|
55316a442f | ||
|
|
2439f17bef | ||
|
|
9a287c0412 | ||
|
|
4a79280b3b | ||
|
|
6f270b372a | ||
|
|
2691372e86 | ||
|
|
9a5b75e2ba | ||
|
|
f36b03e6f0 | ||
|
|
780ef740ed | ||
|
|
15332a240a | ||
|
|
b07d50c929 | ||
|
|
3802e3de1b | ||
|
|
ac1ce7eb4d | ||
|
|
0b0905f4de | ||
|
|
a4edbde01e | ||
|
|
c872e0a100 | ||
|
|
2c71963d23 | ||
|
|
f915204116 | ||
|
|
a7154726a3 | ||
|
|
c7046b9e9e | ||
|
|
63b369e735 | ||
|
|
ca29da6e2b | ||
|
|
b81693d648 | ||
|
|
d278834cd7 | ||
|
|
687cb5d680 | ||
|
|
ee6f89642d | ||
|
|
6649f23b27 | ||
|
|
c603a69e7d | ||
|
|
c05d7a78f8 | ||
|
|
5b612c5dc5 | ||
|
|
50490aaa7f | ||
|
|
0290d19c83 | ||
|
|
5479e0669f | ||
|
|
f01f854818 | ||
|
|
ec30afd9dc | ||
|
|
1a5ddd80ed | ||
|
|
3fc452230d | ||
|
|
9a634c1810 | ||
|
|
a2cf047226 | ||
|
|
c7c3baba31 | ||
|
|
4fa03c425f | ||
|
|
3dd754cbf8 | ||
|
|
f26bf88250 | ||
|
|
3b3b48dbb4 | ||
|
|
d605f45365 | ||
|
|
ecd9af3f20 | ||
|
|
d0e103fcb4 | ||
|
|
7263bfef55 | ||
|
|
ef83450ab0 | ||
|
|
ec9a95dd53 | ||
|
|
5965357a59 | ||
|
|
efaec63cc8 | ||
|
|
4848d5a34c | ||
|
|
5f523b92fc | ||
|
|
c6676b0ff8 | ||
|
|
cfe7502c1c | ||
|
|
62e2fcde73 | ||
|
|
7b5ec9f82c | ||
|
|
79c15b9ff0 | ||
|
|
53d0bba46c | ||
|
|
75fd607a5c | ||
|
|
df4d89bd36 | ||
|
|
081280659a | ||
|
|
49c66e779a | ||
|
|
511a769fdd | ||
|
|
d4390d6a12 | ||
|
|
ff9a538941 | ||
|
|
a9107951a7 | ||
|
|
b85f40ba88 | ||
|
|
2e1afbd7b7 | ||
|
|
3b079a7939 | ||
|
|
98f4ec3ab6 | ||
|
|
9719dd2343 | ||
|
|
6e31e14ba3 | ||
|
|
63795c0ce8 | ||
|
|
282eac6c91 | ||
|
|
1a621cfcf1 | ||
|
|
c007d6e0ad | ||
|
|
8808f52690 | ||
|
|
1854763e83 | ||
|
|
787faec004 | ||
|
|
a716f5d143 | ||
|
|
07d0a7b9f9 | ||
|
|
cbb4ec0c88 | ||
|
|
7c8acc226b | ||
|
|
4188f5db54 | ||
|
|
2979bc8ba6 | ||
|
|
da9287e432 | ||
|
|
fc684ff839 | ||
|
|
3c9cac96f8 | ||
|
|
27877d7103 | ||
|
|
65e759e4a3 | ||
|
|
ad22cdbbd2 | ||
|
|
61529745be | ||
|
|
bb123c5de8 | ||
|
|
a04f104093 | ||
|
|
ffc96812e1 | ||
|
|
3cd3c4d53e | ||
|
|
4d89d5f17b | ||
|
|
f9bdab7928 | ||
|
|
538829f456 | ||
|
|
f567c2e5eb | ||
|
|
5f7abc5f9d | ||
|
|
f9d0b2f758 | ||
|
|
1cfd52452a | ||
|
|
8b43a1dd6a | ||
|
|
fd1d5997b0 | ||
|
|
bb2eff506a | ||
|
|
02ca93318b | ||
|
|
d3adf63e13 | ||
|
|
e91a66fc94 | ||
|
|
7b88115737 | ||
|
|
25436acaa9 | ||
|
|
616fab4469 | ||
|
|
f2a6335118 | ||
|
|
fc6e8a27fc | ||
|
|
eecf2d99e2 | ||
|
|
04a6c2c987 | ||
|
|
966864c7a8 | ||
|
|
e3e77d628a | ||
|
|
ab90246c67 | ||
|
|
91288cad6a | ||
|
|
2536266232 | ||
|
|
9cfadcb38f | ||
|
|
aa7cd58fb8 | ||
|
|
e1518daf9d | ||
|
|
6e30ded242 | ||
|
|
a9ffb3da97 | ||
|
|
6223a90aa0 | ||
|
|
d67c6000ce | ||
|
|
16eadad7d3 | ||
|
|
823bca4aed | ||
|
|
45ca7b3851 | ||
|
|
c385035a80 | ||
|
|
b5546715f6 | ||
|
|
83e71411ab | ||
|
|
4fe8b900a7 | ||
|
|
97bc10361b | ||
|
|
c603ce5df5 | ||
|
|
97f42f6046 | ||
|
|
ca0c2f51b7 | ||
|
|
83020f1270 | ||
|
|
9b8bb0edbe | ||
|
|
093915cf83 | ||
|
|
c74f44126e | ||
|
|
9ba3fa0ba3 | ||
|
|
b89b696e71 | ||
|
|
746d97a043 | ||
|
|
1413e21a63 | ||
|
|
1c97e98115 | ||
|
|
7a0979e2be | ||
|
|
0a58940696 | ||
|
|
f99617537b | ||
|
|
a9a08890cb | ||
|
|
e88178655b | ||
|
|
a622c9c8ce | ||
|
|
6bd6da1ae6 | ||
|
|
fe29d23c7d | ||
|
|
537a24f852 | ||
|
|
1f635c1532 | ||
|
|
8f0de0cbfb | ||
|
|
5968ff1992 | ||
|
|
e6a2cb8763 | ||
|
|
43cec6c0dd | ||
|
|
242987b59b | ||
|
|
13dc0bb2c2 | ||
|
|
62458f4b9e | ||
|
|
9d0b1967c0 | ||
|
|
aa2ea3b812 | ||
|
|
610c764662 | ||
|
|
dc3aa8cd27 | ||
|
|
47cd88f0f8 | ||
|
|
bf8cc86306 | ||
|
|
7ce175b023 | ||
|
|
941108ca07 | ||
|
|
9aac2a41c4 | ||
|
|
5b2ac5b1d9 | ||
|
|
85270afe51 | ||
|
|
c695c1ee8b | ||
|
|
f19bdb47e4 | ||
|
|
fa3dcfdc87 | ||
|
|
9dc8579c11 | ||
|
|
246d4ffcc0 | ||
|
|
c6e50e868f | ||
|
|
90d09a591e | ||
|
|
dffb0dd178 | ||
|
|
5141dc7f2c | ||
|
|
6a5fbca3d9 | ||
|
|
88c76920be | ||
|
|
5ff3b55860 | ||
|
|
bc84302196 | ||
|
|
a46c587880 | ||
|
|
c82fab64a0 | ||
|
|
9d84dcb2fc | ||
|
|
f3d3e2beae | ||
|
|
c93589ae97 | ||
|
|
0fdb5fae2f | ||
|
|
4d4594d8b8 | ||
|
|
ee8c7c80b7 | ||
|
|
629948534e | ||
|
|
62c576b042 | ||
|
|
242dce8c9e | ||
|
|
2a5200b596 | ||
|
|
dc0400056c | ||
|
|
fe836ec756 | ||
|
|
555041c8c2 | ||
|
|
074c3c2693 | ||
|
|
eabbcf5332 | ||
|
|
ef9ca7ac17 | ||
|
|
bdb9f21dad | ||
|
|
fd708a1ab6 | ||
|
|
ad06981f78 | ||
|
|
2d9df9123c | ||
|
|
00b6bc472b | ||
|
|
d0fc6f4ec6 | ||
|
|
5ac651e7b4 | ||
|
|
56a1881bff | ||
|
|
f99af5280e | ||
|
|
8ab54099c4 | ||
|
|
9be68f8952 | ||
|
|
a5bc0ce8a0 | ||
|
|
b40ae96a9b | ||
|
|
54d73d3bfe | ||
|
|
66420c76f7 | ||
|
|
f35875568b | ||
|
|
d97e190c7e | ||
|
|
f1ff42789b | ||
|
|
83dde0759f | ||
|
|
757741bd90 | ||
|
|
d1de81f0c6 | ||
|
|
b6397061dd | ||
|
|
65e92f4cef | ||
|
|
ef684b2041 | ||
|
|
0f7389f5bb | ||
|
|
4e32895440 | ||
|
|
ddcdec0314 | ||
|
|
bf3ac1d7fc | ||
|
|
7845ed2d91 | ||
|
|
6bfb2f1cf1 | ||
|
|
82eafc02e4 | ||
|
|
91dd686981 | ||
|
|
33d2d52644 | ||
|
|
c65f48052a | ||
|
|
e3a57ead2e | ||
|
|
6e23736a07 | ||
|
|
78735091b6 | ||
|
|
508effd434 | ||
|
|
6e65ed7cf8 | ||
|
|
a3806d1745 | ||
|
|
858f025f69 | ||
|
|
94bb3cadd2 | ||
|
|
7592b15865 | ||
|
|
d56bdb34e8 | ||
|
|
39b2b769d5 | ||
|
|
41393735d6 | ||
|
|
9eee5a5221 | ||
|
|
07b8fd3cf1 | ||
|
|
4cf197d22b | ||
|
|
24c3624fee | ||
|
|
a7f5328ca1 | ||
|
|
2d4ea2b604 | ||
|
|
cb85c56a58 | ||
|
|
e6e0fb8226 | ||
|
|
d0f51b4e83 | ||
|
|
69c20abafe | ||
|
|
8790799a12 | ||
|
|
3749debbec | ||
|
|
51176ec4eb | ||
|
|
5e33d810bd | ||
|
|
c2f4d0439d | ||
|
|
4d17243fd1 | ||
|
|
fab01c2cff | ||
|
|
77f563b5f2 | ||
|
|
3fd6c71d19 | ||
|
|
3885890e49 | ||
|
|
23fa02853e | ||
|
|
8bbca2bada | ||
|
|
266c991d6f | ||
|
|
c60a28c8ad | ||
|
|
47535f557d | ||
|
|
a48bc43985 | ||
|
|
2a648ccdb8 | ||
|
|
1cd20b27b4 | ||
|
|
0dac4223b2 | ||
|
|
db8d45b66d | ||
|
|
e0b279ec61 | ||
|
|
f4c3c959b4 | ||
|
|
f3a8d72bfb | ||
|
|
8ffdc724ec | ||
|
|
2b574b2c5e | ||
|
|
3109b7cfeb | ||
|
|
f8dfe7066e | ||
|
|
fc869e76b9 | ||
|
|
6c3adfeac1 | ||
|
|
45d9cc1b5a | ||
|
|
4aa090cf11 | ||
|
|
b05d4b9322 | ||
|
|
f9ae98ab88 | ||
|
|
8997ef3b6a | ||
|
|
a71c1c7196 | ||
|
|
05bd2d2ffa | ||
|
|
62a24cf4ac | ||
|
|
e0d515ec32 | ||
|
|
256dbaaa20 | ||
|
|
f0398a70a5 | ||
|
|
9a1d66fa3a | ||
|
|
1837a71ea1 | ||
|
|
82bc0ca4ce | ||
|
|
11961e0202 | ||
|
|
455cfb3b95 | ||
|
|
590473d01b | ||
|
|
c18b403fa5 | ||
|
|
25233ec2ee | ||
|
|
186600778e | ||
|
|
7993a0d9e4 | ||
|
|
792b5367cd | ||
|
|
0054c555b3 | ||
|
|
dc4c79a52f | ||
|
|
d6141be2ef | ||
|
|
ea21013fb5 | ||
|
|
9c7b4038d3 | ||
|
|
63c3593370 | ||
|
|
62835ec068 | ||
|
|
5622889849 | ||
|
|
632e1354b6 | ||
|
|
c8df608851 | ||
|
|
966d2b4292 | ||
|
|
fdae69d222 | ||
|
|
716ff39b42 | ||
|
|
ebfae1efa8 | ||
|
|
266076030a | ||
|
|
5d9d139e0a | ||
|
|
38b9617c77 | ||
|
|
211594fb3c | ||
|
|
6b6c324e06 | ||
|
|
422a7103d1 | ||
|
|
4484646a0b | ||
|
|
5d8d1285d7 | ||
|
|
b08c54265b | ||
|
|
efc7e54e14 | ||
|
|
df7f474937 | ||
|
|
ba95f34c0a | ||
|
|
4526bbb722 | ||
|
|
3daaa4d39c | ||
|
|
11ce9cab62 | ||
|
|
4d56a808cf | ||
|
|
d26bec1721 | ||
|
|
7ede70ad8e | ||
|
|
9b1fa3e38f | ||
|
|
2a3006438d | ||
|
|
548854a9c6 | ||
|
|
1d14ecc9ed | ||
|
|
aebb8f0d85 | ||
|
|
709871bd6e | ||
|
|
e013096c65 | ||
|
|
f0e6bd2f96 | ||
|
|
b7e4f0c0b9 | ||
|
|
16309a7561 | ||
|
|
e4b5152a9b | ||
|
|
792a0169b9 | ||
|
|
eb0209be29 | ||
|
|
d26e9c18e8 | ||
|
|
952c9145b2 | ||
|
|
68fe403e46 | ||
|
|
061f782c4b | ||
|
|
e58e0fcf57 | ||
|
|
145842ded5 | ||
|
|
b6082446c2 | ||
|
|
9ab31d0213 | ||
|
|
2657d9cb1e | ||
|
|
42874b6479 | ||
|
|
2ce28c626c | ||
|
|
a5a3a52e10 | ||
|
|
d3b8558190 | ||
|
|
b1aa5c0074 | ||
|
|
0a35d095bf | ||
|
|
b319e134ef | ||
|
|
5ff8de7322 | ||
|
|
7692bfc5a9 | ||
|
|
58a947d9c5 | ||
|
|
1f19829f91 | ||
|
|
1e58d75461 | ||
|
|
88c89b2a0d | ||
|
|
f7cf1b7e07 | ||
|
|
f1df763e67 | ||
|
|
fff286cdfa | ||
|
|
82a7e5bb70 | ||
|
|
78bcf6aa14 | ||
|
|
8b53bbfa5f | ||
|
|
e0c549679a | ||
|
|
b57202ea18 | ||
|
|
574f999d55 | ||
|
|
09aa3bcc30 | ||
|
|
aabcc3e60e | ||
|
|
d1555c7c72 | ||
|
|
30c163826c | ||
|
|
a8a03515fa | ||
|
|
b4ef279dd7 | ||
|
|
6207a4932a | ||
|
|
b705b1c2aa | ||
|
|
d7a9834218 | ||
|
|
918da31c51 | ||
|
|
d63f005908 | ||
|
|
074c3e056e | ||
|
|
2e449ae199 | ||
|
|
a7ae3550e9 | ||
|
|
a30d0c3da9 | ||
|
|
ed744164fb | ||
|
|
e217c5ae86 | ||
|
|
982e1549fd | ||
|
|
9f2c4f328d | ||
|
|
9c79e7a3ae | ||
|
|
526d957b4f | ||
|
|
68ba6c1456 | ||
|
|
4fa0463aa9 | ||
|
|
c4d38b54ad | ||
|
|
16385fe576 | ||
|
|
6214c2e6ed | ||
|
|
c44957bab3 | ||
|
|
caa28c999c | ||
|
|
903644f8f1 | ||
|
|
21bc9cf4cd | ||
|
|
9b4b6d6211 | ||
|
|
7f6943705e | ||
|
|
aa07d1c2d5 | ||
|
|
98442ff12c | ||
|
|
bef8c4d0f8 | ||
|
|
4ee553f888 | ||
|
|
01eaabd5d4 | ||
|
|
f3281df8c2 | ||
|
|
e20962e7e3 | ||
|
|
569749b214 | ||
|
|
520fb508e6 | ||
|
|
f5fd9e0b3e | ||
|
|
9a6ef035c4 | ||
|
|
6a1ceec1fa | ||
|
|
7071fe64af | ||
|
|
92ac04725e | ||
|
|
db1476e1cb | ||
|
|
5dd17f8942 | ||
|
|
ed7352ea63 | ||
|
|
93680ffb36 | ||
|
|
9030c7acda | ||
|
|
501ded4a5e | ||
|
|
bb725e72b0 | ||
|
|
da652801a1 | ||
|
|
84518bc046 | ||
|
|
1764b7e263 | ||
|
|
275e5a5e0d | ||
|
|
dbc31d3a23 | ||
|
|
0db33fa933 | ||
|
|
ae67391964 | ||
|
|
776aba3f7c | ||
|
|
bc95b8ff1e | ||
|
|
8249d970e6 | ||
|
|
edca7989e3 | ||
|
|
2c59986b44 | ||
|
|
fce35160dd | ||
|
|
e1feed1042 | ||
|
|
4e0981da06 | ||
|
|
6758bfec38 | ||
|
|
777fa66d5b | ||
|
|
46bc4f393e | ||
|
|
efd961c721 | ||
|
|
665d8d4141 | ||
|
|
ce3ddc2073 | ||
|
|
f75c72dd2d | ||
|
|
7aa4bfe352 | ||
|
|
43957a4dd7 | ||
|
|
53482f70bc | ||
|
|
f8ca228b2e | ||
|
|
f1e68da190 | ||
|
|
57239e923f | ||
|
|
1fb43ec60d | ||
|
|
e7d4a0e1f7 | ||
|
|
d90075ff7c | ||
|
|
e5de7dacf9 | ||
|
|
abd2d39d6b | ||
|
|
f1a9bc25a1 | ||
|
|
1418f0d58b | ||
|
|
aaf9d40318 | ||
|
|
37ff0bcb9d | ||
|
|
167d1a6c19 | ||
|
|
4de1501831 | ||
|
|
1025d82b3e | ||
|
|
ed0cefd19a | ||
|
|
70c7f2ef1d | ||
|
|
fd5843e964 | ||
|
|
4d35043211 | ||
|
|
b0057f2259 | ||
|
|
3a7874cd61 | ||
|
|
57962479d7 | ||
|
|
076e44ac27 | ||
|
|
f84179d397 | ||
|
|
beabfddefb | ||
|
|
8417f42847 | ||
|
|
4ceda0772d | ||
|
|
75d5e92311 | ||
|
|
936697aa97 | ||
|
|
745a6bec4a | ||
|
|
8aaf80d011 | ||
|
|
21fb262df5 | ||
|
|
5abf30d893 | ||
|
|
ea4e4a9ef6 | ||
|
|
dc2e330a9f | ||
|
|
cfc5d4fb3d | ||
|
|
1f93e5326c | ||
|
|
ee6c6efcfc | ||
|
|
178bb86b7e | ||
|
|
727cf39986 | ||
|
|
098de0b8e8 | ||
|
|
92a45afd7b | ||
|
|
0c6932a985 | ||
|
|
ddb061f776 | ||
|
|
f7c9be4890 | ||
|
|
13aeb8836a | ||
|
|
6295559e04 | ||
|
|
025ee6399b | ||
|
|
8e88de76bb | ||
|
|
cbc43ad527 | ||
|
|
2efd64587f | ||
|
|
9e91b6687e | ||
|
|
ca55ce871f | ||
|
|
b3e3e4cc40 | ||
|
|
2d9f497748 | ||
|
|
86ccab6997 | ||
|
|
5ad055154b | ||
|
|
2247603bd8 | ||
|
|
18dc4ebcd0 | ||
|
|
2ceb6e9402 | ||
|
|
d2a26c9595 | ||
|
|
bb99b3ef99 | ||
|
|
39af47841f | ||
|
|
bb0e787f60 | ||
|
|
83832615fa | ||
|
|
6559b16c14 | ||
|
|
225848bd65 | ||
|
|
fa6194cc19 | ||
|
|
a1eb52aa13 | ||
|
|
a2ee7059d0 | ||
|
|
572f79d0f3 | ||
|
|
30223ad01d | ||
|
|
6221c90f95 | ||
|
|
27ce756030 | ||
|
|
51d1c47c8b | ||
|
|
57ae95d7aa | ||
|
|
810e4a15dd | ||
|
|
ed6183c2b9 | ||
|
|
cd39375a39 | ||
|
|
87c125c435 | ||
|
|
07959b40bb | ||
|
|
94dcde7291 | ||
|
|
b59125ca81 | ||
|
|
6c37483822 | ||
|
|
616ea50718 | ||
|
|
1a8bdd5aff | ||
|
|
6d88df8d82 | ||
|
|
6ca11b76d6 | ||
|
|
6400a71595 | ||
|
|
a12daa47e0 | ||
|
|
90ca313240 | ||
|
|
505695fcd1 | ||
|
|
3298fe7f21 | ||
|
|
5599130b36 | ||
|
|
17d4227002 | ||
|
|
85a3e77247 | ||
|
|
71c58f8fb0 | ||
|
|
08559f8a29 | ||
|
|
af2b3eb197 | ||
|
|
4aa28ede12 | ||
|
|
67f753a893 | ||
|
|
492438a431 | ||
|
|
bebd8dc438 | ||
|
|
13d0bab910 | ||
|
|
f892c7c574 | ||
|
|
5e6e6df993 | ||
|
|
5d69157964 | ||
|
|
fd185fb454 | ||
|
|
a8c53ebf16 | ||
|
|
f068fb6b66 | ||
|
|
1db2001526 | ||
|
|
7ccddf9832 | ||
|
|
52d9a55a86 | ||
|
|
80165d2117 | ||
|
|
8724ace98a | ||
|
|
4ea3122758 | ||
|
|
0c9eb70a46 | ||
|
|
ff285585d4 | ||
|
|
14867dbabe | ||
|
|
27b67e3586 | ||
|
|
e693ce5077 | ||
|
|
606677431a | ||
|
|
271c88f8a8 | ||
|
|
506d5d4049 | ||
|
|
6bb78cace3 | ||
|
|
5348325a64 | ||
|
|
d181fe7194 | ||
|
|
26eacdc3dc | ||
|
|
87d8bdef08 | ||
|
|
04b6339bd1 | ||
|
|
c7b19b52fd | ||
|
|
5b2437d62f | ||
|
|
3ea09f9c8f | ||
|
|
abd1bd5d8f | ||
|
|
86968831ec | ||
|
|
af835fc6de | ||
|
|
ab5220be93 | ||
|
|
32801300d1 | ||
|
|
1ec9117f63 | ||
|
|
adc4d3c471 | ||
|
|
0279b08ccb | ||
|
|
2602f25eb7 | ||
|
|
de3fa74e12 | ||
|
|
522c8b69f5 | ||
|
|
f8a1ab5d75 | ||
|
|
6f43750475 | ||
|
|
e0e341c7d1 | ||
|
|
b0be338837 | ||
|
|
9df453295e | ||
|
|
e40724e169 | ||
|
|
310be7a2fb | ||
|
|
824b01d4fc | ||
|
|
fec0e65560 | ||
|
|
55293097e1 | ||
|
|
d1aa491294 | ||
|
|
32a5d1fc3b | ||
|
|
18f2255ecd | ||
|
|
f44ff23078 | ||
|
|
c738a606d2 | ||
|
|
983b5a8cbe | ||
|
|
21192c8424 | ||
|
|
7ed46ff6e1 | ||
|
|
d2b64bb5cf | ||
|
|
3454feb426 | ||
|
|
5acc6be700 | ||
|
|
3e514ce907 | ||
|
|
1f85a462e9 | ||
|
|
51c97ade65 | ||
|
|
c2f95645ca | ||
|
|
3611e8ec48 | ||
|
|
6344d4be9f | ||
|
|
1334748e5a | ||
|
|
b5d64ebd0a | ||
|
|
ef29b9fbfa | ||
|
|
7ee123b1e2 | ||
|
|
5831edbc3f | ||
|
|
68f5463685 | ||
|
|
f4346ebc54 | ||
|
|
4cf3f02cac | ||
|
|
afa9a853fb | ||
|
|
10ba222234 | ||
|
|
ccd373f429 | ||
|
|
bdfa3ef2ca | ||
|
|
9aaa0083d0 | ||
|
|
333c6665a2 | ||
|
|
1ebb4e4cbd | ||
|
|
1448821251 | ||
|
|
37ddfb1da4 | ||
|
|
ce31c277fb | ||
|
|
38d0080cf5 | ||
|
|
a08574bf9e | ||
|
|
3765f987d5 | ||
|
|
523e9ff615 | ||
|
|
8da9924557 | ||
|
|
fbb36d5500 | ||
|
|
bcd8b38b57 | ||
|
|
a308a7cd22 | ||
|
|
7ef2b4f919 | ||
|
|
33db577741 | ||
|
|
1fc8f5631c | ||
|
|
c4c6a9373d | ||
|
|
1520a7aaba | ||
|
|
533bcc0c49 | ||
|
|
26cad094ee | ||
|
|
bee68ad79f | ||
|
|
b5d36a9abb | ||
|
|
ca7b288837 | ||
|
|
f99700a264 | ||
|
|
df203f3532 | ||
|
|
f98b92ea6c | ||
|
|
dbaab5d01a | ||
|
|
e5207856a0 | ||
|
|
1aef35403d | ||
|
|
68130ebec9 | ||
|
|
9e469d7b9e | ||
|
|
d421ee95b0 | ||
|
|
6fc58f529b | ||
|
|
5c06650885 | ||
|
|
77a8ed1b39 | ||
|
|
cf39a9cd43 | ||
|
|
7e220bf4ff | ||
|
|
d4bd4f0091 | ||
|
|
afd9c96b3f | ||
|
|
6c6ab73705 | ||
|
|
aaceb6f0cf | ||
|
|
cfa6ff88d1 | ||
|
|
ff3a3a6fad | ||
|
|
9285e189c1 | ||
|
|
5a0573df99 | ||
|
|
c329548380 | ||
|
|
9549385e47 | ||
|
|
3f899a3198 | ||
|
|
dd15ef7b68 | ||
|
|
a427893839 | ||
|
|
866ad511fe | ||
|
|
86f8dd621a | ||
|
|
daa673f978 | ||
|
|
a21319d1ca | ||
|
|
cfe36830d4 | ||
|
|
831381caa9 | ||
|
|
e33294bf22 | ||
|
|
762ac3d618 | ||
|
|
259afc7850 | ||
|
|
c238778b63 | ||
|
|
4a054b40ae | ||
|
|
be684e09b4 | ||
|
|
3830eca92c | ||
|
|
aa59a09fd7 | ||
|
|
e600333511 | ||
|
|
581b46d90d | ||
|
|
17af65a784 | ||
|
|
5ebdc64ef8 | ||
|
|
6f740b5bc3 | ||
|
|
cfe5263372 | ||
|
|
c23173ee4b | ||
|
|
7c284c8c2b | ||
|
|
acf546b1ba | ||
|
|
89fa700441 | ||
|
|
2e68bc17e3 | ||
|
|
f97b7bd2a2 | ||
|
|
7f28de8559 | ||
|
|
3307394dba | ||
|
|
fb4877a8d7 | ||
|
|
d31ccce651 | ||
|
|
348ec2cf7a | ||
|
|
b85f34d763 | ||
|
|
466c00b8f0 | ||
|
|
a0bf70a140 | ||
|
|
d720e3368c | ||
|
|
1ebd866eaa | ||
|
|
39d1e1889f | ||
|
|
5f0dd2998d | ||
|
|
87714d8a45 | ||
|
|
258efac3c6 | ||
|
|
1a4ce67a49 | ||
|
|
e68c3b8027 | ||
|
|
2640a8d862 | ||
|
|
aa8605d0eb | ||
|
|
4b9d0677c9 | ||
|
|
6ccea37726 | ||
|
|
56d5fce7f4 | ||
|
|
00f7811683 | ||
|
|
c5b00568ba | ||
|
|
27bf99ebed | ||
|
|
2015a4ab21 | ||
|
|
2eb33cebf5 | ||
|
|
ccda92d896 | ||
|
|
69f8abf794 | ||
|
|
a4d6fccef9 | ||
|
|
c98b69bc05 | ||
|
|
382a9b3679 | ||
|
|
bd9b4e9b24 | ||
|
|
eab4b7e67b | ||
|
|
b9e7bcabe4 | ||
|
|
e6e0331cde | ||
|
|
540ef7fb38 | ||
|
|
76e9739a43 | ||
|
|
e1b061052d | ||
|
|
5f26cd5416 | ||
|
|
db758b9f85 | ||
|
|
1890aa6ec3 | ||
|
|
a497e40075 | ||
|
|
d8dab47fd0 | ||
|
|
60d58d9128 | ||
|
|
a5fcc9413d | ||
|
|
1d1069575d | ||
|
|
57d7457da5 | ||
|
|
128e454ad2 | ||
|
|
61f32e7f14 | ||
|
|
74695b9d03 | ||
|
|
f8a969aae9 | ||
|
|
417389513f | ||
|
|
e871e6f844 | ||
|
|
a3e6b2cd8b | ||
|
|
310192e3cb | ||
|
|
468339deb6 | ||
|
|
826558a4af | ||
|
|
334d05b1e7 | ||
|
|
dd0eab4247 | ||
|
|
8a1db7bb93 | ||
|
|
64d523c524 | ||
|
|
6b1529a15c | ||
|
|
8a10c623f3 | ||
|
|
fc53acc968 | ||
|
|
edffe785ba | ||
|
|
850f2df48b | ||
|
|
5e3ffa5a51 | ||
|
|
230a43461c | ||
|
|
501e77f912 | ||
|
|
fe06971e14 | ||
|
|
e686d39489 | ||
|
|
b1000f0b2e | ||
|
|
1f0ad125dd | ||
|
|
d87817c174 | ||
|
|
51125153e5 | ||
|
|
d4f922abce | ||
|
|
7ca4c72cc8 | ||
|
|
2e78636ac7 | ||
|
|
0ddf58fe64 | ||
|
|
6baf669349 | ||
|
|
522d027663 | ||
|
|
dc58d950f2 | ||
|
|
83f74c4123 | ||
|
|
fff41905e9 | ||
|
|
44a2d35676 | ||
|
|
1d6a8ed6ea | ||
|
|
4ede66b950 | ||
|
|
2b84f5bc33 | ||
|
|
42311595ae | ||
|
|
0526617e0a | ||
|
|
9b63661c15 | ||
|
|
a46742dcb6 | ||
|
|
a4f960311e | ||
|
|
c64f332016 | ||
|
|
6320fcb16b | ||
|
|
21d5c9c346 | ||
|
|
d0b0e2b880 | ||
|
|
ff0a6e77ff | ||
|
|
e2340cd101 | ||
|
|
bfa744e645 | ||
|
|
9c412c0b91 | ||
|
|
11ec98cacd | ||
|
|
23058b943f | ||
|
|
65b981632c | ||
|
|
6544bcfda8 | ||
|
|
2251178eac | ||
|
|
7daf4b739e | ||
|
|
bd9fa57b81 | ||
|
|
68bff52cae | ||
|
|
8873c44400 | ||
|
|
b603482343 | ||
|
|
d30c17f44e | ||
|
|
2ca4575eeb | ||
|
|
51b93b6c23 | ||
|
|
ed9fb93c62 | ||
|
|
5ea6b70ca1 | ||
|
|
7d1644d234 | ||
|
|
010fce60af | ||
|
|
c3667fa861 | ||
|
|
8716b46c87 | ||
|
|
cfdbdfc9eb | ||
|
|
077582d3f9 | ||
|
|
db51810499 | ||
|
|
5e23a773b4 | ||
|
|
1ca679877e | ||
|
|
9cb34c2a76 | ||
|
|
03c7f4f63b | ||
|
|
869a2b0121 | ||
|
|
0e409c5558 | ||
|
|
010fcfb9ec | ||
|
|
045232ef52 | ||
|
|
a560146b7c | ||
|
|
b64dd253b6 | ||
|
|
75343422a5 | ||
|
|
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
|
||||
|
||||
@@ -44,6 +44,7 @@ Ankh.NoLoad
|
||||
# Tooling
|
||||
_ReSharper*/
|
||||
*.resharper
|
||||
.idea/*
|
||||
[Tt]est[Rr]esult*
|
||||
*.orig
|
||||
*.rej
|
||||
|
||||
+11
-6
@@ -7,6 +7,7 @@
|
||||
[submodule "external/cecil"]
|
||||
path = external/cecil
|
||||
url = git://github.com/mono/cecil.git
|
||||
branch = mono-2017-12
|
||||
[submodule "external/rx"]
|
||||
path = external/rx
|
||||
url = git://github.com/mono/rx.git
|
||||
@@ -20,18 +21,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
|
||||
@@ -49,9 +44,19 @@
|
||||
[submodule "external/linker"]
|
||||
path = external/linker
|
||||
url = git://github.com/mono/linker.git
|
||||
branch = mono-2017-12
|
||||
[submodule "external/roslyn-binaries"]
|
||||
path = external/roslyn-binaries
|
||||
url = git://github.com/mono/roslyn-binaries.git
|
||||
[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
|
||||
+128
@@ -0,0 +1,128 @@
|
||||
# Mono Code Owners File
|
||||
#
|
||||
# GitHub uses this file to determine who to assign for reviews
|
||||
# on pull requests. Please keep this file alphabetically sorted.
|
||||
#
|
||||
# References:
|
||||
#
|
||||
# https://github.com/blog/2392-introducing-code-owners
|
||||
# https://help.github.com/articles/about-codeowners
|
||||
|
||||
|
||||
# These owners will be the default owners for everything in the repo.
|
||||
* @luhenry @marek-safar
|
||||
|
||||
# Order is important. The last matching pattern has the most precedence.
|
||||
|
||||
/acceptance-tests @akoeplinger
|
||||
/acceptance-tests/profiler-stress* @alexrp
|
||||
|
||||
/data @marek-safar @akoeplinger
|
||||
/data/gdb @vargaz
|
||||
/data/lldb @lewurm @vargaz
|
||||
|
||||
/docs @luhenry @marek-safar
|
||||
/docs/sources/mono-api-profiler.html @alexrp
|
||||
|
||||
/external @marek-safar @luhenry
|
||||
/external/binary-reference-assemblies @marek-safar @akoeplinger
|
||||
/external/bockbuild @akoeplinger @alexischr
|
||||
/external/boringssl @baulig
|
||||
/external/nuget-buildtasks @radical @akoeplinger
|
||||
|
||||
/libgc @BrzVlad @vargaz
|
||||
|
||||
/llvm @vargaz
|
||||
|
||||
/man @marek-safar @miguel
|
||||
/man/*prof* @alexrp
|
||||
|
||||
/mcs @marek-safar
|
||||
|
||||
/mcs/build @marek-safar @akoeplinger
|
||||
|
||||
/mcs/class @marek-safar @akoeplinger
|
||||
/mcs/class/corlib/System.Reflection*/ @vargaz @lambdageek
|
||||
/mcs/class/Mono.Btls.Interface @baulig
|
||||
/mcs/class/Mono.Data.Tds @egorbo
|
||||
/mcs/class/Mono.Debugger.Soft @vargaz
|
||||
/mcs/class/Mono.Options @jonpryor
|
||||
/mcs/class/Mono.Profiler.Log @alexrp
|
||||
/mcs/class/Mono.Security/Mono.Security/Interface @baulig
|
||||
/mcs/class/System/Mono.AppleTls @baulig
|
||||
/mcs/class/System/Mono.Btls @baulig
|
||||
/mcs/class/System/Mono.Net.Security @baulig
|
||||
/mcs/class/System/Mono.Security.Interface @baulig
|
||||
/mcs/class/System.Data* @egorbo
|
||||
|
||||
/mcs/errors @marek-safar
|
||||
/mcs/ilasm @marek-safar
|
||||
/mcs/jay @marek-safar
|
||||
/mcs/mcs @marek-safar
|
||||
/mcs/tests @marek-safar
|
||||
/mcs/tools @marek-safar @akoeplinger
|
||||
|
||||
/mono @luhenry
|
||||
|
||||
/mono/btls @baulig
|
||||
/mono/dis @lambdageek @vargaz
|
||||
/mono/eglib @kumpera @vargaz @luhenry
|
||||
|
||||
/mono/metadata @vargaz @kumpera
|
||||
/mono/metadata/*verify* @kumpera
|
||||
/mono/metadata/*profiler* @alexrp
|
||||
/mono/metadata/monitor* @brzvlad
|
||||
/mono/metadata/sgen* @brzvlad
|
||||
/mono/metadata/threads* @luhenry @kumpera
|
||||
/mono/metadata/threadpool* @luhenry
|
||||
/mono/metadata/w32* @luhenry
|
||||
/mono/metadata/*-win* @lateralusX @luhenry
|
||||
|
||||
/mono/mini @vargaz @kumpera
|
||||
/mono/mini/*cfgdump* @lewurm
|
||||
/mono/mini/*exceptions* @lewurm
|
||||
/mono/mini/*ppc* @lewurm
|
||||
/mono/mini/*type-check* @lewurm
|
||||
/mono/mini/interp/* @lewurm
|
||||
/mono/mini/*profiler* @alexrp
|
||||
/mono/mini/debugger-agent.c @DavidKarlas
|
||||
|
||||
/mono/profiler @alexrp @kumpera
|
||||
|
||||
/mono/sgen @brzvlad @kumpera
|
||||
|
||||
/mono/utils @kumpera @vargaz
|
||||
/mono/utils/atomic* @alexrp
|
||||
/mono/utils/mono-hwcap* @alexrp
|
||||
/mono/utils/mono-mem* @alexrp
|
||||
/mono/utils/mono-threads* @luhenry @kumpera
|
||||
/mono/utils/*-win* @lateralusX @kumpera
|
||||
|
||||
/msvc @lateralusX
|
||||
/msvc/*profiler* @alexrp
|
||||
/msvc/scripts @akoeplinger
|
||||
|
||||
/packaging/ @alexischr @akoeplinger
|
||||
/packaging/MacSDK/msbuild.py @radical @akoeplinger
|
||||
|
||||
/runtime @akoeplinger @marek-safar
|
||||
|
||||
/samples @luhenry
|
||||
/samples/profiler @alexrp
|
||||
/samples/size @alexrp
|
||||
|
||||
/scripts @akoeplinger
|
||||
/scripts/ci @akoeplinger
|
||||
/scripts/ci/run-test-profiler-stress-tests.sh @alexrp
|
||||
|
||||
/support @luhenry @vargaz
|
||||
|
||||
/tools @kumpera
|
||||
/tools/checker @tritao
|
||||
/tools/crash-bisector @kumpera
|
||||
/tools/locale-builder @marek-safar
|
||||
/tools/monograph @vargaz
|
||||
/tools/nuget-hash-extractor @marek-safar
|
||||
/tools/offsets-tool @lewurm @rolfbjarne
|
||||
/tools/pedump @kumpera @lambdageek
|
||||
/tools/sgen @brzvlad
|
||||
+7
-2
@@ -23,7 +23,7 @@ License
|
||||
|
||||
The Mono runtime, compilers, and tools and most of the class libraries
|
||||
are licensed under the MIT license. But include some bits of code
|
||||
licensed under different licenses. The exact list is [available here] (https://github.com/mono/mono/blob/master/LICENSE).
|
||||
licensed under different licenses. The exact list is [available here](https://github.com/mono/mono/blob/master/LICENSE).
|
||||
|
||||
Different parts of Mono use different licenses. The actual details of
|
||||
which licenses are used for which parts are detailed on the LICENSE
|
||||
@@ -32,7 +32,12 @@ file in this directory.
|
||||
CLA
|
||||
=======
|
||||
|
||||
Contributions are now taken under the [.NET Foundation CLA] (https://cla2.dotnetfoundation.org/).
|
||||
Contributions are now taken under the [.NET Foundation CLA](https://cla2.dotnetfoundation.org/).
|
||||
|
||||
Code Review
|
||||
=======
|
||||
We are requiring code reviews before merging a pull request.
|
||||
GitHub won't let you merge a PR until someone from the Mono team approves it.
|
||||
|
||||
Testing
|
||||
=======
|
||||
|
||||
@@ -46,7 +46,7 @@ embeddable runtime:
|
||||
|
||||
* mono/utils/bsearch.c: BSD license.
|
||||
|
||||
* mono/io-layer/wapi_glob.h, wapi_glob.c: BSD license
|
||||
* mono/metadata/w32file-unix-glob.c, w32file-unix-glob.h: BSD license
|
||||
|
||||
Class Library code
|
||||
==================
|
||||
|
||||
+14
-38
@@ -2,7 +2,7 @@ ACLOCAL_AMFLAGS = -I m4
|
||||
|
||||
AM_CFLAGS = $(WERROR_CFLAGS)
|
||||
|
||||
MONOTOUCH_SUBDIRS = $(libgc_dir) eglib/src mono
|
||||
MONOTOUCH_SUBDIRS = $(libgc_dir) mono
|
||||
|
||||
# Some tools might not build when cross-compiling
|
||||
if CROSS_COMPILING
|
||||
@@ -11,9 +11,15 @@ else
|
||||
tools_dir = tools
|
||||
endif
|
||||
|
||||
SUBDIRS = po $(libgc_dir) eglib mono $(ikvm_native_dir) support data runtime scripts man samples $(tools_dir) msvc $(docs_dir) acceptance-tests llvm
|
||||
if BUILD_SUPPORT
|
||||
support_dir = support
|
||||
else
|
||||
support_dir =
|
||||
endif
|
||||
|
||||
SUBDIRS = po $(libgc_dir) mono $(ikvm_native_dir) $(support_dir) data runtime scripts man samples $(tools_dir) msvc $(docs_dir) acceptance-tests llvm
|
||||
# Keep in sync with SUBDIRS
|
||||
DIST_SUBDIRS = m4 po $(libgc_dir) eglib mono ikvm-native support data runtime scripts man samples tools msvc docs acceptance-tests llvm
|
||||
DIST_SUBDIRS = m4 po $(libgc_dir) mono ikvm-native $(support_dir) data runtime scripts man samples tools msvc docs acceptance-tests llvm
|
||||
|
||||
all: update_submodules
|
||||
|
||||
@@ -44,31 +50,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
|
||||
@@ -125,23 +115,6 @@ monotouch-do-clean:
|
||||
|
||||
endif
|
||||
|
||||
win32getdeps:
|
||||
wget http://www.go-mono.com/archive/pkgconfig-0.11-20020310.zip
|
||||
wget http://www.go-mono.com/archive/glib-2.0.4-20020703.zip
|
||||
wget http://www.go-mono.com/archive/glib-dev-2.0.4-20020703.zip
|
||||
wget http://www.go-mono.com/archive/libiconv-1.7.zip
|
||||
wget http://www.go-mono.com/archive/libiconv-dev-1.7.zip
|
||||
wget http://www.go-mono.com/archive/libintl-0.10.40-20020101.zip
|
||||
unzip -n -d / pkgconfig-0.11-20020310.zip
|
||||
unzip -n -d / glib-2.0.4-20020703.zip
|
||||
unzip -n -d / glib-dev-2.0.4-20020703.zip
|
||||
unzip -n -d / libiconv-1.7.zip
|
||||
unzip -n -d / libiconv-dev-1.7.zip
|
||||
unzip -n -d / libintl-0.10.40-20020101.zip
|
||||
|
||||
win32setup:
|
||||
makensis /DMILESTONE=$(VERSION) /DSOURCE_INSTALL_DIR=$(SOURCE_INSTALL_DIR) /DBUILDNUM=$(BUILDNUM) monowiz.win32.nsi
|
||||
|
||||
update-csproj:
|
||||
-rm msvc/scripts/order
|
||||
-rm msvc/scripts/order.xml
|
||||
@@ -178,4 +151,7 @@ update-llvm-version:
|
||||
update-solution-files:
|
||||
make update-csproj
|
||||
make package-inputs
|
||||
(cd msvc/scripts; make genproj.exe; mono genproj.exe)
|
||||
(cd msvc/scripts; make genproj.exe; mono genproj.exe $(GENPROJ_ARGS))
|
||||
|
||||
update-solution-files-with-tests:
|
||||
make "GENPROJ_ARGS=2012 true true" update-solution-files
|
||||
@@ -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`.
|
||||
|
||||
@@ -309,16 +308,6 @@ should be used.
|
||||
|
||||
* Or you can specify a path to a libgdiplus.
|
||||
|
||||
* `--disable-shared-memory`
|
||||
|
||||
* Use this option to disable the use of shared memory in
|
||||
Mono (this is equivalent to setting the MONO_DISABLE_SHM
|
||||
environment variable, although this removes the feature
|
||||
completely).
|
||||
|
||||
* Disabling the shared memory support will disable certain
|
||||
features like cross-process named mutexes.
|
||||
|
||||
* `--enable-minimal=LIST`
|
||||
|
||||
* Use this feature to specify optional runtime
|
||||
@@ -484,6 +473,16 @@ http://code.google.com/p/nativeclient/
|
||||
* Currently this is used with Mono's AOT engine as
|
||||
Native Client does not support JIT engines yet.
|
||||
|
||||
* `--enable-wasm`
|
||||
|
||||
* Use this option to configure mono to run on WebAssembly. It will
|
||||
set both host and target to the WebAssembly triplet. This overrides
|
||||
the values passed to `--host` or `--target` and ignored what config.sub guesses.
|
||||
|
||||
This is a workaround to enable usage of old automake versions that don't
|
||||
recognize the wasm triplet.
|
||||
|
||||
|
||||
Working With Submodules
|
||||
=======================
|
||||
|
||||
|
||||
@@ -14,6 +14,7 @@ RUNTIME = MONO_PATH=$(CLASS) $(abs_top_builddir)/runtime/mono-wrapper --debug
|
||||
TOOLS_RUNTIME = MONO_PATH=$(TOOLS_CLASS) $(abs_top_builddir)/runtime/mono-wrapper --debug
|
||||
MCS = $(TOOLS_RUNTIME) $(CSC) -nologo -noconfig -lib:$(CLASS) -r:System.dll -r:System.Core.dll -r:System.Xml.dll -r:Microsoft.CSharp.dll
|
||||
ILASM = $(TOOLS_RUNTIME) $(TOOLS_CLASS)/ilasm.exe
|
||||
XUNIT = $(RUNTIME) $(abs_top_builddir)/external/xunit-binaries/xunit.console.exe
|
||||
|
||||
include versions.mk
|
||||
include profiler-stress.mk
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
[
|
||||
{
|
||||
"name": "roslyn",
|
||||
"url": "git://github.com/dotnet/roslyn.git",
|
||||
"rev": "322bd5b2bbf07df6a67de35cbcb2365484412f70",
|
||||
"remote-branch": "origin/master",
|
||||
"branch": "master",
|
||||
"url": "git://github.com/mono/roslyn.git",
|
||||
"rev": "1d9895045041925490038c5df0d8f947d8dcbd7f",
|
||||
"remote-branch": "origin/mono-testing",
|
||||
"branch": "mono-testing",
|
||||
"directory": "roslyn"
|
||||
},
|
||||
{
|
||||
"name": "coreclr",
|
||||
"url": "git://github.com/mono/coreclr.git",
|
||||
"rev": "c7da48acf72c40c0c0ed1a80ebfacea21bb3a271",
|
||||
"rev": "83d8279997d8ce4ad344ff9b937b2d13d074dcaa",
|
||||
"remote-branch": "origin/mono",
|
||||
"branch": "mono",
|
||||
"directory": "coreclr"
|
||||
@@ -18,7 +18,7 @@
|
||||
{
|
||||
"name": "ms-test-suite",
|
||||
"url": "[email protected]:xamarin/ms-test-suite.git",
|
||||
"rev": "55b6637eb1de61c743323ec82db1e0cadfee5b32",
|
||||
"rev": "67f29dfc0741b5311dd746c75760963a2915e648",
|
||||
"remote-branch": "origin/master",
|
||||
"branch": "master",
|
||||
"directory": "ms-test-suite"
|
||||
@@ -31,4 +31,4 @@
|
||||
"branch": "master",
|
||||
"directory": "benchmarker"
|
||||
}
|
||||
]
|
||||
]
|
||||
@@ -32,7 +32,7 @@ coreclr-runtest-coremanglib: coreclr-validate test-runner.exe $(CORECLR_COREMANG
|
||||
check-coreclr: coreclr-compile-tests coreclr-runtest-basic coreclr-runtest-coremanglib
|
||||
|
||||
coreclr-gcstress: coreclr-validate GCStressTests.exe $(CORECLR_STRESSTESTSI_CS)
|
||||
BVT_ROOT=$(realpath $(CORECLR_PATH)/tests/src/GC/Stress/Tests) $(RUNTIME) GCStressTests.exe $(CORECLR_PATH)/tests/src/GC/Stress/testmix_gc.config; if [ $$? -ne 100 ]; then exit 1; fi
|
||||
BVT_ROOT=$(realpath $(CORECLR_PATH)/tests/src/GC/Stress/Tests) $(RUNTIME) GCStressTests.exe $(CORECLR_PATH)/tests/src/GC/Stress/$(if $(CI_PR),testmix_gc_pr.config,testmix_gc.config); if [ $$? -ne 100 ]; then exit 1; fi
|
||||
|
||||
# Output a variable in $(2) to the file $(1), separated by newline characters
|
||||
# we need to do it in groups of 100 entries to make sure we don't exceed shell char limits
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
check-ms-test-suite: $(CLASS)/nunitlite.dll
|
||||
@if $(MAKE) validate-ms-test-suite RESET_VERSIONS=1; then \
|
||||
$(MAKE) -C $(MSTESTSUITE_PATH)/conformance build MCS="$(MCS) -debug:portable -t:library -warn:1 -r:$(CLASS)/nunitlite.dll" && \
|
||||
$(MAKE) -C $(MSTESTSUITE_PATH)/systemruntimebringup build MCS="$(MCS) -debug:portable -t:library -warn:1 -r:$(CLASS)/nunitlite.dll" && \
|
||||
$(MAKE) -C $(MSTESTSUITE_PATH)/System.Linq.Expressions build MCS="$(MCS) -debug:portable -t:library -warn:1 -r:$(CLASS)/nunitlite.dll" && \
|
||||
$(MAKE) -C $(MSTESTSUITE_PATH)/conformance run NUNIT-CONSOLE="$(RUNTIME) $(CLASS)/nunit-lite-console.exe -exclude=MonoBug,BadTest -format:nunit2" NUNIT_XML_RESULT="-result:$(abs_top_builddir)/acceptance-tests/TestResult-ms-test-suite-conformance.xml" || EXIT_CODE=1; \
|
||||
$(MAKE) -C $(MSTESTSUITE_PATH)/systemruntimebringup build MCS="$(MCS) -debug:portable -warn:1" && \
|
||||
$(MAKE) -C $(MSTESTSUITE_PATH)/systemruntimebringup run MONO="$(RUNTIME)" || EXIT_CODE=1; \
|
||||
$(MAKE) -C $(MSTESTSUITE_PATH)/systemruntimebringup run NUNIT-CONSOLE="$(RUNTIME) $(CLASS)/nunit-lite-console.exe -exclude=MonoBug,BadTest -format:nunit2" NUNIT_XML_RESULT="-result:$(abs_top_builddir)/acceptance-tests/TestResult-ms-test-suite-systemruntimebringup.xml" || EXIT_CODE=1; \
|
||||
$(MAKE) -C $(MSTESTSUITE_PATH)/System.Linq.Expressions run NUNIT-CONSOLE="$(RUNTIME) $(CLASS)/nunit-lite-console.exe -exclude=MonoBug,BadTest -format:nunit2" NUNIT_XML_RESULT="-result:$(abs_top_builddir)/acceptance-tests/TestResult-ms-test-suite-systemlinqexpressions.xml" || EXIT_CODE=1; \
|
||||
exit $$EXIT_CODE; \
|
||||
else \
|
||||
echo "*** [ms-test-suite] Getting the repository failed, you probably don't have access to this Xamarin-internal resource. Skipping."; \
|
||||
|
||||
@@ -9,5 +9,5 @@ SYS_REFS = \
|
||||
|
||||
check-profiler-stress:
|
||||
@$(MAKE) validate-benchmarker RESET_VERSIONS=1
|
||||
cd profiler-stress && $(MCS) -target:exe $(addprefix -r:, $(SYS_REFS)) -out:runner.exe @runner.exe.sources
|
||||
cd profiler-stress && $(MCS) -debug -define:ARCH_$(arch_target) -target:exe $(addprefix -r:, $(SYS_REFS)) -out:runner.exe @runner.exe.sources
|
||||
cd profiler-stress && $(RUNTIME) runner.exe
|
||||
@@ -38,15 +38,52 @@ namespace Mono.Profiling.Tests.Stress {
|
||||
public ProcessStartInfo StartInfo { get; set; }
|
||||
public Stopwatch Stopwatch { get; set; } = new Stopwatch ();
|
||||
public int? ExitCode { get; set; }
|
||||
public StringBuilder StandardOutput { get; set; } = new StringBuilder ();
|
||||
public StringBuilder StandardError { get; set; } = new StringBuilder ();
|
||||
public string StandardOutput { get; set; }
|
||||
public string StandardError { get; set; }
|
||||
}
|
||||
|
||||
static class Program {
|
||||
|
||||
static readonly TimeSpan _timeout = TimeSpan.FromHours (6);
|
||||
static readonly string[] _options = new [] {
|
||||
"exception",
|
||||
"monitor",
|
||||
"gc",
|
||||
"gcalloc",
|
||||
"gcmove",
|
||||
"gcroot",
|
||||
"gchandle",
|
||||
"finalization",
|
||||
"counter",
|
||||
"jit",
|
||||
};
|
||||
|
||||
static string FilterInvalidXmlChars (string text) {
|
||||
static readonly TimeSpan _timeout = TimeSpan.FromHours (9);
|
||||
|
||||
static readonly Dictionary<string, Predicate<Benchmark>> _filters = new Dictionary<string, Predicate<Benchmark>> {
|
||||
{ "ironjs-v8", FilterNotOnArm },
|
||||
{ "msbiology", FilterNever },
|
||||
};
|
||||
|
||||
static bool FilterNever (Benchmark benchmark)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
static bool FilterNotOnArm (Benchmark benchmark)
|
||||
{
|
||||
#if ARCH_arm || ARCH_arm64
|
||||
return false;
|
||||
#else
|
||||
return true;
|
||||
#endif
|
||||
}
|
||||
|
||||
static bool IsSupported (Benchmark benchmark)
|
||||
{
|
||||
return _filters.TryGetValue (benchmark.Name, out var filter) ? filter (benchmark) : true;
|
||||
}
|
||||
|
||||
static string ReplaceInvalidXmlChars (string text) {
|
||||
return Regex.Replace (text, @"[^\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\u10000-\u10FFFF]", string.Empty);
|
||||
}
|
||||
|
||||
@@ -58,7 +95,7 @@ namespace Mono.Profiling.Tests.Stress {
|
||||
|
||||
var benchmarks = Directory.EnumerateFiles (benchDir, "*.benchmark")
|
||||
.Select (Benchmark.Load)
|
||||
.Where (b => !b.OnlyExplicit && b.ClientCommandLine == null)
|
||||
.Where (b => !b.OnlyExplicit && b.ClientCommandLine == null && IsSupported (b))
|
||||
.OrderBy (b => b.Name)
|
||||
.ToArray ();
|
||||
|
||||
@@ -75,14 +112,22 @@ namespace Mono.Profiling.Tests.Stress {
|
||||
for (var i = 0; i < benchmarks.Length; i++) {
|
||||
var bench = benchmarks [i];
|
||||
|
||||
var sampleFreq = rand.Next (0, 1001);
|
||||
var sampleMode = rand.Next (0, 2) == 1 ? "real" : "process";
|
||||
var sampleFreq = rand.Next (-1000, 1001);
|
||||
var sampleMode = rand.Next (0, 2) == 1 ? "-real" : string.Empty;
|
||||
var maxSamples = rand.Next (0, cpus * 2000 + 1);
|
||||
var heapShotFreq = rand.Next (0, 11);
|
||||
var heapShotFreq = rand.Next (-10, 11);
|
||||
var maxFrames = rand.Next (0, 33);
|
||||
var allocMode = rand.Next (0, 2) == 1 ? "alloc" : "noalloc";
|
||||
var options = _options.ToDictionary (x => x, _ => rand.Next (0, 2) == 1)
|
||||
.Select (x => (x.Value ? string.Empty : "no") + x.Key)
|
||||
.ToArray ();
|
||||
|
||||
var profOptions = $"sample=cycles/{sampleFreq},sampling-{sampleMode},maxsamples={maxSamples},heapshot={heapShotFreq}gc,maxframes={maxFrames},{allocMode},output=/dev/null";
|
||||
var profOptions = $"maxframes={maxFrames},{string.Join (",", options)},output=/dev/null";
|
||||
|
||||
if (sampleFreq > 0)
|
||||
profOptions += $",sample{sampleMode}={sampleFreq},maxsamples={maxSamples}";
|
||||
|
||||
if (heapShotFreq > 0)
|
||||
profOptions += $",heapshot={heapShotFreq}gc";
|
||||
|
||||
var info = new ProcessStartInfo {
|
||||
UseShellExecute = false,
|
||||
@@ -110,14 +155,19 @@ namespace Mono.Profiling.Tests.Stress {
|
||||
using (var proc = new Process ()) {
|
||||
proc.StartInfo = info;
|
||||
|
||||
var stdout = new StringBuilder ();
|
||||
var stderr = new StringBuilder ();
|
||||
|
||||
proc.OutputDataReceived += (sender, args) => {
|
||||
if (args.Data != null)
|
||||
result.StandardOutput.AppendLine (args.Data);
|
||||
lock (result)
|
||||
stdout.AppendLine (args.Data);
|
||||
};
|
||||
|
||||
proc.ErrorDataReceived += (sender, args) => {
|
||||
if (args.Data != null)
|
||||
result.StandardError.AppendLine (args.Data);
|
||||
lock (result)
|
||||
stderr.AppendLine (args.Data);
|
||||
};
|
||||
|
||||
result.Stopwatch.Start ();
|
||||
@@ -140,6 +190,11 @@ namespace Mono.Profiling.Tests.Stress {
|
||||
result.ExitCode = proc.ExitCode;
|
||||
|
||||
result.Stopwatch.Stop ();
|
||||
|
||||
lock (result) {
|
||||
result.StandardOutput = stdout.ToString ();
|
||||
result.StandardError = stderr.ToString ();
|
||||
}
|
||||
}
|
||||
|
||||
var resultStr = result.ExitCode == null ? "timed out" : $"exited with code: {result.ExitCode}";
|
||||
@@ -153,13 +208,13 @@ namespace Mono.Profiling.Tests.Stress {
|
||||
Console.WriteLine ("===== stdout =====");
|
||||
Console.ResetColor ();
|
||||
|
||||
Console.WriteLine (result.StandardOutput.ToString ());
|
||||
Console.WriteLine (result.StandardOutput);
|
||||
|
||||
Console.ForegroundColor = ConsoleColor.Red;
|
||||
Console.WriteLine ("===== stderr =====");
|
||||
Console.ResetColor ();
|
||||
|
||||
Console.WriteLine (result.StandardError.ToString ());
|
||||
Console.WriteLine (result.StandardError);
|
||||
}
|
||||
|
||||
results.Add (result);
|
||||
@@ -239,11 +294,11 @@ namespace Mono.Profiling.Tests.Stress {
|
||||
writer.WriteStartElement ("failure");
|
||||
|
||||
writer.WriteStartElement ("message");
|
||||
writer.WriteCData (FilterInvalidXmlChars (result.StandardOutput.ToString ()));
|
||||
writer.WriteCData (ReplaceInvalidXmlChars (result.StandardOutput));
|
||||
writer.WriteEndElement ();
|
||||
|
||||
writer.WriteStartElement ("stack-trace");
|
||||
writer.WriteCData (FilterInvalidXmlChars (result.StandardError.ToString ()));
|
||||
writer.WriteCData (ReplaceInvalidXmlChars (result.StandardError));
|
||||
writer.WriteEndElement ();
|
||||
|
||||
writer.WriteEndElement ();
|
||||
|
||||
@@ -1,18 +1,5 @@
|
||||
check-roslyn:
|
||||
@$(MAKE) validate-roslyn RESET_VERSIONS=1
|
||||
@if [ -z $$PREFIX ]; then echo "You need to set PREFIX to the prefix of the Mono installation that should be used for testing Roslyn." && exit 1; fi
|
||||
sed -i -e 's/\\4.5-api"/\\4.5"/g' $$PREFIX/lib/mono/xbuild-frameworks/.NETFramework/v4.5/RedistList/FrameworkList.xml; \
|
||||
export MSBuildExtensionsPath=$$PREFIX/lib/mono/xbuild; \
|
||||
MONO_DOTNET_PORTABLE_DIR=$$PREFIX/lib/mono/xbuild-frameworks/.NETPortable/; \
|
||||
if [ ! -d "$$MONO_DOTNET_PORTABLE_DIR/v4.6" ]; then \
|
||||
mkdir -p $$MONO_DOTNET_PORTABLE_DIR; \
|
||||
curl -SL "http://download.mono-project.com/third-party/RoslynBuildDependencies.zip" > /tmp/RoslynBuildDependencies.zip; \
|
||||
unzip -o /tmp/RoslynBuildDependencies.zip -d /tmp/RoslynBuildDependencies; \
|
||||
cp -r /tmp/RoslynBuildDependencies/PortableReferenceAssemblies/* $$MONO_DOTNET_PORTABLE_DIR; \
|
||||
fi; \
|
||||
cd $(ROSLYN_PATH); \
|
||||
sed -i -e 'N; s/bootstrapArg=".*\n.*"/bootstrapArg=""/g' cibuild.sh; \
|
||||
sed -i -e 's#-xml Binaries/\$$BUILD_CONFIGURATION/xUnitResults/#-nunit $(abs_top_builddir)/acceptance-tests/TestResult-#g' cibuild.sh; \
|
||||
./cibuild.sh --mono-path $$PREFIX/bin || EXIT_CODE=1; \
|
||||
sed -i -e 's/\\4.5"/\\4.5-api"/g' $$PREFIX/lib/mono/xbuild-frameworks/.NETFramework/v4.5/RedistList/FrameworkList.xml; \
|
||||
exit $$EXIT_CODE
|
||||
./mono-testing.sh "$(XUNIT)" || exit; \
|
||||
echo "done"
|
||||
@@ -154,12 +154,6 @@ if test -d $srcdir/libgc; then
|
||||
echo Done running libgc/autogen.sh ...
|
||||
fi
|
||||
|
||||
if test -d $srcdir/eglib; then
|
||||
echo Running eglib/autogen.sh ...
|
||||
(cd $srcdir/eglib ; NOCONFIGURE=1 ./autogen.sh "$@")
|
||||
echo Done running eglib/autogen.sh ...
|
||||
fi
|
||||
|
||||
if test x$MONO_EXTRA_CONFIGURE_FLAGS != x; then
|
||||
echo "MONO_EXTRA_CONFIGURE_FLAGS is $MONO_EXTRA_CONFIGURE_FLAGS"
|
||||
fi
|
||||
|
||||
+564
-227
File diff suppressed because it is too large.
Load diff
@@ -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 == "interp_exec_method_full":
|
||||
try:
|
||||
s = 'frame->imethod->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.
|
||||
|
||||
*/
|
||||
|
||||
|
||||
@@ -11,11 +11,11 @@
|
||||
<section name="assemblyBinding" type="System.Configuration.IgnoreSection, System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" allowLocation="false" />
|
||||
<section name="satelliteassemblies" type="System.Configuration.IgnoreSection, System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" allowLocation="false" />
|
||||
<section name="startup" type="System.Configuration.IgnoreSection, System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" allowLocation="false"/>
|
||||
<section name="system.codedom" type="System.CodeDom.Compiler.CodeDomConfigurationHandler, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<section name="system.data" type="System.Data.Common.DbProviderFactoriesConfigurationHandler, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<section name="system.diagnostics" type="System.Diagnostics.SystemDiagnosticsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<section name="system.runtime.remoting" type="System.Configuration.IgnoreSection, System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowLocation="false"/>
|
||||
<section name="system.windows.forms" type="System.Windows.Forms.WindowsFormsSection, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<section name="system.codedom" type="System.CodeDom.Compiler.CodeDomConfigurationHandler, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<section name="windows" type="System.Configuration.IgnoreSection, System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" allowLocation="false" />
|
||||
<section name="strongNames" type="System.Configuration.IgnoreSection, System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowLocation="false"/>
|
||||
<sectionGroup name="system.runtime.serialization" type="System.Runtime.Serialization.Configuration.SerializationSectionGroup, System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -43,6 +43,16 @@
|
||||
line-height: 0px;
|
||||
}
|
||||
|
||||
.mapi-codeblock {
|
||||
display: block;
|
||||
padding: 5pt 5pt;
|
||||
margin: 10pt;
|
||||
white-space: pre;
|
||||
font-family: monospace;
|
||||
border: 1px solid rgba(233,233,233,1);
|
||||
background-color: rgba(249,249,249,1);
|
||||
}
|
||||
|
||||
.mapi-entry code {
|
||||
border: none;
|
||||
background-color: transparent;
|
||||
|
||||
+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
|
||||
+452
-259
@@ -1,91 +1,311 @@
|
||||
#!/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 = '';
|
||||
my $codeblock = 'false';
|
||||
|
||||
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, $.);
|
||||
}
|
||||
|
||||
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/^ +\*//;
|
||||
|
||||
if (/\s*\\code$/) {
|
||||
$codeblock = 'true';
|
||||
} elsif (/\s*\\endcode$/) {
|
||||
$codeblock = 'false';
|
||||
}
|
||||
|
||||
# Replace blank lines with paragraph breaks if we're not in a code block.
|
||||
if (/^\s*$/) {
|
||||
$_ = '<p>' if $codeblock eq 'false';
|
||||
}
|
||||
|
||||
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$_";
|
||||
}
|
||||
} 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;
|
||||
|
||||
# General formatting
|
||||
s{\\b +(\w+)}{<strong>$1</strong>}g;
|
||||
s{\\a +(\w+)}{<i>$1</i>}g;
|
||||
s{\\e +(\w+)}{<i>$1</i>}g;
|
||||
s{\\em +(\w+)}{<i>$1</i>}g;
|
||||
|
||||
# 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;
|
||||
s{\\code}{<pre><code class="mapi-codeblock">}g;
|
||||
s{\\endcode}{</code></pre>}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 +318,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
|
||||
@@ -37,7 +37,6 @@
|
||||
<manpage name="mono-xmltool(1)" page="../man/mono-xmltool.1" />
|
||||
<manpage name="mozroots(1)" page="../man/mozroots.1" />
|
||||
<manpage name="permview(1)" page="../man/permview.1" />
|
||||
<manpage name="prj2make(1)" page="../man/prj2make.1" />
|
||||
<manpage name="resgen(1)" page="../man/resgen.1" />
|
||||
<manpage name="secutil(1)" page="../man/secutil.1" />
|
||||
<manpage name="setreg(1)" page="../man/setreg.1" />
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -1,73 +1,193 @@
|
||||
<h1>Profiling Interface</h1>
|
||||
<h1>Runtime Profiler API</h1>
|
||||
|
||||
<h3>Profiler Operation</h3>
|
||||
<p>The profiler API can be used by dynamically loaded profiler
|
||||
modules to monitor different aspects of a running program. The
|
||||
API is also usable by embedders without having to compile a
|
||||
profiler module.
|
||||
|
||||
<p>The following methods can be used by dynamic profiler
|
||||
methods to monitor different aspects of the program.
|
||||
<h2>Profiler Modules</h2>
|
||||
|
||||
<p>A custom profiler will have one public method defined in
|
||||
the shared library which is the entry point that Mono calls at
|
||||
startup, it has the following signature:
|
||||
<p>A profiler module is simply a shared library with a single
|
||||
exported function which is the entry point that Mono calls at
|
||||
startup. It must have the following signature:
|
||||
|
||||
<pre>
|
||||
void mono_profiler_startup (const char *desc)
|
||||
</pre>
|
||||
<pre><code class="mapi-codeblock">
|
||||
void mono_profiler_startup_example (const char *desc)
|
||||
</code></pre>
|
||||
|
||||
<p>Where "desc" is the set of arguments that were passed from
|
||||
the command line. This routine will call
|
||||
<tt>mono_profiler_install</tt> to activate the profiler and
|
||||
will install one or more filters (one of the various
|
||||
<tt>mono_profiler_install_</tt> functions).
|
||||
<p>Here, the <code>example</code> portion of the function name is
|
||||
the name of the profiler module. It must match the shared library
|
||||
name (i.e. <code>libmono-profiler-example.so</code>). <i>desc</i>
|
||||
is the set of arguments that were passed from the command line.
|
||||
|
||||
<p>In addition, a profiler developer will typically call
|
||||
<tt>mono_profiler_set_events</tt> to register which kinds of
|
||||
traces should be enabled, these can be an OR-ed combination of
|
||||
the following:
|
||||
<p>For example, a bare bones profiler module might look like this
|
||||
(<code>example.c</code>):
|
||||
|
||||
<pre>
|
||||
MONO_PROFILE_NONE
|
||||
MONO_PROFILE_APPDOMAIN_EVENTS
|
||||
MONO_PROFILE_ASSEMBLY_EVENTS
|
||||
MONO_PROFILE_MODULE_EVENTS
|
||||
MONO_PROFILE_CLASS_EVENTS
|
||||
MONO_PROFILE_JIT_COMPILATION
|
||||
MONO_PROFILE_INLINING
|
||||
MONO_PROFILE_EXCEPTIONS
|
||||
MONO_PROFILE_ALLOCATIONS
|
||||
MONO_PROFILE_GC
|
||||
MONO_PROFILE_THREADS
|
||||
MONO_PROFILE_REMOTING
|
||||
MONO_PROFILE_TRANSITIONS
|
||||
MONO_PROFILE_ENTER_LEAVE
|
||||
MONO_PROFILE_COVERAGE
|
||||
MONO_PROFILE_INS_COVERAGE
|
||||
MONO_PROFILE_STATISTICAL
|
||||
</pre>
|
||||
<pre><code class="mapi-codeblock">
|
||||
#include <mono/metadata/profiler.h>
|
||||
#include <stdio.h>
|
||||
|
||||
<p>Developers can change the set of monitored events at
|
||||
runtime by calling <tt>mono_profiler_set_events</tt>.
|
||||
|
||||
<h4><a name="api:mono_profiler_install">mono_profiler_install</a></h4>
|
||||
<h4><a name="api:mono_profiler_install_allocation">mono_profiler_install_allocation</a></h4>
|
||||
<h4><a name="api:mono_profiler_install_appdomain">mono_profiler_install_appdomain</a></h4>
|
||||
<h4><a name="api:mono_profiler_install_assembly">mono_profiler_install_assembly</a></h4>
|
||||
<h4><a name="api:mono_profiler_install_class">mono_profiler_install_class</a></h4>
|
||||
<h4><a name="api:mono_profiler_install_coverage_filter">mono_profiler_install_coverage_filter</a></h4>
|
||||
<h4><a name="api:mono_profiler_install_enter_leave">mono_profiler_install_enter_leave</a></h4>
|
||||
<h4><a name="api:mono_profiler_install_jit_compile">mono_profiler_install_jit_compile</a></h4>
|
||||
<h4><a name="api:mono_profiler_install_module">mono_profiler_install_module</a></h4>
|
||||
<h4><a name="api:mono_profiler_install_thread">mono_profiler_install_thread</a></h4>
|
||||
<h4><a name="api:mono_profiler_install_transition">mono_profiler_install_transition</a></h4>
|
||||
<h4><a name="api:mono_profiler_install_gc">mono_profiler_install_gc</a></h4>
|
||||
<h4><a name="api:mono_profiler_install_statistical">mono_profiler_install_statistical</a></h4>
|
||||
<h4><a name="api:mono_profiler_set_events">mono_profiler_set_events</a></h4>
|
||||
<h4><a name="api:mono_profiler_get_events">mono_profiler_get_events</a></h4>
|
||||
struct _MonoProfiler {
|
||||
int dummy;
|
||||
}
|
||||
|
||||
<h3>Coverage</h3>
|
||||
static MonoProfiler profiler;
|
||||
|
||||
<p>To support profiling modules that need to do code coverage
|
||||
analysis, the following routines is provided:
|
||||
|
||||
<h4><a name="api:mono_profiler_coverage_get">mono_profiler_coverage_get</a></h4>
|
||||
static void
|
||||
runtime_inited (MonoProfiler *prof)
|
||||
{
|
||||
printf ("Hello World");
|
||||
}
|
||||
|
||||
void
|
||||
mono_profiler_init_example (const char *desc)
|
||||
{
|
||||
MonoProfilerHandle handle = mono_profiler_create (&profiler);
|
||||
mono_profiler_set_runtime_initialized_callback (handle, runtime_inited);
|
||||
}
|
||||
</code></pre>
|
||||
|
||||
<p>To compile this module, a C compiler must be invoked in a
|
||||
similar fashion to this, on Linux:
|
||||
|
||||
<pre><code class="mapi-codeblock">
|
||||
gcc -fPIC -shared -o libmono-profiler-example.so example.c `pkg-config --cflags mono-2`
|
||||
</code></pre>
|
||||
|
||||
<p>Or on OS X:
|
||||
|
||||
<pre><code class="mapi-codeblock">
|
||||
gcc -undefined suppress -flat_namespace -o libmono-profiler-example.so example.c `pkg-config --cflags mono-2`
|
||||
</code></pre>
|
||||
|
||||
<p>You can then load the module using:
|
||||
|
||||
<pre><code class="mapi-codeblock">
|
||||
mono --profile=example hello.exe
|
||||
</code></pre>
|
||||
|
||||
<p>(Note that adjusting <code>LD_LIBRARY_PATH</code> may be
|
||||
necessary in order for the dynamic linker to find the module.)
|
||||
|
||||
<h2>Profiler Functions</h2>
|
||||
|
||||
<p>These are the functions usable for profiling programs.
|
||||
|
||||
<p>Each function has a note indicating whether they're async
|
||||
safe. An async safe function can be invoked in a signal handler
|
||||
or when the world is stopped by the GC. Conversely, a function
|
||||
that is not async safe must not be invoked in such a context or
|
||||
undefined behavior can occur (crashes, deadlocks, etc).
|
||||
|
||||
<p>Some functions may only be invoked from a profiler module's
|
||||
init function (or prior to running managed code in the case of
|
||||
embedding). This is noted explicitly only if applicable to a
|
||||
function.
|
||||
|
||||
<h3>Basic Functions</h3>
|
||||
|
||||
<p>These functions are used to load and install profilers.
|
||||
|
||||
<h4><a name="api:mono_profiler_load">mono_profiler_load</a></h4>
|
||||
<h4><a name="api:mono_profiler_create">mono_profiler_create</a></h4>
|
||||
<h4><a name="api:mono_profiler_set_cleanup_callback">mono_profiler_set_cleanup_callback</a></h4>
|
||||
|
||||
<h3>Code Coverage</h3>
|
||||
|
||||
<p>These functions provide access to the JIT compiler's code
|
||||
coverage support. This functionality can be used to collect
|
||||
information about how many times certain code paths have been
|
||||
executed.
|
||||
|
||||
<h4><a name="api:mono_profiler_enable_coverage">mono_profiler_enable_coverage</a></h4>
|
||||
<h4><a name="api:mono_profiler_set_coverage_filter_callback">mono_profiler_set_coverage_filter_callback</a></h4>
|
||||
<h4><a name="api:mono_profiler_get_coverage_data">mono_profiler_get_coverage_data</a></h4>
|
||||
|
||||
<h3>Statistical Sampling</h3>
|
||||
|
||||
<p>Statistical sampling can be used to interrupt managed threads
|
||||
based on a certain mode and frequency for the purpose of
|
||||
collecting data about their current work.
|
||||
|
||||
<p>One common use case for this functionality, usually referred
|
||||
to as call sampling, is to collect a backtrace from every thread
|
||||
when a sampling hit event arrives. This data can then be compiled
|
||||
into a report indicating where a program spends most of its time.
|
||||
|
||||
<h4><a name="api:mono_profiler_enable_sampling">mono_profiler_enable_sampling</a></h4>
|
||||
<h4><a name="api:mono_profiler_set_sample_mode">mono_profiler_set_sample_mode</a></h4>
|
||||
<h4><a name="api:mono_profiler_get_sample_mode">mono_profiler_get_sample_mode</a></h4>
|
||||
|
||||
<p>A callback must be registered to receive sample hit events.
|
||||
Please see the <i>Callback Registration</i> section below.
|
||||
|
||||
<h3>GC Allocations</h3>
|
||||
|
||||
<p>Profilers can be notified about all GC allocations performed
|
||||
by a program or the Mono runtime.
|
||||
|
||||
<h4><a name="api:mono_profiler_enable_allocations">mono_profiler_enable_allocations</a></h4>
|
||||
|
||||
<p>A callback must be registered to receive allocation events.
|
||||
Please see the <i>Callback Registration</i> section below.
|
||||
|
||||
<h3>Call Instrumentation</h3>
|
||||
|
||||
<p>The JIT compiler supports instrumenting managed method entry
|
||||
and exit points so that a profiler callback will be invoked.
|
||||
|
||||
<p>While such callbacks by themselves have traditionally only
|
||||
been useful for call count profiling and the like, Mono gives
|
||||
these callbacks access to the arguments, locals, and return
|
||||
value of instrumented methods (together referred to as the 'call
|
||||
context'). This enables many profiling scenarios that would
|
||||
otherwise have required explicit hooks in the base class
|
||||
libraries.
|
||||
|
||||
<h4><a name="api:mono_profiler_set_call_instrumentation_filter_callback">mono_profiler_set_call_instrumentation_filter_callback</a></h4>
|
||||
<h4><a name="api:mono_profiler_enable_call_context_introspection">mono_profiler_enable_call_context_introspection</a></h4>
|
||||
<h4><a name="api:mono_profiler_call_context_get_this">mono_profiler_call_context_get_this</a></h4>
|
||||
<h4><a name="api:mono_profiler_call_context_get_argument">mono_profiler_call_context_get_argument</a></h4>
|
||||
<h4><a name="api:mono_profiler_call_context_get_local">mono_profiler_call_context_get_local</a></h4>
|
||||
<h4><a name="api:mono_profiler_call_context_get_result">mono_profiler_call_context_get_result</a></h4>
|
||||
<h4><a name="api:mono_profiler_call_context_free_buffer">mono_profiler_call_context_free_buffer</a></h4>
|
||||
|
||||
<p>Callbacks must be registered to receive method entry and exit
|
||||
events. Please see the <i>Callback Registration</i> section
|
||||
below.
|
||||
|
||||
<h3>Callback Registration</h3>
|
||||
|
||||
<p>In addition to the above functions, there's a large set of
|
||||
functions for installing generic profiler event callbacks. These
|
||||
are generated from C macros and so are not documented here.
|
||||
Please refer to the <code>mono/metadata/profiler.h</code> and
|
||||
<code>mono/metadata/profiler-events.h</code> headers for a full
|
||||
listing of these.
|
||||
|
||||
<p>Callback registration functions are all async safe and can be
|
||||
safely invoked from multiple threads at the same time, with the
|
||||
caveat that altering a registered callback from one thread will
|
||||
not immediately affect another thread that is already invoking
|
||||
the current callback.
|
||||
|
||||
<h2>API Stability</h2>
|
||||
|
||||
<p>The profiler API does not have the same API stability
|
||||
garantees that the rest of the Mono embedding API does. While
|
||||
a breaking change to the profiler API is extremely rare, it has
|
||||
happened in the past when changing the API in a backwards
|
||||
compatible way was deemed to be too much work for too little
|
||||
gain.
|
||||
|
||||
<p>Therefore, developers of profiler modules may rarely need to
|
||||
update their code to work with new versions of the profiler API.
|
||||
|
||||
<p>Developers who wish to support older versions of the API can
|
||||
perform a compile time check of the
|
||||
<code>MONO_PROFILER_API_VERSION</code> macro and maintain code
|
||||
for both old and new versions.
|
||||
|
||||
<p>To aid with transitioning to a new version of the profiler
|
||||
API, the Mono runtime will detect and reject loading profiler
|
||||
modules which were compiled against older profiler API versions.
|
||||
@@ -1,22 +0,0 @@
|
||||
/
|
||||
/depcomp
|
||||
/config.guess
|
||||
/config.sub
|
||||
/ltmain.sh
|
||||
/eglib-*.tar.gz
|
||||
/missing
|
||||
/install-sh
|
||||
/compile
|
||||
/Makefile
|
||||
/Makefile.in
|
||||
/stamp-h1
|
||||
/config.h.in
|
||||
/libtool
|
||||
/autom4te.cache
|
||||
/aclocal.m4
|
||||
/config.log
|
||||
/configure
|
||||
/config.h
|
||||
/config.status
|
||||
/INSTALL
|
||||
dolt*
|
||||
@@ -1,17 +0,0 @@
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to
|
||||
deal in the Software without restriction, including without limitation the
|
||||
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
||||
sell copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
IN THE SOFTWARE.
|
||||
@@ -1,19 +0,0 @@
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
|
||||
AM_CFLAGS = $(WERROR_CFLAGS)
|
||||
|
||||
if HOST_WIN32
|
||||
SUBDIRS = m4 src
|
||||
else
|
||||
if PLATFORM_DARWIN
|
||||
SUBDIRS = m4 src
|
||||
else
|
||||
if CROSS_COMPILING
|
||||
SUBDIRS = m4 src
|
||||
else
|
||||
SUBDIRS = m4 src test
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
EXTRA_DIST = autogen.sh README NEWS AUTHORS winconfig.h
|
||||
@@ -1,54 +0,0 @@
|
||||
|
||||
The purpose of eglib is to be an X11-licensed subset of glib that can
|
||||
be used with Mono when the Mono runtime is explicitly relicensed under
|
||||
a different license by Novell.
|
||||
|
||||
The implementation is done from the public documentation available here:
|
||||
|
||||
http://developer.gnome.org/doc/API/2.0/glib/
|
||||
|
||||
Currently this is only being built standalone, use:
|
||||
|
||||
./autogen.sh --prefix=/tmp/test
|
||||
|
||||
Currently all the definitions go into a single file: glib.h, there are
|
||||
no separate files, please try to follow the convetions in the source code
|
||||
|
||||
* Tests
|
||||
|
||||
Please read the README in tests/
|
||||
|
||||
* Features
|
||||
|
||||
The source code is designed to allow for different operating
|
||||
system builds of the eglib code.
|
||||
|
||||
Files in src that:
|
||||
|
||||
* Have a plain name: are cross platform, and should work on
|
||||
every operating system.
|
||||
|
||||
* That end in -unix.c: These files contain Unix specific code.
|
||||
|
||||
* That end in -win32.c: These files contain Win32 specific code.
|
||||
|
||||
* That end in -posix.c: Will work on both Windows and Unix,
|
||||
but should not be included for other operating systems.
|
||||
|
||||
* Plans: short and long term.
|
||||
|
||||
The short term plans for eglib is to allow Mono to optionally
|
||||
build with it instead of using glib, gmodule and gthread, but
|
||||
the default build will continue to be done against glib 2.0.
|
||||
|
||||
In the long-term we are considering dropping glib as a
|
||||
dependency, considering that Mono requires a modern Unix
|
||||
system to run anyways (for its thread support) it would allow
|
||||
us to fix some of the glib API limitations we have to live
|
||||
with (explicit thread support for example), rework the API to
|
||||
use types from stdint.h and we would be able to drop three
|
||||
external shared libraries.
|
||||
|
||||
This would reduce memory usage for the handful of routines
|
||||
that we use from glib, dynamic linker overhead for those and
|
||||
would allow us to tune the implementation to Mono's needs.
|
||||
-33
@@ -1,33 +0,0 @@
|
||||
* Missing code
|
||||
|
||||
* Process launching
|
||||
3 g_shell_quote
|
||||
1 g_shell_unquote
|
||||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
* Should implement, for better performance:
|
||||
|
||||
Macros:
|
||||
6 G_UNLIKELY
|
||||
4 G_LIKELY
|
||||
|
||||
* Unimplemented, not supported currently:
|
||||
|
||||
(none as yet.)
|
||||
|
||||
* Dead Code
|
||||
|
||||
The GMainLoop code was no longer in use in Mono.
|
||||
|
||||
* Windows implementations needed
|
||||
|
||||
Directory, File manipulation:
|
||||
|
||||
g_dir_open, g_dir_close, g_dir_read_name
|
||||
|
||||
We're missing a native windows implementation. The unix one is in place.
|
||||
|
||||
* Information retrieval
|
||||
1 g_win32_getlocale
|
||||
|
||||
@@ -1,182 +0,0 @@
|
||||
dnl dolt, a replacement for libtool
|
||||
dnl Copyright © 2007-2008 Josh Triplett <[email protected]>
|
||||
dnl Copying and distribution of this file, with or without modification,
|
||||
dnl are permitted in any medium without royalty provided the copyright
|
||||
dnl notice and this notice are preserved.
|
||||
dnl
|
||||
dnl To use dolt, invoke the DOLT macro immediately after the libtool macros.
|
||||
dnl Optionally, copy this file into acinclude.m4, to avoid the need to have it
|
||||
dnl installed when running autoconf on your project.
|
||||
|
||||
AC_DEFUN([DOLT], [
|
||||
AC_REQUIRE([AC_CANONICAL_HOST])
|
||||
# dolt, a replacement for libtool
|
||||
# Josh Triplett <[email protected]>
|
||||
AC_PATH_PROG(DOLT_BASH, bash)
|
||||
AC_MSG_CHECKING([if dolt supports this host])
|
||||
dolt_supported=yes
|
||||
if test x$DOLT_BASH = x; then
|
||||
dolt_supported=no
|
||||
fi
|
||||
if test x$GCC != xyes; then
|
||||
dolt_supported=no
|
||||
fi
|
||||
case $host in
|
||||
i?86-*-linux*|i?86-apple-darwin*|x86_64-*-linux*|powerpc-*-linux*|powerpc64-*-linux* \
|
||||
|amd64-*-freebsd*|i?86-*-freebsd*|ia64-*-freebsd*|arm*-*-linux*|sparc*-*-linux*|mips*-*-linux*|x86_64-apple-darwin*|aarch64*)
|
||||
pic_options='-fPIC'
|
||||
;;
|
||||
?86-pc-cygwin*|i?86-pc-cygwin*|i?86-pc-mingw32*)
|
||||
pic_options='-DDLL_EXPORT'
|
||||
;;
|
||||
i?86-apple-darwin*|arm-apple-darwin*)
|
||||
pic_options='-fno-common'
|
||||
;;
|
||||
*)
|
||||
dolt_supported=no
|
||||
;;
|
||||
esac
|
||||
if test x$dolt_supported = xno ; then
|
||||
AC_MSG_RESULT([no, falling back to libtool])
|
||||
LTCOMPILE='$(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(COMPILE)'
|
||||
LTCXXCOMPILE='$(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXXCOMPILE)'
|
||||
else
|
||||
AC_MSG_RESULT([yes, replacing libtool])
|
||||
|
||||
dnl Start writing out doltcompile.
|
||||
cat <<__DOLTCOMPILE__EOF__ >doltcompile
|
||||
#!$DOLT_BASH
|
||||
__DOLTCOMPILE__EOF__
|
||||
cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
|
||||
args=("$[]@")
|
||||
for ((arg=0; arg<${#args@<:@@@:>@}; arg++)) ; do
|
||||
if test x"${args@<:@$arg@:>@}" = x-o ; then
|
||||
objarg=$((arg+1))
|
||||
break
|
||||
fi
|
||||
done
|
||||
if test x$objarg = x ; then
|
||||
echo 'Error: no -o on compiler command line' 1>&2
|
||||
exit 1
|
||||
fi
|
||||
lo="${args@<:@$objarg@:>@}"
|
||||
obj="${lo%.lo}"
|
||||
if test x"$lo" = x"$obj" ; then
|
||||
echo "Error: libtool object file name \"$lo\" does not end in .lo" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
objbase="${obj##*/}"
|
||||
__DOLTCOMPILE__EOF__
|
||||
|
||||
dnl Write out shared compilation code.
|
||||
if test x$enable_shared = xyes; then
|
||||
cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
|
||||
libobjdir="${obj%$objbase}.libs"
|
||||
if test ! -d "$libobjdir" ; then
|
||||
mkdir_out="$(mkdir "$libobjdir" 2>&1)"
|
||||
mkdir_ret=$?
|
||||
if test "$mkdir_ret" -ne 0 && test ! -d "$libobjdir" ; then
|
||||
echo "$mkdir_out" 1>&2
|
||||
exit $mkdir_ret
|
||||
fi
|
||||
fi
|
||||
pic_object="$libobjdir/$objbase.o"
|
||||
args@<:@$objarg@:>@="$pic_object"
|
||||
__DOLTCOMPILE__EOF__
|
||||
cat <<__DOLTCOMPILE__EOF__ >>doltcompile
|
||||
"\${args@<:@@@:>@}" $pic_options -DPIC || exit \$?
|
||||
__DOLTCOMPILE__EOF__
|
||||
fi
|
||||
|
||||
dnl Write out static compilation code.
|
||||
dnl Avoid duplicate compiler output if also building shared objects.
|
||||
if test x$enable_static = xyes; then
|
||||
cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
|
||||
non_pic_object="$obj.o"
|
||||
args@<:@$objarg@:>@="$non_pic_object"
|
||||
__DOLTCOMPILE__EOF__
|
||||
if test x$enable_shared = xyes; then
|
||||
cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
|
||||
"${args@<:@@@:>@}" >/dev/null 2>&1 || exit $?
|
||||
__DOLTCOMPILE__EOF__
|
||||
else
|
||||
cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
|
||||
"${args@<:@@@:>@}" || exit $?
|
||||
__DOLTCOMPILE__EOF__
|
||||
fi
|
||||
fi
|
||||
|
||||
dnl Write out the code to write the .lo file.
|
||||
dnl The second line of the .lo file must match "^# Generated by .*libtool"
|
||||
cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
|
||||
{
|
||||
echo "# $lo - a libtool object file"
|
||||
echo "# Generated by doltcompile, not libtool"
|
||||
__DOLTCOMPILE__EOF__
|
||||
|
||||
if test x$enable_shared = xyes; then
|
||||
cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
|
||||
echo "pic_object='.libs/${objbase}.o'"
|
||||
__DOLTCOMPILE__EOF__
|
||||
else
|
||||
cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
|
||||
echo pic_object=none
|
||||
__DOLTCOMPILE__EOF__
|
||||
fi
|
||||
|
||||
if test x$enable_static = xyes; then
|
||||
cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
|
||||
echo "non_pic_object='${objbase}.o'"
|
||||
__DOLTCOMPILE__EOF__
|
||||
else
|
||||
cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
|
||||
echo non_pic_object=none
|
||||
__DOLTCOMPILE__EOF__
|
||||
fi
|
||||
|
||||
cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
|
||||
} > "$lo"
|
||||
__DOLTCOMPILE__EOF__
|
||||
|
||||
dnl Done writing out doltcompile; substitute it for libtool compilation.
|
||||
chmod +x doltcompile
|
||||
LTCOMPILE='$(top_builddir)/doltcompile $(COMPILE)'
|
||||
LTCXXCOMPILE='$(top_builddir)/doltcompile $(CXXCOMPILE)'
|
||||
|
||||
dnl automake ignores LTCOMPILE and LTCXXCOMPILE when it has separate CFLAGS for
|
||||
dnl a target, so write out a libtool wrapper to handle that case.
|
||||
dnl Note that doltlibtool does not handle inferred tags or option arguments
|
||||
dnl without '=', because automake does not use them.
|
||||
cat <<__DOLTLIBTOOL__EOF__ > doltlibtool
|
||||
#!$DOLT_BASH
|
||||
__DOLTLIBTOOL__EOF__
|
||||
cat <<'__DOLTLIBTOOL__EOF__' >>doltlibtool
|
||||
top_builddir_slash="${0%%doltlibtool}"
|
||||
: ${top_builddir_slash:=./}
|
||||
args=()
|
||||
modeok=false
|
||||
tagok=false
|
||||
for arg in "$[]@"; do
|
||||
case "$arg" in
|
||||
--silent) ;;
|
||||
--mode=compile) modeok=true ;;
|
||||
--tag=CC|--tag=CXX) tagok=true ;;
|
||||
--quiet) ;;
|
||||
*) args@<:@${#args[@]}@:>@="$arg" ;;
|
||||
esac
|
||||
done
|
||||
if $modeok && $tagok ; then
|
||||
. ${top_builddir_slash}doltcompile "${args@<:@@@:>@}"
|
||||
else
|
||||
exec ${top_builddir_slash}libtool "$[]@"
|
||||
fi
|
||||
__DOLTLIBTOOL__EOF__
|
||||
|
||||
dnl Done writing out doltlibtool; substitute it for libtool.
|
||||
chmod +x doltlibtool
|
||||
LIBTOOL='$(top_builddir)/doltlibtool'
|
||||
fi
|
||||
AC_SUBST(LTCOMPILE)
|
||||
AC_SUBST(LTCXXCOMPILE)
|
||||
# end dolt
|
||||
])
|
||||
@@ -1,136 +0,0 @@
|
||||
#!/bin/sh
|
||||
# Run this to generate all the initial makefiles, etc.
|
||||
# Ripped off from GNOME macros version
|
||||
|
||||
DIE=0
|
||||
|
||||
srcdir=`dirname $0`
|
||||
test -z "$srcdir" && srcdir=.
|
||||
|
||||
if [ -n "$MONO_PATH" ]; then
|
||||
# from -> /mono/lib:/another/mono/lib
|
||||
# to -> /mono /another/mono
|
||||
for i in `echo ${MONO_PATH} | tr ":" " "`; do
|
||||
i=`dirname ${i}`
|
||||
if [ -n "{i}" -a -d "${i}/share/aclocal" ]; then
|
||||
ACLOCAL_FLAGS="-I ${i}/share/aclocal $ACLOCAL_FLAGS"
|
||||
fi
|
||||
if [ -n "{i}" -a -d "${i}/bin" ]; then
|
||||
PATH="${i}/bin:$PATH"
|
||||
fi
|
||||
done
|
||||
export PATH
|
||||
fi
|
||||
|
||||
(autoconf --version) < /dev/null > /dev/null 2>&1 || {
|
||||
echo
|
||||
echo "**Error**: You must have \`autoconf' installed to compile Mono."
|
||||
echo "Download the appropriate package for your distribution,"
|
||||
echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
|
||||
DIE=1
|
||||
}
|
||||
|
||||
if [ -z "$LIBTOOLIZE" ]; then
|
||||
LIBTOOLIZE=`which glibtoolize 2>/dev/null`
|
||||
if [ ! -x "$LIBTOOLIZE" ]; then
|
||||
LIBTOOLIZE=`which libtoolize`
|
||||
fi
|
||||
fi
|
||||
|
||||
(grep "^AM_PROG_LIBTOOL" $srcdir/configure.ac >/dev/null) && {
|
||||
($LIBTOOLIZE --version) < /dev/null > /dev/null 2>&1 || {
|
||||
echo
|
||||
echo "**Error**: You must have \`libtoolize' installed to compile Mono."
|
||||
echo "Get ftp://ftp.gnu.org/gnu/libtool/libtool-1.2.tar.gz"
|
||||
echo "(or a newer version if it is available)"
|
||||
DIE=1
|
||||
}
|
||||
}
|
||||
|
||||
grep "^AM_GNU_GETTEXT" $srcdir/configure.ac >/dev/null && {
|
||||
grep "sed.*POTFILES" $srcdir/configure.ac >/dev/null || \
|
||||
(gettext --version) < /dev/null > /dev/null 2>&1 || {
|
||||
echo
|
||||
echo "**Error**: You must have \`gettext' installed to compile Mono."
|
||||
echo "Get ftp://alpha.gnu.org/gnu/gettext-0.10.35.tar.gz"
|
||||
echo "(or a newer version if it is available)"
|
||||
DIE=1
|
||||
}
|
||||
}
|
||||
|
||||
(automake --version) < /dev/null > /dev/null 2>&1 || {
|
||||
echo
|
||||
echo "**Error**: You must have \`automake' installed to compile Mono."
|
||||
echo "Get ftp://ftp.gnu.org/pub/gnu/automake-1.3.tar.gz"
|
||||
echo "(or a newer version if it is available)"
|
||||
DIE=1
|
||||
NO_AUTOMAKE=yes
|
||||
}
|
||||
|
||||
|
||||
# if no automake, don't bother testing for aclocal
|
||||
test -n "$NO_AUTOMAKE" || (aclocal --version) < /dev/null > /dev/null 2>&1 || {
|
||||
echo
|
||||
echo "**Error**: Missing \`aclocal'. The version of \`automake'"
|
||||
echo "installed doesn't appear recent enough."
|
||||
echo "Get ftp://ftp.gnu.org/pub/gnu/automake-1.3.tar.gz"
|
||||
echo "(or a newer version if it is available)"
|
||||
DIE=1
|
||||
}
|
||||
|
||||
if test "$DIE" -eq 1; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if test x$NOCONFIGURE = x && test -z "$*"; then
|
||||
echo "**Warning**: I am going to run \`configure' with no arguments."
|
||||
echo "If you wish to pass any to it, please specify them on the"
|
||||
echo \`$0\'" command line."
|
||||
echo
|
||||
fi
|
||||
|
||||
case $CC in
|
||||
xlc )
|
||||
am_opt=--include-deps;;
|
||||
esac
|
||||
|
||||
|
||||
if grep "^AM_PROG_LIBTOOL" configure.ac >/dev/null; then
|
||||
if test -z "$NO_LIBTOOLIZE" ; then
|
||||
echo "Running libtoolize..."
|
||||
$LIBTOOLIZE --force --copy
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "Running aclocal -I m4 $ACLOCAL_FLAGS ..."
|
||||
aclocal -I m4 $ACLOCAL_FLAGS || {
|
||||
echo
|
||||
echo "**Error**: aclocal failed. This may mean that you have not"
|
||||
echo "installed all of the packages you need, or you may need to"
|
||||
echo "set ACLOCAL_FLAGS to include \"-I \$prefix/share/aclocal\""
|
||||
echo "for the prefix where you installed the packages whose"
|
||||
echo "macros were not found"
|
||||
exit 1
|
||||
}
|
||||
|
||||
if grep "^AC_CONFIG_HEADERS" configure.ac >/dev/null; then
|
||||
echo "Running autoheader..."
|
||||
autoheader || { echo "**Error**: autoheader failed."; exit 1; }
|
||||
fi
|
||||
|
||||
echo "Running automake --gnu $am_opt ..."
|
||||
automake --add-missing --gnu $am_opt ||
|
||||
{ echo "**Error**: automake failed."; exit 1; }
|
||||
echo "Running autoconf ..."
|
||||
autoconf || { echo "**Error**: autoconf failed."; exit 1; }
|
||||
|
||||
|
||||
conf_flags="--enable-maintainer-mode" #--enable-compile-warnings --enable-iso-c
|
||||
|
||||
if test x$NOCONFIGURE = x; then
|
||||
echo Running $srcdir/configure $conf_flags "$@" ...
|
||||
$srcdir/configure $conf_flags "$@" \
|
||||
&& echo Now type \`make\' to compile $PKG_NAME || exit 1
|
||||
else
|
||||
echo Skipping configure process.
|
||||
fi
|
||||
@@ -1,672 +0,0 @@
|
||||
#! /bin/sh
|
||||
# Output a system dependent set of variables, describing how to set the
|
||||
# run time search path of shared libraries in an executable.
|
||||
#
|
||||
# Copyright 1996-2010 Free Software Foundation, Inc.
|
||||
# Taken from GNU libtool, 2001
|
||||
# Originally by Gordon Matzigkeit <[email protected]>, 1996
|
||||
#
|
||||
# This file is free software; the Free Software Foundation gives
|
||||
# unlimited permission to copy and/or distribute it, with or without
|
||||
# modifications, as long as this notice is preserved.
|
||||
#
|
||||
# The first argument passed to this file is the canonical host specification,
|
||||
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
|
||||
# or
|
||||
# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
|
||||
# The environment variables CC, GCC, LDFLAGS, LD, with_gnu_ld
|
||||
# should be set by the caller.
|
||||
#
|
||||
# The set of defined variables is at the end of this script.
|
||||
|
||||
# Known limitations:
|
||||
# - On IRIX 6.5 with CC="cc", the run time search patch must not be longer
|
||||
# than 256 bytes, otherwise the compiler driver will dump core. The only
|
||||
# known workaround is to choose shorter directory names for the build
|
||||
# directory and/or the installation directory.
|
||||
|
||||
# All known linkers require a `.a' archive for static linking (except MSVC,
|
||||
# which needs '.lib').
|
||||
libext=a
|
||||
shrext=.so
|
||||
|
||||
host="$1"
|
||||
host_cpu=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
||||
host_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
||||
host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
||||
|
||||
# Code taken from libtool.m4's _LT_CC_BASENAME.
|
||||
|
||||
for cc_temp in $CC""; do
|
||||
case $cc_temp in
|
||||
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
|
||||
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
|
||||
\-*) ;;
|
||||
*) break;;
|
||||
esac
|
||||
done
|
||||
cc_basename=`echo "$cc_temp" | sed -e 's%^.*/%%'`
|
||||
|
||||
# Code taken from libtool.m4's _LT_COMPILER_PIC.
|
||||
|
||||
wl=
|
||||
if test "$GCC" = yes; then
|
||||
wl='-Wl,'
|
||||
else
|
||||
case "$host_os" in
|
||||
aix*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
darwin*)
|
||||
case $cc_basename in
|
||||
xlc*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
mingw* | cygwin* | pw32* | os2* | cegcc*)
|
||||
;;
|
||||
hpux9* | hpux10* | hpux11*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
irix5* | irix6* | nonstopux*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
newsos6)
|
||||
;;
|
||||
linux* | k*bsd*-gnu)
|
||||
case $cc_basename in
|
||||
ecc*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
icc* | ifort*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
lf95*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
pgcc | pgf77 | pgf90)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
ccc*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
como)
|
||||
wl='-lopt='
|
||||
;;
|
||||
*)
|
||||
case `$CC -V 2>&1 | sed 5q` in
|
||||
*Sun\ C*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
osf3* | osf4* | osf5*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
rdos*)
|
||||
;;
|
||||
solaris*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
sunos4*)
|
||||
wl='-Qoption ld '
|
||||
;;
|
||||
sysv4 | sysv4.2uw2* | sysv4.3*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
sysv4*MP*)
|
||||
;;
|
||||
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
unicos*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
uts4*)
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# Code taken from libtool.m4's _LT_LINKER_SHLIBS.
|
||||
|
||||
hardcode_libdir_flag_spec=
|
||||
hardcode_libdir_separator=
|
||||
hardcode_direct=no
|
||||
hardcode_minus_L=no
|
||||
|
||||
case "$host_os" in
|
||||
cygwin* | mingw* | pw32* | cegcc*)
|
||||
# FIXME: the MSVC++ port hasn't been tested in a loooong time
|
||||
# When not using gcc, we currently assume that we are using
|
||||
# Microsoft Visual C++.
|
||||
if test "$GCC" != yes; then
|
||||
with_gnu_ld=no
|
||||
fi
|
||||
;;
|
||||
interix*)
|
||||
# we just hope/assume this is gcc and not c89 (= MSVC++)
|
||||
with_gnu_ld=yes
|
||||
;;
|
||||
openbsd*)
|
||||
with_gnu_ld=no
|
||||
;;
|
||||
esac
|
||||
|
||||
ld_shlibs=yes
|
||||
if test "$with_gnu_ld" = yes; then
|
||||
# Set some defaults for GNU ld with shared library support. These
|
||||
# are reset later if shared libraries are not supported. Putting them
|
||||
# here allows them to be overridden if necessary.
|
||||
# Unlike libtool, we use -rpath here, not --rpath, since the documented
|
||||
# option of GNU ld is called -rpath, not --rpath.
|
||||
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
||||
case "$host_os" in
|
||||
aix[3-9]*)
|
||||
# On AIX/PPC, the GNU linker is very broken
|
||||
if test "$host_cpu" != ia64; then
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
amigaos*)
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
hardcode_minus_L=yes
|
||||
# Samuel A. Falvo II <[email protected]> reports
|
||||
# that the semantics of dynamic libraries on AmigaOS, at least up
|
||||
# to version 4, is to share data among multiple programs linked
|
||||
# with the same dynamic library. Since this doesn't match the
|
||||
# behavior of shared libraries on other platforms, we cannot use
|
||||
# them.
|
||||
ld_shlibs=no
|
||||
;;
|
||||
beos*)
|
||||
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
|
||||
:
|
||||
else
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
cygwin* | mingw* | pw32* | cegcc*)
|
||||
# hardcode_libdir_flag_spec is actually meaningless, as there is
|
||||
# no search path for DLLs.
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
|
||||
:
|
||||
else
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
interix[3-9]*)
|
||||
hardcode_direct=no
|
||||
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
||||
;;
|
||||
gnu* | linux* | k*bsd*-gnu)
|
||||
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
|
||||
:
|
||||
else
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
netbsd*)
|
||||
;;
|
||||
solaris*)
|
||||
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
|
||||
ld_shlibs=no
|
||||
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
|
||||
:
|
||||
else
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
|
||||
case `$LD -v 2>&1` in
|
||||
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
|
||||
ld_shlibs=no
|
||||
;;
|
||||
*)
|
||||
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
|
||||
hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
|
||||
else
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
sunos4*)
|
||||
hardcode_direct=yes
|
||||
;;
|
||||
*)
|
||||
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
|
||||
:
|
||||
else
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
if test "$ld_shlibs" = no; then
|
||||
hardcode_libdir_flag_spec=
|
||||
fi
|
||||
else
|
||||
case "$host_os" in
|
||||
aix3*)
|
||||
# Note: this linker hardcodes the directories in LIBPATH if there
|
||||
# are no directories specified by -L.
|
||||
hardcode_minus_L=yes
|
||||
if test "$GCC" = yes; then
|
||||
# Neither direct hardcoding nor static linking is supported with a
|
||||
# broken collect2.
|
||||
hardcode_direct=unsupported
|
||||
fi
|
||||
;;
|
||||
aix[4-9]*)
|
||||
if test "$host_cpu" = ia64; then
|
||||
# On IA64, the linker does run time linking by default, so we don't
|
||||
# have to do anything special.
|
||||
aix_use_runtimelinking=no
|
||||
else
|
||||
aix_use_runtimelinking=no
|
||||
# Test if we are trying to use run time linking or normal
|
||||
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
|
||||
# need to do runtime linking.
|
||||
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
|
||||
for ld_flag in $LDFLAGS; do
|
||||
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
|
||||
aix_use_runtimelinking=yes
|
||||
break
|
||||
fi
|
||||
done
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
hardcode_direct=yes
|
||||
hardcode_libdir_separator=':'
|
||||
if test "$GCC" = yes; then
|
||||
case $host_os in aix4.[012]|aix4.[012].*)
|
||||
collect2name=`${CC} -print-prog-name=collect2`
|
||||
if test -f "$collect2name" && \
|
||||
strings "$collect2name" | grep resolve_lib_name >/dev/null
|
||||
then
|
||||
# We have reworked collect2
|
||||
:
|
||||
else
|
||||
# We have old collect2
|
||||
hardcode_direct=unsupported
|
||||
hardcode_minus_L=yes
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
hardcode_libdir_separator=
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
# Begin _LT_AC_SYS_LIBPATH_AIX.
|
||||
echo 'int main () { return 0; }' > conftest.c
|
||||
${CC} ${LDFLAGS} conftest.c -o conftest
|
||||
aix_libpath=`dump -H conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
|
||||
}'`
|
||||
if test -z "$aix_libpath"; then
|
||||
aix_libpath=`dump -HX64 conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
|
||||
}'`
|
||||
fi
|
||||
if test -z "$aix_libpath"; then
|
||||
aix_libpath="/usr/lib:/lib"
|
||||
fi
|
||||
rm -f conftest.c conftest
|
||||
# End _LT_AC_SYS_LIBPATH_AIX.
|
||||
if test "$aix_use_runtimelinking" = yes; then
|
||||
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
|
||||
else
|
||||
if test "$host_cpu" = ia64; then
|
||||
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
|
||||
else
|
||||
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
amigaos*)
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
hardcode_minus_L=yes
|
||||
# see comment about different semantics on the GNU ld section
|
||||
ld_shlibs=no
|
||||
;;
|
||||
bsdi[45]*)
|
||||
;;
|
||||
cygwin* | mingw* | pw32* | cegcc*)
|
||||
# When not using gcc, we currently assume that we are using
|
||||
# Microsoft Visual C++.
|
||||
# hardcode_libdir_flag_spec is actually meaningless, as there is
|
||||
# no search path for DLLs.
|
||||
hardcode_libdir_flag_spec=' '
|
||||
libext=lib
|
||||
;;
|
||||
darwin* | rhapsody*)
|
||||
hardcode_direct=no
|
||||
if test "$GCC" = yes ; then
|
||||
:
|
||||
else
|
||||
case $cc_basename in
|
||||
xlc*)
|
||||
;;
|
||||
*)
|
||||
ld_shlibs=no
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
;;
|
||||
dgux*)
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
;;
|
||||
freebsd1*)
|
||||
ld_shlibs=no
|
||||
;;
|
||||
freebsd2.2*)
|
||||
hardcode_libdir_flag_spec='-R$libdir'
|
||||
hardcode_direct=yes
|
||||
;;
|
||||
freebsd2*)
|
||||
hardcode_direct=yes
|
||||
hardcode_minus_L=yes
|
||||
;;
|
||||
freebsd* | dragonfly*)
|
||||
hardcode_libdir_flag_spec='-R$libdir'
|
||||
hardcode_direct=yes
|
||||
;;
|
||||
hpux9*)
|
||||
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
|
||||
hardcode_libdir_separator=:
|
||||
hardcode_direct=yes
|
||||
# hardcode_minus_L: Not really in the search PATH,
|
||||
# but as the default location of the library.
|
||||
hardcode_minus_L=yes
|
||||
;;
|
||||
hpux10*)
|
||||
if test "$with_gnu_ld" = no; then
|
||||
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
|
||||
hardcode_libdir_separator=:
|
||||
hardcode_direct=yes
|
||||
# hardcode_minus_L: Not really in the search PATH,
|
||||
# but as the default location of the library.
|
||||
hardcode_minus_L=yes
|
||||
fi
|
||||
;;
|
||||
hpux11*)
|
||||
if test "$with_gnu_ld" = no; then
|
||||
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
|
||||
hardcode_libdir_separator=:
|
||||
case $host_cpu in
|
||||
hppa*64*|ia64*)
|
||||
hardcode_direct=no
|
||||
;;
|
||||
*)
|
||||
hardcode_direct=yes
|
||||
# hardcode_minus_L: Not really in the search PATH,
|
||||
# but as the default location of the library.
|
||||
hardcode_minus_L=yes
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
;;
|
||||
irix5* | irix6* | nonstopux*)
|
||||
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
||||
hardcode_libdir_separator=:
|
||||
;;
|
||||
netbsd*)
|
||||
hardcode_libdir_flag_spec='-R$libdir'
|
||||
hardcode_direct=yes
|
||||
;;
|
||||
newsos6)
|
||||
hardcode_direct=yes
|
||||
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
||||
hardcode_libdir_separator=:
|
||||
;;
|
||||
openbsd*)
|
||||
if test -f /usr/libexec/ld.so; then
|
||||
hardcode_direct=yes
|
||||
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
||||
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
||||
else
|
||||
case "$host_os" in
|
||||
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
|
||||
hardcode_libdir_flag_spec='-R$libdir'
|
||||
;;
|
||||
*)
|
||||
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
else
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
os2*)
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
hardcode_minus_L=yes
|
||||
;;
|
||||
osf3*)
|
||||
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
||||
hardcode_libdir_separator=:
|
||||
;;
|
||||
osf4* | osf5*)
|
||||
if test "$GCC" = yes; then
|
||||
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
||||
else
|
||||
# Both cc and cxx compiler support -rpath directly
|
||||
hardcode_libdir_flag_spec='-rpath $libdir'
|
||||
fi
|
||||
hardcode_libdir_separator=:
|
||||
;;
|
||||
solaris*)
|
||||
hardcode_libdir_flag_spec='-R$libdir'
|
||||
;;
|
||||
sunos4*)
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
hardcode_direct=yes
|
||||
hardcode_minus_L=yes
|
||||
;;
|
||||
sysv4)
|
||||
case $host_vendor in
|
||||
sni)
|
||||
hardcode_direct=yes # is this really true???
|
||||
;;
|
||||
siemens)
|
||||
hardcode_direct=no
|
||||
;;
|
||||
motorola)
|
||||
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
sysv4.3*)
|
||||
;;
|
||||
sysv4*MP*)
|
||||
if test -d /usr/nec; then
|
||||
ld_shlibs=yes
|
||||
fi
|
||||
;;
|
||||
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
|
||||
;;
|
||||
sysv5* | sco3.2v5* | sco5v6*)
|
||||
hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
|
||||
hardcode_libdir_separator=':'
|
||||
;;
|
||||
uts4*)
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
;;
|
||||
*)
|
||||
ld_shlibs=no
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# Check dynamic linker characteristics
|
||||
# Code taken from libtool.m4's _LT_SYS_DYNAMIC_LINKER.
|
||||
# Unlike libtool.m4, here we don't care about _all_ names of the library, but
|
||||
# only about the one the linker finds when passed -lNAME. This is the last
|
||||
# element of library_names_spec in libtool.m4, or possibly two of them if the
|
||||
# linker has special search rules.
|
||||
library_names_spec= # the last element of library_names_spec in libtool.m4
|
||||
libname_spec='lib$name'
|
||||
case "$host_os" in
|
||||
aix3*)
|
||||
library_names_spec='$libname.a'
|
||||
;;
|
||||
aix[4-9]*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
amigaos*)
|
||||
library_names_spec='$libname.a'
|
||||
;;
|
||||
beos*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
bsdi[45]*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
cygwin* | mingw* | pw32* | cegcc*)
|
||||
shrext=.dll
|
||||
library_names_spec='$libname.dll.a $libname.lib'
|
||||
;;
|
||||
darwin* | rhapsody*)
|
||||
shrext=.dylib
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
dgux*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
freebsd1*)
|
||||
;;
|
||||
freebsd* | dragonfly*)
|
||||
case "$host_os" in
|
||||
freebsd[123]*)
|
||||
library_names_spec='$libname$shrext$versuffix' ;;
|
||||
*)
|
||||
library_names_spec='$libname$shrext' ;;
|
||||
esac
|
||||
;;
|
||||
gnu*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
hpux9* | hpux10* | hpux11*)
|
||||
case $host_cpu in
|
||||
ia64*)
|
||||
shrext=.so
|
||||
;;
|
||||
hppa*64*)
|
||||
shrext=.sl
|
||||
;;
|
||||
*)
|
||||
shrext=.sl
|
||||
;;
|
||||
esac
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
interix[3-9]*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
irix5* | irix6* | nonstopux*)
|
||||
library_names_spec='$libname$shrext'
|
||||
case "$host_os" in
|
||||
irix5* | nonstopux*)
|
||||
libsuff= shlibsuff=
|
||||
;;
|
||||
*)
|
||||
case $LD in
|
||||
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= ;;
|
||||
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 ;;
|
||||
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 ;;
|
||||
*) libsuff= shlibsuff= ;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
linux*oldld* | linux*aout* | linux*coff*)
|
||||
;;
|
||||
linux* | k*bsd*-gnu)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
knetbsd*-gnu)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
netbsd*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
newsos6)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
nto-qnx*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
openbsd*)
|
||||
library_names_spec='$libname$shrext$versuffix'
|
||||
;;
|
||||
os2*)
|
||||
libname_spec='$name'
|
||||
shrext=.dll
|
||||
library_names_spec='$libname.a'
|
||||
;;
|
||||
osf3* | osf4* | osf5*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
rdos*)
|
||||
;;
|
||||
solaris*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
sunos4*)
|
||||
library_names_spec='$libname$shrext$versuffix'
|
||||
;;
|
||||
sysv4 | sysv4.3*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
sysv4*MP*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
uts4*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
esac
|
||||
|
||||
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
|
||||
escaped_wl=`echo "X$wl" | sed -e 's/^X//' -e "$sed_quote_subst"`
|
||||
shlibext=`echo "$shrext" | sed -e 's,^\.,,'`
|
||||
escaped_libname_spec=`echo "X$libname_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
|
||||
escaped_library_names_spec=`echo "X$library_names_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
|
||||
escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
|
||||
|
||||
LC_ALL=C sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <<EOF
|
||||
|
||||
# How to pass a linker flag through the compiler.
|
||||
wl="$escaped_wl"
|
||||
|
||||
# Static library suffix (normally "a").
|
||||
libext="$libext"
|
||||
|
||||
# Shared library suffix (normally "so").
|
||||
shlibext="$shlibext"
|
||||
|
||||
# Format of library name prefix.
|
||||
libname_spec="$escaped_libname_spec"
|
||||
|
||||
# Library names that the linker finds when passed -lNAME.
|
||||
library_names_spec="$escaped_library_names_spec"
|
||||
|
||||
# Flag to hardcode \$libdir into a binary during linking.
|
||||
# This must work even if \$libdir does not exist.
|
||||
hardcode_libdir_flag_spec="$escaped_hardcode_libdir_flag_spec"
|
||||
|
||||
# Whether we need a single -rpath flag with a separated argument.
|
||||
hardcode_libdir_separator="$hardcode_libdir_separator"
|
||||
|
||||
# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
|
||||
# resulting binary.
|
||||
hardcode_direct="$hardcode_direct"
|
||||
|
||||
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
|
||||
# resulting binary.
|
||||
hardcode_minus_L="$hardcode_minus_L"
|
||||
|
||||
EOF
|
||||
@@ -1,265 +0,0 @@
|
||||
#
|
||||
# Copyright 2012 Xamarin Inc
|
||||
#
|
||||
AC_INIT(eglib, [0.3],
|
||||
[http://bugzilla.xamarin.com/enter_bug.cgi?classification=Mono])
|
||||
|
||||
AC_CONFIG_SRCDIR([README])
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
AC_CANONICAL_SYSTEM
|
||||
AC_CANONICAL_HOST
|
||||
|
||||
AM_INIT_AUTOMAKE([1.9 dist-bzip2 tar-ustar no-dist-gzip foreign])
|
||||
AC_CONFIG_HEADERS([config.h])
|
||||
AM_MAINTAINER_MODE
|
||||
|
||||
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
|
||||
|
||||
AC_PROG_CC
|
||||
AM_PROG_LIBTOOL
|
||||
# Use dolt (http://dolt.freedesktop.org/) instead of libtool for building.
|
||||
DOLT
|
||||
GNUC_PRETTY=
|
||||
GNUC_UNUSED=
|
||||
BREAKPOINT="G_STMT_START { raise (SIGTRAP); } G_STMT_END"
|
||||
if test x$GCC = xyes; then
|
||||
GNUC_UNUSED='__attribute__((__unused__))'
|
||||
GNUC_NORETURN='__attribute__((__noreturn__))'
|
||||
case $host_cpu in
|
||||
i*86|x86_64) BREAKPOINT="G_STMT_START { __asm__ (\"int \$03\"); } G_STMT_END" ;;
|
||||
esac
|
||||
fi
|
||||
AC_SUBST(GNUC_PRETTY)
|
||||
AC_SUBST(GNUC_UNUSED)
|
||||
AC_SUBST(GNUC_NORETURN)
|
||||
AC_SUBST(BREAKPOINT)
|
||||
|
||||
# We use a separate variable to pass down CPPFLAGS and CFLAGS from the main mono
|
||||
# configure, because of autoconf brokeness
|
||||
if test "x$CPPFLAGS_FOR_EGLIB" != "x"; then
|
||||
CPPFLAGS=$CPPFLAGS_FOR_EGLIB
|
||||
fi
|
||||
if test "x$CFLAGS_FOR_EGLIB" != "x"; then
|
||||
CFLAGS=$CFLAGS_FOR_EGLIB
|
||||
fi
|
||||
|
||||
CFLAGS="$CFLAGS -g -D_GNU_SOURCE"
|
||||
|
||||
AM_CONDITIONAL(CROSS_COMPILING, [test x$cross_compiling = xyes])
|
||||
AC_C_BIGENDIAN([ORDER=G_BIG_ENDIAN],[ORDER=G_LITTLE_ENDIAN])
|
||||
|
||||
platform_darwin=no
|
||||
platform_android=no
|
||||
|
||||
case $host in
|
||||
*-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*)
|
||||
PATHSEP='\\'
|
||||
SEARCHSEP=';'
|
||||
OS="WIN32"
|
||||
PIDTYPE='void *'
|
||||
;;
|
||||
*-*darwin*)
|
||||
platform_darwin=yes
|
||||
PATHSEP='/'
|
||||
SEARCHSEP=':'
|
||||
OS="UNIX"
|
||||
PIDTYPE='int'
|
||||
;;
|
||||
*-*-linux-android*)
|
||||
platform_android=yes
|
||||
AC_DEFINE(PLATFORM_ANDROID,1,[Targeting the Android platform])
|
||||
PATHSEP='/'
|
||||
SEARCHSEP=':'
|
||||
OS="UNIX"
|
||||
PIDTYPE='int'
|
||||
;;
|
||||
*)
|
||||
PATHSEP='/'
|
||||
SEARCHSEP=':'
|
||||
OS="UNIX"
|
||||
PIDTYPE='int'
|
||||
;;
|
||||
esac
|
||||
|
||||
case $host in
|
||||
*-*-solaris*)
|
||||
CFLAGS="$CFLAGS -D_POSIX_PTHREAD_SEMANTICS"
|
||||
;;
|
||||
esac
|
||||
|
||||
case $target in
|
||||
arm*-darwin*|aarch64*-*)
|
||||
CFLAGS="$CFLAGS -U_FORTIFY_SOURCE"
|
||||
;;
|
||||
i*86-*-darwin*)
|
||||
ORDER=G_LITTLE_ENDIAN
|
||||
;;
|
||||
*-*-openbsd*)
|
||||
CFLAGS="$CFLAGS -pthread"
|
||||
LDFLAGS="$LDFLAGS -pthread"
|
||||
;;
|
||||
esac
|
||||
|
||||
target_osx=no
|
||||
target_ios=no
|
||||
|
||||
if test "x$platform_darwin" = "xyes"; then
|
||||
AC_TRY_COMPILE([#include "TargetConditionals.h"],[
|
||||
#if TARGET_IPHONE_SIMULATOR == 1 || TARGET_OS_IPHONE == 1
|
||||
#error fail this for ios
|
||||
#endif
|
||||
return 0;
|
||||
], [
|
||||
AC_DEFINE(TARGET_OSX,1,[The JIT/AOT targets OSX])
|
||||
target_osx=yes
|
||||
], [
|
||||
AC_DEFINE(TARGET_IOS,1,[The JIT/AOT targets iOS])
|
||||
target_ios=yes
|
||||
])
|
||||
AC_DEFINE(TARGET_MACH,1,[The JIT/AOT targets Apple platforms])
|
||||
fi
|
||||
|
||||
AC_SUBST(ORDER)
|
||||
AC_SUBST(CFLAGS)
|
||||
AC_SUBST(PATHSEP)
|
||||
AC_SUBST(SEARCHSEP)
|
||||
AC_SUBST(OS)
|
||||
AC_SUBST(PIDTYPE)
|
||||
AM_CONDITIONAL(HOST_WIN32, test x$OS = xWIN32)
|
||||
AM_CONDITIONAL(TARGET_WIN32, test x$OS = xWIN32)
|
||||
AM_CONDITIONAL(PLATFORM_DARWIN, test x$platform_darwin = xyes)
|
||||
AM_CONDITIONAL(PLATFORM_ANDROID, test x$platform_android = xyes)
|
||||
|
||||
# Defined for all targets/platforms using classic Windows API support.
|
||||
AC_DEFINE(HAVE_CLASSIC_WINAPI_SUPPORT, 1, [Use classic Windows API support])
|
||||
AC_DEFINE(HAVE_UWP_WINAPI_SUPPORT, 0, [Don't use UWP Windows API support])
|
||||
|
||||
AC_CHECK_SIZEOF(int)
|
||||
AC_CHECK_SIZEOF(void *)
|
||||
AC_CHECK_SIZEOF(long)
|
||||
AC_CHECK_SIZEOF(long long)
|
||||
AC_CHECK_FUNCS(strlcpy stpcpy strtok_r rewinddir vasprintf)
|
||||
AC_CHECK_FUNCS(getrlimit)
|
||||
AC_CHECK_FUNCS(fork execv execve)
|
||||
|
||||
AC_ARG_WITH([overridable-allocators], [ --with-overridable-allocators allow g_*alloc/g_free to call custom allocators set via g_mem_set_vtable])
|
||||
|
||||
if test x$with_overridable_allocators = xyes; then
|
||||
AC_DEFINE(ENABLE_OVERRIDABLE_ALLOCATORS,1,[Overridable allocator support enabled])
|
||||
AC_MSG_NOTICE([Overridable allocator support enabled])
|
||||
else
|
||||
AC_MSG_NOTICE([Overridable allocator support disabled])
|
||||
fi
|
||||
|
||||
#
|
||||
# Mono currently supports 10.6, but strndup is not available prior to 10.7; avoiding
|
||||
# the detection of strndup on OS X so Mono built on 10.7+ still runs on 10.6. This can be
|
||||
# removed once support for 10.6 is dropped.
|
||||
#
|
||||
# iOS detection of strndup and getpwuid_r is faulty for some reason so let's simply avoid it
|
||||
#
|
||||
if test x$target_osx = xyes; then
|
||||
AC_CHECK_FUNCS(getpwuid_r)
|
||||
elif test x$target_ios = xno; then
|
||||
AC_CHECK_FUNCS(strndup getpwuid_r)
|
||||
fi
|
||||
|
||||
AM_CONDITIONAL(NEED_VASPRINTF, test x$ac_cv_func_vasprintf = xno || test x$with_overridable_allocators = xyes)
|
||||
AM_ICONV()
|
||||
AC_SEARCH_LIBS(sqrtf, m)
|
||||
|
||||
# nanosleep may not be part of libc, also search it in other libraries
|
||||
AC_SEARCH_LIBS(nanosleep, rt)
|
||||
|
||||
AC_SEARCH_LIBS(dlopen, dl)
|
||||
old_ldflags="${LDFLAGS}"
|
||||
LDFLAGS="${LDFLAGS} -Wl,-export-dynamic"
|
||||
AC_TRY_LINK(, [int i;], found_export_dynamic=yes, found_export_dynamic=no)
|
||||
if test $found_export_dynamic = no; then
|
||||
LDFLAGS="${old_ldflags}"
|
||||
fi
|
||||
|
||||
AC_MSG_CHECKING(for varargs macros)
|
||||
AC_TRY_COMPILE([],[
|
||||
int foo (int i, int j);
|
||||
#define bar(...) foo (1, __VA_ARGS__)
|
||||
void main () {
|
||||
bar (2);
|
||||
}
|
||||
],have_iso_varargs=yes,have_iso_varargs=no)
|
||||
AC_MSG_RESULT($have_iso_varargs)
|
||||
G_HAVE_ISO_VARARGS=0
|
||||
if test "x$have_iso_varargs" = "xyes"; then
|
||||
G_HAVE_ISO_VARARGS=1
|
||||
fi
|
||||
AC_SUBST(G_HAVE_ISO_VARARGS)
|
||||
|
||||
AC_CHECK_HEADERS(getopt.h sys/select.h sys/time.h sys/wait.h pwd.h iconv.h localcharset.h sys/types.h sys/resource.h)
|
||||
AC_CHECK_LIB([iconv], [locale_charset],[],[AC_CHECK_LIB([charset], [locale_charset],[LIBS+="-liconv -lcharset"])])
|
||||
AC_CHECK_HEADER(alloca.h, [HAVE_ALLOCA_H=1], [HAVE_ALLOCA_H=0])
|
||||
AC_SUBST(HAVE_ALLOCA_H)
|
||||
|
||||
if test $ac_cv_sizeof_void_p = $ac_cv_sizeof_int; then
|
||||
GPOINTER_TO_INT="((gint) (ptr))"
|
||||
GPOINTER_TO_UINT="((guint) (ptr))"
|
||||
GINT_TO_POINTER="((gpointer) (v))"
|
||||
GUINT_TO_POINTER="((gpointer) (v))"
|
||||
GSIZE="int"
|
||||
GSIZE_FORMAT='"u"'
|
||||
elif test $ac_cv_sizeof_void_p = $ac_cv_sizeof_long; then
|
||||
GPOINTER_TO_INT="((gint)(long) (ptr))"
|
||||
GPOINTER_TO_UINT="((guint)(long) (ptr))"
|
||||
GINT_TO_POINTER="((gpointer)(glong) (v))"
|
||||
GUINT_TO_POINTER="((gpointer)(gulong) (v))"
|
||||
GSIZE="long"
|
||||
GSIZE_FORMAT='"lu"'
|
||||
elif test $ac_cv_sizeof_void_p = $ac_cv_sizeof_long_long; then
|
||||
GPOINTER_TO_INT="((gint)(long long) (ptr))"
|
||||
GPOINTER_TO_UINT="((guint)(unsigned long long) (ptr))"
|
||||
GINT_TO_POINTER="((gpointer)(long long) (v))"
|
||||
GUINT_TO_POINTER="((gpointer)(unsigned long long) (v))"
|
||||
GSIZE="long long"
|
||||
GSIZE_FORMAT='"I64u"'
|
||||
else
|
||||
AC_MSG_ERROR([unsupported pointer size])
|
||||
fi
|
||||
|
||||
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
|
||||
|
||||
pkg_config_path=
|
||||
AC_ARG_WITH(crosspkgdir, [ --with-crosspkgdir=/path/to/pkg-config/dir Change pkg-config dir to custom dir],
|
||||
if test x$with_crosspkgdir = "x"; then
|
||||
if test -s $PKG_CONFIG_PATH; then
|
||||
pkg_config_path=$PKG_CONFIG_PATH
|
||||
fi
|
||||
else
|
||||
pkg_config_path=$with_crosspkgdir
|
||||
PKG_CONFIG_PATH=$pkg_config_path
|
||||
export PKG_CONFIG_PATH
|
||||
fi
|
||||
)
|
||||
|
||||
AC_ARG_ENABLE(werror, [ --enable-werror Pass -Werror to the C compiler], werror_flag=$enableval, werror_flag=no)
|
||||
if test x$werror_flag = xyes; then
|
||||
WERROR_CFLAGS="-Werror"
|
||||
fi
|
||||
AC_SUBST([WERROR_CFLAGS])
|
||||
|
||||
AC_SUBST(GPOINTER_TO_INT)
|
||||
AC_SUBST(GPOINTER_TO_UINT)
|
||||
AC_SUBST(GINT_TO_POINTER)
|
||||
AC_SUBST(GUINT_TO_POINTER)
|
||||
AC_SUBST(GSIZE)
|
||||
AC_SUBST(GSIZE_FORMAT)
|
||||
AC_SUBST(G_GUINT64_FORMAT)
|
||||
AC_SUBST(G_GINT64_FORMAT)
|
||||
AC_SUBST(G_GUINT32_FORMAT)
|
||||
AC_SUBST(G_GINT32_FORMAT)
|
||||
|
||||
AC_OUTPUT([
|
||||
Makefile
|
||||
m4/Makefile
|
||||
src/Makefile
|
||||
src/eglib-config.h
|
||||
test/Makefile
|
||||
])
|
||||
@@ -1,7 +0,0 @@
|
||||
Makefile
|
||||
Makefile.in
|
||||
libtool.m4
|
||||
ltoptions.m4
|
||||
ltsugar.m4
|
||||
ltversion.m4
|
||||
lt~obsolete.m4
|
||||
@@ -1 +0,0 @@
|
||||
EXTRA_DIST = $(wildcard *.m4)
|
||||
@@ -1,214 +0,0 @@
|
||||
# iconv.m4 serial 11 (gettext-0.18.1)
|
||||
dnl Copyright (C) 2000-2002, 2007-2010 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
dnl with or without modifications, as long as this notice is preserved.
|
||||
|
||||
dnl From Bruno Haible.
|
||||
|
||||
AC_DEFUN([AM_ICONV_LINKFLAGS_BODY],
|
||||
[
|
||||
dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
|
||||
AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
|
||||
AC_REQUIRE([AC_LIB_RPATH])
|
||||
|
||||
dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
|
||||
dnl accordingly.
|
||||
AC_LIB_LINKFLAGS_BODY([iconv])
|
||||
])
|
||||
|
||||
AC_DEFUN([AM_ICONV_LINK],
|
||||
[
|
||||
dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and
|
||||
dnl those with the standalone portable GNU libiconv installed).
|
||||
AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
|
||||
|
||||
dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
|
||||
dnl accordingly.
|
||||
AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
|
||||
|
||||
dnl Add $INCICONV to CPPFLAGS before performing the following checks,
|
||||
dnl because if the user has installed libiconv and not disabled its use
|
||||
dnl via --without-libiconv-prefix, he wants to use it. The first
|
||||
dnl AC_TRY_LINK will then fail, the second AC_TRY_LINK will succeed.
|
||||
am_save_CPPFLAGS="$CPPFLAGS"
|
||||
AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV])
|
||||
|
||||
AC_CACHE_CHECK([for iconv], [am_cv_func_iconv], [
|
||||
am_cv_func_iconv="no, consider installing GNU libiconv"
|
||||
am_cv_lib_iconv=no
|
||||
AC_TRY_LINK([#include <stdlib.h>
|
||||
#include <iconv.h>],
|
||||
[iconv_t cd = iconv_open("","");
|
||||
iconv(cd,NULL,NULL,NULL,NULL);
|
||||
iconv_close(cd);],
|
||||
[am_cv_func_iconv=yes])
|
||||
if test "$am_cv_func_iconv" != yes; then
|
||||
am_save_LIBS="$LIBS"
|
||||
LIBS="$LIBS $LIBICONV"
|
||||
AC_TRY_LINK([#include <stdlib.h>
|
||||
#include <iconv.h>],
|
||||
[iconv_t cd = iconv_open("","");
|
||||
iconv(cd,NULL,NULL,NULL,NULL);
|
||||
iconv_close(cd);],
|
||||
[am_cv_lib_iconv=yes]
|
||||
[am_cv_func_iconv=yes])
|
||||
LIBS="$am_save_LIBS"
|
||||
fi
|
||||
])
|
||||
if test "$am_cv_func_iconv" = yes; then
|
||||
AC_CACHE_CHECK([for working iconv], [am_cv_func_iconv_works], [
|
||||
dnl This tests against bugs in AIX 5.1, HP-UX 11.11, Solaris 10.
|
||||
am_save_LIBS="$LIBS"
|
||||
if test $am_cv_lib_iconv = yes; then
|
||||
LIBS="$LIBS $LIBICONV"
|
||||
fi
|
||||
AC_TRY_RUN([
|
||||
#include <iconv.h>
|
||||
#include <string.h>
|
||||
int main ()
|
||||
{
|
||||
/* Test against AIX 5.1 bug: Failures are not distinguishable from successful
|
||||
returns. */
|
||||
{
|
||||
iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
|
||||
if (cd_utf8_to_88591 != (iconv_t)(-1))
|
||||
{
|
||||
static const char input[] = "\342\202\254"; /* EURO SIGN */
|
||||
char buf[10];
|
||||
const char *inptr = input;
|
||||
size_t inbytesleft = strlen (input);
|
||||
char *outptr = buf;
|
||||
size_t outbytesleft = sizeof (buf);
|
||||
size_t res = iconv (cd_utf8_to_88591,
|
||||
(char **) &inptr, &inbytesleft,
|
||||
&outptr, &outbytesleft);
|
||||
if (res == 0)
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
/* Test against Solaris 10 bug: Failures are not distinguishable from
|
||||
successful returns. */
|
||||
{
|
||||
iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
|
||||
if (cd_ascii_to_88591 != (iconv_t)(-1))
|
||||
{
|
||||
static const char input[] = "\263";
|
||||
char buf[10];
|
||||
const char *inptr = input;
|
||||
size_t inbytesleft = strlen (input);
|
||||
char *outptr = buf;
|
||||
size_t outbytesleft = sizeof (buf);
|
||||
size_t res = iconv (cd_ascii_to_88591,
|
||||
(char **) &inptr, &inbytesleft,
|
||||
&outptr, &outbytesleft);
|
||||
if (res == 0)
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
#if 0 /* This bug could be worked around by the caller. */
|
||||
/* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
|
||||
{
|
||||
iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
|
||||
if (cd_88591_to_utf8 != (iconv_t)(-1))
|
||||
{
|
||||
static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
|
||||
char buf[50];
|
||||
const char *inptr = input;
|
||||
size_t inbytesleft = strlen (input);
|
||||
char *outptr = buf;
|
||||
size_t outbytesleft = sizeof (buf);
|
||||
size_t res = iconv (cd_88591_to_utf8,
|
||||
(char **) &inptr, &inbytesleft,
|
||||
&outptr, &outbytesleft);
|
||||
if ((int)res > 0)
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
/* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
|
||||
provided. */
|
||||
if (/* Try standardized names. */
|
||||
iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
|
||||
/* Try IRIX, OSF/1 names. */
|
||||
&& iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
|
||||
/* Try AIX names. */
|
||||
&& iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
|
||||
/* Try HP-UX names. */
|
||||
&& iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
|
||||
return 1;
|
||||
return 0;
|
||||
}], [am_cv_func_iconv_works=yes], [am_cv_func_iconv_works=no],
|
||||
[case "$host_os" in
|
||||
aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
|
||||
*) am_cv_func_iconv_works="guessing yes" ;;
|
||||
esac])
|
||||
LIBS="$am_save_LIBS"
|
||||
])
|
||||
case "$am_cv_func_iconv_works" in
|
||||
*no) am_func_iconv=no am_cv_lib_iconv=no ;;
|
||||
*) am_func_iconv=yes ;;
|
||||
esac
|
||||
else
|
||||
am_func_iconv=no am_cv_lib_iconv=no
|
||||
fi
|
||||
if test "$am_func_iconv" = yes; then
|
||||
AC_DEFINE([HAVE_ICONV], [1],
|
||||
[Define if you have the iconv() function and it works.])
|
||||
fi
|
||||
if test "$am_cv_lib_iconv" = yes; then
|
||||
AC_MSG_CHECKING([how to link with libiconv])
|
||||
AC_MSG_RESULT([$LIBICONV])
|
||||
else
|
||||
dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV
|
||||
dnl either.
|
||||
CPPFLAGS="$am_save_CPPFLAGS"
|
||||
LIBICONV=
|
||||
LTLIBICONV=
|
||||
fi
|
||||
AC_SUBST([LIBICONV])
|
||||
AC_SUBST([LTLIBICONV])
|
||||
])
|
||||
|
||||
dnl Define AM_ICONV using AC_DEFUN_ONCE for Autoconf >= 2.64, in order to
|
||||
dnl avoid warnings like
|
||||
dnl "warning: AC_REQUIRE: `AM_ICONV' was expanded before it was required".
|
||||
dnl This is tricky because of the way 'aclocal' is implemented:
|
||||
dnl - It requires defining an auxiliary macro whose name ends in AC_DEFUN.
|
||||
dnl Otherwise aclocal's initial scan pass would miss the macro definition.
|
||||
dnl - It requires a line break inside the AC_DEFUN_ONCE and AC_DEFUN expansions.
|
||||
dnl Otherwise aclocal would emit many "Use of uninitialized value $1"
|
||||
dnl warnings.
|
||||
m4_define([gl_iconv_AC_DEFUN],
|
||||
m4_version_prereq([2.64],
|
||||
[[AC_DEFUN_ONCE(
|
||||
[$1], [$2])]],
|
||||
[[AC_DEFUN(
|
||||
[$1], [$2])]]))
|
||||
gl_iconv_AC_DEFUN([AM_ICONV],
|
||||
[
|
||||
AM_ICONV_LINK
|
||||
if test "$am_cv_func_iconv" = yes; then
|
||||
AC_MSG_CHECKING([for iconv declaration])
|
||||
AC_CACHE_VAL([am_cv_proto_iconv], [
|
||||
AC_TRY_COMPILE([
|
||||
#include <stdlib.h>
|
||||
#include <iconv.h>
|
||||
extern
|
||||
#ifdef __cplusplus
|
||||
"C"
|
||||
#endif
|
||||
#if defined(__STDC__) || defined(__cplusplus)
|
||||
size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
|
||||
#else
|
||||
size_t iconv();
|
||||
#endif
|
||||
], [], [am_cv_proto_iconv_arg1=""], [am_cv_proto_iconv_arg1="const"])
|
||||
am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"])
|
||||
am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
|
||||
AC_MSG_RESULT([
|
||||
$am_cv_proto_iconv])
|
||||
AC_DEFINE_UNQUOTED([ICONV_CONST], [$am_cv_proto_iconv_arg1],
|
||||
[Define as const if the declaration of iconv() needs const.])
|
||||
fi
|
||||
])
|
||||
@@ -1,110 +0,0 @@
|
||||
# lib-ld.m4 serial 4 (gettext-0.18)
|
||||
dnl Copyright (C) 1996-2003, 2009-2010 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
dnl with or without modifications, as long as this notice is preserved.
|
||||
|
||||
dnl Subroutines of libtool.m4,
|
||||
dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision
|
||||
dnl with libtool.m4.
|
||||
|
||||
dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no.
|
||||
AC_DEFUN([AC_LIB_PROG_LD_GNU],
|
||||
[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], [acl_cv_prog_gnu_ld],
|
||||
[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
|
||||
case `$LD -v 2>&1 </dev/null` in
|
||||
*GNU* | *'with BFD'*)
|
||||
acl_cv_prog_gnu_ld=yes ;;
|
||||
*)
|
||||
acl_cv_prog_gnu_ld=no ;;
|
||||
esac])
|
||||
with_gnu_ld=$acl_cv_prog_gnu_ld
|
||||
])
|
||||
|
||||
dnl From libtool-1.4. Sets the variable LD.
|
||||
AC_DEFUN([AC_LIB_PROG_LD],
|
||||
[AC_ARG_WITH([gnu-ld],
|
||||
[ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
|
||||
test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
|
||||
AC_REQUIRE([AC_PROG_CC])dnl
|
||||
AC_REQUIRE([AC_CANONICAL_HOST])dnl
|
||||
# Prepare PATH_SEPARATOR.
|
||||
# The user is always right.
|
||||
if test "${PATH_SEPARATOR+set}" != set; then
|
||||
echo "#! /bin/sh" >conf$$.sh
|
||||
echo "exit 0" >>conf$$.sh
|
||||
chmod +x conf$$.sh
|
||||
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
|
||||
PATH_SEPARATOR=';'
|
||||
else
|
||||
PATH_SEPARATOR=:
|
||||
fi
|
||||
rm -f conf$$.sh
|
||||
fi
|
||||
ac_prog=ld
|
||||
if test "$GCC" = yes; then
|
||||
# Check if gcc -print-prog-name=ld gives a path.
|
||||
AC_MSG_CHECKING([for ld used by GCC])
|
||||
case $host in
|
||||
*-*-mingw*)
|
||||
# gcc leaves a trailing carriage return which upsets mingw
|
||||
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
|
||||
*)
|
||||
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
|
||||
esac
|
||||
case $ac_prog in
|
||||
# Accept absolute paths.
|
||||
[[\\/]* | [A-Za-z]:[\\/]*)]
|
||||
[re_direlt='/[^/][^/]*/\.\./']
|
||||
# Canonicalize the path of ld
|
||||
ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
|
||||
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
|
||||
ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
|
||||
done
|
||||
test -z "$LD" && LD="$ac_prog"
|
||||
;;
|
||||
"")
|
||||
# If it fails, then pretend we aren't using GCC.
|
||||
ac_prog=ld
|
||||
;;
|
||||
*)
|
||||
# If it is relative, then search for the first ld in PATH.
|
||||
with_gnu_ld=unknown
|
||||
;;
|
||||
esac
|
||||
elif test "$with_gnu_ld" = yes; then
|
||||
AC_MSG_CHECKING([for GNU ld])
|
||||
else
|
||||
AC_MSG_CHECKING([for non-GNU ld])
|
||||
fi
|
||||
AC_CACHE_VAL([acl_cv_path_LD],
|
||||
[if test -z "$LD"; then
|
||||
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
|
||||
for ac_dir in $PATH; do
|
||||
test -z "$ac_dir" && ac_dir=.
|
||||
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
|
||||
acl_cv_path_LD="$ac_dir/$ac_prog"
|
||||
# Check to see if the program is GNU ld. I'd rather use --version,
|
||||
# but apparently some GNU ld's only accept -v.
|
||||
# Break only if it was the GNU/non-GNU ld that we prefer.
|
||||
case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
|
||||
*GNU* | *'with BFD'*)
|
||||
test "$with_gnu_ld" != no && break ;;
|
||||
*)
|
||||
test "$with_gnu_ld" != yes && break ;;
|
||||
esac
|
||||
fi
|
||||
done
|
||||
IFS="$ac_save_ifs"
|
||||
else
|
||||
acl_cv_path_LD="$LD" # Let the user override the test with a path.
|
||||
fi])
|
||||
LD="$acl_cv_path_LD"
|
||||
if test -n "$LD"; then
|
||||
AC_MSG_RESULT([$LD])
|
||||
else
|
||||
AC_MSG_RESULT([no])
|
||||
fi
|
||||
test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
|
||||
AC_LIB_PROG_LD_GNU
|
||||
])
|
||||
@@ -1,774 +0,0 @@
|
||||
# lib-link.m4 serial 21 (gettext-0.18)
|
||||
dnl Copyright (C) 2001-2010 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
dnl with or without modifications, as long as this notice is preserved.
|
||||
|
||||
dnl From Bruno Haible.
|
||||
|
||||
AC_PREREQ([2.54])
|
||||
|
||||
dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and
|
||||
dnl the libraries corresponding to explicit and implicit dependencies.
|
||||
dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and
|
||||
dnl augments the CPPFLAGS variable.
|
||||
dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname
|
||||
dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem.
|
||||
AC_DEFUN([AC_LIB_LINKFLAGS],
|
||||
[
|
||||
AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
|
||||
AC_REQUIRE([AC_LIB_RPATH])
|
||||
pushdef([Name],[translit([$1],[./-], [___])])
|
||||
pushdef([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
|
||||
[ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
|
||||
AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [
|
||||
AC_LIB_LINKFLAGS_BODY([$1], [$2])
|
||||
ac_cv_lib[]Name[]_libs="$LIB[]NAME"
|
||||
ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME"
|
||||
ac_cv_lib[]Name[]_cppflags="$INC[]NAME"
|
||||
ac_cv_lib[]Name[]_prefix="$LIB[]NAME[]_PREFIX"
|
||||
])
|
||||
LIB[]NAME="$ac_cv_lib[]Name[]_libs"
|
||||
LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs"
|
||||
INC[]NAME="$ac_cv_lib[]Name[]_cppflags"
|
||||
LIB[]NAME[]_PREFIX="$ac_cv_lib[]Name[]_prefix"
|
||||
AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
|
||||
AC_SUBST([LIB]NAME)
|
||||
AC_SUBST([LTLIB]NAME)
|
||||
AC_SUBST([LIB]NAME[_PREFIX])
|
||||
dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the
|
||||
dnl results of this search when this library appears as a dependency.
|
||||
HAVE_LIB[]NAME=yes
|
||||
popdef([NAME])
|
||||
popdef([Name])
|
||||
])
|
||||
|
||||
dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode, [missing-message])
|
||||
dnl searches for libname and the libraries corresponding to explicit and
|
||||
dnl implicit dependencies, together with the specified include files and
|
||||
dnl the ability to compile and link the specified testcode. The missing-message
|
||||
dnl defaults to 'no' and may contain additional hints for the user.
|
||||
dnl If found, it sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME}
|
||||
dnl and LTLIB${NAME} variables and augments the CPPFLAGS variable, and
|
||||
dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs
|
||||
dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty.
|
||||
dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname
|
||||
dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem.
|
||||
AC_DEFUN([AC_LIB_HAVE_LINKFLAGS],
|
||||
[
|
||||
AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
|
||||
AC_REQUIRE([AC_LIB_RPATH])
|
||||
pushdef([Name],[translit([$1],[./-], [___])])
|
||||
pushdef([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
|
||||
[ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
|
||||
|
||||
dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME
|
||||
dnl accordingly.
|
||||
AC_LIB_LINKFLAGS_BODY([$1], [$2])
|
||||
|
||||
dnl Add $INC[]NAME to CPPFLAGS before performing the following checks,
|
||||
dnl because if the user has installed lib[]Name and not disabled its use
|
||||
dnl via --without-lib[]Name-prefix, he wants to use it.
|
||||
ac_save_CPPFLAGS="$CPPFLAGS"
|
||||
AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
|
||||
|
||||
AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [
|
||||
ac_save_LIBS="$LIBS"
|
||||
dnl If $LIB[]NAME contains some -l options, add it to the end of LIBS,
|
||||
dnl because these -l options might require -L options that are present in
|
||||
dnl LIBS. -l options benefit only from the -L options listed before it.
|
||||
dnl Otherwise, add it to the front of LIBS, because it may be a static
|
||||
dnl library that depends on another static library that is present in LIBS.
|
||||
dnl Static libraries benefit only from the static libraries listed after
|
||||
dnl it.
|
||||
case " $LIB[]NAME" in
|
||||
*" -l"*) LIBS="$LIBS $LIB[]NAME" ;;
|
||||
*) LIBS="$LIB[]NAME $LIBS" ;;
|
||||
esac
|
||||
AC_TRY_LINK([$3], [$4],
|
||||
[ac_cv_lib[]Name=yes],
|
||||
[ac_cv_lib[]Name='m4_if([$5], [], [no], [[$5]])'])
|
||||
LIBS="$ac_save_LIBS"
|
||||
])
|
||||
if test "$ac_cv_lib[]Name" = yes; then
|
||||
HAVE_LIB[]NAME=yes
|
||||
AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the lib][$1 library.])
|
||||
AC_MSG_CHECKING([how to link with lib[]$1])
|
||||
AC_MSG_RESULT([$LIB[]NAME])
|
||||
else
|
||||
HAVE_LIB[]NAME=no
|
||||
dnl If $LIB[]NAME didn't lead to a usable library, we don't need
|
||||
dnl $INC[]NAME either.
|
||||
CPPFLAGS="$ac_save_CPPFLAGS"
|
||||
LIB[]NAME=
|
||||
LTLIB[]NAME=
|
||||
LIB[]NAME[]_PREFIX=
|
||||
fi
|
||||
AC_SUBST([HAVE_LIB]NAME)
|
||||
AC_SUBST([LIB]NAME)
|
||||
AC_SUBST([LTLIB]NAME)
|
||||
AC_SUBST([LIB]NAME[_PREFIX])
|
||||
popdef([NAME])
|
||||
popdef([Name])
|
||||
])
|
||||
|
||||
dnl Determine the platform dependent parameters needed to use rpath:
|
||||
dnl acl_libext,
|
||||
dnl acl_shlibext,
|
||||
dnl acl_hardcode_libdir_flag_spec,
|
||||
dnl acl_hardcode_libdir_separator,
|
||||
dnl acl_hardcode_direct,
|
||||
dnl acl_hardcode_minus_L.
|
||||
AC_DEFUN([AC_LIB_RPATH],
|
||||
[
|
||||
dnl Tell automake >= 1.10 to complain if config.rpath is missing.
|
||||
m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([config.rpath])])
|
||||
AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS
|
||||
AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld
|
||||
AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host
|
||||
AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir
|
||||
AC_CACHE_CHECK([for shared library run path origin], [acl_cv_rpath], [
|
||||
CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
|
||||
${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
|
||||
. ./conftest.sh
|
||||
rm -f ./conftest.sh
|
||||
acl_cv_rpath=done
|
||||
])
|
||||
wl="$acl_cv_wl"
|
||||
acl_libext="$acl_cv_libext"
|
||||
acl_shlibext="$acl_cv_shlibext"
|
||||
acl_libname_spec="$acl_cv_libname_spec"
|
||||
acl_library_names_spec="$acl_cv_library_names_spec"
|
||||
acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
|
||||
acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
|
||||
acl_hardcode_direct="$acl_cv_hardcode_direct"
|
||||
acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
|
||||
dnl Determine whether the user wants rpath handling at all.
|
||||
AC_ARG_ENABLE([rpath],
|
||||
[ --disable-rpath do not hardcode runtime library paths],
|
||||
:, enable_rpath=yes)
|
||||
])
|
||||
|
||||
dnl AC_LIB_FROMPACKAGE(name, package)
|
||||
dnl declares that libname comes from the given package. The configure file
|
||||
dnl will then not have a --with-libname-prefix option but a
|
||||
dnl --with-package-prefix option. Several libraries can come from the same
|
||||
dnl package. This declaration must occur before an AC_LIB_LINKFLAGS or similar
|
||||
dnl macro call that searches for libname.
|
||||
AC_DEFUN([AC_LIB_FROMPACKAGE],
|
||||
[
|
||||
pushdef([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
|
||||
[ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
|
||||
define([acl_frompackage_]NAME, [$2])
|
||||
popdef([NAME])
|
||||
pushdef([PACK],[$2])
|
||||
pushdef([PACKUP],[translit(PACK,[abcdefghijklmnopqrstuvwxyz./-],
|
||||
[ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
|
||||
define([acl_libsinpackage_]PACKUP,
|
||||
m4_ifdef([acl_libsinpackage_]PACKUP, [acl_libsinpackage_]PACKUP[[, ]],)[lib$1])
|
||||
popdef([PACKUP])
|
||||
popdef([PACK])
|
||||
])
|
||||
|
||||
dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and
|
||||
dnl the libraries corresponding to explicit and implicit dependencies.
|
||||
dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables.
|
||||
dnl Also, sets the LIB${NAME}_PREFIX variable to nonempty if libname was found
|
||||
dnl in ${LIB${NAME}_PREFIX}/$acl_libdirstem.
|
||||
AC_DEFUN([AC_LIB_LINKFLAGS_BODY],
|
||||
[
|
||||
AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
|
||||
pushdef([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
|
||||
[ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
|
||||
pushdef([PACK],[m4_ifdef([acl_frompackage_]NAME, [acl_frompackage_]NAME, lib[$1])])
|
||||
pushdef([PACKUP],[translit(PACK,[abcdefghijklmnopqrstuvwxyz./-],
|
||||
[ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
|
||||
pushdef([PACKLIBS],[m4_ifdef([acl_frompackage_]NAME, [acl_libsinpackage_]PACKUP, lib[$1])])
|
||||
dnl Autoconf >= 2.61 supports dots in --with options.
|
||||
pushdef([P_A_C_K],[m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]),[2.61]),[-1],[translit(PACK,[.],[_])],PACK)])
|
||||
dnl By default, look in $includedir and $libdir.
|
||||
use_additional=yes
|
||||
AC_LIB_WITH_FINAL_PREFIX([
|
||||
eval additional_includedir=\"$includedir\"
|
||||
eval additional_libdir=\"$libdir\"
|
||||
])
|
||||
AC_ARG_WITH(P_A_C_K[-prefix],
|
||||
[[ --with-]]P_A_C_K[[-prefix[=DIR] search for ]PACKLIBS[ in DIR/include and DIR/lib
|
||||
--without-]]P_A_C_K[[-prefix don't search for ]PACKLIBS[ in includedir and libdir]],
|
||||
[
|
||||
if test "X$withval" = "Xno"; then
|
||||
use_additional=no
|
||||
else
|
||||
if test "X$withval" = "X"; then
|
||||
AC_LIB_WITH_FINAL_PREFIX([
|
||||
eval additional_includedir=\"$includedir\"
|
||||
eval additional_libdir=\"$libdir\"
|
||||
])
|
||||
else
|
||||
additional_includedir="$withval/include"
|
||||
additional_libdir="$withval/$acl_libdirstem"
|
||||
if test "$acl_libdirstem2" != "$acl_libdirstem" \
|
||||
&& ! test -d "$withval/$acl_libdirstem"; then
|
||||
additional_libdir="$withval/$acl_libdirstem2"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
])
|
||||
dnl Search the library and its dependencies in $additional_libdir and
|
||||
dnl $LDFLAGS. Using breadth-first-seach.
|
||||
LIB[]NAME=
|
||||
LTLIB[]NAME=
|
||||
INC[]NAME=
|
||||
LIB[]NAME[]_PREFIX=
|
||||
dnl HAVE_LIB${NAME} is an indicator that LIB${NAME}, LTLIB${NAME} have been
|
||||
dnl computed. So it has to be reset here.
|
||||
HAVE_LIB[]NAME=
|
||||
rpathdirs=
|
||||
ltrpathdirs=
|
||||
names_already_handled=
|
||||
names_next_round='$1 $2'
|
||||
while test -n "$names_next_round"; do
|
||||
names_this_round="$names_next_round"
|
||||
names_next_round=
|
||||
for name in $names_this_round; do
|
||||
already_handled=
|
||||
for n in $names_already_handled; do
|
||||
if test "$n" = "$name"; then
|
||||
already_handled=yes
|
||||
break
|
||||
fi
|
||||
done
|
||||
if test -z "$already_handled"; then
|
||||
names_already_handled="$names_already_handled $name"
|
||||
dnl See if it was already located by an earlier AC_LIB_LINKFLAGS
|
||||
dnl or AC_LIB_HAVE_LINKFLAGS call.
|
||||
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
|
||||
eval value=\"\$HAVE_LIB$uppername\"
|
||||
if test -n "$value"; then
|
||||
if test "$value" = yes; then
|
||||
eval value=\"\$LIB$uppername\"
|
||||
test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value"
|
||||
eval value=\"\$LTLIB$uppername\"
|
||||
test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value"
|
||||
else
|
||||
dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined
|
||||
dnl that this library doesn't exist. So just drop it.
|
||||
:
|
||||
fi
|
||||
else
|
||||
dnl Search the library lib$name in $additional_libdir and $LDFLAGS
|
||||
dnl and the already constructed $LIBNAME/$LTLIBNAME.
|
||||
found_dir=
|
||||
found_la=
|
||||
found_so=
|
||||
found_a=
|
||||
eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
|
||||
if test -n "$acl_shlibext"; then
|
||||
shrext=".$acl_shlibext" # typically: shrext=.so
|
||||
else
|
||||
shrext=
|
||||
fi
|
||||
if test $use_additional = yes; then
|
||||
dir="$additional_libdir"
|
||||
dnl The same code as in the loop below:
|
||||
dnl First look for a shared library.
|
||||
if test -n "$acl_shlibext"; then
|
||||
if test -f "$dir/$libname$shrext"; then
|
||||
found_dir="$dir"
|
||||
found_so="$dir/$libname$shrext"
|
||||
else
|
||||
if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
|
||||
ver=`(cd "$dir" && \
|
||||
for f in "$libname$shrext".*; do echo "$f"; done \
|
||||
| sed -e "s,^$libname$shrext\\\\.,," \
|
||||
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
|
||||
| sed 1q ) 2>/dev/null`
|
||||
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
|
||||
found_dir="$dir"
|
||||
found_so="$dir/$libname$shrext.$ver"
|
||||
fi
|
||||
else
|
||||
eval library_names=\"$acl_library_names_spec\"
|
||||
for f in $library_names; do
|
||||
if test -f "$dir/$f"; then
|
||||
found_dir="$dir"
|
||||
found_so="$dir/$f"
|
||||
break
|
||||
fi
|
||||
done
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
dnl Then look for a static library.
|
||||
if test "X$found_dir" = "X"; then
|
||||
if test -f "$dir/$libname.$acl_libext"; then
|
||||
found_dir="$dir"
|
||||
found_a="$dir/$libname.$acl_libext"
|
||||
fi
|
||||
fi
|
||||
if test "X$found_dir" != "X"; then
|
||||
if test -f "$dir/$libname.la"; then
|
||||
found_la="$dir/$libname.la"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
if test "X$found_dir" = "X"; then
|
||||
for x in $LDFLAGS $LTLIB[]NAME; do
|
||||
AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
|
||||
case "$x" in
|
||||
-L*)
|
||||
dir=`echo "X$x" | sed -e 's/^X-L//'`
|
||||
dnl First look for a shared library.
|
||||
if test -n "$acl_shlibext"; then
|
||||
if test -f "$dir/$libname$shrext"; then
|
||||
found_dir="$dir"
|
||||
found_so="$dir/$libname$shrext"
|
||||
else
|
||||
if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
|
||||
ver=`(cd "$dir" && \
|
||||
for f in "$libname$shrext".*; do echo "$f"; done \
|
||||
| sed -e "s,^$libname$shrext\\\\.,," \
|
||||
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
|
||||
| sed 1q ) 2>/dev/null`
|
||||
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
|
||||
found_dir="$dir"
|
||||
found_so="$dir/$libname$shrext.$ver"
|
||||
fi
|
||||
else
|
||||
eval library_names=\"$acl_library_names_spec\"
|
||||
for f in $library_names; do
|
||||
if test -f "$dir/$f"; then
|
||||
found_dir="$dir"
|
||||
found_so="$dir/$f"
|
||||
break
|
||||
fi
|
||||
done
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
dnl Then look for a static library.
|
||||
if test "X$found_dir" = "X"; then
|
||||
if test -f "$dir/$libname.$acl_libext"; then
|
||||
found_dir="$dir"
|
||||
found_a="$dir/$libname.$acl_libext"
|
||||
fi
|
||||
fi
|
||||
if test "X$found_dir" != "X"; then
|
||||
if test -f "$dir/$libname.la"; then
|
||||
found_la="$dir/$libname.la"
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
if test "X$found_dir" != "X"; then
|
||||
break
|
||||
fi
|
||||
done
|
||||
fi
|
||||
if test "X$found_dir" != "X"; then
|
||||
dnl Found the library.
|
||||
LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name"
|
||||
if test "X$found_so" != "X"; then
|
||||
dnl Linking with a shared library. We attempt to hardcode its
|
||||
dnl directory into the executable's runpath, unless it's the
|
||||
dnl standard /usr/lib.
|
||||
if test "$enable_rpath" = no \
|
||||
|| test "X$found_dir" = "X/usr/$acl_libdirstem" \
|
||||
|| test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
|
||||
dnl No hardcoding is needed.
|
||||
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
|
||||
else
|
||||
dnl Use an explicit option to hardcode DIR into the resulting
|
||||
dnl binary.
|
||||
dnl Potentially add DIR to ltrpathdirs.
|
||||
dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
|
||||
haveit=
|
||||
for x in $ltrpathdirs; do
|
||||
if test "X$x" = "X$found_dir"; then
|
||||
haveit=yes
|
||||
break
|
||||
fi
|
||||
done
|
||||
if test -z "$haveit"; then
|
||||
ltrpathdirs="$ltrpathdirs $found_dir"
|
||||
fi
|
||||
dnl The hardcoding into $LIBNAME is system dependent.
|
||||
if test "$acl_hardcode_direct" = yes; then
|
||||
dnl Using DIR/libNAME.so during linking hardcodes DIR into the
|
||||
dnl resulting binary.
|
||||
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
|
||||
else
|
||||
if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
|
||||
dnl Use an explicit option to hardcode DIR into the resulting
|
||||
dnl binary.
|
||||
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
|
||||
dnl Potentially add DIR to rpathdirs.
|
||||
dnl The rpathdirs will be appended to $LIBNAME at the end.
|
||||
haveit=
|
||||
for x in $rpathdirs; do
|
||||
if test "X$x" = "X$found_dir"; then
|
||||
haveit=yes
|
||||
break
|
||||
fi
|
||||
done
|
||||
if test -z "$haveit"; then
|
||||
rpathdirs="$rpathdirs $found_dir"
|
||||
fi
|
||||
else
|
||||
dnl Rely on "-L$found_dir".
|
||||
dnl But don't add it if it's already contained in the LDFLAGS
|
||||
dnl or the already constructed $LIBNAME
|
||||
haveit=
|
||||
for x in $LDFLAGS $LIB[]NAME; do
|
||||
AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
|
||||
if test "X$x" = "X-L$found_dir"; then
|
||||
haveit=yes
|
||||
break
|
||||
fi
|
||||
done
|
||||
if test -z "$haveit"; then
|
||||
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir"
|
||||
fi
|
||||
if test "$acl_hardcode_minus_L" != no; then
|
||||
dnl FIXME: Not sure whether we should use
|
||||
dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
|
||||
dnl here.
|
||||
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
|
||||
else
|
||||
dnl We cannot use $acl_hardcode_runpath_var and LD_RUN_PATH
|
||||
dnl here, because this doesn't fit in flags passed to the
|
||||
dnl compiler. So give up. No hardcoding. This affects only
|
||||
dnl very old systems.
|
||||
dnl FIXME: Not sure whether we should use
|
||||
dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
|
||||
dnl here.
|
||||
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
else
|
||||
if test "X$found_a" != "X"; then
|
||||
dnl Linking with a static library.
|
||||
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a"
|
||||
else
|
||||
dnl We shouldn't come here, but anyway it's good to have a
|
||||
dnl fallback.
|
||||
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name"
|
||||
fi
|
||||
fi
|
||||
dnl Assume the include files are nearby.
|
||||
additional_includedir=
|
||||
case "$found_dir" in
|
||||
*/$acl_libdirstem | */$acl_libdirstem/)
|
||||
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
|
||||
if test "$name" = '$1'; then
|
||||
LIB[]NAME[]_PREFIX="$basedir"
|
||||
fi
|
||||
additional_includedir="$basedir/include"
|
||||
;;
|
||||
*/$acl_libdirstem2 | */$acl_libdirstem2/)
|
||||
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
|
||||
if test "$name" = '$1'; then
|
||||
LIB[]NAME[]_PREFIX="$basedir"
|
||||
fi
|
||||
additional_includedir="$basedir/include"
|
||||
;;
|
||||
esac
|
||||
if test "X$additional_includedir" != "X"; then
|
||||
dnl Potentially add $additional_includedir to $INCNAME.
|
||||
dnl But don't add it
|
||||
dnl 1. if it's the standard /usr/include,
|
||||
dnl 2. if it's /usr/local/include and we are using GCC on Linux,
|
||||
dnl 3. if it's already present in $CPPFLAGS or the already
|
||||
dnl constructed $INCNAME,
|
||||
dnl 4. if it doesn't exist as a directory.
|
||||
if test "X$additional_includedir" != "X/usr/include"; then
|
||||
haveit=
|
||||
if test "X$additional_includedir" = "X/usr/local/include"; then
|
||||
if test -n "$GCC"; then
|
||||
case $host_os in
|
||||
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
|
||||
esac
|
||||
fi
|
||||
fi
|
||||
if test -z "$haveit"; then
|
||||
for x in $CPPFLAGS $INC[]NAME; do
|
||||
AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
|
||||
if test "X$x" = "X-I$additional_includedir"; then
|
||||
haveit=yes
|
||||
break
|
||||
fi
|
||||
done
|
||||
if test -z "$haveit"; then
|
||||
if test -d "$additional_includedir"; then
|
||||
dnl Really add $additional_includedir to $INCNAME.
|
||||
INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
dnl Look for dependencies.
|
||||
if test -n "$found_la"; then
|
||||
dnl Read the .la file. It defines the variables
|
||||
dnl dlname, library_names, old_library, dependency_libs, current,
|
||||
dnl age, revision, installed, dlopen, dlpreopen, libdir.
|
||||
save_libdir="$libdir"
|
||||
case "$found_la" in
|
||||
*/* | *\\*) . "$found_la" ;;
|
||||
*) . "./$found_la" ;;
|
||||
esac
|
||||
libdir="$save_libdir"
|
||||
dnl We use only dependency_libs.
|
||||
for dep in $dependency_libs; do
|
||||
case "$dep" in
|
||||
-L*)
|
||||
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
|
||||
dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME.
|
||||
dnl But don't add it
|
||||
dnl 1. if it's the standard /usr/lib,
|
||||
dnl 2. if it's /usr/local/lib and we are using GCC on Linux,
|
||||
dnl 3. if it's already present in $LDFLAGS or the already
|
||||
dnl constructed $LIBNAME,
|
||||
dnl 4. if it doesn't exist as a directory.
|
||||
if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
|
||||
&& test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
|
||||
haveit=
|
||||
if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
|
||||
|| test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
|
||||
if test -n "$GCC"; then
|
||||
case $host_os in
|
||||
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
|
||||
esac
|
||||
fi
|
||||
fi
|
||||
if test -z "$haveit"; then
|
||||
haveit=
|
||||
for x in $LDFLAGS $LIB[]NAME; do
|
||||
AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
|
||||
if test "X$x" = "X-L$additional_libdir"; then
|
||||
haveit=yes
|
||||
break
|
||||
fi
|
||||
done
|
||||
if test -z "$haveit"; then
|
||||
if test -d "$additional_libdir"; then
|
||||
dnl Really add $additional_libdir to $LIBNAME.
|
||||
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir"
|
||||
fi
|
||||
fi
|
||||
haveit=
|
||||
for x in $LDFLAGS $LTLIB[]NAME; do
|
||||
AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
|
||||
if test "X$x" = "X-L$additional_libdir"; then
|
||||
haveit=yes
|
||||
break
|
||||
fi
|
||||
done
|
||||
if test -z "$haveit"; then
|
||||
if test -d "$additional_libdir"; then
|
||||
dnl Really add $additional_libdir to $LTLIBNAME.
|
||||
LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
-R*)
|
||||
dir=`echo "X$dep" | sed -e 's/^X-R//'`
|
||||
if test "$enable_rpath" != no; then
|
||||
dnl Potentially add DIR to rpathdirs.
|
||||
dnl The rpathdirs will be appended to $LIBNAME at the end.
|
||||
haveit=
|
||||
for x in $rpathdirs; do
|
||||
if test "X$x" = "X$dir"; then
|
||||
haveit=yes
|
||||
break
|
||||
fi
|
||||
done
|
||||
if test -z "$haveit"; then
|
||||
rpathdirs="$rpathdirs $dir"
|
||||
fi
|
||||
dnl Potentially add DIR to ltrpathdirs.
|
||||
dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
|
||||
haveit=
|
||||
for x in $ltrpathdirs; do
|
||||
if test "X$x" = "X$dir"; then
|
||||
haveit=yes
|
||||
break
|
||||
fi
|
||||
done
|
||||
if test -z "$haveit"; then
|
||||
ltrpathdirs="$ltrpathdirs $dir"
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
-l*)
|
||||
dnl Handle this in the next round.
|
||||
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
|
||||
;;
|
||||
*.la)
|
||||
dnl Handle this in the next round. Throw away the .la's
|
||||
dnl directory; it is already contained in a preceding -L
|
||||
dnl option.
|
||||
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
|
||||
;;
|
||||
*)
|
||||
dnl Most likely an immediate library name.
|
||||
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep"
|
||||
LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
fi
|
||||
else
|
||||
dnl Didn't find the library; assume it is in the system directories
|
||||
dnl known to the linker and runtime loader. (All the system
|
||||
dnl directories known to the linker should also be known to the
|
||||
dnl runtime loader, otherwise the system is severely misconfigured.)
|
||||
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
|
||||
LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
done
|
||||
done
|
||||
if test "X$rpathdirs" != "X"; then
|
||||
if test -n "$acl_hardcode_libdir_separator"; then
|
||||
dnl Weird platform: only the last -rpath option counts, the user must
|
||||
dnl pass all path elements in one option. We can arrange that for a
|
||||
dnl single library, but not when more than one $LIBNAMEs are used.
|
||||
alldirs=
|
||||
for found_dir in $rpathdirs; do
|
||||
alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
|
||||
done
|
||||
dnl Note: acl_hardcode_libdir_flag_spec uses $libdir and $wl.
|
||||
acl_save_libdir="$libdir"
|
||||
libdir="$alldirs"
|
||||
eval flag=\"$acl_hardcode_libdir_flag_spec\"
|
||||
libdir="$acl_save_libdir"
|
||||
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
|
||||
else
|
||||
dnl The -rpath options are cumulative.
|
||||
for found_dir in $rpathdirs; do
|
||||
acl_save_libdir="$libdir"
|
||||
libdir="$found_dir"
|
||||
eval flag=\"$acl_hardcode_libdir_flag_spec\"
|
||||
libdir="$acl_save_libdir"
|
||||
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
|
||||
done
|
||||
fi
|
||||
fi
|
||||
if test "X$ltrpathdirs" != "X"; then
|
||||
dnl When using libtool, the option that works for both libraries and
|
||||
dnl executables is -R. The -R options are cumulative.
|
||||
for found_dir in $ltrpathdirs; do
|
||||
LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir"
|
||||
done
|
||||
fi
|
||||
popdef([P_A_C_K])
|
||||
popdef([PACKLIBS])
|
||||
popdef([PACKUP])
|
||||
popdef([PACK])
|
||||
popdef([NAME])
|
||||
])
|
||||
|
||||
dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR,
|
||||
dnl unless already present in VAR.
|
||||
dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes
|
||||
dnl contains two or three consecutive elements that belong together.
|
||||
AC_DEFUN([AC_LIB_APPENDTOVAR],
|
||||
[
|
||||
for element in [$2]; do
|
||||
haveit=
|
||||
for x in $[$1]; do
|
||||
AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
|
||||
if test "X$x" = "X$element"; then
|
||||
haveit=yes
|
||||
break
|
||||
fi
|
||||
done
|
||||
if test -z "$haveit"; then
|
||||
[$1]="${[$1]}${[$1]:+ }$element"
|
||||
fi
|
||||
done
|
||||
])
|
||||
|
||||
dnl For those cases where a variable contains several -L and -l options
|
||||
dnl referring to unknown libraries and directories, this macro determines the
|
||||
dnl necessary additional linker options for the runtime path.
|
||||
dnl AC_LIB_LINKFLAGS_FROM_LIBS([LDADDVAR], [LIBSVALUE], [USE-LIBTOOL])
|
||||
dnl sets LDADDVAR to linker options needed together with LIBSVALUE.
|
||||
dnl If USE-LIBTOOL evaluates to non-empty, linking with libtool is assumed,
|
||||
dnl otherwise linking without libtool is assumed.
|
||||
AC_DEFUN([AC_LIB_LINKFLAGS_FROM_LIBS],
|
||||
[
|
||||
AC_REQUIRE([AC_LIB_RPATH])
|
||||
AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
|
||||
$1=
|
||||
if test "$enable_rpath" != no; then
|
||||
if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
|
||||
dnl Use an explicit option to hardcode directories into the resulting
|
||||
dnl binary.
|
||||
rpathdirs=
|
||||
next=
|
||||
for opt in $2; do
|
||||
if test -n "$next"; then
|
||||
dir="$next"
|
||||
dnl No need to hardcode the standard /usr/lib.
|
||||
if test "X$dir" != "X/usr/$acl_libdirstem" \
|
||||
&& test "X$dir" != "X/usr/$acl_libdirstem2"; then
|
||||
rpathdirs="$rpathdirs $dir"
|
||||
fi
|
||||
next=
|
||||
else
|
||||
case $opt in
|
||||
-L) next=yes ;;
|
||||
-L*) dir=`echo "X$opt" | sed -e 's,^X-L,,'`
|
||||
dnl No need to hardcode the standard /usr/lib.
|
||||
if test "X$dir" != "X/usr/$acl_libdirstem" \
|
||||
&& test "X$dir" != "X/usr/$acl_libdirstem2"; then
|
||||
rpathdirs="$rpathdirs $dir"
|
||||
fi
|
||||
next= ;;
|
||||
*) next= ;;
|
||||
esac
|
||||
fi
|
||||
done
|
||||
if test "X$rpathdirs" != "X"; then
|
||||
if test -n ""$3""; then
|
||||
dnl libtool is used for linking. Use -R options.
|
||||
for dir in $rpathdirs; do
|
||||
$1="${$1}${$1:+ }-R$dir"
|
||||
done
|
||||
else
|
||||
dnl The linker is used for linking directly.
|
||||
if test -n "$acl_hardcode_libdir_separator"; then
|
||||
dnl Weird platform: only the last -rpath option counts, the user
|
||||
dnl must pass all path elements in one option.
|
||||
alldirs=
|
||||
for dir in $rpathdirs; do
|
||||
alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$dir"
|
||||
done
|
||||
acl_save_libdir="$libdir"
|
||||
libdir="$alldirs"
|
||||
eval flag=\"$acl_hardcode_libdir_flag_spec\"
|
||||
libdir="$acl_save_libdir"
|
||||
$1="$flag"
|
||||
else
|
||||
dnl The -rpath options are cumulative.
|
||||
for dir in $rpathdirs; do
|
||||
acl_save_libdir="$libdir"
|
||||
libdir="$dir"
|
||||
eval flag=\"$acl_hardcode_libdir_flag_spec\"
|
||||
libdir="$acl_save_libdir"
|
||||
$1="${$1}${$1:+ }$flag"
|
||||
done
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
AC_SUBST([$1])
|
||||
])
|
||||
@@ -1,224 +0,0 @@
|
||||
# lib-prefix.m4 serial 7 (gettext-0.18)
|
||||
dnl Copyright (C) 2001-2005, 2008-2010 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
dnl with or without modifications, as long as this notice is preserved.
|
||||
|
||||
dnl From Bruno Haible.
|
||||
|
||||
dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and
|
||||
dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't
|
||||
dnl require excessive bracketing.
|
||||
ifdef([AC_HELP_STRING],
|
||||
[AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])],
|
||||
[AC_DEFUN([AC_][LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])])
|
||||
|
||||
dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed
|
||||
dnl to access previously installed libraries. The basic assumption is that
|
||||
dnl a user will want packages to use other packages he previously installed
|
||||
dnl with the same --prefix option.
|
||||
dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate
|
||||
dnl libraries, but is otherwise very convenient.
|
||||
AC_DEFUN([AC_LIB_PREFIX],
|
||||
[
|
||||
AC_BEFORE([$0], [AC_LIB_LINKFLAGS])
|
||||
AC_REQUIRE([AC_PROG_CC])
|
||||
AC_REQUIRE([AC_CANONICAL_HOST])
|
||||
AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
|
||||
AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
|
||||
dnl By default, look in $includedir and $libdir.
|
||||
use_additional=yes
|
||||
AC_LIB_WITH_FINAL_PREFIX([
|
||||
eval additional_includedir=\"$includedir\"
|
||||
eval additional_libdir=\"$libdir\"
|
||||
])
|
||||
AC_LIB_ARG_WITH([lib-prefix],
|
||||
[ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib
|
||||
--without-lib-prefix don't search for libraries in includedir and libdir],
|
||||
[
|
||||
if test "X$withval" = "Xno"; then
|
||||
use_additional=no
|
||||
else
|
||||
if test "X$withval" = "X"; then
|
||||
AC_LIB_WITH_FINAL_PREFIX([
|
||||
eval additional_includedir=\"$includedir\"
|
||||
eval additional_libdir=\"$libdir\"
|
||||
])
|
||||
else
|
||||
additional_includedir="$withval/include"
|
||||
additional_libdir="$withval/$acl_libdirstem"
|
||||
fi
|
||||
fi
|
||||
])
|
||||
if test $use_additional = yes; then
|
||||
dnl Potentially add $additional_includedir to $CPPFLAGS.
|
||||
dnl But don't add it
|
||||
dnl 1. if it's the standard /usr/include,
|
||||
dnl 2. if it's already present in $CPPFLAGS,
|
||||
dnl 3. if it's /usr/local/include and we are using GCC on Linux,
|
||||
dnl 4. if it doesn't exist as a directory.
|
||||
if test "X$additional_includedir" != "X/usr/include"; then
|
||||
haveit=
|
||||
for x in $CPPFLAGS; do
|
||||
AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
|
||||
if test "X$x" = "X-I$additional_includedir"; then
|
||||
haveit=yes
|
||||
break
|
||||
fi
|
||||
done
|
||||
if test -z "$haveit"; then
|
||||
if test "X$additional_includedir" = "X/usr/local/include"; then
|
||||
if test -n "$GCC"; then
|
||||
case $host_os in
|
||||
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
|
||||
esac
|
||||
fi
|
||||
fi
|
||||
if test -z "$haveit"; then
|
||||
if test -d "$additional_includedir"; then
|
||||
dnl Really add $additional_includedir to $CPPFLAGS.
|
||||
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
dnl Potentially add $additional_libdir to $LDFLAGS.
|
||||
dnl But don't add it
|
||||
dnl 1. if it's the standard /usr/lib,
|
||||
dnl 2. if it's already present in $LDFLAGS,
|
||||
dnl 3. if it's /usr/local/lib and we are using GCC on Linux,
|
||||
dnl 4. if it doesn't exist as a directory.
|
||||
if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
|
||||
haveit=
|
||||
for x in $LDFLAGS; do
|
||||
AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
|
||||
if test "X$x" = "X-L$additional_libdir"; then
|
||||
haveit=yes
|
||||
break
|
||||
fi
|
||||
done
|
||||
if test -z "$haveit"; then
|
||||
if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
|
||||
if test -n "$GCC"; then
|
||||
case $host_os in
|
||||
linux*) haveit=yes;;
|
||||
esac
|
||||
fi
|
||||
fi
|
||||
if test -z "$haveit"; then
|
||||
if test -d "$additional_libdir"; then
|
||||
dnl Really add $additional_libdir to $LDFLAGS.
|
||||
LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
])
|
||||
|
||||
dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix,
|
||||
dnl acl_final_exec_prefix, containing the values to which $prefix and
|
||||
dnl $exec_prefix will expand at the end of the configure script.
|
||||
AC_DEFUN([AC_LIB_PREPARE_PREFIX],
|
||||
[
|
||||
dnl Unfortunately, prefix and exec_prefix get only finally determined
|
||||
dnl at the end of configure.
|
||||
if test "X$prefix" = "XNONE"; then
|
||||
acl_final_prefix="$ac_default_prefix"
|
||||
else
|
||||
acl_final_prefix="$prefix"
|
||||
fi
|
||||
if test "X$exec_prefix" = "XNONE"; then
|
||||
acl_final_exec_prefix='${prefix}'
|
||||
else
|
||||
acl_final_exec_prefix="$exec_prefix"
|
||||
fi
|
||||
acl_save_prefix="$prefix"
|
||||
prefix="$acl_final_prefix"
|
||||
eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
|
||||
prefix="$acl_save_prefix"
|
||||
])
|
||||
|
||||
dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the
|
||||
dnl variables prefix and exec_prefix bound to the values they will have
|
||||
dnl at the end of the configure script.
|
||||
AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX],
|
||||
[
|
||||
acl_save_prefix="$prefix"
|
||||
prefix="$acl_final_prefix"
|
||||
acl_save_exec_prefix="$exec_prefix"
|
||||
exec_prefix="$acl_final_exec_prefix"
|
||||
$1
|
||||
exec_prefix="$acl_save_exec_prefix"
|
||||
prefix="$acl_save_prefix"
|
||||
])
|
||||
|
||||
dnl AC_LIB_PREPARE_MULTILIB creates
|
||||
dnl - a variable acl_libdirstem, containing the basename of the libdir, either
|
||||
dnl "lib" or "lib64" or "lib/64",
|
||||
dnl - a variable acl_libdirstem2, as a secondary possible value for
|
||||
dnl acl_libdirstem, either the same as acl_libdirstem or "lib/sparcv9" or
|
||||
dnl "lib/amd64".
|
||||
AC_DEFUN([AC_LIB_PREPARE_MULTILIB],
|
||||
[
|
||||
dnl There is no formal standard regarding lib and lib64.
|
||||
dnl On glibc systems, the current practice is that on a system supporting
|
||||
dnl 32-bit and 64-bit instruction sets or ABIs, 64-bit libraries go under
|
||||
dnl $prefix/lib64 and 32-bit libraries go under $prefix/lib. We determine
|
||||
dnl the compiler's default mode by looking at the compiler's library search
|
||||
dnl path. If at least one of its elements ends in /lib64 or points to a
|
||||
dnl directory whose absolute pathname ends in /lib64, we assume a 64-bit ABI.
|
||||
dnl Otherwise we use the default, namely "lib".
|
||||
dnl On Solaris systems, the current practice is that on a system supporting
|
||||
dnl 32-bit and 64-bit instruction sets or ABIs, 64-bit libraries go under
|
||||
dnl $prefix/lib/64 (which is a symlink to either $prefix/lib/sparcv9 or
|
||||
dnl $prefix/lib/amd64) and 32-bit libraries go under $prefix/lib.
|
||||
AC_REQUIRE([AC_CANONICAL_HOST])
|
||||
acl_libdirstem=lib
|
||||
acl_libdirstem2=
|
||||
case "$host_os" in
|
||||
solaris*)
|
||||
dnl See Solaris 10 Software Developer Collection > Solaris 64-bit Developer's Guide > The Development Environment
|
||||
dnl <http://docs.sun.com/app/docs/doc/816-5138/dev-env?l=en&a=view>.
|
||||
dnl "Portable Makefiles should refer to any library directories using the 64 symbolic link."
|
||||
dnl But we want to recognize the sparcv9 or amd64 subdirectory also if the
|
||||
dnl symlink is missing, so we set acl_libdirstem2 too.
|
||||
AC_CACHE_CHECK([for 64-bit host], [gl_cv_solaris_64bit],
|
||||
[AC_EGREP_CPP([sixtyfour bits], [
|
||||
#ifdef _LP64
|
||||
sixtyfour bits
|
||||
#endif
|
||||
], [gl_cv_solaris_64bit=yes], [gl_cv_solaris_64bit=no])
|
||||
])
|
||||
if test $gl_cv_solaris_64bit = yes; then
|
||||
acl_libdirstem=lib/64
|
||||
case "$host_cpu" in
|
||||
sparc*) acl_libdirstem2=lib/sparcv9 ;;
|
||||
i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
|
||||
esac
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
|
||||
if test -n "$searchpath"; then
|
||||
acl_save_IFS="${IFS= }"; IFS=":"
|
||||
for searchdir in $searchpath; do
|
||||
if test -d "$searchdir"; then
|
||||
case "$searchdir" in
|
||||
*/lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
|
||||
*/../ | */.. )
|
||||
# Better ignore directories of this form. They are misleading.
|
||||
;;
|
||||
*) searchdir=`cd "$searchdir" && pwd`
|
||||
case "$searchdir" in
|
||||
*/lib64 ) acl_libdirstem=lib64 ;;
|
||||
esac ;;
|
||||
esac
|
||||
fi
|
||||
done
|
||||
IFS="$acl_save_IFS"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
|
||||
])
|
||||
@@ -1,107 +0,0 @@
|
||||
/* config.h. Generated by configure. */
|
||||
/* config.h.in. Generated from configure.ac by autoheader. */
|
||||
|
||||
#ifndef _MSC_VER
|
||||
#include "cygconfig.h"
|
||||
#else
|
||||
|
||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||
#define HAVE_DLFCN_H 1
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#define HAVE_INTTYPES_H 1
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#define HAVE_MEMORY_H 1
|
||||
|
||||
/* Define to 1 if you have the <pwd.h> header file. */
|
||||
/* #undef HAVE_PWD_H 1 */
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#define HAVE_STDINT_H 1
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#define HAVE_STDLIB_H 1
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#define HAVE_STRINGS_H 1
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#define HAVE_STRING_H 1
|
||||
|
||||
/* Define to 1 if you have the `strlcpy' function. */
|
||||
/* #undef HAVE_STRLCPY */
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#define HAVE_SYS_STAT_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/time.h> header file. */
|
||||
/* #undef HAVE_SYS_TIME_H */
|
||||
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#define HAVE_SYS_TYPES_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/wait.h> header file. */
|
||||
/* #undef HAVE_SYS_WAIT_H */
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
/* #undef HAVE_UNISTD_H */
|
||||
|
||||
/* Name of package */
|
||||
#define PACKAGE "eglib"
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#define PACKAGE_BUGREPORT ""
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#define PACKAGE_NAME ""
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#define PACKAGE_STRING ""
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#define PACKAGE_TARNAME ""
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#define PACKAGE_VERSION ""
|
||||
|
||||
/* The size of a `int', as computed by sizeof. */
|
||||
#define SIZEOF_INT 4
|
||||
|
||||
/* The size of a `void *', as computed by sizeof. */
|
||||
#define SIZEOF_VOID_P 4
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#define STDC_HEADERS 1
|
||||
|
||||
/* Version number of package */
|
||||
#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 4caa71212c.
Vendored
+1
-1
Submodule external/binary-reference-assemblies updated: 6c77197318...e048fe4a88.
Vendored
+1
-1
Submodule external/bockbuild updated: 512ba41a94...1908d43ec6.
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...dfee11e80d.
Vendored
+1
-1
Submodule external/corefx updated: f7ed7c88fe...e327d2855e.
Vendored
+1
-1
Submodule external/corert updated: d87c966d80...aa64b376c1.
Vendored
+1
-1
Submodule external/ikdasm updated: e4deabf61c...465c081555.
Vendored
+1
-1
Submodule external/ikvm updated: 367864ef81...847e05fced.
Vendored
+1
-1
Submodule external/linker updated: e4d9784ac3...84d37424cd.
Vendored
+1
-1
Submodule external/nuget-buildtasks updated: 04bdab55d8...b2c30bc81b.
Vendored
+1
-1
Submodule external/nunit-lite updated: 690603bea9...b7776829bb.
Vendored
+1
-1
Submodule external/roslyn-binaries updated: 69ce5c6b08...00da53c474.
+1
Submodule external/xunit-binaries added at c5a907be25.
+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
|
||||
|
||||
@@ -93,7 +93,6 @@ GC_API GC_PTR (*GC_oom_fn) GC_PROTO((size_t bytes_requested));
|
||||
/* pointer to a previously allocated heap */
|
||||
/* object. */
|
||||
|
||||
// Keep somewhat in sync with mono/metadata/profiler.h:enum MonoGCEvent
|
||||
typedef enum {
|
||||
GC_EVENT_START,
|
||||
GC_EVENT_MARK_START,
|
||||
|
||||
@@ -733,7 +733,7 @@
|
||||
# if defined(__GLIBC__)&& __GLIBC__>=2
|
||||
# define SEARCH_FOR_DATA_START
|
||||
# else /* !GLIBC2 */
|
||||
# if defined(PLATFORM_ANDROID)
|
||||
# if defined(HOST_ANDROID)
|
||||
# define __environ environ
|
||||
# endif
|
||||
extern char **__environ;
|
||||
@@ -1965,7 +1965,7 @@
|
||||
# include <features.h>
|
||||
# if defined(__GLIBC__) && __GLIBC__ >= 2
|
||||
# define SEARCH_FOR_DATA_START
|
||||
# elif defined(PLATFORM_ANDROID)
|
||||
# elif defined(HOST_ANDROID)
|
||||
# define SEARCH_FOR_DATA_START
|
||||
# else
|
||||
extern char **__environ;
|
||||
|
||||
@@ -45,7 +45,7 @@ typedef struct GC_Thread_Rep {
|
||||
/* guaranteed to be dead, but we may */
|
||||
/* not yet have registered the join.) */
|
||||
pthread_t id;
|
||||
#ifdef PLATFORM_ANDROID
|
||||
#ifdef HOST_ANDROID
|
||||
pid_t kernel_id;
|
||||
#endif
|
||||
/* Extra bookkeeping information the stopping code uses */
|
||||
|
||||
+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
|
||||
|
||||
@@ -337,7 +337,7 @@ void GC_push_all_stacks()
|
||||
pthread_t GC_stopping_thread;
|
||||
int GC_stopping_pid;
|
||||
|
||||
#ifdef PLATFORM_ANDROID
|
||||
#ifdef HOST_ANDROID
|
||||
static
|
||||
int android_thread_kill(pid_t tid, int sig)
|
||||
{
|
||||
@@ -379,7 +379,7 @@ int GC_suspend_all()
|
||||
GC_printf1("Sending suspend signal to 0x%lx\n", p -> id);
|
||||
#endif
|
||||
|
||||
#ifndef PLATFORM_ANDROID
|
||||
#ifndef HOST_ANDROID
|
||||
result = pthread_kill(p -> id, SIG_SUSPEND);
|
||||
#else
|
||||
result = android_thread_kill(p -> kernel_id, SIG_SUSPEND);
|
||||
@@ -658,7 +658,7 @@ static void pthread_start_world()
|
||||
GC_printf1("Sending restart signal to 0x%lx\n", p -> id);
|
||||
#endif
|
||||
|
||||
#ifndef PLATFORM_ANDROID
|
||||
#ifndef HOST_ANDROID
|
||||
result = pthread_kill(p -> id, SIG_THR_RESTART);
|
||||
#else
|
||||
result = android_thread_kill(p -> kernel_id, SIG_THR_RESTART);
|
||||
|
||||
@@ -764,7 +764,7 @@ GC_thread GC_new_thread(pthread_t id)
|
||||
}
|
||||
if (result == 0) return(0);
|
||||
result -> id = id;
|
||||
#ifdef PLATFORM_ANDROID
|
||||
#ifdef HOST_ANDROID
|
||||
result -> kernel_id = gettid();
|
||||
#endif
|
||||
result -> next = GC_threads[hv];
|
||||
|
||||
+2
-1
@@ -58,6 +58,7 @@ man_MANS = \
|
||||
mono-configuration-crypto.1 \
|
||||
ccrewrite.1 \
|
||||
cccheck.1 \
|
||||
mono-symbolicate.1
|
||||
mono-symbolicate.1 \
|
||||
mono-profilers.1
|
||||
|
||||
EXTRA_DIST = $(man_MANS)
|
||||
+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
|
||||
|
||||
@@ -4,26 +4,27 @@
|
||||
..
|
||||
.TH mcs 1 "6 January 2001"
|
||||
.SH NAME
|
||||
mcs \- Mono C# Compiler
|
||||
mcs \- Turbo C# Compiler
|
||||
.SH SYNOPSIS
|
||||
.B mcs
|
||||
[option] [source-files]
|
||||
.SH DESCRIPTION
|
||||
mcs is the Mono C# compiler, an implementation of the ECMA-334
|
||||
language specification. You can pass one or more options to drive the
|
||||
compiler, and a set of source files. Extra options or arguments can
|
||||
be provided in a response file. Response files are referenced by
|
||||
prepending the @ symbol to the response file name.
|
||||
mcs is the Turbo C# compiler (also known as the Mono C# compiler), it
|
||||
is an implementation of the ECMA-334 language specification. You can
|
||||
pass one or more options to drive the compiler, and a set of source
|
||||
files. Extra options or arguments can be provided in a response file.
|
||||
Response files are referenced by prepending the @ symbol to the
|
||||
response file name.
|
||||
.PP
|
||||
The
|
||||
.I mcs
|
||||
compiler is used to compile against the latest Mono Base Class Library
|
||||
version and fully implements C# 1.0, 2.0, 3.0, 4.0, 5.0 and 6.0
|
||||
specifications.
|
||||
specifications with partial support for C# 7.0.
|
||||
.PP
|
||||
See the section on packages for more information.
|
||||
.PP
|
||||
The Mono C# compiler accepts the same command line options that the
|
||||
The Turbo C# compiler accepts the same command line options that the
|
||||
Microsoft C# compiler does. Those options can start with a slash or a
|
||||
dash (/checked is the same as -checked). Additionally some GNU-like
|
||||
options are supported, those begin with "--". All MCS-specific flags
|
||||
@@ -37,13 +38,13 @@ for partial compilation. To achieve the benefits of partial
|
||||
compilation, you should compile programs into their own assemblies,
|
||||
and later reference them with the "-r" flag.
|
||||
.PP
|
||||
The Mono C# compiler generates images (.exe files) that contain CIL
|
||||
The Turbo C# compiler generates images (.exe files) that contain CIL
|
||||
byte code that can be executed by any system that implements a Common
|
||||
Language Infrastructure virtual machine such as the Microsoft .NET
|
||||
runtime engine on Windows or the Mono runtime engine on Unix systems.
|
||||
Executables are not bound to a specific CPU or operating system.
|
||||
.PP
|
||||
The Mono C# compiler by default only references three assemblies:
|
||||
The Turbo C# compiler by default only references three assemblies:
|
||||
mscorlib.dll, System.dll and System.Xml.dll. If you want to
|
||||
reference extra libraries you must manually specify them using the
|
||||
-pkg: command line option or the -r: command line option.
|
||||
@@ -53,7 +54,7 @@ use the -pkg:dotnet command line option.
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
.I \-\-about
|
||||
Displays information about the Mono C# compiler
|
||||
Displays information about the Turbo C# compiler
|
||||
.TP
|
||||
.I \-\-addmodule:MODULE1[,MODULE2]
|
||||
Includes the specified modules in the resulting assembly. Modules are
|
||||
|
||||
+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
|
||||
|
||||
+35
-2
@@ -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
|
||||
@@ -177,7 +177,9 @@ same as for the compiler -lib: or -L flags.
|
||||
Embeds the dynamic library file pointed to by `PATH' and optionally
|
||||
give it the name `LIB' into the bundled executable. This is used to
|
||||
ship native library dependencies that are unpacked at startup and
|
||||
loaded from the runtime.
|
||||
loaded from the runtime. Multiple libraries should be specified in
|
||||
dependency order, where later ones on the command line depend on
|
||||
earlier ones.
|
||||
.TP
|
||||
.I "--lists-targets"
|
||||
Lists all of the available local cross compilation targets available
|
||||
@@ -186,6 +188,18 @@ as precompiled binaries on the Mono distribution server.
|
||||
.I "--local-targets"
|
||||
Lists all of the available local cross compilation targets.
|
||||
.TP
|
||||
.I "--cil-strip PATH"
|
||||
Provides a CIL stripper that mkbundle will use if able to.
|
||||
The intended use is to help reduce file size on AOT.
|
||||
.TP
|
||||
.I "--in-tree path/to/mono/source/root"
|
||||
Provides mkbundle with a mono source repository from which to pull the necessary headers for compilation.
|
||||
This allows mkbundle to run out of the project's source tree, useful for working with multiple runtimes and for
|
||||
testing without installing.
|
||||
.TP
|
||||
.I "--managed-linker PATH"
|
||||
Provides mkbundle access to a managed linker to preprocess the assemblies.
|
||||
.TP
|
||||
.I "--machine-config FILE"
|
||||
Uses the given FILE as the machine.config file for the generated
|
||||
application.
|
||||
@@ -306,6 +320,25 @@ causes it to statically link instead.
|
||||
Compresses the assemblies before embedding. This results in smaller
|
||||
executable files, but increases startup time and requires zlib to be
|
||||
installed on the target system.
|
||||
|
||||
.SH AOT Options
|
||||
These options support an mkbundle using AOT compilation with static linking. A native compiler
|
||||
toolchain is required.
|
||||
.TP
|
||||
.I "--aot-runtime PATH"
|
||||
Provide the path to the mono runtime to use for AOTing assemblies.
|
||||
.TP
|
||||
.I "--aot-dedup"
|
||||
(Experimental) Deduplicate AOT'ed methods based on a unique mangling of method names.
|
||||
.TP
|
||||
.I "--aot-mode MODE"
|
||||
MODE can be either "full" or "llvmonly" at this time.
|
||||
Currently, mkbundle supports three AOT modes. The default mode (this option unset)
|
||||
will AOT methods but will fall back on runtime codegen where it is much faster or offers
|
||||
a more full compatibility profile. The "full" setting will generate the necessary stubs to
|
||||
not require runtime code generation. The "llvmonly" setting does the same, but forces all codegen
|
||||
to go through the llvm backend.
|
||||
|
||||
.SH WINDOWS
|
||||
If you are using the old embedding on Windows systems, it it necessary
|
||||
to have Unix-like toolchain to be installed for \fImkbundle\fP to
|
||||
|
||||
+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
|
||||
|
||||
@@ -0,0 +1,375 @@
|
||||
.TH mono-profilers 1
|
||||
.SH NAME
|
||||
mono\-profilers \- Mono's bundled profiler modules
|
||||
.SH SYNOPSIS
|
||||
\fBmono\ \-\-profile=log\fR[:\fIoption\fR,...] \fIprogram.exe\fR [\fIargs\fR]...
|
||||
.PP
|
||||
\fBmono\ \-\-profile=coverage\fR[:\fIoption\fR,...] \fIprogram.exe\fR [\fIargs\fR]...
|
||||
.PP
|
||||
\fBmono\ \-\-profile=aot\fR[:\fIoption\fR,...] \fIprogram.exe\fR [\fIargs\fR]...
|
||||
.SH DESCRIPTION
|
||||
Mono ships with a few profiler modules that enable most typical
|
||||
profiling scenarios. This page describes each of them in the sections
|
||||
below.
|
||||
.SH LOG PROFILER
|
||||
The log profiler is Mono's general-purpose performance profiler. It
|
||||
can collect a wide variety of data that can be analyzed by tools such
|
||||
as \fBmprof\-report\fR(1) or the Xamarin Profiler.
|
||||
.PP
|
||||
By default, the log profiler writes its output to \fIoutput.mlpd\fR.
|
||||
Refer to the \fImono/profiler/log.h\fR file in the Mono source tree
|
||||
for documentation on the log profiler's file format.
|
||||
.PP
|
||||
A default invocation of the log profiler gathers only basic data:
|
||||
Metadata load and unload events, thread start and stop events,
|
||||
performance counter samples, exception throws, etc. Most users will
|
||||
want to enable some of the heavier features such as GC allocation
|
||||
recording, statistical sampling, heap snapshotting (heapshots), or
|
||||
method entry and exit instrumentation. See the \fBOptions\fR
|
||||
sub-section.
|
||||
.PP
|
||||
Note that, in most realistic scenarios, the log profiler will record
|
||||
a vast amount of data. This can lead to very large log files. (The
|
||||
\fBzip\fR and \fBreport\fR options can help deal with this.)
|
||||
.SS Options
|
||||
The log profiler supports the following options:
|
||||
.TP
|
||||
\fBhelp\fR
|
||||
Print usage instructions.
|
||||
.TP
|
||||
\fBoutput\fR=[\fI+\fR|\fI#\fR|\fI|\fR]\fIfile\fR
|
||||
Write log data to \fIfile\fR. The optional modifiers are:
|
||||
.RS
|
||||
.ne 8
|
||||
.TP
|
||||
\fB+\fR
|
||||
The program PID is appended to the file name. For example,
|
||||
\fBoutput=+out.mlpd\fR outputs to \fIout.mlpd.1234\fR if the PID is
|
||||
\fB1234\fR.
|
||||
.TP
|
||||
\fB#\fR
|
||||
\fIfile\fR is parsed as a file descriptor number, which is opened
|
||||
with \fBfdopen\fR(3). This is mainly useful in embedding scenarios.
|
||||
.TP
|
||||
\fB|\fR
|
||||
\fIfile\fR is treated as a program name. It will be started with
|
||||
\fBpopen\fR(3) and the log data will be piped to its standard input.
|
||||
.RE
|
||||
.TP
|
||||
\fBreport\fR
|
||||
Generate a report directly instead of writing the log data to a file.
|
||||
If this option is used together with the \fBoutput\fR option, the
|
||||
report will be written to the specified file instead of the log data.
|
||||
.TP
|
||||
\fBzip\fR
|
||||
Compress the output file with \fBgzip\fR(1).
|
||||
.TP
|
||||
\fBport\fR=\fIport\fR
|
||||
Use \fIport\fR to listen for command server connections. See the
|
||||
\fBCommand server\fR sub-section.
|
||||
.TP
|
||||
\fBnodefaults\fR
|
||||
Disables pre Mono 5.6 compatibility. In particular, this disables
|
||||
exception events and performance counter sampling by default. It also
|
||||
makes it so that GC move events won't be enabled by default when
|
||||
heapshots are enabled. To use this option, it must be the first
|
||||
option given to the log profiler.
|
||||
.IP
|
||||
This option will be the default in a future version of the log
|
||||
profiler.
|
||||
.TP
|
||||
[\fBno\fR]\fIevent\fR
|
||||
Enable or disable gathering data for \fIevent\fR, which can be one
|
||||
of:
|
||||
.RS
|
||||
.TP
|
||||
\fBexception\fR
|
||||
Exception throw and clause (\fBcatch\fR, \fBfinally\fR, etc)
|
||||
evaluation events. Enabled by default unless \fBnodefaults\fR is
|
||||
used.
|
||||
.TP
|
||||
\fBmonitor\fR
|
||||
Monitor lock contention, acquisition, and release events.
|
||||
.TP
|
||||
\fBgc\fR
|
||||
GC start, progress, stop, and resize events.
|
||||
.TP
|
||||
\fBgcalloc\fR
|
||||
GC allocation events.
|
||||
.TP
|
||||
\fBgcmove\fR
|
||||
GC move events.
|
||||
.TP
|
||||
\fBgcroot\fR
|
||||
GC root report events. Generated on every collection if enabled,
|
||||
unless \fBnodefaults\fR is used, in which case, they're only
|
||||
generated on heapshots.
|
||||
.TP
|
||||
\fBgchandle\fR
|
||||
GC handle creation and deletion events.
|
||||
.TP
|
||||
\fBfinalization\fR
|
||||
Object finalization events.
|
||||
.TP
|
||||
\fBcounter\fR
|
||||
Performance counter sample events. Enabled by default unless
|
||||
\fBnodefaults\fR is used.
|
||||
.TP
|
||||
\fBjit\fR
|
||||
JIT code buffer events.
|
||||
.TP
|
||||
\fBalloc\fR
|
||||
Alias for \fBgc\fR, \fBgcalloc\fR, and \fBgcmove\fR.
|
||||
.TP
|
||||
\fBlegacy\fR
|
||||
Alias for \fBexception\fR, \fBmonitor\fR, \fBgc\fR, \fBgcmove\fR,
|
||||
\fBgcroot\fR, \fBgchandle\fR, \fBfinalization\fR, and \fBcounter\fR.
|
||||
.RE
|
||||
.TP
|
||||
\fBsample\fR[\fB\-real\fR][=\fIfreq\fR]
|
||||
Enable statistical sampling. The default is to sample at a frequency
|
||||
of 100 Hz, but \fIfreq\fR can be used to override this.
|
||||
.IP
|
||||
By default, sampling uses process time (i.e., the more work a process
|
||||
does, the more samples are collected). The \fB-real\fR variant uses
|
||||
wall clock time instead. Wall clock time is better for programs that
|
||||
are I/O-bound.
|
||||
.TP
|
||||
\fBmaxsamples\fR=\fInum\fR
|
||||
Limit the number of reusable sample events to \fInum\fR allocations.
|
||||
A value of zero means no limit. By default, the value of this setting
|
||||
is based on the number of CPU cores. Some tinkering with this setting
|
||||
may be necessary for programs with an unusually high amount of
|
||||
threads.
|
||||
.TP
|
||||
\fBcalls\fR
|
||||
Enable method entry and exit instrumentation. This is an alternative
|
||||
to statistical sampling when you need more precise information. Note
|
||||
that this mode is extremely heavy and can slow most programs to a
|
||||
crawl.
|
||||
.TP
|
||||
\fBcallspec\fR=\fIspec\fR
|
||||
Limit method entry and exit instrumentation to methods matching the
|
||||
specified call spec. This uses the same syntax as the \fB--trace\fR
|
||||
option for \fBmono\fR(1), so refer to that page for more information.
|
||||
.TP
|
||||
\fBcalldepth\fR=\fInum\fR
|
||||
Limit method entry and exit event collection to a call depth of
|
||||
\fInum\fR.
|
||||
.TP
|
||||
\fBmaxframes\fR=\fInum\fR
|
||||
Limit backtraces in various events (including statistical samples) to
|
||||
\fInum\fR frames.
|
||||
.TP
|
||||
\fBheapshot\fR[=\fImode\fR]
|
||||
Enable heap snapshots. \fImode\fR, if given, can be one of:
|
||||
.RS
|
||||
.TP
|
||||
\fBondemand\fR
|
||||
Only perform a heapshot when receiving a command via the command
|
||||
server or when triggered through the managed library.
|
||||
.TP
|
||||
\fInum\fR\fBgc\fR
|
||||
Perform a heapshot on every \fInum\fR collections of the major
|
||||
generation.
|
||||
.TP
|
||||
\fInum\fR\fBms\fR
|
||||
Perform a heapshot on a major generation collection if \fInum\fR
|
||||
milliseconds have passed since the last heapshot.
|
||||
.RE
|
||||
.IP
|
||||
If \fImode\fR is not given, a heapshot will be performed on every
|
||||
collection of the major generation.
|
||||
.TP
|
||||
\fBheapshot-on-shutdown\fR
|
||||
In addition to any other heapshot settings, also perform a heapshot
|
||||
on runtime shutdown.
|
||||
.TP
|
||||
\fBdebug\fR
|
||||
Print detailed debugging information. Most users should not use this
|
||||
option.
|
||||
.SS Command server
|
||||
The log profiler features a simple command server that currently is
|
||||
only used to trigger manual heapshots (typcally when using the
|
||||
on-demand mode, but also usable with the other modes). A random port
|
||||
will be used to listen for connections unless the \fBport\fR option
|
||||
is used. To trigger a heapshot, open a TCP connection to the command
|
||||
server and send the C string \fB"heapshot\\n"\fR.
|
||||
.PP
|
||||
The command server supports multiple simultaneous connections.
|
||||
.SS Managed library
|
||||
The log profiler comes with a managed library called
|
||||
\fBMono.Profiler.Log\fR. This library allows easily reading log files
|
||||
in managed code (e.g., C#) as well as interacting with the profiler
|
||||
at run-time.
|
||||
.PP
|
||||
With the ability to easily read log files, users can write all sorts
|
||||
of interesting analyses that might not be provided by the standard
|
||||
tools (e.g., \fBmprof\-report\fR(1)).
|
||||
.PP
|
||||
The \fBLogProfiler\fR class allows users to reconfigure profiler
|
||||
settings at run-time. For example, certain event types can be toggled
|
||||
on or off, the mode and frequency of heapshots and sampling can be
|
||||
changed, etc. Heapshots can also be triggered manually.
|
||||
.PP
|
||||
To use this library, simply pass \fB\-r:Mono.Profiler.Log\fR when
|
||||
compiling your code.
|
||||
.SS Example
|
||||
Collect GC allocation and sampling data for a program, then generate
|
||||
a report:
|
||||
.PP
|
||||
.nf
|
||||
.RS
|
||||
mono \-\-profile=log:alloc,sample program.exe
|
||||
mprof\-report output.mlpd
|
||||
.RE
|
||||
.fi
|
||||
.PP
|
||||
Perform a heapshot on every 5th collection and generate a report
|
||||
directly:
|
||||
.PP
|
||||
.nf
|
||||
.RS
|
||||
mono \-\-profile=log:heapshot=5gc,report program.exe
|
||||
.RE
|
||||
.fi
|
||||
.PP
|
||||
.SH COVERAGE PROFILER
|
||||
The code coverage profiler collects information about how often code
|
||||
paths are executed. This is done by instrumenting JIT-compiled code
|
||||
at all sequence points. On program exit, the coverage profiler
|
||||
collects all execution count information and outputs it to an XML
|
||||
file. The main use case for the coverage profiler is unit testing: By
|
||||
running unit test suites with the coverage profiler, it is possible
|
||||
to determine whether the unit tests actually cover all the code that
|
||||
they should.
|
||||
.PP
|
||||
By default, the coverage profiler writes its output to
|
||||
\fIcoverage.xml\fR. Refer to the \fImono/profiler/coverage.c\fR file
|
||||
in the Mono source tree for documentation on the schema.
|
||||
.PP
|
||||
Please note that the coverage profiler currently does not support
|
||||
instrumenting AOT-compiled code. When collecting coverage data, one
|
||||
may wish to run Mono with the \fB-O=-aot\fR option to disable loading
|
||||
AOT-compiled code.
|
||||
.SS Options
|
||||
The coverage profiler supports the following options:
|
||||
.TP
|
||||
\fBhelp\fR
|
||||
Print usage instructions.
|
||||
.TP
|
||||
\fBoutput\fR=[\fI+\fR|\fI#\fR|\fI|\fR]\fIfile\fR
|
||||
Write coverage data to \fIfile\fR. The optional modifiers are:
|
||||
.RS
|
||||
.ne 8
|
||||
.TP
|
||||
\fB+\fR
|
||||
The program PID is appended to the file name. For example,
|
||||
\fBoutput=+cov.xml\fR outputs to \fIcov.xml.1234\fR if the PID is
|
||||
\fB1234\fR.
|
||||
.TP
|
||||
\fB#\fR
|
||||
\fIfile\fR is parsed as a file descriptor number, which is opened
|
||||
with \fBfdopen\fR(3). This is mainly useful in embedding scenarios.
|
||||
.TP
|
||||
\fB|\fR
|
||||
\fIfile\fR is treated as a program name. It will be started with
|
||||
\fBpopen\fR(3) and the coverage data will be piped to its standard
|
||||
input.
|
||||
.RE
|
||||
.TP
|
||||
\fBcovfilter-file\fR=\fIfile\fR
|
||||
Supply a coverage filter file. This option can be given multiple
|
||||
times. See the \fBFilter files\fR sub-section.
|
||||
.SS Filter files
|
||||
Filter files can be used to pick and choose which types should be
|
||||
considered for coverage instrumentation. A filter file consists of a
|
||||
series of lines of the form:
|
||||
.PP
|
||||
.nf
|
||||
.RS
|
||||
\fB+\fR|\fB\-\fR\fB[\fR\fIimage_name\fR\fB]\fR\fItype_name_prefix\fR
|
||||
.RE
|
||||
.fi
|
||||
.PP
|
||||
Here, \fIimage_name\fR is something like \fBmscorlib\fR.
|
||||
\fItype_name_prefix\fR can be something like \fBSystem.Int32\fR for
|
||||
a specific type or \fBSystem.App\fR to pick all types starting with
|
||||
\fBApp\fR in the \fBSystem\fR namespace.
|
||||
.PP
|
||||
Lines starting with \fB+\fR indicate that a type should be
|
||||
instrumented for coverage, whereas lines starting with \fB\-\fR
|
||||
indicate the opposite. Lines starting with \fB+\fR always override
|
||||
lines starting with \fB\-\fR regardless of the order they appear in.
|
||||
.PP
|
||||
Lines not starting with either character are ignored. This can be
|
||||
used to write comments. For example, this is a valid file:
|
||||
.PP
|
||||
.nf
|
||||
.RS
|
||||
# Ignore coverage in network-related code, except HTTP client code.
|
||||
-[MyProgram]MyProgram.Net
|
||||
+[MyProgram]MyProgram.Net.Http.HttpClient
|
||||
.RE
|
||||
.fi
|
||||
.SS Example
|
||||
Coverage data for a program can be collected like this:
|
||||
.PP
|
||||
.nf
|
||||
.RS
|
||||
mono \-O=\-aot \-\-profile=coverage:output=cov.xml program.exe
|
||||
.RE
|
||||
.fi
|
||||
.PP
|
||||
\fIcov.xml\fR will now contain the coverage data.
|
||||
.SH AOT PROFILER
|
||||
The AOT profiler will record which generic instantiations a program
|
||||
makes use of and save the information to a specified file. This data
|
||||
can then be used by the AOT compiler to compile those generic
|
||||
instantiations ahead of time to reduce program startup time.
|
||||
.PP
|
||||
By default, the AOT profiler writes its output to
|
||||
\fIoutput.aotprofile\fR. Refer to the \fImono/profiler/aot.h\fR file
|
||||
in the Mono source tree for documentation on the AOT profiler's file
|
||||
format.
|
||||
.SS Options
|
||||
The AOT profiler supports the following options:
|
||||
.TP
|
||||
\fBhelp\fR
|
||||
Print usage instructions.
|
||||
.TP
|
||||
\fBoutput\fR=[\fI+\fR|\fI#\fR|\fI|\fR]\fIfile\fR
|
||||
Write output data to \fIfile\fR. The optional modifiers are:
|
||||
.RS
|
||||
.ne 8
|
||||
.TP
|
||||
\fB+\fR
|
||||
The program PID is appended to the file name. For example,
|
||||
\fBoutput=+out.aotprofile\fR outputs to \fIout.aotprofile.1234\fR if
|
||||
the PID is \fB1234\fR.
|
||||
.TP
|
||||
\fB#\fR
|
||||
\fIfile\fR is parsed as a file descriptor number, which is opened
|
||||
with \fBfdopen\fR(3). This is mainly useful in embedding scenarios.
|
||||
.TP
|
||||
\fB|\fR
|
||||
\fIfile\fR is treated as a program name. It will be started with
|
||||
\fBpopen\fR(3) and the log data will be piped to its standard input.
|
||||
.RE
|
||||
.TP
|
||||
\fBverbose\fR
|
||||
Print detailed debugging information. Most users should not use this
|
||||
option.
|
||||
.SS Example
|
||||
A profile can be collected and used like this:
|
||||
.PP
|
||||
.nf
|
||||
.RS
|
||||
mono \-\-profile=aot:output=program.aotprofile program.exe
|
||||
mono \-\-aot=profile=program.aotprofile program.exe
|
||||
mono program.exe
|
||||
.RE
|
||||
.fi
|
||||
.PP
|
||||
.SH SEE ALSO
|
||||
\fBmono\fR(1), \fBmprof\-report\fR(1)
|
||||
+1
-6
@@ -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
|
||||
@@ -26,11 +26,6 @@ and execution can be resumed by sending the SIGUSR2 signal. The
|
||||
service can be cleanly shutdown by sending the SIGTERM signal to the
|
||||
process.
|
||||
.PP
|
||||
Mono programs started with mono-service run with the
|
||||
.B MONO_DISABLE_SHM
|
||||
variable set. This means that certain Mono features that depend on
|
||||
it are not available to services.
|
||||
.PP
|
||||
The following options can be used to control the service:
|
||||
.TP
|
||||
.I "-d:DIRECTORY"
|
||||
|
||||
+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
|
||||
|
||||
+264
-258
@@ -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,80 @@ 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.
|
||||
.I dedup
|
||||
Each AOT module will typically contain the code for inflated methods and wrappers that
|
||||
are called by code in that module. In dedup mode, we identify and skip compiling all of those
|
||||
methods. When using this mode with fullaot, dedup-include is required or these methods will
|
||||
remain missing.
|
||||
.TP
|
||||
.I dedup-include=[filename]
|
||||
In dedup-include mode, we are in the pass of compilation where we compile the methods
|
||||
that we had previously skipped. All of them are emitted into the assembly that is passed
|
||||
as this option. We consolidate the many duplicate skipped copies of the same method into one.
|
||||
.TP
|
||||
.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 +222,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 +237,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 +261,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 \fBAOT profiler\fR sub-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 \fBAOT profiler\fR sub-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 +283,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 +311,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 +323,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 +362,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 +394,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 +420,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 +455,19 @@ will switch to '/bin/mono64' iff '/bin/mono' is a 32-bit build).
|
||||
\fB--help\fR, \fB-h\fR
|
||||
Displays usage instructions.
|
||||
.TP
|
||||
\fB--interpreter\fR
|
||||
The Mono runtime will use its interpreter to execute a given assembly.
|
||||
The interpreter is usually slower than the JIT, but it can be useful on
|
||||
platforms where code generation at runtime is not allowed.
|
||||
.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
|
||||
@@ -524,14 +641,12 @@ platforms, and only when using gdb 7.0 or later.
|
||||
.ne
|
||||
.RE
|
||||
.TP
|
||||
\fB--profile[=profiler[:profiler_args]]\fR
|
||||
Turns on profiling. For more information about profiling applications
|
||||
and code coverage see the sections "PROFILING" and "CODE COVERAGE"
|
||||
below.
|
||||
.TP
|
||||
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.
|
||||
\fB\-\-profile\fR[=\fIprofiler\fR[:\fIprofiler_args\fR]]\fR
|
||||
Loads a profiler module with the given arguments. For more information,
|
||||
see the \fBPROFILING\fR section.
|
||||
.Sp
|
||||
This option can be used multiple times; each time will load an additional
|
||||
profiler module.
|
||||
.TP
|
||||
\fB--trace[=expression]\fR
|
||||
Shows method names as they are invoked. By default all methods are
|
||||
@@ -609,7 +724,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
|
||||
@@ -710,169 +825,81 @@ create its own threads and return after invocation.
|
||||
This support allows for example debugging applications by having the
|
||||
csharp shell attach to running processes.
|
||||
.SH PROFILING
|
||||
The mono runtime includes a profiler that can be used to explore
|
||||
various performance related problems in your application. The
|
||||
profiler is activated by passing the --profile command line argument
|
||||
to the Mono runtime, the format is:
|
||||
.nf
|
||||
|
||||
--profile[=profiler[:profiler_args]]
|
||||
|
||||
.fi
|
||||
Mono has a built-in profiler called 'default' (and is also the default
|
||||
if no arguments are specified), but developers can write custom
|
||||
profilers, see the section "CUSTOM PROFILERS" for more details.
|
||||
The Mono runtime includes a profiler API that dynamically loaded
|
||||
profiler modules and embedders can use to collect performance-related
|
||||
data about an application. Profiler modules are loaded by passing the
|
||||
\fB\-\-profile\fR command line argument to the Mono runtime.
|
||||
.PP
|
||||
If a
|
||||
.I profiler
|
||||
is not specified, the default profiler is used.
|
||||
.Sp
|
||||
The
|
||||
.I profiler_args
|
||||
is a profiler-specific string of options for the profiler itself.
|
||||
.Sp
|
||||
The default profiler accepts the following options 'alloc' to profile
|
||||
memory consumption by the application; 'time' to profile the time
|
||||
spent on each routine; 'jit' to collect time spent JIT-compiling methods
|
||||
and 'stat' to perform sample statistical profiling.
|
||||
If no options are provided the default is 'alloc,time,jit'.
|
||||
.PP
|
||||
By default the
|
||||
profile data is printed to stdout: to change this, use the 'file=filename'
|
||||
option to output the data to filename.
|
||||
.Sp
|
||||
For example:
|
||||
.nf
|
||||
|
||||
mono --profile program.exe
|
||||
|
||||
.fi
|
||||
.Sp
|
||||
That will run the program with the default profiler and will do time
|
||||
and allocation profiling.
|
||||
.Sp
|
||||
.nf
|
||||
|
||||
mono --profile=default:stat,alloc,file=prof.out program.exe
|
||||
|
||||
.fi
|
||||
Will do sample statistical profiling and allocation profiling on
|
||||
program.exe. The profile data is put in prof.out.
|
||||
.Sp
|
||||
Note that the statistical profiler has a very low overhead and should
|
||||
be the preferred profiler to use (for better output use the full path
|
||||
to the mono binary when running and make sure you have installed the
|
||||
addr2line utility that comes from the binutils package).
|
||||
.SH LOG PROFILER
|
||||
This is the most advanced profiler.
|
||||
.PP
|
||||
The Mono \f[I]log\f[] profiler can be used to collect a lot of
|
||||
information about a program running in the Mono runtime.
|
||||
This data can be used (both while the process is running and later)
|
||||
to do analyses of the program behaviour, determine resource usage,
|
||||
performance issues or even look for particular execution patterns.
|
||||
Mono ships with a few profiler modules, of which the \fBlog\fR profiler
|
||||
is the most feature-rich. It is also the default profiler if the
|
||||
\fIprofiler\fR argument is not given, or if \fBdefault\fR is given.
|
||||
It is possible to write your own profiler modules; see the
|
||||
\fBCustom profilers\fR sub-section.
|
||||
.SS Log profiler
|
||||
The log profiler can be used to collect a lot of information about
|
||||
a program running in the Mono runtime. This data can be used (both
|
||||
while the process is running and later) to do analyses of the
|
||||
program behavior, determine resource usage, performance issues or
|
||||
even look for particular execution patterns.
|
||||
.PP
|
||||
This is accomplished by logging the events provided by the Mono
|
||||
runtime through the profiling interface and periodically writing
|
||||
them to a file which can be later inspected with the mprof-report(1)
|
||||
tool.
|
||||
runtime through the profiler API and periodically writing them to a
|
||||
file which can later be inspected with the \fBmprof\-report\fR(1)
|
||||
tool.
|
||||
.PP
|
||||
More information about how to use the log profiler is available on the
|
||||
mprof-report(1) page.
|
||||
.SH CUSTOM PROFILERS
|
||||
Mono provides a mechanism for loading other profiling modules which in
|
||||
the form of shared libraries. These profiling modules can hook up to
|
||||
various parts of the Mono runtime to gather information about the code
|
||||
being executed.
|
||||
More information about how to use the log profiler is available on
|
||||
the \fBmono\-profilers\fR(1) page, under the \fBLOG PROFILER\fR
|
||||
section, as well as the \fBmprof\-report\fR(1) page.
|
||||
.SS Coverage profiler
|
||||
The code coverage profiler can instrument a program to help determine
|
||||
which classes, methods, code paths, etc are actually executed. This
|
||||
is most useful when running a test suite to determine whether the
|
||||
tests actually cover the code they're expected to.
|
||||
.PP
|
||||
More information about how to use the coverage profiler is available
|
||||
on the \fBmono\-profilers\fR(1) page, under the \fBCOVERAGE
|
||||
PROFILER\fR section.
|
||||
.SS AOT profiler
|
||||
The AOT profiler can help improve startup performance by logging
|
||||
which generic instantiations are used by a program, which the AOT
|
||||
compiler can then use to compile those instantiations ahead of time
|
||||
so that they won't have to be JIT compiled at startup.
|
||||
.PP
|
||||
More information about how to use the AOT profiler is available on
|
||||
the \fBmono\-profilers\fR(1) page, under the \fBAOT PROFILER\fR
|
||||
section.
|
||||
.SS Custom profilers
|
||||
Custom profiler modules can be loaded in exactly the same way as the
|
||||
standard modules that ship with Mono. They can also access the same
|
||||
profiler API to gather all kinds of information about the code being
|
||||
executed.
|
||||
.PP
|
||||
For example, to use a third-party profiler called \fBcustom\fR, you
|
||||
would load it like this:
|
||||
.PP
|
||||
To use a third party profiler you must pass the name of the profiler
|
||||
to Mono, like this:
|
||||
.nf
|
||||
|
||||
mono --profile=custom program.exe
|
||||
|
||||
.RS
|
||||
mono --profile=custom program.exe
|
||||
.RE
|
||||
.fi
|
||||
.PP
|
||||
In the above sample Mono will load the user defined profiler from the
|
||||
shared library `mono-profiler-custom.so'. This profiler module must
|
||||
be on your dynamic linker library path.
|
||||
.PP
|
||||
A list of other third party profilers is available from Mono's web
|
||||
site (www.mono-project.com/docs/advanced/performance-tips/)
|
||||
You could also pass arguments to it:
|
||||
.PP
|
||||
Custom profiles are written as shared libraries. The shared library
|
||||
must be called `mono-profiler-NAME.so' where `NAME' is the name of
|
||||
your profiler.
|
||||
.PP
|
||||
For a sample of how to write your own custom profiler look in the
|
||||
Mono source tree for in the samples/profiler.c.
|
||||
.SH CODE COVERAGE
|
||||
Mono ships with a code coverage module. This module is activated by
|
||||
using the Mono --profile=cov option. The format is:
|
||||
\fB--profile=cov[:assembly-name[/namespace]] test-suite.exe\fR
|
||||
.PP
|
||||
By default code coverage will default to all the assemblies loaded,
|
||||
you can limit this by specifying the assembly name, for example to
|
||||
perform code coverage in the routines of your program use, for example
|
||||
the following command line limits the code coverage to routines in the
|
||||
"demo" assembly:
|
||||
.nf
|
||||
|
||||
mono --profile=cov:demo demo.exe
|
||||
|
||||
.RS
|
||||
mono --profile=custom:arg1,arg2=arg3 program.exe
|
||||
.RE
|
||||
.fi
|
||||
.PP
|
||||
Notice that the
|
||||
.I assembly-name
|
||||
does not include the extension.
|
||||
In the above example, Mono will load the profiler from the shared
|
||||
library called \fIlibmono\-profiler\-custom.so\fR (name varies based
|
||||
on platform, e.g., \fIlibmono\-profiler\-custom.dylib\fR on OS X).
|
||||
This profiler module must be on your dynamic linker library path
|
||||
(\fBLD_LIBRARY_PATH\fR on most systems, \fBDYLD_LIBRARY_PATH\fR on
|
||||
OS X).
|
||||
.PP
|
||||
You can further restrict the code coverage output by specifying a
|
||||
namespace:
|
||||
.nf
|
||||
|
||||
mono --profile=cov:demo/My.Utilities demo.exe
|
||||
|
||||
.fi
|
||||
.PP
|
||||
Which will only perform code coverage in the given assembly and
|
||||
namespace.
|
||||
.PP
|
||||
Typical output looks like this:
|
||||
.nf
|
||||
|
||||
Not covered: Class:.ctor ()
|
||||
Not covered: Class:A ()
|
||||
Not covered: Driver:.ctor ()
|
||||
Not covered: Driver:method ()
|
||||
Partial coverage: Driver:Main ()
|
||||
offset 0x000a
|
||||
|
||||
.fi
|
||||
.PP
|
||||
The offsets displayed are IL offsets.
|
||||
.PP
|
||||
A more powerful coverage tool is available in the module `monocov'.
|
||||
See the monocov(1) man page for details.
|
||||
.SH AOT PROFILING
|
||||
You can improve startup performance by using the AOT profiler.
|
||||
.PP
|
||||
Typically the AOT compiler (\fBmono --aot\fR) will not generate code
|
||||
for generic instantiations. To solve this, you can run Mono with the
|
||||
AOT profiler to find out all the generic instantiations that are used,
|
||||
and then instructing the AOT compiler to produce code for these.
|
||||
.PP
|
||||
This command will run the specified app.exe and produce the
|
||||
\fBout.aotprof\fR file with the data describing the generic
|
||||
instantiations that are needed:
|
||||
.nf
|
||||
$ mono --profile=aot:output=out.aotprof app.exe
|
||||
.fi
|
||||
.PP
|
||||
Once you have this data, you can pass this to Mono's AOT compiler to
|
||||
instruct it to generate code for it:
|
||||
.nf
|
||||
$ mono --aot=profile=out.aotprof
|
||||
.fi
|
||||
For a sample of how to write your own custom profiler, look at the
|
||||
\fIsamples/profiler/sample.c\fR file in the Mono source tree.
|
||||
.SH DEBUGGING AIDS
|
||||
To debug managed applications, you can use the
|
||||
.B mdb
|
||||
@@ -923,8 +950,10 @@ If set, the log mask is changed to the set value. Possible values are
|
||||
"asm" (assembly loader), "type", "dll" (native library loader), "gc"
|
||||
(garbage collector), "cfg" (config file loader), "aot" (precompiler),
|
||||
"security" (e.g. Moonlight CoreCLR support), "threadpool" (thread pool generic),
|
||||
"io-threadpool" (thread pool I/O), "io-layer" (I/O layer - sockets, handles, shared memory etc)
|
||||
and "all".
|
||||
"io-selector" (async socket operations), "io-layer" (I/O layer - processes, files,
|
||||
sockets, events, semaphores, mutexes and handles), "io-layer-process",
|
||||
"io-layer-file", "io-layer-socket", "io-layer-event", "io-layer-semaphore",
|
||||
"io-layer-mutex", "io-layer-handle" and "all".
|
||||
The default value is "all". Changing the mask value allows you to display only
|
||||
messages for a certain component. You can use multiple masks by comma
|
||||
separating them. For example to see config file messages and assembly loader
|
||||
@@ -1000,11 +1029,6 @@ code generation backend. For example \fBLLVM_COUNT=10\fR would only
|
||||
compile 10 methods with LLVM and then switch to the Mono JIT engine.
|
||||
\fBLLVM_COUNT=0\fR would disable the LLVM engine altogether.
|
||||
.TP
|
||||
\fBMONO_AOT_CACHE\fR
|
||||
If set, this variable will instruct Mono to ahead-of-time compile new
|
||||
assemblies on demand and store the result into a cache in
|
||||
~/.mono/aot-cache.
|
||||
.TP
|
||||
\fBMONO_ASPNET_INHIBIT_SETTINGSMAP\fR
|
||||
Mono contains a feature which allows modifying settings in the .config files shipped
|
||||
with Mono by using config section mappers. The mappers and the mapping rules are
|
||||
@@ -1079,18 +1103,6 @@ internally disables managed collation functionality invoked via the
|
||||
members of System.Globalization.CompareInfo class. Collation is
|
||||
enabled by default.
|
||||
.TP
|
||||
\fBMONO_DISABLE_SHM\fR
|
||||
Unix only: If set, disables the shared memory files used for
|
||||
cross-process handles: process have only private handles. This means
|
||||
that process and thread handles are not available to other processes,
|
||||
and named mutexes, named events and named semaphores are not visible
|
||||
between processes.
|
||||
.Sp
|
||||
This is can also be enabled by default by passing the
|
||||
"--disable-shared-handles" option to configure.
|
||||
.Sp
|
||||
This is the default from mono 2.8 onwards.
|
||||
.TP
|
||||
\fBMONO_DISABLE_SHARED_AREA\fR
|
||||
Unix only: If set, disable usage of shared memory for exposing
|
||||
performance counters. This means it will not be possible to both
|
||||
@@ -1213,10 +1225,19 @@ first generation (of two). A larger nursery will usually speed up the
|
||||
program but will obviously use more memory. The default nursery size
|
||||
4 MB.
|
||||
.TP
|
||||
\fBmajor=\fIcollector\fR Specifies which major collector to use.
|
||||
Options are `marksweep' for the Mark&Sweep collector, and
|
||||
`marksweep-conc' for concurrent Mark&Sweep. The non-concurrent
|
||||
Mark&Sweep collector is the default.
|
||||
\fBmajor=\fIcollector\fR
|
||||
Specifies which major collector to use.
|
||||
Options are `marksweep' for the Mark&Sweep collector, `marksweep-conc'
|
||||
for concurrent Mark&Sweep and `marksweep-conc-par' for parallel and
|
||||
concurrent Mark&Sweep. The concurrent Mark&Sweep collector is the default.
|
||||
.TP
|
||||
\fBmode=balanced|throughput|pause\fR[:\fImax-pause\fR]
|
||||
Specifies what should be the garbage collector's target. The `throughput'
|
||||
mode aims to reduce time spent in the garbage collector and improve
|
||||
application speed, the `pause' mode aims to keep pause times to a minimum
|
||||
and it receives the argument \fImax-pause\fR which specifies the maximum
|
||||
pause time in milliseconds that is acceptable and the `balanced' mode
|
||||
which is a general purpose optimal mode.
|
||||
.TP
|
||||
\fBsoft-heap-limit=\fIsize\fR
|
||||
Once the heap size gets larger than this size, ignore what the default
|
||||
@@ -1279,9 +1300,11 @@ more memory when it reaches a stable size.
|
||||
This option is EXPERIMENTAL, so it might disappear in later versions of mono.
|
||||
.TP
|
||||
\fBminor=\fIminor-collector\fR
|
||||
Specifies which minor collector to use. Options are 'simple' which
|
||||
promotes all objects from the nursery directly to the old generation
|
||||
and 'split' which lets object stay longer on the nursery before promoting.
|
||||
Specifies which minor collector to use. Options are `simple' which
|
||||
promotes all objects from the nursery directly to the old generation,
|
||||
`simple-par' which has same promotion behavior as `simple' but using
|
||||
multiple workers and `split' which lets objects stay longer on the nursery
|
||||
before promoting.
|
||||
.TP
|
||||
\fBalloc-ratio=\fIratio\fR
|
||||
Specifies the ratio of memory from the nursery to be use by the alloc space.
|
||||
@@ -1463,29 +1486,6 @@ directive instead, like this:
|
||||
|
||||
.fi
|
||||
See mod_mono(8) for more details.
|
||||
|
||||
Additionally. Mono includes a profiler module which allows one to track what
|
||||
adjustements to file paths IOMAP code needs to do. The tracking code reports
|
||||
the managed location (full stack trace) from which the IOMAP-ed call was made and,
|
||||
on process exit, the locations where all the IOMAP-ed strings were created in
|
||||
managed code. The latter report is only approximate as it is not always possible
|
||||
to estimate the actual location where the string was created. The code uses simple
|
||||
heuristics - it analyzes stack trace leading back to the string allocation location
|
||||
and ignores all the managed code which lives in assemblies installed in GAC as well as in the
|
||||
class libraries shipped with Mono (since they are assumed to be free of case-sensitivity
|
||||
issues). It then reports the first location in the user's code - in most cases this will be
|
||||
the place where the string is allocated or very close to the location. The reporting code
|
||||
is implemented as a custom profiler module (see the "PROFILING" section) and can be loaded
|
||||
in the following way:
|
||||
.fi
|
||||
.Sp
|
||||
.nf
|
||||
|
||||
mono --profile=iomap yourapplication.exe
|
||||
|
||||
.fi
|
||||
Note, however, that Mono currently supports only one profiler module
|
||||
at a time.
|
||||
.TP
|
||||
\fBMONO_LLVM\fR
|
||||
When Mono is using the LLVM code generation backend you can use this
|
||||
@@ -1692,7 +1692,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 +1732,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 +1942,11 @@ 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).
|
||||
\fBcertmgr\fR(1), \fBcert-sync\fR(1), \fBcsharp\fR(1),
|
||||
\fBgacutil\fR(1), \fBmcs\fR(1), \fBmonodis\fR(1),
|
||||
\fBmono-config\fR(5), \fBmono\-profilers\fR(1),
|
||||
\fBmprof\-report\fR(1), \fBpdb2mdb\fR(1), \fBxsp\fR(1),
|
||||
\fBmod_mono\fR(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)
|
||||
|
||||
+151
-537
@@ -1,545 +1,159 @@
|
||||
.de Sp
|
||||
.if t .sp .5v
|
||||
.if n .sp
|
||||
..
|
||||
.TH mprof-report 1 ""
|
||||
.SH The Mono log profiler
|
||||
.TH mprof-report 1
|
||||
.SH NAME
|
||||
mprof\-report \- report generator for Mono's log profiler
|
||||
.SH SYNOPSIS
|
||||
\fBmprof\-report\fR [\fIoption\fR]... \fIfile.mlpd\fR
|
||||
.SH DESCRIPTION
|
||||
\fBmprof\-report\fR is the report generator for Mono's \fBlog\fR
|
||||
profiler. It reads the MLPD log files produced by the log profiler
|
||||
and generates a report based on the options passed to it. The
|
||||
output is based on individual reports which can be turned on or off.
|
||||
By default, all reports are generated in summary form (i.e.,
|
||||
non-verbose output).
|
||||
.PP
|
||||
The Mono \f[I]log\f[] profiler can be used to collect a lot of
|
||||
information about a program running in the Mono runtime.
|
||||
This data can be used (both while the process is running and later)
|
||||
to do analyses of the program behaviour, determine resource usage,
|
||||
performance issues or even look for particular execution patterns.
|
||||
\fBmprof\-report\fR can read both normal and \fBgzip\fR(1)-compressed
|
||||
log files transparently.
|
||||
.PP
|
||||
This is accomplished by logging the events provided by the Mono
|
||||
runtime through the profiling interface and periodically writing
|
||||
them to a file which can be later inspected with the command line
|
||||
\f[I]mprof-report\f[] program or with a GUI (not developed yet).
|
||||
.PP
|
||||
The events collected include (among others):
|
||||
.IP \[bu] 2
|
||||
method enter and leave
|
||||
.IP \[bu] 2
|
||||
object allocation
|
||||
.IP \[bu] 2
|
||||
garbage collection
|
||||
.IP \[bu] 2
|
||||
JIT compilation
|
||||
.IP \[bu] 2
|
||||
metadata loading
|
||||
.IP \[bu] 2
|
||||
lock contention
|
||||
.IP \[bu] 2
|
||||
exceptions
|
||||
.PP
|
||||
In addition, the profiler can periodically collect info about all
|
||||
the objects present in the heap at the end of a garbage collection
|
||||
(this is called heap shot and currently implemented only for the
|
||||
sgen garbage collector).
|
||||
Another available profiler mode is the \f[I]sampling\f[] or
|
||||
\f[I]statistical\f[] mode: periodically the program is sampled and
|
||||
the information about what the program was busy with is saved.
|
||||
This allows to get information about the program behaviour without
|
||||
degrading its performance too much (usually less than 10%).
|
||||
.SS Basic profiler usage
|
||||
.PP
|
||||
The simpler way to use the profiler is the following:
|
||||
.PP
|
||||
\f[B]mono\ --profile=log\ program.exe\f[]
|
||||
.PP
|
||||
At the end of the execution the file \f[I]output.mlpd\f[] will be
|
||||
found in the current directory.
|
||||
A summary report of the data can be printed by running:
|
||||
.PP
|
||||
\f[B]mprof-report\ output.mlpd\f[]
|
||||
.PP
|
||||
With this invocation a huge amount of data is collected about the
|
||||
program execution and collecting and saving this data can
|
||||
significantly slow down program execution.
|
||||
If saving the profiling data is not needed, a report can be
|
||||
generated directly with:
|
||||
.PP
|
||||
\f[B]mono\ --profile=log:report\ program.exe\f[]
|
||||
.PP
|
||||
If the information about allocations is not of interest, it can be
|
||||
excluded:
|
||||
.PP
|
||||
\f[B]mono\ --profile=log:noalloc\ program.exe\f[]
|
||||
.PP
|
||||
On the other hand, if method call timing is not important, while
|
||||
allocations are, the needed info can be gathered with:
|
||||
.PP
|
||||
\f[B]mono\ --profile=log:nocalls\ program.exe\f[]
|
||||
.PP
|
||||
You will still be able to inspect information about the sequence of
|
||||
calls that lead to each allocation because at each object
|
||||
allocation a stack trace is collected if full enter/leave
|
||||
information is not available.
|
||||
.PP
|
||||
To periodically collect heap shots (and exclude method and
|
||||
allocation events) use the following options (making sure you run
|
||||
with the sgen garbage collector):
|
||||
.PP
|
||||
\f[B]mono\ --gc=sgen\ --profile=log:heapshot\ program.exe\f[]
|
||||
.PP
|
||||
To perform a sampling profiler run, use the \f[I]sample\f[] option:
|
||||
.PP
|
||||
\f[B]mono\ --profile=log:sample\ program.exe\f[]
|
||||
.SS Profiler option documentation
|
||||
.PP
|
||||
By default the \f[I]log\f[] profiler will gather all the events
|
||||
provided by the Mono runtime and write them to a file named
|
||||
\f[I]output.mlpd\f[].
|
||||
When no option is specified, it is equivalent to using:
|
||||
.PP
|
||||
\f[B]--profile=log:calls,alloc,output=output.mlpd,maxframes=32,calldepth=100\f[]
|
||||
.PP
|
||||
The following options can be used to modify this default behaviour.
|
||||
Each option is separated from the next by a \f[B],\f[] character,
|
||||
with no spaces and all the options are included after the
|
||||
\f[I]log:\f[] profile module specifier.
|
||||
.IP \[bu] 2
|
||||
\f[I]help\f[]: display concise help info about each available
|
||||
option
|
||||
.IP \[bu] 2
|
||||
\f[I][no]alloc\f[]: \f[I]noalloc\f[] disables collecting object
|
||||
allocation info, \f[I]alloc\f[] enables it if it was disabled by
|
||||
another option like \f[I]heapshot\f[].
|
||||
.IP \[bu] 2
|
||||
\f[I][no]calls\f[]: \f[I]nocalls\f[] disables collecting method
|
||||
enter and leave events.
|
||||
When this option is used at each object allocation and at some
|
||||
other events (like lock contentions and exception throws) a stack
|
||||
trace is collected by default.
|
||||
See the \f[I]maxframes\f[] option to control this behaviour.
|
||||
\f[I]calls\f[] enables method enter/leave events if they were
|
||||
disabled by another option like \f[I]heapshot\f[].
|
||||
.IP \[bu] 2
|
||||
\f[I]heapshot[=MODE]\f[]: collect heap shot data at each major
|
||||
collection.
|
||||
The frequency of the heap shots can be changed with the
|
||||
\f[I]MODE\f[] parameter.
|
||||
When this option is used allocation events and method enter/leave
|
||||
events are not recorded by default: if they are needed, they need
|
||||
to be enabled explicitly.
|
||||
The optional parameter \f[I]MODE\f[] can modify the default heap
|
||||
shot frequency.
|
||||
heapshot can be used multiple times with different modes: in that
|
||||
case a heap shot is taken if either of the conditions are met.
|
||||
MODE can be one of:
|
||||
.RS 2
|
||||
.IP \[bu] 2
|
||||
\f[I]NUM\f[]ms: perform a heap shot if at least \f[I]NUM\f[]
|
||||
milliseconds passed since the last one.
|
||||
.IP \[bu] 2
|
||||
\f[I]NUM\f[]gc: perform a heap shot every \f[I]NUM\f[] major
|
||||
garbage collections
|
||||
.IP \[bu] 2
|
||||
\f[I]ondemand\f[]: perform a heap shot when such a command is sent
|
||||
to the control port
|
||||
For information about how to use the log profiler with a program,
|
||||
see the \fBmono\-profilers\fR(1) page, under the \fBLOG PROFILER\fR
|
||||
section.
|
||||
.SH OPTIONS
|
||||
The following options are available:
|
||||
.TP
|
||||
\fB\-\-help\fR
|
||||
Displays usage instructions.
|
||||
.TP
|
||||
\fB\-\-out\fR=\fIfile\fR
|
||||
Write the report output to \fIfile\fR instead of standard output.
|
||||
.TP
|
||||
\fB\-\-traces\fR
|
||||
Show backtraces in reports when available.
|
||||
.TP
|
||||
\fB\-\-maxframes\fR=\fInum\fR
|
||||
Limit backtraces to \fInum\fR frames.
|
||||
.TP
|
||||
\fB\-\-reports\fR=\fIreports\fR
|
||||
Generate only the specified reports. \fIreports\fR is a
|
||||
comma-separated list of reports. See the \fBREPORTS\fR section.
|
||||
.TP
|
||||
\fB\-\-method\-sort\fR=\fImode\fR
|
||||
Sort methods according to \fImode\fR, which can be one of:
|
||||
.RS
|
||||
.TP
|
||||
\fBtotal\fR (default)
|
||||
Sort by the total amount of time spent in a method and its callees.
|
||||
.TP
|
||||
\fBself\fR
|
||||
Sort by the amount of time spent only within a method itself.
|
||||
.TP
|
||||
\fBcalls\fR
|
||||
Sort by the total amount of calls made to a method.
|
||||
.RE
|
||||
.IP \[bu] 2
|
||||
\f[I]sample[=FREQ]\f[]: collect statistical samples of the
|
||||
program behaviour.
|
||||
The default is to collect a 100 times per second (100 Hz) the
|
||||
instruction pointer.
|
||||
This is equivalent to the value \[lq]100\[rq].
|
||||
A value of zero for \f[I]FREQ\f[] effectively disables sampling.
|
||||
.IP \[bu] 2
|
||||
\f[I]maxframes=NUM\f[]: when a stack trace needs to be performed,
|
||||
collect \f[I]NUM\f[] frames at the most.
|
||||
The default is 32.
|
||||
.IP \[bu] 2
|
||||
\f[I]maxsamples=NUM\f[]: stop allocating reusable sample events
|
||||
once \f[I]NUM\f[] events have been allocated (a value of zero for
|
||||
all intents and purposes means unlimited). By default, the value
|
||||
of this setting is the number of CPU cores multiplied by 1000. This
|
||||
is usually a good enough value for typical desktop and mobile apps.
|
||||
If you're losing too many samples due to this default (which is
|
||||
possible in apps with an unusually high amount of threads), you
|
||||
may want to tinker with this value to find a good balance between
|
||||
sample hit rate and performance impact on the app. The way it works
|
||||
is that sample events are enqueued for reuse after they're flushed
|
||||
to the output file; if a thread gets a sampling signal but there are
|
||||
no sample events in the reuse queue and the profiler has reached the
|
||||
maximum number of sample allocations, the sample gets dropped. So a
|
||||
higher number for this setting will increase the chance that a
|
||||
thread is able to collect a sample, but also necessarily means that
|
||||
there will be more work done by the profiler. You can run Mono with
|
||||
the \f[I]--stats\f[] option to see statistics about sample events.
|
||||
.IP \[bu] 2
|
||||
\f[I]calldepth=NUM\f[]: ignore method enter/leave events when the
|
||||
call chain depth is bigger than NUM.
|
||||
.IP \[bu] 2
|
||||
\f[I]zip\f[]: automatically compress the output data in gzip
|
||||
format.
|
||||
.IP \[bu] 2
|
||||
\f[I]output=OUTSPEC\f[]: instead of writing the profiling data to
|
||||
the output.mlpd file, substitute \f[I]%p\f[] in \f[I]OUTSPEC\f[]
|
||||
with the current process id and \f[I]%t\f[] with the current date
|
||||
and time, then do according to \f[I]OUTSPEC\f[]:
|
||||
.RS 2
|
||||
.IP \[bu] 2
|
||||
if \f[I]OUTSPEC\f[] begins with a \f[I]|\f[] character, execute the
|
||||
rest as a program and feed the data to its standard input
|
||||
.IP \[bu] 2
|
||||
if \f[I]OUTSPEC\f[] begins with a \f[I]-\f[] character, use the
|
||||
rest of OUTSPEC as the filename, but force overwrite any existing
|
||||
file by that name
|
||||
.IP \[bu] 2
|
||||
otherwise write the data the the named file: note that is a file by
|
||||
that name already exists, a warning is issued and profiling is
|
||||
disabled.
|
||||
.TP
|
||||
\fB\-\-alloc\-sort\fR=\fImode\fR
|
||||
Sort allocations according to \fImode\fR, which can be one of:
|
||||
.RS
|
||||
.TP
|
||||
\fBbytes\fR (default)
|
||||
Sort by the amount of heap bytes occupied by all allocated objects of
|
||||
a type.
|
||||
.TP
|
||||
\fBcount\fR
|
||||
Sort by the total amount of allocations of a type.
|
||||
.RE
|
||||
.IP \[bu] 2
|
||||
\f[I]report\f[]: the profiling data is sent to mprof-report, which
|
||||
will print a summary report.
|
||||
This is equivalent to the option: \f[B]output=mprof-report\ -\f[].
|
||||
If the \f[I]output\f[] option is specified as well, the report will
|
||||
be written to the output file instead of the console.
|
||||
.IP \[bu] 2
|
||||
\f[I]port=PORT\f[]: specify the tcp/ip port to use for the
|
||||
listening command server.
|
||||
Currently not available for windows.
|
||||
This server is started for example when heapshot=ondemand is used:
|
||||
it will read commands line by line.
|
||||
The following commands are available:
|
||||
.RS 2
|
||||
.IP \[bu] 2
|
||||
\f[I]heapshot\f[]: perform a heapshot as soon as possible
|
||||
.TP
|
||||
\fB\-\-counters\-sort\fR=\fImode\fR
|
||||
Sort counters according to \fImode\fR. This alters how the
|
||||
\fBcounters\fR report is presented. It can be one of:
|
||||
.RS
|
||||
.TP
|
||||
\fBtime\fR (default)
|
||||
Present a list of samples, each containing a list of counter
|
||||
name-value pairs.
|
||||
.TP
|
||||
\fBcategory\fR
|
||||
Present a list of counter names, each containing a list of sampled
|
||||
values.
|
||||
.RE
|
||||
.IP \[bu] 2
|
||||
\f[I]nocounters\f[]: disables sampling of runtime and performance
|
||||
counters, which is normally done every 1 second.
|
||||
.IP \[bu] 2
|
||||
\f[I]coverage\f[]: collect code coverage data. This implies enabling
|
||||
the \f[I]calls\f[] option.
|
||||
.IP \[bu] 2
|
||||
\f[I]onlycoverage\f[]: can only be used with \f[I]coverage\f[]. This
|
||||
disables most other events so that the profiler mostly only collects
|
||||
coverage data.
|
||||
.IP
|
||||
This option has no effect unless \fB\-\-verbose\fR is passed.
|
||||
.TP
|
||||
\fB\-\-track\fR=\fIobjects\fR
|
||||
Track what happens to the specified objects. \fIobjects\fR is a
|
||||
comma-separated list of object addresses.
|
||||
.TP
|
||||
\fB\-\-find\fR=\fIspec\fR
|
||||
Find and track what happens to objects matching \fIspec\fR, which can
|
||||
have one of these forms:
|
||||
.RS
|
||||
.TP
|
||||
\fBS\fR:\fIminimum_size\fR
|
||||
Look for objects that are at least \fIminimum_size\fR bytes in size.
|
||||
.TP
|
||||
\fBT\fR:\fIname_fragment\fR
|
||||
Look for objects whose type name contain \fIname_fragment\fR.
|
||||
.RE
|
||||
.SS Analyzing the profile data
|
||||
.PP
|
||||
Currently there is a command line program (\f[I]mprof-report\f[])
|
||||
to analyze the data produced by the profiler.
|
||||
This is ran automatically when the \f[I]report\f[] profiler option
|
||||
is used.
|
||||
Simply run:
|
||||
.PP
|
||||
\f[B]mprof-report\ output.mlpd\f[]
|
||||
.PP
|
||||
to see a summary report of the data included in the file.
|
||||
.SS Trace information for events
|
||||
.PP
|
||||
Often it is important for some events, like allocations, lock
|
||||
contention and exception throws to know where they happened.
|
||||
Or we may want to see what sequence of calls leads to a particular
|
||||
method invocation.
|
||||
To see this info invoke mprof-report as follows:
|
||||
.PP
|
||||
\f[B]mprof-report\ --traces\ output.mlpd\f[]
|
||||
.PP
|
||||
The maximum number of methods in each stack trace can be specified
|
||||
with the \f[I]--maxframes=NUM\f[] option:
|
||||
.PP
|
||||
\f[B]mprof-report\ --traces\ --maxframes=4\ output.mlpd\f[]
|
||||
.PP
|
||||
The stack trace info will be available if method enter/leave events
|
||||
have been recorded or if stack trace collection wasn't explicitly
|
||||
disabled with the \f[I]maxframes=0\f[] profiler option.
|
||||
.PP
|
||||
The \f[I]--traces\f[] option also controls the reverse reference
|
||||
feature in the heapshot report: for each class it reports how many
|
||||
references to objects of that class come from other classes.
|
||||
.SS Sort order for methods and allocations
|
||||
.PP
|
||||
When a list of methods is printed the default sort order is based
|
||||
on the total time spent in the method.
|
||||
This time is wall clock time (that is, it includes the time spent,
|
||||
for example, in a sleep call, even if actual cpu time would be
|
||||
basically 0).
|
||||
Also, if the method has been ran on different threads, the time
|
||||
will be a sum of the time used in each thread.
|
||||
.PP
|
||||
To change the sort order, use the option:
|
||||
.PP
|
||||
\f[B]--method-sort=MODE\f[]
|
||||
.PP
|
||||
where \f[I]MODE\f[] can be:
|
||||
.IP \[bu] 2
|
||||
\f[I]self\f[]: amount of time spent in the method itself and not in
|
||||
its callees
|
||||
.IP \[bu] 2
|
||||
\f[I]calls\f[]: the number of method invocations
|
||||
.IP \[bu] 2
|
||||
\f[I]total\f[]: the total time spent in the method.
|
||||
.PP
|
||||
Object allocation lists are sorted by default depending on the
|
||||
total amount of bytes used by each type.
|
||||
.PP
|
||||
To change the sort order of object allocations, use the option:
|
||||
.PP
|
||||
\f[B]--alloc-sort=MODE\f[]
|
||||
.PP
|
||||
where \f[I]MODE\f[] can be:
|
||||
.IP \[bu] 2
|
||||
\f[I]count\f[]: the number of allocated objects of the given type
|
||||
.IP \[bu] 2
|
||||
\f[I]bytes\f[]: the total number of bytes used by objects of the
|
||||
given type
|
||||
.PP
|
||||
To change the sort order of counters, use the option:
|
||||
.PP
|
||||
\f[B]--counters-sort=MODE\f[]
|
||||
.PP
|
||||
where \f[I]MODE\f[] can be:
|
||||
.IP \[bu] 2
|
||||
\f[I]time\f[]: sort values by time then category
|
||||
.IP \[bu] 2
|
||||
\f[I]category\f[]: sort values by category then time
|
||||
.SS Selecting what data to report
|
||||
.PP
|
||||
The profiler by default collects data about many runtime subsystems
|
||||
and mprof-report prints a summary of all the subsystems that are
|
||||
found in the data file.
|
||||
It is possible to tell mprof-report to only show information about
|
||||
some of them with the following option:
|
||||
.PP
|
||||
\f[B]--reports=R1[,R2...]\f[]
|
||||
.PP
|
||||
where the report names R1, R2 etc.
|
||||
can be:
|
||||
.IP \[bu] 2
|
||||
\f[I]header\f[]: information about program startup and profiler
|
||||
version
|
||||
.IP \[bu] 2
|
||||
\f[I]jit\f[]: JIT compiler information
|
||||
.IP \[bu] 2
|
||||
\f[I]sample\f[]: statistical sampling information
|
||||
.IP \[bu] 2
|
||||
\f[I]gc\f[]: garbage collection information
|
||||
.IP \[bu] 2
|
||||
\f[I]alloc\f[]: object allocation information
|
||||
.IP \[bu] 2
|
||||
\f[I]call\f[]: method profiling information
|
||||
.IP \[bu] 2
|
||||
\f[I]metadata\f[]: metadata events like image loads
|
||||
.IP \[bu] 2
|
||||
\f[I]exception\f[]: exception throw and handling information
|
||||
.IP \[bu] 2
|
||||
\f[I]monitor\f[]: lock contention information
|
||||
.IP \[bu] 2
|
||||
\f[I]thread\f[]: thread information
|
||||
.IP \[bu] 2
|
||||
\f[I]domain\f[]: app domain information
|
||||
.IP \[bu] 2
|
||||
\f[I]context\f[]: remoting context information
|
||||
.IP \[bu] 2
|
||||
\f[I]heapshot\f[]: live heap usage at heap shots
|
||||
.IP \[bu] 2
|
||||
\f[I]counters\f[]: counters samples
|
||||
.IP \[bu] 2
|
||||
\f[I]coverage\f[]: code coverage data
|
||||
.IP \[bu] 2
|
||||
\f[I]stats\f[]: event statistics
|
||||
.PP
|
||||
It is possible to limit some of the data displayed to a timeframe
|
||||
of the program execution with the option:
|
||||
.PP
|
||||
\f[B]--time=FROM-TO\f[]
|
||||
.PP
|
||||
where \f[I]FROM\f[] and \f[I]TO\f[] are seconds since application
|
||||
startup (they can be floating point numbers).
|
||||
.PP
|
||||
Another interesting option is to consider only events happening on
|
||||
a particular thread with the following option:
|
||||
.PP
|
||||
\f[B]--thread=THREADID\f[]
|
||||
.PP
|
||||
where \f[I]THREADID\f[] is one of the numbers listed in the thread
|
||||
summary report (or a thread name when present).
|
||||
.PP
|
||||
By default long lists of methods or other information like object
|
||||
allocations are limited to the most important data.
|
||||
To increase the amount of information printed you can use the
|
||||
option:
|
||||
.PP
|
||||
\f[B]--verbose\f[]
|
||||
.SS Track individual objects
|
||||
.PP
|
||||
Instead of printing the usual reports from the profiler data, it is
|
||||
possible to track some interesting information about some specific
|
||||
object addresses.
|
||||
The objects are selected based on their address with the
|
||||
\f[I]--track\f[] option as follows:
|
||||
.PP
|
||||
\f[B]--track=0xaddr1[,0xaddr2,...]\f[]
|
||||
.PP
|
||||
The reported info (if available in the data file), will be class
|
||||
name, size, creation time, stack trace of creation (with the
|
||||
\f[I]--traces\f[] option), etc.
|
||||
If heapshot data is available it will be possible to also track
|
||||
what other objects reference one of the listed addresses.
|
||||
.PP
|
||||
The object addresses can be gathered either from the profiler
|
||||
report in some cases (like in the monitor lock report), from the
|
||||
live application or they can be selected with the
|
||||
\f[I]--find=FINDSPEC\f[] option.
|
||||
FINDSPEC can be one of the following:
|
||||
.IP \[bu] 2
|
||||
\f[I]S:SIZE\f[]: where the object is selected if its size is at
|
||||
least \f[I]SIZE\f[]
|
||||
.IP \[bu] 2
|
||||
\f[I]T:NAME\f[]: where the object is selected if \f[I]NAME\f[]
|
||||
partially matches its class name
|
||||
.PP
|
||||
This option can be specified multiple times with one of the
|
||||
different kinds of FINDSPEC.
|
||||
For example, the following:
|
||||
.PP
|
||||
\f[B]--find=S:10000\ --find=T:Byte[]\f[]
|
||||
.PP
|
||||
will find all the byte arrays that are at least 10000 bytes in
|
||||
size.
|
||||
.PP
|
||||
Note that with a moving garbage collector the object address can
|
||||
change, so you may need to track the changed address manually.
|
||||
It can also happen that multiple objects are allocated at the same
|
||||
address, so the output from this option can become large.
|
||||
.SS Saving a profiler report
|
||||
.PP
|
||||
By default mprof-report will print the summary data to the console.
|
||||
To print it to a file, instead, use the option:
|
||||
.PP
|
||||
\f[B]--out=FILENAME\f[]
|
||||
.SS Processing code coverage data
|
||||
.PP
|
||||
If you ran the profiler with the \f[I]coverage\f[] option, you can
|
||||
process the collected coverage data into an XML file by running
|
||||
mprof-report like this:
|
||||
.PP
|
||||
\f[B]mprof-report --coverage-out=coverage.xml output.mlpd\f[]
|
||||
.SS Dealing with profiler slowness
|
||||
.PP
|
||||
If the profiler needs to collect lots of data, the execution of the
|
||||
program will slow down significantly, usually 10 to 20 times
|
||||
slower.
|
||||
There are several ways to reduce the impact of the profiler on the
|
||||
program execution.
|
||||
.IP "\f[I]Use the statistical sampling mode\f[]" 4
|
||||
.Sp
|
||||
Statistical sampling allows executing a program under the profiler
|
||||
with minimal performance overhead (usually less than 10%).
|
||||
This mode allows checking where the program is spending most of
|
||||
its execution time without significantly perturbing its behaviour.
|
||||
.IP "\f[I]Collect less data\f[]" 4
|
||||
.Sp
|
||||
Collecting method enter/leave events can be very expensive,
|
||||
especially in programs that perform many millions of tiny calls.
|
||||
The profiler option \f[I]nocalls\f[] can be used to avoid
|
||||
collecting this data or it can be limited to only a few call levels
|
||||
with the \f[I]calldepth\f[] option.
|
||||
.Sp
|
||||
Object allocation information is expensive as well, though much
|
||||
less than method enter/leave events.
|
||||
If it's not needed, it can be skipped with the \f[I]noalloc\f[]
|
||||
profiler option.
|
||||
Note that when method enter/leave events are discarded, by default
|
||||
stack traces are collected at each allocation and this can be
|
||||
expensive as well.
|
||||
The impact of stack trace information can be reduced by setting a
|
||||
low value with the \f[I]maxframes\f[] option or by eliminating them
|
||||
completely, by setting it to 0.
|
||||
.Sp
|
||||
The other major source of data is the \f[I]heapshot\f[] profiler
|
||||
option: especially if the managed heap is big, since every object
|
||||
needs to be inspected.
|
||||
The \f[I]MODE\f[] parameter of the \f[I]heapshot\f[] option can be
|
||||
used to reduce the frequency of the heap shots.
|
||||
.SS Dealing with the size of the data files
|
||||
.PP
|
||||
When collecting a lot of information about a profiled program, huge
|
||||
data files can be generated.
|
||||
There are a few ways to minimize the amount of data, for example by
|
||||
not collecting some of the more space-consuming information or by
|
||||
compressing the information on the fly or by just generating a
|
||||
summary report.
|
||||
.IP "\f[I]Reducing the amount of data\f[]" 4
|
||||
.Sp
|
||||
Method enter/leave events can be excluded completely with the
|
||||
\f[I]nocalls\f[] option or they can be limited to just a few levels
|
||||
of calls with the \f[I]calldepth\f[] option.
|
||||
For example, the option:
|
||||
.Sp
|
||||
\f[B]calldepth=10\f[]
|
||||
.Sp
|
||||
will ignore the method events when there are more than 10 managed
|
||||
stack frames.
|
||||
This is very useful for programs that have deep recursion or for
|
||||
programs that perform many millions of tiny calls deep enough in
|
||||
the call stack.
|
||||
The optimal number for the calldepth option depends on the program
|
||||
and it needs to be balanced between providing enough profiling
|
||||
information and allowing fast execution speed.
|
||||
.Sp
|
||||
Note that by default, if method events are not recorded at all, the
|
||||
profiler will collect stack trace information at events like
|
||||
allocations.
|
||||
To avoid gathering this data, use the \f[I]maxframes=0\f[] profiler
|
||||
.IP
|
||||
Both an \fBS\fR and \fBT\fR spec can be given by passing the option
|
||||
twice.
|
||||
.TP
|
||||
\fB\-\-thread\fR=\fItid\fR
|
||||
Consider only events from the thread with ID \fItid\fR.
|
||||
.TP
|
||||
\fB\-\-time\fR=\fIspan\fR
|
||||
Consider only events occurring in the specified time span. \fIspan\fR
|
||||
must be of the form \fIfrom\fR\-\fIto\fR where \fIfrom\fR and
|
||||
\fIto\fR are seconds since the program started.
|
||||
.TP
|
||||
\fB\-\-verbose\fR
|
||||
Print verbose output.
|
||||
.TP
|
||||
\fB\-\-debug\fR
|
||||
Print extremely detailed debug output. Most users should not use this
|
||||
option.
|
||||
.Sp
|
||||
Allocation events can be eliminated with the \f[I]noalloc\f[]
|
||||
option.
|
||||
.Sp
|
||||
Heap shot data can also be huge: by default it is collected at each
|
||||
major collection.
|
||||
To reduce the frequency, you can specify a heapshot mode: for
|
||||
example to collect every 5 collections (including major and minor):
|
||||
.Sp
|
||||
\f[B]heapshot=5gc\f[]
|
||||
.Sp
|
||||
or when at least 5 seconds passed since the last heap shot:
|
||||
.Sp
|
||||
\f[B]heapshot=5000ms\f[]
|
||||
.IP "\f[I]Compressing the data\f[]" 4
|
||||
.Sp
|
||||
To reduce the amout of disk space used by the data, the data can be
|
||||
compressed either after it has been generated with the gzip
|
||||
command:
|
||||
.Sp
|
||||
\f[B]gzip\ -9\ output.mlpd\f[]
|
||||
.Sp
|
||||
or it can be compressed automatically by using the \f[I]zip\f[]
|
||||
profiler option.
|
||||
Note that in this case there could be a significant slowdown of the
|
||||
profiled program.
|
||||
.Sp
|
||||
The mprof-report program will tranparently deal with either
|
||||
compressed or uncompressed data files.
|
||||
.IP "\f[I]Generating only a summary report\f[]" 4
|
||||
.Sp
|
||||
Often it's enough to look at the profiler summary report to
|
||||
diagnose an issue and in this case it's possible to avoid saving
|
||||
the profiler data file to disk.
|
||||
This can be accomplished with the \f[I]report\f[] profiler option,
|
||||
which will basically send the data to the mprof-report program for
|
||||
display.
|
||||
.Sp
|
||||
To have more control of what summary information is reported (or to
|
||||
use a completely different program to decode the profiler data),
|
||||
the \f[I]output\f[] profiler option can be used, with \f[B]|\f[] as
|
||||
the first character: the rest of the output name will be executed
|
||||
as a program with the data fed in on the standard input.
|
||||
.Sp
|
||||
For example, to print only the Monitor summary with stack trace
|
||||
information, you could use it like this:
|
||||
.Sp
|
||||
\f[B]output=|mprof-report\ --reports=monitor\ --traces\ -\f[]
|
||||
.SH WEB SITE
|
||||
http://www.mono-project.com/docs/debug+profile/profile/profiler/
|
||||
.SH REPORTS
|
||||
The following reports are available:
|
||||
.TP
|
||||
\fBheader\fR
|
||||
Program startup and profiler version and operational information.
|
||||
.TP
|
||||
\fBjit\fR
|
||||
JIT compiler statistics.
|
||||
.TP
|
||||
\fBgc\fR
|
||||
Garbage collection and handle statistics.
|
||||
.TP
|
||||
\fBsample\fR
|
||||
Flat statistical sampling profile.
|
||||
.TP
|
||||
\fBalloc\fR
|
||||
Per-class GC allocation statistics and backtraces.
|
||||
.TP
|
||||
\fBcall\fR
|
||||
Method call statistics and backtraces.
|
||||
.TP
|
||||
\fBmetadata\fR
|
||||
Loaded images and assemblies.
|
||||
.TP
|
||||
\fBexception\fR
|
||||
Exception statistics and backtraces.
|
||||
.TP
|
||||
\fBmonitor\fR
|
||||
Monitor lock statistics and backtraces.
|
||||
.TP
|
||||
\fBthread\fR
|
||||
Managed thread names.
|
||||
.TP
|
||||
\fBdomain\fR
|
||||
Loaded application domains.
|
||||
.TP
|
||||
\fBcontext\fR
|
||||
Loaded remoting contexts.
|
||||
.TP
|
||||
\fBheapshot\fR
|
||||
Heap snapshot information.
|
||||
.TP
|
||||
\fBcounters\fR
|
||||
Performance counter samples.
|
||||
.SH SEE ALSO
|
||||
.PP
|
||||
mono(1)
|
||||
.SH AUTHORS
|
||||
Paolo Molaro, Alex Rønne Petersen
|
||||
\fBmono\fR(1), \fBmono\-profilers\fR(1)
|
||||
+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;
|
||||
+40
-24
@@ -6,8 +6,9 @@ SUBDIRS := build jay mcs class nunit24 ilasm tools tests errors docs packages
|
||||
|
||||
basic_SUBDIRS := build jay class
|
||||
build_SUBDIRS := build class class/aot-compiler tools ilasm
|
||||
monodroid_SUBDIRS := build class
|
||||
monotouch_SUBDIRS := build class
|
||||
monodroid_SUBDIRS := build class tools
|
||||
monodroid_tools_SUBDIRS := build class tools
|
||||
monotouch_SUBDIRS := build class tools
|
||||
monotouch_watch_SUBDIRS := build class
|
||||
monotouch_tv_SUBDIRS := build class
|
||||
monotouch_runtime_SUBDIRS := build class
|
||||
@@ -23,6 +24,8 @@ xbuild_12_SUBDIRS := build class tools/xbuild
|
||||
xbuild_14_SUBDIRS := build class tools/xbuild
|
||||
winaot_SUBDIRS := build class
|
||||
orbis_SUBDIRS := build class
|
||||
unreal_SUBDIRS := build class
|
||||
wasm_SUBDIRS := build class
|
||||
|
||||
include build/rules.make
|
||||
|
||||
@@ -44,7 +47,7 @@ all-profiles $(STD_TARGETS:=-profiles): %-profiles: profiles-do--%
|
||||
@:
|
||||
|
||||
profiles-do--%:
|
||||
$(MAKE) $(PROFILES:%=profile-do--%--$*)
|
||||
$(if $(PROFILES),$(MAKE) $(PROFILES:%=profile-do--%--$*))
|
||||
|
||||
# The % below looks like profile-name--target-name
|
||||
profile-do--%:
|
||||
@@ -65,6 +68,7 @@ $(_boot_:%=profile-do--xbuild_12--%): profile-do--xbuild_12--%:
|
||||
$(_boot_:%=profile-do--binary_reference_assemblies--%): profile-do--binary_reference_assemblies--%: profile-do--build--%
|
||||
$(_boot_:%=profile-do--net_4_x--%): profile-do--net_4_x--%: profile-do--build--%
|
||||
$(_boot_:%=profile-do--monodroid--%): profile-do--monodroid--%: profile-do--build--%
|
||||
$(_boot_:%=profile-do--monodroid_tools--%): profile-do--monodroid_tools--%: profile-do--build--%
|
||||
$(_boot_:%=profile-do--monotouch--%): profile-do--monotouch--%: profile-do--build--%
|
||||
$(_boot_:%=profile-do--monotouch_watch--%): profile-do--monotouch_watch--%: profile-do--build--%
|
||||
$(_boot_:%=profile-do--monotouch_tv--%): profile-do--monotouch_tv--%: profile-do--build--%
|
||||
@@ -77,6 +81,8 @@ $(_boot_:%=profile-do--testing_aot_hybrid--%): profile-do--testing_aot_hy
|
||||
$(_boot_:%=profile-do--testing_aot_full--%): profile-do--testing_aot_full--%: profile-do--build--%
|
||||
$(_boot_:%=profile-do--winaot--%): profile-do--winaot--%: profile-do--build--%
|
||||
$(_boot_:%=profile-do--orbis--%): profile-do--orbis--%: profile-do--build--%
|
||||
$(_boot_:%=profile-do--unreal--%): profile-do--unreal--%: profile-do--build--%
|
||||
$(_boot_:%=profile-do--wasm--%): profile-do--wasm--%: profile-do--build--%
|
||||
$(_boot_:%=profile-do--build--%): profile-do--build--%: profile-do--basic--%
|
||||
|
||||
testcorlib:
|
||||
@@ -95,8 +101,7 @@ DISTFILES = \
|
||||
mkinstalldirs \
|
||||
MonoIcon.png \
|
||||
README \
|
||||
ScalableMonoIcon.svg \
|
||||
winexe.in
|
||||
ScalableMonoIcon.svg
|
||||
|
||||
dist-local: dist-default
|
||||
|
||||
@@ -138,24 +143,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.Profiler.Log.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) find "$(MONO_API_SNAPSHOT_PROFILE_PATH)" -name "*.cs" -type f -delete
|
||||
|
||||
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
|
||||
Loaded 100 of 8239 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user