Commit graph

617 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Job Bautista
584cfbd809 Issue #1967 - Remove mozprotocol handler (moz://a easter egg). 2022-07-30 08:43:37 +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
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
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
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
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
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
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
37fa205f24 webextensions: remove telemetry 2022-04-28 22:14:48 +08:00
roytam1
c2e9a2691f url-classifier: fix build after removal of telemetry 2022-04-28 21:31:49 +08:00
Moonchild
d562709920 Issue #21 - Remove calls to Services.telemetry and nsITelemetry
These calls would cause breakage without the supporting plumbing.
2022-04-28 10:38:12 +08:00
Moonchild
d356440fa3 Issue #21 - Remove unused telemetry build variables.
Hard-code the values in AppConstants.jsm for compatibility, even if
nobody should actually be using this in extensions or what not.
2022-04-28 10:37:10 +08:00
Moonchild
2ed3e31c4f Issue #21 - Remove telemetry from PopupNotifications.jsm. 2022-04-28 10:34:18 +08:00
Moonchild
44388b01a3 Issue #21 - Remove Telemetry accumulation/structures from toolkit js.
This fixes toolkit modules and prevents toolkit component breakage.
Also removes about:telemetry
2022-04-28 10:26:19 +08:00
Moonchild
8d800b1cb0 Issue #21 - Remove Telemetry plumbing and fix build.
Note this won't give working applications. Requires FE changes and
additional js module changes (next part).
2022-04-28 10:25:48 +08:00
Moonchild
d4eac725fd Issue #1877 - Resolve RELEASE_OR_BETA conditionals. 2022-04-21 21:46:47 +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
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
2073c44990 No Issue - Break overly long tooltips into multiple lines.
A very very old bug and annoyance: tooltips with very long content without
spaces (e.g. long URLs or gibberish data) would just cut off and leave an
un-styled right border going over the widget's constrained space.
Because of an additional bug (still unsolved), this was never properly
addressed because solutions attempted didn't work.
The workaround for the secondary bug allows for word-break to now work and this
primary problem to be resolved.
2022-03-22 23:09:58 +08:00
Moonchild
bae3220dd5 No issue - Fix a potential autocomplete issue.
Account for the case where we don't have a tree view in selectedIndex
setter which may break future autocompletes.
2022-03-22 23:04:29 +08:00
roytam1
fdb10cb2f3 search: enlarge MAX_ICON_SIZE 2021-11-10 09:10:26 +08:00
Matt A. Tobin
ccb3ecdc95 Issue #1793 - Only use Glass on the Toolkit Download Manager on Windows 7 2021-07-15 09:25:59 +08:00
Matt A. Tobin
b4e51a8540 Issue #1793 - Only use proper Aero Styling in the Toolkit Error Console on Windows 7 2021-07-15 09:25:46 +08:00
Matt A. Tobin
895afe00e1 Issue #1793 - Add a border-bottom to treecols header 2021-07-15 09:25:29 +08:00
Matt A. Tobin
86aec31475 Issue #1793 - Add a border-bottom to toolbox
Follow-up to e8be661944c730cb3b702cd7f7d97e0860eb9132
2021-07-15 09:24:31 +08:00
Moonchild
875f1a35a2 [toolkit] Slightly lighten light-mode logopage background 2021-07-08 09:57:10 +08:00
Moonchild
9e19d36812 [Toolkit] Update logopage styling.
Part of the UX refresh Pale Moon effort. This uses the new -moz-dark-theme media
query to make the logopage dark if the UI is dark, without explicitly relying on
(often not sane) system color values.
2021-07-02 10:46:08 +08:00
Matt A. Tobin
dbf1d0b5fa [Toolkit] Attempt to initialize DownloadTaskbarProgress when onDownloadWindowLoad() is called so that DownloadTaskbarProgress from the Downloads Manager window works when the application doesn't explicitly invoke onBrowserWindowLoad(). 2021-06-24 11:10:02 +08:00
Moonchild
ba00d14c12 Issue #1751 - Remove Mac code behind MOZ_WIDGET_TOOLKIT == 'cocoa' 2021-06-24 11:09:47 +08:00
Matt A. Tobin
2319d8be12 [Toolkit] Don't use the "aero" msstyle provided toolbox background on Windows 10 2021-06-15 11:19:05 +08:00
Moonchild
859208a201 [toolkit] Exclude printer spew from troubleshooting information.
In almost all cases this is pointless to include, a ton of useless entries,
and there's no reason to have people post a full enumeration of installed
printers on their system when asked for TS information.
If there's a printer specific issue, people can always be asked to post relevant
info manually.
2021-06-04 09:31:04 +08:00
Matt A. Tobin
378f01e526 Issue #1774 - Add metrics to the editable menulist-button for GTK3 2021-06-04 09:31:03 +08:00
Moonchild
90df4cfb70 Revert "Issue #21 - Remove TelemertyVFS"
This:
- reverts commit 83ecae9ff7ee1469da1675435dbcf26d094aa1c6
- adds a failure check to Connection::GetQuotaObjects

This resolves #1768.
2021-05-21 09:34:11 +08:00
FranklinDM
52b1a20bcf Issue #1770 - Fix incorrect reference to event parameter 2021-05-14 00:21:23 +08:00