Commit graph

5,197 commits

Author SHA1 Message Date
roytam1
f0288d3d71 Merge remote-tracking branch 'origin/tracking' into custom 2022-06-23 08:55:51 +08:00
Job Bautista
cd64bfb143 Issue #326 - Part 2: Update UTR-50 data to version 16
Based on Mozilla bug 1288961.
2022-06-23 08:55:26 +08:00
Job Bautista
66d4f38c85 Issue #326 - Part 1c: Generated files for Unicode 9.0.
In order to generate these files, refer to
 https://wiki.mozilla.org/I18n:Updating_Unicode_version
For those too lazy to go to the link (or if the link no longer works), we need the
 following files from http://www.unicode.org/Public/9.0.0/ucd/:
 - UnicodeData.txt
 - Scripts.txt
 - EastAsianWidth.txt
 - BidiMirroring.txt
 - HangulSyllableType.txt
 - SpecialCasing.txt
 - ReadMe.txt (to record version/date of the UCD)
 - Unihan_Variants.txt (from Unihan.zip)
 As well as Identifier*.txt from http://www.unicode.org/Public/security/9.0.0/,
 which should be put in a "security" subdirectory under the UCD folder, and
 http://www.unicode.org/Public/vertical/revision-15/VerticalOrientation-15.txt put
 in a "vertical" subdirectory.
I suggest downloading all files with GetEmAll, just in case.
Change the perl command a bit, as the guide seems to be outdated:
 perl ../tools/genUnicodePropertyData.pl /path/to/platform/gfx/harfbuzz/src/ /path/to/platform/intl/icu/source/common/unicode/ /path/to/UCD-directory/
2022-06-23 08:55:09 +08:00
Job Bautista
291907ef3e Issue #326 - Part 1b: Remove outdated ENABLE_INTL_API code.
ENABLE_INTL_API has been removed since Issue #324.
2022-06-23 08:54:55 +08:00
Job Bautista
275ea2bcf5 Issue #326 - Part 1a: Update character property table generator script for Unicode 9, and adjust APIs to fit the new identifier-type property model
Backported from Mozilla bug 1281448.
2022-06-23 08:54:37 +08:00
roytam1
e89a9eafb1 Merge remote-tracking branch 'origin/tracking' into custom 2022-06-22 09:04:44 +08:00
Job Bautista
e40697c0c6 Issue #1926 - Update image/Orientation.h 2022-06-22 09:03:10 +08:00
Martok
e9cc7313ac Issue #1918 - m-c 1353693: Correct parsing of async generator methods 2022-06-22 09:02:55 +08:00
Martok
a511ff812e Issue #1918 - m-c 1353690: Properly exclude |await| from consideration as a |let| variable name in async functions, so that a newline between the two separates them into two distinct expressions. 2022-06-22 09:02:40 +08:00
Martok
8b14220c3c Issue #1918 - m-c 1345960: Handle shorthand property and destructuring with async keyword properly.
This was previously partially present, but got lost along the way
2022-06-22 09:02:24 +08:00
Martok
5e1b813aac Issue #1918 - m-c 1358246: Report syntax error for stray "async" keyword in object literal property name. 2022-06-22 09:02:10 +08:00
Job Bautista
5dc15ae641 Issue #1916 - Part 3: Sticky/relative position fixes in nsTableWrapperFrame.
Backported from Mozilla bug 1472602.
Didn't include the change in StickyScrollContainer.cpp because it breaks
 linking to libxul.so in the end. It's not important anyway.
2022-06-22 09:01:54 +08:00
Job Bautista
797ddb4d88 Issue #1916 - Part 2: Add a flag to allow FinishReflowChild to handle relative positioning, and convert the caller for which this makes sense.
Backported from Mozilla bug 1547759.
2022-06-22 09:01:41 +08:00
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
roytam1
43cfc69b25 imported changes from mozilla NSS:
- Bug 1759794 - protect SFTKSlot needLogin with slotLock. r=rrelyea (1bbd8d8c)
- Bug 1771497 - Uninitialized value in cert_VerifyCertChainOld. r=nss-reviewers,djackson (23be110c)
- Bug 1771495 - unchecked return code in sec_DecodeSigAlg. r=nss-reviewers,djackson (d4fb4b83)
- Bug 1771498 - Uninitialized value in cert_ComputeCertType. r=djackson (b28bc4cd)
- Bug 1764392 - Add DigitCert Roots r=nss-reviewers,jschanck (0863d9ec)
- Bug 1768970 - Add Certainly Roots. r=nss-reviewers,jschanck (6307e75b)
- Bug 1770267 - Add E-Tugra Roots. r=nss-reviewers,jschanck (9555008f)
- Bug 1759815 - Remove Hellenic Academic 2011 Root. r=nss-reviewers,jschanck (9c2cbf14)
- Bug 1764206 - Bump nssckbi version number for June. r=nss-reviewers,jschanck (b3acf3d9)
2022-06-17 11:00:44 +08:00
roytam1
082405259b editor: check selection->GetAnchorFocusRange() before using its functions
this fixes crash when clicking Quote Message twice.
2022-06-15 10:10:10 +08:00
roytam1
22356686f9 Merge remote-tracking branch 'origin/tracking' into custom 2022-06-13 09:12:00 +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
fec5435ab8 Merge remote-tracking branch 'origin/tracking' into custom 2022-06-10 09:49:21 +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
roytam1
79792a91ee Merge remote-tracking branch 'origin/tracking' into custom 2022-06-06 08:58:26 +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
roytam1
8c7e1338ce Revert "Issue #1909 - Guard against empty update manifest URL"
This reverts commit 7b3f9fb7c0.
2022-06-06 08:53:49 +08:00
roytam1
e8b114fe4f Merge remote-tracking branch 'origin/tracking' into custom 2022-06-02 10:16:06 +08:00
Moonchild
9fa9622d5b [DOM] Clip image data transfers. 2022-06-02 10:11:38 +08:00
roytam1
5618d02caf import from nss upstream: Bug 1767590 - Initialize pointers passed to NSS_CMSDigestContext_FinishMultiple r=#nss-reviewers,kaie (118b893f8e) 2022-06-02 10:10:47 +08:00
roytam1
2cedfc1adf Merge remote-tracking branch 'origin/tracking' into custom 2022-05-31 10:17:22 +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