Commit Graph

15856 Commits

Author SHA1 Message Date
Allison Naaktgeboren
c5f69cfdf1 Bug 1124711 - Site identity popup overlaps the URL Bar on phone.r=margaret 2015-02-11 12:07:56 -08:00
Nick Alexander
87cf4a4b6b Bug 1123116 - Include Reading List checkbox in status activity. r=rnewman
I have tested and see no issues with hiding the checkbox when the
service is build-time disabled.

========

d2890e5747
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Mon Feb 9 15:47:59 2015 -0800

    Bug 1123116 - Include Reading List checkbox in status activity.

    We're careful to only show the checkbox when the service is compiled in.
2015-02-11 12:12:36 -08:00
Nick Alexander
93d39d6ddf Bug 1123107 - Include Reading List checkbox during account creation. r=rnewman
This is a reasonable-sized refactoring underneath a small feature-patch.
The refactor reworks what information we maintain (and pickle) about
"enabled" services.  We've moved from a boolean "Sync enabled" flag to a
map of Android authorities (which map to services like Firefox Sync and
reading list) and boolean flags indicating whether each authority is
"automatically synced".  The checkboxes in the status activity
correspond directly to whether the authority (service) is automatically
synced.

The set of authorities we care about is determined by the DEFAULT_* map.
Said map is interrogated and written to the pickle file at Sync time.
When the pickle file is un-pickled, only the set of known authorities is
acted upon.  What that means is that both writing and reading a pickle
file with different sets of authorities should work across upgrades: if
a known authority is missing, the default value will be used; if an
unknown authority is present, it will be ignored.  This lets us alter
the set of known authorities via the build flag.

I have tested and Android maintains the "sync automatically" state for
an authority even when the authority is not present in the list of sync
checkboxes.

All in all, I'm not concerned about toggling the build flag multiple
times in the future.  (If we backed out the updated pickling code, we
would need to handle pickle downgrades, but we already needed to handle
that.)

========

fc8936549a
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Wed Feb 11 10:37:34 2015 -0800

    Bug 1123107 - Part 3: Include Reading List checkbox during account creation.

    We are careful to show the checkbox only when the reading list service
    is enabled.

========

c90ea353cc
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Wed Feb 11 10:31:15 2015 -0800

    Bug 1123107 - Part 2: Thread authorities to sync automatically through sign up/sign in flow.

========

e0c4d20744
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Mon Feb 9 12:35:15 2015 -0800

    Bug 1123107 - Part 1: Manage map of automatically synced authorities.

========

7f7e308190
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Mon Feb 9 11:54:54 2015 -0800

    Bug 1123107 - Part 0: Remove "account needs to be enabled" warning in status activity.

    As we move Sync to a model where a status checkbox sets whether a single
    ContentProvider is synced, it no longer makes sense to message when the
    "account" is not automatically syncing.
2015-02-11 12:12:31 -08:00
Nick Alexander
7f233d4238 No bug - Allow manually syncing a Legacy Sync account.
We accidentally set the "can account be synced at all" flag to the value
of the "should account be synced in response to network activity" flag.
2015-02-11 10:15:11 -08:00
Matt Brubeck
6153d7bbbb Bug 1097337 - Set the Android 5 statusbar color. r=wesj 2015-02-11 09:16:22 -08:00
Carsten "Tomcat" Book
485ca4e7c6 Merge mozilla-central to fx-team 2015-02-11 15:01:53 +01:00
Carsten "Tomcat" Book
1da4eb2ea5 merge mozilla-inbound to mozilla-central a=merge 2015-02-11 14:58:16 +01:00
Richard Newman
d97cea2a4a Bug 1126240 - Correctly encode APK paths in SearchEngineManager. r=margaret
This is the approach we already take everywhere else we make a jar🫙 URI.

I've unified those places into GeckoJarReader, cleaned up imports, fixed a
typo, and wrote a trivial test for this case.

I made a few utility methods static to facilitate testing and future refactoring.
2015-02-10 16:11:24 -08:00
Wes Kocher
dc611f6b0a Backed out changeset ea1ed091f31e (bug 1126240) for android build failures
--HG--
extra : rebase_source : 604d42d88e5221777ea441da8aed6199ae523b26
2015-02-10 16:42:39 -08:00
Richard Newman
8713840e28 Bug 1131257 - Part 1: split LocalReadingListDB out of LocalBrowserDB. r=margaret
Centralizing reading list access logic will make Bug 1130461 much easier. This bug is the first part of that.

We follow the same pattern as for URLMetadata, TabsAccessor, and Searches; BrowserDB hands over a single class that's specialized to handle the Reading List.
2015-02-10 16:42:13 -08:00
Richard Newman
bc3c2931e6 Bug 1126240 - Correctly encode APK paths in SearchEngineManager. r=margaret
This is the approach we already take everywhere else we make a jar🫙 URI.

I've unified those places into GeckoJarReader, cleaned up imports, fixed a
typo, and wrote a trivial test for this case.

I made a few utility methods static to facilitate testing and future refactoring.
2015-02-10 16:11:24 -08:00
Ryan VanderMeulen
74f80ff51c Merge inbound to m-c. a=merge
CLOSED TREE
2015-02-10 16:03:15 -05:00
James Hugman
3dd03b9bc1 Bug 778588 - Support direct voice input from the location bar r=mhaigh 2015-02-10 13:46:30 -05:00
Garvan Keeley
ae531aa683 Bug 1107631 - fix bustage on CLOSED TREE 2015-02-10 12:43:35 -05:00
Garvan Keeley
7fa9f0bebd Bug 1107631 - Updated stumbling opt-in msg. r=rnewman
--HG--
extra : rebase_source : fad1d37fb829ec1a58e0068be3151ba5439c11af
2015-02-10 11:08:01 -05:00
Andy Pusch
bdfb7dd402 Bug 964412 - Adds support for basic HTML markup in DoorHanger.java. r=margaret 2015-02-08 14:40:00 +01:00
KuoE0
9022f46bfb Bug 1125527 - merge the common code of tests. r=margaret 2015-02-09 18:40:00 +01:00
Richard Newman
afdc284165 Bug 1131421 - Part 2: build changes to support RL service code. r=nalexander 2015-02-09 21:08:05 -08:00
Richard Newman
ee6ea0102b Bug 1131421 - Part 1: initial stub reading list service and SyncAdapter. r=nalexander 2015-02-09 21:08:05 -08:00
Richard Newman
884c832d5a Bug 1131257 - Part 0: Cleanup in LocalReadingListDB. 2015-02-09 14:37:14 -08:00
Ryan VanderMeulen
e7e0e7b5cb Merge m-c to fx-team. a=merge 2015-02-09 16:40:25 -05:00
Eugen Sawin
e0db0f1b3a Bug 792992 - Switch URL usage to URI to prevent unnecessary network calls. r=rnewman 2015-02-09 22:06:22 +01:00
Eugen Sawin
cb0eb48887 Bug 792992 - Delay update service start. r=rnewman 2015-02-09 20:41:43 +01:00
Margaret Leibovic
69fc0c54d1 Bug 1131106 - Hide options header in add-on details view if there are no valid options. r=mfinkle
--HG--
extra : rebase_source : 761d94a0cb787ab426892db617f45eef75127a4e
2015-02-09 09:15:16 -08:00
Ben Hearsum
1e5cb8e5a3 bug 1121160: Release automation support for split-apk builds - add release mozconfigs for split apk builds. r=mfinkle,rnewman 2015-02-09 10:26:13 -05:00
Mark Finkle
bfcb551066 Bug 1130812 - AppConstants.jsm is not substituting correctly r=rnewman 2015-02-08 00:48:35 -05:00
Phil Ringnalda
5299711df0 Merge f-t to m-c, a=merge 2015-02-07 08:55:02 -08:00
Gavin Sharp
3b83309d3f Bug 1126511 followup: address forgotten review comment that caused malformed yahoo plugin on Android, a=bustagetypo 2015-02-07 07:56:30 -08:00
Mark Capella
0262d24e93 Bug 1125593 - Improve performance, remove unnecessary getClientRects calcs, r=margaret 2015-02-06 22:00:48 -05:00
Ahmed Khalil
2ff0d83f29 Bug 1125531 - Optimize robocop SelectionHandler test notification generators, r=margaret 2015-02-06 21:30:57 -05:00
Ahmed Khalil
f3d7598649 Bug 1125531 - Optimize robocop SelectionHandler test notification generators, r=margaret 2015-02-06 21:30:57 -05:00
Ahmed Khalil
bec91d9d85 Bug 1125531 - Optimize robocop SelectionHandler test notification generators, r=margaret 2015-02-06 21:30:57 -05:00
Dave Townsend
fcf968baa0 Bug 1068186: Update window.sidebar and window.external APIs to support e10s. r=felipe
Moves nsSidebar.js to toolkit and makes it just pass messages to chrome for each
API call. MainProcessSingleton listens for those messages and passes the call
along to the search service.
Combines the validation code into the same function and takes the opportunity to
support relative URLs too.
Adds a bunch of tests for these web APIs.

Also fixes:
Bug 518929: Implement window.external APIs in core code
Bug 530847: Remove Fennec's nsISidebar implementation once that code is moved into the core
Bug 517720: Adding a search engine using relative URIs is not supported

--HG--
rename : browser/components/sidebar/nsSidebar.js => toolkit/components/search/nsSidebar.js
extra : rebase_source : 3e9caa49383e78e73e5f111ff09fb063f2cfa7c0
2015-02-02 12:15:26 -08:00
Margaret Leibovic
8c4ff2c193 Bug 1128523 - Don't alter reading list table if it was created with the new schema in an earlier migration. r=rnewman
--HG--
extra : rebase_source : b6e696c8127e8f4e63030d2f59d792a951f06e93
2015-02-04 13:56:53 -08:00
Ryan VanderMeulen
306a1550a3 Merge inbound to m-c. a=merge 2015-02-06 09:06:38 -05:00
Mike Taylor
7912ab9f32 Bug 1092006 - Fix form_border_radius define & mark expected failures. r=wesj 2015-02-05 08:08:00 +01:00
Mark Capella
e248b4eca0 Bug 1128187 - Supply RTL for Caret-Handle, r=rnewman 2015-02-06 00:30:38 -05:00
Mike Connor
3620b8b17d Bug 1130246 - Treat general.useragent.locale as a localized pref in DirectoryProvider. r=rnewman 2015-02-05 20:46:01 -08:00
Mark Capella
bef0d33a01 Bug 1128187 - Allow SelectionHandles in mixed LTR-RTL content, r=margaret 2015-02-05 21:47:15 -05:00
Richard Newman
7f927a5d28 Bug 1130030 - Make EditorBranch implement apply. r=nalexander 2015-02-05 18:12:22 -08:00
Wes Kocher
834e2d3042 Merge inbound to m-c a=merge CLOSED TREE 2015-02-05 16:55:01 -08:00
Mark Finkle
7e82140230 Bug 1129607 - Init the search service earlier so the country code is fetched before we attempt to get the engine list r=margaret 2015-02-06 17:13:45 -05:00
Mark Finkle
7e23895133 Bug 1129576 - Rename the stumbler API key to the generic mozilla API key r=nalexander 2015-02-06 17:08:35 -05:00
Mark Finkle
49ed2e2392 Bug 1129576 - Fetch the country code in the Search Activity r=margaret f=rnewman 2015-02-06 17:08:31 -05:00
Garvan Keeley
d3324dd21a Bug 1130052 - Try avoid NPE, return from onHandleIntent if null intent. r=vng 2015-02-06 13:30:31 -08:00
Allison Naaktgeboren
e636f70513 Bug 1127237 - Text from history panel is not entirely displayed. r=liuche 2015-02-03 15:32:00 -05:00
Paolo Amadini
c3952b24ed Bug 1114624 - Don't register the legacy nsIDownloadManager implementation of nsITransfer by default anymore. r=mak,marco,margaret,fabrice 2015-02-05 11:19:01 +00:00
Alexander Dimitrov
1c1f940fd9 Bug 1125523 - Updated tests to specify JS version and upgraded all uses of var to let, r=margaret 2015-02-04 22:55:18 -05:00
Mark Capella
58b9ea190d Bug 1117274 - Implement desktops FindInPage matchString limit pref, r=wesj 2015-02-04 21:31:04 -05:00
Mark Capella
966ef984e3 Bug 1125516 - Ensure Selection closed at start of attachCaret, r=wesj 2015-02-04 21:31:04 -05:00