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

23981 Коммитов

Автор SHA1 Сообщение Дата
Sylvestre Ledru 0985b8bf6d Bug 1389898 - Declare NS_ANDROIDHISTORY_CID only once r=sebastian
MozReview-Commit-ID: Eq93bCl7aWj

--HG--
extra : rebase_source : a9ece3d843e4657bcfad80b6aa93e11b0c3f225b
2017-08-13 11:08:00 +02:00
Grigory Kruglov fe8f3dcf20 Bug 1364644 - Post: remove AndroidBrowser prefix from class names r=rnewman
MozReview-Commit-ID: Bpgba2BR7hp

--HG--
rename : mobile/android/services/src/main/java/org/mozilla/gecko/sync/repositories/android/AndroidBrowserBookmarksDataAccessor.java => mobile/android/services/src/main/java/org/mozilla/gecko/sync/repositories/android/BookmarksDataAccessor.java
rename : mobile/android/services/src/main/java/org/mozilla/gecko/sync/repositories/android/AndroidBrowserBookmarksRepository.java => mobile/android/services/src/main/java/org/mozilla/gecko/sync/repositories/android/BookmarksRepository.java
rename : mobile/android/services/src/main/java/org/mozilla/gecko/sync/repositories/android/AndroidBrowserRepositoryDataAccessor.java => mobile/android/services/src/main/java/org/mozilla/gecko/sync/repositories/android/DataAccessor.java
rename : mobile/android/services/src/main/java/org/mozilla/gecko/sync/repositories/android/AndroidBrowserHistoryDataAccessor.java => mobile/android/services/src/main/java/org/mozilla/gecko/sync/repositories/android/HistoryDataAccessor.java
rename : mobile/android/services/src/main/java/org/mozilla/gecko/sync/repositories/android/AndroidBrowserHistoryRepository.java => mobile/android/services/src/main/java/org/mozilla/gecko/sync/repositories/android/HistoryRepository.java
rename : mobile/android/services/src/main/java/org/mozilla/gecko/sync/repositories/android/AndroidBrowserHistoryRepositorySession.java => mobile/android/services/src/main/java/org/mozilla/gecko/sync/repositories/android/HistoryRepositorySession.java
rename : mobile/android/services/src/main/java/org/mozilla/gecko/sync/repositories/android/AndroidBrowserRepository.java => mobile/android/services/src/main/java/org/mozilla/gecko/sync/repositories/android/ThreadedRepository.java
rename : mobile/android/services/src/main/java/org/mozilla/gecko/sync/stage/AndroidBrowserBookmarksServerSyncStage.java => mobile/android/services/src/main/java/org/mozilla/gecko/sync/stage/BookmarksServerSyncStage.java
rename : mobile/android/services/src/main/java/org/mozilla/gecko/sync/stage/AndroidBrowserHistoryServerSyncStage.java => mobile/android/services/src/main/java/org/mozilla/gecko/sync/stage/HistoryServerSyncStage.java
rename : mobile/android/services/src/main/java/org/mozilla/gecko/sync/stage/AndroidBrowserRecentHistoryServerSyncStage.java => mobile/android/services/src/main/java/org/mozilla/gecko/sync/stage/RecentHistoryServerSyncStage.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/db/AndroidBrowserRepositoryTestCase.java => mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/db/ThreadedRepositoryTestCase.java
extra : rebase_source : 232ac4da5187fdf24cb4234a6173e6eab43a50cf
2017-08-14 21:21:29 -04:00
Grigory Kruglov fe05737745 Bug 1364644 - Versioned syncing of bookmarks r=rnewman
MozReview-Commit-ID: 5IdRPUXMDPh

--HG--
extra : rebase_source : a1f830df665df46db87ad5b4ac909158d6d883b5
2017-08-16 21:02:21 -04:00
Grigory Kruglov bd2284630a Bug 1364644 - Bookmark version tracking r=rnewman
MozReview-Commit-ID: EdN4pYSR8Ux

--HG--
extra : rebase_source : e007291965ed6a051391babd2cf661493931cf50
2017-08-15 17:28:56 -04:00
Grigory Kruglov 346f24604c Bug 1364644 - Migrate bookmarks schema and records to add version columns r=rnewman
Schema migration is simple: it adds localVersion and syncVersion columns to bookmarks table.
Default values are:
- localVersion=1
- syncVersion=0
... indicating that a record needs to be uploaded.

Data migration is also relatively simple: we need to ensure that records which are "up-to-date",
according to the old timestamp-based tracking, are not marked for an upload, and vice versa - records which are
either "new" or "changed" are marked for an upload.

Since our default during schema migration is to mark everything for upload, the data migration
concerns itself with the records which are considered as "up-to-date".

See detailed description in the comments in the data migration function.

MozReview-Commit-ID: J6aglurYwlo

--HG--
extra : rebase_source : 299a4eb8ea28ddfd71e98e005af1e7f89468dd80
2017-08-14 23:22:53 -04:00
Grigory Kruglov f0367018f1 Bug 1364644 - Pre: Refactor bookmark and history sessions to allow for different superclasses r=rnewman
Versioned syncing work later in the patch series introduces functionality that is best suited to live
within the RepositorySession inheritance chain.

We'd like to introduce a new RepositorySession subclass which individual RepositorySessions are able to
inherit. And that's when the current inheritance structure gets in the way: history and bookmarks both share
a superclass, and we'd like to only introduce this new functionality for bookmarks.
This makes our task, as stated, impossible without breaking apart the current inheritance structure.

This patch introduces a few "delegate" objects:
- SessionHelper
--> HistorySessionHelper
--> BookmarksSessionHelper

... which absorb most of the functionality from AndroidBrowserRepositorySession (removed) and bookmark and history
repository sessions.

This change is not functional - everything remains as before otherwise.

MozReview-Commit-ID: 7WwUmY3Wql7

--HG--
extra : rebase_source : a8cd49fd14cdc76b9e2906d4ee8c2052b9152413
2017-08-04 18:43:49 -04:00
Grigory Kruglov 74484abc09 Bug 1364644 - Pre: don't swallow runtime exceptions in the BrowserProvider's call interface r=rnewman
MozReview-Commit-ID: 3mgOrSvEFxU

--HG--
extra : rebase_source : a5917b22a7b275c73740a8260da0c5306e550caa
2017-07-27 00:28:08 -04:00
Grigory Kruglov 1b34ae734e Bug 1364644 - Pre: Move change tracking responsibilities into repositories r=rnewman
As part of moving toward versioned syncing, we need to start decoupling change tracking
concepts from parts of the system that facilitate flow of records. This allows us to track
what changed differently for different data types, while maintaining a consistent and predictable API.

A move toward that is to let repositories own determinining that a record has been modified.
Repositories are now asked to provide modified records, instead of a very specific "records modified since".

This patch does not change behaviour of the system: every repository still uses timestamp-based
change tracking to actually provide modified records to the caller. A changeover to version
tracking will come later in this series for bookmarks, and as part of Bug 1383894 for other repositories.

MozReview-Commit-ID: LQuWYdlNHpt

--HG--
extra : rebase_source : 5552d74d4a967ce85af09aaa57ca438fe5b949f3
2017-07-28 17:15:22 -04:00
Grigory Kruglov cefa33d6d6 Bug 1364644 - Pre: Remove guidsSince RepositorySession interface r=rnewman
We're moving toward version-based syncing. This is one of the bricks in that road,
removing an unused timestamp-based interface for accessing changed records.

MozReview-Commit-ID: CYUyASWXrMW

--HG--
extra : rebase_source : b95687409bc5f3e8e21fb9b084efdcd14a975d01
2017-07-24 14:48:38 -04:00
Wes Kocher 366445521c Merge m-c to autoland, a=merge
MozReview-Commit-ID: DjSlrmDFfe3
2017-08-16 17:14:41 -07:00
Wes Kocher 9e13a44b54 Merge inbound to central, a=merge
MozReview-Commit-ID: GEfEDRZk5bo
2017-08-16 16:59:26 -07:00
Wes Kocher 9aa04a95f3 Merge autoland to central, a=merge
MozReview-Commit-ID: Fv1T41t9Gof
2017-08-16 15:30:39 -07:00
Ryan VanderMeulen 84df616efe Backed out 5 changesets (bug 1366664) for landing non-localizable strings.
Backed out changeset e5dfbde553d6 (bug 1366664)
Backed out changeset e078166d9857 (bug 1366664)
Backed out changeset 014d0def1489 (bug 1366664)
Backed out changeset 51868598947e (bug 1366664)
Backed out changeset 6a21eb146fba (bug 1366664)
2017-08-16 16:34:06 -04:00
Carsten "Tomcat" Book eea1986e03 merge mozilla-inbound to mozilla-central a=merge 2017-08-16 11:23:24 +02:00
Wes Kocher be24aec8e9 Merge m-c to inbound a=merge
MozReview-Commit-ID: JqsSD85rE4W
2017-08-15 19:15:22 -07:00
Wes Kocher c9e3c6f78e Backed out 6 changesets (bug 1366672) for android linting failures a=backout
Backed out changeset df6eadeb55a9 (bug 1366672)
Backed out changeset e655bcd49af8 (bug 1366672)
Backed out changeset dd2474c2eaf9 (bug 1366672)
Backed out changeset 80a2c096cfa9 (bug 1366672)
Backed out changeset 64ff8cc86fec (bug 1366672)
Backed out changeset 13affa6a9586 (bug 1366672)

MozReview-Commit-ID: 9LQiKupMoJb
2017-08-15 11:38:08 -07:00
Edouard Oger 0afc2d529d Bug 1389623 - Check that account is not null before notiyfing clients. r=Grisha
MozReview-Commit-ID: 4I0vfxdghgV

--HG--
extra : rebase_source : d8f6c1c31fdd3151362c63c4abe2d83468f08810
2017-08-14 16:32:53 -04:00
Jim Chen 2413c60be8 Bug 1390000 - Set prefs before loading input test page. r=esawin
Set prefs in testInputConnection itself, before we load
robocop_input.html, so the page uses new pref values.
2017-08-15 13:10:00 -04:00
Michael Layzell 7f649507e9 Bug 1380081 - Part 14: Include BHRTelemetryService and xpt files in the package, r=froydnj
MozReview-Commit-ID: IH56INaSOoK
2017-08-15 16:35:52 -04:00
Luca Greco 9cabfd770d Bug 1386316 - Resize Android WebExtension Options UI iframe to match its content size. r=mixedpuppy
MozReview-Commit-ID: 17a240drasZ

--HG--
extra : rebase_source : de1fd026345b105f739dd9627799b18802f73c2a
2017-08-07 15:45:55 +02:00
Jim Chen b3f66e87aa Bug 1377749 - Reset keyboard when composition is lost; r=esawin
Normally, we keep the Java composition when composition is committed on
the Gecko side. However, if we somehow lose the composition on the Java
side (e.g. due to script changing the text), we should reset the
keyboard so it's aware of the change.

MozReview-Commit-ID: 6NbGj6mgq3l
2017-08-16 11:53:13 -04:00
Jim Chen 9a128ccc12 Bug 1387190 - Fire "input" event for <select> and datetime <input>; r=esawin
Fire "input" event in addition to "change" event for both <select>
fields and date/time <input> fields.

MozReview-Commit-ID: 8UDdF8ZnM2e
2017-08-16 11:53:13 -04:00
Dylan Roeh 390b12b2a6 Bug 1389054 - Back out patch for bug 1382637 to fix broken behavior when "Don't keep activities" is enabled. r=snorp 2017-08-16 09:38:39 -05:00
Yoshi Huang 8e914fdfc0 Bug 1390787 - fix rc4 failure on Android for new data: URI. r=esawin 2017-08-16 15:05:49 +02:00
Thomas Nguyen 057cad84d0 Bug 1388912 - Change text color of advisory link on SB warning page to white r=johannh
MozReview-Commit-ID: 9UgnKWjKNIq

--HG--
extra : rebase_source : 3f096c447276f3e8ca06003209c1a991f1542a82
2017-08-10 17:06:35 +08:00
Carsten "Tomcat" Book a6ae5910bb Merge mozilla-central to autoland 2017-08-15 13:12:22 +02:00
Carsten "Tomcat" Book 6b36e00b7c merge mozilla-inbound to mozilla-central a=merge 2017-08-15 11:42:11 +02:00
Julian_Chu 26fc1147ca Bug 1366672 - part6 Clean up ToolbarProgressView r=jwu
We invovled another implementation. We can get it back from repository
easily for any reason, so remove it for now.

MozReview-Commit-ID: c4H8wW41Dr

--HG--
extra : rebase_source : 74baa13d3d0ceb2b30092ec4e99d7218b0b3e9a8
2017-08-15 13:25:19 +08:00
Julian_Chu 79f7e2642b Bug 1366672 - part5: CustomTabs use AnimatedProgressBar r=jwu,sebastian
MozReview-Commit-ID: JxF9vlLPgb4

--HG--
extra : rebase_source : f4b0b739794a1846a374557abe883b911cc0b339
2017-08-12 23:15:08 +08:00
Julian_Chu dfe6d141de Bug 1366672 - part4: use Phton design for ProgressBar r=jwu,sebastian
MozReview-Commit-ID: IMFeVV0Km2i

--HG--
extra : rebase_source : 52dd1fb795dca3fe2e718f5e7441c55e3e654b1a
2017-08-05 16:51:39 +08:00
Julian_Chu 7bfc56e9a4 Bug 1366672 - Part3: use AnimatedProgressBar to replace ProgressView r=jwu,sebastian
MozReview-Commit-ID: KTr4ce5UvIq

--HG--
extra : rebase_source : 0e0139679af85c86de8e07a17f7e52d02ffc7d32
2017-08-05 13:59:35 +08:00
Julian_Chu 6bd0ed049f Bug 1366672 - part2: Add new custom widgets r=jwu,sebastian
* DrawableWrapper - a class similiar to DrawableWrapper in Android v23.
* ShiftDrawable - provide shif-animation for its child drawable
* AnimatedProgressBar - ProgressBar.setProgress(int, boolean) involved
    since API v24. This is an implementation for animation.

MozReview-Commit-ID: HjLAXXQdZKO

--HG--
extra : rebase_source : 442818e9be688072cff45cc3dd54416564c602d1
2017-08-05 13:53:44 +08:00
Julian_Chu 4d1a8eb875 Bug 1366672 - part1: add ThemedProgressBar r=jwu,sebastian
We are going to involve new implementation for page loading indicator by
ProgressBar. Add ThemedProgressBar for Private Mode.

MozReview-Commit-ID: 4Bj9mJtlHPM

--HG--
extra : rebase_source : 3f118a8c44baf91c906030ac01572655c509dc57
2017-08-05 13:30:29 +08:00
Nevin Chen 2a319e5242 Bug 1366664 - Update color and layout. Hide splash screen if first seen. r=walkingice
MozReview-Commit-ID: EP6hQIGcdyo

--HG--
extra : rebase_source : 19b6397f83f0c75ca8816326919b000af539a02d
2017-08-09 18:13:55 +08:00
Nevin Chen 2b6f082701 Bug 1366664 - Remove unused resource to make lint happy. r=walkingice
MozReview-Commit-ID: IdpNKQeg3w2

--HG--
extra : rebase_source : 4eaf87262af4aeaf74a0a698efda88f0998a407a
2017-08-07 17:55:21 +08:00
Nevin Chen a0233f6a52 Bug 1366664 - If the user has alread signed-in, we show only three first-run panel. r=walkingice
MozReview-Commit-ID: DcsbR7TEplk

--HG--
extra : rebase_source : 8d20568f7afc628ed036f98706a241aa747941d7
2017-08-07 14:50:04 +08:00
Nevin Chen d1475d4e3c Bug 1366664 - Update UI for onboarding after phonton 57. r=walkingice
MozReview-Commit-ID: 2sZVpNdl7Ak

--HG--
extra : rebase_source : 44b9a2e37f5e5380f93f59a8e851e0de30f2a83b
2017-08-07 12:20:29 +08:00
Nevin Chen d69ddfe729 Bug 1366664 - Remove onboarding experiments after phonton 57. r=walkingice
MozReview-Commit-ID: HbyKrw8SfGB

--HG--
extra : rebase_source : a0d6c956ff3e9434945ccaa0a57d2213fa826430
2017-08-07 14:46:06 +08:00
Nevin Chen 5a105aef6d Bug 1390038 - Fix xml parsing error. r=dao
MozReview-Commit-ID: 8sv7aH6ejIt

--HG--
extra : rebase_source : 3c24def7328720b2cc2924b9c09724fc3709ee0e
2017-08-14 14:46:30 +08:00
Wes Kocher 2458d6b297 Merge m-c to autoland, a=merge
MozReview-Commit-ID: KfZgcCxrZcg
2017-08-14 17:59:46 -07:00
Michael Comella 267065fcb1 Bug 1382332: Remove duplicate URLs from AS top sites. r=Grisha
MozReview-Commit-ID: E9dP9IitXQQ

--HG--
extra : rebase_source : 6194d99d02e93cff79b5f985289d495a1be2ba42
2017-08-10 18:27:15 -07:00
Michael Comella 6d4834baf0 Bug 1382332: Rm duplicate www. hosts from Highlights. r=liuche
MozReview-Commit-ID: L1F6ZuEsjwk

--HG--
extra : rebase_source : be57f0b3618d33ec34e23e3b5c7e343aca65425e
2017-08-10 17:12:15 -07:00
Michael Comella 39ca30c0aa Bug 1382332: Add MapUtils.putIfAbsent. r=liuche
MozReview-Commit-ID: 1Q78aEmsiYM

--HG--
extra : rebase_source : 83de391ae827409f8798d2fd00749b4137ba0a88
2017-08-10 17:11:02 -07:00
Michael Comella 71a1e7ca19 Bug 1386902: Use "subdomain.domain" in top sites title. r=liuche
Additionally, we strip common subdomains like "m." or "www.".

MozReview-Commit-ID: IObzp6LBovx

--HG--
extra : rebase_source : 02e1f1224854df4006f275a6877eb5cd6ecf8a78
2017-08-10 15:23:06 -07:00
Michael Comella c5dbd8b45f Bug 1386902: Add URIUtils.getFormattedDomain. r=liuche
This combines getBaseDomain & getHostSecondLevel domain and allows us to be
more flexible.

MozReview-Commit-ID: 7FdWsfZvGFt

--HG--
extra : rebase_source : eed9361fef02609776c772d21a004004a1d9d543
2017-08-10 15:21:42 -07:00
Wes Kocher 214677ea41 Merge autoland to central, a=merge
MozReview-Commit-ID: 9BfFPDy1vO7

--HG--
rename : browser/extensions/onboarding/content/img/icons_search-colored.svg => browser/extensions/onboarding/content/img/icons_singlesearch-colored.svg
rename : browser/extensions/onboarding/content/img/icons_search.svg => browser/extensions/onboarding/content/img/icons_singlesearch.svg
2017-08-14 17:28:19 -07:00
Eugen Sawin 4be438e52b Bug 1377580 - [5.1] Implement external URI loading in the GeckoView example app. r=snorp 2017-08-14 14:57:25 +02:00
Eugen Sawin 07444d8008 Bug 1377580 - [4.1] Implement external URI loading for standalone progressive web apps. r=snorp 2017-08-14 14:57:25 +02:00
Eugen Sawin 007cea0668 Bug 1377580 - [3.1] Implement external URI loading for custom tabs. r=snorp 2017-08-14 14:57:25 +02:00
Eugen Sawin 87790afb62 Bug 1377580 - [2.1] Add support for external URI loading in GeckoView. r=snorp 2017-08-14 14:57:25 +02:00