1 2007-12-14 David D. Kilzer <ddkilzer@apple.com>
3 <rdar://problem/5647261> Remove user agent string hack for yahoo.com
8 (-[WebView _userAgentForURL:]): Removed hack.
10 2007-12-14 Darin Adler <darin@apple.com>
14 - fix http://bugs.webkit.org/show_bug.cgi?id=16296
15 <rdar://problem/5635641> -[WebFrameLoadDelegate didReceiveIcon:forFrame:] never called
18 (-[WebView setFrameLoadDelegate:]): Call [WebIconDatabase sharedIconDatabase] if the
19 a didReceiveIcon method is present.
21 2007-12-14 Darin Adler <darin@apple.com>
25 - Changed a few more editing operations to use WebCore instead of WebKit.
26 - Removed some obsolete unused code.
28 * WebCoreSupport/WebFrameBridge.h: Moved declarations of methods that are both
29 defined and used on the WebKit side to here. These no longer belong on the bridge
30 and should be moved to the WebFrame class (or elsewhere).
31 * WebCoreSupport/WebFrameBridge.mm: Removed some unused methods.
33 * WebView/WebFrameView.mm:
34 (+[WebFrameView _viewTypesAllowImageTypeOmission:]): Fix typo in comment.
36 * WebView/WebHTMLView.mm:
37 (-[WebHTMLViewPrivate dealloc]): Removed unused firstResponderTextViewAtMouseDownTime.
38 (-[WebHTMLViewPrivate clear]): Ditto.
39 (-[WebHTMLView _setMouseDownEvent:]): Ditto.
40 (commandNameForSelector): Added special cases for pageDown:, pageDownAndModifySelection:,
41 pageUp:, and pageUpAndModifySelection:, since those names probably aren't specific enough
42 to be used in WebCore (what AppKit calls scrollPageDown: vs. pageDown: needs to be
43 disambiguated with the word "Move"). Added deleteBackward:,
44 deleteBackwardByDecomposingPreviousCharacter:, deleteForward:, deleteToBeginningOfLine:,
45 deleteToBeginningOfParagraph:, deleteToEndOfLine:, deleteToEndOfParagraph:, pageDown:,
46 pageDownAndModifySelection:, pageUp:, pageUpAndModifySelection:, selectLine:,
47 selectParagraph:, selectSentence:, and selectWord: to the list of commands that are
49 (-[WebHTMLView validateUserInterfaceItemWithoutDelegate:]): Eliminated the long list of
50 operations that we forward to WebCore. Instead, look up any command that WebCore can
51 handle, after any that we handle specially in WebHTMLView. Also fixed a bug where
52 an item that's not a menu item with changeBaseWritingDirection:NSWritingDirectionNatural
53 would end up enabled instead of disabled and streamlined the logic for toggleGrammarChecking:.
54 (-[WebHTMLView mouseDown:]): Removed unused firstResponderTextViewAtMouseDownTime.
55 (-[WebHTMLView becomeFirstResponder]): Removed unused willBecomeFirstResponderForNodeFocus.
56 (-[WebHTMLView resignFirstResponder]): Ditto.
57 (-[WebHTMLView checkSpelling:]): Took unneeded extra initialization of NSSpellChecker.
59 * WebView/WebHTMLViewInternal.h: Removed unused willBecomeFirstResponderForNodeFocus,
60 firstResponderTextViewAtMouseDownTime, _textViewWasFirstResponderAtMouseDownTime: and
61 _willMakeFirstResponderForNodeFocus.
63 2007-12-13 Alexey Proskuryakov <ap@webkit.org>
67 Turn on keyboard event processing quirks for feed views and old applications on Mac OS X.
69 * Misc/WebKitVersionChecks.h:
71 (-[WebView _needsKeyboardEventHandlingQuirks]):
72 (-[WebView _preferencesChangedNotification:]):
74 2007-12-12 Brady Eidson <beidson@apple.com>
76 Reviewed by Sam Weinig
78 Fix for <rdar://problem/4886844> and lay groundwork for <rdar://problem/4516170> (Back/Forward Cache on Windows)
80 * WebCoreSupport/WebCachedPagePlatformData.h: Added.
81 (WebCachedPagePlatformData::WebCachedPagePlatformData): Constructor takes a WebDocumentView for later restoration
82 (WebCachedPagePlatformData::clear):
83 (WebCachedPagePlatformData::webDocumentView):
85 * WebCoreSupport/WebFrameLoaderClient.h:
86 * WebCoreSupport/WebFrameLoaderClient.mm:
87 (WebFrameLoaderClient::savePlatformDataToCachedPage):
88 (WebFrameLoaderClient::transitionToCommittedFromCachedPage): Don't set the DocumentLoader to the Frame here,
89 because that is now done in WebCore.
90 (WebFrameLoaderClient::transitionToCommittedForNewPage):
92 2007-12-12 Mark Rowe <mrowe@apple.com>
94 Reviewed by Dave Kilzer.
96 Remove abuse of projectDirPath from WebKit.xcodeproj to fix Production builds.
98 * Configurations/WebKit.xcconfig:
100 2007-12-11 Sam Weinig <sam@webkit.org>
102 Reviewed by Darin Adler.
104 Scrub URL out of the tree in preparation for renaming KURL to URL.
106 * WebCoreSupport/WebFrameLoaderClient.mm:
107 (WebFrameLoaderClient::actionDictionary):
108 * WebView/WebDataSource.mm:
109 (-[WebDataSource _URL]):
110 * WebView/WebView.mm:
111 (-[WebView _dispatchDidReceiveIconFromWebFrame:]):
113 2007-12-11 Darin Adler <darin@apple.com>
117 - change more editing commands to use WebCore::Editor
118 - change to use the new WebCore::Editor::command() function
120 * WebView/WebHTMLView.mm: Changed alignCenter, alignJustified, alignLeft,
121 alignRight, cut, copy, deleteToMark, indent, insertNewlineIgnoringFieldEditor,
122 insertTabIgnoringFieldEditor, outdent, selectAll, selectToMark, setMark,
123 subscript, superscript, swapWithMark, underline, unscript, yank, and yankAndSelect
124 to use the "forward to WebCore" macro instead of having hand-written implementations.
125 (kit): Added function to change a TriState to an AppKit-style tri-state value.
126 (-[WebHTMLView coreCommandBySelector:]): Added. No longer converts case of the
127 first character or copies the selector name, since the Editor commands are not case
128 sensitive any more. Returns a command object.
129 (-[WebHTMLView coreCommandByName:]): Added.
130 (-[WebHTMLView executeCoreCommandBySelector:]): Renamed from callWebCoreCommand:,
131 and changed to use the new coreCommandBySelector: method.
132 (-[WebHTMLView executeCoreCommandByName:]): Added.
133 (-[WebHTMLView validateUserInterfaceItemWithoutDelegate:]): Changed all the
134 methods that call through to WebCore to also use the state() and isEnabled()
135 functions on the commands for the menu item state and user interface item enabling.
136 (-[WebHTMLView _handleStyleKeyEquivalent:]): Use ToggleBold and ToggleItalic by
137 name rather than having local methods for them; no need for methods with a single
139 (-[WebHTMLView insertParagraphSeparator:]): Use executeCoreCommandByName: rather
140 than the deprecated execCommand().
141 (-[WebHTMLView doCommandBySelector:]): Changed to use command().execute() rather
142 than the deprecated execCommand().
143 * WebView/WebHTMLViewInternal.h: Removed some unneeded method declarations.
145 2007-12-07 Alexey Proskuryakov <ap@webkit.org>
149 <rdar://problem/5535636>
150 Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
152 http://bugs.webkit.org/show_bug.cgi?id=13916
153 JavaScript detects Tab as a character input on a textfield validation
155 * WebCoreSupport/WebEditorClient.h:
156 Renamed handleKeypress() to handleKeyboardEvent(), as it gets both keydowns and keypresses.
157 Renamed handleInputMethodKeypress() to handleInputMethodKeydown().
158 * WebCoreSupport/WebEditorClient.mm:
159 (WebEditorClient::handleKeyboardEvent): This change makes sense only remotely, but it helped
160 to get tests working. I guess Mac keyboard event handling needs further refactoring.
162 * WebView/WebHTMLView.mm:
163 (selectorToCommandName): Convert AppKit editing selector name to Editor command name - extracted
164 from callWebCoreCommand:.
165 (_interceptEditingKeyEvent:shouldSaveCommand:): Insert text from keypress.
167 * WebView/WebPDFView.mm:
168 (-[WebPDFView PDFViewWillClickOnLink:withURL:]):
169 Convert incoming platform KeyDown into RawKeyDown, as this is what the view is interested in.
171 2007-12-10 Brady Eidson <beidson@apple.com>
173 Reviewed by John Sullivan
175 Fix for <rdar://problem/5640080> - Database UI delegate calls need to specify WebFrame
177 This is because a common UI case is to want to know the originating URL of a Database
179 * WebCoreSupport/WebChromeClient.mm:
180 (WebChromeClient::requestQuotaIncreaseForNewDatabase):
181 (WebChromeClient::requestQuotaIncreaseForDatabaseOperation):
183 * WebView/WebUIDelegatePrivate.h:
185 * WebView/WebView.mm:
186 (CallDelegateReturningUnsignedLongLong):
187 (CallUIDelegateReturningUnsignedLongLong):
188 * WebView/WebViewInternal.h:
190 2007-12-10 Timothy Hatcher <timothy@apple.com>
192 Reviewed by Mark Rowe.
194 <rdar://problem/5639463> Bundle versions on Tiger should be 4523.x not 523.x
196 * Configurations/Version.xcconfig: Some Tiger versions of Xcode don't set MAC_OS_X_VERSION_MAJOR,
197 so assume Tiger and use a 4 for the SYSTEM_VERSION_PREFIX.
199 2007-12-10 Kevin Decker <kdecker@apple.com>
203 Fixed: <rdar://problem/4290098> Right-mouse click on element doesn't call onmousedown handler
205 * WebView/WebHTMLView.mm:
206 (-[WebHTMLView menuForEvent:]): Match behavior of other browsers by sending an onmousedown event for right clicks.
208 2007-12-08 Oliver Hunt <oliver@apple.com>
212 Split the ENABLE_SVG_EXPERIMENTAL_FEATURES flag into separate flags.
214 Fixes <rdar://problem/5620249> Must disable SVG animation
215 <rdar://problem/5612772> Disable SVG filters on Mac to match Windows behavior
217 Minor updates to the feature flags used.
219 * Configurations/WebKit.xcconfig:
220 * DOM/WebDOMOperations.mm:
222 2007-12-07 Darin Adler <darin@apple.com>
224 Reviewed by Kevin Decker and Tim Hatcher.
226 - speculative fix for <rdar://problem/5400159> CrashTracer: [USER] 726 crashes
227 in Safari at com.apple.WebKit: -[WebHTMLView(WebPrivate) _updateMouseoverWithFakeEvent] + 389
229 * WebView/WebHTMLView.mm:
230 (-[WebHTMLView _frameOrBoundsChanged]): Only schedule the mouseover timer if we are in a window
231 and not closed. That's because viewDidMoveToWindow and close are the entry points for cancelling.
232 (-[WebHTMLView close]): Add code to cancel both timers. Needed for the case where the entire
233 window goes away, and the view is never removed from the window.
234 (-[WebHTMLView viewDidMoveToWindow]): Don't do work if the view is closed.
236 2007-12-07 Darin Adler <darin@apple.com>
240 - http://bugs.webkit.org/show_bug.cgi?id=15981
241 speed up visited-link code a bit
243 * History/WebHistory.mm: Removed unused Latin-1 code path.
244 (-[_WebCoreHistoryProvider containsURL:length:]): Updated for method name change.
246 2007-12-07 Geoffrey Garen <ggaren@apple.com>
248 Reviewed by Sam Weinig.
250 Added a forwarding header, since we now #include nodes.h through some
251 JavaScriptCore headers.
253 * ForwardingHeaders/wtf/ListRefPtr.h: Added.
255 2007-12-06 Brady Eidson <beidson@apple.com>
257 Reviewed by Oliver's rubber stamp
259 Let's go ahead and call the correct UI Delegate method, shall we?
261 * WebCoreSupport/WebChromeClient.mm:
262 (WebChromeClient::requestQuotaIncreaseForDatabaseOperation): Call the correct UI delegate
264 2007-12-06 Adam Roben <aroben@apple.com>
266 Remove some assertions we know can fire and replace them with a FIXME
270 * WebCoreSupport/WebFrameLoaderClient.mm:
272 2007-12-06 Timothy Hatcher <timothy@apple.com>
274 Change the ASSERT added for the previous fix. The ASSERT was firing for 10.5.0.
275 Only assert if the major version is zero, since zero is handled in the other cases.
277 * WebView/WebView.mm:
278 (callGestalt): Remove the ASSERT.
279 (createMacOSXVersionString): ASSERT that major is not zero.
281 2007-12-06 Darin Adler <darin@apple.com>
283 Reviewed by Tim Hatcher.
285 - fix <rdar://problem/5513394> No way to detect Tiger vs Leopard from Safari's user agent string
287 * WebView/WebView.mm:
288 (callGestalt): Added.
289 (createMacOSXVersionString): Added.
290 (-[WebView _userAgentWithApplicationName:andWebKitVersion:]): Added Mac OS X version string,
291 right after the string "Mac OS X", but with underscores instead of dots to avoid the dreaded
292 "4." problem (old libraries that think a "4." anywhere in the user agent means Netscape 4).
293 (-[WebView _userAgentForURL:]): Fixed incorrect bug numbers.
295 2007-12-04 Geoffrey Garen <ggaren@apple.com>
297 Reviewed by Darin Adler.
299 Third step in refactoring JSGlobalObject: Moved data members and data
300 member access from Interpreter to JSGlobalObject.
302 * WebView/WebFrame.mm:
303 (-[WebFrame _attachScriptDebugger]):
305 2007-12-04 Kevin McCullough <kmccullough@apple.com>
310 - Security Fix. Instead of having it off by default, WebKit now must
311 explicitly turn off local-resource restriction when needed for backwards
312 coimpatibility reasons.
314 * WebView/WebView.mm:
315 (-[WebView _commonInitializationWithFrameName:groupName:]):
317 2007-12-05 Brady Eidson <beidson@apple.com>
319 Reviewed by Kevin Deckers rubberstamp
321 Disclose and export the Databases Directory defaults key
323 * Storage/WebDatabaseManager.mm:
324 * Storage/WebDatabaseManagerPrivate.h:
327 2007-12-04 Kevin Decker <kdecker@apple.com>
331 <rdar://problem/5629125> PluginInfoStore needs the ability to return the name of a plug-in for a given MIME type
333 * WebCoreSupport/WebViewFactory.mm:
334 (-[WebViewFactory pluginNameForMIMEType:]): Added.
336 2007-12-04 Brady Eidson <beidson@apple.com>
338 Reviewed by Mark Rowe
340 Tweaked the way we typedef and cast these objc_msgSend calls
342 * WebView/WebView.mm:
343 (CallDelegateReturningUnsignedLongLong):
345 2007-12-04 John Sullivan <sullivan@apple.com>
347 Reviewed by Brady Eidson (with help from Mark Rowe)
349 Fixed return values for unsigned-long-long delegate methods
351 * WebView/WebView.mm:
352 (CallDelegateReturningUnsignedLongLong):
353 redid the change that Brady did at home over the weekend but forgot to check in
355 2007-11-27 Adam Roben <aroben@apple.com>
357 Remove -[WebFrameBridge setNeedsReapplyStyles]
359 This functionality is now WebCore's responsibility.
363 * WebCoreSupport/WebFrameBridge.mm:
366 2007-12-04 John Sullivan <sullivan@apple.com>
370 Added deleteOrigin: SPI, which isn't fully implemented
372 * Storage/WebDatabaseManagerPrivate.h:
373 * Storage/WebDatabaseManager.mm:
374 (-[WebDatabaseManager deleteOrigin:]):
375 just calls deleteDatabasesWithOrigin: for now, but needs to delete origin itself too
377 2007-12-04 Timothy Hatcher <timothy@apple.com>
379 Reviewed by Mark Rowe.
381 Remove a check for early versions of Leopard CFNetwork now that
384 * Misc/WebKitVersionChecks.h: Remove WEBKIT_FIRST_CFNETWORK_VERSION_WITH_LARGE_DISK_CACHE_FIX.
385 * WebView/WebView.mm:
386 (+[WebView _setCacheModel:]): Remove the early Leopard CFNetwork check.
388 2007-12-04 Kevin Decker <kdecker@apple.com>
392 Revised fix for: <rdar://problem/5586978> REGRESSION (Safari 2-3): WebKit sometimes doesn't invoke Flash's NPP_SetWindow function and causes a hang
394 This fix is exactly the same as chageset 28359 with the exception of an added early return in
395 updateAndSetWindow to cover the additional case of when a plug-in isn't drawable.
397 The CG-based Flash player would sometimes hang because (for CoreGraphics-based plug-ins) our code would
398 only call into the NPP_SetWindow() function when we tell the plug-in to draw. This created havoc with
399 Flash because Flash expects the browser to call NPP_SetWindow() and provide a valid graphics context
400 regardless of whether or not it actually needs to draw.
402 * Plugins/WebBaseNetscapePluginView.mm:
403 (-[WebBaseNetscapePluginView saveAndSetNewPortStateForUpdate:]): Removed an incorrect comment and toned
404 down an ASSERT that was too strict.
405 (-[WebBaseNetscapePluginView updateAndSetWindow]): Removed an early return for CoreGraphics-based plug-ins
406 which would sometimes altogether prevent updating the PortState and calling into a plug-ins NPP_SetWindow()
407 function. Also tweaked a comment and added an early return if the plug-in can't draw.
409 2007-12-04 Darin Adler <darin@apple.com>
411 Reviewed by Kevin Decker.
413 * WebCoreSupport/WebFrameLoaderClient.h: Removed obsolete privateBrowsingEnabled.
414 * WebCoreSupport/WebFrameLoaderClient.mm: Ditto.
415 * WebKit.order: Ditto.
417 2007-12-03 Dan Bernstein <mitz@apple.com>
419 Reviewed by Dave Hyatt.
421 - fix <rdar://problem/5346452> Resize event doesn't fire on body element inside a frame
423 * WebView/WebHTMLView.mm:
424 (-[WebHTMLView layoutToMinimumPageWidth:maximumPageWidth:adjustingViewSize:]): Removed the code
425 that checked if the view had resized and sent the resize event, since
426 FrameView sends resize events now.
427 * WebView/WebHTMLViewInternal.h:
429 2007-12-03 Timothy Hatcher <timothy@apple.com>
433 Change WebViewGetResourceLoadDelegateImplementations and WebViewGetFrameLoadDelegateImplementations
434 to return a pointer to the implementation struct instead of a copy of the struct. This changes
435 all of the callers to dereference the pointer to access the struct fields.
437 * Plugins/WebNullPluginView.mm:
438 (-[WebNullPluginView reportFailure]):
439 * WebCoreSupport/WebFrameBridge.mm:
440 * WebCoreSupport/WebFrameLoaderClient.mm:
441 (WebFrameLoaderClient::dispatchDidLoadResourceFromMemoryCache):
442 (WebFrameLoaderClient::assignIdentifierToInitialRequest):
443 (WebFrameLoaderClient::dispatchWillSendRequest):
444 (WebFrameLoaderClient::dispatchDidReceiveAuthenticationChallenge):
445 (WebFrameLoaderClient::dispatchDidCancelAuthenticationChallenge):
446 (WebFrameLoaderClient::dispatchDidReceiveResponse):
447 (WebFrameLoaderClient::willCacheResponse):
448 (WebFrameLoaderClient::dispatchDidReceiveContentLength):
449 (WebFrameLoaderClient::dispatchDidFinishLoading):
450 (WebFrameLoaderClient::dispatchDidFailLoading):
451 (WebFrameLoaderClient::dispatchDidHandleOnloadEvents):
452 (WebFrameLoaderClient::dispatchDidReceiveServerRedirectForProvisionalLoad):
453 (WebFrameLoaderClient::dispatchDidCancelClientRedirect):
454 (WebFrameLoaderClient::dispatchWillPerformClientRedirect):
455 (WebFrameLoaderClient::dispatchDidChangeLocationWithinPage):
456 (WebFrameLoaderClient::dispatchWillClose):
457 (WebFrameLoaderClient::dispatchDidStartProvisionalLoad):
458 (WebFrameLoaderClient::dispatchDidReceiveTitle):
459 (WebFrameLoaderClient::dispatchDidCommitLoad):
460 (WebFrameLoaderClient::dispatchDidFailProvisionalLoad):
461 (WebFrameLoaderClient::dispatchDidFailLoad):
462 (WebFrameLoaderClient::dispatchDidFinishDocumentLoad):
463 (WebFrameLoaderClient::dispatchDidFinishLoad):
464 (WebFrameLoaderClient::dispatchDidFirstLayout):
465 * WebView/WebView.mm:
466 (WebViewGetResourceLoadDelegateImplementations):
467 (WebViewGetFrameLoadDelegateImplementations):
468 (-[WebView _dispatchDidReceiveIconFromWebFrame:]):
469 * WebView/WebViewInternal.h:
471 2007-12-03 Timothy Hatcher <timothy@apple.com>
473 Reviewed by Brady Eidson.
475 <rdar://problem/5539913> 188 crashes in WebViewGetFrameLoadDelegateImplementations
476 <rdar://problem/5586095> CrashTracer: [USER] 5000+ crashes in Safari and Dashboard in dispatchDidFailLoading
477 <rdar://problem/5607081> CrashTracer: [USER] 2150 crashes in Safari at com.apple.WebKit:
478 WebViewGetResourceLoadDelegateImplementations + 28
480 * WebView/WebView.mm:
481 (-[WebView _cacheResourceLoadDelegateImplementations]): If the delegate is nil, bzero the
482 implementation cache. This just prevents us from calling getMethod() multiple times just to zero.
483 (-[WebView _cacheFrameLoadDelegateImplementations]): Ditto.
484 (WebViewGetResourceLoadDelegateImplementations): Return a zeroed implementations struct
485 if the WebView is nil. This fixes the crashes.
486 (WebViewGetFrameLoadDelegateImplementations): Ditto.
488 2007-12-02 Geoffrey Garen <ggaren@apple.com>
490 Reviewed by Eric Seidel.
492 Updated to match the JavaScriptCore change to move virtual methods from
493 Interpreter to JSGlobalObject.
495 * WebView/WebFrame.mm:
496 (-[WebFrame globalContext]): Use the toRef function instead of manually
499 2007-12-01 Brady Eidson <beidson@apple.com>
503 Added a default database quota of 5mb to the default WebPreferences
505 * WebView/WebPreferences.m:
506 (+[WebPreferences initialize]):
508 2007-11-30 John Sullivan <sullivan@apple.com>
510 Reviewed by Geoff Garen
512 Added another symbol for WebDatabaseManager clients
515 added .objc_class_name_WebSecurityOrigin
517 2007-11-30 Brady Eidson <beidson@apple.com>
521 Add isEqual operator to WebSecurityOrigin
523 * Storage/WebSecurityOrigin.mm:
524 (-[WebSecurityOrigin isEqual:]):
526 2007-11-30 John Sullivan <sullivan@apple.com>
530 Tweaks to newly-declared NSString * constants to make them usable from clients
532 * Storage/WebDatabaseManagerPrivate.h:
533 * Storage/WebDatabaseManager.mm:
534 removed "const" from new NSNotification names and userInfo keys; these generate compiler warnings when used
537 export new NSNotification names and userInfo keys so clients can use them
539 2007-11-29 Anders Carlsson <andersca@apple.com>
543 Rename WebKitShrinksStandaloneImagesToFitKey to WebKitShrinksStandaloneImagesToFit.
545 This is safe to do because the preference is off by default and Safari 3, which is the only client that turns it on,
546 is using the setter and not messing around with NSUserDefaults.
548 * WebView/WebPreferenceKeysPrivate.h:
549 * WebView/WebPreferences.m:
550 (+[WebPreferences initialize]):
551 (-[WebPreferences shrinksStandaloneImagesToFit]):
552 (-[WebPreferences setShrinksStandaloneImagesToFit:]):
554 2007-11-29 Brady Eidson <beidson@apple.com>
558 Support for <rdar://problem/5556381> and <rdar://problem/5556379>
560 Hook up UI Delegate calls for the database engine feature and other small tweaks
562 * Storage/WebDatabaseManager.mm:
563 (-[WebDatabaseManager detailsForDatabase:withOrigin:]): Renamed databaseName parameter to databaseIdentifier for clarity
564 (-[WebDatabaseManager deleteDatabase:withOrigin:]): Renamed databaseName parameter to databaseIdentifier for clarity
565 * Storage/WebDatabaseManagerPrivate.h:
567 * Storage/WebDatabaseTrackerClient.h:
568 * Storage/WebDatabaseTrackerClient.mm:
569 (WebDatabaseTrackerClient::dispatchDidModifyDatabase): Renamed databaseName parameter to databaseIdentifier for clarity
571 * WebCoreSupport/WebChromeClient.h:
572 * WebCoreSupport/WebChromeClient.mm:
573 (WebChromeClient::requestQuotaIncreaseForNewDatabase): Call through to the UI Delegate
574 (WebChromeClient::requestQuotaIncreaseForDatabaseOperation): Ditto
576 * WebView/WebUIDelegatePrivate.h: Added the two UI Delegate methods
578 * WebView/WebView.mm:
579 (CallDelegateReturningUnsignedLongLong):
580 (CallUIDelegateReturningUnsignedLongLong):
581 * WebView/WebViewInternal.h:
583 2007-11-28 Kevin McCullough <kmccullough@apple.com>
587 - Added recursive runloop guards.
589 * DefaultDelegates/WebScriptDebugServer.m:
590 (-[WebScriptDebugServer suspendProcessIfPaused]):
592 2007-11-29 Mark Rowe <mrowe@apple.com>
594 Reviewed by Oliver Hunt.
596 Fix an assertion failure seen on the layout tests, and when closing the window after
597 visiting <http://www.coudal.com/losalamos/>.
599 * Plugins/WebBaseNetscapePluginStream.mm:
600 (-[WebBaseNetscapePluginStream _destroyStream]): Unlink the file and close the file
601 descriptor even when the stream is being destroyed without the load completing. This
602 avoids leaking the path and file descriptor, and leaving the temporary file on disk.
604 2007-11-28 Adele Peterson <adele@apple.com>
608 Fix for <rdar://problem/5524216> CrashTracer: [USER] 496 crashes in Safari at com.apple.WebCore: WebCore::Frame::eventHandler const + 6
610 The CrashTracer shows a variety of crashes in different methods (including keyDown and keyUp). This change adds nil checks for the frame in
611 WebHTMLView to prevent future problems in other methods as well.
613 * WebView/WebHTMLView.mm:
614 (-[WebHTMLView validateUserInterfaceItemWithoutDelegate:]):
615 (-[WebHTMLView keyDown:]):
616 (-[WebHTMLView keyUp:]):
617 (-[WebHTMLView flagsChanged:]):
618 (-[WebHTMLView _selectionStartFontAttributesAsRTF]):
619 (-[WebHTMLView _changeCSSColorUsingSelector:inRange:]):
620 (-[WebHTMLView checkSpelling:]):
621 (-[WebHTMLView showGuessPanel:]):
622 (-[WebHTMLView indent:]):
623 (-[WebHTMLView outdent:]):
624 (-[WebHTMLView paste:]):
625 (-[WebHTMLView _lookUpInDictionaryFromMenu:]):
626 (-[WebHTMLView insertText:]):
627 (-[WebHTMLView selectionTextRects]):
629 2007-11-28 Dan Bernstein <mitz@apple.com>
631 Reviewed by Maciej Stachowiak.
633 - fix <rdar://problem/5596160> fast/events/objc-event-api.html fails when run alone (or first)
635 * WebView/WebHTMLView.mm:
636 (-[WebHTMLView setDataSource:]): This method calls addMouseMovedObserver
637 because addMouseMovedObserver returns early if the dataSource
638 is not nil. But if the dataSource is already set (which happens when
639 a WebHTMLView is being reused) then addMouseMovedObserver must not
642 2007-11-27 Anders Carlsson <andersca@apple.com>
646 * Storage/WebDatabaseManager.mm:
647 * Storage/WebDatabaseManagerPrivate.h:
648 * Storage/WebDatabaseTrackerClient.mm:
649 (WebDatabaseTrackerClient::dispatchDidModifyOrigin):
650 (WebDatabaseTrackerClient::dispatchDidModifyDatabase):
651 * Storage/WebSecurityOrigin.mm:
652 (-[WebSecurityOrigin _initWithWebCoreSecurityOriginData:]):
653 * Storage/WebSecurityOriginInternal.h:
655 2007-11-27 Kevin Decker <kdecker@apple.com>
657 Reviewed by Darin, landed by Anders.
659 Fixed: <rdar://problem/4610818> CrashTracer: 1533 crashes in Safari at com.macromedia.Flash Player.plugin: native_ShockwaveFlash_TCallLabel + 271131
661 The problem was that some Leopard users were still inadvertently using the old Flash 8 plug-in, even though Leopard
662 shipped with Flash 9. To avoid loading an older version of a plug-in when a newer version is installed, the plug-in
663 database will compare bundle versions and always load the latest version.
665 * Plugins/WebBasePluginPackage.h:
666 * Plugins/WebBasePluginPackage.m:
667 (-[WebBasePluginPackage versionNumber]): New method. CFBundleGetVersionNumber doesn't work with all possible versioning schemes,
668 but we think for now it's good enough for us.
669 * Plugins/WebPluginDatabase.m:
670 (considerCandidate): Added a C utility function which compares the current plug-in against a candidate plug-in's version number.
671 If both plug-ins have the same bundle ID and the candiate is newer, the current plug-in becomes the candidate.
672 (-[WebPluginDatabase pluginForKey:withEnumeratorSelector:]): Calls the new considerCandidate() function.
674 2007-11-26 Timothy Hatcher <timothy@apple.com>
676 Reviewed by Dave Hyatt.
678 <rdar://problem/5569233> Add the ability to disable author and user CSS styles
680 * WebView/WebPreferenceKeysPrivate.h: Define WebKitRespectStandardStyleKeyEquivalentsPreferenceKey.
681 * WebView/WebPreferences.m:
682 (+[WebPreferences initialize]): Default WebKitRespectStandardStyleKeyEquivalentsPreferenceKey to YES.
683 (-[WebPreferences authorAndUserStylesEnabled]): Return the setting's BOOL value.
684 (-[WebPreferences setAuthorAndUserStylesEnabled:]): Set the setting's BOOL value.
685 * WebView/WebPreferencesPrivate.h: Add authorAndUserStylesEnabled and setAuthorAndUserStylesEnabled:.
686 * WebView/WebView.mm:
687 (-[WebView _preferencesChangedNotification:]): Update WebCore::Settings::authorAndUserStylesEnabled.
689 2007-11-26 Brady Eidson <beidson@apple.com>
691 Reviewed by Mark Rowe
693 Provide API for setting the default storage quota per database origin
695 * Misc/WebNSDictionaryExtras.h:
696 * Misc/WebNSDictionaryExtras.m:
697 (-[NSMutableDictionary _webkit_setUnsignedLongLong:forKey:]): Helper for UINT64 preferences
699 * WebView/WebPreferenceKeysPrivate.h:
700 * WebView/WebPreferences.m:
701 (-[WebPreferences _unsignedLongLongValueForKey:]): Helper for UINT64 prefs
702 (-[WebPreferences _setUnsignedLongLongValue:forKey:]): Ditto
703 (-[WebPreferences defaultDatabaseQuota]):
704 (-[WebPreferences setDefaultDatabaseQuota:]):
705 * WebView/WebPreferencesPrivate.h:
707 * WebView/WebView.mm:
708 (-[WebView _preferencesChangedNotification:]): Set the WebCore Settings version of the default storage pref
710 2007-11-26 Darin Adler <darin@apple.com>
714 - some middle-mouse-button-related fixes
716 These don't affect Safari since it maps the middle mouse button to the command key,
717 but that might not always be the case for future versions.
719 * WebView/WebHTMLView.mm:
720 (-[WebHTMLView otherMouseDown:]): Pass through middle mouse down events to WebCore.
721 (-[WebHTMLView otherMouseDragged:]): Ditto, for drag events.
722 (-[WebHTMLView otherMouseUp:]): Ditto, for up events.
724 * WebView/WebPolicyDelegate.h: Fixed inaccurate documentation of WebActionButtonKey.
726 2007-11-26 Anders Carlsson <andersca@apple.com>
730 Get rid of the WebSecurityOriginPrivate object and store
731 the WebCore::SecurityOriginData pointer in the _private field of
732 the WebSecurityOrigin object instead.
734 * Storage/WebDatabaseManager.mm:
735 (-[WebDatabaseManager databasesWithOrigin:]):
736 (-[WebDatabaseManager detailsForDatabase:withOrigin:]):
737 (-[WebDatabaseManager deleteDatabasesWithOrigin:]):
738 (-[WebDatabaseManager deleteDatabase:withOrigin:]):
739 * Storage/WebSecurityOrigin.mm:
740 (-[WebSecurityOrigin initWithProtocol:domain:port:]):
741 (-[WebSecurityOrigin protocol]):
742 (-[WebSecurityOrigin domain]):
743 (-[WebSecurityOrigin port]):
744 (-[WebSecurityOrigin usage]):
745 (-[WebSecurityOrigin quota]):
746 (-[WebSecurityOrigin setQuota:]):
747 (-[WebSecurityOrigin dealloc]):
748 (-[WebSecurityOrigin finalize]):
749 (-[WebSecurityOrigin _initWithWebCoreSecurityOriginData:]):
750 (-[WebSecurityOrigin _core]):
751 * Storage/WebSecurityOriginInternal.h:
753 2007-11-26 Timothy Hatcher <timothy@apple.com>
755 Reviewed by Adam Roben.
757 Bug 16137: Web Inspector window on Leopard should have a unified toolbar and window title
758 http://bugs.webkit.org/show_bug.cgi?id=16137
760 Create the Web Inspector window with the textured style. Set the content border
761 thickness for the top of the window or the height of the toolbar. Also make the
762 window's bottom corners square, since a normal textured window normally has
763 rounded bottom corners.
765 * WebCoreSupport/WebInspectorClient.mm:
766 (-[WebInspectorWindowController window]):
768 2007-11-24 Mark Rowe <mrowe@apple.com>
772 * Plugins/WebBaseNetscapePluginStream.mm:
773 (CarbonPathFromPOSIXPath): Use WebCFAutorelease as this also works on Tiger.
775 2007-11-24 Mark Rowe <mrowe@apple.com>
777 Reviewed by Tim Hatcher.
779 Fix <rdar://problem/5432686> 333MB RPRVT seems to leak @ www.43folders.com (1hr plug-in stream).
780 http://bugs.webkit.org/show_bug.cgi?id=13705
782 Have NP_ASFILE and NP_ASFILEONLY streams write the data to disk as they receive it rather than
783 dumping the data to disk in a single go when the stream has completed loading. On a test case
784 involving a 150MB Flash movie being streamed from a local web server this reduces memory consumption
785 on page load from around 400MB to 22MB.
787 The only plugin I have found that uses NP_ASFILE or NP_ASFILEONLY on the Mac is our NetscapeMoviePlugin
788 example code so the NP_ASFILE portion of this change has not had any testing with a real-world plugin.
790 * Plugins/WebBaseNetscapePluginStream.h:
791 * Plugins/WebBaseNetscapePluginStream.mm:
792 (-[WebBaseNetscapePluginStream initWithRequestURL:plugin:notifyData:sendNotification:]):
793 (-[WebBaseNetscapePluginStream dealloc]):
794 (-[WebBaseNetscapePluginStream finalize]):
795 (-[WebBaseNetscapePluginStream startStreamResponseURL:expectedContentLength:lastModifiedDate:MIMEType:headers:]):
796 (-[WebBaseNetscapePluginStream _destroyStream]): Update to work with paths as NSStrings.
797 (-[WebBaseNetscapePluginStream _deliverDataToFile:]): Open the file if it is not already open, and write any data
799 (-[WebBaseNetscapePluginStream finishedLoading]): If the stream is NP_ASFILE or NP_ASFILEONLY we need to ensure
800 that the file exists before _destroyStream passes it to the plugin. Simulating the arrival of an empty data block
801 ensure that the file will be created if it has not already.
802 (-[WebBaseNetscapePluginStream receivedData:]):
803 (CarbonPathFromPOSIXPath):
804 * Plugins/WebBaseNetscapePluginView.mm:
805 (-[WebBaseNetscapePluginView pluginViewFinishedLoading:]): Data is dealt with incrementally so there's no need to pass
806 it to finishedLoading.
807 (-[WebBaseNetscapePluginView evaluateJavaScriptPluginRequest:]): Ditto.
809 2007-11-23 Oliver Hunt <oliver@apple.com>
811 Reviewed by Mark Rowe.
813 Fixed <rdar://problem/3759190> allow input methods the option of processing mouse events themselves
815 * WebView/WebHTMLView.mm:
816 (-[WebHTMLView mouseDown:]):
818 2007-11-22 Dan Bernstein <mitz@apple.com>
820 Reviewed by Antti Koivisto.
822 - http://bugs.webkit.org/show_bug.cgi?id=15811
823 WebKit plug-ins can re-enter WebKit under attach()
824 <rdar://problem/5577978>
826 * Plugins/WebNullPluginView.mm:
827 (-[WebNullPluginView viewDidMoveToWindow]): Removed workaround for the
828 above bug that added as part of fixing
829 <http://bugs.webkit.org/show_bug.cgi?id=15804>.
831 2007-11-21 Mark Rowe <mrowe@apple.com>
835 Fix WebKit to build without warnings under GCC 4.2.
837 * Configurations/Base.xcconfig:
839 2007-11-21 Mark Rowe <mrowe@apple.com>
841 Reviewed by Tim Hatcher.
843 Changes due to <rdar://problem/5602936> Need to resolve new GCC 4.2 warnings
845 Update format strings to use format specifiers that match the argument types.
847 * Misc/WebGraphicsExtras.c:
848 (WebConvertBGRAToARGB):
850 2007-11-19 Brady Eidson <beidson@apple.com>
854 Finished hooking up the WebKit API for database management.
855 Most of the API is actually implemented in WebCore and some of those methods might
856 only be stubs for now.
858 * Storage/WebDatabaseManager.mm:
859 (-[WebDatabaseManager origins]): Call through to the WebCore tracker and construct an API result
860 (-[WebDatabaseManager databasesWithOrigin:]): Ditto
861 (-[WebDatabaseManager detailsForDatabase:withOrigin:]): Ditto
863 * Storage/WebSecurityOrigin.mm:
864 (-[WebSecurityOrigin usage]): Call through to WebCore
865 (-[WebSecurityOrigin quota]): Ditto
866 (-[WebSecurityOrigin setQuota:]): Ditto
867 (-[WebSecurityOrigin _core]): Get WebCore version of this object
868 * Storage/WebSecurityOriginInternal.h:
870 2007-11-17 Timothy Hatcher <timothy@apple.com>
872 Reviewed by Mark Rowe.
874 Bug 13470: i18n: The Web Inspector is not localizable
875 http://bugs.webkit.org/show_bug.cgi?id=13470
877 Implement the localizedStringsURL() client method to return the
878 localized URL of InspectorLocalizedStrings.js in WebCore.
880 * WebCoreSupport/WebInspectorClient.h: Added localizedStringsURL.
881 * WebCoreSupport/WebInspectorClient.mm:
882 (WebInspectorClient::localizedStringsURL): Added.
883 (WebInspectorClient::updateWindowTitle): Localized the window title.
884 (-[WebInspectorWindowController init]): Remove a FIXME that dosen't make sense anymore.
885 (-[WebInspectorWindowController initWithInspectedWebView:]): Code style cleanup.
887 2007-11-17 Alexey Proskuryakov <ap@webkit.org>
891 http://bugs.webkit.org/show_bug.cgi?id=15969
892 Eliminate Editor::deleteRange()
894 * WebView/WebHTMLView.mm:
895 (+[WebHTMLView initialize]):
896 (-[WebHTMLView yank:]):
897 (-[WebHTMLView yankAndSelect:]):
898 (-[WebHTMLView setMark:]):
899 (-[WebHTMLView deleteToMark:]):
900 (-[WebHTMLView selectToMark:]):
901 (-[WebHTMLView swapWithMark:]):
902 Pushed all kill ring methods to WebCore. They were guilty of using Editor::deleteRange()!
904 2007-11-16 Mark Rowe <mrowe@apple.com>
906 Reviewed by Tim Hatcher.
908 Build WebCore as a sub-framework of WebKit in all configurations.
910 * Configurations/WebKit.xcconfig:
912 2007-11-16 John Sullivan <sullivan@apple.com>
917 Exported some new database-related symbols
919 2007-11-16 Brady Eidson <beidson@apple.com>
923 Database management API tweaks
925 Fleshed out "WebSecurityOrigin" to be the API object representing an origin. This relieves some
926 burden off WebDatabaseManager and allows usage/quota operations on the SecurityOrigin object itself
928 Also added a new subdirectory for Storage related API - Why are we afraid to add new directories to
931 * Misc/WebSecurityOrigin.mm: Removed.
932 * Misc/WebSecurityOriginInternal.h: Removed.
933 * Misc/WebSecurityOriginPrivate.h: Removed.
935 * Storage/WebDatabaseManager.mm: Work in terms of WebSecurityOrigin
936 * Storage/WebDatabaseManagerPrivate.h:
938 * Storage/WebSecurityOrigin.mm: Added.
939 (-[WebSecurityOriginPrivate initWithProtocol:domain:port:]):
940 (-[WebSecurityOriginPrivate initWithWebCoreSecurityOrigin:]):
941 (-[WebSecurityOriginPrivate finalize]):
942 (-[WebSecurityOriginPrivate dealloc]):
943 (-[WebSecurityOrigin initWithProtocol:domain:]):
944 (-[WebSecurityOrigin initWithProtocol:domain:port:]):
945 (-[WebSecurityOrigin protocol]):
946 (-[WebSecurityOrigin domain]):
947 (-[WebSecurityOrigin port]):
948 (-[WebSecurityOrigin usage]):
949 (-[WebSecurityOrigin quota]):
950 (-[WebSecurityOrigin setQuota:]): Clients will set quotas on the WebSecurityOrigin object itself
951 (-[WebSecurityOrigin dealloc]):
952 (-[WebSecurityOrigin _initWithWebCoreSecurityOriginData:]):
953 * Storage/WebSecurityOriginInternal.h: Added.
954 * Storage/WebSecurityOriginPrivate.h: Added.
956 2007-11-15 Brady Eidson <beidson@apple.com>
960 Stubbing out everything required for a WebKit API for databases
962 These interfaces seem to provide everything we need for UI and management at the browser level
964 * Misc/WebDatabaseManager.h: Removed.
965 * Misc/WebDatabaseManager.mm: Removed.
966 * Misc/WebDatabaseManagerPrivate.h: Removed.
968 * Misc/WebSecurityOrigin.mm: Added. Object that acts as a container for the "SecurityOrigin tuple"
969 (protocol, domain, and port)
970 (-[WebSecurityOriginPrivate initWithProtocol:domain:port:]):
971 (-[WebSecurityOriginPrivate dealloc]):
972 (-[WebSecurityOrigin initWithProtocol:domain:]):
973 (-[WebSecurityOrigin initWithProtocol:domain:port:]):
974 (-[WebSecurityOrigin protocol]):
975 (-[WebSecurityOrigin domain]):
976 (-[WebSecurityOrigin port]):
977 (-[WebSecurityOrigin dealloc]):
978 (-[WebSecurityOrigin _initWithWebCoreSecurityOriginData:WebCore::]):
979 * Misc/WebSecurityOriginInternal.h: Added.
980 * Misc/WebSecurityOriginPrivate.h: Added.
982 * Storage/WebDatabaseManager.mm: Added.
983 (+[WebDatabaseManager sharedWebDatabaseManager]):
984 (-[WebDatabaseManager origins]): Get a list of all origins currently tracked
985 (-[WebDatabaseManager detailsForOrigin:]): Get the current usage and current quota for the given origin
986 (-[WebDatabaseManager databasesWithOrigin:]): Get all databases for a certain origin
987 (-[WebDatabaseManager detailsForDatabase:withOrigin:]): Get all details about a specific database
988 (-[WebDatabaseManager setQuota:forOrigin:]): Change origin-wide quota
989 (-[WebDatabaseManager deleteAllDatabases]):
990 (-[WebDatabaseManager deleteAllDatabasesWithOrigin:]):
991 (-[WebDatabaseManager deleteDatabase:withOrigin:]):
992 * Storage/WebDatabaseManagerPrivate.h: Added.
993 * Storage/WebDatabaseManagerInternal.h: Added.
994 (WebKitInitializeDatabasesIfNecessary): One-time initialization of database-related things
996 * Storage/WebDatabaseTrackerClient.h: Added. Stubbed out client for notifications
997 * Storage/WebDatabaseTrackerClient.mm: Added.
998 (WebDatabaseTrackerClient::sharedWebDatabaseTrackerClient):
999 (WebDatabaseTrackerClient::WebDatabaseTrackerClient):
1000 (WebDatabaseTrackerClient::~WebDatabaseTrackerClient):
1001 (WebDatabaseTrackerClient::dispatchDidModifyOrigin):
1002 (WebDatabaseTrackerClient::dispatchDidModifyDatabase):
1004 * WebView/WebView.mm:
1005 (-[WebView _commonInitializationWithFrameName:groupName:]): Do one-time initialization of
1006 Database-related things here
1008 2007-11-13 Geoffrey Garen <ggaren@apple.com>
1010 Reviewed by Anders Carlsson.
1012 Renamed Shared to RefCounted.
1014 * ForwardingHeaders/wtf/RefCounted.h: Copied from WebKit/mac/ForwardingHeaders/wtf/Shared.h.
1015 * ForwardingHeaders/wtf/Shared.h: Removed.
1016 * WebCoreSupport/WebContextMenuClient.h:
1018 2007-11-13 Geoffrey Garen <ggaren@apple.com>
1020 Reviewed by Sam Weinig.
1022 Moved Shared.h into wtf so it could be used in more places.
1025 * WebCoreSupport/WebContextMenuClient.h:
1027 2007-11-13 John Sullivan <sullivan@apple.com>
1031 removed recently-added PreferredType concept; we found a better way to do what
1032 ths was accomplishing
1034 * WebCoreSupport/WebChromeClient.mm:
1035 (WebChromeClient::createWindow):
1036 removed use of PreferredType
1038 2007-11-13 John Sullivan <sullivan@apple.com>
1040 Reviewed by Dan Bernstein.
1042 - fixed <rdar://problem/5567954> REGRESSION (Safari 2-3): Autofill no longer automatically fills in
1043 form fields other than the one you're typing into
1045 * WebCoreSupport/WebEditorClient.mm:
1046 (selectorForKeyEvent):
1047 correct the key identifier strings for Tab and Esc; these were updated in WebCore as part of r21445
1048 but didn't get updated here.
1050 2007-11-12 Josh Aas <joshmoz@gmail.com>
1054 - http://bugs.webkit.org/show_bug.cgi?id=15946
1055 add NPPValue NPPVpluginDrawingModel (Mozilla bug 403418 compat)
1057 * Plugins/WebBaseNetscapePluginView.mm:
1058 (-[WebBaseNetscapePluginView setVariable:value:]):
1060 2007-11-12 Alexey Proskuryakov <ap@webkit.org>
1064 http://bugs.webkit.org/show_bug.cgi?id=15954
1065 Move DOM Selection operations out of SelectionController
1067 * WebView/WebHTMLView.mm:
1068 (-[WebHTMLView _expandSelectionToGranularity:]):
1069 (-[WebHTMLView selectToMark:]):
1070 (-[WebHTMLView swapWithMark:]):
1071 * WebView/WebView.mm:
1072 (-[WebView setSelectedDOMRange:affinity:]):
1073 Adapted for SelectionController::setSelectedRange() now returning a bool.
1075 2007-11-12 Oliver Hunt <oliver@apple.com>
1077 Reviewed by Darin and Geoff.
1079 <rdar://problem/5522011> The content of the password field of
1080 Safari is displayed by reconversion.
1082 Some input methods (notably Kotoeri) can incorrectly provide
1083 access to the raw text of a password field. To work around
1084 this we forcefully override the inputContext whenever a password
1087 * WebView/WebHTMLView.mm:
1088 (-[WebHTMLView inputContext]):
1090 2007-11-12 John Sullivan <sullivan@apple.com>
1092 Reviewed by Tim Hatcher
1094 - speculative fix for <rdar://problem/5509989> CrashTracer: [USER] 1 crash in Safari at com.apple.WebKit:
1095 -[WebPDFView(FileInternal) _updatePreferencesSoon] + 56
1097 The crash is probably due to messaging a dealloc'ed dataSource ivar. The dataSource ivar isn't retained
1098 by this class, but should be. (It is retained by WebHTMLView, e.g.).
1100 * WebView/WebPDFView.mm:
1101 (-[WebPDFView dealloc]):
1102 release dataSource ivar
1103 (-[WebPDFView setDataSource:]):
1104 retain dataSource ivar
1106 2007-11-09 Tristan O'Tierney <tristan@apple.com>
1108 Reviewed by Timothy Hatcher.
1110 This patch is for the WebKit side of <rdar://problem/5591115>.
1111 We need a way to tell context menu navigations, such as "Open in New Window"
1112 to override any sort of browser preference for tab based navigation.
1114 * WebCoreSupport/WebChromeClient.mm:
1115 (WebChromeClient::createWindow):
1116 Pass up the new preferredType parameter as a string.
1118 2007-11-09 Timothy Hatcher <timothy@apple.com>
1122 <rdar://problem/5103720> REGRESSION: [WebView stringByEvaluatingJavaScriptFromString:] fails if "return" is used
1124 Extend the linked on or after check to every application when a script passed to
1125 stringByEvaluatingJavaScriptFromString: has a return statement. Before the check
1126 was limited to VitalSource Bookshelf, but other developers are running into this.
1128 * Misc/WebKitVersionChecks.h: Add the WEBKIT_FIRST_VERSION_WITHOUT_JAVASCRIPT_RETURN_QUIRK define.
1129 * WebView/WebDocumentLoaderMac.mm:
1130 (needsDataLoadWorkaround): Use WEBKIT_FIRST_VERSION_WITHOUT_ADOBE_INSTALLER_QUIRK sicne the
1131 WebKitLinkedOnOrAfter check here was about the Adobe installer, not VitalSource.
1132 * WebView/WebView.mm:
1133 (-[WebView stringByEvaluatingJavaScriptFromString:]): Remove the bundle ID check and use
1134 WEBKIT_FIRST_VERSION_WITHOUT_JAVASCRIPT_RETURN_QUIRK for the WebKitLinkedOnOrAfter call.
1136 2007-11-08 Kevin McCullough <kmccullough@apple.com>
1140 * WebCoreSupport/WebFrameLoaderClient.h:
1141 * WebCoreSupport/WebFrameLoaderClient.mm:
1142 (WebFrameLoaderClient::windowObjectCleared):
1144 2007-11-07 Darin Adler <darin@apple.com>
1148 - removed some unused WebCore bridge methods
1150 * WebCoreSupport/WebFrameBridge.mm: Removed issueTransposeCommand and overrideMediaType.
1152 * WebCoreSupport/WebFrameLoaderClient.mm:
1153 (WebFrameLoaderClient::overrideMediaType): Changed to call WebView directly instead of
1154 using the bridge object.
1156 2007-11-06 Mark Rowe <mrowe@apple.com>
1158 Rubber-stamped by Dave Kilzer.
1160 Move Mac files from WebKit into WebKit/mac.
1162 * Carbon: Copied from WebKit/Carbon.
1163 * ChangeLog: Copied from WebKit/ChangeLog.
1164 * ChangeLog-2002-12-03: Copied from WebKit/ChangeLog-2002-12-03.
1165 * ChangeLog-2006-02-09: Copied from WebKit/ChangeLog-2006-02-09.
1166 * ChangeLog-2007-10-14: Copied from WebKit/ChangeLog-2007-10-14.
1167 * Configurations: Copied from WebKit/Configurations.
1168 * DOM: Copied from WebKit/DOM.
1169 * DefaultDelegates: Copied from WebKit/DefaultDelegates.
1170 * ForwardingHeaders: Copied from WebKit/ForwardingHeaders.
1171 * History: Copied from WebKit/History.
1172 * Info.plist: Copied from WebKit/Info.plist.
1173 * MigrateHeaders.make: Copied from WebKit/MigrateHeaders.make.
1174 * Misc: Copied from WebKit/Misc.
1175 * Panels: Copied from WebKit/Panels.
1176 * Plugins: Copied from WebKit/Plugins.
1177 * PublicHeaderChangesFromTiger.txt: Copied from WebKit/PublicHeaderChangesFromTiger.txt.
1178 * Resources: Copied from WebKit/Resources.
1179 * WebCoreSupport: Copied from WebKit/WebCoreSupport.
1180 * WebInspector: Copied from WebKit/WebInspector.
1181 * WebKit.exp: Copied from WebKit/WebKit.exp.
1182 * WebKit.order: Copied from WebKit/WebKit.order.
1183 * WebKitPrefix.h: Copied from WebKit/WebKitPrefix.h.
1184 * WebView: Copied from WebKit/WebView.
1185 * icu: Copied from WebKit/icu.
1187 2007-11-06 Alexey Proskuryakov <ap@webkit.org>
1191 http://bugs.webkit.org/show_bug.cgi?id=15847
1192 Some editing cleanup
1194 No change in functionality.
1196 * WebView/WebHTMLView.mm:
1197 (-[WebHTMLView deleteToEndOfLine:]):
1198 (-[WebHTMLView deleteToEndOfParagraph:]):
1199 WebCore had a duplicate of the same logic already. We are passing a boundary value to
1200 a function that expects granularity, this may need to be straightened out in the future.
1202 2007-11-05 John Sullivan <sullivan@apple.com>
1204 * WebView/WebView.mm:
1205 (-[WebView _searchWithSpotlightFromMenu:]):
1207 Teeny style tweak to test svn access on other machine
1209 2007-11-05 John Sullivan <sullivan@apple.com>
1211 * WebView/WebView.mm:
1212 (-[WebView computedStyleForElement:pseudoElement:]):
1214 Teeny style tweak to test svn access
1216 2007-11-02 Tristan O'Tierney <tristan@apple.com>
1218 Reviewed by Darin Adler.
1220 * DefaultDelegates/WebDefaultUIDelegate.m:
1221 (-[WebDefaultUIDelegate webView:createWebViewWithRequest:windowFeatures:]):
1222 Forward the UI delegate to call webView:createWebViewWithRequest: if
1223 this method doesn't exist.
1225 * WebCoreSupport/WebFrameLoaderClient.mm:
1226 (WebFrameLoaderClient::dispatchCreatePage):
1227 * Plugins/WebBaseNetscapePluginView.mm:
1228 (-[WebBaseNetscapePluginView loadPluginRequest:]):
1229 * WebView/WebView.mm:
1230 (-[WebView _openNewWindowWithRequest:]):
1231 Revised to use new webView:createWebViewWithRequest:windowFeatures: callback.
1233 * WebCoreSupport/WebChromeClient.h:
1234 * WebCoreSupport/WebChromeClient.mm:
1235 (WebChromeClient::createWindow):
1236 Added a new createWindow that accepts 3 parameters, so we can pass up windowFeatures to the chrome.
1237 Removed createModalDialog to use new createWindow function.
1239 * WebView/WebUIDelegatePrivate.h:
1240 Added new webView:createWebViewWithRequest:windowFeatures: method.
1242 2007-11-05 Geoffrey Garen <ggaren@apple.com>
1244 Reviewed by Darin Adler.
1246 http://bugs.webkit.org/show_bug.cgi?id=15835
1248 Small adaptations to new KJS::List class.
1250 * ForwardingHeaders/kjs/value.h: Added.
1252 2007-11-03 David D. Kilzer <ddkilzer@webkit.org>
1254 Sort files(...); sections of Xcode project files.
1256 Rubber-stamped by Darin.
1258 * WebKit.xcodeproj/project.pbxproj:
1260 2007-11-02 Antti Koivisto <antti@apple.com>
1264 Add method to enable video composition.
1266 * WebCoreSupport/WebSystemInterface.m:
1267 (InitWebCoreSystemInterface):
1269 2007-11-02 Darin Adler <darin@apple.com>
1273 - fix problem I ran into while doing some testing on Mac for
1274 <rdar://problem/5530185> WebKit does not show <object>
1275 fallback content when both URL and MIME type is omitted
1277 I don't know how to reproduce this failure in DumpRenderTree, so there is no
1280 * Plugins/WebNullPluginView.h: Removed some unneeded declarations, including
1281 the didSendError local variable. Instead we just set the error to nil once
1283 * Plugins/WebNullPluginView.mm:
1284 (-[WebNullPluginView initWithFrame:error:DOMElement:]): Refactored so that
1285 the null plug-in image code is separate from the rest of the function and
1286 so that the whole thing is not inside an if statement. Also don't hold a
1287 reference to the DOM element if there is no error to report.
1288 (-[WebNullPluginView reportFailure]): Added. Does the actual delegate
1289 callback. Happens back at the top level of the run loop so it doesn't
1290 fire deep inside layout. Also wrote this so that it is guaranteed not to
1291 reenter and so that it can handle the case where the delegate destroys
1292 the world (including this object). NOTE: This is not a real, general
1293 solution to the problem of plug-ins that do work inside layout. We will need
1294 a more general fix that works for other plug-ins, and we'll track that with
1295 a separate bug report.
1296 (-[WebNullPluginView viewDidMoveToWindow]): Removed most of the code;
1297 changed so it just does a performSelector:afterDelay:0.
1299 2007-11-02 Mark Rowe <mrowe@apple.com>
1301 Reviewed by Darin Adler.
1303 Fix http://bugs.webkit.org/show_bug.cgi?id=15780
1304 Bug 15780: WebFrameLoaderClient: WebActionElementKey wrong if view is scrolled
1306 * WebCoreSupport/WebFrameLoaderClient.mm:
1307 (WebFrameLoaderClient::actionDictionary): Retrieve the mouse event coordinates
1308 in the page coordinate system rather than the client area coordinate system.
1310 2007-11-01 Dan Bernstein <mitz@apple.com>
1312 Reviewed by Oliver Hunt.
1314 - fix an assertion failure when Command-Tabbing out of Safari
1316 * WebView/WebHTMLView.mm:
1317 (-[WebHTMLView flagsChanged:]): Avoid passing key code 0 down to
1320 2007-11-01 Justin Garcia <justin.garcia@apple.com>
1322 Reviewed by Oliver Hunt.
1324 <rdar://problem/5195056> Huge plain text pastes are slow, time spent in ApplyStyleCommand::doApply
1326 No need to match style when pasting plain text, since the fragment we build for plain text
1327 won't have any style information on it.
1329 * WebView/WebHTMLView.mm:
1330 (-[WebHTMLView _documentFragmentFromPasteboard:inContext:allowPlainText:]): There's no
1331 longer a need to know whether this function chosePlaintext.
1332 (-[WebHTMLView _pasteWithPasteboard:allowPlainText:]):
1333 (-[WebHTMLView _documentFragmentFromPasteboard:]):
1335 2007-10-31 Timothy Hatcher <timothy@apple.com>
1337 Reviewed by John Sullivan.
1339 Move the developer extras preference to WebPreferences.
1341 * WebView/WebPreferenceKeysPrivate.h: Add WebKitDeveloperExtrasEnabledPreferenceKey
1342 * WebView/WebPreferences.m:
1343 (+[WebPreferences initialize]): Initialize WebKitDeveloperExtrasEnabledPreferenceKey to NO.
1344 (-[WebPreferences developerExtrasEnabled]): Check DisableWebKitDeveloperExtras, WebKitDeveloperExtras
1345 and IncludeDebugMenu in addition to WebKitDeveloperExtrasEnabledPreferenceKey.
1346 (-[WebPreferences setDeveloperExtrasEnabled:]): Set WebKitDeveloperExtrasEnabledPreferenceKey.
1347 * WebView/WebPreferencesPrivate.h: Add developerExtrasEnabled and setDeveloperExtrasEnabled:.
1348 * WebView/WebView.mm:
1349 (+[WebView _developerExtrasEnabled]): Removed.
1350 (-[WebView _preferencesChangedNotification:]): Check the WebPreferences object for developerExtrasEnabled.
1351 * WebView/WebViewPrivate.h: Removed _developerExtrasEnabled.
1353 2007-10-30 David D. Kilzer <ddkilzer@webkit.org>
1355 Generated files missing from WebCore's Xcode project file
1356 <http://bugs.webkit.org/show_bug.cgi?id=15406>
1360 Added the following private header files to MigrateHeaders.make:
1362 - DOMCSSStyleSheetPrivate.h
1364 - DOMHTMLCollectionPrivate.h
1365 - DOMHTMLEmbedElementPrivate.h
1366 - DOMHTMLIFrameElementPrivate.h
1367 - DOMHTMLObjectElementPrivate.h
1368 - DOMHTMLSelectElementPrivate.h
1370 * MigrateHeaders.make:
1372 2007-10-29 Antti Koivisto <antti@apple.com>
1376 Some SPIs for media support.
1378 * WebCoreSupport/WebSystemInterface.m:
1379 (InitWebCoreSystemInterface):
1381 2007-10-29 Timothy Hatcher <timothy@apple.com>
1383 Reviewed by John Sullivan.
1385 Various semi-related changes:
1386 - A WebView can now be asked for it's WebInspector. There is one
1387 WebInspector per WebView.
1388 - Refactor the WebInspector class and move obsolete methods to
1390 - Add new WebInspector methods to show, hide and show the
1391 console/timeline panels.
1392 - Add an isDisabled method to WebCache.
1393 - Allow WebLocalizableStrings.h to be used in C files.
1395 * Misc/WebCache.h: Add isDisabled.
1397 (+[WebCache isDisabled]): New method.
1399 * Misc/WebLocalizableStrings.h: Changes to allow use in plain C files.
1401 * WebCoreSupport/WebInspectorClient.mm:
1402 (-[WebInspectorWindowController showWindow:]): Call super if already visible
1403 so the window will be ordered front.
1404 (-[WebInspectorWindowController showWebInspector:]): Method used by menu items,
1405 so they are enabled and work when the Inspector window is key.
1406 (-[WebInspectorWindowController showErrorConsole:]): Ditto.
1407 (-[WebInspectorWindowController showNetworkTimeline:]): Ditto.
1409 * WebInspector/WebInspector.h: Add and remove methods.
1410 * WebInspector/WebInspector.mm:
1411 (-[WebInspector webViewClosed]): Called when the WebView is closed/dealloced.
1412 Clears the _webView pointer.
1413 (-[WebInspector show:]): Calls thru to the Page's InspectorController.
1414 (-[WebInspector showConsole:]): Ditto.
1415 (-[WebInspector showTimeline:]): Ditto.
1416 (-[WebInspector close:]): Ditto.
1417 (-[WebInspector attach:]): Ditto.
1418 (-[WebInspector detach:]): Ditto.
1419 (+[WebInspector sharedWebInspector]): Moved to the obsolete category.
1420 (+[WebInspector webInspector]): Ditto.
1421 (-[WebInspector setWebFrame:]): Ditto.
1422 (-[WebInspector window]): Ditto.
1423 (-[WebInspector showWindow:]): Ditto.
1425 * WebView/WebView.mm:
1426 (-[WebViewPrivate dealloc]): Release the WebInspector.
1427 (-[WebView _close]): Call webViewClosed on the WebInspector.
1428 (-[WebView inspector]): Create a WebInspector if needed and return it.
1429 * WebView/WebViewPrivate.h: Add the inspector method.
1431 2007-10-30 Adele Peterson <adele@apple.com>
1435 WebKit part of fix for http://bugs.webkit.org/show_bug.cgi?id=10577
1436 <rdar://problem/5103625> REGRESSION: Caps lock icon should show in password fields
1438 * WebView/WebHTMLView.mm:
1439 (-[WebHTMLView flagsChanged:]): Call capsLockStateMayHaveChanged so WebCore knows it may have to update a password field.
1440 (+[WebHTMLView _postFlagsChangedEvent:]): Added a comment with a Radar number for why this isn't just in flagsChanged.
1441 (-[WebHTMLView scrollWheel:]): Instead of calling the next responder explicitly, we can just call super, which will take care of this.
1443 2007-10-27 Mark Ambachtsheer <mark.a@apple.com>
1447 Fix for bug 15710, When QD plugins draw to an offscreen bitmap and the plugin is not at
1448 (0, 0) the clipping rectangle is not correct.
1449 Added the origin to the window clip rectangle coordinates to account for plugins that
1450 don't originate at (0,0); affects code for offscreen GWorlds only.
1452 * Plugins/WebBaseNetscapePluginView.mm:
1453 (-[WebBaseNetscapePluginView saveAndSetNewPortStateForUpdate:]):
1455 2007-10-26 Adele Peterson <adele@apple.com>
1459 Adding WebKitSystemInterface support for the caps lock indicator
1461 * WebCoreSupport/WebSystemInterface.m: (InitWebCoreSystemInterface):
1463 2007-10-25 David Hyatt <hyatt@apple.com>
1465 Fix for bug 15672, backgrounds don't tile properly inside transforms. This patch fixes tiling
1466 of backgrounds inside CSS transforms and also of HTML content with background images inside SVG
1469 Reviewed by aroben and mmitz
1471 * WebCoreSupport/WebSystemInterface.m:
1472 (InitWebCoreSystemInterface):
1473 * WebKit.xcodeproj/project.pbxproj:
1475 2007-10-25 John Sullivan <sullivan@apple.com>
1477 Reviewed by Tim Hatcher
1479 Removed the support for toggling whether WebKit uses the 10.5 PDFKit improvements. Now it
1480 always does, when available.
1482 * WebView/WebPreferencesPrivate.h:
1483 removed _usePDFPreviewView and _setUsePDFPreviewView:. Note that these were guarded with
1484 a comment that says that they can be removed when no longer needed. That time is now.
1486 * WebView/WebPreferences.m:
1487 (+[WebPreferences initialize]):
1488 removed WebKitUsePDFPreviewViewPreferenceKey
1489 (-[WebPreferences _usePDFPreviewView]):
1491 (-[WebPreferences _setUsePDFPreviewView:]):
1494 * WebView/WebPDFView.mm:
1495 (-[WebPDFView initWithFrame:]):
1496 don't check _usePDFPreviewView
1498 * WebView/WebPreferenceKeysPrivate.h:
1499 removed WebKitUsePDFPreviewViewPreferenceKey
1501 2007-10-24 Timothy Hatcher <timothy@apple.com>
1503 Reviewed by Mark Rowe.
1505 <rdar://problem/5069711> OpenSource version of libWebKitSystemInterface.a is Tiger only, causes issues if used on Leopard
1507 Use the WebKitSystemInterface that matches the system version.
1509 * Configurations/DebugRelease.xcconfig:
1510 * WebKit.xcodeproj/project.pbxproj:
1512 2007-10-24 Brady Eidson <beidson@apple.com>
1516 <rdar://problem/5554130> DatabaseTracker.o has a global initializer
1518 * Misc/WebDatabaseManager.mm:
1519 (WebKitSetWebDatabasesPathIfNecessary): Call the member function instead of a static one
1521 2007-10-23 Mark Rowe <mrowe@apple.com>
1523 Build fix for Eric's build fix in r26916.
1525 * MigrateHeaders.make:
1527 2007-10-22 Eric Seidel <eric@webkit.org>
1531 * MigrateHeaders.make: copy over font-face related DOM headers
1533 2007-10-22 Andrew Wellington <proton@wiretapped.net>
1535 Reviewed by Mark Rowe.
1537 Fix for local database support after r26879
1538 Ensure that ENABLE_DATABASE and ENABLE_ICONDATABASE are correctly set
1540 * Configurations/WebKit.xcconfig:
1542 2007-10-19 Brady Eidson <beidson@apple.com>
1544 Reviewed by Tim Hatcher
1546 Added support for Chrome prompts required by the Storage API
1547 Added support API for future managing of databases from the WebKit client
1548 Added preference and initialization for the databases path
1550 * Misc/WebDatabaseManager.h: Added. WebDatabaseManager is how a WebKit application can list and
1551 remove the current available databases
1552 * Misc/WebDatabaseManager.mm: Added.
1553 (+[WebDatabaseManager origins]):
1554 (+[WebDatabaseManager databasesWithOrigin:]):
1555 (+[WebDatabaseManager deleteAllDatabases]):
1556 (+[WebDatabaseManager deleteAllDatabasesWithOrigin:]):
1557 (+[WebDatabaseManager deleteDatabaseWithOrigin:named:]):
1558 (WebKitSetWebDatabasesPathIfNecessary): Setup the database path
1559 * Misc/WebDatabaseManagerPrivate.h: Added.
1561 * WebCoreSupport/WebChromeClient.h: Support for calling the delegate to run the prompt for
1562 an origin exceeding its size limit
1563 * WebCoreSupport/WebChromeClient.mm:
1564 (WebChromeClient::runDatabaseSizeLimitPrompt):
1565 * WebKit.xcodeproj/project.pbxproj:
1566 * WebView/WebUIDelegate.h:
1568 * WebView/WebView.mm:
1569 (-[WebView _commonInitializationWithFrameName:groupName:]): Setup the database path
1570 * WebView/WebViewInternal.h:
1572 2007-10-19 John Sullivan <sullivan@apple.com>
1574 Reviewed by Tim Hatcher
1576 - fixed <rdar://problem/5540325> REGRESSION (2.0.4-3): History menu looks odd after clearing history
1578 * History/WebHistory.mm:
1579 (-[WebHistoryPrivate removeAllItems]):
1580 This was fallout from r25275. We need to clear the orderedLastVisitedDays cache here, in addition
1581 to the other places where it's cleared.
1583 2007-10-18 Dan Bernstein <mitz@apple.com>
1587 * WebView/WebDataSource.mm:
1588 (-[WebDataSource _MIMETypeOfResponse:]):
1590 2007-10-18 Dan Bernstein <mitz@apple.com>
1592 Reviewed by Adam Roben.
1594 - fix <rdar://problem/5313523>
1595 REGRESSION(Leopard): http/tests/incremental/slow-utf8-text.pl fails on Leopard
1597 * WebCoreSupport/WebFrameLoaderClient.mm:
1598 (WebFrameLoaderClient::makeDocumentView): Changed to use _responseMIMEType.
1599 * WebView/WebDataSource.mm:
1600 (-[WebDataSource _MIMETypeOfResponse:]): Added. Works around
1601 <rdar://problem/5321972> by testing for the case of an NSHTTPURLResponse
1602 with a MIMEType of application/octet-stream and a Content-Type header
1603 starting with text/plain and returning text/plain as the MIME type in
1605 (-[WebDataSource _responseMIMEType]): Added. Used to get the correct
1607 (-[WebDataSource _isDocumentHTML]): Changed to use _responseMIMEType.
1608 (-[WebDataSource _makeRepresentation]): Ditto.
1609 (-[WebDataSource mainResource]): Ditto.
1610 (-[WebDataSource subresources]): Changed to use _MIMETypeOfResponse and
1611 pass the MIME type explicitly.
1612 (-[WebDataSource subresourceForURL:]): Ditto.
1613 * WebView/WebDataSourcePrivate.h:
1614 * WebView/WebFrameView.mm:
1615 (-[WebFrameView _makeDocumentViewForDataSource:]): Changed to use
1617 * WebView/WebResource.mm:
1618 (-[WebResource _initWithData:URL:response:MIMEType:]): Changed this
1619 method to take a MIME type instead of extracting it from the response,
1620 so that WebDataSource could pass the correct MIME type.
1621 * WebView/WebResourcePrivate.h:
1623 2007-10-17 Darin Adler <darin@apple.com>
1625 Reviewed by Mark Rowe.
1627 - fix <rdar://problem/5183775> Uninitialized memory in -[WebDynamicScrollBarsView updateScrollers]
1629 * WebView/WebDynamicScrollBarsView.m: (-[WebDynamicScrollBarsView updateScrollers]):
1630 Change code path so it doesn't dispatch a method that returns an NSSize passing a nil object.
1631 It's safe to do that for functions that return integers or pointers, but not structures.
1633 2007-10-16 David Kilzer <ddkilzer@apple.com>
1635 Reviewed by Timothy.
1637 <rdar://problem/5544354> Wrong delegate method called in
1638 WebFrameLoaderClient::dispatchDidReceiveServerRedirectForProvisionalLoad()
1640 * WebCoreSupport/WebFrameLoaderClient.mm:
1641 (WebFrameLoaderClient::dispatchDidReceiveServerRedirectForProvisionalLoad): Fixed selector name.
1643 2007-10-16 Darin Adler <darin@apple.com>
1647 - moved transpose command implementation into WebCore
1649 * WebView/WebHTMLView.mm: Removed transpose: and replaced it with standard WebCore forwarding.
1651 2007-10-16 Darin Adler <darin@apple.com>
1653 Reviewed by Maciej and Geoff (and looked over by Eric).
1655 - http://bugs.webkit.org/show_bug.cgi?id=15519
1656 eliminate use of <ctype.h> for processing ASCII
1658 * ForwardingHeaders/wtf/ASCIICType.h: Added.
1659 * ForwardingHeaders/wtf/DisallowCType.h: Added.
1661 * WebKitPrefix.h: Include DisallowCType.h.
1663 * Misc/WebNSURLExtras.mm: (-[NSURL _web_URLWithLowercasedScheme]): Use toASCIILower.
1664 * WebView/WebHTMLView.mm:
1665 (-[WebHTMLView callWebCoreCommand:]): Use toASCIIUpper.
1666 (-[WebTextCompleteController filterKeyDown:]): Add a list of specific character codes,
1667 instead of using ispunct.
1669 2007-10-16 John Sullivan <sullivan@apple.com>
1671 Reviewed by Adam Roben
1673 Cleaned up localizable strings
1675 * English.lproj/Localizable.strings:
1677 * StringsNotToBeLocalized.txt:
1679 * WebKit.xcodeproj/project.pbxproj:
1680 StringsNotToBeLocalized.txt recently moved but project file wasn't updated to match; now it is
1682 2007-10-15 Kevin Decker <kdecker@apple.com>
1684 Reviewed by Darin Adler.
1686 Fixed: <rdar://problem/5520541> REGRESSION: Broken image when forwarding certain email on Tiger
1688 * WebCoreSupport/WebFrameBridge.mm: The problem was that we were loading Mail's WebKit plug-in
1689 too soon, which borked some necessary housekeeping on behalf of Mail. The fix is to add a quirk
1690 that treats Tiger Mail's WebKit plug-in like a Netscape plug-in, thus ensuring the plug-in will
1691 load during first layout and not attach time. For this plug-in, loading at first layout is
1692 expected and is consistent with Safari 2 behavior.
1694 2007-10-15 John Sullivan <sullivan@apple.com>
1696 Reviewed by Geoff Garen
1698 Replaced NS_DURING/NS_HANDLER with @try/@catch throughout WebKit
1700 I made the following changes:
1701 - replaced NS_DURING with @try, and added opening brace if there wasn't one
1702 - replaced NS_HANDLER with @catch (NSException *localException), and added braces if there weren't any
1703 - removed NS_ENDHANDLER, and added a closing brace if there wasn't one
1704 - in a couple of places, fixed indentation therein
1706 * Misc/WebIconDatabase.mm:
1707 (objectFromPathForKey):
1708 * WebView/WebHTMLView.mm:
1709 (-[WebHTMLView drawSingleRect:]):
1710 (-[WebHTMLView beginDocument]):
1711 (-[WebHTMLView deleteToMark:]):
1712 * WebView/WebView.mm:
1713 (-[WebView initWithCoder:]):
1715 == Rolled over to ChangeLog-2007-10-14 ==