Commit graph

1,962 commits

Author SHA1 Message Date
Moonchild
49fc92f4a1 Bug 1357432 (#750)
* Part 1. Move IsLocalRefURL to nsContentUtils to reuse this function. (port-rewrite)

`IsLocalRefURL` is originally designed to be used by URLValue only.
Since we need this function in SVGUseElement::LookupHref too, move it to nsContentUtils as a util function.

* Revert "Part 1. Move IsLocalRefURL to nsContentUtils to reuse this function. (port-rewrite)"

This reverts commit 19f010c62022e269f99066a8d90e3522fe31adaf.

* Part 1. Duplicate IsLocalRefURL to nsContentUtils to reuse this function.

`IsLocalRefURL` is originally designed to be used by URLValue only.
Since we need this function in SVGUseElement::LookupHref too, duplicate it to nsContentUtils as a util function.
This is a duplication because CSSValue uses stringbuffers and not nsStrings.
While Bug 1356060 - "Just use nsString in URLValueData" converts this use from stringbuffer to nsString, it builds on a bunch of vartype refactoring (nsString vs. nsAString, etc.) which is too much of a headache to deal with just to deduplicate this simple function.

* Part 2. Implement nsSVGEffects::GetBaseURLForLocalRef to export local-ref-url-resolving logic.

ResolveURLUsingLocalRef is designed to be internally used by nsSVGEffects::Get-{SVGEffect}-URI functions.
Since we also need it in SVGUseElement::LookupHref, make it public in nsSVGEffects.

* Part 3. Resolve local-ref in SVGUseElement::LookupHref by nsSVGEffects::GetBaseURLForLocalRef.

* Part 4. Reftest for using local-ref as xlink:href value.
2019-02-16 00:12:35 +08:00
wolfbeast
ad782894c8 Remove all C++ telemetry autotimers 2019-02-16 00:12:34 +08:00
wolfbeast
8c8145e620 Remove all C++ Telemetry Accumulation calls.
This creates a number of stubs and leaves some surrounding code that may be irrelevant (eg. recorded time stamps, status variables).
Stub resolution/removal should be a follow-up to this.
2019-02-16 00:12:32 +08:00
wolfbeast
ac3468d5cc Add extra check for assembler buffer space. 2019-02-16 00:12:29 +08:00
trav90
0a3b3b6264 [ffvpx] Update readme
- Remove non-applicable comment about AVX2.
- Update config documentation for 32-bit darwin.
2019-02-16 00:12:27 +08:00
wolfbeast
fe9637c0f8 Remove FxA migrator.
This resolves #637
2019-02-16 00:12:25 +08:00
wolfbeast
51025a5a81 [PALEMOON] Update the taskbar preview per tab module for UXP.
- Use placesutils for favicons
- Switch to the PageThumbs service for thumbnails (like QuickDial)
- Make thumb requests asynchronous
- Update canvas handling

This resolves #731
2019-02-16 00:12:24 +08:00
wolfbeast
e2e197cada Remove support for TLS session caches in TLSServerSocket.
This resolves #738
2019-02-16 00:12:22 +08:00
wolfbeast
1bb41a8652 Revert "Switch to using a single memory allocation arena"
This reverts commit 4ceb21241eacac2911f2fed846359215870f121f.
2019-02-16 00:12:21 +08:00
wolfbeast
1524999194 Revert "Bug 1388020. r=nical, a=RyanVM"
This reverts commit e7189e33f533f9b974b22c2110b522a13bc4c7f6.
2019-02-16 00:12:19 +08:00
trav90
772715c4f4 Don't build ffvpx on 32-bit platforms (except Windows)
Our in-tree FFmpeg doesn't support optimized assembly code very well on 32-bit *nix systems, which causes performance issues during video playback.

Essentially, this commit restores the behavior from Pale Moon 27 on 32-bit Linux builds (for video playback rely on the system-installed FFmpeg packages or libvpx if FFmpeg packages can't be found).
2019-02-16 00:12:18 +08:00
wolfbeast
36a9805617 Revert "Bug 1444668 - Avoid allocating large AssemblerBuffers. r=luke, r=bbouvier, a=RyanVM"
This reverts commit 9472136272f01b858412f2d9d7854d2daa82496f.
2019-02-16 00:12:16 +08:00
wolfbeast
1d958d0390 Fix incorrect code removal in ipc.
Follow-up to a930db1c9e8444ed89754c5a79085d59c7295952
2019-02-16 00:12:15 +08:00
wolfbeast
7438687cda Sync disabled state of number control regardless of appearance. 2019-02-16 00:12:13 +08:00
trav90
450c242d9f Update HSTS preload list
Tag #447
2019-02-16 00:12:12 +08:00
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