Commit Graph

386 Commits

Author SHA1 Message Date
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
Mike Hommey
b32a4ed166 Backout changeset 3fd4b546eed4 (bug 874266) and changeset a35d2e3a872f (bug 942043) for ASAN build bustage and Windows test bustage
--HG--
extra : amend_source : f20d09aeff1c8b5cbd0f1d24c7ce04e86f3aed1d
2013-11-28 14:24:05 +09:00
Mike Hommey
682364d535 Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-28 13:08:16 +09: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
Mike Hommey
e80e877ab7 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09: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
85942e591b Bug 900137 - xpcshell tests r=yoric 2013-10-02 17:08:34 -07: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
Anup
d3c6837851 Bug 468267 - Catch and report errors in search suggestions JSON response. r=gavin 2013-11-06 09:01:54 -05: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
David Rajchenbach-Teller
46d2889c34 Bug 845190 - Reactivate tests blocked by bug 888347. r=yoric 2013-09-25 11:43:48 -04:00
Gregory Szorc
7bd3c0ae36 Bug 901990 - Part 2: Upgrade xpcshell manifests; r=ted
--HG--
rename : toolkit/mozapps/extensions/test/xpcshell-unpack/head_unpack.js => toolkit/mozapps/extensions/test/xpcshell/head_unpack.js
2013-09-24 11:50:08 -07:00
Willian Gustavo Veiga
084b26ad04 Bug 344536 - Limit the number of history items displayed the search bar history dropdown, so that some suggestions are always visible. r=gavin 2013-09-19 08:50:21 -04:00
Mike Hommey
f8bc7fa754 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09: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
Mihnea Dobrescu-Balaur
161bcb0dcd Bug 888550 - Use a dynamic port in search/ xpcshell tests so they can be run in parallel. r=MattN 2013-07-09 10:46:25 -07:00
Joey Armstrong
a8ffe81a63 bug 870370: EXTRA_COMPONENTS cleanup for conversion patches #1 & #2. 2013-07-03 12:01:06 -04: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
Joey Armstrong
177893ac53 bug 880246: move EXTRA_PP_COMPONENTS to mozbuild (cleanup). r=mshal 2013-06-20 15:59:59 -04: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
Joey Armstrong
0a0e08cb9c bug 880246: move EXTRA_PP_COMPONENTS to mozbuild (file batch #1) r=mshal 2013-06-14 14:07:19 -04:00
Ryan VanderMeulen
780105221c Bug 845190 - Revert previous attempt to fix and re-disable tests. 2013-06-11 08:12:06 -04:00
David Rajchenbach-Teller
bedc6e2041 Bug 845190 - Re-enable test_logging.js and test_645970.js on all platforms. r=yoric 2013-06-10 22:07:41 -04:00
Joey Armstrong
e3210c223f bug 870370: move EXTRA_COMPONENTS to moz.build (file batch #2). r=mshal 2013-06-10 11:19:28 -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
Gavin Sharp
debecfa94e Fix stupid now-incorrect comment that keeps getting copied to new tests, no bug, r=ARGH 2013-06-05 23:53:17 -07: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
Gregory Szorc
1b12175ba0 Bug 873629 - Remove 129 empty Makefile.in files; r=ted 2013-05-17 16:20:11 -07: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
Joey Armstrong
26736a0ee2 bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal 2013-05-13 16:24:07 -04: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
Joey Armstrong
321d063783 bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS 2013-04-29 14:49:00 -04:00
Margaret Leibovic
2229b67f25 Bug 858809 - Tests for _saveSortedEngineList. r=gavin 2013-04-12 12:03:44 -07: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
Mike de Boer
1eec33d031 Bug 738818 part 1: replace originalDefaultEngine with defaultEngine and make defaultEngine a settable. r=gavin 2013-04-09 17:04:22 -07:00
Phil Ringnalda
b5220914bd Back out ec6dd0cc8053:3c55e92d87a6 (bug 738818) for being on top of bustage, and b50153f9e011 (bug 819493) for bustage
CLOSED TREE
2013-04-09 21:14:56 -07:00
Mike de Boer
019c7db2a8 Bug 738818 part 1: replace originalDefaultEngine with defaultEngine and make defaultEngine a settable. r=gavin 2013-04-09 17:04:22 -07:00
Gavin Sharp
9f70f78783 Bug 369180: override nsIAuthPromptProvider implementation on search suggestion callbacks to avoid proxy authentication dialog popping up while entering text in the search bar, r=mayhemer
--HG--
extra : rebase_source : e662bf239ad508f911f213ef9de61bdd0abbef8a
2013-03-29 13:07:14 -04:00
Ms2ger
a70235de19 Revert to changeset 4c45dbd81a32 to fix mochitest-chrome orange. 2013-04-05 09:40:13 +02:00
Gavin Sharp
e0bb05ab0e Bug 369180: override nsIAuthPromptProvider implementation on search suggestion callbacks to avoid proxy authentication dialog popping up while entering text in the search bar, r=mayhemer
--HG--
extra : transplant_source : %22%9B%3E%7C%F9%F9.%E5%E8%7F%ADy%B1%07%27%17%09%D1o%FE
2013-03-29 13:07:14 -04:00
Boris Zbarsky
0745baf88c Bug 792215. Convert quickstubs to using JSNative getters and setters. r=peterv 2012-09-25 14:44:40 -04:00
Kyle Machulis
72a717a860 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
43628a7867 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
334c0800cf Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
David Rajchenbach-Teller
3e6d0eb08c Bug 782641 - Fixed ReferenceError. r=yoric 2013-03-29 14:57:34 -04:00
Richard Newman
530e2fdba3 Bug 841554 - Part 1: extend nsISearchEngine to include identifier. r=gavin 2013-03-25 10:53:40 -04:00
Mike Shal
7ecea60097 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Ed Morley
910aed518b Bug 845190 - Disable test_645970.js on debug Linux for too many intermittent assertions 2013-03-18 12:15:50 +00:00
Brian Smith
13bcb99fd4 bug 750421 - remove unnecessary nsIBadCertListener2 and nsISSLErrorListener implementations r=mayhemer r=mounir r=dolske 2013-03-06 11:25:03 -08:00
Gregory Szorc
45faa95b04 Merge mozilla-central into build-system
Only conflict was configure.in amd was due to context, not
changed lines themselves.
2013-02-25 22:09:18 -08:00
Gregory Szorc
2f9c3f619e Bug 784841 - Part 18θ: Convert /toolkit f=Mossop, Ms2ger; rs=ted 2013-02-25 13:19:09 -08:00
David Rajchenbach-Teller
206efe0a76 Bug 843479 - More logging for test_init_async_multiple_then_sync.js. 2013-02-25 09:07:17 -05:00
David Rajchenbach-Teller
981960e5e6 Bug 828223 - Write nsSearchService cache with OS.File + nsSearchService cache tests. r=gavin 2013-02-25 09:07:16 -05:00
Joshua Kalpin
9a6eb35d02 Bug 839670 - Remove usage of gXULAppInfo and createAppInfo in toolkit/components/search/tests/xpcshell/ and replace with updateAppInfo(). r=MattN 2013-02-15 11:55:53 -05:00
Matthew Noorenberghe
5846ee450b Bug 587780 - Part 4 - Test search service's JSON cache. r=rnewman,gavin
--HG--
extra : rebase_source : a9d33c2fa497e8966986a6feca4f02dd7ebf6569
2012-04-18 14:39:30 -04:00
Matthew Noorenberghe
9f5ae308bc Bug 587780 - Part 2 - Tests for purpose argument for searches. r=gavin
--HG--
extra : rebase_source : 48f7a2c4ac25f8617955d47e2ef30984d48669e7
2012-04-04 02:50:39 -07:00
Matthew Noorenberghe
20ac771df4 Bug 587780 - Part 1 - Add "purpose" argument to getSubmission, to allow varying search parameters depending on search context. original-patch=gavin r=rnewman
--HG--
extra : rebase_source : 6015b78b46ea21136be7a747cd0856b2fe93f4ce
2011-12-20 16:20:21 -08:00
Mike Hommey
26e3714874 Bug 755724 - Move browser application in a subdirectory. r=jimm 2013-02-11 14:10:16 +01:00
Dave Townsend
cd10174200 Bug 793928: Switch users of the promise library to the new location and move tests files. r=gavin
--HG--
rename : toolkit/addon-sdk/test/Makefile.in => addon-sdk/test/Makefile.in
rename : toolkit/addon-sdk/test/unit/head.js => addon-sdk/test/unit/head.js
rename : toolkit/addon-sdk/test/unit/test_promise.js => addon-sdk/test/unit/test_promise.js
rename : toolkit/addon-sdk/test/unit/xpcshell.ini => addon-sdk/test/unit/xpcshell.ini
2013-02-01 11:43:15 -08:00
Sunny
24059ed95b Bug 828347 - Warn if session restore is initialized with deprecated synchronous initialization. r=dteller 2013-01-29 10:50:04 -05:00
David Rajchenbach-Teller
af90769b8b Bug 828228 - Measure nsSearchService init with Telemetry. r=gavin 2013-01-16 18:03:05 -05:00
Mike Hommey
032a047cc1 Bug 826996 - Avoid hardcoded value for {moz:official} in search plugins. r=gavin
--HG--
extra : rebase_source : fe2a5b7c6efed6ff7f4b786a0ce510fc28a25ef9
2013-01-11 12:20:58 +01:00
David Rajchenbach-Teller
28e38bbdf3 Bug 760036 - move SearchService metadata I/O off the main thread, r=enndeakin
--HG--
extra : rebase_source : 1c5f12f3730f4631a706a7b590ce6807f84fa62c
2012-12-21 11:41:15 -05:00
Ryan VanderMeulen
e69e39bdfb Backed out changesets 2b4151d4d695 and 1bd72ae8aaff (bug 760036) for test failures. 2012-12-02 15:34:49 -05:00
Gavin Sharp
1f4ded11f4 Fix whitespace nit from bug 760036's 1bd72ae8aaff 2012-12-02 11:23:49 -08:00
David Rajchenbach-Teller
800e88f0bc Bug 760036 - SearchService metadata I/O is now off main thread. r=enndeakin 2012-12-02 14:04:43 -05:00
Kyle Huey
0469a02b25 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Vicamo Yang
a78b5b38c7 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey
9a3674d80a Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 12:28:11 -07:00
Ed Morley
4144129728 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
50b5d3f681 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 08:26:12 -07:00
Aryeh Gregor
9582ec9bf0 Bug 802069 - Make "macintosh" the canonical name of its encoding, not "x-mac-roman"; r=smontagu
--HG--
rename : intl/uconv/tests/unit/test_decode_x_mac_roman.js => intl/uconv/tests/unit/test_decode_macintosh.js
rename : intl/uconv/tests/unit/test_encode_x_mac_roman.js => intl/uconv/tests/unit/test_encode_macintosh.js
2012-10-17 12:15:23 +02:00
Ehsan Akhgari
56a5c27dbc Bug 801049 - Communicate the privacy bit of the active window to the search suggestion service so that it knows whether to put the channel it creates in private browsing mode or not; r=gavin
I'm using the autocompletesearchparam as a vehicle for delivering the
privacy information into the guts of nsSearchSuggestions.  The
alternative solution will involve modifying the autocomplete interfaces,
which is even more horrible than what the code here does.  It's not that
bad if you think of autocompletesearchparam attribute as an opaque value
which is used to transfer information to the nsIAutoCompleteSearch
implementations, which is what it is!
2012-10-15 18:59:33 -04:00
Masatoshi Kimura
f76b5ca746 Bug 797385 - Part 2: Remove ibm864 usage. r=smontagu 2012-10-10 06:32:37 -04:00
David Rajchenbach-Teller
1cd08b58b7 Bug 785487 - Clarifying nsSearchService incorrect initialization error message. r=gavin 2012-08-30 13:53:00 -07:00
Andres Hernandez
d81ac5957e Bug 775328 - Move Lazy.jsm to toolkit. r=Mossop 2012-07-23 14:28:26 -06:00
Mark Capella
38befa6972 Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Toolkits, r=ted, f=gps 2012-08-14 10:06:12 -04:00
Mike Hommey
70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Mike Hommey
03af8b0c50 Backout changeset 2ef51674316a (bug 774032 bonus) for various Mochitest bustages on a CLOSED TREE 2012-08-04 10:38:41 +02:00
Mike Hommey
7096160830 Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 08:48:56 +02:00
Blair McBride
fb387b6491 Bug 780313 - Remove unnecessary preprocessing of Toolkit files. r=gavin 2012-08-04 13:22:55 +12:00
David Rajchenbach-Teller
8bebb8777d Bug 722332 - Adapt main clients to asynchronous nsIBrowserSearchService API. r=gavin 2012-04-19 16:08:09 +02:00
Ekanan Ketunuti
db9cdfb8c7 Bug 764270 - Generalize use of Services.jsm in nsSearchSuggestions. r=gavin, yoric 2012-06-16 10:07:40 +07:00
David Rajchenbach-Teller
419ac647de Bug 722332: add some test coverage for the search service async initialization API, r=gavin 2012-06-07 11:45:23 -07:00
David Rajchenbach-Teller
83974652ed Bug 722332: add an asynchronous initialization API to nsIBrowserSearchService, with a fallback to synchronous initialization for backwards compatibility, r=gavin 2012-05-03 16:56:33 +02:00
Raymond Lee
76b6027c9a Bug 726189 - get rid of search engine 'used' attribute, since it causes unnecessary I/O r=gavin 2012-05-24 11:45:22 +08:00
Irving Reid
bef9201fa5 Bug 742662 - Better handling for OpenSearch specs with unsupported Image tags. Also improve some log messages, clean up some run time warnings. r=gavin 2012-05-24 18:45:09 -04:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
David Rajchenbach-Teller
786a8933a1 Bug 744698 - Close the stream once commit is complete. r=gavin 2012-04-27 09:15:37 +02:00
Raymond Lee
41d8e1c25e Bug 726279 - Generalize use of Services.jsm in nsSearchService. r=dteller, dao 2012-04-28 11:09:55 -04:00
David Rajchenbach-Teller
a2158aa44d Bug 744698 - Force logging. r=gavin, a=test-only 2012-04-23 20:09:06 +02:00
David Rajchenbach-Teller
943cc48ae4 Bug 736918 - Intermittent "test_nodb_pluschanges.js | false == true". r=gavin 2012-03-20 09:16:42 +01:00
David Rajchenbach-Teller
e2b9a9b0ec Bug 699856 - Refactor nsSearchService.js to not use a database engine. r=gavin
--HG--
extra : rebase_source : 80f5830b5d6efcc2e6ec21495709f847d53aac7b
2012-03-13 23:32:53 +01:00
Geoff Lankow
a825a1156c Bug 718255 - Merge nsIPrefBranch2 with nsIPrefBranch - Part C, remove uses of nsIPrefBranch2 in toolkit/ ; r=bsmedberg 2012-01-17 14:18:29 +13:00
Panagiotis Koutsourakis
9c7dfb9706 Bug 702388 - Convert Makefiles to use |TEST_DIRS += foo| r=khuey
Files named Makefile.in containing the expression

DIRS += <foo>
or
DIRS = <foo>

inside the conditional expression

ifdef ENABLE_TESTS
...
endif

are changed to

TEST_DIRS += tests

outside any conditional expression.

The files

./layout/Makefile.in
./layout/Makefile.in
./layout/style/Makefile.in
./rdf/Makefile.in
./security/manager/Makefile.in
./content/Makefile.in
./content/smil/Makefile.in
./content/xul/templates/Makefile.in
./content/xul/content/Makefile.in
./content/base/Makefile.in
./content/media/Makefile.in
./parser/htmlparser/Makefile.in
./dom/sms/Makefile.in
./js/jsd/Makefile.in
./js/xpconnect/Makefile.in
./widget/Makefile.in
./widget/windows/Makefile.in
./Makefile.in
./startupcache/Makefile.in
./storage/Makefile.in
./gfx/Makefile.in
./intl/strres/Makefile.in
./intl/uconv/Makefile.in
./intl/unicharutil/Makefile.in
./intl/lwbrk/Makefile.in
./embedding/Makefile.in
./modules/libjar/Makefile.in
./modules/libpref/Makefile.in
./build/Makefile.in
./build/win32/Makefile.in
./xpcom/Makefile.in
./extensions/spellcheck/hunspell/Makefile.in
./extensions/cookie/Makefile.in
./netwerk/Makefile.in
./netwerk/streamconv/Makefile.in
./editor/txmgr/Makefile.in
./toolkit/mozapps/shared/Makefile.in
./toolkit/mozapps/update/Makefile.in
./toolkit/library/Makefile.in
./toolkit/library/Makefile.in
./toolkit/crashreporter/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/feeds/Makefile.in
./toolkit/components/url-classifier/Makefile.in

contain the string

ifdef ENABLE_TESTS

but have some other statement inside (e.g. TOOL_DIRS += <foo> etc) and
they remain unchanged by this patch.
2012-02-04 17:32:24 +00:00
Rafael Ávila de Espíndola
39250c8bf1 Bug 716105 - Send quit-application in toolkit/components/search/tests/xpcshell/test_645970.js. r=mak. 2012-01-09 10:03:14 -05:00
Rafael Ávila de Espíndola
64421549f5 Bug 711554 - finalize statements and close connection. r=mak. 2011-12-28 08:38:42 -05:00
Gavin Sharp
6d8cc8572f Bug 696179: properly cache null results for "alias" from the engineMetadataService so that we avoid hitting SQLite multiple times when entering text in the location bar, r=rflint
--HG--
extra : transplant_source : %17%3D%E7%D0%98%3B%D8Iv%F3UD%03%04%C2%E7%C0%3E%93%12
2011-10-20 15:44:53 -04:00
Joel Maher
193c66083d Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
Dão Gottwald
9291640652 Bug 487059 - clearUserPref shouldn't throw if a pref doesn't have a default or user value. r+sr=bsedberg 2011-04-17 21:53:25 +02:00
Vivien Nicolas
b3511ee384 Bug 645970 - search service doesn't unpack jar🫙 [r=gavin] 2011-04-15 12:40:43 +02:00
Simon Montagu
0280761cff Change x-gbk to gbk in charset titles. Bug 369403, r=emk 2011-03-30 08:35:36 +02:00
Alon Zakai
b651929fb3 Bug 634666 - DEFER_OPEN option for file streams. r=bz,sdwilsh sr=bz a=blocking-fennec 2011-03-04 16:36:56 -08:00
Mark Finkle
e454956e9e Bug 535538 - searchplugins cannot be found if chrome:// search engine loading is used with flat chrome [r=gavin a=blocking-fennec] 2010-11-04 22:04:19 -04:00
Gavin Sharp
ed9283ba8b Bug 606859: sherlock plugin loading code was broken by bug 599751, r+a=bustage 2010-10-24 21:11:15 -04:00
Serge Gautherie
98f68465a9 Bug 599751 - Javascript strict warnings in nsSearchService.js; (Av1a) Add 2 missing 'let'.
r+a-2.0=gavin.sharp.
2010-10-18 08:43:35 +02:00
David Zbarsky
8723b6ec19 Bug 556007 (2/3) - Use values from datalist in autocomplete popups. r=dolske ui-r=limi a2.0=sicking 2010-09-10 07:19:20 +02:00
Gavin Sharp
293c59f678 Bug 587691: need a way to access the original default engine (the normal "defaultEngine" can change if the original is hidden by the user), r=Ryan, a=blocker 2010-08-20 17:40:16 -04:00
Gavin Sharp
1c1f4fa927 Bug 586821 - Add affiliate URL queries to location bar search r,a=jst
--HG--
rename : toolkit/components/search/nsIBrowserSearchService.idl => netwerk/base/public/nsIBrowserSearchService.idl
extra : rebase_source : 77a06966db94e05fafdcb152bb6d5f40bef350ee
2010-08-14 18:15:21 +02:00
Bjarne
ed732b9f7f Bug 546606 - Make redirect API async - part 2; r=honzab.moz,cbiesinger,bjarne,jst sr=jst 2010-08-04 22:15:55 -04:00
Benjamin Smedberg
31432df1fb Bug 568691 - Convert existing JS components to use NSGetFactory and add manifest files for them. In a followup we will link the .manifest files together at packaging time. This patch was developed on Linux: Windows and Mac may require additional changes.
--HG--
rename : toolkit/components/filepicker/src/nsFilePicker.js.in => toolkit/components/filepicker/src/nsFilePicker.js
2010-06-22 12:59:15 -04:00
Marco Bonardo
edd3739d86 Bug 572425 - nsISearchEngine.getSubmission reponseType should be an [optional] param. r=gavin 2010-06-16 18:54:29 +02:00
Mike Hommey
8879ba6318 Bug 554265 - Download search engine icons even when searchplugin is readonly [r=rflint]
--HG--
extra : rebase_source : c1d93bf91c126de9bce3ee171c26c0d46d70eae4
2010-04-19 10:26:48 +02:00
Marco Bonardo
3248460071 Bug 552659 - improve searchService sanitizeName function. r=rflint 2010-03-26 22:57:31 +01:00
Ryan Flint
63ee1c67ec Bug 522842 - Don't notify during startup until all engines are loaded. r=gavin 2010-02-25 01:11:45 -05:00
Ryan Flint
6179f28581 Backout bug 522842 (2858cd90d03) 2010-02-25 00:35:37 -05:00
Ryan Flint
f49d17ff5e Bug 522842 - Don't notify during startup until all engines are loaded. r=gavin 2010-02-24 23:10:55 -05:00
Gavin Sharp
6beb89efdf Bug 532178: moz:official parameter should depend on MOZ_OFFICIAL_BRANDING rather than MOZILLA_OFFICIAL, r=rflint 2009-12-01 18:15:27 -05:00
Ryan Flint
187012841c Bug 520284 - Use the update-timer category. r=robstrong 2010-01-07 23:25:44 -05:00
Gavin Sharp
16f471606f Bug 530533: Add pref to control whether addEngine prompts to "use immediately", r=rflint 2009-11-23 11:05:33 -05:00
Dão Gottwald
673c03c02d Bug 526989 - getEngines, getVisibleEngines and getDefaultEngines engineCount out params should be optional. r=gavin
--HG--
extra : rebase_source : ea466269b081c55e6ce4d178a00a9b882f65ac93
2009-11-06 22:56:26 +01:00
Gijs Kruitbosch
c888c1980e Back out bug 487059, fix tests and EM to cope, r=gavin,beltzner, bug 524995
--HG--
extra : rebase_source : d8414b8de165cf2fa534719c36416d82d21872c6
2009-10-29 14:44:10 +01:00
Dão Gottwald
b6e71f34a2 Bug 524270 - Make the second getChildList parameter optional. r=bsmedberg 2009-10-26 21:02:06 +01:00
Gavin Sharp
5223e8cc7d Bug 519685: optionally allow loading search engines from chrome:// JARs, r=rflint
--HG--
extra : rebase_source : 64c61e601b81db267a44ce45c08ec533dbde87c7
2009-10-16 23:13:14 -04:00
Ryan Flint
fda9a02a86 Bug 514415 - Expose NetUtil's reference to nsIIOService. r=sdwilsh, sr=bzbarsky 2009-10-03 01:11:20 -04:00
Ryan Flint
886f3842f0 Bug 475289 - Lazily initialize engineMetadataService. r=gavin 2009-10-02 23:47:16 -04:00
Ryan Flint
16ff076bf3 Bug 514377 - Pass SearchForm through ParamSubstitution(). r=gavin 2009-09-28 02:28:36 -04:00
Paul O’Shannessy
10c6556013 Bug 518447 - Search Storage usage changes: Don't create statement wrapper & don't use step(). r=rflint
--HG--
extra : rebase_source : ae0744fb9dc8f1a2c412df816a1e919f2ac3e1f2
2009-09-25 15:34:53 -07:00
Ryan Flint
217f4c3fcf Back out NetUtil.newURI changes from bug 514407 (b5b3d45c1885). 2009-09-04 00:24:56 -04:00
Ryan Flint
b726f259d8 Bug 514407 - Make cache file writes asynchronous. r=sdwilsh 2009-09-03 23:19:05 -04:00
Phil Ringnalda
d2ca4abd8e Bug 435923 - Remove BUILD_OFFICIAL in favor of MOZILLA_OFFICIAL, r=ted 2009-07-07 20:24:45 -07:00
Dão Gottwald
3c77fb3f58 fix indention 2009-06-22 14:22:40 +02:00
Justin Dolske
8a17ce6e27 Bug 495584 - search suggestions passes wrong previous result to form history. r=gavin 2009-06-19 13:19:21 -07:00
Ryan Flint
5fa3fbd1cb Bug 491125 - Invalidate all plugin caches when one of them changes. r=gavin 2009-05-21 03:18:45 -04:00
Dão Gottwald
65b5d09e58 Bug 487059 - clearUserPref shouldn't throw if a pref doesn't have a default or user value. r+sr=bsedberg 2009-04-10 10:24:24 +02:00
Ryan Flint
0e6efb2aa3 Bug 483086. r=gavin, a=beltzner 2009-03-18 03:52:43 -04:00
Ryan Flint
85c1b72a87 Bug 480737 - lastModifiedTime cache invalidation is broken. r=gavin 2009-03-02 23:14:46 -05:00
Ryan Flint
fa15736f8e Bug 467890 - Support automatic updates for app-shipped search plugins. r=gavin 2009-01-29 00:32:10 -05:00
Ryan Flint
e32af0a703 Bug 475471 - Engine._updateInterval isn't cached properly. r=gavin, a=typo 2009-01-26 23:24:51 -05:00
Phil Ringnalda
9f1ee56c94 Fix spelling of sucessful to trigger builds in a CLOSED TREE 2009-01-10 23:38:49 -08:00
Ryan Flint
cdff3c4a90 Bug 460235 - Additional search service Ts improvements. r=gavin 2008-10-17 22:34:33 -04:00
Ryan Flint
20d6ad0569 Bug 460235 - Additional search service Ts improvements. r=gavin 2008-10-17 22:24:47 -04:00
Robert Sayre
82c16f9710 Merge. 2008-10-08 21:17:03 -04:00
Robert Sayre
70868d33ad Bug 458959. this.JSON is enumerable. r+sr=mrbkap 2008-10-08 19:33:26 -04:00
Ryan Flint
8ced551418 Bug 394979 - Search Service is slow on startup. r=gavin 2008-10-06 16:57:18 -04:00
Gavin Sharp
4bc0ae6285 Merge backout with previous tip 2008-09-23 11:47:43 -04:00
Neil Deakin
01d18dd2de Bug 444735, move search service to toolkit, r=gavin
--HG--
rename : browser/components/search/nsIBrowserSearchService.idl => toolkit/components/search/nsIBrowserSearchService.idl
rename : browser/components/search/nsSearchService.js => toolkit/components/search/nsSearchService.js
rename : browser/components/search/nsSearchSuggestions.js => toolkit/components/search/nsSearchSuggestions.js
2008-09-13 17:01:14 -04:00