Commit Graph

16290 Commits

Author SHA1 Message Date
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
Wes Kocher
db5ac7d39e Merge m-c to inbound a=merge 2015-04-08 17:33:36 -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