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

2436 Коммитов

Автор SHA1 Сообщение Дата
Adam Gashlin e38a47a505 Bug 1633505 - Show refresh button within the uninstaller. r=mhowell
Detect a profile for the installation, if found offer refresh on welcome page:
- Replace text
- Add help link and button

Add a different prompt to close the browser for refresh.

When leaving the welcome page:
- via help link, launch a URL
- via Refresh button, launch Firefox with the necessary args

Add utility functions to launch the link and Firefox.

Remove the UN_CONFIRM_CLICK label and hide the subheading, this was an
addition to the design. Move down UN_CONFIRM_PAGE_TITLE to fill in the space.

Move the check for the install-specific profile to common.nsh from stub.nsi,
wrapped in stack ops to save regs and with _MOZFUNC_UN for uninstaller compat.

Move InitHashAppModelId to just after un.UninstallUnOnInitCommon (which sets
$INSTDIR correctly), so AUMID would be available in un.PreWelcome. I don't
think there's anything else that would change $INSTDIR in the uninstaller
so this should be ok.

Unrelated but adjacent cleanup: Remove inappropriate use of _MOZFUNC_UN
in CopyPostSigningData.

Differential Revision: https://phabricator.services.mozilla.com/D76435
2020-05-26 21:47:58 +00:00
Mark Banner ceba0e848d Bug 1635235 - Implement reading the allow override default search engine allowlist from remote settings. r=daleharvey
This implements reading the list from remote settings. We only read it at startup if necessary, or on add-on installation.

We do not check for updates - if something is removed, we'll wait until next startup before processing it.

Also adds lots of tests for canOverride as this seems a critical part to get right.

Differential Revision: https://phabricator.services.mozilla.com/D76473
2020-05-26 19:40:42 +00:00
Molly Howell d2fa14f4ef Bug 1638509 - Enable the limited PostUpdate to update the WDBA task. r=agashlin,bytesized
This also requires removing the registry value cleanup from the unregister-task
command and adding a new uninstall command which removes both the task and the
registry values, because this patch now runs unregister-task during updates to
remove the task before re-adding it, and that needs to leave the registry alone.

Differential Revision: https://phabricator.services.mozilla.com/D76354
2020-05-26 15:38:21 +00:00
Mihai Alexandru Michis 33899422e7 Backed out 2 changesets (bug 1635235, bug 1635239) for causing Bug 1640583.
CLOSED TREE

Backed out changeset 97ecda13df18 (bug 1635239)
Backed out changeset c9f80397bbec (bug 1635235)
2020-05-25 16:43:03 +03:00
Mark Banner 019b662f87 Bug 1635235 - Implement reading the allow override default search engine allowlist from remote settings. r=daleharvey
This implements reading the list from remote settings. We only read it at startup if necessary, or on add-on installation.

We do not check for updates - if something is removed, we'll wait until next startup before processing it.

Also adds lots of tests for canOverride as this seems a critical part to get right.

Differential Revision: https://phabricator.services.mozilla.com/D76473
2020-05-24 21:45:41 +00:00
Nick Alexander d83432b0af Bug 1629636 - Make Windows install not register "ftp" protocol handler for NIGHTLY_BUILD. r=mhowell
For builds with ftp disabled (see below), this commit:

1) stops registering the ftp protocol handler at install time;
2) actively unregisters the ftp protocol handler at postupdate time;
3) stops unregistering the ftp protocol handler at uninstall time.

The rationale for 3) is that by the time a `helper.exe` with this
change is in place, the postupdate step has already run and
unregistered the ftp protocol handler.  This could, of course, fail,
and a fallback would be nice.  However having a guarded block, just
like everywhere else, will make it much more likely that the complete
removal of the ftp protocol will also cull the uninstall code.  I
prefer making the latter cleanup more likely to be complete.

The bool pref that disables ftp functionality is
"network.ftp.enabled", and at this time that defaults to
!NIGHTLY_BUILD.  In the {un}install process, there's no way to inspect
that pref dynamically, so we use !NIGHTLY_BUILD as well.

This opens a race window for developers to change the pref default
without changing the {un}install conditional at the same time.  It
would be possible to close that window by introducing a new configure
subst but given the imminent removal of the ftp protocol entirely it
doesn't seem necessary.

Differential Revision: https://phabricator.services.mozilla.com/D74503
2020-05-20 22:49:44 +00:00
Nick Alexander f5a65553dc Bug 1506416 - Enable setting Firefox as default PDF reader on Windows. r=mhowell
Comparing to .webp, we already do two of three things needed.  This
arranges the last thing: registering the file association.

Differential Revision: https://phabricator.services.mozilla.com/D76244
2020-05-20 22:45:15 +00:00
Molly Howell 2caf2e9712 Bug 1636445 - Skip applying profile refresh button styles in high-contrast. r=agashlin
Differential Revision: https://phabricator.services.mozilla.com/D74417
2020-05-08 19:07:53 +00:00
Ricky Stewart 4d4b22b3de Bug 1599658 - Delete previous definition of py_action in Makefiles. Now py_action calls into Python 3 and py3_action doesn't exist. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D72487
2020-05-05 20:04:30 +00:00
Ricky Stewart fd72a5d35e Bug 1633016 - Remove a bunch of references to PYTHON(2) in Makefiles r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D72479
2020-05-05 19:53:22 +00:00
Bogdan Tara f137fa0613 Backed out 6 changesets (bug 1632916, bug 1599658, bug 1633037, bug 1633039, bug 1633016, bug 1632920) for SA bustages CLOSED TREE
Backed out changeset 332ce0963b4e (bug 1633039)
Backed out changeset a9904cbc40d9 (bug 1633037)
Backed out changeset d06b0ec349f8 (bug 1599658)
Backed out changeset 8fd300cad80f (bug 1633016)
Backed out changeset f8820941c703 (bug 1632916)
Backed out changeset ac9c2c8746ed (bug 1632920)
2020-05-02 01:49:29 +03:00
Ricky Stewart 0daacc12c3 Bug 1599658 - Delete previous definition of py_action in Makefiles. Now py_action calls into Python 3 and py3_action doesn't exist. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D72487
2020-04-30 15:27:13 +00:00
Ricky Stewart bb4e86d85a Bug 1633016 - Remove a bunch of references to PYTHON(2) in Makefiles r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D72479
2020-04-30 15:25:22 +00:00
Mark Banner 4e1c53dc72 Bug 1633705 - Add qwantjr as a separate WebExtension. r=daleharvey
We need this to enable the modern search configuration to specify only qwant as the default engine. With the two listed in one WebExtension we can't distinguish between locales for the default engine.

Bug 1630980 will remove the old junior locale from the qwant engine.

Differential Revision: https://phabricator.services.mozilla.com/D72816
2020-04-28 21:26:20 +00:00
Adam Gashlin d7e841caa2 Bug 1316136 - Support post-signing/attribution data in full installer. r=mhowell
This reuses some logic from the stub installer, moved into common.nsh.

Differential Revision: https://phabricator.services.mozilla.com/D72078
2020-04-23 21:16:20 +00:00
Adam Gashlin 1db1a54dd3 Bug 1633438 - Remove download size checks, use file size as fallback for telemetry. r=mhowell
The retry on download complete did not work properly, and we trust
the size of the file given that we download over https and check
with CertCheck, so I removed the other size checks which would have
retried infinitely given issues.

Differential Revision: https://phabricator.services.mozilla.com/D72746
2020-04-27 20:10:13 +00:00
Adam Gashlin f67c05fd07 Bug 1632981 - Hide focus rectangle on installing label. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D72460
2020-04-24 20:57:35 +00:00
Adam Gashlin 5a32fdfb4b Bug 1617957 - Update installer text in official branding. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D72211
2020-04-23 21:26:37 +00:00
Adam Gashlin fa5cec1891 Bug 1632452 - Label the bg image as presentation only. r=mhowell
In particular this stops NVDA from reading out the full path of the background image on every
mouseover.

Differential Revision: https://phabricator.services.mozilla.com/D72210
2020-04-23 21:06:41 +00:00
Adam Gashlin ce756930fb Bug 1632499 - Disallow dragging of background image. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D72191
2020-04-23 19:17:58 +00:00
Adam Gashlin 0c002f2029 Bug 1632315 - Fix extra undefined in blurbStrings array. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D72086
2020-04-23 14:38:43 +00:00
shravanrn@gmail.com e0273c024b Bug 1626174 - Enable use of wasm sandboxed libOgg in the OggDemuxer in linux, mac, try servers r=padenot,erahm,dmajor,firefox-build-system-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D70652
2020-04-22 11:16:10 +00:00
Brindusan Cristian c4fd863aaa Backed out 2 changesets (bug 1626174, bug 1625876) for build bustages at LibrarySandboxPreload.cpp and OggDemuxer.cpp. CLOSED TREE
Backed out changeset 40fea0f3ab6c (bug 1626174)
Backed out changeset a3117fce845d (bug 1625876)
2020-04-21 19:29:02 +03:00
shravanrn@gmail.com f0399f4146 Bug 1626174 - Enable use of wasm sandboxed libOgg in the OggDemuxer in linux, mac, try servers r=padenot,erahm,dmajor,firefox-build-system-reviewers
Depends on D68764

Differential Revision: https://phabricator.services.mozilla.com/D70652
2020-04-21 15:30:37 +00:00
Molly Howell b80445daf4 Bug 1596812 Part 7 - Add documentation for the stub installer web UI. r=agashlin,nalexander
Depends on D56582

Differential Revision: https://phabricator.services.mozilla.com/D56583
2020-04-20 03:06:08 +00:00
Molly Howell 8975fd16ef Bug 1596812 Part 6 - Replace the stub installer UI code with calls to the web plugin. r=agashlin
Depends on D56581

Differential Revision: https://phabricator.services.mozilla.com/D56582
2020-04-20 03:06:08 +00:00
Molly Howell a9c3eacb39 Bug 1596812 Part 5 - Add the web content files and include them in the installer build. r=agashlin,nalexander,mconley
Depends on D56580

Differential Revision: https://phabricator.services.mozilla.com/D56581
2020-04-20 03:06:08 +00:00
Andreea Pavel 7ac1c7a794 Backed out changeset a95e314cd2af (bug 1618051) for failing bc at browser_parsable_css.js on a CLOSED TREE 2020-04-17 02:41:26 +03:00
Scott e6632dd612 Bug 1618051 - Proper hi res logo for search only newtab r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D65347
2020-04-16 20:14:48 +00:00
Nicholas Nethercote 8139b4051e Bug 1619840 - Remove `fix_{linux,macosx}_stack.py` and `fix_stack_using_bpsyms.py`. r=erahm
This commit removes `test_fix_stack_using_bpsyms.py`. That test can't easily be
modified to work with `fix_stacks.py` because it relies on internal
implementation details of `fix_stack_using_bpsym.py`. The unit testing done in
the `fix-stacks` repo provides test coverage that is as good or better.

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

--HG--
extra : moz-landing-system : lando
2020-04-08 06:55:54 +00:00
Molly Howell c3b7317e66 Bug 1628924 - Wait for the default browser agent to finish unregistering before deleting it. r=agashlin
Differential Revision: https://phabricator.services.mozilla.com/D70570

--HG--
extra : moz-landing-system : lando
2020-04-10 22:18:50 +00:00
Molly Howell 2810c717c0 Bug 1626887 - Fallback for when registering the default browser agent task fails in the MSI. r=agashlin
Differential Revision: https://phabricator.services.mozilla.com/D69413

--HG--
extra : moz-landing-system : lando
2020-04-09 17:40:08 +00:00
Molly Howell 4867c151b5 Bug 1619122 - List more supported file types in our Applications registry key. r=agashlin
Differential Revision: https://phabricator.services.mozilla.com/D68062

--HG--
extra : moz-landing-system : lando
2020-04-04 03:35:09 +00:00
aarushivij 3c7912dcf6 Bug 1626462 - Remove pdf.js images from allowed-dupes.mn. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D69682

--HG--
extra : moz-landing-system : lando
2020-04-04 09:53:29 +00:00
Tim Nguyen 3459a30936 Bug 1626043 - Package devtools toolbars.css only as resource://. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D69178

--HG--
extra : moz-landing-system : lando
2020-04-01 11:06:58 +00:00
Tim Nguyen e783637467 Bug 1626023 - Remove some unused allowed-dupes.mn entries. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D68846

--HG--
extra : moz-landing-system : lando
2020-03-31 23:38:29 +00:00
Mark Striemer acef713181 Bug 1525178 - Part 5: Remove XUL about:addons CSS files r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D60426

--HG--
extra : moz-landing-system : lando
2020-03-30 19:45:12 +00:00
aarushivij 2baad68dc9 Bug 1348533 - Remove unused buttons.png/downloadButtons.png from chrome://mozapps/skin/downloads/. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D68887

--HG--
extra : moz-landing-system : lando
2020-03-30 20:56:11 +00:00
Tim Nguyen 9f4dbeaf3c Bug 1625982 - Rename textbox.js and textbox.css to moz-input-box.js and search-textbox.css. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D68829

--HG--
rename : toolkit/content/widgets/textbox.js => toolkit/content/widgets/moz-input-box.js
rename : toolkit/themes/linux/global/textbox.css => toolkit/themes/linux/global/search-textbox.css
rename : toolkit/themes/osx/global/textbox.css => toolkit/themes/osx/global/search-textbox.css
rename : toolkit/themes/windows/global/textbox.css => toolkit/themes/windows/global/search-textbox.css
extra : moz-landing-system : lando
2020-03-30 18:22:56 +00:00
Dão Gottwald bb5b482bc6 Bug 1625896 - Rename scrollbox.css to arrowscrollbox.css. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D68777

--HG--
rename : toolkit/themes/shared/scrollbox.css => toolkit/themes/shared/arrowscrollbox.css
extra : moz-landing-system : lando
2020-03-30 11:49:31 +00:00
Molly Howell 1512c74608 Bug 1624388 - Properly expose default browser agent build flag to installer. r=bytesized,agashlin
Also fix two other installer problems that were getting missed because of this:
one build error in PostUpdate and one use of an uninitialized value in the
installer, causing it to record that it had not registered the task when it had.

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

--HG--
extra : moz-landing-system : lando
2020-03-23 20:21:36 +00:00
ajitesh 74c011887b Bug 1421039 - Remove duplicate extension icons r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D63288

--HG--
rename : browser/themes/shared/controlcenter/extension.svg => toolkit/themes/shared/extensions/extension.svg
extra : moz-landing-system : lando
2020-03-23 15:24:24 +00:00
Molly Howell f1bc8edd89 Bug 1624047 - Fix default browser agent packaging. r=bytesized
Differential Revision: https://phabricator.services.mozilla.com/D67705

--HG--
extra : moz-landing-system : lando
2020-03-20 22:16:30 +00:00
jayati 0eac3c871d Bug 1466357 - Use RefreshShellIcons instead of manually reimplementing it for Windows installer. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D67379

--HG--
extra : moz-landing-system : lando
2020-03-18 20:33:19 +00:00
Molly Howell e13554f0e7 Bug 1602463 Part 4 - Register/unregister the default browser agent scheduled task during install/uninstall. r=agashlin,bytesized,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D61891

--HG--
extra : moz-landing-system : lando
2020-03-16 18:32:58 +00:00
Molly Howell 06f1209768 Bug 1602463 Part 3 - Windows default browser agent. r=agashlin,bytesized,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D61889

--HG--
extra : moz-landing-system : lando
2020-03-16 20:16:25 +00:00
Mihai Alexandru Michis 12c2ba4b56 Backed out 5 changesets (bug 1602463) for causing diffoscope failures.
CLOSED TREE

Backed out changeset ff565862e785 (bug 1602463)
Backed out changeset 2583a2703658 (bug 1602463)
Backed out changeset 8f3de97c5d50 (bug 1602463)
Backed out changeset be11972a8149 (bug 1602463)
Backed out changeset 5a6058d8266c (bug 1602463)
2020-03-16 20:29:20 +02:00
Molly Howell be2e8b6844 Bug 1602463 Part 4 - Register/unregister the default browser agent scheduled task during install/uninstall. r=agashlin,bytesized,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D61891

--HG--
extra : moz-landing-system : lando
2020-03-16 15:12:33 +00:00
Molly Howell 3964971fc6 Bug 1602463 Part 3 - Windows default browser agent. r=agashlin,bytesized,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D61889

--HG--
extra : moz-landing-system : lando
2020-03-16 15:11:17 +00:00
Adam Gashlin 589a6df363 Bug 1515451 Part 3 - Install, uninstall update agent r=mhowell
This was originally planned in bugs 1458282 and 1458283, but it
fits naturally in this patch series.

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

--HG--
extra : moz-landing-system : lando
2020-03-11 22:33:12 +00:00