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

19107 Коммитов

Автор SHA1 Сообщение Дата
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
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
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