[Mac] remove wkCaptionAppearance from WebKitSystemInterface
[WebKit-https.git] / Source / WebKit / mac / ChangeLog
1 2013-02-15  Eric Carlson  <eric.carlson@apple.com>
2
3         [Mac] remove wkCaptionAppearance from WebKitSystemInterface
4         https://bugs.webkit.org/show_bug.cgi?id=109996
5
6         Reviewed by Simon Fraser.
7
8         * WebCoreSupport/WebSystemInterface.mm:
9         (InitWebCoreSystemInterface):
10
11 2013-02-15  Sheriff Bot  <webkit.review.bot@gmail.com>
12
13         Unreviewed, rolling out r143088.
14         http://trac.webkit.org/changeset/143088
15         https://bugs.webkit.org/show_bug.cgi?id=110000
16
17         Breaks the build (Requested by dgorbik on #webkit).
18
19         * WebCoreSupport/WebSystemInterface.mm:
20         (InitWebCoreSystemInterface):
21
22 2013-02-15  Eric Carlson  <eric.carlson@apple.com>
23
24         [Mac] remove wkCaptionAppearance from WebKitSystemInterface
25         https://bugs.webkit.org/show_bug.cgi?id=109996
26
27         Reviewed by Simon Fraser.
28
29         * WebCoreSupport/WebSystemInterface.mm:
30         (InitWebCoreSystemInterface):
31
32 2013-02-15  Allan Sandfeld Jensen  <allan.jensen@digia.com>
33
34         Simplify hitTestResultAtPoint and nodesFromRect APIs
35         https://bugs.webkit.org/show_bug.cgi?id=95720
36
37         Reviewed by Julien Chaffraix.
38
39         Update calls to new API.
40
41         * WebCoreSupport/WebFrameLoaderClient.mm:
42         (WebFrameLoaderClient::actionDictionary):
43         * WebView/WebFrame.mm:
44         (-[WebFrame elementAtPoint:]):
45         * WebView/WebHTMLView.mm:
46         (-[WebHTMLView elementAtPoint:allowShadowContent:]):
47
48 2013-02-14  David Kilzer  <ddkilzer@apple.com>
49
50         [Mac] Clean up WARNING_CFLAGS
51         <http://webkit.org/b/109747>
52         <rdar://problem/13208373>
53
54         Reviewed by Mark Rowe.
55
56         * Configurations/Base.xcconfig: Use
57         GCC_WARN_64_TO_32_BIT_CONVERSION to enable and disable
58         -Wshorten-64-to-32 rather than WARNING_CFLAGS.
59
60 2013-02-13  Zan Dobersek  <zdobersek@igalia.com>
61
62         The 'global isinf/isnan' compiler quirk required when using clang with libstdc++
63         https://bugs.webkit.org/show_bug.cgi?id=109325
64
65         Reviewed by Anders Carlsson.
66
67         Prefix calls to the isinf and isnan methods with std::, declaring we want to use the
68         two methods as they're provided by the C++ standard library being used.
69
70         * tests/DecimalTest.cpp:
71         (TEST_F):
72
73 2013-02-12  Joseph Pecoraro  <pecoraro@apple.com>
74
75         [iOS] Enable PAGE_VISIBILITY_API
76         https://bugs.webkit.org/show_bug.cgi?id=109399
77
78         Reviewed by David Kilzer.
79
80         * Configurations/FeatureDefines.xcconfig:
81
82 2013-02-12  David Kilzer  <ddkilzer@apple.com>
83
84         BUILD FIX (r142576): WK1 build fails when ENABLE(DELETION_UI) is off
85         <https://bugs.webkit.org/show_bug.cgi?id=109534>
86
87         Fixes the following build failure:
88
89             WebEditorClient.mm:243:23: error: out-of-line definition of 'shouldShowDeleteInterface' does not match any declaration in 'WebEditorClient'
90             bool WebEditorClient::shouldShowDeleteInterface(HTMLElement* element)
91                                   ^~~~~~~~~~~~~~~~~~~~~~~~~
92
93         * WebCoreSupport/WebEditorClient.mm:
94         (WebEditorClient::shouldShowDeleteInterface): Protect with
95         ENABLE(DELETION_UI) macro.
96
97 2013-02-11  Ryosuke Niwa  <rniwa@webkit.org>
98
99         Disable delete button controller on non-Mac ports and delete EditorClient::shouldShowDeleteInterface
100         https://bugs.webkit.org/show_bug.cgi?id=109534
101
102         Reviewed by Anders Carlsson.
103
104         * WebCoreSupport/WebEditorClient.h:
105
106 2013-02-11  Benjamin Poulain  <benjamin@webkit.org>
107
108         Kill TestRunner::setMinimumTimerInterval; implement the feature with InternalSettings
109         https://bugs.webkit.org/show_bug.cgi?id=109349
110
111         Reviewed by Sam Weinig.
112
113         * WebView/WebView.mm:
114         * WebView/WebViewPrivate.h:
115
116 2013-02-10  Dan Bernstein  <mitz@apple.com>
117
118         Added *.pdf to EXCLUDED_SOURCE_FILE_NAMES_iphoneos.
119
120         Rubber-stamped by Anders Carlsson.
121
122         * Configurations/WebKit.xcconfig:
123
124 2013-02-10  Jae Hyun Park  <jae.park08@gmail.com>
125
126         Rename ENABLE(GLIB_SUPPORT) to USE(GLIB)
127         https://bugs.webkit.org/show_bug.cgi?id=104266
128
129         Reviewed by Philippe Normand.
130
131         Using USE(GLIB) instead of ENABLE(GLIB_SUPPORT) is more consistent with
132         the existing macro naming conventions.
133
134         From Platform.h
135         USE() - use a particular third-party library or optional OS service
136         ENABLE() - turn on a specific feature of WebKit
137
138         * WebView/WebView.mm:
139         (-[WebView _commonInitializationWithFrameName:groupName:]):
140         (-[WebView _close]):
141         * WebView/WebViewData.h:
142         * WebView/WebViewInternal.h:
143
144 2013-02-08  Benjamin Poulain  <bpoulain@apple.com>
145
146         Move workerThreadCount from TestRunner to WebCore Internals
147         https://bugs.webkit.org/show_bug.cgi?id=109239
148
149         Reviewed by Darin Adler.
150
151         Get rid of WebWorkersPrivate, which was only needed for DRT.
152
153         * WebKit.exp:
154         * Workers/WebWorkersPrivate.h: Removed.
155         * Workers/WebWorkersPrivate.mm: Removed.
156
157 2013-02-07  Sheriff Bot  <webkit.review.bot@gmail.com>
158
159         Unreviewed, rolling out r142212.
160         http://trac.webkit.org/changeset/142212
161         https://bugs.webkit.org/show_bug.cgi?id=109255
162
163         Causes ASSERT(!m_installed) on launch (Requested by smfr on
164         #webkit).
165
166         * WebView/WebView.mm:
167         (-[WebView _commonInitializationWithFrameName:groupName:]):
168         (WebInstallMemoryPressureHandler):
169
170 2013-02-06  Gavin Barraclough  <barraclough@apple.com>
171
172         PluginProcess should quit immediately if idle in response to low-memory notifications
173         https://bugs.webkit.org/show_bug.cgi?id=109103
174         <rdar://problem/12679827>
175
176         Reviewed by Darin Adler.
177
178         * WebView/WebView.mm:
179         (-[WebView _commonInitializationWithFrameName:groupName:]):
180             - MemoryPressureHandler::install is now called via MemoryPressureHandler::initialize.
181         (WebInstallMemoryPressureHandler):
182             - MemoryPressureHandler::install is now called via MemoryPressureHandler::initialize.
183
184 2013-02-07  Benjamin Poulain  <bpoulain@apple.com>
185
186         Move pauseAnimation/pauseTransition from TestRunner to Internals
187         https://bugs.webkit.org/show_bug.cgi?id=109107
188
189         Reviewed by Anders Carlsson.
190
191         * WebView/WebFrame.mm:
192         * WebView/WebFramePrivate.h:
193
194 2013-02-06  Mike West  <mkwst@chromium.org>
195
196         Add an ENABLE_NOSNIFF feature flag.
197         https://bugs.webkit.org/show_bug.cgi?id=109029
198
199         Reviewed by Jochen Eisinger.
200
201         This new flag will control the behavior of 'X-Content-Type-Options: nosniff'
202         when processing script and other resource types.
203
204         * Configurations/FeatureDefines.xcconfig:
205
206 2013-02-04  Benjamin Poulain  <bpoulain@apple.com>
207
208         Kill suspendAnimation(), resumeAnimation() and numberOfActiveAnimations() from DRT/WTR; use Internals
209         https://bugs.webkit.org/show_bug.cgi?id=108741
210
211         Reviewed by Tony Chang.
212
213         * WebView/WebFrame.mm:
214         * WebView/WebFramePrivate.h:
215
216 2013-02-04  Enrica Casucci  <enrica@apple.com>
217
218         Add specific EditActions for Bold and Italic commands.
219         https://bugs.webkit.org/show_bug.cgi?id=108842.
220         <rdar://problem/13098252>
221
222         Reviewed by Ryosuke Niwa.
223
224         * WebCoreSupport/WebEditorClient.mm:
225         (undoNameForEditAction):
226
227 2013-02-03  David Kilzer  <ddkilzer@apple.com>
228
229         Upstream ENABLE_PDFKIT_PLUGIN settting
230         <http://webkit.org/b/108792>
231
232         Reviewed by Tim Horton.
233
234         * Configurations/FeatureDefines.xcconfig: Disable PDFKIT_PLUGIN
235         on iOS since PDFKit is a Mac-only framework.
236
237 2013-02-02  David Kilzer  <ddkilzer@apple.com>
238
239         Upstream iOS FeatureDefines
240         <http://webkit.org/b/108753>
241
242         Reviewed by Anders Carlsson.
243
244         * Configurations/FeatureDefines.xcconfig:
245         - ENABLE_DEVICE_ORIENTATION: Add iOS configurations.
246         - ENABLE_PLUGIN_PROXY_FOR_VIDEO: Ditto.
247         - FEATURE_DEFINES: Add ENABLE_PLUGIN_PROXY_FOR_VIDEO.  Add
248           PLATFORM_NAME variant to reduce future merge conflicts. 
249
250 2013-02-01  Alexis Menard  <alexis@webkit.org>
251
252         Enable unprefixed CSS transitions by default.
253         https://bugs.webkit.org/show_bug.cgi?id=108216
254
255         Reviewed by Dean Jackson.
256
257         Rename the flag CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED
258         to CSS_TRANSFORMS_ANIMATIONS_UNPREFIXED which will be used later to 
259         guard the unprefixing work for CSS Transforms and animations.
260
261         * Configurations/FeatureDefines.xcconfig:
262
263 2013-01-31  Aurimas Liutikas  <aurimas@chromium.org>
264
265         Editor::m_compositionNode not updated on HTMLInputElement::setValue()
266         https://bugs.webkit.org/show_bug.cgi?id=107737
267
268         Reviewed by Ryosuke Niwa.
269
270         * WebView/WebHTMLView.mm:
271         (-[WebHTMLView _updateSelectionForInputManager]):
272
273 2013-01-31  Sheriff Bot  <webkit.review.bot@gmail.com>
274
275         Unreviewed, rolling out r141479.
276         http://trac.webkit.org/changeset/141479
277         https://bugs.webkit.org/show_bug.cgi?id=108564
278
279         breaks chromium test (Requested by morrita on #webkit).
280
281         * WebView/WebHTMLView.mm:
282         (-[WebHTMLView _updateSelectionForInputManager]):
283
284 2013-01-31  Enrica Casucci  <enrica@apple.com>
285
286         Mac: Editor::baseWritingDirectionForSelectionStart should return WritingDirection instead of NSWritingDirection.
287         https://bugs.webkit.org/show_bug.cgi?id=108519.
288
289         Reviewed by Sam Weinig.
290
291         There is no need to use AppKit types here.
292         baseWritingDirectionForSelectionStart now returns WritingDirection and
293         WebHTMLView toggleWritingDirection has been modified accordingly.
294
295         * WebView/WebHTMLView.mm:
296         (-[WebHTMLView toggleBaseWritingDirection:]):
297
298 2013-01-31  Aurimas Liutikas  <aurimas@chromium.org>
299
300         Editor::m_compositionNode not updated on HTMLInputElement::setValue()
301         https://bugs.webkit.org/show_bug.cgi?id=107737
302
303         Reviewed by Ryosuke Niwa.
304
305         * WebView/WebHTMLView.mm:
306         (-[WebHTMLView _updateSelectionForInputManager]):
307
308 2013-01-31  Joseph Pecoraro  <pecoraro@apple.com>
309
310         Disable ENABLE_FULLSCREEN_API on iOS
311         https://bugs.webkit.org/show_bug.cgi?id=108250
312
313         Reviewed by Benjamin Poulain.
314
315         * Configurations/FeatureDefines.xcconfig:
316
317 2013-01-31  Enrica Casucci  <enrica@apple.com>
318
319         WebKit2: provide new bundle APIs to allow bundle clients to be notified of pasteboard access.
320         https://bugs.webkit.org/show_bug.cgi?id=108396.
321         <rdar://problem/12920461>
322
323         Reviewed by Alexey Proskuryakov.
324
325         Adds stub implementation for WebKit of the new EditorClient methods.
326
327         * WebCoreSupport/WebEditorClient.h:
328         * WebCoreSupport/WebEditorClient.mm:
329         (WebEditorClient::willWriteSelectionToPasteboard):
330         (WebEditorClient::getClientPasteboardDataForRange):
331
332 2013-01-31  Brady Eidson  <beidson@apple.com>
333
334         Lack of a log level string should not obliterate compiled in logging channel state.
335         https://bugs.webkit.org/show_bug.cgi?id=108502
336
337         Reviewed by Alexey Proskuryakov and Sam Weinig.
338
339         * Misc/WebKitLogging.m: If there's no log level string, leave the channel state alone.
340
341 2013-01-29  Sheriff Bot  <webkit.review.bot@gmail.com>
342
343         Unreviewed, rolling out r140983.
344         http://trac.webkit.org/changeset/140983
345         https://bugs.webkit.org/show_bug.cgi?id=108277
346
347         Unfortunately, this API has one last client (Requested by
348         abarth on #webkit).
349
350         * Configurations/FeatureDefines.xcconfig:
351
352 2012-11-28  Jer Noble  <jer.noble@apple.com>
353
354         Allow clients to ask for the WebView/WKView placeholder view when in full screen mode.
355         https://bugs.webkit.org/show_bug.cgi?id=103558
356         <rdar://problem/12763112>
357
358         Reviewed by Benjamin Poulain.
359
360         Clients may want to behave differently when their WebView/WKView has been swapped out by a placeholder
361         view when in full screen mode.  Add a simple accessor for the existing placeholder view to
362         WebFullScreenController and WebView.
363
364         * WebView/WebFullScreenController.h:
365         * WebView/WebFullScreenController.mm:
366         (-[WebFullScreenController webViewPlaceholder]): Added simple accessor.
367         * WebView/WebView.mm:
368         (-[WebView fullScreenPlaceholderView]): Added simple accessor.
369
370 2013-01-28  Pratik Solanki  <psolanki@apple.com>
371
372         PLATFORM(IOS) should come before __MAC_OS_X_VERSION_MIN_REQUIRED
373         https://bugs.webkit.org/show_bug.cgi?id=108101
374
375         Reviewed by Benjamin Poulain.
376
377         Since iOS does not define __MAC_OS_X_VERSION_MIN_REQUIRED, any usage of
378         __MAC_OS_X_VERSION_MIN_REQUIRED should be after a PLATFORM(IOS) check.
379
380         * WebCoreSupport/WebSystemInterface.mm:
381         (InitWebCoreSystemInterface):
382
383 2013-01-28  Joseph Pecoraro  <pecoraro@apple.com>
384
385         [Mac] Update PageVisibilityState when WebView is hidden / visible
386         https://bugs.webkit.org/show_bug.cgi?id=107509
387
388         Reviewed by Sam Weinig.
389
390         * WebView/WebView.mm:
391         * WebView/WebViewPrivate.h:
392         (-[WebView _commonInitializationWithFrameName:groupName:]):
393         Set the initial visibility of the page.
394
395         (-[WebView addWindowObserversForWindow:]):
396         (-[WebView removeWindowObservers]):
397         (-[WebView _isViewVisible]):
398         (-[WebView _updateVisibilityState]):
399         (-[WebView viewDidMoveToWindow]):
400         (-[WebView _windowVisibilityChanged:]):
401         Update visibility state in the same ways WK2 does. This involves
402         listening for some new NSWindow delegates.
403
404 2013-01-28  Joseph Pecoraro  <pecoraro@apple.com>
405
406         Improve PageVisibility API with enums
407         https://bugs.webkit.org/show_bug.cgi?id=107364
408
409         Reviewed by Sam Weinig.
410
411         * WebView/WebView.mm:
412         * WebView/WebViewPrivate.h:
413         (core):
414         (-[WebView _setVisibilityState:isInitialState:]):
415         Switch the private API form int to a WebPageVisibilityState enum.
416
417 2013-01-28  Adam Barth  <abarth@webkit.org>
418
419         Remove webkitNotifications.createHTMLNotification
420         https://bugs.webkit.org/show_bug.cgi?id=107598
421
422         Reviewed by Benjamin Poulain.
423
424         * Configurations/FeatureDefines.xcconfig:
425
426 2013-01-25  Andy Estes  <aestes@apple.com>
427
428         Wrap content filtering code in an object
429         https://bugs.webkit.org/show_bug.cgi?id=107914
430
431         Reviewed by Alexey Proskuryakov.
432
433         * WebCoreSupport/WebSystemInterface.mm:
434         (InitWebCoreSystemInterface): Updated to reflect changes in WKSI.
435
436 2013-01-24  Dan Bernstein  <mitz@apple.com>
437
438         WebNavigationData does not distinguish between an empty title and a missing title
439         https://bugs.webkit.org/show_bug.cgi?id=107917
440
441         Reviewed by Andy Estes.
442
443         * WebCoreSupport/WebFrameLoaderClient.mm:
444         (nilOrNSString): Added this helper function.
445         (WebFrameLoaderClient::updateGlobalHistory): Initialize the WebNavigationData with a nil
446         title, rather than the empty string, if the document does not have a title.
447
448 2013-01-24  Mark Hahnenberg  <mhahnenberg@apple.com>
449
450         Objective-C API: Rename JSValue.h/APIJSValue.h to JSCJSValue.h/JSValue.h
451         https://bugs.webkit.org/show_bug.cgi?id=107327
452
453         Reviewed by Filip Pizlo.
454
455         We're renaming these two files, so we have to replace the names everywhere.
456
457         * DOM/WebDOMOperations.mm:
458         * ForwardingHeaders/runtime/JSCJSValue.h: Copied from Source/WebKit/mac/ForwardingHeaders/runtime/JSValue.h.
459         * ForwardingHeaders/runtime/JSValue.h: Removed.
460         * WebView/WebFrame.mm:
461         * WebView/WebView.mm:
462
463 2013-01-22  Anders Carlsson  <andersca@apple.com>
464
465         Use a platforom strategy for local storage
466         https://bugs.webkit.org/show_bug.cgi?id=107600
467
468         Reviewed by Andreas Kling.
469
470         Update for new storage strategy.
471
472         * WebCoreSupport/WebPlatformStrategies.h:
473         (WebPlatformStrategies):
474         * WebCoreSupport/WebPlatformStrategies.mm:
475         (WebPlatformStrategies::createStorageStrategy):
476
477 2013-01-21  Kentaro Hara  <haraken@chromium.org>
478
479         Implement UIEvent constructor
480         https://bugs.webkit.org/show_bug.cgi?id=107430
481
482         Reviewed by Adam Barth.
483
484         Editor's draft: https://dvcs.w3.org/hg/d4e/raw-file/tip/source_respec.htm
485
486         UIEvent constructor is implemented under a DOM4_EVENTS_CONSTRUCTOR flag,
487         which is enabled on Safari and Chromium for now.
488
489         * Configurations/FeatureDefines.xcconfig:
490
491 2013-01-22  Joseph Pecoraro  <pecoraro@apple.com>
492
493         [Mac] Enable Page Visibility (PAGE_VISIBILITY_API)
494         https://bugs.webkit.org/show_bug.cgi?id=107230
495
496         Reviewed by David Kilzer.
497
498         * Configurations/FeatureDefines.xcconfig:
499
500 2013-01-22  Tim Horton  <timothy_horton@apple.com>
501
502         PDFPlugin: Build PDFPlugin everywhere, enable at runtime
503         https://bugs.webkit.org/show_bug.cgi?id=107117
504
505         Reviewed by Alexey Proskuryakov.
506
507         Since PDFLayerController SPI is all forward-declared, the plugin should build
508         on all Mac platforms, and can be enabled at runtime.
509
510         * Configurations/FeatureDefines.xcconfig:
511
512 2013-01-21  Dirk Schulze  <dschulze@adobe.com>
513
514         Add build flag for Canvas's Path object (disabled by default)
515         https://bugs.webkit.org/show_bug.cgi?id=107473
516
517         Reviewed by Dean Jackson.
518
519         * Configurations/FeatureDefines.xcconfig:
520
521 2013-01-17  Andy Estes  <aestes@apple.com>
522
523         Add a USE() macro for content filtering code
524         https://bugs.webkit.org/show_bug.cgi?id=107098
525
526         Reviewed by Mark Rowe.
527
528         * WebCoreSupport/WebSystemInterface.mm:
529         (InitWebCoreSystemInterface): Use USE(CONTENT_FILTERING).
530
531 2013-01-19  Philip Rogers  <pdr@google.com>
532
533         Merge SVGStylable into SVGStyledElement
534         https://bugs.webkit.org/show_bug.cgi?id=106877
535
536         SVG2 changes element inheritance so all SVGElements are stylable. As a first-step towards a
537         cleaner class hierarchy, this patch moves SVGStylable into SVGStyledElement.
538
539         Reviewed by Dirk Schulze.
540
541         * MigrateHeaders.make:
542
543 2013-01-18  Seokju Kwon  <seokju.kwon@gmail.com>
544
545         Add explicit keyword to constructors in platform-specific InspectorClient
546         https://bugs.webkit.org/show_bug.cgi?id=107255
547
548         Reviewed by Kentaro Hara.
549
550         Add explicit keyword to constructors that take one argument
551         in platform-specific implementation of InspectorClient.
552
553         * WebCoreSupport/WebInspectorClient.h:
554         (WebInspectorClient):
555
556 2013-01-15  Jer Noble  <jer.noble@apple.com>
557
558         Add a Setting to disable QTKit media engine.
559         https://bugs.webkit.org/show_bug.cgi?id=106972
560
561         Reviewed by Eric Carlson.
562
563         Add WebKit API to set QTKit enabled setting from user defaults.
564
565         * WebView/WebPreferenceKeysPrivate.h:
566         * WebView/WebPreferences.mm:
567         (+[WebPreferences initialize]): Set WebCore settings based on user defaults.
568         (-[WebPreferences setQTKitEnabled:]): Pass through to WebCore.
569         (-[WebPreferences isQTKitEnabled]): Ditto.
570         * WebView/WebPreferencesPrivate.h:
571         * WebView/WebView.mm:
572         (-[WebView _preferencesChanged:]): Synchronize WebKit/WebCore settings.
573
574 2013-01-15  Enrica Casucci  <enrica@apple.com>
575
576         Add a new set of WebKit2 APIs for text search and
577         search results management.
578         https://bugs.webkit.org/show_bug.cgi?id=106834.
579         <rdar://problem/12597159>
580
581         Reviewed by Simon Fraser.
582         
583         Adding new API to perform text search in WebKit2 without using
584         the stock UI. The new interface provides all the information
585         necessary to write a custom UI for search.
586
587         Added new TextWebKitAPI test.
588
589         * WebView/WebHTMLView.mm:
590         (-[WebHTMLView countMatchesForText:inDOMRange:options:limit:markMatches:]):
591         Modified to reflect the changes to Editor::countMatchesForText interface.
592
593 2013-01-10  Zan Dobersek  <zandobersek@gmail.com>
594
595         Remove the ENABLE_ANIMATION_API feature define occurences
596         https://bugs.webkit.org/show_bug.cgi?id=106544
597
598         Reviewed by Simon Fraser.
599
600         The Animation API code was removed in r137243. The ENABLE_ANIMATION_API
601         feature define handling still lingers in various build systems and configurations
602         but is of no use, so it should be removed.
603
604         * Configurations/FeatureDefines.xcconfig:
605
606 2013-01-08  Mark Lam  <mark.lam@apple.com>
607
608         Removed the need for the ProposedDatabase mechanism.
609         https://bugs.webkit.org/show_bug.cgi?id=106292.
610
611         Reviewed by Sam Weinig.
612
613         * WebCoreSupport/WebChromeClient.h:
614         * WebCoreSupport/WebChromeClient.mm:
615         (WebChromeClient::exceededDatabaseQuota):
616
617 2013-01-07  Dan Bernstein  <mitz@apple.com>
618
619         [mac] WebKit1 clients can’t tell when a frame has been removed from the hierarchy
620         https://bugs.webkit.org/show_bug.cgi?id=106261
621
622         Reviewed by Simon Fraser.
623
624         Test: TestWebKitAPI/Tests/mac/WebViewDidRemoveFrameFromHierarchy.mm.
625
626         Added -[WebFrameLoadDelegate webView:didRemoveFrameFromHierarchy:].
627
628         * WebCoreSupport/WebFrameLoaderClient.mm:
629         (WebFrameLoaderClient::detachedFromParent2): Added a call to the new frame load delegate
630         method.
631         * WebView/WebDelegateImplementationCaching.h:
632         (WebFrameLoadDelegateImplementationCache): Added the new method to the cache.
633         * WebView/WebFrameLoadDelegatePrivate.h: Declared the new delegate method.
634         * WebView/WebView.mm:
635         (-[WebView _cacheFrameLoadDelegateImplementations]): Added the new method to the cache.
636
637 2013-01-07  Mike West  <mkwst@chromium.org>
638
639         Make the IFRAME_SEAMLESS flag runtime-enabled.
640         https://bugs.webkit.org/show_bug.cgi?id=106213
641
642         Reviewed by Ojan Vafai.
643
644         * WebView/WebPreferenceKeysPrivate.h:
645         * WebView/WebPreferences.mm:
646         (-[WebPreferences seamlessIFramesEnabled]):
647         (-[WebPreferences setSeamlessIFramesEnabled:]):
648         * WebView/WebPreferencesPrivate.h:
649         * WebView/WebView.mm:
650         (-[WebView _preferencesChanged:]):
651             Add a seamless IFrame preference to WebPreferences, and use it to
652             toggle the runtime state of the feature as appropriate.
653
654 2013-01-04  Adam Klein  <adamk@chromium.org>
655
656         Remove ENABLE_MUTATION_OBSERVERS #define
657         https://bugs.webkit.org/show_bug.cgi?id=105459
658
659         Reviewed by Ryosuke Niwa.
660
661         * Configurations/FeatureDefines.xcconfig:
662
663 2013-01-01  Dan Bernstein  <mitz@apple.com>
664
665         <rdar://problem/12942239> Update copyright strings
666
667         Reviewed by Sam Weinig.
668
669         * Info.plist:
670
671 2012-12-29  Adam Roben  <aroben@webkit.org>
672
673         Web Inspector: Mac WK1 Inspector can't save/load timeline data
674         https://bugs.webkit.org/show_bug.cgi?id=105547
675
676         Reviewed by Pavel Feldman.
677
678         * WebCoreSupport/WebInspectorClient.h: Declared new overrides and
679         member variables necessary for save support.
680
681         * WebCoreSupport/WebInspectorClient.mm:
682         (WebInspectorFrontendClient::save):
683         (WebInspectorFrontendClient::append):
684         Implemented these to make saving timeline data work. (It seems to me
685         the InspectorFrontendClient API could be cleaned up a bit. I had to
686         look at Chromium source code to determine that I needed to call back
687         into the InspectorFrontendAPI JS object after saving/appending, and
688         that I needed to keep a map of passed URLs -> chosen URLs.)
689
690         (-[WebInspectorWindowController window:willPositionSheet:usingRect:]):
691         Tweaked the position of the sheet so that open/save sheets look a
692         little bette.r
693
694         (-[WebInspectorWindowController webView:runOpenPanelForFileButtonWithResultListener:allowMultipleFiles:]):
695         Implemented to make loading timeline data work.
696
697 2012-12-28  Mark Rowe  <mrowe@apple.com>
698
699         Move logic for extracting the OS X marketing version in to WebCore
700         <http://webkit.org/b/105841> / <rdar://problem/10736041>
701
702         Reviewed by Dan Bernstein.
703
704         * WebCoreSupport/WebSystemInterface.mm:
705         (InitWebCoreSystemInterface): Remove the code related to the WKSI symbol.
706         * WebView/WebView.mm:
707         (systemMarketingVersionForUserAgentString): Call the WebCore function instead of the WKSI function.
708         (+[WebView _standardUserAgentWithApplicationName:]): Retain the result now that our helper doesn't
709         do that for us.
710
711 2012-12-27  Sam Weinig  <sam@webkit.org>
712
713         Attempt to fix the tests.
714
715         * WebView/WebPreferences.mm:
716         (+[WebPreferences initialize]):
717
718 2012-12-23  Alexey Proskuryakov  <ap@apple.com>
719
720         <rdar://problem/12808377> Network process should respect cookie accept policy
721         https://bugs.webkit.org/show_bug.cgi?id=105684
722
723         Reviewed by Sam Weinig.
724
725         * WebCoreSupport/WebPlatformStrategies.h:
726         * WebCoreSupport/WebPlatformStrategies.mm:
727         CookiesStrategy no longer has notifyCookiesChanged().
728
729 2012-12-22  Alexey Proskuryakov  <ap@apple.com>
730
731         Add a separate class for networking related storage
732         https://bugs.webkit.org/show_bug.cgi?id=105676
733
734         Reviewed by Sam Weinig.
735
736         * WebCoreSupport/WebFrameLoaderClient.mm:
737         Updated for ResourceHandle include changes.
738
739         * WebCoreSupport/WebFrameNetworkingContext.h:
740         * WebCoreSupport/WebFrameNetworkingContext.mm:
741         This class is now simpler, with more session tracking being in WebCore now.
742
743         * WebCoreSupport/WebPlatformStrategies.h:
744         * WebCoreSupport/WebPlatformStrategies.mm:
745         (WebPlatformStrategies::cookiesForDOM):
746         (WebPlatformStrategies::setCookiesFromDOM):
747         (WebPlatformStrategies::cookiesEnabled):
748         (WebPlatformStrategies::cookieRequestHeaderFieldValue):
749         (WebPlatformStrategies::getRawCookies):
750         (WebPlatformStrategies::deleteCookie):
751         We no longer need a function for default cookie storage! Other cookie functions
752         now take a session.
753
754         * WebView/WebPreferences.mm:
755         (+[WebPreferences _switchNetworkLoaderToNewTestingSession]): Initialize WCSI before
756         calling a WebCore that uses it.
757         (+[WebPreferences _setCurrentNetworkLoaderSessionCookieAcceptPolicy:]): Use
758         NetworkStorageSession for session tracking.
759
760         * WebView/WebView.mm: (-[WebView _cachedResponseForURL:]): Updated for networking
761         context now returning a class for session.
762
763 2012-12-20  Ilya Tikhonovsky  <loislo@chromium.org>
764
765         Unreviewed build fix for chromium mac after r138206.
766
767         * WebCoreSupport/WebSystemInterface.mm:
768         (InitWebCoreSystemInterface):
769
770 2012-12-19  Alexey Proskuryakov  <ap@apple.com>
771
772         <rdar://problem/12890242> [WK2 NetworkProcess] Client doesn't receive SSL certificates
773         https://bugs.webkit.org/show_bug.cgi?id=105467
774
775         Reviewed by Brady Eidson.
776
777         * WebCoreSupport/WebSystemInterface.mm: (InitWebCoreSystemInterface): Initialize
778         a WKSI function we've been missing.
779
780 2012-12-19  Alexis Menard  <alexis@webkit.org>
781
782         Implement CSS parsing for CSS transitions unprefixed.
783         https://bugs.webkit.org/show_bug.cgi?id=104804
784
785         Reviewed by Dean Jackson.
786
787         Add a new flag ENABLE_CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED
788         to cover the work of unprefixing Transforms, Animations and 
789         Transitions. It will let the possibility of each ports to turn it off 
790         in their release branches until we're confident that these CSS 
791         properties are ready to be unprefixed.
792
793         * Configurations/FeatureDefines.xcconfig:
794
795 2012-12-18  Alexey Proskuryakov  <ap@apple.com>
796
797         Remove unnecessary functions from CookiesStrategy
798         https://bugs.webkit.org/show_bug.cgi?id=105369
799
800         Reviewed by Brady Eidson.
801
802         * WebCoreSupport/WebPlatformStrategies.h:
803         * WebCoreSupport/WebPlatformStrategies.mm:
804
805 2012-12-18  Alice Liu  <alice.liu@apple.com>
806
807         Add SPI to WebKit1 WebFrame for hit testing
808         https://bugs.webkit.org/show_bug.cgi?id=105106
809
810         Reviewed by Dan Bernstein.
811
812         * WebView/WebFrame.mm:
813         (-[WebFrame elementAtPoint:]): Added. Takes an NSPoint to feed to the WebCore::Frame for hit-testing.
814         Creates a WebElementDictionary from that WebCore::HitTestResult, and returns the element dictionary. 
815         * WebView/WebFramePrivate.h:
816
817 2012-12-18  Alice Liu  <alice.liu@apple.com>
818
819         Add SPI to WebKit1 WebFrame for node conversion to JSValueRef
820         https://bugs.webkit.org/show_bug.cgi?id=105262
821
822         Reviewed by Anders Carlsson.
823
824         * WebView/WebFrame.mm:
825         (-[WebFrame jsWrapper:forWorld:]): Added. Takes a DOMNode and WebScriptWorld and provides a JSValueRef
826         for the WebCore::Node in that particular WebScriptWorld.
827         * WebView/WebFramePrivate.h:
828
829 2012-12-18  Beth Dakin  <bdakin@apple.com>
830
831         https://bugs.webkit.org/show_bug.cgi?id=102579
832         [mac] Enable scaled cursors
833
834         Reviewed by Dean Jackson.
835
836         * Configurations/FeatureDefines.xcconfig:
837
838 2012-12-16  Levi Weintraub  <leviw@chromium.org>
839
840         Push pixel snapping logic into TransformState
841         https://bugs.webkit.org/show_bug.cgi?id=101779
842
843         Reviewed by Simon Fraser.
844
845         * WebView/WebFullScreenController.mm:
846         (screenRectOfContents): Removed SnapOffsetForTransforms as it's no longer needed.
847
848 2012-12-15  Anders Carlsson  <andersca@apple.com>
849
850         Rename FrameLoaderClient::download to convertMainResourceLoadToDownload
851         https://bugs.webkit.org/show_bug.cgi?id=105122
852
853         Reviewed by Andreas Kling.
854
855         Update for WebCore changes.
856
857         * WebCoreSupport/WebFrameLoaderClient.h:
858         (WebFrameLoaderClient):
859         * WebCoreSupport/WebFrameLoaderClient.mm:
860         (WebFrameLoaderClient::convertMainResourceLoadToDownload):
861
862 2012-12-15  Mark Lam  <mark.lam@apple.com>
863
864         Re-landing patch for "Introducing the DatabaseStrategy and database servers".
865         https://bugs.webkit.org/show_bug.cgi?id=104934.
866
867         Not reviewed.
868
869         Merged from r137767. Previously reviewed by Sam Weinig.
870
871         * WebCoreSupport/WebPlatformStrategies.h:
872         (WebPlatformStrategies):
873         * WebCoreSupport/WebPlatformStrategies.mm:
874         (WebPlatformStrategies::createDatabaseStrategy):
875
876 2012-12-14  Mark Lam  <mark.lam@apple.com>
877
878         The WebView should initialize the platform strategies before initializing other sub-systems.
879         https://bugs.webkit.org/show_bug.cgi?id=105083.
880
881         Reviewed by Alexey Proskuryakov.
882
883         * WebView/WebView.mm:
884         (-[WebView _commonInitializationWithFrameName:groupName:]):
885
886 2012-12-14  Sheriff Bot  <webkit.review.bot@gmail.com>
887
888         Unreviewed, rolling out r137767.
889         http://trac.webkit.org/changeset/137767
890         https://bugs.webkit.org/show_bug.cgi?id=105062
891
892         Broke Mac builds. (Requested by mlam on #webkit).
893
894         * WebCoreSupport/WebPlatformStrategies.h:
895         (WebPlatformStrategies):
896         * WebCoreSupport/WebPlatformStrategies.mm:
897
898 2012-12-14  Mark Lam  <mark.lam@apple.com>
899
900         Introducing the DatabaseStrategy and database servers.
901         https://bugs.webkit.org/show_bug.cgi?id=104934.
902
903         Reviewed by Sam Weinig.
904
905         The database server is currently a placeholder that does nothing.
906
907         * WebCoreSupport/WebPlatformStrategies.h:
908         (WebPlatformStrategies):
909         * WebCoreSupport/WebPlatformStrategies.mm:
910         (WebPlatformStrategies::createDatabaseStrategy):
911
912 2012-12-13  Alexey Proskuryakov  <ap@apple.com>
913
914         <rdar://problem/12838354> Per-Tab WebProcess: DOM cookie access functions should respect private browsing
915         https://bugs.webkit.org/show_bug.cgi?id=104691
916
917         Reviewed by Sam Weinig.
918
919         * WebCoreSupport/WebFrameNetworkingContext.h:
920         * WebCoreSupport/WebFrameNetworkingContext.mm:
921         (WebFrameNetworkingContext::inPrivateBrowsingMode):
922         (WebFrameNetworkingContext::storageSession):
923         Implemented inPrivateBrowsingMode().
924
925 2012-12-12  Mark Lam  <mark.lam@apple.com>
926
927         Encapsulate externally used webdatabase APIs in DatabaseManager.
928         https://bugs.webkit.org/show_bug.cgi?id=104741.
929
930         Reviewed by Sam Weinig.
931
932         Use DatabaseManager instead of accessing DatabaseTracker, AbstractDatabase,
933         and DatabaseContext directly. This is to prepare for upcoming webkit2
934         refactoring.
935
936         * Storage/WebDatabaseManager.mm:
937         (-[WebDatabaseManager origins]):
938         (-[WebDatabaseManager databasesWithOrigin:]):
939         (-[WebDatabaseManager detailsForDatabase:withOrigin:]):
940         (-[WebDatabaseManager deleteAllDatabases]):
941         (-[WebDatabaseManager deleteOrigin:]):
942         (-[WebDatabaseManager deleteDatabase:withOrigin:]):
943         (WebKitInitializeDatabasesIfNecessary):
944         * Storage/WebDatabaseManagerClient.h: Copied from Source/WebKit/mac/Storage/WebDatabaseTrackerClient.h.
945         (WebDatabaseManagerClient):
946         * Storage/WebDatabaseManagerClient.mm: Copied from Source/WebKit/mac/Storage/WebDatabaseTrackerClient.mm.
947         (WebDatabaseManagerClient::sharedWebDatabaseManagerClient):
948         (WebDatabaseManagerClient::WebDatabaseManagerClient):
949         (WebDatabaseManagerClient::~WebDatabaseManagerClient):
950         (DidModifyOriginData::dispatchToMainThread):
951         (DidModifyOriginData::DidModifyOriginData):
952         (DidModifyOriginData):
953         (WebDatabaseManagerClient::dispatchDidModifyOrigin):
954         (WebDatabaseManagerClient::dispatchDidModifyDatabase):
955         * Storage/WebDatabaseQuotaManager.mm:
956         (-[WebDatabaseQuotaManager usage]):
957         (-[WebDatabaseQuotaManager quota]):
958         (-[WebDatabaseQuotaManager setQuota:]):
959         * Storage/WebDatabaseTrackerClient.h: Removed.
960         * Storage/WebDatabaseTrackerClient.mm: Removed.
961         * WebCoreSupport/WebSecurityOrigin.mm:
962         (-[WebSecurityOrigin usage]):
963         (-[WebSecurityOrigin quota]):
964         (-[WebSecurityOrigin setQuota:]):
965         * WebKit.order:
966         * WebView/WebFrame.mm:
967         (-[WebFrame _cacheabilityDictionary]):
968         * WebView/WebView.mm:
969         (-[WebView _preferencesChanged:]):
970
971 2012-12-12  Alexey Proskuryakov  <ap@apple.com>
972
973         Make LOG() work in WebProcess and NetworkProcess
974         https://bugs.webkit.org/show_bug.cgi?id=104718
975
976         Reviewed by Tim Horton.
977
978         * WebView/WebView.mm: Use WebCore/InitializeLogging.h to avoid conflicts between
979         WebCore and WebKit versions of this file.
980
981 2012-12-11  Mike West  <mkwst@chromium.org>
982
983         Web Inspector: ConsoleTypes should not expose MessageType - it should be private to inspector.
984         https://bugs.webkit.org/show_bug.cgi?id=66371
985
986         Reviewed by Pavel Feldman.
987
988         Drops WebCore::MessageType from the addMessageToConsole method.
989
990         * WebCoreSupport/WebChromeClient.h:
991         (WebChromeClient):
992         * WebCoreSupport/WebChromeClient.mm:
993         (WebChromeClient::addMessageToConsole):
994
995 2012-12-09  Antti Koivisto  <antti@apple.com>
996
997         Factor node traversal into standalone functions
998         https://bugs.webkit.org/show_bug.cgi?id=104507
999
1000         Reviewed by Eric Seidel.
1001     
1002         * WebView/WebHTMLRepresentation.mm:
1003         (searchForLabelsBeforeElement):
1004
1005 2012-12-10  Alexis Menard  <alexis@webkit.org>
1006
1007         [CSS3 Backgrounds and Borders] Remove CSS3_BACKGROUND feature flag.
1008         https://bugs.webkit.org/show_bug.cgi?id=104539
1009
1010         Reviewed by Antonio Gomes.
1011
1012         As discussed on webkit-dev it is not needed to keep this feature flag 
1013         as support for <position> type is a small feature that is already 
1014         implemented by three other UAs. It was useful while landing this 
1015         feature as partial bits were landed one after one.
1016
1017         * Configurations/FeatureDefines.xcconfig:
1018
1019 2012-12-06  Rick Byers  <rbyers@chromium.org>
1020
1021         CSS cursor property should support webkit-image-set
1022         https://bugs.webkit.org/show_bug.cgi?id=99493
1023
1024         Reviewed by Beth Dakin.
1025
1026         Add ENABLE_MOUSE_CURSOR_SCALE - disabled by default.
1027
1028         * Configurations/FeatureDefines.xcconfig:
1029
1030 2012-12-03  Yury Semikhatsky  <yurys@chromium.org>
1031
1032         Unreviewed. Fix Mac compilation after r136448.
1033
1034         * WebCoreSupport/WebChromeClient.mm:
1035         (stringForMessageType):
1036
1037 2012-12-03  Alexis Menard  <alexis@webkit.org>
1038
1039         [Mac] Enable CSS3 background-position offset by default.
1040         https://bugs.webkit.org/show_bug.cgi?id=103905
1041
1042         Reviewed by Simon Fraser.
1043
1044         Turn the flag on by default.
1045
1046         * Configurations/FeatureDefines.xcconfig:
1047
1048 2012-12-02  Yongjun Zhang  <yongjun_zhang@apple.com>
1049
1050         Need a method to close all idle localstorage databases immediately.
1051         https://bugs.webkit.org/show_bug.cgi?id=103469
1052
1053         Reviewed by David Kilzer.
1054
1055         Add a new method to WebStorageManager that we can call to close all
1056         idle local storage databases.
1057
1058         * Storage/WebStorageManager.mm:
1059         (+[WebStorageManager closeIdleLocalStorageDatabases]):
1060         * Storage/WebStorageManagerPrivate.h:
1061
1062 2012-11-30  Mihai Maerean  <mmaerean@adobe.com>
1063
1064         [CSSRegions] when WebKit uses V8, there should be a single variable to store if the CSS Regions feature is enabled
1065         https://bugs.webkit.org/show_bug.cgi?id=101192
1066
1067         Reviewed by Hajime Morita.
1068
1069         Removed the CSS Regions flag in Settings and switched to using the new flag I have added in RuntimeEnabledFeatures.
1070
1071         Tests: No new tests because there is no functional change.
1072
1073         * WebView/WebView.mm:
1074         (-[WebView _preferencesChanged:]):
1075
1076 2012-11-29  Rafael Weinstein  <rafaelw@chromium.org>
1077
1078         [HTMLTemplateElement] Add feature flag
1079         https://bugs.webkit.org/show_bug.cgi?id=103694
1080
1081         Reviewed by Adam Barth.
1082
1083         This flag will guard the implementation of the HTMLTemplateElement.
1084         http://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/templates/index.html
1085
1086         * Configurations/FeatureDefines.xcconfig:
1087
1088 2012-11-29  Alexey Proskuryakov  <ap@apple.com>
1089
1090         [WK2] Forward cookie jar calls to NetworkProcess
1091         https://bugs.webkit.org/show_bug.cgi?id=103457
1092
1093         Reviewed by Darin Adler.
1094
1095         * WebCoreSupport/WebPlatformStrategies.h:
1096         (WebPlatformStrategies):
1097         * WebCoreSupport/WebPlatformStrategies.mm:
1098         (WebPlatformStrategies::cookiesForDOM):
1099         (WebPlatformStrategies::setCookiesFromDOM):
1100         (WebPlatformStrategies::cookiesEnabled):
1101         (WebPlatformStrategies::cookieRequestHeaderFieldValue):
1102         (WebPlatformStrategies::getRawCookies):
1103         (WebPlatformStrategies::deleteCookie):
1104         (WebPlatformStrategies::getHostnamesWithCookies):
1105         (WebPlatformStrategies::deleteCookiesForHostname):
1106         (WebPlatformStrategies::deleteAllCookies):
1107         (WebPlatformStrategies::getPluginInfo):
1108         (WebPlatformStrategies::bufferForType):
1109         WebKit1 strategy just uses PlatformCookieJar.
1110
1111 2012-11-28  Beth Dakin  <bdakin@apple.com>
1112
1113         https://bugs.webkit.org/show_bug.cgi?id=102970
1114         [WK1] REGRESSION (r129545): Main frame doesn't rubberband unless 
1115         WebFrameLoadDelegate implements -webView:didFirstLayoutInFrame:
1116
1117         Reviewed by Sam Weinig.
1118
1119         We should always register for DidFirstLayout in WK1 since we do work 
1120         at that time besides just calling the delegate function.
1121         * WebView/WebView.mm:
1122         (-[WebView _cacheFrameLoadDelegateImplementations]):
1123
1124 2012-11-27  Michael Saboff  <msaboff@apple.com>
1125
1126         TextIterator unnecessarily converts 8 bit strings to 16 bits
1127         https://bugs.webkit.org/show_bug.cgi?id=103295
1128
1129         Reviewed by Brent Fulgham.
1130
1131         Updated _stringForRange to use plainText() instead of removed plainTextToMallocAllocatedBuffer().
1132
1133         * WebView/WebFrame.mm:
1134         (-[WebFrame _stringForRange:]):
1135
1136 2012-11-27  James Simonsen  <simonjam@chromium.org>
1137
1138         Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
1139         https://bugs.webkit.org/show_bug.cgi?id=102151
1140
1141         Reviewed by Adam Barth.
1142
1143         * Plugins/WebPluginController.mm:
1144         * WebView/WebFrame.mm:
1145         (-[WebFrame loadRequest:]):
1146         (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
1147
1148 2012-11-27  Pratik Solanki  <psolanki@apple.com>
1149
1150         objc/objc-runtime.h does not exist on all PLATFORM(MAC)
1151         https://bugs.webkit.org/show_bug.cgi?id=101780
1152
1153         Reviewed by Brent Fulgham.
1154
1155         Clean up header includes so we don't include objc/objc-runtime.h.
1156
1157         * Carbon/HIWebView.mm:
1158         (UpdateCommandStatus): Use wtfObjcMsgSend template instead of objc_msgSend.
1159         * Plugins/WebNetscapePluginView.mm:
1160         * Plugins/WebPluginContainerCheck.mm:
1161         (-[WebPluginContainerCheck _continueWithPolicy:]): Use wtfObjcMsgSend template instead of objc_msgSend.
1162         * Plugins/WebPluginController.mm:
1163         * WebCoreSupport/WebCachedFramePlatformData.h:
1164         * WebCoreSupport/WebDeviceOrientationClient.mm:
1165         * WebView/WebDelegateImplementationCaching.mm:
1166         * WebView/WebHTMLView.mm:
1167         * WebView/WebPDFDocumentExtras.mm:
1168         * WebView/WebPolicyDelegate.mm:
1169         (-[WebPolicyDecisionListener _usePolicy:]): Use wtfObjcMsgSend template instead of objc_msgSend.
1170         * WebView/WebView.mm:
1171
1172 2012-11-27  Sheriff Bot  <webkit.review.bot@gmail.com>
1173
1174         Unreviewed, rolling out r135786.
1175         http://trac.webkit.org/changeset/135786
1176         https://bugs.webkit.org/show_bug.cgi?id=103379
1177
1178         It made 3 plugin tests timeout on several platforms (Requested
1179         by Ossy on #webkit).
1180
1181         * Plugins/WebPluginController.mm:
1182         * WebView/WebFrame.mm:
1183         (-[WebFrame loadRequest:]):
1184         (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
1185
1186 2012-11-26  James Simonsen  <simonjam@chromium.org>
1187
1188         Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
1189         https://bugs.webkit.org/show_bug.cgi?id=102151
1190
1191         Reviewed by Adam Barth.
1192
1193         * Plugins/WebPluginController.mm:
1194         * WebView/WebFrame.mm:
1195         (-[WebFrame loadRequest:]):
1196         (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
1197
1198 2012-11-23  Alexis Menard  <alexis@webkit.org>
1199
1200         [CSS3 Backgrounds and Borders] Implement new CSS3 background-position parsing.
1201         https://bugs.webkit.org/show_bug.cgi?id=102104
1202
1203         Reviewed by Julien Chaffraix.
1204
1205         Protect the new feature behind a feature flag.
1206
1207         * Configurations/FeatureDefines.xcconfig:
1208
1209 2012-11-21  Allan Sandfeld Jensen  <allan.jensen@digia.com>
1210
1211         Disambiguate innerNodeFramePoint and mainFramePoint
1212         https://bugs.webkit.org/show_bug.cgi?id=98139
1213
1214         Reviewed by Julien Chaffraix.
1215
1216         Switch to using HitTestResult::innerNodeFrame and HitTestResult::innerNodeFramePoint.
1217
1218         * WebCoreSupport/WebContextMenuClient.mm:
1219         (WebContextMenuClient::showContextMenu):
1220
1221 2012-11-20  Sheriff Bot  <webkit.review.bot@gmail.com>
1222
1223         Unreviewed, rolling out r135295.
1224         http://trac.webkit.org/changeset/135295
1225         https://bugs.webkit.org/show_bug.cgi?id=102834
1226
1227         This patch causes assertion to some layout tests on chromium
1228         (Requested by jianli on #webkit).
1229
1230         * Plugins/WebPluginController.mm:
1231         * WebView/WebFrame.mm:
1232         (-[WebFrame loadRequest:]):
1233         (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
1234
1235 2012-11-20  James Simonsen  <simonjam@chromium.org>
1236
1237         Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
1238         https://bugs.webkit.org/show_bug.cgi?id=102151
1239
1240         Reviewed by Adam Barth.
1241
1242         * Plugins/WebPluginController.mm:
1243         * WebView/WebFrame.mm:
1244         (-[WebFrame loadRequest:]):
1245         (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
1246
1247 2012-11-19  Kihong Kwon  <kihong.kwon@samsung.com>
1248
1249         Add PROXIMITY_EVENTS feature
1250         https://bugs.webkit.org/show_bug.cgi?id=102658
1251
1252         Reviewed by Kentaro Hara.
1253
1254         Add PROXIMITY_EVENTS feature to xcode project for WebKit.
1255
1256         * Configurations/FeatureDefines.xcconfig:
1257
1258 2012-11-16  Tony Chang  <tony@chromium.org>
1259
1260         Remove ENABLE_CSS_HIERARCHIES since it's no longer in use
1261         https://bugs.webkit.org/show_bug.cgi?id=102554
1262
1263         Reviewed by Andreas Kling.
1264
1265         As mentioned in https://bugs.webkit.org/show_bug.cgi?id=79939#c41 ,
1266         we're going to revist this feature once additional vendor support is
1267         achieved.
1268
1269         * Configurations/FeatureDefines.xcconfig:
1270
1271 2012-11-15  Alexey Proskuryakov  <ap@apple.com>
1272
1273         Private Browsing is a per-page setting that sets a global value
1274         https://bugs.webkit.org/show_bug.cgi?id=67870
1275
1276         Reviewed by Sam Weinig.
1277
1278         * WebCoreSupport/WebFrameNetworkingContext.h:
1279         * WebCoreSupport/WebFrameNetworkingContext.mm:
1280         Moved functions for managing global sessions from WebCore.
1281
1282         * WebCoreSupport/WebPlatformStrategies.h:
1283         * WebCoreSupport/WebPlatformStrategies.mm:
1284         (WebPlatformStrategies::defaultCookieStorage): Added. Uses WebFrameNetworkingContext
1285         to reach the storage.
1286
1287         * WebView/WebPreferences.mm:
1288         (+[WebPreferences _switchNetworkLoaderToNewTestingSession]): Ditto.
1289         (+[WebPreferences _setCurrentNetworkLoaderSessionCookieAcceptPolicy:]): Ditto.
1290
1291         * WebView/WebPreferencesPrivate.h: Added a comment explaining that two functions
1292         are not generic enough for use outside DRT (one of them had "testing" in name,
1293         but another did not).
1294
1295         * WebView/WebView.mm:
1296         (-[WebView _preferencesChanged:]): Create a global private browsing session when
1297         the first view with private browsing is created, delete it when any window with
1298         it disabled is created (since this comes from preferences, it applies to all
1299         views equally, even though we are dealing with a single one here).
1300         (-[WebView _cachedResponseForURL:]): Use main frame's networking context instead of
1301         a global one.
1302
1303 2012-11-13  Timothy Hatcher  <timothy@apple.com>
1304
1305         Adjust the Web Inspector window title frame if needed to prevent it from intersecting the dock button.
1306
1307         https://bugs.webkit.org/show_bug.cgi?id=102073
1308
1309         Reviewed by Joseph Pecoraro.
1310
1311         * WebCoreSupport/WebInspectorClient.mm:
1312         (-[WebInspectorWindow _customTitleFrame]): Added. Adjust the title frame.
1313
1314 2012-11-12  Simon Fraser  <simon.fraser@apple.com>
1315
1316         Build fix after r134346 and 134347.
1317         
1318         Use frameView.isFlipped, not frameView.flipped in the assertion.
1319
1320         * WebCoreSupport/WebInspectorClient.mm:
1321         (-[WebInspectorWindowController window]):
1322
1323 2012-11-12  Timothy Hatcher  <timothy@apple.com>
1324
1325         Add a dock button to the top right corner of the Web Inspector window (similar to the full screen button).
1326
1327         https://bugs.webkit.org/show_bug.cgi?id=102025
1328
1329         Reviewed by Joseph Pecoraro.
1330
1331         * Resources/Dock.pdf: Added.
1332         * WebCoreSupport/WebInspectorClient.h:
1333         * WebCoreSupport/WebInspectorClient.mm:
1334         (-[WebInspectorWindow _cursorForResizeDirection:]): Added.
1335         (WebInspectorClient::didResizeMainFrame): Call attachAvailabilityChanged instead.
1336         (WebInspectorFrontendClient::attachAvailabilityChanged): Added.
1337         (-[WebInspectorWindowController window]): Create the dock button and add it.
1338         (-[WebInspectorWindowController attachWindow:]): Added.
1339         (-[WebInspectorWindowController attach]): Call setAttachedWindow.
1340         (-[WebInspectorWindowController detach]): Ditto.
1341         (-[WebInspectorWindowController setDockingUnavailable:]): Added. Update hidden state of the dock button.
1342
1343 2012-11-08  Timothy Hatcher  <timothy@apple.com>
1344
1345         Always use a textured window for the Web Inspector.
1346
1347         https://bugs.webkit.org/show_bug.cgi?id=101693
1348
1349         Reviewed by Joseph Pecoraro.
1350
1351         * WebCoreSupport/WebInspectorClient.mm:
1352         (-[WebInspectorWindowController window]): Removed the conditional for a textured window.
1353
1354 2012-11-08  Roger Fong  <roger_fong@apple.com>
1355
1356         Null check URL key entries into WebHistory hash table. 
1357         https://bugs.webkit.org/show_bug.cgi?id=101664
1358         <rdar://problem/12440852>
1359
1360         Reviewed by Brady Eidson.
1361         
1362         Sometimes the _entriesByURL hash table used to keep track of web history is erroneously passed in null key entries, which causes an exception to fire.
1363         This prevents the desired page navigation from taking effect. This is a workaround for the problem.
1364         Ideally we would figure out where the null values for the key are coming from but for now we'll just set it to "" to prevent the exception from being thrown
1365         so that navigation can continue as expected.
1366
1367         * History/WebHistory.mm:
1368         (-[WebHistoryPrivate visitedURL:withTitle:increaseVisitCount:]):
1369
1370 2012-11-07  Andreas Kling  <akling@apple.com>
1371
1372         Remove build-webkit dependency on Java SDK for Apple Mac WebKit.
1373         <http://webkit.org/b/101492>
1374
1375         Reviewed by Anders Carlsson.
1376
1377         * Plugins/WebJavaPlugIn.h: Removed.
1378
1379 2012-11-06  Adam Barth  <abarth@webkit.org>
1380
1381         Unreviewed attempt to fix the chromium-mac build.
1382
1383         * WebCoreSupport/WebSystemInterface.mm:
1384         (InitWebCoreSystemInterface):
1385
1386 2012-11-06  Anders Carlsson  <andersca@apple.com>
1387
1388         Update Java related WKSI function names
1389         https://bugs.webkit.org/show_bug.cgi?id=101414
1390
1391         Reviewed by Sam Weinig.
1392
1393         * WebCoreSupport/WebChromeClient.mm:
1394         (WebChromeClient::unavailablePluginButtonClicked):
1395         * WebCoreSupport/WebFrameLoaderClient.mm:
1396         (isPlugInInactive):
1397
1398 2012-11-06  Alexey Proskuryakov  <ap@apple.com>
1399
1400         Clean up which storage cookie jar functions use
1401         https://bugs.webkit.org/show_bug.cgi?id=101395
1402
1403         Reviewed by Brady Eidson.
1404
1405         * WebCoreSupport/WebSystemInterface.mm: (InitWebCoreSystemInterface): Updated for
1406         two new functions.
1407
1408 2012-11-06  Andrey Lushnikov  <lushnikov@google.com>
1409
1410         Added console.clear() method
1411
1412         Web Inspector: add console.clear()
1413         https://bugs.webkit.org/show_bug.cgi?id=101021
1414
1415         Reviewed by Vsevolod Vlasov.
1416
1417         * WebCoreSupport/WebChromeClient.mm:
1418         (stringForMessageType): Added ClearMessageType case to switch
1419
1420 2012-11-05  Alexey Proskuryakov  <ap@apple.com>
1421
1422         Get rid of setCookieStoragePrivateBrowsingEnabled.
1423         https://bugs.webkit.org/show_bug.cgi?id=101247
1424
1425         Reviewed by Brady Eidson.
1426
1427         * WebCoreSupport/WebSystemInterface.mm: (InitWebCoreSystemInterface): We no longer
1428         have this function.
1429
1430 2012-11-03  Alexey Proskuryakov  <ap@apple.com>
1431
1432         Get rid of USE(CFURLSTORAGESESSIONS)
1433         https://bugs.webkit.org/show_bug.cgi?id=101131
1434
1435         Reviewed by Sam Weinig.
1436
1437         * WebView/WebPreferences.mm:
1438         (+[WebPreferences _switchNetworkLoaderToNewTestingSession]):
1439         (+[WebPreferences _setCurrentNetworkLoaderSessionCookieAcceptPolicy:]):
1440         * WebView/WebView.mm:
1441         (-[WebView _cachedResponseForURL:]):
1442
1443 2012-11-02  Anders Carlsson  <andersca@apple.com>
1444
1445         Don't instantiate the Java plug-in if it's inactive
1446         https://bugs.webkit.org/show_bug.cgi?id=101102
1447         <rdar://problem/12595679>
1448
1449         Reviewed by Andreas Kling.
1450
1451         * WebCoreSupport/WebChromeClient.mm:
1452         (WebChromeClient::shouldUnavailablePluginMessageBeButton):
1453         The RenderEmbeddedObject::PluginInactive reason should always result in a button being shown.
1454
1455         (WebChromeClient::unavailablePluginButtonClicked):
1456         If the Java plug-in is inactive, call WKJLReportWebComponentsUsed() to reactivate the plug-in and
1457         then reload the page.
1458
1459         * WebCoreSupport/WebFrameLoaderClient.mm:
1460         (isOracleJavaPlugIn):
1461         (isPlugInInactive):
1462         Helper functions.
1463
1464         (WebFrameLoaderClient::createPlugin):
1465         If the plug-in is inactive, set the appropriate unavailability reason on the renderer.
1466
1467 2012-11-02  Simon Fraser  <simon.fraser@apple.com>
1468
1469         Enable SUBPIXEL_LAYOUT on Mac
1470         https://bugs.webkit.org/show_bug.cgi?id=101076
1471
1472         Reviewed by Dave Hyatt.
1473
1474         Define ENABLE_SUBPIXEL_LAYOUT and include it in FEATURE_DEFINES.
1475
1476         * Configurations/FeatureDefines.xcconfig:
1477
1478 2012-11-02  Adam Barth  <abarth@webkit.org>
1479
1480         ENABLE(UNDO_MANAGER) is disabled everywhere and is not under active development
1481         https://bugs.webkit.org/show_bug.cgi?id=100711
1482
1483         Reviewed by Eric Seidel.
1484
1485         * Configurations/FeatureDefines.xcconfig:
1486
1487 2012-11-01  Adam Roben  <aroben@webkit.org>
1488
1489         [WK1] Fixed-position elements jiggle up and down slightly during scrolling on a Retina display
1490         https://bugs.webkit.org/show_bug.cgi?id=100957
1491
1492         Reviewed by Simon Fraser.
1493
1494         WebCore doesn't yet support subpixel scrolling. WebKit2 forces
1495         scrolling to always be integral. Now WebKit1 forces this as well.
1496
1497         I'm not sure how to write a test for this.
1498
1499         * WebView/WebDynamicScrollBarsView.mm:
1500         (shouldRoundScrollOrigin): Returns YES if there are any position:fixed
1501         or position:sticky elements in the page.
1502         (-[WebDynamicScrollBarsView scrollClipView:toPoint:]): Round the
1503         scroll origin to the nearest pixel if needed.
1504
1505 2012-10-31  Anders Carlsson  <andersca@apple.com>
1506
1507         Fix build.
1508         <rdar://problem/12612207>.
1509
1510         Reviewed by Sam Weinig.
1511
1512         * Panels/WebAuthenticationPanel.m:
1513         (-[WebAuthenticationPanel loadNib]):
1514
1515 2012-10-30  Joseph Pecoraro  <pecoraro@apple.com>
1516
1517         [Mac] Sync up FeatureDefine Configuration Files
1518         https://bugs.webkit.org/show_bug.cgi?id=100171
1519
1520         Reviewed by David Kilzer.
1521
1522         Follow up to better coordinate with iOS feature defines. Make:
1523
1524           - ENABLE_FILTERS always on
1525           - ENABLE_INPUT_* iphonesimulator values point to the iphoneos values
1526
1527         * Configurations/FeatureDefines.xcconfig:
1528
1529 2012-10-30  Joseph Pecoraro  <pecoraro@apple.com>
1530
1531         [Mac] Sync up FeatureDefine Configuration Files
1532         https://bugs.webkit.org/show_bug.cgi?id=100171
1533
1534         Reviewed by David Kilzer.
1535
1536         Ensure an identical FeatureDefine files across all projects. Changes:
1537
1538           - ENABLE_CSS_BOX_DECORATION_BREAK should be in all
1539           - ENABLE_PDFKIT_PLUGIN should be in all
1540           - ENABLE_RESOLUTION_MEDIA_QUERY should be in all
1541           - ENABLE_ENCRYPTED_MEDIA should be in all
1542           - ENABLE_HIDDEN_PAGE_DOM_TIMER_THROTTLING with corrected value
1543           - Some alphabetical ordering cleanup
1544
1545         * Configurations/FeatureDefines.xcconfig:
1546
1547 2012-10-29  Anders Carlsson  <andersca@apple.com>
1548
1549         Build WebKit as C++11 on Mac
1550         https://bugs.webkit.org/show_bug.cgi?id=100720
1551
1552         Reviewed by Daniel Bates.
1553
1554         * Configurations/Base.xcconfig:
1555         Add CLANG_CXX_LANGUAGE_STANDARD=gnu++0x.
1556
1557         * History/WebBackForwardList.mm:
1558         (-[WebBackForwardList description]):
1559         * History/WebHistoryItem.mm:
1560         (-[WebHistoryItem description]):
1561         Add static_casts to prevent implicit type conversions in non-constant initializer lists.
1562
1563 2012-10-28  Mark Rowe  <mrowe@apple.com>
1564
1565         Simplify Xcode configuration settings that used to vary between OS versions.
1566
1567         Reviewed by Dan Bernstein.
1568
1569         * Configurations/Base.xcconfig:
1570         * Configurations/DebugRelease.xcconfig:
1571         * Configurations/WebKit.xcconfig:
1572
1573 2012-10-28  Mark Rowe  <mrowe@apple.com>
1574
1575         Remove references to unsupported OS and Xcode versions.
1576
1577         Reviewed by Anders Carlsson.
1578
1579         * Configurations/Base.xcconfig:
1580         * Configurations/CompilerVersion.xcconfig: Removed.
1581         * Configurations/DebugRelease.xcconfig:
1582         * Configurations/Version.xcconfig:
1583
1584 2012-10-29  Enrica Casucci  <enrica@apple.com>
1585
1586         Add ENABLE_USERSELECT_ALL feature flag.
1587         https://bugs.webkit.org/show_bug.cgi?id=100559
1588
1589         Reviewed by Eric Seidel.
1590
1591         * Configurations/FeatureDefines.xcconfig:
1592
1593 2012-10-27  Alexey Proskuryakov  <ap@apple.com>
1594
1595         All tests crash in WebKit1 mode
1596         https://bugs.webkit.org/show_bug.cgi?id=100602
1597
1598         Reviewed by Sam Weinig.
1599
1600         * WebView/WebView.mm: (+[WebView _setLoadResourcesSerially:]): Resource load
1601         scheduler is created via a strategy, so strategies need to be initialized before
1602         using it.
1603
1604 2012-10-27  Dan Bernstein  <mitz@apple.com>
1605
1606         REAL_PLATFORM_NAME build setting is no longer needed
1607         https://bugs.webkit.org/show_bug.cgi?id=100587
1608
1609         Reviewed by Mark Rowe.
1610
1611         Removed the definition of REAL_PLATFORM_NAME and replaced references to it with references
1612         to PLATFORM_NAME.
1613
1614         * Configurations/Base.xcconfig:
1615         * Configurations/CompilerVersion.xcconfig:
1616         * Configurations/DebugRelease.xcconfig:
1617         * Configurations/FeatureDefines.xcconfig:
1618         * Configurations/Version.xcconfig:
1619         * Configurations/WebKit.xcconfig:
1620
1621 2012-10-26  Thiago Marcos P. Santos  <thiago.santos@intel.com>
1622
1623         Add feature flags for CSS Device Adaptation
1624         https://bugs.webkit.org/show_bug.cgi?id=95960
1625
1626         Reviewed by Kenneth Rohde Christiansen.
1627
1628         * Configurations/FeatureDefines.xcconfig:
1629
1630 2012-10-25  Dominik Röttsches  <dominik.rottsches@intel.com>
1631
1632         Conditionalize XHR timeout support
1633         https://bugs.webkit.org/show_bug.cgi?id=100356
1634
1635         Reviewed by Adam Barth.
1636
1637         Adding XHR_TIMEOUT feature to conditionalize this on ports without network backend support.
1638         Defaults to ON on Mac since the Mac NSUrlConnection based backend has setTimeoutInterval support.
1639
1640         * Configurations/FeatureDefines.xcconfig:
1641
1642 2012-10-24  Timothy Hatcher  <timothy@apple.com>
1643
1644         Fix a crash seen during the Inspector tests on the WebKit1 bots.
1645
1646         Reviewed by Filip Pizlo.
1647
1648         * WebCoreSupport/WebInspectorClient.mm:
1649         (WebInspectorFrontendClient::bringToFront): Use the window from the WebView since m_windowController's window
1650         is not the same when the Inspector is docked.
1651
1652 2012-10-24  Brady Eidson  <beidson@apple.com>
1653
1654         Add a strategy for loader customization.
1655         https://bugs.webkit.org/show_bug.cgi?id=100278
1656
1657         Reviewed by Alexey Proskuryakov.
1658
1659         * WebCoreSupport/WebPlatformStrategies.h:
1660         (WebPlatformStrategies):
1661         * WebCoreSupport/WebPlatformStrategies.mm:
1662         (WebPlatformStrategies::createLoaderStrategy):
1663
1664 2012-10-24  Timothy Hatcher  <timothy@apple.com>
1665
1666         Make the Inspector WKView/WebView become the first responder when bringToFront is called.
1667
1668         https://bugs.webkit.org/show_bug.cgi?id=100209
1669
1670         Reviewed by Joseph Pecoraro.
1671
1672         * WebCoreSupport/WebInspectorClient.mm:
1673         (WebInspectorFrontendClient::bringToFront): Make the Inspector WebView become the first responder.
1674
1675 2012-10-23  Alexey Proskuryakov  <ap@apple.com>
1676
1677         Add a strategy for shared workers
1678         https://bugs.webkit.org/show_bug.cgi?id=100165
1679
1680         Reviewed by Brady Eidson.
1681
1682         * WebCoreSupport/WebPlatformStrategies.h:
1683         * WebCoreSupport/WebPlatformStrategies.mm:
1684         (WebPlatformStrategies::createPasteboardStrategy):
1685         (WebPlatformStrategies::createSharedWorkerStrategy):
1686         (WebPlatformStrategies::createVisitedLinkStrategy):
1687
1688 2012-10-24  Eric Carlson  <eric.carlson@apple.com>
1689
1690         Allow ports to override text track rendering style
1691         https://bugs.webkit.org/show_bug.cgi?id=97800
1692         <rdar://problem/12044964>
1693
1694         Reviewed by Maciej Stachowiak.
1695
1696         * WebCoreSupport/WebSystemInterface.mm:
1697         (InitWebCoreSystemInterface): Initialize new WKSI function pointers.
1698
1699 2012-10-23  Dan Bernstein  <mitz@apple.com>
1700
1701         WebKit/mac part of <rdar://problem/2966974> [mac] Kerning and ligatures are not enabled by default
1702         https://bugs.webkit.org/show_bug.cgi?id=100188
1703
1704         Reviewed by Sam Weinig.
1705
1706         * WebView/WebView.mm:
1707         (+[WebView initialize]): Added a local variable to hold the standard user defaults. Added
1708         code to register a value of YES for the WebKitKerningAndLigaturesEnabledByDefault user
1709         default. Changed to refer to that default key by name.
1710
1711 2012-10-23  Kenneth Rohde Christiansen  <kenneth@webkit.org>
1712
1713         Add support for resolution media query
1714         https://bugs.webkit.org/show_bug.cgi?id=99077
1715
1716         Reviewed by Antti Koivisto.
1717
1718         Add support for the RESOLUTION_MEDIA_QUERY feature flag.
1719
1720         * Configurations/FeatureDefines.xcconfig:
1721
1722 2012-10-21  Andreas Kling  <kling@webkit.org>
1723
1724         Remove Page::javaScriptURLsAreAllowed setting.
1725         <http://webkit.org/b/99944>
1726
1727         Reviewed by Anders Carlsson.
1728
1729         * WebKit.order:
1730         * WebView/WebView.mm:
1731         * WebView/WebViewPrivate.h:
1732
1733 2012-10-19  Dongwoo Joshua Im  <dw.im@samsung.com>
1734
1735         Rename ENABLE_CSS3_TEXT_DECORATION to ENABLE_CSS3_TEXT
1736         https://bugs.webkit.org/show_bug.cgi?id=99804
1737
1738         Reviewed by Julien Chaffraix.
1739
1740         CSS3 text related properties will be implemented under this flag,
1741         including text decoration, text-align-last, and text-justify.
1742
1743         * Configurations/FeatureDefines.xcconfig:
1744
1745 2012-10-18  Pablo Flouret  <pablof@motorola.com>
1746
1747         Implement css3-conditional's @supports rule
1748         https://bugs.webkit.org/show_bug.cgi?id=86146
1749
1750         Reviewed by Antti Koivisto.
1751
1752         * Configurations/FeatureDefines.xcconfig:
1753             Add an ENABLE_CSS3_CONDITIONAL_RULES flag.
1754
1755 2012-10-17  Joseph Pecoraro  <pecoraro@apple.com>
1756
1757         [Mac] Uninitialized Members in WebDataSourcePrivate
1758         https://bugs.webkit.org/show_bug.cgi?id=99617
1759
1760         Reviewed by David Kilzer.
1761
1762         Initialize BOOL member variables.
1763
1764         * WebView/WebDataSource.mm:
1765         (WebDataSourcePrivate::WebDataSourcePrivate):
1766
1767 2012-10-17  Mark Rowe  <mrowe@apple.com>
1768
1769         Fix the build with a newer version of clang.
1770
1771         Reviewed by Dan Bernstein.
1772
1773         Some of the methods in WebCoreStatistics appear to have been added by someone not familiar with Objective-C.
1774         While it's technically valid to have empty components in a selector, it's rarely done and is not consistent
1775         with our style guidelines. In this particular case it's also done in such a manner that it's ambiguous and
1776         therefore generates a warning in newer versions of the compiler.
1777
1778         Fixes <rdar://problem/12503709>.
1779
1780         * Misc/WebCoreStatistics.h: Remove unused methods and rename the two poorly-named methods that remain.
1781         * Misc/WebCoreStatistics.mm: Ditto.
1782         (-[WebFrame numberOfPagesWithPageWidth:pageHeight:]):
1783         (-[WebFrame printToCGContext:pageWidth:pageHeight:]):
1784
1785 2012-10-16  Jian Li  <jianli@chromium.org>
1786
1787         Rename feature define ENABLE_WIDGET_REGION to ENABLE_DRAGGBALE_REGION
1788         https://bugs.webkit.org/show_bug.cgi?id=98975
1789
1790         Reviewed by Adam Barth.
1791
1792         Renaming is needed to better match with the draggable region code.
1793
1794         * Configurations/FeatureDefines.xcconfig:
1795
1796 2012-10-15  Dan Bernstein  <mitz@apple.com>
1797
1798         WebKit/mac part of <rdar://problem/12470680> Font’s fast code path doesn’t support kerning and ligatures
1799         https://bugs.webkit.org/show_bug.cgi?id=99113
1800
1801         Reviewed by Tim Horton.
1802
1803         * WebCoreSupport/WebSystemInterface.mm:
1804         (InitWebCoreSystemInterface): Added wkCTFontTransformGlyphs.
1805
1806 2012-10-15  David Kilzer  <ddkilzer@apple.com>
1807
1808         Move framework and library linking into WebKit.xcconfig
1809         <http://webkit.org/b/99284>
1810
1811         Reviewed by Mark Rowe.
1812
1813         * Configurations/WebKit.xcconfig: Move frameworks and libraries
1814         link flags to OTHER_LDFLAGS so that they work for iOS and OS X.
1815
1816 2012-10-14  Jon Lee  <jonlee@apple.com>
1817
1818         Allow notification origin permission request when no js callback is provided
1819         https://bugs.webkit.org/show_bug.cgi?id=63615
1820         <rdar://problem/11059590>
1821
1822         Reviewed by Sam Weinig.
1823
1824         Introduce a boolean to determine whether the request was using the legacy or standard API. This way,
1825         we do not fall through to calling the standard API's callback if the legacy API's callback is null.
1826
1827         * WebCoreSupport/WebNotificationClient.mm:
1828         (WebCore):
1829         (-[WebNotificationPolicyListener initWithVoidCallback:]):
1830         (-[WebNotificationPolicyListener allow]):
1831         (-[WebNotificationPolicyListener deny]):
1832
1833 2012-10-14  Sam Weinig  <sam@webkit.org>
1834
1835         Make UserScript and UserStyleSheet value objects that are copyable
1836         https://bugs.webkit.org/show_bug.cgi?id=99275
1837
1838         Reviewed by Tim Horton.
1839
1840         * WebView/WebView.mm:
1841         (-[WebView _injectMailQuirksScript]):
1842         (-[WebView _injectOutlookQuirksScript]):
1843         Update for new PageGroup function signatures.
1844
1845 2012-10-10  Brady Eidson  <beidson@apple.com>
1846
1847         Switch ResourceLoader::resourceData() from SharedBuffer to ResourceBuffer
1848         https://bugs.webkit.org/show_bug.cgi?id=98976
1849
1850         Reviewed by Anders Carlsson.
1851
1852         * WebView/WebDataSource.mm:
1853         (-[WebDataSource data]):
1854
1855 2012-10-10  Jer Noble  <jer.noble@apple.com>
1856
1857         Disallow full screen mode keyboard access by default.
1858         https://bugs.webkit.org/show_bug.cgi?id=98971
1859         <rdar://problem/12474226>
1860
1861         Reviewed by Sam Weinig.
1862
1863         Only support full screen if keyboard access is not requested.
1864
1865         * WebView/WebView.mm:
1866         (-[WebView _supportsFullScreenForElement:WebCore::withKeyboard:]):
1867
1868 2012-10-10  Jon Lee  <jonlee@apple.com>
1869
1870         [WK2] Activate plugins when user clicks on snapshot
1871         https://bugs.webkit.org/show_bug.cgi?id=98328
1872         <rdar://problem/12426681>
1873
1874         Reviewed by Brady Eidson.
1875
1876         * WebCoreSupport/WebFrameLoaderClient.h:
1877         * WebCoreSupport/WebFrameLoaderClient.mm:
1878         (WebFrameLoaderClient::recreatePlugin): Stub implementation of recreatePlugin().
1879
1880 2012-10-10  Brady Eidson  <beidson@apple.com>
1881
1882         Switch CachedResource over from SharedBuffer to a new ResourceBuffer
1883         https://bugs.webkit.org/show_bug.cgi?id=98541
1884
1885         Reviewed by Anders Carlsson.
1886
1887         * WebView/WebHTMLView.mm:
1888         (-[WebHTMLView namesOfPromisedFilesDroppedAtDestination:]):
1889
1890 2012-10-10  Simon Fraser  <simon.fraser@apple.com>
1891
1892         Store a visible rect in GraphicsLayers, and optionally dump it in layerTreeAsText
1893         https://bugs.webkit.org/show_bug.cgi?id=98839
1894
1895         Reviewed by Sam Weinig.
1896
1897         To replace CATiledLayer with TileCaches, we need to be able to compute the visible part of a GraphicsLayer,
1898         in order to limit the extent of TileCache tiles. Reuse the existing code in GraphicsLayerCA for this,
1899         but store the computed rect in m_visibleRect.
1900         
1901         Add a flag to layerTreeAsText() so that tests can optionally include this visible rect in
1902         layer tree dumps. This output will be platform-specific, so we don't want to do it unconditionally.
1903
1904         * WebView/WebFrame.mm:
1905         (-[WebFrame _layerTreeAsText]):
1906
1907 2012-10-09  Jian Li  <jianli@chromium.org>
1908
1909         Update the CSS property used to support draggable regions.
1910         https://bugs.webkit.org/show_bug.cgi?id=97156
1911
1912         Reviewed by Adam Barth.
1913
1914         The CSS property to support draggable regions, guarded under
1915         WIDGET_REGION is now disabled from Mac WebKit, in order not to cause
1916         confusion with DASHBOARD_SUPPORT feature.
1917
1918         Also update the code to use the new name annotatedRegions to work for
1919         both features.
1920
1921         * Configurations/FeatureDefines.xcconfig: Disable WIDGET_REGION feature.
1922         * WebCoreSupport/WebChromeClient.h: Rename dashboardRegions to annotatedRegions.
1923         * WebCoreSupport/WebChromeClient.mm: Rename dashboardRegions to annotatedRegions.
1924         (WebChromeClient::annotatedRegionsChanged):
1925         * WebView/WebView.mm: Rename dashboardRegions to annotatedRegions.
1926         (-[WebView _dashboardRegions]):
1927
1928 2012-10-09  Sheriff Bot  <webkit.review.bot@gmail.com>
1929
1930         Unreviewed, rolling out r130811 and r130821.
1931         http://trac.webkit.org/changeset/130811
1932         http://trac.webkit.org/changeset/130821
1933         https://bugs.webkit.org/show_bug.cgi?id=98831
1934
1935         Broke date-suggestion-picker-appearance-with-scroll-bar.html
1936         (Requested by abarth|gardening on #webkit).
1937
1938         * WebView/WebFullScreenController.mm:
1939         (screenRectOfContents):
1940         * WebView/WebRenderNode.mm:
1941         (copyRenderNode):
1942
1943 2012-10-08  Kiran Muppala  <cmuppala@apple.com>
1944
1945         Throttle DOM timers on hidden pages.
1946         https://bugs.webkit.org/show_bug.cgi?id=98474
1947
1948         Reviewed by Maciej Stachowiak.
1949
1950         Add HIDDEN_PAGE_DOM_TIMER_THROTTLING feature define and provide a SPI for
1951         DumpRenderTree to modify the visibility state of a page.  The latter
1952         is needed to test throttling of timers on hidden pages through DumpRenderTree.
1953
1954         * Configurations/FeatureDefines.xcconfig:
1955         * WebView/WebView.mm:
1956         (-[WebView _setVisibilityState:isInitialState:]):
1957         * WebView/WebViewPrivate.h:
1958
1959 2012-10-07  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
1960
1961         Rename first/second to key/value in HashMap iterators
1962         https://bugs.webkit.org/show_bug.cgi?id=82784
1963
1964         Reviewed by Eric Seidel.
1965
1966         * History/WebHistory.mm:
1967         (-[WebHistoryPrivate removeItemFromDateCaches:]):
1968         (-[WebHistoryPrivate orderedLastVisitedDays]):
1969         (WebHistoryWriter::WebHistoryWriter):
1970         * Misc/WebCoreStatistics.mm:
1971         (+[WebCoreStatistics javaScriptProtectedObjectTypeCounts]):
1972         (+[WebCoreStatistics javaScriptObjectTypeCounts]):
1973         * Plugins/Hosted/NetscapePluginHostManager.mm:
1974         (WebKit::NetscapePluginHostManager::hostForPlugin):
1975         (WebKit::NetscapePluginHostManager::pluginHostDied):
1976         (WebKit::NetscapePluginHostManager::didCreateWindow):
1977         * Plugins/Hosted/NetscapePluginHostProxy.mm:
1978         (WebKit::NetscapePluginHostProxy::pluginHostDied):
1979         * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
1980         (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::idForObject):
1981         (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::retain):
1982         (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::release):
1983         (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::forget):
1984         (WebKit::NetscapePluginInstanceProxy::destroy):
1985         (WebKit::NetscapePluginInstanceProxy::webFrameDidFinishLoadWithReason):
1986         (WebKit::NetscapePluginInstanceProxy::cancelCheckIfAllowedToLoadURL):
1987         * Plugins/Hosted/ProxyInstance.mm:
1988         (WebKit::ProxyInstance::methodNamed):
1989         (WebKit::ProxyInstance::fieldNamed):
1990         * Plugins/WebNetscapePluginView.mm:
1991         (-[WebNetscapePluginView stopTimers]):
1992         (-[WebNetscapePluginView startTimers]):
1993         * WebCoreSupport/WebNotificationClient.mm:
1994         (WebNotificationClient::show):
1995         (WebNotificationClient::clearNotifications):
1996         (WebNotificationClient::notificationObjectDestroyed):
1997         * WebView/WebHTMLView.mm:
1998         (commandNameForSelector):
1999
2000 2012-10-06  Dan Bernstein  <mitz@apple.com>
2001
2002         WebKit/mac part of <rdar://problem/12446507> [mac] WebKit clients cannot change the behavior of text-rendering: auto
2003         https://bugs.webkit.org/show_bug.cgi?id=98601
2004
2005         Reviewed by Darin Adler.
2006
2007         * WebView/WebView.mm:
2008         (+[WebView initialize]): Added a call to Font::setDefaultTypesettingFeatures() to enable
2009         kerning and ligatures if the WebKitKerningAndLigaturesEnabledByDefault user default key has
2010         the value YES.
2011
2012 2012-10-05  Sheriff Bot  <webkit.review.bot@gmail.com>
2013
2014         Unreviewed, rolling out r130556 and r130564.
2015         http://trac.webkit.org/changeset/130556
2016         http://trac.webkit.org/changeset/130564
2017         https://bugs.webkit.org/show_bug.cgi?id=98572
2018
2019         The patch wasn't reviewed by a reviewer and it is breaking
2020         Chromium Windows (Requested by jchaffraix on #webkit).
2021
2022         * WebCoreSupport/WebSystemInterface.mm:
2023         (InitWebCoreSystemInterface):
2024
2025 2012-10-05  Tim Horton  <timothy_horton@apple.com>
2026
2027         [cg] GraphicsContextCG should ask CG whether the shadow offset workaround is required
2028         https://bugs.webkit.org/show_bug.cgi?id=98565
2029         <rdar://problem/12436468>
2030
2031         Reviewed by Simon Fraser.
2032
2033         Add wkCGContextDrawsWithCorrectShadowOffsets.
2034
2035         * WebCoreSupport/WebSystemInterface.mm:
2036         (InitWebCoreSystemInterface):
2037
2038 2012-10-04  Eric Carlson  <eric.carlson@apple.com>
2039
2040         Allow ports to override text track rendering style
2041         https://bugs.webkit.org/show_bug.cgi?id=97800
2042         <rdar://problem/12044964>
2043
2044         Reviewed by Silvia Pfeiffer.
2045
2046         Add WCSI support for new WKSI caption functions.
2047
2048         * WebCoreSupport/WebSystemInterface.mm:
2049         (InitWebCoreSystemInterface): Initialize new WKSI function pointers.
2050
2051 2012-10-04  Jon Lee  <jonlee@apple.com>
2052
2053         Add a setting to enable plugin snapshotting
2054         https://bugs.webkit.org/show_bug.cgi?id=98319
2055         <rdar://problem/12426480>
2056
2057         Reviewed by Brady Eidson.
2058
2059         Expose plugInSnapshottingEnabled preference to WebKit clients.
2060
2061         * WebView/WebPreferenceKeysPrivate.h: Add WebKitPlugInSnapshottingEnabled key.
2062         * WebView/WebPreferences.mm:
2063         (+[WebPreferences initialize]): Setting is turned off by default.
2064         (-[WebPreferences plugInSnapshottingEnabled]):
2065         (-[WebPreferences setPlugInSnapshottingEnabled:]):
2066         * WebView/WebPreferencesPrivate.h:
2067         * WebView/WebView.mm:
2068         (-[WebView _preferencesChanged:]): Update settings based on preference.
2069
2070 2012-10-04  Rik Cabanier  <cabanier@adobe.com>
2071
2072         Turn Compositing on by default in WebKit build
2073         https://bugs.webkit.org/show_bug.cgi?id=98315
2074
2075         Reviewed by Simon Fraser.
2076
2077         enable -webkit-blend-mode on trunk.
2078
2079         * Configurations/FeatureDefines.xcconfig:
2080
2081 2012-10-04  Simon Fraser  <simon.fraser@apple.com>
2082
2083         Final part of "sync" to "flush" renaming
2084         https://bugs.webkit.org/show_bug.cgi?id=98430
2085
2086         Reviewed by Tim Horton.
2087
2088         Change method names on GraphicsLayer and GraphicsLayerClient that
2089         refer to "sync" to use the term "flush" instead, to be consistent
2090         with the rest of the code.
2091
2092         * WebView/WebView.mm:
2093
2094 2012-10-03  Benjamin Poulain  <bpoulain@apple.com>
2095
2096         [WK2] Support all attributes of GeolocationPosition
2097         https://bugs.webkit.org/show_bug.cgi?id=98212
2098
2099         Reviewed by Sam Weinig.
2100
2101         Add an internal constructor for the sake of testing.
2102         A similar API is used on iOS.
2103
2104         * WebView/WebGeolocationPosition.mm:
2105         (-[WebGeolocationPosition initWithGeolocationPosition:]):
2106
2107 2012-10-04  Simon Fraser  <simon.fraser@apple.com>
2108
2109         Standardize on "flush" terminology for compositing layer flushing/syncing
2110         https://bugs.webkit.org/show_bug.cgi?id=98321
2111
2112         Reviewed by Simon Fraser.
2113
2114         Rename compositing-related methods that refer to "syncing" to instead
2115         refer to "flushing".
2116
2117         * WebCoreSupport/WebChromeClient.h:
2118         * WebCoreSupport/WebChromeClient.mm:
2119         (WebChromeClient::scheduleCompositingLayerFlush):
2120         * WebView/WebView.mm:
2121         (-[WebView _flushCompositingChanges]):
2122         (LayerFlushController::flushLayers):
2123         (-[WebView _scheduleCompositingLayerFlush]):
2124         * WebView/WebViewInternal.h:
2125
2126 == Rolled over to ChangeLog-2012-10-02 ==