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

67 Коммитов

Автор SHA1 Сообщение Дата
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
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
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
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 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
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
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
Dave Townsend b3c5fb9be4 Bug 1484846: Expose a unique hash for the application install directory. r=froydnj
Profile-per-install uses a hash of the install directory to identify different
installs of Firefox. This exposes the existing cityhash generated hash from
nsXREDirProvider and makes it available on all platforms.

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

--HG--
extra : moz-landing-system : lando
2018-08-21 14:53:03 +00:00
Matt Howell b273e46072 Bug 1448804 Part 1 - NSIS plugin for creating unelevated processes from an elevated [un]installer. r=aklotz
MozReview-Commit-ID: 7ROEIkvm0QL

--HG--
extra : rebase_source : a6260f350881cafd2b615b1d3cba3b7af4e96e9e
2018-07-09 10:49:36 -07:00
Matt Howell 6a0e837433 Bug 799710 - Move installer certificate validation to its own thread. r=agashlin
We occasionally get reports of UI unresponsiveness immediately following the
download phase of the stub installer. The longest operation that runs on the
main thread during this phase is validating the code signature of the full
installer. This patch moves that work (which is done in a native NSIS plugin)
to a separate thread. Hopefully this helps resolve the hangs.

I've also converted the build files for the plugin from Visual C++ 6 to 2017,
just to avoid the inconvenience of needing to pull up VC6 to build it.

MozReview-Commit-ID: CKje2a8M62i

--HG--
extra : rebase_source : ec9a11268eed3c4f9e0783532b0e910289e809f9
2018-05-03 13:11:02 -07:00
Tom Ritter 57bcf3f74a Bug 1448483 Remove reference and use of ssize_t in CityHash to avoid conflicting definitions in MinGW x64 r=froydnj
MozReview-Commit-ID: ErQGSPNk4Bg

--HG--
extra : rebase_source : bd076ed4f2aac70ffd0e0dc06c95c1254d92f7ca
2018-03-23 16:27:49 -05:00
Matt Howell a6e30881e3 Bug 986081 Part 0 - Fix a hang when canceling an InetBgDl request. r=agashlin
This fixes a bug which the main bug 986081 patch exposes because it tries to
cancel a download in InetBgDl and then show a dialog box immediately afterward.
Without this patch, doing that very early on in the request (meaning before any
redirect is fully handled) would result in a 10 second UI hang.

MozReview-Commit-ID: 1zBxZrllFC

--HG--
extra : rebase_source : 523b2b37035a7fc6f435acd1f7437fbbbcf2adc6
2018-03-20 15:32:43 -07:00
Matt Howell 8d0cabec1f Bug 1421354 - Allow stub installer download resuming in more error cases. r=agashlin
MozReview-Commit-ID: 6UnbJAwmUC1

--HG--
extra : rebase_source : e84cbd6111f34683960a0965af84907535136581
2017-11-28 10:54:32 -08:00
Matt Howell 9c4076ce60 Bug 798005 - Resume interrupted downloads in the stub installer, instead of starting over. r=agashlin
MozReview-Commit-ID: GxEqsrDBdIm

--HG--
extra : rebase_source : 809f39e14010622fbd6b791600f23586457e4ff2
2017-09-08 11:03:48 -07:00
Matt Howell 0f34b0248e Bug 1369255 - Part 1: Add a prompt in the stub installer for running profile cleanup. r=rstrong
MozReview-Commit-ID: CLeVEAQe5qr

--HG--
extra : rebase_source : 6d2a45e6302fa93dcc57173f609da14f18df7a88
extra : source : ae9327645b6d9ed02d732ab3ad8f99d5be389913
2017-07-12 10:29:38 -07:00
Matt Howell ba8e2a22b0 Bug 1324617 - Allow any of multiple installations to be set as the Windows default browser; r=jimm,rstrong
Previously each new installation of any Firefox channel in any location would
just overwrite the Windows registry keys which register us as a candidate for
the default browser setting and for all of our potential file and protocol associations.

This meant that only the most recent installation (across all channels) was ever
selectable in those settings.

It also meant that creating a new installation when one was already present
tripped Windows 10's shenanigans alarm, because it saw the registration for an
existing application getting clobbered by a new one and couldn't tell that they
were really the same application.

The response to that alarm going off is to reset the default browser to Edge,
and maybe or maybe not generate a system notification about that. This is the
cause of bug 1324617. Obviously we would like to prevent that outcome.

So with this commit we generate new registration entries for each installation,
by adding a hash of the install path to the relevant identifiers.

MozReview-Commit-ID: Fz1xDtittMi

--HG--
extra : rebase_source : e0bc19e4abc1b32133f56458daf625527ce188b0
2017-01-09 08:14:00 -08:00
Sebastian Hengst f3c9a45af9 Backed out changeset 5b0aa267bc53 (bug 1324617) for Windows build bustage (warning in CityHash.h). r=backout on a CLOSED TREE 2017-01-30 23:20:01 +01:00
Matt Howell b50dd65754 Bug 1324617 - Allow any of multiple installations to be set as the Windows default browser; r=jimm,rstrong
Previously each new installation of any Firefox channel in any location would
just overwrite the Windows registry keys which register us as a candidate for
the default browser setting and for all of our potential file and protocol associations.

This meant that only the most recent installation (across all channels) was ever
selectable in those settings.

It also meant that creating a new installation when one was already present
tripped Windows 10's shenanigans alarm, because it saw the registration for an
existing application getting clobbered by a new one and couldn't tell that they
were really the same application.

The response to that alarm going off is to reset the default browser to Edge,
and maybe or maybe not generate a system notification about that. This is the
cause of bug 1324617. Obviously we would like to prevent that outcome.

So with this commit we generate new registration entries for each installation,
by adding a hash of the install path to the relevant identifiers.

MozReview-Commit-ID: Fz1xDtittMi

--HG--
extra : rebase_source : 3b3523c108502aebd08fd4912c3ab50baf3c0359
2017-01-09 08:14:00 -08:00
Robert Strong df7a49651e Bug 1090535 - Add Windows Firewall whitelist entry. r=bbondy 2014-12-26 13:57:33 -08:00
Robert Strong 7334e6f1eb Bug 987347 - Stub installer should use MS Shell Dlg 2 pseudo font. r=bbondy 2014-03-25 12:17:28 -07:00
Robert Strong 2cb5ff02cf Bug 813569 - Long string (ONE_MOMENT) not fully displayed in localized stub installer. r=bbondy - Windows stub installer only which is only built with the nightly - DONTBUILD 2013-04-09 12:58:28 -07:00
Robert Strong ae31774323 Windows stub installer only - compiled plugin - Bug 850110 - Download server IP address is sometimes reported as a single digit. r=bbondy 2013-03-17 00:09:45 -07:00
Robert Strong db3f771f92 Windows stub installer only - plugin code - Bug 850110 - Download server IP address is sometimes reported as a single digit. r=bbondy 2013-03-17 00:09:35 -07:00
Robert Strong 03977762c1 Windows stub installer code only - Bug 811573 - 'Add more data points to the metrics ping for the stub installer'. Also fixes bug 797998 - 'In the download phase of the stub installer without an internet connection, the stub installer should eventually time out and report an error' and bug 836044 - 'Aurora stub installer doesn't seem to be working'. r=bbondy 2013-03-05 22:07:59 -08:00
Ehsan Akhgari be88bebf09 Bug 829829 - The stub installer fails to download the file when the server redirects to an HTTPS server. r=bbondy 2013-02-06 11:06:18 -08:00
Brian R. Bondy 969f71233f Bug 811646 - New VC6 InetBgDL DLL with range request support. r=rstrong 2012-11-16 21:39:17 -05:00
Brian R. Bondy 84a17ce89e Bug 811646 - Redirect handling so each request goes direct to the final destination path and server. r=rstrong 2012-11-16 21:39:17 -05:00
Brian R. Bondy 5a12a0cc24 Bug 811646 - Split big base installer download into multiple HTTP range requests. r=rstrong 2012-11-16 21:39:17 -05:00
Brian R. Bondy aac18244b7 Bug 808270 - INetBgDL dll compiled with vc6 for smaller file size. r=jimm 2012-11-07 21:35:59 -05:00
Brian R. Bondy ee272af18e Bug 808270 - Stub installer pings not always sent. r=jimm 2012-11-07 21:35:54 -05:00
Brian R. Bondy 9742d3a9fa Bug 734628 - Fixed CityHash dll which will not generate leading spaces for the returned hexidecimal hash. r=jimm 2012-10-24 11:45:15 -04:00
Brian R. Bondy cfb2917334 Bug 734628 - Fix for city hash NSIS pluign src for not returning padded spaces before a hash. r=jimm
--HG--
rename : other-licenses/nsis/Contrib/CityHash/cityhash/city.cc => other-licenses/nsis/Contrib/CityHash/cityhash/city.cpp
2012-10-24 11:45:15 -04:00
Robert Strong 2ad445ee92 Bug 322206 - Firefox net / stub installer - NSIS UI binary resource. r=bbondy 2012-09-28 15:46:35 -07:00
Robert Strong ff2a36d3e4 Bug 322206 - Firefox net / stub installer - Inet background download dll. r=bbondy 2012-09-28 15:45:54 -07:00
Robert Strong 362d47d402 Bug 322206 - Firefox net / stub installer - Inet background download code. r=bbondy 2012-09-28 15:45:41 -07:00