Moonchild
e6b9d9cbea
Issue #1624 - Add missing error handling and bail on null specifier.
2020-11-28 10:17:43 +00:00
Moonchild
b863bd2edc
Issue #1684 - Move global user-agent override to networking component.
...
Since this is a http protocol networking feature, it belongs in the networking
branch of our preferences.
2020-11-27 12:58:02 +00:00
Matt A. Tobin
a8a397fbce
Issue #1676 - Follow-up: Put js/src (including vm), jit, and wasm back into unified sources.
...
Function template inflation in intermediate code. The linker problem we hit with the corrupt file was because there were too many function descriptors and relation in the .lib
2020-11-20 12:37:11 -05:00
Moonchild
a89597b5db
[webrtc] Only init WebRtcAec callbacks once
2020-11-19 22:32:24 +00:00
Moonchild
074d194776
Merge pull request 'Align a keybinding definition with the others' ( #1687 ) from vannilla/UXP:align-key-definition into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1687
2020-11-19 20:40:43 +00:00
Werner Lemberg
76d62cfc38
[sfnt] Fix heap buffer overflow.
...
This is CVE-2020-15999.
* src/sfnt/pngshim.c (Load_SBit_Png): Test bitmap size earlier.
2020-11-19 19:18:32 +00:00
Henri Sivonen
eefaee9064
[dom] Remove attributes from descendants when setting sanitized style.
...
This avoids a number of problems with incomplete sanitation.
2020-11-19 19:06:03 +00:00
Moonchild
1864bbec2a
[http] Use a copy of nsHttpConnectionInfo.
...
The root cause in this bug is that the connection info used by
'SpdyConnectTransaction' is the same instance as the connection info in
'nsHttpTransaction', so we should clone it and let 'SpdyConnectTransaction' use
the cloned one.
2020-11-19 18:19:29 +00:00
Moonchild
5771487106
Merge pull request 'Resolve various issues on Big Sur' ( #1685 ) from dbsoft/UXP:master into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1685
2020-11-19 18:03:34 +00:00
Moonchild
887fface56
[xpcom] Don't use realloc for shrinking nsTArrays when allowRealloc is false.
...
The original patch handled the grow case but not the shrink case. When the
current and new allocation sizes are in different size classes, jemalloc's
realloc will move the allocation when shrinking, not just truncate the existing
one.
Based on work by Jon Coppeard.
2020-11-19 17:48:59 +00:00
Henri Sivonen
4782e8dfa2
[parser] Make the refcount of nsHtml5OwningUTF16Buffer atomic.
2020-11-18 23:28:27 +00:00
David Major
bd061ac043
[xpcom] Fix GetWindowsFolder storage
2020-11-18 22:21:22 +00:00
Moonchild
31a64578e2
[gfx][Skia] Hold mutex while accessing shared SkImage data.
2020-11-18 22:06:11 +00:00
Alessio Vanni
85dc118aac
Issue #1686 - Align a keybinding definition with the others
2020-11-18 21:57:00 +01:00
Brian Smith
2f3cf3c8cf
Issue #1667 - Part 3: Fix OpenGL load and runtime issues on Big Sur
...
This fix is included in NSPR 4.27 and Mozilla bug 1652330.
Also put a main thread check in the cocoa draw callback.
2020-11-17 06:52:06 -06:00
Matt A. Tobin
241f06bc53
Merge pull request 'Get rid of HPKP pinning mode leftovers' ( #1680 ) from adesh/UXP:cleanup-hpkp-pinning-mode into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1680
2020-11-16 17:54:58 +00:00
Matt A. Tobin
ecb827c5c4
Issue #251 - Move chrome packaging options to ac configure
...
Also adds options for new functionality in #1683
2020-11-16 12:47:54 -05:00
Brian Smith
fa5aba4c0f
Issue #1667 - Part 2: Add MacOS 11.0 Big Sur widget compatibility
...
This involves refactoring the vibrancy and OpenGL/Pixel rendering changes contained
in the following Mozilla meta bugs: 1496823 and 1491445
Also add Big Sur to the features tests and update popup menu look and feel based
on Mozilla bug 1656301.
2020-11-16 07:23:44 -06:00
Brian Smith
b6d909ad17
Issue #1667 - Part 1: Define _pthread_self if it is not already defined in jemalloc
2020-11-16 07:15:29 -06:00
Moonchild
6bc5748b00
[UA] Change default compatibility mode version to 68.0
...
Since several entities have started to ban .9 versions, even if they are valid
ESR versions.
2020-11-16 11:38:02 +00:00
Moonchild
3abb8e28ad
Revert "Issue #1684 - Remove global UA override preference and supporting code."
...
This reverts commit 18df01eb54 .
Backed out for devtools breakage.
2020-11-15 23:11:24 +00:00
Moonchild
18df01eb54
Issue #1684 - Remove global UA override preference and supporting code.
...
Resolves #1684
2020-11-15 16:24:47 +00:00
Moonchild
8aa9355535
Revert "[toolkit] Add optimized UI code format option"
...
This reverts commit 511ac54cab .
2020-11-15 12:49:30 +00:00
Moonchild
511ac54cab
[toolkit] Add optimized UI code format option
2020-11-14 15:41:21 +00:00
Moonchild
6d2e301d90
[packager] Optimize archive accesses.
2020-11-14 01:03:27 +00:00
Moonchild
2d8013526a
Issue #1683 - Update libjar module.
2020-11-13 16:00:06 +00:00
Moonchild
d86f49ba59
Issue #1683 - Update Brotli lib to 1.0.9
2020-11-13 15:59:29 +00:00
Moonchild
870fd86e13
[libjar] Fix inflation logic.
...
This has been broken for 11 years. About time it's fixed.
Tag #1683
2020-11-13 15:57:56 +00:00
Moonchild
13f505539c
Issue #1682 - Remove vibrator DOM interface and support code.
...
Resolves #1682
2020-11-13 13:33:08 +00:00
Moonchild
5262e01a4e
Issue #1391 - Disable DOM Filesystem/dirpicker APIs by default.
...
There don't seem to be any drawbacks to this; tested for the past month disabled
and there have been no issues with any sites visited. Adoption seems very low.
2020-11-13 10:09:36 +00:00
Moonchild
4aeaea9195
Issue #1679 - Part 2: Some small issues to address buildability.
...
- Explicitly |this| the Asserts in Cell.as<>
- Unified deprot in regexp-error.h
- Convert RegExpShared* inner() to a reinterpret_cast because for SOME reason
.as<> no longer works after the reimport (which is a static cast)
2020-11-12 11:58:39 +00:00
adesh
5ef801fdc5
Issue #1280 - Follow-up: Get rid of HPKP pinning mode.
...
This was a leftover from HPKP removal.
Also remove a couple of unused variables from security/manager/ssl/nsSiteSecurityService.cpp.
2020-11-10 23:07:22 -05:00
Matt A. Tobin
0ba1d49ae5
Issue #1679 - Part 1: First pass account for some of the refactoring differences in regexp-shim.h
...
This is the patch Moonchild committed on the aborted branch before the plan was revised.
2020-11-09 21:19:45 -05:00
Matt A. Tobin
e8a6ee355f
Bug 1466909 - Use AddLvalueReference for UniquePtr's operator*().
...
This is required for UniquePtr to accept <void>,
which is required for PseudoHandle = mozilla::UniquePtr<T, JS::FreePolicy>;
in turn for mozilla::SegmentedVector<PseudoHandle<void>> uniquePtrArena_;
Tag #1679
2020-11-09 21:12:46 -05:00
Matt A. Tobin
4694c60964
Bug 1328948 - Add is(), as() to Cell.
...
Tag #1679
2020-11-09 21:10:53 -05:00
Matt A. Tobin
74ebcea409
Issue #1677 - Part 7: Add unicode/uniset.h to check_spidermonkey_style.py for some reason
2020-11-09 20:48:11 -05:00
Matt A. Tobin
c732425e1a
Issue #1677 - Part 6: Implement NativeRegExpMacroAssembler for new regexp import based on irregexp/NativeRegExpMacroAssembler.cpp
2020-11-09 20:44:26 -05:00
Matt A. Tobin
51468e998c
Issue #1677 - Part 5: "Simplify" regexp re-import process (and re-import from later revision)
...
I am going on record to say Mozilla are utter fucking assholes for pulling this as part of their progression.
2020-11-09 20:37:05 -05:00
Matt A. Tobin
77746f1d90
Issue #1677 - Part 4: Implement shim for regexp
2020-11-09 20:26:59 -05:00
Matt A. Tobin
cb0208163f
Issue #1677 - Part 3: Create shim definitions for V8-specific code in new regexp implementation
2020-11-09 20:20:18 -05:00
Matt A. Tobin
19499014a3
Issue #1677 - Part 2: Add build files
2020-11-04 20:28:06 -05:00
Matt A. Tobin
78b3a722b4
Issue #1677 - Part 1: Import new V8 regexp code with Mozilla's header modifications
2020-11-04 20:27:57 -05:00
Matt A. Tobin
2e07199197
Merge branch 'jsbuild-work'
2020-11-04 18:55:02 -05:00
Matt A. Tobin
d2b6975eb7
Issue #1676 - Part 21: Use js-cxxflags.mozbuild in testing code and js shell
2020-11-04 16:24:38 -05:00
Matt A. Tobin
fd1b2dc2b1
Issue #1676 - Part 20: Split vtune sources out of js/src/moz.build
2020-11-04 15:03:42 -05:00
Matt A. Tobin
cdf46e803b
Issue #1676 - Part 19: Split ctypes sources out of js/src/moz.build
2020-11-04 14:59:00 -05:00
Matt A. Tobin
59511eb8dd
Issue #1676 - Part 18: Move and separate top level sources from vm sources in js/src/moz.build
2020-11-04 14:45:57 -05:00
Matt A. Tobin
ff355fe9ac
Issue #1676 - Part 17: Put remaining source files which have debug code ifdef'd behind MOZ_DEBUG
2020-11-04 14:38:12 -05:00
Matt A. Tobin
1abc696f87
Issue #1676 - Part 16: Split WASM sources out of js/src/moz.build
...
Also puts WasmBinaryIterator.cpp which is debug code ifdef'd behind MOZ_DEBUG
2020-11-04 14:31:48 -05:00
Matt A. Tobin
2f50f543a2
Issue #1676 - Part 15: Split threading sources out of js/src/moz.build
2020-11-04 14:11:22 -05:00