Moonchild
5422762839
Issue #1860 - Follow-up: Fix indentation.
2022-04-19 22:10:14 +08:00
Moonchild
f039cc7ef8
Issue #1860 - Follow-up: Make sure we don't add duplicate frames
...
Changing to vector makes manipulating display list items more risky.
This is to make sure we don't inadvertently end up with duplicates in
the list of display items avoiding double-free scenarios.
2022-04-19 22:10:10 +08:00
win7-7
070b283e38
Issue #1860 - Change LayerManagerData::mDisplayItems to a vector instead of hashtable
...
This should improve cache locality and help speed up layer building.
2022-04-19 22:09:59 +08:00
Moonchild
ddf654bf99
Issue #1859 - Build xz-embedded lib when the updater is built.
2022-04-19 22:06:02 +08:00
FranklinDM
e16a340a33
Issue #1838 - Follow-up: Prevent grid shorthand from resetting gutter properties
...
This also fixes crashing when using the grid shorthand property.
2022-04-19 22:05:56 +08:00
FranklinDM
4a57663c1d
Issue #1382 - Set canonical name for trimStart and trimEnd functions
...
This is needed to fix the assertion on debug builds that self-hosted functions must have consistent names, as these two functions are aliased to `trimLeft` and `trimRight`.
2022-04-19 22:05:45 +08:00
FranklinDM
e765c8edbf
Issue #1370 - Follow-up: Give table wrapper boxes a special case during flex base size resolution, so that percent main-sizes can be respected
...
This is a workaround, based on https://bugzilla.mozilla.org/show_bug.cgi?id=1455976
2022-04-19 22:05:36 +08:00
trav90
908d58ab7b
Issue #1804 - Fix building with GCC 11
2022-04-19 22:05:31 +08:00
Moonchild
2aeed57657
Issue #1864 - Fix IonBuilder::maybeMarkEmpty.
...
Look at the instruction's operands instead of the instruction itself,
and take an early exit on empty types.
2022-04-19 22:05:25 +08:00
win7-7
c0591cb147
Issue #1861 - Cache the most recent nsGenConNode to speed up future insertions.
...
Cache the most recent nsGenConNode to speed up future insertions.
2022-04-19 22:05:17 +08:00
Moonchild
6c1c2339bc
Issue #1859 - Part 6: Update mach mar to accept --bz2 for old style MAR
...
So we can build bzip2 MARs for selectively updating older versions of
the applications that don't understand xz.
2022-04-19 22:05:01 +08:00
Moonchild
b0e0cd7f92
Issue #1859 - Part 5: Add format detection to unwrap_full_update.pl
2022-04-19 22:04:56 +08:00
Moonchild
121d56e082
Issue #1859 - Part 4: Update mar file generation scripts for use of xz.
...
- Update packaging scripts to support both lzma and bzip2
- Update python script to support lzma
- Update test scripts to support lzma to be thorough
This all requires xz to be available in the path on the build system.
2022-04-19 22:04:49 +08:00
Moonchild
a195efca40
Issue #1859 - Part 3: Replace bzip2 handling in MAR files with xz.
...
Since there really is no need to add file detection logic to the updater
if updating through AUS is old->new only anyway, replacing bzip2
handling with xz handling is fine, instead of adding it.
Considering the far superior compression of LZMA and MAR not being
a common archive format anyway, let's just K.I.S.S. it :)
2022-04-19 22:04:43 +08:00
Moonchild
fc95b11fae
Issue #1859 - Part 2: xz-embedded build config changes
...
Always build as static lib for use in updater.
2022-04-19 22:04:36 +08:00
Moonchild
bf11d77c4c
Issue #1859 - Part 1: Update xz-embedded library.
...
This also updates the script for updating and README.
2022-04-19 22:04:15 +08:00
FranklinDM
3c6a52a0a6
Issue #1370 - Part 6: Update tests
2022-04-19 21:58:08 +08:00
FranklinDM
581097efe6
Issue #1370 - Part 5: Regenerate developer tools' static CSS properties database
2022-04-19 21:56:44 +08:00
FranklinDM
b315caec8a
Issue #1370 - Part 4: Treat flex-basis: content as max-content
...
This uses a different approach and builds upon the refactoring made in the 576eb6ee01fb9ee3669cad634b26473c2886cab1.
Partially based on https://bugzilla.mozilla.org/show_bug.cgi?id=1374540
2022-04-19 21:56:39 +08:00
FranklinDM
9dc59c43f1
Issue #1370 - Part 3: Implement content keyword for flex-basis property
...
Partially based on https://bugzilla.mozilla.org/show_bug.cgi?id=1105111
2022-04-19 21:56:35 +08:00
FranklinDM
b6b20a04ec
Issue #1370 - Part 2: Remove redundant special-case code for treating flex-basis enum values as 'auto' in vertical axis
...
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1436881
2022-04-19 21:56:32 +08:00
FranklinDM
9d0492be56
Issue #1370 - Part 1: Refactor nsFrame to use a separate function for handling flex-basis
...
This removes the need to keep the `flex-basis` handling code of the ComputeSize* functions in sync since they both call the same function now for this purpose.
2022-04-19 21:56:29 +08:00
FranklinDM
870fee82e6
Issue #1838 - Part 7: Update tests
2022-04-19 21:56:17 +08:00
FranklinDM
5800b95cd0
Issue #1838 - Part 6: Re-resolve row-gap against the sum of row track sizes for auto-sized grid containers
...
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1458902
2022-04-19 21:56:11 +08:00
FranklinDM
57d616da4c
Issue #1838 - Part 5: Address follow-up issues to initial flexbox layout for (column|row)-gap properties
...
Notes:
* Bug 1473044 - Make flexbox cross size take row/column gap into account
https://bugzilla.mozilla.org/show_bug.cgi?id=1473044
* Bug 1473047 - Re-resolve row-gap percentages after intrinsic block size calculated
https://bugzilla.mozilla.org/show_bug.cgi?id=1473047
* Bug 1612401 - Prevent absolute-positioned children from contributing gap size to flexbox's inline-size
https://bugzilla.mozilla.org/show_bug.cgi?id=1612401
* Bug 1639627 - Make flex-container percent 'row-gap' values resolve to 0, when they're resolved against an indefinite block-size (essentially reverts Bug 1473047)
2022-04-19 21:56:07 +08:00
FranklinDM
d0cbf1a74f
Issue #1838 - Part 4: Implement flexbox layout for (column|row)-gap properties
...
This implements flexbox layout for the gap properties without the refactoring work performed on `nsFlexContainerFrame`.
Partially based on https://bugzilla.mozilla.org/show_bug.cgi?id=1398483 and https://bugzilla.mozilla.org/show_bug.cgi?id=1454822
This excludes the second part of bug 1454822, the width caching implementation, because it is out of scope and currently causes unstable layout with `writing-mode: vertical-lr` (see bug 1709937).
2022-04-19 21:56:01 +08:00
FranklinDM
4f6d331558
Issue #1838 - Part 3: Regenerate developer tools' static CSS properties database
2022-04-19 21:55:57 +08:00
FranklinDM
b4f2c83687
Issue #1838 - Part 2: Remove grid- prefix from grid-(column|row)-gap properties
...
This removes the `grid` prefix from the gap-related properties of grid since they are now part of the box alignment specification. Former grid-gap* properties were aliased to the unprefixed properties to maintain compatibility.
The previously multi-column layout only `column-gap` property has been modified to apply to the Grid layout (and Flexbox in a following commit), moving the `mColumnGap` member variable from `nsStyleColumn` to `nsStylePosition`.
Notes:
* Bug 1398537 - support for percent values in column-gap for multi-column layout landed as part of Issue #1230 . However, it was incomplete because it did not update `nsRuleNode` to allow transformation of percentage values for `column-gap`. This was consequently fixed as part of this commit.
* Bug 1456166 - this might not apply because we don't have that devtools test in UXP
* `nsRuleNode`, `nsCSSParser`, `Declaration`, and other related classes were merged into Stylo. These should be taken into consideration when porting patches from Mozilla.
Partially based on https://bugzilla.mozilla.org/show_bug.cgi?id=1398482
2022-04-19 21:55:52 +08:00
FranklinDM
4f059d2c8b
Issue #1838 - Part 1: Remove CSS grid preference
...
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1398492
2022-04-19 21:55:49 +08:00
roytam1
30e8509fd2
ported from esr91: Bug 1761026 - Add a null check for FetchDriver::mResponse, r=necko-reviewers,dragana a=dmeehan (3b54d6b5)
2022-04-11 23:50:02 +08:00
roytam1
eb6e4fbafe
zlib: also pick up 4346a16853
2022-04-10 23:05:55 +08:00
roytam1
be997daa6b
Merge remote-tracking branch 'origin/tracking' into custom
2022-04-10 23:03:50 +08:00
Moonchild
15065117ff
Fix Mesa check + whitespace
2022-04-10 22:59:09 +08:00
Moonchild
168e8bebd0
[devtools] Restrict sourcemap URLs
2022-04-10 22:58:55 +08:00
Moonchild
8751960d9a
[XPCOM] xpcom Threadpool cleanup
...
Make sure thread locks are in place to guard accesses.
2022-04-10 22:58:37 +08:00
Moonchild
260cc45e51
[js] Fix AliasSet of MLoadTypedArrayElementHole
2022-04-10 22:58:05 +08:00
Moonchild
943d76fa91
No issue - Avoid WebGL crash on Mesa
...
This prevents too high vert-count draws that Mesa doesn't handle.
2022-04-10 22:57:48 +08:00
Moonchild
7de4e86727
[XPCOM] xpcom/threads misc cleanup
2022-04-10 22:57:27 +08:00
roytam1
21d56c9c93
nss: update in-tree zlib to 1.2.11 with CVE-2018-25032 fix
2022-04-01 23:56:16 +08:00
roytam1
7f4e10147f
zlib: CVE-2018-25032 fix, from 5c44459c3b
2022-04-01 23:55:11 +08:00
roytam1
5f9cb05d1c
Merge remote-tracking branch 'origin/tracking' into custom
2022-03-28 22:58:03 +08:00
roytam1
94cafe3a4a
Revert "[network] SocketTransport2 cleanup"
...
This reverts commit b924810a3e .
2022-03-28 22:56:47 +08:00
roytam1
1d6c0f2e87
Revert "[network] Improve thread-safety of cache entry handling."
...
This reverts commit 9299c2e2ea .
2022-03-28 22:56:14 +08:00
roytam1
3336114a36
[NSS] ported mozilla upstream changes:
...
- Bug 1552254 internal_error alert on Certificate Request with sha1+ecdsa in TLS 1.3 (be6a9782)
- Bug 1753535 - Remove obsolete stateEnd check in SEC_ASN1DecoderUpdate. r=rrelyea (800111fa)
- Bug 1756271 - Remove token member from NSSSlot struct. r=rrelyea (55052f78)
- Bug 1396616 - Update nssUTF8_Length to RFC 3629 and fix buffer overrun. r=nss-reviewers,jschanck (2f2c8564)
- Bug 1755264 - TLS 1.3 Illegal legacy_version handling/alerts. r=djackson (7d931c59)
- Bug 1751305 - Remove expired explicitly distrusted certificates from certdata.txt. r=KathleenWilson (b722e523)
- Bug 1751298 - Add Telia Root CA v2 root certificate. r=KathleenWilson (1fcbbd7e)
- Bug 1754890 - Add two D-TRUST 2020 root certificates. r=KathleenWilson (f63fb86d)
2022-03-25 23:38:11 +08:00
roytam1
f155978c51
libpixman: enable SSSE3 code in compilation
2022-03-24 21:08:08 +08:00
roytam1
8481f005ce
update Twemoji to v14.0.1 based font.
2022-03-23 13:53:26 +08:00
roytam1
f8434c7bda
Merge remote-tracking branch 'origin/tracking' into custom
2022-03-23 07:43:06 +08:00
roytam1
3636940b3a
bump versions.
2022-03-23 07:42:35 +08:00
roytam1
40f0327a83
pixman: restore XP hacks
2022-03-23 01:36:36 +08:00
roytam1
2684671e2c
Revert "[DOM] Consistent error messages for scripts which failed to load." which comes from upstream, which has similar changes in custom tree.
2022-03-23 00:39:11 +08:00