Compare commits
1,206 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5cae6ba548 | ||
|
|
4705e57bd9 | ||
|
|
f146ba56bb | ||
|
|
24fd754487 | ||
|
|
462718a74b | ||
|
|
1e7c0442f3 | ||
|
|
89608198f4 | ||
|
|
23c7be839d | ||
|
|
72f755bd6f | ||
|
|
bab13b94df | ||
|
|
6f0f3b9cb3 | ||
|
|
eafa7d4b2b | ||
|
|
64c0ad783f | ||
|
|
d96e56c1d7 | ||
|
|
e611a5f217 | ||
|
|
ed74b03b2d | ||
|
|
853aa9dc99 | ||
|
|
0c021524a4 | ||
|
|
f99934eed5 | ||
|
|
dc17442e7c | ||
|
|
c462501e8d | ||
|
|
2d4ef1e9c6 | ||
|
|
b562ef83c9 | ||
|
|
1b8800e37a | ||
|
|
9477265072 | ||
|
|
2762f92444 | ||
|
|
e3513faf0e | ||
|
|
e0c0d9da86 | ||
|
|
1c782e34ff | ||
|
|
b58666ee94 | ||
|
|
842bd5a7be | ||
|
|
e87ce54e2a | ||
|
|
5984ba2190 | ||
|
|
6806656d32 | ||
|
|
d2b8868214 | ||
|
|
f2736110e3 | ||
|
|
abb284ea0a | ||
|
|
7d1764e955 | ||
|
|
b7cf0be137 | ||
|
|
9a2664b2bc | ||
|
|
e6b7799cc6 | ||
|
|
32ea580787 | ||
|
|
0aced88ad7 | ||
|
|
90c68a6ff3 | ||
|
|
4b7cbfdd1f | ||
|
|
634cc6b04f | ||
|
|
6304afcc4b | ||
|
|
feb0fe313d | ||
|
|
2d7fde7ef1 | ||
|
|
56372fb8f8 | ||
|
|
74ec41e9ec | ||
|
|
13c9319e5f | ||
|
|
b11c19c1ff | ||
|
|
461eda4671 | ||
|
|
b1a854bf0a | ||
|
|
2d720ae2e5 | ||
|
|
92be14d9ab | ||
|
|
f1ffcae639 | ||
|
|
c71c4ce322 | ||
|
|
14acb37320 | ||
|
|
3a3ae1f6e7 | ||
|
|
1b2d75db03 | ||
|
|
66392400ba | ||
|
|
170d89d3ae | ||
|
|
2b5a89f8e1 | ||
|
|
4ef0ebecb5 | ||
|
|
17a61ecf81 | ||
|
|
431d7e98cf | ||
|
|
f79bda8a61 | ||
|
|
1d89f3ced4 | ||
|
|
9597b231df | ||
|
|
6049c4d71a | ||
|
|
3dd27b4f6e | ||
|
|
725d62009a | ||
|
|
8309e8fbbc | ||
|
|
f09f930358 | ||
|
|
a5c1b68cbb | ||
|
|
10619cea11 | ||
|
|
e87a3826bc | ||
|
|
4943887c79 | ||
|
|
0b8ab68f72 | ||
|
|
5c006a337e | ||
|
|
f07dadb0c2 | ||
|
|
968cc7c29e | ||
|
|
69bd5c304a | ||
|
|
f09793d1a4 | ||
|
|
9547d5f181 | ||
|
|
63cced6f15 | ||
|
|
e99b0b9e6b | ||
|
|
d06ba1cb58 | ||
|
|
28b6b2d3aa | ||
|
|
f027bb52f4 | ||
|
|
47ca594e39 | ||
|
|
540d80f5e2 | ||
|
|
28fda94a3b | ||
|
|
9b737f0495 | ||
|
|
022fac0b47 | ||
|
|
4cf000a2ec | ||
|
|
96dc4115d3 | ||
|
|
0f065b22d3 | ||
|
|
1b3593d295 | ||
|
|
dfb73a5412 | ||
|
|
56e5a95e64 | ||
|
|
4d9e561f5a | ||
|
|
a2f3fb9e88 | ||
|
|
f342a95238 | ||
|
|
118114e20a | ||
|
|
cc53e14331 | ||
|
|
d6a652127e | ||
|
|
6a5bf93895 | ||
|
|
b369691c13 | ||
|
|
c59de797c2 | ||
|
|
233edd69e3 | ||
|
|
b373f8ce38 | ||
|
|
2ca6a09a02 | ||
|
|
8e7e68ad75 | ||
|
|
29cb80df95 | ||
|
|
281e7fc594 | ||
|
|
60fe59c69f | ||
|
|
dafa26f99e | ||
|
|
45702faa29 | ||
|
|
7c1006e94a | ||
|
|
5766f71b77 | ||
|
|
374d0dbade | ||
|
|
5e17e3db83 | ||
|
|
4d033ce29a | ||
|
|
986578da51 | ||
|
|
e617d07476 | ||
|
|
9008253b4d | ||
|
|
dbd57477ae | ||
|
|
06cb25cdc3 | ||
|
|
7a256903b5 | ||
|
|
6400c3f44b | ||
|
|
1e8e362373 | ||
|
|
a390ac89a8 | ||
|
|
d529b4b41d | ||
|
|
aa135fb517 | ||
|
|
c8803752f0 | ||
|
|
2c1ed0ea17 | ||
|
|
a2fde72d25 | ||
|
|
51be9803b2 | ||
|
|
6021cc0be1 | ||
|
|
b5b76160bf | ||
|
|
8e87d0d10d | ||
|
|
734ed8d8e6 | ||
|
|
693c9dd4b7 | ||
|
|
9cb276b93b | ||
|
|
fa2ec46f3a | ||
|
|
0e10582f61 | ||
|
|
3b51a028b9 | ||
|
|
f3ac8bae08 | ||
|
|
2a1dcfee99 | ||
|
|
c7bc0f02ea | ||
|
|
2223db9e0f | ||
|
|
3e87328081 | ||
|
|
afe48a021c | ||
|
|
06068c9b42 | ||
|
|
d8c6584438 | ||
|
|
ecaeb2239a | ||
|
|
2b368d7cde | ||
|
|
57c29a6f70 | ||
|
|
65a47d46b5 | ||
|
|
70f2a5c6d7 | ||
|
|
98b5183c32 | ||
|
|
3abe4b4c2f | ||
|
|
0bec6f6cb8 | ||
|
|
e86d77bc73 | ||
|
|
6b1b45349a | ||
|
|
6b8e086d0f | ||
|
|
6483fd4d66 | ||
|
|
551e155c73 | ||
|
|
fc19acac9d | ||
|
|
7596b9d884 | ||
|
|
6e089051d3 | ||
|
|
33de47f343 | ||
|
|
a67afa06c9 | ||
|
|
54317224b2 | ||
|
|
eeb1bbaed3 | ||
|
|
c287985714 | ||
|
|
cfa2ac01f5 | ||
|
|
bd69cace74 | ||
|
|
c9e75c0786 | ||
|
|
78eab9ed2c | ||
|
|
d495cf8617 | ||
|
|
a2c2654dd7 | ||
|
|
e889d7b892 | ||
|
|
d2d1f52e7c | ||
|
|
9fca49bffa | ||
|
|
b541b31554 | ||
|
|
ca4f6b0080 | ||
|
|
b9b254a4f7 | ||
|
|
1b229e9131 | ||
|
|
25615f169e | ||
|
|
a8de0be71e | ||
|
|
8e79cd605a | ||
|
|
30c6d64afb | ||
|
|
70d0fad239 | ||
|
|
72a0976166 | ||
|
|
51a20c156b | ||
|
|
f6632082a9 | ||
|
|
8fb032492e | ||
|
|
31c4cad2a2 | ||
|
|
93268d4de0 | ||
|
|
cd5314efb3 | ||
|
|
b7cf17c51a | ||
|
|
fec72bef9f | ||
|
|
74a3220fcc | ||
|
|
ccaca8ccc5 | ||
|
|
b8f11afb6d | ||
|
|
2b5068734c | ||
|
|
e909cb26be | ||
|
|
21fb2dda89 | ||
|
|
950f3eea15 | ||
|
|
7710155d79 | ||
|
|
4fa72a1163 | ||
|
|
7d1a9652e5 | ||
|
|
ebf9521d9c | ||
|
|
d585e605de | ||
|
|
ae36299595 | ||
|
|
96d904afbd | ||
|
|
1ea403d86b | ||
|
|
ff7edcafc6 | ||
|
|
cc170dd2bb | ||
|
|
2dda7f8609 | ||
|
|
ba88b344ea | ||
|
|
f4c7885a69 | ||
|
|
4b6a0d9ad6 | ||
|
|
1ab1054612 | ||
|
|
48f9b0fcc9 | ||
|
|
60b823914a | ||
|
|
c000da176c | ||
|
|
ca2c471553 | ||
|
|
920cc52641 | ||
|
|
5075171b4c | ||
|
|
fc9a1bf390 | ||
|
|
b4332c158a | ||
|
|
8d607f862e | ||
|
|
996d116443 | ||
|
|
36ab0cac6d | ||
|
|
b929e7a15e | ||
|
|
60fdd5abb4 | ||
|
|
45608f2400 | ||
|
|
364db1a553 | ||
|
|
43f91b3884 | ||
|
|
910fc4430e | ||
|
|
8e2f33c0dc | ||
|
|
e75e749caa | ||
|
|
7a484647f4 | ||
|
|
2ff3942389 | ||
|
|
cc5e395ddc | ||
|
|
529383b5e0 | ||
|
|
7ad97d1f71 | ||
|
|
eacd934cf3 | ||
|
|
c7916c91f8 | ||
|
|
79c81d2629 | ||
|
|
6411e9e377 | ||
|
|
d7219ad705 | ||
|
|
2075e765cc | ||
|
|
51ab1ccbbc | ||
|
|
922c11b957 | ||
|
|
aa5399618e | ||
|
|
879253503b | ||
|
|
7658746ef7 | ||
|
|
bdd9cac34e | ||
|
|
69510db050 | ||
|
|
7609d4e357 | ||
|
|
76471413b2 | ||
|
|
fce8323a24 | ||
|
|
fc0a23427b | ||
|
|
0f5857cb63 | ||
|
|
919e30e38f | ||
|
|
331eced30e | ||
|
|
34f14f0c2a | ||
|
|
8454fdf13f | ||
|
|
b469d44cd5 | ||
|
|
588e3b01fb | ||
|
|
e7f0cbc6ca |
||
|
|
2eaa0458a5 | ||
|
|
5d26feb548 | ||
|
|
55e1497866 | ||
|
|
6b33407501 | ||
|
|
82ad299a88 | ||
|
|
d14fa011f0 | ||
|
|
722aeaae74 | ||
|
|
2714c26204 | ||
|
|
e302fd714c | ||
|
|
91f5d4fe1b | ||
|
|
203cb80595 | ||
|
|
911eba94d0 | ||
|
|
ada751ca27 | ||
|
|
e5fa239064 | ||
|
|
ba397925f8 | ||
|
|
0bd6b03b91 | ||
|
|
8bc6287eb9 | ||
|
|
cb96cce64f | ||
|
|
8b2f340656 | ||
|
|
48e82ba9fb | ||
|
|
a0a1cfe51b | ||
|
|
a0d8cf6efb | ||
|
|
712736a215 | ||
|
|
5364193d8d | ||
|
|
ffa346e745 | ||
|
|
118a6c91ec | ||
|
|
b896e22d66 | ||
|
|
29b8dda20b | ||
|
|
8ddd19880e | ||
|
|
13ca66bf71 | ||
|
|
875665f62d | ||
|
|
bf2835c53d | ||
|
|
be149410b9 | ||
|
|
8be16df639 | ||
|
|
5cdf6fcd2d | ||
|
|
06172c51b4 | ||
|
|
d551f9cd18 | ||
|
|
b85953896b | ||
|
|
c6dbf096e6 | ||
|
|
4135db16cc | ||
|
|
66f31e3216 | ||
|
|
a5727f9054 | ||
|
|
35e6001e2e | ||
|
|
0115959c8c | ||
|
|
6bd9bbbb15 | ||
|
|
cd32c2e28f | ||
|
|
86e26c4189 | ||
|
|
edd5f80c82 | ||
|
|
1548005c0d | ||
|
|
6c0e8c3949 | ||
|
|
36a09da5bc | ||
|
|
85de885472 | ||
|
|
e78a18fe12 | ||
|
|
230a3cfdd7 | ||
|
|
c10a044ca5 | ||
|
|
5c11948fd0 | ||
|
|
34b0ea8714 | ||
|
|
5fa8b8e9eb | ||
|
|
fce974e85f | ||
|
|
8089009cb4 | ||
|
|
a35e8720bb | ||
|
|
c68eef9fb2 | ||
|
|
309cf4ddc2 | ||
|
|
1053146416 | ||
|
|
d101b753fb | ||
|
|
60bfa9889d | ||
|
|
4195044fad | ||
|
|
bd405c0fbd | ||
|
|
ef1b31a8c2 | ||
|
|
e1da8d7871 | ||
|
|
b8e076ae59 | ||
|
|
9955d54a56 | ||
|
|
a2075ecfbc | ||
|
|
be98fb4794 | ||
|
|
88e057cc4f | ||
|
|
4eca3ad8d0 | ||
|
|
6cd9c47625 | ||
|
|
c33e16b99e | ||
|
|
9243512991 | ||
|
|
4dc43e7ccf | ||
|
|
bcb41f5083 | ||
|
|
8f1c30db91 | ||
|
|
9baa8f7c2d | ||
|
|
d89dc22930 | ||
|
|
b81896fdd8 | ||
|
|
d175d93ecc | ||
|
|
2606d6a50c | ||
|
|
456ad350a8 | ||
|
|
b2c506e3b4 | ||
|
|
80f05818c3 | ||
|
|
e9c16e2628 | ||
|
|
0e3e51fea7 | ||
|
|
e2f9245924 | ||
|
|
39bb25cd6f | ||
|
|
d693ba16a5 | ||
|
|
7f69d4c3f0 | ||
|
|
fc6d180230 | ||
|
|
fc3b817e29 | ||
|
|
d13c7dc2b6 | ||
|
|
4bb32b2390 | ||
|
|
b44a610b50 | ||
|
|
e81ff02c0f | ||
|
|
d5f2b2028f | ||
|
|
ad7ecb97b8 | ||
|
|
ce6d27cc38 | ||
|
|
33aaf8942f | ||
|
|
9f85dc3c25 | ||
|
|
1449db1d63 | ||
|
|
29ecde0d62 | ||
|
|
d698bc4eec | ||
|
|
24c9accce1 | ||
|
|
afd2fc66a8 | ||
|
|
01c680ce6a | ||
|
|
18483fc2bb | ||
|
|
46be314a6e | ||
|
|
eaaa442861 | ||
|
|
a67d903dec | ||
|
|
7289b9e9a7 | ||
|
|
416ea4ae97 | ||
|
|
255820fae0 | ||
|
|
b35d0d6682 | ||
|
|
701cde858b | ||
|
|
065757c3b4 | ||
|
|
e8035fe0a1 | ||
|
|
b5fde26b8f | ||
|
|
13c22b1d0b | ||
|
|
c5357ea592 | ||
|
|
ee371f01de | ||
|
|
5bddf2e064 | ||
|
|
f2d423870e | ||
|
|
6163653e0d | ||
|
|
f58ac6040c | ||
|
|
e2711446e1 | ||
|
|
d1c72896f3 | ||
|
|
b2b36e851e | ||
|
|
54310019ec | ||
|
|
1913d82157 | ||
|
|
2871a2e567 | ||
|
|
92926706f3 | ||
|
|
4ea325ddca | ||
|
|
42899b8728 | ||
|
|
c33aba22e6 | ||
|
|
916853162b | ||
|
|
802ee5c394 | ||
|
|
8bed0f2480 | ||
|
|
4f8d37fe68 | ||
|
|
8c2f692734 | ||
|
|
cd7d2b004a | ||
|
|
ec6b601b49 | ||
|
|
dc1af54df8 | ||
|
|
37e93aca4b | ||
|
|
50222bf393 | ||
|
|
b8542b1767 | ||
|
|
5c5335d4f7 | ||
|
|
6fa1c4438c | ||
|
|
1d86ce0d55 | ||
|
|
d04948255c | ||
|
|
6d4d79277f | ||
|
|
69f67c3201 | ||
|
|
8cc8a04159 | ||
|
|
2abef0ec2b | ||
|
|
de85410030 | ||
|
|
5acb5af57f | ||
|
|
df84cc2cb6 | ||
|
|
753639d380 | ||
|
|
4dc4e22ba3 | ||
|
|
9d15a20e5c | ||
|
|
5da6e10440 | ||
|
|
e6bc05547a | ||
|
|
6018070ba3 | ||
|
|
34d53c32b5 | ||
|
|
dc74e4c39e | ||
|
|
caacd1dc09 | ||
|
|
97a5bb3a97 | ||
|
|
2d32336ce6 | ||
|
|
c93bbf6684 | ||
|
|
041f2c131b | ||
|
|
724c03d265 | ||
|
|
beb5e712a1 | ||
|
|
f0029706ce | ||
|
|
38d5cff9df | ||
|
|
904a6ec37f | ||
|
|
c3c6c167a2 | ||
|
|
949ba97268 | ||
|
|
1f98173a5b | ||
|
|
61ea27fc64 | ||
|
|
7b980b9542 | ||
|
|
d0beb2802b | ||
|
|
ea59033f8e | ||
|
|
ddc85ef643 | ||
|
|
420bed369a | ||
|
|
64f367594e | ||
|
|
c8fd8993ea | ||
|
|
fc66484a39 | ||
|
|
d033d1ab68 | ||
|
|
64c0f9493e | ||
|
|
8cc909acb9 | ||
|
|
5075a9d0d6 | ||
|
|
3e4bfaceac | ||
|
|
f5c2bd2d80 | ||
|
|
73c24a4d45 | ||
|
|
078b597b1e | ||
|
|
594959d6f8 | ||
|
|
1ad3bd1b24 | ||
|
|
7e1b07c41a | ||
|
|
720c2b63eb | ||
|
|
809044f0dd | ||
|
|
2300fa46f5 | ||
|
|
9d9142cadb | ||
|
|
a23c216427 | ||
|
|
babecc662f | ||
|
|
b65f309bcd | ||
|
|
c6d827cb4e | ||
|
|
bd3fc12e39 | ||
|
|
d9f5bf9ed4 | ||
|
|
85f5f771e9 | ||
|
|
c1b363d122 | ||
|
|
36a931ea7a | ||
|
|
6b8336e97f | ||
|
|
ea24aeef45 | ||
|
|
d101c7b7f4 | ||
|
|
c27f9f504e | ||
|
|
0d92801bb9 | ||
|
|
71b3ae64d2 | ||
|
|
1469e57b10 | ||
|
|
de02f241c5 | ||
|
|
4d45de9bff | ||
|
|
3f1c25e40c | ||
|
|
2f128006b4 | ||
|
|
39f02cbd91 | ||
|
|
a76220b146 | ||
|
|
d3ebfe3ad7 | ||
|
|
72a660f091 | ||
|
|
65d5b6f154 | ||
|
|
ba25b2cbc3 | ||
|
|
6a83fb069e | ||
|
|
1ae08943fc | ||
|
|
aa451636d1 | ||
|
|
e88b5e06a7 | ||
|
|
386d29543d | ||
|
|
8af042bc54 | ||
|
|
cad15cfb85 | ||
|
|
db7de5356d | ||
|
|
eb4214a710 | ||
|
|
5128ca8e5f | ||
|
|
cd6ef2bb82 | ||
|
|
92e16f9069 | ||
|
|
bfdfd329b2 | ||
|
|
33fd704cce | ||
|
|
e2a4b7e32d | ||
|
|
6edb288b6f | ||
|
|
980a9af4dd | ||
|
|
b707846f45 | ||
|
|
fc1bf47cd8 | ||
|
|
61879d2c53 | ||
|
|
2c9b4467e2 | ||
|
|
3ef84c7bac | ||
|
|
888df264aa | ||
|
|
972fcbe039 | ||
|
|
02b4146177 | ||
|
|
23596a6fd9 | ||
|
|
c917e8ec4f | ||
|
|
b6cd53938d | ||
|
|
300248bcb6 | ||
|
|
4fc8990952 | ||
|
|
c66f451d52 | ||
|
|
db2e77cf9f | ||
|
|
94ad0536cd | ||
|
|
b311ef1fb8 | ||
|
|
e4c24fcfb3 | ||
|
|
40fd3206bd | ||
|
|
5ff18ae10d | ||
|
|
93042ae00c | ||
|
|
2dbae13edb | ||
|
|
c7aece4788 | ||
|
|
3b1730925b | ||
|
|
35a5afbafa | ||
|
|
f14b87008a | ||
|
|
73ee25f87e | ||
|
|
70203c58f5 | ||
|
|
32ae24f618 | ||
|
|
b939827f77 | ||
|
|
97fc0b9c63 | ||
|
|
a3c8768d1f | ||
|
|
70d0fd995c | ||
|
|
bd5a45a42f | ||
|
|
b9596148e4 | ||
|
|
12e554d703 | ||
|
|
34e2f4991c | ||
|
|
e7fac329e3 | ||
|
|
ebcad50e22 | ||
|
|
e07951b09b | ||
|
|
ecd56d6e3a | ||
|
|
af44b86020 | ||
|
|
6d9b08e92b | ||
|
|
aa082530eb | ||
|
|
16e6b6b266 | ||
|
|
be5c6d4f08 | ||
|
|
95a88fb616 | ||
|
|
e1f5156d0b |
||
|
|
d36bfd1a15 | ||
|
|
b3b37bff8a | ||
|
|
bacd3c4200 | ||
|
|
9956bb1eaf | ||
|
|
ad9300d2e7 | ||
|
|
951280922d | ||
|
|
caf7474858 | ||
|
|
c70ece2f35 | ||
|
|
4bdababddf | ||
|
|
68f9ad4d6a | ||
|
|
4cb1381d80 | ||
|
|
660dba72e9 | ||
|
|
9d731f880f | ||
|
|
3bb9b07009 | ||
|
|
ff8d52acc2 | ||
|
|
3b9f829218 | ||
|
|
8af4634e76 | ||
|
|
7694527ef5 | ||
|
|
9a6959ca22 | ||
|
|
33af61101f | ||
|
|
fc69159c16 | ||
|
|
375e665e34 | ||
|
|
94eceee642 | ||
|
|
338e1bb21b | ||
|
|
7efdcffe59 | ||
|
|
b1cadbebbf | ||
|
|
02021e6135 | ||
|
|
79e725aec1 | ||
|
|
bca8519a80 | ||
|
|
9bcddab8fd | ||
|
|
43910c991d | ||
|
|
c4b86655eb | ||
|
|
bda8acc88f | ||
|
|
712ce7d35c | ||
|
|
6cbbe92554 | ||
|
|
6f1bee9d19 | ||
|
|
b9def774e6 | ||
|
|
a153f8a474 | ||
|
|
9ff5974999 | ||
|
|
4bbd4de4be | ||
|
|
fa16d5b5aa | ||
|
|
62edaad605 | ||
|
|
690197670a | ||
|
|
f1a9c76f38 | ||
|
|
d03875f6f3 | ||
|
|
3448cc856c | ||
|
|
93f35fa8fd | ||
|
|
9bf28589c3 | ||
|
|
07a0a494bf | ||
|
|
3c537224b4 | ||
|
|
e4a12e3825 | ||
|
|
7edb7c195a | ||
|
|
30110df460 | ||
|
|
a581231171 | ||
|
|
268d397a30 | ||
|
|
4be27bb7af | ||
|
|
53b26adcc4 | ||
|
|
cb71b53f7d | ||
|
|
6f7b8dbb9a | ||
|
|
5ac20193cb | ||
|
|
17d890fb1e | ||
|
|
9dfa7a1527 | ||
|
|
1acf4796b3 | ||
|
|
c213080431 | ||
|
|
63a2618a07 | ||
|
|
5571ee7403 | ||
|
|
4d8fcd73a4 | ||
|
|
fcf7279272 | ||
|
|
53dac96cc2 | ||
|
|
899bfb43c6 | ||
|
|
48cc4c5be5 | ||
|
|
3180583dfa | ||
|
|
defc416c28 | ||
|
|
156f7fd734 | ||
|
|
bdb2a668ff | ||
|
|
97efc42d63 | ||
|
|
c78ce968a8 | ||
|
|
ee402591ab | ||
|
|
18b80a26fe | ||
|
|
05b9a9097b | ||
|
|
0dc9710418 | ||
|
|
f6cd43f449 | ||
|
|
9869746357 | ||
|
|
bbea15a874 | ||
|
|
146396135c | ||
|
|
bcf0095538 | ||
|
|
d060f6fe29 | ||
|
|
8f6a5e7dc4 | ||
|
|
83290b83e7 | ||
|
|
f9687bc9ac | ||
|
|
92a764c2a3 | ||
|
|
d75359e733 | ||
|
|
90ab351db0 | ||
|
|
77d68081bc | ||
|
|
deea491260 | ||
|
|
ecc897a619 | ||
|
|
126134329e | ||
|
|
8204271009 | ||
|
|
624b802b9c | ||
|
|
e6c8746d37 | ||
|
|
e4ae574472 | ||
|
|
cd5875a817 | ||
|
|
91add2d4f7 | ||
|
|
3d13c8adfa | ||
|
|
8ce8e0ad9f | ||
|
|
d943482a84 | ||
|
|
ca19f446c5 | ||
|
|
66c538f0f2 | ||
|
|
5e9102a9fe | ||
|
|
a1c75d68cf | ||
|
|
ba88443605 | ||
|
|
b40693305c | ||
|
|
efc3d162e1 | ||
|
|
4a8ca8ee45 | ||
|
|
c9b8b418a1 | ||
|
|
6d9335e885 | ||
|
|
8f2ad85567 | ||
|
|
806d3f55bd | ||
|
|
9ebc9be748 | ||
|
|
0cbb109e1c | ||
|
|
8f5618205c | ||
|
|
5e9709c411 | ||
|
|
1a0e643278 | ||
|
|
06166d7401 | ||
|
|
e606513ccc | ||
|
|
8746ce4b3a | ||
|
|
4c51d6a65a | ||
|
|
eda702a952 | ||
|
|
2859c0f127 | ||
|
|
818bcfb481 | ||
|
|
d0f12344f4 | ||
|
|
a57a03dc89 | ||
|
|
3507a285d1 | ||
|
|
0e3347ccfd | ||
|
|
57fcfb5e75 | ||
|
|
11cd4df669 | ||
|
|
498b7e2fa5 | ||
|
|
5f5997630b | ||
|
|
f41f7d868d | ||
|
|
ad8d32e847 | ||
|
|
2aea7c4973 | ||
|
|
1f9e6ebbfe | ||
|
|
fe0b918890 | ||
|
|
603d980e8c | ||
|
|
2fe076f06f | ||
|
|
634d3e1ea3 | ||
|
|
7effc75904 | ||
|
|
090200f68b | ||
|
|
08858f399d | ||
|
|
68ac29b2c1 | ||
|
|
7e3bd66d74 | ||
|
|
939db8b115 | ||
|
|
70bb7dede6 | ||
|
|
fd235e9f29 | ||
|
|
85ed0e903c | ||
|
|
d0cb142ca3 | ||
|
|
96e0061c83 | ||
|
|
6bb6aa10c1 | ||
|
|
5a70ac803a | ||
|
|
490f23e1dd | ||
|
|
cee1091026 | ||
|
|
00f050ca50 | ||
|
|
b0526b0936 | ||
|
|
3ee1da498c | ||
|
|
da847de67e | ||
|
|
9892072ed8 | ||
|
|
1fd14fa8e1 | ||
|
|
96ecdd6dff | ||
|
|
f8dd69acc0 | ||
|
|
eb94ecde7c | ||
|
|
afa323cda0 | ||
|
|
9946e9ffbe | ||
|
|
56bb57adac | ||
|
|
96a77865b8 | ||
|
|
5c8d9b2472 | ||
|
|
c302989fdf | ||
|
|
7f14edb2bc | ||
|
|
04e2d77e46 | ||
|
|
a11efdd503 | ||
|
|
ef830a0c93 | ||
|
|
9be9b1e03e | ||
|
|
3ee99c9dd9 | ||
|
|
e369e8cae9 | ||
|
|
9c6d6274ed | ||
|
|
c011d6ef88 | ||
|
|
74d4485a49 | ||
|
|
124546e834 | ||
|
|
51c7ea5b49 | ||
|
|
8d06c8b3e1 | ||
|
|
6823826f79 | ||
|
|
bd21b7a580 | ||
|
|
93f0d9f3e5 | ||
|
|
8167f607a4 | ||
|
|
5bdbffadee | ||
|
|
980824ac9b | ||
|
|
a8b9dbd7d9 | ||
|
|
227f23fb4c | ||
|
|
1fd16dc661 | ||
|
|
9fa380d65c | ||
|
|
23e43ccad7 | ||
|
|
86fec660f2 | ||
|
|
57acc687d0 | ||
|
|
b3f062130f | ||
|
|
d4a7089f0c | ||
|
|
83be9a9005 | ||
|
|
de6c1ba588 | ||
|
|
c46938be64 | ||
|
|
2580b8e407 | ||
|
|
1bc15ffb42 | ||
|
|
387fc84852 | ||
|
|
c8c93a4f8d | ||
|
|
f31d3e52b3 | ||
|
|
bc34c2ba17 | ||
|
|
e8dd3240a4 | ||
|
|
3f23832808 | ||
|
|
44a5ec87b3 | ||
|
|
9a75dee4c8 | ||
|
|
442afe94ba | ||
|
|
d90f815038 | ||
|
|
445c283c34 | ||
|
|
a98651098c | ||
|
|
827afe3683 | ||
|
|
51b68afd6a | ||
|
|
91eeb94fee | ||
|
|
8b6dc7fb98 | ||
|
|
50bcf1e19e | ||
|
|
851602cfe3 | ||
|
|
67833c12c2 | ||
|
|
2c8b2d2cb7 | ||
|
|
0c8e9ec7b7 | ||
|
|
ede0237c17 | ||
|
|
e3b23db4ef | ||
|
|
03f24df291 | ||
|
|
b66e1288c5 | ||
|
|
bec5fd3443 | ||
|
|
23f70d829e | ||
|
|
b0b941cd52 | ||
|
|
018c3c2bae | ||
|
|
58db833ffc | ||
|
|
0bca9e286b | ||
|
|
da83c47ed4 | ||
|
|
100e09ad23 | ||
|
|
80e8837e16 | ||
|
|
6ed69e29be | ||
|
|
bfe259c9fa | ||
|
|
e29a7e2a1d | ||
|
|
33108b9457 | ||
|
|
c61a7166c6 | ||
|
|
757ced5c2a | ||
|
|
2f682bc905 | ||
|
|
68d111b1eb | ||
|
|
21adcd9806 | ||
|
|
378efd26a5 | ||
|
|
3e986258d3 | ||
|
|
3a6292ceff | ||
|
|
f612bd47ce | ||
|
|
7b9a3f8c10 | ||
|
|
feba2cc76d | ||
|
|
196b61c382 | ||
|
|
1eea5d7c7f | ||
|
|
29d82650ed | ||
|
|
6cebbf0a2a | ||
|
|
424613e943 | ||
|
|
aca41cd8ec | ||
|
|
91e11d4448 | ||
|
|
3f5109ef95 | ||
|
|
8a50c1d028 | ||
|
|
8145bf4155 | ||
|
|
3b8656c96a | ||
|
|
fc0089e5a1 | ||
|
|
41c6a12210 | ||
|
|
42bfda0485 | ||
|
|
02791b1506 | ||
|
|
3a1580eca2 | ||
|
|
f11a798b39 | ||
|
|
fb48de5e23 | ||
|
|
e36bb4e634 | ||
|
|
97999f62af | ||
|
|
4b86827d56 | ||
|
|
378e1130a2 | ||
|
|
152e88d96c | ||
|
|
8751eb0f1d | ||
|
|
5e4620df5a | ||
|
|
fc3de2e6e3 | ||
|
|
d7358f6a24 | ||
|
|
8f6c83fab6 | ||
|
|
2193d9e52a | ||
|
|
c2b7de70ab | ||
|
|
07235f6acb | ||
|
|
0c7ca0f53b | ||
|
|
271322febb | ||
|
|
44d3de1ecd | ||
|
|
f79604d2a5 | ||
|
|
220116a9eb | ||
|
|
e2744f3440 | ||
|
|
d19c6b024f | ||
|
|
5c1d21584b | ||
|
|
e195e73bd9 | ||
|
|
df7299e442 | ||
|
|
e5e2e59c4e | ||
|
|
d6756537dd | ||
|
|
be686cde3c | ||
|
|
cedcc700ee | ||
|
|
7d033e0b19 | ||
|
|
73b9e8b006 | ||
|
|
51c2280ec1 | ||
|
|
b084601e7f | ||
|
|
7330b4441e | ||
|
|
83a10190cb | ||
|
|
38402af519 | ||
|
|
8c429e5430 | ||
|
|
e8bf188457 | ||
|
|
3ded7aa8e6 | ||
|
|
5f5832347d | ||
|
|
256eedbe3d | ||
|
|
c62730d164 | ||
|
|
496994f3a2 | ||
|
|
8d5bd7e350 | ||
|
|
e5347d4b2b | ||
|
|
8f7fa14c27 | ||
|
|
ada5e90424 | ||
|
|
200975daf4 | ||
|
|
c5ecb15ebb | ||
|
|
8be766ed2c | ||
|
|
78a2fca4c6 | ||
|
|
8e3365440a | ||
|
|
a16c031836 | ||
|
|
712997a5f5 | ||
|
|
65fabb34c1 | ||
|
|
95734d0993 | ||
|
|
a09dba9f97 | ||
|
|
05688c934d | ||
|
|
beb5513224 | ||
|
|
04dc06a909 | ||
|
|
39ad1ccbc1 | ||
|
|
c8daf71be4 | ||
|
|
d06ca67e04 | ||
|
|
7ca551f7b3 | ||
|
|
5619d031a6 | ||
|
|
d8a28dd1be | ||
|
|
e4678b34b4 | ||
|
|
2c42998965 | ||
|
|
b8ea4a8525 | ||
|
|
52108a07a9 | ||
|
|
9ae8424abc | ||
|
|
3af14d6d2b | ||
|
|
b3eddc17ed | ||
|
|
2875cd508d | ||
|
|
8be51c4c51 | ||
|
|
ef3bf44d9e | ||
|
|
7bf72f012c | ||
|
|
e425f6ccfc | ||
|
|
1bc542f07d | ||
|
|
3b52fb7c93 | ||
|
|
5ea2be5465 | ||
|
|
807160dda0 | ||
|
|
a7f92542c9 | ||
|
|
7e542a604d | ||
|
|
e6116691d2 | ||
|
|
d27db77328 | ||
|
|
5bf600b31c | ||
|
|
85160fd5ad | ||
|
|
bd0f865426 | ||
|
|
c8a56b17a2 | ||
|
|
e7dcff0505 | ||
|
|
da0238f524 | ||
|
|
bcd30e838b | ||
|
|
4a3c4e4f88 | ||
|
|
574f203df5 | ||
|
|
d085be73a7 | ||
|
|
ac3e0593c4 | ||
|
|
edcdab9135 | ||
|
|
096b8b8fb5 | ||
|
|
74f97a94b1 | ||
|
|
e6e3098b9d | ||
|
|
0316481767 | ||
|
|
07987149e6 | ||
|
|
009c3fc7a6 | ||
|
|
664fa8f846 | ||
|
|
fc6b27e4b9 | ||
|
|
b50f976173 | ||
|
|
37545e0448 | ||
|
|
9e9283e2b0 | ||
|
|
cedcf4cef3 | ||
|
|
eef6ef732b | ||
|
|
326fe0a9c8 | ||
|
|
706efcc2e9 | ||
|
|
50205986b2 | ||
|
|
9aab7d4b46 | ||
|
|
052081df4e | ||
|
|
decf598d62 | ||
|
|
04eebae141 | ||
|
|
c3c5f0488c | ||
|
|
9b862ea69c | ||
|
|
dced7c2e45 | ||
|
|
51f4268c7b | ||
|
|
7a74efcc7e | ||
|
|
62b773b4f8 | ||
|
|
0cdfdedf09 | ||
|
|
21aa95ea62 | ||
|
|
f1d18fcb42 | ||
|
|
d5a976ec55 | ||
|
|
20aed3671c | ||
|
|
6fc00e4ffa | ||
|
|
e7eb4bbac7 | ||
|
|
cd18e999f5 | ||
|
|
78abbaad16 | ||
|
|
578d7e2950 | ||
|
|
1f3af1910c | ||
|
|
ab776be5d4 | ||
|
|
4a22b99903 | ||
|
|
f84c39e4f9 | ||
|
|
1d371bbeea | ||
|
|
5a73516edd | ||
|
|
6dc06e9cbf | ||
|
|
71fbbe358d | ||
|
|
291d884885 | ||
|
|
80b8c3f8c4 | ||
|
|
01c1fcff36 | ||
|
|
c840fbc474 | ||
|
|
be0a164909 | ||
|
|
ad0a2d0a51 | ||
|
|
21845a3dd9 | ||
|
|
c4a08bbf74 | ||
|
|
8f2d837931 | ||
|
|
2a1307f3d5 | ||
|
|
87c38ce2a7 | ||
|
|
28cf3442dd | ||
|
|
cae97a0741 | ||
|
|
b0f1086cdf | ||
|
|
76afff5e56 | ||
|
|
6876c45963 | ||
|
|
ae1e0bfad4 | ||
|
|
6e63caf171 | ||
|
|
a98e444547 | ||
|
|
0e1509290d | ||
|
|
18fd042dec | ||
|
|
2e8349261d | ||
|
|
3e60612d6b | ||
|
|
7bbf49a836 | ||
|
|
22798cdf7f | ||
|
|
fd8a3d8fd9 | ||
|
|
0f333d507f | ||
|
|
e99b683a35 | ||
|
|
687a620539 | ||
|
|
cfe25360c3 | ||
|
|
b44a1c8983 | ||
|
|
f82b7171e2 | ||
|
|
672254a92f | ||
|
|
a04e04f35f | ||
|
|
d6bc3723ae | ||
|
|
3c97f446c2 | ||
|
|
5116ef14ae | ||
|
|
41962ee4b4 | ||
|
|
fac8607f93 | ||
|
|
1f2660d56b | ||
|
|
9ab78f69bc | ||
|
|
7660441e7f | ||
|
|
e68d47832d | ||
|
|
d48800a4fb | ||
|
|
c9d361caf9 | ||
|
|
c960c03a48 | ||
|
|
a2c1b6c5d2 | ||
|
|
be267b48e7 | ||
|
|
4fc5ebfabe | ||
|
|
cb1655cd55 | ||
|
|
f97694215f | ||
|
|
47ca9066bb | ||
|
|
034c5b3d5e | ||
|
|
425b7745cc | ||
|
|
aaf6ae700e | ||
|
|
3a700c9787 | ||
|
|
b178223177 | ||
|
|
cdfebbc9a2 | ||
|
|
461eee52cd | ||
|
|
da11178e3c | ||
|
|
57e3477f3f | ||
|
|
c420176a2f | ||
|
|
96352c5572 | ||
|
|
2f14c4ee29 | ||
|
|
143fa360a2 | ||
|
|
830bb9636f | ||
|
|
6c801f52ad | ||
|
|
1d40a9195f | ||
|
|
5c39de815c | ||
|
|
7b032f4624 | ||
|
|
c3fce252a9 | ||
|
|
09430aa7fd | ||
|
|
8e6feed417 | ||
|
|
2bb1ace6dc | ||
|
|
f983a1b384 | ||
|
|
b7fec52e4d | ||
|
|
f610b4b283 | ||
|
|
cd20e6c285 | ||
|
|
b0fd9d7c8d | ||
|
|
7e042054d1 | ||
|
|
8cb9a2a561 | ||
|
|
c4945dd7fe | ||
|
|
04d75fa4b0 | ||
|
|
8325482d1a | ||
|
|
e9028b364e | ||
|
|
b92aed4de7 | ||
|
|
d9c539f765 | ||
|
|
05939fc7a2 | ||
|
|
d6d0f64de7 | ||
|
|
7e5bd536c1 | ||
|
|
19cba2b494 | ||
|
|
d20d1ef15b | ||
|
|
536fbf7195 | ||
|
|
807dde7732 | ||
|
|
fe769ebaf6 | ||
|
|
30ea1da353 | ||
|
|
7a8ced7da6 | ||
|
|
c7b129f7b1 | ||
|
|
11bbed2d96 | ||
|
|
96744c2e22 | ||
|
|
532c76054c | ||
|
|
4e44194745 | ||
|
|
504b2911e3 | ||
|
|
73252a50c5 | ||
|
|
4a8f66fc96 | ||
|
|
558ad062d9 | ||
|
|
71c7a523cb | ||
|
|
15d9d3a6c6 | ||
|
|
08889c394b | ||
|
|
fa2dad15ec | ||
|
|
554d4c9485 | ||
|
|
0412618570 | ||
|
|
6fe348c56f | ||
|
|
52b54f0a91 | ||
|
|
e302ac42ff | ||
|
|
f314ac392b | ||
|
|
6f25514671 | ||
|
|
d43a4f7bb6 | ||
|
|
c7583c2d0b | ||
|
|
4dee749c0a | ||
|
|
422073de22 | ||
|
|
158b963518 | ||
|
|
c9caff126d | ||
|
|
c3fd3d6cec | ||
|
|
7ed75eceec | ||
|
|
741a8bb179 | ||
|
|
270e02c037 | ||
|
|
b72d36d69d | ||
|
|
e94f44be1f | ||
|
|
e83f26a35b | ||
|
|
301ffd6239 | ||
|
|
1a74061329 | ||
|
|
86a98315a0 | ||
|
|
66815a0d5f | ||
|
|
37db09cac0 | ||
|
|
d289647874 | ||
|
|
2008d15ed8 | ||
|
|
1a1f848ee7 | ||
|
|
98339b512f | ||
|
|
4feb74e22b | ||
|
|
0370096f7b | ||
|
|
6e9b476c31 | ||
|
|
fe214117e1 | ||
|
|
bf5d82c5e4 | ||
|
|
69bc8392a8 | ||
|
|
7353750366 | ||
|
|
e5d6aad64b | ||
|
|
c2a818ae1a | ||
|
|
3c34746815 | ||
|
|
83ad517874 | ||
|
|
1eccbd6ca3 | ||
|
|
27c99b357e | ||
|
|
c47608a66c | ||
|
|
cb7dfd887c | ||
|
|
b7c36a753b | ||
|
|
2c7788b91d | ||
|
|
bf21f007a5 | ||
|
|
7ba1623a98 | ||
|
|
de27f20acc | ||
|
|
256f082137 | ||
|
|
a9d101a0aa | ||
|
|
574c9a288c | ||
|
|
2688384d4f | ||
|
|
0f0618f13f | ||
|
|
81b5f7311e | ||
|
|
9155ea7506 | ||
|
|
27ee5a2c33 | ||
|
|
a45c531556 | ||
|
|
dda1a84b46 | ||
|
|
297c523bf4 | ||
|
|
f0985e94e9 | ||
|
|
ba707c49b8 | ||
|
|
7d0c154b63 | ||
|
|
0aece62c3b | ||
|
|
92e74247b5 | ||
|
|
1a11256288 | ||
|
|
b0dfd8d73f | ||
|
|
0de712c694 | ||
|
|
0afd2b3b1f | ||
|
|
ccb5557561 | ||
|
|
81a3267fd5 | ||
|
|
2c0f8edce9 | ||
|
|
1bd379f61f | ||
|
|
7f42be8077 | ||
|
|
d6dc6c66f1 | ||
|
|
1b044abda4 | ||
|
|
74aaa6b574 | ||
|
|
0fc6c1db8d | ||
|
|
59c305c179 | ||
|
|
c72871d08a | ||
|
|
6ec945e415 | ||
|
|
fd2700008a | ||
|
|
3b0ef58107 | ||
|
|
75c7194731 | ||
|
|
e969c0d564 | ||
|
|
836d9a03a1 | ||
|
|
2f2df700c7 | ||
|
|
e056239d2a | ||
|
|
7a6b6c7272 | ||
|
|
66b9914766 | ||
|
|
aacbeac07f | ||
|
|
aab9719b61 | ||
|
|
2cada91f91 | ||
|
|
6543968420 | ||
|
|
b3908bbfa6 | ||
|
|
8669d0c39c | ||
|
|
73a3afdde7 | ||
|
|
2ffd87945e | ||
|
|
696b764fac | ||
|
|
749fe62a4f | ||
|
|
1eb0bf4799 | ||
|
|
1b3bcf25b4 | ||
|
|
dec9b22207 |
86 changed files with 7010 additions and 8914 deletions
374
.gitignore
vendored
374
.gitignore
vendored
|
|
@ -373,3 +373,377 @@ firefox-3.6.4.source.tar.bz2
|
|||
/firefox-71.0b12.source.tar.xz
|
||||
/firefox-71.0.source.tar.xz
|
||||
/firefox-langpacks-71.0-20191126.tar.xz
|
||||
/firefox-langpacks-71.0-20191202.tar.xz
|
||||
/firefox-72.0.source.tar.xz
|
||||
/firefox-langpacks-72.0-20200103.tar.xz
|
||||
/firefox-langpacks-72.0-20200106.tar.xz
|
||||
/firefox-72.0.1.source.tar.xz
|
||||
/firefox-langpacks-72.0.1-20200108.tar.xz
|
||||
/firefox-72.0.2.source.tar.xz
|
||||
/firefox-langpacks-72.0.2-20200120.tar.xz
|
||||
/firefox-73.0.source.tar.xz
|
||||
/firefox-langpacks-73.0-20200211.tar.xz
|
||||
/firefox-73.0.1.source.tar.xz
|
||||
/firefox-langpacks-73.0.1-20200220.tar.xz
|
||||
/firefox-74.0.source.tar.xz
|
||||
/firefox-langpacks-74.0-20200303.tar.xz
|
||||
/firefox-langpacks-74.0-20200309.tar.xz
|
||||
/firefox-langpacks-74.0-20200310.tar.xz
|
||||
/firefox-74.0.1.source.tar.xz
|
||||
/firefox-langpacks-74.0.1-20200404.tar.xz
|
||||
/firefox-75.0.source.tar.xz
|
||||
/firefox-langpacks-75.0-20200406.tar.xz
|
||||
/firefox-76.0.source.tar.xz
|
||||
/firefox-langpacks-76.0-20200502.tar.xz
|
||||
/firefox-76.0.1.source.tar.xz
|
||||
/firefox-langpacks-76.0.1-20200508.tar.xz
|
||||
/firefox-77.0.source.tar.xz
|
||||
/firefox-langpacks-77.0-20200529.tar.xz
|
||||
/firefox-langpacks-77.0-20200602.tar.xz
|
||||
/firefox-77.0.1.source.tar.xz
|
||||
/firefox-langpacks-77.0.1-20200603.tar.xz
|
||||
/firefox-78.0.source.tar.xz
|
||||
/firefox-langpacks-78.0-20200629.tar.xz
|
||||
/firefox-78.0.1.source.tar.xz
|
||||
/firefox-langpacks-78.0.1-20200701.tar.xz
|
||||
/firefox-78.0.2.source.tar.xz
|
||||
/firefox-langpacks-78.0.2-20200709.tar.xz
|
||||
/firefox-79.0.source.tar.xz
|
||||
/firefox-langpacks-79.0-20200727.tar.xz
|
||||
/firefox-80.0.source.tar.xz
|
||||
/firefox-langpacks-80.0-20200818.tar.xz
|
||||
/firefox-langpacks-80.0-20200820.tar.xz
|
||||
/firefox-80.0.1.source.tar.xz
|
||||
/firefox-langpacks-80.0.1-20200901.tar.xz
|
||||
/firefox-81.0.source.tar.xz
|
||||
/firefox-langpacks-81.0-20200915.tar.xz
|
||||
/firefox-langpacks-81.0-20200921.tar.xz
|
||||
/firefox-81.0.1.source.tar.xz
|
||||
/firefox-langpacks-81.0.1-20200930.tar.xz
|
||||
/firefox-81.0.2.source.tar.xz
|
||||
/firefox-langpacks-81.0.2-20201012.tar.xz
|
||||
/firefox-82.0.source.tar.xz
|
||||
/firefox-langpacks-82.0-20201015.tar.xz
|
||||
/firefox-82.0.1.source.tar.xz
|
||||
/firefox-langpacks-82.0.1-20201028.tar.xz
|
||||
/firefox-82.0.2.source.tar.xz
|
||||
/firefox-langpacks-82.0.2-20201029.tar.xz
|
||||
/firefox-82.0.3.source.tar.xz
|
||||
/firefox-langpacks-82.0.3-20201109.tar.xz
|
||||
/firefox-83.0.source.tar.xz
|
||||
/firefox-langpacks-83.0-20201112.tar.xz
|
||||
/firefox-langpacks-83.0-20201116.tar.xz
|
||||
/firefox-testing.tar.gz
|
||||
/site-packages.tar.gz
|
||||
/mochitest-python.tar.gz
|
||||
/firefox-84.0.source.tar.xz
|
||||
/firefox-langpacks-84.0-20201210.tar.xz
|
||||
/firefox-langpacks-84.0-20201214.tar.xz
|
||||
/firefox-84.0.1.source.tar.xz
|
||||
/firefox-langpacks-84.0.1-20201222.tar.xz
|
||||
/firefox-84.0.2.source.tar.xz
|
||||
/firefox-langpacks-84.0.2-20210106.tar.xz
|
||||
/firefox-85.0.source.tar.xz
|
||||
/firefox-langpacks-85.0-20210120.tar.xz
|
||||
/firefox-85.0.1.source.tar.xz
|
||||
/firefox-langpacks-85.0.1-20210208.tar.xz
|
||||
/firefox-86.0.source.tar.xz
|
||||
/firefox-langpacks-86.0-20210222.tar.xz
|
||||
/firefox-86.0.1.source.tar.xz
|
||||
/firefox-langpacks-86.0.1-20210312.tar.xz
|
||||
/firefox-87.0.source.tar.xz
|
||||
/firefox-langpacks-87.0-20210322.tar.xz
|
||||
/firefox-langpacks-88.0-20210419.tar.xz
|
||||
/firefox-88.0.source.tar.xz
|
||||
/firefox-88.0.1.source.tar.xz
|
||||
/firefox-langpacks-88.0.1-20210510.tar.xz
|
||||
/firefox-langpacks-89.0-20210601.tar.xz
|
||||
/firefox-89.0.source.tar.xz
|
||||
/firefox-89.0.2.source.tar.xz
|
||||
/firefox-langpacks-89.0.2-20210624.tar.xz
|
||||
/firefox-90.0.source.tar.xz
|
||||
/firefox-langpacks-90.0-20210712.tar.xz
|
||||
/firefox-90.0.1.source.tar.xz
|
||||
/firefox-langpacks-90.0.1-20210721.tar.xz
|
||||
/firefox-90.0.2.source.tar.xz
|
||||
/firefox-langpacks-90.0.2-20210722.tar.xz
|
||||
/firefox-91.0.source.tar.xz
|
||||
/firefox-langpacks-91.0-20210810.tar.xz
|
||||
/firefox-91.0.2.source.tar.xz
|
||||
/firefox-langpacks-91.0.2-20210826.tar.xz
|
||||
/firefox-langpacks-92.0-20210903.tar.xz
|
||||
/firefox-92.0.source.tar.xz
|
||||
/firefox-92.0.1.source.tar.xz
|
||||
/firefox-langpacks-92.0.1-20210927.tar.xz
|
||||
/firefox-93.0.source.tar.xz
|
||||
/firefox-langpacks-93.0-20210929.tar.xz
|
||||
/firefox-94.0.source.tar.xz
|
||||
/firefox-langpacks-94.0-20211031.tar.xz
|
||||
/firefox-94.0.2.source.tar.xz
|
||||
/firefox-langpacks-94.0.2-20211125.tar.xz
|
||||
/firefox-95.0.source.tar.xz
|
||||
/firefox-langpacks-95.0-20211203.tar.xz
|
||||
/firefox-95.0.2.source.tar.xz
|
||||
/firefox-langpacks-95.0.2-20211220.tar.xz
|
||||
/firefox-96.0.source.tar.xz
|
||||
/firefox-langpacks-96.0-20220111.tar.xz
|
||||
/firefox-langpacks-96.0.1-20220118.tar.xz
|
||||
/firefox-96.0.1.source.tar.xz
|
||||
/firefox-96.0.3.source.tar.xz
|
||||
/firefox-langpacks-96.0.3-20220131.tar.xz
|
||||
/firefox-97.0.source.tar.xz
|
||||
/firefox-langpacks-97.0-20220208.tar.xz
|
||||
/firefox-97.0.1.source.tar.xz
|
||||
/firefox-langpacks-97.0.1-20220218.tar.xz
|
||||
/firefox-98.0.source.tar.xz
|
||||
/firefox-langpacks-98.0-20220301.tar.xz
|
||||
/firefox-langpacks-98.0-20220304.tar.xz
|
||||
/firefox-langpacks-98.0-20220305.tar.xz
|
||||
/firefox-98.0.2.source.tar.xz
|
||||
/firefox-langpacks-98.0.2-20220331.tar.xz
|
||||
/firefox-99.0.source.tar.xz
|
||||
/firefox-langpacks-99.0-20220331.tar.xz
|
||||
/firefox-langpacks-99.0.1-20220413.tar.xz
|
||||
/firefox-99.0.1.source.tar.xz
|
||||
/firefox-100.0.source.tar.xz
|
||||
/firefox-langpacks-100.0-20220502.tar.xz
|
||||
/firefox-100.0.1.source.tar.xz
|
||||
/firefox-langpacks-100.0.1-20220518.tar.xz
|
||||
/firefox-100.0.2.source.tar.xz
|
||||
/firefox-langpacks-100.0.2-20220520.tar.xz
|
||||
/firefox-101.0.source.tar.xz
|
||||
/firefox-langpacks-101.0-20220530.tar.xz
|
||||
/firefox-101.0.1.source.tar.xz
|
||||
/firefox-langpacks-101.0.1-20220609.tar.xz
|
||||
/firefox-102.0.source.tar.xz
|
||||
/firefox-langpacks-102.0-20220628.tar.xz
|
||||
/firefox-103.0.source.tar.xz
|
||||
/firefox-langpacks-103.0-20220721.tar.xz
|
||||
/firefox-103.0.1.source.tar.xz
|
||||
/firefox-langpacks-103.0.1-20220802.tar.xz
|
||||
/firefox-103.0.2.source.tar.xz
|
||||
/firefox-langpacks-103.0.2-20220812.tar.xz
|
||||
/firefox-104.0.source.tar.xz
|
||||
/firefox-langpacks-104.0-20220816.tar.xz
|
||||
/firefox-langpacks-104.0-20220822.tar.xz
|
||||
/firefox-langpacks-104.0.1-20220830.tar.xz
|
||||
/firefox-104.0.1.source.tar.xz
|
||||
/firefox-104.0.2.source.tar.xz
|
||||
/firefox-langpacks-104.0.2-20220906.tar.xz
|
||||
/firefox-langpacks-105.0-20220920.tar.xz
|
||||
/firefox-105.0.source.tar.xz
|
||||
/firefox-105.0.1.source.tar.xz
|
||||
/firefox-langpacks-105.0.1-20220922.tar.xz
|
||||
/firefox-105.0.2.source.tar.xz
|
||||
/firefox-langpacks-105.0.2-20221005.tar.xz
|
||||
/firefox-langpacks-106.0-20221014.tar.xz
|
||||
/firefox-106.0.source.tar.xz
|
||||
/firefox-106.0.1.source.tar.xz
|
||||
/firefox-langpacks-106.0.1-20221023.tar.xz
|
||||
/firefox-106.0.3.source.tar.xz
|
||||
/firefox-langpacks-106.0.3-20221031.tar.xz
|
||||
/firefox-langpacks-107.0-20221114.tar.xz
|
||||
/firefox-107.0.source.tar.xz
|
||||
/firefox-107.0.1.source.tar.xz
|
||||
/firefox-langpacks-107.0.1-20221206.tar.xz
|
||||
/firefox-108.0.source.tar.xz
|
||||
/firefox-langpacks-108.0-20221206.tar.xz
|
||||
/firefox-langpacks-108.0-20221214.tar.xz
|
||||
/firefox-108.0.1.source.tar.xz
|
||||
/firefox-langpacks-108.0.1-20221218.tar.xz
|
||||
/firefox-108.0.2.source.tar.xz
|
||||
/firefox-langpacks-108.0.2-20230112.tar.xz
|
||||
/firefox-109.0.source.tar.xz
|
||||
/firefox-langpacks-109.0-20230111.tar.xz
|
||||
/firefox-109.0.1.source.tar.xz
|
||||
/firefox-langpacks-109.0.1-20230201.tar.xz
|
||||
/firefox-110.0.source.tar.xz
|
||||
/firefox-langpacks-110.0-20230210.tar.xz
|
||||
/firefox-langpacks-110.0-20230214.tar.xz
|
||||
/firefox-111.0.source.tar.xz
|
||||
/firefox-langpacks-111.0-20230320.tar.xz
|
||||
/firefox-langpacks-111.0.1-20230322.tar.xz
|
||||
/firefox-111.0.1.source.tar.xz
|
||||
/firefox-112.0.source.tar.xz
|
||||
/firefox-langpacks-112.0-20230405.tar.xz
|
||||
/firefox-langpacks-112.0-20230406.tar.xz
|
||||
/firefox-langpacks-112.0.1-20230417.tar.xz
|
||||
/firefox-112.0.1.source.tar.xz
|
||||
/firefox-langpacks-112.0.2-20230427.tar.xz
|
||||
/firefox-112.0.2.source.tar.xz
|
||||
/firefox-langpacks-113.0-20230509.tar.xz
|
||||
/firefox-113.0.source.tar.xz
|
||||
/firefox-langpacks-113.0.1-20230515.tar.xz
|
||||
/firefox-113.0.1.source.tar.xz
|
||||
/firefox-114.0.source.tar.xz
|
||||
/firefox-langpacks-114.0-20230605.tar.xz
|
||||
/firefox-langpacks-114.0.2-20230620.tar.xz
|
||||
/firefox-114.0.2.source.tar.xz
|
||||
/firefox-langpacks-115.0-20230629.tar.xz
|
||||
/firefox-115.0.source.tar.xz
|
||||
/firefox-langpacks-115.0-20230703.tar.xz
|
||||
/firefox-115.0.2.source.tar.xz
|
||||
/firefox-langpacks-115.0.2-20230717.tar.xz
|
||||
/firefox-116.0.source.tar.xz
|
||||
/firefox-langpacks-116.0-20230725.tar.xz
|
||||
/firefox-langpacks-116.0-20230731.tar.xz
|
||||
/firefox-116.0.1.source.tar.xz
|
||||
/firefox-langpacks-116.0.1-20230804.tar.xz
|
||||
/firefox-langpacks-116.0.2-20230807.tar.xz
|
||||
/firefox-116.0.2.source.tar.xz
|
||||
/firefox-langpacks-116.0.3-20230817.tar.xz
|
||||
/firefox-116.0.3.source.tar.xz
|
||||
/firefox-117.0.source.tar.xz
|
||||
/firefox-langpacks-117.0-20230828.tar.xz
|
||||
/firefox-117.0.1.source.tar.xz
|
||||
/firefox-langpacks-117.0.1-20230913.tar.xz
|
||||
/firefox-118.0.source.tar.xz
|
||||
/firefox-langpacks-118.0-20230925.tar.xz
|
||||
/firefox-langpacks-118.0.1-20230929.tar.xz
|
||||
/firefox-118.0.1.source.tar.xz
|
||||
/firefox-118.0.2.source.tar.xz
|
||||
/firefox-langpacks-118.0.2-20231010.tar.xz
|
||||
/dump_syms-vendor.tar.xz
|
||||
/firefox-langpacks-119.0.1-20231110.tar.xz
|
||||
/firefox-119.0.1.source.tar.xz
|
||||
/firefox-120.0.source.tar.xz
|
||||
/firefox-langpacks-120.0-20231114.tar.xz
|
||||
/firefox-langpacks-120.0-20231120.tar.xz
|
||||
/firefox-120.0.1.source.tar.xz
|
||||
/firefox-langpacks-120.0.1-20231201.tar.xz
|
||||
/firefox-121.0.source.tar.xz
|
||||
/firefox-langpacks-121.0-20231218.tar.xz
|
||||
/firefox-121.0.1.source.tar.xz
|
||||
/firefox-langpacks-121.0.1-20240112.tar.xz
|
||||
/firefox-122.0.source.tar.xz
|
||||
/firefox-langpacks-122.0-20240119.tar.xz
|
||||
/firefox-langpacks-122.0.1-20240213.tar.xz
|
||||
/firefox-122.0.1.source.tar.xz
|
||||
/firefox-langpacks-123.0-20240219.tar.xz
|
||||
/firefox-123.0.source.tar.xz
|
||||
/firefox-123.0.1.source.tar.xz
|
||||
/firefox-langpacks-123.0.1-20240307.tar.xz
|
||||
/firefox-124.0.source.tar.xz
|
||||
/firefox-langpacks-124.0-20240313.tar.xz
|
||||
/firefox-124.0.1.source.tar.xz
|
||||
/firefox-langpacks-124.0.1-20240322.tar.xz
|
||||
/wasi-sdk-20.tar.gz
|
||||
/wasi-sdk-20-1.fc39.src.rpm
|
||||
/firefox-124.0.2.source.tar.xz
|
||||
/firefox-langpacks-124.0.2-20240404.tar.xz
|
||||
/firefox-langpacks-125.0-20240409.tar.xz
|
||||
/firefox-125.0.source.tar.xz
|
||||
/firefox-125.0.2.source.tar.xz
|
||||
/firefox-langpacks-125.0.2-20240420.tar.xz
|
||||
/firefox-125.0.3.source.tar.xz
|
||||
/firefox-langpacks-125.0.3-20240429.tar.xz
|
||||
/firefox-126.0.source.tar.xz
|
||||
/firefox-langpacks-126.0-20240507.tar.xz
|
||||
/firefox-127.0.source.tar.xz
|
||||
/firefox-langpacks-127.0-20240610.tar.xz
|
||||
/firefox-langpacks-127.0.2-20240625.tar.xz
|
||||
/firefox-127.0.2.source.tar.xz
|
||||
/firefox-128.0.source.tar.xz
|
||||
/firefox-langpacks-128.0-20240702.tar.xz
|
||||
/firefox-langpacks-128.0-20240708.tar.xz
|
||||
/firefox-128.0.3.source.tar.xz
|
||||
/firefox-langpacks-128.0.3-20240729.tar.xz
|
||||
/firefox-129.0.source.tar.xz
|
||||
/firefox-langpacks-129.0-20240730.tar.xz
|
||||
/firefox-langpacks-129.0-20240802.tar.xz
|
||||
/firefox-129.0.2.source.tar.xz
|
||||
/firefox-langpacks-192.0.2-20240820.tar.xz
|
||||
/firefox-langpacks-129.0.2-20240820.tar.xz
|
||||
/firefox-langpacks-130.0-20240828.tar.xz
|
||||
/firefox-130.0.source.tar.xz
|
||||
/firefox-130.0.1.source.tar.xz
|
||||
/firefox-langpacks-130.0.1-20240918.tar.xz
|
||||
/firefox-langpacks-131.0-20240924.tar.xz
|
||||
/firefox-131.0.source.tar.xz
|
||||
/firefox-131.0.2.source.tar.xz
|
||||
/firefox-langpacks-131.0.2-20241009.tar.xz
|
||||
/firefox-131.0.3.source.tar.xz
|
||||
/firefox-langpacks-131.0.3-20241015.tar.xz
|
||||
/firefox-132.0.source.tar.xz
|
||||
/firefox-langpacks-132.0-20241023.tar.xz
|
||||
/firefox-132.0.1.source.tar.xz
|
||||
/firefox-langpacks-132.0.1-20241105.tar.xz
|
||||
/firefox-langpacks-132.0.2-20241115.tar.xz
|
||||
/firefox-132.0.2.source.tar.xz
|
||||
/firefox-133.0.source.tar.xz
|
||||
/firefox-langpacks-133.0-20241122.tar.xz
|
||||
/firefox-langpacks-133.0.3-20241211.tar.xz
|
||||
/firefox-133.0.3.source.tar.xz
|
||||
/firefox-langpacks-134.0-20250102.tar.xz
|
||||
/firefox-134.0.source.tar.xz
|
||||
/firefox-langpacks-134.0.1-20250115.tar.xz
|
||||
/firefox-134.0.1.source.tar.xz
|
||||
/firefox-134.0.2.source.tar.xz
|
||||
/firefox-langpacks-134.0.2-20250122.tar.xz
|
||||
/wasi-sdk-25.tar.gz
|
||||
/wasm-component-ld-vendor.tar.xz
|
||||
/firefox-135.0.source.tar.xz
|
||||
/firefox-langpacks-135.0-20250204.tar.xz
|
||||
/firefox-136.0.source.tar.xz
|
||||
/firefox-langpacks-136.0-20250225.tar.xz
|
||||
/firefox-langpacks-136.0-20250228.tar.xz
|
||||
/firefox-136.0.1.source.tar.xz
|
||||
/firefox-langpacks-136.0.1-20250312.tar.xz
|
||||
/firefox-langpacks-136.0.2-20250319.tar.xz
|
||||
/firefox-136.0.2.source.tar.xz
|
||||
/firefox-136.0.3.source.tar.xz
|
||||
/firefox-langpacks-136.0.3-20250325.tar.xz
|
||||
/firefox-langpacks-137.0-20250326.tar.xz
|
||||
/firefox-137.0.source.tar.xz
|
||||
/firefox-langpacks-137.0-20250331.tar.xz
|
||||
/firefox-137.0.1.source.tar.xz
|
||||
/firefox-langpacks-137.0.1-20250414.tar.xz
|
||||
/firefox-138.0.source.tar.xz
|
||||
/firefox-langpacks-138.0-20250422.tar.xz
|
||||
/firefox-langpacks-138.0.1-20250501.tar.xz
|
||||
/firefox-138.0.1.source.tar.xz
|
||||
/firefox-138.0.3.source.tar.xz
|
||||
/firefox-langpacks-138.0.3-20250512.tar.xz
|
||||
/firefox-langpacks-138.0.4-20250519.tar.xz
|
||||
/firefox-138.0.4.source.tar.xz
|
||||
/firefox-139.0.source.tar.xz
|
||||
/firefox-langpacks-139.0-20250527.tar.xz
|
||||
/firefox-langpacks-139.0.4-20250610.tar.xz
|
||||
/firefox-139.0.4.source.tar.xz
|
||||
/firefox-140.0.source.tar.xz
|
||||
/firefox-langpacks-140.0-20250617.tar.xz
|
||||
/firefox-140.0.1.source.tar.xz
|
||||
/firefox-langpacks-140.0.1-20250627.tar.xz
|
||||
/firefox-140.0.4.source.tar.xz
|
||||
/firefox-langpacks-140.0.4-20250708.tar.xz
|
||||
/firefox-141.0.source.tar.xz
|
||||
/firefox-langpacks-141.0-20250717.tar.xz
|
||||
/firefox-langpacks-141.0-20250718.tar.xz
|
||||
/firefox-langpacks-141.2.0-20250806.tar.xz
|
||||
/firefox-141.0.2.source.tar.xz
|
||||
/firefox-langpacks-141.0.2-20250806.tar.xz
|
||||
/firefox-langpacks-141.0.3-20250811.tar.xz
|
||||
/firefox-141.0.3.source.tar.xz
|
||||
/firefox-142.0.source.tar.xz
|
||||
/firefox-langpacks-142.0-20250812.tar.xz
|
||||
/firefox-langpacks-142.0.1-20250827.tar.xz
|
||||
/firefox-142.0.1.source.tar.xz
|
||||
/firefox-143.0.1.source.tar.xz
|
||||
/firefox-langpacks-143.0.1-20250919.tar.xz
|
||||
/firefox-langpacks-143.0.3-20250930.tar.xz
|
||||
/firefox-143.0.3.source.tar.xz
|
||||
/firefox-langpacks-144.0-20251009.tar.xz
|
||||
/firefox-144.0.source.tar.xz
|
||||
/firefox-langpacks-144.0-20251010.tar.xz
|
||||
/firefox-145.0.source.tar.xz
|
||||
/firefox-langpacks-145.0-20251105.tar.xz
|
||||
/firefox-langpacks-145.0-20251111.tar.xz
|
||||
/firefox-145.0.1.source.tar.xz
|
||||
/firefox-langpacks-145.0.1-20251119.tar.xz
|
||||
/firefox-146.0.source.tar.xz
|
||||
/firefox-langpacks-146.0-20251202.tar.xz
|
||||
/firefox-langpacks-146.0-20251208.tar.xz
|
||||
/firefox-146.0.1.source.tar.xz
|
||||
/firefox-langpacks-146.0.1-20251219.tar.xz
|
||||
/firefox-langpacks-147.0-20260106.tar.xz
|
||||
/firefox-147.0.source.tar.xz
|
||||
|
|
|
|||
31
0001-GLIBCXX-fix-for-GCC-12.patch
Normal file
31
0001-GLIBCXX-fix-for-GCC-12.patch
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
diff -up firefox-142.0/build/unix/stdc++compat/stdc++compat.cpp.0001-GLIBCXX-fix-for-GCC-12 firefox-142.0/build/unix/stdc++compat/stdc++compat.cpp
|
||||
--- firefox-142.0/build/unix/stdc++compat/stdc++compat.cpp.0001-GLIBCXX-fix-for-GCC-12 2025-08-11 20:04:27.000000000 +0200
|
||||
+++ firefox-142.0/build/unix/stdc++compat/stdc++compat.cpp 2025-08-14 15:02:05.496137133 +0200
|
||||
@@ -24,6 +24,7 @@
|
||||
GLIBCXX_3.4.27 is from gcc 10
|
||||
GLIBCXX_3.4.28 is from gcc 10
|
||||
GLIBCXX_3.4.29 is from gcc 11
|
||||
+ GLIBCXX_3.4.30 is from gcc 12
|
||||
|
||||
This file adds the necessary compatibility tricks to avoid symbols with
|
||||
version GLIBCXX_3.4.20 and bigger, keeping binary compatibility with
|
||||
@@ -94,6 +95,19 @@ void operator delete(void* ptr, size_t s
|
||||
}
|
||||
# endif
|
||||
|
||||
+#if _GLIBCXX_RELEASE >= 12
|
||||
+namespace std {
|
||||
+
|
||||
+/* This avoids the GLIBCXX_3.4.30 symbol version. */
|
||||
+void __attribute__((weak))
|
||||
+__glibcxx_assert_fail(const char* __file, int __line, const char* __function,
|
||||
+ const char* __condition) {
|
||||
+ MOZ_CRASH();
|
||||
+}
|
||||
+
|
||||
+} // namespace std
|
||||
+#endif
|
||||
+
|
||||
/* While we generally don't build with exceptions, we have some host tools
|
||||
* that do use them. libstdc++ from GCC 5.0 added exception constructors with
|
||||
* char const* argument. Older versions only have a constructor with
|
||||
1343
0025-Add-KDE-integration-to-Firefox-toolkit-parts.patch
Normal file
1343
0025-Add-KDE-integration-to-Firefox-toolkit-parts.patch
Normal file
File diff suppressed because it is too large
Load diff
279
0026-Add-KDE-integration-to-Firefox.patch
Normal file
279
0026-Add-KDE-integration-to-Firefox.patch
Normal file
|
|
@ -0,0 +1,279 @@
|
|||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Martin Sirringhaus <msirringhaus@suse.de>
|
||||
Date: Tue, 8 Aug 2023 16:18:24 +0300
|
||||
Subject: [PATCH] Add KDE integration to Firefox
|
||||
|
||||
Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=140751
|
||||
Bug: https://bugzilla.suse.com/show_bug.cgi?id=170055
|
||||
|
||||
How to apply this patch:
|
||||
|
||||
1. Import and apply it
|
||||
2. cp browser/base/content/browser.xul browser/base/content/browser-kde.xul
|
||||
3. Find editBookmarkPanelDoneButton
|
||||
4. Replace #ifndef with #ifdef in the line above (this hanges the button order from Gnome-style to KDE-style)
|
||||
5. hg qrefresh
|
||||
---
|
||||
browser/components/preferences/main.js | 18 +++
|
||||
browser/components/shell/moz.build | 2 +
|
||||
.../components/shell/nsKDEShellService.cpp | 109 ++++++++++++++++++
|
||||
browser/components/shell/nsKDEShellService.h | 32 +++++
|
||||
.../components/shell/nsUnixShellService.cpp | 22 ++++
|
||||
browser/components/shell/nsUnixShellService.h | 15 +++
|
||||
6 files changed, 198 insertions(+)
|
||||
create mode 100644 browser/components/shell/nsKDEShellService.cpp
|
||||
create mode 100644 browser/components/shell/nsKDEShellService.h
|
||||
create mode 100644 browser/components/shell/nsUnixShellService.cpp
|
||||
create mode 100644 browser/components/shell/nsUnixShellService.h
|
||||
|
||||
diff --git a/browser/components/preferences/main.js b/browser/components/preferences/main.js
|
||||
index 820e46fb006567bfdf93e2a46da5e3c07d42bf10..57d1c21bdecc2d55d0bed30246e684d3b97ad7fa 100644
|
||||
--- a/browser/components/preferences/main.js
|
||||
+++ b/browser/components/preferences/main.js
|
||||
@@ -294,6 +294,13 @@ var gMainPane = {
|
||||
}, backoffTimes[this._backoffIndex]);
|
||||
}
|
||||
|
||||
+ var env = Components.classes["@mozilla.org/process/environment;1"]
|
||||
+ .getService(Components.interfaces.nsIEnvironment);
|
||||
+ var kde_session = 0;
|
||||
+ if (env.get('KDE_FULL_SESSION') == "true") {
|
||||
+ kde_session = 1;
|
||||
+ }
|
||||
+
|
||||
this.initBrowserContainers();
|
||||
this.buildContentProcessCountMenuList();
|
||||
|
||||
@@ -1727,6 +1734,17 @@ var gMainPane = {
|
||||
}
|
||||
try {
|
||||
shellSvc.setDefaultBrowser(true, false);
|
||||
+ if (kde_session == 1) {
|
||||
+ var shellObj = Components.classes["@mozilla.org/file/local;1"]
|
||||
+ .createInstance(Components.interfaces.nsILocalFile);
|
||||
+ shellObj.initWithPath("/usr/bin/kwriteconfig");
|
||||
+ var process = Components.classes["@mozilla.org/process/util;1"]
|
||||
+ .createInstance(Components.interfaces.nsIProcess);
|
||||
+ process.init(shellObj);
|
||||
+ var args = ["--file", "kdeglobals", "--group", "General", "--key",
|
||||
+ "BrowserApplication", "firefox"];
|
||||
+ process.run(false, args, args.length);
|
||||
+ }
|
||||
} catch (ex) {
|
||||
console.error(ex);
|
||||
return;
|
||||
diff --git a/browser/components/shell/moz.build b/browser/components/shell/moz.build
|
||||
index eb88cb287dc3f04022b74b978666118bbd5fa6b2..95277533781a7224d108e3c45731a6d9a89ba1a0 100644
|
||||
--- a/browser/components/shell/moz.build
|
||||
+++ b/browser/components/shell/moz.build
|
||||
@@ -36,6 +36,8 @@ elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk":
|
||||
|
||||
SOURCES += [
|
||||
"nsGNOMEShellService.cpp",
|
||||
+ "nsKDEShellService.cpp",
|
||||
+ "nsUnixShellService.cpp",
|
||||
]
|
||||
if CONFIG["MOZ_ENABLE_DBUS"]:
|
||||
SOURCES += [
|
||||
diff --git a/browser/components/shell/nsKDEShellService.cpp b/browser/components/shell/nsKDEShellService.cpp
|
||||
new file mode 100644
|
||||
index 0000000000000000000000000000000000000000..152a3aca87ea73477bc75c4e93c01e5a52dda102
|
||||
--- /dev/null
|
||||
+++ b/browser/components/shell/nsKDEShellService.cpp
|
||||
@@ -0,0 +1,109 @@
|
||||
+/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
+/* 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 "mozilla/ArrayUtils.h"
|
||||
+
|
||||
+#include "nsCOMPtr.h"
|
||||
+#include "nsKDEShellService.h"
|
||||
+#include "nsShellService.h"
|
||||
+#include "nsKDEUtils.h"
|
||||
+#include "nsIPrefService.h"
|
||||
+#include "nsIProcess.h"
|
||||
+#include "nsIFile.h"
|
||||
+#include "nsServiceManagerUtils.h"
|
||||
+#include "nsComponentManagerUtils.h"
|
||||
+#include "nsIMutableArray.h"
|
||||
+#include "nsISupportsPrimitives.h"
|
||||
+#include "nsArrayUtils.h"
|
||||
+
|
||||
+using namespace mozilla;
|
||||
+
|
||||
+nsresult
|
||||
+nsKDEShellService::Init()
|
||||
+{
|
||||
+ if( !nsKDEUtils::kdeSupport())
|
||||
+ return NS_ERROR_NOT_AVAILABLE;
|
||||
+ return NS_OK;
|
||||
+}
|
||||
+
|
||||
+NS_IMPL_ISUPPORTS(nsKDEShellService, nsIGNOMEShellService, nsIShellService)
|
||||
+
|
||||
+NS_IMETHODIMP
|
||||
+nsKDEShellService::IsDefaultBrowser(bool aForAllTypes,
|
||||
+ bool* aIsDefaultBrowser)
|
||||
+{
|
||||
+ *aIsDefaultBrowser = false;
|
||||
+
|
||||
+ nsCOMPtr<nsIMutableArray> command = do_CreateInstance( NS_ARRAY_CONTRACTID );
|
||||
+ if (!command)
|
||||
+ return NS_ERROR_FAILURE;
|
||||
+
|
||||
+ nsCOMPtr<nsISupportsCString> str = do_CreateInstance( NS_SUPPORTS_CSTRING_CONTRACTID );
|
||||
+ if (!str)
|
||||
+ return NS_ERROR_FAILURE;
|
||||
+
|
||||
+ str->SetData("ISDEFAULTBROWSER"_ns);
|
||||
+ command->AppendElement( str );
|
||||
+
|
||||
+ if( nsKDEUtils::command( command ))
|
||||
+ *aIsDefaultBrowser = true;
|
||||
+ return NS_OK;
|
||||
+}
|
||||
+
|
||||
+NS_IMETHODIMP
|
||||
+nsKDEShellService::SetDefaultBrowser(bool aClaimAllTypes,
|
||||
+ bool aForAllUsers)
|
||||
+{
|
||||
+ nsCOMPtr<nsIMutableArray> command = do_CreateInstance( NS_ARRAY_CONTRACTID );
|
||||
+ if (!command)
|
||||
+ return NS_ERROR_FAILURE;
|
||||
+
|
||||
+ nsCOMPtr<nsISupportsCString> cmdstr = do_CreateInstance( NS_SUPPORTS_CSTRING_CONTRACTID );
|
||||
+ nsCOMPtr<nsISupportsCString> paramstr = do_CreateInstance( NS_SUPPORTS_CSTRING_CONTRACTID );
|
||||
+ if (!cmdstr || !paramstr)
|
||||
+ return NS_ERROR_FAILURE;
|
||||
+
|
||||
+ cmdstr->SetData("SETDEFAULTBROWSER"_ns);
|
||||
+ command->AppendElement( cmdstr );
|
||||
+
|
||||
+ paramstr->SetData( aClaimAllTypes ? "ALLTYPES"_ns : "NORMAL"_ns );
|
||||
+ command->AppendElement( paramstr );
|
||||
+
|
||||
+ return nsKDEUtils::command( command ) ? NS_OK : NS_ERROR_FAILURE;
|
||||
+}
|
||||
+
|
||||
+NS_IMETHODIMP
|
||||
+nsKDEShellService::GetCanSetDesktopBackground(bool* aResult)
|
||||
+{
|
||||
+ *aResult = true;
|
||||
+ return NS_OK;
|
||||
+}
|
||||
+
|
||||
+NS_IMETHODIMP
|
||||
+nsKDEShellService::SetDesktopBackground(dom::Element* aElement,
|
||||
+ int32_t aPosition,
|
||||
+ const nsACString& aImageName)
|
||||
+{
|
||||
+ return NS_ERROR_NOT_IMPLEMENTED;
|
||||
+}
|
||||
+
|
||||
+NS_IMETHODIMP
|
||||
+nsKDEShellService::GetDesktopBackgroundColor(PRUint32 *aColor)
|
||||
+{
|
||||
+ return NS_ERROR_NOT_IMPLEMENTED;
|
||||
+}
|
||||
+
|
||||
+NS_IMETHODIMP
|
||||
+nsKDEShellService::SetDesktopBackgroundColor(PRUint32 aColor)
|
||||
+{
|
||||
+ return NS_ERROR_NOT_IMPLEMENTED;
|
||||
+}
|
||||
+
|
||||
+NS_IMETHODIMP
|
||||
+nsKDEShellService::IsDefaultForScheme(nsTSubstring<char> const& aScheme, bool* aIsDefaultBrowser)
|
||||
+{
|
||||
+ return NS_ERROR_NOT_IMPLEMENTED;
|
||||
+}
|
||||
+
|
||||
diff --git a/browser/components/shell/nsKDEShellService.h b/browser/components/shell/nsKDEShellService.h
|
||||
new file mode 100644
|
||||
index 0000000000000000000000000000000000000000..8b0bb19164352453cfa453dd87c19263160b9ad8
|
||||
--- /dev/null
|
||||
+++ b/browser/components/shell/nsKDEShellService.h
|
||||
@@ -0,0 +1,32 @@
|
||||
+/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
+/* 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/. */
|
||||
+
|
||||
+#ifndef nskdeshellservice_h____
|
||||
+#define nskdeshellservice_h____
|
||||
+
|
||||
+#include "nsIGNOMEShellService.h"
|
||||
+#include "nsToolkitShellService.h"
|
||||
+#include "nsString.h"
|
||||
+#include "mozilla/Attributes.h"
|
||||
+
|
||||
+class nsKDEShellService final : public nsIGNOMEShellService,
|
||||
+ public nsToolkitShellService
|
||||
+{
|
||||
+public:
|
||||
+ nsKDEShellService() : mCheckedThisSession(false) { }
|
||||
+
|
||||
+ NS_DECL_ISUPPORTS
|
||||
+ NS_DECL_NSISHELLSERVICE
|
||||
+ NS_DECL_NSIGNOMESHELLSERVICE
|
||||
+
|
||||
+ nsresult Init();
|
||||
+
|
||||
+private:
|
||||
+ ~nsKDEShellService() {}
|
||||
+
|
||||
+ bool mCheckedThisSession;
|
||||
+};
|
||||
+
|
||||
+#endif // nskdeshellservice_h____
|
||||
diff --git a/browser/components/shell/nsUnixShellService.cpp b/browser/components/shell/nsUnixShellService.cpp
|
||||
new file mode 100644
|
||||
index 0000000000000000000000000000000000000000..abf266ebdc52e136f495911da3454e69c770c6db
|
||||
--- /dev/null
|
||||
+++ b/browser/components/shell/nsUnixShellService.cpp
|
||||
@@ -0,0 +1,22 @@
|
||||
+/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
+/* 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 "nsUnixShellService.h"
|
||||
+#include "nsGNOMEShellService.h"
|
||||
+#include "nsKDEShellService.h"
|
||||
+#include "nsKDEUtils.h"
|
||||
+#include "mozilla/ModuleUtils.h"
|
||||
+
|
||||
+NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsGNOMEShellService, Init)
|
||||
+NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsKDEShellService, Init)
|
||||
+
|
||||
+NS_IMETHODIMP
|
||||
+nsUnixShellServiceConstructor(REFNSIID aIID, void **aResult)
|
||||
+{
|
||||
+ if( nsKDEUtils::kdeSupport())
|
||||
+ return nsKDEShellServiceConstructor( aIID, aResult );
|
||||
+ return nsGNOMEShellServiceConstructor( aIID, aResult );
|
||||
+}
|
||||
diff --git a/browser/components/shell/nsUnixShellService.h b/browser/components/shell/nsUnixShellService.h
|
||||
new file mode 100644
|
||||
index 0000000000000000000000000000000000000000..26b5dbac47dd9a8ec1fcb6c93575cca750692735
|
||||
--- /dev/null
|
||||
+++ b/browser/components/shell/nsUnixShellService.h
|
||||
@@ -0,0 +1,15 @@
|
||||
+/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
+/* 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/. */
|
||||
+
|
||||
+
|
||||
+#ifndef nsunixshellservice_h____
|
||||
+#define nsunixshellservice_h____
|
||||
+
|
||||
+#include "nsIGNOMEShellService.h"
|
||||
+
|
||||
+NS_IMETHODIMP
|
||||
+nsUnixShellServiceConstructor(nsISupports *aOuter, REFNSIID aIID, void **aResult);
|
||||
+
|
||||
+#endif // nsunixshellservice_h____
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
diff -up firefox-68.0/mfbt/LinuxSignal.h.1238661 firefox-68.0/mfbt/LinuxSignal.h
|
||||
--- firefox-68.0/mfbt/LinuxSignal.h.1238661 2019-07-08 22:27:29.620749569 +0200
|
||||
+++ firefox-68.0/mfbt/LinuxSignal.h 2019-07-08 22:44:17.794112428 +0200
|
||||
@@ -22,7 +22,10 @@ __attribute__((naked)) void SignalTrampo
|
||||
void* aContext) {
|
||||
asm volatile("nop; nop; nop; nop" : : : "memory");
|
||||
|
||||
- asm volatile("b %0" : : "X"(H) : "memory");
|
||||
+ // Because the assembler may generate additional insturctions below, we
|
||||
+ // need to ensure NOPs are inserted first by separating them out above.
|
||||
+
|
||||
+ asm volatile("bx %0" : : "r"(H), "l"(aSignal), "l"(aInfo), "l"(aContext) : "memory");
|
||||
}
|
||||
|
||||
# define MOZ_SIGNAL_TRAMPOLINE(h) (mozilla::SignalTrampoline<h>)
|
||||
|
|
@ -1,98 +0,0 @@
|
|||
diff --git a/widget/gtk/nsWindow.h b/widget/gtk/nsWindow.h
|
||||
--- a/widget/gtk/nsWindow.h
|
||||
+++ b/widget/gtk/nsWindow.h
|
||||
@@ -401,6 +401,8 @@
|
||||
#ifdef MOZ_WAYLAND
|
||||
virtual nsresult GetScreenRect(LayoutDeviceIntRect* aRect) override;
|
||||
#endif
|
||||
+ bool IsRemoteContent() { return HasRemoteContent(); }
|
||||
+ static void HideWaylandOpenedPopups();
|
||||
|
||||
protected:
|
||||
virtual ~nsWindow();
|
||||
diff --git a/widget/gtk/nsWindow.cpp b/widget/gtk/nsWindow.cpp
|
||||
--- a/widget/gtk/nsWindow.cpp
|
||||
+++ b/widget/gtk/nsWindow.cpp
|
||||
@@ -1165,6 +1165,14 @@
|
||||
}
|
||||
}
|
||||
|
||||
+void nsWindow::HideWaylandOpenedPopups() {
|
||||
+ while (gVisibleWaylandPopupWindows) {
|
||||
+ nsWindow* window =
|
||||
+ static_cast<nsWindow*>(gVisibleWaylandPopupWindows->data);
|
||||
+ window->HideWaylandWindow();
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
// Hide popup nsWindows which are no longer in the nsXULPopupManager widget
|
||||
// chain list.
|
||||
void nsWindow::CleanupWaylandPopups() {
|
||||
@@ -1218,7 +1226,10 @@
|
||||
// popup needs to have an unique parent.
|
||||
GtkWidget* nsWindow::ConfigureWaylandPopupWindows() {
|
||||
MOZ_ASSERT(this->mWindowType == eWindowType_popup);
|
||||
- LOG(("nsWindow::ConfigureWaylandPopupWindows [%p]\n", (void*)this));
|
||||
+ LOG(
|
||||
+ ("nsWindow::ConfigureWaylandPopupWindows [%p], frame %p hasRemoteContent "
|
||||
+ "%d\n",
|
||||
+ (void*)this, this->GetFrame(), this->HasRemoteContent()));
|
||||
#if DEBUG
|
||||
if (this->GetFrame() && this->GetFrame()->GetContent()->GetID()) {
|
||||
nsCString nodeId;
|
||||
@@ -1245,14 +1256,14 @@
|
||||
// gVisibleWaylandPopupWindows which were not yet been hidden.
|
||||
CleanupWaylandPopups();
|
||||
// Since the popups are shown by unknown order it can happen that child
|
||||
- // popup is shown before parent popup. The
|
||||
+ // popup is shown before parent popup.
|
||||
// We look for the current window parent in nsXULPopupManager since it
|
||||
// always has correct popup hierarchy while gVisibleWaylandPopupWindows may
|
||||
// not.
|
||||
nsXULPopupManager* pm = nsXULPopupManager::GetInstance();
|
||||
AutoTArray<nsIWidget*, 5> widgetChain;
|
||||
pm->GetSubmenuWidgetChain(&widgetChain);
|
||||
- for (unsigned long i = 0; i < widgetChain.Length(); i++) {
|
||||
+ for (unsigned long i = 0; i < widgetChain.Length() - 1; i++) {
|
||||
unsigned long parentIndex = i + 1;
|
||||
if (widgetChain.Length() > parentIndex && widgetChain[i] == this) {
|
||||
nsWindow* parentWindow =
|
||||
@@ -1264,6 +1275,29 @@
|
||||
}
|
||||
}
|
||||
} else {
|
||||
+ // Panels usually ends there
|
||||
+ if (gVisibleWaylandPopupWindows && HasRemoteContent()) {
|
||||
+ // If the new panel is remote content, we need to close all other popups
|
||||
+ // before to keep the correct hierarchy because the remote content popup
|
||||
+ // can replace the overflow-widget panel.
|
||||
+ HideWaylandOpenedPopups();
|
||||
+ } else if (gVisibleWaylandPopupWindows) {
|
||||
+ // If there is any remote content panel currently opened, close all
|
||||
+ // opened popups to keep the correct hierarchy.
|
||||
+ GList* popupList = gVisibleWaylandPopupWindows;
|
||||
+ while (popupList) {
|
||||
+ nsWindow* waylandWnd = static_cast<nsWindow*>(popupList->data);
|
||||
+ LOG((" Checking [%p] IsRemoteContent %d\n", popupList->data,
|
||||
+ waylandWnd->IsRemoteContent()));
|
||||
+ if (waylandWnd->IsRemoteContent()) {
|
||||
+ // close all popups including remote content before showing our panel
|
||||
+ // Most likely returning from addon panel to overflow-widget.
|
||||
+ HideWaylandOpenedPopups();
|
||||
+ break;
|
||||
+ }
|
||||
+ popupList = popupList->next;
|
||||
+ }
|
||||
+ }
|
||||
// For popups in panels use the last opened popup window as parent,
|
||||
// panels are not stored in nsXULPopupManager.
|
||||
if (gVisibleWaylandPopupWindows) {
|
||||
@@ -4380,6 +4414,7 @@
|
||||
void nsWindow::HideWaylandWindow() {
|
||||
#ifdef MOZ_WAYLAND
|
||||
if (mWindowType == eWindowType_popup) {
|
||||
+ LOG(("nsWindow::HideWaylandWindow: popup [%p]\n", this));
|
||||
GList* foundWindow = g_list_find(gVisibleWaylandPopupWindows, this);
|
||||
if (foundWindow) {
|
||||
gVisibleWaylandPopupWindows =
|
||||
|
||||
|
|
@ -1,97 +0,0 @@
|
|||
diff --git a/widget/gtk/nsWindow.cpp b/widget/gtk/nsWindow.cpp
|
||||
--- a/widget/gtk/nsWindow.cpp
|
||||
+++ b/widget/gtk/nsWindow.cpp
|
||||
@@ -1295,13 +1295,12 @@
|
||||
GdkWindow* window, const GdkRectangle* flipped_rect,
|
||||
const GdkRectangle* final_rect, gboolean flipped_x, gboolean flipped_y,
|
||||
void* aWindow) {
|
||||
- LOG(("%s [%p] flipped_x %d flipped_y %d\n", __FUNCTION__, aWindow, flipped_x,
|
||||
- flipped_y));
|
||||
-
|
||||
- LOG(("%s [%p] flipped %d %d w:%d h:%d\n", __FUNCTION__, aWindow,
|
||||
- flipped_rect->x, flipped_rect->y, flipped_rect->width,
|
||||
- flipped_rect->height));
|
||||
- LOG(("%s [%p] final %d %d w:%d h:%d\n", __FUNCTION__, aWindow, final_rect->x,
|
||||
+ LOG(("NativeMoveResizeWaylandPopupCallback [%p] flipped_x %d flipped_y %d\n",
|
||||
+ aWindow, flipped_x, flipped_y));
|
||||
+
|
||||
+ LOG((" flipped_rect x: %d y: %d width: %d height: %d\n", flipped_rect->x,
|
||||
+ flipped_rect->y, flipped_rect->width, flipped_rect->height));
|
||||
+ LOG((" final_rect x: %d y: %d width: %d height: %d\n", final_rect->x,
|
||||
final_rect->y, final_rect->width, final_rect->height));
|
||||
}
|
||||
#endif
|
||||
@@ -1312,12 +1311,13 @@
|
||||
static auto sGdkWindowMoveToRect = (void (*)(
|
||||
GdkWindow*, const GdkRectangle*, GdkGravity, GdkGravity, GdkAnchorHints,
|
||||
gint, gint))dlsym(RTLD_DEFAULT, "gdk_window_move_to_rect");
|
||||
+ LOG(("nsWindow::NativeMoveResizeWaylandPopup [%p]\n", (void*)this));
|
||||
|
||||
// Compositor may be confused by windows with width/height = 0
|
||||
// and positioning such windows leads to Bug 1555866.
|
||||
if (!AreBoundsSane()) {
|
||||
- LOG(("nsWindow::NativeMoveResizeWaylandPopup [%p] Bounds are not sane\n",
|
||||
- (void*)this));
|
||||
+ LOG((" Bounds are not sane (width: %d height: %d)\n", mBounds.width,
|
||||
+ mBounds.height));
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -1331,15 +1331,14 @@
|
||||
// - gdk_window_move_to_rect() is not available
|
||||
// - the widget doesn't have a valid GdkWindow
|
||||
if (!sGdkWindowMoveToRect || !gdkWindow) {
|
||||
- LOG(("nsWindow::NativeMoveResizeWaylandPopup [%p] use gtk_window_move()\n",
|
||||
- (void*)this));
|
||||
+ LOG((" use gtk_window_move(%d, %d)\n", aPosition->x, aPosition->y));
|
||||
gtk_window_move(GTK_WINDOW(mShell), aPosition->x, aPosition->y);
|
||||
return;
|
||||
}
|
||||
|
||||
GtkWidget* parentWindow = ConfigureWaylandPopupWindows();
|
||||
- LOG(("nsWindow::NativeMoveResizeWaylandPopup [%p] Set popup parent %p\n",
|
||||
- (void*)this, parentWindow));
|
||||
+ LOG(("nsWindow::NativeMoveResizeWaylandPopup: Set popup parent %p\n",
|
||||
+ parentWindow));
|
||||
|
||||
int x_parent, y_parent;
|
||||
gdk_window_get_origin(gtk_widget_get_window(GTK_WIDGET(parentWindow)),
|
||||
@@ -1351,12 +1350,6 @@
|
||||
rect.height = aSize->height;
|
||||
}
|
||||
|
||||
- LOG(("%s [%p] request position %d,%d\n", __FUNCTION__, (void*)this,
|
||||
- aPosition->x, aPosition->y));
|
||||
- if (aSize) {
|
||||
- LOG((" request size %d,%d\n", aSize->width, aSize->height));
|
||||
- }
|
||||
- LOG((" request result %d %d\n", rect.x, rect.y));
|
||||
#ifdef DEBUG
|
||||
if (!g_signal_handler_find(
|
||||
gdkWindow, G_SIGNAL_MATCH_FUNC, 0, 0, nullptr,
|
||||
@@ -1389,10 +1382,8 @@
|
||||
HideWaylandWindow();
|
||||
}
|
||||
|
||||
- LOG(
|
||||
- ("nsWindow::NativeMoveResizeWaylandPopup [%p]: requested rect: x%d y%d "
|
||||
- "w%d h%d\n",
|
||||
- this, rect.x, rect.y, rect.width, rect.height));
|
||||
+ LOG((" requested rect: x: %d y: %d width: %d height: %d\n", rect.x, rect.y,
|
||||
+ rect.width, rect.height));
|
||||
if (aSize) {
|
||||
LOG((" aSize: x%d y%d w%d h%d\n", aSize->x, aSize->y, aSize->width,
|
||||
aSize->height));
|
||||
@@ -7348,8 +7339,9 @@
|
||||
if (monitor) {
|
||||
GdkRectangle workArea;
|
||||
s_gdk_monitor_get_workarea(monitor, &workArea);
|
||||
- aRect->x = workArea.x;
|
||||
- aRect->y = workArea.y;
|
||||
+ // The monitor offset won't help us in Wayland, because we can't get the
|
||||
+ // absolute position of our window.
|
||||
+ aRect->x = aRect->y = 0;
|
||||
aRect->width = workArea.width;
|
||||
aRect->height = workArea.height;
|
||||
LOG((" workarea for [%p], monitor %p: x%d y%d w%d h%d\n", this, monitor,
|
||||
|
||||
|
|
@ -1,74 +0,0 @@
|
|||
# HG changeset patch
|
||||
# User Lars T Hansen <lhansen@mozilla.com>
|
||||
# Date 1519822672 -3600
|
||||
# Wed Feb 28 13:57:52 2018 +0100
|
||||
# Node ID 672f0415217b202ae59a930769dffd9d6ba6b87c
|
||||
# Parent 825fd04dacc6297d3a980ec4184079405950b35d
|
||||
Bug 1375074 - Save and restore non-volatile x28 on ARM64 for generated unboxed object constructor.
|
||||
|
||||
diff --git a/js/src/jit-test/tests/bug1375074.js b/js/src/jit-test/tests/bug1375074.js
|
||||
new file mode 100644
|
||||
--- /dev/null
|
||||
+++ b/js/src/jit-test/tests/bug1375074.js
|
||||
@@ -0,0 +1,18 @@
|
||||
+// This forces the VM to start creating unboxed objects and thus stresses a
|
||||
+// particular path into generated code for a specialized unboxed object
|
||||
+// constructor.
|
||||
+
|
||||
+var K = 2000; // 2000 should be plenty
|
||||
+var s = "[";
|
||||
+var i;
|
||||
+for ( i=0; i < K-1; i++ )
|
||||
+ s = s + `{"i":${i}},`;
|
||||
+s += `{"i":${i}}]`;
|
||||
+var v = JSON.parse(s);
|
||||
+
|
||||
+assertEq(v.length == K, true);
|
||||
+
|
||||
+for ( i=0; i < K; i++) {
|
||||
+ assertEq(v[i] instanceof Object, true);
|
||||
+ assertEq(v[i].i, i);
|
||||
+}
|
||||
diff --git a/js/src/vm/UnboxedObject.cpp b/js/src/vm/UnboxedObject.cpp
|
||||
--- a/js/src/vm/UnboxedObject.cpp
|
||||
+++ b/js/src/vm/UnboxedObject.cpp
|
||||
@@ -95,7 +95,15 @@ UnboxedLayout::makeConstructorCode(JSCon
|
||||
#endif
|
||||
|
||||
#ifdef JS_CODEGEN_ARM64
|
||||
- // ARM64 communicates stack address via sp, but uses a pseudo-sp for addressing.
|
||||
+ // ARM64 communicates stack address via sp, but uses a pseudo-sp (PSP) for
|
||||
+ // addressing. The register we use for PSP may however also be used by
|
||||
+ // calling code, and it is nonvolatile, so save it. Do this as a special
|
||||
+ // case first because the generic save/restore code needs the PSP to be
|
||||
+ // initialized already.
|
||||
+ MOZ_ASSERT(PseudoStackPointer64.Is(masm.GetStackPointer64()));
|
||||
+ masm.Str(PseudoStackPointer64, vixl::MemOperand(sp, -16, vixl::PreIndex));
|
||||
+
|
||||
+ // Initialize the PSP from the SP.
|
||||
masm.initStackPtr();
|
||||
#endif
|
||||
|
||||
@@ -233,7 +241,22 @@ UnboxedLayout::makeConstructorCode(JSCon
|
||||
masm.pop(ScratchDoubleReg);
|
||||
masm.PopRegsInMask(savedNonVolatileRegisters);
|
||||
|
||||
+#ifdef JS_CODEGEN_ARM64
|
||||
+ // Now restore the value that was in the PSP register on entry, and return.
|
||||
+
|
||||
+ // Obtain the correct SP from the PSP.
|
||||
+ masm.Mov(sp, PseudoStackPointer64);
|
||||
+
|
||||
+ // Restore the saved value of the PSP register, this value is whatever the
|
||||
+ // caller had saved in it, not any actual SP value, and it must not be
|
||||
+ // overwritten subsequently.
|
||||
+ masm.Ldr(PseudoStackPointer64, vixl::MemOperand(sp, 16, vixl::PostIndex));
|
||||
+
|
||||
+ // Perform a plain Ret(), as abiret() will move SP <- PSP and that is wrong.
|
||||
+ masm.Ret(vixl::lr);
|
||||
+#else
|
||||
masm.abiret();
|
||||
+#endif
|
||||
|
||||
masm.bind(&failureStoreOther);
|
||||
|
||||
|
|
@ -1,46 +1,33 @@
|
|||
diff -up firefox-68.0/gfx/skia/skia/include/private/SkHalf.h.old firefox-68.0/gfx/skia/skia/include/private/SkHalf.h
|
||||
--- firefox-68.0/gfx/skia/skia/include/private/SkHalf.h.old 2019-07-11 12:33:40.471936951 +0200
|
||||
+++ firefox-68.0/gfx/skia/skia/include/private/SkHalf.h 2019-07-11 12:33:50.527913736 +0200
|
||||
@@ -40,7 +40,7 @@ static inline Sk4h SkFloatToHalf_finite_
|
||||
diff -up firefox-134.0-build/firefox-134.0/gfx/skia/skia/modules/skcms/src/Transform_inl.h.aarch64-skia firefox-134.0-build/firefox-134.0/gfx/skia/skia/modules/skcms/src/Transform_inl.h
|
||||
--- firefox-134.0/gfx/skia/skia/modules/skcms/src/Transform_inl.h.aarch64-skia 2024-12-30 19:30:46.000000000 +0100
|
||||
+++ firefox-134.0/gfx/skia/skia/modules/skcms/src/Transform_inl.h 2025-01-02 20:51:07.855087265 +0100
|
||||
@@ -151,7 +151,7 @@ SI U32 to_fixed(F f) { return (U32)cast
|
||||
|
||||
static inline Sk4f SkHalfToFloat_finite_ftz(uint64_t rgba) {
|
||||
Sk4h hs = Sk4h::Load(&rgba);
|
||||
-#if !defined(SKNX_NO_SIMD) && defined(SK_CPU_ARM64)
|
||||
+#if 0 // !defined(SKNX_NO_SIMD) && defined(SK_CPU_ARM64)
|
||||
float32x4_t fs;
|
||||
asm ("fcvtl %[fs].4s, %[hs].4h \n" // vcvt_f32_f16(...)
|
||||
: [fs] "=w" (fs) // =w: write-only NEON register
|
||||
@@ -62,7 +62,7 @@ static inline Sk4f SkHalfToFloat_finite_
|
||||
}
|
||||
|
||||
static inline Sk4h SkFloatToHalf_finite_ftz(const Sk4f& fs) {
|
||||
-#if !defined(SKNX_NO_SIMD) && defined(SK_CPU_ARM64)
|
||||
+#if 0 // !defined(SKNX_NO_SIMD) && defined(SK_CPU_ARM64)
|
||||
float32x4_t vec = fs.fVec;
|
||||
asm ("fcvtn %[vec].4h, %[vec].4s \n" // vcvt_f16_f32(vec)
|
||||
: [vec] "+w" (vec)); // +w: read-write NEON register
|
||||
|
||||
diff -up firefox-68.0/gfx/skia/skia/src/opts/SkRasterPipeline_opts.h.old firefox-68.0/gfx/skia/skia/src/opts/SkRasterPipeline_opts.h
|
||||
--- firefox-68.0/gfx/skia/skia/src/opts/SkRasterPipeline_opts.h.old 2019-07-11 12:39:08.694166900 +0200
|
||||
+++ firefox-68.0/gfx/skia/skia/src/opts/SkRasterPipeline_opts.h 2019-07-11 12:39:21.572136328 +0200
|
||||
@@ -830,7 +830,7 @@ SI F from_half(U16 h) {
|
||||
}
|
||||
|
||||
SI U16 to_half(F f) {
|
||||
-#if defined(JUMPER_IS_NEON) && defined(SK_CPU_ARM64) && !defined(SK_BUILD_FOR_GOOGLE3) // Temporary workaround for some Google3 builds.
|
||||
+#if 0 // defined(JUMPER_IS_NEON) && defined(SK_CPU_ARM64) && !defined(SK_BUILD_FOR_GOOGLE3) // Temporary workaround for some Google3 builds.
|
||||
return vcvt_f16_f32(f);
|
||||
|
||||
#elif defined(JUMPER_IS_HSW) || defined(JUMPER_IS_AVX512)
|
||||
diff -up firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h.old firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h
|
||||
--- firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h.old 2019-07-11 12:38:45.285222428 +0200
|
||||
+++ firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h 2019-07-11 12:38:57.414193679 +0200
|
||||
@@ -163,7 +163,7 @@ SI F F_from_Half(U16 half) {
|
||||
SI F F_from_Half(U16 half) {
|
||||
-#if defined(USING_NEON_F16C)
|
||||
+#if 0 // defined(USING_NEON_F16C)
|
||||
return vcvt_f32_f16((float16x4_t)half);
|
||||
#elif defined(USING_AVX512F)
|
||||
return (F)_mm512_cvtph_ps((__m256i)half);
|
||||
@@ -178,7 +178,7 @@ SI F F_from_Half(U16 half) {
|
||||
__attribute__((no_sanitize("unsigned-integer-overflow")))
|
||||
#endif
|
||||
SI U16 Half_from_F(F f) {
|
||||
-#if defined(USING_NEON_F16C)
|
||||
+#if 0 // defined(USING_NEON_F16C)
|
||||
+#if 0 //defined(USING_NEON_F16C)
|
||||
return (U16)vcvt_f16_f32(f);
|
||||
#elif defined(__AVX512F__)
|
||||
#elif defined(USING_AVX512F)
|
||||
return (U16)_mm512_cvtps_ph((__m512 )f, _MM_FROUND_CUR_DIRECTION );
|
||||
diff -up firefox-134.0-build/firefox-134.0/gfx/skia/skia/src/opts/SkRasterPipeline_opts.h.aarch64-skia firefox-134.0-build/firefox-134.0/gfx/skia/skia/src/opts/SkRasterPipeline_opts.h
|
||||
--- firefox-134.0/gfx/skia/skia/src/opts/SkRasterPipeline_opts.h.aarch64-skia 2025-01-02 20:51:07.856087299 +0100
|
||||
+++ firefox-134.0/gfx/skia/skia/src/opts/SkRasterPipeline_opts.h 2025-01-02 23:09:47.802283444 +0100
|
||||
@@ -1421,7 +1421,7 @@ SI F from_half(U16 h) {
|
||||
}
|
||||
|
||||
SI U16 to_half(F f) {
|
||||
-#if defined(SKRP_CPU_NEON) && defined(SK_CPU_ARM64)
|
||||
+#if 0 // defined(SKRP_CPU_NEON) && defined(SK_CPU_ARM64)
|
||||
return (U16)vcvt_f16_f32(f);
|
||||
|
||||
#elif defined(SKRP_CPU_SKX)
|
||||
|
|
|
|||
36
build-c11-threads-avail.patch
Normal file
36
build-c11-threads-avail.patch
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -1,13 +0,0 @@
|
|||
diff -up firefox-55.0.3/js/src/jit/ExecutableAllocator.h.wasm firefox-55.0.3/js/src/jit/ExecutableAllocator.h
|
||||
--- firefox-55.0.3/js/src/jit/ExecutableAllocator.h.wasm 2017-09-05 11:32:12.235909468 +0200
|
||||
+++ firefox-55.0.3/js/src/jit/ExecutableAllocator.h 2017-09-05 11:32:46.157916575 +0200
|
||||
@@ -219,7 +219,7 @@ class ExecutableAllocator
|
||||
|
||||
static void poisonCode(JSRuntime* rt, JitPoisonRangeVector& ranges);
|
||||
|
||||
-#if defined(JS_CODEGEN_X86) || defined(JS_CODEGEN_X64) || defined(JS_SIMULATOR_ARM64)
|
||||
+#if defined(JS_CODEGEN_X86) || defined(JS_CODEGEN_X64) || defined(JS_SIMULATOR_ARM64) || defined(JS_CODEGEN_NONE)
|
||||
static void cacheFlush(void*, size_t)
|
||||
{
|
||||
}
|
||||
diff -up firefox-55.0.3/js/src/jit-test/tests/wasm/bench/wasm_box2d.wasm firefox-55.0.3/js/src/jit-test/tests/wasm/bench/wasm_box2d
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,12 +0,0 @@
|
|||
diff -up firefox-65.0/toolkit/moz.configure.disable-elfhack firefox-65.0/toolkit/moz.configure
|
||||
--- firefox-65.0/toolkit/moz.configure.disable-elfhack 2019-01-28 14:16:48.530345132 +0100
|
||||
+++ firefox-65.0/toolkit/moz.configure 2019-01-28 14:18:03.231029682 +0100
|
||||
@@ -1036,7 +1036,7 @@ with only_when('--enable-compile-environ
|
||||
help='{Enable|Disable} elf hacks')
|
||||
|
||||
set_config('USE_ELF_HACK',
|
||||
- depends_if('--enable-elf-hack')(lambda _: True))
|
||||
+ depends_if('--enable-elf-hack')(lambda _: False))
|
||||
|
||||
|
||||
@depends(check_build_environment)
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
diff --git a/config/makefiles/rust.mk b/config/makefiles/rust.mk
|
||||
--- a/config/makefiles/rust.mk
|
||||
+++ b/config/makefiles/rust.mk
|
||||
@@ -10,6 +10,10 @@
|
||||
# commands can be executed directly by make, without doing a round-trip
|
||||
# through a shell.
|
||||
|
||||
+MOZ_MAKE_FLAGS := $(filter-out -j%,$(MAKEFLAGS))
|
||||
+MAKEFLAGS += -j1
|
||||
+
|
||||
+
|
||||
cargo_host_flag := --target=$(RUST_HOST_TARGET)
|
||||
cargo_target_flag := --target=$(RUST_TARGET)
|
||||
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
diff -up firefox-61.0/build/autoconf/icu.m4.icu firefox-61.0/build/autoconf/icu.m4
|
||||
--- firefox-61.0/build/autoconf/icu.m4.icu 2018-06-20 09:03:17.957565445 +0200
|
||||
+++ firefox-61.0/build/autoconf/icu.m4 2018-06-20 09:08:28.159403451 +0200
|
||||
@@ -77,7 +77,7 @@ if test -n "$USE_ICU"; then
|
||||
# TODO: the l is actually endian-dependent
|
||||
# We could make this set as 'l' or 'b' for little or big, respectively,
|
||||
# but we'd need to check in a big-endian version of the file.
|
||||
- ICU_DATA_FILE="icudt${version}l.dat"
|
||||
+ ICU_DATA_FILE="icudt${version}b.dat"
|
||||
fi
|
||||
|
||||
AC_SUBST(MOZ_ICU_VERSION)
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
diff -up firefox-60.5.0/js/src/jit/AtomicOperations.h.jit-atomic-lucky firefox-60.5.0/js/src/jit/AtomicOperations.h
|
||||
--- firefox-60.5.0/js/src/jit/AtomicOperations.h.jit-atomic-lucky 2019-01-22 10:20:27.993697161 +0100
|
||||
+++ firefox-60.5.0/js/src/jit/AtomicOperations.h 2019-01-22 10:23:15.337873762 +0100
|
||||
@@ -394,7 +394,7 @@ inline bool AtomicOperations::isLockfree
|
||||
#elif defined(__s390__) || defined(__s390x__)
|
||||
#include "jit/none/AtomicOperations-feeling-lucky.h"
|
||||
#else
|
||||
-#error "No AtomicOperations support provided for this platform"
|
||||
+#include "jit/none/AtomicOperations-feeling-lucky.h"
|
||||
#endif
|
||||
|
||||
#endif // jit_AtomicOperations_h
|
||||
|
|
@ -1,51 +0,0 @@
|
|||
diff -up firefox-55.0/js/src/jit/MIR.h.old firefox-55.0/js/src/jit/MIR.h
|
||||
--- firefox-55.0/js/src/jit/MIR.h.old 2017-08-08 14:04:44.528460099 +0200
|
||||
+++ firefox-55.0/js/src/jit/MIR.h 2017-08-08 14:05:11.045364831 +0200
|
||||
@@ -12434,7 +12434,7 @@ class MNearbyInt
|
||||
TRIVIAL_NEW_WRAPPERS
|
||||
|
||||
static bool HasAssemblerSupport(RoundingMode mode) {
|
||||
- return Assembler::HasRoundInstruction(mode);
|
||||
+ return false;
|
||||
}
|
||||
|
||||
RoundingMode roundingMode() const { return roundingMode_; }
|
||||
diff -up firefox-55.0/js/src/jit/ExecutableAllocator.h.old firefox-55.0/js/src/jit/ExecutableAllocator.h
|
||||
--- firefox-55.0/js/src/jit/ExecutableAllocator.h.old 2017-08-09 09:24:18.784983505 +0200
|
||||
+++ firefox-55.0/js/src/jit/ExecutableAllocator.h 2017-08-09 09:28:01.471100075 +0200
|
||||
@@ -307,6 +307,10 @@ class ExecutableAllocator
|
||||
{
|
||||
sync_instruction_memory((caddr_t)code, size);
|
||||
}
|
||||
+#else
|
||||
+ static void cacheFlush(void*, size_t)
|
||||
+ {
|
||||
+ }
|
||||
#endif
|
||||
|
||||
private:
|
||||
diff -up firefox-55.0/js/src/wasm/WasmBuiltins.cpp.old firefox-55.0/js/src/wasm/WasmBuiltins.cpp
|
||||
--- firefox-55.0/js/src/wasm/WasmBuiltins.cpp.old 2017-08-09 12:50:46.877450765 +0200
|
||||
+++ firefox-55.0/js/src/wasm/WasmBuiltins.cpp 2017-08-09 12:50:59.725406974 +0200
|
||||
@@ -881,7 +881,6 @@ wasm::EnsureBuiltinThunksInitialized()
|
||||
MOZ_ASSERT(!masm.numSymbolicAccesses());
|
||||
#endif
|
||||
|
||||
- ExecutableAllocator::cacheFlush(thunks->codeBase, thunks->codeSize);
|
||||
if (!ExecutableAllocator::makeExecutable(thunks->codeBase, thunks->codeSize))
|
||||
return false;
|
||||
|
||||
diff -up firefox-55.0/js/src/wasm/WasmCode.cpp.old firefox-55.0/js/src/wasm/WasmCode.cpp
|
||||
--- firefox-55.0/js/src/wasm/WasmCode.cpp.old 2017-08-09 12:50:37.205483731 +0200
|
||||
+++ firefox-55.0/js/src/wasm/WasmCode.cpp 2017-08-09 12:51:10.365370708 +0200
|
||||
@@ -287,8 +287,6 @@ CodeSegment::initialize(Tier tier,
|
||||
if (!StaticallyLink(*this, linkData))
|
||||
return false;
|
||||
|
||||
- ExecutableAllocator::cacheFlush(bytes_.get(), RoundupCodeLength(codeLength));
|
||||
-
|
||||
// Reprotect the whole region to avoid having separate RW and RX mappings.
|
||||
if (!ExecutableAllocator::makeExecutable(bytes_.get(), RoundupCodeLength(codeLength)))
|
||||
return false;
|
||||
diff -up firefox-55.0/media/libyuv/libyuv/tools_libyuv/autoroller/unittests/testdata/DEPS.chromium.old firefox-55.0/media/libyuv/libyuv/tools_libyuv/autoroller/unittests/testdata/DEPS.chromium
|
||||
diff -up firefox-55.0/media/webrtc/trunk/Makefile.old firefox-55.0/media/webrtc/trunk/Makefile
|
||||
|
|
@ -1,25 +0,0 @@
|
|||
diff -up firefox-55.0/build/moz.configure/rust.configure.rust-ppc64le firefox-55.0/build/moz.configure/rust.configure
|
||||
--- firefox-55.0/build/moz.configure/rust.configure.rust-ppc64le 2017-07-31 18:20:49.000000000 +0200
|
||||
+++ firefox-55.0/build/moz.configure/rust.configure 2017-08-02 10:19:03.254220003 +0200
|
||||
@@ -151,6 +151,9 @@ def rust_triple_alias(host_or_target):
|
||||
('sparc64', 'Linux'): 'sparc64-unknown-linux-gnu',
|
||||
('x86', 'Linux'): 'i686-unknown-linux-gnu',
|
||||
('x86_64', 'Linux'): 'x86_64-unknown-linux-gnu',
|
||||
+ ('ppc64le', 'Linux'): 'powerpc64le-unknown-linux-gnu',
|
||||
+ ('ppc64', 'Linux'): 'powerpc64-unknown-linux-gnu',
|
||||
+ ('s390x', 'Linux'): 's390x-unknown-linux-gnu',
|
||||
# OS X
|
||||
('x86', 'OSX'): 'i686-apple-darwin',
|
||||
('x86_64', 'OSX'): 'x86_64-apple-darwin',
|
||||
@@ -174,8 +177,10 @@ def rust_triple_alias(host_or_target):
|
||||
('sparc64', 'SunOS'): 'sparcv9-sun-solaris',
|
||||
}.get((host_or_target.cpu, os_or_kernel), None)
|
||||
|
||||
+ if (rustc_target == 'powerpc64-unknown-linux-gnu' and host_or_target.endianness == 'little'):
|
||||
+ rustc_target = 'powerpc64le-unknown-linux-gnu'
|
||||
if rustc_target is None:
|
||||
- die("Don't know how to translate {} for rustc".format(host_or_target.alias))
|
||||
+ die("Don't know how to translate {} for rustc, cpu: {}, os: {}".format(target.alias, target.cpu, os_or_kernel))
|
||||
|
||||
# Check to see whether our rustc has a reasonably functional stdlib
|
||||
# for our chosen target.
|
||||
11
build-seccomp.patch
Normal file
11
build-seccomp.patch
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
diff -up thunderbird-145.0/security/sandbox/chromium/sandbox/linux/system_headers/linux_seccomp.h.seccomp thunderbird-145.0/security/sandbox/chromium/sandbox/linux/system_headers/linux_seccomp.h
|
||||
--- thunderbird-145.0/security/sandbox/chromium/sandbox/linux/system_headers/linux_seccomp.h.seccomp 2025-12-09 13:42:31.378958842 +0100
|
||||
+++ thunderbird-145.0/security/sandbox/chromium/sandbox/linux/system_headers/linux_seccomp.h 2025-12-09 13:42:37.886937626 +0100
|
||||
@@ -6,6 +6,7 @@
|
||||
#define SANDBOX_LINUX_SYSTEM_HEADERS_LINUX_SECCOMP_H_
|
||||
|
||||
#include <stdint.h>
|
||||
+#include <signal.h>
|
||||
#include <sys/ioctl.h>
|
||||
|
||||
#include "build/build_config.h"
|
||||
36
disable-openh264-download.patch
Normal file
36
disable-openh264-download.patch
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
diff -up firefox-121.0/toolkit/content/jar.mn.disable-openh264-download firefox-121.0/toolkit/content/jar.mn
|
||||
--- firefox-121.0/toolkit/content/jar.mn.disable-openh264-download 2023-12-18 20:15:04.352014249 +0100
|
||||
+++ firefox-121.0/toolkit/content/jar.mn 2023-12-18 20:19:26.857929200 +0100
|
||||
@@ -130,7 +130,6 @@ toolkit.jar:
|
||||
#ifdef XP_MACOSX
|
||||
content/global/macWindowMenu.js
|
||||
#endif
|
||||
- content/global/gmp-sources/openh264.json (gmp-sources/openh264.json)
|
||||
content/global/gmp-sources/widevinecdm.json (gmp-sources/widevinecdm.json)
|
||||
content/global/gmp-sources/widevinecdm_l1.json (gmp-sources/widevinecdm_l1.json)
|
||||
|
||||
diff -up firefox-121.0/toolkit/modules/GMPInstallManager.sys.mjs.disable-openh264-download firefox-121.0/toolkit/modules/GMPInstallManager.sys.mjs
|
||||
--- firefox-121.0/toolkit/modules/GMPInstallManager.sys.mjs.disable-openh264-download 2023-12-11 21:42:21.000000000 +0100
|
||||
+++ firefox-121.0/toolkit/modules/GMPInstallManager.sys.mjs 2023-12-18 20:18:52.665768579 +0100
|
||||
@@ -35,11 +35,6 @@ function getScopedLogger(prefix) {
|
||||
|
||||
const LOCAL_GMP_SOURCES = [
|
||||
{
|
||||
- id: "gmp-gmpopenh264",
|
||||
- src: "chrome://global/content/gmp-sources/openh264.json",
|
||||
- installByDefault: true,
|
||||
- },
|
||||
- {
|
||||
id: "gmp-widevinecdm",
|
||||
src: "chrome://global/content/gmp-sources/widevinecdm.json",
|
||||
installByDefault: true,
|
||||
@@ -421,6 +416,9 @@ GMPInstallManager.prototype = {
|
||||
* downloaderr, verifyerr or previouserrorencountered
|
||||
*/
|
||||
installAddon(gmpAddon) {
|
||||
+ if (gmpAddon.isOpenH264) {
|
||||
+ return Promise.reject({ type: "disabled" });
|
||||
+ }
|
||||
if (this._deferred) {
|
||||
let log = getScopedLogger("GMPInstallManager.installAddon");
|
||||
log.error("previous error encountered");
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
[Global]
|
||||
id=fedora
|
||||
version=1.0
|
||||
about=Mozilla Firefox for Fedora
|
||||
|
||||
[Preferences]
|
||||
app.distributor=fedora
|
||||
app.distributor.channel=fedora
|
||||
app.partner.fedora=fedora
|
||||
9
distribution.ini.in
Normal file
9
distribution.ini.in
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
[Global]
|
||||
id=__ID__
|
||||
version=1.0
|
||||
about=Mozilla Firefox for __NAME__
|
||||
|
||||
[Preferences]
|
||||
app.distributor=__ID__
|
||||
app.distributor.channel=__ID__
|
||||
app.partner.fedora=__ID__
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
diff -up firefox-54.0/media/libyuv/libyuv/tools_libyuv/autoroller/unittests/testdata/DEPS.chromium.old firefox-54.0/media/libyuv/libyuv/tools_libyuv/autoroller/unittests/testdata/DEPS.chromium
|
||||
diff -up firefox-54.0/media/mtransport/third_party/nICEr/nicer.gyp.old firefox-54.0/media/mtransport/third_party/nICEr/nicer.gyp
|
||||
--- firefox-54.0/media/mtransport/third_party/nICEr/nicer.gyp.old 2017-06-08 14:59:08.786996664 +0200
|
||||
+++ firefox-54.0/media/mtransport/third_party/nICEr/nicer.gyp 2017-06-08 14:59:22.642946570 +0200
|
||||
@@ -211,7 +211,6 @@
|
||||
'-Wno-parentheses',
|
||||
'-Wno-strict-prototypes',
|
||||
'-Wmissing-prototypes',
|
||||
- '-Wno-format',
|
||||
],
|
||||
'defines' : [
|
||||
'LINUX',
|
||||
diff -up firefox-54.0/media/mtransport/third_party/nrappkit/nrappkit.gyp.build firefox-54.0/media/mtransport/third_party/nrappkit/nrappkit.gyp
|
||||
--- firefox-54.0/media/mtransport/third_party/nrappkit/nrappkit.gyp.build 2017-06-08 15:08:03.627063097 +0200
|
||||
+++ firefox-54.0/media/mtransport/third_party/nrappkit/nrappkit.gyp 2017-06-08 15:08:15.657019606 +0200
|
||||
@@ -206,7 +206,6 @@
|
||||
'-Wno-parentheses',
|
||||
'-Wno-strict-prototypes',
|
||||
'-Wmissing-prototypes',
|
||||
- '-Wno-format',
|
||||
],
|
||||
'defines' : [
|
||||
'LINUX',
|
||||
17
fedora-customization.patch
Normal file
17
fedora-customization.patch
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
diff -up firefox-124.0/toolkit/xre/nsAppRunner.cpp.fedora-customization firefox-124.0/toolkit/xre/nsAppRunner.cpp
|
||||
diff -up firefox-124.0/widget/gtk/nsWindow.cpp.fedora-customization firefox-124.0/widget/gtk/nsWindow.cpp
|
||||
--- firefox-124.0/widget/gtk/nsWindow.cpp.fedora-customization 2024-03-13 12:35:57.098591719 +0100
|
||||
+++ firefox-124.0/widget/gtk/nsWindow.cpp 2024-03-13 12:43:17.375928494 +0100
|
||||
@@ -3459,6 +3459,12 @@ nsresult nsWindow::SetTitle(const nsAStr
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
+ const char* appTitle = getenv("MOZ_APP_TITLE");
|
||||
+ if (appTitle) {
|
||||
+ gtk_window_set_title(GTK_WINDOW(mShell), appTitle);
|
||||
+ return NS_OK;
|
||||
+ }
|
||||
+
|
||||
// convert the string into utf8 and set the title.
|
||||
#define UTF8_FOLLOWBYTE(ch) (((ch) & 0xC0) == 0x80)
|
||||
NS_ConvertUTF16toUTF8 titleUTF8(aTitle);
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
diff -up firefox-55.0/browser/app/profile/firefox.js.addons firefox-55.0/browser/app/profile/firefox.js
|
||||
--- firefox-55.0/browser/app/profile/firefox.js.addons 2017-08-02 10:58:30.566363833 +0200
|
||||
+++ firefox-55.0/browser/app/profile/firefox.js 2017-08-02 10:59:15.377216959 +0200
|
||||
@@ -65,7 +65,8 @@ pref("extensions.systemAddon.update.url"
|
||||
diff -up firefox-125.0/browser/app/profile/firefox.js.addons firefox-125.0/browser/app/profile/firefox.js
|
||||
--- firefox-125.0/browser/app/profile/firefox.js.addons 2024-04-09 10:34:30.728405003 +0200
|
||||
+++ firefox-125.0/browser/app/profile/firefox.js 2024-04-09 10:36:01.444584632 +0200
|
||||
@@ -58,7 +58,8 @@ pref("extensions.systemAddon.update.enab
|
||||
|
||||
// Disable add-ons that are not installed by the user in all scopes by default.
|
||||
// See the SCOPE constants in AddonManager.jsm for values to use here.
|
||||
// See the SCOPE constants in AddonManager.sys.mjs for values to use here.
|
||||
-pref("extensions.autoDisableScopes", 15);
|
||||
+pref("extensions.autoDisableScopes", 0);
|
||||
+pref("extensions.showMismatchUI", false);
|
||||
|
|
|
|||
|
|
@ -1,19 +0,0 @@
|
|||
diff -up firefox-65.0/netwerk/protocol/http/nsHttpHandler.cpp.fedora-ua firefox-65.0/netwerk/protocol/http/nsHttpHandler.cpp
|
||||
--- firefox-65.0/netwerk/protocol/http/nsHttpHandler.cpp.fedora-ua 2019-01-28 14:28:35.806375063 +0100
|
||||
+++ firefox-65.0/netwerk/protocol/http/nsHttpHandler.cpp 2019-01-28 14:30:25.886917219 +0100
|
||||
@@ -873,6 +873,7 @@ void nsHttpHandler::BuildUserAgent() {
|
||||
mUserAgent.SetCapacity(mLegacyAppName.Length() + mLegacyAppVersion.Length() +
|
||||
#ifndef UA_SPARE_PLATFORM
|
||||
mPlatform.Length() +
|
||||
+ mPlatform.Length() + 8 +
|
||||
#endif
|
||||
mOscpu.Length() + mMisc.Length() + mProduct.Length() +
|
||||
mProductSub.Length() + mAppName.Length() +
|
||||
@@ -891,6 +892,7 @@ void nsHttpHandler::BuildUserAgent() {
|
||||
if (!mPlatform.IsEmpty()) {
|
||||
mUserAgent += mPlatform;
|
||||
mUserAgent.AppendLiteral("; ");
|
||||
+ mUserAgent.AppendLiteral("Fedora; ");
|
||||
}
|
||||
#endif
|
||||
if (!mCompatDevice.IsEmpty()) {
|
||||
24
firefox-gcc-13-build.patch
Normal file
24
firefox-gcc-13-build.patch
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
--- firefox-109.0.1/gfx/2d/Rect.h.old 2023-02-07 09:44:24.946279843 +0100
|
||||
+++ firefox-109.0.1/gfx/2d/Rect.h 2023-02-07 09:44:47.969032049 +0100
|
||||
@@ -324,8 +324,8 @@ IntRectTyped<Units> RoundedToInt(const R
|
||||
|
||||
template <class Units>
|
||||
bool RectIsInt32Safe(const RectTyped<Units>& aRect) {
|
||||
- float min = (float)std::numeric_limits<std::int32_t>::min();
|
||||
- float max = (float)std::numeric_limits<std::int32_t>::max();
|
||||
+ float min = (float)std::numeric_limits<int32_t>::min();
|
||||
+ float max = (float)std::numeric_limits<int32_t>::max();
|
||||
return aRect.x > min && aRect.y > min && aRect.width < max &&
|
||||
aRect.height < max && aRect.XMost() < max && aRect.YMost() < max;
|
||||
}
|
||||
diff -up firefox-109.0.1/toolkit/components/telemetry/pingsender/pingsender.cpp.old firefox-109.0.1/toolkit/components/telemetry/pingsender/pingsender.cpp
|
||||
--- firefox-109.0.1/toolkit/components/telemetry/pingsender/pingsender.cpp.old 2023-02-07 11:03:41.788720090 +0100
|
||||
+++ firefox-109.0.1/toolkit/components/telemetry/pingsender/pingsender.cpp 2023-02-07 11:04:29.195345659 +0100
|
||||
@@ -10,6 +10,7 @@
|
||||
#include <iomanip>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
+#include <cstdint>
|
||||
|
||||
#include <zlib.h>
|
||||
|
||||
19
firefox-gcc-15.0-s390.patch
Normal file
19
firefox-gcc-15.0-s390.patch
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
diff -up firefox-137.0.2/toolkit/components/protobuf/src/google/protobuf/port_def.inc.s390 firefox-137.0.2/toolkit/components/protobuf/src/google/protobuf/port_def.inc
|
||||
--- firefox-137.0.2/toolkit/components/protobuf/src/google/protobuf/port_def.inc.s390 2025-04-22 11:42:00.650759505 +0200
|
||||
+++ firefox-137.0.2/toolkit/components/protobuf/src/google/protobuf/port_def.inc 2025-04-22 11:46:02.522031338 +0200
|
||||
@@ -257,12 +257,14 @@
|
||||
#if __has_cpp_attribute(clang::musttail) && !defined(__arm__) && \
|
||||
!defined(_ARCH_PPC) && !defined(__wasm__) && \
|
||||
!(defined(_MSC_VER) && defined(_M_IX86)) && \
|
||||
- !(defined(__NDK_MAJOR__) && __NDK_MAJOR <= 24)
|
||||
+ !(defined(__NDK_MAJOR__) && __NDK_MAJOR <= 24) && \
|
||||
+ !defined(__s390__)
|
||||
# ifndef PROTO2_OPENSOURCE
|
||||
// Compilation fails on ARM32: b/195943306
|
||||
// Compilation fails on powerpc64le: b/187985113
|
||||
// Compilation fails on X86 Windows:
|
||||
// https://github.com/llvm/llvm-project/issues/53271
|
||||
+// Compilation fails on S390 for calls with more than 4 arguments
|
||||
# endif
|
||||
#define PROTOBUF_MUSTTAIL [[clang::musttail]]
|
||||
#define PROTOBUF_TAILCALL true
|
||||
14
firefox-gcc-always-inline.patch
Normal file
14
firefox-gcc-always-inline.patch
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
diff -up firefox-114.0.2/gfx/wr/swgl/src/gl.cc.inline firefox-114.0.2/gfx/wr/swgl/src/gl.cc
|
||||
--- firefox-114.0.2/gfx/wr/swgl/src/gl.cc.inline 2023-06-22 11:08:53.294593327 +0200
|
||||
+++ firefox-114.0.2/gfx/wr/swgl/src/gl.cc 2023-06-22 11:12:43.663486734 +0200
|
||||
@@ -58,9 +58,7 @@ WINBASEAPI BOOL WINAPI QueryPerformanceF
|
||||
}
|
||||
|
||||
#else
|
||||
-// GCC is slower when dealing with always_inline, especially in debug builds.
|
||||
-// When using Clang, use always_inline more aggressively.
|
||||
-# if defined(__clang__) || defined(NDEBUG)
|
||||
+# if defined(__clang__) || defined (__GNUC__) || defined(NDEBUG)
|
||||
# define ALWAYS_INLINE __attribute__((always_inline)) inline
|
||||
# else
|
||||
# define ALWAYS_INLINE inline
|
||||
38
firefox-gcc-build.patch
Normal file
38
firefox-gcc-build.patch
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
--- firefox-80.0.1/toolkit/crashreporter/google-breakpad/src/third_party/lss/linux_syscall_support.h 2020-08-31 10:04:19.000000000 -0400
|
||||
+++ firefox-80.0.1/toolkit/crashreporter/google-breakpad/src/third_party/lss/linux_syscall_support.h 2020-09-12 07:24:35.298931628 -0400
|
||||
@@ -1962,7 +1962,7 @@ struct kernel_statfs {
|
||||
LSS_ENTRYPOINT \
|
||||
"pop %%ebx" \
|
||||
args \
|
||||
- : "esp", "memory"); \
|
||||
+ : "memory"); \
|
||||
LSS_RETURN(type,__res)
|
||||
#undef _syscall0
|
||||
#define _syscall0(type,name) \
|
||||
@@ -2019,7 +2019,7 @@ struct kernel_statfs {
|
||||
: "i" (__NR_##name), "ri" ((long)(arg1)), \
|
||||
"c" ((long)(arg2)), "d" ((long)(arg3)), \
|
||||
"S" ((long)(arg4)), "D" ((long)(arg5)) \
|
||||
- : "esp", "memory"); \
|
||||
+ : "memory"); \
|
||||
LSS_RETURN(type,__res); \
|
||||
}
|
||||
#undef _syscall6
|
||||
@@ -2041,7 +2041,7 @@ struct kernel_statfs {
|
||||
: "i" (__NR_##name), "0" ((long)(&__s)), \
|
||||
"c" ((long)(arg2)), "d" ((long)(arg3)), \
|
||||
"S" ((long)(arg4)), "D" ((long)(arg5)) \
|
||||
- : "esp", "memory"); \
|
||||
+ : "memory"); \
|
||||
LSS_RETURN(type,__res); \
|
||||
}
|
||||
LSS_INLINE int LSS_NAME(clone)(int (*fn)(void *), void *child_stack,
|
||||
@@ -2127,7 +2127,7 @@ struct kernel_statfs {
|
||||
: "0"(-EINVAL), "i"(__NR_clone),
|
||||
"m"(fn), "m"(child_stack), "m"(flags), "m"(arg),
|
||||
"m"(parent_tidptr), "m"(newtls), "m"(child_tidptr)
|
||||
- : "esp", "memory", "ecx", "edx", "esi", "edi");
|
||||
+ : "memory", "ecx", "edx", "esi", "edi");
|
||||
LSS_RETURN(int, __res);
|
||||
}
|
||||
|
||||
12
firefox-i686-build.patch
Normal file
12
firefox-i686-build.patch
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
diff -up firefox-105.0/mozglue/misc/SIMD_avx2.cpp.old firefox-105.0/mozglue/misc/SIMD_avx2.cpp
|
||||
--- firefox-105.0/mozglue/misc/SIMD_avx2.cpp.old 2022-09-22 21:35:07.006221995 +0200
|
||||
+++ firefox-105.0/mozglue/misc/SIMD_avx2.cpp 2022-09-22 21:36:12.972480517 +0200
|
||||
@@ -55,7 +55,7 @@ __m256i CmpEq256(__m256i a, __m256i b) {
|
||||
return _mm256_cmpeq_epi64(a, b);
|
||||
}
|
||||
|
||||
-# if defined(__GNUC__) && !defined(__clang__)
|
||||
+# if 0
|
||||
|
||||
// See the comment in SIMD.cpp over Load32BitsIntoXMM. This is just adapted
|
||||
// from that workaround. Testing this, it also yields the correct instructions
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
diff -up firefox-63.0.1/intl/locale/LocaleService.cpp.old firefox-63.0.1/intl/locale/LocaleService.cpp
|
||||
--- firefox-63.0.1/intl/locale/LocaleService.cpp.old 2018-11-14 13:34:16.338285161 +0100
|
||||
+++ firefox-63.0.1/intl/locale/LocaleService.cpp 2018-11-14 13:34:21.438270308 +0100
|
||||
@@ -708,7 +708,6 @@ LocaleService::GetDefaultLocale(nsACStri
|
||||
GetGREFileContents("update.locale", &locale);
|
||||
locale.Trim(" \t\n\r");
|
||||
// This should never be empty.
|
||||
- MOZ_ASSERT(!locale.IsEmpty());
|
||||
if (SanitizeForBCP47(locale, true)) {
|
||||
mDefaultLocale.Assign(locale);
|
||||
}
|
||||
|
|
@ -1,26 +1,20 @@
|
|||
. $topsrcdir/browser/config/mozconfig
|
||||
|
||||
ac_add_options --prefix="$PREFIX"
|
||||
ac_add_options --libdir="$LIBDIR"
|
||||
ac_add_options --with-system-zlib
|
||||
ac_add_options --with-system-bz2
|
||||
ac_add_options --disable-strip
|
||||
#ac_add_options --enable-libnotify
|
||||
ac_add_options --enable-necko-wifi
|
||||
ac_add_options --enable-startup-notification
|
||||
ac_add_options --disable-updater
|
||||
ac_add_options --enable-chrome-format=omni
|
||||
ac_add_options --enable-pulseaudio
|
||||
ac_add_options --enable-av1
|
||||
ac_add_options --without-system-icu
|
||||
ac_add_options --with-mozilla-api-keyfile=../mozilla-api-key
|
||||
ac_add_options --with-google-location-service-api-keyfile=../google-api-key
|
||||
ac_add_options --with-google-safebrowsing-api-keyfile=../google-api-key
|
||||
ac_add_options --enable-release
|
||||
ac_add_options --update-channel=release
|
||||
ac_add_options --disable-system-sqlite
|
||||
# Workaround for mozbz#1341234
|
||||
ac_add_options BINDGEN_CFLAGS="$(pkg-config nspr pixman-1 --cflags)"
|
||||
ac_add_options --enable-av1
|
||||
ac_add_options --allow-addon-sideload
|
||||
ac_add_options --with-system-fdk-aac
|
||||
ac_add_options --enable-js-shell
|
||||
ac_add_options --with-unsigned-addon-scopes=app,system
|
||||
ac_add_options --disable-bootstrap
|
||||
|
||||
export BUILD_OFFICIAL=1
|
||||
export MOZILLA_OFFICIAL=1
|
||||
|
|
|
|||
19
firefox-nss-addon-hack.patch
Normal file
19
firefox-nss-addon-hack.patch
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
diff -up firefox-84.0.2/security/certverifier/NSSCertDBTrustDomain.cpp.nss-hack firefox-84.0.2/security/certverifier/NSSCertDBTrustDomain.cpp
|
||||
--- firefox-84.0.2/security/certverifier/NSSCertDBTrustDomain.cpp.nss-hack 2021-01-11 12:12:02.585514543 +0100
|
||||
+++ firefox-84.0.2/security/certverifier/NSSCertDBTrustDomain.cpp 2021-01-11 12:47:50.345984582 +0100
|
||||
@@ -1619,6 +1619,15 @@ SECStatus InitializeNSS(const nsACString
|
||||
return srv;
|
||||
}
|
||||
|
||||
+ /* Sets the NSS_USE_ALG_IN_ANY_SIGNATURE bit.
|
||||
+ * does not change NSS_USE_ALG_IN_CERT_SIGNATURE,
|
||||
+ * so policy will still disable use of sha1 in
|
||||
+ * certificate related signature processing. */
|
||||
+ srv = NSS_SetAlgorithmPolicy(SEC_OID_SHA1, NSS_USE_ALG_IN_ANY_SIGNATURE, 0);
|
||||
+ if (srv != SECSuccess) {
|
||||
+ NS_WARNING("Unable to use SHA1 for Add-ons, expect broken/disabled Add-ons. See https://bugzilla.redhat.com/show_bug.cgi?id=1908018 for details.");
|
||||
+ }
|
||||
+
|
||||
if (nssDbConfig == NSSDBConfig::ReadWrite) {
|
||||
UniquePK11SlotInfo slot(PK11_GetInternalKeySlot());
|
||||
if (!slot) {
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
diff -up firefox-71.0/old-configure.in.nss-version firefox-71.0/old-configure.in
|
||||
--- firefox-71.0/old-configure.in.nss-version 2019-11-25 15:15:15.767572575 +0100
|
||||
+++ firefox-71.0/old-configure.in 2019-11-25 15:16:47.363498527 +0100
|
||||
@@ -1512,7 +1512,7 @@ MOZ_ARG_WITH_BOOL(system-nss,
|
||||
_USE_SYSTEM_NSS=1 )
|
||||
|
||||
if test -n "$_USE_SYSTEM_NSS"; then
|
||||
- AM_PATH_NSS(3.47.1, [MOZ_SYSTEM_NSS=1], [AC_MSG_ERROR([you don't have NSS installed or your version is too old])])
|
||||
+ AM_PATH_NSS(3.47.0, [MOZ_SYSTEM_NSS=1], [AC_MSG_ERROR([you don't have NSS installed or your version is too old])])
|
||||
fi
|
||||
|
||||
NSS_CFLAGS="$NSS_CFLAGS -I${DIST}/include/nss"
|
||||
|
|
@ -1,63 +0,0 @@
|
|||
diff -up firefox-68.0/config/system-headers.mozbuild.firefox-pipewire firefox-68.0/config/system-headers.mozbuild
|
||||
--- firefox-68.0/config/system-headers.mozbuild.firefox-pipewire 2019-07-01 22:30:26.000000000 +0200
|
||||
+++ firefox-68.0/config/system-headers.mozbuild 2019-07-08 15:26:15.397161627 +0200
|
||||
@@ -314,6 +314,7 @@ system_headers = [
|
||||
'Gestalt.h',
|
||||
'getopt.h',
|
||||
'gio/gio.h',
|
||||
+ 'gio/gunixfdlist.h',
|
||||
'glibconfig.h',
|
||||
'glib.h',
|
||||
'glib-object.h',
|
||||
@@ -607,6 +608,7 @@ system_headers = [
|
||||
'Pgenerr.h',
|
||||
'PGenErr.h',
|
||||
'Ph.h',
|
||||
+ 'pipewire/pipewire.h',
|
||||
'pixman.h',
|
||||
'pk11func.h',
|
||||
'pk11pqg.h',
|
||||
diff -up firefox-68.0/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_generic_gn/moz.build.firefox-pipewire firefox-68.0/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_generic_gn/moz.build
|
||||
--- firefox-68.0/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_generic_gn/moz.build.firefox-pipewire 2019-07-01 22:30:33.000000000 +0200
|
||||
+++ firefox-68.0/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_generic_gn/moz.build 2019-07-08 15:26:15.397161627 +0200
|
||||
@@ -194,6 +194,28 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/window_capturer_linux.cc"
|
||||
]
|
||||
|
||||
+# PipeWire specific files
|
||||
+if CONFIG["OS_TARGET"] == "Linux":
|
||||
+
|
||||
+ DEFINES["WEBRTC_USE_PIPEWIRE"] = "1"
|
||||
+
|
||||
+ OS_LIBS += [
|
||||
+ "rt",
|
||||
+ "pipewire-0.2",
|
||||
+ "glib-2.0",
|
||||
+ "gio-2.0",
|
||||
+ "gobject-2.0"
|
||||
+ ]
|
||||
+
|
||||
+ CXXFLAGS += CONFIG['TK_CFLAGS']
|
||||
+
|
||||
+ UNIFIED_SOURCES += [
|
||||
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/linux/base_capturer_pipewire.cc",
|
||||
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/linux/screen_capturer_pipewire.cc",
|
||||
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/linux/window_capturer_pipewire.cc"
|
||||
+ ]
|
||||
+
|
||||
+
|
||||
if CONFIG["OS_TARGET"] == "NetBSD":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
diff -up firefox-68.0/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_options.h.firefox-pipewire firefox-68.0/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_options.h
|
||||
--- firefox-68.0/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_options.h.firefox-pipewire 2019-07-08 16:42:13.936254926 +0200
|
||||
+++ firefox-68.0/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_options.h 2019-07-08 16:42:17.509264974 +0200
|
||||
@@ -141,7 +141,7 @@ class DesktopCaptureOptions {
|
||||
bool disable_effects_ = true;
|
||||
bool detect_updated_region_ = false;
|
||||
#if defined(WEBRTC_USE_PIPEWIRE)
|
||||
- bool allow_pipewire_ = false;
|
||||
+ bool allow_pipewire_ = true;
|
||||
#endif
|
||||
};
|
||||
|
||||
|
|
@ -2,13 +2,11 @@ pref("app.update.auto", false);
|
|||
pref("app.update.enabled", false);
|
||||
pref("app.update.autoInstallEnabled", false);
|
||||
pref("general.smoothScroll", true);
|
||||
pref("intl.locale.matchOS", true);
|
||||
pref("intl.locale.requested", "");
|
||||
pref("toolkit.storage.synchronous", 0);
|
||||
pref("toolkit.networkmanager.disable", false);
|
||||
pref("offline.autoDetect", true);
|
||||
pref("browser.backspace_action", 2);
|
||||
pref("browser.display.use_system_colors", true);
|
||||
pref("browser.download.folderList", 1);
|
||||
pref("browser.link.open_external", 3);
|
||||
pref("browser.shell.checkDefaultBrowser", false);
|
||||
|
|
@ -18,20 +16,18 @@ pref("ui.SpellCheckerUnderlineStyle", 1);
|
|||
pref("startup.homepage_override_url", "");
|
||||
pref("browser.startup.homepage", "data:text/plain,browser.startup.homepage=https://start.fedoraproject.org/");
|
||||
pref("browser.newtabpage.pinned", '[{"url":"https://start.fedoraproject.org/","title":"Fedora Project - Start Page"}]');
|
||||
pref("geo.wifi.uri", "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%");
|
||||
pref("media.gmp-gmpopenh264.provider.enabled",false);
|
||||
pref("media.gmp-gmpopenh264.autoupdate",false);
|
||||
pref("media.gmp-gmpopenh264.enabled",false);
|
||||
pref("media.gmp-gmpopenh264.enabled",false);
|
||||
pref("media.gmp.decoder.enabled", true);
|
||||
pref("plugins.notifyMissingFlash", false);
|
||||
/* See https://bugzilla.redhat.com/show_bug.cgi?id=1226489 */
|
||||
pref("browser.display.use_system_colors", false);
|
||||
pref("layers.use-image-offscreen-surfaces", false);
|
||||
/* Allow sending credetials to all https:// sites */
|
||||
pref("network.negotiate-auth.trusted-uris", "https://");
|
||||
pref("spellchecker.dictionary_path","/usr/share/myspell");
|
||||
pref("spellchecker.dictionary_path","/usr/share/hunspell");
|
||||
/* Disable DoH by default */
|
||||
pref("network.trr.mode", 5);
|
||||
/* Enable per-user policy dir, see mozbz#1583466 */
|
||||
pref("browser.policies.perUserDir", true);
|
||||
pref("widget.gnome-search-provider.enabled",true);
|
||||
pref("browser.gnome-search-provider.enabled",true);
|
||||
/* Enable ffvpx playback for WebRTC */
|
||||
pref("media.navigator.mediadatadecoder_vpx_enabled", true);
|
||||
|
|
|
|||
|
|
@ -1,5 +0,0 @@
|
|||
[Shell Search Provider]
|
||||
DesktopId=org.mozilla.Firefox.desktop
|
||||
BusName=org.mozilla.Firefox.SearchProvider
|
||||
ObjectPath=/org/mozilla/Firefox/SearchProvider
|
||||
Version=2
|
||||
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 2.2 KiB |
|
|
@ -1,21 +0,0 @@
|
|||
diff -up firefox-69.0.1/widget/gtk/WindowSurfaceWayland.cpp.old firefox-69.0.1/widget/gtk/WindowSurfaceWayland.cpp
|
||||
--- firefox-69.0.1/widget/gtk/WindowSurfaceWayland.cpp.old 2019-09-19 15:05:13.586437024 +0200
|
||||
+++ firefox-69.0.1/widget/gtk/WindowSurfaceWayland.cpp 2019-09-19 15:09:39.649079248 +0200
|
||||
@@ -836,8 +836,15 @@ already_AddRefed<gfx::DrawTarget> Window
|
||||
mBufferScreenRect = lockedScreenRect;
|
||||
}
|
||||
|
||||
- mDrawToWaylandBufferDirectly =
|
||||
- (windowRedraw || mRenderingCacheMode != CACHE_ALL);
|
||||
+ if (mRenderingCacheMode == CACHE_ALL) {
|
||||
+ mDrawToWaylandBufferDirectly = windowRedraw;
|
||||
+ } else if (mRenderingCacheMode == CACHE_MISSING) {
|
||||
+ mDrawToWaylandBufferDirectly = windowRedraw ||
|
||||
+ ((lockSize.width*3 > lockedScreenRect.width &&
|
||||
+ lockSize.height*3 > lockedScreenRect.height));
|
||||
+ } else {
|
||||
+ mDrawToWaylandBufferDirectly = true;
|
||||
+ }
|
||||
|
||||
if (mDrawToWaylandBufferDirectly) {
|
||||
LOGWAYLAND((" Direct drawing\n"));
|
||||
|
|
@ -11,7 +11,7 @@ MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xm
|
|||
StartupNotify=true
|
||||
Categories=Network;WebBrowser;
|
||||
Keywords=web;browser;internet;
|
||||
Actions=new-window;new-private-window;
|
||||
Actions=new-window;new-private-window;profile-manager-window;
|
||||
|
||||
[Desktop Action new-window]
|
||||
Name=Open a New Window
|
||||
|
|
@ -24,8 +24,8 @@ Name[ast]=Ventana nueva
|
|||
Name[az]=Yeni Pəncərə
|
||||
Name[be]=Новае акно
|
||||
Name[bg]=Нов прозорец
|
||||
Name[bn-BD]=নতুন উইন্ডো (N)
|
||||
Name[bn-IN]=নতুন উইন্ডো
|
||||
Name[bn_BD]=নতুন উইন্ডো (N)
|
||||
Name[bn_IN]=নতুন উইন্ডো
|
||||
Name[br]=Prenestr nevez
|
||||
Name[brx]=गोदान उइन्ड'(N)
|
||||
Name[bs]=Novi prozor
|
||||
|
|
@ -37,37 +37,37 @@ Name[da]=Nyt vindue
|
|||
Name[de]=Neues Fenster
|
||||
Name[dsb]=Nowe wokno
|
||||
Name[el]=Νέο παράθυρο
|
||||
Name[en-GB]=New Window
|
||||
Name[en-US]=New Window
|
||||
Name[en-ZA]=New Window
|
||||
Name[en_GB]=New Window
|
||||
Name[en_US]=New Window
|
||||
Name[en_ZA]=New Window
|
||||
Name[eo]=Nova fenestro
|
||||
Name[es-AR]=Nueva ventana
|
||||
Name[es-CL]=Nueva ventana
|
||||
Name[es-ES]=Nueva ventana
|
||||
Name[es-MX]=Nueva ventana
|
||||
Name[es_AR]=Nueva ventana
|
||||
Name[es_CL]=Nueva ventana
|
||||
Name[es_ES]=Nueva ventana
|
||||
Name[es_MX]=Nueva ventana
|
||||
Name[et]=Uus aken
|
||||
Name[eu]=Leiho berria
|
||||
Name[fa]=پنجره جدید
|
||||
Name[ff]=Henorde Hesere
|
||||
Name[fi]=Uusi ikkuna
|
||||
Name[fr]=Nouvelle fenêtre
|
||||
Name[fy-NL]=Nij finster
|
||||
Name[ga-IE]=Fuinneog Nua
|
||||
Name[fy_NL]=Nij finster
|
||||
Name[ga_IE]=Fuinneog Nua
|
||||
Name[gd]=Uinneag ùr
|
||||
Name[gl]=Nova xanela
|
||||
Name[gn]=Ovetã pyahu
|
||||
Name[gu-IN]=નવી વિન્ડો
|
||||
Name[gu_IN]=નવી વિન્ડો
|
||||
Name[he]=חלון חדש
|
||||
Name[hi-IN]=नया विंडो
|
||||
Name[hi_IN]=नया विंडो
|
||||
Name[hr]=Novi prozor
|
||||
Name[hsb]=Nowe wokno
|
||||
Name[hu]=Új ablak
|
||||
Name[hy-AM]=Նոր Պատուհան
|
||||
Name[hy_AM]=Նոր Պատուհան
|
||||
Name[id]=Jendela Baru
|
||||
Name[is]=Nýr gluggi
|
||||
Name[it]=Nuova finestra
|
||||
Name[ja]=新しいウィンドウ
|
||||
Name[ja-JP-mac]=新規ウインドウ
|
||||
Name[ja_JP-mac]=新規ウインドウ
|
||||
Name[ka]=ახალი ფანჯარა
|
||||
Name[kk]=Жаңа терезе
|
||||
Name[km]=បង្អួចថ្មី
|
||||
|
|
@ -86,15 +86,15 @@ Name[ml]=പുതിയ ജാലകം
|
|||
Name[mr]=नवीन पटल
|
||||
Name[ms]=Tetingkap Baru
|
||||
Name[my]=ဝင်းဒိုးအသစ်
|
||||
Name[nb-NO]=Nytt vindu
|
||||
Name[ne-NP]=नयाँ सञ्झ्याल
|
||||
Name[nb_NO]=Nytt vindu
|
||||
Name[ne_NP]=नयाँ सञ्झ्याल
|
||||
Name[nl]=Nieuw venster
|
||||
Name[nn-NO]=Nytt vindauge
|
||||
Name[nn_NO]=Nytt vindauge
|
||||
Name[or]=ନୂତନ ୱିଣ୍ଡୋ
|
||||
Name[pa-IN]=ਨਵੀਂ ਵਿੰਡੋ
|
||||
Name[pa_IN]=ਨਵੀਂ ਵਿੰਡੋ
|
||||
Name[pl]=Nowe okno
|
||||
Name[pt-BR]=Nova janela
|
||||
Name[pt-PT]=Nova janela
|
||||
Name[pt_BR]=Nova janela
|
||||
Name[pt_PT]=Nova janela
|
||||
Name[rm]=Nova fanestra
|
||||
Name[ro]=Fereastră nouă
|
||||
Name[ru]=Новое окно
|
||||
|
|
@ -105,7 +105,7 @@ Name[sl]=Novo okno
|
|||
Name[son]=Zanfun taaga
|
||||
Name[sq]=Dritare e Re
|
||||
Name[sr]=Нови прозор
|
||||
Name[sv-SE]=Nytt fönster
|
||||
Name[sv_SE]=Nytt fönster
|
||||
Name[ta]=புதிய சாளரம்
|
||||
Name[te]=కొత్త విండో
|
||||
Name[th]=หน้าต่างใหม่
|
||||
|
|
@ -117,8 +117,8 @@ Name[uz]=Yangi oyna
|
|||
Name[vi]=Cửa sổ mới
|
||||
Name[wo]=Palanteer bu bees
|
||||
Name[xh]=Ifestile entsha
|
||||
Name[zh-CN]=新建窗口
|
||||
Name[zh-TW]=開新視窗
|
||||
Name[zh_CN]=新建窗口
|
||||
Name[zh_TW]=開新視窗
|
||||
Exec=firefox-wayland --name firefox-wayland --new-window %u
|
||||
|
||||
[Desktop Action new-private-window]
|
||||
|
|
@ -132,8 +132,8 @@ Name[ast]=Ventana privada nueva
|
|||
Name[az]=Yeni Məxfi Pəncərə
|
||||
Name[be]=Новае акно адасаблення
|
||||
Name[bg]=Нов прозорец за поверително сърфиране
|
||||
Name[bn-BD]=নতুন ব্যক্তিগত উইন্ডো
|
||||
Name[bn-IN]=নতুন ব্যক্তিগত উইন্ডো
|
||||
Name[bn_BD]=নতুন ব্যক্তিগত উইন্ডো
|
||||
Name[bn_IN]=নতুন ব্যক্তিগত উইন্ডো
|
||||
Name[br]=Prenestr merdeiñ prevez nevez
|
||||
Name[brx]=गोदान प्राइभेट उइन्ड'
|
||||
Name[bs]=Novi privatni prozor
|
||||
|
|
@ -145,37 +145,37 @@ Name[da]=Nyt privat vindue
|
|||
Name[de]=Neues privates Fenster
|
||||
Name[dsb]=Nowe priwatne wokno
|
||||
Name[el]=Νέο παράθυρο ιδιωτικής περιήγησης
|
||||
Name[en-GB]=New Private Window
|
||||
Name[en-US]=New Private Window
|
||||
Name[en-ZA]=New Private Window
|
||||
Name[en_GB]=New Private Window
|
||||
Name[en_US]=New Private Window
|
||||
Name[en_ZA]=New Private Window
|
||||
Name[eo]=Nova privata fenestro
|
||||
Name[es-AR]=Nueva ventana privada
|
||||
Name[es-CL]=Nueva ventana privada
|
||||
Name[es-ES]=Nueva ventana privada
|
||||
Name[es-MX]=Nueva ventana privada
|
||||
Name[es_AR]=Nueva ventana privada
|
||||
Name[es_CL]=Nueva ventana privada
|
||||
Name[es_ES]=Nueva ventana privada
|
||||
Name[es_MX]=Nueva ventana privada
|
||||
Name[et]=Uus privaatne aken
|
||||
Name[eu]=Leiho pribatu berria
|
||||
Name[fa]=پنجره ناشناس جدید
|
||||
Name[ff]=Henorde Suturo Hesere
|
||||
Name[fi]=Uusi yksityinen ikkuna
|
||||
Name[fr]=Nouvelle fenêtre de navigation privée
|
||||
Name[fy-NL]=Nij priveefinster
|
||||
Name[ga-IE]=Fuinneog Nua Phríobháideach
|
||||
Name[fy_NL]=Nij priveefinster
|
||||
Name[ga_IE]=Fuinneog Nua Phríobháideach
|
||||
Name[gd]=Uinneag phrìobhaideach ùr
|
||||
Name[gl]=Nova xanela privada
|
||||
Name[gn]=Ovetã ñemi pyahu
|
||||
Name[gu-IN]=નવી ખાનગી વિન્ડો
|
||||
Name[gu_IN]=નવી ખાનગી વિન્ડો
|
||||
Name[he]=חלון פרטי חדש
|
||||
Name[hi-IN]=नयी निजी विंडो
|
||||
Name[hi_IN]=नयी निजी विंडो
|
||||
Name[hr]=Novi privatni prozor
|
||||
Name[hsb]=Nowe priwatne wokno
|
||||
Name[hu]=Új privát ablak
|
||||
Name[hy-AM]=Սկսել Գաղտնի դիտարկում
|
||||
Name[hy_AM]=Սկսել Գաղտնի դիտարկում
|
||||
Name[id]=Jendela Mode Pribadi Baru
|
||||
Name[is]=Nýr huliðsgluggi
|
||||
Name[it]=Nuova finestra anonima
|
||||
Name[ja]=新しいプライベートウィンドウ
|
||||
Name[ja-JP-mac]=新規プライベートウインドウ
|
||||
Name[ja_JP-mac]=新規プライベートウインドウ
|
||||
Name[ka]=ახალი პირადი ფანჯარა
|
||||
Name[kk]=Жаңа жекелік терезе
|
||||
Name[km]=បង្អួចឯកជនថ្មី
|
||||
|
|
@ -194,15 +194,15 @@ Name[ml]=പുതിയ സ്വകാര്യ ജാലകം
|
|||
Name[mr]=नवीन वैयक्तिक पटल
|
||||
Name[ms]=Tetingkap Persendirian Baharu
|
||||
Name[my]=New Private Window
|
||||
Name[nb-NO]=Nytt privat vindu
|
||||
Name[ne-NP]=नयाँ निजी सञ्झ्याल
|
||||
Name[nb_NO]=Nytt privat vindu
|
||||
Name[ne_NP]=नयाँ निजी सञ्झ्याल
|
||||
Name[nl]=Nieuw privévenster
|
||||
Name[nn-NO]=Nytt privat vindauge
|
||||
Name[nn_NO]=Nytt privat vindauge
|
||||
Name[or]=ନୂତନ ବ୍ୟକ୍ତିଗତ ୱିଣ୍ଡୋ
|
||||
Name[pa-IN]=ਨਵੀਂ ਪ੍ਰਾਈਵੇਟ ਵਿੰਡੋ
|
||||
Name[pa_IN]=ਨਵੀਂ ਪ੍ਰਾਈਵੇਟ ਵਿੰਡੋ
|
||||
Name[pl]=Nowe okno prywatne
|
||||
Name[pt-BR]=Nova janela privativa
|
||||
Name[pt-PT]=Nova janela privada
|
||||
Name[pt_BR]=Nova janela privativa
|
||||
Name[pt_PT]=Nova janela privada
|
||||
Name[rm]=Nova fanestra privata
|
||||
Name[ro]=Fereastră privată nouă
|
||||
Name[ru]=Новое приватное окно
|
||||
|
|
@ -213,7 +213,7 @@ Name[sl]=Novo zasebno okno
|
|||
Name[son]=Sutura zanfun taaga
|
||||
Name[sq]=Dritare e Re Private
|
||||
Name[sr]=Нови приватан прозор
|
||||
Name[sv-SE]=Nytt privat fönster
|
||||
Name[sv_SE]=Nytt privat fönster
|
||||
Name[ta]=புதிய தனிப்பட்ட சாளரம்
|
||||
Name[te]=కొత్త ఆంతరంగిక విండో
|
||||
Name[th]=หน้าต่างส่วนตัวใหม่
|
||||
|
|
@ -225,7 +225,11 @@ Name[uz]=Yangi maxfiy oyna
|
|||
Name[vi]=Cửa sổ riêng tư mới
|
||||
Name[wo]=Panlanteeru biir bu bees
|
||||
Name[xh]=Ifestile yangasese entsha
|
||||
Name[zh-CN]=新建隐私浏览窗口
|
||||
Name[zh-TW]=新增隱私視窗
|
||||
Name[zh_CN]=新建隐私浏览窗口
|
||||
Name[zh_TW]=新增隱私視窗
|
||||
Exec=firefox-wayland --private-window --name firefox-wayland %u
|
||||
|
||||
[Desktop Action profile-manager-window]
|
||||
Name=Open the Profile Manager
|
||||
Name[cs]=Správa profilů
|
||||
Exec=firefox-wayland --name firefox-wayland --ProfileManager
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/bash
|
||||
#
|
||||
# Run Firefox under Wayland
|
||||
#
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xm
|
|||
StartupNotify=true
|
||||
Categories=Network;WebBrowser;
|
||||
Keywords=web;browser;internet;
|
||||
Actions=new-window;new-private-window;
|
||||
Actions=new-window;new-private-window;profile-manager-window;
|
||||
|
||||
[Desktop Action new-window]
|
||||
Name=Open a New Window
|
||||
|
|
@ -24,8 +24,8 @@ Name[ast]=Ventana nueva
|
|||
Name[az]=Yeni Pəncərə
|
||||
Name[be]=Новае акно
|
||||
Name[bg]=Нов прозорец
|
||||
Name[bn-BD]=নতুন উইন্ডো (N)
|
||||
Name[bn-IN]=নতুন উইন্ডো
|
||||
Name[bn_BD]=নতুন উইন্ডো (N)
|
||||
Name[bn_IN]=নতুন উইন্ডো
|
||||
Name[br]=Prenestr nevez
|
||||
Name[brx]=गोदान उइन्ड'(N)
|
||||
Name[bs]=Novi prozor
|
||||
|
|
@ -37,37 +37,37 @@ Name[da]=Nyt vindue
|
|||
Name[de]=Neues Fenster
|
||||
Name[dsb]=Nowe wokno
|
||||
Name[el]=Νέο παράθυρο
|
||||
Name[en-GB]=New Window
|
||||
Name[en-US]=New Window
|
||||
Name[en-ZA]=New Window
|
||||
Name[en_GB]=New Window
|
||||
Name[en_US]=New Window
|
||||
Name[en_ZA]=New Window
|
||||
Name[eo]=Nova fenestro
|
||||
Name[es-AR]=Nueva ventana
|
||||
Name[es-CL]=Nueva ventana
|
||||
Name[es-ES]=Nueva ventana
|
||||
Name[es-MX]=Nueva ventana
|
||||
Name[es_AR]=Nueva ventana
|
||||
Name[es_CL]=Nueva ventana
|
||||
Name[es_ES]=Nueva ventana
|
||||
Name[es_MX]=Nueva ventana
|
||||
Name[et]=Uus aken
|
||||
Name[eu]=Leiho berria
|
||||
Name[fa]=پنجره جدید
|
||||
Name[ff]=Henorde Hesere
|
||||
Name[fi]=Uusi ikkuna
|
||||
Name[fr]=Nouvelle fenêtre
|
||||
Name[fy-NL]=Nij finster
|
||||
Name[ga-IE]=Fuinneog Nua
|
||||
Name[fy_NL]=Nij finster
|
||||
Name[ga_IE]=Fuinneog Nua
|
||||
Name[gd]=Uinneag ùr
|
||||
Name[gl]=Nova xanela
|
||||
Name[gn]=Ovetã pyahu
|
||||
Name[gu-IN]=નવી વિન્ડો
|
||||
Name[gu_IN]=નવી વિન્ડો
|
||||
Name[he]=חלון חדש
|
||||
Name[hi-IN]=नया विंडो
|
||||
Name[hi_IN]=नया विंडो
|
||||
Name[hr]=Novi prozor
|
||||
Name[hsb]=Nowe wokno
|
||||
Name[hu]=Új ablak
|
||||
Name[hy-AM]=Նոր Պատուհան
|
||||
Name[hy_AM]=Նոր Պատուհան
|
||||
Name[id]=Jendela Baru
|
||||
Name[is]=Nýr gluggi
|
||||
Name[it]=Nuova finestra
|
||||
Name[ja]=新しいウィンドウ
|
||||
Name[ja-JP-mac]=新規ウインドウ
|
||||
Name[ja_JP-mac]=新規ウインドウ
|
||||
Name[ka]=ახალი ფანჯარა
|
||||
Name[kk]=Жаңа терезе
|
||||
Name[km]=បង្អួចថ្មី
|
||||
|
|
@ -86,15 +86,15 @@ Name[ml]=പുതിയ ജാലകം
|
|||
Name[mr]=नवीन पटल
|
||||
Name[ms]=Tetingkap Baru
|
||||
Name[my]=ဝင်းဒိုးအသစ်
|
||||
Name[nb-NO]=Nytt vindu
|
||||
Name[ne-NP]=नयाँ सञ्झ्याल
|
||||
Name[nb_NO]=Nytt vindu
|
||||
Name[ne_NP]=नयाँ सञ्झ्याल
|
||||
Name[nl]=Nieuw venster
|
||||
Name[nn-NO]=Nytt vindauge
|
||||
Name[nn_NO]=Nytt vindauge
|
||||
Name[or]=ନୂତନ ୱିଣ୍ଡୋ
|
||||
Name[pa-IN]=ਨਵੀਂ ਵਿੰਡੋ
|
||||
Name[pa_IN]=ਨਵੀਂ ਵਿੰਡੋ
|
||||
Name[pl]=Nowe okno
|
||||
Name[pt-BR]=Nova janela
|
||||
Name[pt-PT]=Nova janela
|
||||
Name[pt_BR]=Nova janela
|
||||
Name[pt_PT]=Nova janela
|
||||
Name[rm]=Nova fanestra
|
||||
Name[ro]=Fereastră nouă
|
||||
Name[ru]=Новое окно
|
||||
|
|
@ -105,7 +105,7 @@ Name[sl]=Novo okno
|
|||
Name[son]=Zanfun taaga
|
||||
Name[sq]=Dritare e Re
|
||||
Name[sr]=Нови прозор
|
||||
Name[sv-SE]=Nytt fönster
|
||||
Name[sv_SE]=Nytt fönster
|
||||
Name[ta]=புதிய சாளரம்
|
||||
Name[te]=కొత్త విండో
|
||||
Name[th]=หน้าต่างใหม่
|
||||
|
|
@ -117,8 +117,8 @@ Name[uz]=Yangi oyna
|
|||
Name[vi]=Cửa sổ mới
|
||||
Name[wo]=Palanteer bu bees
|
||||
Name[xh]=Ifestile entsha
|
||||
Name[zh-CN]=新建窗口
|
||||
Name[zh-TW]=開新視窗
|
||||
Name[zh_CN]=新建窗口
|
||||
Name[zh_TW]=開新視窗
|
||||
Exec=firefox-x11 --name firefox-x11 --new-window %u
|
||||
|
||||
[Desktop Action new-private-window]
|
||||
|
|
@ -132,8 +132,8 @@ Name[ast]=Ventana privada nueva
|
|||
Name[az]=Yeni Məxfi Pəncərə
|
||||
Name[be]=Новае акно адасаблення
|
||||
Name[bg]=Нов прозорец за поверително сърфиране
|
||||
Name[bn-BD]=নতুন ব্যক্তিগত উইন্ডো
|
||||
Name[bn-IN]=নতুন ব্যক্তিগত উইন্ডো
|
||||
Name[bn_BD]=নতুন ব্যক্তিগত উইন্ডো
|
||||
Name[bn_IN]=নতুন ব্যক্তিগত উইন্ডো
|
||||
Name[br]=Prenestr merdeiñ prevez nevez
|
||||
Name[brx]=गोदान प्राइभेट उइन्ड'
|
||||
Name[bs]=Novi privatni prozor
|
||||
|
|
@ -145,37 +145,37 @@ Name[da]=Nyt privat vindue
|
|||
Name[de]=Neues privates Fenster
|
||||
Name[dsb]=Nowe priwatne wokno
|
||||
Name[el]=Νέο παράθυρο ιδιωτικής περιήγησης
|
||||
Name[en-GB]=New Private Window
|
||||
Name[en-US]=New Private Window
|
||||
Name[en-ZA]=New Private Window
|
||||
Name[en_GB]=New Private Window
|
||||
Name[en_US]=New Private Window
|
||||
Name[en_ZA]=New Private Window
|
||||
Name[eo]=Nova privata fenestro
|
||||
Name[es-AR]=Nueva ventana privada
|
||||
Name[es-CL]=Nueva ventana privada
|
||||
Name[es-ES]=Nueva ventana privada
|
||||
Name[es-MX]=Nueva ventana privada
|
||||
Name[es_AR]=Nueva ventana privada
|
||||
Name[es_CL]=Nueva ventana privada
|
||||
Name[es_ES]=Nueva ventana privada
|
||||
Name[es_MX]=Nueva ventana privada
|
||||
Name[et]=Uus privaatne aken
|
||||
Name[eu]=Leiho pribatu berria
|
||||
Name[fa]=پنجره ناشناس جدید
|
||||
Name[ff]=Henorde Suturo Hesere
|
||||
Name[fi]=Uusi yksityinen ikkuna
|
||||
Name[fr]=Nouvelle fenêtre de navigation privée
|
||||
Name[fy-NL]=Nij priveefinster
|
||||
Name[ga-IE]=Fuinneog Nua Phríobháideach
|
||||
Name[fy_NL]=Nij priveefinster
|
||||
Name[ga_IE]=Fuinneog Nua Phríobháideach
|
||||
Name[gd]=Uinneag phrìobhaideach ùr
|
||||
Name[gl]=Nova xanela privada
|
||||
Name[gn]=Ovetã ñemi pyahu
|
||||
Name[gu-IN]=નવી ખાનગી વિન્ડો
|
||||
Name[gu_IN]=નવી ખાનગી વિન્ડો
|
||||
Name[he]=חלון פרטי חדש
|
||||
Name[hi-IN]=नयी निजी विंडो
|
||||
Name[hi_IN]=नयी निजी विंडो
|
||||
Name[hr]=Novi privatni prozor
|
||||
Name[hsb]=Nowe priwatne wokno
|
||||
Name[hu]=Új privát ablak
|
||||
Name[hy-AM]=Սկսել Գաղտնի դիտարկում
|
||||
Name[hy_AM]=Սկսել Գաղտնի դիտարկում
|
||||
Name[id]=Jendela Mode Pribadi Baru
|
||||
Name[is]=Nýr huliðsgluggi
|
||||
Name[it]=Nuova finestra anonima
|
||||
Name[ja]=新しいプライベートウィンドウ
|
||||
Name[ja-JP-mac]=新規プライベートウインドウ
|
||||
Name[ja_JP-mac]=新規プライベートウインドウ
|
||||
Name[ka]=ახალი პირადი ფანჯარა
|
||||
Name[kk]=Жаңа жекелік терезе
|
||||
Name[km]=បង្អួចឯកជនថ្មី
|
||||
|
|
@ -194,15 +194,15 @@ Name[ml]=പുതിയ സ്വകാര്യ ജാലകം
|
|||
Name[mr]=नवीन वैयक्तिक पटल
|
||||
Name[ms]=Tetingkap Persendirian Baharu
|
||||
Name[my]=New Private Window
|
||||
Name[nb-NO]=Nytt privat vindu
|
||||
Name[ne-NP]=नयाँ निजी सञ्झ्याल
|
||||
Name[nb_NO]=Nytt privat vindu
|
||||
Name[ne_NP]=नयाँ निजी सञ्झ्याल
|
||||
Name[nl]=Nieuw privévenster
|
||||
Name[nn-NO]=Nytt privat vindauge
|
||||
Name[nn_NO]=Nytt privat vindauge
|
||||
Name[or]=ନୂତନ ବ୍ୟକ୍ତିଗତ ୱିଣ୍ଡୋ
|
||||
Name[pa-IN]=ਨਵੀਂ ਪ੍ਰਾਈਵੇਟ ਵਿੰਡੋ
|
||||
Name[pa_IN]=ਨਵੀਂ ਪ੍ਰਾਈਵੇਟ ਵਿੰਡੋ
|
||||
Name[pl]=Nowe okno prywatne
|
||||
Name[pt-BR]=Nova janela privativa
|
||||
Name[pt-PT]=Nova janela privada
|
||||
Name[pt_BR]=Nova janela privativa
|
||||
Name[pt_PT]=Nova janela privada
|
||||
Name[rm]=Nova fanestra privata
|
||||
Name[ro]=Fereastră privată nouă
|
||||
Name[ru]=Новое приватное окно
|
||||
|
|
@ -213,7 +213,7 @@ Name[sl]=Novo zasebno okno
|
|||
Name[son]=Sutura zanfun taaga
|
||||
Name[sq]=Dritare e Re Private
|
||||
Name[sr]=Нови приватан прозор
|
||||
Name[sv-SE]=Nytt privat fönster
|
||||
Name[sv_SE]=Nytt privat fönster
|
||||
Name[ta]=புதிய தனிப்பட்ட சாளரம்
|
||||
Name[te]=కొత్త ఆంతరంగిక విండో
|
||||
Name[th]=หน้าต่างส่วนตัวใหม่
|
||||
|
|
@ -225,7 +225,11 @@ Name[uz]=Yangi maxfiy oyna
|
|||
Name[vi]=Cửa sổ riêng tư mới
|
||||
Name[wo]=Panlanteeru biir bu bees
|
||||
Name[xh]=Ifestile yangasese entsha
|
||||
Name[zh-CN]=新建隐私浏览窗口
|
||||
Name[zh-TW]=新增隱私視窗
|
||||
Name[zh_CN]=新建隐私浏览窗口
|
||||
Name[zh_TW]=新增隱私視窗
|
||||
Exec=firefox-x11 --private-window --name firefox-x11 %u
|
||||
|
||||
[Desktop Action profile-manager-window]
|
||||
Name=Open the Profile Manager
|
||||
Name[cs]=Správa profilů
|
||||
Exec=firefox-x11 --name firefox-x11 --ProfileManager
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/bash
|
||||
#
|
||||
# Run Firefox on X11 backend
|
||||
#
|
||||
|
|
|
|||
40
firefox.1
40
firefox.1
|
|
@ -1,4 +1,4 @@
|
|||
.TH FIREFOX 1 "November 30, 2017" firefox "Linux User's Manual"
|
||||
.TH FIREFOX 1 "July 10, 2019" firefox "Linux User's Manual"
|
||||
.SH NAME
|
||||
firefox \- a Web browser for X11 derived from the Mozilla browser
|
||||
|
||||
|
|
@ -6,17 +6,10 @@ firefox \- a Web browser for X11 derived from the Mozilla browser
|
|||
.B firefox
|
||||
[\fIOPTIONS\fR ...] [\fIURL\fR]
|
||||
|
||||
.B firefox-bin
|
||||
[\fIOPTIONS\fR] [\fIURL\fR]
|
||||
|
||||
.SH DESCRIPTION
|
||||
\fBMozilla Firefox\fR is an open-source web browser, designed for
|
||||
standards compliance, performance and portability.
|
||||
|
||||
.SH USAGE
|
||||
\fBfirefox\fR is a simple shell script that will set up the
|
||||
environment for the actual executable, \fBfirefox-bin\fR.
|
||||
|
||||
.SH OPTIONS
|
||||
A summary of the options supported by \fBfirefox\fR is included below.
|
||||
|
||||
|
|
@ -33,10 +26,10 @@ Make all warnings fatal
|
|||
|
||||
.SS "Firefox options"
|
||||
.TP
|
||||
.B \-h, \-help
|
||||
.B \-h, \--help
|
||||
Show summary of options.
|
||||
.TP
|
||||
.B \-v, \-version
|
||||
.B \-v, \--version
|
||||
Print Firefox version.
|
||||
.TP
|
||||
\fB\-P\fR \fIprofile\fR
|
||||
|
|
@ -63,11 +56,22 @@ Start with \fIlocale\fR resources as UI Locale.
|
|||
\fB\-\-safe\-mode\fR
|
||||
Disables extensions and themes for this session.
|
||||
.TP
|
||||
\fB\--allow-downgrade\fR
|
||||
Allows downgrading a profile.
|
||||
.TP
|
||||
\fB\--MOZ_LOG\fR=\fImodules\fR
|
||||
Treated as \fBMOZ_LOG\fR=\fImodules\fR environment variable, overrides it.
|
||||
.TP
|
||||
\fB\--MOZ_LOG_FILE\fR=\fIfile\fR
|
||||
Treated as \fBMOZ_LOG_FILE\fR=\fIfile\fR environment variable, overrides it. If
|
||||
MOZ_LOG_FILE is not specified as an argument or as an environment variable,
|
||||
logging will be written to stdout.
|
||||
.TP
|
||||
\fB\-\-headless\fR
|
||||
Run without a GUI.
|
||||
.TP
|
||||
\fB\-\-marionette\fR
|
||||
Enable remote control server.
|
||||
\fB\-\-save-recordings\fR
|
||||
Save recordings for all content processes to a directory.
|
||||
.TP
|
||||
\fB\-\-browser\fR
|
||||
Open a browser window.
|
||||
|
|
@ -93,8 +97,9 @@ Width and optionally height of screenshot.
|
|||
\fB\-\-search\fR \fIterm\fR
|
||||
Search \fIterm\fR with your default search engine.
|
||||
.TP
|
||||
|
||||
|
||||
\fB\-\-setDefaultBrowser\fR
|
||||
Set this app as the default browser.
|
||||
.TP
|
||||
\fB\-\-jsconsole\fR
|
||||
Open the Browser Console.
|
||||
.TP
|
||||
|
|
@ -115,19 +120,16 @@ Record drawing for a given URL.
|
|||
.TP
|
||||
\fB\-\-recording-output\fR \fIfile\fR
|
||||
Specify destination file for a drawing recording.
|
||||
.TP
|
||||
\fB\-\-setDefaultBrowser\fR
|
||||
Set this app as the default browser.
|
||||
|
||||
.SH FILES
|
||||
\fI/usr/bin/firefox\fR - shell script wrapping
|
||||
\fBfirefox\fR
|
||||
.br
|
||||
\fI/usr/lib64/firefox/firefox-bin\fR - \fBfirefox\fR
|
||||
\fI/usr/lib64/firefox/firefox\fR - \fBfirefox\fR
|
||||
executable
|
||||
|
||||
.SH VERSION
|
||||
57.0
|
||||
68.0
|
||||
|
||||
.SH BUGS
|
||||
To report a bug, please visit \fIhttp://bugzilla.mozilla.org/\fR
|
||||
|
|
|
|||
59
firefox.appdata.xml.in
Normal file
59
firefox.appdata.xml.in
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Copyright 2019 Firefox contributors -->
|
||||
<component type="desktop">
|
||||
<id>firefox.desktop</id>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<name>Firefox</name>
|
||||
<summary>Web Browser</summary>
|
||||
<summary xml:lang="ca">Navegador web</summary>
|
||||
<summary xml:lang="cs">Webový prohlížeč</summary>
|
||||
<summary xml:lang="es">Navegador web</summary>
|
||||
<summary xml:lang="fa">مرورگر اینترنتی</summary>
|
||||
<summary xml:lang="fi">WWW-selain</summary>
|
||||
<summary xml:lang="fr">Navigateur Web</summary>
|
||||
<summary xml:lang="hu">Webböngésző</summary>
|
||||
<summary xml:lang="it">Browser Web</summary>
|
||||
<summary xml:lang="ja">ウェブ・ブラウザ</summary>
|
||||
<summary xml:lang="ko">웹 브라우저</summary>
|
||||
<summary xml:lang="nb">Nettleser</summary>
|
||||
<summary xml:lang="nl">Webbrowser</summary>
|
||||
<summary xml:lang="nn">Nettlesar</summary>
|
||||
<summary xml:lang="no">Nettleser</summary>
|
||||
<summary xml:lang="pl">Przeglądarka WWW</summary>
|
||||
<summary xml:lang="pt">Navegador Web</summary>
|
||||
<summary xml:lang="pt_BR">Navegador Web</summary>
|
||||
<summary xml:lang="sk">Internetový prehliadač</summary>
|
||||
<summary xml:lang="sv">Webbläsare</summary>
|
||||
<description>
|
||||
<p>
|
||||
Bringing together all kinds of awesomeness to make browsing better for you.
|
||||
Get to your favorite sites quickly – even if you don’t remember the URLs.
|
||||
Type your term into the location bar (aka the Awesome Bar) and the autocomplete
|
||||
function will include possible matches from your browsing history, bookmarked
|
||||
sites and open tabs.
|
||||
</p>
|
||||
</description>
|
||||
<url type="homepage">https://www.mozilla.org</url>
|
||||
<update_contact>stransky@redhat.com</update_contact>
|
||||
<kudos>
|
||||
<kudo>ModernToolkit</kudo>
|
||||
<kudo>SearchProvider</kudo>
|
||||
</kudos>
|
||||
<project_group>Mozilla</project_group>
|
||||
<project_license>GPL-3.0+</project_license>
|
||||
<developer_name>Mozilla Corporation</developer_name>
|
||||
<url type="bugtracker">https://bugzilla.mozilla.org/</url>
|
||||
<url type="help">https://support.mozilla.org/</url>
|
||||
<translation type="gettext">firefox</translation>
|
||||
<provides>
|
||||
<id>firefox.desktop</id>
|
||||
</provides>
|
||||
<screenshots>
|
||||
<screenshot type="default">https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/firefox/a.png</screenshot>
|
||||
<screenshot>https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/firefox/b.png</screenshot>
|
||||
<screenshot>https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/firefox/c.png</screenshot>
|
||||
</screenshots>
|
||||
<releases>
|
||||
<release version="__VERSION__" date="__DATE__"/>
|
||||
</releases>
|
||||
</component>
|
||||
917
firefox.desktop
917
firefox.desktop
File diff suppressed because it is too large
Load diff
|
|
@ -1,68 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Copyright 2019 Firefox contributors -->
|
||||
<component type="desktop">
|
||||
<id>org.mozilla.Firefox.desktop</id>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<name>Firefox</name>
|
||||
<summary>Web Browser</summary>
|
||||
<summary xml:lang="ca">=Navegador web</summary>
|
||||
<summary xml:lang="cs">=Webový prohlížeč</summary>
|
||||
<summary xml:lang="es">=Navegador web</summary>
|
||||
<summary xml:lang="fa">=مرورگر اینترنتی</summary>
|
||||
<summary xml:lang="fi">=WWW-selain</summary>
|
||||
<summary xml:lang="fr">=Navigateur Web</summary>
|
||||
<summary xml:lang="hu">=Webböngésző</summary>
|
||||
<summary xml:lang="it">=Browser Web</summary>
|
||||
<summary xml:lang="ja">=ウェブ・ブラウザ</summary>
|
||||
<summary xml:lang="ko">=웹 브라우저</summary>
|
||||
<summary xml:lang="nb">=Nettleser</summary>
|
||||
<summary xml:lang="nl">=Webbrowser</summary>
|
||||
<summary xml:lang="nn">=Nettlesar</summary>
|
||||
<summary xml:lang="no">=Nettleser</summary>
|
||||
<summary xml:lang="pl">=Przeglądarka WWW</summary>
|
||||
<summary xml:lang="pt">=Navegador Web</summary>
|
||||
<summary xml:lang="pt_BR">=Navegador Web</summary>
|
||||
<summary xml:lang="sk">=Internetový prehliadač</summary>
|
||||
<summary xml:lang="sv">=Webbläsare</summary>
|
||||
<description>
|
||||
<p>Browse the Web</p>
|
||||
<p xml:lang="ca">Navegueu per el web</p>
|
||||
<p xml:lang="cs">Prohlížení stránek World Wide Webu</p>
|
||||
<p xml:lang="de">Im Internet surfen</p>
|
||||
<p xml:lang="es">Navegue por la web</p>
|
||||
<p xml:lang="fa">صفحات شبکه جهانی اینترنت را مرور نمایید</p>
|
||||
<p xml:lang="fi">Selaa Internetin WWW-sivuja</p>
|
||||
<p xml:lang="fr">Navigue sur Internet</p>
|
||||
<p xml:lang="hu">A világháló böngészése</p>
|
||||
<p xml:lang="it">Esplora il web</p>
|
||||
<p xml:lang="ja">ウェブを閲覧します</p>
|
||||
<p xml:lang="ko">웹을 돌아 다닙니다</p>
|
||||
<p xml:lang="nb">Surf på nettet</p>
|
||||
<p xml:lang="nl">Verken het internet</p>
|
||||
<p xml:lang="nn">Surf på nettet</p>
|
||||
<p xml:lang="no">Surf på nettet</p>
|
||||
<p xml:lang="pl">Przeglądanie stron WWW</p>
|
||||
<p xml:lang="pt">Navegue na Internet</p>
|
||||
<p xml:lang="pt_BR">Navegue na Internet</p>
|
||||
<p xml:lang="sk">Prehliadanie internetu</p>
|
||||
<p xml:lang="sv">Surfa på webben</p>
|
||||
</description>
|
||||
<url type="homepage">https://www.mozilla.org</url>
|
||||
<update_contact>stransky@redhat.com</update_contact>
|
||||
<kudos>
|
||||
<kudo>ModernToolkit</kudo>
|
||||
<kudo>SearchProvider</kudo>
|
||||
</kudos>
|
||||
<project_group>Mozilla</project_group>
|
||||
<project_license>GPL-3.0+</project_license>
|
||||
<developer_name> Mozilla Corporation</developer_name>
|
||||
<url type="bugtracker">https://bugzilla.mozilla.org/</url>
|
||||
<url type=bu"help">https://support.mozilla.org/</url>
|
||||
<translation type="gettext">firefox</translation>
|
||||
<provides>
|
||||
<id>firefox.desktop</id>
|
||||
</provides>
|
||||
<releases>
|
||||
<release date="2019-11-13" version="3.34.0"/>
|
||||
</releases>
|
||||
</component>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/bash
|
||||
#
|
||||
# The contents of this file are subject to the Netscape Public
|
||||
# License Version 1.1 (the "License"); you may not use this file
|
||||
|
|
@ -64,15 +64,13 @@ MOZ_DIST_BIN="$MOZ_LIB_DIR/firefox"
|
|||
MOZ_LANGPACKS_DIR="$MOZ_DIST_BIN/langpacks"
|
||||
MOZ_EXTENSIONS_PROFILE_DIR="$HOME/.mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}"
|
||||
MOZ_PROGRAM="$MOZ_DIST_BIN/$MOZ_FIREFOX_FILE"
|
||||
MOZ_LAUNCHER="$MOZ_DIST_BIN/run-mozilla.sh"
|
||||
GETENFORCE_FILE="/usr/sbin/getenforce"
|
||||
|
||||
##
|
||||
## Enable Wayland backend?
|
||||
## Use D-Bus remote exclusively when there's Wayland display.
|
||||
##
|
||||
if __DEFAULT_WAYLAND__ && ! [ $MOZ_DISABLE_WAYLAND ]; then
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ]; then
|
||||
export MOZ_ENABLE_WAYLAND=1
|
||||
fi
|
||||
if [ "$WAYLAND_DISPLAY" ]; then
|
||||
export MOZ_DBUS_REMOTE=1
|
||||
fi
|
||||
|
||||
##
|
||||
|
|
@ -110,10 +108,14 @@ export MOZ_PLUGIN_PATH
|
|||
export MOZ_APP_LAUNCHER="/__PREFIX__/bin/firefox"
|
||||
|
||||
##
|
||||
## Set FONTCONFIG_PATH for Xft/fontconfig
|
||||
## We want Firefox to use Openh264 provided by Fedora.
|
||||
##
|
||||
## We used to configure it here but It's set by /etc/profile.d/gmpopenh264.sh
|
||||
## script from mozilla-openh264 package now. Let's keep it here just
|
||||
## for the record.
|
||||
##
|
||||
## export MOZ_GMP_PATH=$MOZ_LIB_DIR/mozilla/plugins/gmp-gmpopenh264/system-installed
|
||||
##
|
||||
FONTCONFIG_PATH="/etc/fonts:${MOZILLA_FIVE_HOME}/res/Xft"
|
||||
export FONTCONFIG_PATH
|
||||
|
||||
##
|
||||
## In order to better support certain scripts (such as Indic and some CJK
|
||||
|
|
@ -128,21 +130,10 @@ export FONTCONFIG_PATH
|
|||
# export MOZ_DISABLE_PANGO
|
||||
#
|
||||
|
||||
##
|
||||
## Disable the GNOME crash dialog, Moz has it's own
|
||||
##
|
||||
GNOME_DISABLE_CRASH_DIALOG=1
|
||||
export GNOME_DISABLE_CRASH_DIALOG
|
||||
|
||||
##
|
||||
## Disable the SLICE allocator (rhbz#1014858)
|
||||
##
|
||||
export G_SLICE=always-malloc
|
||||
|
||||
##
|
||||
## Enable Xinput2 (mozbz#1207973)
|
||||
##
|
||||
export MOZ_USE_XINPUT2=1
|
||||
export MOZ_USE_XINPUT2=${MOZ_USE_XINPUT2-1}
|
||||
|
||||
# OK, here's where all the real work gets done
|
||||
|
||||
|
|
@ -167,11 +158,19 @@ MOZILLA_DOWN=0
|
|||
if ! [ $MOZ_DISABLE_LANGPACKS ] || [ $MOZ_DISABLE_LANGPACKS -eq 0 ]; then
|
||||
if [ -x $MOZ_DIST_BIN/$MOZ_FIREFOX_FILE ]; then
|
||||
# Is firefox running?
|
||||
/__PREFIX__/bin/pidof firefox > /dev/null 2>&1
|
||||
/__PREFIX__/bin/pidof $MOZ_PROGRAM > /dev/null 2>&1
|
||||
MOZILLA_DOWN=$?
|
||||
fi
|
||||
fi
|
||||
|
||||
# When Firefox is not running, restore SELinux labels for profile files
|
||||
# (rhbz#1731371)
|
||||
if [ $MOZILLA_DOWN -ne 0 ]; then
|
||||
if [ -x $GETENFORCE_FILE ] && [ `$GETENFORCE_FILE` != "Disabled" ]; then
|
||||
(restorecon -vr ~/.mozilla/firefox/*/gmp-widevinecdm/* &)
|
||||
fi
|
||||
fi
|
||||
|
||||
# Modify language pack configuration only when firefox is not running
|
||||
# and language packs are not disabled
|
||||
if [ $MOZILLA_DOWN -ne 0 ]; then
|
||||
|
|
@ -204,8 +203,17 @@ if [ $MOZILLA_DOWN -ne 0 ]; then
|
|||
if [ -h $MOZ_LANGPACKS_DIR/$langpack ]; then
|
||||
langpack=`readlink $MOZ_LANGPACKS_DIR/$langpack`
|
||||
fi
|
||||
ln -s $MOZ_LANGPACKS_DIR/$langpack \
|
||||
$MOZ_EXTENSIONS_PROFILE_DIR/$langpack
|
||||
if [ -e "/run/ostree-booted" ]; then
|
||||
# Files on Silverblue has file create time set to 0,
|
||||
# so in case the langpack is updated Firefox does not
|
||||
# check for changes because it compares the file
|
||||
# creation date to do so.
|
||||
cp -f $MOZ_LANGPACKS_DIR/$langpack \
|
||||
$MOZ_EXTENSIONS_PROFILE_DIR/$langpack
|
||||
else
|
||||
ln -s $MOZ_LANGPACKS_DIR/$langpack \
|
||||
$MOZ_EXTENSIONS_PROFILE_DIR/$langpack
|
||||
fi
|
||||
echo $MOZ_EXTENSIONS_PROFILE_DIR/$langpack > $FEDORA_LANGPACK_CONFIG
|
||||
return 0
|
||||
fi
|
||||
|
|
@ -219,34 +227,11 @@ fi
|
|||
NSS_SSL_CBC_RANDOM_IV=${NSS_SSL_CBC_RANDOM_IV-1}
|
||||
export NSS_SSL_CBC_RANDOM_IV
|
||||
|
||||
# Prepare command line arguments
|
||||
script_args=""
|
||||
pass_arg_count=0
|
||||
while [ $# -gt $pass_arg_count ]
|
||||
do
|
||||
case "$1" in
|
||||
-g | --debug)
|
||||
script_args="$script_args -g"
|
||||
debugging=1
|
||||
shift
|
||||
;;
|
||||
-d | --debugger)
|
||||
if [ $# -gt 1 ]; then
|
||||
script_args="$script_args -d $2"
|
||||
shift 2
|
||||
else
|
||||
shift
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
# Move the unrecognized argument to the end of the list.
|
||||
arg="$1"
|
||||
shift
|
||||
set -- "$@" "$arg"
|
||||
pass_arg_count=`expr $pass_arg_count + 1`
|
||||
;;
|
||||
esac
|
||||
done
|
||||
# MOZ_APP_REMOTINGNAME links Firefox with desktop file name
|
||||
if [ -z "$MOZ_APP_REMOTINGNAME" ]
|
||||
then
|
||||
export MOZ_APP_REMOTINGNAME=__APP_NAME__
|
||||
fi
|
||||
|
||||
# Flatpak specific environment variables
|
||||
%FLATPAK_ENV_VARS%
|
||||
|
|
@ -258,7 +243,7 @@ export MOZ_ALLOW_DOWNGRADE=1
|
|||
debugging=0
|
||||
if [ $debugging = 1 ]
|
||||
then
|
||||
echo $MOZ_LAUNCHER $script_args $MOZ_PROGRAM "$@"
|
||||
echo $MOZ_PROGRAM "$@"
|
||||
fi
|
||||
|
||||
exec $MOZ_LAUNCHER $script_args $MOZ_PROGRAM "$@"
|
||||
exec $MOZ_PROGRAM "$@"
|
||||
|
|
|
|||
3145
firefox.spec
3145
firefox.spec
File diff suppressed because it is too large
Load diff
21
fix-cargo-checksum
Executable file
21
fix-cargo-checksum
Executable file
|
|
@ -0,0 +1,21 @@
|
|||
#!/bin/bash
|
||||
if [ -z $1 ]; then
|
||||
echo "Fixes .cargo-checksum.json by removing deleted files and recompute sha256sum"
|
||||
echo "Usage: $0 .cargo-checksum.json"
|
||||
exit
|
||||
fi
|
||||
|
||||
FILE=$1
|
||||
#set -x
|
||||
cp $FILE $1.backup
|
||||
for i in $(cat .cargo-checksum.json|jq -r '.files| keys[]'); do
|
||||
if [ ! -f $i ]; then
|
||||
#echo $i non exist
|
||||
sed -ie "s|\"$i\":\"[^\"]*\",||" $FILE
|
||||
else
|
||||
SHA=`sha256sum $i | cut -d " " -f1`
|
||||
sed -ie "s|\"$i\":\"[^\"]*\"|\"$i\":\"$SHA\"|" $FILE
|
||||
fi
|
||||
|
||||
#echo $i
|
||||
done
|
||||
|
|
@ -12,7 +12,7 @@ to be used with 'cargo vendor' commmand.
|
|||
"""
|
||||
|
||||
[dependencies]
|
||||
cbindgen = "0.9.0"
|
||||
cbindgen = "0.29.1"
|
||||
|
||||
[[bin]]
|
||||
name = "dummy"
|
||||
|
|
|
|||
33
gen_dump_syms-vendor.sh
Executable file
33
gen_dump_syms-vendor.sh
Executable file
|
|
@ -0,0 +1,33 @@
|
|||
#!/bin/bash
|
||||
set -x
|
||||
|
||||
# Dummy Cargo.toml file with cbindgen dependency
|
||||
cat > Cargo.toml <<EOL
|
||||
[package]
|
||||
name = "dummy"
|
||||
version = "0.0.1"
|
||||
description = """
|
||||
This is a dummy package which contains dependency on cbindgen
|
||||
to be used with 'cargo vendor' commmand.
|
||||
"""
|
||||
|
||||
[dependencies]
|
||||
dump_syms = "=2.3.2"
|
||||
time = "0.3.36"
|
||||
|
||||
[[bin]]
|
||||
name = "dummy"
|
||||
path = "dummy.rs"
|
||||
doc = false
|
||||
EOL
|
||||
|
||||
cargo install cargo-vendor
|
||||
cargo vendor
|
||||
|
||||
cd vendor
|
||||
tar -cJf ../dump_syms-vendor.tar.xz *
|
||||
cd ..
|
||||
|
||||
rm -f Cargo.toml
|
||||
rm -rf vendor
|
||||
|
||||
1
google-loc-api-key
Normal file
1
google-loc-api-key
Normal file
|
|
@ -0,0 +1 @@
|
|||
AIzaSyB2h2OuRcUgy5N-5hsZqiPW6sH3n_rptiQ
|
||||
|
|
@ -1,99 +0,0 @@
|
|||
diff -up firefox-71.0/extensions/pref/autoconfig/src/nsReadConfig.cpp.1170092 firefox-71.0/extensions/pref/autoconfig/src/nsReadConfig.cpp
|
||||
--- firefox-71.0/extensions/pref/autoconfig/src/nsReadConfig.cpp.1170092 2019-11-26 01:02:21.000000000 +0100
|
||||
+++ firefox-71.0/extensions/pref/autoconfig/src/nsReadConfig.cpp 2019-11-26 10:47:04.316154398 +0100
|
||||
@@ -246,8 +246,20 @@ nsresult nsReadConfig::openAndEvaluateJS
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
rv = NS_NewLocalFileInputStream(getter_AddRefs(inStr), jsFile);
|
||||
- if (NS_FAILED(rv)) return rv;
|
||||
+ if (NS_FAILED(rv)) {
|
||||
+ // Look for cfg file in /etc/<application>/pref
|
||||
+ rv = NS_GetSpecialDirectory(NS_APP_PREFS_SYSTEM_CONFIG_DIR,
|
||||
+ getter_AddRefs(jsFile));
|
||||
+ NS_ENSURE_SUCCESS(rv, rv);
|
||||
+
|
||||
+ rv = jsFile->AppendNative(NS_LITERAL_CSTRING("pref"));
|
||||
+ NS_ENSURE_SUCCESS(rv, rv);
|
||||
+ rv = jsFile->AppendNative(nsDependentCString(aFileName));
|
||||
+ NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
+ rv = NS_NewLocalFileInputStream(getter_AddRefs(inStr), jsFile);
|
||||
+ NS_ENSURE_SUCCESS(rv, rv);
|
||||
+ }
|
||||
} else {
|
||||
nsAutoCString location("resource://gre/defaults/autoconfig/");
|
||||
location += aFileName;
|
||||
diff -up firefox-71.0/modules/libpref/Preferences.cpp.1170092 firefox-71.0/modules/libpref/Preferences.cpp
|
||||
--- firefox-71.0/modules/libpref/Preferences.cpp.1170092 2019-11-26 01:02:25.000000000 +0100
|
||||
+++ firefox-71.0/modules/libpref/Preferences.cpp 2019-11-26 10:47:04.316154398 +0100
|
||||
@@ -4472,6 +4472,9 @@ nsresult Preferences::InitInitialObjects
|
||||
//
|
||||
// Thus, in the omni.jar case, we always load app-specific default
|
||||
// preferences from omni.jar, whether or not `$app == $gre`.
|
||||
+ //
|
||||
+ // At very end load configuration from system config location:
|
||||
+ // - /etc/firefox/pref/*.js
|
||||
|
||||
nsresult rv = NS_ERROR_FAILURE;
|
||||
nsZipFind* findPtr;
|
||||
diff -up firefox-71.0/toolkit/xre/nsXREDirProvider.cpp.1170092 firefox-71.0/toolkit/xre/nsXREDirProvider.cpp
|
||||
--- firefox-71.0/toolkit/xre/nsXREDirProvider.cpp.1170092 2019-11-26 01:02:29.000000000 +0100
|
||||
+++ firefox-71.0/toolkit/xre/nsXREDirProvider.cpp 2019-11-26 10:49:40.076095714 +0100
|
||||
@@ -61,6 +61,7 @@
|
||||
#endif
|
||||
#ifdef XP_UNIX
|
||||
# include <ctype.h>
|
||||
+# include "nsIXULAppInfo.h"
|
||||
#endif
|
||||
#ifdef XP_IOS
|
||||
# include "UIKitDirProvider.h"
|
||||
@@ -526,6 +527,21 @@ nsXREDirProvider::GetFile(const char* aP
|
||||
}
|
||||
}
|
||||
}
|
||||
+
|
||||
+#if defined(XP_UNIX)
|
||||
+ if (!strcmp(aProperty, NS_APP_PREFS_SYSTEM_CONFIG_DIR)) {
|
||||
+ nsCString sysConfigDir = NS_LITERAL_CSTRING("/etc/");
|
||||
+ nsCOMPtr<nsIXULAppInfo> appInfo = do_GetService("@mozilla.org/xre/app-info;1");
|
||||
+ if (!appInfo)
|
||||
+ return NS_ERROR_NOT_AVAILABLE;
|
||||
+ nsCString appName;
|
||||
+ appInfo->GetName(appName);
|
||||
+ ToLowerCase(appName);
|
||||
+ sysConfigDir.Append(appName);
|
||||
+ return NS_NewNativeLocalFile(sysConfigDir, false, aFile);
|
||||
+ }
|
||||
+#endif
|
||||
+
|
||||
if (NS_FAILED(rv) || !file) return NS_ERROR_FAILURE;
|
||||
|
||||
if (ensureFilePermissions) {
|
||||
@@ -842,6 +858,16 @@ nsresult nsXREDirProvider::GetFilesInter
|
||||
|
||||
LoadDirIntoArray(mXULAppDir, kAppendPrefDir, directories);
|
||||
|
||||
+ // Add /etc/<application>/pref/ directory if it exists
|
||||
+ nsCOMPtr<nsIFile> systemPrefDir;
|
||||
+ rv = NS_GetSpecialDirectory(NS_APP_PREFS_SYSTEM_CONFIG_DIR,
|
||||
+ getter_AddRefs(systemPrefDir));
|
||||
+ if (NS_SUCCEEDED(rv)) {
|
||||
+ rv = systemPrefDir->AppendNative(NS_LITERAL_CSTRING("pref"));
|
||||
+ if (NS_SUCCEEDED(rv))
|
||||
+ directories.AppendObject(systemPrefDir);
|
||||
+ }
|
||||
+
|
||||
rv = NS_NewArrayEnumerator(aResult, directories, NS_GET_IID(nsIFile));
|
||||
} else if (!strcmp(aProperty, NS_APP_CHROME_DIR_LIST)) {
|
||||
// NS_APP_CHROME_DIR_LIST is only used to get default (native) icons
|
||||
diff -up firefox-71.0/xpcom/io/nsAppDirectoryServiceDefs.h.1170092 firefox-71.0/xpcom/io/nsAppDirectoryServiceDefs.h
|
||||
--- firefox-71.0/xpcom/io/nsAppDirectoryServiceDefs.h.1170092 2019-11-26 01:02:30.000000000 +0100
|
||||
+++ firefox-71.0/xpcom/io/nsAppDirectoryServiceDefs.h 2019-11-26 10:47:04.317154398 +0100
|
||||
@@ -60,6 +60,7 @@
|
||||
#define NS_APP_PREFS_DEFAULTS_DIR_LIST "PrefDL"
|
||||
#define NS_APP_PREFS_OVERRIDE_DIR \
|
||||
"PrefDOverride" // Directory for per-profile defaults
|
||||
+#define NS_APP_PREFS_SYSTEM_CONFIG_DIR "PrefSysConf" // Directory with system-wide configuration
|
||||
|
||||
#define NS_APP_USER_PROFILE_50_DIR "ProfD"
|
||||
#define NS_APP_USER_PROFILE_LOCAL_50_DIR "ProfLD"
|
||||
|
|
@ -1,13 +1,12 @@
|
|||
diff -up firefox-68.0/widget/gtk/nsWindow.cpp.1196777 firefox-68.0/widget/gtk/nsWindow.cpp
|
||||
--- firefox-68.0/widget/gtk/nsWindow.cpp.1196777 2019-07-02 11:47:06.864726826 +0200
|
||||
+++ firefox-68.0/widget/gtk/nsWindow.cpp 2019-07-02 11:48:09.896544339 +0200
|
||||
@@ -156,7 +156,8 @@ const gint kEvents =
|
||||
#if GTK_CHECK_VERSION(3, 4, 0)
|
||||
GDK_SMOOTH_SCROLL_MASK | GDK_TOUCH_MASK |
|
||||
#endif
|
||||
- GDK_SCROLL_MASK | GDK_POINTER_MOTION_MASK | GDK_PROPERTY_CHANGE_MASK;
|
||||
+ GDK_SCROLL_MASK | GDK_POINTER_MOTION_MASK | GDK_PROPERTY_CHANGE_MASK |
|
||||
+ GDK_FOCUS_CHANGE_MASK;
|
||||
diff -up firefox-133.0/widget/gtk/nsWindow.cpp.1196777 firefox-133.0/widget/gtk/nsWindow.cpp
|
||||
--- firefox-133.0/widget/gtk/nsWindow.cpp.1196777 2024-11-22 09:32:52.293470407 +0100
|
||||
+++ firefox-133.0/widget/gtk/nsWindow.cpp 2024-11-22 10:21:54.996441520 +0100
|
||||
@@ -191,7 +191,7 @@ constexpr gint kEvents =
|
||||
GDK_VISIBILITY_NOTIFY_MASK | GDK_ENTER_NOTIFY_MASK | GDK_LEAVE_NOTIFY_MASK |
|
||||
GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_SMOOTH_SCROLL_MASK |
|
||||
GDK_TOUCH_MASK | GDK_SCROLL_MASK | GDK_POINTER_MOTION_MASK |
|
||||
- GDK_PROPERTY_CHANGE_MASK;
|
||||
+ GDK_PROPERTY_CHANGE_MASK | GDK_FOCUS_CHANGE_MASK;
|
||||
|
||||
#if !GTK_CHECK_VERSION(3, 22, 0)
|
||||
typedef enum {
|
||||
/* utility functions */
|
||||
static bool is_mouse_in_window(GdkWindow* aWindow, gdouble aMouseX,
|
||||
|
|
|
|||
|
|
@ -1,496 +0,0 @@
|
|||
diff -up firefox-56.0/dom/plugins/base/nsJSNPRuntime.cpp.1337988 firefox-56.0/dom/plugins/base/nsJSNPRuntime.cpp
|
||||
--- firefox-56.0/dom/plugins/base/nsJSNPRuntime.cpp.1337988 2017-09-14 22:15:56.000000000 +0200
|
||||
+++ firefox-56.0/dom/plugins/base/nsJSNPRuntime.cpp 2017-09-25 10:34:11.205611698 +0200
|
||||
@@ -1719,7 +1719,7 @@ NPObjWrapper_ObjectMoved(JSObject *obj,
|
||||
auto entry =
|
||||
static_cast<NPObjWrapperHashEntry*>(sNPObjWrappers->Search(npobj));
|
||||
MOZ_ASSERT(entry && entry->mJSObj);
|
||||
- MOZ_ASSERT(entry->mJSObj == old);
|
||||
+ MOZ_ASSERT(entry->mJSObj.unbarrieredGetPtr() == old);
|
||||
entry->mJSObj = obj;
|
||||
}
|
||||
|
||||
diff -up firefox-56.0/js/ipc/JavaScriptShared.cpp.1337988 firefox-56.0/js/ipc/JavaScriptShared.cpp
|
||||
--- firefox-56.0/js/ipc/JavaScriptShared.cpp.1337988 2017-07-31 18:20:47.000000000 +0200
|
||||
+++ firefox-56.0/js/ipc/JavaScriptShared.cpp 2017-09-25 10:34:11.205611698 +0200
|
||||
@@ -101,7 +101,7 @@ IdToObjectMap::has(const ObjectId& id, c
|
||||
auto p = table_.lookup(id);
|
||||
if (!p)
|
||||
return false;
|
||||
- return p->value() == obj;
|
||||
+ return p->value().unbarrieredGet() == obj;
|
||||
}
|
||||
#endif
|
||||
|
||||
diff -up firefox-56.0/js/public/RootingAPI.h.1337988 firefox-56.0/js/public/RootingAPI.h
|
||||
--- firefox-56.0/js/public/RootingAPI.h.1337988 2017-07-31 18:20:47.000000000 +0200
|
||||
+++ firefox-56.0/js/public/RootingAPI.h 2017-09-25 10:34:11.206611695 +0200
|
||||
@@ -148,6 +148,10 @@ template<typename T>
|
||||
struct PersistentRootedMarker;
|
||||
} /* namespace gc */
|
||||
|
||||
+#define DECLARE_POINTER_COMPARISON_OPS(T) \
|
||||
+ bool operator==(const T& other) const { return get() == other; } \
|
||||
+ bool operator!=(const T& other) const { return get() != other; }
|
||||
+
|
||||
// Important: Return a reference so passing a Rooted<T>, etc. to
|
||||
// something that takes a |const T&| is not a GC hazard.
|
||||
#define DECLARE_POINTER_CONSTREF_OPS(T) \
|
||||
@@ -237,8 +241,6 @@ class Heap : public js::HeapBase<T, Heap
|
||||
static_assert(js::IsHeapConstructibleType<T>::value,
|
||||
"Type T must be a public GC pointer type");
|
||||
public:
|
||||
- using ElementType = T;
|
||||
-
|
||||
Heap() {
|
||||
static_assert(sizeof(T) == sizeof(Heap<T>),
|
||||
"Heap<T> must be binary compatible with T.");
|
||||
@@ -385,8 +387,6 @@ template <typename T>
|
||||
class TenuredHeap : public js::HeapBase<T, TenuredHeap<T>>
|
||||
{
|
||||
public:
|
||||
- using ElementType = T;
|
||||
-
|
||||
TenuredHeap() : bits(0) {
|
||||
static_assert(sizeof(T) == sizeof(TenuredHeap<T>),
|
||||
"TenuredHeap<T> must be binary compatible with T.");
|
||||
@@ -394,6 +394,9 @@ class TenuredHeap : public js::HeapBase<
|
||||
explicit TenuredHeap(T p) : bits(0) { setPtr(p); }
|
||||
explicit TenuredHeap(const TenuredHeap<T>& p) : bits(0) { setPtr(p.getPtr()); }
|
||||
|
||||
+ bool operator==(const TenuredHeap<T>& other) { return bits == other.bits; }
|
||||
+ bool operator!=(const TenuredHeap<T>& other) { return bits != other.bits; }
|
||||
+
|
||||
void setPtr(T newPtr) {
|
||||
MOZ_ASSERT((reinterpret_cast<uintptr_t>(newPtr) & flagsMask) == 0);
|
||||
if (newPtr)
|
||||
@@ -470,8 +473,6 @@ class MOZ_NONHEAP_CLASS Handle : public
|
||||
friend class JS::MutableHandle<T>;
|
||||
|
||||
public:
|
||||
- using ElementType = T;
|
||||
-
|
||||
/* Creates a handle from a handle of a type convertible to T. */
|
||||
template <typename S>
|
||||
MOZ_IMPLICIT Handle(Handle<S> handle,
|
||||
@@ -533,6 +534,7 @@ class MOZ_NONHEAP_CLASS Handle : public
|
||||
MOZ_IMPLICIT Handle(MutableHandle<S>& root,
|
||||
typename mozilla::EnableIf<mozilla::IsConvertible<S, T>::value, int>::Type dummy = 0);
|
||||
|
||||
+ DECLARE_POINTER_COMPARISON_OPS(T);
|
||||
DECLARE_POINTER_CONSTREF_OPS(T);
|
||||
DECLARE_NONPOINTER_ACCESSOR_METHODS(*ptr);
|
||||
|
||||
@@ -559,8 +561,6 @@ template <typename T>
|
||||
class MOZ_STACK_CLASS MutableHandle : public js::MutableHandleBase<T, MutableHandle<T>>
|
||||
{
|
||||
public:
|
||||
- using ElementType = T;
|
||||
-
|
||||
inline MOZ_IMPLICIT MutableHandle(Rooted<T>* root);
|
||||
inline MOZ_IMPLICIT MutableHandle(PersistentRooted<T>* root);
|
||||
|
||||
@@ -589,6 +589,7 @@ class MOZ_STACK_CLASS MutableHandle : pu
|
||||
return h;
|
||||
}
|
||||
|
||||
+ DECLARE_POINTER_COMPARISON_OPS(T);
|
||||
DECLARE_POINTER_CONSTREF_OPS(T);
|
||||
DECLARE_NONPOINTER_ACCESSOR_METHODS(*ptr);
|
||||
DECLARE_NONPOINTER_MUTABLE_ACCESSOR_METHODS(*ptr);
|
||||
@@ -805,8 +806,6 @@ class MOZ_RAII Rooted : public js::Roote
|
||||
}
|
||||
|
||||
public:
|
||||
- using ElementType = T;
|
||||
-
|
||||
template <typename RootingContext>
|
||||
explicit Rooted(const RootingContext& cx)
|
||||
: ptr(GCPolicy<T>::initial())
|
||||
@@ -839,6 +838,7 @@ class MOZ_RAII Rooted : public js::Roote
|
||||
ptr = mozilla::Move(value);
|
||||
}
|
||||
|
||||
+ DECLARE_POINTER_COMPARISON_OPS(T);
|
||||
DECLARE_POINTER_CONSTREF_OPS(T);
|
||||
DECLARE_POINTER_ASSIGN_OPS(Rooted, T);
|
||||
DECLARE_NONPOINTER_ACCESSOR_METHODS(ptr);
|
||||
@@ -903,14 +903,13 @@ template <typename T>
|
||||
class MOZ_RAII FakeRooted : public RootedBase<T, FakeRooted<T>>
|
||||
{
|
||||
public:
|
||||
- using ElementType = T;
|
||||
-
|
||||
template <typename CX>
|
||||
explicit FakeRooted(CX* cx) : ptr(JS::GCPolicy<T>::initial()) {}
|
||||
|
||||
template <typename CX>
|
||||
FakeRooted(CX* cx, T initial) : ptr(initial) {}
|
||||
|
||||
+ DECLARE_POINTER_COMPARISON_OPS(T);
|
||||
DECLARE_POINTER_CONSTREF_OPS(T);
|
||||
DECLARE_POINTER_ASSIGN_OPS(FakeRooted, T);
|
||||
DECLARE_NONPOINTER_ACCESSOR_METHODS(ptr);
|
||||
@@ -931,8 +930,6 @@ template <typename T>
|
||||
class FakeMutableHandle : public js::MutableHandleBase<T, FakeMutableHandle<T>>
|
||||
{
|
||||
public:
|
||||
- using ElementType = T;
|
||||
-
|
||||
MOZ_IMPLICIT FakeMutableHandle(T* t) {
|
||||
ptr = t;
|
||||
}
|
||||
@@ -1124,8 +1121,6 @@ class PersistentRooted : public js::Root
|
||||
}
|
||||
|
||||
public:
|
||||
- using ElementType = T;
|
||||
-
|
||||
PersistentRooted() : ptr(GCPolicy<T>::initial()) {}
|
||||
|
||||
explicit PersistentRooted(RootingContext* cx)
|
||||
@@ -1203,6 +1198,7 @@ class PersistentRooted : public js::Root
|
||||
}
|
||||
}
|
||||
|
||||
+ DECLARE_POINTER_COMPARISON_OPS(T);
|
||||
DECLARE_POINTER_CONSTREF_OPS(T);
|
||||
DECLARE_POINTER_ASSIGN_OPS(PersistentRooted, T);
|
||||
DECLARE_NONPOINTER_ACCESSOR_METHODS(ptr);
|
||||
@@ -1234,8 +1230,6 @@ class JS_PUBLIC_API(ObjectPtr)
|
||||
Heap<JSObject*> value;
|
||||
|
||||
public:
|
||||
- using ElementType = JSObject*;
|
||||
-
|
||||
ObjectPtr() : value(nullptr) {}
|
||||
|
||||
explicit ObjectPtr(JSObject* obj) : value(obj) {}
|
||||
@@ -1342,177 +1336,6 @@ Swap(JS::TenuredHeap<T>& aX, JS::Tenured
|
||||
|
||||
} /* namespace mozilla */
|
||||
|
||||
-namespace js {
|
||||
-namespace detail {
|
||||
-
|
||||
-// DefineComparisonOps is a trait which selects which wrapper classes to define
|
||||
-// operator== and operator!= for. It supplies a getter function to extract the
|
||||
-// value to compare. This is used to avoid triggering the automatic read
|
||||
-// barriers where appropriate.
|
||||
-//
|
||||
-// If DefineComparisonOps is not specialized for a particular wrapper you may
|
||||
-// get errors such as 'invalid operands to binary expression' or 'no match for
|
||||
-// operator==' when trying to compare against instances of the wrapper.
|
||||
-
|
||||
-template <typename T>
|
||||
-struct DefineComparisonOps : mozilla::FalseType {};
|
||||
-
|
||||
-template <typename T>
|
||||
-struct DefineComparisonOps<JS::Heap<T>> : mozilla::TrueType {
|
||||
- static const T& get(const JS::Heap<T>& v) { return v.unbarrieredGet(); }
|
||||
-};
|
||||
-
|
||||
-template <typename T>
|
||||
-struct DefineComparisonOps<JS::TenuredHeap<T>> : mozilla::TrueType {
|
||||
- static const T get(const JS::TenuredHeap<T>& v) { return v.unbarrieredGetPtr(); }
|
||||
-};
|
||||
-
|
||||
-template <>
|
||||
-struct DefineComparisonOps<JS::ObjectPtr> : mozilla::TrueType {
|
||||
- static const JSObject* get(const JS::ObjectPtr& v) { return v.unbarrieredGet(); }
|
||||
-};
|
||||
-
|
||||
-template <typename T>
|
||||
-struct DefineComparisonOps<JS::Rooted<T>> : mozilla::TrueType {
|
||||
- static const T& get(const JS::Rooted<T>& v) { return v.get(); }
|
||||
-};
|
||||
-
|
||||
-template <typename T>
|
||||
-struct DefineComparisonOps<JS::Handle<T>> : mozilla::TrueType {
|
||||
- static const T& get(const JS::Handle<T>& v) { return v.get(); }
|
||||
-};
|
||||
-
|
||||
-template <typename T>
|
||||
-struct DefineComparisonOps<JS::MutableHandle<T>> : mozilla::TrueType {
|
||||
- static const T& get(const JS::MutableHandle<T>& v) { return v.get(); }
|
||||
-};
|
||||
-
|
||||
-template <typename T>
|
||||
-struct DefineComparisonOps<JS::PersistentRooted<T>> : mozilla::TrueType {
|
||||
- static const T& get(const JS::PersistentRooted<T>& v) { return v.get(); }
|
||||
-};
|
||||
-
|
||||
-template <typename T>
|
||||
-struct DefineComparisonOps<js::FakeRooted<T>> : mozilla::TrueType {
|
||||
- static const T& get(const js::FakeRooted<T>& v) { return v.get(); }
|
||||
-};
|
||||
-
|
||||
-template <typename T>
|
||||
-struct DefineComparisonOps<js::FakeMutableHandle<T>> : mozilla::TrueType {
|
||||
- static const T& get(const js::FakeMutableHandle<T>& v) { return v.get(); }
|
||||
-};
|
||||
-
|
||||
-} /* namespace detail */
|
||||
-} /* namespace js */
|
||||
-
|
||||
-// Overload operator== and operator!= for all types with the DefineComparisonOps
|
||||
-// trait using the supplied getter.
|
||||
-//
|
||||
-// There are four cases:
|
||||
-
|
||||
-// Case 1: comparison between two wrapper objects.
|
||||
-
|
||||
-template <typename T, typename U>
|
||||
-typename mozilla::EnableIf<js::detail::DefineComparisonOps<T>::value &&
|
||||
- js::detail::DefineComparisonOps<U>::value, bool>::Type
|
||||
-operator==(const T& a, const U& b) {
|
||||
- return js::detail::DefineComparisonOps<T>::get(a) == js::detail::DefineComparisonOps<U>::get(b);
|
||||
-}
|
||||
-
|
||||
-template <typename T, typename U>
|
||||
-typename mozilla::EnableIf<js::detail::DefineComparisonOps<T>::value &&
|
||||
- js::detail::DefineComparisonOps<U>::value, bool>::Type
|
||||
-operator!=(const T& a, const U& b) {
|
||||
- return !(a == b);
|
||||
-}
|
||||
-
|
||||
-// Case 2: comparison between a wrapper object and its unwrapped element type.
|
||||
-
|
||||
-template <typename T>
|
||||
-typename mozilla::EnableIf<js::detail::DefineComparisonOps<T>::value, bool>::Type
|
||||
-operator==(const T& a, const typename T::ElementType& b) {
|
||||
- return js::detail::DefineComparisonOps<T>::get(a) == b;
|
||||
-}
|
||||
-
|
||||
-template <typename T>
|
||||
-typename mozilla::EnableIf<js::detail::DefineComparisonOps<T>::value, bool>::Type
|
||||
-operator!=(const T& a, const typename T::ElementType& b) {
|
||||
- return !(a == b);
|
||||
-}
|
||||
-
|
||||
-template <typename T>
|
||||
-typename mozilla::EnableIf<js::detail::DefineComparisonOps<T>::value, bool>::Type
|
||||
-operator==(const typename T::ElementType& a, const T& b) {
|
||||
- return a == js::detail::DefineComparisonOps<T>::get(b);
|
||||
-}
|
||||
-
|
||||
-template <typename T>
|
||||
-typename mozilla::EnableIf<js::detail::DefineComparisonOps<T>::value, bool>::Type
|
||||
-operator!=(const typename T::ElementType& a, const T& b) {
|
||||
- return !(a == b);
|
||||
-}
|
||||
-
|
||||
-// Case 3: For pointer wrappers, comparison between the wrapper and a const
|
||||
-// element pointer.
|
||||
-
|
||||
-template <typename T>
|
||||
-typename mozilla::EnableIf<js::detail::DefineComparisonOps<T>::value &&
|
||||
- mozilla::IsPointer<typename T::ElementType>::value, bool>::Type
|
||||
-operator==(const typename mozilla::RemovePointer<typename T::ElementType>::Type* a, const T& b) {
|
||||
- return a == js::detail::DefineComparisonOps<T>::get(b);
|
||||
-}
|
||||
-
|
||||
-template <typename T>
|
||||
-typename mozilla::EnableIf<js::detail::DefineComparisonOps<T>::value &&
|
||||
- mozilla::IsPointer<typename T::ElementType>::value, bool>::Type
|
||||
-operator!=(const typename mozilla::RemovePointer<typename T::ElementType>::Type* a, const T& b) {
|
||||
- return !(a == b);
|
||||
-}
|
||||
-
|
||||
-template <typename T>
|
||||
-typename mozilla::EnableIf<js::detail::DefineComparisonOps<T>::value &&
|
||||
- mozilla::IsPointer<typename T::ElementType>::value, bool>::Type
|
||||
-operator==(const T& a, const typename mozilla::RemovePointer<typename T::ElementType>::Type* b) {
|
||||
- return js::detail::DefineComparisonOps<T>::get(a) == b;
|
||||
-}
|
||||
-
|
||||
-template <typename T>
|
||||
-typename mozilla::EnableIf<js::detail::DefineComparisonOps<T>::value &&
|
||||
- mozilla::IsPointer<typename T::ElementType>::value, bool>::Type
|
||||
-operator!=(const T& a, const typename mozilla::RemovePointer<typename T::ElementType>::Type* b) {
|
||||
- return !(a == b);
|
||||
-}
|
||||
-
|
||||
-// Case 4: For pointer wrappers, comparison between the wrapper and nullptr.
|
||||
-
|
||||
-template <typename T>
|
||||
-typename mozilla::EnableIf<js::detail::DefineComparisonOps<T>::value &&
|
||||
- mozilla::IsPointer<typename T::ElementType>::value, bool>::Type
|
||||
-operator==(std::nullptr_t a, const T& b) {
|
||||
- return a == js::detail::DefineComparisonOps<T>::get(b);
|
||||
-}
|
||||
-
|
||||
-template <typename T>
|
||||
-typename mozilla::EnableIf<js::detail::DefineComparisonOps<T>::value &&
|
||||
- mozilla::IsPointer<typename T::ElementType>::value, bool>::Type
|
||||
-operator!=(std::nullptr_t a, const T& b) {
|
||||
- return !(a == b);
|
||||
-}
|
||||
-
|
||||
-template <typename T>
|
||||
-typename mozilla::EnableIf<js::detail::DefineComparisonOps<T>::value &&
|
||||
- mozilla::IsPointer<typename T::ElementType>::value, bool>::Type
|
||||
-operator==(const T& a, std::nullptr_t b) {
|
||||
- return js::detail::DefineComparisonOps<T>::get(a) == b;
|
||||
-}
|
||||
-
|
||||
-template <typename T>
|
||||
-typename mozilla::EnableIf<js::detail::DefineComparisonOps<T>::value &&
|
||||
- mozilla::IsPointer<typename T::ElementType>::value, bool>::Type
|
||||
-operator!=(const T& a, std::nullptr_t b) {
|
||||
- return !(a == b);
|
||||
-}
|
||||
-
|
||||
#undef DELETE_ASSIGNMENT_OPS
|
||||
|
||||
#endif /* js_RootingAPI_h */
|
||||
diff -up firefox-56.0/js/src/gc/Barrier.h.1337988 firefox-56.0/js/src/gc/Barrier.h
|
||||
--- firefox-56.0/js/src/gc/Barrier.h.1337988 2017-09-14 22:16:01.000000000 +0200
|
||||
+++ firefox-56.0/js/src/gc/Barrier.h 2017-09-25 10:34:11.206611695 +0200
|
||||
@@ -353,8 +353,8 @@ class WriteBarrieredBase : public Barrie
|
||||
explicit WriteBarrieredBase(const T& v) : BarrieredBase<T>(v) {}
|
||||
|
||||
public:
|
||||
- using ElementType = T;
|
||||
|
||||
+ DECLARE_POINTER_COMPARISON_OPS(T);
|
||||
DECLARE_POINTER_CONSTREF_OPS(T);
|
||||
|
||||
// Use this if the automatic coercion to T isn't working.
|
||||
@@ -612,13 +612,14 @@ class ReadBarriered : public ReadBarrier
|
||||
return *this;
|
||||
}
|
||||
|
||||
- const T& get() const {
|
||||
- if (InternalBarrierMethods<T>::isMarkable(this->value))
|
||||
- this->read();
|
||||
+ const T get() const {
|
||||
+ if (!InternalBarrierMethods<T>::isMarkable(this->value))
|
||||
+ return JS::GCPolicy<T>::initial();
|
||||
+ this->read();
|
||||
return this->value;
|
||||
}
|
||||
|
||||
- const T& unbarrieredGet() const {
|
||||
+ const T unbarrieredGet() const {
|
||||
return this->value;
|
||||
}
|
||||
|
||||
@@ -626,9 +627,9 @@ class ReadBarriered : public ReadBarrier
|
||||
return bool(this->value);
|
||||
}
|
||||
|
||||
- operator const T&() const { return get(); }
|
||||
+ operator const T() const { return get(); }
|
||||
|
||||
- const T& operator->() const { return get(); }
|
||||
+ const T operator->() const { return get(); }
|
||||
|
||||
T* unsafeGet() { return &this->value; }
|
||||
T const* unsafeGet() const { return &this->value; }
|
||||
@@ -955,35 +956,6 @@ typedef ReadBarriered<WasmTableObject*>
|
||||
|
||||
typedef ReadBarriered<Value> ReadBarrieredValue;
|
||||
|
||||
-namespace detail {
|
||||
-
|
||||
-template <typename T>
|
||||
-struct DefineComparisonOps<PreBarriered<T>> : mozilla::TrueType {
|
||||
- static const T& get(const PreBarriered<T>& v) { return v.get(); }
|
||||
-};
|
||||
-
|
||||
-template <typename T>
|
||||
-struct DefineComparisonOps<GCPtr<T>> : mozilla::TrueType {
|
||||
- static const T& get(const GCPtr<T>& v) { return v.get(); }
|
||||
-};
|
||||
-
|
||||
-template <typename T>
|
||||
-struct DefineComparisonOps<HeapPtr<T>> : mozilla::TrueType {
|
||||
- static const T& get(const HeapPtr<T>& v) { return v.get(); }
|
||||
-};
|
||||
-
|
||||
-template <typename T>
|
||||
-struct DefineComparisonOps<ReadBarriered<T>> : mozilla::TrueType {
|
||||
- static const T& get(const ReadBarriered<T>& v) { return v.unbarrieredGet(); }
|
||||
-};
|
||||
-
|
||||
-template <>
|
||||
-struct DefineComparisonOps<HeapSlot> : mozilla::TrueType {
|
||||
- static const Value& get(const HeapSlot& v) { return v.get(); }
|
||||
-};
|
||||
-
|
||||
-} /* namespace detail */
|
||||
-
|
||||
} /* namespace js */
|
||||
|
||||
#endif /* gc_Barrier_h */
|
||||
diff -up firefox-56.0/js/src/jsapi-tests/testGCHeapPostBarriers.cpp.1337988 firefox-56.0/js/src/jsapi-tests/testGCHeapPostBarriers.cpp
|
||||
--- firefox-56.0/js/src/jsapi-tests/testGCHeapPostBarriers.cpp.1337988 2017-09-14 22:16:02.000000000 +0200
|
||||
+++ firefox-56.0/js/src/jsapi-tests/testGCHeapPostBarriers.cpp 2017-09-25 10:34:11.206611695 +0200
|
||||
@@ -5,7 +5,6 @@
|
||||
* 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 "mozilla/TypeTraits.h"
|
||||
#include "mozilla/UniquePtr.h"
|
||||
|
||||
#include "js/RootingAPI.h"
|
||||
diff -up firefox-56.0/js/src/vm/SharedMem.h.1337988 firefox-56.0/js/src/vm/SharedMem.h
|
||||
--- firefox-56.0/js/src/vm/SharedMem.h.1337988 2017-06-15 22:52:29.000000000 +0200
|
||||
+++ firefox-56.0/js/src/vm/SharedMem.h 2017-09-25 10:34:11.206611695 +0200
|
||||
@@ -12,8 +12,8 @@
|
||||
template<typename T>
|
||||
class SharedMem
|
||||
{
|
||||
- // static_assert(mozilla::IsPointer<T>::value,
|
||||
- // "SharedMem encapsulates pointer types");
|
||||
+ static_assert(mozilla::IsPointer<T>::value,
|
||||
+ "SharedMem encapsulates pointer types");
|
||||
|
||||
enum Sharedness {
|
||||
IsUnshared,
|
||||
diff -up firefox-56.0/js/xpconnect/src/XPCInlines.h.1337988 firefox-56.0/js/xpconnect/src/XPCInlines.h
|
||||
--- firefox-56.0/js/xpconnect/src/XPCInlines.h.1337988 2017-09-14 22:16:03.000000000 +0200
|
||||
+++ firefox-56.0/js/xpconnect/src/XPCInlines.h 2017-09-25 10:34:11.206611695 +0200
|
||||
@@ -465,7 +465,7 @@ inline
|
||||
void XPCWrappedNativeTearOff::JSObjectMoved(JSObject* obj, const JSObject* old)
|
||||
{
|
||||
MOZ_ASSERT(!IsMarked());
|
||||
- MOZ_ASSERT(mJSObject == old);
|
||||
+ MOZ_ASSERT(mJSObject.unbarrieredGetPtr() == old);
|
||||
mJSObject = obj;
|
||||
}
|
||||
|
||||
diff -up firefox-56.0/js/xpconnect/src/XPCWrappedNative.cpp.1337988 firefox-56.0/js/xpconnect/src/XPCWrappedNative.cpp
|
||||
--- firefox-56.0/js/xpconnect/src/XPCWrappedNative.cpp.1337988 2017-09-14 22:16:03.000000000 +0200
|
||||
+++ firefox-56.0/js/xpconnect/src/XPCWrappedNative.cpp 2017-09-25 10:34:11.207611692 +0200
|
||||
@@ -874,7 +874,7 @@ void
|
||||
XPCWrappedNative::FlatJSObjectMoved(JSObject* obj, const JSObject* old)
|
||||
{
|
||||
JS::AutoAssertGCCallback inCallback;
|
||||
- MOZ_ASSERT(mFlatJSObject == old);
|
||||
+ MOZ_ASSERT(mFlatJSObject.unbarrieredGetPtr() == old);
|
||||
|
||||
nsWrapperCache* cache = nullptr;
|
||||
CallQueryInterface(mIdentity, &cache);
|
||||
diff -up firefox-56.0/js/xpconnect/src/XPCWrappedNativeProto.cpp.1337988 firefox-56.0/js/xpconnect/src/XPCWrappedNativeProto.cpp
|
||||
--- firefox-56.0/js/xpconnect/src/XPCWrappedNativeProto.cpp.1337988 2017-07-31 18:20:47.000000000 +0200
|
||||
+++ firefox-56.0/js/xpconnect/src/XPCWrappedNativeProto.cpp 2017-09-25 10:34:11.207611692 +0200
|
||||
@@ -101,7 +101,7 @@ XPCWrappedNativeProto::CallPostCreatePro
|
||||
void
|
||||
XPCWrappedNativeProto::JSProtoObjectFinalized(js::FreeOp* fop, JSObject* obj)
|
||||
{
|
||||
- MOZ_ASSERT(obj == mJSProtoObject, "huh?");
|
||||
+ MOZ_ASSERT(obj == mJSProtoObject.unbarrieredGet(), "huh?");
|
||||
|
||||
#ifdef DEBUG
|
||||
// Check that this object has already been swept from the map.
|
||||
@@ -117,7 +117,7 @@ XPCWrappedNativeProto::JSProtoObjectFina
|
||||
void
|
||||
XPCWrappedNativeProto::JSProtoObjectMoved(JSObject* obj, const JSObject* old)
|
||||
{
|
||||
- MOZ_ASSERT(mJSProtoObject == old);
|
||||
+ MOZ_ASSERT(mJSProtoObject.unbarrieredGet() == old);
|
||||
mJSProtoObject.init(obj); // Update without triggering barriers.
|
||||
}
|
||||
|
||||
|
|
@ -1,21 +0,0 @@
|
|||
diff -up firefox-71.0/build/moz.configure/lto-pgo.configure.1516081 firefox-71.0/build/moz.configure/lto-pgo.configure
|
||||
--- firefox-71.0/build/moz.configure/lto-pgo.configure.1516081 2019-11-26 01:02:19.000000000 +0100
|
||||
+++ firefox-71.0/build/moz.configure/lto-pgo.configure 2019-11-26 11:04:10.993077232 +0100
|
||||
@@ -71,7 +71,7 @@ set_config('PGO_PROFILE_PATH', pgo_profi
|
||||
def pgo_flags(compiler, target, profdata):
|
||||
if compiler.type == 'gcc':
|
||||
return namespace(
|
||||
- gen_cflags=['-fprofile-generate'],
|
||||
+ gen_cflags=['-fprofile-generate', '-DMOZ_PROFILE_INSTRUMENTATION'],
|
||||
gen_ldflags=['-fprofile-generate'],
|
||||
use_cflags=['-fprofile-use', '-fprofile-correction',
|
||||
'-Wcoverage-mismatch'],
|
||||
@@ -92,7 +92,7 @@ def pgo_flags(compiler, target, profdata
|
||||
gen_ldflags = ['-fprofile-generate']
|
||||
|
||||
return namespace(
|
||||
- gen_cflags=[prefix + '-fprofile-generate'],
|
||||
+ gen_cflags=[prefix + '-fprofile-generate', '-DMOZ_PROFILE_INSTRUMENTATION'],
|
||||
gen_ldflags=gen_ldflags,
|
||||
use_cflags=[prefix + '-fprofile-use=%s' % profdata,
|
||||
# Some error messages about mismatched profile data
|
||||
|
|
@ -1,16 +1,15 @@
|
|||
diff --git a/security/sandbox/linux/moz.build b/security/sandbox/linux/moz.build
|
||||
--- a/security/sandbox/linux/moz.build
|
||||
+++ b/security/sandbox/linux/moz.build
|
||||
@@ -99,9 +99,8 @@
|
||||
diff -up firefox-84.0/security/sandbox/linux/moz.build.1516803 firefox-84.0/security/sandbox/linux/moz.build
|
||||
--- firefox-84.0/security/sandbox/linux/moz.build.1516803 2020-12-10 16:17:55.425139545 +0100
|
||||
+++ firefox-84.0/security/sandbox/linux/moz.build 2020-12-10 16:29:21.945860841 +0100
|
||||
@@ -114,9 +114,8 @@ if CONFIG["CC_TYPE"] in ("clang", "gcc")
|
||||
# gcc lto likes to put the top level asm in syscall.cc in a different partition
|
||||
# from the function using it which breaks the build. Work around that by
|
||||
# forcing there to be only one partition.
|
||||
-for f in CONFIG['OS_CXXFLAGS']:
|
||||
- if f.startswith('-flto') and CONFIG['CC_TYPE'] != 'clang':
|
||||
- LDFLAGS += ['--param lto-partitions=1']
|
||||
-for f in CONFIG["OS_CXXFLAGS"]:
|
||||
- if f.startswith("-flto") and CONFIG["CC_TYPE"] != "clang":
|
||||
- LDFLAGS += ["--param lto-partitions=1"]
|
||||
+if CONFIG['CC_TYPE'] != 'clang':
|
||||
+ LDFLAGS += ['--param', 'lto-partitions=1']
|
||||
|
||||
DEFINES['NS_NO_XPCOM'] = True
|
||||
DEFINES["NS_NO_XPCOM"] = True
|
||||
DisableStlWrapping()
|
||||
|
||||
|
|
|
|||
|
|
@ -1,43 +0,0 @@
|
|||
diff -up firefox-71.0/widget/gtk/nsWindow.cpp.1568569 firefox-71.0/widget/gtk/nsWindow.cpp
|
||||
--- firefox-71.0/widget/gtk/nsWindow.cpp.1568569 2019-11-26 10:51:08.303063138 +0100
|
||||
+++ firefox-71.0/widget/gtk/nsWindow.cpp 2019-11-26 10:54:28.428994823 +0100
|
||||
@@ -3348,6 +3348,8 @@ void nsWindow::OnWindowStateEvent(GtkWid
|
||||
return;
|
||||
}
|
||||
|
||||
+ nsSizeMode lastSizeState = mSizeState;
|
||||
+
|
||||
if (aEvent->new_window_state & GDK_WINDOW_STATE_ICONIFIED) {
|
||||
LOG(("\tIconified\n"));
|
||||
mSizeState = nsSizeMode_Minimized;
|
||||
@@ -3379,6 +3381,18 @@ void nsWindow::OnWindowStateEvent(GtkWid
|
||||
mIsTiled = false;
|
||||
}
|
||||
|
||||
+ // Fullscreen video playback may generate bogus alpha values which blends
|
||||
+ // with desktop background in fullscreen video playback (Bug 1568569).
|
||||
+ // As a workaround enable to draw mShell background in fullscreen mode
|
||||
+ // if we draw to mContainer.
|
||||
+ if (gtk_widget_get_has_window(GTK_WIDGET(mContainer))) {
|
||||
+ if (mSizeState == nsSizeMode_Fullscreen) {
|
||||
+ gtk_widget_set_app_paintable(mShell, FALSE);
|
||||
+ } else if (lastSizeState == nsSizeMode_Fullscreen) {
|
||||
+ gtk_widget_set_app_paintable(mShell, TRUE);
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
if (mWidgetListener) {
|
||||
mWidgetListener->SizeModeChanged(mSizeState);
|
||||
if (aEvent->changed_mask & GDK_WINDOW_STATE_FULLSCREEN) {
|
||||
@@ -3930,6 +3944,11 @@ nsresult nsWindow::Create(nsIWidget* aPa
|
||||
gtk_widget_add_events(eventWidget, kEvents);
|
||||
if (drawToContainer) {
|
||||
gtk_widget_add_events(mShell, GDK_PROPERTY_CHANGE_MASK);
|
||||
+ // Don't paint mShell background when we draw to mContainer.
|
||||
+ // Otherwise we see mShell backround to shine through
|
||||
+ // mContainer (Bug 1507608).
|
||||
+ // But it may also lead to various bugs where mContainer has unintended
|
||||
+ // transparent parts which blend with underlying desktop (Bug 1516224).
|
||||
gtk_widget_set_app_paintable(mShell, TRUE);
|
||||
}
|
||||
if (mTransparencyBitmapForTitlebar) {
|
||||
|
|
@ -1,51 +0,0 @@
|
|||
diff --git a/widget/gtk/nsWindow.cpp b/widget/gtk/nsWindow.cpp
|
||||
--- a/widget/gtk/nsWindow.cpp
|
||||
+++ b/widget/gtk/nsWindow.cpp
|
||||
@@ -1155,6 +1155,28 @@
|
||||
}
|
||||
}
|
||||
|
||||
+bool IsPopupWithoutToplevelParent(nsMenuPopupFrame* aMenuPopupFrame) {
|
||||
+ // Check if the popup is autocomplete (like tags autocomplete
|
||||
+ // in the bookmark edit popup).
|
||||
+ nsAtom* popupId = aMenuPopupFrame->GetContent()->GetID();
|
||||
+ if (popupId && popupId->Equals(NS_LITERAL_STRING("PopupAutoComplete"))) {
|
||||
+ return true;
|
||||
+ }
|
||||
+
|
||||
+ // Check if the popup is in popupnotificationcontent (like choosing capture
|
||||
+ // device when starting webrtc session).
|
||||
+ nsIFrame* parentFrame = aMenuPopupFrame->GetParent();
|
||||
+ if (!parentFrame) {
|
||||
+ return false;
|
||||
+ }
|
||||
+ parentFrame = parentFrame->GetParent();
|
||||
+ if (parentFrame && parentFrame->GetContent()->NodeName().EqualsLiteral(
|
||||
+ "popupnotificationcontent")) {
|
||||
+ return true;
|
||||
+ }
|
||||
+ return false;
|
||||
+}
|
||||
+
|
||||
// Wayland keeps strong popup window hierarchy. We need to track active
|
||||
// (visible) popup windows and make sure we hide popup on the same level
|
||||
// before we open another one on that level. It means that every open
|
||||
@@ -1211,10 +1233,14 @@
|
||||
LOG(("...[%p] GetParentMenuWidget() = %p\n", (void*)this, parentWindow));
|
||||
|
||||
// If the popup is a regular menu but GetParentMenuWidget() returns
|
||||
- // nullptr which means it's connected non-menu parent
|
||||
- // (bookmark toolbar for instance).
|
||||
+ // nullptr which means is not a submenu of any other menu.
|
||||
// In this case use a parent given at nsWindow::Create().
|
||||
- if (!parentWindow && !menuPopupFrame->IsContextMenu()) {
|
||||
+ // But we have to avoid using mToplevelParentWindow in case the popup
|
||||
+ // is in 'popupnotificationcontent' element or autocomplete popup,
|
||||
+ // otherwise the popupnotification would disappear when for
|
||||
+ // example opening a popup with microphone selection.
|
||||
+ if (!parentWindow && !menuPopupFrame->IsContextMenu() &&
|
||||
+ !IsPopupWithoutToplevelParent(menuPopupFrame)) {
|
||||
parentWindow =
|
||||
get_window_for_gtk_widget(GTK_WIDGET(mToplevelParentWindow));
|
||||
}
|
||||
|
||||
|
|
@ -1,156 +0,0 @@
|
|||
changeset: 496943:24592798daf4
|
||||
tag: tip
|
||||
parent: 496931:ca257801d86f
|
||||
user: Martin Stransky <stransky@redhat.com>
|
||||
date: Tue Sep 24 12:54:11 2019 +0200
|
||||
files: toolkit/components/enterprisepolicies/EnterprisePolicies.js toolkit/xre/nsXREDirProvider.cpp xpcom/build/nsXULAppAPI.h
|
||||
description:
|
||||
Bug 1583466 - [Linux] Allow to Load policies per user from system on Linux/Gtk, r=mkaply
|
||||
|
||||
When browser.policies.perUserPath is set, load browser policy per user
|
||||
from /run/user/$UID/appname/ directory instead of the default firefox/distribution
|
||||
dir.
|
||||
|
||||
Differential Revision: https://phabricator.services.mozilla.com/D46921
|
||||
|
||||
|
||||
diff --git a/toolkit/components/enterprisepolicies/EnterprisePolicies.js b/toolkit/components/enterprisepolicies/EnterprisePolicies.js
|
||||
--- a/toolkit/components/enterprisepolicies/EnterprisePolicies.js
|
||||
+++ b/toolkit/components/enterprisepolicies/EnterprisePolicies.js
|
||||
@@ -18,16 +18,19 @@ XPCOMUtils.defineLazyModuleGetters(this,
|
||||
JsonSchemaValidator:
|
||||
"resource://gre/modules/components-utils/JsonSchemaValidator.jsm",
|
||||
});
|
||||
|
||||
// This is the file that will be searched for in the
|
||||
// ${InstallDir}/distribution folder.
|
||||
const POLICIES_FILENAME = "policies.json";
|
||||
|
||||
+// When true browser policy is loaded per-user from
|
||||
+// /run/usr/$UID/appname
|
||||
+const PREF_PER_USER_DIR = "browser.policies.perUserDir";
|
||||
// For easy testing, modify the helpers/sample.json file,
|
||||
// and set PREF_ALTERNATE_PATH in firefox.js as:
|
||||
// /your/repo/browser/components/enterprisepolicies/helpers/sample.json
|
||||
const PREF_ALTERNATE_PATH = "browser.policies.alternatePath";
|
||||
// For testing, we may want to set PREF_ALTERNATE_PATH to point to a file
|
||||
// relative to the test root directory. In order to enable this, the string
|
||||
// below may be placed at the beginning of that preference value and it will
|
||||
// be replaced with the path to the test root directory.
|
||||
@@ -450,17 +453,22 @@ class JSONPoliciesProvider {
|
||||
|
||||
get failed() {
|
||||
return this._failed;
|
||||
}
|
||||
|
||||
_getConfigurationFile() {
|
||||
let configFile = null;
|
||||
try {
|
||||
- configFile = Services.dirsvc.get("XREAppDist", Ci.nsIFile);
|
||||
+ let perUserPath = Services.prefs.getBoolPref(PREF_PER_USER_DIR, false);
|
||||
+ if (perUserPath) {
|
||||
+ configFile = Services.dirsvc.get("XREAppDistUser", Ci.nsIFile);
|
||||
+ } else {
|
||||
+ configFile = Services.dirsvc.get("XREAppDist", Ci.nsIFile);
|
||||
+ }
|
||||
configFile.append(POLICIES_FILENAME);
|
||||
} catch (ex) {
|
||||
// Getting the correct directory will fail in xpcshell tests. This should
|
||||
// be handled the same way as if the configFile simply does not exist.
|
||||
}
|
||||
|
||||
let alternatePath = Services.prefs.getStringPref(PREF_ALTERNATE_PATH, "");
|
||||
|
||||
diff --git a/toolkit/xre/nsXREDirProvider.cpp b/toolkit/xre/nsXREDirProvider.cpp
|
||||
--- a/toolkit/xre/nsXREDirProvider.cpp
|
||||
+++ b/toolkit/xre/nsXREDirProvider.cpp
|
||||
@@ -40,16 +40,17 @@
|
||||
#include "mozilla/dom/ScriptSettings.h"
|
||||
|
||||
#include "mozilla/AutoRestore.h"
|
||||
#include "mozilla/Components.h"
|
||||
#include "mozilla/Services.h"
|
||||
#include "mozilla/Omnijar.h"
|
||||
#include "mozilla/Preferences.h"
|
||||
#include "mozilla/Telemetry.h"
|
||||
+#include "nsPrintfCString.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifdef XP_WIN
|
||||
# include <windows.h>
|
||||
# include <shlobj.h>
|
||||
# include "WinUtils.h"
|
||||
#endif
|
||||
@@ -98,17 +99,17 @@ static already_AddRefed<nsIFile> CreateP
|
||||
nsXREDirProvider* gDirServiceProvider = nullptr;
|
||||
nsIFile* gDataDirHomeLocal = nullptr;
|
||||
nsIFile* gDataDirHome = nullptr;
|
||||
nsCOMPtr<nsIFile> gDataDirProfileLocal = nullptr;
|
||||
nsCOMPtr<nsIFile> gDataDirProfile = nullptr;
|
||||
|
||||
// These are required to allow nsXREDirProvider to be usable in xpcshell tests.
|
||||
// where gAppData is null.
|
||||
-#if defined(XP_MACOSX) || defined(XP_WIN)
|
||||
+#if defined(XP_MACOSX) || defined(XP_WIN) || defined(XP_UNIX)
|
||||
static const char* GetAppName() {
|
||||
if (gAppData) {
|
||||
return gAppData->name;
|
||||
}
|
||||
return nullptr;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -456,16 +457,24 @@ nsXREDirProvider::GetFile(const char* aP
|
||||
else if (!strcmp(aProperty, XRE_USER_SYS_EXTENSION_DIR)) {
|
||||
#ifdef ENABLE_SYSTEM_EXTENSION_DIRS
|
||||
return GetSysUserExtensionsDirectory(aFile);
|
||||
#else
|
||||
return NS_ERROR_FAILURE;
|
||||
#endif
|
||||
} else if (!strcmp(aProperty, XRE_USER_SYS_EXTENSION_DEV_DIR)) {
|
||||
return GetSysUserExtensionsDevDirectory(aFile);
|
||||
+ } else if (!strcmp(aProperty, XRE_APP_DISTRIBUTION_USER_DIR)) {
|
||||
+#ifdef MOZ_WIDGET_GTK
|
||||
+ nsPrintfCString path("/run/user/%d/%s/", getuid(), GetAppName());
|
||||
+ ToLowerCase(path);
|
||||
+ return NS_NewNativeLocalFile(path, false, aFile);
|
||||
+#else
|
||||
+ return NS_ERROR_FAILURE;
|
||||
+#endif
|
||||
} else if (!strcmp(aProperty, XRE_APP_DISTRIBUTION_DIR)) {
|
||||
bool persistent = false;
|
||||
rv = GetFile(NS_GRE_DIR, &persistent, getter_AddRefs(file));
|
||||
if (NS_SUCCEEDED(rv))
|
||||
rv = file->AppendNative(NS_LITERAL_CSTRING("distribution"));
|
||||
} else if (!strcmp(aProperty, XRE_APP_FEATURES_DIR)) {
|
||||
rv = GetAppDir()->Clone(getter_AddRefs(file));
|
||||
if (NS_SUCCEEDED(rv))
|
||||
diff --git a/xpcom/build/nsXULAppAPI.h b/xpcom/build/nsXULAppAPI.h
|
||||
--- a/xpcom/build/nsXULAppAPI.h
|
||||
+++ b/xpcom/build/nsXULAppAPI.h
|
||||
@@ -137,16 +137,23 @@
|
||||
|
||||
/**
|
||||
* A directory service key which specifies the location for app dir add-ons.
|
||||
* Should be a synonym for XCurProcD everywhere except in tests.
|
||||
*/
|
||||
#define XRE_ADDON_APP_DIR "XREAddonAppDir"
|
||||
|
||||
/**
|
||||
+ * A directory service key which specifies the distribution specific files for
|
||||
+ * the application unique for each user.
|
||||
+ * It's located at /run/user/$PID/<product name>/
|
||||
+ */
|
||||
+#define XRE_APP_DISTRIBUTION_USER_DIR "XREAppDistUser"
|
||||
+
|
||||
+/**
|
||||
* A directory service key which provides the update directory. Callers should
|
||||
* fall back to appDir.
|
||||
* Windows: If vendor name exists:
|
||||
* ProgramData\<vendor name>\updates\
|
||||
* <hash of the path to XRE_EXECUTABLE_FILE's parent directory>
|
||||
*
|
||||
* If vendor name doesn't exist, but product name exists:
|
||||
* ProgramData\<product name>\updates\
|
||||
|
||||
|
|
@ -1,76 +0,0 @@
|
|||
diff -up firefox-71.0/widget/gtk/mozcontainer.cpp.mozilla-1593408 firefox-71.0/widget/gtk/mozcontainer.cpp
|
||||
--- firefox-71.0/widget/gtk/mozcontainer.cpp.mozilla-1593408 2019-11-26 01:02:30.000000000 +0100
|
||||
+++ firefox-71.0/widget/gtk/mozcontainer.cpp 2019-11-27 11:41:20.539447954 +0100
|
||||
@@ -76,6 +76,10 @@ static void moz_container_allocate_child
|
||||
MozContainerChild* child);
|
||||
static MozContainerChild* moz_container_get_child(MozContainer* container,
|
||||
GtkWidget* child);
|
||||
+#ifdef MOZ_WAYLAND
|
||||
+static wl_surface* moz_container_get_gtk_container_surface(
|
||||
+ MozContainer* container);
|
||||
+#endif
|
||||
|
||||
/* public methods */
|
||||
|
||||
@@ -158,6 +162,22 @@ void moz_container_move(MozContainer* co
|
||||
container->subsurface_dx = dx;
|
||||
container->subsurface_dy = dy;
|
||||
container->surface_position_update = true;
|
||||
+
|
||||
+ // Wayland subsurface is not created yet.
|
||||
+ if (!container->subsurface) {
|
||||
+ return;
|
||||
+ }
|
||||
+
|
||||
+ // wl_subsurface_set_position is actually property of parent surface
|
||||
+ // which is effective when parent surface is commited.
|
||||
+ wl_surface* parent_surface =
|
||||
+ moz_container_get_gtk_container_surface(container);
|
||||
+ if (parent_surface) {
|
||||
+ wl_subsurface_set_position(container->subsurface, container->subsurface_dx,
|
||||
+ container->subsurface_dy);
|
||||
+ wl_surface_commit(parent_surface);
|
||||
+ container->surface_position_needs_update = false;
|
||||
+ }
|
||||
}
|
||||
|
||||
void moz_container_scale_update(MozContainer* container) {
|
||||
@@ -620,18 +640,9 @@ struct wl_surface* moz_container_get_wl_
|
||||
(void*)container->surface));
|
||||
}
|
||||
|
||||
- // wl_subsurface_set_position is actually property of parent surface
|
||||
- // which is effective when parent surface is commited.
|
||||
if (container->surface_position_update) {
|
||||
- wl_surface* parent_surface =
|
||||
- moz_container_get_gtk_container_surface(container);
|
||||
- if (parent_surface) {
|
||||
- wl_subsurface_set_position(container->subsurface,
|
||||
- container->subsurface_dx,
|
||||
- container->subsurface_dy);
|
||||
- wl_surface_commit(parent_surface);
|
||||
- container->surface_position_update = true;
|
||||
- }
|
||||
+ moz_container_move(container, container->subsurface_dx,
|
||||
+ container->subsurface_dy);
|
||||
}
|
||||
|
||||
return container->surface;
|
||||
@@ -641,12 +652,12 @@ struct wl_egl_window* moz_container_get_
|
||||
LOGWAYLAND(("%s [%p] eglwindow %p\n", __FUNCTION__, (void*)container,
|
||||
(void*)container->eglwindow));
|
||||
|
||||
- if (!container->eglwindow) {
|
||||
- wl_surface* surface = moz_container_get_wl_surface(container);
|
||||
- if (!surface) {
|
||||
- return nullptr;
|
||||
- }
|
||||
+ wl_surface* surface = moz_container_get_wl_surface(container);
|
||||
+ if (!surface) {
|
||||
+ return nullptr;
|
||||
+ }
|
||||
|
||||
+ if (!container->eglwindow) {
|
||||
GdkWindow* window = gtk_widget_get_window(GTK_WIDGET(container));
|
||||
gint scale = moz_container_get_scale(container);
|
||||
container->eglwindow =
|
||||
550
mozilla-1667096.patch
Normal file
550
mozilla-1667096.patch
Normal file
|
|
@ -0,0 +1,550 @@
|
|||
diff -up firefox-127.0/media/ffvpx/libavcodec/codec_list.c.1667096 firefox-127.0/media/ffvpx/libavcodec/codec_list.c
|
||||
--- firefox-127.0/media/ffvpx/libavcodec/codec_list.c.1667096 2024-06-06 23:33:57.000000000 +0200
|
||||
+++ firefox-127.0/media/ffvpx/libavcodec/codec_list.c 2024-06-10 12:42:39.353913204 +0200
|
||||
@@ -11,6 +11,9 @@ static const FFCodec * const codec_list[
|
||||
#if CONFIG_MP3_DECODER
|
||||
&ff_mp3_decoder,
|
||||
#endif
|
||||
+#ifdef CONFIG_LIBFDK_AAC
|
||||
+ &ff_libfdk_aac_decoder,
|
||||
+#endif
|
||||
#if CONFIG_LIBDAV1D
|
||||
&ff_libdav1d_decoder,
|
||||
#endif
|
||||
diff -up firefox-127.0/media/ffvpx/libavcodec/libfdk-aacdec.c.1667096 firefox-127.0/media/ffvpx/libavcodec/libfdk-aacdec.c
|
||||
--- firefox-127.0/media/ffvpx/libavcodec/libfdk-aacdec.c.1667096 2024-06-10 12:42:39.354913201 +0200
|
||||
+++ firefox-127.0/media/ffvpx/libavcodec/libfdk-aacdec.c 2024-06-10 16:28:30.332367814 +0200
|
||||
@@ -0,0 +1,498 @@
|
||||
+/*
|
||||
+ * AAC decoder wrapper
|
||||
+ * Copyright (c) 2012 Martin Storsjo
|
||||
+ *
|
||||
+ * This file is part of FFmpeg.
|
||||
+ *
|
||||
+ * Permission to use, copy, modify, and/or distribute this software for any
|
||||
+ * purpose with or without fee is hereby granted, provided that the above
|
||||
+ * copyright notice and this permission notice appear in all copies.
|
||||
+ *
|
||||
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
+ */
|
||||
+
|
||||
+#include <fdk-aac/aacdecoder_lib.h>
|
||||
+
|
||||
+#include "libavutil/channel_layout.h"
|
||||
+#include "libavutil/common.h"
|
||||
+#include "libavutil/opt.h"
|
||||
+#include "libavutil/mem.h"
|
||||
+#include "avcodec.h"
|
||||
+#include "codec_internal.h"
|
||||
+#include "decode.h"
|
||||
+
|
||||
+#ifdef AACDECODER_LIB_VL0
|
||||
+#define FDKDEC_VER_AT_LEAST(vl0, vl1) \
|
||||
+ ((AACDECODER_LIB_VL0 > vl0) || \
|
||||
+ (AACDECODER_LIB_VL0 == vl0 && AACDECODER_LIB_VL1 >= vl1))
|
||||
+#else
|
||||
+#define FDKDEC_VER_AT_LEAST(vl0, vl1) 0
|
||||
+#endif
|
||||
+
|
||||
+#if !FDKDEC_VER_AT_LEAST(2, 5) // < 2.5.10
|
||||
+#define AAC_PCM_MAX_OUTPUT_CHANNELS AAC_PCM_OUTPUT_CHANNELS
|
||||
+#endif
|
||||
+
|
||||
+enum ConcealMethod {
|
||||
+ CONCEAL_METHOD_SPECTRAL_MUTING = 0,
|
||||
+ CONCEAL_METHOD_NOISE_SUBSTITUTION = 1,
|
||||
+ CONCEAL_METHOD_ENERGY_INTERPOLATION = 2,
|
||||
+ CONCEAL_METHOD_NB,
|
||||
+};
|
||||
+
|
||||
+typedef struct FDKAACDecContext {
|
||||
+ const AVClass *class;
|
||||
+ HANDLE_AACDECODER handle;
|
||||
+ uint8_t *decoder_buffer;
|
||||
+ int decoder_buffer_size;
|
||||
+ uint8_t *anc_buffer;
|
||||
+ int conceal_method;
|
||||
+ int drc_level;
|
||||
+ int drc_boost;
|
||||
+ int drc_heavy;
|
||||
+ int drc_effect;
|
||||
+ int drc_cut;
|
||||
+ int album_mode;
|
||||
+ int level_limit;
|
||||
+#if FDKDEC_VER_AT_LEAST(2, 5) // 2.5.10
|
||||
+ int output_delay_set;
|
||||
+ int flush_samples;
|
||||
+ int delay_samples;
|
||||
+#endif
|
||||
+ AVChannelLayout downmix_layout;
|
||||
+} FDKAACDecContext;
|
||||
+
|
||||
+
|
||||
+#define DMX_ANC_BUFFSIZE 128
|
||||
+#define DECODER_MAX_CHANNELS 8
|
||||
+#define DECODER_BUFFSIZE 2048 * sizeof(INT_PCM)
|
||||
+
|
||||
+#define OFFSET(x) offsetof(FDKAACDecContext, x)
|
||||
+#define AD AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_DECODING_PARAM
|
||||
+static const AVOption fdk_aac_dec_options[] = {
|
||||
+ { "conceal", "Error concealment method", OFFSET(conceal_method), AV_OPT_TYPE_INT, { .i64 = CONCEAL_METHOD_NOISE_SUBSTITUTION }, CONCEAL_METHOD_SPECTRAL_MUTING, CONCEAL_METHOD_NB - 1, AD, "conceal" },
|
||||
+ { "spectral", "Spectral muting", 0, AV_OPT_TYPE_CONST, { .i64 = CONCEAL_METHOD_SPECTRAL_MUTING }, INT_MIN, INT_MAX, AD, "conceal" },
|
||||
+ { "noise", "Noise Substitution", 0, AV_OPT_TYPE_CONST, { .i64 = CONCEAL_METHOD_NOISE_SUBSTITUTION }, INT_MIN, INT_MAX, AD, "conceal" },
|
||||
+ { "energy", "Energy Interpolation", 0, AV_OPT_TYPE_CONST, { .i64 = CONCEAL_METHOD_ENERGY_INTERPOLATION }, INT_MIN, INT_MAX, AD, "conceal" },
|
||||
+ { "drc_boost", "Dynamic Range Control: boost, where [0] is none and [127] is max boost",
|
||||
+ OFFSET(drc_boost), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, 127, AD, NULL },
|
||||
+ { "drc_cut", "Dynamic Range Control: attenuation factor, where [0] is none and [127] is max compression",
|
||||
+ OFFSET(drc_cut), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, 127, AD, NULL },
|
||||
+ { "drc_level", "Dynamic Range Control: reference level, quantized to 0.25dB steps where [0] is 0dB and [127] is -31.75dB, -1 for auto, and -2 for disabled",
|
||||
+ OFFSET(drc_level), AV_OPT_TYPE_INT, { .i64 = -1}, -2, 127, AD, NULL },
|
||||
+ { "drc_heavy", "Dynamic Range Control: heavy compression, where [1] is on (RF mode) and [0] is off",
|
||||
+ OFFSET(drc_heavy), AV_OPT_TYPE_INT, { .i64 = -1}, -1, 1, AD, NULL },
|
||||
+#if FDKDEC_VER_AT_LEAST(2, 5) // 2.5.10
|
||||
+ { "level_limit", "Signal level limiting",
|
||||
+ OFFSET(level_limit), AV_OPT_TYPE_BOOL, { .i64 = -1 }, -1, 1, AD },
|
||||
+#endif
|
||||
+#if FDKDEC_VER_AT_LEAST(3, 0) // 3.0.0
|
||||
+ { "drc_effect","Dynamic Range Control: effect type, where e.g. [0] is none and [6] is general",
|
||||
+ OFFSET(drc_effect), AV_OPT_TYPE_INT, { .i64 = -1}, -1, 8, AD, NULL },
|
||||
+#endif
|
||||
+#if FDKDEC_VER_AT_LEAST(3, 1) // 3.1.0
|
||||
+ { "album_mode","Dynamic Range Control: album mode, where [0] is off and [1] is on",
|
||||
+ OFFSET(album_mode), AV_OPT_TYPE_INT, { .i64 = -1}, -1, 1, AD, NULL },
|
||||
+#endif
|
||||
+ { "downmix", "Request a specific channel layout from the decoder", OFFSET(downmix_layout), AV_OPT_TYPE_CHLAYOUT, {.str = NULL}, .flags = AD },
|
||||
+ { NULL }
|
||||
+};
|
||||
+
|
||||
+static const AVClass fdk_aac_dec_class = {
|
||||
+ .class_name = "libfdk-aac decoder",
|
||||
+ .item_name = av_default_item_name,
|
||||
+ .option = fdk_aac_dec_options,
|
||||
+ .version = LIBAVUTIL_VERSION_INT,
|
||||
+};
|
||||
+
|
||||
+static int get_stream_info(AVCodecContext *avctx)
|
||||
+{
|
||||
+ FDKAACDecContext *s = avctx->priv_data;
|
||||
+ CStreamInfo *info = aacDecoder_GetStreamInfo(s->handle);
|
||||
+ int channel_counts[0x24] = { 0 };
|
||||
+ int i, ch_error = 0;
|
||||
+ uint64_t ch_layout = 0;
|
||||
+
|
||||
+ if (!info) {
|
||||
+ av_log(avctx, AV_LOG_ERROR, "Unable to get stream info\n");
|
||||
+ return AVERROR_UNKNOWN;
|
||||
+ }
|
||||
+
|
||||
+ if (info->sampleRate <= 0) {
|
||||
+ av_log(avctx, AV_LOG_ERROR, "Stream info not initialized\n");
|
||||
+ return AVERROR_UNKNOWN;
|
||||
+ }
|
||||
+ avctx->sample_rate = info->sampleRate;
|
||||
+ avctx->frame_size = info->frameSize;
|
||||
+#if FDKDEC_VER_AT_LEAST(2, 5) // 2.5.10
|
||||
+ if (!s->output_delay_set && info->outputDelay) {
|
||||
+ // Set this only once.
|
||||
+ s->flush_samples = info->outputDelay;
|
||||
+ s->delay_samples = info->outputDelay;
|
||||
+ s->output_delay_set = 1;
|
||||
+ }
|
||||
+#endif
|
||||
+
|
||||
+ for (i = 0; i < info->numChannels; i++) {
|
||||
+ AUDIO_CHANNEL_TYPE ctype = info->pChannelType[i];
|
||||
+ if (ctype <= ACT_NONE || ctype >= FF_ARRAY_ELEMS(channel_counts)) {
|
||||
+ av_log(avctx, AV_LOG_WARNING, "unknown channel type\n");
|
||||
+ break;
|
||||
+ }
|
||||
+ channel_counts[ctype]++;
|
||||
+ }
|
||||
+ av_log(avctx, AV_LOG_DEBUG,
|
||||
+ "%d channels - front:%d side:%d back:%d lfe:%d top:%d\n",
|
||||
+ info->numChannels,
|
||||
+ channel_counts[ACT_FRONT], channel_counts[ACT_SIDE],
|
||||
+ channel_counts[ACT_BACK], channel_counts[ACT_LFE],
|
||||
+ channel_counts[ACT_FRONT_TOP] + channel_counts[ACT_SIDE_TOP] +
|
||||
+ channel_counts[ACT_BACK_TOP] + channel_counts[ACT_TOP]);
|
||||
+
|
||||
+ switch (channel_counts[ACT_FRONT]) {
|
||||
+ case 4:
|
||||
+ ch_layout |= AV_CH_LAYOUT_STEREO | AV_CH_FRONT_LEFT_OF_CENTER |
|
||||
+ AV_CH_FRONT_RIGHT_OF_CENTER;
|
||||
+ break;
|
||||
+ case 3:
|
||||
+ ch_layout |= AV_CH_LAYOUT_STEREO | AV_CH_FRONT_CENTER;
|
||||
+ break;
|
||||
+ case 2:
|
||||
+ ch_layout |= AV_CH_LAYOUT_STEREO;
|
||||
+ break;
|
||||
+ case 1:
|
||||
+ ch_layout |= AV_CH_FRONT_CENTER;
|
||||
+ break;
|
||||
+ default:
|
||||
+ av_log(avctx, AV_LOG_WARNING,
|
||||
+ "unsupported number of front channels: %d\n",
|
||||
+ channel_counts[ACT_FRONT]);
|
||||
+ ch_error = 1;
|
||||
+ break;
|
||||
+ }
|
||||
+ if (channel_counts[ACT_SIDE] > 0) {
|
||||
+ if (channel_counts[ACT_SIDE] == 2) {
|
||||
+ ch_layout |= AV_CH_SIDE_LEFT | AV_CH_SIDE_RIGHT;
|
||||
+ } else {
|
||||
+ av_log(avctx, AV_LOG_WARNING,
|
||||
+ "unsupported number of side channels: %d\n",
|
||||
+ channel_counts[ACT_SIDE]);
|
||||
+ ch_error = 1;
|
||||
+ }
|
||||
+ }
|
||||
+ if (channel_counts[ACT_BACK] > 0) {
|
||||
+ switch (channel_counts[ACT_BACK]) {
|
||||
+ case 3:
|
||||
+ ch_layout |= AV_CH_BACK_LEFT | AV_CH_BACK_RIGHT | AV_CH_BACK_CENTER;
|
||||
+ break;
|
||||
+ case 2:
|
||||
+ ch_layout |= AV_CH_BACK_LEFT | AV_CH_BACK_RIGHT;
|
||||
+ break;
|
||||
+ case 1:
|
||||
+ ch_layout |= AV_CH_BACK_CENTER;
|
||||
+ break;
|
||||
+ default:
|
||||
+ av_log(avctx, AV_LOG_WARNING,
|
||||
+ "unsupported number of back channels: %d\n",
|
||||
+ channel_counts[ACT_BACK]);
|
||||
+ ch_error = 1;
|
||||
+ break;
|
||||
+ }
|
||||
+ }
|
||||
+ if (channel_counts[ACT_LFE] > 0) {
|
||||
+ if (channel_counts[ACT_LFE] == 1) {
|
||||
+ ch_layout |= AV_CH_LOW_FREQUENCY;
|
||||
+ } else {
|
||||
+ av_log(avctx, AV_LOG_WARNING,
|
||||
+ "unsupported number of LFE channels: %d\n",
|
||||
+ channel_counts[ACT_LFE]);
|
||||
+ ch_error = 1;
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ av_channel_layout_uninit(&avctx->ch_layout);
|
||||
+ av_channel_layout_from_mask(&avctx->ch_layout, ch_layout);
|
||||
+ if (!ch_error && avctx->ch_layout.nb_channels != info->numChannels) {
|
||||
+ av_log(avctx, AV_LOG_WARNING, "unsupported channel configuration\n");
|
||||
+ ch_error = 1;
|
||||
+ }
|
||||
+ if (ch_error)
|
||||
+ avctx->ch_layout.order = AV_CHANNEL_ORDER_UNSPEC;
|
||||
+
|
||||
+ return 0;
|
||||
+}
|
||||
+
|
||||
+static av_cold int fdk_aac_decode_close(AVCodecContext *avctx)
|
||||
+{
|
||||
+ FDKAACDecContext *s = avctx->priv_data;
|
||||
+
|
||||
+ if (s->handle)
|
||||
+ aacDecoder_Close(s->handle);
|
||||
+ av_freep(&s->decoder_buffer);
|
||||
+ av_freep(&s->anc_buffer);
|
||||
+
|
||||
+ return 0;
|
||||
+}
|
||||
+
|
||||
+static av_cold int fdk_aac_decode_init(AVCodecContext *avctx)
|
||||
+{
|
||||
+ FDKAACDecContext *s = avctx->priv_data;
|
||||
+ AAC_DECODER_ERROR err;
|
||||
+
|
||||
+ s->handle = aacDecoder_Open(avctx->extradata_size ? TT_MP4_RAW : TT_MP4_ADTS, 1);
|
||||
+ if (!s->handle) {
|
||||
+ av_log(avctx, AV_LOG_ERROR, "Error opening decoder\n");
|
||||
+ return AVERROR_UNKNOWN;
|
||||
+ }
|
||||
+
|
||||
+ if (avctx->extradata_size) {
|
||||
+ if ((err = aacDecoder_ConfigRaw(s->handle, &avctx->extradata,
|
||||
+ &avctx->extradata_size)) != AAC_DEC_OK) {
|
||||
+ av_log(avctx, AV_LOG_ERROR, "Unable to set extradata\n");
|
||||
+ return AVERROR_INVALIDDATA;
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ if ((err = aacDecoder_SetParam(s->handle, AAC_CONCEAL_METHOD,
|
||||
+ s->conceal_method)) != AAC_DEC_OK) {
|
||||
+ av_log(avctx, AV_LOG_ERROR, "Unable to set error concealment method\n");
|
||||
+ return AVERROR_UNKNOWN;
|
||||
+ }
|
||||
+
|
||||
+#if FF_API_OLD_CHANNEL_LAYOUT
|
||||
+FF_DISABLE_DEPRECATION_WARNINGS
|
||||
+ if (avctx->request_channel_layout) {
|
||||
+ av_channel_layout_uninit(&s->downmix_layout);
|
||||
+ av_channel_layout_from_mask(&s->downmix_layout, avctx->request_channel_layout);
|
||||
+ }
|
||||
+FF_ENABLE_DEPRECATION_WARNINGS
|
||||
+#endif
|
||||
+ if (s->downmix_layout.nb_channels > 0 &&
|
||||
+ s->downmix_layout.order != AV_CHANNEL_ORDER_NATIVE) {
|
||||
+ int downmix_channels = -1;
|
||||
+
|
||||
+ switch (s->downmix_layout.u.mask) {
|
||||
+ case AV_CH_LAYOUT_STEREO:
|
||||
+ case AV_CH_LAYOUT_STEREO_DOWNMIX:
|
||||
+ downmix_channels = 2;
|
||||
+ break;
|
||||
+ case AV_CH_LAYOUT_MONO:
|
||||
+ downmix_channels = 1;
|
||||
+ break;
|
||||
+ default:
|
||||
+ av_log(avctx, AV_LOG_WARNING, "Invalid downmix option\n");
|
||||
+ break;
|
||||
+ }
|
||||
+
|
||||
+ if (downmix_channels != -1) {
|
||||
+ if (aacDecoder_SetParam(s->handle, AAC_PCM_MAX_OUTPUT_CHANNELS,
|
||||
+ downmix_channels) != AAC_DEC_OK) {
|
||||
+ av_log(avctx, AV_LOG_WARNING, "Unable to set output channels in the decoder\n");
|
||||
+ } else {
|
||||
+ s->anc_buffer = av_malloc(DMX_ANC_BUFFSIZE);
|
||||
+ if (!s->anc_buffer) {
|
||||
+ av_log(avctx, AV_LOG_ERROR, "Unable to allocate ancillary buffer for the decoder\n");
|
||||
+ return AVERROR(ENOMEM);
|
||||
+ }
|
||||
+ if (aacDecoder_AncDataInit(s->handle, s->anc_buffer, DMX_ANC_BUFFSIZE)) {
|
||||
+ av_log(avctx, AV_LOG_ERROR, "Unable to register downmix ancillary buffer in the decoder\n");
|
||||
+ return AVERROR_UNKNOWN;
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ if (s->drc_boost != -1) {
|
||||
+ if (aacDecoder_SetParam(s->handle, AAC_DRC_BOOST_FACTOR, s->drc_boost) != AAC_DEC_OK) {
|
||||
+ av_log(avctx, AV_LOG_ERROR, "Unable to set DRC boost factor in the decoder\n");
|
||||
+ return AVERROR_UNKNOWN;
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ if (s->drc_cut != -1) {
|
||||
+ if (aacDecoder_SetParam(s->handle, AAC_DRC_ATTENUATION_FACTOR, s->drc_cut) != AAC_DEC_OK) {
|
||||
+ av_log(avctx, AV_LOG_ERROR, "Unable to set DRC attenuation factor in the decoder\n");
|
||||
+ return AVERROR_UNKNOWN;
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ if (s->drc_level != -1) {
|
||||
+ // This option defaults to -1, i.e. not calling
|
||||
+ // aacDecoder_SetParam(AAC_DRC_REFERENCE_LEVEL) at all, which defaults
|
||||
+ // to the level from DRC metadata, if available. The user can set
|
||||
+ // -drc_level -2, which calls aacDecoder_SetParam(
|
||||
+ // AAC_DRC_REFERENCE_LEVEL) with a negative value, which then
|
||||
+ // explicitly disables the feature.
|
||||
+ if (aacDecoder_SetParam(s->handle, AAC_DRC_REFERENCE_LEVEL, s->drc_level) != AAC_DEC_OK) {
|
||||
+ av_log(avctx, AV_LOG_ERROR, "Unable to set DRC reference level in the decoder\n");
|
||||
+ return AVERROR_UNKNOWN;
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ if (s->drc_heavy != -1) {
|
||||
+ if (aacDecoder_SetParam(s->handle, AAC_DRC_HEAVY_COMPRESSION, s->drc_heavy) != AAC_DEC_OK) {
|
||||
+ av_log(avctx, AV_LOG_ERROR, "Unable to set DRC heavy compression in the decoder\n");
|
||||
+ return AVERROR_UNKNOWN;
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+#if FDKDEC_VER_AT_LEAST(2, 5) // 2.5.10
|
||||
+ // Setting this parameter to -1 enables the auto behaviour in the library.
|
||||
+ if (aacDecoder_SetParam(s->handle, AAC_PCM_LIMITER_ENABLE, s->level_limit) != AAC_DEC_OK) {
|
||||
+ av_log(avctx, AV_LOG_ERROR, "Unable to set in signal level limiting in the decoder\n");
|
||||
+ return AVERROR_UNKNOWN;
|
||||
+ }
|
||||
+#endif
|
||||
+
|
||||
+#if FDKDEC_VER_AT_LEAST(3, 0) // 3.0.0
|
||||
+ if (s->drc_effect != -1) {
|
||||
+ if (aacDecoder_SetParam(s->handle, AAC_UNIDRC_SET_EFFECT, s->drc_effect) != AAC_DEC_OK) {
|
||||
+ av_log(avctx, AV_LOG_ERROR, "Unable to set DRC effect type in the decoder\n");
|
||||
+ return AVERROR_UNKNOWN;
|
||||
+ }
|
||||
+ }
|
||||
+#endif
|
||||
+
|
||||
+#if FDKDEC_VER_AT_LEAST(3, 1) // 3.1.0
|
||||
+ if (s->album_mode != -1) {
|
||||
+ if (aacDecoder_SetParam(s->handle, AAC_UNIDRC_ALBUM_MODE, s->album_mode) != AAC_DEC_OK) {
|
||||
+ av_log(avctx, AV_LOG_ERROR, "Unable to set album mode in the decoder\n");
|
||||
+ return AVERROR_UNKNOWN;
|
||||
+ }
|
||||
+ }
|
||||
+#endif
|
||||
+
|
||||
+ avctx->sample_fmt = AV_SAMPLE_FMT_S16;
|
||||
+
|
||||
+ s->decoder_buffer_size = DECODER_BUFFSIZE * DECODER_MAX_CHANNELS;
|
||||
+ s->decoder_buffer = av_malloc(s->decoder_buffer_size);
|
||||
+ if (!s->decoder_buffer)
|
||||
+ return AVERROR(ENOMEM);
|
||||
+
|
||||
+ return 0;
|
||||
+}
|
||||
+
|
||||
+static int fdk_aac_decode_frame(AVCodecContext *avctx, AVFrame *frame,
|
||||
+ int *got_frame_ptr, AVPacket *avpkt)
|
||||
+{
|
||||
+ FDKAACDecContext *s = avctx->priv_data;
|
||||
+ int ret;
|
||||
+ AAC_DECODER_ERROR err;
|
||||
+ UINT valid = avpkt->size;
|
||||
+ UINT flags = 0;
|
||||
+ int input_offset = 0;
|
||||
+
|
||||
+ if (avpkt->size) {
|
||||
+ err = aacDecoder_Fill(s->handle, &avpkt->data, &avpkt->size, &valid);
|
||||
+ if (err != AAC_DEC_OK) {
|
||||
+ av_log(avctx, AV_LOG_ERROR, "aacDecoder_Fill() failed: %x\n", err);
|
||||
+ return AVERROR_INVALIDDATA;
|
||||
+ }
|
||||
+ } else {
|
||||
+#if FDKDEC_VER_AT_LEAST(2, 5) // 2.5.10
|
||||
+ /* Handle decoder draining */
|
||||
+ if (s->flush_samples > 0) {
|
||||
+ flags |= AACDEC_FLUSH;
|
||||
+ } else {
|
||||
+ return AVERROR_EOF;
|
||||
+ }
|
||||
+#else
|
||||
+ return AVERROR_EOF;
|
||||
+#endif
|
||||
+ }
|
||||
+
|
||||
+ err = aacDecoder_DecodeFrame(s->handle, (INT_PCM *) s->decoder_buffer,
|
||||
+ s->decoder_buffer_size / sizeof(INT_PCM),
|
||||
+ flags);
|
||||
+ if (err == AAC_DEC_NOT_ENOUGH_BITS) {
|
||||
+ ret = avpkt->size - valid;
|
||||
+ goto end;
|
||||
+ }
|
||||
+ if (err != AAC_DEC_OK) {
|
||||
+ av_log(avctx, AV_LOG_ERROR,
|
||||
+ "aacDecoder_DecodeFrame() failed: %x\n", err);
|
||||
+ ret = AVERROR_UNKNOWN;
|
||||
+ goto end;
|
||||
+ }
|
||||
+
|
||||
+ if ((ret = get_stream_info(avctx)) < 0)
|
||||
+ goto end;
|
||||
+ frame->nb_samples = avctx->frame_size;
|
||||
+
|
||||
+#if FDKDEC_VER_AT_LEAST(2, 5) // 2.5.10
|
||||
+ if (flags & AACDEC_FLUSH) {
|
||||
+ // Only return the right amount of samples at the end; if calling the
|
||||
+ // decoder with AACDEC_FLUSH, it will keep returning frames indefinitely.
|
||||
+ frame->nb_samples = FFMIN(s->flush_samples, frame->nb_samples);
|
||||
+ av_log(s, AV_LOG_DEBUG, "Returning %d/%d delayed samples.\n",
|
||||
+ frame->nb_samples, s->flush_samples);
|
||||
+ s->flush_samples -= frame->nb_samples;
|
||||
+ } else {
|
||||
+ // Trim off samples from the start to compensate for extra decoder
|
||||
+ // delay. We could also just adjust the pts, but this avoids
|
||||
+ // including the extra samples in the output altogether.
|
||||
+ if (s->delay_samples) {
|
||||
+ int drop_samples = FFMIN(s->delay_samples, frame->nb_samples);
|
||||
+ av_log(s, AV_LOG_DEBUG, "Dropping %d/%d delayed samples.\n",
|
||||
+ drop_samples, s->delay_samples);
|
||||
+ s->delay_samples -= drop_samples;
|
||||
+ frame->nb_samples -= drop_samples;
|
||||
+ input_offset = drop_samples * avctx->ch_layout.nb_channels;
|
||||
+ if (frame->nb_samples <= 0)
|
||||
+ return 0;
|
||||
+ }
|
||||
+ }
|
||||
+#endif
|
||||
+
|
||||
+ if ((ret = ff_get_buffer(avctx, frame, 0)) < 0)
|
||||
+ goto end;
|
||||
+
|
||||
+ memcpy(frame->extended_data[0], s->decoder_buffer + input_offset,
|
||||
+ avctx->ch_layout.nb_channels * frame->nb_samples *
|
||||
+ av_get_bytes_per_sample(avctx->sample_fmt));
|
||||
+
|
||||
+ *got_frame_ptr = 1;
|
||||
+ ret = avpkt->size - valid;
|
||||
+
|
||||
+end:
|
||||
+ return ret;
|
||||
+}
|
||||
+
|
||||
+static av_cold void fdk_aac_decode_flush(AVCodecContext *avctx)
|
||||
+{
|
||||
+ FDKAACDecContext *s = avctx->priv_data;
|
||||
+ AAC_DECODER_ERROR err;
|
||||
+
|
||||
+ if (!s->handle)
|
||||
+ return;
|
||||
+
|
||||
+ if ((err = aacDecoder_SetParam(s->handle,
|
||||
+ AAC_TPDEC_CLEAR_BUFFER, 1)) != AAC_DEC_OK)
|
||||
+ av_log(avctx, AV_LOG_WARNING, "failed to clear buffer when flushing\n");
|
||||
+}
|
||||
+
|
||||
+const FFCodec ff_libfdk_aac_decoder = {
|
||||
+ .p.name = "libfdk_aac",
|
||||
+ CODEC_LONG_NAME("Fraunhofer FDK AAC"),
|
||||
+ .p.type = AVMEDIA_TYPE_AUDIO,
|
||||
+ .p.id = AV_CODEC_ID_AAC,
|
||||
+ .priv_data_size = sizeof(FDKAACDecContext),
|
||||
+ .init = fdk_aac_decode_init,
|
||||
+ FF_CODEC_DECODE_CB(fdk_aac_decode_frame),
|
||||
+ .close = fdk_aac_decode_close,
|
||||
+ .flush = fdk_aac_decode_flush,
|
||||
+ .p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_CHANNEL_CONF
|
||||
+#if FDKDEC_VER_AT_LEAST(2, 5) // 2.5.10
|
||||
+ | AV_CODEC_CAP_DELAY
|
||||
+#endif
|
||||
+ ,
|
||||
+ .p.priv_class = &fdk_aac_dec_class,
|
||||
+ .caps_internal = FF_CODEC_CAP_INIT_CLEANUP,
|
||||
+ .p.wrapper_name = "libfdk",
|
||||
+};
|
||||
diff -up firefox-127.0/media/ffvpx/libavcodec/moz.build.1667096 firefox-127.0/media/ffvpx/libavcodec/moz.build
|
||||
--- firefox-127.0/media/ffvpx/libavcodec/moz.build.1667096 2024-06-06 23:33:58.000000000 +0200
|
||||
+++ firefox-127.0/media/ffvpx/libavcodec/moz.build 2024-06-10 12:42:39.354913201 +0200
|
||||
@@ -151,6 +151,12 @@ else:
|
||||
CXXFLAGS += CONFIG["MOZ_LIBVPX_CFLAGS"]
|
||||
OS_LIBS += CONFIG["MOZ_LIBVPX_LIBS"]
|
||||
|
||||
+if CONFIG['MOZ_FDK_AAC']:
|
||||
+ SOURCES += [
|
||||
+ 'libfdk-aacdec.c',
|
||||
+ ]
|
||||
+ OS_LIBS += CONFIG['MOZ_FDK_AAC_LIBS']
|
||||
+
|
||||
SYMBOLS_FILE = 'avcodec.symbols'
|
||||
NoVisibilityFlags()
|
||||
|
||||
diff -up firefox-127.0/toolkit/moz.configure.1667096 firefox-127.0/toolkit/moz.configure
|
||||
--- firefox-127.0/toolkit/moz.configure.1667096 2024-06-10 12:42:39.312913316 +0200
|
||||
+++ firefox-127.0/toolkit/moz.configure 2024-06-10 12:42:39.355913199 +0200
|
||||
@@ -2412,6 +2412,15 @@ with only_when(compile_environment):
|
||||
|
||||
set_config("MOZ_SYSTEM_PNG", True, when="--with-system-png")
|
||||
|
||||
+# FDK AAC support
|
||||
+# ==============================================================
|
||||
+option('--with-system-fdk-aac',
|
||||
+ help='Use system libfdk-aac (located with pkgconfig)')
|
||||
+
|
||||
+system_fdk_aac = pkg_check_modules('MOZ_FDK_AAC', 'fdk-aac',
|
||||
+ when='--with-system-fdk-aac')
|
||||
+
|
||||
+set_config('MOZ_FDK_AAC', depends(when=system_fdk_aac)(lambda: True))
|
||||
|
||||
# FFmpeg's ffvpx configuration
|
||||
# ==============================================================
|
||||
|
|
@ -1,111 +0,0 @@
|
|||
diff -up firefox-56.0/modules/libpref/prefapi.cpp.440908 firefox-56.0/modules/libpref/prefapi.cpp
|
||||
--- firefox-56.0/modules/libpref/prefapi.cpp.440908 2017-09-14 22:15:52.000000000 +0200
|
||||
+++ firefox-56.0/modules/libpref/prefapi.cpp 2017-09-25 10:39:39.266572792 +0200
|
||||
@@ -1036,8 +1036,8 @@ void PREF_ReaderCallback(void *clo
|
||||
PrefValue value,
|
||||
PrefType type,
|
||||
bool isDefault,
|
||||
- bool isStickyDefault)
|
||||
-
|
||||
+ bool isStickyDefault,
|
||||
+ bool isLocked)
|
||||
{
|
||||
uint32_t flags = 0;
|
||||
if (isDefault) {
|
||||
@@ -1049,4 +1049,6 @@ void PREF_ReaderCallback(void *clo
|
||||
flags |= kPrefForceSet;
|
||||
}
|
||||
pref_HashPref(pref, value, type, flags);
|
||||
+ if (isLocked)
|
||||
+ PREF_LockPref(pref, true);
|
||||
}
|
||||
diff -up firefox-56.0/modules/libpref/prefapi.h.440908 firefox-56.0/modules/libpref/prefapi.h
|
||||
--- firefox-56.0/modules/libpref/prefapi.h.440908 2017-07-31 18:20:51.000000000 +0200
|
||||
+++ firefox-56.0/modules/libpref/prefapi.h 2017-09-25 10:39:39.267572789 +0200
|
||||
@@ -246,8 +246,8 @@ void PREF_ReaderCallback( void *closure,
|
||||
PrefValue value,
|
||||
PrefType type,
|
||||
bool isDefault,
|
||||
- bool isStickyDefault);
|
||||
-
|
||||
+ bool isStickyDefault,
|
||||
+ bool isLocked);
|
||||
|
||||
/*
|
||||
* Callback whenever we change a preference
|
||||
diff -up firefox-56.0/modules/libpref/prefread.cpp.440908 firefox-56.0/modules/libpref/prefread.cpp
|
||||
--- firefox-56.0/modules/libpref/prefread.cpp.440908 2017-09-14 22:15:52.000000000 +0200
|
||||
+++ firefox-56.0/modules/libpref/prefread.cpp 2017-09-25 10:39:39.267572789 +0200
|
||||
@@ -43,6 +43,7 @@ enum {
|
||||
#define BITS_PER_HEX_DIGIT 4
|
||||
|
||||
static const char kUserPref[] = "user_pref";
|
||||
+static const char kLockPref[] = "lockPref";
|
||||
static const char kPref[] = "pref";
|
||||
static const char kPrefSticky[] = "sticky_pref";
|
||||
static const char kTrue[] = "true";
|
||||
@@ -146,7 +147,7 @@ pref_DoCallback(PrefParseState *ps)
|
||||
break;
|
||||
}
|
||||
(*ps->reader)(ps->closure, ps->lb, value, ps->vtype, ps->fdefault,
|
||||
- ps->fstickydefault);
|
||||
+ ps->fstickydefault, ps->flock);
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -215,6 +216,7 @@ PREF_ParseBuf(PrefParseState *ps, const
|
||||
ps->vtype = PrefType::Invalid;
|
||||
ps->fdefault = false;
|
||||
ps->fstickydefault = false;
|
||||
+ ps->flock = false;
|
||||
}
|
||||
switch (c) {
|
||||
case '/': /* begin comment block or line? */
|
||||
@@ -225,11 +227,14 @@ PREF_ParseBuf(PrefParseState *ps, const
|
||||
break;
|
||||
case 'u': /* indicating user_pref */
|
||||
case 's': /* indicating sticky_pref */
|
||||
+ case 'l': /* indicating lockPref */
|
||||
case 'p': /* indicating pref */
|
||||
if (c == 'u') {
|
||||
ps->smatch = kUserPref;
|
||||
} else if (c == 's') {
|
||||
ps->smatch = kPrefSticky;
|
||||
+ } else if (c == 'l') {
|
||||
+ ps->smatch = kLockPref;
|
||||
} else {
|
||||
ps->smatch = kPref;
|
||||
}
|
||||
@@ -277,8 +282,10 @@ PREF_ParseBuf(PrefParseState *ps, const
|
||||
/* name parsing */
|
||||
case PREF_PARSE_UNTIL_NAME:
|
||||
if (c == '\"' || c == '\'') {
|
||||
- ps->fdefault = (ps->smatch == kPref || ps->smatch == kPrefSticky);
|
||||
+ ps->fdefault = (ps->smatch == kPref || ps->smatch == kPrefSticky
|
||||
+ || ps->smatch == kLockPref);
|
||||
ps->fstickydefault = (ps->smatch == kPrefSticky);
|
||||
+ ps->flock = (ps->smatch == kLockPref);
|
||||
ps->quotechar = c;
|
||||
ps->nextstate = PREF_PARSE_UNTIL_COMMA; /* return here when done */
|
||||
state = PREF_PARSE_QUOTED_STRING;
|
||||
diff -up firefox-56.0/modules/libpref/prefread.h.440908 firefox-56.0/modules/libpref/prefread.h
|
||||
--- firefox-56.0/modules/libpref/prefread.h.440908 2017-09-14 22:15:52.000000000 +0200
|
||||
+++ firefox-56.0/modules/libpref/prefread.h 2017-09-25 10:39:39.267572789 +0200
|
||||
@@ -34,7 +34,8 @@ typedef void (*PrefReader)(void *c
|
||||
PrefValue val,
|
||||
PrefType type,
|
||||
bool defPref,
|
||||
- bool stickyPref);
|
||||
+ bool stickyPref,
|
||||
+ bool lockPref);
|
||||
|
||||
/**
|
||||
* Report any errors or warnings we encounter during parsing.
|
||||
@@ -62,6 +63,7 @@ typedef struct PrefParseState {
|
||||
PrefType vtype; /* PREF_STRING,INT,BOOL */
|
||||
bool fdefault; /* true if (default) pref */
|
||||
bool fstickydefault; /* true if (sticky) pref */
|
||||
+ bool flock; /* true if pref to be locked */
|
||||
} PrefParseState;
|
||||
|
||||
/**
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
diff -up firefox-52.0/gfx/skia/skia/include/core/SkPreConfig.h.arm firefox-52.0/gfx/skia/skia/include/core/SkPreConfig.h
|
||||
--- firefox-52.0/gfx/skia/skia/include/core/SkPreConfig.h.arm 2017-03-03 13:53:52.480754536 +0100
|
||||
+++ firefox-52.0/gfx/skia/skia/include/core/SkPreConfig.h 2017-03-03 13:56:01.476018102 +0100
|
||||
@@ -203,6 +203,10 @@
|
||||
#define SK_ARM_HAS_CRC32
|
||||
#endif
|
||||
|
||||
+#if defined(__aarch64__)
|
||||
+ #undef SK_ARM_HAS_NEON
|
||||
+#endif
|
||||
+
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
#if !defined(SKIA_IMPLEMENTATION)
|
||||
|
|
@ -1,780 +0,0 @@
|
|||
diff -up firefox-71.0/browser/components/shell/moz.build.gnome-shell-search-provider firefox-71.0/browser/components/shell/moz.build
|
||||
--- firefox-71.0/browser/components/shell/moz.build.gnome-shell-search-provider 2019-11-26 01:02:19.000000000 +0100
|
||||
+++ firefox-71.0/browser/components/shell/moz.build 2019-11-26 12:35:50.033210214 +0100
|
||||
@@ -34,6 +34,11 @@ elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gt
|
||||
SOURCES += [
|
||||
'nsGNOMEShellService.cpp',
|
||||
]
|
||||
+ if CONFIG['MOZ_ENABLE_DBUS']:
|
||||
+ SOURCES += [
|
||||
+ 'nsGNOMEShellSearchProvider.cpp',
|
||||
+ ]
|
||||
+
|
||||
elif CONFIG['OS_ARCH'] == 'WINNT':
|
||||
SOURCES += [
|
||||
'nsWindowsShellService.cpp',
|
||||
@@ -57,6 +62,8 @@ for var in ('MOZ_APP_NAME', 'MOZ_APP_VER
|
||||
DEFINES[var] = '"%s"' % CONFIG[var]
|
||||
|
||||
CXXFLAGS += CONFIG['TK_CFLAGS']
|
||||
+if CONFIG['MOZ_ENABLE_DBUS']:
|
||||
+ CXXFLAGS += CONFIG['MOZ_DBUS_GLIB_CFLAGS']
|
||||
|
||||
with Files('**'):
|
||||
BUG_COMPONENT = ('Firefox', 'Shell Integration')
|
||||
diff -up firefox-71.0/browser/components/shell/nsGNOMEShellSearchProvider.cpp.gnome-shell-search-provider firefox-71.0/browser/components/shell/nsGNOMEShellSearchProvider.cpp
|
||||
--- firefox-71.0/browser/components/shell/nsGNOMEShellSearchProvider.cpp.gnome-shell-search-provider 2019-11-26 12:35:50.033210214 +0100
|
||||
+++ firefox-71.0/browser/components/shell/nsGNOMEShellSearchProvider.cpp 2019-11-26 12:35:50.033210214 +0100
|
||||
@@ -0,0 +1,607 @@
|
||||
+/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
+/* vim:expandtab:shiftwidth=2:tabstop=2:
|
||||
+ */
|
||||
+/* 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 "nsGNOMEShellSearchProvider.h"
|
||||
+
|
||||
+#include "nsIBaseWindow.h"
|
||||
+#include "nsIDocShell.h"
|
||||
+#include "nsPIDOMWindow.h"
|
||||
+#include "mozilla/ModuleUtils.h"
|
||||
+#include "mozilla/Base64.h"
|
||||
+#include "nsIServiceManager.h"
|
||||
+#include "nsIWidget.h"
|
||||
+#include "nsIAppShellService.h"
|
||||
+#include "nsAppShellCID.h"
|
||||
+#include "nsPrintfCString.h"
|
||||
+#include "nsCOMPtr.h"
|
||||
+#include "nsGTKToolkit.h"
|
||||
+#include "nsINavHistoryService.h"
|
||||
+#include "nsToolkitCompsCID.h"
|
||||
+#include "nsIFaviconService.h"
|
||||
+#include "RemoteUtils.h"
|
||||
+#include "nsIStringBundle.h"
|
||||
+
|
||||
+#include <dbus/dbus.h>
|
||||
+#include <dbus/dbus-glib-lowlevel.h>
|
||||
+
|
||||
+#define MAX_SEARCH_RESULTS_NUM 9
|
||||
+#define KEYWORD_SEARCH_STRING "special:search"
|
||||
+#define KEYWORD_SEARCH_STRING_LEN 14
|
||||
+
|
||||
+#define DBUS_BUS_NAME "org.mozilla.Firefox.SearchProvider"
|
||||
+#define DBUS_OBJECT_PATH "/org/mozilla/Firefox/SearchProvider"
|
||||
+
|
||||
+static const char* introspect_template =
|
||||
+ "<!DOCTYPE node PUBLIC \"-//freedesktop//DTD D-BUS Object Introspection "
|
||||
+ "1.0//EN\"\n"
|
||||
+ "\"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd\";>\n"
|
||||
+ "<node>\n"
|
||||
+ " <interface name=\"org.freedesktop.DBus.Introspectable\">\n"
|
||||
+ " <method name=\"Introspect\">\n"
|
||||
+ " <arg name=\"data\" direction=\"out\" type=\"s\"/>\n"
|
||||
+ " </method>\n"
|
||||
+ " </interface>\n"
|
||||
+ " <interface name=\"org.gnome.Shell.SearchProvider2\">\n"
|
||||
+ " <method name=\"GetInitialResultSet\">\n"
|
||||
+ " <arg type=\"as\" name=\"terms\" direction=\"in\" />\n"
|
||||
+ " <arg type=\"as\" name=\"results\" direction=\"out\" />\n"
|
||||
+ " </method>\n"
|
||||
+ " <method name=\"GetSubsearchResultSet\">\n"
|
||||
+ " <arg type=\"as\" name=\"previous_results\" direction=\"in\" />\n"
|
||||
+ " <arg type=\"as\" name=\"terms\" direction=\"in\" />\n"
|
||||
+ " <arg type=\"as\" name=\"results\" direction=\"out\" />\n"
|
||||
+ " </method>\n"
|
||||
+ " <method name=\"GetResultMetas\">\n"
|
||||
+ " <arg type=\"as\" name=\"identifiers\" direction=\"in\" />\n"
|
||||
+ " <arg type=\"aa{sv}\" name=\"metas\" direction=\"out\" />\n"
|
||||
+ " </method>\n"
|
||||
+ " <method name=\"ActivateResult\">\n"
|
||||
+ " <arg type=\"s\" name=\"identifier\" direction=\"in\" />\n"
|
||||
+ " <arg type=\"as\" name=\"terms\" direction=\"in\" />\n"
|
||||
+ " <arg type=\"u\" name=\"timestamp\" direction=\"in\" />\n"
|
||||
+ " </method>\n"
|
||||
+ " <method name=\"LaunchSearch\">\n"
|
||||
+ " <arg type=\"as\" name=\"terms\" direction=\"in\" />\n"
|
||||
+ " <arg type=\"u\" name=\"timestamp\" direction=\"in\" />\n"
|
||||
+ " </method>\n"
|
||||
+ "</interface>\n"
|
||||
+ "</node>\n";
|
||||
+
|
||||
+DBusHandlerResult nsGNOMEShellSearchProvider::Introspect(DBusMessage* aMsg) {
|
||||
+ DBusMessage* reply;
|
||||
+
|
||||
+ reply = dbus_message_new_method_return(aMsg);
|
||||
+ if (!reply) return DBUS_HANDLER_RESULT_NEED_MEMORY;
|
||||
+
|
||||
+ dbus_message_append_args(reply, DBUS_TYPE_STRING, &introspect_template,
|
||||
+ DBUS_TYPE_INVALID);
|
||||
+
|
||||
+ dbus_connection_send(mConnection, reply, nullptr);
|
||||
+ dbus_message_unref(reply);
|
||||
+
|
||||
+ return DBUS_HANDLER_RESULT_HANDLED;
|
||||
+}
|
||||
+
|
||||
+nsresult nsGNOMEShellSearchProvider::QueryHistory(const char* aSearchTerm) {
|
||||
+ nsresult rv;
|
||||
+ nsCOMPtr<nsINavHistoryQuery> histQuery;
|
||||
+ rv = mHistoryService->GetNewQuery(getter_AddRefs(histQuery));
|
||||
+ NS_ENSURE_SUCCESS(rv, rv);
|
||||
+
|
||||
+ nsAutoCString searchTerm(aSearchTerm);
|
||||
+ rv = histQuery->SetSearchTerms(NS_ConvertUTF8toUTF16(searchTerm));
|
||||
+ NS_ENSURE_SUCCESS(rv, rv);
|
||||
+
|
||||
+ nsCOMPtr<nsINavHistoryQueryOptions> histQueryOpts;
|
||||
+ rv = mHistoryService->GetNewQueryOptions(getter_AddRefs(histQueryOpts));
|
||||
+ NS_ENSURE_SUCCESS(rv, rv);
|
||||
+
|
||||
+ // We want to get the URIs for every item in the user's history with the
|
||||
+ // given host
|
||||
+ rv = histQueryOpts->SetResultType(nsINavHistoryQueryOptions::RESULTS_AS_URI);
|
||||
+ NS_ENSURE_SUCCESS(rv, rv);
|
||||
+
|
||||
+ rv = histQueryOpts->SetSortingMode(
|
||||
+ nsINavHistoryQueryOptions::SORT_BY_VISITCOUNT_DESCENDING);
|
||||
+ NS_ENSURE_SUCCESS(rv, rv);
|
||||
+
|
||||
+ rv = histQueryOpts->SetMaxResults(10);
|
||||
+ NS_ENSURE_SUCCESS(rv, rv);
|
||||
+
|
||||
+ // We only search history, because searching both bookmarks and history
|
||||
+ // is not supported, and history tends to be more comprehensive.
|
||||
+ rv = histQueryOpts->SetQueryType(
|
||||
+ nsINavHistoryQueryOptions::QUERY_TYPE_HISTORY);
|
||||
+ NS_ENSURE_SUCCESS(rv, rv);
|
||||
+
|
||||
+ nsCOMPtr<nsINavHistoryResult> histResult;
|
||||
+ rv = mHistoryService->ExecuteQuery(histQuery, histQueryOpts,
|
||||
+ getter_AddRefs(histResult));
|
||||
+ NS_ENSURE_SUCCESS(rv, rv);
|
||||
+
|
||||
+ // Delete former search results
|
||||
+ mHistResultContainer = nullptr;
|
||||
+
|
||||
+ rv = histResult->GetRoot(getter_AddRefs(mHistResultContainer));
|
||||
+ NS_ENSURE_SUCCESS(rv, rv);
|
||||
+
|
||||
+ rv = mHistResultContainer->SetContainerOpen(true);
|
||||
+ NS_ENSURE_SUCCESS(rv, rv);
|
||||
+
|
||||
+ uint32_t childCount = 0;
|
||||
+ rv = mHistResultContainer->GetChildCount(&childCount);
|
||||
+ NS_ENSURE_SUCCESS(rv, rv);
|
||||
+
|
||||
+ return childCount != 0 ? NS_OK : NS_ERROR_FAILURE;
|
||||
+}
|
||||
+
|
||||
+bool nsGNOMEShellSearchProvider::IsHistoryResultNodeURI(
|
||||
+ nsINavHistoryResultNode* aHistoryNode) {
|
||||
+ uint32_t type;
|
||||
+ nsresult rv = aHistoryNode->GetType(&type);
|
||||
+ if (NS_FAILED(rv) || type != nsINavHistoryResultNode::RESULT_TYPE_URI)
|
||||
+ return false;
|
||||
+
|
||||
+ nsAutoCString title;
|
||||
+ rv = aHistoryNode->GetTitle(title);
|
||||
+ if (NS_SUCCEEDED(rv) && !title.IsEmpty()) {
|
||||
+ return true;
|
||||
+ }
|
||||
+
|
||||
+ rv = aHistoryNode->GetUri(title);
|
||||
+ return NS_SUCCEEDED(rv) && !title.IsEmpty();
|
||||
+}
|
||||
+
|
||||
+void nsGNOMEShellSearchProvider::ComposeSearchResultReply(
|
||||
+ DBusMessage* reply, const char* aSearchTerm) {
|
||||
+ uint32_t childCount = 0;
|
||||
+ nsresult rv = mHistResultContainer->GetChildCount(&childCount);
|
||||
+ if (NS_FAILED(rv) || childCount == 0) {
|
||||
+ return;
|
||||
+ }
|
||||
+
|
||||
+ if (childCount > MAX_SEARCH_RESULTS_NUM) {
|
||||
+ childCount = MAX_SEARCH_RESULTS_NUM;
|
||||
+ }
|
||||
+
|
||||
+ DBusMessageIter iter;
|
||||
+ dbus_message_iter_init_append(reply, &iter);
|
||||
+ DBusMessageIter iterArray;
|
||||
+ dbus_message_iter_open_container(&iter, DBUS_TYPE_ARRAY, "s", &iterArray);
|
||||
+
|
||||
+ for (uint32_t i = 0; i < childCount; i++) {
|
||||
+ nsCOMPtr<nsINavHistoryResultNode> child;
|
||||
+ mHistResultContainer->GetChild(i, getter_AddRefs(child));
|
||||
+ if (NS_WARN_IF(NS_FAILED(rv))) {
|
||||
+ continue;
|
||||
+ }
|
||||
+ if (!IsHistoryResultNodeURI(child)) {
|
||||
+ continue;
|
||||
+ }
|
||||
+
|
||||
+ nsAutoCString uri;
|
||||
+ child->GetUri(uri);
|
||||
+
|
||||
+ nsPrintfCString idString("%d", i);
|
||||
+ const char* id = idString.get();
|
||||
+ dbus_message_iter_append_basic(&iterArray, DBUS_TYPE_STRING, &id);
|
||||
+ }
|
||||
+
|
||||
+ nsPrintfCString searchString("%s:%s", KEYWORD_SEARCH_STRING, aSearchTerm);
|
||||
+ const char* search = searchString.get();
|
||||
+ dbus_message_iter_append_basic(&iterArray, DBUS_TYPE_STRING, &search);
|
||||
+
|
||||
+ dbus_message_iter_close_container(&iter, &iterArray);
|
||||
+}
|
||||
+
|
||||
+DBusHandlerResult nsGNOMEShellSearchProvider::GetInitialResultSet(
|
||||
+ DBusMessage* aMsg) {
|
||||
+ DBusMessage* reply;
|
||||
+ char** stringArray;
|
||||
+ int elements;
|
||||
+
|
||||
+ if (!dbus_message_get_args(aMsg, nullptr, DBUS_TYPE_ARRAY, DBUS_TYPE_STRING,
|
||||
+ &stringArray, &elements, DBUS_TYPE_INVALID) ||
|
||||
+ elements == 0) {
|
||||
+ reply = dbus_message_new_error(aMsg, DBUS_BUS_NAME, "Wrong argument");
|
||||
+ } else {
|
||||
+ reply = dbus_message_new_method_return(aMsg);
|
||||
+ nsresult rv = QueryHistory(stringArray[0]);
|
||||
+ if (NS_SUCCEEDED(rv)) {
|
||||
+ ComposeSearchResultReply(reply, stringArray[0]);
|
||||
+ }
|
||||
+ dbus_free_string_array(stringArray);
|
||||
+ }
|
||||
+
|
||||
+ dbus_connection_send(mConnection, reply, nullptr);
|
||||
+ dbus_message_unref(reply);
|
||||
+
|
||||
+ return DBUS_HANDLER_RESULT_HANDLED;
|
||||
+}
|
||||
+
|
||||
+DBusHandlerResult nsGNOMEShellSearchProvider::GetSubsearchResultSet(
|
||||
+ DBusMessage* aMsg) {
|
||||
+ DBusMessage* reply;
|
||||
+
|
||||
+ char **unusedArray = nullptr, **stringArray = nullptr;
|
||||
+ int unusedNum, elements;
|
||||
+
|
||||
+ if (!dbus_message_get_args(aMsg, nullptr, DBUS_TYPE_ARRAY, DBUS_TYPE_STRING,
|
||||
+ &unusedArray, &unusedNum, DBUS_TYPE_ARRAY,
|
||||
+ DBUS_TYPE_STRING, &stringArray, &elements,
|
||||
+ DBUS_TYPE_INVALID) ||
|
||||
+ elements == 0) {
|
||||
+ reply = dbus_message_new_error(aMsg, DBUS_BUS_NAME, "Wrong argument");
|
||||
+ } else {
|
||||
+ reply = dbus_message_new_method_return(aMsg);
|
||||
+ nsresult rv = QueryHistory(stringArray[0]);
|
||||
+ if (NS_SUCCEEDED(rv)) {
|
||||
+ ComposeSearchResultReply(reply, stringArray[0]);
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ if (unusedArray) {
|
||||
+ dbus_free_string_array(unusedArray);
|
||||
+ }
|
||||
+ if (stringArray) {
|
||||
+ dbus_free_string_array(stringArray);
|
||||
+ }
|
||||
+
|
||||
+ dbus_connection_send(mConnection, reply, nullptr);
|
||||
+ dbus_message_unref(reply);
|
||||
+
|
||||
+ return DBUS_HANDLER_RESULT_HANDLED;
|
||||
+}
|
||||
+
|
||||
+static void appendStringDictionary(DBusMessageIter* aIter, const char* aKey,
|
||||
+ const char* aValue) {
|
||||
+ DBusMessageIter iterDict, iterVar;
|
||||
+ dbus_message_iter_open_container(aIter, DBUS_TYPE_DICT_ENTRY, nullptr,
|
||||
+ &iterDict);
|
||||
+ dbus_message_iter_append_basic(&iterDict, DBUS_TYPE_STRING, &aKey);
|
||||
+ dbus_message_iter_open_container(&iterDict, DBUS_TYPE_VARIANT, "s", &iterVar);
|
||||
+ dbus_message_iter_append_basic(&iterVar, DBUS_TYPE_STRING, &aValue);
|
||||
+ dbus_message_iter_close_container(&iterDict, &iterVar);
|
||||
+ dbus_message_iter_close_container(aIter, &iterDict);
|
||||
+}
|
||||
+
|
||||
+/* We can return those fields at GetResultMetas:
|
||||
+ "id": the result ID
|
||||
+ "name": the display name for the result
|
||||
+ "icon": a serialized GIcon (see g_icon_serialize()), or alternatively,
|
||||
+ "gicon": a textual representation of a GIcon (see g_icon_to_string()),
|
||||
+ or alternativly,
|
||||
+ "icon-data": a tuple of type (iiibiiay) describing a pixbuf with width,
|
||||
+ height, rowstride, has-alpha, bits-per-sample, and image data
|
||||
+ "description": an optional short description (1-2 lines)
|
||||
+*/
|
||||
+void nsGNOMEShellSearchProvider::AppendResultID(DBusMessageIter* aIter,
|
||||
+ const char* aID) {
|
||||
+ int keyIndex = atoi(aID);
|
||||
+ nsCOMPtr<nsINavHistoryResultNode> child;
|
||||
+ mHistResultContainer->GetChild(keyIndex, getter_AddRefs(child));
|
||||
+
|
||||
+ nsAutoCString title;
|
||||
+ if (NS_FAILED(child->GetTitle(title))) {
|
||||
+ return;
|
||||
+ }
|
||||
+
|
||||
+ if (title.IsEmpty()) {
|
||||
+ if (NS_FAILED(child->GetUri(title)) || title.IsEmpty()) {
|
||||
+ return;
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ const char* titleStr = title.get();
|
||||
+ appendStringDictionary(aIter, "id", aID);
|
||||
+ appendStringDictionary(aIter, "name", titleStr);
|
||||
+ appendStringDictionary(aIter, "gicon", "text-html");
|
||||
+}
|
||||
+
|
||||
+void nsGNOMEShellSearchProvider::AppendSearchID(DBusMessageIter* aIter,
|
||||
+ const char* aID) {
|
||||
+ if (strlen(aID) < KEYWORD_SEARCH_STRING_LEN + 2) {
|
||||
+ return;
|
||||
+ }
|
||||
+ appendStringDictionary(aIter, "id", KEYWORD_SEARCH_STRING);
|
||||
+ mSearchTerm = nsAutoCStringN<32>(aID + KEYWORD_SEARCH_STRING_LEN + 1);
|
||||
+ nsPrintfCString searchString(mGnomeSearchTitle.get(), mSearchTerm.get());
|
||||
+ appendStringDictionary(aIter, "name", searchString.get());
|
||||
+ appendStringDictionary(aIter, "gicon", "org.mozilla.Firefox");
|
||||
+}
|
||||
+
|
||||
+DBusHandlerResult nsGNOMEShellSearchProvider::GetResultMetas(
|
||||
+ DBusMessage* aMsg) {
|
||||
+ DBusMessage* reply;
|
||||
+ char** stringArray;
|
||||
+ int elements;
|
||||
+
|
||||
+ if (!dbus_message_get_args(aMsg, nullptr, DBUS_TYPE_ARRAY, DBUS_TYPE_STRING,
|
||||
+ &stringArray, &elements, DBUS_TYPE_INVALID) ||
|
||||
+ elements == 0) {
|
||||
+ reply = dbus_message_new_error(aMsg, DBUS_BUS_NAME, "Wrong argument");
|
||||
+ } else {
|
||||
+ reply = dbus_message_new_method_return(aMsg);
|
||||
+
|
||||
+ DBusMessageIter iter;
|
||||
+ dbus_message_iter_init_append(reply, &iter);
|
||||
+ DBusMessageIter iterArray;
|
||||
+ dbus_message_iter_open_container(&iter, DBUS_TYPE_ARRAY, "a{sv}",
|
||||
+ &iterArray);
|
||||
+
|
||||
+ DBusMessageIter iterArray2;
|
||||
+ for (int i = 0; i < elements; i++) {
|
||||
+ dbus_message_iter_open_container(&iterArray, DBUS_TYPE_ARRAY, "{sv}",
|
||||
+ &iterArray2);
|
||||
+ if (strncmp(stringArray[i], KEYWORD_SEARCH_STRING,
|
||||
+ KEYWORD_SEARCH_STRING_LEN) == 0) {
|
||||
+ AppendSearchID(&iterArray2, stringArray[i]);
|
||||
+ } else {
|
||||
+ AppendResultID(&iterArray2, stringArray[i]);
|
||||
+ }
|
||||
+ dbus_message_iter_close_container(&iterArray, &iterArray2);
|
||||
+ }
|
||||
+
|
||||
+ dbus_message_iter_close_container(&iter, &iterArray);
|
||||
+ dbus_free_string_array(stringArray);
|
||||
+ }
|
||||
+
|
||||
+ dbus_connection_send(mConnection, reply, nullptr);
|
||||
+ dbus_message_unref(reply);
|
||||
+
|
||||
+ return DBUS_HANDLER_RESULT_HANDLED;
|
||||
+}
|
||||
+
|
||||
+void nsGNOMEShellSearchProvider::LaunchWithID(const char* aID,
|
||||
+ uint32_t aTimeStamp) {
|
||||
+ int keyIndex = atoi(aID);
|
||||
+ nsCOMPtr<nsINavHistoryResultNode> child;
|
||||
+ mHistResultContainer->GetChild(keyIndex, getter_AddRefs(child));
|
||||
+
|
||||
+ nsAutoCString uri;
|
||||
+ nsresult rv = child->GetUri(uri);
|
||||
+ if (NS_FAILED(rv)) {
|
||||
+ return;
|
||||
+ }
|
||||
+
|
||||
+ char* commandLine = nullptr;
|
||||
+ int tmp;
|
||||
+
|
||||
+ if (strncmp(aID, KEYWORD_SEARCH_STRING, KEYWORD_SEARCH_STRING_LEN) == 0) {
|
||||
+ nsPrintfCString searchString("search:%s", mSearchTerm.get());
|
||||
+ const char* urlList[2] = {"unused", searchString.get()};
|
||||
+ commandLine = ConstructCommandLine(2, (char**)urlList, 0, &tmp);
|
||||
+ } else {
|
||||
+ const char* urlList[2] = {"unused", uri.get()};
|
||||
+ commandLine = ConstructCommandLine(2, (char**)urlList, 0, &tmp);
|
||||
+ }
|
||||
+
|
||||
+ if (commandLine) {
|
||||
+ HandleCommandLine(commandLine, aTimeStamp);
|
||||
+ free(commandLine);
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
+void nsGNOMEShellSearchProvider::LaunchWithAllResults(uint32_t aTimeStamp) {
|
||||
+ uint32_t childCount = 0;
|
||||
+ nsresult rv = mHistResultContainer->GetChildCount(&childCount);
|
||||
+ if (NS_FAILED(rv) || childCount == 0) {
|
||||
+ return;
|
||||
+ }
|
||||
+
|
||||
+ if (childCount > MAX_SEARCH_RESULTS_NUM) {
|
||||
+ childCount = MAX_SEARCH_RESULTS_NUM;
|
||||
+ }
|
||||
+
|
||||
+ char** urlList = (char**)moz_xmalloc(sizeof(char*) * (childCount + 2));
|
||||
+ int urlListElements = 0;
|
||||
+
|
||||
+ urlList[urlListElements++] = strdup("unused");
|
||||
+
|
||||
+ for (uint32_t i = 0; i < childCount; i++) {
|
||||
+ nsCOMPtr<nsINavHistoryResultNode> child;
|
||||
+ mHistResultContainer->GetChild(i, getter_AddRefs(child));
|
||||
+
|
||||
+ if (!IsHistoryResultNodeURI(child)) {
|
||||
+ continue;
|
||||
+ }
|
||||
+
|
||||
+ nsAutoCString uri;
|
||||
+ nsresult rv = child->GetUri(uri);
|
||||
+ if (NS_FAILED(rv)) {
|
||||
+ continue;
|
||||
+ }
|
||||
+ urlList[urlListElements++] = strdup(uri.get());
|
||||
+ }
|
||||
+
|
||||
+ nsPrintfCString searchString("search:%s", mSearchTerm.get());
|
||||
+ urlList[urlListElements++] = strdup(searchString.get());
|
||||
+
|
||||
+ int tmp;
|
||||
+ char* commandLine = ConstructCommandLine(urlListElements, urlList, 0, &tmp);
|
||||
+ if (commandLine) {
|
||||
+ HandleCommandLine(commandLine, aTimeStamp);
|
||||
+ free(commandLine);
|
||||
+ }
|
||||
+
|
||||
+ for (int i = 0; i < urlListElements; i++) {
|
||||
+ free(urlList[i]);
|
||||
+ }
|
||||
+ free(urlList);
|
||||
+}
|
||||
+
|
||||
+DBusHandlerResult nsGNOMEShellSearchProvider::ActivateResult(
|
||||
+ DBusMessage* aMsg) {
|
||||
+ DBusMessage* reply;
|
||||
+ char* resultID;
|
||||
+ char** stringArray;
|
||||
+ int elements;
|
||||
+ uint32_t timestamp;
|
||||
+
|
||||
+ if (!dbus_message_get_args(aMsg, nullptr, DBUS_TYPE_STRING, &resultID,
|
||||
+ DBUS_TYPE_ARRAY, DBUS_TYPE_STRING, &stringArray,
|
||||
+ &elements, DBUS_TYPE_UINT32, ×tamp,
|
||||
+ DBUS_TYPE_INVALID) ||
|
||||
+ resultID == nullptr) {
|
||||
+ reply = dbus_message_new_error(aMsg, DBUS_BUS_NAME, "Wrong argument");
|
||||
+ } else {
|
||||
+ reply = dbus_message_new_method_return(aMsg);
|
||||
+ LaunchWithID(resultID, timestamp);
|
||||
+ dbus_free_string_array(stringArray);
|
||||
+ }
|
||||
+
|
||||
+ dbus_connection_send(mConnection, reply, nullptr);
|
||||
+ dbus_message_unref(reply);
|
||||
+
|
||||
+ return DBUS_HANDLER_RESULT_HANDLED;
|
||||
+}
|
||||
+
|
||||
+DBusHandlerResult nsGNOMEShellSearchProvider::LaunchSearch(DBusMessage* aMsg) {
|
||||
+ DBusMessage* reply;
|
||||
+ char** stringArray;
|
||||
+ int elements;
|
||||
+ uint32_t timestamp;
|
||||
+
|
||||
+ if (!dbus_message_get_args(aMsg, nullptr, DBUS_TYPE_ARRAY, DBUS_TYPE_STRING,
|
||||
+ &stringArray, &elements, DBUS_TYPE_UINT32,
|
||||
+ ×tamp, DBUS_TYPE_INVALID) ||
|
||||
+ elements == 0) {
|
||||
+ reply = dbus_message_new_error(aMsg, DBUS_BUS_NAME, "Wrong argument");
|
||||
+ } else {
|
||||
+ reply = dbus_message_new_method_return(aMsg);
|
||||
+ LaunchWithAllResults(timestamp);
|
||||
+ dbus_free_string_array(stringArray);
|
||||
+ }
|
||||
+
|
||||
+ dbus_connection_send(mConnection, reply, nullptr);
|
||||
+ dbus_message_unref(reply);
|
||||
+
|
||||
+ return DBUS_HANDLER_RESULT_HANDLED;
|
||||
+}
|
||||
+
|
||||
+DBusHandlerResult nsGNOMEShellSearchProvider::HandleDBusMessage(
|
||||
+ DBusConnection* aConnection, DBusMessage* aMsg) {
|
||||
+ NS_ASSERTION(mConnection == aConnection, "Wrong D-Bus connection.");
|
||||
+
|
||||
+ const char* method = dbus_message_get_member(aMsg);
|
||||
+ const char* iface = dbus_message_get_interface(aMsg);
|
||||
+
|
||||
+ if ((strcmp("Introspect", method) == 0) &&
|
||||
+ (strcmp("org.freedesktop.DBus.Introspectable", iface) == 0)) {
|
||||
+ return Introspect(aMsg);
|
||||
+ }
|
||||
+
|
||||
+ if (strcmp("org.gnome.Shell.SearchProvider2", iface) == 0) {
|
||||
+ if (strcmp("GetInitialResultSet", method) == 0) {
|
||||
+ return GetInitialResultSet(aMsg);
|
||||
+ }
|
||||
+ if (strcmp("GetSubsearchResultSet", method) == 0) {
|
||||
+ return GetSubsearchResultSet(aMsg);
|
||||
+ }
|
||||
+ if (strcmp("GetResultMetas", method) == 0) {
|
||||
+ return GetResultMetas(aMsg);
|
||||
+ }
|
||||
+ if (strcmp("ActivateResult", method) == 0) {
|
||||
+ return ActivateResult(aMsg);
|
||||
+ }
|
||||
+ if (strcmp("LaunchSearch", method) == 0) {
|
||||
+ return LaunchSearch(aMsg);
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
|
||||
+}
|
||||
+
|
||||
+void nsGNOMEShellSearchProvider::UnregisterDBusInterface(
|
||||
+ DBusConnection* aConnection) {
|
||||
+ NS_ASSERTION(mConnection == aConnection, "Wrong D-Bus connection.");
|
||||
+ // Not implemented
|
||||
+}
|
||||
+
|
||||
+static DBusHandlerResult message_handler(DBusConnection* conn,
|
||||
+ DBusMessage* aMsg, void* user_data) {
|
||||
+ auto interface = static_cast<nsGNOMEShellSearchProvider*>(user_data);
|
||||
+ return interface->HandleDBusMessage(conn, aMsg);
|
||||
+}
|
||||
+
|
||||
+static void unregister(DBusConnection* conn, void* user_data) {
|
||||
+ auto interface = static_cast<nsGNOMEShellSearchProvider*>(user_data);
|
||||
+ interface->UnregisterDBusInterface(conn);
|
||||
+}
|
||||
+
|
||||
+static DBusObjectPathVTable remoteHandlersTable = {
|
||||
+ .unregister_function = unregister,
|
||||
+ .message_function = message_handler,
|
||||
+};
|
||||
+
|
||||
+nsresult nsGNOMEShellSearchProvider::Startup() {
|
||||
+ if (mConnection && dbus_connection_get_is_connected(mConnection)) {
|
||||
+ // We're already connected so we don't need to reconnect
|
||||
+ return NS_ERROR_ALREADY_INITIALIZED;
|
||||
+ }
|
||||
+
|
||||
+ nsCOMPtr<nsIStringBundleService> sbs =
|
||||
+ do_GetService(NS_STRINGBUNDLE_CONTRACTID);
|
||||
+ if (NS_WARN_IF(!sbs)) {
|
||||
+ return NS_ERROR_FAILURE;
|
||||
+ }
|
||||
+
|
||||
+ nsCOMPtr<nsIStringBundle> bundle;
|
||||
+ sbs->CreateBundle("chrome://browser/locale/browser.properties",
|
||||
+ getter_AddRefs(bundle));
|
||||
+ if (NS_WARN_IF(!bundle)) {
|
||||
+ return NS_ERROR_FAILURE;
|
||||
+ }
|
||||
+
|
||||
+ nsAutoString searchTitle;
|
||||
+ bundle->GetStringFromName("gnomeSearchProviderSearch", searchTitle);
|
||||
+ mGnomeSearchTitle = NS_ConvertUTF16toUTF8(searchTitle);
|
||||
+
|
||||
+ mHistoryService = do_GetService(NS_NAVHISTORYSERVICE_CONTRACTID);
|
||||
+ if (!mHistoryService) {
|
||||
+ return NS_ERROR_FAILURE;
|
||||
+ }
|
||||
+
|
||||
+ mConnection =
|
||||
+ already_AddRefed<DBusConnection>(dbus_bus_get(DBUS_BUS_SESSION, nullptr));
|
||||
+ if (!mConnection) {
|
||||
+ return NS_ERROR_FAILURE;
|
||||
+ }
|
||||
+ dbus_connection_set_exit_on_disconnect(mConnection, false);
|
||||
+ dbus_connection_setup_with_g_main(mConnection, nullptr);
|
||||
+
|
||||
+ DBusError err;
|
||||
+ dbus_error_init(&err);
|
||||
+ dbus_bus_request_name(mConnection, DBUS_BUS_NAME, DBUS_NAME_FLAG_DO_NOT_QUEUE,
|
||||
+ &err);
|
||||
+ // The interface is already owned - there is another application/profile
|
||||
+ // instance already running.
|
||||
+ if (dbus_error_is_set(&err)) {
|
||||
+ dbus_error_free(&err);
|
||||
+ mConnection = nullptr;
|
||||
+ return NS_ERROR_FAILURE;
|
||||
+ }
|
||||
+
|
||||
+ if (!dbus_connection_register_object_path(mConnection, DBUS_OBJECT_PATH,
|
||||
+ &remoteHandlersTable, this)) {
|
||||
+ mConnection = nullptr;
|
||||
+ return NS_ERROR_FAILURE;
|
||||
+ }
|
||||
+
|
||||
+ return NS_OK;
|
||||
+}
|
||||
+
|
||||
+void nsGNOMEShellSearchProvider::Shutdown() {
|
||||
+ if (!mConnection) {
|
||||
+ return;
|
||||
+ }
|
||||
+
|
||||
+ dbus_connection_unregister_object_path(mConnection, DBUS_OBJECT_PATH);
|
||||
+
|
||||
+ // dbus_connection_unref() will be called by RefPtr here.
|
||||
+ mConnection = nullptr;
|
||||
+}
|
||||
diff -up firefox-71.0/browser/components/shell/nsGNOMEShellSearchProvider.h.gnome-shell-search-provider firefox-71.0/browser/components/shell/nsGNOMEShellSearchProvider.h
|
||||
--- firefox-71.0/browser/components/shell/nsGNOMEShellSearchProvider.h.gnome-shell-search-provider 2019-11-26 12:35:50.033210214 +0100
|
||||
+++ firefox-71.0/browser/components/shell/nsGNOMEShellSearchProvider.h 2019-11-26 12:35:50.033210214 +0100
|
||||
@@ -0,0 +1,53 @@
|
||||
+/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
+/* vim:expandtab:shiftwidth=2:tabstop=2:
|
||||
+ */
|
||||
+/* 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/. */
|
||||
+
|
||||
+#ifndef __nsGNOMEShellSearchProvider_h__
|
||||
+#define __nsGNOMEShellSearchProvider_h__
|
||||
+
|
||||
+#include "mozilla/DBusHelpers.h"
|
||||
+#include "nsINavHistoryService.h"
|
||||
+#include "nsUnixRemoteServer.h"
|
||||
+#include "nsCOMPtr.h"
|
||||
+
|
||||
+class nsGNOMEShellSearchProvider : public nsUnixRemoteServer {
|
||||
+ public:
|
||||
+ nsGNOMEShellSearchProvider() : mConnection(nullptr) {}
|
||||
+ ~nsGNOMEShellSearchProvider() { Shutdown(); }
|
||||
+
|
||||
+ nsresult Startup();
|
||||
+ void Shutdown();
|
||||
+
|
||||
+ DBusHandlerResult HandleDBusMessage(DBusConnection* aConnection,
|
||||
+ DBusMessage* msg);
|
||||
+ void UnregisterDBusInterface(DBusConnection* aConnection);
|
||||
+
|
||||
+ private:
|
||||
+ DBusHandlerResult Introspect(DBusMessage* msg);
|
||||
+
|
||||
+ DBusHandlerResult GetInitialResultSet(DBusMessage* msg);
|
||||
+ DBusHandlerResult GetSubsearchResultSet(DBusMessage* msg);
|
||||
+ DBusHandlerResult GetResultMetas(DBusMessage* msg);
|
||||
+ DBusHandlerResult ActivateResult(DBusMessage* msg);
|
||||
+ DBusHandlerResult LaunchSearch(DBusMessage* msg);
|
||||
+
|
||||
+ nsresult QueryHistory(const char* aSearchTerm);
|
||||
+ bool IsHistoryResultNodeURI(nsINavHistoryResultNode* aHistoryNode);
|
||||
+ void AppendResultID(DBusMessageIter* aIter, const char* aID);
|
||||
+ void AppendSearchID(DBusMessageIter* aIter, const char* aID);
|
||||
+ void ComposeSearchResultReply(DBusMessage* aReply, const char* aSearchTerm);
|
||||
+ void LaunchWithID(const char* aID, uint32_t aTimeStamp);
|
||||
+ void LaunchWithAllResults(uint32_t aTimeStamp);
|
||||
+
|
||||
+ // The connection is owned by DBus library
|
||||
+ RefPtr<DBusConnection> mConnection;
|
||||
+ nsCOMPtr<nsINavHistoryContainerResultNode> mHistResultContainer;
|
||||
+ nsCOMPtr<nsINavHistoryService> mHistoryService;
|
||||
+ nsAutoCStringN<32> mSearchTerm;
|
||||
+ nsAutoCString mGnomeSearchTitle;
|
||||
+};
|
||||
+
|
||||
+#endif // __nsGNOMEShellSearchProvider_h__
|
||||
diff -up firefox-71.0/browser/components/shell/nsGNOMEShellService.cpp.gnome-shell-search-provider firefox-71.0/browser/components/shell/nsGNOMEShellService.cpp
|
||||
--- firefox-71.0/browser/components/shell/nsGNOMEShellService.cpp.gnome-shell-search-provider 2019-11-26 01:02:19.000000000 +0100
|
||||
+++ firefox-71.0/browser/components/shell/nsGNOMEShellService.cpp 2019-11-27 08:44:18.204710354 +0100
|
||||
@@ -92,6 +92,12 @@ nsresult nsGNOMEShellService::Init() {
|
||||
|
||||
if (!giovfs && !gsettings) return NS_ERROR_NOT_AVAILABLE;
|
||||
|
||||
+#ifdef MOZ_ENABLE_DBUS
|
||||
+ if (Preferences::GetBool("widget.gnome-search-provider.enabled", false)) {
|
||||
+ mSearchProvider.Startup();
|
||||
+ }
|
||||
+#endif
|
||||
+
|
||||
// Check G_BROKEN_FILENAMES. If it's set, then filenames in glib use
|
||||
// the locale encoding. If it's not set, they use UTF-8.
|
||||
mUseLocaleFilenames = PR_GetEnv("G_BROKEN_FILENAMES") != nullptr;
|
||||
@@ -107,7 +113,10 @@ nsresult nsGNOMEShellService::Init() {
|
||||
getter_AddRefs(appPath));
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
- return appPath->GetNativePath(mAppPath);
|
||||
+ rv = appPath->GetNativePath(mAppPath);
|
||||
+ NS_ENSURE_SUCCESS(rv, rv);
|
||||
+
|
||||
+ return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMPL_ISUPPORTS(nsGNOMEShellService, nsIGNOMEShellService, nsIShellService,
|
||||
diff -up firefox-71.0/browser/components/shell/nsGNOMEShellService.h.gnome-shell-search-provider firefox-71.0/browser/components/shell/nsGNOMEShellService.h
|
||||
--- firefox-71.0/browser/components/shell/nsGNOMEShellService.h.gnome-shell-search-provider 2019-11-26 01:02:19.000000000 +0100
|
||||
+++ firefox-71.0/browser/components/shell/nsGNOMEShellService.h 2019-11-26 12:35:50.033210214 +0100
|
||||
@@ -10,6 +10,9 @@
|
||||
#include "nsToolkitShellService.h"
|
||||
#include "nsString.h"
|
||||
#include "mozilla/Attributes.h"
|
||||
+#ifdef MOZ_ENABLE_DBUS
|
||||
+# include "nsGNOMEShellSearchProvider.h"
|
||||
+#endif
|
||||
|
||||
class nsGNOMEShellService final : public nsIGNOMEShellService,
|
||||
public nsToolkitShellService {
|
||||
@@ -28,6 +31,9 @@ class nsGNOMEShellService final : public
|
||||
bool KeyMatchesAppName(const char* aKeyValue) const;
|
||||
bool CheckHandlerMatchesAppName(const nsACString& handler) const;
|
||||
|
||||
+#ifdef MOZ_ENABLE_DBUS
|
||||
+ nsGNOMEShellSearchProvider mSearchProvider;
|
||||
+#endif
|
||||
bool GetAppPathFromLauncher();
|
||||
bool mUseLocaleFilenames;
|
||||
nsCString mAppPath;
|
||||
diff -up firefox-71.0/browser/locales/en-US/chrome/browser/browser.properties.gnome-shell-search-provider firefox-71.0/browser/locales/en-US/chrome/browser/browser.properties
|
||||
--- firefox-71.0/browser/locales/en-US/chrome/browser/browser.properties.gnome-shell-search-provider 2019-11-26 01:02:19.000000000 +0100
|
||||
+++ firefox-71.0/browser/locales/en-US/chrome/browser/browser.properties 2019-11-26 12:35:50.034210214 +0100
|
||||
@@ -1025,3 +1025,7 @@ confirmationHint.passwordSaved.label = P
|
||||
# Used by the export of user's live bookmarks to an OPML file as a title for the file.
|
||||
# %S will be replaced with brandShortName
|
||||
livebookmarkMigration.title = %S Live Bookmarks
|
||||
+
|
||||
+# LOCALIZATION NOTE (gnomeSearchProviderSearch):
|
||||
+# Used for search by Gnome Shell activity screen, %s is a searched string.
|
||||
+gnomeSearchProviderSearch=Search the web for “%s”
|
||||
diff -up firefox-71.0/toolkit/components/remote/moz.build.gnome-shell-search-provider firefox-71.0/toolkit/components/remote/moz.build
|
||||
--- firefox-71.0/toolkit/components/remote/moz.build.gnome-shell-search-provider 2019-11-26 01:02:29.000000000 +0100
|
||||
+++ firefox-71.0/toolkit/components/remote/moz.build 2019-11-26 12:35:50.034210214 +0100
|
||||
@@ -25,6 +25,10 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gtk'
|
||||
'nsDBusRemoteServer.cpp',
|
||||
]
|
||||
CXXFLAGS += CONFIG['MOZ_DBUS_GLIB_CFLAGS']
|
||||
+ EXPORTS += [
|
||||
+ 'nsUnixRemoteServer.h',
|
||||
+ 'RemoteUtils.h',
|
||||
+ ]
|
||||
CXXFLAGS += CONFIG['TK_CFLAGS']
|
||||
|
||||
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
|
||||
diff -up firefox-71.0/toolkit/components/remote/nsDBusRemoteServer.cpp.gnome-shell-search-provider firefox-71.0/toolkit/components/remote/nsDBusRemoteServer.cpp
|
||||
--- firefox-71.0/toolkit/components/remote/nsDBusRemoteServer.cpp.gnome-shell-search-provider 2019-11-26 01:02:29.000000000 +0100
|
||||
+++ firefox-71.0/toolkit/components/remote/nsDBusRemoteServer.cpp 2019-11-26 12:35:50.034210214 +0100
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
#include <dlfcn.h>
|
||||
|
||||
-const char* introspect_template =
|
||||
+static const char* introspect_template =
|
||||
"<!DOCTYPE node PUBLIC \"-//freedesktop//DTD D-BUS Object Introspection "
|
||||
"1.0//EN\"\n"
|
||||
"\"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd\";>\n"
|
||||
3
org.mozilla.firefox.SearchProvider.service
Normal file
3
org.mozilla.firefox.SearchProvider.service
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
[D-BUS Service]
|
||||
Name=org.mozilla.firefox.SearchProvider
|
||||
Exec=/usr/lib64/firefox/firefox --dbus-service /usr/bin/firefox
|
||||
61
org.mozilla.firefox.appdata.xml.in
Normal file
61
org.mozilla.firefox.appdata.xml.in
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Copyright 2019 Firefox contributors -->
|
||||
<component type="desktop-application">
|
||||
<id>org.mozilla.firefox</id>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<name>Firefox</name>
|
||||
<summary>Web Browser</summary>
|
||||
<summary xml:lang="ca">Navegador web</summary>
|
||||
<summary xml:lang="cs">Webový prohlížeč</summary>
|
||||
<summary xml:lang="es">Navegador web</summary>
|
||||
<summary xml:lang="fa">مرورگر اینترنتی</summary>
|
||||
<summary xml:lang="fi">WWW-selain</summary>
|
||||
<summary xml:lang="fr">Navigateur Web</summary>
|
||||
<summary xml:lang="hu">Webböngésző</summary>
|
||||
<summary xml:lang="it">Browser Web</summary>
|
||||
<summary xml:lang="ja">ウェブ・ブラウザ</summary>
|
||||
<summary xml:lang="ko">웹 브라우저</summary>
|
||||
<summary xml:lang="nb">Nettleser</summary>
|
||||
<summary xml:lang="nl">Webbrowser</summary>
|
||||
<summary xml:lang="nn">Nettlesar</summary>
|
||||
<summary xml:lang="no">Nettleser</summary>
|
||||
<summary xml:lang="pl">Przeglądarka WWW</summary>
|
||||
<summary xml:lang="pt">Navegador Web</summary>
|
||||
<summary xml:lang="pt_BR">Navegador Web</summary>
|
||||
<summary xml:lang="sk">Internetový prehliadač</summary>
|
||||
<summary xml:lang="sv">Webbläsare</summary>
|
||||
<description>
|
||||
<p>
|
||||
Bringing together all kinds of awesomeness to make browsing better for you.
|
||||
Get to your favorite sites quickly – even if you don’t remember the URLs.
|
||||
Type your term into the location bar (aka the Awesome Bar) and the autocomplete
|
||||
function will include possible matches from your browsing history, bookmarked
|
||||
sites and open tabs.
|
||||
</p>
|
||||
</description>
|
||||
<url type="homepage">https://www.mozilla.org</url>
|
||||
<update_contact>stransky@redhat.com</update_contact>
|
||||
<kudos>
|
||||
<kudo>ModernToolkit</kudo>
|
||||
<kudo>SearchProvider</kudo>
|
||||
</kudos>
|
||||
<project_group>Mozilla</project_group>
|
||||
<project_license>GPL-3.0+</project_license>
|
||||
<developer_name>Mozilla Corporation</developer_name>
|
||||
<url type="bugtracker">https://bugzilla.mozilla.org/</url>
|
||||
<url type="help">https://support.mozilla.org/</url>
|
||||
<translation type="gettext">firefox</translation>
|
||||
<launchable type="desktop-id">org.mozilla.firefox.desktop</launchable>
|
||||
<provides>
|
||||
<id>firefox.desktop</id>
|
||||
</provides>
|
||||
<screenshots>
|
||||
<screenshot type="default">https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/firefox/a.png</screenshot>
|
||||
<screenshot>https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/firefox/b.png</screenshot>
|
||||
<screenshot>https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/firefox/c.png</screenshot>
|
||||
</screenshots>
|
||||
<content_rating type="oars-1.1"/>
|
||||
<releases>
|
||||
<release version="__VERSION__" date="__DATE__"/>
|
||||
</releases>
|
||||
</component>
|
||||
276
org.mozilla.firefox.desktop
Normal file
276
org.mozilla.firefox.desktop
Normal file
|
|
@ -0,0 +1,276 @@
|
|||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Name=Firefox
|
||||
GenericName=Web Browser
|
||||
GenericName[ca]=Navegador web
|
||||
GenericName[cs]=Webový prohlížeč
|
||||
GenericName[es]=Navegador web
|
||||
GenericName[fa]=مرورگر اینترنتی
|
||||
GenericName[fi]=WWW-selain
|
||||
GenericName[fr]=Navigateur Web
|
||||
GenericName[hu]=Webböngésző
|
||||
GenericName[it]=Browser Web
|
||||
GenericName[ja]=ウェブ・ブラウザ
|
||||
GenericName[ko]=웹 브라우저
|
||||
GenericName[nb]=Nettleser
|
||||
GenericName[nl]=Webbrowser
|
||||
GenericName[nn]=Nettlesar
|
||||
GenericName[no]=Nettleser
|
||||
GenericName[pl]=Przeglądarka WWW
|
||||
GenericName[pt]=Navegador Web
|
||||
GenericName[pt_BR]=Navegador Web
|
||||
GenericName[sk]=Internetový prehliadač
|
||||
GenericName[sv]=Webbläsare
|
||||
Comment=Browse the Web
|
||||
Comment[ca]=Navegueu per el web
|
||||
Comment[cs]=Prohlížení stránek World Wide Webu
|
||||
Comment[de]=Im Internet surfen
|
||||
Comment[es]=Navegue por la web
|
||||
Comment[fa]=صفحات شبکه جهانی اینترنت را مرور نمایید
|
||||
Comment[fi]=Selaa Internetin WWW-sivuja
|
||||
Comment[fr]=Navigue sur Internet
|
||||
Comment[hu]=A világháló böngészése
|
||||
Comment[it]=Esplora il web
|
||||
Comment[ja]=ウェブを閲覧します
|
||||
Comment[ko]=웹을 돌아 다닙니다
|
||||
Comment[nb]=Surf på nettet
|
||||
Comment[nl]=Verken het internet
|
||||
Comment[nn]=Surf på nettet
|
||||
Comment[no]=Surf på nettet
|
||||
Comment[pl]=Przeglądanie stron WWW
|
||||
Comment[pt]=Navegue na Internet
|
||||
Comment[pt_BR]=Navegue na Internet
|
||||
Comment[sk]=Prehliadanie internetu
|
||||
Comment[sv]=Surfa på webben
|
||||
Exec=firefox %u
|
||||
Icon=firefox
|
||||
Terminal=false
|
||||
Type=Application
|
||||
MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;
|
||||
StartupNotify=true
|
||||
Categories=Network;WebBrowser;
|
||||
Keywords=web;browser;internet;
|
||||
Actions=new-window;new-private-window;profile-manager-window;
|
||||
|
||||
[Desktop Action new-window]
|
||||
Name=Open a New Window
|
||||
Name[ach]=Dirica manyen
|
||||
Name[af]=Nuwe venster
|
||||
Name[an]=Nueva finestra
|
||||
Name[ar]=نافذة جديدة
|
||||
Name[as]=নতুন উইন্ডো
|
||||
Name[ast]=Ventana nueva
|
||||
Name[az]=Yeni Pəncərə
|
||||
Name[be]=Новае акно
|
||||
Name[bg]=Нов прозорец
|
||||
Name[bn_BD]=নতুন উইন্ডো (N)
|
||||
Name[bn_IN]=নতুন উইন্ডো
|
||||
Name[br]=Prenestr nevez
|
||||
Name[brx]=गोदान उइन्ड'(N)
|
||||
Name[bs]=Novi prozor
|
||||
Name[ca]=Finestra nova
|
||||
Name[cak]=K'ak'a' tzuwäch
|
||||
Name[cs]=Nové okno
|
||||
Name[cy]=Ffenestr Newydd
|
||||
Name[da]=Nyt vindue
|
||||
Name[de]=Neues Fenster
|
||||
Name[dsb]=Nowe wokno
|
||||
Name[el]=Νέο παράθυρο
|
||||
Name[en_GB]=New Window
|
||||
Name[en_US]=New Window
|
||||
Name[en_ZA]=New Window
|
||||
Name[eo]=Nova fenestro
|
||||
Name[es_AR]=Nueva ventana
|
||||
Name[es_CL]=Nueva ventana
|
||||
Name[es_ES]=Nueva ventana
|
||||
Name[es_MX]=Nueva ventana
|
||||
Name[et]=Uus aken
|
||||
Name[eu]=Leiho berria
|
||||
Name[fa]=پنجره جدید
|
||||
Name[ff]=Henorde Hesere
|
||||
Name[fi]=Uusi ikkuna
|
||||
Name[fr]=Nouvelle fenêtre
|
||||
Name[fy_NL]=Nij finster
|
||||
Name[ga_IE]=Fuinneog Nua
|
||||
Name[gd]=Uinneag ùr
|
||||
Name[gl]=Nova xanela
|
||||
Name[gn]=Ovetã pyahu
|
||||
Name[gu_IN]=નવી વિન્ડો
|
||||
Name[he]=חלון חדש
|
||||
Name[hi_IN]=नया विंडो
|
||||
Name[hr]=Novi prozor
|
||||
Name[hsb]=Nowe wokno
|
||||
Name[hu]=Új ablak
|
||||
Name[hy_AM]=Նոր Պատուհան
|
||||
Name[id]=Jendela Baru
|
||||
Name[is]=Nýr gluggi
|
||||
Name[it]=Nuova finestra
|
||||
Name[ja]=新しいウィンドウ
|
||||
Name[ja_JP-mac]=新規ウインドウ
|
||||
Name[ka]=ახალი ფანჯარა
|
||||
Name[kk]=Жаңа терезе
|
||||
Name[km]=បង្អួចថ្មី
|
||||
Name[kn]=ಹೊಸ ಕಿಟಕಿ
|
||||
Name[ko]=새 창
|
||||
Name[kok]=नवें जनेल
|
||||
Name[ks]=نئئ وِنڈو
|
||||
Name[lij]=Neuvo barcon
|
||||
Name[lo]=ຫນ້າຕ່າງໃຫມ່
|
||||
Name[lt]=Naujas langas
|
||||
Name[ltg]=Jauns lūgs
|
||||
Name[lv]=Jauns logs
|
||||
Name[mai]=नव विंडो
|
||||
Name[mk]=Нов прозорец
|
||||
Name[ml]=പുതിയ ജാലകം
|
||||
Name[mr]=नवीन पटल
|
||||
Name[ms]=Tetingkap Baru
|
||||
Name[my]=ဝင်းဒိုးအသစ်
|
||||
Name[nb_NO]=Nytt vindu
|
||||
Name[ne_NP]=नयाँ सञ्झ्याल
|
||||
Name[nl]=Nieuw venster
|
||||
Name[nn_NO]=Nytt vindauge
|
||||
Name[or]=ନୂତନ ୱିଣ୍ଡୋ
|
||||
Name[pa_IN]=ਨਵੀਂ ਵਿੰਡੋ
|
||||
Name[pl]=Nowe okno
|
||||
Name[pt_BR]=Nova janela
|
||||
Name[pt_PT]=Nova janela
|
||||
Name[rm]=Nova fanestra
|
||||
Name[ro]=Fereastră nouă
|
||||
Name[ru]=Новое окно
|
||||
Name[sat]=नावा विंडो (N)
|
||||
Name[si]=නව කවුළුවක්
|
||||
Name[sk]=Nové okno
|
||||
Name[sl]=Novo okno
|
||||
Name[son]=Zanfun taaga
|
||||
Name[sq]=Dritare e Re
|
||||
Name[sr]=Нови прозор
|
||||
Name[sv_SE]=Nytt fönster
|
||||
Name[ta]=புதிய சாளரம்
|
||||
Name[te]=కొత్త విండో
|
||||
Name[th]=หน้าต่างใหม่
|
||||
Name[tr]=Yeni pencere
|
||||
Name[tsz]=Eraatarakua jimpani
|
||||
Name[uk]=Нове вікно
|
||||
Name[ur]=نیا دریچہ
|
||||
Name[uz]=Yangi oyna
|
||||
Name[vi]=Cửa sổ mới
|
||||
Name[wo]=Palanteer bu bees
|
||||
Name[xh]=Ifestile entsha
|
||||
Name[zh_CN]=新建窗口
|
||||
Name[zh_TW]=開新視窗
|
||||
Exec=firefox --new-window %u
|
||||
|
||||
[Desktop Action new-private-window]
|
||||
Name=Open a New Private Window
|
||||
Name[ach]=Dirica manyen me mung
|
||||
Name[af]=Nuwe privaatvenster
|
||||
Name[an]=Nueva finestra privada
|
||||
Name[ar]=نافذة خاصة جديدة
|
||||
Name[as]=নতুন ব্যক্তিগত উইন্ডো
|
||||
Name[ast]=Ventana privada nueva
|
||||
Name[az]=Yeni Məxfi Pəncərə
|
||||
Name[be]=Новае акно адасаблення
|
||||
Name[bg]=Нов прозорец за поверително сърфиране
|
||||
Name[bn_BD]=নতুন ব্যক্তিগত উইন্ডো
|
||||
Name[bn_IN]=নতুন ব্যক্তিগত উইন্ডো
|
||||
Name[br]=Prenestr merdeiñ prevez nevez
|
||||
Name[brx]=गोदान प्राइभेट उइन्ड'
|
||||
Name[bs]=Novi privatni prozor
|
||||
Name[ca]=Finestra privada nova
|
||||
Name[cak]=K'ak'a' ichinan tzuwäch
|
||||
Name[cs]=Nové anonymní okno
|
||||
Name[cy]=Ffenestr Breifat Newydd
|
||||
Name[da]=Nyt privat vindue
|
||||
Name[de]=Neues privates Fenster
|
||||
Name[dsb]=Nowe priwatne wokno
|
||||
Name[el]=Νέο παράθυρο ιδιωτικής περιήγησης
|
||||
Name[en_GB]=New Private Window
|
||||
Name[en_US]=New Private Window
|
||||
Name[en_ZA]=New Private Window
|
||||
Name[eo]=Nova privata fenestro
|
||||
Name[es_AR]=Nueva ventana privada
|
||||
Name[es_CL]=Nueva ventana privada
|
||||
Name[es_ES]=Nueva ventana privada
|
||||
Name[es_MX]=Nueva ventana privada
|
||||
Name[et]=Uus privaatne aken
|
||||
Name[eu]=Leiho pribatu berria
|
||||
Name[fa]=پنجره ناشناس جدید
|
||||
Name[ff]=Henorde Suturo Hesere
|
||||
Name[fi]=Uusi yksityinen ikkuna
|
||||
Name[fr]=Nouvelle fenêtre de navigation privée
|
||||
Name[fy_NL]=Nij priveefinster
|
||||
Name[ga_IE]=Fuinneog Nua Phríobháideach
|
||||
Name[gd]=Uinneag phrìobhaideach ùr
|
||||
Name[gl]=Nova xanela privada
|
||||
Name[gn]=Ovetã ñemi pyahu
|
||||
Name[gu_IN]=નવી ખાનગી વિન્ડો
|
||||
Name[he]=חלון פרטי חדש
|
||||
Name[hi_IN]=नयी निजी विंडो
|
||||
Name[hr]=Novi privatni prozor
|
||||
Name[hsb]=Nowe priwatne wokno
|
||||
Name[hu]=Új privát ablak
|
||||
Name[hy_AM]=Սկսել Գաղտնի դիտարկում
|
||||
Name[id]=Jendela Mode Pribadi Baru
|
||||
Name[is]=Nýr huliðsgluggi
|
||||
Name[it]=Nuova finestra anonima
|
||||
Name[ja]=新しいプライベートウィンドウ
|
||||
Name[ja_JP-mac]=新規プライベートウインドウ
|
||||
Name[ka]=ახალი პირადი ფანჯარა
|
||||
Name[kk]=Жаңа жекелік терезе
|
||||
Name[km]=បង្អួចឯកជនថ្មី
|
||||
Name[kn]=ಹೊಸ ಖಾಸಗಿ ಕಿಟಕಿ
|
||||
Name[ko]=새 사생활 보호 모드
|
||||
Name[kok]=नवो खाजगी विंडो
|
||||
Name[ks]=نْو پرایوٹ وینڈو&
|
||||
Name[lij]=Neuvo barcon privou
|
||||
Name[lo]=ເປີດຫນ້າຕ່າງສວນຕົວຂື້ນມາໃຫມ່
|
||||
Name[lt]=Naujas privataus naršymo langas
|
||||
Name[ltg]=Jauns privatais lūgs
|
||||
Name[lv]=Jauns privātais logs
|
||||
Name[mai]=नया निज विंडो (W)
|
||||
Name[mk]=Нов приватен прозорец
|
||||
Name[ml]=പുതിയ സ്വകാര്യ ജാലകം
|
||||
Name[mr]=नवीन वैयक्तिक पटल
|
||||
Name[ms]=Tetingkap Persendirian Baharu
|
||||
Name[my]=New Private Window
|
||||
Name[nb_NO]=Nytt privat vindu
|
||||
Name[ne_NP]=नयाँ निजी सञ्झ्याल
|
||||
Name[nl]=Nieuw privévenster
|
||||
Name[nn_NO]=Nytt privat vindauge
|
||||
Name[or]=ନୂତନ ବ୍ୟକ୍ତିଗତ ୱିଣ୍ଡୋ
|
||||
Name[pa_IN]=ਨਵੀਂ ਪ੍ਰਾਈਵੇਟ ਵਿੰਡੋ
|
||||
Name[pl]=Nowe okno prywatne
|
||||
Name[pt_BR]=Nova janela privativa
|
||||
Name[pt_PT]=Nova janela privada
|
||||
Name[rm]=Nova fanestra privata
|
||||
Name[ro]=Fereastră privată nouă
|
||||
Name[ru]=Новое приватное окно
|
||||
Name[sat]=नावा निजेराक् विंडो (W )
|
||||
Name[si]=නව පුද්ගලික කවුළුව (W)
|
||||
Name[sk]=Nové okno v režime Súkromné prehliadanie
|
||||
Name[sl]=Novo zasebno okno
|
||||
Name[son]=Sutura zanfun taaga
|
||||
Name[sq]=Dritare e Re Private
|
||||
Name[sr]=Нови приватан прозор
|
||||
Name[sv_SE]=Nytt privat fönster
|
||||
Name[ta]=புதிய தனிப்பட்ட சாளரம்
|
||||
Name[te]=కొత్త ఆంతరంగిక విండో
|
||||
Name[th]=หน้าต่างส่วนตัวใหม่
|
||||
Name[tr]=Yeni gizli pencere
|
||||
Name[tsz]=Juchiiti eraatarakua jimpani
|
||||
Name[uk]=Приватне вікно
|
||||
Name[ur]=نیا نجی دریچہ
|
||||
Name[uz]=Yangi maxfiy oyna
|
||||
Name[vi]=Cửa sổ riêng tư mới
|
||||
Name[wo]=Panlanteeru biir bu bees
|
||||
Name[xh]=Ifestile yangasese entsha
|
||||
Name[zh_CN]=新建隐私浏览窗口
|
||||
Name[zh_TW]=新增隱私視窗
|
||||
Exec=firefox --private-window %u
|
||||
|
||||
[Desktop Action profile-manager-window]
|
||||
Name=Open the Profile Manager
|
||||
Name[cs]=Správa profilů
|
||||
Name[de]=Profilverwaltung öffnen
|
||||
Name[fr]=Ouvrir le gestionnaire de profils
|
||||
Exec=firefox --ProfileManager
|
||||
5
org.mozilla.firefox.search-provider.ini
Normal file
5
org.mozilla.firefox.search-provider.ini
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
[Shell Search Provider]
|
||||
DesktopId=org.mozilla.firefox.desktop
|
||||
BusName=org.mozilla.firefox.SearchProvider
|
||||
ObjectPath=/org/mozilla/firefox/SearchProvider
|
||||
Version=2
|
||||
150
pgo.patch
150
pgo.patch
|
|
@ -1,30 +1,128 @@
|
|||
diff -up firefox-70.0/build/mozconfig.pgo firefox-70.0/build/mozconfig
|
||||
diff -up firefox-70.0/build/unix/mozconfig.unix.pgo firefox-70.0/build/unix/mozconfig.unix
|
||||
--- firefox-70.0/build/unix/mozconfig.unix.pgo 2019-10-18 18:05:36.461701704 +0200
|
||||
+++ firefox-70.0/build/unix/mozconfig.unix 2019-10-18 20:25:48.036037912 +0200
|
||||
@@ -6,6 +6,15 @@ if [ -n "$FORCE_GCC" ]; then
|
||||
CC="$MOZ_FETCHES_DIR/gcc/bin/gcc"
|
||||
CXX="$MOZ_FETCHES_DIR/gcc/bin/g++"
|
||||
diff -up firefox-145.0/build/moz.configure/lto-pgo.configure.pgo firefox-145.0/build/moz.configure/lto-pgo.configure
|
||||
--- firefox-145.0/build/moz.configure/lto-pgo.configure.pgo 2025-11-03 16:56:55.000000000 +0100
|
||||
+++ firefox-145.0/build/moz.configure/lto-pgo.configure 2025-11-05 13:59:53.477443914 +0100
|
||||
@@ -96,12 +96,16 @@ set_config("PGO_PROFILE_PATH", pgo_profi
|
||||
|
||||
+ if [ -n "$MOZ_PGO" ]; then
|
||||
+ if [ -z "$USE_ARTIFACT" ]; then
|
||||
+ ac_add_options --enable-lto
|
||||
+ fi
|
||||
+ export AR="$topsrcdir/gcc/bin/gcc-ar"
|
||||
+ export NM="$topsrcdir/gcc/bin/gcc-nm"
|
||||
+ export RANLIB="$topsrcdir/gcc/bin/gcc-ranlib"
|
||||
+ fi
|
||||
@depends(
|
||||
"--enable-profile-use",
|
||||
+ c_compiler,
|
||||
pgo_profile_path,
|
||||
llvm_profdata,
|
||||
llvm_profdata_order,
|
||||
build_environment,
|
||||
)
|
||||
-def orderfile_path(profile_use, path, profdata, profdata_order, build_env):
|
||||
+def orderfile_path(profile_use, compiler, path, profdata, profdata_order, build_env):
|
||||
+ if compiler.type == "gcc":
|
||||
+ return None
|
||||
+
|
||||
# We want to make sure we use binutils and other binaries in the tooltool
|
||||
# package.
|
||||
mk_add_options "export PATH=$MOZ_FETCHES_DIR/gcc/bin:$PATH"
|
||||
diff -up firefox-70.0/extensions/spellcheck/src/moz.build.pgo firefox-70.0/extensions/spellcheck/src/moz.build
|
||||
--- firefox-70.0/extensions/spellcheck/src/moz.build.pgo 2019-10-16 23:20:18.000000000 +0200
|
||||
+++ firefox-70.0/extensions/spellcheck/src/moz.build 2019-10-18 18:05:36.461701704 +0200
|
||||
@@ -31,3 +31,5 @@ EXPORTS.mozilla += [
|
||||
if not profile_use:
|
||||
return None
|
||||
|
||||
if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
|
||||
CXXFLAGS += ['-Wno-error=shadow']
|
||||
@@ -145,7 +149,7 @@ def pgo_flags(
|
||||
return namespace(
|
||||
gen_cflags=["-fprofile-generate"],
|
||||
gen_ldflags=["-fprofile-generate"],
|
||||
- use_cflags=["-fprofile-use", "-fprofile-correction", "-Wcoverage-mismatch"],
|
||||
+ use_cflags=["-fprofile-use", "-fprofile-correction", "-Wno-coverage-mismatch"],
|
||||
use_ldflags=["-fprofile-use"],
|
||||
)
|
||||
|
||||
diff -up firefox-145.0/build/pgo/profileserver.py.pgo firefox-145.0/build/pgo/profileserver.py
|
||||
--- firefox-145.0/build/pgo/profileserver.py.pgo 2025-11-03 16:56:55.000000000 +0100
|
||||
+++ firefox-145.0/build/pgo/profileserver.py 2025-11-05 13:59:53.477602066 +0100
|
||||
@@ -10,7 +10,7 @@ import subprocess
|
||||
import sys
|
||||
|
||||
import mozcrash
|
||||
-from mozbuild.base import BinaryNotFoundException, MozbuildObject
|
||||
+from mozbuild.base import BinaryNotFoundException, MozbuildObject, BuildEnvironmentNotFoundException
|
||||
from mozfile import TemporaryDirectory, json
|
||||
from mozhttpd import MozHttpd
|
||||
from mozprofile import FirefoxProfile, Preferences
|
||||
@@ -96,9 +96,22 @@ if __name__ == "__main__":
|
||||
locations = ServerLocations()
|
||||
locations.add_host(host="127.0.0.1", port=PORT, options="primary,privileged")
|
||||
|
||||
- old_profraw_files = glob.glob("*.profraw")
|
||||
- for f in old_profraw_files:
|
||||
- os.remove(f)
|
||||
+ using_gcc = False
|
||||
+ try:
|
||||
+ if build.config_environment.substs.get('CC_TYPE') == 'gcc':
|
||||
+ using_gcc = True
|
||||
+ except BuildEnvironmentNotFoundException:
|
||||
+ pass
|
||||
+
|
||||
+CXXFLAGS += ['-fno-devirtualize']
|
||||
\ No newline at end of file
|
||||
+ if using_gcc:
|
||||
+ for dirpath, _, filenames in os.walk('.'):
|
||||
+ for f in filenames:
|
||||
+ if f.endswith('.gcda'):
|
||||
+ os.remove(os.path.join(dirpath, f))
|
||||
+ else:
|
||||
+ old_profraw_files = glob.glob('*.profraw')
|
||||
+ for f in old_profraw_files:
|
||||
+ os.remove(f)
|
||||
|
||||
with TemporaryDirectory() as profilePath:
|
||||
# TODO: refactor this into mozprofile
|
||||
diff -up firefox-145.0/gfx/2d/moz.build.pgo firefox-145.0/gfx/2d/moz.build
|
||||
--- firefox-145.0/gfx/2d/moz.build.pgo 2025-11-03 16:56:57.000000000 +0100
|
||||
+++ firefox-145.0/gfx/2d/moz.build 2025-11-05 14:21:20.485610837 +0100
|
||||
@@ -137,11 +137,11 @@ if CONFIG["INTEL_ARCHITECTURE"]:
|
||||
DEFINES["USE_SSE2"] = True
|
||||
# The file uses SSE2 intrinsics, so it needs special compile flags on some
|
||||
# compilers.
|
||||
- SOURCES["ConvolutionFilterAVX2.cpp"].flags += ["-mavx2"]
|
||||
+ SOURCES["ConvolutionFilterAVX2.cpp"].flags += ["-mavx2", "-fno-lto"]
|
||||
SOURCES["ConvolutionFilterSSE2.cpp"].flags += CONFIG["SSE2_FLAGS"]
|
||||
SOURCES["FilterProcessingSSE2.cpp"].flags += CONFIG["SSE2_FLAGS"]
|
||||
SOURCES["ImageScalingSSE2.cpp"].flags += CONFIG["SSE2_FLAGS"]
|
||||
- SOURCES["SwizzleAVX2.cpp"].flags += ["-mavx2"]
|
||||
+ SOURCES["SwizzleAVX2.cpp"].flags += ["-mavx2", "-fno-lto"]
|
||||
SOURCES["SwizzleSSE2.cpp"].flags += CONFIG["SSE2_FLAGS"]
|
||||
SOURCES["SwizzleSSSE3.cpp"].flags += CONFIG["SSSE3_FLAGS"]
|
||||
|
||||
diff -up firefox-145.0/gfx/skia/generate_mozbuild.py.pgo firefox-145.0/gfx/skia/generate_mozbuild.py
|
||||
--- firefox-145.0/gfx/skia/generate_mozbuild.py.pgo 2025-11-03 16:56:57.000000000 +0100
|
||||
+++ firefox-145.0/gfx/skia/generate_mozbuild.py 2025-11-05 13:59:53.477947055 +0100
|
||||
@@ -50,8 +50,8 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'wind
|
||||
if CONFIG['INTEL_ARCHITECTURE']:
|
||||
SOURCES['skia/modules/skcms/skcms.cc'].flags += ['-DSKCMS_DISABLE_SKX']
|
||||
skia_ssse3_flags = ['-Dskvx=skvx_ssse3', '-mssse3']
|
||||
- skia_avx_flags = ['-Dskvx=skvx_avx', '-mavx']
|
||||
- skia_hsw_flags = ['-Dskvx=skvx_hsw', '-mavx2', '-mf16c', '-mfma']
|
||||
+ skia_avx_flags = ['-Dskvx=skvx_avx', '-mavx', '-fno-lto']
|
||||
+ skia_hsw_flags = ['-Dskvx=skvx_hsw', '-mavx2', '-mf16c', '-mfma', '-fno-lto']
|
||||
SOURCES['skia/src/core/SkBitmapProcState_opts_ssse3.cpp'].flags += skia_ssse3_flags
|
||||
SOURCES['skia/src/core/SkBlitMask_opts_ssse3.cpp'].flags += skia_ssse3_flags
|
||||
SOURCES['skia/src/core/SkSwizzler_opts_ssse3.cpp'].flags += ['-Dskvx=skvx_ssse3']
|
||||
diff -up firefox-145.0/gfx/skia/moz.build.pgo firefox-145.0/gfx/skia/moz.build
|
||||
--- firefox-145.0/gfx/skia/moz.build.pgo 2025-11-03 16:56:57.000000000 +0100
|
||||
+++ firefox-145.0/gfx/skia/moz.build 2025-11-05 13:59:53.478077484 +0100
|
||||
@@ -597,8 +597,8 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'wind
|
||||
if CONFIG['INTEL_ARCHITECTURE']:
|
||||
SOURCES['skia/modules/skcms/skcms.cc'].flags += ['-DSKCMS_DISABLE_SKX']
|
||||
skia_ssse3_flags = ['-Dskvx=skvx_ssse3', '-mssse3']
|
||||
- skia_avx_flags = ['-Dskvx=skvx_avx', '-mavx']
|
||||
- skia_hsw_flags = ['-Dskvx=skvx_hsw', '-mavx2', '-mf16c', '-mfma']
|
||||
+ skia_avx_flags = ['-Dskvx=skvx_avx', '-mavx', '-fno-lto']
|
||||
+ skia_hsw_flags = ['-Dskvx=skvx_hsw', '-mavx2', '-mf16c', '-mfma', '-fno-lto']
|
||||
SOURCES['skia/src/core/SkBitmapProcState_opts_ssse3.cpp'].flags += skia_ssse3_flags
|
||||
SOURCES['skia/src/core/SkBlitMask_opts_ssse3.cpp'].flags += skia_ssse3_flags
|
||||
SOURCES['skia/src/core/SkSwizzler_opts_ssse3.cpp'].flags += ['-Dskvx=skvx_ssse3']
|
||||
diff -up firefox-145.0/toolkit/components/terminator/nsTerminator.cpp.pgo firefox-145.0/toolkit/components/terminator/nsTerminator.cpp
|
||||
--- firefox-145.0/toolkit/components/terminator/nsTerminator.cpp.pgo 2025-11-03 16:57:15.000000000 +0100
|
||||
+++ firefox-145.0/toolkit/components/terminator/nsTerminator.cpp 2025-11-05 13:59:53.478238011 +0100
|
||||
@@ -330,6 +330,11 @@ void nsTerminator::StartWatchdog() {
|
||||
}
|
||||
#endif
|
||||
|
||||
+ // Disable watchdog for PGO train builds - writting profile information at
|
||||
+ // exit may take time and it is better to make build hang rather than
|
||||
+ // silently produce poorly performing binary.
|
||||
+ crashAfterMS = INT32_MAX;
|
||||
+
|
||||
UniquePtr<Options> options(new Options());
|
||||
// crashAfterTicks is guaranteed to be > 0 as
|
||||
// crashAfterMS >= ADDITIONAL_WAIT_BEFORE_CRASH_MS >> HEARTBEAT_INTERVAL_MS
|
||||
|
|
|
|||
13
print-error-reftest
Executable file
13
print-error-reftest
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/bash
|
||||
# Print reftest failures and compose them to html
|
||||
|
||||
TEST_DIR="$1"
|
||||
TEST_FLAVOUR="$2"
|
||||
OUTPUT_FILE="failures-reftest$TEST_FLAVOUR.html"
|
||||
|
||||
grep --text -e "REFTEST TEST-UNEXPECTED-PASS" -e "REFTEST TEST-UNEXPECTED-FAIL" -e "IMAGE 1 (TEST):" -e "IMAGE 2 (REFERENCE):" $TEST_DIR/reftest$TEST_FLAVOUR 2>&1 > $OUTPUT_FILE
|
||||
sed -i '/REFTEST IMAGE 1/a ">' $OUTPUT_FILE
|
||||
sed -i '/REFTEST IMAGE 2/a "><BR><BR>' $OUTPUT_FILE
|
||||
sed -i '/REFTEST TEST/a <BR>' $OUTPUT_FILE
|
||||
sed -i -e 's/^REFTEST IMAGE 1 (TEST): /<img border=2 src="/' $OUTPUT_FILE
|
||||
sed -i -e 's/^REFTEST IMAGE 2 (REFERENCE): /<img border=2 src="/' $OUTPUT_FILE
|
||||
9
print-errors
Executable file
9
print-errors
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/bash
|
||||
# Print failed tests
|
||||
|
||||
TEST_DIR=$1
|
||||
TEST_FLAVOUR=$2
|
||||
|
||||
grep "TEST-UNEXPECTED-FAIL" $TEST_DIR/mochitest$TEST_FLAVOUR 2>&1 > failures-mochitest$TEST_FLAVOUR.txt
|
||||
grep --text -e " FAIL " -e " TIMEOUT " $TEST_DIR/xpcshell$TEST_FLAVOUR 2>&1 > failures-xpcshell$TEST_FLAVOUR.txt
|
||||
grep --text -e "REFTEST TEST-UNEXPECTED-PASS" -e "REFTEST TEST-UNEXPECTED-FAIL" $TEST_DIR/reftest$TEST_FLAVOUR 2>&1 > failures-reftest$TEST_FLAVOUR.txt
|
||||
9
print_failures
Executable file
9
print_failures
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/bash
|
||||
# Analyze and print test failures
|
||||
|
||||
export TEST_DIR="test_results"
|
||||
|
||||
#./print-errors $TEST_DIR ""
|
||||
./print-errors $TEST_DIR "-wr"
|
||||
#./print-error-reftest $TEST_DIR ""
|
||||
./print-error-reftest $TEST_DIR "-wr"
|
||||
10
print_results
Executable file
10
print_results
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/bash
|
||||
# Analyze and print general test results
|
||||
|
||||
export TEST_DIR="test_results"
|
||||
|
||||
echo "Test results"
|
||||
#echo "Basic compositor"
|
||||
#./psummary $TEST_DIR ""
|
||||
echo "WebRender"
|
||||
./psummary $TEST_DIR "-wr"
|
||||
23
psummary
Executable file
23
psummary
Executable file
|
|
@ -0,0 +1,23 @@
|
|||
#!/usr/bin/bash
|
||||
# Analyze and print specialized (basic/webrender) test results
|
||||
|
||||
TEST_DIR=$1
|
||||
TEST_FLAVOUR=$2
|
||||
|
||||
MPASS=`grep "TEST_END: Test OK" $TEST_DIR/mochitest$TEST_FLAVOUR | wc -l`
|
||||
MERR=`grep "TEST_END: Test ERROR" $TEST_DIR/mochitest$TEST_FLAVOUR | wc -l`
|
||||
MUNEX=`grep "TEST-UNEXPECTED-FAIL" $TEST_DIR/mochitest$TEST_FLAVOUR | wc -l`
|
||||
echo "Mochitest PASSED: $MPASS FAILED: $MERR UNEXPECTED-FAILURES: $MUNEX"
|
||||
|
||||
XPCPASS=`grep --text "Expected results:" $TEST_DIR/xpcshell$TEST_FLAVOUR | cut -d ' ' -f 3`
|
||||
XPCFAIL=`grep --text "Unexpected results:" $TEST_DIR/xpcshell$TEST_FLAVOUR | cut -d ' ' -f 3`
|
||||
echo "XPCShell: PASSED: $XPCPASS FAILED: $XPCFAIL"
|
||||
|
||||
CRPASS=`grep "REFTEST INFO | Successful:" $TEST_DIR/crashtest$TEST_FLAVOUR | cut -d ' ' -f 5`
|
||||
CRFAIL=`grep "^REFTEST INFO | Unexpected:" $TEST_DIR/crashtest$TEST_FLAVOUR | cut -d ' ' -f 5`
|
||||
echo "Crashtest: PASSED: $CRPASS FAILED: $CRFAIL"
|
||||
|
||||
RFPASS=`grep --text "REFTEST INFO | Successful:" $TEST_DIR/reftest$TEST_FLAVOUR | cut -d ' ' -f 5`
|
||||
RFUN=`grep --text "^REFTEST INFO | Unexpected:" $TEST_DIR/reftest$TEST_FLAVOUR | cut -d ' ' -f 5`
|
||||
RFKNOWN=`grep --text "REFTEST INFO | Known problems:" $TEST_DIR/reftest$TEST_FLAVOUR | cut -d ' ' -f 6`
|
||||
echo "Reftest: PASSED: $RFPASS FAILED: $RFUN Known issues: $RFKNOWN"
|
||||
|
|
@ -1,12 +1,12 @@
|
|||
diff -up firefox-60.5.0/extensions/auth/nsAuthSambaNTLM.cpp.rhbz-1173156 firefox-60.5.0/extensions/auth/nsAuthSambaNTLM.cpp
|
||||
--- firefox-60.5.0/extensions/auth/nsAuthSambaNTLM.cpp.rhbz-1173156 2019-01-22 10:36:09.284069020 +0100
|
||||
+++ firefox-60.5.0/extensions/auth/nsAuthSambaNTLM.cpp 2019-01-22 10:37:12.669757744 +0100
|
||||
@@ -161,7 +161,7 @@ nsresult nsAuthSambaNTLM::SpawnNTLMAuthH
|
||||
const char* username = PR_GetEnv("USER");
|
||||
if (!username) return NS_ERROR_FAILURE;
|
||||
diff -up firefox-132.0/extensions/auth/nsAuthSambaNTLM.cpp.rhbz-1173156 firefox-132.0/extensions/auth/nsAuthSambaNTLM.cpp
|
||||
--- firefox-132.0/extensions/auth/nsAuthSambaNTLM.cpp.rhbz-1173156 2024-10-23 09:26:41.433895188 +0200
|
||||
+++ firefox-132.0/extensions/auth/nsAuthSambaNTLM.cpp 2024-10-23 10:05:11.025801336 +0200
|
||||
@@ -153,7 +153,7 @@ nsresult nsAuthSambaNTLM::SpawnNTLMAuthH
|
||||
options.fds_to_remap.push_back(
|
||||
std::pair{fromChildPipeWrite.get(), STDOUT_FILENO});
|
||||
|
||||
- std::vector<std::string> argvVec{"ntlm_auth", "--helper-protocol",
|
||||
+ std::vector<std::string> argvVec{"/usr/bin/ntlm_auth", "--helper-protocol",
|
||||
"ntlmssp-client-1", "--use-cached-creds",
|
||||
"--username", username};
|
||||
|
||||
- const char* const args[] = {"ntlm_auth",
|
||||
+ const char* const args[] = {"/usr/bin/ntlm_auth",
|
||||
"--helper-protocol",
|
||||
"ntlmssp-client-1",
|
||||
"--use-cached-creds",
|
||||
|
|
|
|||
|
|
@ -1,23 +0,0 @@
|
|||
diff -up firefox-55.0/js/src/old-configure.in.rhbz-1219542-s390 firefox-55.0/js/src/old-configure.in
|
||||
--- firefox-55.0/js/src/old-configure.in.rhbz-1219542-s390 2017-07-31 18:20:48.000000000 +0200
|
||||
+++ firefox-55.0/js/src/old-configure.in 2017-08-02 14:31:32.190243669 +0200
|
||||
@@ -541,7 +541,7 @@ case "$host" in
|
||||
|
||||
*-linux*|*-kfreebsd*-gnu|*-gnu*)
|
||||
HOST_CFLAGS="$HOST_CFLAGS -DXP_UNIX"
|
||||
- HOST_OPTIMIZE_FLAGS="${HOST_OPTIMIZE_FLAGS=-O3}"
|
||||
+ HOST_OPTIMIZE_FLAGS="${HOST_OPTIMIZE_FLAGS=-O1}"
|
||||
;;
|
||||
|
||||
*)
|
||||
@@ -617,8 +617,8 @@ case "$target" in
|
||||
|
||||
*-*linux*)
|
||||
if test "$GNU_CC" -o "$GNU_CXX"; then
|
||||
- MOZ_PGO_OPTIMIZE_FLAGS="-O3"
|
||||
- MOZ_OPTIMIZE_FLAGS="-O3"
|
||||
+ MOZ_PGO_OPTIMIZE_FLAGS="-O1"
|
||||
+ MOZ_OPTIMIZE_FLAGS="-O1"
|
||||
if test -z "$CLANG_CC"; then
|
||||
MOZ_OPTIMIZE_FLAGS="-freorder-blocks $MOZ_OPTIMIZE_FLAGS"
|
||||
fi
|
||||
|
|
@ -1,72 +0,0 @@
|
|||
diff --git a/security/certverifier/CertVerifier.cpp b/security/certverifier/CertVerifier.cpp
|
||||
--- a/security/certverifier/CertVerifier.cpp
|
||||
+++ b/security/certverifier/CertVerifier.cpp
|
||||
@@ -120,16 +120,20 @@ IsCertChainRootBuiltInRoot(const UniqueC
|
||||
}
|
||||
CERTCertificate* root = rootNode->cert;
|
||||
if (!root) {
|
||||
return Result::FATAL_ERROR_LIBRARY_FAILURE;
|
||||
}
|
||||
return IsCertBuiltInRoot(root, result);
|
||||
}
|
||||
|
||||
+// The term "builtin root" traditionally refers to a root CA certificate that
|
||||
+// has been added to the NSS trust store, because it has been approved
|
||||
+// for inclusion according to the Mozilla CA policy, and might be accepted
|
||||
+// by Mozilla applications as an issuer for certificates seen on the public web.
|
||||
Result
|
||||
IsCertBuiltInRoot(CERTCertificate* cert, bool& result)
|
||||
{
|
||||
result = false;
|
||||
#ifdef DEBUG
|
||||
nsCOMPtr<nsINSSComponent> component(do_GetService(PSM_COMPONENT_CONTRACTID));
|
||||
if (!component) {
|
||||
return Result::FATAL_ERROR_LIBRARY_FAILURE;
|
||||
@@ -142,25 +146,38 @@ IsCertBuiltInRoot(CERTCertificate* cert,
|
||||
return Success;
|
||||
}
|
||||
#endif // DEBUG
|
||||
AutoSECMODListReadLock lock;
|
||||
for (SECMODModuleList* list = SECMOD_GetDefaultModuleList(); list;
|
||||
list = list->next) {
|
||||
for (int i = 0; i < list->module->slotCount; i++) {
|
||||
PK11SlotInfo* slot = list->module->slots[i];
|
||||
- // PK11_HasRootCerts should return true if and only if the given slot has
|
||||
- // an object with a CKA_CLASS of CKO_NETSCAPE_BUILTIN_ROOT_LIST, which
|
||||
- // should be true only of the builtin root list.
|
||||
- // If we can find a copy of the given certificate on the slot with the
|
||||
- // builtin root list, that certificate must be a builtin.
|
||||
- if (PK11_IsPresent(slot) && PK11_HasRootCerts(slot) &&
|
||||
- PK11_FindCertInSlot(slot, cert, nullptr) != CK_INVALID_HANDLE) {
|
||||
- result = true;
|
||||
- return Success;
|
||||
+ // We're searching for the "builtin root module", which is a module that
|
||||
+ // contains an object with a CKA_CLASS of CKO_NETSCAPE_BUILTIN_ROOT_LIST.
|
||||
+ // We use PK11_HasRootCerts() to identify a module with that property.
|
||||
+ // In the past, we exclusively used the PKCS#11 module named nssckbi,
|
||||
+ // which is provided by the NSS library.
|
||||
+ // Nowadays, some distributions use a replacement module, which contains
|
||||
+ // the builtin roots, but which also contains additional CA certificates,
|
||||
+ // such as CAs trusted in a local deployment.
|
||||
+ // We want to be able to distinguish between these two categories,
|
||||
+ // because a CA, which may issue certificates for the public web,
|
||||
+ // is expected to comply with additional requirements.
|
||||
+ // If the certificate has attribute CKA_NSS_MOZILLA_CA_POLICY set to true,
|
||||
+ // then we treat it as a "builtin root".
|
||||
+ if (PK11_IsPresent(slot) && PK11_HasRootCerts(slot)) {
|
||||
+ CK_OBJECT_HANDLE handle = PK11_FindCertInSlot(slot, cert, nullptr);
|
||||
+ if (handle != CK_INVALID_HANDLE &&
|
||||
+ PK11_HasAttributeSet(slot, handle, CKA_NSS_MOZILLA_CA_POLICY,
|
||||
+ false)) {
|
||||
+ // Attribute was found, and is set to true
|
||||
+ result = true;
|
||||
+ break;
|
||||
+ }
|
||||
}
|
||||
}
|
||||
}
|
||||
return Success;
|
||||
}
|
||||
|
||||
static Result
|
||||
BuildCertChainForOneKeyUsage(NSSCertDBTrustDomain& trustDomain, Input certDER,
|
||||
80
run-tests-wayland
Executable file
80
run-tests-wayland
Executable file
|
|
@ -0,0 +1,80 @@
|
|||
#!/usr/bin/bash
|
||||
# usage: run-tests-wayland [test flavour]
|
||||
|
||||
set -x
|
||||
|
||||
RUN_XPCSHELL_TEST=1
|
||||
RUN_REFTEST=1
|
||||
RUN_MOCHITEST=1
|
||||
RUN_CRASHTEST=1
|
||||
|
||||
while (( "$#" )); do
|
||||
SELECTED_TEST=$1
|
||||
if [ "$SELECTED_TEST" = "xpcshell" ] ; then
|
||||
RUN_XPCSHELL_TEST=1
|
||||
elif [ "$SELECTED_TEST" = "reftest" ] ; then
|
||||
RUN_REFTEST=1
|
||||
elif [ "$SELECTED_TEST" = "mochitest" ] ; then
|
||||
RUN_MOCHITEST=1
|
||||
elif [ "$SELECTED_TEST" = "crashtest" ] ; then
|
||||
RUN_CRASHTEST=1
|
||||
fi
|
||||
shift
|
||||
done
|
||||
|
||||
export MACH_USE_SYSTEM_PYTHON=1
|
||||
export MOZ_NODE_PATH=/usr/bin/node
|
||||
|
||||
MOCHITEST_PARAMS="--timeout 1 --chunk-by-dir 4"
|
||||
TEST_DIR="test_results"
|
||||
mkdir $TEST_DIR
|
||||
|
||||
env | grep "DISPLAY"
|
||||
|
||||
# Fix for system nss
|
||||
ln -s /usr/bin/certutil objdir/dist/bin/certutil
|
||||
ln -s /usr/bin/pk12util objdir/dist/bin/pk12util
|
||||
|
||||
NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`"
|
||||
|
||||
export MOZ_ENABLE_WAYLAND=1
|
||||
|
||||
if [ $RUN_XPCSHELL_TEST -ne 0 ] ; then
|
||||
# ./mach xpcshell-test 2>&1 | cat - | tee $TEST_DIR/xpcshell
|
||||
./mach xpcshell-test --enable-webrender 2>&1 | cat - | tee $TEST_DIR/xpcshell-wr
|
||||
sleep 60
|
||||
fi
|
||||
|
||||
# Basic render testing
|
||||
export TEST_PARAMS="--setpref reftest.ignoreWindowSize=true --setpref widget.wayland.test-workarounds.enabled=true"
|
||||
#export TEST_FLAVOUR=""
|
||||
#if [ $RUN_REFTEST -ne 0 ] ; then
|
||||
# ./mach reftest --marionette localhost:$(($(($RANDOM))+2000)) $TEST_PARAMS 2>&1 | tee $TEST_DIR/reftest$TEST_FLAVOUR
|
||||
#fi
|
||||
#if [ $RUN_CRASHTEST -ne 0 ] ; then
|
||||
# ./mach crashtest --marionette localhost:$(($(($RANDOM))+2000)) $TEST_PARAMS 2>&1 | tee $TEST_DIR/crashtest$TEST_FLAVOUR
|
||||
#fi
|
||||
#if [ $RUN_MOCHITEST -ne 0 ] ; then
|
||||
# ./mach mochitest --marionette localhost:$(($(($RANDOM))+2000)) $MOCHITEST_PARAMS $TEST_PARAMS 2>&1 | tee $TEST_DIR/mochitest$TEST_FLAVOUR
|
||||
#fi
|
||||
|
||||
# WebRender testing
|
||||
export TEST_PARAMS="--enable-webrender $TEST_PARAMS"
|
||||
export TEST_FLAVOUR="-wr"
|
||||
# Use dom/base/test or dom/base/test/chrome for short version
|
||||
export MOCHITEST_DIR='dom'
|
||||
if [ $RUN_REFTEST -ne 0 ] ; then
|
||||
./mach reftest $TEST_PARAMS 2>&1 | tee $TEST_DIR/reftest$TEST_FLAVOUR
|
||||
sleep 60
|
||||
fi
|
||||
if [ $RUN_CRASHTEST -ne 0 ] ; then
|
||||
./mach crashtest $TEST_PARAMS 2>&1 | tee $TEST_DIR/crashtest$TEST_FLAVOUR
|
||||
sleep 60
|
||||
fi
|
||||
if [ $RUN_MOCHITEST -ne 0 ] ; then
|
||||
./mach mochitest $MOCHITEST_DIR $MOCHITEST_PARAMS $TEST_PARAMS 2>&1 | tee $TEST_DIR/mochitest$TEST_FLAVOUR
|
||||
sleep 60
|
||||
fi
|
||||
|
||||
rm -f objdir/dist/bin/certutil
|
||||
rm -f objdir/dist/bin/pk12util
|
||||
39
run-tests-x11
Executable file
39
run-tests-x11
Executable file
|
|
@ -0,0 +1,39 @@
|
|||
#!/usr/bin/bash
|
||||
set -x
|
||||
|
||||
export MACH_USE_SYSTEM_PYTHON=1
|
||||
export MOZ_NODE_PATH=/usr/bin/node
|
||||
export X_PARAMS="-screen 0 1600x1200x24"
|
||||
export MOCHITEST_PARAMS="--timeout 1 --chunk-by-dir 4"
|
||||
export TEST_DIR="test_results"
|
||||
|
||||
# Fix for system nss
|
||||
ln -s /usr/bin/certutil objdir/dist/bin/certutil
|
||||
ln -s /usr/bin/pk12util objdir/dist/bin/pk12util
|
||||
|
||||
NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`"
|
||||
|
||||
# Basic render testing
|
||||
export TEST_PARAMS=""
|
||||
export TEST_FLAVOUR=""
|
||||
#xvfb-run -s "$X_PARAMS" -n 91 ./mach xpcshell-test --sequential $TEST_PARAMS 2>&1 | cat - | tee $TEST_DIR/xpcshell
|
||||
#xvfb-run -s "$X_PARAMS" -n 92 ./mach reftest --marionette localhost:$(($(($RANDOM))+2000)) $TEST_PARAMS 2>&1 | tee $TEST_DIR/reftest$TEST_FLAVOUR
|
||||
#xvfb-run -s "$X_PARAMS" -n 93 ./mach crashtest --marionette localhost:$(($(($RANDOM))+2000)) $TEST_PARAMS 2>&1 | tee $TEST_DIR/crashtest$TEST_FLAVOUR
|
||||
#xvfb-run -s "$X_PARAMS" -n 94 ./mach mochitest --marionette localhost:$(($(($RANDOM))+2000)) $MOCHITEST_PARAMS $TEST_PARAMS 2>&1 | tee $TEST_DIR/mochitest$TEST_FLAVOUR
|
||||
|
||||
# WebRender testing
|
||||
export TEST_PARAMS="--enable-webrender $TEST_PARAMS"
|
||||
export TEST_FLAVOUR="-wr"
|
||||
#xvfb-run -s "$X_PARAMS" -n 95 ./mach xpcshell-test --sequential $TEST_PARAMS 2>&1 | cat - | tee $TEST_DIR/xpcshell-wr
|
||||
#sleep 60
|
||||
#xvfb-run -s "$X_PARAMS" -n 96 ./mach reftest $TEST_PARAMS 2>&1 | tee $TEST_DIR/reftest$TEST_FLAVOUR
|
||||
#sleep 60
|
||||
#xvfb-run -s "$X_PARAMS" -n 97 ./mach crashtest $TEST_PARAMS 2>&1 | tee $TEST_DIR/crashtest$TEST_FLAVOUR
|
||||
#sleep 60
|
||||
#export DISPLAY=:0
|
||||
#./mach mochitest dom/base/test/ $MOCHITEST_PARAMS $TEST_PARAMS 2>&1 | tee $TEST_DIR/mochitest$TEST_FLAVOUR
|
||||
export DISPLAY=:98
|
||||
xvfb-run -s "$X_PARAMS" -n 98 ./mach mochitest dom/base/test/ $MOCHITEST_PARAMS $TEST_PARAMS 2>&1 | tee $TEST_DIR/mochitest$TEST_FLAVOUR
|
||||
|
||||
rm -f objdir/dist/bin/certutil
|
||||
rm -f objdir/dist/bin/pk12util
|
||||
59
run-wayland-compositor
Executable file
59
run-wayland-compositor
Executable file
|
|
@ -0,0 +1,59 @@
|
|||
#!/usr/bin/bash
|
||||
# Run wayland compositor and set WAYLAND_DISPLAY env variable
|
||||
|
||||
set -x
|
||||
|
||||
echo export DESKTOP_SESSION=gnome > $HOME/.xsessionrc
|
||||
echo export XDG_CURRENT_DESKTOP=GNOME > $HOME/.xsessionrc
|
||||
echo export XDG_SESSION_TYPE=wayland >> $HOME/.xsessionrc
|
||||
|
||||
# Turn off the screen saver and screen locking
|
||||
gsettings set org.gnome.desktop.screensaver idle-activation-enabled false
|
||||
gsettings set org.gnome.desktop.screensaver lock-enabled false
|
||||
gsettings set org.gnome.desktop.screensaver lock-delay 3600
|
||||
|
||||
# Disable the screen saver
|
||||
# This starts the gnome-keyring-daemon with an unlocked login keyring. libsecret uses this to
|
||||
# store secrets. Firefox uses libsecret to store a key that protects sensitive information like
|
||||
# credit card numbers.
|
||||
if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
|
||||
# if not found, launch a new one
|
||||
eval `dbus-launch --sh-syntax`
|
||||
fi
|
||||
|
||||
if [ -z "$XDG_RUNTIME_DIR" ]; then
|
||||
export XDG_RUNTIME_DIR=$HOME
|
||||
fi
|
||||
|
||||
export WAYLAND_DISPLAY=firefox-pgo-wayland-0
|
||||
if [ -S "$XDG_RUNTIME_DIR/$WAYLAND_DISPLAY" ]; then
|
||||
rm -f $XDG_RUNTIME_DIR/$WAYLAND_DISPLAY
|
||||
rm -f $XDG_RUNTIME_DIR/$WAYLAND_DISPLAY.lock
|
||||
fi
|
||||
|
||||
echo "Launch mutter for $WAYLAND_DISPLAY"
|
||||
mutter --headless --virtual-monitor 1920x1080 --wayland-display=$WAYLAND_DISPLAY --no-x11 & MUTTER_PID=$!
|
||||
export MUTTER_PID
|
||||
echo "Mutter PID $MUTTER_PID"
|
||||
|
||||
echo "Waiting for mutter to start..."
|
||||
sleep 5
|
||||
retry_count=0
|
||||
max_retries=5
|
||||
until [ $retry_count -gt $max_retries ]; do
|
||||
if [ -S "$XDG_RUNTIME_DIR/$WAYLAND_DISPLAY" ]; then
|
||||
retry_count=$(($max_retries + 1))
|
||||
else
|
||||
retry_count=$(($retry_count + 1))
|
||||
echo "Waiting for Mutter, retry: $retry_count"
|
||||
sleep 2
|
||||
fi
|
||||
done
|
||||
|
||||
if [ ! -S "$XDG_RUNTIME_DIR/$WAYLAND_DISPLAY" ]; then
|
||||
echo "Mutter failed to start!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "Mutter is running, $XDG_RUNTIME_DIR/$WAYLAND_DISPLAY is here."
|
||||
|
||||
10
sources
10
sources
|
|
@ -1,3 +1,7 @@
|
|||
SHA512 (cbindgen-vendor.tar.xz) = 88afa0bc6af525cbb46bc75578b90419b28b95b396d5002fbf299a78a173681b840096ff83ef6e48553d1a5e0aa04e79383ab4d09bf431f3b864fcbacc7de46d
|
||||
SHA512 (firefox-71.0.source.tar.xz) = 2559bf4703a79a258c6c257d8a2c6b1bc05bb062c13004dc5d5352020fbdd68448bc1d7a2fae34e51f9a9bda576ae2f3118fd99cdad910dd29ef56739c1b8244
|
||||
SHA512 (firefox-langpacks-71.0-20191126.tar.xz) = d3f465a988951dcf8b80766934f140b4e8f12c168702d2badea1fdaab36a7d67fcddb2b9d413ce50d28b25ec8fce7b237e308d5f675cd4254766e628f988460c
|
||||
SHA512 (mochitest-python.tar.gz) = 089b1593068b76f4572af0086eaccf52a6a1299bfffb58593206d19bf021ae381f2380bbfeb4371586cd53706ff6dde3d240238b2caf19b96c57dfc2f4524e36
|
||||
SHA512 (dump_syms-vendor.tar.xz) = ee0ea52aac781b8dd48936a3d13b140bd725a48cc488d23693b68edbe3bcfba5723022dba3c3849d0da1bacf0e37ddd307cfc56304159f91b71495ce8a08b54a
|
||||
SHA512 (wasi-sdk-25.tar.gz) = 1285981d26aa5eff27f08ed4b409909639ddcd62c94ee0cff7093ef68722f4b024c099ca3aa3ab50411e9aace13b86f1f30c5e08a3fc58b6a46b87369d6904aa
|
||||
SHA512 (wasm-component-ld-vendor.tar.xz) = 707d942d31455ae0a4f68bf419fb09a20407b6747f831ca554dcd00925b7ea98ef4d03a8652b6d2ae54cf48d7ad15d85aa7eb8d0778ef66b89593eaa8b5c3465
|
||||
SHA512 (cbindgen-vendor.tar.xz) = bea420e66bdd1c7c944655dd3e01abd6e7d6ac4b245c7ee190f31d800f7786f21e5cae11715b479bf795f4369d18c40dc12df19e0b643664f2f78e5c8a681415
|
||||
SHA512 (firefox-langpacks-147.0-20260106.tar.xz) = 4006c6e8dda8722509c1d1756807373d431d75b20d5a0c3f19e72a2a0dc76df62b15ef871e3fff2d30b2682e6a56b4a4541d8445ea1b83641559a3270e0057b7
|
||||
SHA512 (firefox-147.0.source.tar.xz) = ac9017b1a2da7b2f139392c394c36341fd3476e3d4ea1a3c7e5e7bf100dc30d185132ef9256be7e6b0f9dbfc69234ac571ea1fc6db9d84543b15772f4ec85161
|
||||
|
|
|
|||
35
wasi.patch
Normal file
35
wasi.patch
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
diff -up firefox-134.0.1/toolkit/moz.configure.wasi firefox-134.0.1/toolkit/moz.configure
|
||||
--- firefox-134.0.1/toolkit/moz.configure.wasi 2025-01-13 14:46:04.000000000 +0100
|
||||
+++ firefox-134.0.1/toolkit/moz.configure 2025-01-17 08:39:38.870092763 +0100
|
||||
@@ -2767,7 +2776,7 @@ with only_when(requires_wasm_sandboxing
|
||||
def wasi_sysroot_flags(wasi_sysroot):
|
||||
if wasi_sysroot:
|
||||
log.info("Using wasi sysroot in %s", wasi_sysroot)
|
||||
- return ["--sysroot=%s" % wasi_sysroot]
|
||||
+ return ["--sysroot=%s" % wasi_sysroot, "-nodefaultlibs", "-lc", "-lwasi-emulated-process-clocks", "-lc++", "-lc++abi", "/raid/CVS/firefox/firefox-147.0-build/firefox-147.0/wasi-sdk-25/build/sysroot/install/wasi-resource-dir/lib/wasi/libclang_rt.builtins-wasm32.a"]
|
||||
return []
|
||||
|
||||
set_config("WASI_SYSROOT", wasi_sysroot)
|
||||
diff -up firefox-134.0.1/wasi-sdk-25/cmake/wasi-sdk-toolchain.cmake.wasi firefox-134.0.1/wasi-sdk-25/cmake/wasi-sdk-toolchain.cmake
|
||||
--- firefox-134.0.1/wasi-sdk-25/cmake/wasi-sdk-toolchain.cmake.wasi 2025-01-17 08:40:23.004159900 +0100
|
||||
+++ firefox-134.0.1/wasi-sdk-25/cmake/wasi-sdk-toolchain.cmake 2025-01-17 08:40:35.478178790 +0100
|
||||
@@ -126,7 +126,7 @@ endif()
|
||||
add_custom_command(
|
||||
OUTPUT ${wasm_component_ld}
|
||||
COMMAND
|
||||
- cargo install --root ${wasm_component_ld_root} ${rust_target_flag}
|
||||
+ cargo install --offline --root ${wasm_component_ld_root} ${rust_target_flag}
|
||||
wasm-component-ld@${wasm_component_ld_version}
|
||||
COMMAND
|
||||
cmake -E make_directory ${wasi_tmp_install}/bin
|
||||
diff -up firefox-134.0.2/wasi-sdk-25/version.py.wasi firefox-134.0.2/wasi-sdk-25/version.py
|
||||
--- firefox-134.0.2/wasi-sdk-25/version.py.wasi 2025-01-16 08:03:26.042654800 +0100
|
||||
+++ firefox-134.0.2/wasi-sdk-25/version.py 2025-01-22 14:08:34.563909971 +0100
|
||||
@@ -60,6 +60,7 @@ assert parse_git_version(
|
||||
|
||||
|
||||
def git_version():
|
||||
+ return 25
|
||||
version = exec(['git', 'describe', '--long', '--candidates=999',
|
||||
'--match=wasi-sdk-*', '--dirty=+m', f'--abbrev={GIT_REF_LEN}'],
|
||||
os.path.dirname(sys.argv[0]))
|
||||
35
wasi.patch.template
Normal file
35
wasi.patch.template
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
diff -up firefox-134.0.1/toolkit/moz.configure.wasi firefox-134.0.1/toolkit/moz.configure
|
||||
--- firefox-134.0.1/toolkit/moz.configure.wasi 2025-01-13 14:46:04.000000000 +0100
|
||||
+++ firefox-134.0.1/toolkit/moz.configure 2025-01-17 08:39:38.870092763 +0100
|
||||
@@ -2767,7 +2776,7 @@ with only_when(requires_wasm_sandboxing
|
||||
def wasi_sysroot_flags(wasi_sysroot):
|
||||
if wasi_sysroot:
|
||||
log.info("Using wasi sysroot in %s", wasi_sysroot)
|
||||
- return ["--sysroot=%s" % wasi_sysroot]
|
||||
+ return ["--sysroot=%s" % wasi_sysroot, "-nodefaultlibs", "-lc", "-lwasi-emulated-process-clocks", "-lc++", "-lc++abi", "LIBCLANG_RT_PLACEHOLDER"]
|
||||
return []
|
||||
|
||||
set_config("WASI_SYSROOT", wasi_sysroot)
|
||||
diff -up firefox-134.0.1/wasi-sdk-25/cmake/wasi-sdk-toolchain.cmake.wasi firefox-134.0.1/wasi-sdk-25/cmake/wasi-sdk-toolchain.cmake
|
||||
--- firefox-134.0.1/wasi-sdk-25/cmake/wasi-sdk-toolchain.cmake.wasi 2025-01-17 08:40:23.004159900 +0100
|
||||
+++ firefox-134.0.1/wasi-sdk-25/cmake/wasi-sdk-toolchain.cmake 2025-01-17 08:40:35.478178790 +0100
|
||||
@@ -126,7 +126,7 @@ endif()
|
||||
add_custom_command(
|
||||
OUTPUT ${wasm_component_ld}
|
||||
COMMAND
|
||||
- cargo install --root ${wasm_component_ld_root} ${rust_target_flag}
|
||||
+ cargo install --offline --root ${wasm_component_ld_root} ${rust_target_flag}
|
||||
wasm-component-ld@${wasm_component_ld_version}
|
||||
COMMAND
|
||||
cmake -E make_directory ${wasi_tmp_install}/bin
|
||||
diff -up firefox-134.0.2/wasi-sdk-25/version.py.wasi firefox-134.0.2/wasi-sdk-25/version.py
|
||||
--- firefox-134.0.2/wasi-sdk-25/version.py.wasi 2025-01-16 08:03:26.042654800 +0100
|
||||
+++ firefox-134.0.2/wasi-sdk-25/version.py 2025-01-22 14:08:34.563909971 +0100
|
||||
@@ -60,6 +60,7 @@ assert parse_git_version(
|
||||
|
||||
|
||||
def git_version():
|
||||
+ return 25
|
||||
version = exec(['git', 'describe', '--long', '--candidates=999',
|
||||
'--match=wasi-sdk-*', '--dirty=+m', f'--abbrev={GIT_REF_LEN}'],
|
||||
os.path.dirname(sys.argv[0]))
|
||||
Loading…
Add table
Add a link
Reference in a new issue