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

Timeline



Jan 31, 2002:

7:12 PM Changeset in webkit [579] by rjw
  • 11 edits in trunk/WebCore

Added QString constructor, fixed javascript at head of document bug.

6:02 PM Changeset in webkit [578] by sullivan
  • 5 edits in trunk/WebKit
  • History.subproj/WKURIList.m: (newURIListNode): retain entries before adding them to list. The node-freeing routine was releasing, but the node-adding routine wasn't retaining. Bad asymmetry, made up for by WebViewTest not autoreleasing. I fixed that too.
  • Tests/khtmlview/_KWQOwner.m: (-[_KWQOwner newUriDone:]): autorelease new WKURIEntry before handing it to WKBackForwardList.

Implemented simple back/forward, using the existing back/forward code that
WebViewTest was using (after fixing an object lifetime bug there). Also
cleaned up viewSource stuff a little.

  • BrowserDocument.h: Added declarations for canGoBack, canGoForward, goBack, goForward; changed webController to _webController; added _backForwardList.
  • BrowserDocument.m: (-[BrowserDocument currentURL]), (-[BrowserDocument setCurrentURL:]), (-[BrowserDocument setMainWebView:]), (-[BrowserDocument setUpSearchChannels]), (-[BrowserDocument searchChannels]): Just updated for instance variable name changes and/or moved around.

(-[BrowserDocument init]): Make a back/forward list
(-[BrowserDocument dealloc]): Nuke a back/forward list

(-[BrowserDocument goToURLBypassingBackForwardList:]): New method, contains
the code that used to be goToURL

(-[BrowserDocument goToURL:]): Now calls goToURLBypassingBackForwardList and
then adds an entry to the back/forward list.

(-[BrowserDocument canGoBack]),
(-[BrowserDocument canGoForward]),
(-[BrowserDocument goBack]),
(-[BrowserDocument goForward]): New methods, implement back/forward list by
calling methods on WKBackForwardList

(-[BrowserDocument openNewTextEditDocumentWithString:]): New helper method, contains
former guts of viewSource and viewReconstructedSource.
(-[BrowserDocument viewSource:]),
(-[BrowserDocument viewReconstructedSource:]): Call openNewTextEditDocumentWithString.

  • BrowserWindow.h: Added declaration for viewReconstructedSource
  • BrowserWindow.m: (-[BrowserWindow goBack:]), (-[BrowserWindow goForward:]): Call BrowserDocument methods.

(-[BrowserWindow isShowingSearchResults:]): Fixed bug where it would return YES
if there was no URL at all displayed.

(-[BrowserWindow validateToolbarItem:]): Call [[self document] canGoBack] instead
of [self canGoBack], same for forward.

(-[BrowserWindow validateMenuItem:]): add test for viewReconstructedSource. Make
both viewSource and viewReconstructedSource enabled only if currentURL is not nil.

(-[BrowserWindow viewReconstructedSource:]): removed casts made unnecessary by adding
the declaration to the header file.

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

Fixed javascript at head of document problem.

4:37 PM Changeset in webkit [576] by sullivan
  • 3 edits in trunk/WebKit
  • WebKit.pbproj: Removed -O0, so it will now get all the same warnings as pbxbuild gets.
4:28 PM Changeset in webkit [575] by kocienda
  • 14 edits in trunk/WebKit

2002-01-31 Kenneth Kocienda <kocienda@apple.com>

Removed dependency on WC versions of these files

  • History.subproj/WKBackForwardList.h:
  • History.subproj/WKBackForwardList.m:
  • History.subproj/WKURIEntry.h:
  • History.subproj/WKURIEntry.m:
  • WebKit.pbproj/project.pbxproj:

A set of in-progress changes. The new code here is not in a current code path,
but I'm checking in to make sure that some changes I made in WebKit work
with something I was able to test.

  • CacheLoader.subproj/WKURLHandle.m: (-[WKURLHandle notifyClientsDidLoadData]):
  • Misc.subproj/WKMutableData.h:
  • Misc.subproj/WKMutableData.m: (-[WKMutableData copyWithZone:]), (-[WKMutableData initWithBytes:length:copy:freeWhenDone:bytesAreVM:]):
  • WebFoundation.pbproj/project.pbxproj:

Removed dependency on WC classes backed by WebKit classes.

  • Tests/khtmlview/_KWQOwner.h:
  • Tests/khtmlview/_KWQOwner.m: (-[_KWQOwner changeURL:]), (-[_KWQOwner back:]), (-[_KWQOwner forward:]), (-[_KWQOwner newUriDone:]):
4:13 PM Changeset in webkit [574] by sullivan
  • 3 edits in trunk/WebKit
  • WebKit.pbproj: Marked WKURIList.h as a public header
4:11 PM Changeset in webkit [573] by rjw
  • 8 edits in trunk/WebKit

Added document source.

4:11 PM Changeset in webkit [572] by rjw
  • 9 edits in trunk/WebCore

Added document source .

3:23 PM Changeset in webkit [571] by cblu
  • 6 edits in trunk/WebCore

Added support for hidden plug-ins. Added focus events

1:28 PM Changeset in webkit [570] by kocienda
  • 11 edits in trunk/WebCore

2002-01-31 Kenneth Kocienda <kocienda@apple.com>

Created a no-copy version of NSData (WKMutableData) that will minimize the amount of data copying.
Removed obsoleted WKURLData class
Incorporated use of the no-copy NSData object.

  • CacheLoader.subproj/WKHTTPURLProtocolHandler.m: (-[WKHTTPURLProtocolHandler performStreamRead:]):
  • CacheLoader.subproj/WKURLData.h:
  • CacheLoader.subproj/WKURLData.m:
  • CacheLoader.subproj/WKURLHandle.h:
  • Misc.subproj/WKMutableData.h:
  • Misc.subproj/WKMutableData.m: (+[WKByteBlock byteBlockWithBytes:length:]), (-[WKByteBlock initWithBytes:length:]), (-[WKByteBlock bytes]), (-[WKByteBlock length]), (-[WKByteBlock byteLength]), (-[WKByteBlock dealloc]), (+[WKByteRange rangeWithRange:]), (-[WKByteRange initWithRange:]), (-[WKByteRange range]), (-[WKByteRange isEqual:]), (-[WKByteRange hash]), (-[WKByteRange copyWithZone:]), (-[WKMutableData createBlockForRange:buffer:]), (-[WKMutableData length]), (-[WKMutableData bytes]), (-[WKMutableData byteBlocksForRange:]), (-[WKMutableData bytesInRange:]), (-[WKMutableData getBytes:]), (-[WKMutableData getBytes:length:]), (-[WKMutableData getBytes:range:]), (-[WKMutableData subdataWithRange:]), (-[WKMutableData initWithBytes:length:copy:freeWhenDone:bytesAreVM:]), (-[WKMutableData appendBytes:length:]), (-[WKMutableData dealloc]):
  • WebFoundation.pbproj/project.pbxproj:

Changes to incorporate use of the no-copy NSData object.

  • include/WCURLHandle.h:
  • src/kwq/KWQKHTMLPart.mm: (-[KHTMLPartLoadClient WCURLHandle:resourceDataDidBecomeAvailable:offset:length:userData:]):
  • src/kwq/KWQKloader.mm: (-[URLLoadClient WCURLHandle:resourceDataDidBecomeAvailable:offset:length:userData:]):

Jan 30, 2002:

5:41 PM Changeset in webkit [569] by rjw
  • 5 edits in trunk/WebCore

Trivial debugging changes.

3:38 PM Changeset in webkit [568] by rjw
  • 15 edits in trunk/WebKit

Cleaned up frame code. Fixed duplicate content problem.

3:37 PM Changeset in webkit [567] by rjw
  • 10 edits in trunk/WebCore

Cleanuped up frame code a bit. Fixed duplicate content problem.

7:29 AM Changeset in webkit [566] by kocienda
  • 21 edits in trunk

Added *.lo, *.la, and .libs to .cvsignore files

  • WebCore/.cvsignore:
  • WebCore/src/.cvsignore:
  • WebCore/src/kdelibs/khtml/css/.cvsignore:
  • WebCore/src/kdelibs/khtml/misc/.cvsignore:
  • WebCore/src/kdelibs/kjs/.cvsignore:

Added *.lo, *.la, Icon, and .libs to .cvsignore files

  • WebFoundation/.cvsignore:

Added *.lo, *.la, Icon, and .libs to .cvsignore files

  • WebKit/.cvsignore:

Jan 29, 2002:

5:44 PM Changeset in webkit [565] by rjw
  • 3 edits in trunk/WebKit/WebView.subproj

Fix for John.

5:07 PM Changeset in webkit [564] by rjw
  • 8 edits in trunk/WebKit

Added setMainView: for John.

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

Make copy of chars in QConstString constructor.

4:32 PM Changeset in webkit [562] by kocienda
  • 7 edits in trunk/WebCore

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

  • Some work on response headers.
  • Some work on progress indication/content length.
  • Some beginning of support for synchronous loads.
  • Worked around a smasher that results from not having the no-copy NSData object ready yet.
  • CacheLoader.subproj/WKHTTPURLHandle.h:
  • CacheLoader.subproj/WKHTTPURLHandle.m: (-[WKHTTPURLHandle setRequestHeader:forKey:]), (-[WKHTTPURLHandle setRequestHeaders:]), (-[WKHTTPURLHandle removeRequestHeaderForKey:]), (-[WKHTTPURLHandle contentLength]):
  • CacheLoader.subproj/WKHTTPURLProtocolHandler.m: (-[WKHTTPURLProtocolHandler performStreamRead:]):
  • CacheLoader.subproj/WKURLHandle.h:
  • CacheLoader.subproj/WKURLHandle.m: (-[WKURLHandleSynchronousClient init]), (-[WKURLHandleSynchronousClient WKURLHandleResourceDidBeginLoading:]), (-[WKURLHandleSynchronousClient WKURLHandleResourceDidCancelLoading:]), (-[WKURLHandleSynchronousClient WKURLHandleResourceDidFinishLoading:]), (-[WKURLHandleSynchronousClient WKURLHandle:resourceDataDidBecomeAvailable:offset:length:]), (-[WKURLHandleSynchronousClient WKURLHandle:resourceDidFailLoadingWithResult:]), (-[WKURLHandleSynchronousClient loadFinished]), (-[WKURLHandleSynchronousClient lock]), (-[WKURLHandleSynchronousClient unlock]), (-[WKURLHandleSynchronousClient waitInterval:]), (-[WKURLHandle loadInForeground]), (-[WKURLHandle loadInForeground:]), (-[WKURLHandle contentLength]), (-[WKURLHandle contentLengthReceived]), (-[WKURLHandle percentComplete]), (-[WKURLHandle dealloc]):
  • CacheLoader.subproj/WKURLLoad.m: (-[WKURLLoad dealloc]):
  • Added in a dummy protocol to clean up a warning that results from calling a method on an id.
  • Cleaned up handle variable in KWQKHTMLPart. This can now be freed once we get a proper notification that a load is done.
  • Support for reading text encoding from HTTP headers added back in.
  • include/WCURLHandle.h:
  • src/kwq/KWQKHTMLPart.mm: (encodingFromContentType), (KHTMLPart::slotData), (KHTMLPart::openURL), (KHTMLPart::closeURL):
3:27 PM Changeset in webkit [561] by rjw
  • 2 edits in trunk/WebCore

String fix.

3:14 PM Changeset in webkit [560] by rjw
  • 26 edits in trunk/WebCore

First pass at frame code. Still needs lots of cleanup.

3:14 PM Changeset in webkit [559] by rjw
  • 33 edits
    5 adds in trunk/WebKit

First pass at frame code. Still needs lots of cleanup.

8:56 AM Changeset in webkit [558] by kocienda
  • 3 edits
    1 add in trunk/WebCore

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

Checked in the missing file

  • include/WCURLHandle.h:
8:20 AM Changeset in webkit [557] by kocienda
  • 20 edits in trunk

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

These now link with WebFoundation, or contain directives
for linking with WebFoundation.

  • Tests/draw/drawApp/drawApp.pbproj/project.pbxproj:
  • Tests/khtmlview/WebViewTest/WebViewTest.pbproj/project.pbxproj:
  • Tests/qt/Makefile.am:

WebBrowser now links with WebFoundation

  • WebBrowser.pbproj/project.pbxproj:

Changed over to the new cache loader in WebFoundation

  • src/kwq/KWQKHTMLPart.h:
  • src/kwq/KWQKHTMLPart.mm: (-[KHTMLPartLoadClient init]), (-[KHTMLPartLoadClient WCURLHandleResourceDidBeginLoading:userData:]), (-[KHTMLPartLoadClient WCURLHandleResourceDidCancelLoading:userData:]), (-[KHTMLPartLoadClient WCURLHandleResourceDidFinishLoading:userData:]), (-[KHTMLPartLoadClient WCURLHandle:resourceDataDidBecomeAvailable:offset:length:userData:]), (-[KHTMLPartLoadClient WCURLHandle:resourceDidFailLoadingWithResult:userData:]), (-[KHTMLPartLoadClient dealloc]), (KHTMLPart::slotData), (KHTMLPart::openURL):
  • src/kwq/KWQKjobclasses.mm:
  • src/kwq/KWQKloader.mm: (-[URLLoadClient initWithLoader:]), (-[URLLoadClient WCURLHandleResourceDidBeginLoading:userData:]), (-[URLLoadClient WCURLHandleResourceDidCancelLoading:userData:]), (-[URLLoadClient WCURLHandleResourceDidFinishLoading:userData:]), (-[URLLoadClient WCURLHandle:resourceDataDidBecomeAvailable:offset:length:userData:]), (-[URLLoadClient WCURLHandle:resourceDidFailLoadingWithResult:userData:]), (-[URLLoadClient dealloc]):
  • src/kwq/kio/jobclasses.h:

Many cleanups and changes that resulted from integrating the
cache/loader into WebViewTest and Alexander.

  • CacheLoader.subproj/WKHTTPURLHandle.m: (-[WKHTTPURLHandle initWithURL:flags:group:requestMethod:requestData:]), (-[WKHTTPURLHandle dealloc]):
  • CacheLoader.subproj/WKHTTPURLProtocolHandler.m: (-[WKHTTPURLProtocolHandler initWithURLLoad:]):
  • CacheLoader.subproj/WKURLData.m:
  • CacheLoader.subproj/WKURLHandle.m: (-[WKURLHandle dealloc]):
  • CacheLoader.subproj/WKURLHandleClient.h:
  • CacheLoader.subproj/WKURLLoad.h:
  • CacheLoader.subproj/WKURLLoad.m: (+[WKURLLoad initialize]), (-[WKURLLoad initWithURL:flags:]), (-[WKURLLoad schedule]), (-[WKURLLoad lock]), (-[WKURLLoad unlock]), (-[WKURLLoad dealloc]), (-[WKURLLoad beginOriginLoad]), (-[WKURLLoad timedOut]), (+[WKURLLoad WKURLLoadCacheCheckerRun:]), (+[WKURLLoad WKURLLoadThrottlerRun:]), (+[WKURLLoad WKURLLoadSweeperRun:]), (+[WKURLLoad WKURLLoadCFStreamHandlerRun:]):
  • CacheLoader.subproj/WKURLLoadManager.m: (-[WKURLLoadManager initWithDefaultStack]), (-[WKURLLoadManager cancelRequestWithURLHandle:]), (-[WKURLLoadManager cancelAllRequestsWithURL:]), (-[WKURLLoadManager cacheObject:forURL:]), (-[WKURLLoadManager handleURLLoadDone:]), (-[WKURLLoadManager handleURLLoadedResourceData:]):
  • CacheLoader.subproj/WKURLMemoryCache.m: (-[WKURLMemoryCache truncateToSizeLimit]), (-[WKURLMemoryCache cacheObject:forURL:untilDate:]):
  • WebFoundation.pbproj/project.pbxproj:

WebKit now links with WebFoundation

  • WebKit.pbproj/kocienda.pbxuser:
  • WebKit.pbproj/project.pbxproj:
3:49 AM Changeset in webkit [556] by mjs
  • 25 edits
    12 adds in trunk/WebCore

Top level:

  • borrowed-classes.txt: Stop borrowing QMap, QDict, QPtrDict and QSortedList.

Added the usual bunch of new test cases, especially for QMap,
where we also do some glassbox testing and check Red/Black tree
invariant consistency.

  • Tests/qt/qdict-test.chk:
  • Tests/qt/qdict-test.cpp: (operator<<), (main):
  • Tests/qt/qmap-test.chk:
  • Tests/qt/qmap-test.cpp: (CheckRedBlackRulesAtNode), (CheckRedBlackRules), (main):
  • Tests/qt/qptrdict-test.chk:
  • Tests/qt/qptrdict-test.cpp: (operator<<), (main):
  • Tests/test.list:

WebCore:

Reimplement QDict, QMap, QPtrDict and QSortedList.

Reimplement QDict in terms of CFDictionary:

  • src/kwq/qt/qdict.h:
  • src/kwq/KWQDictImpl.h:
  • src/kwq/KWQDictImpl.mm: (KWQDictImpl::KWQDictImpl), (KWQDictImpl::insert), (KWQDictImpl::remove), (KWQDictImpl::find), (KWQDictIteratorImpl::KWQDictIteratorImpl), (KWQDictIteratorImpl::currentStringKey):

Reimplement QMap as a right-threaded red-black tree, splitting
the work between template classes that manipulate keys and values
and non-template base classes that handle all the pointer
manipulation:

  • src/kwq/qt/qmap.h:
  • src/kwq/KWQMapImpl.h:
  • src/kwq/KWQMapImpl.mm: (KWQMapNodeImpl::KWQMapNodeImpl), (KWQMapNodeImpl::left), (KWQMapNodeImpl::right), (KWQMapNodeImpl::predecessor), (KWQMapNodeImpl::successor), (KWQMapIteratorImpl::KWQMapIteratorImpl), (KWQMapIteratorImpl::incrementInternal), (KWQMapImpl::KWQMapImpl), (KWQMapImpl::rotateRight), (KWQMapImpl::rotateLeft), (KWQMapImpl::rebalanceAfterInsert), (KWQMapImpl::rebalanceAfterRemove), (KWQMapImpl::findInternal), (KWQMapImpl::insertInternal), (KWQMapImpl::removeInternal), (KWQMapImpl::swap), (KWQMapImpl::countInternal), (KWQMapImpl::clearInternal), (KWQMapImpl::beginInternal), (KWQMapImpl::endInternal):

Reimplement QPtrDict in terms of CFDictionary:

  • src/kwq/qt/qptrdict.h:
  • src/kwq/KWQPtrDictImpl.h:
  • src/kwq/KWQPtrDictImpl.mm: (KWQPtrDictImpl::KWQPtrDictPrivate::KWQPtrDictPrivate), (KWQPtrDictImpl::KWQPtrDictPrivate::~KWQPtrDictPrivate), (KWQPtrDictImpl::KWQPtrDictImpl), (KWQPtrDictImpl::~KWQPtrDictImpl), (invokeDeleteFuncOnValue), (KWQPtrDictImpl::clear), (KWQPtrDictImpl::count), (KWQPtrDictImpl::insert), (KWQPtrDictImpl::remove), (KWQPtrDictImpl::find), (KWQPtrDictImpl::swap), (KWQPtrDictImpl::assign), (KWQPtrDictImpl::take), (KWQPtrDictIteratorImpl::KWQPtrDictIteratorPrivate::KWQPtrDictIteratorPrivate), (KWQPtrDictIteratorImpl::KWQPtrDictIteratorPrivate::~KWQPtrDictIteratorPrivate), (KWQPtrDictIteratorImpl::KWQPtrDictIteratorImpl), (KWQPtrDictIteratorImpl::~KWQPtrDictIteratorImpl), (KWQPtrDictIteratorImpl::count), (KWQPtrDictIteratorImpl::current), (KWQPtrDictIteratorImpl::currentKey), (KWQPtrDictIteratorImpl::toFirst), (KWQPtrDictIteratorImpl::operator++):

Reimplement QSortedList:

  • src/kwq/qt/qsortedlist.h:
  • src/kwq/KWQArrayImpl.mm: Remove stray include.
  • src/kwq/Makefile.am: Add new files to build.
  • src/kwq/qt/_qdict.h, src/kwq/qt/_qgdict.h, src/kwq/qt/_qptrdict.h: Avoid causing problems when the relevant defines are not defined.
Note: See TracTimeline for information about the timeline view.