Commit graph

849 commits

Author SHA1 Message Date
Job Bautista
cbbc15ad81 Issue #1451 - Split hunspell library out of xul.
utf_info.cxx imported from 1.4.1 upstream.

Also moved unicode_info struct to the header to fix bustage with compiling the
new utf_info.cxx.

I've also gone ahead and deunified this new shared library as unified building
is busting in hunspell.cxx, complaining about config.h not being found. Weird
that it only happens in unified mode.

This reduces libxul size on all platforms by ~200 KB.
2023-04-30 21:15:46 +08:00
roytam1
d9c82b1e71 Merge remote-tracking branch 'origin/tracking' into custom 2023-04-05 07:36:09 +08:00
Job Bautista
2e63622186 No issue - FreeBSD builds should also use xz compression for packaging.
Currently it defaults to bzip2, which has been obsolete for us.
2023-04-05 07:12:46 +08:00
roytam1
b03f6dd26e Merge remote-tracking branch 'origin/tracking' into custom 2023-03-20 12:34:16 +08:00
Moonchild
05d29a53db Issue #2117 - Follow-up: Run precomplete cmd during package staging
We rely on this for all OSes except Mac where precomplete should not
be in the root (it uses Mozilla's fallback packaging that places it in
$RESPATH)
2023-03-20 12:33:50 +08:00
roytam1
4ef2722f89 Merge remote-tracking branch 'origin/tracking' into custom 2023-02-27 11:09:21 +08:00
Brian Smith
cbc529bb0e Issue #2117 - Part 2 - Revert "Follow up to d0eee8f01 - Run precomplete cmd during package staging"
This reverts commit c622e988fed60f2e868cd0419f5cf517323b5c2a.
2023-02-27 11:02:42 +08:00
Brian Smith
8bacb52ca3 Issue #2117 - Part 1 - Update Mac DMG platform names to intel64 for Intel and arm64 for Apple Silicon. 2023-02-27 11:02:18 +08:00
roytam1
a48debaabe Merge remote-tracking branch 'origin/tracking' into custom 2023-01-10 08:22:51 +08:00
Martok
03a4a17ccf Issue #2073 - m-c 1383404: make SourceBuffer::Compact more efficient (squashed)
The first part also means that Compact no longer needs the SurfaceCache lock (used to be via CreateChunk->CanHold),
which avoids potential deadlocks during shutdown that m-c 523950 would otherwise cause
2023-01-10 07:30:55 +08:00
roytam1
7ecc55be25 Merge remote-tracking branch 'origin/tracking' into custom 2023-01-06 20:37:26 +08:00
Job Bautista
5b438179ad Issue #2079 - Fix linking libxul on *nix when using a linker other than bfd.
Don't mark the .kPStaticModules section as relro for bfd, as the linkers on
 Windows and Mac don't do this anyway.
Add a section insert of .kPStaticModules to config/expandlibs_exec.py, which
 seems to be the primary cause of linking bustage on gold, lld, and mold.
2023-01-06 20:37:00 +08:00
roytam1
4ea078d68f Merge remote-tracking branch 'origin/tracking' into custom 2022-12-16 11:25:59 +08:00
Brian Smith
af3667d715 No issue - Fix packaging Epyrus on FreeBSD and Solaris. The TwemojiMozilla.ttf font should be bundled on Windows and any GTK platforms. We should not limit the GTK platform to Linux only. 2022-12-16 11:23:48 +08:00
roytam1
de0b4ac202 Merge remote-tracking branch 'origin/tracking' into custom 2022-11-25 11:46:08 +08:00
FranklinDM
bbd05cb4c8 Issue #2029 - Part 2: Protocol handling dialog should be dependent if not modal
Following the behavior of the download dialog, the content handling dialog should be `dependent` as well. This means that this dialog should close when the parent window is closed, is not visible on the taskbar, and stays in front of the parent window.
2022-11-25 11:45:12 +08:00
FranklinDM
36ddeff63c Issue #2029 - Part 1: Add preference for opening the protocol handling dialog as window modal
This adds the preference, `prompts.content_handling_dialog_modal.enabled`, to control whether the dialog is window modal or not.
2022-11-25 11:44:58 +08:00
roytam1
5f18cf3bed Merge remote-tracking branch 'origin/tracking' into custom 2022-10-27 09:04:51 +08:00
athenian200
8b8084f661 Issue #1824 - Remove dependency on libdemangle.
This may be removed from illumos soon, and it is apparently unused anyway, so leaving it in doesn't make sense.
2022-10-27 09:03:10 +08:00
FranklinDM
1ae5f60a1b Issue #1793 - Follow-up: Fix incorrect media query 2022-10-27 08:59:01 +08:00
Moonchild
808332c2c1 Issue #2019 - Follow-up: Make autocomplete and satchel listen to keypress events in the system event group
The autocomplete module listens to keypress events for both printable keys
and non-printable keys a lot. However, we're stopping dispatching keypress
events for non-printable keys in the default event group of web content.

This means that autocomplete should listen to keypress events in the
system event group.

Note that it's difficult to globally change keypress event listeners to
keydown event listeners because if we stop keypress events at preceding
keydown event in autocomplete or satchel modules, some other modules
fail to handle keydown or keypress events before autocomplete, and it's
not easy to investigate which keypress event listener in which modules
should be changed to a keydown event listener.

Therefore, this patch doesn't do that, and uses the event group approach.
2022-10-27 08:58:11 +08:00
roytam1
1e93ef4c00 Merge remote-tracking branch 'origin/tracking' into custom 2022-09-19 16:22:22 +08:00
Moonchild
800090d0c0 No issue - Stop pre-processing some files that don't have preprocessor statements in them. 2022-09-19 16:19:41 +08:00
roytam1
1822f2031e Merge remote-tracking branch 'origin/tracking' into custom 2022-07-30 08:49:22 +08:00
Job Bautista
584cfbd809 Issue #1967 - Remove mozprotocol handler (moz://a easter egg). 2022-07-30 08:43:37 +08:00
roytam1
3926096dfa DownloadUIHelper: move async keyword position to prevent raising javascript error. 2022-06-30 22:17:30 +08:00
roytam1
e89a9eafb1 Merge remote-tracking branch 'origin/tracking' into custom 2022-06-22 09:04:44 +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
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
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
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
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
roytam1
1e871780fb Merge remote-tracking branch 'origin/tracking' into custom 2022-05-19 21:00:31 +08:00
FranklinDM
d42af42d26 Issue #1898 - Make sure that the sanity test stops running if necessary
As part of telemetry removal, d60103257eb83db103f9acab54b1755486b7e9c1 removed the `reportResult` function which also handles the stopping of the sanity test. This also removes unused histogram enumeration values and revises/adds some comments.
2022-05-19 20:59:34 +08:00
roytam1
ed4e67920f GMP: revert GMPUtils.jsm back to state of rev 4a010b9495
This should fix GMP DLLs loading.
2022-05-18 22:45:20 +08:00
roytam1
7747508390 Merge remote-tracking branch 'origin/tracking' into custom 2022-05-12 09:45:58 +08:00
Moonchild
046b81d062 Issue #1509 - Invalidate previous result when datalist is changed.
Even if `<datalist>` is dynamically changed, the autocomplete controller still
uses the previous search result. If changed, we have to ignore the previous
result that may now be invalid.

Also, even if `<datalist>` is changed, we have to keep the selected index
(See Mozilla Bug 595069), so we cannot use `ResetInternalState` in this
situation because it resets the selected index.

This resolves #1509.
2022-05-12 09:45:35 +08:00
roytam1
ef6b9353a3 gmp: replace preprocessor directives with AppConstants conditions 2022-05-10 21:11:08 +08:00
roytam1
7f068ecce3 Merge remote-tracking branch 'origin/tracking' into custom 2022-05-04 10:14:24 +08:00
FranklinDM
4caef059e4 [Toolkit] Set an icon for the default handler 2022-05-04 10:11:36 +08:00
FranklinDM
06d8563a58 Issue #21 - Remove run phase property and constants from XPIProvider.jsm
These were introduced in Bug 853388 for the sole purpose of tracking the current startup phase for telemetry
2022-05-04 10:11:17 +08:00
Brian Smith
f0e5e56533 Issue #1829 - Build system fixes. Readd de-unified source changes that got clobbered by commit 378738aaa9924d0b95e2c57f27cbad2b2e644282. Fix build issues using clang broken by commit 39f9ab375b2bfd9e46df9695b78870cf1e9cf3c6. 2022-05-04 10:03:30 +08:00
Brian Smith
d5c43d1d35 Issue #1829 - Readd code cleanup that is not Mac related that got clobbered by reverting Issue #1751 2022-05-04 10:01:23 +08:00
Brian Smith
13fcc4a046 Issue #1829 - Revert "Issue #1751" 2022-05-04 09:40:24 +08:00
roytam1
cf4e046f90 Merge remote-tracking branch 'origin/tracking' into custom 2022-04-28 22:15:55 +08:00
roytam1
37fa205f24 webextensions: remove telemetry 2022-04-28 22:14:48 +08:00