Compare commits
914
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
62574fc8be | ||
|
|
d07166d698 | ||
|
|
0b01ad31ac | ||
|
|
cc3008d7dd | ||
|
|
b46cee3884 | ||
|
|
fefcce65be | ||
|
|
9d7c55246f | ||
|
|
60a139db9c | ||
|
|
b6db32746f | ||
|
|
dce3da11d5 | ||
|
|
1b2b6992cc | ||
|
|
62649c54c3 | ||
|
|
78344f1740 | ||
|
|
0ecc3a7896 | ||
|
|
a54b3f901a | ||
|
|
0d8489d77e | ||
|
|
5bcde56a71 | ||
|
|
e3e81a6d9f | ||
|
|
06f392cb07 | ||
|
|
77ef094a01 | ||
|
|
cd7f0cdc29 | ||
|
|
a389cc4721 | ||
|
|
f6e294bd2c | ||
|
|
1ce475e909 | ||
|
|
794ff432aa | ||
|
|
d61103ad66 | ||
|
|
01a54677e8 | ||
|
|
98a856ee20 | ||
|
|
82d4951744 | ||
|
|
ebb40bfacb | ||
|
|
194e2c456e | ||
|
|
823aa3badc | ||
|
|
200fdc2cb4 | ||
|
|
a56eee7766 | ||
|
|
ca17d1eae6 | ||
|
|
66d31c5506 | ||
|
|
3a5e38e88c | ||
|
|
1c0c10b52a | ||
|
|
6daf07c969 | ||
|
|
81700c690c | ||
|
|
014f661d16 | ||
|
|
94cdbbb1db | ||
|
|
63bc81813c | ||
|
|
a247ccd476 | ||
|
|
5d3f2b833e | ||
|
|
352cfc8f59 | ||
|
|
af3b8c6dfa | ||
|
|
5d530f0f95 | ||
|
|
a5348b9941 | ||
|
|
99b8415489 | ||
|
|
4d2c9d031a | ||
|
|
5b8b5105bd | ||
|
|
d95f84c84a | ||
|
|
220b5e566d | ||
|
|
1decd7d0bd | ||
|
|
765bf559c0 | ||
|
|
78ea98ca0d | ||
|
|
b77dbe5a1a | ||
|
|
358d9751e2 | ||
|
|
b239d266de | ||
|
|
940382c933 | ||
|
|
0de7d3a08a | ||
|
|
de79105596 | ||
|
|
1e91933d81 | ||
|
|
824490720a | ||
|
|
9f2d9f234b | ||
|
|
5e0d9e6078 | ||
|
|
37cfa469d4 | ||
|
|
09a7fe471b | ||
|
|
b52c224fd1 | ||
|
|
f56e31ad01 | ||
|
|
32c10a4ee0 | ||
|
|
ffdb4abbd6 | ||
|
|
bddae7c3d8 | ||
|
|
1fdc5e5dda | ||
|
|
19dbd9a928 | ||
|
|
3b298e1179 | ||
|
|
7770aff0d0 | ||
|
|
beda8f53eb | ||
|
|
a9a1d91fff | ||
|
|
4d84c6e897 | ||
|
|
d6075d6b5e | ||
|
|
91f506c4e3 | ||
|
|
e76fecea10 | ||
|
|
56e145f7b3 | ||
|
|
85a2890b03 | ||
|
|
c5cd058508 | ||
|
|
fd79deac8b | ||
|
|
3ff6041e90 | ||
|
|
704f0cd364 | ||
|
|
f8df052103 | ||
|
|
cf917aae90 | ||
|
|
c7880974e6 | ||
|
|
8d8b9361dc | ||
|
|
bfff9ca4e9 | ||
|
|
e3e0d28628 | ||
|
|
9922bc6e57 | ||
|
|
89f104aebe | ||
|
|
647d969449 | ||
|
|
7622ee5779 | ||
|
|
6788d83616 | ||
|
|
66cc81dd7c | ||
|
|
60391fb209 | ||
|
|
021ea9f68c | ||
|
|
3e3b98df8a | ||
|
|
f18b068f38 | ||
|
|
a4db8198e7 | ||
|
|
1c42f84506 | ||
|
|
1a1fea41db | ||
|
|
b5bd929090 | ||
|
|
1d17d4f9f4 | ||
|
|
c71f27573b | ||
|
|
988c6fc134 | ||
|
|
b43c6f3df9 | ||
|
|
855d53bf77 | ||
|
|
9e0e2e6e0c | ||
|
|
74a3f4673d | ||
|
|
8617df5d5e | ||
|
|
b882b1259b | ||
|
|
01146227ab | ||
|
|
a1b46dabfb | ||
|
|
88fc663d40 | ||
|
|
65fb6b9167 | ||
|
|
e5bee8cde7 | ||
|
|
6745f2401a | ||
|
|
c48c134a15 | ||
|
|
1a6d93c530 | ||
|
|
1e2e2fc2fe | ||
|
|
13ef942e37 | ||
|
|
8db4a61a9a | ||
|
|
efcfaa79a9 | ||
|
|
c8c07173c3 | ||
|
|
0e0d422f6c | ||
|
|
a37dbbaaa6 | ||
|
|
819ad2f31b | ||
|
|
2ed6c3abda | ||
|
|
6ea62ff561 | ||
|
|
925a683135 | ||
|
|
3d14ffc8c7 | ||
|
|
bd5b3143aa | ||
|
|
ba0482ed78 | ||
|
|
b23cb5cb6a | ||
|
|
4d29980d5f | ||
|
|
1bc813d2bd | ||
|
|
aa03489ca2 | ||
|
|
6fb807c211 | ||
|
|
99437124c1 | ||
|
|
3b078c4b2f | ||
|
|
92731631fd | ||
|
|
8e94886c9c | ||
|
|
9a33231046 | ||
|
|
edc0f36d7c | ||
|
|
f41b3c2003 | ||
|
|
85c092da87 | ||
|
|
f967e6812a | ||
|
|
d707e890ea | ||
|
|
b85751153b | ||
|
|
cf4dd114eb | ||
|
|
ae5fcf90f8 | ||
|
|
11d4ee824d | ||
|
|
0e4b9eb90f | ||
|
|
5393717eef | ||
|
|
65d6f4c78d | ||
|
|
607730d3fe | ||
|
|
0845031711 | ||
|
|
c5241bc79c | ||
|
|
54acff0d55 | ||
|
|
f8412b2167 | ||
|
|
b68d8cffaa | ||
|
|
825a19cbe6 | ||
|
|
bbe15d6e69 | ||
|
|
36aca9c31f | ||
|
|
cebeca3b56 | ||
|
|
b81af0c990 | ||
|
|
e0667736c4 | ||
|
|
b3ab45b8ec | ||
|
|
cbf8ace5fb | ||
|
|
878e9108fd | ||
|
|
1da4815bbe | ||
|
|
b552bd5731 | ||
|
|
e6beafd504 | ||
|
|
36bd5dab5c | ||
|
|
538dcef870 | ||
|
|
1dcefca028 | ||
|
|
a236465479 | ||
|
|
2f3aafe992 | ||
|
|
51c170f0cd | ||
|
|
5270eeba30 | ||
|
|
ba51a510b2 | ||
|
|
a2ae1115c6 | ||
|
|
4bf87bcbf7 | ||
|
|
a9444dc7a9 | ||
|
|
e2677da42c | ||
|
|
99682bfd28 | ||
|
|
6ba548aabc | ||
|
|
a1391e586a | ||
|
|
537b806d7e | ||
|
|
f2f6fed3b1 | ||
|
|
ee9719230c | ||
|
|
763cce35ef | ||
|
|
d106fb41b7 | ||
|
|
57081d0c3c | ||
|
|
f47aaad2cd | ||
|
|
7f56ceddbf | ||
|
|
837398fadb | ||
|
|
634291221a | ||
|
|
1f86de6168 | ||
|
|
8fcf7de86f | ||
|
|
4989a3eece | ||
|
|
dfd6aa79d9 | ||
|
|
2a78af4434 | ||
|
|
781e89ed08 | ||
|
|
4fe9e56a02 | ||
|
|
bbe86f3dff | ||
|
|
d265895d31 | ||
|
|
45594b1bb3 | ||
|
|
a4bf35d1d1 | ||
|
|
467731ab14 | ||
|
|
0699f3c162 | ||
|
|
78ee5b3911 | ||
|
|
a605dc750b | ||
|
|
b705d712c2 | ||
|
|
c055ec50f5 | ||
|
|
b7154acf0a | ||
|
|
a14f6a8b2d | ||
|
|
a5af514c3d | ||
|
|
f44f6b4200 | ||
|
|
4057b04bbd | ||
|
|
9b79a5a3c2 | ||
|
|
821aaf93b1 | ||
|
|
5192a7a944 | ||
|
|
46315bab40 | ||
|
|
b65b273921 | ||
|
|
05b2ebc2dd | ||
|
|
1d757a0771 | ||
|
|
f70a4ab7dd | ||
|
|
02de9eac60 | ||
|
|
b3c95c25bf | ||
|
|
3188f13393 | ||
|
|
c82f512b97 | ||
|
|
1044e5b3e1 | ||
|
|
c834048b0f | ||
|
|
99f5788c21 | ||
|
|
0d04bafbbd | ||
|
|
cac0ed29a8 | ||
|
|
656d80eca2 | ||
|
|
0595209dda | ||
|
|
804897854f | ||
|
|
8a8f58a2d0 | ||
|
|
d1df594ca2 | ||
|
|
69af7dedff | ||
|
|
e55585a9ee | ||
|
|
edca100c0c | ||
|
|
c82e539ccd | ||
|
|
42e289597f | ||
|
|
6361de48a2 | ||
|
|
149774b6ec | ||
|
|
8e56c54876 | ||
|
|
9b665601fd | ||
|
|
22fc8d15d4 | ||
|
|
9c48460b5e | ||
|
|
c50aeb9f9c | ||
|
|
86f4b1471b | ||
|
|
2a3e8fa423 | ||
|
|
5d1062a57d | ||
|
|
28ede67c7f | ||
|
|
cab3befee5 | ||
|
|
3cb7a47584 | ||
|
|
5f7ed9e1d9 | ||
|
|
100e0bd4a2 | ||
|
|
6b43e142b8 | ||
|
|
b57b602cf0 | ||
|
|
3fc33bf3b6 | ||
|
|
c4cc819335 | ||
|
|
2335294f7c | ||
|
|
e99be5e232 | ||
|
|
f5092bbff6 | ||
|
|
1b3f0f6b1f | ||
|
|
441247cf0c | ||
|
|
8b57439995 | ||
|
|
d11807a7b5 | ||
|
|
0a0a850ae7 | ||
|
|
b2686e7b0f | ||
|
|
fba15ab94c | ||
|
|
556f1650b1 | ||
|
|
98990a195b | ||
|
|
e16720329e | ||
|
|
bd816ff175 | ||
|
|
9b01868388 | ||
|
|
ef171566a0 | ||
|
|
216def7c39 | ||
|
|
417a3d0184 | ||
|
|
1d6a85c8f3 | ||
|
|
9749816465 | ||
|
|
16efce86d2 | ||
|
|
cf18cd478c | ||
|
|
48bff2f30f | ||
|
|
b3a1f516ca | ||
|
|
f4487b0a0f | ||
|
|
99609421a8 | ||
|
|
18b57349d9 | ||
|
|
c56983e0f0 | ||
|
|
80e8668e6f | ||
|
|
5bdc75633d | ||
|
|
2331e87068 | ||
|
|
7b1a4b6f16 | ||
|
|
5cc0142ddc | ||
|
|
5635f09e4c | ||
|
|
6590085eff | ||
|
|
ff6d437c22 | ||
|
|
c33c38d289 | ||
|
|
2bba3d20f5 | ||
|
|
032ed43a38 | ||
|
|
c02e8784e7 | ||
|
|
0c78684ba5 | ||
|
|
b5aaaefa1f | ||
|
|
d7a766e9df | ||
|
|
ecceec27f2 | ||
|
|
b28869898a | ||
|
|
ee9e686680 | ||
|
|
9e252e84d8 | ||
|
|
8128549ff1 | ||
|
|
8aee05d06b | ||
|
|
c2a87a1b7e | ||
|
|
8ffc7e6556 | ||
|
|
a1980e2fb9 | ||
|
|
0c62e320f8 | ||
|
|
04e4395048 | ||
|
|
f375cc9c98 | ||
|
|
118ea18262 | ||
|
|
b7e1fb5e4e | ||
|
|
8940f541ca | ||
|
|
cb1d481cda | ||
|
|
4b4c45e4d6 | ||
|
|
63870ec6db | ||
|
|
dc2b252367 | ||
|
|
fa49735f8a | ||
|
|
57455c864c | ||
|
|
f42e8ae96b | ||
|
|
beb865de86 | ||
|
|
f668c507d9 | ||
|
|
5bd3d020d3 | ||
|
|
c288abe148 | ||
|
|
de2aab2a91 | ||
|
|
cc454566be | ||
|
|
c95888aeed | ||
|
|
2ff7f92016 | ||
|
|
72ba3bd3d8 | ||
|
|
8650b04b24 | ||
|
|
2d3510fa5f | ||
|
|
777344d49d | ||
|
|
a711a048ef | ||
|
|
0edf0b6689 | ||
|
|
c48e483c59 | ||
|
|
1ffb2b424a | ||
|
|
db8a501c0d | ||
|
|
eedd60ee72 | ||
|
|
33176a01d0 | ||
|
|
f16ae245bf | ||
|
|
c6db3a89f7 | ||
|
|
6a43d872b7 | ||
|
|
06f1a47c8f | ||
|
|
f85926afd5 | ||
|
|
a04f107e61 | ||
|
|
7fd8181a4a | ||
|
|
e39c6e2237 | ||
|
|
de5e0f55c8 | ||
|
|
ed1d59f6b1 | ||
|
|
d976fa61a6 | ||
|
|
da325003e9 | ||
|
|
9934dba58a | ||
|
|
5d55922080 | ||
|
|
4273b16711 | ||
|
|
d9d497177a | ||
|
|
dd2ecd7fa8 | ||
|
|
c56f444ab0 | ||
|
|
d6df5f356b | ||
|
|
164b04825b | ||
|
|
b2e6a40fbb | ||
|
|
31c109284d | ||
|
|
3d6f978672 | ||
|
|
a4e0597458 | ||
|
|
f6b3146642 | ||
|
|
37be32f63f | ||
|
|
8850c38338 | ||
|
|
e629e75f89 | ||
|
|
7410374a90 | ||
|
|
bbfa307c6b | ||
|
|
131116f1ec | ||
|
|
0c7508bf81 | ||
|
|
f19a5291ec | ||
|
|
3bfb49007e | ||
|
|
77c2d3e0ae | ||
|
|
eb280e7260 | ||
|
|
f379e9315f | ||
|
|
7556575221 | ||
|
|
42dc47850e | ||
|
|
d9b09dd45e | ||
|
|
e6802bb514 | ||
|
|
ed47baa513 | ||
|
|
e541a7f743 | ||
|
|
f162999a26 | ||
|
|
0703fecbdc | ||
|
|
2fd9d5e8d6 | ||
|
|
eddeed59f9 | ||
|
|
5d1952a9f9 | ||
|
|
7c008489b1 | ||
|
|
f4f555f8a5 | ||
|
|
d9e3766cd4 | ||
|
|
038f5f0f6e | ||
|
|
e2dd730af2 | ||
|
|
48cb2c35b0 | ||
|
|
9a41111b9d | ||
|
|
d0d21d7253 | ||
|
|
1a6b939100 | ||
|
|
4e95e87acb | ||
|
|
0a40843bde | ||
|
|
47d66b73ba | ||
|
|
843c5c4f5c | ||
|
|
1e4bab1724 | ||
|
|
a515b7b01c | ||
|
|
de3338154c | ||
|
|
c61a46c305 | ||
|
|
0bf90d3f52 | ||
|
|
b6a92c7a8f | ||
|
|
e3bfa4a70a | ||
|
|
f4befc31c3 | ||
|
|
8d3327daf6 | ||
|
|
6fca489398 | ||
|
|
b3979b5fbb | ||
|
|
7edd98f770 | ||
|
|
ea4dc4d03f | ||
|
|
8666c2388d | ||
|
|
74e6874851 | ||
|
|
22331bd3bf | ||
|
|
4266d70c97 | ||
|
|
5ca83cc911 | ||
|
|
896b3d1cc9 | ||
|
|
d784ead9cb | ||
|
|
3aa214ccc1 | ||
|
|
9bd525992b | ||
|
|
d467f7ee94 | ||
|
|
15f4de36f2 | ||
|
|
50bf4791f7 | ||
|
|
db78c304ec | ||
|
|
1486043e74 | ||
|
|
7114a9f6e6 | ||
|
|
8c528fc7e2 | ||
|
|
f8714f4c14 | ||
|
|
633caf8040 | ||
|
|
6483b5cbdd | ||
|
|
efb3190524 | ||
|
|
4d17e2c582 | ||
|
|
9d79d46fb9 | ||
|
|
3c08a83d5f | ||
|
|
0d43a305a9 | ||
|
|
e976a1a67d | ||
|
|
e0eade938b | ||
|
|
0fb88c013f | ||
|
|
16b5677b9b | ||
|
|
858593e849 | ||
|
|
ca524b2c69 | ||
|
|
ad0e1a943b | ||
|
|
eb13d682e6 | ||
|
|
881a54a152 | ||
|
|
fde0571cc0 | ||
|
|
5d080f104a | ||
|
|
f314b5a595 | ||
|
|
aa6a61475b | ||
|
|
8875cf76db | ||
|
|
c6160c2aee | ||
|
|
fb523d10cc | ||
|
|
8ebc3a260e | ||
|
|
75796f52a4 | ||
|
|
2d231bffbb | ||
|
|
8ab3f3ee92 | ||
|
|
1dfb9e1aa6 | ||
|
|
1511fbf505 | ||
|
|
8b72d99dbf | ||
|
|
fc50f773e9 | ||
|
|
ee96d299e7 | ||
|
|
6c2d89cf39 | ||
|
|
fcfed06b51 | ||
|
|
a759c51ca1 | ||
|
|
e5cf509115 | ||
|
|
d9be20e8f0 | ||
|
|
325d6f339f | ||
|
|
a3e77face0 | ||
|
|
4b5958655b | ||
|
|
66aecf83ca | ||
|
|
c4e09cdb41 | ||
|
|
9067726f25 | ||
|
|
5ca422d4dd | ||
|
|
1330c4c02f | ||
|
|
6643dbce7b | ||
|
|
21fe34d006 | ||
|
|
233230ce89 | ||
|
|
969d3363fe | ||
|
|
19dce96507 | ||
|
|
fd28011aa5 | ||
|
|
d0ce0b3b0b | ||
|
|
d4f7009363 | ||
|
|
46feda26da | ||
|
|
7f88e00a8e | ||
|
|
ce60dcf034 | ||
|
|
bb761420b6 | ||
|
|
cf8591548a | ||
|
|
4e5aedecfa | ||
|
|
65c96007fe | ||
|
|
a37a37af7f | ||
|
|
66e88141e0 | ||
|
|
ed0cbdbd05 | ||
|
|
5b85b08976 | ||
|
|
1ef2370e61 | ||
|
|
705efa1f25 | ||
|
|
d6a47ae1e6 | ||
|
|
93a409f6f6 | ||
|
|
80cac4a780 | ||
|
|
6143619cf2 | ||
|
|
4b551b1b96 | ||
|
|
803bc07fa7 | ||
|
|
9f99125a39 | ||
|
|
fa7b20a32a | ||
|
|
1297454350 | ||
|
|
f90c9ae324 | ||
|
|
5db0d6708d | ||
|
|
63cb50611f | ||
|
|
c2f6f06d91 | ||
|
|
de7c8418bb | ||
|
|
f5f615c931 | ||
|
|
88701bc30f | ||
|
|
1908fd3dbd | ||
|
|
86803b4c89 | ||
|
|
60b31ae5e7 | ||
|
|
aef65d4ec3 | ||
|
|
3d198c888e | ||
|
|
81f729ae08 | ||
|
|
63f624a708 | ||
|
|
d836d20cbb | ||
|
|
e573251a94 | ||
|
|
f9777c9428 | ||
|
|
4f4ed4952d | ||
|
|
502c611b6e | ||
|
|
56ba3dc676 | ||
|
|
f54c938123 | ||
|
|
f944d41397 | ||
|
|
34fbc4a88f | ||
|
|
3f78776e80 | ||
|
|
6285ef5296 | ||
|
|
092a369ad2 | ||
|
|
93deea5e26 | ||
|
|
71ca0cbb08 | ||
|
|
3167cb2a06 | ||
|
|
83271c5dbf | ||
|
|
632b20c24f | ||
|
|
8d051e9409 | ||
|
|
d8d3b5fe2e | ||
|
|
f44e4a0b87 | ||
|
|
c89080e4c9 | ||
|
|
c3d1828990 | ||
|
|
8c9556f8b6 | ||
|
|
22f9b46259 | ||
|
|
8e4bcc645c | ||
|
|
04507aa326 | ||
|
|
95b26fb994 | ||
|
|
50b7b52735 | ||
|
|
252e868b7e | ||
|
|
21f26c8ab6 | ||
|
|
ebf74d70e6 | ||
|
|
15c3eac10c | ||
|
|
db6d64a473 | ||
|
|
06f03f92da | ||
|
|
51be5c3e5d | ||
|
|
437481121a | ||
|
|
775b55c2dc | ||
|
|
098497fb5f | ||
|
|
cc6d031e9e | ||
|
|
c5ba987deb | ||
|
|
e43a5bc447 | ||
|
|
ed31b195ae | ||
|
|
37d4e4a382 | ||
|
|
a1864edc2e | ||
|
|
cb8a4c756d | ||
|
|
8c14959eac | ||
|
|
72f20a6169 | ||
|
|
704c849461 | ||
|
|
501a5b3525 | ||
|
|
16bede7d27 | ||
|
|
fcf37d1b51 | ||
|
|
04d63e117a | ||
|
|
69256a68d3 | ||
|
|
44e81e9a07 | ||
|
|
85f8130aaf | ||
|
|
63ca4b129f | ||
|
|
16a73a2273 | ||
|
|
7fea03e40e | ||
|
|
d74ad1f819 | ||
|
|
fb09975079 | ||
|
|
65ab1317a4 | ||
|
|
35482bdf4c | ||
|
|
2c06092697 | ||
|
|
2594a4e358 | ||
|
|
33e691a73f | ||
|
|
4582daec8f | ||
|
|
7f509f86ef | ||
|
|
dee184faec | ||
|
|
c74d7bca16 | ||
|
|
d6deca76f7 | ||
|
|
b669c22a92 | ||
|
|
84d5e47da2 | ||
|
|
65f345c7a8 | ||
|
|
11b0eea411 | ||
|
|
7d78123b69 | ||
|
|
cfe63634e2 | ||
|
|
7cde2afa07 | ||
|
|
48eb436842 | ||
|
|
2c9da60e48 | ||
|
|
87693df9a0 | ||
|
|
4e45d6db5a | ||
|
|
17fc960ec4 | ||
|
|
a118a740f2 | ||
|
|
8fbcd0a5c7 | ||
|
|
e5577d615f | ||
|
|
449599e363 | ||
|
|
fc8e89e58f | ||
|
|
c8d098f364 | ||
|
|
c245489390 | ||
|
|
b825301fc1 | ||
|
|
295725c655 | ||
|
|
c457dfb346 | ||
|
|
5e17fb9437 | ||
|
|
2640c1cb7f | ||
|
|
0ab12d2306 | ||
|
|
3ab9455870 | ||
|
|
fc9e8beb2b | ||
|
|
f7f2408071 | ||
|
|
d5648187f0 | ||
|
|
89151b7496 | ||
|
|
cb9a560dc8 | ||
|
|
0424f55fed | ||
|
|
b0719a7560 | ||
|
|
2ef1e84e1f | ||
|
|
35c224f1ad | ||
|
|
0c406cce19 | ||
|
|
ab3bcbaa6c | ||
|
|
733fc33825 | ||
|
|
72ced69405 | ||
|
|
6f7d95c4af | ||
|
|
7b7923521c | ||
|
|
0b267aff2a | ||
|
|
76e37fc385 | ||
|
|
189c91cfea | ||
|
|
cad79377e7 | ||
|
|
6bbbeffb0d | ||
|
|
75dac7502c | ||
|
|
1ba67f251f | ||
|
|
8eb92dde2b | ||
|
|
1debeebe2e | ||
|
|
ccac97847c | ||
|
|
a3dda2bb32 | ||
|
|
5dec038664 | ||
|
|
a44cf20237 | ||
|
|
b1743f5705 | ||
|
|
993db8ea97 | ||
|
|
de9db5ddeb | ||
|
|
6f4869b2a4 | ||
|
|
219908bec6 | ||
|
|
37cbb951f8 | ||
|
|
0bd69962db | ||
|
|
6197055826 | ||
|
|
f122dd821c | ||
|
|
12445b1efd | ||
|
|
5b5355d8c5 | ||
|
|
2186041a07 | ||
|
|
8a891572a0 | ||
|
|
04d54677dc | ||
|
|
de857347b6 | ||
|
|
950c9a1124 | ||
|
|
0d64c9f4e9 | ||
|
|
366e9ccd3e | ||
|
|
9fcff4a9eb | ||
|
|
d3947b2fef | ||
|
|
dd5f540cbf | ||
|
|
aeb96f4e38 | ||
|
|
935f3457ef | ||
|
|
65b4ed8f47 | ||
|
|
7040180274 | ||
|
|
fa2455c305 | ||
|
|
ad5481c9f5 | ||
|
|
aec2b976cd | ||
|
|
7857293967 | ||
|
|
0ddc85a661 | ||
|
|
74b32a6fc3 | ||
|
|
fa1711873b | ||
|
|
3edce7a7ca | ||
|
|
5b5c48d4a3 | ||
|
|
0b4f62dbe2 | ||
|
|
cd48fb33d6 | ||
|
|
a0a093184c | ||
|
|
fce382d610 | ||
|
|
0cee361f66 | ||
|
|
2e00d6e6b3 | ||
|
|
8292fa6968 | ||
|
|
bcf2a3ecf4 | ||
|
|
7ed4ac9d81 | ||
|
|
d05c7a58f7 | ||
|
|
0767c2ce17 | ||
|
|
d29adbd972 | ||
|
|
6556c9be67 | ||
|
|
79aab4b10a | ||
|
|
198ab270fe | ||
|
|
d701da0bd5 | ||
|
|
f759700086 | ||
|
|
6af14eca02 | ||
|
|
a1451f8ae7 | ||
|
|
644d3aca65 | ||
|
|
36f5bfd4b9 | ||
|
|
968b13268b | ||
|
|
42ab6c34f1 | ||
|
|
59d1c05288 | ||
|
|
d2baa2aec2 | ||
|
|
c5e5a2cab9 | ||
|
|
91e3f5c543 | ||
|
|
fe6c8d05d1 | ||
|
|
5fa57b76e6 | ||
|
|
109bee0339 | ||
|
|
94cf789277 | ||
|
|
280934fb22 | ||
|
|
16b90ab627 | ||
|
|
d084912ca5 | ||
|
|
307462a492 | ||
|
|
be3da03386 | ||
|
|
e2db2bc4c4 | ||
|
|
ad358dec9e | ||
|
|
118257bc4c | ||
|
|
37371404cd | ||
|
|
1258481fbc | ||
|
|
1d5e745673 | ||
|
|
083326894e | ||
|
|
38b6ee29b2 | ||
|
|
276e2517e0 | ||
|
|
a826299332 | ||
|
|
b3a7f3c981 | ||
|
|
3586d75088 | ||
|
|
fbd09c0cf0 | ||
|
|
0fe7c4095f | ||
|
|
ac32064e84 | ||
|
|
efda56d9fb | ||
|
|
cd88ed2b08 | ||
|
|
a13d856e8f | ||
|
|
5ca5c566a6 | ||
|
|
f762a852d9 | ||
|
|
3a1a7b9e6d | ||
|
|
4bc54b7225 | ||
|
|
01012061bc | ||
|
|
b1447b1ba3 | ||
|
|
1cd143fcf7 | ||
|
|
3e89ab4c4b | ||
|
|
5769f4a431 | ||
|
|
a81be4f942 | ||
|
|
fb71e03022 | ||
|
|
777f7a9413 | ||
|
|
8b8f94fc2c | ||
|
|
212aa11153 | ||
|
|
693ce050a7 | ||
|
|
1c626a9def | ||
|
|
b9ca027b09 | ||
|
|
5c7be90ecd | ||
|
|
96a1672aea | ||
|
|
28a00dfecb | ||
|
|
3a09ad5535 | ||
|
|
48d3438f5a | ||
|
|
28bc02a20a | ||
|
|
a5e3cad879 | ||
|
|
33589a12bc | ||
|
|
866f6330cc | ||
|
|
b48c6919bb | ||
|
|
559fbc6c4b | ||
|
|
cc89b6f763 | ||
|
|
ed9b8e0d46 | ||
|
|
fcf971bfe0 | ||
|
|
d165185951 | ||
|
|
9e70122a1d | ||
|
|
57a3480f95 | ||
|
|
34966ccef9 | ||
|
|
8c802e078d | ||
|
|
f91dde5506 | ||
|
|
94c3265d8a | ||
|
|
a650c5f93f | ||
|
|
a81f09f829 | ||
|
|
df1b71d17e | ||
|
|
58be86d815 | ||
|
|
f14ab18aa7 | ||
|
|
edc66fb325 | ||
|
|
d727f59ad9 | ||
|
|
f6ea3590dc | ||
|
|
903a9f4754 | ||
|
|
a199491044 | ||
|
|
6c15b0bcab | ||
|
|
946da4dc14 | ||
|
|
73a46385ea | ||
|
|
b3fd15c445 | ||
|
|
4e2de83794 | ||
|
|
c944beaea1 | ||
|
|
bb4a4de066 | ||
|
|
cff7d19ac6 | ||
|
|
bea3e90921 | ||
|
|
749b7fb3a1 | ||
|
|
86b7ae104d | ||
|
|
d8263250ee | ||
|
|
a0a80f5f43 | ||
|
|
a6849ef2f1 | ||
|
|
8d4ff3433c | ||
|
|
cfc6d2264f | ||
|
|
2b1678311c | ||
|
|
41d112cacd | ||
|
|
5a77c3f5bd | ||
|
|
31a2f5f3a3 | ||
|
|
8ec98c9108 | ||
|
|
7777219a59 | ||
|
|
9e91c1f1ee | ||
|
|
daec796ad3 | ||
|
|
e875e9de25 | ||
|
|
cbf62af4f8 | ||
|
|
286151fe68 | ||
|
|
a381bda8c4 | ||
|
|
718bd9e746 | ||
|
|
712c70975d | ||
|
|
f5f84eceff | ||
|
|
75d03cbb54 | ||
|
|
c566467bd9 | ||
|
|
d70490a072 | ||
|
|
9e773e76e8 | ||
|
|
833783b904 | ||
|
|
1c3ac221c3 | ||
|
|
b6448b02a1 | ||
|
|
75dfaef598 | ||
|
|
6561a9e5ed | ||
|
|
683d9c04da | ||
|
|
4ae9b88ab8 | ||
|
|
3e5d0aa4a7 | ||
|
|
0951a96a7c | ||
|
|
845f869a2f | ||
|
|
072bdb8045 | ||
|
|
475116ad48 | ||
|
|
180f35f5eb | ||
|
|
f21b3de88b | ||
|
|
05d1fac780 | ||
|
|
f501679409 | ||
|
|
be106416dc | ||
|
|
3b3a7ec889 | ||
|
|
109f8790f9 | ||
|
|
4006aa38b5 | ||
|
|
8a96f5b08d | ||
|
|
ba30f956c8 | ||
|
|
a6b3939dd9 | ||
|
|
a0f045d46d | ||
|
|
84ec06ca9c | ||
|
|
517663ce07 | ||
|
|
0a268deb6b | ||
|
|
ec982dcdc4 | ||
|
|
4232566291 | ||
|
|
dd899178d0 | ||
|
|
c8fae37aa2 | ||
|
|
d47741fc6b | ||
|
|
86474275a1 | ||
|
|
6c543e265d | ||
|
|
1139ceac02 | ||
|
|
43be41d965 | ||
|
|
2ce9cd4140 | ||
|
|
83e53eb8d0 | ||
|
|
ffa686a288 | ||
|
|
4c3f32531d | ||
|
|
a6823aa552 | ||
|
|
2eb02dd3de | ||
|
|
d8fa305d39 | ||
|
|
eae9ec21a9 | ||
|
|
16031442b8 | ||
|
|
faea974737 | ||
|
|
2f5721e204 | ||
|
|
a3fcd14422 | ||
|
|
f4f26d227b | ||
|
|
604600883c | ||
|
|
01947d98ff | ||
|
|
c9d4a09e50 | ||
|
|
e667ee8393 | ||
|
|
11464c65f8 | ||
|
|
0e5418f698 | ||
|
|
eb5ef0f8d9 | ||
|
|
28ebb2194d | ||
|
|
fd297d8120 | ||
|
|
ae2257acce | ||
|
|
b1bcd0060a | ||
|
|
809a5d2916 | ||
|
|
c4ca6cf75e | ||
|
|
219c9e2de6 | ||
|
|
15447d34ea | ||
|
|
d93eff7f99 | ||
|
|
02534e83b5 | ||
|
|
205ac2c5d9 | ||
|
|
aa45fb851a | ||
|
|
63d2f68760 | ||
|
|
e8b7b5fa4f | ||
|
|
a37327861c | ||
|
|
df9c925f77 | ||
|
|
91ae02924d | ||
|
|
24a3551e56 | ||
|
|
a00cc29567 | ||
|
|
c446fb274e | ||
|
|
c135be083d | ||
|
|
7f167d9b05 | ||
|
|
b1e4e0798c | ||
|
|
810ec88a4a | ||
|
|
7b3ca3d246 |
+12
-6
@@ -1,8 +1,14 @@
|
||||
bin
|
||||
dbgbin
|
||||
Debug
|
||||
Makefile
|
||||
.libs
|
||||
*.la
|
||||
configure
|
||||
config.cache
|
||||
config.log
|
||||
config.status
|
||||
expat_config.h.in
|
||||
expat_config.h
|
||||
libtool
|
||||
expat.ncb
|
||||
expat.opt
|
||||
Release
|
||||
expat.zip
|
||||
lib
|
||||
.project
|
||||
expat.pc
|
||||
|
||||
Executable
+42
@@ -0,0 +1,42 @@
|
||||
== How to build expat with cmake (experimental) ==
|
||||
|
||||
The cmake based buildsystem for expat works on Windows (cygwin, mingw, Visual
|
||||
Studio) and should work on all other platform cmake supports.
|
||||
|
||||
Assuming ~/expat-2.1.0 is the source directory of expat, add a subdirectory
|
||||
build and change into that directory:
|
||||
~/expat-2.1.0$ mkdir build && cd build
|
||||
~/expat-2.1.0/build$
|
||||
|
||||
From that directory, call cmake first, then call make, make test and
|
||||
make install in the usual way:
|
||||
~/expat-2.1.0/build$ cmake ..
|
||||
-- The C compiler identification is GNU
|
||||
-- The CXX compiler identification is GNU
|
||||
....
|
||||
-- Configuring done
|
||||
-- Generating done
|
||||
-- Build files have been written to: /home/patrick/expat-2.1.0/build
|
||||
|
||||
If you want to specify the install location for your files, append
|
||||
-DCMAKE_INSTALL_PREFIX=/your/install/path to the cmake call.
|
||||
|
||||
~/expat-2.1.0/build$ make && make test && make install
|
||||
Scanning dependencies of target expat
|
||||
[ 5%] Building C object CMakeFiles/expat.dir/lib/xmlparse.c.o
|
||||
[ 11%] Building C object CMakeFiles/expat.dir/lib/xmlrole.c.o
|
||||
....
|
||||
-- Installing: /usr/local/lib/pkgconfig/expat.pc
|
||||
-- Installing: /usr/local/bin/xmlwf
|
||||
-- Installing: /usr/local/share/man/man1/xmlwf.1
|
||||
|
||||
For Windows builds, you must make sure to call cmake from an environment where
|
||||
your compiler is reachable, that means either you call it from the
|
||||
Visual Studio Command Prompt or when using mingw, you must open a cmd.exe and
|
||||
make sure that gcc can be called. On Windows, you also might want to specify a
|
||||
special Generator for CMake:
|
||||
for Visual Studio builds do:
|
||||
cmake .. -G "Visual Studio 10" && vcexpress expat.sln
|
||||
for mingw builds do:
|
||||
cmake .. -G "MinGW Makefiles" -DCMAKE_INSTALL_PREFIX=D:\expat-install
|
||||
&& gmake && gmake install
|
||||
Executable
+111
@@ -0,0 +1,111 @@
|
||||
# This file is copyrighted under the BSD-license for buildsystem files of KDE
|
||||
# copyright 2010, Patrick Spendrin <ps_ml@gmx.de>
|
||||
|
||||
project(expat)
|
||||
|
||||
cmake_minimum_required(VERSION 2.6)
|
||||
set(PACKAGE_BUGREPORT "expat-bugs@libexpat.org")
|
||||
set(PACKAGE_NAME "expat")
|
||||
set(PACKAGE_VERSION "2.1.0")
|
||||
set(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}")
|
||||
set(PACKAGE_TARNAME "${PACKAGE_NAME}")
|
||||
|
||||
option(BUILD_tools "build the xmlwf tool for expat library" ON)
|
||||
option(BUILD_examples "build the examples for expat library" ON)
|
||||
option(BUILD_tests "build the tests for expat library" ON)
|
||||
option(BUILD_shared "build a shared expat library" ON)
|
||||
|
||||
# configuration options
|
||||
set(XML_CONTEXT_BYTES 1024 CACHE STRING "Define to specify how much context to retain around the current parse point")
|
||||
option(XML_DTD "Define to make parameter entity parsing functionality available" ON)
|
||||
option(XML_NS "Define to make XML Namespaces functionality available" ON)
|
||||
|
||||
if(XML_DTD)
|
||||
set(XML_DTD 1)
|
||||
else(XML_DTD)
|
||||
set(XML_DTD 0)
|
||||
endif(XML_DTD)
|
||||
if(XML_NS)
|
||||
set(XML_NS 1)
|
||||
else(XML_NS)
|
||||
set(XML_NS 0)
|
||||
endif(XML_NS)
|
||||
|
||||
if(BUILD_tests)
|
||||
enable_testing()
|
||||
endif(BUILD_tests)
|
||||
|
||||
include(ConfigureChecks.cmake)
|
||||
|
||||
include_directories(${CMAKE_BINARY_DIR} ${CMAKE_SOURCE_DIR}/lib)
|
||||
if(MSVC)
|
||||
add_definitions(-D_CRT_SECURE_NO_WARNINGS -wd4996)
|
||||
endif(MSVC)
|
||||
|
||||
set(expat_SRCS
|
||||
lib/xmlparse.c
|
||||
lib/xmlrole.c
|
||||
lib/xmltok.c
|
||||
lib/xmltok_impl.c
|
||||
lib/xmltok_ns.c
|
||||
)
|
||||
|
||||
if(WIN32 AND BUILD_shared)
|
||||
set(expat_SRCS ${expat_SRCS} lib/libexpat.def)
|
||||
endif(WIN32 AND BUILD_shared)
|
||||
|
||||
if(BUILD_shared)
|
||||
set(_SHARED SHARED)
|
||||
else(BUILD_shared)
|
||||
set(_SHARED STATIC)
|
||||
endif(BUILD_shared)
|
||||
|
||||
add_library(expat ${_SHARED} ${expat_SRCS})
|
||||
|
||||
install(TARGETS expat RUNTIME DESTINATION bin
|
||||
LIBRARY DESTINATION lib
|
||||
ARCHIVE DESTINATION lib)
|
||||
|
||||
set(prefix ${CMAKE_INSTALL_PREFIX})
|
||||
set(exec_prefix "\${prefix}/bin")
|
||||
set(libdir "\${prefix}/lib")
|
||||
set(includedir "\${prefix}/include")
|
||||
configure_file(expat.pc.in ${CMAKE_CURRENT_BINARY_DIR}/expat.pc)
|
||||
|
||||
install(FILES lib/expat.h lib/expat_external.h DESTINATION include)
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/expat.pc DESTINATION lib/pkgconfig)
|
||||
|
||||
|
||||
|
||||
if(BUILD_tools AND NOT WINCE)
|
||||
set(xmlwf_SRCS
|
||||
xmlwf/xmlwf.c
|
||||
xmlwf/xmlfile.c
|
||||
xmlwf/codepage.c
|
||||
xmlwf/readfilemap.c
|
||||
)
|
||||
|
||||
add_executable(xmlwf ${xmlwf_SRCS})
|
||||
target_link_libraries(xmlwf expat)
|
||||
install(TARGETS xmlwf DESTINATION bin)
|
||||
install(FILES doc/xmlwf.1 DESTINATION share/man/man1)
|
||||
endif(BUILD_tools AND NOT WINCE)
|
||||
|
||||
if(BUILD_examples)
|
||||
add_executable(elements examples/elements.c)
|
||||
target_link_libraries(elements expat)
|
||||
|
||||
add_executable(outline examples/outline.c)
|
||||
target_link_libraries(outline expat)
|
||||
endif(BUILD_examples)
|
||||
|
||||
if(BUILD_tests)
|
||||
## these are unittests that can be run on any platform
|
||||
add_executable(runtests tests/runtests.c tests/chardata.c tests/minicheck.c)
|
||||
target_link_libraries(runtests expat)
|
||||
add_test(runtests runtests)
|
||||
|
||||
add_executable(runtestspp tests/runtestspp.cpp tests/chardata.c tests/minicheck.c)
|
||||
target_link_libraries(runtestspp expat)
|
||||
add_test(runtestspp runtestspp)
|
||||
endif(BUILD_tests)
|
||||
@@ -1,4 +1,6 @@
|
||||
Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd
|
||||
and Clark Cooper
|
||||
Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006 Expat maintainers.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of this software and associated documentation files (the
|
||||
+205
@@ -0,0 +1,205 @@
|
||||
Release 2.1.0 Sat March 24 2012
|
||||
- Bug Fixes:
|
||||
#1742315: Harmful XML_ParserCreateNS suggestion.
|
||||
#2895533: CVE-2012-1147 - Resource leak in readfilemap.c.
|
||||
#1785430: Expat build fails on linux-amd64 with gcc version>=4.1 -O3.
|
||||
#1983953, 2517952, 2517962, 2649838:
|
||||
Build modifications using autoreconf instead of buildconf.sh.
|
||||
#2815947, #2884086: OBJEXT and EXEEXT support while building.
|
||||
#1990430: CVE-2009-3720 - Parser crash with special UTF-8 sequences.
|
||||
#2517938: xmlwf should return non-zero exit status if not well-formed.
|
||||
#2517946: Wrong statement about XMLDecl in xmlwf.1 and xmlwf.sgml.
|
||||
#2855609: Dangling positionPtr after error.
|
||||
#2894085: CVE-2009-3560 - Buffer over-read and crash in big2_toUtf8().
|
||||
#2958794: CVE-2012-1148 - Memory leak in poolGrow.
|
||||
#2990652: CMake support.
|
||||
#3010819: UNEXPECTED_STATE with a trailing "%" in entity value.
|
||||
#3206497: Unitialized memory returned from XML_Parse.
|
||||
#3287849: make check fails on mingw-w64.
|
||||
#3496608: CVE-2012-0876 - Hash DOS attack.
|
||||
- Patches:
|
||||
#1749198: pkg-config support.
|
||||
#3010222: Fix for bug #3010819.
|
||||
#3312568: CMake support.
|
||||
#3446384: Report byte offsets for attr names and values.
|
||||
- New Features / API changes:
|
||||
Added new API member XML_SetHashSalt() that allows setting an intial
|
||||
value (salt) for hash calculations. This is part of the fix for
|
||||
bug #3496608 to randomize hash parameters.
|
||||
When compiled with XML_ATTR_INFO defined, adds new API member
|
||||
XML_GetAttributeInfo() that allows retrieving the byte
|
||||
offsets for attribute names and values (patch #3446384).
|
||||
Added CMake build system.
|
||||
See bug #2990652 and patch #3312568.
|
||||
Added run-benchmark target to Makefile.in - relies on testdata module
|
||||
present in the same relative location as in the repository.
|
||||
|
||||
Release 2.0.1 Tue June 5 2007
|
||||
- Fixed bugs #1515266, #1515600: The character data handler's calling
|
||||
of XML_StopParser() was not handled properly; if the parser was
|
||||
stopped and the handler set to NULL, the parser would segfault.
|
||||
- Fixed bug #1690883: Expat failed on EBCDIC systems as it assumed
|
||||
some character constants to be ASCII encoded.
|
||||
- Minor cleanups of the test harness.
|
||||
- Fixed xmlwf bug #1513566: "out of memory" error on file size zero.
|
||||
- Fixed outline.c bug #1543233: missing a final XML_ParserFree() call.
|
||||
- Fixes and improvements for Windows platform:
|
||||
bugs #1409451, #1476160, #1548182, #1602769, #1717322.
|
||||
- Build fixes for various platforms:
|
||||
HP-UX, Tru64, Solaris 9: patch #1437840, bug #1196180.
|
||||
All Unix: #1554618 (refreshed config.sub/config.guess).
|
||||
#1490371, #1613457: support both, DESTDIR and INSTALL_ROOT,
|
||||
without relying on GNU-Make specific features.
|
||||
#1647805: Patched configure.in to work better with Intel compiler.
|
||||
- Fixes to Makefile.in to have make check work correctly:
|
||||
bugs #1408143, #1535603, #1536684.
|
||||
- Added Open Watcom support: patch #1523242.
|
||||
|
||||
Release 2.0.0 Wed Jan 11 2006
|
||||
- We no longer use the "check" library for C unit testing; we
|
||||
always use the (partial) internal implementation of the API.
|
||||
- Report XML_NS setting via XML_GetFeatureList().
|
||||
- Fixed headers for use from C++.
|
||||
- XML_GetCurrentLineNumber() and XML_GetCurrentColumnNumber()
|
||||
now return unsigned integers.
|
||||
- Added XML_LARGE_SIZE switch to enable 64-bit integers for
|
||||
byte indexes and line/column numbers.
|
||||
- Updated to use libtool 1.5.22 (the most recent).
|
||||
- Added support for AmigaOS.
|
||||
- Some mostly minor bug fixes. SF issues include: #1006708,
|
||||
#1021776, #1023646, #1114960, #1156398, #1221160, #1271642.
|
||||
|
||||
Release 1.95.8 Fri Jul 23 2004
|
||||
- Major new feature: suspend/resume. Handlers can now request
|
||||
that a parse be suspended for later resumption or aborted
|
||||
altogether. See "Temporarily Stopping Parsing" in the
|
||||
documentation for more details.
|
||||
- Some mostly minor bug fixes, but compilation should no
|
||||
longer generate warnings on most platforms. SF issues
|
||||
include: #827319, #840173, #846309, #888329, #896188, #923913,
|
||||
#928113, #961698, #985192.
|
||||
|
||||
Release 1.95.7 Mon Oct 20 2003
|
||||
- Fixed enum XML_Status issue (reported on SourceForge many
|
||||
times), so compilers that are properly picky will be happy.
|
||||
- Introduced an XMLCALL macro to control the calling
|
||||
convention used by the Expat API; this macro should be used
|
||||
to annotate prototypes and definitions of callback
|
||||
implementations in code compiled with a calling convention
|
||||
other than the default convention for the host platform.
|
||||
- Improved ability to build without the configure-generated
|
||||
expat_config.h header. This is useful for applications
|
||||
which embed Expat rather than linking in the library.
|
||||
- Fixed a variety of bugs: see SF issues #458907, #609603,
|
||||
#676844, #679754, #692878, #692964, #695401, #699323, #699487,
|
||||
#820946.
|
||||
- Improved hash table lookups.
|
||||
- Added more regression tests and improved documentation.
|
||||
|
||||
Release 1.95.6 Tue Jan 28 2003
|
||||
- Added XML_FreeContentModel().
|
||||
- Added XML_MemMalloc(), XML_MemRealloc(), XML_MemFree().
|
||||
- Fixed a variety of bugs: see SF issues #615606, #616863,
|
||||
#618199, #653180, #673791.
|
||||
- Enhanced the regression test suite.
|
||||
- Man page improvements: includes SF issue #632146.
|
||||
|
||||
Release 1.95.5 Fri Sep 6 2002
|
||||
- Added XML_UseForeignDTD() for improved SAX2 support.
|
||||
- Added XML_GetFeatureList().
|
||||
- Defined XML_Bool type and the values XML_TRUE and XML_FALSE.
|
||||
- Use an incomplete struct instead of a void* for the parser
|
||||
(may not retain).
|
||||
- Fixed UTF-8 decoding bug that caused legal UTF-8 to be rejected.
|
||||
- Finally fixed bug where default handler would report DTD
|
||||
events that were already handled by another handler.
|
||||
Initial patch contributed by Darryl Miles.
|
||||
- Removed unnecessary DllMain() function that caused static
|
||||
linking into a DLL to be difficult.
|
||||
- Added VC++ projects for building static libraries.
|
||||
- Reduced line-length for all source code and headers to be
|
||||
no longer than 80 characters, to help with AS/400 support.
|
||||
- Reduced memory copying during parsing (SF patch #600964).
|
||||
- Fixed a variety of bugs: see SF issues #580793, #434664,
|
||||
#483514, #580503, #581069, #584041, #584183, #584832, #585537,
|
||||
#596555, #596678, #598352, #598944, #599715, #600479, #600971.
|
||||
|
||||
Release 1.95.4 Fri Jul 12 2002
|
||||
- Added support for VMS, contributed by Craig Berry. See
|
||||
vms/README.vms for more information.
|
||||
- Added Mac OS (classic) support, with a makefile for MPW,
|
||||
contributed by Thomas Wegner and Daryle Walker.
|
||||
- Added Borland C++ Builder 5 / BCC 5.5 support, contributed
|
||||
by Patrick McConnell (SF patch #538032).
|
||||
- Fixed a variety of bugs: see SF issues #441449, #563184,
|
||||
#564342, #566334, #566901, #569461, #570263, #575168, #579196.
|
||||
- Made skippedEntityHandler conform to SAX2 (see source comment)
|
||||
- Re-implemented WFC: Entity Declared from XML 1.0 spec and
|
||||
added a new error "entity declared in parameter entity":
|
||||
see SF bug report #569461 and SF patch #578161
|
||||
- Re-implemented section 5.1 from XML 1.0 spec:
|
||||
see SF bug report #570263 and SF patch #578161
|
||||
|
||||
Release 1.95.3 Mon Jun 3 2002
|
||||
- Added a project to the MSVC workspace to create a wchar_t
|
||||
version of the library; the DLLs are named libexpatw.dll.
|
||||
- Changed the name of the Windows DLLs from expat.dll to
|
||||
libexpat.dll; this fixes SF bug #432456.
|
||||
- Added the XML_ParserReset() API function.
|
||||
- Fixed XML_SetReturnNSTriplet() to work for element names.
|
||||
- Made the XML_UNICODE builds usable (thanks, Karl!).
|
||||
- Allow xmlwf to read from standard input.
|
||||
- Install a man page for xmlwf on Unix systems.
|
||||
- Fixed many bugs; see SF bug reports #231864, #461380, #464837,
|
||||
#466885, #469226, #477667, #484419, #487840, #494749, #496505,
|
||||
#547350. Other bugs which we can't test as easily may also
|
||||
have been fixed, especially in the area of build support.
|
||||
|
||||
Release 1.95.2 Fri Jul 27 2001
|
||||
- More changes to make MSVC happy with the build; add a single
|
||||
workspace to support both the library and xmlwf application.
|
||||
- Added a Windows installer for Windows users; includes
|
||||
xmlwf.exe.
|
||||
- Added compile-time constants that can be used to determine the
|
||||
Expat version
|
||||
- Removed a lot of GNU-specific dependencies to aide portability
|
||||
among the various Unix flavors.
|
||||
- Fix the UTF-8 BOM bug.
|
||||
- Cleaned up warning messages for several compilers.
|
||||
- Added the -Wall, -Wstrict-prototypes options for GCC.
|
||||
|
||||
Release 1.95.1 Sun Oct 22 15:11:36 EDT 2000
|
||||
- Changes to get expat to build under Microsoft compiler
|
||||
- Removed all aborts and instead return an UNEXPECTED_STATE error.
|
||||
- Fixed a bug where a stray '%' in an entity value would cause an
|
||||
abort.
|
||||
- Defined XML_SetEndNamespaceDeclHandler. Thanks to Darryl Miles for
|
||||
finding this oversight.
|
||||
- Changed default patterns in lib/Makefile.in to fit non-GNU makes
|
||||
Thanks to robin@unrated.net for reporting and providing an
|
||||
account to test on.
|
||||
- The reference had the wrong label for XML_SetStartNamespaceDecl.
|
||||
Reported by an anonymous user.
|
||||
|
||||
Release 1.95.0 Fri Sep 29 2000
|
||||
- XML_ParserCreate_MM
|
||||
Allows you to set a memory management suite to replace the
|
||||
standard malloc,realloc, and free.
|
||||
- XML_SetReturnNSTriplet
|
||||
If you turn this feature on when namespace processing is in
|
||||
effect, then qualified, prefixed element and attribute names
|
||||
are returned as "uri|name|prefix" where '|' is whatever
|
||||
separator character is used in namespace processing.
|
||||
- Merged in features from perl-expat
|
||||
o XML_SetElementDeclHandler
|
||||
o XML_SetAttlistDeclHandler
|
||||
o XML_SetXmlDeclHandler
|
||||
o XML_SetEntityDeclHandler
|
||||
o StartDoctypeDeclHandler takes 3 additional parameters:
|
||||
sysid, pubid, has_internal_subset
|
||||
o Many paired handler setters (like XML_SetElementHandler)
|
||||
now have corresponding individual handler setters
|
||||
o XML_GetInputContext for getting the input context of
|
||||
the current parse position.
|
||||
- Added reference material
|
||||
- Packaged into a distribution that builds a sharable library
|
||||
Executable
+44
@@ -0,0 +1,44 @@
|
||||
include(CheckIncludeFile)
|
||||
include(CheckIncludeFiles)
|
||||
include(CheckFunctionExists)
|
||||
include(CheckSymbolExists)
|
||||
include(TestBigEndian)
|
||||
|
||||
check_include_file("dlfcn.h" HAVE_DLFCN_H)
|
||||
check_include_file("fcntl.h" HAVE_FCNTL_H)
|
||||
check_include_file("inttypes.h" HAVE_INTTYPES_H)
|
||||
check_include_file("memory.h" HAVE_MEMORY_H)
|
||||
check_include_file("stdint.h" HAVE_STDINT_H)
|
||||
check_include_file("stdlib.h" HAVE_STDLIB_H)
|
||||
check_include_file("strings.h" HAVE_STRINGS_H)
|
||||
check_include_file("string.h" HAVE_STRING_H)
|
||||
check_include_file("sys/stat.h" HAVE_SYS_STAT_H)
|
||||
check_include_file("sys/types.h" HAVE_SYS_TYPES_H)
|
||||
check_include_file("unistd.h" HAVE_UNISTD_H)
|
||||
|
||||
check_function_exists("getpagesize" HAVE_GETPAGESIZE)
|
||||
check_function_exists("bcopy" HAVE_BCOPY)
|
||||
check_symbol_exists("memmove" "string.h" HAVE_MEMMOVE)
|
||||
check_function_exists("mmap" HAVE_MMAP)
|
||||
|
||||
#/* Define to 1 if you have the ANSI C header files. */
|
||||
check_include_files("stdlib.h;stdarg.h;string.h;float.h" STDC_HEADERS)
|
||||
|
||||
test_big_endian(WORDS_BIGENDIAN)
|
||||
#/* 1234 = LIL_ENDIAN, 4321 = BIGENDIAN */
|
||||
if(WORDS_BIGENDIAN)
|
||||
set(BYTEORDER 4321)
|
||||
else(WORDS_BIGENDIAN)
|
||||
set(BYTEORDER 1234)
|
||||
endif(WORDS_BIGENDIAN)
|
||||
|
||||
if(HAVE_SYS_TYPES_H)
|
||||
check_symbol_exists("off_t" "sys/types.h" OFF_T)
|
||||
check_symbol_exists("size_t" "sys/types.h" SIZE_T)
|
||||
else(HAVE_SYS_TYPES_H)
|
||||
set(OFF_T "long")
|
||||
set(SIZE_T "unsigned")
|
||||
endif(HAVE_SYS_TYPES_H)
|
||||
|
||||
configure_file(expat_config.h.cmake expat_config.h)
|
||||
add_definitions(-DHAVE_EXPAT_CONFIG_H)
|
||||
+141
@@ -0,0 +1,141 @@
|
||||
amiga/launch.c
|
||||
amiga/expat_68k.c
|
||||
amiga/expat_68k.h
|
||||
amiga/expat_68k_handler_stubs.c
|
||||
amiga/expat_base.h
|
||||
amiga/expat_vectors.c
|
||||
amiga/expat_lib.c
|
||||
amiga/expat.xml
|
||||
amiga/README.txt
|
||||
amiga/Makefile
|
||||
amiga/include/proto/expat.h
|
||||
amiga/include/libraries/expat.h
|
||||
amiga/include/interfaces/expat.h
|
||||
amiga/include/inline4/expat.h
|
||||
bcb5/README.txt
|
||||
bcb5/all_projects.bpg
|
||||
bcb5/elements.bpf
|
||||
bcb5/elements.bpr
|
||||
bcb5/elements.mak
|
||||
bcb5/expat.bpf
|
||||
bcb5/expat.bpr
|
||||
bcb5/expat.mak
|
||||
bcb5/expat_static.bpf
|
||||
bcb5/expat_static.bpr
|
||||
bcb5/expat_static.mak
|
||||
bcb5/expatw.bpf
|
||||
bcb5/expatw.bpr
|
||||
bcb5/expatw.mak
|
||||
bcb5/expatw_static.bpf
|
||||
bcb5/expatw_static.bpr
|
||||
bcb5/expatw_static.mak
|
||||
bcb5/libexpat_mtd.def
|
||||
bcb5/libexpatw_mtd.def
|
||||
bcb5/makefile.mak
|
||||
bcb5/outline.bpf
|
||||
bcb5/outline.bpr
|
||||
bcb5/outline.mak
|
||||
bcb5/setup.bat
|
||||
bcb5/xmlwf.bpf
|
||||
bcb5/xmlwf.bpr
|
||||
bcb5/xmlwf.mak
|
||||
doc/expat.png
|
||||
doc/reference.html
|
||||
doc/style.css
|
||||
doc/valid-xhtml10.png
|
||||
doc/xmlwf.1
|
||||
doc/xmlwf.sgml
|
||||
CMakeLists.txt
|
||||
CMake.README
|
||||
COPYING
|
||||
Changes
|
||||
ConfigureChecks.cmake
|
||||
MANIFEST
|
||||
Makefile.in
|
||||
README
|
||||
configure
|
||||
configure.in
|
||||
expat_config.h.in
|
||||
expat_config.h.cmake
|
||||
expat.pc.in
|
||||
expat.dsw
|
||||
aclocal.m4
|
||||
conftools/PrintPath
|
||||
conftools/ac_c_bigendian_cross.m4
|
||||
conftools/expat.m4
|
||||
conftools/get-version.sh
|
||||
conftools/mkinstalldirs
|
||||
conftools/config.guess
|
||||
conftools/config.sub
|
||||
conftools/install-sh
|
||||
conftools/ltmain.sh
|
||||
m4/libtool.m4
|
||||
m4/ltversion.m4
|
||||
m4/ltoptions.m4
|
||||
m4/ltsugar.m4
|
||||
m4/lt~obsolete.m4
|
||||
examples/elements.c
|
||||
examples/elements.dsp
|
||||
examples/outline.c
|
||||
examples/outline.dsp
|
||||
lib/Makefile.MPW
|
||||
lib/amigaconfig.h
|
||||
lib/ascii.h
|
||||
lib/asciitab.h
|
||||
lib/expat.dsp
|
||||
lib/expat.h
|
||||
lib/expat_external.h
|
||||
lib/expat_static.dsp
|
||||
lib/expatw.dsp
|
||||
lib/expatw_static.dsp
|
||||
lib/iasciitab.h
|
||||
lib/internal.h
|
||||
lib/latin1tab.h
|
||||
lib/libexpat.def
|
||||
lib/libexpatw.def
|
||||
lib/macconfig.h
|
||||
lib/nametab.h
|
||||
lib/utf8tab.h
|
||||
lib/winconfig.h
|
||||
lib/xmlparse.c
|
||||
lib/xmlrole.c
|
||||
lib/xmlrole.h
|
||||
lib/xmltok.c
|
||||
lib/xmltok.h
|
||||
lib/xmltok_impl.c
|
||||
lib/xmltok_impl.h
|
||||
lib/xmltok_ns.c
|
||||
tests/benchmark/README.txt
|
||||
tests/benchmark/benchmark.c
|
||||
tests/benchmark/benchmark.dsp
|
||||
tests/benchmark/benchmark.dsw
|
||||
tests/README.txt
|
||||
tests/chardata.c
|
||||
tests/chardata.h
|
||||
tests/minicheck.c
|
||||
tests/minicheck.h
|
||||
tests/runtests.c
|
||||
tests/runtestspp.cpp
|
||||
tests/xmltest.sh
|
||||
vms/README.vms
|
||||
vms/descrip.mms
|
||||
vms/expat_config.h
|
||||
win32/MANIFEST.txt
|
||||
win32/README.txt
|
||||
win32/expat.iss
|
||||
xmlwf/codepage.c
|
||||
xmlwf/codepage.h
|
||||
xmlwf/ct.c
|
||||
xmlwf/filemap.h
|
||||
xmlwf/readfilemap.c
|
||||
xmlwf/unixfilemap.c
|
||||
xmlwf/win32filemap.c
|
||||
xmlwf/xmlfile.c
|
||||
xmlwf/xmlfile.h
|
||||
xmlwf/xmlmime.c
|
||||
xmlwf/xmlmime.h
|
||||
xmlwf/xmltchar.h
|
||||
xmlwf/xmlurl.h
|
||||
xmlwf/xmlwf.c
|
||||
xmlwf/xmlwf.dsp
|
||||
xmlwf/xmlwin32url.cxx
|
||||
@@ -1,46 +0,0 @@
|
||||
CC=gcc
|
||||
# If you know what your system's byte order is, define XML_BYTE_ORDER:
|
||||
# use -DXML_BYTE_ORDER=12 for little-endian byte order;
|
||||
# use -DXML_BYTE_ORDER=21 for big-endian (network) byte order.
|
||||
# -DXML_NS adds support for checking of lexical aspects of XML namespaces spec
|
||||
# -DXML_MIN_SIZE makes a smaller but slower parser
|
||||
# -DXML_DTD adds full support for parsing DTDs
|
||||
CFLAGS=-Wall -O2 -Ixmltok -Ixmlparse -DXML_NS -DXML_DTD
|
||||
AR=ar
|
||||
# Use one of the next two lines; unixfilemap is better if it works.
|
||||
FILEMAP_OBJ=xmlwf/unixfilemap.o
|
||||
#FILEMAP_OBJ=xmlwf/readfilemap.o
|
||||
LIBOBJS=xmltok/xmltok.o \
|
||||
xmltok/xmlrole.o \
|
||||
xmlparse/xmlparse.o
|
||||
|
||||
OBJS=xmlwf/xmlwf.o \
|
||||
xmlwf/xmlfile.o \
|
||||
xmlwf/codepage.o \
|
||||
$(FILEMAP_OBJ)
|
||||
LIB=xmlparse/libexpat.a
|
||||
EXE=
|
||||
XMLWF=xmlwf/xmlwf$(EXE)
|
||||
|
||||
all: $(XMLWF)
|
||||
|
||||
$(XMLWF): $(OBJS) $(LIB)
|
||||
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIB)
|
||||
|
||||
$(LIB): $(LIBOBJS)
|
||||
$(AR) rc $(LIB) $(LIBOBJS)
|
||||
|
||||
clean:
|
||||
rm -f $(OBJS) $(LIBOBJS) $(LIB) $(XMLWF)
|
||||
|
||||
xmltok/nametab.h: gennmtab/gennmtab$(EXE)
|
||||
rm -f $@
|
||||
gennmtab/gennmtab$(EXE) >$@
|
||||
|
||||
gennmtab/gennmtab$(EXE): gennmtab/gennmtab.c
|
||||
$(CC) $(CFLAGS) -o $@ gennmtab/gennmtab.c
|
||||
|
||||
xmltok/xmltok.o: xmltok/nametab.h
|
||||
|
||||
.c.o:
|
||||
$(CC) $(CFLAGS) -c -o $@ $<
|
||||
@@ -0,0 +1,201 @@
|
||||
################################################################
|
||||
# Process this file with top-level configure script to produce Makefile
|
||||
#
|
||||
# Copyright 2000 Clark Cooper
|
||||
#
|
||||
# This file is part of EXPAT.
|
||||
#
|
||||
# EXPAT is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the License (based on the MIT/X license) contained
|
||||
# in the file COPYING that comes with this distribution.
|
||||
#
|
||||
# EXPAT 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 EXPAT.
|
||||
#
|
||||
|
||||
SHELL = @SHELL@
|
||||
|
||||
srcdir = @srcdir@
|
||||
top_srcdir = @top_srcdir@
|
||||
VPATH = @srcdir@
|
||||
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
|
||||
bindir = @bindir@
|
||||
libdir = @libdir@
|
||||
includedir = @includedir@
|
||||
man1dir = @mandir@/man1
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
|
||||
top_builddir = .
|
||||
|
||||
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/conftools/mkinstalldirs
|
||||
|
||||
MANFILE = $(srcdir)/doc/xmlwf.1
|
||||
APIHEADER = $(srcdir)/lib/expat.h $(srcdir)/lib/expat_external.h
|
||||
LIBRARY = libexpat.la
|
||||
|
||||
DESTDIR = $(INSTALL_ROOT)
|
||||
|
||||
default: buildlib xmlwf/xmlwf@EXEEXT@
|
||||
|
||||
buildlib: $(LIBRARY) expat.pc
|
||||
|
||||
all: $(LIBRARY) expat.pc xmlwf/xmlwf@EXEEXT@ examples/elements examples/outline
|
||||
|
||||
clean:
|
||||
cd lib && rm -f $(LIBRARY) *.@OBJEXT@ *.lo && rm -rf .libs _libs
|
||||
cd xmlwf && rm -f xmlwf *.@OBJEXT@ *.lo && rm -rf .libs _libs
|
||||
cd examples && rm -f elements outline *.@OBJEXT@ *.lo && rm -rf .libs _libs
|
||||
cd tests && rm -rf .libs runtests runtests.@OBJEXT@ runtestspp runtestspp.@OBJEXT@
|
||||
cd tests && rm -f chardata.@OBJEXT@ minicheck.@OBJEXT@
|
||||
rm -rf .libs libexpat.la
|
||||
rm -f examples/core tests/core xmlwf/core
|
||||
|
||||
clobber: clean
|
||||
|
||||
distclean: clean
|
||||
rm -f expat_config.h config.status config.log config.cache libtool
|
||||
rm -f Makefile expat.pc
|
||||
|
||||
extraclean: distclean
|
||||
rm -f expat_config.h.in configure
|
||||
rm -f aclocal.m4 m4/*
|
||||
rm -f conftools/ltmain.sh conftools/install-sh conftools/config.guess conftools/config.sub
|
||||
|
||||
check: tests/runtests tests/runtestspp
|
||||
tests/runtests
|
||||
tests/runtestspp
|
||||
|
||||
install: xmlwf/xmlwf@EXEEXT@ installlib
|
||||
$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir)
|
||||
$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) xmlwf/xmlwf@EXEEXT@ $(DESTDIR)$(bindir)/xmlwf
|
||||
$(INSTALL_DATA) $(MANFILE) $(DESTDIR)$(man1dir)
|
||||
|
||||
installlib: $(LIBRARY) $(APIHEADER) expat.pc
|
||||
$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir) $(DESTDIR)$(pkgconfigdir)
|
||||
$(LIBTOOL) --mode=install $(INSTALL) $(LIBRARY) $(DESTDIR)$(libdir)/$(LIBRARY)
|
||||
for FN in $(APIHEADER) ; do $(INSTALL_DATA) $$FN $(DESTDIR)$(includedir) ; done
|
||||
$(INSTALL_DATA) expat.pc $(DESTDIR)$(pkgconfigdir)/expat.pc
|
||||
|
||||
uninstall: uninstalllib
|
||||
$(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(bindir)/xmlwf@EXEEXT@
|
||||
rm -f $(DESTDIR)$(man1dir)/xmlwf.1
|
||||
|
||||
uninstalllib:
|
||||
$(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$(LIBRARY)
|
||||
rm -f $(DESTDIR)$(includedir)/expat.h
|
||||
rm -f $(DESTDIR)$(includedir)/expat_external.h
|
||||
rm -f $(DESTDIR)$(pkgconfigdir)/expat.pc
|
||||
|
||||
# for VPATH builds (invoked by configure)
|
||||
mkdir-init:
|
||||
@for d in lib xmlwf examples tests ; do \
|
||||
(mkdir $$d 2> /dev/null || test 1) ; \
|
||||
done
|
||||
|
||||
CC = @CC@
|
||||
CXX = @CXX@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
|
||||
INCLUDES = -I$(srcdir)/lib -I.
|
||||
LDFLAGS = @LDFLAGS@
|
||||
CPPFLAGS = @CPPFLAGS@ -DHAVE_EXPAT_CONFIG_H
|
||||
CFLAGS = @CFLAGS@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
VSNFLAG = -version-info @LIBCURRENT@:@LIBREVISION@:@LIBAGE@
|
||||
|
||||
### autoconf this?
|
||||
LTFLAGS = --silent
|
||||
|
||||
COMPILE = $(CC) $(INCLUDES) $(CFLAGS) $(DEFS) $(CPPFLAGS)
|
||||
CXXCOMPILE = $(CXX) $(INCLUDES) $(CXXFLAGS) $(DEFS) $(CPPFLAGS)
|
||||
LTCOMPILE = $(LIBTOOL) $(LTFLAGS) --mode=compile $(COMPILE)
|
||||
LINK_LIB = $(LIBTOOL) $(LTFLAGS) --mode=link $(COMPILE) -no-undefined $(VSNFLAG) -rpath $(libdir) $(LDFLAGS) -o $@
|
||||
LINK_EXE = $(LIBTOOL) $(LTFLAGS) --mode=link $(COMPILE) $(LDFLAGS) -o $@
|
||||
LINK_CXX_EXE = $(LIBTOOL) $(LTFLAGS) --mode=link $(CXXCOMPILE) $(LDFLAGS) -o $@
|
||||
|
||||
LIB_OBJS = lib/xmlparse.lo lib/xmltok.lo lib/xmlrole.lo
|
||||
$(LIBRARY): $(LIB_OBJS)
|
||||
$(LINK_LIB) $(LIB_OBJS)
|
||||
|
||||
expat.pc: $(top_builddir)/config.status
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $@
|
||||
|
||||
lib/xmlparse.lo: lib/xmlparse.c lib/expat.h lib/xmlrole.h lib/xmltok.h \
|
||||
$(top_builddir)/expat_config.h lib/expat_external.h lib/internal.h
|
||||
|
||||
lib/xmlrole.lo: lib/xmlrole.c lib/ascii.h lib/xmlrole.h \
|
||||
$(top_builddir)/expat_config.h lib/expat_external.h lib/internal.h
|
||||
|
||||
lib/xmltok.lo: lib/xmltok.c lib/xmltok_impl.c lib/xmltok_ns.c \
|
||||
lib/ascii.h lib/asciitab.h lib/iasciitab.h lib/latin1tab.h \
|
||||
lib/nametab.h lib/utf8tab.h lib/xmltok.h lib/xmltok_impl.h \
|
||||
$(top_builddir)/expat_config.h lib/expat_external.h lib/internal.h
|
||||
|
||||
|
||||
XMLWF_OBJS = xmlwf/xmlwf.@OBJEXT@ xmlwf/xmlfile.@OBJEXT@ xmlwf/codepage.@OBJEXT@ xmlwf/@FILEMAP@.@OBJEXT@
|
||||
xmlwf/xmlwf.@OBJEXT@: xmlwf/xmlwf.c
|
||||
xmlwf/xmlfile.@OBJEXT@: xmlwf/xmlfile.c
|
||||
xmlwf/codepage.@OBJEXT@: xmlwf/codepage.c
|
||||
xmlwf/@FILEMAP@.@OBJEXT@: xmlwf/@FILEMAP@.c
|
||||
xmlwf/xmlwf@EXEEXT@: $(XMLWF_OBJS) $(LIBRARY)
|
||||
$(LINK_EXE) $(XMLWF_OBJS) $(LIBRARY)
|
||||
|
||||
examples/elements.@OBJEXT@: examples/elements.c
|
||||
examples/elements: examples/elements.@OBJEXT@ $(LIBRARY)
|
||||
$(LINK_EXE) $< $(LIBRARY)
|
||||
|
||||
examples/outline.@OBJEXT@: examples/outline.c
|
||||
examples/outline: examples/outline.@OBJEXT@ $(LIBRARY)
|
||||
$(LINK_EXE) $< $(LIBRARY)
|
||||
|
||||
tests/chardata.@OBJEXT@: tests/chardata.c tests/chardata.h
|
||||
tests/minicheck.@OBJEXT@: tests/minicheck.c tests/minicheck.h
|
||||
tests/runtests.@OBJEXT@: tests/runtests.c tests/chardata.h
|
||||
tests/runtests: tests/runtests.@OBJEXT@ tests/chardata.@OBJEXT@ tests/minicheck.@OBJEXT@ $(LIBRARY)
|
||||
$(LINK_EXE) tests/runtests.@OBJEXT@ tests/chardata.@OBJEXT@ tests/minicheck.@OBJEXT@ $(LIBRARY)
|
||||
tests/runtestspp.@OBJEXT@: tests/runtestspp.cpp tests/runtests.c tests/chardata.h
|
||||
tests/runtestspp: tests/runtestspp.@OBJEXT@ tests/chardata.@OBJEXT@ tests/minicheck.@OBJEXT@ $(LIBRARY)
|
||||
$(LINK_CXX_EXE) tests/runtestspp.@OBJEXT@ tests/chardata.@OBJEXT@ tests/minicheck.@OBJEXT@ $(LIBRARY)
|
||||
|
||||
tests/benchmark/benchmark.@OBJEXT@: tests/benchmark/benchmark.c
|
||||
tests/benchmark/benchmark: tests/benchmark/benchmark.@OBJEXT@ $(LIBRARY)
|
||||
$(LINK_EXE) tests/benchmark/benchmark.@OBJEXT@ $(LIBRARY)
|
||||
|
||||
run-benchmark: tests/benchmark/benchmark
|
||||
tests/benchmark/benchmark@EXEEXT@ -n $(top_srcdir)/../testdata/largefiles/recset.xml 65535 3
|
||||
|
||||
tests/xmlts.zip:
|
||||
wget --output-document=tests/xmlts.zip \
|
||||
http://www.w3.org/XML/Test/xmlts20080827.zip
|
||||
|
||||
tests/XML-Test-Suite: tests/xmlts.zip
|
||||
cd tests && unzip -q xmlts.zip
|
||||
|
||||
run-xmltest: xmlwf/xmlwf@EXEEXT@ tests/XML-Test-Suite
|
||||
tests/xmltest.sh
|
||||
|
||||
.SUFFIXES: .c .cpp .lo .@OBJEXT@
|
||||
|
||||
.cpp.@OBJEXT@:
|
||||
$(CXXCOMPILE) -o $@ -c $<
|
||||
.c.@OBJEXT@:
|
||||
$(COMPILE) -o $@ -c $<
|
||||
.c.lo:
|
||||
$(LTCOMPILE) -o $@ -c $<
|
||||
|
||||
.PHONY: buildlib all \
|
||||
clean distclean extraclean maintainer-clean \
|
||||
dist distdir \
|
||||
install uninstall
|
||||
+139
@@ -0,0 +1,139 @@
|
||||
|
||||
Expat, Release 2.1.0
|
||||
|
||||
This is Expat, a C library for parsing XML, written by James Clark.
|
||||
Expat is a stream-oriented XML parser. This means that you register
|
||||
handlers with the parser before starting the parse. These handlers
|
||||
are called when the parser discovers the associated structures in the
|
||||
document being parsed. A start tag is an example of the kind of
|
||||
structures for which you may register handlers.
|
||||
|
||||
Windows users should use the expat_win32bin package, which includes
|
||||
both precompiled libraries and executables, and source code for
|
||||
developers.
|
||||
|
||||
Expat is free software. You may copy, distribute, and modify it under
|
||||
the terms of the License contained in the file COPYING distributed
|
||||
with this package. This license is the same as the MIT/X Consortium
|
||||
license.
|
||||
|
||||
Versions of Expat that have an odd minor version (the middle number in
|
||||
the release above), are development releases and should be considered
|
||||
as beta software. Releases with even minor version numbers are
|
||||
intended to be production grade software.
|
||||
|
||||
If you are building Expat from a check-out from the CVS repository,
|
||||
you need to run a script that generates the configure script using the
|
||||
GNU autoconf and libtool tools. To do this, you need to have
|
||||
autoconf 2.58 or newer. Run the script like this:
|
||||
|
||||
./buildconf.sh
|
||||
|
||||
Once this has been done, follow the same instructions as for building
|
||||
from a source distribution.
|
||||
|
||||
To build Expat from a source distribution, you first run the
|
||||
configuration shell script in the top level distribution directory:
|
||||
|
||||
./configure
|
||||
|
||||
There are many options which you may provide to configure (which you
|
||||
can discover by running configure with the --help option). But the
|
||||
one of most interest is the one that sets the installation directory.
|
||||
By default, the configure script will set things up to install
|
||||
libexpat into /usr/local/lib, expat.h into /usr/local/include, and
|
||||
xmlwf into /usr/local/bin. If, for example, you'd prefer to install
|
||||
into /home/me/mystuff/lib, /home/me/mystuff/include, and
|
||||
/home/me/mystuff/bin, you can tell configure about that with:
|
||||
|
||||
./configure --prefix=/home/me/mystuff
|
||||
|
||||
Another interesting option is to enable 64-bit integer support for
|
||||
line and column numbers and the over-all byte index:
|
||||
|
||||
./configure CPPFLAGS=-DXML_LARGE_SIZE
|
||||
|
||||
However, such a modification would be a breaking change to the ABI
|
||||
and is therefore not recommended for general use - e.g. as part of
|
||||
a Linux distribution - but rather for builds with special requirements.
|
||||
|
||||
After running the configure script, the "make" command will build
|
||||
things and "make install" will install things into their proper
|
||||
location. Have a look at the "Makefile" to learn about additional
|
||||
"make" options. Note that you need to have write permission into
|
||||
the directories into which things will be installed.
|
||||
|
||||
If you are interested in building Expat to provide document
|
||||
information in UTF-16 encoding rather than the default UTF-8, follow
|
||||
these instructions (after having run "make distclean"):
|
||||
|
||||
1. For UTF-16 output as unsigned short (and version/error
|
||||
strings as char), run:
|
||||
|
||||
./configure CPPFLAGS=-DXML_UNICODE
|
||||
|
||||
For UTF-16 output as wchar_t (incl. version/error strings),
|
||||
run:
|
||||
|
||||
./configure CFLAGS="-g -O2 -fshort-wchar" \
|
||||
CPPFLAGS=-DXML_UNICODE_WCHAR_T
|
||||
|
||||
2. Edit the MakeFile, changing:
|
||||
|
||||
LIBRARY = libexpat.la
|
||||
|
||||
to:
|
||||
|
||||
LIBRARY = libexpatw.la
|
||||
|
||||
(Note the additional "w" in the library name.)
|
||||
|
||||
3. Run "make buildlib" (which builds the library only).
|
||||
Or, to save step 2, run "make buildlib LIBRARY=libexpatw.la".
|
||||
|
||||
4. Run "make installlib" (which installs the library only).
|
||||
Or, if step 2 was omitted, run "make installlib LIBRARY=libexpatw.la".
|
||||
|
||||
Using DESTDIR or INSTALL_ROOT is enabled, with INSTALL_ROOT being the default
|
||||
value for DESTDIR, and the rest of the make file using only DESTDIR.
|
||||
It works as follows:
|
||||
$ make install DESTDIR=/path/to/image
|
||||
overrides the in-makefile set DESTDIR, while both
|
||||
$ INSTALL_ROOT=/path/to/image make install
|
||||
$ make install INSTALL_ROOT=/path/to/image
|
||||
use DESTDIR=$(INSTALL_ROOT), even if DESTDIR eventually is defined in the
|
||||
environment, because variable-setting priority is
|
||||
1) commandline
|
||||
2) in-makefile
|
||||
3) environment
|
||||
|
||||
Note: This only applies to the Expat library itself, building UTF-16 versions
|
||||
of xmlwf and the tests is currently not supported.
|
||||
|
||||
Note for Solaris users: The "ar" command is usually located in
|
||||
"/usr/ccs/bin", which is not in the default PATH. You will need to
|
||||
add this to your path for the "make" command, and probably also switch
|
||||
to GNU make (the "make" found in /usr/ccs/bin does not seem to work
|
||||
properly -- appearantly it does not understand .PHONY directives). If
|
||||
you're using ksh or bash, use this command to build:
|
||||
|
||||
PATH=/usr/ccs/bin:$PATH make
|
||||
|
||||
When using Expat with a project using autoconf for configuration, you
|
||||
can use the probing macro in conftools/expat.m4 to determine how to
|
||||
include Expat. See the comments at the top of that file for more
|
||||
information.
|
||||
|
||||
A reference manual is available in the file doc/reference.html in this
|
||||
distribution.
|
||||
|
||||
The homepage for this project is http://www.libexpat.org/. There
|
||||
are links there to connect you to the bug reports page. If you need
|
||||
to report a bug when you don't have access to a browser, you may also
|
||||
send a bug report by email to expat-bugs@mail.libexpat.org.
|
||||
|
||||
Discussion related to the direction of future expat development takes
|
||||
place on expat-discuss@mail.libexpat.org. Archives of this list and
|
||||
other Expat-related lists may be found at:
|
||||
|
||||
http://mail.libexpat.org/mailman/listinfo/
|
||||
@@ -0,0 +1,336 @@
|
||||
#
|
||||
# Makefile for AmigaOS
|
||||
#
|
||||
|
||||
.PHONY: help all check clean package
|
||||
.PHONY: clib2 newlib library so
|
||||
|
||||
vpath %.c ../lib ../examples ../xmlwf ../tests ../tests/benchmark
|
||||
vpath %.h ../lib ../tests
|
||||
|
||||
#############################################################################
|
||||
|
||||
help:
|
||||
@echo "Requires:"
|
||||
@echo " AmigaOS 4.x"
|
||||
@echo " SDK 53.13"
|
||||
@echo ""
|
||||
@echo "Targets:"
|
||||
@echo " all - make libraries, xmlwf, examples and runs tests"
|
||||
@echo " install - install expat libraries and tools into SDK"
|
||||
@echo " clean - clean object files"
|
||||
@echo " check - run all the tests"
|
||||
@echo " package - prepare distribution archive"
|
||||
|
||||
all: clib2 newlib library so check
|
||||
|
||||
clib2: clib2/libexpat.a clib2/xmlwf clib2/elements clib2/outline clib2/runtests clib2/benchmark
|
||||
|
||||
newlib: newlib/libexpat.a newlib/xmlwf newlib/elements newlib/outline newlib/runtests newlib/benchmark
|
||||
|
||||
library: libs/expat.library libs/xmlwf libs/elements libs/outline libs/runtests libs/benchmark
|
||||
|
||||
so: so/libexpat.so so/xmlwf so/elements so/outline so/runtests so/benchmark
|
||||
|
||||
check: clib2/runtests newlib/runtests libs/runtests so/runtests
|
||||
clib2/runtests
|
||||
newlib/runtests
|
||||
libs/runtests
|
||||
so/runtests
|
||||
|
||||
clean:
|
||||
-delete clib2/#?.o quiet
|
||||
-delete newlib/#?.o quiet
|
||||
-delete libs/#?.o quiet
|
||||
-delete so/#?.o quiet
|
||||
|
||||
package:
|
||||
$(MAKE) all
|
||||
-delete T:expat all force quiet
|
||||
makedir all T:expat/Workbench/Libs
|
||||
copy clone libs/expat.library T:expat/Workbench/Libs
|
||||
makedir all T:expat/Workbench/SObjs
|
||||
copy clone so/libexpat.so T:expat/Workbench/SObjs
|
||||
makedir all T:expat/SDK/Local/C
|
||||
copy clone libs/xmlwf T:expat/SDK/Local/C
|
||||
makedir all T:expat/SDK/Local/clib2/lib
|
||||
copy clone clib2/libexpat.a T:expat/SDK/Local/clib2/lib
|
||||
makedir all T:expat/SDK/Local/newlib/lib
|
||||
copy clone newlib/libexpat.a T:expat/SDK/Local/newlib/lib
|
||||
makedir all T:expat/SDK/Local/common/include
|
||||
copy clone /lib/expat.h /lib/expat_external.h T:expat/SDK/Local/common/include
|
||||
makedir all T:expat/SDK/Include/include_h/inline4
|
||||
copy clone include/inline4/expat.h T:expat/SDK/Include/include_h/inline4
|
||||
makedir all T:expat/SDK/Include/include_h/interfaces
|
||||
copy clone include/interfaces/expat.h T:expat/SDK/Include/include_h/interfaces
|
||||
makedir all T:expat/SDK/Include/include_h/libraries
|
||||
copy clone include/libraries/expat.h T:expat/SDK/Include/include_h/libraries
|
||||
makedir all T:expat/SDK/Include/include_h/proto
|
||||
copy clone include/proto/expat.h T:expat/SDK/Include/include_h/proto
|
||||
makedir all T:expat/SDK/Documentation/Libs/Expat
|
||||
copy clone /COPYING T:expat/SDK/Documentation/Libs/Expat
|
||||
copy clone /README T:expat/SDK/Documentation/Libs/Expat
|
||||
copy clone README.txt T:expat/SDK/Documentation/Libs/Expat/README.AmigaOS
|
||||
-delete expat.lha
|
||||
lha -r a expat.lha T:expat
|
||||
|
||||
#############################################################################
|
||||
|
||||
CC := gcc
|
||||
LIBTOOL := ar
|
||||
STRIP := strip
|
||||
|
||||
CFLAGS := -DNDEBUG -O3
|
||||
LTFLAGS := -crs
|
||||
STRIPFLAGS := -R.comment
|
||||
|
||||
#############################################################################
|
||||
|
||||
clib2/libexpat.a: clib2/xmlparse.o clib2/xmltok.o clib2/xmlrole.o
|
||||
$(LIBTOOL) $(LTFLAGS) $@ $^
|
||||
protect $@ -e
|
||||
|
||||
clib2/xmlparse.o: xmlparse.c expat.h xmlrole.h xmltok.h \
|
||||
expat_external.h internal.h amigaconfig.h
|
||||
|
||||
clib2/xmlrole.o: xmlrole.c ascii.h xmlrole.h expat_external.h \
|
||||
internal.h amigaconfig.h
|
||||
|
||||
clib2/xmltok.o: xmltok.c xmltok_impl.c xmltok_ns.c ascii.h asciitab.h \
|
||||
iasciitab.h latin1tab.h nametab.h utf8tab.h xmltok.h xmltok_impl.h \
|
||||
expat_external.h internal.h amigaconfig.h
|
||||
|
||||
#############################################################################
|
||||
|
||||
clib2/xmlwf: clib2/xmlwf.o clib2/xmlfile.o clib2/codepage.o clib2/readfilemap.o
|
||||
$(CC) -mcrt=clib2 $^ -o $@ clib2/libexpat.a
|
||||
$(STRIP) $(STRIPFLAGS) $@
|
||||
|
||||
clib2/xmlwf.o: xmlwf.c
|
||||
|
||||
clib2/xmlfile.o: xmlfile.c
|
||||
|
||||
clib2/codepage.o: codepage.c
|
||||
|
||||
clib2/readfilemap.o: readfilemap.c
|
||||
|
||||
#############################################################################
|
||||
|
||||
clib2/elements: clib2/elements.o
|
||||
$(CC) -mcrt=clib2 $^ -o $@ clib2/libexpat.a
|
||||
$(STRIP) $(STRIPFLAGS) $@
|
||||
|
||||
clib2/elements.o: elements.c
|
||||
|
||||
#############################################################################
|
||||
|
||||
clib2/outline: clib2/outline.o
|
||||
$(CC) -mcrt=clib2 $^ -o $@ clib2/libexpat.a
|
||||
$(STRIP) $(STRIPFLAGS) $@
|
||||
|
||||
clib2/outline.o: outline.c
|
||||
|
||||
#############################################################################
|
||||
|
||||
clib2/runtests: clib2/runtests.o clib2/chardata.o clib2/minicheck.o
|
||||
$(CC) -mcrt=clib2 $^ -o $@ clib2/libexpat.a
|
||||
|
||||
clib2/chardata.o: chardata.c chardata.h
|
||||
|
||||
clib2/minicheck.o: minicheck.c minicheck.h
|
||||
|
||||
clib2/runtests.o: runtests.c chardata.h
|
||||
|
||||
#############################################################################
|
||||
|
||||
clib2/benchmark: clib2/benchmark.o
|
||||
$(CC) -mcrt=clib2 $^ -o $@ clib2/libexpat.a -lm
|
||||
|
||||
clib2/benchmark.o: benchmark.c
|
||||
|
||||
#############################################################################
|
||||
|
||||
newlib/libexpat.a: newlib/xmlparse.o newlib/xmltok.o newlib/xmlrole.o
|
||||
$(LIBTOOL) $(LTFLAGS) $@ $^
|
||||
protect $@ -e
|
||||
|
||||
newlib/xmlparse.o: xmlparse.c expat.h xmlrole.h xmltok.h \
|
||||
expat_external.h internal.h amigaconfig.h
|
||||
|
||||
newlib/xmlrole.o: xmlrole.c ascii.h xmlrole.h expat_external.h \
|
||||
internal.h amigaconfig.h
|
||||
|
||||
newlib/xmltok.o: xmltok.c xmltok_impl.c xmltok_ns.c ascii.h asciitab.h \
|
||||
iasciitab.h latin1tab.h nametab.h utf8tab.h xmltok.h xmltok_impl.h \
|
||||
expat_external.h internal.h amigaconfig.h
|
||||
|
||||
#############################################################################
|
||||
|
||||
newlib/xmlwf: newlib/xmlwf.o newlib/xmlfile.o newlib/codepage.o newlib/readfilemap.o
|
||||
$(CC) -mcrt=newlib $^ -o $@ newlib/libexpat.a
|
||||
$(STRIP) $(STRIPFLAGS) $@
|
||||
|
||||
newlib/xmlwf.o: xmlwf.c
|
||||
|
||||
newlib/xmlfile.o: xmlfile.c
|
||||
|
||||
newlib/codepage.o: codepage.c
|
||||
|
||||
newlib/readfilemap.o: readfilemap.c
|
||||
|
||||
#############################################################################
|
||||
|
||||
newlib/elements: newlib/elements.o
|
||||
$(CC) -mcrt=newlib $^ -o $@ newlib/libexpat.a
|
||||
$(STRIP) $(STRIPFLAGS) $@
|
||||
|
||||
newlib/elements.o: elements.c
|
||||
|
||||
#############################################################################
|
||||
|
||||
newlib/outline: newlib/outline.o
|
||||
$(CC) -mcrt=newlib $^ -o $@ newlib/libexpat.a
|
||||
$(STRIP) $(STRIPFLAGS) $@
|
||||
|
||||
newlib/outline.o: outline.c
|
||||
|
||||
#############################################################################
|
||||
|
||||
newlib/runtests: newlib/runtests.o newlib/chardata.o newlib/minicheck.o
|
||||
$(CC) -mcrt=newlib $^ -o $@ newlib/libexpat.a
|
||||
|
||||
newlib/chardata.o: chardata.c chardata.h
|
||||
|
||||
newlib/minicheck.o: minicheck.c minicheck.h
|
||||
|
||||
newlib/runtests.o: runtests.c chardata.h
|
||||
|
||||
#############################################################################
|
||||
|
||||
newlib/benchmark: newlib/benchmark.o
|
||||
$(CC) -mcrt=newlib $^ -o $@ newlib/libexpat.a
|
||||
|
||||
newlib/benchmark.o: benchmark.c
|
||||
|
||||
#############################################################################
|
||||
|
||||
libs/expat.library: libs/expat_lib.o libs/expat_68k.o libs/expat_68k_handler_stubs.o libs/expat_vectors.o newlib/libexpat.a
|
||||
$(CC) -mcrt=newlib -nostartfiles $^ -o $@ newlib/libexpat.a -Wl,--cref,-M,-Map=$@.map
|
||||
protect $@ -e
|
||||
$(STRIP) $(STRIPFLAGS) $@
|
||||
|
||||
libs/expat_lib.o: expat_lib.c expat_base.h
|
||||
|
||||
libs/expat_68k.o: expat_68k.c expat_68k.h expat_base.h
|
||||
|
||||
libs/expat_68k_handler_stubs.o: expat_68k_handler_stubs.c expat_68k.h
|
||||
|
||||
libs/expat_vectors.o: expat_vectors.c
|
||||
|
||||
libs/launch.o: launch.c
|
||||
|
||||
#############################################################################
|
||||
|
||||
libs/xmlwf: libs/xmlwf.o libs/xmlfile.o libs/codepage.o libs/readfilemap.o libs/launch.o
|
||||
$(CC) -mcrt=newlib $^ -o $@
|
||||
$(STRIP) $(STRIPFLAGS) $@
|
||||
|
||||
libs/xmlwf.o: xmlwf.c
|
||||
|
||||
libs/xmlfile.o: xmlfile.c
|
||||
|
||||
libs/codepage.o: codepage.c
|
||||
|
||||
libs/readfilemap.o: readfilemap.c
|
||||
|
||||
#############################################################################
|
||||
|
||||
libs/elements: libs/elements.o libs/launch.o
|
||||
$(CC) -mcrt=newlib $^ -o $@
|
||||
$(STRIP) $(STRIPFLAGS) $@
|
||||
|
||||
libs/elements.o: elements.c
|
||||
|
||||
#############################################################################
|
||||
|
||||
libs/outline: libs/outline.o libs/launch.o
|
||||
$(CC) -mcrt=newlib $^ -o $@
|
||||
$(STRIP) $(STRIPFLAGS) $@
|
||||
|
||||
libs/outline.o: outline.c
|
||||
|
||||
#############################################################################
|
||||
|
||||
libs/runtests: libs/runtests.o libs/chardata.o libs/minicheck.o libs/launch.o
|
||||
$(CC) -mcrt=newlib $^ -o $@
|
||||
|
||||
libs/chardata.o: chardata.c chardata.h
|
||||
|
||||
libs/minicheck.o: minicheck.c minicheck.h
|
||||
|
||||
libs/runtests.o: runtests.c chardata.h
|
||||
|
||||
#############################################################################
|
||||
|
||||
libs/benchmark: libs/benchmark.o libs/launch.o
|
||||
$(CC) -mcrt=newlib $^ -o $@
|
||||
|
||||
libs/benchmark.o: benchmark.c
|
||||
|
||||
#############################################################################
|
||||
|
||||
so/libexpat.so: so/xmlparse.o so/xmltok.o so/xmlrole.o
|
||||
$(CC) -mcrt=newlib -shared -o $@ $^
|
||||
protect $@ -e
|
||||
|
||||
so/xmlparse.o: xmlparse.c expat.h xmlrole.h xmltok.h \
|
||||
expat_external.h internal.h amigaconfig.h
|
||||
|
||||
so/xmlrole.o: xmlrole.c ascii.h xmlrole.h expat_external.h \
|
||||
internal.h amigaconfig.h
|
||||
|
||||
so/xmltok.o: xmltok.c xmltok_impl.c xmltok_ns.c ascii.h asciitab.h \
|
||||
iasciitab.h latin1tab.h nametab.h utf8tab.h xmltok.h xmltok_impl.h \
|
||||
expat_external.h internal.h amigaconfig.h
|
||||
|
||||
#############################################################################
|
||||
|
||||
so/xmlwf: newlib/xmlwf.o newlib/xmlfile.o newlib/codepage.o newlib/readfilemap.o
|
||||
$(CC) -mcrt=newlib -use-dynld $^ -o $@ -Lso -lexpat
|
||||
$(STRIP) $(STRIPFLAGS) $@
|
||||
|
||||
#############################################################################
|
||||
|
||||
so/elements: newlib/elements.o
|
||||
$(CC) -mcrt=newlib -use-dynld $^ -o $@ -Lso -lexpat
|
||||
$(STRIP) $(STRIPFLAGS) $@
|
||||
|
||||
#############################################################################
|
||||
|
||||
so/outline: newlib/outline.o
|
||||
$(CC) -mcrt=newlib -use-dynld $^ -o $@ -Lso -lexpat
|
||||
$(STRIP) $(STRIPFLAGS) $@
|
||||
|
||||
#############################################################################
|
||||
|
||||
so/runtests: newlib/runtests.o newlib/chardata.o newlib/minicheck.o
|
||||
$(CC) -mcrt=newlib -use-dynld $^ -o $@ -Lso -lexpat
|
||||
|
||||
#############################################################################
|
||||
|
||||
so/benchmark: newlib/benchmark.o
|
||||
$(CC) -mcrt=newlib -use-dynld $^ -o $@ -Lso -lexpat
|
||||
|
||||
#############################################################################
|
||||
|
||||
clib2/%.o: %.c
|
||||
$(CC) -mcrt=clib2 $(CFLAGS) -I../lib -c $< -o $@
|
||||
|
||||
newlib/%.o: %.c
|
||||
$(CC) -mcrt=newlib $(CFLAGS) -I../lib -c $< -o $@
|
||||
|
||||
libs/%.o: %.c
|
||||
$(CC) -mcrt=newlib $(CFLAGS) -D__USE_INLINE__ -I. -Iinclude -Iinclude/libraries -I../lib -c $< -o $@
|
||||
|
||||
so/%.o: %.c
|
||||
$(CC) -mcrt=newlib $(CFLAGS) -fPIC -I../lib -c $< -o $@
|
||||
@@ -0,0 +1,98 @@
|
||||
SUMMARY
|
||||
=======
|
||||
This is a port of expat for AmigaOS 4.x which includes the
|
||||
SDK, some XML tools and the libraries.
|
||||
|
||||
Four library flavours are supported:
|
||||
1. static clib2 (libexpat.a)
|
||||
2. static newlib (libexpat.a)
|
||||
3. AmigaOS library (expat.library)
|
||||
4. AmigaOS shared object library (libexpat.so)
|
||||
|
||||
The AmigaOS library version is based on the work of Fredrik Wikstrom.
|
||||
|
||||
|
||||
BUILDING
|
||||
========
|
||||
To build all the library flavours, all the tools, examples and run the
|
||||
test suite, simply type 'make all' in the amiga subdirectory.
|
||||
|
||||
|
||||
INSTALLATION
|
||||
============
|
||||
To install expat into the standard AmigaOS SDK type 'make install'
|
||||
in the amiga subdirectory.
|
||||
|
||||
|
||||
CONFIGURATION
|
||||
=============
|
||||
You may want to edit the lib/amigaconfig.h file to remove
|
||||
DTD and/or XML namespace support if they are not required by your
|
||||
specific application for a smaller and faster implementation.
|
||||
|
||||
|
||||
SOURCE CODE
|
||||
===========
|
||||
The source code is actively maintained and merged with the official
|
||||
Expat repository available at http://expat.sourceforge.net/
|
||||
|
||||
|
||||
HISTORY
|
||||
=======
|
||||
53.1 - bumped version to match AmigaOS streaming
|
||||
- modified to remove all global variables (except INewLib)
|
||||
- removed replacements for malloc(), etc. which are now
|
||||
handled by the respective C library
|
||||
- compiled with the latest binutils which bumps the
|
||||
AMIGAOS_DYNVERSION to 2 for the libexpat.so target
|
||||
- now strips the expat.library binary
|
||||
|
||||
5.2 - fixed XML_Parse 68k stub which enables xmlviewer to work
|
||||
without crashing
|
||||
- added some new functions to the 68k jump table available
|
||||
in the latest expat.library for AmigaOS 3.x
|
||||
- patches provided by Fredrik Wikstrom
|
||||
|
||||
5.1 - fixed package archive which was missing libexpat.so
|
||||
- fixed library protection bits
|
||||
- fixed up copyright notices
|
||||
|
||||
5.0 - integrated 68k patches from Fredrik Wikstrom which means
|
||||
expat.library is now callable from 68k code
|
||||
- bumped version for the addition of the 68k interface so
|
||||
executables can explicitly ask for version 5 and know
|
||||
it includes the 68k interface
|
||||
- refactored Makefile to avoid recursive make calls and
|
||||
build all the library flavours
|
||||
- added static newlib version
|
||||
- added shared objects version
|
||||
- added package target to Makefile
|
||||
- compiled with SDK 53.13 (GCC 4.2.4) at -O3
|
||||
|
||||
4.2 - updated to correspond to Expat 2.0.1 release
|
||||
- bumped copyright banners and versions
|
||||
- simplified amigaconfig.h
|
||||
- updated include/libraries/expat.h file
|
||||
- modified launch.c to use contructor/deconstructor
|
||||
- removed need for amiga_main() from expat utilities
|
||||
|
||||
4.1 - fixed memory freeing bug in shared library version
|
||||
- now allocates shared memory
|
||||
|
||||
4.0 - updated for corresponding Expat 2.0 release
|
||||
- some minor CVS related changes
|
||||
|
||||
3.1 - removed obsolete sfd file
|
||||
- added library description xml file
|
||||
- refactored Makefile
|
||||
- removed extraneous VARARGS68K keywords
|
||||
- reworked default memory handling functions in shared lib
|
||||
- updated amigaconfig.h
|
||||
|
||||
3.0 - initial release
|
||||
- based on expat 1.95.8
|
||||
|
||||
|
||||
TO DO
|
||||
=====
|
||||
- wide character support (UTF-16)
|
||||
@@ -0,0 +1,264 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!DOCTYPE library SYSTEM "library.dtd">
|
||||
<!-- autogenerated by fdtrans v51.16 -->
|
||||
<library name="expat" basename="ExpatBase" basetype="Library" openname="expat.library">
|
||||
<include>libraries/expat.h</include>
|
||||
<interface name="main" version="1.0" struct="ExpatIFace" prefix="_Expat_" asmprefix="IExpat" global="IExpat">
|
||||
<method name="Obtain" result="uint32"/>
|
||||
<method name="Release" result="uint32"/>
|
||||
<method name="Expunge" result="void" status="unimplemented"/>
|
||||
<method name="Clone" result="struct Interface *" status="unimplemented"/>
|
||||
<method name="XML_ParserCreate" result="XML_Parser">
|
||||
<arg name="encodingName" type="const XML_Char *"/>
|
||||
</method>
|
||||
<method name="XML_ParserCreateNS" result="XML_Parser">
|
||||
<arg name="encodingName" type="const XML_Char *"/>
|
||||
<arg name="nsSep" type="XML_Char"/>
|
||||
</method>
|
||||
<method name="XML_ParserCreate_MM" result="XML_Parser">
|
||||
<arg name="encoding" type="const XML_Char *"/>
|
||||
<arg name="memsuite" type="const XML_Memory_Handling_Suite *"/>
|
||||
<arg name="namespaceSeparator" type="const XML_Char *"/>
|
||||
</method>
|
||||
<method name="XML_ExternalEntityParserCreate" result="XML_Parser">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
<arg name="context" type="const XML_Char *"/>
|
||||
<arg name="encoding" type="const XML_Char *"/>
|
||||
</method>
|
||||
<method name="XML_ParserFree" result="void">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
</method>
|
||||
<method name="XML_Parse" result="enum XML_Status">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
<arg name="s" type="const char *"/>
|
||||
<arg name="len" type="int"/>
|
||||
<arg name="isFinal" type="int"/>
|
||||
</method>
|
||||
<method name="XML_ParseBuffer" result="enum XML_Status">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
<arg name="len" type="int"/>
|
||||
<arg name="isFinal" type="int"/>
|
||||
</method>
|
||||
<method name="XML_GetBuffer" result="void *">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
<arg name="len" type="int"/>
|
||||
</method>
|
||||
<method name="XML_SetStartElementHandler" result="void">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
<arg name="start" type="XML_StartElementHandler"/>
|
||||
</method>
|
||||
<method name="XML_SetEndElementHandler" result="void">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
<arg name="end" type="XML_EndElementHandler"/>
|
||||
</method>
|
||||
<method name="XML_SetElementHandler" result="void">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
<arg name="start" type="XML_StartElementHandler"/>
|
||||
<arg name="end" type="XML_EndElementHandler"/>
|
||||
</method>
|
||||
<method name="XML_SetCharacterDataHandler" result="void">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
<arg name="handler" type="XML_CharacterDataHandler"/>
|
||||
</method>
|
||||
<method name="XML_SetProcessingInstructionHandler" result="void">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
<arg name="handler" type="XML_ProcessingInstructionHandler"/>
|
||||
</method>
|
||||
<method name="XML_SetCommentHandler" result="void">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
<arg name="handler" type="XML_CommentHandler"/>
|
||||
</method>
|
||||
<method name="XML_SetStartCdataSectionHandler" result="void">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
<arg name="start" type="XML_StartCdataSectionHandler"/>
|
||||
</method>
|
||||
<method name="XML_SetEndCdataSectionHandler" result="void">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
<arg name="end" type="XML_EndCdataSectionHandler"/>
|
||||
</method>
|
||||
<method name="XML_SetCdataSectionHandler" result="void">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
<arg name="start" type="XML_StartCdataSectionHandler"/>
|
||||
<arg name="end" type="XML_EndCdataSectionHandler"/>
|
||||
</method>
|
||||
<method name="XML_SetDefaultHandler" result="void">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
<arg name="handler" type="XML_DefaultHandler"/>
|
||||
</method>
|
||||
<method name="XML_SetDefaultHandlerExpand" result="void">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
<arg name="handler" type="XML_DefaultHandler"/>
|
||||
</method>
|
||||
<method name="XML_SetExternalEntityRefHandler" result="void">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
<arg name="handler" type="XML_ExternalEntityRefHandler"/>
|
||||
</method>
|
||||
<method name="XML_SetExternalEntityRefHandlerArg" result="void">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
<arg name="arg" type="void *"/>
|
||||
</method>
|
||||
<method name="XML_SetUnknownEncodingHandler" result="void">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
<arg name="handler" type="XML_UnknownEncodingHandler"/>
|
||||
<arg name="data" type="void *"/>
|
||||
</method>
|
||||
<method name="XML_SetStartNamespaceDeclHandler" result="void">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
<arg name="start" type="XML_StartNamespaceDeclHandler"/>
|
||||
</method>
|
||||
<method name="XML_SetEndNamespaceDeclHandler" result="void">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
<arg name="end" type="XML_EndNamespaceDeclHandler"/>
|
||||
</method>
|
||||
<method name="XML_SetNamespaceDeclHandler" result="void">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
<arg name="start" type="XML_StartNamespaceDeclHandler"/>
|
||||
<arg name="end" type="XML_EndNamespaceDeclHandler"/>
|
||||
</method>
|
||||
<method name="XML_SetXmlDeclHandler" result="void">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
<arg name="handler" type="XML_XmlDeclHandler"/>
|
||||
</method>
|
||||
<method name="XML_SetStartDoctypeDeclHandler" result="void">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
<arg name="start" type="XML_StartDoctypeDeclHandler"/>
|
||||
</method>
|
||||
<method name="XML_SetEndDoctypeDeclHandler" result="void">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
<arg name="end" type="XML_EndDoctypeDeclHandler"/>
|
||||
</method>
|
||||
<method name="XML_SetDoctypeDeclHandler" result="void">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
<arg name="start" type="XML_StartDoctypeDeclHandler"/>
|
||||
<arg name="end" type="XML_EndDoctypeDeclHandler"/>
|
||||
</method>
|
||||
<method name="XML_SetElementDeclHandler" result="void">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
<arg name="eldecl" type="XML_ElementDeclHandler"/>
|
||||
</method>
|
||||
<method name="XML_SetAttlistDeclHandler" result="void">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
<arg name="attdecl" type="XML_AttlistDeclHandler"/>
|
||||
</method>
|
||||
<method name="XML_SetEntityDeclHandler" result="void">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
<arg name="handler" type="XML_EntityDeclHandler"/>
|
||||
</method>
|
||||
<method name="XML_SetUnparsedEntityDeclHandler" result="void">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
<arg name="handler" type="XML_UnparsedEntityDeclHandler"/>
|
||||
</method>
|
||||
<method name="XML_SetNotationDeclHandler" result="void">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
<arg name="handler" type="XML_NotationDeclHandler"/>
|
||||
</method>
|
||||
<method name="XML_SetNotStandaloneHandler" result="void">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
<arg name="handler" type="XML_NotStandaloneHandler"/>
|
||||
</method>
|
||||
<method name="XML_GetErrorCode" result="enum XML_Error">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
</method>
|
||||
<method name="XML_ErrorString" result="const XML_LChar *">
|
||||
<arg name="code" type="enum XML_Error"/>
|
||||
</method>
|
||||
<method name="XML_GetCurrentByteIndex" result="long">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
</method>
|
||||
<method name="XML_GetCurrentLineNumber" result="int">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
</method>
|
||||
<method name="XML_GetCurrentColumnNumber" result="int">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
</method>
|
||||
<method name="XML_GetCurrentByteCount" result="int">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
</method>
|
||||
<method name="XML_GetInputContext" result="const char *">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
<arg name="offset" type="int *"/>
|
||||
<arg name="size" type="int *"/>
|
||||
</method>
|
||||
<method name="XML_SetUserData" result="void">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
<arg name="userData" type="void *"/>
|
||||
</method>
|
||||
<method name="XML_DefaultCurrent" result="void">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
</method>
|
||||
<method name="XML_UseParserAsHandlerArg" result="void">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
</method>
|
||||
<method name="XML_SetBase" result="enum XML_Status">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
<arg name="base" type="const XML_Char *"/>
|
||||
</method>
|
||||
<method name="XML_GetBase" result="const XML_Char *">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
</method>
|
||||
<method name="XML_GetSpecifiedAttributeCount" result="int">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
</method>
|
||||
<method name="XML_GetIdAttributeIndex" result="int">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
</method>
|
||||
<method name="XML_SetEncoding" result="enum XML_Status">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
<arg name="encoding" type="const XML_Char *"/>
|
||||
</method>
|
||||
<method name="XML_SetParamEntityParsing" result="int">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
<arg name="parsing" type="enum XML_ParamEntityParsing"/>
|
||||
</method>
|
||||
<method name="XML_SetReturnNSTriplet" result="void">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
<arg name="do_nst" type="int"/>
|
||||
</method>
|
||||
<method name="XML_ExpatVersion" result="const XML_LChar *">
|
||||
</method>
|
||||
<method name="XML_ExpatVersionInfo" result="XML_Expat_Version">
|
||||
</method>
|
||||
<method name="XML_ParserReset" result="XML_Bool">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
<arg name="encoding" type="const XML_Char *"/>
|
||||
</method>
|
||||
<method name="XML_SetSkippedEntityHandler" result="void">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
<arg name="handler" type="XML_SkippedEntityHandler"/>
|
||||
</method>
|
||||
<method name="XML_UseForeignDTD" result="enum XML_Error">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
<arg name="useDTD" type="XML_Bool"/>
|
||||
</method>
|
||||
<method name="XML_GetFeatureList" result="const XML_Feature *">
|
||||
</method>
|
||||
<method name="XML_StopParser" result="enum XML_Status">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
<arg name="resumable" type="XML_Bool"/>
|
||||
</method>
|
||||
<method name="XML_ResumeParser" result="enum XML_Status">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
</method>
|
||||
<method name="XML_GetParsingStatus" result="void">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
<arg name="status" type="XML_ParsingStatus *"/>
|
||||
</method>
|
||||
<method name="XML_FreeContentModel" result="void">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
<arg name="model" type="XML_Content *"/>
|
||||
</method>
|
||||
<method name="XML_MemMalloc" result="void *">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
<arg name="size" type="size_t"/>
|
||||
</method>
|
||||
<method name="XML_MemRealloc" result="void *">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
<arg name="ptr" type="void *"/>
|
||||
<arg name="size" type="size_t"/>
|
||||
</method>
|
||||
<method name="XML_MemFree" result="void">
|
||||
<arg name="parser" type="XML_Parser"/>
|
||||
<arg name="ptr" type="void *"/>
|
||||
</method>
|
||||
</interface>
|
||||
</library>
|
||||
@@ -0,0 +1,939 @@
|
||||
/*
|
||||
** Copyright (c) 2001-2009 Expat maintainers.
|
||||
**
|
||||
** 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.
|
||||
*/
|
||||
|
||||
/*
|
||||
** Note: This file was originally automatically generated by fdtrans.
|
||||
*/
|
||||
|
||||
#ifdef __USE_INLINE__
|
||||
#undef __USE_INLINE__
|
||||
#endif
|
||||
|
||||
#include <exec/interfaces.h>
|
||||
#include <exec/libraries.h>
|
||||
#include <exec/emulation.h>
|
||||
#include <proto/exec.h>
|
||||
#include <interfaces/expat.h>
|
||||
#include "expat_68k.h"
|
||||
#include "expat_base.h"
|
||||
|
||||
|
||||
STATIC ULONG stub_OpenPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct LibraryManagerInterface *Self = (struct LibraryManagerInterface *) ExtLib->ILibrary;
|
||||
|
||||
return (ULONG) Self->Open(0);
|
||||
}
|
||||
struct EmuTrap stub_Open = { TRAPINST, TRAPTYPE, stub_OpenPPC };
|
||||
|
||||
STATIC ULONG stub_ClosePPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct LibraryManagerInterface *Self = (struct LibraryManagerInterface *) ExtLib->ILibrary;
|
||||
|
||||
return (ULONG) Self->Close();
|
||||
}
|
||||
struct EmuTrap stub_Close = { TRAPINST, TRAPTYPE, stub_ClosePPC };
|
||||
|
||||
STATIC ULONG stub_ExpungePPC(ULONG *regarray)
|
||||
{
|
||||
return 0UL;
|
||||
}
|
||||
struct EmuTrap stub_Expunge = { TRAPINST, TRAPTYPE, stub_ExpungePPC };
|
||||
|
||||
STATIC ULONG stub_ReservedPPC(ULONG *regarray)
|
||||
{
|
||||
return 0UL;
|
||||
}
|
||||
struct EmuTrap stub_Reserved = { TRAPINST, TRAPTYPE, stub_ReservedPPC };
|
||||
|
||||
static M68kXML_Parser stub_XML_ParserCreatePPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
struct ExecIFace *IExec = ((struct ExpatBase *)Self->Data.LibBase)->IExec;
|
||||
|
||||
M68kXML_Parser p;
|
||||
p = IExec->AllocVec(sizeof(*p), MEMF_SHARED|MEMF_CLEAR);
|
||||
if (p) {
|
||||
p->p = Self->XML_ParserCreate((const XML_Char *)regarray[8]);
|
||||
if (p->p) {
|
||||
p->IExec = IExec;
|
||||
Self->XML_SetUserData(p->p, p);
|
||||
return p;
|
||||
}
|
||||
IExec->FreeVec(p);
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
struct EmuTrap stub_XML_ParserCreate = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_ParserCreatePPC };
|
||||
|
||||
static M68kXML_Parser stub_XML_ParserCreateNSPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
struct ExecIFace *IExec = ((struct ExpatBase *)Self->Data.LibBase)->IExec;
|
||||
|
||||
M68kXML_Parser p;
|
||||
p = IExec->AllocVec(sizeof(*p), MEMF_SHARED|MEMF_CLEAR);
|
||||
if (p) {
|
||||
p->p = Self->XML_ParserCreateNS((const XML_Char *)regarray[8], (XML_Char)regarray[0]);
|
||||
if (p->p) {
|
||||
p->IExec = IExec;
|
||||
Self->XML_SetUserData(p->p, p);
|
||||
return p;
|
||||
}
|
||||
IExec->FreeVec(p);
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
struct EmuTrap stub_XML_ParserCreateNS = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_ParserCreateNSPPC };
|
||||
|
||||
static M68kXML_Parser stub_XML_ParserCreate_MMPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
struct ExecIFace *IExec = ((struct ExpatBase *)Self->Data.LibBase)->IExec;
|
||||
|
||||
M68kXML_Parser p;
|
||||
p = IExec->AllocVec(sizeof(*p), MEMF_SHARED|MEMF_CLEAR);
|
||||
if (p) {
|
||||
p->p = Self->XML_ParserCreate_MM((const XML_Char *)regarray[8],
|
||||
(const XML_Memory_Handling_Suite *)regarray[9],
|
||||
(const XML_Char *)regarray[10]);
|
||||
if (p->p) {
|
||||
p->IExec = IExec;
|
||||
Self->XML_SetUserData(p->p, p);
|
||||
return p;
|
||||
}
|
||||
IExec->FreeVec(p);
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
struct EmuTrap stub_XML_ParserCreate_MM = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_ParserCreate_MMPPC };
|
||||
|
||||
static M68kXML_Parser stub_XML_ExternalEntityParserCreatePPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
struct ExecIFace *IExec = ((struct ExpatBase *)Self->Data.LibBase)->IExec;
|
||||
|
||||
M68kXML_Parser p;
|
||||
p = IExec->AllocVec(sizeof(*p), MEMF_SHARED|MEMF_CLEAR);
|
||||
if (p) {
|
||||
p->p = Self->XML_ExternalEntityParserCreate((XML_Parser)regarray[8],
|
||||
(const XML_Char *)regarray[9], (const XML_Char *)regarray[10]);
|
||||
if (p->p) {
|
||||
p->IExec = IExec;
|
||||
Self->XML_SetUserData(p->p, p);
|
||||
return p;
|
||||
}
|
||||
IExec->FreeVec(p);
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
struct EmuTrap stub_XML_ExternalEntityParserCreate = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_ExternalEntityParserCreatePPC };
|
||||
|
||||
static void stub_XML_ParserFreePPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
struct ExecIFace *IExec = ((struct ExpatBase *)Self->Data.LibBase)->IExec;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
if (p) {
|
||||
Self->XML_ParserFree(p->p);
|
||||
IExec->FreeVec(p);
|
||||
}
|
||||
}
|
||||
struct EmuTrap stub_XML_ParserFree = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_ParserFreePPC };
|
||||
|
||||
static int stub_XML_ParsePPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
Self->XML_SetUserData(p->p, p);
|
||||
return Self->XML_Parse(p->p, (const char *)regarray[9], (int)regarray[0], (int)regarray[1]);
|
||||
}
|
||||
struct EmuTrap stub_XML_Parse = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_ParsePPC };
|
||||
|
||||
static int stub_XML_ParseBufferPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
return Self->XML_ParseBuffer(p->p, (int)regarray[0], (int)regarray[1]);
|
||||
}
|
||||
struct EmuTrap stub_XML_ParseBuffer = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_ParseBufferPPC };
|
||||
|
||||
static void * stub_XML_GetBufferPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
return Self->XML_GetBuffer(p->p, (int)regarray[0]);
|
||||
}
|
||||
struct EmuTrap stub_XML_GetBuffer = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_GetBufferPPC };
|
||||
|
||||
static void stub_XML_SetStartElementHandlerPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
p->startelementhandler = (void *)regarray[9];
|
||||
Self->XML_SetStartElementHandler(p->p, _68k_startelementhandler);
|
||||
}
|
||||
struct EmuTrap stub_XML_SetStartElementHandler = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_SetStartElementHandlerPPC };
|
||||
|
||||
static void stub_XML_SetEndElementHandlerPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
p->endelementhandler = (void *)regarray[9];
|
||||
Self->XML_SetEndElementHandler(p->p, _68k_endelementhandler);
|
||||
}
|
||||
struct EmuTrap stub_XML_SetEndElementHandler = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_SetEndElementHandlerPPC };
|
||||
|
||||
static void stub_XML_SetElementHandlerPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
p->startelementhandler = (void *)regarray[9];
|
||||
p->endelementhandler = (void *)regarray[10];
|
||||
Self->XML_SetElementHandler(p->p, _68k_startelementhandler, _68k_endelementhandler);
|
||||
}
|
||||
struct EmuTrap stub_XML_SetElementHandler = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_SetElementHandlerPPC };
|
||||
|
||||
static void stub_XML_SetCharacterDataHandlerPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
p->chardatahandler = (void *)regarray[9];
|
||||
Self->XML_SetCharacterDataHandler(p->p, _68k_chardatahandler);
|
||||
}
|
||||
struct EmuTrap stub_XML_SetCharacterDataHandler = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_SetCharacterDataHandlerPPC };
|
||||
|
||||
static void stub_XML_SetProcessingInstructionHandlerPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
p->procinsthandler = (void *)regarray[9];
|
||||
Self->XML_SetProcessingInstructionHandler(p->p, _68k_procinsthandler);
|
||||
}
|
||||
struct EmuTrap stub_XML_SetProcessingInstructionHandler = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_SetProcessingInstructionHandlerPPC };
|
||||
|
||||
static void stub_XML_SetCommentHandlerPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
p->commenthandler = (void *)regarray[9];
|
||||
Self->XML_SetCommentHandler(p->p, _68k_commenthandler);
|
||||
}
|
||||
struct EmuTrap stub_XML_SetCommentHandler = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_SetCommentHandlerPPC };
|
||||
|
||||
static void stub_XML_SetStartCdataSectionHandlerPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
p->startcdatahandler = (void *)regarray[9];
|
||||
Self->XML_SetStartCdataSectionHandler(p->p, _68k_startcdatahandler);
|
||||
}
|
||||
struct EmuTrap stub_XML_SetStartCdataSectionHandler = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_SetStartCdataSectionHandlerPPC };
|
||||
|
||||
static void stub_XML_SetEndCdataSectionHandlerPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
p->endcdatahandler = (void *)regarray[9];
|
||||
Self->XML_SetEndCdataSectionHandler(p->p, _68k_endcdatahandler);
|
||||
}
|
||||
struct EmuTrap stub_XML_SetEndCdataSectionHandler = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_SetEndCdataSectionHandlerPPC };
|
||||
|
||||
static void stub_XML_SetCdataSectionHandlerPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
p->startcdatahandler = (void *)regarray[9];
|
||||
p->endcdatahandler = (void *)regarray[10];
|
||||
Self->XML_SetCdataSectionHandler(p->p, _68k_startcdatahandler, _68k_endcdatahandler);
|
||||
}
|
||||
struct EmuTrap stub_XML_SetCdataSectionHandler = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_SetCdataSectionHandlerPPC };
|
||||
|
||||
static void stub_XML_SetDefaultHandlerPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
p->defaulthandler = (void *)regarray[9];
|
||||
Self->XML_SetDefaultHandler(p->p, _68k_defaulthandler);
|
||||
}
|
||||
struct EmuTrap stub_XML_SetDefaultHandler = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_SetDefaultHandlerPPC };
|
||||
|
||||
static void stub_XML_SetDefaultHandlerExpandPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
p->defaulthandlerexp = (void *)regarray[9];
|
||||
Self->XML_SetDefaultHandlerExpand(p->p, _68k_defaulthandlerexp);
|
||||
}
|
||||
struct EmuTrap stub_XML_SetDefaultHandlerExpand = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_SetDefaultHandlerExpandPPC };
|
||||
|
||||
static void stub_XML_SetExternalEntityRefHandlerPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
p->extentrefhandler = (void *)regarray[9];
|
||||
Self->XML_SetExternalEntityRefHandler(p->p, _68k_extentrefhandler);
|
||||
}
|
||||
struct EmuTrap stub_XML_SetExternalEntityRefHandler = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_SetExternalEntityRefHandlerPPC };
|
||||
|
||||
static void stub_XML_SetExternalEntityRefHandlerArgPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
p->extenthandlerarg = (void *)regarray[9];
|
||||
}
|
||||
struct EmuTrap stub_XML_SetExternalEntityRefHandlerArg = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_SetExternalEntityRefHandlerArgPPC };
|
||||
|
||||
static void stub_XML_SetUnknownEncodingHandlerPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
p->unknownenchandler = (void *)regarray[9];
|
||||
p->enchandlerarg = (void *)regarray[10];
|
||||
Self->XML_SetUnknownEncodingHandler(p->p, _68k_unknownenchandler, p);
|
||||
}
|
||||
struct EmuTrap stub_XML_SetUnknownEncodingHandler = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_SetUnknownEncodingHandlerPPC };
|
||||
|
||||
static void stub_XML_SetStartNamespaceDeclHandlerPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
p->startnamespacehandler = (void *)regarray[9];
|
||||
Self->XML_SetStartNamespaceDeclHandler(p->p, _68k_startnamespacehandler);
|
||||
}
|
||||
struct EmuTrap stub_XML_SetStartNamespaceDeclHandler = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_SetStartNamespaceDeclHandlerPPC };
|
||||
|
||||
static void stub_XML_SetEndNamespaceDeclHandlerPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
p->endnamespacehandler = (void *)regarray[9];
|
||||
Self->XML_SetEndNamespaceDeclHandler(p->p, _68k_endnamespacehandler);
|
||||
}
|
||||
struct EmuTrap stub_XML_SetEndNamespaceDeclHandler = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_SetEndNamespaceDeclHandlerPPC };
|
||||
|
||||
static void stub_XML_SetNamespaceDeclHandlerPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
p->startnamespacehandler = (void *)regarray[9];
|
||||
p->endnamespacehandler = (void *)regarray[10];
|
||||
Self->XML_SetNamespaceDeclHandler(p->p, _68k_startnamespacehandler, _68k_endnamespacehandler);
|
||||
}
|
||||
struct EmuTrap stub_XML_SetNamespaceDeclHandler = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_SetNamespaceDeclHandlerPPC };
|
||||
|
||||
static void stub_XML_SetXmlDeclHandlerPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
p->xmldeclhandler = (void *)regarray[9];
|
||||
Self->XML_SetXmlDeclHandler(p->p, _68k_xmldeclhandler);
|
||||
}
|
||||
struct EmuTrap stub_XML_SetXmlDeclHandler = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_SetXmlDeclHandlerPPC };
|
||||
|
||||
static void stub_XML_SetStartDoctypeDeclHandlerPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
p->startdoctypehandler = (void *)regarray[9];
|
||||
Self->XML_SetStartDoctypeDeclHandler(p->p, _68k_startdoctypehandler);
|
||||
}
|
||||
struct EmuTrap stub_XML_SetStartDoctypeDeclHandler = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_SetStartDoctypeDeclHandlerPPC };
|
||||
|
||||
static void stub_XML_SetEndDoctypeDeclHandlerPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
p->enddoctypehandler = (void *)regarray[9];
|
||||
Self->XML_SetEndDoctypeDeclHandler(p->p, _68k_enddoctypehandler);
|
||||
}
|
||||
struct EmuTrap stub_XML_SetEndDoctypeDeclHandler = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_SetEndDoctypeDeclHandlerPPC };
|
||||
|
||||
static void stub_XML_SetDoctypeDeclHandlerPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
p->startdoctypehandler = (void *)regarray[9];
|
||||
p->enddoctypehandler = (void *)regarray[10];
|
||||
Self->XML_SetDoctypeDeclHandler(p->p, _68k_startdoctypehandler, _68k_enddoctypehandler);
|
||||
}
|
||||
struct EmuTrap stub_XML_SetDoctypeDeclHandler = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_SetDoctypeDeclHandlerPPC };
|
||||
|
||||
static void stub_XML_SetElementDeclHandlerPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
p->elementdeclhandler = (void *)regarray[9];
|
||||
Self->XML_SetElementDeclHandler(p->p, _68k_elementdeclhandler);
|
||||
}
|
||||
struct EmuTrap stub_XML_SetElementDeclHandler = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_SetElementDeclHandlerPPC };
|
||||
|
||||
static void stub_XML_SetAttlistDeclHandlerPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
p->attlistdeclhandler = (void *)regarray[9];
|
||||
Self->XML_SetAttlistDeclHandler(p->p, _68k_attlistdeclhandler);
|
||||
}
|
||||
struct EmuTrap stub_XML_SetAttlistDeclHandler = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_SetAttlistDeclHandlerPPC };
|
||||
|
||||
static void stub_XML_SetEntityDeclHandlerPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
p->entitydeclhandler = (void *)regarray[9];
|
||||
Self->XML_SetEntityDeclHandler(p->p, _68k_entitydeclhandler);
|
||||
}
|
||||
struct EmuTrap stub_XML_SetEntityDeclHandler = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_SetEntityDeclHandlerPPC };
|
||||
|
||||
static void stub_XML_SetUnparsedEntityDeclHandlerPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
p->unparseddeclhandler = (void *)regarray[9];
|
||||
Self->XML_SetUnparsedEntityDeclHandler(p->p, _68k_unparseddeclhandler);
|
||||
}
|
||||
struct EmuTrap stub_XML_SetUnparsedEntityDeclHandler = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_SetUnparsedEntityDeclHandlerPPC };
|
||||
|
||||
static void stub_XML_SetNotationDeclHandlerPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
p->notationdeclhandler = (void *)regarray[9];
|
||||
Self->XML_SetNotationDeclHandler(p->p, _68k_notationdeclhandler);
|
||||
}
|
||||
struct EmuTrap stub_XML_SetNotationDeclHandler = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_SetNotationDeclHandlerPPC };
|
||||
|
||||
static void stub_XML_SetNotStandaloneHandlerPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
p->notstandalonehandler = (void *)regarray[9];
|
||||
Self->XML_SetNotStandaloneHandler(p->p, _68k_notstandalonehandler);
|
||||
}
|
||||
struct EmuTrap stub_XML_SetNotStandaloneHandler = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_SetNotStandaloneHandlerPPC };
|
||||
|
||||
static int stub_XML_GetErrorCodePPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
return Self->XML_GetErrorCode(p->p);
|
||||
}
|
||||
struct EmuTrap stub_XML_GetErrorCode = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_GetErrorCodePPC };
|
||||
|
||||
static const XML_LChar * stub_XML_ErrorStringPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
return Self->XML_ErrorString((int)regarray[0]);
|
||||
}
|
||||
struct EmuTrap stub_XML_ErrorString = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_ErrorStringPPC };
|
||||
|
||||
static long stub_XML_GetCurrentByteIndexPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
return Self->XML_GetCurrentByteIndex(p->p);
|
||||
}
|
||||
struct EmuTrap stub_XML_GetCurrentByteIndex = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_GetCurrentByteIndexPPC };
|
||||
|
||||
static int stub_XML_GetCurrentLineNumberPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
return Self->XML_GetCurrentLineNumber(p->p);
|
||||
}
|
||||
struct EmuTrap stub_XML_GetCurrentLineNumber = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_GetCurrentLineNumberPPC };
|
||||
|
||||
static int stub_XML_GetCurrentColumnNumberPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
return Self->XML_GetCurrentColumnNumber(p->p);
|
||||
}
|
||||
struct EmuTrap stub_XML_GetCurrentColumnNumber = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_GetCurrentColumnNumberPPC };
|
||||
|
||||
static int stub_XML_GetCurrentByteCountPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
return Self->XML_GetCurrentByteCount(p->p);
|
||||
}
|
||||
struct EmuTrap stub_XML_GetCurrentByteCount = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_GetCurrentByteCountPPC };
|
||||
|
||||
static const char * stub_XML_GetInputContextPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
return Self->XML_GetInputContext(p->p, (int *)regarray[9], (int *)regarray[10]);
|
||||
}
|
||||
struct EmuTrap stub_XML_GetInputContext = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_GetInputContextPPC };
|
||||
|
||||
static void stub_XML_SetUserDataPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
p->handlerarg = (void *)regarray[9];
|
||||
}
|
||||
struct EmuTrap stub_XML_SetUserData = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_SetUserDataPPC };
|
||||
|
||||
static void stub_XML_DefaultCurrentPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
Self->XML_DefaultCurrent(p->p);
|
||||
}
|
||||
struct EmuTrap stub_XML_DefaultCurrent = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_DefaultCurrentPPC };
|
||||
|
||||
static void stub_XML_UseParserAsHandlerArgPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
p->handlerarg = p;
|
||||
}
|
||||
struct EmuTrap stub_XML_UseParserAsHandlerArg = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_UseParserAsHandlerArgPPC };
|
||||
|
||||
static int stub_XML_SetBasePPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
return Self->XML_SetBase(p->p, (const XML_Char *)regarray[9]);
|
||||
}
|
||||
struct EmuTrap stub_XML_SetBase = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_SetBasePPC };
|
||||
|
||||
static const XML_Char * stub_XML_GetBasePPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
return Self->XML_GetBase(p->p);
|
||||
}
|
||||
struct EmuTrap stub_XML_GetBase = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_GetBasePPC };
|
||||
|
||||
static int stub_XML_GetSpecifiedAttributeCountPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
return Self->XML_GetSpecifiedAttributeCount(p->p);
|
||||
}
|
||||
struct EmuTrap stub_XML_GetSpecifiedAttributeCount = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_GetSpecifiedAttributeCountPPC };
|
||||
|
||||
static int stub_XML_GetIdAttributeIndexPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
return Self->XML_GetIdAttributeIndex(p->p);
|
||||
}
|
||||
struct EmuTrap stub_XML_GetIdAttributeIndex = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_GetIdAttributeIndexPPC };
|
||||
|
||||
static int stub_XML_SetEncodingPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
return Self->XML_SetEncoding(p->p, (const XML_Char *)regarray[9]);
|
||||
}
|
||||
struct EmuTrap stub_XML_SetEncoding = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_SetEncodingPPC };
|
||||
|
||||
static int stub_XML_SetParamEntityParsingPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
return Self->XML_SetParamEntityParsing(p->p, (enum XML_ParamEntityParsing)regarray[9]);
|
||||
}
|
||||
struct EmuTrap stub_XML_SetParamEntityParsing = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_SetParamEntityParsingPPC };
|
||||
|
||||
static void stub_XML_SetReturnNSTripletPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
Self->XML_SetReturnNSTriplet(p->p, (int)regarray[0]);
|
||||
}
|
||||
struct EmuTrap stub_XML_SetReturnNSTriplet = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_SetReturnNSTripletPPC };
|
||||
|
||||
static const XML_LChar * stub_XML_ExpatVersionPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
return Self->XML_ExpatVersion();
|
||||
}
|
||||
struct EmuTrap stub_XML_ExpatVersion = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_ExpatVersionPPC };
|
||||
|
||||
static XML_Expat_Version stub_XML_ExpatVersionInfoPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
return Self->XML_ExpatVersionInfo();
|
||||
}
|
||||
struct EmuTrap stub_XML_ExpatVersionInfo = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_ExpatVersionInfoPPC };
|
||||
|
||||
static int stub_XML_ParserResetPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
return Self->XML_ParserReset(p->p, (const XML_Char *)regarray[9]);
|
||||
}
|
||||
struct EmuTrap stub_XML_ParserReset = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_ParserResetPPC };
|
||||
|
||||
static void stub_XML_SetSkippedEntityHandlerPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
p->skippedentityhandler = (void *)regarray[9];
|
||||
Self->XML_SetSkippedEntityHandler(p->p, _68k_skippedentityhandler);
|
||||
}
|
||||
struct EmuTrap stub_XML_SetSkippedEntityHandler = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_SetSkippedEntityHandlerPPC };
|
||||
|
||||
static int stub_XML_UseForeignDTDPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
return Self->XML_UseForeignDTD(p->p, (XML_Bool)regarray[0]);
|
||||
}
|
||||
struct EmuTrap stub_XML_UseForeignDTD = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_UseForeignDTDPPC };
|
||||
|
||||
static const XML_Feature * stub_XML_GetFeatureListPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
return Self->XML_GetFeatureList();
|
||||
}
|
||||
struct EmuTrap stub_XML_GetFeatureList = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_GetFeatureListPPC };
|
||||
|
||||
static int stub_XML_StopParserPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
return Self->XML_StopParser(p->p, (XML_Bool)regarray[0]);
|
||||
}
|
||||
struct EmuTrap stub_XML_StopParser = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_StopParserPPC };
|
||||
|
||||
static int stub_XML_ResumeParserPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
return Self->XML_ResumeParser(p->p);
|
||||
}
|
||||
struct EmuTrap stub_XML_ResumeParser = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_ResumeParserPPC };
|
||||
|
||||
static void stub_XML_GetParsingStatusPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
Self->XML_GetParsingStatus(p->p, (XML_ParsingStatus *)regarray[9]);
|
||||
}
|
||||
struct EmuTrap stub_XML_GetParsingStatus = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_GetParsingStatusPPC };
|
||||
|
||||
static void stub_XML_FreeContentModelPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
Self->XML_FreeContentModel(p->p, (XML_Content *)regarray[9]);
|
||||
}
|
||||
struct EmuTrap stub_XML_FreeContentModel = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_FreeContentModelPPC };
|
||||
|
||||
static void *stub_XML_MemMallocPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
return Self->XML_MemMalloc(p->p, (size_t)regarray[0]);
|
||||
}
|
||||
struct EmuTrap stub_XML_MemMalloc = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_MemMallocPPC };
|
||||
|
||||
static void *stub_XML_MemReallocPPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
return Self->XML_MemRealloc(p->p, (void *)regarray[9], (size_t)regarray[0]);
|
||||
}
|
||||
struct EmuTrap stub_XML_MemRealloc = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_MemReallocPPC };
|
||||
|
||||
static void stub_XML_MemFreePPC(ULONG *regarray)
|
||||
{
|
||||
struct Library *Base = (struct Library *) regarray[REG68K_A6/4];
|
||||
struct ExtendedLibrary *ExtLib = (struct ExtendedLibrary *) ((ULONG)Base + Base->lib_PosSize);
|
||||
struct ExpatIFace *Self = (struct ExpatIFace *) ExtLib->MainIFace;
|
||||
|
||||
M68kXML_Parser p = (M68kXML_Parser)regarray[8];
|
||||
Self->XML_MemFree(p->p, (void *)regarray[9]);
|
||||
}
|
||||
struct EmuTrap stub_XML_MemFree = { TRAPINST, TRAPTYPE, (ULONG (*)(ULONG *))stub_XML_MemFreePPC };
|
||||
|
||||
ULONG VecTable68K[] = {
|
||||
(ULONG)&stub_Open,
|
||||
(ULONG)&stub_Close,
|
||||
(ULONG)&stub_Expunge,
|
||||
(ULONG)&stub_Reserved,
|
||||
(ULONG)&stub_XML_ParserCreate,
|
||||
(ULONG)&stub_XML_ParserCreateNS,
|
||||
(ULONG)&stub_XML_ParserCreate_MM,
|
||||
(ULONG)&stub_XML_ExternalEntityParserCreate,
|
||||
(ULONG)&stub_XML_ParserFree,
|
||||
(ULONG)&stub_XML_Parse,
|
||||
(ULONG)&stub_XML_ParseBuffer,
|
||||
(ULONG)&stub_XML_GetBuffer,
|
||||
(ULONG)&stub_XML_SetStartElementHandler,
|
||||
(ULONG)&stub_XML_SetEndElementHandler,
|
||||
(ULONG)&stub_XML_SetElementHandler,
|
||||
(ULONG)&stub_XML_SetCharacterDataHandler,
|
||||
(ULONG)&stub_XML_SetProcessingInstructionHandler,
|
||||
(ULONG)&stub_XML_SetCommentHandler,
|
||||
(ULONG)&stub_XML_SetStartCdataSectionHandler,
|
||||
(ULONG)&stub_XML_SetEndCdataSectionHandler,
|
||||
(ULONG)&stub_XML_SetCdataSectionHandler,
|
||||
(ULONG)&stub_XML_SetDefaultHandler,
|
||||
(ULONG)&stub_XML_SetDefaultHandlerExpand,
|
||||
(ULONG)&stub_XML_SetExternalEntityRefHandler,
|
||||
(ULONG)&stub_XML_SetExternalEntityRefHandlerArg,
|
||||
(ULONG)&stub_XML_SetUnknownEncodingHandler,
|
||||
(ULONG)&stub_XML_SetStartNamespaceDeclHandler,
|
||||
(ULONG)&stub_XML_SetEndNamespaceDeclHandler,
|
||||
(ULONG)&stub_XML_SetNamespaceDeclHandler,
|
||||
(ULONG)&stub_XML_SetXmlDeclHandler,
|
||||
(ULONG)&stub_XML_SetStartDoctypeDeclHandler,
|
||||
(ULONG)&stub_XML_SetEndDoctypeDeclHandler,
|
||||
(ULONG)&stub_XML_SetDoctypeDeclHandler,
|
||||
(ULONG)&stub_XML_SetElementDeclHandler,
|
||||
(ULONG)&stub_XML_SetAttlistDeclHandler,
|
||||
(ULONG)&stub_XML_SetEntityDeclHandler,
|
||||
(ULONG)&stub_XML_SetUnparsedEntityDeclHandler,
|
||||
(ULONG)&stub_XML_SetNotationDeclHandler,
|
||||
(ULONG)&stub_XML_SetNotStandaloneHandler,
|
||||
(ULONG)&stub_XML_GetErrorCode,
|
||||
(ULONG)&stub_XML_ErrorString,
|
||||
(ULONG)&stub_XML_GetCurrentByteIndex,
|
||||
(ULONG)&stub_XML_GetCurrentLineNumber,
|
||||
(ULONG)&stub_XML_GetCurrentColumnNumber,
|
||||
(ULONG)&stub_XML_GetCurrentByteCount,
|
||||
(ULONG)&stub_XML_GetInputContext,
|
||||
(ULONG)&stub_XML_SetUserData,
|
||||
(ULONG)&stub_XML_DefaultCurrent,
|
||||
(ULONG)&stub_XML_UseParserAsHandlerArg,
|
||||
(ULONG)&stub_XML_SetBase,
|
||||
(ULONG)&stub_XML_GetBase,
|
||||
(ULONG)&stub_XML_GetSpecifiedAttributeCount,
|
||||
(ULONG)&stub_XML_GetIdAttributeIndex,
|
||||
(ULONG)&stub_XML_SetEncoding,
|
||||
(ULONG)&stub_XML_SetParamEntityParsing,
|
||||
(ULONG)&stub_XML_SetReturnNSTriplet,
|
||||
(ULONG)&stub_XML_ExpatVersion,
|
||||
(ULONG)&stub_XML_ExpatVersionInfo,
|
||||
(ULONG)&stub_XML_ParserReset,
|
||||
(ULONG)&stub_XML_SetSkippedEntityHandler,
|
||||
(ULONG)&stub_XML_UseForeignDTD,
|
||||
(ULONG)&stub_XML_GetFeatureList,
|
||||
(ULONG)&stub_XML_StopParser,
|
||||
(ULONG)&stub_XML_ResumeParser,
|
||||
(ULONG)&stub_XML_GetParsingStatus,
|
||||
(ULONG)&stub_XML_FreeContentModel,
|
||||
(ULONG)&stub_XML_MemMalloc,
|
||||
(ULONG)&stub_XML_MemRealloc,
|
||||
(ULONG)&stub_XML_MemFree,
|
||||
(ULONG)-1
|
||||
};
|
||||
Executable
+94
@@ -0,0 +1,94 @@
|
||||
/*
|
||||
** Copyright (c) 2001-2009 Expat maintainers.
|
||||
**
|
||||
** 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.
|
||||
*/
|
||||
|
||||
#ifndef EXPAT_68K_H
|
||||
#define EXPAT_68K_H
|
||||
|
||||
#ifndef LIBRARIES_EXPAT_H
|
||||
#include <libraries/expat.h>
|
||||
#endif
|
||||
|
||||
typedef struct M68kXML_ParserStruct {
|
||||
XML_Parser p;
|
||||
struct ExecIFace *IExec;
|
||||
void *handlerarg;
|
||||
void *extenthandlerarg;
|
||||
void *enchandlerarg;
|
||||
void *startelementhandler;
|
||||
void *endelementhandler;
|
||||
void *chardatahandler;
|
||||
void *procinsthandler;
|
||||
void *commenthandler;
|
||||
void *startcdatahandler;
|
||||
void *endcdatahandler;
|
||||
void *defaulthandler;
|
||||
void *defaulthandlerexp;
|
||||
void *extentrefhandler;
|
||||
void *unknownenchandler;
|
||||
void *startnamespacehandler;
|
||||
void *endnamespacehandler;
|
||||
void *xmldeclhandler;
|
||||
void *startdoctypehandler;
|
||||
void *enddoctypehandler;
|
||||
void *elementdeclhandler;
|
||||
void *attlistdeclhandler;
|
||||
void *entitydeclhandler;
|
||||
void *unparseddeclhandler;
|
||||
void *notationdeclhandler;
|
||||
void *notstandalonehandler;
|
||||
void *skippedentityhandler;
|
||||
} *M68kXML_Parser;
|
||||
|
||||
/* expat_68k_handler_stubs.c */
|
||||
void _68k_startelementhandler(void *userdata, const char *name, const char **attrs);
|
||||
void _68k_endelementhandler(void *userdata, const char *name);
|
||||
void _68k_chardatahandler(void *userdata, const char *s, int len);
|
||||
void _68k_procinsthandler(void *userdata, const char *target, const char *data);
|
||||
void _68k_commenthandler(void *userdata, const char *data);
|
||||
void _68k_startcdatahandler(void *userdata);
|
||||
void _68k_endcdatahandler(void *userdata);
|
||||
void _68k_defaulthandler(void *userdata, const char *s, int len);
|
||||
void _68k_defaulthandlerexp(void *userdata, const char *s, int len);
|
||||
int _68k_extentrefhandler(XML_Parser parser, const char *context, const char *base,
|
||||
const char *sysid, const char *pubid);
|
||||
int _68k_unknownenchandler(void *enchandlerdata, const char *name, XML_Encoding *info);
|
||||
void _68k_startnamespacehandler(void *userdata, const char *prefix, const char *uri);
|
||||
void _68k_endnamespacehandler(void *userdata, const char *prefix);
|
||||
void _68k_xmldeclhandler(void *userdata, const char *version, const char *encoding, int standalone);
|
||||
void _68k_startdoctypehandler(void *userdata, const char *doctypename,
|
||||
const char *sysid, const char *pubid, int has_internal_subset);
|
||||
void _68k_enddoctypehandler(void *userdata);
|
||||
void _68k_elementdeclhandler(void *userdata, const char *name, XML_Content *model);
|
||||
void _68k_attlistdeclhandler(void *userdata, const char *elname, const char *attname,
|
||||
const char *att_type, const char *dflt, int isrequired);
|
||||
void _68k_entitydeclhandler(void *userdata, const char *entityname, int is_param_entity,
|
||||
const char *value, int value_length, const char *base, const char *sysid, const char *pubid,
|
||||
const char *notationname);
|
||||
void _68k_unparseddeclhandler(void *userdata, const char *entityname, const char *base,
|
||||
const char *sysid, const char *pubid, const char *notationname);
|
||||
void _68k_notationdeclhandler(void *userdata, const char *notationname, const char *base,
|
||||
const char *sysid, const char *pubid);
|
||||
int _68k_notstandalonehandler(void *userdata);
|
||||
void _68k_skippedentityhandler(void *userdata, const char *entityname, int is_param_entity);
|
||||
|
||||
#endif
|
||||
Executable
+185
@@ -0,0 +1,185 @@
|
||||
/*
|
||||
** Copyright (c) 2001-2009 Expat maintainers.
|
||||
**
|
||||
** 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.
|
||||
*/
|
||||
|
||||
#ifdef __USE_INLINE__
|
||||
#undef __USE_INLINE__
|
||||
#endif
|
||||
|
||||
#include "expat_68k.h"
|
||||
#include <exec/emulation.h>
|
||||
#include <proto/exec.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
static uint32 VARARGS68K call_68k_code (struct ExecIFace *IExec, void *code, int num_args, ...) {
|
||||
uint32 res = 0;
|
||||
|
||||
va_list vargs;
|
||||
va_startlinear(vargs, num_args);
|
||||
uint32 *args = va_getlinearva(vargs, uint32 *);
|
||||
|
||||
uint8 *stack = IExec->AllocVec(4096, MEMF_SHARED);
|
||||
if (stack) {
|
||||
uint32 *sp = (uint32 *)(stack + 4096);
|
||||
args += num_args;
|
||||
while (num_args--) {
|
||||
*--sp = *--args;
|
||||
}
|
||||
|
||||
res = IExec->EmulateTags(code, ET_StackPtr, sp, TAG_END);
|
||||
IExec->FreeVec(stack);
|
||||
}
|
||||
|
||||
va_end(vargs);
|
||||
|
||||
return res;
|
||||
}
|
||||
|
||||
void _68k_startelementhandler(void *userdata, const char *name, const char **attrs) {
|
||||
M68kXML_Parser p = userdata;
|
||||
call_68k_code(p->IExec, p->startelementhandler, 3, p->handlerarg, name, attrs);
|
||||
}
|
||||
|
||||
void _68k_endelementhandler(void *userdata, const char *name) {
|
||||
M68kXML_Parser p = userdata;
|
||||
call_68k_code(p->IExec, p->endelementhandler, 2, p->handlerarg, name);
|
||||
}
|
||||
|
||||
void _68k_chardatahandler(void *userdata, const char *s, int len) {
|
||||
M68kXML_Parser p = userdata;
|
||||
call_68k_code(p->IExec, p->chardatahandler, 3, p->handlerarg, s, len);
|
||||
}
|
||||
|
||||
void _68k_procinsthandler(void *userdata, const char *target, const char *data) {
|
||||
M68kXML_Parser p = userdata;
|
||||
call_68k_code(p->IExec, p->procinsthandler, 3, p->handlerarg, target, data);
|
||||
}
|
||||
|
||||
void _68k_commenthandler(void *userdata, const char *data) {
|
||||
M68kXML_Parser p = userdata;
|
||||
call_68k_code(p->IExec, p->commenthandler, 2, p->handlerarg, data);
|
||||
}
|
||||
|
||||
void _68k_startcdatahandler(void *userdata) {
|
||||
M68kXML_Parser p = userdata;
|
||||
call_68k_code(p->IExec, p->startcdatahandler, 1, p->handlerarg);
|
||||
}
|
||||
|
||||
void _68k_endcdatahandler(void *userdata) {
|
||||
M68kXML_Parser p = userdata;
|
||||
call_68k_code(p->IExec, p->endcdatahandler, 1, p->handlerarg);
|
||||
}
|
||||
|
||||
void _68k_defaulthandler(void *userdata, const char *s, int len) {
|
||||
M68kXML_Parser p = userdata;
|
||||
call_68k_code(p->IExec, p->defaulthandler, 3, p->handlerarg, s, len);
|
||||
}
|
||||
|
||||
void _68k_defaulthandlerexp(void *userdata, const char *s, int len) {
|
||||
M68kXML_Parser p = userdata;
|
||||
call_68k_code(p->IExec, p->defaulthandlerexp, 3, p->handlerarg, s, len);
|
||||
}
|
||||
|
||||
int _68k_extentrefhandler(XML_Parser parser, const char *context, const char *base,
|
||||
const char *sysid, const char *pubid)
|
||||
{
|
||||
M68kXML_Parser p = XML_GetUserData(parser);
|
||||
void *arg = p->extenthandlerarg;
|
||||
return (int)call_68k_code(p->IExec, p->extentrefhandler, 5, arg ? arg : p, context, base, sysid, pubid);
|
||||
}
|
||||
|
||||
int _68k_unknownenchandler(void *enchandlerdata, const char *name, XML_Encoding *info) {
|
||||
M68kXML_Parser p = enchandlerdata;
|
||||
return (int)call_68k_code(p->IExec, p->unknownenchandler, 3, p->enchandlerarg, name, info);
|
||||
}
|
||||
|
||||
void _68k_startnamespacehandler(void *userdata, const char *prefix, const char *uri) {
|
||||
M68kXML_Parser p = userdata;
|
||||
call_68k_code(p->IExec, p->startnamespacehandler, 3, p->handlerarg, prefix, uri);
|
||||
}
|
||||
|
||||
void _68k_endnamespacehandler(void *userdata, const char *prefix) {
|
||||
M68kXML_Parser p = userdata;
|
||||
call_68k_code(p->IExec, p->endnamespacehandler, 2, p->handlerarg, prefix);
|
||||
}
|
||||
|
||||
void _68k_xmldeclhandler(void *userdata, const char *version, const char *encoding, int standalone) {
|
||||
M68kXML_Parser p = userdata;
|
||||
call_68k_code(p->IExec, p->xmldeclhandler, 4, p->handlerarg, version, encoding, standalone);
|
||||
}
|
||||
|
||||
void _68k_startdoctypehandler(void *userdata, const char *doctypename,
|
||||
const char *sysid, const char *pubid, int has_internal_subset)
|
||||
{
|
||||
M68kXML_Parser p = userdata;
|
||||
call_68k_code(p->IExec, p->startdoctypehandler, 5, p->handlerarg, doctypename, sysid, pubid, has_internal_subset);
|
||||
}
|
||||
|
||||
void _68k_enddoctypehandler(void *userdata) {
|
||||
M68kXML_Parser p = userdata;
|
||||
call_68k_code(p->IExec, p->enddoctypehandler, 1, p->handlerarg);
|
||||
}
|
||||
|
||||
void _68k_elementdeclhandler(void *userdata, const char *name, XML_Content *model) {
|
||||
M68kXML_Parser p = userdata;
|
||||
call_68k_code(p->IExec, p->elementdeclhandler, 3, p->handlerarg, name, model);
|
||||
}
|
||||
|
||||
void _68k_attlistdeclhandler(void *userdata, const char *elname, const char *attname,
|
||||
const char *att_type, const char *dflt, int isrequired)
|
||||
{
|
||||
M68kXML_Parser p = userdata;
|
||||
call_68k_code(p->IExec, p->attlistdeclhandler, 6, p->handlerarg, elname, attname, att_type, dflt, isrequired);
|
||||
}
|
||||
|
||||
void _68k_entitydeclhandler(void *userdata, const char *entityname, int is_param_entity,
|
||||
const char *value, int value_length, const char *base, const char *sysid, const char *pubid,
|
||||
const char *notationname)
|
||||
{
|
||||
M68kXML_Parser p = userdata;
|
||||
call_68k_code(p->IExec, p->entitydeclhandler, 9, p->handlerarg, entityname, is_param_entity,
|
||||
value, value_length, base, sysid, pubid, notationname);
|
||||
}
|
||||
|
||||
void _68k_unparseddeclhandler(void *userdata, const char *entityname, const char *base,
|
||||
const char *sysid, const char *pubid, const char *notationname)
|
||||
{
|
||||
M68kXML_Parser p = userdata;
|
||||
call_68k_code(p->IExec, p->unparseddeclhandler, 6, p->handlerarg, entityname, base, sysid, pubid, notationname);
|
||||
}
|
||||
|
||||
void _68k_notationdeclhandler(void *userdata, const char *notationname, const char *base,
|
||||
const char *sysid, const char *pubid)
|
||||
{
|
||||
M68kXML_Parser p = userdata;
|
||||
call_68k_code(p->IExec, p->notationdeclhandler, 5, p->handlerarg, notationname, base, sysid, pubid);
|
||||
}
|
||||
|
||||
int _68k_notstandalonehandler(void *userdata) {
|
||||
M68kXML_Parser p = userdata;
|
||||
return (int)call_68k_code(p->IExec, p->notstandalonehandler, 1, p->handlerarg);
|
||||
}
|
||||
|
||||
void _68k_skippedentityhandler(void *userdata, const char *entityname, int is_param_entity) {
|
||||
M68kXML_Parser p = userdata;
|
||||
call_68k_code(p->IExec, p->skippedentityhandler, 3, p->handlerarg, entityname, is_param_entity);
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
/*
|
||||
** Copyright (c) 2001-2009 Expat maintainers.
|
||||
**
|
||||
** 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.
|
||||
*/
|
||||
|
||||
#ifndef EXPAT_BASE_H
|
||||
#define EXPAT_BASE_H
|
||||
|
||||
#include <exec/libraries.h>
|
||||
#include <dos/dos.h>
|
||||
#include <interfaces/exec.h>
|
||||
#include <interfaces/utility.h>
|
||||
|
||||
|
||||
struct ExpatBase {
|
||||
struct Library libNode;
|
||||
uint16 pad;
|
||||
BPTR SegList;
|
||||
struct ExecIFace *IExec;
|
||||
};
|
||||
|
||||
#endif
|
||||
Executable
+247
@@ -0,0 +1,247 @@
|
||||
/*
|
||||
** Copyright (c) 2001-2009 Expat maintainers.
|
||||
**
|
||||
** 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.
|
||||
*/
|
||||
|
||||
#ifdef __USE_INLINE__
|
||||
#undef __USE_INLINE__
|
||||
#endif
|
||||
|
||||
#define __NOLIBBASE__
|
||||
#define __NOGLOBALIFACE__
|
||||
|
||||
#include <dos/dos.h>
|
||||
#include <proto/exec.h>
|
||||
|
||||
#include "expat_base.h"
|
||||
|
||||
|
||||
#define LIBNAME "expat.library"
|
||||
#define LIBPRI 0
|
||||
#define VERSION 53
|
||||
#define REVISION 1
|
||||
#define VSTRING "expat.library 53.1 (7.8.2009)" /* dd.mm.yyyy */
|
||||
|
||||
|
||||
static const char* __attribute__((used)) verstag = "\0$VER: " VSTRING;
|
||||
|
||||
|
||||
struct Interface *INewlib = 0;
|
||||
|
||||
|
||||
struct ExpatBase * libInit(struct ExpatBase *libBase, BPTR seglist, struct ExecIFace *ISys);
|
||||
uint32 libObtain (struct LibraryManagerInterface *Self);
|
||||
uint32 libRelease (struct LibraryManagerInterface *Self);
|
||||
struct ExpatBase *libOpen (struct LibraryManagerInterface *Self, uint32 version);
|
||||
BPTR libClose (struct LibraryManagerInterface *Self);
|
||||
BPTR libExpunge (struct LibraryManagerInterface *Self);
|
||||
struct Interface *openInterface(struct ExecIFace *IExec, CONST_STRPTR libName, uint32 libVer);
|
||||
void closeInterface(struct ExecIFace *IExec, struct Interface *iface);
|
||||
|
||||
|
||||
static APTR lib_manager_vectors[] = {
|
||||
libObtain,
|
||||
libRelease,
|
||||
NULL,
|
||||
NULL,
|
||||
libOpen,
|
||||
libClose,
|
||||
libExpunge,
|
||||
NULL,
|
||||
(APTR)-1,
|
||||
};
|
||||
|
||||
|
||||
static struct TagItem lib_managerTags[] = {
|
||||
{ MIT_Name, (uint32)"__library" },
|
||||
{ MIT_VectorTable, (uint32)lib_manager_vectors },
|
||||
{ MIT_Version, 1 },
|
||||
{ TAG_END, 0 }
|
||||
};
|
||||
|
||||
|
||||
extern void *main_vectors[];
|
||||
|
||||
static struct TagItem lib_mainTags[] = {
|
||||
{ MIT_Name, (uint32)"main" },
|
||||
{ MIT_VectorTable, (uint32)main_vectors },
|
||||
{ MIT_Version, 1 },
|
||||
{ TAG_END, 0 }
|
||||
};
|
||||
|
||||
|
||||
static APTR libInterfaces[] = {
|
||||
lib_managerTags,
|
||||
lib_mainTags,
|
||||
NULL
|
||||
};
|
||||
|
||||
|
||||
extern void *VecTable68K[];
|
||||
|
||||
static struct TagItem libCreateTags[] = {
|
||||
{ CLT_DataSize, sizeof(struct ExpatBase) },
|
||||
{ CLT_InitFunc, (uint32)libInit },
|
||||
{ CLT_Interfaces, (uint32)libInterfaces },
|
||||
{ CLT_Vector68K, (uint32)VecTable68K },
|
||||
{ TAG_END, 0 }
|
||||
};
|
||||
|
||||
|
||||
static struct Resident __attribute__((used)) lib_res = {
|
||||
RTC_MATCHWORD, // rt_MatchWord
|
||||
&lib_res, // rt_MatchTag
|
||||
&lib_res+1, // rt_EndSkip
|
||||
RTF_NATIVE | RTF_AUTOINIT, // rt_Flags
|
||||
VERSION, // rt_Version
|
||||
NT_LIBRARY, // rt_Type
|
||||
LIBPRI, // rt_Pri
|
||||
LIBNAME, // rt_Name
|
||||
VSTRING, // rt_IdString
|
||||
libCreateTags // rt_Init
|
||||
};
|
||||
|
||||
|
||||
int32 _start()
|
||||
{
|
||||
return RETURN_FAIL;
|
||||
}
|
||||
|
||||
|
||||
struct ExpatBase *libInit(struct ExpatBase *libBase, BPTR seglist, struct ExecIFace *iexec)
|
||||
{
|
||||
libBase->libNode.lib_Node.ln_Type = NT_LIBRARY;
|
||||
libBase->libNode.lib_Node.ln_Pri = LIBPRI;
|
||||
libBase->libNode.lib_Node.ln_Name = LIBNAME;
|
||||
libBase->libNode.lib_Flags = LIBF_SUMUSED|LIBF_CHANGED;
|
||||
libBase->libNode.lib_Version = VERSION;
|
||||
libBase->libNode.lib_Revision = REVISION;
|
||||
libBase->libNode.lib_IdString = VSTRING;
|
||||
|
||||
libBase->SegList = seglist;
|
||||
|
||||
libBase->IExec = iexec;
|
||||
INewlib = openInterface(iexec, "newlib.library", 0);
|
||||
|
||||
if ( INewlib != 0 ) {
|
||||
return libBase;
|
||||
}
|
||||
|
||||
closeInterface(iexec, INewlib);
|
||||
INewlib = 0;
|
||||
|
||||
iexec->DeleteLibrary(&libBase->libNode);
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
uint32 libObtain( struct LibraryManagerInterface *Self )
|
||||
{
|
||||
++Self->Data.RefCount;
|
||||
return Self->Data.RefCount;
|
||||
}
|
||||
|
||||
|
||||
uint32 libRelease( struct LibraryManagerInterface *Self )
|
||||
{
|
||||
--Self->Data.RefCount;
|
||||
return Self->Data.RefCount;
|
||||
}
|
||||
|
||||
|
||||
struct ExpatBase *libOpen( struct LibraryManagerInterface *Self, uint32 version )
|
||||
{
|
||||
struct ExpatBase *libBase;
|
||||
|
||||
libBase = (struct ExpatBase *)Self->Data.LibBase;
|
||||
|
||||
++libBase->libNode.lib_OpenCnt;
|
||||
libBase->libNode.lib_Flags &= ~LIBF_DELEXP;
|
||||
|
||||
return libBase;
|
||||
}
|
||||
|
||||
|
||||
BPTR libClose( struct LibraryManagerInterface *Self )
|
||||
{
|
||||
struct ExpatBase *libBase;
|
||||
|
||||
libBase = (struct ExpatBase *)Self->Data.LibBase;
|
||||
|
||||
--libBase->libNode.lib_OpenCnt;
|
||||
if ( libBase->libNode.lib_OpenCnt ) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
if ( libBase->libNode.lib_Flags & LIBF_DELEXP ) {
|
||||
return (BPTR)Self->LibExpunge();
|
||||
}
|
||||
else {
|
||||
return ZERO;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
BPTR libExpunge( struct LibraryManagerInterface *Self )
|
||||
{
|
||||
struct ExpatBase *libBase = (struct ExpatBase *)Self->Data.LibBase;
|
||||
BPTR result = ZERO;
|
||||
|
||||
if (libBase->libNode.lib_OpenCnt == 0) {
|
||||
libBase->IExec->Remove(&libBase->libNode.lib_Node);
|
||||
|
||||
result = libBase->SegList;
|
||||
|
||||
closeInterface(libBase->IExec, INewlib);
|
||||
INewlib = 0;
|
||||
|
||||
libBase->IExec->DeleteLibrary(&libBase->libNode);
|
||||
}
|
||||
else {
|
||||
libBase->libNode.lib_Flags |= LIBF_DELEXP;
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
struct Interface *openInterface(struct ExecIFace *IExec, CONST_STRPTR libName, uint32 libVer)
|
||||
{
|
||||
struct Library *base = IExec->OpenLibrary(libName, libVer);
|
||||
struct Interface *iface = IExec->GetInterface(base, "main", 1, 0);
|
||||
if (iface == 0) {
|
||||
IExec->CloseLibrary(base);
|
||||
}
|
||||
|
||||
return iface;
|
||||
}
|
||||
|
||||
|
||||
void closeInterface(struct ExecIFace *IExec, struct Interface *iface)
|
||||
{
|
||||
if (iface != 0)
|
||||
{
|
||||
struct Library *base = iface->Data.LibBase;
|
||||
IExec->DropInterface(iface);
|
||||
IExec->CloseLibrary(base);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,505 @@
|
||||
/*
|
||||
** Copyright (c) 2001-2009 Expat maintainers.
|
||||
**
|
||||
** 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.
|
||||
*/
|
||||
|
||||
#include <exec/types.h>
|
||||
#include <exec/exec.h>
|
||||
#include <exec/interfaces.h>
|
||||
#include <interfaces/expat.h>
|
||||
|
||||
extern uint32 _Expat_Obtain(struct ExpatIFace *);
|
||||
extern uint32 _Expat_Release(struct ExpatIFace *);
|
||||
extern XML_Parser _Expat_XML_ParserCreate(struct ExpatIFace *, const XML_Char * encodingName);
|
||||
extern XML_Parser _Expat_XML_ParserCreateNS(struct ExpatIFace *, const XML_Char * encodingName, XML_Char nsSep);
|
||||
extern XML_Parser _Expat_XML_ParserCreate_MM(struct ExpatIFace *, const XML_Char * encoding, const XML_Memory_Handling_Suite * memsuite, const XML_Char * namespaceSeparator);
|
||||
extern XML_Parser _Expat_XML_ExternalEntityParserCreate(struct ExpatIFace *, XML_Parser parser, const XML_Char * context, const XML_Char * encoding);
|
||||
extern void _Expat_XML_ParserFree(struct ExpatIFace *, XML_Parser parser);
|
||||
extern enum XML_Status _Expat_XML_Parse(struct ExpatIFace *, XML_Parser parser, const char * s, int len, int isFinal);
|
||||
extern enum XML_Status _Expat_XML_ParseBuffer(struct ExpatIFace *, XML_Parser parser, int len, int isFinal);
|
||||
extern void * _Expat_XML_GetBuffer(struct ExpatIFace *, XML_Parser parser, int len);
|
||||
extern void _Expat_XML_SetStartElementHandler(struct ExpatIFace *, XML_Parser parser, XML_StartElementHandler start);
|
||||
extern void _Expat_XML_SetEndElementHandler(struct ExpatIFace *, XML_Parser parser, XML_EndElementHandler end);
|
||||
extern void _Expat_XML_SetElementHandler(struct ExpatIFace *, XML_Parser parser, XML_StartElementHandler start, XML_EndElementHandler end);
|
||||
extern void _Expat_XML_SetCharacterDataHandler(struct ExpatIFace *, XML_Parser parser, XML_CharacterDataHandler handler);
|
||||
extern void _Expat_XML_SetProcessingInstructionHandler(struct ExpatIFace *, XML_Parser parser, XML_ProcessingInstructionHandler handler);
|
||||
extern void _Expat_XML_SetCommentHandler(struct ExpatIFace *, XML_Parser parser, XML_CommentHandler handler);
|
||||
extern void _Expat_XML_SetStartCdataSectionHandler(struct ExpatIFace *, XML_Parser parser, XML_StartCdataSectionHandler start);
|
||||
extern void _Expat_XML_SetEndCdataSectionHandler(struct ExpatIFace *, XML_Parser parser, XML_EndCdataSectionHandler end);
|
||||
extern void _Expat_XML_SetCdataSectionHandler(struct ExpatIFace *, XML_Parser parser, XML_StartCdataSectionHandler start, XML_EndCdataSectionHandler end);
|
||||
extern void _Expat_XML_SetDefaultHandler(struct ExpatIFace *, XML_Parser parser, XML_DefaultHandler handler);
|
||||
extern void _Expat_XML_SetDefaultHandlerExpand(struct ExpatIFace *, XML_Parser parser, XML_DefaultHandler handler);
|
||||
extern void _Expat_XML_SetExternalEntityRefHandler(struct ExpatIFace *, XML_Parser parser, XML_ExternalEntityRefHandler handler);
|
||||
extern void _Expat_XML_SetExternalEntityRefHandlerArg(struct ExpatIFace *, XML_Parser parser, void * arg);
|
||||
extern void _Expat_XML_SetUnknownEncodingHandler(struct ExpatIFace *, XML_Parser parser, XML_UnknownEncodingHandler handler, void * data);
|
||||
extern void _Expat_XML_SetStartNamespaceDeclHandler(struct ExpatIFace *, XML_Parser parser, XML_StartNamespaceDeclHandler start);
|
||||
extern void _Expat_XML_SetEndNamespaceDeclHandler(struct ExpatIFace *, XML_Parser parser, XML_EndNamespaceDeclHandler end);
|
||||
extern void _Expat_XML_SetNamespaceDeclHandler(struct ExpatIFace *, XML_Parser parser, XML_StartNamespaceDeclHandler start, XML_EndNamespaceDeclHandler end);
|
||||
extern void _Expat_XML_SetXmlDeclHandler(struct ExpatIFace *, XML_Parser parser, XML_XmlDeclHandler handler);
|
||||
extern void _Expat_XML_SetStartDoctypeDeclHandler(struct ExpatIFace *, XML_Parser parser, XML_StartDoctypeDeclHandler start);
|
||||
extern void _Expat_XML_SetEndDoctypeDeclHandler(struct ExpatIFace *, XML_Parser parser, XML_EndDoctypeDeclHandler end);
|
||||
extern void _Expat_XML_SetDoctypeDeclHandler(struct ExpatIFace *, XML_Parser parser, XML_StartDoctypeDeclHandler start, XML_EndDoctypeDeclHandler end);
|
||||
extern void _Expat_XML_SetElementDeclHandler(struct ExpatIFace *, XML_Parser parser, XML_ElementDeclHandler eldecl);
|
||||
extern void _Expat_XML_SetAttlistDeclHandler(struct ExpatIFace *, XML_Parser parser, XML_AttlistDeclHandler attdecl);
|
||||
extern void _Expat_XML_SetEntityDeclHandler(struct ExpatIFace *, XML_Parser parser, XML_EntityDeclHandler handler);
|
||||
extern void _Expat_XML_SetUnparsedEntityDeclHandler(struct ExpatIFace *, XML_Parser parser, XML_UnparsedEntityDeclHandler handler);
|
||||
extern void _Expat_XML_SetNotationDeclHandler(struct ExpatIFace *, XML_Parser parser, XML_NotationDeclHandler handler);
|
||||
extern void _Expat_XML_SetNotStandaloneHandler(struct ExpatIFace *, XML_Parser parser, XML_NotStandaloneHandler handler);
|
||||
extern enum XML_Error _Expat_XML_GetErrorCode(struct ExpatIFace *, XML_Parser parser);
|
||||
extern const XML_LChar * _Expat_XML_ErrorString(struct ExpatIFace *, enum XML_Error code);
|
||||
extern long _Expat_XML_GetCurrentByteIndex(struct ExpatIFace *, XML_Parser parser);
|
||||
extern int _Expat_XML_GetCurrentLineNumber(struct ExpatIFace *, XML_Parser parser);
|
||||
extern int _Expat_XML_GetCurrentColumnNumber(struct ExpatIFace *, XML_Parser parser);
|
||||
extern int _Expat_XML_GetCurrentByteCount(struct ExpatIFace *, XML_Parser parser);
|
||||
extern const char * _Expat_XML_GetInputContext(struct ExpatIFace *, XML_Parser parser, int * offset, int * size);
|
||||
extern void _Expat_XML_SetUserData(struct ExpatIFace *, XML_Parser parser, void * userData);
|
||||
extern void _Expat_XML_DefaultCurrent(struct ExpatIFace *, XML_Parser parser);
|
||||
extern void _Expat_XML_UseParserAsHandlerArg(struct ExpatIFace *, XML_Parser parser);
|
||||
extern enum XML_Status _Expat_XML_SetBase(struct ExpatIFace *, XML_Parser parser, const XML_Char * base);
|
||||
extern const XML_Char * _Expat_XML_GetBase(struct ExpatIFace *, XML_Parser parser);
|
||||
extern int _Expat_XML_GetSpecifiedAttributeCount(struct ExpatIFace *, XML_Parser parser);
|
||||
extern int _Expat_XML_GetIdAttributeIndex(struct ExpatIFace *, XML_Parser parser);
|
||||
extern enum XML_Status _Expat_XML_SetEncoding(struct ExpatIFace *, XML_Parser parser, const XML_Char * encoding);
|
||||
extern int _Expat_XML_SetParamEntityParsing(struct ExpatIFace *, XML_Parser parser, enum XML_ParamEntityParsing parsing);
|
||||
extern void _Expat_XML_SetReturnNSTriplet(struct ExpatIFace *, XML_Parser parser, int do_nst);
|
||||
extern const XML_LChar * _Expat_XML_ExpatVersion(struct ExpatIFace *);
|
||||
extern XML_Expat_Version _Expat_XML_ExpatVersionInfo(struct ExpatIFace *);
|
||||
extern XML_Bool _Expat_XML_ParserReset(struct ExpatIFace *, XML_Parser parser, const XML_Char * encoding);
|
||||
extern void _Expat_XML_SetSkippedEntityHandler(struct ExpatIFace *, XML_Parser parser, XML_SkippedEntityHandler handler);
|
||||
extern enum XML_Error _Expat_XML_UseForeignDTD(struct ExpatIFace *, XML_Parser parser, XML_Bool useDTD);
|
||||
extern const XML_Feature * _Expat_XML_GetFeatureList(struct ExpatIFace *);
|
||||
extern enum XML_Status _Expat_XML_StopParser(struct ExpatIFace *, XML_Parser parser, XML_Bool resumable);
|
||||
extern enum XML_Status _Expat_XML_ResumeParser(struct ExpatIFace *, XML_Parser parser);
|
||||
extern void _Expat_XML_GetParsingStatus(struct ExpatIFace *, XML_Parser parser, XML_ParsingStatus * status);
|
||||
extern void _Expat_XML_FreeContentModel(struct ExpatIFace *, XML_Parser parser, XML_Content * model);
|
||||
extern void * _Expat_XML_MemMalloc(struct ExpatIFace *, XML_Parser parser, size_t size);
|
||||
extern void * _Expat_XML_MemRealloc(struct ExpatIFace *, XML_Parser parser, void * ptr, size_t size);
|
||||
extern void _Expat_XML_MemFree(struct ExpatIFace *, XML_Parser parser, void * ptr);
|
||||
|
||||
|
||||
CONST APTR main_vectors[] =
|
||||
{
|
||||
_Expat_Obtain,
|
||||
_Expat_Release,
|
||||
NULL,
|
||||
NULL,
|
||||
_Expat_XML_ParserCreate,
|
||||
_Expat_XML_ParserCreateNS,
|
||||
_Expat_XML_ParserCreate_MM,
|
||||
_Expat_XML_ExternalEntityParserCreate,
|
||||
_Expat_XML_ParserFree,
|
||||
_Expat_XML_Parse,
|
||||
_Expat_XML_ParseBuffer,
|
||||
_Expat_XML_GetBuffer,
|
||||
_Expat_XML_SetStartElementHandler,
|
||||
_Expat_XML_SetEndElementHandler,
|
||||
_Expat_XML_SetElementHandler,
|
||||
_Expat_XML_SetCharacterDataHandler,
|
||||
_Expat_XML_SetProcessingInstructionHandler,
|
||||
_Expat_XML_SetCommentHandler,
|
||||
_Expat_XML_SetStartCdataSectionHandler,
|
||||
_Expat_XML_SetEndCdataSectionHandler,
|
||||
_Expat_XML_SetCdataSectionHandler,
|
||||
_Expat_XML_SetDefaultHandler,
|
||||
_Expat_XML_SetDefaultHandlerExpand,
|
||||
_Expat_XML_SetExternalEntityRefHandler,
|
||||
_Expat_XML_SetExternalEntityRefHandlerArg,
|
||||
_Expat_XML_SetUnknownEncodingHandler,
|
||||
_Expat_XML_SetStartNamespaceDeclHandler,
|
||||
_Expat_XML_SetEndNamespaceDeclHandler,
|
||||
_Expat_XML_SetNamespaceDeclHandler,
|
||||
_Expat_XML_SetXmlDeclHandler,
|
||||
_Expat_XML_SetStartDoctypeDeclHandler,
|
||||
_Expat_XML_SetEndDoctypeDeclHandler,
|
||||
_Expat_XML_SetDoctypeDeclHandler,
|
||||
_Expat_XML_SetElementDeclHandler,
|
||||
_Expat_XML_SetAttlistDeclHandler,
|
||||
_Expat_XML_SetEntityDeclHandler,
|
||||
_Expat_XML_SetUnparsedEntityDeclHandler,
|
||||
_Expat_XML_SetNotationDeclHandler,
|
||||
_Expat_XML_SetNotStandaloneHandler,
|
||||
_Expat_XML_GetErrorCode,
|
||||
_Expat_XML_ErrorString,
|
||||
_Expat_XML_GetCurrentByteIndex,
|
||||
_Expat_XML_GetCurrentLineNumber,
|
||||
_Expat_XML_GetCurrentColumnNumber,
|
||||
_Expat_XML_GetCurrentByteCount,
|
||||
_Expat_XML_GetInputContext,
|
||||
_Expat_XML_SetUserData,
|
||||
_Expat_XML_DefaultCurrent,
|
||||
_Expat_XML_UseParserAsHandlerArg,
|
||||
_Expat_XML_SetBase,
|
||||
_Expat_XML_GetBase,
|
||||
_Expat_XML_GetSpecifiedAttributeCount,
|
||||
_Expat_XML_GetIdAttributeIndex,
|
||||
_Expat_XML_SetEncoding,
|
||||
_Expat_XML_SetParamEntityParsing,
|
||||
_Expat_XML_SetReturnNSTriplet,
|
||||
_Expat_XML_ExpatVersion,
|
||||
_Expat_XML_ExpatVersionInfo,
|
||||
_Expat_XML_ParserReset,
|
||||
_Expat_XML_SetSkippedEntityHandler,
|
||||
_Expat_XML_UseForeignDTD,
|
||||
_Expat_XML_GetFeatureList,
|
||||
_Expat_XML_StopParser,
|
||||
_Expat_XML_ResumeParser,
|
||||
_Expat_XML_GetParsingStatus,
|
||||
_Expat_XML_FreeContentModel,
|
||||
_Expat_XML_MemMalloc,
|
||||
_Expat_XML_MemRealloc,
|
||||
_Expat_XML_MemFree,
|
||||
(APTR)-1
|
||||
};
|
||||
|
||||
uint32 _Expat_Obtain(struct ExpatIFace *Self)
|
||||
{
|
||||
return ++Self->Data.RefCount;
|
||||
}
|
||||
|
||||
uint32 _Expat_Release(struct ExpatIFace *Self)
|
||||
{
|
||||
return --Self->Data.RefCount;
|
||||
}
|
||||
|
||||
XML_Parser _Expat_XML_ParserCreate(struct ExpatIFace * Self, const XML_Char *encoding)
|
||||
{
|
||||
return XML_ParserCreate(encoding);
|
||||
}
|
||||
|
||||
XML_Parser _Expat_XML_ParserCreateNS(struct ExpatIFace * Self, const XML_Char *encoding, XML_Char nsSep)
|
||||
{
|
||||
return XML_ParserCreateNS(encoding, nsSep);
|
||||
}
|
||||
|
||||
XML_Parser _Expat_XML_ParserCreate_MM(struct ExpatIFace * Self, const XML_Char *encoding, const XML_Memory_Handling_Suite *memsuite, const XML_Char *namespaceSeparator)
|
||||
{
|
||||
return XML_ParserCreate_MM(encoding, memsuite, namespaceSeparator);
|
||||
}
|
||||
|
||||
XML_Parser _Expat_XML_ExternalEntityParserCreate(struct ExpatIFace * Self, XML_Parser parser, const XML_Char *context, const XML_Char *encoding)
|
||||
{
|
||||
return XML_ExternalEntityParserCreate(parser, context, encoding);
|
||||
}
|
||||
|
||||
void _Expat_XML_ParserFree(struct ExpatIFace *Self, XML_Parser parser)
|
||||
{
|
||||
XML_ParserFree(parser);
|
||||
}
|
||||
|
||||
enum XML_Status _Expat_XML_Parse(struct ExpatIFace * Self, XML_Parser parser, const char * s, int len, int isFinal)
|
||||
{
|
||||
return XML_Parse(parser, s, len, isFinal);
|
||||
}
|
||||
|
||||
enum XML_Status _Expat_XML_ParseBuffer(struct ExpatIFace * Self, XML_Parser parser, int len, int isFinal)
|
||||
{
|
||||
return XML_ParseBuffer(parser, len, isFinal);
|
||||
}
|
||||
|
||||
void * _Expat_XML_GetBuffer(struct ExpatIFace * Self, XML_Parser parser, int len)
|
||||
{
|
||||
return XML_GetBuffer(parser, len);
|
||||
}
|
||||
|
||||
void _Expat_XML_SetStartElementHandler(struct ExpatIFace * Self, XML_Parser parser, XML_StartElementHandler start)
|
||||
{
|
||||
XML_SetStartElementHandler(parser, start);
|
||||
}
|
||||
|
||||
void _Expat_XML_SetEndElementHandler(struct ExpatIFace * Self, XML_Parser parser, XML_EndElementHandler end)
|
||||
{
|
||||
XML_SetEndElementHandler(parser, end);
|
||||
}
|
||||
|
||||
void _Expat_XML_SetElementHandler(struct ExpatIFace * Self, XML_Parser parser, XML_StartElementHandler start, XML_EndElementHandler end)
|
||||
{
|
||||
XML_SetElementHandler(parser, start, end);
|
||||
}
|
||||
|
||||
void _Expat_XML_SetCharacterDataHandler(struct ExpatIFace * Self, XML_Parser parser, XML_CharacterDataHandler handler)
|
||||
{
|
||||
XML_SetCharacterDataHandler(parser, handler);
|
||||
}
|
||||
|
||||
void _Expat_XML_SetProcessingInstructionHandler(struct ExpatIFace * Self, XML_Parser parser, XML_ProcessingInstructionHandler handler)
|
||||
{
|
||||
XML_SetProcessingInstructionHandler(parser, handler);
|
||||
}
|
||||
|
||||
void _Expat_XML_SetCommentHandler(struct ExpatIFace * Self, XML_Parser parser, XML_CommentHandler handler)
|
||||
{
|
||||
XML_SetCommentHandler(parser, handler);
|
||||
}
|
||||
|
||||
void _Expat_XML_SetStartCdataSectionHandler(struct ExpatIFace * Self, XML_Parser parser, XML_StartCdataSectionHandler start)
|
||||
{
|
||||
XML_SetStartCdataSectionHandler(parser, start);
|
||||
}
|
||||
|
||||
void _Expat_XML_SetEndCdataSectionHandler(struct ExpatIFace * Self, XML_Parser parser, XML_EndCdataSectionHandler end)
|
||||
{
|
||||
XML_SetEndCdataSectionHandler(parser, end);
|
||||
}
|
||||
|
||||
void _Expat_XML_SetCdataSectionHandler(struct ExpatIFace * Self, XML_Parser parser, XML_StartCdataSectionHandler start, XML_EndCdataSectionHandler end)
|
||||
{
|
||||
XML_SetCdataSectionHandler(parser, start, end);
|
||||
}
|
||||
|
||||
void _Expat_XML_SetDefaultHandler(struct ExpatIFace * Self, XML_Parser parser, XML_DefaultHandler handler)
|
||||
{
|
||||
XML_SetDefaultHandler(parser, handler);
|
||||
}
|
||||
|
||||
void _Expat_XML_SetDefaultHandlerExpand(struct ExpatIFace * Self, XML_Parser parser, XML_DefaultHandler handler)
|
||||
{
|
||||
XML_SetDefaultHandlerExpand(parser, handler);
|
||||
}
|
||||
|
||||
void _Expat_XML_SetExternalEntityRefHandler(struct ExpatIFace * Self, XML_Parser parser, XML_ExternalEntityRefHandler handler)
|
||||
{
|
||||
XML_SetExternalEntityRefHandler(parser, handler);
|
||||
}
|
||||
|
||||
void _Expat_XML_SetExternalEntityRefHandlerArg(struct ExpatIFace * Self, XML_Parser parser, void * arg)
|
||||
{
|
||||
XML_SetExternalEntityRefHandlerArg(parser, arg);
|
||||
}
|
||||
|
||||
void _Expat_XML_SetUnknownEncodingHandler(struct ExpatIFace * Self, XML_Parser parser, XML_UnknownEncodingHandler handler, void * data)
|
||||
{
|
||||
XML_SetUnknownEncodingHandler(parser, handler, data);
|
||||
}
|
||||
|
||||
void _Expat_XML_SetStartNamespaceDeclHandler(struct ExpatIFace * Self, XML_Parser parser, XML_StartNamespaceDeclHandler start)
|
||||
{
|
||||
XML_SetStartNamespaceDeclHandler(parser, start);
|
||||
}
|
||||
|
||||
void _Expat_XML_SetEndNamespaceDeclHandler(struct ExpatIFace * Self, XML_Parser parser, XML_EndNamespaceDeclHandler end)
|
||||
{
|
||||
XML_SetEndNamespaceDeclHandler(parser, end);
|
||||
}
|
||||
|
||||
void _Expat_XML_SetNamespaceDeclHandler(struct ExpatIFace * Self, XML_Parser parser, XML_StartNamespaceDeclHandler start, XML_EndNamespaceDeclHandler end)
|
||||
{
|
||||
XML_SetNamespaceDeclHandler(parser, start, end);
|
||||
}
|
||||
|
||||
void _Expat_XML_SetXmlDeclHandler(struct ExpatIFace * Self, XML_Parser parser, XML_XmlDeclHandler handler)
|
||||
{
|
||||
XML_SetXmlDeclHandler(parser, handler);
|
||||
}
|
||||
|
||||
void _Expat_XML_SetStartDoctypeDeclHandler(struct ExpatIFace * Self, XML_Parser parser, XML_StartDoctypeDeclHandler start)
|
||||
{
|
||||
XML_SetStartDoctypeDeclHandler(parser, start);
|
||||
}
|
||||
|
||||
void _Expat_XML_SetEndDoctypeDeclHandler(struct ExpatIFace * Self, XML_Parser parser, XML_EndDoctypeDeclHandler end)
|
||||
{
|
||||
XML_SetEndDoctypeDeclHandler(parser, end);
|
||||
}
|
||||
|
||||
void _Expat_XML_SetDoctypeDeclHandler(struct ExpatIFace * Self, XML_Parser parser, XML_StartDoctypeDeclHandler start, XML_EndDoctypeDeclHandler end)
|
||||
{
|
||||
XML_SetDoctypeDeclHandler(parser, start, end);
|
||||
}
|
||||
|
||||
void _Expat_XML_SetElementDeclHandler(struct ExpatIFace * Self, XML_Parser parser, XML_ElementDeclHandler eldecl)
|
||||
{
|
||||
XML_SetElementDeclHandler(parser, eldecl);
|
||||
}
|
||||
|
||||
void _Expat_XML_SetAttlistDeclHandler(struct ExpatIFace * Self, XML_Parser parser, XML_AttlistDeclHandler attdecl)
|
||||
{
|
||||
XML_SetAttlistDeclHandler(parser, attdecl);
|
||||
}
|
||||
|
||||
void _Expat_XML_SetEntityDeclHandler(struct ExpatIFace * Self, XML_Parser parser, XML_EntityDeclHandler handler)
|
||||
{
|
||||
XML_SetEntityDeclHandler(parser, handler);
|
||||
}
|
||||
|
||||
void _Expat_XML_SetUnparsedEntityDeclHandler(struct ExpatIFace * Self, XML_Parser parser, XML_UnparsedEntityDeclHandler handler)
|
||||
{
|
||||
XML_SetUnparsedEntityDeclHandler(parser, handler);
|
||||
}
|
||||
|
||||
void _Expat_XML_SetNotationDeclHandler(struct ExpatIFace * Self, XML_Parser parser, XML_NotationDeclHandler handler)
|
||||
{
|
||||
XML_SetNotationDeclHandler(parser, handler);
|
||||
}
|
||||
|
||||
void _Expat_XML_SetNotStandaloneHandler(struct ExpatIFace * Self, XML_Parser parser, XML_NotStandaloneHandler handler)
|
||||
{
|
||||
XML_SetNotStandaloneHandler(parser, handler);
|
||||
}
|
||||
|
||||
enum XML_Error _Expat_XML_GetErrorCode(struct ExpatIFace * Self, XML_Parser parser)
|
||||
{
|
||||
return XML_GetErrorCode(parser);
|
||||
}
|
||||
|
||||
const XML_LChar * _Expat_XML_ErrorString(struct ExpatIFace * Self, enum XML_Error code)
|
||||
{
|
||||
return XML_ErrorString(code);
|
||||
}
|
||||
|
||||
long _Expat_XML_GetCurrentByteIndex(struct ExpatIFace * Self, XML_Parser parser)
|
||||
{
|
||||
return XML_GetCurrentByteIndex(parser);
|
||||
}
|
||||
|
||||
int _Expat_XML_GetCurrentLineNumber(struct ExpatIFace * Self, XML_Parser parser)
|
||||
{
|
||||
return XML_GetCurrentLineNumber(parser);
|
||||
}
|
||||
|
||||
int _Expat_XML_GetCurrentColumnNumber(struct ExpatIFace * Self, XML_Parser parser)
|
||||
{
|
||||
return XML_GetCurrentColumnNumber(parser);
|
||||
}
|
||||
|
||||
int _Expat_XML_GetCurrentByteCount(struct ExpatIFace * Self, XML_Parser parser)
|
||||
{
|
||||
return XML_GetCurrentByteCount(parser);
|
||||
}
|
||||
|
||||
const char * _Expat_XML_GetInputContext(struct ExpatIFace * Self, XML_Parser parser, int * offset, int * size)
|
||||
{
|
||||
return XML_GetInputContext(parser, offset, size);
|
||||
}
|
||||
|
||||
void _Expat_XML_SetUserData(struct ExpatIFace * Self, XML_Parser parser, void * userData)
|
||||
{
|
||||
XML_SetUserData(parser, userData);
|
||||
}
|
||||
|
||||
void _Expat_XML_DefaultCurrent(struct ExpatIFace * Self, XML_Parser parser)
|
||||
{
|
||||
XML_DefaultCurrent(parser);
|
||||
}
|
||||
|
||||
void _Expat_XML_UseParserAsHandlerArg(struct ExpatIFace * Self, XML_Parser parser)
|
||||
{
|
||||
XML_UseParserAsHandlerArg(parser);
|
||||
}
|
||||
|
||||
enum XML_Status _Expat_XML_SetBase(struct ExpatIFace * Self, XML_Parser parser, const XML_Char *p)
|
||||
{
|
||||
return XML_SetBase(parser, p);
|
||||
}
|
||||
|
||||
const XML_Char * _Expat_XML_GetBase(struct ExpatIFace * Self, XML_Parser parser)
|
||||
{
|
||||
return XML_GetBase(parser);
|
||||
}
|
||||
|
||||
int _Expat_XML_GetSpecifiedAttributeCount(struct ExpatIFace * Self, XML_Parser parser)
|
||||
{
|
||||
return XML_GetSpecifiedAttributeCount(parser);
|
||||
}
|
||||
|
||||
int _Expat_XML_GetIdAttributeIndex(struct ExpatIFace * Self, XML_Parser parser)
|
||||
{
|
||||
return XML_GetIdAttributeIndex(parser);
|
||||
}
|
||||
|
||||
enum XML_Status _Expat_XML_SetEncoding(struct ExpatIFace * Self, XML_Parser parser, const XML_Char *encoding)
|
||||
{
|
||||
return XML_SetEncoding(parser, encoding);
|
||||
}
|
||||
|
||||
int _Expat_XML_SetParamEntityParsing(struct ExpatIFace * Self, XML_Parser parser, enum XML_ParamEntityParsing parsing)
|
||||
{
|
||||
return XML_SetParamEntityParsing(parser, parsing);
|
||||
}
|
||||
|
||||
void _Expat_XML_SetReturnNSTriplet(struct ExpatIFace * Self, XML_Parser parser, int do_nst)
|
||||
{
|
||||
XML_SetReturnNSTriplet(parser, do_nst);
|
||||
}
|
||||
|
||||
const XML_LChar * _Expat_XML_ExpatVersion(struct ExpatIFace * Self)
|
||||
{
|
||||
return XML_ExpatVersion();
|
||||
}
|
||||
|
||||
XML_Expat_Version _Expat_XML_ExpatVersionInfo(struct ExpatIFace * Self)
|
||||
{
|
||||
return XML_ExpatVersionInfo();
|
||||
}
|
||||
|
||||
XML_Bool _Expat_XML_ParserReset(struct ExpatIFace * Self, XML_Parser parser, const XML_Char *encoding)
|
||||
{
|
||||
return XML_ParserReset(parser, encoding);
|
||||
}
|
||||
|
||||
void _Expat_XML_SetSkippedEntityHandler(struct ExpatIFace * Self, XML_Parser parser, XML_SkippedEntityHandler handler)
|
||||
{
|
||||
XML_SetSkippedEntityHandler(parser, handler);
|
||||
}
|
||||
|
||||
enum XML_Error _Expat_XML_UseForeignDTD(struct ExpatIFace * Self, XML_Parser parser, XML_Bool useDTD)
|
||||
{
|
||||
return XML_UseForeignDTD(parser, useDTD);
|
||||
}
|
||||
|
||||
const XML_Feature * _Expat_XML_GetFeatureList(struct ExpatIFace * Self)
|
||||
{
|
||||
return XML_GetFeatureList();
|
||||
}
|
||||
|
||||
enum XML_Status _Expat_XML_StopParser(struct ExpatIFace * Self, XML_Parser parser, XML_Bool resumable)
|
||||
{
|
||||
return XML_StopParser(parser, resumable);
|
||||
}
|
||||
|
||||
enum XML_Status _Expat_XML_ResumeParser(struct ExpatIFace * Self, XML_Parser parser)
|
||||
{
|
||||
return XML_ResumeParser(parser);
|
||||
}
|
||||
|
||||
void _Expat_XML_GetParsingStatus(struct ExpatIFace * Self, XML_Parser parser, XML_ParsingStatus * status)
|
||||
{
|
||||
XML_GetParsingStatus(parser, status);
|
||||
}
|
||||
|
||||
void _Expat_XML_FreeContentModel(struct ExpatIFace * Self, XML_Parser parser, XML_Content * model)
|
||||
{
|
||||
XML_FreeContentModel(parser, model);
|
||||
}
|
||||
|
||||
void * _Expat_XML_MemMalloc(struct ExpatIFace * Self, XML_Parser parser, size_t size)
|
||||
{
|
||||
return XML_MemMalloc(parser, size);
|
||||
}
|
||||
|
||||
void * _Expat_XML_MemRealloc(struct ExpatIFace * Self, XML_Parser parser, void * ptr, size_t size)
|
||||
{
|
||||
XML_MemRealloc(parser, ptr, size);
|
||||
}
|
||||
|
||||
void _Expat_XML_MemFree(struct ExpatIFace * Self, XML_Parser parser, void * ptr)
|
||||
{
|
||||
XML_MemFree(parser, ptr);
|
||||
}
|
||||
@@ -0,0 +1,94 @@
|
||||
#ifndef INLINE4_EXPAT_H
|
||||
#define INLINE4_EXPAT_H
|
||||
|
||||
/*
|
||||
** This file was auto generated by idltool 51.6.
|
||||
**
|
||||
** It provides compatibility to OS3 style library
|
||||
** calls by substituting functions.
|
||||
**
|
||||
** Do not edit manually.
|
||||
*/
|
||||
|
||||
#ifndef EXEC_TYPES_H
|
||||
#include <exec/types.h>
|
||||
#endif
|
||||
#ifndef EXEC_EXEC_H
|
||||
#include <exec/exec.h>
|
||||
#endif
|
||||
#ifndef EXEC_INTERFACES_H
|
||||
#include <exec/interfaces.h>
|
||||
#endif
|
||||
|
||||
#ifndef LIBRARIES_EXPAT_H
|
||||
#include <libraries/expat.h>
|
||||
#endif
|
||||
|
||||
/* Inline macros for Interface "main" */
|
||||
#define XML_ParserCreate(encodingName) IExpat->XML_ParserCreate(encodingName)
|
||||
#define XML_ParserCreateNS(encodingName, nsSep) IExpat->XML_ParserCreateNS(encodingName, nsSep)
|
||||
#define XML_ParserCreate_MM(encoding, memsuite, namespaceSeparator) IExpat->XML_ParserCreate_MM(encoding, memsuite, namespaceSeparator)
|
||||
#define XML_ExternalEntityParserCreate(parser, context, encoding) IExpat->XML_ExternalEntityParserCreate(parser, context, encoding)
|
||||
#define XML_ParserFree(parser) IExpat->XML_ParserFree(parser)
|
||||
#define XML_Parse(parser, s, len, isFinal) IExpat->XML_Parse(parser, s, len, isFinal)
|
||||
#define XML_ParseBuffer(parser, len, isFinal) IExpat->XML_ParseBuffer(parser, len, isFinal)
|
||||
#define XML_GetBuffer(parser, len) IExpat->XML_GetBuffer(parser, len)
|
||||
#define XML_SetStartElementHandler(parser, start) IExpat->XML_SetStartElementHandler(parser, start)
|
||||
#define XML_SetEndElementHandler(parser, end) IExpat->XML_SetEndElementHandler(parser, end)
|
||||
#define XML_SetElementHandler(parser, start, end) IExpat->XML_SetElementHandler(parser, start, end)
|
||||
#define XML_SetCharacterDataHandler(parser, handler) IExpat->XML_SetCharacterDataHandler(parser, handler)
|
||||
#define XML_SetProcessingInstructionHandler(parser, handler) IExpat->XML_SetProcessingInstructionHandler(parser, handler)
|
||||
#define XML_SetCommentHandler(parser, handler) IExpat->XML_SetCommentHandler(parser, handler)
|
||||
#define XML_SetStartCdataSectionHandler(parser, start) IExpat->XML_SetStartCdataSectionHandler(parser, start)
|
||||
#define XML_SetEndCdataSectionHandler(parser, end) IExpat->XML_SetEndCdataSectionHandler(parser, end)
|
||||
#define XML_SetCdataSectionHandler(parser, start, end) IExpat->XML_SetCdataSectionHandler(parser, start, end)
|
||||
#define XML_SetDefaultHandler(parser, handler) IExpat->XML_SetDefaultHandler(parser, handler)
|
||||
#define XML_SetDefaultHandlerExpand(parser, handler) IExpat->XML_SetDefaultHandlerExpand(parser, handler)
|
||||
#define XML_SetExternalEntityRefHandler(parser, handler) IExpat->XML_SetExternalEntityRefHandler(parser, handler)
|
||||
#define XML_SetExternalEntityRefHandlerArg(parser, arg) IExpat->XML_SetExternalEntityRefHandlerArg(parser, arg)
|
||||
#define XML_SetUnknownEncodingHandler(parser, handler, data) IExpat->XML_SetUnknownEncodingHandler(parser, handler, data)
|
||||
#define XML_SetStartNamespaceDeclHandler(parser, start) IExpat->XML_SetStartNamespaceDeclHandler(parser, start)
|
||||
#define XML_SetEndNamespaceDeclHandler(parser, end) IExpat->XML_SetEndNamespaceDeclHandler(parser, end)
|
||||
#define XML_SetNamespaceDeclHandler(parser, start, end) IExpat->XML_SetNamespaceDeclHandler(parser, start, end)
|
||||
#define XML_SetXmlDeclHandler(parser, handler) IExpat->XML_SetXmlDeclHandler(parser, handler)
|
||||
#define XML_SetStartDoctypeDeclHandler(parser, start) IExpat->XML_SetStartDoctypeDeclHandler(parser, start)
|
||||
#define XML_SetEndDoctypeDeclHandler(parser, end) IExpat->XML_SetEndDoctypeDeclHandler(parser, end)
|
||||
#define XML_SetDoctypeDeclHandler(parser, start, end) IExpat->XML_SetDoctypeDeclHandler(parser, start, end)
|
||||
#define XML_SetElementDeclHandler(parser, eldecl) IExpat->XML_SetElementDeclHandler(parser, eldecl)
|
||||
#define XML_SetAttlistDeclHandler(parser, attdecl) IExpat->XML_SetAttlistDeclHandler(parser, attdecl)
|
||||
#define XML_SetEntityDeclHandler(parser, handler) IExpat->XML_SetEntityDeclHandler(parser, handler)
|
||||
#define XML_SetUnparsedEntityDeclHandler(parser, handler) IExpat->XML_SetUnparsedEntityDeclHandler(parser, handler)
|
||||
#define XML_SetNotationDeclHandler(parser, handler) IExpat->XML_SetNotationDeclHandler(parser, handler)
|
||||
#define XML_SetNotStandaloneHandler(parser, handler) IExpat->XML_SetNotStandaloneHandler(parser, handler)
|
||||
#define XML_GetErrorCode(parser) IExpat->XML_GetErrorCode(parser)
|
||||
#define XML_ErrorString(code) IExpat->XML_ErrorString(code)
|
||||
#define XML_GetCurrentByteIndex(parser) IExpat->XML_GetCurrentByteIndex(parser)
|
||||
#define XML_GetCurrentLineNumber(parser) IExpat->XML_GetCurrentLineNumber(parser)
|
||||
#define XML_GetCurrentColumnNumber(parser) IExpat->XML_GetCurrentColumnNumber(parser)
|
||||
#define XML_GetCurrentByteCount(parser) IExpat->XML_GetCurrentByteCount(parser)
|
||||
#define XML_GetInputContext(parser, offset, size) IExpat->XML_GetInputContext(parser, offset, size)
|
||||
#define XML_SetUserData(parser, userData) IExpat->XML_SetUserData(parser, userData)
|
||||
#define XML_DefaultCurrent(parser) IExpat->XML_DefaultCurrent(parser)
|
||||
#define XML_UseParserAsHandlerArg(parser) IExpat->XML_UseParserAsHandlerArg(parser)
|
||||
#define XML_SetBase(parser, base) IExpat->XML_SetBase(parser, base)
|
||||
#define XML_GetBase(parser) IExpat->XML_GetBase(parser)
|
||||
#define XML_GetSpecifiedAttributeCount(parser) IExpat->XML_GetSpecifiedAttributeCount(parser)
|
||||
#define XML_GetIdAttributeIndex(parser) IExpat->XML_GetIdAttributeIndex(parser)
|
||||
#define XML_SetEncoding(parser, encoding) IExpat->XML_SetEncoding(parser, encoding)
|
||||
#define XML_SetParamEntityParsing(parser, parsing) IExpat->XML_SetParamEntityParsing(parser, parsing)
|
||||
#define XML_SetReturnNSTriplet(parser, do_nst) IExpat->XML_SetReturnNSTriplet(parser, do_nst)
|
||||
#define XML_ExpatVersion() IExpat->XML_ExpatVersion()
|
||||
#define XML_ExpatVersionInfo() IExpat->XML_ExpatVersionInfo()
|
||||
#define XML_ParserReset(parser, encoding) IExpat->XML_ParserReset(parser, encoding)
|
||||
#define XML_SetSkippedEntityHandler(parser, handler) IExpat->XML_SetSkippedEntityHandler(parser, handler)
|
||||
#define XML_UseForeignDTD(parser, useDTD) IExpat->XML_UseForeignDTD(parser, useDTD)
|
||||
#define XML_GetFeatureList() IExpat->XML_GetFeatureList()
|
||||
#define XML_StopParser(parser, resumable) IExpat->XML_StopParser(parser, resumable)
|
||||
#define XML_ResumeParser(parser) IExpat->XML_ResumeParser(parser)
|
||||
#define XML_GetParsingStatus(parser, status) IExpat->XML_GetParsingStatus(parser, status)
|
||||
#define XML_FreeContentModel(parser, model) IExpat->XML_FreeContentModel(parser, model)
|
||||
#define XML_MemMalloc(parser, size) IExpat->XML_MemMalloc(parser, size)
|
||||
#define XML_MemRealloc(parser, ptr, size) IExpat->XML_MemRealloc(parser, ptr, size)
|
||||
#define XML_MemFree(parser, ptr) IExpat->XML_MemFree(parser, ptr)
|
||||
|
||||
#endif /* INLINE4_EXPAT_H */
|
||||
@@ -0,0 +1,98 @@
|
||||
#ifndef EXPAT_INTERFACE_DEF_H
|
||||
#define EXPAT_INTERFACE_DEF_H
|
||||
|
||||
/*
|
||||
** This file was machine generated by idltool 51.6.
|
||||
** Do not edit
|
||||
*/
|
||||
|
||||
#ifndef EXEC_TYPES_H
|
||||
#include <exec/types.h>
|
||||
#endif
|
||||
#ifndef EXEC_EXEC_H
|
||||
#include <exec/exec.h>
|
||||
#endif
|
||||
#ifndef EXEC_INTERFACES_H
|
||||
#include <exec/interfaces.h>
|
||||
#endif
|
||||
|
||||
#ifndef LIBRARIES_EXPAT_H
|
||||
#include <libraries/expat.h>
|
||||
#endif
|
||||
|
||||
struct ExpatIFace
|
||||
{
|
||||
struct InterfaceData Data;
|
||||
|
||||
uint32 APICALL (*Obtain)(struct ExpatIFace *Self);
|
||||
uint32 APICALL (*Release)(struct ExpatIFace *Self);
|
||||
void APICALL (*Expunge)(struct ExpatIFace *Self);
|
||||
struct Interface * APICALL (*Clone)(struct ExpatIFace *Self);
|
||||
XML_Parser APICALL (*XML_ParserCreate)(struct ExpatIFace *Self, const XML_Char * encodingName);
|
||||
XML_Parser APICALL (*XML_ParserCreateNS)(struct ExpatIFace *Self, const XML_Char * encodingName, XML_Char nsSep);
|
||||
XML_Parser APICALL (*XML_ParserCreate_MM)(struct ExpatIFace *Self, const XML_Char * encoding, const XML_Memory_Handling_Suite * memsuite, const XML_Char * namespaceSeparator);
|
||||
XML_Parser APICALL (*XML_ExternalEntityParserCreate)(struct ExpatIFace *Self, XML_Parser parser, const XML_Char * context, const XML_Char * encoding);
|
||||
void APICALL (*XML_ParserFree)(struct ExpatIFace *Self, XML_Parser parser);
|
||||
enum XML_Status APICALL (*XML_Parse)(struct ExpatIFace *Self, XML_Parser parser, const char * s, int len, int isFinal);
|
||||
enum XML_Status APICALL (*XML_ParseBuffer)(struct ExpatIFace *Self, XML_Parser parser, int len, int isFinal);
|
||||
void * APICALL (*XML_GetBuffer)(struct ExpatIFace *Self, XML_Parser parser, int len);
|
||||
void APICALL (*XML_SetStartElementHandler)(struct ExpatIFace *Self, XML_Parser parser, XML_StartElementHandler start);
|
||||
void APICALL (*XML_SetEndElementHandler)(struct ExpatIFace *Self, XML_Parser parser, XML_EndElementHandler end);
|
||||
void APICALL (*XML_SetElementHandler)(struct ExpatIFace *Self, XML_Parser parser, XML_StartElementHandler start, XML_EndElementHandler end);
|
||||
void APICALL (*XML_SetCharacterDataHandler)(struct ExpatIFace *Self, XML_Parser parser, XML_CharacterDataHandler handler);
|
||||
void APICALL (*XML_SetProcessingInstructionHandler)(struct ExpatIFace *Self, XML_Parser parser, XML_ProcessingInstructionHandler handler);
|
||||
void APICALL (*XML_SetCommentHandler)(struct ExpatIFace *Self, XML_Parser parser, XML_CommentHandler handler);
|
||||
void APICALL (*XML_SetStartCdataSectionHandler)(struct ExpatIFace *Self, XML_Parser parser, XML_StartCdataSectionHandler start);
|
||||
void APICALL (*XML_SetEndCdataSectionHandler)(struct ExpatIFace *Self, XML_Parser parser, XML_EndCdataSectionHandler end);
|
||||
void APICALL (*XML_SetCdataSectionHandler)(struct ExpatIFace *Self, XML_Parser parser, XML_StartCdataSectionHandler start, XML_EndCdataSectionHandler end);
|
||||
void APICALL (*XML_SetDefaultHandler)(struct ExpatIFace *Self, XML_Parser parser, XML_DefaultHandler handler);
|
||||
void APICALL (*XML_SetDefaultHandlerExpand)(struct ExpatIFace *Self, XML_Parser parser, XML_DefaultHandler handler);
|
||||
void APICALL (*XML_SetExternalEntityRefHandler)(struct ExpatIFace *Self, XML_Parser parser, XML_ExternalEntityRefHandler handler);
|
||||
void APICALL (*XML_SetExternalEntityRefHandlerArg)(struct ExpatIFace *Self, XML_Parser parser, void * arg);
|
||||
void APICALL (*XML_SetUnknownEncodingHandler)(struct ExpatIFace *Self, XML_Parser parser, XML_UnknownEncodingHandler handler, void * data);
|
||||
void APICALL (*XML_SetStartNamespaceDeclHandler)(struct ExpatIFace *Self, XML_Parser parser, XML_StartNamespaceDeclHandler start);
|
||||
void APICALL (*XML_SetEndNamespaceDeclHandler)(struct ExpatIFace *Self, XML_Parser parser, XML_EndNamespaceDeclHandler end);
|
||||
void APICALL (*XML_SetNamespaceDeclHandler)(struct ExpatIFace *Self, XML_Parser parser, XML_StartNamespaceDeclHandler start, XML_EndNamespaceDeclHandler end);
|
||||
void APICALL (*XML_SetXmlDeclHandler)(struct ExpatIFace *Self, XML_Parser parser, XML_XmlDeclHandler handler);
|
||||
void APICALL (*XML_SetStartDoctypeDeclHandler)(struct ExpatIFace *Self, XML_Parser parser, XML_StartDoctypeDeclHandler start);
|
||||
void APICALL (*XML_SetEndDoctypeDeclHandler)(struct ExpatIFace *Self, XML_Parser parser, XML_EndDoctypeDeclHandler end);
|
||||
void APICALL (*XML_SetDoctypeDeclHandler)(struct ExpatIFace *Self, XML_Parser parser, XML_StartDoctypeDeclHandler start, XML_EndDoctypeDeclHandler end);
|
||||
void APICALL (*XML_SetElementDeclHandler)(struct ExpatIFace *Self, XML_Parser parser, XML_ElementDeclHandler eldecl);
|
||||
void APICALL (*XML_SetAttlistDeclHandler)(struct ExpatIFace *Self, XML_Parser parser, XML_AttlistDeclHandler attdecl);
|
||||
void APICALL (*XML_SetEntityDeclHandler)(struct ExpatIFace *Self, XML_Parser parser, XML_EntityDeclHandler handler);
|
||||
void APICALL (*XML_SetUnparsedEntityDeclHandler)(struct ExpatIFace *Self, XML_Parser parser, XML_UnparsedEntityDeclHandler handler);
|
||||
void APICALL (*XML_SetNotationDeclHandler)(struct ExpatIFace *Self, XML_Parser parser, XML_NotationDeclHandler handler);
|
||||
void APICALL (*XML_SetNotStandaloneHandler)(struct ExpatIFace *Self, XML_Parser parser, XML_NotStandaloneHandler handler);
|
||||
enum XML_Error APICALL (*XML_GetErrorCode)(struct ExpatIFace *Self, XML_Parser parser);
|
||||
const XML_LChar * APICALL (*XML_ErrorString)(struct ExpatIFace *Self, enum XML_Error code);
|
||||
long APICALL (*XML_GetCurrentByteIndex)(struct ExpatIFace *Self, XML_Parser parser);
|
||||
int APICALL (*XML_GetCurrentLineNumber)(struct ExpatIFace *Self, XML_Parser parser);
|
||||
int APICALL (*XML_GetCurrentColumnNumber)(struct ExpatIFace *Self, XML_Parser parser);
|
||||
int APICALL (*XML_GetCurrentByteCount)(struct ExpatIFace *Self, XML_Parser parser);
|
||||
const char * APICALL (*XML_GetInputContext)(struct ExpatIFace *Self, XML_Parser parser, int * offset, int * size);
|
||||
void APICALL (*XML_SetUserData)(struct ExpatIFace *Self, XML_Parser parser, void * userData);
|
||||
void APICALL (*XML_DefaultCurrent)(struct ExpatIFace *Self, XML_Parser parser);
|
||||
void APICALL (*XML_UseParserAsHandlerArg)(struct ExpatIFace *Self, XML_Parser parser);
|
||||
enum XML_Status APICALL (*XML_SetBase)(struct ExpatIFace *Self, XML_Parser parser, const XML_Char * base);
|
||||
const XML_Char * APICALL (*XML_GetBase)(struct ExpatIFace *Self, XML_Parser parser);
|
||||
int APICALL (*XML_GetSpecifiedAttributeCount)(struct ExpatIFace *Self, XML_Parser parser);
|
||||
int APICALL (*XML_GetIdAttributeIndex)(struct ExpatIFace *Self, XML_Parser parser);
|
||||
enum XML_Status APICALL (*XML_SetEncoding)(struct ExpatIFace *Self, XML_Parser parser, const XML_Char * encoding);
|
||||
int APICALL (*XML_SetParamEntityParsing)(struct ExpatIFace *Self, XML_Parser parser, enum XML_ParamEntityParsing parsing);
|
||||
void APICALL (*XML_SetReturnNSTriplet)(struct ExpatIFace *Self, XML_Parser parser, int do_nst);
|
||||
const XML_LChar * APICALL (*XML_ExpatVersion)(struct ExpatIFace *Self);
|
||||
XML_Expat_Version APICALL (*XML_ExpatVersionInfo)(struct ExpatIFace *Self);
|
||||
XML_Bool APICALL (*XML_ParserReset)(struct ExpatIFace *Self, XML_Parser parser, const XML_Char * encoding);
|
||||
void APICALL (*XML_SetSkippedEntityHandler)(struct ExpatIFace *Self, XML_Parser parser, XML_SkippedEntityHandler handler);
|
||||
enum XML_Error APICALL (*XML_UseForeignDTD)(struct ExpatIFace *Self, XML_Parser parser, XML_Bool useDTD);
|
||||
const XML_Feature * APICALL (*XML_GetFeatureList)(struct ExpatIFace *Self);
|
||||
enum XML_Status APICALL (*XML_StopParser)(struct ExpatIFace *Self, XML_Parser parser, XML_Bool resumable);
|
||||
enum XML_Status APICALL (*XML_ResumeParser)(struct ExpatIFace *Self, XML_Parser parser);
|
||||
void APICALL (*XML_GetParsingStatus)(struct ExpatIFace *Self, XML_Parser parser, XML_ParsingStatus * status);
|
||||
void APICALL (*XML_FreeContentModel)(struct ExpatIFace *Self, XML_Parser parser, XML_Content * model);
|
||||
void * APICALL (*XML_MemMalloc)(struct ExpatIFace *Self, XML_Parser parser, size_t size);
|
||||
void * APICALL (*XML_MemRealloc)(struct ExpatIFace *Self, XML_Parser parser, void * ptr, size_t size);
|
||||
void APICALL (*XML_MemFree)(struct ExpatIFace *Self, XML_Parser parser, void * ptr);
|
||||
};
|
||||
|
||||
#endif /* EXPAT_INTERFACE_DEF_H */
|
||||
@@ -0,0 +1,566 @@
|
||||
#ifndef LIBRARIES_EXPAT_H
|
||||
#define LIBRARIES_EXPAT_H
|
||||
|
||||
/*
|
||||
** Copyright (c) 2001-2007 Expat maintainers.
|
||||
**
|
||||
** 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.
|
||||
*/
|
||||
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifdef __GNUC__
|
||||
#ifdef __PPC__
|
||||
#pragma pack(2)
|
||||
#endif
|
||||
#elif defined(__VBCC__)
|
||||
#pragma amiga-align
|
||||
#endif
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifndef XMLCALL
|
||||
#define XMLCALL
|
||||
#endif
|
||||
|
||||
typedef char XML_Char;
|
||||
typedef char XML_LChar;
|
||||
typedef long XML_Index;
|
||||
typedef unsigned long XML_Size;
|
||||
|
||||
struct XML_ParserStruct;
|
||||
typedef struct XML_ParserStruct *XML_Parser;
|
||||
|
||||
typedef unsigned char XML_Bool;
|
||||
#define XML_TRUE ((XML_Bool) 1)
|
||||
#define XML_FALSE ((XML_Bool) 0)
|
||||
|
||||
enum XML_Status {
|
||||
XML_STATUS_ERROR = 0,
|
||||
#define XML_STATUS_ERROR XML_STATUS_ERROR
|
||||
XML_STATUS_OK = 1,
|
||||
#define XML_STATUS_OK XML_STATUS_OK
|
||||
XML_STATUS_SUSPENDED = 2,
|
||||
#define XML_STATUS_SUSPENDED XML_STATUS_SUSPENDED
|
||||
};
|
||||
|
||||
enum XML_Error {
|
||||
XML_ERROR_NONE,
|
||||
XML_ERROR_NO_MEMORY,
|
||||
XML_ERROR_SYNTAX,
|
||||
XML_ERROR_NO_ELEMENTS,
|
||||
XML_ERROR_INVALID_TOKEN,
|
||||
XML_ERROR_UNCLOSED_TOKEN,
|
||||
XML_ERROR_PARTIAL_CHAR,
|
||||
XML_ERROR_TAG_MISMATCH,
|
||||
XML_ERROR_DUPLICATE_ATTRIBUTE,
|
||||
XML_ERROR_JUNK_AFTER_DOC_ELEMENT,
|
||||
XML_ERROR_PARAM_ENTITY_REF,
|
||||
XML_ERROR_UNDEFINED_ENTITY,
|
||||
XML_ERROR_RECURSIVE_ENTITY_REF,
|
||||
XML_ERROR_ASYNC_ENTITY,
|
||||
XML_ERROR_BAD_CHAR_REF,
|
||||
XML_ERROR_BINARY_ENTITY_REF,
|
||||
XML_ERROR_ATTRIBUTE_EXTERNAL_ENTITY_REF,
|
||||
XML_ERROR_MISPLACED_XML_PI,
|
||||
XML_ERROR_UNKNOWN_ENCODING,
|
||||
XML_ERROR_INCORRECT_ENCODING,
|
||||
XML_ERROR_UNCLOSED_CDATA_SECTION,
|
||||
XML_ERROR_EXTERNAL_ENTITY_HANDLING,
|
||||
XML_ERROR_NOT_STANDALONE,
|
||||
XML_ERROR_UNEXPECTED_STATE,
|
||||
XML_ERROR_ENTITY_DECLARED_IN_PE,
|
||||
XML_ERROR_FEATURE_REQUIRES_XML_DTD,
|
||||
XML_ERROR_CANT_CHANGE_FEATURE_ONCE_PARSING,
|
||||
XML_ERROR_UNBOUND_PREFIX,
|
||||
XML_ERROR_UNDECLARING_PREFIX,
|
||||
XML_ERROR_INCOMPLETE_PE,
|
||||
XML_ERROR_XML_DECL,
|
||||
XML_ERROR_TEXT_DECL,
|
||||
XML_ERROR_PUBLICID,
|
||||
XML_ERROR_SUSPENDED,
|
||||
XML_ERROR_NOT_SUSPENDED,
|
||||
XML_ERROR_ABORTED,
|
||||
XML_ERROR_FINISHED,
|
||||
XML_ERROR_SUSPEND_PE,
|
||||
XML_ERROR_RESERVED_PREFIX_XML,
|
||||
XML_ERROR_RESERVED_PREFIX_XMLNS,
|
||||
XML_ERROR_RESERVED_NAMESPACE_URI
|
||||
};
|
||||
|
||||
enum XML_Content_Type {
|
||||
XML_CTYPE_EMPTY = 1,
|
||||
XML_CTYPE_ANY,
|
||||
XML_CTYPE_MIXED,
|
||||
XML_CTYPE_NAME,
|
||||
XML_CTYPE_CHOICE,
|
||||
XML_CTYPE_SEQ
|
||||
};
|
||||
|
||||
enum XML_Content_Quant {
|
||||
XML_CQUANT_NONE,
|
||||
XML_CQUANT_OPT,
|
||||
XML_CQUANT_REP,
|
||||
XML_CQUANT_PLUS
|
||||
};
|
||||
|
||||
typedef struct XML_cp XML_Content;
|
||||
|
||||
struct XML_cp {
|
||||
enum XML_Content_Type type;
|
||||
enum XML_Content_Quant quant;
|
||||
XML_Char * name;
|
||||
unsigned int numchildren;
|
||||
XML_Content * children;
|
||||
};
|
||||
|
||||
|
||||
typedef void (*XML_ElementDeclHandler) (void *userData,
|
||||
const XML_Char *name,
|
||||
XML_Content *model);
|
||||
|
||||
void
|
||||
XML_SetElementDeclHandler(XML_Parser parser,
|
||||
XML_ElementDeclHandler eldecl);
|
||||
|
||||
typedef void (*XML_AttlistDeclHandler) (
|
||||
void *userData,
|
||||
const XML_Char *elname,
|
||||
const XML_Char *attname,
|
||||
const XML_Char *att_type,
|
||||
const XML_Char *dflt,
|
||||
int isrequired);
|
||||
|
||||
void
|
||||
XML_SetAttlistDeclHandler(XML_Parser parser,
|
||||
XML_AttlistDeclHandler attdecl);
|
||||
|
||||
typedef void (*XML_XmlDeclHandler) (void *userData,
|
||||
const XML_Char *version,
|
||||
const XML_Char *encoding,
|
||||
int standalone);
|
||||
|
||||
void
|
||||
XML_SetXmlDeclHandler(XML_Parser parser,
|
||||
XML_XmlDeclHandler xmldecl);
|
||||
|
||||
|
||||
typedef struct {
|
||||
void *(*malloc_fcn)(size_t size);
|
||||
void *(*realloc_fcn)(void *ptr, size_t size);
|
||||
void (*free_fcn)(void *ptr);
|
||||
} XML_Memory_Handling_Suite;
|
||||
|
||||
XML_Parser
|
||||
XML_ParserCreate(const XML_Char *encoding);
|
||||
|
||||
XML_Parser
|
||||
XML_ParserCreateNS(const XML_Char *encoding, XML_Char namespaceSeparator);
|
||||
|
||||
|
||||
XML_Parser
|
||||
XML_ParserCreate_MM(const XML_Char *encoding,
|
||||
const XML_Memory_Handling_Suite *memsuite,
|
||||
const XML_Char *namespaceSeparator);
|
||||
|
||||
XML_Bool
|
||||
XML_ParserReset(XML_Parser parser, const XML_Char *encoding);
|
||||
|
||||
typedef void (*XML_StartElementHandler) (void *userData,
|
||||
const XML_Char *name,
|
||||
const XML_Char **atts);
|
||||
|
||||
typedef void (*XML_EndElementHandler) (void *userData,
|
||||
const XML_Char *name);
|
||||
|
||||
|
||||
typedef void (*XML_CharacterDataHandler) (void *userData,
|
||||
const XML_Char *s,
|
||||
int len);
|
||||
|
||||
typedef void (*XML_ProcessingInstructionHandler) (
|
||||
void *userData,
|
||||
const XML_Char *target,
|
||||
const XML_Char *data);
|
||||
|
||||
typedef void (*XML_CommentHandler) (void *userData,
|
||||
const XML_Char *data);
|
||||
|
||||
typedef void (*XML_StartCdataSectionHandler) (void *userData);
|
||||
typedef void (*XML_EndCdataSectionHandler) (void *userData);
|
||||
|
||||
typedef void (*XML_DefaultHandler) (void *userData,
|
||||
const XML_Char *s,
|
||||
int len);
|
||||
|
||||
typedef void (*XML_StartDoctypeDeclHandler) (
|
||||
void *userData,
|
||||
const XML_Char *doctypeName,
|
||||
const XML_Char *sysid,
|
||||
const XML_Char *pubid,
|
||||
int has_internal_subset);
|
||||
|
||||
typedef void (*XML_EndDoctypeDeclHandler)(void *userData);
|
||||
|
||||
typedef void (*XML_EntityDeclHandler) (
|
||||
void *userData,
|
||||
const XML_Char *entityName,
|
||||
int is_parameter_entity,
|
||||
const XML_Char *value,
|
||||
int value_length,
|
||||
const XML_Char *base,
|
||||
const XML_Char *systemId,
|
||||
const XML_Char *publicId,
|
||||
const XML_Char *notationName);
|
||||
|
||||
void
|
||||
XML_SetEntityDeclHandler(XML_Parser parser,
|
||||
XML_EntityDeclHandler handler);
|
||||
|
||||
typedef void (*XML_UnparsedEntityDeclHandler) (
|
||||
void *userData,
|
||||
const XML_Char *entityName,
|
||||
const XML_Char *base,
|
||||
const XML_Char *systemId,
|
||||
const XML_Char *publicId,
|
||||
const XML_Char *notationName);
|
||||
|
||||
typedef void (*XML_NotationDeclHandler) (
|
||||
void *userData,
|
||||
const XML_Char *notationName,
|
||||
const XML_Char *base,
|
||||
const XML_Char *systemId,
|
||||
const XML_Char *publicId);
|
||||
|
||||
typedef void (*XML_StartNamespaceDeclHandler) (
|
||||
void *userData,
|
||||
const XML_Char *prefix,
|
||||
const XML_Char *uri);
|
||||
|
||||
typedef void (*XML_EndNamespaceDeclHandler) (
|
||||
void *userData,
|
||||
const XML_Char *prefix);
|
||||
|
||||
typedef int (*XML_NotStandaloneHandler) (void *userData);
|
||||
|
||||
typedef int (*XML_ExternalEntityRefHandler) (
|
||||
XML_Parser parser,
|
||||
const XML_Char *context,
|
||||
const XML_Char *base,
|
||||
const XML_Char *systemId,
|
||||
const XML_Char *publicId);
|
||||
|
||||
typedef void (*XML_SkippedEntityHandler) (
|
||||
void *userData,
|
||||
const XML_Char *entityName,
|
||||
int is_parameter_entity);
|
||||
|
||||
typedef struct {
|
||||
int map[256];
|
||||
void *data;
|
||||
int (*convert)(void *data, const char *s);
|
||||
void (*release)(void *data);
|
||||
} XML_Encoding;
|
||||
|
||||
typedef int (*XML_UnknownEncodingHandler) (
|
||||
void *encodingHandlerData,
|
||||
const XML_Char *name,
|
||||
XML_Encoding *info);
|
||||
|
||||
void
|
||||
XML_SetElementHandler(XML_Parser parser,
|
||||
XML_StartElementHandler start,
|
||||
XML_EndElementHandler end);
|
||||
|
||||
void
|
||||
XML_SetStartElementHandler(XML_Parser parser,
|
||||
XML_StartElementHandler handler);
|
||||
|
||||
void
|
||||
XML_SetEndElementHandler(XML_Parser parser,
|
||||
XML_EndElementHandler handler);
|
||||
|
||||
void
|
||||
XML_SetCharacterDataHandler(XML_Parser parser,
|
||||
XML_CharacterDataHandler handler);
|
||||
|
||||
void
|
||||
XML_SetProcessingInstructionHandler(XML_Parser parser,
|
||||
XML_ProcessingInstructionHandler handler);
|
||||
void
|
||||
XML_SetCommentHandler(XML_Parser parser,
|
||||
XML_CommentHandler handler);
|
||||
|
||||
void
|
||||
XML_SetCdataSectionHandler(XML_Parser parser,
|
||||
XML_StartCdataSectionHandler start,
|
||||
XML_EndCdataSectionHandler end);
|
||||
|
||||
void
|
||||
XML_SetStartCdataSectionHandler(XML_Parser parser,
|
||||
XML_StartCdataSectionHandler start);
|
||||
|
||||
void
|
||||
XML_SetEndCdataSectionHandler(XML_Parser parser,
|
||||
XML_EndCdataSectionHandler end);
|
||||
|
||||
void
|
||||
XML_SetDefaultHandler(XML_Parser parser,
|
||||
XML_DefaultHandler handler);
|
||||
|
||||
void
|
||||
XML_SetDefaultHandlerExpand(XML_Parser parser,
|
||||
XML_DefaultHandler handler);
|
||||
|
||||
void
|
||||
XML_SetDoctypeDeclHandler(XML_Parser parser,
|
||||
XML_StartDoctypeDeclHandler start,
|
||||
XML_EndDoctypeDeclHandler end);
|
||||
|
||||
void
|
||||
XML_SetStartDoctypeDeclHandler(XML_Parser parser,
|
||||
XML_StartDoctypeDeclHandler start);
|
||||
|
||||
void
|
||||
XML_SetEndDoctypeDeclHandler(XML_Parser parser,
|
||||
XML_EndDoctypeDeclHandler end);
|
||||
|
||||
void
|
||||
XML_SetUnparsedEntityDeclHandler(XML_Parser parser,
|
||||
XML_UnparsedEntityDeclHandler handler);
|
||||
|
||||
void
|
||||
XML_SetNotationDeclHandler(XML_Parser parser,
|
||||
XML_NotationDeclHandler handler);
|
||||
|
||||
void
|
||||
XML_SetNamespaceDeclHandler(XML_Parser parser,
|
||||
XML_StartNamespaceDeclHandler start,
|
||||
XML_EndNamespaceDeclHandler end);
|
||||
|
||||
void
|
||||
XML_SetStartNamespaceDeclHandler(XML_Parser parser,
|
||||
XML_StartNamespaceDeclHandler start);
|
||||
|
||||
void
|
||||
XML_SetEndNamespaceDeclHandler(XML_Parser parser,
|
||||
XML_EndNamespaceDeclHandler end);
|
||||
|
||||
void
|
||||
XML_SetNotStandaloneHandler(XML_Parser parser,
|
||||
XML_NotStandaloneHandler handler);
|
||||
|
||||
void
|
||||
XML_SetExternalEntityRefHandler(XML_Parser parser,
|
||||
XML_ExternalEntityRefHandler handler);
|
||||
|
||||
void
|
||||
XML_SetExternalEntityRefHandlerArg(XML_Parser parser,
|
||||
void *arg);
|
||||
|
||||
void
|
||||
XML_SetSkippedEntityHandler(XML_Parser parser,
|
||||
XML_SkippedEntityHandler handler);
|
||||
|
||||
void
|
||||
XML_SetUnknownEncodingHandler(XML_Parser parser,
|
||||
XML_UnknownEncodingHandler handler,
|
||||
void *encodingHandlerData);
|
||||
|
||||
void
|
||||
XML_DefaultCurrent(XML_Parser parser);
|
||||
|
||||
void
|
||||
XML_SetReturnNSTriplet(XML_Parser parser, int do_nst);
|
||||
|
||||
void
|
||||
XML_SetUserData(XML_Parser parser, void *userData);
|
||||
|
||||
#define XML_GetUserData(parser) (*(void **)(parser))
|
||||
|
||||
enum XML_Status
|
||||
XML_SetEncoding(XML_Parser parser, const XML_Char *encoding);
|
||||
|
||||
void
|
||||
XML_UseParserAsHandlerArg(XML_Parser parser);
|
||||
|
||||
enum XML_Error
|
||||
XML_UseForeignDTD(XML_Parser parser, XML_Bool useDTD);
|
||||
|
||||
|
||||
enum XML_Status
|
||||
XML_SetBase(XML_Parser parser, const XML_Char *base);
|
||||
|
||||
const XML_Char *
|
||||
XML_GetBase(XML_Parser parser);
|
||||
|
||||
int
|
||||
XML_GetSpecifiedAttributeCount(XML_Parser parser);
|
||||
|
||||
int
|
||||
XML_GetIdAttributeIndex(XML_Parser parser);
|
||||
|
||||
enum XML_Status
|
||||
XML_Parse(XML_Parser parser, const char *s, int len, int isFinal);
|
||||
|
||||
void *
|
||||
XML_GetBuffer(XML_Parser parser, int len);
|
||||
|
||||
enum XML_Status
|
||||
XML_ParseBuffer(XML_Parser parser, int len, int isFinal);
|
||||
|
||||
enum XML_Status
|
||||
XML_StopParser(XML_Parser parser, XML_Bool resumable);
|
||||
|
||||
enum XML_Status
|
||||
XML_ResumeParser(XML_Parser parser);
|
||||
|
||||
enum XML_Parsing {
|
||||
XML_INITIALIZED,
|
||||
XML_PARSING,
|
||||
XML_FINISHED,
|
||||
XML_SUSPENDED
|
||||
};
|
||||
|
||||
typedef struct {
|
||||
enum XML_Parsing parsing;
|
||||
XML_Bool finalBuffer;
|
||||
} XML_ParsingStatus;
|
||||
|
||||
void
|
||||
XML_GetParsingStatus(XML_Parser parser, XML_ParsingStatus *status);
|
||||
|
||||
XML_Parser
|
||||
XML_ExternalEntityParserCreate(XML_Parser parser,
|
||||
const XML_Char *context,
|
||||
const XML_Char *encoding);
|
||||
|
||||
enum XML_ParamEntityParsing {
|
||||
XML_PARAM_ENTITY_PARSING_NEVER,
|
||||
XML_PARAM_ENTITY_PARSING_UNLESS_STANDALONE,
|
||||
XML_PARAM_ENTITY_PARSING_ALWAYS
|
||||
};
|
||||
|
||||
int
|
||||
XML_SetParamEntityParsing(XML_Parser parser,
|
||||
enum XML_ParamEntityParsing parsing);
|
||||
|
||||
enum XML_Error
|
||||
XML_GetErrorCode(XML_Parser parser);
|
||||
|
||||
int XML_GetCurrentLineNumber(XML_Parser parser);
|
||||
int XML_GetCurrentColumnNumber(XML_Parser parser);
|
||||
long XML_GetCurrentByteIndex(XML_Parser parser);
|
||||
|
||||
int
|
||||
XML_GetCurrentByteCount(XML_Parser parser);
|
||||
|
||||
const char *
|
||||
XML_GetInputContext(XML_Parser parser,
|
||||
int *offset,
|
||||
int *size);
|
||||
|
||||
#define XML_GetErrorLineNumber XML_GetCurrentLineNumber
|
||||
#define XML_GetErrorColumnNumber XML_GetCurrentColumnNumber
|
||||
#define XML_GetErrorByteIndex XML_GetCurrentByteIndex
|
||||
|
||||
void
|
||||
XML_FreeContentModel(XML_Parser parser, XML_Content *model);
|
||||
|
||||
void *
|
||||
XML_MemMalloc(XML_Parser parser, size_t size);
|
||||
|
||||
void *
|
||||
XML_MemRealloc(XML_Parser parser, void *ptr, size_t size);
|
||||
|
||||
void
|
||||
XML_MemFree(XML_Parser parser, void *ptr);
|
||||
|
||||
void
|
||||
XML_ParserFree(XML_Parser parser);
|
||||
|
||||
const XML_LChar *
|
||||
XML_ErrorString(enum XML_Error code);
|
||||
|
||||
const XML_LChar *
|
||||
XML_ExpatVersion(void);
|
||||
|
||||
typedef struct {
|
||||
int major;
|
||||
int minor;
|
||||
int micro;
|
||||
} XML_Expat_Version;
|
||||
|
||||
XML_Expat_Version
|
||||
XML_ExpatVersionInfo(void);
|
||||
|
||||
enum XML_FeatureEnum {
|
||||
XML_FEATURE_END = 0,
|
||||
XML_FEATURE_UNICODE,
|
||||
XML_FEATURE_UNICODE_WCHAR_T,
|
||||
XML_FEATURE_DTD,
|
||||
XML_FEATURE_CONTEXT_BYTES,
|
||||
XML_FEATURE_MIN_SIZE,
|
||||
XML_FEATURE_SIZEOF_XML_CHAR,
|
||||
XML_FEATURE_SIZEOF_XML_LCHAR,
|
||||
XML_FEATURE_NS,
|
||||
XML_FEATURE_LARGE_SIZE
|
||||
};
|
||||
|
||||
typedef struct {
|
||||
enum XML_FeatureEnum feature;
|
||||
const XML_LChar *name;
|
||||
long int value;
|
||||
} XML_Feature;
|
||||
|
||||
const XML_Feature *
|
||||
XML_GetFeatureList(void);
|
||||
|
||||
|
||||
#define XML_MAJOR_VERSION 2
|
||||
#define XML_MINOR_VERSION 0
|
||||
#define XML_MICRO_VERSION 1
|
||||
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
#ifdef __GNUC__
|
||||
#ifdef __PPC__
|
||||
#pragma pack()
|
||||
#endif
|
||||
#elif defined(__VBCC__)
|
||||
#pragma default-align
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
#endif /* EXPAT_EXPAT_H */
|
||||
@@ -0,0 +1,52 @@
|
||||
#ifndef PROTO_EXPAT_H
|
||||
#define PROTO_EXPAT_H
|
||||
|
||||
#ifndef LIBRARIES_EXPAT_H
|
||||
#include <libraries/expat.h>
|
||||
#endif
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
#ifndef __NOLIBBASE__
|
||||
#ifndef __USE_BASETYPE__
|
||||
extern struct Library * ExpatBase;
|
||||
#else
|
||||
extern struct Library * ExpatBase;
|
||||
#endif /* __USE_BASETYPE__ */
|
||||
#endif /* __NOLIBBASE__ */
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
#ifdef __amigaos4__
|
||||
#include <interfaces/expat.h>
|
||||
#ifdef __USE_INLINE__
|
||||
#include <inline4/expat.h>
|
||||
#endif /* __USE_INLINE__ */
|
||||
#ifndef CLIB_EXPAT_PROTOS_H
|
||||
#define CLIB_EXPAT_PROTOS_H 1
|
||||
#endif /* CLIB_EXPAT_PROTOS_H */
|
||||
#ifndef __NOGLOBALIFACE__
|
||||
extern struct ExpatIFace *IExpat;
|
||||
#endif /* __NOGLOBALIFACE__ */
|
||||
#else /* __amigaos4__ */
|
||||
#ifndef CLIB_EXPAT_PROTOS_H
|
||||
#include <clib/expat_protos.h>
|
||||
#endif /* CLIB_EXPAT_PROTOS_H */
|
||||
#if defined(__GNUC__)
|
||||
#ifndef __PPC__
|
||||
#include <inline/expat.h>
|
||||
#else
|
||||
#include <ppcinline/expat.h>
|
||||
#endif /* __PPC__ */
|
||||
#elif defined(__VBCC__)
|
||||
#ifndef __PPC__
|
||||
#include <inline/expat_protos.h>
|
||||
#endif /* __PPC__ */
|
||||
#else
|
||||
#include <pragmas/expat_pragmas.h>
|
||||
#endif /* __GNUC__ */
|
||||
#endif /* __amigaos4__ */
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
#endif /* PROTO_EXPAT_H */
|
||||
Executable
+57
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
** Copyright (c) 2001-2009 Expat maintainers.
|
||||
**
|
||||
** 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.
|
||||
*/
|
||||
|
||||
#ifdef __USE_INLINE__
|
||||
#undef __USE_INLINE__
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <proto/exec.h>
|
||||
|
||||
struct Library* ExpatBase = 0;
|
||||
struct ExpatIFace* IExpat = 0;
|
||||
|
||||
|
||||
void setup() __attribute__((constructor));
|
||||
void cleanup() __attribute__((destructor));
|
||||
|
||||
|
||||
void setup()
|
||||
{
|
||||
ExpatBase = IExec->OpenLibrary("expat.library", 53);
|
||||
IExpat = (struct ExpatIFace*)IExec->GetInterface(ExpatBase, "main", 1, NULL);
|
||||
|
||||
if ( IExpat == 0 ) {
|
||||
IExec->DebugPrintF("Can't open expat.library\n");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void cleanup()
|
||||
{
|
||||
IExec->DropInterface((struct Interface*)IExpat);
|
||||
IExpat = 0;
|
||||
|
||||
IExec->CloseLibrary(ExpatBase);
|
||||
ExpatBase = 0;
|
||||
}
|
||||
@@ -0,0 +1,87 @@
|
||||
|
||||
Using a Borland compiler product
|
||||
|
||||
The files in this directory support using both the free Borland command-line
|
||||
compiler tools and the Borland C++ Builder IDE. The project files have been
|
||||
tested with both versions 5 and 6 of the C++ Builder product.
|
||||
|
||||
Using the free BCC32 command line compiler
|
||||
|
||||
After downloading and installing the free C++ Builder commandline version,
|
||||
perform the following steps (assuming it was installed under C:\Borland\BCC55):
|
||||
|
||||
1) Add "C:\Borland\BCC55\BIN" to your path
|
||||
2) Set the environment variable BCB to "C:\Borland\BCC55".
|
||||
3) edit makefile.mak: enable or comment out the appropriate commands under
|
||||
clean & distclean, depending on whether your OS can use deltree /y or
|
||||
del /s/f/q.
|
||||
|
||||
After that, you should simply cd to the bcb5 directory in your Expat directory
|
||||
tree (same structure as CVS) and run "make all" or just "make".
|
||||
|
||||
Naming
|
||||
|
||||
The libraries have the base name "libexpat" followed optionally by an "s"
|
||||
(static) or a "w" (unicode version), then an underscore and optionally
|
||||
"mt" (multi-threaded) and "d" (dynamic RTL).
|
||||
|
||||
To change the name of the library a project file produces, edit the project
|
||||
option source (see step 1 under Unicode below) and change the name contained in
|
||||
the PROJECT tag. In a make file, change the value assigned to the PROJECT
|
||||
variable. Also, the LIBRARY entry in the .def file has to be changed to
|
||||
correspond to the new executable name.
|
||||
|
||||
|
||||
Unicode Considerations
|
||||
|
||||
There are no facilities in the BCB 5 GUI to create a unicode-enabled
|
||||
application. Fortunately, it is not hard to do by hand.
|
||||
|
||||
1. The startup .obj system file must be changed to the unicode version.
|
||||
Go to Project|Edit Option Source, and scroll down to the ALLOBJ tag. Change
|
||||
c0x32.obj to c0x32w.obj. Editing this file can be quirky, but usually the
|
||||
following kludge will make the change stick. Close and save the file
|
||||
(CTRL-F4) then open the options dialog (CTRL-Shift-F11), then click OK on
|
||||
the dialog immediately without changing anything in it. If this doesn't work,
|
||||
you will have to close the project completely and edit the .bpr file by hand.
|
||||
|
||||
If you are using a make file, just change the startup .obj file assigned
|
||||
to the ALLOBJ variable.
|
||||
|
||||
2. Add the macro define XML_UNICODE_WCHAR_T. In the GUI that goes in the options
|
||||
dialog, Directories/Conditionals tab, in the Conditional define box. In a
|
||||
make file, put it in the USERDEFINES variable.
|
||||
|
||||
3. Of course, your code has to be written for unicode. As a start, the "main"
|
||||
function is called "wmain". The tchar macros are an interesting way to
|
||||
write code that can easily switch between unicode and utf-8. If these macros
|
||||
are used, then simply adding the conditional define _UNICODE as well as
|
||||
XML_UNICODE_WCHAR_T will bring in the unicode versions of the tchar macros.
|
||||
Otherwise the utf-8 versions are used. xmlwf uses its own versions of the
|
||||
tchar macros which are switched on and off by the XML_UNICODE macro, which
|
||||
itself is set by the XML_UNICODE_WCHAR_T define.
|
||||
|
||||
Threading
|
||||
|
||||
The libexpat libraries are all built to link with the multi-threaded dynamic RTL's.
|
||||
That means they require CC32xxMT.DLL present on the installation target.
|
||||
To create single-threaded libs, do the following:
|
||||
|
||||
1. The compiler option for multi-threading must be turned off. Following the
|
||||
instructions above to edit the option source, remove the -tWM option from
|
||||
the CFLAG1 tag. In a make file, remove it from the CFLAG1 variable.
|
||||
|
||||
2. The single threaded RTL must be called. change the RTL in the ALLLIB tag or
|
||||
variable (GUI or makefile repectively) to the version without the "mt" in the
|
||||
name. For example, change cw32mti.lib to cw32i.lib.
|
||||
|
||||
Static RTL's
|
||||
|
||||
To build the libs with static RTL's do the following,
|
||||
|
||||
1. For the static expatlibs, in the Tlib tab on the options dialog, uncheck the
|
||||
"Use dynamic RTL" box. For the dynamic expatlibs, in the Linker tab on the
|
||||
options dialog, uncheck "Use dynamic RTL". If you are using a make file,
|
||||
remove the _RTLDLL assignment to the SYSDEFINES variable, and change the RTL
|
||||
to the version without an "i" in the ALLLIB variable. For example,
|
||||
cw32mti.lib would become cw32mt.lib.
|
||||
@@ -0,0 +1,49 @@
|
||||
#------------------------------------------------------------------------------
|
||||
VERSION = BWS.01
|
||||
#------------------------------------------------------------------------------
|
||||
!ifndef ROOT
|
||||
ROOT = $(MAKEDIR)\..
|
||||
!endif
|
||||
#------------------------------------------------------------------------------
|
||||
MAKE = $(ROOT)\bin\make.exe -$(MAKEFLAGS) -f$**
|
||||
DCC = $(ROOT)\bin\dcc32.exe $**
|
||||
BRCC = $(ROOT)\bin\brcc32.exe $**
|
||||
#------------------------------------------------------------------------------
|
||||
PROJECTS = setup libexpat_mtd.dll libexpats_mtd.lib libexpatw_mtd.dll \
|
||||
libexpatws_mtd.lib elements.exe outline.exe xmlwf.exe
|
||||
#------------------------------------------------------------------------------
|
||||
default: $(PROJECTS)
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
libexpat_mtd.dll: expat.bpr
|
||||
$(ROOT)\bin\bpr2mak $**
|
||||
$(ROOT)\bin\make -$(MAKEFLAGS) -f$*.mak
|
||||
|
||||
libexpats_mtd.lib: expat_static.bpr
|
||||
$(ROOT)\bin\bpr2mak -t$(ROOT)\bin\deflib.bmk $**
|
||||
$(ROOT)\bin\make -$(MAKEFLAGS) -f$*.mak
|
||||
|
||||
libexpatw_mtd.dll: expatw.bpr
|
||||
$(ROOT)\bin\bpr2mak $**
|
||||
$(ROOT)\bin\make -$(MAKEFLAGS) -f$*.mak
|
||||
|
||||
libexpatws_mtd.lib: expatw_static.bpr
|
||||
$(ROOT)\bin\bpr2mak -t$(ROOT)\bin\deflib.bmk $**
|
||||
$(ROOT)\bin\make -$(MAKEFLAGS) -f$*.mak
|
||||
|
||||
elements.exe: elements.bpr
|
||||
$(ROOT)\bin\bpr2mak $**
|
||||
$(ROOT)\bin\make -$(MAKEFLAGS) -f$*.mak
|
||||
|
||||
outline.exe: outline.bpr
|
||||
$(ROOT)\bin\bpr2mak $**
|
||||
$(ROOT)\bin\make -$(MAKEFLAGS) -f$*.mak
|
||||
|
||||
xmlwf.exe: xmlwf.bpr
|
||||
$(ROOT)\bin\bpr2mak $**
|
||||
$(ROOT)\bin\make -$(MAKEFLAGS) -f$*.mak
|
||||
|
||||
setup: setup.bat
|
||||
call $**
|
||||
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
USEUNIT("..\examples\elements.c");
|
||||
USELIB("Release\libexpats_mtd.lib");
|
||||
//---------------------------------------------------------------------------
|
||||
main
|
||||
@@ -0,0 +1,149 @@
|
||||
<?xml version='1.0' encoding='utf-8' ?>
|
||||
<!-- C++Builder XML Project -->
|
||||
<PROJECT>
|
||||
<MACROS>
|
||||
<VERSION value="BCB.05.03"/>
|
||||
<PROJECT value="Release\elements.exe"/>
|
||||
<OBJFILES value="Release\obj\examples\elements.obj"/>
|
||||
<RESFILES value=""/>
|
||||
<IDLFILES value=""/>
|
||||
<IDLGENFILES value=""/>
|
||||
<DEFFILE value=""/>
|
||||
<RESDEPEN value="$(RESFILES)"/>
|
||||
<LIBFILES value="Release\libexpats_mtd.lib"/>
|
||||
<LIBRARIES value=""/>
|
||||
<SPARELIBS value=""/>
|
||||
<PACKAGES value="VCL50.bpi VCLX50.bpi bcbsmp50.bpi QRPT50.bpi VCLDB50.bpi VCLBDE50.bpi
|
||||
ibsmp50.bpi VCLDBX50.bpi TEEUI50.bpi TEEDB50.bpi TEE50.bpi TEEQR50.bpi
|
||||
VCLIB50.bpi bcbie50.bpi VCLIE50.bpi INETDB50.bpi INET50.bpi NMFAST50.bpi
|
||||
dclocx50.bpi bcb2kaxserver50.bpi dclusr50.bpi"/>
|
||||
<PATHCPP value=".;..\examples"/>
|
||||
<PATHPAS value=".;"/>
|
||||
<PATHRC value=".;"/>
|
||||
<PATHASM value=".;"/>
|
||||
<DEBUGLIBPATH value="$(BCB)\lib\debug"/>
|
||||
<RELEASELIBPATH value="$(BCB)\lib\release"/>
|
||||
<LINKER value="ilink32"/>
|
||||
<USERDEFINES value="WIN32;NDEBUG;_CONSOLE;XML_STATIC"/>
|
||||
<SYSDEFINES value="_NO_VCL;_ASSERTE;NO_STRICT;_RTLDLL"/>
|
||||
<MAINSOURCE value="elements.bpf"/>
|
||||
<INCLUDEPATH value="..\examples;$(BCB)\include"/>
|
||||
<LIBPATH value="..\examples;$(BCB)\lib;$(RELEASELIBPATH)"/>
|
||||
<WARNINGS value="-w-par -w-8027 -w-8026"/>
|
||||
</MACROS>
|
||||
<OPTIONS>
|
||||
<IDLCFLAGS value="-I$(BCB)\include"/>
|
||||
<CFLAG1 value="-O2 -X- -a8 -b -k- -vi -q -tWM -I..\lib -c"/>
|
||||
<PFLAGS value="-N2Release\obj\examples -N0Release\obj\examples -$Y- -$L- -$D-"/>
|
||||
<RFLAGS value="/l 0x409 /d "NDEBUG" /i$(BCB)\include"/>
|
||||
<AFLAGS value="/mx /w2 /zn"/>
|
||||
<LFLAGS value="-IRelease\obj\examples -D"" -ap -Tpe -x -Gn -q -L..\LIB\RELEASE_STATIC"/>
|
||||
</OPTIONS>
|
||||
<LINKER>
|
||||
<ALLOBJ value="c0x32.obj $(OBJFILES)"/>
|
||||
<ALLRES value="$(RESFILES)"/>
|
||||
<ALLLIB value="$(LIBFILES) $(LIBRARIES) import32.lib cw32mti.lib"/>
|
||||
</LINKER>
|
||||
<IDEOPTIONS>
|
||||
[Version Info]
|
||||
IncludeVerInfo=0
|
||||
AutoIncBuild=0
|
||||
MajorVer=1
|
||||
MinorVer=0
|
||||
Release=0
|
||||
Build=0
|
||||
Debug=0
|
||||
PreRelease=0
|
||||
Special=0
|
||||
Private=0
|
||||
DLL=0
|
||||
Locale=1033
|
||||
CodePage=1252
|
||||
|
||||
[Version Info Keys]
|
||||
CompanyName=
|
||||
FileDescription=
|
||||
FileVersion=1.0.0.0
|
||||
InternalName=
|
||||
LegalCopyright=
|
||||
LegalTrademarks=
|
||||
OriginalFilename=
|
||||
ProductName=
|
||||
ProductVersion=1.0.0.0
|
||||
Comments=
|
||||
|
||||
[HistoryLists\hlIncludePath]
|
||||
Count=4
|
||||
Item0=..\examples;$(BCB)\include
|
||||
Item1=$(BCB)\include
|
||||
Item2=$(BCB)\include;$(BCB)\include\mfc;$(BCB)\include\atl
|
||||
Item3=$(BCB)\include;$(BCB)\include\mfc;$(BCB)\include\atl;
|
||||
|
||||
[HistoryLists\hlLibraryPath]
|
||||
Count=8
|
||||
Item0=..\examples;$(BCB)\lib;$(RELEASELIBPATH)
|
||||
Item1=..\examples;$(BCB)\lib;..\examples\$(RELEASELIBPATH)
|
||||
Item2=$(BCB)\lib;$(RELEASELIBPATH)
|
||||
Item3=$(BCB)\lib;$(RELEASELIBPATH);..\lib\Release-w_static
|
||||
Item4=$(BCB)\lib;$(RELEASELIBPATH);..\lib\Release_static
|
||||
Item5=$(BCB)\lib;$(RELEASELIBPATH);C:\src\expat\lib\Release_static
|
||||
Item6=$(BCB)\lib;$(RELEASELIBPATH);$(BCB)\lib\psdk
|
||||
Item7=$(BCB)\lib;$(RELEASELIBPATH);;$(BCB)\lib\psdk;
|
||||
|
||||
[HistoryLists\hlDebugSourcePath]
|
||||
Count=1
|
||||
Item0=$(BCB)\source\vcl
|
||||
|
||||
[HistoryLists\hlConditionals]
|
||||
Count=17
|
||||
Item0=WIN32;NDEBUG;_CONSOLE;XML_STATIC
|
||||
Item1=WIN32;NDEBUG;_CONSOLE;_DEBUG;XML_STATIC
|
||||
Item2=WIN32;NDEBUG;_CONSOLE;_DEBUG;XML_UNICODE_WCHAR_T;_UNICODE;XML_STATIC
|
||||
Item3=WIN32;NDEBUG;_CONSOLE;_DEBUG;XML_UNICODE_WCHAR_T;_UNICODE
|
||||
Item4=WIN32;NDEBUG;_CONSOLE;_DEBUG
|
||||
Item5=WIN32;NDEBUG;_CONSOLE;XML_STATIC;_DEBUG
|
||||
Item6=WIN32;NDEBUG;_CONSOLE;XML_STATIC;_DEBUG;_UNICODE
|
||||
Item7=WIN32;NDEBUG;_CONSOLE;XML_STATIC;_DEBUG;XML_UNICODE_WCHAR_T
|
||||
Item8=WIN32;NDEBUG;_CONSOLE;_MBCS;XML_STATIC;_DEBUG;XML_UNICODE_WCHAR_T
|
||||
Item9=WIN32;NDEBUG;_CONSOLE;_UNICODE;XML_STATIC;_DEBUG;XML_UNICODE_WCHAR_T
|
||||
Item10=WIN32;NDEBUG;_CONSOLE;_UNICODE;XML_STATIC;_DEBUG;XML_UNICODE
|
||||
Item11=WIN32;NDEBUG;_CONSOLE;_MBCS;XML_STATIC;_DEBUG;XML_UNICODE_WCHAR_T;__WCHAR_T
|
||||
Item12=WIN32;NDEBUG;_CONSOLE;_MBCS;XML_STATIC;_DEBUG;XML_UNICODE_WCHAR_T;_UNICODE
|
||||
Item13=WIN32;NDEBUG;_CONSOLE;_MBCS;XML_STATIC;_DEBUG;XML_UNICODE;_UNICODE
|
||||
Item14=WIN32;NDEBUG;_CONSOLE;_MBCS;XML_STATIC;_DEBUG;XML_UNICODE
|
||||
Item15=WIN32;NDEBUG;_CONSOLE;_MBCS;XML_STATIC;_DEBUG
|
||||
Item16=WIN32;NDEBUG;_CONSOLE;_MBCS;XML_STATIC
|
||||
|
||||
[HistoryLists\hlIntOutputDir]
|
||||
Count=5
|
||||
Item0=Release\obj\examples
|
||||
Item1=Release\obj\elements
|
||||
Item2=Release\obj\mts
|
||||
Item3=..\examples\Release
|
||||
Item4=Release
|
||||
|
||||
[HistoryLists\hlFinalOutputDir]
|
||||
Count=1
|
||||
Item0=Release\
|
||||
|
||||
[Debugging]
|
||||
DebugSourceDirs=
|
||||
|
||||
[Parameters]
|
||||
RunParams=
|
||||
HostApplication=
|
||||
RemoteHost=
|
||||
RemotePath=
|
||||
RemoteDebug=0
|
||||
|
||||
[Compiler]
|
||||
ShowInfoMsgs=0
|
||||
LinkDebugVcl=0
|
||||
LinkCGLIB=0
|
||||
|
||||
[Language]
|
||||
ActiveLang=
|
||||
ProjectLang=
|
||||
RootDir=
|
||||
</IDEOPTIONS>
|
||||
</PROJECT>@
|
||||
@@ -0,0 +1,186 @@
|
||||
# ---------------------------------------------------------------------------
|
||||
!if !$d(BCB)
|
||||
BCB = $(MAKEDIR)\..
|
||||
!endif
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# IDE SECTION
|
||||
# ---------------------------------------------------------------------------
|
||||
# The following section of the project makefile is managed by the BCB IDE.
|
||||
# It is recommended to use the IDE to change any of the values in this
|
||||
# section.
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
VERSION = BCB.05.03
|
||||
# ---------------------------------------------------------------------------
|
||||
PROJECT = Release\elements.exe
|
||||
OBJFILES = Release\obj\examples\elements.obj
|
||||
RESFILES =
|
||||
MAINSOURCE = elements.bpf
|
||||
RESDEPEN = $(RESFILES)
|
||||
LIBFILES = Release\libexpats_mtd.lib
|
||||
IDLFILES =
|
||||
IDLGENFILES =
|
||||
LIBRARIES =
|
||||
PACKAGES = VCL50.bpi VCLX50.bpi bcbsmp50.bpi QRPT50.bpi VCLDB50.bpi VCLBDE50.bpi \
|
||||
ibsmp50.bpi VCLDBX50.bpi TEEUI50.bpi TEEDB50.bpi TEE50.bpi TEEQR50.bpi \
|
||||
VCLIB50.bpi bcbie50.bpi VCLIE50.bpi INETDB50.bpi INET50.bpi NMFAST50.bpi \
|
||||
dclocx50.bpi bcb2kaxserver50.bpi dclusr50.bpi
|
||||
SPARELIBS =
|
||||
DEFFILE =
|
||||
# ---------------------------------------------------------------------------
|
||||
PATHCPP = .;..\examples
|
||||
PATHASM = .;
|
||||
PATHPAS = .;
|
||||
PATHRC = .;
|
||||
DEBUGLIBPATH = $(BCB)\lib\debug
|
||||
RELEASELIBPATH = $(BCB)\lib\release
|
||||
USERDEFINES = WIN32;NDEBUG;_CONSOLE;XML_STATIC
|
||||
SYSDEFINES = _NO_VCL;_ASSERTE;NO_STRICT;_RTLDLL
|
||||
INCLUDEPATH = ..\examples;$(BCB)\include
|
||||
LIBPATH = ..\examples;$(BCB)\lib;$(RELEASELIBPATH)
|
||||
WARNINGS= -w-par -w-8027 -w-8026
|
||||
# ---------------------------------------------------------------------------
|
||||
CFLAG1 = -O2 -X- -a8 -b -k- -vi -q -I..\lib -c
|
||||
IDLCFLAGS = -I$(BCB)\include
|
||||
PFLAGS = -N2Release\obj\examples -N0Release\obj\examples -$Y- -$L- -$D-
|
||||
RFLAGS = /l 0x409 /d "NDEBUG" /i$(BCB)\include
|
||||
AFLAGS = /mx /w2 /zn
|
||||
LFLAGS = -IRelease\obj\examples -D"" -ap -Tpe -x -Gn -q -L..\LIB\RELEASE_STATIC
|
||||
# ---------------------------------------------------------------------------
|
||||
ALLOBJ = c0x32.obj $(OBJFILES)
|
||||
ALLRES = $(RESFILES)
|
||||
ALLLIB = $(LIBFILES) $(LIBRARIES) import32.lib cw32mti.lib
|
||||
# ---------------------------------------------------------------------------
|
||||
!ifdef IDEOPTIONS
|
||||
|
||||
[Version Info]
|
||||
IncludeVerInfo=0
|
||||
AutoIncBuild=0
|
||||
MajorVer=1
|
||||
MinorVer=0
|
||||
Release=0
|
||||
Build=0
|
||||
Debug=0
|
||||
PreRelease=0
|
||||
Special=0
|
||||
Private=0
|
||||
DLL=0
|
||||
|
||||
[Version Info Keys]
|
||||
CompanyName=
|
||||
FileDescription=
|
||||
FileVersion=1.0.0.0
|
||||
InternalName=
|
||||
LegalCopyright=
|
||||
LegalTrademarks=
|
||||
OriginalFilename=
|
||||
ProductName=
|
||||
ProductVersion=1.0.0.0
|
||||
Comments=
|
||||
|
||||
[Debugging]
|
||||
DebugSourceDirs=$(BCB)\source\vcl
|
||||
|
||||
!endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# MAKE SECTION
|
||||
# ---------------------------------------------------------------------------
|
||||
# This section of the project file is not used by the BCB IDE. It is for
|
||||
# the benefit of building from the command-line using the MAKE utility.
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
.autodepend
|
||||
# ---------------------------------------------------------------------------
|
||||
!if "$(USERDEFINES)" != ""
|
||||
AUSERDEFINES = -d$(USERDEFINES:;= -d)
|
||||
!else
|
||||
AUSERDEFINES =
|
||||
!endif
|
||||
|
||||
!if !$d(BCC32)
|
||||
BCC32 = bcc32
|
||||
!endif
|
||||
|
||||
!if !$d(CPP32)
|
||||
CPP32 = cpp32
|
||||
!endif
|
||||
|
||||
!if !$d(DCC32)
|
||||
DCC32 = dcc32
|
||||
!endif
|
||||
|
||||
!if !$d(TASM32)
|
||||
TASM32 = tasm32
|
||||
!endif
|
||||
|
||||
!if !$d(LINKER)
|
||||
LINKER = ilink32
|
||||
!endif
|
||||
|
||||
!if !$d(BRCC32)
|
||||
BRCC32 = brcc32
|
||||
!endif
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
!if $d(PATHCPP)
|
||||
.PATH.CPP = $(PATHCPP)
|
||||
.PATH.C = $(PATHCPP)
|
||||
!endif
|
||||
|
||||
!if $d(PATHPAS)
|
||||
.PATH.PAS = $(PATHPAS)
|
||||
!endif
|
||||
|
||||
!if $d(PATHASM)
|
||||
.PATH.ASM = $(PATHASM)
|
||||
!endif
|
||||
|
||||
!if $d(PATHRC)
|
||||
.PATH.RC = $(PATHRC)
|
||||
!endif
|
||||
# ---------------------------------------------------------------------------
|
||||
$(PROJECT): $(IDLGENFILES) $(OBJFILES) $(RESDEPEN) $(DEFFILE)
|
||||
$(BCB)\BIN\$(LINKER) @&&!
|
||||
$(LFLAGS) -L$(LIBPATH) +
|
||||
$(ALLOBJ), +
|
||||
$(PROJECT),, +
|
||||
$(ALLLIB), +
|
||||
$(DEFFILE), +
|
||||
$(ALLRES)
|
||||
!
|
||||
# ---------------------------------------------------------------------------
|
||||
.pas.hpp:
|
||||
$(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< }
|
||||
|
||||
.pas.obj:
|
||||
$(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< }
|
||||
|
||||
.cpp.obj:
|
||||
$(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< }
|
||||
|
||||
.c.obj:
|
||||
$(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< }
|
||||
|
||||
.c.i:
|
||||
$(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< }
|
||||
|
||||
.cpp.i:
|
||||
$(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< }
|
||||
|
||||
.asm.obj:
|
||||
$(BCB)\BIN\$(TASM32) $(AFLAGS) -i$(INCLUDEPATH:;= -i) $(AUSERDEFINES) -d$(SYSDEFINES:;= -d) $<, $@
|
||||
|
||||
.rc.res:
|
||||
$(BCB)\BIN\$(BRCC32) $(RFLAGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -fo$@ $<
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
USEUNIT("..\lib\xmlparse.c");
|
||||
USEUNIT("..\lib\xmlrole.c");
|
||||
USEUNIT("..\lib\xmltok.c");
|
||||
USEDEF("libexpat_mtd.def");
|
||||
//---------------------------------------------------------------------------
|
||||
#define DllEntryPoint
|
||||
@@ -0,0 +1,140 @@
|
||||
<?xml version='1.0' encoding='utf-8' ?>
|
||||
<!-- C++Builder XML Project -->
|
||||
<PROJECT>
|
||||
<MACROS>
|
||||
<VERSION value="BCB.05.03"/>
|
||||
<PROJECT value="Release\libexpat_mtd.dll"/>
|
||||
<OBJFILES value="Release\obj\libexpat\xmlparse.obj Release\obj\libexpat\xmlrole.obj
|
||||
Release\obj\libexpat\xmltok.obj"/>
|
||||
<RESFILES value=""/>
|
||||
<IDLFILES value=""/>
|
||||
<IDLGENFILES value=""/>
|
||||
<DEFFILE value="libexpat_mtd.def"/>
|
||||
<RESDEPEN value="$(RESFILES)"/>
|
||||
<LIBFILES value=""/>
|
||||
<LIBRARIES value=""/>
|
||||
<SPARELIBS value=""/>
|
||||
<PACKAGES value="VCL50.bpi VCLX50.bpi bcbsmp50.bpi QRPT50.bpi VCLDB50.bpi VCLBDE50.bpi
|
||||
ibsmp50.bpi VCLDBX50.bpi TEEUI50.bpi TEEDB50.bpi TEE50.bpi TEEQR50.bpi
|
||||
VCLIB50.bpi bcbie50.bpi VCLIE50.bpi INETDB50.bpi INET50.bpi NMFAST50.bpi
|
||||
dclocx50.bpi bcb2kaxserver50.bpi dclusr50.bpi"/>
|
||||
<PATHCPP value=".;..\lib"/>
|
||||
<PATHPAS value=".;"/>
|
||||
<PATHRC value=".;"/>
|
||||
<PATHASM value=".;"/>
|
||||
<DEBUGLIBPATH value="$(BCB)\lib\debug"/>
|
||||
<RELEASELIBPATH value="$(BCB)\lib\release"/>
|
||||
<LINKER value="ilink32"/>
|
||||
<USERDEFINES value="_WINDOWS;WIN32;NDEBUG;_USRDLL;COMPILED_FROM_DSP;EXPAT_EXPORTS"/>
|
||||
<SYSDEFINES value="_NO_VCL;_ASSERTE;NO_STRICT;_RTLDLL"/>
|
||||
<MAINSOURCE value="expat.bpf"/>
|
||||
<INCLUDEPATH value="..\lib;$(BCB)\include"/>
|
||||
<LIBPATH value="..\lib;$(BCB)\lib;$(RELEASELIBPATH)"/>
|
||||
<WARNINGS value="-w-rch -w-par -w-8027 -w-8026 -w-ccc"/>
|
||||
</MACROS>
|
||||
<OPTIONS>
|
||||
<IDLCFLAGS value="-I$(BCB)\include"/>
|
||||
<CFLAG1 value="-WD -O2 -X- -a8 -b -k- -vi -q -tWM -c -tWD"/>
|
||||
<PFLAGS value="-N2Release\obj\libexpat -N0Release\obj\libexpat -$Y- -$L- -$D-"/>
|
||||
<RFLAGS value="/l 0x409 /d "NDEBUG" /i$(BCB)\include"/>
|
||||
<AFLAGS value="/mx /w2 /zn"/>
|
||||
<LFLAGS value="-IRelease\obj\libexpat -D"" -aa -Tpd -x -Gn -Gi -q"/>
|
||||
</OPTIONS>
|
||||
<LINKER>
|
||||
<ALLOBJ value="c0d32.obj $(OBJFILES)"/>
|
||||
<ALLRES value="$(RESFILES)"/>
|
||||
<ALLLIB value="$(LIBFILES) $(LIBRARIES) import32.lib cw32mti.lib"/>
|
||||
</LINKER>
|
||||
<IDEOPTIONS>
|
||||
[Version Info]
|
||||
IncludeVerInfo=0
|
||||
AutoIncBuild=0
|
||||
MajorVer=1
|
||||
MinorVer=0
|
||||
Release=0
|
||||
Build=0
|
||||
Debug=0
|
||||
PreRelease=0
|
||||
Special=0
|
||||
Private=0
|
||||
DLL=0
|
||||
Locale=1033
|
||||
CodePage=1252
|
||||
|
||||
[Version Info Keys]
|
||||
CompanyName=
|
||||
FileDescription=
|
||||
FileVersion=1.0.0.0
|
||||
InternalName=
|
||||
LegalCopyright=
|
||||
LegalTrademarks=
|
||||
OriginalFilename=
|
||||
ProductName=
|
||||
ProductVersion=1.0.0.0
|
||||
Comments=
|
||||
|
||||
[HistoryLists\hlIncludePath]
|
||||
Count=4
|
||||
Item0=..\lib;$(BCB)\include
|
||||
Item1=$(BCB)\include
|
||||
Item2=$(BCB)\include;$(BCB)\include\mfc;$(BCB)\include\atl
|
||||
Item3=$(BCB)\include;$(BCB)\include\mfc;$(BCB)\include\atl;
|
||||
|
||||
[HistoryLists\hlLibraryPath]
|
||||
Count=5
|
||||
Item0=..\lib;$(BCB)\lib;$(RELEASELIBPATH)
|
||||
Item1=..\lib;$(BCB)\lib;..\lib\$(RELEASELIBPATH)
|
||||
Item2=$(BCB)\lib;$(RELEASELIBPATH)
|
||||
Item3=$(BCB)\lib;$(RELEASELIBPATH);$(BCB)\lib\psdk
|
||||
Item4=$(BCB)\lib;$(RELEASELIBPATH);;$(BCB)\lib\psdk;
|
||||
|
||||
[HistoryLists\hlDebugSourcePath]
|
||||
Count=1
|
||||
Item0=$(BCB)\source\vcl
|
||||
|
||||
[HistoryLists\hlConditionals]
|
||||
Count=8
|
||||
Item0=_WINDOWS;WIN32;NDEBUG;_USRDLL;COMPILED_FROM_DSP;EXPAT_EXPORTS
|
||||
Item1=_WINDOWS;WIN32;NDEBUG;_DEBUG;_USRDLL;COMPILED_FROM_DSP;EXPAT_EXPORTS
|
||||
Item2=WIN32;_WINDOWS;NDEBUG;_DEBUG;_USRDLL;COMPILED_FROM_DSP;EXPAT_EXPORTS
|
||||
Item3=WIN32;_WINDOWS;NDEBUG;_DEBUG;_USRDLL;EXPAT_EXPORTS;COMPILED_FROM_DSP
|
||||
Item4=NDEBUG;WIN32;_WINDOWS;_USRDLL;_DEBUG;EXPAT_EXPORTS;COMPILED_FROM_DSP
|
||||
Item5=NDEBUG;WIN32;_WINDOWS;_USRDLL;EXPAT_EXPORTS;COMPILED_FROM_DSP;_DEBUG
|
||||
Item6=NDEBUG;WIN32;_WINDOWS;_MBCS;_USRDLL;EXPAT_EXPORTS;COMPILED_FROM_DSP;_DEBUG
|
||||
Item7=NDEBUG;WIN32;_WINDOWS;_MBCS;_USRDLL;EXPAT_EXPORTS;COMPILED_FROM_DSP
|
||||
|
||||
[HistoryLists\hlIntOutputDir]
|
||||
Count=7
|
||||
Item0=Release\obj\libexpat
|
||||
Item1=Release\obj\libexpat_static
|
||||
Item2=Release\obj\mtd
|
||||
Item3=Release\obj\mt
|
||||
Item4=Release\obj
|
||||
Item5=Release
|
||||
Item6=..\lib\Release
|
||||
|
||||
[HistoryLists\hlFinalOutputDir]
|
||||
Count=1
|
||||
Item0=Release\
|
||||
|
||||
[Debugging]
|
||||
DebugSourceDirs=
|
||||
|
||||
[Parameters]
|
||||
RunParams=
|
||||
HostApplication=
|
||||
RemoteHost=
|
||||
RemotePath=
|
||||
RemoteDebug=0
|
||||
|
||||
[Compiler]
|
||||
ShowInfoMsgs=0
|
||||
LinkDebugVcl=0
|
||||
LinkCGLIB=0
|
||||
|
||||
[Language]
|
||||
ActiveLang=
|
||||
ProjectLang=
|
||||
RootDir=
|
||||
</IDEOPTIONS>
|
||||
</PROJECT>@
|
||||
@@ -0,0 +1,187 @@
|
||||
# ---------------------------------------------------------------------------
|
||||
!if !$d(BCB)
|
||||
BCB = $(MAKEDIR)\..
|
||||
!endif
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# IDE SECTION
|
||||
# ---------------------------------------------------------------------------
|
||||
# The following section of the project makefile is managed by the BCB IDE.
|
||||
# It is recommended to use the IDE to change any of the values in this
|
||||
# section.
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
VERSION = BCB.05.03
|
||||
# ---------------------------------------------------------------------------
|
||||
PROJECT = Release\libexpat_mtd.dll
|
||||
OBJFILES = Release\obj\libexpat\xmlparse.obj Release\obj\libexpat\xmlrole.obj \
|
||||
Release\obj\libexpat\xmltok.obj
|
||||
RESFILES =
|
||||
MAINSOURCE = expat.bpf
|
||||
RESDEPEN = $(RESFILES)
|
||||
LIBFILES =
|
||||
IDLFILES =
|
||||
IDLGENFILES =
|
||||
LIBRARIES =
|
||||
PACKAGES = VCL50.bpi VCLX50.bpi bcbsmp50.bpi QRPT50.bpi VCLDB50.bpi VCLBDE50.bpi \
|
||||
ibsmp50.bpi VCLDBX50.bpi TEEUI50.bpi TEEDB50.bpi TEE50.bpi TEEQR50.bpi \
|
||||
VCLIB50.bpi bcbie50.bpi VCLIE50.bpi INETDB50.bpi INET50.bpi NMFAST50.bpi \
|
||||
dclocx50.bpi bcb2kaxserver50.bpi dclusr50.bpi
|
||||
SPARELIBS =
|
||||
DEFFILE = libexpat_mtd.def
|
||||
# ---------------------------------------------------------------------------
|
||||
PATHCPP = .;..\lib
|
||||
PATHASM = .;
|
||||
PATHPAS = .;
|
||||
PATHRC = .;
|
||||
DEBUGLIBPATH = $(BCB)\lib\debug
|
||||
RELEASELIBPATH = $(BCB)\lib\release
|
||||
USERDEFINES = _WINDOWS;WIN32;NDEBUG;_USRDLL;COMPILED_FROM_DSP
|
||||
SYSDEFINES = _NO_VCL;_ASSERTE;NO_STRICT;_RTLDLL
|
||||
INCLUDEPATH = ..\lib;$(BCB)\include
|
||||
LIBPATH = ..\lib;$(BCB)\lib;$(RELEASELIBPATH)
|
||||
WARNINGS= -w-rch -w-par -w-8027 -w-8026 -w-ccc
|
||||
# ---------------------------------------------------------------------------
|
||||
CFLAG1 = -WD -O2 -X- -a8 -b -k- -vi -q -tWM -c -tWD
|
||||
IDLCFLAGS = -I$(BCB)\include
|
||||
PFLAGS = -N2Release\obj\libexpat -N0Release\obj\libexpat -$Y- -$L- -$D-
|
||||
RFLAGS = /l 0x409 /d "NDEBUG" /i$(BCB)\include
|
||||
AFLAGS = /mx /w2 /zn
|
||||
LFLAGS = -IRelease\obj\libexpat -D"" -aa -Tpd -x -Gn -Gi -q
|
||||
# ---------------------------------------------------------------------------
|
||||
ALLOBJ = c0d32.obj $(OBJFILES)
|
||||
ALLRES = $(RESFILES)
|
||||
ALLLIB = $(LIBFILES) $(LIBRARIES) import32.lib cw32mti.lib
|
||||
# ---------------------------------------------------------------------------
|
||||
!ifdef IDEOPTIONS
|
||||
|
||||
[Version Info]
|
||||
IncludeVerInfo=0
|
||||
AutoIncBuild=0
|
||||
MajorVer=1
|
||||
MinorVer=0
|
||||
Release=0
|
||||
Build=0
|
||||
Debug=0
|
||||
PreRelease=0
|
||||
Special=0
|
||||
Private=0
|
||||
DLL=0
|
||||
|
||||
[Version Info Keys]
|
||||
CompanyName=
|
||||
FileDescription=
|
||||
FileVersion=1.0.0.0
|
||||
InternalName=
|
||||
LegalCopyright=
|
||||
LegalTrademarks=
|
||||
OriginalFilename=
|
||||
ProductName=
|
||||
ProductVersion=1.0.0.0
|
||||
Comments=
|
||||
|
||||
[Debugging]
|
||||
DebugSourceDirs=$(BCB)\source\vcl
|
||||
|
||||
!endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# MAKE SECTION
|
||||
# ---------------------------------------------------------------------------
|
||||
# This section of the project file is not used by the BCB IDE. It is for
|
||||
# the benefit of building from the command-line using the MAKE utility.
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
.autodepend
|
||||
# ---------------------------------------------------------------------------
|
||||
!if "$(USERDEFINES)" != ""
|
||||
AUSERDEFINES = -d$(USERDEFINES:;= -d)
|
||||
!else
|
||||
AUSERDEFINES =
|
||||
!endif
|
||||
|
||||
!if !$d(BCC32)
|
||||
BCC32 = bcc32
|
||||
!endif
|
||||
|
||||
!if !$d(CPP32)
|
||||
CPP32 = cpp32
|
||||
!endif
|
||||
|
||||
!if !$d(DCC32)
|
||||
DCC32 = dcc32
|
||||
!endif
|
||||
|
||||
!if !$d(TASM32)
|
||||
TASM32 = tasm32
|
||||
!endif
|
||||
|
||||
!if !$d(LINKER)
|
||||
LINKER = ilink32
|
||||
!endif
|
||||
|
||||
!if !$d(BRCC32)
|
||||
BRCC32 = brcc32
|
||||
!endif
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
!if $d(PATHCPP)
|
||||
.PATH.CPP = $(PATHCPP)
|
||||
.PATH.C = $(PATHCPP)
|
||||
!endif
|
||||
|
||||
!if $d(PATHPAS)
|
||||
.PATH.PAS = $(PATHPAS)
|
||||
!endif
|
||||
|
||||
!if $d(PATHASM)
|
||||
.PATH.ASM = $(PATHASM)
|
||||
!endif
|
||||
|
||||
!if $d(PATHRC)
|
||||
.PATH.RC = $(PATHRC)
|
||||
!endif
|
||||
# ---------------------------------------------------------------------------
|
||||
$(PROJECT): $(IDLGENFILES) $(OBJFILES) $(RESDEPEN) $(DEFFILE)
|
||||
$(BCB)\BIN\$(LINKER) @&&!
|
||||
$(LFLAGS) -L$(LIBPATH) +
|
||||
$(ALLOBJ), +
|
||||
$(PROJECT),, +
|
||||
$(ALLLIB), +
|
||||
$(DEFFILE), +
|
||||
$(ALLRES)
|
||||
!
|
||||
# ---------------------------------------------------------------------------
|
||||
.pas.hpp:
|
||||
$(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< }
|
||||
|
||||
.pas.obj:
|
||||
$(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< }
|
||||
|
||||
.cpp.obj:
|
||||
$(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< }
|
||||
|
||||
.c.obj:
|
||||
$(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< }
|
||||
|
||||
.c.i:
|
||||
$(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< }
|
||||
|
||||
.cpp.i:
|
||||
$(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< }
|
||||
|
||||
.asm.obj:
|
||||
$(BCB)\BIN\$(TASM32) $(AFLAGS) -i$(INCLUDEPATH:;= -i) $(AUSERDEFINES) -d$(SYSDEFINES:;= -d) $<, $@
|
||||
|
||||
.rc.res:
|
||||
$(BCB)\BIN\$(BRCC32) $(RFLAGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -fo$@ $<
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
USEUNIT("..\lib\xmlparse.c");
|
||||
USEUNIT("..\lib\xmlrole.c");
|
||||
USEUNIT("..\lib\xmltok.c");
|
||||
//---------------------------------------------------------------------------
|
||||
#define Library
|
||||
@@ -0,0 +1,143 @@
|
||||
<?xml version='1.0' encoding='utf-8' ?>
|
||||
<!-- C++Builder XML Project -->
|
||||
<PROJECT>
|
||||
<MACROS>
|
||||
<VERSION value="BCB.05.03"/>
|
||||
<PROJECT value="Release\libexpats_mtd.lib"/>
|
||||
<OBJFILES value="Release\obj\libexpat_static\xmlparse.obj
|
||||
Release\obj\libexpat_static\xmlrole.obj
|
||||
Release\obj\libexpat_static\xmltok.obj"/>
|
||||
<RESFILES value=""/>
|
||||
<IDLFILES value=""/>
|
||||
<IDLGENFILES value=""/>
|
||||
<DEFFILE value=""/>
|
||||
<RESDEPEN value="$(RESFILES)"/>
|
||||
<LIBFILES value=""/>
|
||||
<LIBRARIES value=""/>
|
||||
<SPARELIBS value=""/>
|
||||
<PACKAGES value=""/>
|
||||
<PATHCPP value=".;..\lib"/>
|
||||
<PATHPAS value=".;"/>
|
||||
<PATHRC value=".;"/>
|
||||
<PATHASM value=".;"/>
|
||||
<DEBUGLIBPATH value="$(BCB)\lib\debug"/>
|
||||
<RELEASELIBPATH value="$(BCB)\lib\release"/>
|
||||
<LINKER value="TLib"/>
|
||||
<USERDEFINES value="_WINDOWS;WIN32;NDEBUG;_LIB;COMPILED_FROM_DSP;XML_STATIC"/>
|
||||
<SYSDEFINES value="_NO_VCL;_ASSERTE;NO_STRICT;_RTLDLL"/>
|
||||
<MAINSOURCE value="expat_static.bpf"/>
|
||||
<INCLUDEPATH value="..\lib;$(BCB)\include"/>
|
||||
<LIBPATH value="..\lib;$(BCB)\lib;$(RELEASELIBPATH)"/>
|
||||
<WARNINGS value="-w-rch -w-par -w-8027 -w-8026 -w-ccc"/>
|
||||
<LISTFILE value=""/>
|
||||
</MACROS>
|
||||
<OPTIONS>
|
||||
<IDLCFLAGS value="-I$(BCB)\include"/>
|
||||
<CFLAG1 value="-O2 -X- -a8 -b -k- -vi -q -tWM -c"/>
|
||||
<PFLAGS value="-N2Release\obj\libexpat_static -N0Release\obj\libexpat_static -$Y- -$L- -$D-"/>
|
||||
<RFLAGS value="/l 0x409 /d "NDEBUG" /i$(BCB)\include"/>
|
||||
<AFLAGS value="/mx /w2 /zn"/>
|
||||
<LFLAGS value=""/>
|
||||
</OPTIONS>
|
||||
<LINKER>
|
||||
<ALLOBJ value="$(OBJFILES)"/>
|
||||
<ALLRES value="$(RESFILES)"/>
|
||||
<ALLLIB value="$(LIBFILES) $(LIBRARIES)"/>
|
||||
</LINKER>
|
||||
<IDEOPTIONS>
|
||||
[Version Info]
|
||||
IncludeVerInfo=0
|
||||
AutoIncBuild=0
|
||||
MajorVer=1
|
||||
MinorVer=0
|
||||
Release=0
|
||||
Build=0
|
||||
Debug=0
|
||||
PreRelease=0
|
||||
Special=0
|
||||
Private=0
|
||||
DLL=0
|
||||
Locale=1033
|
||||
CodePage=1252
|
||||
|
||||
[Version Info Keys]
|
||||
CompanyName=
|
||||
FileDescription=
|
||||
FileVersion=1.0.0.0
|
||||
InternalName=
|
||||
LegalCopyright=
|
||||
LegalTrademarks=
|
||||
OriginalFilename=
|
||||
ProductName=
|
||||
ProductVersion=1.0.0.0
|
||||
Comments=
|
||||
|
||||
[HistoryLists\hlIncludePath]
|
||||
Count=4
|
||||
Item0=..\lib;$(BCB)\include
|
||||
Item1=$(BCB)\include
|
||||
Item2=$(BCB)\include;$(BCB)\include\mfc;$(BCB)\include\atl
|
||||
Item3=$(BCB)\include;$(BCB)\include\mfc;$(BCB)\include\atl;
|
||||
|
||||
[HistoryLists\hlLibraryPath]
|
||||
Count=5
|
||||
Item0=..\lib;$(BCB)\lib;$(RELEASELIBPATH)
|
||||
Item1=..\lib;$(BCB)\lib;..\lib\$(RELEASELIBPATH)
|
||||
Item2=$(BCB)\lib;$(RELEASELIBPATH)
|
||||
Item3=$(BCB)\lib;$(RELEASELIBPATH);$(BCB)\lib\psdk
|
||||
Item4=$(BCB)\lib;$(RELEASELIBPATH);;$(BCB)\lib\psdk;
|
||||
|
||||
[HistoryLists\hlDebugSourcePath]
|
||||
Count=1
|
||||
Item0=$(BCB)\source\vcl
|
||||
|
||||
[HistoryLists\hlConditionals]
|
||||
Count=7
|
||||
Item0=_WINDOWS;WIN32;NDEBUG;_LIB;COMPILED_FROM_DSP;XML_STATIC
|
||||
Item1=_WINDOWS;WIN32;NDEBUG;_DEBUG;_LIB;COMPILED_FROM_DSP;XML_STATIC
|
||||
Item2=WIN32;_WINDOWS;NDEBUG;_DEBUG;_LIB;COMPILED_FROM_DSP;XML_STATIC
|
||||
Item3=WIN32;_WINDOWS;NDEBUG;_LIB;COMPILED_FROM_DSP;_DEBUG
|
||||
Item4=WIN32;_WINDOWS;NDEBUG;_LIB;COMPILED_FROM_DSP
|
||||
Item5=WIN32;_WINDOWS;NDEBUG;_LIB;COMPILED_FROM_DSP;_MBCS
|
||||
Item6=WIN32;_WINDOWS;NDEBUG;_MBCS;_LIB;COMPILED_FROM_DSP
|
||||
|
||||
[HistoryLists\hlIntOutputDir]
|
||||
Count=6
|
||||
Item0=Release\obj\libexpat_static
|
||||
Item1=Release\obj\mts
|
||||
Item2=Release\obj\mt
|
||||
Item3=Release
|
||||
Item4=..\lib\Release_static
|
||||
Item5=Release_static
|
||||
|
||||
[HistoryLists\hlFinalOutputDir]
|
||||
Count=3
|
||||
Item0=Release\
|
||||
Item1=Release
|
||||
Item2=Release_static\
|
||||
|
||||
[HistoryLists\hlTlibPageSize]
|
||||
Count=1
|
||||
Item0=0x0010
|
||||
|
||||
[Debugging]
|
||||
DebugSourceDirs=
|
||||
|
||||
[Parameters]
|
||||
RunParams=
|
||||
HostApplication=
|
||||
RemoteHost=
|
||||
RemotePath=
|
||||
RemoteDebug=0
|
||||
|
||||
[Compiler]
|
||||
ShowInfoMsgs=0
|
||||
LinkDebugVcl=0
|
||||
LinkCGLIB=0
|
||||
|
||||
[Language]
|
||||
ActiveLang=
|
||||
ProjectLang=
|
||||
RootDir=
|
||||
</IDEOPTIONS>
|
||||
</PROJECT>@
|
||||
@@ -0,0 +1,189 @@
|
||||
# ---------------------------------------------------------------------------
|
||||
!if !$d(BCB)
|
||||
BCB = $(MAKEDIR)\..
|
||||
!endif
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# IDE SECTION
|
||||
# ---------------------------------------------------------------------------
|
||||
# The following section of the project makefile is managed by the BCB IDE.
|
||||
# It is recommended to use the IDE to change any of the values in this
|
||||
# section.
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
VERSION = BCB.05.03
|
||||
# ---------------------------------------------------------------------------
|
||||
PROJECT = Release\libexpats_mtd.lib
|
||||
OBJFILES = Release\obj\libexpat_static\xmlparse.obj \
|
||||
Release\obj\libexpat_static\xmlrole.obj \
|
||||
Release\obj\libexpat_static\xmltok.obj
|
||||
RESFILES =
|
||||
MAINSOURCE = expat_static.bpf
|
||||
RESDEPEN = $(RESFILES)
|
||||
LIBFILES =
|
||||
IDLFILES =
|
||||
IDLGENFILES =
|
||||
LIBRARIES =
|
||||
PACKAGES =
|
||||
SPARELIBS =
|
||||
DEFFILE =
|
||||
# ---------------------------------------------------------------------------
|
||||
PATHCPP = .;..\lib
|
||||
PATHASM = .;
|
||||
PATHPAS = .;
|
||||
PATHRC = .;
|
||||
LINKER = TLib
|
||||
DEBUGLIBPATH = $(BCB)\lib\debug
|
||||
RELEASELIBPATH = $(BCB)\lib\release
|
||||
USERDEFINES = _WINDOWS;WIN32;NDEBUG;_LIB;COMPILED_FROM_DSP;XML_STATIC
|
||||
SYSDEFINES = _NO_VCL;_ASSERTE;NO_STRICT;_RTLDLL
|
||||
INCLUDEPATH = ..\lib;$(BCB)\include
|
||||
LIBPATH = ..\lib;$(BCB)\lib;$(RELEASELIBPATH)
|
||||
WARNINGS = -w-rch -w-par -w-8027 -w-8026 -w-ccc
|
||||
LISTFILE =
|
||||
# ---------------------------------------------------------------------------
|
||||
CFLAG1 = -O2 -X- -a8 -b -k- -vi -q -tWM -c
|
||||
IDLCFLAGS = -I$(BCB)\include
|
||||
PFLAGS = -N2Release\obj\libexpat_static -N0Release\obj\libexpat_static -$Y- -$L- -$D-
|
||||
RFLAGS = /l 0x409 /d "NDEBUG" /i$(BCB)\include
|
||||
AFLAGS = /mx /w2 /zn
|
||||
LFLAGS =
|
||||
# ---------------------------------------------------------------------------
|
||||
ALLOBJ = $(OBJFILES)
|
||||
ALLRES = $(RESFILES)
|
||||
ALLLIB = $(LIBFILES) $(LIBRARIES)
|
||||
# ---------------------------------------------------------------------------
|
||||
!ifdef IDEOPTIONS
|
||||
|
||||
[Version Info]
|
||||
IncludeVerInfo=0
|
||||
AutoIncBuild=0
|
||||
MajorVer=1
|
||||
MinorVer=0
|
||||
Release=0
|
||||
Build=0
|
||||
Debug=0
|
||||
PreRelease=0
|
||||
Special=0
|
||||
Private=0
|
||||
DLL=0
|
||||
|
||||
[Version Info Keys]
|
||||
CompanyName=
|
||||
FileDescription=
|
||||
FileVersion=1.0.0.0
|
||||
InternalName=
|
||||
LegalCopyright=
|
||||
LegalTrademarks=
|
||||
OriginalFilename=
|
||||
ProductName=
|
||||
ProductVersion=1.0.0.0
|
||||
Comments=
|
||||
|
||||
[Debugging]
|
||||
DebugSourceDirs=$(BCB)\source\vcl
|
||||
|
||||
!endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# MAKE SECTION
|
||||
# ---------------------------------------------------------------------------
|
||||
# This section of the project file is not used by the BCB IDE. It is for
|
||||
# the benefit of building from the command-line using the MAKE utility.
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
.autodepend
|
||||
# ---------------------------------------------------------------------------
|
||||
!if "$(USERDEFINES)" != ""
|
||||
AUSERDEFINES = -d$(USERDEFINES:;= -d)
|
||||
!else
|
||||
AUSERDEFINES =
|
||||
!endif
|
||||
|
||||
!if !$d(BCC32)
|
||||
BCC32 = bcc32
|
||||
!endif
|
||||
|
||||
!if !$d(CPP32)
|
||||
CPP32 = cpp32
|
||||
!endif
|
||||
|
||||
!if !$d(DCC32)
|
||||
DCC32 = dcc32
|
||||
!endif
|
||||
|
||||
!if !$d(TASM32)
|
||||
TASM32 = tasm32
|
||||
!endif
|
||||
|
||||
!if !$d(LINKER)
|
||||
LINKER = TLib
|
||||
!endif
|
||||
|
||||
!if !$d(BRCC32)
|
||||
BRCC32 = brcc32
|
||||
!endif
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
!if $d(PATHCPP)
|
||||
.PATH.CPP = $(PATHCPP)
|
||||
.PATH.C = $(PATHCPP)
|
||||
!endif
|
||||
|
||||
!if $d(PATHPAS)
|
||||
.PATH.PAS = $(PATHPAS)
|
||||
!endif
|
||||
|
||||
!if $d(PATHASM)
|
||||
.PATH.ASM = $(PATHASM)
|
||||
!endif
|
||||
|
||||
!if $d(PATHRC)
|
||||
.PATH.RC = $(PATHRC)
|
||||
!endif
|
||||
# ---------------------------------------------------------------------------
|
||||
!if "$(LISTFILE)" == ""
|
||||
COMMA =
|
||||
!else
|
||||
COMMA = ,
|
||||
!endif
|
||||
|
||||
$(PROJECT): $(IDLGENFILES) $(OBJFILES) $(RESDEPEN) $(DEFFILE)
|
||||
$(BCB)\BIN\$(LINKER) /u $@ @&&!
|
||||
$(LFLAGS) $? $(COMMA) $(LISTFILE)
|
||||
|
||||
!
|
||||
# ---------------------------------------------------------------------------
|
||||
.pas.hpp:
|
||||
$(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< }
|
||||
|
||||
.pas.obj:
|
||||
$(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< }
|
||||
|
||||
.cpp.obj:
|
||||
$(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< }
|
||||
|
||||
.c.obj:
|
||||
$(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< }
|
||||
|
||||
.c.i:
|
||||
$(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< }
|
||||
|
||||
.cpp.i:
|
||||
$(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< }
|
||||
|
||||
.asm.obj:
|
||||
$(BCB)\BIN\$(TASM32) $(AFLAGS) -i$(INCLUDEPATH:;= -i) $(AUSERDEFINES) -d$(SYSDEFINES:;= -d) $<, $@
|
||||
|
||||
.rc.res:
|
||||
$(BCB)\BIN\$(BRCC32) $(RFLAGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -fo$@ $<
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
USEUNIT("..\lib\xmlparse.c");
|
||||
USEUNIT("..\lib\xmlrole.c");
|
||||
USEUNIT("..\lib\xmltok.c");
|
||||
USEDEF("libexpatw_mtd.def");
|
||||
//---------------------------------------------------------------------------
|
||||
#define DllEntryPoint
|
||||
@@ -0,0 +1,146 @@
|
||||
<?xml version='1.0' encoding='utf-8' ?>
|
||||
<!-- C++Builder XML Project -->
|
||||
<PROJECT>
|
||||
<MACROS>
|
||||
<VERSION value="BCB.05.03"/>
|
||||
<PROJECT value="Release\libexpatw_mtd.dll"/>
|
||||
<OBJFILES value="Release\obj\libexpatw\xmlparse.obj Release\obj\libexpatw\xmlrole.obj
|
||||
Release\obj\libexpatw\xmltok.obj"/>
|
||||
<RESFILES value=""/>
|
||||
<IDLFILES value=""/>
|
||||
<IDLGENFILES value=""/>
|
||||
<DEFFILE value="libexpatw_mtd.def"/>
|
||||
<RESDEPEN value="$(RESFILES)"/>
|
||||
<LIBFILES value=""/>
|
||||
<LIBRARIES value=""/>
|
||||
<SPARELIBS value=""/>
|
||||
<PACKAGES value="VCL50.bpi VCLX50.bpi bcbsmp50.bpi QRPT50.bpi VCLDB50.bpi VCLBDE50.bpi
|
||||
ibsmp50.bpi VCLDBX50.bpi TEEUI50.bpi TEEDB50.bpi TEE50.bpi TEEQR50.bpi
|
||||
VCLIB50.bpi bcbie50.bpi VCLIE50.bpi INETDB50.bpi INET50.bpi NMFAST50.bpi
|
||||
dclocx50.bpi bcb2kaxserver50.bpi dclusr50.bpi"/>
|
||||
<PATHCPP value=".;..\lib"/>
|
||||
<PATHPAS value=".;"/>
|
||||
<PATHRC value=".;"/>
|
||||
<PATHASM value=".;"/>
|
||||
<DEBUGLIBPATH value="$(BCB)\lib\debug"/>
|
||||
<RELEASELIBPATH value="$(BCB)\lib\release"/>
|
||||
<LINKER value="ilink32"/>
|
||||
<USERDEFINES value="_WINDOWS;WIN32;NDEBUG;_USRDLL;COMPILED_FROM_DSP;EXPAT_EXPORTS;XML_UNICODE_WCHAR_T"/>
|
||||
<SYSDEFINES value="_NO_VCL;_ASSERTE;NO_STRICT;_RTLDLL"/>
|
||||
<MAINSOURCE value="expatw.bpf"/>
|
||||
<INCLUDEPATH value="..\lib;$(BCB)\include"/>
|
||||
<LIBPATH value="..\lib;$(BCB)\lib;$(RELEASELIBPATH)"/>
|
||||
<WARNINGS value="-w-rch -w-par -w-8027 -w-8026 -w-ccc"/>
|
||||
</MACROS>
|
||||
<OPTIONS>
|
||||
<IDLCFLAGS value="-I$(BCB)\include"/>
|
||||
<CFLAG1 value="-WD -O2 -X- -a8 -b -k- -vi -q -tWM -c -tWD"/>
|
||||
<PFLAGS value="-N2Release\obj\libexpatw -N0Release\obj\libexpatw -$Y- -$L- -$D-"/>
|
||||
<RFLAGS value="/l 0x409 /d "NDEBUG" /i$(BCB)\include"/>
|
||||
<AFLAGS value="/mx /w2 /zn"/>
|
||||
<LFLAGS value="-IRelease\obj\libexpatw -D"" -aa -Tpd -x -Gn -Gi -w -q"/>
|
||||
</OPTIONS>
|
||||
<LINKER>
|
||||
<ALLOBJ value="c0d32w.obj $(OBJFILES)"/>
|
||||
<ALLRES value="$(RESFILES)"/>
|
||||
<ALLLIB value="$(LIBFILES) $(LIBRARIES) import32.lib cw32mti.lib"/>
|
||||
</LINKER>
|
||||
<IDEOPTIONS>
|
||||
[Version Info]
|
||||
IncludeVerInfo=0
|
||||
AutoIncBuild=0
|
||||
MajorVer=1
|
||||
MinorVer=0
|
||||
Release=0
|
||||
Build=0
|
||||
Debug=0
|
||||
PreRelease=0
|
||||
Special=0
|
||||
Private=0
|
||||
DLL=0
|
||||
Locale=1033
|
||||
CodePage=1252
|
||||
|
||||
[Version Info Keys]
|
||||
CompanyName=
|
||||
FileDescription=
|
||||
FileVersion=1.0.0.0
|
||||
InternalName=
|
||||
LegalCopyright=
|
||||
LegalTrademarks=
|
||||
OriginalFilename=
|
||||
ProductName=
|
||||
ProductVersion=1.0.0.0
|
||||
Comments=
|
||||
|
||||
[HistoryLists\hlIncludePath]
|
||||
Count=4
|
||||
Item0=..\lib;$(BCB)\include
|
||||
Item1=$(BCB)\include
|
||||
Item2=$(BCB)\include;$(BCB)\include\mfc;$(BCB)\include\atl
|
||||
Item3=$(BCB)\include;$(BCB)\include\mfc;$(BCB)\include\atl;
|
||||
|
||||
[HistoryLists\hlLibraryPath]
|
||||
Count=5
|
||||
Item0=..\lib;$(BCB)\lib;$(RELEASELIBPATH)
|
||||
Item1=..\lib;$(BCB)\lib;..\lib\$(RELEASELIBPATH)
|
||||
Item2=$(BCB)\lib;$(RELEASELIBPATH)
|
||||
Item3=$(BCB)\lib;$(RELEASELIBPATH);$(BCB)\lib\psdk
|
||||
Item4=$(BCB)\lib;$(RELEASELIBPATH);;$(BCB)\lib\psdk;
|
||||
|
||||
[HistoryLists\hlDebugSourcePath]
|
||||
Count=1
|
||||
Item0=$(BCB)\source\vcl
|
||||
|
||||
[HistoryLists\hlConditionals]
|
||||
Count=9
|
||||
Item0=_WINDOWS;WIN32;NDEBUG;_USRDLL;COMPILED_FROM_DSP;EXPAT_EXPORTS;XML_UNICODE_WCHAR_T
|
||||
Item1=_WINDOWS;WIN32;NDEBUG;_DEBUG;_USRDLL;COMPILED_FROM_DSP;EXPAT_EXPORTS;XML_UNICODE_WCHAR_T
|
||||
Item2=_WINDOWS;WIN32;NDEBUG;_DEBUG;_USRDLL;EXPAT_EXPORTS;COMPILED_FROM_DSP;XML_UNICODE_WCHAR_T
|
||||
Item3=NDEBUG;COMPILED_FROM_DSP;WIN32;_WINDOWS;_USRDLL;EXPAT_EXPORTS;_DEBUG;XML_UNICODE_WCHAR_T
|
||||
Item4=NDEBUG;COMPILED_FROM_DSP;WIN32;_WINDOWS;_USRDLL;EXPAT_EXPORTS;XML_UNICODE_WCHAR_T;_DEBUG
|
||||
Item5=NDEBUG;COMPILED_FROM_DSP;WIN32;_WINDOWS;_UNICODE;_USRDLL;EXPAT_EXPORTS;XML_UNICODE_WCHAR_T;_DEBUG
|
||||
Item6=NDEBUG;COMPILED_FROM_DSP;WIN32;_WINDOWS;_UNICODE;_USRDLL;EXPAT_EXPORTS;XML_UNICODE_WCHAR_T
|
||||
Item7=NDEBUG;COMPILED_FROM_DSP;WIN32;_WINDOWS;_MBCS;_USRDLL;EXPAT_EXPORTS;XML_UNICODE_WCHAR_T;XML_UNICODE
|
||||
Item8=NDEBUG;COMPILED_FROM_DSP;WIN32;_WINDOWS;_MBCS;_USRDLL;EXPAT_EXPORTS;XML_UNICODE_WCHAR_T
|
||||
|
||||
[HistoryLists\hlIntOutputDir]
|
||||
Count=8
|
||||
Item0=Release\obj\libexpatw
|
||||
Item1=Release\obj\libexpat
|
||||
Item2=Release\obj\mtd
|
||||
Item3=Release\obj\mt
|
||||
Item4=Release_w\obj
|
||||
Item5=Release-w\obj
|
||||
Item6=Release-w
|
||||
Item7=..\lib\Release-w
|
||||
|
||||
[HistoryLists\hlFinalOutputDir]
|
||||
Count=5
|
||||
Item0=Release\
|
||||
Item1=Release
|
||||
Item2=Release_w\
|
||||
Item3=Release-w\
|
||||
Item4=Release-w
|
||||
|
||||
[Debugging]
|
||||
DebugSourceDirs=
|
||||
|
||||
[Parameters]
|
||||
RunParams=
|
||||
HostApplication=
|
||||
RemoteHost=
|
||||
RemotePath=
|
||||
RemoteDebug=0
|
||||
|
||||
[Compiler]
|
||||
ShowInfoMsgs=0
|
||||
LinkDebugVcl=0
|
||||
LinkCGLIB=0
|
||||
|
||||
[Language]
|
||||
ActiveLang=
|
||||
ProjectLang=
|
||||
RootDir=
|
||||
</IDEOPTIONS>
|
||||
</PROJECT>@
|
||||
@@ -0,0 +1,187 @@
|
||||
# ---------------------------------------------------------------------------
|
||||
!if !$d(BCB)
|
||||
BCB = $(MAKEDIR)\..
|
||||
!endif
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# IDE SECTION
|
||||
# ---------------------------------------------------------------------------
|
||||
# The following section of the project makefile is managed by the BCB IDE.
|
||||
# It is recommended to use the IDE to change any of the values in this
|
||||
# section.
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
VERSION = BCB.05.03
|
||||
# ---------------------------------------------------------------------------
|
||||
PROJECT = Release\libexpatw_mtd.dll
|
||||
OBJFILES = Release\obj\libexpatw\xmlparse.obj Release\obj\libexpatw\xmlrole.obj \
|
||||
Release\obj\libexpatw\xmltok.obj
|
||||
RESFILES =
|
||||
MAINSOURCE = expatw.bpf
|
||||
RESDEPEN = $(RESFILES)
|
||||
LIBFILES =
|
||||
IDLFILES =
|
||||
IDLGENFILES =
|
||||
LIBRARIES =
|
||||
PACKAGES = VCL50.bpi VCLX50.bpi bcbsmp50.bpi QRPT50.bpi VCLDB50.bpi VCLBDE50.bpi \
|
||||
ibsmp50.bpi VCLDBX50.bpi TEEUI50.bpi TEEDB50.bpi TEE50.bpi TEEQR50.bpi \
|
||||
VCLIB50.bpi bcbie50.bpi VCLIE50.bpi INETDB50.bpi INET50.bpi NMFAST50.bpi \
|
||||
dclocx50.bpi bcb2kaxserver50.bpi dclusr50.bpi
|
||||
SPARELIBS =
|
||||
DEFFILE = libexpatw_mtd.def
|
||||
# ---------------------------------------------------------------------------
|
||||
PATHCPP = .;..\lib
|
||||
PATHASM = .;
|
||||
PATHPAS = .;
|
||||
PATHRC = .;
|
||||
DEBUGLIBPATH = $(BCB)\lib\debug
|
||||
RELEASELIBPATH = $(BCB)\lib\release
|
||||
USERDEFINES = _WINDOWS;WIN32;NDEBUG;_USRDLL;COMPILED_FROM_DSP;XML_UNICODE_WCHAR_T
|
||||
SYSDEFINES = _NO_VCL;_ASSERTE;NO_STRICT;_RTLDLL
|
||||
INCLUDEPATH = ..\lib;$(BCB)\include
|
||||
LIBPATH = ..\lib;$(BCB)\lib;$(RELEASELIBPATH)
|
||||
WARNINGS= -w-rch -w-par -w-8027 -w-8026 -w-ccc
|
||||
# ---------------------------------------------------------------------------
|
||||
CFLAG1 = -WD -O2 -X- -a8 -b -k- -vi -q -tWM -c -tWD
|
||||
IDLCFLAGS = -I$(BCB)\include
|
||||
PFLAGS = -N2Release\obj\libexpatw -N0Release\obj\libexpatw -$Y- -$L- -$D-
|
||||
RFLAGS = /l 0x409 /d "NDEBUG" /i$(BCB)\include
|
||||
AFLAGS = /mx /w2 /zn
|
||||
LFLAGS = -IRelease\obj\libexpatw -D"" -aa -Tpd -x -Gn -Gi -w -q
|
||||
# ---------------------------------------------------------------------------
|
||||
ALLOBJ = c0d32w.obj $(OBJFILES)
|
||||
ALLRES = $(RESFILES)
|
||||
ALLLIB = $(LIBFILES) $(LIBRARIES) import32.lib cw32mti.lib
|
||||
# ---------------------------------------------------------------------------
|
||||
!ifdef IDEOPTIONS
|
||||
|
||||
[Version Info]
|
||||
IncludeVerInfo=0
|
||||
AutoIncBuild=0
|
||||
MajorVer=1
|
||||
MinorVer=0
|
||||
Release=0
|
||||
Build=0
|
||||
Debug=0
|
||||
PreRelease=0
|
||||
Special=0
|
||||
Private=0
|
||||
DLL=0
|
||||
|
||||
[Version Info Keys]
|
||||
CompanyName=
|
||||
FileDescription=
|
||||
FileVersion=1.0.0.0
|
||||
InternalName=
|
||||
LegalCopyright=
|
||||
LegalTrademarks=
|
||||
OriginalFilename=
|
||||
ProductName=
|
||||
ProductVersion=1.0.0.0
|
||||
Comments=
|
||||
|
||||
[Debugging]
|
||||
DebugSourceDirs=$(BCB)\source\vcl
|
||||
|
||||
!endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# MAKE SECTION
|
||||
# ---------------------------------------------------------------------------
|
||||
# This section of the project file is not used by the BCB IDE. It is for
|
||||
# the benefit of building from the command-line using the MAKE utility.
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
.autodepend
|
||||
# ---------------------------------------------------------------------------
|
||||
!if "$(USERDEFINES)" != ""
|
||||
AUSERDEFINES = -d$(USERDEFINES:;= -d)
|
||||
!else
|
||||
AUSERDEFINES =
|
||||
!endif
|
||||
|
||||
!if !$d(BCC32)
|
||||
BCC32 = bcc32
|
||||
!endif
|
||||
|
||||
!if !$d(CPP32)
|
||||
CPP32 = cpp32
|
||||
!endif
|
||||
|
||||
!if !$d(DCC32)
|
||||
DCC32 = dcc32
|
||||
!endif
|
||||
|
||||
!if !$d(TASM32)
|
||||
TASM32 = tasm32
|
||||
!endif
|
||||
|
||||
!if !$d(LINKER)
|
||||
LINKER = ilink32
|
||||
!endif
|
||||
|
||||
!if !$d(BRCC32)
|
||||
BRCC32 = brcc32
|
||||
!endif
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
!if $d(PATHCPP)
|
||||
.PATH.CPP = $(PATHCPP)
|
||||
.PATH.C = $(PATHCPP)
|
||||
!endif
|
||||
|
||||
!if $d(PATHPAS)
|
||||
.PATH.PAS = $(PATHPAS)
|
||||
!endif
|
||||
|
||||
!if $d(PATHASM)
|
||||
.PATH.ASM = $(PATHASM)
|
||||
!endif
|
||||
|
||||
!if $d(PATHRC)
|
||||
.PATH.RC = $(PATHRC)
|
||||
!endif
|
||||
# ---------------------------------------------------------------------------
|
||||
$(PROJECT): $(IDLGENFILES) $(OBJFILES) $(RESDEPEN) $(DEFFILE)
|
||||
$(BCB)\BIN\$(LINKER) @&&!
|
||||
$(LFLAGS) -L$(LIBPATH) +
|
||||
$(ALLOBJ), +
|
||||
$(PROJECT),, +
|
||||
$(ALLLIB), +
|
||||
$(DEFFILE), +
|
||||
$(ALLRES)
|
||||
!
|
||||
# ---------------------------------------------------------------------------
|
||||
.pas.hpp:
|
||||
$(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< }
|
||||
|
||||
.pas.obj:
|
||||
$(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< }
|
||||
|
||||
.cpp.obj:
|
||||
$(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< }
|
||||
|
||||
.c.obj:
|
||||
$(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< }
|
||||
|
||||
.c.i:
|
||||
$(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< }
|
||||
|
||||
.cpp.i:
|
||||
$(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< }
|
||||
|
||||
.asm.obj:
|
||||
$(BCB)\BIN\$(TASM32) $(AFLAGS) -i$(INCLUDEPATH:;= -i) $(AUSERDEFINES) -d$(SYSDEFINES:;= -d) $<, $@
|
||||
|
||||
.rc.res:
|
||||
$(BCB)\BIN\$(BRCC32) $(RFLAGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -fo$@ $<
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
USEUNIT("..\lib\xmlparse.c");
|
||||
USEUNIT("..\lib\xmlrole.c");
|
||||
USEUNIT("..\lib\xmltok.c");
|
||||
//---------------------------------------------------------------------------
|
||||
#define Library
|
||||
@@ -0,0 +1,152 @@
|
||||
<?xml version='1.0' encoding='utf-8' ?>
|
||||
<!-- C++Builder XML Project -->
|
||||
<PROJECT>
|
||||
<MACROS>
|
||||
<VERSION value="BCB.05.03"/>
|
||||
<PROJECT value="Release\libexpatws_mtd.lib"/>
|
||||
<OBJFILES value="Release\obj\libexpatw_static\xmlparse.obj
|
||||
Release\obj\libexpatw_static\xmlrole.obj
|
||||
Release\obj\libexpatw_static\xmltok.obj"/>
|
||||
<RESFILES value=""/>
|
||||
<IDLFILES value=""/>
|
||||
<IDLGENFILES value=""/>
|
||||
<DEFFILE value=""/>
|
||||
<RESDEPEN value="$(RESFILES)"/>
|
||||
<LIBFILES value=""/>
|
||||
<LIBRARIES value=""/>
|
||||
<SPARELIBS value=""/>
|
||||
<PACKAGES value=""/>
|
||||
<PATHCPP value=".;..\lib"/>
|
||||
<PATHPAS value=".;"/>
|
||||
<PATHRC value=".;"/>
|
||||
<PATHASM value=".;"/>
|
||||
<DEBUGLIBPATH value="$(BCB)\lib\debug"/>
|
||||
<RELEASELIBPATH value="$(BCB)\lib\release"/>
|
||||
<LINKER value="TLib"/>
|
||||
<USERDEFINES value="_WINDOWS;WIN32;NDEBUG;_LIB;COMPILED_FROM_DSP;XML_STATIC;XML_UNICODE_WCHAR_T"/>
|
||||
<SYSDEFINES value="_NO_VCL;_ASSERTE;NO_STRICT;_RTLDLL"/>
|
||||
<MAINSOURCE value="expatw_static.bpf"/>
|
||||
<INCLUDEPATH value="..\lib;$(BCB)\include"/>
|
||||
<LIBPATH value="..\lib;$(BCB)\lib;$(RELEASELIBPATH)"/>
|
||||
<WARNINGS value="-w-rch -w-par -w-8027 -w-8026 -w-ccc"/>
|
||||
<LISTFILE value=""/>
|
||||
</MACROS>
|
||||
<OPTIONS>
|
||||
<IDLCFLAGS value="-I$(BCB)\include"/>
|
||||
<CFLAG1 value="-O2 -X- -a8 -b -k- -vi -q -tWM -c"/>
|
||||
<PFLAGS value="-N2Release\obj\libexpatw_static -N0Release\obj\libexpatw_static -$Y- -$L-
|
||||
-$D-"/>
|
||||
<RFLAGS value="/l 0x409 /d "NDEBUG" /i$(BCB)\include"/>
|
||||
<AFLAGS value="/mx /w2 /zn"/>
|
||||
<LFLAGS value=""/>
|
||||
</OPTIONS>
|
||||
<LINKER>
|
||||
<ALLOBJ value="$(OBJFILES)"/>
|
||||
<ALLRES value="$(RESFILES)"/>
|
||||
<ALLLIB value="$(LIBFILES) $(LIBRARIES)"/>
|
||||
</LINKER>
|
||||
<IDEOPTIONS>
|
||||
[Version Info]
|
||||
IncludeVerInfo=0
|
||||
AutoIncBuild=0
|
||||
MajorVer=1
|
||||
MinorVer=0
|
||||
Release=0
|
||||
Build=0
|
||||
Debug=0
|
||||
PreRelease=0
|
||||
Special=0
|
||||
Private=0
|
||||
DLL=0
|
||||
Locale=1033
|
||||
CodePage=1252
|
||||
|
||||
[Version Info Keys]
|
||||
CompanyName=
|
||||
FileDescription=
|
||||
FileVersion=1.0.0.0
|
||||
InternalName=
|
||||
LegalCopyright=
|
||||
LegalTrademarks=
|
||||
OriginalFilename=
|
||||
ProductName=
|
||||
ProductVersion=1.0.0.0
|
||||
Comments=
|
||||
|
||||
[HistoryLists\hlIncludePath]
|
||||
Count=4
|
||||
Item0=..\lib;$(BCB)\include
|
||||
Item1=$(BCB)\include
|
||||
Item2=$(BCB)\include;$(BCB)\include\mfc;$(BCB)\include\atl
|
||||
Item3=$(BCB)\include;$(BCB)\include\mfc;$(BCB)\include\atl;
|
||||
|
||||
[HistoryLists\hlLibraryPath]
|
||||
Count=5
|
||||
Item0=..\lib;$(BCB)\lib;$(RELEASELIBPATH)
|
||||
Item1=..\lib;$(BCB)\lib;..\lib\$(RELEASELIBPATH)
|
||||
Item2=$(BCB)\lib;$(RELEASELIBPATH)
|
||||
Item3=$(BCB)\lib;$(RELEASELIBPATH);$(BCB)\lib\psdk
|
||||
Item4=$(BCB)\lib;$(RELEASELIBPATH);;$(BCB)\lib\psdk;
|
||||
|
||||
[HistoryLists\hlDebugSourcePath]
|
||||
Count=1
|
||||
Item0=$(BCB)\source\vcl
|
||||
|
||||
[HistoryLists\hlConditionals]
|
||||
Count=15
|
||||
Item0=_WINDOWS;WIN32;NDEBUG;_LIB;COMPILED_FROM_DSP;XML_STATIC;XML_UNICODE_WCHAR_T
|
||||
Item1=_WINDOWS;WIN32;NDEBUG;_DEBUG;_LIB;COMPILED_FROM_DSP;XML_STATIC;XML_UNICODE_WCHAR_T
|
||||
Item2=WIN32;_WINDOWS;NDEBUG;_DEBUG;_LIB;COMPILED_FROM_DSP;XML_STATIC;XML_UNICODE_WCHAR_T
|
||||
Item3=WIN32;_WINDOWS;NDEBUG;_DEBUG;_LIB;XML_STATIC;COMPILED_FROM_DSP;XML_UNICODE_WCHAR_T
|
||||
Item4=WIN32;_WINDOWS;NDEBUG;_LIB;COMPILED_FROM_DSP;_DEBUG;XML_UNICODE_WCHAR_T
|
||||
Item5=WIN32;_WINDOWS;NDEBUG;_UNICODE;_LIB;COMPILED_FROM_DSP;XML_UNICODE_WCHAR_T;_DEBUG
|
||||
Item6=WIN32;_WINDOWS;NDEBUG;_UNICODE;_LIB;COMPILED_FROM_DSP;XML_UNICODE_WCHAR_T;_DEBUG;__cplusplus
|
||||
Item7=WIN32;_WINDOWS;NDEBUG;_UNICODE;_LIB;COMPILED_FROM_DSP;XML_UNICODE;_DEBUG
|
||||
Item8=WIN32;_WINDOWS;NDEBUG;_MBCS;_LIB;COMPILED_FROM_DSP;XML_UNICODE;_DEBUG
|
||||
Item9=WIN32;_WINDOWS;NDEBUG;_MBCS;_LIB;COMPILED_FROM_DSP;XML_UNICODE_WCHAR_T;_DEBUG;__WCHAR_T
|
||||
Item10=WIN32;_WINDOWS;NDEBUG;_MBCS;_LIB;COMPILED_FROM_DSP;XML_UNICODE_WCHAR_T;_DEBUG;_UNICODE
|
||||
Item11=WIN32;_WINDOWS;NDEBUG;_MBCS;_LIB;COMPILED_FROM_DSP;XML_UNICODE;_DEBUG;_UNICODE
|
||||
Item12=WIN32;_WINDOWS;NDEBUG;_MBCS;_LIB;COMPILED_FROM_DSP;XML_UNICODE_WCHAR_T;_DEBUG
|
||||
Item13=WIN32;_WINDOWS;NDEBUG;_MBCS;_LIB;COMPILED_FROM_DSP;XML_UNICODE_WCHAR_T
|
||||
Item14=WIN32;_WINDOWS;NDEBUG;_MBCS;_LIB;COMPILED_FROM_DSP;XML_UNICODE_WCHAR_T;XML_UNICODE
|
||||
|
||||
[HistoryLists\hlIntOutputDir]
|
||||
Count=6
|
||||
Item0=Release\obj\libexpatw_static
|
||||
Item1=Release\obj\libexpat_static
|
||||
Item2=Release\obj\mts
|
||||
Item3=Release\obj\mt
|
||||
Item4=..\lib\Release-w_static
|
||||
Item5=Release-w_static
|
||||
|
||||
[HistoryLists\hlFinalOutputDir]
|
||||
Count=3
|
||||
Item0=Release\
|
||||
Item1=Release
|
||||
Item2=Release-w_static\
|
||||
|
||||
[HistoryLists\hlTlibPageSize]
|
||||
Count=1
|
||||
Item0=0x0010
|
||||
|
||||
[Debugging]
|
||||
DebugSourceDirs=
|
||||
|
||||
[Parameters]
|
||||
RunParams=
|
||||
HostApplication=
|
||||
RemoteHost=
|
||||
RemotePath=
|
||||
RemoteDebug=0
|
||||
|
||||
[Compiler]
|
||||
ShowInfoMsgs=0
|
||||
LinkDebugVcl=0
|
||||
LinkCGLIB=0
|
||||
|
||||
[Language]
|
||||
ActiveLang=
|
||||
ProjectLang=
|
||||
RootDir=
|
||||
</IDEOPTIONS>
|
||||
</PROJECT>@
|
||||
@@ -0,0 +1,190 @@
|
||||
# ---------------------------------------------------------------------------
|
||||
!if !$d(BCB)
|
||||
BCB = $(MAKEDIR)\..
|
||||
!endif
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# IDE SECTION
|
||||
# ---------------------------------------------------------------------------
|
||||
# The following section of the project makefile is managed by the BCB IDE.
|
||||
# It is recommended to use the IDE to change any of the values in this
|
||||
# section.
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
VERSION = BCB.05.03
|
||||
# ---------------------------------------------------------------------------
|
||||
PROJECT = Release\libexpatws_mtd.lib
|
||||
OBJFILES = Release\obj\libexpatw_static\xmlparse.obj \
|
||||
Release\obj\libexpatw_static\xmlrole.obj \
|
||||
Release\obj\libexpatw_static\xmltok.obj
|
||||
RESFILES =
|
||||
MAINSOURCE = expatw_static.bpf
|
||||
RESDEPEN = $(RESFILES)
|
||||
LIBFILES =
|
||||
IDLFILES =
|
||||
IDLGENFILES =
|
||||
LIBRARIES =
|
||||
PACKAGES =
|
||||
SPARELIBS =
|
||||
DEFFILE =
|
||||
# ---------------------------------------------------------------------------
|
||||
PATHCPP = .;..\lib
|
||||
PATHASM = .;
|
||||
PATHPAS = .;
|
||||
PATHRC = .;
|
||||
LINKER = TLib
|
||||
DEBUGLIBPATH = $(BCB)\lib\debug
|
||||
RELEASELIBPATH = $(BCB)\lib\release
|
||||
USERDEFINES = _WINDOWS;WIN32;NDEBUG;_LIB;COMPILED_FROM_DSP;XML_STATIC;XML_UNICODE_WCHAR_T
|
||||
SYSDEFINES = _NO_VCL;_ASSERTE;NO_STRICT;_RTLDLL
|
||||
INCLUDEPATH = ..\lib;$(BCB)\include
|
||||
LIBPATH = ..\lib;$(BCB)\lib;$(RELEASELIBPATH)
|
||||
WARNINGS = -w-rch -w-par -w-8027 -w-8026 -w-ccc
|
||||
LISTFILE =
|
||||
# ---------------------------------------------------------------------------
|
||||
CFLAG1 = -O2 -X- -a8 -b -k- -vi -q -tWM -c
|
||||
IDLCFLAGS = -I$(BCB)\include
|
||||
PFLAGS = -N2Release\obj\libexpatw_static -N0Release\obj\libexpatw_static -$Y- -$L- \
|
||||
-$D-
|
||||
RFLAGS = /l 0x409 /d "NDEBUG" /i$(BCB)\include
|
||||
AFLAGS = /mx /w2 /zn
|
||||
LFLAGS =
|
||||
# ---------------------------------------------------------------------------
|
||||
ALLOBJ = $(OBJFILES)
|
||||
ALLRES = $(RESFILES)
|
||||
ALLLIB = $(LIBFILES) $(LIBRARIES)
|
||||
# ---------------------------------------------------------------------------
|
||||
!ifdef IDEOPTIONS
|
||||
|
||||
[Version Info]
|
||||
IncludeVerInfo=0
|
||||
AutoIncBuild=0
|
||||
MajorVer=1
|
||||
MinorVer=0
|
||||
Release=0
|
||||
Build=0
|
||||
Debug=0
|
||||
PreRelease=0
|
||||
Special=0
|
||||
Private=0
|
||||
DLL=0
|
||||
|
||||
[Version Info Keys]
|
||||
CompanyName=
|
||||
FileDescription=
|
||||
FileVersion=1.0.0.0
|
||||
InternalName=
|
||||
LegalCopyright=
|
||||
LegalTrademarks=
|
||||
OriginalFilename=
|
||||
ProductName=
|
||||
ProductVersion=1.0.0.0
|
||||
Comments=
|
||||
|
||||
[Debugging]
|
||||
DebugSourceDirs=$(BCB)\source\vcl
|
||||
|
||||
!endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# MAKE SECTION
|
||||
# ---------------------------------------------------------------------------
|
||||
# This section of the project file is not used by the BCB IDE. It is for
|
||||
# the benefit of building from the command-line using the MAKE utility.
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
.autodepend
|
||||
# ---------------------------------------------------------------------------
|
||||
!if "$(USERDEFINES)" != ""
|
||||
AUSERDEFINES = -d$(USERDEFINES:;= -d)
|
||||
!else
|
||||
AUSERDEFINES =
|
||||
!endif
|
||||
|
||||
!if !$d(BCC32)
|
||||
BCC32 = bcc32
|
||||
!endif
|
||||
|
||||
!if !$d(CPP32)
|
||||
CPP32 = cpp32
|
||||
!endif
|
||||
|
||||
!if !$d(DCC32)
|
||||
DCC32 = dcc32
|
||||
!endif
|
||||
|
||||
!if !$d(TASM32)
|
||||
TASM32 = tasm32
|
||||
!endif
|
||||
|
||||
!if !$d(LINKER)
|
||||
LINKER = TLib
|
||||
!endif
|
||||
|
||||
!if !$d(BRCC32)
|
||||
BRCC32 = brcc32
|
||||
!endif
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
!if $d(PATHCPP)
|
||||
.PATH.CPP = $(PATHCPP)
|
||||
.PATH.C = $(PATHCPP)
|
||||
!endif
|
||||
|
||||
!if $d(PATHPAS)
|
||||
.PATH.PAS = $(PATHPAS)
|
||||
!endif
|
||||
|
||||
!if $d(PATHASM)
|
||||
.PATH.ASM = $(PATHASM)
|
||||
!endif
|
||||
|
||||
!if $d(PATHRC)
|
||||
.PATH.RC = $(PATHRC)
|
||||
!endif
|
||||
# ---------------------------------------------------------------------------
|
||||
!if "$(LISTFILE)" == ""
|
||||
COMMA =
|
||||
!else
|
||||
COMMA = ,
|
||||
!endif
|
||||
|
||||
$(PROJECT): $(IDLGENFILES) $(OBJFILES) $(RESDEPEN) $(DEFFILE)
|
||||
$(BCB)\BIN\$(LINKER) /u $@ @&&!
|
||||
$(LFLAGS) $? $(COMMA) $(LISTFILE)
|
||||
|
||||
!
|
||||
# ---------------------------------------------------------------------------
|
||||
.pas.hpp:
|
||||
$(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< }
|
||||
|
||||
.pas.obj:
|
||||
$(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< }
|
||||
|
||||
.cpp.obj:
|
||||
$(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< }
|
||||
|
||||
.c.obj:
|
||||
$(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< }
|
||||
|
||||
.c.i:
|
||||
$(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< }
|
||||
|
||||
.cpp.i:
|
||||
$(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< }
|
||||
|
||||
.asm.obj:
|
||||
$(BCB)\BIN\$(TASM32) $(AFLAGS) -i$(INCLUDEPATH:;= -i) $(AUSERDEFINES) -d$(SYSDEFINES:;= -d) $<, $@
|
||||
|
||||
.rc.res:
|
||||
$(BCB)\BIN\$(BRCC32) $(RFLAGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -fo$@ $<
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,141 @@
|
||||
; DEF file for BCB5
|
||||
LIBRARY LIBEXPAT_MTD
|
||||
DESCRIPTION "Implements an XML parser."
|
||||
EXPORTS
|
||||
_XML_DefaultCurrent @1
|
||||
_XML_ErrorString @2
|
||||
_XML_ExpatVersion @3
|
||||
_XML_ExpatVersionInfo @4
|
||||
_XML_ExternalEntityParserCreate @5
|
||||
_XML_GetBase @6
|
||||
_XML_GetBuffer @7
|
||||
_XML_GetCurrentByteCount @8
|
||||
_XML_GetCurrentByteIndex @9
|
||||
_XML_GetCurrentColumnNumber @10
|
||||
_XML_GetCurrentLineNumber @11
|
||||
_XML_GetErrorCode @12
|
||||
_XML_GetIdAttributeIndex @13
|
||||
_XML_GetInputContext @14
|
||||
_XML_GetSpecifiedAttributeCount @15
|
||||
_XML_Parse @16
|
||||
_XML_ParseBuffer @17
|
||||
_XML_ParserCreate @18
|
||||
_XML_ParserCreateNS @19
|
||||
_XML_ParserCreate_MM @20
|
||||
_XML_ParserFree @21
|
||||
_XML_SetAttlistDeclHandler @22
|
||||
_XML_SetBase @23
|
||||
_XML_SetCdataSectionHandler @24
|
||||
_XML_SetCharacterDataHandler @25
|
||||
_XML_SetCommentHandler @26
|
||||
_XML_SetDefaultHandler @27
|
||||
_XML_SetDefaultHandlerExpand @28
|
||||
_XML_SetDoctypeDeclHandler @29
|
||||
_XML_SetElementDeclHandler @30
|
||||
_XML_SetElementHandler @31
|
||||
_XML_SetEncoding @32
|
||||
_XML_SetEndCdataSectionHandler @33
|
||||
_XML_SetEndDoctypeDeclHandler @34
|
||||
_XML_SetEndElementHandler @35
|
||||
_XML_SetEndNamespaceDeclHandler @36
|
||||
_XML_SetEntityDeclHandler @37
|
||||
_XML_SetExternalEntityRefHandler @38
|
||||
_XML_SetExternalEntityRefHandlerArg @39
|
||||
_XML_SetNamespaceDeclHandler @40
|
||||
_XML_SetNotStandaloneHandler @41
|
||||
_XML_SetNotationDeclHandler @42
|
||||
_XML_SetParamEntityParsing @43
|
||||
_XML_SetProcessingInstructionHandler @44
|
||||
_XML_SetReturnNSTriplet @45
|
||||
_XML_SetStartCdataSectionHandler @46
|
||||
_XML_SetStartDoctypeDeclHandler @47
|
||||
_XML_SetStartElementHandler @48
|
||||
_XML_SetStartNamespaceDeclHandler @49
|
||||
_XML_SetUnknownEncodingHandler @50
|
||||
_XML_SetUnparsedEntityDeclHandler @51
|
||||
_XML_SetUserData @52
|
||||
_XML_SetXmlDeclHandler @53
|
||||
_XML_UseParserAsHandlerArg @54
|
||||
; added with version 1.95.3
|
||||
_XML_ParserReset @55
|
||||
_XML_SetSkippedEntityHandler @56
|
||||
; added with version 1.95.5
|
||||
_XML_GetFeatureList @57
|
||||
_XML_UseForeignDTD @58
|
||||
; added with version 1.95.6
|
||||
_XML_FreeContentModel @59
|
||||
_XML_MemMalloc @60
|
||||
_XML_MemRealloc @61
|
||||
_XML_MemFree @62
|
||||
; added with version 1.95.8
|
||||
_XML_StopParser @63
|
||||
_XML_ResumeParser @64
|
||||
_XML_GetParsingStatus @65
|
||||
|
||||
; Aliases for MS compatible names
|
||||
XML_DefaultCurrent = _XML_DefaultCurrent
|
||||
XML_ErrorString = _XML_ErrorString
|
||||
XML_ExpatVersion = _XML_ExpatVersion
|
||||
XML_ExpatVersionInfo = _XML_ExpatVersionInfo
|
||||
XML_ExternalEntityParserCreate = _XML_ExternalEntityParserCreate
|
||||
XML_GetBase = _XML_GetBase
|
||||
XML_GetBuffer = _XML_GetBuffer
|
||||
XML_GetCurrentByteCount = _XML_GetCurrentByteCount
|
||||
XML_GetCurrentByteIndex = _XML_GetCurrentByteIndex
|
||||
XML_GetCurrentColumnNumber = _XML_GetCurrentColumnNumber
|
||||
XML_GetCurrentLineNumber = _XML_GetCurrentLineNumber
|
||||
XML_GetErrorCode = _XML_GetErrorCode
|
||||
XML_GetIdAttributeIndex = _XML_GetIdAttributeIndex
|
||||
XML_GetInputContext = _XML_GetInputContext
|
||||
XML_GetSpecifiedAttributeCount = _XML_GetSpecifiedAttributeCount
|
||||
XML_Parse = _XML_Parse
|
||||
XML_ParseBuffer = _XML_ParseBuffer
|
||||
XML_ParserCreate = _XML_ParserCreate
|
||||
XML_ParserCreateNS = _XML_ParserCreateNS
|
||||
XML_ParserCreate_MM = _XML_ParserCreate_MM
|
||||
XML_ParserFree = _XML_ParserFree
|
||||
XML_SetAttlistDeclHandler = _XML_SetAttlistDeclHandler
|
||||
XML_SetBase = _XML_SetBase
|
||||
XML_SetCdataSectionHandler = _XML_SetCdataSectionHandler
|
||||
XML_SetCharacterDataHandler = _XML_SetCharacterDataHandler
|
||||
XML_SetCommentHandler = _XML_SetCommentHandler
|
||||
XML_SetDefaultHandler = _XML_SetDefaultHandler
|
||||
XML_SetDefaultHandlerExpand = _XML_SetDefaultHandlerExpand
|
||||
XML_SetDoctypeDeclHandler = _XML_SetDoctypeDeclHandler
|
||||
XML_SetElementDeclHandler = _XML_SetElementDeclHandler
|
||||
XML_SetElementHandler = _XML_SetElementHandler
|
||||
XML_SetEncoding = _XML_SetEncoding
|
||||
XML_SetEndCdataSectionHandler = _XML_SetEndCdataSectionHandler
|
||||
XML_SetEndDoctypeDeclHandler = _XML_SetEndDoctypeDeclHandler
|
||||
XML_SetEndElementHandler = _XML_SetEndElementHandler
|
||||
XML_SetEndNamespaceDeclHandler = _XML_SetEndNamespaceDeclHandler
|
||||
XML_SetEntityDeclHandler = _XML_SetEntityDeclHandler
|
||||
XML_SetExternalEntityRefHandler = _XML_SetExternalEntityRefHandler
|
||||
XML_SetExternalEntityRefHandlerArg = _XML_SetExternalEntityRefHandlerArg
|
||||
XML_SetNamespaceDeclHandler = _XML_SetNamespaceDeclHandler
|
||||
XML_SetNotStandaloneHandler = _XML_SetNotStandaloneHandler
|
||||
XML_SetNotationDeclHandler = _XML_SetNotationDeclHandler
|
||||
XML_SetParamEntityParsing = _XML_SetParamEntityParsing
|
||||
XML_SetProcessingInstructionHandler = _XML_SetProcessingInstructionHandler
|
||||
XML_SetReturnNSTriplet = _XML_SetReturnNSTriplet
|
||||
XML_SetStartCdataSectionHandler = _XML_SetStartCdataSectionHandler
|
||||
XML_SetStartDoctypeDeclHandler = _XML_SetStartDoctypeDeclHandler
|
||||
XML_SetStartElementHandler = _XML_SetStartElementHandler
|
||||
XML_SetStartNamespaceDeclHandler = _XML_SetStartNamespaceDeclHandler
|
||||
XML_SetUnknownEncodingHandler = _XML_SetUnknownEncodingHandler
|
||||
XML_SetUnparsedEntityDeclHandler = _XML_SetUnparsedEntityDeclHandler
|
||||
XML_SetUserData = _XML_SetUserData
|
||||
XML_SetXmlDeclHandler = _XML_SetXmlDeclHandler
|
||||
XML_UseParserAsHandlerArg = _XML_UseParserAsHandlerArg
|
||||
XML_ParserReset = _XML_ParserReset
|
||||
XML_SetSkippedEntityHandler = _XML_SetSkippedEntityHandler
|
||||
XML_GetFeatureList = _XML_GetFeatureList
|
||||
XML_UseForeignDTD = _XML_UseForeignDTD
|
||||
XML_FreeContentModel = _XML_FreeContentModel
|
||||
XML_MemMalloc = _XML_MemMalloc
|
||||
XML_MemRealloc = _XML_MemRealloc
|
||||
XML_MemFree = _XML_MemFree
|
||||
XML_StopParser = _XML_StopParser
|
||||
XML_ResumeParser = _XML_ResumeParser
|
||||
XML_GetParsingStatus = _XML_GetParsingStatus
|
||||
|
||||
@@ -0,0 +1,140 @@
|
||||
; DEF file for BCB5
|
||||
LIBRARY LIBEXPATW_MTD
|
||||
DESCRIPTION "Implements an XML parser."
|
||||
EXPORTS
|
||||
_XML_DefaultCurrent @1
|
||||
_XML_ErrorString @2
|
||||
_XML_ExpatVersion @3
|
||||
_XML_ExpatVersionInfo @4
|
||||
_XML_ExternalEntityParserCreate @5
|
||||
_XML_GetBase @6
|
||||
_XML_GetBuffer @7
|
||||
_XML_GetCurrentByteCount @8
|
||||
_XML_GetCurrentByteIndex @9
|
||||
_XML_GetCurrentColumnNumber @10
|
||||
_XML_GetCurrentLineNumber @11
|
||||
_XML_GetErrorCode @12
|
||||
_XML_GetIdAttributeIndex @13
|
||||
_XML_GetInputContext @14
|
||||
_XML_GetSpecifiedAttributeCount @15
|
||||
_XML_Parse @16
|
||||
_XML_ParseBuffer @17
|
||||
_XML_ParserCreate @18
|
||||
_XML_ParserCreateNS @19
|
||||
_XML_ParserCreate_MM @20
|
||||
_XML_ParserFree @21
|
||||
_XML_SetAttlistDeclHandler @22
|
||||
_XML_SetBase @23
|
||||
_XML_SetCdataSectionHandler @24
|
||||
_XML_SetCharacterDataHandler @25
|
||||
_XML_SetCommentHandler @26
|
||||
_XML_SetDefaultHandler @27
|
||||
_XML_SetDefaultHandlerExpand @28
|
||||
_XML_SetDoctypeDeclHandler @29
|
||||
_XML_SetElementDeclHandler @30
|
||||
_XML_SetElementHandler @31
|
||||
_XML_SetEncoding @32
|
||||
_XML_SetEndCdataSectionHandler @33
|
||||
_XML_SetEndDoctypeDeclHandler @34
|
||||
_XML_SetEndElementHandler @35
|
||||
_XML_SetEndNamespaceDeclHandler @36
|
||||
_XML_SetEntityDeclHandler @37
|
||||
_XML_SetExternalEntityRefHandler @38
|
||||
_XML_SetExternalEntityRefHandlerArg @39
|
||||
_XML_SetNamespaceDeclHandler @40
|
||||
_XML_SetNotStandaloneHandler @41
|
||||
_XML_SetNotationDeclHandler @42
|
||||
_XML_SetParamEntityParsing @43
|
||||
_XML_SetProcessingInstructionHandler @44
|
||||
_XML_SetReturnNSTriplet @45
|
||||
_XML_SetStartCdataSectionHandler @46
|
||||
_XML_SetStartDoctypeDeclHandler @47
|
||||
_XML_SetStartElementHandler @48
|
||||
_XML_SetStartNamespaceDeclHandler @49
|
||||
_XML_SetUnknownEncodingHandler @50
|
||||
_XML_SetUnparsedEntityDeclHandler @51
|
||||
_XML_SetUserData @52
|
||||
_XML_SetXmlDeclHandler @53
|
||||
_XML_UseParserAsHandlerArg @54
|
||||
; added with version 1.95.3
|
||||
_XML_ParserReset @55
|
||||
_XML_SetSkippedEntityHandler @56
|
||||
; added with version 1.95.5
|
||||
_XML_GetFeatureList @57
|
||||
_XML_UseForeignDTD @58
|
||||
; added with version 1.95.6
|
||||
_XML_FreeContentModel @59
|
||||
_XML_MemMalloc @60
|
||||
_XML_MemRealloc @61
|
||||
_XML_MemFree @62
|
||||
; added with version 1.95.8
|
||||
_XML_StopParser @63
|
||||
_XML_ResumeParser @64
|
||||
_XML_GetParsingStatus @65
|
||||
|
||||
; Aliases for MS compatible names
|
||||
XML_DefaultCurrent = _XML_DefaultCurrent
|
||||
XML_ErrorString = _XML_ErrorString
|
||||
XML_ExpatVersion = _XML_ExpatVersion
|
||||
XML_ExpatVersionInfo = _XML_ExpatVersionInfo
|
||||
XML_ExternalEntityParserCreate = _XML_ExternalEntityParserCreate
|
||||
XML_GetBase = _XML_GetBase
|
||||
XML_GetBuffer = _XML_GetBuffer
|
||||
XML_GetCurrentByteCount = _XML_GetCurrentByteCount
|
||||
XML_GetCurrentByteIndex = _XML_GetCurrentByteIndex
|
||||
XML_GetCurrentColumnNumber = _XML_GetCurrentColumnNumber
|
||||
XML_GetCurrentLineNumber = _XML_GetCurrentLineNumber
|
||||
XML_GetErrorCode = _XML_GetErrorCode
|
||||
XML_GetIdAttributeIndex = _XML_GetIdAttributeIndex
|
||||
XML_GetInputContext = _XML_GetInputContext
|
||||
XML_GetSpecifiedAttributeCount = _XML_GetSpecifiedAttributeCount
|
||||
XML_Parse = _XML_Parse
|
||||
XML_ParseBuffer = _XML_ParseBuffer
|
||||
XML_ParserCreate = _XML_ParserCreate
|
||||
XML_ParserCreateNS = _XML_ParserCreateNS
|
||||
XML_ParserCreate_MM = _XML_ParserCreate_MM
|
||||
XML_ParserFree = _XML_ParserFree
|
||||
XML_SetAttlistDeclHandler = _XML_SetAttlistDeclHandler
|
||||
XML_SetBase = _XML_SetBase
|
||||
XML_SetCdataSectionHandler = _XML_SetCdataSectionHandler
|
||||
XML_SetCharacterDataHandler = _XML_SetCharacterDataHandler
|
||||
XML_SetCommentHandler = _XML_SetCommentHandler
|
||||
XML_SetDefaultHandler = _XML_SetDefaultHandler
|
||||
XML_SetDefaultHandlerExpand = _XML_SetDefaultHandlerExpand
|
||||
XML_SetDoctypeDeclHandler = _XML_SetDoctypeDeclHandler
|
||||
XML_SetElementDeclHandler = _XML_SetElementDeclHandler
|
||||
XML_SetElementHandler = _XML_SetElementHandler
|
||||
XML_SetEncoding = _XML_SetEncoding
|
||||
XML_SetEndCdataSectionHandler = _XML_SetEndCdataSectionHandler
|
||||
XML_SetEndDoctypeDeclHandler = _XML_SetEndDoctypeDeclHandler
|
||||
XML_SetEndElementHandler = _XML_SetEndElementHandler
|
||||
XML_SetEndNamespaceDeclHandler = _XML_SetEndNamespaceDeclHandler
|
||||
XML_SetEntityDeclHandler = _XML_SetEntityDeclHandler
|
||||
XML_SetExternalEntityRefHandler = _XML_SetExternalEntityRefHandler
|
||||
XML_SetExternalEntityRefHandlerArg = _XML_SetExternalEntityRefHandlerArg
|
||||
XML_SetNamespaceDeclHandler = _XML_SetNamespaceDeclHandler
|
||||
XML_SetNotStandaloneHandler = _XML_SetNotStandaloneHandler
|
||||
XML_SetNotationDeclHandler = _XML_SetNotationDeclHandler
|
||||
XML_SetParamEntityParsing = _XML_SetParamEntityParsing
|
||||
XML_SetProcessingInstructionHandler = _XML_SetProcessingInstructionHandler
|
||||
XML_SetReturnNSTriplet = _XML_SetReturnNSTriplet
|
||||
XML_SetStartCdataSectionHandler = _XML_SetStartCdataSectionHandler
|
||||
XML_SetStartDoctypeDeclHandler = _XML_SetStartDoctypeDeclHandler
|
||||
XML_SetStartElementHandler = _XML_SetStartElementHandler
|
||||
XML_SetStartNamespaceDeclHandler = _XML_SetStartNamespaceDeclHandler
|
||||
XML_SetUnknownEncodingHandler = _XML_SetUnknownEncodingHandler
|
||||
XML_SetUnparsedEntityDeclHandler = _XML_SetUnparsedEntityDeclHandler
|
||||
XML_SetUserData = _XML_SetUserData
|
||||
XML_SetXmlDeclHandler = _XML_SetXmlDeclHandler
|
||||
XML_UseParserAsHandlerArg = _XML_UseParserAsHandlerArg
|
||||
XML_ParserReset = _XML_ParserReset
|
||||
XML_SetSkippedEntityHandler = _XML_SetSkippedEntityHandler
|
||||
XML_GetFeatureList = _XML_GetFeatureList
|
||||
XML_UseForeignDTD = _XML_UseForeignDTD
|
||||
XML_FreeContentModel = _XML_FreeContentModel
|
||||
XML_MemMalloc = _XML_MemMalloc
|
||||
XML_MemRealloc = _XML_MemRealloc
|
||||
XML_MemFree = _XML_MemFree
|
||||
XML_StopParser = _XML_StopParser
|
||||
XML_ResumeParser = _XML_ResumeParser
|
||||
XML_GetParsingStatus = _XML_GetParsingStatus
|
||||
@@ -0,0 +1,37 @@
|
||||
all: setup expat expatw expat_static expatw_static elements outline xmlwf
|
||||
|
||||
setup:
|
||||
setup
|
||||
|
||||
expat:
|
||||
make -l -fexpat.mak
|
||||
|
||||
expatw:
|
||||
make -l -fexpatw.mak
|
||||
|
||||
expat_static:
|
||||
make -l -fexpat_static.mak
|
||||
|
||||
expatw_static:
|
||||
make -l -fexpatw_static.mak
|
||||
|
||||
elements:
|
||||
make -l -felements.mak
|
||||
|
||||
outline:
|
||||
make -l -foutline.mak
|
||||
|
||||
xmlwf:
|
||||
make -l -fxmlwf.mak
|
||||
|
||||
clean:
|
||||
# works on Win98/ME
|
||||
# deltree /y release\obj
|
||||
# works on WinNT/2000
|
||||
del /s/f/q release\obj
|
||||
|
||||
distclean:
|
||||
# works on Win98/ME
|
||||
# deltree /y release\*.*
|
||||
# works on WinNT/2000
|
||||
del /s/f/q release\*
|
||||
@@ -0,0 +1,4 @@
|
||||
USEUNIT("..\examples\outline.c");
|
||||
USELIB("Release\libexpat_mtd.lib");
|
||||
//---------------------------------------------------------------------------
|
||||
main
|
||||
@@ -0,0 +1,132 @@
|
||||
<?xml version='1.0' encoding='utf-8' ?>
|
||||
<!-- C++Builder XML Project -->
|
||||
<PROJECT>
|
||||
<MACROS>
|
||||
<VERSION value="BCB.05.03"/>
|
||||
<PROJECT value="Release\outline.exe"/>
|
||||
<OBJFILES value="Release\obj\examples\outline.obj"/>
|
||||
<RESFILES value=""/>
|
||||
<IDLFILES value=""/>
|
||||
<IDLGENFILES value=""/>
|
||||
<DEFFILE value=""/>
|
||||
<RESDEPEN value="$(RESFILES)"/>
|
||||
<LIBFILES value="Release\libexpat_mtd.lib"/>
|
||||
<LIBRARIES value=""/>
|
||||
<SPARELIBS value=""/>
|
||||
<PACKAGES value="VCL50.bpi VCLX50.bpi bcbsmp50.bpi QRPT50.bpi VCLDB50.bpi VCLBDE50.bpi
|
||||
ibsmp50.bpi VCLDBX50.bpi TEEUI50.bpi TEEDB50.bpi TEE50.bpi TEEQR50.bpi
|
||||
VCLIB50.bpi bcbie50.bpi VCLIE50.bpi INETDB50.bpi INET50.bpi NMFAST50.bpi
|
||||
dclocx50.bpi bcb2kaxserver50.bpi dclusr50.bpi"/>
|
||||
<PATHCPP value=".;..\examples"/>
|
||||
<PATHPAS value=".;"/>
|
||||
<PATHRC value=".;"/>
|
||||
<PATHASM value=".;"/>
|
||||
<DEBUGLIBPATH value="$(BCB)\lib\debug"/>
|
||||
<RELEASELIBPATH value="$(BCB)\lib\release"/>
|
||||
<LINKER value="ilink32"/>
|
||||
<USERDEFINES value="WIN32;NDEBUG;_CONSOLE"/>
|
||||
<SYSDEFINES value="_NO_VCL;_ASSERTE;NO_STRICT;_RTLDLL"/>
|
||||
<MAINSOURCE value="outline.bpf"/>
|
||||
<INCLUDEPATH value="..\examples;$(BCB)\include"/>
|
||||
<LIBPATH value="..\examples;$(BCB)\lib;$(RELEASELIBPATH)"/>
|
||||
<WARNINGS value="-w-par -w-8027 -w-8026"/>
|
||||
</MACROS>
|
||||
<OPTIONS>
|
||||
<IDLCFLAGS value="-I$(BCB)\include"/>
|
||||
<CFLAG1 value="-O2 -X- -a8 -b -k- -vi -q -tWM -I..\lib -c"/>
|
||||
<PFLAGS value="-N2Release\obj\examples -N0Release\obj\examples -$Y- -$L- -$D-"/>
|
||||
<RFLAGS value="/l 0x409 /d "NDEBUG" /i$(BCB)\include"/>
|
||||
<AFLAGS value="/mx /w2 /zn"/>
|
||||
<LFLAGS value="-IRelease\obj\examples -D"" -ap -Tpe -x -Gn -q"/>
|
||||
</OPTIONS>
|
||||
<LINKER>
|
||||
<ALLOBJ value="c0x32.obj $(OBJFILES)"/>
|
||||
<ALLRES value="$(RESFILES)"/>
|
||||
<ALLLIB value="$(LIBFILES) $(LIBRARIES) import32.lib cw32mti.lib"/>
|
||||
</LINKER>
|
||||
<IDEOPTIONS>
|
||||
[Version Info]
|
||||
IncludeVerInfo=0
|
||||
AutoIncBuild=0
|
||||
MajorVer=1
|
||||
MinorVer=0
|
||||
Release=0
|
||||
Build=0
|
||||
Debug=0
|
||||
PreRelease=0
|
||||
Special=0
|
||||
Private=0
|
||||
DLL=0
|
||||
Locale=1033
|
||||
CodePage=1252
|
||||
|
||||
[Version Info Keys]
|
||||
CompanyName=
|
||||
FileDescription=
|
||||
FileVersion=1.0.0.0
|
||||
InternalName=
|
||||
LegalCopyright=
|
||||
LegalTrademarks=
|
||||
OriginalFilename=
|
||||
ProductName=
|
||||
ProductVersion=1.0.0.0
|
||||
Comments=
|
||||
|
||||
[HistoryLists\hlIncludePath]
|
||||
Count=3
|
||||
Item0=..\examples;$(BCB)\include
|
||||
Item1=$(BCB)\include
|
||||
Item2=$(BCB)\include;$(BCB)\include\mfc;$(BCB)\include\atl;
|
||||
|
||||
[HistoryLists\hlLibraryPath]
|
||||
Count=4
|
||||
Item0=..\examples;$(BCB)\lib;$(RELEASELIBPATH)
|
||||
Item1=..\examples;$(BCB)\lib;..\examples\$(RELEASELIBPATH)
|
||||
Item2=$(BCB)\lib;$(RELEASELIBPATH)
|
||||
Item3=$(BCB)\lib;$(RELEASELIBPATH);;$(BCB)\lib\psdk;
|
||||
|
||||
[HistoryLists\hlDebugSourcePath]
|
||||
Count=1
|
||||
Item0=$(BCB)\source\vcl
|
||||
|
||||
[HistoryLists\hlConditionals]
|
||||
Count=6
|
||||
Item0=WIN32;NDEBUG;_CONSOLE
|
||||
Item1=WIN32;NDEBUG;_CONSOLE;XML_STATIC
|
||||
Item2=WIN32;NDEBUG;_CONSOLE;_DEBUG;XML_STATIC
|
||||
Item3=WIN32;NDEBUG;_CONSOLE;_DEBUG;XML_UNICODE_WCHAR_T;_UNICODE;XML_STATIC
|
||||
Item4=WIN32;NDEBUG;_CONSOLE;_DEBUG;XML_UNICODE_WCHAR_T;_UNICODE
|
||||
Item5=WIN32;NDEBUG;_CONSOLE;_DEBUG
|
||||
|
||||
[HistoryLists\hlIntOutputDir]
|
||||
Count=4
|
||||
Item0=Release\obj\examples
|
||||
Item1=Release\obj\outline
|
||||
Item2=..\examples\Release
|
||||
Item3=Release
|
||||
|
||||
[HistoryLists\hlFinalOutputDir]
|
||||
Count=1
|
||||
Item0=Release\
|
||||
|
||||
[Debugging]
|
||||
DebugSourceDirs=
|
||||
|
||||
[Parameters]
|
||||
RunParams=
|
||||
HostApplication=
|
||||
RemoteHost=
|
||||
RemotePath=
|
||||
RemoteDebug=0
|
||||
|
||||
[Compiler]
|
||||
ShowInfoMsgs=0
|
||||
LinkDebugVcl=0
|
||||
LinkCGLIB=0
|
||||
|
||||
[Language]
|
||||
ActiveLang=
|
||||
ProjectLang=
|
||||
RootDir=
|
||||
</IDEOPTIONS>
|
||||
</PROJECT>@
|
||||
@@ -0,0 +1,186 @@
|
||||
# ---------------------------------------------------------------------------
|
||||
!if !$d(BCB)
|
||||
BCB = $(MAKEDIR)\..
|
||||
!endif
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# IDE SECTION
|
||||
# ---------------------------------------------------------------------------
|
||||
# The following section of the project makefile is managed by the BCB IDE.
|
||||
# It is recommended to use the IDE to change any of the values in this
|
||||
# section.
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
VERSION = BCB.05.03
|
||||
# ---------------------------------------------------------------------------
|
||||
PROJECT = Release\outline.exe
|
||||
OBJFILES = Release\obj\examples\outline.obj
|
||||
RESFILES =
|
||||
MAINSOURCE = outline.bpf
|
||||
RESDEPEN = $(RESFILES)
|
||||
LIBFILES = Release\libexpat_mtd.lib
|
||||
IDLFILES =
|
||||
IDLGENFILES =
|
||||
LIBRARIES =
|
||||
PACKAGES = VCL50.bpi VCLX50.bpi bcbsmp50.bpi QRPT50.bpi VCLDB50.bpi VCLBDE50.bpi \
|
||||
ibsmp50.bpi VCLDBX50.bpi TEEUI50.bpi TEEDB50.bpi TEE50.bpi TEEQR50.bpi \
|
||||
VCLIB50.bpi bcbie50.bpi VCLIE50.bpi INETDB50.bpi INET50.bpi NMFAST50.bpi \
|
||||
dclocx50.bpi bcb2kaxserver50.bpi dclusr50.bpi
|
||||
SPARELIBS =
|
||||
DEFFILE =
|
||||
# ---------------------------------------------------------------------------
|
||||
PATHCPP = .;..\examples
|
||||
PATHASM = .;
|
||||
PATHPAS = .;
|
||||
PATHRC = .;
|
||||
DEBUGLIBPATH = $(BCB)\lib\debug
|
||||
RELEASELIBPATH = $(BCB)\lib\release
|
||||
USERDEFINES = WIN32;NDEBUG;_CONSOLE
|
||||
SYSDEFINES = _NO_VCL;_ASSERTE;NO_STRICT;_RTLDLL
|
||||
INCLUDEPATH = ..\examples;$(BCB)\include
|
||||
LIBPATH = ..\examples;$(BCB)\lib;$(RELEASELIBPATH)
|
||||
WARNINGS= -w-par -w-8027 -w-8026
|
||||
# ---------------------------------------------------------------------------
|
||||
CFLAG1 = -O2 -X- -a8 -b -k- -vi -q -tWM -I..\lib -c
|
||||
IDLCFLAGS = -I$(BCB)\include
|
||||
PFLAGS = -N2Release\obj\examples -N0Release\obj\examples -$Y- -$L- -$D-
|
||||
RFLAGS = /l 0x409 /d "NDEBUG" /i$(BCB)\include
|
||||
AFLAGS = /mx /w2 /zn
|
||||
LFLAGS = -IRelease\obj\examples -D"" -ap -Tpe -x -Gn -q
|
||||
# ---------------------------------------------------------------------------
|
||||
ALLOBJ = c0x32.obj $(OBJFILES)
|
||||
ALLRES = $(RESFILES)
|
||||
ALLLIB = $(LIBFILES) $(LIBRARIES) import32.lib cw32mti.lib
|
||||
# ---------------------------------------------------------------------------
|
||||
!ifdef IDEOPTIONS
|
||||
|
||||
[Version Info]
|
||||
IncludeVerInfo=0
|
||||
AutoIncBuild=0
|
||||
MajorVer=1
|
||||
MinorVer=0
|
||||
Release=0
|
||||
Build=0
|
||||
Debug=0
|
||||
PreRelease=0
|
||||
Special=0
|
||||
Private=0
|
||||
DLL=0
|
||||
|
||||
[Version Info Keys]
|
||||
CompanyName=
|
||||
FileDescription=
|
||||
FileVersion=1.0.0.0
|
||||
InternalName=
|
||||
LegalCopyright=
|
||||
LegalTrademarks=
|
||||
OriginalFilename=
|
||||
ProductName=
|
||||
ProductVersion=1.0.0.0
|
||||
Comments=
|
||||
|
||||
[Debugging]
|
||||
DebugSourceDirs=$(BCB)\source\vcl
|
||||
|
||||
!endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# MAKE SECTION
|
||||
# ---------------------------------------------------------------------------
|
||||
# This section of the project file is not used by the BCB IDE. It is for
|
||||
# the benefit of building from the command-line using the MAKE utility.
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
.autodepend
|
||||
# ---------------------------------------------------------------------------
|
||||
!if "$(USERDEFINES)" != ""
|
||||
AUSERDEFINES = -d$(USERDEFINES:;= -d)
|
||||
!else
|
||||
AUSERDEFINES =
|
||||
!endif
|
||||
|
||||
!if !$d(BCC32)
|
||||
BCC32 = bcc32
|
||||
!endif
|
||||
|
||||
!if !$d(CPP32)
|
||||
CPP32 = cpp32
|
||||
!endif
|
||||
|
||||
!if !$d(DCC32)
|
||||
DCC32 = dcc32
|
||||
!endif
|
||||
|
||||
!if !$d(TASM32)
|
||||
TASM32 = tasm32
|
||||
!endif
|
||||
|
||||
!if !$d(LINKER)
|
||||
LINKER = ilink32
|
||||
!endif
|
||||
|
||||
!if !$d(BRCC32)
|
||||
BRCC32 = brcc32
|
||||
!endif
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
!if $d(PATHCPP)
|
||||
.PATH.CPP = $(PATHCPP)
|
||||
.PATH.C = $(PATHCPP)
|
||||
!endif
|
||||
|
||||
!if $d(PATHPAS)
|
||||
.PATH.PAS = $(PATHPAS)
|
||||
!endif
|
||||
|
||||
!if $d(PATHASM)
|
||||
.PATH.ASM = $(PATHASM)
|
||||
!endif
|
||||
|
||||
!if $d(PATHRC)
|
||||
.PATH.RC = $(PATHRC)
|
||||
!endif
|
||||
# ---------------------------------------------------------------------------
|
||||
$(PROJECT): $(IDLGENFILES) $(OBJFILES) $(RESDEPEN) $(DEFFILE)
|
||||
$(BCB)\BIN\$(LINKER) @&&!
|
||||
$(LFLAGS) -L$(LIBPATH) +
|
||||
$(ALLOBJ), +
|
||||
$(PROJECT),, +
|
||||
$(ALLLIB), +
|
||||
$(DEFFILE), +
|
||||
$(ALLRES)
|
||||
!
|
||||
# ---------------------------------------------------------------------------
|
||||
.pas.hpp:
|
||||
$(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< }
|
||||
|
||||
.pas.obj:
|
||||
$(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< }
|
||||
|
||||
.cpp.obj:
|
||||
$(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< }
|
||||
|
||||
.c.obj:
|
||||
$(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< }
|
||||
|
||||
.c.i:
|
||||
$(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< }
|
||||
|
||||
.cpp.i:
|
||||
$(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< }
|
||||
|
||||
.asm.obj:
|
||||
$(BCB)\BIN\$(TASM32) $(AFLAGS) -i$(INCLUDEPATH:;= -i) $(AUSERDEFINES) -d$(SYSDEFINES:;= -d) $<, $@
|
||||
|
||||
.rc.res:
|
||||
$(BCB)\BIN\$(BRCC32) $(RFLAGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -fo$@ $<
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
REM CommandInterpreter: $(COMSPEC)
|
||||
if not exist .\release\nul mkdir release
|
||||
if not exist .\release\obj\nul mkdir release\obj
|
||||
if not exist .\release\obj\libexpat\nul mkdir release\obj\libexpat
|
||||
if not exist .\release\obj\libexpatw\nul mkdir release\obj\libexpatw
|
||||
if not exist .\release\obj\libexpat_static\nul mkdir release\obj\libexpat_static
|
||||
if not exist .\release\obj\libexpatw_static\nul mkdir release\obj\libexpatw_static
|
||||
if not exist .\release\obj\examples\nul mkdir release\obj\examples
|
||||
if not exist .\release\obj\xmlwf\nul mkdir release\obj\xmlwf
|
||||
@@ -0,0 +1,7 @@
|
||||
USEUNIT("..\xmlwf\codepage.c");
|
||||
USEUNIT("..\xmlwf\win32filemap.c");
|
||||
USEUNIT("..\xmlwf\xmlfile.c");
|
||||
USEUNIT("..\xmlwf\xmlwf.c");
|
||||
USELIB("Release\libexpat_mtd.lib");
|
||||
//---------------------------------------------------------------------------
|
||||
main
|
||||
@@ -0,0 +1,136 @@
|
||||
<?xml version='1.0' encoding='utf-8' ?>
|
||||
<!-- C++Builder XML Project -->
|
||||
<PROJECT>
|
||||
<MACROS>
|
||||
<VERSION value="BCB.05.03"/>
|
||||
<PROJECT value="Release\xmlwf.exe"/>
|
||||
<OBJFILES value="Release\obj\xmlwf\codepage.obj Release\obj\xmlwf\win32filemap.obj
|
||||
Release\obj\xmlwf\xmlfile.obj Release\obj\xmlwf\xmlwf.obj"/>
|
||||
<RESFILES value=""/>
|
||||
<IDLFILES value=""/>
|
||||
<IDLGENFILES value=""/>
|
||||
<DEFFILE value=""/>
|
||||
<RESDEPEN value="$(RESFILES)"/>
|
||||
<LIBFILES value="Release\libexpat_mtd.lib"/>
|
||||
<LIBRARIES value=""/>
|
||||
<SPARELIBS value=""/>
|
||||
<PACKAGES value="VCL50.bpi VCLX50.bpi bcbsmp50.bpi QRPT50.bpi VCLDB50.bpi VCLBDE50.bpi
|
||||
ibsmp50.bpi VCLDBX50.bpi TEEUI50.bpi TEEDB50.bpi TEE50.bpi TEEQR50.bpi
|
||||
VCLIB50.bpi bcbie50.bpi VCLIE50.bpi INETDB50.bpi INET50.bpi NMFAST50.bpi
|
||||
dclocx50.bpi bcb2kaxserver50.bpi dclusr50.bpi"/>
|
||||
<PATHCPP value=".;..\xmlwf"/>
|
||||
<PATHPAS value=".;"/>
|
||||
<PATHRC value=".;"/>
|
||||
<PATHASM value=".;"/>
|
||||
<DEBUGLIBPATH value="$(BCB)\lib\debug"/>
|
||||
<RELEASELIBPATH value="$(BCB)\lib\release"/>
|
||||
<LINKER value="ilink32"/>
|
||||
<USERDEFINES value="NDEBUG;WIN32;_CONSOLE;COMPILED_FROM_DSP"/>
|
||||
<SYSDEFINES value="_NO_VCL;_ASSERTE;NO_STRICT;_RTLDLL"/>
|
||||
<MAINSOURCE value="xmlwf.bpf"/>
|
||||
<INCLUDEPATH value="..\xmlwf;$(BCB)\include"/>
|
||||
<LIBPATH value="..\xmlwf;$(BCB)\lib;$(RELEASELIBPATH)"/>
|
||||
<WARNINGS value="-w-8065 -w-par -w-8027 -w-8026"/>
|
||||
</MACROS>
|
||||
<OPTIONS>
|
||||
<IDLCFLAGS value="-I$(BCB)\include"/>
|
||||
<CFLAG1 value="-O2 -X- -a8 -b -k- -vi -q -tWM -I..\lib -c"/>
|
||||
<PFLAGS value="-N2Release\obj\xmlwf -N0Release\obj\xmlwf -$Y- -$L- -$D-"/>
|
||||
<RFLAGS value="/l 0x409 /d "NDEBUG" /i$(BCB)\include"/>
|
||||
<AFLAGS value="/mx /w2 /zn"/>
|
||||
<LFLAGS value="-IRelease\obj\xmlwf -D"" -ap -Tpe -x -Gn -q"/>
|
||||
</OPTIONS>
|
||||
<LINKER>
|
||||
<ALLOBJ value="c0x32.obj $(OBJFILES)"/>
|
||||
<ALLRES value="$(RESFILES)"/>
|
||||
<ALLLIB value="$(LIBFILES) $(LIBRARIES) import32.lib cw32mti.lib"/>
|
||||
</LINKER>
|
||||
<IDEOPTIONS>
|
||||
[Version Info]
|
||||
IncludeVerInfo=0
|
||||
AutoIncBuild=0
|
||||
MajorVer=1
|
||||
MinorVer=0
|
||||
Release=0
|
||||
Build=0
|
||||
Debug=0
|
||||
PreRelease=0
|
||||
Special=0
|
||||
Private=0
|
||||
DLL=0
|
||||
Locale=1033
|
||||
CodePage=1252
|
||||
|
||||
[Version Info Keys]
|
||||
CompanyName=
|
||||
FileDescription=
|
||||
FileVersion=1.0.0.0
|
||||
InternalName=
|
||||
LegalCopyright=
|
||||
LegalTrademarks=
|
||||
OriginalFilename=
|
||||
ProductName=
|
||||
ProductVersion=1.0.0.0
|
||||
Comments=
|
||||
|
||||
[HistoryLists\hlIncludePath]
|
||||
Count=4
|
||||
Item0=..\xmlwf;$(BCB)\include
|
||||
Item1=$(BCB)\include
|
||||
Item2=$(BCB)\include;$(BCB)\include\mfc;$(BCB)\include\atl
|
||||
Item3=$(BCB)\include;$(BCB)\include\mfc;$(BCB)\include\atl;
|
||||
|
||||
[HistoryLists\hlLibraryPath]
|
||||
Count=5
|
||||
Item0=..\xmlwf;$(BCB)\lib;$(RELEASELIBPATH)
|
||||
Item1=..\xmlwf;$(BCB)\lib;..\xmlwf\$(RELEASELIBPATH)
|
||||
Item2=$(BCB)\lib;$(RELEASELIBPATH)
|
||||
Item3=$(BCB)\lib;$(RELEASELIBPATH);$(BCB)\lib\psdk
|
||||
Item4=$(BCB)\lib;$(RELEASELIBPATH);;$(BCB)\lib\psdk;
|
||||
|
||||
[HistoryLists\hlDebugSourcePath]
|
||||
Count=1
|
||||
Item0=$(BCB)\source\vcl
|
||||
|
||||
[HistoryLists\hlConditionals]
|
||||
Count=6
|
||||
Item0=NDEBUG;WIN32;_CONSOLE;COMPILED_FROM_DSP
|
||||
Item1=NDEBUG;WIN32;_CONSOLE;COMPILED_FROM_DSP;_DEBUG;XML_UNICODE_WCHAR_T;_UNICODE
|
||||
Item2=NDEBUG;WIN32;_CONSOLE;COMPILED_FROM_DSP;_DEBUG;XML_UNICODE_WCHAR_T
|
||||
Item3=NDEBUG;WIN32;_CONSOLE;COMPILED_FROM_DSP;_DEBUG
|
||||
Item4=NDEBUG;WIN32;_CONSOLE;COMPILED_FROM_DSP;_DEBUG;_UNICODE;XML_UNICODE_WCHAR_T
|
||||
Item5=NDEBUG;WIN32;_CONSOLE;COMPILED_FROM_DSP;_DEBUG;_UNICODE
|
||||
|
||||
[HistoryLists\hlIntOutputDir]
|
||||
Count=3
|
||||
Item0=Release\obj\xmlwf
|
||||
Item1=..\xmlwf\Release
|
||||
Item2=Release
|
||||
|
||||
[HistoryLists\hlFinalOutputDir]
|
||||
Count=3
|
||||
Item0=Release\
|
||||
Item1=Release
|
||||
Item2=.\Release\
|
||||
|
||||
[Debugging]
|
||||
DebugSourceDirs=
|
||||
|
||||
[Parameters]
|
||||
RunParams=sample.xml
|
||||
HostApplication=
|
||||
RemoteHost=
|
||||
RemotePath=
|
||||
RemoteDebug=0
|
||||
|
||||
[Compiler]
|
||||
ShowInfoMsgs=0
|
||||
LinkDebugVcl=0
|
||||
LinkCGLIB=0
|
||||
|
||||
[Language]
|
||||
ActiveLang=
|
||||
ProjectLang=
|
||||
RootDir=
|
||||
</IDEOPTIONS>
|
||||
</PROJECT>@
|
||||
@@ -0,0 +1,187 @@
|
||||
# ---------------------------------------------------------------------------
|
||||
!if !$d(BCB)
|
||||
BCB = $(MAKEDIR)\..
|
||||
!endif
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# IDE SECTION
|
||||
# ---------------------------------------------------------------------------
|
||||
# The following section of the project makefile is managed by the BCB IDE.
|
||||
# It is recommended to use the IDE to change any of the values in this
|
||||
# section.
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
VERSION = BCB.05.03
|
||||
# ---------------------------------------------------------------------------
|
||||
PROJECT = Release\xmlwf.exe
|
||||
OBJFILES = Release\obj\xmlwf\codepage.obj Release\obj\xmlwf\win32filemap.obj \
|
||||
Release\obj\xmlwf\xmlfile.obj Release\obj\xmlwf\xmlwf.obj
|
||||
RESFILES =
|
||||
MAINSOURCE = xmlwf.bpf
|
||||
RESDEPEN = $(RESFILES)
|
||||
LIBFILES = Release\libexpat_mtd.lib
|
||||
IDLFILES =
|
||||
IDLGENFILES =
|
||||
LIBRARIES =
|
||||
PACKAGES = VCL50.bpi VCLX50.bpi bcbsmp50.bpi QRPT50.bpi VCLDB50.bpi VCLBDE50.bpi \
|
||||
ibsmp50.bpi VCLDBX50.bpi TEEUI50.bpi TEEDB50.bpi TEE50.bpi TEEQR50.bpi \
|
||||
VCLIB50.bpi bcbie50.bpi VCLIE50.bpi INETDB50.bpi INET50.bpi NMFAST50.bpi \
|
||||
dclocx50.bpi bcb2kaxserver50.bpi dclusr50.bpi
|
||||
SPARELIBS =
|
||||
DEFFILE =
|
||||
# ---------------------------------------------------------------------------
|
||||
PATHCPP = .;..\xmlwf
|
||||
PATHASM = .;
|
||||
PATHPAS = .;
|
||||
PATHRC = .;
|
||||
DEBUGLIBPATH = $(BCB)\lib\debug
|
||||
RELEASELIBPATH = $(BCB)\lib\release
|
||||
USERDEFINES = NDEBUG;WIN32;_CONSOLE;COMPILED_FROM_DSP
|
||||
SYSDEFINES = _NO_VCL;_ASSERTE;NO_STRICT;_RTLDLL
|
||||
INCLUDEPATH = ..\xmlwf;$(BCB)\include
|
||||
LIBPATH = ..\xmlwf;$(BCB)\lib;$(RELEASELIBPATH)
|
||||
WARNINGS= -w-8065 -w-par -w-8027 -w-8026
|
||||
# ---------------------------------------------------------------------------
|
||||
CFLAG1 = -O2 -X- -a8 -b -k- -vi -q -tWM -I..\lib -c
|
||||
IDLCFLAGS = -I$(BCB)\include
|
||||
PFLAGS = -N2Release\obj\xmlwf -N0Release\obj\xmlwf -$Y- -$L- -$D-
|
||||
RFLAGS = /l 0x409 /d "NDEBUG" /i$(BCB)\include
|
||||
AFLAGS = /mx /w2 /zn
|
||||
LFLAGS = -IRelease\obj\xmlwf -D"" -ap -Tpe -x -Gn -q
|
||||
# ---------------------------------------------------------------------------
|
||||
ALLOBJ = c0x32.obj $(OBJFILES)
|
||||
ALLRES = $(RESFILES)
|
||||
ALLLIB = $(LIBFILES) $(LIBRARIES) import32.lib cw32mti.lib
|
||||
# ---------------------------------------------------------------------------
|
||||
!ifdef IDEOPTIONS
|
||||
|
||||
[Version Info]
|
||||
IncludeVerInfo=0
|
||||
AutoIncBuild=0
|
||||
MajorVer=1
|
||||
MinorVer=0
|
||||
Release=0
|
||||
Build=0
|
||||
Debug=0
|
||||
PreRelease=0
|
||||
Special=0
|
||||
Private=0
|
||||
DLL=0
|
||||
|
||||
[Version Info Keys]
|
||||
CompanyName=
|
||||
FileDescription=
|
||||
FileVersion=1.0.0.0
|
||||
InternalName=
|
||||
LegalCopyright=
|
||||
LegalTrademarks=
|
||||
OriginalFilename=
|
||||
ProductName=
|
||||
ProductVersion=1.0.0.0
|
||||
Comments=
|
||||
|
||||
[Debugging]
|
||||
DebugSourceDirs=$(BCB)\source\vcl
|
||||
|
||||
!endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# MAKE SECTION
|
||||
# ---------------------------------------------------------------------------
|
||||
# This section of the project file is not used by the BCB IDE. It is for
|
||||
# the benefit of building from the command-line using the MAKE utility.
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
.autodepend
|
||||
# ---------------------------------------------------------------------------
|
||||
!if "$(USERDEFINES)" != ""
|
||||
AUSERDEFINES = -d$(USERDEFINES:;= -d)
|
||||
!else
|
||||
AUSERDEFINES =
|
||||
!endif
|
||||
|
||||
!if !$d(BCC32)
|
||||
BCC32 = bcc32
|
||||
!endif
|
||||
|
||||
!if !$d(CPP32)
|
||||
CPP32 = cpp32
|
||||
!endif
|
||||
|
||||
!if !$d(DCC32)
|
||||
DCC32 = dcc32
|
||||
!endif
|
||||
|
||||
!if !$d(TASM32)
|
||||
TASM32 = tasm32
|
||||
!endif
|
||||
|
||||
!if !$d(LINKER)
|
||||
LINKER = ilink32
|
||||
!endif
|
||||
|
||||
!if !$d(BRCC32)
|
||||
BRCC32 = brcc32
|
||||
!endif
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
!if $d(PATHCPP)
|
||||
.PATH.CPP = $(PATHCPP)
|
||||
.PATH.C = $(PATHCPP)
|
||||
!endif
|
||||
|
||||
!if $d(PATHPAS)
|
||||
.PATH.PAS = $(PATHPAS)
|
||||
!endif
|
||||
|
||||
!if $d(PATHASM)
|
||||
.PATH.ASM = $(PATHASM)
|
||||
!endif
|
||||
|
||||
!if $d(PATHRC)
|
||||
.PATH.RC = $(PATHRC)
|
||||
!endif
|
||||
# ---------------------------------------------------------------------------
|
||||
$(PROJECT): $(IDLGENFILES) $(OBJFILES) $(RESDEPEN) $(DEFFILE)
|
||||
$(BCB)\BIN\$(LINKER) @&&!
|
||||
$(LFLAGS) -L$(LIBPATH) +
|
||||
$(ALLOBJ), +
|
||||
$(PROJECT),, +
|
||||
$(ALLLIB), +
|
||||
$(DEFFILE), +
|
||||
$(ALLRES)
|
||||
!
|
||||
# ---------------------------------------------------------------------------
|
||||
.pas.hpp:
|
||||
$(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< }
|
||||
|
||||
.pas.obj:
|
||||
$(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< }
|
||||
|
||||
.cpp.obj:
|
||||
$(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< }
|
||||
|
||||
.c.obj:
|
||||
$(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< }
|
||||
|
||||
.c.i:
|
||||
$(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< }
|
||||
|
||||
.cpp.i:
|
||||
$(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< }
|
||||
|
||||
.asm.obj:
|
||||
$(BCB)\BIN\$(TASM32) $(AFLAGS) -i$(INCLUDEPATH:;= -i) $(AUSERDEFINES) -d$(SYSDEFINES:;= -d) $<, $@
|
||||
|
||||
.rc.res:
|
||||
$(BCB)\BIN\$(BRCC32) $(RFLAGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -fo$@ $<
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
|
||||
Executable
+26
@@ -0,0 +1,26 @@
|
||||
#! /bin/sh
|
||||
|
||||
#--------------------------------------------------------------------------
|
||||
# autoconf 2.58 or newer
|
||||
#
|
||||
ac_version="`${AUTOCONF:-autoconf} --version 2> /dev/null | head -1 | sed -e 's/^[^0-9]*//' -e 's/[a-z]* *$//'`"
|
||||
if test -z "$ac_version"; then
|
||||
echo "ERROR: autoconf not found."
|
||||
echo " You need autoconf version 2.58 or newer installed."
|
||||
exit 1
|
||||
fi
|
||||
IFS=.; set $ac_version; IFS=' '
|
||||
if test "$1" = "2" -a "$2" -lt "58" || test "$1" -lt "2"; then
|
||||
echo "ERROR: autoconf version $ac_version found."
|
||||
echo " You need autoconf version 2.58 or newer installed."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "Creating configure ..."
|
||||
${AUTOCONF:-autoreconf} -fvi
|
||||
|
||||
# toss this; it gets created by autoconf on some systems
|
||||
rm -rf autom4te*.cache
|
||||
|
||||
# exit with the right value, so any calling script can continue
|
||||
exit 0
|
||||
@@ -0,0 +1,155 @@
|
||||
dnl configuration script for expat
|
||||
dnl Process this file with autoconf to produce a configure script.
|
||||
dnl
|
||||
dnl Copyright 2000 Clark Cooper
|
||||
dnl
|
||||
dnl This file is part of EXPAT.
|
||||
dnl
|
||||
dnl EXPAT is free software; you can redistribute it and/or modify it
|
||||
dnl under the terms of the License (based on the MIT/X license) contained
|
||||
dnl in the file COPYING that comes with this distribution.
|
||||
dnl
|
||||
|
||||
dnl Ensure that Expat is configured with autoconf 2.58 or newer
|
||||
AC_PREREQ(2.58)
|
||||
|
||||
dnl Get the version number of Expat, using m4's esyscmd() command to run
|
||||
dnl the command at m4-generation time. This allows us to create an m4
|
||||
dnl symbol holding the correct version number. AC_INIT() requires the
|
||||
dnl version number at m4-time, rather than when ./configure is run, so
|
||||
dnl all this must happen as part of m4, not as part of the shell code
|
||||
dnl contained in ./configure.
|
||||
dnl
|
||||
dnl NOTE: esyscmd() is a GNU M4 extension. Thus, we wrap it in an appropriate
|
||||
dnl test. I believe this test will work, but I don't have a place with non-
|
||||
dnl GNU M4 to test it right now.
|
||||
define([expat_version], ifdef([__gnu__],
|
||||
[esyscmd(conftools/get-version.sh lib/expat.h)],
|
||||
[2.1.x]))
|
||||
AC_INIT(expat, expat_version, expat-bugs@libexpat.org)
|
||||
undefine([expat_version])
|
||||
|
||||
AC_CONFIG_SRCDIR(Makefile.in)
|
||||
AC_CONFIG_AUX_DIR(conftools)
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
|
||||
|
||||
dnl
|
||||
dnl Increment LIBREVISION if source code has changed at all
|
||||
dnl
|
||||
dnl If the API has changed, increment LIBCURRENT and set LIBREVISION to 0
|
||||
dnl
|
||||
dnl If the API changes compatibly (i.e. simply adding a new function
|
||||
dnl without changing or removing earlier interfaces), then increment LIBAGE.
|
||||
dnl
|
||||
dnl If the API changes incompatibly set LIBAGE back to 0
|
||||
dnl
|
||||
|
||||
LIBCURRENT=7
|
||||
LIBREVISION=0
|
||||
LIBAGE=6
|
||||
|
||||
AC_CONFIG_HEADER(expat_config.h)
|
||||
|
||||
sinclude(conftools/ac_c_bigendian_cross.m4)
|
||||
|
||||
AC_LIBTOOL_WIN32_DLL
|
||||
AC_PROG_LIBTOOL
|
||||
|
||||
AC_SUBST(LIBCURRENT)
|
||||
AC_SUBST(LIBREVISION)
|
||||
AC_SUBST(LIBAGE)
|
||||
|
||||
dnl Checks for programs.
|
||||
AC_PROG_CC
|
||||
AC_PROG_CXX
|
||||
AC_PROG_INSTALL
|
||||
|
||||
if test "$GCC" = yes ; then
|
||||
dnl
|
||||
dnl Be careful about adding the -fexceptions option; some versions of
|
||||
dnl GCC don't support it and it causes extra warnings that are only
|
||||
dnl distracting; avoid.
|
||||
dnl
|
||||
OLDCFLAGS="$CFLAGS -Wall -Wmissing-prototypes -Wstrict-prototypes"
|
||||
CFLAGS="$OLDCFLAGS -fexceptions"
|
||||
AC_MSG_CHECKING(whether $CC accepts -fexceptions)
|
||||
AC_TRY_LINK( , ,
|
||||
AC_MSG_RESULT(yes),
|
||||
AC_MSG_RESULT(no); CFLAGS="$OLDCFLAGS")
|
||||
CXXFLAGS=`echo "$CFLAGS" | sed 's/ -Wmissing-prototypes -Wstrict-prototypes//'`
|
||||
fi
|
||||
|
||||
dnl Checks for header files.
|
||||
AC_HEADER_STDC
|
||||
|
||||
dnl Checks for typedefs, structures, and compiler characteristics.
|
||||
|
||||
dnl Note: Avoid using AC_C_BIGENDIAN because it does not
|
||||
dnl work in a cross compile.
|
||||
AC_C_BIGENDIAN_CROSS
|
||||
|
||||
AC_C_CONST
|
||||
AC_TYPE_SIZE_T
|
||||
AC_CHECK_FUNCS(memmove bcopy)
|
||||
|
||||
dnl Only needed for xmlwf:
|
||||
AC_CHECK_HEADERS(fcntl.h unistd.h)
|
||||
AC_TYPE_OFF_T
|
||||
AC_FUNC_MMAP
|
||||
|
||||
if test "$ac_cv_func_mmap_fixed_mapped" = "yes"; then
|
||||
FILEMAP=unixfilemap
|
||||
else
|
||||
FILEMAP=readfilemap
|
||||
fi
|
||||
AC_SUBST(FILEMAP)
|
||||
|
||||
dnl Needed for the test support code; this was found at
|
||||
dnl http://lists.gnu.org/archive/html/bug-autoconf/2002-07/msg00028.html
|
||||
|
||||
# AC_CPP_FUNC
|
||||
# ------------------ #
|
||||
# Checks to see if ANSI C99 CPP variable __func__ works.
|
||||
# If not, perhaps __FUNCTION__ works instead.
|
||||
# If not, we'll just define __func__ to "".
|
||||
AC_DEFUN([AC_CPP_FUNC],
|
||||
[AC_REQUIRE([AC_PROG_CC_STDC])dnl
|
||||
AC_CACHE_CHECK([for an ANSI C99-conforming __func__], ac_cv_cpp_func,
|
||||
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],
|
||||
[[char *foo = __func__;]])],
|
||||
[ac_cv_cpp_func=yes],
|
||||
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],
|
||||
[[char *foo = __FUNCTION__;]])],
|
||||
[ac_cv_cpp_func=__FUNCTION__],
|
||||
[ac_cv_cpp_func=no])])])
|
||||
if test $ac_cv_cpp_func = __FUNCTION__; then
|
||||
AC_DEFINE(__func__,__FUNCTION__,
|
||||
[Define to __FUNCTION__ or "" if `__func__' does not conform to
|
||||
ANSI C.])
|
||||
elif test $ac_cv_cpp_func = no; then
|
||||
AC_DEFINE(__func__,"",
|
||||
[Define to __FUNCTION__ or "" if `__func__' does not conform to
|
||||
ANSI C.])
|
||||
fi
|
||||
])# AC_CPP_FUNC
|
||||
|
||||
AC_CPP_FUNC
|
||||
|
||||
|
||||
dnl Some basic configuration:
|
||||
AC_DEFINE([XML_NS], 1,
|
||||
[Define to make XML Namespaces functionality available.])
|
||||
AC_DEFINE([XML_DTD], 1,
|
||||
[Define to make parameter entity parsing functionality available.])
|
||||
AC_DEFINE([XML_CONTEXT_BYTES], 1024,
|
||||
[Define to specify how much context to retain around the current parse point.])
|
||||
|
||||
AC_CONFIG_FILES([Makefile expat.pc])
|
||||
AC_OUTPUT
|
||||
|
||||
abs_srcdir="`cd $srcdir && pwd`"
|
||||
abs_builddir="`pwd`"
|
||||
if test "$abs_srcdir" != "$abs_builddir"; then
|
||||
make mkdir-init
|
||||
fi
|
||||
@@ -0,0 +1,3 @@
|
||||
libtool.m4
|
||||
ltconfig
|
||||
ltmain.sh
|
||||
Executable
+116
@@ -0,0 +1,116 @@
|
||||
#!/bin/sh
|
||||
# Look for program[s] somewhere in $PATH.
|
||||
#
|
||||
# Options:
|
||||
# -s
|
||||
# Do not print out full pathname. (silent)
|
||||
# -pPATHNAME
|
||||
# Look in PATHNAME instead of $PATH
|
||||
#
|
||||
# Usage:
|
||||
# PrintPath [-s] [-pPATHNAME] program [program ...]
|
||||
#
|
||||
# Initially written by Jim Jagielski for the Apache configuration mechanism
|
||||
# (with kudos to Kernighan/Pike)
|
||||
#
|
||||
# This script falls under the Apache License.
|
||||
# See http://www.apache.org/licenses/LICENSE
|
||||
|
||||
##
|
||||
# Some "constants"
|
||||
##
|
||||
pathname=$PATH
|
||||
echo="yes"
|
||||
|
||||
##
|
||||
# Find out what OS we are running for later on
|
||||
##
|
||||
os=`(uname) 2>/dev/null`
|
||||
|
||||
##
|
||||
# Parse command line
|
||||
##
|
||||
for args in $*
|
||||
do
|
||||
case $args in
|
||||
-s ) echo="no" ;;
|
||||
-p* ) pathname="`echo $args | sed 's/^..//'`" ;;
|
||||
* ) programs="$programs $args" ;;
|
||||
esac
|
||||
done
|
||||
|
||||
##
|
||||
# Now we make the adjustments required for OS/2 and everyone
|
||||
# else :)
|
||||
#
|
||||
# First of all, all OS/2 programs have the '.exe' extension.
|
||||
# Next, we adjust PATH (or what was given to us as PATH) to
|
||||
# be whitespace separated directories.
|
||||
# Finally, we try to determine the best flag to use for
|
||||
# test/[] to look for an executable file. OS/2 just has '-r'
|
||||
# but with other OSs, we do some funny stuff to check to see
|
||||
# if test/[] knows about -x, which is the preferred flag.
|
||||
##
|
||||
|
||||
if [ "x$os" = "xOS/2" ]
|
||||
then
|
||||
ext=".exe"
|
||||
pathname=`echo -E $pathname |
|
||||
sed 's/^;/.;/
|
||||
s/;;/;.;/g
|
||||
s/;$/;./
|
||||
s/;/ /g
|
||||
s/\\\\/\\//g' `
|
||||
test_exec_flag="-r"
|
||||
else
|
||||
ext="" # No default extensions
|
||||
pathname=`echo $pathname |
|
||||
sed 's/^:/.:/
|
||||
s/::/:.:/g
|
||||
s/:$/:./
|
||||
s/:/ /g' `
|
||||
# Here is how we test to see if test/[] can handle -x
|
||||
testfile="pp.t.$$"
|
||||
|
||||
cat > $testfile <<ENDTEST
|
||||
#!/bin/sh
|
||||
if [ -x / ] || [ -x /bin ] || [ -x /bin/ls ]; then
|
||||
exit 0
|
||||
fi
|
||||
exit 1
|
||||
ENDTEST
|
||||
|
||||
if `/bin/sh $testfile 2>/dev/null`; then
|
||||
test_exec_flag="-x"
|
||||
else
|
||||
test_exec_flag="-r"
|
||||
fi
|
||||
rm -f $testfile
|
||||
fi
|
||||
|
||||
for program in $programs
|
||||
do
|
||||
for path in $pathname
|
||||
do
|
||||
if [ $test_exec_flag $path/${program}${ext} ] && \
|
||||
[ ! -d $path/${program}${ext} ]; then
|
||||
if [ "x$echo" = "xyes" ]; then
|
||||
echo $path/${program}${ext}
|
||||
fi
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Next try without extension (if one was used above)
|
||||
if [ "x$ext" != "x" ]; then
|
||||
if [ $test_exec_flag $path/${program} ] && \
|
||||
[ ! -d $path/${program} ]; then
|
||||
if [ "x$echo" = "xyes" ]; then
|
||||
echo $path/${program}
|
||||
fi
|
||||
exit 0
|
||||
fi
|
||||
fi
|
||||
done
|
||||
done
|
||||
exit 1
|
||||
|
||||
@@ -0,0 +1,81 @@
|
||||
dnl @synopsis AC_C_BIGENDIAN_CROSS
|
||||
dnl
|
||||
dnl Check endianess even when crosscompiling
|
||||
dnl (partially based on the original AC_C_BIGENDIAN).
|
||||
dnl
|
||||
dnl The implementation will create a binary, and instead of running
|
||||
dnl the binary it will be grep'ed for some symbols that will look
|
||||
dnl different for different endianess of the binary.
|
||||
dnl
|
||||
dnl @version $Id: ac_c_bigendian_cross.m4,v 1.1 2001/07/24 19:51:35 fdrake Exp $
|
||||
dnl @author Guido Draheim <guidod@gmx.de>
|
||||
dnl
|
||||
AC_DEFUN([AC_C_BIGENDIAN_CROSS],
|
||||
[AC_CACHE_CHECK(whether byte ordering is bigendian, ac_cv_c_bigendian,
|
||||
[ac_cv_c_bigendian=unknown
|
||||
# See if sys/param.h defines the BYTE_ORDER macro.
|
||||
AC_TRY_COMPILE([#include <sys/types.h>
|
||||
#include <sys/param.h>], [
|
||||
#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
|
||||
bogus endian macros
|
||||
#endif], [# It does; now see whether it defined to BIG_ENDIAN or not.
|
||||
AC_TRY_COMPILE([#include <sys/types.h>
|
||||
#include <sys/param.h>], [
|
||||
#if BYTE_ORDER != BIG_ENDIAN
|
||||
not big endian
|
||||
#endif], ac_cv_c_bigendian=yes, ac_cv_c_bigendian=no)])
|
||||
if test $ac_cv_c_bigendian = unknown; then
|
||||
AC_TRY_RUN([main () {
|
||||
/* Are we little or big endian? From Harbison&Steele. */
|
||||
union
|
||||
{
|
||||
long l;
|
||||
char c[sizeof (long)];
|
||||
} u;
|
||||
u.l = 1;
|
||||
exit (u.c[sizeof (long) - 1] == 1);
|
||||
}], ac_cv_c_bigendian=no, ac_cv_c_bigendian=yes,
|
||||
[ echo $ac_n "cross-compiling... " 2>&AC_FD_MSG ])
|
||||
fi])
|
||||
if test $ac_cv_c_bigendian = unknown; then
|
||||
AC_MSG_CHECKING(to probe for byte ordering)
|
||||
[
|
||||
cat >conftest.c <<EOF
|
||||
short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
|
||||
short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
|
||||
void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
|
||||
short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
|
||||
short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
|
||||
void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
|
||||
int main() { _ascii (); _ebcdic (); return 0; }
|
||||
EOF
|
||||
] if test -f conftest.c ; then
|
||||
if ${CC-cc} -c conftest.c -o conftest.o && test -f conftest.o ; then
|
||||
if test `grep -l BIGenDianSyS conftest.o` ; then
|
||||
echo $ac_n ' big endian probe OK, ' 1>&AC_FD_MSG
|
||||
ac_cv_c_bigendian=yes
|
||||
fi
|
||||
if test `grep -l LiTTleEnDian conftest.o` ; then
|
||||
echo $ac_n ' little endian probe OK, ' 1>&AC_FD_MSG
|
||||
if test $ac_cv_c_bigendian = yes ; then
|
||||
ac_cv_c_bigendian=unknown;
|
||||
else
|
||||
ac_cv_c_bigendian=no
|
||||
fi
|
||||
fi
|
||||
echo $ac_n 'guessing bigendian ... ' >&AC_FD_MSG
|
||||
fi
|
||||
fi
|
||||
AC_MSG_RESULT($ac_cv_c_bigendian)
|
||||
fi
|
||||
if test $ac_cv_c_bigendian = yes; then
|
||||
AC_DEFINE(WORDS_BIGENDIAN, 1, [whether byteorder is bigendian])
|
||||
BYTEORDER=4321
|
||||
else
|
||||
BYTEORDER=1234
|
||||
fi
|
||||
AC_DEFINE_UNQUOTED(BYTEORDER, $BYTEORDER, [1234 = LIL_ENDIAN, 4321 = BIGENDIAN])
|
||||
if test $ac_cv_c_bigendian = unknown; then
|
||||
AC_MSG_ERROR(unknown endianess - sorry, please pre-set ac_cv_c_bigendian)
|
||||
fi
|
||||
])
|
||||
@@ -0,0 +1,43 @@
|
||||
dnl Check if --with-expat[=PREFIX] is specified and
|
||||
dnl Expat >= 1.95.0 is installed in the system.
|
||||
dnl If yes, substitute EXPAT_CFLAGS, EXPAT_LIBS with regard to
|
||||
dnl the specified PREFIX and set with_expat to PREFIX, or 'yes' if PREFIX
|
||||
dnl has not been specified. Also HAVE_LIBEXPAT, HAVE_EXPAT_H are defined.
|
||||
dnl If --with-expat has not been specified, set with_expat to 'no'.
|
||||
dnl In addition, an Automake conditional EXPAT_INSTALLED is set accordingly.
|
||||
dnl This is necessary to adapt a whole lot of packages that have expat
|
||||
dnl bundled as a static library.
|
||||
AC_DEFUN([AM_WITH_EXPAT],
|
||||
[ AC_ARG_WITH(expat,
|
||||
[ --with-expat=PREFIX Use system Expat library],
|
||||
, with_expat=no)
|
||||
|
||||
AM_CONDITIONAL(EXPAT_INSTALLED, test $with_expat != no)
|
||||
|
||||
EXPAT_CFLAGS=
|
||||
EXPAT_LIBS=
|
||||
if test $with_expat != no; then
|
||||
if test $with_expat != yes; then
|
||||
EXPAT_CFLAGS="-I$with_expat/include"
|
||||
EXPAT_LIBS="-L$with_expat/lib"
|
||||
fi
|
||||
AC_CHECK_LIB(expat, XML_ParserCreate,
|
||||
[ EXPAT_LIBS="$EXPAT_LIBS -lexpat"
|
||||
expat_found=yes ],
|
||||
[ expat_found=no ],
|
||||
"$EXPAT_LIBS")
|
||||
if test $expat_found = no; then
|
||||
AC_MSG_ERROR([Could not find the Expat library])
|
||||
fi
|
||||
expat_save_CFLAGS="$CFLAGS"
|
||||
CFLAGS="$CFLAGS $EXPAT_CFLAGS"
|
||||
AC_CHECK_HEADERS(expat.h, , expat_found=no)
|
||||
if test $expat_found = no; then
|
||||
AC_MSG_ERROR([Could not find expat.h])
|
||||
fi
|
||||
CFLAGS="$expat_save_CFLAGS"
|
||||
fi
|
||||
|
||||
AC_SUBST(EXPAT_CFLAGS)
|
||||
AC_SUBST(EXPAT_LIBS)
|
||||
])
|
||||
Executable
+46
@@ -0,0 +1,46 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# USAGE: get-version.sh path/to/expat.h
|
||||
#
|
||||
# This script will print Expat's version number on stdout. For example:
|
||||
#
|
||||
# $ ./conftools/get-version.sh ./lib/expat.h
|
||||
# 1.95.3
|
||||
# $
|
||||
#
|
||||
|
||||
if test $# = 0; then
|
||||
echo "ERROR: pathname for expat.h was not provided."
|
||||
echo ""
|
||||
echo "USAGE: $0 path/to/expat.h"
|
||||
exit 1
|
||||
fi
|
||||
if test $# != 1; then
|
||||
echo "ERROR: too many arguments were provided."
|
||||
echo ""
|
||||
echo "USAGE: $0 path/to/expat.h"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
hdr="$1"
|
||||
if test ! -r "$hdr"; then
|
||||
echo "ERROR: '$hdr' does not exist, or is not readable."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
MAJOR_VERSION="`sed -n -e '/MAJOR_VERSION/s/[^0-9]*//gp' $hdr`"
|
||||
MINOR_VERSION="`sed -n -e '/MINOR_VERSION/s/[^0-9]*//gp' $hdr`"
|
||||
MICRO_VERSION="`sed -n -e '/MICRO_VERSION/s/[^0-9]*//gp' $hdr`"
|
||||
|
||||
# Determine how to tell echo not to print the trailing \n. This is
|
||||
# similar to Autoconf's @ECHO_C@ and @ECHO_N@; however, we don't
|
||||
# generate this file via autoconf (in fact, get-version.sh is used
|
||||
# to *create* ./configure), so we just do something similar inline.
|
||||
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
|
||||
*c*,-n*) ECHO_N= ECHO_C='
|
||||
' ;;
|
||||
*c*,* ) ECHO_N=-n ECHO_C= ;;
|
||||
*) ECHO_N= ECHO_C='\c' ;;
|
||||
esac
|
||||
|
||||
echo $ECHO_N "$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$ECHO_C"
|
||||
Executable
+40
@@ -0,0 +1,40 @@
|
||||
#! /bin/sh
|
||||
# mkinstalldirs --- make directory hierarchy
|
||||
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
|
||||
# Created: 1993-05-16
|
||||
# Public domain
|
||||
|
||||
# $Id: mkinstalldirs,v 1.13 1999/01/05 03:18:55 bje Exp $
|
||||
|
||||
errstatus=0
|
||||
|
||||
for file
|
||||
do
|
||||
set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
|
||||
shift
|
||||
|
||||
pathcomp=
|
||||
for d
|
||||
do
|
||||
pathcomp="$pathcomp$d"
|
||||
case "$pathcomp" in
|
||||
-* ) pathcomp=./$pathcomp ;;
|
||||
esac
|
||||
|
||||
if test ! -d "$pathcomp"; then
|
||||
echo "mkdir $pathcomp"
|
||||
|
||||
mkdir "$pathcomp" || lasterr=$?
|
||||
|
||||
if test ! -d "$pathcomp"; then
|
||||
errstatus=$lasterr
|
||||
fi
|
||||
fi
|
||||
|
||||
pathcomp="$pathcomp/"
|
||||
done
|
||||
done
|
||||
|
||||
exit $errstatus
|
||||
|
||||
# mkinstalldirs ends here
|
||||
@@ -1,5 +0,0 @@
|
||||
@echo off
|
||||
set LIB=..\xmlparse\Release;..\xmltok\Release;..\lib;%LIB%
|
||||
set INCLUDE=..\xmlparse;..\xmltok;%INCLUDE%
|
||||
set CL=/nologo /DXMLTOKAPI=__declspec(dllimport) /DXMLPARSEAPI=__declspec(dllimport) xmlparse.lib xmltok.lib
|
||||
cl /Fe..\bin\demo demo.c
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 1.0 KiB |
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,101 @@
|
||||
body {
|
||||
background-color: white;
|
||||
border: 0px;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
.corner {
|
||||
width: 200px;
|
||||
height: 80px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.banner {
|
||||
background-color: rgb(110,139,61);
|
||||
color: rgb(255,236,176);
|
||||
padding-left: 2em;
|
||||
}
|
||||
|
||||
.banner h1 {
|
||||
font-size: 200%;
|
||||
}
|
||||
|
||||
.content {
|
||||
padding: 0em 2em 1em 2em;
|
||||
}
|
||||
|
||||
.releaseno {
|
||||
background-color: rgb(110,139,61);
|
||||
color: rgb(255,236,176);
|
||||
padding-bottom: 0.3em;
|
||||
padding-top: 0.5em;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.noborder {
|
||||
border-width: 0px;
|
||||
}
|
||||
|
||||
.eg {
|
||||
padding-left: 1em;
|
||||
padding-top: .5em;
|
||||
padding-bottom: .5em;
|
||||
border: solid thin;
|
||||
margin: 1em 0;
|
||||
background-color: tan;
|
||||
margin-left: 2em;
|
||||
margin-right: 10%;
|
||||
}
|
||||
|
||||
.pseudocode {
|
||||
padding-left: 1em;
|
||||
padding-top: .5em;
|
||||
padding-bottom: .5em;
|
||||
border: solid thin;
|
||||
margin: 1em 0;
|
||||
background-color: rgb(250,220,180);
|
||||
margin-left: 2em;
|
||||
margin-right: 10%;
|
||||
}
|
||||
|
||||
.handler {
|
||||
width: 100%;
|
||||
border-top-width: thin;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
.handler p {
|
||||
margin-left: 2em;
|
||||
}
|
||||
|
||||
.setter {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.signature {
|
||||
color: navy;
|
||||
}
|
||||
|
||||
.fcndec {
|
||||
width: 100%;
|
||||
border-top-width: thin;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.fcndef {
|
||||
margin-left: 2em;
|
||||
margin-bottom: 2em;
|
||||
}
|
||||
|
||||
dd {
|
||||
margin-bottom: 2em;
|
||||
}
|
||||
|
||||
.cpp-symbols dt {
|
||||
font-family: monospace;
|
||||
}
|
||||
.cpp-symbols dd {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 2.3 KiB |
@@ -0,0 +1,251 @@
|
||||
.\" This manpage has been automatically generated by docbook2man
|
||||
.\" from a DocBook document. This tool can be found at:
|
||||
.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/>
|
||||
.\" Please send any bug reports, improvements, comments, patches,
|
||||
.\" etc. to Steve Cheng <steve@ggi-project.org>.
|
||||
.TH "XMLWF" "1" "24 January 2003" "" ""
|
||||
.SH NAME
|
||||
xmlwf \- Determines if an XML document is well-formed
|
||||
.SH SYNOPSIS
|
||||
|
||||
\fBxmlwf\fR [ \fB-s\fR] [ \fB-n\fR] [ \fB-p\fR] [ \fB-x\fR] [ \fB-e \fIencoding\fB\fR] [ \fB-w\fR] [ \fB-d \fIoutput-dir\fB\fR] [ \fB-c\fR] [ \fB-m\fR] [ \fB-r\fR] [ \fB-t\fR] [ \fB-v\fR] [ \fBfile ...\fR]
|
||||
|
||||
.SH "DESCRIPTION"
|
||||
.PP
|
||||
\fBxmlwf\fR uses the Expat library to
|
||||
determine if an XML document is well-formed. It is
|
||||
non-validating.
|
||||
.PP
|
||||
If you do not specify any files on the command-line, and you
|
||||
have a recent version of \fBxmlwf\fR, the
|
||||
input file will be read from standard input.
|
||||
.SH "WELL-FORMED DOCUMENTS"
|
||||
.PP
|
||||
A well-formed document must adhere to the
|
||||
following rules:
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
The file begins with an XML declaration. For instance,
|
||||
<?xml version="1.0" standalone="yes"?>.
|
||||
\fBNOTE:\fR
|
||||
\fBxmlwf\fR does not currently
|
||||
check for a valid XML declaration.
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
Every start tag is either empty (<tag/>)
|
||||
or has a corresponding end tag.
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
There is exactly one root element. This element must contain
|
||||
all other elements in the document. Only comments, white
|
||||
space, and processing instructions may come after the close
|
||||
of the root element.
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
All elements nest properly.
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
All attribute values are enclosed in quotes (either single
|
||||
or double).
|
||||
.PP
|
||||
If the document has a DTD, and it strictly complies with that
|
||||
DTD, then the document is also considered \fBvalid\fR.
|
||||
\fBxmlwf\fR is a non-validating parser --
|
||||
it does not check the DTD. However, it does support
|
||||
external entities (see the \fB-x\fR option).
|
||||
.SH "OPTIONS"
|
||||
.PP
|
||||
When an option includes an argument, you may specify the argument either
|
||||
separately ("\fB-d\fR output") or concatenated with the
|
||||
option ("\fB-d\fRoutput"). \fBxmlwf\fR
|
||||
supports both.
|
||||
.TP
|
||||
\fB-c\fR
|
||||
If the input file is well-formed and \fBxmlwf\fR
|
||||
doesn't encounter any errors, the input file is simply copied to
|
||||
the output directory unchanged.
|
||||
This implies no namespaces (turns off \fB-n\fR) and
|
||||
requires \fB-d\fR to specify an output file.
|
||||
.TP
|
||||
\fB-d output-dir\fR
|
||||
Specifies a directory to contain transformed
|
||||
representations of the input files.
|
||||
By default, \fB-d\fR outputs a canonical representation
|
||||
(described below).
|
||||
You can select different output formats using \fB-c\fR
|
||||
and \fB-m\fR.
|
||||
|
||||
The output filenames will
|
||||
be exactly the same as the input filenames or "STDIN" if the input is
|
||||
coming from standard input. Therefore, you must be careful that the
|
||||
output file does not go into the same directory as the input
|
||||
file. Otherwise, \fBxmlwf\fR will delete the
|
||||
input file before it generates the output file (just like running
|
||||
cat < file > file in most shells).
|
||||
|
||||
Two structurally equivalent XML documents have a byte-for-byte
|
||||
identical canonical XML representation.
|
||||
Note that ignorable white space is considered significant and
|
||||
is treated equivalently to data.
|
||||
More on canonical XML can be found at
|
||||
http://www.jclark.com/xml/canonxml.html .
|
||||
.TP
|
||||
\fB-e encoding\fR
|
||||
Specifies the character encoding for the document, overriding
|
||||
any document encoding declaration. \fBxmlwf\fR
|
||||
supports four built-in encodings:
|
||||
US-ASCII,
|
||||
UTF-8,
|
||||
UTF-16, and
|
||||
ISO-8859-1.
|
||||
Also see the \fB-w\fR option.
|
||||
.TP
|
||||
\fB-m\fR
|
||||
Outputs some strange sort of XML file that completely
|
||||
describes the input file, including character positions.
|
||||
Requires \fB-d\fR to specify an output file.
|
||||
.TP
|
||||
\fB-n\fR
|
||||
Turns on namespace processing. (describe namespaces)
|
||||
\fB-c\fR disables namespaces.
|
||||
.TP
|
||||
\fB-p\fR
|
||||
Tells xmlwf to process external DTDs and parameter
|
||||
entities.
|
||||
|
||||
Normally \fBxmlwf\fR never parses parameter
|
||||
entities. \fB-p\fR tells it to always parse them.
|
||||
\fB-p\fR implies \fB-x\fR.
|
||||
.TP
|
||||
\fB-r\fR
|
||||
Normally \fBxmlwf\fR memory-maps the XML file
|
||||
before parsing; this can result in faster parsing on many
|
||||
platforms.
|
||||
\fB-r\fR turns off memory-mapping and uses normal file
|
||||
IO calls instead.
|
||||
Of course, memory-mapping is automatically turned off
|
||||
when reading from standard input.
|
||||
|
||||
Use of memory-mapping can cause some platforms to report
|
||||
substantially higher memory usage for
|
||||
\fBxmlwf\fR, but this appears to be a matter of
|
||||
the operating system reporting memory in a strange way; there is
|
||||
not a leak in \fBxmlwf\fR.
|
||||
.TP
|
||||
\fB-s\fR
|
||||
Prints an error if the document is not standalone.
|
||||
A document is standalone if it has no external subset and no
|
||||
references to parameter entities.
|
||||
.TP
|
||||
\fB-t\fR
|
||||
Turns on timings. This tells Expat to parse the entire file,
|
||||
but not perform any processing.
|
||||
This gives a fairly accurate idea of the raw speed of Expat itself
|
||||
without client overhead.
|
||||
\fB-t\fR turns off most of the output options
|
||||
(\fB-d\fR, \fB-m\fR, \fB-c\fR,
|
||||
\&...).
|
||||
.TP
|
||||
\fB-v\fR
|
||||
Prints the version of the Expat library being used, including some
|
||||
information on the compile-time configuration of the library, and
|
||||
then exits.
|
||||
.TP
|
||||
\fB-w\fR
|
||||
Enables support for Windows code pages.
|
||||
Normally, \fBxmlwf\fR will throw an error if it
|
||||
runs across an encoding that it is not equipped to handle itself. With
|
||||
\fB-w\fR, xmlwf will try to use a Windows code
|
||||
page. See also \fB-e\fR.
|
||||
.TP
|
||||
\fB-x\fR
|
||||
Turns on parsing external entities.
|
||||
|
||||
Non-validating parsers are not required to resolve external
|
||||
entities, or even expand entities at all.
|
||||
Expat always expands internal entities (?),
|
||||
but external entity parsing must be enabled explicitly.
|
||||
|
||||
External entities are simply entities that obtain their
|
||||
data from outside the XML file currently being parsed.
|
||||
|
||||
This is an example of an internal entity:
|
||||
|
||||
.nf
|
||||
<!ENTITY vers '1.0.2'>
|
||||
.fi
|
||||
|
||||
And here are some examples of external entities:
|
||||
|
||||
.nf
|
||||
<!ENTITY header SYSTEM "header-&vers;.xml"> (parsed)
|
||||
<!ENTITY logo SYSTEM "logo.png" PNG> (unparsed)
|
||||
.fi
|
||||
.TP
|
||||
\fB--\fR
|
||||
(Two hyphens.)
|
||||
Terminates the list of options. This is only needed if a filename
|
||||
starts with a hyphen. For example:
|
||||
|
||||
.nf
|
||||
xmlwf -- -myfile.xml
|
||||
.fi
|
||||
|
||||
will run \fBxmlwf\fR on the file
|
||||
\fI-myfile.xml\fR.
|
||||
.PP
|
||||
Older versions of \fBxmlwf\fR do not support
|
||||
reading from standard input.
|
||||
.SH "OUTPUT"
|
||||
.PP
|
||||
If an input file is not well-formed,
|
||||
\fBxmlwf\fR prints a single line describing
|
||||
the problem to standard output. If a file is well formed,
|
||||
\fBxmlwf\fR outputs nothing.
|
||||
Note that the result code is \fBnot\fR set.
|
||||
.SH "BUGS"
|
||||
.PP
|
||||
According to the W3C standard, an XML file without a
|
||||
declaration at the beginning is not considered well-formed.
|
||||
However, \fBxmlwf\fR allows this to pass.
|
||||
.PP
|
||||
\fBxmlwf\fR returns a 0 - noerr result,
|
||||
even if the file is not well-formed. There is no good way for
|
||||
a program to use \fBxmlwf\fR to quickly
|
||||
check a file -- it must parse \fBxmlwf\fR's
|
||||
standard output.
|
||||
.PP
|
||||
The errors should go to standard error, not standard output.
|
||||
.PP
|
||||
There should be a way to get \fB-d\fR to send its
|
||||
output to standard output rather than forcing the user to send
|
||||
it to a file.
|
||||
.PP
|
||||
I have no idea why anyone would want to use the
|
||||
\fB-d\fR, \fB-c\fR, and
|
||||
\fB-m\fR options. If someone could explain it to
|
||||
me, I'd like to add this information to this manpage.
|
||||
.SH "ALTERNATIVES"
|
||||
.PP
|
||||
Here are some XML validators on the web:
|
||||
|
||||
.nf
|
||||
http://www.hcrc.ed.ac.uk/~richard/xml-check.html
|
||||
http://www.stg.brown.edu/service/xmlvalid/
|
||||
http://www.scripting.com/frontier5/xml/code/xmlValidator.html
|
||||
http://www.xml.com/pub/a/tools/ruwf/check.html
|
||||
.fi
|
||||
.SH "SEE ALSO"
|
||||
.PP
|
||||
|
||||
.nf
|
||||
The Expat home page: http://www.libexpat.org/
|
||||
The W3 XML specification: http://www.w3.org/TR/REC-xml
|
||||
.fi
|
||||
.SH "AUTHOR"
|
||||
.PP
|
||||
This manual page was written by Scott Bronson <bronson@rinspin.com> for
|
||||
the Debian GNU/Linux system (but may be used by others). Permission is
|
||||
granted to copy, distribute and/or modify this document under
|
||||
the terms of the GNU Free Documentation
|
||||
License, Version 1.1.
|
||||
@@ -0,0 +1,468 @@
|
||||
<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
|
||||
|
||||
<!-- Process this file with docbook-to-man to generate an nroff manual
|
||||
page: `docbook-to-man manpage.sgml > manpage.1'. You may view
|
||||
the manual page with: `docbook-to-man manpage.sgml | nroff -man |
|
||||
less'. A typical entry in a Makefile or Makefile.am is:
|
||||
|
||||
manpage.1: manpage.sgml
|
||||
docbook-to-man $< > $@
|
||||
-->
|
||||
|
||||
<!-- Fill in your name for FIRSTNAME and SURNAME. -->
|
||||
<!ENTITY dhfirstname "<firstname>Scott</firstname>">
|
||||
<!ENTITY dhsurname "<surname>Bronson</surname>">
|
||||
<!-- Please adjust the date whenever revising the manpage. -->
|
||||
<!ENTITY dhdate "<date>December 5, 2001</date>">
|
||||
<!-- SECTION should be 1-8, maybe w/ subsection other parameters are
|
||||
allowed: see man(7), man(1). -->
|
||||
<!ENTITY dhsection "<manvolnum>1</manvolnum>">
|
||||
<!ENTITY dhemail "<email>bronson@rinspin.com</email>">
|
||||
<!ENTITY dhusername "Scott Bronson">
|
||||
<!ENTITY dhucpackage "<refentrytitle>XMLWF</refentrytitle>">
|
||||
<!ENTITY dhpackage "xmlwf">
|
||||
|
||||
<!ENTITY debian "<productname>Debian GNU/Linux</productname>">
|
||||
<!ENTITY gnu "<acronym>GNU</acronym>">
|
||||
]>
|
||||
|
||||
<refentry>
|
||||
<refentryinfo>
|
||||
<address>
|
||||
&dhemail;
|
||||
</address>
|
||||
<author>
|
||||
&dhfirstname;
|
||||
&dhsurname;
|
||||
</author>
|
||||
<copyright>
|
||||
<year>2001</year>
|
||||
<holder>&dhusername;</holder>
|
||||
</copyright>
|
||||
&dhdate;
|
||||
</refentryinfo>
|
||||
<refmeta>
|
||||
&dhucpackage;
|
||||
|
||||
&dhsection;
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>&dhpackage;</refname>
|
||||
|
||||
<refpurpose>Determines if an XML document is well-formed</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<cmdsynopsis>
|
||||
<command>&dhpackage;</command>
|
||||
<arg><option>-s</option></arg>
|
||||
<arg><option>-n</option></arg>
|
||||
<arg><option>-p</option></arg>
|
||||
<arg><option>-x</option></arg>
|
||||
|
||||
<arg><option>-e <replaceable>encoding</replaceable></option></arg>
|
||||
<arg><option>-w</option></arg>
|
||||
|
||||
<arg><option>-d <replaceable>output-dir</replaceable></option></arg>
|
||||
<arg><option>-c</option></arg>
|
||||
<arg><option>-m</option></arg>
|
||||
|
||||
<arg><option>-r</option></arg>
|
||||
<arg><option>-t</option></arg>
|
||||
|
||||
<arg><option>-v</option></arg>
|
||||
|
||||
<arg>file ...</arg>
|
||||
</cmdsynopsis>
|
||||
</refsynopsisdiv>
|
||||
|
||||
<refsect1>
|
||||
<title>DESCRIPTION</title>
|
||||
|
||||
<para>
|
||||
<command>&dhpackage;</command> uses the Expat library to
|
||||
determine if an XML document is well-formed. It is
|
||||
non-validating.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
If you do not specify any files on the command-line, and you
|
||||
have a recent version of <command>&dhpackage;</command>, the
|
||||
input file will be read from standard input.
|
||||
</para>
|
||||
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
<title>WELL-FORMED DOCUMENTS</title>
|
||||
|
||||
<para>
|
||||
A well-formed document must adhere to the
|
||||
following rules:
|
||||
</para>
|
||||
|
||||
<itemizedlist>
|
||||
<listitem><para>
|
||||
The file begins with an XML declaration. For instance,
|
||||
<literal><?xml version="1.0" standalone="yes"?></literal>.
|
||||
<emphasis>NOTE:</emphasis>
|
||||
<command>&dhpackage;</command> does not currently
|
||||
check for a valid XML declaration.
|
||||
</para></listitem>
|
||||
<listitem><para>
|
||||
Every start tag is either empty (<tag/>)
|
||||
or has a corresponding end tag.
|
||||
</para></listitem>
|
||||
<listitem><para>
|
||||
There is exactly one root element. This element must contain
|
||||
all other elements in the document. Only comments, white
|
||||
space, and processing instructions may come after the close
|
||||
of the root element.
|
||||
</para></listitem>
|
||||
<listitem><para>
|
||||
All elements nest properly.
|
||||
</para></listitem>
|
||||
<listitem><para>
|
||||
All attribute values are enclosed in quotes (either single
|
||||
or double).
|
||||
</para></listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<para>
|
||||
If the document has a DTD, and it strictly complies with that
|
||||
DTD, then the document is also considered <emphasis>valid</emphasis>.
|
||||
<command>&dhpackage;</command> is a non-validating parser --
|
||||
it does not check the DTD. However, it does support
|
||||
external entities (see the <option>-x</option> option).
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
<title>OPTIONS</title>
|
||||
|
||||
<para>
|
||||
When an option includes an argument, you may specify the argument either
|
||||
separately ("<option>-d</option> output") or concatenated with the
|
||||
option ("<option>-d</option>output"). <command>&dhpackage;</command>
|
||||
supports both.
|
||||
</para>
|
||||
|
||||
<variablelist>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>-c</option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
If the input file is well-formed and <command>&dhpackage;</command>
|
||||
doesn't encounter any errors, the input file is simply copied to
|
||||
the output directory unchanged.
|
||||
This implies no namespaces (turns off <option>-n</option>) and
|
||||
requires <option>-d</option> to specify an output file.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>-d output-dir</option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Specifies a directory to contain transformed
|
||||
representations of the input files.
|
||||
By default, <option>-d</option> outputs a canonical representation
|
||||
(described below).
|
||||
You can select different output formats using <option>-c</option>
|
||||
and <option>-m</option>.
|
||||
</para>
|
||||
<para>
|
||||
The output filenames will
|
||||
be exactly the same as the input filenames or "STDIN" if the input is
|
||||
coming from standard input. Therefore, you must be careful that the
|
||||
output file does not go into the same directory as the input
|
||||
file. Otherwise, <command>&dhpackage;</command> will delete the
|
||||
input file before it generates the output file (just like running
|
||||
<literal>cat < file > file</literal> in most shells).
|
||||
</para>
|
||||
<para>
|
||||
Two structurally equivalent XML documents have a byte-for-byte
|
||||
identical canonical XML representation.
|
||||
Note that ignorable white space is considered significant and
|
||||
is treated equivalently to data.
|
||||
More on canonical XML can be found at
|
||||
http://www.jclark.com/xml/canonxml.html .
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>-e encoding</option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Specifies the character encoding for the document, overriding
|
||||
any document encoding declaration. <command>&dhpackage;</command>
|
||||
supports four built-in encodings:
|
||||
<literal>US-ASCII</literal>,
|
||||
<literal>UTF-8</literal>,
|
||||
<literal>UTF-16</literal>, and
|
||||
<literal>ISO-8859-1</literal>.
|
||||
Also see the <option>-w</option> option.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>-m</option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Outputs some strange sort of XML file that completely
|
||||
describes the the input file, including character postitions.
|
||||
Requires <option>-d</option> to specify an output file.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>-n</option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Turns on namespace processing. (describe namespaces)
|
||||
<option>-c</option> disables namespaces.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>-p</option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Tells xmlwf to process external DTDs and parameter
|
||||
entities.
|
||||
</para>
|
||||
<para>
|
||||
Normally <command>&dhpackage;</command> never parses parameter
|
||||
entities. <option>-p</option> tells it to always parse them.
|
||||
<option>-p</option> implies <option>-x</option>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>-r</option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Normally <command>&dhpackage;</command> memory-maps the XML file
|
||||
before parsing; this can result in faster parsing on many
|
||||
platforms.
|
||||
<option>-r</option> turns off memory-mapping and uses normal file
|
||||
IO calls instead.
|
||||
Of course, memory-mapping is automatically turned off
|
||||
when reading from standard input.
|
||||
</para>
|
||||
<para>
|
||||
Use of memory-mapping can cause some platforms to report
|
||||
substantially higher memory usage for
|
||||
<command>&dhpackage;</command>, but this appears to be a matter of
|
||||
the operating system reporting memory in a strange way; there is
|
||||
not a leak in <command>&dhpackage;</command>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>-s</option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Prints an error if the document is not standalone.
|
||||
A document is standalone if it has no external subset and no
|
||||
references to parameter entities.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>-t</option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Turns on timings. This tells Expat to parse the entire file,
|
||||
but not perform any processing.
|
||||
This gives a fairly accurate idea of the raw speed of Expat itself
|
||||
without client overhead.
|
||||
<option>-t</option> turns off most of the output options
|
||||
(<option>-d</option>, <option>-m</option>, <option>-c</option>,
|
||||
...).
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>-v</option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Prints the version of the Expat library being used, including some
|
||||
information on the compile-time configuration of the library, and
|
||||
then exits.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>-w</option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Enables support for Windows code pages.
|
||||
Normally, <command>&dhpackage;</command> will throw an error if it
|
||||
runs across an encoding that it is not equipped to handle itself. With
|
||||
<option>-w</option>, &dhpackage; will try to use a Windows code
|
||||
page. See also <option>-e</option>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>-x</option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Turns on parsing external entities.
|
||||
</para>
|
||||
<para>
|
||||
Non-validating parsers are not required to resolve external
|
||||
entities, or even expand entities at all.
|
||||
Expat always expands internal entities (?),
|
||||
but external entity parsing must be enabled explicitly.
|
||||
</para>
|
||||
<para>
|
||||
External entities are simply entities that obtain their
|
||||
data from outside the XML file currently being parsed.
|
||||
</para>
|
||||
<para>
|
||||
This is an example of an internal entity:
|
||||
<literallayout>
|
||||
<!ENTITY vers '1.0.2'>
|
||||
</literallayout>
|
||||
</para>
|
||||
<para>
|
||||
And here are some examples of external entities:
|
||||
|
||||
<literallayout>
|
||||
<!ENTITY header SYSTEM "header-&vers;.xml"> (parsed)
|
||||
<!ENTITY logo SYSTEM "logo.png" PNG> (unparsed)
|
||||
</literallayout>
|
||||
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>--</option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
(Two hyphens.)
|
||||
Terminates the list of options. This is only needed if a filename
|
||||
starts with a hyphen. For example:
|
||||
</para>
|
||||
<literallayout>
|
||||
&dhpackage; -- -myfile.xml
|
||||
</literallayout>
|
||||
<para>
|
||||
will run <command>&dhpackage;</command> on the file
|
||||
<filename>-myfile.xml</filename>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
|
||||
<para>
|
||||
Older versions of <command>&dhpackage;</command> do not support
|
||||
reading from standard input.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
<title>OUTPUT</title>
|
||||
<para>
|
||||
If an input file is not well-formed,
|
||||
<command>&dhpackage;</command> prints a single line describing
|
||||
the problem to standard output. If a file is well formed,
|
||||
<command>&dhpackage;</command> outputs nothing.
|
||||
Note that the result code is <emphasis>not</emphasis> set.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
<title>BUGS</title>
|
||||
<para>
|
||||
<command>&dhpackage;</command> returns a 0 - noerr result,
|
||||
even if the file is not well-formed. There is no good way for
|
||||
a program to use <command>&dhpackage;</command> to quickly
|
||||
check a file -- it must parse <command>&dhpackage;</command>'s
|
||||
standard output.
|
||||
</para>
|
||||
<para>
|
||||
The errors should go to standard error, not standard output.
|
||||
</para>
|
||||
<para>
|
||||
There should be a way to get <option>-d</option> to send its
|
||||
output to standard output rather than forcing the user to send
|
||||
it to a file.
|
||||
</para>
|
||||
<para>
|
||||
I have no idea why anyone would want to use the
|
||||
<option>-d</option>, <option>-c</option>, and
|
||||
<option>-m</option> options. If someone could explain it to
|
||||
me, I'd like to add this information to this manpage.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
<title>ALTERNATIVES</title>
|
||||
<para>
|
||||
Here are some XML validators on the web:
|
||||
|
||||
<literallayout>
|
||||
http://www.hcrc.ed.ac.uk/~richard/xml-check.html
|
||||
http://www.stg.brown.edu/service/xmlvalid/
|
||||
http://www.scripting.com/frontier5/xml/code/xmlValidator.html
|
||||
http://www.xml.com/pub/a/tools/ruwf/check.html
|
||||
</literallayout>
|
||||
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
<title>SEE ALSO</title>
|
||||
<para>
|
||||
|
||||
<literallayout>
|
||||
The Expat home page: http://www.libexpat.org/
|
||||
The W3 XML specification: http://www.w3.org/TR/REC-xml
|
||||
</literallayout>
|
||||
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
<title>AUTHOR</title>
|
||||
<para>
|
||||
This manual page was written by &dhusername; &dhemail; for
|
||||
the &debian; system (but may be used by others). Permission is
|
||||
granted to copy, distribute and/or modify this document under
|
||||
the terms of the <acronym>GNU</acronym> Free Documentation
|
||||
License, Version 1.1.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:2
|
||||
sgml-indent-data:t
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:nil
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
-->
|
||||
@@ -0,0 +1,8 @@
|
||||
Makefile
|
||||
elements
|
||||
elements.plg
|
||||
outline
|
||||
outline.plg
|
||||
Debug
|
||||
Release
|
||||
.libs
|
||||
@@ -0,0 +1,65 @@
|
||||
/* This is simple demonstration of how to use expat. This program
|
||||
reads an XML document from standard input and writes a line with
|
||||
the name of each element to standard output indenting child
|
||||
elements by one tab stop more than their parent element.
|
||||
It must be used with Expat compiled for UTF-8 output.
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include "expat.h"
|
||||
|
||||
#if defined(__amigaos__) && defined(__USE_INLINE__)
|
||||
#include <proto/expat.h>
|
||||
#endif
|
||||
|
||||
#ifdef XML_LARGE_SIZE
|
||||
#if defined(XML_USE_MSC_EXTENSIONS) && _MSC_VER < 1400
|
||||
#define XML_FMT_INT_MOD "I64"
|
||||
#else
|
||||
#define XML_FMT_INT_MOD "ll"
|
||||
#endif
|
||||
#else
|
||||
#define XML_FMT_INT_MOD "l"
|
||||
#endif
|
||||
|
||||
static void XMLCALL
|
||||
startElement(void *userData, const char *name, const char **atts)
|
||||
{
|
||||
int i;
|
||||
int *depthPtr = (int *)userData;
|
||||
for (i = 0; i < *depthPtr; i++)
|
||||
putchar('\t');
|
||||
puts(name);
|
||||
*depthPtr += 1;
|
||||
}
|
||||
|
||||
static void XMLCALL
|
||||
endElement(void *userData, const char *name)
|
||||
{
|
||||
int *depthPtr = (int *)userData;
|
||||
*depthPtr -= 1;
|
||||
}
|
||||
|
||||
int
|
||||
main(int argc, char *argv[])
|
||||
{
|
||||
char buf[BUFSIZ];
|
||||
XML_Parser parser = XML_ParserCreate(NULL);
|
||||
int done;
|
||||
int depth = 0;
|
||||
XML_SetUserData(parser, &depth);
|
||||
XML_SetElementHandler(parser, startElement, endElement);
|
||||
do {
|
||||
int len = (int)fread(buf, 1, sizeof(buf), stdin);
|
||||
done = len < sizeof(buf);
|
||||
if (XML_Parse(parser, buf, len, done) == XML_STATUS_ERROR) {
|
||||
fprintf(stderr,
|
||||
"%s at line %" XML_FMT_INT_MOD "u\n",
|
||||
XML_ErrorString(XML_GetErrorCode(parser)),
|
||||
XML_GetCurrentLineNumber(parser));
|
||||
return 1;
|
||||
}
|
||||
} while (!done);
|
||||
XML_ParserFree(parser);
|
||||
return 0;
|
||||
}
|
||||
@@ -0,0 +1,103 @@
|
||||
# Microsoft Developer Studio Project File - Name="elements" - Package Owner=<4>
|
||||
# Microsoft Developer Studio Generated Build File, Format Version 6.00
|
||||
# ** DO NOT EDIT **
|
||||
|
||||
# TARGTYPE "Win32 (x86) Console Application" 0x0103
|
||||
|
||||
CFG=elements - Win32 Debug
|
||||
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
|
||||
!MESSAGE use the Export Makefile command and run
|
||||
!MESSAGE
|
||||
!MESSAGE NMAKE /f "elements.mak".
|
||||
!MESSAGE
|
||||
!MESSAGE You can specify a configuration when running NMAKE
|
||||
!MESSAGE by defining the macro CFG on the command line. For example:
|
||||
!MESSAGE
|
||||
!MESSAGE NMAKE /f "elements.mak" CFG="elements - Win32 Debug"
|
||||
!MESSAGE
|
||||
!MESSAGE Possible choices for configuration are:
|
||||
!MESSAGE
|
||||
!MESSAGE "elements - Win32 Release" (based on "Win32 (x86) Console Application")
|
||||
!MESSAGE "elements - Win32 Debug" (based on "Win32 (x86) Console Application")
|
||||
!MESSAGE
|
||||
|
||||
# Begin Project
|
||||
# PROP AllowPerConfigDependencies 0
|
||||
# PROP Scc_ProjName ""
|
||||
# PROP Scc_LocalPath ""
|
||||
CPP=cl.exe
|
||||
RSC=rc.exe
|
||||
|
||||
!IF "$(CFG)" == "elements - Win32 Release"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 0
|
||||
# PROP BASE Output_Dir "Release"
|
||||
# PROP BASE Intermediate_Dir "Release"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 0
|
||||
# PROP Output_Dir "..\win32\bin\Release"
|
||||
# PROP Intermediate_Dir "..\win32\tmp\Release-elements"
|
||||
# PROP Ignore_Export_Lib 0
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
|
||||
# ADD CPP /nologo /MT /W3 /GX /O2 /I "..\lib" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D "XML_STATIC" /FD /c
|
||||
# SUBTRACT CPP /X /YX
|
||||
# ADD BASE RSC /l 0x409 /d "NDEBUG"
|
||||
# ADD RSC /l 0x409 /d "NDEBUG"
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 /nologo /subsystem:console /machine:I386
|
||||
# ADD LINK32 libexpatMT.lib /nologo /subsystem:console /pdb:none /machine:I386 /libpath:"..\win32\bin\Release" /out:"..\win32\bin\Release\elements.exe"
|
||||
|
||||
!ELSEIF "$(CFG)" == "elements - Win32 Debug"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 1
|
||||
# PROP BASE Output_Dir "Debug"
|
||||
# PROP BASE Intermediate_Dir "Debug"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 1
|
||||
# PROP Output_Dir "..\win32\bin\Debug"
|
||||
# PROP Intermediate_Dir "..\win32\tmp\Debug-elements"
|
||||
# PROP Ignore_Export_Lib 0
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
|
||||
# ADD CPP /nologo /MTd /W3 /GX /ZI /Od /I "..\lib" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D "XML_STATIC" /FR /FD /GZ /c
|
||||
# ADD BASE RSC /l 0x409 /d "_DEBUG"
|
||||
# ADD RSC /l 0x409 /d "_DEBUG"
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
|
||||
# ADD LINK32 libexpatMT.lib /nologo /subsystem:console /pdb:none /debug /machine:I386 /libpath:"..\win32\bin\Debug" /out:"..\win32\bin\Debug\elements.exe"
|
||||
|
||||
!ENDIF
|
||||
|
||||
# Begin Target
|
||||
|
||||
# Name "elements - Win32 Release"
|
||||
# Name "elements - Win32 Debug"
|
||||
# Begin Group "Source Files"
|
||||
|
||||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\elements.c
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "Header Files"
|
||||
|
||||
# PROP Default_Filter "h;hpp;hxx;hm;inl"
|
||||
# End Group
|
||||
# Begin Group "Resource Files"
|
||||
|
||||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
|
||||
# End Group
|
||||
# End Target
|
||||
# End Project
|
||||
@@ -0,0 +1,106 @@
|
||||
/*****************************************************************
|
||||
* outline.c
|
||||
*
|
||||
* Copyright 1999, Clark Cooper
|
||||
* All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the license contained in the
|
||||
* COPYING file that comes with the expat distribution.
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* Read an XML document from standard input and print an element
|
||||
* outline on standard output.
|
||||
* Must be used with Expat compiled for UTF-8 output.
|
||||
*/
|
||||
|
||||
|
||||
#include <stdio.h>
|
||||
#include <expat.h>
|
||||
|
||||
#if defined(__amigaos__) && defined(__USE_INLINE__)
|
||||
#include <proto/expat.h>
|
||||
#endif
|
||||
|
||||
#ifdef XML_LARGE_SIZE
|
||||
#if defined(XML_USE_MSC_EXTENSIONS) && _MSC_VER < 1400
|
||||
#define XML_FMT_INT_MOD "I64"
|
||||
#else
|
||||
#define XML_FMT_INT_MOD "ll"
|
||||
#endif
|
||||
#else
|
||||
#define XML_FMT_INT_MOD "l"
|
||||
#endif
|
||||
|
||||
#define BUFFSIZE 8192
|
||||
|
||||
char Buff[BUFFSIZE];
|
||||
|
||||
int Depth;
|
||||
|
||||
static void XMLCALL
|
||||
start(void *data, const char *el, const char **attr)
|
||||
{
|
||||
int i;
|
||||
|
||||
for (i = 0; i < Depth; i++)
|
||||
printf(" ");
|
||||
|
||||
printf("%s", el);
|
||||
|
||||
for (i = 0; attr[i]; i += 2) {
|
||||
printf(" %s='%s'", attr[i], attr[i + 1]);
|
||||
}
|
||||
|
||||
printf("\n");
|
||||
Depth++;
|
||||
}
|
||||
|
||||
static void XMLCALL
|
||||
end(void *data, const char *el)
|
||||
{
|
||||
Depth--;
|
||||
}
|
||||
|
||||
int
|
||||
main(int argc, char *argv[])
|
||||
{
|
||||
XML_Parser p = XML_ParserCreate(NULL);
|
||||
if (! p) {
|
||||
fprintf(stderr, "Couldn't allocate memory for parser\n");
|
||||
exit(-1);
|
||||
}
|
||||
|
||||
XML_SetElementHandler(p, start, end);
|
||||
|
||||
for (;;) {
|
||||
int done;
|
||||
int len;
|
||||
|
||||
len = (int)fread(Buff, 1, BUFFSIZE, stdin);
|
||||
if (ferror(stdin)) {
|
||||
fprintf(stderr, "Read error\n");
|
||||
exit(-1);
|
||||
}
|
||||
done = feof(stdin);
|
||||
|
||||
if (XML_Parse(p, Buff, len, done) == XML_STATUS_ERROR) {
|
||||
fprintf(stderr, "Parse error at line %" XML_FMT_INT_MOD "u:\n%s\n",
|
||||
XML_GetCurrentLineNumber(p),
|
||||
XML_ErrorString(XML_GetErrorCode(p)));
|
||||
exit(-1);
|
||||
}
|
||||
|
||||
if (done)
|
||||
break;
|
||||
}
|
||||
XML_ParserFree(p);
|
||||
return 0;
|
||||
}
|
||||
@@ -0,0 +1,103 @@
|
||||
# Microsoft Developer Studio Project File - Name="outline" - Package Owner=<4>
|
||||
# Microsoft Developer Studio Generated Build File, Format Version 6.00
|
||||
# ** DO NOT EDIT **
|
||||
|
||||
# TARGTYPE "Win32 (x86) Console Application" 0x0103
|
||||
|
||||
CFG=outline - Win32 Debug
|
||||
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
|
||||
!MESSAGE use the Export Makefile command and run
|
||||
!MESSAGE
|
||||
!MESSAGE NMAKE /f "outline.mak".
|
||||
!MESSAGE
|
||||
!MESSAGE You can specify a configuration when running NMAKE
|
||||
!MESSAGE by defining the macro CFG on the command line. For example:
|
||||
!MESSAGE
|
||||
!MESSAGE NMAKE /f "outline.mak" CFG="outline - Win32 Debug"
|
||||
!MESSAGE
|
||||
!MESSAGE Possible choices for configuration are:
|
||||
!MESSAGE
|
||||
!MESSAGE "outline - Win32 Release" (based on "Win32 (x86) Console Application")
|
||||
!MESSAGE "outline - Win32 Debug" (based on "Win32 (x86) Console Application")
|
||||
!MESSAGE
|
||||
|
||||
# Begin Project
|
||||
# PROP AllowPerConfigDependencies 0
|
||||
# PROP Scc_ProjName ""
|
||||
# PROP Scc_LocalPath ""
|
||||
CPP=cl.exe
|
||||
RSC=rc.exe
|
||||
|
||||
!IF "$(CFG)" == "outline - Win32 Release"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 0
|
||||
# PROP BASE Output_Dir "Release"
|
||||
# PROP BASE Intermediate_Dir "Release"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 0
|
||||
# PROP Output_Dir "..\win32\bin\Release"
|
||||
# PROP Intermediate_Dir "..\win32\tmp\Release-outline"
|
||||
# PROP Ignore_Export_Lib 0
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
|
||||
# ADD CPP /nologo /MT /W3 /GX /O2 /I "..\lib" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
|
||||
# SUBTRACT CPP /X /YX
|
||||
# ADD BASE RSC /l 0x409 /d "NDEBUG"
|
||||
# ADD RSC /l 0x409 /d "NDEBUG"
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 /nologo /subsystem:console /machine:I386
|
||||
# ADD LINK32 libexpat.lib /nologo /subsystem:console /pdb:none /machine:I386 /libpath:"..\win32\bin\Release" /out:"..\win32\bin\Release\outline.exe"
|
||||
|
||||
!ELSEIF "$(CFG)" == "outline - Win32 Debug"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 1
|
||||
# PROP BASE Output_Dir "Debug"
|
||||
# PROP BASE Intermediate_Dir "Debug"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 1
|
||||
# PROP Output_Dir "..\win32\bin\Debug"
|
||||
# PROP Intermediate_Dir "..\win32\tmp\Debug-outline"
|
||||
# PROP Ignore_Export_Lib 0
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
|
||||
# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "..\lib" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /GZ /c
|
||||
# ADD BASE RSC /l 0x409 /d "_DEBUG"
|
||||
# ADD RSC /l 0x409 /d "_DEBUG"
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
|
||||
# ADD LINK32 libexpat.lib /nologo /subsystem:console /pdb:none /debug /machine:I386 /libpath:"..\win32\bin\Debug" /out:"..\win32\bin\Debug\outline.exe"
|
||||
|
||||
!ENDIF
|
||||
|
||||
# Begin Target
|
||||
|
||||
# Name "outline - Win32 Release"
|
||||
# Name "outline - Win32 Debug"
|
||||
# Begin Group "Source Files"
|
||||
|
||||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\outline.c
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "Header Files"
|
||||
|
||||
# PROP Default_Filter "h;hpp;hxx;hm;inl"
|
||||
# End Group
|
||||
# Begin Group "Resource Files"
|
||||
|
||||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
|
||||
# End Group
|
||||
# End Target
|
||||
# End Project
|
||||
+110
-74
@@ -1,74 +1,110 @@
|
||||
Microsoft Developer Studio Workspace File, Format Version 6.00
|
||||
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
|
||||
|
||||
###############################################################################
|
||||
|
||||
Project: "gennmtab"=.\gennmtab\gennmtab.dsp - Package Owner=<4>
|
||||
|
||||
Package=<5>
|
||||
{{{
|
||||
}}}
|
||||
|
||||
Package=<4>
|
||||
{{{
|
||||
}}}
|
||||
|
||||
###############################################################################
|
||||
|
||||
Project: "xmlparse"=.\xmlparse\xmlparse.dsp - Package Owner=<4>
|
||||
|
||||
Package=<5>
|
||||
{{{
|
||||
}}}
|
||||
|
||||
Package=<4>
|
||||
{{{
|
||||
Begin Project Dependency
|
||||
Project_Dep_Name xmltok
|
||||
End Project Dependency
|
||||
}}}
|
||||
|
||||
###############################################################################
|
||||
|
||||
Project: "xmltok"=.\xmltok\xmltok.dsp - Package Owner=<4>
|
||||
|
||||
Package=<5>
|
||||
{{{
|
||||
}}}
|
||||
|
||||
Package=<4>
|
||||
{{{
|
||||
Begin Project Dependency
|
||||
Project_Dep_Name gennmtab
|
||||
End Project Dependency
|
||||
}}}
|
||||
|
||||
###############################################################################
|
||||
|
||||
Project: "xmlwf"=.\xmlwf\xmlwf.dsp - Package Owner=<4>
|
||||
|
||||
Package=<5>
|
||||
{{{
|
||||
}}}
|
||||
|
||||
Package=<4>
|
||||
{{{
|
||||
Begin Project Dependency
|
||||
Project_Dep_Name xmlparse
|
||||
End Project Dependency
|
||||
}}}
|
||||
|
||||
###############################################################################
|
||||
|
||||
Global:
|
||||
|
||||
Package=<5>
|
||||
{{{
|
||||
}}}
|
||||
|
||||
Package=<3>
|
||||
{{{
|
||||
}}}
|
||||
|
||||
###############################################################################
|
||||
|
||||
Microsoft Developer Studio Workspace File, Format Version 6.00
|
||||
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
|
||||
|
||||
###############################################################################
|
||||
|
||||
Project: "elements"=.\examples\elements.dsp - Package Owner=<4>
|
||||
|
||||
Package=<5>
|
||||
{{{
|
||||
}}}
|
||||
|
||||
Package=<4>
|
||||
{{{
|
||||
Begin Project Dependency
|
||||
Project_Dep_Name expat_static
|
||||
End Project Dependency
|
||||
}}}
|
||||
|
||||
###############################################################################
|
||||
|
||||
Project: "expat"=.\lib\expat.dsp - Package Owner=<4>
|
||||
|
||||
Package=<5>
|
||||
{{{
|
||||
}}}
|
||||
|
||||
Package=<4>
|
||||
{{{
|
||||
}}}
|
||||
|
||||
###############################################################################
|
||||
|
||||
Project: "expat_static"=.\lib\expat_static.dsp - Package Owner=<4>
|
||||
|
||||
Package=<5>
|
||||
{{{
|
||||
}}}
|
||||
|
||||
Package=<4>
|
||||
{{{
|
||||
}}}
|
||||
|
||||
###############################################################################
|
||||
|
||||
Project: "expatw"=.\lib\expatw.dsp - Package Owner=<4>
|
||||
|
||||
Package=<5>
|
||||
{{{
|
||||
}}}
|
||||
|
||||
Package=<4>
|
||||
{{{
|
||||
}}}
|
||||
|
||||
###############################################################################
|
||||
|
||||
Project: "expatw_static"=.\lib\expatw_static.dsp - Package Owner=<4>
|
||||
|
||||
Package=<5>
|
||||
{{{
|
||||
}}}
|
||||
|
||||
Package=<4>
|
||||
{{{
|
||||
}}}
|
||||
|
||||
###############################################################################
|
||||
|
||||
Project: "outline"=.\examples\outline.dsp - Package Owner=<4>
|
||||
|
||||
Package=<5>
|
||||
{{{
|
||||
}}}
|
||||
|
||||
Package=<4>
|
||||
{{{
|
||||
Begin Project Dependency
|
||||
Project_Dep_Name expat
|
||||
End Project Dependency
|
||||
}}}
|
||||
|
||||
###############################################################################
|
||||
|
||||
Project: "xmlwf"=.\xmlwf\xmlwf.dsp - Package Owner=<4>
|
||||
|
||||
Package=<5>
|
||||
{{{
|
||||
}}}
|
||||
|
||||
Package=<4>
|
||||
{{{
|
||||
Begin Project Dependency
|
||||
Project_Dep_Name expat
|
||||
End Project Dependency
|
||||
}}}
|
||||
|
||||
###############################################################################
|
||||
|
||||
Global:
|
||||
|
||||
Package=<5>
|
||||
{{{
|
||||
}}}
|
||||
|
||||
Package=<3>
|
||||
{{{
|
||||
}}}
|
||||
|
||||
###############################################################################
|
||||
|
||||
|
||||
@@ -1,80 +0,0 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/REC-html40/loose.dtd">
|
||||
|
||||
<HTML>
|
||||
|
||||
<TITLE>expat</TITLE>
|
||||
|
||||
<BODY>
|
||||
|
||||
<H1>expat - XML Parser Toolkit</H1>
|
||||
|
||||
<H3>Version 20000512</H3>
|
||||
|
||||
<P>Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center
|
||||
Ltd. Expat is freely available with source under a very liberal <a
|
||||
href="copying.txt">license</a> (the MIT license).</P>
|
||||
|
||||
<P>This is a test version of expat which adds support for parsing
|
||||
external DTDs and parameter entities. Compiling with -DXML_DTD
|
||||
enables this support. There's a new <CODE>-p</CODE> option for xmlwf
|
||||
which will cause it to process external DTDs and parameter entities;
|
||||
this implies the <CODE>-x</CODE> option. See the comment above
|
||||
<CODE>XML_SetParamEntityParsing</CODE> in <CODE>xmlparse.h</CODE> for
|
||||
the API addition that enables this.</P>
|
||||
|
||||
<P>Expat is an <A
|
||||
HREF="http://www.w3.org/TR/1998/REC-xml-19980210">XML 1.0</A> parser
|
||||
written in C. It aims to be fully conforming. It is currently not a
|
||||
validating XML processor. The current production version of expat can
|
||||
be downloaded from <A href =
|
||||
"http://www.ThaiOpenSource.com/dist/expat/expat.zip"
|
||||
>http://www.ThaiOpenSource.com/dist/expat/expat.zip</A>.</P>
|
||||
|
||||
<P>The directory <SAMP>xmltok</SAMP> contains a low-level library for
|
||||
tokenizing XML. The interface is documented in
|
||||
<SAMP>xmltok/xmltok.h</SAMP>.</P>
|
||||
|
||||
<P>The directory <SAMP>xmlparse</SAMP> contains an XML parser library
|
||||
which is built on top of the <SAMP>xmltok</SAMP> library. The
|
||||
interface is documented in <SAMP>xmlparse/xmlparse.h</SAMP>. The
|
||||
directory <SAMP>sample</SAMP> contains a simple example program using
|
||||
this interface; <SAMP>sample/build.bat</SAMP> is a batch file to build
|
||||
the example using Visual C++.</P>
|
||||
|
||||
<P>The directory <SAMP>xmlwf</SAMP> contains the <SAMP>xmlwf</SAMP>
|
||||
application, which uses the <SAMP>xmlparse</SAMP> library. The
|
||||
arguments to <SAMP>xmlwf</SAMP> are one or more files which are each
|
||||
to be checked for well-formedness. An option <SAMP>-d
|
||||
<VAR>dir</VAR></SAMP> can be specified; for each well-formed input
|
||||
file the corresponding <A
|
||||
href="http://www.jclark.com/xml/canonxml.html">canonical XML</A> will
|
||||
be written to <SAMP>dir/<VAR>f</VAR></SAMP>, where
|
||||
<SAMP><VAR>f</VAR></SAMP> is the filename (without any path) of the
|
||||
input file. A <CODE>-x</CODE> option will cause references to
|
||||
external general entities to be processed. A <CODE>-s</CODE> option
|
||||
will make documents that are not standalone cause an error (a document
|
||||
is considered standalone if either it is intrinsically standalone
|
||||
because it has no external subset and no references to parameter
|
||||
entities in the internal subset or it is declared as standalone in the
|
||||
XML declaration).</P>
|
||||
|
||||
<P>The <SAMP>bin</SAMP> directory contains Win32 executables. The
|
||||
<SAMP>lib</SAMP> directory contains Win32 import libraries.</P>
|
||||
|
||||
<P>Answers to some frequently asked questions about expat can be found
|
||||
in the <A
|
||||
HREF="http://www.ThaiOpenSource.com/product/expat/expatfaq.html">expat
|
||||
FAQ</A>.</P>
|
||||
|
||||
<P></P>
|
||||
|
||||
<ADDRESS>
|
||||
|
||||
<A HREF="mailto:jjc@ThaiOpenSource.com">James Clark</A>
|
||||
|
||||
</ADDRESS>
|
||||
|
||||
</BODY>
|
||||
|
||||
</HTML>
|
||||
@@ -0,0 +1,11 @@
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: expat
|
||||
Version: @PACKAGE_VERSION@
|
||||
Description: expat XML parser
|
||||
URL: http://www.libexpat.org
|
||||
Libs: -L${libdir} -lexpat
|
||||
Cflags: -I${includedir}
|
||||
@@ -0,0 +1,100 @@
|
||||
%define version 2.1.0
|
||||
%define release 1
|
||||
|
||||
Summary: Expat is an XML 1.0 parser written in C.
|
||||
Name: expat
|
||||
Version: %{version}
|
||||
Release: %{release}
|
||||
Copyright: MIT/X
|
||||
Group: Utilities/parsers
|
||||
URL: http://www.libexpat.org/
|
||||
Source: http://download.sourceforge.net/expat/expat-%{version}.tar.gz
|
||||
BuildRoot: /var/tmp/%{name}-buildroot
|
||||
|
||||
%description
|
||||
Expat is an XML 1.0 parser written in C by James Clark. It aims to be
|
||||
fully conforming. It is not a validating XML parser.
|
||||
|
||||
%prep
|
||||
%setup
|
||||
|
||||
%build
|
||||
./configure
|
||||
make lib xmlwf
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/bin
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/lib
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/include
|
||||
make install prefix=$RPM_BUILD_ROOT/usr
|
||||
install -D xmlwf/xmlwf $RPM_BUILD_ROOT/usr/bin/xmlwf
|
||||
|
||||
%files
|
||||
%doc COPYING Changes MANIFEST README doc/reference.html doc/style.css doc/*.png
|
||||
/usr/bin/xmlwf
|
||||
/usr/lib
|
||||
/usr/include/expat.h
|
||||
/usr/include/expat_external.h
|
||||
/usr/man/man1/xmlwf.1.gz
|
||||
|
||||
%changelog
|
||||
* Sat Mar 3 2012 Karl Waclawek <karl@waclawek.net>
|
||||
[Release 2.1.0-1]
|
||||
- Update for the 2.1.0 release.
|
||||
|
||||
* Sun Nov 26 2006 Karl Waclawek <karl@waclawek.net>
|
||||
[Release 2.0.1-1]
|
||||
- Update for the 2.0.1 release.
|
||||
|
||||
* Fri Jul 16 2004 Fred L. Drake, Jr. <fdrake@acm.org>
|
||||
[Release 1.95.8-1]
|
||||
- Update for the 1.95.8 release.
|
||||
- Add the expat_external.h header to the installed files.
|
||||
|
||||
* Tue Oct 21 2003 Fred L. Drake, Jr. <fdrake@acm.org>
|
||||
- Update list of documentation files; we missed a .png file in the
|
||||
previous release.
|
||||
|
||||
* Mon Oct 20 2003 Fred L. Drake, Jr. <fdrake@acm.org>
|
||||
[Release 1.95.7-1]
|
||||
- Updated for the 1.95.7 release.
|
||||
|
||||
* Sat Jan 25 2003 Fred L. Drake, Jr. <fdrake@acm.org>
|
||||
[Release 1.95.6-1]
|
||||
- Updated for the 1.95.6 release.
|
||||
|
||||
* Wed Sep 4 2002 Fred L. Drake, Jr. <fdrake@acm.org>
|
||||
[Release 1.95.5-1]
|
||||
- Updated for the 1.95.5 release.
|
||||
- Updated URL for Expat home page to point to www.libexpat.org.
|
||||
- Added "Valid XHTML 1.0" icon to the installed documentation.
|
||||
|
||||
* Sat Jun 29 2002 Fred L. Drake, Jr. <fdrake@acm.org>
|
||||
[Release 1.95.4-1]
|
||||
- Updated for the 1.95.4 release.
|
||||
|
||||
* Fri May 17 2002 Fred L. Drake, Jr. <fdrake@acm.org>
|
||||
[Release 1.95.3-1]
|
||||
- Updated for the 1.95.3 release.
|
||||
- Added xmlwf man page to the list of files.
|
||||
|
||||
* Wed Jul 25 2001 Fred L. Drake, Jr. <fdrake@acm.org>
|
||||
[Release 1.95.2-1]
|
||||
- Updated for the 1.95.2 release.
|
||||
|
||||
* Sun Feb 18 2001 Sean Reifschneider <jafo-rpms@tummy.com>
|
||||
[Release 1.95.1-1tummy]
|
||||
- Updated to 1.95.1 release.
|
||||
- Removed the "/usr/include/expat" directory for headers, as it now uses
|
||||
"expat.h" instead of "xmlparser.h".
|
||||
|
||||
* Thu Jan 25 2001 Sean Reifschneider <jafo-rpms@tummy.com>
|
||||
[Release 1.1-3tummy]
|
||||
- Moved xmlparse.h into "/usr/include/expat" directory to prevent conflict
|
||||
with w3c-libwww-devel package.
|
||||
|
||||
* Wed Sep 6 2000 Sean Reifschneider <jafo-rpms@tummy.com>
|
||||
- Modified to install into /usr.
|
||||
- Modified to use RPM_BUILD_ROOT instead of writing directly to install
|
||||
location.
|
||||
Executable
+91
@@ -0,0 +1,91 @@
|
||||
/* expat_config.h.in. Generated from configure.in by autoheader. */
|
||||
|
||||
/* 1234 = LIL_ENDIAN, 4321 = BIGENDIAN */
|
||||
#cmakedefine BYTEORDER @BYTEORDER@
|
||||
|
||||
/* Define to 1 if you have the `bcopy' function. */
|
||||
#cmakedefine HAVE_BCOPY
|
||||
|
||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||
#cmakedefine HAVE_DLFCN_H
|
||||
|
||||
/* Define to 1 if you have the <fcntl.h> header file. */
|
||||
#cmakedefine HAVE_FCNTL_H
|
||||
|
||||
/* Define to 1 if you have the `getpagesize' function. */
|
||||
#cmakedefine HAVE_GETPAGESIZE
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#cmakedefine HAVE_INTTYPES_H
|
||||
|
||||
/* Define to 1 if you have the `memmove' function. */
|
||||
#cmakedefine HAVE_MEMMOVE
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#cmakedefine HAVE_MEMORY_H
|
||||
|
||||
/* Define to 1 if you have a working `mmap' system call. */
|
||||
#cmakedefine HAVE_MMAP
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#cmakedefine HAVE_STDINT_H
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#cmakedefine HAVE_STDLIB_H
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#cmakedefine HAVE_STRINGS_H
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#cmakedefine HAVE_STRING_H
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#cmakedefine HAVE_SYS_STAT_H
|
||||
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#cmakedefine HAVE_SYS_TYPES_H
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#cmakedefine HAVE_UNISTD_H
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#cmakedefine PACKAGE_BUGREPORT
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#cmakedefine PACKAGE_NAME
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#cmakedefine PACKAGE_STRING
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#cmakedefine PACKAGE_TARNAME
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#cmakedefine PACKAGE_VERSION
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#cmakedefine STDC_HEADERS
|
||||
|
||||
/* whether byteorder is bigendian */
|
||||
#cmakedefine WORDS_BIGENDIAN
|
||||
|
||||
/* Define to specify how much context to retain around the current parse
|
||||
point. */
|
||||
#cmakedefine XML_CONTEXT_BYTES @XML_CONTEXT_BYTES@
|
||||
|
||||
/* Define to make parameter entity parsing functionality available. */
|
||||
#cmakedefine XML_DTD
|
||||
|
||||
/* Define to make XML Namespaces functionality available. */
|
||||
#cmakedefine XML_NS
|
||||
|
||||
/* Define to __FUNCTION__ or "" if `__func__' does not conform to ANSI C. */
|
||||
#ifdef _MSC_VER
|
||||
# define __func__ __FUNCTION__
|
||||
#endif
|
||||
|
||||
/* Define to `long' if <sys/types.h> does not define. */
|
||||
#cmakedefine off_t @OFF_T@
|
||||
|
||||
/* Define to `unsigned' if <sys/types.h> does not define. */
|
||||
#cmakedefine size_t @SIZE_T@
|
||||
@@ -1,103 +0,0 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/REC-html40/loose.dtd">
|
||||
|
||||
<HTML>
|
||||
|
||||
<TITLE>expat FAQ</TITLE>
|
||||
|
||||
<BODY>
|
||||
|
||||
<H1>Frequently Asked Questions about Expat</H1>
|
||||
|
||||
<H4>Where can I get the latest version of expat?</H4>
|
||||
|
||||
<p>The latest production version is always available from <a
|
||||
href="http://www.ThaiOpenSource.com/dist/expat"
|
||||
>http://www.ThaiOpenSource.com/dist/expat</a>. If there is a test
|
||||
version, then it will be available from <a
|
||||
href="http://www.ThaiOpenSource.com/dist/expat/test"
|
||||
>http://www.ThaiOpenSource.com/dist/expat/test</a>.</p>
|
||||
|
||||
<H4>Where can I get help in using expat?</H4>
|
||||
|
||||
<p>Try the xml-dev mailing list (subscribe by mailing to <a
|
||||
href="mailto:majordomo@xml.org&BODY=subscribe%20xml-dev">majordomo@xml.org</a>
|
||||
with the message <code>subscribe xml-dev</code>). Alternatively try
|
||||
the <a href="news:comp.text.xml">comp.text.xml</a> USENET
|
||||
newsgroup.</p>
|
||||
|
||||
<H4>Where is expat's API documented?</H4>
|
||||
|
||||
<p>In <code>xmlparse/xmlparse.h</code>. There's also an advanced,
|
||||
low-level API you can use which is documented in
|
||||
<code>xmltok/xmltok.h</code>.</p>
|
||||
|
||||
<p>There's also an excellent <a
|
||||
href="http://www.xml.com/pub/1999/09/expat/index.html">article</a>
|
||||
about expat on XML.com by Clark Cooper.</p>
|
||||
|
||||
<H4>Is there a simple example of using expat's API?</H4>
|
||||
|
||||
<p>See <code>sample/elements.c</code></p>
|
||||
|
||||
<H4>How can I get expat to deal with non-ASCII characters?</H4>
|
||||
|
||||
<P>By default, expat assumes that documents are encoded in UTF-8. In
|
||||
UTF-8, ASCII characters are represented by a single byte as they would
|
||||
be in ASCII, but non-ASCII characters are represented by a sequence of
|
||||
two or more bytes all with the 8th bit set. The encoding most widely
|
||||
used for European languages is ISO 8859-1 which is not compatible with
|
||||
UTF-8. To use this encoding, expat must be told either by supplying
|
||||
an argument of <code>"iso-8859-1"</code> to
|
||||
<code>XML_ParserCreate</code>, or by starting the document with
|
||||
<code><?xml version="1.0" encoding="iso-8859-1"?></code>.</P>
|
||||
|
||||
<H4>What encodings does expat support?</H4>
|
||||
|
||||
<P>expat has built in support for the following encodings:</P>
|
||||
|
||||
<ul>
|
||||
<li><code>utf-8</code></li>
|
||||
<li><code>utf-16</code></li>
|
||||
<li><code>iso-8859-1</code></li>
|
||||
<li><code>us-ascii</code></li>
|
||||
</ul>
|
||||
|
||||
<P>Additional encodings can be supported by using
|
||||
<code>XML_SetUnknownEncodingHandler</code>.</P>
|
||||
|
||||
<H4>How can I get expat to validate my XML documents?</H4>
|
||||
|
||||
<p>You can't. expat is not a validating parser.</p>
|
||||
|
||||
<H4>How can I get expat to read my DTD?</H4>
|
||||
|
||||
<p>Compile with <code>-DXML_DTD</code> and call
|
||||
<code>XML_SetParamEntityParsing</code>.</p>
|
||||
|
||||
<H4>How can I get expat to recover from errors?</H4>
|
||||
|
||||
<p>You can't. All well-formedness errors stop processing. Note that
|
||||
the XML Recommendation does not permit conforming XML processors to
|
||||
continue normal processing after a fatal error.</p>
|
||||
|
||||
<H4>How do I get at the characters between tags?</H4>
|
||||
|
||||
<p>Use <code>XML_SetCharacterDataHandler</code>.</p>
|
||||
|
||||
<H4>How can I minimize the size of expat?</H4>
|
||||
|
||||
<p>Compile with <code>-DXML_MIN_SIZE</code>. With Visual C++, use the
|
||||
<code>Win32 MinSize</code> configuration: this creates an
|
||||
<code>xmlparse.dll</code> that does not require
|
||||
<code>xmltok.dll</code>.</p>
|
||||
|
||||
<ADDRESS>
|
||||
|
||||
<A HREF="mailto:jjc@ThaiOpenSource.com">James Clark</A>
|
||||
|
||||
</ADDRESS>
|
||||
|
||||
</BODY>
|
||||
|
||||
</HTML>
|
||||
@@ -1,31 +0,0 @@
|
||||
expat.html
|
||||
xmltok/ascii.h
|
||||
xmltok/asciitab.h
|
||||
xmltok/dllmain.c
|
||||
gennmtab/gennmtab.c
|
||||
xmltok/iasciitab.h
|
||||
xmltok/latin1tab.h
|
||||
Makefile
|
||||
xmltok/nametab.h
|
||||
xmltok/utf8tab.h
|
||||
xmltok/xmldef.h
|
||||
xmltok/xmlrole.c
|
||||
xmltok/xmlrole.h
|
||||
xmltok/xmltok.c
|
||||
xmltok/xmltok.h
|
||||
xmltok/xmltok_impl.c
|
||||
xmltok/xmltok_impl.h
|
||||
xmltok/xmltok_ns.c
|
||||
xmlparse/xmlparse.c
|
||||
xmlparse/xmlparse.h
|
||||
xmlwf/codepage.c
|
||||
xmlwf/codepage.h
|
||||
xmlwf/filemap.h
|
||||
xmlwf/readfilemap.c
|
||||
xmlwf/unixfilemap.c
|
||||
xmlwf/win32filemap.c
|
||||
xmlwf/xmlfile.c
|
||||
xmlwf/xmlfile.h
|
||||
xmlwf/xmltchar.h
|
||||
xmlwf/xmlwf.c
|
||||
sample/elements.c
|
||||
+18
-16
@@ -1,6 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd
|
||||
See the file copying.txt for copying permission.
|
||||
/* Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd
|
||||
See the file COPYING for copying permission.
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
@@ -354,21 +353,23 @@ struct range name[] = {
|
||||
{ 0x30fc, 0x30fe },
|
||||
};
|
||||
|
||||
void setTab(char *tab, struct range *ranges, size_t nRanges)
|
||||
static void
|
||||
setTab(char *tab, struct range *ranges, size_t nRanges)
|
||||
{
|
||||
size_t i;
|
||||
int j;
|
||||
for (i = 0; i < nRanges; i++) {
|
||||
if (ranges[i].end) {
|
||||
for (j = ranges[i].start; j <= ranges[i].end; j++)
|
||||
tab[j] = 1;
|
||||
tab[j] = 1;
|
||||
}
|
||||
else
|
||||
tab[ranges[i].start] = 1;
|
||||
}
|
||||
}
|
||||
|
||||
void printTabs(char *tab)
|
||||
static void
|
||||
printTabs(char *tab)
|
||||
{
|
||||
int nBitmaps = 2;
|
||||
int i, j, k;
|
||||
@@ -384,21 +385,21 @@ void printTabs(char *tab)
|
||||
int kind = tab[i*256];
|
||||
for (j = 1; j < 256; j++)
|
||||
if (tab[i*256 +j] != kind) {
|
||||
kind = -1;
|
||||
break;
|
||||
kind = -1;
|
||||
break;
|
||||
}
|
||||
if (i >= 256 && memcmp(tab + (i - 256)*256, tab + i*256, 256) == 0)
|
||||
pageIndex[i] = pageIndex[i - 256];
|
||||
else if (kind == -1) {
|
||||
pageIndex[i] = nBitmaps++;
|
||||
for (j = 0; j < 8; j++) {
|
||||
unsigned val = 0;
|
||||
for (k = 0; k < 32; k++) {
|
||||
if (tab[i*256 + j*32 +k])
|
||||
val |= (1 << k);
|
||||
}
|
||||
printf("0x%08X,", val);
|
||||
putchar((((j + 1) & 3) == 0) ? '\n' : ' ');
|
||||
unsigned val = 0;
|
||||
for (k = 0; k < 32; k++) {
|
||||
if (tab[i*256 + j*32 +k])
|
||||
val |= (1 << k);
|
||||
}
|
||||
printf("0x%08X,", val);
|
||||
putchar((((j + 1) & 3) == 0) ? '\n' : ' ');
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -415,7 +416,8 @@ void printTabs(char *tab)
|
||||
printf("};\n");
|
||||
}
|
||||
|
||||
int main()
|
||||
int
|
||||
main()
|
||||
{
|
||||
char tab[2*65536];
|
||||
memset(tab, 0, 65536);
|
||||
|
||||
+101
-101
@@ -1,101 +1,101 @@
|
||||
# Microsoft Developer Studio Project File - Name="gennmtab" - Package Owner=<4>
|
||||
# Microsoft Developer Studio Generated Build File, Format Version 6.00
|
||||
# ** DO NOT EDIT **
|
||||
|
||||
# TARGTYPE "Win32 (x86) Console Application" 0x0103
|
||||
|
||||
CFG=gennmtab - Win32 Release
|
||||
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
|
||||
!MESSAGE use the Export Makefile command and run
|
||||
!MESSAGE
|
||||
!MESSAGE NMAKE /f "gennmtab.mak".
|
||||
!MESSAGE
|
||||
!MESSAGE You can specify a configuration when running NMAKE
|
||||
!MESSAGE by defining the macro CFG on the command line. For example:
|
||||
!MESSAGE
|
||||
!MESSAGE NMAKE /f "gennmtab.mak" CFG="gennmtab - Win32 Release"
|
||||
!MESSAGE
|
||||
!MESSAGE Possible choices for configuration are:
|
||||
!MESSAGE
|
||||
!MESSAGE "gennmtab - Win32 Release" (based on "Win32 (x86) Console Application")
|
||||
!MESSAGE "gennmtab - Win32 Debug" (based on "Win32 (x86) Console Application")
|
||||
!MESSAGE
|
||||
|
||||
# Begin Project
|
||||
# PROP AllowPerConfigDependencies 0
|
||||
# PROP Scc_ProjName ""
|
||||
# PROP Scc_LocalPath ""
|
||||
CPP=cl.exe
|
||||
RSC=rc.exe
|
||||
|
||||
!IF "$(CFG)" == "gennmtab - Win32 Release"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 0
|
||||
# PROP BASE Output_Dir ".\Release"
|
||||
# PROP BASE Intermediate_Dir ".\Release"
|
||||
# PROP BASE Target_Dir "."
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 0
|
||||
# PROP Output_Dir ".\Release"
|
||||
# PROP Intermediate_Dir ".\Release"
|
||||
# PROP Target_Dir "."
|
||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c
|
||||
# ADD CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /FD /c
|
||||
# ADD BASE RSC /l 0x809 /d "NDEBUG"
|
||||
# ADD RSC /l 0x809 /d "NDEBUG"
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
|
||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
|
||||
|
||||
!ELSEIF "$(CFG)" == "gennmtab - Win32 Debug"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 1
|
||||
# PROP BASE Output_Dir ".\Debug"
|
||||
# PROP BASE Intermediate_Dir ".\Debug"
|
||||
# PROP BASE Target_Dir "."
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 1
|
||||
# PROP Output_Dir ".\Debug"
|
||||
# PROP Intermediate_Dir ".\Debug"
|
||||
# PROP Ignore_Export_Lib 0
|
||||
# PROP Target_Dir "."
|
||||
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c
|
||||
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /FD /c
|
||||
# ADD BASE RSC /l 0x809 /d "_DEBUG"
|
||||
# ADD RSC /l 0x809 /d "_DEBUG"
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386
|
||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386
|
||||
|
||||
!ENDIF
|
||||
|
||||
# Begin Target
|
||||
|
||||
# Name "gennmtab - Win32 Release"
|
||||
# Name "gennmtab - Win32 Debug"
|
||||
# Begin Group "Source Files"
|
||||
|
||||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat;for;f90"
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\gennmtab.c
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "Header Files"
|
||||
|
||||
# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd"
|
||||
# End Group
|
||||
# Begin Group "Resource Files"
|
||||
|
||||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe"
|
||||
# End Group
|
||||
# End Target
|
||||
# End Project
|
||||
# Microsoft Developer Studio Project File - Name="gennmtab" - Package Owner=<4>
|
||||
# Microsoft Developer Studio Generated Build File, Format Version 6.00
|
||||
# ** DO NOT EDIT **
|
||||
|
||||
# TARGTYPE "Win32 (x86) Console Application" 0x0103
|
||||
|
||||
CFG=gennmtab - Win32 Release
|
||||
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
|
||||
!MESSAGE use the Export Makefile command and run
|
||||
!MESSAGE
|
||||
!MESSAGE NMAKE /f "gennmtab.mak".
|
||||
!MESSAGE
|
||||
!MESSAGE You can specify a configuration when running NMAKE
|
||||
!MESSAGE by defining the macro CFG on the command line. For example:
|
||||
!MESSAGE
|
||||
!MESSAGE NMAKE /f "gennmtab.mak" CFG="gennmtab - Win32 Release"
|
||||
!MESSAGE
|
||||
!MESSAGE Possible choices for configuration are:
|
||||
!MESSAGE
|
||||
!MESSAGE "gennmtab - Win32 Release" (based on "Win32 (x86) Console Application")
|
||||
!MESSAGE "gennmtab - Win32 Debug" (based on "Win32 (x86) Console Application")
|
||||
!MESSAGE
|
||||
|
||||
# Begin Project
|
||||
# PROP AllowPerConfigDependencies 0
|
||||
# PROP Scc_ProjName ""
|
||||
# PROP Scc_LocalPath ""
|
||||
CPP=cl.exe
|
||||
RSC=rc.exe
|
||||
|
||||
!IF "$(CFG)" == "gennmtab - Win32 Release"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 0
|
||||
# PROP BASE Output_Dir ".\Release"
|
||||
# PROP BASE Intermediate_Dir ".\Release"
|
||||
# PROP BASE Target_Dir "."
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 0
|
||||
# PROP Output_Dir ".\Release"
|
||||
# PROP Intermediate_Dir ".\Release"
|
||||
# PROP Target_Dir "."
|
||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c
|
||||
# ADD CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /FD /c
|
||||
# ADD BASE RSC /l 0x809 /d "NDEBUG"
|
||||
# ADD RSC /l 0x809 /d "NDEBUG"
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
|
||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
|
||||
|
||||
!ELSEIF "$(CFG)" == "gennmtab - Win32 Debug"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 1
|
||||
# PROP BASE Output_Dir ".\Debug"
|
||||
# PROP BASE Intermediate_Dir ".\Debug"
|
||||
# PROP BASE Target_Dir "."
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 1
|
||||
# PROP Output_Dir ".\Debug"
|
||||
# PROP Intermediate_Dir ".\Debug"
|
||||
# PROP Ignore_Export_Lib 0
|
||||
# PROP Target_Dir "."
|
||||
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c
|
||||
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /FD /c
|
||||
# ADD BASE RSC /l 0x809 /d "_DEBUG"
|
||||
# ADD RSC /l 0x809 /d "_DEBUG"
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386
|
||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386
|
||||
|
||||
!ENDIF
|
||||
|
||||
# Begin Target
|
||||
|
||||
# Name "gennmtab - Win32 Release"
|
||||
# Name "gennmtab - Win32 Debug"
|
||||
# Begin Group "Source Files"
|
||||
|
||||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat;for;f90"
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\gennmtab.c
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "Header Files"
|
||||
|
||||
# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd"
|
||||
# End Group
|
||||
# Begin Group "Resource Files"
|
||||
|
||||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe"
|
||||
# End Group
|
||||
# End Target
|
||||
# End Project
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
Makefile
|
||||
.libs
|
||||
*.lo
|
||||
expat.h
|
||||
Debug
|
||||
Debug-w
|
||||
Release
|
||||
Release-w
|
||||
expat.ncb
|
||||
expat.opt
|
||||
expat.plg
|
||||
Debug_static
|
||||
Debug-w_static
|
||||
Release_static
|
||||
Release-w_static
|
||||
expat_static.plg
|
||||
expatw.plg
|
||||
expatw_static.plg
|
||||
@@ -0,0 +1,206 @@
|
||||
# File: Makefile.MPW
|
||||
# Targets: All, Dynamic, Static (and Clean, Clean-All)
|
||||
# Created: Tuesday, July 02, 2002
|
||||
#
|
||||
# MPW Makefile for building expat under the "classic" (i.e. pre-X) Mac OS
|
||||
# Copyright © 2002 Daryle Walker
|
||||
# Portions Copyright © 2002 Thomas Wegner
|
||||
# See the COPYING file for distribution information
|
||||
#
|
||||
# Description:
|
||||
# This Makefile lets you build static, dynamic (i.e. shared) and stub
|
||||
# versions of the expat library as well as the elements.c and outline.c
|
||||
# examples (built as tools for MPW). This is for PPC only; it should be
|
||||
# no problem to build a 68K version of the expat library, though.
|
||||
#
|
||||
# Usage:
|
||||
# Buildprogram All
|
||||
# or Buildprogram Dynamic
|
||||
# or Buildprogram Static
|
||||
#
|
||||
# Note: You first have to rename this file to "Makefile", or the Buildprogram
|
||||
# commando will not recognize it.
|
||||
#
|
||||
|
||||
MAKEFILE = Makefile
|
||||
¥MondoBuild¥ = {MAKEFILE} # Make blank to avoid rebuilds when makefile is modified
|
||||
|
||||
ObjDir = :
|
||||
SrcDir = :
|
||||
HdrDir = :
|
||||
|
||||
ToolDir = ::examples:
|
||||
|
||||
Includes = -i {HdrDir}
|
||||
|
||||
Sym-PPC = -sym off
|
||||
|
||||
Defines = -d MACOS_CLASSIC
|
||||
|
||||
PPCCOptions = {Includes} {Sym-PPC} -w 35 {Defines}
|
||||
|
||||
FragName = libexpat
|
||||
|
||||
|
||||
### Source Files ###
|
||||
|
||||
SrcFiles = ¶
|
||||
"{SrcDir}xmlparse.c" ¶
|
||||
"{SrcDir}xmlrole.c" ¶
|
||||
"{SrcDir}xmltok.c"
|
||||
|
||||
ToolSrcFiles = ¶
|
||||
"{ToolDir}elements.c" ¶
|
||||
"{ToolDir}outline.c"
|
||||
|
||||
|
||||
### Object Files ###
|
||||
|
||||
ObjFiles-PPC = ¶
|
||||
"{ObjDir}xmlparse.c.o" ¶
|
||||
"{ObjDir}xmlrole.c.o" ¶
|
||||
"{ObjDir}xmltok.c.o"
|
||||
|
||||
ElementToolObjFile = "{ObjDir}elements.c.o"
|
||||
|
||||
OutlineToolObjFile = "{ObjDir}outline.c.o"
|
||||
|
||||
|
||||
### Libraries ###
|
||||
|
||||
StLibFiles-PPC = ¶
|
||||
"{PPCLibraries}StdCRuntime.o" ¶
|
||||
"{PPCLibraries}PPCCRuntime.o" ¶
|
||||
"{PPCLibraries}PPCToolLibs.o"
|
||||
|
||||
ShLibFiles-PPC = ¶
|
||||
"{SharedLibraries}InterfaceLib" ¶
|
||||
"{SharedLibraries}StdCLib" ¶
|
||||
"{SharedLibraries}MathLib"
|
||||
|
||||
LibFiles-PPC = ¶
|
||||
{StLibFiles-PPC} ¶
|
||||
{ShLibFiles-PPC}
|
||||
|
||||
|
||||
### Special Files ###
|
||||
|
||||
ExportFile = "{ObjDir}{FragName}.exp"
|
||||
|
||||
StLibFile = "{ObjDir}{FragName}.MrC.o"
|
||||
|
||||
ShLibFile = "{ObjDir}{FragName}"
|
||||
|
||||
StubFile = "{ObjDir}{FragName}.stub"
|
||||
|
||||
ElementsTool = "{ToolDir}elements"
|
||||
|
||||
OutlineTool = "{ToolDir}outline"
|
||||
|
||||
|
||||
### Default Rules ###
|
||||
|
||||
.c.o Ä .c {¥MondoBuild¥}
|
||||
{PPCC} {depDir}{default}.c -o {targDir}{default}.c.o {PPCCOptions}
|
||||
|
||||
|
||||
### Build Rules ###
|
||||
|
||||
All Ä Dynamic {ElementsTool} {OutlineTool}
|
||||
|
||||
Static Ä {StLibFile}
|
||||
|
||||
Dynamic Ä Static {ShLibFile} {StubFile}
|
||||
|
||||
{StLibFile} ÄÄ {ObjFiles-PPC} {StLibFiles-PPC} {¥MondoBuild¥}
|
||||
PPCLink ¶
|
||||
-o {Targ} ¶
|
||||
{ObjFiles-PPC} ¶
|
||||
{StLibFiles-PPC} ¶
|
||||
{Sym-PPC} ¶
|
||||
-mf -d ¶
|
||||
-t 'XCOF' ¶
|
||||
-c 'MPS ' ¶
|
||||
-xm l
|
||||
|
||||
{ShLibFile} ÄÄ {StLibFile} {ShLibFiles-PPC} {ExportFile} {¥MondoBuild¥}
|
||||
PPCLink ¶
|
||||
-o {Targ} ¶
|
||||
{StLibFile} ¶
|
||||
{ShLibFiles-PPC} ¶
|
||||
{Sym-PPC} ¶
|
||||
-@export {ExportFile} ¶
|
||||
-fragname {FragName} ¶
|
||||
-mf -d ¶
|
||||
-t 'shlb' ¶
|
||||
-c '????' ¶
|
||||
-xm s
|
||||
|
||||
{StubFile} ÄÄ {ShLibFile} {¥MondoBuild¥}
|
||||
shlb2stub -o {Targ} {ShLibFile}
|
||||
|
||||
{ElementsTool} ÄÄ {ElementToolObjFile} {StubFile} {LibFiles-PPC} {¥MondoBuild¥}
|
||||
PPCLink ¶
|
||||
-o {Targ} ¶
|
||||
{ElementToolObjFile} ¶
|
||||
{StLibFile} ¶
|
||||
{LibFiles-PPC} ¶
|
||||
{Sym-PPC} ¶
|
||||
-mf -d ¶
|
||||
-t 'MPST' ¶
|
||||
-c 'MPS '
|
||||
|
||||
{OutlineTool} ÄÄ {OutlineToolObjFile} {StubFile} {LibFiles-PPC} {¥MondoBuild¥}
|
||||
PPCLink ¶
|
||||
-o {Targ} ¶
|
||||
{OutlineToolObjFile} ¶
|
||||
{StLibFile} ¶
|
||||
{LibFiles-PPC} ¶
|
||||
{Sym-PPC} ¶
|
||||
-mf -d ¶
|
||||
-t 'MPST' ¶
|
||||
-c 'MPS '
|
||||
|
||||
|
||||
### Special Rules ###
|
||||
|
||||
{ExportFile} ÄÄ "{HdrDir}expat.h" {¥MondoBuild¥}
|
||||
StreamEdit -d ¶
|
||||
-e "/¥('XMLPARSEAPI('Å') ')Ç0,1È'XML_'([A-Za-z0-9_]+)¨1'('/ Print 'XML_' ¨1" ¶
|
||||
"{HdrDir}expat.h" > {Targ}
|
||||
|
||||
|
||||
### Required Dependencies ###
|
||||
|
||||
"{ObjDir}xmlparse.c.o" Ä "{SrcDir}xmlparse.c"
|
||||
"{ObjDir}xmlrole.c.o" Ä "{SrcDir}xmlrole.c"
|
||||
"{ObjDir}xmltok.c.o" Ä "{SrcDir}xmltok.c"
|
||||
|
||||
"{ObjDir}elements.c.o" Ä "{ToolDir}elements.c"
|
||||
"{ObjDir}outline.c.o" Ä "{ToolDir}outline.c"
|
||||
|
||||
|
||||
### Optional Dependencies ###
|
||||
### Build this target to clean out generated intermediate files. ###
|
||||
|
||||
Clean Ä
|
||||
Delete {ObjFiles-PPC} {ExportFile} {ElementToolObjFile} {OutlineToolObjFile}
|
||||
|
||||
### Build this target to clean out all generated files. ###
|
||||
|
||||
Clean-All Ä Clean
|
||||
Delete {StLibFile} {ShLibFile} {StubFile} {ElementsTool} {OutlineTool}
|
||||
|
||||
### Build this target to generate "include file" dependencies. ###
|
||||
|
||||
Dependencies Ä $OutOfDate
|
||||
MakeDepend ¶
|
||||
-append {MAKEFILE} ¶
|
||||
-ignore "{CIncludes}" ¶
|
||||
-objdir "{ObjDir}" ¶
|
||||
-objext .o ¶
|
||||
{Defines} ¶
|
||||
{Includes} ¶
|
||||
{SrcFiles}
|
||||
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
#ifndef AMIGACONFIG_H
|
||||
#define AMIGACONFIG_H
|
||||
|
||||
/* 1234 = LIL_ENDIAN, 4321 = BIGENDIAN */
|
||||
#define BYTEORDER 4321
|
||||
|
||||
/* Define to 1 if you have the `bcopy' function. */
|
||||
#define HAVE_BCOPY 1
|
||||
|
||||
/* Define to 1 if you have the <check.h> header file. */
|
||||
#undef HAVE_CHECK_H
|
||||
|
||||
/* Define to 1 if you have the `memmove' function. */
|
||||
#define HAVE_MEMMOVE 1
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#define HAVE_UNISTD_H 1
|
||||
|
||||
/* whether byteorder is bigendian */
|
||||
#define WORDS_BIGENDIAN
|
||||
|
||||
/* Define to specify how much context to retain around the current parse
|
||||
point. */
|
||||
#define XML_CONTEXT_BYTES 1024
|
||||
|
||||
/* Define to make parameter entity parsing functionality available. */
|
||||
#define XML_DTD
|
||||
|
||||
/* Define to make XML Namespaces functionality available. */
|
||||
#define XML_NS
|
||||
|
||||
#endif /* AMIGACONFIG_H */
|
||||
Executable → Regular
+10
-4
@@ -1,6 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd
|
||||
See the file copying.txt for copying permission.
|
||||
/* Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd
|
||||
See the file COPYING for copying permission.
|
||||
*/
|
||||
|
||||
#define ASCII_A 0x41
|
||||
@@ -69,7 +68,7 @@ See the file copying.txt for copying permission.
|
||||
#define ASCII_9 0x39
|
||||
|
||||
#define ASCII_TAB 0x09
|
||||
#define ASCII_SPACE 0x20
|
||||
#define ASCII_SPACE 0x20
|
||||
#define ASCII_EXCL 0x21
|
||||
#define ASCII_QUOT 0x22
|
||||
#define ASCII_AMP 0x26
|
||||
@@ -84,3 +83,10 @@ See the file copying.txt for copying permission.
|
||||
#define ASCII_LSQB 0x5B
|
||||
#define ASCII_RSQB 0x5D
|
||||
#define ASCII_UNDERSCORE 0x5F
|
||||
#define ASCII_LPAREN 0x28
|
||||
#define ASCII_RPAREN 0x29
|
||||
#define ASCII_FF 0x0C
|
||||
#define ASCII_SLASH 0x2F
|
||||
#define ASCII_HASH 0x23
|
||||
#define ASCII_PIPE 0x7C
|
||||
#define ASCII_COMMA 0x2C
|
||||
Executable → Regular
+2
-3
@@ -1,6 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd
|
||||
See the file copying.txt for copying permission.
|
||||
/* Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd
|
||||
See the file COPYING for copying permission.
|
||||
*/
|
||||
|
||||
/* 0x00 */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML,
|
||||
@@ -0,0 +1,185 @@
|
||||
# Microsoft Developer Studio Project File - Name="expat" - Package Owner=<4>
|
||||
# Microsoft Developer Studio Generated Build File, Format Version 6.00
|
||||
# ** DO NOT EDIT **
|
||||
|
||||
# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
|
||||
|
||||
CFG=expat - Win32 Debug
|
||||
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
|
||||
!MESSAGE use the Export Makefile command and run
|
||||
!MESSAGE
|
||||
!MESSAGE NMAKE /f "expat.mak".
|
||||
!MESSAGE
|
||||
!MESSAGE You can specify a configuration when running NMAKE
|
||||
!MESSAGE by defining the macro CFG on the command line. For example:
|
||||
!MESSAGE
|
||||
!MESSAGE NMAKE /f "expat.mak" CFG="expat - Win32 Debug"
|
||||
!MESSAGE
|
||||
!MESSAGE Possible choices for configuration are:
|
||||
!MESSAGE
|
||||
!MESSAGE "expat - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
|
||||
!MESSAGE "expat - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
|
||||
!MESSAGE
|
||||
|
||||
# Begin Project
|
||||
# PROP AllowPerConfigDependencies 0
|
||||
# PROP Scc_ProjName ""
|
||||
# PROP Scc_LocalPath ""
|
||||
CPP=cl.exe
|
||||
MTL=midl.exe
|
||||
RSC=rc.exe
|
||||
|
||||
!IF "$(CFG)" == "expat - Win32 Release"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 0
|
||||
# PROP BASE Output_Dir "Release"
|
||||
# PROP BASE Intermediate_Dir "Release"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 0
|
||||
# PROP Output_Dir "..\win32\bin\Release"
|
||||
# PROP Intermediate_Dir "..\win32\tmp\Release"
|
||||
# PROP Ignore_Export_Lib 0
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "EXPAT_EXPORTS" /Yu"stdafx.h" /FD /c
|
||||
# ADD CPP /nologo /MT /W3 /GX /O2 /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "COMPILED_FROM_DSP" /FD /c
|
||||
# SUBTRACT CPP /YX /Yc /Yu
|
||||
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
|
||||
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
|
||||
# ADD BASE RSC /l 0x409 /d "NDEBUG"
|
||||
# ADD RSC /l 0x409 /d "NDEBUG"
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 /nologo /dll /machine:I386
|
||||
# ADD LINK32 /nologo /dll /pdb:none /machine:I386 /out:"..\win32\bin\Release\libexpat.dll"
|
||||
|
||||
!ELSEIF "$(CFG)" == "expat - Win32 Debug"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 1
|
||||
# PROP BASE Output_Dir "Debug"
|
||||
# PROP BASE Intermediate_Dir "Debug"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 1
|
||||
# PROP Output_Dir "..\win32\bin\Debug"
|
||||
# PROP Intermediate_Dir "..\win32\tmp\Debug"
|
||||
# PROP Ignore_Export_Lib 0
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "EXPAT_EXPORTS" /Yu"stdafx.h" /FD /GZ /c
|
||||
# ADD CPP /nologo /MTd /W3 /GX /ZI /Od /D "_DEBUG" /D "COMPILED_FROM_DSP" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /FR /FD /GZ /c
|
||||
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
|
||||
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
|
||||
# ADD BASE RSC /l 0x409 /d "_DEBUG"
|
||||
# ADD RSC /l 0x409 /d "_DEBUG"
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 /nologo /dll /debug /machine:I386 /pdbtype:sept
|
||||
# ADD LINK32 /nologo /dll /pdb:none /debug /machine:I386 /out:"..\win32\bin\Debug\libexpat.dll"
|
||||
|
||||
!ENDIF
|
||||
|
||||
# Begin Target
|
||||
|
||||
# Name "expat - Win32 Release"
|
||||
# Name "expat - Win32 Debug"
|
||||
# Begin Group "Source Files"
|
||||
|
||||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\libexpat.def
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\xmlparse.c
|
||||
|
||||
!IF "$(CFG)" == "expat - Win32 Release"
|
||||
|
||||
!ELSEIF "$(CFG)" == "expat - Win32 Debug"
|
||||
|
||||
# ADD CPP /GX- /Od
|
||||
|
||||
!ENDIF
|
||||
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\xmlrole.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\xmltok.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\xmltok_impl.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\xmltok_ns.c
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "Header Files"
|
||||
|
||||
# PROP Default_Filter "h;hpp;hxx;hm;inl"
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\ascii.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\asciitab.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\expat.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\expat_external.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\iasciitab.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\internal.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\latin1tab.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\nametab.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\utf8tab.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\xmlrole.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\xmltok.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\xmltok_impl.h
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "Resource Files"
|
||||
|
||||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
|
||||
# End Group
|
||||
# End Target
|
||||
# End Project
|
||||
+1047
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,115 @@
|
||||
/* Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd
|
||||
See the file COPYING for copying permission.
|
||||
*/
|
||||
|
||||
#ifndef Expat_External_INCLUDED
|
||||
#define Expat_External_INCLUDED 1
|
||||
|
||||
/* External API definitions */
|
||||
|
||||
#if defined(_MSC_EXTENSIONS) && !defined(__BEOS__) && !defined(__CYGWIN__)
|
||||
#define XML_USE_MSC_EXTENSIONS 1
|
||||
#endif
|
||||
|
||||
/* Expat tries very hard to make the API boundary very specifically
|
||||
defined. There are two macros defined to control this boundary;
|
||||
each of these can be defined before including this header to
|
||||
achieve some different behavior, but doing so it not recommended or
|
||||
tested frequently.
|
||||
|
||||
XMLCALL - The calling convention to use for all calls across the
|
||||
"library boundary." This will default to cdecl, and
|
||||
try really hard to tell the compiler that's what we
|
||||
want.
|
||||
|
||||
XMLIMPORT - Whatever magic is needed to note that a function is
|
||||
to be imported from a dynamically loaded library
|
||||
(.dll, .so, or .sl, depending on your platform).
|
||||
|
||||
The XMLCALL macro was added in Expat 1.95.7. The only one which is
|
||||
expected to be directly useful in client code is XMLCALL.
|
||||
|
||||
Note that on at least some Unix versions, the Expat library must be
|
||||
compiled with the cdecl calling convention as the default since
|
||||
system headers may assume the cdecl convention.
|
||||
*/
|
||||
#ifndef XMLCALL
|
||||
#if defined(_MSC_VER)
|
||||
#define XMLCALL __cdecl
|
||||
#elif defined(__GNUC__) && defined(__i386) && !defined(__INTEL_COMPILER)
|
||||
#define XMLCALL __attribute__((cdecl))
|
||||
#else
|
||||
/* For any platform which uses this definition and supports more than
|
||||
one calling convention, we need to extend this definition to
|
||||
declare the convention used on that platform, if it's possible to
|
||||
do so.
|
||||
|
||||
If this is the case for your platform, please file a bug report
|
||||
with information on how to identify your platform via the C
|
||||
pre-processor and how to specify the same calling convention as the
|
||||
platform's malloc() implementation.
|
||||
*/
|
||||
#define XMLCALL
|
||||
#endif
|
||||
#endif /* not defined XMLCALL */
|
||||
|
||||
|
||||
#if !defined(XML_STATIC) && !defined(XMLIMPORT)
|
||||
#ifndef XML_BUILDING_EXPAT
|
||||
/* using Expat from an application */
|
||||
|
||||
#ifdef XML_USE_MSC_EXTENSIONS
|
||||
#define XMLIMPORT __declspec(dllimport)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif /* not defined XML_STATIC */
|
||||
|
||||
|
||||
/* If we didn't define it above, define it away: */
|
||||
#ifndef XMLIMPORT
|
||||
#define XMLIMPORT
|
||||
#endif
|
||||
|
||||
|
||||
#define XMLPARSEAPI(type) XMLIMPORT type XMLCALL
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifdef XML_UNICODE_WCHAR_T
|
||||
#define XML_UNICODE
|
||||
#endif
|
||||
|
||||
#ifdef XML_UNICODE /* Information is UTF-16 encoded. */
|
||||
#ifdef XML_UNICODE_WCHAR_T
|
||||
typedef wchar_t XML_Char;
|
||||
typedef wchar_t XML_LChar;
|
||||
#else
|
||||
typedef unsigned short XML_Char;
|
||||
typedef char XML_LChar;
|
||||
#endif /* XML_UNICODE_WCHAR_T */
|
||||
#else /* Information is UTF-8 encoded. */
|
||||
typedef char XML_Char;
|
||||
typedef char XML_LChar;
|
||||
#endif /* XML_UNICODE */
|
||||
|
||||
#ifdef XML_LARGE_SIZE /* Use large integers for file/stream positions. */
|
||||
#if defined(XML_USE_MSC_EXTENSIONS) && _MSC_VER < 1400
|
||||
typedef __int64 XML_Index;
|
||||
typedef unsigned __int64 XML_Size;
|
||||
#else
|
||||
typedef long long XML_Index;
|
||||
typedef unsigned long long XML_Size;
|
||||
#endif
|
||||
#else
|
||||
typedef long XML_Index;
|
||||
typedef unsigned long XML_Size;
|
||||
#endif /* XML_LARGE_SIZE */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* not Expat_External_INCLUDED */
|
||||
@@ -0,0 +1,162 @@
|
||||
# Microsoft Developer Studio Project File - Name="expat_static" - Package Owner=<4>
|
||||
# Microsoft Developer Studio Generated Build File, Format Version 6.00
|
||||
# ** DO NOT EDIT **
|
||||
|
||||
# TARGTYPE "Win32 (x86) Static Library" 0x0104
|
||||
|
||||
CFG=expat_static - Win32 Debug
|
||||
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
|
||||
!MESSAGE use the Export Makefile command and run
|
||||
!MESSAGE
|
||||
!MESSAGE NMAKE /f "expat_static.mak".
|
||||
!MESSAGE
|
||||
!MESSAGE You can specify a configuration when running NMAKE
|
||||
!MESSAGE by defining the macro CFG on the command line. For example:
|
||||
!MESSAGE
|
||||
!MESSAGE NMAKE /f "expat_static.mak" CFG="expat_static - Win32 Debug"
|
||||
!MESSAGE
|
||||
!MESSAGE Possible choices for configuration are:
|
||||
!MESSAGE
|
||||
!MESSAGE "expat_static - Win32 Release" (based on "Win32 (x86) Static Library")
|
||||
!MESSAGE "expat_static - Win32 Debug" (based on "Win32 (x86) Static Library")
|
||||
!MESSAGE
|
||||
|
||||
# Begin Project
|
||||
# PROP AllowPerConfigDependencies 0
|
||||
# PROP Scc_ProjName ""
|
||||
# PROP Scc_LocalPath ""
|
||||
CPP=cl.exe
|
||||
RSC=rc.exe
|
||||
|
||||
!IF "$(CFG)" == "expat_static - Win32 Release"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 0
|
||||
# PROP BASE Output_Dir "expat_static___Win32_Release"
|
||||
# PROP BASE Intermediate_Dir "expat_static___Win32_Release"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 0
|
||||
# PROP Output_Dir "..\win32\bin\Release"
|
||||
# PROP Intermediate_Dir "..\win32\tmp\Release_static"
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c
|
||||
# ADD CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "_WINDOWS" /D "NDEBUG" /D "_MBCS" /D "_LIB" /D "COMPILED_FROM_DSP" /FD /c
|
||||
# SUBTRACT CPP /YX
|
||||
# ADD BASE RSC /l 0x1009 /d "NDEBUG"
|
||||
# ADD RSC /l 0x409 /d "NDEBUG"
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LIB32=link.exe -lib
|
||||
# ADD BASE LIB32 /nologo
|
||||
# ADD LIB32 /nologo /out:"..\win32\bin\Release\libexpatMT.lib"
|
||||
|
||||
!ELSEIF "$(CFG)" == "expat_static - Win32 Debug"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 1
|
||||
# PROP BASE Output_Dir "expat_static___Win32_Debug"
|
||||
# PROP BASE Intermediate_Dir "expat_static___Win32_Debug"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 1
|
||||
# PROP Output_Dir "..\win32\bin\Debug"
|
||||
# PROP Intermediate_Dir "..\win32\tmp\Debug_static"
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c
|
||||
# ADD CPP /nologo /MTd /W3 /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "COMPILED_FROM_DSP" /D "_MBCS" /D "_LIB" /FR /FD /GZ /c
|
||||
# SUBTRACT CPP /YX
|
||||
# ADD BASE RSC /l 0x1009 /d "_DEBUG"
|
||||
# ADD RSC /l 0x409 /d "_DEBUG"
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LIB32=link.exe -lib
|
||||
# ADD BASE LIB32 /nologo
|
||||
# ADD LIB32 /nologo /out:"..\win32\bin\Debug\libexpatMT.lib"
|
||||
|
||||
!ENDIF
|
||||
|
||||
# Begin Target
|
||||
|
||||
# Name "expat_static - Win32 Release"
|
||||
# Name "expat_static - Win32 Debug"
|
||||
# Begin Group "Source Files"
|
||||
|
||||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\xmlparse.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\xmlrole.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\xmltok.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\xmltok_impl.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\xmltok_ns.c
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "Header Files"
|
||||
|
||||
# PROP Default_Filter "h;hpp;hxx;hm;inl"
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\ascii.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\asciitab.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\expat.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\expat_external.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\iasciitab.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\internal.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\latin1tab.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\nametab.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\utf8tab.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\xmlrole.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\xmltok.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\xmltok_impl.h
|
||||
# End Source File
|
||||
# End Group
|
||||
# End Target
|
||||
# End Project
|
||||
@@ -0,0 +1,185 @@
|
||||
# Microsoft Developer Studio Project File - Name="expatw" - Package Owner=<4>
|
||||
# Microsoft Developer Studio Generated Build File, Format Version 6.00
|
||||
# ** DO NOT EDIT **
|
||||
|
||||
# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
|
||||
|
||||
CFG=expatw - Win32 Debug
|
||||
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
|
||||
!MESSAGE use the Export Makefile command and run
|
||||
!MESSAGE
|
||||
!MESSAGE NMAKE /f "expatw.mak".
|
||||
!MESSAGE
|
||||
!MESSAGE You can specify a configuration when running NMAKE
|
||||
!MESSAGE by defining the macro CFG on the command line. For example:
|
||||
!MESSAGE
|
||||
!MESSAGE NMAKE /f "expatw.mak" CFG="expatw - Win32 Debug"
|
||||
!MESSAGE
|
||||
!MESSAGE Possible choices for configuration are:
|
||||
!MESSAGE
|
||||
!MESSAGE "expatw - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
|
||||
!MESSAGE "expatw - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
|
||||
!MESSAGE
|
||||
|
||||
# Begin Project
|
||||
# PROP AllowPerConfigDependencies 0
|
||||
# PROP Scc_ProjName ""
|
||||
# PROP Scc_LocalPath ""
|
||||
CPP=cl.exe
|
||||
MTL=midl.exe
|
||||
RSC=rc.exe
|
||||
|
||||
!IF "$(CFG)" == "expatw - Win32 Release"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 0
|
||||
# PROP BASE Output_Dir "Release"
|
||||
# PROP BASE Intermediate_Dir "Release"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 0
|
||||
# PROP Output_Dir "..\win32\bin\Release"
|
||||
# PROP Intermediate_Dir "..\win32\tmp\Release-w"
|
||||
# PROP Ignore_Export_Lib 0
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "EXPAT_EXPORTS" /Yu"stdafx.h" /FD /c
|
||||
# ADD CPP /nologo /MT /W3 /GX /O2 /D "NDEBUG" /D "COMPILED_FROM_DSP" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "XML_UNICODE_WCHAR_T" /FD /c
|
||||
# SUBTRACT CPP /YX /Yc /Yu
|
||||
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
|
||||
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
|
||||
# ADD BASE RSC /l 0x409 /d "NDEBUG"
|
||||
# ADD RSC /l 0x409 /d "NDEBUG"
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 /nologo /dll /machine:I386
|
||||
# ADD LINK32 /nologo /dll /pdb:none /machine:I386 /out:"..\win32\bin\Release\libexpatw.dll"
|
||||
|
||||
!ELSEIF "$(CFG)" == "expatw - Win32 Debug"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 1
|
||||
# PROP BASE Output_Dir "Debug"
|
||||
# PROP BASE Intermediate_Dir "Debug"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 1
|
||||
# PROP Output_Dir "..\win32\bin\Debug"
|
||||
# PROP Intermediate_Dir "..\win32\tmp\Debug-w"
|
||||
# PROP Ignore_Export_Lib 0
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "EXPAT_EXPORTS" /Yu"stdafx.h" /FD /GZ /c
|
||||
# ADD CPP /nologo /MTd /W3 /GX /ZI /Od /D "_DEBUG" /D "COMPILED_FROM_DSP" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "XML_UNICODE_WCHAR_T" /FR /FD /GZ /c
|
||||
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
|
||||
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
|
||||
# ADD BASE RSC /l 0x409 /d "_DEBUG"
|
||||
# ADD RSC /l 0x409 /d "_DEBUG"
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 /nologo /dll /debug /machine:I386 /pdbtype:sept
|
||||
# ADD LINK32 /nologo /dll /pdb:none /debug /machine:I386 /out:"..\win32\bin\Debug\libexpatw.dll"
|
||||
|
||||
!ENDIF
|
||||
|
||||
# Begin Target
|
||||
|
||||
# Name "expatw - Win32 Release"
|
||||
# Name "expatw - Win32 Debug"
|
||||
# Begin Group "Source Files"
|
||||
|
||||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\libexpatw.def
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\xmlparse.c
|
||||
|
||||
!IF "$(CFG)" == "expatw - Win32 Release"
|
||||
|
||||
!ELSEIF "$(CFG)" == "expatw - Win32 Debug"
|
||||
|
||||
# ADD CPP /GX- /Od
|
||||
|
||||
!ENDIF
|
||||
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\xmlrole.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\xmltok.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\xmltok_impl.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\xmltok_ns.c
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "Header Files"
|
||||
|
||||
# PROP Default_Filter "h;hpp;hxx;hm;inl"
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\ascii.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\asciitab.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\expat.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\expat_external.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\iasciitab.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\internal.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\latin1tab.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\nametab.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\utf8tab.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\xmlrole.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\xmltok.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\xmltok_impl.h
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "Resource Files"
|
||||
|
||||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
|
||||
# End Group
|
||||
# End Target
|
||||
# End Project
|
||||
@@ -0,0 +1,162 @@
|
||||
# Microsoft Developer Studio Project File - Name="expatw_static" - Package Owner=<4>
|
||||
# Microsoft Developer Studio Generated Build File, Format Version 6.00
|
||||
# ** DO NOT EDIT **
|
||||
|
||||
# TARGTYPE "Win32 (x86) Static Library" 0x0104
|
||||
|
||||
CFG=expatw_static - Win32 Debug
|
||||
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
|
||||
!MESSAGE use the Export Makefile command and run
|
||||
!MESSAGE
|
||||
!MESSAGE NMAKE /f "expatw_static.mak".
|
||||
!MESSAGE
|
||||
!MESSAGE You can specify a configuration when running NMAKE
|
||||
!MESSAGE by defining the macro CFG on the command line. For example:
|
||||
!MESSAGE
|
||||
!MESSAGE NMAKE /f "expatw_static.mak" CFG="expatw_static - Win32 Debug"
|
||||
!MESSAGE
|
||||
!MESSAGE Possible choices for configuration are:
|
||||
!MESSAGE
|
||||
!MESSAGE "expatw_static - Win32 Release" (based on "Win32 (x86) Static Library")
|
||||
!MESSAGE "expatw_static - Win32 Debug" (based on "Win32 (x86) Static Library")
|
||||
!MESSAGE
|
||||
|
||||
# Begin Project
|
||||
# PROP AllowPerConfigDependencies 0
|
||||
# PROP Scc_ProjName ""
|
||||
# PROP Scc_LocalPath ""
|
||||
CPP=cl.exe
|
||||
RSC=rc.exe
|
||||
|
||||
!IF "$(CFG)" == "expatw_static - Win32 Release"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 0
|
||||
# PROP BASE Output_Dir "expatw_static___Win32_Release"
|
||||
# PROP BASE Intermediate_Dir "expatw_static___Win32_Release"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 0
|
||||
# PROP Output_Dir "..\win32\bin\Release"
|
||||
# PROP Intermediate_Dir "..\win32\tmp\Release-w_static"
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c
|
||||
# ADD CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "_WINDOWS" /D "NDEBUG" /D "_MBCS" /D "_LIB" /D "COMPILED_FROM_DSP" /D "XML_UNICODE_WCHAR_T" /FD /c
|
||||
# SUBTRACT CPP /YX
|
||||
# ADD BASE RSC /l 0x1009 /d "NDEBUG"
|
||||
# ADD RSC /l 0x409 /d "NDEBUG"
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LIB32=link.exe -lib
|
||||
# ADD BASE LIB32 /nologo
|
||||
# ADD LIB32 /nologo /out:"..\win32\bin\Release\libexpatwMT.lib"
|
||||
|
||||
!ELSEIF "$(CFG)" == "expatw_static - Win32 Debug"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 1
|
||||
# PROP BASE Output_Dir "expatw_static___Win32_Debug"
|
||||
# PROP BASE Intermediate_Dir "expatw_static___Win32_Debug"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 1
|
||||
# PROP Output_Dir "..\win32\bin\Debug"
|
||||
# PROP Intermediate_Dir "..\win32\tmp\Debug-w_static"
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c
|
||||
# ADD CPP /nologo /MTd /W3 /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_LIB" /D "COMPILED_FROM_DSP" /D "XML_UNICODE_WCHAR_T" /FR /FD /GZ /c
|
||||
# SUBTRACT CPP /YX
|
||||
# ADD BASE RSC /l 0x1009 /d "_DEBUG"
|
||||
# ADD RSC /l 0x409 /d "_DEBUG"
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LIB32=link.exe -lib
|
||||
# ADD BASE LIB32 /nologo
|
||||
# ADD LIB32 /nologo /out:"..\win32\bin\Debug\libexpatwMT.lib"
|
||||
|
||||
!ENDIF
|
||||
|
||||
# Begin Target
|
||||
|
||||
# Name "expatw_static - Win32 Release"
|
||||
# Name "expatw_static - Win32 Debug"
|
||||
# Begin Group "Source Files"
|
||||
|
||||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\xmlparse.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\xmlrole.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\xmltok.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\xmltok_impl.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\xmltok_ns.c
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "Header Files"
|
||||
|
||||
# PROP Default_Filter "h;hpp;hxx;hm;inl"
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\ascii.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\asciitab.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\expat.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\expat_external.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\iasciitab.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\internal.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\latin1tab.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\nametab.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\utf8tab.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\xmlrole.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\xmltok.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\xmltok_impl.h
|
||||
# End Source File
|
||||
# End Group
|
||||
# End Target
|
||||
# End Project
|
||||
Executable → Regular
+2
-3
@@ -1,6 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd
|
||||
See the file copying.txt for copying permission.
|
||||
/* Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd
|
||||
See the file COPYING for copying permission.
|
||||
*/
|
||||
|
||||
/* Like asciitab.h, except that 0xD has code BT_S rather than BT_CR */
|
||||
@@ -0,0 +1,73 @@
|
||||
/* internal.h
|
||||
|
||||
Internal definitions used by Expat. This is not needed to compile
|
||||
client code.
|
||||
|
||||
The following calling convention macros are defined for frequently
|
||||
called functions:
|
||||
|
||||
FASTCALL - Used for those internal functions that have a simple
|
||||
body and a low number of arguments and local variables.
|
||||
|
||||
PTRCALL - Used for functions called though function pointers.
|
||||
|
||||
PTRFASTCALL - Like PTRCALL, but for low number of arguments.
|
||||
|
||||
inline - Used for selected internal functions for which inlining
|
||||
may improve performance on some platforms.
|
||||
|
||||
Note: Use of these macros is based on judgement, not hard rules,
|
||||
and therefore subject to change.
|
||||
*/
|
||||
|
||||
#if defined(__GNUC__) && defined(__i386__) && !defined(__MINGW32__)
|
||||
/* We'll use this version by default only where we know it helps.
|
||||
|
||||
regparm() generates warnings on Solaris boxes. See SF bug #692878.
|
||||
|
||||
Instability reported with egcs on a RedHat Linux 7.3.
|
||||
Let's comment out:
|
||||
#define FASTCALL __attribute__((stdcall, regparm(3)))
|
||||
and let's try this:
|
||||
*/
|
||||
#define FASTCALL __attribute__((regparm(3)))
|
||||
#define PTRFASTCALL __attribute__((regparm(3)))
|
||||
#endif
|
||||
|
||||
/* Using __fastcall seems to have an unexpected negative effect under
|
||||
MS VC++, especially for function pointers, so we won't use it for
|
||||
now on that platform. It may be reconsidered for a future release
|
||||
if it can be made more effective.
|
||||
Likely reason: __fastcall on Windows is like stdcall, therefore
|
||||
the compiler cannot perform stack optimizations for call clusters.
|
||||
*/
|
||||
|
||||
/* Make sure all of these are defined if they aren't already. */
|
||||
|
||||
#ifndef FASTCALL
|
||||
#define FASTCALL
|
||||
#endif
|
||||
|
||||
#ifndef PTRCALL
|
||||
#define PTRCALL
|
||||
#endif
|
||||
|
||||
#ifndef PTRFASTCALL
|
||||
#define PTRFASTCALL
|
||||
#endif
|
||||
|
||||
#ifndef XML_MIN_SIZE
|
||||
#if !defined(__cplusplus) && !defined(inline)
|
||||
#ifdef __GNUC__
|
||||
#define inline __inline
|
||||
#endif /* __GNUC__ */
|
||||
#endif
|
||||
#endif /* XML_MIN_SIZE */
|
||||
|
||||
#ifdef __cplusplus
|
||||
#define inline inline
|
||||
#else
|
||||
#ifndef inline
|
||||
#define inline
|
||||
#endif
|
||||
#endif
|
||||
Executable → Regular
+2
-3
@@ -1,6 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd
|
||||
See the file copying.txt for copying permission.
|
||||
/* Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd
|
||||
See the file COPYING for copying permission.
|
||||
*/
|
||||
|
||||
/* 0x80 */ BT_OTHER, BT_OTHER, BT_OTHER, BT_OTHER,
|
||||
@@ -0,0 +1,73 @@
|
||||
; DEF file for MS VC++
|
||||
|
||||
LIBRARY
|
||||
EXPORTS
|
||||
XML_DefaultCurrent @1
|
||||
XML_ErrorString @2
|
||||
XML_ExpatVersion @3
|
||||
XML_ExpatVersionInfo @4
|
||||
XML_ExternalEntityParserCreate @5
|
||||
XML_GetBase @6
|
||||
XML_GetBuffer @7
|
||||
XML_GetCurrentByteCount @8
|
||||
XML_GetCurrentByteIndex @9
|
||||
XML_GetCurrentColumnNumber @10
|
||||
XML_GetCurrentLineNumber @11
|
||||
XML_GetErrorCode @12
|
||||
XML_GetIdAttributeIndex @13
|
||||
XML_GetInputContext @14
|
||||
XML_GetSpecifiedAttributeCount @15
|
||||
XML_Parse @16
|
||||
XML_ParseBuffer @17
|
||||
XML_ParserCreate @18
|
||||
XML_ParserCreateNS @19
|
||||
XML_ParserCreate_MM @20
|
||||
XML_ParserFree @21
|
||||
XML_SetAttlistDeclHandler @22
|
||||
XML_SetBase @23
|
||||
XML_SetCdataSectionHandler @24
|
||||
XML_SetCharacterDataHandler @25
|
||||
XML_SetCommentHandler @26
|
||||
XML_SetDefaultHandler @27
|
||||
XML_SetDefaultHandlerExpand @28
|
||||
XML_SetDoctypeDeclHandler @29
|
||||
XML_SetElementDeclHandler @30
|
||||
XML_SetElementHandler @31
|
||||
XML_SetEncoding @32
|
||||
XML_SetEndCdataSectionHandler @33
|
||||
XML_SetEndDoctypeDeclHandler @34
|
||||
XML_SetEndElementHandler @35
|
||||
XML_SetEndNamespaceDeclHandler @36
|
||||
XML_SetEntityDeclHandler @37
|
||||
XML_SetExternalEntityRefHandler @38
|
||||
XML_SetExternalEntityRefHandlerArg @39
|
||||
XML_SetNamespaceDeclHandler @40
|
||||
XML_SetNotStandaloneHandler @41
|
||||
XML_SetNotationDeclHandler @42
|
||||
XML_SetParamEntityParsing @43
|
||||
XML_SetProcessingInstructionHandler @44
|
||||
XML_SetReturnNSTriplet @45
|
||||
XML_SetStartCdataSectionHandler @46
|
||||
XML_SetStartDoctypeDeclHandler @47
|
||||
XML_SetStartElementHandler @48
|
||||
XML_SetStartNamespaceDeclHandler @49
|
||||
XML_SetUnknownEncodingHandler @50
|
||||
XML_SetUnparsedEntityDeclHandler @51
|
||||
XML_SetUserData @52
|
||||
XML_SetXmlDeclHandler @53
|
||||
XML_UseParserAsHandlerArg @54
|
||||
; added with version 1.95.3
|
||||
XML_ParserReset @55
|
||||
XML_SetSkippedEntityHandler @56
|
||||
; added with version 1.95.5
|
||||
XML_GetFeatureList @57
|
||||
XML_UseForeignDTD @58
|
||||
; added with version 1.95.6
|
||||
XML_FreeContentModel @59
|
||||
XML_MemMalloc @60
|
||||
XML_MemRealloc @61
|
||||
XML_MemFree @62
|
||||
; added with version 1.95.8
|
||||
XML_StopParser @63
|
||||
XML_ResumeParser @64
|
||||
XML_GetParsingStatus @65
|
||||
@@ -0,0 +1,73 @@
|
||||
; DEF file for MS VC++
|
||||
|
||||
LIBRARY
|
||||
EXPORTS
|
||||
XML_DefaultCurrent @1
|
||||
XML_ErrorString @2
|
||||
XML_ExpatVersion @3
|
||||
XML_ExpatVersionInfo @4
|
||||
XML_ExternalEntityParserCreate @5
|
||||
XML_GetBase @6
|
||||
XML_GetBuffer @7
|
||||
XML_GetCurrentByteCount @8
|
||||
XML_GetCurrentByteIndex @9
|
||||
XML_GetCurrentColumnNumber @10
|
||||
XML_GetCurrentLineNumber @11
|
||||
XML_GetErrorCode @12
|
||||
XML_GetIdAttributeIndex @13
|
||||
XML_GetInputContext @14
|
||||
XML_GetSpecifiedAttributeCount @15
|
||||
XML_Parse @16
|
||||
XML_ParseBuffer @17
|
||||
XML_ParserCreate @18
|
||||
XML_ParserCreateNS @19
|
||||
XML_ParserCreate_MM @20
|
||||
XML_ParserFree @21
|
||||
XML_SetAttlistDeclHandler @22
|
||||
XML_SetBase @23
|
||||
XML_SetCdataSectionHandler @24
|
||||
XML_SetCharacterDataHandler @25
|
||||
XML_SetCommentHandler @26
|
||||
XML_SetDefaultHandler @27
|
||||
XML_SetDefaultHandlerExpand @28
|
||||
XML_SetDoctypeDeclHandler @29
|
||||
XML_SetElementDeclHandler @30
|
||||
XML_SetElementHandler @31
|
||||
XML_SetEncoding @32
|
||||
XML_SetEndCdataSectionHandler @33
|
||||
XML_SetEndDoctypeDeclHandler @34
|
||||
XML_SetEndElementHandler @35
|
||||
XML_SetEndNamespaceDeclHandler @36
|
||||
XML_SetEntityDeclHandler @37
|
||||
XML_SetExternalEntityRefHandler @38
|
||||
XML_SetExternalEntityRefHandlerArg @39
|
||||
XML_SetNamespaceDeclHandler @40
|
||||
XML_SetNotStandaloneHandler @41
|
||||
XML_SetNotationDeclHandler @42
|
||||
XML_SetParamEntityParsing @43
|
||||
XML_SetProcessingInstructionHandler @44
|
||||
XML_SetReturnNSTriplet @45
|
||||
XML_SetStartCdataSectionHandler @46
|
||||
XML_SetStartDoctypeDeclHandler @47
|
||||
XML_SetStartElementHandler @48
|
||||
XML_SetStartNamespaceDeclHandler @49
|
||||
XML_SetUnknownEncodingHandler @50
|
||||
XML_SetUnparsedEntityDeclHandler @51
|
||||
XML_SetUserData @52
|
||||
XML_SetXmlDeclHandler @53
|
||||
XML_UseParserAsHandlerArg @54
|
||||
; added with version 1.95.3
|
||||
XML_ParserReset @55
|
||||
XML_SetSkippedEntityHandler @56
|
||||
; added with version 1.95.5
|
||||
XML_GetFeatureList @57
|
||||
XML_UseForeignDTD @58
|
||||
; added with version 1.95.6
|
||||
XML_FreeContentModel @59
|
||||
XML_MemMalloc @60
|
||||
XML_MemRealloc @61
|
||||
XML_MemFree @62
|
||||
; added with version 1.95.8
|
||||
XML_StopParser @63
|
||||
XML_ResumeParser @64
|
||||
XML_GetParsingStatus @65
|
||||
@@ -0,0 +1,53 @@
|
||||
/*================================================================
|
||||
** Copyright 2000, Clark Cooper
|
||||
** All rights reserved.
|
||||
**
|
||||
** This is free software. You are permitted to copy, distribute, or modify
|
||||
** it under the terms of the MIT/X license (contained in the COPYING file
|
||||
** with this distribution.)
|
||||
**
|
||||
*/
|
||||
|
||||
#ifndef MACCONFIG_H
|
||||
#define MACCONFIG_H
|
||||
|
||||
|
||||
/* 1234 = LIL_ENDIAN, 4321 = BIGENDIAN */
|
||||
#define BYTEORDER 4321
|
||||
|
||||
/* Define to 1 if you have the `bcopy' function. */
|
||||
#undef HAVE_BCOPY
|
||||
|
||||
/* Define to 1 if you have the `memmove' function. */
|
||||
#define HAVE_MEMMOVE
|
||||
|
||||
/* Define to 1 if you have a working `mmap' system call. */
|
||||
#undef HAVE_MMAP
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#undef HAVE_UNISTD_H
|
||||
|
||||
/* whether byteorder is bigendian */
|
||||
#define WORDS_BIGENDIAN
|
||||
|
||||
/* Define to specify how much context to retain around the current parse
|
||||
point. */
|
||||
#undef XML_CONTEXT_BYTES
|
||||
|
||||
/* Define to make parameter entity parsing functionality available. */
|
||||
#define XML_DTD
|
||||
|
||||
/* Define to make XML Namespaces functionality available. */
|
||||
#define XML_NS
|
||||
|
||||
/* Define to empty if `const' does not conform to ANSI C. */
|
||||
#undef const
|
||||
|
||||
/* Define to `long' if <sys/types.h> does not define. */
|
||||
#define off_t long
|
||||
|
||||
/* Define to `unsigned' if <sys/types.h> does not define. */
|
||||
#undef size_t
|
||||
|
||||
|
||||
#endif /* ifndef MACCONFIG_H */
|
||||
@@ -0,0 +1,150 @@
|
||||
static const unsigned namingBitmap[] = {
|
||||
0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
||||
0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
||||
0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,
|
||||
0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,
|
||||
0x00000000, 0x04000000, 0x87FFFFFE, 0x07FFFFFE,
|
||||
0x00000000, 0x00000000, 0xFF7FFFFF, 0xFF7FFFFF,
|
||||
0xFFFFFFFF, 0x7FF3FFFF, 0xFFFFFDFE, 0x7FFFFFFF,
|
||||
0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFE00F, 0xFC31FFFF,
|
||||
0x00FFFFFF, 0x00000000, 0xFFFF0000, 0xFFFFFFFF,
|
||||
0xFFFFFFFF, 0xF80001FF, 0x00000003, 0x00000000,
|
||||
0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
||||
0xFFFFD740, 0xFFFFFFFB, 0x547F7FFF, 0x000FFFFD,
|
||||
0xFFFFDFFE, 0xFFFFFFFF, 0xDFFEFFFF, 0xFFFFFFFF,
|
||||
0xFFFF0003, 0xFFFFFFFF, 0xFFFF199F, 0x033FCFFF,
|
||||
0x00000000, 0xFFFE0000, 0x027FFFFF, 0xFFFFFFFE,
|
||||
0x0000007F, 0x00000000, 0xFFFF0000, 0x000707FF,
|
||||
0x00000000, 0x07FFFFFE, 0x000007FE, 0xFFFE0000,
|
||||
0xFFFFFFFF, 0x7CFFFFFF, 0x002F7FFF, 0x00000060,
|
||||
0xFFFFFFE0, 0x23FFFFFF, 0xFF000000, 0x00000003,
|
||||
0xFFF99FE0, 0x03C5FDFF, 0xB0000000, 0x00030003,
|
||||
0xFFF987E0, 0x036DFDFF, 0x5E000000, 0x001C0000,
|
||||
0xFFFBAFE0, 0x23EDFDFF, 0x00000000, 0x00000001,
|
||||
0xFFF99FE0, 0x23CDFDFF, 0xB0000000, 0x00000003,
|
||||
0xD63DC7E0, 0x03BFC718, 0x00000000, 0x00000000,
|
||||
0xFFFDDFE0, 0x03EFFDFF, 0x00000000, 0x00000003,
|
||||
0xFFFDDFE0, 0x03EFFDFF, 0x40000000, 0x00000003,
|
||||
0xFFFDDFE0, 0x03FFFDFF, 0x00000000, 0x00000003,
|
||||
0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
||||
0xFFFFFFFE, 0x000D7FFF, 0x0000003F, 0x00000000,
|
||||
0xFEF02596, 0x200D6CAE, 0x0000001F, 0x00000000,
|
||||
0x00000000, 0x00000000, 0xFFFFFEFF, 0x000003FF,
|
||||
0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
||||
0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
||||
0x00000000, 0xFFFFFFFF, 0xFFFF003F, 0x007FFFFF,
|
||||
0x0007DAED, 0x50000000, 0x82315001, 0x002C62AB,
|
||||
0x40000000, 0xF580C900, 0x00000007, 0x02010800,
|
||||
0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,
|
||||
0x0FFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0x03FFFFFF,
|
||||
0x3F3FFFFF, 0xFFFFFFFF, 0xAAFF3F3F, 0x3FFFFFFF,
|
||||
0xFFFFFFFF, 0x5FDFFFFF, 0x0FCF1FDC, 0x1FDC1FFF,
|
||||
0x00000000, 0x00004C40, 0x00000000, 0x00000000,
|
||||
0x00000007, 0x00000000, 0x00000000, 0x00000000,
|
||||
0x00000080, 0x000003FE, 0xFFFFFFFE, 0xFFFFFFFF,
|
||||
0x001FFFFF, 0xFFFFFFFE, 0xFFFFFFFF, 0x07FFFFFF,
|
||||
0xFFFFFFE0, 0x00001FFF, 0x00000000, 0x00000000,
|
||||
0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
||||
0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,
|
||||
0xFFFFFFFF, 0x0000003F, 0x00000000, 0x00000000,
|
||||
0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,
|
||||
0xFFFFFFFF, 0x0000000F, 0x00000000, 0x00000000,
|
||||
0x00000000, 0x07FF6000, 0x87FFFFFE, 0x07FFFFFE,
|
||||
0x00000000, 0x00800000, 0xFF7FFFFF, 0xFF7FFFFF,
|
||||
0x00FFFFFF, 0x00000000, 0xFFFF0000, 0xFFFFFFFF,
|
||||
0xFFFFFFFF, 0xF80001FF, 0x00030003, 0x00000000,
|
||||
0xFFFFFFFF, 0xFFFFFFFF, 0x0000003F, 0x00000003,
|
||||
0xFFFFD7C0, 0xFFFFFFFB, 0x547F7FFF, 0x000FFFFD,
|
||||
0xFFFFDFFE, 0xFFFFFFFF, 0xDFFEFFFF, 0xFFFFFFFF,
|
||||
0xFFFF007B, 0xFFFFFFFF, 0xFFFF199F, 0x033FCFFF,
|
||||
0x00000000, 0xFFFE0000, 0x027FFFFF, 0xFFFFFFFE,
|
||||
0xFFFE007F, 0xBBFFFFFB, 0xFFFF0016, 0x000707FF,
|
||||
0x00000000, 0x07FFFFFE, 0x0007FFFF, 0xFFFF03FF,
|
||||
0xFFFFFFFF, 0x7CFFFFFF, 0xFFEF7FFF, 0x03FF3DFF,
|
||||
0xFFFFFFEE, 0xF3FFFFFF, 0xFF1E3FFF, 0x0000FFCF,
|
||||
0xFFF99FEE, 0xD3C5FDFF, 0xB080399F, 0x0003FFCF,
|
||||
0xFFF987E4, 0xD36DFDFF, 0x5E003987, 0x001FFFC0,
|
||||
0xFFFBAFEE, 0xF3EDFDFF, 0x00003BBF, 0x0000FFC1,
|
||||
0xFFF99FEE, 0xF3CDFDFF, 0xB0C0398F, 0x0000FFC3,
|
||||
0xD63DC7EC, 0xC3BFC718, 0x00803DC7, 0x0000FF80,
|
||||
0xFFFDDFEE, 0xC3EFFDFF, 0x00603DDF, 0x0000FFC3,
|
||||
0xFFFDDFEC, 0xC3EFFDFF, 0x40603DDF, 0x0000FFC3,
|
||||
0xFFFDDFEC, 0xC3FFFDFF, 0x00803DCF, 0x0000FFC3,
|
||||
0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
||||
0xFFFFFFFE, 0x07FF7FFF, 0x03FF7FFF, 0x00000000,
|
||||
0xFEF02596, 0x3BFF6CAE, 0x03FF3F5F, 0x00000000,
|
||||
0x03000000, 0xC2A003FF, 0xFFFFFEFF, 0xFFFE03FF,
|
||||
0xFEBF0FDF, 0x02FE3FFF, 0x00000000, 0x00000000,
|
||||
0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
||||
0x00000000, 0x00000000, 0x1FFF0000, 0x00000002,
|
||||
0x000000A0, 0x003EFFFE, 0xFFFFFFFE, 0xFFFFFFFF,
|
||||
0x661FFFFF, 0xFFFFFFFE, 0xFFFFFFFF, 0x77FFFFFF,
|
||||
};
|
||||
static const unsigned char nmstrtPages[] = {
|
||||
0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x00,
|
||||
0x00, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
|
||||
0x10, 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x12, 0x13,
|
||||
0x00, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x15, 0x16, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01,
|
||||
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
|
||||
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
|
||||
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
|
||||
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
|
||||
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
|
||||
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
|
||||
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
|
||||
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
|
||||
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
|
||||
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x17,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x01,
|
||||
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
|
||||
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
|
||||
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
|
||||
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
|
||||
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x18,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
};
|
||||
static const unsigned char namePages[] = {
|
||||
0x19, 0x03, 0x1A, 0x1B, 0x1C, 0x1D, 0x1E, 0x00,
|
||||
0x00, 0x1F, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25,
|
||||
0x10, 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x12, 0x13,
|
||||
0x26, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x27, 0x16, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01,
|
||||
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
|
||||
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
|
||||
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
|
||||
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
|
||||
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
|
||||
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
|
||||
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
|
||||
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
|
||||
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
|
||||
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x17,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x01,
|
||||
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
|
||||
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
|
||||
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
|
||||
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
|
||||
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x18,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
};
|
||||
Executable → Regular
+2
-3
@@ -1,6 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd
|
||||
See the file copying.txt for copying permission.
|
||||
/* Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd
|
||||
See the file COPYING for copying permission.
|
||||
*/
|
||||
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
/* expat_config.h for use with Open Watcom 1.5 and above. */
|
||||
|
||||
#ifndef WATCOMCONFIG_H
|
||||
#define WATCOMCONFIG_H
|
||||
|
||||
#ifdef __NT__
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#undef WIN32_LEAN_AND_MEAN
|
||||
#endif
|
||||
|
||||
/* 1234 = LIL_ENDIAN, 4321 = BIGENDIAN */
|
||||
#define BYTEORDER 1234
|
||||
|
||||
/* Define to 1 if you have the `memmove' function. */
|
||||
#define HAVE_MEMMOVE 1
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#define HAVE_UNISTD_H 1
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#define PACKAGE_BUGREPORT "expat-bugs@mail.libexpat.org"
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#define PACKAGE_NAME "expat"
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#define PACKAGE_STRING "expat 2.0.0"
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#undef PACKAGE_TARNAME
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#define PACKAGE_VERSION "2.0.0"
|
||||
|
||||
/* Define to specify how much context to retain around the current parse
|
||||
point. */
|
||||
#define XML_CONTEXT_BYTES 1024
|
||||
|
||||
/* Define to make parameter entity parsing functionality available. */
|
||||
#define XML_DTD 1
|
||||
|
||||
/* Define to make XML Namespaces functionality available. */
|
||||
#define XML_NS 1
|
||||
|
||||
#endif
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user