1 2007-11-27 Ada Chan <adachan@apple.com>
3 <rdar://problem/5616098> The BSTR returned by WebHistoryItem::alternateTitle
4 was not allocated correctly.
9 (WebHistoryItem::setAlternateTitle):
10 (WebHistoryItem::alternateTitle):
13 2007-11-27 Anders Carlsson <andersca@apple.com>
17 Use COMEnumVariant in WebScriptCallFrame and WebScriptScope.
19 * WebScriptCallFrame.cpp:
20 (WebScriptCallFrame::scopeChain):
22 (WebScriptScope::variableNames):
24 2007-11-27 Anders Carlsson <andersca@apple.com>
28 Use the correct include paths.
32 2007-11-27 Anders Carlsson <andersca@apple.com>
36 Add COMEnumVariant, a templatized class with implements IEnumVARIANT and lets
37 you enumerate over a C++ container, be it WTF or STL.
39 * COMEnumVariant.h: Added.
41 * WebDatabaseManager.cpp:
42 (WebDatabaseManager::origins):
43 (WebDatabaseManager::databasesWithOrigin):
44 Implement these using COMEnumVariant.
46 * WebSecurityOrigin.cpp:
47 (WebSecurityOrigin::QueryInterface):
48 * WebSecurityOrigin.h:
49 Add a UUID for the implementation so that other parts of WebKit can access
50 the WebCore::SecurityOriginData object.
52 2007-11-26 Adam Roben <aroben@apple.com>
54 Take advantage of the new Color constructor that takes a CGColorRef
56 This lets us handle grayscale colors (which only have 2 components).
63 2007-11-26 Steve Falkenburg <sfalken@apple.com>
67 * WebKit.vcproj/WebKit.make:
69 2007-11-26 Steve Falkenburg <sfalken@apple.com>
73 * WebKit.vcproj/build-generated-files.sh:
75 2007-11-26 Steve Falkenburg <sfalken@apple.com>
79 * WebKit.vcproj/build-generated-files.sh:
81 2007-11-26 Anders Carlsson <andersca@apple.com>
85 Add an implementation of IWebSecurityOrigin and a partially stubbed out
86 implementation of IWebDatabaseManager.
89 * Interfaces/IWebDatabaseManager.idl:
90 * Interfaces/WebKit.idl:
91 * WebDatabaseManager.cpp:
92 (WebDatabaseManager::createInstance):
93 (WebDatabaseManager::WebDatabaseManager):
94 (WebDatabaseManager::~WebDatabaseManager):
95 (WebDatabaseManager::QueryInterface):
96 (WebDatabaseManager::AddRef):
97 (WebDatabaseManager::Release):
98 (WebDatabaseManager::sharedWebDatabaseManager):
99 (WebDatabaseManager::origins):
100 (WebDatabaseManager::databasesWithOrigin):
101 (WebDatabaseManager::detailsForDatabaseWithOrigin):
102 (WebDatabaseManager::deleteAllDatabases):
103 (WebDatabaseManager::deleteDatabasesWithOrigin):
104 (WebDatabaseManager::deleteDatabaseWithOrigin):
105 * WebDatabaseManager.h:
106 * WebKit.vcproj/WebKit.vcproj:
107 * WebKitClassFactory.cpp:
108 * WebSecurityOrigin.cpp: Added.
109 (WebSecurityOrigin::createInstance):
110 (WebSecurityOrigin::WebSecurityOrigin):
111 (WebSecurityOrigin::~WebSecurityOrigin):
112 (WebSecurityOrigin::QueryInterface):
113 (WebSecurityOrigin::AddRef):
114 (WebSecurityOrigin::Release):
115 (WebSecurityOrigin::protocol):
116 (WebSecurityOrigin::domain):
117 (WebSecurityOrigin::port):
118 (WebSecurityOrigin::usage):
119 (WebSecurityOrigin::quota):
120 (WebSecurityOrigin::setQuota):
121 * WebSecurityOrigin.h: Added.
123 2007-11-26 Kevin McCullough <kmccullough@apple.com>
127 - Implemented displaying variables for Drosera on Win.
129 * Interfaces/IWebScriptCallFrame.idl: Added a local function to be
130 able to access the WebScriptCallFrame.
131 * Interfaces/IWebScriptScope.idl: Implemented.
132 * Interfaces/WebKit.idl: Added WebScriptScope to the tlb.
133 * WebKit.vcproj/Interfaces.vcproj:
134 * WebScriptCallFrame.cpp: Implemented the helper and accessor methods.
135 (EnumScopes::Next): Fixed a bug where we did not release correctly and
136 would accidentally destroy scopes.
137 (WebScriptCallFrame::stringByEvaluatingJavaScriptFromString):
139 (WebScriptCallFrame::valueByEvaluatingJavaScriptFromString): Implemented
140 * WebScriptCallFrame.h: Implemented the helper and accessor methods.
141 (WebScriptCallFrame::impl):
142 (WebScriptCallFrame::state):
143 * WebScriptScope.cpp: Implmented.
144 (EnumVariables::EnumVariables): Created an IEnumVariant over the
145 variables to be able to pass a DCOM acceptable structure back to
147 (EnumVariables::createInstance):
148 (EnumVariables::QueryInterface):
149 (EnumVariables::AddRef):
150 (EnumVariables::Release):
151 (EnumVariables::Next):
152 (EnumVariables::Skip):
153 (EnumVariables::Reset):
154 (EnumVariables::Clone):
155 (WebScriptScope::WebScriptScope):
156 (WebScriptScope::createInstance): Implemented.
157 (WebScriptScope::variableNames): Implemented.
158 (WebScriptScope::valueForVariable):
159 * WebScriptScope.h: Implmeneted.
161 2007-11-26 Anders Carlsson <andersca@apple.com>
165 Add IWebDatabaseManager and IWebSecurityOrigin interfaces.
167 * Interfaces/IWebDatabaseManager.idl: Added.
168 * Interfaces/IWebSecurityOrigin.idl: Added.
169 * WebKit.vcproj/Interfaces.vcproj:
170 * WebKit.vcproj/WebKitGUID.vcproj:
172 2007-11-26 Alice Liu <alice.liu@apple.com>
174 Reviewed by Jon Honeycutt.
176 Fall back to the default Policy Delegate in these functions,
177 as is already done in dispatchDecidePolicyForNavigationAction
180 (WebFrame::dispatchDecidePolicyForMIMEType):
181 (WebFrame::dispatchDecidePolicyForNewWindowAction):
182 (WebFrame::dispatchUnableToImplementPolicy):
184 2007-11-25 Adam Roben <aroben@apple.com>
186 Fix a leak pointed out by Alexey
189 (getUpdateRects): Use a Vector<unsigned char>, since OwnPtr doesn't
190 know to call delete[].
192 2007-11-25 Adam Roben <aroben@apple.com>
194 Fix Bug 16138: Reduce code duplication in WebView.cpp
196 http://bugs.webkit.org/show_bug.cgi?id=16138
201 (getUpdateRects): Factored code out of updateBackingStore and paint
202 into this new helper function.
203 (WebView::updateBackingStore): Use getUpdateRects.
204 (WebView::paint): Ditto.
205 (WebView::paintIntoBackingStore): Changed to take a const IntRect&.
206 (WebView::paintIntoWindow): Ditto.
209 2007-11-25 Adam Roben <aroben@apple.com>
211 Add ImageDiff.vcproj to WebKit.sln
215 * WebKit.vcproj/WebKit.sln:
217 2007-11-17 Timothy Hatcher <timothy@apple.com>
219 Reviewed by Mark Rowe.
221 Bug 13470: i18n: The Web Inspector is not localizable
222 http://bugs.webkit.org/show_bug.cgi?id=13470
224 * English.lproj/Localizable.strings: Updated.
225 * WebInspectorClient.cpp:
226 (WebInspectorClient::localizedStringsURL): Empty stub.
227 * WebInspectorClient.h: Added localizedStringsURL.
229 2007-11-17 Alexey Proskuryakov <ap@webkit.org>
234 (WebView::deleteSelection): Use canSmartCopyOrDelete() directly.
236 2007-11-14 Adam Roben <aroben@apple.com>
238 Change Interfaces to be a "Static Library" project
240 Being a Utility project meant that Interfaces was rebuilding every
241 time (Utility projects are supposed to handle their own dependencies).
242 Interfaces isn't really a static library, but it means that VS will
243 handle dependencies for us (and not complain about missing manifests
244 like it did when the project was an Application).
246 * WebKit.vcproj/Interfaces.vcproj:
248 2007-11-14 Adam Roben <aroben@apple.com>
250 Shut up FixMIDLHeaders.pl
252 * WebKit.vcproj/FixMIDLHeaders.pl:
254 2007-11-14 Adam Roben <aroben@apple.com>
256 Change Interfaces to use a Utility configuration
258 It had previously been marked as an "Application (.exe)", which is
259 wrong but worked with most versions of Visual Studio.
261 Rubberstamped by Steve.
263 * WebKit.vcproj/Interfaces.vcproj:
265 2007-11-14 Anders Carlsson <andersca@apple.com>
269 Get the new focus window from the wParam instead of calling GetFocus().
270 Also, send blur even if there is no focused frame.
275 2007-11-14 Adam Roben <aroben@apple.com>
277 Another build fix for systems without Cygwin in their PATH
279 * WebKit.vcproj/Interfaces.vcproj: Add Cygwin to the PATH in the
282 2007-11-13 Kevin McCullough <kmccullough@apple.com>
286 - Make Drosera show source, source URLs, and function stack on Windows
287 and some minor fixes.
289 * WebScriptCallFrame.cpp: Fixed a bug where the callFrame was not reffed
290 properly before being returned, and changed functionName() to check for
291 Null or if the name is empty.
293 (WebScriptCallFrame::WebScriptCallFrame):
294 (WebScriptCallFrame::createInstance):
295 (WebScriptCallFrame::caller):
296 (WebScriptCallFrame::functionName):
297 * WebScriptCallFrame.h: Ditto
298 * WebScriptDebugServer.cpp: Made the listenerSet static since we were
299 already treating it as if it were. Removed the EnumViews stuff. This
300 was added by Steve to demonstrate DCOM and he thought it would be needed
301 by Drosera, but I don't believe it will be.
302 Implemented suspendProcessIfPaused() also added calls to it at the end
303 of several functions to ensure we pause if Drosera has told WebKit to.
304 (WebScriptDebugServer::WebScriptDebugServer):
305 (WebScriptDebugServer::sharedWebScriptDebugServer):
306 (WebScriptDebugServer::addListener):
307 (WebScriptDebugServer::removeListener):
308 (WebScriptDebugServer::suspendProcessIfPaused):
309 (WebScriptDebugServer::didLoadMainResourceForDataSource):
310 (WebScriptDebugServer::didParseSource):
311 (WebScriptDebugServer::failedToParseSource):
312 (WebScriptDebugServer::didEnterCallFrame):
313 (WebScriptDebugServer::willExecuteStatement):
314 (WebScriptDebugServer::willLeaveCallFrame):
315 (WebScriptDebugServer::exceptionWasRaised):
316 * WebScriptDebugServer.h: Ditto.
317 * WebScriptDebugger.cpp: The important change here is that leaveFrame()
318 is called before willLeaveCallFrame(). I think there is some EOL stuff
320 - It was the implementing of these functions that allows source, the
321 source URLs and function stack to be displayed.
322 (WebScriptDebugger::callEvent):
323 (WebScriptDebugger::atStatement):
324 (WebScriptDebugger::returnEvent):
325 (WebScriptDebugger::exception):
326 (WebScriptDebugger::enterFrame):
327 (WebScriptDebugger::leaveFrame):
328 * WebView.cpp: Removed the EnumView functions.
332 2007-11-13 Adam Roben <aroben@apple.com>
334 Fix <rdar://5346832> Infinite recursion when opening Web Inspector on more than one tab
336 The bug was that multiple WebNodeHighlights would subclass the same
337 browser window, leading to infinite recursion within
340 WebNodeHighlight is now a WindowMessageListener, and lets
341 WindowMessageBroadcaster handle subclassing the window.
345 * WebNodeHighlight.cpp:
346 (WebNodeHighlight::WebNodeHighlight): Initialize m_observedWindow
348 (WebNodeHighlight::~WebNodeHighlight): Unregister as a listener for
350 (WebNodeHighlight::highlight): Register as a listener.
351 (WebNodeHighlight::windowReceivedMessage): Do the work that used to be
352 done in SubclassedWndProc.
353 * WebNodeHighlight.h: Made WebNodeHighlight a WindowMessageListener,
354 and renamed m_subclassedWindow to m_observedWindow.
356 2007-11-13 Adam Roben <aroben@apple.com>
358 Build fix for systems that don't have Cygwin in their PATH
360 * WebKit.vcproj/Interfaces.vcproj: Put Cygwin in the PATH before
363 2007-11-13 Steve Falkenburg <sfalken@apple.com>
365 Add IDOMElementPrivate::font() to get an element's font
366 as a WebFontDescription.
370 * DOMCoreClasses.cpp:
373 * Interfaces/DOMPrivate.idl:
375 2007-11-12 Adam Roben <aroben@apple.com>
379 * WebKit.vcproj/WebKit.def: Export fastZeroedMalloc.
380 * WebKit.vcproj/WebKit_debug.def: Ditto.
382 2007-11-09 Jon Honeycutt <jhoneycutt@apple.com>
386 <rdar://5585900>: Safari crashes when selected in context menu to open
387 audio format files (au, aif) with QT 7.3
389 The crash occurred on a machine where QT 7.3 was failing to initialize.
390 The fix is to avoid sending streams to full-page plugins that've failed
394 (WebFrame::finishedLoading): Check plugin status before calling manual
396 (WebFrame::setMainDocumentError): Same
397 (WebFrame::committedLoad): Same
399 2007-11-09 Sam Weinig <sam@webkit.org>
401 Rubber stamped by Oliver.
403 Make WebCore a dependency of Interfaces.
405 * WebKit.vcproj/WebKit.sln:
407 2007-11-04 Sam Weinig <sam@webkit.org>
409 Reviewed by Adam Roben.
411 <rdar://problem/5435940>
412 The COM bindings for the DOM should be autogenerated like the other DOM bindings
414 Initial commit of the autogeneration of the COM DOM Bindings. No behavior change
415 is being introduced in this patch and to insure that no conflicts arise, a temporary
416 prefix of "GEN_" has been used for all the new classes.
418 The build architecture for these bindings differs slightly from the other autogenerated
419 bindings. Instead of building in WebCore and migrating the resuting code to WebKit (as
420 is done for the Objective-C bindigs currently), the IDLs and generation scripts are
421 migrated to WebKit and built there. This is done with a series of scripts and Makefiles.
423 This commit includes:
424 - Hand rolled root class/Interface GEN_DOMObject used to facilated object creation
426 - Generating all of the Core DOM and most of HTML and CSS
427 - Generating Event, EventTarget, and EventListener
429 * DOMCreateInstance.cpp: Added.
434 (GEN_DOMNode::createInstance):
435 (GEN_DOMImplementation::createInstance):
436 (GEN_DOMCSSRule::createInstance):
437 (GEN_DOMStyleSheet::createInstance):
438 (GEN_DOMCSSValue::createInstance):
439 * DOMCreateInstance.h: Added.
440 Temporary location for createInstance/object caching methods. This will be broken up
441 into seperate files in the near future.
443 * GEN_DOMObject.cpp: Added.
444 (GEN_DOMObject::GEN_DOMObject):
445 (GEN_DOMObject::~GEN_DOMObject):
446 (GEN_DOMObject::QueryInterface):
447 (GEN_DOMObject::AddRef):
448 (GEN_DOMObject::Release):
449 * GEN_DOMObject.h: Added.
450 Hand rolled base class.
452 * Interfaces/IGEN_DOMObject.idl: Added.
453 Hand rolled base interface.
455 * WebKit.vcproj/DerivedSources.make: Added.
456 * WebKit.vcproj/FixMIDLHeaders.pl: Added.
457 This script is required because MIDL is producing un-buildable code due to
458 circular dependencies.
460 * WebKit.vcproj/Interfaces.vcproj:
461 * WebKit.vcproj/WebKit.vcproj:
462 * WebKit.vcproj/WebKitGUID.vcproj:
463 * WebKit.vcproj/build-generated-files.sh: Added.
465 2007-11-08 Kevin McCullough <kmccullough@apple.com>
469 - This patch does two main things.
470 1) It adds pragma warning guards around WebCore includes in WebKit files
471 that were previously overlooked.
472 2) It implements almost the entireity of WebScriptDebugger. Only one
473 function remains and that implementation is dependent on finishing the
474 implementation of WebScriptScope.
476 * WebScriptCallFrame.h:
477 * WebScriptDebugServer.h:
478 * WebScriptDebugger.cpp:
479 (WebScriptDebugger::WebScriptDebugger):
480 (WebScriptDebugger::sourceParsed):
481 (WebScriptDebugger::callEvent):
482 (WebScriptDebugger::atStatement):
483 (WebScriptDebugger::returnEvent):
484 (WebScriptDebugger::exception):
485 (WebScriptDebugger::enterFrame):
486 (WebScriptDebugger::leaveFrame):
487 * WebScriptDebugger.h:
489 2007-11-08 Steve Falkenburg <sfalken@apple.com>
491 <rdar://problem/5491463> Wrong dates shown in History menu.
493 Fix off-by-one error in Windows epoch.
495 For the Windows DATE type, 1/1/1900 should be 2.0, not 1.0.
496 DATE is the number of days since 12/30/1899.
500 * MarshallingHelpers.cpp:
501 (MarshallingHelpers::windowsEpochAbsoluteTime):
503 2007-11-08 Kevin McCullough <kmccullough@apple.com>
507 - With this change Drosera can now get the source of a website and the
508 listings of the sources it gets. This also lays the foundation for
509 letting Drosera show the scope chain of the JavaScript stack.
511 * Interfaces/IWebFrame.idl: Changed the signature of the local function,
512 globalContext(), because COM was unable to marshal this object with the
514 * Interfaces/IWebScriptDebugServer.idl: Of course adding and removing
515 a listener cannot be done in a const function.
516 * WebChromeClient.h: Added accessor to the WebView for the new added
517 kit() function in WebFrame.
518 (WebChromeClient::webView):
519 * WebFrame.cpp: Added a script debugger object and the necessary
520 functions to attach and communicate with it. Also needed to change the
521 local function, globalContext(), because of a COM issue.
523 (WebFrame::WebFrame):
524 (WebFrame::globalContext):
525 (WebFrame::loadData):
526 (WebFrame::attachScriptDebugger):
527 (WebFrame::detachScriptDebugger):
528 (WebFrame::dispatchDidLoadMainResource):
529 (WebFrame::windowObjectCleared):
531 * WebHTMLRepresentation.cpp: Implemented documentSource so Drosera has
532 some source code to display.
533 (WebHTMLRepresentation::WebHTMLRepresentation):
534 (WebHTMLRepresentation::documentSource):
535 * WebKit.vcproj/WebKit.vcproj: Added the new WebScriptDebugger class.
536 * WebScriptCallFrame.cpp: Implemented much of this class' functionality.
537 (EnumScopes::EnumScopes): Made an EnumScopes class to create an
538 IEnumVARIANT to wrap a ScopeChain for Drosera.
539 (EnumScopes::QueryInterface):
540 (EnumScopes::AddRef):
541 (EnumScopes::Release):
546 (WebScriptCallFrame::caller):
547 (WebScriptCallFrame::scopeChain):
548 (WebScriptCallFrame::functionName):
549 (WebScriptCallFrame::stringByEvaluatingJavaScriptFromString):
550 * WebScriptCallFrame.h: Added member data needed for the above functions
551 * WebScriptDebugServer.cpp: Began implementing.
552 (WebScriptDebugServer::listenerCount):
553 (EnumViews::QueryInterface):
555 (EnumViews::Release):
560 (WebScriptDebugServer::WebScriptDebugServer):
561 (WebScriptDebugServer::createInstance):
562 (WebScriptDebugServer::sharedWebScriptDebugServer):
563 (WebScriptDebugServer::AddRef):
564 (WebScriptDebugServer::Release):
565 (WebScriptDebugServer::addListener):
566 (WebScriptDebugServer::removeListener):
567 (WebScriptDebugServer::step):
568 (WebScriptDebugServer::pause):
569 (WebScriptDebugServer::resume):
570 (WebScriptDebugServer::isPaused):
571 (WebScriptDebugServer::suspendProcessIfPaused):
572 (WebScriptDebugServer::didLoadMainResourceForDataSource):
573 (WebScriptDebugServer::didParseSource):
574 (WebScriptDebugServer::failedToParseSource):
575 (WebScriptDebugServer::didEnterCallFrame):
576 (WebScriptDebugServer::willExecuteStatement):
577 (WebScriptDebugServer::willLeaveCallFrame):
578 (WebScriptDebugServer::exceptionWasRaised):
579 * WebScriptDebugServer.h: Began implementing.
580 * WebScriptDebugger.cpp: Added.
581 (WebScriptDebugger::WebScriptDebugger):
582 (WebScriptDebugger::sourceParsed):
583 * WebScriptDebugger.h: Added.
584 * WebScriptScope.cpp: Make this class use createInstance which is more
585 in line with our guidelines.
586 (WebScriptScope::WebScriptScope):
587 (WebScriptScope::createInstance):
591 2007-11-07 Darin Adler <darin@apple.com>
595 * Interfaces/IWebUIDelegate.idl: Added the functions needed below.
596 * WebChromeClient.cpp:
597 (WebChromeClient::setMenubarVisible): Eliminated the notImplemented()
598 here by calling through the UI delegate.
599 (WebChromeClient::menubarVisible): Ditto.
600 (WebChromeClient::runDatabaseSizeLimitPrompt): Ditto.
602 2007-11-07 Steve Falkenburg <sfalken@apple.com>
604 Added IWebDocumentText available via QI from WebFrame.
609 (WebFrame::QueryInterface): Added IID_IWebDocumentText.
610 (WebFrame::supportsTextEncoding): Stubbed out.
611 (WebFrame::selectedString): Implemented.
612 (WebFrame::selectAll): Stubbed out.
613 (WebFrame::deselectAll): Stubbed out.
616 2007-11-07 Adam Roben <aroben@apple.com>
618 Fix <rdar://5569268> Crash when opening any FTP site in second tab/window
623 (WebView::initWithFrame): Set the ftpDirectoryTemplatePath for every
624 Page, not just the first one.
626 2007-11-06 Adam Roben <aroben@apple.com>
628 Change WebLocalizableStrings to take UTF-8 C strings
630 This matches the way things work on the Mac, and will allow source
631 files containing localizable strings to be shared between Mac and
632 Windows. The old functions have not been removed for compatibility
633 reasons, but are now just wrappers around the new UTF-8 functions.
637 * WebKit.vcproj/WebKit.def: Added new functions.
638 * WebKit.vcproj/WebKit_debug.def: Ditto.
639 * WebLocalizableStrings.cpp:
640 (copyLocalizedStringFromBundle): Changed to take a WebCore::String
641 representing the key.
642 (localizedString): Refactored from WebLocalizedString. Takes a
643 WebCore::String representing the key.
644 (localizedLPCTSTR): Ditto for WebLocalizedLPCTSTR.
645 (WebLocalizedStringUTF8): Added. Takes a UTF-8 C string as the key.
646 (WebLocalizedLPCTSTRUTF8): Ditto.
647 (WebLocalizedString): Changed to call localizedString.
648 (WebLocalizedLPCTSTR): Changed to call localizedLPCTSTR.
649 * WebLocalizableStrings.h: Changed macros to use the new UTF-8
652 2007-11-06 Darin Adler <darin@apple.com>
654 Reviewed by Adam and Steve.
656 - added hooks needed to implement showModalDialog on Windows
658 * Interfaces/IWebUIDelegate.idl: Added canRunModal, createModalDialog,
659 and runModal functions to the end of IWebUIDelegate3.
661 * WebChromeClient.h: Added uiDelegate and uiDelegate2 helper functions,
662 so it's easier to write client functions.
663 * WebChromeClient.cpp:
664 (WebChromeClient::createWindow): Implemented dialog case. Calls IWebUIDelegate3.
665 (WebChromeClient::canRunModal): Implemented. Calls IWebUIDelegate3.
666 (WebChromeClient::runModal): Ditto.
667 (WebChromeClient::uiDelegate): Added.
668 (WebChromeClient::uiDelegate2): Added.
669 (WebChromeClient::uiDelegate3): Added.
671 2007-11-06 Alexey Proskuryakov <ap@webkit.org>
673 Rubber-stamped by Adam Roben.
678 (WebFrame::string): plainText() returns a String now.
680 2007-11-05 Ada Chan <adachan@apple.com>
682 <rdar://problem/5579772> Regression: AltGr does not work
683 Testing whether alt-key is down is not the right test for system key event.
684 Added a m_isSystemKey flag in PlatformKeyboardEvent to keep track of whether
685 this is a system key event, check that flag instead in handleEditingKeyboardEvent().
691 (WebView::handleEditingKeyboardEvent):
696 2007-11-05 Ada Chan <adachan@apple.com>
704 2007-11-05 Tristan O'Tierney <tristan@apple.com>
706 Reviewed by Darin Adler.
708 Part of the WebKit/WebCore API changes for
709 <rdar://problem/5368188>
711 * WebChromeClient.cpp:
712 (WebChromeClient::createWindow):
713 Removed usage of createModalDialog and revised to use new createWindow
716 2007-11-04 Adam Roben <aroben@apple.com>
718 Add IWebCache::disabled
720 This matches the Mac WebCache class.
724 * Interfaces/IWebCache.idl:
726 (WebCache::disabled):
729 2007-11-04 Adam Roben <aroben@apple.com>
731 Add IWebInspector and a way to get one from a WebView
733 This API matches the Mac one added in r27266.
737 * Interfaces/IWebInspector.idl: Added.
738 * Interfaces/IWebViewPrivate.idl: Added a new inspector method to
740 * WebInspector.cpp: Added.
741 (WebInspector::createInstance):
742 (WebInspector::WebInspector):
743 (WebInspector::~WebInspector):
744 (WebInspector::webViewClosed):
745 (WebInspector::QueryInterface):
746 (WebInspector::AddRef):
747 (WebInspector::Release):
748 (WebInspector::show):
749 (WebInspector::showConsole):
750 (WebInspector::showTimeline):
751 (WebInspector::close):
752 (WebInspector::attach):
753 (WebInspector::detach):
754 * WebInspector.h: Added.
755 * WebKit.vcproj/Interfaces.vcproj: Added IWebInspector.idl.
756 * WebKit.vcproj/WebKit.vcproj: Added WebInspector.{cpp,h}.
757 * WebKit.vcproj/WebKitGUID.vcproj: Added IWebInspector_i.c.
759 (WebView::close): Notify the WebInspector that we're closing.
760 (WebView::inspector): Added.
763 2007-11-04 Adam Roben <aroben@apple.com>
765 Cache strings that come directly from WebLocalizedString
769 * WebLocalizableStrings.cpp:
770 (copyLocalizedStringFromBundle): This used to be WebLocalizedString,
771 but is now just a static helper function.
772 (findCachedStringInMap): Added static helper.
773 (findCachedString): Refactored and cleaned up code from
775 (cacheString): Ditto.
776 (WebLocalizedString): Rewrote to use the new helper functions.
777 (WebLocalizedLPCTSTR): Changed to use the new helper functions.
779 2007-11-03 Adam Roben <aroben@apple.com>
781 Only override the default user agent string if we're actually given a custom one
786 (WebView::setCustomUserAgent):
788 2007-11-01 Oliver Hunt <oliver@apple.com>
792 Allow Shift, Ctrl, Alt, Meta and Capslock keys to be sent into WebCore.
798 2007-11-01 Kevin McCullough <kmccullough@apple.com>
800 - Fixed a build failure
802 * WebEditorClient.cpp:
803 (WebEditorClient::textWillBeDeletedInTextField):
805 2007-11-01 Adam Roben <aroben@apple.com>
807 Fix the parameter type of WebLocalizedString to match the UI_STRING macro
811 * WebLocalizableStrings.cpp:
812 (WebLocalizedString):
813 (WebLocalizedLPCTSTR):
814 * WebLocalizableStrings.h:
816 2007-11-01 Alexey Proskuryakov <ap@webkit.org>
818 Rubber-stamped by Adam Roben.
820 Rolled out r27326 - debug CRT seems to cause no problems after all.
822 * WebKit.vcproj/WebKit.vcproj:
824 2007-10-31 Adam Roben <aroben@apple.com>
826 Switch the Debug configuration to using the non-debug CRT
828 The debug CRT conflicts with what Safari uses, which causes loading
833 * WebKit.vcproj/WebKit.vcproj:
835 2007-10-30 Kevin McCullough <kmccullough@apple.com>
837 Reviewed by Adam and Geoff.
839 - Added the globalContext method so Drosera can ask a WebFrame for its
842 * Interfaces/IWebFrame.idl:
846 2007-10-30 Adele Peterson <adele@apple.com>
850 WebKitWin part of fix for http://bugs.webkit.org/show_bug.cgi?id=10577
851 <rdar://problem/5110427> REGRESSION: Caps lock icon should show in password fields
853 * WebView.cpp: (WebView::keyDown): Call capsLockStateMayHaveChanged so WebCore knows it may have to update a password field.
855 2007-10-29 Kevin McCullough <kmccullough@apple.com>
857 Reviewed by Adam and Maciej.
859 - Added the IWebScriptScope interface which is used by Drosera to get
860 information and run contextually significant code with respect to the
861 current JS stack frame.
863 * Interfaces/IWebScriptCallFrame.idl: Line endings changed, not sure why
864 but the real changes were to change the return type of scopeChain() and
865 the return type and name of evaluateWebScript() to
866 stringByEvaluatingJavaScriptFromString().
867 * Interfaces/IWebScriptScope.idl: Added.
868 * WebKit.vcproj/Interfaces.vcproj: Added the new interface.
869 * WebKit.vcproj/WebKit.vcproj: Added the files for the new class.
870 * WebKit.vcproj/WebKitGUID.vcproj: Added the new interfaces.
871 * WebScriptCallFrame.cpp: Changed the return type to E_NOTIMPL and
872 asserted so it would be obvious if I accidentally try to use one of
873 these functions before it's implemented.
874 (WebScriptCallFrame::caller):
875 (WebScriptCallFrame::scopeChain):
876 (WebScriptCallFrame::functionName):
877 (WebScriptCallFrame::stringByEvaluatingJavaScriptFromString):
878 * WebScriptCallFrame.h: Changed the return types mentioned above.
879 * WebScriptDebugServer.cpp: Also changed the return type to E_NOTIMPL.
880 (WebScriptDebugServer::addListener):
881 (WebScriptDebugServer::removeListener):
882 (WebScriptDebugServer::step):
883 (WebScriptDebugServer::pause):
884 (WebScriptDebugServer::resume):
885 (WebScriptDebugServer::isPaused):
886 * WebScriptScope.cpp: Added.
887 (WebScriptScope::WebScriptScope):
888 (WebScriptScope::~WebScriptScope):
889 (WebScriptScope::QueryInterface):
890 (WebScriptScope::AddRef):
891 (WebScriptScope::Release):
892 (WebScriptScope::getVariableNames):
893 (WebScriptScope::getValueForVariable):
894 * WebScriptScope.h: Added.
896 2007-10-28 Darin Adler <darin@apple.com>
898 - try to fix Windows build
900 * WebKit.vcproj/WebKit.vcproj: Suppress warning 4800 (conversion to bool),
901 since we don't want to add !! everywhere, and because HashTable.h has a
902 conversion to bool of this type now.
904 2007-10-27 Kevin McCullough <kmccullough@apple.com>
908 - Stubbed out IWebScriptCallFrame for Drosera.
910 * Interfaces/IWebScriptCallFrame.idl: Added function declarations.
911 * WebKit.vcproj/WebKit.vcproj: Added .h/.cpp files to the project.
912 * WebScriptCallFrame.cpp: Added.
913 (WebScriptCallFrame::WebScriptCallFrame):
914 (WebScriptCallFrame::~WebScriptCallFrame):
915 (WebScriptCallFrame::createInstance):
916 (WebScriptCallFrame::QueryInterface):
917 (WebScriptCallFrame::AddRef):
918 (WebScriptCallFrame::Release):
919 (WebScriptCallFrame::caller):
920 (WebScriptCallFrame::scopeChain):
921 (WebScriptCallFrame::functionName):
922 (WebScriptCallFrame::evaluateWebScript):
923 * WebScriptCallFrame.h: Added.
925 2007-10-26 Kevin McCullough <kmccullough@apple.com>
927 Reviewed by Sam and Steve.
929 - Added convenience methods for converting between BSTR and JSSTringRefs
930 - Added WebKit_debug.def to the project.
932 * WebKit.vcproj/WebKit.def:
933 * WebKit.vcproj/WebKit.vcproj:
934 * WebKit.vcproj/WebKit_debug.def:
936 2007-10-25 Sam Weinig <sam@webkit.org>
938 Reviewed by Adam Roben.
940 Make debug builds run again.
943 (WebView::notifyPreferencesChanged):
945 2007-10-25 Sam Weinig <sam@webkit.org>
947 Reviewed by Adam Roben.
949 Remove JSStringRefCFHack.
951 * WebKit.vcproj/WebKit.vcproj:
953 2007-10-25 Sam Weinig <sam@webkit.org>
955 Reviewed by Steve Falkenburg.
957 Fix for <rdar://problem/5463608>
958 Port WebKit cache model code (Windows needs a big disk cache, smarter memory cache)
960 * Interfaces/IWebPreferences.idl:
961 Deprecate pageCacheSize and objectCacheSize and add cacheModel/setCacheModel.
963 * Interfaces/IWebPreferencesPrivate.idl:
964 Add automaticallyDetectsCacheModel/setAutomaticallyDetectsCacheModel
967 (WebFrame::didPerformFirstNavigation):
968 Implement based on the mac version.
970 * WebKit.vcproj/WebKit.vcproj:
971 * WebKitSystemBits.cpp: Added.
972 (WebMemorySize): Moved and renamed from WebPreferences.cpp
973 (WebVolumeFreeSize): Added.
974 * WebKitSystemBits.h: Added.
975 * WebPreferenceKeysPrivate.h: Added WebKitCacheModelPreferenceKey.
977 * WebPreferences.cpp:
978 (WebPreferences::sharedStandardPreferences):
979 (WebPreferences::WebPreferences):
980 (WebPreferences::initializeDefaultSettings): Added default for cacheModel.
981 (WebPreferences::webPreferencesChangedNotification):
982 (WebPreferences::webPreferencesRemovedNotification):
983 (WebPreferences::initWithIdentifier): Post a preferences change notification.
984 (WebPreferences::pageCacheSize): Deprecated.
985 (WebPreferences::objectCacheSize): Deprecated.
986 (WebPreferences::cacheModel): Added.
987 (WebPreferences::setCacheModel): Added.
988 (WebPreferences::setAutomaticallyDetectsCacheModel): Added.
989 (WebPreferences::automaticallyDetectsCacheModel): Added.
990 (WebPreferences::willAddToWebView): Added.
991 (WebPreferences::didRemoveFromWebView): Added.
995 (PreferencesChangedOrRemovedObserver::PreferencesChangedOrRemovedObserver):
996 (PreferencesChangedOrRemovedObserver::~PreferencesChangedOrRemovedObserver):
997 (PreferencesChangedOrRemovedObserver::QueryInterface):
998 (PreferencesChangedOrRemovedObserver::AddRef):
999 (PreferencesChangedOrRemovedObserver::Release):
1000 (PreferencesChangedOrRemovedObserver::sharedInstance):
1001 (PreferencesChangedOrRemovedObserver::onNotify):
1002 (PreferencesChangedOrRemovedObserver::notifyPreferencesChanged):
1003 (PreferencesChangedOrRemovedObserver::notifyPreferencesRemoved):
1004 This singleton class updates static properties for all webviews when
1005 preferenceChange or preferenceRemoved notifications are fired for
1008 (WebView::~WebView):
1009 (initializeStaticObservers):
1011 (WebView::addToAllWebViewsSet):
1012 (WebView::removeFromAllWebViewsSet):
1013 (WebView::setCacheModel):
1014 (WebView::cacheModel):
1015 (WebView::didSetCacheModel):
1016 (WebView::maxCacheModelInAnyInstance):
1019 (WebView::developerExtrasEnabled):
1020 (WebView::initWithFrame):
1021 (WebView::setPreferences):
1022 (WebView::preferences):
1023 (WebView::onNotify):
1024 (WebView::notifyPreferencesChanged):
1025 (updateSharedSettingsFromPreferencesIfNeeded):
1027 Match the macs behavior by using explicit postings of notifications to
1028 update the preferences.
1030 2007-10-25 Adam Roben <aroben@apple.com>
1032 Update WebKit.sln for the removal of Release dftables
1036 * WebKit.vcproj/WebKit.sln:
1038 2007-10-25 Kevin McCullough <kmccullough@apple.com>
1040 Rubber stamped by Geoff.
1042 - Stubbed out the WebScriptDebugServer methods to give Drosera something
1043 to connect to and now the signature of the interface matches the mac.
1045 * Interfaces/IWebScriptDebugServer.idl:
1046 * WebScriptDebugServer.cpp:
1047 (WebScriptDebugServer::addListener):
1048 (WebScriptDebugServer::removeListener):
1049 (WebScriptDebugServer::step):
1050 (WebScriptDebugServer::pause):
1051 (WebScriptDebugServer::resume):
1052 (WebScriptDebugServer::isPaused):
1053 * WebScriptDebugServer.h:
1055 2007-10-24 Kevin McCullough <kmccullough@apple.com>
1059 - Renamed WebDebugProgram to WebScriptDebugServer to match the naming
1062 * Interfaces/IWebDebugProgram.idl: Removed.
1063 * Interfaces/IWebScriptDebugServer.idl: Copied from win/Interfaces/IWebDebugProgram.idl.
1064 * Interfaces/WebKit.idl:
1065 * WebDebugProgram.cpp: Removed.
1066 * WebDebugProgram.h: Removed.
1067 * WebKit.vcproj/Interfaces.vcproj:
1068 * WebKit.vcproj/WebKit.vcproj:
1069 * WebKit.vcproj/WebKitGUID.vcproj:
1070 * WebKitClassFactory.cpp:
1071 (WebKitClassFactory::CreateInstance):
1074 * WebScriptDebugServer.cpp: Copied from win/WebDebugProgram.cpp.
1075 (WebScriptDebugServer::WebScriptDebugServer):
1076 (WebScriptDebugServer::~WebScriptDebugServer):
1077 (WebScriptDebugServer::createInstance):
1078 (WebScriptDebugServer::QueryInterface):
1079 (WebScriptDebugServer::AddRef):
1080 (WebScriptDebugServer::Release):
1081 (WebScriptDebugServer::viewAdded):
1082 (WebScriptDebugServer::viewRemoved):
1083 (WebScriptDebugServer::attach):
1084 (WebScriptDebugServer::detach):
1085 (WebScriptDebugServer::statistics):
1086 (WebScriptDebugServer::webViews):
1087 * WebScriptDebugServer.h: Copied from win/WebDebugProgram.h.
1090 (WebView::~WebView):
1092 2007-10-24 Adam Roben <aroben@apple.com>
1094 Fix <rdar://5549919> Initialize the font database before any font code is invoked
1096 We initialize the database in two places:
1097 1. When instantiating WebKitClassFactory, which is guaranteed to
1098 happen before any WebView is instantiated.
1099 2. When making a WebCore::Font in WebKitGraphics.
1101 This ensures that the font database will be populated before any font
1102 code is invoked. We rely on WebCore to only populate the database
1107 * WebKitClassFactory.cpp:
1108 (WebKitClassFactory::WebKitClassFactory): Populate the font database.
1109 * WebKitGraphics.cpp:
1112 2007-10-24 Adam Roben <aroben@apple.com>
1114 Add [I]WebTextRenderer
1116 Right now this class can only be used to add private fonts for use by
1117 the running process, but will eventually be the home of the
1118 WebKitGraphics functions.
1122 * ForEachCoClass.h: Added WebTextRenderer.
1123 * Interfaces/WebKit.idl: Ditto.
1124 * WebKit.vcproj/Interfaces.vcproj: Ditto.
1125 * WebKit.vcproj/WebKit.vcproj: Ditto.
1126 * WebKit.vcproj/WebKitGUID.vcproj: Ditto.
1127 * WebKitClassFactory.cpp: Ditto.
1128 * WebTextRenderer.cpp: Added.
1129 (WebTextRenderer::createInstance):
1130 (WebTextRenderer::WebTextRenderer):
1131 (WebTextRenderer::~WebTextRenderer):
1132 (WebTextRenderer::QueryInterface):
1133 (WebTextRenderer::AddRef):
1134 (WebTextRenderer::Release):
1135 (WebTextRenderer::registerPrivateFont):
1136 * WebTextRenderer.h: Added.
1138 2007-10-24 Adam Roben <aroben@apple.com>
1140 Use FOR_EACH_COCLASS in WebKitClassFactory
1145 (WebError::createInstance): Added an overload that takes no arguments
1146 to make the macro used in WebKitClassFactory work.
1148 * WebKitClassFactory.cpp:
1149 (WebKitClassFactory::CreateInstance): Use FOR_EACH_COCLASS.
1151 2007-10-24 Adam Roben <aroben@apple.com>
1153 Put FOR_EACH_COCLASS macro into its own file and export it
1155 The macro used to be called FOR_EACH_CLASS and lived in WebKitDLL.cpp.
1156 This way we will be able to use the macro in more places that care
1157 about all WebKit's COM classes.
1161 * ForEachCoClass.h: Added.
1162 * WebKit.vcproj/WebKit.vcproj: Copy ForEachCoClass.h to
1163 WebKitOutputDir, and added it to the project.
1164 * WebKitDLL.cpp: Updated for macro rename, and changed to #undef the
1165 macros we pass to FOR_EACH_COCLASS after we're done with them.
1167 2007-10-24 Ada Chan <adachan@apple.com>
1169 <rdar://problem/5552221> REGRESSION(310A24-ToT): Shortcut key disable. (15604)
1174 (WebView::handleEditingKeyboardEvent): don't handle system key events as text input
1175 (WebView::keyDown): only remove WM_SYSCHAR message from the queue if we handle it.
1176 For WM_SYSCHAR message that we don't handle, let it stay in the queue and return
1177 false to let windows handle it.
1179 2007-10-24 Brady Eidson <beidson@apple.com>
1183 Windows portion of <rdar://5554130>
1185 Slowly introduce Windows WebKit portion of the Database API that sets the
1186 on-disk location for databases
1188 * WebDatabaseManager.cpp: Added.
1189 (WebKitSetWebDatabasesPathIfNecessary):
1190 * WebDatabaseManager.h: Added.
1192 * WebKit.vcproj/WebKit.vcproj:
1195 (WebView::initWithFrame): Call WebKitSetWebDatabasesPathIfNecessary()
1197 2007-10-24 Kevin McCullough <kmccullough@apple.com>
1199 Reviewed by Sam, Steve and Darin.
1201 - Added stubs for what will be neede to let Drosera attach to the
1202 WebKit process and debug it.
1204 * Interfaces/IWebScriptCallFrame.idl: Added.
1205 * Interfaces/IWebScriptDebugListener.idl: Added.
1206 * Interfaces/WebKit.idl:
1207 * WebKit.vcproj/Interfaces.vcproj:
1208 * WebKit.vcproj/WebKitGUID.vcproj:
1210 2007-10-23 Adam Roben <aroben@apple.com>
1212 Move safe file creation code to WebCore
1216 * WebPreferences.cpp:
1217 (preferencesPath): Made into a static helper function.
1218 (WebPreferences::save): Now calls WebCore's safeCreateFile function.
1219 (WebPreferences::load): Uses String/CString to handle the UTF-8
1221 * WebPreferences.h: Removed preferencesPath and
1222 safeCreateFileWithData.
1224 2007-10-23 Adam Roben <aroben@apple.com>
1226 Reduce code duplication by using WebCore's FileSystem functions
1230 * WebIconDatabase.cpp: Removed a now-unused function and a fixed
1232 (WebIconDatabase::init): Changed to use FileSystem functions.
1233 * WebPreferences.cpp:
1234 (WebPreferences::preferencesPath): Ditto.
1236 2007-10-23 Sam Weinig <sam@webkit.org>
1238 Make the WebNotificationCenter work with null (wildcard) and specific
1239 observed objects, matching NSNotificationCenter.
1241 - Removes the ObserverKey, ObserverHash, and ObserverKeyTraits as we now
1242 hash against the notification name only and check the object on notification
1244 - Use OwnPtr for the WebNotificationCenterPrivate member variable.
1246 Reviewed by Adam Roben.
1248 * WebNotificationCenter.cpp:
1249 (WebNotificationCenter::WebNotificationCenter):
1250 (WebNotificationCenter::~WebNotificationCenter):
1251 (WebNotificationCenter::postNotificationInternal):
1252 (WebNotificationCenter::addObserver):
1253 (WebNotificationCenter::postNotification):
1254 (WebNotificationCenter::postNotificationName):
1255 (WebNotificationCenter::removeObserver):
1256 * WebNotificationCenter.h:
1258 2007-10-23 Ada Chan <adachan@apple.com>
1260 <rdar://problem/5244261> SafariWin ignores cookie policy setting "never" in the preferences
1261 Custom WebPreferences (not the shared WebPreferences) could override the cookie accept
1262 policy setting on the default cookie storage. To fix that, I added a new method in
1263 WebView called updateGlobalSettingsFromPreferences() to handle updating the global pref
1264 options such as cookie accept policy, and it's only called to update changes from
1265 the shared WebPreferences.
1267 Use CLSID_WebPreferences and remove IID_WebPreferences.
1269 Reviewed by Darin and Adam.
1271 * WebPreferences.cpp:
1272 (WebPreferences::QueryInterface):
1275 (WebView::updateWebCoreSettingsFromPreferences):
1276 (WebView::updateGlobalSettingsFromPreferences):
1277 (WebView::updateSettingsFromPreferences):
1278 (WebView::developerExtrasEnabled):
1279 (WebView::initWithFrame):
1280 (WebView::onNotify):
1283 2007-10-18 Brady Eidson <beidson@apple.com>
1287 Keep windows building with new Chrome additions
1289 * WebChromeClient.cpp:
1290 * WebChromeClient.h:
1292 2007-10-18 Adam Roben <aroben@apple.com>
1294 Fix <rdar://5547784> ProgIDMacros.h should explicitly use wide strings
1298 * ProgIDMacros.h: Always use wide strings instead of relying on the
1301 2007-10-17 Adam Roben <aroben@apple.com>
1303 Fix for clean builds needed after r26683
1307 * WebView.cpp: Remove #include of non-existant file.
1309 2007-10-17 Anders Carlsson <andersca@apple.com>
1311 Update for locking primitive changes.
1313 * WebIconDatabase.cpp:
1314 (WebIconDatabase::scheduleNotificationDelivery):
1316 2007-10-16 Adam Roben <aroben@apple.com>
1318 Remove WebKitInitializer
1322 * WebKit.vcproj/WebKit.sln:
1324 2007-10-16 Adam Roben <aroben@apple.com>
1330 * WebKit.vcproj/WebKit.sln:
1332 2007-10-16 Adam Roben <aroben@apple.com>
1334 Rename WebKit_debug.dll to WebKit.dll for the Debug configuration
1336 This is needed so that we can stop having Safari delay-load WebKit,
1337 which in turn is needed so that Maciej can land a JavaScript speedup
1338 which breaks delay-loading.
1340 Reviewed by Kevin McCullough.
1342 * WebKit.vcproj/WebKit.vcproj: Use WebKitDLLConfigSuffix for the name
1343 of our DLL and module definition file.
1344 * WebKit.vcproj/debug.vsprops: Added WebKitDLLConfigSuffix.
1345 * WebKit.vcproj/debug_internal.vsprops: Ditto.
1346 * WebKit.vcproj/release.vsprops: Ditto.
1348 2007-10-15 Jon Honeycutt <jhoneycutt@apple.com>
1352 <rdar://5530789>: REGRESSION(303-310A19): Crash opening .wma files with
1353 MediaPlayer for the first time
1355 Failure to setup the stream in PluginView::didReceiveResponse will lead,
1356 in a full-page plugin, to the main document load being cancelled. This
1357 is the case with at least two versions of Windows Media Player, which
1358 cancels the stream and brings up its own "Welcome to Windows Media
1361 As part of the main document load cancellation, m_pluginView is set to
1362 null, and the crash came from dereferencing this pointer. This patch
1366 (WebFrame::finishedLoading): Fix some typos
1367 (WebFrame::committedLoad): Added a null check
1369 2007-10-15 Alice Liu <alice.liu@apple.com>
1371 Reviewed by Sam Weinig.
1373 Fixed <rdar://5382546> layoutTestController.setCustomPolicyDelegate is unimplemented causing tests to fail
1375 * DefaultPolicyDelegate.cpp: Added.
1376 Implementation is a direct port of WebKit/DefaultDelegates/WebDefaultPolicyDelegate.m
1377 (DefaultPolicyDelegate::DefaultPolicyDelegate):
1378 (DefaultPolicyDelegate::~DefaultPolicyDelegate):
1379 (DefaultPolicyDelegate::sharedInstance):
1380 (DefaultPolicyDelegate::createInstance):
1381 (DefaultPolicyDelegate::QueryInterface):
1382 (DefaultPolicyDelegate::AddRef):
1383 (DefaultPolicyDelegate::Release):
1384 (DefaultPolicyDelegate::decidePolicyForNavigationAction):
1385 (DefaultPolicyDelegate::decidePolicyForNewWindowAction):
1386 (DefaultPolicyDelegate::decidePolicyForMIMEType):
1387 (DefaultPolicyDelegate::unableToImplementPolicyWithError):
1388 * DefaultPolicyDelegate.h: Added.
1390 (WebFrame::dispatchDecidePolicyForNavigationAction):
1391 Implemented default action
1392 * WebKit.vcproj/WebKit.vcproj:
1393 Adding files to project
1395 2007-10-12 Steve Falkenburg <sfalken@apple.com>
1397 Move pthreads up in the linker order and don't mark it for delay load.
1398 Fixes crash during regsvr32 of WebKit (currently repro if you do a spade ti).
1400 Reviewed by Darin, Ada.
1402 * WebKit.vcproj/WebKit.vcproj:
1404 2007-10-11 Steve Falkenburg <sfalken@apple.com>
1406 Delay load additional libraries to improve startup time.
1408 Reviewed by Darin, Ada.
1410 * WebKit.vcproj/WebKit.vcproj:
1412 2007-10-11 Ada Chan <adachan@apple.com>
1414 <rdar://problem/5534421>
1415 Switched to using wkGetDefaultHTTPCookieStorage() to avoid recreating CFHTTPCookieStorageRef.
1416 Removed usage of ResourceHandle::cookieStorage().
1421 (WebView::updateWebCoreSettingsFromPreferences):
1422 (WebView::initWithFrame):
1424 2007-10-10 Alice Liu <alice.liu@apple.com>
1426 Reviewed by Geoff Garen.
1428 Fixed <rdar://5464402> Crash when running fast/frames/onload-remove-iframe-crash.html in DRT
1431 (WebFrame::createFrame):
1432 The crash was caused by the early destruction of the subframe. To resolve this issue,
1433 the manual deref of the child frame that occurs in between being appended to the
1434 frametree and being used in loadURLIntoChild wasn't exactly incorrect, but just needed
1435 to be moved until after loadURLIntoChild. This hasn't been a problem for other uses of
1436 child frames because this test case involves removing a child frame immediately after
1437 loading it, all in an onload handler. Even better than just moving the deref would be
1438 to change the signature of createFrame to use a RefPtr<Frame> so that a manual deref isn't
1439 necessary. This is what was done in this patch.
1441 createFrame() now returns a RefPtr instead of a raw Frame pointer.
1442 Making this change improves the way we handle frames on Windows WebKit.
1445 2007-10-05 Ada Chan <adachan@apple.com>
1447 <rdar://problem/5436617>
1448 Implement WebIconDatabase::delayDatabaseCleanup() and WebIconDatabase::allowDatabaseCleanup().
1452 * WebIconDatabase.cpp:
1453 (WebIconDatabase::delayDatabaseCleanup):
1454 (WebIconDatabase::allowDatabaseCleanup):
1456 2007-10-04 Adele Peterson <adele@apple.com>
1458 * Interfaces/IWebViewPrivate.idl: Moving setInitialFocus down to the end to avoid breaking the OpenSource build.
1460 2007-10-04 Adele Peterson <adele@apple.com>
1464 WebKit/win part of fix for <rdar://problem/5369017> REGRESSION: Can't tab to webview that doesn't have editable content
1466 * WebView.cpp: Added setInitialFocus so the application can specify that its handing off focus to WebKit
1467 and so that it can specify the focus direction.
1469 * Interfaces/IWebViewPrivate.idl: ditto.
1471 2007-10-03 Ada Chan <adachan@apple.com>
1473 <rdar://problem/5521230> Implement IWebIconDatabase::iconURLForURL in WebKit for windows
1475 Reviewed by Steve and Brady.
1477 * Interfaces/IWebIconDatabase.idl:
1478 * WebIconDatabase.cpp:
1479 (WebIconDatabase::iconURLForURL):
1480 * WebIconDatabase.h:
1482 2007-10-02 Sam Weinig <sam@webkit.org>
1484 Rubber-stamped by Adam Roben.
1486 * Interfaces/IWebPreferences.idl: Remove unnecessary comments.
1488 2007-10-02 Darin Adler <darin@apple.com>
1492 - started using the new OwnPtr everywhere we do DeleteObject
1494 * WebNodeHighlight.cpp:
1495 (WebNodeHighlight::updateWindow):
1498 (WebView::deleteBackingStore):
1499 (WebView::ensureBackingStore):
1500 (WebView::addToDirtyRegion):
1501 (WebView::scrollBackingStore):
1502 (WebView::updateBackingStore):
1504 (WebView::paintIntoBackingStore):
1505 (WebView::paintIntoWindow):
1508 2007-10-02 Adam Roben <aroben@apple.com>
1510 Fix <rdar://5505062> WebKit's version-independent ProgIDs contain version numbers
1512 I also added a few registry keys for our version-independent ProgIDs
1513 that we were missing.
1517 * ProgIDMacros.h: Added new macros to get version-independent ProgIDs.
1518 * WebKitDLL.cpp: Use the version-independent ProgIDs in the right
1519 places, and added some new keys for version-independent ProgIDs.
1521 2007-10-02 Anders Carlsson <andersca@apple.com>
1525 Fix a bug discovered by app verifier where we would treat an LPCTSTR as a BSTR causing a crash.
1527 Also rename some protection space constants and change their values to match the mac version.
1529 * Interfaces/IWebURLAuthenticationChallenge.idl:
1530 * WebURLProtectionSpace.cpp:
1531 (WebURLProtectionSpace::initWithHost):
1532 (WebURLProtectionSpace::initWithProxyHost):
1533 (WebURLProtectionSpace::protocol):
1534 (WebURLProtectionSpace::proxyType):
1536 2007-09-29 Adam Roben <aroben@apple.com>
1538 Clean-up in preparation for <rdar://5505062> WebKit's version-independent ProgIDs contain version numbers
1542 * ProgIDMacros.h: Stringify the passed in class name.
1543 * WebKitDLL.cpp: Added a FOR_EACH_CLASS macro to ensure that our class
1544 lists stay in the right order, and updated uses of the *_PROGID macros
1545 for to take the stringification into account.
1547 2007-09-27 Kevin McCullough <kmccullough@apple.com>
1551 - <rdar://5261371> Nothing downloaded when exporting bookmarks from iGoogle web history
1552 - 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.
1554 * HTTPHeaderPropertyBag.cpp: Added.
1555 (HTTPHeaderPropertyBag::HTTPHeaderPropertyBag):
1556 (HTTPHeaderPropertyBag::createInstance):
1557 (HTTPHeaderPropertyBag::setResponse):
1558 (HTTPHeaderPropertyBag::response):
1559 (HTTPHeaderPropertyBag::QueryInterface):
1560 (HTTPHeaderPropertyBag::AddRef):
1561 (HTTPHeaderPropertyBag::Release):
1562 (ConvertFromLPCOLESTR):
1564 (ConvertFromVariant):
1565 (HTTPHeaderPropertyBag::Read):
1566 (HTTPHeaderPropertyBag::Write):
1567 * HTTPHeaderPropertyBag.h: Added.
1568 * Interfaces/IWebHTTPURLResponse.idl:
1569 * WebKit.vcproj/WebKit.vcproj:
1570 * WebURLResponse.cpp:
1571 (WebURLResponse::allHeaderFields):
1572 (WebURLResponse::isAttachment):
1575 2007-09-27 Ada Chan <adachan@apple.com>
1577 <rdar://problem/5507481> Added a delegate method to inform the client
1578 app that WebView has painted.
1582 * Interfaces/IWebUIDelegatePrivate.idl:
1584 (WebView::updateBackingStore):
1586 2007-09-25 Adam Roben <aroben@apple.com>
1588 Add WebKitInitializer to WebKit.sln
1592 * WebKit.vcproj/WebKit.sln: DumpRenderTree and testkjs now depend on
1595 2007-09-25 Darin Adler <darin@apple.com>
1599 - fix <rdar://problem/5095701> Download requring HTTP auth fails
1600 (progress bar forever)
1602 The functions in WebDownload relating to authentication challenges needed
1606 (WebDownload::cancelAuthenticationChallenge): Implement.
1607 (WebDownload::continueWithoutCredentialForAuthenticationChallenge): Ditto.
1608 (WebDownload::useCredential): Ditto.
1609 (WebDownload::willSendRequest): Fix storage leak by adopting request
1610 and response after creating them. Also retain the result before returning
1611 it, since that's the API contract with CFNetwork.
1612 (WebDownload::didReceiveAuthenticationChallenge): Implement.
1613 (WebDownload::didReceiveResponse): Fix storage leak by adopting response.
1614 (WebDownload::willResumeWithResponse): Ditto.
1615 (WebDownload::didFail): Ditto.
1617 * WebURLAuthenticationChallenge.h: Get rid of the IID #define,
1618 instead using __declspec(uuid). Added a sender parameter to the
1619 create function and an m_sender data member.
1620 * WebURLAuthenticationChallenge.cpp:
1621 (WebURLAuthenticationChallenge::WebURLAuthenticationChallenge): Added an
1622 explicit sender parameter so this can be used with a WebDownload, which
1623 does not involve a ResourceHandle. Later we should clean this up and not
1624 involve WebCore or ResourceHandle directly even for the non-download case.
1625 (WebURLAuthenticationChallenge::createInstance): Added an overload for the
1626 case with an explicit sender parameter.
1627 (WebURLAuthenticationChallenge::QueryInterface): Use __uuidof for the ID
1628 of this class. In general, we should move to __uuidof as much as possible
1629 and keep the separate macros to a minimum -- but we should do this for all
1630 uses of each class at one time to make sure we don't run into problems
1631 with two different UUIDs for the same class. This patch does it for three
1633 (WebURLAuthenticationChallenge::initWithProtectionSpace): Use the query
1634 constructor instead of an explicit QueryInterface for WebURLCredential.
1635 This is another class where I'm switching from CLSID/IID macros to the
1636 use of __uuidof, but in this case the use of __uuidof is implicit.
1637 (WebURLAuthenticationChallenge::initWithAuthenticationChallenge): Ditto,
1638 but for WebURLAuthenticationChallenge and WebURLAuthenticationChallengeSender.
1639 (WebURLAuthenticationChallenge::sender): Use the new m_sender member to
1640 cache the sender object and also use the one that was passed into the
1641 constructor, if any.
1643 * WebURLAuthenticationChallengeSender.h: Get rid of the IID #define,
1644 instead using __declspec(uuid). Also minimize includes and make data
1645 members private instead of protected.
1646 * WebURLAuthenticationChallengeSender.cpp:
1647 (WebURLAuthenticationChallengeSender::QueryInterface): Use __uuidof instead
1649 (WebURLAuthenticationChallengeSender::cancelAuthenticationChallenge):
1650 Use query constructor instead of QueryInterface.
1651 (WebURLAuthenticationChallengeSender::continueWithoutCredentialForAuthenticationChallenge):
1653 (WebURLAuthenticationChallengeSender::useCredential): Ditto.
1655 * WebURLCredential.cpp: (WebURLCredential::QueryInterface): Use __uuidof
1656 instead of CLSID_WebURLCredential.
1658 - tangentially-related cleanup
1661 (WebFrame::dispatchDidReceiveAuthenticationChallenge): Use the adopt
1662 constructor instead of a separate adoptRef call.
1663 (WebFrame::dispatchDidCancelAuthenticationChallenge): Ditto.
1665 2007-09-24 Brady Eidson <beidson@apple.com>
1667 Reviewed by John Sullivan
1669 Fix for <rdar://5493371> - Crash in Icon Database on Windows
1671 * WebIconDatabase.cpp:
1672 (WebIconDatabase::iconForURL): If the URL is NULL, fallback to the default icon without asking WebCore
1674 2007-09-24 Adam Roben <aroben@apple.com>
1676 Fix <rdar://5499507> FrameView will always have size (0,0) if its parent WebView is never resized
1681 (WebView::initWithFrame): Set the main FrameView's size to the size of
1684 2007-09-21 Kevin McCullough <kmccullough@apple.com>
1686 - Fixed a syntax guideline mistake.
1688 * WebChromeClient.cpp:
1689 (WebChromeClient::scrollbarsVisible):
1691 2007-09-20 Oliver Hunt <oliver@apple.com>
1695 <rdar://problem/5487153> Korean characters are displayed as garbage with default encoding in some Korean web sites
1697 Adding support for per-localisation default character encodings on
1700 * English.lproj/Localizable.strings:
1701 * WebPreferences.cpp:
1702 (WebPreferences::initializeDefaultSettings):
1704 2007-09-20 Kevin McCullough <kmccullough@apple.com>
1708 - Added the ability to ask if scrollbars are visible
1709 - <rdar://problem/5496211> scrollbarsVisible in WebChromeClient is not implemented
1711 * WebChromeClient.cpp:
1712 (WebChromeClient::scrollbarsVisible):
1714 2007-09-20 Ada Chan <adachan@apple.com>
1716 <rdar://problem/5477240> Regression: Footer is too high in print preview
1721 (WebFrame::WebFrame): initialize new data member m_pageHeight, which is the height of the page adjusted for margins.
1722 (WebFrame::computePageRects): get the height of the page adjusted for margins by passing m_pageHeight to
1723 computePageRectsForFrame().
1724 (WebFrame::spoolPages): footer rect's top is the max of the bottom of the page content and the bottom of the page
1725 minus footer height.
1728 2007-09-19 Kevin McCullough <kmccullough@apple.com>
1732 - <rdar://problem/5101991> Avril Lavigne music player comes up in a window with scrollbars
1733 - Implementing missing scrollbar functionality to allow turning off scrollbars correctly.
1735 * Interfaces/IWebFrame.idl:
1736 * Interfaces/IWebFrameView.idl:
1737 * WebChromeClient.cpp:
1738 (WebChromeClient::setScrollbarsVisible):
1740 (WebFrame::setAllowsScrolling):
1741 (WebFrame::allowsScrolling):
1742 (WebFrame::frameView):
1745 2007-09-20 Brady Eidson <beidson@apple.com>
1747 Reviewed by Dave Hyatt
1749 <rdar://problem/5245981> - No favicon shows up for cnet.com
1751 * WebIconDatabase.cpp:
1752 (WebIconDatabase::iconForURL): Call getHBITMAPOfSize
1753 (WebIconDatabase::getOrCreateDefaultIconBitmap): Ditto
1755 2007-09-19 Sam Weinig <sam@webkit.org>
1757 Rubber stamped by Adam Roben.
1759 * WebKit.vcproj/WebKit.sln: Update location of DumpRenderTree and TestNetscapePlugin
1760 to point to their new locations.
1762 2007-09-18 Brady Eidson <beidson@apple.com>
1766 Final part of <rdar://problem/5471308> - Hook up async icon database on Windows
1768 * CFDictionaryPropertyBag.cpp:
1769 (CFDictionaryPropertyBag::CFDictionaryPropertyBag): Took the opportunity to rewrite with a RetainPtr
1770 since it became available after the initial implementation
1771 (CFDictionaryPropertyBag::setDictionary):
1772 (CFDictionaryPropertyBag::dictionary): Added accessor to the CFDictionaryRef to ease use within WebKit
1773 (CFDictionaryPropertyBag::QueryInterface): Added IID_CFDictionaryPropertyBag accessor
1774 (CFDictionaryPropertyBag::Read):
1775 (CFDictionaryPropertyBag::Write):
1776 * CFDictionaryPropertyBag.h: Added IID_CFDictionaryPropertyBag
1779 (WebFrame::url): Added accessor, gets the current URL from WebCore
1780 (WebFrame::dispatchDidReceiveIcon): Calls through to the WebView
1781 (WebFrame::registerForIconNotification): Ditto
1784 * WebIconDatabase.cpp:
1785 (WebIconDatabase::iconDatabaseDidAddIconNotification):
1786 (WebIconDatabase::iconDatabaseNotificationUserInfoURLKey):
1787 (WebIconDatabase::iconDatabaseDidRemoveAllIconsNotification):
1788 (postDidRemoveAllIconsNotification):
1789 (postDidAddIconNotification):
1790 * WebIconDatabase.h:
1793 (WebView::close): Unregister for the notification, just in case
1794 (WebView::notifyDidAddIcon): Called when the webview gets the didAddIcon notification, compares the url
1795 in the notification to the current main frame URL. If they match, calls to dispatchDidReceiveIconFromWebFrame
1796 (WebView::registerForIconNotification):
1797 (WebView::dispatchDidReceiveIconFromWebFrame): Dispatches the FrameLoadDelegate call. Once the delegate call is dispatched,
1798 either via the FrameLoaderClient interface of by listening for a notification, we know that our info is up to date in the
1799 IconDatabase and we don't need to listen for the generic notification any long, so we unregister for it here, as well.
1800 (WebView::onNotify): The WebView listens for two notifications now, so make the decision which was received
1803 2007-09-18 Brady Eidson <beidson@apple.com>
1805 Reviewed by Ada and Geoff
1807 Part of <rdar://problem/5471308> - Get async Icon Database fully hooked up on Windows
1809 Hook up main thread delivery of Icon Database notifications from the secondary thread
1811 * WebIconDatabase.cpp:
1812 (WebIconDatabase::WebIconDatabase): Initialize m_deliveryRequested
1813 (WebIconDatabase::init): Set the IconDatabaseClient to the shared WebIconDatabase
1814 (WebIconDatabase::dispatchDidRemoveAllIcons): Queue the notification to be delivered on the main thread then
1815 ask for the delivery
1816 (WebIconDatabase::dispatchDidAddIconForPageURL): Ditto
1817 (WebIconDatabase::scheduleNotificationDelivery): If the m_deliveryRequested hasn't been set, then set it
1818 and perform the callOnMainThread() for WebIconDatabase::deliverNotifications
1819 (postDidRemoveAllIconsNotification):
1820 (postDidAddIconNotification):
1821 (WebIconDatabase::deliverNotifications): Deliver all notifications in the current queue
1822 * WebIconDatabase.h:
1824 2007-09-17 Geoffrey Garen <ggaren@apple.com>
1826 Reviewed by Darin Adler.
1828 Fixed a hang due to an infinite script running in the window's unload
1829 event handler, which may be the cause of <rdar://problem/5479443>
1830 REGRESSION: Hang due to infinite JS recursion on close @ engadget.com
1833 Added a bunch of WebKitMac's close features, and reordered others to
1838 (WebView::removeDragCaret):
1840 2007-09-17 Adam Roben <aroben@apple.com>
1842 Fix <rdar://4979801> overflow divs don't respond to keyboard scrolling (affects RSS pages)
1847 (WebView::keyDown): Attempt to scroll an overflow area before
1848 scrolling the whole frame.
1850 2007-09-17 Brady Eidson <beidson@apple.com>
1854 <rdar://problem/5471308> - Get async Icon Database fully hooked up on Windows
1856 Add a global "shut down WebKit" procedure to do cleanup at the engine level on quit.
1857 Critical now for the IconDatabase and might be for other things in the future.
1860 (shutDownWebKit): For now, just close the IconDatabase
1861 (DllMain): On DLL_PROCESS_DETACH, call shutDownWebKit
1863 2007-09-17 Anders Carlsson <andersca@apple.com>
1867 <rdar://problem/5421997>
1868 http://bugs.webkit.org/show_bug.cgi?id=14247
1869 Display problem with Flash - image does not stop changing
1871 Port the manual load code over from the Mac version.
1874 (WebFrame::WebFramePrivate::WebFramePrivate):
1875 Initialize the plugin pointer.
1877 (WebFrame::finishedLoading):
1878 (WebFrame::setMainDocumentError):
1879 (WebFrame::committedLoad):
1880 Feed the data to the plug-in.
1882 (WebFrame::redirectDataToPlugin):
1883 Store the plug-in widget.
1885 2007-09-14 Steve Falkenburg <sfalken@apple.com>
1890 (WebFrame::createPlugin):
1891 (WebFrame::createJavaAppletWidget):
1893 2007-09-13 Darin Adler <darin@apple.com>
1897 - fix <rdar://problem/5470457> REGRESSION: Input method inline hole is mishandled in text
1898 <input> elements with maxlength limit
1901 (WebView::resetIME): Change to use confirmCompositionWithoutDisturbingSelection.
1902 (WebView::updateSelectionForIME): Update for name changes, and to use new functions
1904 (WebView::onIMEStartComposition): Removed unneeded call to unmarkText.
1905 (compositionToUnderlines): Removed startOffset parameter, since setComposition now
1907 (WebView::onIMEComposition): Changed to use confirmComposition and setComposition.
1908 Logic gets a lot cleaner.
1909 (WebView::onIMEEndComposition): Removed unneeded calls to Editor.
1910 (WebView::onIMERequestCharPosition): Updated for name changes.
1912 2007-09-12 Oliver Hunt <oliver@apple.com>
1917 <rdar://problem/5018591> Windows doesn't have a standard vertical text cursor
1918 <rdar://problem/5224996> Add zoom in and zoom out cursors
1920 Add images for vertical text and zoom in and out cursors to WebKit resources.
1922 * WebKit.vcproj/verticalTextCursor.png: Added.
1923 * WebKit.vcproj/WebKit.rc:
1924 * WebKit.vcproj/WebKit.vcproj:
1925 * WebKit.vcproj/resource.h:
1926 * WebKit.vcproj/zoomInCursor.png: Added.
1927 * WebKit.vcproj/zoomOutCursor.png: Added.
1929 (loadResourceIntoBuffer):
1931 2007-09-12 Adam Roben <aroben@apple.com>
1933 Initialize SafariTheme early in WebKit's instantiation
1935 New versions of SafariTheme will require this initialization. We have
1936 to use GetProcAddress for now since the initialize method doesn't
1937 exist in any released SafariTheme.
1941 * WebKit.vcproj/debug_internal.vsprops: Pick up the debug SafariTheme.
1942 * WebKitClassFactory.cpp:
1943 (WebKitClassFactory::WebKitClassFactory): Call STInitialize.
1945 2007-09-12 Ada Chan <adachan@apple.com>
1947 <rdar://problem/5478690> Regression: printing: footer only appears on the first page of print
1952 (WebFrame::spoolPages): the footer rect is relative to the top left of the current page. So
1953 instead of passing pageRect.bottom() as the top of the footer rect (which is relative to the
1954 document), we should pass in headerHeight plus the height of the pageRect.
1956 2007-09-12 Anders Carlsson <andersca@apple.com>
1958 Reviewed by Darin (reluctantly).
1960 <rdar://problem/5320461>
1961 http://bugs.webkit.org/show_bug.cgi?id=14548
1962 REGRESSION (r23987-r24061) : Reproducible crash with a local stylesheet file
1964 Add a workaround which converts the string passed in to an URL if it's a path.
1967 (WebView::updateWebCoreSettingsFromPreferences):
1969 2007-09-10 Steve Falkenburg <sfalken@apple.com>
1971 Remove site-specific hacks that we don't need anymore.
1976 (WebView::userAgentForKURL):
1978 2007-09-08 Steve Falkenburg <sfalken@apple.com>
1980 Prevent WebKit version numbers from containing "4" in Windows.
1984 * WebKit.vcproj/VERSION: Bump version since our current version ends in 4.
1985 * WebKit.vcproj/auto-version.sh: Add version checking code.
1987 2007-09-08 Brady Eidson <beidson@apple.com>
1989 <rdar://problem/5434431> - Asynchronous Icon Database
1992 (WebFrame::didPerformFirstNavigation): Empty impl for now
1993 (WebFrame::registerForIconNotification): Ditto
1996 2007-09-05 Geoffrey Garen <ggaren@apple.com>
1998 Reviewed by Darin Adler, Maciej Stachowiak, Mark Rowe, Tim Hatcher.
2000 Fixed <rdar://problem/5326009> Make non-browser WebKit clients have no
2001 memory cache, or a very tiny one
2003 Keep the Windows build working with an empty stub.
2006 (FrameLoaderClient::didPerformFirstNavigation):
2009 2007-09-07 Ada Chan <adachan@apple.com>
2011 Need to let the OS handle Alt+F4.
2019 2007-09-07 Anders Carlsson <andersca@apple.com>
2023 <rdar://problem/5461487>
2024 Seed: Embedded media content (Flash Player 9) inside RSS reported as unknown MIME type.
2026 Don't return ObjectContentNone if the URL's extension can't be mapped to a MIME type. If the MIME type is empty,
2027 we will try to display the content in a subframe instead, just like Mac WebKit.
2030 (WebFrame::objectContentType):
2032 2007-09-07 Ada Chan <adachan@apple.com>
2034 <rdar://problem/5395928> Need to be able to handle context menu item selection by index
2039 (WebView::performContextMenuAction): performContextMenuAction() can now handle context menu
2040 item selection via WM_MENUCOMMAND (by specifying byPosition to be true). In that case, we
2041 get the ContextMenuItem by position rather than by action id.
2042 (WebViewWndProc): handle WM_MENUCOMMAND
2045 2007-09-07 Ada Chan <adachan@apple.com>
2047 <rdar://problem/5453494> Better lifetime management of WebDataSource and WebDocumentLoader
2048 The problem was that WebDataSource does not hold a strong reference to the WebDocumentLoader. If
2049 a WebDataSource is still around after the loader has been destroyed, it'll just point to
2050 a stale WebDocumentLoader.
2051 To fix this without a circular reference, WebDataSource now holds a strong reference to the
2052 WebDocumentLoader. The WebDocumentLoader holds a strong reference to the WebDataSource
2053 until it's detached from the WebFrame. When the WebDataSource is destroyed, it'll notify
2054 its WebDocumentLoader so the loader will clear any references to it.
2058 * WebDataSource.cpp:
2059 (WebDataSource::~WebDataSource): call WebDocumentLoader::detachDataSource() so the loader
2060 will clear any references to this data source
2061 (WebDataSource::documentLoader): m_loader is now a RefPtr so we need to call get().
2063 * WebDocumentLoader.cpp:
2064 (WebDocumentLoader::WebDocumentLoader): initialize m_dataSource since it's no longer a COMPtr.
2065 (WebDocumentLoader::~WebDocumentLoader): release m_dataSource if necessary
2066 (WebDocumentLoader::setDataSource): add a reference to m_dataSource
2067 (WebDocumentLoader::dataSource):
2068 (WebDocumentLoader::detachDataSource): clear m_detachedDataSource.
2069 (WebDocumentLoader::attachToFrame): call setDataSource() so it'll add the reference to the data source if necessary.
2070 (WebDocumentLoader::detachFromFrame): release the reference to the data source
2071 * WebDocumentLoader.h:
2073 2007-09-05 Dave Hyatt <hyatt@apple.com>
2075 Make sure ALT+other keys is properly sent into the DOM so that Web pages (and editing fields) can
2076 detect key combos like ALT+Enter.
2086 2007-09-04 Sam Weinig <sam@webkit.org>
2090 * WebKit.vcproj/WebKit.vcproj:
2092 2007-09-01 Oliver Hunt <oliver@apple.com>
2096 <rdar://problem/5344848> IME is incorrectly used for key events when on non-editable regions
2098 When focusing a password field or a non-editable element we disassociate any IME that may have
2099 been active, and reassociate should a non-password editable element is focused.
2101 This makes password input with an IME active simpler, and brings our IME behaviour in line with
2104 * WebEditorClient.cpp:
2105 (WebEditorClient::setInputMethodState):
2106 * WebEditorClient.h:
2109 (WebView::setInputMethodState):
2112 2007-08-31 Steve Falkenburg <sfalken@apple.com>
2114 <rdar://problem/5432594> Safari quits when hovering over mailto links on a webpage
2116 In addition to substituting %@ with %s, we also need to substitute %{1-9}$@ with %{1-9}$s.
2120 * WebLocalizableStrings.cpp:
2121 (WebLocalizedLPCTSTR):
2123 2007-08-29 Ada Chan <adachan@apple.com>
2125 <rdar://problem/5074612> Added SPI to retrieve certificate info from a WebError.
2129 * Interfaces/IWebErrorPrivate.idl: Added IWebErrorPrivate
2131 (WebError::QueryInterface): WebError now also implements IWebErrorPrivate
2132 (WebError::sslPeerCertificate): retrieves certificate info from CFError's user info.
2134 * WebKit.vcproj/WebKitGUID.vcproj: Added IWebErrorPrivate_i.c
2136 2007-08-28 Steve Falkenburg <sfalken@apple.com>
2138 <rdar://problem/5079253> Cannot set different margins for the page
2140 Added support for setting margins via page setup for Windows printing.
2144 * Interfaces/IWebUIDelegate.idl: Added webViewPrintingMarginRect.
2146 (WebFrame::printerMarginRect): Added.
2147 (WebFrame::computePageRects): Account for margins when calculating page rects.
2148 (WebFrame::spoolPages): Position footer at the bottom of the page rect (fixes footer drawing if left/right margins are set).
2151 2007-08-28 Jon Honeycutt <jhoneycutt@apple.com>
2155 <rdar://problem/5444457>: Content is cut when page orientation changed
2157 Fix: Don't return WebFrame::m_pageRects if it exists; let
2158 computePageRectsForFrame clear and rewrite it.
2161 (WebFrame::computePageRects): Removed an early-return case. Added a
2164 2007-08-28 Ada Chan <adachan@apple.com>
2166 <rdar://problem/4876242> Added SPI to fetch SSL certificate information.
2168 Reviewed by Adam and Steve.
2170 * Interfaces/IWebURLResponsePrivate.idl: Added.
2171 * WebKit.vcproj/Interfaces.vcproj:
2172 * WebKit.vcproj/WebKitGUID.vcproj:
2173 * WebURLResponse.cpp:
2174 (WebURLResponse::QueryInterface):
2175 (WebURLResponse::sslPeerCertificate): gets peer certificate context from CFNetwork
2176 (WebURLResponse::certificateDictionary): gets the dictionary that contains SSL certificate
2177 info from CFNetwork. We retain the dictionary to ensure the certificate context is valid
2178 throughout the lifetime of the WebURLResponse.
2181 2007-08-27 Steve Falkenburg <sfalken@apple.com>
2183 <rdar://problem/5424801> REGRESSION (r25151): Web page area of window doesn't redraw if page isn't loaded
2185 Don't bypass WebView WM_PAINT if the WebView has never committed a page.
2190 (WebViewWndProc): Don't skip painting if we haven't committed any pages in this view.
2192 2007-08-25 Oliver Hunt <oliver@apple.com>
2194 Reviewed by Adam and Sam
2196 <rdar://problem/5269732> Safari 3.0 for Windows cuts off text in textarea boxes during sending forms (14562)
2197 <http://bugs.webkit.org/show_bug.cgi?id=14562> [Win] Textarea contents partially eaten on submit/copy
2199 WebView::handleEditingKeyboardEvent assumed all keycodes that did not trigger a named command were
2200 to be inserted. This could cause unexpected behaviour when control characters (eg. escape) are sent,
2201 or could cause data loss when sent a null character (as happens when dead keys are used for international
2204 This patch corrects WebView::handleEditingKeyboardEvent to prevent such characters from being sent
2205 to Editor::insertText. This behaviour matches Firefox.
2208 (WebView::handleEditingKeyboardEvent):
2210 2007-08-24 Sam Weinig <sam@webkit.org>
2212 Revert r25216 which renamed the COM DOM bindings to use Deprecated prefix.
2214 2007-08-24 Ada Chan <adachan@apple.com>
2216 <rdar://problem/5147315> and <rdar://problem/5183935>
2217 Added accelerator key mappings for Select All, Undo, and Redo.
2223 2007-08-24 Jon Honeycutt <jhoneycutt@apple.com>
2227 Part of <rdar://problem/5433236> Print preview of empty txt file crashes
2231 (WebFrame::computePageRects): Pass m_pageRects by reference into
2232 computePageRectsForFrame
2234 2007-08-24 Sam Weinig <sam@webkit.org>
2236 Rubber-stamped by Adam Roben.
2238 <rdar://problem/5434593> Deprecate current manually written COM DOM bindings in anticipation of autogeneration
2240 Rename COM DOM bindings to use Deprecated prefix.
2242 * DOMCSSClasses.cpp:
2243 (DeprecatedDOMCSSStyleDeclaration::DeprecatedDOMCSSStyleDeclaration):
2244 (DeprecatedDOMCSSStyleDeclaration::~DeprecatedDOMCSSStyleDeclaration):
2245 (DeprecatedDOMCSSStyleDeclaration::createInstance):
2246 (DeprecatedDOMCSSStyleDeclaration::QueryInterface):
2247 (DeprecatedDOMCSSStyleDeclaration::cssText):
2248 (DeprecatedDOMCSSStyleDeclaration::setCssText):
2249 (DeprecatedDOMCSSStyleDeclaration::getPropertyValue):
2250 (DeprecatedDOMCSSStyleDeclaration::getPropertyCSSValue):
2251 (DeprecatedDOMCSSStyleDeclaration::removeProperty):
2252 (DeprecatedDOMCSSStyleDeclaration::getPropertyPriority):
2253 (DeprecatedDOMCSSStyleDeclaration::setProperty):
2254 (DeprecatedDOMCSSStyleDeclaration::length):
2255 (DeprecatedDOMCSSStyleDeclaration::item):
2256 (DeprecatedDOMCSSStyleDeclaration::parentRule):
2258 (DeprecatedDOMCSSStyleDeclaration::AddRef):
2259 (DeprecatedDOMCSSStyleDeclaration::Release):
2260 (DeprecatedDOMCSSStyleDeclaration::throwException):
2261 (DeprecatedDOMCSSStyleDeclaration::callWebScriptMethod):
2262 (DeprecatedDOMCSSStyleDeclaration::evaluateWebScript):
2263 (DeprecatedDOMCSSStyleDeclaration::removeWebScriptKey):
2264 (DeprecatedDOMCSSStyleDeclaration::stringRepresentation):
2265 (DeprecatedDOMCSSStyleDeclaration::webScriptValueAtIndex):
2266 (DeprecatedDOMCSSStyleDeclaration::setWebScriptValueAtIndex):
2267 (DeprecatedDOMCSSStyleDeclaration::setException):
2268 * DOMCoreClasses.cpp:
2269 (DeprecatedDOMObject::QueryInterface):
2270 (DeprecatedDOMNode::QueryInterface):
2271 (DeprecatedDOMNode::nodeName):
2272 (DeprecatedDOMNode::nodeValue):
2273 (DeprecatedDOMNode::setNodeValue):
2274 (DeprecatedDOMNode::nodeType):
2275 (DeprecatedDOMNode::parentNode):
2276 (DeprecatedDOMNode::childNodes):
2277 (DeprecatedDOMNode::firstChild):
2278 (DeprecatedDOMNode::lastChild):
2279 (DeprecatedDOMNode::previousSibling):
2280 (DeprecatedDOMNode::nextSibling):
2281 (DeprecatedDOMNode::attributes):
2282 (DeprecatedDOMNode::ownerDocument):
2283 (DeprecatedDOMNode::insertBefore):
2284 (DeprecatedDOMNode::replaceChild):
2285 (DeprecatedDOMNode::removeChild):
2286 (DeprecatedDOMNode::appendChild):
2287 (DeprecatedDOMNode::hasChildNodes):
2288 (DeprecatedDOMNode::cloneNode):
2289 (DeprecatedDOMNode::normalize):
2290 (DeprecatedDOMNode::isSupported):
2291 (DeprecatedDOMNode::namespaceURI):
2292 (DeprecatedDOMNode::prefix):
2293 (DeprecatedDOMNode::setPrefix):
2294 (DeprecatedDOMNode::localName):
2295 (DeprecatedDOMNode::hasAttributes):
2296 (DeprecatedDOMNode::isSameNode):
2297 (DeprecatedDOMNode::isEqualNode):
2298 (DeprecatedDOMNode::textContent):
2299 (DeprecatedDOMNode::setTextContent):
2300 (DeprecatedDOMNode::addEventListener):
2301 (DeprecatedDOMNode::removeEventListener):
2302 (DeprecatedDOMNode::dispatchEvent):
2303 (DeprecatedDOMNode::DeprecatedDOMNode):
2304 (DeprecatedDOMNode::~DeprecatedDOMNode):
2305 (DeprecatedDOMNode::createInstance):
2306 (DeprecatedDOMNodeList::QueryInterface):
2307 (DeprecatedDOMNodeList::item):
2308 (DeprecatedDOMNodeList::length):
2309 (DeprecatedDOMNodeList::DeprecatedDOMNodeList):
2310 (DeprecatedDOMNodeList::~DeprecatedDOMNodeList):
2311 (DeprecatedDOMNodeList::createInstance):
2312 (DeprecatedDOMDocument::QueryInterface):
2313 (DeprecatedDOMDocument::doctype):
2314 (DeprecatedDOMDocument::implementation):
2315 (DeprecatedDOMDocument::documentElement):
2316 (DeprecatedDOMDocument::createElement):
2317 (DeprecatedDOMDocument::createDocumentFragment):
2318 (DeprecatedDOMDocument::createTextNode):
2319 (DeprecatedDOMDocument::createComment):
2320 (DeprecatedDOMDocument::createCDATASection):
2321 (DeprecatedDOMDocument::createProcessingInstruction):
2322 (DeprecatedDOMDocument::createAttribute):
2323 (DeprecatedDOMDocument::createEntityReference):
2324 (DeprecatedDOMDocument::getElementsByTagName):
2325 (DeprecatedDOMDocument::importNode):
2326 (DeprecatedDOMDocument::createElementNS):
2327 (DeprecatedDOMDocument::createAttributeNS):
2328 (DeprecatedDOMDocument::getElementsByTagNameNS):
2329 (DeprecatedDOMDocument::getElementById):
2330 (DeprecatedDOMDocument::getComputedStyle):
2331 (DeprecatedDOMDocument::createEvent):
2332 (DeprecatedDOMDocument::DeprecatedDOMDocument):
2333 (DeprecatedDOMDocument::~DeprecatedDOMDocument):
2334 (DeprecatedDOMDocument::createInstance):
2335 (DeprecatedDOMElement::QueryInterface):
2336 (DeprecatedDOMElement::boundingBox):
2337 (DeprecatedDOMElement::lineBoxRects):
2338 (DeprecatedDOMElement::tagName):
2339 (DeprecatedDOMElement::getAttribute):
2340 (DeprecatedDOMElement::setAttribute):
2341 (DeprecatedDOMElement::removeAttribute):
2342 (DeprecatedDOMElement::getAttributeNode):
2343 (DeprecatedDOMElement::setAttributeNode):
2344 (DeprecatedDOMElement::removeAttributeNode):
2345 (DeprecatedDOMElement::getElementsByTagName):
2346 (DeprecatedDOMElement::getAttributeNS):
2347 (DeprecatedDOMElement::setAttributeNS):
2348 (DeprecatedDOMElement::removeAttributeNS):
2349 (DeprecatedDOMElement::getAttributeNodeNS):
2350 (DeprecatedDOMElement::setAttributeNodeNS):
2351 (DeprecatedDOMElement::getElementsByTagNameNS):
2352 (DeprecatedDOMElement::hasAttribute):
2353 (DeprecatedDOMElement::hasAttributeNS):
2354 (DeprecatedDOMElement::focus):
2355 (DeprecatedDOMElement::blur):
2356 (DeprecatedDOMElement::coreElement):
2357 (DeprecatedDOMElement::isEqual):
2358 (DeprecatedDOMElement::isFocused):
2359 (DeprecatedDOMElement::innerText):
2360 (DeprecatedDOMElement::style):
2361 (DeprecatedDOMElement::offsetLeft):
2362 (DeprecatedDOMElement::offsetTop):
2363 (DeprecatedDOMElement::offsetWidth):
2364 (DeprecatedDOMElement::offsetHeight):
2365 (DeprecatedDOMElement::offsetParent):
2366 (DeprecatedDOMElement::clientWidth):
2367 (DeprecatedDOMElement::clientHeight):
2368 (DeprecatedDOMElement::scrollLeft):
2369 (DeprecatedDOMElement::setScrollLeft):
2370 (DeprecatedDOMElement::scrollTop):
2371 (DeprecatedDOMElement::setScrollTop):
2372 (DeprecatedDOMElement::scrollWidth):
2373 (DeprecatedDOMElement::scrollHeight):
2374 (DeprecatedDOMElement::scrollIntoView):
2375 (DeprecatedDOMElement::scrollIntoViewIfNeeded):
2376 (DeprecatedDOMElement::DeprecatedDOMElement):
2377 (DeprecatedDOMElement::~DeprecatedDOMElement):
2378 (DeprecatedDOMElement::createInstance):
2380 (DeprecatedDOMNode::AddRef):
2381 (DeprecatedDOMNode::Release):
2382 (DeprecatedDOMNode::throwException):
2383 (DeprecatedDOMNode::callWebScriptMethod):
2384 (DeprecatedDOMNode::evaluateWebScript):
2385 (DeprecatedDOMNode::removeWebScriptKey):
2386 (DeprecatedDOMNode::stringRepresentation):
2387 (DeprecatedDOMNode::webScriptValueAtIndex):
2388 (DeprecatedDOMNode::setWebScriptValueAtIndex):
2389 (DeprecatedDOMNode::setException):
2390 (DeprecatedDOMNodeList::AddRef):
2391 (DeprecatedDOMNodeList::Release):
2392 (DeprecatedDOMNodeList::throwException):
2393 (DeprecatedDOMNodeList::callWebScriptMethod):
2394 (DeprecatedDOMNodeList::evaluateWebScript):
2395 (DeprecatedDOMNodeList::removeWebScriptKey):
2396 (DeprecatedDOMNodeList::stringRepresentation):
2397 (DeprecatedDOMNodeList::webScriptValueAtIndex):
2398 (DeprecatedDOMNodeList::setWebScriptValueAtIndex):
2399 (DeprecatedDOMNodeList::setException):
2400 (DeprecatedDOMDocument::AddRef):
2401 (DeprecatedDOMDocument::Release):
2402 (DeprecatedDOMDocument::throwException):
2403 (DeprecatedDOMDocument::callWebScriptMethod):
2404 (DeprecatedDOMDocument::evaluateWebScript):
2405 (DeprecatedDOMDocument::removeWebScriptKey):
2406 (DeprecatedDOMDocument::stringRepresentation):
2407 (DeprecatedDOMDocument::webScriptValueAtIndex):
2408 (DeprecatedDOMDocument::setWebScriptValueAtIndex):
2409 (DeprecatedDOMDocument::setException):
2410 (DeprecatedDOMDocument::nodeName):
2411 (DeprecatedDOMDocument::nodeValue):
2412 (DeprecatedDOMDocument::setNodeValue):
2413 (DeprecatedDOMDocument::nodeType):
2414 (DeprecatedDOMDocument::parentNode):
2415 (DeprecatedDOMDocument::childNodes):
2416 (DeprecatedDOMDocument::firstChild):
2417 (DeprecatedDOMDocument::lastChild):
2418 (DeprecatedDOMDocument::previousSibling):
2419 (DeprecatedDOMDocument::nextSibling):
2420 (DeprecatedDOMDocument::attributes):
2421 (DeprecatedDOMDocument::ownerDocument):
2422 (DeprecatedDOMDocument::insertBefore):
2423 (DeprecatedDOMDocument::replaceChild):
2424 (DeprecatedDOMDocument::removeChild):
2425 (DeprecatedDOMDocument::appendChild):
2426 (DeprecatedDOMDocument::hasChildNodes):
2427 (DeprecatedDOMDocument::cloneNode):
2428 (DeprecatedDOMDocument::normalize):
2429 (DeprecatedDOMDocument::isSupported):
2430 (DeprecatedDOMDocument::namespaceURI):
2431 (DeprecatedDOMDocument::prefix):
2432 (DeprecatedDOMDocument::setPrefix):
2433 (DeprecatedDOMDocument::localName):
2434 (DeprecatedDOMDocument::hasAttributes):
2435 (DeprecatedDOMDocument::isSameNode):
2436 (DeprecatedDOMDocument::isEqualNode):
2437 (DeprecatedDOMDocument::textContent):
2438 (DeprecatedDOMDocument::setTextContent):
2439 (DeprecatedDOMElement::AddRef):
2440 (DeprecatedDOMElement::Release):
2441 (DeprecatedDOMElement::throwException):
2442 (DeprecatedDOMElement::callWebScriptMethod):
2443 (DeprecatedDOMElement::evaluateWebScript):
2444 (DeprecatedDOMElement::removeWebScriptKey):
2445 (DeprecatedDOMElement::stringRepresentation):
2446 (DeprecatedDOMElement::webScriptValueAtIndex):
2447 (DeprecatedDOMElement::setWebScriptValueAtIndex):
2448 (DeprecatedDOMElement::setException):
2449 (DeprecatedDOMElement::nodeName):
2450 (DeprecatedDOMElement::nodeValue):
2451 (DeprecatedDOMElement::setNodeValue):
2452 (DeprecatedDOMElement::nodeType):
2453 (DeprecatedDOMElement::parentNode):
2454 (DeprecatedDOMElement::childNodes):
2455 (DeprecatedDOMElement::firstChild):
2456 (DeprecatedDOMElement::lastChild):
2457 (DeprecatedDOMElement::previousSibling):
2458 (DeprecatedDOMElement::nextSibling):
2459 (DeprecatedDOMElement::attributes):
2460 (DeprecatedDOMElement::ownerDocument):
2461 (DeprecatedDOMElement::insertBefore):
2462 (DeprecatedDOMElement::replaceChild):
2463 (DeprecatedDOMElement::removeChild):
2464 (DeprecatedDOMElement::appendChild):
2465 (DeprecatedDOMElement::hasChildNodes):
2466 (DeprecatedDOMElement::cloneNode):
2467 (DeprecatedDOMElement::normalize):
2468 (DeprecatedDOMElement::isSupported):
2469 (DeprecatedDOMElement::namespaceURI):
2470 (DeprecatedDOMElement::prefix):
2471 (DeprecatedDOMElement::setPrefix):
2472 (DeprecatedDOMElement::localName):
2473 (DeprecatedDOMElement::hasAttributes):
2474 (DeprecatedDOMElement::isSameNode):
2475 (DeprecatedDOMElement::isEqualNode):
2476 (DeprecatedDOMElement::textContent):
2477 (DeprecatedDOMElement::setTextContent):
2478 * DOMEventsClasses.cpp:
2479 (DeprecatedDOMEventListener::QueryInterface):
2480 (DeprecatedDOMEventListener::handleEvent):
2481 (DeprecatedDOMEvent::DeprecatedDOMEvent):
2482 (DeprecatedDOMEvent::~DeprecatedDOMEvent):
2483 (DeprecatedDOMEvent::createInstance):
2484 (DeprecatedDOMEvent::QueryInterface):
2485 (DeprecatedDOMEvent::type):
2486 (DeprecatedDOMEvent::target):
2487 (DeprecatedDOMEvent::currentTarget):
2488 (DeprecatedDOMEvent::eventPhase):
2489 (DeprecatedDOMEvent::bubbles):
2490 (DeprecatedDOMEvent::cancelable):
2491 (DeprecatedDOMEvent::timeStamp):
2492 (DeprecatedDOMEvent::stopPropagation):
2493 (DeprecatedDOMEvent::preventDefault):
2494 (DeprecatedDOMEvent::initEvent):
2495 (DeprecatedDOMUIEvent::QueryInterface):
2496 (DeprecatedDOMUIEvent::view):
2497 (DeprecatedDOMUIEvent::detail):
2498 (DeprecatedDOMUIEvent::initUIEvent):
2499 (DeprecatedDOMUIEvent::keyCode):
2500 (DeprecatedDOMUIEvent::charCode):
2501 (DeprecatedDOMUIEvent::layerX):
2502 (DeprecatedDOMUIEvent::layerY):
2503 (DeprecatedDOMUIEvent::pageX):
2504 (DeprecatedDOMUIEvent::pageY):
2505 (DeprecatedDOMUIEvent::which):
2506 (DeprecatedDOMKeyboardEvent::QueryInterface):
2507 (DeprecatedDOMKeyboardEvent::keyIdentifier):
2508 (DeprecatedDOMKeyboardEvent::keyLocation):
2509 (DeprecatedDOMKeyboardEvent::ctrlKey):
2510 (DeprecatedDOMKeyboardEvent::shiftKey):
2511 (DeprecatedDOMKeyboardEvent::altKey):
2512 (DeprecatedDOMKeyboardEvent::metaKey):
2513 (DeprecatedDOMKeyboardEvent::altGraphKey):
2514 (DeprecatedDOMKeyboardEvent::getModifierState):
2515 (DeprecatedDOMKeyboardEvent::initKeyboardEvent):
2516 (DeprecatedDOMMouseEvent::QueryInterface):
2517 (DeprecatedDOMMouseEvent::screenX):
2518 (DeprecatedDOMMouseEvent::screenY):
2519 (DeprecatedDOMMouseEvent::clientX):
2520 (DeprecatedDOMMouseEvent::clientY):
2521 (DeprecatedDOMMouseEvent::ctrlKey):
2522 (DeprecatedDOMMouseEvent::shiftKey):
2523 (DeprecatedDOMMouseEvent::altKey):
2524 (DeprecatedDOMMouseEvent::metaKey):
2525 (DeprecatedDOMMouseEvent::button):
2526 (DeprecatedDOMMouseEvent::relatedTarget):
2527 (DeprecatedDOMMouseEvent::initMouseEvent):
2528 (DeprecatedDOMMouseEvent::offsetX):
2529 (DeprecatedDOMMouseEvent::offsetY):
2530 (DeprecatedDOMMouseEvent::x):
2531 (DeprecatedDOMMouseEvent::y):
2532 (DeprecatedDOMMouseEvent::fromElement):
2533 (DeprecatedDOMMouseEvent::toElement):
2534 (DeprecatedDOMMutationEvent::QueryInterface):
2535 (DeprecatedDOMMutationEvent::relatedNode):
2536 (DeprecatedDOMMutationEvent::prevValue):
2537 (DeprecatedDOMMutationEvent::newValue):
2538 (DeprecatedDOMMutationEvent::attrName):
2539 (DeprecatedDOMMutationEvent::attrChange):
2540 (DeprecatedDOMMutationEvent::initMutationEvent):
2541 (DeprecatedDOMOverflowEvent::QueryInterface):
2542 (DeprecatedDOMOverflowEvent::orient):
2543 (DeprecatedDOMOverflowEvent::horizontalOverflow):
2544 (DeprecatedDOMOverflowEvent::verticalOverflow):
2545 (DeprecatedDOMWheelEvent::QueryInterface):
2546 (DeprecatedDOMWheelEvent::screenX):
2547 (DeprecatedDOMWheelEvent::screenY):
2548 (DeprecatedDOMWheelEvent::clientX):
2549 (DeprecatedDOMWheelEvent::clientY):
2550 (DeprecatedDOMWheelEvent::ctrlKey):
2551 (DeprecatedDOMWheelEvent::shiftKey):
2552 (DeprecatedDOMWheelEvent::altKey):
2553 (DeprecatedDOMWheelEvent::metaKey):
2554 (DeprecatedDOMWheelEvent::wheelDelta):
2555 (DeprecatedDOMWheelEvent::wheelDeltaX):
2556 (DeprecatedDOMWheelEvent::wheelDeltaY):
2557 (DeprecatedDOMWheelEvent::offsetX):
2558 (DeprecatedDOMWheelEvent::offsetY):
2559 (DeprecatedDOMWheelEvent::x):
2560 (DeprecatedDOMWheelEvent::y):
2561 (DeprecatedDOMWheelEvent::isHorizontal):
2562 (DeprecatedDOMWheelEvent::initWheelEvent):
2563 * DOMEventsClasses.h:
2564 (DeprecatedDOMEventListener::AddRef):
2565 (DeprecatedDOMEventListener::Release):
2566 (DeprecatedDOMEventListener::throwException):
2567 (DeprecatedDOMEventListener::callWebScriptMethod):
2568 (DeprecatedDOMEventListener::evaluateWebScript):
2569 (DeprecatedDOMEventListener::removeWebScriptKey):
2570 (DeprecatedDOMEventListener::stringRepresentation):
2571 (DeprecatedDOMEventListener::webScriptValueAtIndex):
2572 (DeprecatedDOMEventListener::setWebScriptValueAtIndex):
2573 (DeprecatedDOMEventListener::setException):
2574 (DeprecatedDOMEvent::AddRef):
2575 (DeprecatedDOMEvent::Release):
2576 (DeprecatedDOMEvent::throwException):
2577 (DeprecatedDOMEvent::callWebScriptMethod):
2578 (DeprecatedDOMEvent::evaluateWebScript):
2579 (DeprecatedDOMEvent::removeWebScriptKey):
2580 (DeprecatedDOMEvent::stringRepresentation):
2581 (DeprecatedDOMEvent::webScriptValueAtIndex):
2582 (DeprecatedDOMEvent::setWebScriptValueAtIndex):
2583 (DeprecatedDOMEvent::setException):
2584 (DeprecatedDOMUIEvent::DeprecatedDOMUIEvent):
2585 (DeprecatedDOMUIEvent::AddRef):
2586 (DeprecatedDOMUIEvent::Release):
2587 (DeprecatedDOMUIEvent::throwException):
2588 (DeprecatedDOMUIEvent::callWebScriptMethod):
2589 (DeprecatedDOMUIEvent::evaluateWebScript):
2590 (DeprecatedDOMUIEvent::removeWebScriptKey):
2591 (DeprecatedDOMUIEvent::stringRepresentation):
2592 (DeprecatedDOMUIEvent::webScriptValueAtIndex):
2593 (DeprecatedDOMUIEvent::setWebScriptValueAtIndex):
2594 (DeprecatedDOMUIEvent::setException):
2595 (DeprecatedDOMUIEvent::type):
2596 (DeprecatedDOMUIEvent::target):
2597 (DeprecatedDOMUIEvent::currentTarget):
2598 (DeprecatedDOMUIEvent::eventPhase):
2599 (DeprecatedDOMUIEvent::bubbles):
2600 (DeprecatedDOMUIEvent::cancelable):
2601 (DeprecatedDOMUIEvent::timeStamp):
2602 (DeprecatedDOMUIEvent::stopPropagation):
2603 (DeprecatedDOMUIEvent::preventDefault):
2604 (DeprecatedDOMUIEvent::initEvent):
2605 (DeprecatedDOMKeyboardEvent::DeprecatedDOMKeyboardEvent):
2606 (DeprecatedDOMKeyboardEvent::AddRef):
2607 (DeprecatedDOMKeyboardEvent::Release):
2608 (DeprecatedDOMKeyboardEvent::throwException):
2609 (DeprecatedDOMKeyboardEvent::callWebScriptMethod):
2610 (DeprecatedDOMKeyboardEvent::evaluateWebScript):
2611 (DeprecatedDOMKeyboardEvent::removeWebScriptKey):
2612 (DeprecatedDOMKeyboardEvent::stringRepresentation):
2613 (DeprecatedDOMKeyboardEvent::webScriptValueAtIndex):
2614 (DeprecatedDOMKeyboardEvent::setWebScriptValueAtIndex):
2615 (DeprecatedDOMKeyboardEvent::setException):
2616 (DeprecatedDOMKeyboardEvent::type):
2617 (DeprecatedDOMKeyboardEvent::target):
2618 (DeprecatedDOMKeyboardEvent::currentTarget):
2619 (DeprecatedDOMKeyboardEvent::eventPhase):
2620 (DeprecatedDOMKeyboardEvent::bubbles):
2621 (DeprecatedDOMKeyboardEvent::cancelable):
2622 (DeprecatedDOMKeyboardEvent::timeStamp):
2623 (DeprecatedDOMKeyboardEvent::stopPropagation):
2624 (DeprecatedDOMKeyboardEvent::preventDefault):
2625 (DeprecatedDOMKeyboardEvent::initEvent):
2626 (DeprecatedDOMKeyboardEvent::view):
2627 (DeprecatedDOMKeyboardEvent::detail):
2628 (DeprecatedDOMKeyboardEvent::initUIEvent):
2629 (DeprecatedDOMKeyboardEvent::keyCode):
2630 (DeprecatedDOMKeyboardEvent::charCode):
2631 (DeprecatedDOMKeyboardEvent::layerX):
2632 (DeprecatedDOMKeyboardEvent::layerY):
2633 (DeprecatedDOMKeyboardEvent::pageX):
2634 (DeprecatedDOMKeyboardEvent::pageY):
2635 (DeprecatedDOMKeyboardEvent::which):
2636 (DeprecatedDOMMouseEvent::DeprecatedDOMMouseEvent):
2637 (DeprecatedDOMMouseEvent::AddRef):
2638 (DeprecatedDOMMouseEvent::Release):
2639 (DeprecatedDOMMouseEvent::throwException):
2640 (DeprecatedDOMMouseEvent::callWebScriptMethod):
2641 (DeprecatedDOMMouseEvent::evaluateWebScript):
2642 (DeprecatedDOMMouseEvent::removeWebScriptKey):
2643 (DeprecatedDOMMouseEvent::stringRepresentation):
2644 (DeprecatedDOMMouseEvent::webScriptValueAtIndex):
2645 (DeprecatedDOMMouseEvent::setWebScriptValueAtIndex):
2646 (DeprecatedDOMMouseEvent::setException):
2647 (DeprecatedDOMMouseEvent::type):
2648 (DeprecatedDOMMouseEvent::target):
2649 (DeprecatedDOMMouseEvent::currentTarget):
2650 (DeprecatedDOMMouseEvent::eventPhase):
2651 (DeprecatedDOMMouseEvent::bubbles):
2652 (DeprecatedDOMMouseEvent::cancelable):
2653 (DeprecatedDOMMouseEvent::timeStamp):
2654 (DeprecatedDOMMouseEvent::stopPropagation):
2655 (DeprecatedDOMMouseEvent::preventDefault):
2656 (DeprecatedDOMMouseEvent::initEvent):
2657 (DeprecatedDOMMouseEvent::view):
2658 (DeprecatedDOMMouseEvent::detail):
2659 (DeprecatedDOMMouseEvent::initUIEvent):
2660 (DeprecatedDOMMouseEvent::keyCode):
2661 (DeprecatedDOMMouseEvent::charCode):
2662 (DeprecatedDOMMouseEvent::layerX):
2663 (DeprecatedDOMMouseEvent::layerY):
2664 (DeprecatedDOMMouseEvent::pageX):
2665 (DeprecatedDOMMouseEvent::pageY):
2666 (DeprecatedDOMMouseEvent::which):
2667 (DeprecatedDOMMutationEvent::DeprecatedDOMMutationEvent):
2668 (DeprecatedDOMMutationEvent::AddRef):
2669 (DeprecatedDOMMutationEvent::Release):
2670 (DeprecatedDOMMutationEvent::throwException):
2671 (DeprecatedDOMMutationEvent::callWebScriptMethod):
2672 (DeprecatedDOMMutationEvent::evaluateWebScript):
2673 (DeprecatedDOMMutationEvent::removeWebScriptKey):
2674 (DeprecatedDOMMutationEvent::stringRepresentation):
2675 (DeprecatedDOMMutationEvent::webScriptValueAtIndex):
2676 (DeprecatedDOMMutationEvent::setWebScriptValueAtIndex):
2677 (DeprecatedDOMMutationEvent::setException):
2678 (DeprecatedDOMMutationEvent::type):
2679 (DeprecatedDOMMutationEvent::target):
2680 (DeprecatedDOMMutationEvent::currentTarget):
2681 (DeprecatedDOMMutationEvent::eventPhase):
2682 (DeprecatedDOMMutationEvent::bubbles):
2683 (DeprecatedDOMMutationEvent::cancelable):
2684 (DeprecatedDOMMutationEvent::timeStamp):
2685 (DeprecatedDOMMutationEvent::stopPropagation):
2686 (DeprecatedDOMMutationEvent::preventDefault):
2687 (DeprecatedDOMMutationEvent::initEvent):
2688 (DeprecatedDOMOverflowEvent::DeprecatedDOMOverflowEvent):
2689 (DeprecatedDOMOverflowEvent::AddRef):
2690 (DeprecatedDOMOverflowEvent::Release):
2691 (DeprecatedDOMOverflowEvent::throwException):
2692 (DeprecatedDOMOverflowEvent::callWebScriptMethod):
2693 (DeprecatedDOMOverflowEvent::evaluateWebScript):
2694 (DeprecatedDOMOverflowEvent::removeWebScriptKey):
2695 (DeprecatedDOMOverflowEvent::stringRepresentation):
2696 (DeprecatedDOMOverflowEvent::webScriptValueAtIndex):
2697 (DeprecatedDOMOverflowEvent::setWebScriptValueAtIndex):
2698 (DeprecatedDOMOverflowEvent::setException):
2699 (DeprecatedDOMOverflowEvent::type):
2700 (DeprecatedDOMOverflowEvent::target):
2701 (DeprecatedDOMOverflowEvent::currentTarget):
2702 (DeprecatedDOMOverflowEvent::eventPhase):
2703 (DeprecatedDOMOverflowEvent::bubbles):
2704 (DeprecatedDOMOverflowEvent::cancelable):
2705 (DeprecatedDOMOverflowEvent::timeStamp):
2706 (DeprecatedDOMOverflowEvent::stopPropagation):
2707 (DeprecatedDOMOverflowEvent::preventDefault):
2708 (DeprecatedDOMOverflowEvent::initEvent):
2709 (DeprecatedDOMWheelEvent::DeprecatedDOMWheelEvent):
2710 (DeprecatedDOMWheelEvent::AddRef):
2711 (DeprecatedDOMWheelEvent::Release):
2712 (DeprecatedDOMWheelEvent::throwException):
2713 (DeprecatedDOMWheelEvent::callWebScriptMethod):
2714 (DeprecatedDOMWheelEvent::evaluateWebScript):
2715 (DeprecatedDOMWheelEvent::removeWebScriptKey):
2716 (DeprecatedDOMWheelEvent::stringRepresentation):
2717 (DeprecatedDOMWheelEvent::webScriptValueAtIndex):
2718 (DeprecatedDOMWheelEvent::setWebScriptValueAtIndex):
2719 (DeprecatedDOMWheelEvent::setException):
2720 (DeprecatedDOMWheelEvent::type):
2721 (DeprecatedDOMWheelEvent::target):
2722 (DeprecatedDOMWheelEvent::currentTarget):
2723 (DeprecatedDOMWheelEvent::eventPhase):
2724 (DeprecatedDOMWheelEvent::bubbles):
2725 (DeprecatedDOMWheelEvent::cancelable):
2726 (DeprecatedDOMWheelEvent::timeStamp):
2727 (DeprecatedDOMWheelEvent::stopPropagation):
2728 (DeprecatedDOMWheelEvent::preventDefault):
2729 (DeprecatedDOMWheelEvent::initEvent):
2730 (DeprecatedDOMWheelEvent::view):
2731 (DeprecatedDOMWheelEvent::detail):
2732 (DeprecatedDOMWheelEvent::initUIEvent):
2733 (DeprecatedDOMWheelEvent::keyCode):
2734 (DeprecatedDOMWheelEvent::charCode):
2735 (DeprecatedDOMWheelEvent::layerX):
2736 (DeprecatedDOMWheelEvent::layerY):
2737 (DeprecatedDOMWheelEvent::pageX):
2738 (DeprecatedDOMWheelEvent::pageY):
2739 (DeprecatedDOMWheelEvent::which):
2740 * DOMHTMLClasses.cpp:
2741 (DeprecatedDOMHTMLCollection::DeprecatedDOMHTMLCollection):
2742 (DeprecatedDOMHTMLCollection::createInstance):
2743 (DeprecatedDOMHTMLCollection::QueryInterface):
2744 (DeprecatedDOMHTMLCollection::length):
2745 (DeprecatedDOMHTMLCollection::item):
2746 (DeprecatedDOMHTMLCollection::namedItem):
2747 (DeprecatedDOMHTMLOptionsCollection::QueryInterface):
2748 (DeprecatedDOMHTMLOptionsCollection::length):
2749 (DeprecatedDOMHTMLOptionsCollection::setLength):
2750 (DeprecatedDOMHTMLOptionsCollection::item):
2751 (DeprecatedDOMHTMLOptionsCollection::namedItem):
2752 (DeprecatedDOMHTMLDocument::QueryInterface):
2753 (DeprecatedDOMHTMLDocument::title):
2754 (DeprecatedDOMHTMLDocument::setTitle):
2755 (DeprecatedDOMHTMLDocument::referrer):
2756 (DeprecatedDOMHTMLDocument::domain):
2757 (DeprecatedDOMHTMLDocument::URL):
2758 (DeprecatedDOMHTMLDocument::body):
2759 (DeprecatedDOMHTMLDocument::setBody):
2760 (DeprecatedDOMHTMLDocument::images):
2761 (DeprecatedDOMHTMLDocument::applets):
2762 (DeprecatedDOMHTMLDocument::links):
2763 (DeprecatedDOMHTMLDocument::forms):
2764 (DeprecatedDOMHTMLDocument::anchors):
2765 (DeprecatedDOMHTMLDocument::cookie):
2766 (DeprecatedDOMHTMLDocument::setCookie):
2767 (DeprecatedDOMHTMLDocument::open):
2768 (DeprecatedDOMHTMLDocument::close):
2769 (DeprecatedDOMHTMLDocument::write):
2770 (DeprecatedDOMHTMLDocument::writeln):
2771 (DeprecatedDOMHTMLDocument::getElementById_):
2772 (DeprecatedDOMHTMLDocument::getElementsByName):
2773 (DeprecatedDOMHTMLElement::QueryInterface):
2774 (DeprecatedDOMHTMLElement::idName):
2775 (DeprecatedDOMHTMLElement::setIdName):
2776 (DeprecatedDOMHTMLElement::title):
2777 (DeprecatedDOMHTMLElement::setTitle):
2778 (DeprecatedDOMHTMLElement::lang):
2779 (DeprecatedDOMHTMLElement::setLang):
2780 (DeprecatedDOMHTMLElement::dir):
2781 (DeprecatedDOMHTMLElement::setDir):
2782 (DeprecatedDOMHTMLElement::className):
2783 (DeprecatedDOMHTMLElement::setClassName):
2784 (DeprecatedDOMHTMLElement::innerHTML):
2785 (DeprecatedDOMHTMLElement::setInnerHTML):
2786 (DeprecatedDOMHTMLElement::innerText):
2787 (DeprecatedDOMHTMLElement::setInnerText):
2788 (DeprecatedDOMHTMLFormElement::QueryInterface):
2789 (DeprecatedDOMHTMLFormElement::elements):
2790 (DeprecatedDOMHTMLFormElement::length):
2791 (DeprecatedDOMHTMLFormElement::name):
2792 (DeprecatedDOMHTMLFormElement::setName):
2793 (DeprecatedDOMHTMLFormElement::acceptCharset):
2794 (DeprecatedDOMHTMLFormElement::setAcceptCharset):
2795 (DeprecatedDOMHTMLFormElement::action):
2796 (DeprecatedDOMHTMLFormElement::setAction):
2797 (DeprecatedDOMHTMLFormElement::encType):
2798 (DeprecatedDOMHTMLFormElement::setEnctype):
2799 (DeprecatedDOMHTMLFormElement::method):
2800 (DeprecatedDOMHTMLFormElement::setMethod):
2801 (DeprecatedDOMHTMLFormElement::target):
2802 (DeprecatedDOMHTMLFormElement::setTarget):
2803 (DeprecatedDOMHTMLFormElement::submit):
2804 (DeprecatedDOMHTMLFormElement::reset):
2805 (DeprecatedDOMHTMLSelectElement::QueryInterface):
2806 (DeprecatedDOMHTMLSelectElement::type):
2807 (DeprecatedDOMHTMLSelectElement::selectedIndex):
2808 (DeprecatedDOMHTMLSelectElement::setSelectedIndx):
2809 (DeprecatedDOMHTMLSelectElement::value):
2810 (DeprecatedDOMHTMLSelectElement::setValue):
2811 (DeprecatedDOMHTMLSelectElement::length):
2812 (DeprecatedDOMHTMLSelectElement::form):
2813 (DeprecatedDOMHTMLSelectElement::options):
2814 (DeprecatedDOMHTMLSelectElement::disabled):
2815 (DeprecatedDOMHTMLSelectElement::setDisabled):
2816 (DeprecatedDOMHTMLSelectElement::multiple):
2817 (DeprecatedDOMHTMLSelectElement::setMultiple):
2818 (DeprecatedDOMHTMLSelectElement::name):
2819 (DeprecatedDOMHTMLSelectElement::setName):
2820 (DeprecatedDOMHTMLSelectElement::size):
2821 (DeprecatedDOMHTMLSelectElement::setSize):
2822 (DeprecatedDOMHTMLSelectElement::tabIndex):
2823 (DeprecatedDOMHTMLSelectElement::setTabIndex):
2824 (DeprecatedDOMHTMLSelectElement::add):
2825 (DeprecatedDOMHTMLSelectElement::remove):
2826 (DeprecatedDOMHTMLSelectElement::activateItemAtIndex):
2827 (DeprecatedDOMHTMLOptionElement::QueryInterface):
2828 (DeprecatedDOMHTMLOptionElement::form):
2829 (DeprecatedDOMHTMLOptionElement::defaultSelected):
2830 (DeprecatedDOMHTMLOptionElement::setDefaultSelected):
2831 (DeprecatedDOMHTMLOptionElement::text):
2832 (DeprecatedDOMHTMLOptionElement::index):
2833 (DeprecatedDOMHTMLOptionElement::disabled):
2834 (DeprecatedDOMHTMLOptionElement::setDisabled):
2835 (DeprecatedDOMHTMLOptionElement::label):
2836 (DeprecatedDOMHTMLOptionElement::setLabel):
2837 (DeprecatedDOMHTMLOptionElement::selected):
2838 (DeprecatedDOMHTMLOptionElement::setSelected):
2839 (DeprecatedDOMHTMLOptionElement::value):
2840 (DeprecatedDOMHTMLOptionElement::setValue):
2841 (DeprecatedDOMHTMLInputElement::QueryInterface):
2842 (DeprecatedDOMHTMLInputElement::defaultValue):
2843 (DeprecatedDOMHTMLInputElement::setDefaultValue):
2844 (DeprecatedDOMHTMLInputElement::defaultChecked):
2845 (DeprecatedDOMHTMLInputElement::setDefaultChecked):
2846 (DeprecatedDOMHTMLInputElement::form):
2847 (DeprecatedDOMHTMLInputElement::accept):
2848 (DeprecatedDOMHTMLInputElement::setAccept):
2849 (DeprecatedDOMHTMLInputElement::accessKey):
2850 (DeprecatedDOMHTMLInputElement::setAccessKey):
2851 (DeprecatedDOMHTMLInputElement::align):
2852 (DeprecatedDOMHTMLInputElement::setAlign):
2853 (DeprecatedDOMHTMLInputElement::alt):
2854 (DeprecatedDOMHTMLInputElement::setAlt):
2855 (DeprecatedDOMHTMLInputElement::checked):
2856 (DeprecatedDOMHTMLInputElement::setChecked):
2857 (DeprecatedDOMHTMLInputElement::disabled):
2858 (DeprecatedDOMHTMLInputElement::setDisabled):
2859 (DeprecatedDOMHTMLInputElement::maxLength):
2860 (DeprecatedDOMHTMLInputElement::setMaxLength):
2861 (DeprecatedDOMHTMLInputElement::name):
2862 (DeprecatedDOMHTMLInputElement::setName):
2863 (DeprecatedDOMHTMLInputElement::readOnly):
2864 (DeprecatedDOMHTMLInputElement::setReadOnly):
2865 (DeprecatedDOMHTMLInputElement::size):
2866 (DeprecatedDOMHTMLInputElement::setSize):
2867 (DeprecatedDOMHTMLInputElement::src):
2868 (DeprecatedDOMHTMLInputElement::setSrc):
2869 (DeprecatedDOMHTMLInputElement::tabIndex):
2870 (DeprecatedDOMHTMLInputElement::setTabIndex):
2871 (DeprecatedDOMHTMLInputElement::type):
2872 (DeprecatedDOMHTMLInputElement::setType):
2873 (DeprecatedDOMHTMLInputElement::useMap):
2874 (DeprecatedDOMHTMLInputElement::setUseMap):
2875 (DeprecatedDOMHTMLInputElement::value):
2876 (DeprecatedDOMHTMLInputElement::setValue):
2877 (DeprecatedDOMHTMLInputElement::select):
2878 (DeprecatedDOMHTMLInputElement::click):
2879 (DeprecatedDOMHTMLInputElement::setSelectionStart):
2880 (DeprecatedDOMHTMLInputElement::selectionStart):
2881 (DeprecatedDOMHTMLInputElement::setSelectionEnd):
2882 (DeprecatedDOMHTMLInputElement::selectionEnd):
2883 (DeprecatedDOMHTMLInputElement::isTextField):
2884 (DeprecatedDOMHTMLInputElement::rectOnScreen):
2885 (DeprecatedDOMHTMLInputElement::replaceCharactersInRange):
2886 (DeprecatedDOMHTMLInputElement::selectedRange):
2887 (DeprecatedDOMHTMLInputElement::setAutofilled):
2888 (DeprecatedDOMHTMLInputElement::isUserEdited):
2889 (DeprecatedDOMHTMLTextAreaElement::QueryInterface):
2890 (DeprecatedDOMHTMLTextAreaElement::defaultValue):
2891 (DeprecatedDOMHTMLTextAreaElement::setDefaultValue):
2892 (DeprecatedDOMHTMLTextAreaElement::form):
2893 (DeprecatedDOMHTMLTextAreaElement::accessKey):
2894 (DeprecatedDOMHTMLTextAreaElement::setAccessKey):
2895 (DeprecatedDOMHTMLTextAreaElement::cols):
2896 (DeprecatedDOMHTMLTextAreaElement::setCols):
2897 (DeprecatedDOMHTMLTextAreaElement::disabled):
2898 (DeprecatedDOMHTMLTextAreaElement::setDisabled):
2899 (DeprecatedDOMHTMLTextAreaElement::name):
2900 (DeprecatedDOMHTMLTextAreaElement::setName):
2901 (DeprecatedDOMHTMLTextAreaElement::readOnly):
2902 (DeprecatedDOMHTMLTextAreaElement::setReadOnly):
2903 (DeprecatedDOMHTMLTextAreaElement::rows):
2904 (DeprecatedDOMHTMLTextAreaElement::setRows):
2905 (DeprecatedDOMHTMLTextAreaElement::tabIndex):
2906 (DeprecatedDOMHTMLTextAreaElement::setTabIndex):
2907 (DeprecatedDOMHTMLTextAreaElement::type):
2908 (DeprecatedDOMHTMLTextAreaElement::value):
2909 (DeprecatedDOMHTMLTextAreaElement::setValue):
2910 (DeprecatedDOMHTMLTextAreaElement::select):
2911 (DeprecatedDOMHTMLTextAreaElement::isUserEdited):
2913 (DeprecatedDOMHTMLCollection::AddRef):
2914 (DeprecatedDOMHTMLCollection::Release):
2915 (DeprecatedDOMHTMLCollection::throwException):
2916 (DeprecatedDOMHTMLCollection::callWebScriptMethod):
2917 (DeprecatedDOMHTMLCollection::evaluateWebScript):
2918 (DeprecatedDOMHTMLCollection::removeWebScriptKey):
2919 (DeprecatedDOMHTMLCollection::stringRepresentation):
2920 (DeprecatedDOMHTMLCollection::webScriptValueAtIndex):
2921 (DeprecatedDOMHTMLCollection::setWebScriptValueAtIndex):
2922 (DeprecatedDOMHTMLCollection::setException):
2923 (DeprecatedDOMHTMLOptionsCollection::AddRef):
2924 (DeprecatedDOMHTMLOptionsCollection::Release):
2925 (DeprecatedDOMHTMLOptionsCollection::throwException):
2926 (DeprecatedDOMHTMLOptionsCollection::callWebScriptMethod):
2927 (DeprecatedDOMHTMLOptionsCollection::evaluateWebScript):
2928 (DeprecatedDOMHTMLOptionsCollection::removeWebScriptKey):
2929 (DeprecatedDOMHTMLOptionsCollection::stringRepresentation):
2930 (DeprecatedDOMHTMLOptionsCollection::webScriptValueAtIndex):
2931 (DeprecatedDOMHTMLOptionsCollection::setWebScriptValueAtIndex):
2932 (DeprecatedDOMHTMLOptionsCollection::setException):
2933 (DeprecatedDOMHTMLDocument::DeprecatedDOMHTMLDocument):
2934 (DeprecatedDOMHTMLDocument::AddRef):
2935 (DeprecatedDOMHTMLDocument::Release):
2936 (DeprecatedDOMHTMLDocument::throwException):
2937 (DeprecatedDOMHTMLDocument::callWebScriptMethod):
2938 (DeprecatedDOMHTMLDocument::evaluateWebScript):
2939 (DeprecatedDOMHTMLDocument::removeWebScriptKey):
2940 (DeprecatedDOMHTMLDocument::stringRepresentation):
2941 (DeprecatedDOMHTMLDocument::webScriptValueAtIndex):
2942 (DeprecatedDOMHTMLDocument::setWebScriptValueAtIndex):
2943 (DeprecatedDOMHTMLDocument::setException):
2944 (DeprecatedDOMHTMLDocument::nodeName):
2945 (DeprecatedDOMHTMLDocument::nodeValue):
2946 (DeprecatedDOMHTMLDocument::nodeType):
2947 (DeprecatedDOMHTMLDocument::parentNode):
2948 (DeprecatedDOMHTMLDocument::childNodes):
2949 (DeprecatedDOMHTMLDocument::firstChild):
2950 (DeprecatedDOMHTMLDocument::lastChild):
2951 (DeprecatedDOMHTMLDocument::previousSibling):
2952 (DeprecatedDOMHTMLDocument::nextSibling):
2953 (DeprecatedDOMHTMLDocument::attributes):
2954 (DeprecatedDOMHTMLDocument::ownerDocument):
2955 (DeprecatedDOMHTMLDocument::insertBefore):
2956 (DeprecatedDOMHTMLDocument::replaceChild):
2957 (DeprecatedDOMHTMLDocument::removeChild):
2958 (DeprecatedDOMHTMLDocument::appendChild):
2959 (DeprecatedDOMHTMLDocument::hasChildNodes):
2960 (DeprecatedDOMHTMLDocument::cloneNode):
2961 (DeprecatedDOMHTMLDocument::normalize):
2962 (DeprecatedDOMHTMLDocument::isSupported):
2963 (DeprecatedDOMHTMLDocument::namespaceURI):
2964 (DeprecatedDOMHTMLDocument::prefix):
2965 (DeprecatedDOMHTMLDocument::setPrefix):
2966 (DeprecatedDOMHTMLDocument::localName):
2967 (DeprecatedDOMHTMLDocument::hasAttributes):
2968 (DeprecatedDOMHTMLDocument::isSameNode):
2969 (DeprecatedDOMHTMLDocument::isEqualNode):
2970 (DeprecatedDOMHTMLDocument::textContent):
2971 (DeprecatedDOMHTMLDocument::setTextContent):
2972 (DeprecatedDOMHTMLDocument::doctype):
2973 (DeprecatedDOMHTMLDocument::implementation):
2974 (DeprecatedDOMHTMLDocument::documentElement):
2975 (DeprecatedDOMHTMLDocument::createElement):
2976 (DeprecatedDOMHTMLDocument::createDocumentFragment):
2977 (DeprecatedDOMHTMLDocument::createTextNode):
2978 (DeprecatedDOMHTMLDocument::createComment):
2979 (DeprecatedDOMHTMLDocument::createCDATASection):
2980 (DeprecatedDOMHTMLDocument::createProcessingInstruction):
2981 (DeprecatedDOMHTMLDocument::createAttribute):
2982 (DeprecatedDOMHTMLDocument::createEntityReference):
2983 (DeprecatedDOMHTMLDocument::getElementsByTagName):
2984 (DeprecatedDOMHTMLDocument::importNode):
2985 (DeprecatedDOMHTMLDocument::createElementNS):
2986 (DeprecatedDOMHTMLDocument::createAttributeNS):
2987 (DeprecatedDOMHTMLDocument::getElementsByTagNameNS):
2988 (DeprecatedDOMHTMLDocument::getElementById):
2989 (DeprecatedDOMHTMLElement::DeprecatedDOMHTMLElement):
2990 (DeprecatedDOMHTMLElement::AddRef):
2991 (DeprecatedDOMHTMLElement::Release):
2992 (DeprecatedDOMHTMLElement::throwException):
2993 (DeprecatedDOMHTMLElement::callWebScriptMethod):
2994 (DeprecatedDOMHTMLElement::evaluateWebScript):
2995 (DeprecatedDOMHTMLElement::removeWebScriptKey):
2996 (DeprecatedDOMHTMLElement::stringRepresentation):
2997 (DeprecatedDOMHTMLElement::webScriptValueAtIndex):
2998 (DeprecatedDOMHTMLElement::setWebScriptValueAtIndex):
2999 (DeprecatedDOMHTMLElement::setException):
3000 (DeprecatedDOMHTMLElement::nodeName):
3001 (DeprecatedDOMHTMLElement::nodeValue):
3002 (DeprecatedDOMHTMLElement::setNodeValue):
3003 (DeprecatedDOMHTMLElement::nodeType):
3004 (DeprecatedDOMHTMLElement::parentNode):
3005 (DeprecatedDOMHTMLElement::childNodes):
3006 (DeprecatedDOMHTMLElement::firstChild):
3007 (DeprecatedDOMHTMLElement::lastChild):
3008 (DeprecatedDOMHTMLElement::previousSibling):
3009 (DeprecatedDOMHTMLElement::nextSibling):
3010 (DeprecatedDOMHTMLElement::attributes):
3011 (DeprecatedDOMHTMLElement::ownerDocument):
3012 (DeprecatedDOMHTMLElement::insertBefore):
3013 (DeprecatedDOMHTMLElement::replaceChild):
3014 (DeprecatedDOMHTMLElement::removeChild):
3015 (DeprecatedDOMHTMLElement::appendChild):
3016 (DeprecatedDOMHTMLElement::hasChildNodes):
3017 (DeprecatedDOMHTMLElement::cloneNode):
3018 (DeprecatedDOMHTMLElement::normalize):
3019 (DeprecatedDOMHTMLElement::isSupported):
3020 (DeprecatedDOMHTMLElement::namespaceURI):
3021 (DeprecatedDOMHTMLElement::prefix):
3022 (DeprecatedDOMHTMLElement::setPrefix):
3023 (DeprecatedDOMHTMLElement::localName):
3024 (DeprecatedDOMHTMLElement::hasAttributes):
3025 (DeprecatedDOMHTMLElement::isSameNode):
3026 (DeprecatedDOMHTMLElement::isEqualNode):
3027 (DeprecatedDOMHTMLElement::textContent):
3028 (DeprecatedDOMHTMLElement::setTextContent):
3029 (DeprecatedDOMHTMLElement::tagName):
3030 (DeprecatedDOMHTMLElement::getAttribute):
3031 (DeprecatedDOMHTMLElement::setAttribute):
3032 (DeprecatedDOMHTMLElement::removeAttribute):
3033 (DeprecatedDOMHTMLElement::getAttributeNode):
3034 (DeprecatedDOMHTMLElement::setAttributeNode):
3035 (DeprecatedDOMHTMLElement::removeAttributeNode):
3036 (DeprecatedDOMHTMLElement::getElementsByTagName):
3037 (DeprecatedDOMHTMLElement::getAttributeNS):
3038 (DeprecatedDOMHTMLElement::setAttributeNS):
3039 (DeprecatedDOMHTMLElement::removeAttributeNS):
3040 (DeprecatedDOMHTMLElement::getAttributeNodeNS):
3041 (DeprecatedDOMHTMLElement::setAttributeNodeNS):
3042 (DeprecatedDOMHTMLElement::getElementsByTagNameNS):
3043 (DeprecatedDOMHTMLElement::hasAttribute):
3044 (DeprecatedDOMHTMLElement::hasAttributeNS):
3045 (DeprecatedDOMHTMLElement::focus):
3046 (DeprecatedDOMHTMLElement::blur):
3047 (DeprecatedDOMHTMLFormElement::DeprecatedDOMHTMLFormElement):
3048 (DeprecatedDOMHTMLFormElement::AddRef):
3049 (DeprecatedDOMHTMLFormElement::Release):
3050 (DeprecatedDOMHTMLFormElement::throwException):
3051 (DeprecatedDOMHTMLFormElement::callWebScriptMethod):
3052 (DeprecatedDOMHTMLFormElement::evaluateWebScript):
3053 (DeprecatedDOMHTMLFormElement::removeWebScriptKey):
3054 (DeprecatedDOMHTMLFormElement::stringRepresentation):
3055 (DeprecatedDOMHTMLFormElement::webScriptValueAtIndex):
3056 (DeprecatedDOMHTMLFormElement::setWebScriptValueAtIndex):
3057 (DeprecatedDOMHTMLFormElement::setException):
3058 (DeprecatedDOMHTMLFormElement::nodeName):
3059 (DeprecatedDOMHTMLFormElement::nodeValue):
3060 (DeprecatedDOMHTMLFormElement::setNodeValue):
3061 (DeprecatedDOMHTMLFormElement::nodeType):
3062 (DeprecatedDOMHTMLFormElement::parentNode):
3063 (DeprecatedDOMHTMLFormElement::childNodes):
3064 (DeprecatedDOMHTMLFormElement::firstChild):
3065 (DeprecatedDOMHTMLFormElement::lastChild):
3066 (DeprecatedDOMHTMLFormElement::previousSibling):
3067 (DeprecatedDOMHTMLFormElement::nextSibling):
3068 (DeprecatedDOMHTMLFormElement::attributes):
3069 (DeprecatedDOMHTMLFormElement::ownerDocument):
3070 (DeprecatedDOMHTMLFormElement::insertBefore):
3071 (DeprecatedDOMHTMLFormElement::replaceChild):
3072 (DeprecatedDOMHTMLFormElement::removeChild):
3073 (DeprecatedDOMHTMLFormElement::appendChild):
3074 (DeprecatedDOMHTMLFormElement::hasChildNodes):
3075 (DeprecatedDOMHTMLFormElement::cloneNode):
3076 (DeprecatedDOMHTMLFormElement::normalize):
3077 (DeprecatedDOMHTMLFormElement::isSupported):
3078 (DeprecatedDOMHTMLFormElement::namespaceURI):
3079 (DeprecatedDOMHTMLFormElement::prefix):
3080 (DeprecatedDOMHTMLFormElement::setPrefix):
3081 (DeprecatedDOMHTMLFormElement::localName):
3082 (DeprecatedDOMHTMLFormElement::hasAttributes):
3083 (DeprecatedDOMHTMLFormElement::isSameNode):
3084 (DeprecatedDOMHTMLFormElement::isEqualNode):
3085 (DeprecatedDOMHTMLFormElement::textContent):
3086 (DeprecatedDOMHTMLFormElement::setTextContent):
3087 (DeprecatedDOMHTMLFormElement::tagName):
3088 (DeprecatedDOMHTMLFormElement::getAttribute):
3089 (DeprecatedDOMHTMLFormElement::setAttribute):
3090 (DeprecatedDOMHTMLFormElement::removeAttribute):
3091 (DeprecatedDOMHTMLFormElement::getAttributeNode):
3092 (DeprecatedDOMHTMLFormElement::setAttributeNode):
3093 (DeprecatedDOMHTMLFormElement::removeAttributeNode):
3094 (DeprecatedDOMHTMLFormElement::getElementsByTagName):
3095 (DeprecatedDOMHTMLFormElement::getAttributeNS):
3096 (DeprecatedDOMHTMLFormElement::setAttributeNS):
3097 (DeprecatedDOMHTMLFormElement::removeAttributeNS):
3098 (DeprecatedDOMHTMLFormElement::getAttributeNodeNS):
3099 (DeprecatedDOMHTMLFormElement::setAttributeNodeNS):
3100 (DeprecatedDOMHTMLFormElement::getElementsByTagNameNS):
3101 (DeprecatedDOMHTMLFormElement::hasAttribute):
3102 (DeprecatedDOMHTMLFormElement::hasAttributeNS):
3103 (DeprecatedDOMHTMLFormElement::focus):
3104 (DeprecatedDOMHTMLFormElement::blur):
3105 (DeprecatedDOMHTMLFormElement::idName):
3106 (DeprecatedDOMHTMLFormElement::setIdName):
3107 (DeprecatedDOMHTMLFormElement::title):
3108 (DeprecatedDOMHTMLFormElement::setTitle):
3109 (DeprecatedDOMHTMLFormElement::lang):
3110 (DeprecatedDOMHTMLFormElement::setLang):
3111 (DeprecatedDOMHTMLFormElement::dir):
3112 (DeprecatedDOMHTMLFormElement::setDir):
3113 (DeprecatedDOMHTMLFormElement::className):
3114 (DeprecatedDOMHTMLFormElement::setClassName):
3115 (DeprecatedDOMHTMLFormElement::innerHTML):
3116 (DeprecatedDOMHTMLFormElement::setInnerHTML):
3117 (DeprecatedDOMHTMLFormElement::innerText):
3118 (DeprecatedDOMHTMLFormElement::setInnerText):
3119 (DeprecatedDOMHTMLSelectElement::DeprecatedDOMHTMLSelectElement):
3120 (DeprecatedDOMHTMLSelectElement::AddRef):
3121 (DeprecatedDOMHTMLSelectElement::Release):
3122 (DeprecatedDOMHTMLSelectElement::throwException):
3123 (DeprecatedDOMHTMLSelectElement::callWebScriptMethod):
3124 (DeprecatedDOMHTMLSelectElement::evaluateWebScript):
3125 (DeprecatedDOMHTMLSelectElement::removeWebScriptKey):
3126 (DeprecatedDOMHTMLSelectElement::stringRepresentation):
3127 (DeprecatedDOMHTMLSelectElement::webScriptValueAtIndex):
3128 (DeprecatedDOMHTMLSelectElement::setWebScriptValueAtIndex):
3129 (DeprecatedDOMHTMLSelectElement::setException):
3130 (DeprecatedDOMHTMLSelectElement::nodeName):
3131 (DeprecatedDOMHTMLSelectElement::nodeValue):
3132 (DeprecatedDOMHTMLSelectElement::setNodeValue):
3133 (DeprecatedDOMHTMLSelectElement::nodeType):
3134 (DeprecatedDOMHTMLSelectElement::parentNode):
3135 (DeprecatedDOMHTMLSelectElement::childNodes):
3136 (DeprecatedDOMHTMLSelectElement::firstChild):
3137 (DeprecatedDOMHTMLSelectElement::lastChild):
3138 (DeprecatedDOMHTMLSelectElement::previousSibling):
3139 (DeprecatedDOMHTMLSelectElement::nextSibling):
3140 (DeprecatedDOMHTMLSelectElement::attributes):
3141 (DeprecatedDOMHTMLSelectElement::ownerDocument):
3142 (DeprecatedDOMHTMLSelectElement::insertBefore):
3143 (DeprecatedDOMHTMLSelectElement::replaceChild):
3144 (DeprecatedDOMHTMLSelectElement::removeChild):
3145 (DeprecatedDOMHTMLSelectElement::appendChild):
3146 (DeprecatedDOMHTMLSelectElement::hasChildNodes):
3147 (DeprecatedDOMHTMLSelectElement::cloneNode):
3148 (DeprecatedDOMHTMLSelectElement::normalize):
3149 (DeprecatedDOMHTMLSelectElement::isSupported):
3150 (DeprecatedDOMHTMLSelectElement::namespaceURI):
3151 (DeprecatedDOMHTMLSelectElement::prefix):
3152 (DeprecatedDOMHTMLSelectElement::setPrefix):
3153 (DeprecatedDOMHTMLSelectElement::localName):
3154 (DeprecatedDOMHTMLSelectElement::hasAttributes):
3155 (DeprecatedDOMHTMLSelectElement::isSameNode):
3156 (DeprecatedDOMHTMLSelectElement::isEqualNode):
3157 (DeprecatedDOMHTMLSelectElement::textContent):
3158 (DeprecatedDOMHTMLSelectElement::setTextContent):
3159 (DeprecatedDOMHTMLSelectElement::tagName):
3160 (DeprecatedDOMHTMLSelectElement::getAttribute):
3161 (DeprecatedDOMHTMLSelectElement::setAttribute):
3162 (DeprecatedDOMHTMLSelectElement::removeAttribute):
3163 (DeprecatedDOMHTMLSelectElement::getAttributeNode):
3164 (DeprecatedDOMHTMLSelectElement::setAttributeNode):
3165 (DeprecatedDOMHTMLSelectElement::removeAttributeNode):
3166 (DeprecatedDOMHTMLSelectElement::getElementsByTagName):
3167 (DeprecatedDOMHTMLSelectElement::getAttributeNS):
3168 (DeprecatedDOMHTMLSelectElement::setAttributeNS):
3169 (DeprecatedDOMHTMLSelectElement::removeAttributeNS):
3170 (DeprecatedDOMHTMLSelectElement::getAttributeNodeNS):
3171 (DeprecatedDOMHTMLSelectElement::setAttributeNodeNS):
3172 (DeprecatedDOMHTMLSelectElement::getElementsByTagNameNS):
3173 (DeprecatedDOMHTMLSelectElement::hasAttribute):
3174 (DeprecatedDOMHTMLSelectElement::hasAttributeNS):
3175 (DeprecatedDOMHTMLSelectElement::focus):
3176 (DeprecatedDOMHTMLSelectElement::blur):
3177 (DeprecatedDOMHTMLSelectElement::idName):
3178 (DeprecatedDOMHTMLSelectElement::setIdName):
3179 (DeprecatedDOMHTMLSelectElement::title):
3180 (DeprecatedDOMHTMLSelectElement::setTitle):
3181 (DeprecatedDOMHTMLSelectElement::lang):
3182 (DeprecatedDOMHTMLSelectElement::setLang):
3183 (DeprecatedDOMHTMLSelectElement::dir):
3184 (DeprecatedDOMHTMLSelectElement::setDir):
3185 (DeprecatedDOMHTMLSelectElement::className):
3186 (DeprecatedDOMHTMLSelectElement::setClassName):
3187 (DeprecatedDOMHTMLSelectElement::innerHTML):
3188 (DeprecatedDOMHTMLSelectElement::setInnerHTML):
3189 (DeprecatedDOMHTMLSelectElement::innerText):
3190 (DeprecatedDOMHTMLSelectElement::setInnerText):
3191 (DeprecatedDOMHTMLOptionElement::DeprecatedDOMHTMLOptionElement):
3192 (DeprecatedDOMHTMLOptionElement::AddRef):
3193 (DeprecatedDOMHTMLOptionElement::Release):
3194 (DeprecatedDOMHTMLOptionElement::throwException):
3195 (DeprecatedDOMHTMLOptionElement::callWebScriptMethod):
3196 (DeprecatedDOMHTMLOptionElement::evaluateWebScript):
3197 (DeprecatedDOMHTMLOptionElement::removeWebScriptKey):
3198 (DeprecatedDOMHTMLOptionElement::stringRepresentation):
3199 (DeprecatedDOMHTMLOptionElement::webScriptValueAtIndex):
3200 (DeprecatedDOMHTMLOptionElement::setWebScriptValueAtIndex):
3201 (DeprecatedDOMHTMLOptionElement::setException):
3202 (DeprecatedDOMHTMLOptionElement::nodeName):
3203 (DeprecatedDOMHTMLOptionElement::nodeValue):
3204 (DeprecatedDOMHTMLOptionElement::setNodeValue):
3205 (DeprecatedDOMHTMLOptionElement::nodeType):
3206 (DeprecatedDOMHTMLOptionElement::parentNode):
3207 (DeprecatedDOMHTMLOptionElement::childNodes):
3208 (DeprecatedDOMHTMLOptionElement::firstChild):
3209 (DeprecatedDOMHTMLOptionElement::lastChild):
3210 (DeprecatedDOMHTMLOptionElement::previousSibling):
3211 (DeprecatedDOMHTMLOptionElement::nextSibling):
3212 (DeprecatedDOMHTMLOptionElement::attributes):
3213 (DeprecatedDOMHTMLOptionElement::ownerDocument):
3214 (DeprecatedDOMHTMLOptionElement::insertBefore):
3215 (DeprecatedDOMHTMLOptionElement::replaceChild):
3216 (DeprecatedDOMHTMLOptionElement::removeChild):
3217 (DeprecatedDOMHTMLOptionElement::appendChild):
3218 (DeprecatedDOMHTMLOptionElement::hasChildNodes):
3219 (DeprecatedDOMHTMLOptionElement::cloneNode):
3220 (DeprecatedDOMHTMLOptionElement::normalize):
3221 (DeprecatedDOMHTMLOptionElement::isSupported):
3222 (DeprecatedDOMHTMLOptionElement::namespaceURI):
3223 (DeprecatedDOMHTMLOptionElement::prefix):
3224 (DeprecatedDOMHTMLOptionElement::setPrefix):
3225 (DeprecatedDOMHTMLOptionElement::localName):
3226 (DeprecatedDOMHTMLOptionElement::hasAttributes):
3227 (DeprecatedDOMHTMLOptionElement::isSameNode):
3228 (DeprecatedDOMHTMLOptionElement::isEqualNode):
3229 (DeprecatedDOMHTMLOptionElement::textContent):
3230 (DeprecatedDOMHTMLOptionElement::setTextContent):
3231 (DeprecatedDOMHTMLOptionElement::tagName):
3232 (DeprecatedDOMHTMLOptionElement::getAttribute):
3233 (DeprecatedDOMHTMLOptionElement::setAttribute):
3234 (DeprecatedDOMHTMLOptionElement::removeAttribute):
3235 (DeprecatedDOMHTMLOptionElement::getAttributeNode):
3236 (DeprecatedDOMHTMLOptionElement::setAttributeNode):
3237 (DeprecatedDOMHTMLOptionElement::removeAttributeNode):
3238 (DeprecatedDOMHTMLOptionElement::getElementsByTagName):
3239 (DeprecatedDOMHTMLOptionElement::getAttributeNS):
3240 (DeprecatedDOMHTMLOptionElement::setAttributeNS):
3241 (DeprecatedDOMHTMLOptionElement::removeAttributeNS):
3242 (DeprecatedDOMHTMLOptionElement::getAttributeNodeNS):
3243 (DeprecatedDOMHTMLOptionElement::setAttributeNodeNS):
3244 (DeprecatedDOMHTMLOptionElement::getElementsByTagNameNS):
3245 (DeprecatedDOMHTMLOptionElement::hasAttribute):
3246 (DeprecatedDOMHTMLOptionElement::hasAttributeNS):
3247 (DeprecatedDOMHTMLOptionElement::focus):
3248 (DeprecatedDOMHTMLOptionElement::blur):
3249 (DeprecatedDOMHTMLOptionElement::idName):
3250 (DeprecatedDOMHTMLOptionElement::setIdName):
3251 (DeprecatedDOMHTMLOptionElement::title):
3252 (DeprecatedDOMHTMLOptionElement::setTitle):
3253 (DeprecatedDOMHTMLOptionElement::lang):
3254 (DeprecatedDOMHTMLOptionElement::setLang):
3255 (DeprecatedDOMHTMLOptionElement::dir):
3256 (DeprecatedDOMHTMLOptionElement::setDir):
3257 (DeprecatedDOMHTMLOptionElement::className):
3258 (DeprecatedDOMHTMLOptionElement::setClassName):
3259 (DeprecatedDOMHTMLOptionElement::innerHTML):
3260 (DeprecatedDOMHTMLOptionElement::setInnerHTML):
3261 (DeprecatedDOMHTMLOptionElement::innerText):
3262 (DeprecatedDOMHTMLOptionElement::setInnerText):
3263 (DeprecatedDOMHTMLInputElement::DeprecatedDOMHTMLInputElement):
3264 (DeprecatedDOMHTMLInputElement::AddRef):
3265 (DeprecatedDOMHTMLInputElement::Release):
3266 (DeprecatedDOMHTMLInputElement::throwException):
3267 (DeprecatedDOMHTMLInputElement::callWebScriptMethod):
3268 (DeprecatedDOMHTMLInputElement::evaluateWebScript):
3269 (DeprecatedDOMHTMLInputElement::removeWebScriptKey):
3270 (DeprecatedDOMHTMLInputElement::stringRepresentation):
3271 (DeprecatedDOMHTMLInputElement::webScriptValueAtIndex):
3272 (DeprecatedDOMHTMLInputElement::setWebScriptValueAtIndex):
3273 (DeprecatedDOMHTMLInputElement::setException):
3274 (DeprecatedDOMHTMLInputElement::nodeName):
3275 (DeprecatedDOMHTMLInputElement::nodeValue):
3276 (DeprecatedDOMHTMLInputElement::setNodeValue):
3277 (DeprecatedDOMHTMLInputElement::nodeType):
3278 (DeprecatedDOMHTMLInputElement::parentNode):
3279 (DeprecatedDOMHTMLInputElement::childNodes):
3280 (DeprecatedDOMHTMLInputElement::firstChild):
3281 (DeprecatedDOMHTMLInputElement::lastChild):
3282 (DeprecatedDOMHTMLInputElement::previousSibling):
3283 (DeprecatedDOMHTMLInputElement::nextSibling):
3284 (DeprecatedDOMHTMLInputElement::attributes):
3285 (DeprecatedDOMHTMLInputElement::ownerDocument):
3286 (DeprecatedDOMHTMLInputElement::insertBefore):
3287 (DeprecatedDOMHTMLInputElement::replaceChild):
3288 (DeprecatedDOMHTMLInputElement::removeChild):
3289 (DeprecatedDOMHTMLInputElement::appendChild):
3290 (DeprecatedDOMHTMLInputElement::hasChildNodes):
3291 (DeprecatedDOMHTMLInputElement::cloneNode):
3292 (DeprecatedDOMHTMLInputElement::normalize):
3293 (DeprecatedDOMHTMLInputElement::isSupported):
3294 (DeprecatedDOMHTMLInputElement::namespaceURI):
3295 (DeprecatedDOMHTMLInputElement::prefix):
3296 (DeprecatedDOMHTMLInputElement::setPrefix):
3297 (DeprecatedDOMHTMLInputElement::localName):
3298 (DeprecatedDOMHTMLInputElement::hasAttributes):
3299 (DeprecatedDOMHTMLInputElement::isSameNode):
3300 (DeprecatedDOMHTMLInputElement::isEqualNode):
3301 (DeprecatedDOMHTMLInputElement::textContent):
3302 (DeprecatedDOMHTMLInputElement::setTextContent):
3303 (DeprecatedDOMHTMLInputElement::tagName):
3304 (DeprecatedDOMHTMLInputElement::getAttribute):
3305 (DeprecatedDOMHTMLInputElement::setAttribute):
3306 (DeprecatedDOMHTMLInputElement::removeAttribute):
3307 (DeprecatedDOMHTMLInputElement::getAttributeNode):
3308 (DeprecatedDOMHTMLInputElement::setAttributeNode):
3309 (DeprecatedDOMHTMLInputElement::removeAttributeNode):
3310 (DeprecatedDOMHTMLInputElement::getElementsByTagName):
3311 (DeprecatedDOMHTMLInputElement::getAttributeNS):
3312 (DeprecatedDOMHTMLInputElement::setAttributeNS):
3313 (DeprecatedDOMHTMLInputElement::removeAttributeNS):
3314 (DeprecatedDOMHTMLInputElement::getAttributeNodeNS):
3315 (DeprecatedDOMHTMLInputElement::setAttributeNodeNS):
3316 (DeprecatedDOMHTMLInputElement::getElementsByTagNameNS):
3317 (DeprecatedDOMHTMLInputElement::hasAttribute):
3318 (DeprecatedDOMHTMLInputElement::hasAttributeNS):
3319 (DeprecatedDOMHTMLInputElement::focus):
3320 (DeprecatedDOMHTMLInputElement::blur):
3321 (DeprecatedDOMHTMLInputElement::idName):
3322 (DeprecatedDOMHTMLInputElement::setIdName):
3323 (DeprecatedDOMHTMLInputElement::title):
3324 (DeprecatedDOMHTMLInputElement::setTitle):
3325 (DeprecatedDOMHTMLInputElement::lang):
3326 (DeprecatedDOMHTMLInputElement::setLang):
3327 (DeprecatedDOMHTMLInputElement::dir):
3328 (DeprecatedDOMHTMLInputElement::setDir):
3329 (DeprecatedDOMHTMLInputElement::className):
3330 (DeprecatedDOMHTMLInputElement::setClassName):
3331 (DeprecatedDOMHTMLInputElement::innerHTML):
3332 (DeprecatedDOMHTMLInputElement::setInnerHTML):
3333 (DeprecatedDOMHTMLInputElement::innerText):
3334 (DeprecatedDOMHTMLInputElement::setInnerText):
3335 (DeprecatedDOMHTMLTextAreaElement::DeprecatedDOMHTMLTextAreaElement):
3336 (DeprecatedDOMHTMLTextAreaElement::AddRef):
3337 (DeprecatedDOMHTMLTextAreaElement::Release):
3338 (DeprecatedDOMHTMLTextAreaElement::throwException):
3339 (DeprecatedDOMHTMLTextAreaElement::callWebScriptMethod):
3340 (DeprecatedDOMHTMLTextAreaElement::evaluateWebScript):
3341 (DeprecatedDOMHTMLTextAreaElement::removeWebScriptKey):
3342 (DeprecatedDOMHTMLTextAreaElement::stringRepresentation):
3343 (DeprecatedDOMHTMLTextAreaElement::webScriptValueAtIndex):
3344 (DeprecatedDOMHTMLTextAreaElement::setWebScriptValueAtIndex):
3345 (DeprecatedDOMHTMLTextAreaElement::setException):
3346 (DeprecatedDOMHTMLTextAreaElement::nodeName):
3347 (DeprecatedDOMHTMLTextAreaElement::nodeValue):
3348 (DeprecatedDOMHTMLTextAreaElement::setNodeValue):
3349 (DeprecatedDOMHTMLTextAreaElement::nodeType):
3350 (DeprecatedDOMHTMLTextAreaElement::parentNode):
3351 (DeprecatedDOMHTMLTextAreaElement::childNodes):
3352 (DeprecatedDOMHTMLTextAreaElement::firstChild):
3353 (DeprecatedDOMHTMLTextAreaElement::lastChild):
3354 (DeprecatedDOMHTMLTextAreaElement::previousSibling):
3355 (DeprecatedDOMHTMLTextAreaElement::nextSibling):
3356 (DeprecatedDOMHTMLTextAreaElement::attributes):
3357 (DeprecatedDOMHTMLTextAreaElement::ownerDocument):
3358 (DeprecatedDOMHTMLTextAreaElement::insertBefore):
3359 (DeprecatedDOMHTMLTextAreaElement::replaceChild):
3360 (DeprecatedDOMHTMLTextAreaElement::removeChild):
3361 (DeprecatedDOMHTMLTextAreaElement::appendChild):
3362 (DeprecatedDOMHTMLTextAreaElement::hasChildNodes):
3363 (DeprecatedDOMHTMLTextAreaElement::cloneNode):
3364 (DeprecatedDOMHTMLTextAreaElement::normalize):
3365 (DeprecatedDOMHTMLTextAreaElement::isSupported):
3366 (DeprecatedDOMHTMLTextAreaElement::namespaceURI):
3367 (DeprecatedDOMHTMLTextAreaElement::prefix):
3368 (DeprecatedDOMHTMLTextAreaElement::setPrefix):
3369 (DeprecatedDOMHTMLTextAreaElement::localName):
3370 (DeprecatedDOMHTMLTextAreaElement::hasAttributes):
3371 (DeprecatedDOMHTMLTextAreaElement::isSameNode):
3372 (DeprecatedDOMHTMLTextAreaElement::isEqualNode):
3373 (DeprecatedDOMHTMLTextAreaElement::textContent):
3374 (DeprecatedDOMHTMLTextAreaElement::setTextContent):
3375 (DeprecatedDOMHTMLTextAreaElement::tagName):
3376 (DeprecatedDOMHTMLTextAreaElement::getAttribute):
3377 (DeprecatedDOMHTMLTextAreaElement::setAttribute):
3378 (DeprecatedDOMHTMLTextAreaElement::removeAttribute):
3379 (DeprecatedDOMHTMLTextAreaElement::getAttributeNode):
3380 (DeprecatedDOMHTMLTextAreaElement::setAttributeNode):
3381 (DeprecatedDOMHTMLTextAreaElement::removeAttributeNode):
3382 (DeprecatedDOMHTMLTextAreaElement::getElementsByTagName):
3383 (DeprecatedDOMHTMLTextAreaElement::getAttributeNS):
3384 (DeprecatedDOMHTMLTextAreaElement::setAttributeNS):
3385 (DeprecatedDOMHTMLTextAreaElement::removeAttributeNS):
3386 (DeprecatedDOMHTMLTextAreaElement::getAttributeNodeNS):
3387 (DeprecatedDOMHTMLTextAreaElement::setAttributeNodeNS):
3388 (DeprecatedDOMHTMLTextAreaElement::getElementsByTagNameNS):
3389 (DeprecatedDOMHTMLTextAreaElement::hasAttribute):
3390 (DeprecatedDOMHTMLTextAreaElement::hasAttributeNS):
3391 (DeprecatedDOMHTMLTextAreaElement::focus):
3392 (DeprecatedDOMHTMLTextAreaElement::blur):
3393 (DeprecatedDOMHTMLTextAreaElement::idName):
3394 (DeprecatedDOMHTMLTextAreaElement::setIdName):
3395 (DeprecatedDOMHTMLTextAreaElement::title):
3396 (DeprecatedDOMHTMLTextAreaElement::setTitle):
3397 (DeprecatedDOMHTMLTextAreaElement::lang):
3398 (DeprecatedDOMHTMLTextAreaElement::setLang):
3399 (DeprecatedDOMHTMLTextAreaElement::dir):
3400 (DeprecatedDOMHTMLTextAreaElement::setDir):
3401 (DeprecatedDOMHTMLTextAreaElement::className):
3402 (DeprecatedDOMHTMLTextAreaElement::setClassName):
3403 (DeprecatedDOMHTMLTextAreaElement::innerHTML):
3404 (DeprecatedDOMHTMLTextAreaElement::setInnerHTML):
3405 (DeprecatedDOMHTMLTextAreaElement::innerText):
3406 (DeprecatedDOMHTMLTextAreaElement::setInnerText):
3407 * Interfaces/DOMCSS.idl:
3408 * Interfaces/DOMCore.idl:
3409 * Interfaces/DOMEvents.idl:
3410 * Interfaces/DOMExtensions.idl:
3411 * Interfaces/DOMHTML.idl:
3412 * Interfaces/DOMPrivate.idl:
3413 * Interfaces/DOMRange.idl:
3414 * Interfaces/DOMWindow.idl:
3415 * Interfaces/IWebEditingDelegate.idl:
3416 * Interfaces/IWebFormDelegate.idl:
3417 * Interfaces/IWebFrame.idl:
3418 * Interfaces/IWebHTMLRepresentation.idl:
3419 * Interfaces/IWebView.idl:
3420 * WebEditorClient.cpp:
3421 (WebEditorClient::shouldDeleteRange):
3422 (WebEditorClient::shouldInsertText):
3423 (WebEditorClient::textFieldDidBeginEditing):
3424 (WebEditorClient::textFieldDidEndEditing):
3425 (WebEditorClient::textDidChangeInTextField):
3426 (WebEditorClient::doTextFieldCommandFromEvent):
3427 (WebEditorClient::textWillBeDeletedInTextField):
3428 (WebEditorClient::textDidChangeInTextArea):
3429 * WebElementPropertyBag.cpp:
3430 (WebElementPropertyBag::Read):
3432 (elementFromDOMElement):
3433 (formElementFromDOMElement):
3434 (inputElementFromDOMElement):
3435 (WebFrame::DOMDocument):
3436 (WebFrame::frameElement):
3437 (WebFrame::currentForm):
3438 (WebFrame::elementWithName):
3439 (WebFrame::formForElement):
3440 (WebFrame::elementDoesAutoComplete):
3441 (WebFrame::controlsInForm):
3442 (WebFrame::elementIsPassword):
3443 (WebFrame::searchForLabelsBeforeElement):
3444 (WebFrame::matchLabelsAgainstElement):
3445 (WebFrame::dispatchWillSubmitForm):
3447 * WebHTMLRepresentation.cpp:
3448 (WebHTMLRepresentation::attributedStringFromDOMNodes):
3449 (WebHTMLRepresentation::elementWithName):
3450 (WebHTMLRepresentation::elementDoesAutoComplete):
3451 (WebHTMLRepresentation::elementIsPassword):
3452 (WebHTMLRepresentation::formForElement):
3453 (WebHTMLRepresentation::currentForm):
3454 (WebHTMLRepresentation::controlsInForm):
3455 (WebHTMLRepresentation::searchForLabels):
3456 (WebHTMLRepresentation::matchLabels):
3457 * WebHTMLRepresentation.h:
3459 (WebView::mainFrameDocument):
3460 (WebView::computedStyleForElement):
3461 (WebView::editableDOMRangeForPoint):
3462 (WebView::setSelectedDOMRange):
3463 (WebView::selectedDOMRange):
3464 (WebView::setTypingStyle):
3465 (WebView::typingStyle):
3466 (WebView::styleDeclarationWithText):
3467 (WebView::replaceSelectionWithNode):
3468 (WebView::applyStyle):
3471 2007-08-22 Jon Honeycutt <jhoneycutt@apple.com>
3475 Refactoring of <radr://problem/5220598> Dragging URL out and back
3476 inserts a second copy of the URL
3478 * Interfaces/IWebViewPrivate.idl: Added setCustomDropTarget and
3479 removeCustomDropTarget
3481 (WebView::WebView): Initialize m_hasCustomDropTarget
3482 (WebView::setCustomDropTarget): Revoke any existing drop target and set
3483 the incoming drop target.
3484 (WebView::removeCustomDropTarget): Revoke any existing drop target and
3485 set the default drop target.
3488 2007-08-21 Ada Chan <adachan@apple.com>
3490 Fix <rdar://problem/5416630> Accelerator to open link in window in background opens window in foreground instead
3491 Placing tooltip window at the topmost in z-order brought windows that were opened in the
3492 background to the front. Use HWND_TOP instead.
3497 (WebView::initializeToolTipWindow):
3499 2007-08-21 Adam Roben <aroben@apple.com>
3501 Switch Windows to using FrameView::layoutIfNeededRecursive
3505 * WebFrame.cpp: Removed layoutIfNeededRecursive.
3506 * WebFrame.h: Ditto.
3508 (WebView::updateBackingStore): Call FrameView::layoutIfNeededRecursive.
3510 2007-08-17 Adam Roben <aroben@apple.com>
3512 Fix <rdar://5192578> Inspect Element should not appear in context menu in non-debug mode
3514 We now follow the same logic as Mac WebKit for displaying the Inspect Element item:
3515 1) If DisableWebKitDeveloperExtras is set to true, don't display it
3516 2) If not, and we're in a debug build, display it
3517 3) If not, and we're in a release build, display it if
3518 WebKitDeveloperExtras is set to true
3522 * Interfaces/IWebPreferencesPrivate.idl: Added.
3523 * WebKit.vcproj/Interfaces.vcproj: Add new IWebPreferencesPrivate.idl
3525 * WebKit.vcproj/WebKitGUID.vcproj: Added generated .c file for
3526 IWebPreferencesPrivate to project.
3527 * WebPreferenceKeysPrivate.h: Added new keys.
3528 * WebPreferences.cpp: Added IID_WebPreferences.
3529 (WebPreferences::postPreferencesChangesNotification): Added an explicit
3530 cast needed now that WebPreferences implements two interfaces.
3531 (WebPreferences::QueryInterface): Added new cases.
3532 (WebPreferences::setDeveloperExtrasEnabled): Added.
3533 (WebPreferences::developerExtrasEnabled): Added.
3534 (WebPreferences::developerExtrasDisabledByOverride): Added.
3535 * WebPreferences.h: Now implements IWebPreferencesPrivate.
3537 (WebView::updateWebCoreSettingsFromPreferences): Call developerExtrasEnabled.
3538 (WebView::developerExtrasEnabled): Ported from -[WebView _developerExtrasEnabled].
3541 2007-08-17 Adam Roben <aroben@apple.com>
3543 Add WebPreferences::sharedStandardPreferences
3545 This is a convenience method to get the standard preferences object so
3546 that within WebKit we don't have to deal with the fact that COM doesn't
3547 support static methods.
3552 (WebHistory::WebHistory): Use sharedStandardPreferences.
3553 * WebIconDatabase.cpp:
3554 (WebIconDatabase::init): Ditto.
3555 * WebPreferences.cpp:
3556 (WebPreferences::sharedStandardPreferences): Added.
3557 (WebPreferences::getInstanceForIdentifier): Use sharedStandardPreferences.
3558 (WebPreferences::standardPreferences): Ditto.
3561 (WebView::preferences): Ditto.
3563 2007-08-17 Anders Carlsson <andersca@apple.com>
3568 (WebFrame::createPlugin):
3571 2007-08-13 Geoffrey Garen <ggaren@apple.com>
3573 Reviewed by Dave Hyatt.
3575 WebKit changes to support new cache eviction model in WebCore.
3577 * WebPreferences.cpp:
3578 (WebPreferences::initialize):
3580 * WebView/WebPreferences.m: Modified to reflect new API in WebCore.
3582 (WebView::initializeCacheSizesIfNecessary): Slightly increased cache
3583 size on low memory systems to avoid affecting the PLT for now.
3585 2007-08-14 Steve Falkenburg <sfalken@apple.com>
3587 <rdar://problem/5411482> Windows user agent language always returns "en"
3589 Call WebCore::defaultLanguage() to pick up UA language.
3594 (WebView::userAgentForKURL):
3596 2007-08-15 Peter Kasting <zerodpx@gmail.org>
3600 http://bugs.webkit.org/show_bug.cgi?id=14967 part 1 - Eliminate most implicit
3601 conversions of wtf::Vector<T> to T* by explicitly calling .data()
3604 (getCompositionString):
3606 2007-08-12 Adam Roben <aroben@apple.com>
3608 Store user defaults in a non-mutable CFDictionaryRef
3610 Also renamed WebPreferences' static members:
3611 m_standardPreferences -> s_standardPreferences
3612 m_standardUserDefaults -> s_defaultSettings
3614 Reviewed by Darin and John.
3616 * WebPreferences.cpp:
3617 (WebPreferences::getInstanceForIdentifier):
3618 (WebPreferences::initializeUserDefaults): Construct the dictionary as a
3619 local CFMutableDictionaryRef, then assign it to the non-mutable static
3621 (WebPreferences::valueForKey):
3622 (WebPreferences::removeDefaultsIfNeeded):
3623 (WebPreferences::standardPreferences):
3626 2007-08-12 Adam Roben <aroben@apple.com>
3628 Fix <rdar://problem/5214504> No way to change WebPreferences defaults (all preferences get written to disk)
3630 We now only write to disk values that have been explicitly set, and
3631 never write any default values.
3633 This is not enough, however, as anyone who has used WebKit prior to
3634 this change will have the default values sitting in their preferences
3635 plist on disk. To remedy this, we perform a one-time removal of any
3636 key-value pairs that match a pair in the defaults dictionary.
3638 Reviewed by Steve, John, Ada, and Darin.
3640 * WebPreferenceKeysPrivate.h: Added new key to ensure we only remove
3642 * WebPreferences.cpp:
3643 (WebPreferences::initializeDefaultSettings): Renamed from initialize, and
3644 made sure we only set up the defaults dictionary once. Now that the
3645 defaults dictionary is never modified after creation, we don't need to
3646 check whether the keys are already present.
3647 (WebPreferences::setStringValue): Don't modify the defaults dictionary.
3648 (WebPreferences::setIntegerValue): Ditto.
3649 (WebPreferences::setBoolValue): Ditto.
3650 (WebPreferences::save): Write out the user's preferences, not the defaults.
3651 (WebPreferences::load):
3652 - Removed gotos and early declarations now that we're using
3653 RetainPtr everywhere.
3654 - Initialize m_privatePrefs with an empty dictionary if we didn't
3656 - Call migrateDefaultSettingsFromSafari3Beta after loading.
3657 (WebPreferences::migrateDefaultSettingsFromSafari3Beta): Added.
3658 (WebPreferences::removeValuesMatchingDefaultSettings): Added.
3659 (WebPreferences::initWithIdentifier): Don't initialize m_privatePrefs
3660 -- load() does this now.
3661 * WebPreferences.h: Updated/added declarations.
3663 2007-08-12 Adam Roben <aroben@apple.com>
3665 Use RetainPtr to store WebPreferences::m_privatePrefs
3669 * WebPreferences.cpp:
3670 (WebPreferences::setStringValue):
3671 (WebPreferences::setIntegerValue):
3672 (WebPreferences::setBoolValue):
3673 (WebPreferences::initWithIdentifier):
3676 2007-08-12 Adam Roben <aroben@apple.com>
3678 Fix <rdar://problem/5278790> Hole for find-on-page match in subframe isn't clipped by frame bounds
3683 (WebView::rectsForTextMatches): Ported fix from r23586.
3685 2007-08-12 Adam Roben <aroben@apple.com>
3687 Prevent an ASSERT on launch by initializing AtomicString in WebKitGraphics
3691 * WebKitGraphics.cpp:
3694 2007-08-10 Ada Chan <adachan@apple.com>
3696 Reviewed by Adam and Darin.
3698 <rdar://problem/5403095> Crash in WebViewWndProc after closing a window
3699 We are seeing another case where WM_SETFOCUS is sent after WM_DESTROY has been handled in WebView.
3700 Bail early in the wndProc if WebView is set to be destroyed.
3705 2007-08-02 Ada Chan <adachan@apple.com>
3709 <rdar://problem/5079175> Printing header and footer
3711 * Interfaces/IWebUIDelegate.idl: added methods for header/footer drawing.
3713 (WebFrame::headerAndFooterHeights): ask client for the header and
3714 footer heights via IWebUIDelegate2 methods.
3715 (WebFrame::computePageRects): pass in header and footer heights when
3716 calculating page rect heights.
3717 (WebFrame::spoolPages): ask client to draw header and footer via
3718 IWebUIDelegate2 methods.
3720 * WebKitGraphics.cpp:
3721 (DrawTextAtPoint): the code assumes color has 4 components - might as well
3724 2007-08-01 Steve Falkenburg <sfalken@apple.com>
3726 Build mod: Fix sln to match configs in vcproj.
3730 * WebKit.vcproj/WebKit.make:
3731 * WebKit.vcproj/WebKit.submit.sln:
3733 2007-07-27 Justin Garcia <justin.garcia@apple.com>
3735 Reviewed by Tristan.
3737 <rdar://problem/5098931> Attachments are lost when they are moved into a ToDo after a delete
3739 * WebEditorClient.cpp:
3740 (WebEditorClient::shouldMoveRangeAfterDelete): Method stub.
3741 * WebEditorClient.h:
3743 2007-07-27 Anders Carlsson <andersca@apple.com>
3749 * Interfaces/DOMHTML.idl:
3751 2007-07-27 Ada Chan <adachan@apple.com>
3755 Added methods to track user edited text fields now that
3756 <rdar://problem/5359921> has been fixed.
3758 * DOMHTMLClasses.cpp:
3759 (DOMHTMLInputElement::QueryInterface):
3760 (DOMHTMLInputElement::isUserEdited):
3761 (DOMHTMLTextAreaElement::QueryInterface):
3762 (DOMHTMLTextAreaElement::isUserEdited):
3764 * Interfaces/DOMPrivate.idl:
3766 2007-07-27 Adam Roben <aroben@apple.com>
3768 Fix Bug 14773: REGRESSION (r24630): ASSERT_NOT_REACHED in DOMHTMLInputElement::name on Windows
3769 http://bugs.webkit.org/show_bug.cgi?id=14773
3773 * Interfaces/DOMHTML.idl: Change IDOMHTMLInputElement back to
3774 inheriting from IDOMElement. Safari 3 Beta uses this interface, so we
3775 can't change its vtable.
3777 2007-07-25 Ada Chan <adachan@apple.com>
3779 Reviewed by Adam and Steve.
3781 Implemented some DOM methods and other fixes for <rdar://problem/5311601>.
3783 * DOMCoreClasses.cpp:
3784 (DOMNode::ownerDocument): implemented
3785 (DOMDocument::getComputedStyle): get the DOMElement via QueryInterface
3786 (DOMElement::QueryInterface):
3787 * DOMHTMLClasses.cpp:
3788 (DOMHTMLDocument::body): fixed leak
3789 (DOMHTMLFormElement::action): implemented
3790 (DOMHTMLFormElement::method): ditto
3791 (DOMHTMLInputElement::form): ditto
3792 (DOMHTMLTextAreaElement::form): ditto
3793 * Interfaces/DOMHTML.idl: IDOMHTMLInputElement should inherit from IDOMHTMLElement
3795 2007-07-24 Steve Falkenburg <sfalken@apple.com>
3797 Removed touch of WebKit.rc to prevent rebuilds of the rc file.
3798 The autoversion info can get slightly out of date now, but this isn't a huge problem relative to the rebuilds.
3800 Rubber-stamped by Adam.
3802 * WebKit.vcproj/WebKit.vcproj:
3804 2007-07-23 Steve Falkenburg <sfalken@apple.com>
3806 Fixes to versioning script.
3810 * WebKit.vcproj/auto-version.sh:
3812 2007-07-23 Adam Roben <aroben@apple.com>
3814 Implement IWebHistoryItem::[set]AlternateTitle
3816 The argument types were reversed for these two methods, so I fixed that as
3819 Reviewed by Geoff and Oliver.
3821 * Interfaces/IWebHistoryItem.idl:
3822 * WebHistoryItem.cpp:
3823 (WebHistoryItem::setAlternateTitle): Implemented.
3824 (WebHistoryItem::alternateTitle): Implemented.
3827 2007-07-23 Ada Chan <adachan@apple.com>
3831 Added a new text drawing method that allows caller to override the font smoothing level.
3833 * WebKit.vcproj/WebKit.def:
3834 * WebKit.vcproj/WebKit_debug.def:
3835 * WebKitGraphics.cpp:
3839 2007-07-22 Adam Roben <aroben@apple.com>
3841 Implement IDOMElement::setAttribute
3843 This method was mistakenly called "setResult" in DOMCore.idl, so I
3846 Needed for <rdar://problem/5314906>.
3850 * DOMCoreClasses.cpp:
3851 (DOMElement::setAttribute): Implemented/renamed.
3852 * DOMCoreClasses.h: Renamed setResult => setAttribute.
3853 * DOMHTMLClasses.h: Ditto.
3854 * Interfaces/DOMCore.idl: Ditto.
3856 2007-07-21 Ada Chan <adachan@apple.com>
3860 Fix bug 14706: http://bugs.webkit.org/show_bug.cgi?id=14706
3861 Need to set the last visited time before calling WebHistory::addItem().
3864 (WebHistory::addItemForURL):
3866 2007-07-20 Justin Garcia <justin.garcia@apple.com>
3870 <rdar://problem/5109817> Ctrl-click on word in non-editable text doesn't select it
3872 * WebEditorClient.cpp: Removed the now unused selectWordBeforeMenuEvent().
3873 * WebEditorClient.h:
3875 2007-07-20 Ada Chan <adachan@apple.com>
3879 <rdar://problem/5350832> History item's visitedCount wasn't updated correctly
3881 The call to setLastVisitedTimeInterval() in WebHistory::addItemForURL() does not
3882 really increment the visitedCount of the HistoryItem - because we only increment the count
3883 if the last visited time is different. We should initialize the HistoryItem with
3884 lastVisited time = 0 so when we call setLastVisitedTimeInterval() later, it'll update
3885 the last visited time AND the visitedCount.
3888 (WebHistory::addItemForURL):
3890 2007-07-20 Oliver Hunt <oliver@apple.com>
3894 <rdar://problem/5349668> WebKit/Win needs to send same key events during IME composition as it does on mac
3896 Removed guards against sending key events during composition, and added a flag
3897 to indicate a key event is IME related. This is needed to prevent the first
3898 keydown from firing a keypress event, and makes WebEditorClient::handleInputMethodKeypress
3901 * WebEditorClient.cpp:
3902 (WebEditorClient::handleInputMethodKeypress):
3907 (WebView::inIMEKeyDown):
3909 2007-07-19 Maciej Stachowiak <mjs@apple.com>
3913 - WebKit part of fix for <rdar://problem/5262230> Crash while loading a popup in addictinggames.com
3915 Made closeWindowSoon fire on a timer instead of happening synchronously.
3917 * WebChromeClient.cpp:
3918 (WebChromeClient::closeWindowSoon): Actually close the window on a timer, not immediately.
3919 * WebKit.vcproj/WebKit.vcproj:
3922 (WebView::closeWindowSoon):
3923 (WebView::closeWindowTimerFired):
3926 2007-07-18 Timothy Hatcher <timothy@apple.com>
3930 Make the Page with the now required InspectorClient.
3933 (WebView::initWithFrame):
3935 2007-07-18 Sam Weinig <sam@webkit.org>
3940 (WebFrame::dispatchDecidePolicyForMIMEType):
3941 (WebFrame::objectContentType):
3943 (WebView::canShowMIMEType):
3945 2007-07-17 Brady Eidson <beidson@apple.com>
3947 Blind Windows build fix from r24395
3950 (WebView::initWithFrame): BSTR, not BString
3952 2007-07-17 Brady Eidson <beidson@apple.com>
3956 <rdar://problem/4516185> - FTP Directory Listings
3958 * Interfaces/IWebUIDelegate.idl: Add IWebUIDelegate2 method for getting the path to the template
3961 (WebView::initWithFrame): Set the preference for the template path in WebCore when the first
3962 WebView is initialized
3964 2007-07-17 Ada Chan <adachan@apple.com>
3966 Rubbet-stamped by Adam.
3970 * Interfaces/IWebFramePrivate.idl:
3971 * WebContextMenuClient.cpp:
3972 (fixMenuReceivedFromOldSafari):
3974 (WebFrame::loadURLIntoChild):
3975 (WebFrame::download):
3978 2007-07-17 Adam Roben <aroben@apple.com>
3980 Fix Bug 14324: Cannot remove/customize the "Inspect Element" contextual menu item
3981 http://bugs.webkit.org/show_bug.cgi?id=14324
3983 If we detect that we're running against the Safari 3 Beta, we add back
3984 the Inspect Element menu item after passing it off to the delegate
3985 because Safari's UI delegate will remove it.
3989 * WebContextMenuClient.cpp:
3990 (isPreInspectElementTagSafari): Added.
3991 (fixMenuReceivedFromOldSafari): Added.
3992 (WebContextMenuClient::getCustomMenuFromDefaultItems): Call
3993 fixMenuReceivedFromOldSafari before returning the new menu.
3995 2007-07-17 Adam Roben <aroben@apple.com>
3997 Remove WebContextMenuClient::shouldIncludeInspectElementItem
4001 * WebContextMenuClient.cpp:
4002 * WebContextMenuClient.h:
4004 2007-07-17 Adam Roben <aroben@apple.com>
4006 Initialize Settings::developerExtrasEnabled
4011 (WebView::updateWebCoreSettingsFromPreferences):
4013 2007-07-17 Geoffrey Garen <ggaren@apple.com>
4017 * WebContextMenuClient.cpp:
4018 (WebContextMenuClient::searchWithGoogle): Pass false for lockHistory
4019 like we do elsewhere.
4021 2007-07-17 Oliver Hunt <oliver@apple.com>
4025 Fix for <rdar://problem/5339416> Candidate window does not
4026 appear in the correct location for japanese IME
4029 (WebView::prepareCandidateWindow):
4030 We now use an exclusion zone so that the composition window never
4031 overlaps the composition string
4032 (WebView::onIMERequestCharPosition):
4033 Correctly handle character offsets marked regions
4035 2007-07-16 Oliver Hunt <oliver@apple.com>
4039 Fix for <rdar://problem/5334818> Support IME reconversion in windows
4041 Also includes a small amount of IME refactoring.
4044 (WebView::onIMERequestCharPosition):
4045 (WebView::onIMERequestReconvertString):
4046 (WebView::onIMERequest):
4049 2007-07-16 Brady Eidson <beidson@apple.com>
4053 Begin the arduous task of localizing FTP directory listings while removing a global initializer!
4055 * English.lproj/Localizable.strings:
4056 * WebCoreLocalizedStrings.cpp:
4057 (WebCore::unknownFileSizeText):
4059 2007-07-16 Oliver Hunt <oliver@apple.com>
4063 Fix for <rdar://problem/5334826> Chinese IME composition window does not appear in the correct location
4065 Respect IME requests for character position.
4068 (WebView::onIMERequestCharPosition):
4069 (WebView::onIMERequest):
4072 2007-07-16 Adam Roben <aroben@apple.com>
4074 WebKit/win part of <rdar://problem/5336005> Calling window.print() on a subframe prints whole page, should only print that subframe
4078 * Interfaces/IWebUIDelegate.idl: Rename print to printFrame to closer
4079 match the Mac method, and copy more of the Mac API comments.
4080 * WebChromeClient.cpp:
4081 (WebChromeClient::print): Call printFrame instead of print.
4083 2007-07-16 Adam Roben <aroben@apple.com>
4085 Updated WebChromeClient for ChromeClient changes.
4089 * WebChromeClient.cpp:
4090 (WebChromeClient::print): Added a Frame* parameter.
4091 * WebChromeClient.h: Ditto.
4093 2007-07-16 Oliver Hunt <oliver@apple.com>
4097 Fix for http://bugs.webkit.org/show_bug.cgi?id=14630
4099 Remove bogus assertion
4102 (WebView::getIMMContext):
4104 2007-07-14 Brady Eidson <beidson@apple.com>
4108 Set the pref to override the policy delegate for FTP directory listings on Windows
4111 (WebView::updateWebCoreSettingsFromPreferences):
4113 2007-07-13 Oliver Hunt <oliver@apple.com>
4115 Reviewed by Darin and Alexey.
4117 Fix for <rdar://problem/5231528> Inline input of International text (IME)
4118 http://bugs.webkit.org/show_bug.cgi?id=14331
4120 This patch adds IME support to WebKit/win, it currently does not support
4121 reconversion (<rdar://problem/5334818>) and has issues with the chinese
4122 IMEs (<rdar://problem/5334826>)
4124 * WebEditorClient.cpp:
4125 (WebEditorClient::respondToChangedSelection):
4126 (WebEditorClient::handleInputMethodKeypress):
4127 Prevent the initial keydown for an IME from triggering a keypressed event
4135 Dynamic loader for IME libraries
4137 (WebView::getIMMContext):
4138 (WebView::releaseIMMContext):
4139 (WebView::prepareCandidateWindow):
4140 (selectionInsideMarkedText):
4141 (setSelectionToEndOfRange):
4142 (WebView::resetIME):
4143 (WebView::updateSelectionForIME):
4144 (WebView::selectionChanged):
4145 (getCompositionString):
4146 (compositionToUnderlines):
4149 (WebView::onIMEStartComposition):
4150 (WebView::onIMEComposition):
4151 (WebView::onIMEEndComposition):
4152 (WebView::onIMEChar):
4153 (WebView::onIMENotify):
4154 (WebView::onIMERequest):
4155 (WebView::onIMESelect):
4156 (WebView::onIMESetContext):
4157 IME event handling, so far most of these are not implemented, but the bulk of functionality
4158 is performed the the composition event handlers
4161 2007-07-12 Alice Liu <alice.liu@apple.com>
4163 Reviewed by Maciej and Steve.
4165 fixed <rdar://4982432> window.print() needs to be implemented
4167 * Interfaces/IWebUIDelegate.idl:
4168 * WebChromeClient.cpp:
4169 (WebChromeClient::print):
4170 * WebChromeClient.h:
4172 2007-07-11 Steve Falkenburg <sfalken@apple.com>
4174 Static analysis build fix.
4176 Only specify /analyze (PREfast) if it is available.
4177 Prevents entire project from rebuilding each time.
4181 * WebKit.vcproj/WebKit.vcproj:
4183 2007-07-10 Ada Chan <adachan@apple.com>
4189 2007-07-09 Alice Liu <alice.liu@apple.com>
4191 Reviewed by Adam Roben.
4193 Adding DOM Paste Allowed preference, setters and getters
4194 for the purpose of layout tests.
4196 * Interfaces/IWebPreferences.idl:
4197 * WebPreferenceKeysPrivate.h:
4198 * WebPreferences.cpp: