Olivier Certner
24391cb707
Issue #1699 - Part 3c: mozjemalloc: FreeBSD: Ensure early initialization
...
This guarantees that initialization is done in a single-thread context.
2021-01-08 17:40:55 +08:00
Olivier Certner
b7e6f5fd45
Issue #1699 - Part 3b: mozjemalloc: Bootstrap allocator, early diversion for FreeBSD
...
Coded a simple memory allocator meant to be used during jemalloc bootstrap
(malloc_init_hard()). Although protected by "#ifdef __FreeBSD__", it is not
FreeBSD-specific: Any POSIX platform could use it.
Hook it so that it is used in place of jemalloc's own routines while
malloc_init_hard() is executing or memory for mutexes is being
allocated. Currently, 'malloc', 'calloc', '*memalign' and 'free' are diverted
during init or lock initializations.
Details are quite complex, see the big comment block starting with "There are
several problematic interactions between FreeBSD's libthr and this jemalloc."
for more explanations.
Also replaced ad-hoc BSD code to determine the number of CPUs with 'sysconf',
which is POSIX-compliant (and supported on modern BSDs).
2021-01-08 17:40:53 +08:00
Olivier Certner
208a992fe9
Issue #1699 - Part 2: libevent: Remove 'evutil_secure_rng_add_bytes'
...
In fact, this is a security threat.
This function calls 'arc4random_addrandom', which was removed from the
reference implementation 7 years go [1], on the ground that this was in fact an
internal interface which is almost impossible to use correctly. This update has
since then been propagated to other implementations (e.g., FreeBSD, IllumOS,
Android).
Do this for all platforms, since 'evutil_secure_rng_add_bytes' is not even used
in the current tree, and for the reason stated above, should never be.
Related bugs at Mozilla and libevent: Links [2] and [3] below.
[1] http://marc.info/?l=openbsd-cvs&m=138238762705209&w=2
[2] https://bugzilla.mozilla.org/show_bug.cgi?id=931354
[3] https://sourceforge.net/p/levent/bugs/320/
2021-01-08 17:40:51 +08:00
Olivier Certner
729af0b142
Issue #1699 - Part 1: python/psutil: Support recent FreeBSD versions
...
'sysctl' interface to currently opened connections changed in FreeBSD 12.
Drop support for FreeBSD < 9, these are very old and unsupported versions.
2021-01-08 17:40:50 +08:00
roytam1
3c0bcc8d63
Merge remote-tracking branch 'origin/master' into custom
2021-01-06 14:28:08 +08:00
roytam1
9e44385e57
palemoon: remove non-existant files in package manifest
2021-01-06 14:27:33 +08:00
Moonchild
926243b406
[Basilisk] Update comment.
2021-01-06 13:25:43 +08:00
Moonchild
2e38cc1da9
[Basilisk] Update about box link to point to rpmo.
2021-01-06 13:25:23 +08:00
roytam1
a9f63c3e7d
Merge remote-tracking branch 'origin/master' into custom
2021-01-01 10:04:05 +08:00
Moonchild
04df8ca786
[Pale-Moon] [SSUAO] Add netteller to UA overrides.
...
See: https://forum.palemoon.org/viewtopic.php?f=70&t=25906
2021-01-01 10:03:06 +08:00
Moonchild
89823dc87b
Issue #1053 - Part 2b: Remove android from /layout reftests
...
Also cleans up some other obsolete checks and stylo reftest lists.
2021-01-01 10:02:18 +08:00
Moonchild
787b0a52a3
Issue #1053 - Part 3b: Remove AndroidSurfaceTexture and Android media decoder
...
interface.
2021-01-01 10:01:11 +08:00
Moonchild
753251e54c
Issue #1053 - Part 3a: Remove Android conditionals from /gfx
2021-01-01 10:01:09 +08:00
Moonchild
7167c960d0
Issue #1053 - Part 2a: Remove android from /layout (partial)
...
This removes android code from base, build, forms, generic, inspector, style,
printing, tools and xul.
2021-01-01 10:01:05 +08:00
Moonchild
b21588597c
Issue #1053 - Part 1c: Remove references to mobile/android targets and paths
2021-01-01 09:59:58 +08:00
roytam1
c082741e8a
import changes from mozilla nss repo:
...
- Bug 1682863 - Revert nssSlot_IsTokenPresent to 3.58 after ongoing Fx hangs with slow PKCS11 devices. r=bbeurdouche
- Bug 1680400 - Fix memory leak in PK11_UnwrapPrivKey. r=bbeurdouche
2020-12-30 08:33:37 +08:00
roytam1
73279b4a8d
Merge remote-tracking branch 'origin/master' into custom
2020-12-26 07:05:51 +08:00
Moonchild
659441da45
Issue #1681 - Hard-code FLAC media type association for .flac
...
We don't support AAC outside of OMX at the moment, so oops.
2020-12-26 06:58:05 +08:00
roytam1
4348f3ba45
Merge remote-tracking branch 'origin/master' into custom
2020-12-24 09:37:20 +08:00
Moonchild
aa38ed97fa
Issue #1701 - Implement Intl.PluralRules API
2020-12-24 09:36:34 +08:00
Moonchild
fc1f95edc4
Issue #1700 - Apply background color instead of inset shadow for findbar input.
...
This changes the toolkit theme for Linux and Windows (Mac already did this) to
style the input textbox on the findbar with -moz-appearance:none so as to give
us styling control (as opposed to using a native widget style) and apply a
neutral style to it.
Also ensures Mac remains readable in case of poorly contrasting text.
2020-12-24 09:36:32 +08:00
roytam1
e075f1b671
Merge remote-tracking branch 'origin/master' into custom
2020-12-21 15:13:46 +08:00
Moonchild
8e43c8250c
Revert "Issue #1686 - Align a keybinding definition with the others"
...
This reverts commit 85dc118aaca8446cbe33671446ac23147daec44c.
2020-12-21 15:12:24 +08:00
adesh
942b305400
Issue #1697 - Reinstate the performance timing code removed in error.
...
This was a fallout from pull request #929 .
2020-12-21 15:11:57 +08:00
Moonchild
9f0067af53
Issue #1695 - Restore Sleep/Wake timer that was erroneously removed.
...
This was fallout from PR #929 for Issue #21
2020-12-21 15:11:48 +08:00
Moonchild
ef3947ea75
[toolkit] Handle corner case confusion of downloaded files without extension.
...
See code comment for details.
2020-12-21 15:11:41 +08:00
Moonchild
873a58c4d5
Issue #1696 - Propagate flex sizes to the table wrapper
...
This avoids overlapping of table styled elements inside flexboxes as used on
some websites.
Resolves #1696
2020-12-21 15:10:41 +08:00
Moonchild
f1eb2c5cfb
[network] Update port blacklist.
...
See BZ bugs 1674735, 1677047, 1677940 and 1676868 for details.
2020-12-21 15:10:29 +08:00
Moonchild
48f962a66f
[Pale-Moon] Issue #1854 - Account for users disabling off-line and memory caching.
...
Resolves #1854
2020-12-21 15:07:44 +08:00
Moonchild
76fca5f990
[Basilisk] Issue #31 - Part 4: Use nsIScriptableDateFormat in cookie preferences.
2020-12-21 15:04:03 +08:00
Moonchild
443bc25ce0
[Basilisk] Issue #31 - Part 3: Use nsIScriptableDateFormat in places library window.
2020-12-21 15:03:49 +08:00
Moonchild
ad9127aad4
[Basilisk] Issue #31 - Part 2: Use nsIScriptableDateFormat in feeds.
2020-12-21 15:03:34 +08:00
Moonchild
b1d1a02c6c
[Basilisk] Issue #31 - Part 1: Use nsIScriptableDateFormat in Page Info.
2020-12-21 15:03:07 +08:00
Moonchild
ec96755589
Issue #1694 - Part 2: Use scriptabledateformat for Update History display.
2020-12-21 14:57:57 +08:00
Moonchild
b6354a7a37
Issue #1694 - Part 1: Use scriptabledateformat for the Cookie Accept dialog.
2020-12-21 14:57:56 +08:00
roytam1
0f5904acc6
Merge remote-tracking branch 'origin/master' into custom
2020-12-12 00:15:44 +08:00
Moonchild
de6b427be4
Revert "Issue #1391 - Disable DOM Filesystem/dirpicker APIs by default."
...
This reverts commit 45a976a5f1e83c3c2f7fcf85b1fa5315946f4c1a.
2020-12-10 10:31:45 +08:00
Moonchild
f04f4a996f
Issue #1695 - Fix socket timeout logic.
2020-12-10 10:31:43 +08:00
roytam1
10126898e3
Merge remote-tracking branch 'origin/master' into custom
2020-12-04 08:53:18 +08:00
Moonchild
0f4c395865
Issue #1624 - flip the inlining pref.
...
The default is now set to the more stable but slower global setting.
2020-12-04 08:52:52 +08:00
Moonchild
fe5097e7ed
Nuke erroneously added vim line.
2020-12-04 08:52:50 +08:00
Moonchild
ec0865128b
Issue #1624 - Make ion inlining optimizations a pref.
...
This also adds it to JS_SetGlobalJitCompilerOption()
2020-12-04 08:52:49 +08:00
roytam1
ecf2071a46
import changes from mozilla nss repo:
...
- Bug 1641480, TLS 1.3: tighten CCS handling in compatibility mode, r=mt
- Bug 1672703, always tolerate the first CCS in TLS 1.3, r=mt
- Bug 1663661 - Guard against NULL token in nssSlot_IsTokenPresent. r=jcj
- Bug 1607449 - Lock cert->nssCertificate to prevent data race. r=jcj,keeler
- Bug 1679290 - Don't hold slot lock when taking session lock r=bbeurdouche
2020-12-02 10:52:47 +08:00
roytam1
ee3eabdb1e
sync NSS builtin cert store up to mozilla nss hg rev f8c49b33:
...
- Bug 1670769 - Remove 10 GeoTrust, thawte, and VeriSign root certs from NSS. r=kjacobs,KathleenWilson
- Bug 1678166 - Add NAVER Global Root Certification Authority root cert to NSS. r=bbeurdouche,KathleenWilson
- Bug 1678189 - December 2020 batch of root changes, NSS_BUILTINS_LIBRARY_VERSION 2.46. r=bbeurdouche
2020-12-02 10:04:43 +08:00
roytam1
ee11f1749b
Merge remote-tracking branch 'origin/master' into custom
2020-12-02 09:58:28 +08:00
Moonchild
d8fdbcd88c
[NSS] Version and build bump
2020-12-02 09:57:49 +08:00
Moonchild
b71804f4a3
[NSS] Update root certificates.
2020-12-02 09:57:48 +08:00
Moonchild
7996b9e2cf
Issue #1624 - Globally disable inlining optimizations in the JS JIT compiler.
2020-12-02 09:57:31 +08:00
Brian Smith
0ccf8dfa99
Issue #1690 - Part 2: Update MacOS Blocklist support from 10.13 to 11.0.
...
Changes based on Mozilla bug 1678061.
2020-12-02 09:57:29 +08:00
Brian Smith
e4030ad075
Issue #1690 - Part 1: Fix MacOS version detection above 10.15.
...
Changes based on Mozilla bug 1616404 but supporting back to 10.7.
2020-12-02 09:57:28 +08:00