Commit Graph

15888 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
b894747db5 merge mozilla-inbound to mozilla-central a=merge 2015-02-16 15:59:56 +01:00
Carsten "Tomcat" Book
1df80942b9 Backed out changeset 32355c0d9d64 (bug 1014113) for suspicion of causing r2 perma failures 2015-02-16 10:19:09 +01:00
Robin Ricard
fb01a735bf Bug 1130872 - Add Robocop JavascriptTest verifying that AppConstants module can be imported and is sensible. r=nalexander 2015-02-13 08:41:00 -08:00
Wes Kocher
377a42d013 Backed out changeset 67b3b61d39f3 (bug 938845) for rc4 failures 2015-02-13 14:08:41 -08:00
Wes Kocher
967d58bcf4 Backed out changeset 8a4280e98895 (bug 1122331) 2015-02-13 14:08:22 -08:00
Wes Kocher
778aa2439d Merge m-c to fx-team a=merge 2015-02-13 13:52:03 -08:00
Wes Kocher
c23fd91abc Backed out changeset bab1f360bf44 (bug 1128287) for rc2 failures a=me 2015-02-13 13:41:46 -08:00
Ryan VanderMeulen
309dcf842a Merge fx-team to m-c. a=merge
CLOSED TREE
2015-02-13 12:13:22 -05:00
Prabhjyot Singh Sodhi
a63fa7b5ba bug 1122331 moving statically initialised String values from constructor to declaration. r=mcomella 2015-02-13 12:05:51 -08:00
Jalpreet Singh Nanda
c673a783b1 Bug 938845 - Merge StringHelper and org.mozilla.gecko.* Strings. r=mcomella 2015-02-12 22:39:02 +05:30
Mark Finkle
ee2a29ad50 Bug 1133012 - Disable tab mirroring on RELEASE r=snorp 2015-02-13 14:40:33 -05:00
Wes Kocher
ea761ccd8b Fix merge failures for the backout of bug 1128287 CLOSED TREE 2015-02-13 14:22:46 -08:00
Wes Kocher
02e91878ba Merge m-c to inbound a=merge CLOSED TREE 2015-02-13 13:50:19 -08:00
Andy Pusch
836c8ebbdc Bug 982797 - Robocop: Switch tests from using waitForTest to waitForCondition. r=liuche
CLOSED TREE
2015-02-13 09:13:00 -05:00
Margaret Leibovic
e6f2411ed6 Bug 1120735 - Implement desktop reader mode controls. r=jaws,bnicholson 2015-01-21 17:21:11 -08:00
Margaret Leibovic
d4f5d4d66a Bug 1128724 - Rename "Print" reader mode theme to "Sepia". r=jaws 2015-02-05 14:38:55 -08:00
Michael Holloway
3e72eaa241 Bug 924009 - Add check for whether preferences are defined before checking for lightweight theme preference. r=margaret 2015-02-12 13:06:24 -08:00
Andy Pusch
50037823b9 Bug 1099500 - Removes the if clause that prevented the release of callback data on ReasonHidden.TOUCH_OUTSIDE and ReasonHidden.REPLACED. r=margaret 2015-02-12 11:12:24 -08:00
Robin Ricard
68abd38f6f Bug 1128287 - Intermittent testFindInPage | testFindInPage.js r=margaret
Rely on multiple ends of find in page promises (Repaint and Java callback)
2015-02-12 09:21:33 -08:00
Robin Ricard
8bf2576d70 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)
2015-02-12 09:20:18 -08:00
Michael Comella
51f3612a95 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.
2015-02-12 09:22:59 -08:00
Nick Alexander
e7907c266b 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
3e3d1df43d Bug 1131635 - Make sure view was not destroyed before updating UI. r=nalexander
We already used this work-around in RemoteTabsPanel.
2015-02-12 15:14:37 -08:00
vivek
e35f5e2c83 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/
2015-02-11 12:43:00 -08:00
Ryan VanderMeulen
52da79328b Merge fx-team to m-c. a=merge
CLOSED TREE
2015-02-12 18:02:35 -05:00
Ryan VanderMeulen
1942de22f5 Bug 1124494 - Disable testOSLocale on Android 2.3 due to frequent failures.
CLOSED TREE
2015-02-12 12:46:46 -05:00
Mark Finkle
1aa5f75b1b Bug 1130694 - Attempt to load thumbnails from DB if thumbnail is empty r=rnewman 2015-02-12 10:03:52 -05:00
Mark Finkle
8887b57acb 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
92032d2721 Bug 825483 - Reduce bfcache size on low memory devices r=wesj 2015-02-12 09:02:31 -05:00
Allison Naaktgeboren
65ae439307 Bug 1124711 - Site identity popup overlaps the URL Bar on phone.r=margaret 2015-02-11 12:07:56 -08:00
Nick Alexander
b9907f9f61 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
f4ac784c94 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
8ba677fe9e 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
3885ea2dcd Bug 1097337 - Set the Android 5 statusbar color. r=wesj 2015-02-11 09:16:22 -08:00
Carsten "Tomcat" Book
022753dfe5 Merge mozilla-central to fx-team 2015-02-11 15:01:53 +01:00
Carsten "Tomcat" Book
5ac50b27cc merge mozilla-inbound to mozilla-central a=merge 2015-02-11 14:58:16 +01:00
Richard Newman
6ffcb49e5b 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
a57508e31a Backed out changeset ea1ed091f31e (bug 1126240) for android build failures 2015-02-10 16:42:39 -08:00
Richard Newman
1861988e64 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
ac8867c5b7 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
256333e4b8 Merge inbound to m-c. a=merge
CLOSED TREE
2015-02-10 16:03:15 -05:00
James Hugman
ea2e29aa06 Bug 778588 - Support direct voice input from the location bar r=mhaigh 2015-02-10 13:46:30 -05:00
Garvan Keeley
f03b1f80a5 Bug 1107631 - fix bustage on CLOSED TREE 2015-02-10 12:43:35 -05:00
Garvan Keeley
6ee338b763 Bug 1107631 - Updated stumbling opt-in msg. r=rnewman 2015-02-10 11:08:01 -05:00
Andy Pusch
66b3b69058 Bug 964412 - Adds support for basic HTML markup in DoorHanger.java. r=margaret 2015-02-08 14:40:00 +01:00
Ryan VanderMeulen
c6447ccf53 Merge m-c to inbound. a=merge 2015-02-11 16:29:25 -05:00
David Keeler
652443351c bug 1076329 - fix NSSDialogService to properly inspect checkbox state in confirmDownloadCACert r=mfinkle 2015-02-09 15:09:06 -08:00
KuoE0
29cf2ef3bd Bug 1125527 - merge the common code of tests. r=margaret 2015-02-09 18:40:00 +01:00
Richard Newman
90cfd1cb6e Bug 1131421 - Part 2: build changes to support RL service code. r=nalexander 2015-02-09 21:08:05 -08:00
Richard Newman
72a22fca75 Bug 1131421 - Part 1: initial stub reading list service and SyncAdapter. r=nalexander 2015-02-09 21:08:05 -08:00