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

Timeline



Mar 29, 2002:

4:04 PM Changeset in webkit [900] by darin
  • 5 edits in trunk/WebCore
  • src/kdelibs/khtml/rendering/render_image.cpp: (RenderImage::updateFromElement): Make images with no src, or src="" be empty rather than being the page itself loaded as an image.
3:05 PM Changeset in webkit [899] by rjw
  • 16 edits in trunk

More fixes for cancelling. Fixed some code that appears to have been
mis-merged after the KDE 3 beta 2 landing.

Fixes for cancelling. Still need to think about a better
solution than putting data sources in stopped mode.

Temporary bandaid to get past extra release crasher.

11:44 AM Changeset in webkit [898] by darin
  • 7 edits in trunk/WebCore
  • src/kwq/KWQKloader.mm: (Cache::getStatistics), (Cache::flushAll): Fix both of these to work when cache is not yet allocated.
11:35 AM Changeset in webkit [897] by rjw
  • 21 edits in trunk

Hooked up redirect. Now we see many more ads. :(
Fixed cancel of main handle for document.
Moved stop before start from frame to data source.

Hooked up redirect.

10:43 AM Changeset in webkit [896]
  • 44 copies
    12 deletes in tags/KDE_3_0_RC_3

This commit was manufactured by cvs2svn to create tag 'KDE_3_0_RC_3'.

10:43 AM Changeset in webkit [895] by darin
  • 2 edits in branches/kde/WebCore

rc 3 version

10:42 AM Changeset in webkit [894]
  • 48 copies
    4 deletes in tags/KDE_3_0_BETA_2

This commit was manufactured by cvs2svn to create tag
'KDE_3_0_BETA_2'.

10:42 AM Changeset in webkit [893] by darin
  • 2 edits in branches/kde/WebCore

beta 2 version

10:36 AM Changeset in webkit [892] by darin
  • 2 edits in branches/kde/WebCore

beta 2 version

10:13 AM Changeset in webkit [891] by rjw
  • 8 edits in trunk/WebKit

Added stopLoading to startLoading to cancel any pending loads before
new loads start. This doesn't work yet because of loader bugs, but will
once those are fixed.

Adding logging for redirects.

9:53 AM Changeset in webkit [890] by kocienda
  • 1 edit in trunk/WebKit/Misc.subproj/WebFileDatabase.m

2002-03-29 Kenneth Kocienda <kocienda@apple.com>

Added exception handling to the code that reads cache files from
disk. This should isolate the application from exiting when
an exception is thrown by NSArchiver in its efforts to unarchive
cache files.

  • Database.subproj/IFURLFileDatabase.m: (-[IFURLFileDatabase objectForKey:]):
9:12 AM Changeset in webkit [889] by darin
  • 4 edits in trunk/WebKit
  • WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFramePrivate dealloc]): Deref the renderFramePart, and autorelease the provisionalDataSource. (-[IFWebFramePrivate setRenderFramePart:]): Ref renderFramePart while we hold it.
8:51 AM Changeset in webkit [888] by kocienda
  • 5 edits in trunk/WebCore

2002-03-29 Kenneth Kocienda <kocienda@apple.com>

Workaround for Radar 2890624 (Double free of image data in QPixmap)
This hack is necessary for the app to run on some Jaguar system. Otherwise
images that the GIF library cannot decode will cause a crash.

  • src/kwq/KWQPixmap.mm: (QPixmap::QPixmap):

Mar 28, 2002:

9:43 PM Changeset in webkit [887] by rjw
  • 9 edits in trunk

Fixed basic font horkage caused by removal of KDE font matching code. We
now work correctly for the basic font families.

Increased size default for initial layout.

7:29 PM Changeset in webkit [886] by rjw
  • 6 edits in trunk/WebKit

Fixed big leak of any document that had a frame or iframe.

5:44 PM Changeset in webkit [885] by rjw
  • 11 edits in trunk/WebKit

Modified the initial layout policy.

5:13 PM Changeset in webkit [884] by darin
  • 7 edits in trunk/WebCore
  • src/kwq/KWQKloader.mm: (Cache::requestImage), (Cache::requestStyleSheet), (Cache::requestScript): Set flags so the objects get freed when they are done in cases where the cache is disabled.
5:10 PM Changeset in webkit [883] by mjs
  • 4 edits in trunk/JavaScriptCore

Top level:

Fix the regression tests:

  • Tests/WebFoundation-Misc/ifnsthreadextensions-test.chk, Tests/WebFoundation-Misc/ifnsthreadextensions-test.m: (-[ThreadTest run:], main): Don't
  • Tests/harness.c: (runtest): Make leaks count as failures again.
  • Tests/libiftest/IFCheckLeaks.c: (IFCheckLeaksAtExitHandler): Exclude the leak in +[NSUserDefaults standardDefaults]
  • Tests/qt/qlist-test.chk, Tests/qt/qlist-test.cpp: (main): Fix a leak in this test program.
  • Tests/test.list: Fix path to JavaScript test.

JavaScriptCore:

  • kjs/kjs-test.chk: Update output for new test results.
4:50 PM Changeset in webkit [882] by mjs
  • 6 edits in trunk/WebCore

Fix Radar 2890340 (JavaScript doesn't work)

  • src/kwq/KWQKHTMLPart.mm: (KHTMLPart::executeScript): Implement the other overloaded version of this function. This is needed for JavaScript to work.
3:18 PM Changeset in webkit [881] by darin
  • 3 edits
    4 adds in trunk/WebKit

New private interface for getting at the cache.

  • Misc.subproj/IFCache.h: New.
  • Misc.subproj/IFCache.mm: New.
  • WebKit.pbproj/project.pbxproj: Added IFCache files.
3:17 PM Changeset in webkit [880] by darin
  • 9 edits in trunk/WebCore
  • src/kdelibs/khtml/misc/loader.h: Added API for looking at the contents of the cache, flushing the cache, and disabling the cache.
  • src/kwq/KWQKloader.mm: (Cache::requestImage): Don't cache if disabled. (Cache::requestStyleSheet): Don't cache if disabled. (Cache::requestScript): Don't cache if disabled. (Cache::flush): Simplify ifdefs. (Cache::getStatistics), (Cache::flushAll), (Cache::setCacheDisabled): New.
11:12 AM Changeset in webkit [879] by darin
  • 3 edits in trunk/WebKit
  • WebView.subproj/IFBaseWebController.mm: (-[IFBaseWebController locationChangeDone:forFrame:]): Remove log of errors loading now that we have the activity viewer.
11:03 AM Changeset in webkit [878] by rjw
  • 15 edits in trunk

Modified the initial layout policy. We now try to layout as close
as possible to WebKitInitialTimedLayoutDelay seconds after the
load was started, not after the provisional-to-committed transition.
If the time to the provisional-to-committed transition exceeds
WebKitInitialTimedLayoutDelay we layout immediately.

Fixed crasher. Removed unnecessary cleanup to widget that was called after the
widget was already disposed.

9:36 AM Changeset in webkit [877] by sullivan
  • 4 edits in trunk/WebKit
  • History.subproj/IFWebHistoryPrivate.m: (-[IFWebHistoryPrivate _loadHistoryGuts:]): Made this more robust about bad data from the disk file. I don't know how bad data could get into the disk file in normal use, but it seems to have happened to Richard.
  • AppController.m: (-[AppController menuTitleForURL:withTitle:]), (-[AppController _menuTitleForURIEntry:]), (-[AppController insertHistoryEntry:intoMenu:atIndex:]): Added asserts in various places to catch bad callers earlier.

Mar 27, 2002:

7:36 PM Changeset in webkit [876] by rjw
  • 2 adds in trunk/WebKit/WebView.subproj

Private preferences.

7:35 PM Changeset in webkit [875] by rjw
  • 14 edits in trunk

Added initial-layout-after-delay-if-not-layed-out-yet feature.

Turned on live layout when font size or type is changed.

Removed problematic code. Not sure why it was necessary. For now
it prevents crasher.

5:25 PM Changeset in webkit [874] by darin
  • 5 edits in trunk/WebCore
  • src/kwq/KWQListImpl.mm: (KWQListImpl::insert): Fix disastrous name collision which could lead to infinite loops.
5:11 PM Changeset in webkit [873] by darin
  • 5 edits in trunk/WebCore
src/kwq/KWQCString.mm: (QCString::isEmpty): The
should be &&.
4:55 PM Changeset in webkit [872] by darin
  • 7 edits in trunk/WebCore
  • src/kdelibs/khtml/css/css_valueimpl.cpp: (FontFamilyValueImpl::FontFamilyValueImpl): Disable misguided font matching code in khtml.
  • src/kwq/KWQFont.mm: (QFont::getFont): Change the fallback so that it uses the default font family, but the other settings as requested, rather than using the default font.
1:54 PM Changeset in webkit [871] by kocienda
  • 12 edits in trunk

2002-03-27 Kenneth Kocienda <kocienda@apple.com>

Changed loadProgress->bytesSoFar to use [sender contentLengthReceived]
instead of the size of the chunk that was delivered in the callback.
This makes the activity window data more correct than it was.

WebCore:

  • src/kwq/KWQKloader.mm: (-[URLLoadClient IFURLHandle:resourceDataDidBecomeAvailable:]):

WebKit:

  • WebView.subproj/IFMainURLHandleClient.mm: (-[IFMainURLHandleClient IFURLHandle:resourceDataDidBecomeAvailable:]):
1:52 PM Changeset in webkit [870] by cblu
  • 6 edits in trunk/WebKit

2002-03-27 Chris Blumenberg <cblu@apple.com>

Now setting the modifier bit for the activate and cursor events.

  • Plugins.subproj/IFPluginView.h:
  • Plugins.subproj/IFPluginView.mm: (-[IFPluginView drawRect:]), (-[IFPluginView windowBecameKey:]), (-[IFPluginView windowResignedKey:]), (-[IFPluginView mouseEntered:]), (-[IFPluginView mouseExited:]):
8:23 AM Changeset in webkit [869]
  • 19 copies in tags/ALEXANDER_0_2_PRE_6

This commit was manufactured by cvs2svn to create tag
'ALEXANDER_0_2_PRE_6'.

8:23 AM Changeset in webkit [868] by darin
  • 4 edits in trunk/WebKit
  • NSStringBrowserAdditions.m: (+[NSString urlStringWithUserTypedString:]): Add ".com" to the end if there's no ".". Add "file:" to the beginning if the thing begins with a "/".
  • Preferences.subproj/TextPreferences.m: (-[TextPreferences initializeFromDefaults]): Switch back to serif font, since using Luicida Grande was exposing some font bugs.
  • WebView.subproj/IFPreferences.mm: (+[IFPreferences load]): Switch back to serif font, since using Luicida Grande was exposing some font bugs.
7:59 AM Changeset in webkit [867] by darin
  • 5 edits in trunk/WebCore
  • src/kdelibs/khtml/ecma/Makefile.am: Get the create_hash_table tool from JavaScriptCore. We might need a better way to handle this later.

Mar 26, 2002:

8:19 PM Changeset in webkit [866] by mjs
  • 10 edits
    7 adds
    1 delete in trunk

top level:

  • configure.in: Remove WebCore/src/kjs and add JavaScriptCore to build.

JavaScriptCore:

Set up kjs to build by itself into libJavaScriptCore.dylib.

  • .cvsignore: Added.
  • Makefile.am: Added.
  • dummy.cpp: Added.
  • kjs/.cvsignore: Added.

WebCore:

Removed kjs from here - it's now been moved to JavaScriptCore at
the top level.

  • src/Makefile.am: Don't link libkjs.o.
  • src/kdelibs/Makefile.am: Remove kjs from subdirs.
  • src/kdelibs/kjs/.cvsignore: Removed.
  • src/kdelibs/kjs/Makefile.am: Removed.
  • src/kdelibs/kjs/array_object.cpp: Removed.
  • src/kdelibs/kjs/array_object.h: Removed.
  • src/kdelibs/kjs/bool_object.cpp: Removed.
  • src/kdelibs/kjs/bool_object.h: Removed.
  • src/kdelibs/kjs/collector.cpp: Removed.
  • src/kdelibs/kjs/collector.h: Removed.
  • src/kdelibs/kjs/create_hash_table: Removed.
  • src/kdelibs/kjs/date_object.cpp: Removed.
  • src/kdelibs/kjs/date_object.h: Removed.
  • src/kdelibs/kjs/debugger.cpp: Removed.
  • src/kdelibs/kjs/debugger.h: Removed.
  • src/kdelibs/kjs/error_object.cpp: Removed.
  • src/kdelibs/kjs/error_object.h: Removed.
  • src/kdelibs/kjs/function.cpp: Removed.
  • src/kdelibs/kjs/function.h: Removed.
  • src/kdelibs/kjs/function_object.cpp: Removed.
  • src/kdelibs/kjs/function_object.h: Removed.
  • src/kdelibs/kjs/grammar.y: Removed.
  • src/kdelibs/kjs/internal.cpp: Removed.
  • src/kdelibs/kjs/internal.h: Removed.
  • src/kdelibs/kjs/interpreter.cpp: Removed.
  • src/kdelibs/kjs/interpreter.h: Removed.
  • src/kdelibs/kjs/keywords.table: Removed.
  • src/kdelibs/kjs/kjs-test: Removed.
  • src/kdelibs/kjs/kjs-test.chk: Removed.
  • src/kdelibs/kjs/lexer.cpp: Removed.
  • src/kdelibs/kjs/lexer.h: Removed.
  • src/kdelibs/kjs/lookup.cpp: Removed.
  • src/kdelibs/kjs/lookup.h: Removed.
  • src/kdelibs/kjs/math_object.cpp: Removed.
  • src/kdelibs/kjs/math_object.h: Removed.
  • src/kdelibs/kjs/nodes.cpp: Removed.
  • src/kdelibs/kjs/nodes.h: Removed.
  • src/kdelibs/kjs/nodes2string.cpp: Removed.
  • src/kdelibs/kjs/number_object.cpp: Removed.
  • src/kdelibs/kjs/number_object.h: Removed.
  • src/kdelibs/kjs/object.cpp: Removed.
  • src/kdelibs/kjs/object.h: Removed.
  • src/kdelibs/kjs/object_object.cpp: Removed.
  • src/kdelibs/kjs/object_object.h: Removed.
  • src/kdelibs/kjs/operations.cpp: Removed.
  • src/kdelibs/kjs/operations.h: Removed.
  • src/kdelibs/kjs/property_map.cpp: Removed.
  • src/kdelibs/kjs/property_map.h: Removed.
  • src/kdelibs/kjs/regexp.cpp: Removed.
  • src/kdelibs/kjs/regexp.h: Removed.
  • src/kdelibs/kjs/regexp_object.cpp: Removed.
  • src/kdelibs/kjs/regexp_object.h: Removed.
  • src/kdelibs/kjs/string_object.cpp: Removed.
  • src/kdelibs/kjs/string_object.h: Removed.
  • src/kdelibs/kjs/test.js: Removed.
  • src/kdelibs/kjs/testkjs.cpp: Removed.
  • src/kdelibs/kjs/types.cpp: Removed.
  • src/kdelibs/kjs/types.h: Removed.
  • src/kdelibs/kjs/ustring.cpp: Removed.
  • src/kdelibs/kjs/ustring.h: Removed.
  • src/kdelibs/kjs/value.cpp: Removed.
  • src/kdelibs/kjs/value.h: Removed.

WebKit:

  • WebKit.pbproj/project.pbxproj: Fixed to build with standalone libJavaScriptCore.dylib.

WebBrowser:

  • WebBrowser.pbproj/project.pbxproj: Include libJavaScriptCore.dylib
4:54 PM Changeset in webkit [865] by mjs
  • 5 edits
    2 adds
    122 deletes in trunk/WebCore

Top level:

Removed all the borrowed Qt code.

  • Makefile.am: Don't bother to reconfigure when ChangeLog changes.
  • acconfig.h: Remove BORROWED #defines.
  • borrowed-classes.txt: Removed.
  • configure.in: Remove setting of unused flags.

WebCore:

Removed all the borrowed Qt code.

  • src/kwq/KWQGlobal.mm: Renamed from qt/_qglobal.cpp to avoid confusion about the borrowedness status of this file.
  • src/kwq/Makefile.am: Removed references to kde and qt subdirectories.
  • src/kwq/kde/.cvsignore: Removed.
  • src/kwq/kde/Makefile.am: Removed.
  • src/kwq/kde/_kurl.cpp: Removed.
  • src/kwq/kde/_kurl.h: Removed.
  • src/kwq/qt/Makefile.am: Removed.
  • src/kwq/qt/_qarray.h: Removed.
  • src/kwq/qt/_qbuffer.cpp: Removed.
  • src/kwq/qt/_qbuffer.h: Removed.
  • src/kwq/qt/_qcollection.cpp: Removed.
  • src/kwq/qt/_qcollection.h: Removed.
  • src/kwq/qt/_qcolor.h: Removed.
  • src/kwq/qt/_qcstring.cpp: Removed.
  • src/kwq/qt/_qcstring.h: Removed.
  • src/kwq/qt/_qdatetime.cpp: Removed.
  • src/kwq/qt/_qdatetime.h: Removed.
  • src/kwq/qt/_qdict.h: Removed.
  • src/kwq/qt/_qdir.cpp: Removed.
  • src/kwq/qt/_qdir.h: Removed.
  • src/kwq/qt/_qdir_unix.cpp: Removed.
  • src/kwq/qt/_qfile.cpp: Removed.
  • src/kwq/qt/_qfile.h: Removed.
  • src/kwq/qt/_qfileinfo.cpp: Removed.
  • src/kwq/qt/_qfileinfo.h: Removed.
  • src/kwq/qt/_qfileinfo_unix.cpp: Removed.
  • src/kwq/qt/_qgarray.cpp: Removed.
  • src/kwq/qt/_qgarray.h: Removed.
  • src/kwq/qt/_qgdict.cpp: Removed.
  • src/kwq/qt/_qgdict.h: Removed.
  • src/kwq/qt/_qglist.cpp: Removed.
  • src/kwq/qt/_qglist.h: Removed.
  • src/kwq/qt/_qglobal.cpp: Removed.
  • src/kwq/qt/_qgvector.cpp: Removed.
  • src/kwq/qt/_qgvector.h: Removed.
  • src/kwq/qt/_qiodevice.cpp: Removed.
  • src/kwq/qt/_qiodevice.h: Removed.
  • src/kwq/qt/_qlist.h: Removed.
  • src/kwq/qt/_qmap.cpp: Removed.
  • src/kwq/qt/_qmap.h: Removed.
  • src/kwq/qt/_qpoint.cpp: Removed.
  • src/kwq/qt/_qpoint.h: Removed.
  • src/kwq/qt/_qptrdict.h: Removed.
  • src/kwq/qt/_qrect.cpp: Removed.
  • src/kwq/qt/_qrect.h: Removed.
  • src/kwq/qt/_qregexp.cpp: Removed.
  • src/kwq/qt/_qregexp.h: Removed.
  • src/kwq/qt/_qregion.cpp: Removed.
  • src/kwq/qt/_qregion.h: Removed.
  • src/kwq/qt/_qshared.h: Removed.
  • src/kwq/qt/_qsize.cpp: Removed.
  • src/kwq/qt/_qsize.h: Removed.
  • src/kwq/qt/_qsortedlist.h: Removed.
  • src/kwq/qt/_qstack.h: Removed.
  • src/kwq/qt/_qstring.cpp: Removed.
  • src/kwq/qt/_qstring.h: Removed.
  • src/kwq/qt/_qstringlist.cpp: Removed.
  • src/kwq/qt/_qstringlist.h: Removed.
  • src/kwq/qt/_qstrlist.h: Removed.
  • src/kwq/qt/_qtextcodec.h: Removed.
  • src/kwq/qt/_qtextstream.h: Removed.
  • src/kwq/qt/_qtl.h: Removed.
  • src/kwq/qt/_qurl.cpp: Removed.
  • src/kwq/qt/_qurl.h: Removed.
  • src/kwq/qt/_qvaluelist.h: Removed.
  • src/kwq/qt/_qvector.h: Removed.
4:18 PM Changeset in webkit [864] by kocienda
  • 9 edits in trunk

2002-03-26 Kenneth Kocienda <kocienda@apple.com>

These changes help the transition to the new build system which unifies
our development build setting with the settings we use to ship
releases.

Labyrinth:

Removed --enable-alexander-test configure option
Added --with-buildstyle option

  • configure.in:

WebFoundation:

  • WebFoundation.pbproj/project.pbxproj:

WebKit:

  • Makefile.am:
  • WebKit.pbproj/kocienda.pbxuser:
  • WebKit.pbproj/project.pbxproj:

WebBrowser:

  • Makefile.am:
  • WebBrowser.pbproj/project.pbxproj:
3:06 PM Changeset in webkit [863] by darin
  • 9 edits in trunk/WebCore
  • src/kwq/KWQKjobclasses.mm: (TransferJobPrivate::TransferJobPrivate): Nil out the handle so we don't autorelease garbage.
  • src/kwq/KWQKloader.mm: (-[URLLoadClient IFURLHandleResourceDidCancelLoading:]), (-[URLLoadClient IFURLHandleResourceDidFinishLoading:data:]), (-[URLLoadClient IFURLHandle:resourceDidFailLoadingWithResult:]): Delete the job instead of just autoreleasing the sender. Fixes a leak.
3:05 PM Changeset in webkit [862] by rjw
  • 10 edits in trunk

i Try to ensure that display needed bits are correctly set.

Fixed leak of decoder. This caused us to leak the entire
document text for every load!

1:40 PM Changeset in webkit [861] by darin
  • 9 edits in trunk/WebCore
  • src/kdelibs/khtml/rendering/render_list.cpp: (RenderListItem::setStyle): Fix a leak (missing delete).
  • src/kwq/KWQMetrics.h:
  • src/kwq/KWQFontMetrics.mm: (-[KWQLayoutInfo drawString:atPoint:withFont:color:]): Don't bother keeping things around that we only need to use once. (-[KWQLayoutInfo _initializeCaches]): Create them here instead. (-[KWQLayoutInfo dealloc]): Don't need to free them here.
1:38 PM Changeset in webkit [860] by mjs
  • 1 delete in trunk/WebCore/testing-cvs-mail

Testing cvs mail.

1:29 PM Changeset in webkit [859] by mjs
  • 1 add in trunk/WebCore/testing-cvs-mail

Testing cvs mail.

1:27 PM Changeset in webkit [858] by mjs
  • 1 delete in trunk/WebCore/testing-cvs-mail

Testing cvs mail.

1:15 PM Changeset in webkit [857] by mjs
  • 1 add in trunk/WebCore/testing-cvs-mail

Testing commit emails.

1:02 PM Changeset in webkit [856] by mjs
  • 1 delete in trunk/WebCore/testing-cvs-mail

Testing cvs mail...

1:00 PM Changeset in webkit [855] by mjs
  • 1 add in trunk/WebCore/testing-cvs-mail

Testing cvs mail...

12:28 PM Changeset in webkit [854] by darin
  • 5 edits in trunk/WebKit
  • Misc.subproj/IFError.m: (+[IFError initialize]): Fix a typo where we said "unvailable".
  • WebView.subproj/IFPreferences.mm: (+[IFPreferences load]): Change the default sans-serif font to "Lucida Grande" to match the OS X system font, and also make that the defalt standard font.
12:20 PM Changeset in webkit [853] by darin
  • 9 edits in trunk/WebCore
  • src/kwq/KWQFontMetrics.mm: (-[KWQLayoutInfo dealloc]): Free the style groups, styles, and glyph vectors.
  • src/kwq/KWQFont.mm: (QFont::getFont): Use default font if we can't find a font from the passed-in family. Before, we were raising an exception and quitting the application.
  • src/kwq/KWQCString.mm: (QCString::isEmpty): Faster version that doesn't call strlen.
11:22 AM Changeset in webkit [852] by kocienda
  • 1 edit in trunk/WebKit/Misc.subproj/WebFileDatabase.m

2002-03-26 Kenneth Kocienda <kocienda@apple.com>

Moved a constant that need not be visible externally into the .m file.

  • CacheLoader.subproj/IFHTTPURLProtocolHandler.h:

Protocol handlers are now given an opportunity to act upon an object that
will be returned from cache. This is so that things like cached HTTP
response headers can be set properly.

I also added some code to check to see if a cached object needs revalidation
as described the HTTP RFC sections on caching. This is not fully implemented
yet, but the support for revalidation is better than it was.

  • CacheLoader.subproj/IFHTTPURLProtocolHandler.m: (-[IFHTTPURLProtocolHandler performHTTPHeaderRead:]), (-[IFHTTPURLProtocolHandler willReturnCacheObject:]), (-[IFHTTPURLProtocolHandler cacheObjectIsValid:]), (-[IFHTTPURLProtocolHandler cacheObjectRequiresRevalidation:]), (-[IFHTTPURLProtocolHandler shouldCacheResourceData]):

Added a version field that will allow the cache to tell when incompatible
changes have been made to the cache format.

  • CacheLoader.subproj/IFURLCacheObject.h:
  • CacheLoader.subproj/IFURLCacheObject.m: (-[IFURLCacheObject initWithCoder:]), (-[IFURLCacheObject encodeWithCoder:]):

Added support for more sophisticated cache checking, using the new protocol
handler methods.

  • CacheLoader.subproj/IFURLLoad.m: (-[IFURLLoad returnCacheObject:]), (+[IFURLLoad IFURLLoadCacheCheckerRun:]):

Cached attributes are now returned properly from memory cached objects.

  • CacheLoader.subproj/IFURLMemoryCache.m:

Changed name of isValidCacheObject: method to willReturnCacheObject:
Added new cacheObjectRequiresRevalidation: method.

These now support improved cache checking and object validation

  • CacheLoader.subproj/IFURLProtocolHandler.h:
  • CacheLoader.subproj/IFURLProtocolHandler.m: (-[IFURLProtocolHandler willReturnCacheObject:]), (-[IFURLProtocolHandler cacheObjectIsValid:]), (-[IFURLProtocolHandler cacheObjectRequiresRevalidation:]):

Added nil check for returned cache object

  • Database.subproj/IFURLFileDatabase.m: (-[IFURLFileDatabase objectForKey:]):
11:22 AM Changeset in webkit [851] by sullivan
  • 3 edits in trunk/WebKit
  • WebKit.pbproj/project.pbxproj: Marked IFProgress.h Public.

Mar 25, 2002:

9:31 PM Changeset in webkit [850] by sullivan
  • 7 edits
    4 adds in trunk/WebKit

Broke IFLoadProgress out into its own file, and added
an init method and getters, without which this class
is useless in Objective-C files (but strangely usable
in Objective-C++ files, see radar 2887253).

  • WebView.subproj/IFWebController.h:
  • WebView.subproj/IFBaseWebController.mm: Took IFLoadProgress declaration and implementation out of here.
  • WebView.subproj/IFLoadProgress.h,
  • WebView.subproj/IFLoadProgress.mm: Moved IFLoadProgress declaration and implementation to here; added -[IFLoadProgress initWithBytesSoFar:totalToLoad:type:] and getters for each field.
  • WebKit.pbproj/project.pbxproj: Updated for new files
6:52 PM Changeset in webkit [849] by rjw
  • 11 edits in trunk

Removed conditional check that prevent layout of iframes. I don't
understand why the check was being done.

Tweaks to force layout of frames and iframes.

5:48 PM Changeset in webkit [848] by darin
  • 7 edits in branches/kde_3_0_rc_3_merge/WebCore

Last bit of making stuff compile and link. Probably will drop the merge now
and take it up again when it's time to merge in KDE 3.0 final.

  • src/kwq/KWQEvent.mm: (QFocusEvent::reason): New.
  • src/kwq/KWQPainter.mm: (QPainter::drawText): New overload.
5:40 PM Changeset in webkit [847] by mjs
  • 10 edits in trunk

WebFoundation:

  • CacheLoader.subproj/IFURLHandle.m (-[IFURLHandle initWithURL:attributes:flags:]): Instantiate the right concrete subclass.

WebCore:

  • src/kwq/KWQKHTMLPart.mm: (KHTMLPart::slotData): Use -[IFURLHandle characterSet] to get the character set, instead of parsing it out of the header by hand.

WebKit:

  • WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSource _startLoading:]): Just create an IFURLHandle, since it now creates the proper concrete subclass automagically.
4:06 PM Changeset in webkit [846] by cblu
  • 10 edits in trunk
  • MIME.subproj/IFMIMEDatabase.m: (+[IFMIMEDatabase sharedMIMEDatabase]), (-[IFMIMEDatabase MIMEHandlerForMIMEType:]), (setMimeHandlers):
  • MIME.subproj/IFMIMEHandler.h:
  • MIME.subproj/IFMIMEHandler.m: (-[IFMIMEHandler initWithMIMEType:handlerType:handlerName:]), (-[IFMIMEHandler MIMEType]), (-[IFMIMEHandler MIMESupertype]), (-[IFMIMEHandler MIMESubtype]), (-[IFMIMEHandler handlerName]), (-[IFMIMEHandler handlerType]), (-[IFMIMEHandler description]):

Initial implementation of the above.

Also recommitted the TestPlugin

3:59 PM Changeset in webkit [845] by rjw
  • 4 edits in trunk/WebKit

Added private API to allow browser to access the DOM tree.
Added support for the "View BOM Tree" menu.

2:18 PM Changeset in webkit [844] by rjw
  • 4 edits in trunk/WebKit

Added support for the "View Render Tree" menu.

i Added private API to allow browser to access the render tree.

12:02 PM Changeset in webkit [843] by kocienda
  • 1 edit in trunk/WebKit/Misc.subproj/WebFileDatabase.m

2002-03-25 Kenneth Kocienda <kocienda@apple.com>

Disk cache now has accessor for path on disk

  • CacheLoader.subproj/IFURLDiskCache.h:
  • CacheLoader.subproj/IFURLDiskCache.m: (-[IFURLDiskCache path]):

Fixed bug introduced in lazy cache code. This simple typo quite effectively
prevented data from being written out to disk.

  • Database.subproj/IFURLFileDatabase.m: (-[IFURLFileDatabase setObject:forKey:]), (-[IFURLFileDatabase objectForKey:]), (-[IFURLFileDatabase performSetObject:forKey:]):
  • WebFoundation.pbproj/project.pbxproj:
10:54 AM Changeset in webkit [842] by darin
  • 4 edits in branches/kde_3_0_rc_3_merge/WebKit
  • WebView.subproj/IFPreferences.mm: (+[IFPreferences load]): Add WebKitMediumFontSizePreferenceKey.
10:53 AM Changeset in webkit [841] by darin
  • 28 edits in branches/kde_3_0_rc_3_merge/WebCore
  • src/kdelibs/khtml/rendering/font.cpp: (Font::width): Make it call _width so we don't lose the optimization.
  • src/kwq/KWQApplication.mm: (QDesktopWidget::screenNumber): New. (QDesktopWidget::screenGeometry): New. (QApplication::style): New.
  • src/kwq/KWQColorGroup.mm: (QColorGroup::highlight): New. (QColorGroup::highlightedText): New.
  • src/kwq/KWQFont.mm: (QFont::setPixelSize): New.
  • src/kwq/KWQFontMetrics.mm: (QFontMetrics::charWidth): New.
  • src/kwq/KWQKGlobal.mm: (KGlobal::locale): Implement. (KLocale::KLocale): New. (KLocale::languageList): New.
  • src/kwq/KWQKHTMLPart.mm: (KHTMLPart::sheetUsed): New. (KHTMLPart::setSheetUsed): New. (KHTMLPart::zoomFactor): New.
  • src/kwq/KWQKHTMLSettings.mm: (KHTMLSettings::mediumFontSize): New.
  • src/kwq/KWQScrollView.mm: (QScrollView::childX): New. (QScrollView::childY): New.
  • src/kwq/qt/qapplication.h: style() returns a QStyle &.
  • src/kwq/qt/qpalette.h: Add Highlight and HighlightedText.
9:45 AM Changeset in webkit [840] by kocienda
  • 2 edits in trunk/WebKit/Misc.subproj

2002-03-25 Kenneth Kocienda <kocienda@apple.com>

Fix for this bug:

Radar 2867562 (Disk cache should write new entries lazily)

  • Database.subproj/IFURLFileDatabase.h:
  • Database.subproj/IFURLFileDatabase.m: (+[IFURLFileDatabaseOp opWithCode:key:object:]), (-[IFURLFileDatabaseOp initWithCode:key:object:]), (-[IFURLFileDatabaseOp opcode]), (-[IFURLFileDatabaseOp key]), (-[IFURLFileDatabaseOp object]), (-[IFURLFileDatabaseOp perform:]), (-[IFURLFileDatabaseOp dealloc]), (-[IFURLFileDatabase initWithPath:]), (-[IFURLFileDatabase dealloc]), (-[IFURLFileDatabase setTimer]), (-[IFURLFileDatabase setObject:forKey:]), (-[IFURLFileDatabase removeObjectForKey:]), (-[IFURLFileDatabase removeAllObjects]), (-[IFURLFileDatabase objectForKey:]), (-[IFURLFileDatabase performSetObject:forKey:]), (-[IFURLFileDatabase performRemoveObjectForKey:]), (-[IFURLFileDatabase lazySync:]), (-[IFURLFileDatabase sync]):
  • WebFoundation.pbproj/project.pbxproj:

Simple fix to remove Objective-C include when compiling with
a straight C compiler.

  • CacheLoader.subproj/IFURLCacheLoaderConstants.h:
4:18 AM Changeset in webkit [839] by mjs
  • 15 edits in trunk/WebCore

Improved KURL performance:

  • src/kwq/kdecore/kurl.h, src/kwq/KWQKURL.mm: (KURL::normalizeURLString): New function to cache rewritten URL strings. (RelativeURLKeyRetainCallBack, RelativeURLKeyReleaseCallBack, RelativeURLKeyCopyDescriptionCallBack, RelativeURLKeyEqualCallBack, RelativeURLKeyHashCallBack, KURL::normalizeRelativeURLString): Cache results of relative URL resolution. (KURL::clearCaches): function to clear the caches so they don't grow forever. (KURL::KURL): Set nothing but the string at construction time. (KURL::isEmpty, KURL::isMalformed, KURL::hasPath, KURL::url, KURL::protocol, KURL::host, KURL::port, KURL::pass, KURL::user, KURL::ref, KURL::query, KURL::path, KURL::setProtocol, KURL::setHost, KURL::setPort, KURL::setRef, KURL::setQuery, KURL::setPath, KURL::prettyURL, KURL::copyOnWrite, KURL::parse, KURL::assemble): Parse into parts on demand instead. (KURL::swap, KURL::operator=): Handle KURL's new urlString field.
  • src/kwq/KWQKloader.mm: (Cache::requestImage, Cache::requestStyleSheet, Cache::requestScript): Don't redundantly check if KURL isMalformed.
  • src/kwq/KWQKHTMLPart.mm (KHTMLPart::end): Clear KURL caches at the end of each page load.
Note: See TracTimeline for information about the timeline view.