Commit Graph

54 Commits

Author SHA1 Message Date
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
Robert Strong
6e3c105cc8 Bug 322206 - Firefox net / stub installer - certificate check plugin dll. r=bbondy 2012-09-28 15:45:04 -07:00
Robert Strong
92528bc08b Bug 322206 - Firefox net / stub installer - certificate check plugin code. r=bbondy 2012-09-28 15:44:50 -07:00
Brian R. Bondy
be8e152cfc Bug 779916 - ServicesHelper NSIS plugin was updated with changed paths. r=jimm 2012-08-03 07:24:52 -04:00
Gervase Markham
68d38d677f Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Jim Mathies
97f00ed055 Bug 740694 - ApplicationID NSIS plugin - release dll, static runtime, vc2008. r=rstrong 2012-05-24 10:46:26 -05:00
Jim Mathies
9c8e488cd3 Bug 740694 - Add dual mode option to ApplicationID nsis plugin. r=rstrong 2012-05-24 10:46:26 -05:00
Jim Mathies
cd65ab5109 Bug 740694 - Strip win line endings from ApplicationID src. r=rstrong 2012-05-24 10:46:26 -05:00
Brian R. Bondy
367ce94fcc Bug 481815 - Provide a Windows service for silent updates. r=rstrong. 2012-01-04 23:19:14 -05:00
Jim Mathies
030e6ff4e0 Bug 577867 - Add CityHash NSIS extension to build. r=rstrong 2011-11-03 09:39:50 -05:00
Jim Mathies
43d5ed3f12 Bug 577867 - Add CityHash NSIS extension Visual Studio project to other-licenses repo. r=rstrong, r=gerv 2011-11-03 09:39:50 -05:00
Brian R. Bondy
d0d352c424 Bug 698153 - NSIS ApplicationID project build problem fix with resource1.h. r=jimm 2011-10-31 14:10:51 -04:00
Robert Strong
2853e9d7d4 NSIS plugin for Bug 621873 - Pin to taskbar when setting as default browser on Windows 7. r=vlad, r=jmathies, a=approval2.0 2011-02-09 11:48:46 -08:00
Robert Strong
6702095a3d Bug 631840 - Remove nsProcess plugin and associated code since it is no longer used. r=jimm, a=approval2.0 2011-02-07 18:43:07 -08:00