Commit Graph

55 Commits

Author SHA1 Message Date
Sebastian Hengst
0264cdf6be Bug 1336311 - Change code comments with http://hg.mozilla.org to https://. r=gps
For components also referencing it in code, see the blockers of bug 1336311.

MozReview-Commit-ID: 4tUZ24HKBWy

--HG--
extra : rebase_source : ec16149f525b9b7eaca7f96f1369929d21497121
2017-02-07 17:52:56 +01:00
Swaroop Rao
7e12d23496 Bug 1328837 - Move 'Switchboard' code into our module/package. Refactored SwitchBoard component to pull it into the app module. r=sebastian
MozReview-Commit-ID: HfypfVFdPwP

--HG--
rename : mobile/android/thirdparty/com/keepsafe/switchboard/AsyncConfigLoader.java => mobile/android/base/java/org/mozilla/gecko/switchboard/AsyncConfigLoader.java
rename : mobile/android/thirdparty/com/keepsafe/switchboard/DeviceUuidFactory.java => mobile/android/base/java/org/mozilla/gecko/switchboard/DeviceUuidFactory.java
rename : mobile/android/thirdparty/com/keepsafe/switchboard/Preferences.java => mobile/android/base/java/org/mozilla/gecko/switchboard/Preferences.java
rename : mobile/android/thirdparty/com/keepsafe/switchboard/Switch.java => mobile/android/base/java/org/mozilla/gecko/switchboard/Switch.java
rename : mobile/android/thirdparty/com/keepsafe/switchboard/SwitchBoard.java => mobile/android/base/java/org/mozilla/gecko/switchboard/SwitchBoard.java
extra : rebase_source : 696e6169c616f7a7540d452b27318c9647f620ee
2017-01-28 16:26:13 -05:00
Nick Alexander
b4c52f8bca Bug 1291363 - Add geckoview and geckoview_example Gradle projects. r=jchen,sebastian
We need to bump the Gradle Deps task, which fetches dependencies, to
include new test dependencies; and use freshly uploaded tooltool
archives (manually uploaded) containing the new test dependencies.

MozReview-Commit-ID: 8bNOVQPHlk6

--HG--
extra : rebase_source : 0c80117fb58e43f9c857027941f0a14f03b97f13
2016-10-05 20:23:38 -07:00
Nick Alexander
b316681623 Bug 1303468 - Follow-up: Unbust Gradle lint. r=me
MozReview-Commit-ID: IWB0CMVuNPr
2016-09-19 14:54:24 -07:00
Nick Alexander
94886d9a99 Bug 1303468 - Part 1: Move more things into GeckoView. r=jchen
MozReview-Commit-ID: CEjyq0TFn6j

--HG--
rename : mobile/android/base/java/org/mozilla/gecko/SysInfo.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/SysInfo.java
rename : mobile/android/base/java/org/mozilla/gecko/annotation/JNITarget.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/annotation/JNITarget.java
rename : mobile/android/base/java/org/mozilla/gecko/annotation/ReflectionTarget.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/annotation/ReflectionTarget.java
rename : mobile/android/base/java/org/mozilla/gecko/annotation/RobocopTarget.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/annotation/RobocopTarget.java
rename : mobile/android/base/java/org/mozilla/gecko/annotation/WebRTCJNITarget.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/annotation/WebRTCJNITarget.java
rename : mobile/android/base/java/org/mozilla/gecko/annotation/WrapForJNI.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/annotation/WrapForJNI.java
extra : rebase_source : aa34c4b5333ed1db01ae5437946e9e48e136c9e4
extra : histedit_source : 75cc1703f895894c1a5a55f1c5cb94d4cbde5b8e
2016-09-16 15:53:39 -07:00
Sebastian Kaspari
6e8d16fcc6 Bug 1290014 - Add DiskLruCache library. r=ahunt,Grisha
This patch adds the known and widely used disk LRU cache library by Jake Wharton [1].
It's a standalone version of the disk LRU cache found in the AOSP tree.

The goal is to use a flat file disk cache to avoid the overhead of storing blobs
in a database [2] (and some bugs like bug 1108084).

[1] https://github.com/JakeWharton/DiskLruCache
[2] https://wiki.mozilla.org/Performance/Avoid_SQLite_In_Your_Next_Firefox_Feature

MozReview-Commit-ID: 2ayN7SYVe4W

--HG--
extra : rebase_source : d24907e9ab5563999754bb1f554ed31e5c90d47d
2016-07-27 16:20:00 +02:00
Andrzej Hunt
4b9284487d Bug 1280382 - Catch ClassCastException that may occur on return from generic method r=mcomella
MozReview-Commit-ID: BfiAMAEY1jY

--HG--
extra : rebase_source : d7fde4380e232a19880b896234d658f60a84965d
2016-07-05 09:29:30 -07:00
Tarek Ziadé
4b4d7ebc98 Bug 1271860 - Move switchboard logic to client to consume JSON config directly - r=sebastian
MozReview-Commit-ID: C3W8qf2nbVq

--HG--
extra : rebase_source : f6366592731771a53a300b4d9e919a4105d468b8
2016-07-05 15:55:54 +02:00
Sebastian Kaspari
aaab192fc8 Bug 1274955 - Extract Android dependency versions. r=glandium
MozReview-Commit-ID: FXwWjWIXke4

--HG--
extra : rebase_source : 8532dd6049bc411990547888600d1a394d8fbc14
2016-05-23 13:20:43 +02:00
Margaret Leibovic
0ae18f321a Bug 1270929 - (Part 2) Create Experiments.setOverride/clearOverride API to allow add-ons to force enable/disable experiments. r=sebastian
MozReview-Commit-ID: 1tCstZwVl9T

--HG--
extra : rebase_source : aac57726bb28454c50b3de2830ba5f8bbc8794fb
extra : histedit_source : b2b287e9fb2254e33fc407db180fd88f13b069c6
2016-05-07 16:44:00 -04:00
Margaret Leibovic
3b0c907df9 Bug 1270929 - (Part 1) Remove support for specifying UUID from intent extra. r=sebastian
MozReview-Commit-ID: XUUkxD7261

--HG--
extra : rebase_source : 8bef3a78401c7ac582c74a7f8f384c94dda52f51
extra : histedit_source : 7fa91428ed1785d3e183e2aef862f865b3074755
2016-05-07 12:54:14 -04:00
Margaret Leibovic
80fec53084 Bug 1262811 - Remove unnecessary Switchboard logging. r=sebastian
MozReview-Commit-ID: 7y25PagX9E1
2016-04-07 11:08:19 -04:00
Margaret Leibovic
5f3853572c Bug 1262811 - Don't accidentally log a null message. r=sebastian
MozReview-Commit-ID: DGAAGMZyNlG
2016-04-07 11:04:00 -04:00
Margaret Leibovic
2fd4a808bd Bug 1261713 - (Part 3) Refactor and add tests for extra experiment values support. r=sebastian
MozReview-Commit-ID: A1enTZO7f9X

--HG--
extra : rebase_source : f920ca1f172fd6f01af932c3fc1291e093f864a3
2016-04-03 18:24:29 -04:00
Margaret Leibovic
7a3cebb5ed Bug 1261713 - (Part 2) Refactor isInExperiment and add unit test. r=sebastian
MozReview-Commit-ID: 7etdTcolf26

--HG--
extra : rebase_source : cefe9029a8b6d14cdcd969be7556aa677da9e546
2016-04-03 18:08:15 -04:00
Margaret Leibovic
895ef3571e Bug 1261713 - (Part 1) Add unit test for DeviceUuidFactory.java. r=sebastian
MozReview-Commit-ID: 16iy9tvgg8x

--HG--
extra : rebase_source : 2a10ae27b90738da6e39ec449c24590478302625
2016-04-03 17:58:12 -04:00
Margaret Leibovic
c7d8ce7715 Bug 1207719 - (Part 2) Change Switchboard to combine network requests for experiments and server configurations into a single network fetch. r=sebastian
MozReview-Commit-ID: c38pPvDrT8

--HG--
extra : rebase_source : 48d3d3539e53df41a1155aed8998a841c8330411
2016-04-03 17:20:44 -04:00
Margaret Leibovic
9762541092 Bug 1207719 - (Part 1) Convert tabs to spaces. r=sebastian
MozReview-Commit-ID: EyzXCnv1Nnk

--HG--
extra : rebase_source : 3fd530cfcc6762ecf4aa8cb13d351766bfde9f89
2016-04-01 18:23:13 -04:00
Sebastian Kaspari
d785077dda Bug 1255162 - Replace NineOldAndroids with system API. r=liuche
NineOldAndroids is a backport of the animation API that was introduced with Honeycomb.
Since we stopped supporting Gingerbread we do not need this library anymore and can
just use the system API.

MozReview-Commit-ID: Fv6ALlIktt5

--HG--
extra : rebase_source : 1b0b40303edb985361a23536921de38d5295604a
2016-03-10 13:38:28 +01:00
Chenxia Liu
f3588d3bb3 Bug 1201653 - Provide a way to self-select into a specific experiment [Switchboard]. r=margaret
--HG--
extra : commitid : Gg571HN4w2P
extra : rebase_source : e611b8448c0eda48280039b5a13aa6faaee13edb
2016-02-03 16:49:09 -08:00
Sebastian Kaspari
2607ce7b13 Bug 1238066 - Add LeakCanary to local (gradle) builds. r=nalexander
This patch adds LeakCanary to gradle builds and the no-op library to
mach-based builds.

--HG--
extra : commitid : LKytg2xYqO
extra : rebase_source : d44898c3fa57dc5cbefdf777ff5f7bbdc16dae28
extra : amend_source : 100e02a73d87297ad87f1a7514f8d142954f33b3
2016-01-21 12:35:21 +01:00
Sebastian Kaspari
d7d2e5a08c Bug 1207194 - Set targetSdkVersion to 23. r=nalexander
--HG--
extra : commitid : 611GlASpgvx
extra : rebase_source : 188665feaf2bec8532e48a8da87ab0004e0e6b01
2016-01-11 11:58:14 +01:00
Richard Newman
f73acc178f Bug 1237342 - Drop support for Android API 14 from Firefox builds. r=nalexander
--HG--
extra : commitid : Exc5s17e8Wt
extra : rebase_source : 0745780e85e84e5fa4263677582991053dcc49d1
2016-01-06 10:43:46 -08:00
Richard Newman
b15bbcf116 Bug 1155801 - Part 3: bump all build.gradle files to minSdkVersion 14.
--HG--
extra : commitid : 35HJuBtTN4H
extra : source : 995c8eadd377d0a2538cb4260f88534b8f3e03c1
2015-12-30 18:59:17 -08:00
Nigel Babu
859b2bfb24 Backed out changeset 995c8eadd377 (bug 1155801)
--HG--
extra : commitid : BPcLQ85nUoJ
2015-12-31 13:57:28 +05:30
Richard Newman
08eedc4990 Bug 1155801 - Part 3: bump all build.gradle files to minSdkVersion 14.
--HG--
extra : commitid : Jhp7tIcq5NV
2015-12-30 18:59:17 -08:00
Richard Newman
48c47841a1 No bug - Fix logging error in SwitchBoard.
--HG--
extra : commitid : 7TdJ00r3zBe
extra : rebase_source : ae3cfc611eceeea80c78b2a6028dea7f4932742a
2015-12-11 12:11:42 -08:00
Mark Finkle
e1b3e2d96d Bug 1210088 - Make sure the Switchboard config fetch acts like a true HTTP GET r=margaret 2015-10-22 01:06:15 -04:00
Nick Alexander
6e18f0f49b Bug 1123416 - Part 5: Make a 'thirdparty' Gradle project in the source directory. r=sebastian
I don't want to cut consumers of $OBJDIR/mobile/android/gradle over
yet, so this doesn't remove the existing 'thirdparty' project.

--HG--
rename : mobile/android/gradle/thirdparty/AndroidManifest.xml => mobile/android/thirdparty/AndroidManifest.xml
rename : mobile/android/gradle/thirdparty/build.gradle => mobile/android/thirdparty/build.gradle
extra : commitid : 8L8SU60bAig
extra : rebase_source : 0974b1e31821693b172f73119c4988c82a069a44
2015-10-20 15:32:50 -07:00
Nick Alexander
b5cc301ae2 Bug 1174244 - Switch in-tree Adjust SDK to use ch.boye instead of org.apache.http. r=sebastian
--HG--
extra : commitid : 8cSyY5fKTqF
extra : rebase_source : de196af633bc05991ada27f37b841fa1837bc6d9
2015-10-20 12:35:08 -07:00
Mark Finkle
cf6a5d1d1a Bug 1198009 - Add a broadcast notification to SwitchBoard after network configuration fetch r=rnewman 2015-09-12 19:26:31 -04:00
Mark Finkle
02bbd52b12 Bug 1198009 - Add SwitchBoard.getActiveExperiments r=rnewman 2015-09-12 19:26:14 -04:00
Mark Finkle
ca4c0d7bf1 Bug 1202154 - Switchboard does not catch Locale related exceptions r=nalexander 2015-09-08 23:49:07 -04:00
Mark Finkle
a73066ceb2 Bug 1201384 - Add support for determining Switchboard buckets locally r=chenxia 2015-09-08 23:28:01 -04:00
Mark Finkle
f42e445ccc Bug 1196897 - Integrate Switchboard SDK (A/B Testing) into Fennec r=nalexander
Pulled from 38361eb4dc
2015-08-27 13:49:30 -04:00
Nick Alexander
6c168f83cd Bug 964854 - Reveal cause of exception. r=rnewman
This fixes an oversight from Bug 1042929, which neglected to push the
underlying exception cause through to the final exception.

--HG--
extra : commitid : Hda5LyghAMG
extra : rebase_source : 4176ac7e6060c68af075374ce66ed223bed3c5f6
extra : histedit_source : f29d6d61ddbad9e590071986c152cc9dabe0088b
2015-06-19 10:50:34 -07:00
Nick Alexander
0d8ddf0fed Bug 1151619 - Add Adjust SDK license. r=gerv
--HG--
extra : rebase_source : 2fbbc0319faaf709b63925363e7a788bbb16451e
2015-05-11 14:05:06 -07:00
Mark Finkle
6dbb5ad52e Bug 1143888 - Integrate the Adjust install tracking SDK. r=mfinkle
--HG--
extra : rebase_source : d4a41c1193d93aa7774e68b302e9f9b13b5ec28c
2015-04-08 22:49:16 -07:00
Michael Comella
ea7cd573eb Bug 1056002 - Backout changeset c56275d516ec. r=mfinkle
This change caused a lot of fullscreen issues (see the dependent bugs).

--HG--
extra : rebase_source : 1e3f193b791dafdea6b3f8baa961801d26ae0164
2015-02-24 16:12:32 -08:00
Nick Alexander
4f3f4284e1 Bug 1098239 - Rewrite mobile/android Gradle integration. r=me
This is a big patch, but it's essentially NPOTB.  The part that is POTB
is ... removing Gradle integration from the build.  I've implemented
|mach gradle-install| as a substitute for the build system stuff; it's
just so much easier to iterate on a mach command than a moz.build and
Makefile.in.

I'm landing this with self-review because this lessens the impact of the
Gradle integration on the build system and because I am the only person
who understands either the old or the new system.

You'll need to run |mach gradle-install| at top level to configure the
new Gradle integration.  But |mach gradle ...| does the right thing
configuration steps too.

This patch rewrites most of the Gradle integration.  The major changes
are:

* all .gradle files move into mobile/android/gradle;
* all the Gradle projects live in the object directory;
* mozconfig exposed to all build.gradle files;
* simplification of Android configuration between build.gradle files;
* support for user-specified version of build tools;
* first steps towards supporting builds from the source directory;
* bumps Gradle to 2.2.1;
* bumps the Android-Gradle plugin to 0.14.4.

This is seemingly a step backwards given that we'd prefer to ship the
.idea directory in the source directory.  But in fact we get closer to
that; it's possible to run ./gradlew in the source directory and get a
reasonable build.  We'll progress with this in time.  The win right now
is that the projects are nested, which makes importing work better on
Linux machines.

Unfortunately IntelliJ 13 and 14 now have conflicting Android-Gradle
plugin version requirements, so we now only support IntelliJ 14.0.2 and
above.

--HG--
rename : mobile/android/base/gradle_AndroidManifest.xml => mobile/android/gradle/base/AndroidManifest.xml
rename : mobile/android/base/gradle_AndroidManifest.xml => mobile/android/gradle/branding/AndroidManifest.xml
rename : mobile/android/gradle/omnijar/gradle_AndroidManifest.xml => mobile/android/gradle/omnijar/AndroidManifest.xml
rename : mobile/android/base/gradle_AndroidManifest.xml => mobile/android/gradle/preprocessed_code/AndroidManifest.xml
rename : mobile/android/base/gradle_AndroidManifest.xml => mobile/android/gradle/preprocessed_resources/AndroidManifest.xml
rename : mobile/android/thirdparty/gradle_AndroidManifest.xml => mobile/android/gradle/thirdparty/AndroidManifest.xml
2014-12-22 19:49:04 -08:00
Nick Alexander
974a9f47b4 No bug - Unify android-sync git repo with m-c. r=trivial 2014-11-13 15:32:12 -08:00
Chris Kitching
d9529470c9 Bug 1098082: Merge identical catch branches. r=rnewman 2014-11-13 01:21:10 +00:00
Wes Kocher
2cfa0606c7 Backed out changeset 64a320318bf9 (bug 1098082) for android build bustage 2014-11-12 18:22:25 -08:00
Chris Kitching
e49d65def3 Bug 1098082: Merge identical catch branches. r=rnewman 2014-11-13 01:21:10 +00:00
Nick Alexander
75e27bd0f3 Bug 1041395 - Add gradle configuration. r=gps
--HG--
rename : mobile/android/base/docs/index.rst => mobile/android/base/docs/uitelemetry.rst
2014-11-10 13:47:30 -08:00
Lucas Rocha
04faa5357d Bug 1081209 - Integrate dspec on non-official builds (r=nalexander) 2014-10-10 18:32:24 +01:00
Lucas Rocha
02fbd0c286 Bug 1056002 - Tint the status bar on KitKat+ (r=mfinkle) 2014-09-26 13:29:15 +01:00
Richard Newman
dcd0eb82d4 Bug 1064363 - Part 1: remove third-party WebSocket library. r=snorp
Per Bug 834033 Comment 75.
2014-09-09 14:39:00 -07:00
Nick Alexander
899f3ad167 Bug 984503 - Pre: Remove trailing newlines from previous commit. r=trivial 2014-08-29 11:27:09 -07:00
Wes Kocher
7cfba5fa6e Backed out 2 changesets (bug 984503) for android build bustage
Backed out changeset 579667582c6a (bug 984503)
Backed out changeset 56c4334e838f (bug 984503)
2014-08-29 12:30:33 -07:00