1 2013-02-01 Roger Fong <roger_fong@apple.com>
3 Unreviewed. Copy some resource files for VS2010 solution.
4 https://bugs.webkit.org/show_bug.cgi?id=106989.
6 * WebKit.resources/WebKit.rc: Added.
7 * WebKit.resources/deleteButton.png: Added.
8 * WebKit.resources/deleteButtonPressed.png: Added.
9 * WebKit.resources/fsVideoAudioVolumeHigh.png: Added.
10 * WebKit.resources/fsVideoAudioVolumeLow.png: Added.
11 * WebKit.resources/fsVideoExitFullscreen.png: Added.
12 * WebKit.resources/fsVideoPause.png: Added.
13 * WebKit.resources/fsVideoPlay.png: Added.
14 * WebKit.resources/missingImage.png: Added.
15 * WebKit.resources/nullplugin.png: Added.
16 * WebKit.resources/panEastCursor.png: Added.
17 * WebKit.resources/panIcon.png: Added.
18 * WebKit.resources/panNorthCursor.png: Added.
19 * WebKit.resources/panNorthEastCursor.png: Added.
20 * WebKit.resources/panNorthWestCursor.png: Added.
21 * WebKit.resources/panSouthCursor.png: Added.
22 * WebKit.resources/panSouthEastCursor.png: Added.
23 * WebKit.resources/panSouthWestCursor.png: Added.
24 * WebKit.resources/panWestCursor.png: Added.
25 * WebKit.resources/searchCancel.png: Added.
26 * WebKit.resources/searchCancelPressed.png: Added.
27 * WebKit.resources/searchMagnifier.png: Added.
28 * WebKit.resources/searchMagnifierResults.png: Added.
29 * WebKit.resources/textAreaResizeCorner.png: Added.
30 * WebKit.resources/verticalTextCursor.png: Added.
31 * WebKit.resources/zoomInCursor.png: Added.
32 * WebKit.resources/zoomOutCursor.png: Added.
34 2013-02-04 Benjamin Poulain <bpoulain@apple.com>
36 Kill suspendAnimation(), resumeAnimation() and numberOfActiveAnimations() from DRT/WTR; use Internals
37 https://bugs.webkit.org/show_bug.cgi?id=108741
39 Reviewed by Tony Chang.
41 * WebKit.vcproj/WebKitExports.def.in:
43 2013-02-04 Enrica Casucci <enrica@apple.com>
45 Add specific EditActions for Bold and Italic commands.
46 https://bugs.webkit.org/show_bug.cgi?id=108842.
47 <rdar://problem/13098252>
49 Reviewed by Ryosuke Niwa.
51 * WebCoreSupport/WebEditorClient.cpp:
52 (undoNameForEditAction):
54 2013-02-03 KwangYong Choi <ky0.choi@samsung.com>
56 Fix build warning after r141473
57 https://bugs.webkit.org/show_bug.cgi?id=108782
59 Reviewed by Kentaro Hara.
61 Fix -Wunused-parameter build warning.
63 * WebCoreSupport/WebEditorClient.cpp:
64 (WebEditorClient::getClientPasteboardDataForRange):
66 2013-02-01 Philip Rogers <pdr@google.com>
68 Change hasAlpha to isKnownToBeOpaque and correct the return value for SVG images.
69 https://bugs.webkit.org/show_bug.cgi?id=106966
71 Reviewed by Stephen White.
73 * WebKit.vcproj/WebKitExports.def.in:
75 2013-01-31 Aurimas Liutikas <aurimas@chromium.org>
77 Editor::m_compositionNode not updated on HTMLInputElement::setValue()
78 https://bugs.webkit.org/show_bug.cgi?id=107737
80 Reviewed by Ryosuke Niwa.
83 (WebView::updateSelectionForIME):
84 Adding a call to the newly refactored method.
86 2013-01-31 Sheriff Bot <webkit.review.bot@gmail.com>
88 Unreviewed, rolling out r141479.
89 http://trac.webkit.org/changeset/141479
90 https://bugs.webkit.org/show_bug.cgi?id=108564
92 breaks chromium test (Requested by morrita on #webkit).
95 (WebView::updateSelectionForIME):
97 2013-01-31 Aurimas Liutikas <aurimas@chromium.org>
99 Editor::m_compositionNode not updated on HTMLInputElement::setValue()
100 https://bugs.webkit.org/show_bug.cgi?id=107737
102 Reviewed by Ryosuke Niwa.
105 (WebView::updateSelectionForIME):
106 Adding a call to the newly refactored method.
108 2013-01-31 Enrica Casucci <enrica@apple.com>
110 WebKit2: provide new bundle APIs to allow bundle clients to be notified of pasteboard access.
111 https://bugs.webkit.org/show_bug.cgi?id=108396.
112 <rdar://problem/12920461>
114 Reviewed by Alexey Proskuryakov.
116 Adds stub implementation for WebKit of the new EditorClient methods.
118 * WebCoreSupport/WebEditorClient.cpp:
119 (WebEditorClient::willWriteSelectionToPasteboard):
120 (WebEditorClient::getClientPasteboardDataForRange):
121 * WebCoreSupport/WebEditorClient.h:
123 2013-01-29 Shinya Kawanaka <shinyak@chromium.org>
125 [Chromium] Cannot copy text when selecting readonly (or disabled) input elements
126 https://bugs.webkit.org/show_bug.cgi?id=106287
128 Reviewed by Hajime Morita.
130 * WebKit.vcproj/WebKitExports.def.in:
132 2013-01-29 Elliott Sprehn <esprehn@chromium.org>
134 Refactor ShadowRoot exception handling
135 https://bugs.webkit.org/show_bug.cgi?id=108209
137 Reviewed by Dimitri Glazkov.
139 * WebKit.vcproj/WebKitExports.def.in: Swap ShadowRoot::create export with Element::createShadowRoot.
141 2013-01-29 Nate Chapin <japhet@chromium.org>
143 Enable reuse of cached main resources
144 https://bugs.webkit.org/show_bug.cgi?id=105667
146 Reviewed by Adam Barth.
148 * WebKit.vcproj/WebKitExports.def.in: Expose some MemoryCache symbols for use in Internals.
150 2013-01-27 Zoltan Arvai <zarvai@inf.u-szeged.hu>
152 Fixing atomicIncrement implementation for Windows by dropping support before XP SP2.
153 https://bugs.webkit.org/show_bug.cgi?id=106740
155 Reviewed by Benjamin Poulain.
159 2013-01-26 Alexey Proskuryakov <ap@apple.com>
161 Remove code for handling NetworkProcess authentication challenges in WebProcess
162 https://bugs.webkit.org/show_bug.cgi?id=108003
164 Reviewed by Sam Weinig.
166 * WebURLAuthenticationChallenge.cpp:
167 (WebURLAuthenticationChallenge::initWithProtectionSpace):
168 Adapted for new AuthenticationChallenge constructor signature.
170 2013-01-24 Mark Hahnenberg <mhahnenberg@apple.com>
172 Objective-C API: Rename JSValue.h/APIJSValue.h to JSCJSValue.h/JSValue.h
173 https://bugs.webkit.org/show_bug.cgi?id=107327
175 Reviewed by Filip Pizlo.
177 We're renaming these two files, so we have to replace the names everywhere.
182 2013-01-23 Tony Chang <tony@chromium.org>
184 Unreviewed, set svn:eol-style to CRLF on Windows .sln files.
186 * WebKit.vcproj/WebKit.sln: Modified property svn:eol-style.
187 * WebKit.vcproj/WebKit.submit.sln: Modified property svn:eol-style.
189 2013-01-23 Pavel Feldman <pfeldman@chromium.org>
191 Follow up to 140539, adding exports for Win build.
195 * WebKit.vcproj/WebKitExports.def.in:
197 2013-01-22 Anders Carlsson <andersca@apple.com>
199 Use a platforom strategy for local storage
200 https://bugs.webkit.org/show_bug.cgi?id=107600
202 Reviewed by Andreas Kling.
204 Update for new storage strategy.
206 * WebCoreSupport/WebPlatformStrategies.cpp:
207 (WebPlatformStrategies::createStorageStrategy):
208 * WebCoreSupport/WebPlatformStrategies.h:
209 (WebPlatformStrategies):
211 2013-01-18 Jer Noble <jer.noble@apple.com>
213 Unreviewed build fix. Remove deleted symbol from windows export list.
215 * WebKit.vcproj/WebKitExports.def.in:
217 2013-01-18 Seokju Kwon <seokju.kwon@gmail.com>
219 Add explicit keyword to constructors in platform-specific InspectorClient
220 https://bugs.webkit.org/show_bug.cgi?id=107255
222 Reviewed by Kentaro Hara.
224 Add explicit keyword to constructors that take one argument
225 in platform-specific implementation of InspectorClient.
227 * WebCoreSupport/WebInspectorClient.h:
228 (WebInspectorClient):
230 2013-01-18 Sheriff Bot <webkit.review.bot@gmail.com>
232 Unreviewed, rolling out r140005.
233 http://trac.webkit.org/changeset/140005
234 https://bugs.webkit.org/show_bug.cgi?id=107235
236 broke downstream Chromium interactive_ui_tests (Requested by
237 dominicc on #webkit).
239 * WebKit.vcproj/WebKitExports.def.in:
241 2013-01-17 Nate Chapin <japhet@chromium.org>
243 Enable reuse of cached main resources
244 https://bugs.webkit.org/show_bug.cgi?id=105667
246 Reviewed by Antti Koivisto.
248 * WebKit.vcproj/WebKitExports.def.in: Expose some MemoryCache symbols for use in Internals.
250 2013-01-15 peavo@outlook.com <peavo@outlook.com>
252 Crash when saving history with no items in it.
253 https://bugs.webkit.org/show_bug.cgi?id=104261
255 Reviewed by Darin Adler.
258 (WebHistory::saveHistoryGuts): Added null pointer check
260 2013-01-09 Levi Weintraub <leviw@chromium.org>
262 Rolling out r139683. It broke a bunch of webkit_unit_tests.
264 2013-01-09 Hajime Morrita <morrita@google.com>
266 [Shadow DOM] Distribution related code on ElementShadow should be minimized.
267 https://bugs.webkit.org/show_bug.cgi?id=106294
269 Reviewed by Dimitri Glazkov.
271 * WebKit.vcproj/WebKit.def.in:
273 2013-01-09 Roger Fong <roger_fong@apple.com>
275 Rename export files to make them more easily findable.
276 https://bugs.webkit.org/show_bug.cgi?id=98695.
278 Reviewed by Timothy Horton.
280 * WebKit.vcproj/WebKit.def.in: Removed.
281 * WebKit.vcproj/WebKit.vcproj:
282 * WebKit.vcproj/WebKitExportGenerator.vcproj:
283 * WebKit.vcproj/WebKitExportGeneratorBuildCmd.cmd:
284 * WebKit.vcproj/WebKitExportGeneratorPostBuild.cmd:
285 * WebKit.vcproj/WebKitExportGeneratorPreBuild.cmd:
286 * WebKit.vcproj/WebKitExports.def.in: Copied from Source/WebKit/win/WebKit.vcproj/WebKit.def.in.
287 * WebKit.vcproj/WebKitLibCommon.vsprops:
289 2013-01-09 Roger Fong <roger_fong@apple.com>
291 Add WebPreferences for Seamless IFrames on Windows port.
292 https://bugs.webkit.org/show_bug.cgi?id=106468.
294 Rubberstamped by Eric Seidel.
296 * Interfaces/IWebPreferences.idl:
297 * WebPreferenceKeysPrivate.h:
298 * WebPreferences.cpp:
299 (WebPreferences::areSeamlessIFramesEnabled):
300 (WebPreferences::setSeamlessIFramesEnabled):
304 (WebView::notifyPreferencesChanged):
306 2013-01-09 peavo@outlook.com <peavo@outlook.com>
308 [WinCairo] Link fix after r138759
309 https://bugs.webkit.org/show_bug.cgi?id=106323
311 Reviewed by Kentaro Hara.
313 * WebKit.vcproj/WebKitLibDebugCairoCFLite.vsprops: Include WebKitCFLite.vsprops.
314 * WebKit.vcproj/WebKitLibReleaseCairoCFLite.vsprops: Include WebKitCFLite.vsprops.
316 2013-01-08 Hajime Morrita <morrita@google.com>
318 [Shadow DOM] Distribution related code on ShadowRoot should be minimized.
319 https://bugs.webkit.org/show_bug.cgi?id=106282
321 Reviewed by Dimitri Glazkov.
323 * WebKit.vcproj/WebKit.def.in:
325 2013-01-08 Mark Lam <mark.lam@apple.com>
327 Removed the need for the ProposedDatabase mechanism.
328 https://bugs.webkit.org/show_bug.cgi?id=106292.
330 Reviewed by Sam Weinig.
332 * WebCoreSupport/WebChromeClient.cpp:
333 (WebChromeClient::exceededDatabaseQuota):
334 * WebCoreSupport/WebChromeClient.h:
337 2013-01-04 Roger Fong <roger_fong@apple.com>
339 Make private browsing work on Windows.
340 https://bugs.webkit.org/show_bug.cgi?id=106032.
342 Reviewed by Alexey Proskuryakov.
344 Code path never called ensurePrivateBrowsingSession which is what starts up the private browsing session.
345 This was causing many tests to involving private browsing to fail.
348 (WebView::notifyPreferencesChanged):
350 2013-01-03 Roger Fong <roger_fong@apple.com>
352 Remove all traces of Windows from WebKit2 folder.
353 https://bugs.webkit.org/show_bug.cgi?id=105585.
355 Reviewed by Sam Weinig.
357 WebKitExportGenerator project needs to be moved out of the WebKit2/win folder and into WebKit/win.
359 * WebKit.vcproj/WebKit.def.in: Added.
360 * WebKit.vcproj/WebKit.sln:
361 * WebKit.vcproj/WebKit.vcproj:
362 * WebKit.vcproj/WebKitCFLite.vsprops: Added.
363 * WebKit.vcproj/WebKitExportGenerator.vcproj: Added.
364 * WebKit.vcproj/WebKitExportGeneratorBuildCmd.cmd: Added.
365 * WebKit.vcproj/WebKitExportGeneratorCommon.vsprops: Added.
366 * WebKit.vcproj/WebKitExportGeneratorDebug.vsprops: Added.
367 * WebKit.vcproj/WebKitExportGeneratorDebugAll.vsprops: Added.
368 * WebKit.vcproj/WebKitExportGeneratorDebugCairoCFLite.vsprops: Added.
369 * WebKit.vcproj/WebKitExportGeneratorPostBuild.cmd: Added.
370 * WebKit.vcproj/WebKitExportGeneratorPreBuild.cmd: Added.
371 * WebKit.vcproj/WebKitExportGeneratorProduction.vsprops: Added.
372 * WebKit.vcproj/WebKitExportGeneratorRelease.vsprops: Added.
373 * WebKit.vcproj/WebKitExportGeneratorReleaseCairoCFLite.vsprops: Added.
374 * WebKit.vcproj/WebKitLibCommon.vsprops:
376 2013-01-03 Csaba Osztrogonác <ossy@webkit.org>
378 Unreviewed fix after r138656 to make GIT-SVN repositories happy.
380 * WebKit.vcproj/WebKitApple.vsprops: Added property svn:eol-style. Removed property svn:mime-type.
381 * WebKit.vcproj/WebKitDirectX.vsprops: Added property svn:eol-style. Removed property svn:mime-type.
383 2013-01-02 Roger Fong <roger_fong@apple.com>
385 Unreviewed. Build fix after reintroducing r138331.
387 Attempted to remove WebKit2 from Apple Windows port in r138331 but two vsprops files were missing.
389 * WebKit.vcproj/WebKitApple.vsprops: Added.
390 * WebKit.vcproj/WebKitDirectX.vsprops: Added.
392 2013-01-02 Sheriff Bot <webkit.review.bot@gmail.com>
394 Unreviewed, rolling out r138403.
395 http://trac.webkit.org/changeset/138403
396 https://bugs.webkit.org/show_bug.cgi?id=105950
398 Fixing e138331 which was rolled out in r138403 (Requested by
401 * WebKit.vcproj/WebKit.sln:
402 * WebKit.vcproj/WebKit.vcproj:
403 * WebKit.vcproj/WebKitLibCommon.vsprops:
404 * WebKit.vcproj/WebKitLibDebug.vsprops:
405 * WebKit.vcproj/WebKitLibDebugAll.vsprops:
406 * WebKit.vcproj/WebKitLibProduction.vsprops:
407 * WebKit.vcproj/WebKitLibRelease.vsprops:
409 2012-12-23 Alexey Proskuryakov <ap@apple.com>
411 <rdar://problem/12808377> Network process should respect cookie accept policy
412 https://bugs.webkit.org/show_bug.cgi?id=105684
414 Reviewed by Sam Weinig.
416 * WebCoreSupport/WebPlatformStrategies.cpp:
417 * WebCoreSupport/WebPlatformStrategies.h:
418 CookiesStrategy no longer has notifyCookiesChanged(). This port didn't use it anyway.
420 2012-12-22 Alexey Proskuryakov <ap@apple.com>
422 Add a separate class for networking related storage
423 https://bugs.webkit.org/show_bug.cgi?id=105676
425 Reviewed by Sam Weinig.
427 * WebCookieManagerCFNet.cpp:
431 * WebCoreSupport/WebFrameNetworkingContext.cpp:
432 * WebCoreSupport/WebFrameNetworkingContext.h:
433 This class is now simpler, with most session tracking being in WebCore.
435 * WebCoreSupport/WebPlatformStrategies.cpp:
436 (WebPlatformStrategies::cookiesForDOM):
437 (WebPlatformStrategies::setCookiesFromDOM):
438 (WebPlatformStrategies::cookiesEnabled):
439 (WebPlatformStrategies::cookieRequestHeaderFieldValue):
440 (WebPlatformStrategies::getRawCookies):
441 (WebPlatformStrategies::deleteCookie):
442 * WebCoreSupport/WebPlatformStrategies.h:
443 We no longer need a function for default storage! Other functions now take a session.
445 2012-12-21 Sheriff Bot <webkit.review.bot@gmail.com>
447 Unreviewed, rolling out r138331.
448 http://trac.webkit.org/changeset/138331
449 https://bugs.webkit.org/show_bug.cgi?id=105668
451 Broke Windows clean builds; can't figure out how to fix it
452 (Requested by rniwa on #webkit).
454 * WebKit.vcproj/WebKit.sln:
455 * WebKit.vcproj/WebKit.vcproj:
456 * WebKit.vcproj/WebKitLibCommon.vsprops:
457 * WebKit.vcproj/WebKitLibDebug.vsprops:
458 * WebKit.vcproj/WebKitLibDebugAll.vsprops:
459 * WebKit.vcproj/WebKitLibProduction.vsprops:
460 * WebKit.vcproj/WebKitLibRelease.vsprops:
462 2012-12-20 Anders Carlsson <andersca@apple.com>
464 Stop building WebKit2 for Windows
465 https://bugs.webkit.org/show_bug.cgi?id=105585
467 Reviewed by Brian Weinstein.
469 Stop building WebKit2 on Windows, and change WebKit.vcproj to build WebKit.dll again.
471 * WebKit.vcproj/WebKit.sln:
472 * WebKit.vcproj/WebKit.vcproj:
473 * WebKit.vcproj/WebKitApple.vsprops: Added.
474 * WebKit.vcproj/WebKitDirectX.vsprops: Added.
475 * WebKit.vcproj/WebKitLibCommon.vsprops:
476 * WebKit.vcproj/WebKitLibDebug.vsprops:
477 * WebKit.vcproj/WebKitLibDebugAll.vsprops:
478 * WebKit.vcproj/WebKitLibProduction.vsprops:
479 * WebKit.vcproj/WebKitLibRelease.vsprops:
481 2012-12-20 Anders Carlsson <andersca@apple.com>
483 Copy WebKit2.rc to back to WebKit/win/WebKit.vcproj.
485 Rubber-stamped by Tim Horton.
487 * WebKit.vcproj/WebKit.rc: Added.
489 2012-12-20 Anders Carlsson <andersca@apple.com>
491 Copy files from WebKit2/win (back) to WebKit/win/WebKit.vcproj.
493 Rubber-stamped by Tim Horton.
495 * WebKit.vcproj/deleteButton.png: Added.
496 * WebKit.vcproj/deleteButtonPressed.png: Added.
497 * WebKit.vcproj/fsVideoAudioVolumeHigh.png: Added.
498 * WebKit.vcproj/fsVideoAudioVolumeLow.png: Added.
499 * WebKit.vcproj/fsVideoExitFullscreen.png: Added.
500 * WebKit.vcproj/fsVideoPause.png: Added.
501 * WebKit.vcproj/fsVideoPlay.png: Added.
502 * WebKit.vcproj/missingImage.png: Added.
503 * WebKit.vcproj/nullplugin.png: Added.
504 * WebKit.vcproj/panEastCursor.png: Added.
505 * WebKit.vcproj/panIcon.png: Added.
506 * WebKit.vcproj/panNorthCursor.png: Added.
507 * WebKit.vcproj/panNorthEastCursor.png: Added.
508 * WebKit.vcproj/panNorthWestCursor.png: Added.
509 * WebKit.vcproj/panSouthCursor.png: Added.
510 * WebKit.vcproj/panSouthEastCursor.png: Added.
511 * WebKit.vcproj/panSouthWestCursor.png: Added.
512 * WebKit.vcproj/panWestCursor.png: Added.
513 * WebKit.vcproj/searchCancel.png: Added.
514 * WebKit.vcproj/searchCancelPressed.png: Added.
515 * WebKit.vcproj/searchMagnifier.png: Added.
516 * WebKit.vcproj/searchMagnifierResults.png: Added.
517 * WebKit.vcproj/textAreaResizeCorner.png: Added.
518 * WebKit.vcproj/verticalTextCursor.png: Added.
519 * WebKit.vcproj/zoomInCursor.png: Added.
520 * WebKit.vcproj/zoomOutCursor.png: Added.
522 2012-12-19 Anders Carlsson <andersca@apple.com>
524 Build WebKit2ExportGenerator before WebKitLib
525 https://bugs.webkit.org/show_bug.cgi?id=105487
527 Reviewed by Tim Horton.
529 * WebKit.vcproj/WebKit.sln:
531 2012-12-18 Alexey Proskuryakov <ap@apple.com>
533 Remove unnecessary functions from CookiesStrategy
534 https://bugs.webkit.org/show_bug.cgi?id=105369
536 Reviewed by Brady Eidson.
538 * WebCoreSupport/WebPlatformStrategies.cpp:
539 * WebCoreSupport/WebPlatformStrategies.h:
541 2012-12-15 Anders Carlsson <andersca@apple.com>
543 Rename FrameLoaderClient::download to convertMainResourceLoadToDownload
544 https://bugs.webkit.org/show_bug.cgi?id=105122
546 Reviewed by Andreas Kling.
548 Update for WebCore changes.
551 (WebFrame::convertMainResourceLoadToDownload):
554 2012-12-15 Mark Lam <mark.lam@apple.com>
556 Re-landing patch for "Introducing the DatabaseStrategy and database servers".
557 https://bugs.webkit.org/show_bug.cgi?id=104934.
561 Merged from r137767. Previously reviewed by Sam Weinig.
563 * WebCoreSupport/WebPlatformStrategies.cpp:
564 (WebPlatformStrategies::createDatabaseStrategy):
565 * WebCoreSupport/WebPlatformStrategies.h:
566 (WebPlatformStrategies):
568 2012-12-14 Mark Lam <mark.lam@apple.com>
570 The WebView should initialize the platform strategies before initializing other sub-systems.
571 https://bugs.webkit.org/show_bug.cgi?id=105083.
573 Reviewed by Alexey Proskuryakov.
576 (WebView::initWithFrame):
578 2012-12-14 Sheriff Bot <webkit.review.bot@gmail.com>
580 Unreviewed, rolling out r137767.
581 http://trac.webkit.org/changeset/137767
582 https://bugs.webkit.org/show_bug.cgi?id=105062
584 Broke Mac builds. (Requested by mlam on #webkit).
586 * WebCoreSupport/WebPlatformStrategies.cpp:
587 * WebCoreSupport/WebPlatformStrategies.h:
588 (WebPlatformStrategies):
590 2012-12-14 Mark Lam <mark.lam@apple.com>
592 Introducing the DatabaseStrategy and database servers.
593 https://bugs.webkit.org/show_bug.cgi?id=104934.
595 Reviewed by Sam Weinig.
597 The database server is currently a placeholder that does nothing.
599 * WebCoreSupport/WebPlatformStrategies.cpp:
600 (WebPlatformStrategies::createDatabaseStrategy):
601 * WebCoreSupport/WebPlatformStrategies.h:
602 (WebPlatformStrategies):
604 2012-12-13 Alexey Proskuryakov <ap@apple.com>
606 <rdar://problem/12838354> Per-Tab WebProcess: DOM cookie access functions should respect private browsing
607 https://bugs.webkit.org/show_bug.cgi?id=104691
609 Reviewed by Sam Weinig.
611 * WebCoreSupport/WebFrameNetworkingContext.cpp:
612 (WebFrameNetworkingContext::inPrivateBrowsingMode):
613 (WebFrameNetworkingContext::storageSession):
614 * WebCoreSupport/WebFrameNetworkingContext.h:
615 Implemented inPrivateBrowsingMode().
617 2012-12-12 Mark Lam <mark.lam@apple.com>
619 Encapsulate externally used webdatabase APIs in DatabaseManager.
620 https://bugs.webkit.org/show_bug.cgi?id=104741.
622 Reviewed by Sam Weinig.
624 Use DatabaseManager instead of accessing DatabaseTracker, AbstractDatabase,
625 and DatabaseContext directly. This is to prepare for upcoming webkit2
628 * WebDatabaseManager.cpp:
629 (WebDatabaseManager::sharedWebDatabaseManager):
630 (WebDatabaseManager::origins):
631 (WebDatabaseManager::databasesWithOrigin):
632 (WebDatabaseManager::detailsForDatabase):
633 (WebDatabaseManager::deleteAllDatabases):
634 (WebDatabaseManager::deleteOrigin):
635 (WebDatabaseManager::deleteDatabase):
636 (WebDatabaseManager::setQuota):
637 (WebKitInitializeWebDatabasesIfNecessary):
638 * WebDatabaseManager.h:
639 (WebDatabaseManager):
640 * WebSecurityOrigin.cpp:
641 (WebSecurityOrigin::usage):
642 (WebSecurityOrigin::quota):
643 (WebSecurityOrigin::setQuota):
645 (WebView::notifyPreferencesChanged):
647 2012-12-12 Alexey Proskuryakov <ap@apple.com>
649 Make LOG() work in WebProcess and NetworkProcess
650 https://bugs.webkit.org/show_bug.cgi?id=104718
652 Reviewed by Tim Horton.
654 * WebView.cpp: Updated for a new include file to use in WebKits.
656 2012-12-11 Mike West <mkwst@chromium.org>
658 Web Inspector: ConsoleTypes should not expose MessageType - it should be private to inspector.
659 https://bugs.webkit.org/show_bug.cgi?id=66371
661 Reviewed by Pavel Feldman.
663 Drops WebCore::MessageType from the addMessageToConsole method.
665 * WebCoreSupport/WebChromeClient.cpp:
666 (WebChromeClient::addMessageToConsole):
667 * WebCoreSupport/WebChromeClient.h:
670 2012-12-10 Xueqing Huang <huangxueqing@baidu.com>
672 ASSERTION failed in Windows: css3/css3-modsel-33.html
673 https://bugs.webkit.org/show_bug.cgi?id=104472
675 Reviewed by Tim Horton.
677 In WebFrameLoaderClient::dispatchDidLayout, milestones maybe
678 DidFirstLayout & DidFirstVisualNonEmptyLayout, we should
679 use seperate COMPtrs for the two cases rather than reuse one.
681 * WebCoreSupport/WebFrameLoaderClient.cpp:
682 (WebFrameLoaderClient::dispatchDidLayout):
684 2012-12-08 Seokju Kwon <seokju.kwon@gmail.com>
686 Remove unused headers
687 https://bugs.webkit.org/show_bug.cgi?id=104428
689 Reviewed by Kentaro Hara.
691 Header inclusion cleanup.
692 Remove <WebCore/NotImplement.h>.
694 * WebCoreSupport/WebInspectorClient.cpp:
695 * WebMutableURLRequest.cpp:
697 2012-12-07 Anders Carlsson <andersca@apple.com>
699 Remove WebKit2 related projects from WebKit.sln
700 https://bugs.webkit.org/show_bug.cgi?id=104395
702 Reviewed by Tim Horton.
704 * WebKit.vcproj/WebKit.sln:
706 2012-11-30 Brent Fulgham <bfulgham@webkit.org>
708 [Windows, WinCairo] Generate library export definition file.
709 https://bugs.webkit.org/show_bug.cgi?id=103687
711 Reviewed by Tim Horton.
713 Update project solutions to use the new generated *.def files.
715 * WebKit.vcproj/WebKit.sln: Update for new project and file
718 2012-11-30 Mihai Maerean <mmaerean@adobe.com>
720 [CSSRegions] when WebKit uses V8, there should be a single variable to store if the CSS Regions feature is enabled
721 https://bugs.webkit.org/show_bug.cgi?id=101192
723 Reviewed by Hajime Morita.
725 Removed the CSS Regions flag in Settings and switched to using the new flag I have added in RuntimeEnabledFeatures.
727 Tests: No new tests because there is no functional change.
730 (WebView::notifyPreferencesChanged):
732 2012-11-29 Alexey Proskuryakov <ap@apple.com>
734 [WK2] Forward cookie jar calls to NetworkProcess
735 https://bugs.webkit.org/show_bug.cgi?id=103457
737 Reviewed by Darin Adler.
739 * WebCoreSupport/WebPlatformStrategies.cpp:
740 (WebPlatformStrategies::cookiesForDOM):
741 (WebPlatformStrategies::setCookiesFromDOM):
742 (WebPlatformStrategies::cookiesEnabled):
743 (WebPlatformStrategies::cookieRequestHeaderFieldValue):
744 (WebPlatformStrategies::getRawCookies):
745 (WebPlatformStrategies::deleteCookie):
746 (WebPlatformStrategies::getHostnamesWithCookies):
747 (WebPlatformStrategies::deleteCookiesForHostname):
748 (WebPlatformStrategies::deleteAllCookies):
750 2012-11-27 James Simonsen <simonjam@chromium.org>
752 Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
753 https://bugs.webkit.org/show_bug.cgi?id=102151
755 Reviewed by Adam Barth.
758 (WebFrame::loadRequest):
759 (WebFrame::loadData):
761 2012-11-27 Sheriff Bot <webkit.review.bot@gmail.com>
763 Unreviewed, rolling out r135786.
764 http://trac.webkit.org/changeset/135786
765 https://bugs.webkit.org/show_bug.cgi?id=103379
767 It made 3 plugin tests timeout on several platforms (Requested
771 (WebFrame::loadRequest):
772 (WebFrame::loadData):
774 2012-11-26 James Simonsen <simonjam@chromium.org>
776 Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
777 https://bugs.webkit.org/show_bug.cgi?id=102151
779 Reviewed by Adam Barth.
782 (WebFrame::loadRequest):
783 (WebFrame::loadData):
785 2012-11-21 Allan Sandfeld Jensen <allan.jensen@digia.com>
787 Disambiguate innerNodeFramePoint and mainFramePoint
788 https://bugs.webkit.org/show_bug.cgi?id=98139
790 Reviewed by Julien Chaffraix.
793 (WebView::handleContextMenuEvent):
795 2012-11-20 Sheriff Bot <webkit.review.bot@gmail.com>
797 Unreviewed, rolling out r135295.
798 http://trac.webkit.org/changeset/135295
799 https://bugs.webkit.org/show_bug.cgi?id=102834
801 This patch causes assertion to some layout tests on chromium
802 (Requested by jianli on #webkit).
805 (WebFrame::loadRequest):
806 (WebFrame::loadData):
808 2012-11-20 James Simonsen <simonjam@chromium.org>
810 Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
811 https://bugs.webkit.org/show_bug.cgi?id=102151
813 Reviewed by Adam Barth.
816 (WebFrame::loadRequest):
817 (WebFrame::loadData):
819 2012-11-17 Brady Eidson <beidson@apple.com>
821 Add an integer identifier field to AuthenticationChallengeBase.
822 https://bugs.webkit.org/show_bug.cgi?id=102593
824 Reviewed by Darin Adler.
826 * WebURLAuthenticationChallenge.cpp:
827 (WebURLAuthenticationChallenge::initWithProtectionSpace): Adopt the new constructor with a dummy identifier.
829 2012-11-16 Brent Fulgham <bfulgham@webkit.org>
831 [WinCairo] Unreviewed build fix after r134960.
833 Avoid including Mac-specific headers.
835 * WebCoreSupport/WebFrameNetworkingContext.cpp: Stub out
836 CFNetwork-based implementations.
837 * WebCoreSupport/WebFrameNetworkingContext.h: Exclude
838 CFNetwork data types.
839 * WebCoreSupport/WebPlatformStrategies.cpp: Stub out
840 CFNetwork-based implementations.
841 * WebCoreSupport/WebPlatformStrategies.h: Exclude
842 CFNetwork data types.
844 2012-11-15 Alexey Proskuryakov <ap@apple.com>
846 Private Browsing is a per-page setting that sets a global value
847 https://bugs.webkit.org/show_bug.cgi?id=67870
849 Reviewed by Sam Weinig.
851 * WebCookieManagerCFNet.cpp: (WebCookieManager::cookieStorage): We can't get
852 current session without any context, but the code was not correct anyway, the client
853 is clearly interested in a getter to match override setter.
855 * WebCoreSupport/WebFrameNetworkingContext.cpp: Moved code for tracking global
856 sessions from WebCore to WebKit. The behavior is unchanged, but lower levels are
859 * WebCoreSupport/WebFrameNetworkingContext.h: Ditto.
861 * WebCoreSupport/WebPlatformStrategies.h:
862 * WebCoreSupport/WebPlatformStrategies.cpp:
863 (WebPlatformStrategies::defaultCookieStorage): Added. Use WebFrameNetworkingContext
864 for tracking the default session.
866 * WebView.cpp: (updateSharedSettingsFromPreferencesIfNeeded):
867 Use WebFrameNetworkingContext::setCookieAcceptPolicyForAllContexts. Updating only
868 the current session is not sufficient, and did not match Mac.
870 2012-11-14 George Tsoumalis <tsumalis96@gmail.com>
872 Implementation for mehods in WebMutableURLRequest.cpp
873 https://bugs.webkit.org/show_bug.cgi?id=83671
875 Reviewed by Brent Fulgham..
877 * WebMutableURLRequest.cpp:
878 (WebMutableURLRequest::addValue):
879 (WebMutableURLRequest::setMainDocumentURL):
880 (WebMutableURLRequest::setHTTPShouldHandleCookies):
883 2012-11-12 Roger Fong <roger_fong@apple.com>
885 REGRESSION(r130643): Assertion failure when running DRT in debug mode
886 https://bugs.webkit.org/show_bug.cgi?id=101791
888 Reviewed by Darin Adler.
890 When running DRT in debug mode, we hit an assertion failure in initializing the WebKit instance.
891 This failure started occuring in r130643 and this work around follows the work around in r132302.
896 2012-11-12 Roger Fong <roger_fong@apple.com>
898 Web Inspector: Fix docking behaviour on Windows.
899 https://bugs.webkit.org/show_bug.cgi?id=101978
901 Reviewed by Brian Weinstein.
903 There are a number of problems with docking behaviour on Windows.
904 For starters, it does not ever constrain the inspector's size properly while docked.
905 It also does not properly set the whether or not the inspector can be docked/undocked.
906 This patch fixes both issues.
908 * WebCoreSupport/WebInspectorClient.cpp:
909 (WebInspectorFrontendClient::frontendLoaded):
910 (WebInspectorFrontendClient::attachWindow):
911 Call restoreAttachedWindowHeight so that when first loading or reattaching the inspector,
912 we resize the inspector window properly.
914 2012-11-05 Simon Fraser <simon.fraser@apple.com>
916 Fix layer borders to cleaning appear and disappear on switching
917 https://bugs.webkit.org/show_bug.cgi?id=101136
919 Reviewed by Sam Weinig.
921 Remove the GraphicsLayerClient methods showDebugBorders() and
922 showRepaintCounter().
927 2012-10-29 Anders Carlsson <andersca@apple.com>
929 String::createCFString should return a RetainPtr
930 https://bugs.webkit.org/show_bug.cgi?id=100419
932 Reviewed by Andreas Kling.
934 Update callers of String::createCFString.
936 * WebCoreSupport/WebFrameLoaderClient.cpp:
937 (WebFrameLoaderClient::dispatchDidFailToStartPlugin):
938 * WebDatabaseManager.cpp:
939 (WebDatabaseManager::dispatchDidModifyDatabase):
941 (WebHistory::visitedURL):
942 (WebHistory::itemForURLString):
943 * WebHistoryItem.cpp:
944 (WebHistoryItem::dictionaryRepresentation):
945 * WebIconDatabase.cpp:
946 (WebIconDatabase::iconDatabaseNotificationUserInfoURLKey):
947 (postDidAddIconNotification):
948 * WebLocalizableStrings.cpp:
949 (createWebKitBundle):
950 (copyLocalizedStringFromBundle):
951 * WebPreferences.cpp:
952 (WebPreferences::initializeDefaultSettings):
954 (WebView::setCacheModel):
955 (WebView::notifyPreferencesChanged):
957 2012-10-24 Brady Eidson <beidson@apple.com>
959 Add a strategy for loader customization.
960 https://bugs.webkit.org/show_bug.cgi?id=100278
962 Reviewed by Alexey Proskuryakov.
964 * WebCoreSupport/WebPlatformStrategies.cpp:
965 (WebPlatformStrategies::createLoaderStrategy):
966 * WebCoreSupport/WebPlatformStrategies.h:
967 (WebPlatformStrategies):
969 2012-10-23 Alexey Proskuryakov <ap@apple.com>
971 Add a strategy for shared workers
972 https://bugs.webkit.org/show_bug.cgi?id=100165
974 Reviewed by Brady Eidson.
976 * WebCoreSupport/WebPlatformStrategies.cpp:
977 (WebPlatformStrategies::createPasteboardStrategy):
978 (WebPlatformStrategies::createSharedWorkerStrategy):
979 (WebPlatformStrategies::createVisitedLinkStrategy):
980 * WebCoreSupport/WebPlatformStrategies.h:
981 (WebPlatformStrategies):
983 2012-10-22 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
985 [Qt] Fix "ASSERTION FAILED: !document->inPageCache()" when loading a page
986 https://bugs.webkit.org/show_bug.cgi?id=98514
988 Reviewed by Kenneth Rohde Christiansen.
990 * WebCoreSupport/WebFrameLoaderClient.cpp:
991 (WebFrameLoaderClient::transitionToCommittedForNewPage):
993 2012-10-21 Andreas Kling <kling@webkit.org>
995 Remove Page::javaScriptURLsAreAllowed setting.
996 <http://webkit.org/b/99944>
998 Reviewed by Anders Carlsson.
1000 Have WebView::setJavaScriptURLsAreAllowed() do nothing and return E_NOTIMPL
1001 to prevent COM ABI breakage.
1004 (WebView::setJavaScriptURLsAreAllowed):
1006 2012-10-18 Roger Fong <roger_fong@apple.com>
1008 Unreviewed. Build fix after r131701 and r131777.
1010 * WebKit.vcproj/WebKit.sln:
1012 2012-10-14 Sam Weinig <sam@webkit.org>
1014 Fix the windows build.
1019 2012-10-10 Brady Eidson <beidson@apple.com>
1021 Switch ResourceLoader::resourceData() from SharedBuffer to ResourceBuffer
1022 https://bugs.webkit.org/show_bug.cgi?id=98976
1024 Reviewed by Anders Carlsson.
1026 * WebDataSource.cpp:
1027 (WebDataSource::data):
1029 2012-10-10 Jon Lee <jonlee@apple.com>
1031 [WK2] Activate plugins when user clicks on snapshot
1032 https://bugs.webkit.org/show_bug.cgi?id=98328
1033 <rdar://problem/12426681>
1035 Reviewed by Brady Eidson.
1037 * WebCoreSupport/WebFrameLoaderClient.h:
1038 (WebFrameLoaderClient::recreatePlugin): Stub implementation of recreatePlugin().
1040 2012-10-10 Brady Eidson <beidson@apple.com>
1042 Switch CachedResource over from SharedBuffer to a new ResourceBuffer
1043 https://bugs.webkit.org/show_bug.cgi?id=98541
1045 Reviewed by Anders Carlsson.
1047 * WebDataSource.cpp:
1048 (WebDataSource::subresourceForURL):
1050 2012-10-08 Simon Fraser <simon.fraser@apple.com>
1052 Some GraphicsLayer cleanup to separate the concepts of using a tile cache, and being the main tile cache layer
1053 https://bugs.webkit.org/show_bug.cgi?id=98574
1055 Reviewed by Dean Jackson.
1057 GraphicsLayerCA assumed that using a TileCache equated to being the main page tile
1058 cache layer, which has some special considerations. Make these two concepts separate
1059 to get closer to being able to use TileCaches in place of CATiledLayer.
1061 * FullscreenVideoController.cpp:
1062 (FullscreenVideoController::LayerClient::platformCALayerShowRepaintCounter):
1064 2012-10-07 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
1066 Rename first/second to key/value in HashMap iterators
1067 https://bugs.webkit.org/show_bug.cgi?id=82784
1069 Reviewed by Eric Seidel.
1073 (::GetPropertyInfo):
1074 * WebCoreStatistics.cpp:
1075 (WebCoreStatistics::javaScriptProtectedObjectTypeCounts):
1076 * WebCoreSupport/WebPlatformStrategies.cpp:
1077 (WebPlatformStrategies::getPluginInfo):
1079 (WebHistory::removeItemFromDateCaches):
1082 * WebKitStatistics.cpp:
1083 (WebKitStatistics::comClassNameCounts):
1084 * WebNotificationCenter.cpp:
1085 (WebNotificationCenter::postNotificationInternal):
1086 (WebNotificationCenter::addObserver):
1087 (WebNotificationCenter::removeObserver):
1089 2012-10-04 Simon Fraser <simon.fraser@apple.com>
1091 Final part of "sync" to "flush" renaming
1092 https://bugs.webkit.org/show_bug.cgi?id=98430
1094 Reviewed by Tim Horton.
1096 Change method names on GraphicsLayer and GraphicsLayerClient that
1097 refer to "sync" to use the term "flush" instead, to be consistent
1098 with the rest of the code.
1101 (WebView::notifyFlushRequired):
1102 (WebView::flushPendingGraphicsLayerChanges):
1105 2012-10-04 Simon Fraser <simon.fraser@apple.com>
1107 Standardize on "flush" terminology for compositing layer flushing/syncing
1108 https://bugs.webkit.org/show_bug.cgi?id=98321
1110 Reviewed by Simon Fraser.
1112 Rename compositing-related methods that refer to "syncing" to instead
1113 refer to "flushing".
1115 * WebCoreSupport/WebChromeClient.cpp:
1116 (WebChromeClient::scheduleCompositingLayerFlush):
1117 * WebCoreSupport/WebChromeClient.h:
1120 (WebView::flushPendingGraphicsLayerChanges):
1122 2012-10-02 Anders Carlsson <andersca@apple.com>
1124 Change most GraphicsLayer::create calls to use the version that takes a GraphicsLayerFactory
1125 https://bugs.webkit.org/show_bug.cgi?id=98217
1127 Reviewed by Andreas Kling.
1130 (WebView::setAcceleratedCompositing):
1132 2012-10-01 Brady Eidson <beidson@apple.com>
1134 Remove the Safari 2 -> Safari 3 icon database import code.
1135 https://bugs.webkit.org/show_bug.cgi?id=98113
1137 Reviewed by Maciej Stachowiak.
1139 Nuke the performImport() IconDatabaseClient method.
1141 * WebIconDatabase.cpp:
1142 * WebIconDatabase.h:
1145 2012-09-25 Beth Dakin <bdakin@apple.com>
1147 https://bugs.webkit.org/show_bug.cgi?id=95397
1148 Need to merge didFirstVisuallyNonEmptyLayout and
1149 didNewFirstVisuallyNonEmptyLayout
1151 <rdar://problem/10791680>
1153 Reviewed by Sam Weinig.
1155 Remove dispatchDidFirstLayout,
1156 dispatchDidFirstVisuallyNonEmptyLayout, and
1157 dispatchDidNewFirstVisuallyNonEmptyLayout. Their functionality
1158 is now replaced by dispatchDidLayout(LayoutMilestoneOptions)
1159 * WebCoreSupport/WebFrameLoaderClient.cpp:
1160 (WebFrameLoaderClient::dispatchDidLayout):
1161 * WebCoreSupport/WebFrameLoaderClient.h:
1162 (WebFrameLoaderClient):
1164 It is now necessary to opt into getting any of the
1165 "layout milestone" notifications.
1167 (WebView::initWithFrame):
1169 2012-09-19 Patrick Gansterer <paroga@webkit.org>
1171 [WIN] Use BString in favour of BSTR to improve memory management
1172 https://bugs.webkit.org/show_bug.cgi?id=93128
1174 Reviewed by Anders Carlsson.
1176 BString automatically calls SysFreeString() in its destructor which helps
1177 avoiding memory leaks. So it should be used instead of BSTR directly.
1178 Add operator& to BString to allow its usage for out parameters too (like COMPtr).
1179 This fixes already a few memory leaks in the existing code.
1181 * DefaultPolicyDelegate.cpp:
1182 (DefaultPolicyDelegate::decidePolicyForNavigationAction):
1183 (DefaultPolicyDelegate::decidePolicyForMIMEType):
1184 (DefaultPolicyDelegate::unableToImplementPolicyWithError):
1185 * MarshallingHelpers.cpp:
1186 (MarshallingHelpers::KURLToBSTR):
1187 (MarshallingHelpers::CFStringRefToBSTR):
1188 (MarshallingHelpers::stringArrayToSafeArray):
1189 (MarshallingHelpers::safeArrayToStringArray):
1190 * WebCoreSupport/WebChromeClient.cpp:
1191 (WebChromeClient::runJavaScriptPrompt):
1192 * WebCoreSupport/WebEditorClient.cpp:
1193 (WebEditorClient::checkGrammarOfString):
1194 (WebEditorClient::getGuessesForWord):
1196 (WebFrame::canProvideDocumentSource):
1198 (WebHistory::removeItem):
1199 (WebHistory::addItem):
1200 * WebIconDatabase.cpp:
1201 (WebIconDatabase::startUpIconDatabase):
1202 * WebNotificationCenter.cpp:
1203 (WebNotificationCenter::postNotification):
1204 * WebPreferences.cpp:
1205 (WebPreferences::setStringValue):
1210 (PreferencesChangedOrRemovedObserver::onNotify):
1212 (WebView::canShowMIMEType):
1213 (WebView::initWithFrame):
1214 (WebView::setApplicationNameForUserAgent):
1215 (WebView::setCustomUserAgent):
1216 (WebView::userAgentForURL):
1217 (WebView::setCustomTextEncodingName):
1218 (WebView::customTextEncodingName):
1219 (WebView::setPreferences):
1220 (WebView::searchFor):
1221 (WebView::executeCoreCommandByName):
1222 (WebView::markAllMatchesForText):
1223 (WebView::setGroupName):
1224 (WebView::registerURLSchemeAsLocal):
1225 (WebView::replaceSelectionWithText):
1226 (WebView::onNotify):
1227 (WebView::notifyPreferencesChanged):
1228 (WebView::MIMETypeForExtension):
1229 (WebView::standardUserAgentWithApplicationName):
1230 (WebView::addAdditionalPluginDirectory):
1231 (WebView::registerEmbeddedViewMIMEType):
1232 (WebView::addOriginAccessWhitelistEntry):
1233 (WebView::removeOriginAccessWhitelistEntry):
1234 (WebView::geolocationDidFailWithError):
1235 (WebView::setDomainRelaxationForbiddenForURLScheme):
1236 (WebView::setCompositionForTesting):
1237 (WebView::confirmCompositionForTesting):
1239 2012-09-17 Sheriff Bot <webkit.review.bot@gmail.com>
1241 Unreviewed, rolling out r128809.
1242 http://trac.webkit.org/changeset/128809
1243 https://bugs.webkit.org/show_bug.cgi?id=96958
1245 Broke the Windows build. (Requested by andersca on #webkit).
1247 * DefaultPolicyDelegate.cpp:
1248 (DefaultPolicyDelegate::decidePolicyForNavigationAction):
1249 (DefaultPolicyDelegate::decidePolicyForMIMEType):
1250 (DefaultPolicyDelegate::unableToImplementPolicyWithError):
1251 * MarshallingHelpers.cpp:
1252 (MarshallingHelpers::KURLToBSTR):
1253 (MarshallingHelpers::CFStringRefToBSTR):
1254 (MarshallingHelpers::stringArrayToSafeArray):
1255 (MarshallingHelpers::safeArrayToStringArray):
1256 * WebCoreSupport/WebChromeClient.cpp:
1257 (WebChromeClient::runJavaScriptPrompt):
1258 * WebCoreSupport/WebEditorClient.cpp:
1259 (WebEditorClient::checkGrammarOfString):
1260 (WebEditorClient::getGuessesForWord):
1262 (WebFrame::canProvideDocumentSource):
1264 (WebHistory::removeItem):
1265 (WebHistory::addItem):
1266 * WebIconDatabase.cpp:
1267 (WebIconDatabase::startUpIconDatabase):
1268 * WebNotificationCenter.cpp:
1269 (WebNotificationCenter::postNotification):
1270 * WebPreferences.cpp:
1271 (WebPreferences::setStringValue):
1273 (PreferencesChangedOrRemovedObserver::onNotify):
1275 (WebView::canShowMIMEType):
1276 (WebView::initWithFrame):
1277 (WebView::setApplicationNameForUserAgent):
1278 (WebView::setCustomUserAgent):
1279 (WebView::userAgentForURL):
1280 (WebView::setCustomTextEncodingName):
1281 (WebView::customTextEncodingName):
1282 (WebView::setPreferences):
1283 (WebView::searchFor):
1284 (WebView::executeCoreCommandByName):
1285 (WebView::markAllMatchesForText):
1286 (WebView::setGroupName):
1287 (WebView::registerURLSchemeAsLocal):
1288 (WebView::replaceSelectionWithText):
1289 (WebView::onNotify):
1290 (WebView::notifyPreferencesChanged):
1291 (WebView::MIMETypeForExtension):
1292 (WebView::standardUserAgentWithApplicationName):
1293 (WebView::addAdditionalPluginDirectory):
1294 (WebView::registerEmbeddedViewMIMEType):
1297 (WebView::addOriginAccessWhitelistEntry):
1298 (WebView::removeOriginAccessWhitelistEntry):
1299 (WebView::geolocationDidFailWithError):
1300 (WebView::setDomainRelaxationForbiddenForURLScheme):
1301 (WebView::setCompositionForTesting):
1302 (WebView::confirmCompositionForTesting):
1304 2012-09-16 Mark Lam <mark.lam@apple.com>
1306 Added MSVC project changes to enable building the llint.
1307 https://bugs.webkit.org/show_bug.cgi?id=96175.
1309 Reviewed by Geoff Garen.
1311 This only adds the ability to build the llint, but currently, only the
1312 C++ backend is supported. By default, the Windows port will remain
1313 running with the baseline JIT. The llint will not be enabled.
1315 * WebKit.vcproj/WebKit.sln:
1317 2012-09-13 Brent Fulgham <bfulgham@webkit.org>
1319 [WinCairo] Unreviewed build fix.
1321 * WebCookieManagerCurl.cpp: Remove unused 'using WebCore'
1322 declaration that prevented the build from completing.
1324 2012-09-12 Sheriff Bot <webkit.review.bot@gmail.com>
1326 Unreviewed, rolling out r127876.
1327 http://trac.webkit.org/changeset/127876
1328 https://bugs.webkit.org/show_bug.cgi?id=96600
1330 mouse click doesn't work for spin button if spin button in
1331 iframe (Requested by yosin on #webkit).
1333 * WebActionPropertyBag.cpp:
1334 (WebActionPropertyBag::Read):
1336 (WebView::handleContextMenuEvent):
1337 (WebView::elementAtPoint):
1339 2012-09-10 Beth Dakin <bdakin@apple.com>
1341 https://bugs.webkit.org/show_bug.cgi?id=96158
1342 Need API to suppress scrollbar animations
1344 <rdar://problem/12210972>
1346 Reviewed by Sam Weinig.
1348 ScrollableArea::isOnActivePage() has been re-named to
1349 ScrollableArea:: scrollbarsCanBeActive().
1351 (WebScrollBar::scrollbarsCanBeActive):
1355 2012-09-10 Dominic Mazzoni <dmazzoni@google.com>
1357 AX: Update Windows port accessible role mappings to fix some tests
1358 https://bugs.webkit.org/show_bug.cgi?id=96219
1360 Reviewed by Chris Fleizach.
1362 Update a bunch of accessible role mappings to fix tests and improve win
1365 * AccessibleBase.cpp:
1368 2012-09-07 Allan Sandfeld Jensen <allan.jensen@nokia.com>
1370 Simplify hitTestResultAtPoint and nodesFromRect APIs
1371 https://bugs.webkit.org/show_bug.cgi?id=95720
1373 Reviewed by Antonio Gomes.
1375 Update calls to new API.
1377 * WebActionPropertyBag.cpp:
1378 (WebActionPropertyBag::Read):
1380 (WebView::handleContextMenuEvent):
1381 (WebView::elementAtPoint):
1383 2012-09-05 Sam Weinig <sam@webkit.org>
1385 Part 2 of removing PlatformString.h, remove PlatformString.h
1386 https://bugs.webkit.org/show_bug.cgi?id=95931
1388 Reviewed by Adam Barth.
1390 Remove PlatformString.h
1392 * DOMCSSClasses.cpp:
1393 * DefaultPolicyDelegate.cpp:
1394 * MarshallingHelpers.cpp:
1395 * WebCoreSupport/WebInspectorClient.h:
1399 * WebIconDatabase.cpp:
1401 * WebKitGraphics.cpp:
1402 * WebKitSystemBits.cpp:
1403 * WebLocalizableStrings.cpp:
1404 * WebNotificationCenter.cpp:
1407 2012-09-06 Patrick Gansterer <paroga@webkit.org>
1409 Remove String::operator+=() from windows platform code
1410 https://bugs.webkit.org/show_bug.cgi?id=95904
1412 Reviewed by Benjamin Poulain.
1414 Use StringBuilder and operator+() to concatenate strings instead of operator+=().
1416 * AccessibleBase.cpp:
1417 (AccessibleBase::get_accKeyboardShortcut):
1419 (WebDownload::bundlePathForTargetPath):
1421 (imeCompositionArgumentNames):
1423 2012-09-05 Kaustubh Atrawalkar <kaustubh@motorola.com>
1425 [DRT] LTC:: Move printing related APIs from LayoutTestController to Internals
1426 https://bugs.webkit.org/show_bug.cgi?id=92735
1428 Reviewed by Hajime Morita.
1430 Move numberOfPages, pageProperty & pageSizeAndMarginsInPixels in Internals and remove duplicated code from DumprenderTree & WebkitTestRunner.
1431 Kept the function defination and declaration to keep binary compatibility for IWebFramePrivate.idl
1434 (WebFrame::numberOfPages):
1436 2012-08-30 Benjamin Poulain <bpoulain@apple.com>
1438 Replace JSC::UString by WTF::String
1439 https://bugs.webkit.org/show_bug.cgi?id=95271
1441 Reviewed by Geoffrey Garen.
1443 Replace UString by String.
1446 (WebFrame::stringByEvaluatingJavaScriptInScriptWorld):
1448 (WebView::stringByEvaluatingJavaScriptFromString):
1450 2012-08-29 Dominic Mazzoni <dmazzoni@google.com>
1452 AX: Canvas should have a distinct role
1453 https://bugs.webkit.org/show_bug.cgi?id=95248
1455 Reviewed by Chris Fleizach.
1457 Map new CanvasRole to the same as ImageRole.
1459 * AccessibleBase.cpp:
1462 2012-08-29 Sheriff Bot <webkit.review.bot@gmail.com>
1464 Unreviewed, rolling out r126972.
1465 http://trac.webkit.org/changeset/126972
1466 https://bugs.webkit.org/show_bug.cgi?id=95349
1468 accessibility/canvas-description-and-role.html has been
1469 failing consistently on several bots and Dominic needs some
1470 time to investigate why (Requested by jchaffraix on #webkit).
1472 * AccessibleBase.cpp:
1475 2012-08-29 Dominic Mazzoni <dmazzoni@google.com>
1477 AX: Canvas should have a distinct role
1478 https://bugs.webkit.org/show_bug.cgi?id=95248
1480 Reviewed by Chris Fleizach.
1482 Map new CanvasRole to the same as ImageRole.
1484 * AccessibleBase.cpp:
1487 2012-08-28 Sheriff Bot <webkit.review.bot@gmail.com>
1489 Unreviewed, rolling out r126914.
1490 http://trac.webkit.org/changeset/126914
1491 https://bugs.webkit.org/show_bug.cgi?id=95239
1493 it breaks everything and fixes nothing (Requested by pizlo on
1498 (::GetPropertyInfo):
1499 * WebCoreStatistics.cpp:
1500 (WebCoreStatistics::javaScriptProtectedObjectTypeCounts):
1501 * WebCoreSupport/WebPlatformStrategies.cpp:
1502 (WebPlatformStrategies::getPluginInfo):
1504 (WebHistory::removeItemFromDateCaches):
1507 * WebKitStatistics.cpp:
1508 (WebKitStatistics::comClassNameCounts):
1509 * WebNotificationCenter.cpp:
1510 (WebNotificationCenter::postNotificationInternal):
1511 (WebNotificationCenter::addObserver):
1512 (WebNotificationCenter::removeObserver):
1514 2012-08-28 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
1516 Rename first/second to key/value in HashMap iterators
1517 https://bugs.webkit.org/show_bug.cgi?id=82784
1519 Reviewed by Eric Seidel.
1523 (::GetPropertyInfo):
1524 * WebCoreStatistics.cpp:
1525 (WebCoreStatistics::javaScriptProtectedObjectTypeCounts):
1526 * WebCoreSupport/WebPlatformStrategies.cpp:
1527 (WebPlatformStrategies::getPluginInfo):
1529 (WebHistory::removeItemFromDateCaches):
1532 * WebKitStatistics.cpp:
1533 (WebKitStatistics::comClassNameCounts):
1534 * WebNotificationCenter.cpp:
1535 (WebNotificationCenter::postNotificationInternal):
1536 (WebNotificationCenter::addObserver):
1537 (WebNotificationCenter::removeObserver):
1539 2012-08-27 Sheriff Bot <webkit.review.bot@gmail.com>
1541 Unreviewed, rolling out r126836.
1542 http://trac.webkit.org/changeset/126836
1543 https://bugs.webkit.org/show_bug.cgi?id=95163
1545 Broke all Apple ports, EFL, and Qt. (Requested by tkent on
1550 (::GetPropertyInfo):
1551 * WebCoreStatistics.cpp:
1552 (WebCoreStatistics::javaScriptProtectedObjectTypeCounts):
1553 * WebCoreSupport/WebPlatformStrategies.cpp:
1554 (WebPlatformStrategies::getPluginInfo):
1556 (WebHistory::removeItemFromDateCaches):
1559 * WebKitStatistics.cpp:
1560 (WebKitStatistics::comClassNameCounts):
1561 * WebNotificationCenter.cpp:
1562 (WebNotificationCenter::postNotificationInternal):
1563 (WebNotificationCenter::addObserver):
1564 (WebNotificationCenter::removeObserver):
1566 2012-08-27 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
1568 Rename first/second to key/value in HashMap iterators
1569 https://bugs.webkit.org/show_bug.cgi?id=82784
1571 Reviewed by Eric Seidel.
1575 (::GetPropertyInfo):
1576 * WebCoreStatistics.cpp:
1577 (WebCoreStatistics::javaScriptProtectedObjectTypeCounts):
1578 * WebCoreSupport/WebPlatformStrategies.cpp:
1579 (WebPlatformStrategies::getPluginInfo):
1581 (WebHistory::removeItemFromDateCaches):
1584 * WebKitStatistics.cpp:
1585 (WebKitStatistics::comClassNameCounts):
1586 * WebNotificationCenter.cpp:
1587 (WebNotificationCenter::postNotificationInternal):
1588 (WebNotificationCenter::addObserver):
1589 (WebNotificationCenter::removeObserver):
1591 2012-08-23 Adrienne Walker <enne@google.com>
1593 Convert ScrollableArea ASSERT_NOT_REACHED virtuals
1594 https://bugs.webkit.org/show_bug.cgi?id=93306
1596 Reviewed by Darin Adler.
1598 Add implementations where necessary to make derived classes concrete.
1599 Add OVERRIDE for ScrollableArea functions.
1602 (WebScrollBar::visibleHeight):
1603 (WebScrollBar::visibleWidth):
1604 (WebScrollBar::contentsSize):
1605 (WebScrollBar::isOnActivePage):
1606 (WebScrollBar::scrollableAreaBoundingBox):
1610 2012-08-22 Nikhil Bhargava <nbhargava@google.com>
1612 Reduce Font.h includes across project -- improves RenderObject.h compile time
1613 https://bugs.webkit.org/show_bug.cgi?id=93629
1615 Reviewed by Eric Seidel.
1617 Adds includes due to change in RenderStyle.h
1619 * DOMCoreClasses.cpp:
1621 2012-08-15 Ryosuke Niwa <rniwa@webkit.org>
1623 Update manual tests and comments to refer to TestRunner instead of LayoutTestController
1624 https://bugs.webkit.org/show_bug.cgi?id=94168
1626 Reviewed by Kent Tamura.
1628 * Interfaces/IWebPreferencesPrivate.idl:
1630 2012-08-14 Adam Barth <abarth@webkit.org>
1632 Delete Frame::domWindow() and Frame::existingDOMWindow()
1633 https://bugs.webkit.org/show_bug.cgi?id=93990
1635 Reviewed by Eric Seidel.
1638 (WebFrame::DOMWindow):
1639 (WebFrame::pendingFrameUnloadEventCount):
1641 2012-08-13 Tom Sepez <tsepez@chromium.org>
1643 [chromium] release FrameLoaderClientImpl::m_pluginWidget refptr upon Plugin Document detach.
1644 https://bugs.webkit.org/show_bug.cgi?id=93283
1646 Reviewed by Eric Seidel.
1648 Change the client redirectDataToPlugin method(s) to expect the possibility of
1649 a NULL argument, keeping existing behaviour otherwise.
1651 * WebCoreSupport/WebFrameLoaderClient.cpp:
1652 (WebFrameLoaderClient::redirectDataToPlugin):
1654 2012-08-05 Patrick Gansterer <paroga@webkit.org>
1656 [WIN] Use sizeof() for cbWndExtra values
1657 https://bugs.webkit.org/show_bug.cgi?id=93179
1659 Reviewed by Eric Carlson.
1661 Using sizof() instead of hardcoding the pointer size of
1662 the 32bit platform allows us to use the code on 64bit too.
1664 * FullscreenVideoController.cpp:
1665 (FullscreenVideoController::registerHUDWindowClass):
1667 (WebView::registerWebViewWindowClass):
1669 2012-07-26 Gyuyoung Kim <gyuyoung.kim@samsung.com>
1671 [Mac] Fix build break on Apple win bot after r123711
1672 https://bugs.webkit.org/show_bug.cgi?id=92354
1674 Reviewed by Adam Barth.
1676 Missing return value.
1679 (WebFrame::pageNumberForElementById):
1681 2012-07-26 Kaustubh Atrawalkar <kaustubh@motorola.com>
1683 [DRT] LTC:: pageNumberForElementById() could be moved to Internals
1684 https://bugs.webkit.org/show_bug.cgi?id=92091
1686 Reviewed by Adam Barth.
1688 Moved the pageNumberForElementById from LayoutTestCotroller to Internals and
1689 remove the old platform specific implementations as it exclusively tests WebCore functionality.
1691 * WebFrame.cpp: Added comment for removing the function. Removed implementation.
1693 2012-07-25 Roger Fong <roger_fong@apple.com>
1695 Changes to the WebFrame API cause dependent apps to crash.
1696 https://bugs.webkit.org/show_bug.cgi?id=91656
1697 <rdar://problem/11904605>
1699 Reviewed by Jon Honeycutt.
1701 Changes to the WebFrame API cause certain apps to crash because of inconsistencies in the COM interface.
1702 The resumeAnimations and suspendAnimations are removed, which are still needed.
1703 The counterValueByElementId method was also removed, although is not needed there.
1704 However, for all of these methods, no method stubs were added where appropriate after removal.
1706 * Interfaces/IWebFramePrivate.idl:
1707 Added resumeAnimations() and suspendAnimations() methods back in. Added unused method stub for counterValueByElementId method.
1710 (WebFrame::resumeAnimations):
1711 Added this method back in.
1712 (WebFrame::suspendAnimations):
1713 Added this method back in.
1716 (Re)added methods and unused method stubs.
1718 2012-07-23 Patrick Gansterer <paroga@webkit.org>
1720 Build fix if NOMINMAX is defined by the build system.
1722 * COMEnumVariant.h: Added #ifndef NOMINMAX around #define NOMINMAX.
1723 * COMPropertyBag.h: Ditto.
1725 2012-07-23 Pierre Rossi <pierre.rossi@gmail.com>
1727 Unify numTouchEventHandlersChanged and needTouchEvents in the chrome client
1728 https://bugs.webkit.org/show_bug.cgi?id=91006
1730 Reviewed by Ryosuke Niwa.
1732 Remove numTouchEventHandlersChanged stub.
1734 * WebCoreSupport/WebChromeClient.h:
1736 2012-07-17 Vivek Galatage <vivekgalatage@gmail.com>
1738 Web Inspector: refactor InspectorController::connectFrontend() to accept InspectorFrontendChannel.
1739 https://bugs.webkit.org/show_bug.cgi?id=91196
1741 Reviewed by Pavel Feldman.
1743 Refactoring InspectorClients. InspectorClient::openInspectorFrontend
1744 now returning the InspectorFrontendChannel.
1746 * WebCoreSupport/WebInspectorClient.cpp:
1747 (WebInspectorClient::openInspectorFrontend):
1748 * WebCoreSupport/WebInspectorClient.h:
1749 (WebInspectorClient):
1751 2012-07-14 Eric Carlson <eric.carlson@apple.com>
1753 Enable AVCF hardware video decoding
1754 https://bugs.webkit.org/show_bug.cgi?id=90015
1755 <rdar://problem/10770317>
1757 Reviewed by Anders Carlsson.
1759 * WebCoreSupport/WebChromeClient.cpp:
1760 (WebChromeClient::graphicsDeviceAdapter): New, return the view's graphics adapter.
1761 * WebCoreSupport/WebChromeClient.h:
1765 (WebView::graphicsDeviceAdapter): New, return the layer tree host's graphics adapter.
1770 2012-07-10 Adam Barth <abarth@webkit.org>
1772 WebCore::Settings for Hixie76 WebSocket protocol doesn't do anything and should be removed
1773 https://bugs.webkit.org/show_bug.cgi?id=90910
1775 Reviewed by Eric Seidel.
1777 * WebPreferences.cpp:
1778 (WebPreferences::initializeDefaultSettings):
1779 (WebPreferences::setHixie76WebSocketProtocolEnabled):
1780 (WebPreferences::hixie76WebSocketProtocolEnabled):
1782 (WebView::notifyPreferencesChanged):
1784 2012-07-02 Ryosuke Niwa <rniwa@webkit.org>
1786 Make HTMLCollection RefCounted
1787 https://bugs.webkit.org/show_bug.cgi?id=90414
1789 Reviewed by Sam Weinig.
1791 * DOMHTMLClasses.cpp:
1792 (DOMHTMLDocument::forms):
1793 (DOMHTMLSelectElement::options):
1795 2012-07-03 Mihai Balan <mibalan@adobe.com>
1797 [CSS Regions] Enabling regions on Windows lead to crash-on-launch for WebKit.exe
1798 https://bugs.webkit.org/show_bug.cgi?id=90435
1800 Reviewed by Csaba Osztrogonác.
1802 Initial patch for enabling regions led to WebKit crashing on launch. Moving the
1803 IDL declarations for CSS regions getter/setter at the end of the file solves the
1804 problem. As per http://trac.webkit.org/changeset/95650 seems it has to do with
1805 binary compatibility.
1807 * Interfaces/IWebPreferences.idl: Mover getter/setter for CSS regions at the end of file
1809 2012-07-02 Benjamin Poulain <bpoulain@apple.com>
1811 Do not do any logging initialization when logging is disabled
1812 https://bugs.webkit.org/show_bug.cgi?id=90228
1814 Reviewed by Simon Fraser.
1817 (WebView::initWithFrame):
1819 2012-06-29 Mihai Balan <mibalan@adobe.com>
1821 [CSS Regions] Adding feature defines for CSS Regions for Windows
1822 https://bugs.webkit.org/show_bug.cgi?id=88645
1824 Reviewed by Tony Chang.
1826 Re-trying to enable CSS regions on Windows. This time only enabling
1827 regions since exclusions lead to some very strange compiling/linking
1828 problems. This time adding preferences code to make sure the settings
1829 get propagated to DRT (previous experiments by abucur showed they
1832 * WebPreferenceKeysPrivate.h: Added preference key for CSS regions
1833 * Interfaces/IWebPreferences.idl: Added getters and setters for CSS regions settings
1834 * WebPreferences.cpp: ditto
1835 (WebPreferences::initializeDefaultSettings):
1836 (WebPreferences::isCSSRegionsEnabled):
1837 (WebPreferences::setCSSRegionsEnabled):
1838 * WebPreferences.h: ditto
1840 * WebView.cpp: Added settings code to handle CSS regions, too
1841 (WebView::notifyPreferencesChanged):
1843 2012-06-25 Mark Hahnenberg <mhahnenberg@apple.com>
1845 JSLock should be per-JSGlobalData
1846 https://bugs.webkit.org/show_bug.cgi?id=89123
1848 Reviewed by Geoffrey Garen.
1850 Changed all sites that used JSLock to instead use the new JSLockHolder
1851 and pass in the correct JS context that the code is about to interact with that
1852 needs protection. Also added a couple JSLocks to places that didn't already
1853 have it that needed it.
1855 * WebCoreStatistics.cpp:
1856 (WebCoreStatistics::javaScriptObjectsCount):
1857 (WebCoreStatistics::javaScriptGlobalObjectsCount):
1858 (WebCoreStatistics::javaScriptProtectedObjectsCount):
1859 (WebCoreStatistics::javaScriptProtectedGlobalObjectsCount):
1860 (WebCoreStatistics::javaScriptProtectedObjectTypeCounts):
1862 (WebFrame::stringByEvaluatingJavaScriptInScriptWorld):
1863 * WebJavaScriptCollector.cpp:
1864 (WebJavaScriptCollector::objectCount):
1866 (WebView::stringByEvaluatingJavaScriptFromString):
1867 (WebView::reportException):
1868 (WebView::elementFromJS):
1870 2012-06-23 Sheriff Bot <webkit.review.bot@gmail.com>
1872 Unreviewed, rolling out r121058.
1873 http://trac.webkit.org/changeset/121058
1874 https://bugs.webkit.org/show_bug.cgi?id=89809
1876 Patch causes plugins tests to crash in GTK debug builds
1877 (Requested by zdobersek on #webkit).
1879 * WebCoreStatistics.cpp:
1880 (WebCoreStatistics::javaScriptObjectsCount):
1881 (WebCoreStatistics::javaScriptGlobalObjectsCount):
1882 (WebCoreStatistics::javaScriptProtectedObjectsCount):
1883 (WebCoreStatistics::javaScriptProtectedGlobalObjectsCount):
1884 (WebCoreStatistics::javaScriptProtectedObjectTypeCounts):
1886 (WebFrame::stringByEvaluatingJavaScriptInScriptWorld):
1887 * WebJavaScriptCollector.cpp:
1888 (WebJavaScriptCollector::objectCount):
1890 (WebView::stringByEvaluatingJavaScriptFromString):
1891 (WebView::reportException):
1892 (WebView::elementFromJS):
1894 2012-06-20 Mark Hahnenberg <mhahnenberg@apple.com>
1896 JSLock should be per-JSGlobalData
1897 https://bugs.webkit.org/show_bug.cgi?id=89123
1899 Reviewed by Gavin Barraclough.
1901 Changed all sites that used JSLock to instead use the new JSLockHolder
1902 and pass in the correct JS context that the code is about to interact with that
1905 * WebCoreStatistics.cpp:
1906 (WebCoreStatistics::javaScriptObjectsCount):
1907 (WebCoreStatistics::javaScriptGlobalObjectsCount):
1908 (WebCoreStatistics::javaScriptProtectedObjectsCount):
1909 (WebCoreStatistics::javaScriptProtectedGlobalObjectsCount):
1910 (WebCoreStatistics::javaScriptProtectedObjectTypeCounts):
1912 (WebFrame::stringByEvaluatingJavaScriptInScriptWorld):
1913 * WebJavaScriptCollector.cpp:
1914 (WebJavaScriptCollector::objectCount):
1916 (WebView::stringByEvaluatingJavaScriptFromString):
1917 (WebView::reportException):
1918 (WebView::elementFromJS):
1920 2012-06-20 Garret Kelly <gdk@chromium.org>
1922 Moving cookieEnabled/setCookieEnabled from Page to Settings.
1923 https://bugs.webkit.org/show_bug.cgi?id=89545
1925 Reviewed by Adam Barth.
1928 (WebView::setCookieEnabled):
1929 (WebView::cookieEnabled):
1931 2012-06-20 Julien Chaffraix <jchaffraix@webkit.org>
1933 Use IntSize in RenderLayer to represent scroll offsets
1934 https://bugs.webkit.org/show_bug.cgi?id=89154
1936 Reviewed by Eric Seidel.
1940 Updated to pass an IntSize to scrollByRecursively.
1942 2012-06-11 Kaustubh Atrawalkar <kaustubh@motorola.com>
1944 [DRT] LTC:: counterValueForElementById() could be moved to Internals.
1945 https://bugs.webkit.org/show_bug.cgi?id=84406
1947 Reviewed by Hajime Morita.
1949 Move the counterValueForElementById from LayoutTestCotroller to Internals and
1950 remove the old platform specific implementations as it exclusively tests WebCore functionality.
1952 * Interfaces/IWebFramePrivate.idl:
1956 2012-06-11 Sam Weinig <sam@webkit.org>
1958 Remove support for disconnected/excluded from search frames, they are not used by Safari anymore
1959 https://bugs.webkit.org/show_bug.cgi?id=88723
1961 Reviewed by Dan Bernstein.
1964 (WebFrame::setIsDisconnected):
1965 (WebFrame::setExcludeFromTextSearch):
1966 Stop doing anything in these functions.
1968 2012-06-10 Sheriff Bot <webkit.review.bot@gmail.com>
1970 Unreviewed, rolling out r119955.
1971 http://trac.webkit.org/changeset/119955
1972 https://bugs.webkit.org/show_bug.cgi?id=88758
1974 Breaks Chromium compile - Chromium depends on removed API
1975 (Requested by dominicc on #webkit).
1978 (WebFrame::setIsDisconnected):
1979 (WebFrame::setExcludeFromTextSearch):
1981 2012-06-10 Sam Weinig <sam@webkit.org>
1983 Remove support for disconnected/excluded from search frames, they are not used by Safari anymore
1984 https://bugs.webkit.org/show_bug.cgi?id=88723
1986 Reviewed by Dan Bernstein.
1989 (WebFrame::setIsDisconnected):
1990 (WebFrame::setExcludeFromTextSearch):
1991 Stop doing anything in these functions.
1993 2012-05-31 Hajime Morrita <morrita@chromium.org>
1995 REGRESSION(r117572): editing/spelling/spellcheck-async-remove-frame.html crashes on Mac
1996 https://bugs.webkit.org/show_bug.cgi?id=86859
1998 Reviewed by Ryosuke Niwa.
2000 * WebCoreSupport/WebEditorClient.h:
2001 (WebEditorClient::requestCheckingOfString):
2003 2012-05-25 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
2005 WebKitTestRunner needs to support layoutTestController.setJavaScriptProfilingEnabled
2006 https://bugs.webkit.org/show_bug.cgi?id=42328
2008 Reviewed by Eric Seidel.
2011 (WebInspector::setJavaScriptProfilingEnabled):
2013 2012-05-25 Lynn Neir <lynn.neir@skype.net>
2015 Added methods needed to implement backend for DRT's TextInputController on windows, https://bugs.webkit.org/show_bug.cgi?id=32021
2017 Reviewed by Eric Seidel.
2019 * Interfaces/IWebViewPrivate.idl:
2021 (WebView::setCompositionForTesting):
2022 (WebView::hasCompositionForTesting):
2023 (WebView::confirmCompositionForTesting):
2024 (WebView::compositionRangeForTesting):
2025 (WebView::firstRectForCharacterRangeForTesting):
2026 (WebView::selectedRangeForTesting):
2030 2012-05-21 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
2032 Move setEditingBehavior() from layoutTestController to window.internals
2033 https://bugs.webkit.org/show_bug.cgi?id=42689
2035 Reviewed by Hajime Morita and Kenneth Rohde Christiansen.
2037 Remove Win private API to get/set the editing behavior. Follow the previous
2038 removals that keep the virtual functions there but failing.
2040 * Interfaces/IWebPreferences.idl:
2041 * WebPreferenceKeysPrivate.h:
2042 * WebPreferences.cpp:
2043 (WebPreferences::unused5):
2044 (WebPreferences::unused6):
2048 (WebView::notifyPreferencesChanged):
2050 2012-05-18 MORITA Hajime <morrita@google.com>
2052 Another unreviewed attempt to fix build breakage on r117572.
2054 * WebCoreSupport/WebEditorClient.h:
2055 (WebEditorClient::frameWillDetachPage):
2057 2012-05-18 MORITA Hajime <morrita@google.com>
2059 https://bugs.webkit.org/show_bug.cgi?id=85515
2060 Stale frame in WebCore::SpellChecker::didCheckSucceeded
2062 Reviewed by Ryosuke Niwa.
2064 * WebCoreSupport/WebEditorClient.h:
2065 (WebEditorClient::frameWillDetachPage):
2067 2012-05-17 Hironori Bono <hbono@chromium.org>
2069 [Refactoring] Move platform-specific code in Editor::respondToChangedSelection to the WebKit layer
2070 https://bugs.webkit.org/show_bug.cgi?id=86591
2072 Reviewed by Ryosuke Niwa.
2074 This change adds a TextCheckerClient::shouldEraseMarkersAfterChangeSelection
2075 function to remove platform-specific code from Editor::respondToChangedSelection
2078 No new tests, no change in behavior.
2080 * WebCoreSupport/WebEditorClient.cpp:
2081 (WebEditorClient::shouldEraseMarkersAfterChangeSelection):
2082 * WebCoreSupport/WebEditorClient.h:
2085 2012-05-17 Dan Bernstein <mitz@apple.com>
2087 REGRESSION (r117428): WebKit API/SPI was removed
2088 https://bugs.webkit.org/show_bug.cgi?id=86748
2092 * Interfaces/IWebViewPrivate.idl:
2094 (WebView::setDomainRelaxationForbiddenForURLScheme):
2098 2012-05-17 Gyuyoung Kim <gyuyoung.kim@samsung.com>
2100 Convert setDomainRelaxationForbiddenForURLScheme to use InternalSettings interface
2101 https://bugs.webkit.org/show_bug.cgi?id=86704
2103 Reviewed by Eric Seidel.
2105 Remove setDomainRelaxationForbiddenForURLScheme functions, because it is able to work in the
2106 cross-port way through the InternalSettings interface.
2108 * Interfaces/IWebViewPrivate.idl:
2113 2012-05-10 Gyuyoung Kim <gyuyoung.kim@samsung.com>
2115 Move resumeAnimations to use Internals interface
2116 https://bugs.webkit.org/show_bug.cgi?id=86063
2118 Reviewed by Alexey Proskuryakov.
2120 Remove resumeAnimations functions, because it is able to work in the
2121 cross-port way through the Internals interface.
2123 * Interfaces/IWebFramePrivate.idl:
2127 2012-05-10 Anders Carlsson <andersca@apple.com>
2129 Rename the missing plug-in indicator to the unavailable plug-in indicator
2130 https://bugs.webkit.org/show_bug.cgi?id=86136
2132 Reviewed by Sam Weinig.
2134 * WebCoreSupport/WebChromeClient.cpp:
2135 (WebChromeClient::shouldUnavailablePluginMessageBeButton):
2136 (WebChromeClient::unavailablePluginButtonClicked):
2137 * WebCoreSupport/WebChromeClient.h:
2140 2012-05-09 Gyuyoung Kim <gyuyoung.kim@samsung.com>
2142 Move suspendAnimations to use Internals interface.
2143 https://bugs.webkit.org/show_bug.cgi?id=85986
2145 Reviewed by Ryosuke Niwa.
2147 Remove suspendAnimations functions, because it is able to work in the
2148 cross-port way through the Internals interface.
2150 * Interfaces/IWebFramePrivate.idl:
2154 2012-05-07 Julien Chaffraix <jchaffraix@webkit.org>
2156 Refactor windowClipRectForLayer to remove the explicit RenderLayer dependency
2157 https://bugs.webkit.org/show_bug.cgi?id=84090
2159 Reviewed by David Hyatt.
2161 * WebCoreSupport/EmbeddedWidget.cpp:
2162 (EmbeddedWidget::windowClipRect):
2163 Updated after windowClipRectForLayer name and signature change.
2165 * WebCoreSupport/EmbeddedWidget.h:
2167 (EmbeddedWidget::EmbeddedWidget):
2168 Updated the internal DOM pointer to be an HTMLPlugInElement
2169 as it was what was passed in anyway. Also fixed some style
2170 issues detected by our tools.
2172 2012-05-05 Dean Jackson <dino@apple.com>
2174 Add new Setting/Preference to disable requestAnimationFrame
2175 https://bugs.webkit.org/show_bug.cgi?id=85693
2177 Reviewed by Simon Fraser.
2179 Exposes a new WebPreference: WebKitRequestAnimationFrameEnabled.
2180 The default value is true. The majority of applications will leave
2183 * Interfaces/IWebPreferencesPrivate.idl:
2184 * WebPreferenceKeysPrivate.h:
2185 * WebPreferences.cpp:
2186 (WebPreferences::initializeDefaultSettings):
2187 (WebPreferences::setRequestAnimationFrameEnabled):
2188 (WebPreferences::requestAnimationFrameEnabled):
2192 (WebView::notifyPreferencesChanged):
2194 2012-05-04 Nate Chapin <japhet@chromium.org>
2196 Don't require FrameLoaderClient to manufacture a commitData() call for empty documents.
2197 https://bugs.webkit.org/show_bug.cgi?id=85533
2199 Reviewed by Alexey Proskuryakov.
2201 * WebCoreSupport/WebFrameLoaderClient.cpp:
2202 (WebFrameLoaderClient::finishedLoading):
2204 2012-04-27 Jon Lee <jonlee@apple.com>
2206 Migrate permission functions to Notification from NotificationCenter
2207 https://bugs.webkit.org/show_bug.cgi?id=80485
2208 <rdar://problem/10965458>
2210 Reviewed by Jian Li.
2212 * WebCoreSupport/WebDesktopNotificationsDelegate.cpp:
2213 (WebDesktopNotificationsDelegate::requestPermission):
2214 * WebCoreSupport/WebDesktopNotificationsDelegate.h:
2215 (WebDesktopNotificationsDelegate): Add stub implementation of requestPermission.
2217 2012-04-23 Jon Honeycutt <jhoneycutt@apple.com>
2219 FrameLoaderClient::dispatchWillSendSubmitEvent() should be given more
2220 information about the form being submitted
2221 https://bugs.webkit.org/show_bug.cgi?id=84297
2223 Reviewed by Andy Estes.
2226 Fix function stub for new parameter.
2228 2012-05-01 Ryosuke Niwa <rniwa@webkit.org>
2230 *Command.h files shouldn't be exported to WebKit layer
2231 https://bugs.webkit.org/show_bug.cgi?id=74778
2233 Reviewed by Eric Seidel.
2237 2012-04-20 Emil A Eklund <eae@chromium.org>
2239 [win] Update windows platform code to use pixel snapped values
2240 https://bugs.webkit.org/show_bug.cgi?id=84283
2242 Reviewed by Eric Seidel.
2244 * AccessibleBase.cpp:
2245 (AccessibleBase::accLocation):
2247 2012-04-18 Vivek Galatage <vivekgalatage@gmail.com>
2249 Web Inspector: Disabling Inspector causes build failure on Windows
2250 https://bugs.webkit.org/show_bug.cgi?id=83557
2252 Reviewed by Pavel Feldman.
2254 The calls to inspector APIs are not put under ENABLE(INSPECTOR) guard.
2255 This change brings all such API calls under the guard.
2257 * WebCoreSupport/WebInspectorClient.cpp:
2259 * WebNodeHighlight.cpp:
2260 (WebNodeHighlight::WebNodeHighlight):
2261 (WebNodeHighlight::update):
2262 * WebNodeHighlight.h:
2267 (WebView::initWithFrame):
2268 (WebView::inspector):
2272 2012-04-11 Sheriff Bot <webkit.review.bot@gmail.com>
2274 Unreviewed, rolling out r113836.
2275 http://trac.webkit.org/changeset/113836
2276 https://bugs.webkit.org/show_bug.cgi?id=83705
2278 Broke all the WebKit2 inspector tests (Requested by andersca
2281 * WebCoreSupport/WebInspectorClient.cpp:
2282 (registerWindowClass):
2284 (WebInspector::setTimelineProfilingEnabled):
2285 * WebNodeHighlight.cpp:
2286 (WebNodeHighlight::WebNodeHighlight):
2287 (WebNodeHighlight::update):
2288 * WebNodeHighlight.h:
2293 (WebView::initWithFrame):
2294 (WebView::inspector):
2298 2012-04-11 Vivek Galatage <vivekgalatage@gmail.com>
2300 Web Inspector: Disabling Inspector causes build failure on Windows
2301 https://bugs.webkit.org/show_bug.cgi?id=83557
2303 Reviewed by Pavel Feldman.
2305 The calls to inspector APIs are not put under ENABLE(INSPECTOR) guard.
2306 This change brings all such API calls under the guard.
2308 * WebCoreSupport/WebInspectorClient.cpp:
2310 * WebNodeHighlight.cpp:
2311 (WebNodeHighlight::WebNodeHighlight):
2312 (WebNodeHighlight::update):
2313 * WebNodeHighlight.h:
2318 (WebView::initWithFrame):
2319 (WebView::inspector):
2323 2012-03-30 Mark Pilgrim <pilgrim@chromium.org>
2325 GEOLOCATION should be implemented as Page Supplement
2326 https://bugs.webkit.org/show_bug.cgi?id=82228
2328 Reviewed by Adam Barth.
2330 Geolocation is now a Supplement in Page so the interface
2331 has changed for setting up the page's geolocation client
2332 initially and accessing the controller later.
2335 (WebView::initWithFrame):
2336 (WebView::geolocationDidChangePosition):
2337 (WebView::geolocationDidFailWithError):
2339 2012-03-29 Sheriff Bot <webkit.review.bot@gmail.com>
2341 Unreviewed, rolling out r112553.
2342 http://trac.webkit.org/changeset/112553
2343 https://bugs.webkit.org/show_bug.cgi?id=82638
2345 It made all tests crash on Qt WK2 (Requested by Ossy_away on
2349 (WebView::initWithFrame):
2350 (WebView::geolocationDidChangePosition):
2351 (WebView::geolocationDidFailWithError):
2353 2012-03-29 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
2355 HashMap<>::add should return a more descriptive object
2356 https://bugs.webkit.org/show_bug.cgi?id=71063
2358 Reviewed by Ryosuke Niwa.
2360 Update code to use AddResult instead of a pair.
2365 2012-03-29 Mark Pilgrim <pilgrim@chromium.org>
2367 GEOLOCATION should be implemented as Page Supplement
2368 https://bugs.webkit.org/show_bug.cgi?id=82228
2370 Reviewed by Adam Barth.
2372 Geolocation is now a Supplement in Page so the interface
2373 has changed for setting up the page's geolocation client
2374 initially and accessing the controller later.
2377 (WebView::initWithFrame):
2378 (WebView::geolocationDidChangePosition):
2379 (WebView::geolocationDidFailWithError):
2381 2012-03-28 Nate Chapin <japhet@chromium.org>
2383 Remove dispatchDidLoadMainResource callback, since no
2385 https://bugs.webkit.org/show_bug.cgi?id=82539
2387 Reviewed by Alexey Proskuryakov.
2389 * WebCoreSupport/WebFrameLoaderClient.cpp:
2390 * WebCoreSupport/WebFrameLoaderClient.h:
2391 (WebFrameLoaderClient):
2393 2012-03-26 Adam Barth <abarth@webkit.org>
2395 FrameLoader::shouldAllowNavigation uses Frame for context rather than Document
2396 https://bugs.webkit.org/show_bug.cgi?id=81020
2398 Reviewed by Eric Seidel.
2400 Update call site to new function name.
2403 (WebFrame::dispatchWillSubmitForm):
2405 2012-03-22 Anders Carlsson <andersca@apple.com>
2407 ASSERT(!needsLayout) in RenderView.cpp when visiting http://www.panic.com/blog/
2408 https://bugs.webkit.org/show_bug.cgi?id=81953
2409 <rdar://problem/11086998>
2411 Reviewed by Sam Weinig.
2413 Update for changes to WebCore.
2415 * FullscreenVideoController.cpp:
2416 (FullscreenVideoController::LayerClient::platformCALayerDidCreateTiles):
2418 2012-03-20 Steve Falkenburg <sfalken@apple.com>
2420 Move WTF-related Windows project files out of JavaScriptCore
2421 https://bugs.webkit.org/show_bug.cgi?id=80680
2423 Reviewed by Jessie Berlin.
2425 * WebKit.vcproj/WebKit.sln:
2427 2012-03-20 Gyuyoung Kim <gyuyoung.kim@samsung.com>
2429 Convert hasSpellingMarker to use Internals interface.
2430 https://bugs.webkit.org/show_bug.cgi?id=81300
2432 Reviewed by Ryosuke Niwa.
2434 Remove hasSpellingMarker interface support, since it can support in the cross-port
2435 way through the Internals interface.
2437 * Interfaces/IWebFramePrivate.idl:
2439 2012-03-19 Adam Barth <abarth@webkit.org>
2441 Remove support for "magic" iframe
2442 https://bugs.webkit.org/show_bug.cgi?id=81590
2444 Reviewed by Eric Seidel.
2446 Remove FrameLoaderClient methods that no longer exist.
2448 * WebCoreSupport/WebFrameLoaderClient.cpp:
2449 * WebCoreSupport/WebFrameLoaderClient.h:
2450 (WebFrameLoaderClient):
2452 2012-03-19 Anders Carlsson <andersca@apple.com>
2456 * FullscreenVideoController.cpp:
2457 (FullscreenVideoController::LayerClient::platformCALayerDeviceScaleFactor):
2459 2012-03-13 Jon Lee <jonlee@apple.com>
2461 Separate NOTIFICATIONS and LEGACY_NOTIFICATIONS
2462 https://bugs.webkit.org/show_bug.cgi?id=80922
2463 <rdar://problem/11035082>
2465 Reviewed by Jian Li.
2467 You can include either NOTIFICATIONS or LEGACY_NOTIFICATIONS and have a complete API.
2468 LEGACY_NOTIFICATIONS should cover all of the previous functionality, and NOTIFICATIONS will cover the
2469 new API. Therefore, APIs that are common between the two will have:
2470 #if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
2472 This patch initially sets both to be exactly the same. As other bugs with patches begin to migrate to
2473 the new API, the defines will begin to split. This allows ports to decide which set of APIs to include.
2475 Update everything to be #if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
2476 * WebCoreSupport/WebChromeClient.cpp:
2477 (WebChromeClient::WebChromeClient):
2478 * WebCoreSupport/WebChromeClient.h:
2480 * WebCoreSupport/WebDesktopNotificationsDelegate.cpp:
2481 * WebCoreSupport/WebDesktopNotificationsDelegate.h:
2483 2012-03-13 Adam Barth <abarth@webkit.org> && Benjamin Poulain <bpoulain@apple.com>
2485 Always enable ENABLE(CLIENT_BASED_GEOLOCATION)
2486 https://bugs.webkit.org/show_bug.cgi?id=78853
2488 Reviewed by Adam Barth.
2490 * WebCoreSupport/WebChromeClient.h:
2492 * WebCoreSupport/WebGeolocationClient.cpp:
2493 (WebGeolocationClient::lastPosition):
2494 * WebGeolocationPosition.cpp:
2495 (WebGeolocationPosition::initWithTimestamp):
2497 * WebGeolocationPosition.h:
2498 (WebGeolocationPosition):
2499 (WebGeolocationPosition::impl):
2501 (WebView::initWithFrame):
2502 (WebView::geolocationDidChangePosition):
2503 (WebView::geolocationDidFailWithError):
2505 2012-03-12 Jessie Berlin <jberlin@apple.com>
2507 More Windows build fixing.
2509 * MarshallingHelpers.cpp:
2510 * WebDatabaseManager.cpp:
2512 2012-03-09 Jon Lee <jonlee@apple.com>
2514 Rename NotificationPresenter to NotificationClient
2515 https://bugs.webkit.org/show_bug.cgi?id=80488
2516 <rdar://problem/10965558>
2518 Reviewed by Kentaro Hara.
2520 Refactor to use renamed WebCore::NotificationClient.
2521 * WebCoreSupport/WebChromeClient.h:
2522 (WebChromeClient::notificationPresenter):
2523 * WebCoreSupport/WebDesktopNotificationsDelegate.cpp:
2524 (WebDesktopNotificationsDelegate::checkPermission):
2525 * WebCoreSupport/WebDesktopNotificationsDelegate.h:
2526 (WebDesktopNotificationsDelegate):
2528 2012-03-09 Emil A Eklund <eae@chromium.org>
2530 Add roundedPoint to HitTestResult and change platform code to use it
2531 https://bugs.webkit.org/show_bug.cgi?id=80715
2533 Reviewed by James Robinson.
2535 Change ports to use roundedPoint to avoid exposing subpixel types to
2539 (WebView::handleContextMenuEvent):
2541 2012-03-08 Steve Falkenburg <sfalken@apple.com>
2543 Separate WTF parts of JavaScriptCoreGenerated into WTFGenerated for Windows build
2544 https://bugs.webkit.org/show_bug.cgi?id=80657
2546 Preparation for WTF separation from JavaScriptCore.
2547 The "Generated" vcproj files on Windows are necessary so Visual Studio can calculate correct
2548 dependencies for generated files.
2550 Reviewed by Jessie Berlin.
2552 * WebKit.vcproj/WebKit.sln: Add WTFGenerated, update dependent projects.
2554 2012-03-03 Benjamin Poulain <benjamin@webkit.org>
2556 Remove the redundant method KURL::protocolInHTTPFamily()
2557 https://bugs.webkit.org/show_bug.cgi?id=80216
2559 Reviewed by Anders Carlsson.
2561 * WebCoreSupport/WebFrameLoaderClient.cpp:
2562 (WebFrameLoaderClient::dispatchDidFailToStartPlugin):
2564 (WebHistory::visitedURL):
2566 2012-02-26 Hajime Morrita <morrita@chromium.org>
2568 Move ChromeClient::showContextMenu() to ContextMenuClient
2569 https://bugs.webkit.org/show_bug.cgi?id=79427
2571 Reviewed by Adam Barth.
2573 * WebCoreSupport/WebChromeClient.h:
2576 2012-02-24 Shinya Kawanaka <shinyak@chromium.org>
2578 SpellCheckRequest needs to know the context where the spellcheck happened.
2579 https://bugs.webkit.org/show_bug.cgi?id=79320
2581 Reviewed by Hajime Morita.
2583 * WebCoreSupport/WebEditorClient.h:
2584 (WebEditorClient::requestCheckingOfString):
2587 2012-02-21 Ryosuke Niwa <rniwa@webkit.org>
2589 Remove the remaining uses of CSSStyleDeclaration in Editor
2590 https://bugs.webkit.org/show_bug.cgi?id=78939
2592 Reviewed by Enrica Casucci.
2594 * WebCoreSupport/WebEditorClient.cpp:
2595 (WebEditorClient::shouldApplyStyle):
2596 * WebCoreSupport/WebEditorClient.h:
2599 2012-02-22 Ryosuke Niwa <rniwa@webkit.org>
2601 Remove the remaining uses of CSSStyleDeclaration in Editor
2602 https://bugs.webkit.org/show_bug.cgi?id=78939
2604 Reviewed by Enrica Casucci.
2606 * WebCoreSupport/WebEditorClient.cpp:
2607 (WebEditorClient::shouldApplyStyle):
2608 * WebCoreSupport/WebEditorClient.h:
2611 2012-02-17 Kalev Lember <kalevlember@gmail.com>
2613 Remove unused parameters from WTF threading API
2614 https://bugs.webkit.org/show_bug.cgi?id=78389
2616 Reviewed by Adam Roben.
2618 waitForThreadCompletion() had an out param 'void **result' to get the
2619 'void *' returned by ThreadFunction. However, the implementation in
2620 ThreadingWin.cpp ignored the out param, not filling it in. This had
2621 led to a situation where none of the client code made use of the param
2622 and just ignored it.
2624 To clean this up, the patch changes the signature of ThreadFunction to
2625 return void instead of void* and drops the the unused 'void **result'
2626 parameter from waitForThreadCompletion. Also, all client code is
2627 updated for the API change.
2629 As mentioned in https://bugs.webkit.org/show_bug.cgi?id=78389 , even
2630 though the change only affects internal API, Safari is using it
2631 directly and we'll need to keep the old versions around for ABI
2632 compatibility. For this, the patch adds compatibility wrappers with
2635 * WebKit.vcproj/WebKit_Cairo.def: Add the new functions.
2636 * WebKit.vcproj/WebKit_Cairo_debug.def: Ditto.
2638 2012-02-15 Sadrul Habib Chowdhury <sadrul@chromium.org>
2640 Notify ChromeClient when touch-event handlers are installed/removed.
2641 https://bugs.webkit.org/show_bug.cgi?id=77440
2643 Reviewed by Darin Fisher and Ryosuke Niwa.
2645 * WebCoreSupport/WebChromeClient.h:
2646 (WebChromeClient::numTouchEventHandlersChanged):
2648 2012-02-14 Alexey Proskuryakov <ap@apple.com>
2650 [Mac][Win][WK2] Switch to RFC 6455 protocol for WebSockets
2651 https://bugs.webkit.org/show_bug.cgi?id=78541
2652 <rdar://problem/10036695>
2654 Reviewed by Kent Tamura.
2656 * WebPreferences.cpp: (WebPreferences::initializeDefaultSettings): Changed default value of
2659 2012-02-11 Nikolas Zimmermann <nzimmermann@rim.com>
2661 Convert svg/animations to use SMIL methods for driving the timeline
2662 https://bugs.webkit.org/show_bug.cgi?id=78422
2664 Reviewed by Dirk Schulze.
2666 Remove SVG animation sampling functionality provided for DRT, which no longer uses it.
2667 Instead we switched the svg/animations tests to use SVGSVGElement.setCurrentTime.
2669 * Interfaces/IWebFramePrivate.idl:
2673 2012-02-13 Andy Estes <aestes@apple.com>
2675 Fix the Windows build.
2677 * WebCoreSupport/WebPlatformStrategies.cpp:
2678 (WebPlatformStrategies::createPasteboardStrategy):
2679 * WebCoreSupport/WebPlatformStrategies.h:
2680 (WebPlatformStrategies):
2682 2012-02-12 Andy Estes <aestes@apple.com>
2684 [Windows] Add API to enable inverted color drawing on a WebView
2685 https://bugs.webkit.org/show_bug.cgi?id=77382
2687 Reviewed by Adam Roben.
2689 Add a new private WebPreference key called "WebKitShouldInvertColors"
2690 and add private cover methods to get and set the preference. When this
2691 preference changes on a WebPreference object, all WebViews listening to
2692 that object will repaint to reflect the new value.
2694 * Interfaces/IWebPreferencesPrivate.idl: Add [setS|s]houldInvertColors()
2695 cover methods for WebKitShouldInvertColorsPreferenceKey.
2696 * WebPreferenceKeysPrivate.h: Add WebKitShouldInvertColorsPreferenceKey.
2697 * WebPreferences.cpp:
2698 (WebPreferences::shouldInvertColors):
2699 (WebPreferences::setShouldInvertColors):
2703 (WebView::setShouldInvertColors): If m_shouldInvertColors changes,
2704 update the value on the WebView and in m_layerTreeHost, then repaint
2706 (WebView::notifyPreferencesChanged):
2707 (WebView::setAcceleratedCompositing): When creating a new layer tree
2708 host, tell it whether it should be inverting colors.
2711 2012-02-07 MORITA Hajime <morrita@google.com>
2713 Replacement text should be available from the marker.
2714 https://bugs.webkit.org/show_bug.cgi?id=77934
2716 Reviewed by Kent Tamura.
2718 * WebKit.vcproj/WebKit_Cairo.def:
2719 * WebKit.vcproj/WebKit_Cairo_debug.def:
2721 2012-02-02 Jon Lee <jonlee@apple.com>
2723 Clear shown notifications when context is no longer active
2724 https://bugs.webkit.org/show_bug.cgi?id=77363
2725 <rdar://problem/10568907>
2727 Reviewed by Darin Adler.
2729 * WebCoreSupport/WebDesktopNotificationsDelegate.h:
2730 (WebDesktopNotificationsDelegate): Add previously missing virtual functions.
2731 * WebCoreSupport/WebDesktopNotificationsDelegate.cpp:
2732 (WebDesktopNotificationsDelegate::notificationControllerDestroyed):
2733 (WebDesktopNotificationsDelegate::cancelRequestsForPermission):
2735 2012-02-01 Anders Carlsson <andersca@apple.com>
2737 Another attempt to fix the Windows build.
2739 * FullscreenVideoController.cpp:
2740 (FullscreenVideoController::LayerClient::platformCALayerDidCreateTiles):
2742 2012-01-26 Andy Estes <aestes@apple.com>
2744 [Windows] Optionally invert colors when drawing to a WebView's backing store.
2745 https://bugs.webkit.org/show_bug.cgi?id=77168
2747 Reviewed by Sam Weinig.
2750 (WebView::WebView): Initialize m_shouldInvertColors to false.
2751 (WebView::paintIntoBackingStore): If m_shouldInvertColors is true, draw
2752 an opaque white quad using the CompositeDifference blend mode. This
2753 blend operation instructs CoreGraphics to take the difference between
2754 the source pixel (white) and the background pixel, resulting in an
2756 * WebView.h: Define m_shouldInvertColors.
2758 2012-01-23 Simon Fraser <simon.fraser@apple.com>
2760 Show layer borders for scrollbar layers
2761 https://bugs.webkit.org/show_bug.cgi?id=76888
2763 Reviewed by Beth Dakin.
2765 Update for new signature of GraphicsLayerClient::showDebugBorders()
2766 and GraphicsLayerClient::showRepaintCounter().
2769 (WebView::showDebugBorders):
2770 (WebView::showRepaintCounter):
2773 2012-01-23 David Levin <levin@chromium.org>
2775 [windows] Convert usages of GetDC to HWndDC Part 2.
2776 https://bugs.webkit.org/show_bug.cgi?id=76750
2778 Reviewed by Adam Roben.
2780 * FullscreenVideoController.cpp:
2781 (createCompatibleDCForWindow): Moved out the code which creates a DC for a window
2782 to keep the same scope for the DC lifetime.
2783 (FullscreenVideoController::draw): Switch to using OwnPtr<HDC>
2784 since createCompatibleDCForWindow returns a PassOwnPtr.
2785 * WebNodeHighlight.cpp:
2786 (WebNodeHighlight::update):
2787 Cleaned up leaks from calling GetDC without release.
2788 Note that there is a potential leak of hdc that previously existed
2789 and still does in an early exit scenario. (This could be easily fixed
2790 by using OwnPtr<HDC> but I was trying to keep this patch focused.)
2792 (WebView::scrollBackingStore): Typical conversion.
2793 (WebView::updateBackingStore): Reduced the scope of windowDC to be
2794 right where it is being used.
2795 (WebView::performLayeredWindowUpdate): Typical conversion.
2796 (WebView::paintIntoBackingStore): Ditto.
2798 2012-01-23 David Levin <levin@chromium.org>
2800 [windows] Convert usages of GetDC to HWndDC Part 1.
2801 https://bugs.webkit.org/show_bug.cgi?id=76744
2803 Reviewed by Adam Roben.
2805 * WebIconDatabase.cpp:
2806 (createDIB): Changed GetDC to HWndDC and removed ReleaseDC.
2808 2012-01-07 Andreas Kling <awesomekling@apple.com>
2812 * DOMHTMLClasses.cpp:
2813 (DOMHTMLDocument::forms):
2814 (DOMHTMLSelectElement::options):
2816 2012-01-06 Jessie Berlin <jberlin@apple.com>
2820 * Interfaces/IWebViewPrivate.idl:
2822 2012-01-05 Adam Roben <aroben@apple.com>
2824 Add WebKitTestRunnerLauncher to WebKit.sln.
2826 It builds just after WebKitTestRunner.
2828 Part of <http://webkit.org/b/75486> <rdar://problem/10638124> NRWT fails to launch Apple's
2829 Windows port of DumpRenderTree/WebKitTestRunner
2831 Reviewed by Steve Falkenburg.
2833 * WebKit.vcproj/WebKit.sln:
2835 2012-01-05 Adam Roben <aroben@apple.com>
2837 Add DumpRenderTreeLauncher to WebKit.sln.
2839 It builds just after DumpRenderTree.
2841 Part of <http://webkit.org/b/75486> <rdar://problem/10638124> NRWT fails to launch Apple's
2842 Windows port of DumpRenderTree/WebKitTestRunner
2844 Reviewed by Steve Falkenburg.
2846 * WebKit.vcproj/WebKit.sln:
2848 2012-01-04 Adam Roben <aroben@apple.com>
2850 Add ImageDiffLauncher to WebKit.sln
2852 It builds just after ImageDiff.
2854 Part of <http://webkit.org/b/75572> ImageDiff.exe can't be run without first munging PATH
2856 Reviewed by Anders Carlsson.
2858 * WebKit.vcproj/WebKit.sln:
2860 2012-01-04 Adam Roben <aroben@apple.com>
2862 Add MiniBrowserLauncher to WebKit.sln
2864 It builds just after MiniBrowser.
2866 Part of <http://webkit.org/b/68576> <rdar://problem/10163853> MiniBrowser fails to launch
2869 Reviewed by Anders Carlsson.
2871 * WebKit.vcproj/WebKit.sln: Added MiniBrowserLauncher.
2873 2012-01-04 Adam Roben <aroben@apple.com>
2875 Add WinLauncherLauncher to WebKit.sln
2877 It builds just after WinLauncher.
2879 Part of <http://webkit.org/b/68578> <rdar://problem/10163861> WinLauncher fails to launch
2882 Reviewed by Anders Carlsson.
2884 * WebKit.vcproj/WebKit.sln: Added WinLauncherLauncher.
2886 2011-12-21 Jessie Berlin <jberlin@apple.com>
2888 Expose to Windows the way to allow a scheme access to Local Storage and Databases while
2889 Private Browsing is enabled.
2890 https://bugs.webkit.org/show_bug.cgi?id=75056
2892 Reviewed by Sam Weinig.
2894 Add the Windows WebKit API that corresponds to the Mac one added in r99439.
2897 (WebView::registerURLSchemeAsSecure):
2898 (WebView::registerURLSchemeAsAllowingLocalStorageAccessInPrivateBrowsing):
2899 (WebView::registerURLSchemeAsAllowingDatabaseAccessInPrivateBrowsing):
2902 2011-12-20 Pavel Feldman <pavel.feldman@gmail.com>
2904 Web Inspector: reproducible crash after closing web inspector and browser window (iCab)
2905 https://bugs.webkit.org/show_bug.cgi?id=74255
2907 Reviewed by Yury Semikhatsky.
2909 * WebCoreSupport/WebInspectorClient.cpp:
2910 (WebInspectorClient::~WebInspectorClient):
2911 (WebInspectorFrontendClient::destroyInspectorView):
2912 * WebCoreSupport/WebInspectorClient.h:
2914 2011-12-19 Sam Weinig <sam@webkit.org>
2916 More PlatformEvent cleanup
2917 https://bugs.webkit.org/show_bug.cgi?id=74831
2919 Reviewed by Dan Bernstein.
2922 (WebView::handleMouseEvent):
2923 Update to use new names, access style.
2925 2011-12-16 Ryosuke Niwa <rniwa@webkit.org>
2927 Rename registerCommandFor(Undo|Redo) to register(Undo|Redo)Step
2928 https://bugs.webkit.org/show_bug.cgi?id=74748
2930 Reviewed by Eric Seidel.
2932 * WebCoreSupport/WebEditorClient.cpp:
2933 (WebEditorClient::registerUndoStep):
2934 (WebEditorClient::registerRedoStep):
2935 * WebCoreSupport/WebEditorClient.h:
2937 2011-12-16 Sam Weinig <sam@webkit.org>
2939 Give PlatformEvents a base class
2940 https://bugs.webkit.org/show_bug.cgi?id=74685
2942 Reviewed by Anders Carlsson.
2944 Add a base class for PlatformMouseEvent, PlatformKeyboardEvent, PlatformWheelEvent
2945 and PlatformGestureEvent and move Type enumeration and modifiers down to it.
2947 * AccessibleBase.cpp:
2948 (AccessibleBase::get_accKeyboardShortcut):
2949 * WebDropSource.cpp:
2950 (generateMouseEvent):
2953 (WebView::handleEditingKeyboardEvent):
2955 (WebView::keyPress):
2957 2011-12-16 Ryosuke Niwa <rniwa@webkit.org>
2959 Only EditCommandComposition should implement unapply and reapply
2960 https://bugs.webkit.org/show_bug.cgi?id=74490
2962 Reviewed by Eric Seidel.
2964 * WebCoreSupport/WebEditorClient.cpp:
2965 (WebEditorUndoCommand::WebEditorUndoCommand):
2966 (WebEditorUndoCommand::execute):
2967 (WebEditorClient::registerCommandForUndo):
2968 (WebEditorClient::registerCommandForRedo):
2969 * WebCoreSupport/WebEditorClient.h:
2971 2011-12-14 Jing Zhao <jingzhao@chromium.org>
2973 Opening two popup menus by dispatchEvent() makes problems.
2974 https://bugs.webkit.org/show_bug.cgi?id=73304
2976 Reviewed by Kent Tamura.
2978 * WebCoreSupport/WebChromeClient.cpp:
2979 (WebChromeClient::hasOpenedPopup): Not implemented.
2980 * WebCoreSupport/WebChromeClient.h: Overrides hasOpenedPopup().
2982 2011-12-14 Sam Weinig <weinig@apple.com>
2984 Remove whitespace from InheritedPropertySheets attributes in
2985 vsprops files to appease the Visual Studio project migrator.
2987 Reviewed by Adam Roben.
2989 * WebKit.vcproj/InterfacesDebug.vsprops:
2990 * WebKit.vcproj/InterfacesDebugAll.vsprops:
2991 * WebKit.vcproj/InterfacesDebugCairoCFLite.vsprops:
2992 * WebKit.vcproj/InterfacesProduction.vsprops:
2993 * WebKit.vcproj/InterfacesRelease.vsprops:
2994 * WebKit.vcproj/InterfacesReleaseCairoCFLite.vsprops:
2995 * WebKit.vcproj/WebKitGUIDDebug.vsprops:
2996 * WebKit.vcproj/WebKitGUIDDebugAll.vsprops:
2997 * WebKit.vcproj/WebKitGUIDDebugCairoCFLite.vsprops:
2998 * WebKit.vcproj/WebKitGUIDProduction.vsprops:
2999 * WebKit.vcproj/WebKitGUIDRelease.vsprops:
3000 * WebKit.vcproj/WebKitGUIDReleaseCairoCFLite.vsprops:
3001 * WebKit.vcproj/WebKitLibDebug.vsprops:
3002 * WebKit.vcproj/WebKitLibDebugAll.vsprops:
3003 * WebKit.vcproj/WebKitLibDebugCairoCFLite.vsprops:
3004 * WebKit.vcproj/WebKitLibProduction.vsprops:
3005 * WebKit.vcproj/WebKitLibRelease.vsprops:
3006 * WebKit.vcproj/WebKitLibReleaseCairoCFLite.vsprops:
3008 2011-12-07 Mary Wu <mary.wu@torchmobile.com.cn>
3010 Change function name InitializeLoggingChannelsIfNecessary to follow coding style guideline
3011 https://bugs.webkit.org/show_bug.cgi?id=73986
3013 Reviewed by Kenneth Rohde Christiansen.
3016 (WebView::initWithFrame):
3018 2011-12-05 Eric Carlson <eric.carlson@apple.com>
3020 WebKit/mac part of: Add WebKit preferences for text track settings
3021 https://bugs.webkit.org/show_bug.cgi?id=73721
3023 Reviewed by John Sullivan.
3025 * Interfaces/IWebPreferences.idl: Declare getters and setters for new properties.
3027 * WebPreferenceKeysPrivate.h: Added #define for shouldDisplaySubtitles, shouldDisplayCaptions,
3028 and shouldDisplayTextDescriptions properties.
3030 * WebPreferences.cpp:
3031 (WebPreferences::setShouldDisplaySubtitles): Added.
3032 (WebPreferences::shouldDisplaySubtitles): Ditto.
3033 (WebPreferences::setShouldDisplayCaptions): Ditto.
3034 (WebPreferences::shouldDisplayCaptions): Ditto.
3035 (WebPreferences::setShouldDisplayTextDescriptions): Ditto.
3036 (WebPreferences::shouldDisplayTextDescriptions): Ditto.
3037 * WebPreferences.h: Declare new methods.
3040 (WebView::notifyPreferencesChanged): Updates WebCore settings from WebKit prefs.
3042 2011-12-02 Steve Falkenburg <sfalken@apple.com>
3044 Reviewed by Darin Adler.
3046 Changes to localStorageDatabasePath don't have any effect on Windows
3047 https://bugs.webkit.org/show_bug.cgi?id=73606
3048 <rdar://problem/10491296>
3051 (WebView::notifyPreferencesChanged): Propagate local storage path change to m_page's settings.
3053 2011-11-30 Alexey Proskuryakov <ap@apple.com>
3055 Remove an unneeded argument from FrameLoaderClient::download
3056 https://bugs.webkit.org/show_bug.cgi?id=73486
3058 Reviewed by Andreas Kling.
3061 (WebFrame::download):
3063 Updated for the change.
3065 2011-11-26 Pavel Feldman <pfeldman@google.com>
3067 Web Inspector: remove disconnectFromBackend from the protocol.
3068 https://bugs.webkit.org/show_bug.cgi?id=73127
3070 Reviewed by Yury Semikhatsky.
3072 * WebCoreSupport/WebInspectorClient.cpp:
3073 (WebInspectorClient::inspectorDestroyed):
3074 (WebInspectorClient::closeInspectorFrontend):
3075 * WebCoreSupport/WebInspectorClient.h:
3077 2011-11-26 Sheriff Bot <webkit.review.bot@gmail.com>
3079 Unreviewed, rolling out r101193.
3080 http://trac.webkit.org/changeset/101193
3081 https://bugs.webkit.org/show_bug.cgi?id=73158
3083 Breaks Windows and Qt minimal. (Requested by pfeldman on
3086 * WebCoreSupport/WebInspectorClient.cpp:
3087 (WebInspectorClient::inspectorDestroyed):
3088 (WebInspectorFrontendClient::disconnectFromBackend):
3089 * WebCoreSupport/WebInspectorClient.h:
3091 2011-11-26 Pavel Feldman <pfeldman@google.com>
3093 Web Inspector: remove disconnectFromBackend from the protocol.
3094 https://bugs.webkit.org/show_bug.cgi?id=73127
3096 Reviewed by Yury Semikhatsky.
3098 * WebCoreSupport/WebInspectorClient.cpp:
3099 (WebInspectorClient::inspectorDestroyed):
3100 (WebInspectorClient::closeInspectorFrontend):
3101 * WebCoreSupport/WebInspectorClient.h:
3103 2011-11-22 Pavel Feldman <pfeldman@google.com>
3105 Web Inspector: remove Inspector::bringToFront from the protocol.
3106 https://bugs.webkit.org/show_bug.cgi?id=72937
3108 Reviewed by Yury Semikhatsky.
3110 * WebCoreSupport/WebInspectorClient.cpp:
3111 (WebInspectorClient::bringFrontendToFront):
3112 * WebCoreSupport/WebInspectorClient.h:
3114 2011-11-21 Pavel Feldman <pfeldman@google.com>
3116 Not reviewed: an attempt to fix windows build.
3119 (WebInspector::isJavaScriptProfilingEnabled):
3120 (WebInspector::setJavaScriptProfilingEnabled):
3122 2011-06-20 Pavel Feldman <pfeldman@chromium.org>
3124 Web Inspector: introduce InspectorFrontendAPI for actions initiated from the application menu.
3125 https://bugs.webkit.org/show_bug.cgi?id=62985
3127 Both: inspector protocol and WebCore/InspectorController have a number of unnecessary
3128 methods for plumbing the menu action handlers through the WebKit and WebCore.
3129 I intend to remove this menu support from the protocol and WebCore/InspectorController API.
3130 I am starting with exposing the new front-end API in the WebCore and using it in the WebKit/mac port.
3131 WebKit/win and WebKit2 to follow.
3133 Reviewed by Yury Semikhatsky.
3136 (WebInspector::createInstance):
3137 (WebInspector::WebInspector):
3138 (WebInspector::webViewClosed):
3139 (WebInspector::showConsole):
3140 (WebInspector::isDebuggingJavaScript):
3141 (WebInspector::toggleDebuggingJavaScript):
3142 (WebInspector::isProfilingJavaScript):
3143 (WebInspector::toggleProfilingJavaScript):
3144 (WebInspector::isJavaScriptProfilingEnabled):
3145 (WebInspector::setJavaScriptProfilingEnabled):
3146 (WebInspector::isTimelineProfilingEnabled):
3147 (WebInspector::setTimelineProfilingEnabled):
3152 (WebView::initWithFrame):
3153 (WebView::inspector):
3156 2011-10-17 Antonio Gomes <agomes@rim.com>
3158 Pass a Frame* parameter in EditorClient::respondToChangedSelection
3159 https://bugs.webkit.org/show_bug.cgi?id=70248
3161 Reviewed by Ryosuke Niwa.
3163 * WebCoreSupport/WebEditorClient.cpp: Make use of the newly added Frame* parameter.
3164 (WebEditorClient::respondToChangedSelection):
3165 * WebCoreSupport/WebEditorClient.h:
3167 2011-11-15 Jochen Eisinger <jochen@chromium.org>
3169 Rename ReferrerPolicy to clarify its meaning
3170 https://bugs.webkit.org/show_bug.cgi?id=72420
3172 Reviewed by Nate Chapin.
3174 * WebCoreSupport/WebContextMenuClient.cpp:
3175 (WebContextMenuClient::searchWithGoogle):
3177 2011-11-15 Anders Carlsson <andersca@apple.com>
3179 HostWindow screenToWindow/windowToScreen should be screenToRootView/rootViewToScreen
3180 https://bugs.webkit.org/show_bug.cgi?id=72397
3182 Reviewed by Dan Bernstein.
3184 * WebCoreSupport/WebChromeClient.cpp:
3185 (WebChromeClient::rootViewToScreen):
3186 (WebChromeClient::screenToRootView):
3187 * WebCoreSupport/WebChromeClient.h:
3189 2011-11-14 Anders Carlsson <andersca@apple.com>
3191 HostWindow invalidation functions should use root view coordinates
3192 https://bugs.webkit.org/show_bug.cgi?id=72338
3194 Reviewed by Dan Bernstein.
3196 * WebCoreSupport/WebChromeClient.cpp:
3197 (WebChromeClient::invalidateRootView):
3198 (WebChromeClient::invalidateContentsAndRootView):
3199 * WebCoreSupport/WebChromeClient.h:
3201 2011-11-07 Adam Barth <abarth@webkit.org>
3203 Move static "policy" state from SecurityOrigin.cpp to SecurityPolicy.cpp
3204 https://bugs.webkit.org/show_bug.cgi?id=71755
3206 Reviewed by Eric Seidel.
3209 (WebView::addOriginAccessWhitelistEntry):
3210 (WebView::removeOriginAccessWhitelistEntry):
3211 (WebView::resetOriginAccessWhitelists):
3213 2011-11-07 Adam Barth <abarth@webkit.org>
3215 Move DomainRelaxationForbidden scheme registry to SchemeRegistry
3216 https://bugs.webkit.org/show_bug.cgi?id=71750
3218 Reviewed by Eric Seidel.
3221 (WebView::setDomainRelaxationForbiddenForURLScheme):
3223 2011-11-07 Beth Dakin <bdakin@apple.com>
3225 https://bugs.webkit.org/show_bug.cgi?id=71490
3226 Support uiStateTransitionProgress for scrollbars
3228 <rdar://problem/9849612>
3230 Reviewed by Sam Weinig.
3232 Scrollbar::mouseUp() now takes a PlatformMouseEvent as a parameter.
3234 (WebScrollBar::handleMouseEvent):
3236 2011-11-02 Darin Adler <darin@apple.com>
3238 Change remaining callers of releaseRef to call leakRef
3239 https://bugs.webkit.org/show_bug.cgi?id=71422
3241 Reviewed by Darin Fisher.
3244 (WebCache::statistics):
3245 * WebDatabaseManager.cpp:
3246 (WebDatabaseManager::origins):
3247 (WebDatabaseManager::databasesWithOrigin):
3248 * WebHistoryItem.cpp:
3249 (WebHistoryItem::redirectURLs):
3250 * WebKitClassFactory.cpp:
3251 (leakRefFromCreateInstance):
3252 (WebKitClassFactory::CreateInstance):
3253 * WebScriptWorld.cpp:
3254 (WebScriptWorld::standardWorld):
3257 2011-11-02 Jon Lee <jonlee@apple.com>
3259 Expand DragController to provide more information about the dragging session
3260 https://bugs.webkit.org/show_bug.cgi?id=71324
3261 <rdar://problem/10379175>
3263 Reviewed by Darin Adler.
3266 (WebView::DragEnter): Minor refactoring because operation is stored in
3267 new DragSession struct.
3268 (WebView::DragOver): Ditto.
3270 2011-11-02 Tom Sepez <tsepez@chromium.org>
3272 XSSAuditor is silent
3273 https://bugs.webkit.org/show_bug.cgi?id=70973
3275 Reviewed by Adam Barth.
3277 * WebCoreSupport/WebFrameLoaderClient.cpp:
3278 (WebFrameLoaderClient::didDetectXSS):
3279 * WebCoreSupport/WebFrameLoaderClient.h:
3281 2011-10-28 Jochen Eisinger <jochen@chromium.org>
3283 Rename a number of methods mentioning JavaScript to just Script instead
3284 https://bugs.webkit.org/show_bug.cgi?id=71105
3286 Reviewed by Adam Barth.
3289 (WebFrame::dispatchDidClearWindowObjectInWorld):
3291 (WebView::notifyPreferencesChanged):
3293 2011-10-24 Geoffrey Garen <ggaren@apple.com>
3295 Build fix: removed some cases of threadsafeCopy() that I missed in
3298 * WebDatabaseManager.cpp:
3299 (DidModifyOriginData::dispatchToMainThread):
3300 * WebDownloadCFNet.cpp:
3301 (WebDownload::initToResumeWithBundle):
3302 * WebIconDatabase.cpp:
3303 (WebIconDatabase::didImportIconURLForPageURL):
3305 2011-10-24 Ryosuke Niwa <rniwa@webkit.org>
3307 threadsafeCopy has been renamed to isolatedCopy.
3309 * WebDatabaseManager.cpp:
3310 (DidModifyOriginData::dispatchToMainThread):
3312 2011-10-24 Adam Barth <abarth@webkit.org>
3314 Attempt to fix Windows build by updating to the new interface.
3316 * DOMEventsClasses.cpp:
3317 (DOMEvent::createInstance):
3319 2011-10-18 Adam Barth <abarth@webkit.org>
3321 Always enable ENABLE(XPATH)
3322 https://bugs.webkit.org/show_bug.cgi?id=70217
3324 Reviewed by Eric Seidel.
3326 * Interfaces/DOMWindow.idl:
3328 2011-10-14 Julien Chaffraix <jchaffraix@webkit.org>
3330 Remove layerX / layerY from the Windows API
3331 https://bugs.webkit.org/show_bug.cgi?id=70051
3333 Reviewed by Darin Adler.
3335 Renamed layerX to unused1 and layerY to unused2 to keep the
3336 binary compatibility.
3338 * DOMEventsClasses.cpp:
3339 (DOMUIEvent::unused1):
3340 (DOMUIEvent::unused2):
3341 * DOMEventsClasses.h:
3342 (DOMKeyboardEvent::unused1):
3343 (DOMKeyboardEvent::unused2):
3344 (DOMMouseEvent::unused1):
3345 (DOMMouseEvent::unused2):
3346 (DOMWheelEvent::unused1):
3347 (DOMWheelEvent::unused2):
3348 * Interfaces/DOMEvents.idl:
3350 2011-10-11 Simon Fraser <simon.fraser@apple.com>
3352 Make custom scrollbar theme for use in DRT, to reduce pixel diffs between platforms
3353 https://bugs.webkit.org/show_bug.cgi?id=68134
3355 Reviewed by Darin Adler.
3357 Use ScrollbarThemeMock when the setting to use mock scrollbars is enabled.
3359 Make ScrollbarTheme::nativeTheme() private, and add a new static theme() method
3360 that reads the setting, and returns the mock theme if set. All callers now use
3361 theme() rther than nativeTheme(). Add the new ScrollbarTheme.cpp file to the build.
3364 (WebScrollBar::requestedWidth):
3365 (WebScrollBar::requestedHeight):
3367 (WebView::WebViewWndProc):
3369 2011-10-03 Anders Carlsson <andersca@apple.com>
3371 Remove custom scrollbar painting hooks
3372 https://bugs.webkit.org/show_bug.cgi?id=69163
3374 Reviewed by Alexey Proskuryakov.
3376 Remove now unused WebPreferences and ChromeClient overrides.
3378 * Interfaces/IWebPreferences.idl:
3379 * WebCoreSupport/WebChromeClient.cpp:
3380 * WebCoreSupport/WebChromeClient.h:
3381 * WebPreferenceKeysPrivate.h:
3382 * WebPreferences.cpp:
3383 (WebPreferences::unused3):
3384 (WebPreferences::unused4):
3387 (WebView::notifyPreferencesChanged):
3389 2011-09-23 Adam Roben <aroben@apple.com>
3391 Remove WebKitAPITest
3393 WebKit part of <http://webkit.org/b/66560> WebKitAPITest and TestWebKitAPI have duplicate
3394 functionality (and names!)
3396 Reviewed by Anders Carlsson.
3398 * WebKit.vcproj/WebKit.sln: Removed WebKitAPITest.vcproj. Changed WebKitLauncherWin, which
3399 formerly depended on WebKitAPITest, to now depend on DumpRenderTree, which WebKitAPITest
3402 2011-09-24 Adam Barth <abarth@webkit.org>
3404 Always enable ENABLE(OFFLINE_WEB_APPLICATIONS)
3405 https://bugs.webkit.org/show_bug.cgi?id=68767
3407 Reviewed by Eric Seidel.
3409 * WebCoreSupport/WebChromeClient.cpp:
3410 (WebChromeClient::reachedApplicationCacheOriginQuota):
3411 * WebCoreSupport/WebChromeClient.h:
3413 2011-09-22 Adam Roben <aroben@apple.com>
3415 Remove FindSafari from all our .sln files
3417 It isn't used anymore, so there's no point in building it.
3419 Part of <http://webkit.org/b/68628> Remove FindSafari
3421 Reviewed by Steve Falkenburg.
3423 * WebKit.vcproj/WebKit.sln: Also relinearized the build order while I was at it.
3425 2011-09-22 Adam Roben <aroben@apple.com>
3427 Add testRegExp.vcproj to WebKit.sln
3429 Fixes <http://webkit.org/b/68403> Windows bots don't build testRegExp.vcproj
3431 Reviewed by Brian Weinstein.
3433 * WebKit.vcproj/WebKit.sln: Added testRegExp. Made it build just after jsc, just like it
3434 does when built as part of JavaScriptCore.sln.
3436 2011-09-21 Steve Falkenburg <sfalken@apple.com>
3438 Branch builds don't launch on Windows when run against trunk WebKit
3439 https://bugs.webkit.org/show_bug.cgi?id=68546
3441 Reviewed by Darin Adler.
3443 * Interfaces/IWebPreferences.idl: Swap avFoundation and pictographicFontFamily
3444 in IDL for binary compatibility between branch and trunk.
3446 2011-09-21 Andras Becsi <andras.becsi@nokia.com>
3448 [Qt] Remove Qt specific code from css/SelectorChecker.cpp
3449 https://bugs.webkit.org/show_bug.cgi?id=67702
3451 Reviewed by Csaba Osztrogonác.
3453 * WebCoreSupport/WebPlatformStrategies.cpp: Modify to match new prototype.
3454 (WebPlatformStrategies::isLinkVisited):
3455 * WebCoreSupport/WebPlatformStrategies.h: Ditto.
3457 2011-09-17 Mihai Parparita <mihaip@chromium.org>
3459 FrameLoaderClient BackForwardList-related methods are unsued
3460 https://bugs.webkit.org/show_bug.cgi?id=68293
3462 Reviewed by Darin Adler.
3464 Remove FrameLoaderClient methods that were added by r51629, since only
3465 the old (since-deleted) Android port needed them.
3467 * WebCoreSupport/WebFrameLoaderClient.cpp:
3468 * WebCoreSupport/WebFrameLoaderClient.h:
3470 2011-09-15 Adam Barth <abarth@webkit.org>
3472 Rename ENABLE(DATABASE) to ENABLE(SQL_DATABASE)
3473 https://bugs.webkit.org/show_bug.cgi?id=68205
3475 Reviewed by Eric Seidel.
3478 * WebCoreSupport/WebChromeClient.cpp:
3479 * WebCoreSupport/WebChromeClient.h:
3480 * WebDatabaseManager.cpp:
3481 * WebDatabaseManager.h:
3482 * WebSecurityOrigin.cpp:
3483 (WebSecurityOrigin::usage):
3484 (WebSecurityOrigin::quota):
3485 (WebSecurityOrigin::setQuota):
3487 (WebView::initWithFrame):
3488 (WebView::notifyPreferencesChanged):
3490 2011-09-15 Kentaro Hara <haraken@google.com>
3492 A single line must not be split into two pages.
3493 https://bugs.webkit.org/show_bug.cgi?id=65005
3495 Reviewed by David Hyatt.
3497 When the document width of a page is overflowed, the last line of the page can be
3498 split into the next page. This is the regression caused by r88737. r88737 tried to
3499 fix rounding errors in rendering calculations by expanding and shrinking a page
3500 using one common method, resizePageRectsKeepingRatio(), but overlooked the case where
3501 a document width gets overflowed.
3503 Test: printing/single-line-must-not-be-split-into-two-pages.html
3506 (WebFrame::setPrinting): Passes an original page size to setPrinting().
3507 (WebFrame::setInPrintingMode): Ditto.
3510 2011-09-06 Ryosuke Niwa <rniwa@webkit.org>
3512 Rename confirmCompositionWithoutDisturbingSelection to cancelComposition
3513 https://bugs.webkit.org/show_bug.cgi?id=67569
3515 Reviewed by Antonio Gomes.
3518 (WebView::resetIME):
3520 2011-08-29 Alexey Proskuryakov <ap@apple.com>
3522 DumpRenderTree should begin each test with an empty cookie store
3523 https://bugs.webkit.org/show_bug.cgi?id=63545
3524 <rdar://problem/5666907>
3526 Reviewed by Darin Adler.
3528 * WebCookieManagerCFNet.cpp:
3529 (WebCookieManager::cookieStorage):
3530 (WebCookieManager::setCookieStorage):
3531 Changed the API to work with new functions in WebCore. It's a bit ugly, because cookieStorage()
3532 returns an unretained reference, which we cannot provide any more, but it should not be a
3535 * WebView.cpp: (updateSharedSettingsFromPreferencesIfNeeded): Updated to use currentCFHTTPCookieStorage()
3536 instead of currentCookieStorage().
3538 2011-08-30 Kaustubh Atrawalkar <kaustubh@motorola.com>
3540 The unused ScrollView* argument can and should be removed from
3542 https://bugs.webkit.org/show_bug.cgi?id=67117
3544 Reviewed by Darin Adler.
3546 * WebCoreSupport/WebChromeClient.h:
3547 (WebChromeClient::scrollRectIntoView):
3549 2011-08-29 Ryosuke Niwa <rniwa@webkit.org>
3551 Move setInnerTextValue from RenderTextControl to HTMLTextFormControlElement
3552 https://bugs.webkit.org/show_bug.cgi?id=67152
3554 Reviewed by Darin Adler.
3556 Updated call sites of lastChangeWasUserEdit since it's moved from RenderTextControl
3557 to HTMLTextFormControlElement.
3559 * DOMHTMLClasses.cpp:
3560 (DOMHTMLInputElement::isUserEdited):
3561 (DOMHTMLTextAreaElement::isUserEdited):
3563 2011-08-29 Sheriff Bot <webkit.review.bot@gmail.com>
3565 Unreviewed, rolling out r93987, r93992, r93995, r93998, and
3567 http://trac.webkit.org/changeset/93987
3568 http://trac.webkit.org/changeset/93992
3569 http://trac.webkit.org/changeset/93995
3570 http://trac.webkit.org/changeset/93998
3571 http://trac.webkit.org/changeset/93999
3572 https://bugs.webkit.org/show_bug.cgi?id=67147
3574 Many failing tests (Requested by ap on #webkit).
3576 * WebCookieManagerCFNet.cpp:
3577 (WebCookieManager::cookieStorage):
3578 (WebCookieManager::setCookieStorage):
3580 (updateSharedSettingsFromPreferencesIfNeeded):
3582 2011-08-29 Alexey Proskuryakov <ap@apple.com>
3587 (updateSharedSettingsFromPreferencesIfNeeded):
3588 Updated for new function name and signature: currentCFHTTPCookieStorage().
3590 2011-08-26 Alexey Proskuryakov <ap@apple.com>
3592 DumpRenderTree should begin each test with an empty cookie store
3593 https://bugs.webkit.org/show_bug.cgi?id=63545
3594 <rdar://problem/5666907>
3596 Reviewed by Darin Adler.
3598 * WebCookieManagerCFNet.cpp:
3599 (WebCookieManager::cookieStorage):
3600 (WebCookieManager::setCookieStorage):
3601 Changed the API to work with new functions in WebCore. It's a bit ugly, because cookieStorage()
3602 returns an unretained reference, which we cannot provide any more, but it should not be a
3605 2011-08-17 Adam Roben <aroben@apple.com>
3607 Make WebCore keep track of the current device scale factor
3609 Fixes <http://webkit.org/b/66413> WebCore requires every WebKit port to keep track of the
3612 Reviewed by Darin Adler.
3614 * WebCoreSupport/WebChromeClient.cpp:
3615 * WebCoreSupport/WebChromeClient.h:
3616 Removed deviceScaleFactor.
3618 2011-08-15 Dmitry Titov <dimich@chromium.org>
3620 FrameLoaderClient::transferLoadingResourceFromPage does not have enough parameters
3621 https://bugs.webkit.org/show_bug.cgi?id=66165