1 2007-12-14 Darin Adler <darin@apple.com>
5 - http://bugs.webkit.org/show_bug.cgi?id=16443
6 implement some missing Windows WebKit functions
9 (DOMHTMLDocument::URL): Implemented.
11 * WebActionPropertyBag.cpp:
12 (WebActionPropertyBag::Read): Fixed the WebActionElementKey case.
14 2007-12-14 Darin Adler <darin@apple.com>
19 (WebView::execCommand): Switched from Editor::execCommand to Editor:command.
20 Updated name from MoveUpByPageAndModifyCaret to MovePageUp and from
21 MoveDownByPageAndModifyCaret to MovePageDown.
22 (WebView::copy): Switched from Editor::execCommand to Editor:command.
23 (WebView::cut): Ditto.
24 (WebView::paste): Ditto.
25 (WebView::delete_): Ditto.
27 2007-12-13 Steve Falkenburg <sfalken@apple.com>
29 Move source file generation into its own vcproj to fix build dependencies.
33 * WebKit.vcproj/Interfaces.vcproj:
34 * WebKit.vcproj/InterfacesGenerated.vcproj: Added.
35 * WebKit.vcproj/WebKit.sln:
36 * WebKit.vcproj/WebKit.submit.sln:
37 * WebKit.vcproj/build-generated-files.sh:
39 2007-12-13 Adam Roben <aroben@apple.com>
41 Fix <rdar://5517707> Crash on wptv.wp.pl when "make bigger" button is clicked
46 (WebViewWndProc): Repost paint messages and ignore all other messages
47 when we're calling a plugin.
49 2007-12-13 Steve Falkenburg <sfalken@apple.com>
51 Fix project dependencies based on JavaScriptCore change.
53 * WebKit.vcproj/WebKit.sln:
55 2007-12-13 Alexey Proskuryakov <ap@webkit.org>
59 http://bugs.webkit.org/show_bug.cgi?id=16421
60 REGRESSION(r28669): Page scrolls down when you hit space key in text area
62 Test: fast/events/space-scroll-event.html
67 Moved space handling to keyPress() to fix this bug and to match IE. Scrolling via arrow keys is correctly handled
70 2007-12-12 Brady Eidson <beidson@apple.com>
72 Reviewed by Sam Weinig
74 Fix for <rdar://problem/4886844> and lay groundwork for <rdar://problem/4516170> (Back/Forward Cache on Windows)
76 Even though this new code isn't exercised yet because the page cache is still turned off for Windows, local testing
77 has indicated it works well.
79 * WebCachedPagePlatformData.h: Added.
80 (WebCachedPagePlatformData::WebCachedPagePlatformData): Constructor takes an IWebDataSource and the object retains it
81 (WebCachedPagePlatformData::clear):
82 (WebCachedPagePlatformData::webDataSource):
85 (WebFrame::savePlatformDataToCachedPage):
86 (WebFrame::transitionToCommittedFromCachedPage):
87 (WebFrame::transitionToCommittedForNewPage):
90 * WebKit.vcproj/WebKit.vcproj:
92 2007-12-12 Steve Falkenburg <sfalken@apple.com>
96 * WebKit.vcproj/WebKit.make: Copy only what we need out of obj/bin.
98 2007-12-12 Dan Bernstein <mitz@apple.com>
100 Reviewed by Darin Adler.
102 - revert my earlier crash fix after making WebCore return the empty
103 editor command for the empty command name.
106 (WebView::handleEditingKeyboardEvent):
108 2007-12-12 Oliver Hunt <oliver@apple.com>
112 <rdar://problem/5071781> window.mouseout events are not
113 sent to window when mouse moves out of window
115 Hook up the windows mouse tracking logic to allow us to
116 detect the mouse leaving the window.
120 (WebView::handleMouseEvent):
124 2007-12-12 Dan Bernstein <mitz@apple.com>
126 Reviewed by Alexey Proskuryakov.
128 - fix a crash when pressing a key that is not associated with a command
131 (WebView::handleEditingKeyboardEvent): Check if the result of
132 interpretKeyEvent() is empty.
134 2007-12-11 Sam Weinig <sam@webkit.org>
136 Reviewed by Darin Adler.
138 Scrub URL out of the tree in preparation for renaming KURL to URL.
142 (WebFrame::dispatchWillPerformClientRedirect):
143 (WebFrame::setTitle):
144 (WebFrame::updateGlobalHistoryForStandardLoad):
145 (WebFrame::updateGlobalHistoryForReload):
146 (WebFrame::cancelledError):
147 (WebFrame::blockedError):
148 (WebFrame::interruptForPolicyChangeError):
149 (WebFrame::createPlugin):
151 (WebView::notifyDidAddIcon):
153 2007-12-10 Anders Carlsson <andersca@apple.com>
157 <rdar://problem/5636865>
158 WebKit needs API to allow registering a protocol as local (RSS feeds appear unstyled)
160 * Interfaces/IWebView.idl:
162 (WebView::registerURLSchemeAsLocal):
165 2007-12-11 Ada Chan <adachan@apple.com>
167 Updated the database SPI to take in IWebFrame.
171 * Interfaces/IWebUIDelegatePrivate.idl:
172 * WebChromeClient.cpp:
173 (WebChromeClient::requestQuotaIncreaseForNewDatabase):
174 (WebChromeClient::requestQuotaIncreaseForDatabaseOperation):
176 2007-12-11 Alexey Proskuryakov <ap@webkit.org>
181 (WebView::interpretKeyEvent):
183 2007-12-11 Darin Adler <darin@apple.com>
186 (WebView::handleEditingKeyboardEvent): Update for change to Editor API.
188 2007-12-11 Alexey Proskuryakov <ap@webkit.org>
192 <rdar://problem/5535636>
193 Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
195 http://bugs.webkit.org/show_bug.cgi?id=13916
196 JavaScript detects Tab as a character input on a textfield validation
198 Listen to WM_CHAR messages, and actually pass the type of message received down to WebCore.
199 Since WM_KEYDOWN == keydown and WM_CHAR == keypress, this allows for much better IE compatibility
200 than layering Windows keyboard event handling on top of Mac one.
203 (WebView::keyUp): Do not special case Alt+F4 and Alt+Space - we don't get keyups for those anyway!
204 (WebView::interpretKeyEvent): Renamed WindowsKeyCode() to windowsVirtualKeyCode().
205 (WebView::handleEditingKeyboardEvent): Use the additional information about event type that
206 we now pass with PlatformKeyboardEvent.
207 (WebView::keyDown): (WebView::keyPress): Split WM_KEYDOWN and WM_CHAR handling in separate
208 functions, pass them down as is, without trying to guess what WM_CHAR Windows would have sent
209 for a given WM_KEYDOWN.
211 (WebViewWndProc): Handle WM_CHAR and WM_SYSCHAR.
213 * WebView.h: Removed inIMEKeyDown() - it doesn't look like we need it at all. At least, I didn't
214 notice any regressions after removing the only call to it in WebEditorClient.
216 * WebEditorClient.cpp:
217 (WebEditorClient::handleKeyboardEvent):
218 (WebEditorClient::handleInputMethodKeydown):
220 Renamed handleKeypress() to handleKeyboardEvent(), as it gets both keydowns and keypresses.
221 Renamed handleInputMethodKeypress() to handleInputMethodKeydown() and removed
222 inIMEKeyDown()-related code.
224 2007-12-10 Geoffrey Garen <ggaren@apple.com>
226 Reviewed by Sam Weinig.
228 Updated for rename in JavaScriptCore.
230 * WebScriptCallFrame.cpp:
231 (WebScriptCallFrame::functionName):
232 (WebScriptCallFrame::valueByEvaluatingJavaScriptFromString):
234 2007-12-07 Steve Falkenburg <sfalken@apple.com>
238 Rubber-stamped by Oliver.
240 * WebKit.vcproj/auto-version.sh:
242 2007-12-07 Steve Falkenburg <sfalken@apple.com>
246 * WebKit.vcproj/WebKit.vcproj:
247 * WebScriptCallFrame.cpp:
249 2007-12-07 Steve Falkenburg <sfalken@apple.com>
254 (_WebCoreHistoryProvider::containsURL):
256 2007-12-07 Geoffrey Garen <ggaren@apple.com>
258 Tried to fix build by suppressing warning.
260 * WebScriptCallFrame.cpp:
262 2007-12-07 Darin Adler <darin@apple.com>
266 - http://bugs.webkit.org/show_bug.cgi?id=15981
267 speed up visited-link code a bit
269 * WebHistory.cpp: Removed unused Latin-1 code path.
270 (_WebCoreHistoryProvider::containsItem): Updated for function name change.
272 2007-12-07 Steve Falkenburg <sfalken@apple.com>
274 Re-named our B&I flag from BUILDBOT to PRODUCTION.
275 Fix our tiny versioning.
276 Bump our product version.
277 Use just the major version in the fallback VERSION files.
278 Pick up the version numbers from the production builder.
280 Reviewed by Sam Weinig.
282 * Interfaces/WebKit.idl:
283 * WebKit.vcproj/Interfaces.vcproj:
284 * WebKit.vcproj/PRODUCTVERSION:
285 * WebKit.vcproj/VERSION:
286 * WebKit.vcproj/WebKit.make:
287 * WebKit.vcproj/WebKit.rc:
288 * WebKit.vcproj/WebKit.vcproj:
289 * WebKit.vcproj/auto-version.sh:
291 (DllUnregisterServer):
293 2007-12-07 Adam Roben <aroben@apple.com>
295 Fix <rdar://5624866> CFStringRef UI_STRING should use a cache and follow the CF "Get" model (current uses leak)
297 Added a new class, LocalizedString, that wraps a CFStringRef and a
298 WebCore::String. We store one LocalizedString for each key string.
302 * WebLocalizableStrings.cpp: Changed our two HashMaps to map from
303 WebCore::String to LocalizedString*.
304 (LocalizedString::LocalizedString):
305 (LocalizedString::operator CFStringRef):
306 (LocalizedString::operator LPCTSTR): Code moved here from
308 (findCachedString): Changed to return a LocalizedString*.
309 (cacheString): Changed to take a LocalizedString*.
310 (localizedString): Changed to return a const LocalizedString&. We
311 first try to find a cached LocalizedString. If there isn't one, we
312 create a new one and cache it.
313 (WebLocalizedLPCTSTRUTF8): Changed to call localizedString.
314 (WebLocalizedLPCTSTR): Ditto.
316 2007-12-07 Adam Roben <aroben@apple.com>
318 Make WebLocalizableStrings work a little more like the Mac version
322 * WebKit.vcproj/WebKit.def: Deprecated SetWebLocalizedStringMainBundle.
323 * WebKit.vcproj/WebKit_debug.def: Ditto.
324 * WebLocalizableStrings.cpp:
325 (createWebKitBundle): Changed to only create the bundle once.
326 (cfBundleForStringsBundle): Added. Code was factored out of
327 copyLocalizedStringFromBundle. We now use the CFBundleGetMainBundle to
328 get the main bundle and WebLocalizableStringsBundle's identifier to
329 fetch the framework's bundle.
330 (copyLocalizedStringFromBundle): Changed to call
331 cfBundleForStringsBundle.
332 (cacheString): Cleaned up logic a bit with an early return.
333 (SetWebLocalizedStringMainBundle): Moved down with the other
334 deprecated functions and made into a no-op.
336 2007-12-07 Adam Roben <aroben@apple.com>
338 Use SoftLinking.h in WebKitClassFactory.
342 * WebKitClassFactory.cpp:
343 (WebKitClassFactory::WebKitClassFactory): We don't have to worry about
344 not finding STInitialize anymore now that a version of SafariTheme
345 containing this function has shipped.
347 2007-12-06 Ada Chan <adachan@apple.com>
349 <rdar://problem/5556378> Implemented database related UI delegate methods (prompts for new/enlarged databases)
353 * Interfaces/IWebUIDelegatePrivate.idl:
354 * WebChromeClient.cpp:
355 (WebChromeClient::requestQuotaIncreaseForNewDatabase):
356 (WebChromeClient::requestQuotaIncreaseForDatabaseOperation):
358 2007-12-06 Alice Liu <alice.liu@apple.com>
360 Fixed <rdar://5540000> onbeforeunload doesn't fire when closing window/tab
364 * Interfaces/IWebViewPrivate.idl:
366 (WebView::shouldClose):
369 2007-12-06 Adam Roben <aroben@apple.com>
371 Fix <rdar://5615283> Crash in WebFrame::receivedPolicyDecision
373 It's possible for a second policy listener to be created while we're
374 waiting for a decision on the first policy listener. In this case we
375 would crash when the first policy listener had a decision made. Mac
376 WebKit already handles this by invalidating any existing policy
377 listener when creating a new one.
379 A test case is coming in a future commit.
384 (WebFrame::setUpPolicyListener): Copy the Mac behavior of invalidating
385 any existing policy listener, and remove some assertions that we know
388 2007-12-06 Adam Roben <aroben@apple.com>
390 Add SPI so that DumpRenderTree can turn on the Mac font ascent hack
394 * Interfaces/IWebViewPrivate.idl: Added new method declaration.
396 (WebView::setShouldApplyMacFontAscentHack): Added. Just calls down to
400 2007-12-06 Ada Chan <adachan@apple.com>
406 * WebScriptCallFrame.cpp:
407 (WebScriptCallFrame::valueByEvaluatingJavaScriptFromString):
409 2007-12-04 Geoffrey Garen <ggaren@apple.com>
411 Reviewed by Darin Adler.
413 Third step in refactoring JSGlobalObject: Moved data members and data
414 member access from Interpreter to JSGlobalObject.
417 (WebFrame::globalContext):
418 (WebFrame::attachScriptDebugger):
419 (WebFrame::windowObjectCleared):
420 * WebScriptDebugger.cpp:
421 (WebScriptDebugger::WebScriptDebugger):
423 2007-12-05 Steve Falkenburg <sfalken@apple.com>
425 <rdar://problem/5625327> Crash toggling check grammar w/ spelling when no spell checker exists.
430 (WebView::setGrammarCheckingEnabled): Add null check
432 2007-12-05 Adam Roben <aroben@apple.com>
434 Expose WebView::setProhibitsMainFrameScrolling through IWebViewPrivate
438 * Interfaces/IWebViewPrivate.idl: Added declaration.
439 * WebInspectorClient.cpp:
440 (WebInspectorClient::createPage): Updated for change to
441 setProhibitsMainFrameScrolling signature.
443 (WebView::setProhibitsMainFrameScrolling): Updated and robustified.
446 2007-12-05 Dan Bernstein <mitz@apple.com>
448 Reviewed by Darin Adler.
450 - WebKit/win part of fixing <rdar://problem/5111082> Flash popup video ad doesn't close when clicked at http://www.firestonecompleteautocare.com/
453 (WebView::initWithFrame): Attach the main frame's view.
455 2007-12-04 Ada Chan <adachan@apple.com>
457 Provide API for setting the default storage quota per database origin
461 * Interfaces/IWebPreferencesPrivate.idl: added SPI to get/set default database quota
462 * WebPreferenceKeysPrivate.h:
463 * WebPreferences.cpp:
464 (WebPreferences::initializeDefaultSettings): default database quota is 5MB
465 (WebPreferences::longlongValueForKey):
466 (WebPreferences::setLongLongValue):
467 (WebPreferences::defaultDatabaseQuota):
468 (WebPreferences::setDefaultDatabaseQuota):
471 (WebView::notifyPreferencesChanged): propagate default database quota change to WebCore settings.
473 2007-12-04 Kevin McCullough <kmccullough@apple.com>
475 Reviewed by Adam and Darin.
477 - Fixed a crasher where the top of the stack was not updated correctly.
478 And set the eol style on IWebScriptCallFrame.idl file.
480 * Interfaces/IWebScriptCallFrame.idl:
481 * WebScriptDebugger.cpp:
482 (WebScriptDebugger::atStatement):
483 (WebScriptDebugger::leaveFrame):
485 2007-11-27 Adam Roben <aroben@apple.com>
487 Hook up the authorAndUserStylesEnabled preference
489 This is the Windows counterpart of r28071.
493 * Interfaces/IWebPreferencesPrivate.idl: Added new method
495 * WebPreferenceKeysPrivate.h: Added a new preference key.
496 * WebPreferences.cpp:
497 (WebPreferences::initializeDefaultSettings): Set the default for the
499 (WebPreferences::setAuthorAndUserStylesEnabled): Added.
500 (WebPreferences::authorAndUserStylesEnabled): Added.
503 (WebView::notifyPreferencesChanged): Communicate the new preference
504 down to WebCore::Settings.
506 2007-12-04 Jon Honeycutt <jhoneycutt@apple.com>
510 Don't crash if our JavaPlugin DLL can't be found
513 (WebFrame::createJavaAppletWidget): Added null check
515 2007-12-04 Darin Adler <darin@apple.com>
517 Reviewed by Kevin Decker.
519 * WebFrame.cpp: Removed obsolete privateBrowsingEnabled.
522 2007-12-04 Adam Roben <aroben@apple.com>
526 * WebScriptCallFrame.cpp:
528 2007-12-03 Dan Bernstein <mitz@apple.com>
530 Reviewed by Dave Hyatt.
532 - fix <rdar://problem/5346452> Resize event doesn't fire on body element inside a frame
535 (WebViewWndProc): Removed call to sendResizeEvent() since FrameView
538 2007-12-03 Kevin McCullough <kmccullough@apple.com>
542 - <rdar://5618942> Drosera: Console window does not process everything
544 - <rdar://5619005> Drosera: could be sped up by moving the
545 WebScriptScope stuff into the WebScriptCallFrame.
546 - Now the console can correctly process objects and does not receive
547 notifications from JavaScriptCore about the JavaScript in Drosera's
550 * Interfaces/IWebScriptCallFrame.idl: Moved the variable lookup
551 functions from WebScriptScope to here.
552 * Interfaces/WebKit.idl: Removed WebScriptScope.
553 * WebKit.vcproj/Interfaces.vcproj: Ditto.
554 * WebKit.vcproj/WebKit.vcproj: Ditto.
555 * WebKit.vcproj/WebKitGUID.vcproj: Ditto.
556 * WebScriptCallFrame.cpp: Moved WebScriptScope functionality into here.
557 (WebScriptCallFrame::stringByEvaluatingJavaScriptFromString): Now
558 returns a string value for things that are not strings.
559 (WebScriptCallFrame::variableNames): Moved from WebScriptScope.
560 (WebScriptCallFrame::valueForVariable): Moved from WebScriptScope.
561 (WebScriptCallFrame::jsValueToString): Helper functions that converts
562 any JSValue to a String.
563 * WebScriptCallFrame.h: Moved WebScriptScope functionality into here.
564 * WebScriptDebugger.cpp: Added nested guards so that Drosera does not
565 receive notifications about JavaScript that Drosera is running just the
566 JavaScript WebKit is running.
567 (WebScriptDebugger::WebScriptDebugger):
568 (WebScriptDebugger::sourceParsed):
569 (WebScriptDebugger::callEvent):
570 (WebScriptDebugger::atStatement):
571 (WebScriptDebugger::returnEvent):
572 (WebScriptDebugger::exception):
573 * WebScriptDebugger.h: Ditto.
574 * WebScriptScope.cpp: Removed.
575 * WebScriptScope.h: Removed.
577 2007-12-03 Mark Rowe <mrowe@apple.com>
579 Speculative Windows build fix.
581 * WebScriptCallFrame.cpp:
582 (WebScriptCallFrame::valueByEvaluatingJavaScriptFromString):
584 2007-12-03 Adam Roben <aroben@apple.com>
586 Another speculative Windows build fix
588 * WebScriptCallFrame.cpp:
589 (WebScriptCallFrame::valueByEvaluatingJavaScriptFromString):
591 2007-12-03 Adam Roben <aroben@apple.com>
593 Speculative Windows build fix
596 (WebFrame::globalContext):
597 (WebFrame::windowObjectCleared):
598 * WebScriptDebugger.cpp:
599 (WebScriptDebugger::WebScriptDebugger):
601 2007-12-01 Sam Weinig <sam@webkit.org>
603 Rename IWebViewPrivate::selectionImageRect to IWebViewPrivate::selectionRect.
605 Rubber stamped by Adam Roben.
607 * Interfaces/IWebViewPrivate.idl:
609 (WebView::selectionRect):
612 2007-11-30 Ada Chan <adachan@apple.com>
614 <rdar://problem/5621373> Added a way for the client to clear undo/redo
615 operations from a WebView.
619 * Interfaces/IWebViewPrivate.idl:
621 (WebView::clearUndoRedoOperations):
624 2007-11-29 Anders Carlsson <andersca@apple.com>
628 Add an IWebFrameLoadDelegate2 interface with a didClearWindowObject method
629 that passes in the frame whose window has been cleared. This matches a newly
630 added delegate method on the Mac.
632 * Interfaces/IWebFrameLoadDelegate.idl:
634 (WebFrame::windowObjectCleared):
636 2007-11-29 Kevin McCullough <kmccullough@apple.com>
640 - <rdar://5618976> Drosera: should listen for the WebScriptDebugServer
641 dying and vice versa.
643 * Interfaces/IWebScriptDebugListener.idl: Added the new function to the
645 * WebKit.vcproj/WebKit.def: Added the new function to the def file so
646 Safari can tell WebKit when the server is dying.
647 * WebKit.vcproj/WebKit_debug.def: Ditto.
648 * WebKitDLL.cpp: Added the new function for Safari to call.
651 * WebScriptDebugServer.cpp:
652 (WebScriptDebugServer::WebScriptDebugServer): Removed unused member.
653 (WebScriptDebugServer::sharedWebScriptDebugServer): Ditto, and added new
654 member to prevent adding or removing listeners when the server is dying.
655 (WebScriptDebugServer::addListener): Don't let new listeners be added
656 when the server is dying.
657 (WebScriptDebugServer::removeListener): Don't let listeners remove
658 themselves when the server is dying. The server will remove them all
660 (WebScriptDebugServer::serverDidDie): Notify all listeners that the
661 server is dying and remove all listeners.
662 * WebScriptDebugServer.h: Added the new method and removed an unused
665 2007-11-29 Brady Eidson <beidson@apple.com>
667 Build fix that works...?
671 2007-11-29 Brady Eidson <beidson@apple.com>
675 * WebChromeClient.cpp:
676 (WebChromeClient::requestQuotaIncreaseForNewDatabase):
677 (WebChromeClient::requestQuotaIncreaseForDatabaseOperation):
679 2007-11-29 Brady Eidson <beidson@apple.com>
681 Keep it building with new client method
683 * WebChromeClient.cpp:
684 (ChromeClient::requestQuotaIncreaseForNewDatabase):
685 (ChromeClient::requestQuotaIncreaseForDatabaseOperation):
688 2007-11-29 Dan Bernstein <mitz@apple.com>
690 Reviewed by Beth Dakin and Darin Adler.
692 - fix <rdar://problem/5346394> Contextmenu event doesn't fire on body element inside frame
695 (WebView::handleContextMenuEvent): Send the context menu event to the
696 frame containing the node that was hit.
698 2007-11-28 Kevin McCullough <kmccullough@apple.com>
702 - Added guards to the wait loop so execution would not hang and now the
703 console window can process JavaScript.
705 * WebScriptDebugServer.cpp:
706 (WebScriptDebugServer::suspendProcessIfPaused):
708 2007-11-28 Anders Carlsson <andersca@apple.com>
712 Implement the last bits of the WebDatabaseManager API.
714 * Interfaces/IWebDatabaseManager.idl:
715 * WebDatabaseManager.cpp:
717 (WebDatabaseManager::sharedWebDatabaseManager):
718 (WebDatabaseManager::dispatchDidModifyOrigin):
719 (WebDatabaseManager::dispatchDidModifyDatabase):
720 * WebDatabaseManager.h:
722 2007-11-28 Anders Carlsson <andersca@apple.com>
724 Get Drosera working again for real.
729 2007-11-27 Kevin McCullough <kmccullough@apple.com>
731 Reviewed by Maciej and Adam.
733 - Added Drosera to the WebKit project.
735 * WebKit.vcproj/WebKit.sln:
737 2007-11-27 Jon Honeycutt <jhoneycutt@apple.com>
741 Return bool from registerWebViewWindowClass, as nothing uses the ATOM.
742 Set haveRegisteredWindowClass to true
745 (registerWebViewWindowClass):
747 2007-11-27 Anders Carlsson <andersca@apple.com>
749 Speculative fix to get Drosera working.
753 Update the number of elements fetched correctly.
755 2007-11-27 Anders Carlsson <andersca@apple.com>
761 * CFDictionaryPropertyBag.cpp:
762 (CFDictionaryPropertyBag::QueryInterface):
763 * CFDictionaryPropertyBag.h:
764 * WebBackForwardList.cpp:
765 (WebBackForwardList::addItem):
766 (WebBackForwardList::removeItem):
768 (WebDownload::initWithRequest):
770 (WebFrame::loadRequest):
771 (WebFrame::initWithWebFrameView):
772 (WebFrame::webHistory):
773 (WebFrame::dispatchWillSendRequest):
774 * WebURLAuthenticationChallenge.cpp:
775 (WebURLAuthenticationChallenge::QueryInterface):
776 (WebURLAuthenticationChallenge::initWithProtectionSpace):
777 * WebURLAuthenticationChallenge.h:
778 * WebURLAuthenticationChallengeSender.cpp:
779 (WebURLAuthenticationChallengeSender::QueryInterface):
780 * WebURLAuthenticationChallengeSender.h:
781 * WebURLResponse.cpp:
782 (WebURLResponse::QueryInterface):
785 (WebView::notifyDidAddIcon):
786 (WebView::goToBackForwardItem):
787 (WebView::canHandleRequest):
788 (WebView::loadBackForwardListFromOtherView):
791 2007-11-27 Anders Carlsson <andersca@apple.com>
793 Add COMEnumVariant.h to the project.
795 * WebKit.vcproj/WebKit.vcproj:
797 2007-11-27 Anders Carlsson <andersca@apple.com>
801 Return E_INVALIDARG if the databaseName BSTR is null.
803 * WebDatabaseManager.cpp:
804 (WebDatabaseManager::detailsForDatabaseWithOrigin):
805 (WebDatabaseManager::deleteDatabaseWithOrigin):
807 2007-11-27 Anders Carlsson <andersca@apple.com>
811 Implement the rest of the WebDatabaseManager API.
814 * Interfaces/IWebDatabaseManager.idl:
815 * WebDatabaseManager.cpp:
817 (DatabaseDetailsPropertyBag::DatabaseDetailsPropertyBag):
818 (DatabaseDetailsPropertyBag::~DatabaseDetailsPropertyBag):
819 (DatabaseDetailsPropertyBag::createInstance):
820 (DatabaseDetailsPropertyBag::AddRef):
821 (DatabaseDetailsPropertyBag::Release):
822 (DatabaseDetailsPropertyBag::QueryInterface):
823 (DatabaseDetailsPropertyBag::Read):
824 (DatabaseDetailsPropertyBag::Write):
825 (WebDatabaseManager::detailsForDatabaseWithOrigin):
826 (WebDatabaseManager::deleteAllDatabases):
827 (WebDatabaseManager::deleteDatabasesWithOrigin):
828 (WebDatabaseManager::deleteDatabaseWithOrigin):
829 * WebDatabaseManager.h:
831 2007-11-27 Ada Chan <adachan@apple.com>
833 <rdar://problem/5616098> The BSTR returned by WebHistoryItem::alternateTitle
834 was not allocated correctly.
838 * WebHistoryItem.cpp:
839 (WebHistoryItem::setAlternateTitle):
840 (WebHistoryItem::alternateTitle):
843 2007-11-27 Anders Carlsson <andersca@apple.com>
847 Use COMEnumVariant in WebScriptCallFrame and WebScriptScope.
849 * WebScriptCallFrame.cpp:
850 (WebScriptCallFrame::scopeChain):
851 * WebScriptScope.cpp:
852 (WebScriptScope::variableNames):
854 2007-11-27 Anders Carlsson <andersca@apple.com>
858 Use the correct include paths.
862 2007-11-27 Anders Carlsson <andersca@apple.com>
866 Add COMEnumVariant, a templatized class with implements IEnumVARIANT and lets
867 you enumerate over a C++ container, be it WTF or STL.
869 * COMEnumVariant.h: Added.
871 * WebDatabaseManager.cpp:
872 (WebDatabaseManager::origins):
873 (WebDatabaseManager::databasesWithOrigin):
874 Implement these using COMEnumVariant.
876 * WebSecurityOrigin.cpp:
877 (WebSecurityOrigin::QueryInterface):
878 * WebSecurityOrigin.h:
879 Add a UUID for the implementation so that other parts of WebKit can access
880 the WebCore::SecurityOriginData object.
882 2007-11-26 Adam Roben <aroben@apple.com>
884 Take advantage of the new Color constructor that takes a CGColorRef
886 This lets us handle grayscale colors (which only have 2 components).
890 * WebKitGraphics.cpp:
893 2007-11-26 Steve Falkenburg <sfalken@apple.com>
897 * WebKit.vcproj/WebKit.make:
899 2007-11-26 Steve Falkenburg <sfalken@apple.com>
903 * WebKit.vcproj/build-generated-files.sh:
905 2007-11-26 Steve Falkenburg <sfalken@apple.com>
909 * WebKit.vcproj/build-generated-files.sh:
911 2007-11-26 Anders Carlsson <andersca@apple.com>
915 Add an implementation of IWebSecurityOrigin and a partially stubbed out
916 implementation of IWebDatabaseManager.
919 * Interfaces/IWebDatabaseManager.idl:
920 * Interfaces/WebKit.idl:
921 * WebDatabaseManager.cpp:
922 (WebDatabaseManager::createInstance):
923 (WebDatabaseManager::WebDatabaseManager):
924 (WebDatabaseManager::~WebDatabaseManager):
925 (WebDatabaseManager::QueryInterface):
926 (WebDatabaseManager::AddRef):
927 (WebDatabaseManager::Release):
928 (WebDatabaseManager::sharedWebDatabaseManager):
929 (WebDatabaseManager::origins):
930 (WebDatabaseManager::databasesWithOrigin):
931 (WebDatabaseManager::detailsForDatabaseWithOrigin):
932 (WebDatabaseManager::deleteAllDatabases):
933 (WebDatabaseManager::deleteDatabasesWithOrigin):
934 (WebDatabaseManager::deleteDatabaseWithOrigin):
935 * WebDatabaseManager.h:
936 * WebKit.vcproj/WebKit.vcproj:
937 * WebKitClassFactory.cpp:
938 * WebSecurityOrigin.cpp: Added.
939 (WebSecurityOrigin::createInstance):
940 (WebSecurityOrigin::WebSecurityOrigin):
941 (WebSecurityOrigin::~WebSecurityOrigin):
942 (WebSecurityOrigin::QueryInterface):
943 (WebSecurityOrigin::AddRef):
944 (WebSecurityOrigin::Release):
945 (WebSecurityOrigin::protocol):
946 (WebSecurityOrigin::domain):
947 (WebSecurityOrigin::port):
948 (WebSecurityOrigin::usage):
949 (WebSecurityOrigin::quota):
950 (WebSecurityOrigin::setQuota):
951 * WebSecurityOrigin.h: Added.
953 2007-11-26 Kevin McCullough <kmccullough@apple.com>
957 - Implemented displaying variables for Drosera on Win.
959 * Interfaces/IWebScriptCallFrame.idl: Added a local function to be
960 able to access the WebScriptCallFrame.
961 * Interfaces/IWebScriptScope.idl: Implemented.
962 * Interfaces/WebKit.idl: Added WebScriptScope to the tlb.
963 * WebKit.vcproj/Interfaces.vcproj:
964 * WebScriptCallFrame.cpp: Implemented the helper and accessor methods.
965 (EnumScopes::Next): Fixed a bug where we did not release correctly and
966 would accidentally destroy scopes.
967 (WebScriptCallFrame::stringByEvaluatingJavaScriptFromString):
969 (WebScriptCallFrame::valueByEvaluatingJavaScriptFromString): Implemented
970 * WebScriptCallFrame.h: Implemented the helper and accessor methods.
971 (WebScriptCallFrame::impl):
972 (WebScriptCallFrame::state):
973 * WebScriptScope.cpp: Implmented.
974 (EnumVariables::EnumVariables): Created an IEnumVariant over the
975 variables to be able to pass a DCOM acceptable structure back to
977 (EnumVariables::createInstance):
978 (EnumVariables::QueryInterface):
979 (EnumVariables::AddRef):
980 (EnumVariables::Release):
981 (EnumVariables::Next):
982 (EnumVariables::Skip):
983 (EnumVariables::Reset):
984 (EnumVariables::Clone):
985 (WebScriptScope::WebScriptScope):
986 (WebScriptScope::createInstance): Implemented.
987 (WebScriptScope::variableNames): Implemented.
988 (WebScriptScope::valueForVariable):
989 * WebScriptScope.h: Implmeneted.
991 2007-11-26 Anders Carlsson <andersca@apple.com>
995 Add IWebDatabaseManager and IWebSecurityOrigin interfaces.
997 * Interfaces/IWebDatabaseManager.idl: Added.
998 * Interfaces/IWebSecurityOrigin.idl: Added.
999 * WebKit.vcproj/Interfaces.vcproj:
1000 * WebKit.vcproj/WebKitGUID.vcproj:
1002 2007-11-26 Alice Liu <alice.liu@apple.com>
1004 Reviewed by Jon Honeycutt.
1006 Fall back to the default Policy Delegate in these functions,
1007 as is already done in dispatchDecidePolicyForNavigationAction
1010 (WebFrame::dispatchDecidePolicyForMIMEType):
1011 (WebFrame::dispatchDecidePolicyForNewWindowAction):
1012 (WebFrame::dispatchUnableToImplementPolicy):
1014 2007-11-25 Adam Roben <aroben@apple.com>
1016 Fix a leak pointed out by Alexey
1019 (getUpdateRects): Use a Vector<unsigned char>, since OwnPtr doesn't
1020 know to call delete[].
1022 2007-11-25 Adam Roben <aroben@apple.com>
1024 Fix Bug 16138: Reduce code duplication in WebView.cpp
1026 http://bugs.webkit.org/show_bug.cgi?id=16138
1031 (getUpdateRects): Factored code out of updateBackingStore and paint
1032 into this new helper function.
1033 (WebView::updateBackingStore): Use getUpdateRects.
1034 (WebView::paint): Ditto.
1035 (WebView::paintIntoBackingStore): Changed to take a const IntRect&.
1036 (WebView::paintIntoWindow): Ditto.
1039 2007-11-25 Adam Roben <aroben@apple.com>
1041 Add ImageDiff.vcproj to WebKit.sln
1045 * WebKit.vcproj/WebKit.sln:
1047 2007-11-17 Timothy Hatcher <timothy@apple.com>
1049 Reviewed by Mark Rowe.
1051 Bug 13470: i18n: The Web Inspector is not localizable
1052 http://bugs.webkit.org/show_bug.cgi?id=13470
1054 * English.lproj/Localizable.strings: Updated.
1055 * WebInspectorClient.cpp:
1056 (WebInspectorClient::localizedStringsURL): Empty stub.
1057 * WebInspectorClient.h: Added localizedStringsURL.
1059 2007-11-17 Alexey Proskuryakov <ap@webkit.org>
1064 (WebView::deleteSelection): Use canSmartCopyOrDelete() directly.
1066 2007-11-14 Adam Roben <aroben@apple.com>
1068 Change Interfaces to be a "Static Library" project
1070 Being a Utility project meant that Interfaces was rebuilding every
1071 time (Utility projects are supposed to handle their own dependencies).
1072 Interfaces isn't really a static library, but it means that VS will
1073 handle dependencies for us (and not complain about missing manifests
1074 like it did when the project was an Application).
1076 * WebKit.vcproj/Interfaces.vcproj:
1078 2007-11-14 Adam Roben <aroben@apple.com>
1080 Shut up FixMIDLHeaders.pl
1082 * WebKit.vcproj/FixMIDLHeaders.pl:
1084 2007-11-14 Adam Roben <aroben@apple.com>
1086 Change Interfaces to use a Utility configuration
1088 It had previously been marked as an "Application (.exe)", which is
1089 wrong but worked with most versions of Visual Studio.
1091 Rubberstamped by Steve.
1093 * WebKit.vcproj/Interfaces.vcproj:
1095 2007-11-14 Anders Carlsson <andersca@apple.com>
1099 Get the new focus window from the wParam instead of calling GetFocus().
1100 Also, send blur even if there is no focused frame.
1105 2007-11-14 Adam Roben <aroben@apple.com>
1107 Another build fix for systems without Cygwin in their PATH
1109 * WebKit.vcproj/Interfaces.vcproj: Add Cygwin to the PATH in the
1112 2007-11-13 Kevin McCullough <kmccullough@apple.com>
1116 - Make Drosera show source, source URLs, and function stack on Windows
1117 and some minor fixes.
1119 * WebScriptCallFrame.cpp: Fixed a bug where the callFrame was not reffed
1120 properly before being returned, and changed functionName() to check for
1121 Null or if the name is empty.
1122 (EnumScopes::Clone):
1123 (WebScriptCallFrame::WebScriptCallFrame):
1124 (WebScriptCallFrame::createInstance):
1125 (WebScriptCallFrame::caller):
1126 (WebScriptCallFrame::functionName):
1127 * WebScriptCallFrame.h: Ditto
1128 * WebScriptDebugServer.cpp: Made the listenerSet static since we were
1129 already treating it as if it were. Removed the EnumViews stuff. This
1130 was added by Steve to demonstrate DCOM and he thought it would be needed
1131 by Drosera, but I don't believe it will be.
1132 Implemented suspendProcessIfPaused() also added calls to it at the end
1133 of several functions to ensure we pause if Drosera has told WebKit to.
1134 (WebScriptDebugServer::WebScriptDebugServer):
1135 (WebScriptDebugServer::sharedWebScriptDebugServer):
1136 (WebScriptDebugServer::addListener):
1137 (WebScriptDebugServer::removeListener):
1138 (WebScriptDebugServer::suspendProcessIfPaused):
1139 (WebScriptDebugServer::didLoadMainResourceForDataSource):
1140 (WebScriptDebugServer::didParseSource):
1141 (WebScriptDebugServer::failedToParseSource):
1142 (WebScriptDebugServer::didEnterCallFrame):
1143 (WebScriptDebugServer::willExecuteStatement):
1144 (WebScriptDebugServer::willLeaveCallFrame):
1145 (WebScriptDebugServer::exceptionWasRaised):
1146 * WebScriptDebugServer.h: Ditto.
1147 * WebScriptDebugger.cpp: The important change here is that leaveFrame()
1148 is called before willLeaveCallFrame(). I think there is some EOL stuff
1150 - It was the implementing of these functions that allows source, the
1151 source URLs and function stack to be displayed.
1152 (WebScriptDebugger::callEvent):
1153 (WebScriptDebugger::atStatement):
1154 (WebScriptDebugger::returnEvent):
1155 (WebScriptDebugger::exception):
1156 (WebScriptDebugger::enterFrame):
1157 (WebScriptDebugger::leaveFrame):
1158 * WebView.cpp: Removed the EnumView functions.
1160 (WebView::~WebView):
1162 2007-11-13 Adam Roben <aroben@apple.com>
1164 Fix <rdar://5346832> Infinite recursion when opening Web Inspector on more than one tab
1166 The bug was that multiple WebNodeHighlights would subclass the same
1167 browser window, leading to infinite recursion within
1170 WebNodeHighlight is now a WindowMessageListener, and lets
1171 WindowMessageBroadcaster handle subclassing the window.
1175 * WebNodeHighlight.cpp:
1176 (WebNodeHighlight::WebNodeHighlight): Initialize m_observedWindow
1178 (WebNodeHighlight::~WebNodeHighlight): Unregister as a listener for
1180 (WebNodeHighlight::highlight): Register as a listener.
1181 (WebNodeHighlight::windowReceivedMessage): Do the work that used to be
1182 done in SubclassedWndProc.
1183 * WebNodeHighlight.h: Made WebNodeHighlight a WindowMessageListener,
1184 and renamed m_subclassedWindow to m_observedWindow.
1186 2007-11-13 Adam Roben <aroben@apple.com>
1188 Build fix for systems that don't have Cygwin in their PATH
1190 * WebKit.vcproj/Interfaces.vcproj: Put Cygwin in the PATH before
1193 2007-11-13 Steve Falkenburg <sfalken@apple.com>
1195 Add IDOMElementPrivate::font() to get an element's font
1196 as a WebFontDescription.
1200 * DOMCoreClasses.cpp:
1203 * Interfaces/DOMPrivate.idl:
1205 2007-11-12 Adam Roben <aroben@apple.com>
1209 * WebKit.vcproj/WebKit.def: Export fastZeroedMalloc.
1210 * WebKit.vcproj/WebKit_debug.def: Ditto.
1212 2007-11-09 Jon Honeycutt <jhoneycutt@apple.com>
1216 <rdar://5585900>: Safari crashes when selected in context menu to open
1217 audio format files (au, aif) with QT 7.3
1219 The crash occurred on a machine where QT 7.3 was failing to initialize.
1220 The fix is to avoid sending streams to full-page plugins that've failed
1224 (WebFrame::finishedLoading): Check plugin status before calling manual
1226 (WebFrame::setMainDocumentError): Same
1227 (WebFrame::committedLoad): Same
1229 2007-11-09 Sam Weinig <sam@webkit.org>
1231 Rubber stamped by Oliver.
1233 Make WebCore a dependency of Interfaces.
1235 * WebKit.vcproj/WebKit.sln:
1237 2007-11-04 Sam Weinig <sam@webkit.org>
1239 Reviewed by Adam Roben.
1241 <rdar://problem/5435940>
1242 The COM bindings for the DOM should be autogenerated like the other DOM bindings
1244 Initial commit of the autogeneration of the COM DOM Bindings. No behavior change
1245 is being introduced in this patch and to insure that no conflicts arise, a temporary
1246 prefix of "GEN_" has been used for all the new classes.
1248 The build architecture for these bindings differs slightly from the other autogenerated
1249 bindings. Instead of building in WebCore and migrating the resuting code to WebKit (as
1250 is done for the Objective-C bindigs currently), the IDLs and generation scripts are
1251 migrated to WebKit and built there. This is done with a series of scripts and Makefiles.
1253 This commit includes:
1254 - Hand rolled root class/Interface GEN_DOMObject used to facilated object creation
1256 - Generating all of the Core DOM and most of HTML and CSS
1257 - Generating Event, EventTarget, and EventListener
1259 * DOMCreateInstance.cpp: Added.
1264 (GEN_DOMNode::createInstance):
1265 (GEN_DOMImplementation::createInstance):
1266 (GEN_DOMCSSRule::createInstance):
1267 (GEN_DOMStyleSheet::createInstance):
1268 (GEN_DOMCSSValue::createInstance):
1269 * DOMCreateInstance.h: Added.
1270 Temporary location for createInstance/object caching methods. This will be broken up
1271 into seperate files in the near future.
1273 * GEN_DOMObject.cpp: Added.
1274 (GEN_DOMObject::GEN_DOMObject):
1275 (GEN_DOMObject::~GEN_DOMObject):
1276 (GEN_DOMObject::QueryInterface):
1277 (GEN_DOMObject::AddRef):
1278 (GEN_DOMObject::Release):
1279 * GEN_DOMObject.h: Added.
1280 Hand rolled base class.
1282 * Interfaces/IGEN_DOMObject.idl: Added.
1283 Hand rolled base interface.
1285 * WebKit.vcproj/DerivedSources.make: Added.
1286 * WebKit.vcproj/FixMIDLHeaders.pl: Added.
1287 This script is required because MIDL is producing un-buildable code due to
1288 circular dependencies.
1290 * WebKit.vcproj/Interfaces.vcproj:
1291 * WebKit.vcproj/WebKit.vcproj:
1292 * WebKit.vcproj/WebKitGUID.vcproj:
1293 * WebKit.vcproj/build-generated-files.sh: Added.
1295 2007-11-08 Kevin McCullough <kmccullough@apple.com>
1299 - This patch does two main things.
1300 1) It adds pragma warning guards around WebCore includes in WebKit files
1301 that were previously overlooked.
1302 2) It implements almost the entireity of WebScriptDebugger. Only one
1303 function remains and that implementation is dependent on finishing the
1304 implementation of WebScriptScope.
1306 * WebScriptCallFrame.h:
1307 * WebScriptDebugServer.h:
1308 * WebScriptDebugger.cpp:
1309 (WebScriptDebugger::WebScriptDebugger):
1310 (WebScriptDebugger::sourceParsed):
1311 (WebScriptDebugger::callEvent):
1312 (WebScriptDebugger::atStatement):
1313 (WebScriptDebugger::returnEvent):
1314 (WebScriptDebugger::exception):
1315 (WebScriptDebugger::enterFrame):
1316 (WebScriptDebugger::leaveFrame):
1317 * WebScriptDebugger.h:
1319 2007-11-08 Steve Falkenburg <sfalken@apple.com>
1321 <rdar://problem/5491463> Wrong dates shown in History menu.
1323 Fix off-by-one error in Windows epoch.
1325 For the Windows DATE type, 1/1/1900 should be 2.0, not 1.0.
1326 DATE is the number of days since 12/30/1899.
1330 * MarshallingHelpers.cpp:
1331 (MarshallingHelpers::windowsEpochAbsoluteTime):
1333 2007-11-08 Kevin McCullough <kmccullough@apple.com>
1337 - With this change Drosera can now get the source of a website and the
1338 listings of the sources it gets. This also lays the foundation for
1339 letting Drosera show the scope chain of the JavaScript stack.
1341 * Interfaces/IWebFrame.idl: Changed the signature of the local function,
1342 globalContext(), because COM was unable to marshal this object with the
1344 * Interfaces/IWebScriptDebugServer.idl: Of course adding and removing
1345 a listener cannot be done in a const function.
1346 * WebChromeClient.h: Added accessor to the WebView for the new added
1347 kit() function in WebFrame.
1348 (WebChromeClient::webView):
1349 * WebFrame.cpp: Added a script debugger object and the necessary
1350 functions to attach and communicate with it. Also needed to change the
1351 local function, globalContext(), because of a COM issue.
1353 (WebFrame::WebFrame):
1354 (WebFrame::globalContext):
1355 (WebFrame::loadData):
1356 (WebFrame::attachScriptDebugger):
1357 (WebFrame::detachScriptDebugger):
1358 (WebFrame::dispatchDidLoadMainResource):
1359 (WebFrame::windowObjectCleared):
1360 * WebFrame.h: Ditto.
1361 * WebHTMLRepresentation.cpp: Implemented documentSource so Drosera has
1362 some source code to display.
1363 (WebHTMLRepresentation::WebHTMLRepresentation):
1364 (WebHTMLRepresentation::documentSource):
1365 * WebKit.vcproj/WebKit.vcproj: Added the new WebScriptDebugger class.
1366 * WebScriptCallFrame.cpp: Implemented much of this class' functionality.
1367 (EnumScopes::EnumScopes): Made an EnumScopes class to create an
1368 IEnumVARIANT to wrap a ScopeChain for Drosera.
1369 (EnumScopes::QueryInterface):
1370 (EnumScopes::AddRef):
1371 (EnumScopes::Release):
1374 (EnumScopes::Reset):
1375 (EnumScopes::Clone):
1376 (WebScriptCallFrame::caller):
1377 (WebScriptCallFrame::scopeChain):
1378 (WebScriptCallFrame::functionName):
1379 (WebScriptCallFrame::stringByEvaluatingJavaScriptFromString):
1380 * WebScriptCallFrame.h: Added member data needed for the above functions
1381 * WebScriptDebugServer.cpp: Began implementing.
1382 (WebScriptDebugServer::listenerCount):
1383 (EnumViews::QueryInterface):
1384 (EnumViews::AddRef):
1385 (EnumViews::Release):
1390 (WebScriptDebugServer::WebScriptDebugServer):
1391 (WebScriptDebugServer::createInstance):
1392 (WebScriptDebugServer::sharedWebScriptDebugServer):
1393 (WebScriptDebugServer::AddRef):
1394 (WebScriptDebugServer::Release):
1395 (WebScriptDebugServer::addListener):
1396 (WebScriptDebugServer::removeListener):
1397 (WebScriptDebugServer::step):
1398 (WebScriptDebugServer::pause):
1399 (WebScriptDebugServer::resume):
1400 (WebScriptDebugServer::isPaused):
1401 (WebScriptDebugServer::suspendProcessIfPaused):
1402 (WebScriptDebugServer::didLoadMainResourceForDataSource):
1403 (WebScriptDebugServer::didParseSource):
1404 (WebScriptDebugServer::failedToParseSource):
1405 (WebScriptDebugServer::didEnterCallFrame):
1406 (WebScriptDebugServer::willExecuteStatement):
1407 (WebScriptDebugServer::willLeaveCallFrame):
1408 (WebScriptDebugServer::exceptionWasRaised):
1409 * WebScriptDebugServer.h: Began implementing.
1410 * WebScriptDebugger.cpp: Added.
1411 (WebScriptDebugger::WebScriptDebugger):
1412 (WebScriptDebugger::sourceParsed):
1413 * WebScriptDebugger.h: Added.
1414 * WebScriptScope.cpp: Make this class use createInstance which is more
1415 in line with our guidelines.
1416 (WebScriptScope::WebScriptScope):
1417 (WebScriptScope::createInstance):
1421 2007-11-07 Darin Adler <darin@apple.com>
1425 * Interfaces/IWebUIDelegate.idl: Added the functions needed below.
1426 * WebChromeClient.cpp:
1427 (WebChromeClient::setMenubarVisible): Eliminated the notImplemented()
1428 here by calling through the UI delegate.
1429 (WebChromeClient::menubarVisible): Ditto.
1430 (WebChromeClient::runDatabaseSizeLimitPrompt): Ditto.
1432 2007-11-07 Steve Falkenburg <sfalken@apple.com>
1434 Added IWebDocumentText available via QI from WebFrame.
1439 (WebFrame::QueryInterface): Added IID_IWebDocumentText.
1440 (WebFrame::supportsTextEncoding): Stubbed out.
1441 (WebFrame::selectedString): Implemented.
1442 (WebFrame::selectAll): Stubbed out.
1443 (WebFrame::deselectAll): Stubbed out.
1446 2007-11-07 Adam Roben <aroben@apple.com>
1448 Fix <rdar://5569268> Crash when opening any FTP site in second tab/window
1453 (WebView::initWithFrame): Set the ftpDirectoryTemplatePath for every
1454 Page, not just the first one.
1456 2007-11-06 Adam Roben <aroben@apple.com>
1458 Change WebLocalizableStrings to take UTF-8 C strings
1460 This matches the way things work on the Mac, and will allow source
1461 files containing localizable strings to be shared between Mac and
1462 Windows. The old functions have not been removed for compatibility
1463 reasons, but are now just wrappers around the new UTF-8 functions.
1467 * WebKit.vcproj/WebKit.def: Added new functions.
1468 * WebKit.vcproj/WebKit_debug.def: Ditto.
1469 * WebLocalizableStrings.cpp:
1470 (copyLocalizedStringFromBundle): Changed to take a WebCore::String
1471 representing the key.
1472 (localizedString): Refactored from WebLocalizedString. Takes a
1473 WebCore::String representing the key.
1474 (localizedLPCTSTR): Ditto for WebLocalizedLPCTSTR.
1475 (WebLocalizedStringUTF8): Added. Takes a UTF-8 C string as the key.
1476 (WebLocalizedLPCTSTRUTF8): Ditto.
1477 (WebLocalizedString): Changed to call localizedString.
1478 (WebLocalizedLPCTSTR): Changed to call localizedLPCTSTR.
1479 * WebLocalizableStrings.h: Changed macros to use the new UTF-8
1482 2007-11-06 Darin Adler <darin@apple.com>
1484 Reviewed by Adam and Steve.
1486 - added hooks needed to implement showModalDialog on Windows
1488 * Interfaces/IWebUIDelegate.idl: Added canRunModal, createModalDialog,
1489 and runModal functions to the end of IWebUIDelegate3.
1491 * WebChromeClient.h: Added uiDelegate and uiDelegate2 helper functions,
1492 so it's easier to write client functions.
1493 * WebChromeClient.cpp:
1494 (WebChromeClient::createWindow): Implemented dialog case. Calls IWebUIDelegate3.
1495 (WebChromeClient::canRunModal): Implemented. Calls IWebUIDelegate3.
1496 (WebChromeClient::runModal): Ditto.
1497 (WebChromeClient::uiDelegate): Added.
1498 (WebChromeClient::uiDelegate2): Added.
1499 (WebChromeClient::uiDelegate3): Added.
1501 2007-11-06 Alexey Proskuryakov <ap@webkit.org>
1503 Rubber-stamped by Adam Roben.
1508 (WebFrame::string): plainText() returns a String now.
1510 2007-11-05 Ada Chan <adachan@apple.com>
1512 <rdar://problem/5579772> Regression: AltGr does not work
1513 Testing whether alt-key is down is not the right test for system key event.
1514 Added a m_isSystemKey flag in PlatformKeyboardEvent to keep track of whether
1515 this is a system key event, check that flag instead in handleEditingKeyboardEvent().
1521 (WebView::handleEditingKeyboardEvent):
1526 2007-11-05 Ada Chan <adachan@apple.com>
1530 Reviewed by Tristan.
1532 * WebChromeClient.h:
1534 2007-11-05 Tristan O'Tierney <tristan@apple.com>
1536 Reviewed by Darin Adler.
1538 Part of the WebKit/WebCore API changes for
1539 <rdar://problem/5368188>
1541 * WebChromeClient.cpp:
1542 (WebChromeClient::createWindow):
1543 Removed usage of createModalDialog and revised to use new createWindow
1546 2007-11-04 Adam Roben <aroben@apple.com>
1548 Add IWebCache::disabled
1550 This matches the Mac WebCache class.
1554 * Interfaces/IWebCache.idl:
1556 (WebCache::disabled):
1559 2007-11-04 Adam Roben <aroben@apple.com>
1561 Add IWebInspector and a way to get one from a WebView
1563 This API matches the Mac one added in r27266.
1567 * Interfaces/IWebInspector.idl: Added.
1568 * Interfaces/IWebViewPrivate.idl: Added a new inspector method to
1570 * WebInspector.cpp: Added.
1571 (WebInspector::createInstance):
1572 (WebInspector::WebInspector):
1573 (WebInspector::~WebInspector):
1574 (WebInspector::webViewClosed):
1575 (WebInspector::QueryInterface):
1576 (WebInspector::AddRef):
1577 (WebInspector::Release):
1578 (WebInspector::show):
1579 (WebInspector::showConsole):
1580 (WebInspector::showTimeline):
1581 (WebInspector::close):
1582 (WebInspector::attach):
1583 (WebInspector::detach):
1584 * WebInspector.h: Added.
1585 * WebKit.vcproj/Interfaces.vcproj: Added IWebInspector.idl.
1586 * WebKit.vcproj/WebKit.vcproj: Added WebInspector.{cpp,h}.
1587 * WebKit.vcproj/WebKitGUID.vcproj: Added IWebInspector_i.c.
1589 (WebView::close): Notify the WebInspector that we're closing.
1590 (WebView::inspector): Added.
1593 2007-11-04 Adam Roben <aroben@apple.com>
1595 Cache strings that come directly from WebLocalizedString
1599 * WebLocalizableStrings.cpp:
1600 (copyLocalizedStringFromBundle): This used to be WebLocalizedString,
1601 but is now just a static helper function.
1602 (findCachedStringInMap): Added static helper.
1603 (findCachedString): Refactored and cleaned up code from
1604 WebLocalizedLPCTSTR.
1605 (cacheString): Ditto.
1606 (WebLocalizedString): Rewrote to use the new helper functions.
1607 (WebLocalizedLPCTSTR): Changed to use the new helper functions.
1609 2007-11-03 Adam Roben <aroben@apple.com>
1611 Only override the default user agent string if we're actually given a custom one
1616 (WebView::setCustomUserAgent):
1618 2007-11-01 Oliver Hunt <oliver@apple.com>
1622 Allow Shift, Ctrl, Alt, Meta and Capslock keys to be sent into WebCore.
1628 2007-11-01 Kevin McCullough <kmccullough@apple.com>
1630 - Fixed a build failure
1632 * WebEditorClient.cpp:
1633 (WebEditorClient::textWillBeDeletedInTextField):
1635 2007-11-01 Adam Roben <aroben@apple.com>
1637 Fix the parameter type of WebLocalizedString to match the UI_STRING macro
1641 * WebLocalizableStrings.cpp:
1642 (WebLocalizedString):
1643 (WebLocalizedLPCTSTR):
1644 * WebLocalizableStrings.h:
1646 2007-11-01 Alexey Proskuryakov <ap@webkit.org>
1648 Rubber-stamped by Adam Roben.
1650 Rolled out r27326 - debug CRT seems to cause no problems after all.
1652 * WebKit.vcproj/WebKit.vcproj:
1654 2007-10-31 Adam Roben <aroben@apple.com>
1656 Switch the Debug configuration to using the non-debug CRT
1658 The debug CRT conflicts with what Safari uses, which causes loading
1663 * WebKit.vcproj/WebKit.vcproj:
1665 2007-10-30 Kevin McCullough <kmccullough@apple.com>
1667 Reviewed by Adam and Geoff.
1669 - Added the globalContext method so Drosera can ask a WebFrame for its
1672 * Interfaces/IWebFrame.idl:
1676 2007-10-30 Adele Peterson <adele@apple.com>
1680 WebKitWin part of fix for http://bugs.webkit.org/show_bug.cgi?id=10577
1681 <rdar://problem/5110427> REGRESSION: Caps lock icon should show in password fields
1683 * WebView.cpp: (WebView::keyDown): Call capsLockStateMayHaveChanged so WebCore knows it may have to update a password field.
1685 2007-10-29 Kevin McCullough <kmccullough@apple.com>
1687 Reviewed by Adam and Maciej.
1689 - Added the IWebScriptScope interface which is used by Drosera to get
1690 information and run contextually significant code with respect to the
1691 current JS stack frame.
1693 * Interfaces/IWebScriptCallFrame.idl: Line endings changed, not sure why
1694 but the real changes were to change the return type of scopeChain() and
1695 the return type and name of evaluateWebScript() to
1696 stringByEvaluatingJavaScriptFromString().
1697 * Interfaces/IWebScriptScope.idl: Added.
1698 * WebKit.vcproj/Interfaces.vcproj: Added the new interface.
1699 * WebKit.vcproj/WebKit.vcproj: Added the files for the new class.
1700 * WebKit.vcproj/WebKitGUID.vcproj: Added the new interfaces.
1701 * WebScriptCallFrame.cpp: Changed the return type to E_NOTIMPL and
1702 asserted so it would be obvious if I accidentally try to use one of
1703 these functions before it's implemented.
1704 (WebScriptCallFrame::caller):
1705 (WebScriptCallFrame::scopeChain):
1706 (WebScriptCallFrame::functionName):
1707 (WebScriptCallFrame::stringByEvaluatingJavaScriptFromString):
1708 * WebScriptCallFrame.h: Changed the return types mentioned above.
1709 * WebScriptDebugServer.cpp: Also changed the return type to E_NOTIMPL.
1710 (WebScriptDebugServer::addListener):
1711 (WebScriptDebugServer::removeListener):
1712 (WebScriptDebugServer::step):
1713 (WebScriptDebugServer::pause):
1714 (WebScriptDebugServer::resume):
1715 (WebScriptDebugServer::isPaused):
1716 * WebScriptScope.cpp: Added.
1717 (WebScriptScope::WebScriptScope):
1718 (WebScriptScope::~WebScriptScope):
1719 (WebScriptScope::QueryInterface):
1720 (WebScriptScope::AddRef):
1721 (WebScriptScope::Release):
1722 (WebScriptScope::getVariableNames):
1723 (WebScriptScope::getValueForVariable):
1724 * WebScriptScope.h: Added.
1726 2007-10-28 Darin Adler <darin@apple.com>
1728 - try to fix Windows build
1730 * WebKit.vcproj/WebKit.vcproj: Suppress warning 4800 (conversion to bool),
1731 since we don't want to add !! everywhere, and because HashTable.h has a
1732 conversion to bool of this type now.
1734 2007-10-27 Kevin McCullough <kmccullough@apple.com>
1738 - Stubbed out IWebScriptCallFrame for Drosera.
1740 * Interfaces/IWebScriptCallFrame.idl: Added function declarations.
1741 * WebKit.vcproj/WebKit.vcproj: Added .h/.cpp files to the project.
1742 * WebScriptCallFrame.cpp: Added.
1743 (WebScriptCallFrame::WebScriptCallFrame):
1744 (WebScriptCallFrame::~WebScriptCallFrame):
1745 (WebScriptCallFrame::createInstance):
1746 (WebScriptCallFrame::QueryInterface):
1747 (WebScriptCallFrame::AddRef):
1748 (WebScriptCallFrame::Release):
1749 (WebScriptCallFrame::caller):
1750 (WebScriptCallFrame::scopeChain):
1751 (WebScriptCallFrame::functionName):
1752 (WebScriptCallFrame::evaluateWebScript):
1753 * WebScriptCallFrame.h: Added.
1755 2007-10-26 Kevin McCullough <kmccullough@apple.com>
1757 Reviewed by Sam and Steve.
1759 - Added convenience methods for converting between BSTR and JSSTringRefs
1760 - Added WebKit_debug.def to the project.
1762 * WebKit.vcproj/WebKit.def:
1763 * WebKit.vcproj/WebKit.vcproj:
1764 * WebKit.vcproj/WebKit_debug.def:
1766 2007-10-25 Sam Weinig <sam@webkit.org>
1768 Reviewed by Adam Roben.
1770 Make debug builds run again.
1773 (WebView::notifyPreferencesChanged):
1775 2007-10-25 Sam Weinig <sam@webkit.org>
1777 Reviewed by Adam Roben.
1779 Remove JSStringRefCFHack.
1781 * WebKit.vcproj/WebKit.vcproj:
1783 2007-10-25 Sam Weinig <sam@webkit.org>
1785 Reviewed by Steve Falkenburg.
1787 Fix for <rdar://problem/5463608>
1788 Port WebKit cache model code (Windows needs a big disk cache, smarter memory cache)
1790 * Interfaces/IWebPreferences.idl:
1791 Deprecate pageCacheSize and objectCacheSize and add cacheModel/setCacheModel.
1793 * Interfaces/IWebPreferencesPrivate.idl:
1794 Add automaticallyDetectsCacheModel/setAutomaticallyDetectsCacheModel
1797 (WebFrame::didPerformFirstNavigation):
1798 Implement based on the mac version.
1800 * WebKit.vcproj/WebKit.vcproj:
1801 * WebKitSystemBits.cpp: Added.
1802 (WebMemorySize): Moved and renamed from WebPreferences.cpp
1803 (WebVolumeFreeSize): Added.
1804 * WebKitSystemBits.h: Added.
1805 * WebPreferenceKeysPrivate.h: Added WebKitCacheModelPreferenceKey.
1807 * WebPreferences.cpp:
1808 (WebPreferences::sharedStandardPreferences):
1809 (WebPreferences::WebPreferences):
1810 (WebPreferences::initializeDefaultSettings): Added default for cacheModel.
1811 (WebPreferences::webPreferencesChangedNotification):
1812 (WebPreferences::webPreferencesRemovedNotification):
1813 (WebPreferences::initWithIdentifier): Post a preferences change notification.
1814 (WebPreferences::pageCacheSize): Deprecated.
1815 (WebPreferences::objectCacheSize): Deprecated.
1816 (WebPreferences::cacheModel): Added.
1817 (WebPreferences::setCacheModel): Added.
1818 (WebPreferences::setAutomaticallyDetectsCacheModel): Added.
1819 (WebPreferences::automaticallyDetectsCacheModel): Added.
1820 (WebPreferences::willAddToWebView): Added.
1821 (WebPreferences::didRemoveFromWebView): Added.
1825 (PreferencesChangedOrRemovedObserver::PreferencesChangedOrRemovedObserver):
1826 (PreferencesChangedOrRemovedObserver::~PreferencesChangedOrRemovedObserver):
1827 (PreferencesChangedOrRemovedObserver::QueryInterface):
1828 (PreferencesChangedOrRemovedObserver::AddRef):
1829 (PreferencesChangedOrRemovedObserver::Release):
1830 (PreferencesChangedOrRemovedObserver::sharedInstance):
1831 (PreferencesChangedOrRemovedObserver::onNotify):
1832 (PreferencesChangedOrRemovedObserver::notifyPreferencesChanged):
1833 (PreferencesChangedOrRemovedObserver::notifyPreferencesRemoved):
1834 This singleton class updates static properties for all webviews when
1835 preferenceChange or preferenceRemoved notifications are fired for
1838 (WebView::~WebView):
1839 (initializeStaticObservers):
1841 (WebView::addToAllWebViewsSet):
1842 (WebView::removeFromAllWebViewsSet):
1843 (WebView::setCacheModel):
1844 (WebView::cacheModel):
1845 (WebView::didSetCacheModel):
1846 (WebView::maxCacheModelInAnyInstance):
1849 (WebView::developerExtrasEnabled):
1850 (WebView::initWithFrame):
1851 (WebView::setPreferences):
1852 (WebView::preferences):
1853 (WebView::onNotify):
1854 (WebView::notifyPreferencesChanged):
1855 (updateSharedSettingsFromPreferencesIfNeeded):
1857 Match the macs behavior by using explicit postings of notifications to
1858 update the preferences.
1860 2007-10-25 Adam Roben <aroben@apple.com>
1862 Update WebKit.sln for the removal of Release dftables
1866 * WebKit.vcproj/WebKit.sln:
1868 2007-10-25 Kevin McCullough <kmccullough@apple.com>
1870 Rubber stamped by Geoff.
1872 - Stubbed out the WebScriptDebugServer methods to give Drosera something
1873 to connect to and now the signature of the interface matches the mac.
1875 * Interfaces/IWebScriptDebugServer.idl:
1876 * WebScriptDebugServer.cpp:
1877 (WebScriptDebugServer::addListener):
1878 (WebScriptDebugServer::removeListener):
1879 (WebScriptDebugServer::step):
1880 (WebScriptDebugServer::pause):
1881 (WebScriptDebugServer::resume):
1882 (WebScriptDebugServer::isPaused):
1883 * WebScriptDebugServer.h:
1885 2007-10-24 Kevin McCullough <kmccullough@apple.com>
1889 - Renamed WebDebugProgram to WebScriptDebugServer to match the naming
1892 * Interfaces/IWebDebugProgram.idl: Removed.
1893 * Interfaces/IWebScriptDebugServer.idl: Copied from win/Interfaces/IWebDebugProgram.idl.
1894 * Interfaces/WebKit.idl:
1895 * WebDebugProgram.cpp: Removed.
1896 * WebDebugProgram.h: Removed.
1897 * WebKit.vcproj/Interfaces.vcproj:
1898 * WebKit.vcproj/WebKit.vcproj:
1899 * WebKit.vcproj/WebKitGUID.vcproj:
1900 * WebKitClassFactory.cpp:
1901 (WebKitClassFactory::CreateInstance):
1904 * WebScriptDebugServer.cpp: Copied from win/WebDebugProgram.cpp.
1905 (WebScriptDebugServer::WebScriptDebugServer):
1906 (WebScriptDebugServer::~WebScriptDebugServer):
1907 (WebScriptDebugServer::createInstance):
1908 (WebScriptDebugServer::QueryInterface):
1909 (WebScriptDebugServer::AddRef):
1910 (WebScriptDebugServer::Release):
1911 (WebScriptDebugServer::viewAdded):
1912 (WebScriptDebugServer::viewRemoved):
1913 (WebScriptDebugServer::attach):
1914 (WebScriptDebugServer::detach):
1915 (WebScriptDebugServer::statistics):
1916 (WebScriptDebugServer::webViews):
1917 * WebScriptDebugServer.h: Copied from win/WebDebugProgram.h.
1920 (WebView::~WebView):
1922 2007-10-24 Adam Roben <aroben@apple.com>
1924 Fix <rdar://5549919> Initialize the font database before any font code is invoked
1926 We initialize the database in two places:
1927 1. When instantiating WebKitClassFactory, which is guaranteed to
1928 happen before any WebView is instantiated.
1929 2. When making a WebCore::Font in WebKitGraphics.
1931 This ensures that the font database will be populated before any font
1932 code is invoked. We rely on WebCore to only populate the database
1937 * WebKitClassFactory.cpp:
1938 (WebKitClassFactory::WebKitClassFactory): Populate the font database.
1939 * WebKitGraphics.cpp:
1942 2007-10-24 Adam Roben <aroben@apple.com>
1944 Add [I]WebTextRenderer
1946 Right now this class can only be used to add private fonts for use by
1947 the running process, but will eventually be the home of the
1948 WebKitGraphics functions.
1952 * ForEachCoClass.h: Added WebTextRenderer.
1953 * Interfaces/WebKit.idl: Ditto.
1954 * WebKit.vcproj/Interfaces.vcproj: Ditto.
1955 * WebKit.vcproj/WebKit.vcproj: Ditto.
1956 * WebKit.vcproj/WebKitGUID.vcproj: Ditto.
1957 * WebKitClassFactory.cpp: Ditto.
1958 * WebTextRenderer.cpp: Added.
1959 (WebTextRenderer::createInstance):
1960 (WebTextRenderer::WebTextRenderer):
1961 (WebTextRenderer::~WebTextRenderer):
1962 (WebTextRenderer::QueryInterface):
1963 (WebTextRenderer::AddRef):
1964 (WebTextRenderer::Release):
1965 (WebTextRenderer::registerPrivateFont):
1966 * WebTextRenderer.h: Added.
1968 2007-10-24 Adam Roben <aroben@apple.com>
1970 Use FOR_EACH_COCLASS in WebKitClassFactory
1975 (WebError::createInstance): Added an overload that takes no arguments
1976 to make the macro used in WebKitClassFactory work.
1978 * WebKitClassFactory.cpp:
1979 (WebKitClassFactory::CreateInstance): Use FOR_EACH_COCLASS.
1981 2007-10-24 Adam Roben <aroben@apple.com>
1983 Put FOR_EACH_COCLASS macro into its own file and export it
1985 The macro used to be called FOR_EACH_CLASS and lived in WebKitDLL.cpp.
1986 This way we will be able to use the macro in more places that care
1987 about all WebKit's COM classes.
1991 * ForEachCoClass.h: Added.
1992 * WebKit.vcproj/WebKit.vcproj: Copy ForEachCoClass.h to
1993 WebKitOutputDir, and added it to the project.
1994 * WebKitDLL.cpp: Updated for macro rename, and changed to #undef the
1995 macros we pass to FOR_EACH_COCLASS after we're done with them.
1997 2007-10-24 Ada Chan <adachan@apple.com>
1999 <rdar://problem/5552221> REGRESSION(310A24-ToT): Shortcut key disable. (15604)
2004 (WebView::handleEditingKeyboardEvent): don't handle system key events as text input
2005 (WebView::keyDown): only remove WM_SYSCHAR message from the queue if we handle it.
2006 For WM_SYSCHAR message that we don't handle, let it stay in the queue and return
2007 false to let windows handle it.
2009 2007-10-24 Brady Eidson <beidson@apple.com>
2013 Windows portion of <rdar://5554130>
2015 Slowly introduce Windows WebKit portion of the Database API that sets the
2016 on-disk location for databases
2018 * WebDatabaseManager.cpp: Added.
2019 (WebKitSetWebDatabasesPathIfNecessary):
2020 * WebDatabaseManager.h: Added.
2022 * WebKit.vcproj/WebKit.vcproj:
2025 (WebView::initWithFrame): Call WebKitSetWebDatabasesPathIfNecessary()
2027 2007-10-24 Kevin McCullough <kmccullough@apple.com>
2029 Reviewed by Sam, Steve and Darin.
2031 - Added stubs for what will be neede to let Drosera attach to the
2032 WebKit process and debug it.
2034 * Interfaces/IWebScriptCallFrame.idl: Added.
2035 * Interfaces/IWebScriptDebugListener.idl: Added.
2036 * Interfaces/WebKit.idl:
2037 * WebKit.vcproj/Interfaces.vcproj:
2038 * WebKit.vcproj/WebKitGUID.vcproj:
2040 2007-10-23 Adam Roben <aroben@apple.com>
2042 Move safe file creation code to WebCore
2046 * WebPreferences.cpp:
2047 (preferencesPath): Made into a static helper function.
2048 (WebPreferences::save): Now calls WebCore's safeCreateFile function.
2049 (WebPreferences::load): Uses String/CString to handle the UTF-8
2051 * WebPreferences.h: Removed preferencesPath and
2052 safeCreateFileWithData.
2054 2007-10-23 Adam Roben <aroben@apple.com>
2056 Reduce code duplication by using WebCore's FileSystem functions
2060 * WebIconDatabase.cpp: Removed a now-unused function and a fixed
2062 (WebIconDatabase::init): Changed to use FileSystem functions.
2063 * WebPreferences.cpp:
2064 (WebPreferences::preferencesPath): Ditto.
2066 2007-10-23 Sam Weinig <sam@webkit.org>
2068 Make the WebNotificationCenter work with null (wildcard) and specific
2069 observed objects, matching NSNotificationCenter.
2071 - Removes the ObserverKey, ObserverHash, and ObserverKeyTraits as we now
2072 hash against the notification name only and check the object on notification
2074 - Use OwnPtr for the WebNotificationCenterPrivate member variable.
2076 Reviewed by Adam Roben.
2078 * WebNotificationCenter.cpp:
2079 (WebNotificationCenter::WebNotificationCenter):
2080 (WebNotificationCenter::~WebNotificationCenter):
2081 (WebNotificationCenter::postNotificationInternal):
2082 (WebNotificationCenter::addObserver):
2083 (WebNotificationCenter::postNotification):
2084 (WebNotificationCenter::postNotificationName):
2085 (WebNotificationCenter::removeObserver):
2086 * WebNotificationCenter.h:
2088 2007-10-23 Ada Chan <adachan@apple.com>
2090 <rdar://problem/5244261> SafariWin ignores cookie policy setting "never" in the preferences
2091 Custom WebPreferences (not the shared WebPreferences) could override the cookie accept
2092 policy setting on the default cookie storage. To fix that, I added a new method in
2093 WebView called updateGlobalSettingsFromPreferences() to handle updating the global pref
2094 options such as cookie accept policy, and it's only called to update changes from
2095 the shared WebPreferences.
2097 Use CLSID_WebPreferences and remove IID_WebPreferences.
2099 Reviewed by Darin and Adam.
2101 * WebPreferences.cpp:
2102 (WebPreferences::QueryInterface):
2105 (WebView::updateWebCoreSettingsFromPreferences):
2106 (WebView::updateGlobalSettingsFromPreferences):
2107 (WebView::updateSettingsFromPreferences):
2108 (WebView::developerExtrasEnabled):
2109 (WebView::initWithFrame):
2110 (WebView::onNotify):
2113 2007-10-18 Brady Eidson <beidson@apple.com>
2117 Keep windows building with new Chrome additions
2119 * WebChromeClient.cpp:
2120 * WebChromeClient.h:
2122 2007-10-18 Adam Roben <aroben@apple.com>
2124 Fix <rdar://5547784> ProgIDMacros.h should explicitly use wide strings
2128 * ProgIDMacros.h: Always use wide strings instead of relying on the
2131 2007-10-17 Adam Roben <aroben@apple.com>
2133 Fix for clean builds needed after r26683
2137 * WebView.cpp: Remove #include of non-existant file.
2139 2007-10-17 Anders Carlsson <andersca@apple.com>
2141 Update for locking primitive changes.
2143 * WebIconDatabase.cpp:
2144 (WebIconDatabase::scheduleNotificationDelivery):
2146 2007-10-16 Adam Roben <aroben@apple.com>
2148 Remove WebKitInitializer
2152 * WebKit.vcproj/WebKit.sln:
2154 2007-10-16 Adam Roben <aroben@apple.com>
2160 * WebKit.vcproj/WebKit.sln:
2162 2007-10-16 Adam Roben <aroben@apple.com>
2164 Rename WebKit_debug.dll to WebKit.dll for the Debug configuration
2166 This is needed so that we can stop having Safari delay-load WebKit,
2167 which in turn is needed so that Maciej can land a JavaScript speedup
2168 which breaks delay-loading.
2170 Reviewed by Kevin McCullough.
2172 * WebKit.vcproj/WebKit.vcproj: Use WebKitDLLConfigSuffix for the name
2173 of our DLL and module definition file.
2174 * WebKit.vcproj/debug.vsprops: Added WebKitDLLConfigSuffix.
2175 * WebKit.vcproj/debug_internal.vsprops: Ditto.
2176 * WebKit.vcproj/release.vsprops: Ditto.
2178 2007-10-15 Jon Honeycutt <jhoneycutt@apple.com>
2182 <rdar://5530789>: REGRESSION(303-310A19): Crash opening .wma files with
2183 MediaPlayer for the first time
2185 Failure to setup the stream in PluginView::didReceiveResponse will lead,
2186 in a full-page plugin, to the main document load being cancelled. This
2187 is the case with at least two versions of Windows Media Player, which
2188 cancels the stream and brings up its own "Welcome to Windows Media
2191 As part of the main document load cancellation, m_pluginView is set to
2192 null, and the crash came from dereferencing this pointer. This patch
2196 (WebFrame::finishedLoading): Fix some typos
2197 (WebFrame::committedLoad): Added a null check
2199 2007-10-15 Alice Liu <alice.liu@apple.com>
2201 Reviewed by Sam Weinig.
2203 Fixed <rdar://5382546> layoutTestController.setCustomPolicyDelegate is unimplemented causing tests to fail
2205 * DefaultPolicyDelegate.cpp: Added.
2206 Implementation is a direct port of WebKit/DefaultDelegates/WebDefaultPolicyDelegate.m
2207 (DefaultPolicyDelegate::DefaultPolicyDelegate):
2208 (DefaultPolicyDelegate::~DefaultPolicyDelegate):
2209 (DefaultPolicyDelegate::sharedInstance):
2210 (DefaultPolicyDelegate::createInstance):
2211 (DefaultPolicyDelegate::QueryInterface):
2212 (DefaultPolicyDelegate::AddRef):
2213 (DefaultPolicyDelegate::Release):
2214 (DefaultPolicyDelegate::decidePolicyForNavigationAction):
2215 (DefaultPolicyDelegate::decidePolicyForNewWindowAction):
2216 (DefaultPolicyDelegate::decidePolicyForMIMEType):
2217 (DefaultPolicyDelegate::unableToImplementPolicyWithError):
2218 * DefaultPolicyDelegate.h: Added.
2220 (WebFrame::dispatchDecidePolicyForNavigationAction):
2221 Implemented default action
2222 * WebKit.vcproj/WebKit.vcproj:
2223 Adding files to project
2225 2007-10-12 Steve Falkenburg <sfalken@apple.com>
2227 Move pthreads up in the linker order and don't mark it for delay load.
2228 Fixes crash during regsvr32 of WebKit (currently repro if you do a spade ti).
2230 Reviewed by Darin, Ada.
2232 * WebKit.vcproj/WebKit.vcproj:
2234 2007-10-11 Steve Falkenburg <sfalken@apple.com>
2236 Delay load additional libraries to improve startup time.
2238 Reviewed by Darin, Ada.
2240 * WebKit.vcproj/WebKit.vcproj:
2242 2007-10-11 Ada Chan <adachan@apple.com>
2244 <rdar://problem/5534421>
2245 Switched to using wkGetDefaultHTTPCookieStorage() to avoid recreating CFHTTPCookieStorageRef.
2246 Removed usage of ResourceHandle::cookieStorage().
2251 (WebView::updateWebCoreSettingsFromPreferences):
2252 (WebView::initWithFrame):
2254 2007-10-10 Alice Liu <alice.liu@apple.com>
2256 Reviewed by Geoff Garen.
2258 Fixed <rdar://5464402> Crash when running fast/frames/onload-remove-iframe-crash.html in DRT
2261 (WebFrame::createFrame):
2262 The crash was caused by the early destruction of the subframe. To resolve this issue,
2263 the manual deref of the child frame that occurs in between being appended to the
2264 frametree and being used in loadURLIntoChild wasn't exactly incorrect, but just needed
2265 to be moved until after loadURLIntoChild. This hasn't been a problem for other uses of
2266 child frames because this test case involves removing a child frame immediately after
2267 loading it, all in an onload handler. Even better than just moving the deref would be
2268 to change the signature of createFrame to use a RefPtr<Frame> so that a manual deref isn't
2269 necessary. This is what was done in this patch.
2271 createFrame() now returns a RefPtr instead of a raw Frame pointer.
2272 Making this change improves the way we handle frames on Windows WebKit.
2275 2007-10-05 Ada Chan <adachan@apple.com>
2277 <rdar://problem/5436617>
2278 Implement WebIconDatabase::delayDatabaseCleanup() and WebIconDatabase::allowDatabaseCleanup().
2282 * WebIconDatabase.cpp:
2283 (WebIconDatabase::delayDatabaseCleanup):
2284 (WebIconDatabase::allowDatabaseCleanup):
2286 2007-10-04 Adele Peterson <adele@apple.com>
2288 * Interfaces/IWebViewPrivate.idl: Moving setInitialFocus down to the end to avoid breaking the OpenSource build.
2290 2007-10-04 Adele Peterson <adele@apple.com>
2294 WebKit/win part of fix for <rdar://problem/5369017> REGRESSION: Can't tab to webview that doesn't have editable content
2296 * WebView.cpp: Added setInitialFocus so the application can specify that its handing off focus to WebKit
2297 and so that it can specify the focus direction.
2299 * Interfaces/IWebViewPrivate.idl: ditto.
2301 2007-10-03 Ada Chan <adachan@apple.com>
2303 <rdar://problem/5521230> Implement IWebIconDatabase::iconURLForURL in WebKit for windows
2305 Reviewed by Steve and Brady.
2307 * Interfaces/IWebIconDatabase.idl:
2308 * WebIconDatabase.cpp:
2309 (WebIconDatabase::iconURLForURL):
2310 * WebIconDatabase.h:
2312 2007-10-02 Sam Weinig <sam@webkit.org>
2314 Rubber-stamped by Adam Roben.
2316 * Interfaces/IWebPreferences.idl: Remove unnecessary comments.
2318 2007-10-02 Darin Adler <darin@apple.com>
2322 - started using the new OwnPtr everywhere we do DeleteObject
2324 * WebNodeHighlight.cpp:
2325 (WebNodeHighlight::updateWindow):
2328 (WebView::deleteBackingStore):
2329 (WebView::ensureBackingStore):
2330 (WebView::addToDirtyRegion):
2331 (WebView::scrollBackingStore):
2332 (WebView::updateBackingStore):
2334 (WebView::paintIntoBackingStore):
2335 (WebView::paintIntoWindow):
2338 2007-10-02 Adam Roben <aroben@apple.com>
2340 Fix <rdar://5505062> WebKit's version-independent ProgIDs contain version numbers
2342 I also added a few registry keys for our version-independent ProgIDs
2343 that we were missing.
2347 * ProgIDMacros.h: Added new macros to get version-independent ProgIDs.
2348 * WebKitDLL.cpp: Use the version-independent ProgIDs in the right
2349 places, and added some new keys for version-independent ProgIDs.
2351 2007-10-02 Anders Carlsson <andersca@apple.com>
2355 Fix a bug discovered by app verifier where we would treat an LPCTSTR as a BSTR causing a crash.
2357 Also rename some protection space constants and change their values to match the mac version.
2359 * Interfaces/IWebURLAuthenticationChallenge.idl:
2360 * WebURLProtectionSpace.cpp:
2361 (WebURLProtectionSpace::initWithHost):
2362 (WebURLProtectionSpace::initWithProxyHost):
2363 (WebURLProtectionSpace::protocol):
2364 (WebURLProtectionSpace::proxyType):
2366 2007-09-29 Adam Roben <aroben@apple.com>
2368 Clean-up in preparation for <rdar://5505062> WebKit's version-independent ProgIDs contain version numbers
2372 * ProgIDMacros.h: Stringify the passed in class name.
2373 * WebKitDLL.cpp: Added a FOR_EACH_CLASS macro to ensure that our class
2374 lists stay in the right order, and updated uses of the *_PROGID macros
2375 for to take the stringification into account.
2377 2007-09-27 Kevin McCullough <kmccullough@apple.com>
2381 - <rdar://5261371> Nothing downloaded when exporting bookmarks from iGoogle web history
2382 - Implemented IWebHTTPURLResponse::allHeaderFields so that if the content disposition is "attachment" we will download the file instead of display it. Also implemented some missing functionality.
2384 * HTTPHeaderPropertyBag.cpp: Added.
2385 (HTTPHeaderPropertyBag::HTTPHeaderPropertyBag):
2386 (HTTPHeaderPropertyBag::createInstance):
2387 (HTTPHeaderPropertyBag::setResponse):
2388 (HTTPHeaderPropertyBag::response):
2389 (HTTPHeaderPropertyBag::QueryInterface):
2390 (HTTPHeaderPropertyBag::AddRef):
2391 (HTTPHeaderPropertyBag::Release):
2392 (ConvertFromLPCOLESTR):
2394 (ConvertFromVariant):
2395 (HTTPHeaderPropertyBag::Read):
2396 (HTTPHeaderPropertyBag::Write):
2397 * HTTPHeaderPropertyBag.h: Added.
2398 * Interfaces/IWebHTTPURLResponse.idl:
2399 * WebKit.vcproj/WebKit.vcproj:
2400 * WebURLResponse.cpp:
2401 (WebURLResponse::allHeaderFields):
2402 (WebURLResponse::isAttachment):
2405 2007-09-27 Ada Chan <adachan@apple.com>
2407 <rdar://problem/5507481> Added a delegate method to inform the client
2408 app that WebView has painted.
2412 * Interfaces/IWebUIDelegatePrivate.idl:
2414 (WebView::updateBackingStore):
2416 2007-09-25 Adam Roben <aroben@apple.com>
2418 Add WebKitInitializer to WebKit.sln
2422 * WebKit.vcproj/WebKit.sln: DumpRenderTree and testkjs now depend on
2425 2007-09-25 Darin Adler <darin@apple.com>
2429 - fix <rdar://problem/5095701> Download requring HTTP auth fails
2430 (progress bar forever)
2432 The functions in WebDownload relating to authentication challenges needed
2436 (WebDownload::cancelAuthenticationChallenge): Implement.
2437 (WebDownload::continueWithoutCredentialForAuthenticationChallenge): Ditto.
2438 (WebDownload::useCredential): Ditto.
2439 (WebDownload::willSendRequest): Fix storage leak by adopting request
2440 and response after creating them. Also retain the result before returning
2441 it, since that's the API contract with CFNetwork.
2442 (WebDownload::didReceiveAuthenticationChallenge): Implement.
2443 (WebDownload::didReceiveResponse): Fix storage leak by adopting response.
2444 (WebDownload::willResumeWithResponse): Ditto.
2445 (WebDownload::didFail): Ditto.
2447 * WebURLAuthenticationChallenge.h: Get rid of the IID #define,
2448 instead using __declspec(uuid). Added a sender parameter to the
2449 create function and an m_sender data member.
2450 * WebURLAuthenticationChallenge.cpp:
2451 (WebURLAuthenticationChallenge::WebURLAuthenticationChallenge): Added an
2452 explicit sender parameter so this can be used with a WebDownload, which
2453 does not involve a ResourceHandle. Later we should clean this up and not
2454 involve WebCore or ResourceHandle directly even for the non-download case.
2455 (WebURLAuthenticationChallenge::createInstance): Added an overload for the
2456 case with an explicit sender parameter.
2457 (WebURLAuthenticationChallenge::QueryInterface): Use __uuidof for the ID
2458 of this class. In general, we should move to __uuidof as much as possible
2459 and keep the separate macros to a minimum -- but we should do this for all
2460 uses of each class at one time to make sure we don't run into problems
2461 with two different UUIDs for the same class. This patch does it for three
2463 (WebURLAuthenticationChallenge::initWithProtectionSpace): Use the query
2464 constructor instead of an explicit QueryInterface for WebURLCredential.
2465 This is another class where I'm switching from CLSID/IID macros to the
2466 use of __uuidof, but in this case the use of __uuidof is implicit.
2467 (WebURLAuthenticationChallenge::initWithAuthenticationChallenge): Ditto,
2468 but for WebURLAuthenticationChallenge and WebURLAuthenticationChallengeSender.
2469 (WebURLAuthenticationChallenge::sender): Use the new m_sender member to
2470 cache the sender object and also use the one that was passed into the
2471 constructor, if any.
2473 * WebURLAuthenticationChallengeSender.h: Get rid of the IID #define,
2474 instead using __declspec(uuid). Also minimize includes and make data
2475 members private instead of protected.
2476 * WebURLAuthenticationChallengeSender.cpp:
2477 (WebURLAuthenticationChallengeSender::QueryInterface): Use __uuidof instead
2479 (WebURLAuthenticationChallengeSender::cancelAuthenticationChallenge):
2480 Use query constructor instead of QueryInterface.
2481 (WebURLAuthenticationChallengeSender::continueWithoutCredentialForAuthenticationChallenge):
2483 (WebURLAuthenticationChallengeSender::useCredential): Ditto.
2485 * WebURLCredential.cpp: (WebURLCredential::QueryInterface): Use __uuidof
2486 instead of CLSID_WebURLCredential.
2488 - tangentially-related cleanup
2491 (WebFrame::dispatchDidReceiveAuthenticationChallenge): Use the adopt
2492 constructor instead of a separate adoptRef call.
2493 (WebFrame::dispatchDidCancelAuthenticationChallenge): Ditto.
2495 2007-09-24 Brady Eidson <beidson@apple.com>
2497 Reviewed by John Sullivan
2499 Fix for <rdar://5493371> - Crash in Icon Database on Windows
2501 * WebIconDatabase.cpp:
2502 (WebIconDatabase::iconForURL): If the URL is NULL, fallback to the default icon without asking WebCore
2504 2007-09-24 Adam Roben <aroben@apple.com>
2506 Fix <rdar://5499507> FrameView will always have size (0,0) if its parent WebView is never resized
2511 (WebView::initWithFrame): Set the main FrameView's size to the size of
2514 2007-09-21 Kevin McCullough <kmccullough@apple.com>
2516 - Fixed a syntax guideline mistake.
2518 * WebChromeClient.cpp:
2519 (WebChromeClient::scrollbarsVisible):
2521 2007-09-20 Oliver Hunt <oliver@apple.com>
2525 <rdar://problem/5487153> Korean characters are displayed as garbage with default encoding in some Korean web sites
2527 Adding support for per-localisation default character encodings on
2530 * English.lproj/Localizable.strings:
2531 * WebPreferences.cpp:
2532 (WebPreferences::initializeDefaultSettings):
2534 2007-09-20 Kevin McCullough <kmccullough@apple.com>
2538 - Added the ability to ask if scrollbars are visible
2539 - <rdar://problem/5496211> scrollbarsVisible in WebChromeClient is not implemented
2541 * WebChromeClient.cpp:
2542 (WebChromeClient::scrollbarsVisible):
2544 2007-09-20 Ada Chan <adachan@apple.com>
2546 <rdar://problem/5477240> Regression: Footer is too high in print preview
2551 (WebFrame::WebFrame): initialize new data member m_pageHeight, which is the height of the page adjusted for margins.
2552 (WebFrame::computePageRects): get the height of the page adjusted for margins by passing m_pageHeight to
2553 computePageRectsForFrame().
2554 (WebFrame::spoolPages): footer rect's top is the max of the bottom of the page content and the bottom of the page
2555 minus footer height.
2558 2007-09-19 Kevin McCullough <kmccullough@apple.com>
2562 - <rdar://problem/5101991> Avril Lavigne music player comes up in a window with scrollbars
2563 - Implementing missing scrollbar functionality to allow turning off scrollbars correctly.
2565 * Interfaces/IWebFrame.idl:
2566 * Interfaces/IWebFrameView.idl:
2567 * WebChromeClient.cpp:
2568 (WebChromeClient::setScrollbarsVisible):
2570 (WebFrame::setAllowsScrolling):
2571 (WebFrame::allowsScrolling):
2572 (WebFrame::frameView):
2575 2007-09-20 Brady Eidson <beidson@apple.com>
2577 Reviewed by Dave Hyatt
2579 <rdar://problem/5245981> - No favicon shows up for cnet.com
2581 * WebIconDatabase.cpp:
2582 (WebIconDatabase::iconForURL): Call getHBITMAPOfSize
2583 (WebIconDatabase::getOrCreateDefaultIconBitmap): Ditto
2585 2007-09-19 Sam Weinig <sam@webkit.org>
2587 Rubber stamped by Adam Roben.
2589 * WebKit.vcproj/WebKit.sln: Update location of DumpRenderTree and TestNetscapePlugin
2590 to point to their new locations.
2592 2007-09-18 Brady Eidson <beidson@apple.com>
2596 Final part of <rdar://problem/5471308> - Hook up async icon database on Windows
2598 * CFDictionaryPropertyBag.cpp:
2599 (CFDictionaryPropertyBag::CFDictionaryPropertyBag): Took the opportunity to rewrite with a RetainPtr
2600 since it became available after the initial implementation
2601 (CFDictionaryPropertyBag::setDictionary):
2602 (CFDictionaryPropertyBag::dictionary): Added accessor to the CFDictionaryRef to ease use within WebKit
2603 (CFDictionaryPropertyBag::QueryInterface): Added IID_CFDictionaryPropertyBag accessor
2604 (CFDictionaryPropertyBag::Read):
2605 (CFDictionaryPropertyBag::Write):
2606 * CFDictionaryPropertyBag.h: Added IID_CFDictionaryPropertyBag
2609 (WebFrame::url): Added accessor, gets the current URL from WebCore
2610 (WebFrame::dispatchDidReceiveIcon): Calls through to the WebView
2611 (WebFrame::registerForIconNotification): Ditto
2614 * WebIconDatabase.cpp:
2615 (WebIconDatabase::iconDatabaseDidAddIconNotification):
2616 (WebIconDatabase::iconDatabaseNotificationUserInfoURLKey):
2617 (WebIconDatabase::iconDatabaseDidRemoveAllIconsNotification):
2618 (postDidRemoveAllIconsNotification):
2619 (postDidAddIconNotification):
2620 * WebIconDatabase.h:
2623 (WebView::close): Unregister for the notification, just in case
2624 (WebView::notifyDidAddIcon): Called when the webview gets the didAddIcon notification, compares the url
2625 in the notification to the current main frame URL. If they match, calls to dispatchDidReceiveIconFromWebFrame
2626 (WebView::registerForIconNotification):
2627 (WebView::dispatchDidReceiveIconFromWebFrame): Dispatches the FrameLoadDelegate call. Once the delegate call is dispatched,
2628 either via the FrameLoaderClient interface of by listening for a notification, we know that our info is up to date in the
2629 IconDatabase and we don't need to listen for the generic notification any long, so we unregister for it here, as well.
2630 (WebView::onNotify): The WebView listens for two notifications now, so make the decision which was received
2633 2007-09-18 Brady Eidson <beidson@apple.com>
2635 Reviewed by Ada and Geoff
2637 Part of <rdar://problem/5471308> - Get async Icon Database fully hooked up on Windows
2639 Hook up main thread delivery of Icon Database notifications from the secondary thread
2641 * WebIconDatabase.cpp:
2642 (WebIconDatabase::WebIconDatabase): Initialize m_deliveryRequested
2643 (WebIconDatabase::init): Set the IconDatabaseClient to the shared WebIconDatabase
2644 (WebIconDatabase::dispatchDidRemoveAllIcons): Queue the notification to be delivered on the main thread then
2645 ask for the delivery
2646 (WebIconDatabase::dispatchDidAddIconForPageURL): Ditto
2647 (WebIconDatabase::scheduleNotificationDelivery): If the m_deliveryRequested hasn't been set, then set it
2648 and perform the callOnMainThread() for WebIconDatabase::deliverNotifications
2649 (postDidRemoveAllIconsNotification):
2650 (postDidAddIconNotification):
2651 (WebIconDatabase::deliverNotifications): Deliver all notifications in the current queue
2652 * WebIconDatabase.h:
2654 2007-09-17 Geoffrey Garen <ggaren@apple.com>
2656 Reviewed by Darin Adler.
2658 Fixed a hang due to an infinite script running in the window's unload
2659 event handler, which may be the cause of <rdar://problem/5479443>
2660 REGRESSION: Hang due to infinite JS recursion on close @ engadget.com
2663 Added a bunch of WebKitMac's close features, and reordered others to
2668 (WebView::removeDragCaret):
2670 2007-09-17 Adam Roben <aroben@apple.com>
2672 Fix <rdar://4979801> overflow divs don't respond to keyboard scrolling (affects RSS pages)
2677 (WebView::keyDown): Attempt to scroll an overflow area before
2678 scrolling the whole frame.
2680 2007-09-17 Brady Eidson <beidson@apple.com>
2684 <rdar://problem/5471308> - Get async Icon Database fully hooked up on Windows
2686 Add a global "shut down WebKit" procedure to do cleanup at the engine level on quit.
2687 Critical now for the IconDatabase and might be for other things in the future.
2690 (shutDownWebKit): For now, just close the IconDatabase
2691 (DllMain): On DLL_PROCESS_DETACH, call shutDownWebKit
2693 2007-09-17 Anders Carlsson <andersca@apple.com>
2697 <rdar://problem/5421997>
2698 http://bugs.webkit.org/show_bug.cgi?id=14247
2699 Display problem with Flash - image does not stop changing
2701 Port the manual load code over from the Mac version.
2704 (WebFrame::WebFramePrivate::WebFramePrivate):
2705 Initialize the plugin pointer.
2707 (WebFrame::finishedLoading):
2708 (WebFrame::setMainDocumentError):
2709 (WebFrame::committedLoad):
2710 Feed the data to the plug-in.
2712 (WebFrame::redirectDataToPlugin):
2713 Store the plug-in widget.
2715 2007-09-14 Steve Falkenburg <sfalken@apple.com>
2720 (WebFrame::createPlugin):
2721 (WebFrame::createJavaAppletWidget):
2723 2007-09-13 Darin Adler <darin@apple.com>
2727 - fix <rdar://problem/5470457> REGRESSION: Input method inline hole is mishandled in text
2728 <input> elements with maxlength limit
2731 (WebView::resetIME): Change to use confirmCompositionWithoutDisturbingSelection.
2732 (WebView::updateSelectionForIME): Update for name changes, and to use new functions
2734 (WebView::onIMEStartComposition): Removed unneeded call to unmarkText.
2735 (compositionToUnderlines): Removed startOffset parameter, since setComposition now
2737 (WebView::onIMEComposition): Changed to use confirmComposition and setComposition.
2738 Logic gets a lot cleaner.
2739 (WebView::onIMEEndComposition): Removed unneeded calls to Editor.
2740 (WebView::onIMERequestCharPosition): Updated for name changes.
2742 2007-09-12 Oliver Hunt <oliver@apple.com>
2747 <rdar://problem/5018591> Windows doesn't have a standard vertical text cursor
2748 <rdar://problem/5224996> Add zoom in and zoom out cursors
2750 Add images for vertical text and zoom in and out cursors to WebKit resources.
2752 * WebKit.vcproj/verticalTextCursor.png: Added.
2753 * WebKit.vcproj/WebKit.rc:
2754 * WebKit.vcproj/WebKit.vcproj:
2755 * WebKit.vcproj/resource.h:
2756 * WebKit.vcproj/zoomInCursor.png: Added.
2757 * WebKit.vcproj/zoomOutCursor.png: Added.
2759 (loadResourceIntoBuffer):
2761 2007-09-12 Adam Roben <aroben@apple.com>
2763 Initialize SafariTheme early in WebKit's instantiation
2765 New versions of SafariTheme will require this initialization. We have
2766 to use GetProcAddress for now since the initialize method doesn't
2767 exist in any released SafariTheme.
2771 * WebKit.vcproj/debug_internal.vsprops: Pick up the debug SafariTheme.
2772 * WebKitClassFactory.cpp:
2773 (WebKitClassFactory::WebKitClassFactory): Call STInitialize.
2775 2007-09-12 Ada Chan <adachan@apple.com>
2777 <rdar://problem/5478690> Regression: printing: footer only appears on the first page of print
2782 (WebFrame::spoolPages): the footer rect is relative to the top left of the current page. So
2783 instead of passing pageRect.bottom() as the top of the footer rect (which is relative to the
2784 document), we should pass in headerHeight plus the height of the pageRect.
2786 2007-09-12 Anders Carlsson <andersca@apple.com>
2788 Reviewed by Darin (reluctantly).
2790 <rdar://problem/5320461>
2791 http://bugs.webkit.org/show_bug.cgi?id=14548
2792 REGRESSION (r23987-r24061) : Reproducible crash with a local stylesheet file
2794 Add a workaround which converts the string passed in to an URL if it's a path.
2797 (WebView::updateWebCoreSettingsFromPreferences):
2799 2007-09-10 Steve Falkenburg <sfalken@apple.com>
2801 Remove site-specific hacks that we don't need anymore.
2806 (WebView::userAgentForKURL):
2808 2007-09-08 Steve Falkenburg <sfalken@apple.com>
2810 Prevent WebKit version numbers from containing "4" in Windows.
2814 * WebKit.vcproj/VERSION: Bump version since our current version ends in 4.
2815 * WebKit.vcproj/auto-version.sh: Add version checking code.
2817 2007-09-08 Brady Eidson <beidson@apple.com>
2819 <rdar://problem/5434431> - Asynchronous Icon Database
2822 (WebFrame::didPerformFirstNavigation): Empty impl for now
2823 (WebFrame::registerForIconNotification): Ditto
2826 2007-09-05 Geoffrey Garen <ggaren@apple.com>
2828 Reviewed by Darin Adler, Maciej Stachowiak, Mark Rowe, Tim Hatcher.
2830 Fixed <rdar://problem/5326009> Make non-browser WebKit clients have no
2831 memory cache, or a very tiny one
2833 Keep the Windows build working with an empty stub.
2836 (FrameLoaderClient::didPerformFirstNavigation):
2839 2007-09-07 Ada Chan <adachan@apple.com>
2841 Need to let the OS handle Alt+F4.
2849 2007-09-07 Anders Carlsson <andersca@apple.com>
2853 <rdar://problem/5461487>
2854 Seed: Embedded media content (Flash Player 9) inside RSS reported as unknown MIME type.
2856 Don't return ObjectContentNone if the URL's extension can't be mapped to a MIME type. If the MIME type is empty,
2857 we will try to display the content in a subframe instead, just like Mac WebKit.
2860 (WebFrame::objectContentType):
2862 2007-09-07 Ada Chan <adachan@apple.com>
2864 <rdar://problem/5395928> Need to be able to handle context menu item selection by index
2869 (WebView::performContextMenuAction): performContextMenuAction() can now handle context menu
2870 item selection via WM_MENUCOMMAND (by specifying byPosition to be true). In that case, we
2871 get the ContextMenuItem by position rather than by action id.
2872 (WebViewWndProc): handle WM_MENUCOMMAND
2875 2007-09-07 Ada Chan <adachan@apple.com>
2877 <rdar://problem/5453494> Better lifetime management of WebDataSource and WebDocumentLoader
2878 The problem was that WebDataSource does not hold a strong reference to the WebDocumentLoader. If
2879 a WebDataSource is still around after the loader has been destroyed, it'll just point to
2880 a stale WebDocumentLoader.
2881 To fix this without a circular reference, WebDataSource now holds a strong reference to the
2882 WebDocumentLoader. The WebDocumentLoader holds a strong reference to the WebDataSource
2883 until it's detached from the WebFrame. When the WebDataSource is destroyed, it'll notify
2884 its WebDocumentLoader so the loader will clear any references to it.
2888 * WebDataSource.cpp:
2889 (WebDataSource::~WebDataSource): call WebDocumentLoader::detachDataSource() so the loader
2890 will clear any references to this data source
2891 (WebDataSource::documentLoader): m_loader is now a RefPtr so we need to call get().
2893 * WebDocumentLoader.cpp:
2894 (WebDocumentLoader::WebDocumentLoader): initialize m_dataSource since it's no longer a COMPtr.
2895 (WebDocumentLoader::~WebDocumentLoader): release m_dataSource if necessary
2896 (WebDocumentLoader::setDataSource): add a reference to m_dataSource
2897 (WebDocumentLoader::dataSource):
2898 (WebDocumentLoader::detachDataSource): clear m_detachedDataSource.
2899 (WebDocumentLoader::attachToFrame): call setDataSource() so it'll add the reference to the data source if necessary.
2900 (WebDocumentLoader::detachFromFrame): release the reference to the data source
2901 * WebDocumentLoader.h:
2903 2007-09-05 Dave Hyatt <hyatt@apple.com>
2905 Make sure ALT+other keys is properly sent into the DOM so that Web pages (and editing fields) can
2906 detect key combos like ALT+Enter.
2916 2007-09-04 Sam Weinig <sam@webkit.org>
2920 * WebKit.vcproj/WebKit.vcproj:
2922 2007-09-01 Oliver Hunt <oliver@apple.com>
2926 <rdar://problem/5344848> IME is incorrectly used for key events when on non-editable regions
2928 When focusing a password field or a non-editable element we disassociate any IME that may have
2929 been active, and reassociate should a non-password editable element is focused.
2931 This makes password input with an IME active simpler, and brings our IME behaviour in line with
2934 * WebEditorClient.cpp:
2935 (WebEditorClient::setInputMethodState):
2936 * WebEditorClient.h:
2939 (WebView::setInputMethodState):
2942 2007-08-31 Steve Falkenburg <sfalken@apple.com>
2944 <rdar://problem/5432594> Safari quits when hovering over mailto links on a webpage
2946 In addition to substituting %@ with %s, we also need to substitute %{1-9}$@ with %{1-9}$s.
2950 * WebLocalizableStrings.cpp:
2951 (WebLocalizedLPCTSTR):
2953 2007-08-29 Ada Chan <adachan@apple.com>
2955 <rdar://problem/5074612> Added SPI to retrieve certificate info from a WebError.
2959 * Interfaces/IWebErrorPrivate.idl: Added IWebErrorPrivate
2961 (WebError::QueryInterface): WebError now also implements IWebErrorPrivate
2962 (WebError::sslPeerCertificate): retrieves certificate info from CFError's user info.
2964 * WebKit.vcproj/WebKitGUID.vcproj: Added IWebErrorPrivate_i.c
2966 2007-08-28 Steve Falkenburg <sfalken@apple.com>
2968 <rdar://problem/5079253> Cannot set different margins for the page
2970 Added support for setting margins via page setup for Windows printing.
2974 * Interfaces/IWebUIDelegate.idl: Added webViewPrintingMarginRect.
2976 (WebFrame::printerMarginRect): Added.
2977 (WebFrame::computePageRects): Account for margins when calculating page rects.
2978 (WebFrame::spoolPages): Position footer at the bottom of the page rect (fixes footer drawing if left/right margins are set).
2981 2007-08-28 Jon Honeycutt <jhoneycutt@apple.com>
2985 <rdar://problem/5444457>: Content is cut when page orientation changed
2987 Fix: Don't return WebFrame::m_pageRects if it exists; let
2988 computePageRectsForFrame clear and rewrite it.
2991 (WebFrame::computePageRects): Removed an early-return case. Added a
2994 2007-08-28 Ada Chan <adachan@apple.com>
2996 <rdar://problem/4876242> Added SPI to fetch SSL certificate information.
2998 Reviewed by Adam and Steve.
3000 * Interfaces/IWebURLResponsePrivate.idl: Added.
3001 * WebKit.vcproj/Interfaces.vcproj:
3002 * WebKit.vcproj/WebKitGUID.vcproj:
3003 * WebURLResponse.cpp:
3004 (WebURLResponse::QueryInterface):
3005 (WebURLResponse::sslPeerCertificate): gets peer certificate context from CFNetwork
3006 (WebURLResponse::certificateDictionary): gets the dictionary that contains SSL certificate
3007 info from CFNetwork. We retain the dictionary to ensure the certificate context is valid
3008 throughout the lifetime of the WebURLResponse.
3011 2007-08-27 Steve Falkenburg <sfalken@apple.com>
3013 <rdar://problem/5424801> REGRESSION (r25151): Web page area of window doesn't redraw if page isn't loaded
3015 Don't bypass WebView WM_PAINT if the WebView has never committed a page.
3020 (WebViewWndProc): Don't skip painting if we haven't committed any pages in this view.
3022 2007-08-25 Oliver Hunt <oliver@apple.com>
3024 Reviewed by Adam and Sam
3026 <rdar://problem/5269732> Safari 3.0 for Windows cuts off text in textarea boxes during sending forms (14562)
3027 <http://bugs.webkit.org/show_bug.cgi?id=14562> [Win] Textarea contents partially eaten on submit/copy
3029 WebView::handleEditingKeyboardEvent assumed all keycodes that did not trigger a named command were
3030 to be inserted. This could cause unexpected behaviour when control characters (eg. escape) are sent,
3031 or could cause data loss when sent a null character (as happens when dead keys are used for international
3034 This patch corrects WebView::handleEditingKeyboardEvent to prevent such characters from being sent
3035 to Editor::insertText. This behaviour matches Firefox.
3038 (WebView::handleEditingKeyboardEvent):
3040 2007-08-24 Sam Weinig <sam@webkit.org>
3042 Revert r25216 which renamed the COM DOM bindings to use Deprecated prefix.
3044 2007-08-24 Ada Chan <adachan@apple.com>
3046 <rdar://problem/5147315> and <rdar://problem/5183935>
3047 Added accelerator key mappings for Select All, Undo, and Redo.
3053 2007-08-24 Jon Honeycutt <jhoneycutt@apple.com>
3057 Part of <rdar://problem/5433236> Print preview of empty txt file crashes
3061 (WebFrame::computePageRects): Pass m_pageRects by reference into
3062 computePageRectsForFrame
3064 2007-08-24 Sam Weinig <sam@webkit.org>
3066 Rubber-stamped by Adam Roben.
3068 <rdar://problem/5434593> Deprecate current manually written COM DOM bindings in anticipation of autogeneration
3070 Rename COM DOM bindings to use Deprecated prefix.
3072 * DOMCSSClasses.cpp:
3073 (DeprecatedDOMCSSStyleDeclaration::DeprecatedDOMCSSStyleDeclaration):
3074 (DeprecatedDOMCSSStyleDeclaration::~DeprecatedDOMCSSStyleDeclaration):
3075 (DeprecatedDOMCSSStyleDeclaration::createInstance):
3076 (DeprecatedDOMCSSStyleDeclaration::QueryInterface):
3077 (DeprecatedDOMCSSStyleDeclaration::cssText):
3078 (DeprecatedDOMCSSStyleDeclaration::setCssText):
3079 (DeprecatedDOMCSSStyleDeclaration::getPropertyValue):
3080 (DeprecatedDOMCSSStyleDeclaration::getPropertyCSSValue):
3081 (DeprecatedDOMCSSStyleDeclaration::removeProperty):
3082 (DeprecatedDOMCSSStyleDeclaration::getPropertyPriority):
3083 (DeprecatedDOMCSSStyleDeclaration::setProperty):
3084 (DeprecatedDOMCSSStyleDeclaration::length):
3085 (DeprecatedDOMCSSStyleDeclaration::item):
3086 (DeprecatedDOMCSSStyleDeclaration::parentRule):
3088 (DeprecatedDOMCSSStyleDeclaration::AddRef):
3089 (DeprecatedDOMCSSStyleDeclaration::Release):
3090 (DeprecatedDOMCSSStyleDeclaration::throwException):
3091 (DeprecatedDOMCSSStyleDeclaration::callWebScriptMethod):
3092 (DeprecatedDOMCSSStyleDeclaration::evaluateWebScript):
3093 (DeprecatedDOMCSSStyleDeclaration::removeWebScriptKey):
3094 (DeprecatedDOMCSSStyleDeclaration::stringRepresentation):
3095 (DeprecatedDOMCSSStyleDeclaration::webScriptValueAtIndex):
3096 (DeprecatedDOMCSSStyleDeclaration::setWebScriptValueAtIndex):
3097 (DeprecatedDOMCSSStyleDeclaration::setException):
3098 * DOMCoreClasses.cpp:
3099 (DeprecatedDOMObject::QueryInterface):
3100 (DeprecatedDOMNode::QueryInterface):
3101 (DeprecatedDOMNode::nodeName):
3102 (DeprecatedDOMNode::nodeValue):
3103 (DeprecatedDOMNode::setNodeValue):
3104 (DeprecatedDOMNode::nodeType):
3105 (DeprecatedDOMNode::parentNode):
3106 (DeprecatedDOMNode::childNodes):
3107 (DeprecatedDOMNode::firstChild):
3108 (DeprecatedDOMNode::lastChild):
3109 (DeprecatedDOMNode::previousSibling):
3110 (DeprecatedDOMNode::nextSibling):
3111 (DeprecatedDOMNode::attributes):
3112 (DeprecatedDOMNode::ownerDocument):
3113 (DeprecatedDOMNode::insertBefore):
3114 (DeprecatedDOMNode::replaceChild):
3115 (DeprecatedDOMNode::removeChild):
3116 (DeprecatedDOMNode::appendChild):
3117 (DeprecatedDOMNode::hasChildNodes):
3118 (DeprecatedDOMNode::cloneNode):
3119 (DeprecatedDOMNode::normalize):
3120 (DeprecatedDOMNode::isSupported):
3121 (DeprecatedDOMNode::namespaceURI):
3122 (DeprecatedDOMNode::prefix):
3123 (DeprecatedDOMNode::setPrefix):
3124 (DeprecatedDOMNode::localName):
3125 (DeprecatedDOMNode::hasAttributes):
3126 (DeprecatedDOMNode::isSameNode):
3127 (DeprecatedDOMNode::isEqualNode):
3128 (DeprecatedDOMNode::textContent):
3129 (DeprecatedDOMNode::setTextContent):
3130 (DeprecatedDOMNode::addEventListener):
3131 (DeprecatedDOMNode::removeEventListener):
3132 (DeprecatedDOMNode::dispatchEvent):
3133 (DeprecatedDOMNode::DeprecatedDOMNode):
3134 (DeprecatedDOMNode::~DeprecatedDOMNode):
3135 (DeprecatedDOMNode::createInstance):
3136 (DeprecatedDOMNodeList::QueryInterface):
3137 (DeprecatedDOMNodeList::item):
3138 (DeprecatedDOMNodeList::length):
3139 (DeprecatedDOMNodeList::DeprecatedDOMNodeList):
3140 (DeprecatedDOMNodeList::~DeprecatedDOMNodeList):
3141 (DeprecatedDOMNodeList::createInstance):
3142 (DeprecatedDOMDocument::QueryInterface):
3143 (DeprecatedDOMDocument::doctype):
3144 (DeprecatedDOMDocument::implementation):
3145 (DeprecatedDOMDocument::documentElement):
3146 (DeprecatedDOMDocument::createElement):
3147 (DeprecatedDOMDocument::createDocumentFragment):
3148 (DeprecatedDOMDocument::createTextNode):
3149 (DeprecatedDOMDocument::createComment):
3150 (DeprecatedDOMDocument::createCDATASection):
3151 (DeprecatedDOMDocument::createProcessingInstruction):
3152 (DeprecatedDOMDocument::createAttribute):
3153 (DeprecatedDOMDocument::createEntityReference):
3154 (DeprecatedDOMDocument::getElementsByTagName):
3155 (DeprecatedDOMDocument::importNode):
3156 (DeprecatedDOMDocument::createElementNS):
3157 (DeprecatedDOMDocument::createAttributeNS):
3158 (DeprecatedDOMDocument::getElementsByTagNameNS):
3159 (DeprecatedDOMDocument::getElementById):
3160 (DeprecatedDOMDocument::getComputedStyle):
3161 (DeprecatedDOMDocument::createEvent):
3162 (DeprecatedDOMDocument::DeprecatedDOMDocument):
3163 (DeprecatedDOMDocument::~DeprecatedDOMDocument):
3164 (DeprecatedDOMDocument::createInstance):
3165 (DeprecatedDOMElement::QueryInterface):
3166 (DeprecatedDOMElement::boundingBox):
3167 (DeprecatedDOMElement::lineBoxRects):
3168 (DeprecatedDOMElement::tagName):
3169 (DeprecatedDOMElement::getAttribute):
3170 (DeprecatedDOMElement::setAttribute):
3171 (DeprecatedDOMElement::removeAttribute):
3172 (DeprecatedDOMElement::getAttributeNode):
3173 (DeprecatedDOMElement::setAttributeNode):
3174 (DeprecatedDOMElement::removeAttributeNode):
3175 (DeprecatedDOMElement::getElementsByTagName):
3176 (DeprecatedDOMElement::getAttributeNS):
3177 (DeprecatedDOMElement::setAttributeNS):
3178 (DeprecatedDOMElement::removeAttributeNS):
3179 (DeprecatedDOMElement::getAttributeNodeNS):
3180 (DeprecatedDOMElement::setAttributeNodeNS):
3181 (DeprecatedDOMElement::getElementsByTagNameNS):
3182 (DeprecatedDOMElement::hasAttribute):
3183 (DeprecatedDOMElement::hasAttributeNS):
3184 (DeprecatedDOMElement::focus):
3185 (DeprecatedDOMElement::blur):
3186 (DeprecatedDOMElement::coreElement):
3187 (DeprecatedDOMElement::isEqual):
3188 (DeprecatedDOMElement::isFocused):
3189 (DeprecatedDOMElement::innerText):
3190 (DeprecatedDOMElement::style):
3191 (DeprecatedDOMElement::offsetLeft):
3192 (DeprecatedDOMElement::offsetTop):
3193 (DeprecatedDOMElement::offsetWidth):
3194 (DeprecatedDOMElement::offsetHeight):
3195 (DeprecatedDOMElement::offsetParent):
3196 (DeprecatedDOMElement::clientWidth):
3197 (DeprecatedDOMElement::clientHeight):
3198 (DeprecatedDOMElement::scrollLeft):
3199 (DeprecatedDOMElement::setScrollLeft):
3200 (DeprecatedDOMElement::scrollTop):
3201 (DeprecatedDOMElement::setScrollTop):
3202 (DeprecatedDOMElement::scrollWidth):
3203 (DeprecatedDOMElement::scrollHeight):
3204 (DeprecatedDOMElement::scrollIntoView):
3205 (DeprecatedDOMElement::scrollIntoViewIfNeeded):
3206 (DeprecatedDOMElement::DeprecatedDOMElement):
3207 (DeprecatedDOMElement::~DeprecatedDOMElement):
3208 (DeprecatedDOMElement::createInstance):
3210 (DeprecatedDOMNode::AddRef):
3211 (DeprecatedDOMNode::Release):
3212 (DeprecatedDOMNode::throwException):
3213 (DeprecatedDOMNode::callWebScriptMethod):
3214 (DeprecatedDOMNode::evaluateWebScript):
3215 (DeprecatedDOMNode::removeWebScriptKey):
3216 (DeprecatedDOMNode::stringRepresentation):
3217 (DeprecatedDOMNode::webScriptValueAtIndex):
3218 (DeprecatedDOMNode::setWebScriptValueAtIndex):
3219 (DeprecatedDOMNode::setException):
3220 (DeprecatedDOMNodeList::AddRef):
3221 (DeprecatedDOMNodeList::Release):
3222 (DeprecatedDOMNodeList::throwException):
3223 (DeprecatedDOMNodeList::callWebScriptMethod):
3224 (DeprecatedDOMNodeList::evaluateWebScript):
3225 (DeprecatedDOMNodeList::removeWebScriptKey):
3226 (DeprecatedDOMNodeList::stringRepresentation):
3227 (DeprecatedDOMNodeList::webScriptValueAtIndex):
3228 (DeprecatedDOMNodeList::setWebScriptValueAtIndex):
3229 (DeprecatedDOMNodeList::setException):
3230 (DeprecatedDOMDocument::AddRef):
3231 (DeprecatedDOMDocument::Release):
3232 (DeprecatedDOMDocument::throwException):
3233 (DeprecatedDOMDocument::callWebScriptMethod):
3234 (DeprecatedDOMDocument::evaluateWebScript):
3235 (DeprecatedDOMDocument::removeWebScriptKey):
3236 (DeprecatedDOMDocument::stringRepresentation):
3237 (DeprecatedDOMDocument::webScriptValueAtIndex):
3238 (DeprecatedDOMDocument::setWebScriptValueAtIndex):
3239 (DeprecatedDOMDocument::setException):
3240 (DeprecatedDOMDocument::nodeName):
3241 (DeprecatedDOMDocument::nodeValue):
3242 (DeprecatedDOMDocument::setNodeValue):
3243 (DeprecatedDOMDocument::nodeType):
3244 (DeprecatedDOMDocument::parentNode):
3245 (DeprecatedDOMDocument::childNodes):
3246 (DeprecatedDOMDocument::firstChild):
3247 (DeprecatedDOMDocument::lastChild):
3248 (DeprecatedDOMDocument::previousSibling):
3249 (DeprecatedDOMDocument::nextSibling):
3250 (DeprecatedDOMDocument::attributes):
3251 (DeprecatedDOMDocument::ownerDocument):
3252 (DeprecatedDOMDocument::insertBefore):
3253 (DeprecatedDOMDocument::replaceChild):
3254 (DeprecatedDOMDocument::removeChild):
3255 (DeprecatedDOMDocument::appendChild):
3256 (DeprecatedDOMDocument::hasChildNodes):
3257 (DeprecatedDOMDocument::cloneNode):
3258 (DeprecatedDOMDocument::normalize):
3259 (DeprecatedDOMDocument::isSupported):
3260 (DeprecatedDOMDocument::namespaceURI):
3261 (DeprecatedDOMDocument::prefix):
3262 (DeprecatedDOMDocument::setPrefix):
3263 (DeprecatedDOMDocument::localName):
3264 (DeprecatedDOMDocument::hasAttributes):
3265 (DeprecatedDOMDocument::isSameNode):
3266 (DeprecatedDOMDocument::isEqualNode):
3267 (DeprecatedDOMDocument::textContent):
3268 (DeprecatedDOMDocument::setTextContent):
3269 (DeprecatedDOMElement::AddRef):
3270 (DeprecatedDOMElement::Release):
3271 (DeprecatedDOMElement::throwException):
3272 (DeprecatedDOMElement::callWebScriptMethod):
3273 (DeprecatedDOMElement::evaluateWebScript):
3274 (DeprecatedDOMElement::removeWebScriptKey):
3275 (DeprecatedDOMElement::stringRepresentation):
3276 (DeprecatedDOMElement::webScriptValueAtIndex):
3277 (DeprecatedDOMElement::setWebScriptValueAtIndex):
3278 (DeprecatedDOMElement::setException):
3279 (DeprecatedDOMElement::nodeName):
3280 (DeprecatedDOMElement::nodeValue):
3281 (DeprecatedDOMElement::setNodeValue):
3282 (DeprecatedDOMElement::nodeType):
3283 (DeprecatedDOMElement::parentNode):
3284 (DeprecatedDOMElement::childNodes):
3285 (DeprecatedDOMElement::firstChild):
3286 (DeprecatedDOMElement::lastChild):
3287 (DeprecatedDOMElement::previousSibling):
3288 (DeprecatedDOMElement::nextSibling):
3289 (DeprecatedDOMElement::attributes):
3290 (DeprecatedDOMElement::ownerDocument):
3291 (DeprecatedDOMElement::insertBefore):
3292 (DeprecatedDOMElement::replaceChild):
3293 (DeprecatedDOMElement::removeChild):
3294 (DeprecatedDOMElement::appendChild):
3295 (DeprecatedDOMElement::hasChildNodes):
3296 (DeprecatedDOMElement::cloneNode):
3297 (DeprecatedDOMElement::normalize):
3298 (DeprecatedDOMElement::isSupported):
3299 (DeprecatedDOMElement::namespaceURI):
3300 (DeprecatedDOMElement::prefix):
3301 (DeprecatedDOMElement::setPrefix):
3302 (DeprecatedDOMElement::localName):
3303 (DeprecatedDOMElement::hasAttributes):
3304 (DeprecatedDOMElement::isSameNode):
3305 (DeprecatedDOMElement::isEqualNode):
3306 (DeprecatedDOMElement::textContent):
3307 (DeprecatedDOMElement::setTextContent):
3308 * DOMEventsClasses.cpp:
3309 (DeprecatedDOMEventListener::QueryInterface):
3310 (DeprecatedDOMEventListener::handleEvent):
3311 (DeprecatedDOMEvent::DeprecatedDOMEvent):
3312 (DeprecatedDOMEvent::~DeprecatedDOMEvent):
3313 (DeprecatedDOMEvent::createInstance):
3314 (DeprecatedDOMEvent::QueryInterface):
3315 (DeprecatedDOMEvent::type):
3316 (DeprecatedDOMEvent::target):
3317 (DeprecatedDOMEvent::currentTarget):
3318 (DeprecatedDOMEvent::eventPhase):
3319 (DeprecatedDOMEvent::bubbles):
3320 (DeprecatedDOMEvent::cancelable):
3321 (DeprecatedDOMEvent::timeStamp):
3322 (DeprecatedDOMEvent::stopPropagation):
3323 (DeprecatedDOMEvent::preventDefault):
3324 (DeprecatedDOMEvent::initEvent):
3325 (DeprecatedDOMUIEvent::QueryInterface):
3326 (DeprecatedDOMUIEvent::view):
3327 (DeprecatedDOMUIEvent::detail):
3328 (DeprecatedDOMUIEvent::initUIEvent):
3329 (DeprecatedDOMUIEvent::keyCode):
3330 (DeprecatedDOMUIEvent::charCode):
3331 (DeprecatedDOMUIEvent::layerX):
3332 (DeprecatedDOMUIEvent::layerY):
3333 (DeprecatedDOMUIEvent::pageX):
3334 (DeprecatedDOMUIEvent::pageY):
3335 (DeprecatedDOMUIEvent::which):
3336 (DeprecatedDOMKeyboardEvent::QueryInterface):
3337 (DeprecatedDOMKeyboardEvent::keyIdentifier):
3338 (DeprecatedDOMKeyboardEvent::keyLocation):
3339 (DeprecatedDOMKeyboardEvent::ctrlKey):
3340 (DeprecatedDOMKeyboardEvent::shiftKey):
3341 (DeprecatedDOMKeyboardEvent::altKey):
3342 (DeprecatedDOMKeyboardEvent::metaKey):
3343 (DeprecatedDOMKeyboardEvent::altGraphKey):
3344 (DeprecatedDOMKeyboardEvent::getModifierState):
3345 (DeprecatedDOMKeyboardEvent::initKeyboardEvent):
3346 (DeprecatedDOMMouseEvent::QueryInterface):
3347 (DeprecatedDOMMouseEvent::screenX):
3348 (DeprecatedDOMMouseEvent::screenY):
3349 (DeprecatedDOMMouseEvent::clientX):
3350 (DeprecatedDOMMouseEvent::clientY):
3351 (DeprecatedDOMMouseEvent::ctrlKey):
3352 (DeprecatedDOMMouseEvent::shiftKey):
3353 (DeprecatedDOMMouseEvent::altKey):
3354 (DeprecatedDOMMouseEvent::metaKey):
3355 (DeprecatedDOMMouseEvent::button):
3356 (DeprecatedDOMMouseEvent::relatedTarget):
3357 (DeprecatedDOMMouseEvent::initMouseEvent):
3358 (DeprecatedDOMMouseEvent::offsetX):
3359 (DeprecatedDOMMouseEvent::offsetY):
3360 (DeprecatedDOMMouseEvent::x):
3361 (DeprecatedDOMMouseEvent::y):
3362 (DeprecatedDOMMouseEvent::fromElement):
3363 (DeprecatedDOMMouseEvent::toElement):
3364 (DeprecatedDOMMutationEvent::QueryInterface):
3365 (DeprecatedDOMMutationEvent::relatedNode):
3366 (DeprecatedDOMMutationEvent::prevValue):
3367 (DeprecatedDOMMutationEvent::newValue):
3368 (DeprecatedDOMMutationEvent::attrName):
3369 (DeprecatedDOMMutationEvent::attrChange):
3370 (DeprecatedDOMMutationEvent::initMutationEvent):
3371 (DeprecatedDOMOverflowEvent::QueryInterface):
3372 (DeprecatedDOMOverflowEvent::orient):
3373 (DeprecatedDOMOverflowEvent::horizontalOverflow):
3374 (DeprecatedDOMOverflowEvent::verticalOverflow):
3375 (DeprecatedDOMWheelEvent::QueryInterface):
3376 (DeprecatedDOMWheelEvent::screenX):
3377 (DeprecatedDOMWheelEvent::screenY):
3378 (DeprecatedDOMWheelEvent::clientX):
3379 (DeprecatedDOMWheelEvent::clientY):
3380 (DeprecatedDOMWheelEvent::ctrlKey):
3381 (DeprecatedDOMWheelEvent::shiftKey):
3382 (DeprecatedDOMWheelEvent::altKey):
3383 (DeprecatedDOMWheelEvent::metaKey):
3384 (DeprecatedDOMWheelEvent::wheelDelta):
3385 (DeprecatedDOMWheelEvent::wheelDeltaX):
3386 (DeprecatedDOMWheelEvent::wheelDeltaY):
3387 (DeprecatedDOMWheelEvent::offsetX):
3388 (DeprecatedDOMWheelEvent::offsetY):
3389 (DeprecatedDOMWheelEvent::x):
3390 (DeprecatedDOMWheelEvent::y):
3391 (DeprecatedDOMWheelEvent::isHorizontal):
3392 (DeprecatedDOMWheelEvent::initWheelEvent):
3393 * DOMEventsClasses.h:
3394 (DeprecatedDOMEventListener::AddRef):
3395 (DeprecatedDOMEventListener::Release):
3396 (DeprecatedDOMEventListener::throwException):
3397 (DeprecatedDOMEventListener::callWebScriptMethod):
3398 (DeprecatedDOMEventListener::evaluateWebScript):
3399 (DeprecatedDOMEventListener::removeWebScriptKey):
3400 (DeprecatedDOMEventListener::stringRepresentation):
3401 (DeprecatedDOMEventListener::webScriptValueAtIndex):
3402 (DeprecatedDOMEventListener::setWebScriptValueAtIndex):
3403 (DeprecatedDOMEventListener::setException):
3404 (DeprecatedDOMEvent::AddRef):
3405 (DeprecatedDOMEvent::Release):
3406 (DeprecatedDOMEvent::throwException):
3407 (DeprecatedDOMEvent::callWebScriptMethod):
3408 (DeprecatedDOMEvent::evaluateWebScript):
3409 (DeprecatedDOMEvent::removeWebScriptKey):
3410 (DeprecatedDOMEvent::stringRepresentation):
3411 (DeprecatedDOMEvent::webScriptValueAtIndex):
3412 (DeprecatedDOMEvent::setWebScriptValueAtIndex):
3413 (DeprecatedDOMEvent::setException):
3414 (DeprecatedDOMUIEvent::DeprecatedDOMUIEvent):
3415 (DeprecatedDOMUIEvent::AddRef):
3416 (DeprecatedDOMUIEvent::Release):
3417 (DeprecatedDOMUIEvent::throwException):
3418 (DeprecatedDOMUIEvent::callWebScriptMethod):
3419 (DeprecatedDOMUIEvent::evaluateWebScript):
3420 (DeprecatedDOMUIEvent::removeWebScriptKey):
3421 (DeprecatedDOMUIEvent::stringRepresentation):
3422 (DeprecatedDOMUIEvent::webScriptValueAtIndex):
3423 (DeprecatedDOMUIEvent::setWebScriptValueAtIndex):
3424 (DeprecatedDOMUIEvent::setException):
3425 (DeprecatedDOMUIEvent::type):
3426 (DeprecatedDOMUIEvent::target):
3427 (DeprecatedDOMUIEvent::currentTarget):
3428 (DeprecatedDOMUIEvent::eventPhase):
3429 (DeprecatedDOMUIEvent::bubbles):
3430 (DeprecatedDOMUIEvent::cancelable):
3431 (DeprecatedDOMUIEvent::timeStamp):
3432 (DeprecatedDOMUIEvent::stopPropagation):
3433 (DeprecatedDOMUIEvent::preventDefault):
3434 (DeprecatedDOMUIEvent::initEvent):
3435 (DeprecatedDOMKeyboardEvent::DeprecatedDOMKeyboardEvent):
3436 (DeprecatedDOMKeyboardEvent::AddRef):
3437 (DeprecatedDOMKeyboardEvent::Release):
3438 (DeprecatedDOMKeyboardEvent::throwException):
3439 (DeprecatedDOMKeyboardEvent::callWebScriptMethod):
3440 (DeprecatedDOMKeyboardEvent::evaluateWebScript):
3441 (DeprecatedDOMKeyboardEvent::removeWebScriptKey):
3442 (DeprecatedDOMKeyboardEvent::stringRepresentation):
3443 (DeprecatedDOMKeyboardEvent::webScriptValueAtIndex):
3444 (DeprecatedDOMKeyboardEvent::setWebScriptValueAtIndex):
3445 (DeprecatedDOMKeyboardEvent::setException):
3446 (DeprecatedDOMKeyboardEvent::type):
3447 (DeprecatedDOMKeyboardEvent::target):
3448 (DeprecatedDOMKeyboardEvent::currentTarget):
3449 (DeprecatedDOMKeyboardEvent::eventPhase):
3450 (DeprecatedDOMKeyboardEvent::bubbles):
3451 (DeprecatedDOMKeyboardEvent::cancelable):
3452 (DeprecatedDOMKeyboardEvent::timeStamp):
3453 (DeprecatedDOMKeyboardEvent::stopPropagation):
3454 (DeprecatedDOMKeyboardEvent::preventDefault):
3455 (DeprecatedDOMKeyboardEvent::initEvent):
3456 (DeprecatedDOMKeyboardEvent::view):
3457 (DeprecatedDOMKeyboardEvent::detail):
3458 (DeprecatedDOMKeyboardEvent::initUIEvent):
3459 (DeprecatedDOMKeyboardEvent::keyCode):
3460 (DeprecatedDOMKeyboardEvent::charCode):
3461 (DeprecatedDOMKeyboardEvent::layerX):
3462 (DeprecatedDOMKeyboardEvent::layerY):
3463 (DeprecatedDOMKeyboardEvent::pageX):
3464 (DeprecatedDOMKeyboardEvent::pageY):
3465 (DeprecatedDOMKeyboardEvent::which):
3466 (DeprecatedDOMMouseEvent::DeprecatedDOMMouseEvent):
3467 (DeprecatedDOMMouseEvent::AddRef):
3468 (DeprecatedDOMMouseEvent::Release):
3469 (DeprecatedDOMMouseEvent::throwException):
3470 (DeprecatedDOMMouseEvent::callWebScriptMethod):
3471 (DeprecatedDOMMouseEvent::evaluateWebScript):
3472 (DeprecatedDOMMouseEvent::removeWebScriptKey):
3473 (DeprecatedDOMMouseEvent::stringRepresentation):
3474 (DeprecatedDOMMouseEvent::webScriptValueAtIndex):
3475 (DeprecatedDOMMouseEvent::setWebScriptValueAtIndex):
3476 (DeprecatedDOMMouseEvent::setException):
3477 (DeprecatedDOMMouseEvent::type):
3478 (DeprecatedDOMMouseEvent::target):
3479 (DeprecatedDOMMouseEvent::currentTarget):
3480 (DeprecatedDOMMouseEvent::eventPhase):
3481 (DeprecatedDOMMouseEvent::bubbles):
3482 (DeprecatedDOMMouseEvent::cancelable):
3483 (DeprecatedDOMMouseEvent::timeStamp):
3484 (DeprecatedDOMMouseEvent::stopPropagation):
3485 (DeprecatedDOMMouseEvent::preventDefault):
3486 (DeprecatedDOMMouseEvent::initEvent):
3487 (DeprecatedDOMMouseEvent::view):
3488 (DeprecatedDOMMouseEvent::detail):
3489 (DeprecatedDOMMouseEvent::initUIEvent):
3490 (DeprecatedDOMMouseEvent::keyCode):
3491 (DeprecatedDOMMouseEvent::charCode):
3492 (DeprecatedDOMMouseEvent::layerX):
3493 (DeprecatedDOMMouseEvent::layerY):
3494 (DeprecatedDOMMouseEvent::pageX):
3495 (DeprecatedDOMMouseEvent::pageY):
3496 (DeprecatedDOMMouseEvent::which):
3497 (DeprecatedDOMMutationEvent::DeprecatedDOMMutationEvent):
3498 (DeprecatedDOMMutationEvent::AddRef):
3499 (DeprecatedDOMMutationEvent::Release):
3500 (DeprecatedDOMMutationEvent::throwException):
3501 (DeprecatedDOMMutationEvent::callWebScriptMethod):
3502 (DeprecatedDOMMutationEvent::evaluateWebScript):
3503 (DeprecatedDOMMutationEvent::removeWebScriptKey):
3504 (DeprecatedDOMMutationEvent::stringRepresentation):
3505 (DeprecatedDOMMutationEvent::webScriptValueAtIndex):
3506 (DeprecatedDOMMutationEvent::setWebScriptValueAtIndex):
3507 (DeprecatedDOMMutationEvent::setException):
3508 (DeprecatedDOMMutationEvent::type):
3509 (DeprecatedDOMMutationEvent::target):
3510 (DeprecatedDOMMutationEvent::currentTarget):
3511 (DeprecatedDOMMutationEvent::eventPhase):
3512 (DeprecatedDOMMutationEvent::bubbles):
3513 (DeprecatedDOMMutationEvent::cancelable):
3514 (DeprecatedDOMMutationEvent::timeStamp):
3515 (DeprecatedDOMMutationEvent::stopPropagation):
3516 (DeprecatedDOMMutationEvent::preventDefault):
3517 (DeprecatedDOMMutationEvent::initEvent):
3518 (DeprecatedDOMOverflowEvent::DeprecatedDOMOverflowEvent):
3519 (DeprecatedDOMOverflowEvent::AddRef):
3520 (DeprecatedDOMOverflowEvent::Release):
3521 (DeprecatedDOMOverflowEvent::throwException):
3522 (DeprecatedDOMOverflowEvent::callWebScriptMethod):
3523 (DeprecatedDOMOverflowEvent::evaluateWebScript):
3524 (DeprecatedDOMOverflowEvent::removeWebScriptKey):
3525 (DeprecatedDOMOverflowEvent::stringRepresentation):
3526 (DeprecatedDOMOverflowEvent::webScriptValueAtIndex):
3527 (DeprecatedDOMOverflowEvent::setWebScriptValueAtIndex):
3528 (DeprecatedDOMOverflowEvent::setException):
3529 (DeprecatedDOMOverflowEvent::type):
3530 (DeprecatedDOMOverflowEvent::target):
3531 (DeprecatedDOMOverflowEvent::currentTarget):
3532 (DeprecatedDOMOverflowEvent::eventPhase):
3533 (DeprecatedDOMOverflowEvent::bubbles):
3534 (DeprecatedDOMOverflowEvent::cancelable):
3535 (DeprecatedDOMOverflowEvent::timeStamp):
3536 (DeprecatedDOMOverflowEvent::stopPropagation):
3537 (DeprecatedDOMOverflowEvent::preventDefault):
3538 (DeprecatedDOMOverflowEvent::initEvent):
3539 (DeprecatedDOMWheelEvent::DeprecatedDOMWheelEvent):
3540 (DeprecatedDOMWheelEvent::AddRef):
3541 (DeprecatedDOMWheelEvent::Release):
3542 (DeprecatedDOMWheelEvent::throwException):
3543 (DeprecatedDOMWheelEvent::callWebScriptMethod):
3544 (DeprecatedDOMWheelEvent::evaluateWebScript):
3545 (DeprecatedDOMWheelEvent::removeWebScriptKey):
3546 (DeprecatedDOMWheelEvent::stringRepresentation):
3547 (DeprecatedDOMWheelEvent::webScriptValueAtIndex):
3548 (DeprecatedDOMWheelEvent::setWebScriptValueAtIndex):
3549 (DeprecatedDOMWheelEvent::setException):
3550 (DeprecatedDOMWheelEvent::type):
3551 (DeprecatedDOMWheelEvent::target):
3552 (DeprecatedDOMWheelEvent::currentTarget):
3553 (DeprecatedDOMWheelEvent::eventPhase):
3554 (DeprecatedDOMWheelEvent::bubbles):
3555 (DeprecatedDOMWheelEvent::cancelable):
3556 (DeprecatedDOMWheelEvent::timeStamp):
3557 (DeprecatedDOMWheelEvent::stopPropagation):
3558 (DeprecatedDOMWheelEvent::preventDefault):
3559 (DeprecatedDOMWheelEvent::initEvent):
3560 (DeprecatedDOMWheelEvent::view):
3561 (DeprecatedDOMWheelEvent::detail):
3562 (DeprecatedDOMWheelEvent::initUIEvent):
3563 (DeprecatedDOMWheelEvent::keyCode):
3564 (DeprecatedDOMWheelEvent::charCode):
3565 (DeprecatedDOMWheelEvent::layerX):
3566 (DeprecatedDOMWheelEvent::layerY):
3567 (DeprecatedDOMWheelEvent::pageX):
3568 (DeprecatedDOMWheelEvent::pageY):
3569 (DeprecatedDOMWheelEvent::which):
3570 * DOMHTMLClasses.cpp:
3571 (DeprecatedDOMHTMLCollection::DeprecatedDOMHTMLCollection):
3572 (DeprecatedDOMHTMLCollection::createInstance):
3573 (DeprecatedDOMHTMLCollection::QueryInterface):
3574 (DeprecatedDOMHTMLCollection::length):
3575 (DeprecatedDOMHTMLCollection::item):
3576 (DeprecatedDOMHTMLCollection::namedItem):
3577 (DeprecatedDOMHTMLOptionsCollection::QueryInterface):
3578 (DeprecatedDOMHTMLOptionsCollection::length):
3579 (DeprecatedDOMHTMLOptionsCollection::setLength):
3580 (DeprecatedDOMHTMLOptionsCollection::item):
3581 (DeprecatedDOMHTMLOptionsCollection::namedItem):
3582 (DeprecatedDOMHTMLDocument::QueryInterface):
3583 (DeprecatedDOMHTMLDocument::title):
3584 (DeprecatedDOMHTMLDocument::setTitle):
3585 (DeprecatedDOMHTMLDocument::referrer):
3586 (DeprecatedDOMHTMLDocument::domain):
3587 (DeprecatedDOMHTMLDocument::URL):
3588 (DeprecatedDOMHTMLDocument::body):
3589 (DeprecatedDOMHTMLDocument::setBody):
3590 (DeprecatedDOMHTMLDocument::images):
3591 (DeprecatedDOMHTMLDocument::applets):
3592 (DeprecatedDOMHTMLDocument::links):
3593 (DeprecatedDOMHTMLDocument::forms):
3594 (DeprecatedDOMHTMLDocument::anchors):
3595 (DeprecatedDOMHTMLDocument::cookie):
3596 (DeprecatedDOMHTMLDocument::setCookie):
3597 (DeprecatedDOMHTMLDocument::open):
3598 (DeprecatedDOMHTMLDocument::close):
3599 (DeprecatedDOMHTMLDocument::write):
3600 (DeprecatedDOMHTMLDocument::writeln):