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

219 Коммитов

Автор SHA1 Сообщение Дата
Kartikaya Gupta 6294aa50b5 Bug 859962 - Guard against LayerView.getPanZoomController() returning null in BrowserApp. r=Cwiiis 2013-04-17 17:39:11 -04:00
Kartikaya Gupta f32710dcdf Bug 847898 - Put Android Beam support behind a confvar variable. r=mfinkle 2013-04-17 16:08:11 -04:00
Lucas Rocha 88b40306f6 Bug 784387 - Handle duplicate reading list item case (r=bnicholson) 2013-04-17 11:43:22 +01:00
Margaret Leibovic af8c451de1 Bug 860326 - Don't update BrowserToolbar after editing a top site on about:home. r=wesj 2013-04-16 17:39:47 -07:00
Brian Nicholson 830f0c9453 Bug 838793 - Part 1: Convert AboutHomeContent to a Fragment. r=lucasr 2013-04-16 14:34:46 -07:00
Ryan VanderMeulen 9205e033e1 Backed out changeset 1d41c64ab235 (bug 860326) for robocop crashes. 2013-04-16 15:38:50 -04:00
Margaret Leibovic 82e8d55330 Bug 860326 - Don't update BrowserToolbar after editing a top site on about:home. r=wesj 2013-04-16 10:39:16 -07:00
Chris Lord 3fddc7fa63 Bug 852955 - Disable dynamic toolbar when accessibility features are enabled. r=kats
The dynamic toolbar is just not a useful feature when it comes to accessibility.
2013-04-12 16:51:56 +01:00
Chris Lord d64d53483e Bug 859031 - Fix NullPointerException in dynamic toolbar prefs getter. r=lucasr
mAboutHomeContent can be null, make sure to check before accessing it.
2013-04-11 17:33:59 +01:00
Sriram Ramasubramanian b1ec0470e7 Bug 726716: Keyboard shortcuts for Fennec. [r=mfinkle]
--HG--
extra : rebase_source : fa0d362face86e9b7d28d2a3e079edf5fd43d283
2013-04-08 14:28:56 -07:00
Brian Nicholson ed0ffd2ff8 Bug 856163 - Part 2: Move preprocessed code to AppConstants. r=kats,mfinkle,rnewman
--HG--
rename : mobile/android/base/CrashReporter.java.in => mobile/android/base/CrashReporter.java
rename : mobile/android/base/GeckoActivity.java.in => mobile/android/base/GeckoActivity.java
rename : mobile/android/base/Restarter.java.in => mobile/android/base/Restarter.java
rename : mobile/android/base/SmsManager.java.in => mobile/android/base/SmsManager.java
rename : mobile/android/base/UpdateServiceHelper.java.in => mobile/android/base/UpdateServiceHelper.java
rename : mobile/android/base/resources/menu-large-v11/browser_app_menu.xml.in => mobile/android/base/resources/menu-large-v11/browser_app_menu.xml
rename : mobile/android/base/resources/menu-v11/browser_app_menu.xml.in => mobile/android/base/resources/menu-v11/browser_app_menu.xml
rename : mobile/android/base/resources/menu-xlarge-v11/browser_app_menu.xml.in => mobile/android/base/resources/menu-xlarge-v11/browser_app_menu.xml
rename : mobile/android/base/resources/menu/browser_app_menu.xml.in => mobile/android/base/resources/menu/browser_app_menu.xml
rename : mobile/android/base/resources/xml/preferences.xml.in => mobile/android/base/resources/xml/preferences.xml
2013-04-09 17:10:47 -07:00
Chris Peterson e2995e53e3 Bug 859229 - Part 3: Fix order of Java imports. r=kats 2013-04-08 00:51:56 -07:00
Chris Lord a0307d1e46 Bug 856497 - Fix dynamic viewport sizing for margin changes. r=kats
The viewport wasn't being recalculated when the viewport margins changed, and
was also subject to some rounding errors. Round off the values before
comparing them (as they're screen pixels), and make sure to update the viewport
when the margins change. Margins were also not correctly being altered when
in overscroll, which could cause bottom-aligned fixed position content to be
incorrectly offset.
2013-04-08 16:35:00 +01:00
Ryan VanderMeulen 2c330d34a3 Merge m-c to inbound. 2013-04-03 18:16:48 -04:00
Kartikaya Gupta f41d028a0f Bug 857217 - Put focus in about:home if it is visible instead of always sending it to the layerview. r=Cwiiis 2013-04-03 11:59:22 -04:00
Mark Finkle c22720d7c0 Bug 852828 - Add basic support for subscribing to feeds (RSS/Atom) r=margaret 2013-04-03 15:34:51 -04:00
Kartikaya Gupta 80ffc0bff1 Bug 856756 - Move GeckoApp.hasPermanentMenuKey to HardwareUtils.hasMenuButton. r=mfinkle 2013-04-02 10:04:21 -04:00
Kartikaya Gupta 15911ce12f Bug 856756 - Extract a HardwareUtils class. r=mfinkle 2013-04-02 10:03:39 -04:00
Eitan Isaacson f1d1fcab9d Bug 856252 - Explicitly set next focused view when arrowing down from BrowserToolBar. r=kats r=sriram 2013-04-01 10:55:24 -07:00
Sriram Ramasubramanian 68b37c80c5 Bug 852312: Split views in about:home [r=bnicholson]
--HG--
rename : mobile/android/base/AboutHomeContent.java => mobile/android/base/widget/AboutHomeContent.java
rename : mobile/android/base/AboutHomeSection.java => mobile/android/base/widget/AboutHomeSection.java
rename : mobile/android/base/AboutHomePromoBox.java => mobile/android/base/widget/PromoBox.java
extra : rebase_source : 0db7d60aa0c57eb9aeb9cad3e1f297b0ec0ddd0f
2013-03-25 15:45:33 -07:00
Sriram Ramasubramanian e78fbba920 Bug 852312: Move the custom views in about:home to widget directory. [r=bnicholson]
--HG--
rename : mobile/android/base/AboutHomeContent.java => mobile/android/base/widget/AboutHomeContent.java
rename : mobile/android/base/AboutHomePromoBox.java => mobile/android/base/widget/AboutHomePromoBox.java
rename : mobile/android/base/AboutHomeSection.java => mobile/android/base/widget/AboutHomeSection.java
rename : mobile/android/base/LinkTextView.java => mobile/android/base/widget/LinkTextView.java
extra : rebase_source : b13d18d3b2c56e8fec364265fe46ee88771f7ed2
2013-03-25 15:44:45 -07:00
Sriram Ramasubramanian 77ec34f5d6 Bug 844816: Add open new tab/private tab to long press menu of about:home thumbnails. [r=mfinkle]
--HG--
extra : rebase_source : 2b93b32c22d41c3670bc67b4762baa81525256d4
2013-03-26 10:23:45 -07:00
Kartikaya Gupta 66275a333e Bug 855471 - Transfer focus to the LayerView when receiving a gamepad panning-related event. r=mfinkle 2013-03-28 12:40:06 -04:00
Kartikaya Gupta dc20788173 Bug 855471 - Rename OnInterceptTouchListener to TouchEventInterceptor. r=mfinkle
--HG--
rename : mobile/android/base/OnInterceptTouchListener.java => mobile/android/base/TouchEventInterceptor.java
2013-03-28 12:40:06 -04:00
Lucas Rocha 561a22891f Bug 853300 - Show toolbar when hw menu button is pressed (r=cwiiis) 2013-03-22 10:26:32 +00:00
Lucas Rocha 4c0b89b72e Bug 853497 - Remove spacer view from gecko_app.xml (r=cwiiis) 2013-03-22 10:26:26 +00:00
Brian Nicholson f880b41bf8 Bug 850693 - Create a NotificationHandler for each Fennec instance. r=kats
--HG--
rename : mobile/android/base/NotificationServiceClient.java => mobile/android/base/NotificationClient.java
rename : mobile/android/base/NotificationService.java => mobile/android/base/NotificationHandler.java
extra : rebase_source : 861bb500d9f1cd7cbc98a0c3628ddf7894e1e976
2013-03-21 13:32:11 -07:00
Chris Lord fae357a331 Bug 852565 - Don't expand the viewport for small pages. r=kats
Only expand the CSS viewport when a page reaches the screen size. If it's
smaller than the screen size, lock the dynamic toolbar and keep the same,
smaller CSS viewport. This 'fixes' sites that try to size themselves to the
size of the screen and get it wrong.
2013-03-21 11:23:49 +00:00
Chris Lord fefea759ce Bug 849573 - Handle interrupted tabs tray animation. r=sriram
If the tabs tray animation is interrupted to run in the opposite direction,
run the animation from the point the tray currently is, rather than snapping
it to the open or closed position first.
2013-03-20 23:43:47 +00:00
Brian Nicholson 3136d26edf Bug 851056 - Remove NotificationHandler. r=kats 2013-03-19 14:09:44 -07:00
Kartikaya Gupta 45793fac7f Bug 852163 - Unregister pref observer on activity destroy so that it doesn't leak the activity. r=Cwiiis 2013-03-18 17:41:36 +01:00
Chris Lord 08a93e05ce Bug 850889 - Fix jank when animating dynamic toolbar. r=kats
Only update the Gecko-side fixed layer margins when the view is fully visible
or hidden to avoid jank.
2013-03-18 15:43:03 +00:00
Chris Lord 88537cc4f4 Bug 850789 - Pin the dynamic toolbar on screen when the tabs tray is open. r=kats 2013-03-17 01:53:41 +00:00
Chris Lord ebd5b377b7 Bug 850724 - Don't hide toolbar on load, or pin while loading. r=kats
UX decisions have been made to not hide the toolbar after the page has finished
loading, and not to pin the toolbar during page loading. These decisions fix
this bug.
2013-03-17 01:53:40 +00:00
Kartikaya Gupta e0e4690d71 Bug 802130 - Move GeckoAppShell.getHandler() to ThreadUtils.getBackgroundHandler(). r=mfinkle 2013-03-15 11:52:53 +01:00
Kartikaya Gupta baeed09fed Bug 802130 - Move mMainHandler into ThreadUtils. r=mfinkle 2013-03-15 11:52:53 +01:00
Kartikaya Gupta 6b33d2a704 Bug 849955 - Put the quit menu item back for non-touchscreen devices on ICS and up. r=sriram 2013-03-13 11:41:56 +00:00
Chris Lord 1223d0af9b Bug 849845 - Map Gamepad L1/R1 to back/forward on Android. r=kats 2013-03-13 02:58:41 +00:00
Chris Lord 7e36d3f8d7 Bug 846772 - Observe dynamic toolbar pref on Android. r=kats
Respond to this pref changing instantly instead of requiring a restart.
2013-03-12 18:32:26 +00:00
Chris Lord 9e55e63817 Bug 849958 - Add primitive axis-locking code to dynamic toolbar. r=kats
Add some axis-locking code that adds a scroll threshold to toolbar appearance,
and stops the toolbar from appearing when scrolling down then up when the
toolbar isn't visible, or when scrolling side to side.
2013-03-12 17:58:13 +00:00
Ryan VanderMeulen b16b9555c1 Backed out 5 changesets (bug 846772) for Android reftest-3 orange on a CLOSED TREE. 2013-03-12 17:37:16 -04:00
Ryan VanderMeulen 34709ea94d Backed out changeset 71d1bd406c7e (bug 849845) and changeset af753b784e28 (bug 849958) to see if it fixes robocop timeouts on a CLOSED TREE. 2013-03-12 17:34:29 -04:00
Chris Lord dd471fc23a Bug 846772 - Observe dynamic toolbar pref on Android. r=kats
Respond to this pref changing instantly instead of requiring a restart.
2013-03-12 18:32:26 +00:00
Chris Lord 1f5c5c954a Bug 849845 - Map Gamepad L1/R1 to back/forward on Android. r=kats 2013-03-12 17:58:23 +00:00
Chris Lord 9f31fca337 Bug 849958 - Add primitive axis-locking code to dynamic toolbar. r=kats
Add some axis-locking code that adds a scroll threshold to toolbar appearance,
and stops the toolbar from appearing when scrolling down then up when the
toolbar isn't visible, or when scrolling side to side.
2013-03-12 17:58:13 +00:00
Chris Lord ac1e8ea7d8 Bug 849246 - Follow the scroll velocity for the dynamic toolbar. r=kats
In the rare situation that you cause a fast fling with a very short motion,
it's possible that the toolbar won't hide/show as you expect. Fix this by
saying that any swipe that's faster than the default animation speed
dictates the direction in which the toolbar moves.
2013-03-12 17:38:24 +00:00
Chris Lord ad176442fe Bug 849845 - Map Gamepad-Y to toggle chrome on Firefox/Android. r=kats 2013-03-12 13:22:01 +00:00
Kartikaya Gupta f9247ac9ce Back out ecc5ce4b7632 (bug 849955) for missing Android API level checks. r=me DONTBUILD 2013-03-12 10:15:46 +00:00
Kartikaya Gupta b713d88efa Bug 849955 - Put the quit menu item back for non-touchscreen devices on ICS and up. r=sriram 2013-03-12 10:09:09 +00:00
Brian Nicholson 549166e611 Bug 835022 - Switch to correct tab when a tab is closed. r=mfinkle 2013-03-11 16:09:14 -07:00