1 2009-06-15 Dan Bernstein <mitz@apple.com>
3 Reviewed by Tim Hatcher.
5 - use a nice source code font in the Web Inspector
7 * WebCoreSupport/WebInspectorClient.cpp:
8 (WebInspectorClient::createPage): Set the default monospace font to
9 13px Courier New, which is the default source code font in Visual
12 2009-06-13 Adam Barth <abarth@webkit.org>
14 Reviewed by Darin Fisher.
16 https://bugs.webkit.org/show_bug.cgi?id=24492
18 Move registerURLSchemeAsLocal from FrameLoader to SecurityOrigin.
21 (WebView::registerURLSchemeAsLocal):
23 2009-06-12 Peter Kasting <pkasting@google.com>
25 Reviewed by Eric Seidel.
27 * ChangeLog: Update my email address.
29 2009-06-03 Brent Fulgham <bfulgham@webkit.org>
31 Build fix for Windows Cairo.
33 * WebKit.vcproj/WebKit.vcproj: Remove unneeded giflib.lib
36 2009-06-01 Brent Fulgham <bfulgham@webkit.org>
38 Build fix for Cairo Windows target. Windows link definition
39 files were out of sync with the Apple Windows link files.
41 * WebKit.vcproj/WebKit_Cairo.def:
42 * WebKit.vcproj/WebKit_Cairo_debug.def:
44 2009-05-29 Adam Roben <aroben@apple.com>
46 Implement WebFrame::startDownload
48 Fixes the WebKit side of Bug 25729: Alt-clicking a link doesn't start
49 a download <https://bugs.webkit.org/show_bug.cgi?id=25729>. Fixing
50 this all the way will require a change in Safari.
52 Reviewed by Darin Adler.
55 (WebFrame::startDownload): Call through to WebView::downloadURL.
57 2009-05-29 Adam Roben <aroben@apple.com>
59 Move WebContextMenuClient's downloading code to WebView
61 This will allow other code to trigger downloads using this code, and
64 Reviewed by Darin Adler.
66 * WebCoreSupport/WebContextMenuClient.cpp:
67 (WebContextMenuClient::downloadURL): Moved code from here...
69 (WebView::downloadURL): ...to here. Also tightened up the code a
70 little bit and removed an unnecessary LOG_ERROR.
72 * WebView.h: Added downloadURL.
74 2009-05-29 Brent Fulgham <bfulgham@webkit.org>
76 Reviewed by Darin Adler.
78 Correct Windows Cairo build error caused by @r42767.
79 http://bugs.webkit.org/show_bug.cgi?id=26082.
82 (WebError::localizedDescription):
84 2009-05-23 David Kilzer <ddkilzer@apple.com>
86 Windows build fix for PassOwnPtr
89 (WebHistory::visitedURL): Changed
90 std::auto_ptr<Vector<String> >() to 0.
92 (WebHistoryItem::initFromDictionaryRepresentation): Changed type
93 of redirectURLsVector from std::auto_ptr<Vector<String> > to
94 OwnPtr<Vector<String> >.
96 2009-05-23 David Kilzer <ddkilzer@apple.com>
98 Part 2 of 2: Bug 25495: Implement PassOwnPtr and replace uses of std::auto_ptr
100 <https://bugs.webkit.org/show_bug.cgi?id=25495>
102 Reviewed by Oliver Hunt.
104 * WebCoreSupport/WebChromeClient.h:
105 (WebChromeClient::createHTMLParserQuirks): Return a PassOwnPtr<>
106 instead of a raw HTMLParserQuirks pointer.
108 2009-05-22 Brent Fulgham <bfulgham@webkit.org>
110 Reviewed by Adam Roben.
112 https://bugs.webkit.org/show_bug.cgi?id=25971
113 Correct some build errors for Windows Cairo variant.
115 * WebKit.vcproj/WebKit.vcproj: Remove WTF.lib link commands as
116 the new JavaScriptCore.dll supplies this now.
118 2009-05-22 Brent Fulgham <bfulgham@webkit.org>
120 Reviewed by Steve Falkenburg.
122 https://bugs.webkit.org/show_bug.cgi?id=25950
123 JavaScriptCore Fails to build on Windows (Cairo) due to
124 CoreFoundation link requirement.
126 * WebKit.vcproj/WebKit.sln: Modify Debug_Cairo and Release_Cairo
127 targets to use new Debug_CFLite and Release_CFLite targets
130 2009-05-21 Darin Fisher <darin@chromium.org>
134 * WebCoreSupport/WebEditorClient.cpp:
135 (WebEditorClient::getAutoCorrectSuggestionForMisspelledWord):
137 2009-05-20 Siddhartha Chattopadhyay <sidchat@google.com>
139 Reviewed by Justin Garcia.
141 Add automatic spell correction support in WebKit
143 https://bugs.webkit.org/show_bug.cgi?id=24953
145 * WebCoreSupport/WebEditorClient.cpp:
146 (WebEditorClient::getAutoCorrectSuggestionForMisspelledWord):
147 * WebCoreSupport/WebEditorClient.h:
149 2009-05-20 Brady Eidson <beidson@apple.com>
151 Reviewed by Darin Adler.
153 More protocolInHTTPFamily() cleanup.
156 (WebHistory::visitedURL):
158 2009-05-20 Holger Hans Peter Freyther <zecke@selfish.org>
160 Reviewed by Darin Adler.
162 https://bugs.webkit.org/show_bug.cgi?id=25834
164 Make ChromeClient a interface again
166 With recent additions to ChromeClient.h empty defaults were
167 added. This is bad for porters as these changes go unnoticed
168 and at runtime no notImplemented warning is logged and grepping
169 for notImplemented will not show anything. Change this Client
170 to be like the other Clients again and always have pure virtuals
171 (but for stuff inside #ifdef PLATFORM(MAC)).
173 Update the various WebKit/* implementations to compile again.
175 * WebCoreSupport/WebChromeClient.cpp:
176 (WebChromeClient::requestGeolocationPermissionForFrame):
177 * WebCoreSupport/WebChromeClient.h:
178 (WebChromeClient::scrollRectIntoView):
180 2009-05-18 Steve Falkenburg <sfalken@apple.com>
182 <rdar://problem/6899044> Can't see Apple ad on nytimes.com unless I spoof the user agent
184 Add user agent hack for pointroll.com.
186 Reviewed by Sam Weinig.
190 2009-05-13 Dmitry Titov <dimich@chromium.org>
192 Rubber-stamped by Mark Rowe.
194 https://bugs.webkit.org/show_bug.cgi?id=25746
195 Revert http://trac.webkit.org/changeset/43507 which caused crash in PPC nightlies with Safari 4.
197 * WebKit.vcproj/WebKit.def:
198 * WebKit.vcproj/WebKit_debug.def:
200 2009-05-12 Steve Falkenburg <sfalken@apple.com>
202 Build fix for Windows nightlies.
203 Change link order to work around CFNetwork bug.
205 * WebKit.vcproj/WebKit.vcproj:
207 2009-05-11 Dmitry Titov <dimich@chromium.org>
209 Reviewed by Alexey Proskuryakov and Adam Roben.
211 https://bugs.webkit.org/show_bug.cgi?id=25348
212 Change WTF::ThreadIdentifier to be an actual (but wrapped) thread id, remove ThreadMap.
214 Most of the change is in WTF and WebCore.
216 * WebKit.vcproj/WebKit.def: replaced decorated names of WTF threading functions with new ones.
217 Also, aliased the old implementations so the public Safari 4 beta can load the old WTF functions
218 which it uses. Next time Safari 4 builds, it will pick up new functions and the deprecated ones
220 * WebKit.vcproj/WebKit_debug.def: same.
222 2009-05-10 Alexey Proskuryakov <ap@webkit.org>
224 Reviewed by Dan Bernstein.
226 <rdar://problem/6870383> Have to enter credentials twice when downloading from a protected page
228 * WebDownloadCFNet.cpp: (WebDownload::didReceiveAuthenticationChallenge): Try to use
229 credentials from WebCore storage.
231 2009-05-07 Mark Rowe <mrowe@apple.com>
233 Rubber-stamped by Oliver Hunt.
235 Fix <https://bugs.webkit.org/show_bug.cgi?id=25640>.
236 Bug 25640: Crash on quit in r43384 nightly build on Leopard w/ Safari 4 beta installed
238 Roll out r43366 as it removed symbols that Safari 4 Beta uses.
240 * WebKit.vcproj/WebKit.def:
241 * WebKit.vcproj/WebKit_debug.def:
243 2009-05-06 Steve Falkenburg <sfalken@apple.com>
245 Change default value of WebKitPaintNativeControls to true.
247 Reviewed by Adam Roben.
249 * WebPreferences.cpp:
250 (WebPreferences::initializeDefaultSettings):
252 2009-05-05 Ben Murdoch <benm@google.com>
254 Reviewed by Eric Seidel.
256 Add #if ENABLE(DATABASE) guards around database code so toggling ENABLE_DATABASE off does not break builds.
257 https://bugs.webkit.org/show_bug.cgi?id=24776
260 * WebCoreSupport/WebChromeClient.cpp:
261 * WebCoreSupport/WebChromeClient.h:
262 * WebDatabaseManager.cpp:
263 * WebDatabaseManager.h:
264 * WebSecurityOrigin.cpp:
265 (WebSecurityOrigin::usage):
266 (WebSecurityOrigin::quota):
267 (WebSecurityOrigin::setQuota):
268 * WebSecurityOrigin.h:
270 (WebView::initWithFrame):
272 2009-05-04 Adam Roben <aroben@apple.com>
274 Add a call to notify the UI delegate when the WebView gets invalidated
276 Reviewed by Steve Falkenburg.
278 * Interfaces/IWebUIDelegatePrivate.idl: Added webViewDidInvalidate.
280 (WebView::addToDirtyRegion): Call webViewDidInvalidate.
282 2009-05-04 Darin Adler <darin@apple.com>
284 First try at fixing the Windows build.
286 * DOMHTMLClasses.cpp: Added include of HTMLCollection.h.
288 2009-05-01 Geoffrey Garen <ggaren@apple.com>
290 Rubber Stamped by Sam Weinig.
292 Renamed JSValuePtr => JSValue.
295 (WebView::stringByEvaluatingJavaScriptFromString):
297 2009-05-01 Pavel Feldman <pfeldman@chromium.org>
299 Reviewed by Timothy Hatcher.
301 Add a FrameLoaderClient callback for the ResourceRetrievedByXMLHttpRequest.
303 https://bugs.webkit.org/show_bug.cgi?id=25347
305 * WebCoreSupport/WebFrameLoaderClient.cpp:
306 (WebFrameLoaderClient::dispatchDidLoadResourceByXMLHttpRequest):
307 * WebCoreSupport/WebFrameLoaderClient.h:
309 2009-04-30 David Kilzer <ddkilzer@apple.com>
311 Provide a mechanism to create a quirks delegate for HTMLParser
313 Reviewed by David Hyatt.
315 * WebCoreSupport/WebChromeClient.h:
316 (WebChromeClient::createHTMLParserQuirks): Added. The default
317 implementation of this factory method returns 0.
319 2009-04-30 Pavel Feldman <pfeldman@chromium.org>
321 Reviewed by Dimitri Glazkov.
323 https://bugs.webkit.org/show_bug.cgi?id=25342
324 Add MessageSource and MessageLevel parameters to the ChromeClient::addMessageToConsole.
326 * WebCoreSupport/WebChromeClient.cpp:
327 (WebChromeClient::addMessageToConsole):
328 * WebCoreSupport/WebChromeClient.h:
330 2009-04-29 Eric Seidel <eric@webkit.org>
332 No review, rolling out a patch.
334 Revert 43020 as it caused accessibility/lists.html to fail
335 and no one is around to tell me if it's a progression or not.
337 * AccessibleBase.cpp:
340 2009-04-29 Sankar Aditya Tanguturi <sankaraditya@gmail.com>
342 Reviewed by Jon Honeycutt.
344 Add a new accessibility role for list items. Part of
345 http://bugs.webkit.org/show_id.cgi?id=20013
347 * win/AccessibleBase.cpp:
348 (MSAARole): Return ROLE_SYSTEM_LISTITEM for list item role.
350 2009-04-29 Sankar Aditya Tanguturi <sankaraditya@gmail.com>
352 Reviewed by Adele Peterson.
354 https://bugs.webkit.org/show_bug.cgi?id=23583
355 Populate role attribute for document objects correctly
358 * AccessibleDocument.cpp:
359 (AccessibleDocument::role): Return ROLE_SYSTEM_DOCUMENT for
360 document objects on windows. (Matching Firefox).
361 * AccessibleDocument.h: Add the role function prototype in
364 2009-04-22 Ada Chan <adachan@apple.com>
366 <rdar://problem/5115298> Don't get error msg when download is interrupted and cannot resume due to server unavailability
367 If we fail to get an error description back from CFNetwork, try to get the localized description
368 based on the error code.
370 Reviewed by Darin Adler.
373 (WebError::localizedDescription):
375 2009-04-21 Jon Honeycutt <jhoneycutt@apple.com>
377 Allow the UI delegate to control cursor-setting.
379 Reviewed by Ada Chan.
381 * Interfaces/IWebUIDelegatePrivate.idl:
382 Added a function to the IWebUIDelegatePrivate5 interface.
384 * WebCoreSupport/WebChromeClient.cpp:
385 (WebChromeClient::setCursor):
386 Try to call the UI delegate's webViewSetCursor() method. If it fails,
387 fall back to calling SetCursor() with the passed cursor.
389 * WebCoreSupport/WebChromeClient.h:
393 Call the Chrome's setCursor() method with the last set cursor.
395 2009-04-21 Dan Bernstein <mitz@apple.com>
397 Reviewed by Jon Honeycutt.
399 - Windows part of fixing <rdar://problem/6755137> Action dictionary for
400 policy decision is missing keys when full-page zoom is used
402 * WebActionPropertyBag.cpp:
403 (WebActionPropertyBag::Read): Use absoluteLocation() instead of
404 clientX() and clientY(), which are adjusted for zoom.
406 2009-04-21 Dan Bernstein <mitz@apple.com>
408 Reviewed by Jon Honeycutt.
410 - implement DOMNode::nodeName()
412 * DOMCoreClasses.cpp:
415 2009-04-21 Steve Falkenburg <sfalken@apple.com>
417 Minor clean-ups to WebKitCreateInstance change.
419 Reviewed by Jon Honeycutt.
423 (WebKitCreateInstance):
425 2009-04-21 Steve Falkenburg <sfalken@apple.com>
427 Add registry-free CoCreateInstance API for WebKit clients: WebKitCreateInstance.
429 Manifest-based registry-free COM continues to work for clients that have embedded
430 manifests with isolated COM information.
432 Reviewed by Adam Roben.
434 * WebKit.vcproj/WebKit.def: Added WebKitCreateInstance.
435 * WebKit.vcproj/WebKit.vcproj: Link against rpcrt4.dll for UUID hashing.
436 * WebKit.vcproj/WebKit_debug.def: Added WebKitCreateInstance.
437 * WebKitCOMAPI.cpp: Added.
440 (CLSIDHashTraits::constructDeletedValue):
441 (CLSIDHashTraits::isDeletedValue):
443 (WebKitCreateInstance): New API.
444 * WebKitCOMAPI.h: Added.
446 2009-04-21 Adam Roben <aroben@apple.com>
448 Rename JavaScriptCore_debug.dll to JavaScriptCore.dll in the Debug
451 This matches the naming scheme for WebKit.dll, and will be necessary
452 once Safari links against JavaScriptCore.dll. This change also causes
453 run-safari not to fail (because the launcher printed by FindSafari was
454 always looking for JavaScriptCore.dll, never
455 JavaScriptCore_debug.dll).
457 Part of Bug 25305: can't run safari or drt on windows
458 <https://bugs.webkit.org/show_bug.cgi?id=25305>
460 Reviewed by Steve Falkenburg and Sam Weinig.
462 * WebKit.vcproj/WebKit.vcproj: Use $(WebKitDLLConfigSuffix) for naming
463 JavaScriptCore.{dll,lib}.
465 2009-04-20 Adam Roben <aroben@apple.com>
470 (MemoryStream::Clone): Fix typo introduced when implementing
471 suggestions from patch review.
473 2009-04-20 Adam Roben <aroben@apple.com>
475 First part of <rdar://6395825> It takes over 20 sec to launch Safari
476 with 500KB history file
478 This ports the changes that were made to WebKit/mac's WebHistory
479 implementation in r25275 to WebKit/win. WebHistory now stores a
480 HashMap from CFAbsoluteTime (stored as int64_t) to CFArray of
481 IWebHistoryItem*. The HashMap lets us look up the CFArray for a
482 particular day's history in constant time rather than linear time. The
483 precise reasons why we store the CFAbsoluteTime as an int64_t are lost
484 to the mists of time, but it is likely because these CFAbsoluteTimes
485 never have a decimal part, and integer comparisons are faster than
486 floating-point comparisons, so storing them as int64_t should improve
487 performance without losing precision. We also now use a binary search
488 instead of a linear search when determining the index at which to
489 insert a WebHistoryItem into its day's CFArray.
491 This patch reduces the time needed to load a 100,000-item
492 History.plist from ~15 seconds to ~7.5 seconds. Further improvements
493 could likely be made by reducing the number of string conversions,
494 reducing calls to CFTimeZone functions, and removing all the
495 WebHistoryItemsAdded notifications that are sent (Mac doesn't send any
496 while loading history).
498 Reviewed by Darin Adler.
501 (WebHistoryWriter::WebHistoryWriter): Changed to take a
502 DateToEntriesMap instead of a CFArrayRef. Initialize m_dateKeys to
503 contain the keys from m_entriesByDate in ascending order.
504 (WebHistoryWriter::writeHistoryItems): Now loops through m_dateKeys in
505 reverse order and gets the entries array from the DateToEntriesMap.
506 (WebHistory::WebHistory): Removed code to initialize
507 m_datesWithEntries (which has been removed) and m_entriesByDate (which
508 has been converted to a HashMap).
509 (WebHistory::removeAllItems): Clear out m_entriesByDate and
510 m_orderedLastVisitedDays.
511 (WebHistory::orderedLastVisitedDays): If we don't already have a
512 cached m_orderedLastVisitedDays array, create one by converting the
513 keys from m_entriesByDate to DATEs and sorting them in descending
514 order. Then copy m_orderedLastVisitedDays to the output buffer.
515 (WebHistory::orderedItemsLastVisitedOnDay): Updated to use findKey
516 instead of findIndex and to treat m_entriesByDate as a HashMap.
517 Now that the items in each day's CFArray are stored in descending
518 order (newest to oldest), we don't have to reverse them when filling
519 in the output buffer. (The old comment about putting the items in
520 oldest-to-newest order was incorrect -- it was putting them in
521 newest-to-oldest order.)
523 (WebHistory::addItemToDateCaches):
524 (WebHistory::removeItemFromDateCaches):
525 Changed to use findKey instead of findIndex and to treat
526 m_entriesByDate as a HashMap. If we're adding a key to or removing a
527 key from m_entriesByDate, also clear m_orderedLastVisitedDays so that
528 we will regenerate it for the current set of keys the next time it is
531 (timeIntervalForBeginningOfDay): Added. Returns the CFAbsoluteTime
532 that corresponds to the beginning of the day in which the passed-in
534 (WebHistory::findKey): Returns the key used in m_entriesByDate to
535 store the CFArray that should contain the IWebHistoryItem that
536 corresponds to the passed-in DATE. Replaces findIndex.
537 (WebHistory::insertItem): Changed to treat m_entriesByDate as a
538 HashMap rather than a CFArray. We now optimize for inserting at the
539 beginning and end of the array, and use a binary rather than linear
540 search when inserting into the middle of the array.
541 (WebHistory::data): Changed to treat m_entriesByDate as a HashMap.
543 * WebHistory.h: Changed m_entriesByDate to a DateToEntriesMap, removed
544 m_datesWithEntries, added m_orderedLastVisitedDays.
546 2009-04-20 Adam Roben <aroben@apple.com>
548 Change MemoryStream::createInstance to return a COMPtr
550 Part of Bug 25294: All WebKit/win classes should return COMPtrs from
551 their static constructor members
552 <https://bugs.webkit.org/show_bug.cgi?id=25294>
554 Reviewed by Darin Adler.
557 (MemoryStream::createInstance): Changed to return a COMPtr.
558 (MemoryStream::Clone): Updated for createInstance change.
559 * MemoryStream.h: Changed createInstance to return a COMPtr.
563 * WebCoreSupport/EmbeddedWidget.cpp:
564 (EmbeddedWidget::didReceiveData):
566 (WebDataSource::data):
569 * WebIconFetcher.cpp:
570 (WebIconFetcherClient::finishedFetchingIcon):
572 (WebResource::createInstance):
573 Updated for changes to MemoryStream::createInstance.
575 2009-04-20 Adam Roben <aroben@apple.com>
577 Fix Bug 25295: Remove WebKit/win code that was used for Drosera
580 <https://bugs.webkit.org/show_bug.cgi?id=25295>
582 Reviewed by Sam Weinig.
584 * ForEachCoClass.h: Removed WebScriptDebugServer.
586 * Interfaces/WebKit.idl: Removed WebScriptDebugServer and references
587 to removed IDL files.
589 * WebKit.vcproj/Interfaces.vcproj:
590 * WebKit.vcproj/WebKit.vcproj:
591 Removed IDL and source files for IWebScriptCallFrame,
592 IWebScriptDebugListener, IWebScriptDebugServer, WebScriptCallFrame,
593 and WebScriptDebugServer.
595 * WebCoreSupport/WebFrameLoaderClient.cpp:
596 * WebKitClassFactory.cpp:
598 Removed #includes of WebScriptDebugServer.h.
600 * Interfaces/IWebScriptCallFrame.idl: Removed.
601 * Interfaces/IWebScriptDebugListener.idl: Removed.
602 * Interfaces/IWebScriptDebugServer.idl: Removed.
603 * WebScriptCallFrame.cpp: Removed.
604 * WebScriptCallFrame.h: Removed.
605 * WebScriptDebugServer.cpp: Removed.
606 * WebScriptDebugServer.h: Removed.
608 2009-04-20 Steve Falkenburg <sfalken@apple.com>
610 Separate JavaScriptCore.dll from WebKit.dll.
611 Slight performance improvement or no change on benchmarks.
613 Allows us to break a circular dependency between CFNetwork and WebKit on Windows,
614 and simplifies standalone JavaScriptCore builds.
616 Reviewed by Oliver Hunt.
618 * WebKit.vcproj/WebKit.def: Mark JavaScriptCore re-exports as deprecated.
619 * WebKit.vcproj/WebKit.vcproj: Link against JavaScriptCore.dll
620 * WebKit.vcproj/WebKit_debug.def: Mark JavaScriptCore re-exports as deprecated.
622 2009-04-17 Ada Chan <adachan@apple.com>
624 <rdar://problem/6803905> Lots of ASSERTs firing when trying to clear history
626 Reviewed by Steve Falkenburg.
629 (WebHistory::data): Return null if there are no history items.
631 2009-04-17 Ada Chan <adachan@apple.com>
633 - Fix a leak in WebHistoryItem::children() by adopting the created instance of WebHistoryItem.
634 - Remove the unnecessary call to QueryInterface() which is not related to the leak.
636 Reviewed by Adam Roben.
638 * WebHistoryItem.cpp:
639 (WebHistoryItem::children):
641 2009-04-17 Ada Chan <adachan@apple.com>
643 Fix a leak in WebHistory::data().
645 Reviewed by Adam Roben.
650 2009-04-16 Alice Liu <alice.liu@apple.com>
652 Reviewed by Mark Rowe.
654 Fix for heavy leakage of WebURLResponses seen during the stress test
656 * WebCoreSupport/WebFrameLoaderClient.cpp:
657 (WebFrameLoaderClient::shouldCacheResponse):
659 2009-04-16 Xan Lopez <xlopez@igalia.com>
661 Unreviewed build fix.
665 2009-04-16 Xan Lopez <xlopez@igalia.com>
667 Reviewed by Sam Weinig.
669 https://bugs.webkit.org/show_bug.cgi?id=25241
670 Remove superfluous NotImplemented.h includes
672 * WebDownloadCFNet.cpp:
673 * WebURLAuthenticationChallengeSender.cpp:
676 2009-04-14 Adam Roben <aroben@apple.com>
678 Remove support for profile-guided optimization on Windows
680 Rubber-stamped by Steve Falkenburg.
682 * WebKit.vcproj/WebKit.vcproj: Removed the Release_PGOInstrument and
683 Release_PGOOptimize configurations.
685 2009-04-13 Adam Roben <aroben@apple.com>
687 Windows part 2 of <rdar://5438063> Saving history containing 100,000
688 entries causes pauses of 2s while browsing
690 Reviewed by Brady Eidson.
692 * Interfaces/IWebHistoryPrivate.idl: Added data, analagous to
693 WebKit/mac's -[WebHistory _data] method.
696 (WebHistory::saveHistoryGuts): Changed to call data() to get the data for
698 (WebHistory::data): Added. Returns the data for saving as an IStream.
699 (WebHistory::data): Added. Returns the data for saving as a CFDataRef.
701 * WebHistory.h: Added data.
703 2009-04-10 Steve Falkenburg <sfalken@apple.com>
705 <rdar://problem/6676024> REGRESSION (PB-40B1): Safari crashes on launch on tablet PC
707 r21436 changed the semantics of AXObjectCache::get() to not create
708 objects on demand. Changing this get() call into a getOrCreate() call
711 Rubber stamped by Jon Honeycutt.
713 * AccessibleDocument.cpp:
714 (AccessibleDocument::AccessibleDocument):
716 2009-04-10 Adam Roben <aroben@apple.com>
718 Add our invidual IDL files back to Interfaces.vcproj, but disable them
720 This allows the IDL files to be found in Solution Explorer.
722 Rubber-stamped in advance by Steve Falkenburg.
724 * WebKit.vcproj/Interfaces.vcproj:
726 2009-04-09 Adam Roben <aroben@apple.com>
728 Windows part 1 of <rdar://problem/5438063> Saving history containing
729 100,000 entries causes pauses of 2s while browsing
731 Use HistoryPropertyListWriter to implement IWebHistory::saveToURL.
733 Reviewed by Darin Adler.
736 (WebHistoryWriter::WebHistoryWriter): Added.
737 (WebHistoryWriter::writeHistoryItems): Added. Loop backwards through
738 the entries for each date, and pass the corresponding
739 WebCore::HistoryItem to writeHistoryItem.
740 (WebHistory::saveHistoryGuts): Use WebHistoryWriter to serialize
741 m_entriesByDate, then write the serialized data to disk using
744 * WebHistory.h: Removed datesArray.
746 2009-04-08 Adam Roben <aroben@apple.com>
748 Fix security/block-test-no-port.html on Windows
750 Reviewed by Beth Dakin.
752 * WebMutableURLRequest.cpp:
753 (WebMutableURLRequest::mainDocumentURL): Return the ResourceRequest's
754 mainDocumentURL, not its URL.
756 2009-04-01 Darin Adler <darin@apple.com>
758 Reviewed by Geoff Garen.
760 Bug 22378: Crash submitting a form when parsing an XHTML document
761 https://bugs.webkit.org/show_bug.cgi?id=22378
762 rdar://problem/6388377
765 (WebFrame::dispatchWillSubmitForm): Updated for the new
766 textFieldValues function in FormState.
768 2009-03-30 Adam Roben <aroben@apple.com>
770 Build fixes after recent FrameLoader changes
772 * WebCoreSupport/WebContextMenuClient.cpp:
773 (WebContextMenuClient::searchWithGoogle): Updated to match
774 urlSelected's current signature. We pass true for the userGesture
775 parameter, since the user must have selected this item from the
778 * WebCoreSupport/WebFrameLoaderClient.cpp: Removed
779 loadURLIntoChildFrame.
780 (WebFrameLoaderClient::createFrame): Changed to call
781 FrameLoader::loadURLIntoChildFrame. This probably should have been
782 done way back around r31281 when that function was added.
784 * WebCoreSupport/WebFrameLoaderClient.h: Removed
785 loadURLIntoChildFrame.
787 2009-03-27 Adam Roben <aroben@apple.com>
789 Don't include substitute data URLs in global history redirect chains
793 Reviewed by Darin Adler.
795 * WebCoreSupport/WebFrameLoaderClient.cpp:
796 (WebFrameLoaderClient::updateGlobalHistory): Don't call
797 updateGlobalHistoryRedirectLinks. FrameLoader calls this for us now.
798 (WebFrameLoaderClient::updateGlobalHistoryRedirectLinks):
799 Added an assertion to help catch cases where we might be adding a
800 substitute data URL into a redirect chain.
802 2009-03-26 Dan Bernstein <mitz@apple.com>
804 Reviewed by Adam Roben.
806 - add close() to the WebView API.
808 * Interfaces/IWebView.idl:
813 2009-03-24 Brent Fulgham <bfulgham@webkit.org>
815 Reviewed by Adam Roben.
817 https://bugs.webkit.org/show_bug.cgi?id=24779
818 Conditionalize CFNetwork-specific code in WebView to permit
819 support for other network backends.
822 (WebView::setCacheModel): Add CFNETWORK check around CFNetwork
823 specific cache implementation.
824 (updateSharedSettingsFromPreferencesIfNeeded): Add CFNETWORK
825 check around use of CFHTTPCookie code.
827 2009-03-23 Sam Weinig <sam@webkit.org>
829 Reviewed by Dan Bernstein.
831 Fix for <rdar://problem/6140966>
832 Empty Caches does not clear the Cross-site XMLHttpRequest preflight cache
835 (WebCache::empty): Also add application cache emptying to match the mac.
837 2009-03-18 Steve Falkenburg <sfalken@apple.com>
839 Add webViewClosing to private UI delegate.
841 Reviewed by Adam Roben.
843 * Interfaces/IWebUIDelegatePrivate.idl:
844 * Interfaces/WebKit.idl:
848 2009-03-17 Dan Bernstein <mitz@apple.com>
850 Reviewed by Adam Roben.
852 - WebKit part of adding a mechanism for controlling the caching of
853 responses through WebFrameLoaderClient
855 * Interfaces/IWebResourceLoadDelegatePrivate.idl: Added the
856 IWebResourceLoadDelegatePrivate3 interface, containing the new
857 delegate method shouldCacheResponse().
859 * Interfaces/IWebURLRequest.idl: Added the isEqual() method.
861 * WebCoreSupport/WebFrameLoaderClient.cpp:
862 (WebFrameLoaderClient::shouldCacheResponse): Implemented this new
863 FrameLoaderDelegate method by calling through to the resource load
864 delegate, if it implements shouldCacheResponse(), and returning true
867 * WebCoreSupport/WebFrameLoaderClient.h:
869 * WebMutableURLRequest.cpp:
870 (WebMutableURLRequest::isEqual): Added.
871 (WebMutableURLRequest::setValue): Implemented.
873 * WebMutableURLRequest.h: Declared isEqual().
875 2009-03-16 Darin Adler <darin@apple.com>
877 Reviewed by Dan Bernstein.
879 <rdar://problem/6577174> Rename the text directionality submenus to “Paragraph Direction” and “Selection Direction”
881 For now, change only the localized strings, not the terminology in the code.
883 * WebCoreLocalizedStrings.cpp:
884 (WebCore::contextMenuItemTagWritingDirectionMenu): Changed string here.
885 (WebCore::contextMenuItemTagTextDirectionMenu): And here.
887 2009-03-16 Adam Roben <aroben@apple.com>
889 Add IWebFramePrivate::isDisplayingStandaloneImage
891 This uses the same logic that -[WebFrame _isDisplayingStandaloneImage]
894 Reviewed by Darin Adler.
896 * Interfaces/IWebFramePrivate.idl: Added isDisplayingStandaloneImage.
899 (WebFrame::isDisplayingStandaloneImage): Added. Returns true if our
900 Document is an image document.
902 * WebFrame.h: Added isDisplayingStandaloneImage.
904 2009-03-12 Peter Kasting <pkasting@google.com>
906 Reviewed by Darin Fisher.
908 https://bugs.webkit.org/show_bug.cgi?id=24502
909 Make horizontal scrolling on Windows always go the correct direction.
912 (WebView::mouseWheel):
916 2009-03-12 Adam Roben <aroben@apple.com>
918 Implement DOMHTMLDocument::title
920 Reviewed by Dan Bernstein.
922 * DOMHTMLClasses.cpp:
923 (DOMHTMLDocument::title): Call through to WebCore::Document (with
924 obligatory COM error checking/type conversions).
926 2009-03-11 Adam Roben <aroben@apple.com>
928 Export functions needed by ThreadSpecific from WebKit
930 Reviewed by John Sullivan.
932 * WebKit.vcproj/WebKit.def:
933 * WebKit.vcproj/WebKit_debug.def:
934 Export WTF::tlsKeyCount and WTF::tlsKeys.
936 2009-03-10 Steve Falkenburg <sfalken@apple.com>
938 <rdar://problem/6662167> When clicking in Top Sites search field, WebHistory::findIndex fails causing crash in BookmarksSearcher::collectHistorySearchResults
940 Round CFAbsoluteDates to the nearest second when converting to/from the Windows DATE format.
942 This corrects for inaccuracies introduced by round-tripping between DATE (day based) and CFAbsoluteDate (second based).
943 The WebKit COM API on Windows uses DATE, while our history storage uses CFAbsoluteTime. This could lead to WebKit
944 saying there was browsing history for a particular day, and then return no history items when we requested a
945 list of sites visited that day.
947 Reviewed by Ada Chan.
949 * MarshallingHelpers.cpp:
950 (MarshallingHelpers::DATEToCFAbsoluteTime):
951 (MarshallingHelpers::CFAbsoluteTimeToDATE):
953 2009-03-08 Mark Rowe <mrowe@apple.com>
955 Reviewed by Oliver Hunt.
957 Split ScrollAlignment and ScrollBehavior out of RenderLayer.h so that
958 Frame.h no longer needs to include it. This cuts the size of the symbols
959 for a debug build by around 3%.
962 (WebView::centerSelectionInVisibleArea):
964 2009-03-07 Dan Bernstein <mitz@apple.com>
966 Reviewed by Mark Rowe.
968 - WebKit part of removing build-time and run-time support for legacy
969 versions of CFNetwork and Core Graphics
972 (WebView::setCacheModel):
974 2009-03-04 Adam Barth <abath@webkit.org>
976 Reviewed by Alexey Proskuryakov.
978 https://bugs.webkit.org/show_bug.cgi?id=24356
980 Fix WebKit style for allowUniversalAccessFromFileURLs.
982 * Interfaces/IWebPreferencesPrivate.idl:
983 * WebPreferenceKeysPrivate.h:
984 * WebPreferences.cpp:
985 (WebPreferences::initializeDefaultSettings):
986 (WebPreferences::allowUniversalAccessFromFileURLs):
987 (WebPreferences::setAllowUniversalAccessFromFileURLs):
990 (WebView::notifyPreferencesChanged):
992 2009-02-27 Adam Barth <abarth@webkit.org>
994 Reviewed by Eric Seidel.
996 Add a preference to reduce the power of file:// URLs.
998 * Interfaces/IWebPreferencesPrivate.idl:
999 * WebPreferenceKeysPrivate.h:
1000 * WebPreferences.cpp:
1001 (WebPreferences::initializeDefaultSettings):
1002 (WebPreferences::allowUniversalAccessFromFileUrls):
1003 (WebPreferences::setAllowUniversalAccessFromFileUrls):
1006 (WebView::notifyPreferencesChanged):
1008 2009-02-19 Alexey Proskuryakov <ap@webkit.org>
1010 Reviewed by Darin Adler.
1012 https://bugs.webkit.org/show_bug.cgi?id=24024
1013 REGRESSION (r39845): Assertion failure in -[WebHistoryItem dictionaryRepresentation] when
1014 archiving a submission to about:blank
1016 I don't know how to make an automated test for this bug.
1018 * WebHistory.cpp: (WebHistory::visitedURL): Account for the fact that HTTP method may be
1019 non-empty for non-HTTP requests.
1021 2009-02-25 Andreia Gaita <shana@jitted.com>
1023 Reviewed by Alp Toker.
1025 Update Win def files with recent JavaScriptCore API additions.
1027 * WebKit.vcproj/WebKit.def:
1028 * WebKit.vcproj/WebKit_Cairo.def:
1029 * WebKit.vcproj/WebKit_debug.def:
1031 2009-02-24 Sam Weinig <sam@webkit.org>
1033 Reviewed by Geoffrey Garen.
1035 Related to <rdar://problem/6590295>
1036 Allow disabling javascript: urls.
1038 * Interfaces/IWebViewPrivate.idl:
1040 (WebView::setJavaScriptURLsAreAllowed):
1043 2009-02-24 Adam Roben <aroben@apple.com>
1047 * WebKit.vcproj/WebKit.def:
1048 * WebKit.vcproj/WebKit_debug.def:
1049 Export WTF::ThreadCondition::timedWait.
1051 2009-02-12 Brady Eidson <beidson@apple.com>
1053 Reviewed by Kevin Decker
1055 <rdar://problem/6582180> - Wrong HTTP method applied to history item.
1057 * WebCoreSupport/WebFrameLoaderClient.cpp:
1058 (WebFrameLoaderClient::updateGlobalHistory): Check the original request, not any
1061 2009-02-11 Brady Eidson <beidson@apple.com>
1063 Fix my last checkin for more effect.
1065 * WebHistoryItem.cpp:
1066 (WebHistoryItem::initFromDictionaryRepresentation):
1068 2009-02-11 Adam Roben <aroben@apple.com>
1070 Windows fix for Bug 22239: Implement missing animation & transition
1071 APIs on LayoutTestController for non-mac platforms
1073 <https://bugs.webkit.org/show_bug.cgi?id=22239>
1075 Reviewed by Simon Fraser.
1077 * Interfaces/IWebFramePrivate.idl: Added pauseAnimation,
1078 pauseTransition, and numberOfActiveAnimations.
1081 (WebFrame::pauseAnimation):
1082 (WebFrame::pauseTransition):
1083 (WebFrame::numberOfActiveAnimation):
1084 Added. These all call through to AnimationController.
1086 * WebFrame.h: Added pauseAnimation, pauseTransition, and
1087 numberOfActiveAnimations.
1089 2009-02-11 Brady Eidson <beidson@apple.com>
1091 Reviewed by Mark Rowe
1093 <rdar://problem/6570573> Some visit counts in History.plist have insanely high values, can roll over to negative
1095 Remove the item from the date caches before registering the visit. Otherwise it might not be successfully removed
1096 and when we add it back later it will exist in the list twice. This will cause the entry to be written out twice,
1097 which would lead to doubling (or more!) the visit count on next launch when these multiple items are merged.
1100 (WebHistory::loadHistoryGutsFromURL):
1101 (WebHistory::addItems):
1102 (WebHistory::addItem): Add a mode that allows the entry being added to be discarded if an entry for the URL already
1103 exists. Use that mode when reading the History.plist so only the most recent entry for a given URL will be used.
1104 (WebHistory::visitedURL): Swap the removeItemFromDateCaches and visitedWithTitle calls.
1107 * WebHistoryItem.cpp:
1108 (WebHistoryItem::initFromDictionaryRepresentation): Add the negative-visit-count-correction-logic as implemented
1109 for Mac in http://trac.webkit.org/changeset/40851.
1111 2009-02-11 Dimitri Dupuis-latour <dupuislatour@apple.com>
1113 Stub out WebInspectorClient::hiddenPanels.
1115 Reviewed by Timothy Hatcher.
1117 * WebCoreSupport/WebInspectorClient.cpp:
1118 (WebInspectorClient::hiddenPanels):
1119 * WebCoreSupport/WebInspectorClient.h:
1121 2009-02-11 Adam Roben <aroben@apple.com>
1123 Don't release the shared WebHistory instance on quit
1125 This matches Mac, and prevents a race condition when the process exits
1126 that depends on the order in which global destructors are invoked.
1128 Reviewed by Alexey Proskuryakov.
1131 (sharedHistoryStorage): Changed to use DEFINE_STATIC_LOCAL so the
1132 destructor is never called.
1134 2009-02-10 Adam Roben <aroben@apple.com>
1136 Fix recursive WebView destruction when running DumpRenderTree
1138 DumpRenderTree would call DestroyWindow on a WebView's host window,
1139 which would send a WM_DESTROY message to the WebView's window. Inside
1140 the WebView's WndProc, we would hold a ref to the WebView, then call
1141 close() and revokeDragDrop(), which would release all remaining
1142 references to the WebView other than the ref we held in the WndProc.
1143 When the WndProc exited, the final ref to the WebView would be
1144 released, invoking WebView's destructor. At this point,
1145 IsWindow(m_viewWindow) would return true, since we were still in the
1146 process of handling WM_DESTROY, so we would call DestroyWindow on the
1147 WebView's window again, re-entering the WndProc and re-reffing the
1148 WebView, leading to recursive destruction.
1150 Reviewed by Alexey Proskuryakov.
1153 (WebView::~WebView): Don't call DestroyWindow if our window is already
1155 (WebViewWndProc): Only hold an extra ref to the WebView when we're not
1158 2009-02-06 Adam Roben <aroben@apple.com>
1162 Reviewed by Sam Weinig.
1164 * WebCoreSupport/WebFrameLoaderClient.cpp: Added missing #include.
1165 (WebFrameLoaderClient::updateGlobalHistoryRedirectLinks): Removed
1166 incorrect .get(), and changed to use the new overload of
1167 WebHistory::itemForURLString.
1170 (WebHistory::itemForURLString): Made this const.
1171 (WebHistory::itemForURLString): Added an overload that takes a
1172 WebCore::String and returns the IWebHistoryItem instead of using an
1175 * WebHistory.h: Added public overload of itemForURLString.
1178 (WebView::prepareCandidateWindow):
1179 (WebView::onIMERequestCharPosition):
1180 (WebView::onIMERequestReconvertString):
1181 Updated for toRange -> toNormalizedRange rename.
1183 2009-02-06 Geoffrey Garen <ggaren@apple.com>
1185 Reviewed by Sam Weinig.
1187 Part III of <rdar://problem/6552272>.
1189 Refactored to use the redirect data WebCore makes available, instead of
1190 tracking loading state in WebKit.
1192 * WebCoreSupport/WebFrameLoaderClient.cpp:
1193 (WebFrameLoaderClient::updateGlobalHistory):
1194 (WebFrameLoaderClient::updateGlobalHistoryRedirectLinks):
1195 * WebCoreSupport/WebFrameLoaderClient.h:
1197 (WebHistory::visitedURL):
1200 2009-02-06 Dan Bernstein <mitz@apple.com>
1202 Reviewed by Anders Carlsson.
1204 - fix an assertion failure in Vector::at() beneath
1205 WebHistoryItem::dictionaryRepresentation.
1207 * WebHistoryItem.cpp:
1208 (WebHistoryItem::dictionaryRepresentation): Give the numbers vector initial
1209 size. Also reduced the inline capacity of the vector used for weekly visit
1210 counts to 5, which is the expected maximum size.
1212 2009-02-06 Brent Fulgham <bfulgham@webkit.org>
1216 * WebKit.vcproj/WebKit.vcproj: Re-enable missing file in Release
1219 2009-02-06 Maciej Stachowiak <mjs@apple.com>
1221 Rubber stamped by Dan Bernstein.
1223 - fix obvious problem in previous commit (|| used instead of &&)
1225 * WebHistoryItem.cpp:
1226 (WebHistoryItem::initFromDictionaryRepresentation):
1228 2009-02-05 Maciej Stachowiak <mjs@apple.com> and Brady Eidson <beidson@apple.com>
1230 Reviewed by Dan Bernstein and Geoff Garen..
1232 - WebKit code to track per-day and per-week visit counts in history
1234 For now this data is only exposed via SPI for performance reasons.
1236 * Interfaces/IWebHistoryItemPrivate.idl: Added new interface.
1238 (WebHistory::visitedURL): Use new recordInitialVisit method.
1239 * WebHistoryItem.cpp:
1240 (WebHistoryItem::initFromDictionaryRepresentation): Add parsing support
1242 (WebHistoryItem::dictionaryRepresentation): Add saving support for
1244 (WebHistoryItem::getDailyVisitCounts): SPI accessor.
1245 (WebHistoryItem::getWeeklyVisitCounts): SPI accessor.
1246 (WebHistoryItem::recordInitialVisit): Tell WebCore to record an initial visit.
1249 2009-02-05 Brent Fulgham <bfulgham@webkit.org>
1251 Reviewed by Sam Weinig <sam@webkit.org>
1253 Build fix. Update file for recently removed EventTargetNodeCast.
1254 * DOMCoreClasses.cpp:
1255 (DOMNode::dispatchEvent):
1257 2009-02-05 Aaron Boodman <aa@chromium.org>
1259 Reviewed by Dave Hyatt.
1261 https://bugs.webkit.org/show_bug.cgi?id=23708
1262 Adds documentElementAvailable() callback to FrameLoaderClient.
1265 (WebFrame::documentElementAvailable):
1266 Stub out documentElementAvailable()
1270 2009-02-04 Geoffrey Garen <ggaren@apple.com>
1275 (WebHistory::visitedURL):
1277 2009-02-04 Geoffrey Garen <ggaren@apple.com>
1279 Reviewed by Mark Rowe.
1281 Part I of <rdar://problem/6552272>.
1283 Clear the redirectURLs entry when first visiting a site, so sites that
1284 only redirect you the first time you visit them can later learn that
1285 they don't redirect.
1288 (WebHistory::visitedURL):
1290 2009-02-03 Geoffrey Garen <ggaren@apple.com>
1295 (WebHistory::visitedURL):
1297 2009-02-02 Geoffrey Garen <ggaren@apple.com>
1302 (WebHistory::visitedURL):
1304 2009-02-02 Hiroaki Nakamura <hnakamur@gmail.com>
1306 Reviewed by Adam Roben.
1308 Fixes https://bugs.webkit.org/show_bug.cgi?id=15813
1309 Modify pre-build step to properly handle the errorlevel
1312 * WebKit.vcproj/WebKit.vcproj: Change errorlevel handling
1313 for all targets so prefast is only enabled in builds
1314 where /analyze is available.
1316 2009-02-02 Geoffrey Garen <ggaren@apple.com>
1318 Reviewed by Sam Weinig.
1320 Track redirects in global history.
1322 * Interfaces/IWebFramePrivate.idl: Updated for WebCore rename.
1324 * WebCoreSupport/WebFrameLoaderClient.cpp:
1325 (WebFrameLoaderClient::updateGlobalHistory):
1326 (WebFrameLoaderClient::updateGlobalHistoryForRedirectWithoutHistoryItem):
1327 Store redirect information in global history.
1329 (WebFrameLoaderClient::loadURLIntoChild): Updated for extra parameter.
1331 * WebCoreSupport/WebFrameLoaderClient.h: See above.
1334 (WebFrame::loadRequest):
1335 (WebFrame::loadData): Updated for extra parameter.
1338 (WebHistory::visitedURL):
1339 (WebHistory::visitedURLForRedirectWithoutHistoryItem): Store redirect
1340 information in global history.
1342 * WebHistory.h: See above.
1344 2009-02-02 Brady Eidson <beidson@apple.com>
1346 Reviewed by Dan Bernstein
1348 Transition Windows WebHistory to using the same "update already existing History Items" technique that Mac does.
1350 * Interfaces/IWebHistoryItemPrivate.idl:
1351 * WebCoreSupport/WebFrameLoaderClient.cpp:
1352 (WebFrameLoaderClient::updateGlobalHistory):
1355 (WebHistory::visitedURL):
1358 * WebHistoryItem.cpp:
1359 (WebHistoryItem::visitedWithTitle):
1362 2009-02-02 Anders Carlsson <andersca@apple.com>
1366 * WebCoreSupport/WebFrameLoaderClient.cpp:
1367 (WebFrameLoaderClient::createPlugin):
1368 * WebCoreSupport/WebFrameLoaderClient.h:
1370 2009-02-02 Anders Carlsson <andersca@apple.com>
1372 Reviewed by Dan Bernstein.
1374 Update for changes to WebCore.
1377 (WebFrame::createJavaAppletWidget):
1380 2009-02-02 Holger Hans Peter Freyther <zecke@selfish.org>
1382 Reviewed by Darin Adler.
1384 Move Frame::forceLayout, Frame::adjustPageHeight and Frame::forceLayoutWithPageWidthRange to FrameView
1386 https://bugs.webkit.org/show_bug.cgi?id=23428
1388 FrameView::forceLayout could be killed but the comment might
1389 contain a value over the the plain FrameView::layout...
1391 Adjust the WebCore/WebKit consumers of these methods.
1393 * WebCoreSupport/WebFrameLoaderClient.cpp:
1394 (WebFrameLoaderClient::forceLayout):
1396 2009-01-31 Matt Lilek <webkit@mattlilek.com>
1398 Not reviewed, build fixes.
1400 * WebCoreSupport/WebContextMenuClient.cpp:
1401 (WebContextMenuClient::searchWithGoogle):
1403 (WebFrame::setInPrintingMode):
1404 (WebFrame::isFrameSet):
1406 (WebView::notifyPreferencesChanged):
1408 2009-01-30 Adam Barth <abarth@webkit.org>
1410 Reviewed by Sam Weinig.
1412 Add a pref to disable web security.
1414 * Interfaces/IWebPreferencesPrivate.idl:
1415 * WebPreferenceKeysPrivate.h:
1416 * WebPreferences.cpp:
1417 (WebPreferences::initializeDefaultSettings):
1418 (WebPreferences::isWebSecurityEnabled):
1419 (WebPreferences::setWebSecurityEnabled):
1422 (WebView::notifyPreferencesChanged):
1424 2009-01-30 Geoffrey Garen <ggaren@apple.com>
1428 * Interfaces/IWebFramePrivate.idl:
1429 * WebCoreSupport/WebFrameLoaderClient.cpp:
1430 (WebFrameLoaderClient::loadURLIntoChild):
1432 2009-01-30 Holger Hans Peter Freyther <zecke@selfish.org>
1434 Reviewed by Simon Hausmann.
1436 Kill FrameLoaderClient.cpp, move the code over to Frame::createView
1438 FrameLoaderClient is supposed to be an interface, move the
1439 to be shared code to Frame which is a controller and is
1440 allowed to create a FrameView.
1442 * WebCoreSupport/WebFrameLoaderClient.cpp:
1443 (WebFrameLoaderClient::transitionToCommittedForNewPage):
1445 2009-01-30 Brady Eidson <beidson@apple.com>
1447 Reviewed by Sam Weinig
1449 Remove FrameLoaderClient code that is now handled by FrameLoader itself
1452 (WebFrame::frameLoadCompleted):
1454 2009-01-29 Sam Weinig <sam@webkit.org>
1458 * WebHistoryItem.cpp:
1459 (WebHistoryItem::initFromDictionaryRepresentation):
1461 2009-01-29 Sam Weinig <sam@webkit.org>
1463 Reviewed by Anders Carlsson.
1465 Second step in tracking the urls a HistoryItem was redirected through
1466 Add SPI to access the array of redirect urls associated with a HistoryItem.
1468 * Interfaces/IWebHistoryItemPrivate.idl:
1469 * WebHistoryItem.cpp:
1470 (WebHistoryItem::dictionaryRepresentation):
1471 (WebHistoryItem::redirectURLs):
1474 2009-01-29 Sam Weinig <sam@webkit.org>
1476 Reviewed by Mark Rowe.
1478 First step in tracking the urls a HistoryItem was redirected through.
1480 * WebHistoryItem.cpp:
1481 (WebHistoryItem::initFromDictionaryRepresentation):
1482 (WebHistoryItem::dictionaryRepresentation):
1484 2009-01-29 Adam Roben <aroben@apple.com>
1486 Fix Bug 23623: Windowed Flash instances aren't captured when a WebView
1487 receives a WM_PRINTCLIENT message
1489 <https://bugs.webkit.org/show_bug.cgi?id=23623>
1490 <rdar://problem/6513921>
1491 <rdar://problem/6536874>
1493 Reviewed by Darin Adler.
1496 (WebFrame::paintDocumentRectToContext):
1497 (WebFrame::spoolPages):
1498 Call GraphicsContext::setShouldIncludeChildWindows so that child
1499 windows will be painted into the GraphicsContext rather than painted
1500 directly to the screen.
1503 (WebView::updateBackingStore): Added a windowsToPaint parameter, which
1504 we pass along to paintIntoBackingStore.
1506 (WebView::paint): Tell updateBackingStore to paint child windows if
1507 we're not painting to the screen.
1509 (WebView::paintIntoBackingStore): Added a windowsToPaint paramter,
1510 which we use to tell our GraphicsContext whether or not to include
1513 * WebView.h: Added windowsToPaint parameters to paintIntoBackingStore
1514 and updateBackingStore (which I also made private).
1516 2009-01-29 Adam Roben <aroben@apple.com>
1518 Build fix after r40353
1520 * WebCoreSupport/WebFrameLoaderClient.cpp:
1521 (WebFrameLoaderClient::loadURLIntoChild): Removed the check for
1522 FrameLoadTypeReloadAllowingStaleData.
1524 2009-01-28 Geoffrey Garen <ggaren@apple.com>
1526 Reviewed by Sam Weinig.
1528 Updated for WebCore rename.
1531 (WebView::setCustomTextEncodingName):
1533 2009-01-27 Brady Eidson <beidson@apple.com>
1535 Reviewed by Dan Bernstein
1537 Rework FrameLoaderClient to work on a CachedFrame basis instead of CachedPage
1539 * WebCoreSupport/WebFrameLoaderClient.cpp:
1540 (WebFrameLoaderClient::savePlatformDataToCachedFrame):
1541 (WebFrameLoaderClient::transitionToCommittedFromCachedFrame):
1542 * WebCoreSupport/WebFrameLoaderClient.h:
1547 2009-01-26 Adam Roben <aroben@apple.com>
1549 Fix an assertion failure when Safari loads an error page
1551 Reviewed by Alexey Proskuryakov.
1554 (WebFrame::loadData): Use the two-argument version of KURL and
1555 MarshallingHelpers::BSTRToKURL, for reasons mentioned in r40248.
1557 2009-01-26 Adam Roben <aroben@apple.com>
1559 Fix an assertion on launch in KURL::KURL
1561 All URL strings passed in to the WebKit API need to be passed to
1562 MarshallingHelpers::BSTRToKURL so that they may be properly parsed.
1564 Reviewed by Alexey Proskuryakov.
1566 * MarshallingHelpers.cpp:
1567 (MarshallingHelpers::BSTRToKURL): Changed to use the two-argument
1568 constructor for KURL so that the strings will be parsed rather than
1569 assumed to be in the correct encoding/form.
1572 (WebResource::initWithData):
1573 * WebURLResponse.cpp:
1574 (WebURLResponse::initWithURL):
1576 (WebView::userAgentForURL):
1578 Changed to use MarshallingHelpers::BSTRToKURL instead of trying to do
1581 2009-01-25 Darin Adler <darin@apple.com>
1583 Try to fix Windows build.
1585 * WebView.cpp: Added FloatQuad.h.
1587 2009-01-23 Brent Fulgham <bfulgham@webkit.org>
1589 Reviewed by Darin Adler
1591 https://bugs.webkit.org/show_bug.cgi?id=23492
1592 Exclude calls to WebKitSystemInterface functions when not
1595 * WebPreferences.cpp:
1596 (WebPreferences::setFontSmoothing):
1597 (WebPreferences::setFontSmoothingContrast):
1598 * WebTextRenderer.cpp:
1599 (WebTextRenderer::registerPrivateFont):
1601 2009-01-23 Brady Eidson <beidson@apple.com>
1603 Rubberstamped by Darin Adler
1605 Rename CachedPagePlatformData to CachedFramePlatformData to more accurately reflect its true role.
1607 * WebCachedFramePlatformData.h: Copied from WebKit/win/WebCachedPagePlatformData.h.
1608 (WebCachedFramePlatformData::WebCachedFramePlatformData):
1609 * WebCachedPagePlatformData.h: Removed.
1611 * WebCoreSupport/WebFrameLoaderClient.cpp:
1612 (WebFrameLoaderClient::savePlatformDataToCachedPage):
1614 * WebKit.vcproj/WebKit.vcproj:
1616 2009-01-22 Eric Roman <eroman@chromium.org>
1618 Reviewed by Eric Seidel.
1620 https://bugs.webkit.org/show_bug.cgi?id=20806
1621 Deprecate RSSFeedReferrer() and setRSSFeedReferrer().
1623 * WebHistoryItem.cpp:
1624 (WebHistoryItem::RSSFeedReferrer):
1625 (WebHistoryItem::setRSSFeedReferrer):
1627 2009-01-19 Sam Weinig <sam@webkit.org>
1629 Rubber-stamped by Gavin Barraclough.
1631 Remove temporary operator-> from JSValuePtr.
1633 * WebScriptCallFrame.cpp:
1634 (WebScriptCallFrame::jsValueToString):
1636 (WebView::stringByEvaluatingJavaScriptFromString):
1638 2009-01-19 Adam Roben <aroben@apple.com>
1642 * DOMCoreClasses.cpp: Replaced "using namespace WebCore" with
1643 individual using directives for each type we need from that namespace,
1644 to avoid conflicts between DOMObject and WebCore::DOMObject.
1645 (DOMElement::font): Added a now-needed WebCore::.
1647 2009-01-17 Steve Falkenburg <sfalken@apple.com>
1651 * WebCoreSupport/WebDragClient.cpp:
1652 (WebDragClient::createDragImageForLink):
1654 2009-01-17 David Hyatt <hyatt@apple.com>
1656 Eliminate dependencies on backslashAsCurrencySymbol from WebKit.
1658 Reviewed by Oliver Hunt
1661 (WebFrame::selectedString):
1663 2009-01-16 Steve Falkenburg <sfalken@apple.com>
1665 <rdar://problem/6502511> Safari crashes if it's running while the desktop theme is changed.
1667 This was caused by mismatched ENABLE definitions across WebCore and WebKit.
1669 Several virtual methods were added to RenderTheme.h, conditionalized by ENABLE(VIDEO).
1670 In addition to adding ENABLE_VIDEO to WebKit, this change also adds ENABLE_DATABASE and ENABLE_ICONDATABASE
1671 to Windows WebCore/WebKit, and adds ENABLE_WORKERS, and several ENABLE_SVG_ flags to WebKit on Windows.
1672 Our Windows ENABLE flags now match Mac.
1674 Reviewed by Adele Peterson.
1676 * WebKit.vcproj/WebKit.vcproj:
1678 2009-01-15 Adele Peterson <adele@apple.com>
1680 Reviewed by Darin Adler.
1682 Fix for https://bugs.webkit.org/show_bug.cgi?id=21799
1683 <rdar://problem/6310684> Crash in dumpFramesAsText() when running http/tests/security/cross-origin-xsl-BLOCKED.html
1685 Return S_OK or E_FAIL based on the result from CreateInstance.
1686 This was causing DumpRenderTree to not realize it had just gotten a null documentElement.
1688 * DOMCoreClasses.cpp: Made all functions that return the result of CreateInstance consistent.
1689 (DOMNode::parentNode):
1690 (DOMNode::ownerDocument):
1691 (DOMNodeList::item):
1692 (DOMDocument::documentElement):
1693 (DOMDocument::createElement):
1694 (DOMDocument::getElementsByTagName):
1695 (DOMDocument::getElementsByTagNameNS):
1696 (DOMDocument::getElementById):
1697 (DOMDocument::getComputedStyle):
1698 (DOMDocument::createEvent):
1699 (DOMElement::style):
1701 2009-01-14 Adele Peterson <adele@apple.com>
1703 Reviewed by Darin Adler.
1705 Fix for https://bugs.webkit.org/show_bug.cgi?id=23335
1706 <rdar://problem/6247650> Update <input type="search"> for RenderThemeWin
1710 * WebKit.vcproj/WebKit.rc:
1711 * WebKit.vcproj/WebKit.vcproj:
1712 * WebKit.vcproj/resource.h:
1713 * WebKit.vcproj/searchCancel.png: Added.
1714 * WebKit.vcproj/searchCancelPressed.png: Added.
1715 * WebKit.vcproj/searchMagnifier.png: Added.
1716 * WebKit.vcproj/searchMagnifierResults.png: Added.
1717 * WebKitDLL.cpp:(loadResourceIntoBuffer):
1719 2009-01-14 Dan Bernstein <mitz@apple.com>
1721 Reviewed by John Sullivan.
1725 * WebKit.resources/Info.plist:
1726 * WebKit.vcproj/WebKit.rc:
1728 2009-01-13 Steve Falkenburg <sfalken@apple.com>
1732 * WebScriptCallFrame.cpp:
1733 (WebScriptCallFrame::jsValueToString):
1735 2009-01-12 Brady Eidson <beidson@apple.com>
1737 Reviewed by Dan Bernstein
1739 <rdar://problem/6490446> - Crash when going back to a cached page
1741 * WebCoreSupport/WebFrameLoaderClient.cpp:
1742 (WebFrameLoaderClient::savePlatformDataToCachedPage): ENABLE(CFNETWORK) needed to be USE(CFNETWORK)
1744 2009-01-12 Brady Eidson <beidson@apple.com>
1746 Reviewed by Darin Adler
1748 <rdar://problem/6468274> - Track Non-get requests in global history
1750 * WebCoreSupport/WebFrameLoaderClient.cpp:
1751 (WebFrameLoaderClient::updateGlobalHistory):
1754 (WebHistory::addItem):
1757 * Interfaces/IWebHistoryItemPrivate.idl:
1758 * WebHistoryItem.cpp:
1759 (WebHistoryItem::initFromDictionaryRepresentation):
1760 (WebHistoryItem::dictionaryRepresentation):
1761 (WebHistoryItem::lastVisitWasHTTPNonGet):
1762 (WebHistoryItem::setLastVisitWasHTTPNonGet):
1765 2009-01-12 Julien Chaffraix <jchaffraix@pleyo.com>
1767 Reviewed by Darin Adler.
1769 Bug 22861: Turn the FontCache into a singleton
1770 https://bugs.webkit.org/show_bug.cgi?id=22861
1772 * WebCoreStatistics.cpp:
1773 (WebCoreStatistics::cachedFontDataCount):
1774 (WebCoreStatistics::cachedFontDataInactiveCount):
1775 (WebCoreStatistics::purgeInactiveFontData):
1776 Redirected all the static calls to the global FontCache
1779 2009-01-11 Dmitry Titov <dimich@chromium.org>
1781 Reviewed by Darin Adler.
1783 https://bugs.webkit.org/show_bug.cgi?id=23207
1784 Moved currentTime() to from WebCore to WTF.
1786 * WebDownload.cpp: a different header file included.
1787 * WebDropSource.cpp: a different header file included.
1789 2009-01-09 Darin Adler <darin@apple.com>
1791 Reviewed by Jon Honeycutt.
1793 Bug 22913: REGRESSION: Space bar doesn't scroll on windows
1794 https://bugs.webkit.org/show_bug.cgi?id=22913
1795 rdar://problem/6479834
1798 (WebView::keyPress): Removed code to handle space bar here; put it in
1801 2009-01-09 Brent Fulgham <bfulgham@gmail.com>
1803 Reviewed by Adam Roben.
1805 Fixes: http://bugs.webkit.org/show_bug.cgi?id=23092
1806 Separate CFNetwork-specific code in WebKit.dll into separate
1807 implementation files. Create cURL stub files to be populated
1808 with new implementation in a future bug report.
1810 * WebCookieManager.cpp: Move CFNetwork-specific routines to
1811 the new WebCookieManagerCFNet.cpp file.
1812 (WebCookieManager::Release):
1813 * WebCookieManagerCFNet.cpp: Copied from WebCookieManager.cpp.
1814 (WebCookieManager::cookieStorage):
1815 * WebCookieManagerCurl.cpp: Added.
1816 (WebCookieManager::cookieStorage):
1817 (WebCookieManager::setCookieStorage):
1818 * WebCoreSupport/WebFrameLoaderClient.cpp: Conditionalize two
1819 methods in this file.
1820 (WebFrameLoaderClient::dispatchDidReceiveAuthenticationChallenge):
1821 (WebFrameLoaderClient::savePlatformDataToCachedPage):
1822 * WebDownload.cpp: Move CFNetwork-specific logic to the new
1823 WebDownloadCFNet.cpp
1824 (WebDownload::bundleExtension):
1825 (WebDownload::bundleMagicNumber):
1826 (WebDownload::bundlePathForTargetPath):
1827 (WebDownload::extractResumeDataFromBundle): Made static class method
1828 so it could be used in WebDownload.cpp and WebDownloadCFNet.cpp
1829 (WebDownload::appendResumeDataToBundle): Made static class method
1830 so it could be used in WebDownload.cpp and WebDownloadCFNet.cpp
1832 * WebDownloadCFNet.cpp: Copied from WebDownload.cpp.
1833 (WebDownload::initToResumeWithBundle):
1834 (WebDownload::setDestination):
1836 * WebDownloadCurl.cpp: Added.
1837 (WebDownload::init):
1838 (WebDownload::initWithRequest):
1839 (WebDownload::initToResumeWithBundle):
1840 (WebDownload::start):
1841 (WebDownload::cancel):
1842 (WebDownload::cancelForResume):
1843 (WebDownload::deletesFileUponFailure):
1844 (WebDownload::setDeletesFileUponFailure):
1845 (WebDownload::setDestination):
1846 (WebDownload::cancelAuthenticationChallenge):
1847 (WebDownload::continueWithoutCredentialForAuthenticationChallenge):
1848 (WebDownload::useCredential):
1849 * WebKit.vcproj/WebKit.vcproj: Modify Apple targets to exclude the
1850 new cURL files. Modify Cairo targets to exclude CFNet files.
1851 * WebMutableURLRequest.cpp: Conditionalize the single method
1852 with a CFNetwork-speicic call.
1853 (WebMutableURLRequest::mutableCopy):
1854 * WebURLAuthenticationChallenge.cpp: Conditionalize one line that
1855 causes build problems for cURL. This will be removed later.
1856 (WebURLAuthenticationChallenge::initWithProtectionSpace):
1857 * WebURLAuthenticationChallengeSender.cpp:
1858 * WebURLAuthenticationChallengeSenderCFNet.cpp: Copied from WebURLAuthenticationChallengeSender.cpp.
1859 (WebURLAuthenticationChallengeSender::useCredential):
1860 * WebURLAuthenticationChallengeSenderCurl.cpp: Added.
1861 (WebURLAuthenticationChallengeSender::cancelAuthenticationChallenge):
1862 (WebURLAuthenticationChallengeSender::continueWithoutCredentialForAuthenticationChallenge):
1863 (WebURLAuthenticationChallengeSender::useCredential):
1864 * WebURLResponse.cpp: Exclude WebKitSystemInterface when compiling
1865 for the cURL target.
1867 2009-01-09 Alexey Proskuryakov <ap@webkit.org>
1869 Reviewed by Darin Adler.
1871 Fix many appcache tests on Windows by making synchronous XMLHttpRequest throw on cache miss.
1873 * WebFrame.cpp: (WebFrame::cannotShowURLError): Implement, so that synchronous XHR can
1874 raise exceptions, as needed for AppCache tests. I do not know why this error was not
1877 2009-01-09 Darin Adler <darin@apple.com>
1879 Reviewed and landed by Adele Peterson.
1881 Bug 23160: add setMemoryCacheClientCallsEnabled SPI so Safari can be faster with activity window closed
1882 https://bugs.webkit.org/show_bug.cgi?id=23160
1884 * Interfaces/IWebViewPrivate.idl: Added setMemoryCacheDelegateCallsEnabled.
1886 (WebView::setMemoryCacheDelegateCallsEnabled): Ditto.
1889 2009-01-08 Dan Bernstein <mitz@apple.com>
1891 Reviewed by Adam Roben.
1893 - WebPreferences changes to support Core Graphics native glyph drawing
1895 * Interfaces/IWebPreferencesPrivate.idl: Added font smoothing contrast
1897 * WebPreferenceKeysPrivate.h: Added
1898 WebKitFontSmoothingContrastPreferenceKey.
1899 * WebPreferences.cpp:
1900 (WebPreferences::initializeDefaultSettings): Initialized
1901 WebKitFontSmoothingContrastPreferenceKey to 2.
1902 (WebPreferences::setFloatValue): Added.
1903 (WebPreferences::setFontSmoothing): Changed to map
1904 FontSmoothingTypeWindows to FontSmoothingTypeMedium.
1905 (WebPreferences::fontSmoothingContrast): Added.
1906 (WebPreferences::setFontSmoothingContrast): Added. Calls
1907 wkSetFontSmoothingContrast().
1910 2009-01-08 Steve Falkenburg <sfalken@apple.com>
1912 <rdar://problem/6474244> REGRESSION(39561-39603): Heap corruption when saving passwords?
1914 Reviewed by Adam Roben.
1917 (WebViewWndProc): Hold a ref to the WebView inside the WNDPROC, since it could go away in an event handler.
1919 2009-01-07 Jon Honeycutt <jhoneycutt@apple.com>
1921 Fix a crash with querying a WebView for its global history item when
1922 its associated Page has no global history item.
1924 Reviewed by Dan Bernstein.
1927 (WebView::globalHistoryItem): If the Page has no global history item,
1930 2009-01-06 Adam Roben <aroben@apple.com>
1932 Fix Bug 22262: Clicking close ("X") button in docked Web Inspector
1933 clears Web Inspector but doesn't close it
1935 <https://bugs.webkit.org/show_bug.cgi?id=22262>
1936 <rdar://problem/6371873>
1938 Reviewed by Darin Adler.
1940 * WebCoreSupport/WebInspectorClient.cpp:
1941 (WebInspectorClient::WebInspectorClient): Initialize new member.
1942 (WebInspectorClient::showWindow): Moved code from here to
1943 showWindowWithoutNotifications.
1944 (WebInspectorClient::closeWindow): Moved code from here to
1945 closeWindowWithoutNotifications.
1947 (WebInspectorClient::attachWindow):
1948 (WebInspectorClient::detachWindow):
1949 Record whether or not we should be attached, then close and reopen the
1950 window without notifying the InspectorController. Code that was in
1951 these functions moved to showWindowWithoutNotifications and
1952 closeWindowWithoutNotifications, respectively.
1954 (WebInspectorClient::closeWindowWithoutNotifications): Added. Code
1955 came from closeWindow and detachWindow.
1956 (WebInspectorClient::showWindowWithoutNotifications): Added. Code came
1957 from showWindow and attachWindow.
1959 * WebCoreSupport/WebInspectorClient.h: Added
1960 {close,show}WindowWithoutNotifications and m_shouldAttachWhenShown.
1962 2009-01-06 Anders Carlsson <andersca@apple.com>
1964 Reviewed by Sam Weinig.
1966 Add a way for application to provide custom, full frame, views for certain MIME types.
1968 * Interfaces/IWebEmbeddedView.idl:
1969 Add loading related methods.
1971 * Interfaces/IWebViewPrivate.idl:
1972 Add new registerEmbeddedViewMIMEType method.
1974 * WebCoreSupport/EmbeddedWidget.cpp:
1975 (EmbeddedWidget::didReceiveResponse):
1976 (EmbeddedWidget::didReceiveData):
1977 (EmbeddedWidget::didFinishLoading):
1978 (EmbeddedWidget::didFail):
1979 Implement these and call the IEmbeddedView methods.
1981 * WebCoreSupport/EmbeddedWidget.h:
1982 Inherit from PluginManualLoader.
1984 * WebCoreSupport/WebFrameLoaderClient.cpp:
1985 (WebFrameLoaderClient::redirectDataToPlugin):
1986 Handle the case where the widget is an EnbeddedWidget.
1988 (WebFrameLoaderClient::shouldUsePluginDocument):
1989 Have this call WebView::shouldUseEmbeddedView.
1992 (WebView::canShowMIMEType):
1993 Have this call WebView::shouldUseEmbeddedView.
1995 (WebView::registerEmbeddedViewMIMEType):
1996 Add the MIME type to the set.
1998 (WebView::shouldUseEmbeddedView):
1999 Given a MIME type, returns whether an embedded view should be used or not.
2001 2009-01-06 David Kilzer <ddkilzer@apple.com>
2003 BUILD FIX (r39641): Try to fix WebIconDatabase build errors #4
2005 * WebIconDatabase.cpp:
2006 (WebIconDatabase::isEnabled): Added 'WebIconDatabase::' to method
2007 signature. (Another copy-paste error.)
2008 (WebIconDatabase::setEnabled): Ditto.
2009 * WebIconDatabase.h:
2010 (WebIconDatabase::startUpIconDatabase): Make private again.
2011 (WebIconDatabase::shutDownIconDatabase): Ditto.
2013 2009-01-06 David Kilzer <ddkilzer@apple.com>
2015 BUILD FIX (r39641): Try to fix build errors #3
2017 Try to fix the following (more specific) build errors:
2020 ..\WebIconDatabase.cpp(255) : error C2248: 'WebIconDatabase::shutDownIconDatabase' : cannot access private member declared in class 'WebIconDatabase'
2021 ...\webkit\win\WebIconDatabase.h(61) : see declaration of 'WebIconDatabase::shutDownIconDatabase'
2022 ...\webkit\win\WebIconDatabase.h(51) : see declaration of 'WebIconDatabase'
2023 ..\WebIconDatabase.cpp(255) : error C2352: 'WebIconDatabase::shutDownIconDatabase' : illegal call of non-static member function
2024 ...\webkit\win\WebIconDatabase.h(61) : see declaration of 'WebIconDatabase::shutDownIconDatabase'
2025 ..\WebIconDatabase.cpp(258) : error C2248: 'WebIconDatabase::startUpIconDatabase' : cannot access private member declared in class 'WebIconDatabase'
2026 ...\webkit\win\WebIconDatabase.h(60) : see declaration of 'WebIconDatabase::startUpIconDatabase'
2027 ...\webkit\win\WebIconDatabase.h(51) : see declaration of 'WebIconDatabase'
2028 ..\WebIconDatabase.cpp(258) : error C2352: 'WebIconDatabase::startUpIconDatabase' : illegal call of non-static member function
2029 ...\webkit\win\WebIconDatabase.h(60) : see declaration of 'WebIconDatabase::startUpIconDatabase'
2031 * WebIconDatabase.cpp:
2032 (setEnabled): Get instance of shared WebIconDatabase, then call
2033 startUp/shutDown methods on it.
2034 * WebIconDatabase.h:
2035 (WebIconDatabase::startUpIconDatabase): Make protected again.
2036 (WebIconDatabase::shutDownIconDatabase): Ditto.
2038 2009-01-06 David Kilzer <ddkilzer@apple.com>
2040 BUILD FIX (r39641): Try to fix build errors again
2042 Try to fix the following build errors:
2045 ..\WebIconDatabase.cpp(255) : error C3861: 'shutDownIconDatabase': identifier not found
2046 ..\WebIconDatabase.cpp(258) : error C3861: 'startUpIconDatabase': identifier not found
2048 * WebIconDatabase.cpp:
2049 (setEnabled): Add class prefix to startUpIconDatabase() and
2050 shutDownIconDatabase().
2051 * WebIconDatabase.h:
2052 (WebIconDatabase::startUpIconDatabase): Make private again.
2053 (WebIconDatabase::shutDownIconDatabase): Ditto.
2055 2009-01-06 David Kilzer <ddkilzer@apple.com>
2057 BUILD FIX (r39641): Try to fix build error
2059 Try to fix the following build errors:
2062 ..\WebIconDatabase.cpp(255) : error C3861: 'shutDownIconDatabase': identifier not found
2063 ..\WebIconDatabase.cpp(258) : error C3861: 'startUpIconDatabase': identifier not found
2065 * WebIconDatabase.h:
2066 (WebIconDatabase::startUpIconDatabase): Make protected.
2067 (WebIconDatabase::shutDownIconDatabase): Ditto.
2069 2009-01-06 David Kilzer <ddkilzer@apple.com>
2071 BUILD FIX (r39641): Fix more silly errors
2073 Fixes the following compilation errors:
2076 ..\WebIconDatabase.cpp(85) : error C2065: 'standardPrefs' : undeclared identifier
2077 ..\WebIconDatabase.cpp(85) : error C2227: left of '->iconDatabaseLocation' must point to class/struct/union/generic type
2078 type is ''unknown-type''
2079 ..\WebIconDatabase.cpp(241) : error C2575: 'isEnabled' : only member functions and bases can be virtual
2080 ..\WebIconDatabase.cpp(248) : error C2575: 'setEnabled' : only member functions and bases can be virtual
2081 ..\WebIconDatabase.cpp(253) : error C3861: 'shutDownIconDatabase': identifier not found
2082 ..\WebIconDatabase.cpp(256) : error C3861: 'startUpIconDatabase': identifier not found
2084 * WebIconDatabase.cpp:
2085 (WebIconDatabase::startUpIconDatabase): Redeclare standardPrefs
2086 since this was in init() but not in this method after it was
2087 extracted from init().
2088 (isEnabled): Don't use "virtual" in method implementation
2089 (silly copy-paste error).
2090 (setEnabled): Ditto.
2092 2009-01-06 David Kilzer <ddkilzer@apple.com>
2094 BUILD FIX (r39641): Remove STDMETHODCALLTYPE from method declarations in IWebIconDatabase.idl
2096 * Interfaces/IWebIconDatabase.idl: Removed "STDMETHODCALLTYPE"
2097 from silly copy-paste error in two method declarations.
2099 2009-01-05 David Kilzer <ddkilzer@apple.com>
2101 Add API to enable, disable and check state of WebIconDatabase
2103 Reviewed by Darin Adler & Timothy Hatcher.
2105 Add WebIconDatabase::isEnabled() and WebIconDatabase::setEnabled()
2106 API to make it possible to enable, disable and check the state of
2109 * Interfaces/IWebIconDatabase.idl: Declared isEnabled() and
2110 setEnabled() methods.
2111 * WebIconDatabase.cpp:
2112 (WebIconDatabase::init): Extracted code into startUpIconDatabase().
2113 (WebIconDatabase::startUpIconDatabase): Added. Extracted from
2115 (WebIconDatabase::shutDownIconDatabase): Added. Method is empty
2116 since there is nothing to do yet on Windows.
2118 (setEnabled): Added.
2119 * WebIconDatabase.h: Added method declarations.
2121 2009-01-05 Anders Carlsson <andersca@apple.com>
2123 Reviewed by Jon Honeycutt.
2125 Pass more information in the property bag passed to embeddedViewWithArguments.
2127 * Interfaces/IWebUIDelegatePrivate.idl:
2130 * WebCoreSupport/WebFrameLoaderClient.cpp:
2131 (WebFrameLoaderClient::createPlugin):
2132 Pass the base URL, MIME type and the containing element to embeddedViewWithArguments.
2134 2009-01-05 Anders Carlsson <andersca@apple.com>
2136 Reviewed by Darin Adler, Jon Honeycutt.
2138 Add a templatized COMVariant constructor so we can make COMVariants out of
2139 everything that has a COMVariantSetter specialization.
2141 Add a COMVariantSetter specialization for COMVariant.
2143 * COMVariantSetter.h:
2144 (COMVariant::COMVariant):
2146 2009-01-05 Brent Fulgham <bfulgham@gmail.com>
2148 Reviewed by Oliver Hunt.
2150 Fixes: https://bugs.webkit.org/show_bug.cgi?id=23027
2152 Removes the WebKitGraphics files from the Cairo build, as well
2153 as excluding their link definitions. These are not used outside
2154 of Safari, and should not be part of the 'Redistributable API.'
2156 * WebKit.vcproj/WebKit.vcproj: Update *_Cairo targets to exclude
2157 the WebKitGraphics.cpp/.h files.
2158 * WebKit.vcproj/WebKit_Cairo.def: Added. File without Safari
2160 * WebKit.vcproj/WebKit_Cairo_debug.def: Added. File without Safari
2163 2009-01-05 Anders Carlsson <andersca@apple.com>
2165 Reviewed by Jon Honeycutt.
2167 Add a simple, memory managed, wrapper around a VARIANT struuct.
2169 * COMVariantSetter.h:
2170 (COMVariant::COMVariant):
2171 (COMVariant::~COMVariant):
2172 (COMVariant::operator=):
2173 (COMVariant::copyTo):
2174 (COMVariant::variantType):
2176 2009-01-05 Adele Peterson <adele@apple.com>
2180 * WebCoreSupport/WebChromeClient.cpp:
2182 2009-01-05 Anders Carlsson <andersca@apple.com>
2184 Reviewed by Adam Roben.
2186 Make it possible to have per value variant types.
2190 Call variantType here, passing in the value.
2192 (::GetPropertyInfo):
2195 * COMVariantSetter.h:
2196 (COMVariantSetterBase::variantType):
2197 Add COMVariantSetterBase, whose variantType implementation just returns the
2198 VariantType variable. Make all existing classes inherit from COMVariantSetterBase.
2200 2009-01-05 Adam Treat <adam.treat@torchmobile.com>
2204 * WebCoreSupport/WebChromeClient.h:
2206 2009-01-05 Adam Treat <adam.treat@torchmobile.com>
2208 Reviewed by George Staikos.
2210 Build fix for contentsSizeChanged
2212 * WebCoreSupport/WebChromeClient.cpp:
2213 (WebChromeClient::contentsSizeChanged):
2214 * WebCoreSupport/WebChromeClient.h:
2216 2009-01-05 Anders Carlsson <andersca@apple.com>
2218 Reviewed by Kevin Decker.
2220 Use the ManualLoader class instead of assuming that the manual loader
2223 * WebCoreSupport/WebFrameLoaderClient.cpp:
2224 (WebFrameLoaderClient::WebFrameLoaderClient):
2225 (WebFrameLoaderClient::setMainDocumentError):
2226 (WebFrameLoaderClient::committedLoad):
2227 (WebFrameLoaderClient::finishedLoading):
2228 (WebFrameLoaderClient::redirectDataToPlugin):
2229 * WebCoreSupport/WebFrameLoaderClient.h:
2231 2009-01-04 Adam Treat <adam.treat@torchmobile.com>
2233 Reviewed by George Staikos.
2235 Make the apple windows port build with the new fixedLayoutSize feature
2237 * WebCoreSupport/WebFrameLoaderClient.cpp:
2238 (WebFrameLoaderClient::transitionToCommittedForNewPage):
2240 2008-12-20 Dan Bernstein <mitz@apple.com>
2242 Reviewed by Ada Chan.
2244 - expose the new allItems() method via a new IWebHistoryPrivate
2247 * Interfaces/IWebHistoryPrivate.idl: Added.
2248 * Interfaces/WebKit.idl: Added IWebHistoryPrivate.idl.
2250 (WebHistory::QueryInterface): Added IWebHistoryPrivate.
2251 (WebHistory::allItems):
2254 2008-12-19 Geoffrey Garen <ggaren@apple.com>
2259 (WebHistory::allItems):
2261 2008-12-19 Geoffrey Garen <ggaren@apple.com>
2263 Reviewed by Darin Adler, Adele Peterson, Brady Eidson.
2265 Added SPI for getting an unsorted vector of all items in history.
2268 (WebHistory::orderedItemsLastVisitedOnDay):
2269 (WebHistory::allItems):
2272 2008-12-18 Dan Bernstein <mitz@apple.com>
2274 Reviewed by Sam Weinig.
2276 - implement FrameLoaderClient::shouldUseCredentialStorage() by calling
2277 a new resource load delegae method.
2279 * Interfaces/IWebResourceLoadDelegatePrivate.idl: Added
2280 a ne interface, IWebResourceLoadDelegatePrivate2, including a new
2281 method, shouldUseCredentialStorage().
2282 * WebCoreSupport/WebFrameLoaderClient.cpp:
2283 (WebFrameLoaderClient::shouldUseCredentialStorage): Added. Calls the
2284 delegate method. If the method is unimplemented, returns true for
2285 backwards compatibility.
2286 * WebCoreSupport/WebFrameLoaderClient.h:
2288 2008-12-18 Sam Weinig <sam@webkit.org>
2290 Reviewed by John Sullivan.
2292 Implement FrameLoaderClient::dispatchDidFirstVisuallyNonEmptyLayout() by calling
2293 a new private frame load delegate method.
2295 * Interfaces/IWebFrameLoadDelegatePrivate.idl:
2296 * WebCoreSupport/WebFrameLoaderClient.cpp:
2297 (WebFrameLoaderClient::dispatchDidFirstVisuallyNonEmptyLayout):
2298 * WebCoreSupport/WebFrameLoaderClient.h:
2300 2008-12-16 Steve Falkenburg <sfalken@apple.com>
2304 Reviewed by Stephanie Lewis.
2314 (::CountProperties):
2315 (::GetPropertyInfo):
2317 * WebURLResponse.cpp:
2318 (WebURLResponse::allHeaderFields):
2320 2008-12-16 Stephanie Lewis <slewis@apple.com>
2322 Another Windows Build Fix.
2324 * WebURLResponse.cpp:
2325 (WebURLResponse::allHeaderFields):
2327 2008-12-14 Dan Bernstein <mitz@apple.com>
2329 Reviewed by Darin Adler.
2331 - Windows equivalent of <rdar://problem/3258561>
2332 WebHistoryAllItemsRemovedNotification should add items to userInfo
2335 (WebHistory::removeAllItems): Changed to create an array of all items
2336 and send it in the notification.
2338 2008-12-12 Brent Fulgham <bfulgham@gmail.com>
2340 Reviewed by Oliver Hunt.
2342 Fixes: https://bugs.webkit.org/show_bug.cgi?id=22805
2344 Provides implementation of image drag for Windows Cairo back-end.
2345 Switch to generic PlatformGraphicsContext data type, rather than
2346 specific use of CoreGraphics types.
2348 * WebCoreSupport/WebDragClient.cpp:
2349 (WebDragClient::createDragImageForLink): Revise calls to use more
2350 generic PlatformGraphicsContext data types and calls for better
2353 2008-12-12 Steve Falkenburg <sfalken@apple.com>
2355 Update Windows cache sizes to match recent Mac change.
2357 Reviewed by Stephanie Lewis, Sam Weinig.
2360 (WebView::setCacheModel):
2362 2008-12-12 Tor Arne Vestbø <tavestbo@trolltech.com>
2364 Rubber-stamped by Oliver Hunt.
2366 Remove mutables from EmbeddedWidget
2368 We can do this now that frameRectsChanged() is no longer const
2370 * WebCoreSupport/EmbeddedWidget.h:
2372 2008-12-11 Cameron Zwarich <zwarich@apple.com>
2374 Rubber-stamped by Mark Rowe.
2376 Roll out r39212 due to assertion failures during layout tests, multiple
2377 layout test failures, memory leaks, and obvious incorrectness.
2379 * Interfaces/IWebPreferencesPrivate.idl:
2380 * WebPreferenceKeysPrivate.h:
2381 * WebPreferences.cpp:
2384 2008-12-10 Glenn Wilson <gwilson@google.com>
2386 Reviewed by Adam Roben.
2388 Added support for overriding default preferences per-test.
2389 https://bugs.webkit.org/show_bug.cgi?id=20534
2390 Two new methods were added: resetToDefaults and overridePreference.
2392 * Interfaces/IWebPreferencesPrivate.idl: new method signatures
2393 * WebPreferenceKeysPrivate.h: added new key for internal state
2394 * WebPreferences.cpp: added new methods
2395 (WebPreferences::overridePreference): new method
2396 (WebPreferences::resetToDefaults): new method
2397 * WebPreferences.h: new method signatures
2399 2008-12-08 Tor Arne Vestbø <tavestbo@trolltech.com>
2401 Reviewed by Darin Adler and Holger Freyther.
2403 Make Widget::frameRectsChanged() and overrides non-const
2405 This will hopefully allow us to get rid of some of the mutables in
2406 the classes that react to the callback by changing their own state.
2408 * WebCoreSupport/EmbeddedWidget.cpp:
2409 (EmbeddedWidget::frameRectsChanged):
2410 * WebCoreSupport/EmbeddedWidget.h:
2412 2008-12-09 Brett Wilson <brettw@chromium.org>
2414 Reviewed by Dave Hyatt.
2416 https://bugs.webkit.org/show_bug.cgi?id=22177
2418 Add a callback on ChromeClient that the state of form elements on
2419 the page has changed. This is to allow clients implementing session
2420 saving to know when the current state is dirty.
2422 * WebCoreSupport/WebChromeClient.h:
2423 (WebChromeClient::formStateDidChange):
2425 ks2008-12-08 Dan Bernstein <mitz@apple.com>
2427 Reviewed by Adam Roben.
2429 - Fix nightly builds
2431 * Interfaces/IWebViewPrivate.idl: Moved globalHistoryItem() to the end,
2432 so that it comes after all methods used by Safari 3.2.1.
2434 2008-12-08 Dan Bernstein <mitz@apple.com>
2436 Reviewed by John Sullivan.
2438 - WebKit/win part of tracking the global history item for a WebView
2440 * Interfaces/IWebViewPrivate.idl: Declared globalHistoryItem()
2442 (WebView::globalHistoryItem): Added. Gets the page's global history
2446 2008-12-06 Simon Fraser <simon.fraser@apple.com>
2448 Reviewed by Dave Hyatt
2450 https://bugs.webkit.org/show_bug.cgi?id=15671
2452 Renderer::caretRect() is now localCaretRect(), which needs
2453 converting to absolute coordinates (taking transforms into account).
2456 (WebView::handleContextMenuEvent):
2458 2008-12-05 Darin Adler <darin@apple.com>
2460 Reviewed by Alexey Proskuryakov.
2462 - fix https://bugs.webkit.org/show_bug.cgi?id=22674
2463 Webkit r39005 does not start, an entry point not found
2466 (findCFNetworkModule): Added.
2467 (findCopySharedURLCacheFunction): Added.
2468 (WebView::setCacheModel): Call CFURLCacheCopySharedURLCache via dynamic loading
2469 instead of compiling based on which version of CFNetwork headers are present.
2471 2008-12-04 Steve Falkenburg <sfalken@apple.com>
2473 Implement IPropertyBag2::Read.
2474 Fill in dwType for IPropertyBag2::GetPropertyInfo (we always use PROPBAG2_TYPE_DATA).
2475 https://bugs.webkit.org/show_bug.cgi?id=22659
2477 This fixes <rdar://problem/6419127> REGRESSION: Forms autocomplete is broken for "other forms"
2479 Reviewed by Ada Chan, Alice Liu.
2482 (::Read): Implemented.
2483 (::GetPropertyInfo): Set dwType to PROPBAG2_TYPE_DATA.
2485 2008-12-02 Adam Roben <aroben@apple.com>
2487 Export new-ish JSCore convenience constructor functions
2489 Reviewed by Jon Honeycutt.
2491 * WebKit.vcproj/WebKit.def:
2492 * WebKit.vcproj/WebKit_debug.def:
2493 Export JSObjectMakeArray, JSObjectMakeDate, and JSObjectMakeRegExp.
2494 Remove duplicate export of JSObjectMakeFunction.
2496 2008-12-02 Michael Moss <mmoss@chromium.org>
2498 Reviewed by Eric Seidel.
2500 - Fix http/tests/navigation/reload-subframe-*frame.html on Windows.
2501 https://bugs.webkit.org/show_bug.cgi?id=20926
2503 Change 31264 fixed this on Mac (since moved to WebCore/loader/FrameLoader.cpp), but was never ported to Windows.
2505 * WebCoreSupport/WebFrameLoaderClient.cpp:
2506 (WebFrameLoaderClient::loadURLIntoChild):
2508 2008-12-01 Steve Falkenburg <sfalken@apple.com>
2510 Implement renderedImage for Windows.
2511 https://bugs.webkit.org/show_bug.cgi?25648
2513 Reviewed by Adam Roben.
2515 * DOMCoreClasses.cpp:
2516 (DOMElement::renderedImage):
2518 * Interfaces/DOMPrivate.idl:
2520 2008-12-01 Eric Seidel <eric@webkit.org>
2522 Reviewed by Adam Roben.
2524 NULL-check documentFrameView() and topDocumentFrameView() it's possible
2525 for either of these methods to return NULL, and this was seen to cause
2526 crashes in Chromium.
2527 https://bugs.webkit.org/show_bug.cgi?id=22572
2529 * AccessibleBase.cpp:
2530 (AccessibleBase::get_accParent):
2531 (AccessibleBase::accLocation):
2532 (AccessibleBase::accHitTest):
2534 2008-11-30 Antti Koivisto <antti@apple.com>
2536 Another Windows build fix.
2538 * WebCoreStatistics.cpp:
2539 (WebCoreStatistics::javaScriptObjectsCount):
2541 2008-11-30 Antti Koivisto <antti@apple.com>
2545 * WebJavaScriptCollector.cpp:
2546 (WebJavaScriptCollector::objectCount):
2548 2008-11-29 Brent Fulgham <bfulgham@gmail.com>
2550 Reviewed by Alexey Proskuryakov.
2552 Remove Visual Studio project dependencies on non-redistributable
2553 components in the Debug_Cairo and Release_Cairo build targets.
2554 See https://bugs.webkit.org/show_bug.cgi?id=22527
2556 * WebKit.vcproj/WebKit.vcproj:
2557 * WebKit.vcproj/WebKit.sln: Instruct Cairo builds to not bother
2558 building the unused QuickTime support library.
2560 2008-11-24 Glenn Wilson <gwilson@chromium.org>
2562 Reviewed by Alexey Proskuryakov.
2564 http://bugs.webkit.org/show_bug.cgi?id=15643
2566 Added API support for the "trailing whitespace" work-around. This includes an APIs
2567 to get and set the state of this configuration variable.
2569 * Interfaces/IWebView.idl:
2570 * WebCoreSupport/WebEditorClient.cpp:
2571 (WebEditorClient::selectTrailingWhitespaceEnabled):
2572 * WebCoreSupport/WebEditorClient.h:
2575 (WebView::setSelectTrailingWhitespaceEnabled):
2576 (WebView::selectTrailingWhitespaceEnabled):
2579 2008-11-24 Darin Adler <darin@apple.com>
2581 Reviewed by Dan Bernstein.
2583 - https://bugs.webkit.org/show_bug.cgi?id=22470
2584 remove unneeded URL argument from FrameLoaderClient::updateGlobalHistory
2586 * WebCoreSupport/WebFrameLoaderClient.cpp:
2587 (WebFrameLoaderClient::updateGlobalHistory): Get the URL from the
2588 DocumentLoader, just as we do the title and the failure flag.
2589 * WebCoreSupport/WebFrameLoaderClient.h: Remove argument.
2591 2008-11-24 Darin Adler <darin@apple.com>
2593 Reviewed by Dan Bernstein.
2595 - finish https://bugs.webkit.org/show_bug.cgi?id=22295
2596 track which history items are from page load failures
2598 Last time around I did this only for the back/forward list and missed the
2599 global history list.
2601 * Interfaces/IWebHistoryItemPrivate.idl: Added setLastVisitWasFailure.
2603 * WebCoreSupport/WebFrameLoaderClient.cpp:
2604 (WebFrameLoaderClient::updateGlobalHistory): Added code to check for failure
2605 and pass the argument in to WebHistory.
2607 * WebHistory.cpp: (WebHistory::addItem): Added wasFailure argument.
2608 Set the flag on the newly created history item.
2609 * WebHistory.h: Ditto.
2611 * WebHistoryItem.cpp:
2612 (WebHistoryItem::setLastVisitWasFailure): Added.
2613 * WebHistoryItem.h: Ditto.
2615 2008-11-24 Simon Fraser <simon.fraser@apple.com>
2617 Fix call to Frame::selectionBounds in Windows build.
2620 (WebView::selectionRect):
2622 2008-11-21 Dimitri Glazkov <dglazkov@chromium.org>
2624 Reviewed by Alexey Proskuryakov.
2626 Debug WebKit crashes on launch because of threading not being initialized early enough.
2628 * WebKitClassFactory.cpp: (WebKitClassFactory::WebKitClassFactory):
2629 Call JSC::InitializeThreading().
2631 2008-11-19 Darin Fisher <darin@chromium.org>
2633 Reviewed by Geoff Garen.
2635 https://bugs.webkit.org/show_bug.cgi?id=22345
2636 Define ScriptValue as a thin container for a JSC::Value*.
2639 (WebView::stringByEvaluatingJavaScriptFromString):
2641 2008-11-19 Adele Peterson <adele@apple.com>
2643 Reviewed by Darin Adler.
2645 For transparent views, clear the dirty rect instead of painting it white.
2647 * WebView.cpp: (WebView::paintIntoBackingStore):
2649 2008-11-18 Adele Peterson <adele@apple.com>
2651 Reverting last change. I just realized it causes the view to never get cleared out.
2653 * WebView.cpp: (WebView::paintIntoBackingStore):
2655 2008-11-18 Adele Peterson <adele@apple.com>
2657 Reviewed by John Sullivan.
2659 Don't fill the view with white if its transparent.
2661 * WebView.cpp: (WebView::paintIntoBackingStore):
2663 2008-11-18 Holger Hans Peter Freyther <zecke@selfish.org>
2665 Try to fix the Windows build. It is view and not webView.
2667 * WebCoreSupport/WebFrameLoaderClient.cpp:
2668 (WebFrameLoaderClient::transitionToCommittedForNewPage):
2670 2008-11-18 Holger Hans Peter Freyther <zecke@selfish.org>
2672 Reviewed by Simon Hausmann.
2674 Attempt to share transitionToCommittedForNewPage of FrameLoaderClient with the different ports
2676 After Hyatt's work on Widget and ScrollView there is little difference
2677 between the implementation of Qt, Gtk+ and Win. In fact any kind of
2678 difference is mostly a bug. Alp has fixed two of such errors for the Gtk+
2679 port and the Qt port has at least one of them left.
2681 The only difference between the implementations is in getting the the
2682 IntSize for the new FrameView, the background color to be applied and
2683 eventually some post processing.
2685 Unify the implementations by providing a static helper function that
2686 takes a Frame, IntSize, color and transparency bit and calling it from
2687 the Gtk+, the Qt and the Windows port.
2689 * WebCoreSupport/WebFrameLoaderClient.cpp:
2690 (WebFrameLoaderClient::transitionToCommittedForNewPage):
2692 2008-11-18 Holger Hans Peter Freyther <zecke@selfish.org>
2694 Reviewed by Simon Hausmann.
2696 https://bugs.webkit.org/show_bug.cgi?id=22056
2698 Move setting the background color and transparency from WebKit/win
2699 to WebCore. This allows WebKit/win, WebKit/Qt and WebKit/Gtk+
2703 (WebFrame::updateBackground):
2705 2008-11-16 Geoffrey Garen <ggaren@apple.com>
2709 Try to fix Windows build.
2711 * WebCoreSupport/WebFrameLoaderClient.cpp:
2713 2008-11-16 Darin Adler <darin@apple.com>
2715 Reviewed by Dan Bernstein.
2717 - https://bugs.webkit.org/show_bug.cgi?id=22295
2718 track which history items are from page load failures
2720 * Interfaces/IWebHistoryItemPrivate.idl: Added lastVisitWasFailure function.
2722 * WebHistoryItem.cpp:
2723 (WebHistoryItem::initFromDictionaryRepresentation): Set the lastVisitWasFailure
2724 flag in the history item if the dictionary had an entry for lastVisitWasFailureKey.
2725 (WebHistoryItem::dictionaryRepresentation): Set the lastVisitWasFailureKey key
2726 in the dictionary if the history item had the lastVisitWasFailure flag.
2727 (WebHistoryItem::lastVisitWasFailure): Added.
2729 * WebHistoryItem.h: Added lastVisitWasFailure function.
2731 2008-11-15 Geoffrey Garen <ggaren@apple.com>
2733 Reviewed by Sam Weinig.
2735 Updated for JavaScriptCore renames.
2737 * WebScriptCallFrame.cpp:
2738 (WebScriptCallFrame::valueByEvaluatingJavaScriptFromString):
2740 2008-11-14 Dan Bernstein <mitz@apple.com>
2742 - try to fix the Windows build
2744 * WebCoreLocalizedStrings.cpp:
2745 (WebCore::contextMenuItemTagTextDirectionMenu): Added.
2747 2008-11-13 Adam Roben <aroben@apple.com>
2749 Fix Bug 22244: Webkit nightly builds crash with Safari 3.2
2751 <https://bugs.webkit.org/show_bug.cgi?id=22244>
2753 r36652 added IWebViewPrivate::clearMainFrameName into the middle of
2754 the IWebViewPrivate interface, which modifies the part of the
2755 IWebViewPrivate vtable that Safari 3.2 relies on.
2757 Reviewed by Dan Bernstein.
2759 * Interfaces/IWebViewPrivate.idl: Move clearMainFrameName to the end
2762 2008-11-11 Dan Bernstein <mitz@apple.com>
2764 Reviewed by Adam Roben.
2766 WebKit/win part of adding a master volume control for media elements in a WebView
2767 * Interfaces/IWebViewPrivate.idl: Added setMediaVolume() and
2770 (WebView::setMediaVolume): Added.
2771 (WebView::mediaVolume): Added.
2774 2008-11-10 Adam Roben <aroben@apple.com>
2776 Fix Bug 22158: Would like to turn on WebCore logging channels via an
2777 environment variable
2779 <https://bugs.webkit.org/show_bug.cgi?id=22158>
2781 Reviewed by Anders Carlsson.
2784 (WebView::initWithFrame): Call WebCore's
2785 InitializeLoggingChannelsIfNecessary.
2787 2008-11-08 Dan Bernstein <mitz@apple.com>
2789 Reviewed by Darin Adler.
2791 - WebKit/win part of adding WebPreferences for controlling databases and local storage
2793 * Interfaces/IWebPreferencesPrivate.idl: Declared setDatabasesEnabled,
2794 databasesEnabled, setLocalStorageEnabled and localStorageEnabled.
2795 * WebPreferenceKeysPrivate.h: Added WebKitDatabasesEnabledPreferenceKey
2796 and WebKitLocalStorageEnabledPreferenceKey.
2797 * WebPreferences.cpp:
2798 (WebPreferences::initializeDefaultSettings): Made databases and local
2799 storage enabled by default.
2800 (WebPreferences::setDatabasesEnabled): Added.
2801 (WebPreferences::databasesEnabled): Added.
2802 (WebPreferences::setLocalStorageEnabled): Added.
2803 (WebPreferences::localStorageEnabled): Added.
2806 (WebView::notifyPreferencesChanged): Transfer the databases and local
2807 storage preferences to WebCore settings.
2809 2008-11-06 John Sullivan <sullivan@apple.com>
2811 Eliminated one of the two booleans tracking whether zoom was text-only, to avoid future problems.
2813 Reviewed by Adam Roben
2816 removed m_zoomMultiplierIsTextOnly
2820 removed initialization of m_zoomMultiplierIsTextOnly
2821 (WebView::setZoomMultiplier):
2822 use m_page->settings()->setZoomsTextOnly() instead of setting m_zoomMultiplierIsTextOnly
2823 (WebView::zoomMultiplier):
2824 use m_page->settings()->zoomsTextOnly() instead of reading m_zoomMultiplierIsTextOnly
2826 2008-11-06 Adele Peterson <adele@apple.com>
2828 Reviewed by Adam Roben.
2830 Add support for a WebKitZoomsTextOnly preference.
2832 * Interfaces/IWebPreferences.idl:
2833 * WebPreferenceKeysPrivate.h:
2834 * WebPreferences.cpp:
2835 (WebPreferences::setZoomsTextOnly):
2836 (WebPreferences::zoomsTextOnly):
2840 (WebView::canMakeTextLarger): Consider the zoomsTextOnly setting when computing this.
2841 (WebView::makeTextLarger): ditto.
2842 (WebView::canMakeTextSmaller): ditto.
2843 (WebView::makeTextSmaller): ditto.
2844 (WebView::canMakeTextStandardSize):
2845 Don't consider the setting in this case since we need to reset both text zoom and page zoom regardless of the setting.
2846 (WebView::makeTextStandardSize):
2847 (WebView::notifyPreferencesChanged): Set the WebCore settings to match the WebPreference for WebKitZoomsTextOnly.
2849 2008-11-05 Dan Bernstein <mitz@apple.com>
2851 Reviewed by John Sullivan.
2853 - make the {protocol,proxyType} argument of
2854 WebURLProtectionSpace::initWith{Proxy}Host actually work and fix
2857 * WebURLProtectionSpace.cpp:
2858 (WebURLProtectionSpace::initWithHost): The BString comparisons were
2859 applying the BString==BSTR operator to a right hand side that was
2860 actually a WCHAR string. Fixed by using BStrings on both sides.
2861 (WebURLProtectionSpace::initWithProxyHost): Ditto.
2863 2008-11-01 Alexey Proskuryakov <ap@webkit.org>
2865 Reviewed by Darin Adler.
2867 https://bugs.webkit.org/show_bug.cgi?id=22030
2868 Make EventNames usable from multiple threads
2870 * WebView.cpp: (WebView::interpretKeyEvent): Access event names via eventNames() function.
2872 2008-11-03 Cameron Zwarich <zwarich@apple.com>
2874 Rubber-stamped by Maciej Stachowiak.
2876 Move more files into the runtime subdirectory of JavaScriptCore.
2878 * WebJavaScriptCollector.cpp:
2880 2008-11-03 Dan Bernstein <mitz@apple.com>
2882 Reviewed by Steve Falkenburg.
2884 - implement WebMutableURLRequest::setHTTPShouldHandleCookies()
2885 - add and implement WebMutableURLRequest::mutableCopy()
2887 * Interfaces/IWebURLRequest.idl:
2888 * WebMutableURLRequest.cpp:
2889 (WebMutableURLRequest::setHTTPShouldHandleCookies):
2890 (WebMutableURLRequest::mutableCopy):
2891 * WebMutableURLRequest.h:
2893 2008-10-31 Dan Bernstein <mitz@apple.com>
2895 Reviewed by John Sullivan.
2897 - WebKit/win part of <rdar://problem/6334641> Add WebView SPI for disabling document.cookie
2899 * Interfaces/IWebViewPrivate.idl:
2901 (WebView::setCookieEnabled):
2902 (WebView::cookieEnabled):
2905 2008-10-31 Adele Peterson <adele@apple.com>
2907 Reviewed by Darin Adler.
2909 WebKit Windows part of fix for <rdar://problem/5839256> FILE CONTROL: multi-file upload.
2910 https://bugs.webkit.org/show_bug.cgi?id=22008
2912 * WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::runOpenPanel):
2913 Add support for mulitple file selection.
2915 2008-10-31 Darin Adler <darin@apple.com>
2920 (WebView::setCacheModel): Roll out the part of my last change
2921 that involved no longer using wkCopyFoundationCacheDirectory.
2923 2008-10-30 Darin Adler <darin@apple.com>
2925 Reviewed by Sam Weinig.
2927 - https://bugs.webkit.org/show_bug.cgi?id=21986
2928 <rdar://problem/6294285> adopt CFURLCopySharedURLCache
2931 (WebView::setCacheModel): Use CFURLCopySharedURLCache if present.
2933 2008-10-30 Dan Bernstein <mitz@apple.com>
2935 Reviewed by Sam Weinig.
2937 - export WTFReportAssertionFailureWithMessage()
2939 * WebKit.vcproj/WebKit_debug.def:
2941 2008-10-29 Steve Falkenburg <sfalken@apple.com>
2943 <rdar://problem/6326563> Crash on launch
2945 For Windows, export explicit functions rather than exporting data for atomicallyInitializedStaticMutex.
2947 Exporting data from a DLL on Windows requires specifying __declspec(dllimport) in the header used by
2948 callers, but __declspec(dllexport) when defined in the DLL implementation. By instead exporting
2949 the explicit lock/unlock functions, we can avoid this.
2951 Fixes a crash on launch, since we were previously erroneously exporting atomicallyInitializedStaticMutex as a function.
2953 Reviewed by Darin Adler.
2955 * WebKit.vcproj/WebKit.def:
2956 * WebKit.vcproj/WebKit_debug.def:
2958 2008-10-29 Jon Honeycutt <jhoneycutt@apple.com>
2960 Export atomicallyInitializedStaticMutex.
2962 Rubber-stamped by Steve Falkenburg.
2964 * WebKit.vcproj/WebKit.def:
2965 * WebKit.vcproj/WebKit_debug.def:
2967 2008-10-28 Cameron Zwarich <zwarich@apple.com>
2969 Reviewed by Mark Rowe.
2971 Move ForwardingHeaders to their correct location after the creation of
2972 the runtime directory in JavaScriptCore.
2974 * WebScriptCallFrame.h:
2976 2008-10-28 Adele Peterson <adele@apple.com>
2978 Reviewed by John Sullivan.
2980 Fix for https://bugs.webkit.org/show_bug.cgi?id=21880
2981 "files" string for multifile uploads needs to be localized
2983 * WebCoreLocalizedStrings.cpp: (multipleFileUploadText):
2985 2008-10-28 Adele Peterson <adele@apple.com>
2987 Reviewed by Sam Weinig.
2989 * English.lproj: Removed.
2990 * English.lproj/Localizable.strings: Removed.
2991 * WebKit.vcproj/WebKit.vcproj: Updated to use Localizable.strings in the top directory, to share with the Mac.
2993 2008-10-28 Timothy Hatcher <timothy@apple.com>
2995 Add IWebInspector methods to enable the profiler.
2997 https://bugs.webkit.org/show_bug.cgi?id=21927
2999 <rdar://problem/6211578> Make the JavaScript profiler opt-in, so it does
3000 not slow down JavaScript all the time
3002 Reviewed by Darin Adler and Kevin McCullough.
3005 (WebInspector::isJavaScriptProfilingEnabled): Added. Calls InspectorController::profilerEnabled.
3006 (WebInspector::setJavaScriptProfilingEnabled): Added. Call InspectorController's disableProfiler
3007 or enableProfiler methods.
3010 2008-10-27 Timothy Hatcher <timothy@apple.com>
3012 Rename a few methods related to attaching and detaching the debugger.
3014 * Rename attachDebugger to enableDebugger.
3015 * Rename detachDebugger to disableDebugger.
3016 * Rename the debuggerAttached getter to debuggerEnabled.
3018 Reviewed by Darin Adler.
3021 (WebInspector::isDebuggingJavaScript):
3022 (WebInspector::toggleDebuggingJavaScript):
3024 2008-10-24 Sam Weinig <sam@webkit.org>
3026 Yet another windows build fix.
3028 * WebCoreSupport/WebChromeClient.cpp:
3030 2008-10-24 Sam Weinig <sam@webkit.org>
3032 Another windows build fix.
3034 * WebCoreSupport/WebChromeClient.cpp:
3036 2008-10-24 Sam Weinig <sam@webkit.org>
3038 Reviewed by Dan Bernstein.
3040 Fix https://bugs.webkit.org/show_bug.cgi?id=21759
3041 Layering violation: FileChooser should not depend on Document/Frame/Page
3043 * WebCoreSupport/WebChromeClient.cpp:
3044 (WebChromeClient::runOpenPanel):
3045 * WebCoreSupport/WebChromeClient.h:
3047 2008-10-24 Timothy Hatcher <timothy@apple.com>
3049 Implement new InspectorClient methods to work with Settings.
3051 https://bugs.webkit.org/show_bug.cgi?id=21856
3053 Reviewed by Adam Roben.
3055 * WebKit.vcproj/WebKit.vcproj: Add the new InspectorClientCF.cpp file.
3056 * WebCoreSupport/WebInspectorClient.h: Add the new methods.
3058 2008-10-24 Darin Adler <darin@apple.com>
3060 - finish rolling out https://bugs.webkit.org/show_bug.cgi?id=21732
3062 * WebScriptCallFrame.cpp:
3063 (WebScriptCallFrame::jsValueToString):
3064 (WebScriptCallFrame::stringByEvaluatingJavaScriptFromString):
3065 (WebScriptCallFrame::valueForVariable):
3066 (WebScriptCallFrame::valueByEvaluatingJavaScriptFromString):
3067 * WebScriptCallFrame.h:
3069 (WebView::stringByEvaluatingJavaScriptFromString):
3070 Use JSValue* instead of JSValuePtr.
3072 2008-10-22 Brent Fulgham <bfulgham@gmail.com>
3074 Correct build regressions in Cairo port for Windows.
3075 http://bugs.webkit.org/show_bug.cgi?id=21724
3077 Reviewed by Adam Roben.
3080 (WebView::notifyPreferencesChanged): Don't try to call
3081 setShouldPaintNativeControls when SafariTheme support is disabled, as
3082 that function doesn't exist in that case.
3084 2008-10-22 Brady Eidson <beidson@apple.com>
3086 Reviewed by Adam Roben
3088 Move elementDoesAutoComplete() to IWebFramePrivate so it is exposed for DRT to use
3090 * Interfaces/IWebFramePrivate.idl:
3093 (WebFrame::elementDoesAutoComplete):
3096 * WebHTMLRepresentation.cpp:
3097 (WebHTMLRepresentation::elementDoesAutoComplete):
3099 2008-10-20 Sam Weinig <sam@webkit.org>
3101 Reviewed by Anders Carlsson.
3103 Remove FrameLoaderClient::detachedFromParent4. It is no longer used by any port.
3108 2008-10-19 Darin Adler <darin@apple.com>
3110 Reviewed by Oliver Hunt.
3112 - next step of https://bugs.webkit.org/show_bug.cgi?id=21732
3113 improve performance by eliminating JSValue as a base class for JSCell
3115 Remove most uses of JSValue, which will be removed in a future patch.
3117 * WebScriptCallFrame.cpp:
3118 (WebScriptCallFrame::jsValueToString): Use JSValuePtr.
3119 (WebScriptCallFrame::stringByEvaluatingJavaScriptFromString): Ditto.
3120 (WebScriptCallFrame::valueForVariable): Put more code inside and ifdef.
3121 (WebScriptCallFrame::valueByEvaluatingJavaScriptFromString): Ditto.
3122 * WebScriptCallFrame.h: Use JSValuePtr.
3125 (WebView::stringByEvaluatingJavaScriptFromString): Use JSValuePtr.
3127 2008-10-18 Dan Bernstein <mitz@apple.com>
3131 * WebScriptCallFrame.cpp:
3132 (WebScriptCallFrame::jsValueToString):
3134 2008-10-18 Dan Bernstein <mitz@apple.com>
3136 Reviewed by Sam Weinig.
3138 - WebKit/win part of https://bugs.webkit.org/show_bug.cgi?id=21736
3139 Long-dead decoded image data make up for most of the object cache's memory use over time
3142 (WebView::setCacheModel): In the primary web browser model,
3143 set the cache's dead decoded data deletion interval to 60 seconds.
3145 2008-10-16 Kevin McCullough <kmccullough@apple.com>
3147 Reviewed by Steve Falkenburg.
3149 <rdar://problem/6292718>
3150 Implement a standard way to get the UA given an application name.
3152 * Interfaces/IWebViewPrivate.idl:
3154 (WebView::standardUserAgentWithApplicationName):
3157 2008-10-17 Dan Bernstein <mitz@apple.com>
3159 Reviewed by Sam Weinig.
3161 - export WTF::initializeOnMainThread()
3163 * WebKit.vcproj/WebKit.def:
3164 * WebKit.vcproj/WebKit_debug.def:
3166 2008-10-15 Geoffrey Garen <ggaren@apple.com>
3168 Reviewed by Cameron Zwarich.
3170 Fixed https://bugs.webkit.org/show_bug.cgi?id=21345
3171 Start the debugger without reloading the inspected page
3174 (WebInspector::toggleDebuggingJavaScript): Updated for rename.
3176 2008-10-15 Adam Roben <aroben@apple.com>
3178 Export WTF::Mutex::tryLock
3180 * WebKit.vcproj/WebKit.def:
3181 * WebKit.vcproj/WebKit_debug.def:
3183 2008-10-14 Jon Honeycutt <jhoneycutt@apple.com>
3185 Export currentThread.
3187 Rubber-stamped by Dan Bernstein.
3189 * WebKit.vcproj/WebKit.def:
3190 * WebKit.vcproj/WebKit_debug.def:
3192 2008-10-13 Steve Falkenburg <sfalken@apple.com>
3194 Reorder methods to preserve compatibility.
3196 Rubber stamped by Oliver Hunt.
3198 * Interfaces/IWebViewPrivate.idl:
3200 2008-10-11 Dan Bernstein <mitz@apple.com>
3202 Reviewed by Sam Weinig.
3204 - add SPI for forcing the complex text code path to be used for all text
3206 * Interfaces/IWebViewPrivate.idl:
3208 (WebView::setAlwaysUsesComplexTextCodePath):
3209 (WebView::alwaysUsesComplexTextCodePath):
3212 2008-10-10 Ada Chan <adachan@apple.com>
3214 Bug 21526: The hashmap webPreferencesInstances in WebPreferences.cpp can
3215 potentially hold onto stale instances of WebPreferences
3216 https://bugs.webkit.org/show_bug.cgi?id=21526
3218 webPreferencesInstances now keeps a reference to all the instances it holds.
3219 Fix up callers of WebPreferences::removeReferenceForIdentifier() to call
3220 it after they have released their references to the WebPreferences objects.
3222 Reviewed by Adam Roben.
3224 * WebPreferences.cpp:
3225 (WebPreferences::getInstanceForIdentifier):
3226 (WebPreferences::removeReferenceForIdentifier):
3229 (WebView::setPreferences):
3231 2008-10-06 David Hyatt <hyatt@apple.com>
3233 Enable viewless Mac WebKit to paint some basic pages.
3235 Reviewed by Sam Weinig
3237 * WebCoreSupport/WebFrameLoaderClient.cpp:
3238 (WebFrameLoaderClient::createFrame):
3239 * WebCoreSupport/WebFrameLoaderClient.h:
3241 2008-10-03 David Hyatt <hyatt@apple.com>
3243 https://bugs.webkit.org/show_bug.cgi?id=21340
3245 Remove "containingWindow()/setContainingWindow()" from Widget. HostWindow covers this now.
3247 Reviewed by Dan Bernstein & Darin Adler
3249 * WebCoreSupport/WebFrameLoaderClient.cpp:
3250 (WebFrameLoaderClient::transitionToCommittedForNewPage):
3252 (WebScrollBar::WebScrollBar):
3253 (WebScrollBar::init):
3254 (WebScrollBar::invalidateScrollbarRect):
3257 2008-10-03 David Hyatt <hyatt@apple.com>
3259 Remove addToDirtyRegion.
3261 Reviewed by Oliver Hunt
3263 * WebCoreSupport/WebChromeClient.cpp:
3265 2008-10-02 David Hyatt <hyatt@apple.com>
3267 https://bugs.webkit.org/show_bug.cgi?id=21328
3269 Make widget invalidation more cross-platform.
3271 (1) Make invalidateRect a pure virtual function on Widget. All leaf widgets must now implement this function.
3273 (2) Scrollbars now send invalidations through the ScrollbarClient. windowClipRect on ScrollbarClient has been removed and replaced with this invalidation call.
3274 This allows all scrollbar invalidations to go through the render tree so that transforms and reflections will be respected.
3276 (3) Plugins now have the native window invalidation code for windowed plugins. Windowless plugins do a repaintRectangle on the plugin's renderer.
3278 (4) FrameViews now do a repaintRectangle on their owner element's renderer.
3280 Reviewed by Sam Weinig
3282 * WebCoreSupport/EmbeddedWidget.cpp:
3283 (EmbeddedWidget::invalidateRect):
3284 * WebCoreSupport/EmbeddedWidget.h:
3286 (WebScrollBar::invalidateScrollbarRect):
3289 2008-10-02 Darin Adler <darin@apple.com>
3291 - https://bugs.webkit.org/show_bug.cgi?id=21321
3292 Bug 21321: speed up JavaScriptCore by inlining Heap in JSGlobalData
3294 * WebCoreStatistics.cpp:
3295 (WebCoreStatistics::javaScriptObjectsCount): Use heap. instead of heap-> to
3297 (WebCoreStatistics::javaScriptGlobalObjectsCount): Ditto.
3298 (WebCoreStatistics::javaScriptProtectedObjectsCount): Ditto.
3299 (WebCoreStatistics::javaScriptProtectedGlobalObjectsCount): Ditto.
3300 (WebCoreStatistics::javaScriptProtectedObjectTypeCounts): Ditto.
3301 * WebJavaScriptCollector.cpp:
3302 (WebJavaScriptCollector::objectCount): Ditto.
3304 2008-10-02 Dave Hyatt <hyatt@apple.com>
3306 https://bugs.webkit.org/show_bug.cgi?id=21316
3310 * WebCoreSupport/WebFrameLoaderClient.cpp:
3311 (WebFrameLoaderClient::transitionToCommittedForNewPage):
3313 2008-10-02 David Hyatt <hyatt@apple.com>
3315 https://bugs.webkit.org/show_bug.cgi?id=21314
3317 Make scrollBackingStore cross-platform.
3319 Reviewed by Sam Weinig
3321 * WebCoreSupport/WebChromeClient.cpp:
3322 (WebChromeClient::repaint):
3323 (WebChromeClient::scroll):
3324 * WebCoreSupport/WebChromeClient.h:
3329 2008-10-01 David Hyatt <hyatt@apple.com>
3331 https://bugs.webkit.org/show_bug.cgi?id=21298
3333 Make updateScrollbars cross-platform. For now a stubbed out scrollContents function is invoked to do the scrolling of the backing store. Next patch
3334 will make that cross-platform.
3336 The ScrollView now implements ScrollbarClient, which means that there was a clash of windowClipRect methods from the
3337 multiple inheritance. For now I solved this by adding a Scrollbar* to the ScrollbarClient version of the method, but longer term
3338 windowClipRect is going to be removed from ScrollbarClient (when Widget invalidation gets rewritten).
3340 Reviewed by Sam Weinig
3343 (WebScrollBar::windowClipRect):
3346 2008-10-01 David Hyatt <hyatt@apple.com>
3348 https://bugs.webkit.org/show_bug.cgi?id=21282
3350 Make contentsToScreen/screenToContents cross-platform. Only implemented by Mac/Win right now.
3352 Reviewed by Adam Roben
3354 * WebCoreSupport/WebChromeClient.cpp:
3355 (WebChromeClient::windowToScreen):
3356 (WebChromeClient::screenToWindow):
3357 * WebCoreSupport/WebChromeClient.h:
3359 2008-09-30 Dave Hyatt <hyatt@apple.com>
3361 https://bugs.webkit.org/show_bug.cgi?id=21269
3363 This patch makes the ScrollView::paint method cross-platform. The paint method calls the base class
3364 Widget paint on platforms with native widgets (Mac and wx). Otherwise it calls a virtual function,
3365 paintContents, to paint the ScrollView's contents, and then it paints each of the two scrollbars and
3366 the scrollbar corner.
3368 The scrollbar themes are now responsible for painting scrollbar corners. At the moment ScrollbarThemeWin still
3369 paints white (which is incorrect), so a future patch will actually implement proper native scroll corner painting
3372 paintContents is implemented by FrameView, and replaces Frame::paint. All of the FramePrivate member
3373 variables used by Frame::paint have moved to FrameViewPrivate instead. All callers of Frame::paint have
3374 been patched to use FrameView::paintContents instead.
3376 Reviewed by Darin Adler
3379 (WebFrame::paintDocumentRectToContext):
3380 (WebFrame::spoolPages):
3382 2008-09-30 Dave Hyatt <hyatt@apple.com>
3384 http://bugs.webkit.org/show_bug.cgi?id=21250
3386 Rename updateContents to repaintContentRectangle and make it cross-platform by always sending
3387 repaints up through the ChromeClient.
3389 Reviewed by Darin Adler
3391 * WebCoreSupport/WebChromeClient.cpp:
3392 (WebChromeClient::repaint):
3393 * WebCoreSupport/WebChromeClient.h:
3398 2008-09-29 Dan Bernstein <mitz@apple.com>
3400 Reviewed by Adam Roben.
3402 - WebKit/win part of fixing <rdar://problem/6247906> REGRESSION (r19500): Crash on quit beneath CloseThemeData
3405 (DllMain): Call RenderThemeWin::setWebKitIsBeingUnloaded() when WebKit
3408 2008-09-27 David Hyatt <hyatt@apple.com>
3410 Land the frameGeometry->frameRect changes that I forgot to land in WebKit.
3412 * Interfaces/IWebScrollBarPrivate.idl:
3413 * WebCoreSupport/EmbeddedWidget.cpp:
3414 (EmbeddedWidget::setFrameRect):
3415 (EmbeddedWidget::frameRectsChanged):
3416 * WebCoreSupport/EmbeddedWidget.h:
3418 (WebScrollBar::setRect):
3419 (WebScrollBar::frameRect):
3422 2008-09-27 Anders Carlsson <andersca@apple.com>
3426 * WebCoreSupport/EmbeddedWidget.cpp:
3427 (EmbeddedWidget::setFrameRect):
3428 (EmbeddedWidget::frameRectsChanged):
3429 * WebCoreSupport/EmbeddedWidget.h:
3431 (WebScrollBar::setRect):
3432 (WebScrollBar::frameGeometry):
3434 2008-09-26 David Kilzer <ddkilzer@apple.com>
3436 Speculative Windows build fix with XSLT disabled
3441 (WebCache::statistics): Populate xslStyleSheet statistics with
3442 zeros if XSLT is disabled.
3444 2008-09-24 Matt Lilek <webkit@mattlilek.com>
3446 Reviewed by Darin Adler.
3448 Bug 20999: Inspector hover to select does not work properly on Windows
3449 https://bugs.webkit.org/show_bug.cgi?id=20999
3450 <rdar://problem/6236524>
3452 * WebNodeHighlight.cpp:
3453 (WebNodeHighlight::show):
3455 2008-09-24 Darin Adler <darin@apple.com>
3457 * English.lproj/Localizable.strings: Updated for recent changes.
3459 2008-09-22 Alice Liu <alice.liu@apple.com>
3461 Added record-memory-win.vcproj tool to the solution
3463 Reviewed by Steve Falkenburg.
3465 * WebKit.vcproj/WebKit.sln:
3467 2008-09-20 Darin Adler <darin@apple.com>
3471 * WebCoreSupport/WebChromeClient.cpp:
3472 (WebChromeClient::paintCustomScrollbar): Tweaked constant names to make this
3473 compile, but it may not be working correctly. Hyatt should do the real fix.
3475 2008-09-19 Alice Liu <alice.liu@apple.com>
3477 Fix crash when submitting form at bugreport.apple.com rdar://6234126
3479 Reviewed by Mark Rowe.
3482 (::GetPropertyInfo):
3483 correct mis-use of comma operator
3485 2008-09-18 Mark Rowe <mrowe@apple.com>
3487 Reviewed by Dan Bernstein.
3489 Add SPI to WebView to allow DRT to clear the main frame's name between tests.
3491 * Interfaces/IWebViewPrivate.idl:
3493 (WebView::clearMainFrameName):
3496 2008-09-16 Alp Toker <alp@nuanti.com>
3498 Suggested by Dave Hyatt.
3500 Build fix and cleanup. Rename ScrollBar to Scrollbar.
3505 2008-09-16 David Hyatt <hyatt@apple.com>
3507 Eliminate PlatformScrollbar.
3509 Reviewed by Sam Weinig
3512 (WebScrollBar::init):
3515 2008-09-15 Chris Fleizach <cfleizach@apple.com>
3517 Reviewed by Darin Adler, Beth Dakin
3519 Support strings for AXLists
3521 * WebCoreLocalizedStrings.cpp:
3522 (WebCore::AXDefinitionListTermText):
3523 (WebCore::AXDefinitionListDefinitionText):
3525 2008-09-13 Dave Hyatt <hyatt@apple.com>
3527 Add ScrollbarTheme to the build.
3529 Reviewed by Sam Weinig
3532 (WebScrollBar::requestedWidth):
3533 (WebScrollBar::requestedHeight):
3535 2008-09-13 Dave Hyatt <hyatt@apple.com>
3537 More scrollbar refactoring.
3539 Reviewed by Sam Weinig
3543 2008-09-08 Adam Roben <aroben@apple.com>
3545 Respect the font smoothing preference when drawing via WebKitGraphics
3547 Reviewed by Dave Hyatt.
3549 * WebKitGraphics.cpp:
3550 (makeFont): Check the font smoothing preference and update the
3551 FontDescription's rendering mode based on it.
3553 2008-09-08 Steve Falkenburg <sfalken@apple.com>
3555 Another Windows nightly build fix.
3557 Remove non-production versions of CLSIDs since we'll use registry free COM with
3558 an embedded manifest now in all cases to find COM classes.
3560 Reviewed by Sam Weinig.
3562 * ForEachCoClass.cpp:
3563 (setUseOpenSourceWebKit): Remove COM registration code.
3564 * Interfaces/WebKit.idl: Remove non-production COM classes
3566 2008-09-07 Cameron Zwarich <cwzwarich@uwaterloo.ca>
3568 Reviewed by Maciej Stachowiak.
3570 Bug 20704: Replace the KJS namespace
3571 <https://bugs.webkit.org/show_bug.cgi?id=20704>
3573 Rename the KJS namespace to JSC.
3575 * WebCoreStatistics.cpp:
3576 * WebJavaScriptCollector.cpp:
3577 * WebScriptCallFrame.cpp:
3578 (WebScriptCallFrame::jsValueToString):
3579 * WebScriptCallFrame.h:
3580 (WebScriptCallFrame::state):
3583 (WebView::stringByEvaluatingJavaScriptFromString):
3585 2008-09-05 Dave Hyatt <hyatt@apple.com>
3587 Add support for runtime switchability of the Aqua look and the native look on Windows.
3588 Make RenderThemeWin compile by default even when USE(SAFARI_THEME) is set.
3590 Reviewed by Adam Roben
3592 * Interfaces/IWebPreferencesPrivate.idl:
3593 * WebPreferenceKeysPrivate.h:
3594 * WebPreferences.cpp:
3595 (WebPreferences::initializeDefaultSettings):
3596 (WebPreferences::shouldPaintNativeControls):
3597 (WebPreferences::setShouldPaintNativeControls):
3600 (WebView::notifyPreferencesChanged):
3602 2008-09-04 Adam Roben <aroben@apple.com>
3604 Make JavaScriptCoreGenerated build first instead of WTF
3606 JavaScriptCoreGenerated does some setup work that we want to happen
3609 * WebKit.vcproj/WebKit.sln: Reversed the dependencies of WTF and
3610 JavaScriptCoreGenerated.
3612 2008-08-30 Sam Weinig <sam@webkit.org>
3614 Reviewed by Dan Bernstein.
3616 Add WebView SPI to defer loading callbacks.
3618 * Interfaces/IWebViewPrivate.idl:
3620 (WebView::setDefersCallbacks):
3621 (WebView::defersCallbacks):
3624 2008-08-28 Adele Peterson <adele@apple.com>
3628 * WebIconDatabase.cpp: (WebIconDatabase::getOrCreateDefaultIconBitmap):
3630 2008-08-28 Holger Hans Peter Freyther <zecke@selfish.org>
3632 Rubber-stamped by Darin Adler.
3634 https://bugs.webkit.org/show_bug.cgi?id=17261
3636 Remove the urlIcon.png from the project and the resource file. Remove
3637 the usage of this icon from WebKitDLL.cpp and change WebIconDatabase
3638 to get the icon from the IconDatabase code which is using a version of
3639 the icon that is compiled into the code.
3641 * WebIconDatabase.cpp:
3642 (WebIconDatabase::getOrCreateDefaultIconBitmap): Use the icon from the
3644 * WebKit.vcproj/WebKit.rc: Remove urlIcon.cpp
3645 * WebKit.vcproj/urlIcon.png: Removed.
3647 (loadResourceIntoBuffer): Remove "urlIcon"
3649 2008-08-27 Alice Liu <alice.liu@apple.com>
3651 Add interface for obtaining JS object counts broken down by type
3653 Reviewed by Steve Falkenburg.
3655 * Interfaces/IWebCoreStatistics.idl:
3656 * WebCoreStatistics.cpp:
3657 (WebCoreStatistics::javaScriptProtectedObjectTypeCounts):
3658 * WebCoreStatistics.h:
3660 2008-08-27 Ada Chan <adachan@apple.com>
3665 (WebFrame::pluginWillHandleLoadError):
3667 2008-08-27 Brady Eidson <beidson@apple.com>
3671 <rdar://problem/6134133> - Crash when loading large movie as a standalone document
3674 (WebFrame::pluginWillHandleLoadError):
3677 2008-08-26 Alice Liu <alice.liu@apple.com>
3679 Implement COMPropertyBag::GetPropertyInfo
3680 and a variant setter for type int
3682 Reviewed by Anders Carlsson.
3685 (::GetPropertyInfo):
3686 * COMVariantSetter.h:
3688 2008-08-25 Adam Roben <aroben@apple.com>
3690 Fix an assertion when showing the Web Inspector
3692 Reviewed by Kevin McCullough.
3694 * WebCoreSupport/WebInspectorClient.cpp:
3695 (WebInspectorClient::attachWindow):
3696 (WebInspectorClient::detachWindow):
3697 Recent code changes have caused these functions to get called even
3698 when the window is already attached/detached, respectively. Handle
3699 this case gracefully instead of asserting something that is no longer
3702 2008-08-24 Beth Dakin <bdakin@apple.com>
3704 Reviewed by John Sullivan.
3706 Provide the excludeFromTextSearch SPI on Windows as well.
3708 * Interfaces/IWebFrame.idl:
3710 (WebFrame::setExcludeFromTextSearch):
3713 2008-08-24 Jon Honeycutt <jhoneycutt@apple.com>
3715 Cannot get the focused accessible object from the root object.
3717 AccessibleBase::get_AccFocus() checks whether the focused object is a
3718 child of the current object, but
3719 http://msdn.microsoft.com/en-us/library/ms696150(VS.85).aspx states that
3720 the result is the object itself, if it has focus, or a child object of
3721 the active window, not a child of the object.
3723 Reviewed by Sam Weinig.
3725 * AccessibleBase.cpp:
3726 (AccessibleBase::get_accFocus): Don't check whether the focused object
3729 2008-08-18 Jon Honeycutt <jhoneycutt@apple.com>
3731 Add SPI to make a Windows WebView transparent.
3733 Reviewed by Dan Bernstein.
3735 * Interfaces/IWebViewPrivate.idl:
3736 * WebCoreSupport/WebFrameLoaderClient.cpp:
3737 (WebFrameLoaderClient::transitionToCommittedForNewPage): Call
3738 updateBackground() when a new frame is attached, matching the Mac.
3740 (WebFrame::updateBackground): Propagate WebView transparency to ourself
3741 and our child frames.
3745 (WebView::paintIntoBackingStore): Pass m_transparent when creating a
3746 GraphicsContext, so the context will be created with an alpha channel.
3747 (WebView::setTransparent):
3748 (WebView::transparent):
3751 2008-08-12 Jon Honeycutt <jhoneycutt@apple.com>
3753 Add SPI to get a handle to the WebView's backing store bitmap.
3755 Reviewed by Dan Bernstein.
3757 * Interfaces/IWebViewPrivate.idl:
3759 (WebView::backingStore):
3762 2008-08-21 Jonas Klink <klinktech@gmail.com>
3764 Reviewed by Jon Honeycutt.
3766 Fix https://bugs.webkit.org/show_bug.cgi?id=20231
3767 Bug 20231: accNavigate: no screen element found in the specified direction should return S_FALSE
3769 Per <http://msdn.microsoft.com/en-us/library/ms696145(VS.85).aspx>, we should return S_FALSE
3770 from accNavigate if no screen element is found in the specified direction.
3772 * AccessibleBase.cpp:
3773 (AccessibleBase::accNavigate):
3775 2008-08-21 Jonas Klink <klinktech@gmail.com>
3777 Reviewed by Jon Honeycutt.
3779 Fix http://bugs.webkit.org/show_bug.cgi?id=20230
3780 Bug 20230: get_accState should be testing state on childObj
3782 Also initializes output parameter action to 0 in get_accDefaultAction.
3784 * AccessibleBase.cpp:
3785 (AccessibleBase::get_accState):
3786 (AccessibleBase::get_accDefaultAction):
3788 2008-08-20 Maxime Britto <britto@apple.com>
3790 Reviewed by Ada Chan.
3793 Mouse events are sent to page while resizing window (affects Gmail)
3794 In the WebView, if the MouseEvent is located in the resize corner, we send it back to the UIDelegate and early return.
3796 * Interfaces/IWebUIDelegatePrivate.idl: Add a new method to the UIDelegate to send the resize message
3798 (WebView::handleMouseEvent): If the mouse event is in the resize corner and our UIDelegate supports the message it sends the new message and early returns
3800 2008-08-19 Alexey Proskuryakov <ap@webkit.org>
3802 Reviewed by Geoff Garen.
3804 Bring back shared JSGlobalData and implicit locking, because too many clients rely on it.
3806 * WebCoreStatistics.cpp:
3807 (WebCoreStatistics::javaScriptObjectsCount):
3808 (WebCoreStatistics::javaScriptGlobalObjectsCount):
3809 (WebCoreStatistics::javaScriptProtectedObjectsCount):
3810 (WebCoreStatistics::javaScriptProtectedGlobalObjectsCount):
3811 * WebJavaScriptCollector.cpp:
3812 (WebJavaScriptCollector::objectCount):
3813 * WebScriptCallFrame.cpp:
3814 (WebScriptCallFrame::stringByEvaluatingJavaScriptFromString):
3816 (WebView::stringByEvaluatingJavaScriptFromString):
3818 2008-08-19 Steve Falkenburg <sfalken@apple.com>
3822 * WebScriptCallFrame.cpp:
3823 (WebScriptCallFrame::jsValueToString):
3825 2008-08-14 Steve Falkenburg <sfalken@apple.com>
3827 Update cache capacities to match values used on Mac.
3829 Reviewed by Dan Bernstein.
3832 (WebView::setCacheModel):
3834 2008-08-14 Sam Weinig <sam@webkit.org>
3836 Reviewed by Jon Honeycutt.
3838 Add WebView SPI to set HTMLTokenizer yielding parameters.
3840 * Interfaces/IWebViewPrivate.idl:
3842 (WebView::setCustomHTMLTokenizerTimeDelay):
3843 (WebView::setCustomHTMLTokenizerChunkSize):
3846 2008-08-13 Eric Seidel <eric@webkit.org>
3848 Attempt to fix the windows build, not review.
3850 * WebIconDatabase.cpp:
3851 (WebIconDatabase::getOrCreateDefaultIconBitmap):
3853 2008-08-13 Ada Chan <adachan@apple.com>
3855 Implemented DOMHTMLElement::idName() and WebFrame::frameElement().
3856 Added IWebFrame::paintDocumentRectToContext() so we can paint a frame's
3857 content into a device context. Changed WebView::paintDocumentRectToContext()
3858 to call that WebFrame method.
3860 Reviewed by Adam Roben.
3862 * DOMHTMLClasses.cpp:
3863 (DOMHTMLElement::idName):
3864 * Interfaces/IWebFramePrivate.idl:
3866 (WebFrame::paintDocumentRectToContext):
3867 (WebFrame::frameElement):
3870 (WebView::paintDocumentRectToContext):
3872 2008-08-12 Timothy Hatcher <timothy@apple.com>
3874 Add a stub for InspectorClient::setAttachedWindowHeight.
3876 * WebCoreSupport/WebInspectorClient.cpp:
3877 (WebInspectorClient::setAttachedWindowHeight): Add a FIXME to implement this.
3878 * WebCoreSupport/WebInspectorClient.h:
3880 2008-08-12 Adam Roben <aroben@apple.com>
3882 Export WTFLog in Debug builds
3884 Reviewed by John Sullivan.
3886 * WebKit.vcproj/WebKit_debug.def:
3888 2008-08-07 Steve Falkenburg <sfalken@apple.com>
3890 Delete backing stores before 5 second WM_TIMER fires if more than 2 are already queued.
3892 WM_TIMER-based timers can be starved if enough other events are keeping
3893 our message loop busy. This change prevents many backing store deletes from stacking
3896 Reviewed by Geoff Garen.
3899 (WebView::deleteBackingStore):
3900 (WebView::deleteBackingStoreSoon):
3901 (WebView::cancelDeleteBackingStoreSoon):
3903 2008-08-05 Ada Chan <adachan@apple.com>
3905 Add a getter for CFURLRequestRef in WebMutableURLRequest.
3907 Reviewed by Anders Carlsson.
3909 * Interfaces/IWebMutableURLRequestPrivate.idl:
3910 * WebMutableURLRequest.cpp:
3911 (WebMutableURLRequest::cfRequest):
3912 * WebMutableURLRequest.h:
3914 2008-08-05 Steve Falkenburg <sfalken@apple.com>
3916 Don't invalidate a WebView in the process of being closed when prefs change.
3918 Reviewed by Ada Chan.
3921 (WebView::notifyPreferencesChanged):
3923 2008-08-04 Alice Liu <alice.liu@apple.com>
3925 Reviewed by Steve Falkenburg.
3927 Fix CFDictionary leak
3929 * CFDictionaryPropertyBag.cpp:
3930 (CFDictionaryPropertyBag::Write):
3931 m_dictionary is a RetainPtr and should adopt the CF type created
3933 2008-08-02 Maxime Britto <britto@apple.com>
3935 Reviewed by Eric Seidel.
3937 These icons are copies from the resizers in WebCore/Ressources
3940 * WebKit.vcproj/WebKit.rc:
3941 * WebKit.vcproj/panEastCursor.png: Added.
3942 * WebKit.vcproj/panNorthCursor.png: Added.
3943 * WebKit.vcproj/panNorthEastCursor.png: Added.
3944 * WebKit.vcproj/panNorthWestCursor.png: Added.
3945 * WebKit.vcproj/panSouthCursor.png: Added.
3946 * WebKit.vcproj/panSouthEastCursor.png: Added.
3947 * WebKit.vcproj/panSouthWestCursor.png: Added.
3948 * WebKit.vcproj/panWestCursor.png: Added.
3949 * WebKit.vcproj/resource.h:
3951 (loadResourceIntoBuffer):
3953 2008-08-01 Beth Dakin <bdakin@apple.com>
3955 Reviewed by Adam Roben.
3957 Fix for <rdar://problem/6119382> Need to hook up WebFrame's
3958 disconnected frame API on Windows.
3960 * Interfaces/IWebFrame.idl:
3962 (WebFrame::setIsDisconnected):
3965 2008-08-01 Adam Roben <aroben@apple.com>
3967 Fix <rdar://6118733> REGRESSION (r35502): Crash when submitting any
3970 Reviewed by Darin Adler.
3973 (COMPropertyBag::QueryInterface): Cast to an appropriate type before
3974 assigning into ppvObject.
3976 2008-07-31 Anders Carlsson <andersca@apple.com>
3980 Get rid of FormValuesPropertyBag and use COMPropertyBag instead.
3983 Implement parts of IPropertyBag2.
3984 Currently just one method (CountProperties) is implemented.
3986 * WebCoreSupport/FormValuesPropertyBag.cpp: Removed.
3987 * WebCoreSupport/FormValuesPropertyBag.h: Removed.
3990 (WebFrame::dispatchWillSubmitForm):
3991 Create a COMPropertyBag instead.
3993 * WebKit.vcproj/WebKit.vcproj:
3995 2008-07-31 Anders Carlsson <andersca@apple.com>
4001 * WebCoreSupport/WebFrameLoaderClient.cpp:
4002 (WebFrameLoaderClient::createPlugin):
4004 2008-07-31 Anders Carlsson <andersca@apple.com>
4008 <rdar://problem/5826110>
4010 Add a way for WebKit clients to embed custom content in web pages.
4012 * Interfaces/IWebEmbeddedView.idl: Added.
4013 New interface which an embedded view must implement.
4015 * Interfaces/IWebUIDelegatePrivate.idl:
4016 Add new UI delegate method for creating an embedded view.
4018 * Interfaces/WebKit.idl:
4019 Include IWebEmbeddedView.idl.
4021 * WebCoreSupport/EmbeddedWidget.cpp: Added.
4022 * WebCoreSupport/EmbeddedWidget.h: Added.
4023 Add EmbeddedWidget, a widget subclass which can hold an IWebEmbeddedView.
4025 * WebCoreSupport/WebFrameLoaderClient.cpp:
4026 (WebFrameLoaderClient::createPlugin):
4027 Check if the UI delegate wants to create an embedded view.
4029 * WebKit.vcproj/WebKit.vcproj:
4030 Add EmbeddedWidget.{cpp|h}
4032 2008-07-31 Alexey Proskuryakov <ap@webkit.org>
4034 Rubber-stamped by Maciej.
4036 Eliminate JSLock (it was already disabled, removing the stub implementaion and all
4039 * WebCoreStatistics.cpp:
4040 (WebCoreStatistics::javaScriptObjectsCount):
4041 (WebCoreStatistics::javaScriptGlobalObjectsCount):
4042 (WebCoreStatistics::javaScriptProtectedObjectsCount):
4043 (WebCoreStatistics::javaScriptProtectedGlobalObjectsCount):
4044 * WebJavaScriptCollector.cpp:
4045 (WebJavaScriptCollector::objectCount):
4046 * WebScriptCallFrame.cpp:
4047 (WebScriptCallFrame::stringByEvaluatingJavaScriptFromString):
4049 (WebView::stringByEvaluatingJavaScriptFromString):
4051 2008-07-31 Jon Honeycutt <jhoneycutt@apple.com>
4055 * WebURLResponse.cpp:
4057 2008-07-30 Mark Rowe <mrowe@apple.com>
4061 * WebURLResponse.cpp: Don't include a header file that we just deleted.
4063 2008-07-30 Anders Carlsson <andersca@apple.com>
4067 Use a COMPropertyBag instead of the HTTPHeaderPropertyBag.
4069 * HTTPHeaderPropertyBag.cpp: Removed.
4070 * HTTPHeaderPropertyBag.h: Removed.
4071 * WebURLResponse.cpp:
4072 (WebURLResponse::allHeaderFields):
4074 2008-07-30 Anders Carlsson <andersca@apple.com>
4076 Fix copyright years.
4079 * COMVariantSetter.h:
4081 2008-07-30 Anders Carlsson <andersca@apple.com>
4085 More property bag work.
4088 (COMPropertyBag::COMPropertyBag):
4091 * COMVariantSetter.h:
4092 (COMIUnknownVariantSetter::setVariant):
4094 2008-07-30 Anders Carlsson <andersca@apple.com>
4098 Add COMPropertyBag, a simple template class that implements the IPropertyBag interface. All
4099 property bag values must be of the same type.
4101 The COMVariantSetter helpers are now in COMVariantSetter.h
4104 * COMPropertyBag.h: Added.
4105 * COMVariantSetter.h: Added.
4106 * WebKit.vcproj/WebKit.vcproj:
4108 2008-07-30 Alice Liu <alice.liu@apple.com>
4110 Reviewed by Adam Roben.
4112 Adding logging of COM class names and counts to facilitate
4113 investigating memory issues.
4115 * Interfaces/IWebKitStatistics.idl:
4118 * WebKitStatistics.cpp:
4119 (WebKitStatistics::comClassNameCounts):
4120 * WebKitStatistics.h:
4122 2008-07-29 Alice Liu <alice.liu@apple.com>
4124 Reviewed by Geoff Garen.
4126 Fix WebDocumentLoader leak on Windows.
4128 * WebCoreSupport/WebFrameLoaderClient.cpp:
4129 (WebFrameLoaderClient::createDocumentLoader):
4130 * WebDocumentLoader.cpp:
4131 (WebDocumentLoader::create):
4132 * WebDocumentLoader.h:
4134 2008-07-29 Adam Roben <aroben@apple.com>
4138 Reviewed by Geoff Garen.
4140 * WebKit.vcproj/WebKit.def:
4141 * WebKit.vcproj/WebKit_debug.def:
4143 2008-07-29 Adam Roben <aroben@apple.com>
4145 Export the new version of createThread
4147 Reviewed by Anders Carlsson.
4149 * WebKit.vcproj/WebKit.def:
4150 * WebKit.vcproj/WebKit_debug.def:
4151 Also moved the old version of createThread into the deprecated
4154 2008-07-26 Matt Lilek <webkit@mattlilek.com>
4156 Reviewed by Geoff Garen.
4158 Changes to accommodate newly named/signatured loading methods in WebCore.
4160 * WebCoreSupport/WebContextMenuClient.cpp:
4161 (WebContextMenuClient::searchWithGoogle):
4162 * WebCoreSupport/WebFrameLoaderClient.cpp:
4163 (WebFrameLoaderClient::loadURLIntoChild):
4165 2008-07-25 Adam Roben <aroben@apple.com>
4167 Try to fix the Windows build bot
4169 * WebKit.vcproj/WebKit.sln: Linearize the project dependencies. Each
4170 project now depends only on the project that should immediately
4171 precede it in the build. For the frameworks, this order makes sense.
4172 For the applications built on top of the frameworks, the order is
4173 arbitrary (but roughly follows the applications' complexity).
4175 2008-07-17 Adele Peterson <adele@apple.com>
4179 WebKit part of fix for <rdar://problem/5698672> Add drawing callback for a WebKit app to draw its own scrollbars
4181 Added a setting so an application can tell WebKit its going to draw custom scrollbars. Also added delegate methods for the actual painting.
4183 * Interfaces/IWebPreferences.idl: Added setShouldPaintCustomScrollbars and shouldPaintCustomScrollbars.
4184 * Interfaces/IWebScrollBarPrivate.idl: Moved types to WebScrollbarTypes.idl
4185 * Interfaces/IWebUIDelegate.idl: Added WebUIDelegate4 with new delegate methods, paintCustomScrollbar and paintCustomScrollCorner
4186 * Interfaces/WebKit.idl: Include new WebScrollbarTypes.idl
4187 * Interfaces/WebScrollbarTypes.idl: Added. Has types that the new delegate methods use.
4188 * WebCoreSupport/WebChromeClient.cpp:
4189 (WebChromeClient::paintCustomScrollbar): Added. Calls new delegate method and converts between WebCore types and types exported in WebScrollbarTypes.idl
4190 (WebChromeClient::paintCustomScrollCorner): Added. Calls new delegate method.
4191 (WebChromeClient::uiDelegate4): Added.
4192 * WebCoreSupport/WebChromeClient.h:
4193 * WebPreferenceKeysPrivate.h: Added WebKitPaintCustomScrollbarsPreferenceKey
4194 * WebPreferences.cpp:
4195 (WebPreferences::): Added.
4196 (WebPreferences::shouldPaintCustomScrollbars): Added.
4198 * WebView.cpp: (WebView::notifyPreferencesChanged):
4200 2008-07-15 Adam Roben <aroben@apple.com>
4202 Add WebKit[Set]ShouldUseFontSmoothing functions
4206 Reviewed by John Sullivan.
4208 * WebKit.vcproj/WebKit.def:
4209 * WebKit.vcproj/WebKit_debug.def:
4210 Export the new functions.
4211 * WebKitGraphics.cpp:
4212 (WebKitSetShouldUseFontSmoothing):
4213 (WebKitShouldUseFontSmoothing):
4214 Call through to the relevant WebCore functions.
4217 2008-07-14 Steve Falkenburg <sfalken@apple.com>
4219 Don't include autoversion.h in WebKitDLL.cpp.
4220 autoversion.h changes for every build, so we don't want to include it unless necessary.
4222 Rubber stamped by Ada Chan.
4226 2008-07-14 Adam Roben <aroben@apple.com>
4230 * WebJavaScriptCollector.cpp:
4231 (WebJavaScriptCollector::objectCount): Updated to match
4232 -[WebCoreStatistics javaScriptsObjectCount].
4234 2008-07-14 Alexey Proskuryakov <ap@webkit.org>
4236 Reviewed by Geoff Garen.
4238 Eliminate per-thread JavaScript global data instance support and make arbitrary
4239 global data/global object combinations possible.
4241 * WebCoreStatistics.cpp:
4242 (WebCoreStatistics::javaScriptObjectsCount):
4243 (WebCoreStatistics::javaScriptGlobalObjectsCount):
4244 (WebCoreStatistics::javaScriptProtectedObjectsCount):
4245 (WebCoreStatistics::javaScriptProtectedGlobalObjectsCount):
4246 Ask WebCore for its instance of JSGlobalData, now that it is not in per-thread storage.
4248 2008-07-11 Steve Falkenburg <sfalken@apple.com>
4252 * WebKit.vcproj/WebKit.vcproj:
4254 2008-07-10 Steve Falkenburg <sfalken@apple.com>
4258 * WebKit.vcproj/Interfaces.vcproj:
4260 2008-07-10 Adam Roben <aroben@apple.com>
4264 * WebKit.vcproj/resource.h: Revert some changes that VS made to this
4267 2008-07-09 Maxime Britto <britto@apple.com>
4271 Added the panning icon in the ressources.
4272 Its name is compass.png to make a difference with moveCursor.png (from the WebCore ressources)
4275 * WebKit.vcproj/WebKit.rc:
4276 * WebKit.vcproj/panIcon.png: Added.
4277 * WebKit.vcproj/resource.h:
4278 * WebKitDLL.cpp: Declared the new ressource with the name "panIcon"
4279 (loadResourceIntoBuffer):
4281 2008-07-02 Dan Bernstein <mitz@apple.com>
4283 - try to fix the Windows build
4285 * WebScriptCallFrame.cpp:
4287 2008-07-01 Alexey Proskuryakov <ap@webkit.org>
4289 Reviewed by Darin Adler.
4291 Disable JSLock for per-thread contexts.
4293 * WebCoreStatistics.cpp:
4294 (WebCoreStatistics::javaScriptObjectsCount):
4295 (WebCoreStatistics::javaScriptGlobalObjectsCount):
4296 (WebCoreStatistics::javaScriptProtectedObjectsCount):
4297 (WebCoreStatistics::javaScriptProtectedGlobalObjectsCount):
4298 * WebScriptCallFrame.cpp:
4299 (WebScriptCallFrame::stringByEvaluatingJavaScriptFromString):
4301 (WebView::stringByEvaluatingJavaScriptFromString):
4302 Pass a parameter (false) to JSLock to indicate that WebKit doesn't need locking.
4303 Include JSLock.h, as it is no longer brought in implicitly.
4305 2008-06-27 Adam Roben <aroben@apple.com>
4307 Change WebKitGraphics truncation functions to return the length of the
4310 Reviewed by Darin Adler.
4312 * WebKitGraphics.cpp:
4313 (CenterTruncateStringToWidth):
4314 (RightTruncateStringToWidth):
4317 The truncation functions now return an unsigned int that is the length
4318 of the truncated string. The whole file has been marked extern "C" to
4319 keep the symbols for these functions from changing (which would break
4322 2008-06-19 Alexey Proskuryakov <ap@webkit.org>
4326 * WebJavaScriptCollector.cpp: Added a missing include.
4328 2008-06-17 Alexey Proskuryakov <ap@webkit.org>
4330 Reviewed by Darin Adler.
4332 Prepare JavaScript heap for being per-thread.
4334 * WebCoreStatistics.cpp:
4335 (WebCoreStatistics::javaScriptObjectsCount):
4336 (WebCoreStatistics::javaScriptGlobalObjectsCount):
4337 (WebCoreStatistics::javaScriptProtectedObjectsCount):
4338 (WebCoreStatistics::javaScriptProtectedGlobalObjectsCount):
4339 * WebJavaScriptCollector.cpp:
4340 (WebJavaScriptCollector::objectCount):
4341 Use JSGlobalData::threadInstance()->heap instead of static Collector calls.
4343 * WebScriptCallFrame.cpp:
4344 (WebScriptCallFrame::valueByEvaluatingJavaScriptFromString): Pass ExecState* where
4347 2008-06-16 Alexey Proskuryakov <ap@webkit.org>
4349 Trying to fix Windows build.
4351 * WebScriptCallFrame.cpp:
4352 (WebScriptCallFrame::variableNames):
4353 (WebScriptCallFrame::valueForVariable):
4354 Give ExecState to functions that now take it.
4356 2008-06-16 Adam Roben <aroben@apple.com>
4360 * WebScriptCallFrame.cpp: Fixed a header name.
4362 2008-06-15 Darin Adler <darin@apple.com>
4364 - give Frame object functions shorter names: scriptProxy() -> script(),
4365 selectionController() -> selection(), animationController() -> animation()
4368 (WebFrame::globalContext):
4369 (WebFrame::windowObjectCleared):
4371 (WebView::handleContextMenuEvent):
4373 (WebView::updateFocusedAndActiveState):
4374 (WebView::hasSelectedRange):
4375 (WebView::replaceSelectionWithText):
4376 (WebView::clearSelection):
4377 (WebView::prepareCandidateWindow):
4378 (WebView::onIMERequestCharPosition):
4379 (WebView::onIMERequestReconvertString):
4381 2008-06-15 Darin Adler <darin@apple.com>
4383 - rename KJS::List to KJS::ArgList
4385 * WebScriptCallFrame.cpp:
4386 (WebScriptCallFrame::valueByEvaluatingJavaScriptFromString):
4388 2008-06-15 Darin Adler <darin@apple.com>
4390 - new names for a few key JavaScriptCore files
4394 2008-06-15 Darin Adler <darin@apple.com>
4396 Rubber stamped by Sam.
4398 - use JS prefix and simpler names for basic JavaScriptCore types,
4399 to complement JSValue and JSObject
4401 * WebScriptCallFrame.cpp:
4402 (WebScriptCallFrame::functionName):
4404 2008-06-15 Maciej Stachowiak <mjs@apple.com>
4406 Rubber stamped by Oliver.
4408 - fix WebKit solution for testkjs --> jsc rename
4410 * WebKit.vcproj/WebKit.sln:
4412 2008-06-14 Darin Adler <darin@apple.com>
4414 Rubber stamped by Sam.
4416 - new names for kjs_binding.h and kjs_proxy.h
4420 2008-06-14 Darin Adler <darin@apple.com>
4422 Rubber stamped by Sam.
4424 - renamed HTMLGenericFormElement to HTMLFormControlElement
4427 (WebFrame::elementWithName):
4428 (WebFrame::controlsInForm):
4430 2008-06-14 Darin Adler <darin@apple.com>
4432 - try to fix Windows build, again
4435 (WebFrame::dispatchDecidePolicyForNewWindowAction): Fix arguments. Pass form.
4436 (WebFrame::dispatchDecidePolicyForNavigationAction): Ditto.
4437 * WebFrame.h: Fix arguments.
4439 2008-06-14 Darin Adler <darin@apple.com>
4441 - try to fix Windows build
4443 * WebActionPropertyBag.cpp:
4444 (WebActionPropertyBag::Read): Use IDOMNode, not IHTMLFormElement.
4445 * WebFrame.h: Added missing FormState arguments.
4447 (WebScrollBar::init): Use create instead of new.
4449 2008-06-14 Darin Adler <darin@apple.com>
4453 - more of https://bugs.webkit.org/show_bug.cgi?id=17257
4454 start ref counts at 1 instead of 0 for speed
4456 * WebCoreSupport/WebFrameLoaderClient.cpp:
4457 (WebFrameLoaderClient::createFrame): Remove now-obsolete adoptRef that was balanced by
4458 a ref call inside the Frame constructor. The lifetime rules for Frame are now the
4459 conventional ones without a special case.
4462 (WebFrame::init): Renamed function from initWithWebFrameView and removed the unused
4463 IWebFrameView argument (every caller was passing 0). Also changed this to return the
4464 WebCore Frame object, which is needed to straighten out the lifetime and ownership
4466 * WebFrame.h: Ditto.
4469 (WebView::initWithFrame): Changed to call new init function and use the return value.
4471 2008-06-13 Darin Adler <darin@apple.com>
4473 Reviewed by John Sullivan.
4475 - updated for addition of FormState argument to action policy functions
4476 - added WebActionFormKey
4478 * Interfaces/IWebPolicyDelegate.idl:
4479 * WebActionPropertyBag.cpp:
4480 (WebActionPropertyBag::WebActionPropertyBag):
4481 (WebActionPropertyBag::createInstance):
4482 (WebActionPropertyBag::AddRef):
4483 (WebActionPropertyBag::Release):
4484 (WebActionPropertyBag::Read):
4485 * WebActionPropertyBag.h:
4487 (WebFrame::dispatchDecidePolicyForNewWindowAction):
4488 (WebFrame::dispatchDecidePolicyForNavigationAction):
4490 2008-06-07 Darin Adler <darin@apple.com>
4494 - work on https://bugs.webkit.org/show_bug.cgi?id=17257
4495 start ref counts at 1 instead of 0 for speed
4497 * WebHistoryItem.cpp:
4498 (WebHistoryItem::createInstance):
4499 (WebHistoryItem::initFromDictionaryRepresentation):
4500 (WebHistoryItem::initWithURLString):
4502 2008-05-30 Steve Falkenburg <sfalken@apple.com>
4506 WebKit no longer requires COM registration.
4507 Registry-free COM information is read from the application manifest.
4509 Only 1 set of CLSIDs are now used, since we don't need to worry about registry collisions.
4510 The second set remains, but only temporarily so nightlies continue to work.
4512 This is supported for XPSP2 and later. Earlier systems require an installer
4513 to write the required registry keys. Nightlies and developer builds require
4514 XPSP2, Server 2003, or later.
4518 * ForEachCoClass.cpp: Moved COM registration code here from WebKitDLL.cpp. This is ONLY used in the nightly case.
4519 (substituteGUID): Moved here from WebKitDLL.cpp.
4520 (registerWebKit): Moved here from WebKitDLL.cpp.
4521 (setUseOpenSourceWebKit): Call registerWebKit instead of swapping progids. There is only 1 set of progids now - for the nightly.
4522 * ForEachCoClass.h: Removed production progids.
4523 * Interfaces/WebKit.idl: Added prototype for shutDownWebKit.
4524 * WebKit.vcproj/Interfaces.vcproj: Changed path to type library to move it out of project directory.
4525 * WebKit.vcproj/WebKit.vcproj: Changed path to type library to move it out of project directory.
4527 (DllUnregisterServer): Does nothing. Entry point is still present for backward compatibility.
4528 (DllRegisterServer): Does nothing. Entry point is still present for backward compatibility.
4529 (RunAsLocalServer): Does nothing. Entry point is still present for backward compatibility.
4530 (shutDownWebKit): Moved from ForEachCoClass.
4533 2008-05-29 Anders Carlsson <andersca@apple.com>
4537 <rdar://problem/5970312>
4538 icon file specified for stand alone web app causes crash if the icon can't be found
4540 Handle the case where iconData is null.
4542 * WebIconFetcher.cpp:
4543 (WebIconFetcherClient::finishedFetchingIcon):
4545 2008-05-22 Anders Carlsson <andersca@apple.com>
4549 Add IWebIconFetcher interface and implementation.
4551 * Interfaces/IWebFramePrivate.idl:
4552 * Interfaces/IWebIconFetcher.idl: Added.
4553 * Interfaces/WebKit.idl:
4556 * WebIconFetcher.cpp: Added.
4557 * WebIconFetcher.h: Added.
4558 * WebKit.vcproj/WebKit.vcproj:
4560 2008-05-22 Adam Roben <aroben@apple.com>
4562 Add functions to IWebInspector to start/stop profiling/debugging
4566 Reviewed by Jon Honeycutt.
4568 * Interfaces/IWebInspector.idl:
4570 (WebInspector::isDebuggingJavaScript):
4571 (WebInspector::toggleDebuggingJavaScript):
4572 (WebInspector::isProfilingJavaScript):
4573 (WebInspector::toggleProfilingJavaScript):
4576 2008-05-22 Steve Falkenburg <sfalken@apple.com>
4580 * Interfaces/IWebInspector.idl:
4581 * Interfaces/WebKit.idl:
4583 (WebInspector::unused1):
4586 2008-05-22 Timothy Hatcher <timothy@apple.com>
4588 Changes to keep Windows building.
4590 <rdar://problem/5956403> Update the Develop menu to match the new Inspector items
4592 Reviewed by Adam Roben.
4594 * English.lproj/Localizable.strings: Added new strings.
4596 (WebInspector::showConsole): Call showPanel.
4599 2008-05-21 Adele Peterson <adele@apple.com>
4603 WebKit part of for <rdar://problem/5787733> fast/dom/HTMLDocument/hasFocus.html fails on Windows
4605 * WebCoreSupport/WebChromeClient.cpp:
4606 (WebChromeClient::focus): Call updateActiveState directly.
4607 Normally this would happen on a timer, but JS might need to know this earlier, so we'll update here.
4608 (WebChromeClient::unfocus): ditto.
4609 * WebView.cpp: (WebView::updateActiveStateSoon): Added comment about why we use a timer for this.
4611 === End merge of squirrelfish ===
4613 2008-05-13 Geoffrey Garen <ggaren@apple.com>
4615 Reviewed by Oliver Hunt.
4617 Updated for new JS debugging APIs.
4619 * WebScriptDebugServer.cpp:
4620 (WebScriptDebugServer::didParseSource):
4621 (WebScriptDebugServer::failedToParseSource):
4622 * WebScriptDebugServer.h:
4624 2008-05-09 Oliver Hunt <oliver@apple.com>
4628 Build fixes for SquirrelFish on windows.
4630 * WebScriptCallFrame.cpp:
4631 (callingFunctionOrGlobalExecState):
4632 (WebScriptCallFrame::caller):
4633 (WebScriptCallFrame::functionName):
4634 (WebScriptCallFrame::variableNames):
4635 (WebScriptCallFrame::valueForVariable):
4636 (WebScriptCallFrame::valueByEvaluatingJavaScriptFromString):
4637 * WebScriptDebugServer.cpp:
4638 (WebScriptDebugServer::willLeaveCallFrame):
4640 2008-05-19 Adam Roben <aroben@apple.com>
4642 Make WebKit.idl rebuild whenever any of its included interfaces are
4645 Reviewed by Tim Hatcher.
4647 * WebKit.vcproj/DerivedSources.make: Touch WebKit.idl whenever any
4648 other IDL file is changed. This will force VS to rebuild WebKit.idl.
4650 2008-05-19 Anders Carlsson <andersca@apple.com>
4654 <rdar://problem/5946454>
4655 Support navigator.onLine from HTML5.
4657 Link with iphlpapi.lib, and make iphlpapi.dll a delay loaded library.
4659 * WebKit.vcproj/WebKit.vcproj:
4661 === Start merge of squirrelfish ===
4663 2008-05-19 Anders Carlsson <andersca@apple.com>
4665 Reviewed by Darin, Alexey, Jess and Brady.
4667 Set the application cache path.
4670 (WebKitSetApplicationCachePathIfNecessary):
4671 New function that sets the cache path.
4673 (WebView::initWithFrame):
4674 Set the application cache path.
4676 2008-05-19 Ada Chan <adachan@apple.com>
4678 Added IWebCookieManager interface which allows client to set the
4679 CFHTTPCookieStorageRef that WebCore should use.
4681 Implement IWebCookieManager interface in WebCookieManager.
4683 Update the cookie accept policy in the current cookie storage.
4685 Reviewed by Steve Falkenburg.
4688 * Interfaces/IWebCookieManager.idl: Added.
4689 * Interfaces/WebKit.idl:
4690 * WebCookieManager.cpp: Added.
4691 (WebCookieManager::createInstance):
4692 (WebCookieManager::WebCookieManager):
4693 (WebCookieManager::~WebCookieManager):
4694 (WebCookieManager::QueryInterface):
4695 (WebCookieManager::AddRef):
4696 (WebCookieManager::Release):
4697 (WebCookieManager::cookieStorage):
4698 (WebCookieManager::setCookieStorage):
4699 * WebCookieManager.h: Added.
4700 * WebKit.vcproj/WebKit.vcproj:
4701 * WebKitClassFactory.cpp:
4703 (updateSharedSettingsFromPreferencesIfNeeded):
4705 2008-05-16 Stephanie Lewis <slewis@apple.com>
4709 Get pending unload event count from WebCore.
4711 * Interfaces/IWebFramePrivate.idl:
4713 (WebFrame::pendingFrameUnloadEventCount):
4716 2008-05-16 Matt Lilek <webkit@mattlilek.com>
4718 Rubber stamped by Oliver.
4720 Remove the Drosera sub-project.
4722 * WebKit.vcproj/WebKit.sln:
4724 2008-05-16 Brady Eidson <beidson@apple.com>
4726 Reviewed by Steve Falkenburg
4728 <rdar://problem/5942624> - Get LocalStorage persistence working on Windows
4730 * WebPreferenceKeysPrivate.h: Add the LocalStorageDirectory defaults key
4732 * WebPreferences.cpp:
4733 (WebPreferences::initializeDefaultSettings):
4734 (WebPreferences::localStorageDatabasePath):
4735 (WebPreferences::setLocalStorageDatabasePath):
4737 * Interfaces/IWebPreferencesPrivate.idl:
4740 (WebView::initWithFrame): Set the path in the WebCore::Settings after new Page creation
4742 2008-05-06 Brady Eidson <beidson@apple.com>
4744 Reviewed by Tim Hatcher
4746 Until the settings/preferences equation can be reworked, we'll need to manually set the local storage path
4747 before setting the page group of the new page.
4749 Since I still need to add the local storage path to WebPreferences on Windows, mark this with a FIXME for now.
4752 (WebView::initWithFrame): Mark an important FIXME for setting the LocalStorage path as
4753 appropriate. Until this FIXME is handled, Windows will have no persistent LocalStorage
4755 2008-05-14 Adam Roben <aroben@apple.com>
4757 Fix Bug 18767: Inspector is currently pretty much useless on Windows
4759 <https://bugs.webkit.org/show_bug.cgi?id=18767>
4761 Reviewed by Tim Hatcher.
4763 * WebCoreSupport/WebInspectorClient.cpp:
4764 (WebInspectorClient::highlight): Only move the highlight behind the
4765 Inspector window when first creating the highlight, not every time we
4768 2008-05-13 Adam Roben <aroben@apple.com>
4770 Neuter WebScriptDebugServer
4772 Some upcoming changes to JavaScriptDebugServer and
4773 JavaScriptDebugListener will break WebScriptDebugServer. Since Drosera
4774 is being replaced by the Inspector's debugger, and Drosera is the only
4775 client of WebScriptDebugServer, it makes more sense to get rid of
4776 WebScriptDebugServer than to update it to keep it working.
4778 We can't actually remove WebScriptDebugServer entirely yet, so I've
4779 just made it non-functional. This will completely break Drosera, but
4780 as stated above, Drosera's days are numbered anyway.
4782 Reviewed by Tim Hatcher and Kevin McCullough.
4784 * WebCoreSupport/WebFrameLoaderClient.cpp:
4785 (WebFrameLoaderClient::dispatchDidLoadMainResource): Removed all code
4788 (LocalServerDidDie): Ditto.
4789 * WebScriptDebugServer.cpp: Made all IWebScriptDebugServer functions
4791 * WebScriptDebugServer.h: Removed everything but the
4792 IWebScriptDebugServer functions.
4794 2008-05-12 Dan Bernstein <mitz@apple.com>
4798 * Interfaces/WebKit.idl: Touched.
4800 2008-05-12 Dan Bernstein <mitz@apple.com>
4802 Reviewed by Ada Chan.
4804 - WebKit/win changes for https://bugs.webkit.org/show_bug.cgi?id=17097
4805 <rdar://problem/5715471> CGFontRefs (and HFONTs on Windows) leak because FontCache grows without bound
4807 Added font cache statistics and a function to purge inactive font data.
4809 * Interfaces/IWebCoreStatistics.idl:
4810 * WebCoreStatistics.cpp:
4811 (WebCoreStatistics::cachedFontDataCount):
4812 (WebCoreStatistics::cachedFontDataInactiveCount):
4813 (WebCoreStatistics::purgeInactiveFontData):
4814 (WebCoreStatistics::glyphPageCount):
4815 * WebCoreStatistics.h:
4817 2008-05-12 Adam Roben <aroben@apple.com>
4821 * WebKitPrefix.cpp: Touch this so that it will rebuild after
4822 ENABLE_CROSS_DOCUMENT_MESSAGING was removed.
4824 2008-05-12 Alexey Proskuryakov <ap@webkit.org>
4826 Roll out recent threading changes (r32807, r32810, r32819, r32822) to simplify
4827 SquirrelFish merging.
4829 * WebCoreStatistics.cpp:
4830 (WebCoreStatistics::javaScriptObjectsCount):
4831 (WebCoreStatistics::javaScriptGlobalObjectsCount):
4832 (WebCoreStatistics::javaScriptProtectedObjectsCount):
4833 (WebCoreStatistics::javaScriptProtectedGlobalObjectsCount):
4834 * WebJavaScriptCollector.cpp:
4835 (WebJavaScriptCollector::objectCount):
4836 * WebScriptCallFrame.cpp:
4837 (WebScriptCallFrame::valueByEvaluatingJavaScriptFromString):
4839 2008-05-09 Brady Eidson <beidson@apple.com>
4841 Reviewed by Adam Roben
4843 Fix a hang-on-quit bug where in the DLL_PROCESS_DETACH DllMain callback, we assummed that
4844 we could cleanly shutdown WebKit but we couldn't because any background threads have already
4845 been uncleanly aborted at that point.
4847 * ForEachCoClass.cpp:
4848 (shutDownWebKit): Moved from WebKitDLL to here, to be exposed via WebKit.def
4851 * WebKit.vcproj/WebKit.def:
4852 * WebKit.vcproj/WebKit_debug.def:
4855 (DllMain): Don't call shutDownWebKit here
4857 2008-05-09 Sam Weinig <sam@webkit.org>
4859 Rubber-stamped by Mark Rowe.
4861 Remove the ENABLE_CROSS_DOCUMENT_MESSAGING #ifdefs.
4863 * WebKit.vcproj/WebKit.vcproj:
4865 2008-05-09 Adam Roben <aroben@apple.com>
4869 * Interfaces/WebKit.idl: Touched.
4871 2008-05-06 Alice Liu <alice.liu@apple.com>
4873 Reviewed by Adele Peterson and John Sullivan.
4875 changes needed to build on Windows after r32911 and r32927
4877 * AccessibleBase.cpp:
4878 (AccessibleBase::get_accParent):
4879 * AccessibleDocument.cpp:
4880 (AccessibleDocument::document):
4882 2008-05-06 Brady Eidson <beidson@apple.com>
4884 Reviewed by Darin Adler
4886 Preparation for upcoming work making LocalStorage persistent.
4888 When the application terminates, all LocalStorage areas must be sync'ed out to disk first.
4891 (shutDownWebKit): Close all LocalStorage areas before quitting.
4893 2008-05-05 Anders Carlsson <andersca@apple.com>
4897 Add preference for enabling the offline web application cache.
4899 * Interfaces/IWebPreferencesPrivate.idl:
4900 * WebPreferenceKeysPrivate.h:
4901 * WebPreferences.cpp:
4902 (WebPreferences::initializeDefaultSettings):
4903 (WebPreferences::setOfflineWebApplicationCacheEnabled):
4904 (WebPreferences::offlineWebApplicationCacheEnabled):
4907 (WebView::notifyPreferencesChanged):
4909 2008-05-05 Sam Weinig <sam@webkit.org>
4911 Reviewed by Tim Hatcher.
4913 Make the Inspector's localizable strings file match the format used by Dashboard widgets.
4915 * WebCoreSupport/WebInspectorClient.cpp:
4916 (WebInspectorClient::localizedStringsURL):
4918 2008-05-05 Steve Falkenburg <sfalken@apple.com>
4920 Add WebPreference for application chrome mode.
4922 Reviewed by Dave Hyatt.
4924 * Interfaces/IWebPreferencesPrivate.idl:
4925 * WebPreferenceKeysPrivate.h:
4926 * WebPreferences.cpp:
4927 (WebPreferences::initializeDefaultSettings):
4928 (WebPreferences::inApplicationChromeMode):
4929 (WebPreferences::setApplicationChromeMode):
4932 (WebView::notifyPreferencesChanged):
4934 2008-05-02 Alexey Proskuryakov <ap@webkit.org>
4936 Reviewed by Geoffrey Garen.
4938 https://bugs.webkit.org/show_bug.cgi?id=18826
4939 Make JavaScript heap per-thread
4941 * WebCoreStatistics.cpp:
4942 (WebCoreStatistics::javaScriptObjectsCount):
4943 (WebCoreStatistics::javaScriptGlobalObjectsCount):
4944 (WebCoreStatistics::javaScriptProtectedObjectsCount):
4945 (WebCoreStatistics::javaScriptProtectedGlobalObjectsCount):
4946 * WebJavaScriptCollector.cpp:
4947 (WebJavaScriptCollector::objectCount):
4948 * WebScriptCallFrame.cpp:
4949 (WebScriptCallFrame::valueByEvaluatingJavaScriptFromString):
4950 Replaced static Collector calls with calls to a current thread's instance. Pass ExecState to jsString().
4952 2008-04-29 Ada Chan <adachan@apple.com>
4954 Support text shadow in WebDrawText().
4955 Remove DrawTextAtPoint() since it is only called by WebDrawText().
4959 * WebKit.vcproj/WebKit.def:
4960 * WebKit.vcproj/WebKit_debug.def:
4961 * WebKitGraphics.cpp:
4965 2008-04-29 Adam Roben <aroben@apple.com>
4967 Restore the beloved COMPtr::operator&
4969 2008-04-29 Adam Roben <aroben@apple.com>
4973 Replaced uses of COMPtr::operator& with COMPtr::adoptionPointer.
4975 2008-04-29 Adam Roben <aroben@apple.com>
4977 Fix a Windows build error
4979 * WebScriptCallFrame.cpp:
4980 (WebScriptCallFrame::variableNames): Don't use ::adopt now that
4981 PropertyNameArray has no swap function.
4983 2008-04-28 Adam Roben <aroben@apple.com>
4985 Fix some Windows build errors in WebKit
4987 * Interfaces/WebKit.idl: Touched to force Interfaces to rebuild.
4988 * WebKitPrefix.cpp: Touched to force WebKit to rebuild.
4990 2008-04-25 Alexey Proskuryakov <ap@webkit.org>
4992 Reviewed by Darin Adler.
4994 Fix run-webkit-tests --threading
4995 and provisionally fix <https://bugs.webkit.org/show_bug.cgi?id=18661>
4996 Proxy server issue in Sunday's Nightly
4998 * WebView.cpp: (WebView::WebView): Initialize threading. Previously, this was only done from
4999 icon database code, which is not robust enough.
5001 2008-04-26 Adam Barth <hk9565@gmail.com>
5003 Reviewed by Adam Roben and Sam Weinig.
5005 Renamed "domain" method to "host" to match SecurityOrigin.
5007 * Interfaces/IWebSecurityOrigin.idl:
5008 * WebSecurityOrigin.cpp:
5009 (WebSecurityOrigin::host):
5010 * WebSecurityOrigin.h:
5012 2008-04-25 Anders Carlsson <andersca@apple.com>
5016 Fix internal debug build.
5018 * WebKit.vcproj/WebKit.vcproj:
5020 2008-04-24 Dan Bernstein <mitz@apple.com>
5025 (WebView::handleContextMenuEvent):
5027 2008-04-24 Brady Eidson <beidson@apple.com>
5031 Revert my previous change to WebKit/Win until I can make it act more like the new Mac code
5034 (WebView::initWithFrame):
5036 2008-04-24 Anders Carlsson <andersca@apple.com>
5040 Change some String arguments to be const references instead.
5042 * WebCoreSupport/WebEditorClient.cpp:
5043 (WebEditorClient::shouldInsertText):
5044 * WebCoreSupport/WebEditorClient.h:
5046 2008-04-23 Brady Eidson <beidson@apple.com>
5048 Reviewed by Sam Weinig
5050 In some current work I noticed that when a new Page is created, it is possible that it requires info from its Settings
5051 object before the Settings object is initialized. It seems quite prudent to post the preferences changed notification,
5052 thereby populating the Settings object, immediately after the Page is created.
5055 (WebView::initWithFrame): Post the notification right after the Page is created
5057 2008-04-23 Jon Honeycutt <jhoneycutt@apple.com>
5061 Implement accDoDefaultAction().
5063 * AccessibleBase.cpp:
5064 (AccessibleBase::accDoDefaultAction): Call the object's
5065 performDefaultAction() method. Return S_FALSE if the call returns false,
5066 indicating that the object has no default action associated with it.
5068 2008-04-23 Jon Honeycutt <jhoneycutt@apple.com>
5072 Implement accHitTest().
5074 * AccessibleBase.cpp:
5075 (AccessibleBase::accHitTest): Perform a hit test for a child object. If
5076 none is found, report whether the point was within our own bounding box.
5078 2008-04-23 Jon Honeycutt <jhoneycutt@apple.com>
5080 Reviewed by Adam and Darin.
5082 Implement accNavigate().
5084 * AccessibleBase.cpp:
5085 (AccessibleBase::accNavigate): This method navigates between elements,
5086 given a start point and a direction. The directions UP, DOWN, LEFT,
5087 RIGHT are not are not implemented, matching Mozilla and IE. The
5088 directions FIRSTCHILD and LASTCHILD are only allowed from self. NEXT and
5089 PREVIOUS are allowed from self or any of our children.
5091 2008-04-23 Jon Honeycutt <jhoneycutt@apple.com>
5095 Implement accLocation().
5097 * AccessibleBase.cpp:
5098 (AccessibleBase::accLocation): Report the screen coordinates for the
5099 object's bounding box.
5101 2008-04-23 Jon Honeycutt <jhoneycutt@apple.com>
5103 Reviewed by Adam, Darin, Oliver.
5105 Implement get_accDefaultAction().
5107 * AccessibleBase.cpp:
5108 (AccessibleBase::get_accDefaultAction): Report the result of calling the
5109 object's actionVerb method.
5110 * English.lproj/Localizable.strings: Updated with new strings.
5111 * WebCoreLocalizedStrings.cpp:
5112 (WebCore::AXButtonActionVerb): Return a localized string representing
5113 the object's default action.
5114 (WebCore::AXRadioButtonActionVerb): Same.
5115 (WebCore::AXTextFieldActionVerb): Same.
5116 (WebCore::AXCheckedCheckBoxActionVerb): Same
5117 (WebCore::AXUncheckedCheckBoxActionVerb): Same.
5118 (WebCore::AXLinkActionVerb): Same.
5120 2008-04-23 Daniel Zucker <zucker@wake3.com>
5122 Reviewed by Adam Roben.
5124 <https://bugs.webkit.org/show_bug.cgi?id=18468>
5126 * WebError.h: include RetainPtr.h to fix build errors in Cairo build
5128 2008-04-23 Daniel Zucker <zucker@wake3.com>
5130 Reviewed by Adam Roben.
5132 Move the location of #if USE(CFNETWORK) to fix a cairo/curl build error.
5133 <https://bugs.webkit.org/show_bug.cgi?id=18470>
5136 (WebError::sslPeerCertificate):
5138 2008-04-22 Jon Honeycutt <jhoneycutt@apple.com>
5142 Implement get_accFocus().
5144 * AccessibleBase.cpp:
5145 (AccessibleBase::get_accRole): Remove redundant initialization;
5146 VariantInit does this.
5147 (AccessibleBase::get_accState): Same.
5148 (AccessibleBase::get_accSelection): Relocated next to accSelect().
5149 (AccessibleBase::get_accFocus): If the focused object is this object or
5150 a child of this object, report it. Otherwise, report VT_EMPTY.
5152 2008-04-22 Jon Honeycutt <jhoneycutt@apple.com>
5156 Implement get_accKeyboardShortcut().
5158 * AccessibleBase.cpp:
5159 (AccessibleBase::get_accKeyboardShortcut): Report the key combination
5160 that will perform the object's access key action, represented as a
5163 2008-04-19 Jon Honeycutt <jhoneycutt@apple.com>
5165 Reviewed by Darin Adler.
5167 Implement get_accHelp().
5169 * AccessibleBase.cpp:
5170 (AccessibleBase::get_accHelp): Report the result of calling the object's
5173 2008-04-19 Jon Honeycutt <jhoneycutt@apple.com>
5175 Reviewed by Darin Adler.
5177 Implement get_accState().
5179 * AccessibleBase.cpp:
5180 (AccessibleBase::get_accState):
5182 2008-04-21 Alexey Proskuryakov <ap@webkit.org>
5184 Reviewed by Darin Adler.
5186 Move collector main thread initialization from WebKit/win to KJS::initializeThreading.
5191 2008-04-18 Jon Honeycutt <jhoneycutt@apple.com>
5193 Reviewed by Darin Adler.
5195 Implement get_accRole().
5197 * AccessibleBase.cpp:
5198 (AccessibleBase::get_accRole): Report the result of role().
5199 (MSAARole): Added; returns the MSAA role for a WebCore role.
5200 (AccessibleBase::role): Return the MSAA role for the object's roleValue.
5201 * AccessibleBase.h: Add declaration for role().
5203 2008-04-18 Jon Honeycutt <jhoneycutt@apple.com>
5205 Reviewed by Darin Adler.
5207 Implement get_accName(), get_accValue(), get_accDescription(). Added
5208 virtual methods that accessible objects can override to customize the
5211 * AccessibleBase.cpp:
5212 (AccessibleBase::get_accName): Report result of name().
5213 (AccessibleBase::get_accValue): Report result of value().
5214 (AccessibleBase::get_accDescription): Report result of description().
5215 (AccessibleBase::name): Added; returns AccessibilityObject::title().
5216 (AccessibleBase::value): Added; returns
5217 AccessibilityObject::stringValue().
5218 (AccessibleBase::description): Added; returns
5219 AccessibilityObject::accessibilityDescription().
5220 * AccessibleBase.h: Added declarations for name(), value(), and
5222 * ChangeLog: Fix my misuse of "definition."
5224 2008-04-18 Jon Honeycutt <jhoneycutt@apple.com>
5226 Fix build after r32231.
5229 (WebFrame::renderTreeAsExternalRepresentation): renderer() ->
5232 2008-04-18 Jon Honeycutt <jhoneycutt@apple.com>
5234 Fix build after r32231.
5237 (WebView::paintIntoBackingStore): renderer() -> contentRenderer()
5238 (WebView::elementAtPoint): Same.
5240 2008-04-18 Jon Honeycutt <jhoneycutt@apple.com>
5242 * AccessibleBase.cpp: Build fix for copy/paste error.
5244 2008-04-18 Jon Honeycutt <jhoneycutt@apple.com>
5246 Reviewed by Darin Adler.
5248 Implement IAccessible::get_accChild().
5250 * AccessibleBase.cpp:
5251 (AccessibleBase::get_accChild): Call getAccessibilityObjectForChild
5252 to find the AccessibilityObject for the VARIANT vChild. Get the
5253 AccessibilityObjectWrapper for the child, add a ref, and pass it back.
5254 (AccessibleBase::getAccessibilityObjectForChild): Added; finds the
5255 AccessibilityObject referred to by a VARIANT, or returns a COM error on
5257 (AccessibleBase::wrapper): Added; returns the wrapper for the
5258 AccessibilityObject. Creates one if necessary.
5259 * AccessibleBase.h: Added declarations for wrapper() and
5260 getAccessibilityObjectForChild().
5262 2008-04-18 Jon Honeycutt <jhoneycutt@apple.com>
5264 Reviewed by Darin, Ollie.
5266 * AccessibleBase.cpp:
5267 (AccessibleBase::get_accChildCount): Implement get_accChildCount.
5269 2008-04-17 Jon Honeycutt <jhoneycutt@apple.com>
5271 Reviewed by Darin Adler.
5273 Implement IAccessible::get_accParent().
5275 * AccessibleBase.cpp:
5276 (AccessibleBase::get_accParent): Call AccessibleObjectFromWindow with
5277 OBJID_WINDOW. This will be handled by Windows to return the default
5278 accessible object for the WebView, because we only handle OBJID_CLIENT.
5280 (WebView::AccessibleObjectFromWindow): Added; calls through to the
5281 AccessibleObjectFromWindow in the MSAA DLL.
5282 * WebView.h: Added declaration for AccessibleObjectFromWindow.
5284 2008-04-17 Jon Honeycutt <jhoneycutt@apple.com>
5286 Reviewed by Darin Adler.
5288 Return an AccessibleDocument when our root accessible object is queried
5291 * AccessibleDocument.cpp: Added; represents an AccessibilityObject that
5292 itself represents a Document.
5293 (AccessibleDocument::AccessibleDocument): Initialize AccessibleBase with
5294 the AccessibilityObject for this Document.
5295 * AccessibleDocument.h: Added.
5297 (WebFrame::accessible): If m_accessible is 0, or if Document in this
5298 frame does not match the Document in the cached m_accessible object,
5299 create a new AccessibleDocument for this frame's Document.
5300 * WebFrame.h: Swap AccessibleBase.h for AccessibleDocument.h
5301 * WebKit.vcproj/WebKit.vcproj: Add AccessibleDocument.{h,cpp}
5303 2008-04-17 Jon Honeycutt <jhoneycutt@apple.com>
5305 Reviewed by Darin Adler.
5307 Respond to WM_GETOBJECT messages. Currently returns NULL.
5310 (WebFrame::accessible): Added; will return the root accessible object
5312 * WebFrame.h: Added declaration for accessible().
5314 (WebViewWndProc): Handle WM_GETOBJECT messages by calling onGetObject().
5315 (WebView::onGetObject): Added; enables the AXObjectCache in WebCore,
5316 queries the top-level frame for its root accessible object, and loads
5317 the MSAA DLL and locates its LresultFromObject function. If calling
5318 LresultFromObject succeeds, it returns a reference to the accessible
5319 object to pass back to Windows. If not, we return false and let Windows
5320 handle the request through DefWindowProc.
5321 * WebView.h: Added declaration for onGetObject().
5323 2008-04-18 Brady Eidson <beidson@apple.com>
5325 Reviewed by Sam Weinig
5327 Don't clear the PageGroup on _close, as the WebCore::Page destructor already does this.
5328 No reason to do the work twice...
5333 2008-04-18 Adam Roben <aroben@apple.com>
5335 Update WebScriptDebugServer for JavaScriptDebugListener changes
5337 Reviewed by Tim Hatcher.
5339 * WebScriptDebugServer.cpp: Changed to use KJS::UString instead of
5341 * WebScriptDebugServer.h: Ditto.
5343 2008-04-16 Jon Honeycutt <jhoneycutt@apple.com>
5345 Reviewed by Darin Adler.
5347 Add a base AccessibilityObject wrapper class. Currently just stubs all
5348 of the IAccessible methods.
5350 * AccessibleBase.cpp: Added. Implements IAccessible, and inherits from
5351 WebCore::AccessibilityObjectWrapper.
5352 (AccessibleBase::AccessibleBase): Set the object's wrapper to this
5354 (AccessibleBase::~AccessibleBase):
5355 (AccessibleBase::createInstance): Create an instance of a wrapper for
5356 this AccessibilityObject.
5357 (AccessibleBase::QueryInterface):
5358 (AccessibleBase::Release):
5359 (AccessibleBase::get_accParent):
5360 (AccessibleBase::get_accChildCount):
5361 (AccessibleBase::get_accChild):
5362 (AccessibleBase::get_accName):
5363 (AccessibleBase::get_accValue):
5364 (AccessibleBase::get_accDescription):
5365 (AccessibleBase::get_accRole):
5366 (AccessibleBase::get_accState):
5367 (AccessibleBase::get_accHelp):
5368 (AccessibleBase::get_accKeyboardShortcut):
5369 (AccessibleBase::accSelect):
5370 (AccessibleBase::get_accFocus):
5371 (AccessibleBase::get_accSelection):
5372 (AccessibleBase::get_accDefaultAction):
5373 (AccessibleBase::accLocation):
5374 (AccessibleBase::accNavigate):
5375 (AccessibleBase::accHitTest):
5376 * AccessibleBase.h: Added.
5377 (AccessibleBase::AddRef):
5378 (AccessibleBase::put_accName):
5379 (AccessibleBase::put_accValue):
5380 (AccessibleBase::get_accHelpTopic):
5381 (AccessibleBase::GetTypeInfoCount):
5382 (AccessibleBase::GetTypeInfo):
5383 (AccessibleBase::GetIDsOfNames):
5384 (AccessibleBase::Invoke):
5385 (AccessibleBase::detach): Detach this wrapper from its object.
5386 * WebKit.vcproj/WebKit.vcproj:
5388 2008-04-15 Anders Carlsson <andersca@apple.com>
5392 Add ENABLE_OFFLINE_WEB_APPLICATIONS to FEATURE_DEFINES.
5394 * WebKit.vcproj/WebKit.vcproj:
5396 2008-04-12 Matt Lilek <webkit@mattlilek.com>
5398 Not reviewed, build fix.
5401 (WebView::paintDocumentRectToContext):
5403 2008-04-11 Steve Falkenburg <sfalken@apple.com>
5407 Made this code match the Mac.
5409 Reviewed by Mark Rowe.
5412 (PreferencesChangedOrRemovedObserver::notifyPreferencesChanged):
5414 2008-04-11 Adam Roben <aroben@apple.com>
5416 * ForEachCoClass.h: Added a deprecation notice.
5418 2008-04-11 Adam Roben <aroben@apple.com>
5420 Fix Bug 18376: r31733 and 27 don't work w/Safari 3.1
5422 <https://bugs.webkit.org/show_bug.cgi?id=18376>
5424 Rubberstamped by Steve.
5426 * ForEachCoClass.h: Move post-3.1 classes to the end of the
5427 FOR_EACH_COCLASS macro so that pre-3.1 classes will be in the place
5428 Safari expects them to be. We will soon be deprecating
5429 setUseOpenSourceWebKit/progIDForClass because it is clearly very
5432 2008-04-10 Ada Chan <adachan@apple.com>
5434 Added WebCoreStatistics that provides stats on Javascript objects
5437 Changed WebCache::statistics() to additionally return xsl stylesheets data
5438 and data on live sizes and decoded sizes.
5443 * Interfaces/IWebCoreStatistics.idl: Added.
5444 * Interfaces/WebKit.idl:
5446 (WebCache::statistics):
5447 * WebCoreStatistics.cpp: Added.
5448 (WebCoreStatistics::WebCoreStatistics):
5449 (WebCoreStatistics::~WebCoreStatistics):
5450 (WebCoreStatistics::createInstance):
5451 (WebCoreStatistics::QueryInterface):
5452 (WebCoreStatistics::AddRef):
5453 (WebCoreStatistics::Release):
5454 (WebCoreStatistics::javaScriptObjectsCount):
5455 (WebCoreStatistics::javaScriptGlobalObjectsCount):
5456 (WebCoreStatistics::javaScriptProtectedObjectsCount):
5457 (WebCoreStatistics::javaScriptProtectedGlobalObjectsCount):
5458 (WebCoreStatistics::iconPageURLMappingCount):
5459 (WebCoreStatistics::iconRetainedPageURLCount):
5460 (WebCoreStatistics::iconRecordCount):
5461 (WebCoreStatistics::iconsWithDataCount):
5462 * WebCoreStatistics.h: Added.
5463 * WebKit.vcproj/WebKit.vcproj:
5464 * WebKitClassFactory.cpp:
5466 2008-04-09 Steve Falkenburg <sfalken@apple.com>
5468 Delete backing store (after a delay) when a WebView's top-level parent becomes inactive.
5470 Reviewed by Brady Eidson.
5473 (WebView::windowReceivedMessage):
5475 2008-04-08 Adam Roben <aroben@apple.com>
5477 Export callOnMainThread from WebKit.dll
5479 Rubberstamped by Anders.
5481 * WebKit.vcproj/WebKit.def:
5482 * WebKit.vcproj/WebKit_debug.def:
5484 2008-04-08 Adam Roben <aroben@apple.com>
5486 Move callOnMainThread to WTF
5488 Reviewed by Alexey Proskuryakov.
5490 * WebIconDatabase.cpp: Updated #include
5492 2008-04-08 Steve Falkenburg <sfalken@apple.com>
5494 Add missing increment/decrement COM class counts to detect leaks.
5496 Reviewed by Adam Roben.
5498 * CFDictionaryPropertyBag.cpp:
5499 (CFDictionaryPropertyBag::CFDictionaryPropertyBag):
5500 (CFDictionaryPropertyBag::~CFDictionaryPropertyBag):
5501 * CFDictionaryPropertyBag.h:
5502 * HTTPHeaderPropertyBag.cpp:
5503 (HTTPHeaderPropertyBag::HTTPHeaderPropertyBag):
5504 (HTTPHeaderPropertyBag::~HTTPHeaderPropertyBag):
5505 * HTTPHeaderPropertyBag.h:
5506 * WebActionPropertyBag.cpp:
5507 (WebActionPropertyBag::WebActionPropertyBag):
5508 (WebActionPropertyBag::~WebActionPropertyBag):
5509 * WebDocumentLoader.cpp:
5510 (WebDocumentLoader::WebDocumentLoader):
5511 (WebDocumentLoader::~WebDocumentLoader):
5512 * WebDropSource.cpp:
5513 (WebDropSource::WebDropSource):
5514 (WebDropSource::~WebDropSource):
5516 * WebElementPropertyBag.cpp:
5517 (WebElementPropertyBag::WebElementPropertyBag):
5518 (WebElementPropertyBag::~WebElementPropertyBag):
5519 * WebTextRenderer.cpp:
5520 (WebTextRenderer::WebTextRenderer):
5521 (WebTextRenderer::~WebTextRenderer):
5523 2008-04-07 Brady Eidson <beidson@apple.com>
5525 Reviewed by John Honeycutt
5527 ENABLE_DOM_STORAGE for Windows
5529 * WebKit.vcproj/WebKit.vcproj:
5531 2008-04-04 Adam Roben <aroben@apple.com>
5533 Export some more WTF functions from WebKit.dll
5535 Reviewed by Alexey Proskuryakov.
5537 * WebKit.vcproj/WebKit.def:
5538 * WebKit.vcproj/WebKit_debug.def:
5540 2008-04-04 Steve Falkenburg <sfalken@apple.com>
5542 Only delete the backing store of background windows.
5544 Reviewed by Ada Chan.
5548 (WebView::deleteBackingStore):
5549 (WebView::paint): Added active check.
5550 (WebView::deleteBackingStoreSoon):
5551 (WebView::cancelDeleteBackingStoreSoon): Added.
5552 (WebView::active): Added.
5553 (WebView::updateActiveState): Moved active check code from here to active().
5556 2008-04-04 Steve Falkenburg <sfalken@apple.com>
5558 Fix tooltip window leak.
5560 Explicitly call DestroyWindow on the tooltip.
5561 Destroying its parent won't destroy the tooltip, since it not a WS_CHILD style window.
5563 Reviewed by Ada Chan.
5566 (WebView::~WebView):
5568 2008-04-04 Steve Falkenburg <sfalken@apple.com>
5570 Delete backing store after we go 5 seconds without a paint.
5572 Timer will be reset if a paint occurs, so this won't negatively impact performance.
5574 Reviewed by Ada Chan.
5577 (WebView::paint): Call deleteBackingStoreSoon after paint.
5578 (WebViewWndProc): Add DeleteBackingStoreTimer.
5579 (WebView::deleteBackingStoreSoon): Added.
5580 * WebView.h: Add deleteBackingStoreSoon.
5582 2008-04-04 Ada Chan <adachan@apple.com>
5584 <rdar://problem/5830598> Image file opened in the browser window shows "Localized String Not Found' in window's title bar instead file name
5585 Save WebCoreLocalizedStrings.cpp with UTF8 encoding.
5586 Changed the format string to take in integers.
5590 * English.lproj/Localizable.strings: Updated.
5591 * WebCoreLocalizedStrings.cpp:
5592 (WebCore::imageTitle):
5594 2008-04-03 Dan Bernstein <mitz@apple.com>
5596 Reviewed by Dave Hyatt.
5598 - WebKit part of fixing http://bugs.webkit.org/show_bug.cgi?id=6484
5599 font-weight does not properly support graded weights
5601 * DOMCoreClasses.cpp:
5602 (DOMElement::font): Updated for the change to FontDescription.
5603 * WebCoreSupport/WebDragClient.cpp:
5604 (dragLabelFont): Ditto.
5605 * WebKitGraphics.cpp:
5607 * WebKitGraphics.h: Added a FIXME.
5609 2008-04-03 Steve Falkenburg <sfalken@apple.com>
5611 <rdar://problem/5835382> Calling window.open immediately after window.close can sometimes result in no window being created
5613 Group name tracking needs to happen using code in WebCore::Page, since it is more involved than
5614 just setting a string.
5616 Reviewed by Adam Roben.
5619 (WebView::close): Add null check (found via code inspection).
5620 (WebView::initWithFrame): Store the group name directly in Page.
5621 (WebView::setGroupName): Store the group name directly in Page.
5622 (WebView::groupName): Retrieve the group name directly from Page.
5623 * WebView.h: Removed m_groupName
5625 2008-04-03 Simon Hausmann <hausmann@webkit.org>
5627 Reviewed by Mark Rowe.
5629 Roll out r31599 and r31605 again after discussion with Mark Rowe.
5631 * WebIconDatabase.cpp:
5632 (WebIconDatabase::iconForURL):
5634 2008-04-03 Simon Hausmann <hausmann@webkit.org>
5638 * WebIconDatabase.cpp:
5639 (WebIconDatabase::iconForURL): Adjust to changed iconForPageURL
5642 2008-04-03 Ada Chan <adachan@apple.com>
5644 Allow WebArchive to be created via COM.
5645 Replaced IID_DOMNode with __uuidof(DOMNode).
5647 Reviewed by Adam and Steve.
5649 * DOMCoreClasses.cpp:
5650 (DOMNode::QueryInterface):
5651 (DOMNode::isSameNode):
5654 * Interfaces/WebKit.idl:
5656 (WebArchive::createInstance):
5658 * WebKitClassFactory.cpp:
5660 2008-04-01 Brady Eidson <beidson@apple.com>
5662 Reviewed by Jon Honeycutt and Cake
5664 Hookup WebArchive API enough to be able to save the archive of a DOMNode
5666 * DOMCoreClasses.h: Add a GUID for DOMNode
5668 * Interfaces/IWebArchive.idl: Add initWithNode()
5671 (WebArchive::initWithNode):
5672 (WebArchive::data): Actually return LegacyWebArchive-style data
5675 2008-04-01 Brady Eidson <beidson@apple.com>
5677 Reviewed by Adam Roben
5679 Add empty implementations of WebArchive for future work
5681 * WebArchive.cpp: Added.
5682 (WebArchive::createInstance):
5683 (WebArchive::WebArchive):
5684 (WebArchive::~WebArchive):
5685 (WebArchive::QueryInterface):
5686 (WebArchive::AddRef):
5687 (WebArchive::Release):
5688 (WebArchive::initWithMainResource):
5689 (WebArchive::initWithData):
5690 (WebArchive::mainResource):
5691 (WebArchive::subResources):
5692 (WebArchive::subframeArchives):
5694 * WebArchive.h: Added.
5696 * WebKit.vcproj/WebKit.vcproj:
5698 2008-03-29 Adam Roben <aroben@apple.com>
5700 Rename IWebViewPrivate::addAdditionalPluginPath to
5701 addAdditionalPluginDirectory
5703 Reviewed by Mitz Pettel.
5705 * Interfaces/IWebViewPrivate.idl:
5706 * Interfaces/WebKit.idl: Touched to make sure the Interfaces project
5709 (WebView::addAdditionalPluginDirectory):
5712 2008-03-26 Brent Fulgham <bfulgham@gmail.com>
5714 Reviewed by Adam Roben.
5716 Add necessary files and build commands to vcproj files to
5717 build a Curl-based Windows WebKit. For details, see
5718 http://bugs.webkit.org/show_bug.cgi?id=17985
5720 * WebKit.vcproj/WebKit.vcproj:
5722 2008-03-25 Adam Roben <aroben@apple.com>
5726 * WebKit.vcproj/WebKit.sln: Make testapi build after most other
5729 2008-03-25 Adam Roben <aroben@apple.com>
5731 Fix Bug 18077: Integrate testapi.c into the Windows build
5733 <http://bugs.webkit.org/show_bug.cgi?id=18077>
5735 Reviewed by Steve Falkenburg.
5737 * WebKit.vcproj/WebKit.sln: Added testapi.vcproj to the solution.
5739 2008-03-25 Brady Eidson <beidson@apple.com>
5743 Remove newly obsolete FrameLoaderClient methods
5748 2008-03-25 Darin Adler <darin@apple.com>
5752 * Interfaces/WebKit.idl: Touch this file to make the Interface project rebuild.
5754 2008-03-21 Ada Chan <adachan@apple.com>
5756 <rdar://problem/5810324> visitCount not updated in History.plist
5757 Call WebCore::HistoryItem::mergeAutoCompleteHints() in WebHistoryItem::mergeAutoCompleteHints().
5761 * WebHistoryItem.cpp:
5762 (WebHistoryItem::mergeAutoCompleteHints):
5763 (WebHistoryItem::QueryInterface):
5765 2008-03-20 Dan Bernstein <mitz@apple.com>
5767 Reviewed by Adam Roben.
5769 - make makeTextLarger() and zoomPageIn() do what they are supposed to do
5772 (WebView::makeTextLarger): Changed call to canZoomIn() to zoomIn().
5773 (WebView::zoomPageIn): Ditto.
5775 2008-03-20 Dave Hyatt <hyatt@apple.com>
5777 Add full page zoom API for Windows WebKit.
5781 * Interfaces/IWebView.idl:
5784 (WebView::setTextSizeMultiplier):
5785 (WebView::setPageSizeMultiplier):
5786 (WebView::setZoomMultiplier):
5787 (WebView::textSizeMultiplier):
5788 (WebView::pageSizeMultiplier):
5789 (WebView::zoomMultiplier):
5790 (WebView::canMakeTextLarger):
5791 (WebView::canZoomPageIn):
5792 (WebView::canZoomIn):
5793 (WebView::makeTextLarger):
5794 (WebView::zoomPageIn):
5796 (WebView::canMakeTextSmaller):
5797 (WebView::canZoomPageOut):
5798 (WebView::canZoomOut):
5799 (WebView::makeTextSmaller):
5800 (WebView::zoomPageOut):
5802 (WebView::canMakeTextStandardSize):
5803 (WebView::canResetPageZoom):
5804 (WebView::canResetZoom):
5805 (WebView::makeTextStandardSize):
5806 (WebView::resetPageZoom):
5807 (WebView::resetZoom):
5810 2008-03-20 John Sullivan <sullivan@apple.com>
5812 * English.lproj/Localizable.strings:
5813 Brought this file up to date
5815 2008-03-19 Dan Bernstein <mitz@apple.com>
5819 * Interfaces/WebKit.idl: Touched.
5821 2008-03-19 Adam Roben <aroben@apple.com>
5823 Fix a couple of bugs where the node highlight would appear when it shouldn't
5825 There were at least two ways you could get the highlight to appear
5827 1) Selecting a node in the Inspector while the inspected WebView was
5828 in a background tab.
5829 2) Selecting a node in the Inspector, switching to another tab,
5830 closing the Inspector, then switching back to the inspected
5833 This patch fixes the above two issues, and possibly others.
5835 show() and hide() are now private methods of WebNodeHighlight. They
5836 are replaced by a single public method,
5837 setShowsWhileWebViewIsVisible(bool). WebInspectorClient uses this to
5838 tell the highlight whether it should be showing when the inspected
5841 Reviewed by John Sullivan.
5843 * WebCoreSupport/WebInspectorClient.cpp:
5844 (WebInspectorClient::highlight): If the highlight is already showing,
5845 it just needs to update since the highlighted node has changed. If the
5846 highlight is not showing, call setShowsWhileWebViewIsVisible(true) so
5847 that the highlight will show when the WebView is shown.
5848 (WebInspectorClient::hideHighlight): Changed to call
5849 setShowsWhileWebViewIsVisible(false) instead of hide().
5850 * WebNodeHighlight.cpp:
5851 (WebNodeHighlight::WebNodeHighlight): Initialize new member, and
5852 initialize m_inspectedWebViewWindow to its final value here instead of
5854 (WebNodeHighlight::setShowsWhileWebViewIsVisible): Added. If we're not
5855 supposed to show ourselves when the WebView is visible, we hide
5856 ourselves and return. Otherwise, we make our visibility match the
5858 (WebNodeHighlight::isWebViewVisible): Added.
5859 (WebNodeHighlight::show): Removed initialization of
5860 m_inspectedWebViewWindow (this is now done by our constructor). Added
5861 an assertion that we're supposed to show ourselves when the WebView is
5863 (WebNodeHighlight::onWebViewShowWindow): If we shouldn't show
5864 ourselves when the WebView is visible, then we don't need to do
5865 anything at all when the WebView's visibility changes.
5866 * WebNodeHighlight.h:
5868 2008-03-19 Adam Roben <aroben@apple.com>
5870 Small WebNodeHighlight cleanup
5872 Renamed the following methods:
5873 visible() -> isShowing()
5874 updateWindow() -> update()
5876 Removed the window() method.
5878 Added a new method, placeBehindWindow(HWND), that moves the highlight
5879 overlay in the window z-order to be just behind the passed-in window.
5880 WebInspectorClient calls this instead of doing the move directly using
5881 the old window() method.
5883 Reviewed by John Sullivan.
5885 * WebCoreSupport/WebInspectorClient.cpp:
5886 (WebInspectorClient::attachWindow):
5887 (WebInspectorClient::detachWindow):
5888 (WebInspectorClient::highlight): Call placeBehindWindow instead of
5889 calling SetWindowPos directly.
5890 * WebNodeHighlight.cpp:
5891 (WebNodeHighlight::show):
5892 (WebNodeHighlight::isShowing):
5893 (WebNodeHighlight::placeBehindWindow): Added. Code came from
5894 WebInspectorClient::highlight.
5895 (WebNodeHighlight::onWebViewWindowPosChanged):
5896 (WebNodeHighlight::onRootWindowPosChanged):
5897 * WebNodeHighlight.h:
5899 2008-03-19 Ada Chan <adachan@apple.com>
5901 Added a method to paint WebView content specified by
5902 the document rect into a device context.
5904 Reviewed by Darin Adler.
5906 * Interfaces/IWebViewPrivate.idl:
5908 (WebView::paintDocumentRectToContext):
5911 2008-03-18 Brent Fulgham <bfulgham@gmail.com>
5913 Reviewed by Adam Roben.
5915 Provide some stub implementations for things that WebKit
5916 uses for performing authentication/challenge activities. This
5917 is in support of http://bugs.webkit.org/show_bug.cgi?id=17837
5919 * WebDataSource.cpp:
5920 * WebError.cpp: Conditionalize CFNetwork-specific logic
5921 * WebURLAuthenticationChallenge.cpp: Conditionalize constructor
5922 for authentication/challenge member.
5923 (WebURLAuthenticationChallenge::initWithAuthenticationChallenge):
5924 * WebURLResponse.cpp: Remove CFNetwork-specific logic.
5925 * WebURLResponse.h: Conditionalize CFNetwork-specific member.
5926 * WebView.cpp: Conditionalize CFNetwork-specific network protocol test.
5927 (WebView::canHandleRequest):
5929 2008-03-18 Adam Roben <aroben@apple.com>
5931 Focus the Inspector's WebView whenever the Inspector window is focused
5935 * WebCoreSupport/WebInspectorClient.cpp:
5936 (WebInspectorClient::onSetFocus): Send focus to the WebView.
5937 (WebInspectorWndProc): Added a handler for WM_SETFOCUS.
5938 * WebCoreSupport/WebInspectorClient.h:
5940 2008-03-18 Adam Roben <aroben@apple.com>
5942 Fix Bug 14276: Element highlight also covers Web inspector
5944 <http://bugs.webkit.org/show_bug.cgi?id=14276>
5947 Also fixes <rdar://5622837> Browser window comes to front when node
5948 highlight appears, potentially blocking Inspector
5952 * WebCoreSupport/WebInspectorClient.cpp:
5953 (WebInspectorClient::highlight): After showing the highlight,
5954 reposition it just behind the Inspector's window.
5955 * WebNodeHighlight.cpp:
5956 (WebNodeHighlight::show):
5957 - Changed flags passed to CreateWindowEx to not specify WS_VISIBLE.
5958 This is not needed because we'll show the window later in this
5960 - Removed call to SetWindowPos that tried to position the overlay
5961 just in front of the WebView. This is now handled by
5963 - Changed call to ShowWindow to use SetWindowPos so that we can pass
5964 SWP_NOACTIVATE. This prevents the highlight from jumping in front
5965 of the Inspector every time it's shown.
5966 * WebNodeHighlight.h: Added a method to get the highlight's HWND.
5968 2008-03-14 Steve Falkenburg <sfalken@apple.com>
5972 * WebKit.vcproj/WebKit.vcproj:
5974 2008-03-13 Adam Roben <aroben@apple.com>
5976 Another Windows build fix after r31034
5979 (loadResourceIntoBuffer): Use SharedBuffer::create.
5981 2008-03-13 Adam Roben <aroben@apple.com>
5983 Windows build fix after r31034
5986 (WebFrame::loadData): Use SharedBuffer::create.
5987 (WebFrame::loadHTMLString): Ditto.
5989 2008-03-13 Steve Falkenburg <sfalken@apple.com>
5991 More PGO build fixes.
5993 * WebKit.vcproj/WebKit.pgd: Removed.
5994 * WebKit.vcproj/WebKit.vcproj:
5997 2008-03-13 Anders Carlsson <andersca@apple.com>
6001 Call originalRequest instead of initialRequest.
6003 * WebDataSource.cpp:
6004 (WebDataSource::initialRequest):
6006 2008-03-13 Steve Falkenburg <sfalken@apple.com>
6010 Disable PGO for normal release builds.
6011 Added work-in-progress Release_PGOInstrument/Release_PGOOptimize targets.
6013 * WebKit.vcproj/WebKit.vcproj:
6015 2008-03-12 Steve Falkenburg <sfalken@apple.com>
6019 * WebKit.vcproj/WebKit.vcproj:
6021 2008-03-12 Ada Chan <adachan@apple.com>
6023 <rdar://problem/5795843>
6024 CFURLDownload needs to be cancelled if we don't have a destination path
6025 to save resume information.
6030 (WebDownload::cancelForResume):
6032 2008-03-12 David Hyatt <hyatt@apple.com>
6034 Make the zoom factor a float and not a percent.
6039 (WebFrame::setTextSizeMultiplier):
6041 2008-03-12 Steve Falkenburg <sfalken@apple.com>
6045 * WebKit.vcproj/WebKit.pgd:
6046 * WebKit.vcproj/WebKit.vcproj:
6048 2008-03-12 Steve Falkenburg <sfalken@apple.com>
6052 Rubber stamped by Mark Rowe.
6054 * WebKit.vcproj/WebKit.pgd:
6055 * WebKit.vcproj/WebKit.vcproj:
6056 * WebKitPrefix.cpp: touched this file to force a re-build.
6058 2008-03-12 Steve Falkenburg <sfalken@apple.com>
6062 * WebKit.vcproj/WebKit.vcproj:
6064 2008-03-11 Steve Falkenburg <sfalken@apple.com>
6066 Use PGO to build WebKit.dll.
6070 * WebKit.vcproj/WebKit.pgd: Added.
6071 * WebKit.vcproj/WebKit.vcproj:
6073 2008-03-11 Brent Fulgham <bfulgham@gmail.com>
6075 Reviewed by Adam Roben.
6077 Enabled WinLauncher as part of normal Windows build.
6078 http://bugs.webkit.org/show_bug.cgi?id=17715.
6080 * WebKit.vcproj/WebKit.sln: Add WinLauncher to the set of things
6081 build during a Windows build.
6083 2008-03-11 Adam Roben <aroben@apple.com>
6085 Roll out r30961 since it broke the default site icon on Windows
6087 * WebKit.vcproj/WebKit.rc:
6088 * WebKit.vcproj/urlIcon.png: Renamed from WebCore/Resources/urlIcon.png.
6090 (loadResourceIntoBuffer):
6092 2008-03-11 Holger Hans Peter Freyther <zecke@selfish.org>
6094 Reviewed by Darin Adler.
6096 r25512 inlined the urlIcon to improve the startup time of Safari on Mac. Inlining is
6097 not suitable for platforms where this icon is themable. E.g. the Qt platform is allowing
6098 to theme this icon and the Gtk+ platform will probably end up with themable icons
6101 Remove dead code from the windows port and move the urlIcon from the windows
6102 directory to the Resource directory to be used by Qt and other ports.
6104 Ifdef the usage of the built-in icon in IconDatabase.cpp and for Qt do not use
6105 it. Gtk+ currently has no proper implementation of Image::loadPlatformResource but
6106 once it does it wants to use this for getting the urlIcon as well.
6108 * WebKit.vcproj/WebKit.rc:
6110 (loadResourceIntoBuffer):
6112 2008-03-10 Eric Seidel <eric@webkit.org>
6114 No review, build fix only.
6116 Speculative fix for Windows build, use ::UChar instead of KJS::UChar
6118 * WebScriptCallFrame.cpp:
6119 (WebScriptCallFrame::valueForVariable):
6120 (WebScriptCallFrame::valueByEvaluatingJavaScriptFromString):
6122 2008-03-10 Steve Falkenburg <sfalken@apple.com>
6124 Fix build break caused by r30920.
6126 Serialize remaining dependent builds by adding dependencies.
6127 Visual Studio per-vcproj parallelization doesn't add a lot of value
6128 since so many of our builds are dependent - this just enforces that.
6129 We do our parallelization via pdevenv, which works much better.
6131 * WebKit.vcproj/WebKit.sln:
6132 * WebKit.vcproj/WebKit.submit.sln:
6134 2008-03-09 Steve Falkenburg <sfalken@apple.com>
6136 Stop Windows build if an error occurs in a prior project.
6138 Rubber stamped by Darin Adler.
6140 * WebKit.vcproj/Interfaces.vcproj:
6141 * WebKit.vcproj/InterfacesGenerated.vcproj:
6142 * WebKit.vcproj/WebKit.vcproj:
6143 * WebKit.vcproj/WebKitGUID.vcproj:
6145 2008-03-09 Adam Roben <aroben@apple.com>
6147 Make WebInspectorClient use WindowMessageBroadcaster instead of manual subclassing
6149 Reviewed by Darin Adler.
6151 * WebCoreSupport/WebInspectorClient.cpp:
6152 (WebInspectorClient::WebInspectorClient): Removed
6153 m_orignalWebViewWndProc member.
6154 (WebInspectorClient::attachWindow): Register as a listener with
6155 WindowMessageBroadcaster instead of subclassing.
6156 (WebInspectorClient::detachWindow): Deregister as a listener with
6157 WindowMessageBroadcaster instead of unsubclassing.
6158 (WebInspectorClient::windowReceivedMessage): Renamed from
6159 SubclassedWebViewWndProc. Also added a missing break statement after
6160 the call to onWebViewWindowPosChanging.
6161 * WebCoreSupport/WebInspectorClient.h:
6163 2008-03-09 Adam Roben <aroben@apple.com>
6165 Make the node highlight not obscure the tab bar when it first appears
6167 Reviewed by Darin Adler.
6169 * WebNodeHighlight.cpp:
6170 (WebNodeHighlight::onWebViewWindowPosChanged): Added. Listens for
6171 changes to the WebView's size and resizes the highlight window to
6173 (WebNodeHighlight::onRootWindowPosChanged): Added. Listens for changes
6174 to the WebView's root window's position and moves the highlight window
6176 (WebNodeHighlight::windowReceivedMessage): Call
6177 onWebViewWindowPosChanged/onRootWindowPosChanged as appropriate.
6178 * WebNodeHighlight.h:
6180 2008-03-09 Adam Roben <aroben@apple.com>
6182 Fix Bug 14254: Inspector node highlight applied to all tabs
6184 <http://bugs.webkit.org/show_bug.cgi?id=14254>
6185 <rdar://problem/5322306>
6187 WebNodeHighlight now listens for the WM_SHOWWINDOW message being sent
6188 to the inspected WebView so that it can hide/show itself as the
6189 WebView is hidden/shown.
6193 * WebNodeHighlight.cpp:
6194 (WebNodeHighlight::~WebNodeHighlight): Remove ourselves as a listener
6195 for our inspected WebView's window's messages.
6196 (WebNodeHighlight::show): Add ourselves as a listener for our
6197 inspected WebView's window's messages.
6198 (WebNodeHighlight::onWebViewShowWindow): Added. Hide ourselves when
6199 the WebView hides, show ourselves when the WebView is shown.
6200 (WebNodeHighlight::windowReceivedMessage): Added a separate switch
6201 statement to handle the inspected WebView's window's messages.
6202 * WebNodeHighlight.h:
6204 2008-03-07 Brent Fulgham <bfulgham@gmail.com>
6206 Reviewed by Mark Rowe.
6208 Correct build intermediary output
6209 (http://bugs.webkit.org/show_bug.cgi?id=17713)
6211 * WebKit/win/WebKit.vcproj/WebKit.vcproj: Correct output and intermediary paths
6213 2008-03-07 Brent Fulgham <bfulgham@gmail.com>
6215 Reviewed by Adam Roben.
6217 Do not link (or attempt to initialize) the SafariTheme.dll
6218 when not building with USE(SAFARI_THEME) enabled.
6219 (http://bugs.webkit.org/show_bug.cgi?id=17707)
6221 * WebKit/win/WebKitClassFactory.cpp: Conditionalize use of SafariTheme.dll
6223 2008-03-07 Brent Fulgham <bfulgham@gmail.com>
6225 Reviewed by Steve Falkenburg.
6227 Update solution to understand Cairo build target. Add
6228 library dependencies for Cairo build target.
6229 (http://bugs.webkit.org/show_bug.cgi?id=17300)
6231 * WebKit.vcproj/WebKit.sln:
6232 * WebKit.vcproj/WebKit.vcproj:
6234 2008-03-06 Adam Roben <aroben@apple.com>
6236 Change WebScriptDebugServer to use WebCore::JavaScriptDebugServer
6238 WebScriptDebugServer is now a JavaScriptDebugListener.
6240 Reviewed by Darin Adler.
6242 * WebScriptDebugServer.cpp:
6243 (WebScriptDebugServer::WebScriptDebugServer): Removed initialization
6244 of m_callingListeners member.
6245 (WebScriptDebugServer::addListener): Register as a listener with
6246 JavaScriptDebugServer if we've just added our first listener.
6247 (WebScriptDebugServer::removeListener): Deregister as a listener with
6248 JavaScriptDebugServer if we've just removed our last listener.
6249 (WebScriptDebugServer::didParseSource): Added. Code came from the old
6250 sourceParsed method. Removed m_callingListeners code because
6251 JavaScriptDebugServer guards against re-entry for us.
6252 (WebScriptDebugServer::failedToParseSource): Ditto.
6253 (WebScriptDebugServer::didEnterCallFrame): Ditto for callEvent.
6254 (WebScriptDebugServer::willExecuteStatement): Ditto for atStatement.
6255 (WebScriptDebugServer::willLeaveCallFrame): Ditto for
6257 (WebScriptDebugServer::exceptionWasRaised): Ditto for exception.
6258 * WebScriptDebugServer.h: Changed to inherit from
6259 WebCore::JavaScriptDebugListener.
6261 (WebView::initWithFrame): Removed call to
6262 WebScriptDebugServer::pageCreated. This is now handled by WebCore.
6264 2008-03-06 Darin Adler <darin@apple.com>
6268 - fix regression test failures and crashes from the visited-link change
6270 * WebCoreSupport/WebChromeClient.cpp:
6271 (WebChromeClient::populateVisitedLinks): Check for null before calling
6272 addVisitedLinksToPageGroup.
6273 * WebCoreSupport/WebFrameLoaderClient.cpp:
6274 (WebFrameLoaderClient::updateGlobalHistory): Ditto.
6276 (WebHistory::setOptionalSharedHistory): Call PageGroup::setShouldTrackVisitedLinks
6277 to turn off visited links if there is no history object. Also call
6278 removeAllVisitedLinks so we can start over from scratch with the new history.
6280 2008-03-06 Matt Lilek <webkit@mattlilek.com>
6282 Reviewed by Adam Roben.
6284 Bug 17691: REGRESSION: FindSafari doesn't work
6285 http://bugs.webkit.org/show_bug.cgi?id=17691
6287 Swap my change from r30394 to use the Release libraries instead of Debug
6288 since some machines don't have the Debug version.
6290 * WebKit.vcproj/WebKit.sln:
6292 2008-03-06 Darin Adler <darin@apple.com>
6296 - fix http://bugs.webkit.org/show_bug.cgi?id=17526
6297 REGRESSION: iframes are added to Safari's History menu
6298 by separating the visited link machinery from global history
6300 * WebCoreSupport/WebChromeClient.cpp:
6301 (WebChromeClient::populateVisitedLinks): Added a call to the new
6302 WebHistory::addVisitedLinksToPageGroup function.
6303 * WebCoreSupport/WebChromeClient.h: Added populateVisitedLinks.
6304 Also fixed the webView function to be non-virtual.
6306 * WebCoreSupport/WebFrameLoaderClient.cpp:
6307 (WebFrameLoaderClient::updateGlobalHistory): Changed to use the
6308 new WebHistory::addItem function.
6309 (WebFrameLoaderClient::webHistory): Changed to return a WebHistory*,
6310 there's no reason to AddRef the result from this function.
6311 * WebCoreSupport/WebFrameLoaderClient.h: Ditto.
6313 * WebHistory.cpp: Removed IWebHistoryPrivate and _WebCoreHistoryProvider.
6314 (WebHistory::QueryInterface): Removed IWebHistoryPrivate.
6315 (sharedHistoryStorage): Added.
6316 (WebHistory::sharedHistory): Added.
6317 (WebHistory::optionalSharedHistory): Changed to use sharedHistory().
6318 (WebHistory::setOptionalSharedHistory): Changed to require a WebHistory
6319 object, not just an IWebHistory.
6320 (WebHistory::removeAllItems): Call PageGroup::removeAllVisitedLinks.
6321 (WebHistory::addItem): Changed parameter types since this is called with
6322 arguments from WebCore -- at some point this could allow better efficiency.
6323 (WebHistory::removeItemForURLString): Call PageGroup::removeAllVisitedLinks
6324 if the last URL is being removed.
6325 (addVisitedLinkToPageGroup): Added. Helper. Adds a single link to a group's
6327 (WebHistory::addVisitedLinksToPageGroup): Added. Adds all links to a group's
6329 * WebHistory.h: Removed IWebHistoryPrivate. Removed optionalSharedHistoryInternal
6330 and added sharedHistory. Replaced addItemForURL and containsItemForURLString with
6331 non-virtual addItem and addVisitedLinksToPageGroup functions.
6333 2008-03-05 Anders Carlsson <andersca@apple.com>
6337 * WebKit.vcproj/WebKit.vcproj:
6339 2008-03-04 Sam Weinig <sam@webkit.org>
6341 Reviewed by Mark Rowe.
6343 - Remove all unnecessary includes of JSDOMWindowBase.h, we prefer including
6348 2008-03-04 Adam Roben <aroben@apple.com>
6350 WebScriptDebugServer cleanup
6354 * WebScriptDebugServer.cpp: Renamed m_callingServer to
6356 (WebScriptDebugServer::WebScriptDebugServer):
6357 (WebScriptDebugServer::sharedWebScriptDebugServer): Changed to keep
6358 the shared instance as a function-level static.
6359 (WebScriptDebugServer::didLoadMainResourceForDataSource): Made return
6361 (WebScriptDebugServer::sourceParsed):
6362 (WebScriptDebugServer::callEvent):
6363 (WebScriptDebugServer::atStatement):
6364 (WebScriptDebugServer::returnEvent):
6365 (WebScriptDebugServer::exception):
6366 (WebScriptDebugServer::serverDidDie): Made return void.
6367 * WebScriptDebugServer.h:
6368 - Removed unnecessary #includes
6369 - Made inheritance from KJS::Debugger private
6370 - Made some methods private
6372 2008-03-04 Adam Roben <aroben@apple.com>
6374 Remove WebScriptDebugger
6378 * WebKit.vcproj/WebKit.vcproj: Removed files from project.
6379 * WebScriptDebugServer.cpp:
6380 (frame): Moved here from WebScriptDebugger.cpp.
6383 (WebScriptDebugServer::WebScriptDebugServer): Initialize new member.
6384 * WebScriptDebugServer.h: Changed to inherit directly from
6385 KJS::Debugger instead of from WebScriptDebugger, and added
6386 m_callingServer member that WebScriptDebugger used to own.
6387 * WebScriptDebugger.cpp: Removed.
6388 * WebScriptDebugger.h: Removed.
6390 2008-03-04 Adam Roben <aroben@apple.com>
6392 Move sourceParsed to WebScriptDebugServer
6396 * WebScriptDebugServer.cpp:
6397 (WebScriptDebugServer::sourceParsed): Moved here from
6398 WebScriptDebugger and merged with didParseSource/failedToParseSource.
6399 * WebScriptDebugServer.h: Removed didParseSource/failedToParseSource.
6400 * WebScriptDebugger.cpp: Removed sourceParsed.
6401 * WebScriptDebugger.h: Ditto.
6403 2008-03-04 Adam Roben <aroben@apple.com>
6405 Move callEvent, returnEvent, and exception to WebScriptDebugServer
6409 * WebScriptDebugServer.cpp:
6410 (WebScriptDebugServer::callEvent): Moved here from WebScriptDebugger
6411 and merged with didEnterCallFrame.
6412 (WebScriptDebugServer::returnEvent): Ditto for willLeaveCallFrame.
6413 (WebScriptDebugServer::exception): Ditto for exceptionWasRaised.
6414 * WebScriptDebugServer.h: Removed didEnterCallFrame,
6415 willLeaveCallFrame, and exceptionWasRaised.
6416 * WebScriptDebugger.cpp: Removed callEvent, returnEvent, and
6418 * WebScriptDebugger.h: Ditto.
6420 2008-03-04 Adam Roben <aroben@apple.com>
6422 Move atStatement to WebScriptDebugServer
6426 * WebScriptDebugServer.cpp:
6427 (WebScriptDebugServer::atStatement): Moved here and merged with the
6428 old willExecuteStatement method.
6429 * WebScriptDebugServer.h: Removed inheritance from
6430 IWebScriptDebugListener, which no one was relying on.
6431 * WebScriptDebugger.cpp:
6432 (webFrame): Made non-static.
6434 * WebScriptDebugger.h: Added declarations of webFrame and webView
6435 methods for WebScriptDebugServer's benefit. Removed unused m_webView
6436 and m_frame members.
6438 2008-03-04 Adam Roben <aroben@apple.com>
6440 Start to merge WebScriptDebugger and WebScriptDebugServer
6442 WebScriptDebugServer now inherits from WebScriptDebugger.
6446 * WebScriptDebugServer.cpp:
6447 (WebScriptDebugServer::pageCreated): Use sharedWebScriptDebugServer
6448 instead of WebScriptDebugger::shared.
6449 (WebScriptDebugServer::addListener): Ditto.
6450 (WebScriptDebugServer::removeListener): Ditto.
6451 * WebScriptDebugServer.h: Changed to inherit from WebScriptDebugger.
6452 * WebScriptDebugger.cpp: Removed shared method.
6453 * WebScriptDebugger.h: Made constructor/destructor protected, and
6454 removed shared method.
6456 2008-03-04 Adam Roben <aroben@apple.com>
6458 Use WebCore's new debugger-attaching code
6460 Reviewed by Kevin M.
6462 * WebCoreSupport/WebFrameLoaderClient.cpp: Moved a kit() function to
6463 WebView.{cpp,h} so that other files can call it.
6465 (WebFrame::WebFrame): Removed m_scriptDebugger member.
6466 (WebFrame::windowObjectCleared): Removed attach/detach calls. This is
6467 no longer needed because WebScriptDebugger no longer stores any
6470 * WebScriptDebugServer.cpp:
6471 (WebScriptDebugServer::pageCreated): Added. Attaches our shared
6472 debugger to the Page if we have any listeners.
6473 (WebScriptDebugServer::addListener): Sets our shared debugger for all
6474 Pages when we get our first listener.
6475 (WebScriptDebugServer::removeListener): Removes our shared debugger
6476 from all Pages when we lose our last listener.
6477 * WebScriptDebugServer.h:
6478 * WebScriptDebugger.cpp:
6479 (WebScriptDebugger::shared): Added.
6480 (WebScriptDebugger::WebScriptDebugger): Removed m_frame member.
6481 (WebScriptDebugger::~WebScriptDebugger): Added.
6482 (frame): Gets a Frame from an ExecState.
6483 (webFrame): Gets a WebFrame from an ExecState.
6484 (webView): Gets a WebView from an ExecState.
6485 (WebScriptDebugger::sourceParsed): Changed to call webFrame() and
6486 webView() instead of using m_frame and m_webView members.
6487 (WebScriptDebugger::callEvent): Ditto.
6488 (WebScriptDebugger::atStatement): Ditto.
6489 (WebScriptDebugger::returnEvent): Ditto.
6490 (WebScriptDebugger::exception): Ditto.
6491 * WebScriptDebugger.h:
6493 (kit): Moved here from WebFrameLoaderClient.cpp.
6494 (WebView::initWithFrame): Tell the WebScriptDebugServer about the new
6495 Page so it can attach a debugger if needed.
6498 2008-03-04 Adam Roben <aroben@apple.com>
6500 Change WebView's string-finding methods to call through to Page
6502 These methods were added to Page back in r28878 (and the
6503 implementation was copied from WebView!) but we never switched over to
6509 (WebView::searchFor): Call through to Page::findString.
6510 (WebView::markAllMatchesForText): Call through to Page.
6511 (WebView::unmarkAllTextMatches): Ditto.
6513 2008-03-04 Adam Roben <aroben@apple.com>
6515 Actually pause the process while Drosera is at a breakpoint
6517 WebScriptDebugServer::suspendProcessIfPaused is supposed to pause the
6518 process while Drosera is at a breakpoint. Previously we were just
6519 starting a message pump that would deliver messages to all windows in
6520 the process, allowing mouse events, JS timers, etc. to execute.
6522 Now we only deliver messages to COM's message window, which is all we
6523 need to allow RPC to function.
6527 * WebScriptDebugServer.cpp:
6528 (comMessageWindow): Added. Finds COM's message window.
6529 (WebScriptDebugServer::suspendProcessIfPaused): Only deliver messages
6530 to COM's message window so that mouse events, JS timers, etc., won't
6533 2008-03-03 Adam Roben <aroben@apple.com>
6535 Generate WebScriptCallFrame instances dynamically
6537 WebScriptDebugger no longer holds a reference to the topmost call
6538 frame, and WebScriptCallFrame no longer holds a reference to its
6539 caller. We now generate WebScriptCallFrame instances as needed by
6540 walking the callingExecState chain.
6542 By making WebKit no longer responsible for keeping track of the call
6543 stack, we get one step closer to moving most JS debugging code out of
6546 This incidentally fixes a bug in Drosera where we'd never show the
6547 global scope in the call stack.
6549 Reviewed by Sam and Kevin M.
6551 * WebScriptCallFrame.cpp:
6552 (callingFunctionOrGlobalExecState): Finds the nearest calling
6553 ExecState that is a FunctionExecState or GlobalExecState, if any, and
6555 (WebScriptCallFrame::WebScriptCallFrame):
6556 - No longer takes a caller parameter.
6557 - Sets m_state to the callingFunctionOrGlobalExecState of the
6558 ExecState passed in.
6559 (WebScriptCallFrame::createInstance): Removed the caller parameter.
6560 (WebScriptCallFrame::caller): Generate a new WebScriptCallFrame on the
6561 fly from our ExecState.
6562 * WebScriptCallFrame.h: No longer holds a reference to the caller.
6563 * WebScriptDebugger.cpp:
6564 (WebScriptDebugger::WebScriptDebugger): Removed the call to callEvent
6565 that was supposed to set up the global scope call frame, but never
6566 worked because m_callingServer was set to true, which would cause
6567 callEvent to return early without doing anything. Also removed the
6568 m_callingServer guards since we're not calling callEvent anymore.
6569 (WebScriptDebugger::callEvent): Create a WebScriptCallFrame on the
6570 fly from the passed-in ExecState.
6571 (WebScriptDebugger::atStatement): Ditto.
6572 (WebScriptDebugger::returnEvent): Ditto, but use the callingExecState.
6573 This is equivalent to what calling leaveFrame() did before.
6574 (WebScriptDebugger::exception): Ditto, using the passed-in ExecState.
6575 * WebScriptDebugger.h: Removed m_topStackFrame member and
6576 enterFrame/leaveFrame methods.
6578 2008-03-03 Sam Weinig <sam@webkit.org>
6583 (WebFrame::windowObjectCleared):
6585 2008-03-03 David Hyatt <hyatt@apple.com>
6587 Full page zoom work. Make setting of a zoom factor take a boolean saying whether it is a text only
6593 (WebFrame::setTextSizeMultiplier):
6595 2008-02-29 Adam Roben <aroben@apple.com>
6597 Delete an unused file
6599 Rubberstamped by Brady.
6601 * Interfaces/IWebScriptScope.idl: Removed.
6603 2008-02-28 Adam Roben <aroben@apple.com>
6605 Change WebPreferences to be backed by CFPreferences
6607 Reviewed by Ada, Geoff, Steve, and Darin.
6609 * WebPreferenceKeysPrivate.h:
6610 * WebPreferences.cpp:
6611 (WebPreferences::sharedStandardPreferences): Changed to call
6612 setAutoSaves(TRUE) before calling load(). This ensures that the
6613 preferences being migrated to CFPreferences are saved to disk.
6614 (WebPreferences::valueForKey): Changed to return a RetainPtr to ensure
6615 that the refcount is managed properly. Now attempts to retrieve a
6616 value from CFPreferences before falling back to the default settings.
6617 (WebPreferences::setValueForKey): Now saves the value in
6618 CFPreferences if m_autoSaves is true.
6619 (WebPreferences::stringValueForKey): Updated for valueForKey changes.
6620 (WebPreferences::integerValueForKey): DItto.
6621 (WebPreferences::boolValueForKey): Ditto.
6622 (WebPreferences::floatValueForKey): Ditto.
6623 (WebPreferences::save): Now simply calls CFPreferencesAppSynchronize.
6624 (WebPreferences::load): Always initializes m_privatePrefs to an empty
6625 CFMutableDictionary.
6626 (WebPreferences::migrateWebKitPreferencesToCFPreferences): Migrates
6627 preferences from our old custom plist to CFPreferences and then
6628 deletes our custom plist, if the migration has never occurred before.
6629 (WebPreferences::copyWebKitPreferencesToCFPreferences): Copies
6630 preferences to CFPreferences. If we've never migrated the default
6631 settings from Safari 3 Beta before, we omit them from this copying
6635 2008-02-28 Adam Roben <aroben@apple.com>
6637 Refactor value <-> CFNumber conversions into some helper functions
6641 * WebPreferences.cpp:
6642 (preferencesPath): Changed to return a const String&.
6643 (numberValueForPreferencesValue): Converts a value from preferences to
6644 a native numeric type.
6645 (cfNumber): Converts a native numeric value to a CFNumberRef.
6646 (booleanValueForPreferencesValue): Converts a value from preferences
6647 to a native boolean.
6648 (WebPreferences::integerValueForKey): Changed to call
6649 numberValueForPreferencesValue.
6650 (WebPreferences::floatValueForKey): Ditto.
6651 (WebPreferences::boolValueForKey): Changed to call
6652 booleanValueForPreferencesValue.
6653 (WebPreferences::setIntegerValue): Changed to call cfNumber.
6654 (WebPreferences::setLongLongValue): Ditto.
6656 2008-02-27 Adam Roben <aroben@apple.com>
6658 Add WebPreferences::setValueForKey
6660 This is just a small refactoring of some duplicated logic into a
6665 * WebPreferences.cpp:
6666 (WebPreferences::setValueForKey): Added.
6667 (WebPreferences::setStringValue): Call setValueForKey.
6668 (WebPreferences::setIntegerValue): Ditto.
6669 (WebPreferences::setBoolValue): Ditto.
6670 (WebPreferences::setLongLongValue): Ditto.
6673 2008-02-27 Adam Roben <aroben@apple.com>
6675 Remove WebPreferences' static members
6677 s_defaultSettings is now a file-level static, and
6678 s_standardPreferences has been removed completely (it wasn't being
6683 * WebPreferences.cpp:
6684 (WebPreferences::initializeDefaultSettings):
6685 (WebPreferences::valueForKey):
6686 (WebPreferences::migrateDefaultSettingsFromSafari3Beta):
6687 (WebPreferences::removeValuesMatchingDefaultSettings):
6690 2008-02-29 Steve Falkenburg <sfalken@apple.com>
6692 Don't free the VARIANT passed into Write, since it is an input parameter owned by the caller.
6693 Found via code inspection.
6697 * WebActionPropertyBag.cpp:
6698 (WebActionPropertyBag::Write):
6699 * WebElementPropertyBag.cpp:
6700 (WebElementPropertyBag::Write):
6702 2008-02-27 Matt Lilek <webkit@mattlilek.com>
6704 Reviewed by Adam Roben.
6706 Bug 14348: Messing up the inspector by dragging an URL into it
6707 http://bugs.webkit.org/show_bug.cgi?id=14348
6708 <rdar://problem/5283620> and <rdar://problem/5712808>
6710 Add a new class to handle the Inspector's delegate calls.
6712 * WebCoreSupport/WebInspectorClient.cpp:
6713 (WebInspectorClient::createPage):
6714 * WebCoreSupport/WebInspectorDelegate.cpp: Added.
6716 (WebInspectorDelegate::createInstance):
6717 (WebInspectorDelegate::AddRef):
6718 (WebInspectorDelegate::Release):
6719 (WebInspectorDelegate::dragDestinationActionMaskForDraggingInfo):
6720 * WebCoreSupport/WebInspectorDelegate.h: Added.
6721 (WebInspectorDelegate::QueryInterface):
6722 (WebInspectorDelegate::createWebViewWithRequest):
6723 (WebInspectorDelegate::webViewShow):
6724 (WebInspectorDelegate::webViewClose):
6725 (WebInspectorDelegate::webViewFocus):
6726 (WebInspectorDelegate::webViewUnfocus):
6727 (WebInspectorDelegate::webViewFirstResponder):
6728 (WebInspectorDelegate::makeFirstResponder):
6729 (WebInspectorDelegate::setStatusText):
6730 (WebInspectorDelegate::webViewStatusText):
6731 (WebInspectorDelegate::webViewAreToolbarsVisible):
6732 (WebInspectorDelegate::setToolbarsVisible):
6733 (WebInspectorDelegate::webViewIsStatusBarVisible):
6734 (WebInspectorDelegate::setStatusBarVisible):
6735 (WebInspectorDelegate::webViewIsResizable):
6736 (WebInspectorDelegate::setResizable):
6737 (WebInspectorDelegate::setFrame):
6738 (WebInspectorDelegate::webViewFrame):
6739 (WebInspectorDelegate::setContentRect):
6740 (WebInspectorDelegate::webViewContentRect):
6741 (WebInspectorDelegate::runJavaScriptAlertPanelWithMessage):
6742 (WebInspectorDelegate::runJavaScriptConfirmPanelWithMessage):
6743 (WebInspectorDelegate::runJavaScriptTextInputPanelWithPrompt):
6744 (WebInspectorDelegate::runBeforeUnloadConfirmPanelWithMessage):
6745 (WebInspectorDelegate::runOpenPanelForFileButtonWithResultListener):
6746 (WebInspectorDelegate::mouseDidMoveOverElement):
6747 (WebInspectorDelegate::contextMenuItemsForElement):
6748 (WebInspectorDelegate::validateUserInterfaceItem):
6749 (WebInspectorDelegate::shouldPerformAction):
6750 (WebInspectorDelegate::willPerformDragDestinationAction):
6751 (WebInspectorDelegate::dragSourceActionMaskForPoint):
6752 (WebInspectorDelegate::willPerformDragSourceAction):
6753 (WebInspectorDelegate::contextMenuItemSelected):
6754 (WebInspectorDelegate::hasCustomMenuImplementation):
6755 (WebInspectorDelegate::trackCustomPopupMenu):
6756 (WebInspectorDelegate::measureCustomMenuItem):
6757 (WebInspectorDelegate::drawCustomMenuItem):
6758 (WebInspectorDelegate::addCustomMenuDrawingData):
6759 (WebInspectorDelegate::cleanUpCustomMenuDrawingData):
6760 (WebInspectorDelegate::canTakeFocus):
6761 (WebInspectorDelegate::takeFocus):
6762 (WebInspectorDelegate::registerUndoWithTarget):
6763 (WebInspectorDelegate::removeAllActionsWithTarget):
6764 (WebInspectorDelegate::setActionTitle):
6765 (WebInspectorDelegate::undo):
6766 (WebInspectorDelegate::redo):
6767 (WebInspectorDelegate::canUndo):
6768 (WebInspectorDelegate::canRedo):
6769 * WebKit.vcproj/WebKit.vcproj:
6771 2008-02-26 Adam Roben <aroben@apple.com>
6773 Move ResourceLoadDelegate methods to WebFrameLoaderClient
6775 Changed all methods to use early returns where possible and COMPtr's
6776 AdoptCOM/Query constructors.
6780 * WebCoreSupport/WebFrameLoaderClient.cpp:
6781 (WebFrameLoaderClient::assignIdentifierToInitialRequest):
6782 (WebFrameLoaderClient::dispatchDidReceiveAuthenticationChallenge):
6783 (WebFrameLoaderClient::dispatchDidCancelAuthenticationChallenge):
6784 (WebFrameLoaderClient::dispatchWillSendRequest):
6785 (WebFrameLoaderClient::dispatchDidReceiveResponse):
6786 (WebFrameLoaderClient::dispatchDidReceiveContentLength):
6787 (WebFrameLoaderClient::dispatchDidFinishLoading):
6788 (WebFrameLoaderClient::dispatchDidFailLoading):
6789 * WebCoreSupport/WebFrameLoaderClient.h:
6793 2008-02-26 Adam Roben <aroben@apple.com>
6795 Move two more methods to WebFrameLoaderClient
6799 * WebCoreSupport/WebFrameLoaderClient.cpp:
6801 (WebFrameLoaderClient::dispatchCreatePage): Changed nested ifs to
6802 early returns, and changed to use the COMPtr Query constructor.
6803 (WebFrameLoaderClient::dispatchDidLoadMainResource): Added an early
6804 return, and changed to use getWebDataSource.
6805 * WebCoreSupport/WebFrameLoaderClient.h:
6809 2008-02-26 Adam Roben <aroben@apple.com>
6811 Get rid of IID_WebFrame
6815 * WebFrame.cpp: Removed IID_WebFrame definition.
6816 (WebFrame::QueryInterface): Use __uuidof(WebFrame) instead of
6818 (WebFrame::isDescendantOfFrame): Use COMPtr's Query constructor
6819 instead of a manual QueryInterface.
6820 * WebFrame.h: Removed IID_WebFrame declaration, gave WebFrame a
6823 2008-02-26 Adam Roben <aroben@apple.com>
6825 Move WebHistory-related methods to WebFrameLoaderClient
6829 * WebCoreSupport/WebFrameLoaderClient.cpp:
6830 (WebFrameLoaderClient::updateGlobalHistory):
6831 (WebFrameLoaderClient::shouldGoToHistoryItem):
6832 (WebFrameLoaderClient::setTitle): Changed some nested ifs into early
6834 (WebFrameLoaderClient::webHistory): Changed to return a COMPtr to
6835 make the reference management foolproof.
6836 * WebCoreSupport/WebFrameLoaderClient.h:
6840 2008-02-26 Adam Roben <aroben@apple.com>
6842 Move cache-related methods to WebFrameLoaderClient
6846 * WebCoreSupport/WebFrameLoaderClient.cpp:
6847 (getWebDataSource): Moved to the top of the file.
6848 (WebFrameLoaderClient::savePlatformDataToCachedPage):
6849 (WebFrameLoaderClient::transitionToCommittedForNewPage):
6850 (WebFrameLoaderClient::canCachePage):
6851 * WebCoreSupport/WebFrameLoaderClient.h:
6855 2008-02-25 Adam Roben <aroben@apple.com>
6857 Move plugin-related methods to WebFrameLoaderClient
6861 * WebCoreSupport/WebFrameLoaderClient.cpp:
6862 (WebFrameLoaderClient::WebFrameLoaderClient):
6863 (WebFrameLoaderClient::setMainDocumentError):
6864 (WebFrameLoaderClient::committedLoad): Added some early returns.
6865 (WebFrameLoaderClient::receivedData):
6866 (WebFrameLoaderClient::finishedLoading): Ditto.
6868 (WebFrameLoaderClient::createPlugin):
6869 * WebCoreSupport/WebFrameLoaderClient.h:
6871 (WebFrame::WebFramePrivate::WebFramePrivate):
6874 2008-02-25 Adam Roben <aroben@apple.com>
6876 Move createFrame to WebFrameLoaderClient
6880 * WebCoreSupport/WebFrameLoaderClient.cpp:
6881 (WebFrameLoaderClient::createFrame):
6882 (WebFrameLoaderClient::loadURLIntoChild):
6883 * WebCoreSupport/WebFrameLoaderClient.h:
6887 2008-02-25 Adam Roben <aroben@apple.com>
6889 Move progress-related methods to WebFrameLoaderClient
6893 * WebCoreSupport/WebFrameLoaderClient.cpp:
6894 (WebFrameLoaderClient::postProgressStartedNotification):
6895 (WebFrameLoaderClient::postProgressEstimateChangedNotification):
6896 (WebFrameLoaderClient::postProgressFinishedNotification):
6897 * WebCoreSupport/WebFrameLoaderClient.h:
6901 2008-02-25 Adam Roben <aroben@apple.com>
6903 Remove WebFrame::detachedFromParent1
6905 This method was removed from FrameLoaderClient in r19042, but was
6906 never removed from WebFrame.
6913 2008-02-23 Adam Roben <aroben@apple.com>
6915 Move many dispatch methods to WebFrameLoaderClient
6919 * WebCoreSupport/WebFrameLoaderClient.cpp:
6920 (WebFrameLoaderClient::dispatchDidHandleOnloadEvents):
6921 (WebFrameLoaderClient::dispatchDidReceiveServerRedirectForProvisionalLoad):
6922 (WebFrameLoaderClient::dispatchDidCancelClientRedirect):
6923 (WebFrameLoaderClient::dispatchWillPerformClientRedirect):
6924 (WebFrameLoaderClient::dispatchDidChangeLocationWithinPage):
6925 (WebFrameLoaderClient::dispatchWillClose):
6926 (WebFrameLoaderClient::dispatchDidReceiveIcon):
6927 (WebFrameLoaderClient::dispatchDidStartProvisionalLoad):
6928 (WebFrameLoaderClient::dispatchDidReceiveTitle):
6929 (WebFrameLoaderClient::dispatchDidCommitLoad):
6930 (WebFrameLoaderClient::dispatchDidFinishDocumentLoad):
6931 (WebFrameLoaderClient::dispatchDidFinishLoad):
6932 (WebFrameLoaderClient::dispatchDidFirstLayout):
6933 (WebFrameLoaderClient::dispatchShow):
6934 * WebCoreSupport/WebFrameLoaderClient.h:
6938 2008-02-23 Adam Roben <aroben@apple.com>
6940 Move two more methods to WebFrameLoaderClient
6944 * WebCoreSupport/WebFrameLoaderClient.cpp:
6945 (WebFrameLoaderClient::hasFrameView):
6946 (WebFrame::forceLayout):
6947 * WebCoreSupport/WebFrameLoaderClient.h:
6951 2008-02-24 Darin Adler <darin@apple.com>
6955 - remove separate client calls for "standard" and "reload' history
6958 (WebFrame::updateGlobalHistory):
6961 2008-02-23 Brent Fulgham <bfulgham@gmail.com>
6963 Not reviewed, build fix.
6965 * WebIconDatabase.cpp:
6966 * WebIconDatabase.h:
6968 2008-02-22 Adam Roben <aroben@apple.com>
6970 Move hasWebView to WebFrameLoaderClient
6972 I added an m_webFrame member to WebFrameLoaderClient. This is slightly
6973 strange because WebFrame inherits from WebFrameLoaderClient, but this
6974 member will be needed once we remove the inheritance, so we might as
6975 well prepare for that now.
6979 * WebCoreSupport/WebFrameLoaderClient.cpp:
6980 (WebFrameLoaderClient::WebFrameLoaderClient): Changed to take a
6981 WebFrame* parameter.
6982 (WebFrameLoaderClient::hasWebView): Moved here from WebFrame.cpp.
6983 * WebCoreSupport/WebFrameLoaderClient.h: Added an m_webFrame
6985 * WebFrame.cpp: Removed hasWebView.
6986 (WebFrame::WebFrame): Updated for WebFrameLoaderClient constructor
6990 2008-02-22 Adam Roben <aroben@apple.com>
6992 Start to move FrameLoaderClient methods off WebFrame onto a separate class
6994 WebFrame now inherits from a new WebFrameLoaderClient class, which
6995 will gradually assume all FrameLoaderClient responsibilities. Once
6996 that process is complete, WebFrame will no longer inherit from
6997 WebFrameLoaderClient.
6999 In this first patch, I've only moved createDocumentLoader up to the
7000 WebFrameLoaderClient class.
7004 * WebCoreSupport/WebFrameLoaderClient.cpp: Added.
7005 (WebFrameLoaderClient::WebFrameLoaderClient):
7006 (WebFrameLoaderClient::~WebFrameLoaderClient):
7007 (WebFrameLoaderClient::createDocumentLoader): Moved here from
7009 * WebCoreSupport/WebFrameLoaderClient.h: Added.
7010 * WebFrame.cpp: Removed createDocumentLoader implementation.
7011 * WebFrame.h: Changed to inherit from WebFrameLoaderClient.
7012 * WebKit.vcproj/WebKit.vcproj: Added new files to the project.
7014 2008-02-22 Adam Roben <aroben@apple.com>
7016 Move FormValuesPropertyBag into its own files
7020 * WebCoreSupport/FormValuesPropertyBag.cpp: Added.
7021 (FormValuesPropertyBag::QueryInterface):
7022 (FormValuesPropertyBag::AddRef):
7023 (FormValuesPropertyBag::Release):
7024 (FormValuesPropertyBag::Read):
7025 (FormValuesPropertyBag::Write):
7026 (FormValuesPropertyBag::CountProperties):
7027 (FormValuesPropertyBag::GetPropertyInfo):
7028 (FormValuesPropertyBag::LoadObject):
7029 * WebCoreSupport/FormValuesPropertyBag.h: Added.
7030 (FormValuesPropertyBag::FormValuesPropertyBag):
7031 * WebFrame.cpp: Deleted FormValuesPropertyBag code.
7032 * WebKit.vcproj/WebKit.vcproj: Added new files to the project.
7034 2008-02-22 Adam Roben <aroben@apple.com>
7036 Remove some unused WebFrame methods
7038 FrameWinClient was deleted back in r22965, but these methods were
7044 * WebFrame.h: Made one createFrame overload protected, since it's only
7045 called internally by WebFrame.
7047 2008-02-21 Adam Roben <aroben@apple.com>
7049 Move Client implementations into a WebCoreSupport directory
7053 * WebKit.vcproj/WebKit.vcproj: Updated file paths, and added
7054 WebCoreSupport directory to the include path.
7055 * WebCoreSupport/WebChromeClient.cpp: Renamed from WebKit/win/WebChromeClient.cpp.
7056 * WebCoreSupport/WebChromeClient.h: Renamed from WebKit/win/WebChromeClient.h.
7057 * WebCoreSupport/WebContextMenuClient.cpp: Renamed from WebKit/win/WebContextMenuClient.cpp.
7058 * WebCoreSupport/WebContextMenuClient.h: Renamed from WebKit/win/WebContextMenuClient.h.
7059 * WebCoreSupport/WebDragClient.cpp: Renamed from WebKit/win/WebDragClient.cpp.
7060 * WebCoreSupport/WebDragClient.h: Renamed from WebKit/win/WebDragClient.h.
7061 * WebCoreSupport/WebEditorClient.cpp: Renamed from WebKit/win/WebEditorClient.cpp.
7062 * WebCoreSupport/WebEditorClient.h: Renamed from WebKit/win/WebEditorClient.h.
7063 * WebCoreSupport/WebInspectorClient.cpp: Renamed from WebKit/win/WebInspectorClient.cpp.
7064 * WebCoreSupport/WebInspectorClient.h: Renamed from WebKit/win/WebInspectorClient.h.
7066 2008-02-20 Sam Weinig <sam@webkit.org>
7068 Reviewed by Darin and Geoff.
7070 - WebKit part of <rdar://problem/5754378> work around missing video on YouTube front page with a site-specific hack
7073 (WebView::notifyPreferencesChanged): Added a call to Settings::setNeedsSiteSpecificQuirks.
7074 (WebView::setAllowSiteSpecificHacks): Added a comment about the problem Darin noticed, where
7075 after you disable the site-specific hacks they persist until you open a new window or tweak
7076 some other preference.
7078 2008-02-19 Darin Adler <darin@apple.com>
7083 (WebFrame::renderTreeAsExternalRepresentation): Changed to use String instead
7084 of DeprecatedString.
7086 2008-02-18 Steve Falkenburg <sfalken@apple.com>
7088 Make Drosera work on Vista.
7090 Runtime type library registration on Vista requires use of two new call:
7091 RegisterTypeLibraryForUser and UnRegisterTypeLibraryForUser, which write to
7092 HKCU. LoadTypeLib[Ex] registers under HKLM, which fails under vista due to UAC.
7097 (DllUnregisterServer): Call UnRegisterTypeLibraryForUser if available. Fix version number.
7098 (DllRegisterServer): Call RegisterTypeLibraryForUser if available.
7100 2008-02-18 Matt Lilek <webkit@mattlilek.com>
7104 Remove FindSafari's Release configuration.
7106 * WebKit.vcproj/WebKit.sln:
7108 2008-02-16 Alexey Proskuryakov <ap@webkit.org>
7110 Reviewed by Darin Adler.
7112 http://bugs.webkit.org/show_bug.cgi?id=17397
7113 <rdar://problem/5748245> REGRESSION (r30236-30336): Cannot backspace/enter in forms on Windows
7115 * WebKit.vcproj/WebKit.vcproj: Add ENABLE_CROSS_DOCUMENT_MESSAGING definitions.
7117 2008-02-15 Darin Adler <darin@apple.com>
7121 - quick fix for a problem causing an assertion on launch
7124 (WebFrame::loadData): Make an empty KURL even if the BSTR is null.
7125 Later we might want to rethink this.
7127 2008-02-14 Darin Adler <darin@apple.com>
7129 - updated for WebCore KURL changes
7131 * MarshallingHelpers.cpp:
7132 (MarshallingHelpers::BSTRToKURL): Removed deprecatedString call.
7133 (MarshallingHelpers::KURLToBSTR): Tweaked for efficiency.
7134 * WebContextMenuClient.cpp:
7135 (WebContextMenuClient::searchWithGoogle): Updated for KURL changes.
7136 * WebDataSource.cpp:
7137 (WebDataSource::unreachableURL): Ditto.
7139 (WebDownload::init): Ditto.
7140 (WebDownload::initWithRequest): Ditto.
7142 (WebFrame::loadData): Ditto.
7143 (WebFrame::loadURLIntoChild): Ditto.
7144 (WebFrame::objectContentType): Ditto.
7146 (WebResource::initWithData): Ditto.
7147 * WebURLResponse.cpp:
7148 (WebURLResponse::createInstance): Ditto.
7149 (WebURLResponse::initWithURL): Ditto.
7151 (WebView::userAgentForURL): Ditto.
7152 (WebView::copyURL): Ditto.
7153 (WebView::notifyPreferencesChanged): Ditto.
7155 2008-02-14 Alexey Proskuryakov <ap@webkit.org>
7157 * WebChromeClient.cpp: (WebChromeClient::exceededDatabaseQuota): Forgot to re-apply review comments to
7158 the previous check-in, fixing.
7160 2008-02-14 Alexey Proskuryakov <ap@webkit.org>
7162 Reviewed by Adam Roben.
7164 http://bugs.webkit.org/show_bug.cgi?id=17207
7165 Database example doesn't work (requires not-yet-released Safari)
7167 * WebChromeClient.cpp:
7168 (WebChromeClient::exceededDatabaseQuota): Check Safari version, and allow 5 megabytes of storage
7171 2008-02-13 Ada Chan <adachan@apple.com>
7173 <rdar://problem/5740656> Leak in postDidAddIconNotification in WebIconDatabase
7175 Reviewed by Darin Adler.
7177 * WebIconDatabase.cpp:
7178 (postDidAddIconNotification): Need to adopt the newly created instance of CFDictionaryPropertyBag,
7179 which already has a ref count of 1.
7181 2008-02-13 Rodney Dawes <dobey@wayofthemonkey.com>
7183 Fix Bug 17220: Illogical dependency between PluginView and
7186 <http://bugs.webkit.org/show_bug.cgi?id=17220>
7188 Reviewed by Adam and Darin.
7190 Update for the rename of PluginDatabase::createPluginView
7191 to PluginView::create
7195 2008-02-13 Adam Roben <aroben@apple.com>
7199 * Interfaces/WebKit.idl: Create the typelib version symbol ourselves.
7201 2008-02-12 Steve Falkenburg <sfalken@apple.com>
7203 Use a precompiled header to build WebKit.
7207 * WebKit.vcproj/WebKit.vcproj:
7208 * WebKitPrefix.cpp: Added.
7209 * WebKitPrefix.h: Added.
7211 2008-02-12 Steve Falkenburg <sfalken@apple.com>
7213 Changes to support merged MIDL output.
7215 All COM interfaces are now generated to WebKit.h.
7217 Reviewed by Sam, Ada.
7221 * DOMEventsClasses.h:
7223 * DefaultDownloadDelegate.h:
7224 * DefaultPolicyDelegate.cpp:
7225 * DefaultPolicyDelegate.h:
7227 * Interfaces/DOMCSS.idl:
7228 * Interfaces/DOMCore.idl:
7229 * Interfaces/DOMEvents.idl:
7230 * Interfaces/DOMExtensions.idl:
7231 * Interfaces/DOMHTML.idl:
7232 * Interfaces/DOMPrivate.idl:
7233 * Interfaces/DOMRange.idl:
7234 * Interfaces/DOMWindow.idl:
7235 * Interfaces/IGEN_DOMObject.idl:
7236 * Interfaces/IWebArchive.idl:
7237 * Interfaces/IWebBackForwardList.idl:
7238 * Interfaces/IWebBackForwardListPrivate.idl:
7239 * Interfaces/IWebCache.idl:
7240 * Interfaces/IWebDataSource.idl:
7241 * Interfaces/IWebDatabaseManager.idl:
7242 * Interfaces/IWebDocument.idl:
7243 * Interfaces/IWebDownload.idl:
7244 * Interfaces/IWebEditingDelegate.idl:
7245 * Interfaces/IWebError.idl:
7246 * Interfaces/IWebErrorPrivate.idl:
7247 * Interfaces/IWebFormDelegate.idl:
7248 * Interfaces/IWebFrame.idl:
7249 * Interfaces/IWebFrameLoadDelegate.idl:
7250 * Interfaces/IWebFrameLoadDelegatePrivate.idl:
7251 * Interfaces/IWebFramePrivate.idl:
7252 * Interfaces/IWebFrameView.idl:
7253 * Interfaces/IWebHTMLRepresentation.idl:
7254 * Interfaces/IWebHTTPURLResponse.idl:
7255 * Interfaces/IWebHistory.idl:
7256 * Interfaces/IWebHistoryItem.idl:
7257 * Interfaces/IWebHistoryItemPrivate.idl:
7258 * Interfaces/IWebIconDatabase.idl:
7259 * Interfaces/IWebInspector.idl:
7260 * Interfaces/IWebJavaScriptCollector.idl:
7261 * Interfaces/IWebKitStatistics.idl:
7262 * Interfaces/IWebMutableURLRequest.idl:
7263 * Interfaces/IWebMutableURLRequestPrivate.idl:
7264 * Interfaces/IWebNotification.idl:
7265 * Interfaces/IWebNotificationCenter.idl:
7266 * Interfaces/IWebNotificationObserver.idl:
7267 * Interfaces/IWebPolicyDelegate.idl:
7268 * Interfaces/IWebPreferences.idl:
7269 * Interfaces/IWebPreferencesPrivate.idl:
7270 * Interfaces/IWebResource.idl:
7271 * Interfaces/IWebResourceLoadDelegate.idl:
7272 * Interfaces/IWebResourceLoadDelegatePrivate.idl:
7273 * Interfaces/IWebScriptCallFrame.idl:
7274 * Interfaces/IWebScriptDebugListener.idl:
7275 * Interfaces/IWebScriptDebugServer.idl:
7276 * Interfaces/IWebScriptObject.idl:
7277 * Interfaces/IWebScriptScope.idl:
7278 * Interfaces/IWebScrollBarDelegatePrivate.idl:
7279 * Interfaces/IWebScrollBarPrivate.idl:
7280 * Interfaces/IWebSecurityOrigin.idl:
7281 * Interfaces/IWebTextRenderer.idl:
7282 * Interfaces/IWebUIDelegate.idl:
7283 * Interfaces/IWebUIDelegatePrivate.idl:
7284 * Interfaces/IWebURLAuthenticationChallenge.idl:
7285 * Interfaces/IWebURLRequest.idl:
7286 * Interfaces/IWebURLResponse.idl:
7287 * Interfaces/IWebURLResponsePrivate.idl:
7288 * Interfaces/IWebUndoManager.idl:
7289 * Interfaces/IWebUndoTarget.idl:
7290 * Interfaces/IWebView.idl:
7291 * Interfaces/IWebViewPrivate.idl:
7292 * Interfaces/WebKit.idl:
7293 * WebActionPropertyBag.cpp:
7294 * WebBackForwardList.h:
7296 * WebDataSource.cpp:
7298 * WebDatabaseManager.h:
7300 * WebEditorClient.cpp:
7301 * WebEditorClient.h:
7305 * WebFramePolicyListener.h:
7306 * WebHTMLRepresentation.cpp:
7307 * WebHTMLRepresentation.h:
7311 * WebIconDatabase.h:
7313 * WebJavaScriptCollector.h:
7314 * WebKit.vcproj/Interfaces.vcproj:
7315 * WebKit.vcproj/WebKitGUID.vcproj:
7317 * WebKitStatistics.h:
7318 * WebMutableURLRequest.cpp:
7319 * WebMutableURLRequest.h:
7320 * WebNotification.h:
7321 * WebNotificationCenter.h:
7324 * WebScriptCallFrame.h:
7325 * WebScriptDebugServer.cpp:
7326 * WebScriptDebugServer.h:
7327 * WebScriptDebugger.cpp:
7328 * WebScriptDebugger.h:
7329 * WebScriptObject.h:
7331 * WebSecurityOrigin.h:
7332 * WebTextRenderer.h:
7333 * WebURLAuthenticationChallenge.h:
7334 * WebURLAuthenticationChallengeSender.h:
7335 * WebURLCredential.h:
7336 * WebURLProtectionSpace.h:
7341 2008-02-12 Anders Carlsson <andersca@apple.com>
7345 Implement imageTitle.
7347 * WebCoreLocalizedStrings.cpp:
7348 (WebCore::imageTitle):
7350 2008-02-12 Anders Carlsson <andersca@apple.com>
7354 * WebCoreLocalizedStrings.cpp:
7355 (WebCore::imageTitle):
7359 2008-02-07 Ada Chan <adachan@apple.com>
7361 <rdar://problem/5292433> certificate authentication support broken in Safari 3.0
7362 Added mechanism to communicate client certificate info back to CFNetwork.
7366 * Interfaces/IWebError.idl: Added new WebURLErrorClientCertificateRequired error.
7367 * Interfaces/IWebMutableURLRequestPrivate.idl: Added. Added method to set client
7368 certificate info on the request.
7369 * WebKit.vcproj/Interfaces.vcproj: Added new idl.
7370 * WebKit.vcproj/WebKit.vcproj: Link crypt32.lib
7371 * WebKit.vcproj/WebKitGUID.vcproj:
7372 * WebMutableURLRequest.cpp:
7373 (WebMutableURLRequest::QueryInterface): Implements IWebMutableURLRequestPrivate.
7374 (deallocCertContext): Free certificate context.
7375 (copyCert): Duplicate the certificate context and returns it in a CFDataRef.
7376 (WebMutableURLRequest::setClientCertificate):
7377 * WebMutableURLRequest.h:
7379 2008-02-05 Rodney Dawes <dobey@wayofthemonkey.com>
7381 Reviewed by Anders Carlsson.
7383 Part one of http://bugs.webkit.org/show_bug.cgi?id=16924.
7384 Shared PluginDatabase, PluginInfoStore and PluginPackage implementations.
7386 Track WebCore renames.
7389 (WebFrame::createPlugin):
7390 (WebFrame::redirectDataToPlugin):
7391 (WebFrame::createJavaAppletWidget):
7392 (WebFrame::objectContentType):
7395 (WebView::canShowMIMEType):
7396 (WebView::addAdditionalPluginPath):
7398 2008-02-05 Alexey Proskuryakov <ap@webkit.org>
7400 Reviewed by Darin Adler.
7402 http://bugs.webkit.org/show_bug.cgi?id=15248
7403 <rdar://problem/5497032> Can not enter accented characters using alt-numeric keypad (take two)
7405 * WebView.cpp: (WebViewWndProc): KeyUp messages need to be translated, too.
7407 2008-02-01 Darin Adler <darin@apple.com>
7409 - fix <rdar://problem/5680469> Each database worker thread takes a JSLock,
7410 which slows down all JavaScript execution until the thread terminates
7412 * WebIconDatabase.cpp:
7413 (WebIconDatabase::scheduleNotificationDelivery): Updated for new callOnMainThread.
7414 (WebIconDatabase::deliverNotifications): Ditto.
7415 * WebIconDatabase.h: Ditto.
7417 2008-01-31 Adam Roben <aroben@apple.com>
7419 Fix <rdar://5713172> Focus lost from Gmail message body after toggling
7422 This regressed in r29583. Prior to r29583, the code path that resulted
7423 in calling focusController->setFocusedFrame(0) was never getting hit.
7424 r29583 changed the code to adhere to the comment above the code and
7425 actually call setFocusedFrame(0) when losing focus to another part of
7426 the window. It turns out this is wrong behavior (and not what
7427 WebKit/mac does). The only time we should clear the focused frame is
7428 when we tab out of the WebView, and that's already taken care of by
7429 FocusController::advanceFocus. The code to clear the focused frame in
7430 WebView was written before FocusController::advanceFocus, so it was
7431 correct at one point but no longer is.
7433 We now never call setFocusedFrame(0) when the WebView receives a
7434 WM_KILLFOCUS message. Instead we just call setFocused(false) on the
7435 focused frame so that blur events will be sent. This matches what
7438 Reviewed by Darin and Adele.
7441 (WebViewWndProc): Also reworded a couple of comments to make them
7444 2008-01-31 Adam Roben <aroben@apple.com>
7446 Let WebCore take care of the highlight drawing entirely
7448 Reviewed by Darin Adler.
7450 * WebInspectorClient.cpp:
7451 (WebInspectorClient::highlight): We now just show our highlight
7452 window and let WebCore figure out what/where to paint. Once all ports
7453 follow suit the Node* parameter to this method should be removed
7454 entirely, and the name should probably change to
7455 updateAndShowHighlight or something similar.
7456 * WebNodeHighlight.cpp: Renamed m_webView to m_inspectedWebViewWindow.
7457 (WebNodeHighlight::WebNodeHighlight): Now takes a WebView* parameter.
7458 (WebNodeHighlight::show): Renamed from highlight(). Now gets the
7459 WebView's HWND. Updated for member rename/removal.
7460 (WebNodeHighlight::updateWindow): Updated for member rename and for
7461 InspectorController changes.
7462 * WebNodeHighlight.h: Added m_inspectedWebView member, removed m_rect
7463 member, renamed highlight(Node*) -> show().
7465 2008-01-31 Adam Roben <aroben@apple.com>
7467 Move node highlight drawing code to WebCore
7469 Reviewed by Darin Adler.
7471 * WebNodeHighlight.cpp:
7472 (WebNodeHighlight::updateWindow): Call into WebCore to do the node
7475 2008-01-29 Adam Roben <aroben@apple.com>
7477 Fix a crash when opening the Inspector
7481 * WebInspectorClient.cpp:
7482 (WebInspectorClient::createPage): Call
7483 WebPreferences::initWithIdentifier so our custom WebPreferences will
7484 have all its members initialized.
7486 2008-01-29 Adam Roben <aroben@apple.com>
7488 Fix Bug 16786: "Display images when page opens" preference affects
7491 <http://bugs.webkit.org/show_bug.cgi?id=16786>
7494 Reviewed by Anders and Darin.
7496 * WebInspectorClient.cpp:
7497 (WebInspectorClient::createPage): Create our own custom WebPreferences
7498 so that we won't be affected by global preference changes. This
7499 matches what Mac does.
7501 2008-01-29 Adam Roben <aroben@apple.com>
7503 Fix <rdar://5713302> Web Inspector on Windows is not using the
7508 * WebInspectorClient.cpp:
7509 (getWebKitBundle): Added.
7510 (WebInspectorClient::createPage): Call getWebKitBundle.
7511 (WebInspectorClient::localizedStringsURL): Implemented.
7513 2008-01-29 Alexey Proskuryakov <ap@webkit.org>
7515 Reviewed by Darin Adler.
7517 <rdar://problem/5710692> All storage tests fail/crash
7519 * WebChromeClient.cpp: (WebChromeClient::exceededDatabaseQuota): Clients that do not implement
7520 database quota callbacks should have no database support - but not crash.
7522 2008-01-26 Steve Falkenburg <sfalken@apple.com>
7524 <rdar://problem/5707607> REGRESSION: I hear a beep when selecting Alt-enter in address or search fields
7529 (WebView::keyDown): Allow alt-return to be marked as handled by WebKit.
7531 2008-01-24 Steve Falkenburg <sfalken@apple.com>
7535 * WebKit.vcproj/WebKit.sln:
7536 * WebKit.vcproj/WebKit.submit.sln:
7538 2008-01-24 Adam Roben <aroben@apple.com>
7542 * WebView.cpp: Added a comma.
7544 2008-01-24 Alexey Proskuryakov <ap@webkit.org>
7546 Reviewed by Adam Roben.
7548 <rdar://problem/5702734> REGRESSION(r28936/r15890): Shift+del does not work in win Safari
7550 * WebView.cpp: Fixed keyDownEntries to list this shortcut (and related ones, for consistency).
7552 2008-01-23 Steve Falkenburg <sfalken@apple.com>
7554 <rdar://problem/5698732> Copyright strings should include 2008
7558 * WebKit.vcproj/WebKit.rc:
7560 2008-01-23 Adam Roben <aroben@apple.com>
7562 Fix <rdar://5698502> Inspector window reverts to default position/size unexpectedly
7566 * WebInspectorClient.cpp:
7567 (defaultWindowRect): Added.
7568 (WebInspectorClient::createPage):
7569 - Use defaultWindowRect() to set the initial size/position of the
7571 - Pass the Inspector window's client rect to
7572 IWebView::initWithFrame so that the WebView will be initially
7573 sized to fill the window.
7574 (WebInspectorClient::showWindow): Don't move/resize the window back to
7575 the defaults every time this method is called.
7577 2008-01-23 Adam Roben <aroben@apple.com>
7579 Fix <rdar://5700620> REGRESSION (r28190): "Open frame in new tab" instead of "Open link in new tab" @ digg.com
7581 Test: fast/events/contextmenu-scrolled-page-with-frame.html
7586 (WebView::handleContextMenuEvent): Translate the mouse coordinates
7587 into document coordinates before performing the hit-test. This is what
7588 EventHandler does internally.
7590 2008-01-23 Steve Falkenburg <sfalken@apple.com>
7592 <rdar://problem/5699509> Allow file upload dialog to be localized.
7594 Reviewed by Darin Adler.
7596 * English.lproj/Localizable.strings: Updated.
7597 * WebCoreLocalizedStrings.cpp:
7598 (WebCore::uploadFileText): Added.
7599 (WebCore::allFilesText): Added.
7601 2008-01-22 Adam Roben <aroben@apple.com>
7603 Fix <rdar://5693599> REGRESSION (r29369): scroll bars are drawing when they shouldn't be on an ad on cnn.com
7605 Now that we have multiple FrameViews per Frame on Windows, we need to
7606 make sure each FrameView gets its scrolling mode set correctly. On Mac
7607 this works because WebFrameView holds the scrolling mode and a single
7608 WebFrameView is shared by many FrameViews. On Windows, we have no such
7609 shared object, so we just ask the Frame's owner element for the
7612 Tests: fast/frames/frame-scrolling-attribute.html
7613 fast/frames/iframe-scrolling-attribute.html
7618 (WebFrame::transitionToCommittedForNewPage): Set the scrolling mode
7619 on the FrameView based on the scrolling mode of the Frame's owner
7622 2008-01-21 Darin Adler <darin@apple.com>
7624 Reviewed by John Sullivan.
7626 - fix <rdar://problem/5644324> Delegate-less WebKit clients should have no databases
7627 - fix incorrect value for WebDatabaseDisplayNameKey in header
7629 * Interfaces/IWebDatabaseManager.idl: Renamed detailsForDatabaseWithOrigin to
7630 detailsForDatabase. Replaced deleteDatabasesWithOrigin with deleteOrigin.
7631 Renamed deleteDatabaseWithOrigin to deleteDatabase. Fixed incorrect value for
7632 WebDatabaseDisplayNameKey.
7633 * Interfaces/IWebPreferencesPrivate.idl: Removed defaultDatabaseQuota and
7634 setDefaultDatabaseQuota.
7635 * Interfaces/IWebUIDelegatePrivate.idl: Replaced the two database quota functions
7638 * WebChromeClient.cpp:
7639 (WebChromeClient::exceededDatabaseQuota): Replaced the two database quota functions
7641 * WebChromeClient.h: Ditto.
7643 * WebDatabaseManager.cpp:
7644 (WebDatabaseManager::detailsForDatabase): Changed to check for a name of null to
7645 detect a nonexistent database rather than using isValid.
7646 (WebDatabaseManager::deleteOrigin): Updated for name change (actually a semantic
7647 change too, but both have the same name).
7648 (WebDatabaseManager::deleteDatabase): Updated for name change.
7649 (WebKitSetWebDatabasesPathIfNecessary): Ditto.
7651 * WebDatabaseManager.h: Updated for name changes.
7653 * WebPreferenceKeysPrivate.h: Removed WebKitDefaultDatabaseQuotaKey.
7654 * WebPreferences.cpp:
7655 (WebPreferences::initializeDefaultSettings): Removed the default for
7656 WebKitDefaultDatabaseQuotaKey.
7657 * WebPreferences.h: Removed defaultDatabaseQuota and setDefaultDatabaseQuota.
7659 (WebView::notifyPreferencesChanged): Removed the code to set the
7660 default database origin quota in WebCore::Settings based on IWebPreferencesPrivate.
7662 2008-01-19 Mark Rowe <mrowe@apple.com>
7664 Fix inconsistent line endings and set svn:eol-style=native
7665 on IDL files that did not have it set.
7667 * Interfaces/IGEN_DOMObject.idl:
7669 2008-01-18 Adam Roben <aroben@apple.com>
7671 Fix <rdar://5693854> REGRESSION (r29581): fast/events/frame-click-focus.html failing
7673 Restored the previous behavior of IWebViewPrivate::updateActiveState,
7674 which DRT depends on, and renamed it to
7675 IWebViewPrivate::updateFocusedAndActiveState to be clearer about its
7680 * Interfaces/IWebViewPrivate.idl:
7682 (WebViewWndProc): Removed some FIXMEs that we no longer want to fix
7683 because the current design is better.
7684 (WebView::updateActiveState): This is now just a method of WebView,
7685 not any of its public interfaces.
7686 (WebView::updateFocusedAndActiveState): Performs the tasks that the
7687 old IWebViewPrivate::updateActiveState performed.
7690 2008-01-18 Alexey Proskuryakov <ap@webkit.org>
7692 Reviewed by Adam Roben.
7694 Fix plugin-related tests in Debug_Internal configuration, which are failing because of CRT version mismatch
7695 between DRT and TestNetscapePlugin.
7697 * WebKit.vcproj/WebKit.sln: Use newly added TestNetscapePlugin Debug_Internal configuration.
7699 2008-01-17 Steve Falkenburg <sfalken@apple.com>
7703 * WebKit.vcproj/WebKit.make:
7705 2008-01-16 Adam Roben <aroben@apple.com>
7707 Trigger activation changes at the right time by listening for WM_NCACTIVATE
7709 This is the final part of <rdar://5006915> Inactive look for Aqua
7712 WebView now listens to messages sent to its top-level parent window.
7713 When the top-level parent receives a WM_NCACTIVATE message, WebView
7714 recalculates whether it is contained within the current active window.
7716 Reviewed by Darin Adler.
7718 * Interfaces/IWebViewPrivate.idl:
7719 (IWebViewPrivate::windowAncestryDidChange): Added. WebKit clients
7720 should call this when they change the parent window chain of a
7723 (WebView::WebView): Initialize new member.
7724 (findTopLevelParent): Added.
7726 - Separated activation handling from focus handling, now that
7727 activation handling is taken care of by updateActiveState
7729 - Compare top-level parents in our WM_KILLFOCUS handler so that we
7730 really know if focus is staying inside our top-level window.
7731 - Update our active state on WM_WINDOWPOSCHANGED.
7732 - Added a WM_TIMER handler.
7733 (WebView::initWithFrame): Call windowAncestryDidChange after setting
7734 up our HWND as a child of the host window.
7735 (WebView::windowReceivedMessage): Added. Update our active state when
7736 our top-level parent receives a WM_NCACTIVATE message.
7737 (WebView::updateActiveStateSoon): Added.
7738 (WebView::setHostWindow): Call windowAncestryDidChange after changing
7740 (WebView::updateActiveState): We are active if our top-level parent is
7741 the same as the top-level parent of the active window.
7742 (WebView::windowAncestryDidChange): Added. Recalculates our top-level
7743 parent and registers as a listener for the new top-level parent's
7745 * WebView.h: Made WebView and WindowMessageListener so that it can
7746 utilize WindowMessageBroadcaster to listen to its top-level parent's
7749 2008-01-16 Adam Roben <aroben@apple.com>
7751 Updated for ScrollBarClient changes
7753 Reviewed by Darin Adler.
7756 (WebScrollBar::isActive): Added.
7758 2008-01-16 Adam Roben <aroben@apple.com>
7760 Updated for changes to WebCore methods
7762 Focus and active state are now handled (somewhat) separately. Future
7763 patches will further separate these concepts.
7765 Reviewed by Darin Adler.
7768 (WebViewWndProc): Updated for method renames.
7769 (WebView::updateActiveState): Only change the active state here. Focus
7770 is handled inside WM_SETFOCUS and WM_KILLFOCUS message handlers.
7772 2008-01-16 Steve Falkenburg <sfalken@apple.com>
7774 <rdar://problem/5097419> Cursor flickers when over window resizer
7779 (WebViewWndProc): Don't set the resize cursor when over the non-border resize area.
7781 2008-01-15 Steve Falkenburg <sfalken@apple.com>
7783 <rdar://problem/5663888> Cannot type into a JavaScript prompt created from a timer
7785 Allow nested timers from javascript prompts to allow for WebView-based edit fields.
7787 Reviewed by Darin Adler.
7789 * WebChromeClient.cpp:
7790 (WebChromeClient::runJavaScriptPrompt):
7792 2008-01-14 Steve Falkenburg <sfalken@apple.com>
7794 Use shared vsprops for most vcproj properties.
7796 Reviewed by Darin Adler.
7798 * WebKit.vcproj/Interfaces.vcproj:
7799 * WebKit.vcproj/WebKit.vcproj:
7800 * WebKit.vcproj/WebKitGUID.vcproj: Add missing Debug_Internal config.
7802 2008-01-11 Steve Falkenburg <sfalken@apple.com>
7804 Share common files across projects.
7807 Debug: common.vsprops, debug.vsprops
7808 Debug_Internal: common.vsprops, debug.vsprops, debug_internal.vsprops
7809 Release: common.vsprops, release.vsprops
7811 Shared properties can go into common.vsprops, shared debug settings can go into debug.vsprops.
7812 debug_internal.vsprops will be mostly empty except for file path prefix modifiers.
7814 Pull auto-version.sh, VERSION, and PRODUCTVERSION from tools.
7816 Reviewed by Adam Roben.
7818 * WebKit.vcproj/Interfaces.vcproj:
7819 * WebKit.vcproj/PRODUCTVERSION: Removed.
7820 * WebKit.vcproj/VERSION: Removed.
7821 * WebKit.vcproj/WebKit.vcproj:
7822 * WebKit.vcproj/WebKitGUID.vcproj:
7823 * WebKit.vcproj/auto-version.sh: Removed.
7824 * WebKit.vcproj/debug.vsprops: Removed.
7825 * WebKit.vcproj/debug_internal.vsprops: Removed.
7826 * WebKit.vcproj/release.vsprops: Removed.
7828 2008-01-11 Adam Roben <aroben@apple.com>
7830 Fix Bug 16828: WebView never paints if first page load is canceled after being committed but before layout
7832 <http://bugs.webkit.org/show_bug.cgi?id=16828>
7835 Now that we have 1) a real loader and 2) multiple FrameViews per
7836 Frame, we no longer need the hackery we had in our WM_PAINT handler
7837 that decided whether or not to paint. We now always want to paint,
7838 letting the swapping of FrameViews that happens in
7839 transitionToCommittedForNewPage handle which document gets painted.
7844 (WebViewWndProc): Removed hackery that decided sometimes not to paint.
7846 2008-01-11 Mark Rowe <mrowe@apple.com>
7848 Windows build fix. Update to match method name in WebCore.
7850 * WebJavaScriptCollector.cpp:
7851 (WebJavaScriptCollector::collectOnAlternateThread):
7853 2008-01-10 Geoffrey Garen <ggaren@apple.com>
7855 Reviewed by John Sullivan.
7857 Updated for transition away from JavaScriptStatistics, which is gone now.
7859 * WebJavaScriptCollector.cpp:
7860 (WebJavaScriptCollector::collect):
7861 (WebJavaScriptCollector::collectOnAlternateThread):
7862 (WebJavaScriptCollector::objectCount):
7864 2008-01-10 Maciej Stachowiak <mjs@apple.com>
7866 Not reviewed, build fix.
7870 * WebDatabaseManager.cpp:
7871 * WebSecurityOrigin.h:
7873 2008-01-10 Maciej Stachowiak <mjs@apple.com>
7875 Not reviewed, build fix.
7879 * WebDatabaseManager.cpp:
7880 (WebDatabaseManager::databasesWithOrigin):
7881 * WebSecurityOrigin.h:
7883 2008-01-10 Maciej Stachowiak <mjs@apple.com>
7887 - remove SecurityOriginData and fold its functionality into SecurityOrigin
7889 * WebChromeClient.cpp:
7890 (WebChromeClient::requestQuotaIncreaseForNewDatabase):
7891 (WebChromeClient::requestQuotaIncreaseForDatabaseOperation):
7892 * WebChromeClient.h:
7893 * WebDatabaseManager.cpp:
7894 (WebDatabaseManager::origins):
7895 (WebDatabaseManager::databasesWithOrigin):
7896 (WebDatabaseManager::detailsForDatabaseWithOrigin):
7897 (WebDatabaseManager::deleteDatabasesWithOrigin):
7898 (WebDatabaseManager::deleteDatabaseWithOrigin):
7899 (WebDatabaseManager::dispatchDidModifyOrigin):
7900 (WebDatabaseManager::dispatchDidModifyDatabase):
7901 * WebDatabaseManager.h:
7902 * WebSecurityOrigin.cpp:
7903 (WebSecurityOrigin::createInstance):
7904 (WebSecurityOrigin::WebSecurityOrigin):
7905 (WebSecurityOrigin::protocol):
7906 (WebSecurityOrigin::domain):
7907 (WebSecurityOrigin::port):
7908 (WebSecurityOrigin::usage):
7909 (WebSecurityOrigin::quota):
7910 (WebSecurityOrigin::setQuota):
7911 * WebSecurityOrigin.h:
7913 2008-01-10 David Kilzer <ddkilzer@apple.com>
7915 dftables should be rewritten as a script
7917 <http://bugs.webkit.org/show_bug.cgi?id=16818>
7918 <rdar://problem/5681463>
7920 Reviewed by Darin Adler.
7922 * WebKit.vcproj/WebKit.sln: Removed reference to dftables project.
7924 2008-01-10 Adam Roben <aroben@apple.com>
7926 Fix many bugs by giving Windows one FrameView per page load
7930 Windows back/forward cache causes crashes in the layout tests
7932 <http://bugs.webkit.org/show_bug.cgi?id=16808>
7933 REGRESSION: PLT broken on Windows due to back/forward cache
7935 <http://bugs.webkit.org/show_bug.cgi?id=16607>
7936 Random crashes in FrameView::scheduleRelayout while surfing
7939 On Windows until now we've only had one FrameView per Frame. Once the
7940 back/forward cache was turned on this started causing assertions to
7941 fail and crashes to occur due to a single FrameView being both in the
7942 back/forward cache (possibly multiple times!) and used by a live
7943 document. We now create a new FrameView for each page load, just as
7946 This has the side-effect of plugging some of the world leaks seen at
7952 (WebFrame::initWithWebFrameView): Don't create the FrameView right
7953 away -- it'll be created when the load is committed.
7954 (WebFrame::transitionToCommittedFromCachedPage): Match the Mac by no
7955 longer calling resetMultipleFormSubmissionProtection here.
7956 (WebFrame::transitionToCommittedForNewPage): Ported code from
7957 -[WebCoreFrameBridge
7958 createFrameViewWithNSView:marginWidth:marginHeight:],
7959 -[WebCoreFrameBridge installInFrame:], and moved code here from
7960 WebFrame::initWithWebFrameView and WebView::initWithFrame. WebCore
7961 takes care of resetMultipleFormSubmissionProtection, just like it does
7964 (WebView::initWithFrame): Moved FrameView initialization code to
7965 WebFrame::transitionToCommittedForNewPage.
7967 2008-01-09 Ada Chan <adachan@apple.com>
7969 Fix crash that could happen if the key we are passing to the HashMap is 0 in WebView::interpretKeyEvent().
7971 Reviewed by Darin Adler.
7974 (WebView::interpretKeyEvent):
7976 2008-01-08 Steve Falkenburg <sfalken@apple.com>
7980 * DOMCoreClasses.cpp:
7982 2008-01-07 Antti Koivisto <antti@apple.com>
7984 Try to fix the Windows build.
7986 * WebKit.vcproj/WebKit.sln:
7988 2008-01-07 Antti Koivisto <antti@apple.com>
7992 Re-enable media support in Windows build.
7994 * WebKit.vcproj/WebKit.vcproj:
7996 2008-01-07 Steve Falkenburg <sfalken@apple.com>
8000 * WebKit.vcproj/InterfacesGenerated.vcproj:
8002 2008-01-07 Dan Bernstein <mitz@apple.com>
8004 Reviewed by Dave Hyatt.
8006 - <rdar://problem/5665216> Support the unicode-range property in @font-face rules
8009 (WebView::setShouldApplyMacFontAscentHack):
8011 2008-01-07 Holger Freyther <zecke@selfish.org>
8013 Reviewed by Alp Toker.
8015 * Qt and Gtk must know if a ContextMenuItem is checkable. Add a new ContextMenuItemType for checkable
8017 * Use this information in the Gtk platform to create a GtkCheckMenuItem when needed.
8018 * Update the ContextMenuController to accept CheckableActionTypes as well.
8019 * Change ContextMenu.cpp to use the CheckableActionType. The information if a item is checkable
8020 was extracted from ContextMenu::checkOrEnableIfNeeded.
8021 * Update the Qt and Windows port.
8023 * WebContextMenuClient.cpp:
8025 2008-01-04 Alexey Proskuryakov <ap@webkit.org>
8027 Reviewed by Adam Roben.
8029 http://bugs.webkit.org/show_bug.cgi?id=16733
8030 REGRESSION: Crash on Safari Start
8032 * Interfaces/IWebViewPrivate.idl: Should have added a new method at the end.
8034 2008-01-04 Alexey Proskuryakov <ap@webkit.org>
8036 Reviewed by Darin Adler.
8038 <rdar://problem/5611712> xsl:sort does not use a case folding sort, and the 'case-order' attribute is ignored (16077)
8040 * WebKit.vcproj/WebKit.vcproj: Link to icuin{_debug}.lib
8042 2008-01-04 Adam Roben <aroben@apple.com>
8044 Fix <rdar://4968855> Shift-PageUp/Shift-PageDown only select one line of text
8046 Test: platform/win/editing/selection/shift-page-down-up.html
8050 * WebView.cpp: Correct the commands associated with
8051 Shift-PageUp/Shift-PageDown.
8053 2008-01-03 Alexey Proskuryakov <ap@webkit.org>
8055 Reviewed by Darin Adler.
8057 <rdar://problem/5463489> A number of layout tests should be using execCommand instead of textInputController
8059 * Interfaces/IWebViewPrivate.idl:
8061 (WebView::executeCoreCommandByName):
8063 Added an SPI to implement layoutTestController.execCommand.
8065 2008-01-03 Ada Chan <adachan@apple.com>
8067 Replaced the use of editor command "ForwardDelete" with "DeleteForward" to be consistent
8068 with our use of "DeleteBackward".
8070 Rubber-stamped by Jon.
8074 2008-01-03 Ada Chan <adachan@apple.com>
8076 Regression: backspace stopped working on text inputs
8077 - Replaced the use of editor command "BackwardDelete" with "DeleteBackward" since it's no longer supported.
8081 * WebEditorClient.cpp:
8082 (WebEditorClient::textWillBeDeletedInTextField):
8085 2008-01-02 Alice Liu <alice.liu@apple.com>
8089 Fixed <rdar://5283861> (problems scrolling in gmail message content area)
8093 bubble scrolling from a key event
8095 2008-01-01 Matt Lilek <webkit@mattlilek.com>
8097 Attempt to fix the Windows bots until the bots
8098 can get the Quicktime SDK installed.
8100 * WebKit.vcproj/WebKit.sln:
8101 * WebKit.vcproj/WebKit.vcproj:
8103 2007-12-30 Matt Lilek <webkit@mattlilek.com>
8105 Reviewed by Darin Adler.
8107 Bug 16578: Windows Web Inspector window needs minimum size
8108 http://bugs.webkit.org/show_bug.cgi?id=16578
8110 * WebInspectorClient.cpp:
8111 (WebInspectorClient::onGetMinMaxInfo):
8112 (WebInspectorWndProc):
8113 * WebInspectorClient.h:
8115 2007-12-21 Antti Koivisto <antti@apple.com>
8119 Build media support on Windows.
8121 * WebKit.vcproj/WebKit.sln:
8122 * WebKit.vcproj/WebKit.vcproj:
8124 2007-12-21 Ada Chan <adachan@apple.com>
8126 Implemented DOMDocument::getElementById().
8128 Reviewed by Darin Adler.
8130 * DOMCoreClasses.cpp:
8131 (DOMDocument::getElementById):
8133 2007-12-21 Alexey Proskuryakov <ap@webkit.org>
8135 Reviewed by Steve and Darin.
8137 <rdar://problem/5497037> Win32: Accelerator keys (ctrl-x,c,v,w,q,etc) only fire keyUp,
8138 keyDown/Press consumed by accelerator table (14104)
8140 <rdar://problem/5346299> preventing default behavior for key down does not block accelerators like Ctrl+N
8142 This is WebKit part of a fix, most of which will be in Safari.
8145 (WebViewWndProc): Return our result for WM_(SYS)KEYDOWN to let the client know whether
8146 further procesing is desired.
8148 2007-12-21 Alexey Proskuryakov <ap@webkit.org>
8150 Build fix: cannot use framework-style include for ProgIDMacros.h,
8151 because the file is only created on a later step.
8155 2007-12-20 Kevin McCullough <kmccullough@apple.com>
8159 - <rdar://5656485> Drosera: Win: Nightly does not reliably connect to
8162 - Drosera and Safari need to use the same ProgIDs in order for
8163 CoCreateInstance to work properly. The most robust way to do this is
8164 for WebKit to dynamically publish those ProgIDs.
8166 * ForEachCoClass.cpp: Added.
8167 (setUseOpenSourceWebKit):
8169 * ForEachCoClass.h: Added functionality to publish ProgIDs.
8170 * WebKit.vcproj/WebKit.def: Exposed added functions for applications.
8171 * WebKit.vcproj/WebKit.vcproj: Added ForEachCoClass.cpp
8172 * WebKit.vcproj/WebKit_debug.def: Exposed added functions fori
8175 2007-12-19 Dave Hyatt <hyatt@apple.com>
8177 Add a fourth preference value for GDI text in the font smoothing prefs.
8181 * Interfaces/IWebPreferences.idl:
8182 * WebPreferenceKeysPrivate.h:
8183 * WebPreferences.cpp:
8184 (WebPreferences::initializeDefaultSettings):
8185 (WebPreferences::fontSmoothing):
8186 (WebPreferences::setFontSmoothing):
8188 (WebView::notifyPreferencesChanged):
8190 2007-12-17 Darin Adler <darin@apple.com>
8194 - <rdar://4516170> Back/Forward Cache on Windows
8197 (WebFrame::forceLayout): Implemented this. Just calling through to
8198 Frame::forceLayout matches the Mac pretty well and should be enough
8199 for now. Without this we won't repaint the new page when we go back
8201 (WebFrame::dispatchWillSubmitForm): Use COMPtr's AdoptCOM constructor
8202 instead of the adoptRef function.
8203 (WebFrame::restoreViewState): Removed unneeded notImplemented() call.
8204 This is implemented as much as it needs to be.
8205 (WebFrame::shouldGoToHistoryItem): Ditto.
8206 (WebFrame::saveViewStateToItem): Ditto.
8207 (WebFrame::canCachePage): Ditto, also changed it to return true. This
8208 is what was preventing the back/forward cache from running, and there's
8209 no need for any additional checks in the Windows version.
8212 (PreferencesChangedOrRemovedObserver::onNotify): Fix backwards null check
8213 that was preventing this notification from ever being sent, which in turn
8214 meant that page cache had a capacity of 0.
8215 (WebView::initWithFrame): Removed unneeded setUsesPageCache(false) code.
8216 This actually was ineffective and ended up doing no harm, but we don't
8219 2007-12-16 Alexey Proskuryakov <ap@webkit.org>
8221 Reviewed by Darin Adler.
8223 http://bugs.webkit.org/show_bug.cgi?id=16462
8224 REGRESSION: access keys broken on Windows
8226 * WebView.cpp: (WebView::keyPress): Handle system key presses as access keys.
8228 2007-12-15 Alexey Proskuryakov <ap@webkit.org>
8232 http://bugs.webkit.org/show_bug.cgi?id=16436
8233 Alt+Space works incorrectly
8235 Test: platform/win/fast/events/alt-space-scroll.html
8239 (WebView::keyPress):
8240 We do not handle WM_SYSCHAR events.
8242 2007-12-14 Dan Bernstein <mitz@apple.com>
8244 - yet another build fix
8246 * DOMHTMLClasses.cpp:
8247 (DOMHTMLDocument::URL):
8249 2007-12-14 Dan Bernstein <mitz@apple.com>
8253 * WebIconDatabase.h:
8255 2007-12-14 Darin Adler <darin@apple.com>
8259 - http://bugs.webkit.org/show_bug.cgi?id=16443
8260 implement some missing Windows WebKit functions
8262 * DOMHTMLClasses.cpp:
8263 (DOMHTMLDocument::URL): Implemented.
8265 * WebActionPropertyBag.cpp:
8266 (WebActionPropertyBag::Read): Fixed the WebActionElementKey case.
8268 2007-12-14 Darin Adler <darin@apple.com>
8273 (WebView::execCommand): Switched from Editor::execCommand to Editor:command.
8274 Updated name from MoveUpByPageAndModifyCaret to MovePageUp and from
8275 MoveDownByPageAndModifyCaret to MovePageDown.
8276 (WebView::copy): Switched from Editor::execCommand to Editor:command.
8277 (WebView::cut): Ditto.
8278 (WebView::paste): Ditto.
8279 (WebView::delete_): Ditto.
8281 2007-12-13 Steve Falkenburg <sfalken@apple.com>
8283 Move source file generation into its own vcproj to fix build dependencies.
8287 * WebKit.vcproj/Interfaces.vcproj:
8288 * WebKit.vcproj/InterfacesGenerated.vcproj: Added.
8289 * WebKit.vcproj/WebKit.sln:
8290 * WebKit.vcproj/WebKit.submit.sln:
8291 * WebKit.vcproj/build-generated-files.sh:
8293 2007-12-13 Adam Roben <aroben@apple.com>
8295 Fix <rdar://5517707> Crash on wptv.wp.pl when "make bigger" button is clicked
8300 (WebViewWndProc): Repost paint messages and ignore all other messages
8301 when we're calling a plugin.
8303 2007-12-13 Steve Falkenburg <sfalken@apple.com>
8305 Fix project dependencies based on JavaScriptCore change.
8307 * WebKit.vcproj/WebKit.sln:
8309 2007-12-13 Alexey Proskuryakov <ap@webkit.org>
8313 http://bugs.webkit.org/show_bug.cgi?id=16421
8314 REGRESSION(r28669): Page scrolls down when you hit space key in text area
8316 Test: fast/events/space-scroll-event.html
8320 (WebView::keyPress):
8321 Moved space handling to keyPress() to fix this bug and to match IE. Scrolling via arrow keys is correctly handled
8324 2007-12-12 Brady Eidson <beidson@apple.com>
8326 Reviewed by Sam Weinig
8328 Fix for <rdar://problem/4886844> and lay groundwork for <rdar://problem/4516170> (Back/Forward Cache on Windows)
8330 Even though this new code isn't exercised yet because the page cache is still turned off for Windows, local testing
8331 has indicated it works well.
8333 * WebCachedPagePlatformData.h: Added.
8334 (WebCachedPagePlatformData::WebCachedPagePlatformData): Constructor takes an IWebDataSource and the object retains it
8335 (WebCachedPagePlatformData::clear):
8336 (WebCachedPagePlatformData::webDataSource):
8339 (WebFrame::savePlatformDataToCachedPage):
8340 (WebFrame::transitionToCommittedFromCachedPage):
8341 (WebFrame::transitionToCommittedForNewPage):
8344 * WebKit.vcproj/WebKit.vcproj:
8346 2007-12-12 Steve Falkenburg <sfalken@apple.com>
8350 * WebKit.vcproj/WebKit.make: Copy only what we need out of obj/bin.
8352 2007-12-12 Dan Bernstein <mitz@apple.com>
8354 Reviewed by Darin Adler.
8356 - revert my earlier crash fix after making WebCore return the empty
8357 editor command for the empty command name.
8360 (WebView::handleEditingKeyboardEvent):
8362 2007-12-12 Oliver Hunt <oliver@apple.com>
8366 <rdar://problem/5071781> window.mouseout events are not
8367 sent to window when mouse moves out of window
8369 Hook up the windows mouse tracking logic to allow us to
8370 detect the mouse leaving the window.
8374 (WebView::handleMouseEvent):
8378 2007-12-12 Dan Bernstein <mitz@apple.com>
8380 Reviewed by Alexey Proskuryakov.
8382 - fix a crash when pressing a key that is not associated with a command
8385 (WebView::handleEditingKeyboardEvent): Check if the result of
8386 interpretKeyEvent() is empty.
8388 2007-12-11 Sam Weinig <sam@webkit.org>
8390 Reviewed by Darin Adler.
8392 Scrub URL out of the tree in preparation for renaming KURL to URL.
8396 (WebFrame::dispatchWillPerformClientRedirect):
8397 (WebFrame::setTitle):
8398 (WebFrame::updateGlobalHistoryForStandardLoad):
8399 (WebFrame::updateGlobalHistoryForReload):
8400 (WebFrame::cancelledError):
8401 (WebFrame::blockedError):
8402 (WebFrame::interruptForPolicyChangeError):
8403 (WebFrame::createPlugin):
8405 (WebView::notifyDidAddIcon):
8407 2007-12-10 Anders Carlsson <andersca@apple.com>
8409 Reviewed by Darin Adler.
8411 <rdar://problem/5636865>
8412 WebKit needs API to allow registering a protocol as local (RSS feeds appear unstyled)
8414 * Interfaces/IWebView.idl:
8416 (WebView::registerURLSchemeAsLocal):
8419 2007-12-11 Ada Chan <adachan@apple.com>
8421 Updated the database SPI to take in IWebFrame.
8425 * Interfaces/IWebUIDelegatePrivate.idl:
8426 * WebChromeClient.cpp:
8427 (WebChromeClient::requestQuotaIncreaseForNewDatabase):
8428 (WebChromeClient::requestQuotaIncreaseForDatabaseOperation):
8430 2007-12-11 Alexey Proskuryakov <ap@webkit.org>
8435 (WebView::interpretKeyEvent):
8437 2007-12-11 Darin Adler <darin@apple.com>
8440 (WebView::handleEditingKeyboardEvent): Update for change to Editor API.
8442 2007-12-11 Alexey Proskuryakov <ap@webkit.org>
8444 Reviewed by Darin Adler.
8446 <rdar://problem/5535636>
8447 Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
8449 http://bugs.webkit.org/show_bug.cgi?id=13916
8450 JavaScript detects Tab as a character input on a textfield validation
8452 Listen to WM_CHAR messages, and actually pass the type of message received down to WebCore.
8453 Since WM_KEYDOWN == keydown and WM_CHAR == keypress, this allows for much better IE compatibility
8454 than layering Windows keyboard event handling on top of Mac one.
8457 (WebView::keyUp): Do not special case Alt+F4 and Alt+Space - we don't get keyups for those anyway!
8458 (WebView::interpretKeyEvent): Renamed WindowsKeyCode() to windowsVirtualKeyCode().
8459 (WebView::handleEditingKeyboardEvent): Use the additional information about event type that
8460 we now pass with PlatformKeyboardEvent.
8461 (WebView::keyDown): (WebView::keyPress): Split WM_KEYDOWN and WM_CHAR handling in separate
8462 functions, pass them down as is, without trying to guess what WM_CHAR Windows would have sent
8463 for a given WM_KEYDOWN.
8465 (WebViewWndProc): Handle WM_CHAR and WM_SYSCHAR.
8467 * WebView.h: Removed inIMEKeyDown() - it doesn't look like we need it at all. At least, I didn't
8468 notice any regressions after removing the only call to it in WebEditorClient.
8470 * WebEditorClient.cpp:
8471 (WebEditorClient::handleKeyboardEvent):
8472 (WebEditorClient::handleInputMethodKeydown):
8473 * WebEditorClient.h:
8474 Renamed handleKeypress() to handleKeyboardEvent(), as it gets both keydowns and keypresses.
8475 Renamed handleInputMethodKeypress() to handleInputMethodKeydown() and removed
8476 inIMEKeyDown()-related code.
8478 2007-12-10 Geoffrey Garen <ggaren@apple.com>
8480 Reviewed by Sam Weinig.
8482 Updated for rename in JavaScriptCore.
8484 * WebScriptCallFrame.cpp:
8485 (WebScriptCallFrame::functionName):
8486 (WebScriptCallFrame::valueByEvaluatingJavaScriptFromString):
8488 2007-12-07 Steve Falkenburg <sfalken@apple.com>
8490 Fix version parsing.
8492 Rubber-stamped by Oliver.
8494 * WebKit.vcproj/auto-version.sh:
8496 2007-12-07 Steve Falkenburg <sfalken@apple.com>
8500 * WebKit.vcproj/WebKit.vcproj:
8501 * WebScriptCallFrame.cpp:
8503 2007-12-07 Steve Falkenburg <sfalken@apple.com>
8508 (_WebCoreHistoryProvider::containsURL):
8510 2007-12-07 Geoffrey Garen <ggaren@apple.com>
8512 Tried to fix build by suppressing warning.
8514 * WebScriptCallFrame.cpp:
8516 2007-12-07 Darin Adler <darin@apple.com>
8520 - http://bugs.webkit.org/show_bug.cgi?id=15981
8521 speed up visited-link code a bit
8523 * WebHistory.cpp: Removed unused Latin-1 code path.
8524 (_WebCoreHistoryProvider::containsItem): Updated for function name change.
8526 2007-12-07 Steve Falkenburg <sfalken@apple.com>
8528 Re-named our B&I flag from BUILDBOT to PRODUCTION.
8529 Fix our tiny versioning.
8530 Bump our product version.
8531 Use just the major version in the fallback VERSION files.
8532 Pick up the version numbers from the production builder.
8534 Reviewed by Sam Weinig.
8536 * Interfaces/WebKit.idl:
8537 * WebKit.vcproj/Interfaces.vcproj:
8538 * WebKit.vcproj/PRODUCTVERSION:
8539 * WebKit.vcproj/VERSION:
8540 * WebKit.vcproj/WebKit.make:
8541 * WebKit.vcproj/WebKit.rc:
8542 * WebKit.vcproj/WebKit.vcproj:
8543 * WebKit.vcproj/auto-version.sh:
8545 (DllUnregisterServer):
8547 2007-12-07 Adam Roben <aroben@apple.com>
8549 Fix <rdar://5624866> CFStringRef UI_STRING should use a cache and follow the CF "Get" model (current uses leak)
8551 Added a new class, LocalizedString, that wraps a CFStringRef and a
8552 WebCore::String. We store one LocalizedString for each key string.
8556 * WebLocalizableStrings.cpp: Changed our two HashMaps to map from
8557 WebCore::String to LocalizedString*.
8558 (LocalizedString::LocalizedString):
8559 (LocalizedString::operator CFStringRef):
8560 (LocalizedString::operator LPCTSTR): Code moved here from
8562 (findCachedString): Changed to return a LocalizedString*.
8563 (cacheString): Changed to take a LocalizedString*.
8564 (localizedString): Changed to return a const LocalizedString&. We
8565 first try to find a cached LocalizedString. If there isn't one, we
8566 create a new one and cache it.
8567 (WebLocalizedLPCTSTRUTF8): Changed to call localizedString.
8568 (WebLocalizedLPCTSTR): Ditto.
8570 2007-12-07 Adam Roben <aroben@apple.com>
8572 Make WebLocalizableStrings work a little more like the Mac version
8576 * WebKit.vcproj/WebKit.def: Deprecated SetWebLocalizedStringMainBundle.
8577 * WebKit.vcproj/WebKit_debug.def: Ditto.
8578 * WebLocalizableStrings.cpp:
8579 (createWebKitBundle): Changed to only create the bundle once.
8580 (cfBundleForStringsBundle): Added. Code was factored out of
8581 copyLocalizedStringFromBundle. We now use the CFBundleGetMainBundle to
8582 get the main bundle and WebLocalizableStringsBundle's identifier to
8583 fetch the framework's bundle.
8584 (copyLocalizedStringFromBundle): Changed to call
8585 cfBundleForStringsBundle.
8586 (cacheString): Cleaned up logic a bit with an early return.
8587 (SetWebLocalizedStringMainBundle): Moved down with the other
8588 deprecated functions and made into a no-op.
8590 2007-12-07 Adam Roben <aroben@apple.com>
8592 Use SoftLinking.h in WebKitClassFactory.
8596 * WebKitClassFactory.cpp:
8597 (WebKitClassFactory::WebKitClassFactory): We don't have to worry about
8598 not finding STInitialize anymore now that a version of SafariTheme
8599 containing this function has shipped.
8601 2007-12-06 Ada Chan <adachan@apple.com>
8603 <rdar://problem/5556378> Implemented database related UI delegate methods (prompts for new/enlarged databases)
8605 Reviewed by Darin Adler.
8607 * Interfaces/IWebUIDelegatePrivate.idl:
8608 * WebChromeClient.cpp:
8609 (WebChromeClient::requestQuotaIncreaseForNewDatabase):
8610 (WebChromeClient::requestQuotaIncreaseForDatabaseOperation):
8612 2007-12-06 Alice Liu <alice.liu@apple.com>
8614 Fixed <rdar://5540000> onbeforeunload doesn't fire when closing window/tab
8616 Reviewed by Darin Adler.
8618 * Interfaces/IWebViewPrivate.idl:
8620 (WebView::shouldClose):
8623 2007-12-06 Adam Roben <aroben@apple.com>
8625 Fix <rdar://5615283> Crash in WebFrame::receivedPolicyDecision
8627 It's possible for a second policy listener to be created while we're
8628 waiting for a decision on the first policy listener. In this case we
8629 would crash when the first policy listener had a decision made. Mac
8630 WebKit already handles this by invalidating any existing policy
8631 listener when creating a new one.
8633 A test case is coming in a future commit.
8638 (WebFrame::setUpPolicyListener): Copy the Mac behavior of invalidating
8639 any existing policy listener, and remove some assertions that we know
8642 2007-12-06 Adam Roben <aroben@apple.com>
8644 Add SPI so that DumpRenderTree can turn on the Mac font ascent hack
8648 * Interfaces/IWebViewPrivate.idl: Added new method declaration.
8650 (WebView::setShouldApplyMacFontAscentHack): Added. Just calls down to
8654 2007-12-06 Ada Chan <adachan@apple.com>
8660 * WebScriptCallFrame.cpp:
8661 (WebScriptCallFrame::valueByEvaluatingJavaScriptFromString):
8663 2007-12-04 Geoffrey Garen <ggaren@apple.com>
8665 Reviewed by Darin Adler.
8667 Third step in refactoring JSGlobalObject: Moved data members and data
8668 member access from Interpreter to JSGlobalObject.
8671 (WebFrame::globalContext):
8672 (WebFrame::attachScriptDebugger):
8673 (WebFrame::windowObjectCleared):
8674 * WebScriptDebugger.cpp:
8675 (WebScriptDebugger::WebScriptDebugger):
8677 2007-12-05 Steve Falkenburg <sfalken@apple.com>
8679 <rdar://problem/5625327> Crash toggling check grammar w/ spelling when no spell checker exists.
8684 (WebView::setGrammarCheckingEnabled): Add null check
8686 2007-12-05 Adam Roben <aroben@apple.com>
8688 Expose WebView::setProhibitsMainFrameScrolling through IWebViewPrivate
8692 * Interfaces/IWebViewPrivate.idl: Added declaration.
8693 * WebInspectorClient.cpp:
8694 (WebInspectorClient::createPage): Updated for change to
8695 setProhibitsMainFrameScrolling signature.
8697 (WebView::setProhibitsMainFrameScrolling): Updated and robustified.
8700 2007-12-05 Dan Bernstein <mitz@apple.com>
8702 Reviewed by Darin Adler.
8704 - WebKit/win part of fixing <rdar://problem/5111082> Flash popup video ad doesn't close when clicked at http://www.firestonecompleteautocare.com/
8707 (WebView::initWithFrame): Attach the main frame's view.
8709 2007-12-04 Ada Chan <adachan@apple.com>
8711 Provide API for setting the default storage quota per database origin
8715 * Interfaces/IWebPreferencesPrivate.idl: added SPI to get/set default database quota
8716 * WebPreferenceKeysPrivate.h:
8717 * WebPreferences.cpp:
8718 (WebPreferences::initializeDefaultSettings): default database quota is 5MB
8719 (WebPreferences::longlongValueForKey):
8720 (WebPreferences::setLongLongValue):
8721 (WebPreferences::defaultDatabaseQuota):
8722 (WebPreferences::setDefaultDatabaseQuota):
8725 (WebView::notifyPreferencesChanged): propagate default database quota change to WebCore settings.
8727 2007-12-04 Kevin McCullough <kmccullough@apple.com>
8729 Reviewed by Adam and Darin.
8731 - Fixed a crasher where the top of the stack was not updated correctly.
8732 And set the eol style on IWebScriptCallFrame.idl file.
8734 * Interfaces/IWebScriptCallFrame.idl:
8735 * WebScriptDebugger.cpp:
8736 (WebScriptDebugger::atStatement):
8737 (WebScriptDebugger::leaveFrame):
8739 2007-11-27 Adam Roben <aroben@apple.com>
8741 Hook up the authorAndUserStylesEnabled preference
8743 This is the Windows counterpart of r28071.
8747 * Interfaces/IWebPreferencesPrivate.idl: Added new method
8749 * WebPreferenceKeysPrivate.h: Added a new preference key.
8750 * WebPreferences.cpp:
8751 (WebPreferences::initializeDefaultSettings): Set the default for the
8753 (WebPreferences::setAuthorAndUserStylesEnabled): Added.
8754 (WebPreferences::authorAndUserStylesEnabled): Added.
8757 (WebView::notifyPreferencesChanged): Communicate the new preference
8758 down to WebCore::Settings.
8760 2007-12-04 Jon Honeycutt <jhoneycutt@apple.com>
8764 Don't crash if our JavaPlugin DLL can't be found
8767 (WebFrame::createJavaAppletWidget): Added null check
8769 2007-12-04 Darin Adler <darin@apple.com>
8771 Reviewed by Kevin Decker.
8773 * WebFrame.cpp: Removed obsolete privateBrowsingEnabled.
8774 * WebFrame.h: Ditto.
8776 2007-12-04 Adam Roben <aroben@apple.com>
8780 * WebScriptCallFrame.cpp:
8782 2007-12-03 Dan Bernstein <mitz@apple.com>
8784 Reviewed by Dave Hyatt.
8786 - fix <rdar://problem/5346452> Resize event doesn't fire on body element inside a frame
8789 (WebViewWndProc): Removed call to sendResizeEvent() since FrameView
8792 2007-12-03 Kevin McCullough <kmccullough@apple.com>
8796 - <rdar://5618942> Drosera: Console window does not process everything
8798 - <rdar://5619005> Drosera: could be sped up by moving the
8799 WebScriptScope stuff into the WebScriptCallFrame.
8800 - Now the console can correctly process objects and does not receive
8801 notifications from JavaScriptCore about the JavaScript in Drosera's
8804 * Interfaces/IWebScriptCallFrame.idl: Moved the variable lookup
8805 functions from WebScriptScope to here.
8806 * Interfaces/WebKit.idl: Removed WebScriptScope.
8807 * WebKit.vcproj/Interfaces.vcproj: Ditto.
8808 * WebKit.vcproj/WebKit.vcproj: Ditto.
8809 * WebKit.vcproj/WebKitGUID.vcproj: Ditto.
8810 * WebScriptCallFrame.cpp: Moved WebScriptScope functionality into here.
8811 (WebScriptCallFrame::stringByEvaluatingJavaScriptFromString): Now
8812 returns a string value for things that are not strings.
8813 (WebScriptCallFrame::variableNames): Moved from WebScriptScope.
8814 (WebScriptCallFrame::valueForVariable): Moved from WebScriptScope.
8815 (WebScriptCallFrame::jsValueToString): Helper functions that converts
8816 any JSValue to a String.
8817 * WebScriptCallFrame.h: Moved WebScriptScope functionality into here.
8818 * WebScriptDebugger.cpp: Added nested guards so that Drosera does not
8819 receive notifications about JavaScript that Drosera is running just the
8820 JavaScript WebKit is running.
8821 (WebScriptDebugger::WebScriptDebugger):
8822 (WebScriptDebugger::sourceParsed):
8823 (WebScriptDebugger::callEvent):
8824 (WebScriptDebugger::atStatement):
8825 (WebScriptDebugger::returnEvent):
8826 (WebScriptDebugger::exception):
8827 * WebScriptDebugger.h: Ditto.
8828 * WebScriptScope.cpp: Removed.
8829 * WebScriptScope.h: Removed.
8831 2007-12-03 Mark Rowe <mrowe@apple.com>
8833 Speculative Windows build fix.
8835 * WebScriptCallFrame.cpp:
8836 (WebScriptCallFrame::valueByEvaluatingJavaScriptFromString):
8838 2007-12-03 Adam Roben <aroben@apple.com>
8840 Another speculative Windows build fix
8842 * WebScriptCallFrame.cpp:
8843 (WebScriptCallFrame::valueByEvaluatingJavaScriptFromString):
8845 2007-12-03 Adam Roben <aroben@apple.com>
8847 Speculative Windows build fix
8850 (WebFrame::globalContext):
8851 (WebFrame::windowObjectCleared):
8852 * WebScriptDebugger.cpp:
8853 (WebScriptDebugger::WebScriptDebugger):
8855 2007-12-01 Sam Weinig <sam@webkit.org>
8857 Rename IWebViewPrivate::selectionImageRect to IWebViewPrivate::selectionRect.
8859 Rubber stamped by Adam Roben.
8861 * Interfaces/IWebViewPrivate.idl:
8863 (WebView::selectionRect):
8866 2007-11-30 Ada Chan <adachan@apple.com>
8868 <rdar://problem/5621373> Added a way for the client to clear undo/redo
8869 operations from a WebView.
8873 * Interfaces/IWebViewPrivate.idl:
8875 (WebView::clearUndoRedoOperations):
8878 2007-11-29 Anders Carlsson <andersca@apple.com>
8882 Add an IWebFrameLoadDelegate2 interface with a didClearWindowObject method
8883 that passes in the frame whose window has been cleared. This matches a newly
8884 added delegate method on the Mac.
8886 * Interfaces/IWebFrameLoadDelegate.idl:
8888 (WebFrame::windowObjectCleared):
8890 2007-11-29 Kevin McCullough <kmccullough@apple.com>
8894 - <rdar://5618976> Drosera: should listen for the WebScriptDebugServer
8895 dying and vice versa.
8897 * Interfaces/IWebScriptDebugListener.idl: Added the new function to the
8899 * WebKit.vcproj/WebKit.def: Added the new function to the def file so
8900 Safari can tell WebKit when the server is dying.
8901 * WebKit.vcproj/WebKit_debug.def: Ditto.
8902 * WebKitDLL.cpp: Added the new function for Safari to call.
8904 (LocalServerDidDie):
8905 * WebScriptDebugServer.cpp:
8906 (WebScriptDebugServer::WebScriptDebugServer): Removed unused member.
8907 (WebScriptDebugServer::sharedWebScriptDebugServer): Ditto, and added new
8908 member to prevent adding or removing listeners when the server is dying.
8909 (WebScriptDebugServer::addListener): Don't let new listeners be added
8910 when the server is dying.
8911 (WebScriptDebugServer::removeListener): Don't let listeners remove
8912 themselves when the server is dying. The server will remove them all
8914 (WebScriptDebugServer::serverDidDie): Notify all listeners that the
8915 server is dying and remove all listeners.
8916 * WebScriptDebugServer.h: Added the new method and removed an unused
8919 2007-11-29 Brady Eidson <beidson@apple.com>
8921 Build fix that works...?
8923 * WebChromeClient.h:
8925 2007-11-29 Brady Eidson <beidson@apple.com>
8929 * WebChromeClient.cpp:
8930 (WebChromeClient::requestQuotaIncreaseForNewDatabase):
8931 (WebChromeClient::requestQuotaIncreaseForDatabaseOperation):
8933 2007-11-29 Brady Eidson <beidson@apple.com>
8935 Keep it building with new client method
8937 * WebChromeClient.cpp:
8938 (ChromeClient::requestQuotaIncreaseForNewDatabase):
8939 (ChromeClient::requestQuotaIncreaseForDatabaseOperation):
8940 * WebChromeClient.h:
8942 2007-11-29 Dan Bernstein <mitz@apple.com>
8944 Reviewed by Beth Dakin and Darin Adler.
8946 - fix <rdar://problem/5346394> Contextmenu event doesn't fire on body element inside frame
8949 (WebView::handleContextMenuEvent): Send the context menu event to the
8950 frame containing the node that was hit.
8952 2007-11-28 Kevin McCullough <kmccullough@apple.com>
8956 - Added guards to the wait loop so execution would not hang and now the
8957 console window can process JavaScript.
8959 * WebScriptDebugServer.cpp:
8960 (WebScriptDebugServer::suspendProcessIfPaused):
8962 2007-11-28 Anders Carlsson <andersca@apple.com>
8966 Implement the last bits of the WebDatabaseManager API.
8968 * Interfaces/IWebDatabaseManager.idl:
8969 * WebDatabaseManager.cpp:
8971 (WebDatabaseManager::sharedWebDatabaseManager):
8972 (WebDatabaseManager::dispatchDidModifyOrigin):
8973 (WebDatabaseManager::dispatchDidModifyDatabase):
8974 * WebDatabaseManager.h:
8976 2007-11-28 Anders Carlsson <andersca@apple.com>
8978 Get Drosera working again for real.
8983 2007-11-27 Kevin McCullough <kmccullough@apple.com>
8985 Reviewed by Maciej and Adam.
8987 - Added Drosera to the WebKit project.
8989 * WebKit.vcproj/WebKit.sln:
8991 2007-11-27 Jon Honeycutt <jhoneycutt@apple.com>
8995 Return bool from registerWebViewWindowClass, as nothing uses the ATOM.
8996 Set haveRegisteredWindowClass to true
8999 (registerWebViewWindowClass):
9001 2007-11-27 Anders Carlsson <andersca@apple.com>
9003 Speculative fix to get Drosera working.
9007 Update the number of elements fetched correctly.
9009 2007-11-27 Anders Carlsson <andersca@apple.com>
9015 * CFDictionaryPropertyBag.cpp:
9016 (CFDictionaryPropertyBag::QueryInterface):
9017 * CFDictionaryPropertyBag.h:
9018 * WebBackForwardList.cpp:
9019 (WebBackForwardList::addItem):
9020 (WebBackForwardList::removeItem):
9022 (WebDownload::initWithRequest):
9024 (WebFrame::loadRequest):
9025 (WebFrame::initWithWebFrameView):
9026 (WebFrame::webHistory):
9027 (WebFrame::dispatchWillSendRequest):
9028 * WebURLAuthenticationChallenge.cpp:
9029 (WebURLAuthenticationChallenge::QueryInterface):
9030 (WebURLAuthenticationChallenge::initWithProtectionSpace):
9031 * WebURLAuthenticationChallenge.h:
9032 * WebURLAuthenticationChallengeSender.cpp:
9033 (WebURLAuthenticationChallengeSender::QueryInterface):
9034 * WebURLAuthenticationChallengeSender.h:
9035 * WebURLResponse.cpp:
9036 (WebURLResponse::QueryInterface):
9039 (WebView::notifyDidAddIcon):
9040 (WebView::goToBackForwardItem):
9041 (WebView::canHandleRequest):
9042 (WebView::loadBackForwardListFromOtherView):
9045 2007-11-27 Anders Carlsson <andersca@apple.com>
9047 Add COMEnumVariant.h to the project.
9049 * WebKit.vcproj/WebKit.vcproj:
9051 2007-11-27 Anders Carlsson <andersca@apple.com>
9055 Return E_INVALIDARG if the databaseName BSTR is null.
9057 * WebDatabaseManager.cpp:
9058 (WebDatabaseManager::detailsForDatabaseWithOrigin):
9059 (WebDatabaseManager::deleteDatabaseWithOrigin):
9061 2007-11-27 Anders Carlsson <andersca@apple.com>
9065 Implement the rest of the WebDatabaseManager API.
9068 * Interfaces/IWebDatabaseManager.idl:
9069 * WebDatabaseManager.cpp:
9071 (DatabaseDetailsPropertyBag::DatabaseDetailsPropertyBag):
9072 (DatabaseDetailsPropertyBag::~DatabaseDetailsPropertyBag):
9073 (DatabaseDetailsPropertyBag::createInstance):
9074 (DatabaseDetailsPropertyBag::AddRef):
9075 (DatabaseDetailsPropertyBag::Release):
9076 (DatabaseDetailsPropertyBag::QueryInterface):
9077 (DatabaseDetailsPropertyBag::Read):
9078 (DatabaseDetailsPropertyBag::Write):
9079 (WebDatabaseManager::detailsForDatabaseWithOrigin):
9080 (WebDatabaseManager::deleteAllDatabases):
9081 (WebDatabaseManager::deleteDatabasesWithOrigin):
9082 (WebDatabaseManager::deleteDatabaseWithOrigin):
9083 * WebDatabaseManager.h:
9085 2007-11-27 Ada Chan <adachan@apple.com>
9087 <rdar://problem/5616098> The BSTR returned by WebHistoryItem::alternateTitle
9088 was not allocated correctly.
9092 * WebHistoryItem.cpp:
9093 (WebHistoryItem::setAlternateTitle):
9094 (WebHistoryItem::alternateTitle):
9097 2007-11-27 Anders Carlsson <andersca@apple.com>
9101 Use COMEnumVariant in WebScriptCallFrame and WebScriptScope.
9103 * WebScriptCallFrame.cpp:
9104 (WebScriptCallFrame::scopeChain):
9105 * WebScriptScope.cpp:
9106 (WebScriptScope::variableNames):
9108 2007-11-27 Anders Carlsson <andersca@apple.com>
9112 Use the correct include paths.
9116 2007-11-27 Anders Carlsson <andersca@apple.com>
9118 Reviewed by Darin Adler.
9120 Add COMEnumVariant, a templatized class with implements IEnumVARIANT and lets
9121 you enumerate over a C++ container, be it WTF or STL.
9123 * COMEnumVariant.h: Added.
9125 * WebDatabaseManager.cpp:
9126 (WebDatabaseManager::origins):
9127 (WebDatabaseManager::databasesWithOrigin):
9128 Implement these using COMEnumVariant.
9130 * WebSecurityOrigin.cpp:
9131 (WebSecurityOrigin::QueryInterface):
9132 * WebSecurityOrigin.h:
9133 Add a UUID for the implementation so that other parts of WebKit can access
9134 the WebCore::SecurityOriginData object.
9136 2007-11-26 Adam Roben <aroben@apple.com>
9138 Take advantage of the new Color constructor that takes a CGColorRef
9140 This lets us handle grayscale colors (which only have 2 components).
9142 Reviewed by Darin Adler.
9144 * WebKitGraphics.cpp:
9147 2007-11-26 Steve Falkenburg <sfalken@apple.com>
9151 * WebKit.vcproj/WebKit.make:
9153 2007-11-26 Steve Falkenburg <sfalken@apple.com>
9157 * WebKit.vcproj/build-generated-files.sh:
9159 2007-11-26 Steve Falkenburg <sfalken@apple.com>
9163 * WebKit.vcproj/build-generated-files.sh:
9165 2007-11-26 Anders Carlsson <andersca@apple.com>
9169 Add an implementation of IWebSecurityOrigin and a partially stubbed out
9170 implementation of IWebDatabaseManager.
9173 * Interfaces/IWebDatabaseManager.idl:
9174 * Interfaces/WebKit.idl:
9175 * WebDatabaseManager.cpp:
9176 (WebDatabaseManager::createInstance):
9177 (WebDatabaseManager::WebDatabaseManager):
9178 (WebDatabaseManager::~WebDatabaseManager):
9179 (WebDatabaseManager::QueryInterface):
9180 (WebDatabaseManager::AddRef):
9181 (WebDatabaseManager::Release):
9182 (WebDatabaseManager::sharedWebDatabaseManager):
9183 (WebDatabaseManager::origins):
9184 (WebDatabaseManager::databasesWithOrigin):
9185 (WebDatabaseManager::detailsForDatabaseWithOrigin):
9186 (WebDatabaseManager::deleteAllDatabases):
9187 (WebDatabaseManager::deleteDatabasesWithOrigin):
9188 (WebDatabaseManager::deleteDatabaseWithOrigin):
9189 * WebDatabaseManager.h:
9190 * WebKit.vcproj/WebKit.vcproj:
9191 * WebKitClassFactory.cpp:
9192 * WebSecurityOrigin.cpp: Added.
9193 (WebSecurityOrigin::createInstance):
9194 (WebSecurityOrigin::WebSecurityOrigin):
9195 (WebSecurityOrigin::~WebSecurityOrigin):
9196 (WebSecurityOrigin::QueryInterface):
9197 (WebSecurityOrigin::AddRef):
9198 (WebSecurityOrigin::Release):
9199 (WebSecurityOrigin::protocol):
9200 (WebSecurityOrigin::domain):
9201 (WebSecurityOrigin::port):
9202 (WebSecurityOrigin::usage):
9203 (WebSecurityOrigin::quota):
9204 (WebSecurityOrigin::setQuota):
9205 * WebSecurityOrigin.h: Added.
9207 2007-11-26 Kevin McCullough <kmccullough@apple.com>
9211 - Implemented displaying variables for Drosera on Win.
9213 * Interfaces/IWebScriptCallFrame.idl: Added a local function to be
9214 able to access the WebScriptCallFrame.
9215 * Interfaces/IWebScriptScope.idl: Implemented.
9216 * Interfaces/WebKit.idl: Added WebScriptScope to the tlb.
9217 * WebKit.vcproj/Interfaces.vcproj:
9218 * WebScriptCallFrame.cpp: Implemented the helper and accessor methods.
9219 (EnumScopes::Next): Fixed a bug where we did not release correctly and
9220 would accidentally destroy scopes.
9221 (WebScriptCallFrame::stringByEvaluatingJavaScriptFromString):
9223 (WebScriptCallFrame::valueByEvaluatingJavaScriptFromString): Implemented
9224 * WebScriptCallFrame.h: Implemented the helper and accessor methods.
9225 (WebScriptCallFrame::impl):
9226 (WebScriptCallFrame::state):
9227 * WebScriptScope.cpp: Implmented.
9228 (EnumVariables::EnumVariables): Created an IEnumVariant over the
9229 variables to be able to pass a DCOM acceptable structure back to
9231 (EnumVariables::createInstance):
9232 (EnumVariables::QueryInterface):
9233 (EnumVariables::AddRef):
9234 (EnumVariables::Release):
9235 (EnumVariables::Next):
9236 (EnumVariables::Skip):
9237 (EnumVariables::Reset):
9238 (EnumVariables::Clone):
9239 (WebScriptScope::WebScriptScope):
9240 (WebScriptScope::createInstance): Implemented.
9241 (WebScriptScope::variableNames): Implemented.
9242 (WebScriptScope::valueForVariable):
9243 * WebScriptScope.h: Implmeneted.
9245 2007-11-26 Anders Carlsson <andersca@apple.com>
9249 Add IWebDatabaseManager and IWebSecurityOrigin interfaces.
9251 * Interfaces/IWebDatabaseManager.idl: Added.
9252 * Interfaces/IWebSecurityOrigin.idl: Added.
9253 * WebKit.vcproj/Interfaces.vcproj:
9254 * WebKit.vcproj/WebKitGUID.vcproj:
9256 2007-11-26 Alice Liu <alice.liu@apple.com>
9258 Reviewed by Jon Honeycutt.
9260 Fall back to the default Policy Delegate in these functions,
9261 as is already done in dispatchDecidePolicyForNavigationAction
9264 (WebFrame::dispatchDecidePolicyForMIMEType):
9265 (WebFrame::dispatchDecidePolicyForNewWindowAction):
9266 (WebFrame::dispatchUnableToImplementPolicy):
9268 2007-11-25 Adam Roben <aroben@apple.com>
9270 Fix a leak pointed out by Alexey
9273 (getUpdateRects): Use a Vector<unsigned char>, since OwnPtr doesn't
9274 know to call delete[].
9276 2007-11-25 Adam Roben <aroben@apple.com>
9278 Fix Bug 16138: Reduce code duplication in WebView.cpp
9280 http://bugs.webkit.org/show_bug.cgi?id=16138
9285 (getUpdateRects): Factored code out of updateBackingStore and paint
9286 into this new helper function.
9287 (WebView::updateBackingStore): Use getUpdateRects.
9288 (WebView::paint): Ditto.
9289 (WebView::paintIntoBackingStore): Changed to take a const IntRect&.
9290 (WebView::paintIntoWindow): Ditto.
9293 2007-11-25 Adam Roben <aroben@apple.com>
9295 Add ImageDiff.vcproj to WebKit.sln
9299 * WebKit.vcproj/WebKit.sln:
9301 2007-11-17 Timothy Hatcher <timothy@apple.com>
9303 Reviewed by Mark Rowe.
9305 Bug 13470: i18n: The Web Inspector is not localizable
9306 http://bugs.webkit.org/show_bug.cgi?id=13470
9308 * English.lproj/Localizable.strings: Updated.
9309 * WebInspectorClient.cpp:
9310 (WebInspectorClient::localizedStringsURL): Empty stub.
9311 * WebInspectorClient.h: Added localizedStringsURL.
9313 2007-11-17 Alexey Proskuryakov <ap@webkit.org>
9318 (WebView::deleteSelection): Use canSmartCopyOrDelete() directly.
9320 2007-11-14 Adam Roben <aroben@apple.com>
9322 Change Interfaces to be a "Static Library" project
9324 Being a Utility project meant that Interfaces was rebuilding every
9325 time (Utility projects are supposed to handle their own dependencies).
9326 Interfaces isn't really a static library, but it means that VS will
9327 handle dependencies for us (and not complain about missing manifests
9328 like it did when the project was an Application).
9330 * WebKit.vcproj/Interfaces.vcproj:
9332 2007-11-14 Adam Roben <aroben@apple.com>
9334 Shut up FixMIDLHeaders.pl
9336 * WebKit.vcproj/FixMIDLHeaders.pl:
9338 2007-11-14 Adam Roben <aroben@apple.com>
9340 Change Interfaces to use a Utility configuration
9342 It had previously been marked as an "Application (.exe)", which is
9343 wrong but worked with most versions of Visual Studio.
9345 Rubberstamped by Steve.
9347 * WebKit.vcproj/Interfaces.vcproj:
9349 2007-11-14 Anders Carlsson <andersca@apple.com>
9353 Get the new focus window from the wParam instead of calling GetFocus().
9354 Also, send blur even if there is no focused frame.
9359 2007-11-14 Adam Roben <aroben@apple.com>
9361 Another build fix for systems without Cygwin in their PATH
9363 * WebKit.vcproj/Interfaces.vcproj: Add Cygwin to the PATH in the
9366 2007-11-13 Kevin McCullough <kmccullough@apple.com>
9370 - Make Drosera show source, source URLs, and function stack on Windows
9371 and some minor fixes.
9373 * WebScriptCallFrame.cpp: Fixed a bug where the callFrame was not reffed
9374 properly before being returned, and changed functionName() to check for
9375 Null or if the name is empty.
9376 (EnumScopes::Clone):
9377 (WebScriptCallFrame::WebScriptCallFrame):
9378 (WebScriptCallFrame::createInstance):
9379 (WebScriptCallFrame::caller):
9380 (WebScriptCallFrame::functionName):
9381 * WebScriptCallFrame.h: Ditto
9382 * WebScriptDebugServer.cpp: Made the listenerSet static since we were
9383 already treating it as if it were. Removed the EnumViews stuff. This
9384 was added by Steve to demonstrate DCOM and he thought it would be needed
9385 by Drosera, but I don't believe it will be.
9386 Implemented suspendProcessIfPaused() also added calls to it at the end
9387 of several functions to ensure we pause if Drosera has told WebKit to.
9388 (WebScriptDebugServer::WebScriptDebugServer):
9389 (WebScriptDebugServer::sharedWebScriptDebugServer):
9390 (WebScriptDebugServer::addListener):
9391 (WebScriptDebugServer::removeListener):
9392 (WebScriptDebugServer::suspendProcessIfPaused):
9393 (WebScriptDebugServer::didLoadMainResourceForDataSource):
9394 (WebScriptDebugServer::didParseSource):
9395 (WebScriptDebugServer::failedToParseSource):
9396 (WebScriptDebugServer::didEnterCallFrame):
9397 (WebScriptDebugServer::willExecuteStatement):
9398 (WebScriptDebugServer::willLeaveCallFrame):
9399 (WebScriptDebugServer::exceptionWasRaised):
9400 * WebScriptDebugServer.h: Ditto.
9401 * WebScriptDebugger.cpp: The important change here is that leaveFrame()
9402 is called before willLeaveCallFrame(). I think there is some EOL stuff
9404 - It was the implementing of these functions that allows source, the
9405 source URLs and function stack to be displayed.
9406 (WebScriptDebugger::callEvent):
9407 (WebScriptDebugger::atStatement):
9408 (WebScriptDebugger::returnEvent):
9409 (WebScriptDebugger::exception):
9410 (WebScriptDebugger::enterFrame):
9411 (WebScriptDebugger::leaveFrame):
9412 * WebView.cpp: Removed the EnumView functions.
9414 (WebView::~WebView):
9416 2007-11-13 Adam Roben <aroben@apple.com>
9418 Fix <rdar://5346832> Infinite recursion when opening Web Inspector on more than one tab
9420 The bug was that multiple WebNodeHighlights would subclass the same
9421 browser window, leading to infinite recursion within
9424 WebNodeHighlight is now a WindowMessageListener, and lets
9425 WindowMessageBroadcaster handle subclassing the window.
9429 * WebNodeHighlight.cpp:
9430 (WebNodeHighlight::WebNodeHighlight): Initialize m_observedWindow
9432 (WebNodeHighlight::~WebNodeHighlight): Unregister as a listener for
9434 (WebNodeHighlight::highlight): Register as a listener.
9435 (WebNodeHighlight::windowReceivedMessage): Do the work that used to be
9436 done in SubclassedWndProc.
9437 * WebNodeHighlight.h: Made WebNodeHighlight a WindowMessageListener,
9438 and renamed m_subclassedWindow to m_observedWindow.
9440 2007-11-13 Adam Roben <aroben@apple.com>
9442 Build fix for systems that don't have Cygwin in their PATH
9444 * WebKit.vcproj/Interfaces.vcproj: Put Cygwin in the PATH before
9447 2007-11-13 Steve Falkenburg <sfalken@apple.com>
9449 Add IDOMElementPrivate::font() to get an element's font
9450 as a WebFontDescription.
9452 Reviewed by Darin Adler.
9454 * DOMCoreClasses.cpp:
9457 * Interfaces/DOMPrivate.idl:
9459 2007-11-12 Adam Roben <aroben@apple.com>
9463 * WebKit.vcproj/WebKit.def: Export fastZeroedMalloc.
9464 * WebKit.vcproj/WebKit_debug.def: Ditto.
9466 2007-11-09 Jon Honeycutt <jhoneycutt@apple.com>
9470 <rdar://5585900>: Safari crashes when selected in context menu to open
9471 audio format files (au, aif) with QT 7.3
9473 The crash occurred on a machine where QT 7.3 was failing to initialize.
9474 The fix is to avoid sending streams to full-page plugins that've failed
9478 (WebFrame::finishedLoading): Check plugin status before calling manual
9480 (WebFrame::setMainDocumentError): Same
9481 (WebFrame::committedLoad): Same
9483 2007-11-09 Sam Weinig <sam@webkit.org>
9485 Rubber stamped by Oliver.
9487 Make WebCore a dependency of Interfaces.
9489 * WebKit.vcproj/WebKit.sln:
9491 2007-11-04 Sam Weinig <sam@webkit.org>
9493 Reviewed by Adam Roben.
9495 <rdar://problem/5435940>
9496 The COM bindings for the DOM should be autogenerated like the other DOM bindings
9498 Initial commit of the autogeneration of the COM DOM Bindings. No behavior change
9499 is being introduced in this patch and to insure that no conflicts arise, a temporary
9500 prefix of "GEN_" has been used for all the new classes.
9502 The build architecture for these bindings differs slightly from the other autogenerated
9503 bindings. Instead of building in WebCore and migrating the resuting code to WebKit (as
9504 is done for the Objective-C bindigs currently), the IDLs and generation scripts are
9505 migrated to WebKit and built there. This is done with a series of scripts and Makefiles.
9507 This commit includes:
9508 - Hand rolled root class/Interface GEN_DOMObject used to facilated object creation
9510 - Generating all of the Core DOM and most of HTML and CSS
9511 - Generating Event, EventTarget, and EventListener
9513 * DOMCreateInstance.cpp: Added.
9518 (GEN_DOMNode::createInstance):
9519 (GEN_DOMImplementation::createInstance):
9520 (GEN_DOMCSSRule::createInstance):
9521 (GEN_DOMStyleSheet::createInstance):
9522 (GEN_DOMCSSValue::createInstance):
9523 * DOMCreateInstance.h: Added.
9524 Temporary location for createInstance/object caching methods. This will be broken up
9525 into seperate files in the near future.
9527 * GEN_DOMObject.cpp: Added.
9528 (GEN_DOMObject::GEN_DOMObject):
9529 (GEN_DOMObject::~GEN_DOMObject):
9530 (GEN_DOMObject::QueryInterface):
9531 (GEN_DOMObject::AddRef):
9532 (GEN_DOMObject::Release):
9533 * GEN_DOMObject.h: Added.
9534 Hand rolled base class.
9536 * Interfaces/IGEN_DOMObject.idl: Added.
9537 Hand rolled base interface.
9539 * WebKit.vcproj/DerivedSources.make: Added.
9540 * WebKit.vcproj/FixMIDLHeaders.pl: Added.
9541 This script is required because MIDL is producing un-buildable code due to
9542 circular dependencies.
9544 * WebKit.vcproj/Interfaces.vcproj:
9545 * WebKit.vcproj/WebKit.vcproj:
9546 * WebKit.vcproj/WebKitGUID.vcproj:
9547 * WebKit.vcproj/build-generated-files.sh: Added.
9549 2007-11-08 Kevin McCullough <kmccullough@apple.com>
9553 - This patch does two main things.
9554 1) It adds pragma warning guards around WebCore includes in WebKit files
9555 that were previously overlooked.
9556 2) It implements almost the entireity of WebScriptDebugger. Only one
9557 function remains and that implementation is dependent on finishing the
9558 implementation of WebScriptScope.
9560 * WebScriptCallFrame.h:
9561 * WebScriptDebugServer.h:
9562 * WebScriptDebugger.cpp:
9563 (WebScriptDebugger::WebScriptDebugger):
9564 (WebScriptDebugger::sourceParsed):
9565 (WebScriptDebugger::callEvent):
9566 (WebScriptDebugger::atStatement):
9567 (WebScriptDebugger::returnEvent):
9568 (WebScriptDebugger::exception):
9569 (WebScriptDebugger::enterFrame):
9570 (WebScriptDebugger::leaveFrame):
9571 * WebScriptDebugger.h:
9573 2007-11-08 Steve Falkenburg <sfalken@apple.com>
9575 <rdar://problem/5491463> Wrong dates shown in History menu.
9577 Fix off-by-one error in Windows epoch.
9579 For the Windows DATE type, 1/1/1900 should be 2.0, not 1.0.
9580 DATE is the number of days since 12/30/1899.
9584 * MarshallingHelpers.cpp:
9585 (MarshallingHelpers::windowsEpochAbsoluteTime):
9587 2007-11-08 Kevin McCullough <kmccullough@apple.com>
9591 - With this change Drosera can now get the source of a website and the
9592 listings of the sources it gets. This also lays the foundation for
9593 letting Drosera show the scope chain of the JavaScript stack.
9595 * Interfaces/IWebFrame.idl: Changed the signature of the local function,
9596 globalContext(), because COM was unable to marshal this object with the
9598 * Interfaces/IWebScriptDebugServer.idl: Of course adding and removing
9599 a listener cannot be done in a const function.
9600 * WebChromeClient.h: Added accessor to the WebView for the new added
9601 kit() function in WebFrame.
9602 (WebChromeClient::webView):
9603 * WebFrame.cpp: Added a script debugger object and the necessary
9604 functions to attach and communicate with it. Also needed to change the
9605 local function, globalContext(), because of a COM issue.
9607 (WebFrame::WebFrame):
9608 (WebFrame::globalContext):
9609 (WebFrame::loadData):
9610 (WebFrame::attachScriptDebugger):
9611 (WebFrame::detachScriptDebugger):
9612 (WebFrame::dispatchDidLoadMainResource):
9613 (WebFrame::windowObjectCleared):
9614 * WebFrame.h: Ditto.
9615 * WebHTMLRepresentation.cpp: Implemented documentSource so Drosera has
9616 some source code to display.
9617 (WebHTMLRepresentation::WebHTMLRepresentation):
9618 (WebHTMLRepresentation::documentSource):
9619 * WebKit.vcproj/WebKit.vcproj: Added the new WebScriptDebugger class.
9620 * WebScriptCallFrame.cpp: Implemented much of this class' functionality.
9621 (EnumScopes::EnumScopes): Made an EnumScopes class to create an
9622 IEnumVARIANT to wrap a ScopeChain for Drosera.
9623 (EnumScopes::QueryInterface):
9624 (EnumScopes::AddRef):
9625 (EnumScopes::Release):
9628 (EnumScopes::Reset):
9629 (EnumScopes::Clone):
9630 (WebScriptCallFrame::caller):
9631 (WebScriptCallFrame::scopeChain):
9632 (WebScriptCallFrame::functionName):
9633 (WebScriptCallFrame::stringByEvaluatingJavaScriptFromString):
9634 * WebScriptCallFrame.h: Added member data needed for the above functions
9635 * WebScriptDebugServer.cpp: Began implementing.
9636 (WebScriptDebugServer::listenerCount):
9637 (EnumViews::QueryInterface):
9638 (EnumViews::AddRef):
9639 (EnumViews::Release):
9644 (WebScriptDebugServer::WebScriptDebugServer):
9645 (WebScriptDebugServer::createInstance):
9646 (WebScriptDebugServer::sharedWebScriptDebugServer):
9647 (WebScriptDebugServer::AddRef):
9648 (WebScriptDebugServer::Release):
9649 (WebScriptDebugServer::addListener):
9650 (WebScriptDebugServer::removeListener):
9651 (WebScriptDebugServer::step):
9652 (WebScriptDebugServer::pause):
9653 (WebScriptDebugServer::resume):
9654 (WebScriptDebugServer::isPaused):
9655 (WebScriptDebugServer::suspendProcessIfPaused):
9656 (WebScriptDebugServer::didLoadMainResourceForDataSource):
9657 (WebScriptDebugServer::didParseSource):
9658 (WebScriptDebugServer::failedToParseSource):
9659 (WebScriptDebugServer::didEnterCallFrame):
9660 (WebScriptDebugServer::willExecuteStatement):
9661 (WebScriptDebugServer::willLeaveCallFrame):
9662 (WebScriptDebugServer::exceptionWasRaised):
9663 * WebScriptDebugServer.h: Began implementing.
9664 * WebScriptDebugger.cpp: Added.
9665 (WebScriptDebugger::WebScriptDebugger):
9666 (WebScriptDebugger::sourceParsed):
9667 * WebScriptDebugger.h: Added.
9668 * WebScriptScope.cpp: Make this class use createInstance which is more
9669 in line with our guidelines.
9670 (WebScriptScope::WebScriptScope):
9671 (WebScriptScope::createInstance):
9675 2007-11-07 Darin Adler <darin@apple.com>
9679 * Interfaces/IWebUIDelegate.idl: Added the functions needed below.
9680 * WebChromeClient.cpp:
9681 (WebChromeClient::setMenubarVisible): Eliminated the notImplemented()
9682 here by calling through the UI delegate.
9683 (WebChromeClient::menubarVisible): Ditto.
9684 (WebChromeClient::runDatabaseSizeLimitPrompt): Ditto.
9686 2007-11-07 Steve Falkenburg <sfalken@apple.com>
9688 Added IWebDocumentText available via QI from WebFrame.
9693 (WebFrame::QueryInterface): Added IID_IWebDocumentText.
9694 (WebFrame::supportsTextEncoding): Stubbed out.
9695 (WebFrame::selectedString): Implemented.
9696 (WebFrame::selectAll): Stubbed out.
9697 (WebFrame::deselectAll): Stubbed out.
9700 2007-11-07 Adam Roben <aroben@apple.com>
9702 Fix <rdar://5569268> Crash when opening any FTP site in second tab/window
9707 (WebView::initWithFrame): Set the ftpDirectoryTemplatePath for every
9708 Page, not just the first one.
9710 2007-11-06 Adam Roben <aroben@apple.com>
9712 Change WebLocalizableStrings to take UTF-8 C strings
9714 This matches the way things work on the Mac, and will allow source
9715 files containing localizable strings to be shared between Mac and
9716 Windows. The old functions have not been removed for compatibility
9717 reasons, but are now just wrappers around the new UTF-8 functions.
9721 * WebKit.vcproj/WebKit.def: Added new functions.
9722 * WebKit.vcproj/WebKit_debug.def: Ditto.
9723 * WebLocalizableStrings.cpp:
9724 (copyLocalizedStringFromBundle): Changed to take a WebCore::String
9725 representing the key.
9726 (localizedString): Refactored from WebLocalizedString. Takes a
9727 WebCore::String representing the key.
9728 (localizedLPCTSTR): Ditto for WebLocalizedLPCTSTR.
9729 (WebLocalizedStringUTF8): Added. Takes a UTF-8 C string as the key.
9730 (WebLocalizedLPCTSTRUTF8): Ditto.
9731 (WebLocalizedString): Changed to call localizedString.
9732 (WebLocalizedLPCTSTR): Changed to call localizedLPCTSTR.
9733 * WebLocalizableStrings.h: Changed macros to use the new UTF-8
9736 2007-11-06 Darin Adler <darin@apple.com>
9738 Reviewed by Adam and Steve.
9740 - added hooks needed to implement showModalDialog on Windows
9742 * Interfaces/IWebUIDelegate.idl: Added canRunModal, createModalDialog,
9743 and runModal functions to the end of IWebUIDelegate3.
9745 * WebChromeClient.h: Added uiDelegate and uiDelegate2 helper functions,
9746 so it's easier to write client functions.
9747 * WebChromeClient.cpp:
9748 (WebChromeClient::createWindow): Implemented dialog case. Calls IWebUIDelegate3.
9749 (WebChromeClient::canRunModal): Implemented. Calls IWebUIDelegate3.
9750 (WebChromeClient::runModal): Ditto.
9751 (WebChromeClient::uiDelegate): Added.
9752 (WebChromeClient::uiDelegate2): Added.
9753 (WebChromeClient::uiDelegate3): Added.
9755 2007-11-06 Alexey Proskuryakov <ap@webkit.org>
9757 Rubber-stamped by Adam Roben.
9762 (WebFrame::string): plainText() returns a String now.
9764 2007-11-05 Ada Chan <adachan@apple.com>
9766 <rdar://problem/5579772> Regression: AltGr does not work
9767 Testing whether alt-key is down is not the right test for system key event.
9768 Added a m_isSystemKey flag in PlatformKeyboardEvent to keep track of whether
9769 this is a system key event, check that flag instead in handleEditingKeyboardEvent().
9775 (WebView::handleEditingKeyboardEvent):
9780 2007-11-05 Ada Chan <adachan@apple.com>
9784 Reviewed by Tristan.
9786 * WebChromeClient.h:
9788 2007-11-05 Tristan O'Tierney <tristan@apple.com>
9790 Reviewed by Darin Adler.
9792 Part of the WebKit/WebCore API changes for
9793 <rdar://problem/5368188>
9795 * WebChromeClient.cpp:
9796 (WebChromeClient::createWindow):
9797 Removed usage of createModalDialog and revised to use new createWindow
9800 2007-11-04 Adam Roben <aroben@apple.com>
9802 Add IWebCache::disabled
9804 This matches the Mac WebCache class.
9808 * Interfaces/IWebCache.idl:
9810 (WebCache::disabled):
9813 2007-11-04 Adam Roben <aroben@apple.com>
9815 Add IWebInspector and a way to get one from a WebView
9817 This API matches the Mac one added in r27266.
9821 * Interfaces/IWebInspector.idl: Added.
9822 * Interfaces/IWebViewPrivate.idl: Added a new inspector method to
9824 * WebInspector.cpp: Added.
9825 (WebInspector::createInstance):
9826 (WebInspector::WebInspector):
9827 (WebInspector::~WebInspector):
9828 (WebInspector::webViewClosed):
9829 (WebInspector::QueryInterface):
9830 (WebInspector::AddRef):
9831 (WebInspector::Release):
9832 (WebInspector::show):
9833 (WebInspector::showConsole):
9834 (WebInspector::showTimeline):
9835 (WebInspector::close):
9836 (WebInspector::attach):
9837 (WebInspector::detach):
9838 * WebInspector.h: Added.
9839 * WebKit.vcproj/Interfaces.vcproj: Added IWebInspector.idl.
9840 * WebKit.vcproj/WebKit.vcproj: Added WebInspector.{cpp,h}.
9841 * WebKit.vcproj/WebKitGUID.vcproj: Added IWebInspector_i.c.
9843 (WebView::close): Notify the WebInspector that we're closing.
9844 (WebView::inspector): Added.
9847 2007-11-04 Adam Roben <aroben@apple.com>
9849 Cache strings that come directly from WebLocalizedString
9853 * WebLocalizableStrings.cpp:
9854 (copyLocalizedStringFromBundle): This used to be WebLocalizedString,
9855 but is now just a static helper function.
9856 (findCachedStringInMap): Added static helper.
9857 (findCachedString): Refactored and cleaned up code from
9858 WebLocalizedLPCTSTR.
9859 (cacheString): Ditto.
9860 (WebLocalizedString): Rewrote to use the new helper functions.
9861 (WebLocalizedLPCTSTR): Changed to use the new helper functions.
9863 2007-11-03 Adam Roben <aroben@apple.com>
9865 Only override the default user agent string if we're actually given a custom one
9870 (WebView::setCustomUserAgent):
9872 2007-11-01 Oliver Hunt <oliver@apple.com>
9876 Allow Shift, Ctrl, Alt, Meta and Capslock keys to be sent into WebCore.
9882 2007-11-01 Kevin McCullough <kmccullough@apple.com>
9884 - Fixed a build failure
9886 * WebEditorClient.cpp:
9887 (WebEditorClient::textWillBeDeletedInTextField):
9889 2007-11-01 Adam Roben <aroben@apple.com>
9891 Fix the parameter type of WebLocalizedString to match the UI_STRING macro
9895 * WebLocalizableStrings.cpp:
9896 (WebLocalizedString):
9897 (WebLocalizedLPCTSTR):
9898 * WebLocalizableStrings.h:
9900 2007-11-01 Alexey Proskuryakov <ap@webkit.org>
9902 Rubber-stamped by Adam Roben.
9904 Rolled out r27326 - debug CRT seems to cause no problems after all.
9906 * WebKit.vcproj/WebKit.vcproj:
9908 2007-10-31 Adam Roben <aroben@apple.com>
9910 Switch the Debug configuration to using the non-debug CRT
9912 The debug CRT conflicts with what Safari uses, which causes loading
9917 * WebKit.vcproj/WebKit.vcproj:
9919 2007-10-30 Kevin McCullough <kmccullough@apple.com>
9921 Reviewed by Adam and Geoff.
9923 - Added the globalContext method so Drosera can ask a WebFrame for its
9926 * Interfaces/IWebFrame.idl:
9930 2007-10-30 Adele Peterson <adele@apple.com>
9932 Reviewed by Darin Adler.
9934 WebKitWin part of fix for http://bugs.webkit.org/show_bug.cgi?id=10577
9935 <rdar://problem/5110427> REGRESSION: Caps lock icon should show in password fields
9937 * WebView.cpp: (WebView::keyDown): Call capsLockStateMayHaveChanged so WebCore knows it may have to update a password field.
9939 2007-10-29 Kevin McCullough <kmccullough@apple.com>
9941 Reviewed by Adam and Maciej.
9943 - Added the IWebScriptScope interface which is used by Drosera to get
9944 information and run contextually significant code with respect to the
9945 current JS stack frame.
9947 * Interfaces/IWebScriptCallFrame.idl: Line endings changed, not sure why
9948 but the real changes were to change the return type of scopeChain() and
9949 the return type and name of evaluateWebScript() to
9950 stringByEvaluatingJavaScriptFromString().
9951 * Interfaces/IWebScriptScope.idl: Added.
9952 * WebKit.vcproj/Interfaces.vcproj: Added the new interface.
9953 * WebKit.vcproj/WebKit.vcproj: Added the files for the new class.
9954 * WebKit.vcproj/WebKitGUID.vcproj: Added the new interfaces.
9955 * WebScriptCallFrame.cpp: Changed the return type to E_NOTIMPL and
9956 asserted so it would be obvious if I accidentally try to use one of
9957 these functions before it's implemented.
9958 (WebScriptCallFrame::caller):
9959 (WebScriptCallFrame::scopeChain):
9960 (WebScriptCallFrame::functionName):
9961 (WebScriptCallFrame::stringByEvaluatingJavaScriptFromString):
9962 * WebScriptCallFrame.h: Changed the return types mentioned above.
9963 * WebScriptDebugServer.cpp: Also changed the return type to E_NOTIMPL.
9964 (WebScriptDebugServer::addListener):
9965 (WebScriptDebugServer::removeListener):
9966 (WebScriptDebugServer::step):
9967 (WebScriptDebugServer::pause):
9968 (WebScriptDebugServer::resume):
9969 (WebScriptDebugServer::isPaused):
9970 * WebScriptScope.cpp: Added.
9971 (WebScriptScope::WebScriptScope):
9972 (WebScriptScope::~WebScriptScope):
9973 (WebScriptScope::QueryInterface):
9974 (WebScriptScope::AddRef):
9975 (WebScriptScope::Release):
9976 (WebScriptScope::getVariableNames):
9977 (WebScriptScope::getValueForVariable):
9978 * WebScriptScope.h: Added.
9980 2007-10-28 Darin Adler <darin@apple.com>
9982 - try to fix Windows build
9984 * WebKit.vcproj/WebKit.vcproj: Suppress warning 4800 (conversion to bool),
9985 since we don't want to add !! everywhere, and because HashTable.h has a
9986 conversion to bool of this type now.
9988 2007-10-27 Kevin McCullough <kmccullough@apple.com>
9992 - Stubbed out IWebScriptCallFrame for Drosera.
9994 * Interfaces/IWebScriptCallFrame.idl: Added function declarations.
9995 * WebKit.vcproj/WebKit.vcproj: Added .h/.cpp files to the project.
9996 * WebScriptCallFrame.cpp: Added.
9997 (WebScriptCallFrame::WebScriptCallFrame):
9998 (WebScriptCallFrame::~WebScriptCallFrame):
9999 (WebScriptCallFrame::createInstance):
10000 (WebScriptCallFrame::QueryInterface):
10001 (WebScriptCallFrame::AddRef):
10002 (WebScriptCallFrame::Release):
10003 (WebScriptCallFrame::caller):
10004 (WebScriptCallFrame::scopeChain):
10005 (WebScriptCallFrame::functionName):
10006 (WebScriptCallFrame::evaluateWebScript):
10007 * WebScriptCallFrame.h: Added.
10009 2007-10-26 Kevin McCullough <kmccullough@apple.com>
10011 Reviewed by Sam and Steve.
10013 - Added convenience methods for converting between BSTR and JSSTringRefs
10014 - Added WebKit_debug.def to the project.
10016 * WebKit.vcproj/WebKit.def:
10017 * WebKit.vcproj/WebKit.vcproj:
10018 * WebKit.vcproj/WebKit_debug.def:
10020 2007-10-25 Sam Weinig <sam@webkit.org>
10022 Reviewed by Adam Roben.
10024 Make debug builds run again.
10027 (WebView::notifyPreferencesChanged):
10029 2007-10-25 Sam Weinig <sam@webkit.org>
10031 Reviewed by Adam Roben.
10033 Remove JSStringRefCFHack.
10035 * WebKit.vcproj/WebKit.vcproj:
10037 2007-10-25 Sam Weinig <sam@webkit.org>
10039 Reviewed by Steve Falkenburg.
10041 Fix for <rdar://problem/5463608>
10042 Port WebKit cache model code (Windows needs a big disk cache, smarter memory cache)
10044 * Interfaces/IWebPreferences.idl:
10045 Deprecate pageCacheSize and objectCacheSize and add cacheModel/setCacheModel.
10047 * Interfaces/IWebPreferencesPrivate.idl:
10048 Add automaticallyDetectsCacheModel/setAutomaticallyDetectsCacheModel
10051 (WebFrame::didPerformFirstNavigation):
10052 Implement based on the mac version.
10054 * WebKit.vcproj/WebKit.vcproj:
10055 * WebKitSystemBits.cpp: Added.
10056 (WebMemorySize): Moved and renamed from WebPreferences.cpp
10057 (WebVolumeFreeSize): Added.
10058 * WebKitSystemBits.h: Added.
10059 * WebPreferenceKeysPrivate.h: Added WebKitCacheModelPreferenceKey.
10061 * WebPreferences.cpp:
10062 (WebPreferences::sharedStandardPreferences):
10063 (WebPreferences::WebPreferences):
10064 (WebPreferences::initializeDefaultSettings): Added default for cacheModel.
10065 (WebPreferences::webPreferencesChangedNotification):
10066 (WebPreferences::webPreferencesRemovedNotification):
10067 (WebPreferences::initWithIdentifier): Post a preferences change notification.
10068 (WebPreferences::pageCacheSize): Deprecated.
10069 (WebPreferences::objectCacheSize): Deprecated.
10070 (WebPreferences::cacheModel): Added.
10071 (WebPreferences::setCacheModel): Added.
10072 (WebPreferences::setAutomaticallyDetectsCacheModel): Added.
10073 (WebPreferences::automaticallyDetectsCacheModel): Added.
10074 (WebPreferences::willAddToWebView): Added.
10075 (WebPreferences::didRemoveFromWebView): Added.
10076 * WebPreferences.h:
10079 (PreferencesChangedOrRemovedObserver::PreferencesChangedOrRemovedObserver):
10080 (PreferencesChangedOrRemovedObserver::~PreferencesChangedOrRemovedObserver):
10081 (PreferencesChangedOrRemovedObserver::QueryInterface):
10082 (PreferencesChangedOrRemovedObserver::AddRef):
10083 (PreferencesChangedOrRemovedObserver::Release):
10084 (PreferencesChangedOrRemovedObserver::sharedInstance):
10085 (PreferencesChangedOrRemovedObserver::onNotify):
10086 (PreferencesChangedOrRemovedObserver::notifyPreferencesChanged):
10087 (PreferencesChangedOrRemovedObserver::notifyPreferencesRemoved):
10088 This singleton class updates static properties for all webviews when
10089 preferenceChange or preferenceRemoved notifications are fired for
10091 (WebView::WebView):
10092 (WebView::~WebView):
10093 (initializeStaticObservers):
10095 (WebView::addToAllWebViewsSet):
10096 (WebView::removeFromAllWebViewsSet):
10097 (WebView::setCacheModel):
10098 (WebView::cacheModel):
10099 (WebView::didSetCacheModel):
10100 (WebView::maxCacheModelInAnyInstance):
10103 (WebView::developerExtrasEnabled):
10104 (WebView::initWithFrame):
10105 (WebView::setPreferences):
10106 (WebView::preferences):
10107 (WebView::onNotify):
10108 (WebView::notifyPreferencesChanged):
10109 (updateSharedSettingsFromPreferencesIfNeeded):
10111 Match the macs behavior by using explicit postings of notifications to
10112 update the preferences.
10114 2007-10-25 Adam Roben <aroben@apple.com>
10116 Update WebKit.sln for the removal of Release dftables
10118 * WebKit.vcproj/WebKit.sln:
10120 2007-10-25 Kevin McCullough <kmccullough@apple.com>
10122 Rubber stamped by Geoff.
10124 - Stubbed out the WebScriptDebugServer methods to give Drosera something
10125 to connect to and now the signature of the interface matches the mac.
10127 * Interfaces/IWebScriptDebugServer.idl:
10128 * WebScriptDebugServer.cpp:
10129 (WebScriptDebugServer::addListener):
10130 (WebScriptDebugServer::removeListener):
10131 (WebScriptDebugServer::step):
10132 (WebScriptDebugServer::pause):
10133 (WebScriptDebugServer::resume):
10134 (WebScriptDebugServer::isPaused):
10135 * WebScriptDebugServer.h:
10137 2007-10-24 Kevin McCullough <kmccullough@apple.com>
10139 Reviewed by Darin Adler.
10141 - Renamed WebDebugProgram to WebScriptDebugServer to match the naming
10144 * Interfaces/IWebDebugProgram.idl: Removed.
10145 * Interfaces/IWebScriptDebugServer.idl: Copied from win/Interfaces/IWebDebugProgram.idl.
10146 * Interfaces/WebKit.idl:
10147 * WebDebugProgram.cpp: Removed.
10148 * WebDebugProgram.h: Removed.
10149 * WebKit.vcproj/Interfaces.vcproj:
10150 * WebKit.vcproj/WebKit.vcproj:
10151 * WebKit.vcproj/WebKitGUID.vcproj:
10152 * WebKitClassFactory.cpp:
10153 (WebKitClassFactory::CreateInstance):
10155 (RunAsLocalServer):
10156 * WebScriptDebugServer.cpp: Copied from win/WebDebugProgram.cpp.
10157 (WebScriptDebugServer::WebScriptDebugServer):
10158 (WebScriptDebugServer::~WebScriptDebugServer):
10159 (WebScriptDebugServer::createInstance):
10160 (WebScriptDebugServer::QueryInterface):
10161 (WebScriptDebugServer::AddRef):
10162 (WebScriptDebugServer::Release):
10163 (WebScriptDebugServer::viewAdded):
10164 (WebScriptDebugServer::viewRemoved):
10165 (WebScriptDebugServer::attach):
10166 (WebScriptDebugServer::detach):
10167 (WebScriptDebugServer::statistics):
10168 (WebScriptDebugServer::webViews):
10169 * WebScriptDebugServer.h: Copied from win/WebDebugProgram.h.
10171 (WebView::WebView):
10172 (WebView::~WebView):
10174 2007-10-24 Adam Roben <aroben@apple.com>
10176 Fix <rdar://5549919> Initialize the font database before any font code is invoked
10178 We initialize the database in two places:
10179 1. When instantiating WebKitClassFactory, which is guaranteed to
10180 happen before any WebView is instantiated.
10181 2. When making a WebCore::Font in WebKitGraphics.
10183 This ensures that the font database will be populated before any font
10184 code is invoked. We rely on WebCore to only populate the database
10189 * WebKitClassFactory.cpp:
10190 (WebKitClassFactory::WebKitClassFactory): Populate the font database.
10191 * WebKitGraphics.cpp:
10194 2007-10-24 Adam Roben <aroben@apple.com>
10196 Add [I]WebTextRenderer
10198 Right now this class can only be used to add private fonts for use by
10199 the running process, but will eventually be the home of the
10200 WebKitGraphics functions.
10204 * ForEachCoClass.h: Added WebTextRenderer.
10205 * Interfaces/WebKit.idl: Ditto.
10206 * WebKit.vcproj/Interfaces.vcproj: Ditto.
10207 * WebKit.vcproj/WebKit.vcproj: Ditto.
10208 * WebKit.vcproj/WebKitGUID.vcproj: Ditto.
10209 * WebKitClassFactory.cpp: Ditto.
10210 * WebTextRenderer.cpp: Added.
10211 (WebTextRenderer::createInstance):
10212 (WebTextRenderer::WebTextRenderer):
10213 (WebTextRenderer::~WebTextRenderer):
10214 (WebTextRenderer::QueryInterface):
10215 (WebTextRenderer::AddRef):
10216 (WebTextRenderer::Release):
10217 (WebTextRenderer::registerPrivateFont):
10218 * WebTextRenderer.h: Added.
10220 2007-10-24 Adam Roben <aroben@apple.com>
10222 Use FOR_EACH_COCLASS in WebKitClassFactory
10227 (WebError::createInstance): Added an overload that takes no arguments
10228 to make the macro used in WebKitClassFactory work.
10230 * WebKitClassFactory.cpp:
10231 (WebKitClassFactory::CreateInstance): Use FOR_EACH_COCLASS.
10233 2007-10-24 Adam Roben <aroben@apple.com>
10235 Put FOR_EACH_COCLASS macro into its own file and export it
10237 The macro used to be called FOR_EACH_CLASS and lived in WebKitDLL.cpp.
10238 This way we will be able to use the macro in more places that care
10239 about all WebKit's COM classes.
10243 * ForEachCoClass.h: Added.
10244 * WebKit.vcproj/WebKit.vcproj: Copy ForEachCoClass.h to
10245 WebKitOutputDir, and added it to the project.
10246 * WebKitDLL.cpp: Updated for macro rename, and changed to #undef the
10247 macros we pass to FOR_EACH_COCLASS after we're done with them.
10249 2007-10-24 Ada Chan <adachan@apple.com>
10251 <rdar://problem/5552221> REGRESSION(310A24-ToT): Shortcut key disable. (15604)
10256 (WebView::handleEditingKeyboardEvent): don't handle system key events as text input
10257 (WebView::keyDown): only remove WM_SYSCHAR message from the queue if we handle it.
10258 For WM_SYSCHAR message that we don't handle, let it stay in the queue and return
10259 false to let windows handle it.
10261 2007-10-24 Brady Eidson <beidson@apple.com>
10265 Windows portion of <rdar://5554130>
10267 Slowly introduce Windows WebKit portion of the Database API that sets the
10268 on-disk location for databases
10270 * WebDatabaseManager.cpp: Added.
10271 (WebKitSetWebDatabasesPathIfNecessary):
10272 * WebDatabaseManager.h: Added.
10274 * WebKit.vcproj/WebKit.vcproj:
10277 (WebView::initWithFrame): Call WebKitSetWebDatabasesPathIfNecessary()
10279 2007-10-24 Kevin McCullough <kmccullough@apple.com>
10281 Reviewed by Sam, Steve and Darin.
10283 - Added stubs for what will be neede to let Drosera attach to the
10284 WebKit process and debug it.
10286 * Interfaces/IWebScriptCallFrame.idl: Added.
10287 * Interfaces/IWebScriptDebugListener.idl: Added.
10288 * Interfaces/WebKit.idl:
10289 * WebKit.vcproj/Interfaces.vcproj:
10290 * WebKit.vcproj/WebKitGUID.vcproj:
10292 2007-10-23 Adam Roben <aroben@apple.com>
10294 Move safe file creation code to WebCore
10298 * WebPreferences.cpp:
10299 (preferencesPath): Made into a static helper function.
10300 (WebPreferences::save): Now calls WebCore's safeCreateFile function.
10301 (WebPreferences::load): Uses String/CString to handle the UTF-8
10303 * WebPreferences.h: Removed preferencesPath and
10304 safeCreateFileWithData.
10306 2007-10-23 Adam Roben <aroben@apple.com>
10308 Reduce code duplication by using WebCore's FileSystem functions
10312 * WebIconDatabase.cpp: Removed a now-unused function and a fixed
10314 (WebIconDatabase::init): Changed to use FileSystem functions.
10315 * WebPreferences.cpp:
10316 (WebPreferences::preferencesPath): Ditto.
10318 2007-10-23 Sam Weinig <sam@webkit.org>
10320 Make the WebNotificationCenter work with null (wildcard) and specific
10321 observed objects, matching NSNotificationCenter.
10323 - Removes the ObserverKey, ObserverHash, and ObserverKeyTraits as we now
10324 hash against the notification name only and check the object on notification
10326 - Use OwnPtr for the WebNotificationCenterPrivate member variable.
10328 Reviewed by Adam Roben.
10330 * WebNotificationCenter.cpp:
10331 (WebNotificationCenter::WebNotificationCenter):
10332 (WebNotificationCenter::~WebNotificationCenter):
10333 (WebNotificationCenter::postNotificationInternal):
10334 (WebNotificationCenter::addObserver):
10335 (WebNotificationCenter::postNotification):
10336 (WebNotificationCenter::postNotificationName):
10337 (WebNotificationCenter::removeObserver):
10338 * WebNotificationCenter.h:
10340 2007-10-23 Ada Chan <adachan@apple.com>
10342 <rdar://problem/5244261> SafariWin ignores cookie policy setting "never" in the preferences
10343 Custom WebPreferences (not the shared WebPreferences) could override the cookie accept
10344 policy setting on the default cookie storage. To fix that, I added a new method in
10345 WebView called updateGlobalSettingsFromPreferences() to handle updating the global pref
10346 options such as cookie accept policy, and it's only called to update changes from
10347 the shared WebPreferences.
10349 Use CLSID_WebPreferences and remove IID_WebPreferences.
10351 Reviewed by Darin and Adam.
10353 * WebPreferences.cpp:
10354 (WebPreferences::QueryInterface):
10355 * WebPreferences.h:
10357 (WebView::updateWebCoreSettingsFromPreferences):
10358 (WebView::updateGlobalSettingsFromPreferences):
10359 (WebView::updateSettingsFromPreferences):
10360 (WebView::developerExtrasEnabled):
10361 (WebView::initWithFrame):
10362 (WebView::onNotify):
10365 2007-10-18 Brady Eidson <beidson@apple.com>
10369 Keep windows building with new Chrome additions
10371 * WebChromeClient.cpp:
10372 * WebChromeClient.h:
10374 2007-10-18 Adam Roben <aroben@apple.com>
10376 Fix <rdar://5547784> ProgIDMacros.h should explicitly use wide strings
10380 * ProgIDMacros.h: Always use wide strings instead of relying on the
10383 2007-10-17 Adam Roben <aroben@apple.com>
10385 Fix for clean builds needed after r26683
10387 * WebView.cpp: Remove #include of non-existant file.
10389 2007-10-17 Anders Carlsson <andersca@apple.com>
10391 Update for locking primitive changes.
10393 * WebIconDatabase.cpp:
10394 (WebIconDatabase::scheduleNotificationDelivery):
10396 2007-10-16 Adam Roben <aroben@apple.com>
10398 Remove WebKitInitializer
10402 * WebKit.vcproj/WebKit.sln:
10404 2007-10-16 Adam Roben <aroben@apple.com>
10408 Reviewed by Darin Adler.
10410 * WebKit.vcproj/WebKit.sln:
10412 2007-10-16 Adam Roben <aroben@apple.com>
10414 Rename WebKit_debug.dll to WebKit.dll for the Debug configuration
10416 This is needed so that we can stop having Safari delay-load WebKit,
10417 which in turn is needed so that Maciej can land a JavaScript speedup
10418 which breaks delay-loading.
10420 Reviewed by Kevin McCullough.
10422 * WebKit.vcproj/WebKit.vcproj: Use WebKitDLLConfigSuffix for the name
10423 of our DLL and module definition file.
10424 * WebKit.vcproj/debug.vsprops: Added WebKitDLLConfigSuffix.
10425 * WebKit.vcproj/debug_internal.vsprops: Ditto.
10426 * WebKit.vcproj/release.vsprops: Ditto.
10428 2007-10-15 Jon Honeycutt <jhoneycutt@apple.com>
10432 <rdar://5530789>: REGRESSION(303-310A19): Crash opening .wma files with
10433 MediaPlayer for the first time
10435 Failure to setup the stream in PluginView::didReceiveResponse will lead,
10436 in a full-page plugin, to the main document load being cancelled. This
10437 is the case with at least two versions of Windows Media Player, which
10438 cancels the stream and brings up its own "Welcome to Windows Media
10441 As part of the main document load cancellation, m_pluginView is set to
10442 null, and the crash came from dereferencing this pointer. This patch
10446 (WebFrame::finishedLoading): Fix some typos
10447 (WebFrame::committedLoad): Added a null check
10449 2007-10-15 Alice Liu <alice.liu@apple.com>
10451 Reviewed by Sam Weinig.
10453 Fixed <rdar://5382546> layoutTestController.setCustomPolicyDelegate is unimplemented causing tests to fail
10455 * DefaultPolicyDelegate.cpp: Added.
10456 Implementation is a direct port of WebKit/DefaultDelegates/WebDefaultPolicyDelegate.m
10457 (DefaultPolicyDelegate::DefaultPolicyDelegate):
10458 (DefaultPolicyDelegate::~DefaultPolicyDelegate):
10459 (DefaultPolicyDelegate::sharedInstance):
10460 (DefaultPolicyDelegate::createInstance):
10461 (DefaultPolicyDelegate::QueryInterface):
10462 (DefaultPolicyDelegate::AddRef):
10463 (DefaultPolicyDelegate::Release):
10464 (DefaultPolicyDelegate::decidePolicyForNavigationAction):
10465 (DefaultPolicyDelegate::decidePolicyForNewWindowAction):
10466 (DefaultPolicyDelegate::decidePolicyForMIMEType):
10467 (DefaultPolicyDelegate::unableToImplementPolicyWithError):
10468 * DefaultPolicyDelegate.h: Added.
10470 (WebFrame::dispatchDecidePolicyForNavigationAction):
10471 Implemented default action
10472 * WebKit.vcproj/WebKit.vcproj:
10473 Adding files to project
10475 2007-10-12 Steve Falkenburg <sfalken@apple.com>
10477 Move pthreads up in the linker order and don't mark it for delay load.
10478 Fixes crash during regsvr32 of WebKit (currently repro if you do a spade ti).
10480 Reviewed by Darin, Ada.
10482 * WebKit.vcproj/WebKit.vcproj:
10484 2007-10-11 Steve Falkenburg <sfalken@apple.com>
10486 Delay load additional libraries to improve startup time.
10488 Reviewed by Darin, Ada.
10490 * WebKit.vcproj/WebKit.vcproj:
10492 2007-10-11 Ada Chan <adachan@apple.com>
10494 <rdar://problem/5534421>
10495 Switched to using wkGetDefaultHTTPCookieStorage() to avoid recreating CFHTTPCookieStorageRef.
10496 Removed usage of ResourceHandle::cookieStorage().
10498 Reviewed by Oliver.
10501 (WebView::updateWebCoreSettingsFromPreferences):
10502 (WebView::initWithFrame):
10504 2007-10-10 Alice Liu <alice.liu@apple.com>
10506 Reviewed by Geoff Garen.
10508 Fixed <rdar://5464402> Crash when running fast/frames/onload-remove-iframe-crash.html in DRT
10511 (WebFrame::createFrame):
10512 The crash was caused by the early destruction of the subframe. To resolve this issue,
10513 the manual deref of the child frame that occurs in between being appended to the
10514 frametree and being used in loadURLIntoChild wasn't exactly incorrect, but just needed
10515 to be moved until after loadURLIntoChild. This hasn't been a problem for other uses of
10516 child frames because this test case involves removing a child frame immediately after
10517 loading it, all in an onload handler. Even better than just moving the deref would be
10518 to change the signature of createFrame to use a RefPtr<Frame> so that a manual deref isn't
10519 necessary. This is what was done in this patch.
10521 createFrame() now returns a RefPtr instead of a raw Frame pointer.
10522 Making this change improves the way we handle frames on Windows WebKit.
10525 2007-10-05 Ada Chan <adachan@apple.com>
10527 <rdar://problem/5436617>
10528 Implement WebIconDatabase::delayDatabaseCleanup() and WebIconDatabase::allowDatabaseCleanup().
10532 * WebIconDatabase.cpp:
10533 (WebIconDatabase::delayDatabaseCleanup):
10534 (WebIconDatabase::allowDatabaseCleanup):
10536 2007-10-04 Adele Peterson <adele@apple.com>
10538 * Interfaces/IWebViewPrivate.idl: Moving setInitialFocus down to the end to avoid breaking the OpenSource build.
10540 2007-10-04 Adele Peterson <adele@apple.com>
10542 Reviewed by Darin Adler.
10544 WebKit/win part of fix for <rdar://problem/5369017> REGRESSION: Can't tab to webview that doesn't have editable content
10546 * WebView.cpp: Added setInitialFocus so the application can specify that its handing off focus to WebKit
10547 and so that it can specify the focus direction.
10548 * WebView.h: ditto.
10549 * Interfaces/IWebViewPrivate.idl: ditto.
10551 2007-10-03 Ada Chan <adachan@apple.com>
10553 <rdar://problem/5521230> Implement IWebIconDatabase::iconURLForURL in WebKit for windows
10555 Reviewed by Steve and Brady.
10557 * Interfaces/IWebIconDatabase.idl:
10558 * WebIconDatabase.cpp:
10559 (WebIconDatabase::iconURLForURL):
10560 * WebIconDatabase.h:
10562 2007-10-02 Sam Weinig <sam@webkit.org>
10564 Rubber-stamped by Adam Roben.
10566 * Interfaces/IWebPreferences.idl: Remove unnecessary comments.
10568 2007-10-02 Darin Adler <darin@apple.com>
10572 - started using the new OwnPtr everywhere we do DeleteObject
10574 * WebNodeHighlight.cpp:
10575 (WebNodeHighlight::updateWindow):
10577 (WebView::WebView):
10578 (WebView::deleteBackingStore):
10579 (WebView::ensureBackingStore):
10580 (WebView::addToDirtyRegion):
10581 (WebView::scrollBackingStore):
10582 (WebView::updateBackingStore):
10584 (WebView::paintIntoBackingStore):
10585 (WebView::paintIntoWindow):
10588 2007-10-02 Adam Roben <aroben@apple.com>
10590 Fix <rdar://5505062> WebKit's version-independent ProgIDs contain version numbers
10592 I also added a few registry keys for our version-independent ProgIDs
10593 that we were missing.
10597 * ProgIDMacros.h: Added new macros to get version-independent ProgIDs.
10598 * WebKitDLL.cpp: Use the version-independent ProgIDs in the right
10599 places, and added some new keys for version-independent ProgIDs.
10601 2007-10-02 Anders Carlsson <andersca@apple.com>
10605 Fix a bug discovered by app verifier where we would treat an LPCTSTR as a BSTR causing a crash.
10607 Also rename some protection space constants and change their values to match the mac version.
10609 * Interfaces/IWebURLAuthenticationChallenge.idl:
10610 * WebURLProtectionSpace.cpp:
10611 (WebURLProtectionSpace::initWithHost):
10612 (WebURLProtectionSpace::initWithProxyHost):
10613 (WebURLProtectionSpace::protocol):
10614 (WebURLProtectionSpace::proxyType):
10616 2007-09-29 Adam Roben <aroben@apple.com>
10618 Clean-up in preparation for <rdar://5505062> WebKit's version-independent ProgIDs contain version numbers
10622 * ProgIDMacros.h: Stringify the passed in class name.
10623 * WebKitDLL.cpp: Added a FOR_EACH_CLASS macro to ensure that our class
10624 lists stay in the right order, and updated uses of the *_PROGID macros
10625 for to take the stringification into account.
10627 2007-09-27 Kevin McCullough <kmccullough@apple.com>
10629 Reviewed by Darin Adler.
10631 - <rdar://5261371> Nothing downloaded when exporting bookmarks from iGoogle web history
10632 - 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.
10634 * HTTPHeaderPropertyBag.cpp: Added.
10635 (HTTPHeaderPropertyBag::HTTPHeaderPropertyBag):
10636 (HTTPHeaderPropertyBag::createInstance):
10637 (HTTPHeaderPropertyBag::setResponse):
10638 (HTTPHeaderPropertyBag::response):
10639 (HTTPHeaderPropertyBag::QueryInterface):
10640 (HTTPHeaderPropertyBag::AddRef):
10641 (HTTPHeaderPropertyBag::Release):
10642 (ConvertFromLPCOLESTR):
10643 (ConvertToVariant):
10644 (ConvertFromVariant):
10645 (HTTPHeaderPropertyBag::Read):
10646 (HTTPHeaderPropertyBag::Write):
10647 * HTTPHeaderPropertyBag.h: Added.
10648 * Interfaces/IWebHTTPURLResponse.idl:
10649 * WebKit.vcproj/WebKit.vcproj:
10650 * WebURLResponse.cpp:
10651 (WebURLResponse::allHeaderFields):
10652 (WebURLResponse::isAttachment):
10653 * WebURLResponse.h:
10655 2007-09-27 Ada Chan <adachan@apple.com>
10657 <rdar://problem/5507481> Added a delegate method to inform the client
10658 app that WebView has painted.
10662 * Interfaces/IWebUIDelegatePrivate.idl:
10664 (WebView::updateBackingStore):
10666 2007-09-25 Adam Roben <aroben@apple.com>
10668 Add WebKitInitializer to WebKit.sln
10672 * WebKit.vcproj/WebKit.sln: DumpRenderTree and testkjs now depend on
10675 2007-09-25 Darin Adler <darin@apple.com>
10679 - fix <rdar://problem/5095701> Download requring HTTP auth fails
10680 (progress bar forever)
10682 The functions in WebDownload relating to authentication challenges needed
10686 (WebDownload::cancelAuthenticationChallenge): Implement.
10687 (WebDownload::continueWithoutCredentialForAuthenticationChallenge): Ditto.
10688 (WebDownload::useCredential): Ditto.
10689 (WebDownload::willSendRequest): Fix storage leak by adopting request
10690 and response after creating them. Also retain the result before returning
10691 it, since that's the API contract with CFNetwork.
10692 (WebDownload::didReceiveAuthenticationChallenge): Implement.
10693 (WebDownload::didReceiveResponse): Fix storage leak by adopting response.
10694 (WebDownload::willResumeWithResponse): Ditto.
10695 (WebDownload::didFail): Ditto.
10697 * WebURLAuthenticationChallenge.h: Get rid of the IID #define,
10698 instead using __declspec(uuid). Added a sender parameter to the
10699 create function and an m_sender data member.
10700 * WebURLAuthenticationChallenge.cpp:
10701 (WebURLAuthenticationChallenge::WebURLAuthenticationChallenge): Added an
10702 explicit sender parameter so this can be used with a WebDownload, which
10703 does not involve a ResourceHandle. Later we should clean this up and not
10704 involve WebCore or ResourceHandle directly even for the non-download case.
10705 (WebURLAuthenticationChallenge::createInstance): Added an overload for the
10706 case with an explicit sender parameter.
10707 (WebURLAuthenticationChallenge::QueryInterface): Use __uuidof for the ID
10708 of this class. In general, we should move to __uuidof as much as possible
10709 and keep the separate macros to a minimum -- but we should do this for all
10710 uses of each class at one time to make sure we don't run into problems
10711 with two different UUIDs for the same class. This patch does it for three
10713 (WebURLAuthenticationChallenge::initWithProtectionSpace): Use the query
10714 constructor instead of an explicit QueryInterface for WebURLCredential.
10715 This is another class where I'm switching from CLSID/IID macros to the
10716 use of __uuidof, but in this case the use of __uuidof is implicit.
10717 (WebURLAuthenticationChallenge::initWithAuthenticationChallenge): Ditto,
10718 but for WebURLAuthenticationChallenge and WebURLAuthenticationChallengeSender.
10719 (WebURLAuthenticationChallenge::sender): Use the new m_sender member to
10720 cache the sender object and also use the one that was passed into the
10721 constructor, if any.
10723 * WebURLAuthenticationChallengeSender.h: Get rid of the IID #define,
10724 instead using __declspec(uuid). Also minimize includes and make data
10725 members private instead of protected.
10726 * WebURLAuthenticationChallengeSender.cpp:
10727 (WebURLAuthenticationChallengeSender::QueryInterface): Use __uuidof instead
10729 (WebURLAuthenticationChallengeSender::cancelAuthenticationChallenge):
10730 Use query constructor instead of QueryInterface.
10731 (WebURLAuthenticationChallengeSender::continueWithoutCredentialForAuthenticationChallenge):
10733 (WebURLAuthenticationChallengeSender::useCredential): Ditto.
10735 * WebURLCredential.cpp: (WebURLCredential::QueryInterface): Use __uuidof
10736 instead of CLSID_WebURLCredential.
10738 - tangentially-related cleanup
10741 (WebFrame::dispatchDidReceiveAuthenticationChallenge): Use the adopt
10742 constructor instead of a separate adoptRef call.
10743 (WebFrame::dispatchDidCancelAuthenticationChallenge): Ditto.
10745 2007-09-24 Brady Eidson <beidson@apple.com>
10747 Reviewed by John Sullivan
10749 Fix for <rdar://5493371> - Crash in Icon Database on Windows
10751 * WebIconDatabase.cpp:
10752 (WebIconDatabase::iconForURL): If the URL is NULL, fallback to the default icon without asking WebCore
10754 2007-09-24 Adam Roben <aroben@apple.com>
10756 Fix <rdar://5499507> FrameView will always have size (0,0) if its parent WebView is never resized
10758 Reviewed by Darin Adler.
10761 (WebView::initWithFrame): Set the main FrameView's size to the size of
10764 2007-09-21 Kevin McCullough <kmccullough@apple.com>
10766 - Fixed a syntax guideline mistake.
10768 * WebChromeClient.cpp:
10769 (WebChromeClient::scrollbarsVisible):
10771 2007-09-20 Oliver Hunt <oliver@apple.com>
10775 <rdar://problem/5487153> Korean characters are displayed as garbage with default encoding in some Korean web sites
10777 Adding support for per-localisation default character encodings on
10780 * English.lproj/Localizable.strings:
10781 * WebPreferences.cpp:
10782 (WebPreferences::initializeDefaultSettings):
10784 2007-09-20 Kevin McCullough <kmccullough@apple.com>
10786 Reviewed by Oliver.
10788 - Added the ability to ask if scrollbars are visible
10789 - <rdar://problem/5496211> scrollbarsVisible in WebChromeClient is not implemented
10791 * WebChromeClient.cpp:
10792 (WebChromeClient::scrollbarsVisible):
10794 2007-09-20 Ada Chan <adachan@apple.com>
10796 <rdar://problem/5477240> Regression: Footer is too high in print preview
10801 (WebFrame::WebFrame): initialize new data member m_pageHeight, which is the height of the page adjusted for margins.
10802 (WebFrame::computePageRects): get the height of the page adjusted for margins by passing m_pageHeight to
10803 computePageRectsForFrame().
10804 (WebFrame::spoolPages): footer rect's top is the max of the bottom of the page content and the bottom of the page
10805 minus footer height.
10808 2007-09-19 Kevin McCullough <kmccullough@apple.com>
10812 - <rdar://problem/5101991> Avril Lavigne music player comes up in a window with scrollbars
10813 - Implementing missing scrollbar functionality to allow turning off scrollbars correctly.
10815 * Interfaces/IWebFrame.idl:
10816 * Interfaces/IWebFrameView.idl:
10817 * WebChromeClient.cpp:
10818 (WebChromeClient::setScrollbarsVisible):
10820 (WebFrame::setAllowsScrolling):
10821 (WebFrame::allowsScrolling):
10822 (WebFrame::frameView):
10825 2007-09-20 Brady Eidson <beidson@apple.com>
10827 Reviewed by Dave Hyatt
10829 <rdar://problem/5245981> - No favicon shows up for cnet.com
10831 * WebIconDatabase.cpp:
10832 (WebIconDatabase::iconForURL): Call getHBITMAPOfSize
10833 (WebIconDatabase::getOrCreateDefaultIconBitmap): Ditto
10835 2007-09-19 Sam Weinig <sam@webkit.org>
10837 Rubber stamped by Adam Roben.
10839 * WebKit.vcproj/WebKit.sln: Update location of DumpRenderTree and TestNetscapePlugin
10840 to point to their new locations.
10842 2007-09-18 Brady Eidson <beidson@apple.com>
10846 Final part of <rdar://problem/5471308> - Hook up async icon database on Windows
10848 * CFDictionaryPropertyBag.cpp:
10849 (CFDictionaryPropertyBag::CFDictionaryPropertyBag): Took the opportunity to rewrite with a RetainPtr
10850 since it became available after the initial implementation
10851 (CFDictionaryPropertyBag::setDictionary):
10852 (CFDictionaryPropertyBag::dictionary): Added accessor to the CFDictionaryRef to ease use within WebKit
10853 (CFDictionaryPropertyBag::QueryInterface): Added IID_CFDictionaryPropertyBag accessor
10854 (CFDictionaryPropertyBag::Read):
10855 (CFDictionaryPropertyBag::Write):
10856 * CFDictionaryPropertyBag.h: Added IID_CFDictionaryPropertyBag
10859 (WebFrame::url): Added accessor, gets the current URL from WebCore
10860 (WebFrame::dispatchDidReceiveIcon): Calls through to the WebView
10861 (WebFrame::registerForIconNotification): Ditto
10864 * WebIconDatabase.cpp:
10865 (WebIconDatabase::iconDatabaseDidAddIconNotification):
10866 (WebIconDatabase::iconDatabaseNotificationUserInfoURLKey):
10867 (WebIconDatabase::iconDatabaseDidRemoveAllIconsNotification):
10868 (postDidRemoveAllIconsNotification):
10869 (postDidAddIconNotification):
10870 * WebIconDatabase.h:
10873 (WebView::close): Unregister for the notification, just in case
10874 (WebView::notifyDidAddIcon): Called when the webview gets the didAddIcon notification, compares the url
10875 in the notification to the current main frame URL. If they match, calls to dispatchDidReceiveIconFromWebFrame
10876 (WebView::registerForIconNotification):
10877 (WebView::dispatchDidReceiveIconFromWebFrame): Dispatches the FrameLoadDelegate call. Once the delegate call is dispatched,
10878 either via the FrameLoaderClient interface of by listening for a notification, we know that our info is up to date in the
10879 IconDatabase and we don't need to listen for the generic notification any long, so we unregister for it here, as well.
10880 (WebView::onNotify): The WebView listens for two notifications now, so make the decision which was received
10883 2007-09-18 Brady Eidson <beidson@apple.com>
10885 Reviewed by Ada and Geoff
10887 Part of <rdar://problem/5471308> - Get async Icon Database fully hooked up on Windows
10889 Hook up main thread delivery of Icon Database notifications from the secondary thread
10891 * WebIconDatabase.cpp:
10892 (WebIconDatabase::WebIconDatabase): Initialize m_deliveryRequested
10893 (WebIconDatabase::init): Set the IconDatabaseClient to the shared WebIconDatabase
10894 (WebIconDatabase::dispatchDidRemoveAllIcons): Queue the notification to be delivered on the main thread then
10895 ask for the delivery
10896 (WebIconDatabase::dispatchDidAddIconForPageURL): Ditto
10897 (WebIconDatabase::scheduleNotificationDelivery): If the m_deliveryRequested hasn't been set, then set it
10898 and perform the callOnMainThread() for WebIconDatabase::deliverNotifications
10899 (postDidRemoveAllIconsNotification):
10900 (postDidAddIconNotification):
10901 (WebIconDatabase::deliverNotifications): Deliver all notifications in the current queue
10902 * WebIconDatabase.h:
10904 2007-09-17 Geoffrey Garen <ggaren@apple.com>
10906 Reviewed by Darin Adler.
10908 Fixed a hang due to an infinite script running in the window's unload
10909 event handler, which may be the cause of <rdar://problem/5479443>
10910 REGRESSION: Hang due to infinite JS recursion on close @ engadget.com
10911 (onunload-based ad)
10913 Added a bunch of WebKitMac's close features, and reordered others to
10918 (WebView::removeDragCaret):
10920 2007-09-17 Adam Roben <aroben@apple.com>
10922 Fix <rdar://4979801> overflow divs don't respond to keyboard scrolling (affects RSS pages)
10927 (WebView::keyDown): Attempt to scroll an overflow area before
10928 scrolling the whole frame.
10930 2007-09-17 Brady Eidson <beidson@apple.com>
10934 <rdar://problem/5471308> - Get async Icon Database fully hooked up on Windows
10936 Add a global "shut down WebKit" procedure to do cleanup at the engine level on quit.
10937 Critical now for the IconDatabase and might be for other things in the future.
10940 (shutDownWebKit): For now, just close the IconDatabase
10941 (DllMain): On DLL_PROCESS_DETACH, call shutDownWebKit
10943 2007-09-17 Anders Carlsson <andersca@apple.com>
10947 <rdar://problem/5421997>
10948 http://bugs.webkit.org/show_bug.cgi?id=14247
10949 Display problem with Flash - image does not stop changing
10951 Port the manual load code over from the Mac version.
10954 (WebFrame::WebFramePrivate::WebFramePrivate):
10955 Initialize the plugin pointer.
10957 (WebFrame::finishedLoading):
10958 (WebFrame::setMainDocumentError):
10959 (WebFrame::committedLoad):
10960 Feed the data to the plug-in.
10962 (WebFrame::redirectDataToPlugin):
10963 Store the plug-in widget.
10965 2007-09-14 Steve Falkenburg <sfalken@apple.com>
10970 (WebFrame::createPlugin):
10971 (WebFrame::createJavaAppletWidget):
10973 2007-09-13 Darin Adler <darin@apple.com>
10975 Reviewed by Oliver.
10977 - fix <rdar://problem/5470457> REGRESSION: Input method inline hole is mishandled in text
10978 <input> elements with maxlength limit
10981 (WebView::resetIME): Change to use confirmCompositionWithoutDisturbingSelection.
10982 (WebView::updateSelectionForIME): Update for name changes, and to use new functions
10984 (WebView::onIMEStartComposition): Removed unneeded call to unmarkText.
10985 (compositionToUnderlines): Removed startOffset parameter, since setComposition now
10987 (WebView::onIMEComposition): Changed to use confirmComposition and setComposition.
10988 Logic gets a lot cleaner.
10989 (WebView::onIMEEndComposition): Removed unneeded calls to Editor.
10990 (WebView::onIMERequestCharPosition): Updated for name changes.
10992 2007-09-12 Oliver Hunt <oliver@apple.com>
10997 <rdar://problem/5018591> Windows doesn't have a standard vertical text cursor
10998 <rdar://problem/5224996> Add zoom in and zoom out cursors
11000 Add images for vertical text and zoom in and out cursors to WebKit resources.
11002 * WebKit.vcproj/verticalTextCursor.png: Added.
11003 * WebKit.vcproj/WebKit.rc:
11004 * WebKit.vcproj/WebKit.vcproj:
11005 * WebKit.vcproj/resource.h:
11006 * WebKit.vcproj/zoomInCursor.png: Added.
11007 * WebKit.vcproj/zoomOutCursor.png: Added.
11009 (loadResourceIntoBuffer):
11011 2007-09-12 Adam Roben <aroben@apple.com>
11013 Initialize SafariTheme early in WebKit's instantiation
11015 New versions of SafariTheme will require this initialization. We have
11016 to use GetProcAddress for now since the initialize method doesn't
11017 exist in any released SafariTheme.
11021 * WebKit.vcproj/debug_internal.vsprops: Pick up the debug SafariTheme.
11022 * WebKitClassFactory.cpp:
11023 (WebKitClassFactory::WebKitClassFactory): Call STInitialize.
11025 2007-09-12 Ada Chan <adachan@apple.com>
11027 <rdar://problem/5478690> Regression: printing: footer only appears on the first page of print
11032 (WebFrame::spoolPages): the footer rect is relative to the top left of the current page. So
11033 instead of passing pageRect.bottom() as the top of the footer rect (which is relative to the
11034 document), we should pass in headerHeight plus the height of the pageRect.
11036 2007-09-12 Anders Carlsson <andersca@apple.com>
11038 Reviewed by Darin (reluctantly).
11040 <rdar://problem/5320461>
11041 http://bugs.webkit.org/show_bug.cgi?id=14548
11042 REGRESSION (r23987-r24061) : Reproducible crash with a local stylesheet file
11044 Add a workaround which converts the string passed in to an URL if it's a path.
11047 (WebView::updateWebCoreSettingsFromPreferences):
11049 2007-09-10 Steve Falkenburg <sfalken@apple.com>
11051 Remove site-specific hacks that we don't need anymore.
11056 (WebView::userAgentForKURL):
11058 2007-09-08 Steve Falkenburg <sfalken@apple.com>
11060 Prevent WebKit version numbers from containing "4" in Windows.
11062 Reviewed by Darin Adler.
11064 * WebKit.vcproj/VERSION: Bump version since our current version ends in 4.
11065 * WebKit.vcproj/auto-version.sh: Add version checking code.
11067 2007-09-08 Brady Eidson <beidson@apple.com>
11069 <rdar://problem/5434431> - Asynchronous Icon Database
11072 (WebFrame::didPerformFirstNavigation): Empty impl for now
11073 (WebFrame::registerForIconNotification): Ditto
11076 2007-09-05 Geoffrey Garen <ggaren@apple.com>
11078 Reviewed by Darin Adler, Maciej Stachowiak, Mark Rowe, Tim Hatcher.
11080 Fixed <rdar://problem/5326009> Make non-browser WebKit clients have no
11081 memory cache, or a very tiny one
11083 Keep the Windows build working with an empty stub.
11086 (FrameLoaderClient::didPerformFirstNavigation):
11089 2007-09-07 Ada Chan <adachan@apple.com>
11091 Need to let the OS handle Alt+F4.
11097 (WebView::keyDown):
11099 2007-09-07 Anders Carlsson <andersca@apple.com>
11101 Reviewed by Oliver.
11103 <rdar://problem/5461487>
11104 Seed: Embedded media content (Flash Player 9) inside RSS reported as unknown MIME type.
11106 Don't return ObjectContentNone if the URL's extension can't be mapped to a MIME type. If the MIME type is empty,
11107 we will try to display the content in a subframe instead, just like Mac WebKit.
11110 (WebFrame::objectContentType):
11112 2007-09-07 Ada Chan <adachan@apple.com>
11114 <rdar://problem/5395928> Need to be able to handle context menu item selection by index
11119 (WebView::performContextMenuAction): performContextMenuAction() can now handle context menu
11120 item selection via WM_MENUCOMMAND (by specifying byPosition to be true). In that case, we
11121 get the ContextMenuItem by position rather than by action id.
11122 (WebViewWndProc): handle WM_MENUCOMMAND
11125 2007-09-07 Ada Chan <adachan@apple.com>
11127 <rdar://problem/5453494> Better lifetime management of WebDataSource and WebDocumentLoader
11128 The problem was that WebDataSource does not hold a strong reference to the WebDocumentLoader. If
11129 a WebDataSource is still around after the loader has been destroyed, it'll just point to
11130 a stale WebDocumentLoader.
11131 To fix this without a circular reference, WebDataSource now holds a strong reference to the
11132 WebDocumentLoader. The WebDocumentLoader holds a strong reference to the WebDataSource
11133 until it's detached from the WebFrame. When the WebDataSource is destroyed, it'll notify
11134 its WebDocumentLoader so the loader will clear any references to it.
11136 Reviewed by Darin Adler.
11138 * WebDataSource.cpp:
11139 (WebDataSource::~WebDataSource): call WebDocumentLoader::detachDataSource() so the loader
11140 will clear any references to this data source
11141 (WebDataSource::documentLoader): m_loader is now a RefPtr so we need to call get().
11143 * WebDocumentLoader.cpp:
11144 (WebDocumentLoader::WebDocumentLoader): initialize m_dataSource since it's no longer a COMPtr.
11145 (WebDocumentLoader::~WebDocumentLoader): release m_dataSource if necessary
11146 (WebDocumentLoader::setDataSource): add a reference to m_dataSource
11147 (WebDocumentLoader::dataSource):
11148 (WebDocumentLoader::detachDataSource): clear m_detachedDataSource.
11149 (WebDocumentLoader::attachToFrame): call setDataSource() so it'll add the reference to the data source if necessary.
11150 (WebDocumentLoader::detachFromFrame): release the reference to the data source
11151 * WebDocumentLoader.h:
11153 2007-09-05 Dave Hyatt <hyatt@apple.com>
11155 Make sure ALT+other keys is properly sent into the DOM so that Web pages (and editing fields) can
11156 detect key combos like ALT+Enter.
11162 (WebView::keyDown):
11166 2007-09-04 Sam Weinig <sam@webkit.org>
11170 * WebKit.vcproj/WebKit.vcproj:
11172 2007-09-01 Oliver Hunt <oliver@apple.com>
11176 <rdar://problem/5344848> IME is incorrectly used for key events when on non-editable regions
11178 When focusing a password field or a non-editable element we disassociate any IME that may have
11179 been active, and reassociate should a non-password editable element is focused.
11181 This makes password input with an IME active simpler, and brings our IME behaviour in line with
11184 * WebEditorClient.cpp:
11185 (WebEditorClient::setInputMethodState):
11186 * WebEditorClient.h:
11188 (IMMDict::IMMDict):
11189 (WebView::setInputMethodState):
11192 2007-08-31 Steve Falkenburg <sfalken@apple.com>
11194 <rdar://problem/5432594> Safari quits when hovering over mailto links on a webpage
11196 In addition to substituting %@ with %s, we also need to substitute %{1-9}$@ with %{1-9}$s.
11198 Reviewed by Oliver.
11200 * WebLocalizableStrings.cpp:
11201 (WebLocalizedLPCTSTR):
11203 2007-08-29 Ada Chan <adachan@apple.com>
11205 <rdar://problem/5074612> Added SPI to retrieve certificate info from a WebError.
11209 * Interfaces/IWebErrorPrivate.idl: Added IWebErrorPrivate
11211 (WebError::QueryInterface): WebError now also implements IWebErrorPrivate
11212 (WebError::sslPeerCertificate): retrieves certificate info from CFError's user info.
11214 * WebKit.vcproj/WebKitGUID.vcproj: Added IWebErrorPrivate_i.c
11216 2007-08-28 Steve Falkenburg <sfalken@apple.com>
11218 <rdar://problem/5079253> Cannot set different margins for the page
11220 Added support for setting margins via page setup for Windows printing.
11224 * Interfaces/IWebUIDelegate.idl: Added webViewPrintingMarginRect.
11226 (WebFrame::printerMarginRect): Added.
11227 (WebFrame::computePageRects): Account for margins when calculating page rects.
11228 (WebFrame::spoolPages): Position footer at the bottom of the page rect (fixes footer drawing if left/right margins are set).
11231 2007-08-28 Jon Honeycutt <jhoneycutt@apple.com>
11235 <rdar://problem/5444457>: Content is cut when page orientation changed
11237 Fix: Don't return WebFrame::m_pageRects if it exists; let
11238 computePageRectsForFrame clear and rewrite it.
11241 (WebFrame::computePageRects): Removed an early-return case. Added a
11244 2007-08-28 Ada Chan <adachan@apple.com>
11246 <rdar://problem/4876242> Added SPI to fetch SSL certificate information.
11248 Reviewed by Adam and Steve.
11250 * Interfaces/IWebURLResponsePrivate.idl: Added.
11251 * WebKit.vcproj/Interfaces.vcproj:
11252 * WebKit.vcproj/WebKitGUID.vcproj:
11253 * WebURLResponse.cpp:
11254 (WebURLResponse::QueryInterface):
11255 (WebURLResponse::sslPeerCertificate): gets peer certificate context from CFNetwork
11256 (WebURLResponse::certificateDictionary): gets the dictionary that contains SSL certificate
11257 info from CFNetwork. We retain the dictionary to ensure the certificate context is valid
11258 throughout the lifetime of the WebURLResponse.
11259 * WebURLResponse.h:
11261 2007-08-27 Steve Falkenburg <sfalken@apple.com>
11263 <rdar://problem/5424801> REGRESSION (r25151): Web page area of window doesn't redraw if page isn't loaded
11265 Don't bypass WebView WM_PAINT if the WebView has never committed a page.
11267 Reviewed by Maciej.
11270 (WebViewWndProc): Don't skip painting if we haven't committed any pages in this view.
11272 2007-08-25 Oliver Hunt <oliver@apple.com>
11274 Reviewed by Adam and Sam
11276 <rdar://problem/5269732> Safari 3.0 for Windows cuts off text in textarea boxes during sending forms (14562)
11277 <http://bugs.webkit.org/show_bug.cgi?id=14562> [Win] Textarea contents partially eaten on submit/copy
11279 WebView::handleEditingKeyboardEvent assumed all keycodes that did not trigger a named command were
11280 to be inserted. This could cause unexpected behaviour when control characters (eg. escape) are sent,
11281 or could cause data loss when sent a null character (as happens when dead keys are used for international
11284 This patch corrects WebView::handleEditingKeyboardEvent to prevent such characters from being sent
11285 to Editor::insertText. This behaviour matches Firefox.
11288 (WebView::handleEditingKeyboardEvent):
11290 2007-08-24 Sam Weinig <sam@webkit.org>
11292 Revert r25216 which renamed the COM DOM bindings to use Deprecated prefix.
11294 2007-08-24 Ada Chan <adachan@apple.com>
11296 <rdar://problem/5147315> and <rdar://problem/5183935>
11297 Added accelerator key mappings for Select All, Undo, and Redo.
11303 2007-08-24 Jon Honeycutt <jhoneycutt@apple.com>
11305 Reviewed by Darin Adler.
11307 Part of <rdar://problem/5433236> Print preview of empty txt file crashes
11311 (WebFrame::computePageRects): Pass m_pageRects by reference into
11312 computePageRectsForFrame
11314 2007-08-24 Sam Weinig <sam@webkit.org>
11316 Rubber-stamped by Adam Roben.
11318 <rdar://problem/5434593> Deprecate current manually written COM DOM bindings in anticipation of autogeneration
11320 Rename COM DOM bindings to use Deprecated prefix.
11322 * DOMCSSClasses.cpp:
11323 (DeprecatedDOMCSSStyleDeclaration::DeprecatedDOMCSSStyleDeclaration):
11324 (DeprecatedDOMCSSStyleDeclaration::~DeprecatedDOMCSSStyleDeclaration):
11325 (DeprecatedDOMCSSStyleDeclaration::createInstance):
11326 (DeprecatedDOMCSSStyleDeclaration::QueryInterface):
11327 (DeprecatedDOMCSSStyleDeclaration::cssText):
11328 (DeprecatedDOMCSSStyleDeclaration::setCssText):
11329 (DeprecatedDOMCSSStyleDeclaration::getPropertyValue):
11330 (DeprecatedDOMCSSStyleDeclaration::getPropertyCSSValue):
11331 (DeprecatedDOMCSSStyleDeclaration::removeProperty):
11332 (DeprecatedDOMCSSStyleDeclaration::getPropertyPriority):
11333 (DeprecatedDOMCSSStyleDeclaration::setProperty):
11334 (DeprecatedDOMCSSStyleDeclaration::length):
11335 (DeprecatedDOMCSSStyleDeclaration::item):
11336 (DeprecatedDOMCSSStyleDeclaration::parentRule):
11338 (DeprecatedDOMCSSStyleDeclaration::AddRef):
11339 (DeprecatedDOMCSSStyleDeclaration::Release):
11340 (DeprecatedDOMCSSStyleDeclaration::throwException):
11341 (DeprecatedDOMCSSStyleDeclaration::callWebScriptMethod):
11342 (DeprecatedDOMCSSStyleDeclaration::evaluateWebScript):
11343 (DeprecatedDOMCSSStyleDeclaration::removeWebScriptKey):
11344 (DeprecatedDOMCSSStyleDeclaration::stringRepresentation):
11345 (DeprecatedDOMCSSStyleDeclaration::webScriptValueAtIndex):
11346 (DeprecatedDOMCSSStyleDeclaration::setWebScriptValueAtIndex):
11347 (DeprecatedDOMCSSStyleDeclaration::setException):
11348 * DOMCoreClasses.cpp:
11349 (DeprecatedDOMObject::QueryInterface):
11350 (DeprecatedDOMNode::QueryInterface):
11351 (DeprecatedDOMNode::nodeName):
11352 (DeprecatedDOMNode::nodeValue):
11353 (DeprecatedDOMNode::setNodeValue):
11354 (DeprecatedDOMNode::nodeType):
11355 (DeprecatedDOMNode::parentNode):
11356 (DeprecatedDOMNode::childNodes):
11357 (DeprecatedDOMNode::firstChild):
11358 (DeprecatedDOMNode::lastChild):
11359 (DeprecatedDOMNode::previousSibling):
11360 (DeprecatedDOMNode::nextSibling):
11361 (DeprecatedDOMNode::attributes):
11362 (DeprecatedDOMNode::ownerDocument):
11363 (DeprecatedDOMNode::insertBefore):
11364 (DeprecatedDOMNode::replaceChild):
11365 (DeprecatedDOMNode::removeChild):
11366 (DeprecatedDOMNode::appendChild):
11367 (DeprecatedDOMNode::hasChildNodes):
11368 (DeprecatedDOMNode::cloneNode):
11369 (DeprecatedDOMNode::normalize):
11370 (DeprecatedDOMNode::isSupported):
11371 (DeprecatedDOMNode::namespaceURI):
11372 (DeprecatedDOMNode::prefix):
11373 (DeprecatedDOMNode::setPrefix):
11374 (DeprecatedDOMNode::localName):
11375 (DeprecatedDOMNode::hasAttributes):
11376 (DeprecatedDOMNode::isSameNode):
11377 (DeprecatedDOMNode::isEqualNode):
11378 (DeprecatedDOMNode::textContent):
11379 (DeprecatedDOMNode::setTextContent):
11380 (DeprecatedDOMNode::addEventListener):
11381 (DeprecatedDOMNode::removeEventListener):
11382 (DeprecatedDOMNode::dispatchEvent):
11383 (DeprecatedDOMNode::DeprecatedDOMNode):
11384 (DeprecatedDOMNode::~DeprecatedDOMNode):
11385 (DeprecatedDOMNode::createInstance):
11386 (DeprecatedDOMNodeList::QueryInterface):
11387 (DeprecatedDOMNodeList::item):
11388 (DeprecatedDOMNodeList::length):
11389 (DeprecatedDOMNodeList::DeprecatedDOMNodeList):
11390 (DeprecatedDOMNodeList::~DeprecatedDOMNodeList):
11391 (DeprecatedDOMNodeList::createInstance):
11392 (DeprecatedDOMDocument::QueryInterface):
11393 (DeprecatedDOMDocument::doctype):
11394 (DeprecatedDOMDocument::implementation):
11395 (DeprecatedDOMDocument::documentElement):
11396 (DeprecatedDOMDocument::createElement):
11397 (DeprecatedDOMDocument::createDocumentFragment):
11398 (DeprecatedDOMDocument::createTextNode):
11399 (DeprecatedDOMDocument::createComment):
11400 (DeprecatedDOMDocument::createCDATASection):
11401 (DeprecatedDOMDocument::createProcessingInstruction):
11402 (DeprecatedDOMDocument::createAttribute):
11403 (DeprecatedDOMDocument::createEntityReference):
11404 (DeprecatedDOMDocument::getElementsByTagName):
11405 (DeprecatedDOMDocument::importNode):
11406 (DeprecatedDOMDocument::createElementNS):
11407 (DeprecatedDOMDocument::createAttributeNS):
11408 (DeprecatedDOMDocument::getElementsByTagNameNS):
11409 (DeprecatedDOMDocument::getElementById):
11410 (DeprecatedDOMDocument::getComputedStyle):
11411 (DeprecatedDOMDocument::createEvent):
11412 (DeprecatedDOMDocument::DeprecatedDOMDocument):
11413 (DeprecatedDOMDocument::~DeprecatedDOMDocument):
11414 (DeprecatedDOMDocument::createInstance):
11415 (DeprecatedDOMElement::QueryInterface):
11416 (DeprecatedDOMElement::boundingBox):
11417 (DeprecatedDOMElement::lineBoxRects):
11418 (DeprecatedDOMElement::tagName):
11419 (DeprecatedDOMElement::getAttribute):
11420 (DeprecatedDOMElement::setAttribute):
11421 (DeprecatedDOMElement::removeAttribute):
11422 (DeprecatedDOMElement::getAttributeNode):
11423 (DeprecatedDOMElement::setAttributeNode):
11424 (DeprecatedDOMElement::removeAttributeNode):
11425 (DeprecatedDOMElement::getElementsByTagName):
11426 (DeprecatedDOMElement::getAttributeNS):
11427 (DeprecatedDOMElement::setAttributeNS):
11428 (DeprecatedDOMElement::removeAttributeNS):
11429 (DeprecatedDOMElement::getAttributeNodeNS):
11430 (DeprecatedDOMElement::setAttributeNodeNS):
11431 (DeprecatedDOMElement::getElementsByTagNameNS):
11432 (DeprecatedDOMElement::hasAttribute):
11433 (DeprecatedDOMElement::hasAttributeNS):
11434 (DeprecatedDOMElement::focus):
11435 (DeprecatedDOMElement::blur):
11436 (DeprecatedDOMElement::coreElement):
11437 (DeprecatedDOMElement::isEqual):
11438 (DeprecatedDOMElement::isFocused):
11439 (DeprecatedDOMElement::innerText):
11440 (DeprecatedDOMElement::style):
11441 (DeprecatedDOMElement::offsetLeft):
11442 (DeprecatedDOMElement::offsetTop):
11443 (DeprecatedDOMElement::offsetWidth):
11444 (DeprecatedDOMElement::offsetHeight):
11445 (DeprecatedDOMElement::offsetParent):
11446 (DeprecatedDOMElement::clientWidth):
11447 (DeprecatedDOMElement::clientHeight):
11448 (DeprecatedDOMElement::scrollLeft):
11449 (DeprecatedDOMElement::setScrollLeft):
11450 (DeprecatedDOMElement::scrollTop):
11451 (DeprecatedDOMElement::setScrollTop):
11452 (DeprecatedDOMElement::scrollWidth):
11453 (DeprecatedDOMElement::scrollHeight):
11454 (DeprecatedDOMElement::scrollIntoView):
11455 (DeprecatedDOMElement::scrollIntoViewIfNeeded):
11456 (DeprecatedDOMElement::DeprecatedDOMElement):
11457 (DeprecatedDOMElement::~DeprecatedDOMElement):
11458 (DeprecatedDOMElement::createInstance):
11459 * DOMCoreClasses.h:
11460 (DeprecatedDOMNode::AddRef):
11461 (DeprecatedDOMNode::Release):
11462 (DeprecatedDOMNode::throwException):
11463 (DeprecatedDOMNode::callWebScriptMethod):
11464 (DeprecatedDOMNode::evaluateWebScript):
11465 (DeprecatedDOMNode::removeWebScriptKey):
11466 (DeprecatedDOMNode::stringRepresentation):
11467 (DeprecatedDOMNode::webScriptValueAtIndex):
11468 (DeprecatedDOMNode::setWebScriptValueAtIndex):
11469 (DeprecatedDOMNode::setException):
11470 (DeprecatedDOMNodeList::AddRef):
11471 (DeprecatedDOMNodeList::Release):
11472 (DeprecatedDOMNodeList::throwException):
11473 (DeprecatedDOMNodeList::callWebScriptMethod):
11474 (DeprecatedDOMNodeList::evaluateWebScript):
11475 (DeprecatedDOMNodeList::removeWebScriptKey):
11476 (DeprecatedDOMNodeList::stringRepresentation):
11477 (DeprecatedDOMNodeList::webScriptValueAtIndex):
11478 (DeprecatedDOMNodeList::setWebScriptValueAtIndex):
11479 (DeprecatedDOMNodeList::setException):
11480 (DeprecatedDOMDocument::AddRef):
11481 (DeprecatedDOMDocument::Release):
11482 (DeprecatedDOMDocument::throwException):
11483 (DeprecatedDOMDocument::callWebScriptMethod):
11484 (DeprecatedDOMDocument::evaluateWebScript):
11485 (DeprecatedDOMDocument::removeWebScriptKey):
11486 (DeprecatedDOMDocument::stringRepresentation):
11487 (DeprecatedDOMDocument::webScriptValueAtIndex):
11488 (DeprecatedDOMDocument::setWebScriptValueAtIndex):
11489 (DeprecatedDOMDocument::setException):
11490 (DeprecatedDOMDocument::nodeName):
11491 (DeprecatedDOMDocument::nodeValue):
11492 (DeprecatedDOMDocument::setNodeValue):
11493 (DeprecatedDOMDocument::nodeType):
11494 (DeprecatedDOMDocument::parentNode):
11495 (DeprecatedDOMDocument::childNodes):
11496 (DeprecatedDOMDocument::firstChild):
11497 (DeprecatedDOMDocument::lastChild):
11498 (DeprecatedDOMDocument::previousSibling):
11499 (DeprecatedDOMDocument::nextSibling):
11500 (DeprecatedDOMDocument::attributes):
11501 (DeprecatedDOMDocument::ownerDocument):
11502 (DeprecatedDOMDocument::insertBefore):
11503 (DeprecatedDOMDocument::replaceChild):
11504 (DeprecatedDOMDocument::removeChild):
11505 (DeprecatedDOMDocument::appendChild):
11506 (DeprecatedDOMDocument::hasChildNodes):
11507 (DeprecatedDOMDocument::cloneNode):
11508 (DeprecatedDOMDocument::normalize):
11509 (DeprecatedDOMDocument::isSupported):
11510 (DeprecatedDOMDocument::namespaceURI):
11511 (DeprecatedDOMDocument::prefix):
11512 (DeprecatedDOMDocument::setPrefix):
11513 (DeprecatedDOMDocument::localName):
11514 (DeprecatedDOMDocument::hasAttributes):
11515 (DeprecatedDOMDocument::isSameNode):
11516 (DeprecatedDOMDocument::isEqualNode):
11517 (DeprecatedDOMDocument::textContent):
11518 (DeprecatedDOMDocument::setTextContent):
11519 (DeprecatedDOMElement::AddRef):
11520 (DeprecatedDOMElement::Release):
11521 (DeprecatedDOMElement::throwException):
11522 (DeprecatedDOMElement::callWebScriptMethod):
11523 (DeprecatedDOMElement::evaluateWebScript):
11524 (DeprecatedDOMElement::removeWebScriptKey):
11525 (DeprecatedDOMElement::stringRepresentation):
11526 (DeprecatedDOMElement::webScriptValueAtIndex):
11527 (DeprecatedDOMElement::setWebScriptValueAtIndex):
11528 (DeprecatedDOMElement::setException):
11529 (DeprecatedDOMElement::nodeName):
11530 (DeprecatedDOMElement::nodeValue):
11531 (DeprecatedDOMElement::setNodeValue):
11532 (DeprecatedDOMElement::nodeType):
11533 (DeprecatedDOMElement::parentNode):
11534 (DeprecatedDOMElement::childNodes):
11535 (DeprecatedDOMElement::firstChild):
11536 (DeprecatedDOMElement::lastChild):
11537 (DeprecatedDOMElement::previousSibling):
11538 (DeprecatedDOMElement::nextSibling):
11539 (DeprecatedDOMElement::attributes):
11540 (DeprecatedDOMElement::ownerDocument):
11541 (DeprecatedDOMElement::insertBefore):
11542 (DeprecatedDOMElement::replaceChild):
11543 (DeprecatedDOMElement::removeChild):
11544 (DeprecatedDOMElement::appendChild):
11545 (DeprecatedDOMElement::hasChildNodes):
11546 (DeprecatedDOMElement::cloneNode):
11547 (DeprecatedDOMElement::normalize):
11548 (DeprecatedDOMElement::isSupported):
11549 (DeprecatedDOMElement::namespaceURI):
11550 (DeprecatedDOMElement::prefix):
11551 (DeprecatedDOMElement::setPrefix):
11552 (DeprecatedDOMElement::localName):
11553 (DeprecatedDOMElement::hasAttributes):
11554 (DeprecatedDOMElement::isSameNode):
11555 (DeprecatedDOMElement::isEqualNode):
11556 (DeprecatedDOMElement::textContent):
11557 (DeprecatedDOMElement::setTextContent):
11558 * DOMEventsClasses.cpp:
11559 (DeprecatedDOMEventListener::QueryInterface):
11560 (DeprecatedDOMEventListener::handleEvent):
11561 (DeprecatedDOMEvent::DeprecatedDOMEvent):
11562 (DeprecatedDOMEvent::~DeprecatedDOMEvent):
11563 (DeprecatedDOMEvent::createInstance):
11564 (DeprecatedDOMEvent::QueryInterface):
11565 (DeprecatedDOMEvent::type):
11566 (DeprecatedDOMEvent::target):
11567 (DeprecatedDOMEvent::currentTarget):
11568 (DeprecatedDOMEvent::eventPhase):
11569 (DeprecatedDOMEvent::bubbles):
11570 (DeprecatedDOMEvent::cancelable):
11571 (DeprecatedDOMEvent::timeStamp):
11572 (DeprecatedDOMEvent::stopPropagation):
11573 (DeprecatedDOMEvent::preventDefault):
11574 (DeprecatedDOMEvent::initEvent):
11575 (DeprecatedDOMUIEvent::QueryInterface):
11576 (DeprecatedDOMUIEvent::view):
11577 (DeprecatedDOMUIEvent::detail):
11578 (DeprecatedDOMUIEvent::initUIEvent):
11579 (DeprecatedDOMUIEvent::keyCode):
11580 (DeprecatedDOMUIEvent::charCode):
11581 (DeprecatedDOMUIEvent::layerX):
11582 (DeprecatedDOMUIEvent::layerY):
11583 (DeprecatedDOMUIEvent::pageX):
11584 (DeprecatedDOMUIEvent::pageY):
11585 (DeprecatedDOMUIEvent::which):
11586 (DeprecatedDOMKeyboardEvent::QueryInterface):
11587 (DeprecatedDOMKeyboardEvent::keyIdentifier):
11588 (DeprecatedDOMKeyboardEvent::keyLocation):
11589 (DeprecatedDOMKeyboardEvent::ctrlKey):
11590 (DeprecatedDOMKeyboardEvent::shiftKey):
11591 (DeprecatedDOMKeyboardEvent::altKey):
11592 (DeprecatedDOMKeyboardEvent::metaKey):
11593 (DeprecatedDOMKeyboardEvent::altGraphKey):
11594 (DeprecatedDOMKeyboardEvent::getModifierState):
11595 (DeprecatedDOMKeyboardEvent::initKeyboardEvent):
11596 (DeprecatedDOMMouseEvent::QueryInterface):
11597 (DeprecatedDOMMouseEvent::screenX):
11598 (DeprecatedDOMMouseEvent::screenY):
11599 (DeprecatedDOMMouseEvent::clientX):
11600 (DeprecatedDOMMouseEvent::clientY):
11601 (DeprecatedDOMMouseEvent::ctrlKey):
11602 (DeprecatedDOMMouseEvent::shiftKey):
11603 (DeprecatedDOMMouseEvent::altKey):
11604 (DeprecatedDOMMouseEvent::metaKey):
11605 (DeprecatedDOMMouseEvent::button):
11606 (DeprecatedDOMMouseEvent::relatedTarget):
11607 (DeprecatedDOMMouseEvent::initMouseEvent):
11608 (DeprecatedDOMMouseEvent::offsetX):
11609 (DeprecatedDOMMouseEvent::offsetY):
11610 (DeprecatedDOMMouseEvent::x):
11611 (DeprecatedDOMMouseEvent::y):
11612 (DeprecatedDOMMouseEvent::fromElement):
11613 (DeprecatedDOMMouseEvent::toElement):
11614 (DeprecatedDOMMutationEvent::QueryInterface):
11615 (DeprecatedDOMMutationEvent::relatedNode):
11616 (DeprecatedDOMMutationEvent::prevValue):
11617 (DeprecatedDOMMutationEvent::newValue):
11618 (DeprecatedDOMMutationEvent::attrName):
11619 (DeprecatedDOMMutationEvent::attrChange):
11620 (DeprecatedDOMMutationEvent::initMutationEvent):
11621 (DeprecatedDOMOverflowEvent::QueryInterface):
11622 (DeprecatedDOMOverflowEvent::orient):
11623 (DeprecatedDOMOverflowEvent::horizontalOverflow):
11624 (DeprecatedDOMOverflowEvent::verticalOverflow):
11625 (DeprecatedDOMWheelEvent::QueryInterface):
11626 (DeprecatedDOMWheelEvent::screenX):
11627 (DeprecatedDOMWheelEvent::screenY):
11628 (DeprecatedDOMWheelEvent::clientX):
11629 (DeprecatedDOMWheelEvent::clientY):
11630 (DeprecatedDOMWheelEvent::ctrlKey):
11631 (DeprecatedDOMWheelEvent::shiftKey):
11632 (DeprecatedDOMWheelEvent::altKey):
11633 (DeprecatedDOMWheelEvent::metaKey):
11634 (DeprecatedDOMWheelEvent::wheelDelta):
11635 (DeprecatedDOMWheelEvent::wheelDeltaX):
11636 (DeprecatedDOMWheelEvent::wheelDeltaY):
11637 (DeprecatedDOMWheelEvent::offsetX):
11638 (DeprecatedDOMWheelEvent::offsetY):
11639 (DeprecatedDOMWheelEvent::x):
11640 (DeprecatedDOMWheelEvent::y):
11641 (DeprecatedDOMWheelEvent::isHorizontal):
11642 (DeprecatedDOMWheelEvent::initWheelEvent):
11643 * DOMEventsClasses.h:
11644 (DeprecatedDOMEventListener::AddRef):
11645 (DeprecatedDOMEventListener::Release):
11646 (DeprecatedDOMEventListener::throwException):
11647 (DeprecatedDOMEventListener::callWebScriptMethod):
11648 (DeprecatedDOMEventListener::evaluateWebScript):
11649 (DeprecatedDOMEventListener::removeWebScriptKey):
11650 (DeprecatedDOMEventListener::stringRepresentation):
11651 (DeprecatedDOMEventListener::webScriptValueAtIndex):
11652 (DeprecatedDOMEventListener::setWebScriptValueAtIndex):
11653 (DeprecatedDOMEventListener::setException):
11654 (DeprecatedDOMEvent::AddRef):
11655 (DeprecatedDOMEvent::Release):
11656 (DeprecatedDOMEvent::throwException):
11657 (DeprecatedDOMEvent::callWebScriptMethod):
11658 (DeprecatedDOMEvent::evaluateWebScript):
11659 (DeprecatedDOMEvent::removeWebScriptKey):
11660 (DeprecatedDOMEvent::stringRepresentation):
11661 (DeprecatedDOMEvent::webScriptValueAtIndex):
11662 (DeprecatedDOMEvent::setWebScriptValueAtIndex):
11663 (DeprecatedDOMEvent::setException):
11664 (DeprecatedDOMUIEvent::DeprecatedDOMUIEvent):
11665 (DeprecatedDOMUIEvent::AddRef):
11666 (DeprecatedDOMUIEvent::Release):
11667 (DeprecatedDOMUIEvent::throwException):
11668 (DeprecatedDOMUIEvent::callWebScriptMethod):
11669 (DeprecatedDOMUIEvent::evaluateWebScript):
11670 (DeprecatedDOMUIEvent::removeWebScriptKey):
11671 (DeprecatedDOMUIEvent::stringRepresentation):
11672 (DeprecatedDOMUIEvent::webScriptValueAtIndex):
11673 (DeprecatedDOMUIEvent::setWebScriptValueAtIndex):
11674 (DeprecatedDOMUIEvent::setException):
11675 (DeprecatedDOMUIEvent::type):
11676 (DeprecatedDOMUIEvent::target):
11677 (DeprecatedDOMUIEvent::currentTarget):
11678 (DeprecatedDOMUIEvent::eventPhase):
11679 (DeprecatedDOMUIEvent::bubbles):
11680 (DeprecatedDOMUIEvent::cancelable):
11681 (DeprecatedDOMUIEvent::timeStamp):
11682 (DeprecatedDOMUIEvent::stopPropagation):
11683 (DeprecatedDOMUIEvent::preventDefault):
11684 (DeprecatedDOMUIEvent::initEvent):
11685 (DeprecatedDOMKeyboardEvent::DeprecatedDOMKeyboardEvent):
11686 (DeprecatedDOMKeyboardEvent::AddRef):
11687 (DeprecatedDOMKeyboardEvent::Release):
11688 (DeprecatedDOMKeyboardEvent::throwException):
11689 (DeprecatedDOMKeyboardEvent::callWebScriptMethod):
11690 (DeprecatedDOMKeyboardEvent::evaluateWebScript):
11691 (DeprecatedDOMKeyboardEvent::removeWebScriptKey):
11692 (DeprecatedDOMKeyboardEvent::stringRepresentation):
11693 (DeprecatedDOMKeyboardEvent::webScriptValueAtIndex):
11694 (DeprecatedDOMKeyboardEvent::setWebScriptValueAtIndex):
11695 (DeprecatedDOMKeyboardEvent::setException):
11696 (DeprecatedDOMKeyboardEvent::type):
11697 (DeprecatedDOMKeyboardEvent::target):
11698 (DeprecatedDOMKeyboardEvent::currentTarget):
11699 (DeprecatedDOMKeyboardEvent::eventPhase):
11700 (DeprecatedDOMKeyboardEvent::bubbles):
11701 (DeprecatedDOMKeyboardEvent::cancelable):
11702 (DeprecatedDOMKeyboardEvent::timeStamp):
11703 (DeprecatedDOMKeyboardEvent::stopPropagation):
11704 (DeprecatedDOMKeyboardEvent::preventDefault):
11705 (DeprecatedDOMKeyboardEvent::initEvent):
11706 (DeprecatedDOMKeyboardEvent::view):
11707 (DeprecatedDOMKeyboardEvent::detail):
11708 (DeprecatedDOMKeyboardEvent::initUIEvent):
11709 (DeprecatedDOMKeyboardEvent::keyCode):
11710 (DeprecatedDOMKeyboardEvent::charCode):
11711 (DeprecatedDOMKeyboardEvent::layerX):
11712 (DeprecatedDOMKeyboardEvent::layerY):
11713 (DeprecatedDOMKeyboardEvent::pageX):
11714 (DeprecatedDOMKeyboardEvent::pageY):
11715 (DeprecatedDOMKeyboardEvent::which):
11716 (DeprecatedDOMMouseEvent::DeprecatedDOMMouseEvent):
11717 (DeprecatedDOMMouseEvent::AddRef):
11718 (DeprecatedDOMMouseEvent::Release):
11719 (DeprecatedDOMMouseEvent::throwException):
11720 (DeprecatedDOMMouseEvent::callWebScriptMethod):
11721 (DeprecatedDOMMouseEvent::evaluateWebScript):
11722 (DeprecatedDOMMouseEvent::removeWebScriptKey):
11723 (DeprecatedDOMMouseEvent::stringRepresentation):
11724 (DeprecatedDOMMouseEvent::webScriptValueAtIndex):
11725 (DeprecatedDOMMouseEvent::setWebScriptValueAtIndex):
11726 (DeprecatedDOMMouseEvent::setException):
11727 (DeprecatedDOMMouseEvent::type):
11728 (DeprecatedDOMMouseEvent::target):
11729 (DeprecatedDOMMouseEvent::currentTarget):
11730 (DeprecatedDOMMouseEvent::eventPhase):
11731 (DeprecatedDOMMouseEvent::bubbles):
11732 (DeprecatedDOMMouseEvent::cancelable):
11733 (DeprecatedDOMMouseEvent::timeStamp):
11734 (DeprecatedDOMMouseEvent::stopPropagation):
11735 (DeprecatedDOMMouseEvent::preventDefault):
11736 (DeprecatedDOMMouseEvent::initEvent):
11737 (DeprecatedDOMMouseEvent::view):
11738 (DeprecatedDOMMouseEvent::detail):
11739 (DeprecatedDOMMouseEvent::initUIEvent):
11740 (DeprecatedDOMMouseEvent::keyCode):
11741 (DeprecatedDOMMouseEvent::charCode):
11742 (DeprecatedDOMMouseEvent::layerX):
11743 (DeprecatedDOMMouseEvent::layerY):
11744 (DeprecatedDOMMouseEvent::pageX):
11745 (DeprecatedDOMMouseEvent::pageY):
11746 (DeprecatedDOMMouseEvent::which):
11747 (DeprecatedDOMMutationEvent::DeprecatedDOMMutationEvent):
11748 (DeprecatedDOMMutationEvent::AddRef):
11749 (DeprecatedDOMMutationEvent::Release):
11750 (DeprecatedDOMMutationEvent::throwException):
11751 (DeprecatedDOMMutationEvent::callWebScriptMethod):
11752 (DeprecatedDOMMutationEvent::evaluateWebScript):
11753 (DeprecatedDOMMutationEvent::removeWebScriptKey):
11754 (DeprecatedDOMMutationEvent::stringRepresentation):
11755 (DeprecatedDOMMutationEvent::webScriptValueAtIndex):
11756 (DeprecatedDOMMutationEvent::setWebScriptValueAtIndex):
11757 (DeprecatedDOMMutationEvent::setException):
11758 (DeprecatedDOMMutationEvent::type):
11759 (DeprecatedDOMMutationEvent::target):
11760 (DeprecatedDOMMutationEvent::currentTarget):
11761 (DeprecatedDOMMutationEvent::eventPhase):
11762 (DeprecatedDOMMutationEvent::bubbles):
11763 (DeprecatedDOMMutationEvent::cancelable):
11764 (DeprecatedDOMMutationEvent::timeStamp):
11765 (DeprecatedDOMMutationEvent::stopPropagation):
11766 (DeprecatedDOMMutationEvent::preventDefault):
11767 (DeprecatedDOMMutationEvent::initEvent):
11768 (DeprecatedDOMOverflowEvent::DeprecatedDOMOverflowEvent):
11769 (DeprecatedDOMOverflowEvent::AddRef):
11770 (DeprecatedDOMOverflowEvent::Release):
11771 (DeprecatedDOMOverflowEvent::throwException):
11772 (DeprecatedDOMOverflowEvent::callWebScriptMethod):
11773 (DeprecatedDOMOverflowEvent::evaluateWebScript):
11774 (DeprecatedDOMOverflowEvent::removeWebScriptKey):
11775 (DeprecatedDOMOverflowEvent::stringRepresentation):
11776 (DeprecatedDOMOverflowEvent::webScriptValueAtIndex):
11777 (DeprecatedDOMOverflowEvent::setWebScriptValueAtIndex):
11778 (DeprecatedDOMOverflowEvent::setException):
11779 (DeprecatedDOMOverflowEvent::type):
11780 (DeprecatedDOMOverflowEvent::target):
11781 (DeprecatedDOMOverflowEvent::currentTarget):
11782 (DeprecatedDOMOverflowEvent::eventPhase):
11783 (DeprecatedDOMOverflowEvent::bubbles):
11784 (DeprecatedDOMOverflowEvent::cancelable):
11785 (DeprecatedDOMOverflowEvent::timeStamp):
11786 (DeprecatedDOMOverflowEvent::stopPropagation):
11787 (DeprecatedDOMOverflowEvent::preventDefault):
11788 (DeprecatedDOMOverflowEvent::initEvent):
11789 (DeprecatedDOMWheelEvent::DeprecatedDOMWheelEvent):
11790 (DeprecatedDOMWheelEvent::AddRef):
11791 (DeprecatedDOMWheelEvent::Release):
11792 (DeprecatedDOMWheelEvent::throwException):
11793 (DeprecatedDOMWheelEvent::callWebScriptMethod):
11794 (DeprecatedDOMWheelEvent::evaluateWebScript):
11795 (DeprecatedDOMWheelEvent::removeWebScriptKey):
11796 (DeprecatedDOMWheelEvent::stringRepresentation):
11797 (DeprecatedDOMWheelEvent::webScriptValueAtIndex):
11798 (DeprecatedDOMWheelEvent::setWebScriptValueAtIndex):
11799 (DeprecatedDOMWheelEvent::setException):
11800 (DeprecatedDOMWheelEvent::type):
11801 (DeprecatedDOMWheelEvent::target):
11802 (DeprecatedDOMWheelEvent::currentTarget):
11803 (DeprecatedDOMWheelEvent::eventPhase):
11804 (DeprecatedDOMWheelEvent::bubbles):
11805 (DeprecatedDOMWheelEvent::cancelable):
11806 (DeprecatedDOMWheelEvent::timeStamp):
11807 (DeprecatedDOMWheelEvent::stopPropagation):
11808 (DeprecatedDOMWheelEvent::preventDefault):
11809 (DeprecatedDOMWheelEvent::initEvent):
11810 (DeprecatedDOMWheelEvent::view):
11811 (DeprecatedDOMWheelEvent::detail):
11812 (DeprecatedDOMWheelEvent::initUIEvent):
11813 (DeprecatedDOMWheelEvent::keyCode):
11814 (DeprecatedDOMWheelEvent::charCode):
11815 (DeprecatedDOMWheelEvent::layerX):
11816 (DeprecatedDOMWheelEvent::layerY):
11817 (DeprecatedDOMWheelEvent::pageX):
11818 (DeprecatedDOMWheelEvent::pageY):
11819 (DeprecatedDOMWheelEvent::which):
11820 * DOMHTMLClasses.cpp:
11821 (DeprecatedDOMHTMLCollection::DeprecatedDOMHTMLCollection):
11822 (DeprecatedDOMHTMLCollection::createInstance):
11823 (DeprecatedDOMHTMLCollection::QueryInterface):
11824 (DeprecatedDOMHTMLCollection::length):
11825 (DeprecatedDOMHTMLCollection::item):
11826 (DeprecatedDOMHTMLCollection::namedItem):
11827 (DeprecatedDOMHTMLOptionsCollection::QueryInterface):
11828 (DeprecatedDOMHTMLOptionsCollection::length):
11829 (DeprecatedDOMHTMLOptionsCollection::setLength):
11830 (DeprecatedDOMHTMLOptionsCollection::item):
11831 (DeprecatedDOMHTMLOptionsCollection::namedItem):
11832 (DeprecatedDOMHTMLDocument::QueryInterface):
11833 (DeprecatedDOMHTMLDocument::title):
11834 (DeprecatedDOMHTMLDocument::setTitle):
11835 (DeprecatedDOMHTMLDocument::referrer):
11836 (DeprecatedDOMHTMLDocument::domain):
11837 (DeprecatedDOMHTMLDocument::URL):
11838 (DeprecatedDOMHTMLDocument::body):
11839 (DeprecatedDOMHTMLDocument::setBody):
11840 (DeprecatedDOMHTMLDocument::images):
11841 (DeprecatedDOMHTMLDocument::applets):
11842 (DeprecatedDOMHTMLDocument::links):
11843 (DeprecatedDOMHTMLDocument::forms):
11844 (DeprecatedDOMHTMLDocument::anchors):
11845 (DeprecatedDOMHTMLDocument::cookie):
11846 (DeprecatedDOMHTMLDocument::setCookie):
11847 (DeprecatedDOMHTMLDocument::open):
11848 (DeprecatedDOMHTMLDocument::close):
11849 (DeprecatedDOMHTMLDocument::write):
11850 (DeprecatedDOMHTMLDocument::writeln):
11851 (DeprecatedDOMHTMLDocument::getElementById_):
11852 (DeprecatedDOMHTMLDocument::getElementsByName):
11853 (DeprecatedDOMHTMLElement::QueryInterface):
11854 (DeprecatedDOMHTMLElement::idName):
11855 (DeprecatedDOMHTMLElement::setIdName):
11856 (DeprecatedDOMHTMLElement::title):
11857 (DeprecatedDOMHTMLElement::setTitle):
11858 (DeprecatedDOMHTMLElement::lang):
11859 (DeprecatedDOMHTMLElement::setLang):
11860 (DeprecatedDOMHTMLElement::dir):
11861 (DeprecatedDOMHTMLElement::setDir):
11862 (DeprecatedDOMHTMLElement::className):
11863 (DeprecatedDOMHTMLElement::setClassName):
11864 (DeprecatedDOMHTMLElement::innerHTML):
11865 (DeprecatedDOMHTMLElement::setInnerHTML):
11866 (DeprecatedDOMHTMLElement::innerText):
11867 (DeprecatedDOMHTMLElement::setInnerText):
11868 (DeprecatedDOMHTMLFormElement::QueryInterface):
11869 (DeprecatedDOMHTMLFormElement::elements):
11870 (DeprecatedDOMHTMLFormElement::length):
11871 (DeprecatedDOMHTMLFormElement::name):
11872 (DeprecatedDOMHTMLFormElement::setName):
11873 (DeprecatedDOMHTMLFormElement::acceptCharset):
11874 (DeprecatedDOMHTMLFormElement::setAcceptCharset):
11875 (DeprecatedDOMHTMLFormElement::action):
11876 (DeprecatedDOMHTMLFormElement::setAction):
11877 (DeprecatedDOMHTMLFormElement::encType):
11878 (DeprecatedDOMHTMLFormElement::setEnctype):
11879 (DeprecatedDOMHTMLFormElement::method):
11880 (DeprecatedDOMHTMLFormElement::setMethod):
11881 (DeprecatedDOMHTMLFormElement::target):
11882 (DeprecatedDOMHTMLFormElement::setTarget):
11883 (DeprecatedDOMHTMLFormElement::submit):
11884 (DeprecatedDOMHTMLFormElement::reset):
11885 (DeprecatedDOMHTMLSelectElement::QueryInterface):
11886 (DeprecatedDOMHTMLSelectElement::type):
11887 (DeprecatedDOMHTMLSelectElement::selectedIndex):
11888 (DeprecatedDOMHTMLSelectElement::setSelectedIndx):
11889 (DeprecatedDOMHTMLSelectElement::value):
11890 (DeprecatedDOMHTMLSelectElement::setValue):
11891 (DeprecatedDOMHTMLSelectElement::length):
11892 (DeprecatedDOMHTMLSelectElement::form):
11893 (DeprecatedDOMHTMLSelectElement::options):
11894 (DeprecatedDOMHTMLSelectElement::disabled):
11895 (DeprecatedDOMHTMLSelectElement::setDisabled):
11896 (DeprecatedDOMHTMLSelectElement::multiple):
11897 (DeprecatedDOMHTMLSelectElement::setMultiple):
11898 (DeprecatedDOMHTMLSelectElement::name):
11899 (DeprecatedDOMHTMLSelectElement::setName):
11900 (DeprecatedDOMHTMLSelectElement::size):
11901 (DeprecatedDOMHTMLSelectElement::setSize):
11902 (DeprecatedDOMHTMLSelectElement::tabIndex):
11903 (DeprecatedDOMHTMLSelectElement::setTabIndex):
11904 (DeprecatedDOMHTMLSelectElement::add):
11905 (DeprecatedDOMHTMLSelectElement::remove):
11906 (DeprecatedDOMHTMLSelectElement::activateItemAtIndex):
11907 (DeprecatedDOMHTMLOptionElement::QueryInterface):
11908 (DeprecatedDOMHTMLOptionElement::form):
11909 (DeprecatedDOMHTMLOptionElement::defaultSelected):
11910 (DeprecatedDOMHTMLOptionElement::setDefaultSelected):
11911 (DeprecatedDOMHTMLOptionElement::text):
11912 (DeprecatedDOMHTMLOptionElement::index):
11913 (DeprecatedDOMHTMLOptionElement::disabled):
11914 (DeprecatedDOMHTMLOptionElement::setDisabled):
11915 (DeprecatedDOMHTMLOptionElement::label):
11916 (DeprecatedDOMHTMLOptionElement::setLabel):
11917 (DeprecatedDOMHTMLOptionElement::selected):
11918 (DeprecatedDOMHTMLOptionElement::setSelected):
11919 (DeprecatedDOMHTMLOptionElement::value):
11920 (DeprecatedDOMHTMLOptionElement::setValue):
11921 (DeprecatedDOMHTMLInputElement::QueryInterface):
11922 (DeprecatedDOMHTMLInputElement::defaultValue):
11923 (DeprecatedDOMHTMLInputElement::setDefaultValue):
11924 (DeprecatedDOMHTMLInputElement::defaultChecked):
11925 (DeprecatedDOMHTMLInputElement::setDefaultChecked):
11926 (DeprecatedDOMHTMLInputElement::form):
11927 (DeprecatedDOMHTMLInputElement::accept):
11928 (DeprecatedDOMHTMLInputElement::setAccept):
11929 (DeprecatedDOMHTMLInputElement::accessKey):
11930 (DeprecatedDOMHTMLInputElement::setAccessKey):
11931 (DeprecatedDOMHTMLInputElement::align):
11932 (DeprecatedDOMHTMLInputElement::setAlign):
11933 (DeprecatedDOMHTMLInputElement::alt):
11934 (DeprecatedDOMHTMLInputElement::setAlt):
11935 (DeprecatedDOMHTMLInputElement::checked):
11936 (DeprecatedDOMHTMLInputElement::setChecked):
11937 (DeprecatedDOMHTMLInputElement::disabled):
11938 (DeprecatedDOMHTMLInputElement::setDisabled):
11939 (DeprecatedDOMHTMLInputElement::maxLength):
11940 (DeprecatedDOMHTMLInputElement::setMaxLength):
11941 (DeprecatedDOMHTMLInputElement::name):
11942 (DeprecatedDOMHTMLInputElement::setName):
11943 (DeprecatedDOMHTMLInputElement::readOnly):
11944 (DeprecatedDOMHTMLInputElement::setReadOnly):
11945 (DeprecatedDOMHTMLInputElement::size):
11946 (DeprecatedDOMHTMLInputElement::setSize):
11947 (DeprecatedDOMHTMLInputElement::src):
11948 (DeprecatedDOMHTMLInputElement::setSrc):
11949 (DeprecatedDOMHTMLInputElement::tabIndex):
11950 (DeprecatedDOMHTMLInputElement::setTabIndex):
11951 (DeprecatedDOMHTMLInputElement::type):
11952 (DeprecatedDOMHTMLInputElement::setType):
11953 (DeprecatedDOMHTMLInputElement::useMap):
11954 (DeprecatedDOMHTMLInputElement::setUseMap):
11955 (DeprecatedDOMHTMLInputElement::value):
11956 (DeprecatedDOMHTMLInputElement::setValue):
11957 (DeprecatedDOMHTMLInputElement::select):
11958 (DeprecatedDOMHTMLInputElement::click):
11959 (DeprecatedDOMHTMLInputElement::setSelectionStart):
11960 (DeprecatedDOMHTMLInputElement::selectionStart):
11961 (DeprecatedDOMHTMLInputElement::setSelectionEnd):
11962 (DeprecatedDOMHTMLInputElement::selectionEnd):
11963 (DeprecatedDOMHTMLInputElement::isTextField):
11964 (DeprecatedDOMHTMLInputElement::rectOnScreen):
11965 (DeprecatedDOMHTMLInputElement::replaceCharactersInRange):
11966 (DeprecatedDOMHTMLInputElement::selectedRange):
11967 (DeprecatedDOMHTMLInputElement::setAutofilled):
11968 (DeprecatedDOMHTMLInputElement::isUserEdited):
11969 (DeprecatedDOMHTMLTextAreaElement::QueryInterface):
11970 (DeprecatedDOMHTMLTextAreaElement::defaultValue):
11971 (DeprecatedDOMHTMLTextAreaElement::setDefaultValue):
11972 (DeprecatedDOMHTMLTextAreaElement::form):
11973 (DeprecatedDOMHTMLTextAreaElement::accessKey):
11974 (DeprecatedDOMHTMLTextAreaElement::setAccessKey):
11975 (DeprecatedDOMHTMLTextAreaElement::cols):
11976 (DeprecatedDOMHTMLTextAreaElement::setCols):
11977 (DeprecatedDOMHTMLTextAreaElement::disabled):
11978 (DeprecatedDOMHTMLTextAreaElement::setDisabled):
11979 (DeprecatedDOMHTMLTextAreaElement::name):
11980 (DeprecatedDOMHTMLTextAreaElement::setName):
11981 (DeprecatedDOMHTMLTextAreaElement::readOnly):
11982 (DeprecatedDOMHTMLTextAreaElement::setReadOnly):
11983 (DeprecatedDOMHTMLTextAreaElement::rows):
11984 (DeprecatedDOMHTMLTextAreaElement::setRows):
11985 (DeprecatedDOMHTMLTextAreaElement::tabIndex):
11986 (DeprecatedDOMHTMLTextAreaElement::setTabIndex):
11987 (DeprecatedDOMHTMLTextAreaElement::type):
11988 (DeprecatedDOMHTMLTextAreaElement::value):
11989 (DeprecatedDOMHTMLTextAreaElement::setValue):
11990 (DeprecatedDOMHTMLTextAreaElement::select):
11991 (DeprecatedDOMHTMLTextAreaElement::isUserEdited):
11992 * DOMHTMLClasses.h:
11993 (DeprecatedDOMHTMLCollection::AddRef):
11994 (DeprecatedDOMHTMLCollection::Release):
11995 (DeprecatedDOMHTMLCollection::throwException):
11996 (DeprecatedDOMHTMLCollection::callWebScriptMethod):
11997 (DeprecatedDOMHTMLCollection::evaluateWebScript):
11998 (DeprecatedDOMHTMLCollection::removeWebScriptKey):
11999 (DeprecatedDOMHTMLCollection::stringRepresentation):
12000 (DeprecatedDOMHTMLCollection::webScriptValueAtIndex):
12001 (DeprecatedDOMHTMLCollection::setWebScriptValueAtIndex):
12002 (DeprecatedDOMHTMLCollection::setException):
12003 (DeprecatedDOMHTMLOptionsCollection::AddRef):
12004 (DeprecatedDOMHTMLOptionsCollection::Release):
12005 (DeprecatedDOMHTMLOptionsCollection::throwException):
12006 (DeprecatedDOMHTMLOptionsCollection::callWebScriptMethod):
12007 (DeprecatedDOMHTMLOptionsCollection::evaluateWebScript):
12008 (DeprecatedDOMHTMLOptionsCollection::removeWebScriptKey):
12009 (DeprecatedDOMHTMLOptionsCollection::stringRepresentation):
12010 (DeprecatedDOMHTMLOptionsCollection::webScriptValueAtIndex):
12011 (DeprecatedDOMHTMLOptionsCollection::setWebScriptValueAtIndex):
12012 (DeprecatedDOMHTMLOptionsCollection::setException):
12013 (DeprecatedDOMHTMLDocument::DeprecatedDOMHTMLDocument):
12014 (DeprecatedDOMHTMLDocument::AddRef):
12015 (DeprecatedDOMHTMLDocument::Release):
12016 (DeprecatedDOMHTMLDocument::throwException):
12017 (DeprecatedDOMHTMLDocument::callWebScriptMethod):
12018 (DeprecatedDOMHTMLDocument::evaluateWebScript):
12019 (DeprecatedDOMHTMLDocument::removeWebScriptKey):
12020 (DeprecatedDOMHTMLDocument::stringRepresentation):
12021 (DeprecatedDOMHTMLDocument::webScriptValueAtIndex):
12022 (DeprecatedDOMHTMLDocument::setWebScriptValueAtIndex):
12023 (DeprecatedDOMHTMLDocument::setException):
12024 (DeprecatedDOMHTMLDocument::nodeName):
12025 (DeprecatedDOMHTMLDocument::nodeValue):
12026 (DeprecatedDOMHTMLDocument::nodeType):
12027 (DeprecatedDOMHTMLDocument::parentNode):
12028 (DeprecatedDOMHTMLDocument::childNodes):
12029 (DeprecatedDOMHTMLDocument::firstChild):
12030 (DeprecatedDOMHTMLDocument::lastChild):
12031 (DeprecatedDOMHTMLDocument::previousSibling):
12032 (DeprecatedDOMHTMLDocument::nextSibling):
12033 (DeprecatedDOMHTMLDocument::attributes):
12034 (DeprecatedDOMHTMLDocument::ownerDocument):
12035 (DeprecatedDOMHTMLDocument::insertBefore):
12036 (DeprecatedDOMHTMLDocument::replaceChild):
12037 (DeprecatedDOMHTMLDocument::removeChild):
12038 (DeprecatedDOMHTMLDocument::appendChild):
12039 (DeprecatedDOMHTMLDocument::hasChildNodes):
12040 (DeprecatedDOMHTMLDocument::cloneNode):
12041 (DeprecatedDOMHTMLDocument::normalize):
12042 (DeprecatedDOMHTMLDocument::isSupported):
12043 (DeprecatedDOMHTMLDocument::namespaceURI):
12044 (DeprecatedDOMHTMLDocument::prefix):
12045 (DeprecatedDOMHTMLDocument::setPrefix):
12046 (DeprecatedDOMHTMLDocument::localName):
12047 (DeprecatedDOMHTMLDocument::hasAttributes):
12048 (DeprecatedDOMHTMLDocument::isSameNode):
12049 (DeprecatedDOMHTMLDocument::isEqualNode):
12050 (DeprecatedDOMHTMLDocument::textContent):
12051 (DeprecatedDOMHTMLDocument::setTextContent):
12052 (DeprecatedDOMHTMLDocument::doctype):
12053 (DeprecatedDOMHTMLDocument::implementation):
12054 (DeprecatedDOMHTMLDocument::documentElement):
12055 (DeprecatedDOMHTMLDocument::createElement):
12056 (DeprecatedDOMHTMLDocument::createDocumentFragment):
12057 (DeprecatedDOMHTMLDocument::createTextNode):
12058 (DeprecatedDOMHTMLDocument::createComment):
12059 (DeprecatedDOMHTMLDocument::createCDATASection):
12060 (DeprecatedDOMHTMLDocument::createProcessingInstruction):
12061 (DeprecatedDOMHTMLDocument::createAttribute):
12062 (DeprecatedDOMHTMLDocument::createEntityReference):
12063 (DeprecatedDOMHTMLDocument::getElementsByTagName):
12064 (DeprecatedDOMHTMLDocument::importNode):
12065 (DeprecatedDOMHTMLDocument::createElementNS):
12066 (DeprecatedDOMHTMLDocument::createAttributeNS):
12067 (DeprecatedDOMHTMLDocument::getElementsByTagNameNS):
12068 (DeprecatedDOMHTMLDocument::getElementById):
12069 (DeprecatedDOMHTMLElement::DeprecatedDOMHTMLElement):
12070 (DeprecatedDOMHTMLElement::AddRef):
12071 (DeprecatedDOMHTMLElement::Release):
12072 (DeprecatedDOMHTMLElement::throwException):
12073 (DeprecatedDOMHTMLElement::callWebScriptMethod):
12074 (DeprecatedDOMHTMLElement::evaluateWebScript):
12075 (DeprecatedDOMHTMLElement::removeWebScriptKey):
12076 (DeprecatedDOMHTMLElement::stringRepresentation):
12077 (DeprecatedDOMHTMLElement::webScriptValueAtIndex):
12078 (DeprecatedDOMHTMLElement::setWebScriptValueAtIndex):
12079 (DeprecatedDOMHTMLElement::setException):
12080 (DeprecatedDOMHTMLElement::nodeName):
12081 (DeprecatedDOMHTMLElement::nodeValue):
12082 (DeprecatedDOMHTMLElement::setNodeValue):
12083 (DeprecatedDOMHTMLElement::nodeType):
12084 (DeprecatedDOMHTMLElement::parentNode):
12085 (DeprecatedDOMHTMLElement::childNodes):
12086 (DeprecatedDOMHTMLElement::firstChild):
12087 (DeprecatedDOMHTMLElement::lastChild):
12088 (DeprecatedDOMHTMLElement::previousSibling):
12089 (DeprecatedDOMHTMLElement::nextSibling):
12090 (DeprecatedDOMHTMLElement::attributes):
12091 (DeprecatedDOMHTMLElement::ownerDocument):
12092 (DeprecatedDOMHTMLElement::insertBefore):
12093 (DeprecatedDOMHTMLElement::replaceChild):
12094 (DeprecatedDOMHTMLElement::removeChild):
12095 (DeprecatedDOMHTMLElement::appendChild):
12096 (DeprecatedDOMHTMLElement::hasChildNodes):
12097 (DeprecatedDOMHTMLElement::cloneNode):
12098 (DeprecatedDOMHTMLElement::normalize):
12099 (DeprecatedDOMHTMLElement::isSupported):
12100 (DeprecatedDOMHTMLElement::namespaceURI):
12101 (DeprecatedDOMHTMLElement::prefix):
12102 (DeprecatedDOMHTMLElement::setPrefix):
12103 (DeprecatedDOMHTMLElement::localName):
12104 (DeprecatedDOMHTMLElement::hasAttributes):
12105 (DeprecatedDOMHTMLElement::isSameNode):
12106 (DeprecatedDOMHTMLElement::isEqualNode):
12107 (DeprecatedDOMHTMLElement::textContent):
12108 (DeprecatedDOMHTMLElement::setTextContent):
12109 (DeprecatedDOMHTMLElement::tagName):
12110 (DeprecatedDOMHTMLElement::getAttribute):
12111 (DeprecatedDOMHTMLElement::setAttribute):
12112 (DeprecatedDOMHTMLElement::removeAttribute):
12113 (DeprecatedDOMHTMLElement::getAttributeNode):
12114 (DeprecatedDOMHTMLElement::setAttributeNode):
12115 (DeprecatedDOMHTMLElement::removeAttributeNode):
12116 (DeprecatedDOMHTMLElement::getElementsByTagName):
12117 (DeprecatedDOMHTMLElement::getAttributeNS):
12118 (DeprecatedDOMHTMLElement::setAttributeNS):
12119 (DeprecatedDOMHTMLElement::removeAttributeNS):
12120 (DeprecatedDOMHTMLElement::getAttributeNodeNS):
12121 (DeprecatedDOMHTMLElement::setAttributeNodeNS):
12122 (DeprecatedDOMHTMLElement::getElementsByTagNameNS):
12123 (DeprecatedDOMHTMLElement::hasAttribute):
12124 (DeprecatedDOMHTMLElement::hasAttributeNS):
12125 (DeprecatedDOMHTMLElement::focus):
12126 (DeprecatedDOMHTMLElement::blur):
12127 (DeprecatedDOMHTMLFormElement::DeprecatedDOMHTMLFormElement):
12128 (DeprecatedDOMHTMLFormElement::AddRef):
12129 (DeprecatedDOMHTMLFormElement::Release):
12130 (DeprecatedDOMHTMLFormElement::throwException):
12131 (DeprecatedDOMHTMLFormElement::callWebScriptMethod):
12132 (DeprecatedDOMHTMLFormElement::evaluateWebScript):
12133 (DeprecatedDOMHTMLFormElement::removeWebScriptKey):
12134 (DeprecatedDOMHTMLFormElement::stringRepresentation):
12135 (DeprecatedDOMHTMLFormElement::webScriptValueAtIndex):
12136 (DeprecatedDOMHTMLFormElement::setWebScriptValueAtIndex):
12137 (DeprecatedDOMHTMLFormElement::setException):
12138 (DeprecatedDOMHTMLFormElement::nodeName):
12139 (DeprecatedDOMHTMLFormElement::nodeValue):
12140 (DeprecatedDOMHTMLFormElement::setNodeValue):
12141 (DeprecatedDOMHTMLFormElement::nodeType):
12142 (DeprecatedDOMHTMLFormElement::parentNode):
12143 (DeprecatedDOMHTMLFormElement::childNodes):
12144 (DeprecatedDOMHTMLFormElement::firstChild):
12145 (DeprecatedDOMHTMLFormElement::lastChild):
12146 (DeprecatedDOMHTMLFormElement::previousSibling):
12147 (DeprecatedDOMHTMLFormElement::nextSibling):
12148 (DeprecatedDOMHTMLFormElement::attributes):
12149 (DeprecatedDOMHTMLFormElement::ownerDocument):
12150 (DeprecatedDOMHTMLFormElement::insertBefore):
12151 (DeprecatedDOMHTMLFormElement::replaceChild):
12152 (DeprecatedDOMHTMLFormElement::removeChild):
12153 (DeprecatedDOMHTMLFormElement::appendChild):
12154 (DeprecatedDOMHTMLFormElement::hasChildNodes):
12155 (DeprecatedDOMHTMLFormElement::cloneNode):
12156 (DeprecatedDOMHTMLFormElement::normalize):
12157 (DeprecatedDOMHTMLFormElement::isSupported):
12158 (DeprecatedDOMHTMLFormElement::namespaceURI):
12159 (DeprecatedDOMHTMLFormElement::prefix):
12160 (DeprecatedDOMHTMLFormElement::setPrefix):
12161 (DeprecatedDOMHTMLFormElement::localName):
12162 (DeprecatedDOMHTMLFormElement::hasAttributes):
12163 (DeprecatedDOMHTMLFormElement::isSameNode):
12164 (DeprecatedDOMHTMLFormElement::isEqualNode):
12165 (DeprecatedDOMHTMLFormElement::textContent):
12166 (DeprecatedDOMHTMLFormElement::setTextContent):
12167 (DeprecatedDOMHTMLFormElement::tagName):
12168 (DeprecatedDOMHTMLFormElement::getAttribute):
12169 (DeprecatedDOMHTMLFormElement::setAttribute):
12170 (DeprecatedDOMHTMLFormElement::removeAttribute):
12171 (DeprecatedDOMHTMLFormElement::getAttributeNode):
12172 (DeprecatedDOMHTMLFormElement::setAttributeNode):
12173 (DeprecatedDOMHTMLFormElement::removeAttributeNode):
12174 (DeprecatedDOMHTMLFormElement::getElementsByTagName):
12175 (DeprecatedDOMHTMLFormElement::getAttributeNS):
12176 (DeprecatedDOMHTMLFormElement::setAttributeNS):
12177 (DeprecatedDOMHTMLFormElement::removeAttributeNS):
12178 (DeprecatedDOMHTMLFormElement::getAttributeNodeNS):
12179 (DeprecatedDOMHTMLFormElement::setAttributeNodeNS):
12180 (DeprecatedDOMHTMLFormElement::getElementsByTagNameNS):
12181 (DeprecatedDOMHTMLFormElement::hasAttribute):
12182 (DeprecatedDOMHTMLFormElement::hasAttributeNS):
12183 (DeprecatedDOMHTMLFormElement::focus):
12184 (DeprecatedDOMHTMLFormElement::blur):
12185 (DeprecatedDOMHTMLFormElement::idName):
12186 (DeprecatedDOMHTMLFormElement::setIdName):
12187 (DeprecatedDOMHTMLFormElement::title):
12188 (DeprecatedDOMHTMLFormElement::setTitle):
12189 (DeprecatedDOMHTMLFormElement::lang):
12190 (DeprecatedDOMHTMLFormElement::setLang):
12191 (DeprecatedDOMHTMLFormElement::dir):
12192 (DeprecatedDOMHTMLFormElement::setDir):
12193 (DeprecatedDOMHTMLFormElement::className):
12194 (DeprecatedDOMHTMLFormElement::setClassName):
12195 (DeprecatedDOMHTMLFormElement::innerHTML):
12196 (DeprecatedDOMHTMLFormElement::setInnerHTML):
12197 (DeprecatedDOMHTMLFormElement::innerText):
12198 (DeprecatedDOMHTMLFormElement::setInnerText):
12199 (DeprecatedDOMHTMLSelectElement::DeprecatedDOMHTMLSelectElement):
12200 (DeprecatedDOMHTMLSelectElement::AddRef):
12201 (DeprecatedDOMHTMLSelectElement::Release):
12202 (DeprecatedDOMHTMLSelectElement::throwException):
12203 (DeprecatedDOMHTMLSelectElement::callWebScriptMethod):
12204 (DeprecatedDOMHTMLSelectElement::evaluateWebScript):
12205 (DeprecatedDOMHTMLSelectElement::removeWebScriptKey):
12206 (DeprecatedDOMHTMLSelectElement::stringRepresentation):
12207 (DeprecatedDOMHTMLSelectElement::webScriptValueAtIndex):
12208 (DeprecatedDOMHTMLSelectElement::setWebScriptValueAtIndex):
12209 (DeprecatedDOMHTMLSelectElement::setException):
12210 (DeprecatedDOMHTMLSelectElement::nodeName):
12211 (DeprecatedDOMHTMLSelectElement::nodeValue):
12212 (DeprecatedDOMHTMLSelectElement::setNodeValue):
12213 (DeprecatedDOMHTMLSelectElement::nodeType):
12214 (DeprecatedDOMHTMLSelectElement::parentNode):
12215 (DeprecatedDOMHTMLSelectElement::childNodes):
12216 (DeprecatedDOMHTMLSelectElement::firstChild):
12217 (DeprecatedDOMHTMLSelectElement::lastChild):
12218 (DeprecatedDOMHTMLSelectElement::previousSibling):
12219 (DeprecatedDOMHTMLSelectElement::nextSibling):
12220 (DeprecatedDOMHTMLSelectElement::attributes):
12221 (DeprecatedDOMHTMLSelectElement::ownerDocument):
12222 (DeprecatedDOMHTMLSelectElement::insertBefore):
12223 (DeprecatedDOMHTMLSelectElement::replaceChild):
12224 (DeprecatedDOMHTMLSelectElement::removeChild):
12225 (DeprecatedDOMHTMLSelectElement::appendChild):
12226 (DeprecatedDOMHTMLSelectElement::hasChildNodes):
12227 (DeprecatedDOMHTMLSelectElement::cloneNode):
12228 (DeprecatedDOMHTMLSelectElement::normalize):
12229 (DeprecatedDOMHTMLSelectElement::isSupported):
12230 (DeprecatedDOMHTMLSelectElement::namespaceURI):
12231 (DeprecatedDOMHTMLSelectElement::prefix):
12232 (DeprecatedDOMHTMLSelectElement::setPrefix):
12233 (DeprecatedDOMHTMLSelectElement::localName):
12234 (DeprecatedDOMHTMLSelectElement::hasAttributes):
12235 (DeprecatedDOMHTMLSelectElement::isSameNode):
12236 (DeprecatedDOMHTMLSelectElement::isEqualNode):
12237 (DeprecatedDOMHTMLSelectElement::textContent):
12238 (DeprecatedDOMHTMLSelectElement::setTextContent):
12239 (DeprecatedDOMHTMLSelectElement::tagName):
12240 (DeprecatedDOMHTMLSelectElement::getAttribute):
12241 (DeprecatedDOMHTMLSelectElement::setAttribute):
12242 (DeprecatedDOMHTMLSelectElement::removeAttribute):
12243 (DeprecatedDOMHTMLSelectElement::getAttributeNode):
12244 (DeprecatedDOMHTMLSelectElement::setAttributeNode):
12245 (DeprecatedDOMHTMLSelectElement::removeAttributeNode):
12246 (DeprecatedDOMHTMLSelectElement::getElementsByTagName):
12247 (DeprecatedDOMHTMLSelectElement::getAttributeNS):
12248 (DeprecatedDOMHTMLSelectElement::setAttributeNS):
12249 (DeprecatedDOMHTMLSelectElement::removeAttributeNS):
12250 (DeprecatedDOMHTMLSelectElement::getAttributeNodeNS):
12251 (DeprecatedDOMHTMLSelectElement::setAttributeNodeNS):
12252 (DeprecatedDOMHTMLSelectElement::getElementsByTagNameNS):
12253 (DeprecatedDOMHTMLSelectElement::hasAttribute):
12254 (DeprecatedDOMHTMLSelectElement::hasAttributeNS):
12255 (DeprecatedDOMHTMLSelectElement::focus):
12256 (DeprecatedDOMHTMLSelectElement::blur):
12257 (DeprecatedDOMHTMLSelectElement::idName):
12258 (DeprecatedDOMHTMLSelectElement::setIdName):
12259 (DeprecatedDOMHTMLSelectElement::title):
12260 (DeprecatedDOMHTMLSelectElement::setTitle):
12261 (DeprecatedDOMHTMLSelectElement::lang):
12262 (DeprecatedDOMHTMLSelectElement::setLang):
12263 (DeprecatedDOMHTMLSelectElement::dir):
12264 (DeprecatedDOMHTMLSelectElement::setDir):
12265 (DeprecatedDOMHTMLSelectElement::className):
12266 (DeprecatedDOMHTMLSelectElement::setClassName):
12267 (DeprecatedDOMHTMLSelectElement::innerHTML):
12268 (DeprecatedDOMHTMLSelectElement::setInnerHTML):
12269 (DeprecatedDOMHTMLSelectElement::innerText):
12270 (DeprecatedDOMHTMLSelectElement::setInnerText):
12271 (DeprecatedDOMHTMLOptionElement::DeprecatedDOMHTMLOptionElement):
12272 (DeprecatedDOMHTMLOptionElement::AddRef):
12273 (DeprecatedDOMHTMLOptionElement::Release):
12274 (DeprecatedDOMHTMLOptionElement::throwException):
12275 (DeprecatedDOMHTMLOptionElement::callWebScriptMethod):
12276 (DeprecatedDOMHTMLOptionElement::evaluateWebScript):
12277 (DeprecatedDOMHTMLOptionElement::removeWebScriptKey):
12278 (DeprecatedDOMHTMLOptionElement::stringRepresentation):
12279 (DeprecatedDOMHTMLOptionElement::webScriptValueAtIndex):
12280 (DeprecatedDOMHTMLOptionElement::setWebScriptValueAtIndex):
12281 (DeprecatedDOMHTMLOptionElement::setException):
12282 (DeprecatedDOMHTMLOptionElement::nodeName):
12283 (DeprecatedDOMHTMLOptionElement::nodeValue):
12284 (DeprecatedDOMHTMLOptionElement::setNodeValue):
12285 (DeprecatedDOMHTMLOptionElement::nodeType):
12286 (DeprecatedDOMHTMLOptionElement::parentNode):
12287 (DeprecatedDOMHTMLOptionElement::childNodes):
12288 (DeprecatedDOMHTMLOptionElement::firstChild):
12289 (DeprecatedDOMHTMLOptionElement::lastChild):
12290 (DeprecatedDOMHTMLOptionElement::previousSibling):
12291 (DeprecatedDOMHTMLOptionElement::nextSibling):
12292 (DeprecatedDOMHTMLOptionElement::attributes):
12293 (DeprecatedDOMHTMLOptionElement::ownerDocument):
12294 (DeprecatedDOMHTMLOptionElement::insertBefore):
12295 (DeprecatedDOMHTMLOptionElement::replaceChild):
12296 (DeprecatedDOMHTMLOptionElement::removeChild):
12297 (DeprecatedDOMHTMLOptionElement::appendChild):
12298 (DeprecatedDOMHTMLOptionElement::hasChildNodes):
12299 (DeprecatedDOMHTMLOptionElement::cloneNode):
12300 (DeprecatedDOMHTMLOptionElement::normalize):
12301 (DeprecatedDOMHTMLOptionElement::isSupported):
12302 (DeprecatedDOMHTMLOptionElement::namespaceURI):
12303 (DeprecatedDOMHTMLOptionElement::prefix):
12304 (DeprecatedDOMHTMLOptionElement::setPrefix):
12305 (DeprecatedDOMHTMLOptionElement::localName):
12306 (DeprecatedDOMHTMLOptionElement::hasAttributes):
12307 (DeprecatedDOMHTMLOptionElement::isSameNode):
12308 (DeprecatedDOMHTMLOptionElement::isEqualNode):
12309 (DeprecatedDOMHTMLOptionElement::textContent):
12310 (DeprecatedDOMHTMLOptionElement::setTextContent):
12311 (DeprecatedDOMHTMLOptionElement::tagName):
12312 (DeprecatedDOMHTMLOptionElement::getAttribute):
12313 (DeprecatedDOMHTMLOptionElement::setAttribute):
12314 (DeprecatedDOMHTMLOptionElement::removeAttribute):
12315 (DeprecatedDOMHTMLOptionElement::getAttributeNode):
12316 (DeprecatedDOMHTMLOptionElement::setAttributeNode):
12317 (DeprecatedDOMHTMLOptionElement::removeAttributeNode):
12318 (DeprecatedDOMHTMLOptionElement::getElementsByTagName):
12319 (DeprecatedDOMHTMLOptionElement::getAttributeNS):
12320 (DeprecatedDOMHTMLOptionElement::setAttributeNS):
12321 (DeprecatedDOMHTMLOptionElement::removeAttributeNS):
12322 (DeprecatedDOMHTMLOptionElement::getAttributeNodeNS):
12323 (DeprecatedDOMHTMLOptionElement::setAttributeNodeNS):
12324 (DeprecatedDOMHTMLOptionElement::getElementsByTagNameNS):
12325 (DeprecatedDOMHTMLOptionElement::hasAttribute):
12326 (DeprecatedDOMHTMLOptionElement::hasAttributeNS):
12327 (DeprecatedDOMHTMLOptionElement::focus):
12328 (DeprecatedDOMHTMLOptionElement::blur):
12329 (DeprecatedDOMHTMLOptionElement::idName):
12330 (DeprecatedDOMHTMLOptionElement::setIdName):
12331 (DeprecatedDOMHTMLOptionElement::title):
12332 (DeprecatedDOMHTMLOptionElement::setTitle):
12333 (DeprecatedDOMHTMLOptionElement::lang):
12334 (DeprecatedDOMHTMLOptionElement::setLang):
12335 (DeprecatedDOMHTMLOptionElement::dir):
12336 (DeprecatedDOMHTMLOptionElement::setDir):
12337 (DeprecatedDOMHTMLOptionElement::className):
12338 (DeprecatedDOMHTMLOptionElement::setClassName):
12339 (DeprecatedDOMHTMLOptionElement::innerHTML):
12340 (DeprecatedDOMHTMLOptionElement::setInnerHTML):
12341 (DeprecatedDOMHTMLOptionElement::innerText):
12342 (DeprecatedDOMHTMLOptionElement::setInnerText):
12343 (DeprecatedDOMHTMLInputElement::DeprecatedDOMHTMLInputElement):
12344 (DeprecatedDOMHTMLInputElement::AddRef):
12345 (DeprecatedDOMHTMLInputElement::Release):
12346 (DeprecatedDOMHTMLInputElement::throwException):
12347 (DeprecatedDOMHTMLInputElement::callWebScriptMethod):
12348 (DeprecatedDOMHTMLInputElement::evaluateWebScript):
12349 (DeprecatedDOMHTMLInputElement::removeWebScriptKey):
12350 (DeprecatedDOMHTMLInputElement::stringRepresentation):
12351 (DeprecatedDOMHTMLInputElement::webScriptValueAtIndex):
12352 (DeprecatedDOMHTMLInputElement::setWebScriptValueAtIndex):
12353 (DeprecatedDOMHTMLInputElement::setException):
12354 (DeprecatedDOMHTMLInputElement::nodeName):
12355 (DeprecatedDOMHTMLInputElement::nodeValue):
12356 (DeprecatedDOMHTMLInputElement::setNodeValue):
12357 (DeprecatedDOMHTMLInputElement::nodeType):
12358 (DeprecatedDOMHTMLInputElement::parentNode):
12359 (DeprecatedDOMHTMLInputElement::childNodes):
12360 (DeprecatedDOMHTMLInputElement::firstChild):
12361 (DeprecatedDOMHTMLInputElement::lastChild):
12362 (DeprecatedDOMHTMLInputElement::previousSibling):
12363 (DeprecatedDOMHTMLInputElement::nextSibling):
12364 (DeprecatedDOMHTMLInputElement::attributes):
12365 (DeprecatedDOMHTMLInputElement::ownerDocument):
12366 (DeprecatedDOMHTMLInputElement::insertBefore):
12367 (DeprecatedDOMHTMLInputElement::replaceChild):
12368 (DeprecatedDOMHTMLInputElement::removeChild):
12369 (DeprecatedDOMHTMLInputElement::appendChild):
12370 (DeprecatedDOMHTMLInputElement::hasChildNodes):
12371 (DeprecatedDOMHTMLInputElement::cloneNode):
12372 (DeprecatedDOMHTMLInputElement::normalize):
12373 (DeprecatedDOMHTMLInputElement::isSupported):
12374 (DeprecatedDOMHTMLInputElement::namespaceURI):
12375 (DeprecatedDOMHTMLInputElement::prefix):
12376 (DeprecatedDOMHTMLInputElement::setPrefix):
12377 (DeprecatedDOMHTMLInputElement::localName):
12378 (DeprecatedDOMHTMLInputElement::hasAttributes):
12379 (DeprecatedDOMHTMLInputElement::isSameNode):
12380 (DeprecatedDOMHTMLInputElement::isEqualNode):
12381 (DeprecatedDOMHTMLInputElement::textContent):
12382 (DeprecatedDOMHTMLInputElement::setTextContent):
12383 (DeprecatedDOMHTMLInputElement::tagName):
12384 (DeprecatedDOMHTMLInputElement::getAttribute):
12385 (DeprecatedDOMHTMLInputElement::setAttribute):
12386 (DeprecatedDOMHTMLInputElement::removeAttribute):
12387 (DeprecatedDOMHTMLInputElement::getAttributeNode):
12388 (DeprecatedDOMHTMLInputElement::setAttributeNode):
12389 (DeprecatedDOMHTMLInputElement::removeAttributeNode):
12390 (DeprecatedDOMHTMLInputElement::getElementsByTagName):
12391 (DeprecatedDOMHTMLInputElement::getAttributeNS):
12392 (DeprecatedDOMHTMLInputElement::setAttributeNS):
12393 (DeprecatedDOMHTMLInputElement::removeAttributeNS):
12394 (DeprecatedDOMHTMLInputElement::getAttributeNodeNS):
12395 (DeprecatedDOMHTMLInputElement::setAttributeNodeNS):
12396 (DeprecatedDOMHTMLInputElement::getElementsByTagNameNS):
12397 (DeprecatedDOMHTMLInputElement::hasAttribute):
12398 (DeprecatedDOMHTMLInputElement::hasAttributeNS):
12399 (DeprecatedDOMHTMLInputElement::focus):
12400 (DeprecatedDOMHTMLInputElement::blur):
12401 (DeprecatedDOMHTMLInputElement::idName):
12402 (DeprecatedDOMHTMLInputElement::setIdName):
12403 (DeprecatedDOMHTMLInputElement::title):
12404 (DeprecatedDOMHTMLInputElement::setTitle):
12405 (DeprecatedDOMHTMLInputElement::lang):
12406 (DeprecatedDOMHTMLInputElement::setLang):
12407 (DeprecatedDOMHTMLInputElement::dir):
12408 (DeprecatedDOMHTMLInputElement::setDir):
12409 (DeprecatedDOMHTMLInputElement::className):
12410 (DeprecatedDOMHTMLInputElement::setClassName):
12411 (DeprecatedDOMHTMLInputElement::innerHTML):
12412 (DeprecatedDOMHTMLInputElement::setInnerHTML):
12413 (DeprecatedDOMHTMLInputElement::innerText):
12414 (DeprecatedDOMHTMLInputElement::setInnerText):
12415 (DeprecatedDOMHTMLTextAreaElement::DeprecatedDOMHTMLTextAreaElement):
12416 (DeprecatedDOMHTMLTextAreaElement::AddRef):
12417 (DeprecatedDOMHTMLTextAreaElement::Release):
12418 (DeprecatedDOMHTMLTextAreaElement::throwException):
12419 (DeprecatedDOMHTMLTextAreaElement::callWebScriptMethod):
12420 (DeprecatedDOMHTMLTextAreaElement::evaluateWebScript):
12421 (DeprecatedDOMHTMLTextAreaElement::removeWebScriptKey):
12422 (DeprecatedDOMHTMLTextAreaElement::stringRepresentation):
12423 (DeprecatedDOMHTMLTextAreaElement::webScriptValueAtIndex):
12424 (DeprecatedDOMHTMLTextAreaElement::setWebScriptValueAtIndex):
12425 (DeprecatedDOMHTMLTextAreaElement::setException):
12426 (DeprecatedDOMHTMLTextAreaElement::nodeName):
12427 (DeprecatedDOMHTMLTextAreaElement::nodeValue):
12428 (DeprecatedDOMHTMLTextAreaElement::setNodeValue):
12429 (DeprecatedDOMHTMLTextAreaElement::nodeType):
12430 (DeprecatedDOMHTMLTextAreaElement::parentNode):
12431 (DeprecatedDOMHTMLTextAreaElement::childNodes):
12432 (DeprecatedDOMHTMLTextAreaElement::firstChild):
12433 (DeprecatedDOMHTMLTextAreaElement::lastChild):
12434 (DeprecatedDOMHTMLTextAreaElement::previousSibling):
12435 (DeprecatedDOMHTMLTextAreaElement::nextSibling):
12436 (DeprecatedDOMHTMLTextAreaElement::attributes):
12437 (DeprecatedDOMHTMLTextAreaElement::ownerDocument):
12438 (DeprecatedDOMHTMLTextAreaElement::insertBefore):
12439 (DeprecatedDOMHTMLTextAreaElement::replaceChild):
12440 (DeprecatedDOMHTMLTextAreaElement::removeChild):
12441 (DeprecatedDOMHTMLTextAreaElement::appendChild):
12442 (DeprecatedDOMHTMLTextAreaElement::hasChildNodes):
12443 (DeprecatedDOMHTMLTextAreaElement::cloneNode):
12444 (DeprecatedDOMHTMLTextAreaElement::normalize):
12445 (DeprecatedDOMHTMLTextAreaElement::isSupported):
12446 (DeprecatedDOMHTMLTextAreaElement::namespaceURI):
12447 (DeprecatedDOMHTMLTextAreaElement::prefix):
12448 (DeprecatedDOMHTMLTextAreaElement::setPrefix):
12449 (DeprecatedDOMHTMLTextAreaElement::localName):
12450 (DeprecatedDOMHTMLTextAreaElement::hasAttributes):
12451 (DeprecatedDOMHTMLTextAreaElement::isSameNode):
12452 (DeprecatedDOMHTMLTextAreaElement::isEqualNode):
12453 (DeprecatedDOMHTMLTextAreaElement::textContent):
12454 (DeprecatedDOMHTMLTextAreaElement::setTextContent):
12455 (DeprecatedDOMHTMLTextAreaElement::tagName):
12456 (DeprecatedDOMHTMLTextAreaElement::getAttribute):
12457 (DeprecatedDOMHTMLTextAreaElement::setAttribute):
12458 (DeprecatedDOMHTMLTextAreaElement::removeAttribute):
12459 (DeprecatedDOMHTMLTextAreaElement::getAttributeNode):
12460 (DeprecatedDOMHTMLTextAreaElement::setAttributeNode):
12461 (DeprecatedDOMHTMLTextAreaElement::removeAttributeNode):
12462 (DeprecatedDOMHTMLTextAreaElement::getElementsByTagName):
12463 (DeprecatedDOMHTMLTextAreaElement::getAttributeNS):
12464 (DeprecatedDOMHTMLTextAreaElement::setAttributeNS):
12465 (DeprecatedDOMHTMLTextAreaElement::removeAttributeNS):
12466 (DeprecatedDOMHTMLTextAreaElement::getAttributeNodeNS):
12467 (DeprecatedDOMHTMLTextAreaElement::setAttributeNodeNS):
12468 (DeprecatedDOMHTMLTextAreaElement::getElementsByTagNameNS):
12469 (DeprecatedDOMHTMLTextAreaElement::hasAttribute):
12470 (DeprecatedDOMHTMLTextAreaElement::hasAttributeNS):
12471 (DeprecatedDOMHTMLTextAreaElement::focus):
12472 (DeprecatedDOMHTMLTextAreaElement::blur):
12473 (DeprecatedDOMHTMLTextAreaElement::idName):
12474 (DeprecatedDOMHTMLTextAreaElement::setIdName):
12475 (DeprecatedDOMHTMLTextAreaElement::title):
12476 (DeprecatedDOMHTMLTextAreaElement::setTitle):
12477 (DeprecatedDOMHTMLTextAreaElement::lang):
12478 (DeprecatedDOMHTMLTextAreaElement::setLang):
12479 (DeprecatedDOMHTMLTextAreaElement::dir):
12480 (DeprecatedDOMHTMLTextAreaElement::setDir):
12481 (DeprecatedDOMHTMLTextAreaElement::className):
12482 (DeprecatedDOMHTMLTextAreaElement::setClassName):
12483 (DeprecatedDOMHTMLTextAreaElement::innerHTML):
12484 (DeprecatedDOMHTMLTextAreaElement::setInnerHTML):
12485 (DeprecatedDOMHTMLTextAreaElement::innerText):
12486 (DeprecatedDOMHTMLTextAreaElement::setInnerText):
12487 * Interfaces/DOMCSS.idl:
12488 * Interfaces/DOMCore.idl:
12489 * Interfaces/DOMEvents.idl:
12490 * Interfaces/DOMExtensions.idl:
12491 * Interfaces/DOMHTML.idl:
12492 * Interfaces/DOMPrivate.idl:
12493 * Interfaces/DOMRange.idl:
12494 * Interfaces/DOMWindow.idl:
12495 * Interfaces/IWebEditingDelegate.idl:
12496 * Interfaces/IWebFormDelegate.idl:
12497 * Interfaces/IWebFrame.idl:
12498 * Interfaces/IWebHTMLRepresentation.idl:
12499 * Interfaces/IWebView.idl:
12500 * WebEditorClient.cpp:
12501 (WebEditorClient::shouldDeleteRange):
12502 (WebEditorClient::shouldInsertText):
12503 (WebEditorClient::textFieldDidBeginEditing):
12504 (WebEditorClient::textFieldDidEndEditing):
12505 (WebEditorClient::textDidChangeInTextField):
12506 (WebEditorClient::doTextFieldCommandFromEvent):
12507 (WebEditorClient::textWillBeDeletedInTextField):
12508 (WebEditorClient::textDidChangeInTextArea):
12509 * WebElementPropertyBag.cpp:
12510 (WebElementPropertyBag::Read):
12512 (elementFromDOMElement):
12513 (formElementFromDOMElement):
12514 (inputElementFromDOMElement):
12515 (WebFrame::DOMDocument):
12516 (WebFrame::frameElement):
12517 (WebFrame::currentForm):
12518 (WebFrame::elementWithName):
12519 (WebFrame::formForElement):
12520 (WebFrame::elementDoesAutoComplete):
12521 (WebFrame::controlsInForm):
12522 (WebFrame::elementIsPassword):
12523 (WebFrame::searchForLabelsBeforeElement):
12524 (WebFrame::matchLabelsAgainstElement):
12525 (WebFrame::dispatchWillSubmitForm):
12527 * WebHTMLRepresentation.cpp:
12528 (WebHTMLRepresentation::attributedStringFromDOMNodes):
12529 (WebHTMLRepresentation::elementWithName):
12530 (WebHTMLRepresentation::elementDoesAutoComplete):
12531 (WebHTMLRepresentation::elementIsPassword):
12532 (WebHTMLRepresentation::formForElement):
12533 (WebHTMLRepresentation::currentForm):
12534 (WebHTMLRepresentation::controlsInForm):
12535 (WebHTMLRepresentation::searchForLabels):
12536 (WebHTMLRepresentation::matchLabels):
12537 * WebHTMLRepresentation.h:
12539 (WebView::mainFrameDocument):
12540 (WebView::computedStyleForElement):
12541 (WebView::editableDOMRangeForPoint):
12542 (WebView::setSelectedDOMRange):
12543 (WebView::selectedDOMRange):
12544 (WebView::setTypingStyle):
12545 (WebView::typingStyle):
12546 (WebView::styleDeclarationWithText):
12547 (WebView::replaceSelectionWithNode):
12548 (WebView::applyStyle):
12551 2007-08-22 Jon Honeycutt <jhoneycutt@apple.com>
12555 Refactoring of <radr://problem/5220598> Dragging URL out and back
12556 inserts a second copy of the URL
12558 * Interfaces/IWebViewPrivate.idl: Added setCustomDropTarget and
12559 removeCustomDropTarget
12561 (WebView::WebView): Initialize m_hasCustomDropTarget
12562 (WebView::setCustomDropTarget): Revoke any existing drop target and set
12563 the incoming drop target.
12564 (WebView::removeCustomDropTarget): Revoke any existing drop target and
12565 set the default drop target.
12568 2007-08-21 Ada Chan <adachan@apple.com>
12570 Fix <rdar://problem/5416630> Accelerator to open link in window in background opens window in foreground instead
12571 Placing tooltip window at the topmost in z-order brought windows that were opened in the
12572 background to the front. Use HWND_TOP instead.
12577 (WebView::initializeToolTipWindow):
12579 2007-08-21 Adam Roben <aroben@apple.com>
12581 Switch Windows to using FrameView::layoutIfNeededRecursive
12583 Reviewed by Darin Adler.
12585 * WebFrame.cpp: Removed layoutIfNeededRecursive.
12586 * WebFrame.h: Ditto.
12588 (WebView::updateBackingStore): Call FrameView::layoutIfNeededRecursive.
12590 2007-08-17 Adam Roben <aroben@apple.com>
12592 Fix <rdar://5192578> Inspect Element should not appear in context menu in non-debug mode
12594 We now follow the same logic as Mac WebKit for displaying the Inspect Element item:
12595 1) If DisableWebKitDeveloperExtras is set to true, don't display it
12596 2) If not, and we're in a debug build, display it
12597 3) If not, and we're in a release build, display it if
12598 WebKitDeveloperExtras is set to true
12602 * Interfaces/IWebPreferencesPrivate.idl: Added.
12603 * WebKit.vcproj/Interfaces.vcproj: Add new IWebPreferencesPrivate.idl
12605 * WebKit.vcproj/WebKitGUID.vcproj: Added generated .c file for
12606 IWebPreferencesPrivate to project.
12607 * WebPreferenceKeysPrivate.h: Added new keys.
12608 * WebPreferences.cpp: Added IID_WebPreferences.
12609 (WebPreferences::postPreferencesChangesNotification): Added an explicit
12610 cast needed now that WebPreferences implements two interfaces.
12611 (WebPreferences::QueryInterface): Added new cases.
12612 (WebPreferences::setDeveloperExtrasEnabled): Added.
12613 (WebPreferences::developerExtrasEnabled): Added.
12614 (WebPreferences::developerExtrasDisabledByOverride): Added.
12615 * WebPreferences.h: Now implements IWebPreferencesPrivate.
12617 (WebView::updateWebCoreSettingsFromPreferences): Call developerExtrasEnabled.
12618 (WebView::developerExtrasEnabled): Ported from -[WebView _developerExtrasEnabled].
12621 2007-08-17 Adam Roben <aroben@apple.com>
12623 Add WebPreferences::sharedStandardPreferences
12625 This is a convenience method to get the standard preferences object so
12626 that within WebKit we don't have to deal with the fact that COM doesn't
12627 support static methods.
12632 (WebHistory::WebHistory): Use sharedStandardPreferences.
12633 * WebIconDatabase.cpp:
12634 (WebIconDatabase::init): Ditto.
12635 * WebPreferences.cpp:
12636 (WebPreferences::sharedStandardPreferences): Added.
12637 (WebPreferences::getInstanceForIdentifier): Use sharedStandardPreferences.
12638 (WebPreferences::standardPreferences): Ditto.
12639 * WebPreferences.h:
12641 (WebView::preferences): Ditto.
12643 2007-08-17 Anders Carlsson <andersca@apple.com>
12648 (WebFrame::createPlugin):
12651 2007-08-13 Geoffrey Garen <ggaren@apple.com>
12653 Reviewed by Dave Hyatt.
12655 WebKit changes to support new cache eviction model in WebCore.
12657 * WebPreferences.cpp:
12658 (WebPreferences::initialize):
12660 * WebView/WebPreferences.m: Modified to reflect new API in WebCore.
12662 (WebView::initializeCacheSizesIfNecessary): Slightly increased cache
12663 size on low memory systems to avoid affecting the PLT for now.
12665 2007-08-14 Steve Falkenburg <sfalken@apple.com>
12667 <rdar://problem/5411482> Windows user agent language always returns "en"
12669 Call WebCore::defaultLanguage() to pick up UA language.
12671 Reviewed by Oliver.
12674 (WebView::userAgentForKURL):
12676 2007-08-15 Peter Kasting <pkasting@google.com>
12678 Reviewed by Darin Adler.
12680 http://bugs.webkit.org/show_bug.cgi?id=14967 part 1 - Eliminate most implicit
12681 conversions of wtf::Vector<T> to T* by explicitly calling .data()
12684 (getCompositionString):
12686 2007-08-12 Adam Roben <aroben@apple.com>
12688 Store user defaults in a non-mutable CFDictionaryRef
12690 Also renamed WebPreferences' static members:
12691 m_standardPreferences -> s_standardPreferences
12692 m_standardUserDefaults -> s_defaultSettings
12694 Reviewed by Darin and John.
12696 * WebPreferences.cpp:
12697 (WebPreferences::getInstanceForIdentifier):
12698 (WebPreferences::initializeUserDefaults): Construct the dictionary as a
12699 local CFMutableDictionaryRef, then assign it to the non-mutable static
12701 (WebPreferences::valueForKey):
12702 (WebPreferences::removeDefaultsIfNeeded):
12703 (WebPreferences::standardPreferences):
12704 * WebPreferences.h:
12706 2007-08-12 Adam Roben <aroben@apple.com>
12708 Fix <rdar://problem/5214504> No way to change WebPreferences defaults (all preferences get written to disk)
12710 We now only write to disk values that have been explicitly set, and
12711 never write any default values.
12713 This is not enough, however, as anyone who has used WebKit prior to
12714 this change will have the default values sitting in their preferences
12715 plist on disk. To remedy this, we perform a one-time removal of any
12716 key-value pairs that match a pair in the defaults dictionary.
12718 Reviewed by Steve, John, Ada, and Darin.
12720 * WebPreferenceKeysPrivate.h: Added new key to ensure we only remove
12722 * WebPreferences.cpp:
12723 (WebPreferences::initializeDefaultSettings): Renamed from initialize, and
12724 made sure we only set up the defaults dictionary once. Now that the
12725 defaults dictionary is never modified after creation, we don't need to
12726 check whether the keys are already present.
12727 (WebPreferences::setStringValue): Don't modify the defaults dictionary.
12728 (WebPreferences::setIntegerValue): Ditto.
12729 (WebPreferences::setBoolValue): Ditto.
12730 (WebPreferences::save): Write out the user's preferences, not the defaults.
12731 (WebPreferences::load):
12732 - Removed gotos and early declarations now that we're using
12733 RetainPtr everywhere.
12734 - Initialize m_privatePrefs with an empty dictionary if we didn't
12736 - Call migrateDefaultSettingsFromSafari3Beta after loading.
12737 (WebPreferences::migrateDefaultSettingsFromSafari3Beta): Added.
12738 (WebPreferences::removeValuesMatchingDefaultSettings): Added.
12739 (WebPreferences::initWithIdentifier): Don't initialize m_privatePrefs
12740 -- load() does this now.
12741 * WebPreferences.h: Updated/added declarations.
12743 2007-08-12 Adam Roben <aroben@apple.com>
12745 Use RetainPtr to store WebPreferences::m_privatePrefs
12747 Reviewed by Darin Adler.
12749 * WebPreferences.cpp:
12750 (WebPreferences::setStringValue):
12751 (WebPreferences::setIntegerValue):
12752 (WebPreferences::setBoolValue):
12753 (WebPreferences::initWithIdentifier):
12754 * WebPreferences.h:
12756 2007-08-12 Adam Roben <aroben@apple.com>
12758 Fix <rdar://problem/5278790> Hole for find-on-page match in subframe isn't clipped by frame bounds
12760 Reviewed by Maciej.
12763 (WebView::rectsForTextMatches): Ported fix from r23586.
12765 2007-08-12 Adam Roben <aroben@apple.com>
12767 Prevent an ASSERT on launch by initializing AtomicString in WebKitGraphics
12769 Reviewed by Maciej.
12771 * WebKitGraphics.cpp:
12774 2007-08-10 Ada Chan <adachan@apple.com>
12776 Reviewed by Adam and Darin.
12778 <rdar://problem/5403095> Crash in WebViewWndProc after closing a window
12779 We are seeing another case where WM_SETFOCUS is sent after WM_DESTROY has been handled in WebView.
12780 Bail early in the wndProc if WebView is set to be destroyed.
12785 2007-08-02 Ada Chan <adachan@apple.com>
12789 <rdar://problem/5079175> Printing header and footer
12791 * Interfaces/IWebUIDelegate.idl: added methods for header/footer drawing.
12793 (WebFrame::headerAndFooterHeights): ask client for the header and
12794 footer heights via IWebUIDelegate2 methods.
12795 (WebFrame::computePageRects): pass in header and footer heights when
12796 calculating page rect heights.
12797 (WebFrame::spoolPages): ask client to draw header and footer via
12798 IWebUIDelegate2 methods.
12800 * WebKitGraphics.cpp:
12801 (DrawTextAtPoint): the code assumes color has 4 components - might as well
12804 2007-08-01 Steve Falkenburg <sfalken@apple.com>
12806 Build mod: Fix sln to match configs in vcproj.
12810 * WebKit.vcproj/WebKit.make:
12811 * WebKit.vcproj/WebKit.submit.sln:
12813 2007-07-27 Justin Garcia <justin.garcia@apple.com>
12815 Reviewed by Tristan.
12817 <rdar://problem/5098931> Attachments are lost when they are moved into a ToDo after a delete
12819 * WebEditorClient.cpp:
12820 (WebEditorClient::shouldMoveRangeAfterDelete): Method stub.
12821 * WebEditorClient.h:
12823 2007-07-27 Anders Carlsson <andersca@apple.com>
12829 * Interfaces/DOMHTML.idl:
12831 2007-07-27 Ada Chan <adachan@apple.com>
12835 Added methods to track user edited text fields now that
12836 <rdar://problem/5359921> has been fixed.
12838 * DOMHTMLClasses.cpp:
12839 (DOMHTMLInputElement::QueryInterface):
12840 (DOMHTMLInputElement::isUserEdited):
12841 (DOMHTMLTextAreaElement::QueryInterface):
12842 (DOMHTMLTextAreaElement::isUserEdited):
12843 * DOMHTMLClasses.h:
12844 * Interfaces/DOMPrivate.idl:
12846 2007-07-27 Adam Roben <aroben@apple.com>
12848 Fix Bug 14773: REGRESSION (r24630): ASSERT_NOT_REACHED in DOMHTMLInputElement::name on Windows
12849 http://bugs.webkit.org/show_bug.cgi?id=14773
12853 * Interfaces/DOMHTML.idl: Change IDOMHTMLInputElement back to
12854 inheriting from IDOMElement. Safari 3 Beta uses this interface, so we
12855 can't change its vtable.
12857 2007-07-25 Ada Chan <adachan@apple.com>
12859 Reviewed by Adam and Steve.
12861 Implemented some DOM methods and other fixes for <rdar://problem/5311601>.
12863 * DOMCoreClasses.cpp:
12864 (DOMNode::ownerDocument): implemented
12865 (DOMDocument::getComputedStyle): get the DOMElement via QueryInterface
12866 (DOMElement::QueryInterface):
12867 * DOMHTMLClasses.cpp:
12868 (DOMHTMLDocument::body): fixed leak
12869 (DOMHTMLFormElement::action): implemented
12870 (DOMHTMLFormElement::method): ditto
12871 (DOMHTMLInputElement::form): ditto
12872 (DOMHTMLTextAreaElement::form): ditto
12873 * Interfaces/DOMHTML.idl: IDOMHTMLInputElement should inherit from IDOMHTMLElement
12875 2007-07-24 Steve Falkenburg <sfalken@apple.com>
12877 Removed touch of WebKit.rc to prevent rebuilds of the rc file.
12878 The autoversion info can get slightly out of date now, but this isn't a huge problem relative to the rebuilds.
12880 Rubber-stamped by Adam.
12882 * WebKit.vcproj/WebKit.vcproj:
12884 2007-07-23 Steve Falkenburg <sfalken@apple.com>
12886 Fixes to versioning script.
12890 * WebKit.vcproj/auto-version.sh:
12892 2007-07-23 Adam Roben <aroben@apple.com>
12894 Implement IWebHistoryItem::[set]AlternateTitle
12896 The argument types were reversed for these two methods, so I fixed that as
12899 Reviewed by Geoff and Oliver.
12901 * Interfaces/IWebHistoryItem.idl:
12902 * WebHistoryItem.cpp:
12903 (WebHistoryItem::setAlternateTitle): Implemented.
12904 (WebHistoryItem::alternateTitle): Implemented.
12905 * WebHistoryItem.h:
12907 2007-07-23 Ada Chan <adachan@apple.com>
12911 Added a new text drawing method that allows caller to override the font smoothing level.
12913 * WebKit.vcproj/WebKit.def:
12914 * WebKit.vcproj/WebKit_debug.def:
12915 * WebKitGraphics.cpp:
12917 * WebKitGraphics.h:
12919 2007-07-22 Adam Roben <aroben@apple.com>
12921 Implement IDOMElement::setAttribute
12923 This method was mistakenly called "setResult" in DOMCore.idl, so I
12924 fixed that as well.
12926 Needed for <rdar://problem/5314906>.
12930 * DOMCoreClasses.cpp:
12931 (DOMElement::setAttribute): Implemented/renamed.
12932 * DOMCoreClasses.h: Renamed setResult => setAttribute.
12933 * DOMHTMLClasses.h: Ditto.
12934 * Interfaces/DOMCore.idl: Ditto.
12936 2007-07-21 Ada Chan <adachan@apple.com>
12940 Fix bug 14706: http://bugs.webkit.org/show_bug.cgi?id=14706
12941 Need to set the last visited time before calling WebHistory::addItem().
12944 (WebHistory::addItemForURL):
12946 2007-07-20 Justin Garcia <justin.garcia@apple.com>
12948 Reviewed by Darin Adler.
12950 <rdar://problem/5109817> Ctrl-click on word in non-editable text doesn't select it
12952 * WebEditorClient.cpp: Removed the now unused selectWordBeforeMenuEvent().
12953 * WebEditorClient.h:
12955 2007-07-20 Ada Chan <adachan@apple.com>
12959 <rdar://problem/5350832> History item's visitedCount wasn't updated correctly
12961 The call to setLastVisitedTimeInterval() in WebHistory::addItemForURL() does not
12962 really increment the visitedCount of the HistoryItem - because we only increment the count
12963 if the last visited time is different. We should initialize the HistoryItem with
12964 lastVisited time = 0 so when we call setLastVisitedTimeInterval() later, it'll update
12965 the last visited time AND the visitedCount.
12968 (WebHistory::addItemForURL):
12970 2007-07-20 Oliver Hunt <oliver@apple.com>
12972 Reviewed by Maciej.
12974 <rdar://problem/5349668> WebKit/Win needs to send same key events during IME composition as it does on mac
12976 Removed guards against sending key events during composition, and added a flag
12977 to indicate a key event is IME related. This is needed to prevent the first
12978 keydown from firing a keypress event, and makes WebEditorClient::handleInputMethodKeypress
12981 * WebEditorClient.cpp:
12982 (WebEditorClient::handleInputMethodKeypress):
12985 (WebView::keyDown):
12987 (WebView::inIMEKeyDown):
12989 2007-07-19 Maciej Stachowiak <mjs@apple.com>
12993 - WebKit part of fix for <rdar://problem/5262230> Crash while loading a popup in addictinggames.com
12995 Made closeWindowSoon fire on a timer instead of happening synchronously.
12997 * WebChromeClient.cpp:
12998 (WebChromeClient::closeWindowSoon): Actually close the window on a timer, not immediately.
12999 * WebKit.vcproj/WebKit.vcproj:
13001 (WebView::WebView):
13002 (WebView::closeWindowSoon):
13003 (WebView::closeWindowTimerFired):
13006 2007-07-18 Timothy Hatcher <timothy@apple.com>
13010 Make the Page with the now required InspectorClient.
13013 (WebView::initWithFrame):
13015 2007-07-18 Sam Weinig <sam@webkit.org>
13020 (WebFrame::dispatchDecidePolicyForMIMEType):
13021 (WebFrame::objectContentType):
13023 (WebView::canShowMIMEType):
13025 2007-07-17 Brady Eidson <beidson@apple.com>
13027 Blind Windows build fix from r24395
13030 (WebView::initWithFrame): BSTR, not BString
13032 2007-07-17 Brady Eidson <beidson@apple.com>
13036 <rdar://problem/4516185> - FTP Directory Listings
13038 * Interfaces/IWebUIDelegate.idl: Add IWebUIDelegate2 method for getting the path to the template
13041 (WebView::initWithFrame): Set the preference for the template path in WebCore when the first
13042 WebView is initialized
13044 2007-07-17 Ada Chan <adachan@apple.com>
13046 Rubbet-stamped by Adam.
13050 * Interfaces/IWebFramePrivate.idl:
13051 * WebContextMenuClient.cpp:
13052 (fixMenuReceivedFromOldSafari):
13054 (WebFrame::loadURLIntoChild):
13055 (WebFrame::download):
13058 2007-07-17 Adam Roben <aroben@apple.com>
13060 Fix Bug 14324: Cannot remove/customize the "Inspect Element" contextual menu item
13061 http://bugs.webkit.org/show_bug.cgi?id=14324
13063 If we detect that we're running against the Safari 3 Beta, we add back
13064 the Inspect Element menu item after passing it off to the delegate
13065 because Safari's UI delegate will remove it.
13069 * WebContextMenuClient.cpp:
13070 (isPreInspectElementTagSafari): Added.
13071 (fixMenuReceivedFromOldSafari): Added.
13072 (WebContextMenuClient::getCustomMenuFromDefaultItems): Call
13073 fixMenuReceivedFromOldSafari before returning the new menu.
13075 2007-07-17 Adam Roben <aroben@apple.com>
13077 Remove WebContextMenuClient::shouldIncludeInspectElementItem
13081 * WebContextMenuClient.cpp:
13082 * WebContextMenuClient.h:
13084 2007-07-17 Adam Roben <aroben@apple.com>
13086 Initialize Settings::developerExtrasEnabled
13091 (WebView::updateWebCoreSettingsFromPreferences):
13093 2007-07-17 Geoffrey Garen <ggaren@apple.com>
13097 * WebContextMenuClient.cpp:
13098 (WebContextMenuClient::searchWithGoogle): Pass false for lockHistory
13099 like we do elsewhere.
13101 2007-07-17 Oliver Hunt <oliver@apple.com>
13105 Fix for <rdar://problem/5339416> Candidate window does not
13106 appear in the correct location for japanese IME
13109 (WebView::prepareCandidateWindow):
13110 We now use an exclusion zone so that the composition window never
13111 overlaps the composition string
13112 (WebView::onIMERequestCharPosition):
13113 Correctly handle character offsets marked regions
13115 2007-07-16 Oliver Hunt <oliver@apple.com>
13117 Reviewed by Maciej.
13119 Fix for <rdar://problem/5334818> Support IME reconversion in windows
13121 Also includes a small amount of IME refactoring.
13124 (WebView::onIMERequestCharPosition):
13125 (WebView::onIMERequestReconvertString):
13126 (WebView::onIMERequest):
13129 2007-07-16 Brady Eidson <beidson@apple.com>
13133 Begin the arduous task of localizing FTP directory listings while removing a global initializer!
13135 * English.lproj/Localizable.strings:
13136 * WebCoreLocalizedStrings.cpp:
13137 (WebCore::unknownFileSizeText):
13139 2007-07-16 Oliver Hunt <oliver@apple.com>
13141 Reviewed by Maciej.
13143 Fix for <rdar://problem/5334826> Chinese IME composition window does not appear in the correct location
13145 Respect IME requests for character position.
13148 (WebView::onIMERequestCharPosition):
13149 (WebView::onIMERequest):
13152 2007-07-16 Adam Roben <aroben@apple.com>
13154 WebKit/win part of <rdar://problem/5336005> Calling window.print() on a subframe prints whole page, should only print that subframe
13156 Reviewed by Darin Adler.
13158 * Interfaces/IWebUIDelegate.idl: Rename print to printFrame to closer
13159 match the Mac method, and copy more of the Mac API comments.
13160 * WebChromeClient.cpp:
13161 (WebChromeClient::print): Call printFrame instead of print.
13163 2007-07-16 Adam Roben <aroben@apple.com>
13165 Updated WebChromeClient for ChromeClient changes.
13167 Reviewed by Darin Adler.
13169 * WebChromeClient.cpp:
13170 (WebChromeClient::print): Added a Frame* parameter.
13171 * WebChromeClient.h: Ditto.
13173 2007-07-16 Oliver Hunt <oliver@apple.com>
13177 Fix for http://bugs.webkit.org/show_bug.cgi?id=14630
13179 Remove bogus assertion
13182 (WebView::getIMMContext):
13184 2007-07-14 Brady Eidson <beidson@apple.com>
13188 Set the pref to override the policy delegate for FTP directory listings on Windows
13191 (WebView::updateWebCoreSettingsFromPreferences):
13193 2007-07-13 Oliver Hunt <oliver@apple.com>
13195 Reviewed by Darin and Alexey.
13197 Fix for <rdar://problem/5231528> Inline input of International text (IME)
13198 http://bugs.webkit.org/show_bug.cgi?id=14331
13200 This patch adds IME support to WebKit/win, it currently does not support
13201 reconversion (<rdar://problem/5334818>) and has issues with the chinese
13202 IMEs (<rdar://problem/5334826>)
13204 * WebEditorClient.cpp:
13205 (WebEditorClient::respondToChangedSelection):
13206 (WebEditorClient::handleInputMethodKeypress):
13207 Prevent the initial keydown for an IME from triggering a keypressed event
13209 (WebView::WebView):
13211 (WebView::keyDown):
13214 (IMMDict::IMMDict):
13215 Dynamic loader for IME libraries
13217 (WebView::getIMMContext):
13218 (WebView::releaseIMMContext):
13219 (WebView::prepareCandidateWindow):
13220 (selectionInsideMarkedText):
13221 (setSelectionToEndOfRange):
13222 (WebView::resetIME):
13223 (WebView::updateSelectionForIME):
13224 (WebView::selectionChanged):
13225 (getCompositionString):
13226 (compositionToUnderlines):
13229 (WebView::onIMEStartComposition):
13230 (WebView::onIMEComposition):
13231 (WebView::onIMEEndComposition):
13232 (WebView::onIMEChar):
13233 (WebView::onIMENotify):
13234 (WebView::onIMERequest):
13235 (WebView::onIMESelect):
13236 (WebView::onIMESetContext):
13237 IME event handling, so far most of these are not implemented, but the bulk of functionality
13238 is performed the the composition event handlers
13241 2007-07-12 Alice Liu <alice.liu@apple.com>
13243 Reviewed by Maciej and Steve.
13245 fixed <rdar://4982432> window.print() needs to be implemented
13247 * Interfaces/IWebUIDelegate.idl:
13248 * WebChromeClient.cpp:
13249 (WebChromeClient::print):
13250 * WebChromeClient.h:
13252 2007-07-11 Steve Falkenburg <sfalken@apple.com>
13254 Static analysis build fix.
13256 Only specify /analyze (PREfast) if it is available.
13257 Prevents entire project from rebuilding each time.
13261 * WebKit.vcproj/WebKit.vcproj:
13263 2007-07-10 Ada Chan <adachan@apple.com>
13269 2007-07-09 Alice Liu <alice.liu@apple.com>
13271 Reviewed by Adam Roben.
13273 Adding DOM Paste Allowed preference, setters and getters
13274 for the purpose of layout tests.
13276 * Interfaces/IWebPreferences.idl:
13277 * WebPreferenceKeysPrivate.h:
13278 * WebPreferences.cpp:
13279 (WebPreferences::isDOMPasteAllowed):
13280 (WebPreferences::setDOMPasteAllowed):
13281 * WebPreferences.h:
13283 (WebView::updateWebCoreSettingsFromPreferences):
13285 2007-07-09 Anders Carlsson <andersca@apple.com>
13290 (WebView::stringByEvaluatingJavaScriptFromString):
13292 2007-07-05 Adam Roben <aroben@apple.com>
13294 Fix a leak in WebView::setToolTip
13299 (WebView::setToolTip):
13301 2007-07-05 Adam Roben <aroben@apple.com>
13303 Fix Bug 14143: Tooltips not displayed on Windows
13304 http://bugs.webkit.org/show_bug.cgi?id=14143
13305 <rdar://problem/4719799>
13307 Reviewed by Oliver.
13309 * WebChromeClient.cpp:
13310 (WebChromeClient::setToolTip): Call up to WebView.
13312 (WebView::WebView): Initialize m_toolTipHwnd member.
13313 (WebView::initWithFrame): Set up the tool tip window.
13314 (initCommonControls): Added.
13315 (WebView::initializeToolTipWindow): Added.
13316 (WebView::setToolTip): Set the tool tip text and enable/disable the
13318 * WebView.h: Added/updated declarations.
13320 2007-07-04 Adam Roben <aroben@apple.com>
13322 Added a stub for WebChromeClient::setToolTip
13326 * WebChromeClient.cpp:
13327 * WebChromeClient.h:
13329 2007-07-04 Adam Roben <aroben@apple.com>
13331 Initialize Settings::showsURLsInToolTips
13336 (WebView::updateWebCoreSettingsFromPreferences):
13338 2007-07-04 Adam Roben <aroben@apple.com>
13340 Removed call to mouseDidMoveOverElement now that WebCore handles it
13345 (WebView::handleMouseEvent):
13347 2007-07-04 Adam Roben <aroben@apple.com>
13349 Add WebChromeClient::mouseDidMoveOverElement
13351 This is not called yet.
13355 * WebChromeClient.cpp:
13356 (WebChromeClient::mouseDidMoveOverElement):
13357 * WebChromeClient.h:
13359 2007-07-03 Adam Roben <aroben@apple.com>
13361 Merge the Windows and Mac localized strings and exceptions files
13363 Reviewed by Darin and Anders.
13365 * English.lproj/Localizable.strings: Added Mac strings.
13366 * English.lproj/StringsNotToBeLocalized.txt: Removed.
13368 2007-06-27 Steve Falkenburg <sfalken@apple.com>
13370 Turn on static code analysis.
13372 Reviewed by Oliver.
13374 Affects only folks that have Visual Studio Team Suite installed,
13375 or who have replaced their compiler with the version shipping in the
13378 * CodeAnalysisConfig.h: Added.
13379 * WebKit.vcproj/WebKit.vcproj:
13380 * WebLocalizableStrings.cpp:
13381 (createWebKitBundle):
13383 2007-06-27 Steve Falkenburg <sfalken@apple.com>
13385 Prefast: Remove variable redefinitions in inner scopes.
13390 (WebDownload::didFinish):
13391 * WebNotificationCenter.cpp:
13392 (WebNotificationCenter::postNotificationInternal):
13393 (WebNotificationCenter::removeObserver):
13395 2007-06-27 Steve Falkenburg <sfaken@apple.com>
13397 Remove SEH block from around history plist read, since the underlying bug has been fixed.
13399 Reviewed by Darin Adler.
13402 (createHistoryListFromStream):
13404 2007-06-27 Steve Falkenburg <sfalken@apple.com>
13406 Prefast: Fix misplaced parenthesis.
13408 Reviewed by Darin Adler.
13413 2007-06-27 Steve Falkenburg <sfalken@apple.com>
13415 Prefast: Add null check prior to writing into allocated BSTR.
13417 Reviewed by Darin Adler.
13419 * MarshallingHelpers.cpp:
13420 (MarshallingHelpers::CFStringRefToBSTR):
13422 2007-06-27 Steve Falkenburg <sfalken@apple.com>
13424 Prefast: Add error handling for SysAllocStringLen where the string length is determined by website content.
13426 Reviewed by Sam, Darin.
13428 Allocation failure will result in a null dereference in this case,
13429 so it isn't exploitable.
13431 * DefaultDownloadDelegate.cpp:
13432 (DefaultDownloadDelegate::decideDestinationWithSuggestedFilename):
13434 2007-06-20 Adam Roben <aroben@apple.com>
13436 Land the new Inspector.
13438 Co-written with Tim Hatcher.
13440 Reviewed by Anders, Adele, Hyatt, and Sam.
13442 Implement the InspectorClient interface.
13444 * WebInspectorClient.cpp: Added.
13445 (WebInspectorClient::WebInspectorClient):
13446 (WebInspectorClient::~WebInspectorClient):
13447 (WebInspectorClient::inspectorDestroyed):
13448 (WebInspectorClient::createPage):
13449 (WebInspectorClient::showWindow):
13450 (WebInspectorClient::closeWindow):
13451 (WebInspectorClient::windowVisible):
13452 (WebInspectorClient::attachWindow):
13453 (WebInspectorClient::detachWindow):
13454 (WebInspectorClient::highlight):
13455 (WebInspectorClient::hideHighlight):
13456 (WebInspectorClient::inspectedURLChanged):
13457 (WebInspectorClient::updateWindowTitle):
13458 (WebInspectorClient::onSize):
13459 (WebInspectorClient::onClose):
13460 (WebInspectorClient::onWebViewWindowPosChanging):
13461 (WebInspectorWndProc):
13462 (SubclassedWebViewWndProc):
13463 (registerWindowClass):
13464 * WebInspectorClient.h: Added.
13466 Add an easier-to-see highlight.
13468 * WebNodeHighlight.cpp: Added.
13469 (WebNodeHighlight::WebNodeHighlight):
13470 (WebNodeHighlight::~WebNodeHighlight):
13471 (WebNodeHighlight::highlight):
13472 (WebNodeHighlight::hide):
13473 (WebNodeHighlight::visible):
13474 (WebNodeHighlight::updateWindow):
13475 (WebNodeHighlight::removeSubclass):
13476 (registerOverlayClass):
13478 (SubclassedWndProc):
13479 * WebNodeHighlight.h: Added.
13481 WebView changes needed for the new Inspector.
13483 * WebView.cpp: Removed old inspectElement method now that this is
13484 handled by WebCore.
13485 (WebView::WebView):
13487 (WebView::performContextMenuAction): Removed handling of the Inspect
13488 Element context menu item.
13489 (WebView::initWithFrame): Give each Page an InspectorClient to enable
13491 (WebView::setProhibitsMainFrameScrolling): Added.
13494 Updates needed for WebCore changes.
13496 * Interfaces/IWebUIDelegate.idl:
13497 * WebContextMenuClient.cpp:
13498 (WebContextMenuClient::getCustomMenuFromDefaultItems):
13499 * WebContextMenuClient.h:
13500 * WebCoreLocalizedStrings.cpp:
13502 Remove old Inspector code.
13506 * WebInspector/WebInspector.cpp: Removed.
13507 * WebInspector/WebInspector.h: Removed.
13508 * WebInspector/webInspector/Images/button.png: Removed.
13509 * WebInspector/webInspector/Images/buttonDivider.png: Removed.
13510 * WebInspector/webInspector/Images/buttonPressed.png: Removed.
13511 * WebInspector/webInspector/Images/close.png: Removed.
13512 * WebInspector/webInspector/Images/closePressed.png: Removed.
13513 * WebInspector/webInspector/Images/downTriangle.png: Removed.
13514 * WebInspector/webInspector/Images/menu.png: Removed.
13515 * WebInspector/webInspector/Images/menuPressed.png: Removed.
13516 * WebInspector/webInspector/Images/popup.png: Removed.
13517 * WebInspector/webInspector/Images/popupPressed.png: Removed.
13518 * WebInspector/webInspector/Images/resize.png: Removed.
13519 * WebInspector/webInspector/Images/rightTriangle.png: Removed.
13520 * WebInspector/webInspector/Images/scrollThumbBottom.png: Removed.
13521 * WebInspector/webInspector/Images/scrollThumbMiddle.png: Removed.
13522 * WebInspector/webInspector/Images/scrollTrackMiddle.png: Removed.
13523 * WebInspector/webInspector/Images/upTriangle.png: Removed.
13524 * WebInspector/webInspector/inspector.css: Removed.
13525 * WebInspector/webInspector/inspector.html: Removed.
13526 * WebInspector/webInspector/inspector.js: Removed.
13527 * WebInspector/webInspector/scrollarea.js: Removed.
13528 * WebInspector/webInspector/scrollbar.js: Removed.
13529 * WebInspector/webInspector/treeoutline.js: Removed.
13530 * WebInspector/webInspector/utilities.js: Removed.
13534 * WebKit.vcproj/WebKit.vcproj:
13536 2007-06-19 Dave Hyatt <hyatt@apple.com>
13538 Fix for <rdar://problem/5022197>, backspace and ctrl+left arrow should go back. Shift+backspace
13539 and ctrl+right arrow should go forward. Add support for these keybindings to Windows.
13544 (WebView::keyDown):
13546 2007-06-18 Dave Hyatt <hyatt@apple.com>
13548 Let through more newline+modifier key combos in order to support Alt+Enter and Ctrl+Enter in the
13551 Reviewed by mccullough
13555 2007-06-18 Dave Hyatt <hyatt@apple.com>
13557 Add support for horizontal mouse wheeling to Windows. Shift+wheel is supported for horizontal
13558 wheeling just like on OS X. In addition, the WM_MOUSEHWHEEL event is now processed correctly so that
13559 input devices like tilt wheels will now work.
13564 (WebView::mouseWheel):
13568 2007-06-17 Dave Hyatt <hyatt@apple.com>
13570 Add support for Ctrl+Mouse Wheel to increase/decrease text zoom (Win32 only).
13575 (WebView::mouseWheel):
13577 2007-06-09 Steve Falkenburg <sfalken@apple.com>
13581 Workaround: <rdar://problem/5213266> schwab.com menu is ridiculously big.
13584 (WebView::userAgentForKURL): Add schwab to spoof list to fix gigantic menus.
13586 2007-06-08 Ada Chan <adachan@apple.com>
13588 Reviewed by Hyatt, Adam, and Steve.
13590 Fixed WebView::selectedText to get the selected text out of the focused frame or main frame.
13593 (WebView::selectedText):
13595 2007-06-08 Adam Roben <aroben@apple.com>
13597 Get rid of the Safari part of the query string used for Google searches.
13599 Reviewed by Steve and Ada.
13601 * WebContextMenuClient.cpp:
13602 (WebContextMenuClient::searchWithGoogle):
13604 2007-06-08 Kevin McCullough <kmccullough@apple.com>
13606 Reviewed by Kevin Decker, and Sam.
13608 - Added and updated licenses.
13610 * CFDictionaryPropertyBag.cpp:
13611 * CFDictionaryPropertyBag.h:
13612 * DOMCSSClasses.cpp:
13614 * DOMEventsClasses.cpp:
13615 * DOMEventsClasses.h:
13616 * DOMHTMLClasses.cpp:
13617 * DOMHTMLClasses.h:
13618 * MarshallingHelpers.cpp:
13619 * MarshallingHelpers.h:
13620 * MemoryStream.cpp:
13622 * WebBackForwardList.cpp:
13623 * WebBackForwardList.h:
13626 * WebChromeClient.cpp:
13627 * WebChromeClient.h:
13628 * WebContextMenuClient.h:
13630 * WebEditorClient.cpp:
13631 * WebEditorClient.h:
13632 * WebElementPropertyBag.cpp:
13633 * WebElementPropertyBag.h:
13634 * WebHTMLRepresentation.h:
13637 * WebIconDatabase.cpp:
13638 * WebIconDatabase.h:
13639 * WebKit.vcproj/auto-version.sh:
13640 * WebKitClassFactory.h:
13642 * WebLocalizableStrings.cpp:
13643 * WebLocalizableStrings.h:
13644 * WebMutableURLRequest.cpp:
13645 * WebMutableURLRequest.h:
13646 * WebNotification.cpp:
13647 * WebNotification.h:
13648 * WebNotificationCenter.cpp:
13649 * WebNotificationCenter.h:
13650 * WebPreferenceKeysPrivate.h:
13651 * WebPreferences.cpp:
13652 * WebPreferences.h:
13653 * WebScriptObject.cpp:
13654 * WebScriptObject.h:
13655 * WebURLResponse.cpp:
13656 * WebURLResponse.h:
13658 2007-06-07 Sam Weinig <sam@webkit.org>
13660 Reviewed by Adam Roben.
13662 Make the inspector compile again.
13664 * WebInspector/WebInspector.cpp:
13665 (setFocusedDOMNodeCallback):
13666 (focusedDOMNodeCallback):
13667 (setRootDOMNodeCallback):
13668 (rootDOMNodeCallback):
13670 2007-06-06 Steve Falkenburg <sfalken@apple.com>
13674 <rdar://problem/5255861> REGRESSION: Can't download Adobe Acrobat Reader and plug-in
13675 <rdar://problem/5243655> Flash download page doesn't recognize Boomer
13677 Refine user agent spoofing code to only spoof Flash download as Firefox without spoofing all of adobe.com.
13678 This fixes the Acrobat Reader download.
13681 (WebView::userAgentForKURL):
13683 2007-06-03 Steve Falkenburg <sfalken@apple.com>
13687 <rdar://problem/5246665> Drop down lists are not drawn on volvocars.us
13690 (WebView::userAgentForKURL):
13692 2007-06-01 Kevin McCullough <kmccullough@apple.com>
13694 Reviewed by Oliver.
13696 - Uncommenting some functions that should not be commented out. I needed them for the Drosera port.
13698 * WebKit.vcproj/WebKit_debug.def:
13700 2007-06-01 Steve Falkenburg <sfalken@apple.com>
13702 Reviewed by Kevin Decker.
13704 Remove unnecessary user agent spoofs, now that we have the final UA in place.
13705 Added spoof to allow Flash downloads from adobe.com
13708 (WebView::userAgentForKURL):
13710 2007-05-30 Ada Chan <adachan@apple.com>
13714 Implemented the mechanism to associate a WebPreferences instance with an identifier.
13716 * WebIconDatabase.cpp:
13717 (WebIconDatabase::init): fixed a missing Release on standardPrefs by using COMPtr.
13718 * WebPreferences.cpp:
13719 (WebPreferences::getInstanceForIdentifier): implemented
13720 (WebPreferences::setInstance): implemented
13721 (WebPreferences::removeReferenceForIdentifier): if the WebPreferences going to be
13722 released has only one ref left, remove it from the s_webPreferencesInstances dictionary.
13723 (WebPreferences::load): don't need to reread in the default preferences if we have done so.
13724 (WebPreferences::initWithIdentifier): update the m_identifier data member with the
13725 passed in identifier string, and store the identifier to WebPreferences instance mapping in
13726 s_webPreferencesInstances dictionary.
13727 (WebPreferences::identifier): implemented
13728 * WebPreferences.h:
13730 (WebView::~WebView): removed the call to removeObserver for the WebPreferencesChangedNotification
13731 since it's already done in close().
13732 (WebView::close): the call to removeObserver now takes in the WebPreferences instance for the object -
13733 this way the WebView is only notified when that particular WebPreferences instance changes.
13734 (WebView::initWithFrame): the call to addObserver now takes in the WebPreferences instance for the object -
13735 this way the WebView is only notified when that particular WebPreferences instance changes.
13736 (WebView::setPreferences): implemented
13737 (WebView::onNotify): used COMPtr to fix a missing release
13739 2007-05-29 Steve Falkenburg <sfalken@apple.com>
13741 Reviewed by Darin Adler.
13743 Removed setPageCacheSize/pageCacheSize from IWebBackForwardList.
13745 * Interfaces/IWebBackForwardList.idl: Removed unnecessary methods.
13746 * WebBackForwardList.cpp: Removed unnecessary methods.
13747 * WebBackForwardList.h: Removed unnecessary methods.
13749 2007-05-29 Sam Weinig <sam@webkit.org>
13751 Reviewed by Adam Roben.
13753 - Removes platform/win/NotImplemented.h because we have consolidated
13754 the notImplemented() for all platforms in platform/NotImplemented.h
13755 - Fixes remaining uses of old macro to use the new notImplemented() one.
13757 * WebChromeClient.cpp:
13758 (WebChromeClient::createModalDialog):
13759 (WebChromeClient::canRunModal):
13760 (WebChromeClient::runModal):
13761 (WebChromeClient::setScrollbarsVisible):
13762 (WebChromeClient::scrollbarsVisible):
13763 (WebChromeClient::setMenubarVisible):
13764 (WebChromeClient::menubarVisible):
13765 * WebContextMenuClient.cpp:
13766 (WebContextMenuClient::lookUpInDictionary):
13767 (WebContextMenuClient::speak):
13768 (WebContextMenuClient::stopSpeaking):
13770 (WebDownload::canResumeDownloadDecodedWithEncodingMIMEType):
13771 (WebDownload::cancelAuthenticationChallenge):
13772 (WebDownload::continueWithoutCredentialForAuthenticationChallenge):
13773 (WebDownload::useCredential):
13774 (WebDownload::didReceiveAuthenticationChallenge):
13775 * WebEditorClient.cpp:
13776 (WebEditorClient::spellCheckerDocumentTag):
13777 (WebEditorClient::shouldBeginEditing):
13778 (WebEditorClient::shouldEndEditing):
13779 (WebEditorClient::didBeginEditing):
13780 (WebEditorClient::respondToChangedContents):
13781 (WebEditorClient::respondToChangedSelection):
13782 (WebEditorClient::didEndEditing):
13783 (WebEditorClient::didWriteSelectionToPasteboard):
13784 (WebEditorClient::didSetSelectionTypesForPasteboard):
13785 (WebEditorClient::shouldDeleteRange):
13786 (WebEditorClient::shouldInsertNode):
13787 (WebEditorClient::shouldInsertText):
13788 (WebEditorClient::shouldApplyStyle):
13789 (WebEditorClient::shouldChangeTypingStyle):
13790 (WebEditorClient::webViewDidChangeTypingStyle):
13791 (WebEditorClient::webViewDidChangeSelection):
13792 (WebEditorClient::shouldShowDeleteInterface):
13793 (WebEditorClient::shouldChangeSelectedRange):
13795 (WebFrame::makeRepresentation):
13796 (WebFrame::forceLayout):
13797 (WebFrame::forceLayoutForNonHTML):
13798 (WebFrame::setCopiesOnScroll):
13799 (WebFrame::detachedFromParent1):
13800 (WebFrame::detachedFromParent2):
13801 (WebFrame::detachedFromParent3):
13802 (WebFrame::detachedFromParent4):
13803 (WebFrame::loadedFromCachedPage):
13804 (WebFrame::dispatchDidLoadMainResource):
13805 (WebFrame::revertToProvisionalState):
13806 (WebFrame::clearUnarchivingState):
13807 (WebFrame::setMainFrameDocumentReady):
13808 (WebFrame::willChangeTitle):
13809 (WebFrame::didChangeTitle):
13810 (WebFrame::finalSetupForReplace):
13811 (WebFrame::setDefersLoading):
13812 (WebFrame::isArchiveLoadPending):
13813 (WebFrame::cancelPendingArchiveLoad):
13814 (WebFrame::clearArchivedResources):
13815 (WebFrame::canShowMIMEType):
13816 (WebFrame::representationExistsForURLScheme):
13817 (WebFrame::generatedMIMETypeForURLScheme):
13818 (WebFrame::restoreViewState):
13819 (WebFrame::provisionalLoadStarted):
13820 (WebFrame::shouldTreatURLAsSameAsCurrent):
13821 (WebFrame::addHistoryItemForFragmentScroll):
13822 (WebFrame::didFinishLoad):
13823 (WebFrame::prepareForDataSourceReplacement):
13824 (WebFrame::setDocumentViewFromCachedPage):
13825 (WebFrame::shouldGoToHistoryItem):
13826 (WebFrame::saveViewStateToItem):
13827 (WebFrame::saveDocumentViewToCachedPage):
13828 (WebFrame::canCachePage):
13829 (WebFrame::setMainDocumentError):
13830 (WebFrame::cannotShowURLError):
13831 (WebFrame::cannotShowMIMETypeError):
13832 (WebFrame::fileDoesNotExistError):
13833 (WebFrame::willUseArchive):
13834 (WebFrame::dispatchDidLoadResourceFromMemoryCache):
13835 (WebFrame::startDownload):
13836 (WebFrame::overrideMediaType):
13837 (WebFrame::addInspector):
13838 (WebFrame::removeInspector):
13840 2007-05-25 Oliver Hunt <oliver@apple.com>
13844 Fix rdar://problem/5212399 <object> with PNG src rendered as image document (causes Acid2 to fail)
13847 (WebFrame::objectContentType):
13849 2007-05-25 Geoffrey Garen <ggaren@apple.com>
13851 Build fix -- forgot to commit a little bit in my last patch.
13853 2007-05-25 Geoffrey Garen <ggaren@apple.com>
13855 Reviewed by Darin Adler, Adam Roben.
13857 Fixed <rdar://problem/5055182> The page cache has no global cap.
13859 The main WebKit changes are:
13860 1. Gutted IWebBackForwardList::setPageCacheSize and IWebBackForwardList::
13861 pageCacheSize because they're deprecated on Mac now. I didn't remove
13862 them, though, because doing so can cause COM badness.
13864 2. Added IWebPreferences::setUsesPageCache IWebPreferences::
13865 usesPageCache because that's the new Mac API. I added them to the end
13866 of IWebPreferences to avoid COM badness.
13868 3. Centralized calculation of object cache and page cache sizes inside
13871 Changed our old behavior of reading a preference and applying a fudge
13872 factor with a new behavior of just using the preference directly. The
13873 old behavior was confusing and often inappropriate. (For example, if
13874 you set a page cache size of 100, a 256MB machine would somewhat
13875 arbitrarily reduce that number to 98.)
13877 2007-05-24 Geoffrey Garen <ggaren@apple.com>
13879 Reviewed by Darin Adler.
13881 Fixed a bug with Settings where a number of different objects held bare
13882 Settings* data members, even though the Page owns the Settings object and
13883 deletes it upon destruction.
13885 Added NULL checks since the Page can be deleted before the frame/document.
13887 2007-05-23 Steve Falkenburg <sfalken@apple.com>
13889 Added IWebFramePrivate::isDescendantOfFrame.
13891 * Interfaces/IWebFramePrivate.idl:
13893 (WebFrame::isDescendantOfFrame):
13896 2007-05-23 Steve Falkenburg <sfalken@apple.com>
13898 Build fix. Fix continuous rebuilding of Interfaces by turning off Generate Type Library for every IDL except WebKit.idl.
13900 * WebKit.vcproj/Interfaces.vcproj:
13902 2007-05-22 Alice Liu <alice.liu@apple.com>
13904 Reviewed by Oliver.
13906 Enabling smartInsertDelete to resolve
13907 <rdar://problem/5082891> editing/deleting/smart-delete-003.html (and 004) fail
13909 * Interfaces/IWebView.idl:
13910 * WebEditorClient.cpp:
13911 (WebEditorClient::smartInsertDeleteEnabled):
13913 (WebView::WebView):
13914 (WebView::initWithFrame):
13915 (WebView::toggleSmartInsertDelete):
13916 (WebView::setSmartInsertDeleteEnabled):
13917 (WebView::smartInsertDeleteEnabled):
13920 2007-05-22 Justin Garcia <justin.garcia@apple.com>
13927 (WebView::clearFocusNode):
13929 2007-05-22 Steve Falkenburg <sfalken@apple.com>
13933 Added 3 view-related methods to IWebFramePrivate.
13935 * Interfaces/IWebFramePrivate.idl: Added 3 new methods
13937 (WebFrame::hasScrollBars): Added.
13938 (WebFrame::contentBounds): Added.
13939 (WebFrame::frameBounds): Added.
13942 2007-05-21 Steve Falkenburg <sfalken@apple.com>
13944 Reviewed by Adam, Ada.
13946 Added IWebFramePrivate::size().
13948 * Interfaces/IWebFramePrivate.idl: Added size.
13950 (WebFrame::size): Added.
13951 * WebFrame.h: Added size.
13953 2007-05-21 Ada Chan <adachan@apple.com>
13957 Added IWebViewPrivate::loadBackForwardListFromOtherView(). It replicates the backforward
13958 list from another webview and loads that in the current webview.
13960 * Interfaces/IWebViewPrivate.idl:
13962 (WebView::loadBackForwardListFromOtherView):
13965 2007-05-18 Steve Falkenburg <sfalken@apple.com>
13967 Build-related fix: stamp version resource properly.
13969 * WebKit.vcproj/WebKit.rc: Fix version resource
13971 2007-05-18 Adam Roben <aroben@apple.com>
13973 Build fix after r21555.
13977 2007-05-17 Ada Chan <adachan@apple.com>
13981 Implemented IWebHTTPURLResponse::localizedStringForStatusCode().
13983 * English.lproj/Localizable.strings: new http status strings
13984 * Interfaces/WebKit.idl: added code to create WebURLResponse instances
13985 * WebKitClassFactory.cpp:
13986 (WebKitClassFactory::CreateInstance): ditto
13987 * WebKitDLL.cpp: ditto
13988 * WebURLResponse.cpp:
13989 (CFHTTPMessageCopyLocalizedShortDescriptionForStatusCode): return the description
13990 text for the given status code
13991 (WebURLResponse::createInstance): create a general instance of web url response.
13992 (WebURLResponse::localizedStringForStatusCode):
13993 * WebURLResponse.h:
13995 2007-05-17 Ada Chan <adachan@apple.com>
13999 Changed the context menu title "Search in Google" to "Search with Google".
14001 * English.lproj/Localizable.strings:
14002 * WebCoreLocalizedStrings.cpp:
14003 (WebCore::contextMenuItemTagSearchWeb):
14005 2007-05-17 Anders Carlsson <andersca@apple.com>
14010 (WebFrame::loadURLIntoChild):
14012 2007-05-15 Steve Falkenburg <sfalken@apple.com>
14014 Reviewed by Darin, Oliver.
14016 <rdar://problem/4967360> Need to detect damaged installs, alert the user to reinstall, and exit
14018 * WebLocalizableStrings.cpp:
14019 (WebLocalizedString): Make failure to load a localized string slightly less fatal
14021 2007-05-15 Steve Falkenburg <sfalken@apple.com>
14023 Reviewed by Darin Adler.
14025 <rdar://problem/4956541> Need to implement preference for how much History is maintained
14028 (WebHistory::ageLimitDate): Remove extra +30 from history age in days.
14030 2007-05-14 Anders Carlsson <andersca@apple.com>
14032 Reviewed by Darin Adler.
14034 Pass an empty property bag when constructing the WebError, the code in Safari relies on having a user info bag.
14037 (WebFrame::createJavaAppletWidget):
14039 2007-05-14 Anders Carlsson <andersca@apple.com>
14043 Report an error to the resource load delegate if the Java plugin can't be loaded.
14046 (WebFrame::createJavaAppletWidget):
14048 2007-05-11 Steve Falkenburg <sfalken@apple.com>
14050 Reviewed by Darin, Ada.
14052 WebKit DCOM compatibility.
14053 When a WebKit hosting app calls RunAsLocalServer, the class object for CLSID_WebDebugProgram
14054 is registered to allow creation across processes. This is for future compatibility with
14057 Added new exported function: RunAsLocalServer.
14058 This exposes WebKit inside the running exe as a LocalServer32 (COM server), which
14059 will allow Drosera to connect to it via DCOM.
14061 We use the DCOM Universal Marshaller from oleaut32.dll, which performs marshalling
14062 based on type libraries, so as part of this change, I've done some work on making our
14063 interfaces compatible with this marshaller.
14065 Updated for compatibility w/ COM automation, and fixed up our type library.
14066 Added type library registration/unregistration code.
14067 Marked methods not compatible w/ automation/marshalling as [local].
14069 As a side-effect, with these changes, the .NET tlbimp tool can create a .NET interop
14070 assembly to theoretically allow WebKit to be invoked from .NET apps. I haven't
14071 tried this. It could end up being useful to drive API testing.
14073 To test, I wrote a small app that calls:
14074 ::CoCreateInstance(CLSID_IWebDebugProgram, 0, CLSCTX_LOCAL_SERVER, IID_IUnknown, (void**)&viewUnknown);
14075 Using this instantiated class, I'm able to iterate the exisitng webviews and retrieve their
14076 source, title, URL, etc.
14078 * DOMCoreClasses.cpp:
14079 (DOMElement::isEqual):
14080 * DOMCoreClasses.h:
14081 * DefaultDownloadDelegate.cpp:
14082 (DefaultDownloadDelegate::decideDestinationWithSuggestedFilename):
14083 * DefaultDownloadDelegate.h:
14084 * Interfaces/DOMCSS.idl:
14085 * Interfaces/DOMCore.idl:
14086 * Interfaces/DOMEvents.idl:
14087 * Interfaces/DOMExtensions.idl:
14088 * Interfaces/DOMHTML.idl:
14089 * Interfaces/DOMPrivate.idl:
14090 * Interfaces/DOMRange.idl:
14091 * Interfaces/DOMWindow.idl:
14092 * Interfaces/IWebArchive.idl:
14093 * Interfaces/IWebAttributedString.idl: Removed.
14094 * Interfaces/IWebBackForwardList.idl:
14095 * Interfaces/IWebBackForwardListPrivate.idl:
14096 * Interfaces/IWebCache.idl:
14097 * Interfaces/IWebDataSource.idl:
14098 * Interfaces/IWebDebugProgram.idl: Added.
14099 * Interfaces/IWebDocument.idl:
14100 * Interfaces/IWebDownload.idl:
14101 * Interfaces/IWebEditingDelegate.idl:
14102 * Interfaces/IWebError.idl:
14103 * Interfaces/IWebFormDelegate.idl:
14104 * Interfaces/IWebFrame.idl:
14105 * Interfaces/IWebFrameLoadDelegate.idl:
14106 * Interfaces/IWebFrameLoadDelegatePrivate.idl:
14107 * Interfaces/IWebFramePrivate.idl:
14108 * Interfaces/IWebFrameView.idl:
14109 * Interfaces/IWebHTMLRepresentation.idl:
14110 * Interfaces/IWebHTTPURLResponse.idl:
14111 * Interfaces/IWebHistory.idl:
14112 * Interfaces/IWebHistoryItem.idl:
14113 * Interfaces/IWebHistoryItemPrivate.idl:
14114 * Interfaces/IWebIconDatabase.idl:
14115 * Interfaces/IWebJavaScriptCollector.idl:
14116 * Interfaces/IWebKitStatistics.idl:
14117 * Interfaces/IWebMutableURLRequest.idl:
14118 * Interfaces/IWebNotification.idl:
14119 * Interfaces/IWebNotificationCenter.idl:
14120 * Interfaces/IWebNotificationObserver.idl:
14121 * Interfaces/IWebPolicyDelegate.idl:
14122 * Interfaces/IWebPreferences.idl:
14123 * Interfaces/IWebResource.idl:
14124 * Interfaces/IWebResourceLoadDelegate.idl:
14125 * Interfaces/IWebResourceLoadDelegatePrivate.idl:
14126 * Interfaces/IWebScriptObject.idl:
14127 * Interfaces/IWebScrollBarDelegatePrivate.idl:
14128 * Interfaces/IWebScrollBarPrivate.idl:
14129 * Interfaces/IWebUIDelegate.idl:
14130 * Interfaces/IWebUIDelegatePrivate.idl:
14131 * Interfaces/IWebURLAuthenticationChallenge.idl:
14132 * Interfaces/IWebURLRequest.idl:
14133 * Interfaces/IWebURLResponse.idl:
14134 * Interfaces/IWebUndoManager.idl:
14135 * Interfaces/IWebUndoTarget.idl:
14136 * Interfaces/IWebView.idl:
14137 * Interfaces/IWebViewPrivate.idl:
14138 * Interfaces/WebKit.idl:
14139 * WebContextMenuClient.cpp:
14140 (WebContextMenuClient::getCustomMenuFromDefaultItems):
14141 * WebDataSource.cpp:
14142 (WebDataSource::subresources):
14144 * WebDebugProgram.cpp: Added.
14145 (EnumViews::EnumViews):
14146 (EnumViews::QueryInterface):
14147 (EnumViews::AddRef):
14148 (EnumViews::Release):
14151 (EnumViews::Reset):
14152 (EnumViews::Clone):
14153 (WebDebugProgram::WebDebugProgram):
14154 (WebDebugProgram::~WebDebugProgram):
14155 (WebDebugProgram::createInstance):
14156 (WebDebugProgram::QueryInterface):
14157 (WebDebugProgram::AddRef):
14158 (WebDebugProgram::Release):
14159 (WebDebugProgram::viewAdded):
14160 (WebDebugProgram::viewRemoved):
14161 (WebDebugProgram::attach):
14162 (WebDebugProgram::detach):
14163 (WebDebugProgram::statistics):
14164 (WebDebugProgram::webViews):
14165 * WebDebugProgram.h: Added.
14166 * WebDropSource.cpp:
14167 (generateMouseEvent):
14169 (WebError::localizedRecoveryOptions):
14172 (EnumChildFrames::EnumChildFrames):
14173 (EnumChildFrames::QueryInterface):
14174 (EnumChildFrames::AddRef):
14175 (EnumChildFrames::Release):
14176 (EnumChildFrames::Next):
14177 (EnumChildFrames::Skip):
14178 (EnumChildFrames::Reset):
14179 (EnumChildFrames::Clone):
14180 (WebFrame::childFrames):
14181 (WebFrame::initWithWebFrameView):
14183 * WebHistoryItem.cpp:
14184 (WebHistoryItem::icon):
14185 * WebHistoryItem.h:
14186 * WebIconDatabase.cpp:
14187 (WebIconDatabase::iconForURL):
14188 (WebIconDatabase::defaultIconWithSize):
14189 * WebIconDatabase.h:
14190 * WebInspector/WebInspector.cpp:
14191 (WebInspector::WebInspector):
14192 (WebInspector::show):
14193 (WebInspector::onDestroy):
14194 (WebInspector::onSize):
14195 * WebInspector/WebInspector.h:
14196 (WebInspector::didReceiveIcon):
14197 (WebInspector::webViewFirstResponder):
14198 (WebInspector::makeFirstResponder):
14199 (WebInspector::contextMenuItemsForElement):
14200 (WebInspector::trackCustomPopupMenu):
14201 (WebInspector::addCustomMenuDrawingData):
14202 (WebInspector::cleanUpCustomMenuDrawingData):
14203 * WebKit.vcproj/Interfaces.vcproj:
14204 * WebKit.vcproj/WebKit.def:
14205 * WebKit.vcproj/WebKit.vcproj:
14206 * WebKit.vcproj/WebKitGUID.vcproj:
14207 * WebKit.vcproj/WebKit_debug.def:
14208 * WebKitClassFactory.cpp:
14209 (WebKitClassFactory::CreateInstance):
14211 (DllGetClassObject):
14212 (DllUnregisterServer):
14213 (DllRegisterServer):
14214 (RunAsLocalServer):
14215 * WebKitStatistics.cpp:
14216 * WebScrollBar.cpp:
14217 (WebScrollBar::init):
14218 (WebScrollBar::handleMouseEvent):
14221 (WebView::WebView):
14222 (WebView::~WebView):
14223 (WebView::handleContextMenuEvent):
14224 (WebView::onInitMenuPopup):
14225 (WebView::onUninitMenuPopup):
14227 (WebView::QueryInterface):
14228 (WebView::MIMETypesShownAsHTML):
14229 (WebView::setHostWindow):
14230 (WebView::hostWindow):
14231 (WebView::generateSelectionImage):
14232 (WebView::pasteboardTypesForSelection):
14233 (WebView::pasteboardTypesForElement):
14234 (WebView::mainFrameIcon):
14235 (WebView::canMakeTextStandardSize):
14236 (WebView::viewWindow):
14239 2007-05-11 Adele Peterson <adele@apple.com>
14243 * WebView.cpp: (WebView::selectionImageRect):
14245 2007-05-10 Geoffrey Garen <ggaren@apple.com>
14247 Reviewed by Darin Adler.
14249 "IconDatabase::sharedIconDatabase()" => "iconDatabase()" for terseness.
14251 2007-05-10 Maciej Stachowiak <mjs@apple.com>
14253 Reviewed by Oliver.
14255 - WebKitWin part of fix for:
14256 <rdar://problem/5063277> blank screen after login to Citibank Online (accessing document before frame starts loading cancels load)
14257 <rdar://problem/5159541> REGRESSION (r20972): Wall Street Journal pages replaced by advertisements (13465)
14259 The basic approach is to have Frames start out containing an empty document instead of absolutely nothing,
14260 so there is no need to initialize them on demand. Various side effects of that cause both of these bugs.
14262 However, this caused many regressions so I had to fix the fallout.
14265 (WebFrame::createFrame): init frame
14267 (WebView::initWithFrame): init frame
14268 (WebView::stringByEvaluatingJavaScriptFromString): don't create empty document
14270 2007-05-08 Steve Falkenburg <sfalken@apple.com>
14272 Reviewed by Darin, Oliver.
14274 Added UI_STRING versions of localized WebCore strings.
14276 * English.lproj/Localizable.strings: Updated.
14277 * English.lproj/StringsNotToBeLocalized.txt: Updated.
14278 * WebCoreLocalizedStrings.cpp: Added.
14279 (WebCore::searchableIndexIntroduction):
14280 (WebCore::submitButtonDefaultLabel):
14281 (WebCore::inputElementAltText):
14282 (WebCore::resetButtonDefaultLabel):
14283 (WebCore::fileButtonChooseFileLabel):
14284 (WebCore::fileButtonNoFileSelectedLabel):
14285 (WebCore::contextMenuItemTagOpenLinkInNewWindow):
14286 (WebCore::contextMenuItemTagDownloadLinkToDisk):
14287 (WebCore::contextMenuItemTagCopyLinkToClipboard):
14288 (WebCore::contextMenuItemTagOpenImageInNewWindow):
14289 (WebCore::contextMenuItemTagDownloadImageToDisk):
14290 (WebCore::contextMenuItemTagCopyImageToClipboard):
14291 (WebCore::contextMenuItemTagOpenFrameInNewWindow):
14292 (WebCore::contextMenuItemTagCopy):
14293 (WebCore::contextMenuItemTagGoBack):
14294 (WebCore::contextMenuItemTagGoForward):
14295 (WebCore::contextMenuItemTagStop):
14296 (WebCore::contextMenuItemTagReload):
14297 (WebCore::contextMenuItemTagCut):
14298 (WebCore::contextMenuItemTagPaste):
14299 (WebCore::contextMenuItemTagNoGuessesFound):
14300 (WebCore::contextMenuItemTagIgnoreSpelling):
14301 (WebCore::contextMenuItemTagLearnSpelling):
14302 (WebCore::contextMenuItemTagSearchWeb):
14303 (WebCore::contextMenuItemTagLookUpInDictionary):
14304 (WebCore::contextMenuItemTagOpenLink):
14305 (WebCore::contextMenuItemTagIgnoreGrammar):
14306 (WebCore::contextMenuItemTagSpellingMenu):
14307 (WebCore::contextMenuItemTagCheckSpelling):
14308 (WebCore::contextMenuItemTagCheckSpellingWhileTyping):
14309 (WebCore::contextMenuItemTagCheckGrammarWithSpelling):
14310 (WebCore::contextMenuItemTagFontMenu):
14311 (WebCore::contextMenuItemTagBold):
14312 (WebCore::contextMenuItemTagItalic):
14313 (WebCore::contextMenuItemTagUnderline):
14314 (WebCore::contextMenuItemTagOutline):
14315 (WebCore::contextMenuItemTagWritingDirectionMenu):
14316 (WebCore::contextMenuItemTagDefaultDirection):
14317 (WebCore::contextMenuItemTagLeftToRight):
14318 (WebCore::contextMenuItemTagRightToLeft):
14319 (WebCore::contextMenuItemTagShowSpellingPanel):
14320 (WebCore::searchMenuNoRecentSearchesText):
14321 (WebCore::searchMenuRecentSearchesText):
14322 (WebCore::searchMenuClearRecentSearchesText):
14323 (WebCore::AXWebAreaText):
14324 (WebCore::AXLinkText):
14325 (WebCore::AXListMarkerText):
14326 (WebCore::AXImageMapText):
14327 (WebCore::AXHeadingText):
14328 * WebKit.vcproj/WebKit.vcproj: Added WebCoreLocalizedStrings.cpp, reorganized other files a bit.
14330 2007-05-08 Steve Falkenburg <sfalken@apple.com>
14334 Update editing delegate
14336 * Interfaces/IWebEditingDelegate.idl:
14337 * WebEditorClient.cpp:
14338 (WebEditorClient::updateSpellingUIWithGrammarString):
14339 * WebEditorClient.h:
14341 2007-05-07 Steve Falkenburg <sfalken@apple.com>
14343 Reviewed by Darin Adler.
14345 Fix typo in prefs code.
14347 * WebPreferences.cpp:
14348 (WebPreferences::preferencesPath): Fix typo in error handling.
14350 2007-05-04 Steve Falkenburg <sfalken@apple.com>
14352 Reviewed by Darin Adler.
14354 Fix crash when using "check spelling while typing".
14357 (WebView::preflightSpellChecker): Set delegate static global for use in spell checker init.
14359 2007-05-03 Steve Falkenburg <sfalken@apple.com>
14361 Reviewed by Ada, Oliver.
14364 <rdar://problem/4602372> Spelling
14365 <rdar://problem/4769763> Spell checking engine support
14367 * Interfaces/IWebEditingDelegate.idl: Add userDescription parameter.
14368 * WebEditorClient.cpp:
14369 (WebEditorClient::updateSpellingUIWithGrammarString): Set user description for spelling errors.
14370 * WebEditorClient.h:
14372 (WebView::replaceSelectionWithText): Implemented.
14374 2007-05-01 Steve Falkenburg <sfalken@apple.com>
14376 Reviewed by Oliver.
14378 Fix usage errors in COM enumeration.
14380 * WebEditorClient.cpp:
14381 (WebEditorClient::checkGrammarOfString): Call Next correctly.
14382 (WebEditorClient::getGuessesForWord): Call Next correctly.
14384 2007-04-30 Alice Liu <alice.liu@apple.com>
14388 Fixed <rdar://5126201> crash closing tab when the two following tabs are empty.
14389 Basically this fix involved one thing, which lead to another thing. First, the crash
14390 was fixed by moving the call to webView->close from SearchableWebView::onDestroy to
14391 WebViewWndProc when WM_DESTROY message is processed. We now want only WebKit handling
14392 the closure of a WebView, so all calls to WebView::close have been removed, save for
14393 the one call in WebViewWndProc.
14395 * Interfaces/IWebView.idl:
14396 removed close() from public interface
14397 * WebInspector/WebInspector.cpp:
14398 (WebInspector::onDestroy):
14399 removed call to close()
14401 (WebView::~WebView):
14402 move the deleting of m_page down a bit to avoid a crash
14404 changed from public API to just a public function
14406 webView->close() was moved here from SearchableWebView::onDestroy
14408 changed close() to a public function not exposed in the WebKit interface
14410 2007-04-24 Steve Falkenburg <sfalken@apple.com>
14412 Reviewed by Darin, Oliver.
14415 <rdar://problem/4602372> Spelling
14416 <rdar://problem/4769763> Spell checking engine support
14418 * WebEditorClient.cpp:
14419 (WebEditorClient::isContinuousSpellCheckingEnabled):
14420 (WebEditorClient::toggleContinuousSpellChecking):
14421 (WebEditorClient::isGrammarCheckingEnabled):
14422 (WebEditorClient::toggleGrammarChecking):
14423 (initViewSpecificSpelling):
14424 (WebEditorClient::spellCheckerDocumentTag):
14425 (WebEditorClient::ignoreWordInSpellDocument):
14426 (WebEditorClient::learnWord):
14427 (WebEditorClient::checkSpellingOfString):
14428 (WebEditorClient::checkGrammarOfString):
14429 (WebEditorClient::udpateSpellingUIWithGrammarString):
14430 (WebEditorClient::updateSpellingUIWithMisspelledWord):
14431 (WebEditorClient::showSpellingUI):
14432 (WebEditorClient::spellingUIIsShowing):
14433 (WebEditorClient::getGuessesForWord):
14434 * WebPreferences.h:
14436 2007-04-20 Ada Chan <adachan@apple.com>
14438 Reviewed by Steve and Oliver.
14440 Implemented some DOM methods I need to support password input and textarea in
14441 WebView-based edit fields in the app.
14443 * DOMCSSClasses.cpp:
14444 (DOMCSSStyleDeclaration::setCssText): added implementation
14445 * DOMCoreClasses.cpp:
14446 (DOMDocument::createElement): ditto
14447 * DOMHTMLClasses.cpp:
14448 (DOMHTMLInputElement::setType): ditto
14449 (DOMHTMLTextAreaElement::value): ditto
14450 (DOMHTMLTextAreaElement::setValue): ditto
14451 (DOMHTMLTextAreaElement::select): ditto
14452 * Interfaces/IWebUIDelegatePrivate.idl: added a new method webViewGetDlgCode() that client
14453 can implement if it wants to handle keypresses themselves rather than letting the system
14454 interpret certain keys as dialog box navigation keys.
14455 * WebKitGraphics.cpp:
14456 (DrawTextAtPoint): handle drawing text as password
14457 * WebKitGraphics.h:
14459 Added Copy, Cut, and Paste to the keyEntries.
14460 (WebViewWndProc): added code to handle WM_GETDLGCODE. Calls IWebUIDelegatePrivate::webViewGetDlgCode()
14461 if available to see if the client wants to handle it.
14463 2007-04-18 Adam Roben <aroben@apple.com>
14467 Make development builds use the same CLSIDs as archive builds, and get
14468 rid of the now-unused set of CLSIDs.
14470 * Interfaces/WebKit.idl: Use the archive build CLSIDs if we're not
14471 doing a production build.
14472 * WebKit.vcproj/Interfaces.vcproj: Don't define __ARCHIVE_BUILD__
14473 because it's not used anymore.
14475 2007-04-18 Adam Roben <aroben@apple.com>
14479 Use different ProgIDs for production builds.
14481 * ProgIDMacros.h: Added.
14482 * WebKit.vcproj/WebKit.vcproj: Defined the __BUILDBOT__ macro and added
14483 a new header which is copied in the post-build step.
14484 * WebKitDLL.cpp: Macro-ized the declaration of the registry keys to
14487 2007-04-16 Adam Roben <aroben@apple.com>
14489 Rubberstamped by Steve.
14491 * WebKit.vcproj/WebKit.sln: Removed the Debug_Internal configuration.
14493 2007-04-16 Adam Roben <aroben@apple.com>
14497 Removed the pre-link build step, and removed registration of WebKit.dll
14498 from the post-build step.
14500 * WebKit.vcproj/WebKit.vcproj:
14502 2007-04-16 Adam Roben <aroben@apple.com>
14504 * WebKit.vcproj/WebKit.sln: Added WTF to the solution.
14506 2007-04-16 Steve Falkenburg <sfalken@apple.com>
14510 Visual Studio Express compatibility for WebKit build (except for DRT)
14512 * WebDragClient.cpp: Removed unused header (atlsafe.h)
14513 * WebKit.vcproj/WebKit.rc: Removed afxres.h and related code
14514 * WebKit.vcproj/WebKit.sln: Don't use a sln folder - they aren't supported by express
14515 * WebKit.vcproj/WebKit.vcproj: Add explicit lib references for Windows system libs (VS express doesn't include these)
14516 * WebView.cpp: Removed unused header (atldef.h)
14518 2007-04-16 Adam Roben <aroben@apple.com>
14522 * WebInspector/webInspector/inspector.js:
14523 * WebInspector/webInspector/treeoutline.js:
14525 2007-04-16 Adam Roben <aroben@apple.com>
14529 * WebInspector/webInspector/inspector.js:
14530 * WebInspector/webInspector/treeoutline.js:
14532 2007-04-16 Adam Roben <aroben@apple.com>
14536 * WebInspector/webInspector/inspector.js:
14538 2007-04-16 Adam Roben <aroben@apple.com>
14542 * WebInspector/webInspector/inspector.js:
14544 2007-04-16 Adam Roben <aroben@apple.com>
14548 * WebInspector/webInspector/inspector.js:
14549 * WebInspector/webInspector/scrollarea.js:
14550 * WebInspector/webInspector/scrollbar.js:
14551 * WebInspector/webInspector/utilities.js:
14553 2007-04-16 Adam Roben <aroben@apple.com>
14557 * WebInspector/webInspector/inspector.html:
14558 * WebInspector/webInspector/inspector.js:
14559 * WebInspector/webInspector/utilities.js: Added.
14561 2007-04-16 Adam Roben <aroben@apple.com>
14565 * WebInspector/webInspector/inspector.html:
14566 * WebInspector/webInspector/inspector.js:
14567 * WebInspector/webInspector/treeoutline.js: Added.
14569 2007-04-14 Adam Roben <aroben@apple.com>
14571 * WebKit.vcproj/WebKitGUID.vcproj: Need to use WebKitConfigSuffix
14572 instead of ConfigSuffix now.
14574 2007-04-14 Adam Roben <aroben@apple.com>
14576 * WebKit.vcproj/WebKit.submit.sln: Use the Debug_Internal configuration
14577 when B&I builds Debug.
14579 2007-04-12 Steve Falkenburg <sfalken@apple.com>
14581 Reviewed by Geoff, Adam.
14583 Changes required for search history content.
14585 * Interfaces/IWebFramePrivate.idl:
14587 (WebFrame::isFrameSet): Added
14588 (WebFrame::string): Added
14591 2007-04-12 Adam Roben <aroben@apple.com>
14593 Rubberstamped by Steve.
14595 Copied WebKit.sln to WebKit.submit.sln, and added missing projects to
14596 WebKit.sln so that opensource contributors can use it to build a
14599 * WebKit.vcproj/WebKit.make: Changed to use WebKit.submit.sln.
14600 * WebKit.vcproj/WebKit.sln: Added JavaScriptCore, WebCore,
14601 DumpRenderTree projects.
14602 * WebKit.vcproj/WebKit.submit.sln: Added.
14604 2007-04-12 Adam Roben <aroben@apple.com>
14608 <rdar://problem/5131565> Need to be able to use debug WebKit with
14611 Added a new configuration to WebKit.vcproj called Debug_Internal to be
14612 used by Apple internal builds. The Debug configuration is now meant to
14613 be used by opensource builds, and will always link against release
14614 versions of CF, CFNet, CG, etc. Debug_Internal is identical to Debug
14615 except for the property sheet it uses, and the Debug configuration
14616 doesn't register WebKit_debug.dll when finished.
14618 We now have two macros, $(WebKitConfigSuffix) and
14619 $(LibraryConfigSuffix). WebKitConfigSuffix is used for WebKit projects,
14620 and is "_debug" for both Debug and Debug_Internal. LibraryConfigSuffix
14621 is used for external projects, and is "" for Debug and "_debug" for
14624 * WebKit.vcproj/WebKit.vcproj:
14625 * WebKit.vcproj/debug.vsprops:
14626 * WebKit.vcproj/debug_internal.vsprops: Added.
14627 * WebKit.vcproj/release.vsprops:
14629 2007-04-12 John Sullivan <sullivan@apple.com>
14633 * Interfaces/IWebUIDelegate.idl:
14634 added new PDF-related context menu items to enum to keep it in sync with WebCore
14636 2007-04-12 Mark Rowe <mrowe@apple.com>
14638 Not reviewed. Internal counterpart to open-source r20856.
14640 * WebChromeClient.cpp:
14641 (WebChromeClient::createWindow):
14642 (WebChromeClient::createModalDialog):
14643 * WebChromeClient.h:
14645 2007-04-11 Ada Chan <adachan@apple.com>
14649 Implemented WebHistoryItem::originalURLString(). Added parameter checks to other methods.
14651 * WebHistoryItem.cpp:
14652 (WebHistoryItem::originalURLString):
14653 (WebHistoryItem::URLString):
14654 (WebHistoryItem::title):
14655 (WebHistoryItem::lastVisitedTimeInterval):
14657 2007-04-10 Brady Eidson <beidson@apple.com>
14661 <rdar://problem/4887095> - PageCache and PageState should be combined
14663 Basically updated client methods for the new names and signatures
14666 (WebFrame::loadedFromCachedPage):
14667 (WebFrame::setDocumentViewFromCachedPage):
14668 (WebFrame::saveDocumentViewToCachedPage):
14671 2007-04-10 Adam Roben <aroben@apple.com>
14673 Reviewed by Anders.
14675 Fix <rdar://problem/5119803> Web Inspector has no options menu
14677 * WebInspector/WebInspector.cpp:
14678 (interpreterForFrame): Added.
14679 (WebInspector::showOptionsMenu): Implemented.
14680 (WebInspector::onCommand): Added.
14681 (WebInspector::toggleIgnoreWhitespace): Implemented.
14682 (WebInspector::toggleShowUserAgentStyles): Implemented.
14683 (WebInspectorWndProc): Added case for WM_COMMAND.
14684 * WebInspector/WebInspector.h:
14686 2007-04-09 Anders Carlsson <andersca@apple.com>
14690 <rdar://problem/5062624>
14691 No prompt to install QT for pages with uninstalled QT plug-in.
14693 * CFDictionaryPropertyBag.cpp:
14694 (CFDictionaryPropertyBag::Read):
14695 (CFDictionaryPropertyBag::Write):
14696 Use LPCOLESTRToCFStringRef here since the property names aren't BSTRs.
14698 * Interfaces/IWebError.idl:
14699 Add user info keys.
14701 * MarshallingHelpers.cpp:
14702 (MarshallingHelpers::LPCOLESTRToCFStringRef):
14703 * MarshallingHelpers.h:
14707 (WebError::WebError):
14708 (WebError::createInstance):
14709 Take a property bag.
14711 (WebError::userInfo):
14712 Return the property bag.
14715 (WebFrame::createPlugin):
14716 If the plug-in wasn't found or failed to load, create a WebError with the right user info and
14717 call IWebResourceLoadDelegate::plugInFailedWithError.
14719 2007-04-09 Brady Eidson <beidson@apple.com>
14723 * WebContextMenuClient.cpp:
14724 (WebContextMenuClient::searchWithGoogle): userGesture is true
14726 2007-04-09 Timothy Hatcher <timothy@apple.com>
14730 <rdar://problem/5121757> WebInspector focuses elements on mouse up instead of mouse down
14732 Make selecting a tree node happen on mousedown to match the NSOutlineView behavior.
14733 Also makes selecting rows in the style pane happen on mousedown for consistency.
14735 * WebInspector/webInspector/inspector.js:
14737 2007-04-09 Adam Roben <aroben@apple.com>
14741 * WebInspector/WebInspector.cpp:
14742 * WebInspector/WebInspector.h:
14744 2007-04-09 Adam Roben <aroben@apple.com>
14746 Reviewed by Oliver.
14748 Fix two Web Inspector bugs:
14749 - The WebView wasn't focused when the inspector first appeared.
14750 - Resizing the upper pane did not resize the whole window.
14752 * WebInspector/WebInspector.cpp:
14753 (WebInspector::show): Focus the WebView.
14754 (WebInspector::setFrame): Implemented.
14755 (WebInspector::webViewFrame): Implemented.
14756 * WebInspector/WebInspector.h:
14758 2007-04-09 Adam Roben <aroben@apple.com>
14760 * WebInspector/WebInspector.cpp:
14761 (WebInspector::WebInspector): Removed two fixed FIXMEs and some
14762 commented-out code.
14764 2007-04-08 Adam Roben <aroben@apple.com>
14766 When does "merge" != "merge"? When you make the change yourself
14767 pre-emptively and make a typo.
14769 * WebInspector/webInspector/inspector.js:
14771 2007-04-08 Adam Roben <aroben@apple.com>
14775 * WebInspector/webInspector/inspector.js:
14777 2007-04-08 Adam Roben <aroben@apple.com>
14781 * WebInspector/webInspector/inspector.js:
14783 2007-04-08 Adam Roben <aroben@apple.com>
14787 * WebInspector/webInspector/inspector.js:
14789 2007-04-08 Adam Roben <aroben@apple.com>
14791 Reviewed by Anders.
14793 <rdar://problem/5119804> Web Inspector isn't resizable
14794 <rdar://problem/5119805> Can't move Web Inspector
14796 * WebInspector/WebInspector.cpp:
14797 (WebInspectorPrivate::WebInspectorPrivate):
14798 (WebInspector::WebInspector): Subclass the WebView so we can intercept
14800 (WebInspector::onDestroy): Undo the subclassing.
14801 (WebInspector::handleMessageSentToWebView): Added.
14802 (WebInspector::onLButtonDown): Added.
14803 (WebInspector::onLButtonUp): Added.
14804 (WebInspector::onMouseMove): Added.
14805 (WebInspectorWndProc): Added cases for mouse messages.
14806 (SubclassedWebViewWndProc): Added.
14807 * WebInspector/WebInspector.h:
14809 2007-04-08 Adam Roben <aroben@apple.com>
14813 * WebInspector/webInspector/AppleScrollArea.js: Removed.
14814 * WebInspector/webInspector/AppleScrollbar.js: Removed.
14815 * WebInspector/webInspector/Images/resize.png: Added.
14816 * WebInspector/webInspector/inspector.css:
14817 * WebInspector/webInspector/inspector.html:
14818 * WebInspector/webInspector/inspector.js:
14819 * WebInspector/webInspector/scrollarea.js: Added.
14820 * WebInspector/webInspector/scrollbar.js: Added.
14822 2007-04-08 Adam Roben <aroben@apple.com>
14826 * WebInspector/webInspector/inspector.js:
14828 2007-04-08 Adam Roben <aroben@apple.com>
14832 * WebInspector/webInspector/inspector.js:
14834 2007-04-08 Adam Roben <aroben@apple.com>
14838 * WebInspector/webInspector/inspector.js:
14840 2007-04-08 Adam Roben <aroben@apple.com>
14844 * WebInspector/WebInspector.cpp:
14846 2007-04-07 Adam Roben <aroben@apple.com>
14848 Reviewed by Oliver.
14850 <rdar://problem/4769828> Web Inspector
14852 * WebInspector/WebInspector.cpp: Renamed from WebInspector.m. Ported
14853 Mac code. Some parts are left commented out to aid later
14855 * WebInspector/WebInspector.h: Ditto.
14857 * DOMCoreClasses.cpp: Added IID_DOMNode.
14858 (DOMNode::QueryInterface): Added case for IID_DOMNode.
14859 (DOMNode::isSameNode): Implemented.
14860 * DOMCoreClasses.h: Added IID_DOMNode.
14861 (DOMNode::node): Added.
14862 * English.lproj/Localizable.strings: Updated for "Inspect Element".
14863 * WebContextMenuClient.cpp:
14864 (WebContextMenuClient::getCustomMenuFromDefaultItems): Add the "Inspect
14867 (WebFrame::addInspector): Stubbed out.
14868 (WebFrame::removeInspector): Ditto.
14869 * WebFrame.h: Added declarations.
14870 * WebKit.resources/Info.plist: Added. This was needed so that the
14871 WebKit bundle would have a bundle identifier.
14872 * WebKit.vcproj/WebKit.vcproj: Added new files to project, and modified
14873 the post-build step to copy Info.plist and everything in
14874 WebInspector/webInspector to WebKit.resources.
14876 (WebView::performContextMenuAction): Added case for the Inspect Element item.
14877 (WebView::inspectElement): Added.
14878 * WebView.h: Added declaration.
14880 2007-04-07 Adam Roben <aroben@apple.com>
14882 Forked most of the WebInspector directory from
14883 r20780 of branches/WebInspectorRefresh/WebKit/WebInspector.
14885 * WebInspector/WebInspector.h: Added.
14886 * WebInspector/WebInspector.m: Added.
14887 (+[WebInspector sharedWebInspector]):
14888 (-[WebInspector init]):
14889 (-[WebInspector initWithWebFrame:]):
14890 (-[WebInspector dealloc]):
14891 (-[WebInspector window]):
14892 (-[WebInspector windowWillClose:]):
14893 (-[WebInspector showWindow:]):
14894 (-[WebInspector setWebFrame:]):
14895 (-[WebInspector webFrame]):
14896 (-[WebInspector setRootDOMNode:]):
14897 (-[WebInspector rootDOMNode]):
14898 (-[WebInspector setFocusedDOMNode:]):
14899 (-[WebInspector focusedDOMNode]):
14900 (-[WebInspector setSearchQuery:]):
14901 (-[WebInspector searchQuery]):
14902 (-[WebInspector showOptionsMenu]):
14903 (-[WebInspector _toggleIgnoreWhitespace:]):
14904 (-[WebInspector _toggleShowUserAgentStyles:]):
14905 (-[WebInspector _highlightNode:]):
14906 (-[WebInspector _nodeHighlightExpired:]):
14907 (-[WebInspector _update]):
14908 (-[WebInspector _updateRoot]):
14909 (-[WebInspector _updateSystemColors]):
14910 (-[WebInspector _applicationWillResignActive]):
14911 (-[WebInspector _applicationDidBecomeActive]):
14912 (-[WebInspector _webFrameDetached:]):
14913 (+[WebInspector isSelectorExcludedFromWebScript:]):
14914 (+[WebInspector webScriptNameForSelector:]):
14915 (+[WebInspector isKeyExcludedFromWebScript:]):
14916 (-[WebInspector inspectedWebViewProgressFinished:]):
14917 (-[WebInspector webView:didFinishLoadForFrame:]):
14918 (-[WebInspector webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
14919 (-[WebInspector webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
14920 (-[WebInspector webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
14921 (-[WebInspectorPrivate dealloc]):
14922 (-[DOMNode _isAncestorOfNode:]):
14923 * WebInspector/webInspector/AppleScrollArea.js: Added.
14924 * WebInspector/webInspector/AppleScrollbar.js: Added.
14925 * WebInspector/webInspector/Images/button.png: Added.
14926 * WebInspector/webInspector/Images/buttonDivider.png: Added.
14927 * WebInspector/webInspector/Images/buttonPressed.png: Added.
14928 * WebInspector/webInspector/Images/close.png: Added.
14929 * WebInspector/webInspector/Images/closePressed.png: Added.
14930 * WebInspector/webInspector/Images/downTriangle.png: Added.
14931 * WebInspector/webInspector/Images/menu.png: Added.
14932 * WebInspector/webInspector/Images/menuPressed.png: Added.
14933 * WebInspector/webInspector/Images/popup.png: Added.
14934 * WebInspector/webInspector/Images/popupPressed.png: Added.
14935 * WebInspector/webInspector/Images/rightTriangle.png: Added.
14936 * WebInspector/webInspector/Images/scrollThumbBottom.png: Added.
14937 * WebInspector/webInspector/Images/scrollThumbMiddle.png: Added.
14938 * WebInspector/webInspector/Images/scrollThumbTop.png: Added.
14939 * WebInspector/webInspector/Images/scrollTrackBottom.png: Added.
14940 * WebInspector/webInspector/Images/scrollTrackMiddle.png: Added.
14941 * WebInspector/webInspector/Images/scrollTrackTop.png: Added.
14942 * WebInspector/webInspector/Images/upTriangle.png: Added.
14943 * WebInspector/webInspector/inspector.css: Added.
14944 * WebInspector/webInspector/inspector.html: Added.
14945 * WebInspector/webInspector/inspector.js: Added.
14947 2007-04-06 Dave Hyatt <hyatt@apple.com>
14949 Internal side of fix for bug 13274.
14953 * Interfaces/IWebScrollBarPrivate.idl:
14954 * WebScrollBar.cpp:
14957 (WebView::handleMouseEvent):
14959 2007-04-04 Oliver Hunt <oliver@apple.com>
14963 Fix <rdar://problem/5111027> Dragging a link on page
14964 shows URL thumbnail as nearly-transparent instead
14967 Error in createDragImageForLink led me to get wrong
14968 maximum drag image size, now logic and maximum drag
14969 image size corrected.
14971 * WebDragClient.cpp:
14972 (WebDragClient::createDragImageForLink):
14974 2007-04-04 Adam Roben <aroben@apple.com>
14976 Release build fix for TestNetscapePlugin.
14978 * WebKit.vcproj/WebKit.vcproj: Make the Release post-build step the
14979 same as the Debug one so that the npapi headers get copied.
14981 2007-04-03 Adam Roben <aroben@apple.com>
14983 Reviewed by Anders.
14985 WebKit part of fix for <rdar://problem/5103999> All dom/svg tests are
14986 failing due to extra/missing newlines
14988 * DOMCoreClasses.cpp:
14989 (DOMElement::innerText): Added.
14990 * DOMCoreClasses.h: Added declaration.
14991 * Interfaces/DOMPrivate.idl: Ditto.
14993 2007-04-02 Steve Falkenburg <sfalken@apple.com>
14995 Reviewed by Darin Adler.
14997 Expose COM class counter
14999 * Interfaces/IWebKitStatistics.idl: Added comClassCount
15000 * WebKitStatistics.cpp:
15001 (WebKitStatistics::comClassCount): Added
15002 * WebKitStatistics.h:
15004 2007-03-31 Steve Falkenburg <sfalken@apple.com>
15008 <rdar://problem/5091159> Boomer has no bundle identifier - is the bundle correctly formed?
15009 <rdar://problem/5088764> Move the "Icon.db" file under "Local Settings"
15011 * WebIconDatabase.cpp:
15012 (userIconDatabasePath): Prefer to store Icon.db file keyed off of bundle executable name
15013 * WebPreferences.cpp:
15014 (WebPreferences::preferencesPath): Prefer to store WebKit Preferences keyed off of bundle executable name
15016 2007-03-30 Adele Peterson <adele@apple.com>
15020 Fix <rdar://problem/5079824> editing/deleting/delete-by-word-001 is failing
15022 * WebView.cpp: Add DeleteWordForward and DeleteWordBackward to key command table.
15024 2007-03-30 Anders Carlsson <andersca@apple.com>
15028 <rdar://problem/5101970>
15029 Crash when submitting form, running under App Verifier
15031 * WebActionPropertyBag.cpp:
15033 Return the right event.
15035 2007-03-30 Anders Carlsson <andersca@apple.com>
15039 * Interfaces/IWebViewPrivate.idl:
15040 Add addAdditionalPluginPath method.
15042 * WebKit.vcproj/WebKit.vcproj:
15043 Copy NP includes so they can be included by the test plugin.
15046 (WebView::stringByEvaluatingJavaScriptFromString):
15047 Hold JSLock while we call JSValue::getString().
15049 (WebView::addAdditionalPluginPath):
15051 Implement addAdditionalPluginPath.
15053 2007-03-27 Dave Hyatt <hyatt@apple.com>
15055 Enable complex text. Selection and small-caps support are now enabled with this patch.
15059 * WebPreferences.cpp:
15060 (WebPreferences::initialize):
15062 2007-03-26 Brady Eidson <beidson@apple.com>
15066 This one didn't actually have any leaks, but I just felt like doing the
15067 same style cleanup as the others :)
15069 * WebPreferences.cpp:
15070 (WebPreferences::stringValueForKey):
15071 (WebPreferences::integerValueForKey):
15072 (WebPreferences::floatValueForKey):
15073 (WebPreferences::setStringValue):
15074 (WebPreferences::setIntegerValue):
15075 (WebPreferences::save):
15076 (WebPreferences::load):
15078 2007-03-26 Brady Eidson <beidson@apple.com>
15082 <rdar://5090412> - Plug CFNumberRef leaks in WebCache
15085 (WebCache::statistics):
15087 2007-03-26 Beth Dakin <bdakin@apple.com>
15091 Fix build without breaking anything.
15094 (releaseUserInfo): Added silly void statement for now.
15096 2007-03-26 Beth Dakin <bdakin@apple.com>
15098 Rubber-stamped by Brady.
15100 Build fix for release build.
15103 (releaseUserInfo): Do not store userInfo->Release() in a local
15104 variable since it is only used for an ASSERT.
15106 2007-03-26 Steve Falkenburg <sfalken@apple.com>
15110 <rdar://problem/5088764> Move the "Icon.db" file under "Local Settings"
15112 * WebIconDatabase.cpp:
15113 (userIconDatabasePath): Move icon database to non-roaming location
15115 2007-03-25 Brady Eidson <beidson@apple.com>
15119 <rdar://problem/5086888> - WebHistory(Item) Leak
15121 This is a pretty thourough touchup up style and correctness that
15122 plugs at least 1 definite leak and many potential leaks with
15123 extensive use of RetainPtr and COMPtr.
15125 This should result in no change in behavior
15127 * MarshallingHelpers.cpp: Add kIUnknownDictionaryValueCallBacks
15128 * MarshallingHelpers.h: Ditto
15131 (createUserInfoFromArray):
15132 (createUserInfoFromHistoryItem):
15134 (WebHistory::WebHistory):
15135 (WebHistory::~WebHistory):
15136 (WebHistory::loadFromURL):
15137 (createHistoryListFromStream): Split of the Structured Exception
15138 Handling to a seperate function to cooperate with C++
15139 (WebHistory::loadHistoryGutsFromURL):
15140 (WebHistory::saveToURL):
15141 (WebHistory::saveHistoryGuts):
15142 (WebHistory::datesArray):
15143 (WebHistory::addItems):
15144 (WebHistory::removeItems):
15145 (WebHistory::removeAllItems):
15146 (WebHistory::orderedLastVisitedDays):
15147 (WebHistory::orderedItemsLastVisitedOnDay):
15148 (WebHistory::removeItem):
15149 (WebHistory::addItem):
15150 (WebHistory::addItemForURL):
15151 (WebHistory::itemForURLString):
15152 (WebHistory::itemForURL):
15153 (WebHistory::containsItemForURLString):
15154 (WebHistory::removeItemForURLString):
15155 (WebHistory::addItemToDateCaches):
15156 (WebHistory::removeItemFromDateCaches):
15157 (WebHistory::findIndex):
15158 (WebHistory::insertItem):
15159 (WebHistory::ageLimitDate):
15162 * WebHistoryItem.cpp:
15163 (WebHistoryItem::dictionaryRepresentation):
15164 (WebHistoryItem::mergeAutoCompleteHints):
15166 2007-03-25 Adam Roben <aroben@apple.com>
15168 Reviewed by Oliver.
15170 WebKit part of <rdar://problem/5086934> DumpRenderTree doesn't support
15171 layoutTestController.queueLoad
15174 (WebFrame::findFrameNamed): Implemented.
15175 * WebHistoryItem.cpp:
15176 (WebHistoryItem::children): Don't increment i twice per loop!
15178 2007-03-25 Adam Roben <aroben@apple.com>
15182 * WebDownload.h: Include RetainPtr from WTF.
15184 2007-03-24 Steve Falkenburg <sfalken@apple.com>
15188 * WebDownload.h: Remove WebCore namespace
15190 2007-03-24 Adam Roben <aroben@apple.com>
15192 Reviewed by Oliver.
15194 WebKit part of <rdar://problem/5086932> DumpRenderTree doesn't support
15195 layoutTestController.dumpBackForwardList
15197 * Interfaces/IWebHistoryItemPrivate.idl: Added declarations.
15199 (WebFrame::childFrames): Removed unused variable.
15200 * WebHistoryItem.cpp:
15201 (WebHistoryItem::target): Implemented.
15202 (WebHistoryItem::isTargetItem): Implemented.
15203 (WebHistoryItem::children): Implemented.
15204 * WebHistoryItem.h: Added declarations.
15206 2007-03-23 Brady Eidson <beidson@apple.com>
15210 <rdar://5086194> - WebHistory overreleases a CFNumber
15213 (WebHistory::loadHistoryGutsFromURL): Don't CFRelease what we didn't
15214 legitimately get a ref for!
15216 2007-03-23 Adam Roben <aroben@apple.com>
15218 Reviewed by Darin Adler.
15220 WebKit part of <rdar://problem/5084881> Add a "turn of site-specific
15221 hacks" menu item to the Debug menu
15223 Added new IWebPrivate::setAllowSiteSpecificHacks SPI.
15225 * Interfaces/IWebViewPrivate.idl: Added declaration.
15227 (WebView::userAgentForKURL): Only give a site-specific UA if
15228 site-specific hacks are turned on.
15229 (WebView::setAllowSiteSpecificHacks): Added.
15231 (WebView::allowSiteSpecificHacks): Added.
15233 2007-03-23 Beth Dakin <bdakin@apple.com>
15237 Fix for <rdar://problem/5083914> Cursor is wrong for all context
15241 (WebView::handleContextMenuEvent): Set the cursor to the pointer
15244 2007-03-23 Alice Liu <alice.liu@apple.com>
15248 Fixed <rdar://5084888> need to add flickr to spoof list in Boomer WebKit
15251 (WebView::userAgentForKURL):
15254 2007-03-23 Adam Roben <aroben@apple.com>
15256 Reviewed by Oliver.
15258 WebKit part of <rdar://problem/5085170> DumpRenderTree doesn't print
15259 frame scroll offsets
15261 Implemented some WebFrame methods to support dumping frame scroll
15264 * Interfaces/IWebFrame.idl: Changed signature of IWebFrame::childFrames.
15265 * Interfaces/IWebFramePrivate.idl: Added scrollOffset declaration.
15267 (WebFrame::name): Implemented.
15268 (WebFrame::childFrames): Implemented.
15269 (WebFrame::scrollOffset): Implemented.
15270 * WebFrame.h: Updated/added declarations.
15272 2007-03-23 Adam Roben <aroben@apple.com>
15274 Reviewed by Oliver.
15276 WebKit part of fix for <rdar://problem/4990740>.
15278 Added IWebDataSourcePrivate::mainDocumentError.
15280 * Interfaces/IWebDataSource.idl: Added method declaration and updated
15282 * WebDataSource.cpp:
15283 (WebDataSource::mainDocumentError): Implemented.
15284 * WebDataSource.h: Added declaration.
15286 2007-03-23 Steve Falkenburg <sfalken@apple.com>
15290 <rdar://problem/5083645> Spoofed UA for gmail doesn't work - should be removed
15293 (WebView::userAgentForKURL): Remove gmail spoof
15295 2007-03-22 Dave Hyatt <hyatt@apple.com>
15297 Fix for <rdar://problem/5083072>.
15303 (WebFrame::setPrinting):
15304 (WebFrame::spoolPages):
15307 2007-03-22 Anders Carlsson <acarlsson@apple.com>
15309 Reviewed by Maciej.
15311 <rdar://problem/5082270>
15312 Crash in windows media player at MTV.COM
15314 Ignore any WM_PAINT events we get while painting.
15317 (WebView::WebView):
15318 (WebView::updateBackingStore):
15322 (WebView::isPainting):
15324 2007-03-22 Adele Peterson <adele@apple.com>
15326 Reviewed by Anders.
15328 Fix for <rdar://problem/5071358> window.open won't work with empty urls (24fun test)
15330 * Interfaces/IWebURLRequest.idl:
15331 * WebMutableURLRequest.cpp: (WebMutableURLRequest::isEmpty): Added. Checks whether the ResourceRequest is empty. On the mac,
15332 NSURLRequests created from empty ResourceRequests are nil. We may want to consider that in the future, but there were too
15333 many places in the app that expected the IWebURLRequest to be non-null.
15334 * WebMutableURLRequest.h:
15336 2007-03-22 Dave Hyatt <hyatt@apple.com>
15338 Fix for crasher in layout caused by paints that happen without layout being current. Change to be
15339 more like the Mac and crawl the frame tree up front ensuring everyone is up to date before painting.
15344 (WebFrame::WebFramePrivate::m_policyFunction):
15345 (WebFrame::layoutIfNeededRecursive):
15348 (WebView::updateBackingStore):
15352 2007-03-22 Ada Chan <adachan@apple.com>
15354 Reviewed by Hyatt and Alice.
15356 Changed the mouse event processing in the WebView wndproc so we actually
15357 allow a mouse event with click count > 3, which matches the mac safari behavior.
15359 Set globalPrevButton and globalPrevPoint also in mouse down.
15362 (WebView::handleMouseEvent):
15364 2007-03-21 Anders Carlsson <acarlsson@apple.com>
15369 (WebView::initWithFrame):
15370 Remove #ifdef now that DRT no longer crashes.
15372 2007-03-21 Beth Dakin <bdakin@apple.com>
15376 <rdar://problem/5074274> right-clicking in certain iframes ends up
15377 left-clicking, and context menu appears far away
15380 (WebView::handleContextMenuEvent): We were always calling
15381 sendContextMenuEvent() on the main frame!! Instead, call it on the
15382 focused or main frame.
15384 2007-03-21 Adele Peterson <adele@apple.com>
15388 Fix for <rdar://problem/5076213> fast/forms/input-text-enter.html fails
15390 Added updateActiveState SPI for DumpRenderTree.
15392 * Interfaces/IWebViewPrivate.idl:
15394 (WebViewWndProc): Added comments where we do similar work when the webview gets and loses focus. We should merge this logic into updateActiveState eventually.
15395 (WebView::updateActiveState):
15398 2007-03-19 Maciej Stachowiak <mjs@apple.com>
15400 Reviewed by Geoff and Adam.
15402 - <rdar://problem/4041141> JavaScriptCore is not thread-safe on Windows
15405 (WebView::WebView): Tell JavaScriptCore what the main thread is.
15407 2007-03-20 Anders Carlsson <acarlsson@apple.com>
15411 <rdar://problem/5050512>
15412 Need invalid/expired certificate alerts
15414 Add setAllowsAnyHTTPSCertificate method to IWebMutableURLRequest and have it
15415 call down to WebCore.
15417 * Interfaces/IWebMutableURLRequest.idl:
15418 * WebMutableURLRequest.cpp:
15419 (WebMutableURLRequest::setAllowsAnyHTTPSCertificate):
15420 * WebMutableURLRequest.h:
15422 2007-03-20 Adam Roben <aroben@apple.com>
15424 Rubberstamped by Anders.
15426 Workaround a CFNetwork crash that affects DRT.
15429 (WebView::initWithFrame): Commented out cookie storage initialization.
15431 2007-03-20 Adam Roben <aroben@apple.com>
15435 * WebView.cpp: Added missing #include.
15437 2007-03-20 Adam Roben <aroben@apple.com>
15439 Reviewed by Oliver.
15441 Implemented [set]TabKeyCyclesThroughElements.
15443 * Interfaces/IWebViewPrivate.idl: Added new declarations.
15445 (WebView::setTabKeyCyclesThroughElements): Implemented.
15446 (WebView::tabKeyCyclesThroughElements): Implemented.
15447 * WebView.h: Updated.
15449 2007-03-20 Dave Hyatt <hyatt@apple.com>
15451 Land advanced text code path (turned off).
15455 * WebKit.vcproj/WebKit.vcproj:
15457 2007-03-20 Anders Carlsson <acarlsson@apple.com>
15461 <rdar://problem/4921198>
15462 Cookie acceptance policy not settable
15465 (WebView::updateWebCoreSettingsFromPreferences):
15466 Update the cookie storage accept policy.
15468 (WebView::initWithFrame):
15469 Initialize the cookie storage.
15471 2007-03-19 Adam Roben <aroben@apple.com>
15475 * WebKit.vcproj/WebKitGUID.vcproj:
15477 2007-03-19 Adam Roben <aroben@apple.com>
15479 Reviewed by Anders and Darin.
15481 Added WebJavaScriptCollector for <rdar://problems/5071653>.
15483 * Interfaces/IWebJavaScriptCollector.idl: Added.
15484 * Interfaces/WebKit.idl:
15485 * WebJavaScriptCollector.cpp: Added.
15486 (WebJavaScriptCollector::WebJavaScriptCollector):
15487 (WebJavaScriptCollector::~WebJavaScriptCollector):
15488 (WebJavaScriptCollector::createInstance):
15489 (WebJavaScriptCollector::QueryInterface):
15490 (WebJavaScriptCollector::AddRef):
15491 (WebJavaScriptCollector::Release):
15492 (WebJavaScriptCollector::collect):
15493 (WebJavaScriptCollector::collectOnAlternateThread):
15494 (WebJavaScriptCollector::objectCount):
15495 * WebJavaScriptCollector.h: Added.
15496 * WebKit.vcproj/Interfaces.vcproj: Added IWebJavaScriptCollector.idl.
15497 * WebKit.vcproj/WebKit.vcproj: Added WebJavaScriptCollector.(cpp|h).
15498 * WebKit.vcproj/WebKitGUID.vcproj: Added IWebJavaScriptCollector_i.c.
15499 * WebKitClassFactory.cpp:
15500 (WebKitClassFactory::CreateInstance): Added cases for
15501 WebJavaScriptCollector.
15503 (DllGetClassObject): Ditto.
15505 2007-03-19 Adam Roben <aroben@apple.com>
15509 * Interfaces/IWebView.idl:
15511 2007-03-18 Adam Roben <aroben@apple.com>
15515 Implemented getting/setting of the editing delegate (we don't actually
15516 use it for anything yet, though. See <rdar://problem/5071598>).
15518 * Interfaces/IWebEditingDelegate.idl: Renamed IWebViewEditingDelegate
15519 to IWebEditingDelegate to match our other delegates.
15520 * Interfaces/IWebView.idl: Updated for rename.
15522 (WebView::setEditingDelegate): Implemented.
15523 (WebView::editingDelegate): Ditto.
15524 * WebView.h: Updated for rename.
15526 2007-03-18 Adam Roben <aroben@apple.com>
15530 Added IWebFramePrivate::layout to support eventSender in DRT.
15532 Made IWebView inherit from IDropTarget to match Mac, and added
15533 IWebUIDelegatePrivate::doDragDrop to support drag-and-drop in DRT.
15535 * Interfaces/IWebFramePrivate.idl: Added layout().
15536 * Interfaces/IWebUIDelegatePrivate.idl: Added doDragDrop().
15537 * Interfaces/IWebView.idl: Added inheritance from IDropTarget.
15538 * WebDragClient.cpp:
15539 (WebDragClient::startDrag): Call the UI delegate if possible,
15540 otherwise fallback to OLE's DoDragDrop.
15542 (WebFrame::layout): Implemented.
15546 2007-03-17 Adam Roben <aroben@apple.com>
15550 Fix repro ASSERT when logging in to facebook.com.
15552 * WebMutableURLRequest.cpp:
15553 (WebMutableURLRequest::valueForHTTPHeaderField): Implemented.
15555 2007-03-16 Brady Eidson <beidson@apple.com>
15559 Make the WebDownload fix a little more correct.
15562 (WebDownload::init): Release the connection from the ResourceHandle after the CFURLDownload has been created
15564 2007-03-16 Geoffrey Garen <ggaren@apple.com>
15566 Reviewed by Dave Hyatt.
15568 Fixed "called Frame::paint with nil renderer" console messages.
15569 You can now launch and exit the app without seeing any
15573 (WebView::paintIntoBackingStore): Only tell the FrameView to
15574 paint if it has a renderer. This isn't an issue on the Mac
15575 because we don't create a FrameView until you load a page.
15577 2007-03-16 Anders Carlsson <acarlsson@apple.com>
15581 Add setters and getters for cookie storage accept policy.
15583 * Interfaces/IWebPreferences.idl:
15584 * WebPreferenceKeysPrivate.h:
15585 * WebPreferences.cpp:
15586 (WebPreferences::initialize):
15587 (WebPreferences::cookieStorageAcceptPolicy):
15588 (WebPreferences::setCookieStorageAcceptPolicy):
15589 * WebPreferences.h:
15591 2007-03-16 Anders Carlsson <acarlsson@apple.com>
15593 Reviewed by Adam and Dave Hyatt.
15595 <rdar://problem/5069226>
15596 Boomer fails Acid2.
15601 (WebFrame::shouldFallBack):
15602 Implement this function.
15604 2007-03-16 Ada Chan <adachan@apple.com>
15608 Implemented a couple of DOM methods so we can set the font-size of an element directly in the app.
15610 * DOMCSSClasses.cpp:
15611 (DOMCSSStyleDeclaration::setProperty):
15612 * DOMCoreClasses.cpp:
15613 (DOMElement::style):
15615 2007-03-15 Alice Liu <alice.liu@apple.com>
15622 (WebFrame::dispatchDidReceiveAuthenticationChallenge):
15623 (WebFrame::dispatchDidCancelAuthenticationChallenge):
15625 2007-03-15 Brady Eidson <beidson@apple.com>
15629 CFNetwork related cleanup that was a work around for previous deficiencies in CFURLDownload
15630 This might fix some of the random crashers we see on stress testing if they end up
15634 (WebDownload::init): Release the connection from the handle so it no longer refers to it
15636 2007-03-15 Maciej Stachowiak <mjs@apple.com>
15638 Reviewed by Geoff and Steve.
15640 - fixed <rdar://problem/5029776> iBench JavaScript test slower than Opera
15641 - fixes to use FastMalloc on Windows
15643 * WebKit.vcproj/WebKit.def: Add exports of WTF symbols.
15644 * WebKit.vcproj/WebKit_debug.def: ditto
15645 * WebKit.vcproj/WebKit.vcproj: Link pthreads, now needed by WTF.
15647 2007-03-15 Brady Eidson <beidson@apple.com>
15651 Due to OpenSource r20178, all of the sudden we were trying to handle page caching on Windows
15652 even though it is not hooked up yet. The resulted in very particular cases ending up calling
15653 clear() in FrameLoader::provisionalLoadStarted(). One such particular case was if a page *would*
15654 be "cachable" (no frames, no passwords, etc etc), and you start a download from that page.
15656 The fix for now is to manually set the pageCacheSize to 0 whenever we create new pages on Windows.
15657 This prevents the "Should I cache this page?" checking from getting far enough to clear the document.
15658 It so happens this involves exactly one line.
15661 (WebView::initWithFrame): Set page cache size to zero on new pages, and add a fixme to remove later
15663 2007-03-15 Brady Eidson <beidson@apple.com>
15667 <rdar://problem/4429701>
15668 Implements a port blocking black list that matches Firefox's
15670 * Interfaces/IWebError.idl: Add the custom error code for blocked error
15673 (WebFrame::blockedError): FrameLoaderClient fill-in + a Fixme
15674 (WebFrame::interruptForPolicyChangeError): Add a Fixme for localization
15677 2007-03-15 Adam Roben <aroben@apple.com>
15679 Rubberstamped by Brady.
15681 * WebKitLogging.cpp: Turn of Download logging by default.
15683 2007-03-14 Ada Chan <adachan@apple.com>
15687 Added a method in IWebViewPrivate to clear the current focus node. This is called in the app
15688 when focus has been transferred to the address field or search field.
15690 * Interfaces/IWebViewPrivate.idl:
15692 (WebView::clearFocusNode):
15695 2007-03-14 Adele Peterson <adele@apple.com>
15699 Allow empty commands to be sent by doTextFieldCommandFromEvent. Our autocomplete code relies on this.
15701 * WebEditorClient.cpp: (WebEditorClient::doTextFieldCommandFromEvent):
15703 2007-03-14 Steve Falkenburg <sfalken@apple.com>
15705 <rdar://problem/5050470> Reproducible crash doing find on page at cnn.com
15707 Add frame->document() null checks in cases where frame could be a
15708 sub-frame that hasn't started loading yet.
15711 (WebView::rectsForTextMatches): Add null check
15713 2007-03-14 Adele Peterson <adele@apple.com>
15715 Reviewed by Darin Adler.
15717 WebKit part of fix for <rdar://problem/5057371> REGRESSION: Shift-selection stopped working in text fields
15719 This fixes doCommandBySelector to take a command string instead of a key code.
15721 * Interfaces/IWebEditingDelegate.idl: Changed parameter to BSTR.
15722 * Interfaces/IWebFormDelegate.idl: ditto.
15723 * WebEditorClient.cpp:
15724 (WebEditorClient::doTextFieldCommandFromEvent): Calls doCommandBySelector with a BString that it gets from interpretKeyEvent instead of a key code.
15725 (WebEditorClient::textWillBeDeletedInTextField): Calls doCommandBySelector with a BString to represent the BackwardDelete command.
15726 (WebEditorClient::handleKeypress): Calls handleEditingKeyboardEvent with just the KeyboardEvent.
15727 * WebView.cpp: Added commands that will be used by doCommandBySelector to the table (Cancel, InsertTab, InsertBacktab, InsertNewline).
15728 (WebView::interpretKeyEvent): Added. Returns a command string for a KeyboardEvent. Removed static editCommandForKey.
15729 (WebView::handleEditingKeyboardEvent): Call Editor methods instead of calling handleTextInputEvent directly.
15732 2007-03-14 Administrator <acarlsson@apple.com>
15736 * WebDataSource.cpp:
15737 (WebDataSource::subresourceForURL):
15739 (loadResourceIntoBuffer):
15741 2007-03-12 Adele Peterson <adele@apple.com>
15743 Reviewed by Oliver.
15745 WebKit part of fix for <rdar://problem/5044790> preventing default of keypress event doesn't work (affects .mac)
15747 Removed special handling of the WM_CHAR message. All this work is now done by WM_KEYDOWN, which will dispatch the keydown event,
15748 which causes the keypress event to be dispatched, which calls WebEditorClient::handleKeyPress to do all the hard work.
15750 * WebEditorClient.cpp: (WebEditorClient::handleKeypress): Removed special call to doTextFieldCommandFromEvent since this will now
15751 happen during normal key event processing. Call handleEditingKeyboardEvent. Now editing actions can be prevented from the keypress event handler.
15753 (WebView::WebView): Added m_currentCharacterCode, so we can reuse the computed code from keyDown for keyUp events.
15754 (WebView::keyUp): Renamed arguments. Don't dispatch event for shift, ctrl, or capslock keys. Use m_currentCharacterCode when constructing the PlatformKeyboardEvent.
15755 (WebView::handleEditingKeyboardEvent): Now takes a KeyboardEvent instead of a PlatformKeyboardEvent. If no editCommand is created
15756 from the event, then call handleTextInputEvent.
15757 (WebView::keyDown): Peek at the next message in the message loop. If its a WM_CHAR, then get the character code and remove that message from the queue.
15758 Renamed arguments. Don't dispatch event for shift, ctrl, or capslock keys. Set m_currentCharacterCode and use it when constructing the PlatformKeyboardEvent.
15759 (WebViewWndProc): Removed handling of WM_CHAR, since this is now done from WM_KEYDOWN by dispatching the keydown event, which will eventually call handleKeyPress.
15760 * WebView.h: Made handleEditingKeyboardEvent public so it can be accessed from WebEditorClient.
15762 2007-03-11 Oliver Hunt <oliver@apple.com>
15766 Stubbed WebEditorClient::respondToChangedSelection
15768 * WebEditorClient.cpp:
15769 (WebEditorClient::respondToChangedSelection):
15770 * WebEditorClient.h:
15772 2007-03-10 Anders Carlsson <acarlsson@apple.com>
15776 * DOMCoreClasses.cpp:
15777 (DOMNode::textContent):
15780 2007-03-09 Anders Carlsson <acarlsson@apple.com>
15784 * WebURLResponse.cpp:
15785 (WebURLResponse::suggestedFilename):
15786 Get the suggested filename from the ResourceResponse object.
15788 2007-03-09 Adam Roben <aroben@apple.com>
15790 Rubberstamped by Steve.
15794 * WebKit.vcproj/WebKit.vcproj: Removed all references to iconv.
15796 2007-03-08 Anders Carlsson <acarlsson@apple.com>
15801 (WebView::isLoading):
15803 2007-03-08 Anders Carlsson <acarlsson@apple.com>
15807 Implement WebView::isLoading.
15810 (WebView::isLoading):
15812 2007-03-07 Adam Roben <aroben@apple.com>
15814 Rubberstamped by Anders.
15816 Return E_POINTER for null parameters.
15818 * WebScrollBar.cpp:
15819 (WebScrollBar::value):
15820 (WebScrollBar::capturingMouse):
15821 (WebScrollBar::frameGeometry):
15822 (WebScrollBar::width):
15823 (WebScrollBar::height):
15824 (WebScrollBar::requestedWidth):
15825 (WebScrollBar::requestedHeight):
15826 (WebScrollBar::windowClipRect):
15828 2007-03-07 Adam Roben <aroben@apple.com>
15830 Reviewed by Oliver.
15832 Added requestedWidth and requestedHeight methods to WebScrollBar.
15834 * Interfaces/IWebScrollBarPrivate.idl: Added new declarations.
15835 * WebScrollBar.cpp:
15836 (WebScrollBar::requestedWidth): Implemented.
15837 (WebScrollBar::requestedHeight): Implemented.
15838 * WebScrollBar.h: Added method declarations.
15840 2007-03-07 Adam Roben <aroben@apple.com>
15842 Rubberstamped by Anders.
15845 (WebFrame::cancelledError): Use the WebURLErrorDomain constant.
15846 (WebFrame::interruptForPolicyChangeError): Use the WebKitErrorDomain constant.
15848 2007-03-07 Adam Roben <aroben@apple.com>
15850 Rubberstamped by Anders.
15852 Switch the definition of WebURLErrorDomain to "CFURLErrorDomain" so
15853 that we will send the right errors once <rdar://problem/5034136> is
15856 * Interfaces/IWebError.idl: Changed definition.
15858 2007-03-07 Adele Peterson <adele@apple.com>
15862 * WebEditorClient.cpp: (WebEditorClient::handleInputMethodKeypress):
15864 2007-03-07 Adele Peterson <adele@apple.com>
15866 Reviewed by Darin Adler.
15868 WebKitWin part of fix for:
15869 http://bugs.webkit.org/show_bug.cgi?id=10871
15870 http://bugs.webkit.org/show_bug.cgi?id=12677
15871 <rdar://problem/4823129> REGRESSION: IME key events different in nightly
15872 <rdar://problem/4759563> REGRESSION: Return key is always sent when you confirm a clause in kotoeri
15874 * WebEditorClient.cpp:
15875 (WebEditorClient::handleKeypress): Changed handleKeyPress to handleKeypress.
15876 (WebEditorClient::handleInputMethodKeypress): Added.
15877 * WebEditorClient.h:
15879 2007-03-07 Anders Carlsson <acarlsson@apple.com>
15884 (WebFrame::makeDocumentView):
15885 Assert that frame is not null.
15887 2007-03-06 Anders Carlsson <acarlsson@apple.com>
15892 (WebFrame::makeDocumentView):
15893 Call resetMultipleFormSubmissionProtection() so that submitting the same form from separate loads works.
15895 2007-03-06 Brady Eidson <beidson@apple.com>
15899 Adapt to an API change in CFURLDownload
15902 (WebDownload::init):
15904 2007-03-06 Steve Falkenburg <sfalken@apple.com>
15906 Rubber-stamped by Adam.
15908 Fix disney.com more. Disney redirects to disney.go.com.
15911 (WebView::userAgentForKURL): Added disney.go.com
15913 2007-03-06 Adam Roben <aroben@apple.com>
15915 Reviewed by Anders.
15917 Always keep rounding hacks on to be consistent.
15919 * WebDragClient.cpp:
15920 (createDragImageForLink): Tell StringTruncator to keep rounding hacks on.
15921 * WebKitGraphics.cpp:
15922 (CenterTruncateStringToWidth): Ditto.
15923 (RightTruncateStringToWidth): Ditto.
15925 2007-03-06 Steve Falkenburg <sfalken@apple.com>
15929 Allow custom user agents per site.
15933 http://www.disney.com
15934 http://www.yahoo.com
15935 http://mail.google.com
15936 iTunes store links (w/ latest unsubmitted CFNetwork from our root share)
15939 (WebView::userAgentForKURL): Check URL host against a list of known offenders, return them what they're looking for.
15941 2007-03-06 Anders Carlsson <acarlsson@apple.com>
15945 Pass the user agent on.
15948 (WebFrame::userAgent):
15951 2007-03-04 Adam Roben <aroben@apple.com>
15955 Added line spacing querying to FontMetrics to support line wrapping.
15957 * WebKitGraphics.cpp:
15958 (FontMetrics): Return the line spacing.
15959 * WebKitGraphics.h: Added lineSpacing parameter.
15961 2007-03-02 Adam Roben <aroben@apple.com>
15965 Make submenus draw using the UIDelegate.
15967 * Interfaces/IWebUIDelegate.idl: Added new delegate method to add
15968 custom drawing data for menus.
15970 (WebView::onInitMenuPopup): Added. Calls new delegate method.
15971 (WebViewWndProc): Added handler for WM_INITMENUPOPUP, which is called
15973 * WebView.h: Added declaration.
15975 2007-03-02 Adam Roben <aroben@apple.com>
15977 Reviewed by Anders.
15979 Added optional underlining of a single character to WebKitGraphics.
15981 * WebKitGraphics.cpp:
15982 (DrawTextAtPoint): Passed optional underlinedIndex parameter to
15983 WebCoreTextRenderer.
15984 * WebKitGraphics.h: Added optional underlinedIndex parameter.
15986 2007-03-01 Adam Roben <aroben@apple.com>
15988 Reviewed by Kevin M.
15990 Add support for right-truncation to WebKitGraphics.
15992 * WebKit.vcproj/WebKit.def: Added new export.
15993 * WebKit.vcproj/WebKit_debug.def: Ditto.
15994 * WebKitGraphics.cpp:
15995 (RightTruncateStringToWidth): Added.
15996 * WebKitGraphics.h: Added declaration.
15998 2007-02-28 Adam Roben <aroben@apple.com>
16000 Reviewed by Anders.
16002 Made WebKitGraphics more flexible.
16004 * WebDragClient.cpp:
16005 (WebDragClient::createDragImageForLink): Updated for changes to
16006 WebKitGraphics/WebCoreTextRenderer.
16007 * WebKit.vcproj/WebKit.def: Added new exported methods.
16008 * WebKit.vcproj/WebKit_debug.def: Ditto.
16009 * WebKitGraphics.cpp:
16011 (DrawTextAtPoint): Simplified arguments, changed to take a
16012 CGContextRef, and updated for WebCoreTextRenderer changes.
16013 (TextFloatWidth): Added.
16014 (FontMetrics): Added.
16015 (CenterTruncateStringToWidth): Added.
16016 * WebKitGraphics.h: Updated declarations.
16018 2007-02-28 Steve Falkenburg <sfalken@apple.com>
16020 Fix build (for new SDK) / Break build (for old SDK)
16023 (WebDownload::initToResumeWithBundle):
16025 2007-02-27 Ada Chan <adachan@apple.com>
16027 Reviewed by Steve and Adam.
16029 WebKitWin changes to get the aqua scrollbar into the app.
16031 * Interfaces/IWebScrollBarDelegatePrivate.idl: Added.
16032 COM interface for the WebKit scrollbar
16033 * Interfaces/IWebScrollBarPrivate.idl: Added.
16034 COM interface that allows the WebKit scrollbar to update the client.
16035 * Interfaces/WebKit.idl:
16036 * WebKit.vcproj/Interfaces.vcproj:
16037 * WebKit.vcproj/WebKit.vcproj:
16038 * WebKit.vcproj/WebKitGUID.vcproj:
16039 * WebKitClassFactory.cpp:
16040 (WebKitClassFactory::CreateInstance):
16041 Added changes needed to create the WebKitScrollBar through COM
16043 (DllGetClassObject):
16044 * WebScrollBar.cpp: Added.
16045 WebKitScrollBar wraps the WebCore's PlatformScrollbar. This allows the app to
16046 make its own scroll bar that's the same aqua scrollbar in the engine.
16047 (WebScrollBar::WebScrollBar):
16048 (WebScrollBar::~WebScrollBar):
16049 (WebScrollBar::createInstance):
16050 (WebScrollBar::QueryInterface):
16051 (WebScrollBar::AddRef):
16052 (WebScrollBar::Release):
16053 (WebScrollBar::init): instantiate PlatformScrollbar.
16054 (WebScrollBar::setEnabled): call through to PlatformScrollbar
16055 (WebScrollBar::setSteps): ditto
16056 (WebScrollBar::setProportion): ditto
16057 (WebScrollBar::setRect): ditto
16058 (WebScrollBar::setValue): ditto
16059 (WebScrollBar::value): ditto
16060 (WebScrollBar::capturingMouse): ditto
16061 (WebScrollBar::paint): ditto
16062 (WebScrollBar::frameGeometry): ditto
16063 (WebScrollBar::width): ditto
16064 (WebScrollBar::height): ditto
16065 (WebScrollBar::handleMouseEvent): ditto
16066 (WebScrollBar::scroll): ditto
16067 (WebScrollBar::valueChanged): call valueChanged on the delegate
16068 (WebScrollBar::windowClipRect): get the rect from the scrollbar's containing window
16069 * WebScrollBar.h: Added.
16071 2007-02-27 Alice Liu <alice.liu@apple.com>
16073 Reviewed by Steve, Adam, Maciej, and their mothers.
16075 This is a general leaks fix but helps the effort towards fixing
16076 <rdar://4974495> Boomer leaks while running HTML iBench
16077 However, this fix doens't close that bug.
16080 (WebFrame::setTitle):
16081 fix a leak of WebHistory
16083 (_WebCoreHistoryProvider::containsItemForURLUnicode):
16084 fix a leak of WebHistory
16086 2007-02-27 Adam Roben <aroben@apple.com>
16088 Reviewed by Anders.
16090 Fix <rdar://problem/5004615> View source menu option is always disabled
16091 when Netscape 8 is installed
16093 The bug was caused by Netscape's npTrident.dll plugin, which registers
16094 itself as a handler for text/html and text/xml.
16097 (WebFrame::canProvideDocumentSource): Explicitly allow viewing the
16098 source of HTML and XML documents, rather than disallowing text, image,
16099 and plugin documents. Plugins can register themselves as handlers for
16100 HTML and XML MIME types, but we still want to display source in those
16103 2007-02-27 Beth Dakin <bdakin@apple.com>
16107 Make msimg32.lib available to the engine so that we can use
16110 * WebKit.vcproj/WebKit.vcproj:
16112 2007-02-27 Ada Chan <adachan@apple.com>
16118 2007-02-27 Oliver Hunt <oliver@apple.com>
16120 Reviewed by Lou and Steve.
16122 Handle the WM_CURSOR message to stop cursor flickering
16123 to fix <rdar://problem/4788352>
16128 2007-02-27 Ada Chan <adachan@apple.com>
16130 Reviewed by Steve and Anders.
16132 <rdar://4983106> Stop/reload button never changes back to
16133 reload when a click on a link spawns a download
16136 (WebError::isPolicyChangeError): fixed string comparison
16138 (WebFrame::interruptForPolicyChangeError): implemented the method
16140 2007-02-26 Adam Roben <aroben@apple.com>
16144 Stop bizarre crashes from happening on startup.
16146 * WebKit.vcproj/WebKit.vcproj: Use new ENABLE_* macros instead of *_SUPPORT.
16148 2007-02-24 Steve Falkenburg <sfalken@apple.com>
16150 Pre-emptive build fix.
16151 Removed CGPThreads DLL copy
16153 * WebKit.vcproj/WebKit.vcproj:
16155 2007-02-22 Adele Peterson <adele@apple.com>
16157 Updating this file to match WebCore.
16159 * WebKit.vcproj/textAreaResizeCorner.png:
16161 2007-02-22 Beth Dakin <bdakin@apple.com>
16165 Fix for http://bugs.webkit.org/show_bug.cgi?id=12399 REGRESSION:
16166 Unable to prevent default context menu from appearing. <rdar://
16170 (WebView::handleContextMenuEvent): Clear the controller's context
16171 menu before propagating a new context menu event through the DOM.
16173 2007-02-22 Oliver Hunt <oliver@apple.com>
16175 Reviewed by Ada, Lou, and Steve.
16177 Last of the major changes for drag and drop
16178 - Move COMPtr.h to WebCore
16179 - Added WebDragSource, a modified version of SDataSource from the App
16180 that can notify a WebView's eventhandler of drag events
16181 - Implement the last bits of the DragClient
16182 - As part of drag client added code to draw the "doubled" text used by
16183 drag links. May be useful for other parts of WebKit/App
16185 * COMPtr.h: Removed.
16187 * WebDragClient.cpp:
16188 (WebDragClient::actionMaskForDrag):
16189 (WebDragClient::willPerformDragDestinationAction):
16190 (WebDragClient::dragSourceActionMaskForPoint):
16191 (WebDragClient::willPerformDragSourceAction):
16192 Removing WebCore:: as i'm now using the WebCore namespace
16193 (WebDragClient::startDrag):
16194 Implemented client method
16197 Helper functions for generating the link dragging image
16198 (WebDragClient::createDragImageForLink):
16199 Implemented client method
16201 * WebDropSource.cpp: Added.
16202 (WebDropSource::createInstance):
16203 (WebDropSource::WebDropSource):
16204 (WebDropSource::QueryInterface):
16205 (WebDropSource::AddRef):
16206 (WebDropSource::Release):
16207 (generateMouseEvent):
16208 Generates a mouse event for the EventHandler
16209 (WebDropSource::QueryContinueDrag):
16210 (WebDropSource::GiveFeedback):
16211 Copied from SDataObject in the App. Minor changes per suggestions
16212 from Ada and Steve (error codes, potential leaks)
16213 Also includes logic to notify the source WebView of drag events (moving
16216 * WebDropSource.h: Added.
16217 Header for the above
16219 * WebKit.vcproj/WebKit.vcproj:
16220 Removing COMPtr.h, and adding WebDropSource.{h,cpp}
16222 * WebKitGraphics.cpp:
16223 (DrawDoubledTextAtPoint):
16224 Utility function for drawing double text, as used by link dragging image
16226 * WebKitGraphics.h:
16227 Defining the above function
16229 2007-02-21 Brady Eidson <beidson@apple.com>
16231 Reviewed by the build-fix fairies
16234 (WebDownload::initToResumeWithBundle): Conditionally use CFURLDownload API for the resume case.
16235 I totally made up the flag
16237 2007-02-21 Brady Eidson <beidson@apple.com>
16239 Reviewed by Anders' rubberstamp
16242 (WebDownload::initToResumeWithBundle): Make a copy of the string we truncate
16243 so it doesn't affect the original
16245 2007-02-21 Brady Eidson <beidson@apple.com>
16249 <rdar://problem/4964763> - Hookup resume downloads on the engine side
16251 NOTE: Resume downloads are broken in the current ChickenCat - this functionality requires
16252 a custom ToT CFNetwork as of CFNetwork r3372, or will require CFNetwork 172 or later
16255 (WebDownload::initWithRequest): Changed some logging, plugged some potential leaks
16256 (WebDownload::initToResumeWithBundle): Added a real implementation - this now works!
16257 (WebDownload::didFinish): Added some logging and fixed up some lifetime issues
16258 (extractResumeDataFromBundle): Renamed to imply the modification of the file. Truncate
16259 the resume data from the file once it is extracted
16261 2007-02-20 Beth Dakin <bdakin@apple.com>
16263 Reviewed by Maciej.
16265 Move copyImage functionality from the ContextMenuClient to the
16268 * WebContextMenuClient.cpp:
16269 * WebContextMenuClient.h:
16271 2007-02-20 Adam Roben <aroben@apple.com>
16273 Reviewed by Darin and Anders.
16275 Fix <rdar://problem/5003318> App: Status bar text is more difficult to
16276 read than Mac OS X Safari
16278 * WebKitGraphics.cpp:
16279 (DrawTextAtPoint): Added bottomAlign and centerTruncate parameters.
16280 * WebKitGraphics.h: Ditto.
16282 2007-02-20 Darin Adler <darin@apple.com>
16284 Reviewed by Anders.
16286 * WebFrame.cpp: (WebFrame::redirectDataToPlugin): Update for changes to
16287 FrameLoader and DocumentLoader.
16289 2007-02-19 Adam Roben <aroben@apple.com>
16291 Reviewed by Darin Adler.
16293 Fix <rdar://problem/5007566> Crash in WebFrame::dataSource on dni.ru
16295 The fix for the bug was to zero out WebFrame's Frame pointer in
16296 WebFrame::frameLoaderDestroyed, and then to null-check or ASSERT
16297 non-null as appropriate. All IWebFrame methods that depend on the Frame
16298 pointer will return E_FAIL if it is null, and everywhere within
16299 WebFrame that wasn't null-checking before will now explicitly ASSERT.
16301 I also changed all uses of d->frame and WebFrame::impl() to use the
16302 core() function for consistency, and so that there is only one code
16303 path for getting from a WebFrame to a Frame.
16305 Additional more specific comments below.
16307 * WebChromeClient.cpp:
16308 (WebChromeClient::scrollBackingStore):
16309 (WebChromeClient::updateBackingStore):
16311 (kit): Null-check the frame parameter.
16312 (core): Added two overloads of this.
16313 (WebFrame::DOMDocument): Added argument checking.
16314 (WebFrame::currentForm):
16315 (WebFrame::loadRequest):
16316 (WebFrame::loadData):
16317 (WebFrame::dataSource): Added argument checking, and return E_FAIL if the dataSource is null.
16318 (WebFrame::provisionalDataSource): Ditto.
16319 (WebFrame::stopLoading):
16320 (WebFrame::reload):
16321 (WebFrame::parentFrame):
16322 (WebFrame::renderTreeAsExternalRepresentation): Added argument checking.
16323 (WebFrame::firstLayoutDone): Ditto.
16324 (WebFrame::loadType): Ditto.
16325 (WebFrame::invalidate):
16326 (WebFrame::setTextSizeMultiplier):
16327 (WebFrame::inViewSourceMode): Added argument checking, and changed to return an HRESULT.
16328 (WebFrame::setInViewSourceMode): Changed to return an HRESULT.
16329 (WebFrame::searchForLabelsBeforeElement): Added argument checking.
16330 (WebFrame::matchLabelsAgainstElement): Ditto.
16331 (WebFrame::frameLoaderDestroyed): Zero out the Frame pointer because the Frame is being destroyed.
16332 (WebFrame::createFrame):
16333 (WebFrame::loadURLIntoChild): Added some assertions.
16334 (WebFrame::dispatchWillSubmitForm):
16335 (WebFrame::frameLoadCompleted):
16336 (WebFrame::receivedData):
16337 (WebFrame::setUpPolicyListener):
16338 (WebFrame::receivedPolicyDecision):
16339 (WebFrame::dispatchDecidePolicyForMIMEType):
16340 (WebFrame::dispatchDecidePolicyForNewWindowAction):
16341 (WebFrame::dispatchDecidePolicyForNavigationAction):
16342 (WebFrame::dispatchCreatePage):
16343 (WebFrame::createPlugin):
16344 (WebFrame::redirectDataToPlugin):
16345 (WebFrame::createJavaAppletWidget):
16346 (WebFrame::windowObjectCleared):
16347 (WebFrame::setPrinting):
16348 (WebFrame::setInPrintingMode):
16349 (WebFrame::computePageRects):
16350 (WebFrame::getPrintedPageCount): Zero out the out parameter before proceeding.
16351 (WebFrame::spoolPages):
16352 (WebFrame::forceLayoutWithPageWidthRange):
16355 (WebView::paint): Silently fail on a null Frame, because this method could be called at any time.
16356 (WebView::mouseWheel): Ditto.
16357 (WebViewWndProc): Ditto.
16358 (WebView::inViewSourceMode): Return whatever WebFrame::setInViewSourceMode returns.
16359 (WebView::setInViewSourceMode): Ditto.
16360 (WebView::setCustomTextEncodingName): Replaced check for a null
16361 FrameLoader with a check for a null Frame, which is equivalent but, as
16362 a bonus, won't crash.
16363 (WebView::stringByEvaluatingJavaScriptFromString):
16364 (WebView::elementAtPoint): Added argument checking.
16365 (WebView::selectedText): Ditto.
16366 (WebView::centerSelectionInVisibleArea):
16368 2007-02-19 Adam Roben <aroben@apple.com>
16373 (WebFrame::computePageRects):
16375 2007-02-18 Maciej Stachowiak <mjs@apple.com>
16377 Reviewed by Oliver.
16379 - Adapt for Lars's patch to clean up Frame
16381 * WebChromeClient.cpp:
16382 (WebChromeClient::tabsToLinks):
16383 (WebChromeClient::windowResizerRect):
16384 (WebChromeClient::addToDirtyRegion):
16385 (WebChromeClient::scrollBackingStore):
16386 (WebChromeClient::updateBackingStore):
16387 * WebChromeClient.h:
16388 * WebEditorClient.cpp:
16389 (WebEditorClient::shouldChangeSelectedRange):
16390 (WebEditorClient::textFieldDidBeginEditing):
16391 (WebEditorClient::textFieldDidEndEditing):
16392 (WebEditorClient::textDidChangeInTextField):
16393 (WebEditorClient::doTextFieldCommandFromEvent):
16394 (WebEditorClient::textWillBeDeletedInTextField):
16395 (WebEditorClient::textDidChangeInTextArea):
16396 * WebEditorClient.h:
16397 * WebElementPropertyBag.cpp:
16398 (WebElementPropertyBag::Read):
16401 (WebFrame::initWithWebFrameView):
16402 (WebFrame::searchForLabelsBeforeElement):
16403 (WebFrame::matchLabelsAgainstElement):
16404 (WebFrame::createPlugin):
16405 (WebFrame::createJavaAppletWidget):
16406 (WebFrame::computePageRects):
16407 (WebFrame::getPrintedPageCount):
16408 (WebFrame::spoolPages):
16411 (WebView::handleEditingKeyboardEvent):
16412 (WebView::keyDown):
16413 (WebView::generateSelectionImage):
16416 2007-02-18 Ada Chan <adachan@apple.com>
16420 Move app text controls to use webview
16422 * DOMCoreClasses.cpp:
16423 (DOMNode::parentNode): implemented
16424 (DOMElement::blur): implemented
16425 * Interfaces/IWebUIDelegatePrivate.idl: added API for focus/blur notifications
16426 * WebKit.vcproj/WebKit.def: added DrawTextAtPoint
16427 * WebKit.vcproj/WebKit.vcproj: added WebKitGraphics.h/cpp
16428 * WebKit.vcproj/WebKit_debug.def: added DrawTextAtPoint
16429 * WebKitGraphics.cpp: Added.
16430 (DrawTextAtPoint): calls WebCoreDrawTextAtPoint to render text
16431 * WebKitGraphics.h: Added.
16433 (WebViewWndProc): notify setfocus and killfocus through IWebUIDelegatePrivate delegate.
16434 (WebView::unmarkAllTextMatches): added null check
16436 2007-02-18 Oliver Hunt <oliver@apple.com>
16440 Stubs to keep the build going
16442 * WebDragClient.cpp:
16443 (WebDragClient::willPerformDragSourceAction):
16444 (WebDragClient::startDrag):
16445 (WebDragClient::createDragImageForLink):
16448 2007-02-17 Steve Falkenburg <sfalken@apple.com>
16452 <rdar://problem/4918821> Find: clicking on the webview does not hide findoverlay
16453 <rdar://problem/4956428> Find: Showing/hiding the Find banner should not push the page contents down when possible
16455 * Interfaces/IWebViewPrivate.idl: Added scrollBy, visibleContentRect
16457 (WebView::scrollOffset): Add null check
16458 (WebView::scrollBy): Added so we can scroll a webview easily (matches scroll position getter here)
16459 (WebView::visibleContentRect): Added so we can size find overlay appropriately (not including scroll bars)
16460 * WebView.h: Added scrollBy, visibleContentRect
16462 2007-02-17 Adele Peterson <adele@apple.com>
16466 Fix for <rdar://problem/5006194> Caret is not revealed when a newline is entered into a textarea
16468 * WebView.cpp: (WebView::handleEditingKeyboardEvent):
16469 Use shared code in Editor class to insertParagraphSeparator (or insertLineBreak for plain text).
16470 This will also reveal the selection properly.
16472 2007-02-16 Anders Carlsson <acarlsson@apple.com>
16477 (WebDownload::init):
16478 (WebDownload::initWithRequest):
16480 2007-02-15 Steve Falkenburg <sfalken@apple.com>
16484 <rdar://problem/5001181> Crash: autofilling empty page
16486 Return an error from WebFrame::DOMDocument if there's no document
16489 (WebFrame::DOMDocument): null document now maps to E_FAIL
16491 2007-02-15 Brady Eidson <beidson@apple.com>
16495 <rdar://4778394> - Save scroll position in the back/forward list
16498 (WebFrame::restoreViewState): Renamed, as scroll position was pushed to WebCore
16499 (WebFrame::saveViewStateToItem): Ditto
16502 2007-02-15 Adam Roben <aroben@apple.com>
16504 Reviewed by Anders.
16506 Fix <rdar://problem/4968731> Printing scales frames to page width
16507 instead of doing a layout at that width
16509 * Interfaces/IWebFramePrivate.idl: Added setInPrintingMode method.
16511 (WebFrame::WebFrame): Initialize new member.
16512 (printerRect): New helper function.
16513 (WebFrame::setPrinting): Ported from WebHTMLView.
16514 (WebFrame::setInPrintingMode): Implemented.
16515 (WebFrame::computePageRects): Changed to store the page rects.
16516 (WebFrame::getPrintedPageCount): Added an ASSERT and updated for change to computePageRects.
16517 (WebFrame::spoolPages): Use the stored page rects, and set mediaBox's
16518 size using the print rect instead of the page rect so we will scale the
16519 pages to the full width of the print DC.
16520 (WebFrame::forceLayoutWithPageWidthRange): Ported from WebFrameBridge.
16521 * WebFrame.h: Updated declarations.
16523 2007-02-15 Lou Amadio <lamadio@apple.com>
16527 <rdar://problem/4945799> CGText: should use correct mechanism to set font smoothing style
16529 * WebKit.vcproj/WebKit.vcproj:
16530 * WebPreferences.cpp:
16531 (WebPreferences::setFontSmoothing):
16535 2007-02-13 Steve Falkenburg <sfalken@apple.com>
16539 <rdar://problem/4950378> AddressBook autofill doesn't fill rest of form when tabbing out of a completed field
16541 Send tab keypresses to IWebFormDelegate::doCommandBySelector.
16543 * WebEditorClient.cpp:
16544 (WebEditorClient::handleKeyPress): Call doTextFieldCommandFromEvent if we get a tab keypress
16546 2007-02-12 Ada Chan <adachan@apple.com>
16550 Also, checked in a fix in WebContextMenuClient that Adam made on my machine, reviewed by me.
16552 <rdar://4952715> Events not being passed from WebCore/WebKit up through IWebForm::doCommandBySelector
16553 Inform form delegate about delete key press.
16556 - Removed DOMEventTarget class.
16557 - IDOMEventTarget no longer extends IDOMObject
16558 - DOMNode now implements IDOMEventTarget
16559 - DOMEvent::CoCreateInstance creates the correct subclasses
16560 of DOMEvents based on the type of event
16561 - Added IDOMDocumentEvent interface, which DOMDocument implements.
16562 - Fixed the out parameter in IDOMUIEvent::view to be IDOMWindow**
16564 Implemented DOMHTMLDocument::body and DOMHTMLElement::setInnerText.
16566 * DOMCoreClasses.cpp:
16567 (DOMNode::addEventListener): added as DOMNode now needs to implement IDOMEventTarget
16568 (DOMNode::removeEventListener): ditto above
16569 (DOMNode::dispatchEvent): ditto above
16570 (DOMDocument::QueryInterface): DOMDocument now also implements IDOMDocumentEvent
16571 (DOMDocument::createEvent): added as DOMDocument implements IDOMDocumentEvent
16572 (DOMElement::focus): implemented
16573 * DOMCoreClasses.h:
16574 * DOMEventsClasses.cpp:
16575 (DOMEvent::DOMEvent): The data member m_event is now a RefPtr, and the WebCore::Event is now
16576 passed into the constructor via a PassRefPtr.
16577 (DOMEvent::~DOMEvent): No longer need to deref m_event since we are using a RefPtr.
16578 (DOMEvent::createInstance): instantiate the correct DOMEvent subclass based on event type.
16579 (DOMEvent::QueryInterface): be able to QI IID_DOMEvent, which returns back the DOMEvent type.
16580 (DOMUIEvent::view): fixed the API
16581 (DOMKeyboardEvent::ctrlKey): call .get() on RefPtr
16582 (DOMKeyboardEvent::shiftKey): ditto above
16583 (DOMKeyboardEvent::altKey): ditto above
16584 (DOMKeyboardEvent::metaKey): ditto above
16585 (DOMKeyboardEvent::altGraphKey): ditto above
16586 (DOMMouseEvent::ctrlKey): ditto above
16587 (DOMMouseEvent::shiftKey): ditto above
16588 (DOMMouseEvent::altKey): ditto above
16589 (DOMMouseEvent::metaKey): ditto above
16590 * DOMEventsClasses.h:
16591 (DOMEvent::coreEvent): Added an API to get the WebCore::Event out of a DOMEvent. Used in DOMNode::dispatchEvent.
16592 (DOMUIEvent::DOMUIEvent): made public so it can be called in DOMEvent::createInstance
16593 (DOMKeyboardEvent::DOMKeyboardEvent): ditto above
16594 (DOMKeyboardEvent::view): fixed API
16595 (DOMMouseEvent::DOMMouseEvent): made public so it can be called in DOMEvent::createInstance
16596 (DOMMouseEvent::view): fixed API
16597 (DOMMutationEvent::DOMMutationEvent): made public so it can be called in DOMEvent::createInstance
16598 (DOMOverflowEvent::DOMOverflowEvent): made public so it can be called in DOMEvent::createInstance
16599 (DOMWheelEvent::DOMWheelEvent): made public so it can be called in DOMEvent::createInstance
16600 (DOMWheelEvent::view): fixed API
16601 * DOMHTMLClasses.cpp:
16602 (DOMHTMLDocument::body):
16603 (DOMHTMLElement::setInnerText):
16604 * Interfaces/DOMEvents.idl: IDOMEventTarget no longer extends IDOMObject. Added IDOMDocumentEvent.
16605 * WebContextMenuClient.cpp:
16606 (WebContextMenuClient::getCustomMenuFromDefaultItems): check for error from calling contextMenuItemsForElement.
16608 (WebFrame::textWillBeDeletedInTextField): call form delegate callback doCommandBySelector with VK_BACK
16609 when deleting text.
16611 2007-02-11 Adam Roben <aroben@apple.com>
16613 Fixing line endings.
16618 2007-02-10 Adam Roben <aroben@apple.com>
16622 Fix <rdar://problem/4989705> Loading eBay puts many items into back list
16624 The bug was that WebFrame::createFrame was calling loadRequest on the
16625 new child frame, which would initiate a load of FrameLoadTypeStandard,
16626 when in fact we wanted to do a FrameLoadTypeInternal load. I ported
16627 -[WebFrame _loadURL:referrer:intoChild:] to WebFrame, which contains
16631 (WebFrame::createFrame): Use a COMPtr to manage the new WebFrame, and
16632 call loadURLIntoChild instead of just calling loadRequest.
16633 (WebFrame::loadURLIntoChild): Ported from Mac WebFrame.
16634 * WebFrame.h: Added declaration.
16636 2007-02-09 Maciej Stachowiak <mjs@apple.com>
16638 Reviewed by Adam, Steve.
16640 - fixed <rdar://problem/4976975> Need WEbKit API to revtrieve current or first frame and form from a WebView
16642 * Interfaces/IWebFrame.idl: added currentForm
16643 * Interfaces/IWebView.idl: added focusedFrame
16645 (WebFrame::currentForm): Get the "current" form for a frame,
16646 as determined by WebCore::Frame
16649 (WebView::focusedFrame): Get the currently focused frame
16650 (via FocusController).
16653 2007-02-09 Alice Liu <alice.liu@apple.com>
16655 Reviewed by Brady and Adam.
16657 Fixed <rdar://4986194> Typing in content editable body does not automatically scroll to reveal cursor
16658 fix depends on corresponding fix in WebCoreWin
16662 call the editor to handle inserting text and scrolling/focus changes
16664 2007-02-09 John Sullivan <sullivan@apple.com>
16668 - WebKitWin part of fix for radar 4939636, problems with context menu items and binaries linked
16669 against WebKit 2.0.
16671 * Interfaces/IWebUIDelegate.idl:
16672 bumped enum value for new SPI tags to match change in WebCore/WebKit
16674 2007-02-08 Alice Liu <alice.liu@apple.com>
16678 Fixed <rdar://4920436> Find: Regression: Find banner does not select in orange on pages with frame
16681 (WebView::searchFor):
16682 Ever since 11396, the widget no longer handles frame focus changes.
16683 This is now the page's focus controller responsibility
16685 2007-02-07 Brady Eidson <beidson@apple.com>
16687 Reviewed by Steve, Ada, Darin, and Adam
16689 <rdar://problem/4964763> - Download resume support
16691 Note I did my work with a ToT CFNetwork.
16692 This will compile on stock CFNetwork, but will not function until they submit resume support.
16694 * Interfaces/IWebDownload.idl: Reworked the API a bit
16696 * MarshallingHelpers.cpp:
16697 (MarshallingHelpers::PathStringToFileCFURLRef):
16698 (MarshallingHelpers::FileCFURLRefToPathString):
16699 * MarshallingHelpers.h:
16702 (WebDownload::initToResumeWithBundle): The app needs simply to pass in a bundle path to resume it
16703 (WebDownload::cancelForResume): Cancel the download, writing out the resume data
16704 (WebDownload::bundlePathForTargetPath): Helper for the app
16705 (WebDownload::setDestination): Cache the destination inside the WebDownload
16706 (WebDownload::didCreateDestination): Hide the bundle distinction from the app
16707 (WebDownload::didFinish): Hide the bundle distinction from the app
16708 (createResumeDataFromBundle): Extract the resume data from the bundle
16709 (appendResumeDataToBundle): Add the resume data to the bundle
16712 2007-02-08 Anders Carlsson <acarlsson@apple.com>
16716 <rdar://problem/4972772>
16717 Implement IWebResource::Data.
16719 <rdar://problem/4972777>
16720 Implement IWebDataSource::subresourceForURL.
16722 * MemoryStream.cpp:
16723 (MemoryStream::MemoryStream):
16724 (MemoryStream::createInstance):
16725 (MemoryStream::Clone):
16727 Remove notion of buffer owner, it's not needed now that the buffer itself is reference counted.
16729 * WebDataSource.cpp:
16730 (WebDataSource::subresourceForURL):
16733 * WebKit.vcproj/WebKit.vcproj:
16734 Add WebResource.cpp and WebResource.h
16736 * WebResource.cpp: Added.
16737 (WebResource::WebResource):
16738 (WebResource::~WebResource):
16739 (WebResource::createInstance):
16740 (WebResource::QueryInterface):
16741 (WebResource::AddRef):
16742 (WebResource::Release):
16743 (WebResource::initWithData):
16744 (WebResource::data):
16745 (WebResource::URL):
16746 (WebResource::MIMEType):
16747 (WebResource::textEncodingName):
16748 (WebResource::frameName):
16749 * WebResource.h: Added.
16752 (WebView::formDelegate):
16753 Return E_FAIL if there's no form delegate.
16755 2007-02-08 Anders Carlsson <acarlsson@apple.com>
16759 Add shouldInterruptJavaScript to the API.
16761 * Interfaces/IWebUIDelegatePrivate.idl:
16762 * WebChromeClient.cpp:
16763 (WebChromeClient::addMessageToConsole):
16764 (WebChromeClient::shouldInterruptJavaScript):
16766 2007-02-07 Anders Carlsson <acarlsson@apple.com>
16768 * WebChromeClient.cpp:
16769 * WebChromeClient.h:
16772 2007-02-06 Alice Liu <alice.liu@apple.com>
16774 Reviewed by Maciej.
16776 Fix for <rdar://4973323> PageUp/PageDown don't move the caret in textareas
16779 (WebView::keyDown):
16780 added key entry for function to scroll by page and move
16781 caret in scrolling editable regions
16783 2007-02-06 Adam Roben <aroben@apple.com>
16785 Reviewed by Ada and Oliver.
16787 Add some GDI object logging to help catch leaks.
16790 (WebFrame::layoutIfNeeded):
16792 (WebView::addToDirtyRegion):
16793 (WebView::scrollBackingStore):
16794 (WebView::updateBackingStore):
16796 (WebView::paintIntoBackingStore):
16797 (WebView::paintIntoWindow):
16799 2007-02-05 Brady Eidson <beidson@apple.com>
16801 Rubberstamped by Adam
16803 Added #include "config.h" to 3 files that didn't have it before
16804 I was tipped off when some work I was doing resulted in these 3 files
16805 trying to use the wrong MAX() - YET AGAIN...
16807 * CFDictionaryPropertyBag.cpp:
16808 * MarshallingHelpers.cpp:
16811 2007-02-05 Ada Chan <adachan@apple.com>
16813 Reviewed by Anders.
16815 <rdar://4945519> Crash when back/forward buttons are clicked several times
16816 Clear loader's previous history item when frame load is completed (got that code from the mac side).
16819 (WebFrame::frameLoadCompleted):
16821 2007-02-04 Ada Chan <adachan@apple.com>
16825 <rdar://4946475> Private browsing is not working correctly
16826 Implemented FrameLoaderClient::privateBrowsingEnabled().
16829 (WebFrame::privateBrowsingEnabled):
16831 2007-02-04 Alice Liu <alice.liu@apple.com>
16835 Fix some memory leaks. This fixes WebFrame leak as well.
16836 Can be considered a partial fix for <rdar://4974495> Boomer leaks while running HTML iBench
16838 * WebActionPropertyBag.cpp:
16839 (WebActionPropertyBag::WebActionPropertyBag):
16840 * WebDataSource.cpp:
16841 (WebDataSource::representation):
16842 * WebURLResponse.cpp:
16845 2007-02-04 Adam Roben <aroben@apple.com>
16849 Fix <rdar://problem/4972498> REGRESSION: Crash while closing View Source window
16852 (WebView::WebView): Initialize new member.
16853 (WebViewWndProc): Set flag when we receive WM_DESTROY, and don't handle
16854 WM_SIZE if that flag is true.
16855 (WebView::mainFrame): Added argument check.
16857 (WebView::setIsBeingDestroyed): Added.
16858 (WebView::isBeingDestroyed): Added.
16860 2007-02-04 Adam Roben <aroben@apple.com>
16864 Fix <rdar://problem/4968183> Cross-window frame targeting doesn't work
16866 * Interfaces/IWebView.idl: Pass RECT by value.
16868 (WebView::initWithFrame): Uses the passed-in RECT for the frame, and
16869 sets the frame/group names.
16870 * WebView.h: Updated declaration.
16872 2007-02-03 Steve Falkenburg <sfalken@apple.com>
16876 <rdar://problem/4930947> Regression: History is not saved when boomer window is closed.
16878 Fix boolean test causing lost history regression.
16880 * WebHistoryItem.cpp:
16881 (WebHistoryItem::hasURLString): isEmpty returns true if there is NO url, not if there is one.
16883 2007-02-02 Alice Liu <alice.liu@apple.com>
16885 Reviewed by Maciej.
16887 Fixed <rdar://4956286> Find: Deleting all text in the Find banner search field should clear the page's selection
16889 * Interfaces/IWebView.idl:
16891 (WebView::clearSelection):
16893 Added a clearSelection function to webview so the findbanner can call it.
16895 2007-02-02 Adam Roben <aroben@apple.com>
16897 Reviewed by Anders.
16899 Fix a crash when running the PLT.
16902 (WebView::initWithFrame):
16903 Added assertions to make catching this easier.
16905 2007-02-01 Ada Chan <adachan@apple.com>
16907 Reviewed by Anders.
16909 Forgot to assign document to 0 in case of failure in WebView::mainFrameDocument().
16912 (WebView::mainFrameDocument):
16914 2007-02-01 Ada Chan <adachan@apple.com>
16916 Reviewed by Steve, Geoff.
16918 <rdar://4969341> Regression: crash: when Resetting Safari
16919 <rdar://4953390> Closing my two open boomer windows produced a crash
16920 Fixed crash when closing second window and doing the close
16921 all safari window option in Reset Safari.
16924 WebFramePrivate has a pointer to frameView but does not hold a reference
16925 to it. The frame holds a ref to the frameView anyway, so it's safest to get
16926 the frameView through the frame. The crash happened because frame already has
16927 cleared out its frameView but WebFrame was still accessing the old stale frameView
16928 through that data member in WebFramePrivate.
16929 (WebFrame::WebFramePrivate::m_policyFunction):
16930 (WebFrame::WebFramePrivate::frameView):
16931 (WebFrame::initWithWebFrameView):
16932 (WebFrame::layoutIfNeeded):
16933 (WebFrame::hasFrameView):
16935 (WebView::paintIntoBackingStore): bail if frameView is null.
16936 (WebView::setHostWindow): don't set the view window's parent to 0.
16937 It'll end up creating a standalone window.
16939 2007-02-01 Anders Carlsson <acarlsson@apple.com>
16943 <rdar://problem/4969348>
16944 REGRESSION: Crash loading pdf
16947 (WebView::canShowMIMEType):
16948 Return true if the MIME type can be handled by a plug-in.
16950 2007-02-01 Adam Roben <aroben@apple.com>
16954 Fix <rdar://problem/4849601> Implement printing of individual subframes
16956 This just moves some functions from IWebViewPrivate to IWebFramePrivate.
16958 * Interfaces/IWebFramePrivate.idl: Added declarations.
16959 * Interfaces/IWebViewPrivate.idl: Removed declarations.
16960 * WebFrame.cpp: Added functions from WebView.cpp.
16961 (WebFrame::computePageRects):
16962 (WebFrame::getPrintedPageCount):
16963 (WebFrame::spoolPages):
16964 * WebFrame.h: Added declarations.
16965 * WebView.cpp: Moved functions to WebFrame.cpp.
16966 * WebView.h: Removed declarations.
16968 2007-01-31 Ada Chan <adachan@apple.com>
16972 Adam and I found a missing retain on WebFrame::setUpPolicyListener(). The mac
16973 code returns a RefPtr which retains it, but we are returning the raw pointer.
16974 Changed the code to return a COMPtr. Without this change, loading bogus urls
16978 (WebFrame::dispatchWillSubmitForm):
16979 (WebFrame::setUpPolicyListener):
16980 (WebFrame::dispatchDecidePolicyForMIMEType):
16981 (WebFrame::dispatchDecidePolicyForNewWindowAction):
16982 (WebFrame::dispatchDecidePolicyForNavigationAction):
16985 2007-01-31 Ada Chan <adachan@apple.com>
16987 Reviewed by Anders.
16989 Implement WebView::mainFrameDocument.
16992 (WebView::mainFrameDocument):
16994 2007-01-31 Steve Falkenburg <sfalken@apple.com>
16998 Fixes to BSTR handling required for username/password autofill.
17000 * WebURLProtectionSpace.cpp:
17001 (WebURLProtectionSpace::authenticationMethod): Return BSTRs instead of bare LPCTSTRs
17002 (coreScheme): Compare against BSTRs
17003 (WebURLProtectionSpace::initWithHost): Compare against BSTRs
17004 (WebURLProtectionSpace::protocol): Return BSTRs instead of bare LPCTSTRs
17006 2007-01-30 Brady Eidson <beidson@apple.com>
17009 Reviewed and landed by Brady
17011 Fixes <rdar://problem/4889160>
17012 If there's no backing store bitmap, don't try to update it!
17015 (WebView::updateBackingStore):
17017 2007-01-30 Steve Falkenburg <sfalken@apple.com>
17021 Checkpoint of <rdar://problem/4712459> Account/Password forms autofill
17023 Implemented dependencies in WebKit for account/password autofill.
17025 * DOMCoreClasses.cpp:
17026 (DOMElement::isEqual): Fixed crash if other ele is 0
17027 (DOMElement::isFocused): Added
17028 * DOMCoreClasses.h:
17029 * DOMHTMLClasses.cpp:
17030 (DOMHTMLCollection::DOMHTMLCollection): Added
17031 (DOMHTMLCollection::createInstance): Added
17032 (DOMHTMLCollection::length): Implemented
17033 (DOMHTMLCollection::item): Implemented
17034 (DOMHTMLDocument::forms): Implemented
17035 * DOMHTMLClasses.h:
17036 * Interfaces/DOMPrivate.idl: Added isFocused
17037 * Interfaces/WebKit.idl: Added WebURLProtectionSpace
17038 * WebKitClassFactory.cpp:
17039 (WebKitClassFactory::CreateInstance): Added CLSID_WebURLProtectionSpace
17041 (DllGetClassObject): Added CLSID_WebURLProtectionSpace
17042 * WebURLAuthenticationChallenge.cpp:
17043 (WebURLAuthenticationChallenge::initWithProtectionSpace): Use CLSID_WebURLProtectionSpace instead of IID_WebURLProtectionSpace
17044 * WebURLProtectionSpace.cpp:
17045 (WebURLProtectionSpace::QueryInterface): Use CLSID_WebURLProtectionSpace instead of IID_WebURLProtectionSpace
17046 * WebURLProtectionSpace.h:
17048 2007-01-29 Brady Eidson <beidson@apple.com>
17053 (WebDownload::init): Use RetainPtr.adopt(), and create the CFURLDownload after we store the request
17054 (WebDownload::initWithRequest): Ditto
17056 2007-01-29 Maciej Stachowiak <mjs@apple.com>
17058 Reviewed by Adam & Steve.
17060 - hook up new cross-platform data-loading code
17061 - fixed <rdar://4910106> - Need to support loadData and loadHTMLString
17064 (WebFrame::loadData): add a SharedBuffer overload, and implement
17065 IStream* version using that.
17066 (WebFrame::loadHTMLString): implement using loadData
17067 * WebFrame.h: prototype new method
17069 2007-01-29 Adele Peterson <adele@apple.com>
17071 Reviewed by Darin Adler.
17073 * WebEditorClient.cpp:
17074 (WebEditorClient::handleKeyPress): Removed EventTargetNode paramenter.
17075 * WebEditorClient.h:
17077 2007-01-29 Anders Carlsson <acarlsson@apple.com>
17079 Reviewed by Oliver.
17081 <rdar://problem/4892067>
17082 DnD a font file in Boomer locks it up.
17084 Create a drop target helper so we get snazzy drag images.
17087 (WebView::WebView):
17088 (WebView::DragEnter):
17089 (WebView::DragOver):
17090 (WebView::DragLeave):
17094 2007-01-29 Oliver Hunt <oliver@apple.com>
17098 Basic implementation of new dragclient method
17100 * WebDragClient.cpp:
17101 (WebDragClient::dragSourceActionMaskForPoint):
17104 2007-01-29 Maciej Stachowiak <mjs@apple.com>
17110 2007-01-29 Maciej Stachowiak <mjs@apple.com>
17114 <rdar://problem/4910106> Need to support loadData and loadHTMLString
17116 I added the underlying support, but did not turn on the new cross-platform versions yet as I've
17117 not had sufficient time to test.
17119 * WebDocumentLoader.cpp:
17120 (WebDocumentLoader::WebDocumentLoader):
17121 * WebDocumentLoader.h:
17123 (WebFrame::createDocumentLoader):
17126 2007-01-27 Adam Roben <aroben@apple.com>
17128 Reviewed by Oliver.
17130 Fix <rdar://problem/4944863> WebError::localizedDescription needs to be implemented.
17132 This was so simple, I don't know why I didn't do this before.
17135 (WebError::localizedDescription): Implemented.
17137 2007-01-26 Steve Falkenburg <sfalken@apple.com>
17141 * WebKit.vcproj/WebKit.vcproj:
17143 2007-01-26 Adam Roben <aroben@apple.com>
17145 Reviewed by Oliver.
17147 Engine side of fix for <rdar://problem/4958371> Boomer leaks WebViews
17149 The problem was that we were calling RevokeDragDrop after our view
17150 window had been destroyed, RevokeDragDrop wouldn't call Release on us.
17152 Fix <rdar://problem/4958382> WebViews leak their HWND if no host window is set
17155 (WebView::~WebView): Call DestroyWindow if our view window hasn't been
17157 (WebViewWndProc): Added an ASSERT, and added call to revokeDragDrop
17158 when handling WM_DESTROY.
17159 (WebView::initWithFrame): Call our own registerDragDrop.
17160 (WebView::close): Removed call to RevokeDragDrop. At this point our
17161 window has been destroyed, so it's too late to do this.
17162 (WebView::registerDragDrop): Added.
17163 (WebView::revokeDragDrop): Added.
17164 * WebView.h: Added declarations.
17166 2007-01-26 Anders Carlsson <acarlsson@apple.com>
17171 Add WebURLRequest entries to the big array.
17173 2007-01-26 Anders Carlsson <acarlsson@apple.com>
17177 <rdar://problem/4923845>
17178 Implement IWebURLRequest.
17180 * Interfaces/WebKit.idl:
17181 * WebKitClassFactory.cpp:
17182 (WebKitClassFactory::CreateInstance):
17184 (DllGetClassObject):
17185 * WebMutableURLRequest.cpp:
17186 (WebMutableURLRequest::WebMutableURLRequest):
17187 (WebMutableURLRequest::createInstance):
17188 (WebMutableURLRequest::createImmutableInstance):
17189 (WebMutableURLRequest::QueryInterface):
17190 * WebMutableURLRequest.h:
17192 2007-01-26 Steve Falkenburg <sfalken@apple.com>
17196 * WebKit.vcproj/WebKit.vcproj:
17198 2007-01-25 Anders Carlsson <acarlsson@apple.com>
17202 Don't pretend that we're an IWebHTTPURLResponse when we're not.
17204 * WebURLResponse.cpp:
17205 (WebURLResponse::QueryInterface):
17206 (WebURLResponse::allHeaderFields):
17207 (WebURLResponse::localizedStringForStatusCode):
17208 (WebURLResponse::statusCode):
17211 (WebView::canShowMIMEType):
17214 2007-01-26 Brady Eidson <beidson@apple.com>
17218 Took one of Adam's comments to heart, allow ::start() and others to E_FAIL
17221 (WebDownload::start): NULL check m_download
17222 (WebDownload::cancel): Ditto
17223 (WebDownload::deletesFileUponFailure): Yup
17224 (WebDownload::setDeletesFileUponFailure): Uh huh!
17225 (WebDownload::setDestination): Ooo, ooo - me too!
17227 2007-01-25 Brady Eidson <beidson@apple.com>
17231 Make downloads no longer start themselves
17233 * Interfaces/IWebDownload.idl:
17234 * WebContextMenuClient.cpp:
17235 (WebContextMenuClient::downloadURL):
17237 (WebDownload::init):
17238 (WebDownload::initWithRequest):
17239 (WebDownload::start):
17242 2007-01-25 Ada Chan <adachan@apple.com>
17244 WebDownload.cpp reviewed by Brady.
17245 WebFrame.cpp reviewed by Anders.
17248 (WebDownload::cancel): added null check
17250 (WebFrame::dispatchDecidePolicyForMIMEType): fixed bug that we treated loading image urls as downloads.
17252 2007-01-25 Adam Roben <aroben@apple.com>
17254 Reviewed by Steve and Darin.
17256 Fix <rdar://problem/4940645> Implement WebError::domain
17258 Also added some error codes.
17261 (WebError::domain): Implemented.
17262 (WebError::localizedDescription): Added a stub implementation.
17264 (WebFrame::redirectDataToPlugin): Corrected uses of WebKitError* constants.
17265 * Interfaces/IWebError.idl:
17266 - Updated copyright.
17267 - Changed WebURLErrorDomain to "NSURLErrorDomain" to match what CFNet gives us.
17268 - Added all NSURLError* values as WebURLError*.
17269 - Added all WebKitError* values.
17270 - Added a POSIX error used by WebBrowser/SafariWin.
17271 - Added failingURL declaration.
17272 * Interfaces/IWebErrorPrivate.idl: Updated copyright.
17274 2007-01-25 Adam Roben <aroben@apple.com>
17276 Reviewed by Anders.
17278 Part of <rdar://problem/4855618> HTML-based load failure pages.
17280 * Interfaces/IWebError.idl: Added failingURL method declaration.
17282 (WebError::failingURL): Implemented.
17283 * WebError.h: Updated for interface changes.
17285 (WebFrame::loadHTMLString): New protected helper method called by
17286 IWebFrame::loadHTMLString and IWebFrame::loadAlternateHTMLString.
17287 (WebFrame::loadAlternateHTMLString): Calls loadHTMLString.
17288 * WebFrame.h: Added new declaration.
17290 2007-01-25 Ada Chan <adachan@apple.com>
17292 Reviewed by Maciej.
17294 Added init methods instead of doing all the initialization in the constructor.
17295 There was a lifetime issue with passing the WebDownload to delegate calls when
17296 its ref count is still 0.
17299 (WebDownload::init):
17300 (WebDownload::createInstance):
17303 2007-01-24 Adele Peterson <adele@apple.com>
17305 Reviewed by Brady and Oliver.
17307 Moved keyEvent method from FrameWin to EventHandler and updated
17308 call sites. Now this method is shared with the mac.
17312 (WebView::keyDown):
17314 2007-01-24 Brady Eidson <beidson@apple.com>
17318 Added cancelling downloads and do it in the destructor
17321 (WebDownload::~WebDownload):
17322 (WebDownload::cancel):
17324 2007-01-24 Geoffrey Garen <ggaren@apple.com>
17326 Reviewed by Maciej Stachowiak, Steve Falkenberg, Adam Roben.
17328 Fixed 4946729 -- CFNetwork needs some JS API symbols.
17330 Added hack to compile JSStringRefCF symbols with WebKit, to avoid having to fork
17331 the JavaScriptCore project into the internal repository.
17333 * WebKit.vcproj/WebKit.def: Export the symbols.
17334 * WebKit.vcproj/WebKit.vcproj:
17336 2007-01-24 Brady Eidson <beidson@apple.com>
17340 Added debug-only instrumentation to help track CFNetwork performance and hangs
17343 (WebDownload::didStart):
17344 (WebDownload::didReceiveData):
17345 (WebDownload::didFinish):
17348 2007-01-24 Steve Falkenburg <sfalken@apple.com>
17352 Checkpoint of <rdar://problem/4712469> Address Book forms autofill.
17354 Call through to the Frame to do autofill, after marshalling parameters to core types.
17356 * DOMHTMLClasses.cpp:
17357 (DOMHTMLInputElement::readOnly): Implemented
17358 (DOMHTMLInputElement::rectOnScreen): Implemented
17360 (elementFromDOMElement): Added
17361 (WebFrame::currentForm): Added
17362 (WebFrame::searchForLabelsBeforeElement): Added
17363 (WebFrame::matchLabelsAgainstElement): Added
17365 * WebHTMLRepresentation.cpp:
17366 (WebHTMLRepresentation::currentForm): Implemented
17368 2007-01-24 Anders Carlsson <acarlsson@apple.com>
17370 Reviewed by Maciej.
17374 Don't send focus/blur events when the previous/newly focused window is a child of ours.
17376 2007-01-24 Ada Chan <adachan@apple.com>
17378 Forgot a null check.
17381 (WebDownload::request):
17383 2007-01-24 Ada Chan <adachan@apple.com>
17387 More hookup of Downloads.
17389 - Implemented WebDownload::request().
17390 - Implemented accessors for download delegate in webview.
17392 * Interfaces/IWebDownload.idl:
17393 * Interfaces/IWebError.idl:
17395 (WebDownload::WebDownload):
17396 (WebDownload::initWithRequest):
17397 (WebDownload::request):
17398 (WebDownload::willSendRequest):
17401 (WebView::setDownloadDelegate):
17402 (WebView::downloadDelegate):
17405 2007-01-23 Brady Eidson <beidson@apple.com>
17409 Initial hookup of Downloads
17411 - The default download delegate will let downloads operate for testing
17412 and for when clients forget to set their our download delegates.
17413 It saves files to the desktop, and doesn't do anything else fancy
17414 * DefaultDownloadDelegate.cpp: Added.
17415 (DefaultDownloadDelegate::DefaultDownloadDelegate):
17416 (DefaultDownloadDelegate::~DefaultDownloadDelegate):
17417 (DefaultDownloadDelegate::sharedInstance):
17418 (DefaultDownloadDelegate::createInstance):
17419 (DefaultDownloadDelegate::QueryInterface):
17420 (DefaultDownloadDelegate::AddRef):
17421 (DefaultDownloadDelegate::Release):
17422 (DefaultDownloadDelegate::decideDestinationWithSuggestedFilename):
17423 (DefaultDownloadDelegate::didCancelAuthenticationChallenge):
17424 (DefaultDownloadDelegate::didCreateDestination):
17425 (DefaultDownloadDelegate::didFailWithError):
17426 (DefaultDownloadDelegate::didReceiveAuthenticationChallenge):
17427 (DefaultDownloadDelegate::didReceiveDataOfLength):
17428 (DefaultDownloadDelegate::didReceiveResponse):
17429 (DefaultDownloadDelegate::shouldDecodeSourceDataOfMIMEType):
17430 (DefaultDownloadDelegate::willResumeWithResponse):
17431 (DefaultDownloadDelegate::willSendRequest):
17432 (DefaultDownloadDelegate::didBegin):
17433 (DefaultDownloadDelegate::didFinish):
17434 * DefaultDownloadDelegate.h: Added.
17436 - Had to do some weird reordering of interface includes to make things compile...
17437 Ada watched through this one and was as bewildered as I by the compile errors,
17438 but settled on the "do what makes it happy" philosophy
17439 * Interfaces/IWebDataSource.idl:
17440 * Interfaces/IWebDownload.idl:
17441 * Interfaces/IWebResourceLoadDelegate.idl:
17443 * Interfaces/WebKit.idl: Added WebDownload CLSID
17445 * WebContextMenuClient.cpp:
17446 (WebContextMenuClient::downloadURL): Actually download a file!
17448 * WebDownload.cpp: Added. Incomplete yet functional implementation of the
17449 IWebDownload interface
17450 (WebDownload::WebDownload):
17451 (WebDownload::~WebDownload):
17452 (WebDownload::createInstance):
17453 (WebDownload::QueryInterface):
17454 (WebDownload::AddRef):
17455 (WebDownload::Release):
17456 (WebDownload::initWithRequest):
17457 (WebDownload::initWithResumeData):
17458 (WebDownload::canResumeDownloadDecodedWithEncodingMIMEType):
17459 (WebDownload::cancel):
17460 (WebDownload::deletesFileUponFailure):
17461 (WebDownload::request):
17462 (WebDownload::resumeData):
17463 (WebDownload::setDeletesFileUponFailure):
17464 (WebDownload::setDestination):
17466 - WebDownload acts as its own WebURLAuthenticationChallengeSender
17467 (WebDownload::cancelAuthenticationChallenge):
17468 (WebDownload::continueWithoutCredentialForAuthenticationChallenge):
17469 (WebDownload::useCredential):
17471 - CFURLDownload callbacks
17472 (WebDownload::didStart):
17473 (WebDownload::willSendRequest):
17474 (WebDownload::didReceiveAuthenticationChallenge):
17475 (WebDownload::didReceiveResponse):
17476 (WebDownload::willResumeWithResponse):
17477 (WebDownload::didReceiveData):
17478 (WebDownload::shouldDecodeDataOfMIMEType):
17479 (WebDownload::decideDestinationWithSuggestedObjectName):
17480 (WebDownload::didCreateDestination):
17481 (WebDownload::didFinish):
17482 (WebDownload::didFail):
17484 - The following are all the raw C-function callbacks for CFURLDownload
17485 (didStartCallback):
17486 (willSendRequestCallback):
17487 (didReceiveAuthenticationChallengeCallback):
17488 (didReceiveResponseCallback):
17489 (willResumeWithResponseCallback):
17490 (didReceiveDataCallback):
17491 (shouldDecodeDataOfMIMETypeCallback):
17492 (decideDestinationWithSuggestedObjectNameCallback):
17493 (didCreateDestinationCallback):
17494 (didFinishCallback):
17496 * WebDownload.h: Added.
17499 (WebFrame::dispatchDecidePolicyForMIMEType): Temporary and minimal Policy decision that actually results in a download
17500 (WebFrame::download): Actually download... in theory. Blocked on CFNetwork for now
17502 - More CLSID voodoo
17503 * WebKit.vcproj/WebKit.vcproj:
17504 * WebKitClassFactory.cpp:
17505 (WebKitClassFactory::CreateInstance):
17507 (DllGetClassObject):
17509 * WebKitLogging.cpp: Added. I needed these for downloads, and just kept the default channels from WebKitMac
17510 (initializeLogChannel):
17511 (WebKitInitializeLoggingChannelsIfNecessary):
17512 * WebKitLogging.h: Added.
17515 (WebView::downloadDelegate): Change ASSERT_NOT_REACHED() to LOG_NOIMPL() to not stop the app
17517 2007-01-23 Steve Falkenburg <sfalken@apple.com>
17519 Copy new CGPThreads DLL (build fix for new SDK).
17521 * WebKit.vcproj/WebKit.vcproj:
17523 2007-01-23 Alice Liu <alice.liu@apple.com>
17527 Fixed <rdar://4949278> cut/copy/paste not working in subframes
17530 (WebView::cutEnabled):
17531 (WebView::copyEnabled):
17532 (WebView::pasteEnabled):
17533 (WebView::deleteEnabled):
17534 (WebView::editingEnabled):
17535 (WebView::deleteSelection):
17539 (WebView::copyURL):
17540 (WebView::delete_):
17541 get the focusedOrMainFrame() instead of mainFrame()
17543 2007-01-23 Anders Carlsson <acarlsson@apple.com>
17545 Reviewed by Darin Adler.
17547 <rdar://problem/4919754>
17548 Boomer freezes after attempt to play video.
17550 * Interfaces/IWebError.idl:
17554 (WebFrame::redirectDataToPlugin):
17555 Cancel loading the main resource.
17557 (WebFrame::windowObjectCleared):
17560 2007-01-23 Alice Liu <alice.liu@apple.com>
17564 fixed <rdar://4923535> pressing shift-backspace inserts a bad character
17565 fixed <rdar://4923536> shift-pageup/shift-pagedown do nothing in textareas
17568 added to keyEntries an entry for the commands accounting for modifiers
17570 2007-01-23 Adele Peterson <adele@apple.com>
17572 Reviewed by Darin Adler.
17574 Reorganized some event handling code for keyPress events to
17575 prepare for another fix.
17577 * WebEditorClient.cpp: (WebEditorClient::handleKeyPress): Added.
17578 * WebEditorClient.h: Removed unnecessary forward declarations.
17580 2007-01-23 Anders Carlsson <acarlsson@apple.com>
17585 (WebFrame::createFrame):
17586 (WebFrame::createPlugin):
17587 (WebFrame::redirectDataToPlugin):
17588 (WebFrame::createJavaAppletWidget):
17589 (WebFrame::objectContentType):
17590 (WebFrame::overrideMediaType):
17591 (WebFrame::windowObjectCleared):
17593 Move functions here from WebFrameLoaderWin in WebCore.
17595 2007-01-23 Oliver Hunt <oliver@apple.com>
17599 Attaching the DragController logic to the WebView
17601 * Interfaces/IWebUIDelegate.idl:
17602 Fixed a couple of function definitions to use IDataObject instead of IDropSource
17604 * WebDragClient.cpp: Added.
17605 (WebDragClient::WebDragClient):
17606 (WebDragClient::actionMaskForDrag):
17607 (WebDragClient::willPerformDragDestinationAction):
17608 * WebDragClient.h: Added.
17609 DragClient implementation.
17611 * WebKit.vcproj/WebKit.vcproj:
17613 (WebView::WebView):
17614 (WebView::initWithFrame):
17615 (dragOperationToDragCursor):
17616 (keyStateToDragOperation):
17617 (WebView::DragEnter):
17618 (WebView::DragOver):
17619 (WebView::DragLeave):
17621 Set up and register WebView as an IDropTarget, and pass off
17622 drag events to the DragController
17626 2007-01-22 Adam Roben <aroben@apple.com>
17628 Reviewed by Anders, Brady, and Steve.
17630 WebKit part of <rdar://problem/4601321> HTTP Authentication Alerts
17632 Made WebURLCredential use a registered CLSID so the app can get instantiate it:
17634 * Interfaces/IWebURLAuthenticationChallenge.idl: Changed method name.
17635 * Interfaces/WebKit.idl: Added GUIDs for WebURLCredential.
17636 * WebKitClassFactory.cpp:
17637 (WebKitClassFactory::CreateInstance): Added case for WebURLCredential.
17638 * WebKitDLL.cpp: Added WebURLCredential and WebError (it was omitted
17640 (DllGetClassObject):
17641 * WebURLAuthenticationChallenge.cpp:
17642 (WebURLAuthenticationChallenge::initWithProtectionSpace): Changed to
17643 use CLSID, and return the failing HRESULT.
17644 (WebURLAuthenticationChallenge::initWithAuthenticationChallenge):
17645 Changed to return the failing HRESULT.
17646 * WebURLAuthenticationChallengeSender.cpp:
17647 (WebURLAuthenticationChallengeSender::useCredential): Ditto.
17648 * WebURLCredential.cpp: Removed IID definition.
17649 (WebURLCredential::QueryInterface): Switched to use CLSID.
17650 (WebURLCredential::initWithUser): Updated method name.
17651 * WebURLCredential.h: Ditto.
17653 2007-01-22 Steve Falkenburg <sfalken@apple.com>
17655 Updated strings not to be localized, added native line endings svn flag.
17657 * English.lproj/StringsNotToBeLocalized.txt:
17659 2007-01-22 Anders Carlsson <acarlsson@apple.com>
17663 * Interfaces/IWebError.idl:
17664 Clean up the IWebError interface.
17666 * Interfaces/WebKit.idl:
17667 * WebKitClassFactory.cpp:
17668 (WebKitClassFactory::CreateInstance):
17669 Make it possible for clients to create WebErrors.
17672 (WebError::QueryInterface):
17675 * WebURLAuthenticationChallenge.cpp:
17676 (WebURLAuthenticationChallenge::initWithProtectionSpace):
17677 Get rid of IID_WebError and use CLSID_WebError instad.
17680 (WebView::canHandleRequest):
17681 Return true for "about" URLs.
17683 (WebView::canHandleRequest):
17684 Add private COM method.
17687 Reset the policy delegate.
17689 2007-01-19 Ada Chan <adachan@apple.com>
17693 Reviewed by Anders.
17694 Added IWebResourceLoadDelegatePrivate which has one method: didLoadResourceFromMemoryCache.
17696 * Interfaces/IWebResourceLoadDelegatePrivate.idl: Added.
17698 (WebFrame::dispatchDidFinishDocumentLoad):
17699 * WebKit.vcproj/Interfaces.vcproj:
17700 * WebKit.vcproj/WebKitGUID.vcproj:
17702 2007-01-19 John Sullivan <sullivan@apple.com>
17706 Added mechanism for new callbacks, to try to avoid breaking the Windows build.
17708 * Interfaces/IWebFrameLoadDelegatePrivate.idl:
17710 (WebFrame::dispatchDidFinishDocumentLoad):
17713 2007-01-19 Brady Eidson <beidson@apple.com>
17717 Much more realistic WebDownload interface that delegates will actually have to implement
17719 * Interfaces/IWebDownload.idl:
17721 2007-01-18 Ada Chan <adachan@apple.com>
17725 <rdar://4601522> Activity Window
17726 - Added some NSURL equivalent constants in IWebURLResponse.idl and IWebError.idl
17727 - Added IWebErrorPrivate.idl which contains some private error codes
17728 - Added IWebHTTPURLResponse interface which extends IWebURLResponse. It has the
17729 same API as NSHTTPURLResponse.
17731 * Interfaces/IWebError.idl:
17732 * Interfaces/IWebErrorPrivate.idl: Added.
17733 * Interfaces/IWebHTTPURLResponse.idl: Added.
17734 * Interfaces/IWebResourceLoadDelegate.idl: fixed a typo in parameter name
17735 * Interfaces/IWebURLResponse.idl: added WebURLResponseUnknownLength
17736 * WebKit.vcproj/Interfaces.vcproj: for adding IWebErrorPrivate.idl and IWebHTTPURLResponse.idl
17737 * WebKit.vcproj/WebKitGUID.vcproj: for the new IID_IWebHTTPURLResponse
17738 * WebURLResponse.cpp:
17739 (WebURLResponse::QueryInterface): also returns the new IWebHTTPURLResponse interface
17740 (WebURLResponse::allHeaderFields): Added stub for IWebHTTPURLResponse::allHeaderFields.
17741 (WebURLResponse::localizedStringForStatusCode): Added stub for IWebHTTPURLResponse::localizedStringforStatusCode
17742 (WebURLResponse::statusCode): Implemented IWebHTTPURLResponse::statusCode.
17743 * WebURLResponse.h:
17745 2007-01-19 Anders Carlsson <acarlsson@apple.com>
17747 The obligatory build fix.
17749 * WebChromeClient.cpp:
17750 (WebChromeClient::runJavaScriptPrompt):
17752 2007-01-18 Anders Carlsson <acarlsson@apple.com>
17756 * WebChromeClient.cpp:
17757 (WebChromeClient::runJavaScriptAlert):
17758 (WebChromeClient::runJavaScriptConfirm):
17759 (WebChromeClient::runJavaScriptPrompt):
17760 (WebChromeClient::setStatusbarText):
17761 * WebChromeClient.h:
17762 Add new ChromeClient methods.
17765 (WebFrame::userAgent):
17766 (WebFrame::updateGlobalHistoryForReload):
17768 Remove unused FrameWinClient functions.
17770 2007-01-18 Anders Carlsson <acarlsson@apple.com>
17775 (WebView::scrollBackingStore):
17776 Only try to scroll the backing store if it actually exists.
17778 2007-01-18 Anders Carlsson <acarlsson@apple.com>
17780 Reviewed by Lou and Adam.
17782 Call all policy, frame load and resource load delegate methods.
17784 * Interfaces/IWebPolicyDelegate.idl:
17785 Add some definitions needed.
17787 * WebActionPropertyBag.cpp: Added.
17788 (WebActionPropertyBag::WebActionPropertyBag):
17789 (WebActionPropertyBag::~WebActionPropertyBag):
17790 (WebActionPropertyBag::createInstance):
17791 (WebActionPropertyBag::QueryInterface):
17792 (WebActionPropertyBag::AddRef):
17793 (WebActionPropertyBag::Release):
17796 (WebActionPropertyBag::Read):
17797 (WebActionPropertyBag::Write):
17798 * WebActionPropertyBag.h: Added.
17799 New class which wraps a NavigationAction in a property bag.
17802 (WebFrame::dispatchWillSubmitForm):
17803 (WebFrame::clearUnarchivingState):
17804 (WebFrame::dispatchDecidePolicyForMIMEType):
17805 (WebFrame::dispatchDecidePolicyForNewWindowAction):
17806 (WebFrame::dispatchDecidePolicyForNavigationAction):
17807 (WebFrame::dispatchWillSendRequest):
17808 (WebFrame::dispatchDidFailLoading):
17810 Dispatch correct delegate methods.
17812 * WebKit.vcproj/WebKit.vcproj:
17813 Add WebActionPropertyBag files.
17815 * WebURLResponse.cpp:
17816 (WebURLResponse::createInstance):
17817 Return 0 for null responses.
17819 2007-01-18 Anders Carlsson <acarlsson@apple.com>
17821 Reviewed by John Sullivan
17824 (WebView::searchFor):
17827 2007-01-17 Alice Liu <alice.liu@apple.com>
17829 Added stubs to keep the boomer build from failing.
17831 * WebEditorClient.cpp:
17832 (WebEditorClient::didSetSelectionTypesForPasteboard):
17833 * WebEditorClient.h:
17835 2007-01-17 Brady Eidson <beidson@apple.com>
17839 Final hookup of HTTP Auth plumbing
17842 (WebFrame::dispatchDidReceiveAuthenticationChallenge): Call to the ResourceLoadDelegate so the app
17843 can handle the Auth request. Fail gracefully if the delegate doesn't exist or fails
17844 (WebFrame::dispatchDidCancelAuthenticationChallenge): Call to the Delegate so the app can cancel
17845 an in-progress challenge
17846 * WebURLAuthenticationChallenge.h:
17848 2007-01-17 Brady Eidson <beidson@apple.com>
17850 Reviewed by Steve Falkenburg
17852 Next round of plumbing for HTTP Auth, or as I like to call it:
17853 "Implementing platform dependent wrappers for my platform independent
17854 wrappers which wrap platform dependent objects"
17858 Also, not included in this ChangeLog, I changed the eol property to
17859 native on a handful of WebKitWin files who didn't have it set yet
17861 * Interfaces/IWebURLAuthenticationChallenge.idl: Added some string constants, nuked an unneeded
17862 initializer from IWebCredential
17864 * WebError.cpp: Added QueryInterface for new GUID
17865 (WebError::resourceError): Added accessor to WebCore backer
17866 * WebError.h: Added GUID
17868 * WebKit.vcproj/WebKit.vcproj:
17870 * WebURLAuthenticationChallenge.cpp: Added.
17871 (WebURLAuthenticationChallenge::WebURLAuthenticationChallenge):
17872 (WebURLAuthenticationChallenge::~WebURLAuthenticationChallenge):
17873 (WebURLAuthenticationChallenge::createInstance):
17874 (WebURLAuthenticationChallenge::QueryInterface):
17875 (WebURLAuthenticationChallenge::AddRef):
17876 (WebURLAuthenticationChallenge::Release):
17877 (WebURLAuthenticationChallenge::initWithProtectionSpace):
17878 (WebURLAuthenticationChallenge::initWithAuthenticationChallenge):
17879 (WebURLAuthenticationChallenge::error):
17880 (WebURLAuthenticationChallenge::failureResponse):
17881 (WebURLAuthenticationChallenge::previousFailureCount):
17882 (WebURLAuthenticationChallenge::proposedCredential):
17883 (WebURLAuthenticationChallenge::protectionSpace):
17884 (WebURLAuthenticationChallenge::sender):
17885 (WebURLAuthenticationChallenge::authenticationChallenge):
17886 * WebURLAuthenticationChallenge.h: Added.
17888 * WebURLAuthenticationChallengeSender.cpp: Added.
17889 (WebURLAuthenticationChallengeSender::WebURLAuthenticationChallengeSender):
17890 (WebURLAuthenticationChallengeSender::~WebURLAuthenticationChallengeSender):
17891 (WebURLAuthenticationChallengeSender::createInstance):
17892 (WebURLAuthenticationChallengeSender::QueryInterface):
17893 (WebURLAuthenticationChallengeSender::AddRef):
17894 (WebURLAuthenticationChallengeSender::Release):
17895 (WebURLAuthenticationChallengeSender::cancelAuthenticationChallenge):
17896 (WebURLAuthenticationChallengeSender::continueWithoutCredentialForAuthenticationChallenge):
17897 (WebURLAuthenticationChallengeSender::useCredential):
17898 (WebURLAuthenticationChallengeSender::resourceHandle):
17899 * WebURLAuthenticationChallengeSender.h: Added.
17901 * WebURLCredential.cpp: Added.
17902 (WebURLCredential::WebURLCredential):
17903 (WebURLCredential::~WebURLCredential):
17904 (WebURLCredential::createInstance):
17905 (WebURLCredential::QueryInterface):
17906 (WebURLCredential::AddRef):
17907 (WebURLCredential::Release):
17908 (WebURLCredential::hasPassword):
17909 (WebURLCredential::initWithuser):
17910 (WebURLCredential::password):
17911 (WebURLCredential::persistence):
17912 (WebURLCredential::user):
17913 (WebURLCredential::credential):
17914 * WebURLCredential.h: Added.
17916 * WebURLProtectionSpace.cpp: Added.
17917 (WebURLProtectionSpace::WebURLProtectionSpace):
17918 (WebURLProtectionSpace::~WebURLProtectionSpace):
17919 (WebURLProtectionSpace::createInstance):
17920 (WebURLProtectionSpace::QueryInterface):
17921 (WebURLProtectionSpace::AddRef):
17922 (WebURLProtectionSpace::Release):
17923 (WebURLProtectionSpace::authenticationMethod):
17924 (WebURLProtectionSpace::host):
17925 (coreScheme): Helper for the init methods
17926 (WebURLProtectionSpace::initWithHost):
17927 (WebURLProtectionSpace::initWithProxyHost):
17928 (WebURLProtectionSpace::isProxy):
17929 (WebURLProtectionSpace::port):
17930 (WebURLProtectionSpace::protocol):
17931 (WebURLProtectionSpace::proxyType):
17932 (WebURLProtectionSpace::realm):
17933 (WebURLProtectionSpace::receivesCredentialSecurely):
17934 (WebURLProtectionSpace::protectionSpace):
17935 * WebURLProtectionSpace.h: Added.
17937 * WebURLResponse.cpp: Added QueryInterface for new GUID
17938 (WebURLResponse::resourceResponse): Added accessor to WebCore backer
17939 * WebURLResponse.h: Added GUID
17941 2007-01-16 Alice Liu <alice.liu@apple.com>
17943 Added stubs to keep the boomer build from failing.
17945 * WebEditorClient.cpp:
17946 (WebEditorClient::didWriteSelectionToPasteboard):
17947 * WebEditorClient.h:
17949 2007-01-16 Beth Dakin <bdakin@apple.com>
17953 Fix for <rdar://problem/4874565> Draw context menus using CG
17955 Added new delegate calls to the UIDelegate to draw context menus
17956 that match the context menus in the app.
17958 * Interfaces/IWebUIDelegate.idl: Added five new delegate calls.
17959 They take care of asking if there is a custom menu implementation,
17960 adding custom drawing data to the menu items and tracking the popup
17961 in a custom way, measuring the items when it comes time to draw the
17962 menus, actually drawing the items, and properly destroying the
17963 custom data when the menu is destroyed.
17965 (WebView::handleContextMenuEvent): This function now takes care of
17966 popping up the menu after the event is dispatched through WebCore.
17967 WebCore used to pop up the menu itself, but having WebKit pop up
17968 the menu matches the Mac and allows up to get rid of two functions
17969 on ContextMenu that are empty on the Mac. It also makes more sense
17970 to have this code reside in WebKit now that there are calls over
17971 the UIDelegate to draw the menus.
17972 (WebView::onMeasureItem): Helper function to call over the
17974 (WebView::onDrawItem): Same.
17975 (WebView::onUninitMenuPopup): Same.
17976 (WebViewWndProc): Now that we are drawing the menus ourselves, we
17977 need to handle WM_MEASUREITEM, WM_DRAWITEM, and WM_UNINITMENUPOPUP.
17980 2007-01-16 Steve Falkenburg <sfalken@apple.com>
17984 Change version numbering scheme for files from the form 3.0.521.32
17985 to the form 3.521.32.11.
17987 This will fix our upgrade installer logic.
17989 * WebKit.vcproj/WebKit.rc:
17991 2007-01-15 Anders Carlsson <acarlsson@apple.com>
17995 Fix: <rdar://problem/4925504> ASSERT when finished running iBench HTML Load Speed
17998 (WebFrame::cancelledError): Return a pseudo-CFNet cancelled error instead of a null ResourceError.
18000 2007-01-15 Anders Carlsson <acarlsson@apple.com>
18004 <rdar://problem/4889203>
18005 Implement WebFrame::canHandleRequest.
18007 * WebDataSource.cpp:
18008 (WebDataSource::webFrame):
18009 Implement webFrame accessor.
18012 (WebFrame::canHandleRequest):
18014 (WebView::canHandleRequest):
18016 Implement canHandleRequest.
18018 2007-01-15 Anders Carlsson <acarlsson@apple.com>
18022 Loader related improvements.
18024 * Interfaces/IWebFrameLoadDelegate.idl:
18025 Change method signature to match what we have on Mac more closely.
18027 * WebDataSource.cpp:
18028 (WebDataSource::pageTitle):
18031 * WebError.cpp: Added.
18032 * WebError.h: Added.
18033 Add (currently stubbed out) IWebError implementation.
18036 (WebFrame::dispatchDidCancelClientRedirect):
18037 (WebFrame::dispatchWillPerformClientRedirect):
18038 (WebFrame::dispatchDidReceiveIcon):
18039 (WebFrame::dispatchUnableToImplementPolicy):
18040 (WebFrame::dispatchDidFailProvisionalLoad):
18041 (WebFrame::dispatchDidFailLoad):
18044 * WebKit.vcproj/WebKit.vcproj:
18045 Add WebError.h and WebError.cpp
18047 2007-01-15 Anders Carlsson <acarlsson@apple.com>
18052 (WebFrame::postProgressStartedNotification):
18053 (WebFrame::postProgressEstimateChangedNotification):
18054 (WebFrame::postProgressFinishedNotification):
18056 Post the correct notifications.
18059 (WebView::estimatedProgress):
18060 Ask the progress tracker for the estimated progress.
18062 2007-01-15 Anders Carlsson <acarlsson@apple.com>
18066 * Interfaces/IWebView.idl:
18067 Add progress notifications.
18069 2007-01-15 Anders Carlsson <acarlsson@apple.com>
18073 Call resource load delegate methods.
18075 * Interfaces/IWebResourceLoadDelegate.idl:
18076 Use unsigned long instead of UINT.
18078 * WebBackForwardList.cpp:
18079 * WebBackForwardList.h:
18080 Get rid of the createInstance method that takes no arguments.
18083 (WebFrame::assignIdentifierToInitialRequest):
18084 (WebFrame::dispatchDidReceiveResponse):
18085 (WebFrame::dispatchDidReceiveContentLength):
18086 (WebFrame::dispatchDidFinishLoading):
18087 (WebFrame::dispatchDidFailLoading):
18088 Call the right resource load delegate methods.
18091 (WebView::setResourceLoadDelegate):
18092 (WebView::resourceLoadDelegate):
18093 (WebView::setPolicyDelegate):
18094 (WebView::policyDelegate):
18096 Add getters and setters for the resource load delegate and the policy delegate.
18098 2007-01-14 Alice Liu <alice.liu@apple.com>
18102 Fixed: <rdar://problem/4888908> Find: "Use selection to find" and "Jump to selection" are not implemented
18104 * Interfaces/IWebView.idl:
18106 (WebView::selectedText):
18107 (WebView::centerSelectionInVisibleArea):
18110 2007-01-14 Adam Roben <aroben@apple.com>
18114 Fix: <rdar://4831292> Implement WebKitStatistics
18116 * Interfaces/IWebKitStatistics.idl: Added.
18117 * Interfaces/WebKit.idl: Added WebKitStatistics declaration.
18118 * WebKit.vcproj/Interfaces.vcproj: Added new files.
18119 * WebKit.vcproj/WebKit.vcproj: Ditto.
18120 * WebKit.vcproj/WebKitGUID.vcproj: Ditto.
18121 * WebKitClassFactory.cpp: Updated to include WebKitStatistics.
18122 (WebKitClassFactory::CreateInstance):
18123 * WebKitDLL.cpp: Ditto.
18124 (DllGetClassObject):
18125 * WebKitStatistics.cpp: Added.
18126 (WebKitStatistics::WebKitStatistics):
18127 (WebKitStatistics::~WebKitStatistics):
18128 (WebKitStatistics::createInstance):
18129 (WebKitStatistics::QueryInterface):
18130 (WebKitStatistics::AddRef):
18131 (WebKitStatistics::Release):
18132 (WebKitStatistics::webViewCount):
18133 (WebKitStatistics::frameCount):
18134 (WebKitStatistics::dataSourceCount):
18135 (WebKitStatistics::viewCount):
18136 (WebKitStatistics::HTMLRepresentationCount):
18137 * WebKitStatistics.h: Added.
18138 * WebKitStatisticsPrivate.h: Added.
18140 Added object counting:
18142 * WebDataSource.cpp:
18143 (WebDataSource::WebDataSource):
18144 (WebDataSource::~WebDataSource):
18146 (WebFrame::WebFrame):
18147 (WebFrame::~WebFrame):
18148 * WebHTMLRepresentation.cpp:
18149 (WebHTMLRepresentation::WebHTMLRepresentation):
18150 (WebHTMLRepresentation::~WebHTMLRepresentation):
18152 (WebView::WebView): Initialize m_page member.
18153 (WebView::~WebView):
18155 2007-01-12 Anders Carlsson <acarlsson@apple.com>
18160 (WebFrame::assignIdentifierToInitialRequest):
18161 (WebFrame::dispatchWillSendRequest):
18162 (WebFrame::dispatchDidReceiveResponse):
18163 (WebFrame::dispatchDidReceiveContentLength):
18164 (WebFrame::dispatchDidFinishLoading):
18165 (WebFrame::dispatchDidFailLoading):
18166 (WebFrame::incrementProgress):
18167 (WebFrame::completeProgress):
18168 (WebFrame::dispatchDidReceiveAuthenticationChallenge):
18169 (WebFrame::dispatchDidCancelAuthenticationChallenge):
18172 2007-01-12 Ada Chan <adachan@apple.com>
18176 <rdar://4602355> More Undo/Redo
18177 - Added IWebBackForwardListPrivate which contains the removeItem method, used in undo/redo of closing tabs.
18178 - Fixed a null dereference I ran into in WebFrame::dispatchDidFirstLayout.
18180 * Interfaces/IWebBackForwardListPrivate.idl: Added.
18181 * WebBackForwardList.cpp:
18182 (WebBackForwardList::QueryInterface):
18183 (WebBackForwardList::removeItem):
18184 * WebBackForwardList.h:
18186 (WebFrame::dispatchDidFirstLayout):
18187 * WebKit.vcproj/Interfaces.vcproj:
18188 * WebKit.vcproj/WebKitGUID.vcproj:
18190 2007-01-12 Anders Carlsson <acarlsson@apple.com>
18192 Reviewed by Darin Adler.
18194 Move WebKitWin over to the new WebCore loader. There are still some leftover functions
18195 from FrameWinClient that aren't used and should be removed.
18197 * WebDataSource.cpp:
18198 (WebDataSource::WebDataSource):
18199 (WebDataSource::~WebDataSource):
18200 (WebDataSource::createInstance):
18201 (WebDataSource::documentLoader):
18202 (WebDataSource::overrideEncoding):
18203 (WebDataSource::setOverrideEncoding):
18204 (WebDataSource::QueryInterface):
18205 (WebDataSource::initWithRequest):
18206 (WebDataSource::data):
18207 (WebDataSource::representation):
18208 (WebDataSource::webFrame):
18209 (WebDataSource::initialRequest):
18210 (WebDataSource::request):
18211 (WebDataSource::response):
18212 (WebDataSource::textEncodingName):
18213 (WebDataSource::isLoading):
18214 (WebDataSource::unreachableURL):
18217 (WebFrame::WebFramePrivate::m_policyFunction):
18218 (WebFrame::WebFrame):
18219 (WebFrame::~WebFrame):
18220 (WebFrame::QueryInterface):
18221 (WebFrame::loadRequest):
18222 (WebFrame::loadData):
18223 (getWebDataSource):
18224 (WebFrame::dataSource):
18225 (WebFrame::provisionalDataSource):
18226 (WebFrame::stopLoading):
18227 (WebFrame::reload):
18228 (WebFrame::firstLayoutDone):
18229 (WebFrame::loadType):
18230 (WebFrame::stopMainResourceLoad):
18231 (WebFrame::canProvideDocumentSource):
18232 (WebFrame::createFrame):
18233 (WebFrame::submitForm):
18234 (WebFrame::setTitle):
18235 (WebFrame::originalRequestURL):
18236 (WebFrame::hasWebView):
18237 (WebFrame::hasFrameView):
18238 (WebFrame::dispatchDidReceiveServerRedirectForProvisionalLoad):
18239 (WebFrame::dispatchDidReceiveTitle):
18240 (WebFrame::dispatchDidFirstLayout):
18241 (WebFrame::dispatchShow):
18242 (WebFrame::cancelPolicyCheck):
18243 (WebFrame::dispatchWillSubmitForm):
18244 (WebFrame::finishedLoading):
18245 (WebFrame::canHandleRequest):
18246 (WebFrame::canShowMIMEType):
18247 (WebFrame::representationExistsForURLScheme):
18248 (WebFrame::updateGlobalHistoryForStandardLoad):
18249 (WebFrame::shouldGoToHistoryItem):
18250 (WebFrame::createDocumentLoader):
18251 (WebFrame::receivedData):
18252 (WebFrame::setUpPolicyListener):
18253 (WebFrame::receivedPolicyDecision):
18254 (WebFrame::committedLoad):
18255 (WebFrame::dispatchDecidePolicyForMIMEType):
18256 (WebFrame::dispatchCreatePage):
18257 (WebFrame::dispatchDidCancelAuthenticationChallenge):
18260 (WebView::WebView):
18261 (WebView::~WebView):
18264 (WebView::frameLoadDelegate):
18265 (WebView::backForwardList):
18266 (WebView::setMaintainsBackForwardList):
18268 (WebView::goForward):
18269 (WebView::goToBackForwardItem):
18270 (WebView::setCustomTextEncodingName):
18271 (WebView::customTextEncodingName):
18272 (WebView::canGoBack):
18273 (WebView::canGoForward):
18274 (WebView::frameLoadDelegatePrivate):
18277 2007-01-12 Anders Carlsson <acarlsson@apple.com>
18281 More loader preparations.
18283 * WebContextMenuClient.cpp:
18284 (WebContextMenuClient::getCustomMenuFromDefaultItems):
18285 (WebContextMenuClient::contextMenuItemSelected):
18286 Use ::createInstance to create the element property bags.
18288 * WebElementPropertyBag.cpp:
18289 (WebElementPropertyBag::WebElementPropertyBag):
18290 (WebElementPropertyBag::~WebElementPropertyBag):
18291 (WebElementPropertyBag::createInstance):
18292 (convertStringToVariant):
18293 * WebElementPropertyBag.h:
18294 Fix ownership issues so WebElementPropertyBag can one day be a value in another property bag.
18296 * WebFramePolicyListener.cpp: Added.
18297 (WebFramePolicyListener::WebFramePolicyListener):
18298 (WebFramePolicyListener::~WebFramePolicyListener):
18299 (WebFramePolicyListener::createInstance):
18300 (WebFramePolicyListener::QueryInterface):
18301 (WebFramePolicyListener::AddRef):
18302 (WebFramePolicyListener::Release):
18303 (WebFramePolicyListener::use):
18304 (WebFramePolicyListener::download):
18305 (WebFramePolicyListener::ignore):
18306 (WebFramePolicyListener::continueSubmit):
18307 (WebFramePolicyListener::receivedPolicyDecision):
18308 (WebFramePolicyListener::invalidate):
18309 * WebFramePolicyListener.h: Added.
18310 Add policy listener implementation.
18313 (WebFrame::receivedPolicyDecision):
18315 Add stub to be used by the policy listener.
18318 (WebView::WebView):
18319 (WebView::~WebView):
18321 (WebView::closeWindow):
18322 (WebView::handleMouseEvent):
18324 (WebView::initWithFrame):
18325 (WebView::setUIDelegate):
18326 (WebView::uiDelegate):
18327 (WebView::setFrameLoadDelegate):
18328 (WebView::frameLoadDelegate):
18329 (WebView::preferences):
18330 (WebView::elementAtPoint):
18331 (WebView::setFormDelegate):
18332 (WebView::formDelegate):
18333 (WebView::setFrameLoadDelegatePrivate):
18334 (WebView::frameLoadDelegatePrivate):
18336 Cleanup, use COMPtr in a couple of places.
18338 2007-01-11 Steve Falkenburg <sfalken@apple.com>
18340 B&I build change - copy WebKit.resources to dstroot for installer
18342 * WebKit.vcproj/WebKit.make:
18344 2007-01-11 Steve Falkenburg <sfalken@apple.com>
18348 Implement "Make Text Normal Size".
18351 (WebView::canMakeTextStandardSize): Added
18352 (WebView::makeTextStandardSize): Added
18353 (WebView::toggleContinuousSpellChecking): Added
18354 (WebView::toggleSmartInsertDelete): Added
18356 2007-01-11 Brady Eidson <beidson@apple.com>
18358 Make it build again after my OpenSource http auth checkin
18361 (WebFrame::dispatchDidReceiveAuthenticationChallenge):
18362 (WebFrame::dispatchDidCancelAuthenticationChallenge):
18365 2007-01-10 Anders Carlsson <acarlsson@apple.com>
18369 * WebContextMenuClient.cpp:
18370 (WebContextMenuClient::lookUpInDictionary):
18371 * WebContextMenuClient.h:
18373 2007-01-10 Beth Dakin <bdakin@apple.com>
18377 Fix for <rdar://problem/4914258> REGRESSION: Search in Google now
18378 operates on the current WebView instead of invoking Safari's
18381 * WebContextMenuClient.cpp:
18382 (WebContextMenuClient::searchWithGoogle): Do all of the work we
18383 used to do in WebCore over here in WebKit.
18384 * WebContextMenuClient.h:
18386 2007-01-10 Anders Carlsson <acarlsson@apple.com>
18391 (WebFrame::dispatchDidFirstLayout):
18394 2007-01-10 Anders Carlsson <acarlsson@apple.com>
18396 Reviewed by Darin Adler.
18398 Add WebDocumentLoader. Implement some of the FrameLoaderClient methods.
18399 Add a resourceRequest() getter to WebMutableURLRequest.
18401 * WebDocumentLoader.cpp: Added.
18402 (WebDocumentLoader::WebDocumentLoader):
18403 (WebDocumentLoader::setDataSource):
18404 (WebDocumentLoader::dataSource):
18405 (WebDocumentLoader::attachToFrame):
18406 (WebDocumentLoader::detachFromFrame):
18407 * WebDocumentLoader.h: Added.
18409 (WebFrame::dispatchWillPerformClientRedirect):
18410 (WebFrame::dispatchDidChangeLocationWithinPage):
18411 (WebFrame::dispatchWillClose):
18412 (WebFrame::dispatchDidStartProvisionalLoad):
18413 (WebFrame::dispatchDidReceiveTitle):
18414 (WebFrame::dispatchDidCommitLoad):
18415 (WebFrame::dispatchDidFinishLoad):
18416 (WebFrame::updateGlobalHistoryForStandardLoad):
18417 (WebFrame::updateGlobalHistoryForReload):
18418 (WebFrame::dispatchDecidePolicyForMIMEType):
18419 (WebFrame::dispatchDecidePolicyForNewWindowAction):
18420 (WebFrame::dispatchDecidePolicyForNavigationAction):
18421 (WebFrame::dispatchDidFailProvisionalLoad):
18422 (WebFrame::dispatchDidFailLoad):
18423 * WebKit.vcproj/WebKit.vcproj:
18424 * WebMutableURLRequest.cpp:
18425 (WebMutableURLRequest::resourceRequest):
18426 * WebMutableURLRequest.h:
18428 2007-01-10 Anders Carlsson <acarlsson@apple.com>
18432 Make WebBackForwardList wrap a WebCore::BackForwardList. Add wrapper map to WebHistoryItem.
18434 * WebBackForwardList.cpp:
18435 (backForwardListWrappers):
18436 (WebBackForwardList::WebBackForwardList):
18437 (WebBackForwardList::~WebBackForwardList):
18438 (WebBackForwardList::createInstance):
18439 (WebBackForwardList::addItem):
18440 (WebBackForwardList::goBack):
18441 (WebBackForwardList::goForward):
18442 (WebBackForwardList::goToItem):
18443 (WebBackForwardList::backItem):
18444 (WebBackForwardList::currentItem):
18445 (WebBackForwardList::forwardItem):
18446 (WebBackForwardList::backListWithLimit):
18447 (WebBackForwardList::forwardListWithLimit):
18448 (WebBackForwardList::capacity):
18449 (WebBackForwardList::setCapacity):
18450 (WebBackForwardList::backListCount):
18451 (WebBackForwardList::forwardListCount):
18452 (WebBackForwardList::containsItem):
18453 (WebBackForwardList::itemAtIndex):
18454 (WebBackForwardList::setPageCacheSize):
18455 (WebBackForwardList::pageCacheSize):
18456 (WebBackForwardList::setDefaultPageCacheSizeIfNecessary):
18457 * WebBackForwardList.h:
18458 * WebHistoryItem.cpp:
18459 (historyItemWrappers):
18460 (WebHistoryItem::WebHistoryItem):
18461 (WebHistoryItem::~WebHistoryItem):
18462 (WebHistoryItem::createInstance):
18463 (WebHistoryItem::initFromDictionaryRepresentation):
18464 (WebHistoryItem::QueryInterface):
18465 (WebHistoryItem::initWithURLString):
18466 (WebHistoryItem::historyItem):
18467 * WebHistoryItem.h:
18469 2007-01-09 Ada Chan <adachan@apple.com>
18473 <rdar://4602355> Undo/Redo
18474 - Added new undo methods in the IWebUIDelegate.
18475 - Removed the internal WebUndoManager in WebEditorClient.
18476 Instead, we'll call methods on the ui delegate to register
18477 undo operations, execute undo/redo, etc.
18479 * English.lproj/Localizable.strings:
18480 Added localized strings for all the edit command actions.
18481 * Interfaces/IWebUIDelegate.idl:
18482 Added undo delegate callbacks.
18483 * Interfaces/IWebUndoTarget.idl: Added.
18484 Added a IWebUndoTarget interface that targets of undo
18485 operations need to implement.
18486 * WebEditorClient.cpp:
18487 Added WebEditorUndoTarget class that implements IWebUndoTarget.
18488 (WebEditorUndoTarget::WebEditorUndoTarget):
18489 (WebEditorUndoTarget::QueryInterface):
18490 (WebEditorUndoTarget::AddRef):
18491 (WebEditorUndoTarget::Release):
18492 (WebEditorUndoTarget::invoke):
18493 (WebEditorClient::WebEditorClient):
18494 (WebEditorClient::~WebEditorClient):
18495 WebEditorUndoCommand implements IWebUndoCommand and wraps an
18497 (WebEditorUndoCommand::WebEditorUndoCommand):
18498 (WebEditorUndoCommand::execute):
18499 (WebEditorUndoCommand::QueryInterface):
18500 (WebEditorUndoCommand::AddRef):
18501 (WebEditorUndoCommand::Release):
18502 (undoNameForEditAction):
18503 The undo operations in WebEditorClient now calls through to the
18504 undo methods in IWebUIDelegate rather than keeping an internal
18506 (WebEditorClient::registerCommandForUndo):
18507 (WebEditorClient::registerCommandForRedo):
18508 (WebEditorClient::clearUndoRedoOperations):
18509 (WebEditorClient::canUndo):
18510 (WebEditorClient::canRedo):
18511 (WebEditorClient::undo):
18512 (WebEditorClient::redo):
18513 * WebEditorClient.h:
18514 * WebKit.vcproj/Interfaces.vcproj: added IWebUndoTarget.idl
18515 * WebKit.vcproj/WebKitGUID.vcproj: added IWebUndoTarget_i.c
18516 * WebLocalizableStrings.h:
18518 2007-01-09 Anders Carlsson <acarlsson@apple.com>
18520 Reviewed by Darin Adler.
18522 Add COMPtr. Make MemoryStream backed by a SharedBuffer. Use SharedBuffer in
18529 (COMPtr::operator*):
18530 (COMPtr::operator->):
18531 (COMPtr::operator&):
18532 (COMPtr::operator!):
18533 (COMPtr::operator UnspecifiedBoolType):
18537 * MemoryStream.cpp:
18538 (MemoryStream::MemoryStream):
18539 (MemoryStream::~MemoryStream):
18540 (MemoryStream::createInstance):
18541 (MemoryStream::Clone):
18544 (WebFrame::WebFrame):
18545 (WebFrame::didReceiveResponse):
18546 (WebFrame::didReceiveData):
18549 * WebKit.vcproj/WebKit.vcproj:
18551 2007-01-09 Steve Falkenburg <sfalken@apple.com>
18555 <rdar://4906546> Win2K: crash when entering new URL in address field
18557 Win2K compatibility fix. SafeArrayCreateVector doesn't work correctly on older systems (Win2K, etc.)
18559 Some references to people stumbling across this bug (apologies for not being able to find a Microsoft support article):
18560 http://discuss.develop.com/archives/wa.exe?A2=ind0104a&L=dotnet&D=0&T=0&P=69575
18561 http://www.eggheadcafe.com/ng/microsoft.public.platformsdk.com_ole/Jul2005/post22989606.asp
18562 http://www.pcreview.co.uk/forums/thread-1470025.php
18564 * MarshallingHelpers.cpp:
18565 (MarshallingHelpers::stringArrayToSafeArray):
18566 (MarshallingHelpers::intArrayToSafeArray):
18567 (MarshallingHelpers::intRectToSafeArray):
18568 (MarshallingHelpers::iunknownArrayToSafeArray):
18570 2007-01-08 Lou Amadio <lamadio@apple.com>
18574 * DOMCoreClasses.cpp:
18575 (DOMNode::createInstance):
18578 (WebView::handleMouseEvent):
18579 passing incorrect flag
18581 2007-01-08 Anders Carlsson <acarlsson@apple.com>
18585 Use a WebCore HistoryItem object to back WebHistoryItem.
18587 * WebHistoryItem.cpp:
18588 (WebHistoryItem::WebHistoryItem):
18589 (WebHistoryItem::~WebHistoryItem):
18590 (WebHistoryItem::createInstance):
18591 (WebHistoryItem::initFromDictionaryRepresentation):
18592 (WebHistoryItem::dictionaryRepresentation):
18593 (WebHistoryItem::hasURLString):
18594 (WebHistoryItem::visitCount):
18595 (WebHistoryItem::setVisitCount):
18596 (WebHistoryItem::mergeAutoCompleteHints):
18597 (WebHistoryItem::setLastVisitedTimeInterval):
18598 (WebHistoryItem::setTitle):
18599 (WebHistoryItem::RSSFeedReferrer):
18600 (WebHistoryItem::setRSSFeedReferrer):
18601 (WebHistoryItem::initWithURLString):
18602 (WebHistoryItem::URLString):
18603 (WebHistoryItem::title):
18604 (WebHistoryItem::lastVisitedTimeInterval):
18605 * WebHistoryItem.h:
18607 2007-01-05 Anders Carlsson <acarlsson@apple.com>
18611 Add stubs for FrameLoaderClient methods.
18614 (WebFrame::setMainDocumentError):
18615 (WebFrame::cancelledError):
18616 (WebFrame::cannotShowURLError):
18617 (WebFrame::interruptForPolicyChangeError):
18618 (WebFrame::cannotShowMIMETypeError):
18619 (WebFrame::fileDoesNotExistError):
18620 (WebFrame::committedLoad):
18621 (WebFrame::dispatchDecidePolicyForMIMEType):
18622 (WebFrame::dispatchDecidePolicyForNewWindowAction):
18623 (WebFrame::dispatchDecidePolicyForNavigationAction):
18624 (WebFrame::dispatchUnableToImplementPolicy):
18625 (WebFrame::download):
18626 (WebFrame::willUseArchive):
18627 (WebFrame::dispatchWillSendRequest):
18628 (WebFrame::dispatchDidReceiveResponse):
18629 (WebFrame::dispatchDidReceiveContentLength):
18630 (WebFrame::dispatchDidFinishLoading):
18631 (WebFrame::dispatchDidFailLoading):
18632 (WebFrame::dispatchDidLoadResourceFromMemoryCache):
18633 (WebFrame::dispatchDidFailProvisionalLoad):
18634 (WebFrame::dispatchDidFailLoad):
18635 (WebFrame::dispatchCreatePage):
18636 (WebFrame::incrementProgress):
18637 (WebFrame::completeProgress):
18638 (WebFrame::startDownload):
18640 2007-01-05 Alice Liu <alice.liu@apple.com>
18644 Fixed <rdar://problem/4853400> disable commands in the Edit menu when they're not applicable
18645 and <rdar://problem/4769487> Some editing operations should be disabled in View Source window
18647 * Interfaces/IWebView.idl:
18649 (WebView::hasSelectedRange):
18650 (WebView::cutEnabled):
18651 (WebView::copyEnabled):
18652 (WebView::pasteEnabled):
18653 (WebView::deleteEnabled):
18654 (WebView::editingEnabled):
18657 2007-01-05 Anders Carlsson <acarlsson@apple.com>
18661 Add stubs for new FrameLoaderClient methods.
18664 (WebFrame::createDocumentLoader):
18665 (WebFrame::setMainDocumentError):
18666 (WebFrame::cancelledError):
18667 (WebFrame::cannotShowURLError):
18668 (WebFrame::interruptForPolicyChangeError):
18669 (WebFrame::cannotShowMIMETypeError):
18670 (WebFrame::fileDoesNotExistError):
18671 (WebFrame::shouldFallBack):
18672 (WebFrame::committedLoad):
18675 2007-01-04 Adam Roben <aroben@apple.com>
18679 Fix: <rdar://4763580> Support tabbing between subframes
18680 Fix: <rdar://4763595> Support tabbing out of the document back into the
18683 * Interfaces/IWebUIDelegate.idl: Added declarations of new methods.
18684 * WebBackForwardList.cpp:
18685 (WebBackForwardList::backItem): Changed to return E_FAIL if returning a
18687 (WebBackForwardList::currentItem): Ditto.
18688 (WebBackForwardList::forwardItem): Ditto.
18689 * WebChromeClient.cpp:
18690 (WebChromeClient::canTakeFocus): Added new click method.
18691 (WebChromeClient::takeFocus): Ditto.
18692 (WebChromeClient::focus): Removed unnecessary null check.
18693 (WebChromeClient::unfocus): Ditto.
18694 (WebChromeClient::createWindow): Ditto.
18695 (WebChromeClient::createModalDialog): Ditto.
18696 (WebChromeClient::show): Ditto.
18697 (WebChromeClient::canRunModal): Ditto.
18698 (WebChromeClient::runModal): Ditto.
18699 (WebChromeClient::setToolbarsVisible): Ditto.
18700 (WebChromeClient::toolbarsVisible): Ditto.
18701 (WebChromeClient::setStatusbarVisible): Ditto.
18702 (WebChromeClient::statusbarVisible): Ditto.
18703 (WebChromeClient::setMenubarVisible): Ditto.
18704 (WebChromeClient::menubarVisible): Ditto.
18705 (WebChromeClient::setResizable): Ditto.
18706 (WebChromeClient::addMessageToConsole): Ditto.
18707 * WebChromeClient.h: Added declarations.
18709 2007-01-04 Beth Dakin <bdakin@apple.com>
18713 A few changes needed to turn on WebCore context menus on the Mac.
18715 * WebContextMenuClient.cpp: Name change and have the
18716 former getCustomMenuFromDefaultItems function return the
18717 PlatformMenuDescription since it feels funny to have the client set
18718 the new platform description.
18719 (WebContextMenuClient::getCustomMenuFromDefaultItems): Same.
18720 * WebContextMenuClient.h: Same.
18722 2007-01-02 Brady Eidson <beidson@apple.com>
18726 Temporary Link Stub fix for Back/Forward cache landing in OpenSource
18729 (WebFrame::setDocumentViewFromPageCache):
18730 (WebFrame::updateGlobalHistoryForStandardLoad):
18731 (WebFrame::updateGlobalHistoryForReload):
18732 (WebFrame::shouldGoToHistoryItem):
18733 (WebFrame::saveScrollPositionAndViewStateToItem):
18734 (WebFrame::saveDocumentViewToPageCache):
18735 (WebFrame::canCachePage):
18738 2006-12-26 Geoffrey Garen <ggaren@apple.com>
18742 * WebFrame.cpp: Removed willCloseDocument, which is now gone from
18743 WebCore::FrameLoaderClient.
18744 * WebFrame.h: ditto
18746 2006-12-25 Geoffrey Garen <ggaren@apple.com>
18748 Reviewed by Oliver Hunt.
18750 Removed WebCoreSettings, cleaned up WebCore::Settings.
18753 (WebFrame::initWithWebFrameView): Used core() here, now that WebView::settings()
18757 (WebView::updateWebCoreSettingsFromPreferences): Simplified this code, now
18758 that WebCore handles most of it.
18760 * WebView.h: Removed settings() accessor. Settings belong to the WebCore
18761 page, not the WebView.
18763 2006-12-22 Alice Liu <alice.liu@apple.com>
18767 Fixed <rdar://4766681> and <rdar://4766685> concerning editable link behavior
18769 * Interfaces/IWebPreferences.idl:
18770 * WebHistoryItem.cpp:
18771 (WebHistoryItem::dictionaryRepresentation):
18772 * WebPreferenceKeysPrivate.h:
18773 * WebPreferences.cpp:
18774 (WebPreferences::initialize):
18775 (WebPreferences::editableLinkBehavior):
18776 (WebPreferences::setEditableLinkBehavior):
18777 * WebPreferences.h:
18779 (WebView::updateWebCoreSettingsFromPreferences):
18781 2006-12-20 Adam Roben <aroben@apple.com>
18783 Reviewed by Mark Rowe.
18785 Fix: <rdar://4895655> Status bar doesn't display correct text when
18786 WebView is scrolled.
18789 (WebView::handleMouseEvent): Convert the event coordinates to document
18790 coordinates before calling elementAtPoint.
18792 2006-12-19 Alice Liu <alice.liu@apple.com>
18794 In r11349 I accidentally checked in my local change to the user agent.
18795 Here I am changing it back to what it used to be.
18798 (WebView::userAgentForKURL):
18800 2006-12-19 Alice Liu <alice.liu@apple.com>
18804 <rdar://problem/4796729> add "deleteButton" image resource
18806 * WebKit.vcproj/WebKit.rc:
18807 * WebKit.vcproj/deleteButton.png: Added.
18808 * WebKit.vcproj/deleteButtonPressed.png: Added.
18810 2006-12-19 Anders Carlsson <acarlsson@apple.com>
18812 Reviewed by Adam, Darin.
18814 <rdar://problem/4769830>
18815 logging to JS console.
18817 Add isError argument to addMessageToConsole.
18819 * Interfaces/IWebUIDelegatePrivate.idl:
18820 * WebChromeClient.cpp:
18821 (WebChromeClient::addMessageToConsole):
18823 2006-12-19 Steve Falkenburg <sfalken@apple.com>
18825 Reviewed by Lou, Adele.
18827 Added CLSID for WebPreferences
18829 * Interfaces/WebKit.idl:
18830 * WebKitClassFactory.cpp:
18831 (WebKitClassFactory::CreateInstance):
18833 (DllGetClassObject):
18835 2006-12-18 Ada Chan <adachan@apple.com>
18839 - Added runBeforeUnloadConfirmPanelWithMessage to IWebUIDelegate.
18840 - implemented canRunBeforeUnloadConfirmPanel, runBeforeUnloadConfirmPanel, and closeWindowSoon
18842 - implemented WebView::closeWindow().
18844 * Interfaces/IWebUIDelegate.idl:
18845 * WebChromeClient.cpp:
18846 (WebChromeClient::canRunBeforeUnloadConfirmPanel):
18847 (WebChromeClient::runBeforeUnloadConfirmPanel):
18848 (WebChromeClient::closeWindowSoon):
18849 * WebChromeClient.h:
18852 (WebView::closeWindow):
18855 2006-12-18 Brady Eidson <beidson@apple.com>
18859 Fixes <rdar://4821724> - Wrong site icon displays for sites who don't actually have an icon
18861 We judged whether or not a site has an icon based on whether or not the IconDatabase returned
18863 In the case of sites without an icon, we actually get returned a valid Image with dimensions 0x0.
18864 WebKit on OS X correctly handles this case via NSImage goodness - now we manually handle it on Windows
18866 * WebIconDatabase.cpp:
18867 (WebIconDatabase::iconForURL): Check the width() as an additional case to fallback to the default icon
18869 2006-12-18 Steve Falkenburg <sfalken@apple.com>
18873 Added loadType to IWebFramePrivate.
18875 * Interfaces/IWebFramePrivate.idl: Added loadType
18876 * WebFrame.cpp: Fixed line endings
18877 (WebFrame::loadType): Added
18878 * WebFrame.h: Fixed line endings
18879 * WebKit.vcproj/WebKit.vcproj: Moved WebLocalizableStrings.h to proper folder
18881 2006-12-18 Alice Liu <alice.liu@apple.com>
18885 <rdar://problem/4853363> hook up various deletion-related functions in WebView
18888 (WebView::execCommand):
18889 Removed the case for ForwardDelete, since it shouldn't be handled there
18890 (WebView::deleteSelection):
18895 (WebView::delete_):
18896 Use the Editor's execCommand for these editor-responsible functions
18898 2006-12-18 Kevin McCullough <KMcCullough@apple.com>
18900 Reviewed by Oliver.
18902 - Remove CG header includes in open source files
18906 2006-12-16 Beth Dakin <bdakin@apple.com>
18910 In the process of making enabled/disabled items and item state work
18911 on Boomer, we discovered that we could not get our sub-menus to
18912 work with using notify by position. This switches the Boomer
18913 context menus over to use the more conventional menu command
18914 notification of id. This sends a WM_COMMAND message instead of a
18915 WM_MENUCOMMAND message. We can differentiate the context menu
18916 WM_COMMAND messaged from the other ones because the high word of
18917 wParam is 0 when the message comes from a menu. So now WM_COMMAND
18918 handles the context menu actions.
18920 * Interfaces/IWebUIDelegate.idl: If-def not needed here.
18921 * WebContextMenuClient.cpp:
18922 (WebContextMenuClient::contextMenuItemSelected): Now takes a
18923 pointer to the parentMenu.
18924 * WebContextMenuClient.h:
18926 (WebView::performContextMenuAction):
18929 2006-12-14 Adele Peterson <adele@apple.com>
18935 * WebContextMenuClient.h:
18937 2006-12-14 Ada Chan <adachan@apple.com>
18941 Implemented WebChromeClient::pageRect() to return the bounds of the WebView.
18942 Implemented WebFrame::parentFrame().
18943 Added a temporary implementation of WebDataSource::isLoading().
18945 * WebChromeClient.cpp:
18946 (WebChromeClient::pageRect):
18947 * WebDataSource.cpp:
18948 (WebDataSource::isLoading):
18951 (WebFrame::parentFrame):
18953 (WebView::frameRect):
18956 2006-12-13 Geoffrey Garen <ggaren@apple.com>
18958 Reviewed by Darin Adler, Dave Hyatt.
18960 Fixed <rdar://problem/4840261> Frame::setIsActive not called when frames
18961 are focused/unfocused
18963 Updated WebKit to use new FocusController tracking of the focused frame.
18966 (WebViewWndProc): Fixed a minor bug where we wouldn't fire the blur event
18967 when changing focus to the location bar.
18969 2006-12-12 Anders Carlsson <acarlsson@apple.com>
18972 (WebFrame::loadDataSource):
18973 Update for changes to ResourceHandle.
18975 2006-12-11 Beth Dakin <bdakin@apple.com>
18979 Boomer WebKit support for editing sub-menu actions for WebCore
18982 * Interfaces/IWebUIDelegate.idl: Re-named some of the spelling
18984 * WebContextMenuClient.cpp: New functions for the speech sub-menu.
18985 (WebContextMenuClient::speak):
18986 (WebContextMenuClient::stopSpeaking):
18987 * WebContextMenuClient.h:
18988 * WebEditorClient.cpp: New functions to toggle spelling/grammar
18990 (WebEditorClient::toggleContinuousSpellChecking):
18991 (WebEditorClient::toggleGrammarChecking):
18992 * WebEditorClient.h:
18994 2006-12-11 Alice Liu <alice.liu@apple.com>
18996 Reviewed by ggaren.
18998 Fixed <rdar://problem/4854901> "Copy Link" and "Copy Image Address" context menu items don't work
19000 * Interfaces/IWebView.idl:
19003 * WebContextMenuClient.cpp:
19004 * WebContextMenuClient.h:
19005 Removed copyLinkToClipboard
19011 Trivial cleanup of these
19013 (WebView::copyURL):
19019 2006-12-11 Darin Adler <darin@apple.com>
19023 - http://bugs.webkit.org/show_bug.cgi?id=11794
19024 fix lifetime problems affecting Frame's ownerElement pointer
19028 (WebFrame::initWithWebFrameView): Changed to use HTMLFrameOwnerElement.
19029 (WebFrame::createFrame): Ditto.
19031 2006-12-08 Lou Amadio <lamadio@apple.com>
19034 (WebView::handleMouseEvent):
19035 Route mouse event to the delegate
19036 (WebView::initWithFrame):
19037 Removed CW_USEDEFAULT on the CreateWindow - incorrect to use on a child window.
19039 2006-12-09 Adam Roben <aroben@apple.com>
19041 Reviewed by Darin Adler.
19045 * WebKit.vcproj/WebKit.vcproj: Added WebCore/ForwardingHeaders to the
19047 * WebView.cpp: Updated to reflect the newly-flattend JSCore headers.
19049 2006-12-08 Kevin McCullough <kmccullough@apple.com>
19053 - createWebViewWithRequest now increases the ref count for the new window it returns.
19054 This is standard practice for COM, and fixes a crash.
19057 (WebFrame::openURL):
19059 2006-12-07 Adam Roben <aroben@apple.com>
19061 Reviewed by Anders.
19063 Two small fixes for bugs discovered while implementing the Snippet
19067 (registerWebViewWindowClass): Set the WebView's default cursor to be
19069 (WebView::uiDelegate): Return E_FAIL if there's no UI delegate.
19071 2006-12-07 Steve Falkenburg <sfalken@apple.com>
19075 Add LPCTSTR_UI_STRING and LPCTSTR_UI_STRING_KEY.
19076 Added caching to prevent re-converting strings unnecessarily.
19078 * WebKit.vcproj/WebKit.def: Export LPCTSTR localization function
19079 * WebKit.vcproj/WebKit_debug.def: Export LPCTSTR localization function
19080 * WebLocalizableStrings.cpp:
19081 (createWebKitBundle): Added using namespace so we don't need to qualify String
19082 (WebLocalizedLPCTSTR): Added
19083 * WebLocalizableStrings.h: Added LPCTSTR localization support
19085 2006-12-07 Beth Dakin <bdakin@apple.com>
19089 Make some parameters const and const references.
19091 * WebContextMenuClient.cpp:
19092 (WebContextMenuClient::contextMenuItemSelected):
19093 (WebContextMenuClient::copyLinkToClipboard):
19094 (WebContextMenuClient::downloadURL):
19095 (WebContextMenuClient::copyImageToClipboard):
19096 * WebContextMenuClient.h:
19098 2006-12-06 Anders Carlsson <acarlsson@apple.com>
19103 (WebFrame::loadDataSource):
19104 (WebFrame::didReceiveData):
19105 (WebFrame::didFail):
19108 2006-12-06 Steve Falkenburg <sfalken@apple.com>
19110 Rubber-stamped by Adam.
19112 Don't copy WebKit{_debug}.dll back to AppleInternal/bin (SDK)
19114 * WebKit.vcproj/WebKit.vcproj:
19116 2006-12-04 Steve Falkenburg <sfalken@apple.com>
19118 Reviewed by Darin Adler.
19120 Checkpoint of <rdar://4601521>
19121 Use CoreFoundation bundles w/ Localizable.strings for localization.
19123 We're using the WebKit extract-localizable-strings script to generate these files,
19124 and will use a cross-platform merged string file when we ship.
19126 * English.lproj/Localizable.strings: Added.
19127 * English.lproj/StringsNotToBeLocalized.txt: Added.
19128 * WebKit.vcproj/WebKit.def: Export WebLocalizableStrings routines
19129 * WebKit.vcproj/WebKit.vcproj: define FRAMEWORK_NAME=WebKit, added WebLocalizableStings, copy English.lproj to bin/en.lproj to get localized strings
19130 * WebKit.vcproj/WebKit_debug.def: Export WebLocalizableStrings routines
19131 * WebLocalizableStrings.cpp: Added.
19132 * WebLocalizableStrings.h: Added.
19134 2006-12-04 Steve Falkenburg <sfalken@apple.com>
19136 Checkpoint of <rdar://4601521>
19137 Use CoreFoundation bundles w/ Localizable.strings for localization.
19139 We're using the WebKit extract-localizable-strings script to generate these files,
19140 and will use a cross-platform merged string file when we ship.
19142 * WebLocalizableStrings.h: Added.
19144 2006-12-04 Anders Carlsson <acarlsson@apple.com>
19146 Reviewed by Darin, Geoff.
19148 Don't use ResourceHandle::kill().
19151 (WebFrame::stopMainResourceLoad):
19153 2006-12-04 Alice Liu <alice.liu@apple.com>
19155 Reviewed by Oliver.
19157 Fixed <rdar://problem/4822632> clicks don't work if you move mouse immediately
19158 This bug was fixed by implementing EventHandler::handleDrag.
19161 (WebView::WebView):
19162 Added a data member
19163 (WebView::handleMouseEvent):
19164 Create the mouse event telling it it activated the webview
19166 Call setMouseActivated upon receiving the relevent message
19168 (WebView::setMouseActivated):
19169 Added this function so that the webview knows if it
19170 was brought to the foreground by a mouse event
19172 2006-12-02 Steve Falkenburg <sfalken@apple.com>
19176 <rdar://4853816> CFNetwork crash on Vista loading any SSL page
19178 Change link order so secur32.dll is initialized prior to its
19179 indirect use in code called by CoreGraphics DllMain.
19181 To help avoid similar problems in the future, I reordered the
19182 imported DLLs by level/dependency so things like CoreFoundation
19183 is listed prior to CFNetwork and CoreGraphics.
19185 * WebKit.vcproj/WebKit.vcproj:
19187 2006-12-01 Beth Dakin <bdakin@apple.com>
19191 Changes to support sub-menus for WebCore ContextMenus.
19193 * Interfaces/IWebUIDelegate.idl: New tags.
19194 * WebContextMenuClient.cpp:
19195 (WebContextMenuClient::contextMenuItemSelected): ContextMenu::menu
19196 () is now called parentMenu()
19198 2006-12-01 Steve Falkenburg <sfalken@apple.com>
19200 Fix post-build step.
19201 Need to copy CoreFoundation resources.
19202 Bundles aren't config specific - removed ConfigSuffix from copy commands for resources.
19204 * WebKit.vcproj/WebKit.vcproj:
19206 2006-11-30 Steve Falkenburg <sfalken@apple.com>
19209 Link against new WTF.lib
19211 * WebKit.vcproj/WebKit.vcproj:
19213 2006-11-30 Geoffrey Garen <ggaren@apple.com>
19215 Reviewed by Beth Dakin.
19217 Fixed <rdar://problem/4844838> Whole document leak seen
19218 running HTML iBench
19220 Copied *very nice* (NOT!) WebKit Mac idiom of calling
19221 FrameLoader::detachFromParent when closing the WebView.
19222 We need to do this so event listeners that retain the document
19223 get destroyed, and so the unload event gets dispatched.
19225 This is pretty silly. Instead, the document/frame/interpreter should
19226 be responsible for cleaning up after itself.
19231 2006-11-30 Steve Falkenburg <sfalken@apple.com>
19233 build WebKit.lib to proper directory
19235 * WebKit.vcproj/WebKit.vcproj:
19237 2006-11-29 Steve Falkenburg <sfalken@apple.com>
19239 Reviewed by Anders.
19241 Minor fix to my recent COM registration/Vista fix.
19242 Ignore errors during registration. Vista locks off more of
19243 HKCU\Software\Classes than I thought.
19247 2006-11-29 Adam Roben <aroben@apple.com>
19251 Give archive builds a separate set of CLSIDs so that they may be
19252 installed/run alongside B&I builds and development builds.
19254 * Interfaces/WebKit.idl:
19255 * WebKit.vcproj/Interfaces.vcproj:
19256 * WebKit.vcproj/WebKit.vcproj: Don't register WebKit.dll if
19257 ARCHIVE_BUILD or BuildBot is defined.
19259 2006-11-28 Ada Chan <adachan@apple.com>
19263 <rdar://4850020> Clear cache in WebKit
19264 - Added the IWebCache interface, which contains API to clear and
19266 - Added implementation of WebCache which implements IWebCache.
19267 - the page cache related calls added in WebHistoryItem are
19268 just stubs right now because we haven't implemented page cache yet.
19270 * Interfaces/IWebCache.idl: Added.
19271 * Interfaces/IWebHistoryItemPrivate.idl:
19272 * Interfaces/WebKit.idl:
19273 * WebBackForwardList.cpp:
19274 (WebBackForwardList::WebBackForwardList):
19275 (WebBackForwardList::clearPageCache):
19276 (WebBackForwardList::setPageCacheSize):
19277 (WebBackForwardList::pageCacheSize):
19278 * WebBackForwardList.h:
19279 * WebCache.cpp: Added.
19280 (WebCache::WebCache):
19281 (WebCache::~WebCache):
19282 (WebCache::createInstance):
19283 (WebCache::QueryInterface):
19284 (WebCache::AddRef):
19285 (WebCache::Release):
19286 (WebCache::statistics):
19288 (WebCache::setDisabled):
19289 * WebCache.h: Added.
19291 (WebSystemMainMemory):
19293 * WebHistoryItem.cpp:
19294 (WebHistoryItem::releaseAllPendingPageCaches):
19295 (WebHistoryItem::hasPageCache):
19296 (WebHistoryItem::setHasPageCache):
19297 * WebHistoryItem.h:
19298 * WebKit.vcproj/Interfaces.vcproj:
19299 * WebKit.vcproj/WebKit.vcproj:
19300 * WebKit.vcproj/WebKitGUID.vcproj:
19301 * WebKitClassFactory.cpp:
19302 (WebKitClassFactory::CreateInstance):
19304 (DllGetClassObject):
19306 2006-11-28 Geoffrey Garen <ggaren@apple.com>
19308 Reviewed by Beth Dakin.
19310 Fixed <rdar://problem/4844855> Should clarify when to create clients in
19311 the WebCore client API
19313 All clients must now be supplied as constructor arguments. This clarifies
19314 when you need to create clients, and also guarantees that objects can't
19315 (for the most part) be in a clientless state.
19317 Layout tests pass. No leaks reported.
19320 (WebFrame::initWithWebFrameView):
19322 2006-11-28 Steve Falkenburg <sfalken@apple.com>
19324 Make COM registration fall back to per-user for Vista LUA compatibility.
19326 Only affects our development builds since the installer will set these
19331 2006-11-28 Adam Roben <aroben@apple.com>
19333 Reviewed by Ada and Beth.
19335 Fix: <rdar://problem/4601523> Contextual Menus (in web content)
19337 * Interfaces/IWebUIDelegate.idl: Added a new delegate method to be
19338 called when the user clicks on one of the application's context menu
19341 Client updates from WebCore.
19343 * WebContextMenuClient.cpp:
19344 (WebContextMenuClient::addCustomContextMenuItems): Updated for method
19346 (WebContextMenuClient::contextMenuItemSelected): New client method that
19347 calls the UI delegate.
19348 * WebContextMenuClient.h: Updated to match ContextMenuClient.h
19350 Windows context menu event handling.
19353 (WebView::handleContextMenuEvent): New method to send a context menu
19354 event down into WebCore.
19355 (WebView::performContextMenuAction): New method to tell the
19356 ContextMenuController that the user clicked on a context menu item.
19357 (WebView::handleMouseEvent): Return a bool to signify whether the event
19359 (WebView::mouseWheel): Ditto.
19360 (WebViewWndProc): Handle WM_CONTEXTMENU and WM_MENUCOMMAND messages,
19361 and pass unhandled events to DefWindowProc.
19362 * WebView.h: New declarations.
19364 Small (but necessary) fixes.
19366 * WebElementPropertyBag.cpp:
19367 (isEqual): Fixed to deal with LPCWSTRs, which is what was being passed
19369 (WebElementPropertyBag::Read): Use FAILED() to check the return value
19371 * WebElementPropertyBag.h: Added missing #include.
19373 2006-11-28 Alice Liu <alice.liu@apple.com>
19375 Reviewed by Ada, Adam, and Lou.
19377 * WebEditorClient.h:
19378 * WebEditorClient.cpp:
19379 These 3 functions are, for now, hard-coded to return true, letting paste work.
19380 Commented out previous unused code because the app would crash if the editingDelegate was called
19381 (WebEditorClient::shouldDeleteRange):
19382 (WebEditorClient::shouldInsertNode):
19383 (WebEditorClient::shouldInsertText):
19385 (WebEditorClient::smartInsertDeleteEnabled):
19388 moved where cut/copy/paste was handled from
19389 (WebView::execCommand):
19392 call the editor's version of these 4:
19396 (WebView::delete_):
19398 2006-11-28 Geoffrey Garen <ggaren@apple.com>
19402 Fixed <rdar://problem/4844848> REGRESSION: extra cross-library ref/deref
19403 calls cause .5% PLT regression.
19405 Changed ref/deref calls to a single 'xxxDestroyed' call. Moved EditorClient
19406 from the Frame to the Page, since it's only responsible for
19407 Webview-level delegate calls.
19409 I don't really love this design, but it fixes the regression and allows
19410 a single WebKit object to implement multiple client interfaces.
19414 2006-11-27 Beth Dakin <bdakin@apple.com>
19418 Stub for canHandleRequest() to remove FIXME from ContextMenu.cpp
19421 (WebFrame::canHandleRequest):
19424 2006-11-27 Anders Carlsson <acarlsson@apple.com>
19428 <rdar://problem/4814582>
19429 JavaScript window.resizeTo doesn't work
19431 * Interfaces/IWebUIDelegate.idl:
19434 * WebChromeClient.cpp:
19435 (WebChromeClient::setWindowRect):
19436 (WebChromeClient::windowRect):
19437 Call the COM methods.
19439 2006-11-26 Anders Carlsson <acarlsson@apple.com>
19443 Add "addMessageToConsole" method to the private ui delegate, and have the client call it.
19445 * Interfaces/IWebUIDelegatePrivate.idl:
19447 (WebFrame::addMessageToConsole):
19450 2006-11-27 Brady Eidson <beidson@apple.com>
19454 Added removeAllIcons() for cache clearing
19456 * Interfaces/IWebIconDatabase.idl:
19457 * WebIconDatabase.cpp:
19458 (WebIconDatabase::removeAllIcons): Added
19459 * WebIconDatabase.h:
19461 2006-11-21 Anders Carlsson <acarlsson@apple.com>
19465 Various fixes for getting file upload working.
19468 (WebFrame::loadDataSource):
19469 Set the header fields on the new request.
19471 (WebFrame::submitForm):
19473 Update submitForm, it now takes a FrameLoadRequest.
19475 * WebMutableURLRequest.cpp:
19476 (WebMutableURLRequest::addHTTPHeaderFields):
19477 (WebMutableURLRequest::httpHeaderFields):
19478 * WebMutableURLRequest.h:
19479 New functions for getting and setting HTTP headers.
19481 2006-11-20 Anders Carlsson <acarlsson@apple.com>
19485 * WebEditorClient.cpp:
19486 (WebEditorClient::shouldInsertNode):
19487 (WebEditorClient::shouldInsertText):
19488 * WebEditorClient.h:
19490 2006-11-19 Beth Dakin <bdakin@apple.com>
19494 * WebContextMenuClient.cpp: Stubs for the currently client-
19495 dependent menu actions.
19496 (WebContextMenuClient::copyLinkToClipboard):
19497 (WebContextMenuClient::downloadURL):
19498 (WebContextMenuClient::copyImageToClipboard):
19499 (WebContextMenuClient::lookUpInDictionary):
19500 * WebContextMenuClient.h:
19501 * WebEditorClient.cpp:
19502 (WebEditorClient::shouldInsertText): Remove comment markers since
19503 this is implemented now on the Mac.
19504 * WebEditorClient.h:
19506 2006-11-17 Anders Carlsson <acarlsson@apple.com>
19510 Make sure that all .cpp files and none of the headers include config.h.
19512 * MemoryStream.cpp:
19513 * WebBackForwardList.cpp:
19514 * WebBackForwardList.h:
19515 * WebElementPropertyBag.cpp:
19516 * WebHTMLRepresentation.cpp:
19517 * WebKitClassFactory.cpp:
19519 * WebMutableURLRequest.cpp:
19520 * WebMutableURLRequest.h:
19521 * WebURLResponse.cpp:
19522 * WebURLResponse.h:
19524 2006-11-18 Darin Adler <darin@apple.com>
19528 - fix leak of Document ref count seen in updateCounterpartURLForRSS
19530 * WebScriptObject.h: Changed destructor to be virtual. Without this,
19531 when the COM object was released we wouldn't release the underlying
19534 2006-11-18 Darin Adler <darin@apple.com>
19538 - fix leak of WebView when you close a tab or window
19540 * Interfaces/IWebView.idl: Added a close function, like the close method
19541 we added to WebView on the Macintosh side.
19543 * WebView.h: Added close function.
19544 * WebView.cpp: (WebView::close): First cut at implementation of close.
19546 2006-11-16 Adam Roben <aroben@apple.com>
19548 Reviewed by Steve, Ada.
19550 Added new WebMenuItemBaseApplicationTag to the WebMenuItemTag enum to
19551 keep WebKit apps from conflicting with WebKit context menu identifiers.
19553 * Interfaces/IWebUIDelegate.idl:
19555 2006-11-15 Adam Roben <aroben@apple.com>
19557 Reviewed by Anders.
19559 Added new WebContextMenuClient class, and moved context menu-related
19560 code there from WebChromeClient.
19562 * WebChromeClient.cpp:
19563 (WebChromeClient::setResizable):
19564 * WebChromeClient.h:
19565 * WebContextMenuClient.cpp: Added.
19566 (WebContextMenuClient::create):
19567 (WebContextMenuClient::WebContextMenuClient):
19568 (WebContextMenuClient::ref):
19569 (WebContextMenuClient::deref):
19570 (WebContextMenuClient::addCustomContextMenuItems):
19571 * WebContextMenuClient.h: Added.
19572 * WebKit.vcproj/WebKit.vcproj: Added new files.
19574 (WebView::initWithFrame):
19576 2006-11-15 Beth Dakin <bdakin@apple.com>
19577 & Adam Roben <aroben@apple.com>
19579 Reviewed by Adam and Beth.
19581 Internal side of r17796.
19583 * WebChromeClient.cpp:
19584 (WebChromeClient::addCustomContextMenuItems):
19585 * WebChromeClient.h:
19587 2006-11-15 Ada Chan <adachan@apple.com>
19591 Fixed a bad free in DllRegisterServer.
19594 (DllRegisterServer):
19596 2006-11-15 Steve Falkenburg <sfalken@apple.com>
19598 Take another pass at fixing COM registration
19603 2006-11-15 Anders Carlsson <acarlsson@apple.com>
19605 Reviewed by Darin Adler.
19607 Add an undo manager to the editor client. Make it possible for applications to invoke undo/redo.
19609 * Interfaces/IWebView.idl:
19610 * WebEditorClient.cpp:
19611 (WebUndoManager::WebUndoManager):
19612 (WebUndoManager::~WebUndoManager):
19613 (WebUndoManager::clearCommands):
19614 (WebUndoManager::registerCommand):
19615 (WebUndoManager::undo):
19616 (WebUndoManager::redo):
19617 (WebUndoManager::canUndo):
19618 (WebUndoManager::canRedo):
19619 (WebUndoManager::undoOrRedo):
19620 (WebEditorClient::WebEditorClient):
19621 (WebEditorUndoCommand::WebEditorUndoCommand):
19622 (WebEditorUndoCommand::execute):
19623 (WebEditorClient::registerCommandForUndo):
19624 (WebEditorClient::registerCommandForRedo):
19625 (WebEditorClient::clearUndoRedoOperations):
19626 (WebEditorClient::canUndo):
19627 (WebEditorClient::canRedo):
19628 (WebEditorClient::undo):
19629 (WebEditorClient::redo):
19630 * WebEditorClient.h:
19632 (WebView::execCommand):
19634 2006-11-15 Steve Falkenburg <sfalken@apple.com>
19636 Fix bug in my last check-in preventing proper COM registration
19639 (DllRegisterServer):
19641 2006-11-15 Steve Falkenburg <sfalken@apple.com>
19645 Use separate CLSIDs for buildbot builds.
19647 This allows independent installs of an official build (for everyday web browsing/dogfooding)
19648 alongside a developer build (to write code, debug in Visual Studio).
19650 * Interfaces/WebKit.idl: Add a second set of CLSIDs for builbot-based builds.
19651 * WebKit.vcproj/Interfaces.vcproj: Add a preprocessor define __BUILDBOT__ set to 1 for official builds, 0 otherwise (use #if to check).
19652 * WebKitDLL.cpp: Convert CLSIDs to strings via code instead of copying string literals from elsewhere.
19653 (substituteGUID): Added.
19654 (DllUnregisterServer): Substitute CLSIDs into reg keys.
19655 (DllRegisterServer): Substitute CLSIDs into reg keys.
19657 2006-11-15 Adam Roben <aroben@apple.com>
19659 It's too early in the morning to be fixing the build.
19661 * WebEditorClient.cpp:
19662 (WebEditorClient::selectWordBeforeMenuEvent):
19663 (WebEditorClient::isEditable):
19665 2006-11-15 Adam Roben <aroben@apple.com>
19669 * WebEditorClient.cpp:
19670 (selectWordBeforeMenuEvent):
19672 * WebEditorClient.h:
19674 2006-11-14 Darin Adler <darin@apple.com>
19676 Reviewed by Anders.
19678 - update for creation of EventHandler
19681 (WebView::handleMouseEvent): Call methods now moved to EventHandler.
19682 (WebView::mouseWheel): Ditto.
19683 (WebView::elementAtPoint): Ditto.
19685 2006-11-14 Anders Carlsson <acarlsson@apple.com>
19689 * WebEditorClient.cpp:
19690 (WebEditorClient::registerCommandForUndo):
19691 (WebEditorClient::registerCommandForRedo):
19692 (WebEditorClient::clearUndoRedoOperations):
19693 (WebEditorClient::canUndo):
19694 (WebEditorClient::canRedo):
19695 (WebEditorClient::undo):
19696 (WebEditorClient::redo):
19697 * WebEditorClient.h:
19699 2006-11-14 Brady Eidson <beidson@apple.com>
19703 Additional tweek to the FormData change
19706 (WebFrame::loadDataSource):
19708 2006-11-14 Adam Roben <aroben@apple.com>
19712 Replace all instances of DebugBreak() with ASSERT_NOT_REACHED() so that
19713 it will be compiled out for Release builds.
19715 * DOMCSSClasses.cpp:
19716 * DOMCoreClasses.cpp:
19717 * DOMHTMLClasses.cpp:
19718 * WebBackForwardList.cpp:
19719 * WebDataSource.cpp:
19721 * WebHTMLRepresentation.cpp:
19722 * WebHistoryItem.cpp:
19723 * WebIconDatabase.cpp:
19724 * WebMutableURLRequest.cpp:
19725 * WebNotification.cpp:
19726 * WebPreferences.cpp:
19727 * WebScriptObject.cpp:
19730 2006-11-13 Brady Eidson <beidson@apple.com>
19732 Rubberstamped by Maciej
19734 Windows half of 17755 - Make FormData shared
19737 (WebFrame::loadDataSource):
19738 (WebFrame::submitForm):
19740 * WebMutableURLRequest.cpp:
19741 (WebMutableURLRequest::setFormData):
19742 (WebMutableURLRequest::formData):
19743 * WebMutableURLRequest.h:
19745 2006-11-13 Anders Carlsson <acarlsson@apple.com>
19749 Various editing fixes.
19752 (WebView::execCommand):
19753 Use the focused frame, not the main frame.
19755 (WebView::focusedTarget):
19758 (WebView::keyDown):
19759 Return false for unknown keydown messages when not in editing mode.
19761 2006-11-13 Steve Falkenburg <sfalken@apple.com>
19763 Reviewed by Anders, Lou.
19765 Bump version for submit
19766 Copy CharacterSets directory for CF
19768 * WebKit.vcproj/VERSION: Bump version
19769 * WebKit.vcproj/WebKit.vcproj: Copy CharacterSets
19771 2006-11-13 Geoffrey Garen <ggaren@apple.com>
19773 Reviewed by Darin Adler, Anders Carlsson.
19775 More window.open work.
19777 - Hooked up all of WebChromeClient that the App currently supports.
19779 * WebChromeClient.cpp:
19780 (WebChromeClient::scaleFactor):
19781 (WebChromeClient::focus):
19782 (WebChromeClient::unfocus):
19783 (WebChromeClient::createModalDialog):
19784 (WebChromeClient::show):
19785 (WebChromeClient::canRunModal):
19786 (WebChromeClient::runModal):
19787 (WebChromeClient::setToolbarsVisible):
19788 (WebChromeClient::toolbarsVisible):
19789 (WebChromeClient::setStatusbarVisible):
19790 (WebChromeClient::statusbarVisible):
19791 (WebChromeClient::setMenubarVisible):
19792 (WebChromeClient::menubarVisible):
19793 (WebChromeClient::setResizable):
19795 2006-11-13 Adam Roben <aroben@apple.com>
19797 Fix line-endings and svn properties.
19799 * WebChromeClient.cpp:
19800 * WebChromeClient.h:
19802 2006-11-13 Adam Roben <aroben@apple.com>
19806 * MarshallingHelpers.cpp:
19807 * WebChromeClient.cpp:
19808 * WebChromeClient.h:
19809 * WebEditorClient.h:
19810 * WebMutableURLRequest.h:
19812 2006-11-12 Geoffrey Garen <ggaren@apple.com>
19814 * WebChromeClient.cpp: Fixed up #include.
19816 2006-11-12 Geoffrey Garen <ggaren@apple.com>
19818 Reviewed by Steve Falkenberg.
19820 Implemented window.open. Rough around the edges right now.
19822 - Converted WebMutableURLRequest to use a ResourceRequest as its
19823 backing store, to avoid yet another way of representing this data.
19824 - Changed WebMutableURLRequests's timeoutInterval to double, to match
19825 ResourceRequest and NSURLRequest.
19826 - Added BSTRToKURL and KURLToBSTR helper functions.
19827 - Added page accessor on WebView, and core(), for converting from WebView
19830 * MarshallingHelpers.h: Removed unnecessary variable names from declarations.
19832 2006-11-12 Geoffrey Garen <ggaren@apple.com>
19834 Reviewed by Steve Falkenberg.
19836 Fixed up work-arounds to MSVC warning silliness.
19838 Replaced in-place disabling of "conditional expression is constant" warning
19839 with project-wide setting. (We use do { } while(0); for macro scoping.)
19841 Replaced in-place and project-wide disabling of "xxx was declared deprecated"
19842 warning with project-wide setting only to disable Microsoft's made-up deprecation
19843 warnings related to std:: functions.
19845 * WebChromeClient.cpp:
19846 (WebChromeClient::setResizable):
19847 * WebKit.vcproj/WebKit.vcproj:
19850 2006-11-11 Geoffrey Garen <ggaren@apple.com>
19852 Reviewed by Maciej Stachowiak.
19854 - Fixed <rdar://problem/4831461> Crash in FrameLoader::~FrameLoader when navigating away from ebay.com
19856 - Changed WebKit clients to match new virtual ref/deref scheme in WebCore.
19858 - Removed WebEditorClient from the WebCore namespace because it's a
19859 WebKit class, not a WebCore class.
19861 - Standardized some header #includes to match Mac:
19863 - config.h, WebKitDLL.h, and class headers go together at the top
19864 - everything else comes after a line break
19866 2006-11-11 Anders Carlsson <acarlsson@apple.com>
19868 Reviewed by Oliver.
19870 Clean up the event handling code.
19872 * WebEditorClient.cpp:
19873 (WebEditorClient::shouldBeginEditing):
19874 (WebEditorClient::shouldEndEditing):
19875 (WebEditorClient::shouldApplyStyle):
19876 Change these to return true. Eventually they will call the editing delegate.
19879 (WebView::execCommand):
19880 Update to call the editor's execCommand.
19883 New function that forwards the event to FrameWin.
19885 (editCommandForKey):
19886 New function that given a key returns an edit command from a table. Eventually this table
19887 should be moved into WebCore.
19889 (WebView::handleEditingKeyboardEvent):
19890 New function that handles editing events.
19892 (WebView::keyDown):
19893 If the frame is editable, call handleEditingKeyboardEvent.
19898 2006-11-11 Adam Roben <aroben@apple.com>
19902 Update WebCore #includes to use a flat directory structure.
19904 * DOMCSSClasses.cpp:
19906 * DOMCoreClasses.cpp:
19907 * DOMEventsClasses.cpp:
19908 * DOMHTMLClasses.cpp:
19909 * MarshallingHelpers.cpp:
19910 * WebChromeClient.cpp:
19911 * WebChromeClient.h:
19912 * WebDataSource.cpp:
19913 * WebEditorClient.cpp:
19914 * WebEditorClient.h:
19915 * WebElementPropertyBag.cpp:
19918 * WebHTMLRepresentation.cpp:
19920 * WebIconDatabase.cpp:
19921 * WebIconDatabase.h:
19922 * WebKit.vcproj/WebKit.vcproj:
19924 * WebMutableURLRequest.cpp:
19925 * WebNotificationCenter.cpp:
19926 * WebPreferences.cpp:
19927 * WebURLResponse.cpp:
19928 * WebURLResponse.h:
19932 2006-11-10 Adam Roben <aroben@apple.com>
19936 Archive builds should still copy SDK .dlls into $WebKitOutputDir.
19938 * WebKit.vcproj/WebKit.vcproj:
19940 2006-11-10 Brady Eidson <beidson@apple.com>
19942 Enthousiastically review by Beth (with exclamation marks and everything!!!1!!one!)
19944 No need for WebIconDatabase to keep its own reference to the
19945 WebCore::IconDatabase
19947 * WebIconDatabase.cpp:
19948 (WebIconDatabase::WebIconDatabase):
19949 (WebIconDatabase::init):
19950 (WebIconDatabase::iconForURL):
19951 (WebIconDatabase::retainIconForURL):
19952 (WebIconDatabase::releaseIconForURL):
19953 * WebIconDatabase.h:
19955 2006-11-10 Steve Falkenburg <sfalken@apple.com>
19957 Bump version number for submission
19959 * WebKit.vcproj/VERSION:
19961 2006-11-10 Brady Eidson <beidson@apple.com>
19965 Keep windows build from breaking
19968 (WebFrame::dispatchDidReceiveIcon):
19971 2006-11-10 Oliver Hunt <oliver@apple.com>
19975 sprintf -> format (from Maciej's earlier change to WebCore)
19979 (WebView::userAgentForKURL):
19981 2006-11-09 Steve Falkenburg <sfalken@apple.com>
19985 Copy resources for CFNetwork (needed for next SDK)
19987 * WebKit.vcproj/WebKit.vcproj:
19989 2006-11-09 Oliver Hunt <oliver@apple.com>
19991 Reviewed by Maciej.
19993 Fix crash on unknown protocol
19996 (WebFrame::didFailWithError):
19998 2006-11-09 Lou Amadio <lamadio@apple.com>
20001 Correct the broken search implementations based on original webkit
20005 (WebView::searchFor):
20006 (WebView::generateSelectionImage):
20007 (WebView::selectionImageRect):
20009 2006-11-09 Adam Roben <aroben@apple.com>
20013 Put the OpenSource revision in the WebKit.dll version info.
20015 * WebKit.vcproj/WebKit.vcproj: touch WebKit.rc before building to force
20017 * WebKit.vcproj/auto-version.sh: Get the OpenSource revision and put it in autoversion.h.
20019 2006-11-09 Adam Roben <aroben@apple.com>
20023 * WebEditorClient.cpp:
20025 2006-11-09 Oliver Hunt <oliver@apple.com>
20027 Reviewed by Anders.
20031 * WebEditorClient.cpp:
20032 (WebEditorClient::respondToChangedContents):
20033 * WebEditorClient.h:
20035 2006-11-08 Adam Roben <aroben@apple.com>
20039 Make the same change here as made in r11013.
20041 * WebKit.vcproj/auto-version.sh:
20043 2006-11-08 Maciej Stachowiak <mjs@apple.com>
20047 - added ResourceError class and didFailWithError client method
20050 (WebFrame::didFinishLoading):
20051 (WebFrame::didFailWithError):
20054 2006-11-08 Adam Roben <aroben@apple.com>
20058 * WebEditorClient.cpp: Added stubs for new methods from EditorClient.h.
20059 (WebEditorClient::shouldBeginEditing):
20060 (WebEditorClient::shouldEndEditing):
20061 (WebEditorClient::didBeginEditing):
20062 (WebEditorClient::didEndEditing):
20063 * WebEditorClient.h: Added new methods from EditorClient.h and cleaned
20064 up placement of *s.
20066 2006-11-08 Beth Dakin <bdakin@apple.com>
20070 Add clause for new WebElementIsContentEditableKey to the Read
20073 * Interfaces/IWebView.idl:
20074 * WebElementPropertyBag.cpp:
20075 (WebElementPropertyBag::Read):
20077 2006-11-07 Ada Chan <adachan@apple.com>
20081 Added a new API in IWebFramePrivate called firstLayoutDone that returns whether the frame has done its first layout.
20082 Implement that API in WebFrame.
20084 * Interfaces/IWebFramePrivate.idl:
20086 (WebFrame::WebFrame):
20087 (WebFrame::firstLayoutDone):
20088 (WebFrame::loadDataSource):
20089 (WebFrame::didFirstLayout):
20092 2006-11-07 Lou Amadio <lamadio@apple.com>
20094 Reviewed by sfalken, adam
20095 Implemented Find banner, overlay, bouncy.
20096 plummed some find, search and marking in WebCore & WebKit
20097 Added SDC - a DC wrapper with knowledge of CG
20098 Added button element
20099 Ported AppKit's oval button drawing code
20100 Abstracted the high performance animations
20102 * Interfaces/IWebUIDelegatePrivate.idl:
20103 * Interfaces/IWebView.idl:
20106 (WebView::scrollBackingStore):
20108 (WebView::searchFor):
20109 (WebView::markAllMatchesForText):
20110 (WebView::unmarkAllTextMatches):
20111 (WebView::rectsForTextMatches):
20112 (WebView::generateSelectionImage):
20113 (WebView::selectionImageRect):
20114 (EnumTextMatches::EnumTextMatches):
20115 (EnumTextMatches::QueryInterface):
20116 (EnumTextMatches::AddRef):
20117 (EnumTextMatches::Release):
20118 (EnumTextMatches::Next):
20119 (EnumTextMatches::Skip):
20120 (EnumTextMatches::Reset):
20121 (EnumTextMatches::Clone):
20122 (createMatchEnumerator):
20125 2006-11-08 Anders Carlsson <acarlsson@apple.com>
20129 More fiddling with midl to get our JSC API types recognized.
20131 * Interfaces/IWebFrameLoadDelegate.idl:
20133 2006-11-07 Geoffrey Garen <ggaren@apple.com>
20135 Reviewed by Anders.
20137 Removed ScreenClient. It was highly unpopular, risking my midterm re-election.
20139 None of Screen's responsibilities require up-calls to WebKit or delegates,
20140 so WebCore can handle it all.
20142 2006-11-07 Darin Adler <darin@apple.com>
20146 - moved loader code from Frame/FrameMac to FrameLoader
20149 (WebFrame::loadData):
20150 (WebFrame::loadHTMLString):
20151 (WebFrame::stopLoading):
20152 (WebFrame::reload):
20153 (WebFrame::initWithWebFrameView):
20154 (WebFrame::loadDataSource):
20155 (WebFrame::didReceiveResponse):
20156 (WebFrame::didReceiveData):
20157 (WebFrame::didFinishLoading):
20158 (WebFrame::setTitle):
20159 (WebFrame::dispatchDidHandleOnloadEvents):
20160 (WebFrame::detachFrameLoader):
20161 (WebFrame::hasWebView):
20162 (WebFrame::hasFrameView):
20163 (WebFrame::hasBackForwardList):
20164 (WebFrame::resetBackForwardList):
20165 (WebFrame::provisionalItemIsTarget):
20166 (WebFrame::loadProvisionalItemFromPageCache):
20167 (WebFrame::invalidateCurrentItemPageCache):
20168 (WebFrame::privateBrowsingEnabled):
20169 (WebFrame::makeDocumentView):
20170 (WebFrame::makeRepresentation):
20171 (WebFrame::forceLayout):
20172 (WebFrame::forceLayoutForNonHTML):
20173 (WebFrame::updateHistoryForCommit):
20174 (WebFrame::updateHistoryForBackForwardNavigation):
20175 (WebFrame::updateHistoryForReload):
20176 (WebFrame::updateHistoryForStandardLoad):
20177 (WebFrame::updateHistoryForInternalLoad):
20178 (WebFrame::updateHistoryAfterClientRedirect):
20179 (WebFrame::setCopiesOnScroll):
20180 (WebFrame::tokenForLoadErrorReset):
20181 (WebFrame::resetAfterLoadError):
20182 (WebFrame::doNotResetAfterLoadError):
20183 (WebFrame::willCloseDocument):
20184 (WebFrame::detachedFromParent1):
20185 (WebFrame::detachedFromParent2):
20186 (WebFrame::detachedFromParent3):
20187 (WebFrame::detachedFromParent4):
20188 (WebFrame::loadedFromPageCache):
20189 (WebFrame::dispatchDidReceiveServerRedirectForProvisionalLoad):
20190 (WebFrame::dispatchDidCancelClientRedirect):
20191 (WebFrame::dispatchWillPerformClientRedirect):
20192 (WebFrame::dispatchDidChangeLocationWithinPage):
20193 (WebFrame::dispatchWillClose):
20194 (WebFrame::dispatchDidStartProvisionalLoad):
20195 (WebFrame::dispatchDidReceiveTitle):
20196 (WebFrame::dispatchDidCommitLoad):
20197 (WebFrame::dispatchDidFinishLoad):
20198 (WebFrame::dispatchDidFirstLayout):
20199 (WebFrame::dispatchShow):
20200 (WebFrame::cancelPolicyCheck):
20201 (WebFrame::dispatchWillSubmitForm):
20202 (WebFrame::dispatchDidLoadMainResource):
20203 (WebFrame::clearLoadingFromPageCache):
20204 (WebFrame::isLoadingFromPageCache):
20205 (WebFrame::revertToProvisionalState):
20206 (WebFrame::clearUnarchivingState):
20207 (WebFrame::progressStarted):
20208 (WebFrame::progressCompleted):
20209 (WebFrame::setMainFrameDocumentReady):
20210 (WebFrame::willChangeTitle):
20211 (WebFrame::didChangeTitle):
20212 (WebFrame::finishedLoading):
20213 (WebFrame::finalSetupForReplace):
20214 (WebFrame::setDefersLoading):
20215 (WebFrame::isArchiveLoadPending):
20216 (WebFrame::cancelPendingArchiveLoad):
20217 (WebFrame::clearArchivedResources):
20218 (WebFrame::canShowMIMEType):
20219 (WebFrame::representationExistsForURLScheme):
20220 (WebFrame::generatedMIMETypeForURLScheme):
20221 (WebFrame::frameLoadCompleted):
20222 (WebFrame::restoreScrollPositionAndViewState):
20223 (WebFrame::provisionalLoadStarted):
20224 (WebFrame::shouldTreatURLAsSameAsCurrent):
20225 (WebFrame::addHistoryItemForFragmentScroll):
20226 (WebFrame::didFinishLoad):
20227 (WebFrame::prepareForDataSourceReplacement):
20228 (WebFrame::userAgent):
20231 (WebView::stringByEvaluatingJavaScriptFromString):
20233 2006-11-07 Anders Carlsson <acarlsson@apple.com>
20235 Reviewed by Oliver.
20237 Call IWebFrameLoadDelegate::windowScriptObject available when the
20238 window script object is available.
20240 * Interfaces/IWebFrameLoadDelegate.idl:
20241 Get MIDL to understand the JSC API types.
20244 (WebFrame::windowScriptObjectAvailable):
20245 Call into the delegate.
20249 2006-11-07 Steve Falkenburg <sfalken@apple.com>
20253 * WebKit.vcproj/VERSION:
20255 2006-11-06 Steve Falkenburg <sfalken@apple.com>
20259 Export JavaScriptCore C API via WebKit.
20261 * WebKit.vcproj/WebKit.def:
20262 * WebKit.vcproj/WebKit_debug.def:
20264 2006-11-06 Kevin McCullough <kmccullough@apple.com>
20266 -Fix test fields accepting text.
20268 * WebKit.vcproj/WebKit.vcproj:
20270 2006-11-06 Geoffrey Garen <ggaren@apple.com>
20272 Oops. Forgot to add these files.
20274 Changed comment that Darin mentioned, too.
20276 * WebChromeClient.cpp:
20277 * WebScreenClient.cpp: Added.
20278 (WebScreenClient::create):
20279 (WebScreenClient::WebScreenClient):
20280 (WebScreenClient::depth):
20281 (WebScreenClient::depthPerComponent):
20282 (WebScreenClient::isMonochrome):
20283 (WebScreenClient::rect):
20284 (WebScreenClient::usableRect):
20285 * WebScreenClient.h: Added.
20287 2006-11-06 Geoffrey Garen <ggaren@apple.com>
20289 Reviewed by Darin Adler.
20291 Stubbed out the Chrome and Screen clients.
20293 * WebChromeClient.cpp:
20294 (WebChromeClient::setWindowRect):
20295 (WebChromeClient::windowRect):
20296 (WebChromeClient::pageRect):
20297 (WebChromeClient::scaleFactor):
20298 (WebChromeClient::focus):
20299 (WebChromeClient::unfocus):
20300 (WebChromeClient::createWindow):
20301 (WebChromeClient::createModalDialog):
20302 (WebChromeClient::show):
20303 (WebChromeClient::setToolbarsVisible):
20304 (WebChromeClient::toolbarsVisible):
20305 (WebChromeClient::setStatusbarVisible):
20306 (WebChromeClient::statusbarVisible):
20307 (WebChromeClient::setScrollbarsVisible):
20308 (WebChromeClient::scrollbarsVisible):
20309 (WebChromeClient::setMenubarVisible):
20310 (WebChromeClient::menubarVisible):
20311 (WebChromeClient::setResizable):
20312 * WebChromeClient.h:
20313 * WebKit.vcproj/WebKit.vcproj:
20315 (WebView::initWithFrame):
20317 2006-11-06 Beth Dakin <bdakin@apple.com>
20319 Reviewed by Anders.
20321 Oops! Silly mistake!
20323 * WebElementPropertyBag.cpp:
20324 (convertStringToVariant):
20326 2006-11-06 Steve Falkenburg <sfalken@apple.com>
20330 * WebMutableURLRequest.cpp:
20332 2006-11-05 Beth Dakin <bdakin@apple.com>
20334 Reviewed by Steve and Anders. And sort of Maciej.
20336 Here is a basic implementation of elementAtPoint for Boomer.
20338 * Interfaces/IWebView.idl: The definitions of the
20339 WebElementPropertyBag keys.
20340 * MarshallingHelpers.cpp:
20341 (MarshallingHelpers::intRectToSafeArray): New safe array creation
20342 function that creates a safe array out of an IntRect.
20343 * MarshallingHelpers.h:
20344 * WebElementPropertyBag.cpp: Added. This is the equivalent of
20345 WebElementDictionary on the Mac.
20346 (WebElementPropertyBag::WebElementPropertyBag):
20347 (WebElementPropertyBag::~WebElementPropertyBag):
20348 (WebElementPropertyBag::QueryInterface):
20349 (WebElementPropertyBag::AddRef):
20350 (WebElementPropertyBag::Release):
20352 (convertStringToVariant):
20353 (WebElementPropertyBag::Read): This is the bulk of the class. It
20354 compares the input key to all of the possible keys and calls the
20355 appropriate function for each.
20356 (WebElementPropertyBag::Write): Writing is not actually allowed.
20357 * WebElementPropertyBag.h: Added.
20358 * WebKit.vcproj/WebKit.vcproj:
20360 (WebView::elementAtPoint): Call into frame to get the HitTestResult
20361 for the point and set elementDictionary to the
20362 WebElementPropertyBag for the result.
20364 2006-11-05 Steve Falkenburg <sfalken@apple.com>
20371 2006-11-04 Darin Adler <darin@apple.com>
20373 * WebView.cpp: (WebView::initWithFrame): Removed setMainFrame call and
20374 deref of Frame, now handled by Frame's constructor.
20376 2006-11-03 Maciej Stachowiak <mjs@apple.com>
20380 - replaced receivedRedirect with new willSendRequest delegate
20381 - removed most mac-specific loader functions
20382 - use ResourceResponse more in loader code
20385 (WebFrame::willSendRequest): Rearranged from former receivedRedirect.
20388 2006-11-03 Anders Carlsson <acarlsson@apple.com>
20392 * WebChromeClient.cpp:
20394 2006-11-03 Geoffrey Garen <ggaren@apple.com>
20396 Reviewed by Darin, Beth.
20398 Updated to use ChromeClient.
20400 * WebChromeClient.cpp: Added.
20401 (WebChromeClient::create):
20402 (WebChromeClient::WebChromeClient):
20403 (WebChromeClient::canRunModal):
20404 (WebChromeClient::runModal):
20405 * WebChromeClient.h: Added.
20406 * WebKit.vcproj/WebKit.vcproj:
20408 (WebView::initWithFrame):
20410 2006-11-01 Ada Chan <adachan@apple.com>
20412 Reviewed by sfalken.
20414 Implemented the DOM API that pubsub needs:
20415 IDOMDocument::getElementsByTagName
20416 IDOMDocument::getElementsByTagNameNS (they don't need this, but might as well add it)
20418 IDOMNode::nodeValue
20420 Added something I'll need for RSS integration:
20421 IWebHistoryItemPrivate::RSSFeedReferrer
20422 IWebHistoryItemPrivate::setRSSFeedReferrer
20424 * DOMCoreClasses.cpp:
20425 (DOMNode::nodeValue):
20426 (DOMNode::DOMNode):
20427 (DOMNode::~DOMNode):
20428 (DOMNode::createInstance):
20429 (DOMNodeList::QueryInterface):
20430 (DOMNodeList::item):
20431 (DOMNodeList::length):
20432 (DOMNodeList::DOMNodeList):
20433 (DOMNodeList::~DOMNodeList):
20434 (DOMNodeList::createInstance):
20435 (DOMDocument::getElementsByTagName):
20436 (DOMDocument::getElementsByTagNameNS):
20437 (DOMDocument::DOMDocument):
20438 (DOMDocument::~DOMDocument):
20439 (DOMElement::DOMElement):
20440 (DOMElement::~DOMElement):
20441 * DOMCoreClasses.h:
20442 (DOMNodeList::AddRef):
20443 (DOMNodeList::Release):
20444 (DOMNodeList::throwException):
20445 (DOMNodeList::callWebScriptMethod):
20446 (DOMNodeList::evaluateWebScript):
20447 (DOMNodeList::removeWebScriptKey):
20448 (DOMNodeList::stringRepresentation):
20449 (DOMNodeList::webScriptValueAtIndex):
20450 (DOMNodeList::setWebScriptValueAtIndex):
20451 (DOMNodeList::setException):
20452 * Interfaces/IWebHistoryItemPrivate.idl:
20453 * WebHistoryItem.cpp:
20454 (WebHistoryItem::WebHistoryItem):
20455 (WebHistoryItem::~WebHistoryItem):
20456 (WebHistoryItem::RSSFeedReferrer):
20457 (WebHistoryItem::setRSSFeedReferrer):
20458 * WebHistoryItem.h:
20460 2006-10-31 Marvin Decker <marv.decker@gmail.com>
20462 Reviewed by Maciej.
20464 - merged changes for:
20466 - fixed "Stop and reload don't work on the WebView"
20467 http://bugs.webkit.org/show_bug.cgi?id=11285
20469 Most of htis was already in this tree.
20472 (WebFrame::stopLoading): Implement. Added FIXME.
20474 2006-10-31 Steve Falkenburg <sfalken@apple.com>
20476 Bumped version to 521.29
20478 * WebKit.vcproj/VERSION:
20480 2006-10-30 Kevin McCullough <KMcCullough@apple.com>
20484 - Added basic functionality for running javascript from the address bar. Currently no return results are evaluated so use alert messages to see the results.
20487 (WebView::stringByEvaluatingJavaScriptFromString):
20489 2006-10-31 Adam Roben <aroben@apple.com>
20493 * WebEditorClient.cpp: Add stubs for new methods.
20494 (WebEditorClient::isContinuousSpellCheckingEnabled):
20495 (WebEditorClient::isGrammarCheckingEnabled):
20496 (WebEditorClient::spellCheckerDocumentTag):
20497 * WebEditorClient.h: Add declarations for new methods.
20498 * WebFrame.cpp: Fix #includes to use new platform/graphics directory.
20499 * WebView.cpp: Ditto.
20500 * WebKit.vcproj/WebKit.vcproj: Add platform/graphics to include path.
20502 2006-10-29 Steve Falkenburg <sfalken@apple.com>
20504 Reviewed by Adam, Ada.
20506 Expose printing methods in IWebViewPrivate and removed LPARAM-based dispatching.
20507 Call StretchDIBits instead of BitBlt.
20508 Add a maximum DPI (currently set at 300) to speed up printing.
20509 Add support needed for print preview.
20511 * Interfaces/IWebViewPrivate.idl: added startPrintJob, endPrintJob, getPrintedPageCount, printPage
20512 * WebView.cpp: Added MAXIMUM_DPI setting to limit the size of print jobs for performance reasons
20513 (getPrintRects): Added. Factored out of print, added maximum DPI handling.
20514 (WebView::startPrintJob): Factored out of print
20515 (WebView::endPrintJob): Factored out of print
20516 (WebView::getPrintedPageCount): Factored out of print
20517 (WebView::printPage): Factored out of print. Replaced call to BitBlt with StretchDIBits
20518 (WebViewWndProc): Re-add support for printing a window (used by bug reporter code)
20519 * WebView.h: added startPrintJob, endPrintJob, getPrintedPageCount, printPage
20521 2006-10-30 Anders Carlsson <acarlsson@apple.com>
20525 Add "null plugin" image resource.
20527 * WebKit.vcproj/WebKit.rc:
20528 * WebKit.vcproj/WebKit.vcproj:
20529 * WebKit.vcproj/nullplugin.png: Added.
20530 * WebKit.vcproj/resource.h:
20532 (loadResourceIntoArray):
20534 2006-10-29 Maciej Stachowiak <mjs@apple.com>
20536 Reviewed by Anders.
20538 - added ResourceResponse class and didReceiveResponse delegate call
20541 (WebFrame::didReceiveResponse): Updated from receivedResponse.
20543 * WebURLResponse.cpp:
20544 (WebURLResponse::WebURLResponse): Reimplemented to work in terms
20545 of WebCore::ResourceResponse (ditto for below). Uses BString
20546 to convert strings as needed.
20547 (WebURLResponse::~WebURLResponse):
20548 (WebURLResponse::createInstance):
20549 (WebURLResponse::expectedContentLength):
20550 (WebURLResponse::initWithURL):
20551 (WebURLResponse::MIMEType):
20552 (WebURLResponse::suggestedFilename):
20553 (WebURLResponse::textEncodingName):
20554 (WebURLResponse::URL):
20555 (WebURLResponse::suggestedFileExtension):
20556 * WebURLResponse.h:
20558 2006-10-29 Maciej Stachowiak <mjs@apple.com>
20560 Rubber stamped by Darin Adler.
20562 - renamed ResourceLoader to ResourceHandle (and same for related classes)
20565 (WebFrame::loadDataSource):
20566 (WebFrame::receivedRedirect):
20567 (WebFrame::receivedResponse):
20568 (WebFrame::didReceiveData):
20569 (WebFrame::didFinishLoading):
20571 * WebURLResponse.cpp:
20572 (WebURLResponse::createInstance):
20573 * WebURLResponse.h:
20576 2006-10-27 Steve Falkenburg <sfalken@apple.com>
20578 Reviewed by Maciej.
20580 Tighten up warning levels by removing #pragma warning(push, 0), pop
20582 * WebBackForwardList.h:
20584 * WebIconDatabase.h:
20586 2006-10-25 Steve Falkenburg <sfalken@apple.com>
20588 Reviewed by Darin Adler.
20590 Checked in Luke's CG printing code
20593 (WebView::print): added
20594 (WebViewWndProc): call print from WM_PRINTCLIENT
20595 * WebView.h: added print, m_pages, rearranged includes
20597 2006-10-24 Steve Falkenburg <sfalken@apple.com>
20599 Bump version to 521.28.6
20601 * WebKit.vcproj/VERSION:
20603 2006-10-24 Anders Carlsson <acarlsson@apple.com>
20606 (WebFrame::loadDataSource):
20607 Forgot to save before committing. Call begin before trying to access the document.
20609 2006-10-24 Anders Carlsson <acarlsson@apple.com>
20611 Fix build. (Update for changes to ResourceLoader)
20614 (WebFrame::loadDataSource):
20615 * WebURLResponse.cpp:
20616 (WebURLResponse::createInstance):
20618 2006-10-23 Ada Chan <adachan@apple.com>
20620 Reviewed by sfalken.
20622 We forgot to add a reference in WebNotificationCenter::addObserver.
20624 * WebNotificationCenter.cpp:
20625 (WebNotificationCenter::addObserver):
20627 2006-10-23 Steve Falkenburg <sfalken@apple.com>
20631 * MarshallingHelpers.cpp:
20632 (MarshallingHelpers::BSTRToCFStringRef): Fix leak in BSTRToCFStringRef
20633 * WebEditorClient.cpp:
20634 (WebEditorClient::WebEditorClient): Break dependency cycle by not holding a COM ref to the WebView
20635 (WebEditorClient::~WebEditorClient): Break dependency cycle by not holding a COM ref to the WebView
20637 (WebFrame::initWithWebFrameView):
20638 (WebFrame::windowResizerRect): Fix reference leaks
20640 (createUserInfoFromArray): Fixed leak of key CFStringRef.
20641 (WebHistory::setOptionalSharedHistory): Made this callable with a 0 to release shared history
20642 (_WebCoreHistoryProvider::_WebCoreHistoryProvider): Don't hold a ref to the WebHistory
20643 (_WebCoreHistoryProvider::~_WebCoreHistoryProvider): Don't hold a ref to the WebHistory
20644 (_WebCoreHistoryProvider::containsItemForURLLatin1): Don't hold a ref to the WebHistoryPrivate
20645 * WebHistoryItem.cpp:
20646 (WebHistoryItem::WebHistoryItem): Don't hold a reference to the WebIconDatabase
20647 * WebIconDatabase.cpp:
20648 (WebIconDatabase::~WebIconDatabase): Delete core icon db on delete
20649 * WebNotificationCenter.cpp:
20650 (ObserverKey::ObserverKey): Init data to 0 before calling assignment op
20651 (ObserverKey::operator=): Free old string, release old ref if needed before copy
20653 2006-10-23 Adam Roben <aroben@apple.com>
20657 * WebFrame.cpp: Change header paths to point to new platform/network
20658 directory and subdirectories.
20659 * WebFrame.h: Ditto.
20660 * WebURLResponse.cpp: Ditto.
20661 * WebURLResponse.h: Ditto.
20662 * WebView.cpp: Ditto.
20663 * WebKit.vcproj/WebKit.vcproj: Add platform/network and subdirectories
20664 to AdditionalIncludeDirectories.
20666 2006-10-23 Maciej Stachowiak <mjs@apple.com>
20668 Rubber-stamped by Anders.
20670 - fixed for ResourceLoader refactoring.
20673 (WebFrame::didReceiveData):
20674 (WebFrame::didFinishLoading):
20677 2006-10-21 Timothy Hatcher <timothy@apple.com>
20681 Stub out the new shouldShowDeleteInterface method.
20683 * WebEditorClient.cpp:
20684 (WebEditorClient::shouldShowDeleteInterface):
20685 * WebEditorClient.h:
20687 2006-10-20 Dave Hyatt <hyatt@apple.com>
20689 Fix build bustage with spaces in names in cygwin home dirs with webkit's auto-version.sh script.
20691 * WebKit.vcproj/auto-version.sh:
20693 Fix a horrible memory leak with multiple windows. WebViews need to delete their backing stores.
20696 (WebView::~WebView):
20698 2006-10-20 Steve Falkenburg <sfalken@apple.com>
20702 Make the auto-version script work with paths that contain spaces
20704 * WebKit.vcproj/auto-version.sh:
20706 2006-10-20 Steve Falkenburg <sfalken@apple.com>
20713 2006-10-20 Steve Falkenburg <sfalken@apple.com>
20717 <rdar://4778502> Boomer userAgent string needs to support pulling in proper build #, plus customization
20719 Useragent/versioning changes
20721 Stamp auto-generated version number into DLL and into user agent.
20722 Generate a real user agent string instead of hardcoding one.
20723 Support client supplying an application name for the user agent.
20724 Support client overriding the useragent (for debug menu).
20725 Support per-URL user agents (not used at least for now).
20727 Also fixed a bug I recently introduced that broke form submit.
20730 (WebFrame::loadData): stash original request URL
20731 (WebFrame::loadHTMLString): stash original request URL
20732 (WebFrame::loadDataSource): stash original request URL
20733 (WebFrame::userAgentForURL): implemented
20734 (WebFrame::originalRequestURL): implemented
20735 * WebFrame.h: Changed FrameWinClient userAgent() to userAgentForURL in case we want to serve specific URLs for compatibility, added originalRequestURL
20736 * WebKit.vcproj/PRODUCTVERSION: Added.
20737 * WebKit.vcproj/VERSION: Added.
20738 * WebKit.vcproj/WebKit.rc: Stamp autogenerated version number at build time.
20739 * WebKit.vcproj/WebKit.vcproj: Stamp autogenerated version number at build time.
20740 * WebKit.vcproj/auto-version.sh: Added.
20741 * WebKit.vcproj/autoversion.h: Removed.
20743 (WebView::WebView): Remove some no longer needed initialization
20744 (WebView::~WebView): Remove some no longer needed cleanup
20745 (osVersion): call to return the OS version as a string
20746 (language): call to return the language as a string
20747 (webKitVersion): call to return the version of WebKit as a string
20748 (WebView::userAgentForKURL): fast version of userAgentForURL (no BSTR marshalling)
20749 (WebView::initWithFrame): Use String instead of BSTR.
20750 (WebView::setApplicationNameForUserAgent): implemented
20751 (WebView::applicationNameForUserAgent): implemented
20752 (WebView::setCustomUserAgent): implemented
20753 (WebView::customUserAgent): implemented
20754 (WebView::userAgentForURL): implemented
20755 (WebView::setCustomTextEncodingName): switch to WebCore::String storage
20756 (WebView::customTextEncodingName): switch to WebCore::String storage
20757 (WebView::setGroupName): switch to WebCore::String storage
20758 (WebView::groupName): switch to WebCore::String storage
20759 (WebView::onNotify):
20760 * WebView.h: Switch over to using WebCore::Strings instead of BSTRs in a few places, added m_applicationName, removed m_frameName.
20762 2006-10-20 Alice Liu <alice.liu@apple.com>
20764 Reviewed by Steve and Maciej.
20766 Adding knowledge of the Editor and EditorClient to Windows WebKit
20768 * Interfaces/IWebEditingDelegate.idl:
20771 * WebEditorClient.cpp: Added
20772 (WebEditorClient::WebEditorClient):
20773 (WebEditorClient::~WebEditorClient):
20774 (WebEditorClient::shouldDeleteRange):
20775 (WebEditorClient::shouldBeginEditingInRange):
20776 (WebEditorClient::shouldEndEditingInRange):
20777 (WebEditorClient::shouldInsertNode):
20778 (WebEditorClient::shouldApplyStyle):
20779 (WebEditorClient::shouldChangeTypingStyle):
20780 (WebEditorClient::webViewDidBeginEditing):
20781 (WebEditorClient::webViewDidChange):
20782 (WebEditorClient::webViewDidEndEditing):
20783 (WebEditorClient::webViewDidChangeTypingStyle):
20784 (WebEditorClient::webViewDidChangeSelection):
20786 * WebEditorClient.h: Added.
20789 (WebFrame::initWithWebFrameView):
20790 created an editor client
20792 * WebKit.vcproj/WebKit.vcproj:
20793 added WebEditorClient files
20795 2006-10-20 Steve Falkenburg <sfalken@apple.com>
20797 Implement (barely) more of DOMWindow.idl.
20799 * Interfaces/DOMWindow.idl:
20801 2006-10-20 Adam Roben <aroben@apple.com>
20803 Reviewed by Darin Adler.
20806 Stubbing out DOMWindow.idl, which was forgotten in the last checkin.
20808 * Interfaces/DOMWindow.idl: Added.
20810 2006-10-19 Steve Falkenburg <sfalken@apple.com>
20815 Holding down Ctrl when a redirect happens opens the redirected page in a new tab
20818 View Source is using syntax highlighting and should probably punt on
20819 that (due to its many issues) and show the original data in a WebView
20822 Also added a bunch of DOM bindings for events.
20824 * DOMEventsClasses.cpp: Added.
20825 * DOMEventsClasses.h: Added.
20826 * Interfaces/DOMEvents.idl: Added.
20828 (WebFrame::loadData): Implemented
20829 (WebFrame::openURL): Added triggeringEvent parameter
20830 * WebFrame.h: Added triggeringEvent parameter
20831 * WebKit.vcproj/Interfaces.vcproj: Added DOMEvents.idl, DOMWindow.idl
20832 * WebKit.vcproj/WebKit.vcproj: Added DOMEventsClasses.cpp, DOMEventsClasses.h
20833 * WebKit.vcproj/WebKitGUID.vcproj: Added DOMEvents_i.c
20835 2006-10-19 Anders Carlsson <acarlsson@apple.com>
20838 (WebFrame::initWithWebFrameView):
20841 2006-10-18 Alice Liu <alice.liu@apple.com>
20845 Any file that #includes WebView.h also needed to include
20846 IWebURLResponse.h since IWebView.h needed it. Adding this
20849 * Interfaces/IWebDataSource.idl:
20850 re-arranged imports because not all were being generated due to weird IDL file compiler bug
20852 * Interfaces/IWebView.idl:
20853 added reference to IWebURLResponse.h
20856 * WebKitClassFactory.cpp:
20858 removed reference to IWebURLResponse.h
20861 2006-10-18 Steve Falkenburg <sfalken@apple.com>
20865 <rdar://4781998> Need API for setting the rendering modes
20867 Added font smoothing preference
20868 Fixed some COM interface typos
20869 Removed use of IWebImage (we use HBITMAP instead)
20871 * DOMHTMLClasses.cpp:
20872 (DOMHTMLDocument::body): fixed typos
20873 (DOMHTMLFormElement::elements): fixed typos
20874 (DOMHTMLInputElement::form): fixed typos
20875 (DOMHTMLTextAreaElement::form): fixed typos
20876 * DOMHTMLClasses.h: fixed typos
20877 * Interfaces/DOMCSS.idl: fixed typos
20878 * Interfaces/DOMHTML.idl: fixed typos
20879 * Interfaces/DOMRange.idl: fixed typos
20880 * Interfaces/IWebArchive.idl: fixed typos
20881 * Interfaces/IWebDataSource.idl: fixed typos
20882 * Interfaces/IWebDocument.idl: fixed typos
20883 * Interfaces/IWebEditingDelegate.idl: fixed typos
20884 * Interfaces/IWebFrameLoadDelegate.idl: fixed typos
20885 * Interfaces/IWebFrameView.idl: fixed typos
20886 * Interfaces/IWebHistoryItem.idl: fixed typos
20887 * Interfaces/IWebIconDatabase.idl: fixed typos
20888 * Interfaces/IWebImage.idl: Removed.
20889 * Interfaces/IWebPreferences.idl: added font smoothing getter/setter
20890 * Interfaces/IWebURLAuthenticationChallenge.idl:
20891 * Interfaces/IWebView.idl: fixed typos
20892 * Interfaces/WebKit.idl: removed IWebImage
20893 * WebDataSource.cpp:
20894 (WebDataSource::webArchive): fixed typos
20895 (WebDataSource::mainResource): fixed typos
20896 (WebDataSource::subresourceForURL): fixed typos
20897 * WebDataSource.h: fixed typos
20898 * WebHistoryItem.cpp:
20899 (WebHistoryItem::icon): fixed typos
20900 * WebHistoryItem.h: fixed typos
20901 * WebKit.vcproj/Interfaces.vcproj: removed IWebImage
20902 * WebKit.vcproj/WebKitGUID.vcproj: removed IWebImage
20903 * WebPreferenceKeysPrivate.h: added font smoothing prefs key
20904 * WebPreferences.cpp:
20905 (WebPreferences::initialize): font smoothing pref
20906 (WebPreferences::fontSmoothing): added
20907 (WebPreferences::setFontSmoothing): added
20908 * WebPreferences.h: added font smoothing getter/setter
20910 (WebView::windowScriptObject): fixed typos
20911 (WebView::mainFrameIcon): removed IWebImage
20912 (WebView::undoManager): fixed typos
20915 2006-10-17 Steve Falkenburg <sfalken@apple.com>
20917 Reviewed by ggaren.
20919 <rdar://4781999> History menu gets borked if you visit a page with no title.
20920 <rdar://4782002> The History menu is frequently utterly corrupted, with incorrect favicons next to mismatched titles.
20921 <rdar://4780252> Page titles in History menu are incorrect
20922 <rdar://4760334> Pages without title show an old title instead of a default title
20924 * Interfaces/IWebHistoryItemPrivate.idl: added setTitle to set title for a page after we receive it
20925 * WebFrame.cpp: Removed unnecessary WebFramePrivate::title
20926 (WebFrame::goToItem): Get back/forward list via frame-aware getter
20927 (WebFrame::receivedRedirect): Use BString
20928 (WebFrame::receivedResponse): Use BString. Get back/forward list, history via frame-aware getters.
20929 (WebFrame::createFrame): Use BString
20930 (WebFrame::submitForm): Clean up up BSTR usage
20931 (WebFrame::setTitle): Set title in back/forward, history when received
20932 (WebFrame::backForwardList): Frame-aware getter for back/forward
20933 (WebFrame::webHistory): Frame-aware getter for history
20934 * WebFrame.h: Added frame-aware getters for history, back/forward
20935 * WebHistory.cpp: Reorder includes.
20936 (WebHistory::QueryInterface): Support QI to WebHistory via CLSID (avoids yucky static cast in other places)
20937 * WebHistoryItem.cpp:
20938 (WebHistoryItem::setTitle): Added
20939 * WebHistoryItem.h: Added setTitle
20941 (WebView::QueryInterface): Support QI to WebView via CLSID
20943 2006-10-17 Steve Falkenburg <sfalken@apple.com>
20945 Reviewed by Maciej.
20947 Switch over to ICU 3.6
20949 * WebKit.vcproj/WebKit.vcproj:
20951 2006-10-17 Oliver Hunt <oliver@apple.com>
20955 Fix flickering cursor
20958 (registerWebViewWindowClass):
20960 2006-10-15 Adam Roben <aroben@apple.com>
20962 Reviewed by Geoff, Anders.
20964 Fix crash on startup.
20966 We were crashing somewhere inside Frame::setResourceRequest. I'm not
20967 sure what change made this start crashing.
20970 (WebFrame::receivedResponse): Remove useless calls to
20971 Frame::resourceRequest and Frame::setResourceRequest.
20973 2006-10-13 Dave Hyatt <hyatt@apple.com>
20975 Make sure the backing store is flushed when themes are changed.
20982 2006-10-12 Adam Roben <aroben@apple.com>
20984 Build fix (broken by OpenSource r17006)
20987 (WebFrame::receivedResponse):
20989 2006-10-12 Dave Hyatt <hyatt@apple.com>
20991 Implement full-blown double buffering (keeping a bitmap in the WebView that holds the backing store for it).
20996 (WebFrame::addToDirtyRegion):
20997 (WebFrame::scrollBackingStore):
20998 (WebFrame::updateBackingStore):
21001 (WebView::WebView):
21002 (WebView::ensureBackingStore):
21003 (WebView::addToDirtyRegion):
21004 (WebView::scrollBackingStore):
21005 (WebView::updateBackingStore):
21007 (WebView::paintIntoBackingStore):
21008 (WebView::paintIntoWindow):
21011 (WebView::topLevelFrame):
21013 2006-10-10 Steve Falkenburg <sfalken@apple.com>
21018 Crash in CoreFoundation parsing a "corrupt" plist
21020 Prevent crash when we encounter a corrupt history plist by using
21021 structured exception handling to catch the crash and return
21022 an empty history list.
21025 (WebHistory::loadHistoryGutsFromURL):
21027 2006-10-11 Darin Adler <darin@apple.com>
21031 - fix problem where you can't type in subframes
21033 * WebView.cpp: (WebViewWndProc): Use WebView's focusedTargetFrame()
21034 function instead of sending everything to the main frame.
21036 2006-10-09 Brady Eidson <beidson@apple.com>
21040 <rdar://4721579> - WebPreferences for IconDatabase hooked up
21041 This completes the above task by implementing the icon database location preference
21043 * WebIconDatabase.cpp:
21044 (WebIconDatabase::init): Get the location from the prefs, fallback to the default via shell call
21045 * WebPreferenceKeysPrivate.h:
21046 * WebPreferences.cpp:
21047 (WebPreferences::initialize):
21048 (WebPreferences::iconDatabaseLocation):
21049 (WebPreferences::setIconDatabaseLocation):
21051 2006-10-07 Adam Roben <aroben@apple.com>
21053 Reviewed by Anders.
21055 Merge of OpenSource r16884
21056 http://bugs.webkit.org/show_bug.cgi?id=11199
21057 Update Session History when a load is committed rather than completed.
21060 (WebFrame::receivedResponse):
21061 (WebFrame::receivedAllData):
21063 2006-10-07 Adam Roben <aroben@apple.com>
21067 Fix for failed ASSERT on iBench.
21070 (WebFrame::receivedAllData): Be a bit more lenient about what
21071 ResourceLoader has called WebFrame::receivedAllData
21073 2006-10-06 Geoffrey Garen <ggaren@apple.com>
21075 Reviewed by Adam Roben, esq.
21077 Fixed <rdar://4768789> Crash on ebay.com in Frame::didOpenURL
21079 The issue was a resource loader making a callback to a
21080 frame after the frame had been destroyed. This doesn't happen on Mac
21081 because Mac WebKit cancels all loads before tearing down frames.
21083 The solution is to add a callback to Win WebKit to allow a frame
21084 to cancel its main resource load. This is a temporary work-around.
21085 It is temporary because it doesn't address pending subresource loads.
21086 The long-term solution we anticipate is to have a legitimate loader
21090 (WebFrame::loadDataSource):
21091 (WebFrame::stopMainResourceLoad):
21092 (WebFrame::receivedAllData):
21095 006-10-06 Steve Falkenburg <sfalken@apple.com>
21097 Use a better versioning scheme.
21099 Out version #s for Boomer are the same as the last Mac
21100 submission + the addition of "b".
21102 This first versioned submission is 521.28b
21104 * WebKit.vcproj/WebKit.rc:
21106 2006-10-06 Steve Falkenburg <sfalken@apple.com>
21108 Bump version number.
21110 * WebKit.vcproj/WebKit.rc:
21112 2006-10-06 Steve Falkenburg <sfalken@apple.com>
21114 Reviewed by Adam, Lou.
21116 <rdar://4754295> Corrupt history.plist = crash on startup
21118 Fix improper CF usage that likely led to retain/release imbalances.
21121 We now properly invalidate and draw overlapping contents or opaque.
21123 * Interfaces/IWebUIDelegatePrivate.idl:
21125 (WebFrame::paintGripper):
21127 (WebHistory::saveHistoryGuts):
21128 * WebHistoryItem.cpp:
21129 (WebHistoryItem::dictionaryRepresentation):
21131 2006-10-06 Steve Falkenburg <sfalken@apple.com>
21133 Reviewed by aroben.
21135 Scrollbars now dodge resizing gripper.
21136 Resizing gripper now paints via web ui delegate.
21137 Debug vcproj fixes.
21138 Fix redirects to search.com.
21139 Add support for painting and cursor tracking of resizer.
21141 * Interfaces/IWebUIDelegatePrivate.idl: added webViewDrawResizer.
21143 (WebFrame::paint): added gripper drawing code.
21144 (WebFrame::receivedResponse): tell the app when we commit a page load.
21145 (WebFrame::windowResizerRect): added.
21146 (WebFrame::paintGripper): added.
21147 * WebFrame.h: added windowResizerRect, paintGripper.
21148 * WebKit.vcproj/WebKit.vcproj: Link against debug libs, debug MSVC library in debug build.
21150 (WebView::WebView):
21151 (WebView::~WebView):
21152 (WebView::inResizer):
21154 (WebView::setUIDelegate):
21157 2006-10-05 Dave Hyatt <hyatt@apple.com>
21159 Fix clipping and transforms by making sure to propagate them as they happen on the CGContext over into the HDC.
21162 (WebFrame::paintSingleRect):
21164 2006-10-05 Adam Roben <aroben@apple.com>
21168 * WebKit.vcproj/WebKitGUID.vcproj: Fix patch to IWebFramePrivate_i.c
21170 2006-10-05 Anders Carlsson <acarlsson@apple.com>
21172 Reviewed by Maciej.
21174 A couple of changes needed for the new DumpRenderTree.
21176 * DOMCoreClasses.cpp:
21177 (DOMDocument::documentElement):
21180 * DOMHTMLClasses.cpp:
21181 (DOMHTMLElement::innerHTML):
21182 (DOMHTMLElement::setInnerHTML):
21183 (DOMHTMLElement::innerText):
21184 (DOMHTMLElement::setInnerText):
21185 * DOMHTMLClasses.h:
21186 (DOMHTMLFormElement::innerHTML):
21187 (DOMHTMLFormElement::setInnerHTML):
21188 (DOMHTMLFormElement::innerText):
21189 (DOMHTMLFormElement::setInnerText):
21190 (DOMHTMLSelectElement::innerHTML):
21191 (DOMHTMLSelectElement::setInnerHTML):
21192 (DOMHTMLSelectElement::innerText):
21193 (DOMHTMLSelectElement::setInnerText):
21194 (DOMHTMLOptionElement::innerHTML):
21195 (DOMHTMLOptionElement::setInnerHTML):
21196 (DOMHTMLOptionElement::innerText):
21197 (DOMHTMLOptionElement::setInnerText):
21198 (DOMHTMLInputElement::innerHTML):
21199 (DOMHTMLInputElement::setInnerHTML):
21200 (DOMHTMLInputElement::innerText):
21201 (DOMHTMLInputElement::setInnerText):
21202 (DOMHTMLTextAreaElement::innerHTML):
21203 (DOMHTMLTextAreaElement::setInnerHTML):
21204 (DOMHTMLTextAreaElement::innerText):
21205 (DOMHTMLTextAreaElement::setInnerText):
21206 * Interfaces/DOMHTML.idl:
21207 Implement innerText and add stubs for innerHTML, setInnerHTML and setInnerText.
21209 * Interfaces/IWebFramePrivate.idl: Added.
21211 (WebFrame::QueryInterface):
21212 (WebFrame::renderTreeAsExternalRepresentation):
21213 (WebFrame::receivedAllData):
21214 Call Frame::end() before calling the frame load delegate methods. This matches the mac behavior.
21216 (WebFrame::didFirstLayout):
21217 (WebFrame::handledOnloadEvents):
21218 Add null checks for frameLoadDelegatePriv, all clients might not use it.
21221 * WebKit.vcproj/Interfaces.vcproj:
21222 * WebKit.vcproj/WebKitGUID.vcproj:
21223 Add new interface, IWebFramePrivate, which supports getting the render tree as text.
21225 2006-10-05 Maciej Stachowiak <mjs@apple.com>
21229 - changed ResourceLoader to be refcounted
21231 It keeps a ref on itself while loading as well. This makes
21232 for a much saner memory management model than the previous.
21234 In addition, keep it ref'd across all of ResourceLoaderWndProc
21235 to avoid sending messages to jobs that get deleted partway.
21237 This fixes <rdar://problem/4766859> Crash in ResourceLoaderWndProc - line 232 at televisionwithoutpity.com, washingtonpost.com
21241 (WebFrame::loadDataSource):
21243 2006-10-05 Dave Hyatt <hyatt@apple.com>
21245 Make key events work with iframes. Implement scrolling keyboard behavior. Fix a bug with mouse wheeling that
21246 made it fail on iframes nested within iframes.
21251 (WebView::handleMouseEvent):
21252 (WebView::focusedTarget):
21253 (WebView::focusedTargetFrame):
21254 (WebView::keyPress):
21258 2006-10-04 Adele Peterson <adele@apple.com>
21262 - Fix for <rdar://problem/4762933> When typing past the end of a text field, the field doesn't auto-scroll to display the active caret
21264 Reveal the selection after inserting text.
21269 2006-10-05 Darin Adler <darin@apple.com>
21273 - fix <rdar://problem/4764253>
21274 frame targeting not implemented.
21276 * WebFrame.h: Added newWindow parameter to openURL and changed the URL
21277 parameter to a String.
21278 * WebFrame.cpp: (WebFrame::openURL): Changed code to use BString to convert
21279 the String to a BSTR. Also respect the newWindow parameter and changed the
21280 new window code slightly, adding a FIXME.
21282 2006-10-04 Dave Hyatt <hyatt@apple.com>
21284 Fix painting so that we only do a layout if one is really needed. This actually fixes the non-blinking caret in
21288 (WebFrame::WebFramePrivate::needsLayout):
21290 (WebFrame::layoutIfNeeded):
21291 (WebFrame::setNeedsLayout):
21296 2006-10-03 Dave Hyatt <hyatt@apple.com>
21298 Implement the same smart rect painting algorithm that I implemented on Mac a while back (where sometimes we don't use
21299 the big unioned invalidation rect but instead paint single rects out of the update region.
21305 (WebFrame::paintSingleRect):
21309 (WebView::initWithFrame):
21311 2006-10-03 Adam Roben <aroben@apple.com>
21313 Reviewed by Darin Adler.
21315 Part of fix for <rdar://problem/4603342>
21316 Keyboard navigability
21318 Implement methods to determine tabbing preferences.
21321 (WebFrame::tabsToLinks):
21324 2006-10-04 Darin Adler <darin@apple.com>
21328 * WebView.cpp: (WebView::handleMouseEvent): Pass message when creating a PlatformMouseEvent.
21330 2006-10-02 Adam Roben <aroben@apple.com>
21332 Backing out change from r10549 because it breaks installer builds.
21334 * WebKit.vcproj/WebKit.vcproj:
21336 2006-10-02 Steve Falkenburg <sfalken@apple.com>
21338 Reviewed by Geoff, Hyatt.
21340 <rdar://4757389> Browser locks up while navigating to a new page
21341 <rdar://4757407> Images fail to load at https://webmail.apple.com
21343 * WebFrame.cpp: Preserve old document until new doc has started loading.
21344 (WebFrame::loadDataSource): Don't destroy old document when a new load kicks off.
21345 (WebFrame::receivedResponse): Destroy old document when first data is received for new doc.
21346 * WebView.cpp: Fix painting suppression code.
21347 (WebViewWndProc): Suppress painting, mouse events until first layout instead of while loading.
21349 2006-10-02 Adam Roben <aroben@apple.com>
21351 Build fix: Don't copy WebKit(_debug).dll into $WebKitSDKDir
21353 * WebKit.vcproj/WebKit.vcproj: Remove xcopy call
21355 2006-09-30 Dave Hyatt <hyatt@apple.com>
21357 Switch over from SetDIBBitsToDevice to BitBlt, since BitBlt is supposedly faster according to MSDN.
21362 2006-09-29 Steve Falkenburg <sfalken@apple.com>
21366 Allow WebKit to query for the rect
21367 of the resizer rather than just its size.
21369 * Interfaces/IWebUIDelegatePrivate.idl:
21371 2006-09-29 Steve Falkenburg <sfalken@apple.com>
21373 Reviewed by Adam, Geoff.
21375 Fix <rdar://4757392>
21376 Plug-ins flash to white while scrolling.
21378 Set WS_CLIPCHILDREN on browser windows to clip out plug-in HWNDs
21382 (WebView::initWithFrame):
21384 2006-09-29 Dave Hyatt <hyatt@apple.com>
21386 Fix mouse event click handling to be correct.
21391 (WebView::handleMouseEvent):
21395 2006-09-28 Steve Falkenburg <sfalken@apple.com>
21397 Reviewed by Maciej.
21399 Use $(ConfigSuffix) set via vsprops files to add _debug
21400 to end of debug filenames.
21402 Update B&I build script.
21403 Don't register WebKit.dll during official builds.
21405 * WebKit.vcproj/Interfaces.vcproj:
21406 * WebKit.vcproj/WebKit.make:
21407 * WebKit.vcproj/WebKit.vcproj:
21408 * WebKit.vcproj/WebKitGUID.vcproj:
21409 * WebKit.vcproj/WebKit_debug.def: Added.
21410 * WebKit.vcproj/debug.vsprops: Added.
21411 * WebKit.vcproj/release.vsprops: Added.
21413 2006-09-27 Alice Liu <alice.liu@apple.com>
21415 Reviewed by Steve & Adam.
21417 This patch implements keyboard selection and select-all.
21418 This patch also hooks up engine side of copy/cut/paste but that won't work until we have clipboards.
21420 * Interfaces/IWebView.idl:
21421 Added enum for commands to be called by name
21423 next 3 functions handle mouseevents so that multiple-click selection works
21424 (WebView::mouseMoved):
21425 (WebView::mouseDown):
21426 (WebView::mouseUp):
21427 (WebView::execCommand):
21428 Handled cut/copy/paste/delete/selectall
21429 (WebView::keyPress):
21430 Handled keyboard selection
21433 Added prototype for execCommand function
21435 2006-09-27 Steve Falkenburg <sfalken@apple.com>
21437 Reviewed by Maciej.
21439 Leave ChickenCat SDK untouched by build.
21441 This change will become necessary once we have JavaScriptCore,
21442 WebCore, WebKit, and SafariWin in the ChickenCat SDK.
21444 Prefer pulling project dependencies from WebKitOutputDir over
21445 WebKitSDKDir. Don't copy build output back over to WebKitSDKDir.
21447 * WebKit.vcproj/WebKit.vcproj:
21448 * WebKit.vcproj/WebKitGUID.vcproj:
21449 * WebKit.vcproj/dstroot-to-sdk.cmd: Removed.
21451 2006-09-27 Steve Falkenburg <sfalken@apple.com>
21453 B&I build script tweaks.
21455 * WebKit.vcproj/WebKit.make:
21457 2006-09-27 Brady Eidson <beidson@apple.com>
21461 -Flipped the icon database back to ON by default as the crasher is resolved in WebCore
21462 -WebHistoryItems now retain/release their URLs in the Icon DB
21464 * WebHistoryItem.cpp:
21465 (WebHistoryItem::WebHistoryItem): Make sure the shared icon database has been referenced
21466 (WebHistoryItem::initFromDictionaryRepresentation): Retain/release the url
21467 (WebHistoryItem::initWithURLString): Ditto
21469 * WebHistoryItem.h: Keep a static reference to the shared icon database
21471 * WebIconDatabase.cpp:
21472 (WebIconDatabase::sharedWebIconDatabase): Added - for the shared WebIconDatabase object
21473 (WebIconDatabase::sharedIconDatabase): Changed to return the shared WebIconDatabase as the shared IWebIconDatabase
21474 * WebIconDatabase.h:
21476 * WebPreferences.cpp:
21477 (WebPreferences::initialize): IconDatabase ON by default
21479 2006-09-27 Steve Falkenburg <sfalken@apple.com>
21483 Fix <rdar://problem/4753220>.
21484 Hang using bugreporter in Boomer.
21486 Force text into simple code path in all cases.
21489 (FormValuesPropertyBag::GetPropertyInfo):
21490 * WebPreferences.cpp:
21491 (WebPreferences::initialize):
21493 2006-09-26 Steve Falkenburg <sfalken@apple.com>
21495 Build fix for clean release build.
21497 * WebKit.vcproj/WebKitGUID.vcproj:
21499 2006-09-27 Brady Eidson <beidson@apple.com>
21501 Disabled WebIconDatabase for now until I can figure out the crash...!
21503 * WebPreferences.cpp:
21504 (WebPreferences::initialize):
21506 2006-09-26 Steve Falkenburg <sfalken@apple.com>
21510 * WebKit.vcproj/WebKit.make: Added.
21511 * WebKit.vcproj/WebKit.vcproj:
21513 2006-09-26 Sean Gies <seangies@apple.com>
21515 Reviewed by Brady Eidson.
21518 (WebFrame::paint): Flip coordinates of CGBitmapContext.
21520 2006-09-26 Steve Falkenburg <sfalken@apple.com>
21522 Reviewed by Adam Roben.
21524 Fixed encoding menu.
21525 Set mime type in request.
21528 (WebFrame::receivedResponse):
21530 (WebView::setCustomTextEncodingName):
21532 2006-09-26 Sean Gies <seangies@apple.com>
21534 Reviewed by Adam Roben.
21536 * WebKit.vcproj/WebKit.vcproj: Link to debug libraries for debug config.
21537 Copy debug libraries to target dir. Copy .pdb files along with .dll files.
21538 * WebKit.vcproj/WebKitGUID.vcproj: Link to Debug DLL C runtime.
21540 2006-09-26 Steve Falkenburg <sfalken@apple.com>
21544 Don't add subframes to global history or back/forward.
21547 (WebFrame::receivedAllData):
21548 (WebFrame::createFrame):
21550 2006-09-26 Dave Hyatt <hyatt@apple.com>
21552 Make sure we respond to Windows XP theme changes in the engine.
21554 Reviewed by andersca
21559 2006-09-25 Steve Falkenburg <sfalken@apple.com>
21561 Add missing parameters to CG paint case.
21566 2006-09-24 Steve Falkenburg <sfalken@apple.com>
21568 Implemented WM_PRINTCLIENT so we can take a screenshot
21569 of the current webpage for the "Report Bugs to Apple" sheet.
21571 Also may be useful in initial printing hook-up.
21579 2006-09-22 Steve Falkenburg <sfalken@apple.com>
21583 Added IWebUIDelegatePrivate::webViewResizerSize so the engine can
21584 leave space for the vertical scroll bar.
21586 * Interfaces/IWebUIDelegatePrivate.idl: Added.
21587 * WebKit.vcproj/Interfaces.vcproj:
21588 * WebKit.vcproj/WebKit.vcproj:
21589 * WebKit.vcproj/WebKitGUID.vcproj:
21591 2006-09-22 Alice Liu <alice.liu@apple.com>
21595 Windows release build fix
21598 (WebFrame::initWithWebFrameView):
21600 2006-09-21 Geoffrey Garen <ggaren@apple.com>
21602 Reviewed by Maciej, Hyatt, Steve.
21607 - fixed WebFrame/WebView circular reference leak: ownership now looks like this
21609 - WebView -> WebCore::Page -> WebCore::Frame
21611 -> WebCore::FrameTree -> WebCore::Frame...
21612 - fixed notification center circular reference leak: The notification center
21613 no longer retains its clients; clients must take care to remove themselves
21617 - The WebView's onSize handler now updates the frame geometry of the main frame.
21618 This used to happen implicitly, since the WebView window and the main frame were
21621 - Changed WebFrame painting code to use WebCore's FrameView painting code instead
21622 of rolling its own.
21624 - Removed WebFrame::initWithName from the public COM API and replaced it with
21625 the private initializer, WebFrame::initWithWebFrameView. We intend to deprecate
21626 initWithName on Mac because it's meaningless -- only WebCore should create frames.
21628 2006-09-21 Steve Falkenburg <sfalken@apple.com>
21630 Reviewed by Anders.
21635 Implemented JavaScript alert/confirm/prompt inside app.
21636 This is done via IWebUIDelegate.
21639 (WebFrame::userAgent):
21640 (WebFrame::runJavaScriptAlert):
21641 (WebFrame::runJavaScriptConfirm):
21642 (WebFrame::runJavaScriptPrompt):
21645 2006-09-21 Sean Gies <seangies@apple.com>
21647 Reviewed by Adam Roben.
21649 Support form controls when rendering with CG.
21650 Fix some re-painting issues.
21652 * WebFrame.cpp: (WebFrame::paint):
21653 Added debug code to flash redrawn area.
21654 Construct GraphicsContext using DIB HDC, rather than a CGContext.
21655 Blit offscreen buffer using the dirty rectangle's offset.
21657 2006-09-21 Sean Gies <seangies@apple.com>
21659 Reviewed by Adam Roben.
21661 * WebKit.vcproj/WebKit.vcproj: Link against CoreGraphics.
21663 2006-09-21 Dave Hyatt <hyatt@apple.com>
21665 Implement mouse wheel scrolling on Win32.
21668 (WebView::mouseWheel):
21672 2006-09-20 Steve Falkenburg <sfalken@apple.com>
21674 Reviewed by Ada Chan.
21676 <rdar://4601547> Character encoding menu/switching
21678 Encoding menu and prefs pop-up are now hooked up and working.
21680 There's currently a problem where the encoding doesn't get
21681 picked up out of the incoming HTML document out of <meta>, so
21682 the text encoding menu comes in especially handy at the moment.
21684 * Interfaces/IWebDataSource.idl:
21685 * WebDataSource.cpp:
21686 (WebDataSource::WebDataSource):
21687 (WebDataSource::~WebDataSource):
21688 (WebDataSource::overrideEncoding):
21689 (WebDataSource::setOverrideEncoding):
21690 (WebDataSource::QueryInterface):
21691 (WebDataSource::textEncodingName):
21694 (WebFrame::WebFrame):
21695 (WebFrame::loadRequest):
21696 (WebFrame::reloadAllowingStaleDataWithOverrideEncoding):
21697 (WebFrame::receivedResponse):
21698 (WebFrame::receivedData):
21699 (WebFrame::receivedAllData):
21701 * WebKit.vcproj/WebKitGUID.vcproj:
21702 * WebMutableURLRequest.cpp:
21703 (WebMutableURLRequest::WebMutableURLRequest):
21704 (WebMutableURLRequest::setCachePolicy):
21705 * WebMutableURLRequest.h:
21706 * WebURLResponse.cpp:
21707 (WebURLResponse::textEncodingName):
21709 (WebView::WebView):
21710 (WebView::supportsTextEncoding):
21711 (WebView::setCustomTextEncodingName):
21712 (WebView::customTextEncodingName):
21715 2006-09-20 Brady Eidson <beidson@apple.com>
21719 Hooked up the preference for enabled/disabling the icon database
21721 * Interfaces/IWebPreferences.idl:
21722 * WebIconDatabase.cpp:
21723 (WebIconDatabase::init):
21724 * WebPreferenceKeysPrivate.h:
21725 * WebPreferences.cpp:
21726 (WebPreferences::initialize):
21727 (WebPreferences::iconDatabaseEnabled):
21728 (WebPreferences::setIconDatabaseEnabled):
21729 * WebPreferences.h:
21731 2006-09-20 Brady Eidson <beidson@apple.com>
21735 Removed an overzealous assertion that was made irrelevant by an earlier checking to WebCore::IconDatabase
21737 * WebIconDatabase.cpp:
21738 (WebIconDatabase::init):
21740 2006-09-18 Sean Gies <seangies@apple.com>
21742 Reviewed by Adam Roben.
21744 * WebKit.vcproj/WebKit.vcproj: Link to CoreGraphics and copy its binaries to output dir.
21746 2006-09-18 Adam Roben <aroben@apple.com>
21748 Build fix (release).
21751 (_WebCoreHistoryProvider::containsItemForURLLatin1): Remove unused HRESULT.
21752 (_WebCoreHistoryProvider::containsItemForURLUnicode): Ditto.
21754 2006-09-17 Adam Roben <aroben@apple.com>
21759 (WebView::keyPress): Add new "userTriggered" argument to calls to
21760 SelectionController::modify
21762 2006-09-15 Adam Roben <aroben@apple.com>
21764 Reviewed by sfalken.
21766 Implement historyContains() on Windows (rdar://4733770)
21768 * WebHistory.cpp: Add new private _WebCoreHistoryProvider class.
21769 (WebHistory::setOptionalSharedHistory): Call
21770 WebCore::WebCoreHistory::setHistoryProvider so that WebCore can access
21772 (WebHistory::itemForURL): Extract itemForURLString method.
21773 (WebHistory::itemForURLString): Added.
21774 (WebHistory::containsItemForURLString): Added.
21775 (_WebCoreHistoryProvider::_WebCoreHistoryProvider): Added.
21776 (_WebCoreHistoryProvider::~_WebCoreHistoryProvider): Added.
21777 (matchLetter): Ported from Mac's WebHistory.m.
21778 (matchUnicodeLetter): Ditto.
21779 (_WebCoreHistoryProvider::containsItemForURLLatin1): Ditto.
21780 (_WebCoreHistoryProvider::containsItemForURLUnicode): Ditto.
21781 * WebHistory.h: Fix typo: IID_WebHistoryItemPrivate -->
21782 IID_WebHistoryPrivate, added new methods to IWebHistoryPrivate and
21785 2006-09-14 Steve Falkenburg <sfalken@apple.com>
21787 Reviewed by Lou Amadio.
21789 iBench fix - fix null deref in form submission case without a form element.
21792 (WebFrame::submitForm):
21794 2006-09-12 Steve Falkenburg <sfalken@apple.com>
21796 Get Boomer ready for B&I submission.
21798 Projects can now all build independent of one another
21799 without groping for headers or source across trees.
21801 * DOMCSSClasses.cpp: Use more explicit include paths to highlight external headers.
21802 * DOMCSSClasses.h: Use more explicit include paths to highlight external headers.
21803 * DOMCoreClasses.cpp: Use more explicit include paths to highlight external headers.
21804 * DOMHTMLClasses.cpp: Use more explicit include paths to highlight external headers.
21805 * WebDataSource.cpp: Use more explicit include paths to highlight external headers.
21806 * WebFrame.cpp: Use more explicit include paths to highlight external headers.
21807 * WebFrame.h: Use more explicit include paths to highlight external headers.
21808 * WebHTMLRepresentation.cpp: Use more explicit include paths to highlight external headers.
21809 * WebHistory.cpp: Fix capitalization of wtf.
21810 * WebKit.vcproj/Interfaces.vcproj: Updated to new obj layout.
21811 * WebKit.vcproj/WebKit.sln: Updated standalone sln for use by B&I.
21812 * WebKit.vcproj/WebKit.vcproj: Updated to new obj layout.
21813 * WebKit.vcproj/WebKitGUID.vcproj: Updated to new obj layout.
21814 * WebKit.vcproj/dstroot-to-sdk.cmd: Copy built bits back to WebKitSDKDir for dependent builds.
21815 * WebKitDLL.cpp: Use more explicit include paths to highlight external headers.
21816 * WebNotificationCenter.cpp: Use more explicit include paths to highlight external headers.
21817 * WebPreferences.cpp: Fix capitalization of wtf.
21818 * WebURLResponse.cpp: Use more explicit include paths to highlight external headers.
21819 * WebURLResponse.h: Use more explicit include paths to highlight external headers.
21820 * WebView.cpp: Use more explicit include paths to highlight external headers.
21822 2006-09-13 Ada Chan <adachan@apple.com>
21824 Reviewed by sfalken
21826 - WebBackForwardList::containsItem()
21827 - we can break once we've found the item
21828 - Fixed a crashing bug with WebNotificationCenter::addObserver.
21830 * WebBackForwardList.cpp:
21831 (WebBackForwardList::containsItem):
21832 * WebNotificationCenter.cpp:
21833 (ObserverKey::ObserverKey):
21834 (ObserverKey::operator=):
21836 2006-09-10 Brady Eidson <beidson@apple.com>
21838 Reviewed by Steve Falkenburg
21840 Made changes to IWebIconDatabase and implemented it in WebIconDatabase
21842 * Interfaces/IWebIconDatabase.idl: Returns HBITMAPs, not IWebImages
21843 * WebIconDatabase.cpp:
21844 (WebIconDatabase::WebIconDatabase):
21845 (userIconDatabasePath): Get the user's datapath via a shell call
21846 (WebIconDatabase::init): Initialize the WebCore::IconDatabase
21847 (WebIconDatabase::sharedIconDatabase): Get the shared IWebIconDatabase
21848 (WebIconDatabase::iconForURL): Implemented
21849 (WebIconDatabase::defaultIconWithSize): Ditto
21850 (WebIconDatabase::retainIconForURL): Ditto
21851 (WebIconDatabase::releaseIconForURL): Ditto
21852 (createDIB): Created a DIB of a given size for storage in a hash
21853 (WebIconDatabase::getOrCreateSharedBitmap): Get a "shared" bitmap from the hash, or create and store it
21854 (WebIconDatabase::getOrCreateDefaultIconBitmap): Ditto for the Default Icons HBITMAPs
21855 * WebIconDatabase.h:
21856 * WebKit.vcproj/WebKit.vcproj:
21858 2006-09-10 Steve Falkenburg <sfalken@apple.com>
21860 Rubber-stamp by aroben.
21862 Pick up SDK from $(WebKitSDKDir).
21864 * WebKit.vcproj/WebKit.vcproj:
21866 2006-09-09 Steve Falkenburg <sfalken@apple.com>
21868 Reviewed by aroben.
21870 Boomer SDK migration. Pull all external dependencies in from Boomer SDK.
21872 SDK should be installed into C:\AppleInternal
21873 (substitute your system drive letter for C - scripts don't hard-code the drive letter)
21875 Also fixed CFNetwork build variant
21877 * WebKit.vcproj/WebKit.vcproj:
21878 * WebKit.vcproj/WebKitGUID.vcproj:
21879 * WebURLResponse.cpp:
21880 (WebURLResponse::createInstance):
21882 2006-09-08 Brady Eidson <beidson@apple.com>
21886 Add stubs for an IconDatabase path stored as a preference
21888 * Interfaces/IWebPreferences.idl:
21889 * WebPreferences.cpp:
21890 (WebPreferences::iconDatabaseLocation):
21891 (WebPreferences::setIconDatabaseLocation):
21892 * WebPreferences.h:
21894 2006-09-07 Steve Falkenburg <sfalken@apple.com>
21896 Reviewed by Lou Amadio.
21898 Fix CFArray allocator usage for cases where we store CF types in the array.
21901 (WebHistory::WebHistory):
21902 (WebHistory::datesArray):
21904 2006-09-06 Brady Eidson <beidson@apple.com>
21906 Reviewed by Steve and Sarge
21908 Added urlIcon.png as a resource for WebCore images
21910 * WebKit.vcproj/WebKit.rc:
21911 * WebKit.vcproj/resource.h:
21912 * WebKit.vcproj/urlIcon.png: Added.
21914 (loadResourceIntoArray): Added case for "urlIcon"
21916 2006-09-06 Adam Roben <aroben@apple.com>
21918 Reviewed by Darin Adler.
21920 Fixed various Windows build problems caused by previous checkins.
21922 * WebKitDLL.h: Disable deprecation warning triggered by using std::copy on a Vector.
21924 (WebView::keyPress): Rename selection to selectionController.
21926 2006-09-05 Steve Falkenburg <sfalken@apple.com>
21928 Reviewed by Lou Amadio.
21930 File Open/Save <rdar://4601527>
21931 Implemened Save As to save raw page source (we don't support web archives).
21933 Currently we are saving a copy of the raw data in the FrameView (to
21934 return when requested via IWebDataSource::data). This needs to be
21935 shared with CFNetwork once CFNetwork integration is complete.
21937 * MemoryStream.cpp: Added.
21938 (MemoryStream::MemoryStream):
21939 (MemoryStream::~MemoryStream):
21940 (MemoryStream::createInstance):
21941 (MemoryStream::QueryInterface):
21942 (MemoryStream::AddRef):
21943 (MemoryStream::Release):
21944 (MemoryStream::Read):
21945 (MemoryStream::Write):
21946 (MemoryStream::Seek):
21947 (MemoryStream::SetSize):
21948 (MemoryStream::CopyTo):
21949 (MemoryStream::Commit):
21950 (MemoryStream::Revert):
21951 (MemoryStream::LockRegion):
21952 (MemoryStream::UnlockRegion):
21953 (MemoryStream::Stat):
21954 (MemoryStream::Clone):
21955 * MemoryStream.h: Added.
21956 * WebDataSource.cpp:
21957 (WebDataSource::data):
21959 (WebFrame::controlsInForm):
21960 (WebFrame::canProvideDocumentSource):
21961 (WebFrame::receivedResponse):
21962 (WebFrame::receivedData):
21965 * WebHTMLRepresentation.cpp:
21966 (WebHTMLRepresentation::canProvideDocumentSource):
21967 * WebKit.vcproj/WebKit.vcproj:
21968 * WebURLResponse.cpp:
21969 (WebURLResponse::createInstance):
21970 (WebURLResponse::suggestedFilename):
21971 (WebURLResponse::suggestedFileExtension):
21972 * WebURLResponse.h:
21974 2006-09-01 Steve Falkenburg <sfalken@apple.com>
21976 Reviewed by adachan.
21978 Process redirects received in networking layer through to application.
21979 With this change, the address bar url edit field shows the proper
21982 Fixed GetAsyncKeyState() calls.
21985 (WebFrame::receivedRedirect):
21986 * WebMutableURLRequest.cpp:
21987 (WebMutableURLRequest::setURL):
21989 2006-09-01 Steve Falkenburg <sfalken@apple.com>
21993 Fix back/forward regression.
21995 Combining the two receivedAllData methods into one broke back/forward navigation,
21996 since we put the resetting of m_quickRedirectComing and m_loadType at the start
21997 of the combined method, but have code in the rest of receivedAllData that
21998 relies on these having their old values.
22001 (WebFrame::receivedAllData):
22003 2006-08-30 Steve Falkenburg <sfalken@apple.com>
22005 Reviewed by Ada Chan.
22007 Forms Auto-complete checkpoint.
22008 Generic forms autocomplete drop-downs are now functional.
22009 Address book autocomplete (and credit card autocomplete) is not functional.
22012 - username/password pairs autofill
22013 - address book autofill
22014 - single-click autofill
22015 - credit card autofill
22016 - keychain equivalent secure store for username/passwords and credit cards
22017 (we currently use DPAPI to encrypt the form values plist but will want to
22018 protect this more sensitive info using an additional user supplied password)
22020 DOMCoreClasses.cpp,.h:
22021 Fix typo in DOMNode::QueryInterface.
22023 Additional DOMDocument implementation.
22024 Add IDOMNodeExtensions, IDOMElementCSSInlineStyle, IDOMElementExtensions.
22029 DOMHTMLClasses.cpp,.h:
22030 Additional implementation.
22033 Added IWebFormSubmissionListener.
22034 Additional implementation.
22040 Add IDOMElementCSSInlineStyle
22041 Add IDOMElementExtensions
22046 IWebFormDelegate.idl:
22053 Add selectionStart, selectionEnd.
22059 Added DOMExtensions_i.c, DOMPrivate_i.c.
22062 Added DOMExtensions.idl, DOMPrivate.idl.
22065 Added DOMCSSClasses.cpp.
22067 WebHTMLRepresentation.cpp:
22068 Implemented elementIsPassword, controlsInForm.
22070 * DOMCSSClasses.cpp: Added.
22071 (DOMCSSStyleDeclaration::DOMCSSStyleDeclaration):
22072 (DOMCSSStyleDeclaration::~DOMCSSStyleDeclaration):
22073 (DOMCSSStyleDeclaration::createInstance):
22074 (DOMCSSStyleDeclaration::QueryInterface):
22075 (DOMCSSStyleDeclaration::cssText):
22076 (DOMCSSStyleDeclaration::setCssText):
22077 (DOMCSSStyleDeclaration::getPropertyValue):
22078 (DOMCSSStyleDeclaration::getPropertyCSSValue):
22079 (DOMCSSStyleDeclaration::removeProperty):
22080 (DOMCSSStyleDeclaration::getPropertyPriority):
22081 (DOMCSSStyleDeclaration::setProperty):
22082 (DOMCSSStyleDeclaration::length):
22083 (DOMCSSStyleDeclaration::item):
22084 (DOMCSSStyleDeclaration::parentRule):
22085 * DOMCSSClasses.h: Added.
22086 (DOMCSSStyleDeclaration::AddRef):
22087 (DOMCSSStyleDeclaration::Release):
22088 (DOMCSSStyleDeclaration::throwException):
22089 (DOMCSSStyleDeclaration::callWebScriptMethod):
22090 (DOMCSSStyleDeclaration::evaluateWebScript):
22091 (DOMCSSStyleDeclaration::removeWebScriptKey):
22092 (DOMCSSStyleDeclaration::stringRepresentation):
22093 (DOMCSSStyleDeclaration::webScriptValueAtIndex):
22094 (DOMCSSStyleDeclaration::setWebScriptValueAtIndex):
22095 (DOMCSSStyleDeclaration::setException):
22096 * DOMCoreClasses.cpp:
22097 (DOMNode::QueryInterface):
22098 (DOMDocument::QueryInterface):
22099 (DOMDocument::getElementsByTagNameNS):
22100 (DOMDocument::getComputedStyle):
22101 (DOMDocument::DOMDocument):
22102 (DOMDocument::~DOMDocument):
22103 (DOMDocument::createInstance):
22104 (DOMElement::QueryInterface):
22105 (DOMElement::lineBoxRects):
22106 (DOMElement::focus):
22107 (DOMElement::blur):
22108 (DOMElement::style):
22109 (DOMElement::offsetLeft):
22110 (DOMElement::offsetTop):
22111 (DOMElement::offsetWidth):
22112 (DOMElement::offsetHeight):
22113 (DOMElement::offsetParent):
22114 (DOMElement::clientWidth):
22115 (DOMElement::clientHeight):
22116 (DOMElement::scrollLeft):
22117 (DOMElement::setScrollLeft):
22118 (DOMElement::scrollTop):
22119 (DOMElement::setScrollTop):
22120 (DOMElement::scrollWidth):
22121 (DOMElement::scrollHeight):
22122 (DOMElement::scrollIntoView):
22123 (DOMElement::scrollIntoViewIfNeeded):
22124 * DOMCoreClasses.h:
22125 (DOMDocument::AddRef):
22126 (DOMDocument::Release):
22127 (DOMDocument::document):
22128 * DOMHTMLClasses.cpp:
22129 (DOMHTMLSelectElement::QueryInterface):
22130 (DOMHTMLSelectElement::activateItemAtIndex):
22131 (DOMHTMLInputElement::QueryInterface):
22132 (DOMHTMLInputElement::disabled):
22133 (DOMHTMLInputElement::setValue):
22134 (DOMHTMLInputElement::select):
22135 (DOMHTMLInputElement::click):
22136 (DOMHTMLInputElement::setSelectionStart):
22137 (DOMHTMLInputElement::selectionStart):
22138 (DOMHTMLInputElement::setSelectionEnd):
22139 (DOMHTMLInputElement::selectionEnd):
22140 (DOMHTMLInputElement::isTextField):
22141 (DOMHTMLInputElement::rectOnScreen):
22142 (DOMHTMLInputElement::replaceCharactersInRange):
22143 (DOMHTMLInputElement::selectedRange):
22144 (DOMHTMLInputElement::setAutofilled):
22145 * DOMHTMLClasses.h:
22146 (DOMHTMLDocument::DOMHTMLDocument):
22147 (DOMHTMLDocument::doctype):
22148 (DOMHTMLDocument::implementation):
22149 (DOMHTMLDocument::documentElement):
22150 (DOMHTMLDocument::createElement):
22151 (DOMHTMLDocument::createDocumentFragment):
22152 (DOMHTMLDocument::createTextNode):
22153 (DOMHTMLDocument::createComment):
22154 (DOMHTMLDocument::createCDATASection):
22155 (DOMHTMLDocument::createProcessingInstruction):
22156 (DOMHTMLDocument::createAttribute):
22157 (DOMHTMLDocument::createEntityReference):
22158 (DOMHTMLDocument::getElementsByTagName):
22159 (DOMHTMLDocument::importNode):
22160 (DOMHTMLDocument::createElementNS):
22161 (DOMHTMLDocument::createAttributeNS):
22162 (DOMHTMLDocument::getElementsByTagNameNS):
22163 (DOMHTMLDocument::getElementById):
22164 (DOMHTMLElement::focus):
22165 (DOMHTMLElement::blur):
22166 (DOMHTMLFormElement::focus):
22167 (DOMHTMLFormElement::blur):
22168 (DOMHTMLSelectElement::focus):
22169 (DOMHTMLSelectElement::blur):
22170 (DOMHTMLOptionElement::focus):
22171 (DOMHTMLOptionElement::blur):
22172 (DOMHTMLInputElement::focus):
22173 (DOMHTMLInputElement::blur):
22174 (DOMHTMLTextAreaElement::focus):
22175 (DOMHTMLTextAreaElement::blur):
22176 * Interfaces/DOMCSS.idl:
22177 * Interfaces/DOMCore.idl:
22178 * Interfaces/DOMExtensions.idl: Added.
22179 * Interfaces/DOMHTML.idl:
22180 * Interfaces/DOMPrivate.idl: Added.
22181 * Interfaces/IWebFormDelegate.idl:
22183 (FormValuesPropertyBag::FormValuesPropertyBag):
22184 (FormValuesPropertyBag::QueryInterface):
22185 (FormValuesPropertyBag::AddRef):
22186 (FormValuesPropertyBag::Release):
22187 (FormValuesPropertyBag::Read):
22188 (FormValuesPropertyBag::Write):
22189 (FormValuesPropertyBag::CountProperties):
22190 (FormValuesPropertyBag::GetPropertyInfo):
22191 (FormValuesPropertyBag::LoadObject):
22192 (WebFrame::WebFrame):
22193 (WebFrame::QueryInterface):
22194 (WebFrame::DOMDocument):
22195 (WebFrame::continueSubmit):
22196 (WebFrame::elementWithName):
22197 (WebFrame::formForElement):
22198 (WebFrame::elementDoesAutoComplete):
22199 (WebFrame::controlsInForm):
22200 (WebFrame::elementIsPassword):
22201 (WebFrame::submitForm):
22202 (WebFrame::doTextFieldCommandFromEvent):
22203 (WebFrame::textWillBeDeletedInTextField):
22204 (WebFrame::textDidChangeInTextArea):
22206 * WebHTMLRepresentation.cpp:
22207 (WebHTMLRepresentation::elementIsPassword):
22208 (WebHTMLRepresentation::controlsInForm):
22209 * WebKit.vcproj/Interfaces.vcproj:
22210 * WebKit.vcproj/WebKit.vcproj:
22211 * WebKit.vcproj/WebKitGUID.vcproj:
22213 2006-08-29 Anders Carlsson <acarlsson@apple.com>
22219 Set the global instance handle.
22221 2006-08-28 Ada Chan <adachan@apple.com>
22223 Reviewed by sfalken.
22225 Free a malloc'ed string in an error condition.
22227 * MarshallingHelpers.cpp:
22228 (MarshallingHelpers::BSTRToCFStringRef):
22230 2006-08-25 David Hyatt <hyatt@apple.com>
22232 Add code path for doing painting of a WebFrame using CG.
22237 2006-08-24 Steve Falkenburg <sfalken@apple.com>
22239 Reviewed by Ada Chan.
22241 Forms autocomplete checkpoint
22243 DOMCoreClasses.cpp/.h
22244 Add missing DOMNode methods
22245 Add IDOMElementPrivate
22246 Implement DOMElement::boundingBox
22247 Implement DOMElement::getAttribute
22250 Implemented DOMHTMLInputElement::value
22252 IWebViewPrivate.idl
22254 Added IWebViewPrivate::scrollOffset
22256 IWebHTMLRepresentation.idl
22257 WebHTMLRepresentation.cpp/.h
22261 Added IWebHTMLRepresentation
22263 WebDataSource.cpp/.h
22264 Implemented WebDataSource::representation
22268 Fixed typos in some methods
22269 Add additional methods to support representation
22272 Add missing methods
22273 Add IDOMElementPrivate
22275 * DOMCoreClasses.cpp:
22276 (DOMNode::isSameNode):
22277 (DOMNode::isEqualNode):
22278 (DOMNode::textContent):
22279 (DOMNode::setTextContent):
22280 (DOMNode::boundingBox):
22281 (DOMNode::lineBoxRects):
22282 (DOMElement::QueryInterface):
22283 (DOMElement::boundingBox):
22284 (DOMElement::getAttribute):
22285 (DOMElement::coreElement):
22286 (DOMElement::isEqual):
22287 * DOMCoreClasses.h:
22288 (DOMDocument::isSameNode):
22289 (DOMDocument::isEqualNode):
22290 (DOMDocument::textContent):
22291 (DOMDocument::setTextContent):
22292 (DOMDocument::boundingBox):
22293 (DOMDocument::lineBoxRects):
22294 (DOMElement::isSameNode):
22295 (DOMElement::isEqualNode):
22296 (DOMElement::textContent):
22297 (DOMElement::setTextContent):
22298 (DOMElement::lineBoxRects):
22299 (DOMElement::element):
22300 * DOMHTMLClasses.cpp:
22301 (DOMHTMLInputElement::value):
22302 * DOMHTMLClasses.h:
22303 (DOMHTMLDocument::isSameNode):
22304 (DOMHTMLDocument::isEqualNode):
22305 (DOMHTMLDocument::textContent):
22306 (DOMHTMLDocument::setTextContent):
22307 (DOMHTMLDocument::boundingBox):
22308 (DOMHTMLDocument::lineBoxRects):
22309 (DOMHTMLElement::isSameNode):
22310 (DOMHTMLElement::isEqualNode):
22311 (DOMHTMLElement::textContent):
22312 (DOMHTMLElement::setTextContent):
22313 (DOMHTMLElement::boundingBox):
22314 (DOMHTMLElement::lineBoxRects):
22315 (DOMHTMLFormElement::isSameNode):
22316 (DOMHTMLFormElement::isEqualNode):
22317 (DOMHTMLFormElement::textContent):
22318 (DOMHTMLFormElement::setTextContent):
22319 (DOMHTMLFormElement::boundingBox):
22320 (DOMHTMLFormElement::lineBoxRects):
22321 (DOMHTMLSelectElement::isSameNode):
22322 (DOMHTMLSelectElement::isEqualNode):
22323 (DOMHTMLSelectElement::textContent):
22324 (DOMHTMLSelectElement::setTextContent):
22325 (DOMHTMLSelectElement::boundingBox):
22326 (DOMHTMLSelectElement::lineBoxRects):
22327 (DOMHTMLOptionElement::isSameNode):
22328 (DOMHTMLOptionElement::isEqualNode):
22329 (DOMHTMLOptionElement::textContent):
22330 (DOMHTMLOptionElement::setTextContent):
22331 (DOMHTMLOptionElement::boundingBox):
22332 (DOMHTMLOptionElement::lineBoxRects):
22333 (DOMHTMLInputElement::isSameNode):
22334 (DOMHTMLInputElement::isEqualNode):
22335 (DOMHTMLInputElement::textContent):
22336 (DOMHTMLInputElement::setTextContent):
22337 (DOMHTMLInputElement::boundingBox):
22338 (DOMHTMLInputElement::lineBoxRects):
22339 (DOMHTMLTextAreaElement::isSameNode):
22340 (DOMHTMLTextAreaElement::isEqualNode):
22341 (DOMHTMLTextAreaElement::textContent):
22342 (DOMHTMLTextAreaElement::setTextContent):
22343 (DOMHTMLTextAreaElement::boundingBox):
22344 (DOMHTMLTextAreaElement::lineBoxRects):
22345 * Interfaces/DOMCore.idl:
22346 * Interfaces/IWebFrame.idl:
22347 * Interfaces/IWebHTMLRepresentation.idl: Added.
22348 * Interfaces/IWebViewPrivate.idl:
22349 * WebDataSource.cpp:
22350 (WebDataSource::WebDataSource):
22351 (WebDataSource::~WebDataSource):
22352 (WebDataSource::createInstance):
22353 (WebDataSource::initWithRequest):
22354 (WebDataSource::representation):
22355 (WebDataSource::webFrame):
22358 (formElementFromDOMElement):
22359 (inputElementFromDOMElement):
22360 (WebFrame::webView):
22361 (WebFrame::frameView):
22362 (WebFrame::frameElement):
22363 (WebFrame::elementWithName):
22364 (WebFrame::formForElement):
22365 (WebFrame::elementDoesAutoComplete):
22367 * WebHTMLRepresentation.cpp: Added.
22368 (WebHTMLRepresentation::WebHTMLRepresentation):
22369 (WebHTMLRepresentation::~WebHTMLRepresentation):
22370 (WebHTMLRepresentation::createInstance):
22371 (WebHTMLRepresentation::QueryInterface):
22372 (WebHTMLRepresentation::AddRef):
22373 (WebHTMLRepresentation::Release):
22374 (WebHTMLRepresentation::supportedMIMETypes):
22375 (WebHTMLRepresentation::supportedNonImageMIMETypes):
22376 (WebHTMLRepresentation::supportedImageMIMETypes):
22377 (WebHTMLRepresentation::attributedStringFromDOMNodes):
22378 (WebHTMLRepresentation::elementWithName):
22379 (WebHTMLRepresentation::elementDoesAutoComplete):
22380 (WebHTMLRepresentation::elementIsPassword):
22381 (WebHTMLRepresentation::formForElement):
22382 (WebHTMLRepresentation::currentForm):
22383 (WebHTMLRepresentation::controlsInForm):
22384 (WebHTMLRepresentation::searchForLabels):
22385 (WebHTMLRepresentation::matchLabels):
22386 (WebHTMLRepresentation::setDataSource):
22387 (WebHTMLRepresentation::receivedData):
22388 (WebHTMLRepresentation::receivedError):
22389 (WebHTMLRepresentation::finishedLoadingWithDataSource):
22390 (WebHTMLRepresentation::canProvideDocumentSource):
22391 (WebHTMLRepresentation::documentSource):
22392 (WebHTMLRepresentation::title):
22393 * WebHTMLRepresentation.h: Added.
22394 * WebKit.vcproj/Interfaces.vcproj:
22395 * WebKit.vcproj/WebKit.vcproj:
22396 * WebKit.vcproj/WebKitGUID.vcproj:
22398 (WebView::scrollOffset):
22401 2006-08-23 Ada Chan <adachan@apple.com>
22403 Reviewed by sfalken.
22405 Fixed WebHistory::removeItem() to actually remove the item from history.
22408 (WebHistory::removeItem):
22410 2006-08-22 Steve Falkenburg <sfalken@apple.com>
22412 Reviewed by Lou Amadio.
22414 Interface changes/additions in preparation for forms autofill.
22418 Added missing methods.
22420 IWebViewPrivate.idl
22421 Added calls to set/get FrameLoadDelegatePrivate
22423 IWebScriptObject.idl
22427 WebScriptObject.cpp/.h
22428 DOMCoreClasses.cpp/.h
22429 DOMHTMLClasses.cpp/.h
22431 Added additional DOM interfaces
22434 Fix key handling typo.
22435 Bridge IWebFormDelegate calls.
22436 Bridge IWebFrameLoadDelegatePrivate calls.
22438 TemporaryLinkStubs.cpp
22439 Removed handledOnloadEvents (now implemented).
22442 Bridge IWebFrameLoadDelegatePrivate calls.
22444 * DOMCoreClasses.cpp: Added.
22445 (DOMObject::QueryInterface):
22446 (DOMNode::QueryInterface):
22447 (DOMNode::nodeName):
22448 (DOMNode::nodeValue):
22449 (DOMNode::setNodeValue):
22450 (DOMNode::nodeType):
22451 (DOMNode::parentNode):
22452 (DOMNode::childNodes):
22453 (DOMNode::firstChild):
22454 (DOMNode::lastChild):
22455 (DOMNode::previousSibling):
22456 (DOMNode::nextSibling):
22457 (DOMNode::attributes):
22458 (DOMNode::ownerDocument):
22459 (DOMNode::insertBefore):
22460 (DOMNode::replaceChild):
22461 (DOMNode::removeChild):
22462 (DOMNode::appendChild):
22463 (DOMNode::hasChildNodes):
22464 (DOMNode::cloneNode):
22465 (DOMNode::normalize):
22466 (DOMNode::isSupported):
22467 (DOMNode::namespaceURI):
22469 (DOMNode::setPrefix):
22470 (DOMNode::localName):
22471 (DOMNode::hasAttributes):
22472 (DOMDocument::QueryInterface):
22473 (DOMDocument::doctype):
22474 (DOMDocument::implementation):
22475 (DOMDocument::documentElement):
22476 (DOMDocument::createElement):
22477 (DOMDocument::createDocumentFragment):
22478 (DOMDocument::createTextNode):
22479 (DOMDocument::createComment):
22480 (DOMDocument::createCDATASection):
22481 (DOMDocument::createProcessingInstruction):
22482 (DOMDocument::createAttribute):
22483 (DOMDocument::createEntityReference):
22484 (DOMDocument::getElementsByTagName):
22485 (DOMDocument::importNode):
22486 (DOMDocument::createElementNS):
22487 (DOMDocument::createAttributeNS):
22488 (DOMDocument::getElementsByTagNameNS):
22489 (DOMDocument::getElementById):
22490 (DOMElement::QueryInterface):
22491 (DOMElement::tagName):
22492 (DOMElement::getAttribute):
22493 (DOMElement::setResult):
22494 (DOMElement::removeAttribute):
22495 (DOMElement::getAttributeNode):
22496 (DOMElement::setAttributeNode):
22497 (DOMElement::removeAttributeNode):
22498 (DOMElement::getElementsByTagName):
22499 (DOMElement::getAttributeNS):
22500 (DOMElement::setAttributeNS):
22501 (DOMElement::removeAttributeNS):
22502 (DOMElement::getAttributeNodeNS):
22503 (DOMElement::setAttributeNodeNS):
22504 (DOMElement::getElementsByTagNameNS):
22505 (DOMElement::hasAttribute):
22506 (DOMElement::hasAttributeNS):
22507 (DOMElement::DOMElement):
22508 (DOMElement::~DOMElement):
22509 (DOMElement::createInstance):
22510 * DOMCoreClasses.h: Added.
22511 (DOMObject::AddRef):
22512 (DOMObject::Release):
22513 (DOMObject::throwException):
22514 (DOMObject::callWebScriptMethod):
22515 (DOMObject::evaluateWebScript):
22516 (DOMObject::removeWebScriptKey):
22517 (DOMObject::stringRepresentation):
22518 (DOMObject::webScriptValueAtIndex):
22519 (DOMObject::setWebScriptValueAtIndex):
22520 (DOMObject::setException):
22522 (DOMNode::Release):
22523 (DOMNode::throwException):
22524 (DOMNode::callWebScriptMethod):
22525 (DOMNode::evaluateWebScript):
22526 (DOMNode::removeWebScriptKey):
22527 (DOMNode::stringRepresentation):
22528 (DOMNode::webScriptValueAtIndex):
22529 (DOMNode::setWebScriptValueAtIndex):
22530 (DOMNode::setException):
22531 (DOMDocument::AddRef):
22532 (DOMDocument::Release):
22533 (DOMDocument::throwException):
22534 (DOMDocument::callWebScriptMethod):
22535 (DOMDocument::evaluateWebScript):
22536 (DOMDocument::removeWebScriptKey):
22537 (DOMDocument::stringRepresentation):
22538 (DOMDocument::webScriptValueAtIndex):
22539 (DOMDocument::setWebScriptValueAtIndex):
22540 (DOMDocument::setException):
22541 (DOMDocument::nodeName):
22542 (DOMDocument::nodeValue):
22543 (DOMDocument::setNodeValue):
22544 (DOMDocument::nodeType):
22545 (DOMDocument::parentNode):
22546 (DOMDocument::childNodes):
22547 (DOMDocument::firstChild):
22548 (DOMDocument::lastChild):
22549 (DOMDocument::previousSibling):
22550 (DOMDocument::nextSibling):
22551 (DOMDocument::attributes):
22552 (DOMDocument::ownerDocument):
22553 (DOMDocument::insertBefore):
22554 (DOMDocument::replaceChild):
22555 (DOMDocument::removeChild):
22556 (DOMDocument::appendChild):
22557 (DOMDocument::hasChildNodes):
22558 (DOMDocument::cloneNode):
22559 (DOMDocument::normalize):
22560 (DOMDocument::isSupported):
22561 (DOMDocument::namespaceURI):
22562 (DOMDocument::prefix):
22563 (DOMDocument::setPrefix):
22564 (DOMDocument::localName):
22565 (DOMDocument::hasAttributes):
22566 (DOMElement::AddRef):
22567 (DOMElement::Release):
22568 (DOMElement::throwException):
22569 (DOMElement::callWebScriptMethod):
22570 (DOMElement::evaluateWebScript):
22571 (DOMElement::removeWebScriptKey):
22572 (DOMElement::stringRepresentation):
22573 (DOMElement::webScriptValueAtIndex):
22574 (DOMElement::setWebScriptValueAtIndex):
22575 (DOMElement::setException):
22576 (DOMElement::nodeName):
22577 (DOMElement::nodeValue):
22578 (DOMElement::setNodeValue):
22579 (DOMElement::nodeType):
22580 (DOMElement::parentNode):
22581 (DOMElement::childNodes):
22582 (DOMElement::firstChild):
22583 (DOMElement::lastChild):
22584 (DOMElement::previousSibling):
22585 (DOMElement::nextSibling):
22586 (DOMElement::attributes):
22587 (DOMElement::ownerDocument):
22588 (DOMElement::insertBefore):
22589 (DOMElement::replaceChild):
22590 (DOMElement::removeChild):
22591 (DOMElement::appendChild):
22592 (DOMElement::hasChildNodes):
22593 (DOMElement::cloneNode):
22594 (DOMElement::normalize):
22595 (DOMElement::isSupported):
22596 (DOMElement::namespaceURI):
22597 (DOMElement::prefix):
22598 (DOMElement::setPrefix):
22599 (DOMElement::localName):
22600 (DOMElement::hasAttributes):
22601 * DOMHTMLClasses.cpp: Added.
22602 (DOMHTMLCollection::QueryInterface):
22603 (DOMHTMLCollection::length):
22604 (DOMHTMLCollection::item):
22605 (DOMHTMLCollection::namedItem):
22606 (DOMHTMLOptionsCollection::QueryInterface):
22607 (DOMHTMLOptionsCollection::length):
22608 (DOMHTMLOptionsCollection::setLength):
22609 (DOMHTMLOptionsCollection::item):
22610 (DOMHTMLOptionsCollection::namedItem):
22611 (DOMHTMLDocument::QueryInterface):
22612 (DOMHTMLDocument::title):
22613 (DOMHTMLDocument::setTitle):
22614 (DOMHTMLDocument::referrer):
22615 (DOMHTMLDocument::domain):
22616 (DOMHTMLDocument::URL):
22617 (DOMHTMLDocument::body):
22618 (DOMHTMLDocument::setBody):
22619 (DOMHTMLDocument::images):
22620 (DOMHTMLDocument::applets):
22621 (DOMHTMLDocument::links):
22622 (DOMHTMLDocument::forms):
22623 (DOMHTMLDocument::anchors):
22624 (DOMHTMLDocument::cookie):
22625 (DOMHTMLDocument::setCookie):
22626 (DOMHTMLDocument::open):
22627 (DOMHTMLDocument::close):
22628 (DOMHTMLDocument::write):
22629 (DOMHTMLDocument::writeln):
22630 (DOMHTMLDocument::getElementById_):
22631 (DOMHTMLDocument::getElementsByName):
22632 (DOMHTMLElement::QueryInterface):
22633 (DOMHTMLElement::idName):
22634 (DOMHTMLElement::setIdName):
22635 (DOMHTMLElement::title):
22636 (DOMHTMLElement::setTitle):
22637 (DOMHTMLElement::lang):
22638 (DOMHTMLElement::setLang):
22639 (DOMHTMLElement::dir):
22640 (DOMHTMLElement::setDir):
22641 (DOMHTMLElement::className):
22642 (DOMHTMLElement::setClassName):
22643 (DOMHTMLFormElement::QueryInterface):
22644 (DOMHTMLFormElement::elements):
22645 (DOMHTMLFormElement::length):
22646 (DOMHTMLFormElement::name):
22647 (DOMHTMLFormElement::setName):
22648 (DOMHTMLFormElement::acceptCharset):
22649 (DOMHTMLFormElement::setAcceptCharset):
22650 (DOMHTMLFormElement::action):
22651 (DOMHTMLFormElement::setAction):
22652 (DOMHTMLFormElement::encType):
22653 (DOMHTMLFormElement::setEnctype):
22654 (DOMHTMLFormElement::method):
22655 (DOMHTMLFormElement::setMethod):
22656 (DOMHTMLFormElement::target):
22657 (DOMHTMLFormElement::setTarget):
22658 (DOMHTMLFormElement::submit):
22659 (DOMHTMLFormElement::reset):
22660 (DOMHTMLSelectElement::QueryInterface):
22661 (DOMHTMLSelectElement::type):
22662 (DOMHTMLSelectElement::selectedIndex):
22663 (DOMHTMLSelectElement::setSelectedIndx):
22664 (DOMHTMLSelectElement::value):
22665 (DOMHTMLSelectElement::setValue):
22666 (DOMHTMLSelectElement::length):
22667 (DOMHTMLSelectElement::form):
22668 (DOMHTMLSelectElement::options):
22669 (DOMHTMLSelectElement::disabled):
22670 (DOMHTMLSelectElement::setDisabled):
22671 (DOMHTMLSelectElement::multiple):
22672 (DOMHTMLSelectElement::setMultiple):
22673 (DOMHTMLSelectElement::name):
22674 (DOMHTMLSelectElement::setName):
22675 (DOMHTMLSelectElement::size):
22676 (DOMHTMLSelectElement::setSize):
22677 (DOMHTMLSelectElement::tabIndex):
22678 (DOMHTMLSelectElement::setTabIndex):
22679 (DOMHTMLSelectElement::add):
22680 (DOMHTMLSelectElement::remove):
22681 (DOMHTMLSelectElement::blur):
22682 (DOMHTMLSelectElement::focus):
22683 (DOMHTMLOptionElement::QueryInterface):
22684 (DOMHTMLOptionElement::form):
22685 (DOMHTMLOptionElement::defaultSelected):
22686 (DOMHTMLOptionElement::setDefaultSelected):
22687 (DOMHTMLOptionElement::text):
22688 (DOMHTMLOptionElement::index):
22689 (DOMHTMLOptionElement::disabled):
22690 (DOMHTMLOptionElement::setDisabled):
22691 (DOMHTMLOptionElement::label):
22692 (DOMHTMLOptionElement::setLabel):
22693 (DOMHTMLOptionElement::selected):
22694 (DOMHTMLOptionElement::setSelected):
22695 (DOMHTMLOptionElement::value):
22696 (DOMHTMLOptionElement::setValue):
22697 (DOMHTMLInputElement::QueryInterface):
22698 (DOMHTMLInputElement::defaultValue):
22699 (DOMHTMLInputElement::setDefaultValue):
22700 (DOMHTMLInputElement::defaultChecked):
22701 (DOMHTMLInputElement::setDefaultChecked):
22702 (DOMHTMLInputElement::form):
22703 (DOMHTMLInputElement::accept):
22704 (DOMHTMLInputElement::setAccept):
22705 (DOMHTMLInputElement::accessKey):
22706 (DOMHTMLInputElement::setAccessKey):
22707 (DOMHTMLInputElement::align):
22708 (DOMHTMLInputElement::setAlign):
22709 (DOMHTMLInputElement::alt):
22710 (DOMHTMLInputElement::setAlt):
22711 (DOMHTMLInputElement::checked):
22712 (DOMHTMLInputElement::setChecked):
22713 (DOMHTMLInputElement::disabled):
22714 (DOMHTMLInputElement::setDisabled):
22715 (DOMHTMLInputElement::maxLength):
22716 (DOMHTMLInputElement::setMaxLength):
22717 (DOMHTMLInputElement::name):
22718 (DOMHTMLInputElement::setName):
22719 (DOMHTMLInputElement::readOnly):
22720 (DOMHTMLInputElement::setReadOnly):
22721 (DOMHTMLInputElement::size):
22722 (DOMHTMLInputElement::setSize):
22723 (DOMHTMLInputElement::src):
22724 (DOMHTMLInputElement::setSrc):
22725 (DOMHTMLInputElement::tabIndex):
22726 (DOMHTMLInputElement::setTabIndex):
22727 (DOMHTMLInputElement::type):
22728 (DOMHTMLInputElement::setType):
22729 (DOMHTMLInputElement::useMap):
22730 (DOMHTMLInputElement::setUseMap):
22731 (DOMHTMLInputElement::value):
22732 (DOMHTMLInputElement::setValue):
22733 (DOMHTMLInputElement::blur):
22734 (DOMHTMLInputElement::focus):
22735 (DOMHTMLInputElement::select):
22736 (DOMHTMLInputElement::click):
22737 (DOMHTMLTextAreaElement::QueryInterface):
22738 (DOMHTMLTextAreaElement::defaultValue):
22739 (DOMHTMLTextAreaElement::setDefaultValue):
22740 (DOMHTMLTextAreaElement::form):
22741 (DOMHTMLTextAreaElement::accessKey):
22742 (DOMHTMLTextAreaElement::setAccessKey):
22743 (DOMHTMLTextAreaElement::cols):
22744 (DOMHTMLTextAreaElement::setCols):
22745 (DOMHTMLTextAreaElement::disabled):
22746 (DOMHTMLTextAreaElement::setDisabled):
22747 (DOMHTMLTextAreaElement::name):
22748 (DOMHTMLTextAreaElement::setName):
22749 (DOMHTMLTextAreaElement::readOnly):
22750 (DOMHTMLTextAreaElement::setReadOnly):
22751 (DOMHTMLTextAreaElement::rows):
22752 (DOMHTMLTextAreaElement::setRows):
22753 (DOMHTMLTextAreaElement::tabIndex):
22754 (DOMHTMLTextAreaElement::setTabIndex):
22755 (DOMHTMLTextAreaElement::type):
22756 (DOMHTMLTextAreaElement::value):
22757 (DOMHTMLTextAreaElement::setValue):
22758 (DOMHTMLTextAreaElement::blur):
22759 (DOMHTMLTextAreaElement::focus):
22760 (DOMHTMLTextAreaElement::select):
22761 * DOMHTMLClasses.h: Added.
22762 (DOMHTMLCollection::AddRef):
22763 (DOMHTMLCollection::Release):
22764 (DOMHTMLCollection::throwException):
22765 (DOMHTMLCollection::callWebScriptMethod):
22766 (DOMHTMLCollection::evaluateWebScript):
22767 (DOMHTMLCollection::removeWebScriptKey):
22768 (DOMHTMLCollection::stringRepresentation):
22769 (DOMHTMLCollection::webScriptValueAtIndex):
22770 (DOMHTMLCollection::setWebScriptValueAtIndex):
22771 (DOMHTMLCollection::setException):
22772 (DOMHTMLOptionsCollection::AddRef):
22773 (DOMHTMLOptionsCollection::Release):
22774 (DOMHTMLOptionsCollection::throwException):
22775 (DOMHTMLOptionsCollection::callWebScriptMethod):
22776 (DOMHTMLOptionsCollection::evaluateWebScript):
22777 (DOMHTMLOptionsCollection::removeWebScriptKey):
22778 (DOMHTMLOptionsCollection::stringRepresentation):
22779 (DOMHTMLOptionsCollection::webScriptValueAtIndex):
22780 (DOMHTMLOptionsCollection::setWebScriptValueAtIndex):
22781 (DOMHTMLOptionsCollection::setException):
22782 (DOMHTMLDocument::AddRef):
22783 (DOMHTMLDocument::Release):
22784 (DOMHTMLDocument::throwException):
22785 (DOMHTMLDocument::callWebScriptMethod):
22786 (DOMHTMLDocument::evaluateWebScript):
22787 (DOMHTMLDocument::removeWebScriptKey):
22788 (DOMHTMLDocument::stringRepresentation):
22789 (DOMHTMLDocument::webScriptValueAtIndex):
22790 (DOMHTMLDocument::setWebScriptValueAtIndex):
22791 (DOMHTMLDocument::setException):
22792 (DOMHTMLDocument::nodeName):
22793 (DOMHTMLDocument::nodeValue):
22794 (DOMHTMLDocument::setNodeValue):
22795 (DOMHTMLDocument::nodeType):
22796 (DOMHTMLDocument::parentNode):
22797 (DOMHTMLDocument::childNodes):
22798 (DOMHTMLDocument::firstChild):
22799 (DOMHTMLDocument::lastChild):
22800 (DOMHTMLDocument::previousSibling):
22801 (DOMHTMLDocument::nextSibling):
22802 (DOMHTMLDocument::attributes):
22803 (DOMHTMLDocument::ownerDocument):
22804 (DOMHTMLDocument::insertBefore):
22805 (DOMHTMLDocument::replaceChild):
22806 (DOMHTMLDocument::removeChild):
22807 (DOMHTMLDocument::appendChild):
22808 (DOMHTMLDocument::hasChildNodes):
22809 (DOMHTMLDocument::cloneNode):
22810 (DOMHTMLDocument::normalize):
22811 (DOMHTMLDocument::isSupported):
22812 (DOMHTMLDocument::namespaceURI):
22813 (DOMHTMLDocument::prefix):
22814 (DOMHTMLDocument::setPrefix):
22815 (DOMHTMLDocument::localName):
22816 (DOMHTMLDocument::hasAttributes):
22817 (DOMHTMLElement::DOMHTMLElement):
22818 (DOMHTMLElement::AddRef):
22819 (DOMHTMLElement::Release):
22820 (DOMHTMLElement::throwException):
22821 (DOMHTMLElement::callWebScriptMethod):
22822 (DOMHTMLElement::evaluateWebScript):
22823 (DOMHTMLElement::removeWebScriptKey):
22824 (DOMHTMLElement::stringRepresentation):
22825 (DOMHTMLElement::webScriptValueAtIndex):
22826 (DOMHTMLElement::setWebScriptValueAtIndex):
22827 (DOMHTMLElement::setException):
22828 (DOMHTMLElement::nodeName):
22829 (DOMHTMLElement::nodeValue):
22830 (DOMHTMLElement::setNodeValue):
22831 (DOMHTMLElement::nodeType):
22832 (DOMHTMLElement::parentNode):
22833 (DOMHTMLElement::childNodes):
22834 (DOMHTMLElement::firstChild):
22835 (DOMHTMLElement::lastChild):
22836 (DOMHTMLElement::previousSibling):
22837 (DOMHTMLElement::nextSibling):
22838 (DOMHTMLElement::attributes):
22839 (DOMHTMLElement::ownerDocument):
22840 (DOMHTMLElement::insertBefore):
22841 (DOMHTMLElement::replaceChild):
22842 (DOMHTMLElement::removeChild):
22843 (DOMHTMLElement::appendChild):
22844 (DOMHTMLElement::hasChildNodes):
22845 (DOMHTMLElement::cloneNode):
22846 (DOMHTMLElement::normalize):
22847 (DOMHTMLElement::isSupported):
22848 (DOMHTMLElement::namespaceURI):
22849 (DOMHTMLElement::prefix):
22850 (DOMHTMLElement::setPrefix):
22851 (DOMHTMLElement::localName):
22852 (DOMHTMLElement::hasAttributes):
22853 (DOMHTMLElement::tagName):
22854 (DOMHTMLElement::getAttribute):
22855 (DOMHTMLElement::setResult):
22856 (DOMHTMLElement::removeAttribute):
22857 (DOMHTMLElement::getAttributeNode):
22858 (DOMHTMLElement::setAttributeNode):
22859 (DOMHTMLElement::removeAttributeNode):
22860 (DOMHTMLElement::getElementsByTagName):
22861 (DOMHTMLElement::getAttributeNS):
22862 (DOMHTMLElement::setAttributeNS):
22863 (DOMHTMLElement::removeAttributeNS):
22864 (DOMHTMLElement::getAttributeNodeNS):
22865 (DOMHTMLElement::setAttributeNodeNS):
22866 (DOMHTMLElement::getElementsByTagNameNS):
22867 (DOMHTMLElement::hasAttribute):
22868 (DOMHTMLElement::hasAttributeNS):
22869 (DOMHTMLFormElement::DOMHTMLFormElement):
22870 (DOMHTMLFormElement::AddRef):
22871 (DOMHTMLFormElement::Release):
22872 (DOMHTMLFormElement::throwException):
22873 (DOMHTMLFormElement::callWebScriptMethod):
22874 (DOMHTMLFormElement::evaluateWebScript):
22875 (DOMHTMLFormElement::removeWebScriptKey):
22876 (DOMHTMLFormElement::stringRepresentation):
22877 (DOMHTMLFormElement::webScriptValueAtIndex):
22878 (DOMHTMLFormElement::setWebScriptValueAtIndex):
22879 (DOMHTMLFormElement::setException):
22880 (DOMHTMLFormElement::nodeName):
22881 (DOMHTMLFormElement::nodeValue):
22882 (DOMHTMLFormElement::setNodeValue):
22883 (DOMHTMLFormElement::nodeType):
22884 (DOMHTMLFormElement::parentNode):
22885 (DOMHTMLFormElement::childNodes):
22886 (DOMHTMLFormElement::firstChild):
22887 (DOMHTMLFormElement::lastChild):
22888 (DOMHTMLFormElement::previousSibling):
22889 (DOMHTMLFormElement::nextSibling):
22890 (DOMHTMLFormElement::attributes):
22891 (DOMHTMLFormElement::ownerDocument):
22892 (DOMHTMLFormElement::insertBefore):
22893 (DOMHTMLFormElement::replaceChild):
22894 (DOMHTMLFormElement::removeChild):
22895 (DOMHTMLFormElement::appendChild):
22896 (DOMHTMLFormElement::hasChildNodes):
22897 (DOMHTMLFormElement::cloneNode):
22898 (DOMHTMLFormElement::normalize):
22899 (DOMHTMLFormElement::isSupported):
22900 (DOMHTMLFormElement::namespaceURI):
22901 (DOMHTMLFormElement::prefix):
22902 (DOMHTMLFormElement::setPrefix):
22903 (DOMHTMLFormElement::localName):
22904 (DOMHTMLFormElement::hasAttributes):
22905 (DOMHTMLFormElement::tagName):
22906 (DOMHTMLFormElement::getAttribute):
22907 (DOMHTMLFormElement::setResult):
22908 (DOMHTMLFormElement::removeAttribute):
22909 (DOMHTMLFormElement::getAttributeNode):
22910 (DOMHTMLFormElement::setAttributeNode):
22911 (DOMHTMLFormElement::removeAttributeNode):
22912 (DOMHTMLFormElement::getElementsByTagName):
22913 (DOMHTMLFormElement::getAttributeNS):
22914 (DOMHTMLFormElement::setAttributeNS):
22915 (DOMHTMLFormElement::removeAttributeNS):
22916 (DOMHTMLFormElement::getAttributeNodeNS):
22917 (DOMHTMLFormElement::setAttributeNodeNS):
22918 (DOMHTMLFormElement::getElementsByTagNameNS):
22919 (DOMHTMLFormElement::hasAttribute):
22920 (DOMHTMLFormElement::hasAttributeNS):
22921 (DOMHTMLFormElement::idName):
22922 (DOMHTMLFormElement::setIdName):
22923 (DOMHTMLFormElement::title):
22924 (DOMHTMLFormElement::setTitle):
22925 (DOMHTMLFormElement::lang):
22926 (DOMHTMLFormElement::setLang):
22927 (DOMHTMLFormElement::dir):
22928 (DOMHTMLFormElement::setDir):
22929 (DOMHTMLFormElement::className):
22930 (DOMHTMLFormElement::setClassName):
22931 (DOMHTMLSelectElement::DOMHTMLSelectElement):
22932 (DOMHTMLSelectElement::AddRef):
22933 (DOMHTMLSelectElement::Release):
22934 (DOMHTMLSelectElement::throwException):
22935 (DOMHTMLSelectElement::callWebScriptMethod):
22936 (DOMHTMLSelectElement::evaluateWebScript):
22937 (DOMHTMLSelectElement::removeWebScriptKey):
22938 (DOMHTMLSelectElement::stringRepresentation):
22939 (DOMHTMLSelectElement::webScriptValueAtIndex):
22940 (DOMHTMLSelectElement::setWebScriptValueAtIndex):
22941 (DOMHTMLSelectElement::setException):
22942 (DOMHTMLSelectElement::nodeName):
22943 (DOMHTMLSelectElement::nodeValue):
22944 (DOMHTMLSelectElement::setNodeValue):
22945 (DOMHTMLSelectElement::nodeType):
22946 (DOMHTMLSelectElement::parentNode):
22947 (DOMHTMLSelectElement::childNodes):
22948 (DOMHTMLSelectElement::firstChild):
22949 (DOMHTMLSelectElement::lastChild):
22950 (DOMHTMLSelectElement::previousSibling):
22951 (DOMHTMLSelectElement::nextSibling):
22952 (DOMHTMLSelectElement::attributes):
22953 (DOMHTMLSelectElement::ownerDocument):
22954 (DOMHTMLSelectElement::insertBefore):
22955 (DOMHTMLSelectElement::replaceChild):
22956 (DOMHTMLSelectElement::removeChild):
22957 (DOMHTMLSelectElement::appendChild):
22958 (DOMHTMLSelectElement::hasChildNodes):
22959 (DOMHTMLSelectElement::cloneNode):
22960 (DOMHTMLSelectElement::normalize):
22961 (DOMHTMLSelectElement::isSupported):
22962 (DOMHTMLSelectElement::namespaceURI):
22963 (DOMHTMLSelectElement::prefix):
22964 (DOMHTMLSelectElement::setPrefix):
22965 (DOMHTMLSelectElement::localName):
22966 (DOMHTMLSelectElement::hasAttributes):
22967 (DOMHTMLSelectElement::tagName):
22968 (DOMHTMLSelectElement::getAttribute):
22969 (DOMHTMLSelectElement::setResult):
22970 (DOMHTMLSelectElement::removeAttribute):
22971 (DOMHTMLSelectElement::getAttributeNode):
22972 (DOMHTMLSelectElement::setAttributeNode):
22973 (DOMHTMLSelectElement::removeAttributeNode):
22974 (DOMHTMLSelectElement::getElementsByTagName):
22975 (DOMHTMLSelectElement::getAttributeNS):
22976 (DOMHTMLSelectElement::setAttributeNS):
22977 (DOMHTMLSelectElement::removeAttributeNS):
22978 (DOMHTMLSelectElement::getAttributeNodeNS):
22979 (DOMHTMLSelectElement::setAttributeNodeNS):
22980 (DOMHTMLSelectElement::getElementsByTagNameNS):
22981 (DOMHTMLSelectElement::hasAttribute):
22982 (DOMHTMLSelectElement::hasAttributeNS):
22983 (DOMHTMLSelectElement::idName):
22984 (DOMHTMLSelectElement::setIdName):
22985 (DOMHTMLSelectElement::title):
22986 (DOMHTMLSelectElement::setTitle):
22987 (DOMHTMLSelectElement::lang):
22988 (DOMHTMLSelectElement::setLang):
22989 (DOMHTMLSelectElement::dir):
22990 (DOMHTMLSelectElement::setDir):
22991 (DOMHTMLSelectElement::className):
22992 (DOMHTMLSelectElement::setClassName):
22993 (DOMHTMLOptionElement::DOMHTMLOptionElement):
22994 (DOMHTMLOptionElement::AddRef):
22995 (DOMHTMLOptionElement::Release):
22996 (DOMHTMLOptionElement::throwException):
22997 (DOMHTMLOptionElement::callWebScriptMethod):
22998 (DOMHTMLOptionElement::evaluateWebScript):
22999 (DOMHTMLOptionElement::removeWebScriptKey):
23000 (DOMHTMLOptionElement::stringRepresentation):
23001 (DOMHTMLOptionElement::webScriptValueAtIndex):
23002 (DOMHTMLOptionElement::setWebScriptValueAtIndex):
23003 (DOMHTMLOptionElement::setException):
23004 (DOMHTMLOptionElement::nodeName):
23005 (DOMHTMLOptionElement::nodeValue):
23006 (DOMHTMLOptionElement::setNodeValue):
23007 (DOMHTMLOptionElement::nodeType):
23008 (DOMHTMLOptionElement::parentNode):
23009 (DOMHTMLOptionElement::childNodes):
23010 (DOMHTMLOptionElement::firstChild):
23011 (DOMHTMLOptionElement::lastChild):
23012 (DOMHTMLOptionElement::previousSibling):
23013 (DOMHTMLOptionElement::nextSibling):
23014 (DOMHTMLOptionElement::attributes):
23015 (DOMHTMLOptionElement::ownerDocument):
23016 (DOMHTMLOptionElement::insertBefore):
23017 (DOMHTMLOptionElement::replaceChild):
23018 (DOMHTMLOptionElement::removeChild):
23019 (DOMHTMLOptionElement::appendChild):
23020 (DOMHTMLOptionElement::hasChildNodes):
23021 (DOMHTMLOptionElement::cloneNode):
23022 (DOMHTMLOptionElement::normalize):
23023 (DOMHTMLOptionElement::isSupported):
23024 (DOMHTMLOptionElement::namespaceURI):
23025 (DOMHTMLOptionElement::prefix):
23026 (DOMHTMLOptionElement::setPrefix):
23027 (DOMHTMLOptionElement::localName):
23028 (DOMHTMLOptionElement::hasAttributes):
23029 (DOMHTMLOptionElement::tagName):
23030 (DOMHTMLOptionElement::getAttribute):
23031 (DOMHTMLOptionElement::setResult):
23032 (DOMHTMLOptionElement::removeAttribute):
23033 (DOMHTMLOptionElement::getAttributeNode):
23034 (DOMHTMLOptionElement::setAttributeNode):
23035 (DOMHTMLOptionElement::removeAttributeNode):
23036 (DOMHTMLOptionElement::getElementsByTagName):
23037 (DOMHTMLOptionElement::getAttributeNS):
23038 (DOMHTMLOptionElement::setAttributeNS):
23039 (DOMHTMLOptionElement::removeAttributeNS):
23040 (DOMHTMLOptionElement::getAttributeNodeNS):
23041 (DOMHTMLOptionElement::setAttributeNodeNS):
23042 (DOMHTMLOptionElement::getElementsByTagNameNS):
23043 (DOMHTMLOptionElement::hasAttribute):
23044 (DOMHTMLOptionElement::hasAttributeNS):
23045 (DOMHTMLOptionElement::idName):
23046 (DOMHTMLOptionElement::setIdName):
23047 (DOMHTMLOptionElement::title):
23048 (DOMHTMLOptionElement::setTitle):
23049 (DOMHTMLOptionElement::lang):
23050 (DOMHTMLOptionElement::setLang):
23051 (DOMHTMLOptionElement::dir):
23052 (DOMHTMLOptionElement::setDir):
23053 (DOMHTMLOptionElement::className):
23054 (DOMHTMLOptionElement::setClassName):
23055 (DOMHTMLInputElement::DOMHTMLInputElement):
23056 (DOMHTMLInputElement::AddRef):
23057 (DOMHTMLInputElement::Release):
23058 (DOMHTMLInputElement::throwException):
23059 (DOMHTMLInputElement::callWebScriptMethod):
23060 (DOMHTMLInputElement::evaluateWebScript):
23061 (DOMHTMLInputElement::removeWebScriptKey):
23062 (DOMHTMLInputElement::stringRepresentation):
23063 (DOMHTMLInputElement::webScriptValueAtIndex):
23064 (DOMHTMLInputElement::setWebScriptValueAtIndex):
23065 (DOMHTMLInputElement::setException):
23066 (DOMHTMLInputElement::nodeName):
23067 (DOMHTMLInputElement::nodeValue):
23068 (DOMHTMLInputElement::setNodeValue):
23069 (DOMHTMLInputElement::nodeType):
23070 (DOMHTMLInputElement::parentNode):
23071 (DOMHTMLInputElement::childNodes):
23072 (DOMHTMLInputElement::firstChild):
23073 (DOMHTMLInputElement::lastChild):
23074 (DOMHTMLInputElement::previousSibling):
23075 (DOMHTMLInputElement::nextSibling):
23076 (DOMHTMLInputElement::attributes):
23077 (DOMHTMLInputElement::ownerDocument):
23078 (DOMHTMLInputElement::insertBefore):
23079 (DOMHTMLInputElement::replaceChild):
23080 (DOMHTMLInputElement::removeChild):
23081 (DOMHTMLInputElement::appendChild):
23082 (DOMHTMLInputElement::hasChildNodes):
23083 (DOMHTMLInputElement::cloneNode):
23084 (DOMHTMLInputElement::normalize):
23085 (DOMHTMLInputElement::isSupported):
23086 (DOMHTMLInputElement::namespaceURI):
23087 (DOMHTMLInputElement::prefix):
23088 (DOMHTMLInputElement::setPrefix):
23089 (DOMHTMLInputElement::localName):
23090 (DOMHTMLInputElement::hasAttributes):
23091 (DOMHTMLInputElement::tagName):
23092 (DOMHTMLInputElement::getAttribute):
23093 (DOMHTMLInputElement::setResult):
23094 (DOMHTMLInputElement::removeAttribute):
23095 (DOMHTMLInputElement::getAttributeNode):
23096 (DOMHTMLInputElement::setAttributeNode):
23097 (DOMHTMLInputElement::removeAttributeNode):
23098 (DOMHTMLInputElement::getElementsByTagName):
23099 (DOMHTMLInputElement::getAttributeNS):
23100 (DOMHTMLInputElement::setAttributeNS):
23101 (DOMHTMLInputElement::removeAttributeNS):
23102 (DOMHTMLInputElement::getAttributeNodeNS):
23103 (DOMHTMLInputElement::setAttributeNodeNS):
23104 (DOMHTMLInputElement::getElementsByTagNameNS):
23105 (DOMHTMLInputElement::hasAttribute):
23106 (DOMHTMLInputElement::hasAttributeNS):
23107 (DOMHTMLInputElement::idName):
23108 (DOMHTMLInputElement::setIdName):
23109 (DOMHTMLInputElement::title):
23110 (DOMHTMLInputElement::setTitle):
23111 (DOMHTMLInputElement::lang):
23112 (DOMHTMLInputElement::setLang):
23113 (DOMHTMLInputElement::dir):
23114 (DOMHTMLInputElement::setDir):
23115 (DOMHTMLInputElement::className):
23116 (DOMHTMLInputElement::setClassName):
23117 (DOMHTMLTextAreaElement::DOMHTMLTextAreaElement):
23118 (DOMHTMLTextAreaElement::AddRef):
23119 (DOMHTMLTextAreaElement::Release):
23120 (DOMHTMLTextAreaElement::throwException):
23121 (DOMHTMLTextAreaElement::callWebScriptMethod):
23122 (DOMHTMLTextAreaElement::evaluateWebScript):
23123 (DOMHTMLTextAreaElement::removeWebScriptKey):
23124 (DOMHTMLTextAreaElement::stringRepresentation):
23125 (DOMHTMLTextAreaElement::webScriptValueAtIndex):
23126 (DOMHTMLTextAreaElement::setWebScriptValueAtIndex):
23127 (DOMHTMLTextAreaElement::setException):
23128 (DOMHTMLTextAreaElement::nodeName):
23129 (DOMHTMLTextAreaElement::nodeValue):
23130 (DOMHTMLTextAreaElement::setNodeValue):
23131 (DOMHTMLTextAreaElement::nodeType):
23132 (DOMHTMLTextAreaElement::parentNode):
23133 (DOMHTMLTextAreaElement::childNodes):
23134 (DOMHTMLTextAreaElement::firstChild):
23135 (DOMHTMLTextAreaElement::lastChild):
23136 (DOMHTMLTextAreaElement::previousSibling):
23137 (DOMHTMLTextAreaElement::nextSibling):
23138 (DOMHTMLTextAreaElement::attributes):
23139 (DOMHTMLTextAreaElement::ownerDocument):
23140 (DOMHTMLTextAreaElement::insertBefore):
23141 (DOMHTMLTextAreaElement::replaceChild):
23142 (DOMHTMLTextAreaElement::removeChild):
23143 (DOMHTMLTextAreaElement::appendChild):
23144 (DOMHTMLTextAreaElement::hasChildNodes):
23145 (DOMHTMLTextAreaElement::cloneNode):
23146 (DOMHTMLTextAreaElement::normalize):
23147 (DOMHTMLTextAreaElement::isSupported):
23148 (DOMHTMLTextAreaElement::namespaceURI):
23149 (DOMHTMLTextAreaElement::prefix):
23150 (DOMHTMLTextAreaElement::setPrefix):
23151 (DOMHTMLTextAreaElement::localName):
23152 (DOMHTMLTextAreaElement::hasAttributes):
23153 (DOMHTMLTextAreaElement::tagName):
23154 (DOMHTMLTextAreaElement::getAttribute):
23155 (DOMHTMLTextAreaElement::setResult):
23156 (DOMHTMLTextAreaElement::removeAttribute):
23157 (DOMHTMLTextAreaElement::getAttributeNode):
23158 (DOMHTMLTextAreaElement::setAttributeNode):
23159 (DOMHTMLTextAreaElement::removeAttributeNode):
23160 (DOMHTMLTextAreaElement::getElementsByTagName):
23161 (DOMHTMLTextAreaElement::getAttributeNS):
23162 (DOMHTMLTextAreaElement::setAttributeNS):
23163 (DOMHTMLTextAreaElement::removeAttributeNS):
23164 (DOMHTMLTextAreaElement::getAttributeNodeNS):
23165 (DOMHTMLTextAreaElement::setAttributeNodeNS):
23166 (DOMHTMLTextAreaElement::getElementsByTagNameNS):
23167 (DOMHTMLTextAreaElement::hasAttribute):
23168 (DOMHTMLTextAreaElement::hasAttributeNS):
23169 (DOMHTMLTextAreaElement::idName):
23170 (DOMHTMLTextAreaElement::setIdName):
23171 (DOMHTMLTextAreaElement::title):
23172 (DOMHTMLTextAreaElement::setTitle):
23173 (DOMHTMLTextAreaElement::lang):
23174 (DOMHTMLTextAreaElement::setLang):
23175 (DOMHTMLTextAreaElement::dir):
23176 (DOMHTMLTextAreaElement::setDir):
23177 (DOMHTMLTextAreaElement::className):
23178 (DOMHTMLTextAreaElement::setClassName):
23179 * Interfaces/DOMHTML.idl:
23180 * Interfaces/IWebScriptObject.idl:
23182 (WebFrame::openURL):
23183 (WebFrame::textFieldDidBeginEditing):
23184 (WebFrame::textFieldDidEndEditing):
23185 (WebFrame::textDidChangeInTextField):
23186 (WebFrame::doTextFieldCommandFromEvent):
23187 (WebFrame::textWillBeDeletedInTextField):
23188 (WebFrame::textDidChangeInTextArea):
23189 * WebKit.vcproj/WebKit.vcproj:
23190 * WebScriptObject.cpp: Added.
23191 (WebScriptObject::WebScriptObject):
23192 (WebScriptObject::~WebScriptObject):
23193 (WebScriptObject::QueryInterface):
23194 (WebScriptObject::AddRef):
23195 (WebScriptObject::Release):
23196 (WebScriptObject::throwException):
23197 (WebScriptObject::callWebScriptMethod):
23198 (WebScriptObject::evaluateWebScript):
23199 (WebScriptObject::removeWebScriptKey):
23200 (WebScriptObject::stringRepresentation):
23201 (WebScriptObject::webScriptValueAtIndex):
23202 (WebScriptObject::setWebScriptValueAtIndex):
23203 (WebScriptObject::setException):
23204 * WebScriptObject.h: Added.
23205 * WebURLResponse.cpp:
23206 (WebURLResponse::WebURLResponse):
23207 (WebURLResponse::~WebURLResponse):
23208 (WebURLResponse::createInstance):
23209 (WebURLResponse::QueryInterface):
23210 (WebURLResponse::AddRef):
23211 (WebURLResponse::Release):
23212 (WebURLResponse::expectedContentLength):
23213 (WebURLResponse::initWithURL):
23214 (WebURLResponse::MIMEType):
23215 (WebURLResponse::suggestedFilename):
23216 (WebURLResponse::textEncodingName):
23217 (WebURLResponse::URL):
23219 (WebView::setFormDelegate):
23220 (WebView::formDelegate):
23223 2006-08-17 Anders Carlsson <andersca@apple.com>
23225 Reviewed by Maciej.
23227 * WebKit.vcproj/WebKit.vcproj:
23230 2006-08-15 Steve Falkenburg <sfalken@apple.com>
23232 Fix this to build in my tree.
23235 (WebFrame::textFieldDidBeginEditing):
23236 (WebFrame::doTextFieldCommandFromEvent):
23237 (WebFrame::textWillBeDeletedInTextField):
23238 * WebKit.vcproj/Interfaces.vcproj:
23239 * WebKit.vcproj/WebKit.sln:
23240 * WebKit.vcproj/WebKit.vcproj:
23242 2006-08-15 Steve Falkenburg <sfalken@apple.com>
23246 * CFDictionaryPropertyBag.cpp: Added.
23247 (CFDictionaryPropertyBag::CFDictionaryPropertyBag):
23248 (CFDictionaryPropertyBag::~CFDictionaryPropertyBag):
23249 (CFDictionaryPropertyBag::createInstance):
23250 (CFDictionaryPropertyBag::setDictionary):
23251 (CFDictionaryPropertyBag::QueryInterface):
23252 (CFDictionaryPropertyBag::AddRef):
23253 (CFDictionaryPropertyBag::Release):
23254 (ConvertCFTypeToVariant):
23255 (ConvertVariantToCFType):
23256 (CFDictionaryPropertyBag::Read):
23257 (CFDictionaryPropertyBag::Write):
23258 * CFDictionaryPropertyBag.h: Added.
23259 * ChangeLog: Added.
23260 * Interfaces/DOMCSS.idl: Added.
23261 * Interfaces/DOMCore.idl: Added.
23262 * Interfaces/DOMHTML.idl: Added.
23263 * Interfaces/DOMRange.idl: Added.
23264 * Interfaces/IWebArchive.idl: Added.
23265 * Interfaces/IWebAttributedString.idl: Added.
23266 * Interfaces/IWebBackForwardList.idl: Added.
23267 * Interfaces/IWebDataSource.idl: Added.
23268 * Interfaces/IWebDocument.idl: Added.
23269 * Interfaces/IWebDownload.idl: Added.
23270 * Interfaces/IWebEditingDelegate.idl: Added.
23271 * Interfaces/IWebError.idl: Added.
23272 * Interfaces/IWebFormDelegate.idl: Added.
23273 * Interfaces/IWebFrame.idl: Added.
23274 * Interfaces/IWebFrameLoadDelegate.idl: Added.
23275 * Interfaces/IWebFrameLoadDelegatePrivate.idl: Added.
23276 * Interfaces/IWebFrameView.idl: Added.
23277 * Interfaces/IWebHistory.idl: Added.
23278 * Interfaces/IWebHistoryItem.idl: Added.
23279 * Interfaces/IWebHistoryItemPrivate.idl: Added.
23280 * Interfaces/IWebIconDatabase.idl: Added.
23281 * Interfaces/IWebImage.idl: Added.
23282 * Interfaces/IWebMutableURLRequest.idl: Added.
23283 * Interfaces/IWebNotification.idl: Added.
23284 * Interfaces/IWebNotificationCenter.idl: Added.
23285 * Interfaces/IWebNotificationObserver.idl: Added.
23286 * Interfaces/IWebPolicyDelegate.idl: Added.
23287 * Interfaces/IWebPreferences.idl: Added.
23288 * Interfaces/IWebResource.idl: Added.
23289 * Interfaces/IWebResourceLoadDelegate.idl: Added.
23290 * Interfaces/IWebScriptObject.idl: Added.
23291 * Interfaces/IWebUIDelegate.idl: Added.
23292 * Interfaces/IWebURLAuthenticationChallenge.idl: Added.
23293 * Interfaces/IWebURLRequest.idl: Added.
23294 * Interfaces/IWebURLResponse.idl: Added.
23295 * Interfaces/IWebUndoManager.idl: Added.
23296 * Interfaces/IWebView.idl: Added.
23297 * Interfaces/IWebViewPrivate.idl: Added.
23298 * Interfaces/WebKit.idl: Added.
23299 * MarshallingHelpers.cpp: Added.
23300 (MarshallingHelpers::BSTRToCFURLRef):
23301 (MarshallingHelpers::BSTRToCFStringRef):
23302 (MarshallingHelpers::CFStringRefToBSTR):
23303 (MarshallingHelpers::CFNumberRefToInt):
23304 (MarshallingHelpers::intToCFNumberRef):
23305 (MarshallingHelpers::windowsEpochAbsoluteTime):
23306 (MarshallingHelpers::DATEToCFAbsoluteTime):
23307 (MarshallingHelpers::CFAbsoluteTimeToDATE):
23308 (MarshallingHelpers::stringArrayToSafeArray):
23309 (MarshallingHelpers::intArrayToSafeArray):
23310 (MarshallingHelpers::iunknownArrayToSafeArray):
23311 (MarshallingHelpers::safeArrayToStringArray):
23312 (MarshallingHelpers::safeArrayToIntArray):
23313 (MarshallingHelpers::safeArrayToIUnknownArray):
23314 (MarshallingHelpers::IUnknownRetainCallback):
23315 (MarshallingHelpers::IUnknownReleaseCallback):
23316 * MarshallingHelpers.h: Added.
23317 * WebBackForwardList.cpp: Added.
23318 (WebBackForwardList::WebBackForwardList):
23319 (WebBackForwardList::~WebBackForwardList):
23320 (WebBackForwardList::createInstance):
23321 (WebBackForwardList::QueryInterface):
23322 (WebBackForwardList::AddRef):
23323 (WebBackForwardList::Release):
23324 (WebBackForwardList::addItem):
23325 (WebBackForwardList::goBack):
23326 (WebBackForwardList::goForward):
23327 (WebBackForwardList::goToItem):
23328 (WebBackForwardList::backItem):
23329 (WebBackForwardList::currentItem):
23330 (WebBackForwardList::forwardItem):
23331 (WebBackForwardList::backListWithLimit):
23332 (WebBackForwardList::forwardListWithLimit):
23333 (WebBackForwardList::capacity):
23334 (WebBackForwardList::setCapacity):
23335 (WebBackForwardList::backListCount):
23336 (WebBackForwardList::forwardListCount):
23337 (WebBackForwardList::containsItem):
23338 (WebBackForwardList::itemAtIndex):
23339 (WebBackForwardList::setPageCacheSize):
23340 (WebBackForwardList::pageCacheSize):
23341 * WebBackForwardList.h: Added.
23342 * WebDataSource.cpp: Added.
23343 (WebDataSource::WebDataSource):
23344 (WebDataSource::~WebDataSource):
23345 (WebDataSource::createInstance):
23346 (WebDataSource::setResponse):
23347 (WebDataSource::QueryInterface):
23348 (WebDataSource::AddRef):
23349 (WebDataSource::Release):
23350 (WebDataSource::initWithRequest):
23351 (WebDataSource::data):
23352 (WebDataSource::representation):
23353 (WebDataSource::webFrame):
23354 (WebDataSource::initialRequest):
23355 (WebDataSource::request):
23356 (WebDataSource::response):
23357 (WebDataSource::textEncodingName):
23358 (WebDataSource::isLoading):
23359 (WebDataSource::pageTitle):
23360 (WebDataSource::unreachableURL):
23361 (WebDataSource::webArchive):
23362 (WebDataSource::mainResource):
23363 (WebDataSource::subresources):
23364 (WebDataSource::subresourceForURL):
23365 (WebDataSource::addSubresource):
23366 * WebDataSource.h: Added.
23367 * WebFrame.cpp: Added.
23368 (WebFrame::WebFramePrivate::WebFramePrivate):
23369 (WebFrame::WebFramePrivate::~WebFramePrivate):
23370 (WebFrame::WebFrame):
23371 (WebFrame::~WebFrame):
23372 (WebFrame::createInstance):
23373 (WebFrame::QueryInterface):
23374 (WebFrame::AddRef):
23375 (WebFrame::Release):
23376 (WebFrame::initWithName):
23378 (WebFrame::webView):
23379 (WebFrame::frameView):
23380 (WebFrame::DOMDocument):
23381 (WebFrame::frameElement):
23382 (WebFrame::loadRequest):
23383 (WebFrame::loadData):
23384 (WebFrame::loadHTMLString):
23385 (WebFrame::loadAlternateHTMLString):
23386 (WebFrame::loadArchive):
23387 (WebFrame::dataSource):
23388 (WebFrame::provisionalDataSource):
23389 (WebFrame::stopLoading):
23390 (WebFrame::reload):
23391 (WebFrame::findFrameNamed):
23392 (WebFrame::parentFrame):
23393 (WebFrame::childFrames):
23396 (WebFrame::loadDataSource):
23397 (WebFrame::loading):
23398 (WebFrame::goToItem):
23399 (WebFrame::loadItem):
23400 (WebSystemMainMemory):
23401 (WebFrame::getObjectCacheSize):
23402 (WebFrame::invalidate):
23403 (WebFrame::setTextSizeMultiplier):
23404 (WebFrame::inViewSourceMode):
23405 (WebFrame::setInViewSourceMode):
23406 (WebFrame::receivedRedirect):
23407 (WebFrame::receivedResponse):
23408 (WebFrame::receivedData):
23409 (WebFrame::receivedAllData):
23410 (WebFrame::openURL):
23411 (WebFrame::submitForm):
23412 (WebFrame::setTitle):
23413 (WebFrame::setStatusText):
23414 (WebFrame::textFieldDidBeginEditing):
23415 (WebFrame::textFieldDidEndEditing):
23416 (WebFrame::textDidChangeInTextField):
23417 (WebFrame::doTextFieldCommandFromEvent):
23418 (WebFrame::textWillBeDeletedInTextField):
23419 (WebFrame::textDidChangeInTextArea):
23420 * WebFrame.h: Added.
23421 * WebHistory.cpp: Added.
23423 (createUserInfoFromArray):
23424 (createUserInfoFromHistoryItem):
23426 (WebHistory::WebHistory):
23427 (WebHistory::~WebHistory):
23428 (WebHistory::createInstance):
23429 (WebHistory::postNotification):
23430 (WebHistory::getNotificationString):
23431 (WebHistory::QueryInterface):
23432 (WebHistory::AddRef):
23433 (WebHistory::Release):
23434 (WebHistory::optionalSharedHistory):
23435 (WebHistory::setOptionalSharedHistory):
23436 (WebHistory::loadFromURL):
23437 (WebHistory::loadHistoryGutsFromURL):
23438 (WebHistory::saveToURL):
23439 (WebHistory::saveHistoryGuts):
23440 (WebHistory::datesArray):
23441 (WebHistory::addItems):
23442 (WebHistory::removeItems):
23443 (dictReleaseApplier):
23444 (WebHistory::removeAllItems):
23445 (WebHistory::orderedLastVisitedDays):
23446 (WebHistory::orderedItemsLastVisitedOnDay):
23447 (WebHistory::itemForURL):
23448 (WebHistory::setHistoryItemLimit):
23449 (WebHistory::historyItemLimit):
23450 (WebHistory::setHistoryAgeInDaysLimit):
23451 (WebHistory::historyAgeInDaysLimit):
23452 (WebHistory::removeItem):
23453 (WebHistory::addItem):
23454 (WebHistory::addItemForURL):
23455 (WebHistory::removeItemForURLString):
23456 (WebHistory::addItemToDateCaches):
23457 (WebHistory::removeItemFromDateCaches):
23458 (WebHistory::findIndex):
23459 (WebHistory::insertItem):
23460 (WebHistory::timeToDate):
23461 (WebHistory::ageLimitDate):
23462 (WebHistory::optionalSharedHistoryInternal):
23463 * WebHistory.h: Added.
23465 * WebHistoryItem.cpp: Added.
23466 (WebHistoryItem::WebHistoryItem):
23467 (WebHistoryItem::~WebHistoryItem):
23468 (WebHistoryItem::createInstance):
23469 (WebHistoryItem::initFromDictionaryRepresentation):
23470 (WebHistoryItem::dictionaryRepresentation):
23471 (WebHistoryItem::hasURLString):
23472 (WebHistoryItem::visitCount):
23473 (WebHistoryItem::setVisitCount):
23474 (WebHistoryItem::mergeAutoCompleteHints):
23475 (WebHistoryItem::setLastVisitedTimeInterval):
23476 (WebHistoryItem::QueryInterface):
23477 (WebHistoryItem::AddRef):
23478 (WebHistoryItem::Release):
23479 (WebHistoryItem::initWithURLString):
23480 (WebHistoryItem::originalURLString):
23481 (WebHistoryItem::URLString):
23482 (WebHistoryItem::title):
23483 (WebHistoryItem::lastVisitedTimeInterval):
23484 (WebHistoryItem::setAlternateTitle):
23485 (WebHistoryItem::alternateTitle):
23486 (WebHistoryItem::icon):
23487 * WebHistoryItem.h: Added.
23488 * WebIconDatabase.cpp: Added.
23489 (WebIconDatabase::WebIconDatabase):
23490 (WebIconDatabase::~WebIconDatabase):
23491 (WebIconDatabase::createInstance):
23492 (WebIconDatabase::QueryInterface):
23493 (WebIconDatabase::AddRef):
23494 (WebIconDatabase::Release):
23495 (WebIconDatabase::sharedIconDatabase):
23496 (WebIconDatabase::iconForURL):
23497 (WebIconDatabase::defaultIconWithSize):
23498 (WebIconDatabase::retainIconForURL):
23499 (WebIconDatabase::releaseIconForURL):
23500 (WebIconDatabase::delayDatabaseCleanup):
23501 (WebIconDatabase::allowDatabaseCleanup):
23502 * WebIconDatabase.h: Added.
23503 * WebKit.vcproj/Interfaces.vcproj: Added.
23504 * WebKit.vcproj/WebKit.def: Added.
23505 * WebKit.vcproj/WebKit.rc: Added.
23506 * WebKit.vcproj/WebKit.sln: Added.
23507 * WebKit.vcproj/WebKit.vcproj: Added.
23508 * WebKit.vcproj/WebKitGUID.vcproj: Added.
23509 * WebKit.vcproj/autoversion.h: Added.
23510 * WebKit.vcproj/missingImage.png: Added.
23511 * WebKit.vcproj/resource.h: Added.
23512 * WebKit.vcproj/textAreaResizeCorner.png: Added.
23513 * WebKitClassFactory.cpp: Added.
23514 (WebKitClassFactory::WebKitClassFactory):
23515 (WebKitClassFactory::~WebKitClassFactory):
23516 (WebKitClassFactory::QueryInterface):
23517 (WebKitClassFactory::AddRef):
23518 (WebKitClassFactory::Release):
23519 (WebKitClassFactory::CreateInstance):
23520 (WebKitClassFactory::LockServer):
23521 * WebKitClassFactory.h: Added.
23522 * WebKitDLL.cpp: Added.
23524 (DllGetClassObject):
23526 (DllUnregisterServer):
23527 (DllRegisterServer):
23528 (loadResourceIntoArray):
23529 * WebKitDLL.h: Added.
23530 * WebMutableURLRequest.cpp: Added.
23531 (WebMutableURLRequest::WebMutableURLRequest):
23532 (WebMutableURLRequest::~WebMutableURLRequest):
23533 (WebMutableURLRequest::createInstance):
23534 (WebMutableURLRequest::QueryInterface):
23535 (WebMutableURLRequest::AddRef):
23536 (WebMutableURLRequest::Release):
23537 (WebMutableURLRequest::requestWithURL):
23538 (WebMutableURLRequest::allHTTPHeaderFields):
23539 (WebMutableURLRequest::cachePolicy):
23540 (WebMutableURLRequest::HTTPBody):
23541 (WebMutableURLRequest::HTTPBodyStream):
23542 (WebMutableURLRequest::HTTPMethod):
23543 (WebMutableURLRequest::HTTPShouldHandleCookies):
23544 (WebMutableURLRequest::initWithURL):
23545 (WebMutableURLRequest::mainDocumentURL):
23546 (WebMutableURLRequest::timeoutInterval):
23547 (WebMutableURLRequest::URL):
23548 (WebMutableURLRequest::valueForHTTPHeaderField):
23549 (WebMutableURLRequest::addValue):
23550 (WebMutableURLRequest::setAllHTTPHeaderFields):
23551 (WebMutableURLRequest::setCachePolicy):
23552 (WebMutableURLRequest::setHTTPBody):
23553 (WebMutableURLRequest::setHTTPBodyStream):
23554 (WebMutableURLRequest::setHTTPMethod):
23555 (WebMutableURLRequest::setHTTPShouldHandleCookies):
23556 (WebMutableURLRequest::setMainDocumentURL):
23557 (WebMutableURLRequest::setTimeoutInterval):
23558 (WebMutableURLRequest::setURL):
23559 (WebMutableURLRequest::setValue):
23560 (WebMutableURLRequest::setFormData):
23561 (WebMutableURLRequest::formData):
23562 * WebMutableURLRequest.h: Added.
23563 * WebNotification.cpp: Added.
23564 (WebNotification::WebNotification):
23565 (WebNotification::~WebNotification):
23566 (WebNotification::createInstance):
23567 (WebNotification::QueryInterface):
23568 (WebNotification::AddRef):
23569 (WebNotification::Release):
23570 (WebNotification::notificationWithName):
23571 (WebNotification::name):
23572 (WebNotification::getObject):
23573 (WebNotification::userInfo):
23574 * WebNotification.h: Added.
23575 * WebNotificationCenter.cpp: Added.
23576 (ObserverKey::ObserverKey):
23577 (ObserverKey::~ObserverKey):
23578 (ObserverKey::operator==):
23579 (ObserverKeyTraits::deletedValue):
23580 (ObserverHash::equal):
23581 (ObserverHash::hash):
23582 (WebNotificationCenter::WebNotificationCenter):
23583 (WebNotificationCenter::~WebNotificationCenter):
23584 (WebNotificationCenter::createInstance):
23585 (WebNotificationCenter::QueryInterface):
23586 (WebNotificationCenter::AddRef):
23587 (WebNotificationCenter::Release):
23588 (WebNotificationCenter::defaultCenterInternal):
23589 (WebNotificationCenter::postNotificationInternal):
23590 (WebNotificationCenter::defaultCenter):
23591 (WebNotificationCenter::addObserver):
23592 (WebNotificationCenter::postNotification):
23593 (WebNotificationCenter::postNotificationName):
23594 (WebNotificationCenter::removeObserver):
23595 * WebNotificationCenter.h: Added.
23596 * WebPreferenceKeysPrivate.h: Added.
23597 * WebPreferences.cpp: Added.
23598 (WebPreferences::WebPreferences):
23599 (WebPreferences::~WebPreferences):
23600 (WebPreferences::createInstance):
23601 (WebPreferences::postPreferencesChangesNotification):
23602 (WebPreferences::getInstanceForIdentifier):
23603 (WebPreferences::initialize):
23604 (WebPreferences::valueForKey):
23605 (WebPreferences::stringValueForKey):
23606 (WebPreferences::integerValueForKey):
23607 (WebPreferences::boolValueForKey):
23608 (WebPreferences::floatValueForKey):
23609 (WebPreferences::setStringValue):
23610 (WebPreferences::webPreferencesChangedNotification):
23611 (WebPreferences::setIntegerValue):
23612 (WebPreferences::setBoolValue):
23613 (WebPreferences::save):
23614 (WebPreferences::load):
23615 (WebPreferences::preferencesPath):
23616 (WebPreferences::safeCreateFileWithData):
23617 (WebPreferences::QueryInterface):
23618 (WebPreferences::AddRef):
23619 (WebPreferences::Release):
23620 (WebPreferences::standardPreferences):
23621 (WebPreferences::initWithIdentifier):
23622 (WebPreferences::identifier):
23623 (WebPreferences::standardFontFamily):
23624 (WebPreferences::setStandardFontFamily):
23625 (WebPreferences::fixedFontFamily):
23626 (WebPreferences::setFixedFontFamily):
23627 (WebPreferences::serifFontFamily):
23628 (WebPreferences::setSerifFontFamily):
23629 (WebPreferences::sansSerifFontFamily):
23630 (WebPreferences::setSansSerifFontFamily):
23631 (WebPreferences::cursiveFontFamily):
23632 (WebPreferences::setCursiveFontFamily):
23633 (WebPreferences::fantasyFontFamily):
23634 (WebPreferences::setFantasyFontFamily):
23635 (WebPreferences::defaultFontSize):
23636 (WebPreferences::setDefaultFontSize):
23637 (WebPreferences::defaultFixedFontSize):
23638 (WebPreferences::setDefaultFixedFontSize):
23639 (WebPreferences::minimumFontSize):
23640 (WebPreferences::setMinimumFontSize):
23641 (WebPreferences::minimumLogicalFontSize):
23642 (WebPreferences::setMinimumLogicalFontSize):
23643 (WebPreferences::defaultTextEncodingName):
23644 (WebPreferences::setDefaultTextEncodingName):
23645 (WebPreferences::userStyleSheetEnabled):
23646 (WebPreferences::setUserStyleSheetEnabled):
23647 (WebPreferences::userStyleSheetLocation):
23648 (WebPreferences::setUserStyleSheetLocation):
23649 (WebPreferences::isJavaEnabled):
23650 (WebPreferences::setJavaEnabled):
23651 (WebPreferences::isJavaScriptEnabled):
23652 (WebPreferences::setJavaScriptEnabled):
23653 (WebPreferences::javaScriptCanOpenWindowsAutomatically):
23654 (WebPreferences::setJavaScriptCanOpenWindowsAutomatically):
23655 (WebPreferences::arePlugInsEnabled):
23656 (WebPreferences::setPlugInsEnabled):
23657 (WebPreferences::allowsAnimatedImages):
23658 (WebPreferences::setAllowsAnimatedImages):
23659 (WebPreferences::allowAnimatedImageLooping):
23660 (WebPreferences::setAllowAnimatedImageLooping):
23661 (WebPreferences::setLoadsImagesAutomatically):
23662 (WebPreferences::loadsImagesAutomatically):
23663 (WebPreferences::setAutosaves):
23664 (WebPreferences::autosaves):
23665 (WebPreferences::setShouldPrintBackgrounds):
23666 (WebPreferences::shouldPrintBackgrounds):
23667 (WebPreferences::setPrivateBrowsingEnabled):
23668 (WebPreferences::privateBrowsingEnabled):
23669 (WebPreferences::setTabsToLinks):
23670 (WebPreferences::tabsToLinks):
23671 (WebPreferences::textAreasAreResizable):
23672 (WebPreferences::setTextAreasAreResizable):
23673 (WebPreferences::historyItemLimit):
23674 (WebPreferences::setHistoryItemLimit):
23675 (WebPreferences::historyAgeInDaysLimit):
23676 (WebPreferences::setHistoryAgeInDaysLimit):
23677 (WebPreferences::pageCacheSize):
23678 (WebPreferences::objectCacheSize):
23679 * WebPreferences.h: Added.
23680 * WebURLResponse.cpp: Added.
23681 (WebURLResponse::WebURLResponse):
23682 (WebURLResponse::~WebURLResponse):
23683 (WebURLResponse::createInstance):
23684 (WebURLResponse::QueryInterface):
23685 (WebURLResponse::AddRef):
23686 (WebURLResponse::Release):
23687 (WebURLResponse::expectedContentLength):
23688 (WebURLResponse::initWithURL):
23689 (WebURLResponse::MIMEType):
23690 (WebURLResponse::suggestedFilename):
23691 (WebURLResponse::textEncodingName):
23692 (WebURLResponse::URL):
23693 * WebURLResponse.h: Added.
23694 * WebView.cpp: Added.
23695 (WebView::WebView):
23696 (WebView::~WebView):
23697 (WebView::createInstance):
23698 (WebView::mouseMoved):
23699 (WebView::mouseDown):
23700 (WebView::mouseUp):
23701 (WebView::mouseDoubleClick):
23702 (WebView::keyPress):
23705 (calculateScrollDelta):
23706 (scrollMessageForKey):
23707 (WebView::goToItem):
23708 (WebView::updateWebCoreSettingsFromPreferences):
23709 (WebView::settings):
23710 (WebView::QueryInterface):
23712 (WebView::Release):
23713 (WebView::canShowMIMEType):
23714 (WebView::canShowMIMETypeAsHTML):
23715 (WebView::MIMETypesShownAsHTML):
23716 (WebView::setMIMETypesShownAsHTML):
23717 (WebView::URLFromPasteboard):
23718 (WebView::URLTitleFromPasteboard):
23719 (WebView::initWithFrame):
23720 (WebView::setUIDelegate):
23721 (WebView::uiDelegate):
23722 (WebView::setResourceLoadDelegate):
23723 (WebView::resourceLoadDelegate):
23724 (WebView::setDownloadDelegate):
23725 (WebView::downloadDelegate):
23726 (WebView::setFrameLoadDelegate):
23727 (WebView::frameLoadDelegate):
23728 (WebView::setPolicyDelegate):
23729 (WebView::policyDelegate):
23730 (WebView::mainFrame):
23731 (WebView::backForwardList):
23732 (WebView::setMaintainsBackForwardList):
23734 (WebView::goForward):
23735 (WebView::goToBackForwardItem):
23736 (WebView::setTextSizeMultiplier):
23737 (WebView::textSizeMultiplier):
23738 (WebView::setApplicationNameForUserAgent):
23739 (WebView::applicationNameForUserAgent):
23740 (WebView::setCustomUserAgent):
23741 (WebView::customUserAgent):
23742 (WebView::userAgentForURL):
23743 (WebView::supportsTextEncoding):
23744 (WebView::setCustomTextEncodingName):
23745 (WebView::customTextEncodingName):
23746 (WebView::setMediaStyle):
23747 (WebView::mediaStyle):
23748 (WebView::stringByEvaluatingJavaScriptFromString):
23749 (WebView::windowScriptObject):
23750 (WebView::setPreferences):
23751 (WebView::preferences):
23752 (WebView::setPreferencesIdentifier):
23753 (WebView::preferencesIdentifier):
23754 (WebView::setHostWindow):
23755 (WebView::hostWindow):
23756 (WebView::searchFor):
23757 (WebView::registerViewClass):
23758 (WebView::takeStringURLFrom):
23759 (WebView::stopLoading):
23761 (WebView::canGoBack):
23762 (WebView::canGoForward):
23763 (WebView::canMakeTextLarger):
23764 (WebView::makeTextLarger):
23765 (WebView::canMakeTextSmaller):
23766 (WebView::makeTextSmaller):
23767 (WebView::computedStyleForElement):
23768 (WebView::editableDOMRangeForPoint):
23769 (WebView::setSelectedDOMRange):
23770 (WebView::selectedDOMRange):
23771 (WebView::selectionAffinity):
23772 (WebView::setEditable):
23773 (WebView::isEditable):
23774 (WebView::setTypingStyle):
23775 (WebView::typingStyle):
23776 (WebView::setSmartInsertDeleteEnabled):
23777 (WebView::smartInsertDeleteEnabled):
23778 (WebView::setContinuousSpellCheckingEnabled):
23779 (WebView::isContinuousSpellCheckingEnabled):
23780 (WebView::spellCheckerDocumentTag):
23781 (WebView::undoManager):
23782 (WebView::setEditingDelegate):
23783 (WebView::editingDelegate):
23784 (WebView::styleDeclarationWithText):
23785 (WebView::replaceSelectionWithNode):
23786 (WebView::replaceSelectionWithText):
23787 (WebView::replaceSelectionWithMarkupString):
23788 (WebView::replaceSelectionWithArchive):
23789 (WebView::deleteSelection):
23790 (WebView::applyStyle):
23794 (WebView::copyFont):
23795 (WebView::pasteFont):
23796 (WebView::delete_):
23797 (WebView::pasteAsPlainText):
23798 (WebView::pasteAsRichText):
23799 (WebView::changeFont):
23800 (WebView::changeAttributes):
23801 (WebView::changeDocumentBackgroundColor):
23802 (WebView::changeColor):
23803 (WebView::alignCenter):
23804 (WebView::alignJustified):
23805 (WebView::alignLeft):
23806 (WebView::alignRight):
23807 (WebView::checkSpelling):
23808 (WebView::showGuessPanel):
23809 (WebView::performFindPanelAction):
23810 (WebView::startSpeaking):
23811 (WebView::stopSpeaking):
23812 (WebView::onNotify):
23813 (WebView::setInViewSourceMode):
23814 (WebView::inViewSourceMode):
23815 (WebView::viewWindow):
23816 (WebView::setFormDelegate):
23817 (WebView::formDelegate):
23818 * WebView.h: Added.