Commit Graph

749 Commits

Author SHA1 Message Date
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
Matt Howell
9c2e27563a Bug 1514806 Part 4 - Update the LZMA SDK package documentation to explain the new files. r=agashlin
Differential Revision: https://phabricator.services.mozilla.com/D15982

--HG--
extra : moz-landing-system : lando
2019-01-22 21:58:47 +00:00
Matt Howell
add50d93cd Bug 1514806 Part 3 - Add the new AArch64 7-zip SFX stub binary. r=agashlin
Differential Revision: https://phabricator.services.mozilla.com/D15980

--HG--
extra : moz-landing-system : lando
2019-01-22 21:58:45 +00:00
Matt Howell
7d3b8ea3ad Bug 1514806 Part 2 - Add build files necessary for compiling a 7-zip SFX stub for AArch64. r=agashlin
Differential Revision: https://phabricator.services.mozilla.com/D15979

--HG--
extra : moz-landing-system : lando
2019-01-22 21:58:43 +00:00
Matt Howell
56b9b29d4f Bug 1514806 Part 1 - Rename the existing x86 7-zip SFX files to indicate what platform they're for. r=agashlin
Differential Revision: https://phabricator.services.mozilla.com/D15978

--HG--
rename : other-licenses/7zstub/firefox/7zSD.sfx => other-licenses/7zstub/firefox/7zSD.Win32.sfx
rename : other-licenses/7zstub/firefox/7zSD.manifest => other-licenses/7zstub/firefox/7zSD.win32.manifest
extra : moz-landing-system : lando
2019-01-22 21:57:09 +00:00
Cosmin Sabou
1558607307 Backed out 6 changesets (bug 1514806) for causing windows 2012 opt repack bustages.
Backed out changeset 63debb1d02d3 (bug 1514806)
Backed out changeset 803d20ba3f80 (bug 1514806)
Backed out changeset 3b95c5d8466d (bug 1514806)
Backed out changeset eb09e108a439 (bug 1514806)
Backed out changeset 6a738993de29 (bug 1514806)
Backed out changeset 303b19a8b923 (bug 1514806)

--HG--
rename : other-licenses/7zstub/firefox/7zSD.win32.manifest => other-licenses/7zstub/firefox/7zSD.manifest
rename : other-licenses/7zstub/firefox/7zSD.Win32.sfx => other-licenses/7zstub/firefox/7zSD.sfx
2019-01-15 19:17:09 +02:00
Matt Howell
4bc199a4ea Bug 1514806 Part 4 - Update the LZMA SDK package documentation to explain the new files. r=agashlin
Differential Revision: https://phabricator.services.mozilla.com/D15982

--HG--
extra : moz-landing-system : lando
2019-01-14 21:58:38 +00:00
Matt Howell
e72c0f5f13 Bug 1514806 Part 3 - Add the new AArch64 7-zip SFX stub binary. r=agashlin
Differential Revision: https://phabricator.services.mozilla.com/D15980

--HG--
extra : moz-landing-system : lando
2019-01-15 01:44:07 +00:00
Matt Howell
b00e64a457 Bug 1514806 Part 2 - Add build files necessary for compiling a 7-zip SFX stub for AArch64. r=agashlin
Differential Revision: https://phabricator.services.mozilla.com/D15979

--HG--
extra : moz-landing-system : lando
2019-01-15 01:42:19 +00:00
Matt Howell
6ca7db2669 Bug 1514806 Part 1 - Rename the existing x86 7-zip SFX files to indicate what platform they're for. r=agashlin
Differential Revision: https://phabricator.services.mozilla.com/D15978

--HG--
rename : other-licenses/7zstub/firefox/7zSD.sfx => other-licenses/7zstub/firefox/7zSD.Win32.sfx
rename : other-licenses/7zstub/firefox/7zSD.manifest => other-licenses/7zstub/firefox/7zSD.win32.manifest
extra : moz-landing-system : lando
2019-01-14 21:57:52 +00:00
Robert Strong
6468b181f7 Bug 1514532 - the modules/libmar directory isn't clang formatted and there are a few deprecation warnings in app update code. r=mhowell
Added defines to mar_extract.c, mar_read.c, bsdiff.c so they use the ISO C and C++ conformant name.
Ran clang format on bspatch.cpp and the files under modules/libmar except for nss_secutil.c and nss_secutil.h since they are copies of nss code.
2018-12-17 11:17:21 -08:00
June Wilde
64fa52c710 Bug 1468544 - Replace mar_hash_name with CityHash algorithm. r=rstrong
Make CityHash64, CityHash64WithSeed, and CityHash64WithSeeds usable from C code
Remove unnecessary includes from mar_read.c as well
Add DisableStlWrapping to mar tool's moz.build to fix linkage break when
building in Windows with MSVC

Differential Revision: https://phabricator.services.mozilla.com/D10774
2018-11-06 13:34:21 -05:00
Matt Howell
7f58899c3a Bug 1453613 Part 1 - Update nsJSON to 1.1.1.0. r=agashlin
We need to be able to send POST data that's encoded as UTF-8, but the older
version of nsJSON we currently have only support UTF-16.

--HG--
extra : source : 5d5494bb34e57e4ee1b51233bf9f6b86301f900c
2018-10-15 11:20:34 -07:00
Matt Howell
0a2b8ab1cf Bug 1465212 - Fix command line parameter checking in ExecInExplorer plugin. r=agashlin
Because of a silly logic error I made in bug 1494900, the optional command line
parameter support introduced there doesn't actually work at all; I reversed the
sense of the check for the NSIS stack being empty. This fixes that by just using
the check that the popstring function was already doing.

--HG--
extra : rebase_source : e63b70579810af5774e237c619b29fb71012ea8c
extra : source : 58a29f64dd06d4e66e6faf047e2356decc5904f4
2018-10-02 09:23:29 -07:00
Matt Howell
f24bfd51d1 Bug 1494900 Part 1 - Support optional command line arguments in the ExecInExplorer plugin. r=agashlin
--HG--
extra : source : bf2970a4e14d222a57a90a77ee0e829984d44baa
2018-09-28 08:43:17 -07:00
Matt Howell
0d3162b8a7 Bug 1490264 Part 2 - Document our SFX stub version resource edits. r=agashlin
Also take the opportunity to add specific instructions about how to rebuild 7zSD.sfx.

--HG--
extra : source : b661b49403a54fa36d2f1e04c0fa7ea7c53764c7
2018-09-11 11:17:30 -07:00
Matt Howell
3f6125f117 Bug 1490264 Part 1 - Correct Windows installer SFX stub vendor and description. r=agashlin
--HG--
extra : source : c61fe74a30492785c43766e5802db24a1a0200dd
2018-09-11 10:43:36 -07:00
Petr Sumbera
8138b21724 Bug 1488217 build correctly snappy on big endian platforms r=glandium 2018-09-03 14:10:10 +00:00
Matt Howell
e5ac65140a Bug 1486376 Part 7 - Reapply the portion of bug 1425468 that involves this code. r=agashlin
Also take the opportunity to add that change to mozilla_customizations.diff and
to correct the line endings in the files that it contains changes to.

--HG--
extra : rebase_source : 10df36760e1f8cc0e8b2f93b47e76c27dcc912cc
extra : source : 9a448a33f4b43ef8572d80bc7b27c7a831f122c2
2018-08-30 15:32:10 -07:00