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

16490 Коммитов

Автор SHA1 Сообщение Дата
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
Paul Kerr [:pkerr] c929586054 Bug 1100508: Easily capture about:webrtc page data for a bug reports. r=jib, r=mikedeboer 2015-03-23 12:37:30 -07:00
Geoff Brown 67a82da8dc Bug 1140148 - Update robocop.ini for Android 4.3 emulator; r=snorp 2015-03-23 13:25:29 -06:00
Phil Ringnalda 174ec4f715 Merge m-i to m-c, a=merge 2015-03-22 13:56:19 -07:00
Phil Ringnalda fc8b8ab2ac Merge m-c to m-i 2015-03-21 12:50:09 -07:00
Phil Ringnalda 9ef50f3565 Merge f-t to m-c, a=merge 2015-03-21 12:47:01 -07:00
Margaret Leibovic 2e2ff945ae Bug 1146046 - Update testReadingListCache non-reader-able testcase. r=rnewman
--HG--
extra : rebase_source : 198d7f73638f8f8a98920fab889f57af3380406a
2015-03-21 15:27:09 -07:00
Wes Kocher 14f75f943c Merge m-c to inbound a=merge CLOSED TREE 2015-03-20 18:01:17 -07:00
Ehsan Akhgari 883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Chenxia Liu 3acca3359a Bug 1122225 - Update tests for changed flow. r=ally
--HG--
extra : rebase_source : 76290b51fbe6f7a368b6a1c16a9e603645755e70
2015-03-17 10:25:36 -07:00
Ryan VanderMeulen 721fc1ab52 Backed out changeset c5af69669855 (bug 1124084) for various regressions.
CLOSED TREE
2015-03-20 13:01:35 -04:00
Chenxia Liu 119e70807e Bug 1122225 - Add context menu for about:passwords actions. r=ally
--HG--
extra : rebase_source : 697450d115f8f5d1f77c87f944e93981e69789df
extra : source : 00579267379bea466515586df49fa170a59ecc72
2015-03-09 14:40:32 -07:00
Martyn Haigh dc4ca20d50 Bug 1129433 - Show &quot;# tabs opened in background&quot; notification in system tray (r=mcomella) 2015-03-20 13:42:09 +00:00
Michael Comella 837280fed4 Bug 1145217 - Disable toolbar add to reading list button on about: pages. r=margaret
Except for about:reader, obviously. :)

--HG--
extra : rebase_source : aad27c20f17ec1710e47fae3820fa34974a64895
2015-03-19 10:08:07 -07:00
Michael Comella fde0e7e50c Bug 1142196 - Match about:reader add/remove button state with the toolbar's on press. r=margaret
--HG--
extra : rebase_source : 75fa2536721b0357ded5b13726630d9322412604
2015-03-17 14:23:49 -07:00
Michael Comella 4c749b0e63 Bug 1142196 - Make LocalReadingListAccessor strip about:reader urls to get the base url. r=margaret
The behavior is now consistent with the JavaScript implementation.

Note that I was unable to test stripping on updating items but it calls out to
a common method so I'm confident it will work.

--HG--
extra : rebase_source : f3eae33b0c9b01cf3b9cdc200180642444b09c22
2015-03-17 10:58:27 -07:00
Martyn Haigh 9486053645 Bug 1134235 - Store Tab Queue urls in file (r=rnewman) 2015-03-19 09:17:22 +00:00
Stéphane SCHMIDELY 56bf426653 Bug 935259: Follow-up: Split DOMLinkAdded switch statement into methods. r=liuche 2015-03-18 18:03:35 +01:00
Sebastian Kaspari 1a3cb616c2 Bug 1143280 - SearchBar: Suppress deprecation warnings in constructor to allow building with API level 22. r=rnewman 2015-03-16 16:44:22 +01:00
Sebastian Kaspari 432a3b1f72 Bug 1143280 - DateTimePicker: Replace deprecated DateFormat constants with local constants. r=rnewman 2015-03-15 10:51:15 +01:00
Sebastian Kaspari 8e0b04f70c Bug 1142699 - ToolbarComponent: Wait up to 60 seconds for the reader mode button to appear. r=mcomella 2015-03-14 03:31:00 -04:00
Carsten "Tomcat" Book b1b0b8cf14 Merge mozilla-central to fx-team 2015-03-18 13:55:20 +01:00
Martyn Haigh fff1910dc6 Bug 1130368 - Add toast feedback after a user clicks a link (r=mcomella) 2015-03-18 12:15:53 +00:00
Carsten "Tomcat" Book 0503c0d6df merge mozilla-inbound to mozilla-central a=merge 2015-03-17 11:36:52 +01:00
Wes Kocher bf933d2320 Backed out changeset 00579267379b (bug 1122225) for rc1 failures 2015-03-16 18:08:17 -07:00
Seth Fowler 78ab87250d Bug 1124084 - Flip on downscale-during-decode everywhere. r=tn 2015-03-17 13:56:50 -07:00
Chenxia Liu 8ad8fe3a4e Bug 1122225 - Add context menu for about:passwords actions. r=ally
--HG--
extra : rebase_source : c7456e6abb523d7edee9377a859e9c6a8178c77a
extra : amend_source : d684974daf9092052d35576ab8fbf33ee6ce3d0c
2015-03-09 14:40:32 -07:00
Michael Comella ca59b6bc92 Bug 1143759 - Change scaleType of quick share action bar to centerInside. r=liuche
Note that this was what it was before bug 1122302 landed (which added the share
plane and this issue).

--HG--
extra : rebase_source : 16d2ae99b2cff85c4ab4c8f4f4e32a3e0cdf92e7
2015-03-16 11:02:25 -07:00
Botond Ballo d15b1bee0b Bug 1139675 - Update JS callers of nsIDOMWindowUtils.setResolution and getResolution in Fennec code. r=kats
--HG--
extra : rebase_source : 0ab7f8ec953e403c9247769c2f0a477639c7e55d
extra : source : 736f9204ed77d2ea6f6778d289b66928424f0544
2015-03-06 17:14:55 -05:00
Kartikaya Gupta a779113067 Bug 1136363 - Do a better job of falling back to sane metadata. r=mfinkle 2015-03-16 08:34:31 -04:00
Phil Ringnalda 3bfd694773 Merge f-t to m-c, a=merge 2015-03-15 19:35:11 -07:00
James Willcox 80bb10e017 Bug 1142459 - Fix mixed content shield notification broke by bug 1140830 r=rnewman 2015-03-13 14:04:01 -05:00
Léon McGregor c997443c49 Bug 1136708 - Added a fix that allows newest added theme to display as enabled. r=margaret 2015-03-12 21:47:57 -07:00
Margaret Leibovic 39d8969088 Bug 998031 - Reader Mode toolbar should scroll in and out instead of fading. r=bnicholson
--HG--
extra : rebase_source : f5021a6e3f36cb8d8e1e380ed1763361bad95489
extra : amend_source : 2304c25e5570f0e1f505b0778ac1873e9b86dd8c
2015-03-05 11:23:27 -08:00
Margaret Leibovic eb3938e55c Bug 1134553 - Disable downloads in guest session. r=rnewman
--HG--
extra : rebase_source : 0f6d351e9366329046d5096fe7fcad4b800779b3
2015-03-12 11:26:12 -07:00
Richard Newman 9bac9b41be Bug 1117830 - Part 4: update local names before syncing. r=nalexander 2015-03-12 17:48:43 -07:00
Richard Newman 2329ccc32b Bug 1117830 - Part 3: ReadingListSyncAdapter. r=nalexander 2015-03-12 17:48:43 -07:00
Richard Newman 631fe3d53b Bug 1117830 - Part 2: ReadingListSynchronizer. r=nalexander 2015-03-12 17:48:43 -07:00
Richard Newman 1901cc5af7 Bug 1117830 - Part 1: reading list client and record representations. r=nalexander 2015-03-12 17:48:43 -07:00
Richard Newman 114fcf1ff1 Bug 1117830 - Part 0: log account state on AndroidFxAccount init. r=nalexander 2015-03-12 17:48:43 -07:00
Ryan VanderMeulen ee67ad0d8d Merge inbound to m-c. a=merge 2015-03-12 18:05:45 -04:00
vivek a4de9f0675 Bug 1141665: Add vertical separator between the Synced Tabs split pane list views. r=nalexander 2015-03-10 17:02:00 -07:00
Michael Comella 036f96099f Bug 1127445 - Fix inconsistencies between v11 and v14. r=margaret
--HG--
extra : rebase_source : d917ecc049e73931a94dbcfdff653840d1fe8356
2015-03-10 18:01:39 -07:00
Michael Comella 44017d010b Bug 1127445 - Fix Android 2.3 issues in toolbar menu. r=margaret
--HG--
extra : rebase_source : bfc30b022e63fd874d4541c1550448bc091ac6b9
2015-03-10 18:00:28 -07:00
Michael Comella e30edcd70c Bug 1127445 - Set toolbar menu reader item title based on state. r=margaret
--HG--
extra : rebase_source : 66c9575422a59968872be2d97fe1d7f8a2da947b
2015-03-06 17:52:23 -08:00
Michael Comella dafc974981 Bug 1127445 - Add functionality to reading list button in the toolbar menu. r=margaret
This functionality includes adding and removing items from the reading list.
This patch largely mimics the code of the already-functional bookmarks menu
item.

Note: the reader mode "add to reading list" button has inconsistent behavior
with the "add to reading list" button just added. I believe this is because
LocalReadingListAccessor distinguishes between reader and non-reader urls while
the JS implmentation does not.

--HG--
extra : rebase_source : d5f236de76befef962df5592b030969ab9e05256
2015-03-06 16:56:11 -08:00
Michael Comella abeba85f99 Bug 1127445 - Remove vertical dividers from toolbar menu & quick share. r=margaret
The quick share vertical dividers are also used in the context menu quick
share.

--HG--
extra : rebase_source : 89771439f404872166da94eebf0e7ffb449b5a6b
2015-03-05 19:35:39 -08:00
Michael Comella 6e88edbbc5 Bug 1127445 - Add quick share bar (i.e. third row) to toolbar menu. r=margaret
The bar should not appear when there are no items in the quick share history.

Note: I only somewhat understand some of the code added in GeckoMenu - I
pattern matched mSecondary* onto mQuickShare*.

--HG--
extra : rebase_source : 505feee750c275e11a9b16a18680f6237d35d7ac
2015-03-05 18:59:01 -08:00
Michael Comella 07ee21390f Bug 1127445 - Add reading list item to menu. r=margaret
--HG--
extra : rebase_source : 7a82221634c5cbd89172b1d1e8a8609195af5ed9
2015-03-05 16:09:50 -08:00
Michael Comella a394f6a7ab Bug 1127445 - Add new reading list, share, and bookmark icons. r=margaret
--HG--
extra : rebase_source : 1ab52f2860caee58a9ea6e6bbba03e7c485fd269
2015-03-05 10:21:13 -08:00
Michael Comella 66724973d4 Bug 1127445 - Part 0: Add strings for manipulating the reading list from the menu. r=margaret
--HG--
extra : rebase_source : 032b7ba805645d6cb95838908bbb54c75eb415d0
2015-03-05 11:12:14 -08:00
Ryan VanderMeulen e2754f772f Merge m-c to fx-team. a=merge
CLOSED TREE
2015-03-11 16:05:05 -04:00
Carsten "Tomcat" Book ba5885ce64 Merge mozilla-central to mozilla-inbound 2015-03-11 13:03:47 +01:00
Margaret Leibovic 1a18b94305 Bug 1134361 - Hide "tip" to add to reading list in reading list panel on low memory devices. r=nalexander
--HG--
extra : rebase_source : 8b1050a149548a09ced278be2b416fb4c1ba7efe
2015-03-09 18:36:05 -07:00
Margaret Leibovic bfda3f109f Bug 1141317 - Account for new #container div in about:reader CSS. r=bnicholson
--HG--
extra : rebase_source : 45bcbdc1a9c2a3371b89c5cd17cf6183e939e40a
2015-03-09 19:15:39 -07:00
Sebastian Kaspari 19119bec60 Bug 1135111 - Add test to ensure that the toolbar in reader mode displays the original page url. r=mcomella 2015-03-08 12:15:00 -04:00
Ahmed Khalil 4d1013a6c2 Bug 927388 - Produce and upload GeckoView AAR during packaging. r=nalexander 2015-03-06 10:17:00 -08:00
Alex Henrie bb3d8e3081 Bug 1134537 - Delete GnomeVFS extension. r=roc
--HG--
extra : rebase_source : faa7677e584fb14cb41e4682f1281b222e4e28c6
2015-03-09 21:12:58 -06:00
Mantaroh Yoshinaga 193b6f4137 Bug 1106905 - Modify mobile desktop mode implementation to use a desktop viewport. r=kats 2015-03-12 12:14:55 -04:00
Carsten "Tomcat" Book 58a19cdf9c Merge mozilla-central to fx-team 2015-03-10 14:05:23 +01:00
Wes Kocher afd56832f4 Merge m-c to inbound a=merge CLOSED TREE 2015-03-09 19:06:17 -07:00
Wes Kocher 8e389f1730 Merge inbound to m-c a=merge CLOSED TREE 2015-03-09 18:27:28 -07:00
vivek ff84924c1e Bug 1129171 - Update remote tabs styling on landscape tablets. r=nalexander 2015-03-05 14:26:00 -08:00
vivek 97fbea885c Bug 1129168 - Avoid fragment load flicker by explicilty managing back-stack. r=nalexander 2015-03-05 14:12:00 -08:00
James Willcox f09b7427dc Bug 1140830 - Don't try to use a null JSONObject in SiteIdentity.update() r=rnewman
This patch avoids a crash in ART on HTC One M8 devices, where a (deliberate?) NPE was used for init.
2015-03-09 22:37:17 -07:00
Kartikaya Gupta 6c506d5a30 Bug 1140815 - Don't leave .part files lying around after a preferred helper app is used to process a URL. r=paolo,mfinkle 2015-03-08 21:35:39 -04:00
Richard Newman f0033b0262 Bug 1140243 - Refactor default client name in FxAccountUtils. r=nalexander 2015-03-06 10:05:13 -08:00
Chenxia Liu bc4c53074e Bug 1137921 - Use 9-patch for View shadows. r=margaret
--HG--
extra : rebase_source : fcd00525a637b6656b0253df108687fa029db5a9
2015-03-05 10:57:02 -08:00
Alexandre Poirot 69947869b3 Bug 1059308 - Make frame selection button to work in browser toolbox. r=jryans,past 2015-03-04 05:47:00 +01:00
Henry Addo henry@addhen.org 7a3551f637 Bug 1084663 - Fixes bug 1084663 - Substitue upper case keywords with search query. r=margaret
--HG--
extra : rebase_source : 49bdac62b449f1f67a5fb80c2525f5a2267fd4c9
2015-03-05 20:09:32 +09:00
Michael Comella 513b4079b3 Bug 1138529 - Add null checks mDoorHangerPopup access in toolbar editing state. r=liuche
Note: the call in onStartEditing is intended to fix the bug, but the call in
onStopEditing is similar enough that it makes sense to guard it as well.

--HG--
extra : rebase_source : 44dbeebd1ea6ed31f8437decb52c75457f27eb7c
2015-03-05 13:34:54 -08:00
Richard Newman 54bc11c9de Bug 1140241 - Add ReadingListConstants. 2015-03-05 19:06:47 -08:00
Richard Newman 6874c305d0 Bug 1140240 - Don't throw when accessing the body of an HTTP response with a null entity. 2015-03-05 19:06:47 -08:00
Wes Kocher 22674da129 Merge inbound to m-c a=merge CLOSED TREE 2015-03-05 15:17:41 -08:00
Nick Alexander 7eac0a2e1d Bug 1139946 - Generalize audience across SyncAdapter instances. r=rnewman 2015-03-05 08:59:02 -08:00
Mark Capella 0ba329fe26 Bug 1133155 - Selection Handler closes leaving handles on screen, r=margaret 2015-03-05 01:33:36 -05:00
Chenxia Liu cdfadd6f98 Bug 1136469 - Remove arrow from doorhanger. r=margaret
--HG--
extra : source : d67f13de789ceba64ff9c1a2b04973dc7ef34307
extra : amend_source : 615a0c9fa7d000037c96d9f16df32ff4b2eddbce
extra : histedit_source : 159954399726e0bec4f416c40c82f0954964881a%2Cb5973e719cf4defd226bee6ea465f7d55b196bb4
2015-03-04 18:09:25 -08:00
Eugen Sawin 06acff4d0d Bug 1051556 - Simplify GeckoEditable exception messages. r=snorp
---
 mobile/android/base/GeckoEditable.java | 32 ++++++++++++++++++--------------
 1 file changed, 18 insertions(+), 14 deletions(-)

--HG--
extra : rebase_source : 2e3895fdccbfb8c9b2ca8fa0c35f4a71ae651d77
2015-03-04 23:15:14 +01:00
Philip Chee 693b85580a Bug 1124503 move AppConstants.jsm to toolkit r=gavin
--HG--
rename : mobile/android/modules/AppConstants.jsm => toolkit/modules/AppConstants.jsm
2015-03-06 00:18:20 +08:00
Michael Comella 78a9ee396a Bug 1137240 - Specify primaryColorDark in v21 themes.xml to set status bar color. r=liuche
Used the same color as we did previously in the status bar tint (bug 1056002).

Doesn't work on my 5.0.1 N9 but works fine on 5.0.1 N4.

--HG--
extra : rebase_source : 8dfdf381eda664e7a165b549143d74b57f1de907
2015-02-26 10:12:12 -08:00
Michael Comella 2eabeace66 Bug 1138723 - Remove GeckoBase theme in values-large-v11/ to inherit from Material on tablet. r=liuche
GeckoBase in values-large-v11 overrode the values-v21 GeckoBase and prevented
Tablet from inheriting from Material.

--HG--
extra : rebase_source : 2cd05437f22d7d2457da819043d9e8a8b1faf4fb
2015-03-03 08:41:39 -08:00
Michael Comella f24a4076b4 Bug 1138723 - Move arrowPopupWidth to dimens (from theme attr). r=liuche
This required the creation of custom_match_parent and custom_wrap_content
dimens (via http://stackoverflow.com/a/19043952).

--HG--
extra : rebase_source : 2077e5a87fc66a99d99c7b28038ddf7474e9837f
2015-03-03 08:36:33 -08:00
ronak 670e12b805 Bug 1122767 - Remove lockscreen code from SearchWidget. r=wesj 2015-02-26 06:17:00 -05:00
Mike Hommey 364038011c Bug 868814 - Fold mozalloc library into mozglue. r=njn
--HG--
rename : memory/mozalloc/moz.build => memory/mozalloc/staticruntime/moz.build
2015-03-10 10:01:52 +09:00
James Willcox 1c1e3bb26f Bug 1132278 - Add SDK min/max versions to Android crash reports r=rnewman 2015-03-09 08:33:22 -05:00
Margaret Leibovic 22c88554a0 Bug 1120004 - Update styles of Reader View controls on mobile. r=bnicholson
--HG--
extra : rebase_source : b50005d5f99151a0ea9d6c2b022791198db8b846
2015-02-27 16:52:03 -08:00
Margaret Leibovic 83e3f73fce Bug 1128757 - Do not trim fragments from URLs loaded in reader view. r=bnicholson
--HG--
extra : rebase_source : 95965e5fba02193d5bbb94e5427f7d939547b01a
2015-02-26 14:08:29 -08:00
Carsten "Tomcat" Book abb3dca09c Merge mozilla-central to fx-team 2015-03-04 15:32:09 +01:00
Carsten "Tomcat" Book 9ab0fbd983 Backed out changeset e41d35b40ba9 (bug 1124084) for crashtest-1 b2g test failures
--HG--
extra : rebase_source : d999ef2520debe37d6f761b3b84c5053ce0274ed
2015-03-04 09:06:10 +01:00
Seth Fowler 771caaafab Bug 1124084 - Flip on downscale-during-decode everywhere. r=tn 2015-03-03 18:19:21 -08:00
Geoff Brown ec841145d5 Bug 1132209 - Clean up x86 references in robocop.ini; r=snorp 2015-03-03 19:06:50 -07:00
Richard Newman e669e331d9 Bug 1139035 - Supporting RepoUtils and ExtendedJSONObject changes. r=nalexander 2015-03-03 10:25:35 -08:00
Michael Comella b5b1e8ba66 Bug 1114774 - Hide the status bar on the share overlay. r=liuche
Otherwise, on Android L, it would slide up the screen as the Activity animated
in.

--HG--
extra : rebase_source : 14c70f46ef0b11b6153ae979016ae27d1d1c13ef
2015-02-26 17:46:15 -08:00
Margaret Leibovic f336a1e08a Bug 1124011 - Hide reader view buttons related to reading list if reading list is disabled, and enable reader view by default on Nightly. r=Unfocused
--HG--
extra : rebase_source : 2647d467ac309dc8c4a35522768c4756a288180e
2015-02-19 11:47:20 -08:00
Michael Comella 7114f98bfb Bug 1134484 - Replace uses of @color/placeholder_grey. r=liuche
Left one instance of #80777777.

--HG--
extra : rebase_source : 69a2712f9fdaab5c5d57e9f1e99d8c0420cc30a7
2015-02-27 18:13:08 -08:00
Michael Comella eda72cecde Bug 1134484 - Replace uses of @color/placeholder_active_grey. r=liuche
--HG--
extra : rebase_source : 9d1cd566208bef7d7cfc0be9467c1a70b3ab77d7
2015-02-27 18:06:40 -08:00
Michael Comella daef30f395 Bug 1134484 - Replace all uses of @color/link_blue. r=liuche
--HG--
extra : rebase_source : ca6e3460bfcad44535846282fa6c996b20613880
2015-02-27 17:52:15 -08:00
Michael Comella 17084ddf56 Bug 1134484 - Replace all uses of @color/action_orange_pressed. r=liuche
--HG--
extra : rebase_source : b9d8fd999ef25761be124b59fb2000acd083f026
2015-02-27 17:51:05 -08:00
Michael Comella 317330bfd0 Bug 1134484 - Replace all uses of @color/action_orange with resource name. r=liuche
--HG--
extra : rebase_source : 209ee935c7c9f4fa82020d3b98a9ff9863b78ea0
2015-02-27 17:48:58 -08:00
Carsten "Tomcat" Book 5993881b4e Backed out changeset 2433abf44e53 (bug 1059308) 2015-03-03 16:28:08 +01:00
Alexandre Poirot ff1149985c Bug 1059308 - Make frame selection button to work in browser toolbox. r=jryans,past 2015-03-03 04:19:00 +01:00