Commit Graph

15900 Commits

Author SHA1 Message Date
Chris Peterson
16683aafd3 Bug 1133418 - Remove nonstandard expression closures from mobile/android. r=mfinkle 2015-01-24 23:50:50 -08:00
Ryan VanderMeulen
2e72549296 Merge inbound to m-c. a=merge 2015-02-17 21:22:47 -05:00
dominique vincent
0fde35b1ae Bug 1130630 - Move zoomed_view_stub from shared_ui_components to gecko_app. r=mcomella 2015-02-12 22:12:48 +01:00
Ryan VanderMeulen
cd46520185 Merge inbound to m-c. a=merge 2015-02-17 14:24:51 -05:00
Martyn Haigh
457653cee4 Bug 1128497 - No scroll bar in portrait mode in Tab Panel (r=mcomella) 2015-02-17 17:17:06 +00:00
Carsten "Tomcat" Book
4b912997a8 Merge mozilla-central to fx-team 2015-02-16 16:18:42 +01:00
Carsten "Tomcat" Book
08fafcb3e2 merge mozilla-inbound to mozilla-central a=merge 2015-02-16 15:59:56 +01:00
Martyn Haigh
f2ad138f7e Bug 1132185 - Put the tab queue UI behind a build flag (r=nalexander) 2015-02-16 14:55:52 +00:00
Ryan VanderMeulen
cc5672087d Merge m-c to inbound. a=merge 2015-02-17 14:27:23 -05:00
Carsten "Tomcat" Book
3e0a1b1404 Backed out changeset 32355c0d9d64 (bug 1014113) for suspicion of causing r2 perma failures 2015-02-16 10:19:09 +01:00
Robin Ricard
7783c1a260 Bug 1130872 - Add Robocop JavascriptTest verifying that AppConstants module can be imported and is sensible. r=nalexander
--HG--
extra : amend_source : a24d08216feb49a136834699c3b3eabaf357d9c7
2015-02-13 08:41:00 -08:00
Wes Kocher
33d9d68dcd Backed out changeset 67b3b61d39f3 (bug 938845) for rc4 failures 2015-02-13 14:08:41 -08:00
Wes Kocher
8c85d14f92 Backed out changeset 8a4280e98895 (bug 1122331) 2015-02-13 14:08:22 -08:00
Wes Kocher
8074719e1f Merge m-c to fx-team a=merge 2015-02-13 13:52:03 -08:00
Wes Kocher
f6f568ec47 Backed out changeset bab1f360bf44 (bug 1128287) for rc2 failures a=me 2015-02-13 13:41:46 -08:00
Ryan VanderMeulen
3e2d8e9ec4 Merge fx-team to m-c. a=merge
CLOSED TREE
2015-02-13 12:13:22 -05:00
Prabhjyot Singh Sodhi
f21b187417 bug 1122331 moving statically initialised String values from constructor to declaration. r=mcomella 2015-02-13 12:05:51 -08:00
Jalpreet Singh Nanda
b6c9bd6579 Bug 938845 - Merge StringHelper and org.mozilla.gecko.* Strings. r=mcomella 2015-02-12 22:39:02 +05:30
Mark Finkle
20bb0d06d1 Bug 1133012 - Disable tab mirroring on RELEASE r=snorp 2015-02-13 14:40:33 -05:00
Wes Kocher
ea6de563d8 Fix merge failures for the backout of bug 1128287 CLOSED TREE 2015-02-13 14:22:46 -08:00
Wes Kocher
7d87aa74d5 Merge m-c to inbound a=merge CLOSED TREE 2015-02-13 13:50:19 -08:00
Andy Pusch
5b641e3fb5 Bug 982797 - Robocop: Switch tests from using waitForTest to waitForCondition. r=liuche
CLOSED TREE
2015-02-13 09:13:00 -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