Bug 1001655 - Part 1: Replace applicable Strings in test code with StringHelper references. r=wesj
Bug 1067491 - Add allocations recording to the memory actor. r=jryans
Bug 1047146 - Add current username to the Loop panel footer. r=mattn r=niko

--HG--
extra : rebase_source : ba9f55a9a28d1a4df6284582ded6d761e269d5cf
Bug 1063765 - Part 1: Style Remote Tabs static panels for tablets and portrait phones. r=mcomella

This patch does several things:

1) It wraps static panel content in a ScrollView.

2) It tightens the static panels vertically.  We can fit landscape on
many high-end phones by reducing the space before the header and between
the header and the body text slightly.

3) It makes the body text just a little narrower than the button.  The
idea is for the call to action button to dominate the page horizontally.

4) It caps the maximum width of the content in the ScrollView.  I would
have used maxWidth, but that doesn't exist for LinearLayouts (or
ScrollViews).  Instead, I set a maxWidth for every RemoteTabsPanelItem,
which combined with wrap_content on the containing LinearLayout achieves
the same goal.  It's what I intended to do on tablets.
Bug 1063765 - Part 2: Adjust top margin for static content on landscape phones. r=antlam

Per discussion with antlam, we shrink the top margin on landscape phones
in the hopes of fitting the content in the window.  On portrait phones
and all tablets, we maintain a larger top margin.
Bug 1064304 - Pre: Align PrefUtils.putStringSet docstring and reality. r=rnewman
Bug 1064304 - Part 1: Land home group collapsed and expanded indicator resources. r=rnewman
Bug 1064304 - Part 2: Show group collapsed/expanded indicator as appropriate. r=rnewman
Bug 1064304 - Part 3: Persist group collapsed/expanded state in SharedPreferences. r=rnewman
Bug 977161 - Part 0: Make Remote{Client,Tab} implement Parcelable. r=rnewman

This is necessary to provide the list of clients to another Fragment:
the way to persist "final members" across configuration changes is to
provide the initial data in the Fragment's arguments bundle.

Note: I'd like to see RemoteClient replace ParcelableClientRecord, and
Fennec's clients table replace direct access to Sync's clients table;
but one step at a time.
Bug 977161 - Part 1: Add hide/show context menu items to remote clients. r=rnewman

We're not (yet) using show, but we may as well add it while we're here.
Bug 977161 - Part 2: Add a clickable footer showing hidden device count. r=rnewman

This is quite delicate, due to the interactions between
ExpandableListView and the footer views.  At the end of the day, this
uses an Adapter that handles header and footer views as separate
view-group types.  That means working around Android's limitations; see
the comments in the code for the details.

The alternative would be to implement our own wrapping Adapter; or to
boil the specifics of our use case into RemoteTabsExpandableListAdapter.
This is certainly quicker than the former; and, I hope, less error prone
than the latter.
Bug 977161 - Part 3: Allow unhiding hidden devices. r=rnewman

I'd like to make the DialogFragment show icons, last synced times,
number of tabs, etc; but AlertDialog does not handle multi-choice lists
backed by a custom list adapters.  (It does handle single-choice lists
backed by custom list adapters.)  We can implement our own dialog
fragment if and when we want better looks.

I've made this somewhat general so that we can use it from
ShareDialog/SendTab, which currently use AlertDialog.  Using
DialogFragment has two advantages.  First, it smoothly persists across
configuration changes; AlertDialog does not.  Second, it allow us to use
AlertDialog until we implement the improved UI above.
Bug 1067514 - Don't attempt to capture a tab preview in e10s; r=dao
Bug 989094 - Remember video and audio sources for webrtc. r=mfinkle
Bug 1067026 - Fall back to en-US if search plugins aren't found for the user's locale. r=rnewman
Bug 1066033 - Use orange text selection handles in search bar. r=wesj
Bug 1042199 - Show a search box on error pages. r=margaret
Bug 1063896 - Loop over all url list, not just ones with metadata. r=lucasr
Merge m-c to fx-team a=merge