Commit Graph

4549 Commits

Author SHA1 Message Date
Dave Townsend
d24a0c9d9e Bug 1237820: Track whether a user has been offered a sideloaded add-on or not. r=rhelmer
Previously we just checked every newly sideloaded add-on to decide whether to
offer it to the user for opt-in. This adds a new "seen" property (naming could
be better if you have other suggestions) which tracks whether we've ever shown
the opt-in UI for the add-on. It defaults to true for all add-ons and is only
set to false for sideloaded add-ons that default to being disabled on install.
The seen flag can be set to true through the API but cannot be reset to false
as that would allow add-ons to forcibly re-present themselves to the user when
disabled.

The opt-in UI sets the seen flag to true only when it has focus which fixes a
long-standing bug where if you accept the first add-on you see and restart the
other tabs might not show up.

The one slight downside of this approach is that it now requires loading the
full add-ons database on every startup in order to check the seen flag for all
installed add-ons. There are hacky ways we might get around this but they all
involve overloading prefs with even more object data. The good thing is that
we do the load and check asynchronously after most of startup is complete and
the UI is fully loaded so there shouldn't be any percieved impact to startup
time. I've run multiple talos runs to verify that none of the numbers appear to
regress.
2016-01-26 14:31:33 -08:00
Nils Meinert
82811ca9ed Bug 1225102 - Stop recording addon telemetry details for GMP plugins. r=gfritzsche 2016-01-25 14:00:01 -08:00
Gijs Kruitbosch
f33ce262a2 Bug 1135866 - fix syntax error in manifest file, rs=trivial,bustage 2016-01-25 09:42:17 +00:00
Blair McBride
2a6eb6b20d Bug 1135866 - Disable intermittent browser_bug562890.js & browser_openDialog.js on Windows opt builds. r=mossop 2016-01-19 22:52:23 +13:00
Gabor Krizsanits
a9c6984669 Bug 1234675 - Ability to disable e10s for users with addons. r=Mossop 2016-01-22 10:10:17 +01:00
Andrew Halberstadt
785b1a3245 Bug 1240875 - Register temporary addons with AddonPathService, r=mossop 2016-01-19 15:16:18 -05:00
Dave Townsend
2ffc222f5b Bug 1241181: Test for bug 1232274 should use promises to restart the add-ons manager. r=rhelmer
Really for consistency than anything else.
2016-01-20 10:01:34 -08:00
Dave Townsend
7b6e7cf218 Bug 1232274: Make installing or enabling an add-on require a restart if e10s is on and a pref is set. r=rhelmer 2016-01-14 15:21:01 -08:00
Robert Helmer
c068c4d060 Bug 1239484 - remove use of Object.values() r=mossop 2016-01-19 11:01:19 -08:00
Sebastian Hengst
b7ecbb92fb Bug 1239868 - remove unused PREF_EM_UPDATE_INTERVAL. r=Mossop 2016-01-15 13:11:31 +01:00
Carsten "Tomcat" Book
a1d46b7914 merge mozilla-inbound to mozilla-central a=merge 2016-01-15 11:46:47 +01:00
Jim Chen
6e55ad29e4 Bug 1223209 - Clean up old GeckoView library files; r=nalexander
Right now, each incremental build produces a new set of GeckoView
library files, but the previous files don't get cleaned up, and you end
up with a bunch of old libraries in your objdir. This patch cleans up
the old files before producing new ones.
2016-01-14 18:20:02 -05:00
Jim Chen
a4c58de36c Bug 1223209 - Remove geckoview_example; r=nalexander r=mfinkle
geckoview_example is broken and obsolete, and we haven't maintained it
for a long time. We should remove it from the tree, allow GeckoView AARs
to build, and rely on other example GeckoView projects that live on
GitHub.
2016-01-14 18:20:02 -05:00
Kris Maglione
8b7a54bbe2 Bug 1235365: Parse WebExtension JSON files as UTF-8. r=billm 2016-01-09 16:53:24 -08:00
Matt Howell
9a3b9363d9 Bug 1234861 - Fix a case where the installer can "clean up" registry keys it didn't create. r=rstrong 2016-01-12 12:38:50 -08:00
Chris Manchester
f7f2da7629 Bug 992983 - Build and upload the gtest libxul during test packaging. r=ted 2015-07-16 16:52:31 -07:00
Chris Peterson
a4cd491fb7 Bug 1236389 - Annotate intentional switch fallthroughs to suppress -Wimplicit-fallthrough warnings in mozapps/update. r=rstrong
toolkit/mozapps/update/updater/updater.cpp:3722:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
toolkit/mozapps/update/updater/updater.cpp:3768:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
2016-01-01 17:04:00 -07:00
Nicholas Nethercote
84b71404df Bug 1237151 (part 3) - Remove ignored qualifiers in all remaining code. r=froydnj. 2016-01-05 17:08:45 -08:00
Carsten "Tomcat" Book
d1ee9c9f70 merge mozilla-inbound to mozilla-central a=merge 2016-01-07 11:50:57 +01:00
Robert Helmer
2261f2ae24 Bug 1209344 - Link to about:debugging from about:addons. r=mossop 2016-01-05 12:19:59 -08:00
Robert Helmer
59bdb048ed Bug 1209344 - Remove debug button from about:addons. r=mossop 2016-01-05 12:19:15 -08:00
Mark Finkle
69f2796b64 Bug 590127 - Remove toolkit implementation of about:addons r=margaret 2016-01-06 00:49:03 -05:00
Chris Pearce
f218e8882c Bug 1234099 - Unhide Adobe GMP on Windows XP. r=spohl 2015-12-21 16:06:41 +13:00
Dave Townsend
fb1e757d42 Bug 1229142: Link browser and toolkit test directory to the shared eslintrc files. r=Standard8 2015-11-30 13:05:00 -08:00
Ryan VanderMeulen
f0dc54f9b2 Merge inbound to m-c. a=merge 2016-01-01 19:29:16 -05:00
Nick Alexander
2d12810664 Bug 1207890 - Post: Hacks to make --disable-compile-environment work on Mac OS X. r=glandium 2015-12-23 16:50:47 -08:00
Matt Howell
c8b534e9bf Bug 1120124 - Prevent 64-bit builds from installing over 32-bit ones (or vice-versa) by default. r=rstrong 2016-01-05 14:31:27 -08:00
Dave Townsend
df031b5ddd Bug 1237340: Fix browser and toolkit eslint failures. r=Felipe 2016-01-06 10:10:35 -08:00
Chris Pearce
9d003e1849 Bug 1234099 - Backout 34460cc654ca due to playback failures caused by Adobe GMP. r=backout 2016-01-07 09:57:36 +13:00
Jan Beich
1046efd5fc Bug 1234033 - Unbreak build --with-system-bz2 using Clang. r=dvander 2015-07-24 08:09:04 +00:00
Matt Howell
7ab6992976 Bug 1212939 - Disable update logging if given a log file path longer than MAX_PATH; r=rstrong 2015-12-21 11:36:54 -08:00
Mike Hommey
673e7f80f7 Bug 1235676 - Replace $(abspath $(DEPTH)) with $(topobjdir). r=mshal 2015-12-31 08:10:02 +09:00
Mike Hommey
a05c4207ed Bug 1235676 - Replace $(abspath $(DIST)) with $(ABS_DIST). r=mshal 2015-12-31 08:10:02 +09:00
Mike Hommey
3f231e7e9d Bug 1235676 - Replace _ABS_DIST with ABS_DIST. r=mshal 2015-12-31 08:10:02 +09:00
Mike Hommey
337af22d15 Bug 1235676 - Add a global ABS_DIST variable for a non-relative version of DIST, based on topobjdir. r=mshal
This replaces multiple local definitions of ABS_DIST.
2015-12-31 08:10:02 +09:00
Milan Sreckovic
1289d61b67 Bug 1234385: Add downloadable blocklist support for between comparison types, by recognizing driverVersionMax when parsing. r=benwa 2015-12-24 12:53:40 -05:00
Stephen A Pohl
a11c9c6384 Bug 1222555: Copy updater.app to the proper location for app update mochitest chrome tests. r=rstrong,ted 2015-12-21 12:21:57 -05:00
Carsten "Tomcat" Book
49c97f4f52 Merge mozilla-central to mozilla-inbound 2015-12-18 15:25:47 +01:00
Masatoshi Kimura
d3ca21019c Bug 1197191 - Add .pdf and media file types to OpenWithProgids. r=rstrong 2015-12-18 23:00:51 +09:00
Alessio Placitelli
ed26cf73f9 Bug 1217282 - Add test coverage. r=gfritzsche 2015-12-15 05:44:00 +01:00
Chris Manchester
9b8027e8eb Bug 1223745 - Move generate headers in toolkit/mozapps/update/updater/Makefile.in to GENERATED_FILES. r=glandium 2015-12-16 13:08:34 -08:00
Chris AtLee
7a279402dc Bug 1231379 - Disable omni.ja compression on desktop platforms r=catlee,glandium 2015-12-15 10:11:12 -05:00
Chris Pearce
347050d5de Bug 1232799 - Remove KEY_PLUGIN_TRIAL_CREATE pref from GMPProvider and friends. r=spohl
The GMPVideoDecoderTrialCreator was removed from Gecko in bug 1232527, and so
we don't need to set/reset this pref in the GMPProvider any more.
2015-12-16 10:38:51 +13:00
Chris Pearce
d99ceb32d1 Bug 1232795 - Remove VIDEO_EME_DISABLED telemetry probe. r=spohl 2015-12-16 10:32:41 +13:00
Robert Helmer
d67d9d234f Bug 1231003 - clarify in variable names and comments that temporary add-ons can be files or dirs r=mossop 2015-12-07 14:53:11 -05:00
Georg Fritzsche
ebef6d0425 Bug 1231055 - Fix tags usage in PluginProvider. r=dtownsend 2015-12-08 19:52:45 -05:00
Matt Howell
b79e2ddec2 Bug 1079858, Deal with deprecation of SHA1 (SHA-1) Authenticode signatures for Windows signing, part 2 (swap cert), r=catlee, a=lizzard 2015-12-08 16:16:55 -05:00
Ryan VanderMeulen
600c01a4b6 Merge fx-team to m-c. a=merge 2015-12-05 15:09:41 -05:00
Wes Kocher
b6c86514bf Backed out changeset 0ea0832d052d (bug 1079858) for causing bug 1230631 a=backout 2015-12-04 14:58:55 -08:00
Dave Townsend
bea898214f Bug 1229519: Fix download managers to pass eslint checks. r=mak 2015-12-03 10:00:18 -08:00