Commit Graph

17459 Commits

Author SHA1 Message Date
Fabrice Desré
2e46ff4eff Bug 1181209 - Make changes to Gecko needed for b2gdroid to boot. r=fabrice
--HG--
extra : commitid : 9ntMFgbvjmP
extra : rebase_source : e47230e20d81d2207e129ca451c6e9cfe341ba55
2015-08-25 13:42:24 -07:00
Nick Alexander
ec5b1fa5b6 Bug 1180358 - Part 2: Build the b2gdroid APK. r=glandium,fabrice
--HG--
extra : commitid : DXlRNQKafNT
extra : rebase_source : 86b0f1e502d77938b38d6d74a812284e8a4cb574
2015-08-25 13:41:07 -07:00
Fabrice Desré
8884986827 Bug 1180358 - Part 1: Add the b2gdroid sub-product. r=fabrice
--HG--
extra : commitid : KnBczv1pVI0
extra : rebase_source : aa18f0a525ae975d6080f8b41ea74d105fea329b
2015-08-25 13:40:04 -07:00
Allison Naaktgeboren
b710e6b7dc Bug 1197979 - Tools > Logins menu item is not visible.r=mfinkle 2015-08-27 15:19:50 -07:00
Michael Comella
3214532ac8 Bug 1105563 - Move Themed* to widget.themed package. r=nalexander
--HG--
rename : mobile/android/base/widget/ThemedEditText.java => mobile/android/base/widget/themed/ThemedEditText.java
rename : mobile/android/base/widget/ThemedFrameLayout.java => mobile/android/base/widget/themed/ThemedFrameLayout.java
rename : mobile/android/base/widget/ThemedImageButton.java => mobile/android/base/widget/themed/ThemedImageButton.java
rename : mobile/android/base/widget/ThemedImageView.java => mobile/android/base/widget/themed/ThemedImageView.java
rename : mobile/android/base/widget/ThemedLinearLayout.java => mobile/android/base/widget/themed/ThemedLinearLayout.java
rename : mobile/android/base/widget/ThemedRelativeLayout.java => mobile/android/base/widget/themed/ThemedRelativeLayout.java
rename : mobile/android/base/widget/ThemedTextSwitcher.java => mobile/android/base/widget/themed/ThemedTextSwitcher.java
rename : mobile/android/base/widget/ThemedTextView.java => mobile/android/base/widget/themed/ThemedTextView.java
rename : mobile/android/base/widget/ThemedView.java => mobile/android/base/widget/themed/ThemedView.java
rename : mobile/android/base/widget/ThemedView.java.frag => mobile/android/base/widget/themed/ThemedView.java.frag
rename : mobile/android/base/widget/generate_themed_views.py => mobile/android/base/widget/themed/generate_themed_views.py
extra : commitid : Hxqk5cim4os
extra : rebase_source : 84565ed3333657f00bc19f46919f47c19a30dd8a
2015-08-26 14:28:05 -07:00
Michael Comella
51df85c5b8 Bug 1155331 - Annotate MediaPlayerManager with @ReflectionTarget. r=nalexander
The annotated methods were using @JNITarget, which would do the same thing.
However, @ReflectionTarget is clearer (like a good variable name).

proguard.cfg states a class with an annotated member will be kept so we
shouldn't need to worry about not being able to retrieve the class via
reflection.

--HG--
extra : commitid : 9ji4YNIP4GE
extra : rebase_source : 780f1d1dd4fcc95545152d19896db0a376f38d48
2015-04-15 11:46:20 -07:00
Michael Comella
acac98ee7c Bug 1155331 - Add ReflectionTarget annotation. r=nalexander
This is a clone of @JNITarget and @RobocopTarget.

--HG--
extra : commitid : AhiQ1OmtCY0
extra : rebase_source : 6fb3880e2368a163292b968084991ca965a12211
extra : source : 62dbceeb9f18238ed2725564db03a2a2c6491f94
2015-04-16 10:10:25 -07:00
Michael Comella
fd261e57b4 Bug 1196553 - Set secondary action bar colors on phone. r=margaret
I previously set this for tablet but didn't (for an unknown reason) set this
for phones as well.

--HG--
rename : mobile/android/base/resources/color-large-v11/action_bar_secondary_menu_item_colors.xml => mobile/android/base/resources/color/action_bar_secondary_menu_item_colors.xml
extra : commitid : 9xV13qVkTCr
extra : rebase_source : f5c310d1ac68096be557a8992ba366bb0c99df0a
2015-08-25 17:22:11 -07:00
Michael Comella
304ded6791 Bug 1198369 - Go to fallback url before searching store for Intent handler. r=margaret
This behavior mimics Chrome's.

--HG--
extra : commitid : CXhcWDaP4Fn
extra : rebase_source : 95c4d0047a31dbf3ed72c4c05d5cf59edc4c54f1
2015-08-25 13:56:29 -07:00
Michael Comella
69e742b7a2 Bug 1195517 - Remove unused ic_menu_quit from gecko_app. r=liuche
This doesn't appear in Fennec builds and I don't know which web apps "quit"
could appear in so I didn't test this in a web app. I can confirm no issues
with a typical Fennec build, however.

--HG--
extra : commitid : LbNepxFEs3P
extra : rebase_source : 687af1c7750c4fb0f3c866dfcaae8291494e146c
2015-08-17 15:56:53 -07:00
Michael Comella
ad233b8353 Bug 1195517 - Remove unused ic_menu_addons_filler. r=liuche
This also removes code to set an icon from an addon, which is unused because,
afaik, addons' icons are also hidden. iirc, there was a bug open on whether we
want addons to be able to show icons (e.g. could be used to show status), but
we can reimplement this if that bug is ever decided.

I was not able to test this with an addon that sets an icon but I did test that
the application did not crash with no addons installed.

--HG--
extra : commitid : BI54BWOip3Y
extra : rebase_source : d170349006588ebcecab4817bb5d3388467106e7
2015-08-17 15:29:52 -07:00
Michael Comella
fa64b9cc7f Bug 1195517 - Remove unused desktop_mode menu icons. r=liuche
--HG--
extra : commitid : DY5MkaYedbK
extra : rebase_source : 4395562de44a578f63337870e8c6d711f4412868
2015-08-17 15:11:13 -07:00
Michael Comella
ded24afe3b Bug 1195517 - Remove simple unused menu drawables. r=liuche
On GB devices, ic_menu_new_*tab is in the base menu, unlike the other
configurations, so it stayed on GB.

More complex removals to follow.

I tested this by clicking on all of the base menu items on a Lollipop phone,
KitKat large tablet, and a GB phone.

--HG--
extra : commitid : EBgTEO7y9qt
extra : rebase_source : 30c880c2d36c5f5336af50a5460f3bb1d6578117
2015-08-17 14:50:58 -07:00
Ryan VanderMeulen
ab2fbd634c Backed out changeset 159775bbf798 (bug 1193745) for robocop crashes.
CLOSED TREE

--HG--
extra : amend_source : db773a8b798b7794f3a624c225039b7b5a71c1b6
2015-08-27 10:55:28 -04:00
Sebastian Kaspari
505f302fc0 Bug 1189402 - RestrictionProvider: Ignore location service restriction if stumbler is disabled at build time. r=ally
--HG--
extra : commitid : LQuqvBirSVI
extra : rebase_source : 75dce7df1a16200ff772a60370e96926b080adc8
2015-08-14 17:31:47 +02:00
Martyn Haigh
6d01612636 Bug 1193745 - Implement the tablet tabs tray grid view on mobile r=mcomella
--HG--
extra : commitid : 54i2vPlOpHz
2015-08-27 13:09:28 +01:00
Martyn Haigh
197c1b99e8 Bug 1164723 - Inherit from Tablet UI on Mobile UI (aka compact tabs); r=mcomella
--HG--
rename : mobile/android/base/resources/color-large-v11/tab_item_title.xml => mobile/android/base/resources/color/tab_item_title.xml
rename : mobile/android/base/resources/drawable-large-hdpi-v11/tablet_tab_close_active.png => mobile/android/base/resources/drawable-hdpi/tab_close_active.png
rename : mobile/android/base/resources/drawable-large-xhdpi-v11/tablet_tab_close_active.png => mobile/android/base/resources/drawable-xhdpi/tab_close_active.png
rename : mobile/android/base/resources/drawable-large-xxhdpi-v11/tablet_tab_close.png => mobile/android/base/resources/drawable-xxhdpi/tab_close.png
rename : mobile/android/base/resources/drawable-large-xxhdpi-v11/tablet_tab_close_active.png => mobile/android/base/resources/drawable-xxhdpi/tab_close_active.png
rename : mobile/android/base/resources/drawable-large-v11/tab_item_close_button.xml => mobile/android/base/resources/drawable/tab_item_close_button.xml
rename : mobile/android/base/resources/layout-v11/tablet_tabs_item_cell.xml => mobile/android/base/resources/layout/tabs_layout_item_view.xml
extra : commitid : LAnVcZRLhgK
extra : rebase_source : a6becaa362762851c69e078b1a4806b5d72badcd
2015-08-25 12:43:43 +01:00
Ahmed Khalil
b46a958ebe Bug 1180287 - Hide client records that are likely to be duplicates or stale. r=rnewman 2015-08-26 11:16:00 -04:00
Ryan VanderMeulen
3e3e1cbd1d Merge m-c to fx-team. a=merge 2015-08-26 14:34:15 -04:00
Chenxia Liu
212d0d8df8 Bug 1186037 - Import bookmarks and history from stock browser (Samsung S4, Android 4.4.2) doesn't work. r=mhaigh
--HG--
extra : commitid : LCpaq08yMFJ
extra : rebase_source : b3990d5c8e18678f7193aa757a2f07312d2d28a7
2015-08-13 11:45:23 -07:00
Sebastian Kaspari
70f4d0f828 Bug 1182514 - Add Lightweight theme for restricted profiles. r=margaret
--HG--
extra : commitid : 5oxYhEqVgGY
extra : amend_source : 8caa50a3d30dc2e377611d87f906a08d85e71d30
2015-08-07 13:23:18 +02:00
Margaret Leibovic
f26d44b048 Bug 1185927 - Don't show extra dialog when user cancels add-on download. r=sebastian
--HG--
extra : commitid : J8UG43A1wQy
extra : rebase_source : ea32433c55854275de6615ca88ab068a74168c93
2015-08-20 13:15:35 -07:00
Justin Inouye
2506814df2 Bug 1146735 - Change outer container to FrameLayout. r=liuche
--HG--
extra : commitid : 7xF6a73qIia
extra : rebase_source : 35d890aeb04caa28015487d9cc130ff5b7f2ce46
2015-08-24 18:23:29 -07:00
Ryan VanderMeulen
1d04070e5b Merge fx-team to m-c. a=merge 2015-08-24 20:57:36 -04:00
Yury Delendik
227cd6c1dc Bug 1192831 - Remove PlayPreview API. r=jet, r=peterv
--HG--
extra : rebase_source : 7486debb89472aa52d034a8eb458245d7daec5ff
extra : source : 2d9ed9032a45d4c3644f40420428e1a8441785db
2015-08-20 15:15:18 -05:00
James Willcox
27e3e5e35a Bug 1196816 - Include MOZ_APP_ABI in Android crash reports r=jchen 2015-08-24 12:52:07 -05:00
Jim Chen
e49ab80037 Bug 991167 - Add UI and background thread event listener support; r=mcomella 2015-08-19 18:14:48 -04:00
Jim Chen
730ae55c51 Bug 991167 - Add BundleEventListener class; r=mcomella 2015-08-19 18:14:48 -04:00
Jim Chen
a800417633 Bug 1195496 - Move speculative connection from CLH to GeckoApp; r=snorp
Moving speculative connection from CLH to GeckoApp allows us to start
the speculative connection very early in the startup process rather
than later in startup.
2015-08-19 18:14:47 -04:00
Jim Chen
192182c441 Bug 1195496 - Implement speculative connection method in GeckoThread; r=snorp
One thing we do in the Fennec CLH is to make a speculative connection
based on the URI that's passed in. However, by the time the CLH runs,
we're far along into startup, and the advantage of a speculative
connection is reduced. This patch implements making speculative
connection as a method in GeckoThread, so that Fennec can make a
speculative connection without relying on the Fennec CLH.
2015-08-19 18:14:47 -04:00
Jim Chen
93533110bc Bug 1195496 - Add PROFILE_READY Gecko state; r=snorp
Many Gecko operations depend on the profile being available. This
patch adds a PROFILE_READY Gecko state so that we can queue calls
until profile is loaded.
2015-08-19 18:14:47 -04:00
Jim Chen
1cba8bd3ef Bug 1195496 - Associate queued calls with available states; r=snorp
Many calls are associated with a Gecko state when they become available.
For example, calls that only depend on XPCOM become available very early
in startup, at the JNI_READY state. However, calls that depend on JS
components may only be available at the end of startup, at the RUNNING
state.

This patch adds an available state to every queued call, so that calls
can be made as soon as they become available, which is important for
calls like making speculative connections.
2015-08-19 18:14:47 -04:00
Kartikaya Gupta
fa26656650 Bug 1180267 - Switch Fennec over to using the MobileViewportManager for computing the CSS viewport. r=snorp
--HG--
extra : commitid : IwWBhpML3bl
2015-08-24 13:45:45 -04:00
Michael Comella
d6d2e71bc2 Bug 1197413 - Don't change alpha when disabling tablet nav buttons. r=sebastian
The enabled/disabled colors are set via ColorStateLists so the alpha
is unnecessary.

--HG--
extra : commitid : 3u4xoGQlD3E
extra : rebase_source : 0b9868ed14ad54d8de17f2b4cd12185b78e1c22a
2015-08-21 17:17:24 -07:00
Michael Comella
072be97d3b Bug 1197413 - Switch setColorFilter to setPrivateMode in tablet toolbar. r=sebastian
This patch has a side effect of changing the color of the forward
button as it animates forward and back, but it's minimal enough
that I'm okay with it, and it cleans up disabled/private state color
management (particularly after the following patch).

--HG--
extra : commitid : B1r30FDcCZv
extra : rebase_source : 1107016d428ac01c6331048b415736b79c634529
2015-08-21 17:10:30 -07:00
Michael Comella
a44b043fbb Bug 1197412 - Move drawableTintList to ThemedImage*. r=sebastian
Previously, it was available in MenuItemActionBar, which extends
ThemedImageButton.

Additionally, fix a bug about using android:tint when drawableTintList was not
used.

--HG--
extra : commitid : AZiAsNQkD4c
extra : rebase_source : c54b361b27aa6b7d14c030409ad86531a9516549
2015-08-21 18:05:33 -07:00
Martyn Haigh
d237378102 Bug 1193374 - Remove tab panel preview dimension dependency from TopSites r=mcomella
--HG--
extra : commitid : 5b8ohlvHobz
extra : rebase_source : a71a39c54444d5c6d9907fb8830aa2ed72756e77
2015-08-24 15:34:24 +01:00
Jonathan Almeida [:jonalmeida]
fe38a9ae38 Bug 1196327 - Toast background is the same color as the tabs tray background. r=mcomella
--HG--
extra : transplant_source : %3B%09%D5R%A6_%DAa%00%F5%9B%1E%7CW%89%02%CB3%A0%B0
2015-08-20 20:06:21 -07:00
Ryan VanderMeulen
5b75ad5195 Merge inbound to m-c. a=merge 2015-08-23 17:18:36 -04:00
Ryan VanderMeulen
7e078b31d6 Backed out changeset 2d9ed9032a45 (bug 1192831) for suspicion of causing bug 1178709 to spike. 2015-08-23 15:21:23 -04:00
Chenxia Liu
59e6183cef Bug 1194896 - Add telemetry notification for interacting with data policy notification. r=mcomella
--HG--
extra : commitid : 3uEr70eDpEX
extra : rebase_source : 2775881071eb0f0feabd9a762c3757939b5bc239
2015-08-14 16:00:56 -07:00
Nick Alexander
39f4c891ef Bug 1191067 - Pre: Add MOZ_ANDROID_NATIVE_ACCOUNT_UI build flag. r=glandium
Currently, all versions of Firefox run with the existing native
Firefox Account UI.  This flag will opt-in to maintaining that
experience while we transition to a web account UI.  Once we're stable
on the web, we'll remove this flag entirely.

--HG--
extra : commitid : CmokCKcYNJQ
extra : rebase_source : eb7e8f136f9a5134f84c8dbe111841b72827146a
2015-08-04 16:54:00 -07:00
Michael Comella
897b12171c Bug 1197014 - Add ThemedFrameLayout. r=sebastian
Note that this file is auto-generated from generate_themed_views.py.

--HG--
extra : commitid : 2b6fhN8Wts0
extra : rebase_source : bc26ceb131a74434d99695660fd104893a16d5b7
2015-08-20 17:12:58 -07:00
Michael Comella
0f19026bbe Bug 1197014 - Add previous ColorUtils change to template. r=sebastian
This was originally implemented in bug 1169435 but not carried over to the
template.

--HG--
extra : commitid : 6apREWAyPi2
extra : rebase_source : 31d415df11eae0141df70e03b7c59b6f28aeaa2a
2015-08-20 17:11:12 -07:00
vivek
e5d9b17494 Bug 1183588 - Material design swipe refresh pattern changes r=mcomella.
--HG--
extra : commitid : ITs5aIPAhbi
extra : rebase_source : 8d91f382305706ccaccad86c03b35b84c9d14270
2015-08-19 21:31:50 +03:00
vivek
98685d36e0 Bug 1183588 - Pre:Enforce strict threading policy for Sync status change callback r=nalexander.
--HG--
extra : commitid : GPUhbkA2tG1
extra : rebase_source : d0d1eb0e5b36facdebcc93fdc0a8b7822b81699d
2015-08-19 21:16:10 +03:00
Martyn Haigh
f245546806 Bug 1139202 - Create tabs panel thumbnail for about:privatebrowsing pages; r=mcomella
--HG--
extra : commitid : 9ZZLhc24BEj
extra : rebase_source : 49c7d821734942680a6556ba5c7e8032421413c3
2015-08-21 11:16:46 +01:00
Sebastian Kaspari
f07a882610 Bug 1189347 - RestrictedProfileConfiguration: Cache restrictions to avoid unnecessary disk reads. r=ally,rnewman
--HG--
extra : commitid : DZwLz2vGoYL
extra : amend_source : 169b1ee81e8e43c4860e6f3478984882337d05b2
2015-08-21 12:14:12 +02:00
Sebastian Kaspari
e783cee8b5 Bug 1189347 - RestrictedProfiles: Exit early in isGuest/RestrictedProfile() to avoid unnecessary disk reads. r=ally
--HG--
extra : commitid : 20py0pJw9SG
extra : amend_source : 355a0f5d3e85719e9a997ea2949638b9acd99e2b
2015-08-21 12:12:12 +02:00
Sebastian Kaspari
c26d316129 Bug 1195692 - CommandProcessor: Use NotificationCompat.Builder to create notifications. r=mcomella
--HG--
extra : commitid : 3CG46XOkoNS
2015-08-21 11:54:47 +02:00