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

7812 Коммитов

Автор SHA1 Сообщение Дата
Nick Alexander 405e3958e7 Bug 1063765 - Part 1: Style Remote Tabs static panels for tablets and portrait phones. r=mcomella
This patch does several things:

1) It wraps static panel content in a ScrollView.

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

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

4) It caps the maximum width of the content in the ScrollView.  I would
have used maxWidth, but that doesn't exist for LinearLayouts (or
ScrollViews).  Instead, I set a maxWidth for every RemoteTabsPanelItem,
which combined with wrap_content on the containing LinearLayout achieves
the same goal.  It's what I intended to do on tablets.
2014-09-16 15:41:05 -07:00
Michael Comella aa874f56a5 Bug 1001655 - Part 1: Replace applicable Strings in test code with StringHelper references. r=wesj 2014-09-16 13:56:52 -07:00
Chris Kitching 2b2f3c201f Bug 1067025: Abort when no extra_text present in share dialog. r=rnewman 2014-09-14 21:49:45 -07:00
Carsten "Tomcat" Book 2216d12dc4 Merge m-c to fx-team 2014-09-16 07:07:55 +02:00
Nigel Babu 1da2de4cb7 Merge fx-team to m-c with bustage fix, a=merge 2014-09-16 08:43:45 +05:30
Wes Kocher 6e187f49f8 Merge m-c to inbound a=merge 2014-09-15 16:41:45 -07:00
Shu-yu Guo 59ccd2fecb Bug 1001090 - Part 5: Fix errors in tests throughout the tree. (r=robcee,gavin) 2014-09-15 16:30:47 -07:00
Richard Newman 25dffd8e75 Bug 1022472 - Remove margins on default home screen panels. r=wesj
Relanding with follow-up: fix test with incorrect assumptions. r=mfinkle
2014-09-15 10:47:37 -07:00
Richard Newman 8fc27a9621 Bug 1022472 - Remove margins on default home screen panels. r=wesj 2014-09-15 10:47:37 -07:00
Michael Comella b38dbe9ab9 Bug 1066250 - Part 3: Update testSettingsMenuItems. r=lucasr 2014-09-15 08:20:31 -07:00
Michael Comella 5bfa420638 Bug 1066250 - Part 2: Remove title in toolbar preference on new tablet. r=lucasr 2014-09-15 08:20:14 -07:00
Michael Comella 6398ab75ec Bug 1066250 - Part 1: Always show the url in the toolbar on new tablet. r=lucasr 2014-09-15 08:15:42 -07:00
dominique vincent 4cd0b8a363 Bug 1062904 - crash in java.lang.NullPointerException: uriString at android.net.Uri.<init>(Uri.java) r=mfinkle 2014-09-09 18:16:45 +02:00
Mark Capella 9a1b58394e Bug 1064657 - Add testSelectionHandler test to ensure readOnly input elements can't be cut, r=wesj 2014-09-15 16:47:25 -04:00
Ryan VanderMeulen f1937ba434 Backed out changeset e016c34c4d52 (bug 1022472) for robocop failures. 2014-09-15 15:29:39 -04:00
Mark Capella 6ba29354ea Bug 1044940 - Favicons in the bookmarks table should be read and written correctly, r=ckitching 2014-09-14 17:22:19 -07:00
Mark Finkle 6b40a0b9dc Bug 1066671 - Minor test cleanup r=trivial 2014-09-14 11:21:56 -04:00
Mark Finkle 8bdf478efd Bug 1066671 - Minor cleanup r=wesj 2014-09-14 11:17:15 -04:00
Manu Jain a35f1d66c1 Bug 1066320 - Crop lightweight theme image if it's larger than the displayable area; r=mfinkle 2014-09-13 14:36:09 -04:00
Mark Finkle e982228691 Bug 1020564 - Fix a bad rebase r=me 2014-09-12 22:46:39 -04:00
Michael Comella fa7e0a7242 Bug 1065712 - Move new_tablet_* resources to *large* directories. r=mhaigh
--HG--
rename : mobile/android/base/resources/color/new_tablet_tab_strip_item_title.xml => mobile/android/base/resources/color-large-v11/new_tablet_tab_strip_item_title.xml
rename : mobile/android/base/resources/drawable-hdpi/new_tablet_tabs_count.png => mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_tabs_count.png
rename : mobile/android/base/resources/drawable-hdpi/new_tablet_tabs_count_foreground.png => mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_tabs_count_foreground.png
rename : mobile/android/base/resources/drawable-mdpi/new_tablet_tabs_count.png => mobile/android/base/resources/drawable-large-mdpi-v11/new_tablet_tabs_count.png
rename : mobile/android/base/resources/drawable-mdpi/new_tablet_tabs_count_foreground.png => mobile/android/base/resources/drawable-large-mdpi-v11/new_tablet_tabs_count_foreground.png
rename : mobile/android/base/resources/drawable/new_tablet_tab_strip_divider.xml => mobile/android/base/resources/drawable-large-v11/new_tablet_tab_strip_divider.xml
rename : mobile/android/base/resources/drawable/new_tablet_tab_strip_item_bg.xml => mobile/android/base/resources/drawable-large-v11/new_tablet_tab_strip_item_bg.xml
rename : mobile/android/base/resources/drawable-xhdpi/new_tablet_tabs_count.png => mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_tabs_count.png
rename : mobile/android/base/resources/drawable-xhdpi/new_tablet_tabs_count_foreground.png => mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_tabs_count_foreground.png
rename : mobile/android/base/resources/layout/new_tablet_tab_strip.xml => mobile/android/base/resources/layout-large-v11/new_tablet_tab_strip.xml
rename : mobile/android/base/resources/layout/new_tablet_tabs_counter.xml => mobile/android/base/resources/layout-large-v11/new_tablet_tabs_counter.xml
2014-09-12 18:28:05 -07:00
Mark Finkle a498cb084d Bug 1058384 - Switch to a unique ID when registering targets r=wesj 2014-09-12 20:56:42 -04:00
Mark Finkle 59ab090291 Bug 1020564 - Change SSDP 'target' references to 'device' to cut down on confusing concepts r=wesj 2014-09-12 20:55:00 -04:00
Chenxia Liu 56bd8c35bd Bug 1059827 - [7" Tablet] First-run window navigation buttons are hidden in landscape. r=wesj 2014-09-12 17:12:33 -07:00
Chenxia Liu 15accfcf63 Bug 1062257 - Handle HomeFragment deletions by panel/type instead of universally. r=margaret 2014-09-12 17:12:33 -07:00
Michael Comella c4fca8df08 Bug 956858: Make menu inaccessible during editing mode. r=wesj 2014-01-08 12:03:04 -08:00
Chris Kitching 64e5ffe734 Bug 1066747: Fix strictmode violation in sharing service. r=rnewman 2014-09-12 11:08:26 -07:00
Carsten "Tomcat" Book fbf4887a9f Merge m-c to fx-team 2014-09-12 15:24:48 +02:00
Carsten "Tomcat" Book d557d05d44 merge m-i to m-c a=merge 2014-09-12 15:07:38 +02:00
Lucas Rocha 7831128f38 Bug 1015447 - Top-level container for tab strip with 'new tab' button (r=mcomella) 2014-09-12 11:45:58 +01:00
Ryan VanderMeulen b99df6b626 Merge m-c to fx-team. a=merge 2014-09-11 19:55:32 -04:00
Ryan VanderMeulen b3912c5b41 Backed out changeset 8d663f978a22 (bug 960746) for Android 4.0 robocop perma-fail. a=backout 2014-09-11 19:51:56 -04:00
Michael Comella 0d6e7db2e1 Bug 960746 - Disable navigation buttons when they are hit until page load. r=lucasr 2014-09-11 12:06:40 -07:00
Richard Newman e809a59d3d Bug 1065531 - crash in java.lang.NoSuchMethodError: android.os.Bundle.getString at org.mozilla.gecko.preferences.GeckoPreferences.setupPreferences. r=nalexander 2014-09-11 11:21:19 -07:00
Carsten "Tomcat" Book c037d67c0a Merge m-c to fx-team 2014-09-11 15:41:38 +02:00
Carsten "Tomcat" Book 72880b711b merge fx-team to mozilla-central a=merge 2014-09-11 15:29:54 +02:00
Lucas Rocha 42250f187d Bug 1065454 - Disable new tablet UI by default (r=mcomella, a=merge) 2014-09-11 14:11:25 +01:00
Lucas Rocha f27b7e38f1 Bug 1063914 - Restore edit mode's [x] icons (r=mcomella) 2014-09-11 13:58:55 +01:00
Lucas Rocha 92c68c7753 Merge m-c to larch 2014-09-11 11:11:00 +01:00
Margaret Leibovic 15f625d17e Bug 1017903 - Load the search service before running open search discovery tests. r=mfinkle 2014-09-11 09:10:28 +02:00
Lucas Rocha f19655c2c9 Bug 1014987 - Gracefully handle out-of-bounds positions in TabsStripAdapter (r=mcomella) 2014-09-11 00:27:01 +01:00
Lucas Rocha 0373fede67 Bug 1065663 - Use correct layout param for TwoWayView in tabs_item_cell (r=mcomella) 2014-09-10 23:31:15 +01:00
Lucas Rocha bed094b946 Bug 1014987 - Add tab strip to layout on new tablet UI (r=mcomella) 2014-09-10 21:28:58 +01:00
Lucas Rocha 8245382a91 Bug 1014987 - Introduce the new tab strip views (r=mcomella) 2014-09-10 21:28:58 +01:00
Richard Newman c4e2b92997 Bug 1065523 - Part 1: locale picker screen displays short locale display name, not capitalized region-decorated name. r=nalexander
What I think was happening here: we were taking a locale *tag* ("en-US") and giving it to the Java Locale constructor to parse. It parsed that as "en" (because it expects _ not -), so we'd get "English".

And because it was the display string from the locale, in e.g., French we'd get "français", lowercase.

The fix is to just use the same code path that we use for the list picker itself -- make a descriptor from the tag, and ask it for its display string.
2014-09-10 12:01:35 -07:00
Richard Newman e33649053f Bug 1065523 - Part 0: enable KitKat-specific code in locale picker. r=nalexander 2014-09-10 12:01:34 -07:00
Wes Johnston 03414226cb Bug 1058150 - Use restricted profiles for guest mode. r=mfinkle 2014-09-09 15:08:37 -07:00
Lucas Rocha 10af334b19 Bug 1065369 - Consolidate 'add tab' behaviour in Tabs (r=mfinkle) 2014-09-10 14:51:42 +01:00
Margaret Leibovic 31d186652b Bug 1063518 - Hide MLS "Learn More" link when MLS is disabled. r=liuche 2014-09-10 12:06:53 +02:00
Lucas Rocha 0194b9ae40 Merge m-c to larch 2014-09-09 17:46:44 +01:00
Lucas Rocha c3cf5229af Backout bug 1014987, reftest failures (r=backout) 2014-09-09 17:17:03 +01:00
Lucas Rocha cedd5da6fe Bug 1014987 - Add tab strip to layout on new tablet UI (r=mcomella) 2014-09-09 13:45:19 +01:00
Lucas Rocha 0e9f5d4c95 Bug 1014987 - Introduce the new tab strip views (r=mcomella) 2014-09-09 13:45:18 +01:00
Richard Newman be79ae4ada Bug 1044334 - Part 5: expose firefox_settings_alert. r=lucasr
--HG--
rename : mobile/android/base/resources/drawable-hdpi-v11/firefox_settings_alert.png => mobile/android/base/resources/drawable-hdpi/firefox_settings_alert.png
rename : mobile/android/base/resources/drawable-mdpi-v11/firefox_settings_alert.png => mobile/android/base/resources/drawable-mdpi/firefox_settings_alert.png
rename : mobile/android/base/resources/drawable-xhdpi-v11/firefox_settings_alert.png => mobile/android/base/resources/drawable-xhdpi/firefox_settings_alert.png
2014-09-08 21:32:47 -07:00
Richard Newman f37aa51f87 Bug 1044334 - Part 4: provide stub preference headers. r=lucasr
--HG--
rename : mobile/android/base/resources/menu-v11/preferences_search_menu.xml => mobile/android/base/resources/menu/preferences_search_menu.xml
rename : mobile/android/base/resources/xml-v11/preference_headers.xml => mobile/android/base/resources/xml/preference_headers.xml
rename : mobile/android/base/resources/xml-v11/preferences_customize_tablet.xml => mobile/android/base/resources/xml/preferences_customize_tablet.xml
2014-09-08 21:32:47 -07:00
Richard Newman 79255fd04c Bug 1044334 - Part 3: fix access to tabs_panel_footer in TabsPanel. r=lucasr 2014-09-08 21:32:47 -07:00
Richard Newman 84231ccb5b Bug 1044334 - Part 2: conditionalize access to, and stub out, Tools and Page menus that only exist in v11+. r=lucasr 2014-09-08 21:32:46 -07:00
Richard Newman 3d9b54f52c Bug 1044334 - Part 1: move HistoryListView style. r=lucasr 2014-09-08 21:32:46 -07:00
Chris Kitching 065e335225 Bug 1064644: Remove inner-access comments. r=rnewman 2014-09-08 18:11:51 -07:00
Chris Kitching 18e01126af Bug 1064506: Eradicate lazy cursor pattern. r=rnewman 2014-09-08 13:10:46 -07:00
Nick Alexander ba7816f511 Bug 977164 - Update TwoLinePageRow in Remote Tabs home panel. r=margaret
This patch extracts a non-Cursor update method and uses it (when
possible) in the adapter that backs the Remote Tabs home panel.  This
updates the "switch-to-tab" text and button when appropriate.
2014-09-08 12:58:34 -07:00
Dominique Vincent 47aef9432a Bug 1058027 - about:home is unresponsive to hardware menu button on returning to main activity on 2.3 devices. r=mcomella, r=snorp 2014-09-08 17:40:00 +02:00
Chris Kitching 3aac17e02a Bug 1064554: Remove unnecessary Proguard annotations from testDistribution. r=nalexander 2014-09-09 20:21:09 -07:00
Ryan VanderMeulen ca03f2d467 Merge inbound to m-c. a=merge 2014-09-09 19:26:59 -04:00
Wes Johnston 4b75fec71a Backout f3a47630d9a6 and 43e6d3d43b50 (bug 1058150) for breaking builds. r=backout CLOSED TREE 2014-09-09 15:53:25 -07:00
Wes Johnston 2460d6bd11 Bug 1058150 - Use parental controls to block things in guest mode. r=mfinkle 2014-09-09 15:08:37 -07:00
Richard Newman dcd0eb82d4 Bug 1064363 - Part 1: remove third-party WebSocket library. r=snorp
Per Bug 834033 Comment 75.
2014-09-09 14:39:00 -07:00
Ryan VanderMeulen 9a69325425 Backed out 3 changesets (bug 1062377) for troboprovider bustage.
Backed out changeset e34198954c2c (bug 1062377)
Backed out changeset 8f323dfa4f0f (bug 1062377)
Backed out changeset ec9b51158d34 (bug 1062377)
2014-09-09 16:52:51 -04:00
Chris Kitching 3ea6ec9560 Bug 1063887: Kill getItemFlags in BrowserDB. r=rnewman 2014-09-09 11:35:01 -07:00
Jim Chen ae71c5dfdd Bug 1062377 - Add JUnit test for new GeckoBackgroundThread; r=rnewman 2014-09-09 14:03:54 -04:00
Jim Chen ea0346268c Bug 1062377 - Rewrite GeckoBackgroundThread to not wait for thread start if possible; r=rnewman
When GeckoBackgroundThread is first used, it starts a new thread and waits for a Handler. This can delay startup. Instead, we can just save the Runnable and run it when the thread is starting.
2014-09-09 14:03:54 -04:00
Jim Chen 1bfe9e31be Bug 1062377 - Try loading profile.ini in background; r=mfinkle r=rnewman
We can move our profile accessing code to later in the startup process. The benefit of that is in early startup, we can prefetch the profile.ini file in the background and not block the UI thread
2014-09-09 14:03:53 -04:00
Chris Kitching 04d3fa922c Bug 1061721: Handle items already in bookmarks/reading list in overlays. r=rnewman
--HG--
rename : mobile/android/base/resources/color/primary_text.xml => mobile/android/base/resources/color/overlay_btn_text.xml
2014-09-05 16:53:51 -07:00
Martyn Haigh 55ca8ea289 Bug 1060345: Create a way of dynamically inflating the correct tab layout (r=lucasr) 2014-09-05 16:52:44 +01:00
Lucas Rocha 740450e49e Merge m-c to larch 2014-09-05 14:37:02 +01:00
Martyn Haigh 53ee3821ed Bug 1055595 - Part 4: rename and extract adapter, make abstract and create concrete implementation within the list view (r=lucasr) 2014-09-05 09:28:25 +01:00
Martyn Haigh 71983060f5 Bug 1055595 - Part 3: introduce newView/bindView constructs in to adapter (r=lucasr) 2014-09-05 09:28:24 +01:00
Martyn Haigh aae7fd2298 Bug 1055595 - Part 2: move code from layout to item view (r=lucasr) 2014-09-05 09:28:24 +01:00
Martyn Haigh 40ca757e3d Bug 1055595 - Part 1: Simplify adapter (r=lucasr) 2014-09-05 09:28:24 +01:00
Chris Kitching f83cd6b76e Bug 1062112: Part 1j: Use StringBuilders instead of appending in a loop. r=nalexander 2014-09-04 19:03:41 -07:00
Chris Kitching 2ab2a10542 Bug 1062112: Part 1h: Remove redundant keywords from GeckoSmsManager. r=nalexander 2014-09-04 18:43:09 -07:00
Chris Kitching 8b3e370e99 Bug 1062112: Part 1g: Make exception inner classes static. r=nalexander 2014-09-04 18:37:39 -07:00
Chris Kitching 47ae70ea5d Bug 1062112: Part 1f: Stop comparing strings with ==. r=nalexander 2014-09-04 18:35:28 -07:00
Chris Kitching fc9e87ebfa Bug 1062112: Part 1e: Declare final effectively-final fields in GeckoSmsManager. r=nalexander 2014-09-04 18:32:11 -07:00
Wes Kocher d48269bc7c Merge inbound to m-c a=merge 2014-09-04 18:30:01 -07:00
Chris Kitching dfbea21c99 Bug 1062112: Part 1d: Correctly define 2^32. r=nalexander 2014-09-04 18:29:51 -07:00
Chris Kitching c21ba4f0b0 Bug 1062112: Part 1c: Replace PendingIntentGuid with an AtomicInteger. r=nalexander 2014-09-04 18:21:00 -07:00
Chris Kitching fbcb7a7595 Bug 1062112: Part 1b: Cleanup singleton use in SmsManager. r=nalexander 2014-09-08 12:48:10 -07:00
Chris Kitching 883d50d60d Bug 1062112: Part 1a: Move ISmsManager. r=nalexander 2014-09-04 18:13:05 -07:00
Jim Chen bbcdbef35e Bug 1058136 - Properly send text change notifications for composition text; r=cpeterson 2014-09-04 14:38:18 -04:00
Jim Chen 927986edb5 Bug 1058136 - Send separate compose event for composing text; r=cpeterson 2014-09-04 14:38:17 -04:00
Jim Chen 19212821a7 Bug 1058136 - Fix debug logging crash; r=cpeterson 2014-09-04 14:38:17 -04:00
Jim Chen b73e9eb75f Bug 1058136 - Refactor GeckoEditable; r=cpeterson 2014-09-04 14:38:16 -04:00
Lucas Rocha c80bc46157 Backout bug 1055595, build failures (r=backout) 2014-09-04 18:29:19 +01:00
Martyn Haigh a804ea7ae3 Bug 1055595 - Part 4: rename and extract adapter, make abstract and create concrete implementation within the list view (r=lucasr) 2014-09-04 16:54:01 +01:00
Martyn Haigh 2bcc6dcc13 Bug 1055595 - Part 3: introduce newView/bindView constructs in to adapter (r=lucasr) 2014-09-04 16:54:01 +01:00
Martyn Haigh e1bf6195a0 Bug 1055595 - Part 2: move code from layout to item view (r=lucasr) 2014-09-04 16:54:01 +01:00
Margaret Leibovic f581ca4344 Bug 1062632 - Follow-up to fix build bustage on a CLOSED TREE 2014-09-04 10:40:53 -07:00
Martyn Haigh 2bd49aaa2a Bug 1055595 - Part 1: Simplify Adapter (r=lucasr) 2014-09-04 16:54:00 +01:00
Chris Kitching e50d10a108 Bug 1062112: Part 1: Fix generics in DebugGeckoInputConnection. r=nalexander 2014-09-03 23:44:49 -07:00