Job Bautista
0423d83560
Issue #1916 - Part 1: Convert flags passed to ReflowChild, FinishReflowChild, etc into an enum class.
...
Backported from Mozilla bug 1571250.
2022-06-22 09:01:25 +08:00
Brian Smith
9cc1870b9f
Issue #1905 - Part 4d - Fix a crash calling a date and time function. Fixed by updating the xptcinvoke ARM64 code to the latest Mozilla version.
2022-06-22 09:01:02 +08:00
Brian Smith
95f1786bb4
Issue #1905 - Part 4c - Follow Firefox and Safari in reporting "Intel" for Mac ARM64 devices. Based on Mozilla bug 1655285.
2022-06-22 09:00:31 +08:00
Brian Smith
7e63a3f440
Issue #1905 - Part 4b - Fix issue loading the profile and saving changes to the profile. Based on the following Mozilla bugs: 1659904, 1659905 and 1659077.
2022-06-22 08:55:22 +08:00
Brian Smith
35ba45aa32
Issue #1905 - Part 4a - Change "as" test to "Apple" from "LLVM". This will make this test Mac only, but it should work with any Xcode.
2022-06-22 08:55:06 +08:00
Jeremy Andrews
41b9919e7c
Issue #1909 - Ensure UpdateChecker and UpdateParser can handle empty manifest URLs.
2022-06-13 09:11:23 +08:00
Moonchild
afbfbcb1e1
Issue #1914 - Implement white-space: break-spaces
...
This also simplifies GetCSSWhitespaceToCompressionMode (FFS with the function
names, Mozilla!) to be less fragile.
2022-06-13 09:10:57 +08:00
Brian Smith
163bce2e81
Issue #1905 - Part 3k - Separate the GNU and LLVM-as tests. While we should be able to test these together, I don't want to risk breakages on different *nixes.
2022-06-13 09:10:37 +08:00
Brian Smith
076a0eb275
Issue #1905 - Part 3j - Rename the ARM64 assembly files to .S. Missed the moz.build file in the last commit.
2022-06-13 09:10:03 +08:00
Brian Smith
06aa3c8c37
Issue #1905 - Part 3i - Rename the ARM64 assembly files to .S. Necessary because they now need to be preprocessed.
2022-06-13 09:09:23 +08:00
Brian Smith
5bf1ed5953
Issue #1905 - Part 3h - Fix breakages on other platforms. Mac Intel broke due to incorrect FFI target_dir for Intel. Linux and possibly other platforms use a secondary aclocal.m4 that still referenced ios.m4.
2022-06-13 09:01:48 +08:00
Brian Smith
be240b3403
Issue #1905 - Part 3g - Final set of changes connecting ARM64 support for Mac. Back out some of the xptcstubs changes that are not viable for our codebase.
2022-06-13 09:01:34 +08:00
Brian Smith
e55ae571da
Issue #1905 - Part 3f - Collection of fixes connecting ARM support to the Mac build. Also update ARM XPT code to add Mac/Apple support.
2022-06-13 09:01:18 +08:00
Brian Smith
e73d4de0b4
Issue #1905 - Part 3e - Fix NSPR build on ARM. The dynamic loader had been falling through to the ancient PowerPC code without __aarch64__ #ifdef
2022-06-13 09:01:00 +08:00
Brian Smith
ccdf07735a
Issue #1905 - Part 3d - Report GNU AS when the system "as" is LLVM-as. LLVM as is generally compatible with GNU, this should allow ICU to build on ARM Macs.
2022-06-13 09:00:46 +08:00
Brian Smith
02ceb3e1a3
Issue #1905 - Part 3c - Remove iOS from the rest of the configure system.
2022-06-13 09:00:22 +08:00
Brian Smith
a2f6708c4d
Issue #1905 - Part 3b - Remove iOS support from old-configure. iOS is not really a viable target and Apple Silicon Macs report the same core system.
2022-06-13 08:58:08 +08:00
Brian Smith
9f3376e56d
Issue #1905 - Part 3a - Resign python binary ad-hoc since install_name_tool invalidates code signature. The code signature is invalidated on Intel as well, but on ARM the binary fails to run with an invalid code signature error.
2022-06-13 08:55:52 +08:00
Brian Smith
7224a17903
Issue #1905 - Part 2c - Fix OpenGL crash caused by calling [NSOpenGLContext setView:] on the Compositor thread. Starting with SDK 10.14 I believe, many functions have main thread checks, including setView: and update. So we now move the code in the updateGLContext method into doDrawRect which runs on the main thread.
2022-06-13 08:55:28 +08:00
roytam1
d8e6867dad
Revert "Issue #1909 - Guard against empty update manifest URL"
...
This reverts commit 7b3f9fb7c0 .
2022-06-10 09:47:01 +08:00
Jeremy Andrews
6182744d96
[MailNews] Allow shift-clicking on Edit As New to edit a message as plaintext.
...
Ref: BZ 731688
2022-06-06 08:57:39 +08:00
Brian Smith
d18524ab7e
Issue #1905 - Part 2b - Fix crash on startup due to inability to load system font with newer SDKs. Fix based on Mozilla Bug 1672842.
2022-06-06 08:57:19 +08:00
Brian Smith
45606ffa59
Issue #1905 - Part 2a - Build system fixes to allow use of SDK versioned 11.0 and higher. Also don't include code incompatible with SDK 10.15 and higher, when building with such a SDK.
2022-06-06 08:57:16 +08:00
Brian Smith
8cee7f2b18
Issue #1905 - Part 1 - Implement detection of Monterey (12.x), Intel emulation and fix required OS version check.
2022-06-06 08:57:09 +08:00
Moonchild
9fa9622d5b
[DOM] Clip image data transfers.
2022-06-02 10:11:38 +08:00
FranklinDM
7b3f9fb7c0
Issue #1909 - Guard against empty update manifest URL
...
When installing an incompatible add-on, the add-ons manager checks first if a newer and compatible version of that add-on is available by sending a request either to the AUS or the provided update URL in the manifest.
If there's no update URL in the manifest and if the application does not provide an add-on update URL via preferences, the add-ons manager will error out and fail to notify that the said add-on is incompatible.
This commit addresses that by:
(a) preventing substitutions on the update manifest URL - this throws an error if it's empty; and
(b) failing early in the add-on update checker if the update manifest URL is empty and sends out an error notification
2022-05-31 09:43:02 +08:00
Moonchild
6b3ab70997
[network] Fix typo in nsSocketTransport2.cpp
...
Follow-up to 7322bc0e9df42bd43d84ec9be22b00c47a09f3d7
2022-05-31 09:42:37 +08:00
Moonchild
3bcd2ee360
[DOM] Don't allow internal MIME types to be assigned to DataTransfer
...
We already blocked x-moz-file(-promise) and x-moz-place* but of course people
would find ways to abuse other internal types. This change now blocks everything
except x-moz-url types which are harmless. (i.e. whitelist instead of blacklist)
2022-05-31 09:41:43 +08:00
Moonchild
7f3a7225af
[network] SocketTransport2 cleanup
2022-05-31 09:40:14 +08:00
roytam1
6ec59e7984
image: sync with 8e42fccca6
2022-05-31 09:36:20 +08:00
trav90
f2cfb9997e
Issue #457 - Make GLContextSymbols a pure aggregate POD
2022-05-31 09:13:17 +08:00
trav90
c782076add
Issue #457 - Remove the constructor from gfxShapedText::CompressedGlyph and make it a trivial class
...
Also provide a couple of convenience "factory" methods to create simple and complex glyph values.
2022-05-31 09:13:12 +08:00
Jeremy Andrews
1cdbf6eb6a
Issue #1742 - Part 5: Remove unnecessary GCPtr::unbarrieredGet
...
Ref: BZ 1323441
2022-05-31 09:12:51 +08:00
Jeremy Andrews
e632fc1e8c
Issue #1742 - Part 4: Don't trigger read barriers when comparing wrapped pointers types
...
This is actually an undocumented dependency of Bug 1325406 for Linux and
SunOS.
Ref: BZ 1308236
2022-05-31 09:12:45 +08:00
Moonchild
30a3ec27a2
Issue #1742 - Remove the ambiguous portions of gc that dealt with tagged pointers for shapes.
...
Nobody likes "isNullLike(obj)" when trying to garbage collect. It either is or
is not. Master Yoda would be pleased with this change.
2022-05-31 09:12:38 +08:00
Moonchild
574b295d15
Issue #1742 - Part 3: use JS::PropertyResult instead of Shape*
...
This is the meat of the issue and switches using raw shape pointers out for
PropertyResult objects where feasible.
2022-05-31 09:12:29 +08:00
Moonchild
c48b8e8932
Issue #1742 - Part 2: Add a class to encapsulate the possible results of a property lookup
2022-05-31 09:12:25 +08:00
Moonchild
80d7d43961
Issue #1742 - Part 1: Refactor rooting base class templates
...
Based on Bug 1325406
2022-05-31 09:12:19 +08:00
Moonchild
2f81312755
No issue - relax ctts flag checking in media/libstagefright
...
Some encoders will set ctts flags incorrectly (similar to version) resulting in
libstagefright aborting playback of media based on the media header.
(Looking at you, Twitter)
This change relaxes libstagefright's checking to pass ctts flags 0 or 1 and
falls through to actually trying to decoding the file.
2022-05-27 07:01:15 +08:00
trav90
5c61382dac
Issue #457 - Silence some GCC compiler warnings in FFmpeg code
2022-05-22 06:47:01 +08:00
FranklinDM
2e975416bf
No issue - Add null check to send packet function in the developer tools server
...
This resolves some of the useless log spam thrown in the browser console by the developer tools.
2022-05-22 06:46:57 +08:00
FranklinDM
f0e208a861
Issue #1894 - Part 7: Update tests
...
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1566141
2022-05-22 06:46:47 +08:00
FranklinDM
9dde32ee98
Issue #1894 - Part 6: Check for nullish values when folding coalesce nodes
...
This uses a different approach by modifying the `Boolish` function directly to act differently if we're checking for nullish values.
Partially based on:
Bug 1566141 - Implement the Nullish Coalescing operator (??) proposal
Bug 1599163 - Nullish coalescing operator returns undefined for void expressions
2022-05-22 06:46:40 +08:00
FranklinDM
707867d165
Issue #1894 - Part 5: Implement bytecode for nullish coalescing
...
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1566141
2022-05-22 06:46:35 +08:00
FranklinDM
5812721809
Issue #1894 - Part 4: Implement IonMonkey support for nullish coalescing
...
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1566141
2022-05-22 06:46:31 +08:00
FranklinDM
f282a4c05f
Issue #1894 - Part 3: Implement support for nullish coalescing in JS reflection
...
Partially based on:
Bug 1566141 - Implement the Nullish Coalescing operator (??) proposal
Bug 1593415 - Assertion failure: false, at js/src/builtin/ReflectParse.cpp:3092 with nullish coalescing
2022-05-22 06:46:27 +08:00
FranklinDM
d7cdeaf313
Issue #1894 - Part 2: Implement support for nullish coalescing in the JS parser
...
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1566141
2022-05-22 06:46:21 +08:00
FranklinDM
3efa23472c
Issue #1894 - Part 1: Implement coalesce JS opcode
...
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1566141
2022-05-22 06:46:16 +08:00
Moonchild
62a140ab80
Bug 1679987 - Remove unused includes of nsCharSeparatedTokenizer.h.
2022-05-22 06:46:06 +08:00
Moonchild
8dfcd4553f
Issue #1210 - Keep timepicker disabled for now.
...
This needs localization work before enabling.
2022-05-19 20:59:45 +08:00