99 Commits

Author SHA1 Message Date
rflint%ryanflint.com
a5fb425d83 Backout bug 386473 due to leak increase.
git-svn-id: svn://10.0.0.236/trunk@230150 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-17 22:13:21 +00:00
rflint%ryanflint.com
1e9f4d6578 Bug 386473 - XPCOMUtilify SearchService. r=gavin
git-svn-id: svn://10.0.0.236/trunk@230118 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-17 17:59:41 +00:00
gavin%gavinsharp.com
952dc2eade Bug 383271: don't hold on to search engine XML documents when they're no longer needed, r=mconnor
git-svn-id: svn://10.0.0.236/trunk@229517 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 23:45:35 +00:00
rflint%ryanflint.com
0199433a20 Bug 378553 - Expose search engine alias functionality. r=gavin
git-svn-id: svn://10.0.0.236/trunk@228870 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 19:25:14 +00:00
gavin%gavinsharp.com
4e2ac8c5ea 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
git-svn-id: svn://10.0.0.236/trunk@225584 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-04 15:48:08 +00:00
gavin%gavinsharp.com
0c7a4387e2 Bug 357830: use parseFromBuffer instead of doing byte->string conversion manually, to benefit from nsDomParser's charset detection, r=mano
git-svn-id: svn://10.0.0.236/trunk@225481 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-02 20:06:43 +00:00
mozilla.mano%sent.com
d3e7fc2422 Bug 363512 - remove base-64 encoding functions in favor of built-ins. r=gavin.
git-svn-id: svn://10.0.0.236/trunk@217269 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 22:41:20 +00:00
gavin%gavinsharp.com
14050ba106 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
git-svn-id: svn://10.0.0.236/trunk@216858 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-11 21:29:38 +00:00
gavin%gavinsharp.com
58b58f6992 Bug 361061: params added nsISearchEngine::addParam() are sometimes forgotten after a restart (especially for engines added without icons), r=mano
git-svn-id: svn://10.0.0.236/trunk@216855 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-11 20:54:35 +00:00
gavin%gavinsharp.com
479df5064c Bug 360273: Firefox should substitute unrecognized parameter extension with blank string, patch by Pavel Franc - Pawell (Czilla.cz) <p.franc@gmail.com>, r=me
git-svn-id: svn://10.0.0.236/trunk@216698 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 21:31:15 +00:00
gavin%gavinsharp.com
de3bd06b7c 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
git-svn-id: svn://10.0.0.236/trunk@215152 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-11 05:26:26 +00:00
gavin%gavinsharp.com
91c2dcfe29 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
git-svn-id: svn://10.0.0.236/trunk@214466 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-31 15:32:43 +00:00
gavin%gavinsharp.com
4382d4af64 Bug 357109: Invalid search engine update URLs may cause an assertion dialog each time an update check occurs, r=mconnor
git-svn-id: svn://10.0.0.236/trunk@213791 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-18 16:52:35 +00:00
gavin%gavinsharp.com
751c0a0ee8 Bug 353025: clear the useNow flag for update engines (so that the current engine isn't changed when an engine update occurs), r=mconnor
git-svn-id: svn://10.0.0.236/trunk@211906 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-18 00:43:32 +00:00
gavin%gavinsharp.com
955e07b9d9 Bug 352768: don't forget to parse searchForm on Sherlock plugins, r=mconnor
git-svn-id: svn://10.0.0.236/trunk@211769 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-15 02:37:45 +00:00
benjamin%smedbergs.us
7a5b51351b Bug 352952 - Allow overriding distribution ID from a partner extension, r=gavin
git-svn-id: svn://10.0.0.236/trunk@210089 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-14 00:49:19 +00:00
gavin%gavinsharp.com
02fb144b63 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
git-svn-id: svn://10.0.0.236/trunk@209995 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-13 07:03:34 +00:00
benjamin%smedbergs.us
16c4f1a09b Bug 351817 - implement pref-based search parameters, r=gavin
git-svn-id: svn://10.0.0.236/trunk@209460 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-08 19:27:29 +00:00
gavin%gavinsharp.com
cdac14e46b Bug 350963: ensure that we correctly serialize all engine attributes to file (iconUpdateURL and searchFrom were missing), r=mconnor
git-svn-id: svn://10.0.0.236/trunk@209010 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-01 18:50:31 +00:00
gavin%gavinsharp.com
1382120d50 Bug 350738: use localeCompare for the search engine ordering, r=mconnor
git-svn-id: svn://10.0.0.236/trunk@208864 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-30 23:19:18 +00:00
gavin%gavinsharp.com
653aa8e8d1 Revert experimental changes
git-svn-id: svn://10.0.0.236/trunk@208795 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-30 07:35:45 +00:00
gavin%gavinsharp.com
4f577c607a Experiment #3 to test the search service's effect on tinderbox startup time: disable parsing of engine data
git-svn-id: svn://10.0.0.236/trunk@208793 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-30 06:46:36 +00:00
gavin%gavinsharp.com
4fbcf68300 Experiment #2 to test the search service's effect on tinderbox startup time: disable XML parsing
git-svn-id: svn://10.0.0.236/trunk@208789 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-30 06:21:04 +00:00
gavin%gavinsharp.com
fab4a02bb6 Temporary change to disable search engine loading, to see what effect it has on startup time
git-svn-id: svn://10.0.0.236/trunk@208788 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-30 05:44:55 +00:00
gavin%gavinsharp.com
eb142ad584 Bug 348737: restoring default search engines doesn't restore the original order, r=mconnor
git-svn-id: svn://10.0.0.236/trunk@208573 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-27 17:18:41 +00:00
pamg.bugs%gmail.com
e78f2816c3 Bug 348141: Adding an autodetected search engine should choose it too. r=beng, r (on irc)=gavin
git-svn-id: svn://10.0.0.236/trunk@207100 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-10 21:16:13 +00:00
pamg.bugs%gmail.com
d5da9c9b38 Bug 347429: Search engine updates fail if the engine name hasn't changed. r=gavin, ben
git-svn-id: svn://10.0.0.236/trunk@207086 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-10 20:21:26 +00:00
gavin%gavinsharp.com
7160f94404 Bug 343707: Add Restore Default Search Engines button to search manager, patch by Michael Wu <michael.wu@mozilla.com>, r=me
git-svn-id: svn://10.0.0.236/trunk@206785 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-07 23:26:27 +00:00
gavin%gavinsharp.com
aac05d10e7 Fix silly typo from the patch for bug 347241 that caused engine order not to be remembered after a restart, r=mconnor over IRC
git-svn-id: svn://10.0.0.236/trunk@206739 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-07 18:58:19 +00:00
benjamin%smedbergs.us
5d3077213c Bug 347364 - Allow extensions to add searchplugins at the top of the list, preserving additional ordering, r=gavin
git-svn-id: svn://10.0.0.236/trunk@206719 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-07 15:22:55 +00:00
gavin%gavinsharp.com
96df566be1 Bug 347457: If a readonly engine has updates, and the icon load callback runs first, an exception is thrown, r=mconnor
git-svn-id: svn://10.0.0.236/trunk@206689 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-06 20:30:37 +00:00
gavin%gavinsharp.com
9b8176f3d9 Bug 347241: Fix whitespace issue caused by landing the diff -w
git-svn-id: svn://10.0.0.236/trunk@206563 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-04 14:02:22 +00:00
gavin%gavinsharp.com
03193d1789 Bug 347241: Don't use the DB to store engine order information unless the order is changed, r=mconnor
git-svn-id: svn://10.0.0.236/trunk@206562 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-04 13:59:20 +00:00
benjamin%smedbergs.us
6da9e256f7 Bug 344159 - Reset the .selectedEngine pref when it matches the default setting, so that changes in the default show up, r=gavin
git-svn-id: svn://10.0.0.236/trunk@206393 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-02 14:08:12 +00:00
gavin%gavinsharp.com
8cdd016356 Bug 344059: Don't write search prefs. on shutdown unless something has changed, patch by Adam Guthrie <ispiked@gmail.com>, r=me
git-svn-id: svn://10.0.0.236/trunk@204991 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-27 21:54:53 +00:00
vladimir%pobox.com
7aad47dd9b b=334174, corrupted db files are not handled correctly, r=brettw
git-svn-id: svn://10.0.0.236/trunk@203743 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-26 18:54:12 +00:00
gavin%gavinsharp.com
005fd78024 Fix review nit from bug 344523.
git-svn-id: svn://10.0.0.236/trunk@203529 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-24 18:45:32 +00:00
gavin%gavinsharp.com
cbd2ec96d3 Bug 345127: nsSearchService's loadListener should implement nsIBadCertListener to avoid popping up "wrong cert" dialogs, r=mconnor
git-svn-id: svn://10.0.0.236/trunk@203528 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-24 18:44:19 +00:00
gavin%gavinsharp.com
2f7c7a4bb6 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
git-svn-id: svn://10.0.0.236/trunk@203526 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-24 18:41:25 +00:00
gavin%gavinsharp.com
1b1ca342ed Backing my last checkin out, since the tree is closed
git-svn-id: svn://10.0.0.236/trunk@203521 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-24 18:17:47 +00:00
gavin%gavinsharp.com
ddb6406a92 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
git-svn-id: svn://10.0.0.236/trunk@203520 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-24 18:15:14 +00:00
gavin%gavinsharp.com
d1862779bd Bug 345319: installation of an engine with a very long name can fail, original patch by Joey Minta <jminta@gmail.com>, r=mconnor
git-svn-id: svn://10.0.0.236/trunk@203359 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-21 12:52:57 +00:00
gavin%gavinsharp.com
faeb22ba49 Bug 345404: fix issue with search update that was causing errors on startup, r=jminta
git-svn-id: svn://10.0.0.236/trunk@203333 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-21 01:30:48 +00:00
gavin%gavinsharp.com
2a314c12f7 Bug 327932: re-implement search engine update system, patch by me and jminta, r=me/jminta, rs=mconnor
git-svn-id: svn://10.0.0.236/trunk@203302 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-20 23:00:39 +00:00
gavin%gavinsharp.com
8c60f7b6f7 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
git-svn-id: svn://10.0.0.236/trunk@203270 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-20 17:38:43 +00:00
pamg.bugs%gmail.com
2190da65ac Bug 344437: String cleanup for search engine confirmation dialog. r=beng
git-svn-id: svn://10.0.0.236/trunk@203192 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 23:55:13 +00:00
gavin%gavinsharp.com
cf479cb490 Bug 344457: fix sorted engine list saving to ensure that engines won't fail to load, r=mconnor
git-svn-id: svn://10.0.0.236/trunk@203103 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 13:35:09 +00:00
pamg.bugs%gmail.com
03230cbdc0 Bug 341668: Preload title into search engine confirmation dialog. r=gavin, beng
git-svn-id: svn://10.0.0.236/trunk@202151 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-14 16:31:27 +00:00
gavin%gavinsharp.com
9a1c85d3a0 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
git-svn-id: svn://10.0.0.236/trunk@201931 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-12 12:34:30 +00:00
gavin%gavinsharp.com
f5fedbf6ef Small tweak to sync branch/trunk, no functional change
git-svn-id: svn://10.0.0.236/trunk@201649 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-06 02:57:51 +00:00