Commit Graph

17540 Commits

Author SHA1 Message Date
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
Sebastian Kaspari
dea680b76c Bug 1195692 - UpdateService: Use NotificationCompat.Builder to create notifications. r=esawin
--HG--
extra : commitid : ImA5u1MFZJF
extra : rebase_source : fa2630fdd1b46a1cadbbcfa0e1f0c545693cfa2f
2015-08-21 11:52:25 +02:00
Chenxia Liu
943856d2ea Bug 1183837 - "Tab closed" toast no longer truncates page title. r=mcomella
--HG--
extra : commitid : HmAaElgqS2o
extra : rebase_source : 4afd4c5cb8a84f56bcb9569a7b21b290f1af0e7a
2015-08-20 15:19:38 -07:00
Nick Alexander
a099fca045 Bug 1196970 - Part 6: Copy preprocessed resources from objdir to build directory during Gradle build. r=sebastian
DONTBUILD NPOTB

This means we don't require the directory in the object directory at
gradle-install time.  We're not concerned if the resource files are
missing, since we have code to ensure they're fresh already; and if
they are missing, we'll quickly fail as we try to process the resource
set.

--HG--
extra : histedit_source : 04767c8e86c7012ed3c46564e5660b17e1355607
extra : rebase_source : 658cedf4a698d603571153cefb128b87a6ad6a2e
extra : commitid : DIwvp3ib9Z9
extra : source : 00e1cd6d04c03a65433b01cea194edf7c9d7c835
extra : amend_source : 244a950264c0d10cf495a3a7d7d5ef52eab2da14
2015-08-07 17:00:51 -07:00
Nick Alexander
0870e687d8 Bug 1196970 - Part 5: Copy preprocessed code from objdir to build directory during Gradle build. r=sebastian
This means we don't require the directory in the object directory at
gradle-install time.  We're not concerned if the source files are
missing, since we have code to ensure they're fresh already; and if
they are missing, we'll quickly fail as we try to compile with missing
sources.

--HG--
extra : commitid : IIuTcQiEJ37
extra : rebase_source : 640e8f2005b71d1c79719dcecc56efb8540341fa
extra : source : f8bc8f04b3c01cf62403f09cc3a4b37826e280bc
extra : histedit_source : 34335f47dd33a07585ef8e8a24bdc7cb43b62239
2015-08-07 16:38:43 -07:00
Nick Alexander
7671929209 Bug 1196970 - Part 4: Copy omni.ja, native libraries, and asset libraries from dist/fennec manually. r=sebastian
This allows us to not require dist/fennec/* to exist in the object
directory at gradle-install time.  It gets us one small step closer to
being able to sit down to a fresh source tree and open a Fennec
project in IntelliJ.

--HG--
extra : commitid : KNnKth56I1L
extra : rebase_source : b4fae1033335760dd3d6d9b8b71ffb7bbb1a6906
extra : source : 7b5b6adc5ac69fd733f9937dd846c52bff36af0a
extra : histedit_source : cb05d3690f909db51cd6116cc80b070f62338001
2015-08-18 10:51:10 -07:00
Nick Alexander
b429a68a44 Bug 1196970 - Part 3: Keep all preprocessed_code references in the objdir. r=sebastian
This was just an oversight.  The Gradle configuration referenced
topsrcdir rather than having a symlink via the objdir.  This didn't
impact the Gradle build, but it did make the preprocessed_code Gradle
project appear outside of the root Gradle project in IntelliJ.

--HG--
extra : commitid : As00AcCfYkr
extra : rebase_source : 1d5b79f5e4439306a5a9e7d625e39ef97d37d1eb
extra : source : fcec6d827887e3e64ebd610ef4f893d11dde52ab
extra : histedit_source : 70790f27c201462e5346660f5eb39e39303bdc8d
2015-08-07 14:05:50 -07:00
Nick Alexander
806d7966a4 Bug 1196970 - Part 2: Make all Android Gradle projects generateCodeAndResoures. r=me
It's convenient to know that the object directory is up-to-date (after
|make gradle-targets|) before any Gradle project builds.

--HG--
extra : commitid : 2WaqMEqw3mx
extra : rebase_source : 2dea8249b329d82d9c89b5defa7e13d4aff60566
extra : source : eb170abcc91b4714874e97b58b371e242aee9699
extra : histedit_source : 92a62bd75dfa289f3ede4592d4a224ad135d3b6b
2015-08-20 15:10:06 -07:00
Nick Alexander
600934bfac Bug 1196970 - Part 1: Fix some dependency paths. r=me
--HG--
extra : commitid : AcixmeCeASb
extra : rebase_source : c4659af6c45c8ce153cf47f9cb5df4229ae13e90
extra : source : 37f6f08a839dbc5f3c940dfd02e1537535ee129e
extra : histedit_source : da6d791c46f62cc5d73d8d650b94d5cee70b9cf7
2015-08-20 15:10:34 -07:00
dominique vincent
e32719478d Bug 1192075 - Change copy in Settings for Zoomed View/ magnifying glass preference. r=mcomella
--HG--
extra : source : e32341309d701cb6fb360accd3afe937be10ba20
2015-08-20 13:44:18 -07:00
Wes Kocher
a7cefecb3e Backed out changeset e32341309d70 (bug 1992075) for landing with the wrong bug number
--HG--
extra : amend_source : be5b170b5b8030a856b2873846bc6f0c447f93f3
2015-08-20 13:50:27 -07:00
Mike Taylor
89cc9566a7 Bug 1175378. Remove unused image assets. r=margaret 2015-08-20 13:44:37 -07:00
dominique vincent
df8503e81a Bug 1992075 - Change copy in Settings for Zoomed View/ magnifying glass preference. r=mcomella 2015-08-20 13:44:18 -07:00
Wes Kocher
47d9d26a9a Merge m-c to fx-team, a=merge 2015-08-20 12:53:30 -07:00
Wes Kocher
d8fffe1765 Merge inbound to central, a=merge 2015-08-20 12:42:21 -07:00
Michael Comella
ccd7fd6510 Bug 1193974 - Remove new from tablet_tab_strip id. r=mhaigh
--HG--
extra : commitid : 9S29ZSI0bt
extra : rebase_source : a3b17fe00636231052f7dc807110de9a9d4c9670
2015-08-19 16:15:30 -07:00
Michael Comella
aaf1e1346e Bug 1193974 - Remove new from tablet_* dimens. r=mhaigh
We could remove tablet_* and move these values to the values-large
configuration but it's scope creeping for not much gain. The
attributes are prepended with tablet_* so they should be easy to
fix in the future should we choose to.

Refactoring automated w/ Intellij.

--HG--
extra : commitid : 5hpv5cg2MUF
extra : rebase_source : 696b181495e6943effd40f0db5051c647ab54bda
2015-08-19 16:13:08 -07:00
Michael Comella
0d50659002 Bug 1193974 - Remove new from tablet_* colors. r=mhaigh
Refactor automated w/ Intellij.

--HG--
extra : commitid : LkQximhki7O
extra : rebase_source : fcea0461356fa6274bd16af3abfe35ac6c362b03
2015-08-19 15:59:43 -07:00
Ehsan Akhgari
f9752f535c Bug 1196361 - Remove the media.useAudioChannelService pref; r=baku
We need to rely on the audio channel service for all products now,
so supporting running without it seems pointless at this point.
2015-08-19 21:00:18 -04:00
Michael Comella
960774d138 Bug 1196005 - Add l10n note for "Private Browsing" capitalizations. r=margaret
--HG--
extra : commitid : IDOPBIWMTex
extra : rebase_source : 624d78d49de9f07170b7bcb5a78b85ef7a5197ba
2015-08-18 14:33:23 -07:00
Sebastian Kaspari
cfcb34dfd8 Bug 1084062 - Support read/unread state in reading list UI. r=mhaigh
--HG--
extra : commitid : 3su8zvEUDZv
extra : rebase_source : fbd7f06405bc7a4c1ba6034f31abd7911ed7179a
2015-08-14 10:17:40 +02:00
Ryan VanderMeulen
0af4684422 Merge fx-team to m-c. a=merge 2015-08-19 07:45:12 -04:00
William Chen
6d6411c090 Bug 1131470 - Part 2: Update screen configuration HAL to report orientation angle. r=snorp,mwu
--HG--
extra : rebase_source : c6eb4dd4f54b1e9db7e7d2c39e535ba4bcd8af1f
2015-08-18 14:55:15 -07:00
Martyn Haigh
e86191b612 Bug 1193337 - Checkboxes in doorhangers are not working; r=liuche
--HG--
extra : commitid : 7PxEyr9UtDI
2015-08-18 15:09:25 +01:00
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
Kartikaya Gupta
7f8409f0d4 Bug 1180295 - Fix layerview positioning when dynamic toolbar is turned off. r=rbarker
--HG--
extra : commitid : DglAYIXsvtT
2015-08-18 14:27:20 -04:00
Kartikaya Gupta
d54ad14fa5 Bug 1180295 - Remove the margins information from ImmutableViewportMetrics. r=rbarker
--HG--
extra : commitid : 5VpOP33T9F4
2015-08-18 14:27:20 -04:00
Kartikaya Gupta
2cb02dbf56 Bug 1180295 - Fix up the overscroll edge effect. r=rbarker
--HG--
extra : commitid : IA0frj2geUU
2015-08-18 14:27:20 -04:00
Kartikaya Gupta
5d5556600e Bug 1180295 - Update the FormAssistPopup to account for the new dynamic toolbar model. r=rbarker
--HG--
extra : commitid : GeBruH6hqiI
2015-08-18 14:27:20 -04:00
Kartikaya Gupta
cf36c6c82f Bug 1180295 - Update the ZoomedView calculations to account for the new dynamic toolbar model. r=rbarker
--HG--
extra : commitid : 4yQBBsXcnqs
2015-08-18 14:27:20 -04:00
Kartikaya Gupta
0a4b4e1c35 Bug 1180295 - Make the text selection handles position correctly. r=rbarker
--HG--
extra : commitid : CqkOyblg5r8
2015-08-18 14:27:20 -04:00
Kartikaya Gupta
1db1586922 Bug 1180295 - Implement seamless snapping to the stable state. r=rbarker
--HG--
extra : commitid : BCRW1BHPhL8
2015-08-18 14:27:20 -04:00
Kartikaya Gupta
5ba8c32366 Bug 1180295 - Ensure we don't scroll past the end of the page. r=rbarker
--HG--
extra : commitid : 1y6f6Li4Zl4
2015-08-18 14:27:20 -04:00
Kartikaya Gupta
9e624195ef Bug 1180295 - Ensure short pages are dealt with appropriately, so that the toolbar can be made visible but not hidden. r=rbarker
--HG--
extra : commitid : Cz2DgpkiEyI
2015-08-18 14:27:19 -04:00
Kartikaya Gupta
c557d5abdd Bug 1180295 - Ensure that on rotation/resize the CSS viewport is resized to the right size. r=rbarker
--HG--
extra : commitid : F2yim0rSeSP
2015-08-18 14:27:19 -04:00
Kartikaya Gupta
5642873d53 Bug 1180295 - Delete the LayerMarginsAnimator class and its dangling entrails. r=rbarker
--HG--
extra : commitid : FCBYUNOO8Yr
2015-08-18 14:27:19 -04:00
Kartikaya Gupta
6cf72f3a6f Bug 1180295 - Remove the unneeded margin code from JavaPanZoomController and Axis. r=rbarker
--HG--
extra : commitid : Bfkmg6iXCsr
2015-08-18 14:27:19 -04:00
Kartikaya Gupta
9881f8e7c2 Bug 1180295 - Stop exposing the old LayerMarginsAnimator from LayerView. r=rbarker
--HG--
extra : commitid : gylO6cArx3
2015-08-18 14:27:19 -04:00
Kartikaya Gupta
486a855404 Bug 1180295 - Update actionbar show/hide code to use the new dynamic toolbar code. r=rbarker
--HG--
extra : commitid : 8L6VlJZ8cdN
2015-08-18 14:27:19 -04:00
Kartikaya Gupta
13fa31d293 Bug 1180295 - Update fullscreen code to just pin the toolbar in the hidden state. r=rbarker
--HG--
extra : commitid : 2jAW3CmmErZ
2015-08-18 14:27:19 -04:00
Kartikaya Gupta
a526fb3a7c Bug 1180295 - Hook up the fixed-position layer margins to the DynamicToolbarAnimator. r=rbarker
--HG--
extra : commitid : FXNKkhZ5VHl
2015-08-18 14:27:19 -04:00
Kartikaya Gupta
29e63f503a Bug 1180295 - Store the viewport width and height as integers instead of floats in ImmutableViewportMetrics. r=rbarker
--HG--
extra : commitid : 8UdQhaVHspN
2015-08-18 14:27:19 -04:00
Kartikaya Gupta
33054ab6d5 Bug 1180295 - Hook up toolbar show/hide animations to the DynamicToolbarAnimator. r=rbarker
--HG--
extra : commitid : FVdyCAO3PMH
2015-08-18 14:27:18 -04:00
Kartikaya Gupta
40983eccc4 Bug 1180295 - Disconnect scrolling notifications going to LayerMarginsAnimator. r=rbarker
--HG--
extra : commitid : FegoJSTWCqP
2015-08-18 14:27:18 -04:00
Kartikaya Gupta
3251587c6a Bug 1180295 - Hook up touch-based scrolling to the new DynamicToolbarAnimator. r=rbarker
--HG--
extra : commitid : 426t4Z4evey
2015-08-18 14:27:18 -04:00
Kartikaya Gupta
ad2555149f Bug 1180295 - Start plumbing the outputs of DynamicToolbarAnimator into BrowserApp. r=rbarker
--HG--
extra : commitid : Cn2LNxR1OCW
2015-08-18 14:27:18 -04:00
Kartikaya Gupta
f02a5c4fc0 Bug 1180295 - Start plumbing inputs to the DynamicToolbarAnimator. r=rbarker
--HG--
extra : commitid : D2UphDZk8lE
2015-08-18 14:27:18 -04:00
Kartikaya Gupta
5408448758 Bug 1180295 - Introduce the skeleton of a DynamicToolbarAnimator class alongside LayerMarginsAnimator. r=rbarker
--HG--
extra : commitid : DYB3bubPCEK
2015-08-18 14:27:18 -04:00
Kartikaya Gupta
b4105053c9 Bug 1180295 - Rip out the Fennec code to set the screen render offset. r=rbarker
--HG--
extra : commitid : 3e4iu6iVnfs
2015-08-18 14:27:18 -04:00
Kartikaya Gupta
056c55b10f Bug 1180295 - Rip out call to setContentDocumentFixedPositionMargins. r=rbarker
--HG--
extra : commitid : 7uU6xgPVZom
2015-08-18 14:27:18 -04:00
Kartikaya Gupta
a7be4db877 Bug 1180295 - Rip out the FixedMarginsChanged message and all the code that depends on it. r=rbarker
--HG--
extra : commitid : 1vLu1rInNDs
2015-08-18 14:27:17 -04: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
Allison Naaktgeboren
387c735801 Bug 1174878 - Update robocop test testSettingsMenuItems.java to use StringHelper.java in all cases.r=liuche 2015-08-19 20:46:46 -07:00
Nick Alexander
233ac0dd99 Bug 1195388 - Follow-up: Make Android-specific CONFIG accesses conditional. a=bustage
On a CLOSED TREE.

This works around AbsolutePath-related failures in config/tests/test_mozbuild_reading.py.

--HG--
extra : commitid : DoE7xmgqF3n
extra : amend_source : 5b10f40681a793c9f25536a2a7191494eb06522d
2015-08-19 16:48:55 -07:00
Nick Alexander
ad27580b77 Bug 1195388 - Part 2: Add ANDROID_EXTRA_{PACKAGES,RES_DIRS} moz.build variables. r=gps
This moves a little bit more of mobile/android/base/Makefile.in into
moz.build, and gets closer to moving that aapt invocation into
java-build.mk.

There are no other extra package consumers in the tree.  (There should
be a new one shortly: b2gdroid.)

--HG--
extra : commitid : AaYqXYReOSX
extra : rebase_source : d41368ff0bd0736221fdc04ed8299b70c2488c8b
extra : histedit_source : 845efd5ba9f99f4e186c3a5c66affe69eac7fec7
2015-08-14 18:13:11 -07:00
Nick Alexander
543a450286 Bug 1195388 - Part 1: Make ANDROID_APK_{NAME,PACKAGE} moz.build variables. r=gps
This paves the way for defining additional Android packages in
moz.build, which is a step toward moving the special
mobile/android/base/Makefile.in aapt invocations into the generic
java-build.mk framework.

The new variables are both passthru variables for now: in the future,
we'll roll them into some aggregate Android APK definition.

It's worth noting that references to the variables in Makefile.in
files are only defined after including rules.mk (and thereby
backend.mk).  This only required a few changes in the tree but it
confused me for some time.

--HG--
extra : commitid : G5mEvm8Ng4F
extra : rebase_source : 7ba05f2e53554549ffb5cefe270925e3e2025b6a
extra : histedit_source : eacd22f4b7edddab67147c413fea45a3ba292c0c
2015-08-19 12:34:58 -07:00
Nick Alexander
55ce81aeb6 Bug 1195388 - Pre: Remove Eclipse definitions. r=gps
This is just cruft; I didn't want to think about it when working on
the other parts.  Bug 1196367 tracks removing the AndroidEclipse build
backend that consumed these definitions entirely.

--HG--
extra : commitid : 6fhp66SAwrq
extra : rebase_source : bdcab113f386d1083bcf558baec44e1640382514
extra : histedit_source : 4787ba24dae382eb904a8095285c4bac8a55cf56
2015-08-10 16:33:27 -07:00
Nick Alexander
967b54e12a Bug 1195388 - Pre: Clean GARBAGE and dependencies. r=gps
GARBAGE is set automatically by PP_TARGETS.

The fragment does not need to be preprocessed at all, since it is
itself included in a preprocessed file.  Including the fragment in
all_resources is therefore not needed, since it is just itself
included in a file.

--HG--
extra : commitid : Bcc3HOOnCRk
extra : rebase_source : f05854ca368b51e2e5ac9f1f17feda29a570cb5f
extra : histedit_source : 007f5d116f333fc1a537057a04507d3c327d6c60
2015-08-10 14:25:07 -07:00
Mike Taylor
9ce3e7ad15 Bug 717822: Override button and input :active:hover padding styles on Fennec. r=mfinkle 2015-08-19 13:58:10 -07:00
Dylan Roeh
0c624eac63 Bug 860305 - Catch possible RuntimeException in GeckoInputConnection.restartInput. r=snorp 2015-08-18 08:43:50 -05:00
Dylan Roeh
739c94e3c0 Bug 1163937 - Added forceSave function to DownloadIntegration and ensured that downloads removed in Sanitizer do not persist. r=margaret 2015-08-11 15:33:57 -05: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
Jim Chen
5027cc3ce3 Bug 1191083 - Add mechanism to queue native calls in GeckoThread; r=snorp
We cannot call native methods until Gecko is loaded. This patch adds a
mechanism in GeckoThread so that other code can queue up native method
calls and have those calls automatically delivered when Gecko is ready.
2015-08-13 00:53:38 -04:00
Jim Chen
3ef08d00ac Bug 1191083 - Implement more GeckoThread states; r=snorp
Implement the MOZGLUE_READY and JNI_READY states in GeckoThread. Also
change GeckoJavaSampler to use the new states instead of a separate
flag.
2015-08-13 00:53:38 -04:00
Jim Chen
3c57710825 Bug 1191083 - Rename and expand GeckoThread.LaunchState; r=snorp
GeckoThread.LaunchState now covers the entire GeckoThread lifetime and
not just launch, so it's renamed to GeckoThread.State. More utility
methods are added to check for the current state.
2015-08-13 00:53:38 -04:00
Jim Chen
6ad20bb7d0 Bug 1191161 - Followup to fix wrong annotation classpath; r=nalexander
Because we switched annoations from gecko-mozglue.jar to constants.jar,
we should update the corresponding classpaths when processing
annotations during code autogeneration.

gecko-mozglue.jar is still needed during the javah step because
gecko-browser.jar has a dependency on
org.mozilla.gecko.mozglue.JNIObject.
2015-08-13 00:53:38 -04:00
Nick Alexander
61a6ae674e Bug 1160563 - Part 2: Make ANDROID_ASSETS_DIRS a moz.build variable. r=gps
We have had singular ANDROID_ASSETS_DIR in Makefile.in for a while.
Fennec itself does not use the existing Makefile.in Android code, for
complicated historical reasons.

This makes the existing variable moz.build-only; generalizes the
existing variable to an ordered list; and adds the equivalent use of
the new list to the Fennec build, with a simple example asset.

This patch also updates the packager to include assets packed into the
gecko.ap_.  Without the packager change, the assets/ directory in the
ap_ gets left out of the final apk.  This whole approach is totally
non-standard but is more or less required to support our single-locale
repack scheme.

--HG--
extra : commitid : 4EAh1UNGNWT
extra : rebase_source : 5e5b4c4a120c3b4cc776c9f9380ddd2f9b63587e
extra : source : 0ddce3eb833e6d6180a19928a9b45d5d12f1d7fa
2015-08-12 11:04:03 -07:00
Nick Alexander
549c28f40f Bug 1160563 - Part 1: Make ANDROID_RES_DIRS a moz.build variable. r=gps
This patch does a few things.  First, it adds an AbsolutePath data
type, sibling to SourcePath and ObjDirPath.  (Existing Path consumers
that accept an open set of Path subtypes, and that only use full_path,
should function fine with the new AbsolutePath subtype.)

Second, it moves ANDROID_RES_DIRS to a moz.build list of Paths
(ordered).  We test, but don't use in tree, the new AbsolutePath.

--HG--
extra : commitid : DMLy1ogTJ0Y
extra : rebase_source : cb9ac47e8bf7c893a0284adc7a42eccb78ccae3d
2015-08-12 11:03:44 -07:00
Wes Kocher
928a195f43 Merge inbound to central, a=merge 2015-08-12 15:16:16 -07:00
Michael Comella
b2ff90e701 Bug 1193580 - Losslessly compress png assets. r=liuche
--HG--
extra : commitid : 62OPFTGobSc
extra : rebase_source : d0ccddfdd4692fb96916738c827722b73e6a2fb1
2015-08-11 16:52:38 -07:00
Nick Alexander
5ea13b10fe Bug 1192004 - Enable Firefox Account avatars in Fennec release builds. r=margaret
--HG--
extra : commitid : 82ZpLw0IKTL
extra : rebase_source : 77c5cab2e49cb41bb329882e978494629f4449d0
2015-08-10 11:07:29 -07:00
Ryan VanderMeulen
125f61c64f Merge inbound to m-c. a=merge 2015-08-12 10:47:17 -04:00
Sebastian Kaspari
8b75ceb5ac Bug 1192346 - RestrictedProfiles: If no GeckoInterface instance is available, try to get GeckoProfile from context. r=mhaigh
--HG--
extra : commitid : JfQJHzG6tXZ
extra : rebase_source : 6b5d643d8ac086ad6bcf0ec7fc41d23f06205405
2015-08-11 16:12:31 +02:00