Commit graph

1,697 commits

Author SHA1 Message Date
wolfbeast
30c9cb19c4 Update installer strings for Pale Moon to match toolkit nsis installer.
This resolves #735
2019-02-16 00:12:10 +08:00
JustOff
16820f40ac Refresh nsStringBundleService and nsHttpHandler when the browser locale is changed 2019-02-16 00:12:09 +08:00
wolfbeast
a7ef78cf06 Add missing } 2019-02-16 00:12:06 +08:00
wolfbeast
91c79f2202 Switch to using a single memory allocation arena 2019-02-16 00:12:05 +08:00
wolfbeast
4932cf3ea0 Add a horizontal scroll action option for mouse wheel.
Resolves #732
2019-02-16 00:12:03 +08:00
wolfbeast
adca8376ea Introduce ui.menu.allow_content_scroll
When true, overrides the OS convention to prevent scrolling of content when contextual menus are open.
This resolves #730.
2019-02-16 00:12:02 +08:00
JustOff
1b447a979b [PALEMOON] Fix document navigation using F6 2019-02-16 00:12:00 +08:00
wolfbeast
8e6c0a852f Stop pointless recording of telemetry data
Also clear the telemetry URLs and metas "just in case" so nothing can go anywhere even in the case of PEBCAK.
2019-02-16 00:11:59 +08:00
wolfbeast
a9ff65e05a Fix code of conduct version ref link. 2019-02-16 00:11:57 +08:00
JustOff
ecd8ed3f6a Explicitly specify parentheses in a mixed boolean expression in ShouldAddToSessionHistory() 2019-02-16 00:11:56 +08:00
JustOff
c402ee2148 Use "browser.newtabpage.add_to_session_history" to decide whether to store "about:newtab" in the session history 2019-02-16 00:11:54 +08:00
JustOff
a4755ad177 Update ShouldAddToSessionHistory() rules for "about:newtab" and "about:logopage" 2019-02-16 00:11:52 +08:00
Gaming4JC
1c7dbcfb7c Basilisk: Fix locale error on migration.xul on Linux 2019-02-16 00:11:51 +08:00
wolfbeast
539d6c8c4a Pale Moon blocklist update 2019-02-16 00:11:50 +08:00
wolfbeast
521e7b79bf Fix toolbar styling in non-Australis toolkit themes part 2
Fix jar manifests.

This resolves #713
2019-02-16 00:11:48 +08:00
wolfbeast
4db9b4b2bb Fix toolbar styling in non-Australis toolkit themes
This resolves #713
2019-02-16 00:11:47 +08:00
trav90
3211cce891 Remove unused variable 2019-02-16 00:11:45 +08:00
wolfbeast
9531d12c10 Re-implement custom background color of standalone images.
This resolves #717.

Note: this does not affect other applications because the platform
default is to use the "darknoise" background image for standalone
image, which effectively overrides a bg color.
2019-02-16 00:11:44 +08:00
wolfbeast
3b27dfb5e3 Remove TelemetryStopwatch module.
Tag #21
2019-02-16 00:11:42 +08:00
wolfbeast
0fba367fef Remove TelemetryStopwatch call sites from mobile components.
Tag #21
2019-02-16 00:11:40 +08:00
wolfbeast
e3a9020c5d Remove TelemetryStopwatch call sites from toolkit components.
Tag #21
2019-02-16 00:11:38 +08:00
trav90
2fabd9fa1b Avoid using memset on a not-trivial type like ServoSizes 2019-02-16 00:11:36 +08:00
trav90
37959f9945 Avoid using memset on a not-trivial type like TabSizes 2019-02-16 00:11:35 +08:00
trav90
6b97ee8cab Avoid doing a memset on a non-POD structure
|entryCount| tracks -- in fast-to-check manner -- the number of entries in the hashtable.  But to actually enumerate entries, we have to loop through all of |table|, checking for entries that are actually live.  A live entry is indicated by a zero |hash| in the entry.  The |memset| would properly zero that; removing the memset will not.

It's not entirely clear whether a memset that overwrites a lot of stuff but is maybe simpler, is faster than compiler-generated likely-SIMD code that zeroes out *just* |hash| fields in all the entries.  But I am going to guess that SIMD is good enough.  For now, we should just do the simple and thing: don't distinguish POD and non-POD, and know that the compiler is going to recognize that |mem.addr()->~T()| is a no-op when T is trivial.  So with POD, the loop should degenerate to just zeroing |hash| at consistent offset, and SIMD will eat that up, and it can't be *that* different from the memset in performance (if it is at all).
2019-02-16 00:11:33 +08:00
trav90
bfdfd654bf memset only the underlying vector from the Array container 2019-02-16 00:11:32 +08:00
trav90
eb09900afe Avoid using memset on a not-trivial type like nsTabSizes
nsTabSizes is non-trivial only because of the user-defined constructor.  The idea desired here is certainly to zero all the members without listing them -- but the very act of doing so with a user-defined constructor, makes the idea impossible.

Arguably this is something that is permissible in the language, and that the warning should be tailored to permit.  I don't think this falls afoul of any of the issues flagged in https://gcc.gnu.org/ml/gcc-patches/2017-06/msg01527.html for example.  In the meantime, just explicitly zeroing the three member fields is easy and fixes the warnings.
2019-02-16 00:11:30 +08:00
Gaming4JC
4c5dd3bcf8 Basilisk: Remove TelemetryStopwatch 2019-02-16 00:11:29 +08:00
JustOff
8ad5a057d1 [PALEMOON] Align viewPartialSource with the UXP codebase 2019-02-16 00:11:27 +08:00
wolfbeast
4debc9246e Fix missed in32->int64 in df852120098dc7ba5df4a76126c6297c6d2d1b7b
Tag #709.
2019-02-16 00:11:26 +08:00
wolfbeast
8effb3030e Reinstate RC4 and mark 3DES weak.
Tag #709
2019-02-16 00:11:24 +08:00
wolfbeast
7f72783c00 Extend {EnabledWeakCiphers} bit field to allow more cipher suites.
Tag #709.
2019-02-16 00:11:23 +08:00
wicknix
c8107c9c8e Add files via upload
remove old mac firefox icns files and replace with basilisk icns files
2019-02-16 00:11:21 +08:00
wicknix
ddbf4f4cb8 Update Info.plist.in
fix exe name and min osx version
2019-02-16 00:11:20 +08:00
Moonchild
42f93cd2f0 Update CODE_OF_CONDUCT.md
Minor style improvement
2019-02-16 00:11:18 +08:00
wolfbeast
4788f8e407 Move Code of Conduct to where it belongs.
(Damn you, github on-line editor!)
2019-02-16 00:11:17 +08:00
Moonchild
4db8c6ebf1 Add Code of Conduct for contributors.
As a recommended document for governance of our project and community.
2019-02-16 00:11:15 +08:00
NTD
ebd11f4040 Do not try and include devtools shared l10n when devtools is not built 2019-02-16 00:11:14 +08:00
wolfbeast
11eb7d04b8 Enforce NSS 3.38 for people who still insist on using system NSS. 2019-02-16 00:11:11 +08:00
wolfbeast
d36d4eb674 Update NSS to 3.38
- Added HACL*Poly1305 32-bit (INRIA/Microsoft)
- Updated to final TLS 1.3 draft version (28)
- Removed TLS 1.3 prerelease draft limit check
- Removed NPN code
- Enabled dev/urandom-only RNG on Linux with NSS_SEED_ONLY_DEV_URANDOM for non-standard environments
- Fixed several bugs with TLS 1.3 negotiation
- Updated internal certificate store
- Added support for the TLS Record Size Limit Extension.
- Fixed CVE-2018-0495
- Various security fixes in the ASN.1 code.
2019-02-16 00:11:10 +08:00
wolfbeast
0d5d154158 Set version for normal unstable channel use. 2019-02-16 00:11:08 +08:00
trav90
4f91b109d0 Simplify HeapSlot to make it trivially copyable
This removes the constructors, which were never called since we allocate arrays of HeapSlot with pod_malloc. The destructor is only ever called explicitly since we free this memory with js_free so it has been renamed to destroy(). Also removed is an unused manual barrier.
2019-02-16 00:11:06 +08:00
trav90
413f205479 Avoid using memcpy on HeapSlot that is not trivially copyable. 2019-02-16 00:11:05 +08:00
trav90
8fd121628a Remove the const to fix the -Wignored-qualifiers warning with GCC 8 (Part 2) 2019-02-16 00:11:03 +08:00
trav90
c8cdcbc5a7 Fix a warning with GCC 8: unnecessary parentheses in declaration of 'type name' 2019-02-16 00:11:02 +08:00
trav90
8c17dc77d0 Disable -Werror on -Wmultistatement-macros
Silences compiler warning spam with GCC 8.
2019-02-16 00:11:00 +08:00
trav90
a52bf9e82b Remove the const to fix the -Wignored-qualifiers warning with GCC 8 2019-02-16 00:10:59 +08:00
trav90
d8a8aafc2c Initialize mVersion to silence a warning with GCC 8 2019-02-16 00:10:57 +08:00
trav90
6fe56d9f39 js::atomics_wait: Remove unnecessary parentheses in declaration of 'addr'
Silences a warning with GCC 8.
2019-02-16 00:10:55 +08:00
trav90
cfdaeb9645 Shell quote environment variable values when dumping them in dump_env.py
The mozconfig output parsing code already (mostly) handles shell quoted strings, because that's what `set` outputs. By quoting environment variable values, we avoid a bunch of problems with "weird" values.
2019-02-16 00:10:53 +08:00
NTD
37bb4f9108 Fix include path 2019-02-16 00:10:51 +08:00