Commit Graph

4483 Commits

Author SHA1 Message Date
Dave Townsend
fe7ef78256 Bug 1192924: Check for updated system add-ons and download and install them. r=rhelmer
This performs the update check for system add-ons. It runs as part of the daily
add-on update checks similar to hotfix checks. Currently no URL is set so builds
won't actually start checking yet.

I've taken a few shortcuts here by only staging updates and needing a restart to
install as well as always downloading updates rather than using existing local
copies. At least the latter probably needs fixing before turning this on but
it makes more sense to iterate on those in tree.
2015-09-10 10:57:39 -07:00
Dave Townsend
c6121fa46e Bug 1192924: Split out add-on update.xml parsing code from GMP modules. r=spohl
The system add-on update checks will use the same update.xml format as GMP so
this splits out the code for parsing and downloading files into a standalone
module that both can reuse.
2015-09-08 15:00:28 -07:00
Dave Townsend
f92545710a Bug 1192924: Expose the update URL formatting code a new UpdateUtils module. r=rstrong
The GMP manager uses a copy of the update service's url formatting code and has
since fallen out of sync. We'll also want to use the same formatting code for
the system add-on update checks so this just exposes it in a shared API.

I've moved the contents of UpdateChannel.jsm to UpdateUtils.jsm and exposed
formatUpdateURL there as well as a few properties that the update service still
needs access to.

UpdateUtils.UpdateChannel is intended to be a lazy getter but isn't for now
since tests expect to be able to change the update channel at runtime.
2015-09-14 11:04:19 -07:00
Dave Townsend
aff29fb56a Bug 1206897: Don't attempt to cancel installs that are already cancelled. r=dveditz 2015-09-21 15:10:52 -07:00
Nick Alexander
ec3a0bb18c Bug 1108782 - Part 1: straighten out Java classpaths. r=glandium
This commit is us getting out of our own way.  We were specifying
-classpath twice, once in $(JAVAC) and once in java-build.mk.  Only
the latter of these is active.  This a problem for ANDROID_EXTRA_JARS
-- those JARs should be on the classpath and input to $(DX) -- and
JARs that should be on the classpath but *not* input to $(DX).  This
commit removes the global flags to $(JAVAC) and adds
JAVA_{BOOT}CLASSPATH_JARS.  This required some hijinkery moving
wildcards to moz.build files, but everything seems to work.

As well as clarifying some parts of the build, part 2 uses this work
to modify the classpath.
2015-08-31 13:35:05 -07:00
Wes Kocher
27e253a353 Backed out 3 changesets (bug 1192924) for Android bustage CLOSED TREE
Backed out changeset 30d612836685 (bug 1192924)
Backed out changeset a6860f880e01 (bug 1192924)
Backed out changeset 10e1fa2cc23a (bug 1192924)
2015-09-22 11:02:55 -07:00
Dave Townsend
d82fac1d4f Bug 1192924: Check for updated system add-ons and download and install them. r=rhelmer
This performs the update check for system add-ons. It runs as part of the daily
add-on update checks similar to hotfix checks. Currently no URL is set so builds
won't actually start checking yet.

I've taken a few shortcuts here by only staging updates and needing a restart to
install as well as always downloading updates rather than using existing local
copies. At least the latter probably needs fixing before turning this on but
it makes more sense to iterate on those in tree.
2015-09-10 10:57:39 -07:00
Dave Townsend
1417956c55 Bug 1192924: Split out add-on update.xml parsing code from GMP modules. r=spohl
The system add-on update checks will use the same update.xml format as GMP so
this splits out the code for parsing and downloading files into a standalone
module that both can reuse.
2015-09-08 15:00:28 -07:00
Dave Townsend
eda6b245a0 Bug 1192924: Expose the update URL formatting code a new UpdateUtils module. r=rstrong
The GMP manager uses a copy of the update service's url formatting code and has
since fallen out of sync. We'll also want to use the same formatting code for
the system add-on update checks so this just exposes it in a shared API.

I've moved the contents of UpdateChannel.jsm to UpdateUtils.jsm and exposed
formatUpdateURL there as well as a few properties that the update service still
needs access to.

UpdateUtils.UpdateChannel is intended to be a lazy getter but isn't for now
since tests expect to be able to change the update channel at runtime.
2015-09-14 11:04:19 -07:00
Carsten "Tomcat" Book
f8abba90f1 merge mozilla-inbound to mozilla-central a=merge 2015-09-22 12:35:13 +02:00
Dave Townsend
61a49e191c Bug 1203787: When the add-on ID is longer than 64 characters compare the signing certificate's common name to the sha256 hash of the ID. r=dveditz 2015-09-18 10:17:54 -07:00
J. Ryan Stinnett
1fcbd86174 Bug 912121 - Rewrite require / import to match source tree. rs=devtools
In a following patch, all DevTools moz.build files will use DevToolsModules to
install JS modules at a path that corresponds directly to their source tree
location.  Here we rewrite all require and import calls to match the new
location that these files are installed to.
2015-09-21 12:04:18 -05:00
Tooru Fujisawa
baaaf46a45 Bug 1207497 - Part 3: Fix wrong replacement in debug print in toolkit/mozapps/downloads/tests/unit/test_lowMinutes.js. r=me DONTBUILD 2015-09-25 18:06:19 +09:00
Tooru Fujisawa
f66aa53c9b Bug 1207497 - Part 2: Remove use of expression closure from tests in toolkit/. r=Gijs 2015-09-24 21:25:24 +09:00
Tooru Fujisawa
ecf9de989d Bug 1207497 - Part 1: Remove use of expression closure from toolkit/, exept tests. r=Gijs 2015-09-24 21:20:04 +09:00
Carsten "Tomcat" Book
8a49c1f50c Merge mozilla-central to b2g-inbound 2015-09-17 15:08:41 +02:00
Alexandre Lissy
91c6dd3387 Bug 1201556 - Send hashed device id for foxfooders. r=fabrice 2015-09-17 05:06:00 +02:00
Wes Kocher
34e9dbc511 Merge mozilla-inbound to m-c a=merge CLOSED TREE 2015-09-16 10:52:53 -07:00
Justin Dolske
ebc761036d Bug 1204154 - Clean up jar manifests that needlessly specify the source file. r=dao 2015-09-15 18:33:57 -07:00
Wes Kocher
42eb4d290b Merge inbound to central, a=merge 2015-09-15 17:16:24 -07:00
Carsten "Tomcat" Book
b21aab8f83 Merge mozilla-central to mozilla-inbound 2015-09-15 15:10:11 +02:00
Carsten "Tomcat" Book
ad40d0027b merge mozilla-inbound to mozilla-central a=merge 2015-09-15 15:05:24 +02:00
Chris Pearce
baaa4e6661 Bug 1205178 - Make GMPProvider check that GMPs are the right arch before loading. r=spohl 2015-09-17 13:28:48 +12:00
Jacek Caban
466515ba94 Bug 1199615 - Fixed toolkit/mozapps/update/ compilation on mingw. r=rstrong 2015-09-15 13:12:03 +02:00
Dave Townsend
35eedaa625 Bug 1204012: Lightweight themes are disabled if any add-ons are detected or modified during startup. r=rhelmer
When a lightweight theme is active the default theme is the selected skin but
the default theme's addon object is marked as inactive (to deal with the horror
of only allowing the user to select a single theme through the UI).

During startup we should only switch back to the default theme if there is a
non-default skin selected that we didn't see.
2015-09-11 10:38:35 -07:00
Carsten "Tomcat" Book
431461d251 Merge mozilla-central to fx-team 2015-09-11 16:42:01 +02:00
Trevor Rowbotham
e98c424437 Bug 1180901 - Test that an extension can be installed when a locked file exists in the extensions trash directory as long as the extension being installed does not touch the locked file. r=mossop 2015-09-09 13:44:00 +02:00
Nicholas Nethercote
22d80aeb7e Bug 1202971 (part 2) - Fix compile warnings in toolkit/mozapps/update/tests. r=rstrong. 2015-09-15 17:39:12 -07:00
Wes Kocher
7b3f9b8da9 Merge m-c to inbound, a=merge 2015-09-15 17:20:16 -07:00
Christoph Kerschbaumer
3f54a6097b Bug 1195162 - Move mozapps/plugins into pluginproblem (r=sicking,bsmedberg) 2015-09-14 19:08:06 -07:00
Dave Townsend
a3e4fc96aa Bug 1192925: Test that system add-ons are marked as un-uninstallable and un-upgradable. r=rhelmer 2015-09-11 10:51:06 -07:00
Wes Kocher
1b1240a728 Merge inbound to central, a=merge CLOSED TREE 2015-09-09 13:47:08 -07:00
Carsten "Tomcat" Book
039287e013 Merge mozilla-central to fx-team 2015-09-09 14:10:46 +02:00
Dave Townsend
eb8c87d17e Bug 1192930 - Require a special certificate for system add-ons. r=rhelmer
Makes sure that add-on objects always have the _installLocation property for
the location they will be installed into so that isUsableAddon can test for the
right signature.
2015-08-26 16:14:00 -07:00
Dave Townsend
5f994dfb96 Bug 1192921: Add an install location for system add-ons. r=rhelmer
This adds two new directory install locations. One contains the default system
add-ons that ship with the application, the other contains system add-on that
will eventually be updatable at runtime.

The updatable location tracks the expected list of add-ons in a pref. and only
returns add-ons from that list when asked for its list of add-ons.

After processFileChanges has scanned all add-ons and updated the database it
checks if the updated system add-ons match the expected set. If not we ignore
those add-ons when working out which add-ons should be visible. If they do match
then we ignore the app-shipped system add-ons when working out which are
visible.
2015-09-04 12:00:47 -07:00
Dave Townsend
a43d2f8c6c Bug 1192921: Split DirectoryInstallLocation into an immutable and mutable version. r=rhelmer
Most directory install locations are immutable at runtime. Only the profile
location can be installed into and uninstalled from. The system add-on locations
will be immutable as well but also be extended with some extra functionality so
it is useful to split the immutable parts out into a shared class that both
the mutable location and eventually system add-on locations can inherit from.
2015-08-25 16:01:55 -07:00
Dave Townsend
7aa6f2337a Bug 1192921: Remove most assumptions that add-on IDs match filenames. r=rhelmer
Normal directory install locations expect add-ons to exist on disk with the
naming convention "<id>.xpi". Originally system add-ons were going to do
something different so I started working on this. In the end it is unnecessary
but this work did reveal some cases where _sourceBundle wasn't being updated
for add-ons and removing most of these assumptions is still valuable.
2015-08-25 15:18:43 -07:00
Mike Shal
fd54bbc2b6 Bug 1198179 - Kill gen_mach_buildprops.py; r=ted 2015-08-25 11:42:44 -04:00
Dave Townsend
db8d3ad3d8 Bug 1192921: Refactor add-on manager startup loop to better support validating install locations after scanning. r=rhelmer
The add-ons manager recognises the notion of "install locations". Each location
can contain add-ons that are installed in the application. There are two main
types, directory locations which exist as a directory somewhere in the
filesystem and registry locations which exist in the Windows registry. The
profile location is the one where add-ons installed through the UI exist, the
other locations are for add-ons that are bundled with the application,
installed by the OS or by third-party applications.

Install locations have priorities. The profile location has the highest priority
then the others gradually lower priorities. When an add-on exists in more than
one install location the version in the highest priority location is the one
that is visible and can be active in the application. We still retain details
about the other versions in the database.

On every startup the add-ons manager scans over these install locations to see
if the set of installed add-ons has changed at all. A very quick check is done
to see if the more thorough check in processFileChanges (which synchronously
loads the add-ons database and install manifests for the add-ons) is needed.

The job of processFileChanges is to load information about all the add-ons and
update the add-ons database to match. It has to decide which add-ons to make
visible, track what changes were made to the visible set of add-ons and call
restartless add-ons install and uninstall scripts.

The original version of processFileChanges attempted to optimise this by doing
all of the work in a single loop over the add-ons in the locations. This mostly
worked but made certain situations difficult to handle (see bug 607818 f.e.).
There isn't much need for this level of optimisation. We're already in a slow
pass and once all the data is loaded off the disk looping over it is fast.

This changeset moves processFileChanges into the XPIProviderUtils file which is
lazy loaded when necessary. While most of the code is the same it instead does
one loop to update the database and gather information, then a second loop to
update add-on visibility, record changes and call bootstrap scripts.
2015-08-21 16:49:56 -07:00
Dave Townsend
e29d52cb09 Bug 1192921: Load XPIProviderUtils in a sandbox to simulate the way it is loaded in B2G. r=rhelmer 2015-09-04 12:22:24 -07:00
Julien Pagès
aa4b2090a4 Bug 787200 - Move the Talos code into mozilla-central: create the talos test .zip file. r=ted 2015-08-27 10:51:32 +02:00
Dave Townsend
4c65756dad Bug 1194784: Sideloaded add-ons without full signing don't display an appropriate warning in the add-ons manager. r=dao 2015-09-03 12:39:29 -07:00
Carsten "Tomcat" Book
ac239d2e35 merge mozilla-inbound to mozilla-central a=merge 2015-09-04 16:05:11 +02:00
Phil Ringnalda
e7e06f17d5 Backed out 4 changesets (bug 1192921) for b2g desktop Gu hangs
Backed out changeset 1bfa2dead61f (bug 1192921)
Backed out changeset f310cab1dd4e (bug 1192921)
Backed out changeset c3009691dfe6 (bug 1192921)
Backed out changeset d8233b994741 (bug 1192921)
2015-09-03 20:53:50 -07:00
Dave Townsend
1c263c5730 Bug 1192921: Add an install location for system add-ons. r=rhelmer
This adds two new directory install locations. One contains the default system
add-ons that ship with the application, the other contains system add-on that
will eventually be updatable at runtime.

The updatable location tracks the expected list of add-ons in a pref. and only
returns add-ons from that list when asked for its list of add-ons.

After processFileChanges has scanned all add-ons and updated the database it
checks if the updated system add-ons match the expected set. If not we ignore
those add-ons when working out which add-ons should be visible. If they do match
then we ignore the app-shipped system add-ons when working out which are
visible.
2015-08-10 15:47:28 -07:00
Dave Townsend
d5ed1c0244 Bug 1192921: Split DirectoryInstallLocation into an immutable and mutable version. r=rhelmer
Most directory install locations are immutable at runtime. Only the profile
location can be installed into and uninstalled from. The system add-on locations
will be immutable as well but also be extended with some extra functionality so
it is useful to split the immutable parts out into a shared class that both
the mutable location and eventually system add-on locations can inherit from.
2015-08-25 16:01:55 -07:00
Dave Townsend
644c17b8b4 Bug 1192921: Remove most assumptions that add-on IDs match filenames. r=rhelmer
Normal directory install locations expect add-ons to exist on disk with the
naming convention "<id>.xpi". Originally system add-ons were going to do
something different so I started working on this. In the end it is unnecessary
but this work did reveal some cases where _sourceBundle wasn't being updated
for add-ons and removing most of these assumptions is still valuable.
2015-08-25 15:18:43 -07:00
Dave Townsend
52579f0139 Bug 1192921: Refactor add-on manager startup loop to better support validating install locations after scanning. r=rhelmer
The add-ons manager recognises the notion of "install locations". Each location
can contain add-ons that are installed in the application. There are two main
types, directory locations which exist as a directory somewhere in the
filesystem and registry locations which exist in the Windows registry. The
profile location is the one where add-ons installed through the UI exist, the
other locations are for add-ons that are bundled with the application,
installed by the OS or by third-party applications.

Install locations have priorities. The profile location has the highest priority
then the others gradually lower priorities. When an add-on exists in more than
one install location the version in the highest priority location is the one
that is visible and can be active in the application. We still retain details
about the other versions in the database.

On every startup the add-ons manager scans over these install locations to see
if the set of installed add-ons has changed at all. A very quick check is done
to see if the more thorough check in processFileChanges (which synchronously
loads the add-ons database and install manifests for the add-ons) is needed.

The job of processFileChanges is to load information about all the add-ons and
update the add-ons database to match. It has to decide which add-ons to make
visible, track what changes were made to the visible set of add-ons and call
restartless add-ons install and uninstall scripts.

The original version of processFileChanges attempted to optimise this by doing
all of the work in a single loop over the add-ons in the locations. This mostly
worked but made certain situations difficult to handle (see bug 607818 f.e.).
There isn't much need for this level of optimisation. We're already in a slow
pass and once all the data is loaded off the disk looping over it is fast.

This changeset moves processFileChanges into the XPIProviderUtils file which is
lazy loaded when necessary. While most of the code is the same it instead does
one loop to update the database and gather information, then a second loop to
update add-on visibility, record changes and call bootstrap scripts.
2015-08-21 16:49:56 -07:00
Dave Townsend
9e29a12b4e Bug 1200027: Fix installing add-ons from the AMO discovery pane in the add-ons manager. r=dveditz 2015-08-31 11:23:39 -07:00
Wes Kocher
3b84bbc885 Merge m-c to inbound, a=merge CLOSED TREE 2015-09-08 17:06:42 -07:00
Wes Kocher
c31674018e Backed out changeset e1833c2684f0 (bug 1079858) for windows xpcshell failures CLOSED TREE 2015-09-08 12:58:03 -07:00
Dragana Damjanovic dd.mozilla@gmail.com
9230fbd5d8 Bug 1202421 - Rename the network.auth.allow-subresource-auth pref. r=michal 2015-09-08 08:21:19 -07:00
Ben Hearsum
8c06fb79f0 bug 1079858: switch to SHA-2 authenticode signatures. r=catlee 2015-09-08 10:44:17 -04:00
Ted Mielczarek
bfb088ca0a bug 1203573 - add a MOZ_SIMPLE_PACKAGE_NAME variable to simplify package naming for taskcluster's benefit. r=gps 2015-09-10 15:46:18 -04:00
Philipp Kewisch
9548c24ecb Bug 1197617 - Fix addon signing tests to work when addon signing is disabled. r=Mossop 2015-09-01 12:48:12 +02:00
Mike Kaply
721bc567a2 Bug 608972 - Make sure there is a theme author before using it. r=Mossop 2015-08-31 07:42:04 -05:00
Nicholas Nethercote
69d088e45f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
2015-08-27 20:44:53 -07:00
Ryan VanderMeulen
2ed78184b4 Backed out changeset 292d13beeb7b (bug 1186522) for Gaia unit test bustage. 2015-08-28 21:43:37 -04:00
Jordan Lund
6a3d3ece1a Bug 1186522 - force per checkin builds to require signed add-ons on beta 42, r=mshal 2015-08-28 13:41:26 -07:00
Ryan VanderMeulen
8555cbb55a Merge m-c to inbound. a=merge 2015-08-28 08:50:04 -04:00
Jacek Caban
65e274bfb6 Bug 1199118 - Don't use pragma comment in certificatecheck.cpp. r=glandium 2015-08-28 13:17:54 +02:00
Ryan VanderMeulen
2dd327f034 Merge m-c to fx-team. a=merge 2015-08-27 21:44:52 -04:00
Ehsan Akhgari
4a830a0180 Bug 1009795 - Use toLocalString to format download size instead of the decimalSymbol hook; r=mak
Original Patch by Simon Montagu <smontagu@smontagu.org>
2015-08-27 15:32:32 -04:00
Steffen Wilberg
9916006d1f Bug 1195060 - In the Add-ons manager, make Ctrl+f focus the search box again instead of invoking the findbar first. r=mossop 2015-08-24 17:11:17 +02:00
Nick Alexander
2fc886a158 Bug 1180461 - Part 2: Package gaia into b2gdroid APK. r=glandium 2015-08-25 13:23:51 -07:00
Ryan VanderMeulen
8f8d05680f Merge m-c to fx-team. a=merge 2015-08-26 14:34:15 -04:00
Gijs Kruitbosch
3267112fdf Bug 1198682 - fix b2g test orange because of missing protocol handler, rs=me,bustage on a CLOSED TREE 2015-08-26 13:03:43 +01:00
Gijs Kruitbosch
4b384a2add Bug 1173214, r=seth,bz 2015-08-26 10:24:04 +01:00
Jonathan Griffin
7ffe1efb0c Bug 1136892 - Create a browser-chrome-addons tag for running addon-specific browser-chrome tests, r=chmanchester 2015-08-25 09:38:39 -07:00
Yury Delendik
74294b6bce Bug 1192831 - Remove PlayPreview API. r=jet, r=peterv 2015-08-20 15:15:18 -05:00
Dave Townsend
0476958fa1 Bug 1042699: Block cross-origin add-on install requests. r=dveditz 2015-08-18 17:21:05 -07:00
Dave Townsend
b014970f61 Bug 1193926: Only register chrome for add-ons that need it. r=bsmedberg 2015-08-24 09:36:57 -07:00
Ryan VanderMeulen
92b3e3e9e6 Merge inbound to m-c. a=merge 2015-08-23 17:18:36 -04:00
Ryan VanderMeulen
d50d48c342 Backed out changeset 2d9ed9032a45 (bug 1192831) for suspicion of causing bug 1178709 to spike. 2015-08-23 15:21:23 -04:00
Philipp Kewisch
8d38101828 Bug 1167986 - TEST-UNEXPECTED-FAIL | xpcshell-unpack.ini:toolkit/mozapps/extensions/test/xpcshell/test_signed_install.js (and signing failures) - missing review comments 2015-08-23 12:04:40 +02:00
Philipp Kewisch
a7a20ee2cb Bug 1167986 - TEST-UNEXPECTED-FAIL | xpcshell-unpack.ini:toolkit/mozapps/extensions/test/xpcshell/test_signed_install.js (and signing failures). r=gps 2015-08-23 11:54:44 +02:00
Robert Helmer
94298c0f8f Bug 1196301 - Prefer install.rdf over manifest.json. r=Mossop 2015-08-21 12:30:27 -04:00
Dave Townsend
9890d7ee38 Bug 1195034: Only show messages about add-ons being disabled if signing requirements are on. r=dao 2015-08-20 14:25:22 -07:00
Trevor Rowbotham
20cbea5e54 Bug 1180901 - Catch the error when trying to remove the trash directory when it contains a file that is locked r=mossop 2015-08-20 13:46:48 -07:00
Trevor Rowbotham
b1cb2120ae Bug 1180901 - Test that a locked file cannot be removed from the extensions trash directory on Windows r=mossop 2015-08-20 13:46:29 -07:00
Robert Strong
5e15e60c75 Bug 862173 - don't verify mar file hash when using mar signing to verify the mar file (lessens main thread I/O). r=spohl 2015-08-20 10:05:05 -07:00
Jonathan Griffin
75b23850e3 Bug 1136892 - Create an xpcshell-addons tag for running addon-specific xpcshell tests, r=chmanchester 2015-08-18 11:26:14 -07:00
Wes Kocher
bb46521fdd Merge m-c to inbound, a=merge 2015-08-21 10:06:54 -07:00
Mike Shal
5d9d0a3ebd Bug 1118778 - Write upload properties from upload.py; r=glandium 2015-08-05 15:43:15 -04:00
Ryan VanderMeulen
c94aa4172e Merge fx-team to m-c. a=merge 2015-08-13 11:00:54 -04:00
Edwin Flores
caf971a3bc Bug 1135320 - Re-enable voucher.bin generation on Win64 - r=cpearce 2015-08-13 16:08:46 -07:00
Nick Alexander
2cb62bed1d Bug 1160563 - Part 2: Make ANDROID_ASSETS_DIRS a moz.build variable. r=gps
We have had singular ANDROID_ASSETS_DIR in Makefile.in for a while.
Fennec itself does not use the existing Makefile.in Android code, for
complicated historical reasons.

This makes the existing variable moz.build-only; generalizes the
existing variable to an ordered list; and adds the equivalent use of
the new list to the Fennec build, with a simple example asset.

This patch also updates the packager to include assets packed into the
gecko.ap_.  Without the packager change, the assets/ directory in the
ap_ gets left out of the final apk.  This whole approach is totally
non-standard but is more or less required to support our single-locale
repack scheme.
2015-08-12 11:04:03 -07:00
Shu-yu Guo
45211869c8 Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Ted Mielczarek
601251747c bug 1190522 - Rewrite pkg-dmg as a Python script. r=gps 2015-08-03 15:40:04 -04:00
Robert Strong
1cff82df2f Bug 1177861 - remove remaining unused declarations and cleanup update staging. r=spohl 2015-08-11 14:30:35 -07:00
Yury Delendik
db643a6d11 Bug 1192831 - Remove PlayPreview API. r=jet, r=peterv 2015-08-20 15:15:18 -05:00
Mike Shal
b7d4b0e070 Bug 1192068 - Use long hg revision for sourcestamp in mozharness; r=gps,jlund 2015-08-06 15:39:38 -04:00
Phil Ringnalda
f2bd33e76b Merge f-t to m-c, a=merge 2015-08-09 15:45:11 -07:00
Bill McCloskey
d92637d93d Bug 1189555 - Support moz-extension URIs in addon path service (r=bholley,Mossop) 2015-08-08 18:15:22 -07:00
Dave Townsend
a4d0d8568c Bug 1190692: Load web extensions. r=billm
Also corrects a race condition where if an extension was disabled before it
had finished loading its manifest it would have called GlobalManager.init but
never call GlobalManager.uninit.
2015-08-07 15:53:46 -07:00
Dave Townsend
79b2a30863 Bug 1190692: Parse manifest.json files into AddonInternal instances. r=billm 2015-08-07 14:40:08 -07:00
Dave Townsend
e7ba10f779 Bug 1190692: Split out manifest parsing code to support web extension manifests. r=billm 2015-08-07 13:15:11 -07:00
Dave Townsend
09a188dcb4 Bug 1009332: Present certain internal add-on types as other types through the API. r=billm 2015-08-07 13:13:59 -07:00
Nathan Froyd
6d75cc7a06 Bug 1191819 - part 2 - move updater's CXXFLAGS munging to moz.build; r=mshal 2015-08-06 17:26:46 -04:00
Ryan VanderMeulen
64e8cd0fdb Backed out revision bca1ad6cc378 (bug 1190522) for breaking OSX B2G Desktop builds. 2015-08-06 15:43:45 -04:00
Christoph Kerschbaumer
84a031411b Bug 1191107 - Split TYPE_XMLHTTPREQUEST and TYPE_DATAREQUEST for EventSource (r=sicking,ehsan) 2015-08-06 11:17:24 -07:00
Christoph Kerschbaumer
16aada7e20 Bug 1180273 - Adding missing 'this' pointer when forwarding newChannel2 calls (r=gijs,sicking) 2015-08-06 11:11:32 -07:00
Ted Mielczarek
f4167f27a1 bug 1190522 - Rewrite pkg-dmg as a Python script. r=gps 2015-08-03 15:40:04 -04:00
Carsten "Tomcat" Book
5341b6ceb3 Backed out 2 changesets (bug 1191107, bug 1180273) for causing xpcshell and m-oth testfailures on a CLOSED TREEi IGNORE IDL
Backed out changeset c5f710ed8718 (bug 1191107)
Backed out changeset d98d82f9981b (bug 1180273)
2015-08-06 08:39:05 +02:00
Christoph Kerschbaumer
cef4742d86 Bug 1191107 - Split TYPE_XMLHTTPREQUEST and TYPE_DATAREQUEST for EventSource - IGNORE IDL (r=sicking,ehsan) 2015-08-05 12:58:05 -07:00
Christoph Kerschbaumer
695a2b926c Bug 1180273 - Adding missing 'this' pointer when forwarding newChannel2 calls (r=gijs,sicking) 2015-08-05 12:55:14 -07:00
Dave Townsend
edcc173ff3 Bug 1190966: Ensure that the signature verification scan disables existing add-ons if the pref has been flipped in the meantime. r=rhelmer 2015-08-04 14:05:20 -07:00
Nick Alexander
ea4353b988 Bug 1189459 - Allow generating geckoview AAR files when MOZ_APP_NAME is not 'fennec'. r=gps
This just allows a little versatility for consumers such as b2gdroid,
which are Fennec-like but don't have MOZ_APP_NAME=fennec.

I elected to pass appname as a parameter rather than modify the
existing distdir because I expect to want to differentiate, in some
way, the output AAR files based on the underlying name.  That is, in
future we might generate geckoview-fennec-VERSION.aar and
geckolibs-b2gdroid-VERSION.aar, or stuff the name into the Ivy version
information, or...

This also fixes a typo in one of the JarFinder instantiations.
2015-07-30 11:50:44 -07:00
Bill McCloskey
ee2586be5f Bug 1175770 - New extension API (r=Mossop) 2015-08-03 10:41:24 -07:00
David Keeler
3ab3b9db2d bug 1188100 - fold PSM's test_client_cert.js into necko's test_tls_server.js r=mcmanus 2015-07-29 14:27:54 -07:00
Carsten "Tomcat" Book
36edd94f5a Backed out changeset 4e3821b236f9 (bug 1175770) 2015-08-03 09:37:54 +02:00
Makoto Kato
629ba560a7 Bug 830801 - Part 2. Remove NOMINMAX define from moz.build. r=mshal 2015-08-03 10:07:09 +09:00
Bill McCloskey
676387ce83 Bug 1175770 - New extension API (r=Mossop) 2015-08-02 17:29:55 -07:00
Mike Hommey
32432a5bd3 Bug 1165512 - Generate one SDK per universal-build architecture. r=mshal 2015-07-30 08:49:31 +09:00
Wes Kocher
68b9154e3f Backed out changesets f6d75433812f,7864cbaa9e5d (bug 1173214) for reftest failures CLOSED TREE 2015-07-28 15:20:25 -07:00
Boris Zbarsky
ff526b21c7 Bug 1173214 followup. Fix a test that no longer gets what it's expecting to get. CLOSED TREE. 2015-07-28 17:20:27 -04:00
Ryan VanderMeulen
556768d073 Merge m-c to inbound. a=merge 2015-07-27 10:41:37 -04:00
Stephen A Pohl
75880899c2 Bug 1183077: Modify test to check for new ABI on Windows. r=rstrong 2015-07-27 10:17:56 -04:00
Stephen A Pohl
f3c2c189bd Bug 1183077: Include CPU architecture in build target on Windows. r=rstrong 2015-07-27 10:17:53 -04:00
Qiang Lu
9d8feab426 Bug 1178069 - Check devices capability before enable use of vp8 hardware acceleration using android.media.MediaCodecList and android.media.MediaCodecInfo r=jrmuizel 2015-07-24 12:45:55 -07:00
Dave Townsend
aac86234ed Fix the xpcshell test failures by touching the root xpcshell.ini manifest. See bug 994255 2015-07-24 11:00:04 -07:00
Dave Townsend
117261c62c Bug 1177130: Multipackage XPIs with no valid XPIs should appear as failed downloads. r=rhelmer 2015-06-24 13:18:27 -07:00
Milan Sreckovic
9dd4ae35bd Bug 1163038 - More tests to pass by running instead of catching an exception. r=kats 2015-07-21 11:42:25 -04:00
Stephen Pohl
6bf5c1fe40 Bug 1158870: Enable marVersionDowngrade.js and marWrongChannel.js on all platforms except gonk. r=rstrong 2015-07-20 15:35:45 -04:00
Stephen Pohl
5ebfaf1b3e Bug 1158870: Disable mar signing code path in updater for gonk until mar signing is available there. r=bbondy 2015-07-20 15:35:40 -04:00
Rail Aliiev
8fb5931044 Bug 1184087 - L10N nightly repacks should not upload mar tools. Fix en-US typo. r=mshal 2015-07-18 14:48:22 -04:00
Mike Hommey
2ceb8811dc Bug 1184446 - Remove manual package manifest preprocessing. r=mshal
packager.py itself has been able to do preprocessing since the beginning.
For some reason, Makefile.in-driven preprocessing was kept back then, and
never was removed, and even worse, concatenation was added on top of it.

There is however a downside to the current way of doing things: error
reporting is given relative to the given manifest, which in the current
case is the preprocessed/concatenated file, so line numbers don't match
what is in the file in the source tree. However, when packager.py does
preprocessing itself, line numbers are reported properly.

Thus, switch all package manifests to packager.py-driven preprocessing.
2015-07-17 06:45:14 +09:00
Michael Layzell
ce93e4e3e6 Bug 1165263 - Part 5: Update PermissionsUtils.importPrefBranch to use origins instead of hosts, r=ehsan 2015-07-16 14:49:59 -04:00
Rail Aliiev
810529e2a5 Bug 1184087 - L10N nightly repacks should not upload mar tools. r=mshal 2015-07-15 13:49:46 -04:00
Ryan VanderMeulen
ed981c748f Merge m-c to inbound. a=merge 2015-07-14 23:38:02 -04:00
Chris Manchester
d4d6970b73 Bug 1181255 - Turn off tsan checking during packaging. r=glandium 2015-07-14 18:45:54 -07:00
Robert Strong
b95e5002c1 Bug 1171518 - cleanup maintenance service logging. r=bbondy 2015-07-14 12:08:45 -07:00
Wes Kocher
24d022d24f Backed out 24 changesets (bug 1173523, bug 1172080, bug 817007, bug 1165263) for android reftest bustage CLOSED TREE
Backed out changeset 84fe04b2e7d1 (bug 1172080)
Backed out changeset 0ff004760a1f (bug 1172080)
Backed out changeset af147585ad55 (bug 1165263)
Backed out changeset c3af8ebb6db0 (bug 1165263)
Backed out changeset cd3f33a888fe (bug 1165263)
Backed out changeset e5db39044a1e (bug 1165263)
Backed out changeset c01c9ed77061 (bug 1165263)
Backed out changeset fb723aaa4267 (bug 1165263)
Backed out changeset f754e52e74dc (bug 1165263)
Backed out changeset c6bda3a0afd6 (bug 817007)
Backed out changeset bfa100253349 (bug 817007)
Backed out changeset b787b3f9aadc (bug 1173523)
Backed out changeset 4a0676b73f77 (bug 1173523)
Backed out changeset 82034a4560c5 (bug 1173523)
Backed out changeset 4bdb91114c7a (bug 1173523)
Backed out changeset 72406261eccc (bug 1173523)
Backed out changeset 541b6faf7196 (bug 1173523)
Backed out changeset 1caac4569616 (bug 1173523)
Backed out changeset 0d4f9f9e1b4e (bug 1173523)
Backed out changeset 2d5661eb966c (bug 1173523)
Backed out changeset 89833c0bb0cd (bug 1173523)
Backed out changeset ea64d70eacfe (bug 1173523)
Backed out changeset a8e4f1c0c445 (bug 1173523)
Backed out changeset cf498d466b85 (bug 1173523)
2015-07-14 14:00:32 -07:00
Michael Layzell
08317c4c5c Bug 1165263 - Part 5: Update PermissionsUtils.importPrefBranch to use origins instead of hosts, r=ehsan 2015-07-14 15:06:38 -04:00
Christoph Kerschbaumer
1745603555 Bug 1048048 - add preload content policy types for images (r=seth) 2015-09-20 14:55:59 -07:00
Wes Kocher
9c40f87100 Backed out 7 changesets (bug 1048048) for android crashes in various chunks CLOSED TREE
Backed out changeset b5abe23a4ea5 (bug 1048048)
Backed out changeset 4f91b10e8be0 (bug 1048048)
Backed out changeset 450d4a13c90e (bug 1048048)
Backed out changeset 6a727c40eb68 (bug 1048048)
Backed out changeset 88c2333ff745 (bug 1048048)
Backed out changeset 740ab1ecd079 (bug 1048048)
Backed out changeset 02c6d6aef163 (bug 1048048)
2015-09-21 09:08:34 -07:00
Christoph Kerschbaumer
c533260e62 Bug 1048048 - add preload content policy types for images (r=seth) 2015-09-20 14:55:59 -07:00
Andrew Halberstadt
b491261813 Bug 1209628 - Package mozharness alongside other build artifacts instead of 'package-tests', r=gps
Mozharness isn't part of the test package, so shouldn't really be packaged during 'package-tests'.
2015-09-29 09:03:39 -04:00
Ehsan Akhgari
388c1a5297 Bug 1009795 - Part 2: Revert to the old gDecimalSymbol hack if the Internationalization API is not available; r=mak
This will be removed in bug 1200494.
2015-09-03 18:55:32 -04:00
Birunthan Mohanathas
47ed3a3675 Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Carsten "Tomcat" Book
579c0a5956 merge mozilla-inbound to mozilla-central a=merge 2015-07-13 11:51:14 +02:00
Simon Lindholm
717cd897bc Bug 1181540 - Hide "Learn More..." link for <setting type="boolint">. r=dolske 2015-07-08 05:31:00 -04:00
Kyle Machulis
ebbf0bdfe8 Bug 1176300 - Add lgpllibs library to build system; r=glandium 2015-07-07 21:17:08 -07:00
Bill McCloskey
1475363ba3 Bug 1171173 - Pass multiprocessCompatible flag to bootstrapped add-ons correctly (r=felipe) 2015-07-07 17:24:40 -07:00
Ryan VanderMeulen
204b539a88 Merge m-c to inbound. a=merge
CLOSED TREE
2015-07-07 13:38:10 -04:00
ISHIKAWA, Chiaki
784c058c15 Bug 1178041 - fix incorrect use of built-in |arguments| function as an argument name. r=mak 2015-07-06 09:38:00 +02:00
Emanuel Hoogeveen
e1b03075a7 Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
Juan Gomez
01df2f691b Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Michael Layzell
787e20a13d Bug 1170200 - Part 2: Update JavaScript consumers of nsIPermissionManager::Remove; r=ehsan 2015-07-03 17:12:27 -04:00
Ehsan Akhgari
1197a87b9f Backout bug 1170200 because of test failures on a CLOSED TREE 2015-07-03 16:43:47 -04:00