Commit graph

164 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
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
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
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
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
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
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
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
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
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
50653a7c4c Issue #1053 - Remove build system MOZ_ANDROID_* defines and related code. 2021-03-11 10:13:09 +08:00
Moonchild
ec96755589 Issue #1694 - Part 2: Use scriptabledateformat for Update History display. 2020-12-21 14:57:57 +08:00
Moonchild
d0dbdf4e8b [packager] Optimize archive accesses. 2020-11-16 21:10:25 +08:00
Moonchild
0cd673d720 Issue #1656 - Part 6: Clean up the build files 2020-09-25 22:04:23 +08:00
Moonchild
30df895eb2 Issue #1656 - Part 3: Nuke more vim config lines in the tree.
Another S&R run with some smarter matching.
2020-09-25 22:04:17 +08:00
Moonchild
8c395520d9 Issue #1656 - Part 1: Nuke most vim config lines in the tree.
Since these are just interpreted comments, there's 0 impact on actual code.
This removes all lines that match /* vim: set(.*)tw=80: */ with S&R -- there are
a few others scattered around which will be removed manually in a second part.
2020-09-25 22:04:12 +08:00
Moonchild
bc02e9541f Issue #1644 - Remove plugin checking code leftovers 2020-09-10 21:06:49 +08:00
Roy Tam
35f288dc4a Revert UXP issue 1628 related changes. 2020-08-08 10:14:13 +08:00
Matt A. Tobin
3bfc574220 Issue #1628 - Remove redundant PREF_EM_UPDATE_BACKGROUND_URL 2020-08-08 06:56:47 +08:00
Matt A. Tobin
b31c90d1ab Issue #1612 - Add-ons targeting Toolkit's ID (and not Firefox's) should be considered "native" by the Add-ons Manager when using the Dual-GUID system
A version bump triggering add-on compatibility check will re-evaluate the "native" status (among other things) so no extra or special work is required to fix erroneous warnings.

tl;dr instafix!
2020-07-25 06:25:46 +08:00
Moonchild
478eed8da0 Issue #1594 - restore UAC elevation in the uninstaller.
Effectively backs out BZ 1333789 which was uplifted to
Firefox before we forked for UXP.
Resolves #1594
2020-06-20 06:44:29 +08:00
Moonchild
594c930eca Issue #439 - Remove, fix and clean up automated tests
With the big amount of code churn around DOM a lot of tests
broke severely enough that they caused build bustage.
This commit cleans up, removes or otherwise fixes tests
that are broken, no longer relevant or obsolete.
2020-06-10 21:00:09 +08:00
Matt A. Tobin
4f0ac63dd9 Take files out of preprocessing that no longer require it 2020-04-11 09:40:39 +08:00
Matt A. Tobin
0f9c957cb1 Follow up to d0eee8f01 - Run precomplete cmd during package staging 2020-04-11 09:40:38 +08:00
Matt A. Tobin
837665b8d9 Align mar generation on Windows with other platforms
This makes mar generation dependent on packaging not installer
2020-04-11 09:40:37 +08:00
Matt A. Tobin
ecbe2bbe25 Issue #1470 - Part 3: Remove now unused update.locale
This requires changes to package-manifest in all applications
2020-03-13 10:16:47 +08:00
Matt A. Tobin
678b1ea2ec Issue #1053 - Remove android support from toolkit
Note: Does not remove support completely from toolkit/mozapps/installer or from telemetry or AppConstants.jsm
2020-02-27 07:32:40 +08:00
Matt A. Tobin
e5bacc6f6e Issue #439 - Remove tests from toolkit/ 2020-02-27 07:32:33 +08:00
Matt A. Tobin
71bc312d95 Issue #65 - Correct nsHelperAppDlg.js for bad preprocessing conversion 2020-02-13 07:17:34 +08:00
Matt A. Tobin
f1210b0d9a Issue #65 - Remove AppConstants from toolkit/mozapps/downloads 2020-02-08 07:14:24 +08:00
Matt A. Tobin
905663865e Issue #65 - Remove AppConstants from toolkit/mozapps/extensions 2020-02-08 07:14:20 +08:00
Matt A. Tobin
f77d815b53 Issue #65 - Remove AppConstants from toolkit/mozapps/update 2020-02-08 07:12:32 +08:00
wolfbeast
0070369171 Issue #1342 - Remove support for system NSPR/NSS 2020-01-31 07:44:03 +08:00
Matt A. Tobin
2aca38b372 Issue #1359 - Pointlessly rename greprefs.. again. 2020-01-24 09:28:10 +08:00
Matt A. Tobin
70be4df40f No Issue - Execute the precomplete command on *nix AltPackaging
Windows does not need this as mar generation is dependent on the NSIS Installer which already contains the call
2019-12-10 10:50:31 +08:00
Roy Tam
d8c66d5b56 fix master branch build 2019-11-30 21:02:50 +08:00
Matt A. Tobin
1e7859111e Allow Solaris to use alt packaging for Pale Moon and Basilisk 2019-11-29 11:36:41 +08:00
Matt A. Tobin
94b1e61383 No Issue - Use alternative packaging for Pale Moon and Basilisk
* This adds what will eventually be a rewritten packaging routine while maintaining backwards compatibility with the original mozilla routine
* Changes the build target and installer makefile to use the alternative packaging
* Adds build target to specifically invoke the original mozilla routine
* Update mach commands accordingly
2019-11-28 10:32:44 +08:00
JustOff
c12890f12c Issue #1300 - Clear the message manager script cache when updating and removing add-ons 2019-11-28 10:32:39 +08:00
JustOff
e50e93cd7f Issue #1259 - Adjust Widewine strings after removing Adobe Primetime support 2019-11-22 10:48:13 +08:00
athenian200
6de8a0f12d MoonchildProductions#1251 - Part 1: Restore initial Solaris support, fixed up.
Compared with what Pale Moon had for Solaris originally, this is mostly the same zero point I started patching from, but I've made the following changes here after reviewing all this initial code I never looked at closely before.

1. In package-manifest.in for both Basilisk and Pale Moon, I've made the SPARC code for libfreebl not interefere with the x86 code, use the proper build flags, and also updated it to allow a SPARC64 build which is more likely to be used than the 32-bit SPARC code we had there.

2. See Mozilla bug #832272 and the old rules.mk patch from around Firefox 30 in oracle/solaris-userland. I believe they screwed up NSINSTALL on Solaris when they were trying to streamline the NSS buildsystem, because they started having unexplained issues with it around that time after Firefox 22 that they never properly resolved until Mozilla began building NSS with gyp files. I'm actually not even sure how relevant the thing they broke actually is to Solaris at this point, bug 665509 is so old it predates Firefox itself and goes back to the Mozilla suite days. I believe $(INSTALL) -t was wrong, and they meant $(NSINSTALL) -t because that makes more sense and is closer to what was there originally. It's what they have for WINNT, and it's possible a fix more like that could serve for Solaris as well. Alternatively, we could get rid of all these half-broken Makefiles and start building NSS with gyp files like Mozilla did.

3. I've completely cut out support for the Sun compiler and taken into account the reality that everyone builds Firefox (and therefore its forks) with GCC now on Solaris. This alone helped clean up a lot of the uglier parts of the code.

4. I've updated all remaining SOLARIS build flags to the newer XP_SOLARIS, because the SOLARIS flag is no longer set when building Solaris.

5. I've confirmed the workaround in gtxFontconfigFonts.cpp is no longer necessary. The Solaris people got impatient about implementing a half-baked patch for a fontconfig feature that wasn't ready yet back in 2009, and somehow convinced Mozilla to patch their software to work around it when really they should have just fixed or removed their broken fontconfig patch. The feature they wanted has since been implemented properly, and no version of Solaris still uses the broken patch that required this fix. If anyone had ever properly audited this code, it would have been removed a long time ago.
2019-11-04 11:52:13 +08:00