Commit f1e3a112 authored by trey's avatar trey

WebKit:

	Just a tweak to the description printout.

        * History.subproj/WebHistoryItem.m:
        (-[WebHistoryItem description]):

WebBrowser:

	Implementation of the UI for auto-complete.  The back end is simplistic at this
	stage, as it just searches for http://www.WhatYouTyped.

        * ABHomePagesController.m:
        (-[ABHomePagesController refreshContents]):  Added notes for a future fix.
        * BrowserWindowController.h:  Added BrowserWindowWillResize notification.
        * BrowserWindowController.m:
        (-[BrowserWindowController windowDidLoad]):  Create CompletionController.
        (-[BrowserWindowController windowWillResize:toSize:]):  Post resize notification.
        (-[BrowserWindowController dealloc]):  Free CompletionController.
        (-[BrowserWindowController controlTextDidChange:]):  Forward to CompletionController.
        (-[BrowserWindowController controlTextDidEndEditing:]):  Forward to CompletionController.
        (-[BrowserWindowController control:textView:doCommandBySelector:]):  Forward to CompletionController.
        * CompletionController.h: Added.
        * CompletionController.m: Added.
        (-[CompletionController initWithSourceField:]):   Hook up to a field to operate on.
        (-[CompletionController dealloc]):
        (-[CompletionController _executeQuery]):  Get a result set.
        (-[CompletionController _matchingPrefixOfString:]):  Determine piece of a result
	that matched.
        (-[CompletionController _buildUI]):  Build completion window and table view.
        (placementViewForControl):  Utility function.
        (-[CompletionController _positionWindow]):  Position the window wrt location field.
        (-[CompletionController _showMatchesWindow]):  Show it,
        (-[CompletionController _hideMatchesWindow]):  hide it.
        (-[CompletionController _sourceWindowWillMoveOrResize:]):
        (-[CompletionController _sourceWindowWillMiniaturize:]):
        (-[CompletionController _sourceWindowWillClose:]):
		Hide UI on various source window changes.
        (-[CompletionController _abortCompletion:]):  wrapper for performAfterDelay.
        (-[CompletionController abortCompletion]):  Bail out of completion operation.
        (-[CompletionController completeString:]):  Do a query, bring up the UI.
        (-[CompletionController _reflectSelectedRow]):  Update location field when a
	completion is selected in the TableView
        (-[CompletionController controlTextDidChange:]):  Drive completion on new text.
        (-[CompletionController control:textView:doCommandBySelector:]):
	Drive completion on arrows, backspace, escape, return.
        (-[CompletionController goToItemAtRow:]):  Double click sends performClick to location field.
        (-[CompletionController tableViewSelectionDidChange:]):  Drive UI when row selected.
        (-[CompletionController numberOfRowsInTableView:]):  Supply tableView data.
        (-[CompletionController tableView:objectValueForTableColumn:row:]):  Supply tableView data.
        * TitleBarButton.m:
        (-[TitleBarButton hitTest:]):  Bug fix to allow superview to process mouse events
	that we don't handle.  Allows proper sending of WindowWillMove.
        * WebBrowser.pbproj/project.pbxproj:  New class added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2755 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 451d435e
2002-11-19 Trey Matteson <trey@apple.com>
Just a tweak to the description printout.
* History.subproj/WebHistoryItem.m:
(-[WebHistoryItem description]):
2002-11-18 Chris Blumenberg <cblu@apple.com>
Real fix for: 3104183 - Assert loading www.louisvuitton.com
......
2002-11-19 Trey Matteson <trey@apple.com>
Just a tweak to the description printout.
* History.subproj/WebHistoryItem.m:
(-[WebHistoryItem description]):
2002-11-18 Chris Blumenberg <cblu@apple.com>
Real fix for: 3104183 - Assert loading www.louisvuitton.com
......
......@@ -300,7 +300,10 @@ - (WebHistoryItem *)childItemWithName:(NSString *)name
- (NSString *)description
{
NSMutableString *result = [NSMutableString stringWithFormat:@"%@ %@ in \"%@\"", [super description], _URLString, _target];
NSMutableString *result = [NSMutableString stringWithFormat:@"%@ %@", [super description], _URLString];
if (_target) {
[result appendFormat:@" in \"%@\"", _target];
}
if (_isTargetItem) {
[result appendString:@" *target*"];
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment