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

43 Коммитов

Автор SHA1 Сообщение Дата
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
Robert Strong c9282bda9a Bug 571387 - Use the official Unicode UAC and ShellLink distributions. r=jmathies 2010-06-21 18:17:05 -07:00
Robert Strong ade73084d1 Bug 485114 - Add plugin for modifying file permissions and move NSIS plugins under other-licenses. r=bsmedberg
--HG--
rename : toolkit/mozapps/installer/windows/nsis/AppAssocReg.dll => other-licenses/nsis/Plugins/AppAssocReg.dll
rename : toolkit/mozapps/installer/windows/nsis/ApplicationID.dll => other-licenses/nsis/Plugins/ApplicationID.dll
rename : toolkit/mozapps/installer/windows/nsis/ShellLink.dll => other-licenses/nsis/Plugins/ShellLink.dll
rename : toolkit/mozapps/installer/windows/nsis/UAC.dll => other-licenses/nsis/Plugins/UAC.dll
rename : toolkit/mozapps/installer/windows/nsis/nsProcess.dll => other-licenses/nsis/Plugins/nsProcess.dll
2010-06-09 16:02:25 -07:00
Jim Mathies b0c7498e91 Bug 521141 - Group running applications properly under shortcuts pinned to the taskbar. r=rstrong. 2010-05-14 19:24:01 -05:00
Robert Strong 512cbc5c69 NPOB Bug 473348 - Checkin the modified NSIS plugin source. r=bsmedberg 2009-01-19 18:05:53 -08:00