REGRESSION (r53857): Crash when tabbing to <map>
[WebKit.git] / WebCore / ChangeLog
1 2010-03-16  Chris Fleizach  <cfleizach@apple.com>
2
3         Reviewed by Darin Adler.
4
5         REGRESSION (r53857): Crash when tabbing to <map>
6         https://bugs.webkit.org/show_bug.cgi?id=36017
7
8         Test: fast/events/imagemap-norender-crash.html
9
10         * html/HTMLMapElement.cpp:
11         (WebCore::HTMLMapElement::imageElement):
12
13 2010-03-16  Brent Fulgham  <bfulgham@webkit.org>
14
15         Build fix.  No Review.
16
17         Correct missing includes in cURL network backend introduced
18         by recent changes in WebKit.
19
20         * platform/network/curl/ResourceHandleCurl.cpp: Add missing
21           includes for SharedBuffer and PassRefPtr.
22         (WebCore::ResourceHandle::loadResourceSynchronously): Correct
23           constructor signature for ResourceHandle to match @r55688.
24         * platform/network/curl/ResourceHandleManager.cpp: Add missing
25           include for RetainPtr.
26
27 2010-03-16  Zhenyao Mo  <zmo@google.com>
28
29         Reviewed by Darin Fisher.
30
31         Hook up WebGLContextAttributes to OpenGL context creation code
32         https://bugs.webkit.org/show_bug.cgi?id=33416
33
34         Test: fast/canvas/webgl/context-attributes-alpha-depth-stencil-antialias.html
35
36         * bindings/v8/custom/V8HTMLCanvasElementCustom.cpp: Fix an index bug.
37         * platform/graphics/GraphicsContext3D.h: Add members/functions for multisampling/stencil buffer purpose.
38         * platform/graphics/mac/Canvas3DLayer.h: Add GraphicsContext3D as a member of Canvas3DLayer.
39         * platform/graphics/mac/Canvas3DLayer.mm: Add multisampling support.
40         * platform/graphics/mac/GraphicsContext3DMac.cpp: Hook up WebGLContextAttributes to OpenGL context creation code for Mac.
41         * platform/graphics/mac/GraphicsLayerCA.mm: Adjust to modified Canvas3DLayer init call.
42
43 2010-03-16  Joanmarie Diggs  <joanmarie.diggs@gmail.com>
44
45         Reviewed by Xan Lopez.
46
47         https://bugs.webkit.org/show_bug.cgi?id=35504
48         [Gtk] Evaluate and fix AtkTable for layout tables
49
50         Causes "layout tables" to be exposed as AccessibilityTables for Gtk.
51
52         * accessibility/AccessibilityTable.cpp:
53         (AccessibilityTable::isTableExposableThroughAccessibility):
54
55 2010-03-16  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
56
57         Unreviewed. Build fix for distcheck.
58
59         * GNUmakefile.am:
60
61 2010-03-15  Darin Fisher  <darin@chromium.org>
62
63         Reviewed by Adam Barth.
64
65         https://bugs.webkit.org/show_bug.cgi?id=36152
66         [chromium] Add support for history.pushState and history.replaceState
67
68         This is covered by the existing tests in fast/loader/stateobjects
69
70         * bindings/v8/SerializedScriptValue.cpp:
71         (WebCore::ZigZag::Deserializer::deserialize):
72         (WebCore::SerializedScriptValue::deserialize):
73         * bindings/v8/SerializedScriptValue.h:
74         Switch to returning v8::Null instead of the empty value to match JSC
75         and the spec.
76
77         * loader/FrameLoader.cpp:
78         (WebCore::FrameLoader::loadInSameDocument): Call
79         dispatchDidNavigateWithinPage just before dispatching events to the
80         page.  This ordering is important since the event handlers could
81         destroy the page or start another navigation.
82
83         * loader/FrameLoaderClient.h: Add dispatchDidNavigateWithinPage to
84         notify the client whenever a navigation occurs without changing any of
85         the documents in the page.
86
87 2010-03-16  Adam Roben  <aroben@apple.com>
88
89         Fix linker warnings when building WebCore on Windows
90
91         Rubber-stamped by Steve Falkenburg.
92
93         * WebCore.vcproj/WebCore.vcproj: Exclude JSDOMFormData.cpp from the
94         build, since it's already included in DerivedSources.cpp. Also let VS
95         sort this file as it saw fit.
96
97 2010-03-15  Antti Koivisto  <koivisto@iki.fi>
98
99         Reviewed by Simon Hausmann.
100
101         https://bugs.webkit.org/show_bug.cgi?id=36121
102         [Qt] Make WebKit scrollbars work with tiling
103          
104         Translate coordinates correctly.
105
106         * page/Frame.cpp:
107         (WebCore::Frame::tiledBackingStorePaintEnd):
108
109 2010-03-16  Jakub Wieczorek  <jwieczorek@webkit.org>
110
111         Reviewed by Eric Seidel.
112
113         [Qt] MediaPlayerPrivate: Initialize m_mediaPlayerControl to 0 to avoid crashes
114         when no media services can be found.
115
116         https://bugs.webkit.org/show_bug.cgi?id=36142
117
118         * platform/graphics/qt/MediaPlayerPrivateQt.cpp:
119         (WebCore::MediaPlayerPrivate::MediaPlayerPrivate):
120
121 2010-03-16  Adam Barth  <abarth@webkit.org>
122
123         Unreviewed.
124
125         noscript tag should render when @sandbox disables JavaScript
126         https://bugs.webkit.org/show_bug.cgi?id=36092
127
128         Add missing "!" in plugin code.  Should fix plugins/embed-inside-object
129         on Gtk and Qt.
130
131         * plugins/PluginView.cpp:
132         (WebCore::PluginView::load):
133
134 2010-03-16  Nate Chapin  <japhet@chromium.org>
135
136         Reviewed by Dimitri Glazkov.
137
138         [V8] Delete DerivedSourcesAllInOne.cpp.
139
140         https://bugs.webkit.org/show_bug.cgi?id=33048
141
142         * Android.v8bindings.mk:
143         * bindings/v8/DerivedSourcesAllInOne.cpp: Removed.
144
145 2010-03-16  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
146
147         Revert r56006 as it caused functional issues. We will work on a
148         testcase, and rework the fix, and land when we have this a bit
149         more testable.
150
151         * platform/gtk/RenderThemeGtk.cpp:
152         (WebCore::RenderThemeGtk::paintMediaPlayButton):
153
154 2010-03-16  Pavel Feldman  <pfeldman@chromium.org>
155
156         Reviewed by Timothy Hatcher.
157
158         Web Inspector: Errors when inspecting styles of non-renderable elements in XHTML.
159
160         https://bugs.webkit.org/show_bug.cgi?id=35025
161
162         * inspector/InspectorDOMAgent.cpp:
163         (WebCore::InspectorDOMAgent::getStyles):
164         * inspector/front-end/DOMAgent.js:
165         (WebInspector.DOMNode.prototype._addAttribute):
166         (WebInspector.DOMWindow.prototype.Object):
167         * inspector/front-end/MetricsSidebarPane.js:
168         * inspector/front-end/StylesSidebarPane.js:
169         (WebInspector.StylesSidebarPane.prototype.update.callback):
170         (WebInspector.StylesSidebarPane.prototype.update):
171         (WebInspector.StylesSidebarPane.prototype._update):
172
173 2010-03-12  Antonio Gomes  <tonikitoo@webkit.org>
174
175         Reviewed by Simon Fraser.
176         Patch by Antonio Gomes <tonikitoo@webkit.org>
177
178         Spatial Navigation: Add a scrollIntoView call when focusing an element.
179         https://bugs.webkit.org/show_bug.cgi?id=36020
180
181         When focusing an element in Spatial Navigation logic, it is desired to make
182         this element visible in the current viewport. For that to happen, there
183         could be a call to Element's scrollIntoView method at focusing time. However
184         for visual aspects, it is preferable to scroll to an inflated rect of |element|
185         in order to consider the focus outline width.
186         As Element's scrollIntoView method does not provide this flexibility, patch adds
187         a custom scrollIntoView method to SpatialNavigation.h .
188
189         * page/FocusController.cpp:
190         (WebCore::FocusController::advanceFocusDirectionally):
191         * page/SpatialNavigation.cpp:
192         (WebCore::scrollIntoView):
193         * page/SpatialNavigation.h:
194
195 2010-03-10  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
196
197         Reviewed by Eric Seidel.
198
199         [GTK] Position queries are lagging
200         https://bugs.webkit.org/show_bug.cgi?id=34372
201
202         Normalize timeout priorities through the GStreamer media player as
203         a whole. This should help avoid that any of them is starved.
204
205         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
206         (WebCore::MediaPlayerPrivate::volumeChanged):
207         (WebCore::MediaPlayerPrivate::processBufferingStats):
208         (WebCore::MediaPlayerPrivate::muteChanged):
209         * platform/graphics/gstreamer/VideoSinkGStreamer.cpp:
210         (webkit_video_sink_render):
211         * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
212         (webKitWebSrcNeedDataCb):
213         (webKitWebSrcEnoughDataCb):
214         (webKitWebSrcSeekDataCb):
215
216 2010-03-10  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
217
218         Reviewed by Eric Seidel.
219
220         [GTK] Position queries are lagging
221         https://bugs.webkit.org/show_bug.cgi?id=34372
222
223         Use default priority also for parsing data: URIs.
224
225         * platform/network/soup/ResourceHandleSoup.cpp:
226         (WebCore::startData):
227
228 2010-03-10  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
229
230         Reviewed by Eric Seidel.
231
232         [GTK] Position queries are lagging
233         https://bugs.webkit.org/show_bug.cgi?id=34372
234
235         Normalize SharedTimers priorities to always be
236         G_PRIORITY_DEFAULT. As it is currently, timers that should happen
237         immediately (0 miliseconds delay) end up delayed by a lot of time
238         due to glib starving lower priority sources.
239
240         * platform/gtk/SharedTimerGtk.cpp:
241         (WebCore::setSharedTimerFireTime):
242
243 2010-03-16  Xan Lopez  <xlopez@igalia.com>
244
245         Reviewed by Gustavo Noronha.
246
247         Add support for Fast Mobile Scrolling in the build system.
248
249         * GNUmakefile.am:
250
251 2010-03-11  Yury Semikhatsky <yurys@chromium.org>
252
253         Reviewed by Pavel Feldman.
254
255         Introduce InspectorFrontendClient that provides InspectorFrontend with an interface to the embedder. InspectorClient now serves as a delegate for InspectorController and does not contain methods for managing inspector frontend window. That allows to create remote InspectorFrontendHost.
256
257         Introduce InspectorFrontendClient that would provide InspectorFrontend with an interface to the embedder
258         https://bugs.webkit.org/show_bug.cgi?id=35036
259
260         * GNUmakefile.am:
261         * WebCore.Inspector.exp:
262         * WebCore.base.exp:
263         * WebCore.gypi:
264         * WebCore.order:
265         * WebCore.pro:
266         * WebCore.xcodeproj/project.pbxproj:
267         * inspector/ConsoleMessage.cpp:
268         (WebCore::ConsoleMessage::addToFrontend):
269         * inspector/ConsoleMessage.h:
270         * inspector/InspectorClient.h:
271         * inspector/InspectorController.cpp:
272         (WebCore::InspectorController::InspectorController):
273         (WebCore::InspectorController::~InspectorController):
274         (WebCore::InspectorController::inspectedPageDestroyed):
275         (WebCore::InspectorController::windowVisible):
276         (WebCore::InspectorController::frontendReady):
277         (WebCore::InspectorController::willCloseFrontend):
278         (WebCore::InspectorController::addConsoleMessage):
279         (WebCore::InspectorController::setInspectorFrontendClient):
280         (WebCore::InspectorController::inspectedWindowScriptObjectCleared):
281         (WebCore::InspectorController::setFrontend):
282         (WebCore::InspectorController::show):
283         (WebCore::InspectorController::close):
284         (WebCore::InspectorController::releaseDOMAgent):
285         (WebCore::InspectorController::populateScriptObjects):
286         (WebCore::InspectorController::didCommitLoad):
287         (WebCore::InspectorController::getProfile):
288         (WebCore::InspectorController::enableDebugger):
289         * inspector/InspectorController.h:
290         (WebCore::InspectorController::hasInspectorFrontendClient):
291         * inspector/InspectorFrontend.cpp:
292         (WebCore::InspectorFrontend::InspectorFrontend):
293         (WebCore::InspectorFrontend::~InspectorFrontend):
294         (WebCore::InspectorFrontend::addConsoleMessage):
295         (WebCore::InspectorFrontend::bringToFront):
296         (WebCore::InspectorFrontend::inspectedURLChanged):
297         * inspector/InspectorFrontend.h:
298         * inspector/InspectorFrontendClient.h: Added.
299         (WebCore::InspectorFrontendClient::~InspectorFrontendClient):
300         * inspector/InspectorFrontendClientLocal.cpp: Added.
301         (WebCore::FrontendMenuProvider::create):
302         (WebCore::FrontendMenuProvider::disconnect):
303         (WebCore::FrontendMenuProvider::FrontendMenuProvider):
304         (WebCore::FrontendMenuProvider::~FrontendMenuProvider):
305         (WebCore::FrontendMenuProvider::populateContextMenu):
306         (WebCore::FrontendMenuProvider::contextMenuItemSelected):
307         (WebCore::FrontendMenuProvider::contextMenuCleared):
308         (WebCore::InspectorFrontendClientLocal::InspectorFrontendClientLocal):
309         (WebCore::InspectorFrontendClientLocal::~InspectorFrontendClientLocal):
310         (WebCore::InspectorFrontendClientLocal::windowObjectCleared):
311         (WebCore::InspectorFrontendClientLocal::frontendLoaded):
312         (WebCore::InspectorFrontendClientLocal::canAttachWindow):
313         (WebCore::InspectorFrontendClientLocal::changeAttachedWindowHeight):
314         (WebCore::InspectorFrontendClientLocal::moveWindowBy):
315         (WebCore::InspectorFrontendClientLocal::showContextMenu):
316         (WebCore::InspectorFrontendClientLocal::setAttachedWindow):
317         (WebCore::InspectorFrontendClientLocal::restoreAttachedWindowHeight):
318         (WebCore::InspectorFrontendClientLocal::constrainedAttachedWindowHeight):
319         * inspector/InspectorFrontendClientLocal.h: Added.
320         * inspector/InspectorFrontendHost.cpp:
321         (WebCore::InspectorFrontendHost::InspectorFrontendHost):
322         (WebCore::InspectorFrontendHost::~InspectorFrontendHost):
323         (WebCore::InspectorFrontendHost::loaded):
324         (WebCore::InspectorFrontendHost::attach):
325         (WebCore::InspectorFrontendHost::detach):
326         (WebCore::InspectorFrontendHost::closeWindow):
327         (WebCore::InspectorFrontendHost::bringToFront):
328         (WebCore::InspectorFrontendHost::inspectedURLChanged):
329         (WebCore::InspectorFrontendHost::canAttachWindow):
330         (WebCore::InspectorFrontendHost::setAttachedWindowHeight):
331         (WebCore::InspectorFrontendHost::moveWindowBy):
332         (WebCore::InspectorFrontendHost::showContextMenu):
333         * inspector/InspectorFrontendHost.h:
334         (WebCore::InspectorFrontendHost::create):
335         * inspector/InspectorFrontendHost.idl:
336         * inspector/front-end/InspectorFrontendHostStub.js:
337         (.WebInspector.InspectorFrontendHostStub.prototype.bringToFront):
338         (.WebInspector.InspectorFrontendHostStub.prototype.inspectedURLChanged):
339         * inspector/front-end/inspector.js:
340         (WebInspector.loaded):
341         (WebInspector.close):
342         (WebInspector.bringToFront):
343         (WebInspector.inspectedURLChanged):
344         * loader/EmptyClients.h:
345         (WebCore::EmptyInspectorClient::openInspectorFrontend):
346         * loader/FrameLoader.cpp:
347         (WebCore::FrameLoader::dispatchDidClearWindowObjectInWorld):
348         * page/Page.cpp:
349         (WebCore::Page::Page):
350         (WebCore::Page::~Page):
351         * page/Page.h:
352         * platform/ContextMenu.cpp:
353         (WebCore::ContextMenu::populate):
354         (WebCore::ContextMenu::addInspectElementItem):
355
356 2010-03-16  Pavel Feldman  <pfeldman@chromium.org>
357
358         Reviewed by Timothy Hatcher.
359
360         Web Inspector: migrate to native styles inspector in
361         order to inspect styles from foreighn domains.
362
363         https://bugs.webkit.org/show_bug.cgi?id=36117
364
365         * inspector/InspectorBackend.cpp:
366         (WebCore::InspectorBackend::getStyles):
367         (WebCore::InspectorBackend::getInlineStyle):
368         (WebCore::InspectorBackend::getComputedStyle):
369         (WebCore::InspectorBackend::applyStyleText):
370         (WebCore::InspectorBackend::setStyleText):
371         (WebCore::InspectorBackend::setStyleProperty):
372         (WebCore::InspectorBackend::toggleStyleEnabled):
373         (WebCore::InspectorBackend::setRuleSelector):
374         (WebCore::InspectorBackend::addRule):
375         * inspector/InspectorBackend.h:
376         * inspector/InspectorBackend.idl:
377         * inspector/InspectorDOMAgent.cpp:
378         (WebCore::InspectorDOMAgent::InspectorDOMAgent):
379         (WebCore::InspectorDOMAgent::getStyles):
380         (WebCore::InspectorDOMAgent::getInlineStyle):
381         (WebCore::InspectorDOMAgent::getComputedStyle):
382         (WebCore::InspectorDOMAgent::getMatchedCSSRules):
383         (WebCore::InspectorDOMAgent::getAttributeStyles):
384         (WebCore::InspectorDOMAgent::applyStyleText):
385         (WebCore::InspectorDOMAgent::setStyleText):
386         (WebCore::InspectorDOMAgent::setStyleProperty):
387         (WebCore::InspectorDOMAgent::toggleStyleEnabled):
388         (WebCore::InspectorDOMAgent::setRuleSelector):
389         (WebCore::InspectorDOMAgent::addRule):
390         (WebCore::InspectorDOMAgent::bindStyle):
391         (WebCore::InspectorDOMAgent::bindRule):
392         (WebCore::InspectorDOMAgent::buildObjectForStyle):
393         (WebCore::InspectorDOMAgent::populateObjectWithStyleProperties):
394         (WebCore::InspectorDOMAgent::buildObjectForRule):
395         (WebCore::InspectorDOMAgent::uniqueStyleProperties):
396         (WebCore::InspectorDOMAgent::longhandProperties):
397         (WebCore::InspectorDOMAgent::shorthandPriority):
398         (WebCore::InspectorDOMAgent::ruleAffectsNode):
399         (WebCore::InspectorDOMAgent::toArray):
400         * inspector/InspectorDOMAgent.h:
401         * inspector/InspectorFrontend.cpp:
402         (WebCore::InspectorFrontend::didGetEventListenersForNode):
403         (WebCore::InspectorFrontend::didGetStyles):
404         (WebCore::InspectorFrontend::didGetComputedStyle):
405         (WebCore::InspectorFrontend::didGetInlineStyle):
406         (WebCore::InspectorFrontend::didApplyStyleText):
407         (WebCore::InspectorFrontend::didSetStyleText):
408         (WebCore::InspectorFrontend::didSetStyleProperty):
409         (WebCore::InspectorFrontend::didToggleStyleEnabled):
410         (WebCore::InspectorFrontend::didSetRuleSelector):
411         (WebCore::InspectorFrontend::didAddRule):
412         * inspector/InspectorFrontend.h:
413         * inspector/front-end/DOMAgent.js:
414         (WebInspector.CSSStyleDeclaration):
415         * inspector/front-end/ElementsTreeOutline.js:
416         * inspector/front-end/InjectedScript.js:
417         * inspector/front-end/MetricsSidebarPane.js:
418         (WebInspector.MetricsSidebarPane.prototype.update):
419         (WebInspector.MetricsSidebarPane.prototype.editingCommitted):
420         * inspector/front-end/StylesSidebarPane.js:
421         (WebInspector.StylesSidebarPane.prototype.update):
422         (WebInspector.StylePropertiesSection.prototype.editingSelectorCommitted.callback):
423         (WebInspector.StylePropertiesSection.prototype.editingSelectorCommitted):
424         (WebInspector.BlankStylePropertiesSection.prototype.editingSelectorCommitted.callback):
425         (WebInspector.BlankStylePropertiesSection.prototype.editingSelectorCommitted):
426         (WebInspector.StylePropertyTreeElement.prototype):
427         (WebInspector.StylePropertyTreeElement.prototype.):
428
429 2010-03-16  Shinichiro Hamaji  <hamaji@chromium.org>
430
431         Reviewed by Darin Adler.
432
433         RenderText::m_text should be a String, not RefPtr<StringImpl>
434         https://bugs.webkit.org/show_bug.cgi?id=36010
435
436         Refactoring only, so no new tests.
437
438         * platform/text/PlatformString.h:
439         (WebCore::String::makeLower):
440         (WebCore::String::makeUpper):
441         (WebCore::String::makeSecure):
442         (WebCore::String::makeCapitalized):
443         (WebCore::String::containsOnlyASCII):
444         * rendering/RenderText.cpp:
445         (WebCore::RenderText::RenderText):
446         (WebCore::RenderText::widthFromCache):
447         (WebCore::RenderText::trimmedPrefWidths):
448         (WebCore::RenderText::containsOnlyWhitespace):
449         (WebCore::RenderText::setTextInternal):
450         (WebCore::RenderText::setText):
451         (WebCore::RenderText::previousOffset):
452         (WebCore::RenderText::previousOffsetForBackwardDeletion):
453         (WebCore::RenderText::nextOffset):
454         * rendering/RenderText.h:
455         (WebCore::RenderText::text):
456         (WebCore::RenderText::characters):
457         (WebCore::RenderText::textLength):
458
459 2010-03-16  Adam Barth  <abarth@webkit.org>
460
461         Reviewed by Darin Adler.
462
463         noscript tag should render when @sandbox disables JavaScript
464         https://bugs.webkit.org/show_bug.cgi?id=36092
465
466         Instead of talking to Settings directly to figure out if JavaScript is
467         enabled in a frame, we need to talk to the ScriptController.  The
468         ScriptController is better at answering that question because it knows
469         about @sandbox.
470
471         Test: fast/frames/sandboxed-iframe-noscript.html
472
473         * dom/Document.cpp:
474         (WebCore::Document::Document):
475         * html/HTMLCanvasElement.cpp:
476         (WebCore::HTMLCanvasElement::createRenderer):
477         * html/HTMLElement.cpp:
478         (WebCore::HTMLElement::rendererIsNeeded):
479         * html/HTMLParser.cpp:
480         (WebCore::HTMLParser::noscriptCreateErrorCheck):
481         (WebCore::HTMLParser::isInline):
482         * plugins/PluginView.cpp:
483         (WebCore::PluginView::load):
484
485 2010-03-15  John Gregg  <johnnyg@google.com>
486
487         Reviewed by David Levin.
488
489         Notification object should expose absolute URL of icon
490         https://bugs.webkit.org/show_bug.cgi?id=35800
491
492         Covered by existing tests.
493
494         * notifications/Notification.cpp:
495         (WebCore::Notification::Notification):
496         * notifications/Notification.h:
497         (WebCore::Notification::iconURL):
498
499 2010-03-15  Leandro Pereira  <leandro@profusion.mobi>
500
501         Reviewed by Holger Freyther.
502
503         Add EFL port files to platform/efl.
504         http://webkit.org/b/35887
505
506         * platform/efl/ClipboardEfl.cpp: Added.
507         * platform/efl/PasteboardEfl.cpp: Added.
508
509 2010-03-15  Kent Tamura  <tkent@chromium.org>
510
511         Reviewed by Eric Seidel.
512
513         Don't submit disabled menu options.
514         https://bugs.webkit.org/show_bug.cgi?id=35056
515
516         Test: fast/forms/menulist-disabled-selected-option.html
517
518         * dom/OptionElement.h:
519         * dom/SelectElement.cpp:
520         (WebCore::SelectElement::appendFormData):
521          If a selected option is disabled, skip it.
522          Remove code for non-selected menulist because of compatibility with
523          other browsers.
524
525 2010-03-15  Leandro Pereira  <leandro@profusion.mobi>
526
527         Reviewed by Holger Freyther.
528
529         Add EFL port files to platform/efl.
530         http://webkit.org/b/35884
531
532         * platform/efl/FileSystemEfl.cpp: Added.
533
534 2010-03-15  Leandro Pereira  <leandro@profusion.mobi>
535
536         Reviewed by Holger Freyther.
537
538         Add EFL port files to platform/efl.
539         http://webkit.org/b/35882
540
541         * platform/efl/ContextMenuItemEfl.cpp: Added.
542
543 2010-03-15  Joanmarie Diggs  <joanmarie.diggs@gmail.com>
544
545         Reviewed by Holger Freyther.
546
547         https://bugs.webkit.org/show_bug.cgi?id=35502
548         [Gtk] Objects of ATK_ROLE_TABLE should not implement AtkText
549
550         Simple change to stop tables from implementing AtkText.
551
552         * accessibility/gtk/AccessibilityObjectAtk.cpp:
553         (getInterfaceMaskFromObject):
554
555 2010-03-15  Adam Bergkvist  <adam.bergkvist@ericsson.com>
556
557         Reviewed by Adam Barth.
558
559         According to the updated specification, a data field should always
560         result in a newline character being appended to the data buffer
561         regardless if the data buffer contains any data or not. However, upon
562         event dispatch, the last newline will be removed. This differs from an
563         older version of the specification where a newline character was
564         appended before the data value only if the buffer already contained
565         data. As a result, EventSource now supports receiving events with empty
566         data or newline characters only.
567         https://bugs.webkit.org/show_bug.cgi?id=33210
568
569         * page/EventSource.cpp:
570         (WebCore::EventSource::parseEventStreamLine):
571
572 2010-03-15  Valters Svabe  <vsvabe@gmail.com>
573
574         Reviewed by Darin Adler.
575
576         :after selector displays in wrong place with nested div
577         https://bugs.webkit.org/show_bug.cgi?id=32288
578         
579         Make sure we don't append things after :after-generated content, if
580         it's inside an anonymous block.
581
582         Test: fast/css-generated-content/block-after.html
583
584         * rendering/RenderBlock.cpp:
585         (WebCore::RenderBlock::addChild):
586
587 2010-03-15  Leandro Pereira  <leandro@profusion.mobi>
588
589         Reviewed by Eric Seidel.
590
591         Add EFL port files to platform/efl.
592         http://webkit.org/b/35885
593
594         * platform/efl/KURLEfl.cpp: Added.
595
596 2010-03-15  Chris Fleizach  <cfleizach@apple.com>
597
598         Reviewed by Beth Dakin.
599
600         VO not able to perform a VO-spacebar on facebook links
601         https://bugs.webkit.org/show_bug.cgi?id=36132
602
603         When a label element is used as a click event handler, and it doesn't have any
604         corresponding control, it should handle the action itself.
605
606         Test: accessibility/label-element-press.html
607
608         * html/HTMLLabelElement.cpp:
609         (WebCore::HTMLLabelElement::accessKeyAction):
610
611 2010-03-15  Cameron Zwarich  <zwarich@apple.com>
612
613         Reviewed by Geoff Garen.
614
615         Bug 36135 - GCController::garbageCollectNow() crashes when called from garbage collection
616         <https://bugs.webkit.org/show_bug.cgi?id=36135>
617         <rdar://problem/7752552>
618
619         * bindings/js/GCController.cpp:
620         (WebCore::GCController::garbageCollectNow): Fail silently if garbage collection is
621         active rather than hitting the CRASH() reentrancy guard.
622
623 2010-03-15  Simon Fraser  <simon.fraser@apple.com>
624
625         Reviewed by Dan Bernstein.
626
627         Drop out of compositing mode when no elements need to composite
628         https://bugs.webkit.org/show_bug.cgi?id=36134
629
630         When no more elements on the page need to be composited, drop out of compositing
631         mode altogether, including removing the layer-backed view that hosts the layers.
632
633         * rendering/RenderLayerCompositor.cpp:
634         (WebCore::RenderLayerCompositor::updateCompositingLayers): If the list of child layers to attach at
635         the root is empty, we have no composited layers, and can drop out of compositing mode by calling
636         willMoveOffscreen().
637         
638         (WebCore::RenderLayerCompositor::computeCompositingRequirements): In several places,
639         use willBeComposited rather than calling needsToBeComposited(), because it avoids
640         recomputing state that we know already (but assert that we're getting it right).
641         When we're assessing the root layer in post-order, see if we have any child layers that
642         are compositing, and also whether the root itself needs to composite. If neither are
643         true, then we can drop out of compositing mode.
644         
645         (WebCore::RenderLayerCompositor::needsToBeComposited):
646         (WebCore::RenderLayerCompositor::requiresCompositingLayer): Move the
647         "inCompositingMode() && layer->isRootLayer()" test out of requiresCompositingLayer()
648         and into needsToBeComposited() so that we can call requiresCompositingLayer() separately
649         on the root layer above.
650
651 2010-03-15  Leandro Pereira  <leandro@profusion.mobi>
652
653         Reviewed by Kenneth Rohde Christiansen.
654
655         Add EFL port files to platform/efl.
656         http://webkit.org/b/35888
657
658         * platform/efl/SoundEfl.cpp: Added.
659
660 2010-03-15  Andy Estes  <aestes@apple.com>
661
662         Reviewed by John Sullivan.
663
664         For continuous scrolling devices on the Mac (trackpads and Mighty/Magic
665         Mice), set the number of wheel ticks equal to the atomic increment of
666         the device: a pixel.  This ensures that any scrolling action will
667         generate at least one wheel tick, regardless of the speed/length of
668         the gesture.
669
670         https://bugs.webkit.org/show_bug.cgi?id=29601
671         <rdar://problem/7453254>
672
673         Tests: fast/events/continuous-platform-wheelevent-in-scrolling-div.html
674                fast/events/platform-wheelevent-in-scrolling-div.html
675
676         * platform/mac/WebCoreSystemInterface.h: Modify method signature.
677         * platform/mac/WebCoreSystemInterface.mm: Ditto.
678         * platform/mac/WheelEventMac.mm:
679         (WebCore::PlatformWheelEvent::PlatformWheelEvent): Call into
680         WebKitSystemInterface to determine both wheelTicksX/Y and deltaX/Y.
681         WKSI will query the event system for number of wheel ticks and
682         pixels/lines scrolled based on the device type.
683
684 2010-03-15  Philippe Normand  <pnormand@igalia.com>
685
686         Reviewed by Gustavo Noronha Silva.
687
688         [GStreamer] duration query optimizations
689         https://bugs.webkit.org/show_bug.cgi?id=36116
690
691         Don't reattempt duration queries that previously failed and cache
692         media duration only if it's known.
693
694         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
695         (WebCore::MediaPlayerPrivate::MediaPlayerPrivate):
696         (WebCore::MediaPlayerPrivate::duration):
697         (WebCore::MediaPlayerPrivate::updateStates):
698         (WebCore::MediaPlayerPrivate::durationChanged):
699         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
700
701 2010-03-11  Peter Kasting  <pkasting@google.com>
702
703         Reviewed by Adam Barth.
704
705         Clean up more bits of the open-source image decoders.  In addition to
706         simplifying things somewhat, this makes all the decoders the same in
707         terms of how they construct "image reader" subclasses and init scale
708         data.
709
710         https://bugs.webkit.org/show_bug.cgi?id=36040
711
712         No functional change, so no tests.
713
714         * platform/image-decoders/ImageDecoder.h: Reorder a few declarations to try and group/order members slightly better.
715         (WebCore::ImageDecoder::ImageDecoder):
716         * platform/image-decoders/gif/GIFImageDecoder.cpp: Move reader construction into decode().  Prep scale data in setSize().  Remove useless comment.
717         (WebCore::GIFImageDecoder::setData):
718         (WebCore::GIFImageDecoder::setSize):
719         (WebCore::GIFImageDecoder::frameBufferAtIndex):
720         (WebCore::GIFImageDecoder::decode):
721         * platform/image-decoders/gif/GIFImageDecoder.h: Prep scale data in setSize().
722         * platform/image-decoders/gif/GIFImageReader.cpp: Prep scale data in setSize().
723         (GIFImageReader::read):
724         * platform/image-decoders/ico/ICOImageDecoder.cpp: Shorten code.
725         (WebCore::ICOImageDecoder::setSize):
726         * platform/image-decoders/jpeg/JPEGImageDecoder.cpp: Fix style.  Move reader construction into decode().
727         (WebCore::JPEGImageReader::close):
728         (WebCore::JPEGImageReader::skipBytes):
729         (WebCore::JPEGImageDecoder::decode):
730         * platform/image-decoders/jpeg/JPEGImageDecoder.h: Move reader construction into decode().
731         (WebCore::JPEGImageDecoder::filenameExtension):
732         * platform/image-decoders/png/PNGImageDecoder.cpp: Move reader construction into decode().  Track completion on decoder, not reader.  Prep scale data in setSize().  Remove useless comment.
733         (WebCore::PNGImageReader::PNGImageReader):
734         (WebCore::PNGImageReader::close):
735         (WebCore::PNGImageReader::decode):
736         (WebCore::PNGImageDecoder::setSize):
737         (WebCore::PNGImageDecoder::frameBufferAtIndex):
738         (WebCore::PNGImageDecoder::headerAvailable):
739         (WebCore::PNGImageDecoder::pngComplete):
740         (WebCore::PNGImageDecoder::decode):
741         * platform/image-decoders/png/PNGImageDecoder.h: Move reader construction into decode().  Track completion on decoder, not reader.  Prep scale data in setSize().
742         (WebCore::PNGImageDecoder::filenameExtension):
743         (WebCore::PNGImageDecoder::isComplete):
744
745 2010-03-15  Philippe Normand  <pnormand@igalia.com>
746
747         Reviewed by Gustavo Noronha Silva.
748
749         [GStreamer] updateStates called for all elements posting a state-change
750         https://bugs.webkit.org/show_bug.cgi?id=36115
751
752         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
753         (WebCore::mediaPlayerPrivateMessageCallback): Update player state
754         only for state-change messages coming from playbin2 directly.
755         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
756         (WebCore::MediaPlayerPrivate::pipeline): public accessor for the
757         playbin element.
758
759 2010-03-15  Jian Li  <jianli@chromium.org>
760
761         Reviewed by Nate Chapin.
762
763         [v8] Add V8 bindings for DOMFormData.
764         https://bugs.webkit.org/show_bug.cgi?id=36026
765
766         Test: http/tests/local/send-form-data.html
767
768         * Android.v8bindings.mk:
769         * WebCore.gypi:
770         * bindings/v8/V8Index.h:
771         * bindings/v8/custom/V8DOMFormDataCustom.cpp: Added.
772         * bindings/v8/custom/V8XMLHttpRequestCustom.cpp:
773         (WebCore::V8XMLHttpRequest::sendCallback):
774
775 2010-03-15  Jian Li  <jianli@chromium.org>
776
777         Reviewed by Sam Weinig.
778
779         Add DOMFormData.idl to expose FormData interface.
780         https://bugs.webkit.org/show_bug.cgi?id=36024
781         
782         The implementation is based on XMLHttpRequest 2 spec:
783         http://dev.w3.org/2006/webapi/XMLHttpRequest-2/#formdata
784
785         Test: http/tests/local/send-form-data.html
786
787         * Android.derived.jscbindings.mk:
788         * Android.derived.v8bindings.mk:
789         * Android.jscbindings.mk:
790         * DerivedSources.cpp:
791         * DerivedSources.make:
792         * GNUmakefile.am:
793         * WebCore.pri:
794         * WebCore.vcproj/WebCore.vcproj:
795         * WebCore.xcodeproj/project.pbxproj:
796         * bindings/js/JSDOMFormDataCustom.cpp: Added.
797         * bindings/js/JSXMLHttpRequestCustom.cpp:
798         (WebCore::JSXMLHttpRequest::send):
799         * bindings/scripts/CodeGeneratorJS.pm:
800         * html/DOMFormData.idl: Added.
801         * page/DOMWindow.idl:
802
803 2010-03-15  Patrik Persson  <patrik.j.persson@ericsson.com>
804
805         Reviewed by Darin Adler.
806
807         https://bugs.webkit.org/show_bug.cgi?id=32369
808
809         Revise iframe sandbox behavior to match the updated HTML5 spec.
810
811         - Enables window.sessionStorage in sandboxed iframes.
812
813         - Raises SECURITY_ERR exceptions when window.localStorage or
814           window.openDatabase() is blocked by iframe sandboxing.
815
816           Note: window.sessionStorage does not raise exceptions.
817
818         WebKit would previously return null references in these cases.  The
819         new behavior is in accordance with HTML5:
820
821           http://dev.w3.org/html5/webstorage/   (sections 4.2 and 4.3)
822           http://dev.w3.org/html5/webdatabase/  (section 4.1)
823           http://www.mail-archive.com/whatwg@lists.whatwg.org/msg19786.html
824
825         * inspector/InspectorController.cpp:
826         (WebCore::InspectorController::selectDOMStorage): exception handling
827         * inspector/InspectorDOMStorageResource.cpp:
828         (WebCore::InspectorDOMStorageResource::handleEvent): exception handling
829         * page/DOMWindow.cpp:
830         (WebCore::DOMWindow::sessionStorage): re-enabled in iframe sandbox
831         (WebCore::DOMWindow::localStorage): raise exception rather than return null
832         (WebCore::DOMWindow::openDatabase): raise exception rather than return null
833         * page/DOMWindow.h: added exceptions to interface
834         * page/DOMWindow.idl: added exceptions to interface
835         * page/SecurityOrigin.h:
836         (WebCore::SecurityOrigin::canAccessLocalStorage): renamed function to reflect its purpose
837         * storage/StorageEventDispatcher.cpp:
838         (WebCore::StorageEventDispatcher::dispatch): exception handling
839
840 2010-03-15  Alexander Pavlov  <apavlov@chromium.org>
841
842         Reviewed by Timothy Hatcher.
843
844         Web Inspector: Implement a progress indicator in the Audits panel
845         when resources are reloading
846         https://bugs.webkit.org/show_bug.cgi?id=35971
847
848         * English.lproj/localizedStrings.js:
849         * GNUmakefile.am:
850         * WebCore.gypi:
851         * inspector/front-end/AuditLauncherView.js:
852         (WebInspector.AuditLauncherView.prototype.updateResourceTrackingState):
853         (WebInspector.AuditLauncherView.prototype.get totalResources):
854         (WebInspector.AuditLauncherView.prototype.set totalResources):
855         (WebInspector.AuditLauncherView.prototype.get loadedResources):
856         (WebInspector.AuditLauncherView.prototype.set loadedResources):
857         (WebInspector.AuditLauncherView.prototype._resetResourceCount):
858         (WebInspector.AuditLauncherView.prototype.resourceStarted):
859         (WebInspector.AuditLauncherView.prototype.resourceFinished):
860         (WebInspector.AuditLauncherView.prototype.reset):
861         (WebInspector.AuditLauncherView.prototype._setAuditRunning):
862         (WebInspector.AuditLauncherView.prototype._launchButtonClicked):
863         (WebInspector.AuditLauncherView.prototype._createCategoryElement):
864         (WebInspector.AuditLauncherView.prototype._createLauncherUI):
865         (WebInspector.AuditLauncherView.prototype._updateResourceProgress):
866         (WebInspector.AuditLauncherView.prototype._updateButton):
867         * inspector/front-end/AuditsPanel.js:
868         (WebInspector.AuditsPanel.prototype.resourceStarted):
869         (WebInspector.AuditsPanel.prototype.resourceFinished):
870         (WebInspector.AuditsPanel.prototype.reset):
871         * inspector/front-end/Images/spinner.gif: Added.
872         * inspector/front-end/WebKit.qrc:
873         * inspector/front-end/audits.css:
874         (.audit-launcher-view .resource-progress > img):
875         * inspector/front-end/inspector.js:
876         (WebInspector.updateResource):
877
878 2010-03-15  Philippe Normand  <pnormand@igalia.com>
879
880         Reviewed by Gustavo Noronha Silva.
881
882         [GStreamer] replace g_idle_add / g_timeout_add calls with Timers in the gstreamer player
883         https://bugs.webkit.org/show_bug.cgi?id=35735
884
885         Replaced g_idle_add calls with Timers immediately started once
886         only. The g_timeout_add was replaced by a periodic Timer.
887
888         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
889         (WebCore::MediaPlayerPrivate::MediaPlayerPrivate):
890         (WebCore::MediaPlayerPrivate::~MediaPlayerPrivate):
891         (WebCore::MediaPlayerPrivate::volumeChangedTimerFired):
892         (WebCore::MediaPlayerPrivate::volumeChanged):
893         (WebCore::MediaPlayerPrivate::processBufferingStats):
894         (WebCore::MediaPlayerPrivate::fillTimerFired):
895         (WebCore::MediaPlayerPrivate::maxTimeLoaded):
896         (WebCore::MediaPlayerPrivate::updateStates):
897         (WebCore::MediaPlayerPrivate::muteChangedTimerFired):
898         (WebCore::MediaPlayerPrivate::muteChanged):
899         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
900
901 2010-03-12  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
902
903         Reviewed by Eric Carlson.
904
905         media/video-preload.html fails
906         https://bugs.webkit.org/show_bug.cgi?id=35793
907
908         Only effectively load, and start buffering when playing, or when
909         the preload attribute is set.
910
911         Test: media/video-preload.html
912
913         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
914         (WebCore::MediaPlayerPrivate::MediaPlayerPrivate):
915         (WebCore::MediaPlayerPrivate::load):
916         (WebCore::MediaPlayerPrivate::commitLoad):
917         (WebCore::MediaPlayerPrivate::prepareToPlay):
918         (WebCore::MediaPlayerPrivate::setPreload):
919         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
920
921 2010-03-15  Shu Chang  <Chang.Shu@nokia.com>
922
923         Reviewed by Holger Freyther.
924
925         [Qt] The behavior of QGradient with no stops is defined differently from HTML5 spec,
926         where the latter requires the gradient to be transparent black. Explicitly added a
927         transparent black color stop to match the HTML5 behavior.
928         https://bugs.webkit.org/show_bug.cgi?id=36060
929
930         * platform/graphics/qt/GradientQt.cpp:
931         (WebCore::Gradient::platformGradient):
932
933 2010-03-11  Antonio Gomes  <tonikitoo@webkit.org>
934
935         Rubber-stamped by Holger Freyther.
936         Patch by Antonio Gomes <tonikitoo@webkit.org>
937
938         Some minor code clean ups in SpatialNavigation.cpp
939
940         * page/SpatialNavigation.cpp:
941         (WebCore::distanceInDirection):
942         (WebCore::deflateIfOverlapped):
943
944 2010-03-13  Ilya Tikhonovsky  <loislo@chromium.org>
945
946         Reviewed by Timothy Hatcher.
947
948         WebInspector: Position of GraphBar elements is calculating more carefully
949         and they fully visible at the bottom of Timeline panel.
950        
951         http://bugs.webkit.org/show_bug.cgi?id=35966
952
953         * inspector/front-end/TimelinePanel.js:
954         (WebInspector.TimelineRecordGraphRow.prototype.update):
955
956 2010-03-15  MORITA Hajime  <morrita@google.com>
957
958         Reviewed by Alexey Proskuryakov.
959
960         Selection.modify extends too far with 'lineboundary'.
961         https://bugs.webkit.org/show_bug.cgi?id=33413
962
963         Selection.modify() with 'lineboundary' granularity implies just
964         "Go to the end of the line", unlike selection expansion with
965         other type of granularities. This change handled LineGranularity
966         as special case, to look-up end of line with UPSTREAM affinity. 
967         Doing this prevents look-up algorithm to go next line.
968
969         Test: editing/selection/extend-selection-expected.txt
970
971         * dom/Position.cpp:
972         (WebCore::Position::getInlineBoxAndOffset):
973         Handled an edge case for node look-up with UPSTREAM.
974         * editing/SelectionController.cpp:
975         (WebCore::SelectionController::modifyExtendingForward):
976         Added UPSTREAM tweak for the case for LineGranularity.
977         
978 2010-03-14  Yuzo Fujishima  <yuzo@google.com>
979
980         Reviewed by Shinichiro Hamaji.
981
982         Always call PrintContext.end() from PrintContext::pageNumberForElement().
983
984         Without this change, WebKit remains in printing mode after determining the page number if the specified element is found.
985
986         https://bugs.webkit.org/show_bug.cgi?id=36049
987
988         Test: printing/return-from-printing-mode.html
989
990         * page/PrintContext.cpp:
991         (WebCore::PrintContext::pageNumberForElement):
992
993 2010-03-11  Philippe Normand  <pnormand@igalia.com>
994
995         Reviewed by Gustavo Noronha Silva.
996
997         [GStreamer] progressTimer never stopped after EOS
998         https://bugs.webkit.org/show_bug.cgi?id=36007
999
1000         Mark the pipeline as paused only if playback hasn't ended
1001         yet. When didEnd() is triggered, the pipeline is paused (but
1002         paused() still returns false) and a timeupdate event is fired,
1003         those 2 conditions allow the HTMLMediaElement to stop the
1004         progressTimer (in updatePlayerState, via mediaPlayerTimeChanged).
1005
1006         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
1007         (WebCore::MediaPlayerPrivate::updateStates):
1008
1009 2010-03-14  Chang Shu  <chang.shu@nokia.com>
1010
1011         Reviewed by Simon Hausmann.
1012
1013         [Qt] [Symbian] Added block for ENABLE_SYMBIAN_DIALOG_PROVIDERS
1014         on Symbian platform.
1015         https://bugs.webkit.org/show_bug.cgi?id=35919
1016
1017         * WebCore.pro:
1018
1019 2010-03-14  Yael Aharon  <yael.aharon@nokia.com>
1020
1021         Reviewed by Darin Adler.
1022
1023         Support for HTMLProgressElement
1024         https://bugs.webkit.org/show_bug.cgi?id=35937
1025
1026         Added support for HTMLProgressElement.
1027         This implementation is enabled only for Qt, because only RenderThemeQt
1028         was modified to actually draw the progress element.
1029         The labels attribute of the progress element will be implemented in a
1030         separate patch.
1031
1032         Tests: fast/dom/HTMLProgressElement/progress-element.html
1033                fast/dom/HTMLProgressElement/set-progress-properties.html
1034
1035         * DerivedSources.cpp:
1036         * DerivedSources.make:
1037         * GNUmakefile.am:
1038         * WebCore.gypi:
1039         * WebCore.pri:
1040         * WebCore.pro:
1041         * WebCore.vcproj/WebCore.vcproj:
1042         * WebCore.xcodeproj/project.pbxproj:
1043         * css/CSSPrimitiveValueMappings.h:
1044         (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
1045         * css/CSSSelector.cpp:
1046         (WebCore::CSSSelector::extractPseudoType):
1047         * css/CSSValueKeywords.in:
1048         * css/html.css:
1049         * html/HTMLElement.cpp:
1050         (WebCore::inlineTagList):
1051         * html/HTMLElementsAllInOne.cpp:
1052         * html/HTMLFormControlElement.cpp:
1053         (WebCore::HTMLFormControlElement::HTMLFormControlElement):
1054         * html/HTMLFormControlElement.h:
1055         * html/HTMLProgressElement.cpp: Added.
1056         (WebCore::HTMLProgressElement::HTMLProgressElement):
1057         (WebCore::HTMLProgressElement::create):
1058         (WebCore::HTMLProgressElement::createRenderer):
1059         (WebCore::HTMLProgressElement::formControlType):
1060         (WebCore::HTMLProgressElement::parseMappedAttribute):
1061         (WebCore::HTMLProgressElement::value):
1062         (WebCore::HTMLProgressElement::setValue):
1063         (WebCore::HTMLProgressElement::max):
1064         (WebCore::HTMLProgressElement::setMax):
1065         (WebCore::HTMLProgressElement::position):
1066         * html/HTMLProgressElement.h: Added.
1067         (WebCore::HTMLProgressElement::isOptionalFormControl):
1068         * html/HTMLProgressElement.idl: Added.
1069         * html/HTMLTagNames.in:
1070         * page/DOMWindow.idl:
1071         * platform/ThemeTypes.h:
1072         * platform/qt/RenderThemeQt.cpp:
1073         (WebCore::RenderThemeQt::adjustProgressBarStyle):
1074         (WebCore::RenderThemeQt::paintProgressBar):
1075         * platform/qt/RenderThemeQt.h:
1076         * rendering/RenderObject.h:
1077         (WebCore::RenderObject::isProgress):
1078         * rendering/RenderProgress.cpp: Added.
1079         (WebCore::RenderProgress::RenderProgress):
1080         (WebCore::RenderProgress::baselinePosition):
1081         (WebCore::RenderProgress::calcPrefWidths):
1082         (WebCore::RenderProgress::layout):
1083         (WebCore::RenderProgress::updateFromElement):
1084         * rendering/RenderProgress.h: Added.
1085         (WebCore::RenderProgress::renderName):
1086         (WebCore::RenderProgress::isProgress):
1087         (WebCore::toRenderProgress):
1088         * rendering/RenderTheme.cpp:
1089         (WebCore::RenderTheme::adjustStyle):
1090         (WebCore::RenderTheme::paint):
1091         (WebCore::RenderTheme::paintBorderOnly):
1092         (WebCore::RenderTheme::paintDecorations):
1093         (WebCore::RenderTheme::adjustProgressBarStyle):
1094         * rendering/RenderTheme.h:
1095         (WebCore::RenderTheme::paintProgressBar):
1096
1097 2010-03-14  Oliver Hunt  <oliver@apple.com>
1098
1099         Reviewed by Darin Adler.
1100
1101         REGRESSION(r53287): drop event is not fired if dataTransfer.dropEffect is not explicitly set
1102         https://bugs.webkit.org/show_bug.cgi?id=36095
1103
1104         The issue here is that while dropEffect is meant to be initialized
1105         to "none", the behaviour of the drag is differs between dragEffect
1106         not being set and dragEffect being explicitly set to "none"
1107
1108         This patch corrects this behaviour by making Clipboard distinguish
1109         between the initial "none" value of dropEffect and an explicit "none".
1110         This alone is insufficient for correct behaviour, we also need to
1111         resurrect the removed defaultOperationForDrag function, but we now
1112         use the function only when dragEffect is uninitialized.  There are a
1113         few tweaks to the behaviour of the defaultOperationForDrag as well
1114         to ensure exactly the same set of outcomes for all cases that we
1115         may hit it.
1116
1117         * dom/Clipboard.cpp:
1118         (WebCore::Clipboard::Clipboard):
1119         (WebCore::dragOpFromIEOp):
1120         (WebCore::Clipboard::destinationOperation):
1121         * dom/Clipboard.h:
1122         (WebCore::Clipboard::dropEffect):
1123         (WebCore::Clipboard::dropEffectIsUninitialized):
1124         * page/DragController.cpp:
1125         (WebCore::defaultOperationForDrag):
1126         (WebCore::DragController::tryDHTMLDrag):
1127
1128 2010-03-14  Antti Koivisto  <koivisto@iki.fi>
1129
1130         Reviewed by Simon Hausmann.
1131         
1132         https://bugs.webkit.org/show_bug.cgi?id=35146
1133         Support tiled backing store
1134
1135         Implements a basic tiled backing store mechanism. Tiles are created and 
1136         deleted on demand. The page content is cached to the tiles. Tile content
1137         is kept in sync with the document. Since the backing store covers area
1138         larger than the currently visible viewport, the document can be scrolled
1139         quickly without having to enter rendering tree painting.
1140         
1141         The tile management code is platform independent. This patch has simple QPixmap
1142         based tile implementation for Qt.
1143         
1144         The feature is behind ENABLE_TILED_BACKING_STORE flag.
1145
1146         * WebCore.pri:
1147         * WebCore.pro:
1148         * page/Frame.cpp:
1149         (WebCore::Frame::Frame):
1150         (WebCore::Frame::setTiledBackingStoreEnabled):
1151         (WebCore::Frame::tiledBackingStorePaintBegin):
1152         (WebCore::Frame::tiledBackingStorePaint):
1153         (WebCore::Frame::tiledBackingStorePaintEnd):
1154         (WebCore::Frame::tiledBackingStoreContentsRect):
1155         * page/Frame.h:
1156         (WebCore::Frame::tiledBackingStore):
1157         * page/FrameView.cpp:
1158         (WebCore::FrameView::repaintContentRectangle):
1159         (WebCore::FrameView::doDeferredRepaints):
1160         * page/Settings.cpp:
1161         (WebCore::Settings::Settings):
1162         (WebCore::Settings::setTiledBackingStoreEnabled):
1163         * page/Settings.h:
1164         (WebCore::Settings::tiledBackingStoreEnabled):
1165         * platform/graphics/Tile.h: Added.
1166         (WebCore::Tile::create):
1167         (WebCore::Tile::coordinate):
1168         (WebCore::Tile::rect):
1169         * platform/graphics/TiledBackingStore.cpp: Added.
1170         (WebCore::TiledBackingStore::TiledBackingStore):
1171         (WebCore::TiledBackingStore::~TiledBackingStore):
1172         (WebCore::TiledBackingStore::invalidate):
1173         (WebCore::TiledBackingStore::updateTileBuffers):
1174         (WebCore::TiledBackingStore::paint):
1175         (WebCore::TiledBackingStore::viewportChanged):
1176         (WebCore::TiledBackingStore::setContentsScale):
1177         (WebCore::TiledBackingStore::tileDistance):
1178         (WebCore::TiledBackingStore::createTiles):
1179         (WebCore::TiledBackingStore::dropOverhangingTiles):
1180         (WebCore::TiledBackingStore::dropTilesOutsideRect):
1181         (WebCore::TiledBackingStore::tileAt):
1182         (WebCore::TiledBackingStore::setTile):
1183         (WebCore::TiledBackingStore::removeTile):
1184         (WebCore::TiledBackingStore::mapToContents):
1185         (WebCore::TiledBackingStore::mapFromContents):
1186         (WebCore::TiledBackingStore::contentsRect):
1187         (WebCore::TiledBackingStore::tileRectForCoordinate):
1188         (WebCore::TiledBackingStore::tileCoordinateForPoint):
1189         (WebCore::TiledBackingStore::startTileBufferUpdateTimer):
1190         (WebCore::TiledBackingStore::tileBufferUpdateTimerFired):
1191         (WebCore::TiledBackingStore::startTileCreationTimer):
1192         (WebCore::TiledBackingStore::tileCreationTimerFired):
1193         (WebCore::TiledBackingStore::setContentsFrozen):
1194         * platform/graphics/TiledBackingStore.h: Added.
1195         (WebCore::TiledBackingStore::contentsScale):
1196         (WebCore::TiledBackingStore::contentsFrozen):
1197         * platform/graphics/TiledBackingStoreClient.h: Added.
1198         * platform/graphics/qt/TileQt.cpp: Added.
1199         (WebCore::checkeredPixmap):
1200         (WebCore::Tile::Tile):
1201         (WebCore::Tile::~Tile):
1202         (WebCore::Tile::isDirty):
1203         (WebCore::Tile::isReadyToPaint):
1204         (WebCore::Tile::invalidate):
1205         (WebCore::Tile::updateBackBuffer):
1206         (WebCore::Tile::swapBackBufferToFront):
1207         (WebCore::Tile::paint):
1208         (WebCore::Tile::paintCheckerPattern):
1209
1210 2010-03-14  Dan Bernstein  <mitz@apple.com>
1211
1212         Reviewed by Darin Adler.
1213
1214         WebCore part of removing support for legacy versions of Core Graphics
1215
1216         * WebCore.vcproj/WebCore.vcproj: Removed FontDatabase.{cpp,h}
1217         * platform/graphics/win/FontCGWin.cpp:
1218         (WebCore::Font::drawGlyphs): Removed call to wkCanCreateCGFontWithLOGFONT(),
1219         as it is now always true.
1220         * platform/graphics/win/FontCacheWin.cpp:
1221         (WebCore::FontCache::createFontPlatformData): Ditto.
1222         * platform/graphics/win/FontCustomPlatformData.cpp:
1223         (WebCore::FontCustomPlatformData::~FontCustomPlatformData): Updated for
1224         the removal of m_cgFont.
1225         (WebCore::FontCustomPlatformData::fontPlatformData): Removed call to
1226         wkCanCreateCGFontWithLOGFONT(), as it is now always true.
1227         (WebCore::createFontCustomPlatformData): Ditto. Also updated for change to
1228         the FontCustomPlatformData constructor.
1229         * platform/graphics/win/FontCustomPlatformData.h: Removed m_cgFont member.
1230         (WebCore::FontCustomPlatformData::FontCustomPlatformData): Removed cgFont
1231         parameter.
1232         * platform/graphics/win/FontDatabase.cpp: Removed.
1233         * platform/graphics/win/FontDatabase.h: Removed.
1234         * platform/graphics/win/FontPlatformDataCGWin.cpp:
1235         (WebCore::FontPlatformData::platformDataInit): Removed call to
1236         wkCanCreateCGFontWithLOGFONT(), as it is now always true.
1237         * platform/win/TemporaryLinkStubs.cpp:
1238         (WebCore::populateFontDatabase): Removed stub.
1239
1240 2010-03-14  Jessie Berlin  <jberlin@webkit.org>
1241
1242         Reviewed by Sam Weinig.
1243
1244         "event.ctrlKey" is always false when dragging an element with "ctrl" key down
1245         https://bugs.webkit.org/show_bug.cgi?id=17113
1246
1247         No new tests.
1248
1249         * page/DragController.cpp:
1250         (WebCore::createMouseEvent):
1251         Use the current state of the shift, ctrl, alt, and meta keys when creating the drag mouse event.
1252
1253 2010-03-13  Antonio Gomes  <tonikitoo@webkit.org>
1254
1255         Not reviewed identation fix.
1256
1257         * manual-tests/spatial-navigation/spatial-navigation-test-cases.html:
1258
1259 2010-03-13  Kim Grönholm  <kim.gronholm@nomovok.com>
1260
1261         Reviewed by Kenneth Rohde Christiansen.
1262
1263         [Qt] GraphicsLayer: Opacity change from zero to non-zero doesn't always have effect with AC
1264         https://bugs.webkit.org/show_bug.cgi?id=36034
1265
1266         * platform/graphics/qt/GraphicsLayerQt.cpp:
1267         (WebCore::OpacityAnimationQt::applyFrame):
1268
1269 2010-03-13  Kim Grönholm  <kim.gronholm@nomovok.com>
1270
1271         Reviewed by Kenneth Rohde Christiansen.
1272
1273         [Qt] GraphicsLayer: Opacity transitions end with begin value
1274         https://bugs.webkit.org/show_bug.cgi?id=36019
1275
1276         * platform/graphics/qt/GraphicsLayerQt.cpp:
1277         (WebCore::AnimationQt::updateCurrentTime):
1278
1279 2010-03-13  Dirk Schulze  <krit@webkit.org>
1280
1281         No review, rolling out r55927.
1282         http://trac.webkit.org/changeset/55927
1283         https://bugs.webkit.org/show_bug.cgi?id=35793
1284
1285         Breaks Gtk build bots.
1286
1287         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
1288         (WebCore::MediaPlayerPrivate::MediaPlayerPrivate):
1289         (WebCore::MediaPlayerPrivate::load):
1290         (WebCore::MediaPlayerPrivate::setPreload):
1291         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
1292
1293 2010-03-12  Dirk Schulze  <krit@webkit.org>
1294
1295         Reviewed by Nikolas Zimmermann.
1296
1297         SVG Glyphs - transform path not context
1298         https://bugs.webkit.org/show_bug.cgi?id=36070
1299
1300         SVGFont should transform the path of a glyph, not the context. Modifying
1301         the context causes wrong gradient transformations. This bug doesn't
1302         influence CG because we generally fill or stroke texts with a mask image.
1303         All other platforms provide a direct way to make the drawings.
1304
1305         * svg/SVGFont.cpp:
1306         (WebCore::Font::drawTextUsingSVGFont):
1307
1308 2010-03-12  Beth Dakin  <bdakin@apple.com>
1309
1310         Reviewed by Simon Fraser.
1311
1312         Fix for https://bugs.webkit.org/show_bug.cgi?id=34942 Fullscreen 
1313         API naming is inconsistent
1314         -and corresponding-
1315         <rdar://problem/7729165>
1316
1317         This patch changes all occurrences of "fullScreen" to the more 
1318         popular "fullscreen." webkitEnterFullScreen and 
1319         webkitExitFullScreen have been maintained for now for backwards 
1320         compatibility. 
1321
1322         * html/HTMLVideoElement.cpp:
1323         (WebCore::HTMLVideoElement::webkitEnterFullscreen):
1324         (WebCore::HTMLVideoElement::webkitExitFullscreen):
1325         * html/HTMLVideoElement.h:
1326         (WebCore::HTMLVideoElement::webkitEnterFullScreen):
1327         (WebCore::HTMLVideoElement::webkitExitFullScreen):
1328         * html/HTMLVideoElement.idl:
1329         * platform/graphics/mac/MediaPlayerProxy.h:
1330
1331 2010-03-12  James Robinson  <jamesr@chromium.org>
1332
1333         Reviewed by Adam Barth.
1334
1335         Add virtual destructor to DOMWrapperWorld
1336         https://bugs.webkit.org/show_bug.cgi?id=36077
1337
1338         DOMWrapperWorld is RefCounted<DOMWrapperWorld>.  IsolatedWorld
1339         inherits from DOMWrapperWorld and has member variables
1340         with destructors, so DOMWrapperWorld needs to have a declared virtual
1341         d'tor to ensure that its derived class's destructors are called.
1342
1343         No new tests, no change in behavior
1344
1345         * bindings/v8/DOMWrapperWorld.h:
1346         (WebCore::DOMWrapperWorld::~DOMWrapperWorld):
1347
1348
1349 2010-03-11  Gavin Barraclough  <barraclough@apple.com>
1350
1351         Reviewed by Oliver Hunt.
1352
1353         Bug 36075 - Clean up screwyness re static string impls & Identifiers.
1354
1355         * platform/text/StringImpl.cpp:
1356         (WebCore::StringImpl::~StringImpl): Add ASSERT
1357         (WebCore::StringImpl::sharedBuffer): Add ASSERT
1358         * platform/text/StringImpl.h:
1359         (WebCore::StringImpl::setHash): Add ASSERT
1360         (WebCore::StringImpl::isStatic): added.
1361
1362 2010-03-12  Enrica Casucci  <enrica@apple.com>
1363
1364         Reviewed by Simon Fraser.
1365
1366         Content of 3D tests appears at the bottom right corner sometimes.
1367         <rdar://problem/7556244>
1368         <https://bugs.webkit.org/show_bug.cgi?id=36027>
1369
1370         There were two problems to solve here:
1371         - the incorrect anchoring of the rootChildLayer that was causing the composited
1372           content to be positioned incorrectly
1373         - the failure to paint the non composited content into the backing store when
1374           animating composited content.
1375           
1376         The first problem has been solved by leaving the original anchor point for the
1377         rootChildLayer and splitting the tasks of clipping and scrolling using two separate layers.
1378         The second problem has been solved leveraging the knowledge that WebView has of the dirty region
1379         of the backing store to pass this information to the layer renderer. This allows the renderer to force
1380         a paint into the backing store before moving to the compositing.
1381         
1382         Tests: compositing/geometry/horizontal-scroll-composited.html
1383                compositing/geometry/vertical-scroll-composited.html
1384
1385         * manual-tests/win/horizontal-scroll-composited.html: Removed. This is now a layout test.
1386         * manual-tests/win/milliondollar.html: Added.
1387         * platform/graphics/win/WKCACFLayerRenderer.cpp:
1388         (WebCore::WKCACFLayerRenderer::WKCACFLayerRenderer): Added initialization of dirty flag.
1389         (WebCore::WKCACFLayerRenderer::setScrollFrame): 
1390         (WebCore::WKCACFLayerRenderer::updateScrollFrame): Updated to resize and position the clip and scroll layers.
1391         (WebCore::WKCACFLayerRenderer::setRootChildLayer):
1392         (WebCore::WKCACFLayerRenderer::createRenderer): Added new layer hierarchy.
1393         (WebCore::WKCACFLayerRenderer::destroyRenderer): Remove clip layer on destroy.
1394         (WebCore::WKCACFLayerRenderer::resize):
1395         (WebCore::WKCACFLayerRenderer::paint): Forcing paint massage to trigger paint into the backing store.
1396         * platform/graphics/win/WKCACFLayerRenderer.h:
1397         (WebCore::WKCACFLayerRenderer::setBackingStoreDirty): Added.
1398
1399 2010-03-12  Robert Hogan  <robert@webkit.org>
1400
1401         Not reviewed, build fix.
1402
1403         Revert http://trac.webkit.org/projects/webkit/changeset/55374 which broke
1404         the !ENABLE(DATABASE) build on all platforms when attempting to fix the
1405         --minimal build on Qt.
1406
1407         Support for SQLite now seems to be non-negotiable for the Qt build but making
1408         it mandatory requires review, so re-break --minimal Qt build for now.
1409
1410         Qt build issue now tracked at https://bugs.webkit.org/show_bug.cgi?id=36073
1411
1412         * page/GeolocationPositionCache.cpp:
1413
1414 2010-03-12  Dan Bernstein  <mitz@apple.com>
1415
1416         Reviewed by Alexey Proskuryakov.
1417
1418         <rdar://problem/7709115> REGRESSION: toolbar is missing at http://www.glom.org/
1419         https://bugs.webkit.org/show_bug.cgi?id=35507
1420
1421         * css/CSSImportRule.cpp:
1422         (WebCore::CSSImportRule::setCSSStyleSheet): Extend the change made in
1423         <http://trac.webkit.org/changeset/48818> to detect the two variants of
1424         KHTMLFixes.css in @import rules as well as in <link> elements.
1425
1426 2010-03-12  Gavin Barraclough  <barraclough@apple.com>
1427
1428         Reviewed by Geoff Garen.
1429
1430         Bug 36052 - [Qt] REGRESSION(55878) 63 test cases crash
1431
1432         r55878 changed UStringImpl::empty()->characters() to be non-null,
1433         so TextBreakIteratorQt.cpp now should check the length of strings
1434         (previously was assuming all strings with a non-null data pointer
1435         had a length of at least 1).
1436
1437         * platform/text/qt/TextBreakIteratorQt.cpp:
1438         (WebCore::wordBreakIterator):
1439         (WebCore::characterBreakIterator):
1440         (WebCore::lineBreakIterator):
1441         (WebCore::sentenceBreakIterator):
1442
1443 2010-03-12  Dirk Schulze  <krit@webkit.org>
1444
1445         Reviewed by Nikolas Zimmermann.
1446
1447         SVG fallback color doesn't work for bogus gradients.
1448         https://bugs.webkit.org/show_bug.cgi?id=35479
1449
1450         Use a given fallback color on ignored gradients if present. Gradients
1451         must be ignored, if one dimension of the objects boundingBox is zero.
1452
1453         Test: svg/custom/gradient-with-1d-boundingbox.svg
1454
1455         * svg/graphics/SVGPaintServer.cpp:
1456         (WebCore::SVGPaintServer::strokePaintServer):
1457         * svg/graphics/SVGPaintServerGradient.cpp:
1458         (WebCore::SVGPaintServerGradient::setup):
1459
1460 2010-03-12  David Hyatt  <hyatt@apple.com>
1461
1462         Reviewed by Dan Bernstein.
1463
1464         https://bugs.webkit.org/show_bug.cgi?id=36069
1465         
1466         Eliminate InlineRunBox.
1467
1468         * WebCore.xcodeproj/project.pbxproj:
1469         * rendering/InlineFlowBox.cpp:
1470         (WebCore::InlineFlowBox::adjustPosition):
1471         (WebCore::InlineFlowBox::paintFillLayer):
1472         (WebCore::InlineFlowBox::paintBoxDecorations):
1473         (WebCore::InlineFlowBox::paintMask):
1474         * rendering/InlineFlowBox.h:
1475         (WebCore::InlineFlowBox::InlineFlowBox):
1476         (WebCore::InlineFlowBox::prevLineBox):
1477         (WebCore::InlineFlowBox::nextLineBox):
1478         (WebCore::InlineFlowBox::setNextLineBox):
1479         (WebCore::InlineFlowBox::setPreviousLineBox):
1480         * rendering/InlineRunBox.h: Removed.
1481         * rendering/InlineTextBox.h:
1482         (WebCore::InlineTextBox::InlineTextBox):
1483         (WebCore::InlineTextBox::prevTextBox):
1484         (WebCore::InlineTextBox::nextTextBox):
1485         (WebCore::InlineTextBox::setNextTextBox):
1486         (WebCore::InlineTextBox::setPreviousTextBox):
1487         * rendering/RenderBlock.cpp:
1488         (WebCore::RenderBlock::destroy):
1489         (WebCore::RenderBlock::rightmostPosition):
1490         (WebCore::RenderBlock::leftmostPosition):
1491         * rendering/RenderInline.cpp:
1492         (WebCore::RenderInline::destroy):
1493         (WebCore::RenderInline::absoluteRects):
1494         (WebCore::RenderInline::absoluteQuads):
1495         (WebCore::RenderInline::linesBoundingBox):
1496         (WebCore::RenderInline::linesVisibleOverflowBoundingBox):
1497         (WebCore::RenderInline::addFocusRingRects):
1498         (WebCore::RenderInline::paintOutline):
1499         * rendering/RenderLayer.cpp:
1500         (WebCore::RenderLayer::localBoundingBox):
1501         * rendering/RenderLineBoxList.cpp:
1502         (WebCore::RenderLineBoxList::deleteLineBoxTree):
1503         (WebCore::RenderLineBoxList::extractLineBox):
1504         (WebCore::RenderLineBoxList::attachLineBox):
1505         (WebCore::RenderLineBoxList::removeLineBox):
1506         (WebCore::RenderLineBoxList::deleteLineBoxes):
1507         (WebCore::RenderLineBoxList::dirtyLineBoxes):
1508         (WebCore::RenderLineBoxList::paint):
1509         (WebCore::RenderLineBoxList::hitTest):
1510         (WebCore::RenderLineBoxList::dirtyLinesFromChangedChild):
1511         (WebCore::RenderLineBoxList::checkConsistency):
1512         * rendering/RenderSVGInline.cpp:
1513         (WebCore::RenderSVGInline::absoluteRects):
1514         (WebCore::RenderSVGInline::absoluteQuads):
1515         * rendering/RenderSVGText.cpp:
1516         (WebCore::RenderSVGText::absoluteRects):
1517         (WebCore::RenderSVGText::absoluteQuads):
1518         (WebCore::RenderSVGText::objectBoundingBox):
1519         * rendering/RenderText.cpp:
1520         (WebCore::RenderText::extractTextBox):
1521         (WebCore::RenderText::attachTextBox):
1522         (WebCore::RenderText::removeTextBox):
1523         (WebCore::RenderText::createInlineTextBox):
1524         (WebCore::RenderText::positionLineBox):
1525         * rendering/RootInlineBox.h:
1526         (WebCore::RootInlineBox::nextRootBox):
1527         (WebCore::RootInlineBox::prevRootBox):
1528
1529 2010-03-12  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
1530
1531         Reviewed by Eric Carlson.
1532
1533         media/video-preload.html fails
1534         https://bugs.webkit.org/show_bug.cgi?id=35793
1535
1536         Only effectively load, and start buffering when playing, or when
1537         the preload attribute is set.
1538
1539         Test: media/video-preload.html
1540
1541         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
1542         (WebCore::MediaPlayerPrivate::MediaPlayerPrivate):
1543         (WebCore::MediaPlayerPrivate::load):
1544         (WebCore::MediaPlayerPrivate::commitLoad):
1545         (WebCore::MediaPlayerPrivate::prepareToPlay):
1546         (WebCore::MediaPlayerPrivate::setPreload):
1547         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
1548
1549 2010-03-12  Dmitry Titov  <dimich@chromium.org>
1550
1551         Not reviewed, build fix.
1552
1553         Reverts 55920 and 55921. Landing for Jian Li.
1554
1555         * Android.derived.jscbindings.mk:
1556         * Android.derived.v8bindings.mk:
1557         * DerivedSources.cpp:
1558         * DerivedSources.make:
1559         * GNUmakefile.am:
1560         * WebCore.gypi:
1561         * WebCore.pri:
1562         * WebCore.vcproj/WebCore.vcproj:
1563         * WebCore.xcodeproj/project.pbxproj:
1564         * bindings/js/JSDOMFormDataCustom.cpp: Removed.
1565         * bindings/js/JSXMLHttpRequestCustom.cpp:
1566         (WebCore::JSXMLHttpRequest::send):
1567         * bindings/scripts/CodeGeneratorJS.pm:
1568         * bindings/v8/V8Index.h:
1569         * bindings/v8/custom/V8DOMFormDataCustom.cpp: Removed.
1570         * bindings/v8/custom/V8XMLHttpRequestCustom.cpp:
1571         (WebCore::V8XMLHttpRequest::sendCallback):
1572         * html/DOMFormData.idl: Removed.
1573         * page/DOMWindow.idl:
1574
1575 2010-03-12  Jakob Petsovits  <jpetsovits@rim.com>
1576
1577         Reviewed by Dirk Schulze.
1578
1579         [OpenVG] Add support for drawing text to PainterOpenVG
1580         https://bugs.webkit.org/show_bug.cgi?id=35581
1581
1582         Doesn't come with any actual font classes, as OpenVG
1583         by itself doesn't provide any access to platform fonts
1584         but just the means to draw glyphs that have been loaded
1585         manually before.
1586
1587         * platform/graphics/openvg/PainterOpenVG.cpp:
1588         (WebCore::PlatformPainterState::PlatformPainterState):
1589         (WebCore::PlatformPainterState::copyPaintState):
1590         (WebCore::PainterOpenVG::textDrawingMode):
1591         (WebCore::PainterOpenVG::setTextDrawingMode):
1592         (WebCore::PainterOpenVG::drawText):
1593         * platform/graphics/openvg/PainterOpenVG.h:
1594
1595 2010-03-12  Jakob Petsovits  <jpetsovits@rim.com>
1596
1597         Reviewed by Dirk Schulze.
1598
1599         [OpenVG] Use masks to implement non-rectilinear clipping
1600         https://bugs.webkit.org/show_bug.cgi?id=35544
1601
1602         Requires some additional context switching logic to
1603         make sure the right context is current when dealing
1604         with the mask, because we don't store it by ourselves.
1605
1606         Initial version of this code was written by
1607         Eli Fidler <efidler@rim.com>, I did a couple of
1608         bug fixes and efficiency improvements since then.
1609
1610         * platform/graphics/openvg/GraphicsContextOpenVG.cpp:
1611         (WebCore::GraphicsContext::clipPath):
1612         (WebCore::GraphicsContext::clip):
1613         (WebCore::GraphicsContext::clipOut):
1614         (WebCore::GraphicsContext::clipOutEllipseInRect):
1615         (WebCore::GraphicsContext::addInnerRoundedRectClip):
1616         * platform/graphics/openvg/PainterOpenVG.cpp:
1617         (WebCore::PlatformPainterState::PlatformPainterState):
1618         (WebCore::PlatformPainterState::~PlatformPainterState):
1619         (WebCore::PlatformPainterState::maskingEnabled):
1620         (WebCore::PlatformPainterState::applyState):
1621         (WebCore::PlatformPainterState::saveMaskIfNecessary):
1622         (WebCore::PainterOpenVG::intersectClipRect):
1623         (WebCore::PainterOpenVG::clipPath):
1624         (WebCore::PainterOpenVG::save):
1625         * platform/graphics/openvg/PainterOpenVG.h:
1626         (WebCore::PainterOpenVG::):
1627         * platform/graphics/openvg/SurfaceOpenVG.cpp:
1628         (WebCore::SurfaceOpenVG::makeCurrent):
1629         (WebCore::SurfaceOpenVG::makeCompatibleCurrent):
1630         * platform/graphics/openvg/SurfaceOpenVG.h:
1631         (WebCore::SurfaceOpenVG::):
1632
1633 2010-03-12  Jian Li  <jianli@chromium.org>
1634
1635         Reviewed by Sam Weinig.
1636
1637         Add DOMFormData.idl to expose FormData interface.
1638         https://bugs.webkit.org/show_bug.cgi?id=36024
1639         
1640         The implementation is based on XMLHttpRequest 2 spec:
1641         http://dev.w3.org/2006/webapi/XMLHttpRequest-2/#formdata
1642
1643         Test: http/tests/local/send-form-data.html
1644
1645         * Android.derived.jscbindings.mk:
1646         * Android.derived.v8bindings.mk:
1647         * DerivedSources.cpp:
1648         * DerivedSources.make:
1649         * GNUmakefile.am:
1650         * WebCore.pri:
1651         * WebCore.vcproj/WebCore.vcproj:
1652         * WebCore.xcodeproj/project.pbxproj:
1653         * bindings/js/JSDOMFormDataCustom.cpp: Added.
1654         * bindings/js/JSXMLHttpRequestCustom.cpp:
1655         (WebCore::JSXMLHttpRequest::send):
1656         * bindings/scripts/CodeGeneratorJS.pm:
1657         * html/DOMFormData.idl: Added.
1658         * page/DOMWindow.idl:
1659
1660 2010-03-12  Jakob Petsovits  <jpetsovits@rim.com>
1661
1662         Reviewed by Dirk Schulze.
1663
1664         [OpenVG] Add a SurfaceOpenVG constructor for EGL client buffer surfaces
1665         https://bugs.webkit.org/show_bug.cgi?id=35538
1666
1667         SurfaceOpenVG can now not only encapsulate pbuffer
1668         and window surfaces but also VGImage-based ones.
1669
1670         * platform/graphics/openvg/EGLDisplayOpenVG.cpp:
1671         (WebCore::EGLDisplayOpenVG::createPbufferFromClientBuffer):
1672         * platform/graphics/openvg/EGLDisplayOpenVG.h:
1673         * platform/graphics/openvg/SurfaceOpenVG.cpp:
1674         (WebCore::SurfaceOpenVG::SurfaceOpenVG):
1675         * platform/graphics/openvg/SurfaceOpenVG.h:
1676
1677 2010-03-12  Alpha Lam  <hclam@chromium.org>
1678
1679         Reviewed by Eric Carlson.
1680
1681         Fix a crash when resource loading of media element is canceled.
1682         https://bugs.webkit.org/show_bug.cgi?id=35992
1683
1684         Use of HTMLMediaElement::duration() after resource loading was canceled
1685         will cause a crash. This is because HTMLMediaElement::m_player is used
1686         when NULL.
1687         Test: http/tests/media/video-cancel-load.html
1688
1689         * html/HTMLMediaElement.cpp:
1690         (WebCore::HTMLMediaElement::duration):
1691         Avoid calling to m_player when it is null.
1692         (WebCore::HTMLMediaElement::userCancelledLoad):
1693         Set m_readyState to HAVE_NOTHING.
1694
1695 2010-03-12  Dan Bernstein  <mitz@apple.com>
1696
1697         Reviewed by Darin Adler.
1698
1699         <rdar://problem/7725534> CSSPrimitiveValue::parserValue() returns deleted memory
1700         https://bugs.webkit.org/show_bug.cgi?id=20069
1701
1702         No test added, since with the CSS variables feature disabled, the pointer
1703         to the freed memory is never dereferenced.
1704
1705         * css/CSSPrimitiveValue.cpp:
1706         (WebCore::valueOrPropertyName): Changed to return a const AtomicString& from
1707         a static table.
1708         (WebCore::CSSPrimitiveValue::parserValue): Updated for the above change.
1709
1710 2010-03-12  Dan Bernstein  <mitz@apple.com>
1711
1712         Build fix.
1713
1714         * platform/chromium/PlatformKeyboardEventChromium.cpp:
1715
1716 2010-03-12  Dan Bernstein  <mitz@apple.com>
1717
1718         Reviewed by Darin Adler.
1719
1720         <rdar://problem/7694674> Hover states not updated when overflow section scrolls under stationary mouse pointer
1721         https://bugs.webkit.org/show_bug.cgi?id=35949
1722
1723         Test: fast/events/overflow-scroll-fake-mouse-move.html
1724
1725         Soon after an overflow section scrolls under the mouse pointer, dispatch
1726         a fake mouse move event. This is similar to how frame scrolling is handled
1727         in WebKit, and has the effect of updating hover state, dispatching DOM mouse
1728         events, and updating the tool tip.
1729
1730         * page/EventHandler.cpp:
1731         (WebCore::EventHandler::EventHandler): Initialize m_fakeMouseMoveEventTimer.
1732         (WebCore::EventHandler::~EventHandler): Assert that the timer is not active.
1733         (WebCore::EventHandler::clear): Stop the timer.
1734         (WebCore::EventHandler::handleMousePressEvent): Cancel pending fake mouse
1735         move events.
1736         (WebCore::EventHandler::handleMouseMoveEvent): Ditto.
1737         (WebCore::EventHandler::dispatchFakeMouseMoveEventSoonInQuad): If the mouse
1738         is in the passed-in quad, ensure that a fake mouse move event is scheduled
1739         to fire soon.
1740         (WebCore::EventHandler::cancelFakeMouseMoveEvent): Does what the name says.
1741         (WebCore::EventHandler::fakeMouseMoveEventTimerFired): Constructs a
1742         PlatformMouseEvent with the current mouse location, modifier key state and
1743         time stamp and calls mouseMoved().
1744         * page/EventHandler.h:
1745         * platform/PlatformKeyboardEvent.h: Declared getCurrentModifierState().
1746         * platform/android/KeyEventAndroid.cpp:
1747         (WebCore::PlatformKeyboardEvent::getCurrentModifierState): Stubbed out.
1748         * platform/brew/PlatformKeyboardEventBrew.cpp:
1749         (WebCore::PlatformKeyboardEvent::getCurrentModifierState): Ditto.
1750         * platform/chromium/PlatformKeyboardEventChromium.cpp:
1751         (WebCore::PlatformKeyboardEvent::getCurrentModifierState): Added.
1752         * platform/efl/PlatformKeyboardEventEfl.cpp:
1753         (WebCore::PlatformKeyboardEvent::getCurrentModifierState): Stubbed out.
1754         * platform/gtk/KeyEventGtk.cpp:
1755         (WebCore::PlatformKeyboardEvent::getCurrentModifierState): Ditto.
1756         * platform/haiku/PlatformKeyboardEventHaiku.cpp:
1757         (WebCore::PlatformKeyboardEvent::getCurrentModifierState): Added.
1758         * platform/mac/KeyEventMac.mm:
1759         (WebCore::PlatformKeyboardEvent::getCurrentModifierState): Ditto.
1760         * platform/qt/PlatformKeyboardEventQt.cpp:
1761         (WebCore::PlatformKeyboardEvent::getCurrentModifierState): Stubbed out.
1762         * platform/win/KeyEventWin.cpp:
1763         (WebCore::PlatformKeyboardEvent::getCurrentModifierState): Added.
1764         * platform/wx/KeyboardEventWx.cpp:
1765         (WebCore::PlatformKeyboardEvent::getCurrentModifierState): Ditto.
1766         * rendering/RenderLayer.cpp:
1767         (WebCore::RenderLayer::scrollToOffset): Call
1768         EventHandler::dispatchFakeMouseMoveEventSoonInQuad(). Moved things around
1769         a little to avoid computing the repaint rect twice.
1770
1771 2010-03-12  Kent Hansen  <kent.hansen@nokia.com>
1772
1773         Reviewed by Darin Adler.
1774
1775         Webkit doesn't build with workers on and database off
1776         https://bugs.webkit.org/show_bug.cgi?id=35997
1777
1778         Added missing ENABLE(DATABASE) guards.
1779
1780         * workers/WorkerThread.cpp:
1781         (WebCore::WorkerThreadShutdownStartTask::performTask):
1782
1783 2010-03-12  Dan Winship  <danw@gnome.org>
1784
1785         Reviewed by Gustavo Noronha.
1786
1787         Make the defaultCookieJar use a no-third-party policy. Most
1788         applications set their own cookie jar, but DumpRenderTree doesn't,
1789         so it was failing the new third-party-cookie test.
1790
1791         * platform/network/soup/CookieJarSoup.cpp:
1792         (WebCore::defaultCookieJar):
1793
1794 2010-03-11  Simon Hausmann  <simon.hausmann@nokia.com>
1795
1796         Reviewed by Laszlo Gombos.
1797
1798         [Qt] Enable network state notifier when compiling against Qt 4.7
1799         https://bugs.webkit.org/show_bug.cgi?id=35983
1800
1801         * WebCore.pri:
1802         * platform/network/qt/NetworkStateNotifierPrivate.h:
1803         * platform/network/qt/NetworkStateNotifierQt.cpp:
1804
1805 2010-03-11  Benjamin Poulain  <benjamin.poulain@nokia.com>
1806
1807         Reviewed by Adam Treat.
1808
1809         Do not render the full frame when there is some elements with fixed positioning
1810         https://bugs.webkit.org/show_bug.cgi?id=33150
1811
1812         The frame view take into acount the list of fixed object when scrolling
1813         the view. If the number of object is lower than a certain threshold, the pixel
1814         are blitted, and the invalidated area updated.
1815
1816         * page/FrameView.cpp:
1817         (WebCore::FrameView::FrameView):
1818         (WebCore::FrameView::useSlowRepaints):
1819         (WebCore::FrameView::useSlowRepaintsIfNotOverlapped):
1820         (WebCore::FrameView::addFixedObject):
1821         (WebCore::FrameView::removeFixedObject):
1822         (WebCore::FrameView::scrollContentsFastPath):
1823         * page/FrameView.h:
1824         * platform/ScrollView.cpp:
1825         (WebCore::ScrollView::scrollContents):
1826         (WebCore::ScrollView::scrollContentsFastPath):
1827         * platform/ScrollView.h:
1828         * rendering/RenderBlock.h:
1829         (WebCore::RenderBlock::positionedObjects):
1830         * rendering/RenderBox.cpp:
1831         (WebCore::RenderBox::styleWillChange):
1832         * rendering/RenderObject.cpp:
1833         (WebCore::RenderObject::styleWillChange):
1834
1835 2010-03-11  Aaron Boodman  <aa@chromium.org>
1836
1837         Kill WebDocument::applicationID() (part 1).
1838
1839         Modify interface to WebCore::NotificationPresenter::checkPermission()
1840         and remove implementation of WebDocument::applicationID(). Breaking
1841         API changes will be in a subsequent change.
1842         https://bugs.webkit.org/show_bug.cgi?id=35846
1843
1844         * notifications/Notification.cpp:
1845         (WebCore::Notification::Notification):
1846         * notifications/NotificationCenter.cpp:
1847         (WebCore::NotificationCenter::checkPermission):
1848         * notifications/NotificationPresenter.h:
1849
1850 2010-03-11  Dmitry Titov  <dimich@chromium.org>
1851
1852         Reviewed by David Levin.
1853
1854         [v8] Remove obsolete code for delayed dereferencing of DOM objects for single-heap, multithread v8 usage.
1855         https://bugs.webkit.org/show_bug.cgi?id=36043
1856
1857         No new tests, no changes in functionality.
1858
1859         * bindings/v8/DOMData.cpp:
1860         (WebCore::DOMData::DOMData):
1861         * bindings/v8/DOMData.h:
1862         (WebCore::DOMData::handleWeakObject):
1863         * bindings/v8/DOMDataStore.cpp:
1864         * bindings/v8/DOMDataStore.h:
1865         (WebCore::DOMDataStore::domObjectMap):
1866         (WebCore::DOMDataStore::activeDomObjectMap):
1867         (WebCore::DOMDataStore::domSvgElementInstanceMap):
1868         (WebCore::DOMDataStore::domSvgObjectWithContextMap):
1869         * bindings/v8/ScopedDOMDataStore.cpp:
1870         (WebCore::ScopedDOMDataStore::ScopedDOMDataStore):
1871         * bindings/v8/StaticDOMDataStore.cpp:
1872         (WebCore::StaticDOMDataStore::StaticDOMDataStore):
1873         * bindings/v8/StaticDOMDataStore.h:
1874         * bindings/v8/V8DOMMap.cpp:
1875         (WebCore::removeAllDOMObjectsInCurrentThread):
1876
1877 2010-03-11  Gavin Barraclough  <barraclough@apple.com>
1878
1879         Rubber stamped by Oliver Hunt.
1880
1881         Remove nonsense comments used in development & commited in error.
1882
1883         * platform/text/StringImpl.h:
1884
1885 2010-03-11  Gavin Barraclough  <barraclough@apple.com>
1886
1887         Reviewed by Oliver Hunt.
1888
1889         https://bugs.webkit.org/show_bug.cgi?id=36041
1890         Remove unnecessary differences in common code between WebCore::StringImpl & JSC::UStringImpl
1891
1892         Much of the code in WebCore::StringImpl and JSC::UStringImpl is now very similar,
1893         but has trivial and unnecessary formatting differences, such as the exact wording
1894         of comments, missing ASSERTs, functions implemented in the .h vs .cpp etc.
1895
1896         * platform/text/StringImpl.cpp:
1897         (WebCore::StringImpl::empty): Reordered in file, made empty()->characters() return a non-null value to match JSC.
1898         (WebCore::StringImpl::createUninitialized): Added overflow check.
1899         (WebCore::StringImpl::create): Reordered in file.
1900         (WebCore::StringImpl::sharedBuffer): Reordered in file.
1901         * platform/text/StringImpl.h:
1902         (WebCore::StringImpl::): Remove ThreadGlobalData as friend, move SharableUChar & SharedUChar to WebCore namespace.
1903         (WebCore::StringImpl::StringImpl): Made static constructor method (used to create empty string) take arguments, to match JSC & prevent accidental use.
1904         (WebCore::StringImpl::setHash): Added missing ASSERT.
1905         (WebCore::StringImpl::adopt): Make adpot work with Vectors with a non-zero inline capacity.
1906         (WebCore::StringImpl::characters): Mark as const to match JSC.
1907         (WebCore::StringImpl::hash): Use !m_hash instead of m_hash == 0.
1908         (WebCore::StringImpl::computeHash): Remove redundant 'inline'.
1909
1910 2010-03-11  Mark Rowe  <mrowe@apple.com>
1911
1912         Reviewed by David Kilzer.
1913
1914         <rdar://problem/7745082> Make it possible to build WebKit for older Mac OS X versions from the current Mac OS X version
1915
1916         Default to using the appropriate SDK if the target Mac OS X version is not the current Mac OS X version.
1917
1918         * Configurations/Base.xcconfig:
1919
1920 2010-03-11  Jungshik Shin  <jshin@chromium.org>
1921
1922         [Chromium]: Plane 2 characters are rendered "blank" 
1923          (not even empty boxes) on Windows even when there are fonts to
1924          cover them. 
1925
1926         https://bugs.webkit.org/show_bug.cgi?id=35605
1927
1928         Test:LayoutTests/fast/text/international/plane2.html 
1929
1930         * platform/graphics/chromium/FontCacheChromiumWin.cpp:
1931         (WebCore::LookupAltName): Add two ExtB fonts to the array (namePairs) that are used for Plane 2 character rendering.
1932         (WebCore::FontCache::getFontDataForCharacters): Add two more fonts to the fallback font list
1933         * platform/graphics/chromium/FontUtilsChromiumWin.cpp:
1934         (WebCore::getFallbackFamily): Fix the fallback font lookup to cover Plane 2 (CJK ExtB).
1935
1936 2010-03-11  Leandro Pereira  <leandro@profusion.mobi>
1937
1938         Reviewed by Holger Freyther.
1939
1940         Add EFL port files to platform/efl.
1941         http://webkit.org/b/35889
1942
1943         * platform/efl/SystemTimeEfl.cpp: Added.
1944
1945 2010-03-11  Mark Rowe  <mrowe@apple.com>
1946
1947         Reviewed by Tim Hatcher.
1948
1949         <rdar://problem/7745082> Make it possible to build WebKit for older Mac OS X versions from the current Mac OS X version
1950
1951         Introduce TARGET_MAC_OS_X_VERSION_MAJOR to represent the Mac OS X version that is being targeted.  It defaults to the
1952         current Mac OS X version unless otherwise specified.
1953
1954         Key off TARGET_MAC_OS_X_VERSION_MAJOR where we'd previously been keying off MAC_OS_X_VERSION_MAJOR.
1955
1956         Explicitly map from the target Mac OS X version to the preferred compiler since Xcode's default compiler choice
1957         may not be usable when targetting a different Mac OS X version.
1958
1959         Key off TARGET_GCC_VERSION rather than MAC_OS_X_VERSION_MAJOR in locations where we'd previously been keying off
1960         MAC_OS_X_VERSION_MAJOR but the decision is really related to the compiler version being used.
1961
1962         * Configurations/Base.xcconfig:
1963         * Configurations/DebugRelease.xcconfig:
1964         * Configurations/FeatureDefines.xcconfig:
1965         * Configurations/Version.xcconfig:
1966         * Configurations/WebCore.xcconfig:
1967
1968 2010-03-11  Anders Carlsson  <andersca@apple.com>
1969
1970         Reviewed by David Hyatt.
1971
1972         Remove invalidateContents, it isn't used and it never makes sense to only invalidate the contents.
1973
1974         * loader/EmptyClients.h:
1975         * page/Chrome.cpp:
1976         * page/Chrome.h:
1977         * page/ChromeClient.h:
1978         * platform/HostWindow.h:
1979
1980 2010-03-11  Nate Chapin  <japhet@chromium.org>
1981
1982         Reviewed by Dimitri Glazkov.
1983
1984         [V8] Remove DOMObjectsInclude.h and update headers accordingly.
1985
1986         https://bugs.webkit.org/show_bug.cgi?id=36036
1987
1988         * WebCore.gypi:
1989         * bindings/v8/DOMData.h:
1990         * bindings/v8/DOMDataStore.h:
1991         * bindings/v8/DOMObjectsInclude.h: Removed.
1992         * bindings/v8/V8DOMMap.cpp:
1993         * bindings/v8/V8DOMWindowShell.cpp:
1994         * bindings/v8/V8DOMWrapper.cpp:
1995         * bindings/v8/V8GCController.cpp:
1996         * bindings/v8/V8Proxy.cpp:
1997
1998 2010-03-11  Simon Fraser  <simon.fraser@apple.com>
1999
2000         Reviewed by Mark Rowe.
2001
2002         Remove duplicate entries revealed after sorting.
2003
2004         * WebCore.xcodeproj/project.pbxproj:
2005
2006 2010-03-11  Simon Fraser  <simon.fraser@apple.com>
2007
2008         Reviewed by Mark Rowe.
2009
2010         Sort the project file (also removing some bogus spaces that caused Xcode to rewrite the file
2011         every time you opened it).
2012
2013         * WebCore.xcodeproj/project.pbxproj:
2014
2015 2010-03-11  Nate Chapin  <japhet@chromium.org>
2016
2017         Reviewed by Dimitri Glazkov.
2018
2019         Fix style issues and improve comments from 
2020         http://trac.webkit.org/changeset/55853.
2021
2022         https://bugs.webkit.org/show_bug.cgi?id=36029
2023
2024         * platform/animation/TimingFunction.h:
2025         (WebCore::TimingFunction::TimingFunction):
2026
2027 2010-03-11  Chris Fleizach  <cfleizach@apple.com>
2028
2029         Reviewed by Beth Dakin.
2030
2031         accessibilityIsIgnoredBase() needs to respect when platform says include
2032         https://bugs.webkit.org/show_bug.cgi?id=36025
2033
2034         Changed accessibilityIsIgnoredBase() to return a policy instead of a yes/no
2035         answer. This allows the platform to make a yes decision on an element.
2036
2037         * accessibility/AccessibilityList.cpp:
2038         (WebCore::AccessibilityList::accessibilityIsIgnored):
2039         * accessibility/AccessibilityListBox.cpp:
2040         (WebCore::AccessibilityListBox::accessibilityIsIgnored):
2041         * accessibility/AccessibilityObject.h:
2042         (WebCore::):
2043         (WebCore::AccessibilityObject::accessibilityIgnoreAttachment):
2044         (WebCore::AccessibilityObject::accessibilityPlatformIncludesObject):
2045         * accessibility/AccessibilityRenderObject.cpp:
2046         (WebCore::AccessibilityRenderObject::accessibilityIsIgnoredBase):
2047         (WebCore::AccessibilityRenderObject::accessibilityIsIgnored):
2048         * accessibility/AccessibilityRenderObject.h:
2049         * accessibility/AccessibilitySlider.cpp:
2050         (WebCore::AccessibilitySlider::accessibilityIsIgnored):
2051         * accessibility/AccessibilityTable.cpp:
2052         (WebCore::AccessibilityTable::accessibilityIsIgnored):
2053         * accessibility/AccessibilityTableCell.cpp:
2054         (WebCore::AccessibilityTableCell::accessibilityIsIgnored):
2055         * accessibility/AccessibilityTableRow.cpp:
2056         (WebCore::AccessibilityTableRow::accessibilityIsIgnored):
2057         * accessibility/chromium/AccessibilityObjectChromium.cpp:
2058         (WebCore::AccessibilityObject::accessibilityPlatformIncludesObject):
2059         * accessibility/gtk/AccessibilityObjectAtk.cpp:
2060         (WebCore::AccessibilityObject::accessibilityPlatformIncludesObject):
2061         * accessibility/mac/AccessibilityObjectMac.mm:
2062         (WebCore::AccessibilityObject::accessibilityPlatformIncludesObject):
2063         * accessibility/qt/AccessibilityObjectQt.cpp:
2064         (WebCore::AccessibilityObject::accessibilityPlatformIncludesObject):
2065         * accessibility/win/AccessibilityObjectWin.cpp:
2066         (WebCore::AccessibilityObject::accessibilityPlatformIncludesObject):
2067         * accessibility/wx/AccessibilityObjectWx.cpp:
2068         (WebCore::AccessibilityObject::accessibilityPlatformIncludesObject):
2069
2070 2010-03-11  Kenneth Russell  <kbr@google.com>
2071
2072         Reviewed by Dimitri Glazkov.
2073
2074         Fix build breakage with ENABLE_3D_CANVAS=0
2075         https://bugs.webkit.org/show_bug.cgi?id=35995
2076
2077         No new tests; verified in Chromium that WebGL is disabled in
2078         ENABLE_3D_CANVAS=0 builds.
2079
2080         * bindings/v8/custom/V8DocumentCustom.cpp:
2081         * bindings/v8/custom/V8HTMLCanvasElementCustom.cpp:
2082
2083 2010-03-11  Nate Chapin  <japhet@chromium.org>
2084
2085         Unreviewed, Chromium mac build fix.
2086
2087         Add an explicit copy constructor to TimingFunction.
2088         http://trac.webkit.org/changeset/55835 trigged an inlining
2089         bug in gcc that the copy constructor resolves.
2090
2091         * platform/animation/TimingFunction.h:
2092         (WebCore::TimingFunction::TimingFunction):
2093
2094 2010-03-11  Chris Fleizach  <cfleizach@apple.com>
2095
2096         Fixing GTK. No review.
2097
2098         support lang attribute on <option> elements
2099         https://bugs.webkit.org/show_bug.cgi?id=36021
2100  
2101         We don't need to cast to AccessibilityRenderObject to get language().
2102
2103         * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
2104         (webkit_accessible_document_get_locale):
2105
2106 2010-03-11  Chris Fleizach  <cfleizach@apple.com>
2107
2108         Reviewed by Darin Adler.
2109
2110         support lang attribute on <option> elements
2111         https://bugs.webkit.org/show_bug.cgi?id=36021
2112
2113         Allow non AccessibilityRenderObject classes to access the lang
2114         attribute by moving the useful code into AccessibilityObject.
2115
2116         Test: platform/mac/accessibility/option-with-lang.html
2117
2118         * accessibility/AccessibilityListBoxOption.cpp:
2119         (WebCore::AccessibilityListBoxOption::language):
2120         * accessibility/AccessibilityListBoxOption.h:
2121         * accessibility/AccessibilityObject.cpp:
2122         (WebCore::AccessibilityObject::language):
2123         * accessibility/AccessibilityObject.h:
2124         * accessibility/AccessibilityRenderObject.cpp:
2125         (WebCore::AccessibilityRenderObject::language):
2126         * accessibility/AccessibilityRenderObject.h:
2127
2128 2010-03-11  Diego Gonzalez  <diego.gonzalez@openbossa.org>
2129
2130         Reviewed by Simon Hausmann.
2131
2132         [Qt] Access key modifier should be Ctrl+Alt for Darwin derived OS and Alt for the others
2133         https://bugs.webkit.org/show_bug.cgi?id=35993
2134
2135         * page/qt/EventHandlerQt.cpp:
2136         (WebCore::EventHandler::accessKeyModifiers):
2137
2138 2010-03-08  Brett Wilson  <brettw@chromium.org>
2139
2140         Reviewed by Adam Barth.
2141
2142         Remove the deprecated argument to url_util::IsStandard in preparation
2143         for deleting that version of the function. Pull the latest googleurl
2144         with the new version for the Chromium builder.
2145
2146         * platform/KURLGoogle.cpp:
2147         (WebCore::KURL::isHierarchical):
2148
2149 2010-03-11  Simon Hausmann  <simon.hausmann@nokia.com>
2150
2151         Reviewed by Tor Arne Vestbø.
2152
2153         [Qt] Make it possible to do builds with separate debug info in packages
2154
2155         * WebCore.pro:
2156
2157 2010-03-11  Simon Hausmann  <simon.hausmann@nokia.com>
2158
2159         Reviewed by Tor Arne Vestbø.
2160
2161         [Qt] Avoid double-buffering with Qt image decoders
2162
2163         Pass QIODevice::Unbuffered when opening the QBuffer that
2164         wraps the image data, to hint to Qt that no extra buffering
2165         is needed.
2166
2167         * platform/graphics/qt/ImageDecoderQt.cpp:
2168         (WebCore::ImageDecoderQt::setData):
2169
2170 2010-03-10  Ben Murdoch  <benm@google.com>
2171
2172         Reviewed by Jeremy Orlow.
2173
2174         [Android] The platform touch events on Android are missing support
2175         for key modifiers.
2176         https://bugs.webkit.org/show_bug.cgi?id=35521
2177
2178         Add support in PlatformToucHEventAndroid for the platform supplying
2179         key modifiers with touch events.
2180
2181         Fixes Android so it now passes basic-single-touch-events.html.
2182
2183         * page/EventHandler.cpp:
2184         (WebCore::EventHandler::handleTouchEvent): Fix two compiler warnings.
2185         * platform/PlatformTouchEvent.h:
2186         (WebCore::PlatformTouchEvent::PlatformTouchEvent): Add support for
2187             key modifiers on Android.
2188         * platform/android/PlatformTouchEventAndroid.cpp:
2189         (WebCore::PlatformTouchEvent::PlatformTouchEvent): ditto.
2190
2191 2010-03-10  Steve Block  <steveblock@google.com>
2192
2193         Reviewed by Jeremy Orlow.
2194
2195         Implements Geolocation maximumAge property
2196         https://bugs.webkit.org/show_bug.cgi?id=30676
2197
2198         Test: fast/dom/Geolocation/maximum-age.html
2199
2200         * WebCore.xcodeproj/project.pbxproj: Modified. Adds GeolocationPositionCache.h to Private headers
2201         * page/Geolocation.cpp: Modified.
2202         (WebCore::Geolocation::GeoNotifier::setUseCachedPosition): Added.
2203         (WebCore::Geolocation::GeoNotifier::runSuccessCallback): Added.
2204         (WebCore::Geolocation::GeoNotifier::timerFired): Modified. Added logic to handle using a cached position
2205         (WebCore::Geolocation::Watchers::contains): Added. Required to determine if a notifier is a watch request
2206         (WebCore::Geolocation::startRequest): Modified. Added logic to check for a cached position
2207         (WebCore::Geolocation::requestUsesCachedPosition): Added. Callback to Geolocation object when notifier uses a cached position
2208         (WebCore::Geolocation::makeCachedPositionCallbacks): Added.
2209         (WebCore::Geolocation::haveSuitableCachedPosition): Added.
2210         (WebCore::Geolocation::setIsAllowed): Modified.
2211         (WebCore::Geolocation::positionChanged): Modified. Make callbacks using cached position where appropriate
2212         (WebCore::Geolocation::geolocationServiceErrorOccurred): Modified. Make callbacks using cached position where appropriate
2213         * page/Geolocation.h: Modified.
2214
2215 2010-03-11  Csaba Osztrogonác  <ossy@webkit.org>
2216
2217         Unreviewed buildfix after r55823. (To fix Qt --minimal build.)
2218         I have déjà vu, I'm sure that I did it before. (r55598)
2219
2220         * bindings/js/JSDOMWindowCustom.cpp: Missing #if ENABLE(DATABASE) guard added. 
2221
2222 2010-03-11  Csaba Osztrogonác  <ossy@webkit.org>
2223
2224         [Qt] Unreviewed buildfix after r55833.
2225
2226         Rename all instances of data() to characters()
2227
2228         * bridge/qt/qt_class.cpp:
2229         (JSC::Bindings::QtClass::fieldNamed):
2230         * bridge/qt/qt_runtime.cpp:
2231         (JSC::Bindings::convertValueToQVariant):
2232
2233 2010-03-11  Zoltan Horvath  <zoltan@webkit.org>
2234
2235         Reviewed by Simon Hausmann.
2236
2237         Allow custom memory allocation control for RenderLayerBacking class
2238         https://bugs.webkit.org/show_bug.cgi?id=35857
2239
2240         Inherits the following class from Noncopyable because it is
2241         instantiated by 'new' and no need to be copyable:                                     
2242
2243         class name    - instantiated at: WebCore/'location'
2244         RenderLayerBacking - rendering/RenderLayer.cpp:3047
2245
2246         * rendering/RenderLayerBacking.h:
2247
2248 2010-03-11  Zoltan Horvath  <zoltan@webkit.org>
2249
2250         Reviewed by Simon Hausmann.
2251
2252         Allow custom memory allocation control for TimingFunction struct
2253         https://bugs.webkit.org/show_bug.cgi?id=35855
2254
2255         Inherits the following struct from FastAllocBase because it is 
2256         instantiated by 'new':
2257
2258         class name    - instantiated at: WebCore/'location'
2259         TimingFuction - platform/graphics/GraphicsLayer.h:89
2260
2261         * platform/animation/TimingFunction.h:
2262
2263 2010-03-10  Gavin Barraclough  <barraclough@apple.com>
2264
2265         Rubber stamped by Oliver Hunt.
2266         
2267         Rename JSC::UStringImpl::data() to characters(), to match WebCore::StringImpl.
2268
2269         * bridge/jni/jsc/JavaStringJSC.h:
2270         (JSC::Bindings::JavaStringImpl::uchars):
2271         * platform/text/AtomicString.cpp:
2272         (WebCore::AtomicString::add):
2273         (WebCore::AtomicString::find):
2274
2275 2010-03-10  Gavin Barraclough  <barraclough@apple.com>
2276
2277         Reviewed by Mark Rowe.
2278
2279         Fix for r55825, threadsafeCopy no longer needs to special-case for
2280         empty strings (in fact, doing so results in leaks).
2281
2282         * platform/text/StringImpl.cpp:
2283         (WebCore::StringImpl::threadsafeCopy):
2284
2285 2010-03-10  Chang Shu  <chang.shu@nokia.com>
2286
2287         Reviewed by Darin Adler.
2288
2289         While calculating alpha channel, convert the floating point value to
2290         an integer in [0, 256) with equal distribution.
2291         https://bugs.webkit.org/show_bug.cgi?id=22150
2292
2293         * css/CSSParser.cpp:
2294         (WebCore::CSSParser::parseColorParameters):
2295
2296 2010-03-10  Gavin Barraclough  <barraclough@apple.com>
2297
2298         Reviewed by Darin Adler, Geoffrey Garen, Maciej Stachowiak.
2299
2300         https://bugs.webkit.org/show_bug.cgi?id=35991
2301         Would be faster to not use a thread specific to implement StringImpl::empty()
2302
2303         Copy JavaScriptCore in making 'static' strings threadsafe, make the empty string a static,
2304         shared by all threads.
2305
2306         ~2% progression on Dromaeo DOM core & JS lib tests.
2307
2308         * platform/ThreadGlobalData.cpp:
2309         (WebCore::ThreadGlobalData::ThreadGlobalData):
2310         (WebCore::ThreadGlobalData::~ThreadGlobalData):
2311         * platform/ThreadGlobalData.h:
2312         (WebCore::ThreadGlobalData::eventNames):
2313         * platform/text/StringImpl.cpp:
2314         (WebCore::StringImpl::StringImpl):
2315         (WebCore::StringImpl::empty):
2316         * platform/text/StringImpl.h:
2317         (WebCore::StringImpl::deref):
2318         (WebCore::StringImpl::hasOneRef):
2319
2320 2010-03-08  Dumitru Daniliuc  <dumi@chromium.org>
2321
2322         Reviewed by Adam Barth.
2323
2324         Adding support for the optional creation callback that could be
2325         passed to openDatabase().
2326
2327         Tests: storage/open-database-creation-callback.html
2328                storage/open-database-creation-callback-isolated-world.html
2329
2330         https://bugs.webkit.org/show_bug.cgi?id=34726
2331
2332         * Android.jscbindings.mk
2333         * Android.v8bindings.mk
2334         * GNUmakefile.am:
2335         * WebCore.gypi:
2336         * WebCore.pro:
2337         * WebCore.vcproj/WebCore.vcproj:
2338         * WebCore.xcodeproj/project.pbxproj:
2339         * bindings/js/JSDOMWindowCustom.cpp:
2340         (WebCore::JSDOMWindow::openDatabase):
2341         * bindings/js/JSDatabaseCallback.cpp: Added.
2342         (WebCore::JSDatabaseCallback::JSDatabaseCallback):
2343         (WebCore::JSDatabaseCallback::~JSDatabaseCallback):
2344         (WebCore::JSDatabaseCallback::handleEvent):
2345         * bindings/js/JSDatabaseCallback.h: Added.
2346         (WebCore::JSDatabaseCallback::create):
2347         * bindings/v8/custom/V8DOMWindowCustom.cpp:
2348         (WebCore::V8DOMWindow::openDatabaseCallback):
2349         * bindings/v8/custom/V8DatabaseCallback.cpp: Added.
2350         (WebCore::V8DatabaseCallback::V8DatabaseCallback):
2351         (WebCore::V8DatabaseCallback::~V8DatabaseCallback):
2352         (WebCore::V8DatabaseCallback::handleEvent):
2353         * bindings/v8/custom/V8DatabaseCallback.h: Added.
2354         (WebCore::V8DatabaseCallback::create):
2355         * page/DOMWindow.cpp:
2356         (WebCore::DOMWindow::openDatabase):
2357         * page/DOMWindow.h:
2358         * page/DOMWindow.idl:
2359         * storage/Database.cpp:
2360         (WebCore::DatabaseCreationCallbackTask::create):
2361         (WebCore::DatabaseCreationCallbackTask::performTask):
2362         (WebCore::DatabaseCreationCallbackTask::DatabaseCreationCallbackTask):
2363         (WebCore::Database::openDatabase):
2364         (WebCore::Database::Database):
2365         (WebCore::Database::performOpenAndVerify):
2366         (WebCore::Database::performCreationCallback):
2367         * storage/Database.h:
2368         (WebCore::Database::isNew):
2369         * storage/DatabaseCallback.h: Added.
2370         (WebCore::DatabaseCallback::~DatabaseCallback):
2371         * workers/WorkerContext.cpp:
2372         (WebCore::WorkerContext::openDatabase):
2373         * workers/WorkerContext.h:
2374
2375 2010-03-10  Justin Schuh  <jschuh@chromium.org>
2376
2377         Reviewed by Adam Barth.
2378
2379         Make Chrome consistently handle leading format characters in URLs
2380
2381         https://bugs.webkit.org/show_bug.cgi?id=35948
2382
2383         Test: http/tests/security/xss-DENIED-window-open-javascript-url-leading-format-char.html
2384
2385         * platform/KURLGoogle.cpp:
2386
2387 2010-03-10  Jian Li  <jianli@chromium.org>
2388
2389         Reviewed by Dmitry Titov.
2390
2391         Implementing DOMFormData class.
2392         https://bugs.webkit.org/show_bug.cgi?id=35707
2393
2394         This patch only addresses the implementation of DOMFormData class and
2395         moves the FormData construction logic from HTMLFormElement::createFormData
2396         to FormData::create() so that it can be used by both HTMLFormElement
2397         and XMLHttpRequest.
2398
2399         The DOMFormData IDL interface will be exposed in another patch and the
2400         test will be added then.
2401
2402         * Android.mk:
2403         * GNUmakefile.am:
2404         * WebCore.gypi:
2405         * WebCore.pro:
2406         * WebCore.vcproj/WebCore.vcproj:
2407         * WebCore.xcodeproj/project.pbxproj:
2408         * html/DOMFormData.cpp: Added.
2409         * html/DOMFormData.h: Added.
2410         * html/FormDataList.h:
2411         (WebCore::FormDataList::encoding):
2412         * html/HTMLFormElement.cpp:
2413         (WebCore::HTMLFormElement::createFormData):
2414         (WebCore::HTMLFormElement::submit):
2415         * html/HTMLFormElement.h:
2416         * platform/network/FormData.cpp:
2417         (WebCore::FormData::create):
2418         (WebCore::FormData::createMultiPart):
2419         (WebCore::FormData::appendDOMFormData):
2420         * platform/network/FormData.h:
2421         (WebCore::FormData::boundary):
2422         * xml/XMLHttpRequest.cpp:
2423         (WebCore::XMLHttpRequest::send):
2424         * xml/XMLHttpRequest.h:
2425
2426 2010-03-10  Chris Fleizach  <cfleizach@apple.com>
2427
2428         Reviewed by Beth Dakin.
2429
2430         VoiceOver can navigate to hidden content in widget (WAI-ARIA)
2431         https://bugs.webkit.org/show_bug.cgi?id=35986
2432
2433         Elements that are subclassers of AXRenderObject have not been respecting
2434         aria-hidden and other cases that would make them ignored. This applies
2435         to tables, rows, cells, select boxes, sliders, and lists. Select boxes
2436         also need to make sure their option elements respect aria-hidden as well.
2437
2438         Test: accessibility/aria-hidden-with-elements.html
2439
2440         * accessibility/AccessibilityList.cpp:
2441         (WebCore::AccessibilityList::accessibilityIsIgnored):
2442         * accessibility/AccessibilityListBox.cpp:
2443         (WebCore::AccessibilityListBox::addChildren):
2444         (WebCore::AccessibilityListBox::accessibilityIsIgnored):
2445         (WebCore::AccessibilityListBox::doAccessibilityHitTest):
2446         * accessibility/AccessibilityListBox.h:
2447         * accessibility/AccessibilityListBoxOption.cpp:
2448         (WebCore::AccessibilityListBoxOption::accessibilityIsIgnored):
2449         * accessibility/AccessibilityListBoxOption.h:
2450         * accessibility/AccessibilityRenderObject.cpp:
2451         (WebCore::AccessibilityRenderObject::accessibilityIsIgnoredCommon):
2452         (WebCore::AccessibilityRenderObject::accessibilityIsIgnored):
2453         (WebCore::AccessibilityRenderObject::doAccessibilityHitTest):
2454         * accessibility/AccessibilityRenderObject.h:
2455         * accessibility/AccessibilitySlider.cpp:
2456         (WebCore::AccessibilitySlider::accessibilityIsIgnored):
2457         * accessibility/AccessibilitySlider.h:
2458         (WebCore::AccessibilitySlider::roleValue):
2459         (WebCore::AccessibilitySliderThumb::roleValue):
2460         (WebCore::AccessibilitySliderThumb::accessibilityIsIgnored):
2461         * accessibility/AccessibilityTable.cpp:
2462         (WebCore::AccessibilityTable::accessibilityIsIgnored):
2463         * accessibility/AccessibilityTableCell.cpp:
2464         (WebCore::AccessibilityTableCell::accessibilityIsIgnored):
2465         * accessibility/AccessibilityTableColumn.cpp:
2466         (WebCore::AccessibilityTableColumn::accessibilityIsIgnored):
2467         * accessibility/AccessibilityTableColumn.h:
2468         (WebCore::AccessibilityTableColumn::roleValue):
2469         * accessibility/AccessibilityTableHeaderContainer.cpp:
2470         (WebCore::AccessibilityTableHeaderContainer::accessibilityIsIgnored):
2471         * accessibility/AccessibilityTableHeaderContainer.h:
2472         * accessibility/AccessibilityTableRow.cpp:
2473         (WebCore::AccessibilityTableRow::accessibilityIsIgnored):
2474
2475 2010-03-10  Dmitry Titov  <dimich@chromium.org>
2476
2477         Reviewed by Darin Adler.
2478
2479         Make Document::postTask to use a single queue of tasks, to fire them in order
2480         https://bugs.webkit.org/show_bug.cgi?id=35943
2481
2482         Test: existing worker-cloneport.html which was broken by initial patch in http://trac.webkit.org/changeset/55593.
2483         Additional test which indirectly verifies the order of execution will come as part of https://bugs.webkit.org/show_bug.cgi?id=34726
2484
2485         * dom/Document.cpp:
2486         (WebCore::Document::postTask): Always use the same task queue, independent of what thread is posting the task.
2487
2488 2010-03-10  Sanjeev Radhakrishnan  <sanjeevr@chromium.org>
2489
2490         Reviewed by Darin Fisher.
2491
2492         Allow a plugin to participate in the browser's print workflow.
2493         https://bugs.webkit.org/show_bug.cgi?id=35550
2494
2495         * loader/PluginDocument.cpp:
2496         * loader/PluginDocument.h:
2497
2498 2010-03-10  Ilya Tikhonovsky  <loislo@loislo-macbookpro.local>
2499
2500         Reviewed by Pavel Feldman.
2501
2502         Sidebar resize element height was adjusted.
2503         Display name for Function Call details was adjusted.
2504
2505         https://bugs.webkit.org/show_bug.cgi?id=35939
2506
2507         * inspector/front-end/TimelinePanel.js:
2508         (WebInspector.TimelinePanel.prototype._refreshRecords):
2509         (WebInspector.TimelinePanel.FormattedRecord.prototype._getRecordDetails):
2510
2511 2010-03-10  Charles Wei  <charles.wei@torchmobile.com.cn>
2512
2513         Reviewed by George Staikos.
2514
2515         Fix https://bugs.webkig.org/show_bug.cgi?id=35207
2516         When XHTMLMP is enabled, all xhtml documents fail to render for webkit portings wich use libxml2 tokenizer.
2517
2518         No new tests as all the xhtml test cases in LayoutTests/dom/xhtml fails without this fix when XHTMLMP is enabled.
2519
2520         * dom/Document.cpp:
2521         (WebCore::Document::isXHTMLMPDocument):
2522         * dom/XMLTokenizerLibxml2.cpp:
2523         (WebCore::XMLTokenizer::internalSubset):
2524         (WebCore::externalSubsetHandler):
2525
2526 2010-03-10  Garret Kelly  <gdk@chromium.org>
2527
2528         Reviewed by Darin Fisher.
2529
2530         Adding all of the touch-related sources into Chromium's WebCore build.
2531         https://bugs.webkit.org/show_bug.cgi?id=35874
2532
2533         Patch tested against the try bots, but the feature is exercised in the
2534         fast/events/touch tests.
2535
2536         * WebCore.gypi:
2537
2538 2010-03-10  Pavel Feldman  <pfeldman@chromium.org>
2539
2540         Reviewed by Timothy Hatcher.
2541
2542         Web Inspector: now that audits panel is added, add it to the
2543         enums (for storing last active, etc.).
2544
2545         https://bugs.webkit.org/show_bug.cgi?id=35980
2546
2547         * inspector/InspectorController.cpp:
2548         (WebCore::InspectorController::setWindowVisible):
2549         (WebCore::InspectorController::specialPanelForJSName):
2550         * inspector/InspectorController.h:
2551         (WebCore::InspectorController::):
2552         * inspector/InspectorFrontend.cpp:
2553         (WebCore::InspectorFrontend::showPanel):
2554         * inspector/front-end/inspector.js:
2555         (WebInspector.showAuditsPanel):
2556
2557 2010-03-10  Nate Chapin  <japhet@chromium.org>
2558
2559         Reviewed by Dimitri Glazkov.
2560
2561         [V8] Instead of describing the type of a wrapped v8 object
2562         with an enum value, use a pointer to struct with more complete
2563         information.
2564
2565         https://bugs.webkit.org/show_bug.cgi?id=35941
2566
2567         Refactoring only, so new tests.
2568
2569         * bindings/scripts/CodeGeneratorV8.pm:
2570         * bindings/v8/DOMData.cpp:
2571         * bindings/v8/DOMData.h:
2572         * bindings/v8/NPV8Object.cpp:
2573         * bindings/v8/V8Collection.h:
2574         * bindings/v8/V8DOMWindowShell.cpp:
2575         * bindings/v8/V8DOMWindowShell.h:
2576         * bindings/v8/V8DOMWrapper.cpp:
2577         * bindings/v8/V8DOMWrapper.h:
2578         * bindings/v8/V8GCController.cpp:
2579         * bindings/v8/V8Helpers.cpp:
2580         * bindings/v8/V8Helpers.h:
2581         * bindings/v8/V8Index.cpp: Removed.
2582         * bindings/v8/V8Index.h:
2583         * bindings/v8/V8NPObject.cpp:
2584         * bindings/v8/V8Proxy.cpp:
2585         * bindings/v8/V8Proxy.h:
2586         * bindings/v8/WorkerContextExecutionProxy.cpp:
2587         * bindings/v8/custom/V8DOMWindowCustom.cpp:
2588         * bindings/v8/custom/V8HTMLAudioElementConstructor.cpp:
2589         * bindings/v8/custom/V8HTMLAudioElementConstructor.h:
2590         * bindings/v8/custom/V8HTMLImageElementConstructor.cpp:
2591         * bindings/v8/custom/V8HTMLImageElementConstructor.h:
2592         * bindings/v8/custom/V8HTMLOptionElementConstructor.cpp:
2593         * bindings/v8/custom/V8HTMLOptionElementConstructor.h:
2594         * bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
2595         * bindings/v8/custom/V8MessageChannelConstructor.cpp:
2596         * bindings/v8/custom/V8SharedWorkerCustom.cpp:
2597         * bindings/v8/custom/V8WebGLArrayBufferCustom.cpp:
2598         * bindings/v8/custom/V8WebGLArrayCustom.h:
2599         * bindings/v8/custom/V8WebGLByteArrayCustom.cpp:
2600         * bindings/v8/custom/V8WebGLFloatArrayCustom.cpp:
2601         * bindings/v8/custom/V8WebGLIntArrayCustom.cpp:
2602         * bindings/v8/custom/V8WebGLShortArrayCustom.cpp:
2603         * bindings/v8/custom/V8WebGLUnsignedByteArrayCustom.cpp:
2604         * bindings/v8/custom/V8WebGLUnsignedIntArrayCustom.cpp:
2605         * bindings/v8/custom/V8WebGLUnsignedShortArrayCustom.cpp:
2606         * bindings/v8/custom/V8WebKitCSSMatrixConstructor.cpp:
2607         * bindings/v8/custom/V8WebKitPointConstructor.cpp:
2608         * bindings/v8/custom/V8WebSocketCustom.cpp:
2609         * bindings/v8/custom/V8WorkerCustom.cpp:
2610         * bindings/v8/custom/V8XMLHttpRequestConstructor.cpp:
2611         * bindings/v8/custom/V8XSLTProcessorCustom.cpp:
2612
2613 2010-03-10  Antonio Gomes  <tonikitoo@webkit.org>
2614
2615         Reviewed by Dave Hyatt.
2616         Patch by Antonio Gomes <tonikitoo@webkit.org>
2617
2618         Extend keyboard navigation to allow directional navigation (Manual tests)
2619         https://bugs.webkit.org/show_bug.cgi?id=18662
2620
2621         Adds a manual tests for the Spatial Navigation feature comprasing varios
2622         Html focusable elements (e.g. <a>, <table>, <iframe>) and much of the logic
2623         provided by the feature.
2624
2625         * manual-tests/spatial-navigation/links.html: Added.
2626         * manual-tests/spatial-navigation/spatial-navigation-test-cases.html: Added.
2627
2628 2010-03-10  Leandro Pereira  <leandro@profusion.mobi>
2629
2630         Reviewed by Kenneth Rohde Christiansen.
2631
2632         Add EFL port files to platform/efl.
2633         http://webkit.org/b/35890
2634
2635         * platform/efl/ScrollbarEfl.h: Added.
2636         * platform/efl/ScrollbarThemeEfl.h: Added.
2637
2638 2010-03-10  Pavel Feldman  <pfeldman@chromium.org>
2639
2640         Reviewed by Timothy Hatcher.
2641
2642         Web Inspector: Audits panel needs an icon.
2643         Landing icon attached by Timothy. Enabling panel!
2644
2645         https://bugs.webkit.org/show_bug.cgi?id=35945
2646
2647         * WebCore.gypi:
2648         * inspector/front-end/Images/auditsIcon.png: Added.
2649         * inspector/front-end/WebKit.qrc:
2650         * inspector/front-end/inspector.css:
2651
2652 2010-03-10  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
2653
2654         Roll-out r55657, as Xan noticed a bad degradation in playing
2655         youtube HTML5 videos with it, that is fixed with it
2656         reverted. Looks like we'll need to work a bit more on this.
2657
2658         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
2659         (WebCore::MediaPlayerPrivate::MediaPlayerPrivate):
2660         (WebCore::MediaPlayerPrivate::~MediaPlayerPrivate):
2661         (WebCore::MediaPlayerPrivate::volumeChangedTimerFired):
2662         (WebCore::MediaPlayerPrivate::volumeChanged):
2663         (WebCore::MediaPlayerPrivate::processBufferingStats):
2664         (WebCore::MediaPlayerPrivate::fillTimerFired):
2665         (WebCore::MediaPlayerPrivate::maxTimeLoaded):
2666         (WebCore::MediaPlayerPrivate::updateStates):
2667         (WebCore::MediaPlayerPrivate::muteChangedTimerFired):
2668         (WebCore::MediaPlayerPrivate::muteChanged):
2669         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
2670
2671 2010-03-10  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
2672
2673         Rubber-stamped by Xan Lopez.
2674
2675         Fix ready state when buffering under PLAYING. We should not go
2676         back to HaveNothing in that case.
2677
2678         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
2679         (WebCore::MediaPlayerPrivate::updateStates):
2680
2681 2010-03-10  Ada Chan  <adachan@apple.com>
2682
2683         Reviewed by Adam Roben.
2684
2685         https://bugs.webkit.org/show_bug.cgi?id=35976
2686
2687         Retrieve any dwItemData that's set on the context menu item in contextMenuItemByIdOrPosition().
2688
2689         * platform/win/ContextMenuWin.cpp:
2690
2691 2010-03-10  Jeremy Orlow  <jorlow@chromium.org>
2692
2693         Reviewed by Darin Fisher.
2694
2695         Add IndexedDatabase class and hook it up.
2696         https://bugs.webkit.org/show_bug.cgi?id=35927
2697
2698         This change is mostly just adding the plumbing necessary for
2699         the IndexedDatabaseRequest and IndexedDatabaseSync (not written
2700         yet).
2701
2702         This code is non-functional, so no tests (yet).
2703
2704         * WebCore.gyp/WebCore.gyp:
2705         * WebCore.gypi:
2706         * platform/chromium/ChromiumBridge.h:
2707         * storage/IndexedDatabase.cpp: Added.
2708         (WebCore::IndexedDatabase::get):
2709         * storage/IndexedDatabase.h: Added.
2710         (WebCore::IndexedDatabase::~IndexedDatabase):
2711         * storage/IndexedDatabaseImpl.cpp: Added.
2712         (WebCore::IndexedDatabaseImpl::get):
2713         (WebCore::IndexedDatabaseImpl::IndexedDatabaseImpl):
2714         (WebCore::IndexedDatabaseImpl::~IndexedDatabaseImpl):
2715         (WebCore::IndexedDatabaseImpl::open):
2716         * storage/IndexedDatabaseImpl.h: Added.
2717         * storage/chromium/IndexedDatabase.cpp: Added.
2718         (WebCore::IndexedDatabase::get):
2719
2720 2010-03-05  Dimitri Glazkov  <dglazkov@chromium.org>
2721
2722         Reviewed by Sam Weinig.
2723
2724         Add one more parent check during node removal.
2725         https://bugs.webkit.org/show_bug.cgi?id=35818
2726
2727         Test: fast/dom/Node/mutation-blur.html
2728
2729         * dom/ContainerNode.cpp:
2730         (WebCore::ContainerNode::removeChild): Added check.
2731
2732 2010-03-10  Pavel Feldman  <pfeldman@chromium.org>
2733
2734         Not reviewed: added missing quote into localized strings.
2735
2736         * English.lproj/localizedStrings.js:
2737
2738 2010-03-10  Jeremy Orlow  <jorlow@chromium.org>
2739
2740         Commit files that were supposed to go in with the last checkin.
2741
2742 2010-03-10  Jeremy Orlow  <jorlow@chromium.org>
2743
2744         Reviewed by Dimitry Glazkov.
2745
2746         Baby steps towards IndexedDB: Start implementing callbacks.
2747         https://bugs.webkit.org/show_bug.cgi?id=35911
2748
2749         This patch adds some infastructure for IndexedDB callbacks in V8.
2750         It also adds a stub of IDBDatabaseRequest.  In the near future,
2751         I'll gut the event based implementation code, flesh out IDBReqest
2752         further, and start plumbing IndexedDatabaseRequest.
2753
2754         Code is not testible because it doesn't work (yet).
2755
2756         * WebCore.gypi:
2757         * bindings/v8/DOMObjectsInclude.h:
2758         * bindings/v8/V8Index.cpp:
2759         * bindings/v8/V8Index.h:
2760         * bindings/v8/custom/V8CustomIDBCallback.h: Added.
2761         (WebCore::V8CustomIDBCallback::create):
2762         (WebCore::V8CustomIDBCallback::~V8CustomIDBCallback):
2763         (WebCore::V8CustomIDBCallback::handleEvent):
2764         (WebCore::V8CustomIDBCallback::V8CustomIDBCallback):
2765         * bindings/v8/custom/V8IndexedDatabaseRequestCustom.cpp:
2766         (WebCore::V8IndexedDatabaseRequest::openCallback):
2767         * storage/IDBDatabaseRequest.h: Added.
2768         (WebCore::IDBDatabaseRequest::request):
2769         * storage/IDBDatabaseRequest.idl: Added.
2770         * storage/IndexedDatabaseRequest.idl:
2771
2772 2010-03-10  Holger Hans Peter Freyther  <zecke@selfish.org>
2773
2774         Reviewed by Simon Hausmann.
2775
2776         [Qt] Non animated gifs are animated in QtWebKit
2777         https://bugs.webkit.org/show_bug.cgi?id=35955
2778
2779         Properly map Qt animated and non-animated values to WebCore's
2780         understanding of animated and non-animated images. Currently
2781         we can not map anything to the cAnimationLoopNone value.
2782
2783         * manual-tests/qt/qt-anim.gif: Added.
2784         * manual-tests/qt/qt-gif-test.html: Added.
2785         * manual-tests/qt/qt-noanim.gif: Added.
2786         * platform/graphics/qt/ImageDecoderQt.cpp:
2787         (WebCore::ImageDecoderQt::repetitionCount):
2788
2789 2010-03-07  Holger Hans Peter Freyther  <zecke@selfish.org>
2790
2791         Reviewed by Darin Adler.
2792
2793         [CAIRO] DoS on iexploder test with high text stroke width.
2794         https://bugs.webkit.org/show_bug.cgi?id=33759
2795
2796         Specifying a big text stroke width can make WebKitGTK+ spend
2797         a very long time in the cairo library for stroking the path of
2798         the text. The best way to prevent this from happening right now
2799         is to not stroke paths with a certain width. Samuel proposed to
2800         not stroke with a width that is twice the width of the text. The
2801         reason to use twice the text width is that even one stroke of
2802         any charachter to be drawn would cover the full width.
2803
2804         Test: fast/text/text-stroke-width-cairo-dos.html
2805
2806         * platform/graphics/cairo/FontCairo.cpp:
2807         (WebCore::Font::drawGlyphs):
2808
2809 2010-03-10  Andrey Kosyakov  <caseq@chromium.org>
2810
2811         Reviewed by Pavel Feldman.
2812
2813         Web Inspector: display list of active workers & support debugging
2814         with fake workers.
2815         https://bugs.webkit.org/show_bug.cgi?id=35568
2816
2817         * English.lproj/localizedStrings.js:
2818         * WebCore.gypi:
2819         * WebCore.vcproj/WebCore.vcproj:
2820         * bindings/js/JSInjectedScriptHostCustom.cpp:
2821         (WebCore::InjectedScriptHost::createInjectedScript):
2822         (WebCore::InjectedScriptHost::injectedScriptFor):
2823         * bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
2824         (WebCore::InjectedScriptHost::createInjectedScript):
2825         (WebCore::InjectedScriptHost::injectedScriptFor):
2826         * dom/Document.cpp:
2827         (WebCore::Document::inspectorController):
2828         * dom/Document.h:
2829         * dom/ScriptExecutionContext.h:
2830         (WebCore::ScriptExecutionContext::inspectorController):
2831         * inspector/InjectedScriptHost.cpp:
2832         (WebCore::InjectedScriptHost::InjectedScriptHost):
2833         (WebCore::InjectedScriptHost::injectScript):
2834         (WebCore::InjectedScriptHost::nextWorkerId):
2835         (WebCore::InjectedScriptHost::didCreateWorker):
2836         (WebCore::InjectedScriptHost::willDestroyWorker):
2837         * inspector/InjectedScriptHost.h:
2838         * inspector/InjectedScriptHost.idl:
2839         * inspector/InspectorController.cpp:
2840         (WebCore::InspectorController::populateScriptObjects):
2841         (WebCore::InspectorController::resetScriptObjects):
2842         (WebCore::InspectorController::didCommitLoad):
2843         (WebCore::InspectorController::didCreateWorker):
2844         (WebCore::InspectorController::willDestroyWorker):
2845         * inspector/InspectorController.h:
2846         * inspector/InspectorFrontend.cpp:
2847         (WebCore::InspectorFrontend::didCreateWorker):
2848         (WebCore::InspectorFrontend::willDestroyWorker):
2849         * inspector/InspectorFrontend.h:
2850         * inspector/InspectorWorkerResource.h: Added.
2851         (WebCore::InspectorWorkerResource::create):
2852         (WebCore::InspectorWorkerResource::id):
2853         (WebCore::InspectorWorkerResource::url):
2854         (WebCore::InspectorWorkerResource::isSharedWorker):
2855         (WebCore::InspectorWorkerResource::InspectorWorkerResource):
2856         * inspector/front-end/Checkbox.js: Added.
2857         (WebInspector.Checkbox.callbackWrapper):
2858         (WebInspector.Checkbox):
2859         (WebInspector.Checkbox.prototype.checked):
2860         * inspector/front-end/InjectedFakeWorker.js:
2861         (InjectedFakeWorker.FakeWorker):
2862         (InjectedFakeWorker.FakeWorker.prototype.terminate):
2863         (InjectedFakeWorker.FakeWorker.prototype._handleException):
2864         (InjectedFakeWorker.FakeWorker.prototype._importScripts):
2865         (InjectedFakeWorker.FakeWorker.prototype._loadScript):
2866         (InjectedFakeWorker.FakeWorker.prototype._expandURLAndCheckOrigin):
2867         * inspector/front-end/ScriptsPanel.js:
2868         (WebInspector.ScriptsPanel):
2869         (WebInspector.ScriptsPanel.prototype.debuggerWasEnabled):
2870         (WebInspector.ScriptsPanel.prototype.debuggerWasDisabled):
2871         (WebInspector.ScriptsPanel.prototype.reset):
2872         * inspector/front-end/StylesSidebarPane.js:
2873         (WebInspector.StylePropertiesSection.showInheritedToggleFunction):
2874         (WebInspector.StylePropertiesSection):
2875         * inspector/front-end/WebKit.qrc:
2876         * inspector/front-end/WorkersSidebarPane.js: Added.
2877         (WebInspector.WorkersSidebarPane):
2878         (WebInspector.WorkersSidebarPane.prototype.addWorker):
2879         (WebInspector.WorkersSidebarPane.prototype.removeWorker):
2880         (WebInspector.WorkersSidebarPane.prototype.setInstrumentation):
2881         (WebInspector.WorkersSidebarPane.prototype.reset):
2882         (WebInspector.WorkersSidebarPane.prototype._onTriggerInstrument):
2883         (WebInspector.Worker):
2884         (WebInspector.didCreateWorker):
2885         (WebInspector.willDestroyWorker):
2886         * inspector/front-end/inspector.css:
2887         * inspector/front-end/inspector.html:
2888         * workers/AbstractWorker.cpp:
2889         (WebCore::AbstractWorker::AbstractWorker):
2890         (WebCore::AbstractWorker::~AbstractWorker):
2891         (WebCore::AbstractWorker::onDestroyWorker):
2892         (WebCore::AbstractWorker::contextDestroyed):
2893         * workers/AbstractWorker.h:
2894         (WebCore::AbstractWorker::id):
2895         * workers/SharedWorker.cpp:
2896         (WebCore::SharedWorker::SharedWorker):
2897         * workers/Worker.cpp:
2898         (WebCore::Worker::Worker):
2899
2900 2010-03-10  Roland Steiner  <rolandsteiner@chromium.org>
2901
2902         Unreviewed build fix. Fix variable name change that somehow didn't
2903         make it into the patch.
2904
2905 2010-03-10  Roland Steiner  <rolandsteiner@chromium.org>
2906
2907         Reviewed by David Levin.
2908
2909         Bug 28293 -  [Chromium] event.datatransfer.getdata("text/uri-list") is treated the same as getdata("URL")
2910         https://bugs.webkit.org/show_bug.cgi?id=28293
2911         
2912         Change ChromiumDataObject such that it treats types "URL" and "text/uri-list"
2913         correctly for event.dataTransfer.getData/setData. Currently both are treated
2914         as synonyms, but for "URL", getData is supposed to only return the first valid URL
2915         contained within the data for "text/uri-list" (see HTML5 spec).
2916
2917         Tests: editing/pasteboard/dataTransfer-setData-getData.html
2918
2919         * platform/chromium/ChromiumDataObject.cpp:
2920         (WebCore::ChromiumDataObject::clear):
2921         (WebCore::ChromiumDataObject::clearAllExceptFiles):
2922         (WebCore::ChromiumDataObject::hasData):
2923         (WebCore::ChromiumDataObject::ChromiumDataObject):
2924         * platform/chromium/ChromiumDataObject.h:
2925         (WebCore::ChromiumDataObject::clearURL):
2926         (WebCore::ChromiumDataObject::hasValidURL):
2927         (WebCore::ChromiumDataObject::getURL):
2928         (WebCore::ChromiumDataObject::setURL):
2929         * platform/chromium/ClipboardChromium.cpp:
2930         (WebCore::):
2931         (WebCore::clipboardTypeFromMIMEType):
2932         (WebCore::ClipboardChromium::clearData):
2933         (WebCore::ClipboardChromium::getData):
2934         (WebCore::ClipboardChromium::setData):
2935         (WebCore::ClipboardChromium::types):
2936         * platform/chromium/DragDataChromium.cpp:
2937         (WebCore::DragData::asURL):
2938         (WebCore::DragData::canSmartReplace):
2939
2940 2010-03-09  Pavel Feldman  <pfeldman@chromium.org>
2941
2942         Reviewed by Timothy Hatcher.
2943
2944         Web Inspector: REGRESSION: Tall image resources are cropped over the bottom.
2945
2946         https://bugs.webkit.org/show_bug.cgi?id=34720
2947
2948         * inspector/front-end/inspector.css:
2949
2950 2010-03-09  Pavel Feldman  <pfeldman@chromium.org>
2951
2952         Reviewed by Timothy Hatcher.
2953
2954         Web Inspector: REGRESSION: Pressing up/down arrow key to change numeric
2955         value in CSS property takes focus away.
2956
2957         https://bugs.webkit.org/show_bug.cgi?id=34697
2958
2959         * inspector/front-end/StylesSidebarPane.js:
2960         (WebInspector.StylePropertyTreeElement.prototype):
2961         (WebInspector.StylePropertyTreeElement.prototype.):
2962
2963 2010-03-09  Tony Chang  <tony@chromium.org>
2964
2965         Reviewed by Adam Barth.
2966
2967         https://bugs.webkit.org/show_bug.cgi?id=21840
2968         https://bugs.webkit.org/show_bug.cgi?id=23993
2969
2970         Fix an editing bug where replacing a selection would result in the
2971         new text ending up inside nodes that were not visibly included in the
2972         selection.  Instead, move our destination position out of nodes that
2973         were not visibly included.
2974
2975         Tests: editing/deleting/backspace-avoid-preceding-style.html
2976                editing/inserting/replace-at-visible-boundary.html
2977
2978         * editing/ReplaceSelectionCommand.cpp:
2979         (WebCore::positionAvoidingPrecedingNodes):
2980         (WebCore::ReplaceSelectionCommand::doApply):
2981
2982 2010-03-09  Brady Eidson  <beidson@apple.com>
2983
2984         Reviewed by Tim Hatcher.
2985
2986         REGRESSION: WebInspector docking busted on Windows
2987         <rdar://problem/7728433> and https://bugs.webkit.org/show_bug.cgi?id=35953
2988
2989         First off, a bit of settings-key related cleanup. If they're shared over multiple files, these 
2990         things should be properly declared Strings, not random loose char*'s.
2991
2992         Along with that change, we move the "inspectorStartsAttachedSettingName" from WebKit down to the
2993         InspectorController in WebCore.
2994
2995         Finally, when the controller is ready to show the WebInspector window, it can use this newly
2996         exposed settings key to call "setWindowVisible" directly instead of relying on "showWindow" to do
2997         it indirectly.
2998
2999         * WebCore.base.exp:
3000
3001         * inspector/InspectorBackend.cpp:
3002         (WebCore::InspectorBackend::saveFrontendSettings):
3003         * inspector/InspectorController.cpp:
3004         (WebCore::InspectorController::frontendSettingsSettingName):
3005         (WebCore::InspectorController::inspectorStartsAttachedSettingName):
3006         (WebCore::InspectorController::scriptObjectReady): Using the new inspectorStartsAttachedSettingName
3007           key and some "can I attach this?" logic, call setWindowVisible directly to display the inspector
3008           window.
3009         (WebCore::InspectorController::populateScriptObjects):
3010         * inspector/InspectorController.h:
3011
3012 2010-03-09  Alexey Proskuryakov  <ap@apple.com>
3013
3014         Reviewed by Mark Rowe.
3015
3016         https://bugs.webkit.org/show_bug.cgi?id=35951
3017         <rdar://problem/7327060> Frequent crashes in Dashcode at JSC::Bindings::ObjcInstance::~ObjcInstance + 80
3018
3019         * bridge/objc/objc_instance.mm: (createInstanceWrapperCache): Fix Tiger code path, too.
3020
3021 2010-03-09  Alexey Proskuryakov  <ap@apple.com>
3022
3023         Reviewed by Oliver Hunt.
3024
3025         https://bugs.webkit.org/show_bug.cgi?id=35951
3026         <rdar://problem/7327060> Frequent crashes in Dashcode at JSC::Bindings::ObjcInstance::~ObjcInstance + 80
3027
3028         * bridge/objc/objc_instance.mm: (createInstanceWrapperCache): It's not correct to use object
3029         personality for keys, because the key can be a mutable object, so its hash can change over its
3030         lifetime.
3031
3032 2010-03-09  Ojan Vafai  <ojan@chromium.org>
3033
3034         Reviewed by Darin Adler.
3035
3036         Fix review comment accidentally overlooked in bug 35713
3037         https://bugs.webkit.org/show_bug.cgi?id=35947
3038
3039         * editing/DeleteSelectionCommand.cpp:
3040         (WebCore::DeleteSelectionCommand::setStartingSelectionOnSmartDelete):
3041         * editing/DeleteSelectionCommand.h:
3042
3043 2010-03-03  Ojan Vafai  <ojan@chromium.org>
3044
3045         Reviewed by Adam Barth.
3046
3047         undo after smartdelete should select the deleted space
3048         https://bugs.webkit.org/show_bug.cgi?id=35713
3049
3050         TextEdit behavior is to select the deleted space after a smartdelete.
3051
3052         Tests: editing/undo/undo-smart-delete-reversed-selection.html
3053                editing/undo/undo-smart-delete-word.html
3054
3055         * editing/DeleteSelectionCommand.cpp:
3056         (WebCore::DeleteSelectionCommand::setStartingSelectionOnSmartDelete):
3057         (WebCore::DeleteSelectionCommand::initializePositionData):
3058         * editing/DeleteSelectionCommand.h:
3059         * editing/VisibleSelection.cpp:
3060         (WebCore::VisibleSelection::setWithoutValidation):
3061         This assert looks bogus to me. undo-smart-delete-reversed-selection.html hits it
3062         but not as a result of the other changes in this patch. The granularity when
3063         deleting after making a wordgranularity selection is wordgranularity, not charactergranularity.
3064
3065 2010-03-09  Steve Falkenburg  <sfalken@apple.com>
3066
3067         Rubber stamped by Adam Roben.
3068
3069         Load debug version of graphics library in Windows Debug_All builds.
3070
3071         * platform/graphics/win/WKCACFLayerRenderer.cpp:
3072         (WebCore::WKCACFLayerRenderer::acceleratedCompositingAvailable):
3073
3074 2010-03-09  Brady Eidson  <beidson@apple.com>
3075
3076         Reviewed by Darin Adler.
3077
3078         Plug-ins don't always respect the cookie accept policy.
3079         <rdar://problem/7338359> and https://bugs.webkit.org/show_bug.cgi?id=26391
3080
3081         The problem is that the various plug-in implementations call into a ResourceLoader
3082         directly instead of filtering the request through FrameLoader. This bypassed the step
3083         of adding extra fields to the requests, such as the firstPartyForCookies URL.
3084
3085         Since plug-in code is currently so strewn about and very platform specific, I
3086         think reworking it needs to be a task for domain experts. I don't know the implications
3087         of adding *all* the extra fields to plug-in requests, for example.
3088
3089         There's no harm in this targeted fix for the hole in our cookie accept policy until
3090         plug-ins can more fundamentally change.
3091
3092         Test: http/tests/plugins/third-party-cookie-accept-policy.html
3093
3094         * loader/ResourceLoader.cpp:
3095         (WebCore::ResourceLoader::load): Don't load a resource without first giving the request 
3096           a firstPartyForCookies URL.
3097
3098 2010-03-09  Andy Estes  <aestes@apple.com>
3099
3100         Reviewed by Adele Peterson.
3101
3102         Check for null renderer in scrollNode().
3103         https://bugs.webkit.org/show_bug.cgi?id=34700
3104
3105         Test: fast/events/remove-child-onscroll.html
3106
3107         * page/EventHandler.cpp:
3108         (WebCore::scrollNode): Return early if node->renderer() == 0
3109
3110 2010-03-09  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
3111
3112         Unreviewed distcheck fix.
3113
3114         * GNUmakefile.am:
3115
3116 2010-03-09  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
3117
3118         Unreviewed build fix (only exposed by make distcheck). The
3119         SharedWorkers files are not built, they need to be distributed.
3120
3121         * GNUmakefile.am:
3122
3123 2010-03-09  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
3124
3125         Reviewed by Dirk Schulze.
3126
3127         [GStreamer] Buffering logic is not correct, and does not work very well
3128         https://bugs.webkit.org/show_bug.cgi?id=35706
3129
3130         Fix buffering to match GStreamer expectancies regarding the
3131         pipeline state, so that videos which really need buffering to play
3132         correctly also work, while maintaining the convenience of
3133         on-disk-buffering. This required a bit of shuffling of state
3134         change handling.
3135
3136         No behaviour change expected.
3137
3138         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
3139         (WebCore::MediaPlayerPrivate::MediaPlayerPrivate):
3140         (WebCore::MediaPlayerPrivate::processBufferingStats):
3141         (WebCore::MediaPlayerPrivate::fillTimerFired):
3142         (WebCore::MediaPlayerPrivate::updateStates):
3143         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
3144
3145 2010-03-09  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
3146
3147         Reviewed by Dirk Schulze.
3148
3149         [GStreamer] Buffering logic is not correct, and does not work very well
3150         https://bugs.webkit.org/show_bug.cgi?id=35706
3151
3152         Do not call pause(), but set the GStreamer state directly. This is
3153         just a GStreamer implementation detail, and this will avoid having
3154         side effects in case we change the pause implementation in the
3155         future.
3156
3157         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
3158         (WebCore::MediaPlayerPrivate::load):
3159
3160 2010-03-09  Chris Fleizach  <cfleizach@apple.com>
3161
3162         Reviewed by Darin Adler.
3163
3164         AX: hit testing a list box doesn't work anymore
3165         https://bugs.webkit.org/show_bug.cgi?id=35893
3166
3167         Since <option> elements don't have renderers, their hit testing needs
3168         to be handled with a special case.
3169
3170         Test: platform/mac/accessibility/listbox-hit-test.html
3171
3172         * accessibility/AccessibilityRenderObject.cpp:
3173         (WebCore::AccessibilityRenderObject::ariaIsHidden):
3174         (WebCore::AccessibilityRenderObject::doAccessibilityHitTest):
3175
3176 2010-03-09  Pavel Feldman  <pfeldman@chromium.org>
3177
3178         Reviewed by Timothy Hatcher.
3179
3180         Web Inspector: Refactor Audits panel presentation layer.
3181         This change removes unnecessary complexity:
3182           - Audit scores were not used
3183           - Audit rule parameters are passed as rule constructor arguments
3184           - View management aligned with the rest of the front-end
3185           - Single TreeOutline is used for category results (no need to create sections for those)
3186           - Rules code beautified and simplified where possible
3187           - Some UI improvements applied (see attached screenshot)
3188
3189         https://bugs.webkit.org/show_bug.cgi?id=35860
3190
3191         * inspector/front-end/AuditCategories.js:
3192         (WebInspector.AuditCategories.PagePerformance.prototype.initialize):
3193         (WebInspector.AuditCategories.NetworkUtilization.prototype.initialize):
3194         * inspector/front-end/AuditResultView.js:
3195         (WebInspector.AuditResultView):
3196         (WebInspector.AuditCategoryResultPane):
3197         (WebInspector.AuditCategoryResultPane.prototype._appendResult):
3198         * inspector/front-end/AuditRules.js:
3199         (WebInspector.AuditRules.GzipRule.prototype.doRun):
3200         (WebInspector.AuditRules.CombineExternalResourcesRule):
3201         (WebInspector.AuditRules.CombineExternalResourcesRule.prototype.doRun):
3202         (WebInspector.AuditRules.CombineJsResourcesRule):
3203         (WebInspector.AuditRules.CombineCssResourcesRule):
3204         (WebInspector.AuditRules.MinimizeDnsLookupsRule):
3205         (WebInspector.AuditRules.MinimizeDnsLookupsRule.prototype.doRun):
3206         (WebInspector.AuditRules.ParallelizeDownloadRule):
3207         (WebInspector.AuditRules.ParallelizeDownloadRule.prototype.doRun):
3208         (WebInspector.AuditRules.UnusedCssRule):
3209         (WebInspector.AuditRules.UnusedCssRule.prototype.doRun.evalCallback):
3210         (WebInspector.AuditRules.UnusedCssRule.prototype.doRun.routine):
3211         (WebInspector.AuditRules.UnusedCssRule.prototype.doRun):
3212         (WebInspector.AuditRules.CacheControlRule):
3213         (WebInspector.AuditRules.CacheControlRule.prototype.doRun):
3214         (WebInspector.AuditRules.CacheControlRule.prototype.execCheck):
3215         (WebInspector.AuditRules.BrowserCacheControlRule):
3216         (WebInspector.AuditRules.BrowserCacheControlRule.prototype.handleNonCacheableResources):
3217         (WebInspector.AuditRules.BrowserCacheControlRule.prototype.runChecks):
3218         (WebInspector.AuditRules.ProxyCacheControlRule):
3219         (WebInspector.AuditRules.ProxyCacheControlRule.prototype.runChecks):
3220         (WebInspector.AuditRules.ImageDimensionsRule):
3221         (WebInspector.AuditRules.ImageDimensionsRule.prototype.doRun):
3222         (WebInspector.AuditRules.CssInHeadRule):
3223         (WebInspector.AuditRules.CssInHeadRule.prototype.doRun):
3224         (WebInspector.AuditRules.CssInHeadRule.prototype.doRun.routine):
3225         (WebInspector.AuditRules.StylesScriptsOrderRule):
3226         (WebInspector.AuditRules.StylesScriptsOrderRule.prototype.doRun):
3227         (WebInspector.AuditRules.StylesScriptsOrderRule.prototype.doRun.routine):
3228         (WebInspector.AuditRules.CookieRuleBase):
3229         (WebInspector.AuditRules.CookieRuleBase.prototype.doRun.resultCallback):
3230         (WebInspector.AuditRules.CookieRuleBase.prototype.doRun):
3231         (WebInspector.AuditRules.CookieSizeRule):
3232         (WebInspector.AuditRules.CookieSizeRule.prototype.processCookies):
3233         (WebInspector.AuditRules.StaticCookielessRule):
3234         (WebInspector.AuditRules.StaticCookielessRule.prototype.processCookies):
3235         * inspector/front-end/AuditsPanel.js:
3236         (WebInspector.AuditsPanel):
3237         (WebInspector.AuditsPanel.prototype._executeAudit.ruleResultReadyCallback):
3238         (WebInspector.AuditsPanel.prototype._executeAudit):
3239         (WebInspector.AuditsPanel.prototype._reloadResources):
3240         (WebInspector.AuditsPanel.prototype._didMainResourceLoad):
3241         (WebInspector.AuditsPanel.prototype.showResults):
3242         (WebInspector.AuditsPanel.prototype.showLauncherView):
3243         (WebInspector.AuditsPanel.prototype.get visibleView):
3244         (WebInspector.AuditsPanel.prototype.set visibleView):
3245         (WebInspector.AuditsPanel.prototype.show):
3246         (WebInspector.AuditsPanel.prototype._clearButtonClicked):
3247         (WebInspector.AuditCategory.prototype.addRule):
3248         (WebInspector.AuditRule):
3249         (WebInspector.AuditRule.prototype.set severity):
3250         (WebInspector.AuditRule.prototype.run):
3251         (WebInspector.AuditRule.prototype.doRun):
3252         (WebInspector.AuditCategoryResult):
3253         (WebInspector.AuditCategoryResult.prototype.addRuleResult):
3254         (WebInspector.AuditRuleResult):
3255         (WebInspector.AuditRuleResult.prototype.addChild):
3256         (WebInspector.AuditRuleResult.prototype.addURL):
3257         (WebInspector.AuditRuleResult.prototype.addURLs):
3258         (WebInspector.AuditRuleResult.prototype.addSnippet):
3259         * inspector/front-end/Settings.js:
3260         * inspector/front-end/audits.css:
3261         * inspector/front-end/inspector.js:
3262         (WebInspector._createPanels):
3263         (WebInspector.documentKeyDown):
3264
3265 2010-03-09  Yury Semikhatsky  <yurys@chromium.org>
3266
3267         Reviewed by Pavel Feldman.
3268  
3269         When enable resource tracking state changes use the same method as
3270         location.reload for reloading inspected page.
3271
3272         https://bugs.webkit.org/show_bug.cgi?id=35923
3273
3274         * inspector/InspectorBackend.cpp:
3275         (WebCore::InspectorBackend::reloadPage):
3276         * inspector/InspectorController.cpp:
3277         (WebCore::InspectorController::enableResourceTracking):
3278
3279 2010-03-09  Pavel Feldman  <pfeldman@chromium.org>
3280
3281         Reviewed by Timothy Hatcher.
3282
3283         Web Inspector: highlight text node containers while searching for node.
3284
3285         https://bugs.webkit.org/show_bug.cgi?id=35912
3286
3287         * inspector/InspectorController.cpp:
3288         (WebCore::InspectorController::mouseDidMoveOverElement):
3289
3290 2010-03-09  Philippe Normand  <pnormand@igalia.com>
3291
3292         Reviewed by Gustavo Noronha Silva.
3293
3294         [GStreamer] player code cleanups
3295         https://bugs.webkit.org/show_bug.cgi?id=35868
3296
3297         Cleaned up the private instance variables of the player.
3298
3299         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
3300         (WebCore::MediaPlayerPrivate::MediaPlayerPrivate):
3301         (WebCore::MediaPlayerPrivate::fillTimerFired):
3302         (WebCore::MediaPlayerPrivate::mediaLocationChanged):
3303         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
3304
3305 2010-03-09  Philippe Normand  <pnormand@igalia.com>
3306
3307         Reviewed by Gustavo Noronha Silva.
3308
3309         [GStreamer] player code cleanups
3310         https://bugs.webkit.org/show_bug.cgi?id=35868
3311
3312         Splitted GOwnPtrGtk.{cpp,h} to GOwnPtr{Soup,GStreamer}.{cpp,h}.
3313
3314         * GNUmakefile.am:
3315         * platform/graphics/gstreamer/GOwnPtrGStreamer.cpp: Added.
3316         (WTF::GstElement):
3317         * platform/graphics/gstreamer/GOwnPtrGStreamer.h: Added.
3318         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
3319         * platform/gtk/GOwnPtrGtk.cpp: Removed.
3320         * platform/gtk/GOwnPtrGtk.h: Removed.
3321         * platform/network/soup/CookieJarSoup.cpp:
3322         * platform/network/soup/DNSSoup.cpp:
3323         * platform/network/soup/GOwnPtrSoup.cpp: Added.
3324         (WTF::SoupURI):
3325         * platform/network/soup/GOwnPtrSoup.h: Added.
3326         * platform/network/soup/ResourceHandleSoup.cpp:
3327         * platform/network/soup/ResourceRequestSoup.cpp:
3328
3329 2010-03-09  Shinichiro Hamaji  <hamaji@chromium.org>
3330
3331         Reviewed by Eric Seidel.
3332
3333         [Chromium] Should remove paddings of Win/Linux chromium's buttons
3334         https://bugs.webkit.org/show_bug.cgi?id=35629
3335
3336         No new tests, but we may need to rebaseline bunch of expectation
3337         images in chromium's tree.
3338
3339         * rendering/RenderThemeChromiumSkia.cpp:
3340         * rendering/RenderThemeChromiumSkia.h:
3341
3342 2010-03-08  Kent Tamura  <tkent@chromium.org>
3343
3344         Reviewed by Adam Barth.
3345
3346         Implement HTML5 <hgroup> element.
3347         https://bugs.webkit.org/show_bug.cgi?id=33369
3348
3349         <hgroup> should behave the same as <nav>, <section>, <article>, and <aside>.
3350         <hgroup> has no specific parsing rules.
3351
3352         Test: fast/html/hgroup-element.html
3353
3354         * css/html.css: Add hgroup as a block element.
3355         * editing/htmlediting.cpp:
3356         (WebCore::validBlockTag): Add hgroupTag.
3357         * html/HTMLElement.cpp:
3358         (WebCore::createTagPriorityMap): Returns 5 for hgroupTag.
3359         (WebCore::blockTagList): Add hgroupTag.
3360         * html/HTMLParser.cpp:
3361         (WebCore::HTMLParser::getNode): Add hgroupTag.
3362         * html/HTMLTagNames.in: Add hgroup.
3363
3364 2010-03-08  Tony Chang  <tony@chromium.org>
3365
3366         Reviewed by Adam Barth.
3367
3368         https://bugs.webkit.org/show_bug.cgi?id=32131
3369         Crash when inserting an ordered list.
3370
3371         Test: editing/execCommand/insert-ordered-list.html
3372
3373         * editing/CompositeEditCommand.cpp:
3374         (WebCore::CompositeEditCommand::moveParagraphs):
3375         * editing/TextIterator.cpp:
3376         (WebCore::TextIterator::rangeFromLocationAndLength):
3377
3378 2010-03-08  Darin Adler  <darin@apple.com>
3379
3380         Reviewed by Dan Bernstein.
3381
3382         Added a test for crash when you quit inside an unload handler.
3383         rdar://problem/6958347
3384
3385         * manual-tests/quit-inside-unload.html: Added.
3386
3387 2010-03-08  Darin Adler  <darin@apple.com>
3388
3389         Reviewed by Jon Honeycutt.
3390
3391         Don't auto-play <audio> and <video> elements loaded in background tabs
3392         https://bugs.webkit.org/show_bug.cgi?id=35886
3393         rdar://problem/7117745
3394
3395         * manual-tests/video-in-non-frontmost-tab.html: Added.
3396         * manual-tests/resources/video-tab.html: Added.
3397
3398         * html/HTMLMediaElement.h: Added MediaCanStartListener as a base class, and
3399         added the mediaCanStart function as well as a boolean,
3400         m_isWaitingUntilMediaCanStart.
3401
3402         * html/HTMLMediaElement.cpp:
3403         (WebCore::HTMLMediaElement::HTMLMediaElement): Initialize
3404         m_isWaitingUntilMediaCanStart.
3405         (WebCore::HTMLMediaElement::~HTMLMediaElement): Call
3406         removeMediaCanStartListener if m_isWaitingUntilMediaCanStart is true. 
3407         (WebCore::HTMLMediaElement::loadInternal): Set m_isWaitingUntilMediaCanStart
3408         and call addMediaCanStartListener if canStartMedia is false.
3409         (WebCore::HTMLMediaElement::mediaCanStart): Clear m_isWaitingUntilMediaCanStart
3410         and call loadInternal.
3411
3412 2010-03-08  Csaba Osztrogonác  <ossy@webkit.org>
3413
3414         [GTK] Unreviewed buildfix after r55688.
3415
3416         * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
3417         (webKitWebSrcStart):
3418
3419 2010-03-08  Csaba Osztrogonác  <ossy@webkit.org>
3420
3421         [GTK] Unreviewed buildfix after r55688.
3422
3423         * platform/network/soup/ResourceHandleSoup.cpp:
3424         (WebCore::):
3425
3426 2010-03-08  Csaba Osztrogonác  <ossy@webkit.org>
3427
3428         [Qt] Unreviewed buildfix after r55688.
3429
3430         * platform/network/qt/ResourceHandleQt.cpp:
3431         (WebCore::ResourceHandle::loadResourceSynchronously):
3432
3433 2010-03-08  Alexey Proskuryakov  <ap@apple.com>
3434
3435         Reviewed by Darin Adler.
3436
3437         https://bugs.webkit.org/show_bug.cgi?id=35879
3438         Eliminate m_mightDownloadFromHandle
3439
3440         It was only used on Mac, and unnecessarily complicated the code.
3441
3442         No change in behavior, thus no test.
3443
3444         * loader/MainResourceLoader.cpp:
3445         (WebCore::MainResourceLoader::loadNow):
3446         * loader/ResourceLoader.cpp:
3447         (WebCore::ResourceLoader::load):
3448         * loader/appcache/ApplicationCacheGroup.cpp:
3449         (WebCore::ApplicationCacheGroup::createResourceHandle):
3450         * platform/network/ResourceHandle.cpp:
3451         (WebCore::ResourceHandle::ResourceHandle):
3452         (WebCore::ResourceHandle::create):
3453         * platform/network/ResourceHandle.h:
3454         * platform/network/ResourceHandleInternal.h:
3455         (WebCore::ResourceHandleInternal::ResourceHandleInternal):
3456         * platform/network/mac/ResourceHandleMac.mm:
3457         (WebCore::ResourceHandle::start):
3458
3459 2010-03-02  Peter Kasting  <pkasting@google.com>
3460
3461         Reviewed by Adam Barth.
3462
3463         Clean up usage of m_failed in open-source image decoders, part 1.
3464         https://bugs.webkit.org/show_bug.cgi?id=35411
3465         
3466         Makes setFailed() virtual so subclasses can override it (none do yet) to
3467         do automatic cleanup on failure; makes it return a bool for easy
3468         tailcalling; makes failed() the only way to access m_failed so
3469         subclasses are assured setFailed() won't be bypassed.  Plus one or two
3470         other tiny cleanup bits.
3471
3472         Overriding setFailed() is coming in a subsequent patch because it can be
3473         hairy and needs close review.
3474
3475         No functional change, so no tests.
3476
3477         * platform/graphics/qt/ImageDecoderQt.cpp:
3478         (WebCore::ImageDecoderQt::setData):
3479         (WebCore::ImageDecoderQt::frameBufferAtIndex):
3480         (WebCore::ImageDecoderQt::internalDecodeSize):
3481         (WebCore::ImageDecoderQt::internalReadImage):
3482         (WebCore::ImageDecoderQt::internalHandleCurrentImage):
3483         (WebCore::ImageDecoderQt::forceLoadEverything):
3484         (WebCore::ImageDecoderQt::clearPointers):
3485         * platform/graphics/qt/ImageDecoderQt.h:
3486         * platform/image-decoders/ImageDecoder.h:
3487         (WebCore::ImageDecoder::ImageDecoder):
3488         (WebCore::ImageDecoder::setData):
3489         (WebCore::ImageDecoder::setSize):
3490         (WebCore::ImageDecoder::setFailed):
3491         (WebCore::ImageDecoder::failed):
3492         * platform/image-decoders/bmp/BMPImageDecoder.cpp:
3493         (WebCore::BMPImageDecoder::isSizeAvailable):
3494         (WebCore::BMPImageDecoder::frameBufferAtIndex):
3495         (WebCore::BMPImageDecoder::processFileHeader):
3496         * platform/image-decoders/gif/GIFImageDecoder.cpp:
3497         (WebCore::GIFImageDecoder::setData):
3498         (WebCore::GIFImageDecoder::isSizeAvailable):
3499         (WebCore::GIFImageDecoder::frameBufferAtIndex):
3500         (WebCore::GIFImageDecoder::decode):
3501         (WebCore::GIFImageDecoder::initFrameBuffer):
3502         * platform/image-decoders/ico/ICOImageDecoder.cpp:
3503         (WebCore::ICOImageDecoder::decodeAtIndex):
3504         (WebCore::ICOImageDecoder::processDirectory):
3505         (WebCore::ICOImageDecoder::processDirectoryEntries):
3506         * platform/image-decoders/jpeg/JPEGImageDecoder.cpp:
3507         (WebCore::JPEGImageReader::decode):
3508         (WebCore::JPEGImageDecoder::setData):
3509         (WebCore::JPEGImageDecoder::isSizeAvailable):
3510         (WebCore::JPEGImageDecoder::frameBufferAtIndex):
3511         (WebCore::JPEGImageDecoder::outputScanlines):
3512         (WebCore::JPEGImageDecoder::decode):
3513         * platform/image-decoders/png/PNGImageDecoder.cpp:
3514         (WebCore::decodingFailed):
3515         (WebCore::PNGImageReader::decode):
3516         (WebCore::PNGImageDecoder::setData):
3517         (WebCore::PNGImageDecoder::isSizeAvailable):
3518         (WebCore::PNGImageDecoder::frameBufferAtIndex):
3519         (WebCore::PNGImageDecoder::headerAvailable):
3520         (WebCore::PNGImageDecoder::rowAvailable):
3521         (WebCore::PNGImageDecoder::decode):
3522         * platform/image-decoders/png/PNGImageDecoder.h:
3523
3524 2010-03-08  Chris Marrin  <cmarrin@apple.com>
3525
3526         Reviewed by Darin Adler.
3527
3528         Disallow WebGL when HW comp is not turned on at runtime
3529         https://bugs.webkit.org/show_bug.cgi?id=35759
3530
3531         When HW comp is turned off with the runtime flag, WebGL would still
3532         create a context, but silently fail to render. This prevents that.
3533         Now if HW comp is turned off getContext('webgl') will return null.
3534
3535         * html/HTMLCanvasElement.cpp:
3536         (WebCore::HTMLCanvasElement::getContext):
3537
3538 2010-03-08  Darin Adler  <darin@apple.com>
3539
3540         Reviewed by Jon Honeycutt.
3541
3542         https://bugs.webkit.org/show_bug.cgi?id=35876
3543
3544         Fix minor style issues in HTMLMediaElement and classes derived from it.
3545         Made many public members private and protected.
3546
3547         * html/HTMLMediaElement.cpp:
3548         (WebCore::HTMLMediaElement::screenRect): Got rid of a stray "const" and
3549         retstructured the function to use early return and get rid of a local.
3550
3551         * html/HTMLMediaElement.h: Made lots of members private and some
3552         protected. Also use private inheritance instead of public. Removed
3553         some unneeded includes.
3554
3555         * html/HTMLVideoElement.cpp:
3556         (WebCore::HTMLVideoElement::parseMappedAttribute): Use player() instead
3557         of m_player; HTMLMediaElement data members are now private, not protected.
3558         (WebCore::HTMLVideoElement::supportsFullscreen): Ditto.
3559         (WebCore::HTMLVideoElement::videoWidth): Ditto.
3560         (WebCore::HTMLVideoElement::videoHeight): Ditto.
3561         (WebCore::HTMLVideoElement::hasAvailableVideoFrame): Ditto.
3562         (WebCore::HTMLVideoElement::webkitEnterFullScreen): Use isFullscreen()
3563         instead of m_isFullscreen; same reason.
3564         (WebCore::HTMLVideoElement::webkitExitFullScreen): Ditto.
3565         (WebCore::HTMLVideoElement::webkitDisplayingFullscreen): Ditto.
3566
3567         * html/HTMLVideoElement.h: Removed an unneeded include. Made many
3568         public functions private. Got rid of unused paint function, which was
3569         replaced with paintCurrentFrameInContext a while back.
3570
3571 2010-03-08  Joanmarie Diggs  <joanmarie.diggs@gmail.com>
3572
3573         Reviewed by Xan Lopez.
3574
3575         https://bugs.webkit.org/show_bug.cgi?id=30895
3576         [Gtk] The accessible hierarchy of tables is significantly incorrect for Atk
3577
3578         Gives platforms the ability to exclude parts of an AccessibilityTable
3579         from the accessible hierarchy.
3580
3581         * accessibility/gtk/AccessibilityObjectAtk.cpp:
3582         (AccessibilityObject::accessibilityPlatformIncludesObject):
3583         * accessibility/AccessibilityRenderObject.cpp:
3584         (AccessibilityRenderObject::determineAccessibilityRole):
3585         * accessibility/AccessibilityTable.cpp:
3586         (AccessibilityTable::addChildren):
3587         * accessibility/AccessibilityTableColumn.h:
3588         (accessibilityIsIgnored):
3589         * accessibility/AccessibilityTableHeaderContainer.h:
3590         (accessibilityIsIgnored):
3591         * accessibility/AccessibilityTableRow.cpp:
3592         (accessibilityIsIgnored):
3593
3594 2010-03-08  Jian Li  <jianli@chromium.org>
3595
3596         No review. Fix build break on Tiger intel release.
3597
3598         * html/Blob.cpp:
3599         * html/Blob.h:
3600
3601 2010-03-02  Adam Treat  <atreat@rim.com>
3602
3603         Reviewed by Dave Hyatt.
3604
3605         Refactor the HostWindow methods for repaint, scroll, invalidate and blit
3606         of backingstore and window by eliminating the three bools that currently
3607         exist as params of the repaint method.
3608         https://bugs.webkit.org/show_bug.cgi?id=34214
3609
3610         I've added extra methods to provide the hosts with more semantic
3611         information of what is being requested thus eliminating the need for
3612         these bools.
3613
3614         No tests as this change should not introduce any behavior changes in any
3615         of the ports.
3616
3617         https://bugs.webkit.org/show_bug.cgi?id=34214
3618
3619         * loader/EmptyClients.h:
3620         (WebCore::EmptyChromeClient::invalidateContents):
3621         (WebCore::EmptyChromeClient::invalidateWindow):
3622         (WebCore::EmptyChromeClient::invalidateContentsAndWindow):
3623         (WebCore::EmptyChromeClient::invalidateContentsForSlowScroll):
3624         * page/Chrome.cpp:
3625         (WebCore::Chrome::invalidateContents):
3626         (WebCore::Chrome::invalidateWindow):
3627         (WebCore::Chrome::invalidateContentsAndWindow):
3628         (WebCore::Chrome::invalidateContentsForSlowScroll):
3629         * page/Chrome.h:
3630         * page/ChromeClient.h:
3631         * page/FrameView.cpp:
3632         (WebCore::FrameView::invalidateRect):
3633         * platform/HostWindow.h:
3634         * platform/ScrollView.cpp:
3635         (WebCore::ScrollView::scrollContents):
3636         (WebCore::ScrollView::wheelEvent):
3637
3638 2010-03-08  Adam Barth  <abarth@webkit.org>
3639
3640         Reviewed by Nate Chapin.
3641
3642         [V8] Block popups from inline script
3643         https://bugs.webkit.org/show_bug.cgi?id=35474
3644
3645         Apparently, we're supposed to look at the sourceURL to figure out
3646         whether we're running a script tag or a hyperlink.  This logic is
3647         copied from the JSC version.
3648
3649         Test: http/tests/security/popup-blocked-from-window-open.html
3650
3651         * bindings/v8/ScriptController.cpp:
3652         (WebCore::ScriptController::processingUserGesture):
3653         (WebCore::ScriptController::evaluate):
3654
3655 2010-03-08  Stuart Morgan  <stuartmorgan@chromium.org>
3656
3657         Reviewed by Darin Adler.
3658
3659         Move the details of secure text mode into WebCore/platform.
3660         Move the higher-level logic for secure text mode from Frame
3661         to SelectionController.
3662
3663         https://bugs.webkit.org/show_bug.cgi?id=31265
3664
3665         No new tests: no functional changes.
3666
3667         * WebCore.gypi:
3668         * WebCore.xcodeproj/project.pbxproj:
3669         * dom/Document.cpp:
3670         (WebCore::Document::setUseSecureKeyboardEntryWhenActive):
3671         * editing/SelectionController.cpp:
3672         (WebCore::SelectionController::focusedOrActiveStateChanged):
3673         (WebCore::SelectionController::updateSecureKeyboardEntryIfActive):
3674         (WebCore::SelectionController::setUseSecureKeyboardEntry):
3675         * editing/SelectionController.h:
3676         * page/Frame.cpp:
3677         (WebCore::Frame::setDocument):
3678         * page/Frame.h:
3679         * platform/SecureTextInput.cpp: Added.
3680         (WebCore::enableSecureTextInput):
3681         (WebCore::disableSecureTextInput):
3682         * platform/SecureTextInput.h: Added.
3683         (WebCore::enableSecureTextInput):
3684         (WebCore::disableSecureTextInput):
3685
3686 2010-03-08  Brady Eidson  <beidson@apple.com>
3687
3688         Reviewed by Anders Carlsson.