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

16490 Коммитов

Автор SHA1 Сообщение Дата
Randall Barker 332d8f545d Bug 1148149 - Support Android Presentation API. r=snorp, r=jgilbert 2015-04-08 16:00:00 -04:00
Michael Comella 6b55c804ac Bug 1153193 - Add EXTRA_DEVICES_ONLY flag to share intents. r=rnewman
Before we only added this flag to the share intent used by the browser toolbar
menu.

Practically, this has the effect of having "Add to <current channel>" opening
the share overlay with *only* the device list wherever getShareIntent() is
used. Ideally, this method is used anywhere we use ACTION_SEND.

I've noticed this change makes both sharing from the long-press context menu
and about:reader to display *only* the device list.

--HG--
extra : rebase_source : 63fd4c7ebfa43ed3f2f7fc3d0ef9809a5458aa9f
2015-04-10 08:12:51 -07:00
Michael Comella 4ce582326f Bug 1106935 - Remove NewTabletUI class. r=mhaigh
Still TODO: rename resources prefixed with "new_tablet" or styles appended with
"NewTablet".

--HG--
extra : rebase_source : 1e216b09beb6574695a103c7c13a530468aa422f
2015-04-02 16:30:42 -07:00
Michael Comella ada7764819 Bug 1106935 - Remove NewTabletUI branches in NewTabletUI. r=mhaigh
--HG--
rename : mobile/android/base/resources/drawable-xlarge-hdpi-v11/new_tablet_ic_menu_bookmark_add.png => mobile/android/base/resources/drawable-xlarge-hdpi-v11/ic_menu_bookmark_add.png
rename : mobile/android/base/resources/drawable-xlarge-hdpi-v11/new_tablet_ic_menu_bookmark_remove.png => mobile/android/base/resources/drawable-xlarge-hdpi-v11/ic_menu_bookmark_remove.png
rename : mobile/android/base/resources/drawable-xlarge-mdpi-v11/new_tablet_ic_menu_bookmark_add.png => mobile/android/base/resources/drawable-xlarge-mdpi-v11/ic_menu_bookmark_add.png
rename : mobile/android/base/resources/drawable-xlarge-mdpi-v11/new_tablet_ic_menu_bookmark_remove.png => mobile/android/base/resources/drawable-xlarge-mdpi-v11/ic_menu_bookmark_remove.png
rename : mobile/android/base/resources/drawable-xlarge-xhdpi-v11/new_tablet_ic_menu_bookmark_add.png => mobile/android/base/resources/drawable-xlarge-xhdpi-v11/ic_menu_bookmark_add.png
rename : mobile/android/base/resources/drawable-xlarge-xhdpi-v11/new_tablet_ic_menu_bookmark_remove.png => mobile/android/base/resources/drawable-xlarge-xhdpi-v11/ic_menu_bookmark_remove.png
rename : mobile/android/base/resources/drawable-xlarge-xxhdpi-v11/new_tablet_ic_menu_bookmark_add.png => mobile/android/base/resources/drawable-xlarge-xxhdpi-v11/ic_menu_bookmark_add.png
rename : mobile/android/base/resources/drawable-xlarge-xxhdpi-v11/new_tablet_ic_menu_bookmark_remove.png => mobile/android/base/resources/drawable-xlarge-xxhdpi-v11/ic_menu_bookmark_remove.png
extra : rebase_source : 9bc46f1cec34985d9568726196891bf6b57cf828
2015-04-02 16:29:32 -07:00
Michael Comella 982ec2afcd Bug 1106935 - Remove NewTabletUI branch in BrowserToolbarTabletBase. r=mhaigh
--HG--
extra : rebase_source : 0d5ab7975dacdb299b2e80a16d33adca9c10c4c7
2015-04-02 16:20:14 -07:00
Michael Comella b2be34996d Bug 1106935 - Remove NewTabletUI branch in ActionBarViewFlipper. r=mhaigh
--HG--
extra : rebase_source : 00e0d4e114f5711b6aa5699b591f51fad9668e63
2015-04-02 16:18:01 -07:00
Michael Comella e3a85aae07 Bug 1106935 - Remove NewTabletUI branch in PrivateTabsPanel. r=mhaigh
Cleaned up styles while I was in the area.

--HG--
extra : rebase_source : 6c0f79fe4cce1ea453fd0fb6c34333e0aef83785
2015-04-02 15:40:28 -07:00
Michael Comella d97e258f4d Bug 1106935 - Remove unused tabs panel style resources. r=mhaigh
--HG--
extra : rebase_source : c0f206764943ebefd9f6fd5654b3510e0475592f
2015-04-02 15:10:52 -07:00
Michael Comella 50f0e098c0 Bug 1106935 - Remove references to old tablet sidebar. r=mhaigh
--HG--
extra : rebase_source : 3d9f84589872bfb74c1a1040b525f042c7c9cebb
2015-04-02 10:45:31 -07:00
Michael Comella f95ba8fd16 Bug 1106935 - Remove NewTabletUI branch in TabsPanel. r=mhaigh
--HG--
extra : rebase_source : f1a7918cffa76ec2756b66c1f5f8684ae6f2102e
2015-04-02 10:09:21 -07:00
Michael Comella 74d22d1bfe Bug 1106935 - Use resource system for tablets in ThumbnailHelper. r=mhaigh
--HG--
extra : rebase_source : ca9f5f53a59619a5929fa4cbae7cd036a0904c6a
2015-04-01 16:28:32 -07:00
Michael Comella 8707ca6b5c Bug 1106935 - Remove unused NewTabletUI imports. r=mhaigh
--HG--
extra : rebase_source : 5ca1ca4d17cebb5a18b0e3e64fa69be6107b3c0b
2015-04-01 16:03:01 -07:00
Michael Comella ebb6d4982c Bug 1106935 - Use Android resource system on tablet in ToolbarDisplayLayout. r=mhaigh
We couldn't use it before because of the new/old tablet divide.

--HG--
rename : mobile/android/base/resources/drawable-large-v11/new_tablet_site_security_level.xml => mobile/android/base/resources/drawable-large-v11/site_security_level.xml
rename : mobile/android/base/resources/drawable-large-v11/new_tablet_site_security_unknown.xml => mobile/android/base/resources/drawable-large-v11/site_security_unknown.xml
extra : rebase_source : 26a5a3b8164dd48875100f3469a00b4628d62010
2015-04-01 15:55:22 -07:00
Michael Comella 17fcfdf486 Bug 1106935 - Remove unused imports from testAboutPage. r=mhaigh
--HG--
extra : rebase_source : 5397d8d10ecfe51ee2bf11293cfe99f0db4f8eff
2015-04-01 12:29:54 -07:00
Martyn Haigh e51779030d Bug 1152825 - Enable Tab Queue on nightly (r=mfinkle) 2015-04-10 14:16:13 +01:00
Martyn Haigh 9bc6bb9d21 Bug 1152873 - Get TabQueueDispatcher to use SafeIntent (r=rnewman) 2015-04-10 10:10:45 +01:00
Mark Finkle e14f091c5f Bug 1150903 - about:passwords is too slow during filtering r=liuche 2015-04-09 17:11:52 -04:00
Mark Finkle 48bc028831 Bug 1147534 - Don't use an anonymous click handler for each item in about:passwords r=liuche 2015-04-09 15:48:45 -04:00
Martyn Haigh ae9944fa0c Bug 1151967 - Ensure TabQueueDispatcher has crash reporting enabled (r=rnewman) 2015-04-09 18:11:58 +01:00
Ryan VanderMeulen ce515b4664 Merge fx-team to m-c. a=merge 2015-04-09 11:41:22 -04:00
Martyn Haigh 7e66307d6e Bug 1148431 - Create UI to inform users of Tab Queue and allow them to turn on or ignore (r=mcomella)
--HG--
rename : mobile/android/base/resources/drawable/firstrun_button_background.xml => mobile/android/base/resources/drawable/button_background_action_orange_round.xml
rename : mobile/android/base/resources/drawable/firstrun_button_enabled.xml => mobile/android/base/resources/drawable/button_enabled_action_orange_round.xml
rename : mobile/android/base/resources/drawable/firstrun_button_pressed.xml => mobile/android/base/resources/drawable/button_pressed_action_orange_round.xml
rename : mobile/android/base/resources/drawable/firstrun_button_background.xml => mobile/android/base/resources/drawable/tab_queue_dismiss_button_foreground.xml
2015-04-09 10:55:13 +01:00
vivek dacb782350 Bug 1145896: Flush background services databases when Firefox Account is deleted. r=nalexander
--HG--
extra : rebase_source : 94d108432ba454aad3446e2ed86ff375f0cca662
2015-04-08 10:30:00 -07:00
Nick Alexander 3811065ab4 Bug 1112325 - Update 'Last synced:' timestamp in Remote Tabs home panel every minute. r=vivek
--HG--
extra : rebase_source : 1f7c6eb6e89c072ca38a5404c2e7a59ece1d5e1c
2015-04-03 14:29:25 -07:00
Jim Chen 5d43c87b01 Bug 1151875 - Never mask text updates in nsWindow; r=esawin 2015-04-08 12:25:20 -04:00
Jim Chen c2cb2a3e5c Bug 1151875 - Refactor GeckoEditable.ActionQueue methods; r=esawin 2015-04-08 12:25:20 -04:00
Jim Chen 43f9901cd6 Bug 1148590 - Clear existing focus when closing selection; r=capella 2015-04-08 12:25:20 -04:00
Blake Winton 06e5c3d6bc Bug 1149520 - Move the font-size change to the container, so as not to repaint the toolbar. r=jaws, r=margaret 2015-04-07 13:43:57 -04:00
Mark Finkle 4c84dcaf29 Bug 1151469 - Make sure the right SiteSpecificUserAgent.js file is packaged in Fennec r=rnewman 2015-04-07 22:23:24 -04:00
Chenxia Liu 69fc10e59d Bug 1144385 - Add toast on JSON error. r=margaret
--HG--
extra : rebase_source : 10ed297b8a07fd5eb9b27e88e27acf56cd84c0ac
2015-04-06 17:47:54 -07:00
Chenxia Liu 5491f8c6be Bug 1144385 - Handle edited login. r=margaret
--HG--
extra : rebase_source : b2223585fe37fc7933fb8dba0c51595eb7b7f55f
2015-03-30 20:45:47 -07:00
Chenxia Liu b279bc7148 Bug 1144385 - Add option to edit login to password doorhanger. r=margaret
--HG--
extra : rebase_source : 27488940593490073199b360d655bf4b6c29bae4
2015-03-27 17:35:26 -07:00
Chenxia Liu 7b61fffdc0 Bug 1144385 - Refactor buttons into DoorHanger. r=margaret
--HG--
extra : rebase_source : 5698737b06c9b0f528205205852b02df3a8bd1af
2015-03-30 19:26:14 -07:00
Martyn Haigh 494b81298b Bug 1149577 - Remove history and recents affecting flags from TabQueueDispatcher entry in AndroidManifest (r=mcomella) 2015-04-07 14:18:33 +01:00
Gijs Kruitbosch 7ecee62c03 Bug 1158184 - followup: fix mobile test now that we read og:title in readability.js, rs=me on a CLOSED TREE
--HG--
extra : rebase_source : 3257bca3918259c21578b6e6468ae859a2ab51e7
extra : histedit_source : fe61ca0a54d27ddf26906818824e9e3b43da53f7
2015-04-24 18:24:35 +01:00
Chenxia Liu 5e611e5575 Bug 1157865 - Tablet: Anchor Site Identity popup under the back button. r=ally
--HG--
extra : rebase_source : f7085e07aa5b89b1406c24a6f2fa48b9c64b4309
2015-04-23 18:55:39 -07:00
Margaret Leibovic 284cbc74c1 Bug 1154028 - Move reader controls styles to scoped style sheet. r=Gijs
--HG--
rename : toolkit/themes/shared/aboutReader.css => toolkit/themes/shared/aboutReaderControls.css
extra : rebase_source : ffe9bb98c33b2a508ce6112f2d73d353d112c6d7
2015-04-23 10:59:03 -07:00
Margaret Leibovic 0f3d32072f Bug 1154028 - Move reader content styles to scoped style sheet. r=Gijs
--HG--
rename : toolkit/themes/shared/aboutReader.css => toolkit/themes/shared/aboutReaderContent.css
extra : rebase_source : f263543d158f4d958eac3a628cd26d73f75f547c
2015-04-23 10:42:31 -07:00
Makoto Kato beff3d3dfe Bug 1149861 - Implement getMaxTouchPoints for Android. r=snorp 2015-04-24 18:43:31 +09:00
Mark Finkle 6dbb5ad52e Bug 1143888 - Integrate the Adjust install tracking SDK. r=mfinkle
--HG--
extra : rebase_source : d4a41c1193d93aa7774e68b302e9f9b13b5ec28c
2015-04-08 22:49:16 -07:00
Michael Comella 68bca54907 Bug 1157534 - Hide HomePagerContainer when showing BrowserSearch and vice versa. r=margaret
We'd hide only the HomePager before, which left the HomeBanner appearing.

--HG--
extra : rebase_source : b6cefaa098fafea182eb43dd1d0e14c5e5725e74
2015-04-23 11:03:14 -07:00
Michael Comella 4262ab276d Bug 1152314 - Duplicate action bar configuration in code. r=liuche
This is necessary because the configuration breaks on some devices if it's
just set in XML - see the code comments for more details.

--HG--
extra : source : 20612adf39a75abc22de568a5aa2a04d8349e0e2
2015-04-14 17:42:45 -07:00
Jeff Lu 6fcd0207db Bug 1076692 - OuterLayout should consume touch only when dragging is enabled. r=mcomella
--HG--
extra : rebase_source : cf5824e19d663cb8d8fc5887080c74f2011546ff
2015-04-23 17:03:04 -07:00
Wes Kocher db5ac7d39e Merge m-c to inbound a=merge 2015-04-08 17:33:36 -07:00
Ryan VanderMeulen dd1120e715 Merge m-c to inbound. a=merge
CLOSED TREE
2015-04-17 16:11:58 -04:00
Ehsan Akhgari 5a17e5fdad Bug 1154900 - Pref on service workers for desktop and Android on Nightly; r=nsm 2015-04-17 14:07:22 -04:00
Jim Chen 41419149d7 Bug 1152308 - Remove obsolete methods for exiting; r=snorp 2015-04-17 12:22:47 -04:00
Jim Chen fb6da03291 Bug 1152308 - Quit or restart after GeckoApp activity is destroyed; r=snorp 2015-04-17 12:22:47 -04:00
Jim Chen f857ab3b42 Bug 1152308 - Turn Restarter into a Service; r=snorp 2015-04-17 12:22:47 -04:00
Jim Chen dd29c5a230 Bug 1154952 - Don't wait for sync event when Gecko is shutting down; r=snorp 2015-04-17 12:22:47 -04:00
vivek 9bcf8c1fd0 Bug 1150251: Added a padding to +/- buttons and decreased their margin -r=margaret. 2015-04-13 13:37:40 -07:00
vivek c72a0e5ed1 Bug 1145567 : display toolbar only after Domcontentloaded is triggered -r=margaret. 2015-04-13 13:37:37 -07:00
Richard Newman 76a284caf9 Bug 1153358 - Client mitigation: don't upload stored_on. r=nalexander 2015-04-13 12:46:25 -07:00
Richard Newman 3b538b6cfd Bug 1153973 - Pre: add logging for DB insert failures. r=nalexander 2015-04-13 12:37:30 -07:00
Richard Newman d68a564f19 Bug 1153357 - Don't set SYNC_STATUS_MODIFIED unless an update touches fields that we sync. r=nalexander
This patch does two things:

* It doesn't set MODIFIED at all unless fields are being changed. That's the original bug.
* It only sets MODIFIED in a non-Sync update if the item is marked as SYNCED. NEW items will stay new even if Fennec changes them, until they've been synced.
2015-04-13 12:37:30 -07:00
Prabhjyot Singh Sodhi 200ef78e71 bug 1122331 moving statically initialised String values from constructor to declaration. r=mcomella
--HG--
extra : rebase_source : 05c49b17791fa8410736cd1ddbfc6444a77a246b
extra : source : 8a4280e988954694c3e37fd7ace6cf967e562014
2015-02-13 12:05:51 -08:00
Margaret Leibovic 1c7247c8ec Bug 1150872 - Update toast notification when removing a page from reading list from reader view toolbar. r=mcomella
--HG--
extra : rebase_source : fa4250573111a76573f9f46821678b60f31e07f1
2015-04-03 10:58:28 -04:00
Michael Comella 24c71b8faa Bug 1150974 - Run `trimage` on all png assets in mobile/. r=rnewman
The command I ran was:
  for i in `find mobile -name "*.png" | sed "s/\(.*\)\/.*\.png/\1/" | sort | uniq`; do trimage -d ${i}; done

--HG--
extra : rebase_source : 90ae53a7e3c63834b1bbb251cc4e5c48e5d20f08
2015-04-03 11:26:06 -07:00
Michael Comella a3e57f7dd8 Bug 1132747 - Set the padding for share in the context menu on Lollipop. r=mhaigh
--HG--
extra : rebase_source : 73188995644bc759f7f0d35d6046f36fb0da4221
extra : source : 4458dea727edc5d5c84db0b27cb62fda29d148c9
2015-03-27 17:59:06 -07:00
Michael Comella 4b1116e5de Bug 1148677 - Use larger shareplane icon. r=liuche
We use a larger icon so that the icon is not blurry in the long-press context
menu.

Also, changed the name to icon_shareplane because it better represents that
this asset is extra-large and intended to be scaled because it's used as an
application icon.

--HG--
extra : rebase_source : 6ac8cb91b80047821e78af3d005d8049e9b23dfd
2015-04-01 12:08:00 -07:00
Richard Newman 4d3cf205cb Bug 1118818 - Flush Gecko preferences when they change in Settings. r=bnicholson
This is the simplest and most durable option: when Settings (GeckoPreferences) sends a Preferences:Set message to Gecko, typically via PrefsHelper and a SharedPreferences change observer, we include a "flush": true field.

When browser.js handles Preferences:Set, it checks for this and flushes.

The scope of this change, then, is preferences changes within Settings; nothing else (e.g., turning on search suggestions) is affected.

I decided to do this rather than sending a flush message when leaving Settings for three reasons:

* One less message.
* No flushes if nothing changed.
* No data loss if we crash before the user completes the departure from Settings (e.g., they change something then hit the Android 'home' button).
2015-04-06 10:23:04 -07:00
Richard Newman 501642cd01 Bug 1151484 - Account for null result when polling on a latch during Reading List sync. r=nalexander 2015-04-06 10:19:20 -07:00
Jannis Pinter a877da541d Bug 1144807 - Moved variables to resources in OverlayDialogButton and made use of StateListDrawable. r=mcomella 2015-04-01 10:33:13 +02:00
Michael Comella 8f750e1fdb Bug 1134490 - Correct the color of the text in the toolbar tabs changer. r=liuche
--HG--
extra : rebase_source : 136ee6c4d087132b15c25502ace92e242a5fe198
extra : source : 67a23638787e849747170b9b543d007c9cc80325
2015-03-31 17:14:08 -07:00
Michael Comella 560cfb6c9e Bug 1144707 - Backout changeset 44fbf043ef85 for causing regression in toolbar tapping. r=me
--HG--
extra : rebase_source : 2c7cae68081a7acd1aae078711a1c6e34683e939
2015-04-03 16:37:01 -07:00
Michael Comella 9c6f23a1ab Bug 1151089 - Move slide up animations to onResume. r=liuche
This should mean we do the slide up animation every time, not just when the
Activity is created.

--HG--
extra : rebase_source : b640e4ccfc429341dbc0b78e04445d56a6417493
2015-04-03 15:45:49 -07:00
Willian Gustavo Veiga 7484118b30 Bug 1147960 - Remove share_overlay_background.9.png. r=mcomella 2015-03-31 18:55:00 -04:00
Nick Alexander ae673f626d Bug 1149226 - Initialize Reading List authority after upgrade. r=rnewman
========

3b849794e9
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Thu Apr 2 20:23:04 2015 -0700

    Bug 1149226 - Initialize Reading List authority after upgrade.

    The desired behaviour is: Reading List is syncing automatically if
    Firefox Sync is syncing automatically.

    Test plan:

    0) Remove all Firefox Accounts.

    1) Install old version.  Add a Firefox Account.  Ensure that Firefox
    Sync is enabled.  Upgrade to new version.  Verify that Reading List is
    enabled.

    2) Install old version.  Add a Firefox Account.  Manually disable
    Firefox Sync by unchecking the checkbox in Android Settings >
    Accounts.  (This can not be done from the Firefox Account settings
    activity; unchecking the 4 boxes there is not the same.)  Upgrade to new
    version.  Verify that Reading List is disabled.

    3) Install new version.  Add a new Firefox Account.  Verify that Reading
    List is enabled.

    (There are automated tests for these scenarios.)
2015-04-02 20:47:23 -07:00
Ryan VanderMeulen fed55da998 Backed out changeset 4458dea727ed (bug 1132747) for MenuItemActionView.java robocop crashes.
CLOSED TREE
2015-04-02 13:35:16 -04:00
Michael Comella 44ad77e719 Bug 938845 - Use static string in testSessionOOMRestore. r=me CLOSED TREE
The static String is stored in StringHelper.

This fixes the bustage on fx-team from the initial push.

--HG--
extra : rebase_source : c129d706429f2e73e3361a958110ecf469ea965b
extra : amend_source : e2aff7bc783e5ac287386248bb11b2ab70420bca
2015-04-02 10:25:35 -07:00
Michael Comella 84e11d181a Bug 1132747 - Set the padding for share in the context menu on Lollipop. r=mhaigh
--HG--
extra : rebase_source : 37df529239016074419d89e50ac71170161f0604
2015-03-27 17:59:06 -07:00
Michael Comella 6761d9f2e0 Bug 1144707 - Add touch delegate to cover the edge of the screen and the menu button in toolbar. r=mhaigh
--HG--
extra : rebase_source : 61ece49c1d1301e10195cd4104f3c56d0b2abf23
extra : amend_source : 9bf9a8283c4ae4176f435076668c2ad599e18223
2015-03-27 13:38:28 -07:00
Michael Comella b706e7c1a7 Bug 1147121 - Change colorPrimary from primary to text_and_tabs_tray_grey. r=me
My work in bug 1134484 (color palette v1) will break this - easier to fix it
now. Note that the colors are identical.
2015-04-02 08:50:54 -07:00
Michael Comella 59dfb36dda Bug 1147121 - Set share overlay primary color to match fennec's. r=mhaigh
This has the effect of changing the Activity's title bar color in the recent
app switcher though we'd prefer not to appear in the recent app switcher
(bug 1137928).

--HG--
extra : rebase_source : fb005c5060e51b763b648b5dc70e5ca50bce5208
2015-03-24 13:33:04 -07:00
Michael Comella 4458144825 Bug 1148670 - Correct onLayout calculation in MenuItemActionView. r=mhaigh
--HG--
extra : rebase_source : b1187135037bee81ceb99e12a28cb983eb5626e9
2015-03-27 18:07:25 -07:00
Michael Comella dca3593db1 Bug 938845 - Do not variable shadow inside testSettingsMenuItems. r=me
Fixes bustage from the previous commit.

--HG--
extra : rebase_source : b1d4c5a9f9f64ed8079a0a46482ad6cb7a85911a
2015-04-01 11:57:11 -07:00
Michael Comella 9f624998a1 Bug 938845 - Move variable intialization inside test run in testSettingsMenuItems. r=me
--HG--
extra : rebase_source : 4c7cdaaa239dc6e5d83f4260cc6ef231caabdac9
extra : source : 8e8d8f82f9de64d45ef5faebb8788ea08c6f5d49
2015-03-20 15:16:31 -07:00
Jalpreet Singh Nanda 85c326a2f5 Bug 938845 - Merge StringHelper and org.mozilla.gecko.* Strings. r=mcomella
Due to bitrot, this changeset leaves some loose ends that will be cleaned up in
a followup bug.

--HG--
extra : rebase_source : ff8704c84880bdeadbb6877174a80757af5ebad0
2015-04-01 11:36:53 -07:00
Gijs Kruitbosch df17711ee5 Bug 1150476 - fix silly typo in list styles, r=trivial 2015-04-02 13:18:10 +01:00
Wes Kocher 2e080d2191 Merge m-c to fx-team a=merge 2015-04-01 18:21:27 -07:00
Wes Kocher 5d721ab157 Merge inbound to m-c a=merge 2015-04-01 17:54:45 -07:00
Vladimir Vukicevic 32d8dbc20e Bug 1144674; Implement HAL support for ROTATION_VECTOR and GAME_ROTATION_VECTOR sensors; r=snorp 2015-04-01 16:02:20 -04:00
Ryan VanderMeulen e5afe92d0f Merge m-c to fx-team. a=merge 2015-04-01 12:44:33 -04:00
Ryan VanderMeulen fc845bd84b Merge inbound to m-c. a=merge 2015-04-01 12:34:21 -04:00
Michael Comella 06900d90e0 Bug 1132751 - Add android:logo to fennec application. r=liuche
On Android v21, this logo is a padded version of android:icon which, to
my knowledge, is only used by the ActionBar, which we only make visible in
GeckoPreferences. On < 21, this icon is used via resource alias.

--HG--
extra : rebase_source : 93722e1935fa363e527e230b5498339f93f2f911
2015-03-31 14:21:53 -07:00
Michael Comella 8b1165d2ea Bug 1132751 - Remove redundant ActionBar home setting. r=liuche
This is defined in the Activity theme too.

--HG--
extra : rebase_source : f97731dbef34f20338251791353a3facdccb2bd2
2015-03-30 15:47:27 -07:00
Kai Bittner 204d618786 Bug 1148167 - Move ShareOverlayActivity form styles.xml to themes.xml. r=mcomella 2015-03-29 05:00:00 -04:00
Sheefeni Hauwanga 8fddb2b274 Bug 1142192 - Change MenuItem to final. r=mcomella 2015-03-28 00:45:52 -04:00
Blake Winton 98b195606c Bug 1145809 - Add the reading mode footer. ui-r=mmaslaney, r=Unfocused 2015-03-30 12:50:01 -04:00
Andy Pusch a016a09869 Bug 1139379 - Rename "Form & search history" to "Form history" and add "Search history" under clear private data. r=margaret 2015-03-30 14:20:00 -04:00
Wes Kocher 73800cd3df Merge m-c to fx-team a=merge CLOSED TREE 2015-03-30 19:42:25 -07:00
Wes Kocher c469147d07 Merge fx-team to m-c a=merge 2015-03-30 14:30:57 -07:00
Richard Newman ee9d7192ac Bug 1148464 - Remove redundant addUploadedRecord method. 2015-03-30 11:56:24 -07:00
ffxbld 1ce662e2cd Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2015-03-30 11:44:20 -07:00
Ryan VanderMeulen 9e7fe95584 Backed out changeset 7b1cb7256f0f (bug 1126048) for robocop failures. 2015-03-30 14:03:00 -04:00
Kartikaya Gupta fd636455b5 Bug 1148857 - Use a valid property string for password prompt dialogs. r=liuche 2015-03-30 11:13:00 -04:00
Martyn Haigh 5cf5532037 Bug 1146589 - Ensure that tab opened with &quot;open now&quot; action is selected and visible when fennec loads (r=mcomella) 2015-03-30 10:45:03 +01:00
Martyn Haigh 3a907f34e2 Bug 1148007 - Show Queue Tab toast only if Tab Queue preference is enabled (r=mcomella) 2015-03-30 10:21:06 +01:00
vivek b3cb9a8b9c Bug 1142528 - Decrease tappable area for +/- buttons. r=margaret 2015-03-27 19:37:07 +02:00
Sebastian Kaspari 1db7dacec6 Bug 1126048 - Add test to ensure state is correct when switching to loading pages. r=mcomella 2015-03-29 17:27:38 +02:00
Ryan VanderMeulen 5bf1674bb7 Merge m-c to inbound. a=merge 2015-04-01 12:40:05 -04:00
Jeff Lu 9e32948b63 Bug 1146730 - Always show top of options menu when opened. r=mcomella 2015-03-31 20:53:00 +02:00
Jeff Lu 1f25acebd1 Bug 1145252 - Propagate handler result through handleMenuItemLongClick(). r=mcomella 2015-03-27 15:45:00 +01:00
Matt King e73bd6002b Bug 1140592 - about:passwords header height does not match other about:pages. r=liuche
--HG--
extra : histedit_source : 5174591e5ddee742c9471f07f77d5e03c791390f
2015-04-01 09:49:11 -07:00
David Rajchenbach-Teller b6feb17d3f Bug 674779 - Per-component CPU monitoring, high-level. r=blassey, r=mossop
--HG--
rename : toolkit/components/aboutcompartments/jar.mn => toolkit/components/aboutperformance/jar.mn
rename : toolkit/components/aboutcompartments/nsCompartmentInfo.h => toolkit/components/aboutperformance/nsPerformanceStats.h
extra : rebase_source : a857d61a49542727fb4a496e785d175620103132
2015-03-31 12:40:59 +02:00
Mason Chang f472895ff7 Bug 1151487 - Enable software vsync compositor on Fennec. r=kats 2015-04-06 18:44:25 -07:00
Jeff Muizelaar cde4f7028e Bug 1136749. Remove TileLayer. r=kats
This doesn't do anything useful anymore.

--HG--
extra : rebase_source : 78ad15a05985844df839048998437b537618943e
2015-01-30 16:14:15 -05:00
Mason Chang a6326fa3ce Bug 1151488 - Enable software vsync refresh driver on Fennec. r=kats 2015-04-13 10:59:55 -04:00
Ted Mielczarek fb4b821e19 bug 1151407 - Remove _HTTPD_JS_PATH from xpcshell test harness. r=jmaher
Only the httpd.js unit tests actually rely on this. I tried to make them use Cu.import but they also rely on poking a bunch of stuff in httpd.js that's not exported, so instead I just made the test manifest copy httpd.js to the test directory and had them load it from there.

--HG--
extra : rebase_source : 24b04d619891ec95e5df23a2eb7f3277dd3206b2
extra : amend_source : 72139cecdcd695171e2fd0ce8ea7be91c1eebd1a
2015-04-03 08:20:32 -04:00
Blake Kaplan b230531d73 Bug 1149420 - Make the IndexedDB permissions prompt work in e10s. r=bent/mfinkle
--HG--
extra : rebase_source : 12476a4d8a84c3a1b751b2522cb01aba28fce8f9
2015-04-10 18:10:00 +02:00
Jeff Muizelaar cd9fd377c5 Bug 1136726. Remove PaintMode from TileLayer. r=kats
PaintMode is never changed from the default.

--HG--
extra : rebase_source : 641328d7bcf7ca287afd343d424b2c55ec9766b5
2015-01-30 16:04:44 -05:00
Jim Chen d34c3d89e6 Bug 1157908 - Optimize pumpMessageLoop call to use less JNI; r=snorp 2015-04-24 14:40:55 -04:00
Ehsan Akhgari c33feffe6f Bug 1148787 - Ensure that the sessionstore properties exist on the browser object before reading them; r=bnicholson 2015-03-28 21:23:58 -04:00
Phil Ringnalda 21b174f9a4 Merge m-c to m-i to m-c merge, a=mergemerge 2015-03-28 11:45:00 -07:00
Phil Ringnalda e44926f4c1 Merge m-i to m-c, a=merge 2015-03-28 11:44:16 -07:00
Chenxia Liu 90f3543dc4 Bug 1144385 - Strings for editing login in password doorhanger. r=MattN
--HG--
extra : rebase_source : f58909bd6c67faef89330326414f3d6f5a1a16d5
2015-03-27 14:33:58 -07:00
Nick Alexander 3eb58c57b1 Bug 1123388 - Enable reading list service on Nightly. r=rnewman,mfinkle 2015-03-27 18:01:02 -07:00
Nick Alexander ede3bcacb9 Bug 1140813 - Schedule periodic Reading List syncs. r=rnewman
========

a249e77fd1
Author: Nick Alexander <nalexander@mozilla.com>
    Bug 1140813 - Schedule periodic Reading List syncs.
2015-03-27 17:05:15 -07:00
Nick Alexander eef143f84d Bug 1140812 - React to Backoff and Retry-After headers from Reading List storage servers. r=rnewman
========

cd7edfa0b5
Author: Nick Alexander <nalexander@mozilla.com>
    Bug 1140812 - Part 3: React to Backoff and Retry-After headers.

========

8581f5a572
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Fri Mar 27 15:30:33 2015 -0700

    Bug 1140812 - Part 2: Include request in HTTP response observation callbacks.

    This allows to only handle responses from certain hosts.

========

05b50325db
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Fri Mar 27 14:47:38 2015 -0700

    Bug 1140812 - Part 1: Generalize from one to many HTTP response observers.

    CopyOnWriteArrayList is a reasonable choice here: we have few writes but
    many iterations.  See
    http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/CopyOnWriteArrayList.html

========

5950219343
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Fri Mar 27 16:04:07 2015 -0700

    Bug 1140812 - Pre: Modernize backoffInSeconds.

    Sync uses X-Backoff; newer services, including Reading List, use Backoff.
2015-03-27 16:01:36 -07:00
Richard Newman 06a2824f83 Bug 1148432 - Sync reading list deletions. r=nalexander 2015-03-27 11:54:16 -07:00
Nick Alexander fe17b58bd2 Bug 1148029 - Disable Reading List sync when using custom endpoints. r=rnewman
This tries to sync prod accounts against prod Reading List, stage
accounts against stage Reading List, and reject all other account
servers.  Custom Sync (Token) servers (not prod, not stage) should cause
us not to Sync Reading List, the intention being to avoid storing data
with Mozilla if the user has expressed a desire not to.

========

b69b097505
Author: Nick Alexander <nalexander@mozilla.com>
    Bug 1148029 - Disable Reading List sync when using custom endpoints.

    Custom is interpreted to mean neither Mozilla production nor Mozilla
    stage.  To ease the burden of testing stage, we sync the reading list
    against stage reading list storage when the account is authing against
    stage FxA.

    Messaging this in some way would be nice but will have to wait for
    follow-up.
2015-03-27 11:24:04 -07:00
Ryan VanderMeulen 43bcefb0f7 Merge m-c to inbound. a=merge
CLOSED TREE
2015-03-27 11:17:04 -04:00
Andrea Marchesini e6f385fb3d Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
Martyn Haigh 4dcce4682a Bug 1145581 - Show tabs when opening fennec from the Tab Queue notification (r=mcomella) 2015-03-27 11:58:30 +00:00
Martyn Haigh 5718b3455d Bug 1146325 - Convert loaded tab queue data to the required format and send to gecko to open (r=margaret) 2015-03-27 11:47:41 +00:00
Martyn Haigh 741a58fba6 Bug 1145579 - Open tab queue file when fennec starts or resumes (r=mcomella) 2015-03-27 11:40:49 +00:00
Wes Kocher 5b6f65bcdb Merge m-c to inbound a=merge CLOSED TREE 2015-03-26 17:46:35 -07:00
Michael Comella de9053ccfc Bug 1147661 - Use new device icons in share overlay. r=liuche
--HG--
extra : rebase_source : c12d608c264fd1453cff55413f91612071c1a780
2015-03-26 10:06:51 -07:00
Michael Comella b1b84243ba Bug 1147661 - Add new device assets. r=liuche
--HG--
extra : rebase_source : d3472abe5367e37a3681d21880cd0c2cd4795d5e
2015-03-26 10:06:05 -07:00
Michael Comella 5e85630e07 Bug 1148197 - Move share overlay margins to child to properly align. r=liuche
When it's on the parent of the outermost container with
layout_width="match_parent", the margin adds to the parent's size
(i.e. the screen width). Adding the margin to the child ensures the width is
reduced and content centered.

--HG--
extra : rebase_source : 711e8af15b1ca505aca699ea6f1ad437a6ef4ed5
2015-03-26 17:42:47 -07:00
Michael Comella 250b0980be Bug 1148041 - Inherit from Gecko theme in share overlay. r=liuche
--HG--
extra : rebase_source : b7d400fd68c42889d6e81605fa55a87aca8c6710
2015-03-26 17:31:34 -07:00
Chenxia Liu 51ae1bcf84 Bug 1143939 - Add single-item delete to about:passwords context menu. r=ally
--HG--
extra : rebase_source : 12d46ff647739038ac3cec92bf4d70df96974b13
2015-03-26 10:42:34 -07:00
Chenxia Liu 76802c79b4 Bug 1088220 - Update tests with new strings. r=margaret
--HG--
rename : mobile/android/base/tests/robocop_login.html => mobile/android/base/tests/robocop_login_01.html
rename : mobile/android/base/tests/robocop_login.html => mobile/android/base/tests/robocop_login_02.html
extra : rebase_source : 0b837de9391803f191f6070a4fd70d7af065d48b
2015-03-25 17:29:01 -07:00
Chenxia Liu 3b2de6bae9 Bug 1088220 - Add login doorhanger. r=margaret
--HG--
extra : rebase_source : 567e4817240b9d5a99b73e9f7cdd514ab1203bb3
2015-03-26 16:34:29 -07:00
Chenxia Liu 28b8a7c66c Bug 1088220 - Switch to using DoorhangerConfig. r=margaret
--HG--
extra : rebase_source : b54745ba5de713b97aa5ad3092fda53a7f4d64b7
2015-03-23 20:34:58 -07:00
Chenxia Liu 9bc0cd7724 Bug 1088220 - Add Config for Doorhangers. r=margaret
--HG--
extra : rebase_source : 911a5dc02441ac406eca77f670089ba2f7e27c87
2015-03-23 20:27:21 -07:00
Chenxia Liu 5d7566a0a4 Bug 1088220 - Add key icon resources. r=margaret
--HG--
extra : rebase_source : e56d05e5997affc232892311c4cd48020b322b12
2015-03-23 20:20:53 -07:00
Richard Newman 354434e5f5 Bug 1147473 - Follow-up: move ReadingListConstants to avoid build flag pain.
--HG--
rename : mobile/android/base/reading/ReadingListConstants.java => mobile/android/base/background/ReadingListConstants.java
2015-03-27 13:11:08 -07:00
Nick Alexander 5a8d0a41bc Bug 1148504 - Protect Firefox Account state with a critical section. r=rnewman
========

8b1d353ee8
Author: Nick Alexander <nalexander@mozilla.com>
    Bug 1148504 - Part 2: Make updating Firefox Account state happen in a critical section.

    It's worth noting that the two consumers of the shared state lock will
    only race for a very short window -- essentially only when creating or
    re-connecting an account.

    That's because Reading List oauth tokens are long-lived and do not
    expire (yet) in response to remote Account state changes, such as
    updating the Account password.  So Sync and RL will race to initialize
    the Account state; eventually RL will get an oauth token; and that token
    will be cached forever until RL produces a 401 for the token or Android
    expires the token.

    Since Sync requests a token server token at the start of every sync, the
    lock will be constantly exercised, but should never block.

========

d7a8611810
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Fri Mar 27 08:27:28 2015 -0700

    Bug 1148504 - Part 1: Reduce scope of section that may set Account state.

    The only place that might throw a TokenServerException is the token
    server client code itself.  By handling such an exception earlier, we
    reduce the scope of the section that may update the Firefox Account
    state.  (This comes at the cost of threading AndroidFxAccount into
    syncWithAssertion, but c'est la vie.)

    This does not interact with the exist handling of 401s that we might see
    from the storage endpoint.  Those 401s never generated
    TokenServerExceptions; in fact, they were (essentially) ignored.  Since
    we fetch a fresh token every Sync, what was (and is) expected is that
    such 401s would be transient and fixed by authenticating with a fresher
    token.

    Test plan: manually verify that remotely changing the Firefox Account's
    password while the device is in the Married state does the following:

    1) uses the cached certificate to generate a local assertion;
    2) the assertion produces a 401 from the TokenServerException, since the
    certificate is no longer fresh;
    3) the TokenServerException drives the Account state to Cohabiting;
    4) the state machine discovers it cannot /sign, driving the Account
    state to Separated.
2015-03-27 10:01:35 -07:00
Nick Alexander 463d180cd8 Bug 1142596 - Use cached FxA OAuth tokens in Reading List sync. r=rnewman
========

9b406122ef
Author: Nick Alexander <nalexander@mozilla.com>
    Bug 1142596 - Post: Use production OAuth and Reading List endpoints.

========

9e5368b4aa
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Tue Mar 24 23:00:34 2015 -0700

    Bug 1142596 - Part 4: Make ReadingListSyncAdapter use oauth tokens produced and cached by the authenticator.

========

fbef93698d
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Tue Mar 24 22:49:52 2015 -0700

    Bug 1142596 - Part 3: Implement getAuthToken with token types of the form oauth::scope.

    Be aware that there are two levels of token invalidation relevant here.
    The first level is when a consumer uses an oauth token and gets a 401;
    in this case, the consumer *must* call Android's own
    invalidateAuthToken.  The second level is when the oauth client itself
    gets a 401 trying to fetch an oauth token; in this case, the internal
    state of the Firefox Account needs to be pushed back.

========

e4e2247b4e
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Tue Mar 24 22:43:26 2015 -0700

    Bug 1142596 - Part 2: Extract login state machine delegate encapsulating expirations.

========

f1f716cc88
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Tue Mar 24 22:14:47 2015 -0700

    Bug 1142596 - Part 1: Surface Reading List authentication errors.

========

5833cbbf71
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Tue Mar 24 22:01:46 2015 -0700

    Bug 1142596 - Pre: Add note about deleting cached oauth tokens.

    Deleting cached oauth tokens is tracked by Bug 1147245.

========

b0165a6c14
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Tue Mar 24 23:06:49 2015 -0700

    Bug 1142596 - Pre: Trim imports.
2015-03-26 14:13:58 -07:00
Nick Alexander 0359fa32b6 Bug 1147473 - Expose Firefox Account debug information from Settings activity. r=rnewman
========

afcbbba32c
Author: Nick Alexander <nalexander@mozilla.com>
    Bug 1147473 - Part 2: Make it possible to toggle Firefox Accounts debug / PII logging at runtime.

    Tap the email address in the Firefox Account settings activity 5 times.
    Only available when:
    !defined(MOZILLA_OFFICIAL) || defined(NIGHTLY_BUILD) || defined(MOZ_DEBUG)

========

261f912d12
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Tue Mar 24 22:10:05 2015 -0700

    Bug 1147473 - Part 1: Add additional (dangerous!) debug commands.

    These make it easier to test oauth token authorization, especially using
    stage servers.

========

c1509baa77
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Tue Mar 24 22:06:43 2015 -0700

    Bug 1142596 - Pre: Move constants around.

========

2c676500c3
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Thu Mar 26 11:28:22 2015 -0700

    Bug 1142596 - Pre: Make it easier to construct intermediate states.
2015-03-24 23:24:27 -07:00
Chenxia Liu cea95dc151 Bug 1088220 - Split DoorHanger to support other doorhangers. r=margaret
--HG--
rename : mobile/android/base/widget/DoorHanger.java => mobile/android/base/widget/DefaultDoorHanger.java
extra : rebase_source : dbaa4ceba22787b984701176ae68511dccde40bf
2015-03-18 15:51:10 -07:00
Richard Newman cf68db21cd Bug 1147992 - Be paranoid when reading strings from intents, yet again. r=mfinkle 2015-03-26 16:55:45 -07:00
Nick Alexander 9c2b6b157d Bug 1140810 - Upload material (non-status) Reading List modifications. r=rnewman
========

575d80fddb
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Wed Mar 25 16:35:26 2015 -0700

    Bug 1140810 - Part 2: Upload material (non-status) modifications.

========

a86e734ef1
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Wed Mar 25 10:56:07 2015 -0700

    Bug 1140810 - Part 1: Add storage test for material (non-status) modifications.

========

2259378d08
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Wed Mar 25 13:33:13 2015 -0700

    Bug 1140810 - Part 0: Add and use HTTP PATCH.

========

0222d53d98
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Wed Mar 25 14:49:19 2015 -0700

    Bug 1140810 - Pre: Don't fail in status upload when there are no failures.

========

7f2feede3b
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Wed Mar 25 14:53:45 2015 -0700

    Bug 1140810 - Pre: convert 4 spaces to 2 spaces.

========

49e80d271e
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Wed Mar 25 10:40:26 2015 -0700

    Bug 1140810 - Pre: Fix whitespace.
2015-03-26 15:47:20 -07:00
Margaret Leibovic cef3c3aa64 Bug 1146373 - Don't resize reader view images in JS. r=Gijs
--HG--
extra : rebase_source : d7b428fb57beeebbbb27369a1fe04ea8d7fd62eb
2015-03-23 16:55:26 -07:00
Michael Comella e4b121c689 Bug 1148041 - Have the ShareOverlay text styles inherit from the default TextAppearance. r=liuche
--HG--
extra : rebase_source : 14d0cb6b6ea4723611752a5db82530edf93a352a
2015-03-26 12:06:24 -07:00
Ryan VanderMeulen cfe13e7c89 Backed out 3 changesets (bug 1147473, bug 1148504, bug 1142596) for bustage.
Backed out changeset c4639723e721 (bug 1148504)
Backed out changeset 6c3fd5d5aa40 (bug 1142596)
Backed out changeset 24bf86f4b440 (bug 1147473)

DONTBUILD CLOSED TREE
2015-03-27 15:41:53 -04:00
Nick Alexander 830cd41c42 Bug 1148504 - Protect Firefox Account state with a critical section. r=rnewman
========

8b1d353ee8
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Fri Mar 27 10:01:35 2015 -0700

    Bug 1148504 - Part 2: Make updating Firefox Account state happen in a critical section.

    It's worth noting that the two consumers of the shared state lock will
    only race for a very short window -- essentially only when creating or
    re-connecting an account.

    That's because Reading List oauth tokens are long-lived and do not
    expire (yet) in response to remote Account state changes, such as
    updating the Account password.  So Sync and RL will race to initialize
    the Account state; eventually RL will get an oauth token; and that token
    will be cached forever until RL produces a 401 for the token or Android
    expires the token.

    Since Sync requests a token server token at the start of every sync, the
    lock will be constantly exercised, but should never block.

========

d7a8611810
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Fri Mar 27 08:27:28 2015 -0700

    Bug 1148504 - Part 1: Reduce scope of section that may set Account state.

    The only place that might throw a TokenServerException is the token
    server client code itself.  By handling such an exception earlier, we
    reduce the scope of the section that may update the Firefox Account
    state.  (This comes at the cost of threading AndroidFxAccount into
    syncWithAssertion, but c'est la vie.)

    This does not interact with the exist handling of 401s that we might see
    from the storage endpoint.  Those 401s never generated
    TokenServerExceptions; in fact, they were (essentially) ignored.  Since
    we fetch a fresh token every Sync, what was (and is) expected is that
    such 401s would be transient and fixed by authenticating with a fresher
    token.

    Test plan: manually verify that remotely changing the Firefox Account's
    password while the device is in the Married state does the following:

    1) uses the cached certificate to generate a local assertion;
    2) the assertion produces a 401 from the TokenServerException, since the
    certificate is no longer fresh;
    3) the TokenServerException drives the Account state to Cohabiting;
    4) the state machine discovers it cannot /sign, driving the Account
    state to Separated.
2015-03-27 12:16:46 -07:00
Nick Alexander deb90b5aaa Bug 1142596 - Use cached FxA OAuth tokens in Reading List sync. r=rnewman
========

9b406122ef
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Thu Mar 26 14:13:58 2015 -0700

    Bug 1142596 - Post: Use production OAuth and Reading List endpoints.

========

9e5368b4aa
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Tue Mar 24 23:00:34 2015 -0700

    Bug 1142596 - Part 4: Make ReadingListSyncAdapter use oauth tokens produced and cached by the authenticator.

========

fbef93698d
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Tue Mar 24 22:49:52 2015 -0700

    Bug 1142596 - Part 3: Implement getAuthToken with token types of the form oauth::scope.

    Be aware that there are two levels of token invalidation relevant here.
    The first level is when a consumer uses an oauth token and gets a 401;
    in this case, the consumer *must* call Android's own
    invalidateAuthToken.  The second level is when the oauth client itself
    gets a 401 trying to fetch an oauth token; in this case, the internal
    state of the Firefox Account needs to be pushed back.

========

e4e2247b4e
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Tue Mar 24 22:43:26 2015 -0700

    Bug 1142596 - Part 2: Extract login state machine delegate encapsulating expirations.

========

f1f716cc88
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Tue Mar 24 22:14:47 2015 -0700

    Bug 1142596 - Part 1: Surface Reading List authentication errors.

========

5833cbbf71
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Tue Mar 24 22:01:46 2015 -0700

    Bug 1142596 - Pre: Add note about deleting cached oauth tokens.

    Deleting cached oauth tokens is tracked by Bug 1147245.

========

b0165a6c14
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Tue Mar 24 23:06:49 2015 -0700

    Bug 1142596 - Pre: Trim imports.
2015-03-27 12:16:42 -07:00
Nick Alexander 5020089701 Bug 1147473 - Expose Firefox Account debug information from Settings activity. r=rnewman
========

afcbbba32c
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Tue Mar 24 23:24:27 2015 -0700

    Bug 1147473 - Part 2: Make it possible to toggle Firefox Accounts debug / PII logging at runtime.

    Tap the email address in the Firefox Account settings activity 5 times.
    Only available when:
    !defined(MOZILLA_OFFICIAL) || defined(NIGHTLY_BUILD) || defined(MOZ_DEBUG)

========

261f912d12
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Tue Mar 24 22:10:05 2015 -0700

    Bug 1147473 - Part 1: Add additional (dangerous!) debug commands.

    These make it easier to test oauth token authorization, especially using
    stage servers.

========

c1509baa77
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Tue Mar 24 22:06:43 2015 -0700

    Bug 1142596 - Pre: Move constants around.

========

2c676500c3
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Thu Mar 26 11:28:22 2015 -0700

    Bug 1142596 - Pre: Make it easier to construct intermediate states.
2015-03-27 12:16:38 -07:00
Jannis Pinter 6da0b1ad05 Bug 1142268 - Tweak layout size for doorhanger shadow. r=liuche 2015-03-22 12:08:35 +01:00
Michael Comella de040b94a1 Bug 1137483 - Preland Strings for awesomescreen search engine bar. r=margaret
--HG--
extra : rebase_source : f37d76e3300b5731e3552aaa0f36ebee27213946
2015-03-26 09:56:24 -07:00
Ryan VanderMeulen be425949b5 Merge mozilla-inbound to m-c. a=merge
CLOSED TREE
2015-03-26 14:43:39 -04:00
Michael Comella 8081677dda Bug 1147535 - Update failure string in share overlay toast. r=liuche
Also took the opportunity to center the text because it now frequently will
take up two lines.

--HG--
extra : rebase_source : 1acd0d5af158982aee5b28631ad474eae16b0272
2015-03-25 13:39:39 -07:00
Rishi e23afcfd84 Bug 1143196 - Add Menu.FIRST to order values in GeckoActionProvider.onPrepareSubMenu r=mcomella
I was not sure how to handle the order wrt Menu.CATEGORY_SECONDARY. Hope I'm right.

--HG--
extra : amend_source : 1bb996da467c8881124a9eb481b03e4f343df0dc
2015-03-22 13:51:40 -07:00
Jannis Pinter e334df5e50 Bug 1124943 - Changed methods in TilesRecorder to static, added a private constructor and removed the member instance in TopSitesPanel r=mcomella
--HG--
extra : amend_source : e4aebdb3204ed6bde553f61fcf4b866f35941189
2015-03-22 13:22:57 +01:00
Jeff Lu 8365561838 Bug 1106779 - Wait for keyboard to disappear before showing tabs. r=mcomella
--HG--
extra : amend_source : edea61a4e0f6d3f8e1324e289ee3b6c980414b50
2015-03-25 11:15:29 -07:00
Ryan VanderMeulen 86983a84a5 Merge m-c to fx-team. a=merge 2015-03-25 13:46:11 -04:00
Bhargav Chippada a63b20ae46 Bug 1130372 Onboarding screen still showing behind externally opened url. r=mhaigh
---
 mobile/android/base/BrowserApp.java | 3 +++
 1 file changed, 3 insertions(+)
2015-03-25 09:52:08 -07:00
Michael Comella 0d23218b13 Bug 1130203 - Remove retry button in share overlay retry toast. r=margaret
Toasts are unclickable (http://stackoverflow.com/a/20698525) so this button
never actually did anything. If we want to add this functionality, we'd have to
use a new toasting API (dialog was suggested) and potentially create a new
Activity (so it can be shown over another underlying Activity).

We could implement this but it'd be better to spend time creating system
notifications to show tab sending progress (bug 1145434).

--HG--
extra : rebase_source : 179069f2757650000640af8bed6693572efb34a7
extra : histedit_source : 94f511ba2b0fe63f33abaedc1a5c9e2250634172
2015-03-24 17:16:00 -07:00
Michael Comella 3b0a245d27 Bug 1130203 - Add drop shadow to overlay share dialog result toast. r=margaret
--HG--
extra : rebase_source : 9baa0977c10afb4844a3a11294232b57b33c8cd9
extra : histedit_source : cddf4b8c7f3aabd106d733af0a17a4af31da47fb
2015-03-23 20:04:18 -07:00
Michael Comella 658b6db4a8 Bug 1130203 - Review: Finish off share overlay nits. r=trivial
Changes include code alignment and clarifying comments.

--HG--
extra : rebase_source : e6be846c28fbf208208e4b000f5836aa925b66d3
2015-03-23 11:28:56 -07:00
Michael Comella 1c5a3489bf Bug 1130203 - Review: Remove single use styles in share overlay. r=trivial
--HG--
extra : rebase_source : f9d1ea1efcac1a937918e8351a903e9a93a77deb
2015-03-23 11:25:17 -07:00
Michael Comella 0f97eacbf4 Bug 1130203 - Reset the first item background drawable state onResume. r=mhaigh
The Activity can be re-used in Android L (bug 1137928) so we have to reset any
changed state.

--HG--
extra : rebase_source : e297ec9abf3e93bd321d0446fd3374e83b1b7bfe
2015-03-19 18:08:48 -07:00
Michael Comella 97446b101c Bug 1130203 - Clean up share overlay toast styles. r=mhaigh
--HG--
extra : rebase_source : bab228af70ed25cd90829678613d6ebd495febc4
2015-03-19 17:47:30 -07:00
Michael Comella 099024c423 Bug 1130203 - Update ShareOverlay icon padding & assets. r=mhaigh
This had the added benefit of reusing the OverlayDialogButton for the send tab
item rows instead of having a simple implementation, as it was before.

--HG--
extra : rebase_source : b781bbef3965378d4691931719b77998513cc56a
2015-03-19 11:54:11 -07:00
Michael Comella 59efb9503f Bug 1130203 - Update share overlay row pressed color & color names. r=mhaigh
Switched over to using Fennec color palette rather than specific duplicate
colors.

--HG--
extra : rebase_source : 47c337bd1bfa426b3544a83520fe170ccb908b3e
2015-03-18 17:17:08 -07:00
Michael Comella dca58d3113 Bug 1130203 - Clean up style inheritance in share overlay. r=mhaigh
--HG--
extra : rebase_source : 9161393971af197ebaa9d50735abef7aa221e71d
2015-03-18 16:59:18 -07:00
Michael Comella 1f20622704 Bug 1130203 - Remove unused share overlay layout. r=mhaigh
--HG--
extra : rebase_source : b71a744d6ffd414bb0dcfd6b21a1c43afa822b4d
2015-03-18 16:34:48 -07:00
Michael Comella 9f1160fce2 Bug 1130203 - Remove excess LinearLayout from ShareOverlay. r=mhaigh
--HG--
extra : rebase_source : 8fe079d218de40f77317fbee6388e71c92016d34
2015-03-18 16:28:02 -07:00
Michael Comella 81569c8474 Bug 1130302 - Move ShareOverlayButton.Text to ShareOverlayTextAppearance.Button. r=mhaigh
It's good practice to separate TextAppearance from View attr.

--HG--
extra : rebase_source : 7b15a0348b9c07fd7c948c23532419553acc9186
2015-03-18 16:22:15 -07:00
Michael Comella 0a75948fb1 Bug 1130203 - Rename TextAppearance.ShareOverlay to ShareOverlayTextAppearance. r=mhaigh
This is more clear because we don't intentionally inherit from TextAppearance.

--HG--
extra : rebase_source : 8e4b15e6c2419c385a4dea5eb1a7d206cf9ac00c
2015-03-18 16:08:48 -07:00
Michael Comella 6d5a2613e5 Bug 1130203 - Update share overlay text colors to match mocks. r=mhaigh
--HG--
rename : mobile/android/base/resources/color/overlay_btn_text.xml => mobile/android/base/resources/color/primary_text_selector.xml
extra : rebase_source : 06e227b10c8427993f5c8204beb1ea3581d44e18
2015-03-17 17:55:27 -07:00
Michael Comella 29bccd259c Bug 1130203 - Set width for share overlay. r=mhaigh
--HG--
extra : rebase_source : a00cbe15e8349d2ebc462181f7a76d22662a8d44
2015-02-27 16:25:11 -08:00
Michael Comella e3229831ed Bug 1130203 - Round the corners of the first item in the share overlay. r=mhaigh
--HG--
extra : rebase_source : 717343075307e417e4cd65f055a5e2b057653fad
2015-03-17 17:47:38 -07:00
Michael Comella 3a58db276c Bug 1130203 - Add @dimen/button_corner_radius and replace corner radius use in code. r=mhaigh
Note that this does not include fxaccount_* which needs to exist in
fxaccount_dimens so it can be used in the detached sync repo.

--HG--
extra : rebase_source : ff32297ec1668ae3dfec75a6d69652038560ed07
2015-02-27 14:55:32 -08:00
Ryan VanderMeulen 9a50e2c791 Merge fx-team to m-c. a=merge 2015-03-25 10:59:05 -04:00
Wes Kocher af7c4c6606 Merge m-c to inbound a=merge CLOSED TREE 2015-03-24 18:35:30 -07:00
Seth Fowler 5e1bf3762e Bug 1124088 - Rename decode-on-draw to decode-only-on-draw. r=tn 2015-03-24 15:39:00 -07:00
Ryan VanderMeulen 358a43b689 Merge m-c to fx-team. a=merge 2015-03-24 12:01:54 -04:00
Ryan VanderMeulen 68565c39fb Merge fx-team to m-c. a=merge 2015-03-24 11:55:30 -04:00
Geoff Brown 9780fc9a98 Bug 923109 - Load pages differently in many robocop tests; r=margaret 2015-03-24 06:51:46 -06:00
Mark Capella 422b818b0c Bug 1140979 - Change SelectionHandler/TextSelection to use UUID vs. simple selectionID, r=wesj 2015-03-24 01:34:31 -04:00
Brian Grinstead ac897bf890 Bug 1094821 - Store currently selected lightweight theme in the selectedThemeID pref instead figuring it out based on the order of the usedThemes pref;r=Gijs 2015-03-23 15:32:41 -07:00
Jeff Lu f923ac05b0 Bug 1140044 - Update bookmark button title when state changes. r=mcomella 2015-03-18 15:20:00 -04:00
Mike Taylor c9c9cb1b1b Bug 783846 - Use SelectionHandler._getEditor when moving caret. r=wesj 2015-03-11 23:56:00 -04:00
Mike Taylor 712267f7b0 Bug 783846 - Add paste tests to testSelectionHandler. r=wesj 2015-03-11 23:55:00 -04:00
Mike Taylor f801d95686 Bug 783846 - Enable paste in contentEditable elements. r=wesj 2015-03-11 23:54:00 -04:00
Sebastian Kaspari e392b483b7 Bug 1142699 - testReaderModeTitle: Wait for Gecko to be ready and reduce waiting time for reader mode to 30 seconds again. r=mcomella 2015-03-19 23:39:59 +01:00
Michael Comella ad3e1f418b Bug 1130203 - Remove dividers in share overlay. r=mhaigh
--HG--
extra : rebase_source : 1bcb07fd2aeabe196a9432a1b33027c444f32640
2015-02-26 18:35:56 -08:00
Michael Comella 958d80882b Bug 1130203 - Move share overlay title styles into styles.xml and revise to match mocks. r=mhaigh
--HG--
extra : rebase_source : cf9a699354c3454d8a010ddf728f207e48e569fe
2015-02-26 17:33:36 -08:00
Mantaroh Yoshinaga 08ab0525d0 Bug 910634 - Disabled <input> should not popup a dialog. r=wesj 2015-02-26 02:39:00 -05:00
Michael Comella 6c32425b43 Bug 1145897 - Check if accounts exist before returning client count in ActivityChooserModel. r=rnewman
--HG--
extra : rebase_source : 78e5febff180f95898a5eab7d2388a0ab9752c36
extra : amend_source : 5ffbc1151db0422c5329b816bdbe0be01c2a924c
2015-03-20 16:56:07 -07:00
Michael Comella c7f83b0e00 Bug 1145892 - Add null check in ShareDialog.handleSendTabUIEvent. r=rnewman
--HG--
extra : rebase_source : 3e93e41b9e484087f456b785f1947e5e7697e05b
2015-03-20 16:30:05 -07:00
Michael Comella 376e88b94a Bug 1130203 - Remove Firefox logo from share overlay. r=mhaigh
--HG--
extra : rebase_source : 83cbe32e627ebdeef9d92cbfaf2d78055e16d14b
2015-02-25 17:10:17 -08:00
Wes Kocher 8794504c9f Merge m-c to inbound a=merge CLOSED TREE 2015-03-23 16:51:22 -07:00
Shian-Yow Wu d5acb1e8d0 Bug 1115495 - Part 2: PAC generator for browsing and system wide proxy. r=mcmanus, r=echen 2015-03-26 15:11:08 +08:00
Garvan Keeley 91d1ea7de7 Bug 1147465 - Fixed grammar on Fennec Stumble opt-in msg. r=nalexander 2015-03-26 17:22:28 -04:00
Michael Comella 58dcb2d2eb Bug 1130203 - Remove header container in share overlay & roughly style text. r=mhaigh
Removing the header container also has the benefit of improving performance by
flattening the View hierarchy. Note that this patch also improves performance
by switching the outermost container from a RelativeLayout to a FrameLayout.

Final text styling is awaiting UX mocks.

--HG--
extra : rebase_source : caa8e42ff40aa9873868a181947fb690441094c9
2015-02-05 19:29:01 -08:00
Michael Comella 2ea89f3396 Bug 1130203 - Clean up OverlayDialogButton's initialization. r=mhaigh
Note that a TODO was added to clean up styles, which should be completed before
this bug lands.

--HG--
extra : rebase_source : bc982cb2e7724d26241e510076f0c83c014e03ab
2015-02-05 17:44:56 -08:00
Allison Naaktgeboren 4c50d52e24 Bug 1128431 - 'Start browsing' link from onboarding v1.5 is not visible on small screen devices. r=liuche 2015-03-24 15:05:27 -07:00