Timeline



Feb 23, 2002:

6:52 PM Changeset in webkit [665] by mjs
  • 3 edits
    2 adds in trunk/WebCore
  • src/kwq/WCLoadProgress.h: Add the forgotten WCLoadProgress.h.

Feb 22, 2002:

11:21 PM Changeset in webkit [664] by mjs
  • 19 edits in trunk

WebFoundation:

Fix prebinding:

  • WebFoundation.pbproj/project.pbxproj: Set first segment address to 0x2000000 to avoid colliding with apps. Need to have permanent value assigned at some point.

WebCore:

Fix prebinding:

  • src/Makefile.am: Enable prebinding, set first segment address to 0x2200000 to avoid colliding with apps or our other frameworks. Change other link flags to support prebinding.

Set up some hacks to avoid link-time dependency on
WebKit. Prebinding is incompatible with - undefined suppress, so
we can't have WebCore depend on symbols provided by WebKit any
more:

  • src/kwq/KWQKHTMLPart.h:
  • src/kwq/KWQKloader.mm: (WCSetIFLoadProgressMakeFunc), (-[URLLoadClient WCURLHandleResourceDidFinishLoading:data:userData:]), (-[URLLoadClient WCURLHandle:resourceDataDidBecomeAvailable:userData:]):
  • src/kwq/WCPluginWidget.h:
  • src/kwq/WCPluginWidget.mm: (WCSetIFPluginMakeFunc), (WCPluginWidget::WCPluginWidget):

WebKit:

Fix prebinding:

  • WebKit.pbproj/project.pbxproj: Set first segment address 0x4000000 to avoid colliding with apps or our other frameworks.

Set up some hacks to avoid link-time dependency on
WebKit. Prebinding is incompatible with - undefined suppress, so
we can't have WebCore depend on symbols provided by WebKit any
more:

  • Plugins.subproj/IFPluginView.mm: (IFPluginMake), (+[IFPluginView load]), (startupVolumeName):
  • WebView.subproj/IFBaseWebController.mm: (IFLoadProgressMake), (+[IFLoadProgress load]):
4:29 PM Changeset in webkit [663] by cblu
  • 2 edits in trunk/WebKit/Plugins.subproj

Now sending null events after first drawRect when the port is valid. This was causing Flash to crash

3:58 PM Changeset in webkit [662] by cblu
  • 4 edits in trunk/WebKit/Plugins.subproj

Fixed a problem where plug-ins would show up blank

2:26 PM Changeset in webkit [661] by sullivan
  • 4 edits in trunk/WebKit

Added relatively complete unit tests for the two simple methods in
this category. These found bugs! Yay for unit tests!

  • Tests/WebFoundation-Misc/ifnscalendardateextensions-test.chk:
  • Tests/WebFoundation-Misc/ifnscalendardateextensions-test.m: (main):

Fixed problems in NSCalendarDate extensions revealed by unit tests.

  • Misc.subproj/IFNSCalendarDateExtensions.h:
  • Misc.subproj/IFNSCalendarDateExtensions.m: Removed [NSCalendarDate daysSinceDate:], which was broken. (-[NSCalendarDate compareDay:]): New method, returns NSComparisonResult. (-[NSCalendarDate isToday]): Rewrote to use compareDay:
  • WebFoundation.pbproj/project.pbxproj: Didn't change this on purpose, probably auto-changed by opening it in Puma.

Updated for modified NSCalendarDate extensions API.

  • History.subproj/IFWebHistoryPrivate.m: (-[IFWebHistoryPrivate findIndex:forDay:]): use compareDate: instead of daysSinceDate:, which no longer exists.
2:13 PM Changeset in webkit [660] by rjw
  • 2 edits in trunk/WebKit/Plugins.subproj

Added data: to didFinish:

1:20 PM Changeset in webkit [659] by rjw
  • 17 edits in trunk

Added data: to IFURLHandleResourceDidFinishLoading:.

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

Implemented missing getter for provisionalDataSource.

12:27 PM Changeset in webkit [657] by rjw
  • 13 edits in trunk/WebKit

Normalized code paths for setMainDataSource on controller and setDataSource on frame.

11:08 AM Changeset in webkit [656] by cblu
  • 2 edits in trunk/WebKit/Plugins.subproj

Added support for web page URL requests. Fixed a warning

8:06 AM Changeset in webkit [655] by kocienda
  • 10 edits in trunk/WebCore

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

Added missing calls to [super dealloc]

Changed memory allocation strategy in IFHTTPURLProtocolHandler. This no
longer allocates a fixed size block, but only allocates the size that
has been read from the network.

Fixed potential smasher related to freeing run loop sources.

Many memory cleanups, mostly work in tracking down ref counts and making
sure things get freed when they should.

Changed the way that the handle array is maintained inside IFURLLoad.
The new code minimizes copying of the handle list while preserving thread
safety.

Some fixes in IFURLLoadManager.m to support cancelling URLs. More work
to be done here.

Removed IFByteBlock class from IFMutableData and replaced with a no-copy
NSData from Foundation. The IFByteBlock class seemed redundant, and I could
remove the IFData class as well. This is a nice reduction in complexity in
the no-copy system.

  • CacheLoader.subproj/IFFileURLProtocolHandler.m: (-[IFFileURLProtocolHandler dealloc]):
  • CacheLoader.subproj/IFHTTPURLHandle.m:
  • CacheLoader.subproj/IFHTTPURLProtocolHandler.h:
  • CacheLoader.subproj/IFHTTPURLProtocolHandler.m: (-[IFHTTPURLProtocolHandler setResponseHeaders:]), (-[IFHTTPURLProtocolHandler performStreamRead:]):
  • CacheLoader.subproj/IFURLCacheObject.m:
  • CacheLoader.subproj/IFURLDiskCache.m: (-[IFURLDiskCache initWithSizeLimit:path:]):
  • CacheLoader.subproj/IFURLHandle.m: (-[IFURLHandleInstanceVariables dealloc]), (-[IFURLHandle cancelLoadInBackground]), (-[IFURLHandle backgroundLoadDidBegin]), (-[IFURLHandle didLoadData:]), (-[IFURLHandle backgroundLoadComplete]), (-[IFURLHandle backgroundLoadFailedWithResultCode:]), (-[IFURLHandle setResourceData:]), (-[IFURLHandle notifyClientsDidLoadData]):
  • CacheLoader.subproj/IFURLHandleCallBackClient.m: (-[IFURLHandleCallBackClient dealloc]):
  • CacheLoader.subproj/IFURLLoad.h:
  • CacheLoader.subproj/IFURLLoad.m: (-[IFURLLoad handles]), (-[IFURLLoad didLoadBytes:length:]), (-[IFURLLoad updateHandles]), (-[IFURLLoad succeeded]), (-[IFURLLoad failedWithResultCode:]), (-[IFURLLoad dealloc]), (+[IFURLLoad shutdown]), (+[IFURLLoad streamHandlerRunLoop]), (-[IFURLLoad initWithURL:attributes:flags:]), (-[IFURLLoad addHandle:]), (-[IFURLLoad removeHandle:]), (-[IFURLLoad removeAllHandles]), (-[IFURLLoad didBeginLoading]), (-[IFURLLoad checkForNewHandles]), (+[IFURLLoad IFURLLoadCacheCheckerRun:]), (+[IFURLLoad IFURLLoadCFStreamHandlerRun:]):
  • CacheLoader.subproj/IFURLLoadManager.m: (-[IFURLLoadManager initWithDefaultStack]), (-[IFURLLoadManager objectForURL:]), (-[IFURLLoadManager requestWithURLHandle:]), (-[IFURLLoadManager cancelRequestWithURLHandle:]):
  • CacheLoader.subproj/IFURLLoadPrivate.h:
  • CacheLoader.subproj/IFURLMemoryCache.m: (-[IFURLMemoryCache initWithSizeLimit:]), (-[IFURLMemoryCache dealloc]):
  • CacheLoader.subproj/IFURLProtocolHandler.m: (-[IFURLProtocolHandler initWithURLLoad:]):
  • CookieManager.subproj/IFCookie.m: (-[IFCookiePrivate dealloc]), (-[IFCookie dealloc]):
  • CookieManager.subproj/IFCookieManager.m: (-[IFCookieManagerPrivate dealloc]), (-[IFCookieManager dealloc]):
  • CookieManager.subproj/IFCookieManagerC.m: (-[IFCookieCallBackAcceptHandler dealloc]):
  • Misc.subproj/IFBinaryHeap.m: (-[IFBinaryHeap dealloc]):
  • Misc.subproj/IFMonitor.m: (-[IFMonitor dealloc]):
  • Misc.subproj/IFMutableData.h:
  • Misc.subproj/IFMutableData.m: (-[IFMutableData getBytes:length:]), (-[IFMutableData getBytes:range:]), (-[IFMutableData subdataWithRange:]), (-[IFMutableData initWithBytes:length:copy:freeWhenDone:bytesAreVM:]), (-[IFMutableData dealloc]):
  • Misc.subproj/IFMutableDataPrivate.h:
  • Misc.subproj/IFMutableDataPrivate.m: (-[IFByteRange dealloc]), (-[IFMutableData createBlockForRange:buffer:]), (-[IFMutableData dataObjectsGreaterThanMatchedOffset:]), (-[IFMutableData byteBlocksForRange:]), (-[IFMutableData bytesInRange:]), (-[IFMutableData appendBytes:length:]):
  • Misc.subproj/IFReadWriteLock.m: (-[IFReadWriteLock dealloc]):
  • Misc.subproj/IFRecursiveReadWriteLock.m:
  • WebFoundation.pbproj/project.pbxproj:

Sent handle an autorelease message.

  • src/kwq/KWQKHTMLPart.mm: (-[KHTMLPartLoadClient WCURLHandleResourceDidCancelLoading:userData:]), (-[KHTMLPartLoadClient WCURLHandleResourceDidFinishLoading:userData:]), (-[KHTMLPartLoadClient WCURLHandle:resourceDidFailLoadingWithResult:userData:]):
  • src/kwq/KWQKloader.mm: (-[URLLoadClient WCURLHandleResourceDidCancelLoading:userData:]), (-[URLLoadClient WCURLHandleResourceDidFinishLoading:userData:]), (-[URLLoadClient WCURLHandle:resourceDidFailLoadingWithResult:userData:]):

Feb 21, 2002:

10:31 PM Changeset in webkit [654] by mjs
  • 7 edits in trunk

Top level:

  • Tests/harness.c: (runtest): Run regression tests with debug frameworks. If they pass, run them again so the leak checker actually works (it never finds leaks with the debug frameworks in use).

Fix regression test failures:

  • Tests/CookieManager/wkcookie-test.m: (main):
  • Tests/WebFoundation-Misc/ifnsobjectextensions-test.m: (main):

WebCore:

  • src/kwq/KWQString.mm: (QString::fill): Fix a bug that was triggering assertion failures in CF.
  • src/kdelibs/kjs/kjs-test: Turn off some environment variables to make the tests pass.

WebFoundation:

  • Misc.subproj/IFNSStringExtensions.m: (-[NSString parseAsKeyValuePairHandleQuotes:]): Fix a bug that was leading to an assertion failure.
6:40 PM Changeset in webkit [653] by rjw
  • 12 edits in trunk/WebCore

Stop support.

6:40 PM Changeset in webkit [652] by rjw
  • 19 edits in trunk/WebKit

Stop supprt.

6:21 PM Changeset in webkit [651] by cblu
  • 1 edit
    2 deletes in trunk/WebKit

IFCarbonWindowView is no longer necessary. Removing.

6:14 PM Changeset in webkit [650] by cblu
  • 4 edits in trunk/WebKit/Plugins.subproj

BIG FIX: Plug-ins now use the window's port and share this port with other plug-ins. This allowed me to fix scrolling and clipping and mouse events.

3:03 PM Changeset in webkit [649] by mjs
  • 5 edits in trunk/WebCore

Top level:

  • Tests/harness.c: (main): Set DYLD_IMAGE_SUFFIX to "_debug" so our automated tests all run with assertions enabled.
  • Tests/libiftest/IFCheckLeaks.c: (IFCheckLeaksAtExitHandler): but turn if off before launching leaks', since it makes leaks' fail in spectacular ways.

WebCore:

  • src/kwq/KWQString.mm: (QString::fromCFString): Don't pass a length to CFStringCreateMutableCopy, since that makes the string fixed-length, which makes assertions fail when in debugging mode.

Feb 20, 2002:

5:48 PM Changeset in webkit [648] by rjw
  • 29 edits in trunk

Some groundwork to bring WebFoundation callbacks up to
WebKit.

1:53 PM Changeset in webkit [647] by mjs
  • 5 edits in trunk/WebKit
  • WebView.subproj/IFWebController.h: Fix my WebController screw-up.
12:06 PM Changeset in webkit [646] by mjs
  • 12 edits in trunk

Add automated leak checking to all the tests.

  • Tests/CookieManager/.cvsignore:
  • Tests/CookieManager/Makefile.am:
  • Tests/CookieManager/wkcookie-test.m: (main):
  • Tests/CookieManager/wkcookiemanager-test.m: (main):
  • Tests/Makefile.am:
  • Tests/WebFoundation-Misc/.cvsignore:
  • Tests/WebFoundation-Misc/Makefile.am:
  • Tests/WebFoundation-Misc/ifnsarrayextensions-test.m: (main):
  • Tests/WebFoundation-Misc/ifnsobjectextensions-test.m: (main):
  • Tests/WebFoundation-Misc/ifnsstringextensions-test.m: (main):
  • Tests/WebFoundation-Misc/ifrecursivereadwritelock-test.m: (thread_main), (main):
  • Tests/harness.c: (runtest), (main):
  • Tests/kde/.cvsignore:
  • Tests/kde/Makefile.am:
  • Tests/kde/kurl-test.chk:
  • Tests/kde/kurl-test.cpp: (main):
  • Tests/libiftest/.cvsignore:
  • Tests/libiftest/IFCheckLeaks.c: (IFOverwriteRegisters), (IFClearTheStack), (IFCheckLeaksAtExitHandler), (IFCheckLeaksAtExit):
  • Tests/libiftest/IFCheckLeaks.h:
  • Tests/libiftest/Makefile.am:
  • Tests/libiftest/objc-dummy.mm: (IF_objective_c_hack):
  • Tests/qt/.cvsignore:
  • Tests/qt/Makefile.am:
  • Tests/qt/qarray-test.cpp: (main):
  • Tests/qt/qbuffer-test.cpp: (main):
  • Tests/qt/qchar-test.cpp: (main):
  • Tests/qt/qcstring-test.cpp: (main):
  • Tests/qt/qdate-test.cpp: (main):
  • Tests/qt/qdatetime-test.cpp: (main):
  • Tests/qt/qdict-test.cpp: (main):
  • Tests/qt/qlist-test.cpp: (main):
  • Tests/qt/qmap-test.cpp: (main):
  • Tests/qt/qpoint-test.cpp: (main):
  • Tests/qt/qptrdict-test.cpp: (main):
  • Tests/qt/qrect-test.cpp: (main):
  • Tests/qt/qregexp-test.cpp: (main):
  • Tests/qt/qsize-test.cpp: (main):
  • Tests/qt/qsortedlist-test.cpp: (main):
  • Tests/qt/qstack-test.cpp: (main):
  • Tests/qt/qstring-test.cpp: (main):
  • Tests/qt/qstringlist-test.cpp: (main):
  • Tests/qt/qtime-test.cpp: (main):
  • Tests/qt/qvaluelist-test.cpp: (main):
  • Tests/qt/qvector-test.cpp: (main):
  • configure.in:

Feb 19, 2002:

5:14 PM Changeset in webkit [645] by sullivan
  • 11 edits
    4 adds in trunk/WebKit

Finished first cut at IFWebHistory implementation. All methods are implemented
except the string-matching ones.

  • History.subproj/IFURIEntry.h:
  • History.subproj/IFURIEntry.m: (-[IFURIEntry initWithURL:title:image:comment:]), (-[IFURIEntry lastVisitedDate]), (-[IFURIEntry setModificationDate:]), (-[IFURIEntry setLastVisitedDate:]): Changed all NSDates to be NSCalendarDates.
  • History.subproj/IFWebHistory.h:
  • History.subproj/IFWebHistory.m: (-[IFWebHistory init]), (-[IFWebHistory dealloc]), (-[IFWebHistory sendEntriesChangedNotification]), (-[IFWebHistory addEntry:]), (-[IFWebHistory removeEntry:]), (-[IFWebHistory removeEntriesForDay:]), (-[IFWebHistory removeAllEntries]), (-[IFWebHistory orderedLastVisitedDays]), (-[IFWebHistory orderedEntriesLastVisitedOnDay:]), (-[IFWebHistory entriesWithAddressContainingString:]), (-[IFWebHistory entriesWithTitleOrAddressContainingString:]), (-[IFWebHistory containsURL:]): Implemented all IFWebHistory methods by calling through to IFWebHistoryPrivate object. Send a change notification each time the actual data changes. Removed all canned-data mechanisms.
  • History.subproj/IFWebHistoryPrivate.h:
  • History.subproj/IFWebHistoryPrivate.m: (-[IFWebHistoryPrivate init]), (-[IFWebHistoryPrivate dealloc]), (-[IFWebHistoryPrivate findIndex:forDay:]), (-[IFWebHistoryPrivate insertEntry:atDateIndex:]), (-[IFWebHistoryPrivate removeEntryForURLString:]), (-[IFWebHistoryPrivate addEntry:]), (-[IFWebHistoryPrivate removeEntry:]), (-[IFWebHistoryPrivate removeEntriesForDay:]), (-[IFWebHistoryPrivate removeAllEntries]), (-[IFWebHistoryPrivate orderedLastVisitedDays]), (-[IFWebHistoryPrivate orderedEntriesLastVisitedOnDay:]), (-[IFWebHistoryPrivate entriesWithAddressContainingString:]), (-[IFWebHistoryPrivate entriesWithTitleOrAddressContainingString:]), (-[IFWebHistoryPrivate containsURL:]): Implemented guts of history mechanism using a dictionary for URL lookup and a sorted array of dates with entries and a sorted array of sorted arrays of entries per date.
  • WebKit.pbproj/project.pbxproj: Updated for new files

Made History window work.

  • BrowserDocument.h: whitespace changes only
  • BrowserDocument.m: (-[BrowserDocument addHistoryEntryForCurrentPage]): New method. (-[BrowserDocument locationChangeDone:forFrame:]): Call new method. (-[BrowserDocument locationChangeStartedForFrame:initiatedByUserEvent:]): Changed postNotification to use simpler userinfo-free version.
  • GlobalHistory.m: (+[GlobalHistory sharedGlobalHistory]): Register for changed notifications from IFWebHistory

(-[GlobalHistory outlineView:objectValueForTableColumn:byItem:]): Use "today"
for current date; "unknown title" for nil titles.
(-[GlobalHistory historyIsEmpty]): New private convenience method.
(-[GlobalHistory expandToday]): New method, expands the triangle for today's
history entries if the first triangle is for today.
(-[GlobalHistory updateButtons]),
(-[GlobalHistory validateUserInterfaceItem:]): Use historyIsEmpty
(-[GlobalHistory receivedEntriesChangedNotification:]): New method, react to
change notification by reloading data and updating buttons.
(-[GlobalHistory removeSelectedItems:]),
(-[GlobalHistory removeAll:]):
Implemented by calling IFWebHistory methods.
(-[GlobalHistory showWindow:]): expand today's triangle

  • English.lproj/History.nib: Removed "completely fake" from History window title.
Note: See TracTimeline for information about the timeline view.