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

Timeline



Feb 1, 2002:

9:06 PM Changeset in webkit [586] by kocienda
  • 11 edits in trunk/WebCore

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

More cleanups to the no-copy NSData API.
This time the callback from the cache/loader has been
simplified from:

  • (void)WKURLHandle:(WKURLHandle *)sender resourceDataDidBecomeAvailable:(UInt8 *)bytes offset:(unsigned)offset length:(unsigned)length; to:
  • (void)WKURLHandle:(WKURLHandle *)sender resourceDataDidBecomeAvailable:(NSData *)data; This was made possible by some rearrangement in the private API. Changed name of WKByteBlockData to WKData.
  • include/WCURLHandle.h:
  • src/kwq/KWQKHTMLPart.mm: (-[KHTMLPartLoadClient WCURLHandle:resourceDataDidBecomeAvailable:userData:]):
  • src/kwq/KWQKloader.mm: (-[URLLoadClient WCURLHandle:resourceDataDidBecomeAvailable:userData:]):
  • CacheLoader.subproj/WCURLHandleGlue.m: (-[WCURLHandleClientProxy WKURLHandle:resourceDataDidBecomeAvailable:]):
  • CacheLoader.subproj/WKURLHandle.m: (-[WKURLHandleSynchronousClient WKURLHandle:resourceDataDidBecomeAvailable:]), (-[WKURLHandle notifyClientsDidLoadData]):
  • CacheLoader.subproj/WKURLHandleCGlue.h:
  • CacheLoader.subproj/WKURLHandleCGlue.m: (-[WKURLHandleCGlueClient WKURLHandle:resourceDataDidBecomeAvailable:]):
  • CacheLoader.subproj/WKURLHandleClient.h:
  • Misc.subproj/WKMutableDataPrivate.h:
  • Misc.subproj/WKMutableDataPrivate.m: (-[WKMutableData dataObjectsGreaterThanMatchedOffset:]), (+[WKData dataWithByteBlock:]), (-[WKData subdataWithRange:]):
5:58 PM Changeset in webkit [585] by cblu
  • 17 edits in trunk

Enabled plug-in detection for Javascript. Apple.com now works as it should. Also fixed plug-in deallocation

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

Implemenation of locationChangeDone:forDataSource;

5:28 PM Changeset in webkit [583] by rjw
  • 25 edits in trunk

Changes for dynamic scrolling views (not complete).
Added simple support for WKLocationChangeHandler so Alexander will diplsay
page when load is done.

1:56 PM Changeset in webkit [582] by rjw
  • 1 edit
    6 adds in trunk/WebKit

Added files from WebBrowser`

11:02 AM Changeset in webkit [581] by sullivan
  • 8 edits in trunk/WebKit

Added call to examine the entry at the current index in
the back/forward list without modifying the list. I needed
this to save context data (in my case, scroll position)
on the currently-viewed entry.

  • History.subproj/WKBackForwardList.h:
  • History.subproj/WKBackForwardList.m: (-[WKBackForwardList currentEntry]): Just returns the entry at the current index.

Added useful mechanism and hideous hack for using remembered scroll positions
with the back/forward list. There's no way to do this cleanly at this level;
we have to get WebKit involved. Most of this code is fine though, only the
restoring part should have to be redone.

  • BackForwardListEntry.h:
  • BackForwardListEntry.m: (+[BackForwardListEntry entryWithURL:]), (-[BackForwardListEntry scrollPoint]), (-[BackForwardListEntry setScrollPoint:]): New subclass of WKURIEntry; remembers a scroll point with each entry, and adds a convenience constructor. Some or all of this may move into WebKit later.
  • BrowserDocument.m: (-[BrowserDocument saveScrollPosition]): New method, reads the current scroll position from the view and stores it into the current back/forward list entry.

(-[BrowserDocument restoreScrollPosition]):
New method, reads the previously-saved scroll position from the current
back/forward list entry and scrolls the view to match.

(-[BrowserDocument restoreScrollPositionFromTimerHack:]),
(-[BrowserDocument restoreScrollPositionLaterHack]):
Timer-based hackery to wait a little while before calling restoreScrollPosition
since calling it before the new page has loaded has no effect. This will have
to be replaced with a WebKit-based mechanism for telling the webView what the
incoming page's initial scroll point should be.

(-[BrowserDocument goToURLBypassingBackForwardList:]),
(-[BrowserDocument goToURL:]),
(-[BrowserDocument goBack]),
(-[BrowserDocument goForward]):
Call the save/restore methods at the right places.

  • WebBrowser.pbproj/project.pbxproj: Updated for new files
9:14 AM Changeset in webkit [580] by kocienda
  • 8 edits in trunk/WebCore

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

At Richard's urging, I made some changes to the API of WKMutableData. I cleaned
up the API, and hid the extra no-copy functionality so that it is not visible
outside of this framework. Everything should be functionally equivalent with
these changes.

  • CacheLoader.subproj/WKURLHandle.m: (-[WKURLHandle notifyClientsDidLoadData]):
  • Misc.subproj/WKMutableDataPrivate.h:
  • Misc.subproj/WKMutableDataPrivate.m: (WKDataCheckBound), (-[WKMutableData dataObjectsGreaterThanMatchedOffset:]), (+[WKByteBlockData dataWithByteBlock:]), (-[WKByteBlockData initWithByteBlock:]), (-[WKByteBlockData length]), (-[WKByteBlockData getBytes:]), (-[WKByteBlockData getBytes:length:]), (-[WKByteBlockData getBytes:range:]), (-[WKByteBlockData subdataWithRange:]), (-[WKByteBlockData copyWithZone:]), (-[WKByteBlockData dealloc]):

Made some cleanups to the no-copy NSData API, and those changes
make the use of the no-copy functionality in this client code
much cleaner.

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

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.

Jan 23, 2002:

4:29 PM Changeset in webkit [555] by kocienda
  • 3 edits in trunk/WebKit

2002-01-23 Ken Kocienda <​kocienda@apple.com>

Took out @executable_path hack added for Alexander demo.
This should clear up a class of crash-on-launch issues.

  • WebKit.pbproj/project.pbxproj:

Jan 22, 2002:

2:03 PM Changeset in webkit [554] by rjw
  • 5 edits in trunk/WebCore

Implemented KWQDesktopWidget to represent main screen. Used by javascript.

Jan 21, 2002:

11:51 PM Changeset in webkit [553] by mjs
  • 30 edits
    11 adds in trunk/WebCore

Top level:

Turn off some borrowed classes, improve test coverage, and improve
build stability.

  • borrowed-classes.txt: Turn off borrowed QArray, QBuffer, QStringList and QStack.

# Add many new test cases for these classes, passed by both the old
and the new versions:

  • Tests/qt/qarray-test.chk:
  • Tests/qt/qarray-test.cpp: (main):
  • Tests/qt/qbuffer-test.chk:
  • Tests/qt/qbuffer-test.cpp: (main):
  • Tests/qt/qstack-test.chk:
  • Tests/qt/qstack-test.cpp: (main):
  • Tests/qt/qstringlist-test.chk:
  • Tests/qt/qstringlist-test.cpp: (main):
  • Tests/test.list:
  • Tests/qt/Makefile.am:

# Change how we define the USING defines a bit to make it more
generic. Also, be more paranoid abot the dreaded '$ln' problem.

  • acconfig.h:
  • autogen.sh:
  • configure.in:

WebCore:

Reimplemented QArray, QBuffer, QStack and QStringList; also fixed
some files for borrowed switchability, and fixed some bugs found
by my new test cases.

# Reimplement QArray:

  • src/kwq/qt/qarray.h:
  • src/kwq/KWQArrayImpl.h:
  • src/kwq/KWQArrayImpl.mm: (KWQArrayImpl::KWQArrayPrivate::KWQArrayPrivate), (KWQArrayImpl::KWQArrayPrivate::~KWQArrayPrivate), (KWQArrayImpl::KWQArrayImpl), (KWQArrayImpl::~KWQArrayImpl), (KWQArrayImpl::operator=), (KWQArrayImpl::at), (KWQArrayImpl::data), (KWQArrayImpl::size), (KWQArrayImpl::resize), (KWQArrayImpl::duplicate), (KWQArrayImpl::fill), (KWQArrayImpl::operator==):

# Reimplement QBuffer:

  • src/kwq/qt/qbuffer.h:
  • src/kwq/KWQBuffer.mm: (QBuffer::QBuffer), (QBuffer::~QBuffer), (QBuffer::buffer), (QBuffer::size), (QBuffer::isOpen), (QBuffer::open), (QBuffer::close), (QBuffer::writeBlock):
  • src/kwq/qt/qiodevice.h:

# Reimplement QStringList:

  • src/kwq/KWQStringList.mm: (QStringToCFString), (QStringList::split), (QStringList::QStringList), (QStringList::~QStringList), (QStringList::join), (QStringList::operator=):

# Reimplement QStack:

  • src/kwq/qt/qstack.h:
  • src/kwq/Makefile.am: Add new files to build.
  • src/kwq/KWQString.mm: (QString::find): Fix bug which returned the very first occurence in the string even when the optional starting point was passed in. Some of my new regression tests picked this up.

# Temporarily work around uses of non-kwq APIs:

  • src/kwq/WKPluginWidget.h:
  • src/kwq/qt/_qfile.cpp
  • src/kwq/qt/_qbuffer.cpp

# Guard contents of all these with the appropriate USING ifdef:

  • src/kwq/KWQStrList.h:
  • src/kwq/qt/_qarray.h:
  • src/kwq/qt/_qgarray.h:
  • src/kwq/qt/_qstrlist.h:

WebFoundation:

  • .cvsignore: Ignore generated files.
2:42 PM Changeset in webkit [552] by cblu
  • 2 edits in trunk/WebCore

Fixing dependency issue with stdarg

9:33 AM Changeset in webkit [551] by sullivan
  • 9 edits in trunk/WebKit
  • WebView.subproj/WKWebController.h:
  • WebView.subproj/WKWebView.h: Changed WKConcreteWebController to WKDefaultWebController in a couple of comments.

Jan 19, 2002:

12:58 AM Changeset in webkit [550] by mjs
  • 24 edits in trunk
  • src/kdelibs/kjs/Makefile.am: Fix testkjs build.

Fix a couple more static initialization problems:

  • src/kwq/KWQKHTMLPart.mm: (KHTMLPart::urlCursor):
  • src/kwq/KWQRegion.mm: (QRegion::QRegion), (QRegion::operator=):
  • src/.cvsignore, src/kdelibs/.cvsignore, src/kdelibs/khtml/css/.cvsignore, src/kdelibs/khtml/misc/.cvsignore, src/kdelibs/kjs/.cvsignore: Ignore stamp files.

Jan 18, 2002:

6:27 PM Changeset in webkit [549] by rjw
  • 38 edits
    24 adds
    5 deletes in trunk

First pass at new view/datasource/controller API.

3:39 PM Changeset in webkit [548] by mjs
  • 45 edits in trunk/WebCore

Top level:

  • coding_guidelines.txt: Updated to describe format for private fields.

WebCore:

Avoid static initialization of objects as much as possible. Order
of static initializers is unpredictable and we had some
cross-dependencies, so avoid this practice as much as possible to
fix various startup crashes.

  • src/kwq/KWQApplication.mm: (QApplication::palette), (QApplication::globalStrut):
  • src/kwq/KWQChar.mm:
  • src/kwq/KWQColor.mm:
  • src/kwq/KWQCursor.mm: (QCursor::QCursor), (QCursor::~QCursor):
  • src/kwq/KWQEvent.mm:
  • src/kwq/KWQKConfigBase.mm: (KConfigBase::readEntry), (KConfigBase::readColorEntry), (KConfigBase::readListEntry):
  • src/kwq/KWQKHTMLSettings.mm: (KHTMLSettings::encoding):
  • src/kwq/KWQKJavaEmbed.mm: (KJavaEmbed::sizeHint), (KJavaEmbed::minimumSizeHint):
  • src/kwq/KWQKLocale.mm: (KLocale::language):
  • src/kwq/KWQKMimeType.mm: (KMimeType::findByURL), (KMimeType::name):
  • src/kwq/KWQKPrinter.mm: (KPrinter::margins):
  • src/kwq/KWQKProtocolManager.mm: (KProtocolManager::httpProxy):
  • src/kwq/KWQKWinModule.mm: (KWinModule::workArea):
  • src/kwq/KWQKjobclasses.mm:
  • src/kwq/KWQKnetaccess.mm:
  • src/kwq/KWQPart.mm: (KParts::Part::widget), (KParts::ReadOnlyPart::url):
  • src/kwq/KWQPixmap.mm: (QPixmap::mask):
  • src/kwq/KWQToolTip.mm: (QToolTip::palette):
  • src/kwq/kde/_kurl.cpp:
  • src/kwq/kdecore/kurl.h:
10:38 AM Changeset in webkit [547] by cblu
  • 5 edits
    4 adds
    4 deletes in trunk/WebCore

Renamed KWQPlugin to WKPluginWidget

Jan 17, 2002:

9:28 PM Changeset in webkit [546] by mjs
  • 10 edits in trunk

Fix a couple of problems that kept `make -j3' from working from a
clean start (use stamp files to serialize build a bit more where
needed)

  • src/Makefile.am:
  • src/kdelibs/khtml/css/Makefile.am:
  • src/kdelibs/khtml/misc/Makefile.am:
  • src/kdelibs/kjs/Makefile.am:
8:04 PM Changeset in webkit [545] by mjs
  • 5 edits in trunk/WebCore
  • src/kwq/Makefile.am: Fix another bonehead mistake.
7:30 PM Changeset in webkit [544] by mjs
  • 11 edits in trunk/WebCore

Fix bonehead mistakes in last checkin which were killing Jersey.

  • src/kdelibs/khtml/ecma/Makefile.am:
  • src/kdelibs/khtml/html/Makefile.am:
  • src/kdelibs/khtml/rendering/Makefile.am:
  • src/kwq/kde/Makefile.am:
6:56 PM Changeset in webkit [543] by mjs
  • 30 edits in trunk

Top level:

  • configure.in: always substitute OBJCXXLD, for the benefit of WebCore speedups.

WebCore:

Build speedups:

  • autogen.sh, configure.in: Don't use libtool any more. Set RANLIB to 'echo' since ranlib is really slow and we don't really need to run it.
  • libtool.diff: Removed.
5:47 PM Changeset in webkit [542] by mjs
  • 32 edits in trunk

Top level:

Build speedups:

  • autogen.sh, configure.in: Don't use libtool any more. Set RANLIB to 'echo' since ranlib is really slow and we don't really need to run it.
  • libtool.diff: Removed.

WebCore:

Build speedups: Don't use libtool, and don't link static libraries
into each other.

  • src/Makefile.am
  • src/kdelibs/khtml/Makefile.am:
  • src/kdelibs/khtml/css/Makefile.am:
  • src/kdelibs/khtml/dom/Makefile.am:
  • src/kdelibs/khtml/ecma/Makefile.am:
  • src/kdelibs/khtml/html/Makefile.am:
  • src/kdelibs/khtml/java/Makefile.am:
  • src/kdelibs/khtml/misc/Makefile.am:
  • src/kdelibs/khtml/rendering/Makefile.am:
  • src/kdelibs/khtml/xml/Makefile.am:
  • src/kdelibs/kjs/Makefile.am:
  • src/kwq/Makefile.am:
  • src/kwq/kde/Makefile.am:
  • src/kwq/qt/Makefile.am:
4:55 PM Changeset in webkit [541] by cblu
  • 2 adds in trunk/WebCore

Adding npapi.mm

4:51 PM Changeset in webkit [540] by cblu
  • 2 edits
    2 deletes in trunk/WebCore

Removed npapi.c

4:45 PM Changeset in webkit [539] by cblu
  • 16 edits in trunk/WebCore

Added remaining mouse events to WKPluginView. Attributes (HTML tags) are now passed to plug-ins. Routed instance-specific plug-in to browser calls to WKPluginView

1:50 PM Changeset in webkit [538] by mjs
  • 18 edits
    6 adds in trunk/WebCore

top level:

  • configure.in: Improve odds of avoiding $ln problem a bit more. Also, turn on more c++ warning flags.
  • .cvsignore: Prune cruft.

WebCore:

  • src/kwq/qt/_qpoint.h, src/kwq/qt/_qrect.h, src/kwq/qt/_qsize.h, src/kwq/qt/qpoint.h, src/kwq/qt/qrect.h, src/kwq/qt/qsize.h: Make QPoint, QRect and QSize easily turn-off-able again.

Jan 16, 2002:

1:56 PM Changeset in webkit [537] by kocienda
  • 1 edit in trunk/WebCore/src/Makefile.am

Added a some more implementations.
Tweaked the interface to quite a few files.
Removed all compiler warnings.

  • CacheLoader.subproj/WKHTTPURLHandle.h:
  • CacheLoader.subproj/WKHTTPURLHandle.m: (-[WKHTTPURLHandle initWithURL:flags:group:requestMethod:postDict:]), (-[WKHTTPURLHandle initWithURL:flags:group:requestMethod:postData:]), (-[WKHTTPURLHandle didLoadData:fromStream:]), (-[WKHTTPURLHandle requestMethod]), (-[WKHTTPURLHandle setPostData:]), (-[WKHTTPURLHandle contentLength]), (-[WKHTTPURLHandle contentLengthReceived]), (-[WKHTTPURLHandle percentComplete]):
  • CacheLoader.subproj/WKURLDiskCache.m: (-[WKURLDiskCache objectForURL:]), (-[WKURLDiskCache cacheObject:forURL:]), (-[WKURLDiskCache cacheObject:forURL:untilExpiry:]), (-[WKURLDiskCache containsURL:]), (-[WKURLDiskCache expiryForURL:]), (-[WKURLDiskCache setExpiryForURL:expiry:]), (-[WKURLDiskCache invalidateURL:]), (-[WKURLDiskCache clearCache]), (-[WKURLDiskCache setSizeLimit:]), (-[WKURLDiskCache usage]):
  • CacheLoader.subproj/WKURLHandle.h:
  • CacheLoader.subproj/WKURLHandle.m: (+[WKURLHandle initialize]), (+[WKURLHandle registerURLHandleClass:]), (+[WKURLHandle URLHandleClassForURL:]), (+[WKURLHandle canInitWithURL:]), (-[WKURLHandle didLoadData:fromStream:]), (-[WKURLHandle backgroundLoadComplete]), (-[WKURLHandle backgroundLoadFailedWithResultCode:]), (-[WKURLHandle availableResourceData]), (-[WKURLHandle statusCode]), (-[WKURLHandle resultCode]), (-[WKURLHandle failureReason]):
  • CacheLoader.subproj/WKURLHandleClient.h:
  • CacheLoader.subproj/WKURLLoad.h:
  • CacheLoader.subproj/WKURLLoad.m: (-[WKURLHandle setStatusCode:]), (-[WKURLHandle setResultCode:]), (-[WKHTTPURLHandle setResponseHeaders:]), (-[WKHTTPURLHandle hasResponseHeaders]), (WKURLLoadReadStreamCallback), (+[WKURLLoad initialize]), (+[WKURLLoad URLLoadWithURL:]), (-[WKURLLoad initWithURL:]), (-[WKURLLoad addHandle:]), (-[WKURLLoad removeHandle:]), (-[WKURLLoad removeAllHandles]), (-[WKURLLoad isEqual:]), (-[WKURLLoad hash]), (-[WKURLLoad dealloc]), (+[WKURLLoad incrementConcurrentNetworkLoadsNow]), (+[WKURLLoad decrementConcurrentNetworkLoadsNow]), (-[WKURLLoad beginNetworkLoad]), (-[WKURLLoad beginHTTPNetworkLoad]), (-[WKURLLoad WKURLLoadReadStreamCallback:event:data:]), (-[WKURLLoad statusCode]), (-[WKURLLoad resultCode]), (-[WKURLLoad setStatusCode:]), (-[WKURLLoad setResultCode:]), (+[WKURLLoad WKURLLoadThrottlerRun:]), (+[WKURLLoad WKURLLoadLoaderRun:]), (+[WKURLLoad WKURLLoadSweeperRun:]), (+[WKURLLoad WKURLLoadCFStreamHandlerRun:]):
  • CacheLoader.subproj/WKURLLoader.m: (+[WKURLLoader sharedURLLoader]), (-[WKURLLoader requestWithURLHandle:]), (-[WKURLLoader cancelRequestWithURLHandle:]), (-[WKURLLoader cancelAllRequestsWithURL:]), (-[WKURLLoader cancelAllRequestsInGroup:]), (-[WKURLLoader cachedObjectForURL:]), (-[WKURLLoader cacheExpiryForURL:]), (-[WKURLLoader setCacheExpiryForURL:expiry:]), (-[WKURLLoader expireCachedObjectNow:]), (-[WKURLLoader clearAllCaches]):
  • CacheLoader.subproj/WKURLMemoryCache.m: (-[WKURLMemoryCache objectForURL:]), (-[WKURLMemoryCache cacheObject:forURL:]), (-[WKURLMemoryCache cacheObject:forURL:untilExpiry:]), (-[WKURLMemoryCache containsURL:]), (-[WKURLMemoryCache expiryForURL:]), (-[WKURLMemoryCache setExpiryForURL:expiry:]), (-[WKURLMemoryCache invalidateURL:]), (-[WKURLMemoryCache clearCache]), (-[WKURLMemoryCache setSizeLimit:]), (-[WKURLMemoryCache usage]):

Jan 15, 2002:

6:30 PM Changeset in webkit [536] by mjs
  • 5 edits in trunk

2002-01-15 Maciej Stachowiak <​mjs@apple.com>

  • src/kdelibs/kjs/Makefile.am: Add missing files to BUILT_SOURCES and build rules to fix `make -j3'

Jan 14, 2002:

11:21 AM Changeset in webkit [535] by mjs
  • 78 edits
    41 adds
    38 deletes in trunk

Convert build system to automake

  • Makefile.am: Add this
  • Makefile.in: Remove this
  • configure.in:

Remove newly autogenerated things,

  • aclocal.m4:
  • autogen.sh:
  • config.guess:
  • config.h.in:
  • config.sub:
  • configure:
  • missing:
  • acconfig.h, acinclude.m4: Templates for auto*
  • libtool.diff: Couple of tweaks needed to automake.
  • .cvsignore: Ignore the right stuff

Add these.

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

Remove these.

  • Tests/Makefile.in:
  • Tests/draw/Makefile:
  • Tests/draw/drawApp/Makefile.in:
  • Tests/khtmlview/WebViewTest/Makefile.in:
  • Tests/qt/Makefile.in:

Tweak link flags.

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

Ignore the right stuff.

  • Tests/khtmlview/.cvsignore:
  • Tests/khtmlview/WebViewTest/.cvsignore:
  • Tests/.cvsignore:
  • Tests/draw/.cvsignore:
  • Tests/qt/.cvsignore:
  • Tests/harness.c: Fix a couple of warnings.
  • Tests/qt/qarray-test.chk, Tests/qt/qarray-test.cpp (main): Remove a faulty test case: can't count on contents of uninitialized array!
  • Tests/test.list: Add a newly-enabled javascript test.
  • Updates/install-automake.sh, Updates/automake-1.5-mac-ported.diff, Updates/update: Install automake 1.5 as an update, patch for Mac OS X
  • Updates/install-gperf.sh: Fix potential minor bug for blind cut & pasters.

Jan 9, 2002:

7:38 PM Changeset in webkit [534] by rjw
  • 14 edits in trunk/WebCore

iFinally fixed underlining, HONEST!

4:26 PM Changeset in webkit [533] by cblu
  • 4 edits in trunk/WebCore

Passing mouse events to plug-ins

Jan 8, 2002:

5:44 PM Changeset in webkit [532] by cblu
  • 4 edits in trunk/WebCore

Fixed header problem

4:54 PM Changeset in webkit [531] by cblu
  • 4 edits in trunk/WebCore

Now sending null events to plug-ins

3:21 PM Changeset in webkit [530] by cblu
  • 8 edits in trunk/WebCore

Fixed plug-in positioning

12:51 PM Changeset in webkit [529] by cblu
  • 4 edits in trunk/WebCore

Plug-ins now rendering

12:18 PM Changeset in webkit [528] by cblu
  • 2 edits in trunk/WebCore

Now passing drawing coordinates to plug-in instances

12:17 PM Changeset in webkit [527] by cblu
  • 2 edits in trunk/WebCore

Now passing drawing coordinates to plug-in instances

Jan 7, 2002:

1:38 PM Changeset in webkit [526] by cblu
  • 2 edits in trunk/WebCore

Moved plug-in instance creation to WKPluginView from WKPlugin

1:37 PM Changeset in webkit [525] by cblu
  • 2 edits in trunk/WebCore

Moved plug-in instance creation to WKPluginView from WKPlugin

1:31 PM Changeset in webkit [524] by cblu
  • 15 edits in trunk/WebCore

Moved plug-in instance creation to WKPluginView from WKPlugin

Note: See TracTimeline for information about the timeline view.