Граф коммитов

20142 Коммитов

Автор SHA1 Сообщение Дата
Jim Chen 5fc36a4e06 Bug 1270201 - Change first Gecko argument to package name; r=snorp
The first argument (argv[0]) to Gecko should be the program name, not
the apk name. For Android, the program name is the package name.
2016-05-05 11:39:03 -04:00
Ryan VanderMeulen 70ba843b03 Merge m-c to inbound. a=merge
CLOSED TREE
2016-05-05 10:06:54 -04:00
Chenxia Liu 7c7423a780 Bug 1269914 - Add probe for reaching end of History list. r=margaret
MozReview-Commit-ID: E7eXsF8Voc9

--HG--
extra : rebase_source : aee5c00b342a5caa3125216f66f2925612d792b2
2016-05-03 17:23:58 -07:00
Chenxia Liu fbbc45529d Bug 1269909 - Add telemetry probe for clicking "Set up Sync" from History empty state. r=mfinkle
MozReview-Commit-ID: A24qXyNpWwk

--HG--
extra : rebase_source : a210c0298a5e404ad0e8353d1bfbf41e883bb8f4
2016-05-03 16:19:49 -07:00
Andrzej Hunt d4c9f99c6b Bug 1265004 - Try to save in-memory reader view article instead of downloading r=margaret
This should guarantee that any reader view page will also be successfully saved offline.

MozReview-Commit-ID: 4J8cY6hYeyU

--HG--
extra : rebase_source : 689a2db7a7d81dbe89e5e58c170afe473563b2f6
2016-05-02 15:47:46 -07:00
Chenxia Liu e6d9dc2dd7 Bug 1270197 - Crash when long-pressing History section header. r=sebastian
MozReview-Commit-ID: Fkna2jgTevD

--HG--
extra : rebase_source : da387e03ca9c33270eabeba72bfbf66741c974f9
2016-05-04 10:23:37 -07:00
Andrzej Hunt 1b537cbd9e Bug 1269406 - Upgrade delegates needing BrowserApp references to use BrowserAppDelegateWithReference r=sebastian
MozReview-Commit-ID: CV4uA2N8q8e

--HG--
extra : rebase_source : 0f1f7860812b97d11ab864a0b214fc1150e9b35e
extra : histedit_source : a60ef14bd29a821d9003fd7017bb343cd5ddd7dc
2016-05-02 11:08:16 -07:00
Andrzej Hunt fed70a8d15 Bug 1269406 - Implement BrowserAppDelegateWithReference r=sebastian
MozReview-Commit-ID: Jk5Wl8h6qka

--HG--
extra : rebase_source : b93966130d9c027d1157e2cc6673f2af80712add
extra : histedit_source : e3e0c07c5ea54d3c19ea9b1e5cd2f809d92b1cfb
2016-05-04 08:40:45 -07:00
Andrzej Hunt 5922d43a30 Bug 1269406 - Pre: move BrowserAppDelegates into their own package r=sebastian
Note: some delegates might live in other packages, e.g. our HelperUI
related promotions (HomeScreenPromotion, ReaderViewBookmarkPromotion)
live in org.mozilla.gecko.promotions.

BookmarkStateChangeDelegate previously lived in promotions, however
it isn't really a promotion (we're just showing snackbars, and showing
one helper UI to explain offline reader view bookmarks _after_ such
a bookmark has been created), hence it seems a better fit for delegates.

MozReview-Commit-ID: 6fQD3FWzqnm

--HG--
rename : mobile/android/base/java/org/mozilla/gecko/promotion/BookmarkStateChangeDelegate.java => mobile/android/base/java/org/mozilla/gecko/delegates/BookmarkStateChangeDelegate.java
rename : mobile/android/base/java/org/mozilla/gecko/BrowserAppDelegate.java => mobile/android/base/java/org/mozilla/gecko/delegates/BrowserAppDelegate.java
rename : mobile/android/base/java/org/mozilla/gecko/ScreenshotDelegate.java => mobile/android/base/java/org/mozilla/gecko/delegates/ScreenshotDelegate.java
extra : rebase_source : 1c0286e6074233bdd2e32fd7309e7eddf01cfb13
extra : histedit_source : 1ade7d494a373895629e0fa7cf786510524f08d0
2016-05-04 08:33:32 -07:00
Andrzej Hunt 2e2b6251ef Bug 1269406 - Pre: remove unnecessary imports r=me
MozReview-Commit-ID: DREY4UqM48H

--HG--
extra : histedit_source : c7c4ea5aed0cc8c91e84049f9035fdfe0ee1ecc3
2016-05-04 08:32:47 -07:00
Carsten "Tomcat" Book ad9214381b merge mozilla-inbound to mozilla-central a=merge 2016-05-04 11:54:42 +02:00
Phil Ringnalda c03beb4292 Back out cdec576dad5e (bug 1019425) for massive Android test failure
CLOSED TREE
2016-05-03 19:05:17 -07:00
Chenxia Liu 96c4efc128 Bug 1269661 - Checkstyle violations in history panel code. r=mcomella
MozReview-Commit-ID: CHuVsqhDuUw

--HG--
extra : rebase_source : 864016a3a0e63f8b80f2653d7325d93d0102fe2a
2016-05-03 12:55:38 -07:00
Michael Comella 8e50768a95 Bug 1243585 - review: Address comments. r=me
MozReview-Commit-ID: FrPLa7U57B7

--HG--
extra : rebase_source : 658c3a739a679a17e47822284bd55dfc40cd9e75
2016-05-03 16:37:42 -07:00
Eitan Isaacson d669b36504 Bug 1019425 - Activate accessibility when both accessibilty and explore by touch are enabled. r=mfinkle
This simplifies some old code. We get rid of a whitelist of services, and rely on the face that accessibility and explore by touch is enabled to enter our internal accessibility mode.

The whitelist methode held 2 assumptions that are not true anymore:

1. There are some non-accessibility accessibility service apps in the wild that read notifications.
In later Android versions this has been made into a non-a11y use case with NotificationListenerService. So the cases of non-a11y accessibility services has shrunk.

2. Not all screen readers (Gingerbread TalkBack, for example) supported explore by touch. Today, we
exclusively support accessibility services that use explore by touch, and we should not activate our
accessibility mode in any other case.

MozReview-Commit-ID: LMeCedoIGbb

--HG--
extra : rebase_source : 69dd7ab6868fd09b0b6529efacd215157305b1c9
2016-05-02 14:02:16 -07:00
Michael Comella 88ce3a891a Bug 1243585 - Move ping builders -> pingbuilders/. r=sebastian
This overwrites a commit I did at the beginning, but fixing the version control
would have been a waste of time.

MozReview-Commit-ID: Ry9WRpTf8s

--HG--
rename : mobile/android/base/java/org/mozilla/gecko/telemetry/core/TelemetryCorePingBuilder.java => mobile/android/base/java/org/mozilla/gecko/telemetry/pingbuilders/TelemetryCorePingBuilder.java
rename : mobile/android/base/java/org/mozilla/gecko/telemetry/TelemetryPingBuilder.java => mobile/android/base/java/org/mozilla/gecko/telemetry/pingbuilders/TelemetryPingBuilder.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/telemetry/TestTelemetryPingBuilder.java => mobile/android/tests/background/junit4/src/org/mozilla/gecko/telemetry/pingbuilders/TestTelemetryPingBuilder.java
extra : rebase_source : 55ff9e25b8ba49ba29a3111b92b77a16a4ffc788
2016-04-29 15:31:56 -07:00
Michael Comella 5d14a65678 Bug 1243585 - Stop IntentService if there is a connection failure. r=sebastian
I would have folded this but I screwed up but the version control is getting
messy.

MozReview-Commit-ID: 3LaYkrao4dD

--HG--
extra : rebase_source : 2fe2f6ced974b6fe55ecaed0c34caef58ed8c11a
2016-04-29 15:18:07 -07:00
Michael Comella fb5dd484ed Bug 1243585 - Add short-circuits when there are no pings. r=sebastian
Ideally, we'd just not run the service but skimming, I see no clean way to do
that with the existing code.

MozReview-Commit-ID: HRU1PAmYoil

--HG--
extra : rebase_source : 63074ae8dcd2613ff90d3f431fe2e58f51364e03
2016-04-29 15:21:10 -07:00
Michael Comella e90e46946b Bug 1243585 - Rename JSONFilePingStore -> TelemetryJSONFilePingStore. r=sebastian
I would have done this sooner but it's a version control nightmare.

I made the change because it's harder to grep for logs when the logtag doesn't
include "Telemetry".

MozReview-Commit-ID: GD8Cb8D5CRy

--HG--
rename : mobile/android/base/java/org/mozilla/gecko/telemetry/stores/JSONFilePingStore.java => mobile/android/base/java/org/mozilla/gecko/telemetry/stores/TelemetryJSONFilePingStore.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/telemetry/stores/TestJSONFilePingStore.java => mobile/android/tests/background/junit4/src/org/mozilla/gecko/telemetry/stores/TestTelemetryJSONFilePingStore.java
extra : rebase_source : 754912d199c84ab166b58a3ddd7c4f0e8d80bde3
2016-04-28 17:10:19 -07:00
Michael Comella cb50c8be44 Bug 1243585 - Get server url from prefs at upload time. r=sebastian
There is less to store on disk and it's probably more correct.

MozReview-Commit-ID: KAJAE1M7Fzv

--HG--
extra : rebase_source : ef226ea7b7d0ce03e216eb640dff30245551cc55
2016-04-28 16:23:18 -07:00
Michael Comella beda502b71 Bug 1243585 - Create CorePingBuilder in BrowserApp. r=sebastian
Note: this is the first commit expected to compile.

MozReview-Commit-ID: Fc8uRkJAXgB

--HG--
extra : rebase_source : c34096f6123fa898b3b3553b2914122f4ff92143
2016-04-28 16:01:15 -07:00
Michael Comella c2e588090f Bug 1243585 - Add methods to CorePingBuilder to generate a builder. r=sebastian
Thoughts:
  * An alternative design put this code in a CorePingUtil but I decided these
methods are tied closely to the TelemetryCorePingBuilder.
  * Adding these methods makes it less clear what the class is about (without
filtering on public methods that is).

I'm not sure what the best trade-off is.

Note: this is not yet expected to compile.

MozReview-Commit-ID: FQYFP3ioewN

--HG--
extra : rebase_source : 660c66cb5bb38928b9e532e1861ff7c8c3169187
2016-04-28 16:01:07 -07:00
Michael Comella 6b6e47cfcb Bug 1243585 - Remove unused BackgroundService & related code. r=sebastian
Note: this is still not expected to compile.

MozReview-Commit-ID: KTMyKTHm1RS

--HG--
extra : rebase_source : 8cfc2e306f3f23bbc077571f266f5f3e6444067a
2016-04-20 14:26:57 -07:00
Michael Comella b50372bc52 Bug 1243585 - Revise TelemetryUploadService for new store. r=sebastian
Note: this is still not expected to compile.

MozReview-Commit-ID: nadP0VfCG7

--HG--
extra : rebase_source : ca957fd03140ebd7132410d80cc53abb111dbcde
2016-04-28 17:51:47 -07:00
Michael Comella daf1884121 Bug 1243585 - Add JSONFilePingStore with tests. r=sebastian
Note: not expected to compile.

MozReview-Commit-ID: 5RTQk5m3zTx

--HG--
extra : rebase_source : 1d5aa98b5c54fe6b213fe88bd91e13b5c334a7fb
2016-04-28 17:05:25 -07:00
Michael Comella 0959e38680 Bug 1243585 - Add UploadAllPingsImmediatelyScheduler and tests. r=sebastian
Note: still does not compile.

MozReview-Commit-ID: 7NuLecUSTVa

--HG--
extra : rebase_source : aa6a65f89f72a6c4029e73fe8dc5af6a06c6ef51
2016-04-28 14:57:00 -07:00
Michael Comella 05d3028eb6 Bug 1243585 - Add TelemetryDispatcher. r=sebastian
Note: for version control and review simplicity, this does not yet compile.

MozReview-Commit-ID: EvccGtseOKT

--HG--
extra : rebase_source : 9572d2df3a306ca4b51b1af464a21161db66ba78
2016-04-28 15:36:56 -07:00
Michael Comella 864a2a07af Bug 1243585 - Add interfaces to be used by dispatcher. r=sebastian
MozReview-Commit-ID: B4evdPj5Jsl

--HG--
extra : rebase_source : 6a668ecd464bb5966e0c00ebfd96b6006c6a400d
2016-04-28 14:38:21 -07:00
Michael Comella 27f4871f75 Bug 1243585 - Move Intent constants into UploadService. r=sebastian
I'm thinking it's better to have constants with the classes they're most
closely associated with rather than one giant constants file because it becomes
hard to find anything in a large constants file.

MozReview-Commit-ID: D3SCkW3vbRM

--HG--
extra : rebase_source : 37611c82f84ba011c763554c6793bef63c093faa
2016-04-19 08:49:07 -07:00
Michael Comella cf8a4c46d6 Bug 1243585 - Create telemtry/core/ pkg and move files accordingly. r=sebastian
MozReview-Commit-ID: 8cqtwzPbvHp

--HG--
rename : mobile/android/base/java/org/mozilla/gecko/telemetry/pings/TelemetryPing.java => mobile/android/base/java/org/mozilla/gecko/telemetry/TelemetryPing.java
rename : mobile/android/base/java/org/mozilla/gecko/telemetry/pings/TelemetryPingBuilder.java => mobile/android/base/java/org/mozilla/gecko/telemetry/TelemetryPingBuilder.java
rename : mobile/android/base/java/org/mozilla/gecko/telemetry/pings/TelemetryCorePingBuilder.java => mobile/android/base/java/org/mozilla/gecko/telemetry/core/TelemetryCorePingBuilder.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/telemetry/pings/TestTelemetryPingBuilder.java => mobile/android/tests/background/junit4/src/org/mozilla/gecko/telemetry/TestTelemetryPingBuilder.java
extra : rebase_source : 7d36d4fdf590c34c052fef3619bc44c5f0b06d73
2016-04-28 14:24:26 -07:00
Carsten "Tomcat" Book f9e0bb9939 Merge mozilla-central to fx-team 2016-05-03 16:19:57 +02:00
Carsten "Tomcat" Book 4f94a090a0 merge mozilla-inbound to mozilla-central a=merge 2016-05-03 16:17:32 +02:00
Carsten "Tomcat" Book 69c6270ec3 Backed out changeset 2cfbc2cd8ba3 (bug 1220307) for causing merge conflicts when merging to mozilla-central
--HG--
extra : rebase_source : b51c46fa0c5490e3e81c9dfcfe0b7b88d6b970cc
2016-05-03 12:01:45 +02:00
Carsten "Tomcat" Book 858cd92560 Backed out changeset 06914d791e0d (bug 1220307)
--HG--
extra : rebase_source : 971015c1e3a1eb2040dabe287f1cb65bb6ae66a5
2016-05-03 12:01:21 +02:00
Andrea Marchesini 3df261e948 Bug 1269303 - Remove RequestSync API, r=fabrice 2016-05-03 11:13:03 +02:00
Jan Henning a0e4718399 Bug 1269189 - Let mobile session store capture frameset navigation, too. r=bnicholson
Since the history restore code now apparently supports restoring subframes, too, we should let the mobile session store capture frameset navigation as well, so we can preserve the full browsing history.

MozReview-Commit-ID: 5SM8eMTfgIH

--HG--
extra : transplant_source : IO%1Bz%CA_%14%D0D%F9Q%FBA%E5S7%85%90%AE%C0
2016-05-02 11:24:18 +02:00
Chun-Min Chang 05a818c4cd Bug 1268767 - [Presentation WebAPI] Missing a MPL2 license header for devicePrompt.properties; r=margaret
MozReview-Commit-ID: JRgOGrE7Iu5

--HG--
extra : transplant_source : %BD%BC%CC%C7%DAt%F3%CA%02%8E%89%08%C0%10%1A%98%0D%99%A4P
2016-04-29 14:08:36 +08:00
Chenxia Liu e9d557621e Bug 1261993 - [infer] Errors in DefaultDoorHanger. r=mcomella
MozReview-Commit-ID: AemVFuiMNjo

--HG--
extra : rebase_source : 422068ea823fa47e700cdeb22527d60431097d6f
extra : histedit_source : f1fd26344a3862455e61fa195a48beb16acf326c
2016-04-21 16:24:39 -07:00
Chenxia Liu e27e382bc1 Bug 1269027 - Add empty state for no synced devices. r=sebastian
MozReview-Commit-ID: 2STg7zSgXF9

--HG--
rename : mobile/android/base/resources/layout/remote_tabs_setup.xml => mobile/android/base/resources/layout/history_sync_setup.xml
extra : rebase_source : 087871f814df30ad7259bf3175baece06e6136f4
extra : histedit_source : 2e5ccbfa39e88effdf1c0592ffd1a82c9d3e1ab1
2016-04-29 15:38:19 -07:00
Chenxia Liu 3d04951350 Bug 1261527 - Clean up RecyclerView animations. r=sebastian
MozReview-Commit-ID: KIdXTmalwKv

--HG--
extra : rebase_source : 1f34e949846d7769d26afd280613004a56c38307
2016-04-29 17:48:50 -07:00
Chenxia Liu 1dff2f7146 Bug 1261527 - Long-press on smartfolder. r=sebastian
MozReview-Commit-ID: JPkELM3mtWW

--HG--
extra : rebase_source : c8b5624f687041278e9a17420ea9c0cb276af58f
2016-04-29 15:59:40 -07:00
Chenxia Liu e0fe2fe0e9 Bug 1261527 - Update textsize and layout. r=sebastian
MozReview-Commit-ID: EEzquvd7Zyf

--HG--
rename : mobile/android/base/resources/layout/home_remote_tabs_group.xml => mobile/android/base/resources/layout/home_smartfolder.xml
extra : rebase_source : 73cc1125a96d286952e1683a3821a6ce266aace6
2016-04-28 14:28:37 -07:00
Chenxia Liu 111a9b185d Bug 1261527 - Add refresh layout. r=sebastian
MozReview-Commit-ID: 5uDpe3OQAjG

--HG--
extra : rebase_source : 673380884481e607c83de6fa4fe92f0cb58ca7e9
2016-04-27 17:54:29 -07:00
Chenxia Liu bc715ce907 Bug 1261527 - Remove RemoteTabsExpandableListAdapter after extracting static methods. r=sebastian
MozReview-Commit-ID: Ae5oEbK2QYn

--HG--
extra : rebase_source : 0e1626ae1c2ff14986b32205086e38a8032a4d85
2016-04-27 17:38:07 -07:00
Chenxia Liu ec65dba7a1 Bug 1261527 - Update strings. r=sebastian
MozReview-Commit-ID: LJOfbyWfNIm

--HG--
extra : rebase_source : a6e8d05ed4581d67b87105812fa643ec5c291b6d
2016-04-27 17:07:59 -07:00
Chenxia Liu dfdcf67e1b Bug 1261527 - Add active/inactive client state. r=sebastian
MozReview-Commit-ID: 39Qy3cYE6ro

--HG--
extra : rebase_source : 44a95fde52fc4ad98b16ace15efe886e09cfd8d7
2016-04-27 16:43:53 -07:00
Chenxia Liu 0d625a8b0a Bug 1261527 - Empty state for history only. r=sebastian
MozReview-Commit-ID: AUFwPl2Yllz

--HG--
extra : rebase_source : 791f1666d95ba5cf9f06c5bde5e0ffc4ac126ee3
2016-04-27 11:53:59 -07:00
Chenxia Liu 3c684418b7 Bug 1261527 - Handle Configuration changes. r=sebastian
MozReview-Commit-ID: H6shTUlXkZv

--HG--
extra : rebase_source : 9fc1ed7dcb91afa2bd7dbc9ea10ee46f89f71aab
2016-04-25 13:56:12 -07:00
Chenxia Liu 294c4c5d70 Bug 1261527 - Add clear history button. r=sebastian
MozReview-Commit-ID: DnRZYtIjqbE

--HG--
extra : rebase_source : 049824bd8c40f8995a51b1092d610cc34ff78d64
2016-04-22 18:00:03 -07:00
Chenxia Liu 5efcf0932a Bug 1261527 - Move code around. r=sebastian
MozReview-Commit-ID: LjgydyMLVER

--HG--
extra : rebase_source : a9db57dc784ab2f4147b1562f965f751d402945c
2016-04-22 16:13:26 -07:00