Commit Graph

17341 Commits

Author SHA1 Message Date
Martyn Haigh
98569ceeff Bug 1195216 - Last tab is cut off in tab tray in portrait; r=mcomella
--HG--
extra : commitid : I9ZX0ciwMef
extra : rebase_source : 195e773b4b0667bd7cb914cf3fba1803d3c018b9
extra : amend_source : 7817f5a3fc9c566574c39e10443b4841b528022f
2015-08-17 15:16:42 +01:00
Allison Naaktgeboren
f9028b72d5 Bug 1114821 - Remove nightly-only flag for about logins.r=liuche 2015-08-17 23:22:24 -07:00
Nick Alexander
e46a0d8dd6 No bug - Bump Google Play versions in Android Gradle versions. r=me
DONTBUILD NPOTB

We're seeing build failures since 6.5.+ doesn't match 6.5.87.  This
shouldn't be fuzzy, and it shouldn't be an ancient version of Google
Play Services either.  (In moz.build local builds , we're using a much
more recent version.  In automation, I'm not certain what we're
using.)

--HG--
extra : commitid : 6EjfXxM9FJy
2015-08-17 11:26:29 -07:00
Michael Comella
aa7784428b Bug 1194659 - Tint menu on phones. r=mhaigh
We were doing this on tablets but I forgot to add the lines to make it work on
phones.

--HG--
rename : mobile/android/base/resources/color-large-v11/action_bar_menu_item_colors.xml => mobile/android/base/resources/color/action_bar_menu_item_colors.xml
extra : commitid : 7mMxelznMN2
extra : rebase_source : 8407550ba68936fcc4eb344680a6c578d18707c5
2015-08-14 15:28:16 -07:00
Allison Naaktgeboren
01a7a08973 Bug 1189790 - Include bookmarks for Kinderfox.r=sebastian 2015-08-16 17:29:15 -07:00
Wes Kocher
2ac325deda Backed out changeset 965133e168d9 (bug 1189790) for android build failures CLOSED TREE 2015-08-14 15:30:24 -07:00
Allison Naaktgeboren
0d4b818f47 Bug 1189790 - Include bookmarks for Kinderfox.r=sebastian 2015-08-14 13:57:29 -07:00
Michael Comella
bf6e75549f Bug 1193042 - Change home panel dividers to @color/divider_light. r=ally
--HG--
extra : commitid : F91bFWWTKBu
extra : rebase_source : 0da8f931aaaa802b3ace64505b7fd2aa4527ef88
2015-08-11 14:57:00 -07:00
Sebastian Kaspari
3bebbc324a Bug 1177124 - Doorhanger: Hide title/favicon if they don't exist. r=liuche
--HG--
extra : commitid : KNxM9pTDNI
extra : rebase_source : 4d9de750d9c13580845a402554b4b02256242dcb
2015-08-12 15:30:57 +02:00
Pawel Golinski
502dd4cec5 Bug 1171929 - When sharing selected text, also include the current page URL, r=margaret 2015-08-13 18:31:53 -04:00
Michael Comella
30950b29b3 Bug 1193975 - Remove unused menuItemActionBarStyleNewTablet. r=mhaigh
--HG--
extra : commitid : 6pz1ZK8vf5s
extra : rebase_source : 478980dd8928de825141ec258a88aaf6a01ee69a
2015-08-12 16:31:32 -07:00
Michael Comella
3f6c0e339b Bug 1193975 - Remove NewTablet from ImageButton.TabCount. r=mhaigh
It seems the other attributes are not used on tablet so there was
no need to make a base style here.

--HG--
extra : commitid : BhP12EMHRbC
extra : rebase_source : 1a8153082fe5917b2c628fe0e5b19cdc5c850ca6
2015-08-12 16:29:01 -07:00
Michael Comella
66e95e3dcb Bug 1193975 - Remove NewTablet from ImageButton style. r=mhaigh
I feel like there's a better way to do this than using *Base, but
this is our current convention.

--HG--
extra : commitid : 4AFy34jzKw1
extra : rebase_source : 3befc2781abc759fe715e435458965dd296af361
2015-08-12 16:24:18 -07:00
Michael Comella
2a0e0e8d25 Bug 1193950 - Tint menu bar icons on pre-L devices. r=mhaigh
I wasn't using the wrapped drawable when setting the icon, which
curiously works on L+ devices, but not pre-L.

--HG--
extra : commitid : 9CZQGehAOIh
extra : rebase_source : 1f73a543049fa48a1e76e17b9042edb3354164d4
2015-08-12 15:54:30 -07:00
Michael Comella
8d94840259 Bug 1193580 - Losslessy compress png assets. r=liuche
Note that this not the originally reviewed patch in the bug, but a re-run of
the algorithm that produced that patch.

--HG--
extra : commitid : 51DOIx3PKb8
extra : amend_source : f2e6b601240a9b31df7aadd96f6c53f0a6c430ef
2015-08-13 10:43:51 -07:00
Michael Comella
9a09ae2b5b Bug 1150742 - Remove new from tablet_tabs_item_cell. r=mhaigh
--HG--
rename : mobile/android/base/resources/layout-v11/new_tablet_tabs_item_cell.xml => mobile/android/base/resources/layout-v11/tablet_tabs_item_cell.xml
extra : commitid : 8enviNWJHw9
extra : rebase_source : b7d94175b7315bf7eaf8f2207ef282c357baeaa6
2015-08-12 14:18:12 -07:00
Michael Comella
9b58750584 Bug 1150742 - Remove new_tablet from tab_strip. r=mhaigh
This involved renaming the existing tab_strip layout to tab_strip_inner
as it was originally contained within the new_tablet_tab_strip
layout.

--HG--
rename : mobile/android/base/resources/layout-large-v11/tab_strip.xml => mobile/android/base/resources/layout-large-v11/tab_strip_inner.xml
extra : commitid : BcURubawZQu
extra : rebase_source : f5fa77ecc956d93e0498670c87c73bc7046b6d0b
2015-08-12 14:14:33 -07:00
Michael Comella
801ecf4270 Bug 1150742 - Remove new_tablet from tab_strip_divider. r=mhaigh
--HG--
rename : mobile/android/base/resources/drawable-large-v11/new_tablet_tab_strip_divider.xml => mobile/android/base/resources/drawable-large-v11/tab_strip_divider.xml
extra : commitid : khnpQlmDmQ
extra : rebase_source : ccf8816619ca64f78a3c7156d7c929b84f645097
2015-08-12 14:08:04 -07:00
Michael Comella
282a73f622 Bug 1150742 - Remove new_tablet from tab_strip_add_tab. r=mhaigh
--HG--
rename : mobile/android/base/resources/drawable-large-v11/new_tablet_tab_strip_add_tab.xml => mobile/android/base/resources/drawable-large-v11/tab_strip_add_tab.xml
extra : commitid : KeNEkbjHrp7
extra : rebase_source : 0ab0d066b9aaf65e3da68aff3b19f5e1a18a9231
2015-08-12 14:06:16 -07:00
Michael Comella
3a5721beb4 Bug 1150742 - Remove new_tablet from tab_new_dark. r=mhaigh
--HG--
rename : mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_tab_new_dark.png => mobile/android/base/resources/drawable-large-hdpi-v11/tab_new_dark.png
rename : mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_tab_new_dark.png => mobile/android/base/resources/drawable-large-xhdpi-v11/tab_new_dark.png
extra : commitid : IG61WWEEGHD
extra : rebase_source : 4a806af5f00fbb19847d2455b86e91c179cf48ef
2015-08-12 14:04:09 -07:00
Michael Comella
335ca2edb8 Bug 1150742 - Remove new from tablet_menu. r=mhaigh
--HG--
rename : mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_menu.png => mobile/android/base/resources/drawable-large-hdpi-v11/tablet_menu.png
rename : mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_menu.png => mobile/android/base/resources/drawable-large-xhdpi-v11/tablet_menu.png
rename : mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_menu.png => mobile/android/base/resources/drawable-large-xxhdpi-v11/tablet_menu.png
extra : commitid : 5sdYVIMFXUg
extra : rebase_source : 7454817c17d08698509b30c086fd11bb99c24a23
2015-08-11 17:37:41 -07:00
Michael Comella
e43d07e314 Bug 1150742 - Remove new_tablet from tab_item_close_button. r=mhaigh
--HG--
rename : mobile/android/base/resources/drawable-large-v11/new_tablet_tab_item_close_button.xml => mobile/android/base/resources/drawable-large-v11/tab_item_close_button.xml
extra : commitid : D6dKYd9ejZw
extra : rebase_source : 7737baece70552048796abb3217aa036632eb125
2015-08-11 17:34:25 -07:00
Michael Comella
25cabbbde2 Bug 1150742 - Remove new from tablet_tab_close. r=mhaigh
tablet_* is not ideal but there is a collision between phone and tablet assets
so I filed bug 1193585 to complete this process.

--HG--
rename : mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_tab_close.png => mobile/android/base/resources/drawable-large-hdpi-v11/tablet_tab_close.png
rename : mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_tab_close_active.png => mobile/android/base/resources/drawable-large-hdpi-v11/tablet_tab_close_active.png
rename : mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_tab_close.png => mobile/android/base/resources/drawable-large-xhdpi-v11/tablet_tab_close.png
rename : mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_tab_close_active.png => mobile/android/base/resources/drawable-large-xhdpi-v11/tablet_tab_close_active.png
rename : mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_tab_close.png => mobile/android/base/resources/drawable-large-xxhdpi-v11/tablet_tab_close.png
rename : mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_tab_close_active.png => mobile/android/base/resources/drawable-large-xxhdpi-v11/tablet_tab_close_active.png
extra : commitid : LWgCmYlShK3
extra : rebase_source : 3ffb229ec8331fe5f6a67ba15efbb307756d6f36
2015-08-11 17:33:05 -07:00
Michael Comella
3f3c25cc00 Bug 1150742 - Remove new_tablet from url_bar_nav_button. r=mhaigh
--HG--
rename : mobile/android/base/resources/drawable-large-v11/new_tablet_url_bar_nav_button.xml => mobile/android/base/resources/drawable-large-v11/url_bar_nav_button.xml
rename : mobile/android/base/resources/drawable/new_tablet_url_bar_nav_button.xml => mobile/android/base/resources/drawable/url_bar_nav_button.xml
extra : commitid : I0Mvv7AFKnV
extra : rebase_source : 019b9ba0d19ab8be857dade48319734af5faa776
2015-08-11 17:24:44 -07:00
Michael Comella
0d01d2e4cf Bug 1150742 - Remove new_tablet from tab_strip_button. r=mhaigh
Also removed the drawable/ null reference because it was unneeded.

--HG--
rename : mobile/android/base/resources/drawable-large-v11/new_tablet_tab_strip_button.xml => mobile/android/base/resources/drawable-large-v11/tab_strip_button.xml
extra : commitid : 77namFkyFSm
extra : rebase_source : 9b6b79c3e48a8606c53fe24ef98db5302ff09e09
2015-08-11 17:11:43 -07:00
Michael Comella
0fa7dff4ec Bug 1150742 - Remove new_tablet from tabs_panel_back_button. r=mhaigh
--HG--
rename : mobile/android/base/resources/layout-large-v11/new_tablet_tabs_panel_back_button.xml => mobile/android/base/resources/layout-large-v11/tabs_panel_back_button.xml
extra : commitid : GGEjJ28CDKc
extra : rebase_source : 8087f9c3455d40e7b1fb819a706be12d9f961534
2015-08-11 17:07:09 -07:00
Michael Comella
4b330b3e7f Bug 1150742 - Rename new_tablet_nav_back -> tabs_panel_nav_back. r=mhaigh
--HG--
rename : mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_nav_back.png => mobile/android/base/resources/drawable-large-hdpi-v11/tabs_panel_nav_back.png
rename : mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_nav_back.png => mobile/android/base/resources/drawable-large-xhdpi-v11/tabs_panel_nav_back.png
rename : mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_nav_back.png => mobile/android/base/resources/drawable-large-xxhdpi-v11/tabs_panel_nav_back.png
extra : commitid : DqOh22ZJjDV
extra : rebase_source : 14cc7c56fba4a3c5f3fb6ffcf4c412075386d9bd
2015-08-11 17:04:07 -07:00
Michael Comella
1bc6ee7c2e Bug 1150742 - Remove new_tablet from ic_menu_reload. r=mhaigh
Similar deal to the previous two changesets on back and forward.

--HG--
rename : mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_ic_menu_reload.png => mobile/android/base/resources/drawable-large-hdpi-v11/ic_menu_reload.png
rename : mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_ic_menu_reload.png => mobile/android/base/resources/drawable-large-xhdpi-v11/ic_menu_reload.png
rename : mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_ic_menu_reload.png => mobile/android/base/resources/drawable-large-xxhdpi-v11/ic_menu_reload.png
extra : commitid : 2ZRttx8PHA7
extra : rebase_source : d8013c0beb117393be1896b4aced64fb2b6ab89e
2015-08-11 16:40:10 -07:00
Michael Comella
97cdbf6940 Bug 1150742 - Remove new_tablet_ from ic_menu_back. r=mhaigh
Similar deal to the previous commit on ic_menu_forward.

--HG--
rename : mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_ic_menu_back.png => mobile/android/base/resources/drawable-large-hdpi-v11/ic_menu_back.png
rename : mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_ic_menu_back.png => mobile/android/base/resources/drawable-large-xhdpi-v11/ic_menu_back.png
rename : mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_ic_menu_back.png => mobile/android/base/resources/drawable-large-xxhdpi-v11/ic_menu_back.png
extra : commitid : 9GWSjHkxs1G
extra : rebase_source : 0239ac2abeb5a59290d2f7e85072b3e053fd2c85
2015-08-11 16:35:49 -07:00
Michael Comella
093101013c Bug 1150742 - Move new_tablet_ic_menu_forward -> ic_menu_forward. r=mhaigh
This involved removing drawable-large-v11/ic_menu_forward.xml, which
was a null reference presumably there to save memory when the
browser_app menu loaded the forward menu item. Also, the
new_tablet_ic_menu_forward null reference for API 9 builds was
removed.

--HG--
rename : mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_ic_menu_forward.png => mobile/android/base/resources/drawable-large-hdpi-v11/ic_menu_forward.png
rename : mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_ic_menu_forward.png => mobile/android/base/resources/drawable-large-xhdpi-v11/ic_menu_forward.png
rename : mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_ic_menu_forward.png => mobile/android/base/resources/drawable-large-xxhdpi-v11/ic_menu_forward.png
extra : commitid : CWYwQraUXq0
extra : rebase_source : 5e7773df6166f61748534bd92fa11f6b179b7c9d
2015-08-11 16:32:22 -07:00
Michael Comella
a3adf2d3c5 Bug 1150742 - Move once-used forward button style to use in layout. r=mhaigh
When styles are only used once, there is no need to clutter up the
styles files for them.

--HG--
extra : commitid : 9LWpjKAugdG
extra : rebase_source : aabc89058146bdaa7b79168e4bd5b3584a3268e8
2015-08-11 16:29:25 -07:00
Michael Comella
573a0122b6 Bug 1150742 - Add note in layout.xml explaining what the @null references are. r=mhaigh
We could do this in many more places, but this is a start.

--HG--
extra : commitid : Bzhu8kLPbnF
extra : rebase_source : a1d8473b2fb9c16a5b05f2292280c093f90f0942
2015-08-06 17:33:13 -07:00
Michael Comella
e4e7f9fdd5 Bug 1150742 - Remove new_tablet prefix from color resources. r=mhaigh
--HG--
rename : mobile/android/base/resources/color-large-v11/new_tablet_tab_item_title.xml => mobile/android/base/resources/color-large-v11/tab_item_title.xml
rename : mobile/android/base/resources/color-large-v11/new_tablet_tab_strip_item_bg.xml => mobile/android/base/resources/color-large-v11/tab_strip_item_bg.xml
rename : mobile/android/base/resources/color-large-v11/new_tablet_tab_strip_item_title.xml => mobile/android/base/resources/color-large-v11/tab_strip_item_title.xml
extra : commitid : A8Ij25nvxyh
extra : rebase_source : 059e60c9e862cdcd4fbc272438f53cc7750e981d
2015-08-06 17:23:10 -07:00
Michael Comella
4febef9d9b Bug 1150742 - new_tablet_tabs_counter -> tabs_counter. r=mhaigh
This shadows the non-large config.

--HG--
rename : mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_tabs_count.png => mobile/android/base/resources/drawable-large-hdpi-v11/tabs_count.png
rename : mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_tabs_count.png => mobile/android/base/resources/drawable-large-xhdpi-v11/tabs_count.png
rename : mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_tabs_count.png => mobile/android/base/resources/drawable-large-xxhdpi-v11/tabs_count.png
extra : commitid : CyxFr06f0tS
extra : rebase_source : 70a90ea5b1e87d13e6382b2e68f149d5d4cff93a
2015-08-06 17:14:51 -07:00
Michael Comella
53cdf824b0 Bug 1150742 - Rename new_tablet_tabs_count_foreground -> tab_count_foreground. r=mhaigh
The new name shadows the non-large config.

--HG--
rename : mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_tabs_count_foreground.png => mobile/android/base/resources/drawable-large-hdpi-v11/tabs_count_foreground.png
rename : mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_tabs_count_foreground.png => mobile/android/base/resources/drawable-large-xhdpi-v11/tabs_count_foreground.png
rename : mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_tabs_count_foreground.png => mobile/android/base/resources/drawable-large-xxhdpi-v11/tabs_count_foreground.png
extra : commitid : Nvgxtzmpwy
extra : rebase_source : beee845b4fd55a2cfad92acd1c49fa73efa2652a
2015-08-06 17:08:11 -07:00
Michael Comella
e2048e44da Bug 1150742 - Rename new_tablet_tabs_counter -> tabs_counter. r=mhaigh
--HG--
rename : mobile/android/base/resources/layout-large-v11/new_tablet_tabs_counter.xml => mobile/android/base/resources/layout-large-v11/tabs_counter.xml
extra : commitid : 20gbfxlw62l
extra : rebase_source : d44c0d7f7130502ecadf456287e292db0c526e59
2015-08-06 17:04:57 -07:00
Michael Comella
54a378de84 Bug 1150742 - Removed unused new_tablet_tab_close. r=mhaigh
There were some of these in the drawable-large-* directories and this file is
only used in large+ configs, so it is unused.

--HG--
extra : commitid : FuHqXQ11ISf
extra : rebase_source : c6a25a3bff7a5fb371f74af83c2dec578dc975c5
2015-08-06 16:58:02 -07:00
Michael Comella
c5138043fd Bug 1150742 - Move new_tablet_action_bar_button -> browser_toolbar_action_bar_button. r=mhaigh
drawable/action_bar_button is used on tablets in some layouts
(e.g. tab_history_item_row) so we can't shadow it in
drawable-large-.../action_bar_button.

--HG--
rename : mobile/android/base/resources/drawable-large-v11/new_tablet_action_bar_button.xml => mobile/android/base/resources/drawable-large-v11/browser_toolbar_action_bar_button.xml
extra : commitid : BLxM1gazT1s
extra : rebase_source : 37099b8d31e1684993cc071c5359a05ccff97fc6
2015-08-06 16:54:55 -07:00
Michael Comella
84d9a29051 Bug 1193580 - Backout changeset 1c1d97b563f410d571e4925dab3f53fcae6c5272.
This is temporary and only to easy the landing of bug 1150742.

--HG--
extra : commitid : HqtUgOKzbAH
2015-08-13 10:27:24 -07:00
Martyn Haigh
53ce93df5b Bug 1194199 - Enable Tab Queue on Aurora; r=sebastian
--HG--
extra : commitid : 6Mq9RV2pavm
extra : rebase_source : 6815d5fe0a0a0667c3b869c7c8bd7d901e43fe7b
2015-08-13 14:31:10 +01:00
Ryan VanderMeulen
54ed420cc1 Merge m-c to fx-team. a=merge
CLOSED TREE
2015-08-13 11:19:59 -04:00
Ryan VanderMeulen
efce95618e Merge fx-team to m-c. a=merge 2015-08-13 11:00:54 -04:00
Jim Chen
ee3de3a3c3 Bug 1192082 - Iniialize/deinitialize JNI in nsAppShell; r=snorp
First we need to set the Gecko thread JNIEnv* in nsAndroidStartup, but
after that we can initialize and deinitialize the rest of JNI, including
AndroidBridge, in GeckoAppShell. This makes nsAppShell control the
AndroidBridge lifetime. Over time, parts of the AndroidBridge
functionality will be migrated to nsAppShell.
2015-08-13 00:53:40 -04:00
Jim Chen
b2e48dacd7 Bug 1192082 - Expose AndroidBridge arguments through GeckoThread; r=snorp
AndroidBridge needed some arguments during its initialization. We'll
provide those arguments in GeckoThread, which AndroidBridge will access.
2015-08-13 00:53:39 -04:00
Jim Chen
1d42b8bea5 Bug 1192082 - Get rid of GeckoAppShell.nativeInit; r=snorp
Instead of letting AndroidBridge be constructed separately, we'll let
Gecko construct AndroidBridge.
2015-08-13 00:53:39 -04:00
Jim Chen
b85528ed4a Bug 1192082 - Expose GeckoThread states to C++; r=me 2015-08-13 00:53:39 -04:00
Jim Chen
d1f529698f Bug 1192077 - Convert AndroidBridge JNIEnv calls; r=esawin 2015-08-13 00:53:39 -04:00
Jim Chen
29ee442159 Bug 1189995 - Move GeckoAppShell.pumpMessageLoop to GeckoThread; r=esawin
This method is used by Gecko to pump the Android message loop, and it's
also more suited to GeckoThread than GeckoAppShell.
2015-08-13 00:53:39 -04:00
Jim Chen
afb248e2fa Bug 1189995 - Move GeckoAppShell.runGecko to GeckoThread; r=esawin
GeckoAppShell.runGecko really should be in GeckoThread because
GeckoThread already takes care of most of the preparation when running
Gecko. This patch merges runGecko into GeckoThread.run, but split the
argument-building code into its own method.
2015-08-13 00:53:39 -04:00
Jim Chen
a73169a9de Bug 1191083 - Merge pending events handling into mechanism for queued native calls: r=snorp
Right now we have a separate way of handling pending events before Gecko
is loaded. We can merge that into the new mechanism for queuing native
calls.
2015-08-13 00:53:38 -04:00