⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Timeline



May 2, 2002:

4:57 PM Changeset in webkit [1090] by sullivan
  • 17 edits
    2 adds in trunk/WebKit
  • Bookmarks.subproj/IFBookmark.h:
  • Bookmarks.subproj/IFBookmark.m: (-[IFBookmark setTitle:]): (-[IFBookmark setImage:]): (-[IFBookmark setURLString:]): (-[IFBookmark insertChild:atIndex:]): (-[IFBookmark removeChild:]): (-[IFBookmark _parent]): (-[IFBookmark _group]):
  • Bookmarks.subproj/IFBookmarkGroup.h:
  • Bookmarks.subproj/IFBookmarkGroup.m: (-[IFBookmarkGroup _resetTopBookmark]): (-[IFBookmarkGroup _bookmarkDidChange:]): (-[IFBookmarkGroup _bookmarkChildrenDidChange:]): (-[IFBookmarkGroup removeBookmark:]): (-[IFBookmarkGroup insertNewBookmarkAtIndex:ofBookmark:withTitle:image:URLString:isLeaf:]):
  • Bookmarks.subproj/IFBookmarkLeaf.m: (-[IFBookmarkLeaf setTitle:]): (-[IFBookmarkLeaf setImage:]): (-[IFBookmarkLeaf setURLString:]):
  • Bookmarks.subproj/IFBookmarkList.m: (-[IFBookmarkList setTitle:]): (-[IFBookmarkList setImage:]): (-[IFBookmarkList removeChild:]): (-[IFBookmarkList insertChild:atIndex:]):
  • Bookmarks.subproj/IFBookmark_Private.h: Made _parent and _group private; made setTitle, setImage, setURLString, insertChild:atIndex:, and removeChild: public.
  • Bookmarks.subproj/IFBookmarkGroup_Private.h: Added.
  • WebKit.pbproj/project.pbxproj: Changed for new file.
3:31 PM Changeset in webkit [1089] by sullivan
  • 4 edits in trunk/WebKit

Implemented removing the root node bookmark (i.e.,
removing all bookmarks with one call).

  • Bookmarks.subproj/IFBookmarkGroup.m: (-[IFBookmarkGroup _resetTopBookmark]): New method, releases old topBookmark and creates new one. (-[IFBookmarkGroup initWithFile:]): Call _resetTopBookmark. (-[IFBookmarkGroup removeBookmark:]): If the bookmark being removed is the top one, call _resetTopBookmark.

Added "Erase All Bookmarks" menu item to Debug menu, which will be
handy in the interim between making bookmarks persistent and making
them organizable (they are neither yet).

Along the way, made DebugUtilities be a shared instance instead of
a collection of class methods, to make some innards easier to
implement.

  • Debug/DebugUtilities.h: new class method sharedDebugUtilities; changed other class methods to instance methods; made _debugMenu an instance variable.
  • Debug/DebugUtilities.m: (-[DebugUtilities dealloc]): release _debugMenu. (+[DebugUtilities sharedDebugUtilities]): New method. (-[DebugUtilities addDebugBookmarkToMenu:forURL:keyEquivalent:]): (-[DebugUtilities pathForDebugBookmarks]): (-[DebugUtilities loadDebugBookmarks]): (-[DebugUtilities conditionallyDisplayPageLoadTestWindow]): Changed class methods to instance methods. Also updated private AppController method name that had changed, causing the debug bookmarks to become disabled with my last checkin. (-[DebugUtilities eraseAllBookmarks:]): New method. (-[DebugUtilities createDebugMenu]): Add "Erase All Bookmarks" menu item, with -eraseAllBookmarks as callback.
  • AppController.m: (-[AppController awakeFromNib]): use sharedDebugUtilities where a class method used to work.
12:53 PM Changeset in webkit [1088] by sullivan
  • 18 edits in trunk/WebKit

Some more implementation of bookmarks code, enough to support
adding bookmarks to the Bookmarks menu (but not yet enough to
support persistent bookmarks).

  • Bookmarks.subproj/IFBookmark_Private.h:
  • Bookmarks.subproj/IFBookmark.h:
  • Bookmarks.subproj/IFBookmark.m: (-[IFBookmark numberOfChildren]): New public method, stub implementation. (-[IFBookmark _removeChild:]): New private method, stub implementation.
  • Bookmarks.subproj/IFBookmarkGroup.h:
  • Bookmarks.subproj/IFBookmarkGroup.m: (-[IFBookmarkGroup _sendBookmarkGroupChangedNotification]): (-[IFBookmarkGroup removeBookmark:]): (-[IFBookmarkGroup addNewBookmarkToBookmark:withTitle:image:URLString:isLeaf:]): (-[IFBookmarkGroup insertNewBookmarkAtIndex:ofBookmark:withTitle:image:URLString:isLeaf:]): (-[IFBookmarkGroup updateBookmark:title:image:URLString:]): Changed "URL" to "URLString" in several places, added a "with" to some parameter names; added addNewBookmarkToBookmark public method; added notification that's sent when bookmarks are added or removed.
  • Bookmarks.subproj/IFBookmarkLeaf.h:
  • Bookmarks.subproj/IFBookmarkLeaf.m: (-[IFBookmarkLeaf initWithURLString:title:image:group:]): Added image parameter.
  • Bookmarks.subproj/IFBookmarkList.m: (-[IFBookmarkList numberOfChildren]): New method. (-[IFBookmarkList _removeChild:]): Implemented.

Fixed 2917086 (Add Bookmark is not yet implemented). You
can now add bookmarks to the Bookmarks menu, and they work.
However, they aren't yet persistent, and there's only a flat
list that you can't yet reorder.

  • AppController.h: Added instance variables for bookmarks stuff; added +standardBookmarks method.
  • AppController.m: (-[AppController awakeFromNib]): Move history notification setup from here to -webHistory; added call to _updateBookmarksInMenu, and FIXME about doing this lazily eventually. (-[AppController dealloc]): release bookmarks. (-[AppController webHistory]): Moved history notification setup to here. (-[AppController menuTitleForURL:withTitle:]): Improved assert.

(-[AppController _setUpStringTruncator]):
(-[AppController _historyFilePath]):
(-[AppController _receivedHistoryChangedNotification:]):
(-[AppController _insertHistoryEntry:intoMenu:atIndex:]):
(-[AppController _insertItemsForDate:intoMenu:atIndex:withRunningTotal:limit:]):
(-[AppController _insertSubmenu:forDate:atIndex:]):
(-[AppController _takeLocationFromHistoryEntry:]):
(-[AppController _addHistoryToMenu]):
(-[AppController _updateHistoryInMenu]):
Added leading underscores to private methods, updated callers.

(-[AppController _standardBookmarksFilePath]):
(-[AppController _removeBookmarksFromMenu]):
(-[AppController _takeLocationFromBookmark:]):
(-[AppController _insertBookmark:intoMenu:atIndex:]):
(-[AppController _addBookmarksToMenu]):
(-[AppController _updateBookmarksInMenu]):
(-[AppController _receivedBookmarksChangedNotification:]):
(-[AppController standardBookmarks]): New methods.

  • BrowserDocument.h:
  • BrowserDocument.m: (-[BrowserDocument addBookmark:]): New method; accessed from menu item. (-[BrowserDocument validateUserInterfaceItem:]): Enable Add Bookmark menu item only when there's a currentURL.
  • English.lproj/MainMenu.nib: Wire up some bookmark-related stuff.
  • WebBrowser.pbproj/project.pbxproj: Version wars?

Apr 30, 2002:

4:50 PM Changeset in webkit [1087] by sullivan
  • 3 edits
    19 adds in trunk/WebKit

Fixed silly bug Darin noticed by inspection where I was
doing string == @"" instead of [string length] == 0.

  • BrowserWindow.m: (-[BrowserWindow setStatus:]):

Added initial set of files/API and some of the code for
bookmarks support. Nobody calls it yet, but it compiles.
I wanted to get this in before I ran into project file
merge conflicts.

  • Bookmarks.subproj/IFBookmark.h: Added.
  • Bookmarks.subproj/IFBookmark_Private.h: Added.
  • Bookmarks.subproj/IFBookmark.m: Added. (-[IFBookmark dealloc]): (-[IFBookmark title]): (-[IFBookmark _setTitle:]): (-[IFBookmark image]): (-[IFBookmark _setImage:]): (-[IFBookmark isLeaf]): (-[IFBookmark URLString]): (-[IFBookmark _setURLString:]): (-[IFBookmark children]): (-[IFBookmark _insertChild:atIndex:]): (-[IFBookmark parent]): (-[IFBookmark _setParent:]): (-[IFBookmark group]): (-[IFBookmark _setGroup:]):
  • Bookmarks.subproj/IFBookmarkGroup.h: Added.
  • Bookmarks.subproj/IFBookmarkGroup.m: Added. (+[IFBookmarkGroup bookmarkGroupWithFile:]): (-[IFBookmarkGroup initWithFile:]): (-[IFBookmarkGroup dealloc]): (-[IFBookmarkGroup topBookmark]): (-[IFBookmarkGroup insertBookmark:atIndex:ofBookmark:]): (-[IFBookmarkGroup removeBookmark:]): (-[IFBookmarkGroup insertNewBookmarkAtIndex:ofBookmark:title:image:URL:isLeaf:]): (-[IFBookmarkGroup updateBookmark:title:image:URL:]): (-[IFBookmarkGroup file]): (-[IFBookmarkGroup loadBookmarkGroup]): (-[IFBookmarkGroup saveBookmarkGroup]):
  • Bookmarks.subproj/IFBookmarkLeaf.h: Added.
  • Bookmarks.subproj/IFBookmarkLeaf.m: Added. (-[IFBookmarkLeaf dealloc]): (-[IFBookmarkLeaf title]): (-[IFBookmarkLeaf _setTitle:]): (-[IFBookmarkLeaf image]): (-[IFBookmarkLeaf _setImage:]): (-[IFBookmarkLeaf isLeaf]): (-[IFBookmarkLeaf URLString]): (-[IFBookmarkLeaf _setURLString:]):
  • Bookmarks.subproj/IFBookmarkList.h: Added.
  • Bookmarks.subproj/IFBookmarkList.m: Added. (-[IFBookmarkList initWithTitle:image:group:]): (-[IFBookmarkList dealloc]): (-[IFBookmarkList title]): (-[IFBookmarkList _setTitle:]): (-[IFBookmarkList image]): (-[IFBookmarkList _setImage:]): (-[IFBookmarkList isLeaf]): (-[IFBookmarkList children]): (-[IFBookmarkList _insertChild:atIndex:]):
  • WebKit.pbproj/project.pbxproj: Updated for new files.

Apr 29, 2002:

4:34 PM Changeset in webkit [1086]
  • 8 copies in tags/Alexander-2

This commit was manufactured by cvs2svn to create tag 'Alexander-2'.

4:34 PM Changeset in webkit [1085] by rjw
  • 4 edits in trunk/WebKit

Fix to 2915688. I wasn't checking if the main document error had an error, only
the resource errors.

10:06 AM Changeset in webkit [1084] by rjw
  • 3 edits in trunk/WebKit

Restored file, line, and function to log messages.

Note: See TracTimeline for information about the timeline view.