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

19060 Коммитов

Автор SHA1 Сообщение Дата
Benjamin Smedberg 22cf864d75 Bug 1221724 followup - remove B2G and android references to redit, r=bustage on a CLOSED TREE
--HG--
extra : amend_source : 6c6e03586534d40ff5e841938e4738bc74b1da61
2016-02-11 11:44:33 -05:00
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