IndexedDB: Indexes should be secondarily sorted on primary key
[WebKit-https.git] / Source / WebCore / ChangeLog
1 2011-11-24  Joshua Bell  <jsbell@chromium.org>
2
3         IndexedDB: Indexes should be secondarily sorted on primary key
4         https://bugs.webkit.org/show_bug.cgi?id=72567
5
6         Reviewed by Tony Chang.
7
8         Implemented by adding the primary key (i.e. unique key in the
9         object store) to the IndexDataKey (i.e. the composite key used
10         in the index. Previously, non-unique entries in the index were
11         stored with a unique (and hidden) sequenceNumber, so ordering was
12         not predictable by scripts (or per spec). The sequenceNumber
13         is now deprecated but still present in the LevelDB backing store
14         to avoid having to do a data migration.
15
16         Test: storage/indexeddb/cursor-primary-key-order.html
17
18         * storage/IDBLevelDBBackingStore.cpp:
19         (WebCore::IDBLevelDBBackingStore::putIndexDataForRecord):
20         * storage/IDBLevelDBCoding.cpp:
21         (WebCore::IDBLevelDBCoding::compare):
22         (WebCore::IDBLevelDBCoding::IndexDataKey::decode):
23         (WebCore::IDBLevelDBCoding::IndexDataKey::encode):
24         (WebCore::IDBLevelDBCoding::IndexDataKey::compare):
25         (WebCore::IDBLevelDBCoding::IndexDataKey::primaryKey):
26         * storage/IDBLevelDBCoding.h:
27
28 2011-11-24  Pavel Feldman  <pfeldman@google.com>
29
30         Web Inspector: WebInspector.inspectedPageDomain is not calculated for about:blank
31         https://bugs.webkit.org/show_bug.cgi?id=73082
32
33         Reviewed by Timothy Hatcher.
34
35         * inspector/front-end/ResourceTreeModel.js:
36         (WebInspector.ResourceTreeModel.prototype._processCachedResources):
37         (WebInspector.ResourceTreeModel.prototype._frameNavigated):
38         (WebInspector.ResourceTreeModel.prototype._addFramesRecursively):
39         * inspector/front-end/inspector.js:
40         (WebInspector.networkResourceById):
41         (WebInspector.get inspectedPageDomain):
42
43 2011-11-24  Andrey Kosyakov  <caseq@chromium.org>
44
45         Web Inspector: provide context menu items to open resources using extensions
46         https://bugs.webkit.org/show_bug.cgi?id=73076
47
48         Reviewed by Yury Semikhatsky.
49
50         * English.lproj/localizedStrings.js:
51         * inspector/front-end/ExtensionServer.js:
52         (WebInspector.ExtensionServer.prototype._onSetOpenResourceHandler):
53         (WebInspector.ExtensionServer.prototype._handleOpenURL):
54         * inspector/front-end/HandlerRegistry.js:
55         (get WebInspector.HandlerRegistry.prototype.set dispatch):
56         (get WebInspector.HandlerRegistry.prototype.dispatchToHandler):
57         * inspector/front-end/JavaScriptSourceFrame.js:
58         (WebInspector.JavaScriptSourceFrame.prototype.populateTextAreaContextMenu):
59         * inspector/front-end/ResourcesPanel.js:
60         (WebInspector.FrameResourceTreeElement.prototype._handleContextMenuEvent):
61         * inspector/front-end/SourceFrame.js:
62         (WebInspector.SourceFrame.prototype.populateTextAreaContextMenu):
63         * inspector/front-end/externs.js:
64         (WebInspector.populateResourceContextMenu):
65         * inspector/front-end/inspector.js:
66         (WebInspector.populateResourceContextMenu):
67         (WebInspector._showAnchorLocation):
68
69 2011-10-27  Philippe Normand  <pnormand@igalia.com>
70
71         [GStreamer] WebAudio AudioDestination
72         https://bugs.webkit.org/show_bug.cgi?id=69835
73
74         Reviewed by Martin Robinson.
75
76         New GStreamer source element pulling data from the AudioBus and
77         outputing audio interleaved GstBuffers suitable for playback.
78
79         * GNUmakefile.list.am: Added the new GStreamer WebAudio element
80         source files to the build.
81         * platform/audio/gstreamer/AudioDestinationGStreamer.cpp:
82         (WebCore::onGStreamerWavparsePadAddedCallback): Function called
83         when the playback pipeline successfully parsed the audio source
84         into a WAV stream.
85         (WebCore::AudioDestinationGStreamer::AudioDestinationGStreamer):
86         Configure the initial playback pipeline up to the WAV parser. The
87         audio sink is added only after the WAV parser was configured.
88         (WebCore::AudioDestinationGStreamer::~AudioDestinationGStreamer):
89         Reset the playback pipeline and delete it.
90         (WebCore::AudioDestinationGStreamer::finishBuildingPipelineAfterWavParserPadReady):
91         Method to add the audio sink to the pipeline and link it to the
92         WAV parser.
93         (WebCore::AudioDestinationGStreamer::start): Set pipeline to
94         PLAYING, at the first run it will trigger the WAV parser and hence
95         the audio-sink plugging.
96         (WebCore::AudioDestinationGStreamer::stop): Pause the pipeline.
97         * platform/audio/gstreamer/AudioDestinationGStreamer.h:
98         * platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.cpp: Added.
99         (getGStreamerMonoAudioCaps): Utility function to generate
100         GStreamer caps representing a single audio channel for a given
101         sample rate.
102         (webKitWebAudioGStreamerChannelPosition): Utility function to
103         convert AudioBus channel representations to GStreamer positional
104         audio channel values.
105         (webkit_web_audio_src_class_init): GObject configuration of the
106         GStreamer source element.
107         (webkit_web_audio_src_init): Initialization of the private data of
108         the element.
109         (webKitWebAudioSourceConstructed): Configure the GstBin elements
110         depending on the AudioBus layout.
111         (webKitWebAudioSourceFinalize): Clean up the GstBin and free private
112         data of the element.
113         (webKitWebAudioSourceSetProperty): GObject property setter.
114         (webKitWebAudioSourceGetProperty): GObject property getter.
115         (webKitWebAudioSourceLoop): GstTask used to pull data from the
116         AudioBus and push it as GstBuffers to the src pad of the element.
117         (webKitWebAudioSourceChangeState): Start or stop the above GstTask
118         depending on the asked state transition.
119         * platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.h: Added.
120         * platform/graphics/gstreamer/GRefPtrGStreamer.cpp: GstTask support in GRefPtr.
121         (WTF::adoptGRef):
122         (WTF::GstTask):
123         * platform/graphics/gstreamer/GRefPtrGStreamer.h:
124
125 2011-11-24  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
126
127         [Qt] Get rid of the buildDirForSource() function in the build system
128
129         At some point the plan was to allow for running qmake on sub-trees
130         of the sources, into the top level build directory, but this is no
131         longer possible, so no reason to keep the convenience function around.
132
133         Reviewed by Simon Hausmann.
134
135         * DerivedSources.pri:
136
137 2011-11-24  Patrick Gansterer  <paroga@webkit.org>
138
139         [CMake] Add missing source files
140         https://bugs.webkit.org/show_bug.cgi?id=73052
141
142         Reviewed by Andreas Kling.
143
144         * CMakeLists.txt:
145
146 2011-11-24  Philippe Normand  <pnormand@igalia.com>
147
148         Fix ASSERTs added in r101082.
149
150         Rubber-Stamped by Martin Robinson.
151
152         * platform/graphics/gstreamer/GRefPtrGStreamer.cpp:
153         (WTF::adoptGRef): Check for valid pointer before
154         GST_OBJECT_IS_FLOATING().
155
156 2011-11-23  Alexander Pavlov  <apavlov@chromium.org>
157
158         Web Inspector: shift focus to the source view when a resource is selected in the Scripts panel
159         https://bugs.webkit.org/show_bug.cgi?id=69738
160
161         Reviewed by Timothy Hatcher.
162
163         The source viewer is focused whenever a file name option is clicked, and is NOT focused when the script list
164         is traversed with the Up/Down keys.
165
166         * inspector/front-end/ScriptsPanel.js:
167         (WebInspector.ScriptsPanel.prototype._filesSelectChanged):
168         * inspector/front-end/SourceFrame.js:
169         (WebInspector.SourceFrame.prototype.focus):
170         * inspector/front-end/TextViewer.js:
171         (WebInspector.TextViewer.prototype.focus):
172
173 2011-11-23  Pavel Podivilov  <podivilov@chromium.org>
174
175         Web Inspector: add integration test for compiler source maps.
176         https://bugs.webkit.org/show_bug.cgi?id=72730
177
178         Reviewed by Pavel Feldman.
179
180         Test: http/tests/inspector/compiler-source-mapping-debug.html
181
182         * inspector/front-end/DebuggerPresentationModel.js:
183         (WebInspector.DebuggerPresentationModel.prototype._bindScriptToRawSourceCode):
184         (WebInspector.DebuggerPresentationModel.prototype.setCompilerSourceMapping):
185         (WebInspector.DebuggerPresentationModel.prototype.evaluateInSelectedCallFrame):
186         (WebInspector.DebuggerPresentationModel.prototype.get executionLineLocation):
187         (WebInspector.DebuggerPresentationModel.DefaultLinkifierFormatter.prototype.formatRawSourceCodeAnchor):
188         (WebInspector.DebuggerPresentationModel.Linkifier.prototype.linkifyLocation):
189         (WebInspector.DebuggerPresentationModel.Linkifier.prototype._updateAnchor):
190
191 2011-11-23  Pavel Feldman  <pfeldman@google.com>
192
193         Web Inspector: get rid of the WebInspector.mainResource, use WebInspector.inspectedPageURL instead.
194         https://bugs.webkit.org/show_bug.cgi?id=73024
195
196         We use it for the URL mostly, no need to create artificial resource for that upon
197         attaching to the existing page.
198
199         Reviewed by Yury Semikhatsky.
200
201         * inspector/front-end/AuditsPanel.js:
202         * inspector/front-end/HAREntry.js:
203         (WebInspector.HARLog.prototype._buildPages):
204         (WebInspector.HARLog.prototype._pageEventTime):
205         * inspector/front-end/NetworkPanel.js:
206         (WebInspector.NetworkLogView.prototype._updateSummaryBar):
207         (WebInspector.NetworkLogView.prototype._exportAll):
208         * inspector/front-end/Resource.js:
209         (WebInspector.Resource.prototype.set url):
210         (WebInspector.Resource.prototype.get displayName):
211         (WebInspector.Resource.prototype.get displayDomain):
212         * inspector/front-end/ResourceTreeModel.js:
213         (WebInspector.ResourceTreeModel.prototype._processCachedResources):
214         (WebInspector.ResourceTreeModel.prototype._dispatchInspectedURLChanged):
215         (WebInspector.ResourceTreeModel.prototype._frameNavigated):
216         (WebInspector.ResourceTreeModel.prototype._addFramesRecursively):
217         * inspector/front-end/ResourceUtils.js:
218         (WebInspector.displayNameForURL):
219         * inspector/front-end/ResourcesPanel.js:
220         (WebInspector.ResourcesPanel.prototype._initDefaultSelection):
221         * inspector/front-end/TimelinePanel.js:
222         (WebInspector.TimelinePanel.prototype._addRecordToTimeline):
223         * inspector/front-end/utilities.js:
224         (String.prototype.asParsedURL):
225
226 2011-11-23  Yury Semikhatsky  <yurys@chromium.org>
227
228         Web Inspector: exceptions in shared workers should be logged to web inspector console
229         https://bugs.webkit.org/show_bug.cgi?id=73022
230
231         According to section "4.7 Runtime script errors" of Web Workers spec "For shared
232         workers, if the error is still not handled afterwards, or if the error occurred
233         while handling a previous script error, the error may be reported to the user."
234
235         This change adds uncaugh exceptions to the shared worker web inspector console.
236
237         Reviewed by Pavel Feldman.
238
239         * inspector/InspectorConsoleAgent.cpp:
240         (WebCore::InspectorConsoleAgent::restore):
241         * inspector/InspectorConsoleInstrumentation.h:
242         (WebCore::InspectorInstrumentation::addMessageToConsole):
243         * inspector/InspectorDebuggerAgent.cpp:
244         (WebCore::InspectorDebuggerAgent::restore):
245         * inspector/InspectorInstrumentation.cpp:
246         (WebCore::InspectorInstrumentation::instrumentingAgentsForWorkerContext):
247         * inspector/InspectorInstrumentation.h:
248         * inspector/WorkerInspectorController.cpp:
249         (WebCore::WorkerInspectorController::connectFrontend):
250         (WebCore::WorkerInspectorController::disconnectFrontend):
251         (WebCore::WorkerInspectorController::restoreInspectorStateFromCookie):
252         * inspector/WorkerInspectorController.h:
253         * inspector/front-end/WorkerManager.js:
254         (WebInspector.WorkerManager.showWorkerTerminatedScreen):
255         * inspector/front-end/inspector.js:
256         * workers/SharedWorkerContext.cpp:
257         (WebCore::SharedWorkerContext::logExceptionToConsole):
258         * workers/SharedWorkerContext.h:
259         * workers/WorkerContext.cpp:
260         (WebCore::WorkerContext::addMessage): console messages are now added to
261         the worker console agent.
262         (WebCore::WorkerContext::addMessageToWorkerConsole):
263         * workers/WorkerContext.h:
264
265 2011-11-23  Jeff Timanus  <twiz@chromium.org>
266
267         [Chromium]  Prevent DrawingBuffer instances from corrupting the active
268         texture state of the WebGL contexts. The DrawingBuffer now tracks the
269         state of texture unit 0, and the active texture unit, so that state can
270         be restored.
271         https://bugs.webkit.org/show_bug.cgi?id=73033
272
273         Reviewed by Kenneth Russell.
274
275         Test: fast/canvas/webgl/webgl-texture-binding-preserved.html
276
277         * html/canvas/WebGLRenderingContext.cpp:
278         (WebCore::WebGLRenderingContext::activeTexture):
279         (WebCore::WebGLRenderingContext::bindTexture):
280         * platform/graphics/chromium/DrawingBufferChromium.cpp:
281         (WebCore::DrawingBuffer::DrawingBuffer):
282         (WebCore::DrawingBuffer::publishToPlatformLayer):
283         * platform/graphics/gpu/DrawingBuffer.h:
284         (WebCore::DrawingBuffer::setTexture2DBinding):
285         (WebCore::DrawingBuffer::setActiveTextureUnit):
286         * platform/graphics/gpu/mac/DrawingBufferMac.mm:
287         (WebCore::DrawingBuffer::DrawingBuffer):
288         * platform/graphics/gpu/qt/DrawingBufferQt.cpp:
289         (WebCore::DrawingBuffer::DrawingBuffer):
290         * platform/graphics/gtk/DrawingBufferGtk.cpp:
291         (WebCore::DrawingBuffer::DrawingBuffer):
292
293 2011-11-23  Luke Macpherson   <macpherson@chromium.org>
294
295         CSSValue: reorder ClassType enum to allow faster comparisons, add COMPILE_ASSERT on class size.
296         https://bugs.webkit.org/show_bug.cgi?id=72924
297
298         Reviewed by Andreas Kling.
299
300         Note that the change from unsigned to unsigned char is to improve bit packing when using MSVC.
301
302         Covered by existing CSS tests.
303
304         * css/CSSValue.h:
305         (WebCore::CSSValue::isPrimitiveValue):
306         (WebCore::CSSValue::isValueList):
307         (WebCore::CSSValue::isImageGeneratorValue):
308         (WebCore::CSSValue::isTimingFunctionValue):
309         (WebCore::CSSValue::CSSValue):
310
311 2011-11-23  Dmitry Lomov  <dslomov@google.com>
312
313         https://bugs.webkit.org/show_bug.cgi?id=73054
314         [V8][Chromium] Add list of transferred ArrayBuffers to SerializedScriptValue::create.
315
316         Reviewed by David Levin.
317
318         * bindings/scripts/CodeGeneratorV8.pm:
319         (GenerateParametersCheck):
320         * bindings/scripts/test/V8/V8TestObj.cpp:
321         (WebCore::TestObjInternal::serializedValueCallback):
322        * bindings/v8/OptionsObject.cpp:
323         * bindings/v8/SerializedScriptValue.cpp:
324         (WebCore::SerializedScriptValue::create):
325         * bindings/v8/SerializedScriptValue.h:
326         * bindings/v8/V8Utilities.cpp:
327         (WebCore::extractTransferables):
328         (WebCore::getMessagePortArray):
329         * bindings/v8/V8Utilities.h:
330         * bindings/v8/custom/V8DOMWindowCustom.cpp:
331         (WebCore::handlePostMessageCallback):
332         * bindings/v8/custom/V8DedicatedWorkerContextCustom.cpp:
333         (WebCore::handlePostMessageCallback):
334         * bindings/v8/custom/V8HistoryCustom.cpp:
335         (WebCore::V8History::pushStateCallback):
336         (WebCore::V8History::replaceStateCallback):
337         * bindings/v8/custom/V8MessageEventCustom.cpp:
338         * bindings/v8/custom/V8MessagePortCustom.cpp:
339         (WebCore::handlePostMessageCallback):
340         * bindings/v8/custom/V8MessagePortCustom.h: Removed.
341         * bindings/v8/custom/V8WorkerCustom.cpp:
342         (WebCore::handlePostMessageCallback):
343
344 2011-11-23  Rafael Weinstein  <rafaelw@chromium.org>
345
346         Cleanup #if usage in V8GCController
347         https://bugs.webkit.org/show_bug.cgi?id=73060
348
349         Reviewed by Ojan Vafai.
350
351         No tests needed. Just code cleanup
352
353         * bindings/v8/V8GCController.cpp:
354         (WebCore::V8GCController::checkMemoryUsage):
355
356 2011-11-23  Rafael Weinstein  <rafaelw@chromium.org>
357
358         Change CSSMutableStyleDeclaration::m_node to m_element (along with getter/setter)
359         https://bugs.webkit.org/show_bug.cgi?id=73050
360
361         Reviewed by Ojan Vafai.
362
363         No tests needed. This is just a refactor.
364
365         * css/CSSMutableStyleDeclaration.cpp:
366         (WebCore::CSSMutableStyleDeclaration::CSSMutableStyleDeclaration):
367         (WebCore::CSSMutableStyleDeclaration::operator=):
368         (WebCore::CSSMutableStyleDeclaration::isInlineStyleDeclaration):
369         (WebCore::CSSMutableStyleDeclaration::setNeedsStyleRecalc):
370         * css/CSSMutableStyleDeclaration.h:
371         (WebCore::CSSMutableStyleDeclaration::setElement):
372         (WebCore::CSSMutableStyleDeclaration::element):
373         * css/CSSStyleRule.cpp:
374         (WebCore::CSSStyleRule::setSelectorText):
375         * dom/StyledElement.cpp:
376         (WebCore::StyledElement::createInlineStyleDecl):
377         (WebCore::StyledElement::destroyInlineStyleDecl):
378         (WebCore::StyledElement::attributeChanged):
379         (WebCore::StyledElement::createMappedDecl):
380         * html/HTMLTableElement.cpp:
381         (WebCore::HTMLTableElement::additionalAttributeStyleDecls):
382         (WebCore::HTMLTableElement::addSharedCellBordersDecl):
383         (WebCore::HTMLTableElement::addSharedCellPaddingDecl):
384         (WebCore::HTMLTableElement::addSharedGroupDecls):
385         * inspector/InspectorCSSAgent.cpp:
386         (WebCore::InspectorCSSAgent::inlineStyleElement):
387
388 2011-11-23  Ami Fischman  <fischman@chromium.org>
389
390         Teach VideoLayerChromium how to render native texture (to support HW video decode).
391         https://bugs.webkit.org/show_bug.cgi?id=73043
392
393         Reviewed by Kenneth Russell.
394
395         No new tests. (depends on chromium support landing, and supporting HW being available)
396
397         * platform/graphics/chromium/LayerRendererChromium.cpp:
398         (WebCore::LayerRendererChromium::drawLayersOntoRenderSurfaces):
399         (WebCore::LayerRendererChromium::videoLayerNativeTextureProgram):
400         * platform/graphics/chromium/LayerRendererChromium.h:
401         * platform/graphics/chromium/VideoFrameChromium.h:
402         * platform/graphics/chromium/VideoLayerChromium.cpp:
403         (WebCore::VideoLayerChromium::VideoLayerChromium):
404         (WebCore::VideoLayerChromium::updateCompositorResources):
405         (WebCore::VideoLayerChromium::pushPropertiesTo):
406         (WebCore::VideoLayerChromium::determineTextureFormat):
407         * platform/graphics/chromium/VideoLayerChromium.h:
408         * platform/graphics/chromium/cc/CCVideoLayerImpl.cpp:
409         (WebCore::CCVideoLayerImpl::setNativeTexture):
410         (WebCore::CCVideoLayerImpl::draw):
411         (WebCore::CCVideoLayerImpl::drawNativeTexture):
412         * platform/graphics/chromium/cc/CCVideoLayerImpl.h:
413
414 2011-11-23  Vincent Scheib  <scheib@chromium.org>
415
416         Pointer Lock: Plumb movement coordinates from PlatformMouseEvent to MouseEvents.
417         https://bugs.webkit.org/show_bug.cgi?id=73031
418
419         Reviewed by Dimitri Glazkov.
420
421         No tests for now, but this patch gets us closer to being able to write layout tests for pointer lock.
422
423         * dom/MouseEvent.cpp:
424         (WebCore::MouseEvent::create):
425         (WebCore::MouseEvent::MouseEvent):
426         (WebCore::SimulatedMouseEvent::SimulatedMouseEvent):
427         * dom/MouseEvent.h:
428         (WebCore::MouseEvent::create):
429         * dom/MouseRelatedEvent.cpp:
430         (WebCore::MouseRelatedEvent::MouseRelatedEvent):
431         * dom/MouseRelatedEvent.h:
432         * dom/TouchEvent.cpp:
433         (WebCore::TouchEvent::TouchEvent):
434         * dom/WheelEvent.cpp:
435         (WebCore::WheelEvent::WheelEvent):
436         * page/EventHandler.cpp:
437         (WebCore::EventHandler::dispatchDragEvent):
438         * platform/PlatformMouseEvent.h:
439         (WebCore::PlatformMouseEvent::movementX):
440         (WebCore::PlatformMouseEvent::movementY):
441
442 2011-11-23  Nico Weber  <thakis@chromium.org>
443
444         Remove one static initializer (for kTickTime)
445         https://bugs.webkit.org/show_bug.cgi?id=73049
446
447         Reviewed by Adam Barth.
448
449         * platform/ScrollAnimatorNone.cpp:
450
451 2011-11-23  Jonathan Backer  <backer@chromium.org>
452
453         [chromium] Drop root layer tiles on platforms that cache the front buffer
454         https://bugs.webkit.org/show_bug.cgi?id=72956
455
456         Reviewed by Kenneth Russell.
457
458         * platform/graphics/chromium/LayerRendererChromium.cpp:
459         (WebCore::LayerRendererChromium::initialize):
460         * platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
461         (WebCore::CCLayerTreeHost::initialize):
462         (WebCore::CCLayerTreeHost::didBecomeInvisibleOnImplThread):
463         * platform/graphics/chromium/cc/CCLayerTreeHost.h:
464         (WebCore::CCSettings::CCSettings):
465         (WebCore::LayerRendererCapabilities::LayerRendererCapabilities):
466
467 2011-11-23  Erik Arvidsson  <arv@chromium.org>
468
469         Binding CodeGenerators don't support Conditional= on constants
470         https://bugs.webkit.org/show_bug.cgi?id=67666
471
472         Reviewed by Adam Barth.
473
474         Adds support for [Conditional=LABEL] to const IDL fields.
475
476         * bindings/scripts/CodeGenerator.pm:
477         (GenerateConditionalStringFromAttributeValue): Moved out of CodeGenerator{CPP,JS,V8}.pm.
478         (GenerateCompileTimeCheckForEnumsIfNeeded): Wrap in conditional #if.
479         * bindings/scripts/CodeGeneratorCPP.pm:
480         (GenerateConditionalString):
481         (GenerateHeader): Ditto.
482         * bindings/scripts/CodeGeneratorJS.pm:
483         (GenerateConditionalString):
484         (GenerateHeader): Ditto.
485         (GenerateImplementation): Ditto.
486         (GenerateHashTable):
487         (WriteData):
488         * bindings/scripts/CodeGeneratorObjC.pm:
489         (GenerateHeader): Ditto.
490         * bindings/scripts/CodeGeneratorV8.pm:
491         (GenerateConditionalString): Ditto.
492         (GenerateImplementation):
493         (WriteData):
494         * bindings/scripts/test/CPP/WebDOMTestObj.h: Generated code now wraps conditional const in #if.
495         * bindings/scripts/test/JS/JSTestObj.cpp:
496         (WebCore::jsTestObjCONDITIONAL_CONST): Ditto
497         * bindings/scripts/test/JS/JSTestObj.h: Ditto
498         * bindings/scripts/test/ObjC/DOMTestObj.h: Ditto
499         * bindings/scripts/test/TestObj.idl: Added a conditional const.
500         * bindings/scripts/test/V8/V8TestObj.cpp: Generated code now wraps conditional const in #if.
501
502 2011-11-23  Rafael Weinstein  <rafaelw@chromium.org>
503
504         [MutationObservers] Modifications to the style property don't dispatch "attributes" Mutation Records
505         https://bugs.webkit.org/show_bug.cgi?id=70137
506
507         Reviewed by Ryosuke Niwa.
508
509         This patch adds a private AttributesMutationScope mechanism to CSSMutableStyleDeclaration (which uses
510         the RAII pattern similar to the public ChildListMutationScope). This manages the (sometimes conditional)
511         pre-change serialization of the style attribute (if an observer has requested oldValue), creation of
512         the mutation record, and dispatch if the declaration was actual affected.
513
514         * css/CSSMutableStyleDeclaration.cpp:
515         (WebCore::CSSMutableStyleDeclaration::removeProperty):
516         (WebCore::CSSMutableStyleDeclaration::setProperty):
517         (WebCore::CSSMutableStyleDeclaration::setPropertyInternal):
518         (WebCore::CSSMutableStyleDeclaration::parseDeclaration):
519         (WebCore::CSSMutableStyleDeclaration::addParsedProperties):
520         (WebCore::CSSMutableStyleDeclaration::addParsedProperty):
521         (WebCore::CSSMutableStyleDeclaration::setCssText):
522         (WebCore::CSSMutableStyleDeclaration::merge):
523         (WebCore::CSSMutableStyleDeclaration::removePropertiesInSet):
524         * dom/Element.cpp:
525         (WebCore::Element::setAttribute):
526
527 2011-11-23  Dmitry Lomov  <dslomov@google.com>
528
529         Unreviewed, rebaseline binding tests after http://trac.webkit.org/changeset/101064.
530
531         * bindings/scripts/test/JS/JSFloat64Array.cpp:
532         (WebCore::toFloat64Array):
533         * bindings/scripts/test/V8/V8Float64Array.cpp:
534         (WebCore::V8Float64Array::wrapSlow):
535
536 2011-11-23  Sheriff Bot  <webkit.review.bot@gmail.com>
537
538         Unreviewed, rolling out r101069.
539         http://trac.webkit.org/changeset/101069
540         https://bugs.webkit.org/show_bug.cgi?id=73032
541
542         New test always times out (Requested by aklein on #webkit).
543
544         * inspector/front-end/DebuggerPresentationModel.js:
545         (WebInspector.DebuggerPresentationModel.prototype._bindScriptToRawSourceCode):
546         (WebInspector.DebuggerPresentationModel.prototype.evaluateInSelectedCallFrame):
547         (WebInspector.DebuggerPresentationModel.prototype.get executionLineLocation):
548         (WebInspector.DebuggerPresentationModel.DefaultLinkifierFormatter.prototype.formatRawSourceCodeAnchor):
549         (WebInspector.DebuggerPresentationModel.Linkifier.prototype.linkifyLocation):
550         (WebInspector.DebuggerPresentationModel.Linkifier.prototype._updateAnchor):
551
552 2011-11-23  Antti Koivisto  <antti@apple.com>
553
554         https://bugs.webkit.org/show_bug.cgi?id=72354
555         Image pointer in FillLayer not cleared correctly
556
557         Reviewed by Dan Bernstein.
558
559         Test: fast/css/fill-layer-crash.html
560         
561         We should clear the image pointer too, not just the m_imageSet bit.
562
563         * rendering/style/FillLayer.h:
564         (WebCore::FillLayer::clearImage):
565
566 2011-11-23  Sheriff Bot  <webkit.review.bot@gmail.com>
567
568         Unreviewed, rolling out r101057.
569         http://trac.webkit.org/changeset/101057
570         https://bugs.webkit.org/show_bug.cgi?id=73027
571
572         Broke Chromium Windows build (Requested by aklein on #webkit).
573
574         * html/HTMLTrackElement.cpp:
575         (WebCore::HTMLTrackElement::HTMLTrackElement):
576         (WebCore::HTMLTrackElement::didCompleteLoad):
577         (WebCore::HTMLTrackElement::textTrackReadyStateChanged):
578         * html/HTMLTrackElement.h:
579         * html/HTMLTrackElement.idl:
580         * html/LoadableTextTrack.cpp:
581         (WebCore::LoadableTextTrack::loadTimerFired):
582         (WebCore::LoadableTextTrack::cueLoadingStarted):
583         (WebCore::LoadableTextTrack::cueLoadingCompleted):
584         * html/TextTrack.cpp:
585         (WebCore::TextTrack::TextTrack):
586         (WebCore::TextTrack::setReadyState):
587         * html/TextTrack.h:
588         (WebCore::TextTrack::readyState):
589         * html/TextTrack.idl:
590
591 2011-11-23  Yury Semikhatsky  <yurys@chromium.org>
592
593         Unreviewed. Build fix. Added missing ENABLE(WORKERS) guards.
594
595         * inspector/WorkerConsoleAgent.cpp:
596         * inspector/WorkerConsoleAgent.h:
597         * inspector/WorkerRuntimeAgent.cpp:
598         * inspector/WorkerRuntimeAgent.h:
599
600 2011-11-23  Philippe Normand  <pnormand@igalia.com>
601
602         [GStreamer] improper usage of gst_object_ref_sink
603         https://bugs.webkit.org/show_bug.cgi?id=73014
604
605         Reviewed by Martin Robinson.
606
607         No new tests. Existing tests cover this already.
608
609         * platform/graphics/gstreamer/GRefPtrGStreamer.cpp:
610         (WTF::adoptGRef): Ensure this is called with non-floating GstObjects.
611         (WTF::GstElement): Replace gst_object_ref_sink with
612         gst_object_ref+gst_object_sink like advised in the GstObject documentation.
613         (WTF::GstPad): Ditto.
614         * platform/graphics/gstreamer/GRefPtrGStreamer.h:
615
616 2011-11-23  Yury Semikhatsky  <yurys@chromium.org>
617
618         Web Inspector: split console agent into worker and page console agents
619         https://bugs.webkit.org/show_bug.cgi?id=73019
620
621         InspectorConsoleAgent now has two descendants: WorkerConsoleAgent and PageConsoleAgent
622         which encapsulate functionality specific for the type of inspected instance.
623
624         Reviewed by Pavel Feldman.
625
626         * CMakeLists.txt:
627         * GNUmakefile.list.am:
628         * Target.pri:
629         * WebCore.gypi:
630         * WebCore.vcproj/WebCore.vcproj:
631         * WebCore.xcodeproj/project.pbxproj:
632         * inspector/InspectorConsoleAgent.cpp:
633         (WebCore::InspectorConsoleAgent::InspectorConsoleAgent):
634         (WebCore::InspectorConsoleAgent::~InspectorConsoleAgent):
635         (WebCore::InspectorConsoleAgent::clearMessages):
636         (WebCore::InspectorConsoleAgent::addMessageToConsole):
637         (WebCore::InspectorConsoleAgent::resourceRetrievedByXMLHttpRequest):
638         (WebCore::InspectorConsoleAgent::didReceiveResponse):
639         (WebCore::InspectorConsoleAgent::didFailLoading):
640         (WebCore::InspectorConsoleAgent::addConsoleMessage):
641         * inspector/InspectorConsoleAgent.h:
642         * inspector/InspectorController.cpp:
643         (WebCore::InspectorController::InspectorController):
644         * inspector/InspectorStyleTextEditor.cpp:
645         * inspector/InspectorStyleTextEditor.h:
646         * inspector/PageConsoleAgent.cpp: Copied from Source/WebCore/inspector/PageDebuggerAgent.cpp.
647         (WebCore::PageConsoleAgent::PageConsoleAgent):
648         (WebCore::PageConsoleAgent::~PageConsoleAgent):
649         (WebCore::PageConsoleAgent::clearMessages):
650         (WebCore::PageConsoleAgent::addInspectedNode):
651         (WebCore::PageConsoleAgent::developerExtrasEnabled):
652         * inspector/PageConsoleAgent.h: Copied from Source/WebCore/inspector/PageDebuggerAgent.h.
653         * inspector/PageDebuggerAgent.cpp:
654         * inspector/PageDebuggerAgent.h:
655         * inspector/PageRuntimeAgent.cpp: Copied from Source/WebCore/inspector/PageDebuggerAgent.h.
656         (WebCore::PageRuntimeAgent::PageRuntimeAgent): PageRuntimeAgent was moved into its own file.
657         (WebCore::PageRuntimeAgent::~PageRuntimeAgent):
658         (WebCore::PageRuntimeAgent::scriptStateForFrameId):
659         (WebCore::PageRuntimeAgent::getDefaultInspectedState):
660         * inspector/PageRuntimeAgent.h: Copied from Source/WebCore/inspector/PageDebuggerAgent.h.
661         * inspector/WorkerConsoleAgent.cpp: Copied from Source/WebCore/inspector/PageDebuggerAgent.h.
662         (WebCore::WorkerConsoleAgent::WorkerConsoleAgent):
663         (WebCore::WorkerConsoleAgent::~WorkerConsoleAgent):
664         (WebCore::WorkerConsoleAgent::addInspectedNode):
665         (WebCore::WorkerConsoleAgent::developerExtrasEnabled):
666         * inspector/WorkerConsoleAgent.h: Copied from Source/WebCore/inspector/PageDebuggerAgent.h.
667         * inspector/WorkerDebuggerAgent.cpp:
668         * inspector/WorkerDebuggerAgent.h:
669         * inspector/WorkerInspectorController.cpp:
670         (WebCore::WorkerInspectorController::WorkerInspectorController):
671         * inspector/WorkerInspectorController.h:
672         * inspector/WorkerRuntimeAgent.cpp: Copied from Source/WebCore/inspector/PageDebuggerAgent.h.
673         (WebCore::WorkerRuntimeAgent::WorkerRuntimeAgent): WorkerRuntimeAgent was moved into its own file.
674         (WebCore::WorkerRuntimeAgent::~WorkerRuntimeAgent):
675         (WebCore::WorkerRuntimeAgent::scriptStateForFrameId):
676         (WebCore::WorkerRuntimeAgent::getDefaultInspectedState):
677         * inspector/WorkerRuntimeAgent.h: Copied from Source/WebCore/inspector/PageDebuggerAgent.h.
678
679 2011-11-23  Alexander Pavlov  <apavlov@chromium.org>
680
681         Web Inspector: warning icon for unrecognized style rule should have tooltip
682         https://bugs.webkit.org/show_bug.cgi?id=50638
683
684         Reviewed by Yury Semikhatsky.
685
686         * English.lproj/localizedStrings.js: Add new tooltip strings.
687         * inspector/front-end/CSSCompletions.js:
688         (WebInspector.CSSCompletions.prototype.keySet): Added.
689         * inspector/front-end/StylesSidebarPane.js: Create a separate IMG element for an exclamation mark.
690         * inspector/front-end/elementsPanel.css:
691         (.styles-section .properties li.not-parsed-ok img.exclamation-mark):
692
693 2011-11-23  Halton Huo  <halton.huo@intel.com>
694
695         [EFL] Add zlib depend when freetype is used.
696         https://bugs.webkit.org/show_bug.cgi?id=66365
697
698         Unreviewed build fix.
699
700         When freetype is enabled, uncompress() function is used by
701         WOFFFileFormat.cpp. Since zlib is not required by freetype, we need to
702         add libz as dependency for fix linking issue.
703
704         No new test because this change is only to fix linking issue.
705
706         * PlatformEfl.cmake: add ZLIB as dependency when using freetype
707
708 2011-11-23  Mihnea Ovidenie  <mihnea@adobe.com>
709
710         CSS Exclusions: parse the shorthand "wrap" property
711         https://bugs.webkit.org/show_bug.cgi?id=71905
712
713         Reviewed by Dean Jackson.
714
715         Test: fast/exclusions/wrap-parsing.html
716
717         * css/CSSComputedStyleDeclaration.cpp:
718         (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
719         * css/CSSMutableStyleDeclaration.cpp:
720         (WebCore::CSSMutableStyleDeclaration::getPropertyValue):
721         * css/CSSParser.cpp:
722         (WebCore::CSSParser::parseValue):
723         * css/CSSProperty.cpp:
724         (WebCore::CSSProperty::isInheritedProperty):
725         * css/CSSPropertyLonghand.cpp:
726         (WebCore::initShorthandMap):
727         * css/CSSPropertyNames.in:
728         * css/CSSStyleApplyProperty.cpp:
729         (WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):
730         * css/CSSStyleSelector.cpp:
731         (WebCore::CSSStyleSelector::applyProperty):
732
733 2011-11-23  Alexandru Chiculita  <achicu@adobe.com>
734
735         [CSS Filters] WebKit crashes when changing the filter
736         https://bugs.webkit.org/show_bug.cgi?id=72723
737
738         Reviewed by Simon Fraser.
739
740         There are three things fixed with this patch:
741         1. The list of effects wasn't cleared when the FilterOperations were changed.
742         2. The sourceImage was going to be 0, because the m_sourceGraphicBuffer.release()
743         was also clearing the reference to m_sourceGraphicBuffer. Next time the build() method
744         was called m_graphicsBufferAttached was set to false, but the m_sourceGraphicBuffer was
745         not regenerated, because the size was not invalidated.
746         3. maxEffectRects were not updated when a new list of effects was built.
747          
748         Test: css3/filters/crash-filter-change.html
749
750         * rendering/FilterEffectRenderer.cpp:
751         (WebCore::FilterEffectRenderer::build):
752         (WebCore::FilterEffectRenderer::prepare):
753         * rendering/FilterEffectRenderer.h:
754         (WebCore::FilterEffectRenderer::setSourceImageRect):
755
756 2011-11-23  Elliot Poger  <epoger@google.com>
757
758         [Skia] fix duplicate symbol __ZN7WebCore11BitmapImage16initPlatformDataEv error
759         https://bugs.webkit.org/show_bug.cgi?id=72954
760
761         Reviewed by Adam Barth.
762
763         * WebCore.gyp/WebCore.gyp:
764
765 2011-11-18  Pavel Podivilov  <podivilov@chromium.org>
766
767         Web Inspector: add integration test for compiler source maps.
768         https://bugs.webkit.org/show_bug.cgi?id=72730
769
770         Reviewed by Pavel Feldman.
771
772         Test: http/tests/inspector/compiler-source-mapping-debug.html
773
774         * inspector/front-end/DebuggerPresentationModel.js:
775         (WebInspector.DebuggerPresentationModel.prototype._bindScriptToRawSourceCode):
776         (WebInspector.DebuggerPresentationModel.prototype.setCompilerSourceMapping):
777         (WebInspector.DebuggerPresentationModel.prototype.evaluateInSelectedCallFrame):
778         (WebInspector.DebuggerPresentationModel.prototype.get executionLineLocation):
779         (WebInspector.DebuggerPresentationModel.DefaultLinkifierFormatter.prototype.formatRawSourceCodeAnchor):
780         (WebInspector.DebuggerPresentationModel.Linkifier.prototype.linkifyLocation):
781         (WebInspector.DebuggerPresentationModel.Linkifier.prototype._updateAnchor):
782
783 2011-11-23  Martin Robinson  <mrobinson@igalia.com>
784
785         Build fix for GTK+.
786
787         * platform/graphics/gtk/DrawingBufferGtk.cpp:
788         (WebCore::DrawingBuffer::DrawingBuffer): Update signature and ASSERT
789         for the GTK+ port.
790
791 2011-11-23  Rafael Weinstein  <rafaelw@chromium.org>
792
793         Remove notifyChange from the public interface of CSSMutableStyleDeclaration
794         https://bugs.webkit.org/show_bug.cgi?id=72660
795
796         Reviewed by Ojan Vafai.
797
798         No tests needed. This is only a refactor.
799
800         * css/CSSMutableStyleDeclaration.cpp:
801         (WebCore::CSSMutableStyleDeclaration::CSSMutableStyleDeclaration):
802         (WebCore::CSSMutableStyleDeclaration::addParsedProperty):
803         * css/CSSMutableStyleDeclaration.h:
804         (WebCore::CSSMutableStyleDeclaration::setProperty):
805         (WebCore::CSSMutableStyleDeclaration::removeProperty):
806         (WebCore::CSSMutableStyleDeclaration::removePropertiesInSet):
807         * css/CSSStyleSelector.cpp:
808         (WebCore::leftToRightDeclaration):
809         (WebCore::rightToLeftDeclaration):
810         * editing/ApplyStyleCommand.cpp:
811         (WebCore::ApplyStyleCommand::applyRelativeFontStyleChange):
812         * html/HTMLElement.cpp:
813         (WebCore::HTMLElement::setContentEditable):
814
815 2011-11-23  Scott Graham  <scottmg@chromium.org>
816
817         Adding gamepad support
818         https://bugs.webkit.org/show_bug.cgi?id=69451
819
820         Reviewed by Darin Fisher.
821
822         Plumb gamepad data access through platform.
823
824         Test: gamepad/gamepad-polling-access.html
825
826         * WebCore.gypi:
827         * page/Navigator.cpp:
828         (WebCore::Navigator::webkitGamepads):
829         * page/Navigator.h:
830         * platform/Gamepads.h: Added.
831         * platform/chromium/GamepadsChromium.cpp: Added.
832         (WebCore::sampleGamepads):
833         * platform/chromium/PlatformSupport.h:
834
835 2011-11-23  Dmitry Lomov  <dslomov@google.com>
836
837         Get rid of WebCore dependencies from TypedArray implementation types
838         https://bugs.webkit.org/show_bug.cgi?id=72783
839
840         Reviewed by David Levin.
841
842         Remove WebCore specific logic for neutering Typed Array implementations.
843
844         * bindings/scripts/CodeGeneratorJS.pm:
845         (GenerateImplementation):
846         * bindings/scripts/CodeGeneratorV8.pm:
847         * html/canvas/ArrayBuffer.cpp:
848         (WTF::ArrayBuffer::transfer):
849         * html/canvas/ArrayBuffer.h:
850         * html/canvas/ArrayBufferView.cpp:
851         (WTF::ArrayBufferView::neuter):
852         * html/canvas/ArrayBufferView.h:
853         * html/canvas/DataView.cpp:
854         (WebCore::DataView::neuter):
855         * html/canvas/DataView.h:
856         * html/canvas/Float32Array.h:
857         * html/canvas/Float64Array.h:
858         * html/canvas/Int16Array.h:
859         * html/canvas/Int32Array.h:
860         * html/canvas/Int8Array.h:
861         * html/canvas/Uint16Array.h:
862         * html/canvas/Uint32Array.h:
863         * html/canvas/Uint8Array.h:
864
865 2011-11-23  Raul Hudea  <rhudea@adobe.com>
866
867         First step towards http://webkit.org/b/70025
868
869         Allow -webkit-transform to be have effect to SVG elements.
870         Currently, the CSS transform takes precedence over the SVG transform attribute
871
872         Allow SVG elements to be transformed using webkit-transform
873         https://bugs.webkit.org/show_bug.cgi?id=71309
874
875         Reviewed by Nikolas Zimmermann.
876
877         Tests: svg/clip-path/clip-path-css-transform-1.svg
878                svg/clip-path/clip-path-css-transform-2.svg
879                svg/custom/clip-path-with-css-transform-1.svg
880                svg/custom/clip-path-with-css-transform-2.svg
881                svg/custom/pointer-events-image-css-transform.svg
882                svg/custom/pointer-events-text-css-transform.svg
883                svg/dom/css-transforms.xhtml
884                svg/dynamic-updates/SVG-dynamic-css-transform.html
885                svg/dynamic-updates/SVGClipPathElement-css-transform-influences-hitTesting.html
886                svg/transforms/svg-css-transforms-clip-path.xhtml
887                svg/transforms/svg-css-transforms.xhtml
888
889         * manual-tests/svg-animation-css-transform.html: Added.
890         * manual-tests/svg-css-animate-compound.html: Added.
891         * manual-tests/svg-css-transition-compound.html: Added.
892         * rendering/svg/RenderSVGModelObject.cpp:
893         (WebCore::RenderSVGModelObject::styleWillChange):
894
895         Set the updateTransform flag on SVG elements whenever a CSS transform is present on the style
896
897         * svg/SVGStyledTransformableElement.cpp:
898         (WebCore::SVGStyledTransformableElement::animatedLocalTransform):
899
900         Use the RenderStyle's transform (if it exists) over the SVG's transform
901
902         * svg/SVGTextElement.cpp:
903         (WebCore::SVGTextElement::animatedLocalTransform):
904
905         Use the RenderStyle's transform (if it exists) over the SVG's transform
906
907 2011-11-23  Rafael Weinstein  <rafaelw@chromium.org>
908
909         [MutationObservers] Cleanup duplicated code in Element & CharacterData
910         https://bugs.webkit.org/show_bug.cgi?id=72986
911
912         Reviewed by Ojan Vafai.
913
914         This patch creates a MutationObserverInterestGroup which represents the set
915         of MutationObservers which should receive all mutations of a given type generated
916         from a specific node.
917
918         No tests needed. This patch is only a refactor.
919
920         * dom/CharacterData.cpp:
921         (WebCore::CharacterData::dispatchModifiedEvent):
922         * dom/ChildListMutationScope.cpp:
923         (WebCore::MutationAccumulationRouter::ChildListMutationAccumulator::ChildListMutationAccumulator):
924         (WebCore::MutationAccumulationRouter::ChildListMutationAccumulator::enqueueMutationRecord):
925         (WebCore::MutationAccumulationRouter::MutationAccumulationRouter::incrementScopingLevel):
926         * dom/Element.cpp:
927         (WebCore::enqueueAttributesMutationRecord):
928         * dom/WebKitMutationObserver.cpp:
929         (WebCore::MutationObserverInterestGroup::createForChildListMutation):
930         (WebCore::MutationObserverInterestGroup::createForCharacterDataMutation):
931         (WebCore::MutationObserverInterestGroup::createForAttributesMutation):
932         (WebCore::MutationObserverInterestGroup::MutationObserverInterestGroup):
933         (WebCore::MutationObserverInterestGroup::isOldValueRequested):
934         (WebCore::MutationObserverInterestGroup::enqueueMutationRecord):
935         * dom/WebKitMutationObserver.h:
936         (WebCore::MutationObserverInterestGroup::isEmpty):
937         (WebCore::MutationObserverInterestGroup::hasOldValue):
938
939 2011-11-23  Marc-Andre Decoste  <mad@chromium.org>
940
941         [chromium] HDC leak in Uniscribe Helper
942         https://bugs.webkit.org/show_bug.cgi?id=68598
943
944         Reviewed by Darin Fisher.
945
946         For some reason the Script functions on Windows sometimes return
947         E_PENDING even with a non-NULL DC, so we must handle that case.
948         Also, we should not use the screen DC to select font since this
949         refreshes the whole desktop, so I added a cached compatible DC.
950
951         Note that this doesn't reproduce with WebKit alone, it only reproduces
952         within Chrome, so we can't write a WebKit test for it. A chromium
953         browser test will be added once this change gets rolled in the
954         chromium DEPS file.
955
956         * platform/graphics/chromium/UniscribeHelper.cpp:
957         (WebCore::UniscribeHelper::shape):
958         (WebCore::UniscribeHelper::EnsureCachedDCCreated):
959         (WebCore::UniscribeHelper::fillShapes):
960         * platform/graphics/chromium/UniscribeHelper.h:
961
962 2011-11-23  Anna Cavender  <annacc@chromium.org>
963
964         Move readyState from TextTrack to HTMLTrackElement
965         https://bugs.webkit.org/show_bug.cgi?id=72553
966
967         Reviewed by Eric Carlson.
968
969         * html/HTMLTrackElement.cpp:
970         (WebCore::HTMLTrackElement::HTMLTrackElement):
971             Set initial readyState to NONE.
972         (WebCore::HTMLTrackElement::didCompleteLoad):
973             Set readyState based on load completed status.
974         (WebCore::HTMLTrackElement::setReadyState):
975             This replaces textTrackReadyStateChanged() because only LoadableTextTrack
976             needs to notify HTMLTrackElement of readyState changes (i.e.
977             textTrackReadyStateChanged() is no longer required of TextTrackClient).
978         * html/HTMLTrackElement.h:
979             ReadyState enum and m_readyState member variable moved from TextTrack.
980         (WebCore::HTMLTrackElement::readyState):
981             New: readyState() getter.
982         * html/HTMLTrackElement.idl:
983             Add readyState attribute and associated constants.
984
985         * html/LoadableTextTrack.cpp:
986         (WebCore::LoadableTextTrack::loadTimerFired): Set readyState on HTMLTrackElement.
987         (WebCore::LoadableTextTrack::cueLoadingStarted): Ditto.
988         (WebCore::LoadableTextTrack::cueLoadingCompleted): Move code to set readyState
989             to HTMLTrackElement (it can set it based on loading status).
990
991         * html/TextTrack.cpp: Remove readyState from TextTrack.
992         (WebCore::TextTrack::TextTrack): Ditto.
993         * html/TextTrack.h: Ditto.
994         * html/TextTrack.idl: Ditto.
995
996 2011-11-23  Raphael Kubo da Costa  <kubo@profusion.mobi>
997
998         [CMake] Move the top-level logic to the top-level directory.
999         https://bugs.webkit.org/show_bug.cgi?id=72685
1000
1001         Reviewed by Brent Fulgham.
1002
1003         No new tests, this is a buildsystem changes.
1004
1005         * CMakeLists.txt: Adjust the Source/ directory.
1006         * PlatformBlackBerry.cmake: Ditto.
1007
1008 2011-11-23  Mihnea Ovidenie  <mihnea@adobe.com>
1009
1010         CSS Exclusions: update the name of the shape CSS properties
1011         https://bugs.webkit.org/show_bug.cgi?id=71898
1012         Instead of a single wrap-shape property, we have wrap-shape-inside and wrap-shape-outside.
1013
1014         Reviewed by Dean Jackson.
1015
1016         Tests: fast/exclusions/parsing-wrap-shape-inside.html
1017                fast/exclusions/parsing-wrap-shape-outside.html
1018
1019         * css/CSSComputedStyleDeclaration.cpp:
1020         (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
1021         * css/CSSParser.cpp:
1022         (WebCore::CSSParser::parseValue):
1023         (WebCore::CSSParser::parseWrapShape):
1024         * css/CSSParser.h:
1025         * css/CSSProperty.cpp:
1026         (WebCore::CSSProperty::isInheritedProperty):
1027         * css/CSSPropertyNames.in:
1028         * css/CSSStyleSelector.cpp:
1029         (WebCore::CSSStyleSelector::applyProperty):
1030         * rendering/style/RenderStyle.cpp:
1031         (WebCore::RenderStyle::diff):
1032         * rendering/style/RenderStyle.h:
1033         (WebCore::InheritedFlags::setWrapShapeInside):
1034         (WebCore::InheritedFlags::wrapShapeInside):
1035         (WebCore::InheritedFlags::setWrapShapeOutside):
1036         (WebCore::InheritedFlags::wrapShapeOutside):
1037         (WebCore::InheritedFlags::initialWrapShapeInside):
1038         (WebCore::InheritedFlags::initialWrapShapeOutside):
1039         * rendering/style/StyleRareNonInheritedData.cpp:
1040         (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
1041         (WebCore::StyleRareNonInheritedData::operator==):
1042         * rendering/style/StyleRareNonInheritedData.h:
1043
1044 2011-11-23  Andrey Kosyakov  <caseq@chromium.org>
1045
1046         Web Inspector: [Extensions API] avoid exception in initExtensions() if elements panel is not present
1047         https://bugs.webkit.org/show_bug.cgi?id=73007
1048
1049         Reviewed by Yury Semikhatsky.
1050
1051         * inspector/front-end/ExtensionServer.js:
1052
1053 2011-11-23  Brian Salomon  <bsalomon@google.com>
1054
1055         Use new name for pixel config field of GrTextureDesc
1056         https://bugs.webkit.org/show_bug.cgi?id=72543
1057
1058         Reviewed by Stephen White.
1059
1060         Tested by every canvas2d layout test.
1061
1062         * platform/graphics/skia/ImageBufferSkia.cpp:
1063         (WebCore::createAcceleratedCanvas):
1064
1065 2011-11-23  Emil A Eklund  <eae@chromium.org>
1066
1067         Change remaining scrollTop/Left/Width/Height methods back to int
1068         https://bugs.webkit.org/show_bug.cgi?id=72771
1069
1070         Reviewed by Eric Seidel.
1071
1072         Change remaining scrollTop/Left/Width/Height, setScrollLeft/Top and
1073         verticalScrollbarWidth, horizontalScrollbarHeight methods back to int as
1074         scrolling will remain int based to line up with device pixels.
1075
1076         No new tests.
1077
1078         * rendering/RenderBox.cpp:
1079         (WebCore::RenderBox::scrollWidth):
1080         (WebCore::RenderBox::scrollHeight):
1081         (WebCore::RenderBox::scrollLeft):
1082         (WebCore::RenderBox::scrollTop):
1083         (WebCore::RenderBox::setScrollLeft):
1084         (WebCore::RenderBox::setScrollTop):
1085         (WebCore::RenderBox::verticalScrollbarWidth):
1086         (WebCore::RenderBox::horizontalScrollbarHeight):
1087         * rendering/RenderBox.h:
1088         (WebCore::RenderBox::scrollbarLogicalHeight):
1089         * rendering/RenderListBox.cpp:
1090         (WebCore::RenderListBox::verticalScrollbarWidth):
1091         (WebCore::RenderListBox::scrollHeight):
1092         (WebCore::RenderListBox::scrollLeft):
1093         (WebCore::RenderListBox::setScrollLeft):
1094         (WebCore::RenderListBox::scrollTop):
1095         (WebCore::RenderListBox::setScrollTop):
1096         * rendering/RenderListBox.h:
1097         * rendering/RenderTextControlSingleLine.cpp:
1098         (WebCore::RenderTextControlSingleLine::scrollWidth):
1099         (WebCore::RenderTextControlSingleLine::scrollHeight):
1100         (WebCore::RenderTextControlSingleLine::scrollLeft):
1101         (WebCore::RenderTextControlSingleLine::scrollTop):
1102         (WebCore::RenderTextControlSingleLine::setScrollLeft):
1103         (WebCore::RenderTextControlSingleLine::setScrollTop):
1104         * rendering/RenderTextControlSingleLine.h:
1105
1106 2011-11-22  Kenneth Russell  <kbr@google.com>
1107
1108         [chromium] Support Core Animation plugins in compositor
1109         https://bugs.webkit.org/show_bug.cgi?id=72921
1110
1111         Reviewed by Stephen White.
1112
1113         Added support to PluginLayerChromium and CCPluginLayerImpl for
1114         using an IOSurface as the backing store for a plugin. Added minimal
1115         ARB_texture_rectangle support to Extensions3D.h and a Chromium-
1116         specific extension for binding an IOSurface to a texture.
1117
1118         These changes themselves do not have any effect. A follow-on
1119         Chromium CL will make the switch to this new code path.
1120
1121         Tested manually both with and without the Chromium side changes;
1122         Chromium's DumpRenderTree port does not support Core Animation
1123         plugins. Ran video and Stage3D in Flash, and Unity 3D content, to
1124         verify.
1125
1126         * platform/graphics/Extensions3D.h:
1127         * platform/graphics/chromium/Extensions3DChromium.h:
1128         * platform/graphics/chromium/LayerRendererChromium.cpp:
1129         (WebCore::LayerRendererChromium::initialize):
1130         (WebCore::LayerRendererChromium::pluginLayerTexRectProgram):
1131         (WebCore::LayerRendererChromium::pluginLayerTexRectProgramFlip):
1132         * platform/graphics/chromium/LayerRendererChromium.h:
1133         * platform/graphics/chromium/PluginLayerChromium.cpp:
1134         (WebCore::PluginLayerChromium::PluginLayerChromium):
1135         (WebCore::PluginLayerChromium::setIOSurfaceProperties):
1136         (WebCore::PluginLayerChromium::getIOSurfaceId):
1137         (WebCore::PluginLayerChromium::pushPropertiesTo):
1138         * platform/graphics/chromium/PluginLayerChromium.h:
1139         * platform/graphics/chromium/ShaderChromium.cpp:
1140         (WebCore::FragmentShaderRGBATexRectFlipAlpha::getShaderString):
1141         (WebCore::FragmentShaderRGBATexRectAlpha::getShaderString):
1142         * platform/graphics/chromium/ShaderChromium.h:
1143         * platform/graphics/chromium/cc/CCPluginLayerImpl.cpp:
1144         (PluginProgramBinding::TexStretchPluginProgramBinding::set):
1145         (PluginProgramBinding::TexTransformPluginProgramBinding::set):
1146         (WebCore::CCPluginLayerImpl::CCPluginLayerImpl):
1147         (WebCore::CCPluginLayerImpl::~CCPluginLayerImpl):
1148         (WebCore::CCPluginLayerImpl::draw):
1149         (WebCore::CCPluginLayerImpl::setIOSurfaceProperties):
1150         (WebCore::CCPluginLayerImpl::cleanupResources):
1151         * platform/graphics/chromium/cc/CCPluginLayerImpl.h:
1152
1153 2011-11-22  Daniel Cheng  <dcheng@chromium.org>
1154
1155         [chromium] Fix plumbing for differentiating between clipboard/selection pastes.
1156         https://bugs.webkit.org/show_bug.cgi?id=72056
1157
1158         Reviewed by Tony Chang.
1159
1160         Add a buffer parameter when retrieving the clipboard sequence number and fix several call
1161         sites that incorrectly assume use of the standard buffer in pastes.
1162
1163         * platform/chromium/ChromiumDataObject.cpp:
1164         (WebCore::ChromiumDataObject::types):
1165         (WebCore::ChromiumDataObject::getData):
1166         (WebCore::ChromiumDataObject::containsFilenames):
1167         * platform/chromium/ChromiumDataObject.h:
1168         * platform/chromium/ClipboardChromium.cpp:
1169         (WebCore::ClipboardChromium::ClipboardChromium):
1170         (WebCore::ClipboardChromium::getData):
1171         (WebCore::ClipboardChromium::platformClipboardChanged):
1172         * platform/chromium/ClipboardUtilitiesChromium.cpp:
1173         (WebCore::currentPasteboardBuffer):
1174         * platform/chromium/ClipboardUtilitiesChromium.h:
1175         * platform/chromium/DataTransferItemChromium.cpp:
1176         (WebCore::DataTransferItemChromium::getAsString):
1177         * platform/chromium/PlatformSupport.h:
1178
1179 2011-11-22  Andrey Kosyakov  <caseq@chromium.org>
1180
1181         Layout Test inspector/extensions/extensions-events.html is timing out
1182         https://bugs.webkit.org/show_bug.cgi?id=72966
1183
1184         Reviewed by Pavel Feldman.
1185
1186         - always bind to {add,remove}EventListener() of event target, not WebInspector.Object
1187
1188         * inspector/front-end/ExtensionServer.js:
1189         (WebInspector.ExtensionServer.prototype._registerAutosubscriptionHandler):
1190
1191 2011-11-22  Adam Klein  <adamk@chromium.org>
1192
1193         Move splitView.css (added in r100991) to the correct target.
1194
1195         * WebCore.gypi:
1196
1197 2011-11-22  Andreas Kling  <kling@webkit.org>
1198
1199         CSSProperty: Remove unnecessary operator overloads.
1200         <http://webkit.org/b/72953>
1201
1202         Reviewed by Antti Koivisto.
1203
1204         * css/CSSProperty.cpp:
1205         * css/CSSProperty.h:
1206
1207             Remove operator= and operator== from CSSProperty. They were neither
1208             implemented correctly nor used anywhere.
1209
1210 2011-11-22  Andreas Kling  <kling@webkit.org>
1211
1212         CSSStyleDeclaration: Kill FIXME in setProperty().
1213         <http://webkit.org/b/72958>
1214
1215         Reviewed by Antonio Gomes.
1216
1217         Remove FIXME about possibly throwing an exception when setProperty()
1218         is called with an invalid property name. CSSOM specifies that the
1219         method should simply return in this case.
1220
1221         Spec: http://dev.w3.org/csswg/cssom/#dom-cssstyledeclaration-setproperty
1222
1223         * css/CSSStyleDeclaration.cpp:
1224         (WebCore::CSSStyleDeclaration::setProperty):
1225
1226 2011-11-22  Shinya Kawanaka  <shinyak@google.com>
1227
1228         Spellcheck should be able to run asynchronously.
1229         https://bugs.webkit.org/show_bug.cgi?id=71991
1230
1231         Reviewed by Hajime Morita.
1232
1233         Run asynchronous spell checker if both asynchronous flag and unified text checker flag are ON.
1234
1235         When multiple asynchronous spellchecking are requested, only the first request will be processed.
1236
1237         Test: editing/spelling/spellcheck-async.html
1238
1239         * editing/Editor.cpp:
1240         (WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges):
1241           Uses asynchronous spell checker if asynchronous flag is ON.
1242
1243 2011-11-22  Alexander Pavlov  <apavlov@chromium.org>
1244
1245         Web Inspector: [SuggestBox] Grayed prompt displayed with non-collapsed selection in place
1246         https://bugs.webkit.org/show_bug.cgi?id=72951
1247
1248         Reviewed by Pavel Feldman.
1249
1250         * inspector/front-end/TextPrompt.js:
1251         (WebInspector.TextPrompt.prototype.complete):
1252
1253 2011-11-22  Pavel Feldman  <pfeldman@google.com>
1254
1255         Not reviewed: fix inspector front-end compilation.
1256
1257         * inspector/front-end/externs.js:
1258         (WebInspector.showPanel):
1259
1260 2011-11-22  Adam Bergkvist  <adam.bergkvist@ericsson.com>
1261
1262         Add WebCore platform interface needed by updated MediaStream API design
1263         https://bugs.webkit.org/show_bug.cgi?id=70895
1264
1265         Reviewed by Adam Barth.
1266
1267         This is one in a series of patches that update the MediaStream feature
1268         to use WebCore platform interfaces.
1269
1270         Tests will be provided by http://webkit.org/b/56587
1271
1272         * GNUmakefile.list.am:
1273         * WebCore.gypi:
1274         * mediastream/LocalMediaStream.cpp:
1275         (WebCore::LocalMediaStream::stopTimerFired):
1276         * mediastream/MediaStream.h:
1277         * mediastream/MediaStreamTrack.cpp:
1278         (WebCore::MediaStreamTrack::setEnabled):
1279         * mediastream/PeerConnection.cpp:
1280         (WebCore::PeerConnection::didRemoveRemoteStream):
1281         * mediastream/UserMediaRequest.cpp:
1282         (WebCore::UserMediaRequest::start):
1283         * mediastream/UserMediaRequest.h:
1284         * platform/mediastream/MediaStreamCenter.cpp: Added.
1285         (WebCore::MediaStreamCenter::instance):
1286         (WebCore::MediaStreamCenter::endLocalMediaStream):
1287         (WebCore::MediaStreamCenter::MediaStreamCenter):
1288         (WebCore::MediaStreamCenter::~MediaStreamCenter):
1289         (WebCore::MediaStreamCenter::queryMediaStreamSources):
1290         (WebCore::MediaStreamCenter::didSetMediaStreamTrackEnabled):
1291         (WebCore::MediaStreamCenter::didStopLocalMediaStream):
1292         * platform/mediastream/MediaStreamCenter.h: Added.
1293         (WebCore::MediaStreamSourcesQueryClient::~MediaStreamSourcesQueryClient):
1294         * platform/mediastream/MediaStreamDescriptor.h:
1295         (WebCore::MediaStreamDescriptorOwner::~MediaStreamDescriptorOwner):
1296         (WebCore::MediaStreamDescriptor::owner):
1297         (WebCore::MediaStreamDescriptor::setOwner):
1298
1299 2011-11-22  Pavel Feldman  <pfeldman@google.com>
1300
1301         Web Inspector: remove Inspector::bringToFront from the protocol.
1302         https://bugs.webkit.org/show_bug.cgi?id=72937
1303
1304         Inspector::bringToFront protocol method is currently used on the backend
1305         in order to reveal the front-end window. We should do that by means of
1306         the inspector client interface instead.
1307
1308         Reviewed by Yury Semikhatsky.
1309
1310         * inspector/Inspector.json:
1311         * inspector/InspectorClient.h:
1312         * inspector/InspectorController.cpp:
1313         (WebCore::InspectorController::show):
1314         * loader/EmptyClients.h:
1315         (WebCore::EmptyInspectorClient::bringFrontendToFront):
1316
1317 2011-11-21  Andrey Kosyakov  <caseq@chromium.org>
1318
1319         Web Inspector: [Extensions API][refactoring] remove dependencies on the ExtensionsServer from most of the insepctor
1320         https://bugs.webkit.org/show_bug.cgi?id=72899
1321
1322         Reviewed by Pavel Feldman.
1323
1324         * inspector/front-end/ElementsPanel.js:
1325         (WebInspector.ElementsPanel.prototype._selectedNodeChanged):
1326         * inspector/front-end/ExtensionServer.js:
1327         (WebInspector.ExtensionServer.prototype._notifyResourceContentCommitted):
1328         (WebInspector.ExtensionServer.prototype._notifyElementsSelectionChanged):
1329         * inspector/front-end/Resource.js:
1330         (WebInspector.Resource.prototype.addRevision):
1331         * inspector/front-end/externs.js:
1332
1333 2011-11-22  Zoltan Horvath  <zoltan@webkit.org>
1334
1335         [Qt] Build fix for MHTML support
1336
1337         * Target.pri: Add missing includepath.
1338
1339 2011-11-22  Vsevolod Vlasov  <vsevik@chromium.org>
1340
1341         Web Inspector: Extract SplitView from Panel.createSidebar() method and reuse in Elements and Scripts panels.
1342         https://bugs.webkit.org/show_bug.cgi?id=72920
1343
1344         Reviewed by Pavel Feldman.
1345
1346         * WebCore.gypi:
1347         * WebCore.vcproj/WebCore.vcproj:
1348         * inspector/compile-front-end.sh:
1349         * inspector/front-end/ApplicationCacheModel.js:
1350         * inspector/front-end/AuditsPanel.js:
1351         (WebInspector.AuditsPanel):
1352         * inspector/front-end/ElementsPanel.js:
1353         (WebInspector.ElementsPanel):
1354         (WebInspector.ElementsPanel.prototype.wasShown):
1355         (WebInspector.ElementsPanel.prototype.sidebarResized):
1356         (WebInspector.ElementsPanel.prototype.toggleSearchingForNode):
1357         * inspector/front-end/NetworkPanel.js:
1358         (WebInspector.NetworkPanel.prototype.wasShown):
1359         (WebInspector.NetworkPanel.prototype._showResource):
1360         (WebInspector.NetworkPanel.prototype._closeVisibleResource):
1361         (WebInspector.NetworkPanel.prototype._toggleGridMode):
1362         (WebInspector.NetworkPanel.prototype._toggleViewingResourceMode):
1363         * inspector/front-end/Panel.js:
1364         (WebInspector.Panel.prototype.wasShown):
1365         (WebInspector.Panel.prototype.createSplitView):
1366         (WebInspector.Panel.prototype.createSplitViewWithSidebarTree):
1367         (WebInspector.Panel.prototype.sidebarResized):
1368         * inspector/front-end/ProfilesPanel.js:
1369         (WebInspector.ProfilesPanel.prototype._reset):
1370         (WebInspector.ProfilesPanel.prototype.sidebarResized):
1371         * inspector/front-end/ResourcesPanel.js:
1372         (WebInspector.ResourcesPanel.prototype.sidebarResized):
1373         * inspector/front-end/ScriptsPanel.js:
1374         (WebInspector.ScriptsPanel.prototype.wasShown):
1375         (WebInspector.ScriptsPanel.prototype.sidebarResized):
1376         * inspector/front-end/SplitView.js: Added.
1377         (WebInspector.SplitView):
1378         * inspector/front-end/TimelineOverviewPane.js:
1379         (WebInspector.TimelineOverviewPane.prototype.sidebarResized):
1380         * inspector/front-end/TimelinePanel.js:
1381         (WebInspector.TimelinePanel):
1382         (WebInspector.TimelinePanel.prototype.sidebarResized):
1383         (WebInspector.TimelinePanel.prototype._refreshRecords):
1384         * inspector/front-end/WebKit.qrc:
1385         * inspector/front-end/auditsPanel.css:
1386         * inspector/front-end/elementsPanel.css:
1387         * inspector/front-end/inspector.css:
1388         (.sidebar):
1389         * inspector/front-end/inspector.html:
1390         * inspector/front-end/networkLogView.css:
1391         * inspector/front-end/networkPanel.css:
1392         (#network-views):
1393         * inspector/front-end/profilesPanel.css:
1394         (#profile-views):
1395         * inspector/front-end/resourcesPanel.css:
1396         * inspector/front-end/scriptsPanel.css:
1397         (#scripts-split-view):
1398         * inspector/front-end/splitView.css: Added.
1399         * inspector/front-end/timelinePanel.css:
1400         (.timeline .sidebar):
1401         (.timeline-sidebar-background):
1402         (#resources-container-content):
1403
1404 2011-11-22  Sheriff Bot  <webkit.review.bot@gmail.com>
1405
1406         Unreviewed, rolling out r100988.
1407         http://trac.webkit.org/changeset/100988
1408         https://bugs.webkit.org/show_bug.cgi?id=72941
1409
1410         "Broke pixel tests on Chromium-Linux" (Requested by kbalazs on
1411         #webkit).
1412
1413         * platform/graphics/filters/FEConvolveMatrix.cpp:
1414         (WebCore::FEConvolveMatrix::platformApplySoftware):
1415         * platform/graphics/filters/FEConvolveMatrix.h:
1416         * platform/graphics/filters/FEGaussianBlur.cpp:
1417         (WebCore::FEGaussianBlur::platformApply):
1418         * platform/graphics/filters/FEGaussianBlur.h:
1419         * platform/graphics/filters/FELighting.cpp:
1420         (WebCore::FELighting::platformApplyGeneric):
1421         * platform/graphics/filters/FELighting.h:
1422         * platform/graphics/filters/FEMorphology.cpp:
1423         (WebCore::FEMorphology::platformApply):
1424         * platform/graphics/filters/FEMorphology.h:
1425         * platform/graphics/filters/FETurbulence.cpp:
1426         (WebCore::FETurbulence::platformApplySoftware):
1427         * platform/graphics/filters/FETurbulence.h:
1428         * platform/graphics/filters/arm/FELightingNEON.cpp:
1429         * platform/graphics/filters/arm/FELightingNEON.h:
1430         (WebCore::FELighting::platformApplyNeon):
1431
1432 2011-11-21  Balazs Kelemen  <kbalazs@webkit.org>
1433
1434         Enable ParallelJobs by default
1435         https://bugs.webkit.org/show_bug.cgi?id=70032
1436
1437         Reviewed by Zoltan Herczeg.
1438
1439         Covered by existing tests.
1440
1441         According to measurements on Mac and Linux it is a
1442         considerable speedup for SVG on multicore.
1443
1444         Remove the ENABLE(PARALLEL_JOBS) guard. Fix the Windows build
1445         by qualifying ParallelJobs with the WTF namespace (otherwise
1446         MSVC believes it belongs to WebCore which is likely a compiler bug).
1447
1448         * platform/graphics/filters/FEConvolveMatrix.cpp:
1449         (WebCore::FEConvolveMatrix::setInteriorPixelsWorker):
1450         (WebCore::FEConvolveMatrix::platformApplySoftware):
1451         * platform/graphics/filters/FEConvolveMatrix.h:
1452         * platform/graphics/filters/FEGaussianBlur.cpp:
1453         (WebCore::FEGaussianBlur::platformApplyWorker):
1454         (WebCore::FEGaussianBlur::platformApply):
1455         * platform/graphics/filters/FEGaussianBlur.h:
1456         * platform/graphics/filters/FELighting.cpp:
1457         (WebCore::FELighting::platformApplyGenericWorker):
1458         (WebCore::FELighting::platformApplyGeneric):
1459         * platform/graphics/filters/FELighting.h:
1460         * platform/graphics/filters/FEMorphology.cpp:
1461         (WebCore::FEMorphology::platformApplyWorker):
1462         (WebCore::FEMorphology::platformApply):
1463         * platform/graphics/filters/FEMorphology.h:
1464         * platform/graphics/filters/FETurbulence.cpp:
1465         (WebCore::FETurbulence::fillRegionWorker):
1466         (WebCore::FETurbulence::platformApplySoftware):
1467         * platform/graphics/filters/FETurbulence.h:
1468         * platform/graphics/filters/arm/FELightingNEON.cpp:
1469         (WebCore::FELighting::platformApplyNeonWorker):
1470         * platform/graphics/filters/arm/FELightingNEON.h:
1471         (WebCore::FELighting::platformApplyNeon):
1472
1473 2011-11-22  Alexander Pavlov  <apavlov@chromium.org>
1474
1475         Web Inspector: [protocol] actual JSON messages do not conform to Inspector.json in CSS
1476         https://bugs.webkit.org/show_bug.cgi?id=72733
1477
1478         Reviewed by Pavel Feldman.
1479
1480         * inspector/Inspector.json:
1481         * inspector/InspectorCSSAgent.cpp:
1482         (WebCore::InspectorCSSAgent::getComputedStyleForNode):
1483         * inspector/InspectorCSSAgent.h:
1484         * inspector/InspectorStyleSheet.cpp:
1485         (WebCore::InspectorStyle::buildArrayForComputedStyle):
1486         * inspector/InspectorStyleSheet.h:
1487         * inspector/front-end/CSSStyleModel.js:
1488         (WebInspector.CSSStyleModel.prototype.getComputedStyleAsync):
1489         (WebInspector.CSSStyleDeclaration.parseComputedStylePayload):
1490
1491 2011-11-22  Pavel Feldman  <pfeldman@google.com>
1492
1493         Web Inspector: strip unused InspectorController methods.
1494         https://bugs.webkit.org/show_bug.cgi?id=72886
1495
1496         This is a follow up to the https://bugs.webkit.org/show_bug.cgi?id=63009.
1497         I am now able to remove following InspectorController methods:
1498         ::startUserInitiatedProfiling,
1499         ::isRecordingUserInitiatedProfile,
1500         ::stopUserInitiatedProfiling,
1501         ::showAndEnableDebugger,
1502         ::debuggerEnabled,
1503         ::disableDebugger,
1504         ::startTimelineProfiler,
1505         ::stopTimelineProfiler,
1506         ::timelineProfilerEnabled,
1507         ::showConsole.
1508
1509         Reviewed by Yury Semikhatsky.
1510
1511         * WebCore.exp.in:
1512         * WebCore.order:
1513         * inspector/Inspector.json:
1514         * inspector/InspectorAgent.cpp:
1515         (WebCore::InspectorAgent::setFrontend):
1516         * inspector/InspectorAgent.h:
1517         * inspector/InspectorController.cpp:
1518         (WebCore::InspectorController::InspectorController):
1519         (WebCore::InspectorController::connectFrontend):
1520         * inspector/InspectorController.h:
1521         * inspector/InspectorDebuggerAgent.cpp:
1522         (WebCore::InspectorDebuggerAgent::enable):
1523         (WebCore::InspectorDebuggerAgent::disable):
1524         * inspector/InspectorDebuggerAgent.h:
1525         * inspector/InspectorInstrumentation.cpp:
1526         (WebCore::InspectorInstrumentation::didCommitLoadImpl):
1527         * inspector/InspectorProfilerAgent.cpp:
1528         (WebCore::InspectorProfilerAgent::resetState):
1529         (WebCore::InspectorProfilerAgent::clearFrontend):
1530         (WebCore::InspectorProfilerAgent::restore):
1531         (WebCore::InspectorProfilerAgent::start):
1532         (WebCore::InspectorProfilerAgent::stop):
1533         * inspector/InspectorProfilerAgent.h:
1534         * inspector/InspectorTimelineAgent.cpp:
1535         (WebCore::InspectorTimelineAgent::start):
1536         (WebCore::InspectorTimelineAgent::stop):
1537         * inspector/InspectorTimelineAgent.h:
1538         * inspector/front-end/DebuggerModel.js:
1539         (WebInspector.DebuggerModel.prototype.enableDebugger):
1540         (WebInspector.DebuggerModel.prototype.disableDebugger):
1541         * inspector/front-end/TimelineManager.js:
1542         (WebInspector.TimelineManager.prototype.start):
1543         (WebInspector.TimelineManager.prototype.stop):
1544         (WebInspector.TimelineManager.prototype._started):
1545         (WebInspector.TimelineManager.prototype._stopped):
1546         * inspector/front-end/inspector.js:
1547
1548 2011-11-17  Nat Duca  <nduca@chromium.org>
1549
1550         [chromium] Route willDraw/setNeedsRedraw to CCInputHandler and fix double-drawing issues that result
1551         https://bugs.webkit.org/show_bug.cgi?id=72688
1552
1553         This allows CCInputFilter and CCLayerTreeHostImpl to
1554         perform requestAnimationFrame-style animations. The bulk of
1555         work here is to make the scheduler recover gracefully when you
1556         call setNeedsRedraw inside scheduledActionDraw.
1557
1558         Reviewed by James Robinson.
1559
1560         * WebCore.gypi:
1561         * platform/graphics/chromium/cc/CCInputHandler.h:
1562         (WebCore::CCInputHandlerTarget::CCInputHandlerTarget):
1563         (WebCore::CCInputHandlerTarget::~CCInputHandlerTarget):
1564         * platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
1565         (WebCore::CCLayerTreeHostImpl::currentTimeMs):
1566         (WebCore::CCLayerTreeHostImpl::setNeedsRedraw):
1567         * platform/graphics/chromium/cc/CCLayerTreeHostImpl.h:
1568         * platform/graphics/chromium/cc/CCScheduler.cpp:
1569         (WebCore::CCScheduler::CCScheduler):
1570         (WebCore::CCScheduler::setVisible):
1571         (WebCore::CCScheduler::setNeedsRedraw):
1572         (WebCore::CCScheduler::beginFrame):
1573         (WebCore::CCScheduler::processScheduledActions):
1574         * platform/graphics/chromium/cc/CCScheduler.h:
1575         * platform/graphics/chromium/cc/CCSchedulerStateMachine.cpp:
1576         (WebCore::CCSchedulerStateMachine::CCSchedulerStateMachine):
1577         (WebCore::CCSchedulerStateMachine::nextAction):
1578         (WebCore::CCSchedulerStateMachine::updateState):
1579         (WebCore::CCSchedulerStateMachine::setInsideVSync):
1580         (WebCore::CCSchedulerStateMachine::setOutsideVSync):
1581         * platform/graphics/chromium/cc/CCSchedulerStateMachine.h:
1582         * platform/graphics/chromium/cc/CCScrollController.h: Removed.
1583         * platform/graphics/chromium/cc/CCSingleThreadProxy.cpp:
1584         * platform/graphics/chromium/cc/CCThreadProxy.cpp:
1585         (WebCore::CCThreadProxy::scheduledActionDrawAndSwap):
1586
1587 2011-11-22  Alexander Pavlov  <apavlov@chromium.org>
1588
1589         Web Inspector: Design of the autocomplete suggest
1590         https://bugs.webkit.org/show_bug.cgi?id=72798
1591
1592         Reviewed by Pavel Feldman.
1593
1594         Implemented a combination of grayed text for the first/only completion and hid
1595         the suggest box for a single suggestion (the grayed text is displayed instead.)
1596         Drive-by fix for the "trailing spaces in the prompt" issue
1597         (got regressed when the suggest box was introduced for the first time.)
1598
1599         * inspector/front-end/ConsoleView.js:
1600         (WebInspector.ConsoleView): Fix the "trailing spaces" issue
1601         * inspector/front-end/TextPrompt.js:
1602         (WebInspector.TextPrompt):
1603         (WebInspector.TextPrompt.prototype.renderAsBlock): Fix the "trailing spaces" issue
1604         (WebInspector.TextPrompt.prototype._attachInternal):
1605         (WebInspector.TextPrompt.prototype.acceptAutoComplete):
1606         (WebInspector.TextPrompt.prototype._completionsReady):
1607         (WebInspector.TextPrompt.prototype.applySuggestion):
1608         (WebInspector.TextPrompt.prototype.acceptSuggestion):
1609         (WebInspector.TextPrompt.SuggestBox.prototype._completionsReady):
1610
1611 2011-11-21  David Barr  <davidbarr@chromium.org>
1612
1613         REGRESSION(r98542): Chromium: CSS text is rendered on page
1614         https://bugs.webkit.org/show_bug.cgi?id=71703
1615
1616         Reviewed by Dimitri Glazkov.
1617
1618         Matched UA declarations uncacheable when using simpleDefaultStyleSheet.
1619
1620         Test: fast/css/style-tag-display-none.html
1621
1622         * css/CSSStyleSelector.cpp:
1623         (WebCore::CSSStyleSelector::matchUARules):
1624
1625 2011-11-21  Rob Brackett  <rob@robbrackett.com>
1626         
1627         If an event listener is a function, it should be called and not checked for handleEvent.
1628         This also covers callbacks, which follow the same spec but are implemented separately.
1629         https://bugs.webkit.org/show_bug.cgi?id=62518
1630
1631         Reviewed by Sam Weinig.
1632
1633         Tests: fast/events/dispatch-to-function-with-handle-event.html
1634                fast/js/callback-function-with-handle-event.html
1635
1636         * bindings/js/JSCallbackData.cpp:
1637         (WebCore::JSCallbackData::invokeCallback):
1638         * bindings/js/JSEventListener.cpp:
1639         (WebCore::JSEventListener::handleEvent):
1640
1641 2011-11-21  Rakesh KN  <rakesh.kn@motorola.com>
1642
1643         Need support for dirname attribute
1644         https://bugs.webkit.org/show_bug.cgi?id=65542
1645
1646         Reviewed by Eric Seidel.
1647
1648         Implemented 'dirname' form attribute.
1649
1650         Tests: fast/forms/form-dirname-attribute.html
1651                fast/forms/submit-form-with-dirname-attribute-with-ancestor-dir-attribute.html
1652                fast/forms/submit-form-with-dirname-attribute-with-nonhtml-ancestor.html
1653                fast/forms/submit-form-with-dirname-attribute.html
1654
1655         * html/HTMLAttributeNames.in:
1656         Added "dirname" attribute.
1657         * html/HTMLInputElement.idl:
1658         Add "dirName" property to HTMLInputElement interface.
1659         * html/HTMLTextAreaElement.cpp:
1660         (WebCore::HTMLTextAreaElement::appendFormData):
1661         Append dirname form data.
1662         * html/HTMLTextAreaElement.idl:
1663         Add "dirName" property to HTMLTextAreaElement interface.
1664         * html/HTMLTextFormControlElement.cpp:
1665         (WebCore::parentHTMLElement):
1666         Helper function which returns only HTML parent element.
1667         (WebCore::HTMLTextFormControlElement::directionForFormData):
1668         Helper function for finding directionality of the Element.
1669         * html/HTMLTextFormControlElement.h:
1670         Helper function for finding directionality of the Element.
1671         * html/TextFieldInputType.cpp:
1672         (WebCore::TextFieldInputType::appendFormData):
1673         Append dirname form data.
1674         * html/TextFieldInputType.h:
1675         Append dirname form data.
1676
1677 2011-11-21  Joshua Bell  <jsbell@chromium.org>
1678
1679         IndexedDB: Close database connections, abort transactions, and terminate requests on stop()
1680         https://bugs.webkit.org/show_bug.cgi?id=72066
1681
1682         Reviewed by Tony Chang.
1683
1684         No new tests; addresses race conditions on document navigate/script context stop.
1685
1686         * dom/DocumentEventQueue.cpp:
1687         (WebCore::DocumentEventQueue::enqueueEvent):
1688         * dom/DocumentEventQueue.h:
1689         * dom/EventQueue.h:
1690         * storage/IDBDatabase.cpp:
1691         (WebCore::IDBDatabase::IDBDatabase):
1692         (WebCore::IDBDatabase::~IDBDatabase):
1693         (WebCore::IDBDatabase::transaction):
1694         (WebCore::IDBDatabase::close):
1695         (WebCore::IDBDatabase::onVersionChange):
1696         (WebCore::IDBDatabase::enqueueEvent):
1697         (WebCore::IDBDatabase::stop):
1698         * storage/IDBDatabase.h:
1699         * storage/IDBFactory.cpp:
1700         (WebCore::IDBFactory::IDBFactory):
1701         (WebCore::IDBFactory::getDatabaseNames):
1702         (WebCore::IDBFactory::open):
1703         (WebCore::IDBFactory::deleteDatabase):
1704         * storage/IDBFactory.h:
1705         * storage/IDBObjectStore.cpp:
1706         (WebCore::IDBObjectStore::IDBObjectStore):
1707         (WebCore::IDBObjectStore::name):
1708         (WebCore::IDBObjectStore::keyPath):
1709         (WebCore::IDBObjectStore::indexNames):
1710         (WebCore::IDBObjectStore::get):
1711         (WebCore::IDBObjectStore::add):
1712         (WebCore::IDBObjectStore::put):
1713         (WebCore::IDBObjectStore::deleteFunction):
1714         (WebCore::IDBObjectStore::clear):
1715         (WebCore::IDBObjectStore::createIndex):
1716         (WebCore::IDBObjectStore::index):
1717         (WebCore::IDBObjectStore::deleteIndex):
1718         (WebCore::IDBObjectStore::openCursor):
1719         * storage/IDBObjectStore.h:
1720         * storage/IDBRequest.cpp:
1721         (WebCore::IDBRequest::IDBRequest):
1722         (WebCore::IDBRequest::abort):
1723         (WebCore::IDBRequest::onSuccess):
1724         (WebCore::IDBRequest::onSuccessWithContinuation):
1725         (WebCore::IDBRequest::stop):
1726         (WebCore::IDBRequest::dispatchEvent):
1727         (WebCore::IDBRequest::enqueueEvent):
1728         * storage/IDBRequest.h:
1729         * storage/IDBTransaction.cpp:
1730         (WebCore::IDBTransaction::IDBTransaction):
1731         (WebCore::IDBTransaction::abort):
1732         (WebCore::IDBTransaction::onAbort):
1733         (WebCore::IDBTransaction::onComplete):
1734         (WebCore::IDBTransaction::dispatchEvent):
1735         (WebCore::IDBTransaction::stop):
1736         (WebCore::IDBTransaction::enqueueEvent):
1737         * storage/IDBTransaction.h:
1738         * storage/IDBTransactionBackendImpl.cpp:
1739         (WebCore::IDBTransactionBackendImpl::abort):
1740         (WebCore::IDBTransactionBackendImpl::commit):
1741         * workers/WorkerEventQueue.cpp:
1742         (WebCore::WorkerEventQueue::enqueueEvent):
1743         * workers/WorkerEventQueue.h:
1744
1745 2011-11-21  James Robinson  <jamesr@chromium.org>
1746
1747         [chromium] Avoid pushing dirty tiles to the impl layer
1748         https://bugs.webkit.org/show_bug.cgi?id=72765
1749
1750         Reviewed by Kenneth Russell.
1751
1752         If a tile has invalidations at pushPropertiesTo, then we know the contents of that tile are no longer valid even
1753         if they still have valid backing textures. This avoids pushing that texture to the impl side so it is not
1754         displayed to the user. The texture is still kept around (managed by the TextureManager) so that when we later do
1755         decide to update the contents for that tile we can use partial results if they are still valid.
1756
1757         Covered by new unit test in TiledLayerChromiumTest.cpp
1758
1759         * platform/graphics/chromium/TiledLayerChromium.cpp:
1760         (WebCore::UpdatableTile::isDirty):
1761         (WebCore::TiledLayerChromium::updateTileSizeAndTilingOption):
1762         (WebCore::TiledLayerChromium::setTileSize):
1763         (WebCore::TiledLayerChromium::setLayerTreeHost):
1764         (WebCore::TiledLayerChromium::createTiler):
1765         (WebCore::TiledLayerChromium::updateCompositorResources):
1766         (WebCore::TiledLayerChromium::pushPropertiesTo):
1767         * platform/graphics/chromium/TiledLayerChromium.h:
1768         (WebCore::TiledLayerChromium::setTextureFormat):
1769         * platform/graphics/chromium/cc/CCTiledLayerImpl.cpp:
1770         (WebCore::CCTiledLayerImpl::hasTileAt):
1771         (WebCore::CCTiledLayerImpl::drawTiles):
1772         * platform/graphics/chromium/cc/CCTiledLayerImpl.h:
1773
1774 2011-11-21  Simon Hausmann  <simon.hausmann@nokia.com>
1775
1776         [Qt] Speed up debug builds.
1777         https://bugs.webkit.org/show_bug.cgi?id=72882
1778
1779         Reviewed by Tor Arne Vestbø.
1780
1781         * Target.pri: Make BUILDING_WebCore available earlier, so it can be
1782         used by the build system.
1783
1784 2011-11-17  Robert Hogan  <robert@webkit.org>
1785
1786         CSS 2.1 failure: empty-inline-003.htm fails
1787         https://bugs.webkit.org/show_bug.cgi?id=72638
1788
1789         Reviewed by Ryosuke Niwa.
1790
1791         Empty inline elements need to share their inline height with siblings.
1792
1793         * rendering/RenderBlockLineLayout.cpp:
1794         (WebCore::inlineFlowRequiresLineBox): In strict mode, add a LineBox for an empty element if it is
1795         going to affect the line-height.
1796         (WebCore::requiresLineBox): Pass LineInfo to inlineFlowRequiresLineBox
1797         (WebCore::RenderBlock::LineBreaker::nextLineBreak): Pass LineInfo to inlineFlowRequiresLineBox
1798
1799 2011-11-21  Adrienne Walker  <enne@google.com>
1800
1801         [chromium] Remove incorrect render surface layer list asserts from compositor
1802         https://bugs.webkit.org/show_bug.cgi?id=72744
1803
1804         Reviewed by James Robinson.
1805
1806         These asserts are incorrect, because it's valid for the default render
1807         surface to be created but to have a root layer that doesn't draw. It
1808         won't get added to the single render surface and it'll have an empty
1809         layer list.
1810
1811         Test: compositor_unittests
1812
1813         * platform/graphics/chromium/LayerRendererChromium.cpp:
1814         (WebCore::LayerRendererChromium::drawLayersOntoRenderSurfaces):
1815         * platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
1816         (WebCore::CCLayerTreeHost::paintLayerContents):
1817         (WebCore::CCLayerTreeHost::updateCompositorResources):
1818
1819 2011-11-21  Andreas Kling  <kling@webkit.org>
1820
1821         StyleSheet: Move completeURL() to CSSStyleSheet.
1822         <http://webkit.org/b/72888>
1823
1824         Reviewed by Antti Koivisto.
1825
1826         Since completeURL() is only used on CSSStyleSheets, move it there (and make
1827         it non-virtual) to make StyleSheet a little leaner.
1828
1829         * css/CSSStyleSheet.cpp:
1830         (WebCore::CSSStyleSheet::completeURL):
1831         * css/CSSStyleSheet.h:
1832         * css/StyleSheet.cpp:
1833         * css/StyleSheet.h:
1834
1835 2011-11-21  Robin Dunn  <robin@alldunn.com>
1836
1837         [wx] Fix image translation calculations.
1838         https://bugs.webkit.org/show_bug.cgi?id=72892
1839
1840         Reviewed by Kevin Ollivier.
1841
1842         * platform/graphics/wx/ImageWx.cpp:
1843         (WebCore::Image::drawPattern):
1844
1845 2011-11-21  Scott Graham  <scottmg@chromium.org>
1846
1847         copyright comment style to C from C++ for gamepad module
1848         https://bugs.webkit.org/show_bug.cgi?id=72894
1849
1850         Reviewed by Sam Weinig.
1851
1852         Just changes comment format, no code/test changes.
1853
1854         * Modules/gamepad/Gamepad.cpp:
1855         * Modules/gamepad/Gamepad.h:
1856         * Modules/gamepad/Gamepad.idl:
1857         * Modules/gamepad/GamepadList.cpp:
1858         * Modules/gamepad/GamepadList.h:
1859         * Modules/gamepad/GamepadList.idl:
1860
1861 2011-11-21  Andreas Kling  <kling@webkit.org>
1862
1863         JSC/CSSOM: Merge root() for style declaration objects.
1864         <http://webkit.org/b/72881>
1865
1866         Reviewed by Antti Koivisto.
1867
1868         Fold root(CSSMutableStyleDeclaration*) into root(CSSStyleDeclaration*),
1869         removing a duplicated chunk and making it a little easier on the eyes.
1870
1871         * bindings/js/JSDOMBinding.h:
1872         (WebCore::root):
1873
1874 2011-11-21  Igor Oliveira  <igor.oliveira@openbossa.org>
1875
1876         [WK2][Qt] Move Accelerated Composite animations to UIProcess
1877         https://bugs.webkit.org/show_bug.cgi?id=72753
1878         
1879         Add helper method to synchronize animations in TextureMapper.
1880
1881         Reviewed by Noam Rosenthal.
1882
1883         * platform/graphics/texmap/TextureMapperNode.cpp:
1884         (WebCore::TextureMapperNode::syncAnimationsRecursively):
1885         * platform/graphics/texmap/TextureMapperNode.h:
1886
1887 2011-11-21  Sheriff Bot  <webkit.review.bot@gmail.com>
1888
1889         Unreviewed, rolling out r100913.
1890         http://trac.webkit.org/changeset/100913
1891         https://bugs.webkit.org/show_bug.cgi?id=72885
1892
1893         "Break Windows build" (Requested by kbalazs on #webkit).
1894
1895         * platform/graphics/filters/FEConvolveMatrix.cpp:
1896         (WebCore::FEConvolveMatrix::platformApplySoftware):
1897         * platform/graphics/filters/FEConvolveMatrix.h:
1898         * platform/graphics/filters/FEGaussianBlur.cpp:
1899         (WebCore::FEGaussianBlur::platformApply):
1900         * platform/graphics/filters/FEGaussianBlur.h:
1901         * platform/graphics/filters/FELighting.cpp:
1902         (WebCore::FELighting::platformApplyGeneric):
1903         * platform/graphics/filters/FELighting.h:
1904         * platform/graphics/filters/FEMorphology.cpp:
1905         (WebCore::FEMorphology::platformApply):
1906         * platform/graphics/filters/FEMorphology.h:
1907         * platform/graphics/filters/FETurbulence.cpp:
1908         (WebCore::FETurbulence::platformApplySoftware):
1909         * platform/graphics/filters/FETurbulence.h:
1910         * platform/graphics/filters/arm/FELightingNEON.cpp:
1911         * platform/graphics/filters/arm/FELightingNEON.h:
1912         (WebCore::FELighting::platformApplyNeon):
1913
1914 2011-11-21  Balazs Kelemen  <kbalazs@webkit.org>
1915
1916         Enable ParallelJobs by default
1917         https://bugs.webkit.org/show_bug.cgi?id=70032
1918
1919         Reviewed by Zoltan Herczeg.
1920
1921         Covered by existing tests.
1922
1923         According to measurements on Mac and Linux it is a
1924         considerable speedup for SVG on multicore.
1925
1926         Remove the ENABLE(PARALLEL_JOBS) guard. Fix the Windows build
1927         by qualifying ParallelJobs with the WTF namespace (otherwise
1928         MSVC believes it belongs to WebCore which is likely a compiler bug).
1929
1930         * platform/graphics/filters/FEConvolveMatrix.cpp:
1931         (WebCore::FEConvolveMatrix::setInteriorPixelsWorker):
1932         (WebCore::FEConvolveMatrix::platformApplySoftware):
1933         * platform/graphics/filters/FEConvolveMatrix.h:
1934         * platform/graphics/filters/FEGaussianBlur.cpp:
1935         (WebCore::FEGaussianBlur::platformApplyWorker):
1936         (WebCore::FEGaussianBlur::platformApply):
1937         * platform/graphics/filters/FEGaussianBlur.h:
1938         * platform/graphics/filters/FELighting.cpp:
1939         (WebCore::FELighting::platformApplyGenericWorker):
1940         (WebCore::FELighting::platformApplyGeneric):
1941         * platform/graphics/filters/FELighting.h:
1942         * platform/graphics/filters/FEMorphology.cpp:
1943         (WebCore::FEMorphology::platformApplyWorker):
1944         (WebCore::FEMorphology::platformApply):
1945         * platform/graphics/filters/FEMorphology.h:
1946         * platform/graphics/filters/FETurbulence.cpp:
1947         (WebCore::FETurbulence::fillRegionWorker):
1948         (WebCore::FETurbulence::platformApplySoftware):
1949         * platform/graphics/filters/FETurbulence.h:
1950         * platform/graphics/filters/arm/FELightingNEON.cpp:
1951         (WebCore::FELighting::platformApplyNeonWorker):
1952         * platform/graphics/filters/arm/FELightingNEON.h:
1953         (WebCore::FELighting::platformApplyNeon):
1954
1955 2011-11-21  Antti Koivisto  <antti@apple.com>
1956
1957         Remove CSSStyleSelector::m_additionalAttributeStyleDecls field
1958         https://bugs.webkit.org/show_bug.cgi?id=72876
1959
1960         Reviewed by Andreas Kling.
1961
1962         There is no reason for this temporary to be a field.
1963
1964         * css/CSSStyleSelector.cpp:
1965         (WebCore::CSSStyleSelector::matchAllRules):
1966         * css/CSSStyleSelector.h:
1967
1968 2011-11-21  Pavel Feldman  <pfeldman@google.com>
1969
1970         Web Inspector: [REGRESSION] Assertion failed in ScriptsPanel.js
1971         https://bugs.webkit.org/show_bug.cgi?id=72877
1972
1973         Reviewed by Yury Semikhatsky.
1974
1975         * inspector/front-end/ScriptsPanel.js:
1976
1977 2011-11-18  Pavel Feldman  <pfeldman@google.com>
1978
1979         Web Inspector: get rid of Panel::reset in the front-end.
1980         https://bugs.webkit.org/show_bug.cgi?id=72587
1981
1982         I'm slowly getting rid of the Inspector protocol domain. It currently
1983         contains methods that did not find their home in the meaningful domains.
1984         This change removes reset protocol method.
1985
1986         Reviewed by Yury Semikhatsky.
1987
1988         * inspector/Inspector.json:
1989         * inspector/InspectorAgent.cpp:
1990         (WebCore::InspectorAgent::didCommitLoad):
1991         * inspector/InspectorDebuggerAgent.cpp:
1992         (WebCore::InspectorDebuggerAgent::didClearMainFrameWindowObject):
1993         * inspector/InspectorDebuggerAgent.h:
1994         * inspector/InspectorInstrumentation.cpp:
1995         (WebCore::InspectorInstrumentation::didClearWindowObjectInWorldImpl):
1996         (WebCore::InspectorInstrumentation::didCommitLoadImpl):
1997         * inspector/front-end/ApplicationCacheModel.js:
1998         (WebInspector.ApplicationCacheModel.prototype._frameNavigated):
1999         (WebInspector.ApplicationCacheModel.prototype._frameDetached):
2000         * inspector/front-end/DebuggerModel.js:
2001         (WebInspector.DebuggerModel.prototype._globalObjectCleared):
2002         (WebInspector.DebuggerDispatcher.prototype.globalObjectCleared):
2003         * inspector/front-end/DebuggerPresentationModel.js:
2004         (WebInspector.DebuggerPresentationModel):
2005         (WebInspector.DebuggerPresentationModel.prototype._debuggerReset):
2006         * inspector/front-end/ExtensionServer.js:
2007         (WebInspector.ExtensionServer):
2008         (WebInspector.ExtensionServer.prototype._mainFrameNavigated):
2009         * inspector/front-end/JavaScriptContextManager.js:
2010         (WebInspector.JavaScriptContextManager.prototype._frameDetached):
2011         (WebInspector.FrameEvaluationContext.prototype.get frameId):
2012         * inspector/front-end/NetworkLog.js:
2013         (WebInspector.NetworkLog):
2014         (WebInspector.NetworkLog.prototype._mainFrameNavigated):
2015         * inspector/front-end/NetworkPanel.js:
2016         (WebInspector.NetworkLogView):
2017         (WebInspector.NetworkLogView.prototype._mainFrameNavigated):
2018         * inspector/front-end/ResourceTreeModel.js:
2019         (WebInspector.ResourceTreeModel.prototype._frameNavigated):
2020         (WebInspector.ResourceTreeModel.prototype._frameDetached):
2021         (WebInspector.ResourceTreeModel.prototype._clearChildFramesAndResources):
2022         * inspector/front-end/ResourcesPanel.js:
2023         (WebInspector.ResourcesPanel.prototype._reset):
2024         (WebInspector.ResourcesPanel.prototype._frameDetached):
2025         * inspector/front-end/ScriptsPanel.js:
2026         (WebInspector.ScriptsPanel.prototype._debuggerWasDisabled):
2027         (WebInspector.ScriptsPanel.prototype._reset):
2028         * inspector/front-end/WorkerManager.js:
2029         (WebInspector.WorkerManager):
2030         (WebInspector.WorkerManager.prototype._mainFrameNavigated):
2031         * inspector/front-end/inspector.js:
2032
2033 2011-06-20  Pavel Feldman  <pfeldman@chromium.org>
2034
2035         Web Inspector: introduce InspectorFrontendAPI for actions initiated from the application menu.
2036         https://bugs.webkit.org/show_bug.cgi?id=62985
2037
2038         Both: inspector protocol and WebCore/InspectorController have a number of unnecessary
2039         methods for plumbing the menu action handlers through the WebKit and WebCore.
2040         I intend to remove this menu support from the protocol and WebCore/InspectorController API.
2041         I am starting with exposing the new front-end API in the WebCore and using it in the WebKit/mac port.
2042         WebKit/win and WebKit2 to follow.
2043
2044         Reviewed by Yury Semikhatsky.
2045
2046         * WebCore.exp.in:
2047         * WebCore.gypi:
2048         * WebCore.vcproj/WebCore.vcproj:
2049         * inspector/InspectorFrontendClientLocal.cpp:
2050         (WebCore::InspectorFrontendClientLocal::InspectorFrontendClientLocal):
2051         (WebCore::InspectorFrontendClientLocal::frontendLoaded):
2052         (WebCore::InspectorFrontendClientLocal::setAttachedWindow):
2053         (WebCore::InspectorFrontendClientLocal::isDebuggingEnabled):
2054         (WebCore::InspectorFrontendClientLocal::setDebuggingEnabled):
2055         (WebCore::InspectorFrontendClientLocal::isJavaScriptProfilingEnabled):
2056         (WebCore::InspectorFrontendClientLocal::setJavaScriptProfilingEnabled):
2057         (WebCore::InspectorFrontendClientLocal::isTimelineProfilingEnabled):
2058         (WebCore::InspectorFrontendClientLocal::setTimelineProfilingEnabled):
2059         (WebCore::InspectorFrontendClientLocal::isProfilingJavaScript):
2060         (WebCore::InspectorFrontendClientLocal::startProfilingJavaScript):
2061         (WebCore::InspectorFrontendClientLocal::stopProfilingJavaScript):
2062         (WebCore::InspectorFrontendClientLocal::evaluateAsBoolean):
2063         (WebCore::InspectorFrontendClientLocal::evaluateOnLoad):
2064         * inspector/InspectorFrontendClientLocal.h:
2065         * inspector/front-end/InspectorFrontendAPI.js: Added.
2066         (InspectorFrontendAPI.isDebuggingEnabled):
2067         (InspectorFrontendAPI.setDebuggingEnabled):
2068         (InspectorFrontendAPI.isJavaScriptProfilingEnabled):
2069         (InspectorFrontendAPI.setJavaScriptProfilingEnabled):
2070         (InspectorFrontendAPI.isTimelineProfilingEnabled):
2071         (InspectorFrontendAPI.setTimelineProfilingEnabled):
2072         (InspectorFrontendAPI.isProfilingJavaScript):
2073         (InspectorFrontendAPI.startProfilingJavaScript):
2074         (InspectorFrontendAPI.stopProfilingJavaScript):
2075         (InspectorFrontendAPI.setAttachedWindow):
2076         * inspector/front-end/ProfileView.js:
2077         (WebInspector.CPUProfileType):
2078         (WebInspector.CPUProfileType.prototype.isRecordingProfile):
2079         (WebInspector.CPUProfileType.prototype.startRecordingProfile):
2080         (WebInspector.CPUProfileType.prototype.stopRecordingProfile):
2081         * inspector/front-end/ProfilesPanel.js:
2082         (WebInspector.ProfilesPanel.prototype.get profilerEnabled):
2083         (WebInspector.ProfilesPanel.prototype.enableProfiler):
2084         (WebInspector.ProfilesPanel.prototype.disableProfiler):
2085         * inspector/front-end/ScriptsPanel.js:
2086         (WebInspector.ScriptsPanel):
2087         (WebInspector.ScriptsPanel.prototype.get debuggingEnabled):
2088         (WebInspector.ScriptsPanel.prototype.enableDebugging):
2089         (WebInspector.ScriptsPanel.prototype.disableDebugging):
2090         (WebInspector.ScriptsPanel.prototype.toggleDebugging):
2091         * inspector/front-end/TimelinePanel.js:
2092         (WebInspector.TimelinePanel.prototype._memoryOverviewItemSelected):
2093         (WebInspector.TimelinePanel.prototype.setTimelineProfilingEnabled):
2094         (WebInspector.TimelinePanel.prototype.get timelineProfilingEnabled):
2095         * inspector/front-end/WebKit.qrc:
2096         * inspector/front-end/inspector.html:
2097         * inspector/front-end/inspector.js:
2098
2099 2011-11-18  Alexander Pavlov  <apavlov@chromium.org>
2100
2101         Web Inspector: [Protocol] Retain a single universal method for loading a required combination of element styles
2102         https://bugs.webkit.org/show_bug.cgi?id=72701
2103
2104         Reviewed by Pavel Feldman.
2105
2106         * inspector/Inspector.json:
2107         * inspector/InspectorCSSAgent.cpp:
2108         (WebCore::InspectorCSSAgent::getMatchedStylesForNode):
2109         (WebCore::InspectorCSSAgent::getInlineStylesForNode):
2110         (WebCore::InspectorCSSAgent::getComputedStyleForNode):
2111         * inspector/InspectorCSSAgent.h:
2112         * inspector/front-end/AuditRules.js:
2113         (WebInspector.AuditRules.ImageDimensionsRule.prototype.doRun):
2114         (WebInspector.AuditRules.ImageDimensionsRule.prototype.doRun.getStyles.inlineCallback):
2115         (WebInspector.AuditRules.ImageDimensionsRule.prototype.doRun.getStyles.matchedCallback):
2116         (WebInspector.AuditRules.ImageDimensionsRule.prototype.doRun.getStyles):
2117         * inspector/front-end/CSSStyleModel.js:
2118         (WebInspector.CSSStyleModel.prototype.getMatchedStylesAsync):
2119         (WebInspector.CSSStyleModel.prototype.getComputedStyleAsync):
2120         (WebInspector.CSSStyleModel.prototype.getInlineStylesAsync):
2121         * inspector/front-end/MetricsSidebarPane.js:
2122         (WebInspector.MetricsSidebarPane.prototype._innerUpdate):
2123         * inspector/front-end/StylesSidebarPane.js:
2124         (WebInspector.StylesSidebarPane.prototype.get forcedPseudoClasses):
2125         (WebInspector.StylesSidebarPane.prototype._executeRebuildUpdate):
2126         (WebInspector.StylesSidebarPane.prototype._executeRebuildUpdate.inlineCallback):
2127         (WebInspector.StylesSidebarPane.prototype._executeRebuildUpdate.computedCallback):
2128         (WebInspector.StylesSidebarPane.prototype._innerUpdate):
2129
2130 2011-11-21  Sheriff Bot  <webkit.review.bot@gmail.com>
2131
2132         Unreviewed, rolling out r100856.
2133         http://trac.webkit.org/changeset/100856
2134         https://bugs.webkit.org/show_bug.cgi?id=72867
2135
2136         New test fast/css/style-tag-display-none.html fails on
2137         Chromium (Requested by steveblock on #webkit).
2138
2139         * css/CSSStyleSelector.cpp:
2140         (WebCore::CSSStyleSelector::matchUARules):
2141
2142 2011-11-21  Jochen Eisinger  <jochen@chromium.org>
2143
2144         Implement Meta referrer
2145         https://bugs.webkit.org/show_bug.cgi?id=72674
2146
2147         Reviewed by Adam Barth.
2148
2149         http://wiki.whatwg.org/wiki/Meta_referrer
2150
2151         Tests: http/tests/security/referrer-policy-always.html
2152                http/tests/security/referrer-policy-default.html
2153                http/tests/security/referrer-policy-https-always.html
2154                http/tests/security/referrer-policy-https-default.html
2155                http/tests/security/referrer-policy-https-never.html
2156                http/tests/security/referrer-policy-https-origin.html
2157                http/tests/security/referrer-policy-never.html
2158                http/tests/security/referrer-policy-origin.html
2159                http/tests/security/referrer-policy-redirect.html
2160                http/tests/security/referrer-policy-rel-noreferrer.html
2161
2162         * WebCore.exp.in: updated
2163         * dom/Document.cpp:
2164         (WebCore::Document::Document):
2165         (WebCore::Document::processReferrerPolicy):
2166         * dom/Document.h:
2167         (WebCore::Document::referrerPolicy):
2168         * html/HTMLAnchorElement.cpp:
2169         (WebCore::HTMLAnchorElement::handleClick):
2170         * html/HTMLMetaElement.cpp:
2171         (WebCore::HTMLMetaElement::process):
2172         * loader/FrameLoader.cpp:
2173         (WebCore::FrameLoader::loadFrameRequest):
2174         (WebCore::FrameLoader::loadResourceSynchronously):
2175         * loader/PingLoader.cpp:
2176         (WebCore::PingLoader::loadImage):
2177         (WebCore::PingLoader::sendPing):
2178         (WebCore::PingLoader::reportContentSecurityPolicyViolation):
2179         * loader/SubframeLoader.cpp:
2180         (WebCore::SubframeLoader::loadSubframe):
2181         * loader/SubresourceLoader.cpp:
2182         (WebCore::SubresourceLoader::create):
2183         * page/SecurityPolicy.cpp:
2184         (WebCore::SecurityPolicy::generateReferrerHeader):
2185         * page/SecurityPolicy.h:
2186
2187 2011-11-21  Vsevolod Vlasov  <vsevik@chromium.org>
2188
2189         Web Inspector: ApplicationCache view should show navigator.onLine indicator.
2190         https://bugs.webkit.org/show_bug.cgi?id=72618
2191
2192         Reviewed by Pavel Feldman.
2193
2194         * inspector/InspectorApplicationCacheAgent.cpp:
2195         (WebCore::InspectorApplicationCacheAgent::enable):
2196         * inspector/front-end/ApplicationCacheItemsView.js:
2197         (WebInspector.ApplicationCacheItemsView):
2198         (WebInspector.ApplicationCacheItemsView.prototype.wasShown):
2199         * inspector/front-end/ApplicationCacheModel.js:
2200         (WebInspector.ApplicationCacheModel):
2201         (WebInspector.ApplicationCacheModel.prototype.get onLine):
2202         (WebInspector.ApplicationCacheModel.prototype._networkStateUpdated):
2203         * inspector/front-end/ResourcesPanel.js:
2204         (WebInspector.ResourcesPanel.prototype.showApplicationCache):
2205         (WebInspector.ResourcesPanel.prototype._applicationCacheNetworkStateChanged):
2206
2207 2011-11-21  Carlos Garcia Campos  <cgarcia@igalia.com>
2208
2209         Unreviewed. Fix make distcheck build.
2210
2211         * GNUmakefile.list.am:
2212
2213 2011-11-21  Dominic Mazzoni  <dmazzoni@google.com>
2214
2215         Accessibility: Multiselect list boxes need to report the active option in addition to which items are selected.
2216         https://bugs.webkit.org/show_bug.cgi?id=72479
2217
2218         Reviewed by Chris Fleizach.
2219
2220         Test: accessibility/multiselect-list-reports-active-option.html
2221
2222         * accessibility/AccessibilityListBoxOption.cpp:
2223         (WebCore::AccessibilityListBoxOption::isSelectedOptionActive):
2224         * accessibility/AccessibilityListBoxOption.h:
2225         * accessibility/AccessibilityObject.h:
2226         (WebCore::AccessibilityObject::isSelectedOptionActive):
2227
2228 2011-11-21  Yuta Kitamura  <yutak@chromium.org>
2229
2230         [Qt] WebSocket close tests are failing
2231         https://bugs.webkit.org/show_bug.cgi?id=72865
2232
2233         Reviewed by Simon Hausmann.
2234
2235         * platform/network/qt/SocketStreamHandleQt.cpp:
2236         (WebCore::SocketStreamHandlePrivate::close):
2237         Emit didCloseSocketStream() callback even before the connection is established.
2238         Call m_socket->abort() to prevent "connected" signal from firing.
2239
2240 2011-11-21  Shinya Kawanaka  <shinyak@google.com>
2241
2242         Refactoring: SpellChecker::requestCheckingFor should take Range instead of Node.
2243         https://bugs.webkit.org/show_bug.cgi?id=72847
2244
2245         Reviewed by Hajime Morita.
2246
2247         Covered by existing test.
2248
2249         * editing/Editor.cpp:
2250         (WebCore::Editor::replaceSelectionWithFragment):
2251           Passes Range to requestCheckingFor instead of Node.
2252         * editing/SpellChecker.cpp:
2253           Changed argument type from Node to Range.
2254           The corresponding changes are also done in dependent methods.
2255         (WebCore::SpellChecker::initRequest):
2256         (WebCore::SpellChecker::clearRequest):
2257         (WebCore::SpellChecker::canCheckAsynchronously):
2258         (WebCore::SpellChecker::isBusy):
2259         (WebCore::SpellChecker::isValid):
2260         (WebCore::SpellChecker::isCheckable):
2261         (WebCore::SpellChecker::requestCheckingFor):
2262           Changed argument type from Node to Range.
2263         (WebCore::SpellChecker::doRequestCheckingFor):
2264         (WebCore::SpellChecker::didCheck):
2265         * editing/SpellChecker.h:
2266
2267 2011-11-20  Kenichi Ishibashi  <bashi@chromium.org>
2268
2269         [Chromium] Remove old getFontFamilyForCharacters() and familyForChars() APIs.
2270         https://bugs.webkit.org/show_bug.cgi?id=72844
2271
2272         Respects bold and italic properties that is given by fontconfig.
2273
2274         Reviewed by Darin Fisher.
2275
2276         * platform/graphics/chromium/FontCacheLinux.cpp:
2277         (WebCore::FontCache::getFontDataForCharacters): Removed #if and old logic.
2278
2279 2011-11-20  Noel Gordon  <noel.gordon@gmail.com>
2280
2281         [chromium] Remove qt/QtMobileWebStyle from the gyp projects
2282         https://bugs.webkit.org/show_bug.cgi?id=72843
2283
2284         Reviewed by Antonio Gomes.
2285
2286         platform/qt/QtMobileWebStyle.{h,cpp} were removed in r100123
2287
2288         * WebCore.gypi: remove platform/qt/QtMobileWebStyle.{h,cpp}
2289
2290 2011-11-20  Kentaro Hara  <haraken@chromium.org>
2291
2292         Unreviewed. Rebaselined run-bindings-tests results.
2293
2294         * bindings/scripts/test/CPP/WebDOMFloat64Array.cpp:
2295         (WebDOMFloat64Array::WebDOMFloat64Array):
2296         (WebDOMFloat64Array::impl):
2297         (toWebCore):
2298         (toWebKit):
2299         * bindings/scripts/test/CPP/WebDOMFloat64Array.h:
2300
2301 2011-11-20  Adam Barth  <abarth@webkit.org>
2302
2303         REGRESSION(r100691): Safari error pages and Growl notifications fail to load stylesheets
2304         https://bugs.webkit.org/show_bug.cgi?id=72836
2305
2306         Reviewed by Sam Weinig.
2307
2308         This patch removes a (minor) security mitigation.  Previously, we tried
2309         sequester "directory listings" into unique origins to make it more
2310         difficult for an attacker to crawl the user's local file system.
2311         Unfortunately, this mitigation doesn't really buy us much security
2312         because if the attacker has access to local files, we've probably lost
2313         anyway.
2314
2315         The larger problem, however, is that this condition is overly
2316         complicated and has broken in sublte ways several times in its
2317         (relatively short) lifetime.  In the cases reported in this bug, we see
2318         that this check affects error pages in Safari and Growl notifications,
2319         even those have nothing to do with directory listings.
2320
2321         If we have our heart set on this directory listing mitigation, we'll
2322         need a more robust way of triggering the behavior than examining URLs
2323         and guess whether they contain directory listings.  For example, if we
2324         implement Allow-From or Access-Control-Deny-Origin, then the embedder
2325         can supply those policies along with the directory listings.  Those
2326         seem like much better solutions than the in-engine hack this patch
2327         removes.
2328
2329         * page/SecurityOrigin.cpp:
2330         (WebCore::shouldTreatAsUniqueOrigin):
2331
2332 2011-10-17  Antonio Gomes  <agomes@rim.com>
2333
2334         Pass a Frame* parameter in EditorClient::respondToChangedSelection
2335         https://bugs.webkit.org/show_bug.cgi?id=70248
2336
2337         Reviewed by Ryosuke Niwa.
2338
2339         Most of the port specific implementations of EditorClient::respondToChangedSelection
2340         (like EditorClient{Qt,Gtk,etc}) are wrongly relying on FocusController::focusedOrMainFrame
2341         method to get the Frame where the selection is happening on.
2342         It is not right, since a selection can be easily triggered in an inner
2343         frame that is not focused.
2344
2345         No new tests since it is a hard thing to test without
2346         to hook into editor client in layout tests. We could
2347         change the "Dumped Delegate" messages, but it would
2348         require a rebasile of +1200 for a minor change.
2349
2350         * editing/Editor.cpp: Pass the Frame on where the selection is changing to the client.
2351         (WebCore::Editor::respondToChangedSelection): Ditto.
2352         (WebCore::Editor::changeSelectionAfterCommand): Ditto.
2353         (WebCore::EmptyEditorClient::respondToChangedSelection):
2354         * page/EditorClient.h:  Pass Frame* to indicate where the selection is happening.
2355         * loader/EmptyClients.h: Changed signature as per base class change.
2356
2357 2011-11-17  Mark Rowe  <mrowe@apple.com>
2358
2359         <http://webkit.org/b/72646> Disable deprecation warnings around code where we cannot easily
2360         switch away from the deprecated APIs.
2361
2362         Reviewed by Sam Weinig.
2363
2364         * platform/mac/WebCoreNSStringExtras.mm:
2365         * platform/network/cf/SocketStreamHandleCFNet.cpp:
2366         (WebCore::SocketStreamHandle::reportErrorToClient):
2367
2368 2011-11-19  Kevin Ollivier  <kevino@theolliviers.com>
2369
2370         [wx] C++ bindings build fix for move of array classes to WTF.
2371         
2372         * bindings/scripts/CodeGeneratorCPP.pm:
2373         (GetCPPTypeGetter):
2374         (GetNamespaceForClass):
2375         (GenerateHeader):
2376         (GenerateImplementation):
2377
2378 2011-11-19  Scott Graham  <scottmg@chromium.org>
2379
2380         Move gamepad to Modules/ (+ some cleanup)
2381         https://bugs.webkit.org/show_bug.cgi?id=72785
2382
2383         Reviewed by Adam Barth.
2384
2385         Move main files from page/ to Modules/gamepad/. #include guard the
2386         gamepad header inclusions in Navigator.cpp to avoid including for
2387         ports that do not enable GAMEPAD.
2388
2389         * Modules/gamepad/Gamepad.cpp: Renamed from Source/WebCore/page/Gamepad.cpp.
2390         (WebCore::Gamepad::Gamepad):
2391         (WebCore::Gamepad::axes):
2392         (WebCore::Gamepad::buttons):
2393         (WebCore::Gamepad::~Gamepad):
2394         * Modules/gamepad/Gamepad.h: Renamed from Source/WebCore/page/Gamepad.h.
2395         * Modules/gamepad/Gamepad.idl: Renamed from Source/WebCore/page/Gamepad.idl.
2396         * Modules/gamepad/GamepadList.cpp: Renamed from Source/WebCore/page/GamepadList.cpp.
2397         (WebCore::GamepadList::~GamepadList):
2398         (WebCore::GamepadList::set):
2399         (WebCore::GamepadList::length):
2400         (WebCore::GamepadList::item):
2401         * Modules/gamepad/GamepadList.h: Renamed from Source/WebCore/page/GamepadList.h.
2402         (WebCore::GamepadList::create):
2403         (WebCore::GamepadList::GamepadList):
2404         * Modules/gamepad/GamepadList.idl: Renamed from Source/WebCore/page/GamepadList.idl.
2405         * WebCore.gyp/WebCore.gyp:
2406         * WebCore.gypi:
2407         * page/Navigator.cpp:
2408
2409 2011-11-19  Sheriff Bot  <webkit.review.bot@gmail.com>
2410
2411         Unreviewed, rolling out r100834.
2412         http://trac.webkit.org/changeset/100834
2413         https://bugs.webkit.org/show_bug.cgi?id=72806
2414
2415         this patch makes Qt run-webkit-test exit before finishing
2416         (Requested by igoroliveira on #webkit).
2417
2418         * platform/graphics/texmap/TextureMapperNode.cpp:
2419         * platform/graphics/texmap/TextureMapperNode.h:
2420
2421 2011-11-19  Huang Dongsung  <luxtella@company100.net>
2422
2423         Remove WebCore/ForwardingHeaders/runtime/JSObjectWithGlobalObject.h because
2424         JSObjectWithGlobalObject.h has been removed.
2425         https://bugs.webkit.org/show_bug.cgi?id=72794
2426
2427         r94701 removed JSObjectWithGlobalObject.h.
2428
2429         Reviewed by Oliver Hunt.
2430
2431         * ForwardingHeaders/runtime/JSObjectWithGlobalObject.h: Removed.
2432
2433 2011-11-19  Vsevolod Vlasov  <vsevik@chromium.org>
2434
2435         Web Inspector:[protocol] actual JSON messages do not conform to Inspector.json in InspectorApplicationCacheAgent.cpp
2436         https://bugs.webkit.org/show_bug.cgi?id=72734
2437
2438         Reviewed by Timothy Hatcher.
2439
2440         * inspector/Inspector.json:
2441
2442 2011-11-19  David Barr  <davidbarr@chromium.org>
2443
2444         REGRESSION(r98542): Chromium: CSS text is rendered on page
2445         https://bugs.webkit.org/show_bug.cgi?id=71703
2446
2447         Reviewed by Antti Koivisto.
2448
2449         Matched UA declarations uncacheable when using simpleDefaultStyleSheet.
2450
2451         Test: fast/css/style-tag-display-none.html
2452
2453         * css/CSSStyleSelector.cpp:
2454         (WebCore::CSSStyleSelector::matchUARules):
2455
2456 2011-11-19  Jay Civelli  <jcivelli@chromium.org>
2457
2458         When loading a MHTML document, make sure we set the base URL before
2459         we notify the frame was committed (so the document has the right base
2460         URL when the notification happens). 
2461         https://bugs.webkit.org/show_bug.cgi?id=72788
2462
2463         Reviewed by Adam Barth.
2464
2465         * loader/FrameLoader.cpp:
2466         (WebCore::FrameLoader::receivedFirstData):
2467
2468 2011-11-19  Adam Barth  <abarth@webkit.org>
2469
2470         Integrate Source/WTF with the Chromium build system
2471         https://bugs.webkit.org/show_bug.cgi?id=72790
2472
2473         Reviewed by Eric Seidel.
2474
2475         Add a dependency on the new WTF.
2476
2477         * WebCore.gyp/WebCore.gyp:
2478
2479 2011-11-18  Takashi Toyoshima  <toyoshim@chromium.org>
2480
2481         [Chromium] [WebSocket] export WebSocketChannel interface for plugins
2482         https://bugs.webkit.org/show_bug.cgi?id=72016
2483
2484         Reviewed by Darin Fisher.
2485
2486         Add a interface to send raw binary data.
2487         This interface is used by WebWebSocketChannel implementation
2488         in WebKit API.
2489
2490         No new tests because just export a interface.
2491
2492         * websockets/WebSocketChannel.cpp:
2493         (WebCore::WebSocketChannel::send):
2494         * websockets/WebSocketChannel.h:
2495
2496 2011-11-18  Vineet Chaudhary  <vineet.chaudhary@motorola.com>
2497
2498         https://bugs.webkit.org/show_bug.cgi?id=72591
2499         Remove document.width / document.height
2500
2501         Reviewed by Darin Adler.
2502
2503         Removed document.width/document.height from JS bindings,
2504         but keeping the same for ObjC bindings. Also it should use
2505         document.body.clientWidth and document.body.clientHeight instead.
2506
2507         * html/HTMLDocument.idl:
2508
2509 2011-11-18  Martin Robinson  <mrobinson@igalia.com>
2510
2511         Fix the GTK+ build.
2512
2513         * page/Navigator.idl: Properly disable the webkitGamepads API if gamepad
2514         isn't enabled at compile time.
2515
2516 2011-11-18  Daniel Bates  <dbates@rim.com>
2517
2518         Add CMake build infrastructure for the BlackBerry port
2519         https://bugs.webkit.org/show_bug.cgi?id=72768
2520
2521         Reviewed by Antonio Gomes.
2522
2523         * CMakeLists.txt: At this time the BlackBerry port doesn't support generating
2524           DOM bindings from the SVG IDLs. See WebKit bug #72773.
2525         * PlatformBlackBerry.cmake: Added.
2526
2527 2011-11-18  Sheriff Bot  <webkit.review.bot@gmail.com>
2528
2529         Unreviewed, rolling out r100826.
2530         http://trac.webkit.org/changeset/100826
2531         https://bugs.webkit.org/show_bug.cgi?id=72786
2532
2533         Broke Chromium Mac build (Requested by aklein on #webkit).
2534
2535         * page/ChromeClient.h:
2536         * page/FrameView.cpp:
2537         * page/FrameView.h:
2538         * platform/ScrollView.cpp:
2539         (WebCore::ScrollView::wheelEvent):
2540         * platform/ScrollView.h:
2541         * platform/ScrollableArea.h:
2542         (WebCore::ScrollableArea::scrollbarStyleChanged):
2543         * platform/mac/ScrollAnimatorMac.mm:
2544         (WebCore::ScrollAnimatorMac::updateScrollerStyle):
2545
2546 2011-11-18  Alpha Lam  <hclam@chromium.org>
2547
2548         [chromium] composited layers are blurry with a zoom-in page scale factor
2549         https://bugs.webkit.org/show_bug.cgi?id=71225
2550
2551         Reviewed by James Robinson.
2552
2553         Pass contents scale factor to the compositor such that it can:
2554         1. Adjust contentBounds() of the compositoer layers with content scale.
2555         2. Apply the content scale in the painter for texture update in better resolution.
2556         3. Apply the content scale to the dirty rect in CanvasLayerTextureUpdater.
2557
2558         This change fixed blurry problem for all tiled layer types and is not limited to
2559         position:fixed layers.
2560
2561         Tests: compositing/geometry/fixed-position-composited-page-scale-down.html
2562                compositing/geometry/fixed-position-composited-page-scale.html
2563                compositing/geometry/fixed-position-iframe-composited-page-scale-down.html
2564                compositing/geometry/fixed-position-iframe-composited-page-scale.html
2565                compositing/geometry/fixed-position-transform-composited-page-scale-down.html
2566                compositing/geometry/fixed-position-transform-composited-page-scale.html
2567
2568         * platform/graphics/chromium/GraphicsLayerChromium.cpp:
2569         (WebCore::GraphicsLayerChromium::setTransform):
2570         (WebCore::GraphicsLayerChromium::updateLayerPreserves3D):
2571         (WebCore::GraphicsLayerChromium::updateContentsScale):
2572         (WebCore::GraphicsLayerChromium::contentsScale):
2573         (WebCore::GraphicsLayerChromium::deviceOrPageScaleFactorChanged):
2574         * platform/graphics/chromium/GraphicsLayerChromium.h:
2575         * platform/graphics/chromium/ImageLayerChromium.cpp:
2576         (WebCore::ImageLayerTextureUpdater::prepareToUpdate):
2577         (WebCore::ImageLayerChromium::needsContentsScale):
2578         * platform/graphics/chromium/ImageLayerChromium.h:
2579         * platform/graphics/chromium/LayerChromium.cpp:
2580         (WebCore::LayerChromium::LayerChromium):
2581         (WebCore::LayerChromium::setContentsScale):
2582         * platform/graphics/chromium/LayerChromium.h:
2583         (WebCore::LayerChromium::needsContentsScale):
2584         (WebCore::LayerChromium::contentsScale):
2585         * platform/graphics/chromium/LayerTextureUpdater.h:
2586         * platform/graphics/chromium/LayerTextureUpdaterCanvas.cpp:
2587         (WebCore::LayerTextureUpdaterCanvas::paintContents):
2588         (WebCore::LayerTextureUpdaterBitmap::prepareToUpdate):
2589         (WebCore::LayerTextureUpdaterSkPicture::prepareToUpdate):
2590         * platform/graphics/chromium/LayerTextureUpdaterCanvas.h:
2591         * platform/graphics/chromium/TiledLayerChromium.cpp:
2592         (WebCore::TiledLayerChromium::needsContentsScale):
2593         (WebCore::TiledLayerChromium::contentBounds):
2594         (WebCore::TiledLayerChromium::prepareToUpdate):
2595         * platform/graphics/chromium/TiledLayerChromium.h:
2596
2597 2011-11-18  Igor Oliveira  <igor.oliveira@openbossa.org>
2598
2599         [WK2][Qt] Move Accelerated Composite animations to UIProcess
2600         https://bugs.webkit.org/show_bug.cgi?id=72753
2601
2602         Add helper method to synchronize animations in TextureMapper.
2603
2604         Reviewed by Noam Rosenthal.
2605
2606         * platform/graphics/texmap/TextureMapperNode.cpp:
2607         (WebCore::TextureMapperNode::syncAnimationsRecursively):
2608         * platform/graphics/texmap/TextureMapperNode.h:
2609
2610 2011-11-18  Scott Graham  <scottmg@chromium.org>
2611
2612         IDL changes for gamepad support
2613         https://bugs.webkit.org/show_bug.cgi?id=71753
2614
2615         Reviewed by Adam Barth.
2616
2617         IDL changes and associated plumbing to expose list of gamepad objects
2618         on navigator object (per current spec). Full patch is
2619         https://bugs.webkit.org/show_bug.cgi?id=69451. Only basic existence
2620         test until more plumbing in future patches.
2621
2622         Test: gamepad/gamepad-api.html
2623
2624         * WebCore.gypi:
2625         * bindings/generic/RuntimeEnabledFeatures.h:
2626         (WebCore::RuntimeEnabledFeatures::setWebkitGamepadsEnabled):
2627         (WebCore::RuntimeEnabledFeatures::webkitGamepadsEnabled):
2628         * page/Gamepad.cpp: Added.
2629         (WebCore::Gamepad::Gamepad):
2630         (WebCore::Gamepad::axes):
2631         (WebCore::Gamepad::buttons):
2632         (WebCore::Gamepad::~Gamepad):
2633         * page/Gamepad.h: Added.
2634         * page/Gamepad.idl: Added.
2635         * page/GamepadList.cpp: Added.
2636         (WebCore::GamepadList::~GamepadList):
2637         (WebCore::GamepadList::set):
2638         (WebCore::GamepadList::length):
2639         (WebCore::GamepadList::item):
2640         * page/GamepadList.h: Added.
2641         (WebCore::GamepadList::create):
2642         (WebCore::GamepadList::GamepadList):
2643         * page/GamepadList.idl: Added.
2644         * page/Navigator.cpp:
2645         (WebCore::Navigator::webkitGamepads):
2646         * page/Navigator.h:
2647         * page/Navigator.idl:
2648
2649 2011-11-18  Sheriff Bot  <webkit.review.bot@gmail.com>
2650
2651         Unreviewed, rolling out r100693.
2652         http://trac.webkit.org/changeset/100693
2653         https://bugs.webkit.org/show_bug.cgi?id=72779
2654
2655         This patch caused a rendering regression (see bug 72770)
2656         (Requested by philip__ on #webkit).
2657
2658         * rendering/RenderObject.cpp:
2659         (WebCore::RenderObject::setStyle):
2660         * rendering/style/RenderStyle.cpp:
2661         (WebCore::RenderStyle::diff):
2662
2663 2011-11-18  Simon Fraser  <simon.fraser@apple.com>
2664
2665         Reflection on composited element doesn't update if the element changes to show no content
2666         https://bugs.webkit.org/show_bug.cgi?id=72774
2667
2668         Reviewed by Chris Marrin.
2669         
2670         When a style change results in a reflected element losing its backing store,
2671         we need to clear the backing stores on the layer clones as well.
2672
2673         Test: compositing/reflections/become-simple-composited-reflection.html
2674
2675         * platform/graphics/ca/GraphicsLayerCA.cpp:
2676         (WebCore::GraphicsLayerCA::updateLayerDrawsContent):
2677
2678 2011-11-18  Daniel Cheng  <dcheng@chromium.org>
2679
2680         [chromium] Use correct backing store for ChromiumDataObject in pasteboard writes.
2681         https://bugs.webkit.org/show_bug.cgi?id=72767
2682
2683         Reviewed by Tony Chang.
2684
2685         Covered by existing tests.
2686
2687         * editing/chromium/EditorChromium.cpp:
2688         (WebCore::Editor::newGeneralClipboard):
2689         * page/chromium/EventHandlerChromium.cpp:
2690         (WebCore::EventHandler::createDraggingClipboard):
2691         * platform/chromium/ChromiumDataObject.cpp:
2692         (WebCore::ChromiumDataObject::types):
2693         (WebCore::ChromiumDataObject::getData):
2694         (WebCore::ChromiumDataObject::containsFilenames):
2695         (WebCore::ChromiumDataObject::ChromiumDataObject):
2696         * platform/chromium/ChromiumDataObject.h:
2697         (WebCore::ChromiumDataObject::createFromPasteboard):
2698         (WebCore::ChromiumDataObject::create):
2699         (WebCore::ChromiumDataObject::storageMode):
2700         * platform/chromium/ClipboardChromium.cpp:
2701         (WebCore::ClipboardChromium::hasData):
2702
2703 2011-11-18  Chris Evans  <cevans@google.com>
2704
2705         Crash with ranges across a detached, reparented node tree
2706         https://bugs.webkit.org/show_bug.cgi?id=72757
2707
2708         Reviewed by Adam Barth.
2709
2710         Test: fast/dom/move-detached-child-in-range.html
2711
2712         * dom/RangeBoundaryPoint.h:
2713         (WebCore::RangeBoundaryPoint::childBefore): protect the raw child node from getting pulled from under us.
2714
2715 2011-11-18  Beth Dakin  <bdakin@apple.com>
2716
2717         https://bugs.webkit.org/show_bug.cgi?id=72551
2718         When the recommended scrollbar style changes, WKView's tracking options should 
2719         adjust accordingly
2720         -and corresponding-
2721         <rdar://problem/10409328>
2722
2723         Reviewed by Darin Adler.
2724
2725         This new ChromeClient function is called when the recommended scrollbar style 
2726         changes. This way, WebKit can respond to the change by adjusting its mouse 
2727         tracking.
2728         * page/ChromeClient.h:
2729         (WebCore::ChromeClient::recommendedScrollbarStyleDidChange):
2730
2731         Existing ScrollableArea function scrollbarStyleChanged() now takes an int 
2732         indicating the new scrollbar style and a bool indicating whether it is necessary 
2733         to force an update. It used to be the case that this function was ONLY used to 
2734         force an update (and only called when an updated was needed), but now that it must 
2735         also call into the ChromeClient, it is necessary to include a bool tracking 
2736         whether we need to force an update. New implementation on FrameView is responsible 
2737         for calling ChromeClient, and then that calls into the pre-existing ScrollView 
2738         function for the forceUpdate part.
2739         * page/FrameView.cpp:
2740         (WebCore::FrameView::scrollbarStyleChanged):
2741         * page/FrameView.h:
2742         * platform/ScrollView.cpp:
2743         (WebCore::ScrollView:: scrollbarStyleChanged):
2744         * platform/ScrollView.h:
2745         * platform/ScrollableArea.h:
2746         (WebCore::ScrollableArea::scrollbarStyleChanged):
2747         * platform/mac/ScrollAnimatorMac.mm:
2748         (WebCore::ScrollAnimatorMac::updateScrollerStyle):
2749
2750 2011-11-18  Kelly Norton  <knorton@google.com>
2751
2752         Fixes several more void functions in RenderObject that return values.
2753         https://bugs.webkit.org/show_bug.cgi?id=72750
2754
2755         Reviewed by Adam Barth.
2756
2757         * rendering/RenderBlock.cpp:
2758         (WebCore::RenderBlock::updateBeforeAfterContent):
2759         (WebCore::RenderBlock::addChildToContinuation):
2760         (WebCore::RenderBlock::addChildToAnonymousColumnBlocks):
2761         (WebCore::RenderBlock::addChild):
2762         (WebCore::RenderBlock::addChildIgnoringContinuation):
2763
2764 2011-11-18  Shawn Singh  <shawnsingh@chromium.org>
2765
2766         [chromium] Add some useful text to existing debug dump
2767         https://bugs.webkit.org/show_bug.cgi?id=72576
2768
2769         Reviewed by James Robinson.
2770
2771         No new tests needed.
2772
2773         * platform/graphics/chromium/cc/CCLayerImpl.cpp:
2774         (WebCore::CCLayerImpl::dumpLayerProperties):
2775         * platform/graphics/chromium/cc/CCRenderSurface.cpp:
2776         (WebCore::CCRenderSurface::dumpSurface):
2777
2778 2011-11-18  Xiaomei Ji  <xji@chromium.org>
2779
2780         REGRESSION: rtl horizontal scrollbar / resize bug - Body shifts on resize when scrolled all the way to the left
2781         https://bugs.webkit.org/show_bug.cgi?id=70395
2782
2783         Reviewed by Tony Chang.
2784
2785         This patch fixes the problem in Mac and Chromium Mac.
2786    
2787         The existing test fast/dom/rtl-scroll-to-leftmost-and-resize.html seems does not really work in Mac DRT
2788         (the browswer window is not resized). It works in Chromium-Mac. And Chromium-Mac's code
2789         is forked from Mac.
2790
2791         * platform/chromium/ScrollAnimatorChromiumMac.mm:
2792         (WebCore::ScrollAnimatorChromiumMac::immediateScrollToPoint):
2793         * platform/mac/ScrollAnimatorMac.mm:
2794         (WebCore::ScrollAnimatorMac::immediateScrollToPoint):
2795
2796 2011-11-18  Martin Robinson  <mrobinson@igalia.com>
2797
2798         REGRESSION (r99924): broke 2 pasteboard tests on GTK
2799         https://bugs.webkit.org/show_bug.cgi?id=72131
2800
2801         Reviewed by Tony Chang.
2802
2803         * platform/gtk/ClipboardGtk.cpp:
2804         (WebCore::ClipboardGtk::clearData): Call clearAll now.
2805         (WebCore::ClipboardGtk::clearAllData): Call clearAllExceptFilenames now.
2806         * platform/gtk/DataObjectGtk.cpp:
2807         (WebCore::DataObjectGtk::clearAllExceptFilenames): Renamed from clear.
2808         (WebCore::DataObjectGtk::clearAll): Added this method which also clear filenames.
2809         * platform/gtk/DataObjectGtk.h:
2810         * platform/gtk/PasteboardGtk.cpp: Call clear before setting new clipboard data.
2811         (WebCore::Pasteboard::writeSelection): Ditto.
2812         (WebCore::Pasteboard::writePlainText): Ditto.
2813         (WebCore::Pasteboard::writeURL): Ditto.
2814         (WebCore::Pasteboard::writeImage): Ditto.
2815         * platform/gtk/PasteboardHelper.cpp:
2816         (WebCore::clearClipboardContentsCallback): Use the clearAll method now.
2817
2818 2011-11-18  Vineet Chaudhary  <vineet.chaudhary@motorola.com>
2819
2820         Access key should work on all elements.
2821         https://bugs.webkit.org/show_bug.cgi?id=71854
2822
2823         Reviewed by Ryosuke Niwa.
2824
2825         All HTML elements can have the accesskey content attribute set.
2826         Specification http://dev.w3.org/html5/spec/Overview.html#the-accesskey-attribute
2827         Adding "accessKey" attribute to HTMLElement.idl file as [Reflect].
2828
2829         Test: fast/forms/access-key-for-all-elements.html
2830
2831         * bindings/objc/PublicDOMInterfaces.h: Moved properties form subclass to base class.
2832         * html/BaseButtonInputType.cpp: 
2833         (WebCore::BaseButtonInputType::accessKeyAction): Renamed variable sendToAnyElement to sendMouseEvents.
2834         * html/BaseButtonInputType.h: Ditto
2835         * html/BaseCheckableInputType.cpp:
2836         (WebCore::BaseCheckableInputType::accessKeyAction): Ditto
2837         * html/BaseCheckableInputType.h: Ditto
2838         * html/HTMLAnchorElement.cpp:
2839         (WebCore::HTMLAnchorElement::accessKeyAction): Ditto
2840         * html/HTMLAnchorElement.h: Ditto
2841         * html/HTMLAnchorElement.idl: Removed redundant IDL attribute entries.
2842         * html/HTMLAreaElement.idl: Removed redundant IDL attribute entries.
2843         * html/HTMLButtonElement.cpp:
2844         (WebCore::HTMLButtonElement::accessKeyAction): Renamed variable sendToAnyElement to sendMouseEvents.
2845         * html/HTMLButtonElement.h: Ditto
2846         * html/HTMLButtonElement.idl: Removed redundant IDL attribute entries.
2847         * html/HTMLElement.cpp:
2848         (WebCore::HTMLElement::accessKeyAction): Renamed variable sendToAnyElement to sendMouseEvents.
2849         If the element does not have a defined activation behavior, fire a click event at the element.
2850         * html/HTMLElement.h: Ditto
2851         * html/HTMLElement.idl: Added accessKey IDL attribute.
2852         * html/HTMLInputElement.cpp:
2853         (WebCore::HTMLInputElement::accessKeyAction): Renamed variable sendToAnyElement to sendMouseEvents.
2854         * html/HTMLInputElement.h: Ditto
2855         * html/HTMLInputElement.idl: Removed redundant IDL attribute entries.
2856         * html/HTMLLabelElement.cpp:
2857         (WebCore::HTMLLabelElement::accessKeyAction): Renamed variable sendToAnyElement to sendMouseEvents.
2858         * html/HTMLLabelElement.h: Ditto
2859         * html/HTMLLabelElement.idl: Removed redundant IDL attribute entries.
2860         * html/HTMLLegendElement.cpp:
2861         (WebCore::HTMLLegendElement::accessKeyAction): Renamed variable sendToAnyElement to sendMouseEvents.
2862         * html/HTMLLegendElement.h: Ditto
2863         * html/HTMLLegendElement.idl: Removed redundant IDL attribute entries.
2864         * html/HTMLOptGroupElement.h: Renamed variable sendToAnyElement to sendMouseEvents.
2865         * html/HTMLSelectElement.cpp:
2866         (WebCore::HTMLSelectElement::accessKeyAction): Ditto
2867         * html/HTMLSelectElement.h: Ditto
2868         * html/HTMLTextAreaElement.h: Ditto
2869         * html/HTMLTextAreaElement.idl: Removed redundant IDL attribute entries.
2870         * html/HiddenInputType.h: Renamed variable sendToAnyElement to sendMouseEvents.
2871         * html/InputType.h: Ditto
2872         * html/RangeInputType.cpp:
2873         (WebCore::RangeInputType::accessKeyAction): Ditto
2874         * html/RangeInputType.h: Ditto
2875
2876 2011-11-18  Simon Fraser  <simon.fraser@apple.com>
2877
2878         Appearance of compound transform animations under apps linked on SnowLeopard is incorrect
2879         https://bugs.webkit.org/show_bug.cgi?id=72641
2880         and
2881         <rdar://problem/10314267>
2882
2883         Reviewed by Dean Jackson.
2884
2885         GraphicsLayerCA contains a "linked on or after" check to account for a bug in
2886         Core Animation on SnowLeopard and earlier, which is that CA would apply the list
2887         of animations in reverse order.
2888         
2889         Our previous fix was incorrect, because it only adjusted the 'additive' property
2890         of the animation list based on ordering, rather than flipping the entire list.
2891         This change reverses the list of animations before giving them to CA, which fixes
2892         the bug.
2893                 
2894         Test: animations/additive-transform-animations.html
2895
2896         * platform/graphics/ca/GraphicsLayerCA.cpp:
2897         (WebCore::GraphicsLayerCA::appendToUncommittedAnimations):
2898         (WebCore::GraphicsLayerCA::createTransformAnimationsFromKeyframes):
2899         * platform/graphics/ca/GraphicsLayerCA.h:
2900
2901 2011-11-18  Tim Horton  <timothy_horton@apple.com>
2902
2903         -webkit-cross-fade rendered incorrectly in overflow divs
2904         https://bugs.webkit.org/show_bug.cgi?id=72693
2905         <rdar://problem/10468564>
2906
2907         Reviewed by Simon Fraser.
2908
2909         Respect the desired source rectangle when rendering the cross-fade.
2910
2911         Test: css3/images/cross-fade-overflow-position.html
2912
2913         * platform/graphics/CrossfadeGeneratedImage.cpp:
2914         (WebCore::CrossfadeGeneratedImage::drawCrossfade):
2915         (WebCore::CrossfadeGeneratedImage::draw):
2916         (WebCore::CrossfadeGeneratedImage::drawPattern):
2917         * platform/graphics/CrossfadeGeneratedImage.h:
2918
2919 2011-11-18  Raphael Kubo da Costa  <kubo@profusion.mobi>
2920
2921         Unreviewed build fix; r100686 broke the EFL build when Geolocation
2922         support is enabled.
2923
2924         * platform/efl/GeolocationServiceEfl.cpp: Only declare
2925         s_factoryFunction if CLIENT_BASED_GEOLOCATION is off, otherwise it is
2926         also declared in GeolocationService.cpp.
2927
2928 2011-11-18  Igor Oliveira  <igor.oliveira@openbossa.org>
2929
2930         [TextureMapper] computePerspectiveTransformIfNeeded is called twice in TextureMapperNode::syncCompositingState
2931         https://bugs.webkit.org/show_bug.cgi?id=72727
2932
2933         TextureMapperNode::computeAllTransforms already has a call to TextureMapperNode::computePerspectiveTransformIfNeeded,
2934         so it does not need to be called again after TextureMapperNode::computeAllTransforms.
2935
2936         Reviewed by Noam Rosenthal.
2937
2938         * platform/graphics/texmap/TextureMapperNode.cpp:
2939         (WebCore::TextureMapperNode::syncCompositingState):
2940
2941 2011-11-18  Mihnea Ovidenie  <mihnea@adobe.com>
2942
2943         Fix compilation warning in ComplexTextControllerCoreText.mm
2944         https://bugs.webkit.org/show_bug.cgi?id=72702
2945
2946         Reviewed by Andreas Kling.
2947
2948         No functionality changed, so no new tests.
2949
2950         * platform/graphics/mac/ComplexTextControllerCoreText.mm:
2951         (WebCore::ComplexTextController::collectComplexTextRunsForCharactersCoreText):
2952
2953 2011-11-18  Pavel Feldman  <pfeldman@google.com>
2954
2955         Not reviewed: restore front-end compilability via updating externs and JS generator.
2956
2957         * inspector/front-end/ElementsPanel.js:
2958         (WebInspector.ElementsPanel.prototype.jumpToNextSearchResult):
2959         (WebInspector.ElementsPanel.prototype.jumpToPreviousSearchResult):
2960         * inspector/front-end/externs.js:
2961         (WebInspector.showPanelForAnchorNavigation):
2962         * inspector/generate-protocol-externs:
2963
2964 2011-11-17  Pavel Feldman  <pfeldman@google.com>
2965
2966         Web Inspector: dispatch messages from the front-end to the backend asynchronously.
2967         https://bugs.webkit.org/show_bug.cgi?id=72621
2968
2969         We should align the way we dispatch messages from the front-end to backend across the environments:
2970           - WebKit has it synchronoulsly
2971           - Chromium has it asynchronously
2972           - Remote debugging has it asynchronously
2973         Making it asynchronous made a number of flaky Qt tests pass.
2974
2975         Tests uncovered console agent problem that was also fixed.
2976
2977         Reviewed by Yury Semikhatsky.
2978
2979         * inspector/InspectorConsoleAgent.cpp:
2980         (WebCore::InspectorConsoleAgent::clearFrontend):
2981         * inspector/InspectorFrontendClient.h:
2982         * inspector/InspectorFrontendClientLocal.cpp:
2983         (WebCore::InspectorBackendDispatchTask::InspectorBackendDispatchTask):
2984         (WebCore::InspectorBackendDispatchTask::dispatch):
2985         (WebCore::InspectorBackendDispatchTask::reset):
2986         (WebCore::InspectorBackendDispatchTask::onTimer):
2987         (WebCore::InspectorFrontendClientLocal::InspectorFrontendClientLocal):
2988         (WebCore::InspectorFrontendClientLocal::windowObjectCleared):
2989         (WebCore::InspectorFrontendClientLocal::sendMessageToBackend):
2990         * inspector/InspectorFrontendClientLocal.h:
2991
2992 2011-11-18  Iain Merrick  <husky@google.com>
2993
2994         [chromium] Pass screen refresh rate into compositor.
2995         https://bugs.webkit.org/show_bug.cgi?id=71040
2996
2997         Reviewed by Tony Gentilcore.
2998
2999         Covered by CCLayerTreeHostTest.
3000
3001         * platform/PlatformScreen.h:
3002         * platform/chromium/PlatformScreenChromium.cpp:
3003         (WebCore::screenRefreshRate):
3004         * platform/chromium/PlatformSupport.h:
3005         * platform/graphics/chromium/cc/CCLayerTreeHost.h:
3006         (WebCore::CCSettings::CCSettings):
3007         * platform/graphics/chromium/cc/CCThreadProxy.cpp:
3008         (WebCore::CCThreadProxy::initializeImplOnImplThread):
3009
3010 2011-11-18  Alexandru Chiculita  <achicu@adobe.com>
3011
3012         [CSSShaders] Implement the computed style for mesh parameters of the custom() filter
3013         https://bugs.webkit.org/show_bug.cgi?id=72478
3014
3015         Reviewed by Dean Jackson.
3016
3017         Added parsing and computed style for the mesh rows, columns, mesh box type 
3018         (filter-box, border-box, content-box and padding-box) and the detached mode.
3019         
3020         Also fixed a case where "custom(none, 10, 10 filter-box)" was incorrectly
3021         treated as "custom(none, 10)".
3022
3023         * css/CSSComputedStyleDeclaration.cpp:
3024         (WebCore::CSSComputedStyleDeclaration::valueForFilter):
3025         * css/CSSParser.cpp:
3026         (WebCore::CSSParser::parseCustomFilter): Fixed a case where invalid syntax was parsed as correct syntax.
3027         * css/CSSPrimitiveValueMappings.h:
3028         (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
3029         (WebCore::CSSPrimitiveValue::operator CustomFilterOperation::MeshBoxType):
3030         * css/CSSStyleSelector.cpp:
3031         (WebCore::CSSStyleSelector::createCustomFilterOperation):
3032         * css/CSSValueList.h:
3033         (WebCore::CSSValueListIterator::isPrimitiveValue):
3034         * platform/graphics/filters/CustomFilterOperation.h:
3035
3036 2011-11-18  Adam Barth  <abarth@webkit.org>
3037
3038         Remove unneeded include (and ifdef) from V8DOMWindowCustom.cpp
3039         https://bugs.webkit.org/show_bug.cgi?id=72705
3040
3041         Reviewed by Eric Seidel.
3042
3043         Death to ifdefs!
3044
3045         * bindings/v8/custom/V8DOMWindowCustom.cpp:
3046
3047 2011-11-18  Adam Barth  <abarth@webkit.org>
3048
3049         Move some mediastream related files into the mediastream directory
3050         https://bugs.webkit.org/show_bug.cgi?id=72695
3051
3052         Reviewed by Eric Seidel.
3053
3054         Just moving the files to the proper directory.
3055
3056         * GNUmakefile.list.am:
3057         * WebCore.gypi:
3058         * mediastream/NavigatorUserMediaError.h: Renamed from Source/WebCore/page/NavigatorUserMediaError.h.
3059         (WebCore::NavigatorUserMediaError::create):
3060         (WebCore::NavigatorUserMediaError::~NavigatorUserMediaError):
3061         (WebCore::NavigatorUserMediaError::code):
3062         (WebCore::NavigatorUserMediaError::NavigatorUserMediaError):
3063         * mediastream/NavigatorUserMediaError.idl: Renamed from Source/WebCore/page/NavigatorUserMediaError.idl.
3064         * mediastream/NavigatorUserMediaErrorCallback.h: Renamed from Source/WebCore/page/NavigatorUserMediaErrorCallback.h.
3065         (WebCore::NavigatorUserMediaErrorCallback::~NavigatorUserMediaErrorCallback):
3066         * mediastream/NavigatorUserMediaErrorCallback.idl: Renamed from Source/WebCore/page/NavigatorUserMediaErrorCallback.idl.
3067         * mediastream/NavigatorUserMediaSuccessCallback.h: Renamed from Source/WebCore/page/NavigatorUserMediaSuccessCallback.h.
3068         (WebCore::NavigatorUserMediaSuccessCallback::~NavigatorUserMediaSuccessCallback):
3069         * mediastream/NavigatorUserMediaSuccessCallback.idl: Renamed from Source/WebCore/page/NavigatorUserMediaSuccessCallback.idl.
3070
3071 2011-11-18  Andrey Kosyakov  <caseq@chromium.org>
3072
3073         Web Inspector: [Extensions API] Provide a way for extension to create a status bar icon
3074         https://bugs.webkit.org/show_bug.cgi?id=45955
3075
3076         Reviewed by Pavel Feldman.
3077
3078         * inspector/front-end/ExtensionAPI.js:
3079         (injectedExtensionAPI.ExtensionPanelImpl.prototype.createStatusBarButton):
3080         (injectedExtensionAPI):
3081         (injectedExtensionAPI.ButtonImpl.prototype.update):
3082         * inspector/front-end/ExtensionPanel.js:
3083         (WebInspector.ExtensionPanel):
3084         (WebInspector.ExtensionPanel.prototype.get statusBarItems):
3085         (WebInspector.ExtensionPanel.prototype.addStatusBarItem):
3086         (WebInspector.ExtensionButton):
3087         (WebInspector.ExtensionButton.prototype.update):
3088         (WebInspector.ExtensionButton.prototype._onClicked):
3089         * inspector/front-end/ExtensionServer.js:
3090         (WebInspector.ExtensionServer):
3091         (WebInspector.ExtensionServer.prototype.notifyButtonClicked):
3092         (WebInspector.ExtensionServer.prototype._onCreateStatusBarButton):
3093         (WebInspector.ExtensionServer.prototype._onUpdateButton):
3094         (WebInspector.ExtensionServer.prototype._onCreateSidebarPane):
3095         * inspector/front-end/inspector.css:
3096         (button.status-bar-item.extension):
3097
3098 2011-11-18  Tommy Widenflycht  <tommyw@google.com>
3099
3100         MediaStream API: Merging the PeerConnectionHandler.h files
3101         https://bugs.webkit.org/show_bug.cgi?id=72611
3102
3103         Reviewed by Adam Barth.
3104
3105         No actual code changes.
3106
3107         * GNUmakefile.am:
3108         * GNUmakefile.list.am:
3109         * WebCore.gyp/WebCore.gyp:
3110         * WebCore.gypi:
3111         * platform/mediastream/PeerConnectionHandler.h: Renamed from Source/WebCore/platform/mediastream/chromium/PeerConnectionHandler.h.
3112         * platform/mediastream/gstreamer/PeerConnectionHandler.h: Removed.
3113
3114 2011-11-17  Simon Hausmann  <simon.hausmann@nokia.com>
3115
3116         [Qt] Layer violation: ThirdPartyCookiesQt.cpp uses QWebSettings in two places
3117         https://bugs.webkit.org/show_bug.cgi?id=72597
3118
3119         Reviewed by Kenneth Rohde Christiansen.
3120
3121         Moved code that queries the third party cookie policy from QWebSettings
3122         out of WebCore. Instead NetworkingContext has now the interface that allows
3123         delegating the functionality into WebKit/qt.
3124
3125         In order to do that we need to pass the NetworkingContext around, which is used to
3126         retrieve the cookie jar and the originating frame object pointer.
3127
3128         * platform/network/NetworkingContext.h: Add interface.
3129         * platform/network/qt/QNetworkReplyHandler.cpp:
3130         (WebCore::QNetworkReplyHandler::QNetworkReplyHandler): Pass NetworkingContext to ResourceRequest::toNetworkRequest.
3131         (WebCore::QNetworkReplyHandler::redirect): Ditto.
3132         * platform/network/qt/ResourceRequest.h: Replaced originatingObject parameter with NetworkingContext, which can
3133         also provide the same plus more (cookie jar, policy callback).
3134         * platform/network/qt/ResourceRequestQt.cpp:
3135         (WebCore::ResourceRequest::toNetworkRequest): Ditto.
3136         * platform/qt/CookieJarQt.cpp: Simplify to use NetworkingContext to get cookie jar and
3137         call new thirdPartyCookiePolicyPermits API that takes the context as parameter.
3138         (WebCore::networkingContext):
3139         (WebCore::setCookies):
3140         (WebCore::cookies):
3141         (WebCore::cookieRequestHeaderFieldValue):
3142         (WebCore::cookiesEnabled):
3143         * platform/qt/ThirdPartyCookiesQt.cpp: Replace up-casting to QWebFrame and use of QWebSettings
3144         with useage of NetworkingContext.
3145         (WebCore::thirdPartyCookiePolicyPermits):
3146         * platform/qt/ThirdPartyCookiesQt.h:
3147
3148 2011-11-17  Kenichi Ishibashi  <bashi@chromium.org>
3149
3150         crash: WebCore::FontPlatformData::roundsGlyphAdvances on Lion
3151         https://bugs.webkit.org/show_bug.cgi?id=71997
3152
3153         Reviewed by Dan Bernstein.
3154
3155         The cause is a null dereference of a fontData that is stored in
3156         ComplexTextRun. The fontData is initialized by using the
3157         fontCache, but it could be null when the font is in fallback
3158         list. The reason a font from the fallback list might not be in the
3159         font Cache is that it may be a web font. Before looking up the
3160         fontCache, try to see whether the font is in the fallback list.
3161
3162         No new tests. We don't have webfonts that can produce the problem.
3163
3164         * platform/graphics/mac/ComplexTextControllerCoreText.mm:
3165         (WebCore::ComplexTextController::collectComplexTextRunsForCharactersCoreText): See fallback list first, then lookup cache.
3166
3167 2011-11-17  Kaustubh Atrawalkar  <kaustubh@motorola.com>
3168
3169         Remove initProgressEvent method
3170         https://bugs.webkit.org/show_bug.cgi?id=71340
3171
3172         Reviewed by Adam Barth.
3173
3174         This method has been removed from the spec draft.
3175         http://www.w3.org/TR/progress-events/#interface-progressevent
3176
3177         No new tests. Removed method.
3178
3179         * dom/ProgressEvent.cpp:
3180         * dom/ProgressEvent.h:
3181         * dom/ProgressEvent.idl:
3182
3183 2011-11-17  Eunmi Lee  <eunmi15.lee@samsung.com>
3184
3185         [EFL] Move keyIdentifierForEvasKeyName() and windowsKeyCodeForEvasKeyName() to the
3186         EflKeyboardUtilities.cpp to use in the WebKit2
3187         https://bugs.webkit.org/show_bug.cgi?id=62451
3188
3189         Reviewed by Martin Robinson.
3190
3191         The keyIdentifierForEvasKeyName() and windowsKeyCodeForEvasKeyName() were static functions
3192         in the PlatformKeyboardEventEfl.cpp. But they are also needed in the WebKit2 EFL port, so I
3193         moved them to the separated file - EflKeyboardUtilities.cpp.
3194
3195         * PlatformEfl.cmake:
3196         * platform/efl/EflKeyboardUtilities.cpp: Copied from Source/WebCore/platform/efl/PlatformKeyboardEventEfl.cpp.
3197         (WebCore::createKeyMap):
3198         (WebCore::createWindowsKeyMap):
3199         (WebCore::keyIdentifierForEvasKeyName):
3200         (WebCore::windowsKeyCodeForEvasKeyName):
3201         * platform/efl/EflKeyboardUtilities.h: Added.
3202         * platform/efl/PlatformKeyboardEventEfl.cpp:
3203
3204 2011-11-17  Martin Robinson  <mrobinson@igalia.com>
3205
3206         [GTK] The process freezes when you right click on windowless Flash
3207         https://bugs.webkit.org/show_bug.cgi?id=69123
3208
3209         Reviewed by Xan Lopez.
3210
3211         No new tests. I tried to create a layout test that exercised this
3212         issue, but it appears that EventSender clicks do not trigger
3213         it. This is covered by the manual tests containing Flash.
3214
3215         * plugins/PluginPackage.cpp:
3216         (WebCore::PluginPackage::determineQuirks): Always activate the
3217         windowless Flash quirk if on x86_64 and X11.
3218         * plugins/gtk/PluginViewGtk.cpp:
3219         (WebCore::PluginView::handleMouseEvent): Avoid sending right-click
3220         events if we have the quirk.
3221
3222 2011-11-17  Peter Rybin  <peter.rybin@gmail.com>
3223
3224         Web Inspector: clear fixme in generator script
3225         https://bugs.webkit.org/show_bug.cgi?id=71372
3226
3227         Remove unnecessary field name map and update license year number.
3228
3229         Reviewed by Pavel Feldman.
3230
3231         * inspector/CodeGeneratorInspector.py:
3232
3233 2011-11-17  Raphael Kubo da Costa  <kubo@profusion.mobi>
3234
3235         [EFL] Clean up the use of DATA_DIR in the buildsystem
3236         https://bugs.webkit.org/show_bug.cgi?id=72681
3237
3238         Reviewed by Daniel Bates.
3239
3240         Add the -DDATA_DIR definition here instead of defining it globally in
3241         OptionsEfl.cmake, as WebCore is the only place which needs it.
3242
3243         No new tests, this is a buildsystem change.
3244
3245         * PlatformEfl.cmake:
3246
3247 2011-11-17  Adam Klein  <adamk@chromium.org>
3248
3249         Move JS recursion counter from V8Proxy to V8BindingPerIsolateData
3250         https://bugs.webkit.org/show_bug.cgi?id=72645
3251
3252         Reviewed by Adam Barth.
3253
3254         With the JS recursion level stored as a member of V8Proxy, it's tied
3255         to a frame. But this is incorrect, as there's no reason that a JS call
3256         stack need be restricted to a single frame (see my new test case for
3257         an example of code going across frames).
3258
3259         In order to get the correct accounting of JS recursion level, per-Isolate
3260         is the right granularity (per dslomov), which is what this patch accomplishes.
3261
3262         Test: storage/indexeddb/transaction-abort-with-js-recursion-cross-frame.html
3263
3264         * bindings/v8/V8Binding.cpp:
3265         (WebCore::V8BindingPerIsolateData::V8BindingPerIsolateData):
3266         * bindings/v8/V8Binding.h:
3267         (WebCore::V8BindingPerIsolateData::recursionLevel):
3268         (WebCore::V8BindingPerIsolateData::incrementRecursionLevel):
3269         (WebCore::V8BindingPerIsolateData::decrementRecursionLevel):
3270         (WebCore::V8RecursionScope::V8RecursionScope):
3271         (WebCore::V8RecursionScope::~V8RecursionScope):
3272         * bindings/v8/V8Proxy.cpp:
3273         (WebCore::incrementRecursionLevel):
3274         (WebCore::decrementRecursionLevel):
3275         (WebCore::recursionLevel):
3276         (WebCore::V8Proxy::V8Proxy):
3277         (WebCore::V8Proxy::runScript):
3278         (WebCore::V8Proxy::callFunction):
3279         (WebCore::V8Proxy::didLeaveScriptContext):
3280         * bindings/v8/V8Proxy.h:
3281
3282 2011-11-17  Robin Cao  <robin.cao@torchmobile.com.cn>
3283
3284         [chromium] Font::drawComplexText can not draw a segment of text run
3285         https://bugs.webkit.org/show_bug.cgi?id=72095
3286
3287         Reviewed by Adam Barth.
3288
3289         drawComplexText() should respect the 'from' and 'to' arguments.
3290         Drawing the whole text run may result in text overlapping.
3291
3292         Test: platform/chromium-linux/fast/text/international/draw-complex-text-from-to.html
3293
3294         * platform/graphics/chromium/ComplexTextControllerLinux.cpp:
3295         (WebCore::ComplexTextController::glyphsForRange):
3296         * platform/graphics/chromium/ComplexTextControllerLinux.h:
3297         * platform/graphics/chromium/FontLinux.cpp:
3298         (WebCore::Font::drawComplexText):
3299
3300 2011-11-17  Adam Barth  <abarth@webkit.org>
3301
3302         Unique SecurityOrigins shouldn't remember their old schemes and hosts
3303         https://bugs.webkit.org/show_bug.cgi?id=71745
3304
3305         Reviewed by Darin Adler.
3306
3307         This is the final step in this series of patches.
3308
3309         This patch removes the forceUnique flag from SecurityOrigin::create.
3310         Now, we create unique origins without passing in the document's URL,
3311         preventing information from the document's URL from leaking into the
3312         unique origin.
3313
3314         * WebCore.exp.in:
3315         * dom/Document.cpp:
3316         (WebCore::Document::setIsViewSource):
3317         (WebCore::Document::initSecurityContext):
3318         * loader/cache/MemoryCache.cpp:
3319         (WebCore::MemoryCache::getOriginsWithCache):
3320             - Update this callsite to use createFromString, which does exactly
3321               what this code is doing manually.
3322         * page/SecurityOrigin.cpp:
3323         (WebCore::SecurityOrigin::create):
3324         * page/SecurityOrigin.h:
3325
3326 2011-11-17  Vincent Scheib  <scheib@chromium.org>
3327
3328         Pointer Lock: Page Settings unecessary
3329         https://bugs.webkit.org/show_bug.cgi?id=72662
3330
3331         Reviewed by Darin Fisher.
3332
3333         No new tests.
3334
3335         * page/Settings.cpp:
3336         (WebCore::Settings::Settings):
3337         * page/Settings.h:
3338
3339 2011-11-17  James Robinson  <jamesr@chromium.org>
3340
3341         [chromium] Disable incremental uploading in threaded compositing path
3342         https://bugs.webkit.org/show_bug.cgi?id=72669
3343
3344         Reviewed by Kenneth Russell.
3345
3346         Since we don't currently support atomic incremental uploads, incremental uploads in the threaded path result in
3347         very strange-looking texture popping as tiles come in on pages that require more than 16 tile uploads per frame.
3348         This disables that logic (by setting the upload limit per frame to 99999) until we handle the incremental
3349         updates in an atomic fashion.
3350
3351         * platform/graphics/chromium/cc/CCThreadProxy.cpp:
3352         (WebCore::CCThreadProxy::scheduledActionUpdateMoreResources):
3353
3354 2011-11-06  Nat Duca  <nduca@chromium.org>
3355
3356         [chromium] Fix handling of setNeedsCommit and setNeedsAnimate in threaded mode
3357         https://bugs.webkit.org/show_bug.cgi?id=71638
3358
3359         Reviewed by James Robinson.
3360
3361         * platform/graphics/chromium/cc/CCThreadProxy.cpp:
3362         (WebCore::CCThreadProxy::CCThreadProxy):
3363         (WebCore::CCThreadProxy::setNeedsAnimate):
3364         (WebCore::CCThreadProxy::beginFrameAndCommit):
3365
3366 2011-11-17  Adam Barth  <abarth@webkit.org>
3367
3368         Remove bogus ASSERT.
3369
3370         * page/SecurityOrigin.cpp:
3371         (WebCore::SecurityOrigin::SecurityOrigin):
3372
3373 2011-11-17  Peter Kasting  <pkasting@google.com>
3374
3375         Unreviewed, rolling out r100698.
3376         http://trac.webkit.org/changeset/100698
3377         https://bugs.webkit.org/show_bug.cgi?id=72239
3378
3379         This change wasn't the problem either.
3380
3381         * dom/Document.cpp:
3382         (WebCore::Document::implicitClose):
3383
3384 2011-11-17  David Reveman  <reveman@chromium.org>
3385
3386         [Chromium] Calls to paintContentsIfDirty() and updateCompositorResources() should be balanced.
3387         https://bugs.webkit.org/show_bug.cgi?id=72630
3388
3389         Reviewed by James Robinson.
3390
3391         Layer property changes during paintContent() can leave the layer
3392         in an invalid state as paintContentsIfDirty() has been called
3393         without a matching updateCompositorResources() call. Removing
3394         conditionals around these calls ensure they are balanced.
3395
3396         This patch is tested by the following unit test:
3397         - CCLayerTreeHostTestOpacityChange.runMultiThread
3398
3399         * platform/graphics/chromium/ContentLayerChromium.cpp:
3400         (WebCore::ContentLayerChromium::paintContentsIfDirty):
3401         * platform/graphics/chromium/VideoLayerChromium.cpp:
3402         (WebCore::VideoLayerChromium::updateCompositorResources):
3403         * platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
3404         (WebCore::CCLayerTreeHost::paintMaskAndReplicaForRenderSurface):
3405         (WebCore::CCLayerTreeHost::paintLayerContents):
3406         (WebCore::CCLayerTreeHost::updateCompositorResources):
3407         * platform/graphics/chromium/cc/CCLayerTreeHost.h:
3408
3409 2011-11-17  Peter Kasting  <pkasting@google.com>
3410
3411         Unreviewed, rolling out r100584.
3412         http://trac.webkit.org/changeset/100584
3413         https://bugs.webkit.org/show_bug.cgi?id=72239
3414
3415         See if this change caused Linux dbg crashes.
3416
3417         * dom/Document.cpp:
3418         (WebCore::Document::implicitClose):
3419
3420 2011-11-17  Adam Barth  <abarth@webkit.org>
3421
3422         Remove cargo-cult copy/pasting of ScriptExecutionContext namespace
3423         https://bugs.webkit.org/show_bug.cgi?id=72676
3424
3425         Reviewed by Eric Seidel.
3426
3427         It looks like this cargo-cult started with initDNSPrefetch being hacked
3428         into setSecurityOrigin.  I've removed this hack along with the
3429         copy/paste code.
3430
3431         * dom/DOMImplementation.cpp:
3432         * dom/Document.cpp:
3433         (WebCore::Document::setIsViewSource):
3434         (WebCore::Document::open):
3435         (WebCore::Document::initSecurityContext):
3436         (WebCore::Document::setSecurityOrigin):
3437         * dom/Document.h:
3438         * xml/XSLTProcessor.cpp:
3439
3440 2011-11-17  Peter Kasting  <pkasting@google.com>
3441
3442         Unreviewed, rolling out r100676.
3443         http://trac.webkit.org/changeset/100676
3444         https://bugs.webkit.org/show_bug.cgi?id=72393
3445
3446         Looks like r100572 was not the source of the crashes.
3447
3448         * bindings/js/ScriptDebugServer.cpp:
3449         (WebCore::ScriptDebugServer::canSetScriptSource):
3450         * bindings/js/ScriptDebugServer.h:
3451         * bindings/v8/ScriptDebugServer.cpp:
3452         (WebCore::ScriptDebugServer::stepOutOfFunction):
3453         (WebCore::ScriptDebugServer::canSetScriptSource):
3454         * bindings/v8/ScriptDebugServer.h:
3455         * inspector/CodeGeneratorInspector.py:
3456         * inspector/Inspector.json:
3457         * inspector/InspectorDebuggerAgent.cpp:
3458         (WebCore::InspectorDebuggerAgent::getCapabilities):
3459         * inspector/InspectorDebuggerAgent.h:
3460         * inspector/front-end/DebuggerModel.js:
3461         (WebInspector.DebuggerModel):
3462         (WebInspector.DebuggerModel.prototype.enableDebugger):
3463         (WebInspector.DebuggerModel.prototype.disableDebugger):
3464         (WebInspector.DebuggerModel.prototype.canSetScriptSource):
3465         * inspector/front-end/DebuggerPresentationModel.js:
3466         (WebInspector.DebuggerPresentationModel.prototype.canEditScriptSource):
3467         * inspector/front-end/Settings.js:
3468
3469 2011-11-17  Konstantin Scheglov  <scheglov@google.com>
3470
3471         Absolute child is not repainted when parent opacity changes
3472         https://bugs.webkit.org/show_bug.cgi?id=68777
3473
3474         Reviewed by Simon Fraser.
3475
3476         First time when we change opacity for parent we don't have layer, so
3477         diff=StyleDifferenceRepaint is used instead of diff=StyleDifferenceRepaintLayer.
3478         Layer is created later, in styleDidChange().
3479         So, when we recalculate later diff, we now check for diff=StyleDifferenceRepaintLayer and
3480         performs repaintIncludingDescendants().
3481
3482         Test: fast/layers/layer-absolute-parent-opacity.html
3483
3484         * rendering/RenderObject.cpp:
3485         (WebCore::RenderObject::setStyle): Call repaintIncludingDescendants() instead of repaint().
3486         * rendering/style/RenderStyle.cpp:
3487         (WebCore::RenderStyle::diff): Add ContextSensitivePropertyOpacity when change opacity.
3488
3489 2011-11-17  Nate Chapin  <japhet@chromium.org>
3490
3491         r100311 dropped a RefPtr that is very
3492         helpful. Add it back.
3493         https://bugs.webkit.org/show_bug.cgi?id=72647
3494
3495         Reviewed by Adam Barth.
3496
3497         http/tests/misc/xslt-bad-import.html should