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

19483 Коммитов

Автор SHA1 Сообщение Дата
vivek a7642a13bb Bug 946857 - Part 2: Add Android LoginsProvider. r=nalexander
LoginsProvider is an all-Android implementation of PasswordsProvider.
PasswordsProvider is an SQLite database backed by the version of
SQLite that ships with Gecko.  It is concurrently accessed from Gecko
and it runs with a special lifecycle that includes a separate
heavy-weight process.  Eventually we'll migrate the Gecko-side
passwords interface to use the new Android-side LoginsProvider, but
for now we just want to get the new provider landed and the tests
running.

MozReview-Commit-ID: Bx19D68tMtI
***
Bug 946857 - Fold into part2: review nits.

MozReview-Commit-ID: LmPwIvebfrr

--HG--
extra : rebase_source : 0caccd0773f3e2feb80d72fb4b52ac086c25f7d2
2016-02-15 16:14:31 -08:00
Sebastian Kaspari d31f504833 Bug 1251923 - TabQueueService: Treat BadTokenException like SecurityException. r=margaret
MozReview-Commit-ID: qTtRaQuZyo

--HG--
extra : rebase_source : 7821cc50861a2a58a0f7ef9b2b467dd0357b9952
2016-03-04 16:01:59 +01:00
Mike Hommey 3c61c287f2 Bug 1254451 - Better document toolchain versions in tooltool manifests. r=froydnj
linux32/asan.manifest is removed because the file is not in tooltool
(anymore?).
2016-03-09 09:23:27 +09:00
Mike Hommey 564de8ea0e Bug 1254410 - Include app-specific configure files according to --enable-application/--enable-project. r=chmanchester
Because --enable-application is the current way to do things, transpose
it to configure.py, but since --enable-application=js doesn't make
sense, make it an alias of a new --enable-project option.

This only partially moves --enable-application out of old-configure.in
because there are a lot of other things intertwined with it.
2016-03-09 09:23:27 +09:00
Wes Kocher 2048d9f4a0 Merge m-c to inbound, a=merge CLOSED TREE
MozReview-Commit-ID: 4SEUTTY9jRn
2016-03-08 16:08:08 -08:00
Randall Barker 0d6eb2d4d1 Bug 1241332 - part 2, Request zoomToFocusedInput after resize finishes and propagates through APZ r=kats 2016-03-04 14:43:38 -08:00
Randall Barker 74fbbb6d11 Bug 1253426 - When Fennec is brought to the foreground, soft keyboard needs to be restored if it was previously visible r=snorp 2016-03-04 14:43:38 -08:00
vivek bee345ba8a Bug 946857 - Part 1: Expose disabled hosts through Password CP r=nalexander
Added a simple robocop test to verify that it is possible to query disabledHosts with PasswordProviders.

MozReview-Commit-ID: K4j4Aczp2xv

--HG--
extra : rebase_source : 284ff094515d674e5e0389b089e3629296231e77
2015-12-15 19:23:14 +02:00
Mark Finkle c36e08645c Bug 1241627 - Associate account conversions with onboarding experiments r=margaret r=nalexander 2016-03-03 17:29:45 -05:00
Margaret Leibovic dee7b22849 Bug 1239513 - Replace about:feedback with page hosted on input.mozilla.org. r=sebastian
MozReview-Commit-ID: K4AmE1zNtBI

--HG--
extra : rebase_source : fbabfd6e9aea578050ebb41835e3fbc92c189ec6
2016-02-27 16:17:01 -08:00
Carsten "Tomcat" Book 82cf3c3383 merge mozilla-inbound to mozilla-central a=merge 2016-03-03 11:54:40 +01:00
Wes Kocher 1be03a2b61 Backed out 2 changesets (bug 946857) for testBrowserDatabaseHelperUpgrades failures
Backed out changeset 9e4c8d1ffd3c (bug 946857)
Backed out changeset ca822e985ba5 (bug 946857)

MozReview-Commit-ID: DkVkUgEX7AJ
2016-03-02 14:42:04 -08:00
Michael Comella 9671569a21 Bug 1251656 - Add comment explaining why browser.db upgrade case 27 is missing. r=ahunt
MozReview-Commit-ID: KOlJ6q5cWUq

--HG--
extra : rebase_source : 73f9f85397d4aab23d6ee96e9b4ee0199e9a16da
2016-03-02 10:46:49 -08:00
James Willcox 73d84cb178 Bug 518805 - Don't do meta refreshes when backgrounded r=bz
This is controlled by browser.meta_refresh_when_inactive.disabled, which
is false (allow refreshes) on desktop, and true (disable refreshes) on Fennec
2016-03-02 16:32:27 -06:00
Andrzej Hunt 0b4dbfa17f Bug 1238656 - Part 3: bypass cache for homescreen icons r=mcomella
MozReview-Commit-ID: Bvf6GyWXqQn

--HG--
extra : rebase_source : 2d8e370f99cbe7c7e6e471f0089ef4e520d5154a
2016-02-01 14:00:38 -08:00
Andrzej Hunt f897ab1357 Bug 1238656 - Part 2: introduce FLAG_BYPASS_CACHE_WHEN_DOWNLOADING_ICONS to avoid icon downscaling r=mcomella
MozReview-Commit-ID: BXLqJ9wjzf7

--HG--
extra : rebase_source : af06ecf65b5577ae7c6415f56aaaf1aa1e44d251
2016-03-02 10:56:32 -08:00
Andrzej Hunt 0cc2273ad4 Bug 1238656 - Part 1: move best icon size selection into its own method r=mcomella
MozReview-Commit-ID: AWw50DDoLcL

--HG--
extra : rebase_source : 835ddfe29e28956e4e0aea1d4f53e692aeba3fc4
2016-03-02 10:54:31 -08:00
vivek 9a2769a8b0 Bug 946857 - Part 2: Add Android LoginsProvider. r=nalexander
LoginsProvider is an all-Android implementation of PasswordsProvider.
PasswordsProvider is an SQLite database backed by the version of
SQLite that ships with Gecko.  It is concurrently accessed from Gecko
and it runs with a special lifecycle that includes a separate
heavy-weight process.  Eventually we'll migrate the Gecko-side
passwords interface to use the new Android-side LoginsProvider, but
for now we just want to get the new provider landed and the tests
running.

MozReview-Commit-ID: Bx19D68tMtI
***
Bug 946857 - Fold into part2: review nits.

MozReview-Commit-ID: LmPwIvebfrr

--HG--
extra : rebase_source : f660f1be9ee019eb86f5b564d21386f899c53224
2016-02-15 16:14:31 -08:00
Nick Alexander b9a7550646 Bug 1252694 - Set MOZ_ANDROID_GCM_SENDERID directly in branding. r=glandium
Non-Mozilla distributors may wish to run their own autopush endpoint,
using a sender ID and corresponding Google API key that they control.
This simplifies that just a little bit, and gets Mozilla's release
engineering out of the business of managing non-sensitive secrets.

In the future, this sender ID will be baked into the Android APK's
string resources, in accordance with newer Google Play Services
library requirements.

MozReview-Commit-ID: AAxreEP73B0

--HG--
extra : rebase_source : 0a35d18a83558e4d27ac6a47b3833f1d69fed264
2016-03-01 15:31:27 -08:00
Nick Alexander 453b47c72a Bug 1247697 - Use Instrumentation context to disable keyguard and take wakelock; ignore SecurityExceptions. r=gbrown
MozReview-Commit-ID: BEeLhxSGQOA

--HG--
extra : rebase_source : 0da3f53ddbff9323880004249c92dd8ce37605f7
2016-02-29 10:28:51 -08:00
Carsten "Tomcat" Book 32191b51ac Merge mozilla-central to mozilla-inbound 2016-03-02 16:09:27 +01:00
Carsten "Tomcat" Book de8d151c26 merge mozilla-inbound to mozilla-central a=merge 2016-03-02 15:54:19 +01:00
Michael Comella a2c3666a0b Bug 1249092 - Log profile path in debug mode. r=rnewman
MozReview-Commit-ID: BhK3YFbglee

--HG--
extra : rebase_source : 9a582249312814bc929bcdc691992e7d7e9c3d2c
2016-03-01 11:44:53 -08:00
Michael Comella 9bf7de38e4 Bug 1252557 - Suppress ParcelCreator in AndroidFxAccount. r=nalexander
MozReview-Commit-ID: B2YEmQNBWTz

--HG--
extra : rebase_source : c5b3348c900be8b399d774f60a623bda2ece0e74
2016-03-01 11:10:20 -08:00
Michael Comella 4fc3a874b1 Bug 1252557 - Add warning for GoogleAppIndexingDeepLinkError. r=nalexander
afaict, we don't currently support app indexing (bug 1252569) so this should be
okay to reduce the warning level. We can ignore it if we decide we don't want
to support this feature.

MozReview-Commit-ID: 2q4zqEHw2B5

--HG--
extra : rebase_source : d556e26607e6ad6c9d005f2d67e2d4b689cb9695
2016-03-01 10:57:17 -08:00
Michael Comella c8e0a3a64f Bug 1252557 - Add ignore for HardcodedDebugMode. r=nalexander
MozReview-Commit-ID: JxPAavBCqN1

--HG--
extra : rebase_source : b6db0f3a678a3311fcd26fd678a73e328f179414
2016-03-01 10:40:19 -08:00
Wes Kocher 356fd48c1d Merge m-c to fx-team, a=merge
MozReview-Commit-ID: LQ4NtghbPdw
2016-03-01 15:30:35 -08:00
Andrzej Hunt 3d131923c5 Bug 1252610 - Don't insert suggested sites into topsites table unless they actually exist r=rnewman
MozReview-Commit-ID: 8MPLvxQ0FWu

--HG--
extra : rebase_source : 10cc13bfd1377f980e88a53645b28564e5aa1063
2016-03-01 13:54:24 -08:00
Andrzej Hunt 5b52c00996 Bug 1252500 - Provide all the necessary columns when retrieving topsites r=rnewman
MozReview-Commit-ID: IYeQ3Z6LLPy

--HG--
extra : rebase_source : 89c91e34b3d7f723e88a607d3aadacd09d47139a
2016-03-01 10:10:47 -08:00
Andrzej Hunt 29a8726dae Bug 1252499 - only insert blank tile when really needed r=liuche
MozReview-Commit-ID: 5O7gUBDl1D4

--HG--
extra : rebase_source : 485fcc15de36edb66862588a9821e3af0b47f160
2016-03-01 09:32:16 -08:00
Wes Kocher d4bc23e4dd Merge inbound to m-c a=merge
MozReview-Commit-ID: B0yZpi7wa4I
2016-03-01 15:19:25 -08:00
Brendan Dahl 2ece6215a9 Bug 1235869 - Remove web runtime from android. r=myk 2016-02-29 10:31:00 +01:00
Carsten "Tomcat" Book 30e5302af8 Merge mozilla-central to mozilla-inbound 2016-03-01 15:25:31 +01:00
Ehsan Akhgari 8a0731fdde Bug 1251875 - Part 1: Remove the dom.serviceWorkers.interception.enabled pref; r=bkelly 2016-03-01 09:16:38 -05:00
Ting-Yu Lin a078ab353a Bug 1097398 Part 4 - Change text selection highlight color to fennec orange. r=nalexander
This is per request in bug 1097398 comment 18. The text selection
highlight should be fennec orange (#FF9500) and opacity 0.6.

This patch is derived from a WIP patch by Mark Capella
<markcapella@twcny.rr.com>

MozReview-Commit-ID: 9WXDluDQTFg

--HG--
extra : rebase_source : 6798f97bc65408f162b935192cf7ca8e2309cde0
2016-02-16 16:55:28 +08:00
Ting-Yu Lin 775a6ca252 Bug 1097398 Part 3 - Use Android L style carets assets on Fennec. r=nalexander
The default AccessibleCaret CSS style is in layout/base/ua.css. We override them
in content.css to use the Android L style assets.

MozReview-Commit-ID: 6IEejkP7Moq

--HG--
extra : rebase_source : fce4d167628a02492f79993338d3596ac0d9dcdf
2016-02-16 16:55:28 +08:00
Ting-Yu Lin b063b0cec5 Bug 1097398 Part 2 - Add preferences to make carets always tilt. r=roc
This is to support Firefox Android L style carets assets that the two
carets always look like tilt.

This patch is derived from a WIP patch by Mark Capella
<markcapella@twcny.rr.com>

MozReview-Commit-ID: H3nKLz6HcpM

--HG--
extra : rebase_source : b3a77b0bb8aaea8f010002f54fde075c9d469711
2016-02-16 16:55:28 +08:00
Ting-Yu Lin 514007237a Bug 1097398 Part 1 - Move AccessibleCaret default assets to layout/style/. r=nalexander, r=heycam
Default AccessibleCaret assets were in editor for historical reasons. Because
ua.css references them, I move them to layout/style/ and add them in jar.mn so
that we don't have to package them in various products.

MozReview-Commit-ID: 7K7qr9FK784

--HG--
rename : editor/composer/res/accessiblecaret@1.5x.png => layout/style/res/accessiblecaret-normal@1.5x.png
rename : editor/composer/res/accessiblecaret.png => layout/style/res/accessiblecaret-normal@1x.png
rename : editor/composer/res/accessiblecaret@2.25x.png => layout/style/res/accessiblecaret-normal@2.25x.png
rename : editor/composer/res/accessiblecaret@2x.png => layout/style/res/accessiblecaret-normal@2x.png
rename : editor/composer/res/accessiblecaret_tilt_left@1.5x.png => layout/style/res/accessiblecaret-tilt-left@1.5x.png
rename : editor/composer/res/accessiblecaret_tilt_left.png => layout/style/res/accessiblecaret-tilt-left@1x.png
rename : editor/composer/res/accessiblecaret_tilt_left@2.25x.png => layout/style/res/accessiblecaret-tilt-left@2.25x.png
rename : editor/composer/res/accessiblecaret_tilt_left@2x.png => layout/style/res/accessiblecaret-tilt-left@2x.png
rename : editor/composer/res/accessiblecaret_tilt_right@1.5x.png => layout/style/res/accessiblecaret-tilt-right@1.5x.png
rename : editor/composer/res/accessiblecaret_tilt_right.png => layout/style/res/accessiblecaret-tilt-right@1x.png
rename : editor/composer/res/accessiblecaret_tilt_right@2.25x.png => layout/style/res/accessiblecaret-tilt-right@2.25x.png
rename : editor/composer/res/accessiblecaret_tilt_right@2x.png => layout/style/res/accessiblecaret-tilt-right@2x.png
extra : rebase_source : bb29652fcc47725feb44397a7f9f39c89b0161b6
2016-02-16 16:55:28 +08:00
malayaleecoder 528cbb7167 Bug 1219323 - Remove unnecessary table created check from BrowserDatabaseHelper. r=vivek,nalexander
MozReview-Commit-ID: GDPQ8LQ24bP

--HG--
extra : rebase_source : a7fcdb284a556e7fc038e41183d52291e0360e1d
2016-02-16 00:06:23 +05:30
Andrzej Hunt bc33acc968 Bug 1252264 - Post: Remove the now-unused SpecialFoldersCursorWrapper r=me
This is the last java based CursorWrapper!

MozReview-Commit-ID: 5oaPO4uvWU8

--HG--
extra : rebase_source : dfb33f4273ae51da58abae516814ffda6be6fcd9
2016-02-29 14:21:34 -08:00
Andrzej Hunt 1ab0aa84f8 Bug 1252264 - Use MatrixCursor + MergeCursor to show the desktop bookmarks folder r=mcomella
MozReview-Commit-ID: 3qleedRWjKb

--HG--
extra : rebase_source : 1e114c05d21d4b6e5c3a3ad05f280e2b6e5a9760
2016-03-01 09:12:21 -08:00
Margaret Leibovic a8cbd52c87 Bug 1249384 - Support configuring switchboard server endpoint through intent extra. r=sebastian
MozReview-Commit-ID: 4fY94tZebip

--HG--
extra : rebase_source : 8f1816c2770a63410248bbd223f91aac8a03322d
extra : amend_source : 938470d7cd5efe3cef8768ce9ad6755d141b1524
2016-02-26 16:23:28 -08:00
Carsten "Tomcat" Book 7f956c0bfb merge mozilla-inbound to mozilla-central a=merge 2016-02-29 11:35:30 +01:00
Chenxia Liu c1698e3ba7 Bug 1244701 - Message EOL plan to gingerbread users. r=margaret
MozReview-Commit-ID: ESJd870iP3N

--HG--
extra : rebase_source : 8d4a774a5c7aa6c34fff499a5f152d025dd4f1bb
2016-02-12 11:52:26 -08:00
Andrzej Hunt a028a2c7c6 Bug 1251740 - Remove ArrayList item using iterator instead of from list when iterating r=sebastian
Otherwise we will crash with a java.util.ConcurrentModificationException on iterator.next()
after removing an item using list.remove(item).

MozReview-Commit-ID: KYebSw2zjVk

--HG--
extra : rebase_source : c2d43cfb94742f4c2675ab7ceca0796890646352
2016-02-26 14:10:27 -08:00
Andrzej Hunt 0df50bbc44 Bug 1251740 - Rename searchistory to searchHistory r=me
MozReview-Commit-ID: BT0EbspbxMK

--HG--
extra : rebase_source : 9796bc0e3f2b42a8497bb71830666779891426c4
2016-02-26 14:04:21 -08:00
Wes Kocher 45b5e4259b Merge m-c to fx-team, a=merge
MozReview-Commit-ID: Hc6og2UJTjf
2016-02-26 13:28:45 -08:00
Wes Kocher f5d0907f78 Merge fx-team to central, a=merge
MozReview-Commit-ID: 9LaKI6lIClP
2016-02-26 12:19:25 -08:00
Michael Comella 078eda97bb Bug 1250707 - Add test for UrlAnnotations.insert. r=sebastian
MozReview-Commit-ID: LmnxRlcxIi

--HG--
extra : rebase_source : 7bad7592d739dfdf1a36e58ca942b75d1ad2746a
2016-02-25 17:47:00 -08:00
Michael Comella 63eca03a7d Bug 1250707 - Add UrlAnnotations with insertion. r=sebastian
MozReview-Commit-ID: A93dzl7hJPG

--HG--
extra : rebase_source : 486d2537493d688dcff21c3c8634cc3ba72eb91d
2016-02-25 17:53:35 -08:00
Michael Comella 85dd5960f8 Bug 1250707 - Test insert to url annotations table through BrowserProvider. r=sebastian
MozReview-Commit-ID: 2UqLgskqAPc

--HG--
extra : rebase_source : 4ba3ba783049e0f5664759b83e288813f82d9c3c
2016-02-25 15:34:01 -08:00
Michael Comella 2c478e100e Bug 1250707 - Add insert method to url annotations table in BrowserProvider. r=sebastian
MozReview-Commit-ID: 8clkXPqmpOV

--HG--
extra : rebase_source : 5369686567ff03734015ae3e0fd6ab26c57d2f86
2016-02-25 15:28:28 -08:00
Michael Comella 05b2656e93 Bug 1250707 - Register url annotations table with BrowserProvider; add query. r=sebastian
MozReview-Commit-ID: FnU7D8p3H1O

--HG--
extra : rebase_source : 39f3f523c3fcaa71dc99fa2561d279b7ca117477
2016-02-25 15:27:46 -08:00
Michael Comella 436b692330 Bug 1250707 - Add test for browser.db upgrades. r=sebastian
Currently tests version 27 to 28 and is abstract enough to test future
upgrades. Additionally, the test should fail if the database is upgraded but a
database for the old version is not supplied.

MozReview-Commit-ID: CpBiGETFacv

--HG--
extra : rebase_source : 15b0970474da780b86cc7817b62023d3e95d6c58
2016-02-25 13:00:26 -08:00
Michael Comella 7d984dcf63 Bug 1250707 - Create url annotations table. r=sebastian
MozReview-Commit-ID: BHtwkdrpfYi

--HG--
extra : rebase_source : f191d3687be00b6546b2fefa5b4f16b1f771ce32
2016-02-25 12:49:45 -08:00
Andrzej Hunt 56f1f6ecdb Bug 1240500 - Early return on empty pattern to avoid an infinte loop and OOM r=rnewman
MozReview-Commit-ID: 7GlsZjfmE0y

--HG--
extra : rebase_source : 66dd11d9079cebb5b798eef86361d43b1f955e98
2016-02-25 15:28:08 -08:00
Andrzej Hunt 5630d1c222 Bug 1240500 - Pre: whitespace cleanup and unnecessary comment cleanup r=me
MozReview-Commit-ID: FDOsOUSitk4

--HG--
extra : rebase_source : 315cb89a66c74674b47da9e5e02fed7e53ce440a
2016-02-25 14:47:40 -08:00
Margaret Leibovic b529456553 Bug 1226238 - (Part 5) Update reader view toolbar styles. r=Gijs,ahunt
MozReview-Commit-ID: 6YjmXZgGwOu

--HG--
extra : rebase_source : 456ce825e85ccc49bafe8290742dfce8f29d0556
2016-02-22 14:28:02 -08:00
Margaret Leibovic 3a66695ff2 Bug 1226238 - (Part 4) Remove reading list toggle button from reader view. r=ahunt,Gijs
MozReview-Commit-ID: 3pwOV5BjwC9

--HG--
extra : rebase_source : 66c2afd658320c5e5bd05e4b2a3278f2c871fee2
2016-02-22 10:35:32 -05:00
Margaret Leibovic db4aa097f5 Bug 1226238 - (Part 3) Remove reading list button from reader view. r=Gijs
MozReview-Commit-ID: 4QmGlGH8ELA

--HG--
extra : rebase_source : a4b0c81f0849ff77ec41ea6047c4b4066afe6189
2016-02-22 10:29:48 -05:00
Margaret Leibovic 1a7083e099 Bug 1226238 - (Part 2) Remove reader view footer. r=Gijs
MozReview-Commit-ID: B474joTtVwa

--HG--
extra : rebase_source : 18d1f91cf0a70724a3f6ae9ca394a2cb5b91197f
2016-02-22 10:16:24 -05:00
Margaret Leibovic 8db3f1faa4 Bug 1226238 - (Part 1) Remove share button from reader view. r=ahunt,Gijs
MozReview-Commit-ID: 3TFzz809KcM

--HG--
extra : rebase_source : 3cf003c5cbbe02e03bcf6f5f96843ccbc4a26a09
2016-02-22 10:09:07 -05:00
Sebastian Kaspari 5b700a7c5d Bug 1248437 - Replace site security icon with search icon on about:home. r=ahunt
MozReview-Commit-ID: 53HNhoAqMFe

--HG--
extra : rebase_source : a34df0dcdef74872d4fa07f6a837e65320383c60
2016-02-15 18:44:50 +00:00
Margaret Leibovic ea1635cc68 Bug 1004734 - Create system notification on browser update. r=liuche,mfinkle
MozReview-Commit-ID: DsVhO2kagZB

--HG--
extra : rebase_source : 67f8fe05964c855f0657e72150cb0547bc432105
2016-02-24 12:16:46 -08:00
Dragana Damjanovic dd.mozilla@gmail.com 496059d377 Bug 1246956 - Add loadReplace to session history. r=yoric r=mfinkle 2016-03-02 12:17:22 +01:00
Raunaq Abhyankar 1c102cb835 Bug 1188198 - Remove the m prefix from the ThemedView.java.frag template and regenerate the output files. r=mcomella
--HG--
extra : rebase_source : 2be0024040f5b1620692c5e7f457d510ea4021cb
2016-01-20 11:14:00 -05:00
Joel Maher de9f8d8859 Bug 1251373 - Remove moz payment API support. r=Margaret
MozReview-Commit-ID: IW63XQDyB16

--HG--
extra : rebase_source : 2038809a37a265843e6033392cbe08641dfb3a50
2016-02-25 13:08:50 -08:00
Wes Kocher d0b32f7434 Merge m-c to inbound, a=merge
MozReview-Commit-ID: Aab5zU7Kd3X
2016-02-26 12:38:33 -08:00
Jim Chen a0129dc275 Bug 1250314 - Let changes flush when committing or canceling composition; r=esawin
Flush IME changes when committing or canceling the composition, before
sending a notification, so that the Gecko and Java sides are on the same
page.

Also, use the GeckoEditableListener constants when calling notifyIME so
we don't rely on the Gecko platform constants having the same values as
our Java constants.
2016-02-26 14:38:57 -05:00
Jim Chen c73ca854eb Bug 1248459 - Initialize finder when showing find bar; r=margaret
The finder component has a quirk that the first time it searches for a
string it may find text that's normally not included in the search
result (e.g. the placeholder text in an input element). I think rather
than fixing the quirk, which seems risky, it's better to work around it
by performing a fake dummy search when first showing the find bar.  On
desktop, we also (I think unintentionally) perform a dummy search when
the find bar first appears.
2016-02-26 14:38:57 -05:00
Phil Ringnalda c279cb263c Back out 2 changesets (bug 1245992) for several browser-chrome failures
Backed out changeset 6d9614f87daf (bug 1245992)
Backed out changeset 34e6eea401e3 (bug 1245992)
2016-02-25 19:15:16 -08:00
Axel Hecht a0aba3aa15 Bug 1246000 - remove stale locales from Android on central, too, r=jbeatty 2016-02-17 16:39:43 +01:00
Francois Marier cba834e152 Bug 1245992 - Remove unused Safe Browsing strings. r=past
MozReview-Commit-ID: IkyO53DJpYs

--HG--
extra : rebase_source : 44e64c0eb3610159b6d57da2f3fedddfdda54841
2016-02-25 21:34:15 -08:00
Francois Marier 53454d8416 Bug 1245992 - Update the Safe Browsing phishing interstitial page. r=flod,past
MozReview-Commit-ID: DLC1KDvYbUH

--HG--
extra : rebase_source : 7289c93af47827f8a8dd78285d7beecf31935f3c
2016-02-25 21:34:01 -08:00
Wes Kocher ab36d59168 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 3PWdAnh0hk5
2016-03-01 15:29:43 -08:00
Bogdan Postelnicu edb03ea5c0 Bug 1252082 - prevent null pointer dereference on |c|. r=sebastian
MozReview-Commit-ID: 1ApWSRDUYMJ

--HG--
extra : rebase_source : b0dd83b3f2e212684d786acfb8336727a4127984
2016-03-01 21:21:16 +02:00
Angel Bouzo d3adcc1f5a Bug 1194033 - Added background selector to TwoLinPageRow & removed selector override from RemoteTabsListView r=mcomella
MozReview-Commit-ID: A9TwBiTbP0B

--HG--
extra : rebase_source : 2014cd8cbce1ca09d2ff426540749693841d7a1a
2016-01-08 18:03:14 -08:00
Andrzej Hunt 901f14602c Bug 760956 - Part 7: only add single blank tile to top sites grid r=rnewman
MozReview-Commit-ID: 42DuTEJZgum

--HG--
extra : rebase_source : 91fd5201e7a9f68187378ab3b1ae5bf6dd8614b9
2016-02-25 16:56:15 -08:00
Andrzej Hunt b4c5a29198 Bug 760956 - Post: remove unneeded getPinnedSites and getTopSites from BrowserDB r=me
MozReview-Commit-ID: 7Q5dOMVnqKP

--HG--
extra : rebase_source : 81b8f6192d2f809dcfd1eeaaef715f44dcc3f228
2016-02-17 09:57:44 -08:00
Andrzej Hunt 2e24243ebe Bug 760956 - Post: Cleanup TopSitesCursorWrapper remainders r=rnewman
MozReview-Commit-ID: ExIkvmfJO5O

--HG--
extra : rebase_source : 7ea16b1350975ab57f13ee98e22f1b861b547741
2016-02-17 09:47:06 -08:00
Andrzej Hunt 9b11af879a Bug 760956 - Part 6: Introduce basic topsites retrieval test r=rnewman
This is a quick sanity check: a clean profile should return all the suggested
sites directly.

We should probably add further tests making sure that history items appear
in front of the suggested sites, that pinned sites work correctly,
and that suggested sites don't appear outside of the grid.

MozReview-Commit-ID: Ai8gTkv9E9w

--HG--
extra : rebase_source : e82943a71e7276c6da4b7757c3cc3f936d0c8f87
2016-02-25 16:59:07 -08:00
Andrzej Hunt 65536b8a63 Bug 760956 - Part 5: use BrowserProvider TopSites query instead of TopSitesCursorWrapper r=rnewman
This means we now have only one open cursor for the topsites query, instead of 2 real cursors (and one
MatrixCursor). We still need a MergeCursor and MatrixCursor to supply blank tiles, this will
disappear as soon as the user has sufficient history items to fill the suggested sites grid.

MozReview-Commit-ID: LnJaSMIDM2O

--HG--
extra : rebase_source : c5665cf1346db31217f9f217d6cef1d4f615aebb
2016-02-25 16:54:50 -08:00
Andrzej Hunt 52963226aa Bug 760956 - Part 4: Implement single-cursor topsite-retrieval in BrowserProvider r=rnewman
Note that this version only returns topsites, pinned sites, and suggested sites.
Blank tiles aren't supplied, and need to be added separately.

MozReview-Commit-ID: 5Vc5pXTewHi

--HG--
extra : rebase_source : 7ccf781991fe8237a046f7d6cea5d1867cc76cc7
2016-02-25 16:43:13 -08:00
Andrzej Hunt 6317ac3132 Bug 760956 - Part 3: Add getSuggestedSites to BrowserDB r=rnewman
We'll need access to the SuggestedSites in BrowserProvider when assembling the
topsites query there, hence we need to allow access via BrowserDB.

MozReview-Commit-ID: BkZghDhQGxr

--HG--
extra : rebase_source : 4010ad97a10c1685ebc155cc2244c50ed498c428
2016-02-17 09:28:13 -08:00
Andrzej Hunt 1ffa178cee Bug 760956 - Part 2: Introduce numbers table r=rnewman
We'll need this to provide a number sequence for the single-query/cursor TopSites
implementation.

MozReview-Commit-ID: 8m21gNmY50D

--HG--
extra : rebase_source : 71f169eee743639630604723ad5b01b805695a60
2016-02-29 11:33:05 -08:00
Andrzej Hunt cd46700d0f Bug 760956 - Part 1: Introduce variadic concatenateSelectionArgs r=rnewman
This allows us to more easily append multiple sets of args.

TODO: is it worth naming this appendSelectionArgs? We should keep the
2-param version appendSelectionArgs since it's more efficient for that
case (and the vast majority of uses are with 2-params) - it's probably
simpler for development to have both versions have the same name, and
as far as I can tell the compiler will prefer the non varargs version
when possible.

MozReview-Commit-ID: LcI6zNwpIxh

--HG--
extra : rebase_source : f782a7c830aed605cdcc18df9f3cd63605dfcc3b
2016-02-17 09:13:34 -08:00
Florian Quèze 3bab40f228 Bug 1251278 - Remove obsolete Yahoo parameter preferences, r=mconnor. 2016-02-29 11:46:37 +01:00
Carsten "Tomcat" Book 3695dd59e0 merge mozilla-inbound to mozilla-central a=merge 2016-02-25 11:57:51 +01:00
Varun Naganathan 391cf4e5db Bug 1236387 - Add a URL and length filter for search history suggestions r=ahunt
MozReview-Commit-ID: 9EFgukC0imw

--HG--
extra : amend_source : 809bf6d603c931b0cafacf05b8b5d2469765b8e3
2016-02-24 20:46:03 -08:00
Nick Alexander b8262556d1 Bug 1249166 - Pre: Fix Android front-end TreeHerder details; force --no-daemon and --offline in automation. r=me
Setting GRADLE_USER_HOME in this way ensures all Gradle invocations in
automation have the right flags, rather than just the ones we
remember.

MozReview-Commit-ID: IL53nZVsFuV

--HG--
extra : rebase_source : dafc3c19e75e067481603b6f80692fcea0141b67
2016-02-23 23:55:56 -08:00
Nick Alexander 39c66402fe Bug 1249166 - Pre: Set JAVA_HOME in |mach gradle|. r=me
MozReview-Commit-ID: 4qQz5ZZJqik

--HG--
extra : rebase_source : fb3e729e710f7fc9615cc194ca4a8fb7ee0d72cf
2016-02-18 09:06:39 -08:00
dlim 0bc8179166 Bug 1231549 - Set default profile endpoint server URI for Firefox Accounts not created via the web flow. r=nalexander 2016-02-23 13:03:33 -08:00
dlim 62a6c6000f Bug 1225563 - Log error in JS that Doorhangers only support one positive and one negative button if invalid buttons are provided. r=nalexander 2016-02-23 13:45:36 -08:00
Carsten "Tomcat" Book 20095687cf merge fx-team to mozilla-central a=merge 2016-02-24 12:04:15 +01:00
Wes Kocher c3e2aac340 Merge inbound to central, a=merge
--HG--
extra : commitid : Diy1mnutqUS
2016-02-23 16:56:58 -08:00
Carsten "Tomcat" Book 04e913704c Merge mozilla-central to mozilla-inbound 2016-02-23 16:56:04 +01:00
Carsten "Tomcat" Book 839ce412a8 merge fx-team to mozilla-central a=merge 2016-02-23 16:54:50 +01:00
Kartikaya Gupta 2548d417f5 Bug 1249915 - Add ability to synthesize native touch events on Fennec for mochitests. r=snorp
MozReview-Commit-ID: Dit8QhqJSYc
2016-02-23 10:17:46 -05:00
Dragana Damjanovic d3fd6043b0 Bug 1246956 - Add originURI to Sessionstore. r=bz,Yoric,mfinkle 2016-02-22 16:38:57 -08:00
Michael Comella 10c5c3706a Bug 1247557 - Close Cursors in AndroidImport. r=sebastian
MozReview-Commit-ID: KcKAXLxJr7l

--HG--
extra : rebase_source : 2aeba7616e1ac28776142026474389fa1f1a943e
2016-02-22 14:55:43 -08:00
Michael Comella 709eb78ec3 Bug 1250250 - Store updated seq no. before sending upload Intent. r=mfinkle
MozReview-Commit-ID: Ab2qycjDKOy

--HG--
extra : rebase_source : 598f0e36cf28c3e7ffe5c040532ac1296a54e12b
2016-02-22 11:20:37 -08:00
Chenxia Liu 121f9d5a98 Bug 1246130 - Gather onboarding telemetry experiments separately from other active experiments. r=margaret
MozReview-Commit-ID: KPqdlzoqTBH

--HG--
extra : amend_source : 2fc8ef3b64a3b88f32130cd7222aa1b9d7fbfb08
2016-02-16 19:08:43 -08:00
Margaret Leibovic c915819bee Bug 1249434 - Add a "Show web fonts" pref in advanced settings. r=jchen
MozReview-Commit-ID: EJl4qh0mOr4

--HG--
extra : rebase_source : a006f4c157b8a0ed2fd73242cb3efec6795b054a
extra : amend_source : 9ed7d8ab72ba09d0a0d8d521b64ea4d327e5c448
2016-02-22 16:37:48 -08:00
Nick Alexander 7f77b8f945 Bug 1248160 - Part 3: Move MOZ_ANDROID_SHARED_ID to branding; remove mobile/android/defs.mk. r=ted.mielczarek
MozReview-Commit-ID: KAxIYsHvAC4

--HG--
extra : rebase_source : 9ae25879d3afe70cf5513ddf3434d04c4e9c424f
extra : histedit_source : 35f7521d1504635fa31ced58e1b8cb2ae8600cd5
2016-02-13 10:19:25 -08:00
Nick Alexander 8dcc601b5e Bug 1248160 - Part 2: Inline MOZ_ANDROID_SHARED_FXACCOUNT_TYPE. r=ted.mielczarek
This is per-package, so there's no cross-package definition needed.

MozReview-Commit-ID: 8qy2SGJtCh1

--HG--
extra : rebase_source : 5e3cb1959ac560137487d5d0c12002820212aed7
extra : histedit_source : ac2404805e7afc2776c02414ab464d24d3057063
2016-02-13 10:13:10 -08:00
Nick Alexander a369f9a410 Bug 1248160 - Part 1: Remove MOZ_ANDROID_SHARED_ACCOUNT_TYPE. r=ted.mielczarek
This is cleaning up after Bug 1220906, which removed Old Sync.

MozReview-Commit-ID: EmP4RTMIZ9

--HG--
extra : rebase_source : d97e09ca50dbd2c214c0618d50b7418378697dde
extra : histedit_source : 5148e7d8f5c8f10c36f1fa319ac04fea28432450
2016-02-13 10:00:58 -08:00
Mark Finkle a1fa9f94f7 Bug 1249096 - Use a more forgiving URL parser when getting the fallback favicon r=rnewman 2016-02-21 11:54:34 -05:00
Andi-Bogdan Postelnicu 52003e933f Bug 1250144 - call super.onAttachedToWindow in ToolbarEditLayout::onAttachedToWindow. r=sebastian
MozReview-Commit-ID: 5ld41tfhVGv

--HG--
extra : rebase_source : 0ae9955fd0e2901aac8188f54a7fac162afc06c9
2016-02-22 17:04:52 +02:00
Edwin Flores 32d5c9e7b2 Bug 1246984 - Fix scrolling on Blackberry capacitive keyboard - r=kats 2016-02-22 09:36:22 +00:00
vivek 3938a40b96 Bug 946857 - Part 1: Expose disabled hosts through Password CP r=nalexander
Added a simple robocop test to verify that it is possible to query disabledHosts with PasswordProviders.

MozReview-Commit-ID: K4j4Aczp2xv

--HG--
extra : rebase_source : b911c3e42bf3ed4f2e55185dbaa4fe4b23ab7588
2015-12-15 19:23:14 +02:00
Andrzej Hunt 66316ab789 Bug 1252501 - Coalesce topsites position with rowid to ensure a valid position r=rnewman
MozReview-Commit-ID: BFcs3sUT0Ff

--HG--
extra : rebase_source : 81b34ab1e1a20e25b381605e874c85144a937836
2016-03-01 14:00:22 -08:00
Chenxia Liu c61add1e02 Bug 1232866 - Establish clearer IA for panel list items. r=mcomella
MozReview-Commit-ID: 40quuVQxL2K

--HG--
extra : rebase_source : 9611189f67b0fb9874104fffb2f832e938efed36
2016-03-02 10:42:19 -08:00
Carsten "Tomcat" Book 7e21b8b3eb Merge mozilla-central to fx-team 2016-03-02 16:05:38 +01:00
Tristan e8bfac8fc1 Bug 1244197 - Fixed conditional logic for two performance optimizations, r=capella 2016-03-02 08:19:11 -05:00
Phil Ringnalda 1a1ec5b8bb Merge f-t to m-c, a=merge 2016-02-20 17:25:14 -08:00
Chenxia Liu 0b2f76300a Backed out changeset a47d5f97fca8. r=bustage, CLOSED TREE
MozReview-Commit-ID: 6AoqIQWcOKd
2016-02-19 20:18:08 -08:00
Chenxia Liu 79ff021ecb Bug 1246130 - Gather onboarding telemetry experiments separately from other active experiments. r=margaret
MozReview-Commit-ID: INBoGNmVndw

--HG--
extra : rebase_source : cfec6b8dc4471608557574dab0eff8237cad227b
2016-02-16 19:08:43 -08:00
Chenxia Liu 41566cb4f8 Bug 1243216 - Run pngquant on images to compress them further. r=mfinkle
MozReview-Commit-ID: ISx9rUsB4PX

--HG--
extra : rebase_source : 11fb3f3853bc30c72d5b2180b5274e9e7d8b177a
2016-02-18 18:45:15 -08:00
Mark Finkle c3569f843e Bug 1249314 - Cleanup 'tabstray' Telemetry method r=liuche 2016-02-19 14:56:43 -05:00
Mark Finkle 6cf210ffe8 Bug 1249094 - Add UI Telemetry probes for application foreground / background changes r=margaret 2016-02-19 14:56:40 -05:00
Margaret Leibovic 0b943c2a8b Bug 1227743 - Remove snippet (id) from rotation after the user clicks on it. r=mfinkle
MozReview-Commit-ID: 10m8yssL94U

--HG--
extra : rebase_source : d37e115d26f25d398c72c2c59455c933172280c4
extra : amend_source : 8ba89625c0c388f399104537cb05bc9aac5fe426
extra : histedit_source : e151e20f5a18f78bda7d01b11f2f2cc0bb77ab16%2Ca17440ac9be6318574d08de92bb0368d021e3b03
2016-02-11 15:29:25 -05:00
Jim Chen c6aac8bac8 Bug 1247293 - Set search suggestion prompted pref along with enabled pref; r=ahunt
Set the prompted pref along with the enabled prefs so that we don't have
to detect setting the enabled pref elsewhere in order to set the
prompted pref.
2016-02-19 17:14:58 -05:00
Carsten "Tomcat" Book 8de5d65e8c Merge mozilla-central to fx-team 2016-02-19 12:08:37 +01:00
Carsten "Tomcat" Book fd2c2d9b1a merge mozilla-inbound to mozilla-central a=merge 2016-02-19 12:02:26 +01:00
Chenxia Liu d99519b435 Bug 1249331 - Update copy for datasaving firstrun panel. r=margaret
MozReview-Commit-ID: 5B6SlddSwDW

--HG--
extra : rebase_source : 16fe99ca21abc428dec7ca034f30bb44feaaa0ac
2016-02-18 09:44:49 -08:00
Margaret Leibovic e0825d6416 Bug 1247324 - Disable Switchboard in automation. r=gbrown,mfinkle
MozReview-Commit-ID: ItqHBIEdD0Q

--HG--
extra : rebase_source : 639eebe0ee5854beef82695729d73dc001af8fac
2016-02-18 12:03:51 -05:00
chaithanya 1cea93e0d5 Bug 1243435 Remove unused prefs toolkit.telemetry.prompted / toolkit.telemetry.notifiedOptOut from test suites r=Dexter
MozReview-Commit-ID: 83IOB4Xvf8I
2016-02-18 10:51:24 -08:00
Sebastian Kaspari 7f2bf2d6ca Bug 1246707 - Set all Snackbar durations to LONG. r=ahunt
MozReview-Commit-ID: EuSc6movOlX

--HG--
extra : rebase_source : f2aa40a3de6e91999d6a6e720b40860a82bbbf17
2016-02-17 14:14:20 +00:00
Priyen 5a0e601907 Bug 1245722 - Replace org.mozilla.gecko.sync.Utils.getLanguageTag with Locales.getLanguageTag. r=nalexander
The code at was duplicated for build reasons that no longer apply.

MozReview-Commit-ID: Hk7n9beobsY

--HG--
extra : rebase_source : 8ca84ecb2c837d14182b706014ab98022ce95acc
2016-02-14 21:59:24 -06:00
Margaret Leibovic ca51cb6e69 Bug 1245497 - (Part 2) Measure FENNEC_GECKOAPP_STARTUP_ACTION when we handle a new intent. r=mcomella
MozReview-Commit-ID: IOlo2kzRhzh

--HG--
extra : rebase_source : 6038c53d6c86e05132ee12f0e75ae31fea92bdc4
2016-02-03 12:22:06 -05:00
Margaret Leibovic ead971820b Bug 1245497 - (Part 1) Update FENNEC_GECKOAPP_STARTUP_ACTION to measure homescreen shortcut launches. r=mcomella
MozReview-Commit-ID: CkvS3eP5wTy

--HG--
extra : rebase_source : 6a03986c6e2bbd53238bc6beb6083023d83bd124
2016-02-03 12:08:15 -05:00
Carsten "Tomcat" Book 65589f686c merge fx-team to mozilla-central a=merge 2016-02-18 12:41:52 +01:00
Carsten "Tomcat" Book ed38b61598 merge mozilla-inbound to mozilla-central a=merge 2016-02-18 12:01:24 +01:00
Nick Alexander a9c4e505e2 Bug 1074258 - Follow-up: Force Gradle JVM to use utf-8 encoding. r=me
MozReview-Commit-ID: J7emtEFBbvX

--HG--
extra : rebase_source : de29a988b73baf39da00e62710643ff506498005
2016-02-17 22:45:47 -08:00
Nick Alexander f0490cabd5 Bug 1074258 - Expand entities at build time when copying strings.xml in Gradle. r=me
DONTBUILD NPOTB

Android Studio (and IntelliJ) does not correctly handle &entity;
definitions in Android strings.xml files.  Strings with entities (in
Fennec, all of them) are rendered in the IDE as blank.  This patch
expands the entities when copying for use by Gradle, improving the IDE
integration.

MozReview-Commit-ID: 2T6CzoKc7v8

--HG--
extra : rebase_source : 75b2c9e20392d03b8077d2c313538c5fccc9cb34
extra : amend_source : 5b409cc858e08e5be2eef2ded1bc907f2d088e2d
extra : histedit_source : f702d4eb831af75f6374718efaffcf95f974731c
2016-02-17 17:16:51 -08:00
Nick Alexander 33a2ba2cc1 Bug 1233882 - Post: Make Gradle app manifest package be org.mozilla.gecko. r=me
MozReview-Commit-ID: 7YP0mShKc0S

--HG--
extra : rebase_source : 992ea0b6d2b3a52beec903fdf6309507d7df713b
extra : histedit_source : 719d54ff32f1d96537d8e9780e27ca3c7b8d97ba
2016-02-17 16:18:13 -08:00
Nick Alexander c4c73eceaa Bug 1233882 - Fold base Gradle project into app Gradle project. r=sebastian,mcomella
DONTBUILD NPOTB

Using the real Android manifest tripped up Robolectric, so I've taken
the easy way out and added a dummy TestGeckoApplication; see comment
in the code.

MozReview-Commit-ID: 4fCY504UgPu

--HG--
rename : mobile/android/app/base/lint.xml => mobile/android/app/lint.xml
rename : mobile/android/tests/background/junit4/resources/robolectric.properties => mobile/android/app/src/main/resources/robolectric.properties
extra : rebase_source : 689e879dd4ec4402d5e7f948fa5f8be256284a88
extra : intermediate-source : 746468f5d9798ff404a80cd957664e2b69a0e97c
extra : source : a7f63b3721cd3ba105990bbb37a87044383d26d9
extra : histedit_source : 6bdcfa36ddb45bbfd518c5459e4940e29a30f1c2%2C4bfef3b752a85174f1aa1f2226a286ac30bae25a
2016-02-17 19:25:54 -08:00
Michael Comella 378a0aa6a8 Bug 1244861 - Gzip outgoing telemetry pings. r=rnewman
This commit adds the GzipNonChunkedCompressingEntity which is necessary because
the telemetry servers don't support chunked uploading, which the built in
GzipCompressingEntity does.

I tested this on my local device and logs for successful uploads were sent for
both the testing gzip server as well as the official telemetry server. My data
correctly appears on the former and I did not check the latter.

MozReview-Commit-ID: 4bCNiRYyqFD

--HG--
extra : rebase_source : 28f877258fdf25a098bc5f1634c060b3fd53fe39
2016-02-17 18:20:20 -08:00
Michael Comella b3316867ca Bug 1249150 - Remove FakeProfileTestCase. r=nalexander
MozReview-Commit-ID: Ksz68WSJLyy

--HG--
extra : rebase_source : bb0e798a7f3aab0171c8a082639df27442eda5c8
2016-02-17 15:35:29 -08:00
Chenxia Liu e5b598cfee Bug 1243216 - Make clickable slides more visible. r=Margaret
MozReview-Commit-ID: ECC9BgVI5AC

--HG--
extra : rebase_source : 99096344441e108ef7207419d4a55c62cab6e03a
2016-02-16 18:35:30 -08:00
Margaret Leibovic 0dbb78852f Bug 1234693 - Point Switchboard URLs to production mozilla-services endpoint. r=mfinkle
MozReview-Commit-ID: ArdTpolY7rQ

--HG--
extra : rebase_source : 309737ce8608ed4a45b46be4be6199f7bda66a80
2016-02-17 10:14:53 -05:00
Carsten "Tomcat" Book 3a87a933e7 Backed out changeset 53b0b5b29776 (bug 1243435)
--HG--
extra : rebase_source : faf90230fecdfe1f0150015c039800828723a576
2016-02-17 15:00:51 +01:00
Sebastian Kaspari ac57938a24 Bug 1236431 - Use contentDescription to verify URL in tests. r=mcomella
MozReview-Commit-ID: IrcsLaNExEM

--HG--
extra : rebase_source : 5cf0a2dc496f67e000016a9f9a0094a7e1354122
2016-02-12 18:42:40 +01:00
Sebastian Kaspari 3e4f6499b8 Bug 1236431 - ToolbarDisplayLayout: Only show base domain. r=mcomella
MozReview-Commit-ID: GwH3XDVim4F

--HG--
extra : rebase_source : 2c315e1c84416e77fd534f54eb9e5aa4e50fb8da
2016-02-11 15:54:11 +01:00
Sebastian Kaspari d74a299d2d Bug 1236431 - (Pre) ToolbarDisplayLayout: Address lint warnings and clean up code. r=mcomella
MozReview-Commit-ID: JkD7uqRMQhQ

--HG--
extra : rebase_source : 87e2044c27e7693b9c356e32f4f6d5e70de9d5ed
2016-02-12 09:42:41 +01:00
Carsten "Tomcat" Book 2b6503e6a2 Merge mozilla-central to fx-team 2016-02-17 14:38:01 +01:00
Carsten "Tomcat" Book 436f1bf747 Backed out changeset bc3e37b63def (bug 1246918) for fix frequent android c1 test failures 2016-02-17 14:35:10 +01:00
Carsten "Tomcat" Book c2a42c6ad4 merge fx-team to mozilla-central a=merge 2016-02-17 12:07:39 +01:00
chaithanya 458420bbd7 Bug 1243435 - Remove unused prefs toolkit.telemetry.prompted / toolkit.telemetry.notifiedOptOut from test suite. r=Dexter 2016-02-16 05:11:00 +01:00
Carsten "Tomcat" Book 9d45ef9d96 Merge mozilla-central to fx-team 2016-02-17 12:20:16 +01:00
Sebastian Kaspari 3d51f78db0 Bug 1247366 - AppMenuComponent.findAppMenuItemView(): Wait for views and not for text to appear. r=margaret
MozReview-Commit-ID: Hb5BHnu15nm

--HG--
extra : rebase_source : 5dcf140467ce98ee3ca9753dfe47d9c49d97e09f
extra : amend_source : 92e46fb927927642be8358ef46139b62ef0eefd2
2016-02-12 21:00:01 +01:00
Michael Comella 62759f5c7b Bug 1244295 - Add getClientId test for when client ID file already exists. r=me
Similar to gfritzsche's suggestion in bug 1244295 comment 26.

MozReview-Commit-ID: Agqyj47uSZR

--HG--
extra : rebase_source : 24032f7cd46e7c2cd7143dc822677e51d5445cc6
2016-02-18 17:46:52 -08:00
Michael Comella 9b94529a7d Bug 1244295 - Add junit4 tests for GeckoProfile.getClient & friends. r=mfinkle
Added testGetDir to sanity check how the profile is set up for the test and
left it in as a bonus.

Additionally, changed access levels on the ensureParentDirs method because it
only needed to be `protected` for testing.

MozReview-Commit-ID: CDVQjyf3yP2

--HG--
extra : rebase_source : e427eb8356ac71adb8a672869ee297a0ffc5b1dc
2016-02-18 17:38:16 -08:00
Michael Comella 7422c1d7ef Bug 1244295 - Validate client IDs before sending them in a Telemtry report. r=mfinkle
Additionally, we log some of the Exceptions thrown while retrieving the client
ID to make it clearer what is happening. The underlying GeckoProfile methods
ensure the profile path is not printed so we don't have to worry about leaking
that.

MozReview-Commit-ID: 3o0rvXDRZzM

--HG--
extra : rebase_source : 81cff9a199365623b16efe21a12509b8bf7b3c6e
2016-02-17 12:22:18 -08:00
Michael Comella 77f9b407f6 Bug 1244295 - Create client ID if it doesn't already exist in GeckoProfile. r=mfinkle
Additionally, we'll try to migrate the client ID from FHR if it doesn't already
exist.

MozReview-Commit-ID: B9vfefeVi2i

--HG--
extra : rebase_source : f5acdba8f276f5cbc04a8877a0589f4ce8155e49
2016-02-12 16:34:43 -08:00
Ting-Yu Lin 8f500a4074 Bug 1246918 - Fix carets missing after scrolling down in selection mode on Fennec. r=roc
Fennec enables sCaretsExtendedVisibility which uses
Appearance::NormalNotShown instead of Appearance::None to keep actionbar
shown during scrolling. This breaks selection mode update when the
positions of the carets are not changed after scrolling.

To fix this, we need to implement appearance recovering for selection
mode scrolling like we did for cursor mode in bug 1212732, and make
UpdateCaretsForSelectionMode() respects UpdateCaretsHint.

MozReview-Commit-ID: LkfUIGKHL0h

--HG--
extra : rebase_source : 2e68786e09046967f7c6af16fa6b393f133dc12c
2016-02-11 16:22:57 +08:00
Xidorn Quan 0671ebf899 Bug 743198 part 8 - Use unprefixed Fullscreen API in chrome code. r=smaug
--HG--
extra : source : a8b39fbf3673e59b0a41db2d748e092a87d4496c
2016-02-17 08:47:11 +08:00
Jim Chen a44d38701c Bug 1248459 - Get more logs for debugging crash; r=snorp
This patch turns on logging for GeckoEditable and GeckoInputConnection,
and makes us fetch more lines of logcat when submitting crash reports.
2016-02-16 16:57:49 -05:00
Jim Chen 48144b598c Bug 1248033 - Support GAME_ROTATION_VECTOR sensor events with no W parameter; r=snorp 2016-02-16 16:57:49 -05:00
Jim Chen 038960bc2d Bug 1248047 - Switch back to UI thread when using physical keyboards; r=esawin
When using physical keyboards, we get key events on the UI thread. To
improve performance, and to support key listeners better, we should
switch the IC thread to the UI thread in that case.
2016-02-16 16:02:39 -05:00
Jim Chen b501d5ca8c Bug 1248047 - Simplify GeckoInputConnection.processKey; r=esawin
Right now, processKey uses a IC-thread proxy in order to handle key
events on the UI thread. This patch makes it post the key event to the
IC thread and avoid the proxy entirely.
2016-02-16 16:02:39 -05:00
Jim Chen 51ebebc9a5 Bug 1248047 - Make GeckoInputConnection.sendKeyEvent more efficient; r=esawin
Right now, sendKeyEvent does a round trip from the IC thread to the UI
thread back to the IC thread. This patch makes it stay on the IC thread.
2016-02-16 16:02:38 -05:00
Carsten "Tomcat" Book cef001abd6 merge mozilla-inbound to mozilla-central a=merge 2016-02-16 11:51:26 +01:00
ISHIKAWA, Chiaki be2b50a7f8 Bug 1248252 - Improper outdated octal constant syntax in M-C tree. Use '0o' prefix. r=dao
Be warned. Do not attemp to change the .js "test" source code in ./js
They are meant to check

 - the outdated 0666 octal constant is still parsed correctly,
 - the outdated 0666 octal constant raises syntax error flag
   in strict mode, etc.

So leave them alone.
2016-02-15 08:57:00 +01:00
Margaret Leibovic 082f6f251e Bug 1225842 - Properly send message to update open search state. r=liuche
MozReview-Commit-ID: 77s1zWo9vrr

--HG--
extra : rebase_source : a496fbf3ef3aeea3257a950139fd74dbb2206f27
2016-02-05 12:56:23 -05:00
Margaret Leibovic 071a7e8177 Bug 1245930 - Disable zoomed view on non-Nightly builds. r=mcomella
MozReview-Commit-ID: 3RfprujEO1h

--HG--
extra : rebase_source : 970839465145b3289f6e23db873a00ac1c6e6060
2016-02-12 12:54:50 -05:00
Nick Alexander 6795b38022 Bug 1248092 - Replace preprocessor -I with CONFIGURE_SUBST_FILES. r=glandium
MozReview-Commit-ID: IT4cHsAOMwd

--HG--
extra : rebase_source : 111c4d6a9f01b1c6a599084c85b5817bb7a54ebb
2016-02-12 16:27:24 -08:00
David Rajchenbach-Teller 665d890187 Bug 1243706 - Release PerformanceStats/PerformanceWatcher;r=Felipe
MozReview-Commit-ID: 4XT21bfBSa9

--HG--
extra : rebase_source : 4d35245170930e18bbfaf9ebba8e9d24fa52a87e
2016-01-28 13:41:14 +01:00
Mark Finkle 69f97bb26a Bug 1046859 - Add telemetry flag for search suggestion opt-in r=liuche 2016-02-14 21:20:37 -05:00
Phil Ringnalda a6d7a8a0ce Merge m-i to m-c, a=merge 2016-02-13 19:18:53 -08:00
Mark Finkle beaf5b2d42 Bug 1246973 - Support clearing UI Telemetry when creating pings r=gfritzsche 2016-02-12 18:02:03 -05:00
Nick Alexander bc112329f3 Bug 1119520 - Add opt-in Gradle build mode for mobile/android. r=gps
Opt-in by adding --enable-gradle-mobile-android-builds.

Gradle dependencies (including the Android-Gradle plugin) are assumed
to be present.  Local developers will fetch them from the jcentral
repository.

Android-specific Maven dependencies are shipped as "extras" with the
Android SDK, and should be found automatically by the Android-Gradle
plugin.

MozReview-Commit-ID: 966XgddWgEu

--HG--
extra : rebase_source : 8e8c6156e1d06813c250662e104fd14c621d91ab
extra : source : 306cf0271d3e3a344fcbfd2baf75e0450c288cf1
extra : histedit_source : d17446714236c408699a0953882e84ac3a192380%2Cc21b166af79ef1e00215748820bc2670405ac1dc
2016-02-12 10:06:40 -08:00
Nick Alexander c4f4d0e3d9 Bug 1248005 - Use com.stanfy.spoon:spoon-gradle-plugin:1.0.4. r=me
MozReview-Commit-ID: 8hSOCq8XpZ7

--HG--
extra : rebase_source : 2a53bf00a5ffbf3882d6b144e2c14979bf3c02ad
extra : amend_source : f878e1ea6f2bad11b1ba53e499573b50a34794d5
extra : histedit_source : 5ea4d001fa8b6c039785708fca5bffcbfd07dcea
2016-02-11 12:44:53 -08:00
Andrzej Hunt 1db589180d Bug 1245580 - Post: document that OnFaviconLoadedListener runs on the UI thread r=liuche
MozReview-Commit-ID: HcsTHl8ttUQ

--HG--
extra : amend_source : 5746458e4c849bd8f158875fb196ef4ae5c49b71
2016-02-04 19:22:59 -08:00
Andrzej Hunt 2e07d72f14 Bug 1245580 - Part 2: assert GeckoAppShell.createShortcut is run on background thread r=liuche
MozReview-Commit-ID: 4KsxfvQ5mOd

--HG--
extra : amend_source : 9ffa0e2433bb7a36b8b2d5a0f48ec40de7a6072c
2016-02-04 19:24:20 -08:00
Andrzej Hunt fc37f57b23 Bug 1245580: Part 1 - doCreateShortcut no longer needs to be on the Background thread r=liuche
When doCreateShortcut was first created, it also handled webapp intents. This required additional
work, meaning doCreateShortcut had to be run on the background thread. We now only
create an Android Intent, with no additional work, hence we can run directly on the UI thread.

MozReview-Commit-ID: BFrAuNfDiFj
2016-02-04 19:22:16 -08:00
Geoff Brown 84ac2a9cff Bug 1235689 - Fix and enable robocop testAppMenuPathways; r=sebastian 2016-02-19 08:19:54 -07:00
Carsten "Tomcat" Book 789b0d7cd9 Merge mozilla-central to mozilla-inbound 2016-02-19 12:07:49 +01:00
Ting-Yu Lin 860487f7f6 Bug 1246918 - Fix carets missing after scrolling down in selection mode on Fennec. r=roc
Fennec enables sCaretsExtendedVisibility which uses
Appearance::NormalNotShown instead of Appearance::None to keep actionbar
shown during scrolling. This breaks selection mode update when the
positions of the carets are not changed after scrolling.

To fix this, we need to implement appearance recovering for selection
mode scrolling like we did for cursor mode in bug 1212732, and make
UpdateCaretsForSelectionMode() respects UpdateCaretsHint.

MozReview-Commit-ID: LkfUIGKHL0h

--HG--
extra : rebase_source : 0ef8d28ce55c3ddd29ea32ee6888ee7fe14c34ad
extra : source : bc3e37b63defca87d0de165fe167ef7f8a7db651
2016-02-11 16:22:57 +08:00
Carsten "Tomcat" Book 177835f782 Merge mozilla-central to fx-team 2016-02-12 15:21:12 +01:00
Carsten "Tomcat" Book b0531843fe merge mozilla-inbound to mozilla-central a=merge 2016-02-12 15:15:17 +01:00
Carsten "Tomcat" Book 1d1148b2d6 Backed out changeset 306cf0271d3e (bug 1119520) for causing merge conflicts with m-i to m-c merge 2016-02-12 15:14:36 +01:00
Mihai Pop 4973b1d449 Bug 1247294 - Add "Full-screen browsing" settings, in Settings -> General menu for tablets. r=sebastian
--HG--
extra : rebase_source : 6f7fd27d12f5f7625aeb9a8ffe465d3f1ffa5754
2016-02-11 15:57:36 +02:00
Andrzej Hunt dd22224777 Bug 1246704 - Either create URLMetadataTable, or upgrade it, don't do both r=liuche
MozReview-Commit-ID: HyYPbIwqMGc
2016-02-08 10:55:44 -08:00
Andrzej Hunt c56f803b17 Bug 1239823 - Part 2: sanitise input dates for DatePicker r=margaret
MozReview-Commit-ID: GiXgQwscGPT
2016-02-03 15:23:09 -08:00
Andrzej Hunt 9d054970c3 Bug 1239823 - Part 1: Parse min/max date before use r=margaret
MozReview-Commit-ID: 4th3CJwwcDg
2016-02-03 15:17:38 -08:00
Nick Alexander e144cf6610 Bug 1119520 - Add opt-in Gradle build mode for mobile/android. r=gps
Opt-in by adding --enable-gradle-mobile-android-builds.

Gradle dependencies (including the Android-Gradle plugin) are assumed
to be present.  Local developers will fetch them from the jcentral
repository.

Android-specific Maven dependencies are shipped as "extras" with the
Android SDK, and should be found automatically by the Android-Gradle
plugin.

MozReview-Commit-ID: 966XgddWgEu

--HG--
extra : rebase_source : ff1cf18a59c7c5633e238090cb6a9abb307ed4fb
2016-02-03 11:18:38 -08:00
Nick Alexander c2b4263d2c Bug 1247637 - Remove browser_intent_*; use ActivityUtils to open FxA links. r=sebastian
This fixes a crash, since Bug 1242213 removed the .App
<activity-alias> that browser_intent_class references.

I debated just updating the strings, and decided that it was best to
remove a pattern that is used only once in our codebase, even though
it moves more functionality to code.

MozReview-Commit-ID: 4Wgw0oITgue

--HG--
extra : rebase_source : 51cfb3e9d537b06a5303d74eeb4823723e4a7c0a
extra : amend_source : d09015b4b1356e42846ecd75ebbec4d3debd7bbd
2016-02-11 10:07:20 -08:00
malayaleecoder 8d06b5c4b1 Bug 1243821 - Remove unused Old Sync strings. r=nalexander
MozReview-Commit-ID: 48Nm8SxZEbG

--HG--
extra : histedit_source : fb43607451033e9019c05f39e324597a84fc6a90
2016-02-03 02:02:25 +05:30
Carsten "Tomcat" Book bbe3d019dc merge mozilla-inbound to mozilla-central a=merge 2016-02-11 11:52:01 +01:00
Ting-Yu Lin 6354772afd Bug 1246572 - Remove the two blue bars of the text selection for Fennec. r=snorp
--HG--
extra : commitid : BmeTWEfNcZY
extra : source : 2448d9675eb2d567db607d24a8e968871595a0a0
2016-02-09 23:19:43 +08:00
Randall Barker b02018dbb9 Bug 1247095 - Disable re-targeting mouse event in Fennec r=snorp 2016-02-10 08:20:01 -08:00
Carsten "Tomcat" Book 855c877f61 Merge mozilla-central to mozilla-inbound 2016-02-10 14:29:05 +01:00
Carsten "Tomcat" Book b8f6140f54 merge mozilla-inbound to mozilla-central a=merge 2016-02-10 11:47:34 +01:00
Jim Chen dacefebbaa Bug 1241558 - Re-enable testInputConnection on 4.3; r=gbrown 2016-02-09 23:36:41 -05:00
Jim Chen b9030e2e86 Bug 1241558 - Add test to testInputConnection; r=esawin 2016-02-09 23:36:41 -05:00
Jim Chen c3f9472ecd Bug 1241558 - Don't ignore Gecko selection when Gecko commits composition; r=esawin
When Java is changing the composition, we should ignore the Gecko
selection. However, when Gecko is committing its composition, we should
not be ignoring the corresponding Gecko selection change. In other
words, we should only ignore selection changes when we know the change
is from Java.
2016-02-09 23:36:41 -05:00
Nick Alexander 2a8a83c12d Bug 1173229 - Apply Google-recommended PRNG fixes before generating DSA keys. r=rnewman
See
https://android-developers.blogspot.com/2013/08/some-securerandom-thoughts.html
for a thorough discussion.

It's very expensive (at least 200ms on modern devices) to do this in
Application.onCreate, so we'll do this just before generating DSA keys.
In exchange, we accept some risk that we'll introduce the same issue
again.  As we lint more aggressively in automation, this risk will
decrease.

Google licenses the fixes file very permissively.  I have added some
serialization IDs to prevent certain compile warnings.

--HG--
extra : commitid : 2GRwurnHhvE
extra : rebase_source : 8d28b7d6541579d5f51f5173f7fe9a16ca39a982
extra : amend_source : ae37a4afa0754775fd0ccf94dc3718081dd37eb3
2016-02-03 15:39:16 -08:00
Michael Comella 61c3fdcf15 Bug 1246839 - Close Reader in ApkResources. r=rnewman
MozReview-Commit-ID: Ks2AkrPDF3Q

--HG--
extra : rebase_source : 276f8a6da9e0bb412a99b811f5f74c7524dee587
2016-02-08 17:58:03 -08:00
Michael Comella 9757386709 Bug 1246839 - Close FileOutputStream in BrowserApp. r=rnewman
MozReview-Commit-ID: C2tWuetVrqp

--HG--
extra : rebase_source : 9f2de78aba69401015d4d9d465972058493e91d5
2016-02-08 17:55:48 -08:00
Michael Comella eac64c4181 Bug 1246209 - Add profile creation date to core ping. r=mfinkle
This patch adds 2 workarounds for the fact that getProfileCreationDate
returns -1 when it can't find a creation date. Returning -1 turned
out to be not particularly robust but I did it this way to avoid
adding too many additional versions of methods in order to have
optional parameters such as profileCreationDate. The workarounds
are added as TODOs w/ bug #'s in the code and mentioned in the
comments of bug 1246816 itself.

A future implementation should probably add a Builder to pass a
single Object as the argument to TelemetryPingGenerator.createCorePing
to prevent the argument list from growing unreasonably large and
to properly operate on optional parameters. I didn't do this in
this patch in order to simplify the uplifted code.

--HG--
extra : commitid : EbxIxtpDLIL
extra : rebase_source : 1f19eca9bc7a7847418fa8d4e87308e1e112aa2c
2016-02-08 17:17:14 -08:00
Michael Comella 3737208707 Bug 1246209 - Add getProfileCreationDate, implement from filestystem, & add stencil code. r=mfinkle
Retrieving the profile creation date from the filesystem is not strictly
necessary to upload this data and returns -1 until it is implemented. If the
decision is r+'d here, it will be implemented in bug 1246816.

--HG--
extra : commitid : EyjmshzbkwO
extra : rebase_source : 7b8fde6ae768b99a970db30eee352e2c84e901dd
2016-02-08 17:10:26 -08:00
Michael Comella b896848502 Bug 1246209 - Extract readJSONObjectFromFile out of getClientId. r=mfinkle
--HG--
extra : commitid : X9f7CWrksn
extra : rebase_source : 559796f8b5299c9fa88679bd3adbe09d3164ad78
2016-02-08 15:03:21 -08:00
Michael Comella c48a870a5f Bug 1233238 - Compile with play-services-{ads,analytics,appindexing} to support Adjust SDK. r=nalexander
On a CLOSED TREE because this is Android only.

When we switched to fine-grained Google Play Services bundling (Bug
1115004), we stopped shipping com.google.android.gms.analytics.  That
silently breaks Adjust, which queries the Google Ad ID using
reflection: now the package isn't present!  This patch restores the
Play Services libraries that Adjust relies on.  (Sadly, this bloats
our APK tremendously.)

There is some hijinkery, however: the Play Services libraries
reference a library (org.apache.http) that is deprecated in Android
23!  However, the library is still present on Android 23 devices,
which buys Google time to replace the offending code.  This compiles
just fine, breaks the Proguard global optimization pass.  To give
Proguard the information, we add the library as a Proguard "library
JAR".  This is equivalent to the Google-provided Gradle `useLibrary`
directive.

--HG--
extra : commitid : I4rTyC8lxLd
extra : rebase_source : 96f30d735e898cb9853d53f236ac8e2337186814
extra : amend_source : 3e4d68789b3ef980e4e1d7f743e332bdbb6be176
2016-02-04 16:10:29 -08:00
Mark Finkle 81bf436655 Bug 1244966 - Re-enable testBookmarklets using a simpler test r=margaret 2016-02-09 11:24:36 -05:00
Shatur c5404af319 Bug 1228170 - Remove legacy menu code from AppMenuComponent. r=sebastian 2016-02-02 23:46:58 +05:30
Carsten "Tomcat" Book e42fff0533 merge mozilla-inbound to mozilla-central a=merge 2016-02-09 12:02:38 +01:00
Christoph Kerschbaumer 1d23d5fdf5 Bug 1229890 - Convert JS callsites to use asyncOpen2 within mobile/ (r=mfinkle,sicking) 2016-02-08 08:53:17 -08:00
Kartikaya Gupta 40b640696d Bug 1243854 - Tweak fling curving to make medium-length flings go a bit faster. r=snorp
--HG--
extra : commitid : 8HBlmMqiiMu
2016-02-08 11:46:21 -05:00
Ting-Yu Lin 276d86f23b Bug 1246064 - Support long press to show AccessibleCaret on empty input for Fennec. r=roc
--HG--
extra : commitid : 54K1eLvKmSr
extra : rebase_source : 76a64e40ec15c6d110a461d5fb9d66d3ac86852e
2016-02-08 16:08:46 +08:00
Mark Goodwin 266741693f Bug 1227956 - Implement Kinto.js OneCRL client r=rnewman
--HG--
extra : rebase_source : 7f2d174df2b1e9971ddf8f9ed211b5b0e7ec2b39
2016-02-09 18:51:08 +00:00
Chenxia Liu 6566c9ad14 Bug 1208138 - Handle tablet-specific cases. r=margaret
--HG--
extra : commitid : FMURzD3bjNL
extra : rebase_source : 070c45a55576b602c2e9569ff7d1e5e9cbbe2df6
2016-01-28 19:26:05 -08:00
Chenxia Liu f78cf6fd45 Bug 1208138 - Firstrun is not dismissed in some cases. r=margaret
--HG--
extra : commitid : A11MLlZ3ggd
extra : rebase_source : 04e2758e24cca8918c41d0dc1798071210281e26
2016-01-28 19:02:32 -08:00
Andrzej Hunt 1d78d9f051 Bug 826400 - Post: update DATABASE_VERSION comment, and clarify why we do this r=liuche
--HG--
extra : commitid : 2RsGOeNAv3X
2016-02-08 10:10:46 -08:00
Wes Kocher da18de73cf Backed out changeset d007cfebe661 (bug 1234693) for android robocop failures CLOSED TREE
--HG--
extra : commitid : 6dXNQE9NXGf
2016-02-08 12:53:10 -08:00
Chenxia Liu 2377b84030 Bug 1245368 - Add telemetry for home panel customizations. r=margaret
--HG--
extra : commitid : FzwCo2JUj16
extra : rebase_source : 3d6feee846a39f3f8effe989105865744f44207a
2016-02-04 16:14:34 -08:00
Chenxia Liu f3588d3bb3 Bug 1201653 - Provide a way to self-select into a specific experiment [Switchboard]. r=margaret
--HG--
extra : commitid : Gg571HN4w2P
extra : rebase_source : e611b8448c0eda48280039b5a13aa6faaee13edb
2016-02-03 16:49:09 -08:00
Margaret Leibovic c76d369a56 Bug 1234693 - Point Switchboard URLs to production mozilla-services endpoint. r=mfinkle
--HG--
extra : commitid : 2fLIZgPtYAC
extra : rebase_source : a2969611b62e4f38dcdb432133e57be015fb2eef
2016-02-05 08:08:42 -05:00
Margaret Leibovic fb7dafe78f Bug 1243387 - (Part 2) Update SuggestClient to use NetworkUtils. r=mfinkle
--HG--
extra : commitid : 1eVFWNVtkXD
extra : rebase_source : 706f5dd3e6d00c5e2ce36396b84a26b61e739cd9
2016-02-05 09:38:48 -05:00
Margaret Leibovic c0696bf4a0 Bug 1243387 - Add telemetry probe to understand how often users load reading list items when offline. r=mfinkle
--HG--
extra : commitid : 6b3lDQ29j0E
extra : rebase_source : 512e6468fede40ab3ef986bf1ce7129f3297e6e0
2016-02-05 09:37:15 -05:00
Margaret Leibovic 6dfdeaba14 Bug 1244329 - Flip the preference to on for requiring signed addons. r=mfinkle
--HG--
extra : commitid : CtpyrQvId71
extra : rebase_source : a6e5a544cfed8452c7f270b826653299a2ff7e4c
2016-02-05 09:59:29 -05:00
Margaret Leibovic cc2f8b6c3f Bug 1246170 - Remove about:logins histogram telemetry probes. r=mfinkle
--HG--
extra : commitid : PeL3VH5IuP
extra : rebase_source : 351ad769f8a36455fab97287557a69bdf0182644
2016-02-05 10:11:54 -05:00
Margaret Leibovic 0c9588ab47 Bug 1113297 - Back out match case mode for find-in-page. r=liuche
--HG--
extra : commitid : 1unskJnlqIM
extra : rebase_source : 62025ed9a9555e507e1d3659d27dd09edfea363d
2016-02-03 15:51:46 -05:00
Shih-Chiang Chien 10b1fdf725 Bug 1129785 - support video sharing via Presentation API. r=mfinkle.
--HG--
extra : commitid : tt4LYaWaUe
2016-02-06 18:15:22 -08:00
Nick Alexander c387030feb Backed out changeset 746468f5d979 (bug 1233882).
--HG--
extra : commitid : HtySXbh21EG
extra : rebase_source : 380db13c459c88d21b7f14d0d6830e7ab1094cc1
2016-02-05 21:19:13 -08:00
Nick Alexander 891d11a620 Bug 1234629 - Post: Add simple bouncer APK docs. r=me
--HG--
extra : histedit_source : 2a7ca7e83a79edfa85662aa4cbd225fc6f1456d2%2C1aac94bd9388d1268f85d0203d4495399c24c3df
extra : rebase_source : 78433bbef80356fa17ab215d23768834ca32a455
extra : commitid : Cl8s8ivnO55
extra : source : c79f4a8c3e86aa0c1c693f637b9d5ac053a6fd2f
extra : amend_source : 0087a285e17e660e0729c6394e2e72cf5118d655
2016-02-04 15:54:12 -08:00
Nick Alexander dfb9b5b160 Bug 1234629 - Post: Add Gradle support for bouncer. r=me
--HG--
extra : commitid : 6jL7OTORPHp
extra : rebase_source : 19cc23344c425082888863cf7dbd00049ab1e3a1
extra : source : 54a3d0851bc60d26fb4744c605787031070052c8
extra : histedit_source : 842b7f6fafd9ee4ba00805b83d088cd9bf97e5cf
2016-01-26 11:54:00 -08:00
Nick Alexander 98ab42ac64 Bug 1234629 - Part 3: Make bouncer's <intent-filter> set a larger subset of Fennec's <intent-filter> set. r=margaret
--HG--
extra : commitid : 5fizArOKIYO
extra : rebase_source : b3241c4a14850848f025733f9a41b069baca910d
extra : source : f80912ecfa87584394d22e28ed09e68c182d1b35
extra : histedit_source : 7fd02c5b614dfb5f0d7780f2d4701576dade9769
2016-01-27 15:44:29 -08:00
Nick Alexander d466d2939f Bug 1234629 - Part 1: Create bouncer APK for OTA distribution installs. r=margaret,gps
This commit produces an "install bouncer" APK which is a "hollow
shell" that looks like the main Fennec APK.  In particular, both APKs have:

* the same Android package name (application id); and
* the same set of <permission>, <uses-permission>, and <uses-feature>
  blocks in their manifests.

The bouncer APK must always have an android:versionCode smaller than
the main Fennec APK; for now, we will just bump that manually
mobile/android/bouncer/moz.build.

--HG--
rename : mobile/android/javaaddons/Makefile.in => mobile/android/bouncer/Makefile.in
rename : mobile/android/app/assets/example_asset.txt => mobile/android/bouncer/assets/example_asset.txt
rename : mobile/android/javaaddons/moz.build => mobile/android/bouncer/moz.build
rename : mobile/android/base/resources/drawable-v21/logo.xml => mobile/android/bouncer/res/drawable-v21/logo.xml
rename : mobile/android/base/resources/drawable/logo.xml => mobile/android/bouncer/res/drawable/logo.xml
extra : commitid : 1XkuX1F0pMb
extra : rebase_source : c49ac53697927b0f3d1ee47bc1e7035c1b465e99
extra : source : aaa420ed66d754ecc17b19f5a12297d24371f1ca
extra : histedit_source : 0e3e2fa225c48ba48df72ff116fd62a7b1ef5ed2
2016-01-27 15:28:31 -08:00
Nick Alexander 9069995ab8 Bug 1234629 - Part 0: Make Distribution look in /data/data/$PACKAGE/distribution last. r=rnewman
Call a distribution in /data/data/$PACKAGE/distribution a "data
distribution".  Right now we read data distributions only in response
to writing them via another code path (extracting from APK, or
downloading).  We don't recognize a data distribution in the same way
that we recognize a system distribution (in /system/.../distribution)
in the Java code, simply because we don't look for it; and I haven't
investigated, but I think that Gecko may in fact recognize a data
distribution in this case.

This patch simply recognizes data distributions after looking for
other distributions.  That way data distributions written by the
bouncer APK are recognized and initialized, but not given precedence
over other distribution channels.

--HG--
extra : histedit_source : f2edefc209e653331b1afd731383e43b1e2cb320%2C3a5870bed776214d8656e530e4cb29fd7ddf02e8
extra : rebase_source : 7df42cfb75713b4630ed5e60583bcd9ab9612849
extra : commitid : HnKxkzVG9TW
extra : source : 7a62e97f07c2c90d9f34c2c7de40f3cb193f6312
extra : amend_source : e581fa3a30abdeaa903be04e48a296c8da4ed482
2016-02-04 17:41:54 -08:00
Nick Alexander 8c29d35e3b Backed out changeset 10dfe5e3ded1 (bug 1242213)
--HG--
extra : commitid : 3a9EiYA0XUv
extra : rebase_source : 06fe172b8e3d467d8f532581da305e0f85eb9f75
2016-02-05 16:35:45 -08:00
Michael Comella 9468655b07 Bug 1246314 - Add comment to explain why we don't log exceptions. r=me
--HG--
extra : commitid : LIeubq4uZfo
extra : rebase_source : d4710d6b956a4ae4e16386dc043195be51bad1f1
2016-02-05 16:38:05 -08:00
Michael Comella 36dbd61bec Bug 1246314 - Don't log exception when throwing in client ID. r=ahunt
--HG--
extra : commitid : JzU6DLlSIVu
extra : rebase_source : d061833cb44af292809cd48c7fe0a93059954960
2016-02-05 16:07:15 -08:00
Nick Alexander 6da34aac00 Bug 1244944 - Don't stick an org.json.JSONArray into an ExtendedJSONObject. r=rnewman
This works due to string conversions, but it's not elegant.  Let's
just define the API we want, and work to improve the implementation
when we remove org.json.simple entirely.

MozReview-Commit-ID: GseI427PeDi

--HG--
extra : rebase_source : b8dc7083a896526512746607095b8b51f3afd539
extra : histedit_source : eddb40fdfef92ac5c771937c5b76d59fa75ef768
2016-02-01 16:57:24 -08:00
Nick Alexander e7060e1cab Bug 1244944 - Don't catch or throw ParseException. r=rnewman
MozReview-Commit-ID: G7gIlAOFy7k

--HG--
extra : rebase_source : ba71c066283102bed0f165deebde750897bf0883
extra : histedit_source : 2cd18645bbfb735db159331c87674457b3ecf6c0
2016-01-20 17:18:55 -08:00
Nick Alexander e1374e2f2c Bug 1244944 - Don't throw ParseException from ExtendedJSONObject. r=rnewman
One step further on the path of removing dependence on
org.json.simple: don't expose its exceptions to consumers of EJO.  We
re-purpose the existing UnexpectedJSONException classes to incorporate
what were once ParseException instances.

MozReview-Commit-ID: KOwM3cf0fm

--HG--
extra : rebase_source : e722fbefb69dfb0b96b66f070e0241a389dfbf87
extra : histedit_source : 162ded0f62e064f4ca5c9bcba5534813e29dca0a
2016-01-20 17:02:55 -08:00
Nick Alexander 2ec311c682 Bug 1244944 - Inline ExtendedJSONObject.parseJSONObject. r=rnewman
MozReview-Commit-ID: 5J46KlYoLx6

--HG--
extra : rebase_source : 2fe8e2ee315e10354af8a26676089c770c6a2b86
extra : histedit_source : 8b193a0b377393ab731fdad35dc5808ab4bbeb0e
2016-01-20 16:40:32 -08:00
Nick Alexander 5fb238e0ef Bug 1244944 - Use typed put() variants. r=rnewman
MozReview-Commit-ID: 2Uxk9jcxQ7F

--HG--
extra : rebase_source : 960816c4865c5972e08cedd3ea4bb7e00280c848
extra : histedit_source : c7ccba36af698194ecb00a592a0595cddb84f72b
2016-02-01 16:55:36 -08:00
Nick Alexander ca6488da04 Bug 1244944 - Fix test. r=rnewman
MozReview-Commit-ID: AKOcras22LX

--HG--
extra : rebase_source : 5a9ec9b17aaccf7e69e1e302200d5f309e262580
extra : histedit_source : d45668bc7a0bc49746803ba9dfaea0b6f5b7818e
2016-01-20 16:24:01 -08:00
Nick Alexander 35349ee232 Bug 1244944 - Remove untyped EJO.putAll. r=rnewman
MozReview-Commit-ID: 2TQNGErFAMv

--HG--
extra : rebase_source : d6e3f6db5824211d7b1f55ea195d0cdbc85e49f8
extra : histedit_source : b9a748258ee10bf3d9d727c41952184e8663845a
2016-01-20 16:23:44 -08:00
Nick Alexander 776f34f7ed Bug 1244944 - Remove unused deepCopy method. r=rnewman
MozReview-Commit-ID: 5LAtdJ5W3fX

--HG--
extra : rebase_source : 5abdc91e3a3ba28a9c20c2b3617413a9532e1b4c
extra : histedit_source : 2e0003b05992989bcb9be5dec81934672502f786
2016-01-19 18:02:56 -08:00
Nick Alexander 42a6035751 Bug 1244944 - Remove old and crufty defer{Get,Put}. r=rnewman
This is safe because the single consumer of `MetaGlobal.fetch` is
`FetchMetaGlobalStage.execute`, which already expects to be called on
a thread and have another thread waiting for the callback.

MozReview-Commit-ID: 5XXd5aBkljc

--HG--
extra : rebase_source : 46282899d6338f4828ec01fe54f9a53efc8c7cb5
extra : histedit_source : fe4b11004d81a436f09fea3369a10edf4a3da91e
2016-01-19 16:20:37 -08:00
Carsten "Tomcat" Book 0df3e96469 Merge mozilla-central to fx-team 2016-02-10 14:30:05 +01:00
Sebastian Kaspari 40d294de36 Bug 1244071 - Move reading of restrictions to dedicated cache class. r=mcomella
MozReview-Commit-ID: 7u40m0Wdusi

--HG--
extra : rebase_source : 135c9af9820277f7b910722510fe6a470300f31b
extra : amend_source : 4ab9ee588b09cce10b29d851e9915ac8a35f1a38
2016-02-01 22:14:16 +01:00
Sebastian Kaspari 4020715bbe Bug 1245236 - (Part 2) DownloadContentService: Do not run on unsupported systems. r=rnewman
MozReview-Commit-ID: 7jEe76SEFpc

--HG--
extra : rebase_source : 1d1bf2d117a94e7b820a802f3a493196d742de4c
extra : histedit_source : e6075b762ef7ff458550f5916f2e3ae8008eed25
2016-02-09 13:54:37 +01:00
Sebastian Kaspari a6ccb55bba Bug 1245236 - (Part 1) Move isSupportedSystem() from GeckoApp to HardwareUtils. r=rnewman
MozReview-Commit-ID: 6p7UQZBSt0C

--HG--
extra : rebase_source : fbc253136fd138676bb727fc42dc2262f4d87e55
extra : histedit_source : 15dd6c1213cee35e41509d10abf3f56bde3b3efa
2016-02-09 13:53:45 +01:00
Varun Naganathan b3d1bd5191 Bug 1238796 - Changed message on tab close if Private Tab. r=margaret 2016-02-09 10:55:00 +01:00
Nick Alexander 2f5eb6ac5e Bug 1233882 - Fold base Gradle project into app Gradle project. r=sebastian,mcomella
DONTBUILD NPOTB

Using the real Android manifest tripped up Robolectric, so I've taken
the easy way out and added a dummy TestGeckoApplication; see comment
in the code.

--HG--
rename : mobile/android/app/base/lint.xml => mobile/android/app/lint.xml
rename : mobile/android/tests/background/junit4/resources/robolectric.properties => mobile/android/app/src/main/resources/robolectric.properties
extra : commitid : 2aEbQRv0D7m
extra : rebase_source : c0f014e3fba7008967f8f9782125f940fcc89fe6
extra : amend_source : 46bfdfb116c026da490750a23a9c9188ab4cdf9a
extra : source : a7f63b3721cd3ba105990bbb37a87044383d26d9
2016-01-17 21:52:46 -08:00
Bogdan Postelnicu 46f9b7e0d4 Bug 1248908 - ToolbarDisplayLayout: Remove unnecessary null checks. r=sebastian
MozReview-Commit-ID: LBtVN8F0oO4

--HG--
extra : rebase_source : 2dd6627edcc73e673fadad92fddd650ee71779c5
2016-02-18 14:31:16 +02:00
Nick Alexander 3bad7aaa2f Bug 1247375 - Part 3: Use Gradle to build Fennec with --disable-compile-environment. r=glandium
MozReview-Commit-ID: 3oolQKHxkBs

--HG--
extra : rebase_source : 60ff86da130189a332ea5e091f4cedc268ad3ec7
2016-02-12 10:07:11 -08:00