Commit Graph

19313 Commits

Author SHA1 Message Date
Margaret Leibovic
d80bdc295d Bug 1226238 - (Part 4) Remove reading list toggle button from reader view. r=ahunt,Gijs
MozReview-Commit-ID: 3pwOV5BjwC9
2016-02-22 10:35:32 -05:00
Margaret Leibovic
981a623da4 Bug 1226238 - (Part 3) Remove reading list button from reader view. r=Gijs
MozReview-Commit-ID: 4QmGlGH8ELA
2016-02-22 10:29:48 -05:00
Margaret Leibovic
7c39667fa9 Bug 1226238 - (Part 2) Remove reader view footer. r=Gijs
MozReview-Commit-ID: B474joTtVwa
2016-02-22 10:16:24 -05:00
Margaret Leibovic
83855b42fb Bug 1226238 - (Part 1) Remove share button from reader view. r=ahunt,Gijs
MozReview-Commit-ID: 3TFzz809KcM
2016-02-22 10:09:07 -05:00
Sebastian Kaspari
9913b1b669 Bug 1248437 - Replace site security icon with search icon on about:home. r=ahunt
MozReview-Commit-ID: 53HNhoAqMFe
2016-02-15 18:44:50 +00:00
Margaret Leibovic
ffaf97207e Bug 1004734 - Create system notification on browser update. r=liuche,mfinkle
MozReview-Commit-ID: DsVhO2kagZB
2016-02-24 12:16:46 -08:00
Dragana Damjanovic dd.mozilla@gmail.com
4cdb2b1796 Bug 1246956 - Add loadReplace to session history. r=yoric r=mfinkle 2016-03-02 12:17:22 +01:00
Raunaq Abhyankar
7c19fbb085 Bug 1188198 - Remove the m prefix from the ThemedView.java.frag template and regenerate the output files. r=mcomella 2016-01-20 11:14:00 -05:00
Joel Maher
2adb999198 Bug 1251373 - Remove moz payment API support. r=Margaret
MozReview-Commit-ID: IW63XQDyB16
2016-02-25 13:08:50 -08:00
Wes Kocher
a7eef63c32 Merge m-c to inbound, a=merge
MozReview-Commit-ID: Aab5zU7Kd3X
2016-02-26 12:38:33 -08:00
Jim Chen
55c4e36335 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
540eae90a5 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
09910de5eb 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
0654192ddc Bug 1246000 - remove stale locales from Android on central, too, r=jbeatty 2016-02-17 16:39:43 +01:00
Francois Marier
d76a08e7f9 Bug 1245992 - Remove unused Safe Browsing strings. r=past
MozReview-Commit-ID: IkyO53DJpYs
2016-02-25 21:34:15 -08:00
Francois Marier
5eb5b1b255 Bug 1245992 - Update the Safe Browsing phishing interstitial page. r=flod,past
MozReview-Commit-ID: DLC1KDvYbUH
2016-02-25 21:34:01 -08:00
Wes Kocher
092655aa0a Merge m-c to inbound, a=merge
MozReview-Commit-ID: 3PWdAnh0hk5
2016-03-01 15:29:43 -08:00
Bogdan Postelnicu
9640b5d8fe Bug 1252082 - prevent null pointer dereference on |c|. r=sebastian
MozReview-Commit-ID: 1ApWSRDUYMJ
2016-03-01 21:21:16 +02:00
Angel Bouzo
19b0d06e18 Bug 1194033 - Added background selector to TwoLinPageRow & removed selector override from RemoteTabsListView r=mcomella
MozReview-Commit-ID: A9TwBiTbP0B
2016-01-08 18:03:14 -08:00
Andrzej Hunt
8320637996 Bug 760956 - Part 7: only add single blank tile to top sites grid r=rnewman
MozReview-Commit-ID: 42DuTEJZgum
2016-02-25 16:56:15 -08:00
Andrzej Hunt
c282284a7f Bug 760956 - Post: remove unneeded getPinnedSites and getTopSites from BrowserDB r=me
MozReview-Commit-ID: 7Q5dOMVnqKP
2016-02-17 09:57:44 -08:00
Andrzej Hunt
a9d728f2a1 Bug 760956 - Post: Cleanup TopSitesCursorWrapper remainders r=rnewman
MozReview-Commit-ID: ExIkvmfJO5O
2016-02-17 09:47:06 -08:00
Andrzej Hunt
6e38747a3a 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
2016-02-25 16:59:07 -08:00
Andrzej Hunt
e6d7238c4d 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
2016-02-25 16:54:50 -08:00
Andrzej Hunt
5fd8d7c3e6 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
2016-02-25 16:43:13 -08:00
Andrzej Hunt
34fe00d6df 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
2016-02-17 09:28:13 -08:00
Andrzej Hunt
f37e925c2a 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
2016-02-29 11:33:05 -08:00
Andrzej Hunt
1ae5e70b1f 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
2016-02-17 09:13:34 -08:00
Florian Quèze
faddffed3f Bug 1251278 - Remove obsolete Yahoo parameter preferences, r=mconnor. 2016-02-29 11:46:37 +01:00
Carsten "Tomcat" Book
1fd7281917 merge mozilla-inbound to mozilla-central a=merge 2016-02-25 11:57:51 +01:00
Varun Naganathan
7bdf7a739b Bug 1236387 - Add a URL and length filter for search history suggestions r=ahunt
MozReview-Commit-ID: 9EFgukC0imw
2016-02-24 20:46:03 -08:00
Nick Alexander
f05a9d7aa5 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
2016-02-23 23:55:56 -08:00
Nick Alexander
7ad4ea14e2 Bug 1249166 - Pre: Set JAVA_HOME in |mach gradle|. r=me
MozReview-Commit-ID: 4qQz5ZZJqik
2016-02-18 09:06:39 -08:00
dlim
cfd73d0d46 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
8b8d966746 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
d151fd6255 merge fx-team to mozilla-central a=merge 2016-02-24 12:04:15 +01:00
Wes Kocher
86142733ec Merge inbound to central, a=merge 2016-02-23 16:56:58 -08:00
Carsten "Tomcat" Book
c0d742a388 Merge mozilla-central to mozilla-inbound 2016-02-23 16:56:04 +01:00
Carsten "Tomcat" Book
c7adc23ebe merge fx-team to mozilla-central a=merge 2016-02-23 16:54:50 +01:00
Kartikaya Gupta
650f50e205 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
9e390d3655 Bug 1246956 - Add originURI to Sessionstore. r=bz,Yoric,mfinkle 2016-02-22 16:38:57 -08:00
Michael Comella
2ec4d618b2 Bug 1247557 - Close Cursors in AndroidImport. r=sebastian
MozReview-Commit-ID: KcKAXLxJr7l
2016-02-22 14:55:43 -08:00
Michael Comella
283e5223a8 Bug 1250250 - Store updated seq no. before sending upload Intent. r=mfinkle
MozReview-Commit-ID: Ab2qycjDKOy
2016-02-22 11:20:37 -08:00
Chenxia Liu
39dce1f7b6 Bug 1246130 - Gather onboarding telemetry experiments separately from other active experiments. r=margaret
MozReview-Commit-ID: KPqdlzoqTBH
2016-02-16 19:08:43 -08:00
Margaret Leibovic
63f40cfd0f Bug 1249434 - Add a "Show web fonts" pref in advanced settings. r=jchen
MozReview-Commit-ID: EJl4qh0mOr4
2016-02-22 16:37:48 -08:00
Nick Alexander
5f4bcf6727 Bug 1248160 - Part 3: Move MOZ_ANDROID_SHARED_ID to branding; remove mobile/android/defs.mk. r=ted.mielczarek
MozReview-Commit-ID: KAxIYsHvAC4
2016-02-13 10:19:25 -08:00
Nick Alexander
deff89956f 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
2016-02-13 10:13:10 -08:00
Nick Alexander
aaff2ddd7e 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
2016-02-13 10:00:58 -08:00
Mark Finkle
5fb627ff1d 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
45cff21e15 Bug 1250144 - call super.onAttachedToWindow in ToolbarEditLayout::onAttachedToWindow. r=sebastian
MozReview-Commit-ID: 5ld41tfhVGv
2016-02-22 17:04:52 +02:00
Edwin Flores
4aa4d53551 Bug 1246984 - Fix scrolling on Blackberry capacitive keyboard - r=kats 2016-02-22 09:36:22 +00:00
vivek
840c94856f 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
2015-12-15 19:23:14 +02:00
Andrzej Hunt
e870bf03e3 Bug 1252501 - Coalesce topsites position with rowid to ensure a valid position r=rnewman
MozReview-Commit-ID: BFcs3sUT0Ff
2016-03-01 14:00:22 -08:00
Chenxia Liu
0fdf116bcd Bug 1232866 - Establish clearer IA for panel list items. r=mcomella
MozReview-Commit-ID: 40quuVQxL2K
2016-03-02 10:42:19 -08:00
Carsten "Tomcat" Book
54d05803a2 Merge mozilla-central to fx-team 2016-03-02 16:05:38 +01:00
Tristan
295adc9dc7 Bug 1244197 - Fixed conditional logic for two performance optimizations, r=capella 2016-03-02 08:19:11 -05:00
Phil Ringnalda
af4b02227d Merge f-t to m-c, a=merge 2016-02-20 17:25:14 -08:00
Chenxia Liu
50bd8bb392 Backed out changeset a47d5f97fca8. r=bustage, CLOSED TREE
MozReview-Commit-ID: 6AoqIQWcOKd
2016-02-19 20:18:08 -08:00
Chenxia Liu
4e5d96c5c3 Bug 1246130 - Gather onboarding telemetry experiments separately from other active experiments. r=margaret
MozReview-Commit-ID: INBoGNmVndw
2016-02-16 19:08:43 -08:00
Chenxia Liu
de91161ea3 Bug 1243216 - Run pngquant on images to compress them further. r=mfinkle
MozReview-Commit-ID: ISx9rUsB4PX
2016-02-18 18:45:15 -08:00
Mark Finkle
2a9c84bb03 Bug 1249314 - Cleanup 'tabstray' Telemetry method r=liuche 2016-02-19 14:56:43 -05:00
Mark Finkle
46c9b10f56 Bug 1249094 - Add UI Telemetry probes for application foreground / background changes r=margaret 2016-02-19 14:56:40 -05:00
Margaret Leibovic
b3e6967557 Bug 1227743 - Remove snippet (id) from rotation after the user clicks on it. r=mfinkle
MozReview-Commit-ID: 10m8yssL94U
2016-02-11 15:29:25 -05:00
Jim Chen
e4d0ce1fdc 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
6154ac43b6 Merge mozilla-central to fx-team 2016-02-19 12:08:37 +01:00
Carsten "Tomcat" Book
c69829500b merge mozilla-inbound to mozilla-central a=merge 2016-02-19 12:02:26 +01: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
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
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
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
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
Andrzej Hunt
aaf005f02c Bug 1245580 - Part 2: assert GeckoAppShell.createShortcut is run on background thread r=liuche
MozReview-Commit-ID: 4KsxfvQ5mOd
2016-02-04 19:24:20 -08:00
Andrzej Hunt
d74032c6f7 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
71e9757356 Bug 1235689 - Fix and enable robocop testAppMenuPathways; r=sebastian 2016-02-19 08:19:54 -07:00
Carsten "Tomcat" Book
4f89063dcd Merge mozilla-central to mozilla-inbound 2016-02-19 12:07:49 +01:00
Ting-Yu Lin
f838b222e3 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
Carsten "Tomcat" Book
cc458bb98e Merge mozilla-central to fx-team 2016-02-12 15:21:12 +01:00
Carsten "Tomcat" Book
ab1e5f44dc merge mozilla-inbound to mozilla-central a=merge 2016-02-12 15:15:17 +01:00
Carsten "Tomcat" Book
73e08a4e77 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
a5c87276df Bug 1247294 - Add "Full-screen browsing" settings, in Settings -> General menu for tablets. r=sebastian 2016-02-11 15:57:36 +02:00
Andrzej Hunt
d755ef8861 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
fcf3b8657a 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
c87e0ede58 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
500e6635c8 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-03 11:18:38 -08:00
Nick Alexander
94bd918d8c 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
2016-02-11 10:07:20 -08:00
malayaleecoder
2b698981bb Bug 1243821 - Remove unused Old Sync strings. r=nalexander
MozReview-Commit-ID: 48Nm8SxZEbG
2016-02-03 02:02:25 +05:30
Carsten "Tomcat" Book
0a555533a6 merge mozilla-inbound to mozilla-central a=merge 2016-02-11 11:52:01 +01:00
Ting-Yu Lin
7ea335f8e8 Bug 1246572 - Remove the two blue bars of the text selection for Fennec. r=snorp 2016-02-09 23:19:43 +08:00
Randall Barker
e57e8c417c Bug 1247095 - Disable re-targeting mouse event in Fennec r=snorp 2016-02-10 08:20:01 -08:00
Carsten "Tomcat" Book
24a4428cfe Merge mozilla-central to mozilla-inbound 2016-02-10 14:29:05 +01:00
Carsten "Tomcat" Book
3847eaf3bd merge mozilla-inbound to mozilla-central a=merge 2016-02-10 11:47:34 +01:00
Jim Chen
0c9549bd87 Bug 1241558 - Re-enable testInputConnection on 4.3; r=gbrown 2016-02-09 23:36:41 -05:00
Jim Chen
906cd783ea Bug 1241558 - Add test to testInputConnection; r=esawin 2016-02-09 23:36:41 -05:00
Jim Chen
45c8ed0b53 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
406dc13a1d 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.
2016-02-03 15:39:16 -08:00
Michael Comella
b71a17e843 Bug 1246839 - Close Reader in ApkResources. r=rnewman
MozReview-Commit-ID: Ks2AkrPDF3Q
2016-02-08 17:58:03 -08:00
Michael Comella
31ec0db69f Bug 1246839 - Close FileOutputStream in BrowserApp. r=rnewman
MozReview-Commit-ID: C2tWuetVrqp
2016-02-08 17:55:48 -08:00
Michael Comella
09035ff65f 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.
2016-02-08 17:17:14 -08:00
Michael Comella
59539bf626 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.
2016-02-08 17:10:26 -08:00
Michael Comella
85c3cb6030 Bug 1246209 - Extract readJSONObjectFromFile out of getClientId. r=mfinkle 2016-02-08 15:03:21 -08:00
Michael Comella
e96bcf3add 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.
2016-02-04 16:10:29 -08:00
Mark Finkle
ec6fe8647c Bug 1244966 - Re-enable testBookmarklets using a simpler test r=margaret 2016-02-09 11:24:36 -05:00
Shatur
a182a1d524 Bug 1228170 - Remove legacy menu code from AppMenuComponent. r=sebastian 2016-02-02 23:46:58 +05:30
Carsten "Tomcat" Book
63e921a3d8 merge mozilla-inbound to mozilla-central a=merge 2016-02-09 12:02:38 +01:00
Christoph Kerschbaumer
f6da4b30e3 Bug 1229890 - Convert JS callsites to use asyncOpen2 within mobile/ (r=mfinkle,sicking) 2016-02-08 08:53:17 -08:00