Граф коммитов

1360 Коммитов

Автор SHA1 Сообщение Дата
Mike Hommey 377bf07175 Bug 1675740 - Allow differences between x86_64 and aarch64 mac builds due to rlbox. r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D96688
2020-11-11 16:23:29 +00:00
Mike Hommey e5d57ee87a Bug 1676547 - Change unify.py description. r=firefox-build-system-reviewers,rstewart
And don't pass sys.argv to parse_args.

Differential Revision: https://phabricator.services.mozilla.com/D96659
2020-11-11 16:00:02 +00:00
Mike Hommey 15ca45ea8c Bug 1675384 - Add a script that allows to unify two mac builds into one universal build. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D96172
2020-11-06 21:45:48 +00:00
Mike Hommey 767eea09f0 Bug 1675477 - Remove MozillaDeveloper*Path from Info.plist. r=firefox-build-system-reviewers,haik,mhentges
They cause differences between the x86-64 and arm64 halves of a
universal build, and are not necessary in release builds.

As a side effect, we now end up normalizing Info.plist contents.

Differential Revision: https://phabricator.services.mozilla.com/D96015
2020-11-05 20:24:26 +00:00
Ricky Stewart efcaf31d7e Bug 1674236 - Call `$(PYTHON3) mach` instead of `mach` in a few places in Makefiles r=nalexander
If you just call into `mach` directly, `mach` will select the `python3` binary at the front of the `PATH`, which may not be the configured `PYTHON3` binary. Instead, we explicitly call `$(PYTHON3) mach`.

In at least one place, [we call into a Python 2-only `mach` command](https://searchfox.org/mozilla-central/rev/d866b96d74ec2a63f09ee418f048d23f4fd379a2/Makefile.in#142). We should do the same in that case once `mach android` is converted to Python 3 (see bug 1638947).

The Gradle files are another place where we [call directly into `mach`](https://searchfox.org/mozilla-central/rev/d866b96d74ec2a63f09ee418f048d23f4fd379a2/settings.gradle#5) that should also be fixed. The comment in `settings.gradle` ("gradle is called before parsing config.status, we cannot use PYTHON") suggests this may not be possible though. I'll follow up about that.

Differential Revision: https://phabricator.services.mozilla.com/D95216
2020-10-30 16:08:14 +00:00
Nick Alexander 2466eeaf4a Bug 1639613 - Make Windows uninstaller conditionally request UAC elevation when silent. r=mhowell
This essentially cribs the equivalent installer conditional elevation.
I elected to guard this behind /S (silent) because it's not obvious to
me that unelevated users will see identical behaviour when not
elevating.

Differential Revision: https://phabricator.services.mozilla.com/D76254
2020-10-26 20:56:34 +00:00
Ricky Stewart 02a7b4ebdf Bug 1654103: Standardize on Black for Python code in `mozilla-central`.
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-26 18:34:53 +00:00
Bogdan Tara da1098d4aa Backed out 10 changesets (bug 1654103, bug 1672023, bug 1518999) for PanZoomControllerTest.touchEventForResult gv-junit failures CLOSED TREE
Backed out changeset ff3fb0b4a512 (bug 1672023)
Backed out changeset e7834b600201 (bug 1654103)
Backed out changeset 807893ca8069 (bug 1518999)
Backed out changeset 13e6b92440e9 (bug 1518999)
Backed out changeset 8b2ac5a6c98a (bug 1518999)
Backed out changeset 575748295752 (bug 1518999)
Backed out changeset 65f07ce7b39b (bug 1518999)
Backed out changeset 4bb80556158d (bug 1518999)
Backed out changeset 8ac8461d7bd7 (bug 1518999)
Backed out changeset e8ba13ee17f5 (bug 1518999)
2020-10-24 03:36:18 +03:00
Ricky Stewart c0cea3b0fa Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-23 20:40:42 +00:00
Dorel Luca 1ff59cb7a3 Backed out changeset 7558c8821a07 (bug 1654103) for multiple failures. CLOSED TREE 2020-10-22 03:51:06 +03:00
Ricky Stewart 50762dacab Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-21 21:27:27 +00:00
Adam Gashlin 310b37b21a Bug 1461690 Part 4: Submit ping in uninstaller. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D93718
2020-10-20 23:24:08 +00:00
Molly Howell d1a5ae0ea5 Bug 1671715 - Don't try to reboot if cleaning up UpdateLogs fails. r=agashlin
My patch for bug 1665195 included a REBOOTOK flag because I wanted to make
sure the UpdateLogs directory would get deleted even if doing so failed at the
moment. What I didn't realize is that the RmDir instruction will set the reboot
flag if removing the directory fails for any reason whatsoever, even if it's
just because the directory wasn't empty, in which case rebooting wouldn't help.
For some reason I thought there was a check for that condition, but having now
had a look in the NSIS source, there is not.

There's no easy way to check for ourselves whether the directory is empty or
not, so to avoid a spurious reboot prompt from either the installer or the
uninstaller, this patch just gives up on the REBOOTOK flag.

Differential Revision: https://phabricator.services.mozilla.com/D93860
2020-10-16 22:50:11 +00:00
Ricky Stewart 362abcf949 Bug 1670357 - Remove `make` targets for cleaning: `clean`, `realclean`, `clobber`, `distclean`, `clobber_all`, `everything` r=firefox-build-system-reviewers,mhentges
The `clobber` targets are superseded by `mach clobber`, so we don't need them for any reason. The `clean` target is meant to get you to a post-`configure` state, but it doesn't really work, and if it's necessary for you to be in that state for some reason you can just clobber and re-`configure`, so it doesn't seem worth it to get it working again. Instead, delete all of them. Also delete `everything` which is not useful when `clobber` doesn't exist.

Differential Revision: https://phabricator.services.mozilla.com/D93514
2020-10-15 20:37:18 +00:00
Ricky Stewart de577685b7 Bug 1665013 - Support basic symbols (e.g. function names) in GDB for the JS shell r=decoder
This is very similar to [this Phabricator revision](https://phabricator.services.mozilla.com/D87283?vs=on&id=328442#toc), which was backed out. It works fine except it was breaking artifact builds, so we just fix that.

Differential Revision: https://phabricator.services.mozilla.com/D91489
2020-09-29 08:18:32 +00:00
Molly Howell 8eb91f6860 Bug 1665195 - Also delete the UpdateLogs directory from the Firefox uninstaller. r=agashlin
Differential Revision: https://phabricator.services.mozilla.com/D90317
2020-09-15 23:41:50 +00:00
Christian Holler 478cfb5589 Bug 1659452 - Temporarily disable stripping for JS shell binaries. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D87283
2020-08-19 10:16:33 +00:00
Kirk Steuber 2f3f12ce70 Bug 1633899 - Add localized ini with WDBA task description r=mhowell,Pike
Differential Revision: https://phabricator.services.mozilla.com/D84620
2020-08-14 18:14:13 +00:00
Mike Hommey c9ae9101aa Bug 1651680 - Replace PKG_SKIP_STRIP with PKG_STRIP. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D86648
2020-08-11 02:44:17 +00:00
Razvan Maries 6d82f7f1a0 Backed out 2 changesets (bug 1651680) for L10n bustages. CLOSED TREE
Backed out changeset 09a5f4dcd92a (bug 1651680)
Backed out changeset 13a881966dda (bug 1651680)
2020-08-11 05:40:47 +03:00
Mike Hommey 6714f1ec83 Bug 1651680 - Replace PKG_SKIP_STRIP with PKG_STRIP. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D86648
2020-08-11 00:07:02 +00:00
Mike Hommey 38cc2e0609 Bug 1654994 - Switch full symbols archive to tar.zst. r=firefox-build-system-reviewers,rstewart,tomprince
Differential Revision: https://phabricator.services.mozilla.com/D85252
2020-07-31 20:27:54 +00:00
Dorel Luca 0226b8feef Backed out 6 changesets (bug 1654994) for build bustage on fuzzy builds. DONTBUILD
Backed out changeset cd3e1074b785 (bug 1654994)
Backed out changeset 45ee50e76d61 (bug 1654994)
Backed out changeset 77f1b667baec (bug 1654994)
Backed out changeset 9fca8b0bf8c1 (bug 1654994)
Backed out changeset 7131943d8db9 (bug 1654994)
Backed out changeset 435b90f6ca70 (bug 1654994)
2020-07-31 12:36:14 +03:00
Mike Hommey 311e167747 Bug 1654994 - Switch full symbols archive to tar.zst. r=firefox-build-system-reviewers,rstewart,tomprince
Differential Revision: https://phabricator.services.mozilla.com/D85252
2020-07-30 22:21:28 +00:00
Molly Howell 272f16a911 Bug 1654913 - Remove Maintenance Service UpdateLogs directory during uninstall. r=agashlin
Since bug 1510494, when the maintenance service is used, we create update log
and status files inside the service directory and then move them into the
regular update directory when finished. However, the directory those temp
files are stored in did not get added to the uninstallers, so it doesn't
get removed as it should.

This patch has two parts. First, the Firefox uninstaller now removes any log
files created for the installation it's uninstalling (there is only one
directory and the files for different installation are differentiated by name).
Second, the maintenace service uninstaller, when it gets run by the uninstaller
for the last copy of Firefox on the system, removes the UpdateLogs directory
itself, provided it is empty, which is should be at that point since all
installations have been removed and have cleaned up their own files.

Differential Revision: https://phabricator.services.mozilla.com/D85074
2020-07-29 23:35:48 +00:00
Mike Hommey 346efbb8bc Bug 689178 - Remove remainder of elfhack workaround from bug 822584. r=froydnj
This is a rebase of a 7-year-old patch that was r=ted. The main part of
the patch was actually already removed in bug 1389598.

Differential Revision: https://phabricator.services.mozilla.com/D81027
2020-06-25 12:50:37 +00:00
Kirk Steuber 4508087796 Bug 1621696 - Add localization for the default browser agent r=Pike,froydnj,nalexander
Make default browser agent aware of the package-time locale, and lay the foundation for future localization.

The `locale.ini` file captures the package-time locale.  It is equivalent to `update.locale`, except it is formatted as an INI file and is not packaged into the omnijar.

The string are processing is structured to use `LOCALIZED_GENERATED_FILES` in the future, but at this time there's no localization.

Differential Revision: https://phabricator.services.mozilla.com/D73955
2020-07-01 18:40:29 +00:00
Adam Gashlin e38a47a505 Bug 1633505 - Show refresh button within the uninstaller. r=mhowell
Detect a profile for the installation, if found offer refresh on welcome page:
- Replace text
- Add help link and button

Add a different prompt to close the browser for refresh.

When leaving the welcome page:
- via help link, launch a URL
- via Refresh button, launch Firefox with the necessary args

Add utility functions to launch the link and Firefox.

Remove the UN_CONFIRM_CLICK label and hide the subheading, this was an
addition to the design. Move down UN_CONFIRM_PAGE_TITLE to fill in the space.

Move the check for the install-specific profile to common.nsh from stub.nsi,
wrapped in stack ops to save regs and with _MOZFUNC_UN for uninstaller compat.

Move InitHashAppModelId to just after un.UninstallUnOnInitCommon (which sets
$INSTDIR correctly), so AUMID would be available in un.PreWelcome. I don't
think there's anything else that would change $INSTDIR in the uninstaller
so this should be ok.

Unrelated but adjacent cleanup: Remove inappropriate use of _MOZFUNC_UN
in CopyPostSigningData.

Differential Revision: https://phabricator.services.mozilla.com/D76435
2020-05-26 21:47:58 +00:00
Ricky Stewart e2fe57521b Bug 1638060 - Standardize interface of `mozfile` classes as `bytes`-based streams r=glandium
At the beginning of the Python 3 migration (circa bug 1602540), we made an update to the interface of `mozpack/files.py` in the direction of aligning with Python 3's built-in `file` support; namely, that opening a file in text mode returns a stream of `str` (text), and that opening a file in binary mode returns a stream of `bytes`. This was deemed to be more trouble than it was worth. This patch undoes all of those changes to the interface in favor of moving back to the Python 2 style, where all files are bytestreams.

Differential Revision: https://phabricator.services.mozilla.com/D75424
2020-05-22 01:11:29 +00:00
Ricky Stewart 56c10c5aa2 Bug 1633037 - Remove all remaining references to $(PYTHON) across Makefiles r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D72894
2020-05-05 20:32:23 +00:00
Ricky Stewart 4d4b22b3de Bug 1599658 - Delete previous definition of py_action in Makefiles. Now py_action calls into Python 3 and py3_action doesn't exist. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D72487
2020-05-05 20:04:30 +00:00
Ricky Stewart fd72a5d35e Bug 1633016 - Remove a bunch of references to PYTHON(2) in Makefiles r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D72479
2020-05-05 19:53:22 +00:00
Bogdan Tara f137fa0613 Backed out 6 changesets (bug 1632916, bug 1599658, bug 1633037, bug 1633039, bug 1633016, bug 1632920) for SA bustages CLOSED TREE
Backed out changeset 332ce0963b4e (bug 1633039)
Backed out changeset a9904cbc40d9 (bug 1633037)
Backed out changeset d06b0ec349f8 (bug 1599658)
Backed out changeset 8fd300cad80f (bug 1633016)
Backed out changeset f8820941c703 (bug 1632916)
Backed out changeset ac9c2c8746ed (bug 1632920)
2020-05-02 01:49:29 +03:00
Ricky Stewart 69685d8ab5 Bug 1633037 - Remove all remaining references to $(PYTHON) across Makefiles r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D72894
2020-05-01 16:19:21 +00:00
Ricky Stewart 0daacc12c3 Bug 1599658 - Delete previous definition of py_action in Makefiles. Now py_action calls into Python 3 and py3_action doesn't exist. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D72487
2020-04-30 15:27:13 +00:00
Ricky Stewart bb4e86d85a Bug 1633016 - Remove a bunch of references to PYTHON(2) in Makefiles r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D72479
2020-04-30 15:25:22 +00:00
Adam Gashlin d7e841caa2 Bug 1316136 - Support post-signing/attribution data in full installer. r=mhowell
This reuses some logic from the stub installer, moved into common.nsh.

Differential Revision: https://phabricator.services.mozilla.com/D72078
2020-04-23 21:16:20 +00:00
Molly Howell 8975fd16ef Bug 1596812 Part 6 - Replace the stub installer UI code with calls to the web plugin. r=agashlin
Depends on D56581

Differential Revision: https://phabricator.services.mozilla.com/D56582
2020-04-20 03:06:08 +00:00
Molly Howell ac9a11a37a Bug 1596812 Part 4 - Add the WebBrowser plugin to the installer build files. r=agashlin,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D56580
2020-04-20 03:06:07 +00:00
jayati 0eac3c871d Bug 1466357 - Use RefreshShellIcons instead of manually reimplementing it for Windows installer. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D67379

--HG--
extra : moz-landing-system : lando
2020-03-18 20:33:19 +00:00
William Lachance e4da848fd8 Bug 1623132 - Rewrite printconfigsetting to use configparser, python 3 r=rstewart
Differential Revision: https://phabricator.services.mozilla.com/D67210

--HG--
extra : moz-landing-system : lando
2020-03-18 15:07:24 +00:00
Molly Howell e13554f0e7 Bug 1602463 Part 4 - Register/unregister the default browser agent scheduled task during install/uninstall. r=agashlin,bytesized,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D61891

--HG--
extra : moz-landing-system : lando
2020-03-16 18:32:58 +00:00
Mihai Alexandru Michis 12c2ba4b56 Backed out 5 changesets (bug 1602463) for causing diffoscope failures.
CLOSED TREE

Backed out changeset ff565862e785 (bug 1602463)
Backed out changeset 2583a2703658 (bug 1602463)
Backed out changeset 8f3de97c5d50 (bug 1602463)
Backed out changeset be11972a8149 (bug 1602463)
Backed out changeset 5a6058d8266c (bug 1602463)
2020-03-16 20:29:20 +02:00
Molly Howell be2e8b6844 Bug 1602463 Part 4 - Register/unregister the default browser agent scheduled task during install/uninstall. r=agashlin,bytesized,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D61891

--HG--
extra : moz-landing-system : lando
2020-03-16 15:12:33 +00:00
Mike Shal fb3b0075d1 Bug 1607193 - Remove l10n-check; r=firefox-build-system-reviewers,rstewart
Depends on D66715

Differential Revision: https://phabricator.services.mozilla.com/D66716

--HG--
extra : moz-landing-system : lando
2020-03-13 18:34:28 +00:00
Ben Hearsum 644c3e8d4f Bug 1619985: use a unique package platform for aarch64 windows builds r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D66278

--HG--
extra : moz-landing-system : lando
2020-03-10 18:31:16 +00:00
Ian Neal 7ccd5729a2 Bug 1621564 - 75.0beta source tarballs dont contain third_party/rust/failure/.github-ci.yml -> failure to build r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D66373

--HG--
extra : moz-landing-system : lando
2020-03-11 10:35:48 +00:00
Mike Shal d6e9df170e Bug 1620744 - Convert test_archive action to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65858

--HG--
extra : moz-landing-system : lando
2020-03-10 20:19:49 +00:00
Mike Shal 4017368b2f Bug 1620744 - Use py3_action for cases that already support it; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65846

--HG--
extra : moz-landing-system : lando
2020-03-10 20:19:13 +00:00
Daniel Varga 09acd57d19 Backed out 13 changesets (bug 1620744) for causing diffoscope failures firefox/browser/chrome/browser/content/browser/built_in_addons.json
CLOSED TREE

Backed out changeset 6beda54bcb9b (bug 1620744)
Backed out changeset a1e97f0b91ef (bug 1620744)
Backed out changeset b8faa0184d4f (bug 1620744)
Backed out changeset 3bc8fda68107 (bug 1620744)
Backed out changeset 8e95b21b2ae3 (bug 1620744)
Backed out changeset 1de09de1a802 (bug 1620744)
Backed out changeset 622a2f7414fa (bug 1620744)
Backed out changeset 3372c9ab721c (bug 1620744)
Backed out changeset 0997313a9f99 (bug 1620744)
Backed out changeset 2fa34749bbfa (bug 1620744)
Backed out changeset 6d597d2eb792 (bug 1620744)
Backed out changeset 78e78f7c7b26 (bug 1620744)
Backed out changeset 6e4d85b19f88 (bug 1620744)
2020-03-10 21:13:18 +02:00