Commit Graph

148 Commits

Author SHA1 Message Date
Gregory Szorc
faf262c4ee 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
14545664e3 Bug 784841 - Part 18θ: Convert /toolkit f=Mossop, Ms2ger; rs=ted 2013-02-25 13:19:09 -08:00
David Rajchenbach-Teller
5771db118a Bug 843479 - More logging for test_init_async_multiple_then_sync.js. 2013-02-25 09:07:17 -05:00
David Rajchenbach-Teller
e7c2255848 Bug 828223 - Write nsSearchService cache with OS.File + nsSearchService cache tests. r=gavin 2013-02-25 09:07:16 -05:00
Joshua Kalpin
13ca43f694 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
3be704236d 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
77e3f033d4 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
7fb6d0abb7 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
640e79f848 Bug 755724 - Move browser application in a subdirectory. r=jimm 2013-02-11 14:10:16 +01:00
Dave Townsend
f1c830614d 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
110b07d0a5 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
dd4235ccf1 Bug 828228 - Measure nsSearchService init with Telemetry. r=gavin 2013-01-16 18:03:05 -05:00
Mike Hommey
3fd6510a59 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
27ec63ed45 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
6aa14a1173 Backed out changesets 2b4151d4d695 and 1bd72ae8aaff (bug 760036) for test failures. 2012-12-02 15:34:49 -05:00
Gavin Sharp
3058f16e4b Fix whitespace nit from bug 760036's 1bd72ae8aaff 2012-12-02 11:23:49 -08:00
David Rajchenbach-Teller
60e4ff801d Bug 760036 - SearchService metadata I/O is now off main thread. r=enndeakin 2012-12-02 14:04:43 -05:00
Kyle Huey
1482122303 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
8297cdabd6 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey
bdf47895bb 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
777eed8444 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
aa1997a51a 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
c441de2073 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
dd44f85666 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
5637d27654 Bug 797385 - Part 2: Remove ibm864 usage. r=smontagu 2012-10-10 06:32:37 -04:00
David Rajchenbach-Teller
e823dddaf1 Bug 785487 - Clarifying nsSearchService incorrect initialization error message. r=gavin 2012-08-30 13:53:00 -07:00
Andres Hernandez
69c4fb9a98 Bug 775328 - Move Lazy.jsm to toolkit. r=Mossop 2012-07-23 14:28:26 -06:00
Mark Capella
f6b3d51d4a 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
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Mike Hommey
4e998b1d36 Backout changeset 2ef51674316a (bug 774032 bonus) for various Mochitest bustages on a CLOSED TREE 2012-08-04 10:38:41 +02:00
Mike Hommey
17fb6cad2d Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 08:48:56 +02:00
Blair McBride
17a2129b49 Bug 780313 - Remove unnecessary preprocessing of Toolkit files. r=gavin 2012-08-04 13:22:55 +12:00
David Rajchenbach-Teller
9afe4e857b Bug 722332 - Adapt main clients to asynchronous nsIBrowserSearchService API. r=gavin 2012-04-19 16:08:09 +02:00
Ekanan Ketunuti
4ad271eb1a Bug 764270 - Generalize use of Services.jsm in nsSearchSuggestions. r=gavin, yoric 2012-06-16 10:07:40 +07:00
David Rajchenbach-Teller
8d43f82693 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
46dd30bc43 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
6af17f43fb 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
8639895b3a 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
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
David Rajchenbach-Teller
4486af56f3 Bug 744698 - Close the stream once commit is complete. r=gavin 2012-04-27 09:15:37 +02:00
Raymond Lee
b4aa3c26a2 Bug 726279 - Generalize use of Services.jsm in nsSearchService. r=dteller, dao 2012-04-28 11:09:55 -04:00
David Rajchenbach-Teller
b8bfd2bdfc Bug 744698 - Force logging. r=gavin, a=test-only 2012-04-23 20:09:06 +02:00
David Rajchenbach-Teller
9587bb91a8 Bug 736918 - Intermittent "test_nodb_pluschanges.js | false == true". r=gavin 2012-03-20 09:16:42 +01:00
David Rajchenbach-Teller
ba00493b5e 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
b0321a6413 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
791aa57b19 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
f36f66c7a3 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
411294feb8 Bug 711554 - finalize statements and close connection. r=mak. 2011-12-28 08:38:42 -05:00
Gavin Sharp
0aef2070f4 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
6993636556 Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
Dão Gottwald
4ac8291c1d 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
d7a9689270 Bug 645970 - search service doesn't unpack jar🫙 [r=gavin] 2011-04-15 12:40:43 +02:00
Simon Montagu
c1998d7c2c Change x-gbk to gbk in charset titles. Bug 369403, r=emk 2011-03-30 08:35:36 +02:00
Alon Zakai
12fc79016e 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
aa5697faa6 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
e625c3b89e Bug 606859: sherlock plugin loading code was broken by bug 599751, r+a=bustage 2010-10-24 21:11:15 -04:00
Serge Gautherie
7a88ce88a3 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
3276e221ce 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
b2536d0df5 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
c0ae171f24 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
100caa546d 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
5cab25b52b 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
56687a63fc Bug 572425 - nsISearchEngine.getSubmission reponseType should be an [optional] param. r=gavin 2010-06-16 18:54:29 +02:00
Mike Hommey
01a883d0c0 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
dbb5b1c0cd Bug 552659 - improve searchService sanitizeName function. r=rflint 2010-03-26 22:57:31 +01:00
Ryan Flint
42f23848a0 Bug 522842 - Don't notify during startup until all engines are loaded. r=gavin 2010-02-25 01:11:45 -05:00
Ryan Flint
28ef75e108 Backout bug 522842 (2858cd90d03) 2010-02-25 00:35:37 -05:00
Ryan Flint
364837c17d Bug 522842 - Don't notify during startup until all engines are loaded. r=gavin 2010-02-24 23:10:55 -05:00
Gavin Sharp
a20160a017 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
b58a7314ee Bug 520284 - Use the update-timer category. r=robstrong 2010-01-07 23:25:44 -05:00
Gavin Sharp
211342f289 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
78ce9ba60d 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
41ba1acfa5 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
6a530b2454 Bug 524270 - Make the second getChildList parameter optional. r=bsmedberg 2009-10-26 21:02:06 +01:00
Gavin Sharp
028060f57f 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
c249f3251a Bug 514415 - Expose NetUtil's reference to nsIIOService. r=sdwilsh, sr=bzbarsky 2009-10-03 01:11:20 -04:00
Ryan Flint
2c3e5df773 Bug 475289 - Lazily initialize engineMetadataService. r=gavin 2009-10-02 23:47:16 -04:00
Ryan Flint
033830a77a Bug 514377 - Pass SearchForm through ParamSubstitution(). r=gavin 2009-09-28 02:28:36 -04:00
Paul O’Shannessy
d242412793 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
bda135d0ca Back out NetUtil.newURI changes from bug 514407 (b5b3d45c1885). 2009-09-04 00:24:56 -04:00
Ryan Flint
ed8253bb27 Bug 514407 - Make cache file writes asynchronous. r=sdwilsh 2009-09-03 23:19:05 -04:00
Phil Ringnalda
a51763aea8 Bug 435923 - Remove BUILD_OFFICIAL in favor of MOZILLA_OFFICIAL, r=ted 2009-07-07 20:24:45 -07:00
Dão Gottwald
14f1cbf88e fix indention 2009-06-22 14:22:40 +02:00
Justin Dolske
1b4e1312ca Bug 495584 - search suggestions passes wrong previous result to form history. r=gavin 2009-06-19 13:19:21 -07:00
Ryan Flint
7f189c0eff Bug 491125 - Invalidate all plugin caches when one of them changes. r=gavin 2009-05-21 03:18:45 -04:00
Dão Gottwald
2b158c4a2f 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
0540600ce8 Bug 483086. r=gavin, a=beltzner 2009-03-18 03:52:43 -04:00
Ryan Flint
df6af872a4 Bug 480737 - lastModifiedTime cache invalidation is broken. r=gavin 2009-03-02 23:14:46 -05:00
Ryan Flint
76601bc779 Bug 467890 - Support automatic updates for app-shipped search plugins. r=gavin 2009-01-29 00:32:10 -05:00
Ryan Flint
92e375760d Bug 475471 - Engine._updateInterval isn't cached properly. r=gavin, a=typo 2009-01-26 23:24:51 -05:00
Phil Ringnalda
d5f9f018da Fix spelling of sucessful to trigger builds in a CLOSED TREE 2009-01-10 23:38:49 -08:00
Ryan Flint
a65427f3a0 Bug 460235 - Additional search service Ts improvements. r=gavin 2008-10-17 22:34:33 -04:00
Ryan Flint
a1852bf97a Bug 460235 - Additional search service Ts improvements. r=gavin 2008-10-17 22:24:47 -04:00
Robert Sayre
6579c458ac Merge. 2008-10-08 21:17:03 -04:00
Robert Sayre
bef8140a39 Bug 458959. this.JSON is enumerable. r+sr=mrbkap 2008-10-08 19:33:26 -04:00
Ryan Flint
253b150aeb Bug 394979 - Search Service is slow on startup. r=gavin 2008-10-06 16:57:18 -04:00
Gavin Sharp
97caa62981 Merge backout with previous tip 2008-09-23 11:47:43 -04:00
Neil Deakin
f7f3593429 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