Commit Graph

19136 Commits

Author SHA1 Message Date
Sebastian Kaspari
bfcaedd135 Bug 1246707 - Set all Snackbar durations to LONG. r=ahunt
MozReview-Commit-ID: EuSc6movOlX
2016-02-17 14:14:20 +00:00
Michael Comella
71bb58a700 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
2016-02-18 17:46:52 -08:00
Michael Comella
7588564b44 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
2016-02-18 17:38:16 -08:00
Michael Comella
5f3968b2e9 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
2016-02-17 12:22:18 -08:00
Michael Comella
71c7ea29f1 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
2016-02-12 16:34:43 -08:00
Chenxia Liu
130b7c31df Bug 1249331 - Update copy for datasaving firstrun panel. r=margaret
MozReview-Commit-ID: 5B6SlddSwDW
2016-02-18 09:44:49 -08:00
Margaret Leibovic
14eea75795 Bug 1247324 - Disable Switchboard in automation. r=gbrown,mfinkle
MozReview-Commit-ID: ItqHBIEdD0Q
2016-02-18 12:03:51 -05:00
chaithanya
afb1e7d3e4 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
Priyen
a887b77429 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
2016-02-14 21:59:24 -06:00
Margaret Leibovic
1c1ecdc48e Bug 1245497 - (Part 2) Measure FENNEC_GECKOAPP_STARTUP_ACTION when we handle a new intent. r=mcomella
MozReview-Commit-ID: IOlo2kzRhzh
2016-02-03 12:22:06 -05:00
Margaret Leibovic
d1fe17d2d4 Bug 1245497 - (Part 1) Update FENNEC_GECKOAPP_STARTUP_ACTION to measure homescreen shortcut launches. r=mcomella
MozReview-Commit-ID: CkvS3eP5wTy
2016-02-03 12:08:15 -05:00
Carsten "Tomcat" Book
f14d6c92b4 merge fx-team to mozilla-central a=merge 2016-02-18 12:41:52 +01:00
Carsten "Tomcat" Book
f8289f4f90 merge mozilla-inbound to mozilla-central a=merge 2016-02-18 12:01:24 +01:00
Nick Alexander
bda6ae718e Bug 1074258 - Follow-up: Force Gradle JVM to use utf-8 encoding. r=me
MozReview-Commit-ID: J7emtEFBbvX
2016-02-17 22:45:47 -08:00
Nick Alexander
20ef13feb2 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
2016-02-17 17:16:51 -08:00
Nick Alexander
ccec523945 Bug 1233882 - Post: Make Gradle app manifest package be org.mozilla.gecko. r=me
MozReview-Commit-ID: 7YP0mShKc0S
2016-02-17 16:18:13 -08:00
Nick Alexander
ee75d8a77d 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
2016-02-17 19:25:54 -08:00
Michael Comella
efd611eed3 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
2016-02-17 18:20:20 -08:00
Michael Comella
6d6156efb2 Bug 1249150 - Remove FakeProfileTestCase. r=nalexander
MozReview-Commit-ID: Ksz68WSJLyy
2016-02-17 15:35:29 -08:00
Chenxia Liu
2ba6de265a Bug 1243216 - Make clickable slides more visible. r=Margaret
MozReview-Commit-ID: ECC9BgVI5AC
2016-02-16 18:35:30 -08:00
Margaret Leibovic
6253d61988 Bug 1234693 - Point Switchboard URLs to production mozilla-services endpoint. r=mfinkle
MozReview-Commit-ID: ArdTpolY7rQ
2016-02-17 10:14:53 -05:00
Carsten "Tomcat" Book
1e4876ec2e Backed out changeset 53b0b5b29776 (bug 1243435) 2016-02-17 15:00:51 +01:00
Sebastian Kaspari
365e4a9819 Bug 1236431 - Use contentDescription to verify URL in tests. r=mcomella
MozReview-Commit-ID: IrcsLaNExEM
2016-02-12 18:42:40 +01:00
Sebastian Kaspari
a66ebd34bc Bug 1236431 - ToolbarDisplayLayout: Only show base domain. r=mcomella
MozReview-Commit-ID: GwH3XDVim4F
2016-02-11 15:54:11 +01:00
Sebastian Kaspari
701a49a31f Bug 1236431 - (Pre) ToolbarDisplayLayout: Address lint warnings and clean up code. r=mcomella
MozReview-Commit-ID: JkD7uqRMQhQ
2016-02-12 09:42:41 +01:00
Carsten "Tomcat" Book
3fb6ea9889 Merge mozilla-central to fx-team 2016-02-17 14:38:01 +01:00
Carsten "Tomcat" Book
3e9ea9b4fc Backed out changeset bc3e37b63def (bug 1246918) for fix frequent android c1 test failures 2016-02-17 14:35:10 +01:00
Carsten "Tomcat" Book
05fbdd5951 merge fx-team to mozilla-central a=merge 2016-02-17 12:07:39 +01:00
chaithanya
3b8c4786a0 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
1e25d912bc Merge mozilla-central to fx-team 2016-02-17 12:20:16 +01:00
Sebastian Kaspari
0f7272cbaa Bug 1247366 - AppMenuComponent.findAppMenuItemView(): Wait for views and not for text to appear. r=margaret
MozReview-Commit-ID: Hb5BHnu15nm
2016-02-12 21:00:01 +01:00
Ting-Yu Lin
0cded77e54 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
2016-02-11 16:22:57 +08:00
Xidorn Quan
7cada478d1 Bug 743198 part 8 - Use unprefixed Fullscreen API in chrome code. r=smaug 2016-02-17 08:47:11 +08:00
Jim Chen
4b45341431 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
1e590abbf2 Bug 1248033 - Support GAME_ROTATION_VECTOR sensor events with no W parameter; r=snorp 2016-02-16 16:57:49 -05:00
Jim Chen
c1b0c71624 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
21ab07e123 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
4d6ac799f6 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
c0a8e566e1 merge mozilla-inbound to mozilla-central a=merge 2016-02-16 11:51:26 +01:00
ISHIKAWA, Chiaki
72d38a6835 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
939092e62b Bug 1225842 - Properly send message to update open search state. r=liuche
MozReview-Commit-ID: 77s1zWo9vrr
2016-02-05 12:56:23 -05:00
Margaret Leibovic
ca89cf07bb Bug 1245930 - Disable zoomed view on non-Nightly builds. r=mcomella
MozReview-Commit-ID: 3RfprujEO1h
2016-02-12 12:54:50 -05:00
Nick Alexander
c386e3e379 Bug 1248092 - Replace preprocessor -I with CONFIGURE_SUBST_FILES. r=glandium
MozReview-Commit-ID: IT4cHsAOMwd
2016-02-12 16:27:24 -08:00
David Rajchenbach-Teller
a4d88c56a6 Bug 1243706 - Release PerformanceStats/PerformanceWatcher;r=Felipe
MozReview-Commit-ID: 4XT21bfBSa9
2016-01-28 13:41:14 +01:00
Mark Finkle
e34e500a85 Bug 1046859 - Add telemetry flag for search suggestion opt-in r=liuche 2016-02-14 21:20:37 -05:00
Phil Ringnalda
e67329a593 Merge m-i to m-c, a=merge 2016-02-13 19:18:53 -08:00
Mark Finkle
6bbc62012c Bug 1246973 - Support clearing UI Telemetry when creating pings r=gfritzsche 2016-02-12 18:02:03 -05:00
Nick Alexander
f7269cd80a 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
2016-02-12 10:06:40 -08:00
Nick Alexander
4777f0cd86 Bug 1248005 - Use com.stanfy.spoon:spoon-gradle-plugin:1.0.4. r=me
MozReview-Commit-ID: 8hSOCq8XpZ7
2016-02-11 12:44:53 -08:00
Andrzej Hunt
33bea3e9a1 Bug 1245580 - Post: document that OnFaviconLoadedListener runs on the UI thread r=liuche
MozReview-Commit-ID: HcsTHl8ttUQ
2016-02-04 19:22:59 -08:00