Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4077c19d3d | ||
|
|
b64ff9dae6 | ||
|
|
fb367661c3 | ||
|
|
b1d82a6225 | ||
|
|
bcb73db295 | ||
|
|
405642d633 | ||
|
|
a250b46a0b | ||
|
|
24f8b2fd5e | ||
|
|
27783db85a | ||
|
|
7128f0d21d | ||
|
|
66077e6cfc | ||
|
|
15ae6f885b | ||
|
|
6a9562e5a5 | ||
|
|
a0cca670db | ||
|
|
25f9c54ade | ||
|
|
78721fe68a | ||
|
|
3a863bece7 | ||
|
|
01f85b1bd8 | ||
|
|
16e2a93396 | ||
|
|
95ce3a60f0 | ||
|
|
bc8718feda | ||
|
|
ca8d6d0105 | ||
|
|
b1ddd8a8af | ||
|
|
fcf214cb3b | ||
|
|
5182fe0455 | ||
|
|
d7beb75aa8 | ||
|
|
271f1ef600 | ||
|
|
fa47c8d427 | ||
|
|
887e2c8b19 | ||
|
|
cd4da92df4 | ||
|
|
f3657d6b4d | ||
|
|
c631245c9c | ||
|
|
c951c985c1 | ||
|
|
f13b39a773 | ||
|
|
306f3865cc | ||
|
|
32ccd283f6 | ||
|
|
e370a636ba | ||
|
|
b789cbe5c1 | ||
|
|
240f52db8e | ||
|
|
c8f1b9fc6c | ||
|
|
440ed92f38 | ||
|
|
0e550f2fb9 | ||
|
|
835749ed6d | ||
|
|
dc33e92070 | ||
|
|
bd0e550e63 | ||
|
|
e810c8a5c0 | ||
|
|
cd96ca11cd | ||
|
|
01e8137368 | ||
|
|
f35bf8b65d | ||
|
|
e597487f31 | ||
|
|
6b36aa089d | ||
|
|
d48914545e | ||
|
|
63d3043689 | ||
|
|
ff901dc526 | ||
|
|
99f072c632 | ||
|
|
12e3ee7696 | ||
|
|
8e9811c71b | ||
|
|
4a71b30364 | ||
|
|
d4e6ea04fd | ||
|
|
051495712c | ||
|
|
d7da727995 | ||
|
|
a3a78d42f2 | ||
|
|
cef7fcb377 | ||
|
|
2dad0ec41d | ||
|
|
6603359347 | ||
|
|
6f84242a35 | ||
|
|
fde9b45213 | ||
|
|
00dee2f05b | ||
|
|
cf15c230e5 | ||
|
|
3b7938d7a1 | ||
|
|
a32e0cb8c7 | ||
|
|
b2c78bbf83 | ||
|
|
3545238cc6 | ||
|
|
e10349ab8d | ||
|
|
75b3dd4cbf | ||
|
|
a421f38160 | ||
|
|
e0058147fa | ||
|
|
669b017480 | ||
|
|
fd614f7ced | ||
|
|
5ede0a5d17 | ||
|
|
e63c8998c7 | ||
|
|
e3b7744bee | ||
|
|
cbce4f0b6a | ||
|
|
031afcafe2 | ||
|
|
81a891179a | ||
|
|
a1be17c1ce | ||
|
|
36e5eacbbf | ||
|
|
0b381c1b36 | ||
|
|
bf11fdd304 | ||
|
|
8844b141bf | ||
|
|
40ad43a8ad | ||
|
|
88e05fc523 | ||
|
|
87d742b683 | ||
|
|
83394569a1 | ||
|
|
963472201e | ||
|
|
2eeab8f39c | ||
|
|
dd7046209e | ||
|
|
fcc1db69ed | ||
|
|
d89e339a5a | ||
|
|
984dad43ae | ||
|
|
93774317fa | ||
|
|
7d9e2a1084 | ||
|
|
ca01936aaf | ||
|
|
571b7cdbed | ||
|
|
d308bde8a3 | ||
|
|
84d7317168 | ||
|
|
d38e7b7784 | ||
|
|
d9984d9e52 | ||
|
|
b25f1991c8 | ||
|
|
ced9c8b9df | ||
|
|
d902268f64 | ||
|
|
6a28a5559e | ||
|
|
04f7940bc2 | ||
|
|
13168ba15b | ||
|
|
6d9ebfac9a | ||
|
|
3107ccaa32 | ||
|
|
d87c1ea739 | ||
|
|
271c7b598d | ||
|
|
ec3ddc2021 | ||
|
|
5df686e5b3 | ||
|
|
d1a4cabf48 | ||
|
|
0468922b50 | ||
|
|
b109b14de6 | ||
|
|
3186820353 | ||
|
|
3ab978b4a4 | ||
|
|
13b342868f | ||
|
|
5441dc0e1e | ||
|
|
a516927e1a | ||
|
|
b2cc2539f6 | ||
|
|
14eb8dc7be | ||
|
|
bf1454c8ee | ||
|
|
5f89c3da66 | ||
|
|
fa245e46dc | ||
|
|
daffc27c57 | ||
|
|
e1084c8b24 | ||
|
|
9f6194d000 | ||
|
|
6e8846622a | ||
|
|
cf412a59f3 | ||
|
|
d58930d925 | ||
|
|
636d127253 | ||
|
|
afd9be5008 | ||
|
|
1794ada8ac | ||
|
|
c9518c766c | ||
|
|
ab57858195 | ||
|
|
9a4b7a5b4b | ||
|
|
ff72a8ae46 | ||
|
|
fad230e402 | ||
|
|
72c97ede05 | ||
|
|
eef027d44a | ||
|
|
6f54c3d1fc | ||
|
|
170aaecc47 | ||
|
|
258eb6ee9c | ||
|
|
2a36ae70f5 | ||
|
|
13aca83acc | ||
|
|
b76b635c95 | ||
|
|
351cf27036 | ||
|
|
8b9fe0e358 | ||
|
|
bee00a4a3d | ||
|
|
a147b68269 | ||
|
|
10623b2a31 | ||
|
|
de0157a6c3 | ||
|
|
c8409cc60b | ||
|
|
7a26ade0a6 | ||
|
|
c3fc250b0c | ||
|
|
7840c750db | ||
|
|
a65c26ccf5 | ||
|
|
3c3c85983f | ||
|
|
c3400bd8e6 | ||
|
|
03d5c40565 | ||
|
|
b9fc7c5eae | ||
|
|
ed4d22f8ad | ||
|
|
d65ac8d5e0 | ||
|
|
bd85173562 | ||
|
|
96357e8a7f | ||
|
|
240fd66dd3 | ||
|
|
e03ae4be5c | ||
|
|
3f215e15fb | ||
|
|
e62cb0cb23 | ||
|
|
8f354e52d0 | ||
|
|
72bab89cf6 | ||
|
|
d5459982f0 | ||
|
|
edccc615f9 | ||
|
|
f2d541d3ea | ||
|
|
6ca361bd5b | ||
|
|
43470083d1 | ||
|
|
b43a5fbeda | ||
|
|
e2464b1391 | ||
|
|
f786134c44 | ||
|
|
3a9d1b5351 | ||
|
|
b565e2c227 | ||
|
|
19334fd5af | ||
|
|
ac25827a87 | ||
|
|
c8b38a1803 | ||
|
|
94988a2b4e | ||
|
|
542da56e2c | ||
|
|
fcd7ee3c88 | ||
|
|
30cbf0b5ad | ||
|
|
612459488e | ||
|
|
a3e8c9f82f | ||
|
|
fbdd52ea57 | ||
|
|
1309bdb541 | ||
|
|
fc001cc5bf | ||
|
|
5aafe792b1 | ||
|
|
a2c3394170 | ||
|
|
91825ae7f5 | ||
|
|
b3ebf5ea2f | ||
|
|
110050d8e8 | ||
|
|
1d70831434 | ||
|
|
4462c345ab | ||
|
|
198f9e9c3c | ||
|
|
aa41605eec | ||
|
|
db85231145 | ||
|
|
f7cf18bfe1 | ||
|
|
25f77cf1c0 | ||
|
|
585bf7675f | ||
|
|
5f74fe9cf2 | ||
|
|
b702d7d32a | ||
|
|
90942a2af0 | ||
|
|
819ca50f16 | ||
|
|
18dec100cc | ||
|
|
713d6adc6d | ||
|
|
831fcf5419 | ||
|
|
9ef464a5ac | ||
|
|
b70d884598 | ||
|
|
000ac0cc83 | ||
|
|
ec1aeee6d3 | ||
|
|
d1184bfb49 | ||
|
|
c9d1a79bd0 | ||
|
|
41cbe2d931 | ||
|
|
0c994ed096 | ||
|
|
e968422d29 | ||
|
|
3ac23df787 | ||
|
|
9c075dc4cd | ||
|
|
7bd7473702 | ||
|
|
e53fa28135 | ||
|
|
5d2d2cb043 | ||
|
|
ca6136ffb6 | ||
|
|
1ab7016734 | ||
|
|
f86673741d | ||
|
|
626419cbe2 | ||
|
|
1c9d6206cb | ||
|
|
4b4b4a59ca | ||
|
|
1a0462b458 | ||
|
|
79edb388a3 | ||
|
|
719803a470 | ||
|
|
1dd67a7935 | ||
|
|
6a855dbdcf | ||
|
|
36b8fd734f | ||
|
|
5f1309e273 | ||
|
|
a327e27e52 | ||
|
|
1124fb525b | ||
|
|
a6de084670 | ||
|
|
74611b6b9e | ||
|
|
faf4b17b3c | ||
|
|
1eaa467afc | ||
|
|
e16bcd08aa | ||
|
|
41d68e3f70 | ||
|
|
6571d2ceb4 | ||
|
|
e07abdd282 | ||
|
|
4e1d60e7db | ||
|
|
536562284f | ||
|
|
8e08b8cef2 | ||
|
|
5909cef47a | ||
|
|
2f359ed80c | ||
|
|
b7d9dad58e | ||
|
|
73cdd6117d | ||
|
|
0264de4c3b | ||
|
|
99fe0b7109 | ||
|
|
cfe5ef4ac7 | ||
|
|
34fcf334c8 | ||
|
|
70a2912ae8 | ||
|
|
28cf922aa9 | ||
|
|
0636d878a6 | ||
|
|
bece236d81 | ||
|
|
04b3d5178c | ||
|
|
dc7515e3d7 | ||
|
|
2218925961 | ||
|
|
b98c4ed80b | ||
|
|
21c5dd6672 | ||
|
|
fd2b227f19 | ||
|
|
2619698a2e | ||
|
|
361748956b | ||
|
|
149b09027c | ||
|
|
84c479afa3 | ||
|
|
7c2dd4fed5 | ||
|
|
78430deb89 | ||
|
|
aa662adcfc | ||
|
|
eac16a5e59 | ||
|
|
2772ce4d2a | ||
|
|
43208a5308 | ||
|
|
1b0c4bf462 | ||
|
|
5390888b97 | ||
|
|
61394bf4ff | ||
|
|
26a032c080 | ||
|
|
4b7a2c677a | ||
|
|
79f8a278d9 | ||
|
|
5839168a9f | ||
|
|
3961587707 | ||
|
|
1fbd4d9579 | ||
|
|
e899e79624 | ||
|
|
7d5f95a8e5 | ||
|
|
4f82391dfe | ||
|
|
3ca0ca4b67 | ||
|
|
769d58f710 | ||
|
|
db33886e27 | ||
|
|
3b28e26d02 | ||
|
|
2860601772 | ||
|
|
891026d005 | ||
|
|
74c62cd337 | ||
|
|
c18d9955df | ||
|
|
550f4095be | ||
|
|
175efcbab0 | ||
|
|
32949bf64b | ||
|
|
dd9af06efa | ||
|
|
78310fd7c4 | ||
|
|
bbc8a98409 | ||
|
|
1f18c1fdd6 | ||
|
|
6f8f1f7121 | ||
|
|
adf982f3cb | ||
|
|
fdd89d8e3a | ||
|
|
33c8d5d971 | ||
|
|
e6bb58fb96 | ||
|
|
a2652e5bc4 | ||
|
|
58751cc2ad | ||
|
|
2eddf19168 | ||
|
|
cd1ab47cfd | ||
|
|
e6d4a8daf3 | ||
|
|
bbd3b87eb5 | ||
|
|
4a2aeb152e | ||
|
|
1e06608c84 | ||
|
|
0221a30f85 | ||
|
|
20532e1393 | ||
|
|
f265784e8c | ||
|
|
2fd3f6cf2e | ||
|
|
755e3a48bf | ||
|
|
43f7a588f9 | ||
|
|
4613b91eca | ||
|
|
b1728772a7 | ||
|
|
7ea87f571b | ||
|
|
e1490c07e2 | ||
|
|
755e102078 | ||
|
|
04c8f8f8bc | ||
|
|
39902d8998 | ||
|
|
815cb2f404 | ||
|
|
3dfd1412e4 | ||
|
|
3442ae7718 | ||
|
|
832046aeb7 | ||
|
|
a930a790d5 | ||
|
|
ec1df1e8a2 | ||
|
|
dc43d59ae3 | ||
|
|
61de1c80cd | ||
|
|
754796d243 | ||
|
|
531a71892f | ||
|
|
8d439c38e2 | ||
|
|
ec3d61fb31 | ||
|
|
d9b56d39da | ||
|
|
6d579486a9 | ||
|
|
d0c19e4607 | ||
|
|
0913ffa0cd | ||
|
|
92c59fe350 | ||
|
|
6293134652 | ||
|
|
ae45e61da0 | ||
|
|
c906abdbe2 | ||
|
|
cc4036a9cd | ||
|
|
855f11d8f6 | ||
|
|
6b0c2a089e | ||
|
|
67bd9ff3af | ||
|
|
a0643b997c | ||
|
|
8dcc716efd | ||
|
|
d735c1c1ad | ||
|
|
7c759805d0 | ||
|
|
e0a24e6d4f | ||
|
|
73b55c16d6 | ||
|
|
0695943d2d | ||
|
|
b3a9d03344 | ||
|
|
ecea4c51dc | ||
|
|
71e6952456 | ||
|
|
d9abe50072 | ||
|
|
05e44d895f | ||
|
|
4908838110 | ||
|
|
3dec348f43 | ||
|
|
2cb9f3ceb8 | ||
|
|
6cb841b26e | ||
|
|
74858918fa | ||
|
|
80edefc958 | ||
|
|
41e3d0719a | ||
|
|
b8e6315292 | ||
|
|
d45c25971c | ||
|
|
f799598d65 | ||
|
|
e66562aa8b | ||
|
|
3ceed6b6db | ||
|
|
1b50c57865 | ||
|
|
6bca91e940 | ||
|
|
83e6cb5410 | ||
|
|
966e69291a | ||
|
|
fefce8f7cc | ||
|
|
5287427c57 | ||
|
|
7c8c0540db | ||
|
|
fe5af11d68 | ||
|
|
b1adc75aed | ||
|
|
1cb62d2845 | ||
|
|
fc1eb3a144 | ||
|
|
5167c8b52f | ||
|
|
8aed9d6ee8 | ||
|
|
cb002e9939 | ||
|
|
d2bf1f169d | ||
|
|
0641c2493a | ||
|
|
8c146ab24a | ||
|
|
b83c51a1a5 | ||
|
|
3fe37f6ae8 | ||
|
|
8c4783919b | ||
|
|
32c067857c | ||
|
|
64aec5a353 | ||
|
|
6fe08dcf34 | ||
|
|
dc35e5c26d | ||
|
|
306db80410 | ||
|
|
65a580a4ef | ||
|
|
d308db119d | ||
|
|
66aa6b595c | ||
|
|
927868e8b9 | ||
|
|
fbeee7692b | ||
|
|
fc8634a7fc | ||
|
|
eb6c09c5eb | ||
|
|
600ac9cae5 | ||
|
|
58a55be1f1 | ||
|
|
92d3042138 | ||
|
|
eeaf0a73ac | ||
|
|
089a0bd9a4 | ||
|
|
85a83305dd | ||
|
|
30cf4c5d93 | ||
|
|
1ad6dc807c | ||
|
|
d564205c58 | ||
|
|
98438fa32e | ||
|
|
39d4a11267 | ||
|
|
7ee501103a | ||
|
|
de9560af3e | ||
|
|
e040ed9250 | ||
|
|
8ffaf513ee | ||
|
|
aff03b0a67 | ||
|
|
c21420c94a | ||
|
|
11caf6ecb3 | ||
|
|
29c293b100 | ||
|
|
b45f40ff9b | ||
|
|
d2457cbfcb | ||
|
|
f3e5c57c2b | ||
|
|
f69729b0aa | ||
|
|
b53db93006 | ||
|
|
db4b6dc1da | ||
|
|
de057c7a56 | ||
|
|
bddefd4211 | ||
|
|
adb23ed948 | ||
|
|
6607336b5c | ||
|
|
9d1869d98e | ||
|
|
8d6b34f863 | ||
|
|
f7b98c15a1 | ||
|
|
fd10ee105a | ||
|
|
e56cebf8da | ||
|
|
8f65db7541 | ||
|
|
77e7fcac50 | ||
|
|
b8145b3d59 | ||
|
|
6bdb9d25d6 | ||
|
|
775b1b825f | ||
|
|
2d7d421391 | ||
|
|
c99c89cb40 | ||
|
|
383cb2c41e | ||
|
|
c28caba8bd | ||
|
|
08e66d3512 | ||
|
|
46a069ec79 | ||
|
|
6b2bba06b4 | ||
|
|
ffd62ae6c9 | ||
|
|
90920ec0ba | ||
|
|
a7ec27a9cc | ||
|
|
c6177a81ee | ||
|
|
9c07867573 | ||
|
|
43034a36e1 | ||
|
|
c75dae3ed2 | ||
|
|
6ada4b14e4 | ||
|
|
214690eadd | ||
|
|
077c630844 | ||
|
|
c82c6d960a | ||
|
|
e66060388f | ||
|
|
57bc437414 | ||
|
|
3280ec817e | ||
|
|
8acbae6979 | ||
|
|
32a3bfdad7 | ||
|
|
c5e5dfd06b | ||
|
|
69ac2db129 | ||
|
|
eee41a3d0a | ||
|
|
b2f89250be | ||
|
|
622f0610e1 | ||
|
|
044b501241 | ||
|
|
af2f0e66f5 | ||
|
|
0676e749b8 | ||
|
|
f4906f9a85 | ||
|
|
ccdde52530 | ||
|
|
8b37a1bc30 | ||
|
|
56a2df6b25 | ||
|
|
73aace89c1 | ||
|
|
05085ceebe | ||
|
|
9414007bde | ||
|
|
fc60f65ed1 | ||
|
|
e19475faac | ||
|
|
6a57baf706 | ||
|
|
be1786f7b0 | ||
|
|
1d18a1e8ef | ||
|
|
9a97c58feb | ||
|
|
98d8f632c6 | ||
|
|
83697a652b | ||
|
|
947461bd29 | ||
|
|
698b659ee2 | ||
|
|
43642846e2 | ||
|
|
7ca378e8c0 | ||
|
|
a8b1780786 | ||
|
|
e0b1636542 | ||
|
|
74995ea938 | ||
|
|
28a3484e2b | ||
|
|
db90929b34 | ||
|
|
dbfedf8462 | ||
|
|
0638a11fc4 | ||
|
|
33377b3a9e | ||
|
|
02f885d124 | ||
|
|
94d59b4ebc | ||
|
|
2703a13f12 | ||
|
|
38dc3017a0 | ||
|
|
76658b9682 | ||
|
|
79b88b3039 | ||
|
|
7b7c12e0a3 | ||
|
|
d49d212c38 | ||
|
|
d6213d3f05 | ||
|
|
f506d6fcaa | ||
|
|
4411befc8e | ||
|
|
eca7e648bf | ||
|
|
4678680983 | ||
|
|
eebf4162a9 | ||
|
|
49ba38d216 | ||
|
|
cbbc05dd10 | ||
|
|
0bea8f9eff | ||
|
|
b688bdfa9a | ||
|
|
522095380f | ||
|
|
90e7b45099 | ||
|
|
e33d1d875e | ||
|
|
62779a4b8d | ||
|
|
43caa48ecb | ||
|
|
c86fbfd031 | ||
|
|
b0d7b1bb38 | ||
|
|
72def35cd0 | ||
|
|
6c3f95480a | ||
|
|
7c4d50dccf | ||
|
|
fba28f1975 | ||
|
|
b4154e043b | ||
|
|
1e7bbbf01c | ||
|
|
fa6fa13eb4 | ||
|
|
3ab6c7feee | ||
|
|
b069dabc91 | ||
|
|
9349f7f29e | ||
|
|
fe8155c118 | ||
|
|
fcfd61829a | ||
|
|
a203f449bb | ||
|
|
acd4eee44e | ||
|
|
eae8d21428 | ||
|
|
f7edee79a1 | ||
|
|
d0e748cada | ||
|
|
bf901ae222 | ||
|
|
dca75f84eb | ||
|
|
2f87463ea3 | ||
|
|
401a0e12af | ||
|
|
810a3245a8 | ||
|
|
444b1a26ab | ||
|
|
1b0a03a2e1 | ||
|
|
844da2ccc6 | ||
|
|
70c2ad9f47 | ||
|
|
9b88e7cf78 | ||
|
|
846bbb9930 | ||
|
|
c80777a81c | ||
|
|
bb87aeab9a | ||
|
|
ce197c4e52 | ||
|
|
1697d6456f | ||
|
|
2f5ced80c4 | ||
|
|
11063e9720 | ||
|
|
765fc0b0e2 | ||
|
|
27e021136b | ||
|
|
6662cdbeb3 | ||
|
|
31187065d9 | ||
|
|
be2b3635ad | ||
|
|
bccb9c1708 | ||
|
|
d9d3b687b7 | ||
|
|
1ea8529cfb | ||
|
|
8ed46f424e | ||
|
|
8ffac11aa6 | ||
|
|
f5618cd8e9 | ||
|
|
3b55277bc5 | ||
|
|
d220a5e6aa | ||
|
|
531abf2551 | ||
|
|
0a9acadcca | ||
|
|
9957290b5a | ||
|
|
c3ec00a152 | ||
|
|
b9ecf99332 | ||
|
|
ace6085fea | ||
|
|
e2649bc086 | ||
|
|
1916969baa | ||
|
|
3c48cc8509 | ||
|
|
ccbd5ecf57 | ||
|
|
30621a6307 | ||
|
|
115cf1e322 | ||
|
|
13f3978a14 | ||
|
|
ee4f7c4aa1 | ||
|
|
f5545f8af2 | ||
|
|
49989d0f01 | ||
|
|
d3575bfb5b | ||
|
|
5d9ae788d5 | ||
|
|
b73225e886 | ||
|
|
5b0f4649b3 | ||
|
|
2e33335820 | ||
|
|
29bd11c3cd | ||
|
|
dbfad99a51 | ||
|
|
8af1b0c22a | ||
|
|
95c4608241 | ||
|
|
a38e87d455 | ||
|
|
660d01438a | ||
|
|
8ae405b693 | ||
|
|
eb25a9bd70 | ||
|
|
3dbe5b2d7b | ||
|
|
420458002d | ||
|
|
7ab45761af | ||
|
|
f1e5578718 | ||
|
|
1b4c4256ee | ||
|
|
c30ebdac27 | ||
|
|
c74754d238 | ||
|
|
cbe93351ee | ||
|
|
a558ac8ac9 | ||
|
|
a54f392aff | ||
|
|
bdb4ff5816 | ||
|
|
752af49b6e | ||
|
|
9e45391482 | ||
|
|
766ad26871 | ||
|
|
747b7a9cc4 | ||
|
|
54db9d2005 | ||
|
|
d002463032 | ||
|
|
306690e137 | ||
|
|
0a744b1cfe | ||
|
|
21f5ffe826 | ||
|
|
844da4597f | ||
|
|
fb37ed0a37 | ||
|
|
7e01cff204 | ||
|
|
b2aab9283a | ||
|
|
94a484dd7e | ||
|
|
754ad61048 | ||
|
|
b3bf60f426 | ||
|
|
2828e5db82 | ||
|
|
fc5870128f | ||
|
|
6896f68985 | ||
|
|
68c11d035c | ||
|
|
55b2b54f43 | ||
|
|
4549256c2b | ||
|
|
09f456b280 | ||
|
|
a26cb28c97 | ||
|
|
e00e3008fe | ||
|
|
114cc12ee9 | ||
|
|
9b1ba68334 | ||
|
|
e43cde864f | ||
|
|
8a6f654e95 | ||
|
|
4c0556f928 | ||
|
|
7d7df95f28 | ||
|
|
d4feeb474e | ||
|
|
04c7949bc3 | ||
|
|
11c9f20ea8 | ||
|
|
0b2e4f1afa | ||
|
|
20a3f8c006 | ||
|
|
eb64fb02b6 | ||
|
|
877167cf26 | ||
|
|
27af68f279 | ||
|
|
f5c377092c | ||
|
|
954b1888d2 | ||
|
|
8b0c6d3857 | ||
|
|
758d79f4b4 | ||
|
|
633cc96bce | ||
|
|
c5a52404bd | ||
|
|
cd05a3a783 | ||
|
|
ae4be7c9eb | ||
|
|
66fa3acfbd | ||
|
|
6d04705a97 | ||
|
|
a5dc179c32 | ||
|
|
56138c585a | ||
|
|
2b3b701187 | ||
|
|
4e7e4c2cbe | ||
|
|
c1a1f487af | ||
|
|
304b177667 | ||
|
|
6014cdb2e6 | ||
|
|
d180f2aaf0 | ||
|
|
178989c5f5 | ||
|
|
8b960b23ac | ||
|
|
0a6fd85ac1 | ||
|
|
585c1ec4b2 | ||
|
|
0216b346f0 | ||
|
|
1a1d8ddc8c | ||
|
|
54c479af3a | ||
|
|
9ce0363260 | ||
|
|
e3d08de2d2 | ||
|
|
493d7334f8 | ||
|
|
d7df65954a | ||
|
|
9135a11e8c | ||
|
|
3b4a815657 | ||
|
|
ddbe089a62 | ||
|
|
e2403192f5 | ||
|
|
9472136272 | ||
|
|
f243b7b4af | ||
|
|
8c9b42d0b9 | ||
|
|
e7189e33f5 | ||
|
|
d66d343e1b | ||
|
|
3cf71e4513 | ||
|
|
cd68a2d8e7 | ||
|
|
acf95284e7 | ||
|
|
1d126c1d56 | ||
|
|
f90d03e857 | ||
|
|
49969faa91 | ||
|
|
2b020e9bbb | ||
|
|
e01e302f10 | ||
|
|
09bbda15b2 | ||
|
|
0b5cb08596 | ||
|
|
ba71cc45fe | ||
|
|
e0013ce522 | ||
|
|
cfc10b6a6e | ||
|
|
f141ce6db7 | ||
|
|
3833d85985 | ||
|
|
e16685fee9 | ||
|
|
11cf9b22e9 | ||
|
|
ec0f5a83bc | ||
|
|
f30a2606d4 | ||
|
|
810cdf0fc5 | ||
|
|
3ab2a0b7be | ||
|
|
8abaa8c760 | ||
|
|
e3accd0c01 | ||
|
|
8bfaf15e55 | ||
|
|
ab174e65d9 | ||
|
|
d1b17ef97e | ||
|
|
37bd28f3ef | ||
|
|
b873b2495a | ||
|
|
75b26b28bf | ||
|
|
b16ad4c672 | ||
|
|
718874cf11 | ||
|
|
8230982799 | ||
|
|
dadd11df42 | ||
|
|
c559e3e30f | ||
|
|
fe15bb43de | ||
|
|
1ef526f0f0 | ||
|
|
8058e08926 | ||
|
|
8361c83e41 | ||
|
|
8dea5c84fc | ||
|
|
c8f78b1ecf | ||
|
|
b702c9adca | ||
|
|
29de8de78c | ||
|
|
9fb0fef0d2 | ||
|
|
e7b772334d | ||
|
|
2b63f23cf3 | ||
|
|
0bdaa97892 | ||
|
|
b18a9cf86e | ||
|
|
90c68b34ab | ||
|
|
e3dda3ebd5 | ||
|
|
e719d7b3be | ||
|
|
72e2a43c01 | ||
|
|
2ccac3373f | ||
|
|
532de8c09d | ||
|
|
89f23776a8 | ||
|
|
0b4dae0b3f | ||
|
|
9ec630afa1 | ||
|
|
4ee09e622b | ||
|
|
8fe7bfe065 | ||
|
|
a4cc727daf | ||
|
|
9c2269b000 | ||
|
|
e9cabcecc2 | ||
|
|
0763852cb7 | ||
|
|
00c726eaa1 | ||
|
|
8a5c700e4e | ||
|
|
cf58e417d4 | ||
|
|
842e3d91b4 | ||
|
|
931950a880 | ||
|
|
4028f58ce7 | ||
|
|
c394a5f871 | ||
|
|
a557bfae78 | ||
|
|
ba80720469 | ||
|
|
a66e6546c3 | ||
|
|
ded797b8bb | ||
|
|
4e2383201d | ||
|
|
6d7fac8440 | ||
|
|
f9e866b739 | ||
|
|
c05ad047ef | ||
|
|
53bd9f7e59 | ||
|
|
7ae62c2981 | ||
|
|
b7115f464e | ||
|
|
0f8df53ae7 | ||
|
|
4cc139ccb8 | ||
|
|
3983e0541e | ||
|
|
d31fa89c8a | ||
|
|
92e0c93288 | ||
|
|
f8086ef486 | ||
|
|
c55addfa64 | ||
|
|
054dde2728 | ||
|
|
1b4963fd73 | ||
|
|
4cfe5d84de | ||
|
|
cfa5951ea8 | ||
|
|
cebd1e72e2 | ||
|
|
02dffb57c8 | ||
|
|
bdd013826b | ||
|
|
fca67bb95d | ||
|
|
b15719c7f8 | ||
|
|
c16c115ea7 | ||
|
|
d15edc6fd6 | ||
|
|
d432689a50 | ||
|
|
60d29fb286 | ||
|
|
3c93fde763 | ||
|
|
54cd77a551 | ||
|
|
451cbfc039 | ||
|
|
f2b4134845 | ||
|
|
0c6c32a0e6 | ||
|
|
b519af5408 | ||
|
|
f138ec95d9 | ||
|
|
ae14556114 | ||
|
|
05bb04a651 | ||
|
|
f8b9aba821 | ||
|
|
8a95c03dcd | ||
|
|
9282781bdf | ||
|
|
8b779470cd | ||
|
|
da3451bb3d | ||
|
|
68011e6ec7 | ||
|
|
7d67148f52 | ||
|
|
287ca21a65 | ||
|
|
9ee567082c | ||
|
|
64875ed348 | ||
|
|
ead1b037b4 | ||
|
|
d594ed2896 | ||
|
|
b189d04718 | ||
|
|
f5fb45f146 | ||
|
|
08cfc34a05 | ||
|
|
2b8a229ce3 | ||
|
|
2054a1205e | ||
|
|
01b5b8fd8a | ||
|
|
64204fdb83 | ||
|
|
e5c2d9acc9 | ||
|
|
c8bdd9c32e | ||
|
|
9147cc1969 | ||
|
|
02429a5127 | ||
|
|
33406af039 | ||
|
|
31e756cf05 | ||
|
|
f8ad954f7d | ||
|
|
77bb1e886c | ||
|
|
25370b7f0c | ||
|
|
c73c73b797 | ||
|
|
63d482639c | ||
|
|
72ad33f3fd | ||
|
|
99ba894a9a | ||
|
|
facac9b21f | ||
|
|
8437051001 | ||
|
|
ca258a9c56 | ||
|
|
60c526db50 | ||
|
|
7494a278ae | ||
|
|
386266fab1 | ||
|
|
f2bc0785b9 | ||
|
|
ccb9e8c834 | ||
|
|
501db456d4 | ||
|
|
356c948bbd | ||
|
|
8096b6a9a1 | ||
|
|
924ffcac26 | ||
|
|
efea08ca6c | ||
|
|
dfe1ae6c3e | ||
|
|
84e449502f | ||
|
|
0b26d810bd | ||
|
|
374231de93 | ||
|
|
4461757e44 | ||
|
|
b3eee1b47e | ||
|
|
c71dd74969 | ||
|
|
314016db7f | ||
|
|
96e396f345 | ||
|
|
70a08bf916 | ||
|
|
4f82d4067a | ||
|
|
c17c14ce6a | ||
|
|
aedeefe898 | ||
|
|
da92d37033 | ||
|
|
9243e01613 | ||
|
|
12c1588b94 | ||
|
|
2e0e50636f | ||
|
|
58e05d90e1 | ||
|
|
5fccd1cabd | ||
|
|
c2d77decb2 | ||
|
|
cf22ff559b | ||
|
|
a22bf0142f | ||
|
|
ff362dd200 | ||
|
|
7bbe1c3f3d | ||
|
|
99e150cb43 | ||
|
|
e226e36a6c | ||
|
|
47354a0f29 | ||
|
|
62ca5cf04a | ||
|
|
1170e81edd | ||
|
|
63800e14ac | ||
|
|
aaf3409c46 | ||
|
|
6386363f89 | ||
|
|
2bbed348d4 | ||
|
|
7632870fd9 | ||
|
|
3589d4f072 | ||
|
|
bda9abd82c | ||
|
|
3e82feb264 | ||
|
|
8d0abc0389 | ||
|
|
4c2e77404f | ||
|
|
a0968fc6a8 | ||
|
|
912ac7e228 | ||
|
|
fb337a69b4 | ||
|
|
706493af4e | ||
|
|
8c19f94d29 | ||
|
|
3eaf8be961 | ||
|
|
588a484c53 | ||
|
|
536bc9be40 | ||
|
|
85e1c970e9 | ||
|
|
fd651c893a | ||
|
|
cf71cfa4dc | ||
|
|
9eb4d5e344 | ||
|
|
33f860b25e | ||
|
|
87bf3b1714 | ||
|
|
6d10eb1aff | ||
|
|
038971c8a1 | ||
|
|
a0a79a9aa3 | ||
|
|
8d517b88e5 | ||
|
|
0e01190d5f | ||
|
|
597fb9fbe3 | ||
|
|
ac05ab923a | ||
|
|
1d1955f1eb | ||
|
|
87adbf4322 | ||
|
|
92207c99ab | ||
|
|
263927c717 | ||
|
|
70974f59f3 | ||
|
|
d05099428f | ||
|
|
df84e6a4f5 | ||
|
|
55c7287553 | ||
|
|
be3bf22737 | ||
|
|
39f12daed6 | ||
|
|
540e704435 | ||
|
|
9a381d423f | ||
|
|
5ab84e6642 | ||
|
|
615be068c3 | ||
|
|
e341862cac | ||
|
|
5fa956dfe4 | ||
|
|
9929aa7775 | ||
|
|
f858398f2f | ||
|
|
df185f9fbe | ||
|
|
fc249d76a4 | ||
|
|
bd32d607ad | ||
|
|
c1852a54a5 | ||
|
|
0213b9481f | ||
|
|
297eabaa99 | ||
|
|
0d0cf693ac | ||
|
|
8e9e05da3d | ||
|
|
2569bca930 | ||
|
|
f5304801ac | ||
|
|
7e929b2bdc | ||
|
|
20f5317e27 | ||
|
|
7156604f1c | ||
|
|
be78355e83 | ||
|
|
93b77160ce | ||
|
|
9a94a94cff | ||
|
|
53808c6578 | ||
|
|
2e7c6320a8 | ||
|
|
a4178241ae | ||
|
|
5c4c912c9c | ||
|
|
d009c9bcf2 | ||
|
|
44a46fcdd1 | ||
|
|
6ac47e9531 | ||
|
|
df8d6a8db1 | ||
|
|
e7e96d079c | ||
|
|
edea3b6076 | ||
|
|
a952e2a3aa | ||
|
|
97238e0f43 | ||
|
|
0e6c1d1dc3 | ||
|
|
bf6bb142fc | ||
|
|
7a480d5571 | ||
|
|
de97da2446 | ||
|
|
309d1ca1f2 | ||
|
|
d164660412 | ||
|
|
16c1230184 | ||
|
|
1a36001469 | ||
|
|
7b9b08e207 | ||
|
|
a830c90016 | ||
|
|
9f8f40b322 | ||
|
|
fdb5aba59a | ||
|
|
bbd4001cb2 | ||
|
|
7c21a025e7 | ||
|
|
59fb23c666 | ||
|
|
f887139a97 | ||
|
|
45f3d2bf06 | ||
|
|
09b78833b5 | ||
|
|
03cf69df45 | ||
|
|
ca9f588f31 | ||
|
|
11d5826ae1 | ||
|
|
eb09a5738c | ||
|
|
fb84e0f322 | ||
|
|
b16ab3f383 | ||
|
|
987d105f55 | ||
|
|
54465cc4ac | ||
|
|
4e38ba8670 | ||
|
|
1b846d4b52 | ||
|
|
0433d6e7d1 | ||
|
|
2dba03fd2f | ||
|
|
e08833665d | ||
|
|
e7b059d943 | ||
|
|
5ddda9321c | ||
|
|
484a5de81d | ||
|
|
50217bd546 | ||
|
|
d75e9071f1 | ||
|
|
b1f27cb866 | ||
|
|
b0af6c9827 | ||
|
|
3c30002e00 | ||
|
|
17a7b835d5 | ||
|
|
08f0754406 | ||
|
|
dfe72009d3 | ||
|
|
91d45b1630 | ||
|
|
fa8c3a20c6 | ||
|
|
3203c21a80 | ||
|
|
3a17b713ef | ||
|
|
0f83951b6b | ||
|
|
45c75167b0 | ||
|
|
cf1b29fe47 | ||
|
|
fe4175e799 | ||
|
|
51c57b41a1 | ||
|
|
a5a34355e4 | ||
|
|
9fed5c8f39 | ||
|
|
d960419686 | ||
|
|
5e8e0689c4 | ||
|
|
43001bdfd7 | ||
|
|
f542c40ee6 | ||
|
|
3e670d8573 | ||
|
|
6fde853fa8 | ||
|
|
321121c827 | ||
|
|
537d477b30 | ||
|
|
a0bfb651b6 | ||
|
|
fef521cb6a | ||
|
|
99889f4cc6 | ||
|
|
5593323410 | ||
|
|
86f6015894 | ||
|
|
7838398b62 | ||
|
|
c352cb6a50 | ||
|
|
b2aba844ee | ||
|
|
940f4a53a5 | ||
|
|
9f7f0f1172 | ||
|
|
aea1fd640e | ||
|
|
2b97ab29b8 | ||
|
|
27c333c6b4 | ||
|
|
c043e5d535 | ||
|
|
858eff005a | ||
|
|
2af28f35d1 | ||
|
|
199a592d86 | ||
|
|
20a62a90e6 | ||
|
|
20cae79eb3 | ||
|
|
99831baf2e | ||
|
|
04e0440f61 | ||
|
|
abc1c7eb39 | ||
|
|
a1065a8a4b | ||
|
|
45549dde48 | ||
|
|
b86be392ff | ||
|
|
942640c901 | ||
|
|
fba0b46f53 | ||
|
|
ca4209a2da | ||
|
|
63b52f85a8 | ||
|
|
4a5f6b36cc | ||
|
|
b4e843aa3c | ||
|
|
3cf6d2b2d7 | ||
|
|
3968897fb4 | ||
|
|
17c5cad601 | ||
|
|
1f4ce97ecd | ||
|
|
f4d1b4804a | ||
|
|
78074eb34f | ||
|
|
3430e8690a | ||
|
|
bbfe249fd0 | ||
|
|
09cc05a97f | ||
|
|
0a2b11d181 | ||
|
|
2f54cd30fc | ||
|
|
de16d19667 | ||
|
|
7e0d05ea58 | ||
|
|
94980111da | ||
|
|
7dfc8b77b9 | ||
|
|
e14c686ac0 | ||
|
|
77fbaff2fa | ||
|
|
5941771281 | ||
|
|
6a44ab2659 | ||
|
|
5e69b90422 | ||
|
|
6f1fcab2d8 | ||
|
|
eac3e64111 | ||
|
|
7f21e9c0cd | ||
|
|
9f4779f923 | ||
|
|
0679b939f3 | ||
|
|
a77308735f | ||
|
|
c4aadf04aa | ||
|
|
473fb65d33 | ||
|
|
e25430117a | ||
|
|
4e721d14cd | ||
|
|
a1a007a485 | ||
|
|
4e368f8199 | ||
|
|
59bf4204a8 | ||
|
|
05cb2b32f2 | ||
|
|
dc8aad9b9d | ||
|
|
19b9340707 | ||
|
|
e57cba2682 | ||
|
|
b6a49b6623 | ||
|
|
cb59151acd | ||
|
|
424ed1b165 | ||
|
|
d990d8ab2c | ||
|
|
8d5ec757ec | ||
|
|
e197496820 | ||
|
|
72721d1d03 | ||
|
|
70c8cf8db7 | ||
|
|
aafdd31444 | ||
|
|
05441d12b6 | ||
|
|
727c27a30d | ||
|
|
b311e8fa71 | ||
|
|
2818e8dedb | ||
|
|
e7a220aae2 | ||
|
|
6056525ced | ||
|
|
4ee42e38e0 | ||
|
|
c93787917d | ||
|
|
f3c542a6a5 | ||
|
|
e2853b8a8f | ||
|
|
e641a2c53a | ||
|
|
34533e06a7 | ||
|
|
3df7c50fcc | ||
|
|
8bb9649135 | ||
|
|
5fd5b2ac2f | ||
|
|
aae3a11734 | ||
|
|
114eb8bf48 | ||
|
|
fdedd57c60 | ||
|
|
1ea1ed1515 | ||
|
|
2bb0252ab4 | ||
|
|
4b487efb58 | ||
|
|
2d2a60cdae | ||
|
|
7d753c1a8f | ||
|
|
2b7f231ca7 | ||
|
|
2a57d73c3b | ||
|
|
caa2a53c40 | ||
|
|
3ee73ca14c | ||
|
|
893a886ea3 | ||
|
|
7197b308fb | ||
|
|
6085bfdcec | ||
|
|
f084549e82 | ||
|
|
1a3f098975 | ||
|
|
eb94521052 | ||
|
|
e3f1d0d106 | ||
|
|
f67a2b88d7 | ||
|
|
5ef44cf648 | ||
|
|
6822460d3b | ||
|
|
213f9ea384 | ||
|
|
75db97cb37 | ||
|
|
a413cf7288 | ||
|
|
173a526ec0 | ||
|
|
3114d48cee | ||
|
|
9384b08d87 | ||
|
|
df313c5b77 | ||
|
|
cf70142093 | ||
|
|
5b5e5233f5 | ||
|
|
faa5f0df26 | ||
|
|
393ee744a8 | ||
|
|
b2af10d6cf | ||
|
|
b2331d7622 | ||
|
|
122938a439 | ||
|
|
427e734662 | ||
|
|
dda392cd4e | ||
|
|
912aa47acf | ||
|
|
726d2c3093 | ||
|
|
ea1b2e81e4 | ||
|
|
77e607426f | ||
|
|
9472b0a603 | ||
|
|
b794d24326 | ||
|
|
9ecabc46eb | ||
|
|
c00faa3d19 | ||
|
|
4a4b951bfc | ||
|
|
566f1ff8e7 | ||
|
|
0a815a6f11 | ||
|
|
6698bbf107 | ||
|
|
0ae2ab78b9 | ||
|
|
a10b23932c | ||
|
|
a24511ca8e | ||
|
|
41bd3e2599 | ||
|
|
191ec5415b | ||
|
|
bdaacef069 | ||
|
|
e3da3bec40 | ||
|
|
56bcb6b5af | ||
|
|
e4c64e1a3d | ||
|
|
77734e5470 | ||
|
|
af300f36f1 | ||
|
|
338c6a4323 | ||
|
|
28d4e4a5fa | ||
|
|
11bdaa144d | ||
|
|
1147945576 | ||
|
|
25550ce903 | ||
|
|
75c9377766 | ||
|
|
ee15761a50 | ||
|
|
0d3ee51ad2 | ||
|
|
82b361dc44 | ||
|
|
caa1b329f1 | ||
|
|
4bb98e2b61 | ||
|
|
71429dc7ec | ||
|
|
ea3585702f | ||
|
|
07148526de | ||
|
|
ece34cca42 | ||
|
|
c9e08a8af9 | ||
|
|
302f17e514 | ||
|
|
959f6d2881 | ||
|
|
5e04b38b1d | ||
|
|
64d560f52b | ||
|
|
e59bc0fea2 | ||
|
|
5b69e05939 | ||
|
|
2d689a1bc3 | ||
|
|
35c61a027d | ||
|
|
c58cec26c7 | ||
|
|
aade91b13a | ||
|
|
8bd0f36bf1 | ||
|
|
b367c38241 | ||
|
|
f0b727eac2 | ||
|
|
a32b7f7c4e | ||
|
|
bd819cc436 | ||
|
|
8c25427afc | ||
|
|
69d5d1e702 | ||
|
|
9da00ab58e | ||
|
|
c0ea2166b9 | ||
|
|
686954ea84 | ||
|
|
879619491f | ||
|
|
8f7686bd7d | ||
|
|
f87d25ee40 | ||
|
|
5babf7dc56 | ||
|
|
756fb3e145 | ||
|
|
e749d23a34 | ||
|
|
a089281740 | ||
|
|
f56791f643 | ||
|
|
d9ef671b04 | ||
|
|
f13ea6af5b | ||
|
|
c7816fd9ee | ||
|
|
abf6ecee9f | ||
|
|
a8f45aba81 | ||
|
|
dcc00ffadf | ||
|
|
34ef9d4683 | ||
|
|
4644a03770 | ||
|
|
3a9cafda4d | ||
|
|
cf4482199c | ||
|
|
c473010029 | ||
|
|
d2a0a16054 | ||
|
|
240ba54a42 | ||
|
|
5462c41574 | ||
|
|
38d185280e | ||
|
|
7c68c5a22c | ||
|
|
a1f1434202 | ||
|
|
565bf75145 | ||
|
|
90e68c3e3f | ||
|
|
4a70c6dd24 | ||
|
|
e510fcb00c | ||
|
|
ffa04def2f | ||
|
|
70a4d7e010 | ||
|
|
b392e6d2ea | ||
|
|
ba74a4174d | ||
|
|
519775b8d9 | ||
|
|
2fbd179478 | ||
|
|
c43c8f1762 | ||
|
|
ea44e60b7e | ||
|
|
6be9e50707 | ||
|
|
93f8e06bb8 | ||
|
|
1df7811e8e | ||
|
|
092c61f6e6 | ||
|
|
76e1c016a3 | ||
|
|
920519e7c5 | ||
|
|
505edf1ba4 | ||
|
|
017797de49 | ||
|
|
b736f53a13 | ||
|
|
4577efd50f | ||
|
|
eda34d02aa | ||
|
|
1275cfecf8 | ||
|
|
8d709fbc81 | ||
|
|
e3c30c6a4d | ||
|
|
9e2ba2237f | ||
|
|
2e5f399735 | ||
|
|
2f4fa17a5c | ||
|
|
88cfcc8a55 | ||
|
|
94852e675f | ||
|
|
de97f5dd8e | ||
|
|
b9b1757006 | ||
|
|
05b5c72bb4 | ||
|
|
d24b2d8a1d | ||
|
|
25b78dfa6e | ||
|
|
28b1200181 | ||
|
|
050973b503 | ||
|
|
141607b6de | ||
|
|
3bb7b8e11e | ||
|
|
daab331cf5 | ||
|
|
704ce7d91c | ||
|
|
f2fc563210 | ||
|
|
a973e506c1 | ||
|
|
4537850611 | ||
|
|
b9bb9f4cc6 | ||
|
|
d219b672a3 | ||
|
|
860efa70ee | ||
|
|
f6e7a511bc | ||
|
|
eb7399a0ab | ||
|
|
d739fdc17c | ||
|
|
2998d0f5e2 | ||
|
|
115952301b | ||
|
|
c5e46d92a2 | ||
|
|
e78a87b418 | ||
|
|
a53fe8f5c9 | ||
|
|
bba13e3d34 | ||
|
|
fbc836e285 | ||
|
|
9626500a0e | ||
|
|
c1ba23a015 | ||
|
|
d252c5b232 | ||
|
|
8114b67b64 | ||
|
|
c3039dadd9 | ||
|
|
8891f99913 | ||
|
|
3e9c160bbb | ||
|
|
28d03f81da | ||
|
|
f22bc3fd88 | ||
|
|
166fb9f289 | ||
|
|
26e53627d6 | ||
|
|
f0175fb7ab | ||
|
|
4240e91e32 | ||
|
|
71fd51a863 | ||
|
|
43ddb9b8c0 | ||
|
|
390894c822 | ||
|
|
e272829137 | ||
|
|
c8355b22c0 | ||
|
|
d7d79119ec | ||
|
|
3777f62a00 | ||
|
|
ba2c2e5301 | ||
|
|
11a8a39f6d | ||
|
|
17e72c824e | ||
|
|
b6c2d5f6ae | ||
|
|
6ee4e4436c | ||
|
|
13a6805652 | ||
|
|
aa60e7f714 | ||
|
|
0535b0bb38 | ||
|
|
caebf13372 | ||
|
|
66e6aac506 | ||
|
|
03f6e7acb3 | ||
|
|
60edea0203 | ||
|
|
b43b4f25a8 | ||
|
|
12ea568359 | ||
|
|
644e9db109 | ||
|
|
228d252ab1 | ||
|
|
46ecf68249 | ||
|
|
e59c00a5c5 | ||
|
|
eebeefbf29 | ||
|
|
abf6005858 | ||
|
|
9fafdd4546 | ||
|
|
d5d3cc71b8 | ||
|
|
b05346cf37 | ||
|
|
627f167bf4 | ||
|
|
b19e4e2cf0 | ||
|
|
f7e146b343 | ||
|
|
259e214960 | ||
|
|
ad35e2a11f | ||
|
|
32230477c6 | ||
|
|
fedcf7249a | ||
|
|
e10dfb62ff | ||
|
|
2772787463 | ||
|
|
fd6b1ad6f9 | ||
|
|
7a6e7ed0f5 | ||
|
|
1dbd9799db | ||
|
|
c88c161875 | ||
|
|
46ad1199de | ||
|
|
55d03738f9 | ||
|
|
011dac290a | ||
|
|
507827c207 | ||
|
|
dc7ceccf8b | ||
|
|
788c588bf6 | ||
|
|
6f93b00559 | ||
|
|
be18578af6 | ||
|
|
71119b4926 | ||
|
|
b884cfd05e | ||
|
|
a910f57af6 | ||
|
|
f1a0f0a56f | ||
|
|
8781f74555 | ||
|
|
7eb2c156ba | ||
|
|
f3f9b7b06e | ||
|
|
7b7ea5c59a | ||
|
|
cff4a7d0b6 | ||
|
|
6bb68deb2a | ||
|
|
896e23c20e | ||
|
|
cdcfbde10d | ||
|
|
b4dac5093a | ||
|
|
a06ce3f03b | ||
|
|
62d5359679 | ||
|
|
b7274fd666 | ||
|
|
eaac061607 | ||
|
|
6f96569b44 | ||
|
|
3458dde44f | ||
|
|
ee221138d4 | ||
|
|
bc0273b478 | ||
|
|
8896ca5c0a | ||
|
|
49e8a36e17 | ||
|
|
5f813f143b | ||
|
|
2e07719b30 | ||
|
|
c9fc6f4923 | ||
|
|
12640bf26e | ||
|
|
580ebc1056 | ||
|
|
ef9aeb6a08 | ||
|
|
4fd939e8c9 | ||
|
|
a80b5f2728 | ||
|
|
2e1e954eac | ||
|
|
c023a51e60 | ||
|
|
d8598c1ed3 | ||
|
|
0c36b27511 | ||
|
|
d77729916b | ||
|
|
4c697043da | ||
|
|
fd9d8c20d2 | ||
|
|
8826313be0 | ||
|
|
9ecbf33313 | ||
|
|
5d1eb0d3aa | ||
|
|
a930db1c9e | ||
|
|
f1e863a490 | ||
|
|
20e533f6b5 | ||
|
|
a1bc6f33ef | ||
|
|
40d8e355ce | ||
|
|
da8f20a3b0 | ||
|
|
38ec1c796d | ||
|
|
f297ef798e | ||
|
|
13a9ea6486 | ||
|
|
4f82d71df0 | ||
|
|
01b1e411bd | ||
|
|
ce1bd4f244 | ||
|
|
616475a0c1 | ||
|
|
a14048f0a2 | ||
|
|
39578317ee | ||
|
|
2e0f80af42 | ||
|
|
8f1c9fe4f0 | ||
|
|
66248cfbcc | ||
|
|
ee70e3a366 | ||
|
|
3d37f61816 | ||
|
|
039f3e49c7 | ||
|
|
2b01522cf3 | ||
|
|
e52c019ec8 | ||
|
|
c766897196 | ||
|
|
85edb1c711 | ||
|
|
bc9ad467f0 | ||
|
|
a24398e42d | ||
|
|
b55f0e7f0d | ||
|
|
47b8c58d47 | ||
|
|
b6c330e1ca | ||
|
|
51b6354f31 | ||
|
|
31c5e63eda | ||
|
|
d38f865699 | ||
|
|
5839763c82 | ||
|
|
83c4b04a70 | ||
|
|
140e3f5c03 | ||
|
|
aa752bce48 | ||
|
|
afb673f1b2 | ||
|
|
20b6d5e9c0 | ||
|
|
3cdef72da3 | ||
|
|
1a418cf476 | ||
|
|
e803a1be81 | ||
|
|
45f2fcd80d | ||
|
|
74fbc810ab | ||
|
|
b19cfd8e7b | ||
|
|
9dcf77e4c6 | ||
|
|
f28984b853 | ||
|
|
8a119434ac | ||
|
|
050cfdc4ca | ||
|
|
170b82c2e2 | ||
|
|
6f5c57ae74 | ||
|
|
4ccbe3620e | ||
|
|
d6d1c2dad1 | ||
|
|
c9b266dc20 | ||
|
|
827033c57c | ||
|
|
8723b9da93 | ||
|
|
b6ccccbc56 | ||
|
|
e14ebc03e3 | ||
|
|
5b829937bb | ||
|
|
433b047711 | ||
|
|
eddd0de2ae | ||
|
|
9920472970 | ||
|
|
73c6f6b3de | ||
|
|
8a15fd8d24 | ||
|
|
34125a031e | ||
|
|
631b690ac3 | ||
|
|
c87dbe6922 | ||
|
|
260e399a1f | ||
|
|
8fd370c9f3 | ||
|
|
30c683d986 | ||
|
|
1da0e8a095 | ||
|
|
c06b8691e3 | ||
|
|
2c0b407f04 | ||
|
|
2b6c1f971b | ||
|
|
a7e1d8dc3c | ||
|
|
3156899f74 | ||
|
|
33855e2472 | ||
|
|
598dc50dbb | ||
|
|
26163d8988 | ||
|
|
1201510514 | ||
|
|
4686be40b2 | ||
|
|
ae656528f7 | ||
|
|
3bc0a5c532 | ||
|
|
cf71bfa8aa | ||
|
|
4cda63fe3f | ||
|
|
814bfaddb9 | ||
|
|
31c0e9aa68 | ||
|
|
442e2e04ef | ||
|
|
0f99df52d5 | ||
|
|
3adc70dadd | ||
|
|
5b30f18421 | ||
|
|
e1cb581a99 | ||
|
|
06a13ffb09 | ||
|
|
3bcc6548c4 | ||
|
|
84ed7160b1 | ||
|
|
d49ca9fc0f | ||
|
|
97ff781ee8 | ||
|
|
0fca15e1f3 | ||
|
|
5c6320cc46 | ||
|
|
8a9d0dfdbf | ||
|
|
753df14c7c | ||
|
|
40388d5acf | ||
|
|
651b0dd97f | ||
|
|
bb9e155841 | ||
|
|
aaa70dac61 | ||
|
|
d394b70aa4 | ||
|
|
37ea3b7b87 | ||
|
|
15e4dcdedd | ||
|
|
80f9b75efa | ||
|
|
2625cde90f |
No files matched your search
@@ -1 +0,0 @@
|
||||
config
|
||||
@@ -1,6 +0,0 @@
|
||||
[source.crates-io]
|
||||
registry = 'https://github.com/rust-lang/crates.io-index'
|
||||
replace-with = 'vendored-sources'
|
||||
|
||||
[source.vendored-sources]
|
||||
directory = '@top_srcdir@/third_party/rust'
|
||||
@@ -7,6 +7,9 @@ module.exports = {
|
||||
],
|
||||
"rules": {
|
||||
"mozilla/import-globals": "warn",
|
||||
|
||||
// No (!foo in bar) or (!object instanceof Class)
|
||||
"no-unsafe-negation": "error",
|
||||
},
|
||||
"env": {
|
||||
"es6": true
|
||||
|
||||
@@ -22,4 +22,4 @@
|
||||
# changes to stick? As of bug 928195, this shouldn't be necessary! Please
|
||||
# don't change CLOBBER for WebIDL changes any more.
|
||||
|
||||
Clobber for un-folding browsercomps
|
||||
Clobber for updating ffvpx
|
||||
@@ -299,13 +299,6 @@ MAKE_SYM_STORE_ARGS += --install-manifest=$(DEPTH)/_build_manifests/install/dist
|
||||
|
||||
SYM_STORE_SOURCE_DIRS := $(topsrcdir)
|
||||
|
||||
ifdef MOZ_CRASHREPORTER
|
||||
include $(topsrcdir)/toolkit/mozapps/installer/package-name.mk
|
||||
|
||||
SYMBOL_INDEX_NAME = \
|
||||
$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)-$(OS_TARGET)-$(BUILDID)-$(CPU_ARCH)-symbols.txt
|
||||
endif
|
||||
|
||||
.PHONY: generatesymbols
|
||||
generatesymbols:
|
||||
echo building symbol store
|
||||
@@ -337,18 +330,9 @@ symbolsarchive: generatesymbols
|
||||
cd $(DIST)/crashreporter-symbols && \
|
||||
zip -r5D '../$(PKG_PATH)$(SYMBOL_ARCHIVE_BASENAME).zip' . -i '*.sym' -i '*.txt'
|
||||
|
||||
ifdef MOZ_CRASHREPORTER
|
||||
buildsymbols: symbolsfullarchive symbolsarchive
|
||||
else
|
||||
buildsymbols:
|
||||
endif
|
||||
|
||||
uploadsymbols:
|
||||
ifdef MOZ_CRASHREPORTER
|
||||
ifdef SOCORRO_SYMBOL_UPLOAD_TOKEN_FILE
|
||||
$(PYTHON) -u $(topsrcdir)/toolkit/crashreporter/tools/upload_symbols.py '$(DIST)/$(PKG_PATH)$(SYMBOL_FULL_ARCHIVE_BASENAME).zip'
|
||||
endif
|
||||
endif
|
||||
|
||||
.PHONY: update-packaging
|
||||
update-packaging:
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
# Unified XUL Platform (UXP)
|
||||
|
||||
This repository holds the code for a unified application platform for XUL-based
|
||||
applications. It is a hard fork from the Mozilla code repository (mozilla-central)
|
||||
with an ESR-52 fork point.
|
||||
|
||||
In addition to further development based on the Mozilla upstream code, and
|
||||
selective cherry-picking of directly-applicable patches, this repository has its
|
||||
own development and holds the base for a future platform to be used by XUL
|
||||
applications.
|
||||
|
||||
This repository will contain at least one application to demonstrate and make use
|
||||
of the platform: The Basilisk web browser, a close twin to Mozilla's Firefox.
|
||||
|
||||
## Additional documentation
|
||||
|
||||
Additional documentation relevant to this source code can be found in the `/docs`
|
||||
directory. This will contain relevant documentation regarding contributing,
|
||||
using and distributing this code and its binaries.
|
||||
|
||||
### A note about trademarks and branding
|
||||
|
||||
Although this repository is licensed under Mozilla Public License v2.0, the
|
||||
trademarks and brands contained herein remain the property of their respective
|
||||
owners. For more details, please see the notifications in the respective directories.
|
||||
|
||||
### Foundation and maintainership
|
||||
|
||||
This repository has been founded and is maintained by Moonchild (M.C. Straver).
|
||||
If you fork this repository to perform your own work on it, please consider
|
||||
offering improvement patches upstream to its origin to mutually improve the
|
||||
platform and build a future for XUL.
|
||||
@@ -53,10 +53,6 @@
|
||||
#include "Logging.h"
|
||||
#endif
|
||||
|
||||
#ifdef MOZ_CRASHREPORTER
|
||||
#include "nsExceptionHandler.h"
|
||||
#endif
|
||||
|
||||
#include "nsImageFrame.h"
|
||||
#include "nsIObserverService.h"
|
||||
#include "nsLayoutUtils.h"
|
||||
@@ -1283,12 +1279,6 @@ nsAccessibilityService::Init()
|
||||
NS_ADDREF(gApplicationAccessible); // will release in Shutdown()
|
||||
gApplicationAccessible->Init();
|
||||
|
||||
#ifdef MOZ_CRASHREPORTER
|
||||
CrashReporter::
|
||||
AnnotateCrashReport(NS_LITERAL_CSTRING("Accessibility"),
|
||||
NS_LITERAL_CSTRING("Active"));
|
||||
#endif
|
||||
|
||||
#ifdef XP_WIN
|
||||
sPendingPlugins = new nsTArray<nsCOMPtr<nsIContent> >;
|
||||
sPluginTimers = new nsTArray<nsCOMPtr<nsITimer> >;
|
||||
|
||||
@@ -336,12 +336,8 @@ void MaybeShutdownAccService(uint32_t aFormerConsumer);
|
||||
inline bool
|
||||
IPCAccessibilityActive()
|
||||
{
|
||||
#ifdef MOZ_B2G
|
||||
return false;
|
||||
#else
|
||||
return XRE_IsContentProcess() &&
|
||||
mozilla::Preferences::GetBool("accessibility.ipc_architecture.enabled", true);
|
||||
#endif
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -492,32 +492,7 @@ bool
|
||||
DocAccessibleParent::RecvGetWindowedPluginIAccessible(
|
||||
const WindowsHandle& aHwnd, IAccessibleHolder* aPluginCOMProxy)
|
||||
{
|
||||
#if defined(MOZ_CONTENT_SANDBOX)
|
||||
// We don't actually want the accessible object for aHwnd, but rather the
|
||||
// one that belongs to its child (see HTMLWin32ObjectAccessible).
|
||||
HWND childWnd = ::GetWindow(reinterpret_cast<HWND>(aHwnd), GW_CHILD);
|
||||
if (!childWnd) {
|
||||
// We're seeing this in the wild - the plugin is windowed but we no longer
|
||||
// have a window.
|
||||
return true;
|
||||
}
|
||||
|
||||
IAccessible* rawAccPlugin = nullptr;
|
||||
HRESULT hr = ::AccessibleObjectFromWindow(childWnd, OBJID_WINDOW,
|
||||
IID_IAccessible,
|
||||
(void**)&rawAccPlugin);
|
||||
if (FAILED(hr)) {
|
||||
// This might happen if the plugin doesn't handle WM_GETOBJECT properly.
|
||||
// We should not consider that a failure.
|
||||
return true;
|
||||
}
|
||||
|
||||
aPluginCOMProxy->Set(IAccessibleHolder::COMPtrType(rawAccPlugin));
|
||||
|
||||
return true;
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif // defined(XP_WIN)
|
||||
|
||||
@@ -46,17 +46,6 @@ var PointerRelay = { // jshint ignore:line
|
||||
'touchend' : true };
|
||||
break;
|
||||
|
||||
case 'gonk':
|
||||
this._eventsOfInterest = {
|
||||
'touchstart' : true,
|
||||
'touchmove' : true,
|
||||
'touchend' : true,
|
||||
'mousedown' : false,
|
||||
'mousemove' : false,
|
||||
'mouseup': false,
|
||||
'click': false };
|
||||
break;
|
||||
|
||||
default:
|
||||
// Desktop.
|
||||
this._eventsOfInterest = {
|
||||
|
||||
@@ -124,14 +124,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=753984
|
||||
"Peaches", {"string": "linkAbbr"}, "Plums", {"string": "linkAbbr"},
|
||||
{"string": "listAbbr"},
|
||||
{"string": "cellInfoAbbr", "args": [ 1, 1]}]]
|
||||
}, {
|
||||
accOrElmOrID: "date",
|
||||
expectedUtterance: [[{"string": "textInputType_date"},
|
||||
{"string": "entry"}, "2011-09-29"], ["2011-09-29",
|
||||
{"string": "textInputType_date"}, {"string": "entry"}]],
|
||||
expectedBraille: [[{"string": "textInputType_date"},
|
||||
{"string": "entryAbbr"}, "2011-09-29"], ["2011-09-29",
|
||||
{"string": "textInputType_date"}, {"string": "entryAbbr"}]]
|
||||
}, {
|
||||
accOrElmOrID: "email",
|
||||
expectedUtterance: [[{"string": "textInputType_email"},
|
||||
@@ -619,7 +611,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=753984
|
||||
<label for="password">Secret Password</label><input id="password" type="password"></input>
|
||||
<label for="radio_unselected">any old radio button</label><input id="radio_unselected" type="radio"></input>
|
||||
<label for="radio_selected">a unique radio button</label><input id="radio_selected" type="radio" checked></input>
|
||||
<input id="date" type="date" value="2011-09-29" />
|
||||
<input id="email" type="email" value="test@example.com" />
|
||||
<input id="search" type="search" value="This is a search" />
|
||||
<input id="tel" type="tel" value="555-5555" />
|
||||
|
||||
@@ -63,8 +63,6 @@ ia2Accessible::QueryInterface(REFIID iid, void** ppv)
|
||||
STDMETHODIMP
|
||||
ia2Accessible::get_nRelations(long* aNRelations)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aNRelations)
|
||||
return E_INVALIDARG;
|
||||
*aNRelations = 0;
|
||||
@@ -84,16 +82,12 @@ ia2Accessible::get_nRelations(long* aNRelations)
|
||||
(*aNRelations)++;
|
||||
}
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2Accessible::get_relation(long aRelationIndex,
|
||||
IAccessibleRelation** aRelation)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aRelation || aRelationIndex < 0)
|
||||
return E_INVALIDARG;
|
||||
*aRelation = nullptr;
|
||||
@@ -124,8 +118,6 @@ ia2Accessible::get_relation(long aRelationIndex,
|
||||
}
|
||||
|
||||
return E_INVALIDARG;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
@@ -133,8 +125,6 @@ ia2Accessible::get_relations(long aMaxRelations,
|
||||
IAccessibleRelation** aRelation,
|
||||
long *aNRelations)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aRelation || !aNRelations || aMaxRelations <= 0)
|
||||
return E_INVALIDARG;
|
||||
*aNRelations = 0;
|
||||
@@ -160,15 +150,11 @@ ia2Accessible::get_relations(long aMaxRelations,
|
||||
}
|
||||
}
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2Accessible::role(long* aRole)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aRole)
|
||||
return E_INVALIDARG;
|
||||
*aRole = 0;
|
||||
@@ -204,15 +190,11 @@ ia2Accessible::role(long* aRole)
|
||||
}
|
||||
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2Accessible::scrollTo(enum IA2ScrollType aScrollType)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
AccessibleWrap* acc = static_cast<AccessibleWrap*>(this);
|
||||
if (acc->IsDefunct())
|
||||
return CO_E_OBJNOTCONNECTED;
|
||||
@@ -222,16 +204,12 @@ ia2Accessible::scrollTo(enum IA2ScrollType aScrollType)
|
||||
aScrollType);
|
||||
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2Accessible::scrollToPoint(enum IA2CoordinateType aCoordType,
|
||||
long aX, long aY)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
AccessibleWrap* acc = static_cast<AccessibleWrap*>(this);
|
||||
if (acc->IsDefunct())
|
||||
return CO_E_OBJNOTCONNECTED;
|
||||
@@ -244,8 +222,6 @@ ia2Accessible::scrollToPoint(enum IA2CoordinateType aCoordType,
|
||||
acc->ScrollToPoint(geckoCoordType, aX, aY);
|
||||
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
@@ -253,8 +229,6 @@ ia2Accessible::get_groupPosition(long* aGroupLevel,
|
||||
long* aSimilarItemsInGroup,
|
||||
long* aPositionInGroup)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aGroupLevel || !aSimilarItemsInGroup || !aPositionInGroup)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -279,15 +253,11 @@ ia2Accessible::get_groupPosition(long* aGroupLevel,
|
||||
*aPositionInGroup = groupPos.posInSet;
|
||||
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2Accessible::get_states(AccessibleStates* aStates)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aStates)
|
||||
return E_INVALIDARG;
|
||||
*aStates = 0;
|
||||
@@ -347,50 +317,36 @@ ia2Accessible::get_states(AccessibleStates* aStates)
|
||||
*aStates |= IA2_STATE_PINNED;
|
||||
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2Accessible::get_extendedRole(BSTR* aExtendedRole)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aExtendedRole)
|
||||
return E_INVALIDARG;
|
||||
|
||||
*aExtendedRole = nullptr;
|
||||
return E_NOTIMPL;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2Accessible::get_localizedExtendedRole(BSTR* aLocalizedExtendedRole)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aLocalizedExtendedRole)
|
||||
return E_INVALIDARG;
|
||||
|
||||
*aLocalizedExtendedRole = nullptr;
|
||||
return E_NOTIMPL;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2Accessible::get_nExtendedStates(long* aNExtendedStates)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aNExtendedStates)
|
||||
return E_INVALIDARG;
|
||||
|
||||
*aNExtendedStates = 0;
|
||||
return E_NOTIMPL;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
@@ -398,16 +354,12 @@ ia2Accessible::get_extendedStates(long aMaxExtendedStates,
|
||||
BSTR** aExtendedStates,
|
||||
long* aNExtendedStates)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aExtendedStates || !aNExtendedStates)
|
||||
return E_INVALIDARG;
|
||||
|
||||
*aExtendedStates = nullptr;
|
||||
*aNExtendedStates = 0;
|
||||
return E_NOTIMPL;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
@@ -415,38 +367,28 @@ ia2Accessible::get_localizedExtendedStates(long aMaxLocalizedExtendedStates,
|
||||
BSTR** aLocalizedExtendedStates,
|
||||
long* aNLocalizedExtendedStates)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aLocalizedExtendedStates || !aNLocalizedExtendedStates)
|
||||
return E_INVALIDARG;
|
||||
|
||||
*aLocalizedExtendedStates = nullptr;
|
||||
*aNLocalizedExtendedStates = 0;
|
||||
return E_NOTIMPL;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2Accessible::get_uniqueID(long* aUniqueID)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aUniqueID)
|
||||
return E_INVALIDARG;
|
||||
|
||||
AccessibleWrap* acc = static_cast<AccessibleWrap*>(this);
|
||||
*aUniqueID = AccessibleWrap::GetChildIDFor(acc);
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2Accessible::get_windowHandle(HWND* aWindowHandle)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aWindowHandle)
|
||||
return E_INVALIDARG;
|
||||
*aWindowHandle = 0;
|
||||
@@ -457,15 +399,11 @@ ia2Accessible::get_windowHandle(HWND* aWindowHandle)
|
||||
|
||||
*aWindowHandle = AccessibleWrap::GetHWNDFor(acc);
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2Accessible::get_indexInParent(long* aIndexInParent)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aIndexInParent)
|
||||
return E_INVALIDARG;
|
||||
*aIndexInParent = -1;
|
||||
@@ -481,15 +419,11 @@ ia2Accessible::get_indexInParent(long* aIndexInParent)
|
||||
return S_FALSE;
|
||||
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2Accessible::get_locale(IA2Locale* aLocale)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aLocale)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -532,15 +466,11 @@ ia2Accessible::get_locale(IA2Locale* aLocale)
|
||||
// country abbreviations or if there are more than one subcode.
|
||||
aLocale->variant = ::SysAllocString(lang.get());
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2Accessible::get_attributes(BSTR* aAttributes)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aAttributes)
|
||||
return E_INVALIDARG;
|
||||
*aAttributes = nullptr;
|
||||
@@ -558,8 +488,6 @@ ia2Accessible::get_attributes(BSTR* aAttributes)
|
||||
|
||||
MOZ_ASSERT(!acc->IsProxy());
|
||||
return E_UNEXPECTED;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
@@ -568,22 +496,16 @@ ia2Accessible::get_attributes(BSTR* aAttributes)
|
||||
STDMETHODIMP
|
||||
ia2Accessible::get_attribute(BSTR name, VARIANT* aAttribute)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aAttribute)
|
||||
return E_INVALIDARG;
|
||||
|
||||
return E_NOTIMPL;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2Accessible::get_accessibleWithCaret(IUnknown** aAccessible,
|
||||
long* aCaretOffset)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aAccessible || !aCaretOffset)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -611,8 +533,6 @@ ia2Accessible::get_accessibleWithCaret(IUnknown** aAccessible,
|
||||
(*aAccessible)->AddRef();
|
||||
*aCaretOffset = caretOffset;
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
@@ -621,8 +541,6 @@ ia2Accessible::get_relationTargetsOfType(BSTR aType,
|
||||
IUnknown*** aTargets,
|
||||
long* aNTargets)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aTargets || !aNTargets || aMaxTargets < 0)
|
||||
return E_INVALIDARG;
|
||||
*aNTargets = 0;
|
||||
@@ -663,16 +581,12 @@ ia2Accessible::get_relationTargetsOfType(BSTR aType,
|
||||
}
|
||||
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2Accessible::get_selectionRanges(IA2Range** aRanges,
|
||||
long *aNRanges)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aRanges || !aNRanges)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -714,8 +628,6 @@ ia2Accessible::get_selectionRanges(IA2Range** aRanges,
|
||||
}
|
||||
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -39,8 +39,6 @@ ia2AccessibleAction::QueryInterface(REFIID iid, void** ppv)
|
||||
STDMETHODIMP
|
||||
ia2AccessibleAction::nActions(long* aActionCount)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aActionCount)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -52,30 +50,22 @@ ia2AccessibleAction::nActions(long* aActionCount)
|
||||
|
||||
*aActionCount = acc->ActionCount();
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleAction::doAction(long aActionIndex)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
AccessibleWrap* acc = static_cast<AccessibleWrap*>(this);
|
||||
if (acc->IsDefunct())
|
||||
return CO_E_OBJNOTCONNECTED;
|
||||
|
||||
uint8_t index = static_cast<uint8_t>(aActionIndex);
|
||||
return acc->DoAction(index) ? S_OK : E_INVALIDARG;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleAction::get_description(long aActionIndex, BSTR *aDescription)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aDescription)
|
||||
return E_INVALIDARG;
|
||||
*aDescription = nullptr;
|
||||
@@ -93,8 +83,6 @@ ia2AccessibleAction::get_description(long aActionIndex, BSTR *aDescription)
|
||||
*aDescription = ::SysAllocStringLen(description.get(),
|
||||
description.Length());
|
||||
return *aDescription ? S_OK : E_OUTOFMEMORY;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
@@ -102,8 +90,6 @@ ia2AccessibleAction::get_keyBinding(long aActionIndex, long aNumMaxBinding,
|
||||
BSTR **aKeyBinding,
|
||||
long *aNumBinding)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aKeyBinding)
|
||||
return E_INVALIDARG;
|
||||
*aKeyBinding = nullptr;
|
||||
@@ -143,15 +129,11 @@ ia2AccessibleAction::get_keyBinding(long aActionIndex, long aNumMaxBinding,
|
||||
|
||||
*aNumBinding = 1;
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleAction::get_name(long aActionIndex, BSTR *aName)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aName)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -169,20 +151,14 @@ ia2AccessibleAction::get_name(long aActionIndex, BSTR *aName)
|
||||
|
||||
*aName = ::SysAllocStringLen(name.get(), name.Length());
|
||||
return *aName ? S_OK : E_OUTOFMEMORY;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleAction::get_localizedName(long aActionIndex, BSTR *aLocalizedName)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aLocalizedName)
|
||||
return E_INVALIDARG;
|
||||
|
||||
*aLocalizedName = nullptr;
|
||||
return E_NOTIMPL;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
@@ -41,8 +41,6 @@ ia2AccessibleComponent::QueryInterface(REFIID iid, void** ppv)
|
||||
STDMETHODIMP
|
||||
ia2AccessibleComponent::get_locationInParent(long* aX, long* aY)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aX || !aY)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -75,15 +73,11 @@ ia2AccessibleComponent::get_locationInParent(long* aX, long* aY)
|
||||
*aX = rect.x - parentRect.x;
|
||||
*aY = rect.y - parentRect.y;
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleComponent::get_foreground(IA2Color* aForeground)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aForeground)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -98,15 +92,11 @@ ia2AccessibleComponent::get_foreground(IA2Color* aForeground)
|
||||
*aForeground = frame->StyleColor()->mColor;
|
||||
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleComponent::get_background(IA2Color* aBackground)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aBackground)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -121,7 +111,5 @@ ia2AccessibleComponent::get_background(IA2Color* aBackground)
|
||||
*aBackground = frame->StyleBackground()->mBackgroundColor;
|
||||
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
@@ -22,8 +22,6 @@ using namespace mozilla::a11y;
|
||||
STDMETHODIMP
|
||||
ia2AccessibleEditableText::copyText(long aStartOffset, long aEndOffset)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
MOZ_ASSERT(!HyperTextProxyFor(this));
|
||||
|
||||
HyperTextAccessible* textAcc = static_cast<HyperTextAccessibleWrap*>(this);
|
||||
@@ -35,15 +33,11 @@ ia2AccessibleEditableText::copyText(long aStartOffset, long aEndOffset)
|
||||
|
||||
textAcc->CopyText(aStartOffset, aEndOffset);
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleEditableText::deleteText(long aStartOffset, long aEndOffset)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
MOZ_ASSERT(!HyperTextProxyFor(this));
|
||||
|
||||
HyperTextAccessible* textAcc = static_cast<HyperTextAccessibleWrap*>(this);
|
||||
@@ -55,15 +49,11 @@ ia2AccessibleEditableText::deleteText(long aStartOffset, long aEndOffset)
|
||||
|
||||
textAcc->DeleteText(aStartOffset, aEndOffset);
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleEditableText::insertText(long aOffset, BSTR *aText)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
uint32_t length = ::SysStringLen(*aText);
|
||||
nsAutoString text(*aText, length);
|
||||
MOZ_ASSERT(!HyperTextProxyFor(this));
|
||||
@@ -77,15 +67,11 @@ ia2AccessibleEditableText::insertText(long aOffset, BSTR *aText)
|
||||
|
||||
textAcc->InsertText(text, aOffset);
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleEditableText::cutText(long aStartOffset, long aEndOffset)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
MOZ_ASSERT(!HyperTextProxyFor(this));
|
||||
|
||||
HyperTextAccessible* textAcc = static_cast<HyperTextAccessibleWrap*>(this);
|
||||
@@ -97,15 +83,11 @@ ia2AccessibleEditableText::cutText(long aStartOffset, long aEndOffset)
|
||||
|
||||
textAcc->CutText(aStartOffset, aEndOffset);
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleEditableText::pasteText(long aOffset)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
MOZ_ASSERT(!HyperTextProxyFor(this));
|
||||
|
||||
HyperTextAccessible* textAcc = static_cast<HyperTextAccessibleWrap*>(this);
|
||||
@@ -117,16 +99,12 @@ ia2AccessibleEditableText::pasteText(long aOffset)
|
||||
|
||||
textAcc->PasteText(aOffset);
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleEditableText::replaceText(long aStartOffset, long aEndOffset,
|
||||
BSTR *aText)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
HyperTextAccessible* textAcc = static_cast<HyperTextAccessibleWrap*>(this);
|
||||
if (textAcc->IsDefunct())
|
||||
return CO_E_OBJNOTCONNECTED;
|
||||
@@ -141,8 +119,6 @@ ia2AccessibleEditableText::replaceText(long aStartOffset, long aEndOffset,
|
||||
textAcc->InsertText(text, aStartOffset);
|
||||
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
|
||||
@@ -45,8 +45,6 @@ ia2AccessibleHyperlink::QueryInterface(REFIID iid, void** ppv)
|
||||
STDMETHODIMP
|
||||
ia2AccessibleHyperlink::get_anchor(long aIndex, VARIANT* aAnchor)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aAnchor)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -77,15 +75,11 @@ ia2AccessibleHyperlink::get_anchor(long aIndex, VARIANT* aAnchor)
|
||||
aAnchor->punkVal = static_cast<IUnknown*>(instancePtr);
|
||||
aAnchor->vt = VT_UNKNOWN;
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleHyperlink::get_anchorTarget(long aIndex, VARIANT* aAnchorTarget)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aAnchorTarget) {
|
||||
return E_INVALIDARG;
|
||||
}
|
||||
@@ -124,15 +118,11 @@ ia2AccessibleHyperlink::get_anchorTarget(long aIndex, VARIANT* aAnchorTarget)
|
||||
aAnchorTarget->bstrVal = ::SysAllocStringLen(stringURI.get(),
|
||||
stringURI.Length());
|
||||
return aAnchorTarget->bstrVal ? S_OK : E_OUTOFMEMORY;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleHyperlink::get_startIndex(long* aIndex)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aIndex)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -149,15 +139,11 @@ ia2AccessibleHyperlink::get_startIndex(long* aIndex)
|
||||
|
||||
*aIndex = thisObj->StartOffset();
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleHyperlink::get_endIndex(long* aIndex)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aIndex)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -174,15 +160,11 @@ ia2AccessibleHyperlink::get_endIndex(long* aIndex)
|
||||
|
||||
*aIndex = thisObj->EndOffset();
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleHyperlink::get_valid(boolean* aValid)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aValid)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -199,7 +181,5 @@ ia2AccessibleHyperlink::get_valid(boolean* aValid)
|
||||
|
||||
*aValid = thisObj->IsLinkValid();
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
@@ -19,8 +19,6 @@ using namespace mozilla::a11y;
|
||||
STDMETHODIMP
|
||||
ia2AccessibleHypertext::get_nHyperlinks(long* aHyperlinkCount)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aHyperlinkCount)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -34,16 +32,12 @@ ia2AccessibleHypertext::get_nHyperlinks(long* aHyperlinkCount)
|
||||
|
||||
*aHyperlinkCount = hyperText->LinkCount();
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleHypertext::get_hyperlink(long aLinkIndex,
|
||||
IAccessibleHyperlink** aHyperlink)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aHyperlink)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -65,15 +59,11 @@ ia2AccessibleHypertext::get_hyperlink(long aLinkIndex,
|
||||
static_cast<IAccessibleHyperlink*>(hyperLink);
|
||||
(*aHyperlink)->AddRef();
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleHypertext::get_hyperlinkIndex(long aCharIndex, long* aHyperlinkIndex)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aHyperlinkIndex)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -87,7 +77,5 @@ ia2AccessibleHypertext::get_hyperlinkIndex(long aCharIndex, long* aHyperlinkInde
|
||||
|
||||
*aHyperlinkIndex = hyperAcc->LinkIndexAtOffset(aCharIndex);
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
@@ -43,8 +43,6 @@ ia2AccessibleImage::QueryInterface(REFIID iid, void** ppv)
|
||||
STDMETHODIMP
|
||||
ia2AccessibleImage::get_description(BSTR* aDescription)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aDescription)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -61,8 +59,6 @@ ia2AccessibleImage::get_description(BSTR* aDescription)
|
||||
|
||||
*aDescription = ::SysAllocStringLen(description.get(), description.Length());
|
||||
return *aDescription ? S_OK : E_OUTOFMEMORY;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
@@ -70,8 +66,6 @@ ia2AccessibleImage::get_imagePosition(enum IA2CoordinateType aCoordType,
|
||||
long* aX,
|
||||
long* aY)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aX || !aY)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -90,15 +84,11 @@ ia2AccessibleImage::get_imagePosition(enum IA2CoordinateType aCoordType,
|
||||
*aX = pos.x;
|
||||
*aY = pos.y;
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleImage::get_imageSize(long* aHeight, long* aWidth)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aHeight || !aWidth)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -113,7 +103,5 @@ ia2AccessibleImage::get_imageSize(long* aHeight, long* aWidth)
|
||||
*aHeight = size.width;
|
||||
*aWidth = size.height;
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
@@ -34,8 +34,6 @@ IMPL_IUNKNOWN_QUERY_TAIL
|
||||
STDMETHODIMP
|
||||
ia2AccessibleRelation::get_relationType(BSTR* aRelationType)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aRelationType)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -51,43 +49,31 @@ ia2AccessibleRelation::get_relationType(BSTR* aRelationType)
|
||||
}
|
||||
|
||||
return *aRelationType ? S_OK : E_OUTOFMEMORY;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleRelation::get_localizedRelationType(BSTR *aLocalizedRelationType)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aLocalizedRelationType)
|
||||
return E_INVALIDARG;
|
||||
|
||||
*aLocalizedRelationType = nullptr;
|
||||
return E_NOTIMPL;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleRelation::get_nTargets(long *aNTargets)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aNTargets)
|
||||
return E_INVALIDARG;
|
||||
|
||||
*aNTargets = mTargets.Length();
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleRelation::get_target(long aTargetIndex, IUnknown **aTarget)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (aTargetIndex < 0 || (uint32_t)aTargetIndex >= mTargets.Length() || !aTarget)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -97,16 +83,12 @@ ia2AccessibleRelation::get_target(long aTargetIndex, IUnknown **aTarget)
|
||||
(*aTarget)->AddRef();
|
||||
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleRelation::get_targets(long aMaxTargets, IUnknown **aTargets,
|
||||
long *aNTargets)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aNTargets || !aTargets)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -120,6 +102,4 @@ ia2AccessibleRelation::get_targets(long aMaxTargets, IUnknown **aTargets,
|
||||
|
||||
*aNTargets = maxTargets;
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
@@ -60,8 +60,6 @@ ia2AccessibleTable::get_accessibleAt(long aRowIdx, long aColIdx,
|
||||
STDMETHODIMP
|
||||
ia2AccessibleTable::get_caption(IUnknown** aAccessible)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aAccessible)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -75,16 +73,12 @@ ia2AccessibleTable::get_caption(IUnknown** aAccessible)
|
||||
|
||||
(*aAccessible = static_cast<IAccessible*>(caption))->AddRef();
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleTable::get_childIndex(long aRowIdx, long aColIdx,
|
||||
long* aChildIdx)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aChildIdx)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -99,15 +93,11 @@ ia2AccessibleTable::get_childIndex(long aRowIdx, long aColIdx,
|
||||
|
||||
*aChildIdx = mTable->CellIndexAt(aRowIdx, aColIdx);
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleTable::get_columnDescription(long aColIdx, BSTR* aDescription)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aDescription)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -125,16 +115,12 @@ ia2AccessibleTable::get_columnDescription(long aColIdx, BSTR* aDescription)
|
||||
|
||||
*aDescription = ::SysAllocStringLen(descr.get(), descr.Length());
|
||||
return *aDescription ? S_OK : E_OUTOFMEMORY;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleTable::get_columnExtentAt(long aRowIdx, long aColIdx,
|
||||
long* aSpan)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aSpan)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -149,31 +135,23 @@ ia2AccessibleTable::get_columnExtentAt(long aRowIdx, long aColIdx,
|
||||
|
||||
*aSpan = mTable->ColExtentAt(aRowIdx, aColIdx);
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleTable::get_columnHeader(IAccessibleTable** aAccessibleTable,
|
||||
long* aStartingRowIndex)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aAccessibleTable || !aStartingRowIndex)
|
||||
return E_INVALIDARG;
|
||||
|
||||
*aAccessibleTable = nullptr;
|
||||
*aStartingRowIndex = -1;
|
||||
return E_NOTIMPL;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleTable::get_columnIndex(long aCellIdx, long* aColIdx)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aColIdx)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -187,15 +165,11 @@ ia2AccessibleTable::get_columnIndex(long aCellIdx, long* aColIdx)
|
||||
|
||||
*aColIdx = mTable->ColIndexAt(aCellIdx);
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleTable::get_nColumns(long* aColCount)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aColCount)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -205,15 +179,11 @@ ia2AccessibleTable::get_nColumns(long* aColCount)
|
||||
|
||||
*aColCount = mTable->ColCount();
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleTable::get_nRows(long* aRowCount)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aRowCount)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -223,8 +193,6 @@ ia2AccessibleTable::get_nRows(long* aRowCount)
|
||||
|
||||
*aRowCount = mTable->RowCount();
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
@@ -236,8 +204,6 @@ ia2AccessibleTable::get_nSelectedChildren(long* aChildCount)
|
||||
STDMETHODIMP
|
||||
ia2AccessibleTable::get_nSelectedColumns(long* aColCount)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aColCount)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -247,15 +213,11 @@ ia2AccessibleTable::get_nSelectedColumns(long* aColCount)
|
||||
|
||||
*aColCount = mTable->SelectedColCount();
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleTable::get_nSelectedRows(long* aRowCount)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aRowCount)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -266,15 +228,11 @@ ia2AccessibleTable::get_nSelectedRows(long* aRowCount)
|
||||
*aRowCount = mTable->SelectedRowCount();
|
||||
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleTable::get_rowDescription(long aRowIdx, BSTR* aDescription)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aDescription)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -292,15 +250,11 @@ ia2AccessibleTable::get_rowDescription(long aRowIdx, BSTR* aDescription)
|
||||
|
||||
*aDescription = ::SysAllocStringLen(descr.get(), descr.Length());
|
||||
return *aDescription ? S_OK : E_OUTOFMEMORY;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleTable::get_rowExtentAt(long aRowIdx, long aColIdx, long* aSpan)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aSpan)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -315,31 +269,23 @@ ia2AccessibleTable::get_rowExtentAt(long aRowIdx, long aColIdx, long* aSpan)
|
||||
|
||||
*aSpan = mTable->RowExtentAt(aRowIdx, aColIdx);
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleTable::get_rowHeader(IAccessibleTable** aAccessibleTable,
|
||||
long* aStartingColumnIndex)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aAccessibleTable || !aStartingColumnIndex)
|
||||
return E_INVALIDARG;
|
||||
|
||||
*aAccessibleTable = nullptr;
|
||||
*aStartingColumnIndex = -1;
|
||||
return E_NOTIMPL;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleTable::get_rowIndex(long aCellIdx, long* aRowIdx)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aRowIdx)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -353,16 +299,12 @@ ia2AccessibleTable::get_rowIndex(long aCellIdx, long* aRowIdx)
|
||||
|
||||
*aRowIdx = mTable->RowIndexAt(aCellIdx);
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleTable::get_selectedChildren(long aMaxChildren, long** aChildren,
|
||||
long* aNChildren)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aChildren || !aNChildren)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -384,36 +326,24 @@ ia2AccessibleTable::get_selectedChildren(long aMaxChildren, long** aChildren,
|
||||
(*aChildren)[i] = cellIndices[i];
|
||||
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleTable::get_selectedColumns(long aMaxColumns, long** aColumns,
|
||||
long* aNColumns)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
return get_selectedColumns(aColumns, aNColumns);
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleTable::get_selectedRows(long aMaxRows, long** aRows, long* aNRows)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
return get_selectedRows(aRows, aNRows);
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleTable::get_summary(IUnknown** aAccessible)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aAccessible)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -424,15 +354,11 @@ ia2AccessibleTable::get_summary(IUnknown** aAccessible)
|
||||
|
||||
*aAccessible = nullptr;
|
||||
return S_FALSE;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleTable::get_isColumnSelected(long aColIdx, boolean* aIsSelected)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aIsSelected)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -445,15 +371,11 @@ ia2AccessibleTable::get_isColumnSelected(long aColIdx, boolean* aIsSelected)
|
||||
|
||||
*aIsSelected = mTable->IsColSelected(aColIdx);
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleTable::get_isRowSelected(long aRowIdx, boolean* aIsSelected)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aIsSelected)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -466,16 +388,12 @@ ia2AccessibleTable::get_isRowSelected(long aRowIdx, boolean* aIsSelected)
|
||||
|
||||
*aIsSelected = mTable->IsRowSelected(aRowIdx);
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleTable::get_isSelected(long aRowIdx, long aColIdx,
|
||||
boolean* aIsSelected)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aIsSelected)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -490,15 +408,11 @@ ia2AccessibleTable::get_isSelected(long aRowIdx, long aColIdx,
|
||||
|
||||
*aIsSelected = mTable->IsCellSelected(aRowIdx, aColIdx);
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleTable::selectRow(long aRowIdx)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!mTable)
|
||||
return CO_E_OBJNOTCONNECTED;
|
||||
|
||||
@@ -507,15 +421,11 @@ ia2AccessibleTable::selectRow(long aRowIdx)
|
||||
|
||||
mTable->SelectRow(aRowIdx);
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleTable::selectColumn(long aColIdx)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!mTable)
|
||||
return CO_E_OBJNOTCONNECTED;
|
||||
|
||||
@@ -524,15 +434,11 @@ ia2AccessibleTable::selectColumn(long aColIdx)
|
||||
|
||||
mTable->SelectCol(aColIdx);
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleTable::unselectRow(long aRowIdx)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!mTable)
|
||||
return CO_E_OBJNOTCONNECTED;
|
||||
|
||||
@@ -541,15 +447,11 @@ ia2AccessibleTable::unselectRow(long aRowIdx)
|
||||
|
||||
mTable->UnselectRow(aRowIdx);
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleTable::unselectColumn(long aColIdx)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!mTable)
|
||||
return CO_E_OBJNOTCONNECTED;
|
||||
|
||||
@@ -558,8 +460,6 @@ ia2AccessibleTable::unselectColumn(long aColIdx)
|
||||
|
||||
mTable->UnselectCol(aColIdx);
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
@@ -569,8 +469,6 @@ ia2AccessibleTable::get_rowColumnExtentsAtIndex(long aCellIdx, long* aRowIdx,
|
||||
long* aColExtents,
|
||||
boolean* aIsSelected)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aRowIdx || !aColIdx || !aRowExtents || !aColExtents || !aIsSelected)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -595,8 +493,6 @@ ia2AccessibleTable::get_rowColumnExtentsAtIndex(long aCellIdx, long* aRowIdx,
|
||||
*aIsSelected = mTable->IsCellSelected(rowIdx, colIdx);
|
||||
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
@@ -611,8 +507,6 @@ ia2AccessibleTable::get_modelChange(IA2TableModelChange* aModelChange)
|
||||
STDMETHODIMP
|
||||
ia2AccessibleTable::get_cellAt(long aRowIdx, long aColIdx, IUnknown** aCell)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aCell)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -628,15 +522,11 @@ ia2AccessibleTable::get_cellAt(long aRowIdx, long aColIdx, IUnknown** aCell)
|
||||
|
||||
(*aCell = static_cast<IAccessible*>(cell))->AddRef();
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleTable::get_nSelectedCells(long* aCellCount)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aCellCount)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -646,15 +536,11 @@ ia2AccessibleTable::get_nSelectedCells(long* aCellCount)
|
||||
|
||||
*aCellCount = mTable->SelectedCellCount();
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleTable::get_selectedCells(IUnknown*** aCells, long* aNSelectedCells)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aCells || !aNSelectedCells)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -682,15 +568,11 @@ ia2AccessibleTable::get_selectedCells(IUnknown*** aCells, long* aNSelectedCells)
|
||||
|
||||
*aNSelectedCells = cells.Length();
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleTable::get_selectedColumns(long** aColumns, long* aNColumns)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aColumns || !aNColumns)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -712,15 +594,11 @@ ia2AccessibleTable::get_selectedColumns(long** aColumns, long* aNColumns)
|
||||
(*aColumns)[i] = colIndices[i];
|
||||
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleTable::get_selectedRows(long** aRows, long* aNRows)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aRows || !aNRows)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -742,6 +620,4 @@ ia2AccessibleTable::get_selectedRows(long** aRows, long* aNRows)
|
||||
(*aRows)[i] = rowIndices[i];
|
||||
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
@@ -46,8 +46,6 @@ ia2AccessibleTableCell::QueryInterface(REFIID iid, void** ppv)
|
||||
STDMETHODIMP
|
||||
ia2AccessibleTableCell::get_table(IUnknown** aTable)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aTable)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -63,15 +61,11 @@ ia2AccessibleTableCell::get_table(IUnknown** aTable)
|
||||
*aTable = static_cast<IAccessible*>(wrap);
|
||||
(*aTable)->AddRef();
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleTableCell::get_columnExtent(long* aSpan)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aSpan)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -82,16 +76,12 @@ ia2AccessibleTableCell::get_columnExtent(long* aSpan)
|
||||
*aSpan = mTableCell->ColExtent();
|
||||
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleTableCell::get_columnHeaderCells(IUnknown*** aCellAccessibles,
|
||||
long* aNColumnHeaderCells)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aCellAccessibles || !aNColumnHeaderCells)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -118,15 +108,11 @@ ia2AccessibleTableCell::get_columnHeaderCells(IUnknown*** aCellAccessibles,
|
||||
}
|
||||
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleTableCell::get_columnIndex(long* aColIdx)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aColIdx)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -136,15 +122,11 @@ ia2AccessibleTableCell::get_columnIndex(long* aColIdx)
|
||||
|
||||
*aColIdx = mTableCell->ColIdx();
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleTableCell::get_rowExtent(long* aSpan)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aSpan)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -154,16 +136,12 @@ ia2AccessibleTableCell::get_rowExtent(long* aSpan)
|
||||
|
||||
*aSpan = mTableCell->RowExtent();
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleTableCell::get_rowHeaderCells(IUnknown*** aCellAccessibles,
|
||||
long* aNRowHeaderCells)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aCellAccessibles || !aNRowHeaderCells)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -189,15 +167,11 @@ ia2AccessibleTableCell::get_rowHeaderCells(IUnknown*** aCellAccessibles,
|
||||
}
|
||||
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleTableCell::get_rowIndex(long* aRowIdx)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aRowIdx)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -207,8 +181,6 @@ ia2AccessibleTableCell::get_rowIndex(long* aRowIdx)
|
||||
|
||||
*aRowIdx = mTableCell->RowIdx();
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
@@ -217,8 +189,6 @@ ia2AccessibleTableCell::get_rowColumnExtents(long* aRowIdx, long* aColIdx,
|
||||
long* aColExtents,
|
||||
boolean* aIsSelected)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aRowIdx || !aColIdx || !aRowExtents || !aColExtents || !aIsSelected)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -234,15 +204,11 @@ ia2AccessibleTableCell::get_rowColumnExtents(long* aRowIdx, long* aColIdx,
|
||||
*aIsSelected = mTableCell->Selected();
|
||||
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleTableCell::get_isSelected(boolean* aIsSelected)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aIsSelected)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -252,6 +218,4 @@ ia2AccessibleTableCell::get_isSelected(boolean* aIsSelected)
|
||||
|
||||
*aIsSelected = mTableCell->Selected();
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
@@ -28,8 +28,6 @@ bool ia2AccessibleText::sLastTextChangeWasInsert = false;
|
||||
STDMETHODIMP
|
||||
ia2AccessibleText::addSelection(long aStartOffset, long aEndOffset)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
MOZ_ASSERT(!HyperTextProxyFor(this));
|
||||
|
||||
HyperTextAccessible* textAcc = static_cast<HyperTextAccessibleWrap*>(this);
|
||||
@@ -38,16 +36,12 @@ ia2AccessibleText::addSelection(long aStartOffset, long aEndOffset)
|
||||
|
||||
return textAcc->AddToSelection(aStartOffset, aEndOffset) ?
|
||||
S_OK : E_INVALIDARG;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleText::get_attributes(long aOffset, long *aStartOffset,
|
||||
long *aEndOffset, BSTR *aTextAttributes)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aStartOffset || !aEndOffset || !aTextAttributes)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -74,15 +68,11 @@ ia2AccessibleText::get_attributes(long aOffset, long *aStartOffset,
|
||||
*aEndOffset = endOffset;
|
||||
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleText::get_caretOffset(long *aOffset)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aOffset)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -97,8 +87,6 @@ ia2AccessibleText::get_caretOffset(long *aOffset)
|
||||
*aOffset = textAcc->CaretOffset();
|
||||
|
||||
return *aOffset != -1 ? S_OK : S_FALSE;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
@@ -107,8 +95,6 @@ ia2AccessibleText::get_characterExtents(long aOffset,
|
||||
long* aX, long* aY,
|
||||
long* aWidth, long* aHeight)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aX || !aY || !aWidth || !aHeight)
|
||||
return E_INVALIDARG;
|
||||
*aX = *aY = *aWidth = *aHeight = 0;
|
||||
@@ -129,15 +115,11 @@ ia2AccessibleText::get_characterExtents(long aOffset,
|
||||
*aWidth = rect.width;
|
||||
*aHeight = rect.height;
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleText::get_nSelections(long* aNSelections)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aNSelections)
|
||||
return E_INVALIDARG;
|
||||
*aNSelections = 0;
|
||||
@@ -151,8 +133,6 @@ ia2AccessibleText::get_nSelections(long* aNSelections)
|
||||
*aNSelections = textAcc->SelectionCount();
|
||||
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
@@ -160,8 +140,6 @@ ia2AccessibleText::get_offsetAtPoint(long aX, long aY,
|
||||
enum IA2CoordinateType aCoordType,
|
||||
long* aOffset)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aOffset)
|
||||
return E_INVALIDARG;
|
||||
*aOffset = 0;
|
||||
@@ -179,16 +157,12 @@ ia2AccessibleText::get_offsetAtPoint(long aX, long aY,
|
||||
*aOffset = textAcc->OffsetAtPoint(aX, aY, geckoCoordType);
|
||||
|
||||
return *aOffset == -1 ? S_FALSE : S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleText::get_selection(long aSelectionIndex, long* aStartOffset,
|
||||
long* aEndOffset)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aStartOffset || !aEndOffset)
|
||||
return E_INVALIDARG;
|
||||
*aStartOffset = *aEndOffset = 0;
|
||||
@@ -207,15 +181,11 @@ ia2AccessibleText::get_selection(long aSelectionIndex, long* aStartOffset,
|
||||
*aStartOffset = startOffset;
|
||||
*aEndOffset = endOffset;
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleText::get_text(long aStartOffset, long aEndOffset, BSTR* aText)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aText)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -239,8 +209,6 @@ ia2AccessibleText::get_text(long aStartOffset, long aEndOffset, BSTR* aText)
|
||||
|
||||
*aText = ::SysAllocStringLen(text.get(), text.Length());
|
||||
return *aText ? S_OK : E_OUTOFMEMORY;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
@@ -249,8 +217,6 @@ ia2AccessibleText::get_textBeforeOffset(long aOffset,
|
||||
long* aStartOffset, long* aEndOffset,
|
||||
BSTR* aText)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aStartOffset || !aEndOffset || !aText)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -287,8 +253,6 @@ ia2AccessibleText::get_textBeforeOffset(long aOffset,
|
||||
|
||||
*aText = ::SysAllocStringLen(text.get(), text.Length());
|
||||
return *aText ? S_OK : E_OUTOFMEMORY;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
@@ -297,8 +261,6 @@ ia2AccessibleText::get_textAfterOffset(long aOffset,
|
||||
long* aStartOffset, long* aEndOffset,
|
||||
BSTR* aText)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aStartOffset || !aEndOffset || !aText)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -335,8 +297,6 @@ ia2AccessibleText::get_textAfterOffset(long aOffset,
|
||||
|
||||
*aText = ::SysAllocStringLen(text.get(), text.Length());
|
||||
return *aText ? S_OK : E_OUTOFMEMORY;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
@@ -345,8 +305,6 @@ ia2AccessibleText::get_textAtOffset(long aOffset,
|
||||
long* aStartOffset, long* aEndOffset,
|
||||
BSTR* aText)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aStartOffset || !aEndOffset || !aText)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -381,15 +339,11 @@ ia2AccessibleText::get_textAtOffset(long aOffset,
|
||||
|
||||
*aText = ::SysAllocStringLen(text.get(), text.Length());
|
||||
return *aText ? S_OK : E_OUTOFMEMORY;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleText::removeSelection(long aSelectionIndex)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
MOZ_ASSERT(!HyperTextProxyFor(this));
|
||||
|
||||
HyperTextAccessible* textAcc = static_cast<HyperTextAccessibleWrap*>(this);
|
||||
@@ -398,15 +352,11 @@ ia2AccessibleText::removeSelection(long aSelectionIndex)
|
||||
|
||||
return textAcc->RemoveFromSelection(aSelectionIndex) ?
|
||||
S_OK : E_INVALIDARG;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleText::setCaretOffset(long aOffset)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
MOZ_ASSERT(!HyperTextProxyFor(this));
|
||||
|
||||
HyperTextAccessible* textAcc = static_cast<HyperTextAccessibleWrap*>(this);
|
||||
@@ -418,16 +368,12 @@ ia2AccessibleText::setCaretOffset(long aOffset)
|
||||
|
||||
textAcc->SetCaretOffset(aOffset);
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleText::setSelection(long aSelectionIndex, long aStartOffset,
|
||||
long aEndOffset)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
MOZ_ASSERT(!HyperTextProxyFor(this));
|
||||
|
||||
HyperTextAccessible* textAcc = static_cast<HyperTextAccessibleWrap*>(this);
|
||||
@@ -436,15 +382,11 @@ ia2AccessibleText::setSelection(long aSelectionIndex, long aStartOffset,
|
||||
|
||||
return textAcc->SetSelectionBoundsAt(aSelectionIndex, aStartOffset, aEndOffset) ?
|
||||
S_OK : E_INVALIDARG;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleText::get_nCharacters(long* aNCharacters)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aNCharacters)
|
||||
return E_INVALIDARG;
|
||||
*aNCharacters = 0;
|
||||
@@ -457,16 +399,12 @@ ia2AccessibleText::get_nCharacters(long* aNCharacters)
|
||||
|
||||
*aNCharacters = textAcc->CharacterCount();
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleText::scrollSubstringTo(long aStartIndex, long aEndIndex,
|
||||
enum IA2ScrollType aScrollType)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
MOZ_ASSERT(!HyperTextProxyFor(this));
|
||||
|
||||
HyperTextAccessible* textAcc = static_cast<HyperTextAccessibleWrap*>(this);
|
||||
@@ -478,8 +416,6 @@ ia2AccessibleText::scrollSubstringTo(long aStartIndex, long aEndIndex,
|
||||
|
||||
textAcc->ScrollSubstringTo(aStartIndex, aEndIndex, aScrollType);
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
@@ -487,8 +423,6 @@ ia2AccessibleText::scrollSubstringToPoint(long aStartIndex, long aEndIndex,
|
||||
enum IA2CoordinateType aCoordType,
|
||||
long aX, long aY)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
uint32_t geckoCoordType = (aCoordType == IA2_COORDTYPE_SCREEN_RELATIVE) ?
|
||||
nsIAccessibleCoordinateType::COORDTYPE_SCREEN_RELATIVE :
|
||||
nsIAccessibleCoordinateType::COORDTYPE_PARENT_RELATIVE;
|
||||
@@ -505,28 +439,18 @@ ia2AccessibleText::scrollSubstringToPoint(long aStartIndex, long aEndIndex,
|
||||
textAcc->ScrollSubstringToPoint(aStartIndex, aEndIndex,
|
||||
geckoCoordType, aX, aY);
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleText::get_newText(IA2TextSegment *aNewText)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
return GetModifiedText(true, aNewText);
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleText::get_oldText(IA2TextSegment *aOldText)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
return GetModifiedText(false, aOldText);
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
// ia2AccessibleText
|
||||
|
||||
@@ -46,8 +46,6 @@ ia2AccessibleValue::QueryInterface(REFIID iid, void** ppv)
|
||||
STDMETHODIMP
|
||||
ia2AccessibleValue::get_currentValue(VARIANT* aCurrentValue)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aCurrentValue)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -68,15 +66,11 @@ ia2AccessibleValue::get_currentValue(VARIANT* aCurrentValue)
|
||||
aCurrentValue->vt = VT_R8;
|
||||
aCurrentValue->dblVal = currentValue;
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleValue::setCurrentValue(VARIANT aValue)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (aValue.vt != VT_R8)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -87,15 +81,11 @@ ia2AccessibleValue::setCurrentValue(VARIANT aValue)
|
||||
return CO_E_OBJNOTCONNECTED;
|
||||
|
||||
return valueAcc->SetCurValue(aValue.dblVal) ? S_OK : E_FAIL;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleValue::get_maximumValue(VARIANT* aMaximumValue)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aMaximumValue)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -116,15 +106,11 @@ ia2AccessibleValue::get_maximumValue(VARIANT* aMaximumValue)
|
||||
aMaximumValue->vt = VT_R8;
|
||||
aMaximumValue->dblVal = maximumValue;
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ia2AccessibleValue::get_minimumValue(VARIANT* aMinimumValue)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aMinimumValue)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -145,7 +131,5 @@ ia2AccessibleValue::get_minimumValue(VARIANT* aMinimumValue)
|
||||
aMinimumValue->vt = VT_R8;
|
||||
aMinimumValue->dblVal = minimumValue;
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
@@ -110,8 +110,6 @@ AccessibleWrap::Shutdown()
|
||||
STDMETHODIMP
|
||||
AccessibleWrap::QueryInterface(REFIID iid, void** ppv)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!ppv)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -165,8 +163,6 @@ AccessibleWrap::QueryInterface(REFIID iid, void** ppv)
|
||||
|
||||
(reinterpret_cast<IUnknown*>(*ppv))->AddRef();
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
//-----------------------------------------------------
|
||||
@@ -176,8 +172,6 @@ AccessibleWrap::QueryInterface(REFIID iid, void** ppv)
|
||||
STDMETHODIMP
|
||||
AccessibleWrap::get_accParent( IDispatch __RPC_FAR *__RPC_FAR *ppdispParent)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!ppdispParent)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -208,15 +202,11 @@ AccessibleWrap::get_accParent( IDispatch __RPC_FAR *__RPC_FAR *ppdispParent)
|
||||
|
||||
*ppdispParent = NativeAccessible(xpParentAcc);
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
AccessibleWrap::get_accChildCount( long __RPC_FAR *pcountChildren)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!pcountChildren)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -230,8 +220,6 @@ AccessibleWrap::get_accChildCount( long __RPC_FAR *pcountChildren)
|
||||
|
||||
*pcountChildren = ChildCount();
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
@@ -239,8 +227,6 @@ AccessibleWrap::get_accChild(
|
||||
/* [in] */ VARIANT varChild,
|
||||
/* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppdispChild)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!ppdispChild)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -265,8 +251,6 @@ AccessibleWrap::get_accChild(
|
||||
|
||||
child.forget(ppdispChild);
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -331,8 +315,6 @@ AccessibleWrap::get_accName(
|
||||
/* [optional][in] */ VARIANT varChild,
|
||||
/* [retval][out] */ BSTR __RPC_FAR *pszName)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!pszName || varChild.vt != VT_I4)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -361,8 +343,6 @@ AccessibleWrap::get_accName(
|
||||
if (!*pszName)
|
||||
return E_OUTOFMEMORY;
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
|
||||
@@ -371,8 +351,6 @@ AccessibleWrap::get_accValue(
|
||||
/* [optional][in] */ VARIANT varChild,
|
||||
/* [retval][out] */ BSTR __RPC_FAR *pszValue)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!pszValue)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -401,16 +379,12 @@ AccessibleWrap::get_accValue(
|
||||
if (!*pszValue)
|
||||
return E_OUTOFMEMORY;
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
AccessibleWrap::get_accDescription(VARIANT varChild,
|
||||
BSTR __RPC_FAR *pszDescription)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!pszDescription)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -432,8 +406,6 @@ AccessibleWrap::get_accDescription(VARIANT varChild,
|
||||
*pszDescription = ::SysAllocStringLen(description.get(),
|
||||
description.Length());
|
||||
return *pszDescription ? S_OK : E_OUTOFMEMORY;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
@@ -441,8 +413,6 @@ AccessibleWrap::get_accRole(
|
||||
/* [optional][in] */ VARIANT varChild,
|
||||
/* [retval][out] */ VARIANT __RPC_FAR *pvarRole)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!pvarRole)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -532,8 +502,6 @@ AccessibleWrap::get_accRole(
|
||||
}
|
||||
|
||||
return E_FAIL;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
@@ -541,8 +509,6 @@ AccessibleWrap::get_accState(
|
||||
/* [optional][in] */ VARIANT varChild,
|
||||
/* [retval][out] */ VARIANT __RPC_FAR *pvarState)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!pvarState)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -574,8 +540,6 @@ AccessibleWrap::get_accState(
|
||||
nsAccUtils::To32States(state, &msaaState, nullptr);
|
||||
pvarState->lVal = msaaState;
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
|
||||
@@ -584,15 +548,11 @@ AccessibleWrap::get_accHelp(
|
||||
/* [optional][in] */ VARIANT varChild,
|
||||
/* [retval][out] */ BSTR __RPC_FAR *pszHelp)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!pszHelp)
|
||||
return E_INVALIDARG;
|
||||
|
||||
*pszHelp = nullptr;
|
||||
return S_FALSE;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
@@ -601,16 +561,12 @@ AccessibleWrap::get_accHelpTopic(
|
||||
/* [optional][in] */ VARIANT varChild,
|
||||
/* [retval][out] */ long __RPC_FAR *pidTopic)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!pszHelpFile || !pidTopic)
|
||||
return E_INVALIDARG;
|
||||
|
||||
*pszHelpFile = nullptr;
|
||||
*pidTopic = 0;
|
||||
return S_FALSE;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
@@ -618,8 +574,6 @@ AccessibleWrap::get_accKeyboardShortcut(
|
||||
/* [optional][in] */ VARIANT varChild,
|
||||
/* [retval][out] */ BSTR __RPC_FAR *pszKeyboardShortcut)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!pszKeyboardShortcut)
|
||||
return E_INVALIDARG;
|
||||
*pszKeyboardShortcut = nullptr;
|
||||
@@ -645,16 +599,12 @@ AccessibleWrap::get_accKeyboardShortcut(
|
||||
*pszKeyboardShortcut = ::SysAllocStringLen(shortcut.get(),
|
||||
shortcut.Length());
|
||||
return *pszKeyboardShortcut ? S_OK : E_OUTOFMEMORY;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
AccessibleWrap::get_accFocus(
|
||||
/* [retval][out] */ VARIANT __RPC_FAR *pvarChild)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!pvarChild)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -685,8 +635,6 @@ AccessibleWrap::get_accFocus(
|
||||
}
|
||||
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -723,8 +671,6 @@ private:
|
||||
STDMETHODIMP
|
||||
AccessibleEnumerator::QueryInterface(REFIID iid, void ** ppvObject)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (iid == IID_IEnumVARIANT) {
|
||||
*ppvObject = static_cast<IEnumVARIANT*>(this);
|
||||
AddRef();
|
||||
@@ -738,15 +684,11 @@ AccessibleEnumerator::QueryInterface(REFIID iid, void ** ppvObject)
|
||||
|
||||
*ppvObject = nullptr;
|
||||
return E_NOINTERFACE;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
AccessibleEnumerator::Next(unsigned long celt, VARIANT FAR* rgvar, unsigned long FAR* pceltFetched)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
uint32_t length = mArray.Length();
|
||||
HRESULT hr = S_OK;
|
||||
|
||||
@@ -766,29 +708,21 @@ AccessibleEnumerator::Next(unsigned long celt, VARIANT FAR* rgvar, unsigned long
|
||||
*pceltFetched = celt;
|
||||
|
||||
return hr;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
AccessibleEnumerator::Clone(IEnumVARIANT FAR* FAR* ppenum)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
*ppenum = new AccessibleEnumerator(*this);
|
||||
if (!*ppenum)
|
||||
return E_OUTOFMEMORY;
|
||||
NS_ADDREF(*ppenum);
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
AccessibleEnumerator::Skip(unsigned long celt)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
uint32_t length = mArray.Length();
|
||||
// Check if we can skip the requested number of elements
|
||||
if (celt > length - mCurIndex) {
|
||||
@@ -797,8 +731,6 @@ AccessibleEnumerator::Skip(unsigned long celt)
|
||||
}
|
||||
mCurIndex += celt;
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -821,8 +753,6 @@ AccessibleEnumerator::Skip(unsigned long celt)
|
||||
STDMETHODIMP
|
||||
AccessibleWrap::get_accSelection(VARIANT __RPC_FAR *pvarChildren)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!pvarChildren)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -842,8 +772,6 @@ AccessibleWrap::get_accSelection(VARIANT __RPC_FAR *pvarChildren)
|
||||
NS_ADDREF(pvarChildren->punkVal = pEnum);
|
||||
}
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
@@ -851,8 +779,6 @@ AccessibleWrap::get_accDefaultAction(
|
||||
/* [optional][in] */ VARIANT varChild,
|
||||
/* [retval][out] */ BSTR __RPC_FAR *pszDefaultAction)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!pszDefaultAction)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -874,8 +800,6 @@ AccessibleWrap::get_accDefaultAction(
|
||||
*pszDefaultAction = ::SysAllocStringLen(defaultAction.get(),
|
||||
defaultAction.Length());
|
||||
return *pszDefaultAction ? S_OK : E_OUTOFMEMORY;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
@@ -883,8 +807,6 @@ AccessibleWrap::accSelect(
|
||||
/* [in] */ long flagsSelect,
|
||||
/* [optional][in] */ VARIANT varChild)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
RefPtr<IAccessible> accessible;
|
||||
HRESULT hr = ResolveChild(varChild, getter_AddRefs(accessible));
|
||||
if (FAILED(hr)) {
|
||||
@@ -926,8 +848,6 @@ AccessibleWrap::accSelect(
|
||||
}
|
||||
|
||||
return E_FAIL;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
@@ -938,8 +858,6 @@ AccessibleWrap::accLocation(
|
||||
/* [out] */ long __RPC_FAR *pcyHeight,
|
||||
/* [optional][in] */ VARIANT varChild)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!pxLeft || !pyTop || !pcxWidth || !pcyHeight)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -966,8 +884,6 @@ AccessibleWrap::accLocation(
|
||||
*pcxWidth = rect.width;
|
||||
*pcyHeight = rect.height;
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
@@ -976,8 +892,6 @@ AccessibleWrap::accNavigate(
|
||||
/* [optional][in] */ VARIANT varStart,
|
||||
/* [retval][out] */ VARIANT __RPC_FAR *pvarEndUpAt)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!pvarEndUpAt)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -1060,8 +974,6 @@ AccessibleWrap::accNavigate(
|
||||
pvarEndUpAt->pdispVal = NativeAccessible(navAccessible);
|
||||
pvarEndUpAt->vt = VT_DISPATCH;
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
@@ -1070,8 +982,6 @@ AccessibleWrap::accHitTest(
|
||||
/* [in] */ long yTop,
|
||||
/* [retval][out] */ VARIANT __RPC_FAR *pvarChild)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!pvarChild)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -1098,16 +1008,12 @@ AccessibleWrap::accHitTest(
|
||||
return S_FALSE;
|
||||
}
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
AccessibleWrap::accDoDefaultAction(
|
||||
/* [optional][in] */ VARIANT varChild)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
RefPtr<IAccessible> accessible;
|
||||
HRESULT hr = ResolveChild(varChild, getter_AddRefs(accessible));
|
||||
if (FAILED(hr)) {
|
||||
@@ -1119,8 +1025,6 @@ AccessibleWrap::accDoDefaultAction(
|
||||
}
|
||||
|
||||
return DoAction(0) ? S_OK : E_INVALIDARG;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
|
||||
@@ -69,8 +69,6 @@ ApplicationAccessibleWrap::QueryInterface(REFIID iid, void** ppv)
|
||||
STDMETHODIMP
|
||||
ApplicationAccessibleWrap::get_appName(BSTR* aName)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aName)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -86,15 +84,11 @@ ApplicationAccessibleWrap::get_appName(BSTR* aName)
|
||||
|
||||
*aName = ::SysAllocStringLen(name.get(), name.Length());
|
||||
return *aName ? S_OK : E_OUTOFMEMORY;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ApplicationAccessibleWrap::get_appVersion(BSTR* aVersion)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aVersion)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -110,15 +104,11 @@ ApplicationAccessibleWrap::get_appVersion(BSTR* aVersion)
|
||||
|
||||
*aVersion = ::SysAllocStringLen(version.get(), version.Length());
|
||||
return *aVersion ? S_OK : E_OUTOFMEMORY;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ApplicationAccessibleWrap::get_toolkitName(BSTR* aName)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aName)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -132,15 +122,11 @@ ApplicationAccessibleWrap::get_toolkitName(BSTR* aName)
|
||||
|
||||
*aName = ::SysAllocStringLen(name.get(), name.Length());
|
||||
return *aName ? S_OK : E_OUTOFMEMORY;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ApplicationAccessibleWrap::get_toolkitVersion(BSTR* aVersion)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aVersion)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -156,7 +142,5 @@ ApplicationAccessibleWrap::get_toolkitVersion(BSTR* aVersion)
|
||||
|
||||
*aVersion = ::SysAllocStringLen(version.get(), version.Length());
|
||||
return *aVersion ? S_OK : E_OUTOFMEMORY;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
@@ -65,8 +65,6 @@ DocAccessibleWrap::get_accParent(
|
||||
STDMETHODIMP
|
||||
DocAccessibleWrap::get_accValue(VARIANT aVarChild, BSTR __RPC_FAR* aValue)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aValue)
|
||||
return E_INVALIDARG;
|
||||
*aValue = nullptr;
|
||||
@@ -90,8 +88,6 @@ DocAccessibleWrap::get_accValue(VARIANT aVarChild, BSTR __RPC_FAR* aValue)
|
||||
|
||||
*aValue = ::SysAllocStringLen(url.get(), url.Length());
|
||||
return *aValue ? S_OK : E_OUTOFMEMORY;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
@@ -21,8 +21,6 @@ STDMETHODIMP
|
||||
ChildrenEnumVariant::Next(ULONG aCount, VARIANT FAR* aItems,
|
||||
ULONG FAR* aCountFetched)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aItems || !aCountFetched)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -55,15 +53,11 @@ ChildrenEnumVariant::Next(ULONG aCount, VARIANT FAR* aItems,
|
||||
(*aCountFetched) = countFetched;
|
||||
|
||||
return countFetched < aCount ? S_FALSE : S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ChildrenEnumVariant::Skip(ULONG aCount)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (mAnchorAcc->IsDefunct() || mAnchorAcc->GetChildAt(mCurIndex) != mCurAcc)
|
||||
return CO_E_OBJNOTCONNECTED;
|
||||
|
||||
@@ -71,15 +65,11 @@ ChildrenEnumVariant::Skip(ULONG aCount)
|
||||
mCurAcc = mAnchorAcc->GetChildAt(mCurIndex);
|
||||
|
||||
return mCurAcc ? S_OK : S_FALSE;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ChildrenEnumVariant::Reset()
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (mAnchorAcc->IsDefunct())
|
||||
return CO_E_OBJNOTCONNECTED;
|
||||
|
||||
@@ -87,15 +77,11 @@ ChildrenEnumVariant::Reset()
|
||||
mCurAcc = mAnchorAcc->GetChildAt(0);
|
||||
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
ChildrenEnumVariant::Clone(IEnumVARIANT** aEnumVariant)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aEnumVariant)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -103,6 +89,4 @@ ChildrenEnumVariant::Clone(IEnumVARIANT** aEnumVariant)
|
||||
(*aEnumVariant)->AddRef();
|
||||
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
@@ -62,25 +62,6 @@ HTMLWin32ObjectAccessible::HTMLWin32ObjectAccessible(void* aHwnd,
|
||||
{
|
||||
mHwnd = aHwnd;
|
||||
if (mHwnd) {
|
||||
#if defined(MOZ_CONTENT_SANDBOX)
|
||||
if (XRE_IsContentProcess()) {
|
||||
DocAccessibleChild* ipcDoc = aDoc->IPCDoc();
|
||||
MOZ_ASSERT(ipcDoc);
|
||||
if (!ipcDoc) {
|
||||
return;
|
||||
}
|
||||
|
||||
IAccessibleHolder proxyHolder;
|
||||
if (!ipcDoc->SendGetWindowedPluginIAccessible(
|
||||
reinterpret_cast<uintptr_t>(mHwnd), &proxyHolder)) {
|
||||
return;
|
||||
}
|
||||
|
||||
mCOMProxy.reset(proxyHolder.Release());
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
// The plugin is not windowless. In this situation we use
|
||||
// use its inner child owned by the plugin so that we don't get
|
||||
// in an infinite loop, where the WM_GETOBJECT's get forwarded
|
||||
@@ -92,14 +73,6 @@ HTMLWin32ObjectAccessible::HTMLWin32ObjectAccessible(void* aHwnd,
|
||||
void
|
||||
HTMLWin32ObjectAccessible::GetNativeInterface(void** aNativeAccessible)
|
||||
{
|
||||
#if defined(MOZ_CONTENT_SANDBOX)
|
||||
if (XRE_IsContentProcess()) {
|
||||
RefPtr<IAccessible> addRefed = mCOMProxy.get();
|
||||
addRefed.forget(aNativeAccessible);
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (mHwnd) {
|
||||
::AccessibleObjectFromWindow(static_cast<HWND>(mHwnd),
|
||||
OBJID_WINDOW, IID_IAccessible,
|
||||
|
||||
@@ -8,10 +8,6 @@
|
||||
|
||||
#include "BaseAccessibles.h"
|
||||
|
||||
#if defined(MOZ_CONTENT_SANDBOX)
|
||||
#include "mozilla/mscom/Ptr.h"
|
||||
#endif
|
||||
|
||||
struct IAccessible;
|
||||
|
||||
namespace mozilla {
|
||||
@@ -59,9 +55,6 @@ public:
|
||||
|
||||
protected:
|
||||
void* mHwnd;
|
||||
#if defined(MOZ_CONTENT_SANDBOX)
|
||||
mscom::ProxyUniquePtr<IAccessible> mCOMProxy;
|
||||
#endif
|
||||
};
|
||||
|
||||
} // namespace a11y
|
||||
|
||||
@@ -9,10 +9,6 @@
|
||||
|
||||
#include "nsDebug.h"
|
||||
|
||||
#ifdef MOZ_CRASHREPORTER
|
||||
#include "nsExceptionHandler.h"
|
||||
#endif
|
||||
|
||||
namespace mozilla {
|
||||
namespace a11y {
|
||||
|
||||
@@ -37,22 +33,5 @@ GetHRESULT(nsresult aResult)
|
||||
}
|
||||
}
|
||||
|
||||
int
|
||||
FilterExceptions(unsigned int aCode, EXCEPTION_POINTERS* aExceptionInfo)
|
||||
{
|
||||
if (aCode == EXCEPTION_ACCESS_VIOLATION) {
|
||||
#ifdef MOZ_CRASHREPORTER
|
||||
// MSAA swallows crashes (because it is COM-based) but we still need to
|
||||
// learn about those crashes so we can fix them. Make sure to pass them to
|
||||
// the crash reporter.
|
||||
CrashReporter::WriteMinidumpForException(aExceptionInfo);
|
||||
#endif
|
||||
} else {
|
||||
NS_NOTREACHED("We should only be catching crash exceptions");
|
||||
}
|
||||
|
||||
return EXCEPTION_CONTINUE_SEARCH;
|
||||
}
|
||||
|
||||
} // namespace a11y
|
||||
} // namespace mozilla
|
||||
@@ -79,7 +79,6 @@ virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID, void**); \
|
||||
STDMETHODIMP \
|
||||
Class::QueryInterface(REFIID aIID, void** aInstancePtr) \
|
||||
{ \
|
||||
A11Y_TRYBLOCK_BEGIN \
|
||||
if (!aInstancePtr) \
|
||||
return E_INVALIDARG; \
|
||||
*aInstancePtr = nullptr; \
|
||||
@@ -88,17 +87,14 @@ Class::QueryInterface(REFIID aIID, void** aInstancePtr) \
|
||||
|
||||
#define IMPL_IUNKNOWN_QUERY_TAIL \
|
||||
return hr; \
|
||||
A11Y_TRYBLOCK_END \
|
||||
}
|
||||
|
||||
#define IMPL_IUNKNOWN_QUERY_TAIL_AGGREGATED(Member) \
|
||||
return Member->QueryInterface(aIID, aInstancePtr); \
|
||||
A11Y_TRYBLOCK_END \
|
||||
}
|
||||
|
||||
#define IMPL_IUNKNOWN_QUERY_TAIL_INHERITED(BaseClass) \
|
||||
return BaseClass::QueryInterface(aIID, aInstancePtr); \
|
||||
A11Y_TRYBLOCK_END \
|
||||
}
|
||||
|
||||
#define IMPL_IUNKNOWN_QUERY_IFACE(Iface) \
|
||||
@@ -158,21 +154,6 @@ Class::QueryInterface(REFIID aIID, void** aInstancePtr) \
|
||||
IMPL_IUNKNOWN_QUERY_CLASS(Super2); \
|
||||
IMPL_IUNKNOWN_QUERY_TAIL_INHERITED(Super0)
|
||||
|
||||
|
||||
/**
|
||||
* Wrap every method body by these macroses to pass exception to the crash
|
||||
* reporter.
|
||||
*/
|
||||
#define A11Y_TRYBLOCK_BEGIN \
|
||||
MOZ_SEH_TRY {
|
||||
|
||||
#define A11Y_TRYBLOCK_END \
|
||||
} MOZ_SEH_EXCEPT(mozilla::a11y::FilterExceptions(::GetExceptionCode(), \
|
||||
GetExceptionInformation())) \
|
||||
{ } \
|
||||
return E_FAIL;
|
||||
|
||||
|
||||
namespace mozilla {
|
||||
namespace a11y {
|
||||
|
||||
@@ -181,11 +162,6 @@ namespace a11y {
|
||||
*/
|
||||
HRESULT GetHRESULT(nsresult aResult);
|
||||
|
||||
/**
|
||||
* Used to pass an exception to the crash reporter.
|
||||
*/
|
||||
int FilterExceptions(unsigned int aCode, EXCEPTION_POINTERS* aExceptionInfo);
|
||||
|
||||
} // namespace a11y;
|
||||
} //namespace mozilla;
|
||||
|
||||
|
||||
@@ -28,8 +28,6 @@ using namespace mozilla::a11y;
|
||||
STDMETHODIMP
|
||||
sdnAccessible::QueryInterface(REFIID aREFIID, void** aInstancePtr)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aInstancePtr)
|
||||
return E_FAIL;
|
||||
*aInstancePtr = nullptr;
|
||||
@@ -53,8 +51,6 @@ sdnAccessible::QueryInterface(REFIID aREFIID, void** aInstancePtr)
|
||||
}
|
||||
|
||||
return E_NOINTERFACE;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
@@ -65,8 +61,6 @@ sdnAccessible::get_nodeInfo(BSTR __RPC_FAR* aNodeName,
|
||||
unsigned int __RPC_FAR* aUniqueID,
|
||||
unsigned short __RPC_FAR* aNodeType)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aNodeName || !aNameSpaceID || !aNodeValue || !aNumChildren ||
|
||||
!aUniqueID || !aNodeType)
|
||||
return E_INVALIDARG;
|
||||
@@ -114,8 +108,6 @@ sdnAccessible::get_nodeInfo(BSTR __RPC_FAR* aNodeName,
|
||||
*aNumChildren = mNode->GetChildCount();
|
||||
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
@@ -125,8 +117,6 @@ sdnAccessible::get_attributes(unsigned short aMaxAttribs,
|
||||
BSTR __RPC_FAR* aAttribValues,
|
||||
unsigned short __RPC_FAR* aNumAttribs)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aAttribNames || !aNameSpaceIDs || !aAttribValues || !aNumAttribs)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -159,8 +149,6 @@ sdnAccessible::get_attributes(unsigned short aMaxAttribs,
|
||||
}
|
||||
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
@@ -169,8 +157,6 @@ sdnAccessible::get_attributesForNames(unsigned short aMaxAttribs,
|
||||
short __RPC_FAR* aNameSpaceID,
|
||||
BSTR __RPC_FAR* aAttribValues)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aAttribNames || !aNameSpaceID || !aAttribValues)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -207,8 +193,6 @@ sdnAccessible::get_attributesForNames(unsigned short aMaxAttribs,
|
||||
}
|
||||
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
@@ -218,8 +202,6 @@ sdnAccessible::get_computedStyle(unsigned short aMaxStyleProperties,
|
||||
BSTR __RPC_FAR* aStyleValues,
|
||||
unsigned short __RPC_FAR* aNumStyleProperties)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aStyleProperties || aStyleValues || !aNumStyleProperties)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -257,8 +239,6 @@ sdnAccessible::get_computedStyle(unsigned short aMaxStyleProperties,
|
||||
*aNumStyleProperties = static_cast<unsigned short>(realIndex);
|
||||
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
@@ -267,8 +247,6 @@ sdnAccessible::get_computedStyleForProperties(unsigned short aNumStyleProperties
|
||||
BSTR __RPC_FAR* aStyleProperties,
|
||||
BSTR __RPC_FAR* aStyleValues)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aStyleProperties || !aStyleValues)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -291,15 +269,11 @@ sdnAccessible::get_computedStyleForProperties(unsigned short aNumStyleProperties
|
||||
}
|
||||
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
sdnAccessible::scrollTo(boolean aScrollTopLeft)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
DocAccessible* document = GetDocument();
|
||||
if (!document) // that's IsDefunct check
|
||||
return CO_E_OBJNOTCONNECTED;
|
||||
@@ -313,15 +287,11 @@ sdnAccessible::scrollTo(boolean aScrollTopLeft)
|
||||
|
||||
nsCoreUtils::ScrollTo(document->PresShell(), mNode->AsContent(), scrollType);
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
sdnAccessible::get_parentNode(ISimpleDOMNode __RPC_FAR *__RPC_FAR* aNode)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aNode)
|
||||
return E_INVALIDARG;
|
||||
*aNode = nullptr;
|
||||
@@ -336,15 +306,11 @@ sdnAccessible::get_parentNode(ISimpleDOMNode __RPC_FAR *__RPC_FAR* aNode)
|
||||
}
|
||||
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
sdnAccessible::get_firstChild(ISimpleDOMNode __RPC_FAR *__RPC_FAR* aNode)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aNode)
|
||||
return E_INVALIDARG;
|
||||
*aNode = nullptr;
|
||||
@@ -359,15 +325,11 @@ sdnAccessible::get_firstChild(ISimpleDOMNode __RPC_FAR *__RPC_FAR* aNode)
|
||||
}
|
||||
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
sdnAccessible::get_lastChild(ISimpleDOMNode __RPC_FAR *__RPC_FAR* aNode)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aNode)
|
||||
return E_INVALIDARG;
|
||||
*aNode = nullptr;
|
||||
@@ -382,15 +344,11 @@ sdnAccessible::get_lastChild(ISimpleDOMNode __RPC_FAR *__RPC_FAR* aNode)
|
||||
}
|
||||
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
sdnAccessible::get_previousSibling(ISimpleDOMNode __RPC_FAR *__RPC_FAR* aNode)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aNode)
|
||||
return E_INVALIDARG;
|
||||
*aNode = nullptr;
|
||||
@@ -405,15 +363,11 @@ sdnAccessible::get_previousSibling(ISimpleDOMNode __RPC_FAR *__RPC_FAR* aNode)
|
||||
}
|
||||
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
sdnAccessible::get_nextSibling(ISimpleDOMNode __RPC_FAR *__RPC_FAR* aNode)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aNode)
|
||||
return E_INVALIDARG;
|
||||
*aNode = nullptr;
|
||||
@@ -428,16 +382,12 @@ sdnAccessible::get_nextSibling(ISimpleDOMNode __RPC_FAR *__RPC_FAR* aNode)
|
||||
}
|
||||
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
sdnAccessible::get_childAt(unsigned aChildIndex,
|
||||
ISimpleDOMNode __RPC_FAR *__RPC_FAR* aNode)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aNode)
|
||||
return E_INVALIDARG;
|
||||
*aNode = nullptr;
|
||||
@@ -453,15 +403,11 @@ sdnAccessible::get_childAt(unsigned aChildIndex,
|
||||
|
||||
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
sdnAccessible::get_innerHTML(BSTR __RPC_FAR* aInnerHTML)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aInnerHTML)
|
||||
return E_INVALIDARG;
|
||||
*aInnerHTML = nullptr;
|
||||
@@ -482,15 +428,11 @@ sdnAccessible::get_innerHTML(BSTR __RPC_FAR* aInnerHTML)
|
||||
return E_OUTOFMEMORY;
|
||||
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
sdnAccessible::get_localInterface(void __RPC_FAR *__RPC_FAR* aLocalInterface)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aLocalInterface)
|
||||
return E_INVALIDARG;
|
||||
*aLocalInterface = nullptr;
|
||||
@@ -502,15 +444,11 @@ sdnAccessible::get_localInterface(void __RPC_FAR *__RPC_FAR* aLocalInterface)
|
||||
AddRef();
|
||||
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
sdnAccessible::get_language(BSTR __RPC_FAR* aLanguage)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aLanguage)
|
||||
return E_INVALIDARG;
|
||||
*aLanguage = nullptr;
|
||||
@@ -534,6 +472,4 @@ sdnAccessible::get_language(BSTR __RPC_FAR* aLanguage)
|
||||
return E_OUTOFMEMORY;
|
||||
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
@@ -24,8 +24,6 @@ IMPL_IUNKNOWN_QUERY_TAIL_AGGREGATED(mAccessible)
|
||||
STDMETHODIMP
|
||||
sdnDocAccessible::get_URL(BSTR __RPC_FAR* aURL)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aURL)
|
||||
return E_INVALIDARG;
|
||||
*aURL = nullptr;
|
||||
@@ -40,15 +38,11 @@ sdnDocAccessible::get_URL(BSTR __RPC_FAR* aURL)
|
||||
|
||||
*aURL = ::SysAllocStringLen(URL.get(), URL.Length());
|
||||
return *aURL ? S_OK : E_OUTOFMEMORY;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
sdnDocAccessible::get_title(BSTR __RPC_FAR* aTitle)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aTitle)
|
||||
return E_INVALIDARG;
|
||||
*aTitle = nullptr;
|
||||
@@ -60,15 +54,11 @@ sdnDocAccessible::get_title(BSTR __RPC_FAR* aTitle)
|
||||
mAccessible->Title(title);
|
||||
*aTitle = ::SysAllocStringLen(title.get(), title.Length());
|
||||
return *aTitle ? S_OK : E_OUTOFMEMORY;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
sdnDocAccessible::get_mimeType(BSTR __RPC_FAR* aMimeType)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aMimeType)
|
||||
return E_INVALIDARG;
|
||||
*aMimeType = nullptr;
|
||||
@@ -83,15 +73,11 @@ sdnDocAccessible::get_mimeType(BSTR __RPC_FAR* aMimeType)
|
||||
|
||||
*aMimeType = ::SysAllocStringLen(mimeType.get(), mimeType.Length());
|
||||
return *aMimeType ? S_OK : E_OUTOFMEMORY;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
sdnDocAccessible::get_docType(BSTR __RPC_FAR* aDocType)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aDocType)
|
||||
return E_INVALIDARG;
|
||||
*aDocType = nullptr;
|
||||
@@ -106,16 +92,12 @@ sdnDocAccessible::get_docType(BSTR __RPC_FAR* aDocType)
|
||||
|
||||
*aDocType = ::SysAllocStringLen(docType.get(), docType.Length());
|
||||
return *aDocType ? S_OK : E_OUTOFMEMORY;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
sdnDocAccessible::get_nameSpaceURIForID(short aNameSpaceID,
|
||||
BSTR __RPC_FAR* aNameSpaceURI)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aNameSpaceURI)
|
||||
return E_INVALIDARG;
|
||||
*aNameSpaceURI = nullptr;
|
||||
@@ -138,20 +120,14 @@ sdnDocAccessible::get_nameSpaceURIForID(short aNameSpaceID,
|
||||
nameSpaceURI.Length());
|
||||
|
||||
return *aNameSpaceURI ? S_OK : E_OUTOFMEMORY;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
sdnDocAccessible::put_alternateViewMediaTypes(BSTR __RPC_FAR* aCommaSeparatedMediaTypes)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aCommaSeparatedMediaTypes)
|
||||
return E_INVALIDARG;
|
||||
*aCommaSeparatedMediaTypes = nullptr;
|
||||
|
||||
return mAccessible->IsDefunct() ? CO_E_OBJNOTCONNECTED : E_NOTIMPL;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
@@ -33,8 +33,6 @@ IMPL_IUNKNOWN_QUERY_TAIL_AGGREGATED(mAccessible)
|
||||
STDMETHODIMP
|
||||
sdnTextAccessible::get_domText(BSTR __RPC_FAR* aText)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aText)
|
||||
return E_INVALIDARG;
|
||||
*aText = nullptr;
|
||||
@@ -51,8 +49,6 @@ sdnTextAccessible::get_domText(BSTR __RPC_FAR* aText)
|
||||
|
||||
*aText = ::SysAllocStringLen(nodeValue.get(), nodeValue.Length());
|
||||
return *aText ? S_OK : E_OUTOFMEMORY;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
@@ -63,8 +59,6 @@ sdnTextAccessible::get_clippedSubstringBounds(unsigned int aStartIndex,
|
||||
int __RPC_FAR* aWidth,
|
||||
int __RPC_FAR* aHeight)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
nscoord x = 0, y = 0, width = 0, height = 0;
|
||||
HRESULT rv = get_unclippedSubstringBounds(aStartIndex, aEndIndex,
|
||||
&x, &y, &width, &height);
|
||||
@@ -86,8 +80,6 @@ sdnTextAccessible::get_clippedSubstringBounds(unsigned int aStartIndex,
|
||||
*aWidth = clippedRect.width;
|
||||
*aHeight = clippedRect.height;
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
@@ -98,8 +90,6 @@ sdnTextAccessible::get_unclippedSubstringBounds(unsigned int aStartIndex,
|
||||
int __RPC_FAR* aWidth,
|
||||
int __RPC_FAR* aHeight)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aX || !aY || !aWidth || !aHeight)
|
||||
return E_INVALIDARG;
|
||||
*aX = *aY = *aWidth = *aHeight = 0;
|
||||
@@ -135,16 +125,12 @@ sdnTextAccessible::get_unclippedSubstringBounds(unsigned int aStartIndex,
|
||||
*aHeight = presContext->AppUnitsToDevPixels(sum.height);
|
||||
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
sdnTextAccessible::scrollToSubstring(unsigned int aStartIndex,
|
||||
unsigned int aEndIndex)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (mAccessible->IsDefunct())
|
||||
return CO_E_OBJNOTCONNECTED;
|
||||
|
||||
@@ -159,15 +145,11 @@ sdnTextAccessible::scrollToSubstring(unsigned int aStartIndex,
|
||||
nsCoreUtils::ScrollSubstringTo(mAccessible->GetFrame(), range,
|
||||
nsIAccessibleScrollType::SCROLL_TYPE_ANYWHERE);
|
||||
return GetHRESULT(rv);
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
sdnTextAccessible::get_fontFamily(BSTR __RPC_FAR* aFontFamily)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aFontFamily)
|
||||
return E_INVALIDARG;
|
||||
*aFontFamily = nullptr;
|
||||
@@ -189,8 +171,6 @@ sdnTextAccessible::get_fontFamily(BSTR __RPC_FAR* aFontFamily)
|
||||
|
||||
*aFontFamily = ::SysAllocStringLen(name.get(), name.Length());
|
||||
return *aFontFamily ? S_OK : E_OUTOFMEMORY;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
nsIFrame*
|
||||
|
||||
@@ -28,24 +28,18 @@ STDMETHODIMP
|
||||
uiaRawElmProvider::GetObjectForChild(long aIdChild,
|
||||
__RPC__deref_out_opt IAccessibleEx** aAccEx)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aAccEx)
|
||||
return E_INVALIDARG;
|
||||
|
||||
*aAccEx = nullptr;
|
||||
|
||||
return mAcc->IsDefunct() ? CO_E_OBJNOTCONNECTED : S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
uiaRawElmProvider::GetIAccessiblePair(__RPC__deref_out_opt IAccessible** aAcc,
|
||||
__RPC__out long* aIdChild)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aAcc || !aIdChild)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -60,15 +54,11 @@ uiaRawElmProvider::GetIAccessiblePair(__RPC__deref_out_opt IAccessible** aAcc,
|
||||
mAcc->AddRef();
|
||||
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
uiaRawElmProvider::GetRuntimeId(__RPC__deref_out_opt SAFEARRAY** aRuntimeIds)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aRuntimeIds)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -81,16 +71,12 @@ uiaRawElmProvider::GetRuntimeId(__RPC__deref_out_opt SAFEARRAY** aRuntimeIds)
|
||||
SafeArrayPutElement(*aRuntimeIds, &i, (void*)&(ids[i]));
|
||||
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
uiaRawElmProvider::ConvertReturnedElement(__RPC__in_opt IRawElementProviderSimple* aRawElmProvider,
|
||||
__RPC__deref_out_opt IAccessibleEx** aAccEx)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aRawElmProvider || !aAccEx)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -102,8 +88,6 @@ uiaRawElmProvider::ConvertReturnedElement(__RPC__in_opt IRawElementProviderSimpl
|
||||
*aAccEx = static_cast<IAccessibleEx*>(instancePtr);
|
||||
|
||||
return hr;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
@@ -112,39 +96,29 @@ uiaRawElmProvider::ConvertReturnedElement(__RPC__in_opt IRawElementProviderSimpl
|
||||
STDMETHODIMP
|
||||
uiaRawElmProvider::get_ProviderOptions(__RPC__out enum ProviderOptions* aOptions)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aOptions)
|
||||
return E_INVALIDARG;
|
||||
|
||||
// This method is not used with IAccessibleEx implementations.
|
||||
*aOptions = ProviderOptions_ServerSideProvider;
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
uiaRawElmProvider::GetPatternProvider(PATTERNID aPatternId,
|
||||
__RPC__deref_out_opt IUnknown** aPatternProvider)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aPatternProvider)
|
||||
return E_INVALIDARG;
|
||||
|
||||
*aPatternProvider = nullptr;
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
uiaRawElmProvider::GetPropertyValue(PROPERTYID aPropertyId,
|
||||
__RPC__out VARIANT* aPropertyValue)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aPropertyValue)
|
||||
return E_INVALIDARG;
|
||||
|
||||
@@ -226,21 +200,15 @@ uiaRawElmProvider::GetPropertyValue(PROPERTYID aPropertyId,
|
||||
}
|
||||
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
uiaRawElmProvider::get_HostRawElementProvider(__RPC__deref_out_opt IRawElementProviderSimple** aRawElmProvider)
|
||||
{
|
||||
A11Y_TRYBLOCK_BEGIN
|
||||
|
||||
if (!aRawElmProvider)
|
||||
return E_INVALIDARG;
|
||||
|
||||
// This method is not used with IAccessibleEx implementations.
|
||||
*aRawElmProvider = nullptr;
|
||||
return S_OK;
|
||||
|
||||
A11Y_TRYBLOCK_END
|
||||
}
|
||||
@@ -27,7 +27,6 @@ builtin(include, build/autoconf/icu.m4)dnl
|
||||
builtin(include, build/autoconf/clang-plugin.m4)dnl
|
||||
builtin(include, build/autoconf/alloc.m4)dnl
|
||||
builtin(include, build/autoconf/ios.m4)dnl
|
||||
builtin(include, build/autoconf/jemalloc.m4)dnl
|
||||
builtin(include, build/autoconf/sanitize.m4)dnl
|
||||
|
||||
MOZ_PROG_CHECKMSYS()
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
Please see the file ../toolkit/content/license.html for the copyright
|
||||
licensing conditions attached to this codebase, including copies of the
|
||||
licenses concerned.
|
||||
|
||||
You are not granted rights or licenses to the trademarks of Moonchild
|
||||
Productions or any other party, including without limitation the
|
||||
Basilisk name or logo.
|
||||
|
||||
The Serpent logo in branding/unofficial is derived from "Sea Serpent"
|
||||
by Lorc, licensed under the Creative Commons license CC-BY 3.0
|
||||
|
||||
For individual licensing restrictions on branding, see the LICENSE
|
||||
files in the appropriate branding directories.
|
||||
@@ -0,0 +1,15 @@
|
||||
# vim: set filetype=python:
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
include('/toolkit/toolkit.mozbuild')
|
||||
|
||||
if CONFIG['MOZ_EXTENSIONS']:
|
||||
DIRS += ['/extensions']
|
||||
|
||||
DIRS += ['/%s' % CONFIG['MOZ_BRANDING_DIRECTORY']]
|
||||
|
||||
# Never add dirs after the browser root because they apparently won't
|
||||
# get packaged properly on Mac.
|
||||
DIRS += ['/application/basilisk']
|
||||
@@ -0,0 +1,50 @@
|
||||
#if MOZ_APP_STATIC_INI
|
||||
#ifdef MOZ_BUILD_APP_IS_BROWSER
|
||||
; This file is not used. If you modify it and want the application to use
|
||||
; your modifications, move it under the browser/ subdirectory and start with
|
||||
; the "-app /path/to/browser/application.ini" argument.
|
||||
#else
|
||||
; This file is not used. If you modify it and want the application to use
|
||||
; your modifications, start with the "-app /path/to/application.ini"
|
||||
; argument.
|
||||
#endif
|
||||
#endif
|
||||
#if 0
|
||||
; This Source Code Form is subject to the terms of the Mozilla Public
|
||||
; License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
; file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#endif
|
||||
#filter substitution
|
||||
#include @TOPOBJDIR@/buildid.h
|
||||
#include @TOPOBJDIR@/source-repo.h
|
||||
|
||||
[App]
|
||||
# Vendor=@MOZ_APP_VENDOR@
|
||||
Vendor=Moonchild Productions
|
||||
# Name=@MOZ_APP_BASENAME@
|
||||
Name=Basilisk
|
||||
RemotingName=@MOZ_APP_REMOTINGNAME@
|
||||
#ifdef MOZ_APP_DISPLAYNAME
|
||||
CodeName=@MOZ_APP_DISPLAYNAME@
|
||||
#endif
|
||||
Version=@MOZ_APP_VERSION@
|
||||
#ifdef MOZ_APP_PROFILE
|
||||
Profile=@MOZ_APP_PROFILE@
|
||||
#endif
|
||||
BuildID=@MOZ_BUILDID@
|
||||
#ifdef MOZ_SOURCE_REPO
|
||||
SourceRepository=@MOZ_SOURCE_REPO@
|
||||
#endif
|
||||
#ifdef MOZ_SOURCE_STAMP
|
||||
SourceStamp=@MOZ_SOURCE_STAMP@
|
||||
#endif
|
||||
ID=@MOZ_APP_ID@
|
||||
|
||||
[Gecko]
|
||||
MinVersion=@GRE_MILESTONE@
|
||||
MaxVersion=@GRE_MILESTONE@
|
||||
|
||||
[XRE]
|
||||
#ifdef MOZ_PROFILE_MIGRATOR
|
||||
EnableProfileMigrator=1
|
||||
#endif
|
||||
@@ -0,0 +1,229 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>English</string>
|
||||
<key>CFBundleDocumentTypes</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>CFBundleTypeExtensions</key>
|
||||
<array>
|
||||
<string>html</string>
|
||||
<string>htm</string>
|
||||
<string>shtml</string>
|
||||
<string>xht</string>
|
||||
<string>xhtml</string>
|
||||
</array>
|
||||
<key>CFBundleTypeIconFile</key>
|
||||
<string>document.icns</string>
|
||||
<key>CFBundleTypeName</key>
|
||||
<string>HTML Document</string>
|
||||
<key>CFBundleTypeOSTypes</key>
|
||||
<array>
|
||||
<string>HTML</string>
|
||||
</array>
|
||||
<key>CFBundleTypeRole</key>
|
||||
<string>Viewer</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>CFBundleTypeExtensions</key>
|
||||
<array>
|
||||
<string>svg</string>
|
||||
</array>
|
||||
<key>CFBundleTypeIconFile</key>
|
||||
<string>document.icns</string>
|
||||
<key>CFBundleTypeMIMETypes</key>
|
||||
<array>
|
||||
<string>image/svg+xml</string>
|
||||
</array>
|
||||
<key>CFBundleTypeName</key>
|
||||
<string>SVG document</string>
|
||||
<key>CFBundleTypeOSTypes</key>
|
||||
<array>
|
||||
<string>TEXT</string>
|
||||
</array>
|
||||
<key>CFBundleTypeRole</key>
|
||||
<string>Viewer</string>
|
||||
<key>NSDocumentClass</key>
|
||||
<string>BrowserDocument</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>CFBundleTypeExtensions</key>
|
||||
<array>
|
||||
<string>text</string>
|
||||
<string>txt</string>
|
||||
<string>js</string>
|
||||
<string>log</string>
|
||||
<string>css</string>
|
||||
<string>xul</string>
|
||||
<string>rdf</string>
|
||||
</array>
|
||||
<key>CFBundleTypeIconFile</key>
|
||||
<string>document.icns</string>
|
||||
<key>CFBundleTypeName</key>
|
||||
<string>Text Document</string>
|
||||
<key>CFBundleTypeOSTypes</key>
|
||||
<array>
|
||||
<string>TEXT</string>
|
||||
<string>utxt</string>
|
||||
</array>
|
||||
<key>CFBundleTypeRole</key>
|
||||
<string>Viewer</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>CFBundleTypeExtensions</key>
|
||||
<array>
|
||||
<string>jpeg</string>
|
||||
<string>jpg</string>
|
||||
<string>png</string>
|
||||
<string>gif</string>
|
||||
</array>
|
||||
<key>CFBundleTypeIconFile</key>
|
||||
<string>fileBookmark.icns</string>
|
||||
<key>CFBundleTypeName</key>
|
||||
<string>document.icns</string>
|
||||
<key>CFBundleTypeOSTypes</key>
|
||||
<array>
|
||||
<string>GIFf</string>
|
||||
<string>JPEG</string>
|
||||
<string>PNGf</string>
|
||||
</array>
|
||||
<key>CFBundleTypeRole</key>
|
||||
<string>Viewer</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>CFBundleTypeExtensions</key>
|
||||
<array>
|
||||
<string>oga</string>
|
||||
<string>ogg</string>
|
||||
</array>
|
||||
<key>CFBundleTypeIconFile</key>
|
||||
<string>document.icns</string>
|
||||
<key>CFBundleTypeMIMETypes</key>
|
||||
<array>
|
||||
<string>audio/ogg</string>
|
||||
</array>
|
||||
<key>CFBundleTypeName</key>
|
||||
<string>HTML5 Audio (Ogg)</string>
|
||||
<key>CFBundleTypeRole</key>
|
||||
<string>Viewer</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>CFBundleTypeExtensions</key>
|
||||
<array>
|
||||
<string>ogv</string>
|
||||
</array>
|
||||
<key>CFBundleTypeIconFile</key>
|
||||
<string>document.icns</string>
|
||||
<key>CFBundleTypeMIMETypes</key>
|
||||
<array>
|
||||
<string>video/ogg</string>
|
||||
</array>
|
||||
<key>CFBundleTypeName</key>
|
||||
<string>HTML5 Video (Ogg)</string>
|
||||
<key>CFBundleTypeRole</key>
|
||||
<string>Viewer</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>CFBundleTypeExtensions</key>
|
||||
<array>
|
||||
<string>webm</string>
|
||||
</array>
|
||||
<key>CFBundleTypeIconFile</key>
|
||||
<string>document.icns</string>
|
||||
<key>CFBundleTypeMIMETypes</key>
|
||||
<array>
|
||||
<string>video/webm</string>
|
||||
</array>
|
||||
<key>CFBundleTypeName</key>
|
||||
<string>HTML5 Video (WebM)</string>
|
||||
<key>CFBundleTypeRole</key>
|
||||
<string>Viewer</string>
|
||||
</dict>
|
||||
</array>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>firefox</string>
|
||||
<key>CFBundleGetInfoString</key>
|
||||
<string>%MAC_APP_NAME% %APP_VERSION%</string>
|
||||
<key>CFBundleIconFile</key>
|
||||
<string>firefox.icns</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>%MOZ_MACBUNDLE_ID%</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>%MAC_APP_NAME%</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>%APP_VERSION%</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>MOZB</string>
|
||||
<key>CFBundleURLTypes</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>CFBundleURLIconFile</key>
|
||||
<string>document.icns</string>
|
||||
<key>CFBundleURLName</key>
|
||||
<string>http URL</string>
|
||||
<key>CFBundleURLSchemes</key>
|
||||
<array>
|
||||
<string>http</string>
|
||||
</array>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>CFBundleURLIconFile</key>
|
||||
<string>document.icns</string>
|
||||
<key>CFBundleURLName</key>
|
||||
<string>https URL</string>
|
||||
<key>CFBundleURLSchemes</key>
|
||||
<array>
|
||||
<string>https</string>
|
||||
</array>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>CFBundleURLName</key>
|
||||
<string>ftp URL</string>
|
||||
<key>CFBundleURLSchemes</key>
|
||||
<array>
|
||||
<string>ftp</string>
|
||||
</array>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>CFBundleURLName</key>
|
||||
<string>file URL</string>
|
||||
<key>CFBundleURLSchemes</key>
|
||||
<array>
|
||||
<string>file</string>
|
||||
</array>
|
||||
</dict>
|
||||
</array>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>%MAC_BUNDLE_VERSION%</string>
|
||||
<key>NSAppleScriptEnabled</key>
|
||||
<true/>
|
||||
<key>LSApplicationCategoryType</key>
|
||||
<string>public.app-category.productivity</string>
|
||||
<key>LSEnvironment</key>
|
||||
<dict>
|
||||
<key>MallocNanoZone</key>
|
||||
<string>0</string>
|
||||
</dict>
|
||||
<key>LSFileQuarantineEnabled</key>
|
||||
<true/>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
<string>10.9.0</string>
|
||||
<key>NSSupportsAutomaticGraphicsSwitching</key>
|
||||
<true/>
|
||||
<key>NSPrincipalClass</key>
|
||||
<string>GeckoNSApplication</string>
|
||||
<key>SMPrivilegedExecutables</key>
|
||||
<dict>
|
||||
<key>org.mozilla.updater</key>
|
||||
<string>identifier "org.mozilla.updater" and ((anchor apple generic and certificate leaf[field.1.2.840.113635.100.6.1.9]) or (anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] and certificate leaf[field.1.2.840.113635.100.6.1.13] and certificate leaf[subject.OU] = "43AQ936H96"))</string>
|
||||
</dict>
|
||||
<key>NSDisablePersistence</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
||||
@@ -0,0 +1,75 @@
|
||||
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
||||
# vim: set filetype=python:
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
DIRS += ['profile/extensions']
|
||||
|
||||
GeckoProgram(CONFIG['MOZ_APP_NAME'])
|
||||
|
||||
JS_PREFERENCE_PP_FILES += [
|
||||
'profile/firefox.js',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
'nsBrowserApp.cpp',
|
||||
]
|
||||
|
||||
FINAL_TARGET_FILES += ['blocklist.xml']
|
||||
FINAL_TARGET_FILES.defaults.profile += ['profile/prefs.js']
|
||||
FINAL_TARGET_FILES.defaults += ['permissions']
|
||||
|
||||
DEFINES['APP_VERSION'] = CONFIG['MOZ_APP_VERSION']
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
'!/build',
|
||||
'/toolkit/xre',
|
||||
'/xpcom/base',
|
||||
'/xpcom/build',
|
||||
]
|
||||
|
||||
USE_LIBS += [
|
||||
'mozglue',
|
||||
]
|
||||
|
||||
if CONFIG['LIBFUZZER']:
|
||||
USE_LIBS += [ 'fuzzer' ]
|
||||
|
||||
if CONFIG['_MSC_VER']:
|
||||
# Always enter a Windows program through wmain, whether or not we're
|
||||
# a console application.
|
||||
WIN32_EXE_LDFLAGS += ['-ENTRY:wmainCRTStartup']
|
||||
|
||||
if CONFIG['OS_ARCH'] == 'WINNT':
|
||||
RCINCLUDE = 'splash.rc'
|
||||
DEFINES['MOZ_PHOENIX'] = True
|
||||
|
||||
for cdm in CONFIG['MOZ_EME_MODULES']:
|
||||
DEFINES['MOZ_%s_EME' % cdm.upper()] = True
|
||||
|
||||
# Control the default heap size.
|
||||
# This is the heap returned by GetProcessHeap().
|
||||
# As we use the CRT heap, the default size is too large and wastes VM.
|
||||
#
|
||||
# The default heap size is 1MB on Win32.
|
||||
# The heap will grow if need be.
|
||||
#
|
||||
# Set it to 256k. See bug 127069.
|
||||
if CONFIG['OS_ARCH'] == 'WINNT' and not CONFIG['GNU_CC']:
|
||||
LDFLAGS += ['/HEAP:0x40000']
|
||||
|
||||
DISABLE_STL_WRAPPING = True
|
||||
|
||||
if CONFIG['MOZ_LINKER']:
|
||||
OS_LIBS += CONFIG['MOZ_ZLIB_LIBS']
|
||||
|
||||
if CONFIG['HAVE_CLOCK_MONOTONIC']:
|
||||
OS_LIBS += CONFIG['REALTIME_LIBS']
|
||||
|
||||
if CONFIG['MOZ_GPSD']:
|
||||
DEFINES['MOZ_GPSD'] = True
|
||||
|
||||
for icon in ('firefox', 'document', 'newwindow', 'newtab', 'pbmode'):
|
||||
DEFINES[icon.upper() + '_ICO'] = '"%s/dist/branding/%s.ico"' % (
|
||||
TOPOBJDIR, icon)
|
||||
@@ -24,16 +24,8 @@
|
||||
#include "nsStringGlue.h"
|
||||
|
||||
#ifdef XP_WIN
|
||||
#ifdef MOZ_ASAN
|
||||
// ASAN requires basilisk.exe to be built with -MD, and it's OK if we don't
|
||||
// support Windows XP SP2 in ASAN builds.
|
||||
#define XRE_DONT_SUPPORT_XPSP2
|
||||
#endif
|
||||
#define XRE_WANT_ENVIRON
|
||||
#define strcasecmp _stricmp
|
||||
#ifdef MOZ_SANDBOX
|
||||
#include "mozilla/sandboxing/SandboxInitialization.h"
|
||||
#endif
|
||||
#endif
|
||||
#include "BinaryPath.h"
|
||||
|
||||
@@ -43,8 +35,7 @@
|
||||
#include "mozilla/Telemetry.h"
|
||||
#include "mozilla/WindowsDllBlocklist.h"
|
||||
|
||||
#if !defined(MOZ_WIDGET_COCOA) && !defined(MOZ_WIDGET_ANDROID) \
|
||||
&& !(defined(XP_LINUX) && defined(MOZ_SANDBOX))
|
||||
#if !defined(MOZ_WIDGET_COCOA) && !defined(MOZ_WIDGET_ANDROID)
|
||||
#define MOZ_BROWSER_CAN_BE_CONTENTPROC
|
||||
#include "../../ipc/contentproc/plugin-container.cpp"
|
||||
#endif
|
||||
@@ -206,13 +197,7 @@ static int do_main(int argc, char* argv[], char* envp[], nsIFile *xreDirectory)
|
||||
argv[i] = argv[i + 1];
|
||||
}
|
||||
|
||||
XREShellData shellData;
|
||||
#if defined(XP_WIN) && defined(MOZ_SANDBOX)
|
||||
shellData.sandboxBrokerServices =
|
||||
sandboxing::GetInitializedBrokerServices();
|
||||
#endif
|
||||
|
||||
return XRE_XPCShellMain(--argc, argv, envp, &shellData);
|
||||
return XRE_XPCShellMain(--argc, argv, envp);
|
||||
}
|
||||
|
||||
if (appini) {
|
||||
@@ -262,18 +247,6 @@ static int do_main(int argc, char* argv[], char* envp[], nsIFile *xreDirectory)
|
||||
DllBlocklist_CheckStatus() ? NS_XRE_DLL_BLOCKLIST_ENABLED : 0;
|
||||
#endif
|
||||
|
||||
#if defined(XP_WIN) && defined(MOZ_SANDBOX)
|
||||
sandbox::BrokerServices* brokerServices =
|
||||
sandboxing::GetInitializedBrokerServices();
|
||||
#if defined(MOZ_CONTENT_SANDBOX)
|
||||
if (!brokerServices) {
|
||||
Output("Couldn't initialize the broker services.\n");
|
||||
return 255;
|
||||
}
|
||||
#endif
|
||||
appData.sandboxBrokerServices = brokerServices;
|
||||
#endif
|
||||
|
||||
#ifdef LIBFUZZER
|
||||
if (getenv("LIBFUZZER"))
|
||||
XRE_LibFuzzerSetMain(argc, argv, libfuzzer_main);
|
||||
@@ -375,15 +348,6 @@ int main(int argc, char* argv[], char* envp[])
|
||||
// We are launching as a content process, delegate to the appropriate
|
||||
// main
|
||||
if (argc > 1 && IsArg(argv[1], "contentproc")) {
|
||||
#if defined(XP_WIN) && defined(MOZ_SANDBOX)
|
||||
// We need to initialize the sandbox TargetServices before InitXPCOMGlue
|
||||
// because we might need the sandbox broker to give access to some files.
|
||||
if (IsSandboxedProcess() && !sandboxing::GetInitializedTargetServices()) {
|
||||
Output("Failed to initialize the sandbox target services.");
|
||||
return 255;
|
||||
}
|
||||
#endif
|
||||
|
||||
nsresult rv = InitXPCOMGlue(argv[0], nullptr);
|
||||
if (NS_FAILED(rv)) {
|
||||
return 255;
|
||||
@@ -0,0 +1,15 @@
|
||||
# This file has default permissions for the permission manager.
|
||||
# The file-format is strict:
|
||||
# * matchtype \t type \t permission \t host
|
||||
# * "origin" should be used for matchtype, "host" is supported for legacy reasons
|
||||
# * type is a string that identifies the type of permission (e.g. "cookie")
|
||||
# * permission is an integer between 1 and 15
|
||||
# See nsPermissionManager.cpp for more...
|
||||
|
||||
# XPInstall
|
||||
origin install 1 https://addons.mozilla.org
|
||||
origin install 1 https://testpilot.firefox.com
|
||||
|
||||
# Remote troubleshooting
|
||||
origin remote-troubleshooting 1 https://input.mozilla.org
|
||||
origin remote-troubleshooting 1 https://support.mozilla.org
|
||||
@@ -156,8 +156,8 @@ pref("app.update.service.enabled", true);
|
||||
// .. etc ..
|
||||
//
|
||||
pref("extensions.update.enabled", true);
|
||||
pref("extensions.update.url", "https://versioncheck.addons.mozilla.org/update/VersionCheck.php?reqVersion=%REQ_VERSION%&id=%ITEM_ID%&version=%ITEM_VERSION%&maxAppVersion=%ITEM_MAXAPPVERSION%&status=%ITEM_STATUS%&appID=%APP_ID%&appVersion=%APP_VERSION%&appOS=%APP_OS%&appABI=%APP_ABI%&locale=%APP_LOCALE%¤tAppVersion=%CURRENT_APP_VERSION%&updateType=%UPDATE_TYPE%&compatMode=%COMPATIBILITY_MODE%");
|
||||
pref("extensions.update.background.url", "https://versioncheck-bg.addons.mozilla.org/update/VersionCheck.php?reqVersion=%REQ_VERSION%&id=%ITEM_ID%&version=%ITEM_VERSION%&maxAppVersion=%ITEM_MAXAPPVERSION%&status=%ITEM_STATUS%&appID=%APP_ID%&appVersion=%APP_VERSION%&appOS=%APP_OS%&appABI=%APP_ABI%&locale=%APP_LOCALE%¤tAppVersion=%CURRENT_APP_VERSION%&updateType=%UPDATE_TYPE%&compatMode=%COMPATIBILITY_MODE%");
|
||||
pref("extensions.update.url", "https://versioncheck.addons.mozilla.org/update/VersionCheck.php?reqVersion=%REQ_VERSION%&id=%ITEM_ID%&version=%ITEM_VERSION%&maxAppVersion=%ITEM_MAXAPPVERSION%&status=%ITEM_STATUS%&appID=%APP_ID%&appVersion=52.9&appOS=%APP_OS%&appABI=%APP_ABI%&locale=%APP_LOCALE%¤tAppVersion=%CURRENT_APP_VERSION%&updateType=%UPDATE_TYPE%&compatMode=%COMPATIBILITY_MODE%");
|
||||
pref("extensions.update.background.url", "https://versioncheck-bg.addons.mozilla.org/update/VersionCheck.php?reqVersion=%REQ_VERSION%&id=%ITEM_ID%&version=%ITEM_VERSION%&maxAppVersion=%ITEM_MAXAPPVERSION%&status=%ITEM_STATUS%&appID=%APP_ID%&appVersion=52.9&appOS=%APP_OS%&appABI=%APP_ABI%&locale=%APP_LOCALE%¤tAppVersion=%CURRENT_APP_VERSION%&updateType=%UPDATE_TYPE%&compatMode=%COMPATIBILITY_MODE%");
|
||||
pref("extensions.update.interval", 86400); // Check for updates to Extensions and
|
||||
// Themes every day
|
||||
// Non-symmetric (not shared by extensions) extension-specific [update] preferences
|
||||
@@ -178,20 +178,6 @@ pref("browser.eme.ui.enabled", true);
|
||||
pref("browser.eme.ui.enabled", false);
|
||||
#endif
|
||||
|
||||
// UI tour experience.
|
||||
pref("browser.uitour.enabled", true);
|
||||
pref("browser.uitour.loglevel", "Error");
|
||||
pref("browser.uitour.requireSecure", true);
|
||||
pref("browser.uitour.themeOrigin", "https://addons.mozilla.org/%LOCALE%/firefox/themes/");
|
||||
pref("browser.uitour.url", "https://www.mozilla.org/%LOCALE%/firefox/%VERSION%/tour/");
|
||||
// This is used as a regexp match against the page's URL.
|
||||
pref("browser.uitour.readerViewTrigger", "^https:\\/\\/www\\.mozilla\\.org\\/[^\\/]+\\/firefox\\/reading\\/start");
|
||||
// How long to show a Hearbeat survey (two hours, in seconds)
|
||||
pref("browser.uitour.surveyDuration", 7200);
|
||||
|
||||
pref("browser.customizemode.tip0.shown", false);
|
||||
pref("browser.customizemode.tip0.learnMoreUrl", "https://support.mozilla.org/1/firefox/%VERSION%/%OS%/%LOCALE%/customize");
|
||||
|
||||
pref("keyword.enabled", true);
|
||||
pref("browser.fixup.domainwhitelist.localhost", true);
|
||||
|
||||
@@ -229,11 +215,6 @@ pref("browser.slowStartup.notificationDisabled", false);
|
||||
pref("browser.slowStartup.timeThreshold", 40000);
|
||||
pref("browser.slowStartup.maxSamples", 5);
|
||||
|
||||
// This url, if changed, MUST continue to point to an https url. Pulling arbitrary content to inject into
|
||||
// this page over http opens us up to a man-in-the-middle attack that we'd rather not face. If you are a downstream
|
||||
// repackager of this code using an alternate snippet url, please keep your users safe
|
||||
pref("browser.aboutHomeSnippets.updateUrl", "https://snippets.cdn.mozilla.net/%STARTPAGE_VERSION%/%NAME%/%VERSION%/%APPBUILDID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/");
|
||||
|
||||
pref("browser.enable_automatic_image_resizing", true);
|
||||
pref("browser.casting.enabled", false);
|
||||
pref("browser.chrome.site_icons", true);
|
||||
@@ -900,12 +881,7 @@ pref("app.support.baseURL", "https://support.mozilla.org/1/firefox/%VERSION%/%OS
|
||||
pref("app.support.e10sAccessibilityUrl", "https://support.mozilla.org/1/firefox/%VERSION%/%OS%/%LOCALE%/accessibility-ppt");
|
||||
|
||||
// base url for web-based feedback pages
|
||||
#ifdef MOZ_DEV_EDITION
|
||||
pref("app.feedback.baseURL", "https://input.mozilla.org/%LOCALE%/feedback/firefoxdev/%VERSION%/");
|
||||
#else
|
||||
pref("app.feedback.baseURL", "https://input.mozilla.org/%LOCALE%/feedback/%APP%/%VERSION%/");
|
||||
#endif
|
||||
|
||||
pref("app.feedback.baseURL", "https://forum.palemoon.org/viewforum.php?f=61");
|
||||
|
||||
// Name of alternate about: page for certificate errors (when undefined, defaults to about:neterror)
|
||||
pref("security.alternate_certificate_error_page", "certerror");
|
||||
@@ -931,100 +907,6 @@ pref("dom.ipc.shims.enabledWarnings", false);
|
||||
pref("browser.tabs.remote.autostart", false);
|
||||
pref("browser.tabs.remote.desktopbehavior", true);
|
||||
|
||||
#if defined(XP_WIN) && defined(MOZ_SANDBOX)
|
||||
// When this pref is true the Windows process sandbox will set up dummy
|
||||
// interceptions and log to the browser console when calls fail in the sandboxed
|
||||
// process and also if they are subsequently allowed by the broker process.
|
||||
// This will require a restart.
|
||||
pref("security.sandbox.windows.log", false);
|
||||
|
||||
// Controls whether and how the Windows NPAPI plugin process is sandboxed.
|
||||
// To get a different setting for a particular plugin replace "default", with
|
||||
// the plugin's nice file name, see: nsPluginTag::GetNiceFileName.
|
||||
// On windows these levels are:
|
||||
// 0 - no sandbox
|
||||
// 1 - sandbox with USER_NON_ADMIN access token level
|
||||
// 2 - a more strict sandbox, which might cause functionality issues. This now
|
||||
// includes running at low integrity.
|
||||
// 3 - the strongest settings we seem to be able to use without breaking
|
||||
// everything, but will probably cause some functionality restrictions
|
||||
pref("dom.ipc.plugins.sandbox-level.default", 0);
|
||||
#if defined(_AMD64_)
|
||||
// The lines in PluginModuleParent.cpp should be changed in line with this.
|
||||
pref("dom.ipc.plugins.sandbox-level.flash", 2);
|
||||
#else
|
||||
pref("dom.ipc.plugins.sandbox-level.flash", 0);
|
||||
#endif
|
||||
|
||||
#if defined(MOZ_CONTENT_SANDBOX)
|
||||
// This controls the strength of the Windows content process sandbox for testing
|
||||
// purposes. This will require a restart.
|
||||
// On windows these levels are:
|
||||
// See - security/sandbox/win/src/sandboxbroker/sandboxBroker.cpp
|
||||
// SetSecurityLevelForContentProcess() for what the different settings mean.
|
||||
#if defined(NIGHTLY_BUILD)
|
||||
pref("security.sandbox.content.level", 2);
|
||||
#else
|
||||
pref("security.sandbox.content.level", 1);
|
||||
#endif
|
||||
|
||||
// This controls the depth of stack trace that is logged when Windows sandbox
|
||||
// logging is turned on. This is only currently available for the content
|
||||
// process because the only other sandbox (for GMP) has too strict a policy to
|
||||
// allow stack tracing. This does not require a restart to take effect.
|
||||
pref("security.sandbox.windows.log.stackTraceDepth", 0);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(XP_MACOSX) && defined(MOZ_SANDBOX) && defined(MOZ_CONTENT_SANDBOX)
|
||||
// This pref is discussed in bug 1083344, the naming is inspired from its
|
||||
// Windows counterpart, but on Mac it's an integer which means:
|
||||
// 0 -> "no sandbox"
|
||||
// 1 -> "preliminary content sandboxing enabled: write access to
|
||||
// home directory is prevented"
|
||||
// 2 -> "preliminary content sandboxing enabled with profile protection:
|
||||
// write access to home directory is prevented, read and write access
|
||||
// to ~/Library and profile directories are prevented (excluding
|
||||
// $PROFILE/{extensions,weave})"
|
||||
// This setting is read when the content process is started. On Mac the content
|
||||
// process is killed when all windows are closed, so a change will take effect
|
||||
// when the 1st window is opened.
|
||||
#if defined(NIGHTLY_BUILD)
|
||||
pref("security.sandbox.content.level", 2);
|
||||
#else
|
||||
pref("security.sandbox.content.level", 1);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(XP_LINUX) && defined(MOZ_SANDBOX) && defined(MOZ_CONTENT_SANDBOX)
|
||||
// This pref is introduced as part of bug 742434, the naming is inspired from
|
||||
// its Windows/Mac counterpart, but on Linux it's an integer which means:
|
||||
// 0 -> "no sandbox"
|
||||
// 1 -> "content sandbox using seccomp-bpf when available"
|
||||
// 2 -> "seccomp-bpf + file broker"
|
||||
// Content sandboxing on Linux is currently in the stage of
|
||||
// 'just getting it enabled', which includes a very permissive whitelist. We
|
||||
// enable seccomp-bpf on nightly to see if everything is running, or if we need
|
||||
// to whitelist more system calls.
|
||||
//
|
||||
// So the purpose of this setting is to allow nightly users to disable the
|
||||
// sandbox while we fix their problems. This way, they won't have to wait for
|
||||
// another nightly release which disables seccomp-bpf again.
|
||||
//
|
||||
// This setting may not be required anymore once we decide to permanently
|
||||
// enable the content sandbox.
|
||||
pref("security.sandbox.content.level", 2);
|
||||
#endif
|
||||
|
||||
#if defined(XP_MACOSX) || defined(XP_WIN)
|
||||
#if defined(MOZ_SANDBOX) && defined(MOZ_CONTENT_SANDBOX)
|
||||
// ID (a UUID when set by gecko) that is used to form the name of a
|
||||
// sandbox-writable temporary directory to be used by content processes
|
||||
// when a temporary writable file is required in a level 1 sandbox.
|
||||
pref("security.sandbox.content.tempDirSuffix", "");
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// This pref governs whether we attempt to work around problems caused by
|
||||
// plugins using OS calls to manipulate the cursor while running out-of-
|
||||
// process. These workarounds all involve intercepting (hooking) certain
|
||||
@@ -1066,11 +948,12 @@ pref("services.sync.prefs.sync.browser.download.useDownloadDir", true);
|
||||
pref("services.sync.prefs.sync.browser.formfill.enable", true);
|
||||
pref("services.sync.prefs.sync.browser.link.open_newwindow", true);
|
||||
pref("services.sync.prefs.sync.browser.newtabpage.enabled", true);
|
||||
pref("services.sync.prefs.sync.browser.newtabpage.enhanced", true);
|
||||
pref("services.sync.prefs.sync.browser.newtabpage.pinned", true);
|
||||
pref("services.sync.prefs.sync.browser.offline-apps.notify", true);
|
||||
#ifdef MOZ_SAFE_BROWSING
|
||||
pref("services.sync.prefs.sync.browser.safebrowsing.phishing.enabled", true);
|
||||
pref("services.sync.prefs.sync.browser.safebrowsing.malware.enabled", true);
|
||||
#endif
|
||||
pref("services.sync.prefs.sync.browser.search.update", true);
|
||||
pref("services.sync.prefs.sync.browser.sessionstore.restore_on_demand", true);
|
||||
pref("services.sync.prefs.sync.browser.startup.homepage", true);
|
||||
@@ -1161,7 +1044,7 @@ pref("browser.newtabpage.introShown", false);
|
||||
pref("browser.newtabpage.enabled", true);
|
||||
|
||||
// Toggles the enhanced content of 'about:newtab'. Shows sponsored tiles.
|
||||
sticky_pref("browser.newtabpage.enhanced", true);
|
||||
sticky_pref("browser.newtabpage.enhanced", false);
|
||||
|
||||
// enables Activity Stream inspired layout
|
||||
pref("browser.newtabpage.compact", false);
|
||||
@@ -1221,13 +1104,6 @@ pref("pdfjs.previousHandler.alwaysAskBeforeHandling", false);
|
||||
// (This is intentionally on the high side; see bug 746055.)
|
||||
pref("image.mem.max_decoded_image_kb", 256000);
|
||||
|
||||
pref("social.sidebar.unload_timeout_ms", 10000);
|
||||
|
||||
// Activation from inside of share panel is possible if activationPanelEnabled
|
||||
// is true. Pref'd off for release while usage testing is done through beta.
|
||||
pref("social.share.activationPanelEnabled", true);
|
||||
pref("social.shareDirectory", "https://activations.cdn.mozilla.net/sharePanel.html");
|
||||
|
||||
// Block insecure active content on https pages
|
||||
pref("security.mixed_content.block_active_content", true);
|
||||
|
||||
@@ -1335,20 +1211,21 @@ pref("identity.fxaccounts.migrateToDevEdition", false);
|
||||
pref("ui.key.menuAccessKeyFocuses", true);
|
||||
#endif
|
||||
|
||||
#ifdef MOZ_EME
|
||||
// Encrypted media extensions.
|
||||
#ifdef XP_LINUX
|
||||
// On Linux EME is visible but disabled by default. This is so that the
|
||||
// "Play DRM content" checkbox in the Firefox UI is unchecked by default.
|
||||
// EME is visible but disabled by default. This is so that the
|
||||
// "Play DRM content" checkbox in the browser UI is unchecked by default.
|
||||
// DRM requires downloading and installing proprietary binaries, which
|
||||
// users on an open source operating systems didn't opt into. The first
|
||||
// time a site using EME is encountered, the user will be prompted to
|
||||
// enable DRM, whereupon the EME plugin binaries will be downloaded if
|
||||
// permission is granted.
|
||||
// users didn't necessarily opt-in to by installing the browser.
|
||||
// The first time a site using EME is encountered, the user will be
|
||||
// prompted to enable DRM, whereupon the EME plugin binaries will be
|
||||
// downloaded if permission is granted.
|
||||
pref("media.eme.enabled", false);
|
||||
#else
|
||||
pref("media.eme.enabled", true);
|
||||
#endif
|
||||
pref("media.eme.apiVisible", true);
|
||||
#else
|
||||
// Disable redundant interfaces
|
||||
pref("media.eme.apiVisible", false);
|
||||
#endif
|
||||
|
||||
// Decode using Gecko Media Plugins in <video>, if a system decoder is not
|
||||
// availble and the preferred GMP is available.
|
||||
@@ -1402,13 +1279,6 @@ pref("browser.translation.engine", "bing");
|
||||
// Determines if Telemetry pings can be archived locally.
|
||||
pref("toolkit.telemetry.archive.enabled", true);
|
||||
|
||||
// Telemetry experiments settings.
|
||||
pref("experiments.enabled", true);
|
||||
pref("experiments.manifest.fetchIntervalSeconds", 86400);
|
||||
pref("experiments.manifest.uri", "https://telemetry-experiment.cdn.mozilla.net/manifest/v1/firefox/%VERSION%/%CHANNEL%");
|
||||
// Whether experiments are supported by the current application profile.
|
||||
pref("experiments.supported", true);
|
||||
|
||||
// Enable GMP support in the addon manager.
|
||||
pref("media.gmp-provider.enabled", true);
|
||||
|
||||
@@ -1417,8 +1287,6 @@ pref("privacy.trackingprotection.ui.enabled", true);
|
||||
#else
|
||||
pref("privacy.trackingprotection.ui.enabled", false);
|
||||
#endif
|
||||
pref("privacy.trackingprotection.introCount", 0);
|
||||
pref("privacy.trackingprotection.introURL", "https://www.mozilla.org/%LOCALE%/firefox/%VERSION%/tracking-protection/start/");
|
||||
|
||||
// Enable Contextual Identity Containers
|
||||
#ifdef NIGHTLY_BUILD
|
||||
@@ -40,16 +40,23 @@ function init(aEvent)
|
||||
// Pref is unset
|
||||
}
|
||||
|
||||
// Include the build ID and display warning if this is an "a#" (nightly or aurora) build
|
||||
// Include the build ID
|
||||
let versionField = document.getElementById("version");
|
||||
let version = Services.appinfo.version;
|
||||
let buildID = Services.appinfo.appBuildID;
|
||||
let year = buildID.slice(0, 4);
|
||||
let month = buildID.slice(4, 6);
|
||||
let day = buildID.slice(6, 8);
|
||||
let hour = buildID.slice(8, 10);
|
||||
let minute = buildID.slice(10, 12);
|
||||
if (Services.prefs.getBoolPref("general.useragent.appVersionIsBuildID")) {
|
||||
versionField.textContent = `${year}.${month}.${day}`;
|
||||
} else {
|
||||
versionField.textContent = `v` + version + ` (${year}-${month}-${day})`;
|
||||
}
|
||||
|
||||
// Display warning if this is an "a#" (nightly or aurora) build
|
||||
if (/a\d+$/.test(version)) {
|
||||
let buildID = Services.appinfo.appBuildID;
|
||||
let year = buildID.slice(0, 4);
|
||||
let month = buildID.slice(4, 6);
|
||||
let day = buildID.slice(6, 8);
|
||||
versionField.textContent += ` (${year}-${month}-${day})`;
|
||||
|
||||
document.getElementById("experimental").hidden = false;
|
||||
document.getElementById("communityDesc").hidden = true;
|
||||
}
|
||||
@@ -45,7 +45,7 @@
|
||||
<vbox id="leftBox" flex="1"/>
|
||||
<vbox id="rightBox" flex="1">
|
||||
<hbox align="baseline">
|
||||
#expand <label id="version">__MOZ_APP_VERSION_DISPLAY__</label>
|
||||
#expand <label id="version"></label>
|
||||
#ifndef NIGHTLY_BUILD
|
||||
<label id="releasenotes" class="text-link">&releaseNotes.link;</label>
|
||||
#endif
|
||||
@@ -120,20 +120,20 @@
|
||||
<vbox id="experimental" hidden="true">
|
||||
<description class="text-blurb" id="warningDesc">
|
||||
&warningDesc.version;
|
||||
#ifdef MOZ_TELEMETRY_ON_BY_DEFAULT
|
||||
&warningDesc.telemetryDesc;
|
||||
#endif
|
||||
</description>
|
||||
<description class="text-blurb" id="communityExperimentalDesc">
|
||||
&community.exp.start;<label class="text-link" href="http://www.mozilla.org/">&community.exp.mozillaLink;</label>&community.exp.middle;<label class="text-link" useoriginprincipal="true" href="about:credits">&community.exp.creditsLink;</label>&community.exp.end;
|
||||
</description>
|
||||
</vbox>
|
||||
#ifdef MC_PRIVATE_BUILD
|
||||
<description class="text-blurb" id="communityDesc">
|
||||
This is a private build of Basilisk. If you did not manually build this copy from source yourself, then please download an official version from the <label class="text-link" href="http://www.basilisk-browser.org/">Basilisk website</label>.
|
||||
</description>
|
||||
#else
|
||||
<description class="text-blurb" id="communityDesc">
|
||||
&community.start2;<label class="text-link" href="http://www.mozilla.org/">&community.mozillaLink;</label>&community.middle2;<label class="text-link" useoriginprincipal="true" href="about:credits">&community.creditsLink;</label>&community.end3;
|
||||
Basilisk is community software released by <label class="text-link" href="http://www.palemoon.org/">the Pale Moon team</label> and Mozilla developers. Learn <label class="text-link" useoriginprincipal="true" href="about:credits">who contributed</label> to this software.
|
||||
</description>
|
||||
<description class="text-blurb" id="contributeDesc">
|
||||
&helpus.start;<label class="text-link" href="https://sendto.mozilla.org/page/contribute/Give-Now?source=mozillaorg_default_footer&ref=firefox_about&utm_campaign=firefox_about&tm_source=firefox&tm_medium=referral&utm_content=20140929_FireFoxAbout">&helpus.donateLink;</label>&helpus.middle;<label class="text-link" href="http://www.mozilla.org/contribute/">&helpus.getInvolvedLink;</label>&helpus.end;
|
||||
Want to help? Please consider <label class="text-link" href="https://www.palemoon.org/donations.shtml">donating</label> or get involved with our <label class="text-link" href="https://github.com/MoonchildProductions/UXP">development</label> of the Unified XUL Platform.
|
||||
</description>
|
||||
#endif
|
||||
</vbox>
|
||||
</vbox>
|
||||
</hbox>
|
||||
@@ -141,7 +141,7 @@
|
||||
<hbox pack="center">
|
||||
<label class="text-link bottom-link" useoriginprincipal="true" href="about:license">&bottomLinks.license;</label>
|
||||
<label class="text-link bottom-link" useoriginprincipal="true" href="about:rights">&bottomLinks.rights;</label>
|
||||
<label class="text-link bottom-link" href="https://www.mozilla.org/privacy/">&bottomLinks.privacy;</label>
|
||||
<label class="text-link bottom-link" href="https://www.palemoon.org/privacy.shtml">&bottomLinks.privacy;</label>
|
||||
</hbox>
|
||||
<description id="trademark">&trademarkInfo.part1;</description>
|
||||
</vbox>
|
||||
|
Before Width: | Height: | Size: 9.6 KiB After Width: | Height: | Size: 9.6 KiB |
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 6.3 KiB After Width: | Height: | Size: 6.3 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
@@ -49,8 +49,7 @@ a {
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
#searchIconAndTextContainer,
|
||||
#snippets {
|
||||
#searchIconAndTextContainer {
|
||||
width: 470px;
|
||||
}
|
||||
|
||||
@@ -168,48 +167,6 @@ a {
|
||||
transition-duration: 0ms;
|
||||
}
|
||||
|
||||
#defaultSnippet1,
|
||||
#defaultSnippet2,
|
||||
#rightsSnippet {
|
||||
display: block;
|
||||
min-height: 38px;
|
||||
background: 0 center no-repeat;
|
||||
padding: 6px 0;
|
||||
padding-inline-start: 49px;
|
||||
}
|
||||
|
||||
#rightsSnippet[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#defaultSnippet1:dir(rtl),
|
||||
#defaultSnippet2:dir(rtl),
|
||||
#rightsSnippet:dir(rtl) {
|
||||
background-position: right 0 center;
|
||||
}
|
||||
|
||||
#defaultSnippet1 {
|
||||
background-image: url("chrome://browser/content/abouthome/snippet1.png");
|
||||
}
|
||||
|
||||
#defaultSnippet2 {
|
||||
background-image: url("chrome://browser/content/abouthome/snippet2.png");
|
||||
}
|
||||
|
||||
#snippets {
|
||||
display: inline-block;
|
||||
text-align: start;
|
||||
margin: 12px 0;
|
||||
color: #3c3c3c;
|
||||
font-size: 75%;
|
||||
/* 12px is the computed font size, 15px the computed line height of the snippets
|
||||
with Segoe UI on a default Windows 7 setup. The 15/12 multiplier approximately
|
||||
converts em from units of font-size to units of line-height. The goal is to
|
||||
preset the height of a three-line snippet to avoid visual moving/flickering as
|
||||
the snippets load. */
|
||||
min-height: calc(15/12 * 3em);
|
||||
}
|
||||
|
||||
#launcher {
|
||||
display: -moz-box;
|
||||
-moz-box-align: center;
|
||||
@@ -385,20 +342,6 @@ body[narrow] #restorePreviousSession::before {
|
||||
background-image: url("chrome://branding/content/about-logo@2x.png");
|
||||
}
|
||||
|
||||
#defaultSnippet1,
|
||||
#defaultSnippet2,
|
||||
#rightsSnippet {
|
||||
background-size: 40px;
|
||||
}
|
||||
|
||||
#defaultSnippet1 {
|
||||
background-image: url("chrome://browser/content/abouthome/snippet1@2x.png");
|
||||
}
|
||||
|
||||
#defaultSnippet2 {
|
||||
background-image: url("chrome://browser/content/abouthome/snippet2@2x.png");
|
||||
}
|
||||
|
||||
.launchButton::before,
|
||||
#aboutMozilla::before {
|
||||
transform: scale(.5);
|
||||
@@ -0,0 +1,118 @@
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
"use strict";
|
||||
|
||||
/* import-globals-from ../contentSearchUI.js */
|
||||
|
||||
// IndexedDB storage constants.
|
||||
const DATABASE_NAME = "abouthome";
|
||||
const DATABASE_VERSION = 1;
|
||||
const DATABASE_STORAGE = "persistent";
|
||||
var searchText;
|
||||
|
||||
// This global tracks if the page has been set up before, to prevent double inits
|
||||
var gInitialized = false;
|
||||
var gObserver = new MutationObserver(function (mutations) {
|
||||
for (let mutation of mutations) {
|
||||
// The addition of the restore session button changes our width:
|
||||
if (mutation.attributeName == "session") {
|
||||
fitToWidth();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
window.addEventListener("pageshow", function () {
|
||||
// Delay search engine setup, cause browser.js::BrowserOnAboutPageLoad runs
|
||||
// later and may use asynchronous getters.
|
||||
window.gObserver.observe(document.documentElement, { attributes: true });
|
||||
window.gObserver.observe(document.getElementById("launcher"), { attributes: true });
|
||||
fitToWidth();
|
||||
setupSearch();
|
||||
window.addEventListener("resize", fitToWidth);
|
||||
|
||||
// Ask chrome to update snippets.
|
||||
var event = new CustomEvent("AboutHomeLoad", {bubbles:true});
|
||||
document.dispatchEvent(event);
|
||||
});
|
||||
|
||||
window.addEventListener("pagehide", function() {
|
||||
window.gObserver.disconnect();
|
||||
window.removeEventListener("resize", fitToWidth);
|
||||
});
|
||||
|
||||
window.addEventListener("keypress", ev => {
|
||||
if (ev.defaultPrevented) {
|
||||
return;
|
||||
}
|
||||
|
||||
// don't focus the search-box on keypress if something other than the
|
||||
// body or document element has focus - don't want to steal input from other elements
|
||||
// Make an exception for <a> and <button> elements (and input[type=button|submit])
|
||||
// which don't usefully take keypresses anyway.
|
||||
// (except space, which is handled below)
|
||||
if (document.activeElement && document.activeElement != document.body &&
|
||||
document.activeElement != document.documentElement &&
|
||||
!["a", "button"].includes(document.activeElement.localName) &&
|
||||
!document.activeElement.matches("input:-moz-any([type=button],[type=submit])")) {
|
||||
return;
|
||||
}
|
||||
|
||||
let modifiers = ev.ctrlKey + ev.altKey + ev.metaKey;
|
||||
// ignore Ctrl/Cmd/Alt, but not Shift
|
||||
// also ignore Tab, Insert, PageUp, etc., and Space
|
||||
if (modifiers != 0 || ev.charCode == 0 || ev.charCode == 32)
|
||||
return;
|
||||
|
||||
searchText.focus();
|
||||
// need to send the first keypress outside the search-box manually to it
|
||||
searchText.value += ev.key;
|
||||
});
|
||||
|
||||
function onSearchSubmit(aEvent)
|
||||
{
|
||||
gContentSearchController.search(aEvent);
|
||||
}
|
||||
|
||||
|
||||
var gContentSearchController;
|
||||
|
||||
function setupSearch()
|
||||
{
|
||||
// Set submit button label for when CSS background are disabled (e.g.
|
||||
// high contrast mode).
|
||||
document.getElementById("searchSubmit").value =
|
||||
document.body.getAttribute("dir") == "ltr" ? "\u25B6" : "\u25C0";
|
||||
|
||||
// The "autofocus" attribute doesn't focus the form element
|
||||
// immediately when the element is first drawn, so the
|
||||
// attribute is also used for styling when the page first loads.
|
||||
searchText = document.getElementById("searchText");
|
||||
searchText.addEventListener("blur", function searchText_onBlur() {
|
||||
searchText.removeEventListener("blur", searchText_onBlur);
|
||||
searchText.removeAttribute("autofocus");
|
||||
});
|
||||
|
||||
if (!gContentSearchController) {
|
||||
gContentSearchController =
|
||||
new ContentSearchUIController(searchText, searchText.parentNode,
|
||||
"abouthome", "homepage");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Inform the test harness that we're done loading the page.
|
||||
*/
|
||||
function loadCompleted()
|
||||
{
|
||||
}
|
||||
|
||||
function fitToWidth() {
|
||||
if (document.documentElement.scrollWidth > window.innerWidth) {
|
||||
document.body.setAttribute("narrow", "true");
|
||||
} else if (document.body.hasAttribute("narrow")) {
|
||||
document.body.removeAttribute("narrow");
|
||||
fitToWidth();
|
||||
}
|
||||
}
|
||||
@@ -46,15 +46,6 @@
|
||||
<input id="searchSubmit" type="button" onclick="onSearchSubmit(event)"
|
||||
title="&contentSearchSubmit.tooltip;"/>
|
||||
</div>
|
||||
|
||||
<div id="snippetContainer">
|
||||
<div id="defaultSnippets" hidden="true">
|
||||
<span id="defaultSnippet1">&abouthome.defaultSnippet1.v1;</span>
|
||||
<span id="defaultSnippet2">&abouthome.defaultSnippet2.v1;</span>
|
||||
</div>
|
||||
<span id="rightsSnippet" hidden="true">&abouthome.rightsSnippet;</span>
|
||||
<div id="snippets"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="spacer"/>
|
||||
|
||||
@@ -73,7 +64,5 @@
|
||||
<button class="launchButton" id="restorePreviousSession">&historyRestoreLastSession.label;</button>
|
||||
</div>
|
||||
|
||||
<a id="aboutMozilla" href="https://www.mozilla.org/about/?utm_source=about-home&utm_medium=Referral"
|
||||
aria-label="&abouthome.aboutMozilla.label;"/>
|
||||
</body>
|
||||
</html>
|
||||
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
|
Before Width: | Height: | Size: 898 B After Width: | Height: | Size: 898 B |
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 4.5 KiB |
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 5.5 KiB |
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
|
Before Width: | Height: | Size: 7.1 KiB After Width: | Height: | Size: 7.1 KiB |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |