Timeline
Mar 15, 2002:
- 5:00 PM Changeset in webkit [756] by
-
- 10 edits in trunk/WebCore
iFixed crasher initializing items in popup button.
Increased fragment cache initial size.
- 4:51 PM Changeset in webkit [755] by
-
- 2 edits in trunk/WebKit/Plugins.subproj
Made scrolling a little nicer by sending an updateEvent before NPP_SetWindow instead of after
- 3:59 PM Changeset in webkit [754] by
-
- 5 edits in trunk/WebKit
Impose default-based limit (1000 by default) on number of history items
saved/loaded. Also instrumented timing for saving/loading history.
- History.subproj/IFWebHistoryPrivate.m: (+[IFWebHistoryPrivate initialize]): register default for WebKitHistoryItemLimit.
(-[IFWebHistoryPrivate arrayRepresentation]): respect limit
(-[IFWebHistoryPrivate loadHistory]): respect limit, time the load.
(-[IFWebHistoryPrivate saveHistory]): time the save.
- WebKit.pbproj/project.pbxproj: version wars
- Debug/DebugUtilities.m: (-[IFWebHistory populateHistoryWithTestData:]): Changed number of items generated by Populate History menu item to 1000.
- 3:08 PM Changeset in webkit [753] by
-
- 7 edits in trunk/WebCore
iMore string usage optimizations. Got another 10% or so.
- 2:17 PM Changeset in webkit [752] by
-
- 14 edits in trunk/WebKit
Fixed bug where history entry images weren't showing up, except by historical
accident in some cases.
Made IFWebHistory no longer be a singleton class; made the file location
be passed in at init time.
- History.subproj/IFURIEntry.m: (-[IFURIEntry image]): Get the default image a way that works with frameworks; only get the default image once.
- History.subproj/IFWebHistory.h:
- History.subproj/IFWebHistory.m: (+[IFWebHistory webHistoryWithFile:]): New convenience constructor that returns a new IFWebHistory object with a particular disk file. (-[IFWebHistory initWithFile:]): New init method for specifying a disk file. (-[IFWebHistory file]): New accessor for file path. (-[IFWebHistory loadHistory]), (-[IFWebHistory saveHistory]): Use file accessor. Also removed the methods that were computing a file path to use.
- History.subproj/IFWebHistoryPrivate.h:
- History.subproj/IFWebHistoryPrivate.m: (-[IFWebHistoryPrivate initWithFile:]), (-[IFWebHistoryPrivate dealloc]), (-[IFWebHistoryPrivate file]), (-[IFWebHistoryPrivate loadHistory]), (-[IFWebHistoryPrivate saveHistory]): Guts of implementation for file-manipulation stuff.
- Resources/url_icon.tiff: ran tiffUtil to premultiply the alpha channel. This was spewing error messages that I didn't notice before because they only happen on Puma and I was on Jaguar.
- WebKit.pbproj/project.pbxproj: not sure what change I made, maybe version wars.
Made app's IFWebHistory object come from AppController rather than using
the now-obsolete sharedWebHistory; made Populate History Debug item create
a large number of items so I can test the performance of loading them; added
Erase All History item to Debug menu for convenience.
- AppController.h:
- AppController.m: (GetRefPath), (FindFolderPath), (-[AppController _computeHistoryFilePath]): New methods, moved from IFWebHistory, to determine the file path for the History file.
(-[AppController webHistory]): new method to get at app-wide IFWebHistory.
(-[AppController awakeFromNib]), (-[AppController dealloc]),
(-[AppController applicationWillTerminate:]),
(-[AppController insertItemsForDate:intoMenu:atIndex:withRunningTotal:limit:]),
(-[AppController updateHistoryInMenu]): Updated to use [AppController webHistory]
instead of [IFWebHistory sharedWebHistory]
- BrowserDocument.m: (-[BrowserDocument addHistoryEntryForCurrentPage]): Updated to use [AppController webHistory] instead of [IFWebHistory sharedWebHistory]
- Debug/DebugUtilities.m: (+[DebugUtilities createDebugMenu]): Added Erase All History and separator. (-[IFWebHistory populateHistoryWithTestData:]): Changed approach. It used to read a few valid URLs from a disk file; now it creates a lot of bogus ones.
- Debug/FakeHistory.plist: Removed this list now that Populate History computes items from scratch.
- GlobalHistory.m: (+[GlobalHistory sharedGlobalHistory]), (-[GlobalHistory webHistory]), (-[GlobalHistory init]), (-[GlobalHistory outlineView:child:ofItem:]), (-[GlobalHistory outlineView:numberOfChildrenOfItem:]), (-[GlobalHistory receivedEntriesChangedNotification:]), (-[GlobalHistory removeSelectedItems:]), (-[GlobalHistory removeAll:]): Updated to use AppController's webHistory instead of [IFWebHistory sharedWebHistory]
- WebBrowser.pbproj/project.pbxproj: updated for removed file
- 11:09 AM Changeset in webkit [751] by
-
- 2 edits in trunk/WebCore
Oops again.
- 11:08 AM Changeset in webkit [750] by
-
- 5 edits in trunk/WebCore
- src/kwq/KWQFontMetrics.mm: (QFontMetrics::descent): Oops, removed a - sign that I should have left in there.
- 10:30 AM Changeset in webkit [749] by
-
- 7 edits in trunk/WebCore
Some more optimizations. Carves another 6% or so off of NSView.html.
- src/kwq/KWQChar.mm: (QChar::QChar): Handle characters > 0x7F correctly. (QChar::cell): Remove unnecessary & operation. (QChar::row): Remove unnecessary & operation. (QChar::latin1): Do a simpler check rather than calling row(). (QChar::operator char): Do the same work as latin1 inline. (operator==) (operator!=), (operator>=), (operator>), (operator<=), (operator<): Handle characters > 0x7F correctly.
- src/kwq/KWQFontMetrics.mm: (QFontMetrics::ascent), (QFontMetrics::descent): Cache the ascent and descent rather than computing it each time we are called.
- 7:49 AM Changeset in webkit [748] by
-
- 10 edits in trunk/WebCore
Optimizations for creating empty QFont objects, measuring certain single
characters, and copying QFontMetrics objects. Makes loading NSView.html about
18% faster.
- src/kwq/qt/qfontmetrics.h: Use a ref-counted pointer so QFontMetrics objects for the same QFont can share data.
- src/kwq/KWQFont.mm: (loadDefaultFont): New, used to load the default font used for default-initialized QFont objects. (QFont::_initializeWithFont): Don't recompute theh family name, point size, or traits. (QFont::setFamily), (QFont::setPixelSizeFloat), (QFont::setWeight), (QFont::setItalic),: autorelease the font, as we do in the destructor, since someone could still be using the result of getFont. (QFont::operator==): Add a comment about a problem with this function.
- src/kwq/KWQFontMetrics.mm: (QFontMetrics::QFontMetrics): Add a refCount, and a cached width for space and lower-case "x", the two single characters that are often measured. (QFontMetrics::~QFontMetrics): Simplify. (QFontMetrics::operator=): Just copy the underlying data pointer rather than making our own KWQLayoutInfo object. (QFontMetrics::baselineOffset): Make const. (QFontMetrics::width): Add the caching for space and "x".
- 5:57 AM Changeset in webkit [747] by
-
- 12 edits in trunk/WebCore
Optimizations that remove unnecessary cfstring allocations of local scope
strings. QString::gstring_toQString and QString::gstring_toCFString were
added to simplify the reuse of a static CFString as the backing store for
local QStrings. Hit the top two problem areas. Many more gains to be had
by using this technique.
Mar 14, 2002:
- 7:46 PM Changeset in webkit [746] by
-
- 14 edits in trunk/WebCore
Fixed another problem in QString::find().
Added dangerous but fast string allocation optimization to render_text.cpp.
- 7:20 PM Changeset in webkit [745] by
-
- 11 edits8 adds10 deletes in branches/LABYRINTH_KDE_3_MERGE
Get kjs to compile and link by adding mssing files, setting up
autogenerated files to autogenerate, and making a handful of minor
tweaks. The test program passes. Yay!
- src/kdelibs/kjs/Makefile.am:
- src/kdelibs/kjs/create_hash_table:
- src/kdelibs/kjs/global_object.cpp:
- src/kdelibs/kjs/grammar.y:
- src/kdelibs/kjs/interpreter.h:
- src/kdelibs/kjs/keywords.table:
- src/kdelibs/kjs/kjs.cpp:
- src/kdelibs/kjs/kjs.h:
- src/kdelibs/kjs/lexer.lut.h:
- src/kdelibs/kjs/math_object.lut.h:
- src/kdelibs/kjs/ustring.h:
- src/kdelibs/kjs/value.h:
- src/kdelibs/kjs/.cvsignore:
- 5:16 PM Changeset in webkit [744] by
-
- 5 edits in trunk/WebCore
Fixed optimized find() implementation. I had the sense of caseSensitive inverted.
- 5:04 PM Changeset in webkit [743] by
-
- 6 edits in branches/LABYRINTH_KDE_3_MERGE/WebCore
Hand-merge KDE3 beta 2 changes into this frankenstein file.
- src/kwq/KWQKHTMLPart.mm: (-[KHTMLPartLoadClient setDataSource:]), (WCSetIFWebDataSourceMakeFunc), (WCSetIFErrorMakeFunc), (recursive), (encodingFromContentType), (splitUrlTarget), (KHTMLPart::KHTMLPart), (KHTMLPart::init), (KHTMLPart::~KHTMLPart), (KHTMLPart::browserExtension), (KHTMLPart::view), (KHTMLPart::setMetaRefreshEnabled), (KHTMLPart::jScript), (KHTMLPart::executeScript), (KHTMLPart::executeScheduledScript), (KHTMLPart::docImpl), (KHTMLPart::xmlDocImpl), (KHTMLPart::slotData), (KHTMLPart::begin), (KHTMLPart::write), (KHTMLPart::end), (KHTMLPart::checkCompleted), (KHTMLPart::settings), (KHTMLPart::completeURL), (KHTMLPart::scheduleRedirection), (KHTMLPart::setEncoding), (KHTMLPart::encoding), (KHTMLPart::gotoAnchor), (KHTMLPart::setFontSizes), (KHTMLPart::fontSizes), (KHTMLPart::onlyLocalReferences), (KHTMLPart::setOnlyLocalReferences), (KHTMLPart::findTextBegin), (KHTMLPart::findTextNext), (KHTMLPart::selectedText), (KHTMLPart::hasSelection), (KHTMLPart::selection), (KHTMLPart::setSelection), (KHTMLPart::overURL), (KHTMLPart::urlSelected), (KHTMLPart::requestFrame), (KHTMLPart::requestFrameName), (KHTMLPart::requestObject), (KHTMLPart::submitForm), (KHTMLPart::findFrame), (KHTMLPart::frameExists), (KHTMLPart::parentPart), (KHTMLPart::setJSStatusBarText), (KHTMLPart::setJSDefaultStatusBarText), (KHTMLPart::jsStatusBarText), (KHTMLPart::jsDefaultStatusBarText), (KHTMLPart::frames), (KHTMLPart::customEvent), (KHTMLPart::khtmlMousePressEvent):
- 4:17 PM Changeset in webkit [742] by
-
- 2 edits in trunk/WebCore
Fixed compile error.:wq
- 4:02 PM Changeset in webkit [741] by
-
- 11 edits in trunk/WebCore
Attempted implementation of space optimizations. Disabled for now.
- 2:36 PM Changeset in webkit [740] by
-
- 4 edits in trunk/WebKit
Made history store its data in ~/Library/Application Support/<app name>/History.plist
- History.subproj/IFWebHistoryPrivate.m: (GetRefPath), (FindFolderPath): Functions copied from NSSavePanel.m for using FindFolder in a POSIX sort of way. Ken plans to put some version of this in IFNSFileManagerExtensions eventually, which I'll switch to later. (-[IFWebHistoryPrivate historyFilePath]): Construct the path using FindFolderPath and the file name. (-[IFWebHistoryPrivate loadHistory]), (-[IFWebHistoryPrivate saveHistory]): failure case debug messages are now more specific.
- 12:53 PM Changeset in webkit [739] by
-
- 1 edit in trunk/WebKit/Misc.subproj/WebFileDatabase.m
2002-03-14 Kenneth Kocienda <kocienda@apple.com>
Fix for this bug:
Radar 2877924 ("/Users is not a directory" warning when /Users is a link to a directory)
In addition, the URL file database is now much more "optimistic" about creating directories and files.
The result should be a whole lot less chatter on fs_usage.
- Database.subproj/IFURLFileDatabase.m: (-[IFURLFileDatabase setObject:forKey:]), (-[IFURLFileDatabase open]):
- Misc.subproj/IFNSFileManagerExtensions.h:
- Misc.subproj/IFNSFileManagerExtensions.m: (-[NSFileManager createFileAtPathWithIntermediateDirectories:contents:attributes:directoryAttribut es:]), (-[NSFileManager createIntermediateDirectoriesForPath:attributes:]), (-[NSFileManager fileExistsAtPath:isDirectory:traverseLink:]):
- WebFoundation.pbproj/project.pbxproj:
- 12:30 PM Changeset in webkit [738] by
-
- 11 edits in trunk/WebCore
Implemented a progressively cache fragment.
Mar 13, 2002:
- 7:09 PM Changeset in webkit [737] by
-
- 10 edits in trunk/WebCore
Updated debugging code. Disabled optimized QString::find.
- 6:07 PM Changeset in webkit [736] by
-
- 6 edits in trunk/WebKit
Added support to stop plugins in removeFromSuperview.
- 6:03 PM Changeset in webkit [735] by
-
- 3 edits in trunk/WebCore
Removed fprintfs.
- 5:39 PM Changeset in webkit [734] by
-
- 4 edits in trunk/WebKit/Plugins.subproj
- Added support for the OpenURL AppleScript command
- Added stubs for ShowFile and OpenBookmark AppleScript commands
- Added a stub for "start" in IFPluginView
- Made IFPluginView observe NSWindowWillCloseNotification
- 5:30 PM Changeset in webkit [733] by
-
- 7 edits2 adds in branches/LABYRINTH_KDE_3_MERGE/WebCore
Merge KDE3 beta 2 changes into this frankenstein file.
- src/kwq/KWQKloader.mm: (CachedCSSStyleSheet::CachedCSSStyleSheet), (CachedCSSStyleSheet::ref), (CachedCSSStyleSheet::data), (CachedCSSStyleSheet::checkNotify), (CachedCSSStyleSheet::error), (CachedScript::CachedScript), (CachedScript::ref), (CachedScript::data), (CachedScript::checkNotify), (CachedScript::error), (CachedImage::CachedImage), (CachedImage::ref), (CachedImage::tiled_pixmap), (CachedImage::pixmap_size), (CachedImage::do_notify), (CachedImage::movieStatus), (CachedImage::movieResize), (CachedImage::setShowAnimations), (CachedImage::deleteMovie), (CachedImage::data), (Request::Request), (DocLoader::DocLoader), (DocLoader::requestImage), (DocLoader::requestStyleSheet), (DocLoader::requestScript), (DocLoader::setAutoloadImages), (DocLoader::setShowAnimations), (Loader::Loader), (Loader::~Loader), (Loader::load), (Loader::servePendingRequests), (Loader::slotFinished), (Loader::slotData), (Loader::numRequests), (Loader::cancelRequests), (Cache::init), (Cache::requestImage), (Cache::requestStyleSheet), (Cache::preloadStyleSheet), (Cache::requestScript), (Cache::preloadScript), (Cache::flush):
- 4:30 PM Changeset in webkit [732] by
-
- 5 edits in trunk/WebKit
Fixed open window w/ no open windows crasher.
- 3:49 PM Changeset in webkit [731] by
-
- 11 edits in trunk/WebCore
Added font cache.
- 10:34 AM Changeset in webkit [730] by
-
- 11 edits in trunk/WebCore
Re-worked fragment cache to minimize memory usage.
- 9:27 AM Changeset in webkit [729] by
-
- 10 edits in trunk/WebCore
2002-03-13 Kenneth Kocienda <kocienda@apple.com>
Labyrinth:
Rolled back change in never-expires-test since my change to WFTool got hammered
by cvs/applecvs last week and I can't yet take advantage of the new options
processing code that should be there, but isn't. Arrrrgghh!
- Tests/WebFoundation-CacheLoader/never-expires-test:
Updated for new didRedirectToURL callback. This is a partial fix for this bug:
Radar 2879234 (Redirected URLs not used for subsequent GETs)
- Tests/WebFoundationC/ifurlhandlec-test.c: (ResourceDidRedirectToURL), (run):
- Tools/wftool/WFTool.m: (-[WFTool IFURLHandle:didRedirectToURL:]):
WebCore:
Updated for new didRedirectToURL callback. This is a partial fix for this bug:
Radar 2879234 (Redirected URLs not used for subsequent GETs)
- src/kwq/KWQKHTMLPart.mm: (-[KHTMLPartLoadClient IFURLHandle:didRedirectToURL:]):
- src/kwq/KWQKloader.mm: (-[URLLoadClient IFURLHandle:didRedirectToURL:]):
WebFoundation:
Updated for new didRedirectToURL callback. This is a partial fix for this bug:
Radar 2879234 (Redirected URLs not used for subsequent GETs)
- CacheLoader.subproj/IFHTTPURLHandle.h:
- CacheLoader.subproj/IFHTTPURLProtocolHandler.h:
- CacheLoader.subproj/IFHTTPURLProtocolHandler.m: (-[IFHTTPURLProtocolHandler initWithURLLoad:]), (-[IFHTTPURLProtocolHandler dealloc]), (-[IFHTTPURLProtocolHandler createHTTPRequest]), (-[IFHTTPURLProtocolHandler performHTTPHeaderRead:]), (-[IFHTTPURLProtocolHandler setRedirectedURL:]), (-[IFHTTPURLProtocolHandler setResponseHeaders:]), (-[IFHTTPURLProtocolHandler shouldCacheResourceData]):
- CacheLoader.subproj/IFURLCacheLoaderConstantsPrivate.h:
- CacheLoader.subproj/IFURLHandle.h:
- CacheLoader.subproj/IFURLHandle.m: (_sendDidRedirectToURLMessages), (-[IFURLHandleInstanceVariables initWithHandle:]), (-[IFURLHandleInstanceVariables prepareCallbacks]), (-[IFURLHandleInstanceVariables dealloc]), (-[IFURLHandleSynchronousClient IFURLHandle:didRedirectToURL:]), (-[IFURLHandle finalURL]), (-[IFURLHandle redirectedURL]), (-[IFURLHandle didRedirectToURL:]), (-[IFURLHandle setFinalURL:]), (-[IFURLHandle notifyClientsBackgroundLoadFailed]), (-[IFURLHandle notifyClientsURLRedirected]):
- CacheLoader.subproj/IFURLHandleC.h:
- CacheLoader.subproj/IFURLHandleC.m: (IFURLHandleDidRedirectToURL), (IFURLHandleGetFinalURL), (IFURLHandleGetRedirectedURL):
- CacheLoader.subproj/IFURLHandleCallBackClient.m: (-[IFURLHandleCallBackClient IFURLHandle:didRedirectToURL:]):
- CacheLoader.subproj/IFURLHandleClient.h:
- CacheLoader.subproj/IFURLHandlePrivate.h:
- 1:48 AM Changeset in webkit [728] by
-
- 9 edits12 deletes in branches/LABYRINTH_KDE_3_MERGE/WebCore
Top level:
- Tools/wftool/Makefile: Remove this autogenerated file.
Web
Remove files from build that are no longer in KDE 3 beta 2:
- src/kdelibs/khtml/ecma/Makefile.am:
- src/kdelibs/khtml/ecma/kjs_text.cpp:
- src/kdelibs/khtml/ecma/kjs_text.h:
- src/kdelibs/khtml/misc/Makefile.am:
- src/kdelibs/khtml/misc/font.cpp:
- src/kdelibs/khtml/misc/font.h:
- src/kdelibs/khtml/rendering/Makefile.am:
- src/kdelibs/khtml/rendering/render_hr.cpp:
- src/kdelibs/khtml/rendering/render_hr.h:
Mar 12, 2002:
- 7:07 PM Changeset in webkit [727] by
-
- 15 edits2 adds in trunk/WebKit
Added support for persistent history. Following in the grand footsteps of
Ken, it currently stores data in /tmp/alexander.history
- Resources/url_icon.tiff: default IFURIEntry image, moved here from WebBrowser.
- WebKit.pbproj/project.pbxproj: Updated to add image file.
- History.subproj/IFURIEntry.m: (-[IFURIEntry image]): If there's no explicit image, return the default one.
(-[IFURIEntry dictionaryRepresentation]): return a representation suitable
for saving to an xml file.
(-[IFURIEntry initFromDictionaryRepresentation:]): init given the representation
returned from dictionaryRepresentation.
- History.subproj/IFWebHistory.h:
- History.subproj/IFWebHistory.m: (-[IFWebHistory saveHistory]): Added saveHistory call.
- History.subproj/IFWebHistoryPrivate.h: added saveHistory call.
- History.subproj/IFWebHistoryPrivate.m: (-[IFWebHistoryPrivate arrayRepresentation]): return a representation suitable for saving to an xml file. (-[IFWebHistoryPrivate historyFilePath]): return location of history on disk. (-[IFWebHistoryPrivate loadHistory]): read history from disk. (-[IFWebHistoryPrivate saveHistory]): write history to disk.
(-[IFWebHistoryPrivate init]): call loadHistory
(-[IFWebHistoryPrivate removeEntryForURLString:]): changed NSLog to WEBKITDEBUG
Save history before quitting, and associated tweaks.
- AppController.m: (-[AppController awakeFromNib]): register as application delegate (-[AppController applicationWillTerminate:]): save history before app terminates
- BrowserDocument.m: (-[BrowserDocument addHistoryEntryForCurrentPage]): Don't set an image here; IFURIEntry now handles the image (at least for the default case)
- Resources/Images/url_icon.tiff: Moved this image to WebKit.
- WebBrowser.pbproj/project.pbxproj: Updated for removed file.
- 6:24 PM Changeset in webkit [726] by
-
- 5 edits in trunk/WebCore
Optimized implementation of compareToLatin1() and find() to not allocate
additional CFString.
Mar 11, 2002:
- 2:00 PM Changeset in webkit [725] by
-
- 20 edits in trunk
i Fixed call back ordering problems when an error occurs.
More twiddling with scroll bars.
Re-implemented QPainter::drawTiledPixmap to use core graphics patterns. Currently this depends
on SPI. The performance boost is huge osx.macnn.com draws 40x faster now.