Commit Graph

274 Commits

Author SHA1 Message Date
Christoph Kerschbaumer
0e075876c3 Bug 1048048 - add preload content policy types for images (r=seth) 2015-09-20 14:55:59 -07:00
Wes Kocher
7e27875d2c Backed out 7 changesets (bug 1048048) for android crashes in various chunks CLOSED TREE
Backed out changeset b5abe23a4ea5 (bug 1048048)
Backed out changeset 4f91b10e8be0 (bug 1048048)
Backed out changeset 450d4a13c90e (bug 1048048)
Backed out changeset 6a727c40eb68 (bug 1048048)
Backed out changeset 88c2333ff745 (bug 1048048)
Backed out changeset 740ab1ecd079 (bug 1048048)
Backed out changeset 02c6d6aef163 (bug 1048048)
2015-09-21 09:08:34 -07:00
Christoph Kerschbaumer
46f476eda8 Bug 1048048 - add preload content policy types for images (r=seth) 2015-09-20 14:55:59 -07:00
Wes Kocher
4037741ef5 Merge m-c to inbound, a=merge 2015-09-15 17:20:16 -07:00
Florian Quèze
988b5cf5c8 Bug 1203161 - remove the browser.search.cache.enabled pref, r=adw. 2015-09-11 14:18:15 +02:00
Shu-yu Guo
37989840cd Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Florian Quèze
d1e3fa6e3a Bug 1169459 - remove the loadFromJars/jarURIs prefs, r=Mossop. 2015-09-04 11:50:49 +02:00
Florian Quèze
005a375c1d Bug 438599 - the currentEngine attribute of nsIBrowserSearchService should never be null, r=Mossop. 2015-09-04 11:39:08 +02:00
Chris Manchester
5fcf29f474 Bug 1131325 - Update search service and tests for moving countryCode from gfxInfo2 to sysinfo. r=markh 2015-07-28 22:25:34 -07:00
Florian Quèze
7e38725dba Bug 1194265 - Some default search engines should only be visible in specific countries, r=Mossop. 2015-08-15 11:08:58 +02:00
Florian Quèze
8090dcb2ab Bug 1177443 - Add 'system' purpose for searches coming from outside Firefox, r=MattN. 2015-08-12 16:57:43 +02:00
Florian Quèze
fb49ba2c4a Bug 1184974 - The submissionURL should not be recorded for packed add-ons in the profile, r=markh. 2015-07-21 23:12:07 +02:00
Florian Quèze
7d3d8986aa Bug 1175218 - The original default engine should be set per region rather than per locale, r=markh. 2015-07-10 21:06:24 +02:00
Florian Quèze
ccc9f6010a Bug 1109354 - prefer Firefox default engines over profile-installed plugins with the same name, r=markh. 2015-06-15 18:32:09 +02:00
Florian Quèze
7a45cfad39 Bug 1164159 - Stop using a wrappedJSObject hack to access nsIBrowserSearchService.getDefaultEngineInfo, r=markh. 2015-06-10 11:18:08 +02:00
Florian Quèze
ab37e20d6b Bug 1164159 - Send information about the default search engines through Telemetry, r=markh,gfritzsche. 2015-06-10 11:17:31 +02:00
Mike Connor
cbd13bdcd5 Bug 1171730 - Funnelcake builds should use geo-specific defaults. r=florian 2015-06-05 08:30:00 -04:00
Florian Quèze
10e3674c50 Bug 1159717 - Loading the search form from an empty search bar should send the purpose, r=markh. 2015-05-21 11:53:15 +02:00
Florian Quèze
61d3792cca Bug 1162569 - default engine files should be in the omni.ja file, r=markh,glandium. 2015-05-19 15:57:08 +02:00
André Reinald
bad75d8337 Bug 1075157 - Support action: reset search. r=gfritzsche, r=florian, r=bholley 2015-04-24 17:57:52 +02:00
Tooru Fujisawa
991d3771e9 Bug 1131107 - Part 13: Do not use non-standard flag argument of String.prototype.replace in toolkit/. r=gavin 2015-03-09 23:02:57 +09:00
Roy Li
ffde6748c4 Bug 896688 - Replace finite state machine with flag in nsSearchService. r=smacleod 2015-02-12 16:37:42 -06:00
Mark Hammond
b3b6a00168 Bug 1130132 - add telemetry to determine how consistent our geoip country code is with Windows. r=gavin 2015-02-12 12:49:18 +11:00
Christoph Kerschbaumer
2bb13c0b9b Bug 1087744: Make JS callers of ios.newChannel call ios.newChannel2 in toolkit/ (r=gijs) 2014-10-24 15:25:34 -07:00
Mark Hammond
d357ab696d Bug 1121340 - add telemetry to determine how consistent our geoip country code is with the platform's. r=gavin 2015-02-05 12:24:06 +11:00
Mark Hammond
e8dbf27e4a Bug 1123974 - geoip result should not override users already with browser.search.isUS=true. r=florian 2015-02-04 14:20:19 +11:00
Mark Finkle
d501d69df9 Bug 1117186 - fix geo-specific search defaults interaction with the defaultEngine getter/setter and use a helper for getting geo-specific prefs f=gavin,r=markh 2015-01-21 23:05:48 -05:00
Mark Hammond
63a23d3260 Bug 1116404 - better timeout semantics for search service geoip lookups. r=felipe 2015-01-09 13:43:29 +11:00
Gavin Sharp
1bceda9045 Bug 1106150: fix condition="defaultEngine" MozParam. r=markh 2014-12-30 08:54:23 +11:00
Gavin Sharp
42074e8c8d Bug 1110420: need to not do geo-specific defaults for distribution builds. r=markh 2014-12-29 10:10:58 +11:00
Alexander J. Vincent
979f2abf8a Bug 1108168 - Check the type of a preference type before trying to call getBoolPref. r=dao 2014-12-08 12:49:50 -08:00
Mark Hammond
a73e8cdc02 Bug 1109120 - use a geoip xhr request for more reliable country detection for search. r=gavin 2014-12-23 22:17:12 +11:00
Gavin Sharp
c537230dee Bug 1108627: market-specific search defaults broke default engine behavior for Fennec, so make it desktop Firefox-only, r=dolske 2014-12-08 13:54:17 -08:00
Gavin Sharp
4ee684c52b Bug 1102416: make Yahoo the default search plugin for en-US in American time zones, r=dolske, a=me 2014-11-23 20:38:22 -08:00
Richard Newman
d9ba11d35e Bug 1097542 - Use explicit collation in nsSearchService. r=Waldo,adw
On Android, String.prototype.localeCompare ends up calling strcoll(), which results in an undesirable sort order for search engines.

This patch alters nsSearchService to use nsICollation.compareString directly, which should yield a consistent order across all platforms.

We use kCollationCaseInsensitiveAscii, which ignores case on ASCII characters but preserves ordering between accented and non-accented characters. We can revisit this decision if necessary.
2014-11-17 22:21:43 -08:00
Nick Alexander
10304b4a7e Bug 986544 - Don't try to parse searchplugins list as XML. r=rnewman
XHR requests default to text/xml.  This just avoids trying to interpret
list.txt as XML.
2014-10-23 11:05:47 -07:00
Henri Sivonen
f04b349a02 Bug 1069954 - Remove us-ascii as a Gecko-canonical encoding name. r=emk. 2014-09-22 16:15:34 +03:00
Dave Townsend
121878a4ec Bug 1070223: Ignore exceptions thrown from nsIBrowserSearchInitObserver. r=MattN 2014-09-19 16:04:41 -07:00
Tim Taubert
912f6f9c81 Bug 1047472 - Make parseSubmissionURL return the string offset for each search term r=paolo 2014-08-06 20:36:35 +02:00
Tim Taubert
7a3bb575b7 Bug 1040931 - Add extensionID parameter to addEngineWithDetails r=gavin 2014-08-27 16:38:20 +02:00
Bill McCloskey
853c5d27a4 Bug 1046964 - Fix some JS warnings (r=ttaubert) 2014-08-19 17:27:58 -07:00
Paolo Amadini
7410aef827 Bug 1053357 - Search terms with multiple spaces are displayed with plus signs in the location bar. r=gavin 2014-08-15 10:19:31 +01:00
Tomasz Kołodziejski
76eb375043 Bug 1052734 - Use FileUtils.PERMS_FILE instead of magic octal constants in nsSearchService.js. r=MattN 2014-08-12 17:07:00 -07:00
Birunthan Mohanathas
041262f9b8 Bug 1049979 - Fix 'functions may be declared only at top level or immediately within another function' warnings. r=gavin 2014-08-10 11:16:32 -07:00
Florian Quèze
4430e56891 Bug 1029148 - store current search engine configuration outside of prefs - add a disclaimer in the salt, r=gavin. 2014-08-05 01:02:20 +02:00
Florian Quèze
6ecc298ed1 Bug 1029148 - store current search engine configuration outside of prefs, r=MattN. 2014-08-05 01:02:19 +02:00
Paolo Amadini
bdc09e3814 Bug 1040721 - The search service should provide details for parsing search result URLs. r=gavin 2014-07-31 15:57:02 +01:00
Richard Newman
8f92d50230 Bug 1043627 - Only re-initialize nsSearchService on locale change in Fennec. r=adw 2014-07-25 11:34:23 -07:00
Richard Newman
130809b780 Bug 1018240 - Part 1: reinitialize nsSearchService when the browser locale changes. r=adw
This patch makes nsSearchService watch for changes in the
general.useragent.locale pref, asynchronously reiniting itself when the pref
changes.

reinit-complete and reinit-failed events are broadcast on the usual search
service topic.
2014-07-21 10:54:55 -07:00
Mike Connor
0e949888a7 Bug 1006103 - add speculativeConnect() method to search engines, API + browser change, r=gavin
* * *
bug 1006103 - use speculativeConnect() method on nsISearchEngine in Fennec, r=margaret
2014-05-06 12:47:22 -04:00