Commit graph

4,618 commits

Author SHA1 Message Date
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
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
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
3636940b3a bump versions. 2022-03-23 07:42:35 +08:00
roytam1
c576ac1792 webidl: remove VoidFunction from RTCPeerConnection.webidl, missing in Issue #3063 since upstream removed WebRTC. (originally as part of bug 1324169) 2022-03-23 00:15:39 +08:00
roytam1
38f14f9adc Merge branch 'gre-tracking' into tracking 2022-03-22 23:25:34 +08:00
Moonchild
bf80b78247 [DOM XSLT] Add fallback value conversions if not converted beforehand. 2022-03-22 23:25:08 +08:00
Peter Van der Beken
7cd8d79670 [DOM] Convert parameters upfront. 2022-03-22 23:24:40 +08:00
Moonchild
e45fbf91ce [Network] Add a socket thread check and early exit for corner cases. 2022-03-22 23:24:09 +08:00
Moonchild
bd80099e2c [xpcom] Timer cleanup, assertions and comments. 2022-03-22 23:22:59 +08:00
Moonchild
ba0e98e3bd [Image] Add some additional locks to ImgFrame 2022-03-22 23:22:33 +08:00
Moonchild
398cb98445 [Network] Only call nsWSAdmissionManager::ConnectNext on the main thread. 2022-03-22 23:21:52 +08:00
Moonchild
66ae44b71f [DOM] Promise worker-proxy cleanup improvements 2022-03-22 23:20:46 +08:00
Paul Adenot
b4306c0468 [DOM media] Handle truncated WAV stream. 2022-03-22 23:20:16 +08:00
Moonchild
232f5a4705 [network] cache memory reporter cleanup 2022-03-22 23:19:50 +08:00
Moonchild
766c8e3ffd [DOM] Lock around memory reporting for XHR 2022-03-22 23:18:54 +08:00
Randell Jesup
562b04e5c0 [network] BackgroundFileSaver cleanup. 2022-03-22 23:18:26 +08:00
Moonchild
b74a23aee3 [htmlfive] Improve parser sanity checks. 2022-03-22 23:17:35 +08:00
Moonchild
b924810a3e [network] SocketTransport2 cleanup 2022-03-22 23:16:37 +08:00
Peter Van der Beken
b8125dbafd [DOM events] Clear event listener. 2022-03-22 23:15:32 +08:00
Moonchild
368848ad12 [DOM media] Adjust lock scope in MediaSourceDemuxer 2022-03-22 23:15:03 +08:00
Randell Jesup
9060ad1fce [Image] Image cleanup 2022-03-22 23:14:31 +08:00
Moonchild
e5d81e17d3 [DOM media] Add a lock around Reset() in WebMBufferedParser 2022-03-22 23:13:43 +08:00
Moonchild
a94d85142d [DOM] worker cleanup. 2022-03-22 23:13:14 +08:00
Moonchild
a63ec9a479 [DOM] Consistent error messages for scripts which failed to load. 2022-03-22 23:12:48 +08:00
Moonchild
bc2aa1f05c [DOM] Clear sinks and block further use after storage observer shutdown. 2022-03-22 23:12:20 +08:00