Commit Graph

99 Commits

Author SHA1 Message Date
d2319c2e5d Backout bug 386473 due to leak increase. 2007-07-17 15:13:21 -07:00
d41515ab0e Bug 386473 - XPCOMUtilify SearchService. r=gavin 2007-07-17 10:59:41 -07:00
99a0e32ea7 Bug 383271: don't hold on to search engine XML documents when they're no longer needed, r=mconnor 2007-07-08 16:45:35 -07:00
b1a5a9587f Bug 378553 - Expose search engine alias functionality. r=gavin 2007-06-27 12:25:14 -07:00
78495c4dd6 Bug 356289: modify the search service's concept of "default engine" so that extension-shipped search plugins can be easily restored using "restore default engines", r=mano, ui-r=mconnor 2007-05-04 08:48:08 -07:00
63f78b9c17 Bug 357830: use parseFromBuffer instead of doing byte->string conversion manually, to benefit from nsDomParser's charset detection, r=mano 2007-05-02 13:06:43 -07:00
mozilla.mano@sent.com
800e5a2999 Bug 363512 - remove base-64 encoding functions in favor of built-ins. r=gavin. 2006-12-20 22:41:20 +00:00
gavin@gavinsharp.com
79d8f02b18 Bug 363318: use native btoa() where possible, and optimize the JS-implemented b64() for the search service (large slowdown seen when the feed preview page is shown), r=mano 2006-12-11 21:29:38 +00:00
gavin@gavinsharp.com
f371229436 Bug 361061: params added nsISearchEngine::addParam() are sometimes forgotten after a restart (especially for engines added without icons), r=mano 2006-12-11 20:54:35 +00:00
gavin@gavinsharp.com
c7978902f3 Bug 360273: Firefox should substitute unrecognized parameter extension with blank string, patch by Pavel Franc - Pawell (Czilla.cz) <p.franc@gmail.com>, r=me 2006-12-07 21:31:15 +00:00
gavin@gavinsharp.com
52a4b3609b Bug 358570: OpenSearch plugins should default to encoding search queries in UTF-8 (fix garbled text for certain Japanese plugins that omit the InputEncoding element), patch by KUROSAWA, Takeshi(taken) <taken.spc@gmail.com>, r=me 2006-11-11 05:26:26 +00:00
gavin@gavinsharp.com
38cbe172da Bug 358891: Firefox doesn't remember the search engine with non-ascii characters as its selected engine, patch by Kohei Yoshino <kohei.yoshino.bugs@gmail.com>, r=me 2006-10-31 15:32:43 +00:00
gavin@gavinsharp.com
e6bdf18c45 Bug 357109: Invalid search engine update URLs may cause an assertion dialog each time an update check occurs, r=mconnor 2006-10-18 16:52:35 +00:00
gavin@gavinsharp.com
020ab5422e Bug 353025: clear the useNow flag for update engines (so that the current engine isn't changed when an engine update occurs), r=mconnor 2006-09-18 00:43:32 +00:00
gavin@gavinsharp.com
95bbe43ec6 Bug 352768: don't forget to parse searchForm on Sherlock plugins, r=mconnor 2006-09-15 02:37:45 +00:00
benjamin@smedbergs.us
e0349711d7 Bug 352952 - Allow overriding distribution ID from a partner extension, r=gavin 2006-09-14 00:49:19 +00:00
gavin@gavinsharp.com
46f1ec2b3a Bug 352106: fix the search service to correctly interpret indices passed in by the search engine manager (ordering wouldn't work in some cases), r=mconnor 2006-09-13 07:03:34 +00:00
benjamin@smedbergs.us
6115b96079 Bug 351817 - implement pref-based search parameters, r=gavin 2006-09-08 19:27:29 +00:00
gavin@gavinsharp.com
4569b68264 Bug 350963: ensure that we correctly serialize all engine attributes to file (iconUpdateURL and searchFrom were missing), r=mconnor 2006-09-01 18:50:31 +00:00
gavin@gavinsharp.com
0ec178c6d9 Bug 350738: use localeCompare for the search engine ordering, r=mconnor 2006-08-30 23:19:18 +00:00
gavin@gavinsharp.com
81163e12a3 Revert experimental changes 2006-08-30 07:35:45 +00:00
gavin@gavinsharp.com
46402503af Experiment #3 to test the search service's effect on tinderbox startup time: disable parsing of engine data 2006-08-30 06:46:36 +00:00
gavin@gavinsharp.com
ecb89df4e5 Experiment #2 to test the search service's effect on tinderbox startup time: disable XML parsing 2006-08-30 06:21:04 +00:00
gavin@gavinsharp.com
623e71ee11 Temporary change to disable search engine loading, to see what effect it has on startup time 2006-08-30 05:44:55 +00:00
gavin@gavinsharp.com
56d503ab40 Bug 348737: restoring default search engines doesn't restore the original order, r=mconnor 2006-08-27 17:18:41 +00:00
pamg.bugs@gmail.com
5b3b0d862e Bug 348141: Adding an autodetected search engine should choose it too. r=beng, r (on irc)=gavin 2006-08-10 21:16:13 +00:00
pamg.bugs@gmail.com
05384ab8ce Bug 347429: Search engine updates fail if the engine name hasn't changed. r=gavin, ben 2006-08-10 20:21:26 +00:00
gavin@gavinsharp.com
07fca0ac9e Bug 343707: Add Restore Default Search Engines button to search manager, patch by Michael Wu <michael.wu@mozilla.com>, r=me 2006-08-07 23:26:27 +00:00
gavin@gavinsharp.com
fabfb01f21 Fix silly typo from the patch for bug 347241 that caused engine order not to be remembered after a restart, r=mconnor over IRC 2006-08-07 18:58:19 +00:00
benjamin@smedbergs.us
d7c884bf93 Bug 347364 - Allow extensions to add searchplugins at the top of the list, preserving additional ordering, r=gavin 2006-08-07 15:22:55 +00:00
gavin@gavinsharp.com
f941f56cab Bug 347457: If a readonly engine has updates, and the icon load callback runs first, an exception is thrown, r=mconnor 2006-08-06 20:30:37 +00:00
gavin@gavinsharp.com
e5422a9838 Bug 347241: Fix whitespace issue caused by landing the diff -w 2006-08-04 14:02:22 +00:00
gavin@gavinsharp.com
4c1bd9c01f Bug 347241: Don't use the DB to store engine order information unless the order is changed, r=mconnor 2006-08-04 13:59:20 +00:00
benjamin@smedbergs.us
a3d695b9e7 Bug 344159 - Reset the .selectedEngine pref when it matches the default setting, so that changes in the default show up, r=gavin 2006-08-02 14:08:12 +00:00
gavin@gavinsharp.com
60484ac193 Bug 344059: Don't write search prefs. on shutdown unless something has changed, patch by Adam Guthrie <ispiked@gmail.com>, r=me 2006-07-27 21:54:53 +00:00
vladimir@pobox.com
5bc88555f2 b=334174, corrupted db files are not handled correctly, r=brettw 2006-07-26 18:54:12 +00:00
gavin@gavinsharp.com
5eca2c1b25 Fix review nit from bug 344523. 2006-07-24 18:45:32 +00:00
gavin@gavinsharp.com
879bae131d Bug 345127: nsSearchService's loadListener should implement nsIBadCertListener to avoid popping up "wrong cert" dialogs, r=mconnor 2006-07-24 18:44:19 +00:00
gavin@gavinsharp.com
64d0862aea Bug 344523: AddSearchProvider doesn't check if provider already installed (installation of an engine with the same name as an already-installed engine fails silently), r=mconnor 2006-07-24 18:41:25 +00:00
gavin@gavinsharp.com
dda98d61dd Backing my last checkin out, since the tree is closed 2006-07-24 18:17:47 +00:00
gavin@gavinsharp.com
613cb89731 Bug 344523: AddSearchProvider doesn't check if provider already installed (installation of an engine with the same name as an already-installed engine fails silently), r=mconnor 2006-07-24 18:15:14 +00:00
gavin@gavinsharp.com
63f54245d7 Bug 345319: installation of an engine with a very long name can fail, original patch by Joey Minta <jminta@gmail.com>, r=mconnor 2006-07-21 12:52:57 +00:00
gavin@gavinsharp.com
621c54b073 Bug 345404: fix issue with search update that was causing errors on startup, r=jminta 2006-07-21 01:30:48 +00:00
gavin@gavinsharp.com
9fc6fa051b Bug 327932: re-implement search engine update system, patch by me and jminta, r=me/jminta, rs=mconnor 2006-07-20 23:00:39 +00:00
gavin@gavinsharp.com
7cc009764d Bug 343788: throw an error instead of silently failing when trying to install an OpenSearch search engine that doesn't have an HTML result type, r=jhughes, r=mconnor 2006-07-20 17:38:43 +00:00
pamg.bugs@gmail.com
6d0b063749 Bug 344437: String cleanup for search engine confirmation dialog. r=beng 2006-07-19 23:55:13 +00:00
gavin@gavinsharp.com
fe231c4507 Bug 344457: fix sorted engine list saving to ensure that engines won't fail to load, r=mconnor 2006-07-19 13:35:09 +00:00
pamg.bugs@gmail.com
8bb7939edd Bug 341668: Preload title into search engine confirmation dialog. r=gavin, beng 2006-07-14 16:31:27 +00:00
gavin@gavinsharp.com
4b6786a272 Bug 341850: Closing trunk extremely slow due to inefficient code in the search service, patch by Regis Caspar <regis.caspar+bz@gmail.com>, r=me/mano 2006-07-12 12:34:30 +00:00
gavin@gavinsharp.com
a7df207f7d Small tweak to sync branch/trunk, no functional change 2006-07-06 02:57:51 +00:00