814d78872d62e9fa76e30f58ab2bcfba1943d5af: Bug 1179015 - WIP on the GCM registration. draft
Nick Alexander <nalexander@mozilla.com> - Tue, 01 Sep 2015 09:58:28 -0700 - rev 289611
Push 4994 by nalexander@mozilla.com at Tue, 01 Sep 2015 18:24:13 +0000
Bug 1179015 - WIP on the GCM registration.
d629c57d3b2f042e65662dd85c49740a709cf4fe: Bug 1179015 - Part 1: Add MOZ_ANDROID_GCM{_SENDERID} build flags. r=nalexander draft
Nick Alexander <nalexander@mozilla.com> - Tue, 01 Sep 2015 09:56:54 -0700 - rev 289610
Push 4994 by nalexander@mozilla.com at Tue, 01 Sep 2015 18:24:13 +0000
Bug 1179015 - Part 1: Add MOZ_ANDROID_GCM{_SENDERID} build flags. r=nalexander These flags are not intended to be feature specific. On day one, we intend to support a single GCM-backed feature -- Push Notifications -- but the set of GCM-consuming features is potentially large (e.g., possibly Firefox Sync tickles and Send Tab to Device alerts). Such features can and will have their own build flags.
3bc5e12709ac2257ac6625529bc1ec202707b606: Bug 1108782 - Part 2: Add ANDROID_LIBRARIES to moz.build. r?glandium draft
Nick Alexander <nalexander@mozilla.com> - Fri, 28 Aug 2015 13:54:57 -0700 - rev 289609
Push 4994 by nalexander@mozilla.com at Tue, 01 Sep 2015 18:24:13 +0000
Bug 1108782 - Part 2: Add ANDROID_LIBRARIES to moz.build. r?glandium This gets us a limited version of AAR support: we can consumer static AAR libraries, where here static does not refer to linking, but to static assets that are fixed at build-backend time and not modified (or produced) during the build. This lets us pin our dependencies (and move to Google's versioned Maven repository packages, away from Google's unversioned ad-hoc packages). By restricting to static AAR libraries, we avoid having to handle truly complicated dependency trees, as changing parts of generated AAR files require delicate rebuilding of the APKs (and internal libraries) that depend on the AAR files. It is possible that we will generate AARs in the tree at some time. Right now, we don't do that, even for GeckoView: the AARs produced are assembled as artifacts at package time and are intended for external consumption. We might want this for GeckoView and Fennec at some time; we should consider using Gradle everywhere at that point. The patch itself does the simplest possible thing (which has precedent from Gradle and other build systems): it simply "explodes" the AAR into the object directory and uses existing mechanisms to refer to the exploded pieces. There's a lot not to like in this approach: * exploding the AAR at build-backend time will slow that process; * the configure.in variables are multiplying; * we need to manually reference internal AAR libs; * I haven't separated the pinned version numbers out of configure.in. However, it's closer to what we want than what we have!
643f528eb6cdcf302a5d22da4039d3ab1f5059cb: Bug 1108782 - Part 1: straighten out Java classpaths. r?glandium draft
Nick Alexander <nalexander@mozilla.com> - Mon, 31 Aug 2015 13:35:05 -0700 - rev 289608
Push 4994 by nalexander@mozilla.com at Tue, 01 Sep 2015 18:24:13 +0000
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.
bbc0ead8e7a383c320e838b023b02b1fb0d94ff3: Bug 1137898 - Migrate to android:versionCode scheme v1. r?rnewman,snorp draft
Nick Alexander <nalexander@mozilla.com> - Wed, 26 Aug 2015 18:34:48 -0700 - rev 289607
Push 4994 by nalexander@mozilla.com at Tue, 01 Sep 2015 18:24:13 +0000
Bug 1137898 - Migrate to android:versionCode scheme v1. r?rnewman,snorp Android version codes serve multiple masters. They indicate newer versions, yes; but they also break ties between versions with different features and requirements. High order bits effectively partition the space of versions and are valuable. Since Android version codes are signed Java integers, we have 31 bits to work with. Mozilla's traditional build ID is YYYYMMDDhhmmss. This was chopped to ten characters (YYYYMMDDhh, i.e., hourly build IDs) and then converted to a decimal. This took many high order bits. We will lose another high order bit in the 36th month of 2015 -- i.e., as soon as the year rolls over to 2016. If we waited to lose the next higher order bit, we'd lose that one in the 46th month of 2017 -- i.e., as soon as the year rolls over to 2018. The following patch sacrifices a high order bit to change the version scheme, winning us roughly 15 years of hourly build IDs before we are forced to lose another high order bit. So it's clearly to our advantage to change the scheme sooner rather than later -- we will sacrifice 1 bit for 15 years of build IDs, rather than keeping the current scheme and sacrificing (say) 2 bits for 3 years of build IDs. The resulting scheme produces build IDs that look like (in binary): 0111 1000 0010 xxxx xxxx xxxx xxxx xyzw The meaning of these build IDs is documented in the Python source code that generates them.
6c7db25c10b643c8fe655976e613c29db7cd0bc4: No bug - Add |mach android| command. r=me draft
Nick Alexander <nalexander@mozilla.com> - Wed, 26 Aug 2015 10:57:49 -0700 - rev 289606
Push 4994 by nalexander@mozilla.com at Tue, 01 Sep 2015 18:24:13 +0000
No bug - Add |mach android| command. r=me DONTBUILD NPOTB This adds a pass-thru |mach android| command. It's just here to make it easier to add and remove Android SDK packages: since most folks don't have the Android tools on their PATH, this saves them having to root through the object directory to find the path to the tool.
d14e882d3267fe705f2522d0a97e47ec7c819107: Bug 1183335 - Install .idea and *.iml during |mach gradle-install|. r?mcomella,sebastian draft
Nick Alexander <nalexander@mozilla.com> - Mon, 24 Aug 2015 14:31:35 -0700 - rev 289605
Push 4994 by nalexander@mozilla.com at Tue, 01 Sep 2015 18:24:13 +0000
Bug 1183335 - Install .idea and *.iml during |mach gradle-install|. r?mcomella,sebastian This makes it possible to "Open" $OBJDIR/mobile/android/gradle (after |mach build|) without "Importing" it first. There should be no references outside of the active object directory. In time, we'll run this as part of the build configuration and remove |mach gradle-install| entirely. It's worth noting that the .idea/libraries directory *cannot* be committed since it contains developer-machine absolute path (to the Android SDK sources); this means that there's some flakiness around building with Gradle in IntelliJ before everything works perfectly. We may need to recommend using View > Tool Windows > Gradle and refreshing. Testing wanted! Additional notes: * This includes an MPL copyright block and a conflicting Class.java header. I'll clean that before landing. It's not possible to format the MPL copyright block exactly as we do know (bonkers, I know!): IntelliJ won't give us /* First line ... it will only give /* * First line... or // First line... I opted for the latter. We can mass rewrite if we want to keep this and care enough. * This includes an ordering for imports, putting org.mozilla ahead of everything else ahead of java.* and javax.*. Input wanted. * It's not possible to turn on ECMAScript 2015 since that is inexplicably stored in .idea/workspace.xml, which can't be checked into VCS (or reasonably generated). This is an IntelliJ bug, no two ways about it. (There are many IntelliJ bugs with respect to sharing configurations.)
f67e9eecfdf3f452e4fd55901f8eb42b0f3ed22c: No bug - Make project-wide default language level be Java 1.7 in IntelliJ. r=me draft
Nick Alexander <nalexander@mozilla.com> - Fri, 21 Aug 2015 16:16:16 -0700 - rev 289604
Push 4994 by nalexander@mozilla.com at Tue, 01 Sep 2015 18:24:13 +0000
No bug - Make project-wide default language level be Java 1.7 in IntelliJ. r=me DONTBUILD NPOTB Straight from http://stackoverflow.com/a/24751182 and the linked IntelliJ tickets.
3d0a04bc6acc5bd44ab721217d541909e73a3376: Bug 1016051 - Allow username update from capture phase r=MattN draft
Bernardo P. Rittmeyer <bernardo@rittme.com> - Tue, 01 Sep 2015 10:30:10 -0700 - rev 289603
Push 4993 by bernardo@rittme.com at Tue, 01 Sep 2015 18:07:00 +0000
Bug 1016051 - Allow username update from capture phase r=MattN
6d4b616bfc57bb3726b324775fcec53da1319022: Bug 1200228 - Fix content DisplayPort calculation. r=kats draft
Benoit Girard <b56girard@gmail.com> - Tue, 01 Sep 2015 13:36:51 -0400 - rev 289602
Push 4992 by b56girard@gmail.com at Tue, 01 Sep 2015 17:36:59 +0000
Bug 1200228 - Fix content DisplayPort calculation. r=kats
9e99f8278d0cccc2b860287b9e20ecc8a2022541: Bug 999450 - Adding --subsuite option to make find-test-chunk detect chunk for tests run as subsuite. r=chmanchester draft
Vaibhav Agrawal <vaibhavmagarwal@gmail.com> - Tue, 01 Sep 2015 10:33:14 -0700 - rev 289601
Push 4991 by vaibhavmagarwal@gmail.com at Tue, 01 Sep 2015 17:34:01 +0000
Bug 999450 - Adding --subsuite option to make find-test-chunk detect chunk for tests run as subsuite. r=chmanchester
47a7bc725c29581272dd739036364d72f3b35662: Bug 999450 - Adding --e10s option to make find-test-chunk detect chunk for a test on e10s platform. r=chmanchester draft
Vaibhav Agrawal <vaibhavmagarwal@gmail.com> - Tue, 01 Sep 2015 10:27:34 -0700 - rev 289600
Push 4991 by vaibhavmagarwal@gmail.com at Tue, 01 Sep 2015 17:34:01 +0000
Bug 999450 - Adding --e10s option to make find-test-chunk detect chunk for a test on e10s platform. r=chmanchester
fbf2c7814aa185e4ef006af72565c7f7ddea422d: Bug 999450 - Make find-test-chunk detect if a test is disabled on a platform. r=chmanchester draft
Vaibhav Agrawal <vaibhavmagarwal@gmail.com> - Tue, 01 Sep 2015 10:14:44 -0700 - rev 289599
Push 4991 by vaibhavmagarwal@gmail.com at Tue, 01 Sep 2015 17:34:01 +0000
Bug 999450 - Make find-test-chunk detect if a test is disabled on a platform. r=chmanchester
7cf7a64736eeb428853c3b0821ec705149058235: Bug 1184058 - AudioChannelAgent should be muted when used without a proper window object. r=alwu
Andrea Marchesini <amarchesini@mozilla.com> - Tue, 01 Sep 2015 12:05:59 -0400 - rev 289598
Push 4991 by vaibhavmagarwal@gmail.com at Tue, 01 Sep 2015 17:34:01 +0000
Bug 1184058 - AudioChannelAgent should be muted when used without a proper window object. r=alwu CLOSED TREE
fd0134809e69e2402ca9359b15e47f2d9e22f32b: Backed out 11 changesets (bug 1083101) for causing mass Windows 7 test failures.
Ryan VanderMeulen <ryanvm@gmail.com> - Tue, 01 Sep 2015 11:35:02 -0400 - rev 289597
Push 4991 by vaibhavmagarwal@gmail.com at Tue, 01 Sep 2015 17:34:01 +0000
Backed out 11 changesets (bug 1083101) for causing mass Windows 7 test failures. Backed out changeset 42d192dbf938 (bug 1083101) Backed out changeset 0a6cc12c33d7 (bug 1083101) Backed out changeset b82291c07e0e (bug 1083101) Backed out changeset 2d32462f6c58 (bug 1083101) Backed out changeset c234e70021a7 (bug 1083101) Backed out changeset 23a3870672ae (bug 1083101) Backed out changeset 78f3c70cf1cb (bug 1083101) Backed out changeset 86f55d9695f0 (bug 1083101) Backed out changeset 6b8940305079 (bug 1083101) Backed out changeset 5efc1e52e4e9 (bug 1083101) Backed out changeset dd266975e407 (bug 1083101) CLOSED TREE
8a82bf9c643e4304541f9a7b2ee796f13e8e259e: Bug 1184967 P3 Switch mochitest redirect tests back to returning a CORS Response. r=nsm
Ben Kelly <ben@wanderview.com> - Tue, 01 Sep 2015 07:58:34 -0700 - rev 289596
Push 4991 by vaibhavmagarwal@gmail.com at Tue, 01 Sep 2015 17:34:01 +0000
Bug 1184967 P3 Switch mochitest redirect tests back to returning a CORS Response. r=nsm
4c760766972744fe22986dff7bc36e88ade60395: Bug 1184967 P2 Update fetch-frame-resource.https.html CORS checks to expect pass. r=jgraham
Ben Kelly <ben@wanderview.com> - Tue, 01 Sep 2015 07:58:34 -0700 - rev 289595
Push 4991 by vaibhavmagarwal@gmail.com at Tue, 01 Sep 2015 17:34:01 +0000
Bug 1184967 P2 Update fetch-frame-resource.https.html CORS checks to expect pass. r=jgraham
00d29043eee25892fac9b8e87fc94bd4c7f1a934: Bug 1184967 P1 Set RequestMode based on LoadInfo securityMode and client request content policy. r=nsm
Ben Kelly <ben@wanderview.com> - Tue, 01 Sep 2015 07:58:34 -0700 - rev 289594
Push 4991 by vaibhavmagarwal@gmail.com at Tue, 01 Sep 2015 17:34:01 +0000
Bug 1184967 P1 Set RequestMode based on LoadInfo securityMode and client request content policy. r=nsm
4f903c7e59e060ba33926839b6beb5167ec91b9d: Bug 1199662 - Crash ping environment block is broken when any string field contains a quotation mark. Unescape INI fields properly using the library that already exists for the purpose. r=ted
Benjamin Smedberg <benjamin@smedbergs.us> - Fri, 28 Aug 2015 12:53:43 -0400 - rev 289593
Push 4991 by vaibhavmagarwal@gmail.com at Tue, 01 Sep 2015 17:34:01 +0000
Bug 1199662 - Crash ping environment block is broken when any string field contains a quotation mark. Unescape INI fields properly using the library that already exists for the purpose. r=ted
499f911151a05faefc872bb9a07d6d60ace6be61: Backed out changeset ddc08e87843f (bug 1184058) for AudioChannelAgent crashes/asserts.
Ryan VanderMeulen <ryanvm@gmail.com> - Tue, 01 Sep 2015 09:47:02 -0400 - rev 289592
Push 4991 by vaibhavmagarwal@gmail.com at Tue, 01 Sep 2015 17:34:01 +0000
Backed out changeset ddc08e87843f (bug 1184058) for AudioChannelAgent crashes/asserts.
(0) -100000 -30000 -10000 -3000 -1000 -300 -100 -50 -20 +20 +50 +100 +300 +1000 +3000 +10000 +30000 +100000 +300000 tip