Commit Graph

158 Commits

Author SHA1 Message Date
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
David Rajchenbach-Teller
a71f242a73 Bug 1034975 - Search Service depends on OS.File, not on profileBeforeChange. r=mossop 2014-07-06 12:09:00 +02:00
Roberto A. Vitillo
2c4814a243 Bug 988023 - Telemetry on how often we hit search service synchronous fallback. r=gavin 2014-05-14 05:36:00 -04:00
Birunthan Mohanathas
b40a2f269d Bug 1003109 - Replace TaskUtils.spawn with Task.spawn. r=Yoric 2014-04-30 08:17:00 -04:00
Roberto A. Vitillo
c56c5023af Bug 785487 - Have AboutHomeUtils use the asynchronous search service initialization API and adjust browser_aboutHome.js accordingly. r=felipe, r=gavin 2014-04-30 11:33:58 +01:00
Mike Connor
a865d8dc37 Bug 999851 - remove topN support from search service, r=gavin 2014-04-24 16:24:36 -04:00
Mike Connor
7137b311b3 Bug 997432 - log failures when MozParams don't include a condition attribute, r=gavin 2014-04-16 19:35:28 -04:00
Paolo Amadini
839a121511 Bug 991750 - Convert remaining legacy uses of promise.js to Promise.jsm. rs=Yoric 2014-04-07 16:18:43 +02:00
Gavin Sharp
02e76ed7cb Bug 557665 - Allow specifying SearchForm as a normal <Url> in engine description files (part 1, main patch). r=adw 2010-04-01 22:51:26 -04:00
Marco Bonardo
0f4892aee3 Bug 959576 - Create a component to get the list of priority domains. r=gavin 2014-03-22 14:24:36 +01:00
Paolo Amadini
4dea93d14a Bug 940408 - Rework DeferredTask to allow asynchronous tasks and support AsyncShutdown. r=Mossop 2013-12-03 13:21:08 +01:00
Carsten "Tomcat" Book
2bf6897b4f Backed out changeset 295b75fac0c8 (bug 940408) for test failures in B2g Desktop Linux & B2G ICS Emulator Opt 2013-12-03 12:53:27 +01:00
Paolo Amadini
710801e1b0 Bug 940408 - Rework DeferredTask to allow asynchronous tasks and support AsyncShutdown. r=Mossop 2013-12-03 10:15:22 +01:00
L. David Baron
111f261556 Bug 940446: Log a variable that's guaranteed to exist, so we don't throw an exception from the exception handler and break the URL bar and search bar. r=smacleod 2013-11-26 15:28:17 -08:00
Chenxia Liu
727668ddd2 Bug 937870 - nsSearchService displays duplicate engine prompt regardless of confirmation set by caller. r=gavin 2013-11-18 10:27:46 -08:00
Raymond Lee
bb62e34bf5 Bug 725943 - Refactor nsSearchService to generalize use of Lazy. r=MattN 2013-11-07 05:48:12 +08:00
Rodrigo Silveira
3465867d86 Bug 900137 - add support for multple icon sizes to the search service r=yoric sr=gavin 2013-09-22 20:01:01 -07:00