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

776 Коммитов

Автор SHA1 Сообщение Дата
Phil Ringnalda 8747c26535 Merge f-t to m-c, a=merge 2015-04-18 16:46:44 -07:00
Martyn Haigh d10f0777e6 Bug 1142012 - The progress bar is barely visible in full screen browsing (r=margaret) 2015-04-17 14:52:34 -07:00
Andy Pusch a58d5cc7a7 Bug 1149799 - Move 'Sanitize:ClearHistory' message handler out of GeckoApp. r=margaret 2015-04-13 14:32:00 -04:00
Martyn Haigh 1a93a29bd0 Bug 1153908 - Move Tab Queue Notification click logic off UI thread (r=mcomella) 2015-04-14 14:17:34 +01:00
Jim Chen 41419149d7 Bug 1152308 - Remove obsolete methods for exiting; r=snorp 2015-04-17 12:22:47 -04:00
Michael Comella 87ca3080b6 Bug 1152489 - Prevent getMostRecentHomePanel() from being called on null selectedTab. r=mfinkle
--HG--
extra : rebase_source : b32614c59677fad7d2a47ca080a7661e2425a635
2015-04-10 13:33:00 -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 50f0e098c0 Bug 1106935 - Remove references to old tablet sidebar. r=mhaigh
--HG--
extra : rebase_source : 3d9f84589872bfb74c1a1040b525f042c7c9cebb
2015-04-02 10:45:31 -07: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
Jeff Lu 9e32948b63 Bug 1146730 - Always show top of options menu when opened. r=mcomella 2015-03-31 20:53:00 +02:00
Sheefeni Hauwanga 8fddb2b274 Bug 1142192 - Change MenuItem to final. r=mcomella 2015-03-28 00:45:52 -04:00
Martyn Haigh 5cf5532037 Bug 1146589 - Ensure that tab opened with "open now" action is selected and visible when fennec loads (r=mcomella) 2015-03-30 10:45:03 +01: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 741a58fba6 Bug 1145579 - Open tab queue file when fennec starts or resumes (r=mcomella) 2015-03-27 11:40:49 +00: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
Jeff Lu f923ac05b0 Bug 1140044 - Update bookmark button title when state changes. r=mcomella 2015-03-18 15:20:00 -04: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 908de720a6 Bug 1122302 - Only show the device list when opening "Send to other devices" in Firefox. r=rnewman
--HG--
extra : rebase_source : eaed6b0bebe6d6b510d8b13b640aa2d5b4a131a8
2015-03-03 17:16:31 -08: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 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
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
Chenxia Liu e322114085 Bug 1121681 - Add "Passwords" entry point in menu. r=margaret
--HG--
extra : rebase_source : 94140f2eb2a932ef3f5c73ddc276b8d5c602c9ca
2015-03-02 14:33:28 -08:00
Michael Comella ea7cd573eb Bug 1056002 - Backout changeset c56275d516ec. r=mfinkle
This change caused a lot of fullscreen issues (see the dependent bugs).

--HG--
extra : rebase_source : 1e3f193b791dafdea6b3f8baa961801d26ae0164
2015-02-24 16:12:32 -08:00
Michael Comella f040f9ddc1 Bug 1134192 - Prevent the options menu from opening in fullscreen mode. r=mfinkle
--HG--
extra : rebase_source : 3db64ab65d30f43b0d20294988cec676049f6bd1
2015-02-23 13:12:01 -08:00
Richard Newman 7baddf9574 Bug 1130461 - Part 3: disable ReadingListHelper's background fetch triggers to avoid test problems. r=margaret 2015-02-23 10:35:11 -08:00
Michael Comella 49b50577f2 Bug 1133770 - Use Refreshable interface instead of TabStrip in BrowserApp to allow builds on API 9. r=mhaigh
--HG--
extra : rebase_source : 7cec65006014787f1b614ec36acf4d0cec23cd1a
2015-02-20 09:05:22 -08:00
Michael Comella 06811804b7 Bug 1133770 - Display the selected tab in the tab strip on device rotation. r=mhaigh
This does not always work in the case that one of the last few tabs (to the
right) are selected and the device is rotated from landscape to portrait.
Filed bug 1134408 to track this.

--HG--
extra : rebase_source : 60d64fbea4e8e32e14f1e8120a32d8c6db76b30f
extra : source : e755879c138c1a3ca96ba9da9f9244cb5bfd755f
2015-02-18 14:23:19 -08:00
dominique vincent 5206440c83 Bug 1134338 - Move ZoomedView inflate in BrowserApp. r=mcomella 2015-02-20 00:16:22 +01:00
Michael Holloway e45875661d Bug 966485 - Remove telemetry bucket for FENNEC_STARTUP_TIME_ABOUTHOME. r=rnewman, r=margaret 2015-02-12 20:32:16 -05:00
vivek 628ea305a1 Bug 1103267 - Load passwords favicon from cache. r=liuche 2015-02-18 11:43:52 -08:00
Margaret Leibovic f013fe48c4 Bug 1132547 - Move reader.has_used_toolbar logic to Android's Reader.js. r=bnicholson
--HG--
extra : rebase_source : 6c3e57259a0dc4a70222fa2fdf4aa1c5b823f93c
2015-02-12 15:23:26 -08:00
Richard Newman 8713840e28 Bug 1131257 - Part 1: split LocalReadingListDB out of LocalBrowserDB. r=margaret
Centralizing reading list access logic will make Bug 1130461 much easier. This bug is the first part of that.

We follow the same pattern as for URLMetadata, TabsAccessor, and Searches; BrowserDB hands over a single class that's specialized to handle the Reading List.
2015-02-10 16:42:13 -08:00
Margaret Leibovic 8c154cc63f Bug 1113454 - Download and cache reader mode content in the background. r=rnewman
--HG--
extra : rebase_source : 940a8d5098e87914627cc78bda166118e829efe5
2015-01-26 19:03:41 +01:00
Michael Comella 6ca4f81b6e Bug 1106935 - Part 6: Replace NewTabletUI.isEnabled with HardwareUtils.isTablet where simple. r=mhaigh
--HG--
extra : rebase_source : 9264730533081acf138d1d789ec93598802d9e90
2015-01-30 11:14:50 -08:00
Chenxia Liu 3ea68f39ad Bug 1063844 - [onboarding] Start Pane v1.5. r=mhaigh
--HG--
extra : rebase_source : db5841919787d2bbd529a2e1bc0b62f55895e784
2015-01-28 18:41:20 -08:00
wesj fd68aa8780 Bug 909434 - Add ability to drag urlbar, preffed off. r=wesj 2015-01-29 10:43:40 -08:00
dominique vincent 67724cb7a7 Bug 663803 - Zoomed view implementation using render document r=mcomella,snorp 2015-01-21 05:59:23 +01:00
Michael Comella 079dd0c0c3 Bug 1096958 - Move TilesRecorder instance into TopSitesPanel. r=bnicholson
Thereby removing it from BrowserApp.
2015-01-22 17:36:17 -08:00
Richard Newman a95ff1c7bb Bug 1123688 - Set BrowserDB factory in application startup, not only for GeckoApp subclasses. r=bnicholson
The issue: only by launching GeckoApp (or a subclass) did we specify what kind of DB we wanted. If we don't specify, we get a StubBrowserDB.

The search activity is not a GeckoApp, but it does implicitly access a profile.

The same is true for Sync: a background Sync would eventually cause the CP to touch GeckoProfile to get the profile directory.

Both of these avenues will poison the GeckoProfile cache, storing a profile with a database member that's a StubBrowserDB.

If you subsequently launched the browser you'd get that GeckoProfile instance from the profile cache. StubBrowserDB deliberately returns null for some queries -- such as getTopSites. That causes us to throw here.

The solution I chose: have *GeckoApplication* specify which kind of DB to use, and then have WebappImpl (the only subclass for which we want different behavior) override it.

GeckoView consumers remain unaffected, because they have their own Application class, and so the usual GeckoProfile fallback applies.
2015-01-22 20:23:38 -08:00
Michael Comella 69ba4bc370 Bug 1116912 - Don't hide the dynamic toolbar when it was originally shown but a tab was selected. r=wesj
Additionally, rename mShowActionModeEndAnimation to make it more intuitive and
clean up it's initialization.
2015-01-16 17:37:20 -08:00
Richard Newman f428537ae6 Bug 1077590 - Part 4: fix profile access in BrowserApp. r=mfinkle 2015-01-12 20:58:01 -08:00
Richard Newman fb4b1693c0 Bug 1077590 - Part 2: fix a bunch of imports. r=trivial 2015-01-11 20:45:44 -08:00
Richard Newman 9e5c96b6fd Bug 1077590 - Part 1: make all per-profile DB access go through a profile. r=wesj
* * *
Bug 1077590 - Review comments.

--HG--
rename : mobile/android/base/TabsAccessor.java => mobile/android/base/db/LocalTabsAccessor.java
rename : mobile/android/base/db/URLMetadata.java => mobile/android/base/db/LocalURLMetadata.java
rename : mobile/android/base/TabsAccessor.java => mobile/android/base/db/TabsAccessor.java
2015-01-11 20:45:09 -08:00
Richard Newman 02fe2a8149 Bug 1120530 - Don't show first run experience in Robocop tests. r=mfinkle, on a CLOSED TREE 'cos Java-only. 2015-01-12 16:19:47 -08:00
Carsten "Tomcat" Book 1e4b2b6bcc Backed out changeset 20a66f476346 (bug 1077590)
--HG--
rename : mobile/android/base/db/TabsAccessor.java => mobile/android/base/TabsAccessor.java
2015-01-12 12:52:27 +01:00
Carsten "Tomcat" Book 73268a9ba0 Backed out changeset 5fbb06da804d (bug 1077590) 2015-01-12 12:52:09 +01:00
Richard Newman e2ebeee6bb Bug 1077590 - Part 2: fix a bunch of imports. r=trivial 2015-01-11 20:45:44 -08:00