Commit Graph

18976 Commits

Author SHA1 Message Date
Michael Comella
916d6e1438 Bug 1245711 - Update Adjust proguard cfg to match docs. r=mfinkle 2016-02-03 16:49:30 -08:00
Carsten "Tomcat" Book
8b443d3de2 Merge mozilla-central to fx-team 2016-02-04 12:08:00 +01:00
Carsten "Tomcat" Book
d172d7d9e2 merge mozilla-inbound to mozilla-central a=merge 2016-02-04 12:02:05 +01:00
Nick Alexander
b150066cf5 Backed out 2 changesets (bug 1163082) for Robocop rc1 failures.
Backed out changeset baf25be8d491 (bug 1163082)
Backed out changeset e228040a044b (bug 1163082)
2016-02-03 23:15:00 -08:00
Mark Finkle
d32a02bdee Bug 1245576 - Add missing unsave.1 UI Telemetry for removing bookmarks and readinglist items from Home Panels r=margaret 2016-02-04 02:45:02 -05:00
Nick Alexander
05df1da05d Bug 1163082 - Part 2: Extract Android distribution from packaged assets rather than APK root. r=rnewman
This reads from "assets/distribution/**" in the APK and writes to
"distribution/**" in the data directory.  That output is the same, but
the input used to read from "distribution/**", which is not really
supported by modern build tooling (Gradle), which doesn't allow to
write files directly into the APK root.

I manually tested this without issue.  I see no way to add meaningful
tests to our current Robocop test suite; the long term testing
approach is to develop a new test for this functionality and only run
it against the "distribution" build type that was added in Bug
1163080.  However, that's a larger project than I have time for now.
2016-01-26 10:36:09 -08:00
Nick Alexander
3a0c910fb3 Bug 1163082 - Part 1: Add --with-android-distribution-directory. r=gps
This simply packs the assets/ subdirectory of the distribution
directory into the assets/ directory of the Android APK using existing
mechanisms.  It also removes the older method of manually pushing
files into dist/bin/distribution, from where they would be packaged
into the APK under distribution/.
2016-01-27 12:25:04 -08:00
Nick Alexander
95a5d50d12 Bug 1243855 - Add Java client for interacting with autopush endpoint service. r=rnewman,sebastian
A few notes: the test is live, so I've marked it @Ignore, so that it
doesn't run during |mach gradle test|.  There's some value in mocking
the service endpoint, but this is how I verify that the server works,
so it has more value right now as a live test than a mocked test.  In
the future, that probably won't be true.

There are issues running the test locally because Robolectric doesn't
provide all the cipher suites we use in GlobalConstants: in
particular, the GCM suites aren't supported.  This may improve as
Robolectric matures, or we may add a work-around in the code (like at
http://androidxref.com/4.4.4_r1/xref/libcore/support/src/test/java/libcore/java/security/StandardNames.java#68),
or we may add a test-specific flag.  For now, I'm not going to address
it directly.

Finally, I put the code in mobile/android/services, simply because the
less that goes into base, the better our build times will be.
2016-01-29 13:47:20 -08:00
Andrzej Hunt
2af8459554 Bug 1243307 - Post: convert AsyncTask to ThreadUtils.postToBackgroundThread r=liuche 2016-02-01 15:38:35 -08:00
Andrzej Hunt
3b44ba8f8c Bug 1243307 - Post: clarify where onPromptFinished is run r=liuche 2016-02-01 15:37:47 -08:00
Andrzej Hunt
a36a5f8483 Bug 1243307 - Part 2: Ensure homescreen shortcut creation happens on background thread r=liuche 2016-02-01 15:36:38 -08:00
Andrzej Hunt
f12afe3147 Bug 1243307 - Part 1: Make onPromptFinished run in the UI thread again r=liuche
This seems more consistent with what Android UI callbacks do. This commit also
means all callees must be adapted to use the background thread if needed.
2016-02-01 15:07:47 -08:00
Michael Comella
ae3db5a495 Bug 1244293 - Don't upload telemetry if user opts out. r=mfinkle
I'm slightly concerned we're providing too much configuration information in
the debugging statements.
2016-01-29 15:21:50 -08:00
Margaret Leibovic
87e44a4f88 Bug 1241566 - Put malware download protection behind a switchboard flag. r=liuche 2016-01-29 16:30:35 -05:00
Carsten "Tomcat" Book
7aac6ac635 merge mozilla-inbound to mozilla-central a=merge 2016-02-03 11:59:20 +01:00
Ting-Yu Lin
57c1b2ecc2 Bug 1240917 - Tweak ActionBar behavior when selection is collapsed. r=snorp
* Long pressing on empty input -> show the ActionBar.
* Single tapping on input (either empty or non-empty) -> do not show the
  ActionBar.
2016-02-02 14:32:31 +08:00
Ting-Yu Lin
55b18de4bc Bug 1240917 - Turn off caret timeout on Fennec. r=snorp 2016-02-02 14:32:31 +08:00
Andrzej Hunt
616a8f59bd Bug 1240500 - Don't repeatedly create ArrayLists when searching for occurrences r=margaret 2016-02-01 17:24:28 -08:00
Andrzej Hunt
e916b0aeb5 Bug 1242666 - Support apple-touch-icon-precomposed too r=mfinkle 2016-02-01 11:25:52 -08:00
Sebastian Kaspari
a36f58bf0b Bug 1244760 - DownloadContentService: Use HttpUrlConnection instead of HttpClient. r=rnewman 2016-02-01 17:32:07 +01:00
Margaret Leibovic
b3b931b8b9 Bug 1244727 - Remove expired histogram probes. r=mfinkle 2016-02-01 10:02:53 -05:00
Margaret Leibovic
4f84e13b71 Bug 1244704 - Create a more granular BOOKMARKS_COUNT probe for mobile. r=mfinkle 2016-02-01 09:58:03 -05:00
Michael Comella
88437e415a Bug 1244859 - Remove trailing slash in telemetry urls. r=mfinkle r=mfinkle
It was not to-spec (though it doesn't appear to have an effect on how the
server reads the data).
2016-02-01 13:25:40 -08:00
Margaret Leibovic
5b16fcb7f4 Backed out changeset 5a593c624332 2016-02-02 10:07:55 -05:00
Margaret Leibovic
b0bbcb16cd Backed out changeset cd18c8af8b56 2016-02-02 10:06:52 -05:00
Margaret Leibovic
0c496491f8 Bug 1244727 - Remove expired histogram probes. r=mfinkle 2016-02-01 10:02:53 -05:00
Margaret Leibovic
fa5bee278f Bug 1244704 - Create a more granular BOOKMARKS_COUNT probe for mobile. r=mfinkle 2016-02-01 09:58:03 -05:00
Margaret Leibovic
b6cc744cd2 Bug 1244734 - Handle a null tab URL in enterEditingMode. r=liuche 2016-02-01 10:47:10 -05:00
Carsten "Tomcat" Book
16be5c211b Merge mozilla-central to fx-team 2016-02-02 11:54:43 +01:00
Carsten "Tomcat" Book
526da08504 merge mozilla-inbound to mozilla-central a=merge 2016-02-02 11:50:53 +01:00
Geoff Brown
c2fe10f190 Bug 1241907 - Grant runtime permissions before running browser tests; r=jmaher 2016-02-01 15:52:34 -07:00
Jim Chen
6db455a6bf Bug 1243070 - Remove obsolete size-change code; r=snorp
Remove obsolete SIZE_CHANGED event and its handler in nsWindow. Also
remove some other supporting code (such as gAndroidBounds and the
FORCED_RESIZE event) that should be unnecessary by now.
2016-02-01 17:38:14 -05:00
Jim Chen
b6f9d60f3b Bug 1243070 - Use native method to notify window size change; r=snorp
Convert the SIZE_CHANGED event to a native method in GLController, and
carry over the SIZE_CHANGED implementation to the new implementation in
GLController. Some other changes were made for correctness in handling
size changes.
2016-02-01 17:38:14 -05:00
Jim Chen
dc1f911518 Bug 1243069 - Control GeckoThread state entirely from C++ code; r=snorp
Right now, we rely on browser.js sending Gecko:Ready, to set the
GeckoThread state to RUNNING upon receiving Gecko:Ready. This patch
gets rid of this dependency on browser.js and Gecko:Ready.
2016-02-01 17:38:14 -05:00
Jim Chen
fe64d3e01c Bug 1243049 - Update robocop tests to use new prefs API; r=gbrown
Change old robocop prefs API to the new API and add helper classes for
getting prefs. Also switch all tests that use prefs to use the new API.
2016-02-01 17:38:14 -05:00
Jim Chen
64afe7e3b3 Bug 1243049 - Use PrefHelper.addObserver; r=snorp
Use the new PrefHelper.addObserver method for adding pref observers.
2016-02-01 17:38:14 -05:00
Jim Chen
9d89aa3c68 Bug 1243049 - Convert browser.js prefs code to use observer; r=margaret
Convert the old prefs code in browser.js to use observer notifications
that are sent by the new PrefsHelper implementation, in order to handle
pseudo-prefs.
2016-02-01 17:38:14 -05:00
Jim Chen
25b09c5b0b Bug 1243049 - Introduce new PrefsHelper implementation; r=snorp
Introduce a new implementation for PrefsHelper that does not use events
or rely on browser.js for getting and/or setting prefs. Also add an
addObserver method to better match the removeObserver method.
2016-02-01 17:38:13 -05:00
Sebastian Kaspari
db82709ec7 Bug 1244748 - Remove unused network_offline.png. r=mfinkle 2016-02-01 17:08:37 +01:00
Jordan Lund
0cd5d5e4e1 Bug 1219094 - releng - kill api-11 mozconfigs NPOTB DONTBUILD CLOSED TREE r=rail 2016-02-01 13:42:38 -08:00
Sebastian Kaspari
a882c3a6c5 Bug 1244241 - Fix quotes in tab_queue_notification_settings. r=Pike 2016-02-01 22:48:12 +01:00
Mark Capella
a863c160b5 Bug 1235510 - Remove obsolete robocop tests for SelectionHandler routines, r=jchen 2016-02-01 16:42:12 -05:00
Sebastian Kaspari
f2585b014f Bug 1243817 - DownloadContentCatalog: Store catalog as JSON object instead of array. r=rnewman 2016-01-28 19:26:09 +01:00
Andrzej Hunt
5287dfd469 Bug 1243354 - Part 1: Correctly handle TextInputLayout in PromptInput r=mcomella 2016-01-29 15:33:18 -08:00
Fabrice Desré
edd38dff24 Bug 1245320 - Build broken by use of RESPATH in package-manifest.in r=me 2016-02-02 16:09:47 -08:00
Francois Marier
161af1c8e4 Bug 1237856 - Add prefs to honor/ignore Application Reputation verdicts. r=gcp 2016-02-02 15:07:06 -05:00
Birunthan Mohanathas
2083419fba Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
Phil Ringnalda
6b3edae1b2 Bug 1241478 - Disable test_offline_page.html for frequent failures stemming from trying to check the DOM of a page before it has loaded 2016-01-31 10:06:38 -08:00
Phil Ringnalda
b885c4b318 Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
CLOSED TREE

Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas
a93e22749f Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-01-31 17:12:12 +02:00