Commit Graph

15879 Commits

Author SHA1 Message Date
Wes Kocher
6a61860679 Fix merge failures for the backout of bug 1128287 CLOSED TREE 2015-02-13 14:22:46 -08:00
Wes Kocher
10290c7d2e Merge m-c to inbound a=merge CLOSED TREE 2015-02-13 13:50:19 -08:00
Wes Kocher
06eebbfc6a Backed out changeset bab1f360bf44 (bug 1128287) for rc2 failures a=me 2015-02-13 13:41:46 -08:00
Ryan VanderMeulen
3c8186c130 Merge fx-team to m-c. a=merge
CLOSED TREE
2015-02-13 12:13:22 -05:00
Andy Pusch
e9802fd122 Bug 982797 - Robocop: Switch tests from using waitForTest to waitForCondition. r=liuche
CLOSED TREE
2015-02-13 09:13:00 -05:00
Margaret Leibovic
18d5d86edb Bug 1120735 - Implement desktop reader mode controls. r=jaws,bnicholson
--HG--
extra : rebase_source : 931f6bd5497ca84fa54eb0f8365acf940a7cd86f
2015-01-21 17:21:11 -08:00
Margaret Leibovic
aba076544f Bug 1128724 - Rename "Print" reader mode theme to "Sepia". r=jaws
--HG--
extra : rebase_source : c811857bcd9f77a3bb3be45f5d6d72abd51c7004
2015-02-05 14:38:55 -08:00
Michael Holloway
d48f360c01 Bug 924009 - Add check for whether preferences are defined before checking for lightweight theme preference. r=margaret
--HG--
extra : rebase_source : cb9ad7312ad2ab0efdfa26454b5e8324b4123456
2015-02-12 13:06:24 -08:00
Andy Pusch
3a6ece3ed6 Bug 1099500 - Removes the if clause that prevented the release of callback data on ReasonHidden.TOUCH_OUTSIDE and ReasonHidden.REPLACED. r=margaret
--HG--
extra : rebase_source : 6b5808c01a7e484146bab49939c9f0198214100e
2015-02-12 11:12:24 -08:00
Robin Ricard
834a50773d Bug 1128287 - Intermittent testFindInPage | testFindInPage.js r=margaret
Rely on multiple ends of find in page promises (Repaint and Java callback)

--HG--
extra : rebase_source : c79fe8b9eb9ca5608e99d9a0f82f981a8a9bec19
2015-02-12 09:21:33 -08:00
Robin Ricard
fa28c751bb Bug 1014113 - Refine and enable zoom for find in page. r=margaret
Defines a viewport factor around the highlighted word
May need more testing (See bug 1015395)

--HG--
extra : rebase_source : 81f45a18f8ca8c9a3787522805933a1f801efc00
2015-02-12 09:20:18 -08:00
Michael Comella
c2bf8d8814 Bug 1132165 - Remove padding from mic drawable in editing mode and add padding to url bar. r=mfinkle
The padding on the right edge had to be eyeballed - see comments.

--HG--
extra : rebase_source : 071845a461e928c85a61ec8384b40d001edff9bd
2015-02-12 09:22:59 -08:00
Nick Alexander
1ff24022b2 Bug 964854 - Cache account bundles to work around getUserData cache issues. r=rnewman
These patches are intended to work around theorized issues with the
Android caching of per-Account user data.  They include diagnostic
logging to help understand the state of data on disk, small changes to
the read/write sequence, and a dramatic reduction of getUserData
calls (by maintaining an in-memory cache).

========

dcd54869d1
Author: Nick Alexander <nalexander@mozilla.com>
    Bug 964854 - Part 2: Maintain write-through memory cache of Firefox Account bundles.

    This should avoid reads from the Android Account user data store, which
    we theorize is buggy.  It trades those reads for the complexity of
    maintaining and invalidating an in-memory cache, which has the potential
    to avoid races and cache corruption.

    There is no reliable way to determine if an Account has been
    removed (and subsequently re-added), so we clear the cache entirely when
    any Firefox Account is added.  We do this at the authenticator level,
    which should be more inclusive than doing it at the AndroidFxAccount
    level.

    I put the cache itself in AndroidFxAccount, since that is where we have
    been storing things associated to the Android Account object; but it
    could just as well go in the authenticator.

========

8d65b5dba9
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Tue Feb 10 10:42:27 2015 -0800

    Bug 964854 - Part 1: Avoid back-to-back setUserData calls.

    This is merely a stab in the dark, but if we are in fact seeing caching
    errors, perhaps we're tickling them by writing twice when we could write
    once.

========

42caec6ee1
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Tue Feb 10 10:40:16 2015 -0800

    Bug 964854 - Part 0: Change logging.
2015-02-10 10:46:40 -08:00
Nick Alexander
e6ae8ae218 Bug 1131635 - Make sure view was not destroyed before updating UI. r=nalexander
We already used this work-around in RemoteTabsPanel.

--HG--
extra : rebase_source : b5c5fe309681623f7cb279674683a2c723cb5da6
2015-02-12 15:14:37 -08:00
vivek
18b99f78d5 Bug 1129181 - Make Remote Tabs split pane swipe to refresh apply to both clients and tabs in landscape mode. r=nalexander
For the details of why layout_width="0dp" is correct, see:
www.chess-ix.com/blog/the-use-of-layout_weight-with-android-layouts/

--HG--
extra : rebase_source : b023733363db30e988f23d1edcfceb1e0400111e
2015-02-11 12:43:00 -08:00
Ryan VanderMeulen
91aa8783e3 Merge fx-team to m-c. a=merge
CLOSED TREE
2015-02-12 18:02:35 -05:00
Ryan VanderMeulen
1d632a96b3 Bug 1124494 - Disable testOSLocale on Android 2.3 due to frequent failures.
CLOSED TREE
2015-02-12 12:46:46 -05:00
Mark Finkle
0db0ca8181 Bug 1130694 - Attempt to load thumbnails from DB if thumbnail is empty r=rnewman 2015-02-12 10:03:52 -05:00
Mark Finkle
a4f2f6081e Bug 1130694 - Remove DB code path from ThumbnailHelper.getAndProcessThumbnailFor and move to Tab class r=rnewman 2015-02-12 10:03:47 -05:00
Mark Finkle
0bba02df62 Bug 825483 - Reduce bfcache size on low memory devices r=wesj 2015-02-12 09:02:31 -05:00
Allison Naaktgeboren
fd37c0ce7d Bug 1124711 - Site identity popup overlaps the URL Bar on phone.r=margaret 2015-02-11 12:07:56 -08:00
Nick Alexander
7b81067393 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
39903fe4a8 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
fe81721747 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
7d892cbd94 Bug 1097337 - Set the Android 5 statusbar color. r=wesj 2015-02-11 09:16:22 -08:00
Carsten "Tomcat" Book
ba74506cf4 Merge mozilla-central to fx-team 2015-02-11 15:01:53 +01:00
Carsten "Tomcat" Book
34b660c646 merge mozilla-inbound to mozilla-central a=merge 2015-02-11 14:58:16 +01:00
Richard Newman
587f0012b7 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
25edb8d9ad 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
b346923fd3 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
0f831ec15a 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
817924eff7 Merge inbound to m-c. a=merge
CLOSED TREE
2015-02-10 16:03:15 -05:00
James Hugman
816fd5ad13 Bug 778588 - Support direct voice input from the location bar r=mhaigh 2015-02-10 13:46:30 -05:00
Garvan Keeley
112da8e896 Bug 1107631 - fix bustage on CLOSED TREE 2015-02-10 12:43:35 -05:00
Garvan Keeley
8c06d148eb Bug 1107631 - Updated stumbling opt-in msg. r=rnewman
--HG--
extra : rebase_source : fad1d37fb829ec1a58e0068be3151ba5439c11af
2015-02-10 11:08:01 -05:00
Andy Pusch
a849105e3a Bug 964412 - Adds support for basic HTML markup in DoorHanger.java. r=margaret 2015-02-08 14:40:00 +01:00
Ryan VanderMeulen
332621b1f2 Merge m-c to inbound. a=merge 2015-02-11 16:29:25 -05:00
David Keeler
373b1ac83e bug 1076329 - fix NSSDialogService to properly inspect checkbox state in confirmDownloadCACert r=mfinkle 2015-02-09 15:09:06 -08:00
KuoE0
682d260ce3 Bug 1125527 - merge the common code of tests. r=margaret 2015-02-09 18:40:00 +01:00
Richard Newman
3f6f5dc48d Bug 1131421 - Part 2: build changes to support RL service code. r=nalexander 2015-02-09 21:08:05 -08:00
Richard Newman
3c6a08f1a2 Bug 1131421 - Part 1: initial stub reading list service and SyncAdapter. r=nalexander 2015-02-09 21:08:05 -08:00
Richard Newman
f5df23c9ca Bug 1131257 - Part 0: Cleanup in LocalReadingListDB. 2015-02-09 14:37:14 -08:00
Ryan VanderMeulen
884670e7a9 Merge m-c to fx-team. a=merge 2015-02-09 16:40:25 -05:00
Eugen Sawin
8466e0e651 Bug 792992 - Switch URL usage to URI to prevent unnecessary network calls. r=rnewman 2015-02-09 22:06:22 +01:00
Eugen Sawin
46b67a7fc3 Bug 792992 - Delay update service start. r=rnewman 2015-02-09 20:41:43 +01:00
Margaret Leibovic
83f1582de4 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
6326bb5c6d 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
5863e16b6b Bug 1130812 - AppConstants.jsm is not substituting correctly r=rnewman 2015-02-08 00:48:35 -05:00
Phil Ringnalda
3ed66121d9 Merge f-t to m-c, a=merge 2015-02-07 08:55:02 -08:00
Gavin Sharp
8f693d71ec Bug 1126511 followup: address forgotten review comment that caused malformed yahoo plugin on Android, a=bustagetypo 2015-02-07 07:56:30 -08:00