blob: 86f91b3007a6687d56d5bfe4c6a64fbbb3a12485 [file] [log] [blame]
allan.jensen@digia.comaf418fd2012-11-21 15:45:42 +000012012-11-21 Allan Sandfeld Jensen <allan.jensen@digia.com>
2
3 Disambiguate innerNodeFramePoint and mainFramePoint
4 https://bugs.webkit.org/show_bug.cgi?id=98139
5
6 Reviewed by Julien Chaffraix.
7
8 Switch to using HitTestResult::innerNodeFrame and HitTestResult::innerNodeFramePoint.
9
10 * WebCoreSupport/WebContextMenuClient.mm:
11 (WebContextMenuClient::showContextMenu):
12
commit-queue@webkit.orgcee39322012-11-20 22:08:37 +0000132012-11-20 Sheriff Bot <webkit.review.bot@gmail.com>
14
15 Unreviewed, rolling out r135295.
16 http://trac.webkit.org/changeset/135295
17 https://bugs.webkit.org/show_bug.cgi?id=102834
18
19 This patch causes assertion to some layout tests on chromium
20 (Requested by jianli on #webkit).
21
22 * Plugins/WebPluginController.mm:
23 * WebView/WebFrame.mm:
24 (-[WebFrame loadRequest:]):
25 (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
26
simonjam@chromium.orge0ac21d2012-11-20 18:30:34 +0000272012-11-20 James Simonsen <simonjam@chromium.org>
28
29 Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
30 https://bugs.webkit.org/show_bug.cgi?id=102151
31
32 Reviewed by Adam Barth.
33
34 * Plugins/WebPluginController.mm:
35 * WebView/WebFrame.mm:
36 (-[WebFrame loadRequest:]):
37 (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
38
kihong.kwon@samsung.com9ed51c52012-11-19 15:42:53 +0000392012-11-19 Kihong Kwon <kihong.kwon@samsung.com>
40
41 Add PROXIMITY_EVENTS feature
42 https://bugs.webkit.org/show_bug.cgi?id=102658
43
44 Reviewed by Kentaro Hara.
45
46 Add PROXIMITY_EVENTS feature to xcode project for WebKit.
47
48 * Configurations/FeatureDefines.xcconfig:
49
tony@chromium.orgc4e04ba2012-11-16 23:59:24 +0000502012-11-16 Tony Chang <tony@chromium.org>
51
52 Remove ENABLE_CSS_HIERARCHIES since it's no longer in use
53 https://bugs.webkit.org/show_bug.cgi?id=102554
54
55 Reviewed by Andreas Kling.
56
57 As mentioned in https://bugs.webkit.org/show_bug.cgi?id=79939#c41 ,
58 we're going to revist this feature once additional vendor support is
59 achieved.
60
61 * Configurations/FeatureDefines.xcconfig:
62
ap@apple.com9ffc45d2012-11-16 17:46:50 +0000632012-11-15 Alexey Proskuryakov <ap@apple.com>
64
65 Private Browsing is a per-page setting that sets a global value
66 https://bugs.webkit.org/show_bug.cgi?id=67870
67
68 Reviewed by Sam Weinig.
69
70 * WebCoreSupport/WebFrameNetworkingContext.h:
71 * WebCoreSupport/WebFrameNetworkingContext.mm:
72 Moved functions for managing global sessions from WebCore.
73
74 * WebCoreSupport/WebPlatformStrategies.h:
75 * WebCoreSupport/WebPlatformStrategies.mm:
76 (WebPlatformStrategies::defaultCookieStorage): Added. Uses WebFrameNetworkingContext
77 to reach the storage.
78
79 * WebView/WebPreferences.mm:
80 (+[WebPreferences _switchNetworkLoaderToNewTestingSession]): Ditto.
81 (+[WebPreferences _setCurrentNetworkLoaderSessionCookieAcceptPolicy:]): Ditto.
82
83 * WebView/WebPreferencesPrivate.h: Added a comment explaining that two functions
84 are not generic enough for use outside DRT (one of them had "testing" in name,
85 but another did not).
86
87 * WebView/WebView.mm:
88 (-[WebView _preferencesChanged:]): Create a global private browsing session when
89 the first view with private browsing is created, delete it when any window with
90 it disabled is created (since this comes from preferences, it applies to all
91 views equally, even though we are dealing with a single one here).
92 (-[WebView _cachedResponseForURL:]): Use main frame's networking context instead of
93 a global one.
94
timothy@apple.com15244632012-11-13 21:10:37 +0000952012-11-13 Timothy Hatcher <timothy@apple.com>
96
97 Adjust the Web Inspector window title frame if needed to prevent it from intersecting the dock button.
98
99 https://bugs.webkit.org/show_bug.cgi?id=102073
100
101 Reviewed by Joseph Pecoraro.
102
103 * WebCoreSupport/WebInspectorClient.mm:
104 (-[WebInspectorWindow _customTitleFrame]): Added. Adjust the title frame.
105
simon.fraser@apple.combe6d5832012-11-13 04:55:49 +00001062012-11-12 Simon Fraser <simon.fraser@apple.com>
107
108 Build fix after r134346 and 134347.
109
110 Use frameView.isFlipped, not frameView.flipped in the assertion.
111
112 * WebCoreSupport/WebInspectorClient.mm:
113 (-[WebInspectorWindowController window]):
114
timothy@apple.com34e8d4b2012-11-13 04:05:18 +00001152012-11-12 Timothy Hatcher <timothy@apple.com>
116
117 Add a dock button to the top right corner of the Web Inspector window (similar to the full screen button).
118
119 https://bugs.webkit.org/show_bug.cgi?id=102025
120
121 Reviewed by Joseph Pecoraro.
122
123 * Resources/Dock.pdf: Added.
124 * WebCoreSupport/WebInspectorClient.h:
125 * WebCoreSupport/WebInspectorClient.mm:
126 (-[WebInspectorWindow _cursorForResizeDirection:]): Added.
127 (WebInspectorClient::didResizeMainFrame): Call attachAvailabilityChanged instead.
128 (WebInspectorFrontendClient::attachAvailabilityChanged): Added.
129 (-[WebInspectorWindowController window]): Create the dock button and add it.
130 (-[WebInspectorWindowController attachWindow:]): Added.
131 (-[WebInspectorWindowController attach]): Call setAttachedWindow.
132 (-[WebInspectorWindowController detach]): Ditto.
133 (-[WebInspectorWindowController setDockingUnavailable:]): Added. Update hidden state of the dock button.
134
timothy@apple.com25c40e22012-11-09 06:46:47 +00001352012-11-08 Timothy Hatcher <timothy@apple.com>
136
137 Always use a textured window for the Web Inspector.
138
139 https://bugs.webkit.org/show_bug.cgi?id=101693
140
141 Reviewed by Joseph Pecoraro.
142
143 * WebCoreSupport/WebInspectorClient.mm:
144 (-[WebInspectorWindowController window]): Removed the conditional for a textured window.
145
roger_fong@apple.comd77093c2012-11-09 01:20:29 +00001462012-11-08 Roger Fong <roger_fong@apple.com>
147
148 Null check URL key entries into WebHistory hash table.
149 https://bugs.webkit.org/show_bug.cgi?id=101664
150 <rdar://problem/12440852>
151
152 Reviewed by Brady Eidson.
153
154 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.
155 This prevents the desired page navigation from taking effect. This is a workaround for the problem.
156 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
157 so that navigation can continue as expected.
158
159 * History/WebHistory.mm:
160 (-[WebHistoryPrivate visitedURL:withTitle:increaseVisitCount:]):
161
commit-queue@webkit.org3159a612012-11-07 21:10:11 +00001622012-11-07 Andreas Kling <akling@apple.com>
163
164 Remove build-webkit dependency on Java SDK for Apple Mac WebKit.
165 <http://webkit.org/b/101492>
166
167 Reviewed by Anders Carlsson.
168
169 * Plugins/WebJavaPlugIn.h: Removed.
170
abarth@webkit.orgb0b75d22012-11-07 05:28:47 +00001712012-11-06 Adam Barth <abarth@webkit.org>
172
173 Unreviewed attempt to fix the chromium-mac build.
174
175 * WebCoreSupport/WebSystemInterface.mm:
176 (InitWebCoreSystemInterface):
177
andersca@apple.com3a222ba2012-11-07 01:58:54 +00001782012-11-06 Anders Carlsson <andersca@apple.com>
179
180 Update Java related WKSI function names
181 https://bugs.webkit.org/show_bug.cgi?id=101414
182
183 Reviewed by Sam Weinig.
184
185 * WebCoreSupport/WebChromeClient.mm:
186 (WebChromeClient::unavailablePluginButtonClicked):
187 * WebCoreSupport/WebFrameLoaderClient.mm:
188 (isPlugInInactive):
189
ap@apple.com165592b2012-11-07 00:41:30 +00001902012-11-06 Alexey Proskuryakov <ap@apple.com>
191
192 Clean up which storage cookie jar functions use
193 https://bugs.webkit.org/show_bug.cgi?id=101395
194
195 Reviewed by Brady Eidson.
196
197 * WebCoreSupport/WebSystemInterface.mm: (InitWebCoreSystemInterface): Updated for
198 two new functions.
199
commit-queue@webkit.org8e628312012-11-06 16:14:27 +00002002012-11-06 Andrey Lushnikov <lushnikov@google.com>
201
202 Added console.clear() method
203
204 Web Inspector: add console.clear()
205 https://bugs.webkit.org/show_bug.cgi?id=101021
206
207 Reviewed by Vsevolod Vlasov.
208
209 * WebCoreSupport/WebChromeClient.mm:
210 (stringForMessageType): Added ClearMessageType case to switch
211
ap@apple.com37986302012-11-05 22:07:46 +00002122012-11-05 Alexey Proskuryakov <ap@apple.com>
213
214 Get rid of setCookieStoragePrivateBrowsingEnabled.
215 https://bugs.webkit.org/show_bug.cgi?id=101247
216
217 Reviewed by Brady Eidson.
218
219 * WebCoreSupport/WebSystemInterface.mm: (InitWebCoreSystemInterface): We no longer
220 have this function.
221
ap@apple.comc5d6a752012-11-04 00:35:30 +00002222012-11-03 Alexey Proskuryakov <ap@apple.com>
223
224 Get rid of USE(CFURLSTORAGESESSIONS)
225 https://bugs.webkit.org/show_bug.cgi?id=101131
226
227 Reviewed by Sam Weinig.
228
229 * WebView/WebPreferences.mm:
230 (+[WebPreferences _switchNetworkLoaderToNewTestingSession]):
231 (+[WebPreferences _setCurrentNetworkLoaderSessionCookieAcceptPolicy:]):
232 * WebView/WebView.mm:
233 (-[WebView _cachedResponseForURL:]):
234
andersca@apple.comad480cf2012-11-02 23:39:33 +00002352012-11-02 Anders Carlsson <andersca@apple.com>
236
237 Don't instantiate the Java plug-in if it's inactive
238 https://bugs.webkit.org/show_bug.cgi?id=101102
239 <rdar://problem/12595679>
240
241 Reviewed by Andreas Kling.
242
243 * WebCoreSupport/WebChromeClient.mm:
244 (WebChromeClient::shouldUnavailablePluginMessageBeButton):
245 The RenderEmbeddedObject::PluginInactive reason should always result in a button being shown.
246
247 (WebChromeClient::unavailablePluginButtonClicked):
248 If the Java plug-in is inactive, call WKJLReportWebComponentsUsed() to reactivate the plug-in and
249 then reload the page.
250
251 * WebCoreSupport/WebFrameLoaderClient.mm:
252 (isOracleJavaPlugIn):
253 (isPlugInInactive):
254 Helper functions.
255
256 (WebFrameLoaderClient::createPlugin):
257 If the plug-in is inactive, set the appropriate unavailability reason on the renderer.
258
simon.fraser@apple.com2396f372012-11-02 21:35:02 +00002592012-11-02 Simon Fraser <simon.fraser@apple.com>
260
261 Enable SUBPIXEL_LAYOUT on Mac
262 https://bugs.webkit.org/show_bug.cgi?id=101076
263
264 Reviewed by Dave Hyatt.
265
266 Define ENABLE_SUBPIXEL_LAYOUT and include it in FEATURE_DEFINES.
267
268 * Configurations/FeatureDefines.xcconfig:
269
abarth@webkit.org3df3cc92012-11-02 19:01:01 +00002702012-11-02 Adam Barth <abarth@webkit.org>
271
272 ENABLE(UNDO_MANAGER) is disabled everywhere and is not under active development
273 https://bugs.webkit.org/show_bug.cgi?id=100711
274
275 Reviewed by Eric Seidel.
276
277 * Configurations/FeatureDefines.xcconfig:
278
aroben@webkit.orgaef47702012-11-01 20:57:46 +00002792012-11-01 Adam Roben <aroben@webkit.org>
280
281 [WK1] Fixed-position elements jiggle up and down slightly during scrolling on a Retina display
282 https://bugs.webkit.org/show_bug.cgi?id=100957
283
284 Reviewed by Simon Fraser.
285
286 WebCore doesn't yet support subpixel scrolling. WebKit2 forces
287 scrolling to always be integral. Now WebKit1 forces this as well.
288
289 I'm not sure how to write a test for this.
290
291 * WebView/WebDynamicScrollBarsView.mm:
292 (shouldRoundScrollOrigin): Returns YES if there are any position:fixed
293 or position:sticky elements in the page.
294 (-[WebDynamicScrollBarsView scrollClipView:toPoint:]): Round the
295 scroll origin to the nearest pixel if needed.
296
andersca@apple.coma50f5292012-11-01 01:59:46 +00002972012-10-31 Anders Carlsson <andersca@apple.com>
298
299 Fix build.
300 <rdar://problem/12612207>.
301
302 Reviewed by Sam Weinig.
303
304 * Panels/WebAuthenticationPanel.m:
305 (-[WebAuthenticationPanel loadNib]):
306
joepeck@webkit.org9848b5f2012-10-30 23:24:19 +00003072012-10-30 Joseph Pecoraro <pecoraro@apple.com>
308
309 [Mac] Sync up FeatureDefine Configuration Files
310 https://bugs.webkit.org/show_bug.cgi?id=100171
311
312 Reviewed by David Kilzer.
313
joepeck@webkit.org48adea12012-10-30 23:50:46 +0000314 Follow up to better coordinate with iOS feature defines. Make:
315
316 - ENABLE_FILTERS always on
317 - ENABLE_INPUT_* iphonesimulator values point to the iphoneos values
318
319 * Configurations/FeatureDefines.xcconfig:
320
3212012-10-30 Joseph Pecoraro <pecoraro@apple.com>
322
323 [Mac] Sync up FeatureDefine Configuration Files
324 https://bugs.webkit.org/show_bug.cgi?id=100171
325
326 Reviewed by David Kilzer.
327
joepeck@webkit.org9848b5f2012-10-30 23:24:19 +0000328 Ensure an identical FeatureDefine files across all projects. Changes:
329
330 - ENABLE_CSS_BOX_DECORATION_BREAK should be in all
331 - ENABLE_PDFKIT_PLUGIN should be in all
332 - ENABLE_RESOLUTION_MEDIA_QUERY should be in all
333 - ENABLE_ENCRYPTED_MEDIA should be in all
334 - ENABLE_HIDDEN_PAGE_DOM_TIMER_THROTTLING with corrected value
335 - Some alphabetical ordering cleanup
336
337 * Configurations/FeatureDefines.xcconfig:
338
andersca@apple.com3c8717b2012-10-30 18:07:13 +00003392012-10-29 Anders Carlsson <andersca@apple.com>
340
341 Build WebKit as C++11 on Mac
342 https://bugs.webkit.org/show_bug.cgi?id=100720
343
344 Reviewed by Daniel Bates.
345
346 * Configurations/Base.xcconfig:
347 Add CLANG_CXX_LANGUAGE_STANDARD=gnu++0x.
348
349 * History/WebBackForwardList.mm:
350 (-[WebBackForwardList description]):
351 * History/WebHistoryItem.mm:
352 (-[WebHistoryItem description]):
353 Add static_casts to prevent implicit type conversions in non-constant initializer lists.
354
mrowe@apple.com5b132012012-10-29 23:35:56 +00003552012-10-28 Mark Rowe <mrowe@apple.com>
356
mrowe@apple.comfb7aaa432012-10-29 23:36:03 +0000357 Simplify Xcode configuration settings that used to vary between OS versions.
358
359 Reviewed by Dan Bernstein.
360
361 * Configurations/Base.xcconfig:
362 * Configurations/DebugRelease.xcconfig:
363 * Configurations/WebKit.xcconfig:
364
3652012-10-28 Mark Rowe <mrowe@apple.com>
366
mrowe@apple.com5b132012012-10-29 23:35:56 +0000367 Remove references to unsupported OS and Xcode versions.
368
369 Reviewed by Anders Carlsson.
370
371 * Configurations/Base.xcconfig:
372 * Configurations/CompilerVersion.xcconfig: Removed.
373 * Configurations/DebugRelease.xcconfig:
374 * Configurations/Version.xcconfig:
375
enrica@apple.comae9b0992012-10-29 17:10:19 +00003762012-10-29 Enrica Casucci <enrica@apple.com>
377
378 Add ENABLE_USERSELECT_ALL feature flag.
379 https://bugs.webkit.org/show_bug.cgi?id=100559
380
381 Reviewed by Eric Seidel.
382
383 * Configurations/FeatureDefines.xcconfig:
384
ap@apple.com17d35052012-10-28 06:10:56 +00003852012-10-27 Alexey Proskuryakov <ap@apple.com>
386
387 All tests crash in WebKit1 mode
388 https://bugs.webkit.org/show_bug.cgi?id=100602
389
390 Reviewed by Sam Weinig.
391
392 * WebView/WebView.mm: (+[WebView _setLoadResourcesSerially:]): Resource load
393 scheduler is created via a strategy, so strategies need to be initialized before
394 using it.
395
mitz@apple.comba174332012-10-27 16:14:53 +00003962012-10-27 Dan Bernstein <mitz@apple.com>
397
398 REAL_PLATFORM_NAME build setting is no longer needed
399 https://bugs.webkit.org/show_bug.cgi?id=100587
400
401 Reviewed by Mark Rowe.
402
403 Removed the definition of REAL_PLATFORM_NAME and replaced references to it with references
404 to PLATFORM_NAME.
405
406 * Configurations/Base.xcconfig:
407 * Configurations/CompilerVersion.xcconfig:
408 * Configurations/DebugRelease.xcconfig:
409 * Configurations/FeatureDefines.xcconfig:
410 * Configurations/Version.xcconfig:
411 * Configurations/WebKit.xcconfig:
412
commit-queue@webkit.orgb885adc2012-10-26 10:20:33 +00004132012-10-26 Thiago Marcos P. Santos <thiago.santos@intel.com>
414
415 Add feature flags for CSS Device Adaptation
416 https://bugs.webkit.org/show_bug.cgi?id=95960
417
418 Reviewed by Kenneth Rohde Christiansen.
419
420 * Configurations/FeatureDefines.xcconfig:
421
dominik.rottsches@intel.com6bf0b302012-10-25 19:26:47 +00004222012-10-25 Dominik Röttsches <dominik.rottsches@intel.com>
423
424 Conditionalize XHR timeout support
425 https://bugs.webkit.org/show_bug.cgi?id=100356
426
427 Reviewed by Adam Barth.
428
429 Adding XHR_TIMEOUT feature to conditionalize this on ports without network backend support.
430 Defaults to ON on Mac since the Mac NSUrlConnection based backend has setTimeoutInterval support.
431
432 * Configurations/FeatureDefines.xcconfig:
433
timothy@apple.comfc7d6f62012-10-24 21:37:19 +00004342012-10-24 Timothy Hatcher <timothy@apple.com>
435
436 Fix a crash seen during the Inspector tests on the WebKit1 bots.
437
438 Reviewed by Filip Pizlo.
439
440 * WebCoreSupport/WebInspectorClient.mm:
441 (WebInspectorFrontendClient::bringToFront): Use the window from the WebView since m_windowController's window
442 is not the same when the Inspector is docked.
443
beidson@apple.com888d153a2012-10-24 20:49:23 +00004442012-10-24 Brady Eidson <beidson@apple.com>
445
446 Add a strategy for loader customization.
447 https://bugs.webkit.org/show_bug.cgi?id=100278
448
449 Reviewed by Alexey Proskuryakov.
450
451 * WebCoreSupport/WebPlatformStrategies.h:
452 (WebPlatformStrategies):
453 * WebCoreSupport/WebPlatformStrategies.mm:
454 (WebPlatformStrategies::createLoaderStrategy):
455
timothy@apple.comc9dc9682012-10-24 19:00:50 +00004562012-10-24 Timothy Hatcher <timothy@apple.com>
457
458 Make the Inspector WKView/WebView become the first responder when bringToFront is called.
459
460 https://bugs.webkit.org/show_bug.cgi?id=100209
461
462 Reviewed by Joseph Pecoraro.
463
464 * WebCoreSupport/WebInspectorClient.mm:
465 (WebInspectorFrontendClient::bringToFront): Make the Inspector WebView become the first responder.
466
ap@apple.com9416a2e2012-10-24 17:28:14 +00004672012-10-23 Alexey Proskuryakov <ap@apple.com>
468
469 Add a strategy for shared workers
470 https://bugs.webkit.org/show_bug.cgi?id=100165
471
472 Reviewed by Brady Eidson.
473
474 * WebCoreSupport/WebPlatformStrategies.h:
475 * WebCoreSupport/WebPlatformStrategies.mm:
476 (WebPlatformStrategies::createPasteboardStrategy):
477 (WebPlatformStrategies::createSharedWorkerStrategy):
478 (WebPlatformStrategies::createVisitedLinkStrategy):
479
eric.carlson@apple.com68e8da72012-10-24 14:24:43 +00004802012-10-24 Eric Carlson <eric.carlson@apple.com>
481
482 Allow ports to override text track rendering style
483 https://bugs.webkit.org/show_bug.cgi?id=97800
484 <rdar://problem/12044964>
485
486 Reviewed by Maciej Stachowiak.
487
488 * WebCoreSupport/WebSystemInterface.mm:
489 (InitWebCoreSystemInterface): Initialize new WKSI function pointers.
490
mitz@apple.comebbb0102012-10-24 05:13:12 +00004912012-10-23 Dan Bernstein <mitz@apple.com>
492
493 WebKit/mac part of <rdar://problem/2966974> [mac] Kerning and ligatures are not enabled by default
494 https://bugs.webkit.org/show_bug.cgi?id=100188
495
496 Reviewed by Sam Weinig.
497
498 * WebView/WebView.mm:
499 (+[WebView initialize]): Added a local variable to hold the standard user defaults. Added
500 code to register a value of YES for the WebKitKerningAndLigaturesEnabledByDefault user
501 default. Changed to refer to that default key by name.
502
kenneth@webkit.org2a707b52012-10-23 15:15:43 +00005032012-10-23 Kenneth Rohde Christiansen <kenneth@webkit.org>
504
505 Add support for resolution media query
506 https://bugs.webkit.org/show_bug.cgi?id=99077
507
508 Reviewed by Antti Koivisto.
509
510 Add support for the RESOLUTION_MEDIA_QUERY feature flag.
511
512 * Configurations/FeatureDefines.xcconfig:
513
kling@webkit.org7d22c9e2012-10-22 02:37:56 +00005142012-10-21 Andreas Kling <kling@webkit.org>
515
516 Remove Page::javaScriptURLsAreAllowed setting.
517 <http://webkit.org/b/99944>
518
519 Reviewed by Anders Carlsson.
520
521 * WebKit.order:
522 * WebView/WebView.mm:
523 * WebView/WebViewPrivate.h:
524
commit-queue@webkit.org85886a92012-10-19 18:53:11 +00005252012-10-19 Dongwoo Joshua Im <dw.im@samsung.com>
526
527 Rename ENABLE_CSS3_TEXT_DECORATION to ENABLE_CSS3_TEXT
528 https://bugs.webkit.org/show_bug.cgi?id=99804
529
530 Reviewed by Julien Chaffraix.
531
532 CSS3 text related properties will be implemented under this flag,
533 including text decoration, text-align-last, and text-justify.
534
535 * Configurations/FeatureDefines.xcconfig:
536
commit-queue@webkit.org80d18442012-10-18 18:43:15 +00005372012-10-18 Pablo Flouret <pablof@motorola.com>
538
539 Implement css3-conditional's @supports rule
540 https://bugs.webkit.org/show_bug.cgi?id=86146
541
542 Reviewed by Antti Koivisto.
543
544 * Configurations/FeatureDefines.xcconfig:
545 Add an ENABLE_CSS3_CONDITIONAL_RULES flag.
546
commit-queue@webkit.org8d0f6982012-10-17 19:02:30 +00005472012-10-17 Joseph Pecoraro <pecoraro@apple.com>
548
549 [Mac] Uninitialized Members in WebDataSourcePrivate
550 https://bugs.webkit.org/show_bug.cgi?id=99617
551
552 Reviewed by David Kilzer.
553
554 Initialize BOOL member variables.
555
556 * WebView/WebDataSource.mm:
557 (WebDataSourcePrivate::WebDataSourcePrivate):
558
mrowe@apple.com7db4b422012-10-17 08:15:47 +00005592012-10-17 Mark Rowe <mrowe@apple.com>
560
561 Fix the build with a newer version of clang.
562
563 Reviewed by Dan Bernstein.
564
565 Some of the methods in WebCoreStatistics appear to have been added by someone not familiar with Objective-C.
566 While it's technically valid to have empty components in a selector, it's rarely done and is not consistent
567 with our style guidelines. In this particular case it's also done in such a manner that it's ambiguous and
568 therefore generates a warning in newer versions of the compiler.
569
570 Fixes <rdar://problem/12503709>.
571
572 * Misc/WebCoreStatistics.h: Remove unused methods and rename the two poorly-named methods that remain.
573 * Misc/WebCoreStatistics.mm: Ditto.
574 (-[WebFrame numberOfPagesWithPageWidth:pageHeight:]):
575 (-[WebFrame printToCGContext:pageWidth:pageHeight:]):
576
jianli@chromium.org9acde012012-10-17 00:14:47 +00005772012-10-16 Jian Li <jianli@chromium.org>
578
579 Rename feature define ENABLE_WIDGET_REGION to ENABLE_DRAGGBALE_REGION
580 https://bugs.webkit.org/show_bug.cgi?id=98975
581
582 Reviewed by Adam Barth.
583
584 Renaming is needed to better match with the draggable region code.
585
586 * Configurations/FeatureDefines.xcconfig:
587
mitz@apple.comb71def62012-10-15 21:50:53 +00005882012-10-15 Dan Bernstein <mitz@apple.com>
589
590 WebKit/mac part of <rdar://problem/12470680> Font’s fast code path doesn’t support kerning and ligatures
591 https://bugs.webkit.org/show_bug.cgi?id=99113
592
593 Reviewed by Tim Horton.
594
595 * WebCoreSupport/WebSystemInterface.mm:
596 (InitWebCoreSystemInterface): Added wkCTFontTransformGlyphs.
597
ddkilzer@apple.coma407f592012-10-15 20:51:36 +00005982012-10-15 David Kilzer <ddkilzer@apple.com>
599
600 Move framework and library linking into WebKit.xcconfig
601 <http://webkit.org/b/99284>
602
603 Reviewed by Mark Rowe.
604
605 * Configurations/WebKit.xcconfig: Move frameworks and libraries
606 link flags to OTHER_LDFLAGS so that they work for iOS and OS X.
607
jonlee@apple.com2ee4bbe2012-10-14 23:50:30 +00006082012-10-14 Jon Lee <jonlee@apple.com>
609
610 Allow notification origin permission request when no js callback is provided
611 https://bugs.webkit.org/show_bug.cgi?id=63615
612 <rdar://problem/11059590>
613
614 Reviewed by Sam Weinig.
615
616 Introduce a boolean to determine whether the request was using the legacy or standard API. This way,
617 we do not fall through to calling the standard API's callback if the legacy API's callback is null.
618
619 * WebCoreSupport/WebNotificationClient.mm:
620 (WebCore):
621 (-[WebNotificationPolicyListener initWithVoidCallback:]):
622 (-[WebNotificationPolicyListener allow]):
623 (-[WebNotificationPolicyListener deny]):
624
weinig@apple.com1a6cf372012-10-14 21:55:53 +00006252012-10-14 Sam Weinig <sam@webkit.org>
626
627 Make UserScript and UserStyleSheet value objects that are copyable
628 https://bugs.webkit.org/show_bug.cgi?id=99275
629
630 Reviewed by Tim Horton.
631
632 * WebView/WebView.mm:
633 (-[WebView _injectMailQuirksScript]):
634 (-[WebView _injectOutlookQuirksScript]):
635 Update for new PageGroup function signatures.
636
beidson@apple.com1b1b9402012-10-11 18:29:32 +00006372012-10-10 Brady Eidson <beidson@apple.com>
638
639 Switch ResourceLoader::resourceData() from SharedBuffer to ResourceBuffer
640 https://bugs.webkit.org/show_bug.cgi?id=98976
641
642 Reviewed by Anders Carlsson.
643
644 * WebView/WebDataSource.mm:
645 (-[WebDataSource data]):
646
jer.noble@apple.com218244a2012-10-11 06:40:02 +00006472012-10-10 Jer Noble <jer.noble@apple.com>
648
649 Disallow full screen mode keyboard access by default.
650 https://bugs.webkit.org/show_bug.cgi?id=98971
651 <rdar://problem/12474226>
652
653 Reviewed by Sam Weinig.
654
655 Only support full screen if keyboard access is not requested.
656
657 * WebView/WebView.mm:
658 (-[WebView _supportsFullScreenForElement:WebCore::withKeyboard:]):
659
jonlee@apple.com1c74e392012-10-10 23:23:13 +00006602012-10-10 Jon Lee <jonlee@apple.com>
661
662 [WK2] Activate plugins when user clicks on snapshot
663 https://bugs.webkit.org/show_bug.cgi?id=98328
664 <rdar://problem/12426681>
665
666 Reviewed by Brady Eidson.
667
668 * WebCoreSupport/WebFrameLoaderClient.h:
669 * WebCoreSupport/WebFrameLoaderClient.mm:
670 (WebFrameLoaderClient::recreatePlugin): Stub implementation of recreatePlugin().
671
beidson@apple.com9bf57722012-10-10 20:23:17 +00006722012-10-10 Brady Eidson <beidson@apple.com>
673
674 Switch CachedResource over from SharedBuffer to a new ResourceBuffer
675 https://bugs.webkit.org/show_bug.cgi?id=98541
676
677 Reviewed by Anders Carlsson.
678
679 * WebView/WebHTMLView.mm:
680 (-[WebHTMLView namesOfPromisedFilesDroppedAtDestination:]):
681
simon.fraser@apple.combbe04532012-10-10 17:49:17 +00006822012-10-10 Simon Fraser <simon.fraser@apple.com>
683
684 Store a visible rect in GraphicsLayers, and optionally dump it in layerTreeAsText
685 https://bugs.webkit.org/show_bug.cgi?id=98839
686
687 Reviewed by Sam Weinig.
688
689 To replace CATiledLayer with TileCaches, we need to be able to compute the visible part of a GraphicsLayer,
690 in order to limit the extent of TileCache tiles. Reuse the existing code in GraphicsLayerCA for this,
691 but store the computed rect in m_visibleRect.
692
693 Add a flag to layerTreeAsText() so that tests can optionally include this visible rect in
694 layer tree dumps. This output will be platform-specific, so we don't want to do it unconditionally.
695
696 * WebView/WebFrame.mm:
697 (-[WebFrame _layerTreeAsText]):
698
jianli@chromium.orgbd81dfe2012-10-10 00:06:59 +00006992012-10-09 Jian Li <jianli@chromium.org>
700
701 Update the CSS property used to support draggable regions.
702 https://bugs.webkit.org/show_bug.cgi?id=97156
703
704 Reviewed by Adam Barth.
705
706 The CSS property to support draggable regions, guarded under
707 WIDGET_REGION is now disabled from Mac WebKit, in order not to cause
708 confusion with DASHBOARD_SUPPORT feature.
709
710 Also update the code to use the new name annotatedRegions to work for
711 both features.
712
713 * Configurations/FeatureDefines.xcconfig: Disable WIDGET_REGION feature.
714 * WebCoreSupport/WebChromeClient.h: Rename dashboardRegions to annotatedRegions.
715 * WebCoreSupport/WebChromeClient.mm: Rename dashboardRegions to annotatedRegions.
716 (WebChromeClient::annotatedRegionsChanged):
717 * WebView/WebView.mm: Rename dashboardRegions to annotatedRegions.
718 (-[WebView _dashboardRegions]):
719
commit-queue@webkit.orga2a40f82012-10-09 23:21:08 +00007202012-10-09 Sheriff Bot <webkit.review.bot@gmail.com>
721
722 Unreviewed, rolling out r130811 and r130821.
723 http://trac.webkit.org/changeset/130811
724 http://trac.webkit.org/changeset/130821
725 https://bugs.webkit.org/show_bug.cgi?id=98831
726
727 Broke date-suggestion-picker-appearance-with-scroll-bar.html
728 (Requested by abarth|gardening on #webkit).
729
730 * WebView/WebFullScreenController.mm:
731 (screenRectOfContents):
732 * WebView/WebRenderNode.mm:
733 (copyRenderNode):
734
commit-queue@webkit.org9b4ec582012-10-09 05:45:48 +00007352012-10-08 Kiran Muppala <cmuppala@apple.com>
736
737 Throttle DOM timers on hidden pages.
738 https://bugs.webkit.org/show_bug.cgi?id=98474
739
740 Reviewed by Maciej Stachowiak.
741
742 Add HIDDEN_PAGE_DOM_TIMER_THROTTLING feature define and provide a SPI for
743 DumpRenderTree to modify the visibility state of a page. The latter
744 is needed to test throttling of timers on hidden pages through DumpRenderTree.
745
746 * Configurations/FeatureDefines.xcconfig:
747 * WebView/WebView.mm:
748 (-[WebView _setVisibilityState:isInitialState:]):
749 * WebView/WebViewPrivate.h:
750
benjamin@webkit.orgee554052012-10-07 23:12:07 +00007512012-10-07 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
752
753 Rename first/second to key/value in HashMap iterators
754 https://bugs.webkit.org/show_bug.cgi?id=82784
755
756 Reviewed by Eric Seidel.
757
758 * History/WebHistory.mm:
759 (-[WebHistoryPrivate removeItemFromDateCaches:]):
760 (-[WebHistoryPrivate orderedLastVisitedDays]):
761 (WebHistoryWriter::WebHistoryWriter):
762 * Misc/WebCoreStatistics.mm:
763 (+[WebCoreStatistics javaScriptProtectedObjectTypeCounts]):
764 (+[WebCoreStatistics javaScriptObjectTypeCounts]):
765 * Plugins/Hosted/NetscapePluginHostManager.mm:
766 (WebKit::NetscapePluginHostManager::hostForPlugin):
767 (WebKit::NetscapePluginHostManager::pluginHostDied):
768 (WebKit::NetscapePluginHostManager::didCreateWindow):
769 * Plugins/Hosted/NetscapePluginHostProxy.mm:
770 (WebKit::NetscapePluginHostProxy::pluginHostDied):
771 * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
772 (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::idForObject):
773 (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::retain):
774 (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::release):
775 (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::forget):
776 (WebKit::NetscapePluginInstanceProxy::destroy):
777 (WebKit::NetscapePluginInstanceProxy::webFrameDidFinishLoadWithReason):
778 (WebKit::NetscapePluginInstanceProxy::cancelCheckIfAllowedToLoadURL):
779 * Plugins/Hosted/ProxyInstance.mm:
780 (WebKit::ProxyInstance::methodNamed):
781 (WebKit::ProxyInstance::fieldNamed):
782 * Plugins/WebNetscapePluginView.mm:
783 (-[WebNetscapePluginView stopTimers]):
784 (-[WebNetscapePluginView startTimers]):
785 * WebCoreSupport/WebNotificationClient.mm:
786 (WebNotificationClient::show):
787 (WebNotificationClient::clearNotifications):
788 (WebNotificationClient::notificationObjectDestroyed):
789 * WebView/WebHTMLView.mm:
790 (commandNameForSelector):
791
mitz@apple.com708bc632012-10-06 18:37:38 +00007922012-10-06 Dan Bernstein <mitz@apple.com>
793
794 WebKit/mac part of <rdar://problem/12446507> [mac] WebKit clients cannot change the behavior of text-rendering: auto
795 https://bugs.webkit.org/show_bug.cgi?id=98601
796
797 Reviewed by Darin Adler.
798
799 * WebView/WebView.mm:
800 (+[WebView initialize]): Added a call to Font::setDefaultTypesettingFeatures() to enable
801 kerning and ligatures if the WebKitKerningAndLigaturesEnabledByDefault user default key has
802 the value YES.
803
commit-queue@webkit.orgf583bb12012-10-05 23:28:42 +00008042012-10-05 Sheriff Bot <webkit.review.bot@gmail.com>
805
806 Unreviewed, rolling out r130556 and r130564.
807 http://trac.webkit.org/changeset/130556
808 http://trac.webkit.org/changeset/130564
809 https://bugs.webkit.org/show_bug.cgi?id=98572
810
811 The patch wasn't reviewed by a reviewer and it is breaking
812 Chromium Windows (Requested by jchaffraix on #webkit).
813
814 * WebCoreSupport/WebSystemInterface.mm:
815 (InitWebCoreSystemInterface):
816
timothy_horton@apple.comba51c882012-10-05 22:56:38 +00008172012-10-05 Tim Horton <timothy_horton@apple.com>
818
819 [cg] GraphicsContextCG should ask CG whether the shadow offset workaround is required
820 https://bugs.webkit.org/show_bug.cgi?id=98565
821 <rdar://problem/12436468>
822
823 Reviewed by Simon Fraser.
824
825 Add wkCGContextDrawsWithCorrectShadowOffsets.
826
827 * WebCoreSupport/WebSystemInterface.mm:
828 (InitWebCoreSystemInterface):
829
jer.noble@apple.com0846d8d2012-10-05 21:57:04 +00008302012-10-04 Eric Carlson <eric.carlson@apple.com>
831
832 Allow ports to override text track rendering style
833 https://bugs.webkit.org/show_bug.cgi?id=97800
834 <rdar://problem/12044964>
835
836 Reviewed by Silvia Pfeiffer.
837
838 Add WCSI support for new WKSI caption functions.
839
840 * WebCoreSupport/WebSystemInterface.mm:
841 (InitWebCoreSystemInterface): Initialize new WKSI function pointers.
842
jonlee@apple.com3f4a62e2012-10-05 17:53:04 +00008432012-10-04 Jon Lee <jonlee@apple.com>
844
845 Add a setting to enable plugin snapshotting
846 https://bugs.webkit.org/show_bug.cgi?id=98319
847 <rdar://problem/12426480>
848
849 Reviewed by Brady Eidson.
850
851 Expose plugInSnapshottingEnabled preference to WebKit clients.
852
853 * WebView/WebPreferenceKeysPrivate.h: Add WebKitPlugInSnapshottingEnabled key.
854 * WebView/WebPreferences.mm:
855 (+[WebPreferences initialize]): Setting is turned off by default.
856 (-[WebPreferences plugInSnapshottingEnabled]):
857 (-[WebPreferences setPlugInSnapshottingEnabled:]):
858 * WebView/WebPreferencesPrivate.h:
859 * WebView/WebView.mm:
860 (-[WebView _preferencesChanged:]): Update settings based on preference.
861
commit-queue@webkit.org68423ae2012-10-05 04:56:44 +00008622012-10-04 Rik Cabanier <cabanier@adobe.com>
863
864 Turn Compositing on by default in WebKit build
865 https://bugs.webkit.org/show_bug.cgi?id=98315
866
867 Reviewed by Simon Fraser.
868
869 enable -webkit-blend-mode on trunk.
870
871 * Configurations/FeatureDefines.xcconfig:
872
simon.fraser@apple.comdf44c012012-10-05 00:43:04 +00008732012-10-04 Simon Fraser <simon.fraser@apple.com>
874
875 Final part of "sync" to "flush" renaming
876 https://bugs.webkit.org/show_bug.cgi?id=98430
877
878 Reviewed by Tim Horton.
879
880 Change method names on GraphicsLayer and GraphicsLayerClient that
881 refer to "sync" to use the term "flush" instead, to be consistent
882 with the rest of the code.
883
884 * WebView/WebView.mm:
885
benjamin@webkit.org4bad4cc2012-10-04 19:10:18 +00008862012-10-03 Benjamin Poulain <bpoulain@apple.com>
887
888 [WK2] Support all attributes of GeolocationPosition
889 https://bugs.webkit.org/show_bug.cgi?id=98212
890
891 Reviewed by Sam Weinig.
892
893 Add an internal constructor for the sake of testing.
894 A similar API is used on iOS.
895
896 * WebView/WebGeolocationPosition.mm:
897 (-[WebGeolocationPosition initWithGeolocationPosition:]):
898
simon.fraser@apple.comcad7e8e2012-10-04 16:16:19 +00008992012-10-04 Simon Fraser <simon.fraser@apple.com>
900
901 Standardize on "flush" terminology for compositing layer flushing/syncing
902 https://bugs.webkit.org/show_bug.cgi?id=98321
903
904 Reviewed by Simon Fraser.
905
906 Rename compositing-related methods that refer to "syncing" to instead
907 refer to "flushing".
908
909 * WebCoreSupport/WebChromeClient.h:
910 * WebCoreSupport/WebChromeClient.mm:
911 (WebChromeClient::scheduleCompositingLayerFlush):
912 * WebView/WebView.mm:
913 (-[WebView _flushCompositingChanges]):
914 (LayerFlushController::flushLayers):
915 (-[WebView _scheduleCompositingLayerFlush]):
916 * WebView/WebViewInternal.h:
917
simon.fraser@apple.comeec26cb2012-10-03 00:24:16 +0000918== Rolled over to ChangeLog-2012-10-02 ==