Commit graph

606 commits

Author SHA1 Message Date
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
Moonchild
82b363f05d Issue #1751 -- fix up a few stray #ifs 2021-05-07 09:54:04 +08:00
Moonchild
a4b0f333ba Issue #1751 -- Remove XP_MACOSX conditionals from the rest of the tree.
This also removes some PP abuse and takes file entries out of PP when no longer
needed without XP_MACOSX conditionals.
2021-05-07 09:53:59 +08:00
Moonchild
2f27335cc4 Issue #1751 -- Remove XP_DARWIN 2021-05-05 10:27:04 +08:00
Moonchild
a9c8f3a84a Issue #1751 -- Remove XP_IOS 2021-05-05 10:26:14 +08:00
Moonchild
21c13ce7d1 [Toolkit] Update TwemojiMozilla font to 0.5.1 (Twemoji 12.1.6) 2021-03-17 09:04:21 +08:00
Moonchild
348c6604be Issue #1053 - Remove MOZ_WIDGET_ANDROID and IDB_MOBILE 2021-03-12 08:59:50 +08:00
Moonchild
50653a7c4c Issue #1053 - Remove build system MOZ_ANDROID_* defines and related code. 2021-03-11 10:13:09 +08:00
Moonchild
79d90233cd Issue #1722 - Update about:license
Mostly making parts conditional and removing blocks that are no longer
applicable, and a few minor edits otherwise to update links and text.

Resolves #1722
2021-02-25 09:26:34 +08:00
Moonchild
82994ebc15 Issue #1715 - Handle errors when initializing print settings from the printer
fails due to a bad printer name or O.S. error.

Resolves #1715
2021-01-21 14:31:48 +08:00
Moonchild
953cd5b6b2 Issue #1705 - Part 6: Remove scrollbarbutton min-{width|height} rule from theme.
This would interfere with implementing thin scrollbars.

Almost all widgets provide a non-overridable size for scrollbar buttons, so it
makes no sense to specify min size for them. It is probably(?) a layout bug that
min size properties can override the value returned by GetMinimumWidgetSize
even if aIsOverridable is set to false, but removing this rule is simpler than
locating and fixing the issue in layout code ;)
2021-01-14 22:19:58 +08:00
Moonchild
fc1f95edc4 Issue #1700 - Apply background color instead of inset shadow for findbar input.
This changes the toolkit theme for Linux and Windows (Mac already did this) to
style the input textbox on the findbar with -moz-appearance:none so as to give
us styling control (as opposed to using a native widget style) and apply a
neutral style to it.
Also ensures Mac remains readable in case of poorly contrasting text.
2020-12-24 09:36:32 +08:00