Closed Bug 145803 Opened 22 years ago Closed 22 years ago

Implement url autocomplete

Categories

(Camino Graveyard :: General, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: winnie, Assigned: hewitt)

References

Details

Attachments

(1 file, 1 obsolete file)

Implement url autocomplete.
Blocks: 145820
QA Contact: petersen → winnie
Status: NEW → ASSIGNED
Attached patch patch (obsolete) — Splinter Review
This patch implements full url autocomplete, just like in Mozilla.
Attached patch patchSplinter Review
This patch implements full url autocomplete, just like in Mozilla.
Attachment #85220 - Attachment is obsolete: true
+    mIconImage = [[NSImage imageNamed:@"globe_ico"] autorelease]; 

NSImage's are already autoreleased. i fixed this, but FYI.

+  [self setDelegate: self]; 

shouldn't this be done in IB?

+  if (mProxyIcon != nil) {

just |if (mProxyIcon) {|

+  mDataSource = [[[CHAutoCompleteDataSource alloc] init] retain];

retain is implied by the alloc. this will leak. again, i fixed it.

i also noticed that hitting esc doesn't make it dismiss, and if i click outside
it, it loads the url i click on in the content area. maybe that's ok, but it
just makes the popup very hard to dismiss w/out consequences.

Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
fixed
Verified in the 2002-06-04-05 trunk 
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: