Commit Graph

4620 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
a0805026df merge mozilla-inbound to mozilla-central a=merge 2016-02-24 12:01:56 +01:00
Dave Townsend
e372eb6efb Bug 1250639: Remove the nsIPrincipal shim for the older API style. r=rhelmer
MozReview-Commit-ID: DyX66KlOLCC
2016-02-23 12:11:37 -08:00
J. Ryan Stinnett
63103c689d Bug 1225944 - Allow reinstalling temp add-ons. r=Mossop
MozReview-Commit-ID: JTbCaKGJ7wW
2016-02-22 23:35:10 -06:00
Phil Ringnalda
af4b02227d Merge f-t to m-c, a=merge 2016-02-20 17:25:14 -08:00
Rail Aliiev
e15797e51e Bug 1248883 - missing ${platform}_info.txt files r=mshal 2016-02-19 13:24:50 -08:00
Gijs Kruitbosch
facea967d7 Bug 1229626 - fix pinning to taskbar to reflect user preference, r=mhowell
MozReview-Commit-ID: DIHzv32bwkN
2016-02-02 23:44:49 +00:00
Dave Townsend
e5fd70477e Bug 1249074: Don't offer existing sideloaded add-ons to users when creating a new profile. r=rhelmer
MozReview-Commit-ID: 7pnZhEvGRfj
2016-02-17 11:06:00 -08:00
Carsten "Tomcat" Book
05fbdd5951 merge fx-team to mozilla-central a=merge 2016-02-17 12:07:39 +01:00
Dave Townsend
696bd05e96 Bug 1245916: Turn on no-undef in toolkit/mozapps/extensions. r=rhelmer
Mostly just declaring globals that Cu.imports defines but there are some actual
bugs here that have been fixed as well as one test that just never ran because
of a hidden exception.

MozReview-Commit-ID: J6uIpYp8ANx
2016-02-03 22:48:48 -08:00
Mike Shal
5fe1e2faab Bug 1243750 - Install all SDKs into sdk/; r=glandium 2016-01-29 14:52:52 -05:00
Robert Helmer
bdb024360b Bug 1232222 - expose isSystem flag if add-on is a system add-on r=Mossop
MozReview-Commit-ID: 2SRRJplalUy
2016-02-13 17:51:21 -08:00
Nick Alexander
6d4027e223 Bug 1247470 - Don't try to sign bouncer APK during Android single locale repacks. r=glandium
There's no slick way to determine that we're doing a single local
repack, and it's not worth adding a new flag just for this situation.
So let's not sign the bouncer APK if tests are disabled; since tests
are disabled during single local repack packaging, this should be
sufficient.  This makes the bouncer APK just like the Robocop APK.

MozReview-Commit-ID: AaHUEMhcqMy
2016-02-10 15:47:45 -08:00
Nick Alexander
f7269cd80a Bug 1119520 - Add opt-in Gradle build mode for mobile/android. r=gps
Opt-in by adding --enable-gradle-mobile-android-builds.

Gradle dependencies (including the Android-Gradle plugin) are assumed
to be present.  Local developers will fetch them from the jcentral
repository.

Android-specific Maven dependencies are shipped as "extras" with the
Android SDK, and should be found automatically by the Android-Gradle
plugin.

MozReview-Commit-ID: 966XgddWgEu
2016-02-12 10:06:40 -08:00
Carsten "Tomcat" Book
ab1e5f44dc merge mozilla-inbound to mozilla-central a=merge 2016-02-12 15:15:17 +01:00
Carsten "Tomcat" Book
73e08a4e77 Backed out changeset 306cf0271d3e (bug 1119520) for causing merge conflicts with m-i to m-c merge 2016-02-12 15:14:36 +01:00
Felipe Gomes
69770f623a Bug 1246245 - Webextensions and themes should also block initial e10s rollout. r=Mossop 2016-02-11 18:47:09 -02:00
Nick Alexander
500e6635c8 Bug 1119520 - Add opt-in Gradle build mode for mobile/android. r=gps
Opt-in by adding --enable-gradle-mobile-android-builds.

Gradle dependencies (including the Android-Gradle plugin) are assumed
to be present.  Local developers will fetch them from the jcentral
repository.

Android-specific Maven dependencies are shipped as "extras" with the
Android SDK, and should be found automatically by the Android-Gradle
plugin.

MozReview-Commit-ID: 966XgddWgEu
2016-02-03 11:18:38 -08:00
Carsten "Tomcat" Book
0a555533a6 merge mozilla-inbound to mozilla-central a=merge 2016-02-11 11:52:01 +01:00
Carsten "Tomcat" Book
38b8addd44 Backed out changeset 5bf07e98c4ee (bug 1243750) for breaking Linux and OS X Nightly Builds 2016-02-10 16:08:27 +01:00
Carsten "Tomcat" Book
3847eaf3bd merge mozilla-inbound to mozilla-central a=merge 2016-02-10 11:47:34 +01:00
R Kent James
1e14aff4e0 Bug 1211160 - update lastModifiedTime of distribution addons to properly sync roaming profiles, r=dtownsend 2016-02-10 10:33:37 -08:00
Dave Townsend
a752390265 Bug 1244357: Use a shim around the certificate DB to allow the add-ons manager to think that add-ons are signed when they aren't. r=rhelmer
Because the add-ons manager hasn't startup up yet we can replace the certificate
database in xpcshell tests with one that claims add-ons are signed by valid
certificates even when they aren't. This allows us to run tests even in builds
where signing cannot be disabled during for the normal application.

This adds an override for all tests except those that are explicitely testing
signing.
2016-01-29 16:41:18 -08:00
Dave Townsend
d4fb4aa3b5 Bug 1244248: Cache the certificate database during startup rather than getting it everytime it is needed. r=rhelmer 2016-02-09 08:36:36 -08:00
Dave Townsend
570a8ec931 Backing out c57d2020f884 for bug 1244357 due to test failures. CLOSED TREE 2016-02-08 10:18:48 -08:00
Dave Townsend
d98a43d044 Bug 1245649: Enable no-nested-ternary. r=mconley 2016-02-03 21:17:16 -08:00
Dave Townsend
4dcf69dfe4 Bug 1244357: Use a shim around the certificate DB to allow the add-ons manager to think that add-ons are signed when they aren't. r=rhelmer
Because the add-ons manager hasn't startup up yet we can replace the certificate
database in xpcshell tests with one that claims add-ons are signed by valid
certificates even when they aren't. This allows us to run tests even in builds
where signing cannot be disabled during for the normal application.

This adds an override for all tests except those that are explicitely testing
signing.
2016-01-29 16:41:18 -08:00
Dave Townsend
8691b09bc2 Bug 1236377: Ignore invalid file descriptors when loading an add-ons database written by a different OS. r=rhelmer
nsIFile descriptors use OS specific formats so when trying to read them we have
to catch any failure if the database was written by a different OS. This leaves
the _sourceBundle undefined in only one case which is guaranteed to be during
startup since xpistate.descriptor for the add-on will also be incorrect and so
the full add-on scan will be triggered. That will spot the mismatch and update
the add-on in the database with the correct descriptor.
2016-02-02 13:17:10 -08:00
Matthew Noorenberghe
9fc569a58b Bug 612168 - Follow-up for test_undouninstall.js trailing whitespace. r=eslint 2016-02-06 18:15:29 -08:00
Andrew Swan
361c05143d Bug 612168 - Handle uninstalls of restartless addons in XPIProvider. r=Mossop 2016-02-05 15:06:48 -08:00
Phil Ringnalda
80c8b4cc56 Merge m-c to f-t 2016-02-05 19:45:14 -08:00
Phil Ringnalda
cf9ad27651 Merge m-i to m-c, a=merge 2016-02-05 18:41:47 -08:00
Tom Schuster
705307de45 Bug 1245141 - Use new Proxy for AddonManager.addonTypes. r=mossop 2016-02-05 19:31:08 +01:00
Nick Alexander
0c38561375 Bug 1234629 - Part 2: Fail packaging if bouncer APK and main APK have different permissions. r=gps
This isn't sensible for b2gdroid, but that project should never enable
the bouncer APK anyway.
2016-01-27 14:34:46 -08:00
Nick Alexander
522820bdb3 Bug 1234629 - Part 1: Create bouncer APK for OTA distribution installs. r=margaret,gps
This commit produces an "install bouncer" APK which is a "hollow
shell" that looks like the main Fennec APK.  In particular, both APKs have:

* the same Android package name (application id); and
* the same set of <permission>, <uses-permission>, and <uses-feature>
  blocks in their manifests.

The bouncer APK must always have an android:versionCode smaller than
the main Fennec APK; for now, we will just bump that manually
mobile/android/bouncer/moz.build.
2016-01-27 15:28:31 -08:00
Wes Kocher
d4324cbe88 Backed out 2 changesets (bug 1232222) for xpcshell bustage
Backed out changeset 06bc151231a5 (bug 1232222)
Backed out changeset 38ba7c48145e (bug 1232222)
2016-02-05 16:29:00 -08:00
Robert Helmer
928e2cb2c5 Bug 1232222 - Expose isSystem flag if add-on is a system add-on. r=Mossop 2016-01-25 12:35:24 -08:00
Dave Townsend
381b5bc3ad Bug 1244302: Remove the add-ons selection UI. 2016-02-02 09:15:59 -08:00
Mike Shal
8660ef178a Bug 1243750 - Install all SDKs into sdk/; r=glandium 2016-01-29 14:52:52 -05:00
J. Ryan Stinnett
0373066d4a Bug 1245251 - Repair add-on manager for external XUL apps. r=Mossop 2016-02-05 09:56:15 -06:00
Nigel Babu
2682409fe4 Backed out 10 changesets (bug 1234629, bug 1233882) for bustage on Android rc tests
Backed out changeset 9aa32d9a25df (bug 1234629)
Backed out changeset d73d36c9619b (bug 1234629)
Backed out changeset a7f63b3721cd (bug 1233882)
Backed out changeset c79f4a8c3e86 (bug 1234629)
Backed out changeset 400c030d3c01 (bug 1234629)
Backed out changeset 54a3d0851bc6 (bug 1234629)
Backed out changeset f80912ecfa87 (bug 1234629)
Backed out changeset 50bcadca2131 (bug 1234629)
Backed out changeset aaa420ed66d7 (bug 1234629)
Backed out changeset 7a62e97f07c2 (bug 1234629)
2016-02-05 15:42:28 +05:30
Dave Townsend
71be6979b2 Bug 1245649: Turn on use-isnan, no-unexpected-multiline, no-octal and no-self-compare. r=MattN 2016-02-03 18:21:30 -08:00
Dave Townsend
4dd6b34d65 Bug 1245649: Turn on no-extra-semi. r=markh 2016-02-03 17:27:36 -08:00
Dave Townsend
309dc8a792 Bug 1245649: Turn on linebreak-style. r=Gijs 2016-02-03 17:04:56 -08:00
Dave Townsend
db523ac819 Bug 1245649: Turn on no-trailing-spaces. r=Gijs 2016-02-03 14:22:33 -08:00
Dave Townsend
dd99c04a73 Bug 1245649: Merge browser and toolkit eslint rule settings. r=felipe 2016-02-03 13:12:18 -08:00
Nick Alexander
bd7c9cf824 Bug 1234629 - Part 2: Fail packaging if bouncer APK and main APK have different permissions. r=gps
This isn't sensible for b2gdroid, but that project should never enable
the bouncer APK anyway.
2016-01-27 14:34:46 -08:00
Nick Alexander
a390c29b80 Bug 1234629 - Part 1: Create bouncer APK for OTA distribution installs. r=margaret,gps
This commit produces an "install bouncer" APK which is a "hollow
shell" that looks like the main Fennec APK.  In particular, both APKs have:

* the same Android package name (application id); and
* the same set of <permission>, <uses-permission>, and <uses-feature>
  blocks in their manifests.

The bouncer APK must always have an android:versionCode smaller than
the main Fennec APK; for now, we will just bump that manually
mobile/android/bouncer/moz.build.
2016-01-27 15:28:31 -08:00
Nick Alexander
61ddcc0a51 Bug 1163082 - Part 1: Add --with-android-distribution-directory. r=gps
This simply packs the assets/ subdirectory of the distribution
directory into the assets/ directory of the Android APK using existing
mechanisms.  It also removes the older method of manually pushing
files into dist/bin/distribution, from where they would be packaged
into the APK under distribution/.
2016-01-27 12:25:04 -08:00
Nick Alexander
212a46e40e Backed out 2 changesets (bug 1163082) for Robocop rc1 failures.
Backed out changeset baf25be8d491 (bug 1163082)
Backed out changeset e228040a044b (bug 1163082)
2016-02-03 23:15:00 -08:00
Nick Alexander
406f06596d Bug 1163082 - Part 1: Add --with-android-distribution-directory. r=gps
This simply packs the assets/ subdirectory of the distribution
directory into the assets/ directory of the Android APK using existing
mechanisms.  It also removes the older method of manually pushing
files into dist/bin/distribution, from where they would be packaged
into the APK under distribution/.
2016-01-27 12:25:04 -08:00