Closed Bug 337178 Opened 19 years ago Closed 19 years ago

Land search suggestions code

Categories

(Firefox :: Search, enhancement)

2.0 Branch
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 2 alpha2

People

(Reporter: mconnor, Assigned: mconnor)

References

()

Details

(Keywords: fixed1.8.1)

Attachments

(4 files, 2 obsolete files)

I thought this bug existed... guess not. Need to land support for Search Suggestions, which is a Google Suggest-like feature that any search engine can support. Details will be on the wiki soon for how other providers can support this.
Flags: blocking-firefox2+
Attached patch implement remote suggestion autocomplete (obsolete) (deleted) — Splinter Review
Discussed in triage call, want to take this for a2
Attachment #221353 - Flags: review?(bugs)
Attachment #221353 - Flags: approval-branch-1.8.1?
Comment on attachment 221353 [details] [diff] [review] implement remote suggestion autocomplete - _createSuggestionURI needs to null-check suggestionURI - wouldn't hurt to bump nsISearchEngine's UUID, but I guess it doesn't matter - typo s/nsIAutoComleteResult/nsIAutoCompleteResult/ - sandboxHost is unused (meant to be used instead of "http://www.mozilla.org", I'm guessing) - indent is weird around |+ this._textbox.mController.input = this._textbox;| - don't use the os namespace for the added suggestionURL in the plugin files since it's not OpenSearch - nit: a lot of trailing whitespace, s/ \n/\n/g ;)
Attachment #221353 - Flags: review?(bugs) → review+
Comment on attachment 221353 [details] [diff] [review] implement remote suggestion autocomplete approved at bon echo triage call
Attachment #221353 - Flags: approval-branch-1.8.1? → approval-branch-1.8.1+
Attachment #221353 - Attachment is obsolete: true
Shazam.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Blocks: 337193
Blocks: 335439
Attachment #221365 - Flags: review+
Attachment #221365 - Flags: approval-branch-1.8.1+
Keywords: fixed1.8.1
Comment on attachment 221365 [details] [diff] [review] update installer manifests too landed this on the branch.
Attached patch Fix leak (obsolete) (deleted) — Splinter Review
Without this we leak all browser windows
Attachment #221402 - Flags: review?(mconnor)
Attachment #221402 - Flags: approval-branch-1.8.1?(mconnor)
Comment on attachment 221402 [details] [diff] [review] Fix leak can you add a comment saying we leak the world if we don't null this? call it a hunch...
Attachment #221402 - Flags: review?(mconnor)
Attachment #221402 - Flags: review+
Attachment #221402 - Flags: approval-branch-1.8.1?(mconnor)
Attachment #221402 - Flags: approval-branch-1.8.1+
Attached patch Fix leak with comment (deleted) — Splinter Review
Attachment #221402 - Attachment is obsolete: true
*** Bug 335439 has been marked as a duplicate of this bug. ***
Gavin, is there more to come ? It doesn't work at all for Google/Yahoo (or any other searchengine) Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20060515 Minefield/3.0a1 ID:2006051510 [cairo] same result on a non-cairo build
Oh, looks like the installer manifest changes weren't landed, so installer builds won't work. I'll do that in a sec.
mozilla/browser/installer/windows/packages-static 1.75 mozilla/browser/installer/unix/packages-static 1.70
(In reply to comment #13) >so installer builds won't work. I'll do that in a sec. > I'm on .zip's
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20060515 Minefield/3.0a1 ID:2006051514 verified I filed 338064 for the pref issue
Search suggestion don't support 2byte language such as CJK right now. It's different to detect finishing syllables. e.x onKeyUp and onKeyDown in JavaScript. So Google made 2 byte langunage version. http://www.google.co.jp/webhp?complete=1&hl=ja
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attachment #222652 - Attachment description: Capture of Google Suggestion with CJK typing → Capture of bug on Google Suggestion with CJK typing
Channy, thanks for pointing this out (and making such a nice demo film!)--please open it as a separate bug rather than reopening this one.
Status: REOPENED → RESOLVED
Closed: 19 years ago19 years ago
Resolution: --- → FIXED
Blocks: 413836
No longer blocks: 413836
Depends on: 413836
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: