Граф коммитов

218 Коммитов

Автор SHA1 Сообщение Дата
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
Dave Townsend 57dd686aab Bug 1070223: Ignore exceptions thrown from nsIBrowserSearchInitObserver. r=MattN 2014-09-19 16:04:41 -07:00
Tim Taubert 14ff946437 Bug 1047472 - Make parseSubmissionURL return the string offset for each search term r=paolo 2014-08-06 20:36:35 +02:00
Mark Banner 6905914246 Bug 1059195 - test_searchSuggest.js assumes the suggestion enabled preference defaults to "true". r=jaws 2014-08-28 18:25:49 +01:00
Tim Taubert 843e826a17 Bug 1040931 - Add extensionID parameter to addEngineWithDetails r=gavin 2014-08-27 16:38:20 +02:00
Alex Bardas 9507984a43 Bug 1044577 - Add xpcshell test to ensure that methods from SearchStaticData module can be overwritten. r=Paolo 2014-08-20 16:57:00 -04:00
Bill McCloskey 0f6b688b48 Bug 1046964 - Fix some JS warnings (r=ttaubert) 2014-08-19 17:27:58 -07:00
Paolo Amadini d500d97e10 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 2d4a66b7c9 Bug 1052734 - Use FileUtils.PERMS_FILE instead of magic octal constants in nsSearchService.js. r=MattN
--HG--
extra : rebase_source : 5e1870bdd08625ca395ad92a064ac212533930c2
2014-08-12 17:07:00 -07:00
Jared Wein 0d0c2ca0dc Bug 1048198 - Searchbar Search Suggestions is no longer able to disable. r=mattn 2014-08-12 11:30:16 -04:00
Birunthan Mohanathas 770cc01f6a 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 3c6fe6df80 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 f98d92de79 Bug 1029148 - store current search engine configuration outside of prefs, r=MattN. 2014-08-05 01:02:19 +02:00
Drew Willcoxon 93b5ed4b0c Bug 612453 - Provide search suggestions on Firefox Start Page (about:home) (part 1, SearchSuggestionController). r=MattN 2014-08-01 11:57:20 -07:00
Paolo Amadini 2d0a634cff Bug 1040721 - The search service should provide details for parsing search result URLs. r=gavin 2014-07-31 15:57:02 +01:00
Matthew Noorenberghe d24690ac2a Bug 1007979 - Refactor nsSearchSuggestions into a reusable JSM. r=adw
Original JSM by mconnor.
2014-07-29 11:28:35 -07:00
Carsten "Tomcat" Book f5467a33ec Backed out changeset bc27aaabefa8 (bug 1007979) for XPCshell Test failures 2014-07-29 14:44:31 +02:00
Matthew Noorenberghe e54db2f0fa Bug 1007979 - Refactor nsSearchSuggestions into a reusable JSM. r=adw
Original JSM by mconnor.
2014-07-28 16:59:00 +02:00
Richard Newman bce02b3a15 Bug 1043627 - Only re-initialize nsSearchService on locale change in Fennec. r=adw 2014-07-25 11:34:23 -07:00
Paolo Amadini 407761efa7 Bug 1041534 - Refactor search tests to remove some code duplication. r=MattN 2014-07-25 10:28:45 +01:00
Richard Newman f704f37465 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 584e14f367 Bug 1006103 - add speculativeConnect() method to search engines, API + browser change, r=gavin
* * *
bug 1006103 - use speculativeConnect() method on nsISearchEngine in Fennec, r=margaret

--HG--
extra : rebase_source : 63739b6a876b373945ccf8b326a42150a5bb3cef
2014-05-06 12:47:22 -04:00
David Rajchenbach-Teller 7193d2912a Bug 1034975 - Search Service depends on OS.File, not on profileBeforeChange. r=mossop 2014-07-06 12:09:00 +02:00
Jim Blandy 7e20285e70 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Roberto A. Vitillo 426f09dacc Bug 988023 - Telemetry on how often we hit search service synchronous fallback. r=gavin 2014-05-14 05:36:00 -04:00
Birunthan Mohanathas 647a167d5e Bug 1003109 - Replace TaskUtils.spawn with Task.spawn. r=Yoric 2014-04-30 08:17:00 -04:00
Roberto A. Vitillo 9fe5a4bbe7 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 5c29c59501 Bug 999851 - remove topN support from search service, r=gavin
--HG--
extra : rebase_source : 4bce31c2fb6e078aa14ba31a3d06185f884f9ac1
2014-04-24 16:24:36 -04:00
Mike Connor 9612265476 Bug 997432 - log failures when MozParams don't include a condition attribute, r=gavin
--HG--
extra : rebase_source : e1f3712e88265d6e298b47e59e55d7e2feaf2484
2014-04-16 19:35:28 -04:00
Paolo Amadini 935a3ba73e Bug 991750 - Convert remaining legacy uses of promise.js to Promise.jsm. rs=Yoric 2014-04-07 16:18:43 +02:00
Drew Willcoxon de4a077897 Bug 557665 - Allow specifying SearchForm as a normal <Url> in engine description files (part 2, tests). r=gavin 2014-03-24 20:41:15 -07:00
Gavin Sharp c0c539b182 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 fb58538bf3 Bug 959576 - Create a component to get the list of priority domains. r=gavin 2014-03-22 14:24:36 +01:00
Gregory Szorc afdb724edf Bug 969021 - Part 1: Consolidate moz.build data into parent moz.build files; r=ted
Many moz.build files define things that could be defined in parent
moz.build files. Keeping the number of moz.build files low helps with
build times due to less I/O and fewer directories traversed.

This patch eliminates a lot of moz.build files by moving their content
into parent moz.build files.

--HG--
extra : rebase_source : 0cfdf2697d10532e5b03cd27fbaadb41f42b837c
extra : amend_source : 0119d4e4881217f105e0e4ba1dfa9c8f7295f3e9
extra : histedit_source : eb49e62c67af2005fdc08d9c9a07f56bee98d558%2C50951e960e450f9b0e48fc7e8ec369d8666a63b0
2014-02-06 13:00:20 -08:00
Steven MacLeod f13fe4da26 Bug 943571 - Introduce a test for invalid engine files loaded from a dir. r=gavin 2013-12-11 14:15:16 -05:00
Paolo Amadini 44cf767a29 Bug 940408 - Rework DeferredTask to allow asynchronous tasks and support AsyncShutdown. r=Mossop 2013-12-03 13:21:08 +01:00
Carsten "Tomcat" Book b3c508ce3e 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 fb18739bb4 Bug 940408 - Rework DeferredTask to allow asynchronous tasks and support AsyncShutdown. r=Mossop 2013-12-03 10:15:22 +01:00
Mike Hommey 8fd06cf41b Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-27 22:55:07 +09:00