Commit Graph

19870 Commits

Author SHA1 Message Date
Margaret Leibovic
e34bd976e9 Bug 1210386 - Link "Make Firefox Default Browser" to Settings page. r=sebastian
MozReview-Commit-ID: 9nrVnUaqO7K

--HG--
extra : rebase_source : 0eba2c2f543ed190c2c6d87252ef227f60dc6d87
2016-04-07 13:00:55 -04:00
Michael Comella
172b0b3053 Bug 1247489 - Add tests for mandatory field validation in TelemetryPingBuilder. r=grisha
MozReview-Commit-ID: 9AtwJ3SisFT

--HG--
extra : rebase_source : 63c4c7ba2bc5678f058aafdd718a7b583c7fb13b
2016-04-11 18:35:20 -07:00
Michael Comella
fa00135f56 Bug 1247489 - Move Telemetry*Ping* to telemetry/pings pkg. r=grisha
This should help make the Builders more discoverable when looking at the
TelemetryPing class.

MozReview-Commit-ID: K1OiSuKW5fO

--HG--
rename : mobile/android/base/java/org/mozilla/gecko/telemetry/TelemetryCorePingBuilder.java => mobile/android/base/java/org/mozilla/gecko/telemetry/pings/TelemetryCorePingBuilder.java
rename : mobile/android/base/java/org/mozilla/gecko/telemetry/TelemetryPing.java => mobile/android/base/java/org/mozilla/gecko/telemetry/pings/TelemetryPing.java
rename : mobile/android/base/java/org/mozilla/gecko/telemetry/TelemetryPingBuilder.java => mobile/android/base/java/org/mozilla/gecko/telemetry/pings/TelemetryPingBuilder.java
extra : rebase_source : 0e9165b9230f4cc91066460cc72d12f36efe9a91
2016-04-14 11:50:57 -07:00
Michael Comella
4a899f9e1f Bug 1247489 - Replace TelemetryPingGenerator with TelemetryPingBuilder & friends. r=grisha
The Builder pattern has the following benefits:
  * Encapsulate identifying optional arguments
  * Encapsulate parameter validation
  * More fluent parameter insertion (e.g. instead as unnamed arguments to a
function)
  * My implementation makes it fairly straight-forward to construct new
telemetry pings.

MozReview-Commit-ID: EpcW3N57HJj

--HG--
extra : rebase_source : a33ef584ed47b36910417854208fa02438556467
2016-04-11 17:45:29 -07:00
Carsten "Tomcat" Book
0a47ef22ae Merge mozilla-central to fx-team 2016-04-14 11:39:50 +02:00
Carsten "Tomcat" Book
32c25ca2da merge mozilla-inbound to mozilla-central a=merge 2016-04-14 11:38:11 +02:00
Michael Kaply
b4f3501464 Bug 1264076 - Remove accidental commit of bouncer change; r=me 2016-04-13 20:51:40 -05:00
Michael Kaply
e9bc8bf7d5 Bug 1264076 - Allow customized device string for user agent on Fennec; r=mcmanus 2016-04-13 20:46:13 -05:00
Chenxia Liu
96c3aca20a Bug 1264262 - crash in java.lang.IllegalArgumentException: Missing default panels at org.mozilla.gecko.home.HomeConfigPrefsBackend.combineHistoryAndSyncPanels(HomeConfigPrefsBackend.java). r=mcomella
MozReview-Commit-ID: F9Sg6l6yMlw

--HG--
extra : rebase_source : 99d7217ee84b47b361c012d4a0ed423207f46edc
2016-04-13 18:38:02 -07:00
Andrzej Hunt
7783783cc8 Bug 1264134 - Don't assert SavedReaderViewHelper running off main thread r=mcomella
It turns out that with sync enabled, we do the first load of the database on the UI thread.
The SavedReaderViewHelper (which is initialised during DB load) assumes we're run off the
main thread, we need to disable that assertion until we can ensure that DB loading is done
off the main thread.

MozReview-Commit-ID: AYQewTVjEbA

--HG--
extra : amend_source : 7d479084124b57135f4a97687d43652cf8041960
2016-04-12 18:55:25 -07:00
Michael Comella
0d07c41e3e Bug 1260758 - Bump core ping version for distribution id. r=trivial
MozReview-Commit-ID: 2MfuzuTTimI
2016-04-13 16:23:55 -07:00
Michael Comella
3b46934fc2 Bug 1255657 - Write client ID file before Gecko starts to prevent race. r=rnewman
As best as I can tell, this code runs before Gecko is initialized. via
bug 1255657 comment 8:

To confirm this, GeckoProfile is created before the GeckoThread is
finished launching but it seems almost coincidental:
 GeckoApp.onCreate
  GeckoThread.launch
   GeckoThread.start
...
 GeckoThread.run
  GeckoThread.getGeckoArgs (notably before GeckoLader.nativeRun)
   GeckoThread.addCustomProfileArg
    (if GAP.getGeckoInterface != null, which is set earlier in GeckoApp.onCreate)
     EITHER
     GeckoProfile.getDir() (if in guest mode)
      GeckoProfile.forceCreate
     GeckoProfile.forceCreate (if not in guest mode)

forceCreate opens the times.json file.

That being said, if this code path changes, forceCreate is also called
when the GeckoView is initialized (which occurs after the GeckoThread.launch
call, but is likely to happen before Gecko finishes launching).
---

If we wanted GeckoProfile initialization timing to be seem less coincidental,
we should consider initializing the profile non-lazily: bug 1262625.

MozReview-Commit-ID: LGluC021CTg

--HG--
extra : rebase_source : 7d1ff8a354accfaae0dc3f2d222ed32f6aa8cbf6
2016-04-06 15:07:01 -07:00
Michael Comella
b24d5576d8 Bug 1260758 - Add distribution field to Fennec core ping - forgot to add file; r=mfinkle,mkaply 2016-04-13 15:31:36 -05:00
Michael Comella
05e644fb67 Bug 1260758 - Add distribution field to Fennec core ping; r=mfinkle,mkaply 2016-04-13 15:17:13 -05:00
Michael Comella
2f85846508 Bug 1258789 - Remove allowEmptyLoops I added previously to simplify things. r=grisha
MozReview-Commit-ID: 7iL8VjkMSTh

--HG--
extra : rebase_source : 2677a416fabf5672d3fc259ed85424a1b2e96b6f
2016-04-13 11:22:41 -07:00
Michael Comella
26ea5a1f85 Bug 1258789 - Remove WhitespaceAround tokens filter and fix lcurly issues. r=grisha
Some issues remain.

MozReview-Commit-ID: 3vWQ3z5mnba

--HG--
extra : rebase_source : caacb08f22c88048f9f845a8c5a76a8d57a6e340
2016-04-13 11:17:55 -07:00
Michael Comella
f28c02b827 Bug 1258789 - Add div* token for WhitespaceAround. r=grisha
Fix some cast issues while I was at it.

MozReview-Commit-ID: 53ANWpnIGwk

--HG--
extra : rebase_source : 57c8e8c764f5f8fc4f0eb3e2880d741904f34a0d
2016-04-13 11:15:00 -07:00
Michael Comella
e2389005e3 Bug 1258789 - Fix remaining rcurly issues by eliminating double curly bracket. r=grisha
It's an anti-pattern:
  https://blog.jooq.org/2014/12/08/dont-be-clever-the-double-curly-braces-anti-pattern/

Mobile-relevant summary:
  * It creates new types, bloating our APK
  * It can cause memory leaks by keeping a reference to the containing class

MozReview-Commit-ID: 4HQHgenOq92

--HG--
extra : rebase_source : da676dcd95f836b6ef3ba4d8465ecaf74d1e15e8
2016-04-13 11:03:40 -07:00
Michael Comella
746406d02b Bug 1258789 - Add rcurly and fix {} issues. r=grisha
MozReview-Commit-ID: m2dF4mPC1u

--HG--
extra : rebase_source : 6797dc55ab478d310f43a77badc83eabcedd0d6d
2016-04-13 10:51:26 -07:00
Michael Comella
b110b39473 Bug 1258789 - Add passing tokens to WhitespaceAround. r=grisha
MozReview-Commit-ID: ANbUHFNzE7W

--HG--
extra : rebase_source : 17d1c516fc4a52622615f82a930cddfbfe680435
2016-04-12 18:44:18 -07:00
Michael Comella
3f8a975e44 Bug 1258789 - Add plus operator to WhitespaceAround and fix. r=grisha
MozReview-Commit-ID: 419NkkMHWCG

--HG--
extra : rebase_source : da4ccbacf82ac546cbcd79f0ad26a26f0305f230
2016-04-12 18:42:40 -07:00
Michael Comella
70af5a5d77 Bug 1258789 - Add star to WhitespaceAround and fix. r=grisha
MozReview-Commit-ID: 3FY8m1qPj8V

--HG--
extra : rebase_source : 52395f96af35872f3f06edcedd7f3bbef44eab82
2016-04-12 18:36:28 -07:00
Michael Comella
82a1b5f82d Bug 1258789 - Add shift operators to WhitespaceAround & fix. r=grisha
MozReview-Commit-ID: 9sCtvvUYixh

--HG--
extra : rebase_source : 4cfb3d835d2fc17471c227f6f9c9ed8699b2ec85
2016-04-12 18:29:58 -07:00
Michael Comella
0d235c902a Bug 1258789 - Add a few more to WhitespaceAround and fix. r=grisha
MozReview-Commit-ID: AkJEXhlp3Rf

--HG--
extra : rebase_source : 1bda7fa0a606feff4adfc565524e125b3dbe8312
2016-04-12 18:27:20 -07:00
Michael Comella
91cab209eb Bug 1258789 - Add while to WhitespaceAround. r=grisha
MozReview-Commit-ID: HhbBCjojNiC

--HG--
extra : rebase_source : 27e7eab179cf26fbf877f15d7d4dc70ffb3a9725
2016-04-12 18:21:45 -07:00
Michael Comella
536223b0e1 Bug 1258789 - Add synchronized & non-failing try to WhitespaceAround. r=grisha
MozReview-Commit-ID: EBnxF8j2eeY

--HG--
extra : rebase_source : e5f79e706f7ba63b484baf5b339581cdbeee626d
2016-04-12 18:20:51 -07:00
Michael Comella
b7ca9be873 Bug 1258789 - Add switch for whitespaceAround. r=grisha
MozReview-Commit-ID: 167JoSl5go5

--HG--
extra : rebase_source : 551818e264794e34c4701ee53953489fc5554b4b
2016-04-12 18:19:14 -07:00
Michael Comella
ee32f11bed Bug 1258789 - Add if & return for WhitespaceAround. r=grisha
MozReview-Commit-ID: HcWrFHy2CeP

--HG--
extra : rebase_source : c687476ab0ee6fb1054e507cb50495e55e856725
2016-04-12 18:18:02 -07:00
Michael Comella
df95be9bdf Bug 1258789 - Add literal catch & a few others that don't break for WhitespaceAround. r=grisha
MozReview-Commit-ID: 1En0xuxT4md

--HG--
extra : rebase_source : e387c2bce427e33185c4dabdec7b169ef5133de8
2016-04-12 18:16:16 -07:00
Michael Comella
6ea08620c8 Bug 1258789 - Add binary logic operators for WhitespaceAround. r=grisha
MozReview-Commit-ID: 12BUCUmassJ

--HG--
extra : rebase_source : c414f36187da86390b633357232c883668f9afe1
2016-04-12 18:10:55 -07:00
Michael Comella
30fdaa2a6c Bug 1258789 - Add WhitespaceAround for ASSIGN token. r=grisha
MozReview-Commit-ID: 6IOIatuHuYW

--HG--
extra : rebase_source : af95f21ba76cf1ceb4f935d1d9947c9f2a9187f2
2016-04-12 18:07:33 -07:00
Mark Capella
88cc5b6c9a Bug 1235508 - Re-implement fast Phone number selection on long-press, r=TYLin 2016-04-14 02:14:16 -04:00
William Chen
7123f415a0 Bug 1260499 - Handle incoming messages before push service is initialized. r=nalexander,jchen
--HG--
extra : rebase_source : b36be1078f2952aab5cc95e4a9c2a44e85f7876b
2016-04-13 16:55:25 -07:00
William Chen
3b5039d9a7 Backed out changeset 6ccfb75c8926 (bug 1260499) for wrong patch
--HG--
extra : rebase_source : 2915ef7ca91bafc94532fb38a179cc49e9d4e9a0
2016-04-13 15:37:48 -07:00
Wes Kocher
aa13902dde Merge m-c to inbound, a=merge
MozReview-Commit-ID: ET0qKXDqQXD
2016-04-13 14:45:41 -07:00
William Chen
01a139d9a0 Bug 1260499 - Handle incoming messages before push service is initialized. r=nalexander,jchen
--HG--
extra : rebase_source : 8f6682b61d77c4c943914b23f2eb5ba1c014a576
2016-04-13 14:30:33 -07:00
Margaret Leibovic
549c799b69 Bug 1261137 - Add groups in Settings > Advanced. r=sebastian
MozReview-Commit-ID: 2jUL0PJ33bq

--HG--
extra : rebase_source : b715458d0ab6dd137e42467f98ed6a94ffa719c1
2016-04-12 17:52:47 -04:00
Margaret Leibovic
bc99856818 Bug 1262489 - Improve wording of "Show web fonts" setting. r=sebastian
MozReview-Commit-ID: CNcOsT0Zusm

--HG--
extra : rebase_source : 3e3a57468d3cc0d26ce43400cc333bd2eedf3123
2016-04-12 17:41:01 -04:00
Jorick Caberio
37e0f76dd7 Bug 1261039 - Remove Honeycomb code guarded by AppConstants.Versions.preHCMR1 / preHCMR2. r=sebastian
MozReview-Commit-ID: LdULUXl2kba

--HG--
extra : rebase_source : 6c5b06298592b30dacf3f10de14d180e04d18e38
2016-04-08 16:52:57 +08:00
Mouaad Aallam
0ba922c58c Bug 1261044 - Move AnimatorProxy functionality into ViewHelper. r=sebastian
MozReview-Commit-ID: IjVVUfJheOt

--HG--
extra : rebase_source : 246ab0a831fe70bab532981a0b42e9d389d87c47
2016-04-13 15:50:35 +02:00
bzrd_Sdn
936e313c2f Bug 1256922 - Remove unused HardwareUtils.isLowMemoryPlatform(). r=sebastian
MozReview-Commit-ID: CDkh8AekOVe

--HG--
extra : rebase_source : 232f50d3b6fb8d4599967552679f05fe070e5dc1
2016-04-13 14:49:24 +02:00
Michael Kaply
5f529ba85b Bug 1264050 - Use distribution/defaults directory even if is no SIM card data; r=sebastian 2016-04-13 08:47:07 -05:00
Jan Henning
7ccbb26669 Bug 1229967 - Handle onKeyDown() for the menu key in GeckoMenu. r=sebastian
This restores the functionality to close the menu by pressing the hardware menu key.

MozReview-Commit-ID: EKCeALPvFoB

--HG--
extra : transplant_source : %02%7E%E0%98%40%F3%D1%A4C%FC%CA%7E%CB%96%A2%CC%EDkq%D6
2016-04-11 12:42:21 +02:00
Mark Capella
9362beb939 Bug 1263460 - Fix UI on Long press of empty Yahoo search field, r=sebastian
MozReview-Commit-ID: IKXthXUihOL
2016-04-12 21:42:17 -04:00
Andrzej Hunt
fed518b421 Bug 1257636 - Show "bookmarks panel is hidden" snackbar if necessary in migrated reading list panel r=liuche
MozReview-Commit-ID: BVbILiWMyfT

--HG--
extra : rebase_source : bd4a611f91a78b617cfb310b57da548ec15ca52a
2016-04-11 12:48:19 -07:00
Wes Kocher
a3d9ff8cce Merge m-c to fx-team, a=merge
MozReview-Commit-ID: BtBb2JBX4uX
2016-04-12 15:37:01 -07:00
Wes Kocher
1e0c62f10f Merge fx-team to central, a=merge
MozReview-Commit-ID: ApMCFiyBik0
2016-04-12 15:34:39 -07:00
Sebastian Kaspari
6aaf1be80e Bug 1258988 - Content notifications: Add support for Tumblr. r=mcomella
MozReview-Commit-ID: JT2MtkvQtKx

--HG--
extra : rebase_source : bb0ba96a873980b47eb567df3d6f9af8f644cbd1
extra : amend_source : 3c98ded83c9d7ef258d16976382a0c3f17153fc5
2016-04-12 16:20:32 +02:00
Sebastian Kaspari
c72ce17279 Bug 1232706 - Promote "Add to home screen" for frequently visited websites. r=margaret
MozReview-Commit-ID: 2OW7GKxuQmr

--HG--
extra : rebase_source : 5cbcfe4183a7bef66f30e4797d5362053eda22c4
2016-04-06 09:41:34 +02:00
Michael Comella
810b3337f8 Bug 1263470 - Set edit/display layouts to invisible to avoid animation jank. r=sebastian
They were previously being set to GONE, causing a measure pass when the
animation started.

MozReview-Commit-ID: FKjB2vJmWkd

--HG--
extra : rebase_source : 25a10f5e8121b48883d8673fa2184ab42a341605
2016-04-10 13:50:06 -07:00