Commit Graph

767 Commits

Author SHA1 Message Date
Robin Steuber
2f86417468 Bug 1815019 - Customize 7z to write provenance data r=nalexander
This patch was heavily inspired by the existing 7z customizations that read the download token into the "postSigningData" file. In both cases, the installation self-extractor copies some data into the same temporary directory where the installer is written. It will then be up to the NSIS installer to copy that file into the installation directory (that work will be done later in this stack).

This patch also includes changes to some files that were regenerated based on the code changes made.
 - `mozilla_customizations.diff` was updated so that it still reflects all Mozilla-made code changes to 7z.
 - The `7zSD.ARM64.sfx` and `7zSD.Win32.sfx` executables were re-built from the new code.
 - `SFXSetup.vcxproj` was updated to use newer toolchains.

Differential Revision: https://phabricator.services.mozilla.com/D171109
2023-03-02 16:44:10 +00:00
Robin Steuber
42042888c1 Bug 1815019 - Document procedure for changing 7zstub r=nalexander
I wanted to figure out how to re-generate `mozilla_customizations.diff` in a way that matched the way that it was originally created. This is so that (a) I could ensure that I was starting with a clean slate and that the current `mozilla_customizations.diff` matched the existing changes to `other-licenses/7zstub/src` and (b) when I regenerated `mozilla_customizations.diff` after making further changes to it, the patch of the diff changes would be at least somewhat readable rather than being a huge mess.

Some aspects of regenerating it created changes that I think are appropriate (ex: the full path to the user directory being present in the diff'ed file names). There were also some changes that I just couldn't figure out how to avoid (ex: the length of the function name context line). I'm not sure what diff utility was originally used, but I'm hoping that documenting how I generated it this time will allow it to be generated consistently in the future. And this commit should bring it in line with that consistency.

Differential Revision: https://phabricator.services.mozilla.com/D171108
2023-03-02 16:44:10 +00:00
Sylvestre Ledru
11543ba854 Bug 1802290 - Remove +x permissions on more files r=linter-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D165841
2023-01-03 08:17:50 +00:00
James Teh
2802599def Bug 1800048: Don't expose the LINKS_TO relation via ATK and IA2. r=morgan
This relation isn't part of the ATK and IA2 specs.
In ATK and the older way of retrieving relations in IA2, we have to calculate all relations.
Since LINKS_TO can be slow and it isn't supported by ATK and IA2 anyway, let's just not expose it at all for them.

Differential Revision: https://phabricator.services.mozilla.com/D161775
2022-11-15 06:46:24 +00:00
Butkovits Atila
ac79dbae6a Backed out 2 changesets (bug 1800048) for causing failures at browser_caching_relations_002.js. CLOSED TREE
Backed out changeset 9d0e9bd86e73 (bug 1800048)
Backed out changeset 59b83f2de870 (bug 1800048)
2022-11-11 16:30:38 +02:00
James Teh
99e5d6af82 Bug 1800048: Don't expose the LINKS_TO relation via ATK and IA2. r=morgan
This relation isn't part of the ATK and IA2 specs.
In ATK and the older way of retrieving relations in IA2, we have to calculate all relations.
Since LINKS_TO can be slow and it isn't supported by ATK and IA2 anyway, let's just not expose it at all for them.

Differential Revision: https://phabricator.services.mozilla.com/D161775
2022-11-11 10:13:27 +00:00
Marian-Vasile Laza
99789d1ff6 Backed out changeset 09fb44f9d0b4 (bug 1800048) for causing mochitest failures on browser_caching_relations.js. CLOSED TREE 2022-11-11 07:27:50 +02:00
James Teh
be7e6f1f99 Bug 1800048: Don't expose the LINKS_TO relation via ATK and IA2. r=morgan
This relation isn't part of the ATK and IA2 specs.
In ATK and the older way of retrieving relations in IA2, we have to calculate all relations.
Since LINKS_TO can be slow and it isn't supported by ATK and IA2 anyway, let's just not expose it at all for them.

Differential Revision: https://phabricator.services.mozilla.com/D161775
2022-11-10 23:27:07 +00:00
Ryan VanderMeulen
eda51ed988 Bug 1743947 - Update Snappy to version 1.1.9. r=dom-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D132651
2022-07-12 15:38:23 +00:00
Ben Hearsum
0210e257d7 Bug 1771951: add pin to taskbar support in the installer on Windows 10 & 11 r=mhowell
This patch starts pinning Firefox to the Taskbar by default on all supported Windows versions. The main addition here is a port of our existing taskbar pinning code for modern Windows 10 & 11 versions to an NSIS plugin (compiled version also included).

After discussion with a few stakeholders, we also decided that we will never pin during an update on Windows 10 or 11. (Arguably we could stop on Windows 7 & 8 as well - but I don't really see any harm in carrying forward our pre-existing behaviour there.) With this in mind, I dropped all the second pinning attempt code (which was only ever enabled for Windows 10).

Differential Revision: https://phabricator.services.mozilla.com/D148288
2022-06-27 16:31:36 +00:00
Cristian Tuns
0ecf2c627a Backed out 2 changesets (bug 1771951) for causing build bustages on makensis.mk CLOSED TREE
Backed out changeset d5dc93904754 (bug 1771951)
Backed out changeset 9651db4a6e3f (bug 1771951)
2022-06-27 12:10:17 -04:00
Ben Hearsum
7b7e16ab55 Bug 1771951: add pin to taskbar support in the installer on Windows 10 & 11 r=mhowell
This patch starts pinning Firefox to the Taskbar by default on all supported Windows versions. The main addition here is a port of our existing taskbar pinning code for modern Windows 10 & 11 versions to an NSIS plugin (compiled version also included).

After discussion with a few stakeholders, we also decided that we will never pin during an update on Windows 10 or 11. (Arguably we could stop on Windows 7 & 8 as well - but I don't really see any harm in carrying forward our pre-existing behaviour there.) With this in mind, I dropped all the second pinning attempt code (which was only ever enabled for Windows 10).

Differential Revision: https://phabricator.services.mozilla.com/D148288
2022-06-27 15:52:24 +00:00
smolnar
45ecfdfaa2 Backed out 2 changesets (bug 1771951) for causing bug 1776170. CLOSED TREE
Backed out changeset 3a789d06604f (bug 1771951)
Backed out changeset 59eac90984cb (bug 1771951)
2022-06-23 15:14:20 +03:00
Ben Hearsum
fa35a4365f Bug 1771951: add pin to taskbar support in the installer on Windows 10 & 11 r=mhowell
This patch starts pinning Firefox to the Taskbar by default on all supported Windows versions. The main addition here is a port of our existing taskbar pinning code for modern Windows 10 & 11 versions to an NSIS plugin (compiled version also included).

After discussion with a few stakeholders, we also decided that we will never pin during an update on Windows 10 or 11. (Arguably we could stop on Windows 7 & 8 as well - but I don't really see any harm in carrying forward our pre-existing behaviour there.) With this in mind, I dropped all the second pinning attempt code (which was only ever enabled for Windows 10).

Differential Revision: https://phabricator.services.mozilla.com/D148288
2022-06-22 14:19:50 +00:00
Ben Hearsum
7ee91ad8fa Bug 1751450: update all NSIS plugin DLLs with signed copies. r=mhowell
For posterity, these were signed through our adhoc-signing system. Relevant links:
0acb7a37c2
https://firefox-ci-tc.services.mozilla.com/tasks/VxWxraRRRbuHwOpKvxW8lg
https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/VxWxraRRRbuHwOpKvxW8lg/runs/0/artifacts/public%2Fbuild%2Fnsis-plugins-signed.zip

Differential Revision: https://phabricator.services.mozilla.com/D147302
2022-05-25 15:21:13 +00:00
Mike Hommey
5245f8491f Bug 1733545 - Remove REQUIRES_UNIFIED_BUILD from third-party directories that don't need it. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D127229
2021-10-01 09:01:27 +00:00
Andi-Bogdan Postelnicu
2fc4f70e9b Bug 1725145 - Preparation for the hybrid build env. r=necko-reviewers,firefox-build-system-reviewers,valentin,glandium
Automatically generated path that adds flag `REQUIRES_UNIFIED_BUILD = True` to `moz.build`
when the module governed by the build config file is not buildable outside on the unified environment.

This needs to be done in order to have a hybrid build system that adds the possibility of combing
unified build components with ones that are built outside of the unified eco system.

Differential Revision: https://phabricator.services.mozilla.com/D122345
2021-08-25 10:46:17 +00:00
Morgan Reschenberg
5e6ca85357 Bug 1710751: Create LINKS_TO relation to track anchors and their corresponding elements r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D115841
2021-05-26 21:31:42 +00:00
Emilio Cobos Álvarez
bacf8a0988 Bug 1692893 - Minimal patch: Workaround atk extern "C" issue. r=Jamie
They include system headers inside extern "C", which seems wrong and
causes the issue. This is the minimal patch.

Differential Revision: https://phabricator.services.mozilla.com/D105217
2021-02-16 00:40:33 +00:00
Petr Sumbera
ae412ef826 Bug 1691957 - Snappy 1.1.8 now requires SNAPPY_IS_BIG_ENDIAN on big endian systems r=dom-storage-reviewers,sg
Differential Revision: https://phabricator.services.mozilla.com/D104686
2021-02-11 08:56:23 +00:00
ssengupta
070a49e060 Bug 1340901 - Update Snappy to version 1.1.8. r=dom-workers-and-storage-reviewers,asuth
Add a static assertion in IndexedDB to detect future updates.

Differential Revision: https://phabricator.services.mozilla.com/D56708
2021-01-26 17:27:14 +00:00
Adam Gashlin
23d03c7659 Bug 1461690 Part 3: HttpPostFile plugin for uploading uninstall ping via POST. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D93717
2020-10-20 23:20:25 +00:00
Chris Peterson
35d27dc9bd Bug 1663217 - Remove MOZ_MUST_USE comment from NSIS BitsUtils.cpp. r=agashlin
The MOZ_MUST_USE macro is defined as clang's and gcc's nonstandard __attribute__((warn_unused_result)). Now that we compile as C++17 by default (bug 1560664), we can replace MOZ_MUST_USE with C++17's standard [[nodiscard]] attribute.

BitsUtils.cpp only references MOZ_MUST_USE in a comment about forking a copy of mozilla::ScopeExit to remove some dependencies on other Mozilla header files (including MOZ_MUST_USE from mfbt/Attributes.h). [[nodiscard]] doesn't require a header file, so we can just remove this comment about MOZ_MUST_USE.

Differential Revision: https://phabricator.services.mozilla.com/D89296
2020-09-09 17:23:34 +00:00
Ricky Stewart
ab55fb68d1 Bug 1634535 - Move ply to third_party/python r=glandium
The license used to be LGPL so the code lived in other-licenses, but it was changed to BSD eleven years ago. Let's move it over to third_party/python/ply where it belongs.

    ./mach vendor python ply==3.10

`diff -r` between the original `ply` directory and the new one only comes up with the new file `third_party/python/ply/CHANGES` which isn't relevant to the functionality of the code, so this should be a no-op all told.

Differential Revision: https://phabricator.services.mozilla.com/D73341
2020-05-05 16:02:02 +00:00
Adam Gashlin
99507c9f56 Bug 1632463 - Part 2: Update WebBrowser.dll r=mhowell
Depends on D72993

Differential Revision: https://phabricator.services.mozilla.com/D72994
2020-04-29 14:23:33 +00:00
Adam Gashlin
180beff6bf Bug 1632463 - Part 1: Pass no window to ExecuteCodeSegment. r=mhowell
The second argument to `ExecuteCodeSegment` is for a progress bar, not the parent window.

Differential Revision: https://phabricator.services.mozilla.com/D72993
2020-04-29 15:39:56 +00:00
Molly Howell
4fa722c1a4 Bug 1632807 - Keep the WebBrowser plugin DLL from being unloaded after creating a timer. r=agashlin
Differential Revision: https://phabricator.services.mozilla.com/D72415
2020-04-24 19:10:34 +00:00
Molly Howell
a626ea5c04 Bug 1596812 Part 3 - Compiled binary for the WebBrowser plugin. r=agashlin
Depends on D56577

Differential Revision: https://phabricator.services.mozilla.com/D56579
2020-04-20 03:06:07 +00:00
Molly Howell
427b6069a2 Bug 1596812 Part 2 - NSIS WebBrowser plugin. r=agashlin,nalexander
This is all the code and build files for an NSIS plugin that enables
rendering a web page as the content of an NSIS dialog.

Documentation and the compiled binary are in later commits in this series.

Depends on D56576

Differential Revision: https://phabricator.services.mozilla.com/D56577
2020-04-20 03:06:07 +00:00
Molly Howell
5d3ac9a948 Bug 1596812 Part 1 - Update our custom nsisui.exe. r=agashlin
Minify this file by removing the dialogs we don't need and hiding all the
unnecessary controls in the one we do need, so the stub installer code
doesn't have to do that manually (I would have removed those controls
altogether, but the NSIS compiler errors out if you do that).

The dialog resources were edited directly in-place using
Resource Hacker <http://angusj.com/resourcehacker/>.

Differential Revision: https://phabricator.services.mozilla.com/D56576
2020-04-20 03:06:07 +00:00
Kristen Wright
d503edf240 Bug 1621359 - Update ply to ply 3.10 r=firefox-build-system-reviewers,rstewart
This is the most recent version of ply to still support python 3.5.

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

--HG--
extra : moz-landing-system : lando
2020-04-14 17:17:38 +00:00
Chris Fronk
d5b004443b Bug 1143478 - Rename mozilla::Pair to CompactPair. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D64511

--HG--
rename : mfbt/Pair.h => mfbt/CompactPair.h
extra : moz-landing-system : lando
2020-03-17 12:42:12 +00:00
shindli
b02b3a6e1a Backed out changeset a08637fb30c8 (bug 1143478) for causing bustages in /builds/worker/checkouts/gecko/ipc/mscom/Registration.cpp CLOSED TREE
--HG--
rename : mfbt/CompactPair.h => mfbt/Pair.h
2020-03-11 14:30:54 +02:00
Chris Fronk
a27e438c2d Bug 1143478 - Rename mozilla::Pair to CompactPair. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D64511

--HG--
rename : mfbt/Pair.h => mfbt/CompactPair.h
extra : moz-landing-system : lando
2020-03-11 12:18:13 +00:00
Marco Zehe
9a4147ed3f Bug 1618103 Part 2 - Update ATK header file to pick up new roles, r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D64337

--HG--
extra : moz-landing-system : lando
2020-02-27 21:45:55 +00:00
Marco Zehe
02c9780849 Bug 1618103 - Update IA2 IDLs to commit cbc1f296317809f841303aadfbd67e71337c1a55, r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D64287

--HG--
extra : moz-landing-system : lando
2020-02-27 21:38:00 +00:00
Csoregi Natalia
d9fa427ca2 Backed out changeset fbbb42a15738 (bug 1585356) for bustage on city.cpp. CLOSED TREE 2020-01-08 00:51:00 +02:00
Tom Ritter
aa7780103d Bug 1585356 - Back out changeset 149a759643fb reverting CityHash changes for mingw-gcc r=froydnj
The changes made to CityHash are no longer necessary with mingw-clang, so we
can revert them to the original upstream implementation.

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

--HG--
extra : moz-landing-system : lando
2019-12-12 21:50:20 +00:00
Matt Howell
dd5dc8cac7 Bug 1578489 - New Windows installer icon. r=agashlin
This patch includes:
* The new icon file itself
* A modified Win32 SFX binary with the icon resource replaced and no other changes
* A rebuilt ARM64 binary (because rebuilding it is just as easy as resource hacking it)
* And I also took the opportunity to update the VC project to the 2019 toolchain
  and removed the requirement for a particular Windows 10 SDK version.

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

--HG--
extra : moz-landing-system : lando
2019-09-23 22:00:43 +00:00
Tom Prince
0cd3337d90 Bug 1458385: Package mar and mbsdiff as a toolchain; r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D24229

--HG--
extra : moz-landing-system : lando
2019-07-11 16:40:13 +00:00
Matt Howell
81242f6518 Bug 1553537 Part 2 - Port the InetBgDL plugin to Visual Studio 2019. r=agashlin
Depends on D33844

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

--HG--
extra : moz-landing-system : lando
2019-06-25 00:34:13 +00:00
Matt Howell
9dfa7385c3 Bug 1553537 Part 1 - Close our WinInet handles before terminating the file transfer thread. r=agashlin
Also reduce the timeout for terminating the thread to 5 seconds, because 10
seconds is too long to be completely hanging the UI.

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

--HG--
extra : moz-landing-system : lando
2019-07-01 18:30:25 +00:00
Adam Gashlin
97ebd76f82 Bug 1523802 - Cancel BITS jobs in uninstaller. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D22442

--HG--
extra : moz-landing-system : lando
2019-04-30 15:25:48 +00:00
Matt Howell
4b0a8ec90f Bug 1538249 - Support pinning to the taskbar on Windows 10. r=agashlin
--HG--
extra : source : bb7191521d2633228538d638afd76c4a7ea579da
2018-10-15 08:13:12 -07:00
Daniel Varga
6d6f6dadce Backed out 4 changesets (bug 1458385) for nightly updates fail. a=backout
Backed out changeset 09338587b68e (bug 1458385)
Backed out changeset f7791b680d46 (bug 1458385)
Backed out changeset cc06a7beb3d1 (bug 1458385)
Backed out changeset 3b10487587c3 (bug 1458385)
2019-04-10 21:09:46 +03:00
Tom Prince
b4e1868e59 Bug 1458385: Package mar and mbsdiff as a toolchain; r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D24229

--HG--
extra : moz-landing-system : lando
2019-04-06 05:49:31 +00:00
Petr Sumbera
d7ba2cef0e Bug 1540142 - Avoid SIGBUS on SPARC systems due CityHash64 r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D25442

--HG--
extra : moz-landing-system : lando
2019-04-02 17:27:56 +00:00
Oana Pop Rus
d9ec36d04f Backed out 3 changesets (bug 1458385) for windows partial bustages. a=backout
Backed out changeset 8036c03c3b51 (bug 1458385)
Backed out changeset 99fa5539c2bd (bug 1458385)
Backed out changeset 9a5f255979c2 (bug 1458385)
2019-03-28 15:13:13 +02:00
Tom Prince
fbb8603385 Bug 1458385: Package mar and mbsdiff as a toolchain; r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D24229

--HG--
extra : moz-landing-system : lando
2019-03-27 22:30:44 +00:00
Samuel Thibault
782e0fca1e Bug 1523118 atk: Implement scrollsubstringto ATK API. r=surkov 2019-01-26 20:38:53 +01:00