Timeline



May 24, 2002:

3:12 PM Changeset in webkit [1216] by mjs
  • 3 edits
    3 adds in trunk/JavaScriptCore

Added license and acknowledgements.

  • AUTHORS: Added.
  • COPYING.LIB: Added.
  • THANKS: Added.
9:57 AM Changeset in webkit [1215]
  • 6 copies
    1 delete in tags/Alexander_0_3

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

9:57 AM Changeset in webkit [1214] by sheridan
  • 8 edits in trunk

modified changelogs with 0.3 markers

8:45 AM Changeset in webkit [1213]
  • 6 copies
    1 delete in tags/Alexander-6

This commit was manufactured by cvs2svn to create tag 'Alexander-6'.

8:45 AM Changeset in webkit [1212] by sheridan
  • 8 edits in trunk

Alexander-6 version

May 23, 2002:

3:44 PM Changeset in webkit [1211] by mjs
  • 15 edits in trunk

WebCore:

Fixes for the following (the first bug also requires WebKit and
WebBrowser changes):

Radar 2896391 - command-click should open link in new window
Radar 2935858 - two mails for each mailto:

  • khtml/html/html_inlineimpl.cpp: (HTMLAnchorElementImpl::defaultEventHandler): Set flag for Meta key in addition to Control, Shift and Alt, since the Command key is treated as Meta.
  • kwq/KWQKHTMLPart.mm: (KHTMLPart::urlSelected): Open a new window if the user command-clicked. (KHTMLPart::khtmlMouseMoveEvent): Clean up use of braces and ifdefs to make prepare-ChangeLog happy. (KHTMLPart::khtmlMouseReleaseEvent): Remove code that tried to process link click events here. This made link clicks get processed twice, now that mouse events are hooked up for real.
  • kwq/external.h: prototype openNewWindowWithURL: method.

WebKit:

WebKit part of the fix for:

Radar 2896391 - command-click should open link in new window

  • WebView.subproj/IFBaseWebController.mm: (-[IFBaseWebController openNewWindowWithURL:]): Default implementation silently does nothing.
  • WebView.subproj/IFWebController.h: Add openNewWindowWithURL: method.
  • WebView.subproj/IFWebView.mm: (-[IFWebView _addModifiers:toState:]): Split out modifier key handling to here. Treat Command as Meta. (-[IFWebView mouseUp:]): Use new method to set key modifiers for mouse events. (-[IFWebView mouseDown:]): Use new method to set key modifiers for mouse events. (-[IFWebView keyDown:]): Use new shared code for key modifiers. (-[IFWebView keyUp:]): Use new shared code for key modifiers.

WebBrowser:

WebBrowser part of the fix for:

Radar 2896391 - command-click should open link in new window

  • WebController.m: (-[WebController openNewWindowWithURL:]): Implement this new IFWebController method by opening a new browser window.
3:23 PM Changeset in webkit [1210] by kocienda
  • 1 edit in trunk/WebKit/Misc.subproj/WebFileDatabase.m

2002-05-23 Kenneth Kocienda <kocienda@apple.com>

Reviewed by: Maciej Stachowiak

Fix for this bug:

Radar 2935882 (IFURLFileReader class has unbalanaced release count on an NSData ivar)

IFURLFileReader can create an ivar that points to a data using an method that
returns an autoreleased object. Then, without retaining the data anywhere
internally, it releases the data in its dealloc method.

This has been fixed. Now the retain/release count is guaranteed to be balanced

  • Database.subproj/IFURLFileDatabase.m: (-[IFURLFileReader initWithPath:])
3:11 PM Changeset in webkit [1209] by kocienda
  • 5 edits in trunk/WebCore

2002-05-23 Kenneth Kocienda <kocienda@apple.com>

More work to fix this bug:

Radar 2883631 (need to implement support for META HTTP_EQUIV=REFRESH)

There was yet two more cases where the refresh timers were getting clobbered.
Fixed.

  • khtml/ecma/kjs_window.cpp: (WindowQObject::parentDestroyed)
  • khtml/khtmlview.cpp: (KHTMLView::clear)
3:01 PM Changeset in webkit [1208] by rjw
  • 4 edits in trunk/WebCore

Fixed crasher 2935757. I still need to investigate the root cause
of this problem.

11:36 AM Changeset in webkit [1207] by kocienda
  • 17 edits in trunk

2002-05-23 Kenneth Kocienda <kocienda@apple.com>

Fixes for these bugs:

Radar 2883631 (need to implement support for META HTTP_EQUIV=REFRESH)
Radar 2935472 (Non-standard html pages don't always get decoded)

WebCore

  • khtml/khtml_part.cpp: Don't kill all timers. Just kill the ones for this object. (KHTMLPart::~KHTMLPart):
  • khtml/khtml_part.h: Modified interface to slotData to add a flag for when all data for a load has been received.
  • khtml/khtmlview.cpp: (KHTMLView::~KHTMLView): Don't kill all timers. Just kill the ones for this object.
  • kwq/KWQKHTMLPart.mm: (KHTMLPart::slotData): Senses when text encoding is not available, but all data has been received. (KHTMLPart::write): Ditto (KHTMLPart::scheduleRedirection):
  • libwebcore.exp: Changed symbol for slotData

WebKit:

  • WebView.subproj/IFMainURLHandleClient.h:
  • WebView.subproj/IFMainURLHandleClient.mm: (-[IFMainURLHandleClient setContentPolicy:]): Updated method to use new processData interface. (-[IFMainURLHandleClient IFURLHandle:resourceDataDidBecomeAvailable:]): Senses when all data has been received for a load. (-[IFMainURLHandleClient processData:isComplete:allDataReceived:]): Modified interface to add a flag for when all data for a load has been received.
9:38 AM Changeset in webkit [1206] by sheridan
  • 8 edits in trunk

changing version number back to "unofficial"
tree is open

6:13 AM Changeset in webkit [1205]
  • 6 copies
    1 delete in tags/Alexander-5

This commit was manufactured by cvs2svn to create tag 'Alexander-5'.

6:13 AM Changeset in webkit [1204] by mjs
  • 17 edits
    20 adds in trunk

WebKit:

Move authentication panel to WebKit and make it a sheet, fixing:

Radar 2876445 - Authentication panel should be a sheet
Radar 2876449 - The Alexander authentication panel should be moved
to WebKit for use as a standard one

  • Panels.subproj/English.lproj/IFAuthenticationPanel.nib: Added.
  • Panels.subproj/IFAuthenticationPanel.h: Added.
  • Panels.subproj/IFAuthenticationPanel.m: Added.
  • Panels.subproj/IFPanelAuthenticationHandler.h: Added.
  • Panels.subproj/IFPanelAuthenticationHandler.m: Added.
  • Panels.subproj/IFStandardPanels.h: Added.
  • Panels.subproj/IFStandardPanels.m: Added.
  • Panels.subproj/IFStandardPanelsPrivate.h: Added.
  • WebKit.pbproj/project.pbxproj: Add new files to build.
  • Plugins.subproj/IFPluginStream.mm: (-[IFPluginStream IFURLHandleResourceDidBeginLoading:]): Notify of load start. (-[IFPluginStream IFURLHandleResourceDidFinishLoading:data:]): Notify of load end. (-[IFPluginStream IFURLHandleResourceDidCancelLoading:]): Likewise. (-[IFPluginStream IFURLHandle:resourceDidFailLoadingWithResult:]): Likewise. (-[IFPluginStream IFURLHandle:didRedirectToURL:]): Notify that old URL is no longer loading, but new one is.
  • WebView.subproj/IFBaseWebControllerPrivate.h:
  • WebView.subproj/IFBaseWebControllerPrivate.mm: (-[IFBaseWebController _didStartLoading:]): New private method used to track what URLs are loading on behalf of this controller. (-[IFBaseWebController _didStopLoading:]): Likewise.
  • WebView.subproj/IFMainURLHandleClient.mm: (-[IFMainURLHandleClient IFURLHandleResourceDidBeginLoading:]): Notify of load start. (-[IFMainURLHandleClient IFURLHandleResourceDidCancelLoading:]): Notify of load end. (-[IFMainURLHandleClient IFURLHandleResourceDidFinishLoading:data:]): Likewise. (-[IFMainURLHandleClient IFURLHandle:resourceDataDidBecomeAvailable:]): Likewise. (-[IFMainURLHandleClient IFURLHandle:resourceDidFailLoadingWithResult:]): Likewise. (-[IFMainURLHandleClient IFURLHandle:didRedirectToURL:]): Notify of load end and start.

WebCore:

Notify when loads of sub-URLs start and stop, so panels for these
can be attached to the right windows.

  • kwq/KWQKloader.mm: (-[URLLoadClient IFURLHandleResourceDidBeginLoading:]): (-[URLLoadClient IFURLHandleResourceDidCancelLoading:]): (-[URLLoadClient IFURLHandleResourceDidFinishLoading:data:]): (-[URLLoadClient IFURLHandle:resourceDidFailLoadingWithResult:]): (-[URLLoadClient IFURLHandle:didRedirectToURL:]):
  • kwq/external.h:

May 22, 2002:

10:18 PM Changeset in webkit [1203] by cblu
  • 6 edits in trunk/WebKit

Fixed download data source leaks when downloads are cancelled.

  • WebView.subproj/IFBaseWebControllerPrivate.mm: (-[IFBaseWebController _mainReceivedProgress:forResource:fromDataSource:]):
  • WebView.subproj/IFMainURLHandleClient.mm: (-[IFMainURLHandleClient IFURLHandleResourceDidCancelLoading:]): (-[IFMainURLHandleClient IFURLHandle:resourceDidFailLoadingWithResult:]):
6:35 PM Changeset in webkit [1202] by cblu
  • 4 edits in trunk/WebKit

WebKit:

Removed activate events as this was causing problems
for the QT plug-in.

  • Plugins.subproj/IFPluginView.mm: (-[IFPluginView windowBecameKey:]): (-[IFPluginView windowResignedKey:]):

WebBrowser:

Added licensing code.

  • WebBrowser.pbproj/project.pbxproj:
  • _CFA2UC.c: Added. (NSGiantRaise): (iszero): (newGiant): (data_to_giant): (giant_with_data): (bitlen): (bitval): (isone): (gcompg): (gtog): (int_to_giant): (negg): (iaddg): (normal_addg): (normal_subg): (reverse_subg): (addg): (subg): (gshiftleft): (bdivg): (mulg): (binvaux): (binvg): (initialguess): (mulndigits): (gsquare): (newtondivide): (gsane): (stablemodg): (modg): (absg): (gshiftright): (extractbits): (gmersennemod): (GiantAuxMul): (GiantGrammarMul): (make_base): (ell_even): (ell_odd): (sequalg): (elliptic): (elliptic_simple): (which_curve): (new_key): (new_giant_from_hexstr): (CFValidate): (MyCFCopyRegularEthernetAddrString): (Alexander_CFA2UC): (GetEthernetAddr):
  • main.m: (main):
6:33 PM Changeset in webkit [1201]
  • 1 copy
    2 deletes in tags/JavaScriptCore-5

This commit was manufactured by cvs2svn to create tag
'JavaScriptCore-5'.

6:33 PM Changeset in webkit [1200]
  • 1 copy
    2 deletes in tags/JavaScript-5

This commit was manufactured by cvs2svn to create tag 'JavaScript-5'.

6:33 PM Changeset in webkit [1199] by mjs
  • 4 edits in trunk/JavaScriptCore

JavaScriptCore-5

4:10 PM Changeset in webkit [1198] by kocienda
  • 1 edit in trunk/WebKit/Misc.subproj/WebFileDatabase.m

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

Reviewed by: Richard Williamson

Removed an assertion that was causing problems with cache object removals.

  • Database.subproj/IFURLFileDatabase.m: (-[IFURLFileDatabaseOp initWithCode:key:object:]):
3:45 PM Changeset in webkit [1197] by rjw
  • 6 edits in trunk/WebCore

Additional additional callback when resource is first loaded.

3:43 PM Changeset in webkit [1196] by mjs
  • 3 edits in trunk/JavaScriptCore

Added retroactive review comments.

1:31 PM Changeset in webkit [1195] by cblu
  • 4 edits in trunk/WebKit

Fixed crasher caused by not retaining.
Fixed targeting bug.

  • Plugins.subproj/IFPluginView.mm: (-[IFPluginView initWithFrame:plugin:url:mime:arguments:mode:]): (-[IFPluginView getURLNotify:target:notifyData:]): (-[IFPluginView getURL:target:]): (-[IFPluginView postURLNotify:target:len:buf:file:notifyData:]): (-[IFPluginView postURL:target:len:buf:file:]):
11:34 AM Changeset in webkit [1194] by rjw
  • 4 edits in trunk/WebKit

Changed semantics of isLoading to only return YES if
the datasource is loading resources related to the intial
load. Other resources loaded later by JS will not be
accounted for by isLoading.

12:39 AM Changeset in webkit [1193] by cblu
  • 22 edits
    2 deletes in trunk/WebKit

WebBrowser:

  • Added an array to the defaults for MIME types for downloaded files that we open after download.
  • Made sure we check for IFContentPolicySave when checking if a data source is a download data source.
  • Set policy to IFContentPolicySave for types not in the defaults.
  • Defaults.plist:
  • DownloadMonitor.m: (-[DownloadMonitor monitorDownload:withProgress:error:dataSource:]):
  • LocationChangeHandler.m: (-[LocationChangeHandler requestContentPolicyForMIMEType:]):
  • WebController.m: (-[WebController receivedProgress:forResource:fromDataSource:]): (-[WebController receivedError:forResource:partialProgress:fromDataSource:]):

WebKit:

  • Removed obsolete MIME/download related code.
  • Minor clean-ups.
  • Made WebKit support all text/* MIME types.
  • Now send NPP_URLNotify when pages requested by plug-ins are loaded.
  • Simplified NPP_Get/NPP_Post code.
  • MIME.subproj/IFContentHandler.h:
  • MIME.subproj/IFContentHandler.m:
  • MIME.subproj/IFDownloadHandler.mm:
  • MIME.subproj/IFMIMEDatabase.h: Removed.
  • MIME.subproj/IFMIMEDatabase.m: Removed.
  • MIME.subproj/IFMIMEHandler.h:
  • MIME.subproj/IFMIMEHandler.m: (+[IFMIMEHandler MIMEHandlerTypeForMIMEType:]): (+[IFMIMEHandler canShowMIMEType:]):
  • Plugins.subproj/IFPluginView.h:
  • Plugins.subproj/IFPluginView.mm: (-[IFPluginView initWithFrame:plugin:url:mime:arguments:mode:]): (-[IFPluginView dealloc]): (-[IFPluginView frameStateChanged:]): (-[IFPluginView loadURL:inTarget:withNotifyData:andHandleAttributes:]): (-[IFPluginView getURLNotify:target:notifyData:]): (-[IFPluginView getURL:target:]): (-[IFPluginView postURLNotify:target:len:buf:file:notifyData:]): (-[IFPluginView postURL:target:len:buf:file:]): (-[IFPluginView invalidateRect:]): (-[IFPluginView invalidateRegion:]): (-[IFPluginView forceRedraw]):
  • WebKit.pbproj/project.pbxproj:
  • WebView.subproj/IFMainURLHandleClient.h:
  • WebView.subproj/IFMainURLHandleClient.mm: (-[IFMainURLHandleClient dealloc]): (-[IFMainURLHandleClient IFURLHandle:resourceDataDidBecomeAvailable:]): (-[IFMainURLHandleClient processData:isComplete:]):
  • WebView.subproj/IFWebFramePrivate.h:
  • WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFrame _setState:]):
12:09 AM Changeset in webkit [1192] by mjs
  • 4 edits in trunk/JavaScriptCore

Fixed Radar 2928775 - Sherlock crashes sitting in stocks channel

  • kjs/internal.cpp: (InterpreterImp::InterpreterImp): Set the interp pointer earlier, in case garbage collection takes place while creating the global values.

May 21, 2002:

6:51 PM Changeset in webkit [1191] by rjw
  • 4 edits in trunk/WebKit

Fixed baseline regression. Obvious of sites that have tables w/ backgrounds,
i.e. www.slashdot.org.

5:36 PM Changeset in webkit [1190] by rjw
  • 19 edits in trunk

Lots of changes for DHTML.
Bugs fixes, and fixes to regressions.

Changes to support additional DHTML events.

2:54 PM Changeset in webkit [1189] by kocienda
  • 5 edits in trunk/WebCore

2002-05-21 Kenneth Kocienda <kocienda@apple.com>

Fix for this bug:

Radar 2924728 (post form fails at pt.apple.com; succeeds at macosx.apple.com)

Posted forms are now submitted with the IFURLHandleFlagLoadFromOrigin
load flag set. This prevents a potential bug which may cause a page
with a form that uses itself as an action to be returned from the
cache without submitting.

  • kwq/KWQKHTMLPart.mm: (KHTMLPart::submitForm)
1:48 PM Changeset in webkit [1188] by cblu
  • 8 edits in trunk/WebKit

WebFoundation:

Fix for 2925907 - [IFURLHandle resourceData] returns nil until load is complete

  • CacheLoader.subproj/IFURLHandle.m: (-[IFURLHandle resourceData]):

WebKit:

Content policy can now be sent at a later time to avoid blocking.

  • WebView.subproj/IFMainURLHandleClient.h:
  • WebView.subproj/IFMainURLHandleClient.mm: (-[IFMainURLHandleClient initWithDataSource:part:]): (-[IFMainURLHandleClient IFURLHandle:resourceDataDidBecomeAvailable:]):
10:25 AM Changeset in webkit [1187] by cblu
  • 5 edits in trunk/WebKit

Move the tracking rect after the view has moved.

  • Plugins.subproj/IFPluginView.mm: (-[IFPluginView viewHasMoved:]):

Fixed logging.

  • Plugins.subproj/npapi.m: (NPN_UserAgent): (NPN_MemAlloc): (NPN_MemFree): (NPN_MemFlush): (NPN_ReloadPlugins):
7:50 AM Changeset in webkit [1186] by kocienda
  • 7 edits in trunk

2002-05-21 Kenneth Kocienda <kocienda@apple.com>

Merged these four include files into the precompiled header.
These are used for the enhanced assertion/debuggin support I
added yesterday.

<signal.h>
<sys/types.h>
<sys/time.h>
<sys/resource.h>

  • WebCore/WebCorePrefix.h
  • WebFoundation/WebFoundationPrefix.h
  • WebKit/WebFoundationPrefix.h
  • WebFoundation/WebFoundation.pbproj/project.pbxproj: PB decided that this file changed in some cryptic way.

May 20, 2002:

6:19 PM Changeset in webkit [1185] by cblu
  • 8 edits in trunk/WebKit

Added support for plug-ins to send URL requests to certain targets.

Added frameNamed to IFWebFrame.

  • Plugins.subproj/IFPluginView.mm: (-[IFPluginView getURLNotify:target:notifyData:]): (-[IFPluginView postURLNotify:target:len:buf:file:notifyData:]):
  • WebView.subproj/IFWebFrame.h:
  • WebView.subproj/IFWebFrame.mm: (-[IFWebFrame frameNamed:]):
5:51 PM Changeset in webkit [1184] by darin
  • 3 edits
    1 add in trunk/WebCore

Forgot one file.

  • khtml/khtml_part.moc: Added.
5:30 PM Changeset in webkit [1183] by darin
  • 47 edits
    25 adds
    2 deletes in trunk/WebCore

Use more of the original khtml_part.cpp; a step in the direction of factoring
our code out so more of it can go in WebKit and we don't need external.h.

  • khtml/Makefile.am:
  • khtml/khtml_part.cpp:
  • khtml/khtml_part.h:
  • khtml/khtmlpart_p.h: Start compiling khtml_part.cpp and using khtmlpart_p.h again.
  • kwq/KWQKHTMLPart.mm: Remove code that was identical to khtml_part.cpp. We aren't going to use the "copy and hack our copy" approach on this class for the long termk, and this is the first step in cleaning things up.
  • khtml/khtml_ext.h: Removed.
  • khtml/khtml_factory.h: Removed.
  • khtml/misc/loader.h:
  • khtml/xml/dom_docimpl.cpp: (DocumentImpl::recalcStyleSelector): Remove some APPLE_CHANGES ifdefs we don't need any more.
  • kwq/KWQDateTime.mm: Simplify things like copy constructors.
  • kwq/kdeui/kcursor.h:
  • kwq/KWQKCursor.mm: Add handCursor.
  • kwq/KWQKHTMLFactory.mm: Put in real implementations, not just placeholders.
  • kwq/KWQKHTMLPartBrowserExtension.mm:
  • kwq/KWQKInstance.mm:
  • kwq/KWQPart.mm:
  • kwq/KWQbrowserextension.mm: Empty these files out, nothing in them is needed any more.
  • kwq/khtml/khtml_settings.h:
  • kwq/KWQKHTMLSettings.mm: (KHTMLSettings::isJavaEnabled): (KHTMLSettings::autoLoadImages): (KHTMLSettings::isPluginsEnabled): (KHTMLSettings::isJavaScriptEnabled): (KHTMLSettings::isJavaScriptDebugEnabled): Moved settings here from KWQKHTMLPart.mm
  • kwq/kdecore/kurl.h:
  • kwq/KWQKURL.mm: (KURL::encodedHtmlRef): (KURL::htmlRef): Placeholders for these two, called in KHTMLPart, but maybe not really needed.
  • kwq/KWQKloader.mm: (Cache::preloadScript): (Cache::preloadStyleSheet): Empty functions for these, called in KHTMLPart but no implementation needed.
  • kwq/qt/qtimer.h:
  • kwq/KWQTimer.mm: (QTimer::isActive): (QTimer::start): (QTimer::stop): More timer functions.
  • kwq/qt/qscrollview.h: Add one more function.
  • kwq/kdecore/kinstance.h: Simplify.
  • kwq/kdeui/kaction.h: Simplify.
  • kwq/khtml/khtml_factory.h: Simplify.
  • kwq/kparts/browserextension.h: Simplify.
  • kwq/kparts/part.h: Simplify.
  • kwq/qt/qdatetime.h: Simplify.
  • kwq/kdecore/klibloader.h: Added.
  • kwq/khtml/khtml_ext.h: Added.
  • kwq/kparts/partmanager.h: Added. Nearly-empty files with just simple placeholders so we can compile more.
  • kwq/dcop/kdatastream.h: Added.
  • kwq/kdecore/kmultipledrag.h: Added.
  • kwq/kdecore/ktempfile.h: Added.
  • kwq/kdecore/kurldrag.h: Added.
  • kwq/kdeui/kstdaction.h: Added.
  • kwq/kdeui/kxmlguifactory.h: Added.
  • kwq/khtml/khtml_find.h: Added.
  • kwq/khtml/khtml_iface.h: Added.
  • kwq/khtml/khtml_pagecache.h: Added.
  • kwq/khtml/khtml_run.h: Added.
  • kwq/kio/kssl/ksslcertchain.h: Added.
  • kwq/kio/kssl/ksslinfodlg.h: Added.
  • kwq/kio/ktrader.h: Added.
  • kwq/qt/private/qucomextra_p.h: Added.
  • kwq/qt/qclipboard.h: Added.
  • kwq/qt/qmetaobject.h: Added. Empty files just so includes of these names will compile.
  • libwebcoretests.exp: Remove one export that's no longer needed.
4:43 PM Changeset in webkit [1182] by rjw
  • 10 edits in trunk/WebCore

Added support for onChange and window.location, i.e.:
http://javascript.internet.com/navigation/menu-automatic.html

4:27 PM Changeset in webkit [1181] by kocienda
  • 7 edits in trunk

2002-05-20 Kenneth Kocienda <kocienda@apple.com>

Now includes <sys/time.h> to prevent possible build breakage
in the inclusion of <sys/resource.h>

  • WebCore/kwq/kwqdebug.h
  • WebKit/Misc.subproj/WebKitDebug.h
  • WebFoundation/Misc.subproj/WebFoundationDebug.h
3:42 PM Changeset in webkit [1180] by kocienda
  • 4 edits in trunk/WebCore

2002-05-20 Kenneth Kocienda <kocienda@apple.com>

Changed assertion failure code to send a SIGQUIT instead
of raising an NSException.

  • kwq/kwqdebug.h
3:24 PM Changeset in webkit [1179] by kocienda
  • 3 edits in trunk/WebKit

2002-05-20 Kenneth Kocienda <kocienda@apple.com>

Changed assertion failure code to send a SIGQUIT instead
of raising an NSException.

  • Misc.subproj/WebKitDebug.h
2:54 PM Changeset in webkit [1178] by kocienda
  • 1 edit in trunk/WebKit/Misc.subproj/WebFileDatabase.m

2002-05-20 Kenneth Kocienda <kocienda@apple.com>

Reviewed by: John Sullivan

Fix for this bug:

Radar 2931078 (IFURLFileDatabase initialization is not threadsafe)

In addition, I have added several assertion checks to the code. Note
that each of these assertion checks is of the "failure should be impossible"
variety.

  • Database.subproj/IFURLFileDatabase.m: (-[IFURLFileReader initWithPath:]): (-[IFURLFileDatabaseOp initWithCode:key:object:]): (-[IFURLFileDatabaseOp perform:]): (databaseInit): (-[IFURLFileDatabase initWithPath:]): (-[IFURLFileDatabase setObject:forKey:]): (-[IFURLFileDatabase removeObjectForKey:]): (-[IFURLFileDatabase objectForKey:]): (-[IFURLFileDatabase performSetObject:forKey:]): (-[IFURLFileDatabase performRemoveObjectForKey:]): (-[IFURLFileDatabase lazySync:]):
1:56 PM Changeset in webkit [1177] by cblu
  • 21 edits in trunk/WebKit

WebFoundation:

Added _IF_looksLikeAbsoluteURL.

  • Misc.subproj/IFNSStringExtensions.h:
  • Misc.subproj/IFNSStringExtensions.m: (-[NSString _IF_looksLikeAbsoluteURL]):

WebKit:

Summary:

  • Drag & Drop support.
  • A whole lot of plug-in clean-up and minor bug fixes.

Moved the following functions from npapi to IFPlugin.

  • Plugins.subproj/IFPlugin.m: (functionPointerForTVector): (tVectorForFunctionPointer):

Only supply mouse coords when active.

  • Plugins.subproj/IFPluginNullEventSender.h:
  • Plugins.subproj/IFPluginNullEventSender.m: (-[IFPluginNullEventSender initializeWithNPP:functionPointer:window:]): (-[IFPluginNullEventSender dealloc]): (-[IFPluginNullEventSender sendNullEvents]):

Minor clean-ups

  • Plugins.subproj/IFPluginStream.mm: (-[IFPluginStream dealloc]): (-[IFPluginStream IFURLHandleResourceDidFinishLoading:data:]): (-[IFPluginStream IFURLHandleResourceDidCancelLoading:]): (-[IFPluginStream IFURLHandle:resourceDidFailLoadingWithResult:]):

Removed the isMouseDown flag from the following functions
as it was unnecessary.

Cleaned up logging.

  • Plugins.subproj/IFPluginView.mm: (-[IFPluginView modifiersForEvent:]): (-[IFPluginView getCarbonEvent:withEvent:]): (-[IFPluginView sendUpdateEvent]): (-[IFPluginView becomeFirstResponder]): (-[IFPluginView resignFirstResponder]): (-[IFPluginView mouseDown:]): (-[IFPluginView mouseUp:]): (-[IFPluginView mouseExited:]): (-[IFPluginView setWindow]): (-[IFPluginView start]): (-[IFPluginView stop]):

URLForString now uses _IF_looksLikeAbsoluteURL.

(-[IFPluginView URLForString:]):

Implemented the following:

(-[IFPluginView invalidateRect:]):
(-[IFPluginView invalidateRegion:]):
(-[IFPluginView forceRedraw]):

Put implementation of GetValue SetValue in npapi.

  • Plugins.subproj/npapi.h:
  • Plugins.subproj/npapi.m: (NPN_GetValue): (NPN_SetValue):

Added drag & drop support.

  • WebView.subproj/IFWebView.mm: (-[IFWebView initWithFrame:]): (-[IFWebView setCanDragFrom:]): (-[IFWebView canDragFrom]): (-[IFWebView setCanDragTo:]): (-[IFWebView canDragTo]): (-[IFWebView draggingEntered:]): (-[IFWebView prepareForDragOperation:]): (-[IFWebView performDragOperation:]):
  • WebView.subproj/IFWebViewPrivate.h:
  • WebView.subproj/IFWebViewPrivate.mm: (-[IFWebViewPrivate dealloc]):
12:15 PM Changeset in webkit [1176] by sullivan
  • 17 edits
    4 adds in trunk/WebKit
  • fixed 2923492 -- No way to put separators in Bookmarks menu
  • fixed 2927561 -- Added child of bookmarks folder should be first, not last
  • fixed 2927575 -- New bookmark should have blank URL
  • fixed 2927589 -- "Modify" and "Remove" should be "Edit" and "Delete"
  • fixed 2923220 -- Bookmarks window should reopen at launch if it was open at quit
  • fixed bug where bookmark window would sometimes start with a horiz scrollbar
  • fixed bug where deleting nested bookmark would leave last row selected
  • PreferenceKeys.h: define ShowBookmarksPreferenceKey
  • AppController.m: (-[AppController applicationDidFinishLaunching:]): Open bookmarks window if preference says to. (-[AppController _insertBookmark:intoMenu:atIndex:]): Handle separators.
  • BookmarksController.m: (-[BookmarksController windowDidLoad]): Set self as delegate so we will receive windowWillClose:; setAutoresizesOutlineColumn:NO so column widths won't change at launch. (-[BookmarksController removeSelectedBookmarks:]): Reselect previously selected item if it's still valid (-[BookmarksController _newItemWithTitle:image:URLString:type:]): Change isLeaf parameter to bookmark type. Handle separators (don't edit title of newly-created separator). If expanded folder is selected, make new item first. (-[BookmarksController _newSeparator:]): Implemented. (-[BookmarksController outlineView:objectValueForTableColumn:byItem:]): Return "--" as string to represent separator, for now. (-[BookmarksController _newFolder:]), (-[BookmarksController _newBookmark:]): (-[BookmarksController outlineView:isItemExpandable:]): (-[BookmarksController outlineView:validateDrop:proposedItem:proposedChildIndex:]): (-[BookmarksController outlineView:shouldEditTableColumn:item:]): Replaced uses of isLeaf with bookmarkType. (-[BookmarksController toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]): Handle separator item. (-[BookmarksController toolbarAllowedItemIdentifiers:]): Include "New Separator" item. (-[BookmarksController showWindow:]): Set "bookmarks showing" preference to YES. (-[BookmarksController windowWillClose:]): Set "bookmarks showing" preference to NO.
  • BrowserDocument.m: (-[BrowserDocument addBookmark:]): Replaced use of isLeaf with bookmarkType.
  • GlobalHistory.m: (-[GlobalHistory addSelectedItemsToBookmarks:]): Replaced use of isLeaf with bookmarkType.
  • Resources/Images/new_separator.tiff: Added.
  • WebBrowser.pbproj/project.pbxproj: Updated for new file.
Note: See TracTimeline for information about the timeline view.