Commit Graph

256 Commits

Author SHA1 Message Date
Florian Quèze
6a69a8d036 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
af833ef045 Bug 1175218 - The original default engine should be set per region rather than per locale, r=markh.
--HG--
extra : rebase_source : 98eed0fe583dfaef7b83eccba4534b6e46c5accf
2015-07-10 21:06:24 +02:00
Drew Willcoxon
c58349faa4 Bug 1176381 - Fix a typo in SearchSuggestionController that causes a JS warning. r=MattN 2015-06-23 17:42:19 -07:00
Florian Quèze
46202ff411 Bug 1109354 - prefer Firefox default engines over profile-installed plugins with the same name, r=markh.
--HG--
extra : rebase_source : cdf4cb2b3969a9ac797f61c3f0b4f081353582e4
2015-06-15 18:32:09 +02:00
Florian Quèze
e09d0ceffd Bug 1164159 - Stop using a wrappedJSObject hack to access nsIBrowserSearchService.getDefaultEngineInfo, r=markh. 2015-06-10 11:18:08 +02:00
Florian Quèze
a9ec9ab1eb Bug 1164159 - Send information about the default search engines through Telemetry, r=markh,gfritzsche. 2015-06-10 11:17:31 +02:00
Mike Connor
0c23f1fbeb Bug 1171730 - Funnelcake builds should use geo-specific defaults. r=florian 2015-06-05 08:30:00 -04:00
Christoph Kerschbaumer
3a846e95d6 Bug 1167053 - Convert NetUtil.newChannel2 callsites to use new API - update asyncFetch2 (r=sicking,paolo) 2015-05-21 19:51:40 -07:00
Florian Quèze
16ae82064b 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
9bf022ea63 Bug 1162569 - default engine files should be in the omni.ja file, r=markh,glandium. 2015-05-19 15:57:08 +02:00
Gijs Kruitbosch
897dd49042 Bug 1136139 - Fix collapsing of search suggestions when there are none. r=florian
--HG--
extra : transplant_source : F%F4%3D%E7%FE%01%23%DA%B1f%A1D%DBF%20%A9%3C%08%02%84
2015-04-29 15:35:00 +01:00
André Reinald
abcbead4d2 Bug 1075157 - Support action: reset search. r=gfritzsche, r=florian, r=bholley 2015-04-24 17:57:52 +02:00
ziyunfei
e1db0f779e Bug 1102219 - Part 4: Replace String.prototype.contains with String.prototype.includes in chrome code. r=till 2015-04-30 00:32:05 +09:00
Hiroyuki Ikezoe
fa4702635a Bug 1139254 - Use MockRegistrar in toolkit/components. r=Unfocused 2015-03-24 19:47:00 -04:00
Carsten "Tomcat" Book
0503c0d6df merge mozilla-inbound to mozilla-central a=merge 2015-03-17 11:36:52 +01:00
Hiroyuki Ikezoe
8e744492bd Bug 1132772 - afterCache() and afterCommit() should return Promise. r=ttaubert
--HG--
extra : rebase_source : ff86c3437adcafe9447c2bad2974f353143b6281
2015-03-15 16:06:00 -04:00
Sebastian Hengst
394a2dd441 Bug 1143470 - Add BUG_COMPONENT to moz.build files in toolkit and xulrunner. r=gavin 2015-03-15 19:36:24 +01:00
Tooru Fujisawa
fe0cf643e7 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
Philip Chee
b7e54e1f45 Bug 1130886 Warning: Trying to re-register CID '{22117140-9c6e-11d3-aaf1-00805f8a4905}' r=Mossop
--HG--
extra : rebase_source : d7df180a294e406e1ba621a586c1974870a2007e
2015-02-14 02:50:38 +08:00
Roy Li
5f7a4ca890 Bug 896688 - Replace finite state machine with flag in nsSearchService. r=smacleod 2015-02-12 16:37:42 -06:00
Ryan VanderMeulen
a801fa4088 Merge fx-team to m-c. a=merge
CLOSED TREE
2015-02-12 18:02:35 -05:00
Mark Hammond
769856eeb5 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
Phil Ringnalda
490561155f Back out 35e75bce4db4 (bug 1087744) for xpcshell bustage
CLOSED TREE
2015-02-10 23:05:42 -08:00
Christoph Kerschbaumer
7082ffe2b7 Bug 1087744: Make JS callers of ios.newChannel call ios.newChannel2 in toolkit/ - tests (r=gijs) 2015-02-11 08:51:35 -08:00
Christoph Kerschbaumer
fe39ce0539 Bug 1087744: Make JS callers of ios.newChannel call ios.newChannel2 in toolkit/ (r=gijs) 2014-10-24 15:25:34 -07:00
Christoph Kerschbaumer
01f03b1b49 Bug 1087744: Make JS callers of ios.newChannel call ios.newChannel2 in toolkit/ - tests (r=gijs) 2015-02-10 20:49:49 -08:00
Dave Townsend
fcf968baa0 Bug 1068186: Update window.sidebar and window.external APIs to support e10s. r=felipe
Moves nsSidebar.js to toolkit and makes it just pass messages to chrome for each
API call. MainProcessSingleton listens for those messages and passes the call
along to the search service.
Combines the validation code into the same function and takes the opportunity to
support relative URLs too.
Adds a bunch of tests for these web APIs.

Also fixes:
Bug 518929: Implement window.external APIs in core code
Bug 530847: Remove Fennec's nsISidebar implementation once that code is moved into the core
Bug 517720: Adding a search engine using relative URIs is not supported

--HG--
rename : browser/components/sidebar/nsSidebar.js => toolkit/components/search/nsSidebar.js
extra : rebase_source : 3e9caa49383e78e73e5f111ff09fb063f2cfa7c0
2015-02-02 12:15:26 -08:00
Mark Hammond
a015a83aaf 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
0a544c73ea Bug 1123974 - geoip result should not override users already with browser.search.isUS=true. r=florian
--HG--
rename : toolkit/components/search/tests/xpcshell/test_location.js => toolkit/components/search/tests/xpcshell/test_location_migrate_no_countrycode_isUS.js
rename : toolkit/components/search/tests/xpcshell/test_location.js => toolkit/components/search/tests/xpcshell/test_location_migrate_no_countrycode_notUS.js
2015-02-04 14:20:19 +11:00
Mark Finkle
73ee4fdf9e 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
711c3dab32 Bug 1117979 - fix orange by not relying on DNS lookup failure in the 'error' test. r=gavin 2015-01-22 12:13:23 +11:00
Sai Prathik
c5a5229cab Bug 1119682 - TypeError: setting a property that has only a getter fix, r=felipe 2015-01-15 11:58:00 +00:00
Mark Hammond
dcde811e7d Bug 1116404 - better timeout semantics for search service geoip lookups. r=felipe 2015-01-09 13:43:29 +11:00
chrishood@eagles.ewu.edu
1a6a9cae0d bug 930456: Enforce failure if search service is initialized from a child process. r=gavin
--HG--
extra : transplant_source : %1F%E46%1F%C7%F2%04%9B%EB%BF%FE%EB_%08%B3XN%F9%8B%29
2014-12-30 09:32:04 -08:00
Gavin Sharp
f0118ffb88 Bug 1106150: fix condition="defaultEngine" MozParam. r=markh 2014-12-30 08:54:23 +11:00
Hiroyuki Ikezoe
5339f7076c Bug 1115440 - Don't rely on preference values for firefox. r=markh 2014-12-29 13:43:30 -08:00
Gavin Sharp
5914eb88f1 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
0d6d7b0e1a 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
8dc853f068 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
69a6c5091b 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
ce93d8354d 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
Florian Quèze
0ae31a3cb5 Bug 1088660 - Improve the search bar UI to support one-off searches - fix tests that failed on fx-team, r=felipe over email. 2014-11-27 12:24:53 +01:00
Florian Quèze
13f2d62f6d Bug 1088660 - Improve the search bar UI to support one-off searches - improve discoverability of the search settings, r=felipe. 2014-11-20 20:55:41 +01:00
Florian Quèze
94833decfe Bug 1088660 - Improve the search bar UI to support one-off searches, r=felipe. 2014-11-18 00:59:11 +01:00
Richard Newman
7dc2972638 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
Gavin Sharp
63dc7b1bae Bug 1083990: fix bug that caused deletion of history autocomplete items to temporarily mess up the suggestions dropdown display, r=MattN
--HG--
extra : transplant_source : %02%96%05%2C%CC8%06%B0j%2C%FA%81%F7m%5B%F2%F6%15Y.
2014-10-30 09:00:53 -07:00
Nick Alexander
d84d5b2511 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
Gavin Sharp
1a80978af3 Bug 1060675: only cap local form history results for the search bar if there are remote suggestions, r=MattN
--HG--
extra : transplant_source : n%E7%C9%B6%DC%01%21%966J%85%CFL%CC%DC%1E%DA6%AA%F5
2014-10-17 09:29:40 -07:00
Andrew Halberstadt
d292ee73f1 Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
Henri Sivonen
072cc3fe96 Bug 1069954 - Remove us-ascii as a Gecko-canonical encoding name. r=emk. 2014-09-22 16:15:34 +03:00