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

15875 Коммитов

Автор SHA1 Сообщение Дата
Ryan VanderMeulen 3e2d8e9ec4 Merge fx-team to m-c. a=merge
CLOSED TREE
2015-02-13 12:13:22 -05:00
Margaret Leibovic f63aff6e67 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 309777ae48 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 1b563894ee 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 863f10916a 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 22c04d675b 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 6f4b98405d 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 9fa6337f8a 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 4337afe919 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 565246b350 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 4af97612e4 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 a801fa4088 Merge fx-team to m-c. a=merge
CLOSED TREE
2015-02-12 18:02:35 -05:00
Ryan VanderMeulen 2eace57c2f Bug 1124494 - Disable testOSLocale on Android 2.3 due to frequent failures.
CLOSED TREE
2015-02-12 12:46:46 -05:00
Mark Finkle 5738bd910f Bug 1130694 - Attempt to load thumbnails from DB if thumbnail is empty r=rnewman 2015-02-12 10:03:52 -05:00
Mark Finkle 3888d12c92 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 c745109d10 Bug 825483 - Reduce bfcache size on low memory devices r=wesj 2015-02-12 09:02:31 -05:00
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
Ryan VanderMeulen 9651c57ff8 Merge m-c to inbound. a=merge 2015-02-11 16:29:25 -05:00
David Keeler 7b637b95c2 bug 1076329 - fix NSSDialogService to properly inspect checkbox state in confirmDownloadCACert r=mfinkle 2015-02-09 15:09:06 -08: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