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

128 Коммитов

Автор SHA1 Сообщение Дата
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
Richard Newman bce02b3a15 Bug 1043627 - Only re-initialize nsSearchService on locale change in Fennec. r=adw 2014-07-25 11:34:23 -07: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
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
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
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
L. David Baron b9bfaa7462 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 40c7f4e4ff 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 7846d37db1 Bug 725943 - Refactor nsSearchService to generalize use of Lazy. r=MattN 2013-11-07 05:48:12 +08:00
Rodrigo Silveira 608efc5a34 Bug 900137 - add support for multple icon sizes to the search service r=yoric sr=gavin 2013-09-22 20:01:01 -07:00
Raymond Lee 092eb74ddd Bug 862179 - Implement asynchronous loading of search engines. r=gavin 2013-11-06 14:18:27 +08:00
Steven MacLeod 1f3a7b8500 Bug 887868 - Remove search.sqlite migration code. r=gavin 2013-11-05 14:23:58 -05:00
Henri Sivonen 5ac2a5be04 Bug 910192 non-UI part - Get rid of intl.charset.default as a localizable pref and deduce the fallback from the locale. r=bzbarsky. 2013-11-04 13:24:33 +02:00
Carsten "Tomcat" Book 6646962e49 Backed out changeset 88e0c01e2d81 (bug 910192) bustage on a CLOSED TREE 2013-11-04 13:04:02 +01:00
Henri Sivonen 7af818f242 Bug 910192 non-UI part - Get rid of intl.charset.default as a localizable pref and deduce the fallback from the locale. r=bzbarsky. 2013-11-04 13:24:33 +02:00
Brad Lassey a891a3b3da bug 923795 - Add condition to MozParam to detect top 2 (or N) position r=gavin 2013-10-11 13:26:15 -04:00
Mike de Boer 0dd746c947 Bug 900865: Make about:home call nsISearchEngine.getSubmission for all searches. r=gavin 2013-08-30 18:20:22 +02:00
Ryan VanderMeulen dfe10b3ffb Backed out changeset 41729438f597 (bug 900865) for Windows mochitest-bc crashes. 2013-08-29 15:48:29 -04:00
Mike de Boer 5b03824427 Bug 900865: Make about:home call nsISearchEngine.getSubmission for all searches. r=gavin 2013-08-28 13:36:48 +02:00
Dão Gottwald 7565581ba1 Backed out fe1213d6035d (bug 887868) because it seems to have caused bug 898713. CLOSED TREE 2013-07-27 15:47:36 +02:00
Mike de Boer d3a98caab4 Bug 890690 - Add postDataString property to nsISearchSubmission. r=gavin
--HG--
extra : transplant_source : %F8%86%BD%9A%0Bt%95%F8%DC%E5%FA%BD%C8%3BP%87%A1%CB/%95
2013-07-19 19:56:38 +02:00
Steven MacLeod d9fa136acb Bug 887868 - Remove migration from old Search Service DB. r=gavin 2013-07-24 17:48:30 -04:00
Gavin Sharp 935768b349 Bug 890085: don't throw in the currentEngine/defaultEngine setters if the defaultenginename pref is invalid, r=mikedeboer
--HG--
extra : transplant_source : I%18%BA%EB%E8%B1%95V%FA%BF%FA%F5L%14%60%BD%FC%A2DK
2013-07-10 14:35:30 -07:00
Gavin Sharp 68fd54dac6 Bug 885351: make sure defaultEngine and currentEngine are always in sync, including when the prefs have invalid values or after an upgrade from <FF23, r=MattN
--HG--
extra : transplant_source : Z%E3%AE%91%1D%D5%930%DE%F7%EA%F4dG%C7%B2%0B%9F0i
2013-07-01 16:46:07 -07:00
Gavin Sharp a53dcdb333 Bug 493051: avoid having addEngine select the engine by default, by adding an optional callback to let callers observe the successful addition of the engine, r=MattN
--HG--
extra : rebase_source : 1e67f4fbed4324e2d5b8d132cf07be60b3010cf9
2013-06-18 09:39:02 -04:00
Gavin Sharp aff9b97c87 Back out 423d565f5637 (bug 493051) for xpcshell bustage 2013-06-17 16:54:06 -04:00
Gavin Sharp 659a01fbc0 Bug 867108: hiding and then restoring the default search engine leads to the wrong engine being returned from searchService.defaultEngine until a restart, r=mikedeboer
--HG--
rename : toolkit/components/search/tests/xpcshell/test_engineselect.js => toolkit/components/search/tests/xpcshell/test_defaultEngine.js
extra : transplant_source : %2C%EE2%EF%EA%8Ak%D8%18%21%BB%98%18%14%BE%E9t%82%7C%BF
2013-06-17 14:00:11 -04:00
Gavin Sharp 72bebb943c Bug 493051: avoid having addEngine select the engine by default, by adding an optional callback to let callers observe the successful addition of the engine, r=MattN
--HG--
extra : transplant_source : M%40%CB%E5%8F%D9RMc%BA%23%20%C7%EC%9A%84H%DB%1B%81
2013-04-17 17:51:25 -07:00
Mike de Boer c2547136e0 Bug 860560: make sure that defaultEngine and currentEngine stay in sync, r=gavin
--HG--
extra : transplant_source : %83%A6%F6%02%C5a6%08%09/%3C%D4p%23%0BI%EF%EE%C0%16
2013-05-27 17:21:47 +02:00
Caitlin Potter 7423a235e5 Bug 356821 - Update add-search-engine-as-current checkbox label. r=mak 2013-03-22 14:09:40 -04:00
Gavin Sharp 816a1e26a4 Backout 498f79c24e70 (bug 860560) for browser-chrome bustage 2013-06-07 11:43:26 -07:00
Gavin Sharp d577e0b6ac Bug 862143: remove support for loading sherlock files from disk, r=MattN
--HG--
extra : transplant_source : %0D%EC%3F%1E%1At%B5%23J%1F3V%F4%C8Uq%93l%F0%40
2013-06-07 10:19:32 -07:00
Gavin Sharp dcf437ef1a Bug 854478: remove support for automatically converting Sherlock-format search engines that were dropped into the profile directory, r=MattN
--HG--
extra : transplant_source : 2%EBl%CE1W%3E%A2%B3JK0%10M%0B%AF%87%C5H%AB
2013-06-07 10:18:55 -07:00
Mike de Boer c1fe9f539b Bug 860560: make sure that defaultEngine and currentEngine stay in sync, r=gavin
--HG--
extra : rebase_source : 2a3169621b8cedf1382d738bd67072dae77cb4ce
2013-05-27 17:21:47 +02:00
Mark Finkle d33ddcb2c2 Bug 861164 - use different search URLs for tablet vs. non-tablet r=gavin 2013-06-05 22:29:40 -04:00
Ekanan Ketunuti 61572eda35 Bug 828116 - Move modules in toolkit/content and toolkit/mozapps/shared to toolkit/modules. r=Mossop
--HG--
rename : toolkit/mozapps/shared/CertUtils.jsm => toolkit/modules/CertUtils.jsm
rename : toolkit/content/DeferredTask.jsm => toolkit/modules/DeferredTask.jsm
rename : toolkit/content/Deprecated.jsm => toolkit/modules/Deprecated.jsm
rename : toolkit/content/Dict.jsm => toolkit/modules/Dict.jsm
rename : toolkit/mozapps/shared/FileUtils.jsm => toolkit/modules/FileUtils.jsm
rename : toolkit/content/Geometry.jsm => toolkit/modules/Geometry.jsm
rename : toolkit/content/InlineSpellChecker.jsm => toolkit/modules/InlineSpellChecker.jsm
rename : toolkit/content/LightweightThemeConsumer.jsm => toolkit/modules/LightweightThemeConsumer.jsm
rename : toolkit/content/PageMenu.jsm => toolkit/modules/PageMenu.jsm
rename : toolkit/content/PopupNotifications.jsm => toolkit/modules/PopupNotifications.jsm
rename : toolkit/content/PrivateBrowsingUtils.jsm => toolkit/modules/PrivateBrowsingUtils.jsm
rename : toolkit/content/PropertyListUtils.jsm => toolkit/modules/PropertyListUtils.jsm
rename : toolkit/content/Services.jsm => toolkit/modules/Services.jsm
rename : toolkit/content/Task.jsm => toolkit/modules/Task.jsm
rename : toolkit/content/Troubleshoot.jsm => toolkit/modules/Troubleshoot.jsm
rename : toolkit/content/UpdateChannel.jsm => toolkit/modules/UpdateChannel.jsm
rename : toolkit/content/WindowDraggingUtils.jsm => toolkit/modules/WindowDraggingUtils.jsm
rename : toolkit/content/debug.js => toolkit/modules/debug.js
rename : toolkit/content/tests/browser/browser_DeferredTask.js => toolkit/modules/tests/browser/browser_DeferredTask.js
rename : toolkit/content/tests/browser/browser_Deprecated.js => toolkit/modules/tests/browser/browser_Deprecated.js
rename : toolkit/content/tests/browser/browser_Geometry.js => toolkit/modules/tests/browser/browser_Geometry.js
rename : toolkit/content/tests/browser/browser_InlineSpellChecker.js => toolkit/modules/tests/browser/browser_InlineSpellChecker.js
rename : toolkit/content/tests/browser/browser_Services.js => toolkit/modules/tests/browser/browser_Services.js
rename : toolkit/content/tests/browser/browser_Troubleshoot.js => toolkit/modules/tests/browser/browser_Troubleshoot.js
rename : toolkit/mozapps/shared/test/chrome/Makefile.in => toolkit/modules/tests/chrome/Makefile.in
rename : toolkit/mozapps/shared/test/chrome/moz.build => toolkit/modules/tests/chrome/moz.build
rename : toolkit/mozapps/shared/test/chrome/test_bug544442_checkCert.xul => toolkit/modules/tests/chrome/test_bug544442_checkCert.xul
rename : toolkit/content/tests/unit/propertyLists/bug710259_propertyListBinary.plist => toolkit/modules/tests/xpcshell/propertyLists/bug710259_propertyListBinary.plist
rename : toolkit/content/tests/unit/propertyLists/bug710259_propertyListXML.plist => toolkit/modules/tests/xpcshell/propertyLists/bug710259_propertyListXML.plist
rename : toolkit/mozapps/shared/test/unit/test_FileUtils.js => toolkit/modules/tests/xpcshell/test_FileUtils.js
rename : toolkit/content/tests/unit/test_dict.js => toolkit/modules/tests/xpcshell/test_dict.js
rename : toolkit/content/tests/unit/test_propertyListsUtils.js => toolkit/modules/tests/xpcshell/test_propertyListsUtils.js
rename : toolkit/mozapps/shared/test/unit/test_readCertPrefs.js => toolkit/modules/tests/xpcshell/test_readCertPrefs.js
rename : toolkit/content/tests/unit/test_task.js => toolkit/modules/tests/xpcshell/test_task.js
2013-05-14 14:37:18 -07:00
Mike de Boer 0fa48fc53b Bug 866104 - Wait for both engines to load. r=gavin 2013-05-10 12:24:51 +02:00
Gavin Sharp ae91128e0f Bug 866254 followup: improve debug logging and minor cleanup, r=Yoric
--HG--
extra : transplant_source : %2BS%06%0A%E05%B4%B7%B9%3F%92%8B%B1%AAB%ADL%3A%BC%1E
2013-05-07 09:47:43 -04:00
Gavin Sharp 4f3e317523 Bug 866254: fix failure to initialize search service in cases where the async initialization fails to complete before the synchronous fallback is invoked, r=Yoric
--HG--
extra : transplant_source : z2%D7Os2%89%28%5C9%3Ab%BF%0F%15%F3%10x%7Ff
2013-05-07 09:47:39 -04:00
Margaret Leibovic 9703b27fd3 Bug 858809 - Don't wait until shutdown to save search engine order. r=gavin 2013-04-12 12:03:44 -07:00