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

Timeline



Feb 16, 2002:

11:17 PM Changeset in webkit [632] by mjs
  • 17 edits
    2 adds in trunk/WebCore

Top level:

  • borrowed-classes.txt, configure.in: Stop borring KURL.

Gajillions of test cases for KURL:

  • Tests/Makefile.am:
  • Tests/kde/.cvsignore:
  • Tests/kde/Makefile.am:
  • Tests/kde/kurl-test.chk:
  • Tests/kde/kurl-test.cpp: (testURL), (main):
  • Tests/kde/objc-dummy.mm: (objective_c_hack):
  • Tests/test.list:

WebCore:

Reimplement KURL in terms of CFURL (many workarounds needed to
account for differing semantics).

  • src/kwq/kdecore/kurl.h:
  • src/kwq/KWQKURL.mm: (KURL::KWQKURLPrivate::KWQKURLPrivate), (KURL::KWQKURLPrivate::~KWQKURLPrivate), (KURL::KWQKURLPrivate::init), (KURL::KWQKURLPrivate::makeRef), (CFStringToQString), (escapeQString), (pathEndsWithSlash), (KWQCFURLCopyEscapedPath), (KURL::KWQKURLPrivate::decompose), (KURL::KWQKURLPrivate::compose), (KURL::KURL), (KURL::~KURL), (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::operator=), (KURL::decode_string), (KURL::copyOnWrite):
  • src/kwq/Makefile.am: Add new file to build.
  • src/kwq/KWQKHTMLPart.mm: (KHTMLPart::begin, KHTMLPart::submitForm): Don't

Minor tweaks to make it all build:

  • src/kwq/kde/_kurl.cpp:
  • src/kwq/qt/_qurl.cpp:
  • src/kwq/qt/_qurl.h:
1:44 PM Changeset in webkit [631] by rjw
  • 4 edits in trunk/WebKit

Notes to self.

1:44 PM Changeset in webkit [630] by rjw
  • 9 edits in trunk/WebCore

Fixed problem with default text not showing up in text area.
Fixed problem with scroll widgets not showing up in select list.

11:58 AM Changeset in webkit [629] by rjw
  • 4 edits in trunk/WebKit

Comments added as reminders to fix frame<->datasource ownership.

Feb 15, 2002:

8:06 PM Changeset in webkit [628]
  • 166 copies
    42 deletes in tags/WEBFOUNDATION_0_1_1

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

8:06 PM Changeset in webkit [627] by rjw
  • 40 edits in trunk/WebCore

Lots of changes for forms.

4:46 PM Changeset in webkit [626]
  • 1 copy
    25 deletes in tags/WEBFOUNDATION_0_1_0

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

4:46 PM Changeset in webkit [625] by kocienda
  • 2 edits in trunk/WebKit/Misc.subproj

2002-02-15 Kenneth Kocienda <kocienda@apple.com>

Lots of interface cleanups in preparation of the WebFoundation-0.1 release.

Radar 2859843 (IFURLLoad must present a better interface to protocol handlers)
Radar 2862349 (Move ivars in public headers inside a private class in the .m file)
Radar 2861762 (IFURLDataProvider is obsolete)
Radar 2861762 (IFURLDataProvider is obsolete)
Radar 2861787 (Add charset ivar to IFURLHandle)

  • CacheLoader.subproj/IFHTTPURLHandle.h:
  • CacheLoader.subproj/IFHTTPURLHandle.m: (-[IFHTTPURLHandleInstanceVariables init]), (-[IFHTTPURLHandleInstanceVariables dealloc]), (-[IFHTTPURLHandle requestMethod]), (-[IFHTTPURLHandle requestHeaders]), (-[IFHTTPURLHandle requestData]), (-[IFHTTPURLHandle responseHeaders]), (-[IFHTTPURLHandle contentLength]), (-[IFHTTPURLHandle copyWithZone:]), (-[IFHTTPURLHandle dealloc]), (-[IFHTTPURLHandle setResponseHeaders:]), (-[IFHTTPURLHandle hasResponseHeaders]):
  • CacheLoader.subproj/IFHTTPURLProtocolHandler.m:
  • CacheLoader.subproj/IFURLCache.h:
  • CacheLoader.subproj/IFURLCache.m: (-[IFURLCacheInstanceVariables init]), (-[IFURLCacheInstanceVariables dealloc]), (-[IFURLCache sizeLimit]), (-[IFURLCache setSizeLimit:]), (-[IFURLCache objectSizeLimit]), (-[IFURLCache setObjectSizeLimit:]), (-[IFURLCache currentUsage]), (-[IFURLCache initWithSizeLimit:]), (-[IFURLCache dealloc]), (-[IFURLCache truncateToSizeLimit:]), (-[IFURLCache setCurrentUsage:]):
  • CacheLoader.subproj/IFURLCachePrivate.h:
  • CacheLoader.subproj/IFURLCachePrivate.m:
  • CacheLoader.subproj/IFURLDataProvider.h:
  • CacheLoader.subproj/IFURLDiskCache.m: (-[IFURLDiskCache clearCache]):
  • CacheLoader.subproj/IFURLHandle.h:
  • CacheLoader.subproj/IFURLHandle.m: (-[IFURLHandleInstanceVariables initWithHandle:]), (-[IFURLHandleInstanceVariables dealloc]), (-[IFURLHandle loadInBackground]), (-[IFURLHandle cancelLoadInBackground]), (-[IFURLHandle loadInForeground:]), (-[IFURLHandle addClient:]), (-[IFURLHandle removeClient:]), (-[IFURLHandle url]), (-[IFURLHandle canonicalURL]), (-[IFURLHandle finalURL]), (-[IFURLHandle flags]), (-[IFURLHandle attributes]), (-[IFURLHandle statusCode]), (-[IFURLHandle resultCode]), (-[IFURLHandle contentType]), (-[IFURLHandle characterSet]), (-[IFURLHandle availableResourceData]), (-[IFURLHandle contentLengthReceived]), (-[IFURLHandle isEqual:]), (-[IFURLHandle hash]), (-[IFURLHandle description]), (+[IFURLHandle initialize]), (+[IFURLHandle registerURLHandleClass:]), (+[IFURLHandle URLHandleClassForURL:]), (+[IFURLHandle canInitWithURL:]), (-[IFURLHandle initWithURL:]), (-[IFURLHandle initWithURL:cached:]), (-[IFURLHandle dealloc]), (-[IFURLHandle setAttribute:forKey:]), (-[IFURLHandle backgroundLoadDidBegin]), (-[IFURLHandle didLoadData:]), (-[IFURLHandle backgroundLoadComplete]), (-[IFURLHandle backgroundLoadFailedWithResultCode:]), (-[IFURLHandle cacheable]), (-[IFURLHandle setCacheable:]), (-[IFURLHandle setStatusCode:]), (-[IFURLHandle setResultCode:]), (-[IFURLHandle setFinalURL:]), (-[IFURLHandle notifyClientsBackgroundLoadCancelled]), (-[IFURLHandle notifyClientsBackgroundLoadDidBegin]), (-[IFURLHandle notifyClientsDidLoadData]), (-[IFURLHandle notifyClientsBackgroundLoadComplete]), (-[IFURLHandle notifyClientsBackgroundLoadFailed]):
  • CacheLoader.subproj/IFURLHandleC.m:
  • CacheLoader.subproj/IFURLHandlePrivate.h:
  • CacheLoader.subproj/IFURLLoad.m: (+[IFURLLoad IFURLLoadCacheCheckerRun:]):
  • CacheLoader.subproj/IFURLLoadManager.h:
  • CacheLoader.subproj/IFURLLoadManager.m: (-[IFURLLoadManagerInstanceVariables init]), (-[IFURLLoadManagerInstanceVariables dealloc]), (-[IFURLLoadManager initWithDefaultStack]), (+[IFURLLoadManager sharedManager]), (-[IFURLLoadManager objectForURL:]), (-[IFURLLoadManager setObject:forURL:attributes:expiry:]), (-[IFURLLoadManager clearAllCaches]), (-[IFURLLoadManager handleURLLoadDone:]), (-[IFURLLoadManager handleURLLoadedResourceData:]), (-[IFURLLoadManager dealloc]), (-[IFURLLoadManager requestWithURLHandle:]), (-[IFURLLoadManager cancelRequestWithURLHandle:]), (-[IFURLLoadManager cancelAllRequestsWithURL:]), (-[IFURLLoadManager cancelAllRequestsInGroup:]), (-[IFURLLoadManager caches]):
  • CacheLoader.subproj/IFURLMemoryCache.m: (-[IFURLMemoryCache truncateToSizeLimit]), (-[IFURLMemoryCache clearCache]):
  • Database.subproj/IFDatabase.m: (-[IFDatabase removeAllObjects]):
  • Database.subproj/IFNDBMDatabase.m: (-[IFNDBMDatabase removeAllObjects]):
  • Database.subproj/IFURLFileDatabase.m: (-[IFURLFileDatabase removeAllObjects]):
  • Misc.subproj/WebFoundation.h:
  • WebFoundation.pbproj/project.pbxproj:
10:57 AM Changeset in webkit [624] by cblu
  • 6 edits in trunk

Flash seems to require a plug-in instance struct to be created. Otherwise, crash

Feb 14, 2002:

3:36 PM Changeset in webkit [623] by kocienda
  • 2 edits in trunk/WebKit/Misc.subproj

2002-02-14 Kenneth Kocienda <kocienda@apple.com>

Did a lot of API cleanup and code formatting.

Worked on the following bugs, with these results:

Fixed bugs:
Radar 2859564 (Clean up untilDate:/expiry: API on IFURLCache)
Radar 2859575 (truncateToSizeLimit does not belong in public interface for IFURLCache)
Radar 2859632 (Remove set methods from IFHTTPURLHandle)
Radar 2859834 (Implement IFHTTPURLHandle delegate method callbacks)
Radar 2861054 (Clean up constants)

Progress on bugs:
Radar 2860531 (Implement special dictionary for IFURLLoadManager)
Radar 2861001 (Update names of internal class categories)
Radar 2860482 (Make sure all flags variables are unsigned)
Radar 2860128 (Add canonicalized URLs to IFURLHandle; make sure they're used appropriately)
Radar 2859577 (Decide on external visibility of WebFoundation headers)

  • CacheLoader.subproj/IFFileURLHandle.h:
  • CacheLoader.subproj/IFFileURLHandle.m:
  • CacheLoader.subproj/IFFileURLProtocolHandler.h:
  • CacheLoader.subproj/IFFileURLProtocolHandler.m: (+[IFFileURLProtocolHandler canonicalizeURL:]), (-[IFFileURLProtocolHandler fileLoadThread]):
  • CacheLoader.subproj/IFHTTPURLHandle.h:
  • CacheLoader.subproj/IFHTTPURLHandle.m: (-[IFHTTPURLHandle copyWithZone:]), (-[IFHTTPURLHandle dealloc]):
  • CacheLoader.subproj/IFHTTPURLHandleC.h:
  • CacheLoader.subproj/IFHTTPURLProtocolHandler.h:
  • CacheLoader.subproj/IFHTTPURLProtocolHandler.m: (+[IFHTTPURLProtocolHandler canonicalizeURL:]), (-[IFHTTPURLProtocolHandler initWithURLLoad:]), (-[IFHTTPURLProtocolHandler beginLoadInBackground]), (-[IFHTTPURLProtocolHandler endLoadInBackground]), (-[IFHTTPURLProtocolHandler dealloc]), (-[IFHTTPURLProtocolHandler setResponseHeaders:]), (-[IFHTTPURLProtocolHandler performStreamRead:]):
  • CacheLoader.subproj/IFURLCache.h:
  • CacheLoader.subproj/IFURLCache.m: (-[IFURLCache objectForURL:]):
  • CacheLoader.subproj/IFURLCacheLoaderConstants.h:
  • CacheLoader.subproj/IFURLCacheLoaderConstants.m:
  • CacheLoader.subproj/IFURLCacheObject.h:
  • CacheLoader.subproj/IFURLCachePrivate.h:
  • CacheLoader.subproj/IFURLCachePrivate.m:
  • CacheLoader.subproj/IFURLDataProvider.h:
  • CacheLoader.subproj/IFURLDiskCache.h:
  • CacheLoader.subproj/IFURLDiskCache.m: (-[IFURLDiskCache objectForURL:]):
  • CacheLoader.subproj/IFURLHandle.h:
  • CacheLoader.subproj/IFURLHandle.m: (-[IFURLHandle loadInBackground]), (-[IFURLHandle cancelLoadInBackground]), (-[IFURLHandle loadInForeground]), (-[IFURLHandle loadInForeground:]), (-[IFURLHandle isEqual:]), (-[IFURLHandle hash]), (-[IFURLHandle description]), (-[IFURLHandle copyWithZone:]):
  • CacheLoader.subproj/IFURLHandleC.h:
  • CacheLoader.subproj/IFURLHandleCallBackClient.h:
  • CacheLoader.subproj/IFURLHandleClient.h:
  • CacheLoader.subproj/IFURLHandleConstants.h:
  • CacheLoader.subproj/IFURLHandlePrivate.h:
  • CacheLoader.subproj/IFURLHandlePrivate.m: (-[IFURLHandle setAttribute:forKey:]):
  • CacheLoader.subproj/IFURLLoad.h:
  • CacheLoader.subproj/IFURLLoad.m: (-[IFURLLoad statusCode]), (-[IFURLLoad resultCode]), (-[IFURLLoad url]), (-[IFURLLoad attributes]), (-[IFURLLoad flags]), (-[IFURLLoad handles]), (-[IFURLLoad resourceData]), (-[IFURLLoad didLoadBytes:length:]), (-[IFURLLoad updateHandles]), (-[IFURLLoad succeeded]), (-[IFURLLoad failedWithResultCode:]), (-[IFURLLoad isEqual:]), (-[IFURLLoad hash]), (-[IFURLLoad description]), (-[IFURLLoad dealloc]), (+[IFURLLoad URLLoadWithURL:attributes:flags:]), (-[IFURLLoad initWithURL:attributes:flags:]), (-[IFURLLoad addHandle:]), (-[IFURLLoad beginOriginLoad]), (-[IFURLLoad didBeginLoading]), (-[IFURLLoad setResourceData:]), (+[IFURLLoad IFURLLoadCacheCheckerRun:]):
  • CacheLoader.subproj/IFURLLoadManager.h:
  • CacheLoader.subproj/IFURLLoadManager.m: (-[IFURLLoadManager initWithDefaultStack]), (+[IFURLLoadManager sharedURLLoadManager]), (-[IFURLLoadManager requestWithURLHandle:]), (-[IFURLLoadManager cancelRequestWithURLHandle:]), (-[IFURLLoadManager cancelAllRequestsWithURL:]), (-[IFURLLoadManager cancelAllRequestsInGroup:]), (-[IFURLLoadManager handleURLLoadedResourceData:]):
  • CacheLoader.subproj/IFURLLoadPrivate.h:
  • CacheLoader.subproj/IFURLMemoryCache.h:
  • CacheLoader.subproj/IFURLMemoryCache.m: (-[IFURLMemoryCache objectForURL:]):
  • CacheLoader.subproj/IFURLProtocolHandler.h:
  • CacheLoader.subproj/IFURLProtocolHandler.m: (+[IFURLProtocolHandler canonicalizeURL:]):
  • CookieManager.subproj/IFCookie.h:
  • CookieManager.subproj/IFCookieAcceptHandler.h:
  • CookieManager.subproj/IFCookieC.h:
  • CookieManager.subproj/IFCookieManager.h:
  • CookieManager.subproj/IFCookieManagerC.h:
  • CookieManager.subproj/IFCookiePrivate.h:
  • Database.subproj/IFDatabase.h:
  • Database.subproj/IFDatabase.m: (-[IFDatabase removeAllObjects]):
  • Misc.subproj/IFMutableDataPrivate.m: (-[IFByteRange isEqual:]):
  • Misc.subproj/WebFoundation.h:
  • Misc.subproj/WebFoundationPrivate.h:
  • WebFoundation.pbproj/project.pbxproj:
11:11 AM Changeset in webkit [622] by cblu
  • 4 edits in trunk/WebKit/Plugins.subproj

Fixed a crash when IFPluginView were dealloced before URLHandles were complete

Feb 13, 2002:

8:19 PM Changeset in webkit [621] by rjw
  • 5 edits in trunk/WebCore

Use NSSwitchButton for check boxes.

7:18 PM Changeset in webkit [620] by rjw
  • 11 edits in trunk/WebKit

Fixed cleanup problem.

7:18 PM Changeset in webkit [619] by rjw
  • 5 edits in trunk/WebCore

Removed dead code.

11:14 AM Changeset in webkit [618] by cblu
  • 10 edits in trunk

Fixed a bug where the QT Plug-in would complain about not using QT 5. This was because sometimes I wasn't passing a mime type to the plug-in

10:27 AM Changeset in webkit [617] by kocienda
  • 1 edit in trunk/WebKit/Misc.subproj/WebFileDatabase.m

2002-02-13 Kenneth Kocienda <kocienda@apple.com>

Cleaned up IFURLHandle and IFHTTPURLHandle init interfaces, making them attribute-based.
Made URL handle classes immutable.
Made additions to C glue to match changes made in Objective-C code.
Added more FIXME bug lines.
Cleaned up cache interfaces so their names are more consistent.

  • CacheLoader.subproj/IFHTTPURLHandle.h:
  • CacheLoader.subproj/IFHTTPURLHandle.m: (+[IFHTTPURLHandle canInitWithURL:]), (+[IFHTTPURLHandle canonicalizeURL:]), (-[IFHTTPURLHandle initWithURL:]), (-[IFHTTPURLHandle initWithURL:cached:]), (-[IFHTTPURLHandle requestHeaders]), (-[IFHTTPURLHandle requestData]), (-[IFHTTPURLHandle responseHeaders]), (-[IFHTTPURLHandle contentLengthReceived]), (-[IFHTTPURLHandle percentComplete]):
  • CacheLoader.subproj/IFHTTPURLHandleC.h:
  • CacheLoader.subproj/IFHTTPURLHandleC.m: (IFHTTPURLHandleCreate), (IFHTTPURLHandleGetRequestHeaders), (IFHTTPURLHandleGetResponseHeaders):
  • CacheLoader.subproj/IFHTTPURLProtocolHandler.h:
  • CacheLoader.subproj/IFHTTPURLProtocolHandler.m: (-[IFHTTPURLProtocolHandler initWithURLLoad:]), (-[IFHTTPURLProtocolHandler beginLoadInBackground]):
  • CacheLoader.subproj/IFURLCache.h:
  • CacheLoader.subproj/IFURLCache.m: (-[IFURLCache setObject:forURL:attributes:expiry:]), (-[IFURLCache setObject:forURL:]), (-[IFURLCache currentUsage]):
  • CacheLoader.subproj/IFURLDiskCache.m: (-[IFURLDiskCache setObject:forURL:]), (-[IFURLDiskCache clearCache]), (-[IFURLDiskCache setSizeLimit:]), (-[IFURLDiskCache usage]):
  • CacheLoader.subproj/IFURLHandle.h:
  • CacheLoader.subproj/IFURLHandle.m: (+[IFURLHandle canonicalizeURL:]), (-[IFURLHandle initWithURL:]), (-[IFURLHandle initWithURL:cached:]), (-[IFURLHandle flushCachedData]), (-[IFURLHandle canonicalURL]), (-[IFURLHandle attributes]), (-[IFURLHandle failureReason]), (-[IFURLHandle dealloc]):
  • CacheLoader.subproj/IFURLHandleC.h:
  • CacheLoader.subproj/IFURLHandleC.m: (IFURLHandleCreate), (IFURLHandleGetCanonicalURL), (IFURLHandleGetAttributes):
  • CacheLoader.subproj/IFURLLoad.h:
  • CacheLoader.subproj/IFURLLoad.m: (+[IFURLLoad shutdown]), (-[IFURLLoad succeeded]), (-[IFURLLoad failedWithResultCode:]), (-[IFURLLoad beginOriginLoad]), (-[IFURLLoad didBeginLoading]), (-[IFURLLoad cancel]), (-[IFURLLoad updateStatistics]), (+[IFURLLoad IFURLLoadCacheCheckerRun:]):
  • CacheLoader.subproj/IFURLLoadManager.h:
  • CacheLoader.subproj/IFURLLoadManager.m: (-[IFURLLoadManager requestWithURLHandle:]), (-[IFURLLoadManager cancelRequestWithURLHandle:]), (-[IFURLLoadManager cancelAllRequestsWithURL:]), (-[IFURLLoadManager cancelAllRequestsInGroup:]), (-[IFURLLoadManager objectForURL:]), (-[IFURLLoadManager setObject:forURL:attributes:expiry:]), (-[IFURLLoadManager clearAllCaches]), (-[IFURLLoadManager handleURLLoadedResourceData:]):
  • CacheLoader.subproj/IFURLMemoryCache.m: (-[IFURLMemoryCache containsURL:]):
  • CacheLoader.subproj/WCURLHandleGlue.m: (WCURLHandleCreate):
  • Database.subproj/IFNDBMDatabase.m: (-[IFNDBMDatabase setObject:forKey:]), (-[IFNDBMDatabase removeObjectForKey:]), (-[IFNDBMDatabase objectForKey:]):
  • Database.subproj/IFURLFileDatabase.m: (-[IFURLFileDatabase setObject:forKey:]), (-[IFURLFileDatabase objectForKey:]), (-[IFURLFileDatabase keys]):
  • Misc.subproj/IFCWrapperHacks.h:
  • Misc.subproj/IFMutableDataPrivate.h:
  • Misc.subproj/IFMutableDataPrivate.m:
  • WebFoundation.pbproj/project.pbxproj:

Feb 12, 2002:

7:05 PM Changeset in webkit [616] by cblu
  • 14 edits in trunk

Removed some KWQ code from kdelibs. Fixed a bug where OBJECT tags weren't working. Added multiple stream capability for plugins

6:16 PM Changeset in webkit [615] by rjw
  • 30 edits in trunk/WebCore

Made basic forms work.

6:16 PM Changeset in webkit [614] by rjw
  • 12 edits in trunk/WebKit

Made basic forms works.

3:46 AM Changeset in webkit [613] by mjs
  • 8 edits in trunk/WebCore

WebFoundation:

Implement "file:" URL scheme. Also, fix up a few bugs this turned up.

Implement new IFURLHandle and IFURLProtocolHandler subclasses for
`file:'. The protocol handler creates a new thread for each file
load which could be considered somewhat excessive, but
definitively avoids blocking, and allows for cancellation. Run
loop sources are used to report success or failure, to avoid
destroying the protocol handler before its work is done.

  • CacheLoader.subproj/IFFileURLHandle.h:
  • CacheLoader.subproj/IFFileURLHandle.m: (+[IFFileURLHandle canInitWithURL:]):
  • CacheLoader.subproj/IFFileURLProtocolHandler.h:
  • CacheLoader.subproj/IFFileURLProtocolHandler.m: (+[IFFileURLProtocolHandler canInitWithURL:]), (-[IFFileURLProtocolHandler initWithURLLoad:]), (-[IFFileURLProtocolHandler dealloc]), (-[IFFileURLProtocolHandler fileLoadThread]), (-[IFFileURLProtocolHandler sendLoadNotification]), (fileLoadThreadStart), (fileProtocolHandlerCopyDescription), (sendFinishedMessage), (-[IFFileURLProtocolHandler beginLoadInBackground]), (-[IFFileURLProtocolHandler endLoadInBackground]):

Stick to http:' and https:' URIs instead of accepting all:

  • CacheLoader.subproj/IFHTTPURLHandle.m: (+[IFHTTPURLHandle canInitWithURL:]):
  • CacheLoader.subproj/IFHTTPURLProtocolHandler.m: (+[IFHTTPURLProtocolHandler canInitWithURL:]):

Register subclasses for `file:':

  • CacheLoader.subproj/IFURLHandle.m: (+[IFURLHandle initialize]):
  • CacheLoader.subproj/IFURLProtocolHandler.m: (+[IFURLProtocolHandler initialize]):
  • CacheLoader.subproj/IFURLLoad.m: (-[IFURLLoad beginOriginLoad]): Lock the IFURLLoad object while kicking off the protocol handler and examining the status code, otherwise a really fast protocol handler can report completion and therefore destroy this load object before it can look at the status. This leads to what we technically refer to as "crashy crashy".
  • WebFoundation.pbproj/project.pbxproj: Add new files to build.

WebCore:

Make some tweaks to glue together KDE's and CF's concepts of URLs
a bit better. In particular, CF thinks "file:/some/path" is an
invalid URL, while KDE thinks this is the canonical form for a
file URL.

  • src/kwq/KWQKHTMLPart.mm: (KHTMLPart::openURL), (KHTMLPart::closeURL), (KHTMLPart::checkCompleted):
  • src/kwq/KWQKjobclasses.mm:
12:46 AM Changeset in webkit [612] by mjs
  • 28 edits
    13 adds in trunk/WebCore
  • borrowed-classes.txt: Stopped borrowing QVector, QList, QCollection and QTL.

Extended tests for QList, QSortedList (to test QList::sort more
thoroughly) and QVector. Especially excercise autodeletion
semantics and corner cases more thoroughly.

  • Tests/qt/qlist-test.chk:
  • Tests/qt/qlist-test.cpp: (operator<<), (main):
  • Tests/qt/qsortedlist-test.chk:
  • Tests/qt/qsortedlist-test.cpp: (main):
  • Tests/qt/qvector-test.chk:
  • Tests/qt/qvector-test.cpp: (operator<<), (printVectorNullTolerant), (main):
  • Tests/qt/qmap-test.cpp (CheckRedBlackRules): Tweak a bit to violate QMap's abstraction for glass-box testing.

WebCore:

Reimplemented QList, QVector and QCollection from
scratch. Implemented copy-on-write optimization for QMap.

Minimally reimplement QCollection.

  • src/kwq/qt/qcollection.h:
  • src/kwq/KWQCollection.mm: (QCollection::QCollection), (QCollection::operator=), (QCollection::~QCollection), (QCollection::autoDelete), (QCollection::setAutoDelete):
  • src/kwq/qt/qdict.h, src/kwq/qt/qptrdict.h: Include qcollection.h, not _qcollection.h

Reimplement QList as a doubly-linked list.

  • src/kwq/qt/qlist.h:
  • src/kwq/KWQListImpl.h:
  • src/kwq/KWQListImpl.mm: (KWQListImpl::KWQListPrivate::copyList), (KWQListImpl::KWQListPrivate::KWQListPrivate), (KWQListImpl::KWQListPrivate::~KWQListPrivate), (KWQListIteratorImpl::KWQListIteratorPrivate::KWQListIteratorPrivate), (KWQListImpl::KWQListImpl), (KWQListImpl::~KWQListImpl), (KWQListImpl::isEmpty), (KWQListImpl::count), (KWQListImpl::clear), (KWQListImpl::sort), (KWQListImpl::at), (KWQListImpl::insert), (KWQListImpl::remove), (KWQListImpl::removeFirst), (KWQListImpl::removeLast), (KWQListImpl::removeRef), (KWQListImpl::getLast), (KWQListImpl::current), (KWQListImpl::first), (KWQListImpl::last), (KWQListImpl::next), (KWQListImpl::prev), (KWQListImpl::take), (KWQListImpl::append), (KWQListImpl::prepend), (KWQListImpl::containsRef), (KWQListImpl::assign), (KWQListImpl::addIterator), (KWQListImpl::removeIterator), (KWQListIteratorImpl::KWQListIteratorImpl), (KWQListIteratorImpl::~KWQListIteratorImpl), (KWQListIteratorImpl::count), (KWQListIteratorImpl::toFirst), (KWQListIteratorImpl::toLast), (KWQListIteratorImpl::current), (KWQListIteratorImpl::operator--), (KWQListIteratorImpl::operator++), (KWQListIteratorImpl::operator=):

Reimplement QVector in terms of CFArray.

  • src/kwq/qt/qvector.h:
  • src/kwq/KWQVectorImpl.h:
  • src/kwq/KWQVectorImpl.mm: (KWQVectorImpl::KWQVectorPrivate::KWQVectorPrivate), (KWQVectorImpl::KWQVectorPrivate::~KWQVectorPrivate), (KWQVectorImpl::KWQVectorImpl), (KWQVectorImpl::~KWQVectorImpl), (KWQVectorImpl::clear), (KWQVectorImpl::isEmpty), (KWQVectorImpl::count), (KWQVectorImpl::size), (KWQVectorImpl::remove), (KWQVectorImpl::resize), (KWQVectorImpl::insert), (KWQVectorImpl::at), (KWQVectorImpl::assign), (KWQVectorImpl::KWQVectorImpl::swap):

Implemented copy-on-write optimization for QMap. This had the
pleasant side effect of improving the separation between pointer
manipulation and key/value manipulation.

  • src/kwq/qt/qmap.h:
  • src/kwq/KWQMapImpl.h:
  • src/kwq/KWQMapImpl.mm: (KWQMapImpl::KWQMapPrivate::KWQMapPrivate), (KWQMapImpl::KWQMapPrivate::~KWQMapPrivate), (KWQMapImpl::KWQMapImpl), (KWQMapImpl::~KWQMapImpl), (KWQMapImpl::copyOnWrite), (KWQMapImpl::copyTree), (KWQMapImpl::rebalanceAfterInsert), (KWQMapImpl::rebalanceAfterRemove), (KWQMapImpl::findInternal), (KWQMapImpl::insertInternal), (KWQMapImpl::removeInternal), (KWQMapImpl::swap), (KWQMapImpl::countInternal), (KWQMapImpl::clearInternal), (KWQMapImpl::beginInternal), (KWQMapImpl::endInternal):
  • src/kwq/Makefile.am: Add new files to build.
  • src/kdelibs/khtml/rendering/render_text.cpp (TextSlaveArray::findFirstMatching): Fix two places where the KDE code was depending on implementation details of QVector.
Note: See TracTimeline for information about the timeline view.