6eefd8ab5ec7fba22bbde80cd6bb10952c7d1bad
[WebKit-https.git] / WebCore / ChangeLog
1 2009-10-27  Brady Eidson  <beidson@apple.com>
2
3         Rubberstamped by Sam Weinig.
4
5         Re-enable the check that disallows pages with unload handlers in the page cache.
6
7         <rdar://problem/7196485> and http://webkit.org/b/29021 
8
9         * loader/FrameLoader.cpp:
10         (WebCore::FrameLoader::canCachePageContainingThisFrame):
11         (WebCore::FrameLoader::logCanCacheFrameDecision):
12
13 2009-10-27  Timothy Hatcher  <timothy@apple.com>
14
15         Remove more empty files that didn't get removed earlier.
16
17         * inspector/DOMDispatchTimelineItem.cpp: Removed.
18         * inspector/DOMDispatchTimelineItem.h: Removed.
19
20 2009-10-27  Andras Becsi  <becsi.andras@stud.u-szeged.hu>
21
22         Reviewed by Tor Arne Vestbø.
23
24         [Qt] Fix assertion crashes introduced by changes made in r50110.
25
26         * dom/XMLTokenizerQt.cpp:
27         (WebCore::XMLTokenizer::parseEndElement): only call popCurrentNode() if there are nodes left in the stack.
28
29 2009-10-27  Timothy Hatcher  <timothy@apple.com>
30
31         Remove empty files that didn't get removed earlier.
32
33         * inspector/TimelineItem.cpp: Removed.
34         * inspector/TimelineItem.h: Removed.
35
36 2009-10-27  Joanmarie Diggs  <joanmarie.diggs@gmail.com>
37
38         Reviewed by Xan Lopez.
39
40         https://bugs.webkit.org/show_bug.cgi?id=25534
41         [GTK] Objects of ROLE_TABLE should implement the accessible table interface
42
43         First part of the implementation of AtkTable.
44
45         * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
46         (getCell):
47         (getCellIndex):
48         (webkit_accessible_table_ref_at):
49         (webkit_accessible_table_get_index_at):
50         (webkit_accessible_table_get_n_columns):
51         (webkit_accessible_table_get_n_rows):
52         (webkit_accessible_table_get_column_extent_at):
53         (webkit_accessible_table_get_row_extent_at):
54         (webkit_accessible_table_get_row_header):
55         (atk_table_interface_init):
56         (AtkInterfacesInitFunctions):
57         (GetAtkInterfaceTypeFromWAIType):
58
59 2009-10-27  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
60
61         Reviewed by Lars Knoll.
62
63         [Qt] Don't lose remainder when computing wheel event deltas
64
65         * platform/qt/WheelEventQt.cpp:
66
67 2009-10-27  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
68
69         Reviewed by Antti Koivisto.
70
71         Fix QtWebKit build for WIN_OS if Netscape plug-in support
72         is turned off and refactor some related code
73         https://bugs.webkit.org/show_bug.cgi?id=30786
74
75         No new tests as there is no new functionality introduced.
76
77         * platform/FileSystem.h: Refactor to make sure that each different
78         type definition is only repeated once.
79
80         * plugins/PluginPackage.cpp:
81         (WebCore::PluginPackage::compareFileVersion): Move it out from the
82         ENABLE_PLUGIN_PACKAGE_SIMPLE_HASH guard and combine it with the
83         function body from PluginPackageWin.
84
85         * plugins/win/PluginPackageWin.cpp: Remove compareFileVersion as
86         it is now in PluginPackage.cpp.
87
88 2009-10-26  Xan Lopez  <xlopez@igalia.com>
89
90         Reviewed by Gustavo Noronha.
91
92         https://bugs.webkit.org/show_bug.cgi?id=27011
93         [Gtk] Implement support for get_index_in_parent
94
95         Implement atk_object_get_index_in_parent.
96
97         * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
98         (webkit_accessible_get_index_in_parent):
99
100 2009-10-27  Eric Seidel  <eric@webkit.org>
101
102         No review, rolling out r50131.
103         http://trac.webkit.org/changeset/50131
104
105         * bridge/objc/objc_instance.h:
106         * bridge/objc/objc_instance.mm:
107         (ObjcInstance::ObjcInstance):
108         (ObjcInstance::virtualEnd):
109
110 2009-10-26  Daniel Bates  <dbates@webkit.org>
111
112         Reviewed by Darin Adler.
113
114         https://bugs.webkit.org/show_bug.cgi?id=30491
115
116         Fixes an issue where pressing return/enter on the keyboard 
117         in <isindex> does not submit it if is not within a <form>.
118
119         According to the HTML 2.0 thru HTML 4.01 spec 
120         (http://www.w3.org/MarkUp/html-spec/html-spec_7.html#SEC7.5), the 
121         <isindex> element does not need to be within a <form> element in 
122         order to submit it. It can submitted on its own. Also, if present,
123         the href property of the <base> element will dictate where to submit
124         the value of the <isindex> element (this is analogous to the action 
125         property of the <form> element).
126
127         Tests: http/tests/misc/isindex-with-no-form-base-href.html
128                http/tests/misc/isindex-with-no-form.html
129
130         * html/HTMLInputElement.cpp:
131         (WebCore::HTMLInputElement::defaultEventHandler): Calls createTemporaryFormForIsIndex()
132         to create a <form> if none is present and we are an <isindex> element.
133         (WebCore::HTMLInputElement::createTemporaryFormForIsIndex): Added.
134         * html/HTMLInputElement.h:
135
136 2009-10-26  Oliver Hunt  <oliver@apple.com>
137
138         Reviewed by Maciej Stachowiak.
139
140         Crash occurs after launching Newsfire 1.6 for the first time
141         https://bugs.webkit.org/show_bug.cgi?id=30807
142
143         Use a RetainPtr in ObjcBinding to ensure that we adequately
144         protect the autorelease pool from GC in GC'd applications.
145
146         * bridge/objc/objc_instance.h:
147         * bridge/objc/objc_instance.mm:
148         (ObjcInstance::ObjcInstance):
149         (ObjcInstance::virtualEnd):
150
151 2009-10-26  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
152
153         Unreviewed.
154
155         [Qt] Build fix for QtWebKit after r50125.
156
157         * WebCore.pro: Rename TimelineItem to TimelineRecord.
158
159 2009-10-26  Matt Mueller  <mattm@chromium.org>
160
161         Reviewed by Darin Adler.
162
163         Refactor synchronizable property handling to store one shouldSynchronize flag per set of properties rather than one per property.
164
165         Fixes reading uninitialized memory in SynchronizableProperty hash function as well as simplifying the code.
166
167         https://bugs.webkit.org/show_bug.cgi?id=30658
168
169         Covered by running various svg tests under valgrind, ex:
170         LayoutTests/svg/custom/js-late-mask-and-object-creation.svg
171
172         * svg/SynchronizablePropertyController.cpp:
173         (WebCore::SynchronizableProperties::addProperty):
174         (WebCore::SynchronizableProperties::synchronize):
175         (WebCore::SynchronizableProperties::startAnimation):
176         (WebCore::SynchronizableProperties::stopAnimation):
177         (WebCore::SynchronizablePropertyController::registerProperty):
178         (WebCore::SynchronizablePropertyController::setPropertyNeedsSynchronization):
179         (WebCore::SynchronizablePropertyController::synchronizeProperty):
180         (WebCore::SynchronizablePropertyController::synchronizeAllProperties):
181         (WebCore::SynchronizablePropertyController::startAnimation):
182         (WebCore::SynchronizablePropertyController::stopAnimation):
183         * svg/SynchronizablePropertyController.h:
184         (WebCore::SynchronizableProperties::SynchronizableProperties):
185         (WebCore::SynchronizableProperties::setNeedsSynchronization):
186
187 2009-10-26  Kelly Norton  <knorton@google.com>
188
189         Reviewed by Timothy Hatcher.
190
191         Renames TimelineItem to TimelineRecord and updates all call sites.
192         https://bugs.webkit.org/show_bug.cgi?id=30785
193
194         * GNUmakefile.am: 
195         * WebCore.gypi:
196         * WebCore.vcproj/WebCore.vcproj:
197         * WebCore.xcodeproj/project.pbxproj:
198         * inspector/InspectorFrontend.cpp:
199         (WebCore::InspectorFrontend::addRecordToTimeline):
200         * inspector/InspectorFrontend.h:
201         * inspector/InspectorTimelineAgent.cpp:
202         (WebCore::InspectorTimelineAgent::willDispatchDOMEvent):
203         (WebCore::InspectorTimelineAgent::didDispatchDOMEvent):
204         (WebCore::InspectorTimelineAgent::willLayout):
205         (WebCore::InspectorTimelineAgent::didLayout):
206         (WebCore::InspectorTimelineAgent::willRecalculateStyle):
207         (WebCore::InspectorTimelineAgent::didRecalculateStyle):
208         (WebCore::InspectorTimelineAgent::willPaint):
209         (WebCore::InspectorTimelineAgent::didPaint):
210         (WebCore::InspectorTimelineAgent::willWriteHTML):
211         (WebCore::InspectorTimelineAgent::didWriteHTML):
212         (WebCore::InspectorTimelineAgent::didInstallTimer):
213         (WebCore::InspectorTimelineAgent::didRemoveTimer):
214         (WebCore::InspectorTimelineAgent::willFireTimer):
215         (WebCore::InspectorTimelineAgent::didFireTimer):
216         (WebCore::InspectorTimelineAgent::reset):
217         (WebCore::InspectorTimelineAgent::addRecordToTimeline):
218         (WebCore::InspectorTimelineAgent::didCompleteCurrentRecord):
219         (WebCore::InspectorTimelineAgent::pushCurrentRecord):
220         * inspector/InspectorTimelineAgent.h:
221         (WebCore::):
222         (WebCore::InspectorTimelineAgent::RecordEntry::RecordEntry):
223         * inspector/TimelineItemFactory.cpp: Removed.
224         * inspector/TimelineItemFactory.h: Removed.
225         * inspector/TimelineRecordFactory.cpp: Added.
226         (WebCore::TimelineRecordFactory::createGenericRecord):
227         (WebCore::TimelineRecordFactory::createDOMDispatchRecord):
228         (WebCore::TimelineRecordFactory::createGenericTimerRecord):
229         (WebCore::TimelineRecordFactory::createTimerInstallRecord):
230         * inspector/TimelineRecordFactory.h: Added.
231         (WebCore::TimelineRecordFactory::TimelineRecordFactory):
232         * inspector/front-end/TimelineAgent.js:
233         (WebInspector.addRecordToTimeline):
234         * inspector/front-end/TimelinePanel.js:
235         (WebInspector.TimelinePanel.prototype.addRecordToTimeline):
236         (WebInspector.TimelinePanel.prototype._innerAddRecordToTimeline):
237         (WebInspector.TimelinePanel.prototype.getRecordTypeName):
238         (WebInspector.TimelineRecordTreeElement.prototype.onattach):
239
240 2009-10-26  Girish Ramakrishnan  <girish@forwardbias.in>
241
242         Reviewed by Antti Koivisto.
243
244         [Qt] Windowless Plugins : Print preview shows only part of flash when view is scrolled
245         
246         When printing, QPrinter's preview mode uses a QPicture to capture the output. The
247         QPicture holds a reference to the X Pixmap. As a result, the print preview would
248         update itself when the X Pixmap changes. To prevent the print preview from updating
249         whenever m_drawable is updated (i.e when the view updates), we create a copy.
250         
251         We require that a QPixmap::copy() result in a QPixmap backed by a XPixmap
252         regardless of the graphicssystem. This is taken care of by
253         commit d310f7c710ecb331a9689861f0551eabd38e946e in Qt (4.6)
254         
255         The beauty of this patch is that the newly created X Pixmap is managed by Qt and
256         it will free the Pixmap whenever the user closes the print preview dialog and
257         handles the case of displaying multiple preview dialogs nicely.
258         
259         All credit to Samuel Rødal for suggesting usage of QPixmap::copy().
260         
261         https://bugs.webkit.org/show_bug.cgi?id=30714
262
263         * plugins/qt/PluginViewQt.cpp:
264         (WebCore::PluginView::paint):
265
266 2009-10-26  Benjamin Otte  <otte@gnome.org>
267
268         Reviewed by Gustavo Noronha.
269
270         Don't store properties in the MediaPlayerPrivate class
271
272         Access them via the MediaPlayer class instead.
273         https://bugs.webkit.org/show_bug.cgi?id=30462
274
275         * platform/graphics/gtk/MediaPlayerPrivateGStreamer.cpp:
276         (WebCore::MediaPlayerPrivate::MediaPlayerPrivate):
277         (WebCore::MediaPlayerPrivate::seek):
278         (WebCore::MediaPlayerPrivate::setVolume):
279         (WebCore::MediaPlayerPrivate::setRate):
280         (WebCore::MediaPlayerPrivate::setVisible):
281         (WebCore::MediaPlayerPrivate::paint):
282         (WebCore::MediaPlayerPrivate::createGSTPlayBin):
283         * platform/graphics/gtk/MediaPlayerPrivateGStreamer.h:
284
285 2009-10-26  Brian Weinstein  <bweinstein@apple.com>
286
287         Reviewed by Timothy Hatcher.
288
289         Fixes <http://webkit.org/b/30801>.
290         Web Inspector: Control + ]/[ on Windows doesn't change Panels.
291         
292         In my testing, Windows uses "U+00DB" and "U+00DD" to represent
293         [ and ], so we should honor those as well.
294
295         * inspector/front-end/inspector.js:
296         (WebInspector.documentKeyDown):
297
298 2009-10-26  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
299
300         Reviewed by Darin Adler.
301
302         Make .rc files compile on Windows without depending on MFC headers
303         https://bugs.webkit.org/show_bug.cgi?id=30750
304
305         * WebCore.vcproj/QTMovieWin.rc: Use winresrc.h because it exists 
306         even when MFC is not installed, and is all that's needed here.
307
308 2009-10-26  Brent Fulgham  <bfulgham@webkit.org>
309
310         Reviewed by Darin Adler.
311
312         Build corrections for ENABLE_FILTERS in Windows.
313         https://bugs.webkit.org/show_bug.cgi?id=30797
314
315         Build correction for ENABLE_FILTERS feature.  No new tests needed.
316
317         * platform/graphics/filters/FEColorMatrix.cpp: Use MathExtras.h and
318           its piDouble constant.
319         * platform/graphics/filters/FEGaussianBlur.cpp: Use MathExtras.h and
320           its piDouble constant.  Remove unnecessary call to floor used in
321           the division of an unsigned, converting to int.
322         * platform/graphics/win/SimpleFontDataCairoWin.cpp: Correct include
323           style for MathExtras.h.
324
325 2009-10-26  Brady Eidson  <beidson@apple.com>
326
327         Reviewed by Darin Adler.
328
329         <rdar://problem/7289467> and http://webkit.org/b/30798 - REGRESSION (r48687): www.myuhc.com doesn't load.
330
331         Test: fast/loader/grandparent-completion-starts-redirect.html
332
333         * loader/FrameLoader.cpp:
334         (WebCore::FrameLoader::completed): Notify all descendants that the load completed, not just direct children.
335
336 2009-10-26  Dan Bernstein  <mitz@apple.com>
337
338         Reviewed by Beth Dakin.
339
340         Re-add CSSPropertyWebkitBackgroundSize in one more place
341
342         Fixes transitions/multiple-background-size-transitions.html, transitions/background-transitions.html
343
344         * page/animation/AnimationBase.cpp:
345         (WebCore::FillLayersPropertyWrapper::FillLayersPropertyWrapper):
346
347 2009-10-26  Jeremy Orlow  <jorlow@chromium.org>
348
349         Reviewed by Dimitri Glazkov.
350
351         [V8] Tidy up the DOM Storage runtime flag stuff
352         https://bugs.webkit.org/show_bug.cgi?id=30794
353
354         Clean up the DOM Storage runtime flag stuff to match the new way of doing
355         things.  No behavioral changes.
356
357         * bindings/v8/RuntimeEnabledFeatures.cpp:
358         * bindings/v8/RuntimeEnabledFeatures.h:
359         (WebCore::RuntimeEnabledFeatures::setDatabaseEnabled):
360         (WebCore::RuntimeEnabledFeatures::databaseEnabled):
361         (WebCore::RuntimeEnabledFeatures::setLocalStorageEnabled):
362         (WebCore::RuntimeEnabledFeatures::localStorageEnabled):
363         (WebCore::RuntimeEnabledFeatures::setSessionStorageEnabled):
364         (WebCore::RuntimeEnabledFeatures::sessionStorageEnabled):
365         * bindings/v8/custom/V8DOMWindowCustom.cpp:
366         (WebCore::ACCESSOR_RUNTIME_ENABLER):
367         * storage/Storage.cpp:
368         * storage/Storage.h:
369
370 2009-10-26  Brady Eidson  <beidson@apple.com>
371
372         Reviewed by Darin Adler.
373
374         <rdar://problem/7308952> and http://webkit.org/b/30424 - REGRESSION (r48687): Pages on ucas.com appear blank.
375
376         Test: fast/loader/history-forward-in-head.html
377
378         * loader/RedirectScheduler.cpp:
379         (WebCore::RedirectScheduler::scheduleHistoryNavigation): Restore the moved canGoBackOrForward() check.
380           This restores the side effect of an invalid history navigation canceling previous scheduled redirects
381           and also fixes the bug of scheduling an invalid history navigation canceling parsing of the current document.
382         (WebCore::RedirectScheduler::timerFired): Removed the canGoBackOrForward() check as it is now made before
383           the redirect is scheduled.
384
385 2009-10-26  Alexey Proskuryakov  <ap@apple.com>
386
387         Reviewed by Darin Adler.
388
389         https://bugs.webkit.org/show_bug.cgi?id=30049
390         <rdar://problem/7286002> Manipulating DOM from a script while parsing XHTML can cause a crash
391
392         Tests: fast/parser/remove-current-node-parent-x-2.xhtml
393                fast/parser/remove-current-node-parent-x.xhtml
394
395         * dom/XMLTokenizer.h: Store the whole stack of parent nodes - element.parentNode() is
396         unreliable after DOM manipulation.
397
398         * dom/XMLTokenizer.cpp:
399         (WebCore::XMLTokenizer::pushCurrentNode): Push the new node onto stack.
400         (WebCore::XMLTokenizer::popCurrentNode): This is now called instead of setCurrentNode when
401         exiting a node.
402         (WebCore::XMLTokenizer::clearCurrentNodeStack): We're aborting; or just done parsing. This
403         replaces setCurrentNode(0).
404         (WebCore::XMLTokenizer::enterText): Call pushCurrentNode().
405         (WebCore::XMLTokenizer::exitText): Call popCurrentNode(), removing a long-standing FIXME
406         (not sure if it was ever practical though - how can a parent become null while adding text?)
407
408         * dom/XMLTokenizerLibxml2.cpp:
409         (WebCore::XMLTokenizer::~XMLTokenizer): Call clearCurrentNodeStack().
410         (WebCore::XMLTokenizer::startElementNs): Call pushCurrentNode().
411         (WebCore::XMLTokenizer::endElementNs): Call popCurrentNode() to safely get to a parent. Also
412         added a check fo script element still being in document - Firefox parses those that aren't,
413         but doesn't execute them.
414
415         * dom/XMLTokenizerQt.cpp:
416         (WebCore::XMLTokenizer::~XMLTokenizer):
417         (WebCore::XMLTokenizer::parseStartElement):
418         (WebCore::XMLTokenizer::parseEndElement):
419         Match libxml2 version changes.
420
421 2009-10-26  Dan Bernstein  <mitz@apple.com>
422
423         Reviewed by Beth Dakin.
424
425         background-size: X treated as background-size: X X, not background-size: X auto
426         https://bugs.webkit.org/show_bug.cgi?id=28440
427
428         Updated fast/backgrounds/size/resources/parsing-background-size-values.js
429         and fast/backgrounds/size/resources/parsing-inherit.js
430
431         Reinstated -webkit-background-size and kept its behavior of filling in
432         the second value with the first one; and changed background-size to have
433         the behavior of filling in the second value with 'auto'.
434
435         * css/CSSComputedStyleDeclaration.cpp:
436         (computedProperties): Re-added CSSPropertyWebkitBackgroundSize.
437         (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): Ditto.
438         * css/CSSParser.cpp:
439         (WebCore::CSSParser::parseValue): Ditto.
440         (WebCore::CSSParser::parseFillSize): Adapted for the new parsing rule.
441         (WebCore::CSSParser::parseFillProperty): Re-added
442         CSSPropertyWebkitBackgroundSize.
443         (WebCore::cssPropertyID): Removed mapping of -webkit-background-size to
444         background-size.
445         * css/CSSParser.h:
446         * css/CSSPropertyNames.in: Re-added -webkit-background-size.
447         * css/CSSStyleSelector.cpp:
448         (WebCore::CSSStyleSelector::applyProperty): Re-added
449         CSSPropertyWebkitBackgroundSize.
450
451 2009-10-26  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
452
453         Reviewed by Eric Seidel.
454
455         [Qt] Use "%lli" to format "long long" on WIN_OS to fix HTML5 WebDB crash
456         https://bugs.webkit.org/show_bug.cgi?id=30777
457
458         No new tests as the crash can be reproduced by existing storage
459         LayoutTests (by hitting an assert in debug mode Webkit on WIN_OS).
460
461         * platform/text/String.cpp:
462         (WebCore::String::number): Qt's QString::vsprintf does not
463         understand the "%I64u" format string. Always use the "%lli"
464         format string for Qt port.
465
466 2009-10-26  Tony Chang  <tony@chromium.org>
467
468         Reviewed by Eric Seidel.
469
470         Roll back r50073 because r50041-50043 were reverted.  r50073 was
471         a chromium side fix for r50041.
472         https://bugs.webkit.org/show_bug.cgi?id=30789
473
474         * bindings/v8/V8Collection.h:
475         * bindings/v8/custom/V8CustomBinding.h:
476         * bindings/v8/custom/V8HTMLAllCollectionCustom.cpp:
477         (WebCore::getNamedItems):
478         (WebCore::getItem):
479         (WebCore::NAMED_PROPERTY_GETTER):
480         (WebCore::CALLBACK_FUNC_DECL):
481         * bindings/v8/custom/V8HTMLCollectionCustom.cpp:
482         (WebCore::getNamedItems):
483         (WebCore::getItem):
484         (WebCore::NAMED_PROPERTY_GETTER):
485         (WebCore::CALLBACK_FUNC_DECL):
486         * bindings/v8/custom/V8HTMLOptionsCollectionCustom.cpp:
487
488 2009-10-26  Geoffrey Garen  <ggaren@apple.com>
489
490         Reviewed by Dimitri Glazkov.
491
492         Fixed https://bugs.webkit.org/show_bug.cgi?id=30765
493         REGRESSION (r48701): Removing an event listener causes the one added just after it not to fire
494         
495         and related bugs.
496
497         If the event listener being removed is prior to the current firing event
498         iterator, we need to decrement the current firing event iterator in
499         addition to the endpoint. (Otherwise, shrinking the event listener vector
500         by one implicity moves the current firing event iterator forward by one.
501         It's like relativity, only without the planets.)
502         
503         Also took the opportunity to change some pointers to references, since
504         they can't be null.
505
506         * dom/EventTarget.cpp:
507         (WebCore::EventTarget::removeEventListener):
508         (WebCore::EventTarget::removeAllEventListeners): Update iterator in addition
509         to end, if need be.
510         (WebCore::EventTarget::fireEventListeners): Updated for interface changes.
511         Added a comment to explain a behavior that was implicit enough to be
512         confusing.
513
514         * dom/EventTarget.h:
515         (WebCore::FiringEventIterator::FiringEventIterator):
516         (WebCore::EventTarget::isFiringEventListeners): Updated for interface changes.
517
518 2009-10-26  Brian Weinstein  <bweinstein@apple.com>
519
520         Reviewed by Timothy Hatcher.
521
522         Fixes <http://webkit.org/b/30792>.
523         Web Inspector: When changing resource scope, resource graph can get in weird state.
524         
525         If the user was scrolled down while looking at All resources, and then just
526         selects Fonts, or something that doesn't have many resources, then the graph
527         will stay scrolled down, even when there is no content there.
528         
529         When the filter is updated, scroll to the top of the graph view, so this won't
530         happen.
531
532         * inspector/front-end/AbstractTimelinePanel.js:
533         (WebInspector.AbstractTimelinePanel.prototype._updateFilter):
534
535 2009-10-26  Sam Weinig  <sam@webkit.org>
536
537         Fix mac clean build.
538
539         * html/HTMLOptionsCollection.idl:
540
541 2009-10-26  Pavel Feldman  <pfeldman@chromium.org>
542
543         Reviewed by Timothy Hatcher.
544
545         Web Inspector: Extract AbstractTimelinePanel that will be a base
546         class for ResourcesPanel and TimelinePanel.
547
548         https://bugs.webkit.org/show_bug.cgi?id=30776
549
550         * WebCore.gypi:
551         * WebCore.vcproj/WebCore.vcproj:
552         * inspector/front-end/AbstractTimelinePanel.js: Added.
553         (WebInspector.AbstractTimelinePanel):
554         (WebInspector.AbstractTimelinePanel.prototype.get categories):
555         (WebInspector.AbstractTimelinePanel.prototype.showCategory):
556         (WebInspector.AbstractTimelinePanel.prototype.hideCategory):
557         (WebInspector.AbstractTimelinePanel.prototype.createTimelinePanels):
558         (WebInspector.AbstractTimelinePanel.prototype._createFilterPanel.createFilterElement):
559         (WebInspector.AbstractTimelinePanel.prototype._createFilterPanel):
560         (WebInspector.AbstractTimelinePanel.prototype.filter):
561         (WebInspector.AbstractTimelinePanel.prototype._updateFilter):
562         (WebInspector.AbstractTimelinePanel.prototype._createGraph):
563         (WebInspector.AbstractTimelinePanel.prototype.updateGraphDividersIfNeeded):
564         (WebInspector.AbstractTimelinePanel.prototype._updateSummaryGraph):
565         (WebInspector.AbstractTimelinePanel.prototype._updateDividersLabelBarPosition):
566         (WebInspector.AbstractTimelinePanel.prototype.get needsRefresh):
567         (WebInspector.AbstractTimelinePanel.prototype.set needsRefresh):
568         (WebInspector.AbstractTimelinePanel.prototype.refreshIfNeeded):
569         (WebInspector.AbstractTimelinePanel.prototype.show):
570         (WebInspector.AbstractTimelinePanel.prototype.resize):
571         (WebInspector.AbstractTimelinePanel.prototype.updateMainViewWidth):
572         (WebInspector.TimelineCalculator):
573         (WebInspector.TimelineCalculator.prototype.computeSummaryValues):
574         (WebInspector.TimelineCalculator.prototype.computeBarGraphPercentages):
575         (WebInspector.TimelineCalculator.prototype.computeBarGraphLabels):
576         (WebInspector.TimelineCalculator.prototype.get boundarySpan):
577         (WebInspector.TimelineCalculator.prototype.updateBoundaries):
578         (WebInspector.TimelineCalculator.prototype.reset):
579         (WebInspector.TimelineCalculator.prototype._value):
580         (WebInspector.TimelineCalculator.prototype.formatValue):
581         * inspector/front-end/ResourceCategory.js:
582         (WebInspector.ResourceCategory):
583         * inspector/front-end/ResourcesPanel.js:
584         (WebInspector.ResourcesPanel):
585         (WebInspector.ResourcesPanel.prototype.toolbarItemClass.get toolbarItemLabel):
586         (WebInspector.ResourcesPanel.prototype.get statusBarItems):
587         (WebInspector.ResourcesPanel.prototype.get categories):
588         (WebInspector.ResourcesPanel.prototype.showCategory):
589         (WebInspector.ResourcesPanel.prototype.hideCategory):
590         (WebInspector.ResourcesPanel.prototype.isCategoryVisible):
591         (WebInspector.ResourcesPanel.prototype.populateSidebar):
592         (WebInspector.ResourcesPanel.prototype.createPanelEnabler):
593         (WebInspector.ResourcesPanel.prototype.createStatusbarButtons):
594         (WebInspector.ResourcesPanel.prototype.set mainResourceLoadTime):
595         (WebInspector.ResourcesPanel.prototype.set mainResourceDOMContentTime):
596         (WebInspector.ResourcesPanel.prototype.show):
597         (WebInspector.ResourcesPanel.prototype.resize):
598         (WebInspector.ResourcesPanel.prototype.reset):
599         (WebInspector.ResourcesPanel.prototype.updateGraphDividersIfNeeded):
600         (WebInspector.ResourcesPanel.prototype.updateMainViewWidth):
601         (WebInspector.ResourceTimeCalculator):
602         (WebInspector.ResourceTransferSizeCalculator):
603         (WebInspector.ResourceTransferSizeCalculator.prototype.computeBarGraphLabels):
604         * inspector/front-end/SummaryBar.js:
605         (WebInspector.SummaryBar.prototype.update):
606         * inspector/front-end/WebKit.qrc:
607         * inspector/front-end/inspector.html:
608         * inspector/front-end/inspector.js:
609         (WebInspector.loaded):
610
611 2009-10-26  Avi Drissman  <avi@google.com>
612
613         Reviewed by Darin Adler.
614
615         Use Helvetica in the Inspector as intended.
616         https://bugs.webkit.org/show_bug.cgi?id=30787
617
618         * inspector/front-end/inspector.css:
619
620 2009-10-26  Nate Chapin  <japhet@chromium.org>
621
622         Reviewed by Alexey Proskuryakov.
623
624         Don't set window.opener to 0 for the current FrameLoader if a noreferrer link was clicked, only suppress opener in a new frame.
625         https://bugs.webkit.org/show_bug.cgi?id=30781
626
627         * loader/FrameLoader.cpp:
628         (WebCore::FrameLoader::urlSelected): Don't suppress opener in the current frame for noreferrer navigations.
629
630 2009-10-26  Ryosuke Niwa  <rniwa@webkit.org>
631
632         Reviewed by Eric Seidel.
633
634         Data loss occurs when unbolding nested bold tags.
635         https://bugs.webkit.org/show_bug.cgi?id=30083
636
637         Fixes the loop in swapInNodePreservingAttributesAndChildren by saving nextSibling() of child
638         to a temporary valuable.  It was originally calling nextSibling() after appending the child
639         to new parent, in which case, nextSibling is always 0.
640
641         Test: editing/style/unbolding-nested-b.html
642
643         * editing/ReplaceNodeWithSpanCommand.cpp:
644         (WebCore::swapInNodePreservingAttributesAndChildren):
645
646 2009-10-21  Jeremy Orlow  <jorlow@chromium.org>
647
648         Reviewed by Darin Adler.
649
650         Storage events should use Document::url() rather than documentURI()
651         https://bugs.webkit.org/show_bug.cgi?id=30535
652
653         Storage events should use Document::url() rather than Document::documentURI()
654         per http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-October/023703.html
655
656         Test: storage/domstorage/documentURI.html
657
658         * storage/StorageEventDispatcher.cpp:
659         (WebCore::StorageEventDispatcher::dispatch):
660
661 2009-10-26  Sam Weinig  <sam@webkit.org>
662
663         Rubber-stamped by Darin Adler.
664
665         Rollout r50041-50043.  The HTML5 spec changed to make HTMLOptionsCollection
666         inherit from HTMLCollection.
667
668         * GNUmakefile.am:
669         * WebCore.gypi:
670         * WebCore.pro:
671         * WebCore.vcproj/WebCore.vcproj:
672         * WebCore.xcodeproj/project.pbxproj:
673         * bindings/js/JSHTMLAllCollectionCustom.cpp:
674         (WebCore::getNamedItems):
675         (WebCore::callHTMLAllCollection):
676         (WebCore::JSHTMLAllCollection::nameGetter):
677         (WebCore::JSHTMLAllCollection::item):
678         (WebCore::JSHTMLAllCollection::namedItem):
679         * bindings/js/JSHTMLCollectionCustom.cpp:
680         (WebCore::getNamedItems):
681         (WebCore::callHTMLCollection):
682         (WebCore::JSHTMLCollection::nameGetter):
683         (WebCore::JSHTMLCollection::item):
684         (WebCore::JSHTMLCollection::namedItem):
685         (WebCore::toJS):
686         * bindings/js/JSHTMLCollectionFunctions.h: Removed.
687         * bindings/js/JSHTMLDocumentCustom.cpp:
688         * bindings/js/JSHTMLOptionsCollectionCustom.cpp:
689         (WebCore::JSHTMLOptionsCollection::length):
690         (WebCore::JSHTMLOptionsCollection::indexSetter):
691         * bindings/objc/DOMHTML.mm:
692         (kitClass):
693         * bindings/objc/DOMUtility.mm:
694         (JSC::createDOMWrapper):
695         * bindings/scripts/CodeGeneratorJS.pm:
696         * html/HTMLCollection.idl:
697         * html/HTMLOptionsCollection.idl:
698
699 2009-10-26  Brent Fulgham  <bfulgham@webkit.org>
700
701         Reviewed by Adam Roben.
702
703         Build fix for ENABLE_FILTERS under Windows.
704         https://bugs.webkit.org/show_bug.cgi?id=30762
705
706         Build correction for ENABLE_FILTERS feature.  No new tests needed.
707
708         * WebCore.vcproj/WebCore.vcproj:  Make the following changes:
709           (1) Create a new 'filters' sub-folder of the platform/graphics 
710               folder to properly show the sources held in this directory.
711           (2) Move the files that are currently shown in svn/graphics/filters
712               to platform/graphics/filters (where they actually live on disk).
713           (3) Add the missing SVGFilter, SVGFilterBuilder, and SVGFETile to
714               the project so they are built.
715           (4) Remove SVGFEFloodElement.cpp from the build, since it is already
716               being compiled by SVGAllInOne.cpp.  Its presence as a separate
717               entity is causing a linker warning for duplicate symbols.
718           (5) Add ImageBuffer.cpp to the build to support color space
719               calculations for non-CG builds.
720         * WebCore.vcproj/WebCoreCommon.vsprops: Add the platform/graphics/filters
721           path to the search paths in the project.
722
723 2009-10-26  Keishi Hattori  <casey.hattori@gmail.com>
724
725         Reviewed by Timothy Hatcher.
726
727         console.assert should prefix messages with "Assertion failed: "
728         https://bugs.webkit.org/show_bug.cgi?id=19135
729
730         * English.lproj/localizedStrings.js:
731         * inspector/front-end/ConsoleView.js:
732         (WebInspector.ConsoleMessage.prototype.toMessageElement): Append "Assertion failed: " for AssertMessageType.
733         (WebInspector.ConsoleMessage.prototype.toString):
734         * page/Console.cpp:
735         (WebCore::Console::assertCondition): Use AssertMessageType.
736         * page/Console.h:
737         (WebCore::MessageType): Added AssertMessageType.
738
739 2009-10-26  Rahul Kuchhal  <kuchhal@chromium.org>
740
741         Reviewed by Eric Seidel.
742
743         Prevent crash when optgroup element is empty by adding a NULL check.
744
745         https://bugs.webkit.org/show_bug.cgi?id=30365
746
747         Test: fast/forms/select-empty-optgroup.html
748
749         * dom/SelectElement.cpp:
750         (WebCore::SelectElement::appendFormData):
751
752 2009-10-21  Steven Knight  <sgk@chromium.org>
753
754         Reviewed by David Levin.
755
756         Refactor gyp for separate webcore_bindings{,_sources} targets.
757
758         https://bugs.webkit.org/show_bug.cgi?id=30447
759
760         Handle long link lines by building .idl-generated bindings in a
761         separate webcore_bindings library target.  Avoid Visual Studio
762         dependency issues by building additional generated .cpp and .h files
763         in a separate webcore_bindings_sources target.
764
765         Chrome should still build and test successfully.
766
767         * WebCore.gyp/WebCore.gyp:
768         * WebCore.gypi:
769
770 2009-10-26  Mike Belshe  <mike@belshe.com>
771
772         Reviewed by Darin Fisher.
773
774         Make the number of connections for chromium controlled by
775         chromium rather than by ResourceRequestBase.
776         https://bugs.webkit.org/show_bug.cgi?id=30661
777
778         * platform/network/ResourceRequestBase.cpp:
779         * platform/network/chromium/ResourceRequest.cpp:
780
781 2009-10-26  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
782
783         Unreviewed. make distcheck build fixes.
784
785         * GNUmakefile.am:
786
787 2009-10-26  Anton Muhin  <antonm@chromium.org>
788
789         Reviewed by Dimitri Glazkov.
790
791         Unbreak Chromium build: that requires adding custom implementations
792         for HTMLOptionsCollection's item and namedItem.  Keep v8 binding
793         close to JSC bindings as well.
794         https://bugs.webkit.org/show_bug.cgi?id=30780
795
796         * bindings/v8/V8Collection.h:
797         (WebCore::getNamedItemsFromCollection):
798         (WebCore::getItemFromCollection):
799         * bindings/v8/custom/V8CustomBinding.h:
800         * bindings/v8/custom/V8HTMLAllCollectionCustom.cpp:
801         (WebCore::NAMED_PROPERTY_GETTER):
802         (WebCore::CALLBACK_FUNC_DECL):
803         * bindings/v8/custom/V8HTMLCollectionCustom.cpp:
804         (WebCore::NAMED_PROPERTY_GETTER):
805         (WebCore::CALLBACK_FUNC_DECL):
806         * bindings/v8/custom/V8HTMLOptionsCollectionCustom.cpp:
807         (WebCore::CALLBACK_FUNC_DECL):
808
809 2009-10-23  Alexey Proskuryakov  <ap@apple.com>
810
811         Reviewed by Adam Barth and Darin Adler.
812
813         https://bugs.webkit.org/show_bug.cgi?id=30723
814         <rdar://problem/6189415> Input names added to multipart/form-data headers need to be escaped.
815
816         Test: http/tests/security/escape-form-data-field-names.html
817
818         * platform/network/FormDataBuilder.cpp:
819         (WebCore::appendQuotedString):
820         (WebCore::FormDataBuilder::beginMultiPartHeader):
821         (WebCore::FormDataBuilder::addFilenameToMultiPartHeader):
822         Percent-escape line breaks and quotation marks.
823
824 2009-10-26  Kelly Norton  <knorton@google.com>
825
826         Reviewed by Pavel Feldman.
827
828         Adds DOMTimer support to InspectorTimelineAgent.
829         https://bugs.webkit.org/show_bug.cgi?id=30467
830
831         * inspector/InspectorTimelineAgent.cpp: Added timer support and fixed some method names.
832         (WebCore::InspectorTimelineAgent::didDispatchDOMEvent):
833         (WebCore::InspectorTimelineAgent::didLayout):
834         (WebCore::InspectorTimelineAgent::didRecalculateStyle):
835         (WebCore::InspectorTimelineAgent::didPaint):
836         (WebCore::InspectorTimelineAgent::didWriteHTML):
837         (WebCore::InspectorTimelineAgent::didInstallTimer): Added.
838         (WebCore::InspectorTimelineAgent::didRemoveTimer): Added.
839         (WebCore::InspectorTimelineAgent::willFireTimer): Added.
840         (WebCore::InspectorTimelineAgent::didFireTimer): Added.
841         (WebCore::InspectorTimelineAgent::addItemToTimeline): Added.
842         (WebCore::InspectorTimelineAgent::didCompleteCurrentTimelineItem): Renamed.
843         * inspector/InspectorTimelineAgent.h:
844         (WebCore::):
845         * inspector/TimelineItemFactory.cpp: Add methods for timer-related ScriptObjects.
846         (WebCore::TimelineItemFactory::createGenericTimerTimelineItem):
847         (WebCore::TimelineItemFactory::createTimerInstallTimelineItem):
848         * inspector/TimelineItemFactory.h:
849         * page/DOMTimer.cpp: Added instrumentation points.
850         (WebCore::DOMTimer::install):
851         (WebCore::DOMTimer::removeById):
852         (WebCore::DOMTimer::fired):
853
854 2009-10-26  Simon Fraser  <simon.fraser@apple.com>
855
856         Reviewed by Sam Weinig.
857
858         <rdar://problem/6988966> Hardware layers do not show up in page snapshots
859
860         Add a method that gets called when snapshotting Canvas3DLayers for page snapshots,
861         that allows the layer to return a CGImageRef of its contents.
862         
863         * platform/graphics/mac/Canvas3DLayer.h:
864         * platform/graphics/mac/Canvas3DLayer.mm:
865         (-[Canvas3DLayer copyImageSnapshotWithColorSpace:]):
866
867 2009-10-26  Yury Semikhatsky  <yurys@chromium.org>
868
869         Reviewed by Pavel Feldman.
870
871         Pass "console" as object group when evaluating selection.
872
873         https://bugs.webkit.org/show_bug.cgi?id=30738
874
875         * inspector/front-end/SourceFrame.js:
876         (WebInspector.SourceFrame.prototype._evalSelectionInCallFrame):
877
878 2009-10-26  Keishi Hattori  <casey.hattori@gmail.com>
879
880         Reviewed by Pavel Feldman.
881
882         Fix for Console not showing repeat count when repeatedly logging an Event
883         https://bugs.webkit.org/show_bug.cgi?id=30324
884
885         * inspector/ConsoleMessage.cpp:
886         (WebCore::ConsoleMessage::addToConsole):
887         (WebCore::ConsoleMessage::updateRepeatCountInConsole): Added.
888         * inspector/ConsoleMessage.h:
889         * inspector/InspectorController.cpp:
890         (WebCore::InspectorController::addConsoleMessage): Calls updateRepeatCountInConsole if it is a repeating message.
891         * inspector/InspectorFrontend.cpp:
892         (WebCore::InspectorFrontend::addConsoleMessage): Renamed WebCore::InspectorFrontend::addMessageToConsole
893         (WebCore::InspectorFrontend::updateConsoleMessageRepeatCount): Added. Called when repeatCount is incremented.
894         * inspector/InspectorFrontend.h:
895         * inspector/front-end/ConsoleView.js:
896         (WebInspector.ConsoleView.prototype.addMessage): Removed calls to msg.isEqual.
897         (WebInspector.ConsoleView.prototype.updateMessageRepeatCount): Added.
898         (WebInspector.ConsoleView.prototype._incrementErrorWarningCount): Added. Updates the error/warning count.
899         (WebInspector.ConsoleView.prototype.clearMessages):
900         (WebInspector.ConsoleMessage):
901         (WebInspector.ConsoleMessage.prototype.toMessageElement): Use ConsoleMessage._updateRepeatCount
902         (WebInspector.ConsoleMessage.prototype._updateRepeatCount):
903         * inspector/front-end/inspector.js:
904         (WebInspector.addConsoleMessage): Renamed WebInspector.addMessageToConsole.
905         (WebInspector.updateConsoleMessageRepeatCount): Added.
906
907 2009-10-26  Chris Fleizach  <cfleizach@apple.com>
908
909         Reviewed by Darin Adler.
910
911         crash with AX on when an image map contains an anchor tag
912         https://bugs.webkit.org/show_bug.cgi?id=30739
913
914         Tests: accessibility/crashing-a-tag-in-map.html
915
916         * accessibility/AccessibilityRenderObject.cpp:
917         (WebCore::AccessibilityRenderObject::addChildren):
918
919 2009-10-26  Steve Block  <steveblock@google.com>
920
921         Reviewed by Eric Seidel.
922
923         Adds feature ENABLE guards to V8 bindings.
924         https://bugs.webkit.org/show_bug.cgi?id=30697
925
926         This adds guards for the following features to the V8 bindings,
927         to allow builds with V8 to succeed when these features are not enabled.
928         - DATABASE
929         - WORKERS
930         - SHARED_WORKERS
931         - SVG
932         - XPATH
933         - XSLT
934         - INSPECTOR
935
936         This is a build fix only, no new tests required.
937
938         * bindings/v8/DOMObjectsInclude.h: Modified.
939         * bindings/v8/DerivedSourcesAllInOne.cpp: Modified.
940         * bindings/v8/V8Index.cpp: Modified.
941         * bindings/v8/V8Index.h: Modified.
942
943 2009-10-26  Joanmarie Diggs  <joanmarie.diggs@gmail.com>
944
945         Reviewed by Xan Lopez.
946
947         https://bugs.webkit.org/show_bug.cgi?id=25679
948         [Gtk] Improve accessibility of focusable lists
949
950         Fixes the issues with the Atk states exposed for ListBoxOption
951
952         * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
953         (setAtkStateSetFromCoreObject):
954
955 2009-10-26  Joanmarie Diggs  <joanmarie.diggs@gmail.com>
956
957         Reviewed by Xan Lopez.
958
959         https://bugs.webkit.org/show_bug.cgi?id=27085
960         [Gtk] Incorrect rendering of list
961
962         Adds a way for platforms to indicate that a particular object
963         should not be ignored.
964
965         * accessibility/AccessibilityObject.h:
966         * accessibility/chromium/AccessibilityObjectChromium.cpp:
967         * accessibility/gtk/AccessibilityObjectAtk.cpp:
968         * accessibility/mac/AccessibilityObjectMac.mm:
969         * accessibility/qt/AccessibilityObjectQt.cpp:
970         * accessibility/win/AccessibilityObjectWin.cpp:
971         * accessibility/wx/AccessibilityObjectWx.cpp:
972         (AccessibilityObject::accessibilityPlatformIncludesObject):
973         * accessibility/AccessibilityRenderObject.cpp:
974         (AccessibilityRenderObject::accessibilityIsIgnored):
975
976 2009-10-26  Kinuko Yasuda  <kinuko@google.com>
977
978         Reviewed by Jan Alonzo.
979
980         Bug 30619: [Linux] Menu key doesn't work
981         https://bugs.webkit.org/show_bug.cgi?id=30619
982
983         Test: manual-tests/keyboard-menukey-event.html
984         No new layout tests: testing this will require changes in the test
985         controller in a platform-specific way.
986
987         * platform/chromium/KeyCodeConversionGtk.cpp:
988         (WebCore::windowsKeyCodeForKeyEvent): changed switch-case code for
989         GDK_Menu to return VKEY_APPS instead of VKEY_MENU.
990         * platform/gtk/KeyEventGtk.cpp:
991         (WebCore::windowsKeyCodeForKeyEvent): changed switch-case code for
992         GDK_Menu to return V_APPS instead of VK_MENU.
993
994 2009-10-25  Anton Muhin  <antonm@chromium.org>
995
996         Reviewed by Adam Barth.
997
998         Reuse already fetched proxy.
999         https://bugs.webkit.org/show_bug.cgi?id=30747
1000
1001         * bindings/v8/V8DOMWrapper.cpp:
1002         (WebCore::V8DOMWrapper::convertNewNodeToV8Object):
1003
1004 2009-10-25  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
1005
1006         Unreviewed build fix.
1007
1008         Build fix for WIN_OS if Netscape plugin support is turned off
1009         https://bugs.webkit.org/show_bug.cgi?id=30753
1010
1011         * plugins/PluginDatabase.cpp:
1012
1013 2009-10-25  Hironori Bono  <hbono@chromium.org>
1014
1015         Reviewed by Darin Adler.
1016
1017         A quick fix for Bug 29103.
1018         Since String::startsWith() cannot fold non-ASCII characters, this change folds the prefix string
1019         and the option string before calling String::startsWith().
1020         https://bugs.webkit.org/show_bug.cgi?id=29103
1021
1022         Tests: fast/forms/listbox-typeahead-cyrillic.html
1023                fast/forms/listbox-typeahead-greek.html
1024
1025         * dom/SelectElement.cpp:
1026         (WebCore::SelectElement::typeAheadFind):
1027
1028 2009-10-25  Keishi Hattori  <casey.hattori@gmail.com>
1029
1030         Reviewed by Timothy Hatcher.
1031
1032         Web Inspector: Expanding a node in the Console should not show the element in Elements panel
1033         https://bugs.webkit.org/show_bug.cgi?id=30749
1034
1035         * inspector/front-end/ElementsTreeOutline.js:
1036         (WebInspector.ElementsTreeElement.prototype.onmousedown): Check if inside disclosure triangle.
1037
1038 2009-10-25  Sam Weinig  <sam@webkit.org>
1039
1040         Reviewed by Dan Bernstein.
1041
1042         Fix for https://bugs.webkit.org/show_bug.cgi?id=30751
1043         HTMLOptionsCollection should not inherit from HTMLCollection
1044
1045         * GNUmakefile.am:
1046         * WebCore.gypi:
1047         * WebCore.pro:
1048         * WebCore.vcproj/WebCore.vcproj:
1049         * WebCore.xcodeproj/project.pbxproj:
1050         Added JSHTMLCollectionFunctions.h
1051
1052         * bindings/js/JSHTMLAllCollectionCustom.cpp:
1053         (WebCore::callHTMLAllCollection):
1054         (WebCore::JSHTMLAllCollection::nameGetter):
1055         (WebCore::JSHTMLAllCollection::item):
1056         (WebCore::JSHTMLAllCollection::namedItem):
1057         * bindings/js/JSHTMLCollectionCustom.cpp:
1058         (WebCore::callHTMLCollection):
1059         (WebCore::JSHTMLCollection::nameGetter):
1060         (WebCore::JSHTMLCollection::item):
1061         (WebCore::JSHTMLCollection::namedItem):
1062         * bindings/js/JSHTMLOptionsCollectionCustom.cpp:
1063         (WebCore::callHTMLCollection):
1064         (WebCore::JSHTMLOptionsCollection::getCallData):
1065         (WebCore::JSHTMLOptionsCollection::canGetItemsForName):
1066         (WebCore::JSHTMLOptionsCollection::nameGetter):
1067         (WebCore::JSHTMLOptionsCollection::indexSetter):
1068         (WebCore::JSHTMLOptionsCollection::item):
1069         (WebCore::JSHTMLOptionsCollection::namedItem):
1070         Refactor to use generic implementation of HTMLCollection bindings functions
1071         from JSHTMLCollectionFunctions.h
1072
1073         * bindings/js/JSHTMLCollectionFunctions.h: Added.
1074         (WebCore::getCollectionNamedItems):
1075         (WebCore::getCollectionItems):
1076         (WebCore::callHTMLCollectionGeneric):
1077         Added generic functions that JSHTMLCollection, JSHTMLAllCollection and
1078         JSHTMLOptionsCollection can all use.
1079
1080         * bindings/js/JSHTMLDocumentCustom.cpp: Add include of JSHTMLAllCollection.h
1081         for toJS on document.all.
1082
1083         * bindings/objc/DOMHTML.mm:
1084         * bindings/objc/DOMUtility.mm:
1085         (JSC::createDOMWrapper):
1086         Remove special cases for HTMLOptionsCollection.
1087
1088         * bindings/scripts/CodeGeneratorJS.pm:
1089         * html/HTMLAllCollection.idl:
1090         * html/HTMLCollection.idl:
1091         * html/HTMLOptionsCollection.idl:
1092
1093 2009-10-24  Keishi Hattori  <casey.hattori@gmail.com>
1094
1095         Reviewed by Timothy Hatcher.
1096
1097         WebInspector: Fixed issue with IME inside console
1098         https://bugs.webkit.org/show_bug.cgi?id=30660
1099
1100         * inspector/front-end/ConsoleView.js:
1101         (WebInspector.ConsoleView.prototype._promptKeyDown):
1102         * inspector/front-end/DatabaseQueryView.js:
1103         (WebInspector.DatabaseQueryView.prototype._promptKeyDown):
1104         * inspector/front-end/inspector.js:
1105         (WebInspector.loaded):
1106         (WebInspector.searchKeyDown): Moved performSearch here from WebInspector.searchKeyUp.
1107         (WebInspector.startEditing.element.handleKeyEvent):
1108         (WebInspector.startEditing):
1109         * inspector/front-end/utilities.js:
1110         (isEnterKey): Added. Check if in IME.
1111
1112 2009-10-24  Brian Weinstein  <bweinstein@apple.com>
1113
1114         Reviewed by Timothy Hatcher.
1115
1116         Fixes <https://bugs.webkit.org/show_bug.cgi?id=30752>.
1117         Web Inspector: Multiple Selection on Scope Bars by default Conflicts with other behavior on OSX.
1118         
1119         Have the scope bars select one scope by default, but if the multiple selection key
1120         is pressed, allow for multiple selection.
1121
1122         * inspector/front-end/ConsoleView.js:
1123         (WebInspector.ConsoleView):
1124         (WebInspector.ConsoleView.prototype._updateFilter):
1125         (WebInspector.ConsoleView.prototype.filter):
1126         * inspector/front-end/ResourcesPanel.js:
1127         (WebInspector.ResourcesPanel):
1128         (WebInspector.ResourcesPanel.prototype.filter):
1129         (WebInspector.ResourcesPanel.prototype._updateFilter):
1130
1131 2009-10-24  Timothy Hatcher  <timothy@apple.com>
1132
1133         Make the scope bars in the Web Inspector match other scope bars in Mac OS X.
1134         Also cleans up the CSS to use classes instead of ID selectors.
1135
1136         https://bugs.webkit.org/show_bug.cgi?id=28186
1137
1138         Reviewed by Dan Bernstein.
1139
1140         * inspector/front-end/ResourcesPanel.js: Add the scope-bar class.
1141         * inspector/front-end/inspector.css: Lots of changes to make it look right.
1142         * inspector/front-end/inspector.html: Add the scope-bar class.
1143
1144 2009-10-24  Timothy Hatcher  <timothy@apple.com>
1145
1146         Fix selecting Resources in the Web Inspector's Resources panel.
1147
1148         https://bugs.webkit.org/show_bug.cgi?id=30743
1149
1150         Reviewed by Pavel Feldman.
1151
1152         * inspector/front-end/ResourcesPanel.js:
1153         (WebInspector.ResourcesPanel.prototype.isCategoryVisible): Added.
1154         (WebInspector.ResourceSidebarTreeElement.prototype.get selectable): Call
1155         isCategoryVisible on the ResourcesPanel.
1156
1157 2009-10-24  Timothy Hatcher  <timothy@apple.com>
1158
1159         Fix the Scope Bar in the Web Inspector's Resource panel, so that selecting
1160         All will deselect the other filters.
1161
1162         https://bugs.webkit.org/show_bug.cgi?id=30744
1163
1164         Reviewed by Pavel Feldman.
1165
1166         * inspector/front-end/ResourcesPanel.js:
1167         (WebInspector.ResourcesPanel.createFilterElement): Better syntax.
1168         (WebInspector.ResourcesPanel):
1169         (WebInspector.ResourcesPanel.prototype.filter): Use a normal for loop,
1170         and the child variable instead of target in the loop. Other clean up.
1171
1172 2009-10-24  Timothy Hatcher  <timothy@apple.com>
1173
1174         Make resizing the Web Inspector's Elements panel sidebar work again.
1175         Also makes Resources panel use the sidebar code in Panel.
1176
1177         https://bugs.webkit.org/show_bug.cgi?id=30742
1178
1179         Reviewed by Pavel Feldman.
1180
1181         * inspector/front-end/Panel.js:
1182         (WebInspector.Panel): Don't create the sidebar with an argument.
1183         (WebInspector.Panel.prototype.show): Call updateSidebarWidth.
1184         (WebInspector.Panel.prototype.handleKeyEvent): Call handleSidebarKeyEvent.
1185         (WebInspector.Panel.prototype.handleSidebarKeyEvent): Added.
1186         (WebInspector.Panel.prototype.createSidebar): Renamed from _createSidebar.
1187         (WebInspector.Panel.prototype._sidebarDragging): Call updateSidebarWidth.
1188         (WebInspector.Panel.prototype.updateSidebarWidth): Renamed from _updateSidebarWidth.
1189         (WebInspector.Panel.prototype.setSidebarWidth): Added. Called by updateSidebarWidth.
1190         (WebInspector.Panel.prototype.updateMainViewWidth): Renamed from setMainViewWidth.
1191         * inspector/front-end/ProfilesPanel.js:
1192         (WebInspector.ProfilesPanel): Call createSidebar.
1193         (WebInspector.ProfilesPanel.prototype.updateMainViewWidth): Renamed from setMainViewWidth.
1194         * inspector/front-end/ResourcesPanel.js:
1195         (WebInspector.ResourcesPanel.prototype.show): Remove call to _updateSidebarWidth.
1196         (WebInspector.ResourcesPanel.prototype.showResource): Call updateSidebarWidth
1197         (WebInspector.ResourcesPanel.prototype.closeVisibleResource): Ditto.
1198         (WebInspector.ResourcesPanel.prototype.setSidebarWidth): Added.
1199         (WebInspector.ResourcesPanel.prototype.updateMainViewWidth): Added.
1200         * inspector/front-end/StoragePanel.js:
1201         (WebInspector.StoragePanel): Call createSidebar.
1202         (WebInspector.StoragePanel.prototype.updateMainViewWidth): Renamed from setMainViewWidth.
1203         * inspector/front-end/TimelinePanel.js:
1204         (WebInspector.TimelinePanel): Call createSidebar.
1205         (WebInspector.TimelinePanel.prototype.updateMainViewWidth): Renamed from setMainViewWidth.
1206
1207 2009-10-24  Timothy Hatcher  <timothy@apple.com>
1208
1209         Call updateSelection() in a few places so hovering in the Web Inspector's
1210         Elements panel always has the correct row selection height.
1211
1212         https://bugs.webkit.org/show_bug.cgi?id=30735
1213
1214         Reviewed by Pavel Feldman.
1215
1216         * inspector/front-end/ElementsTreeOutline.js:
1217         (WebInspector.ElementsTreeElement.prototype.toggleNewAttributeButton): Call updateSelection().
1218         (WebInspector.ElementsTreeElement.prototype._insertInLastAttributePosition): Ditto.
1219         * inspector/front-end/inspector.css: Prevent text wrapping in the middle of the add attribute text.
1220
1221 2009-10-24  Timothy Hatcher  <timothy@apple.com>
1222
1223         Remove the re-root tree feature from the Web Inspector's
1224         Elements panel. This feature wasn't super useful and gets
1225         in the way of double-click to edit.
1226
1227         https://bugs.webkit.org/show_bug.cgi?id=30736
1228
1229         Reviewed by Pavel Feldman.
1230
1231         * inspector/front-end/ElementsTreeOutline.js:
1232         (WebInspector.ElementsTreeElement.prototype.ondblclick):
1233
1234 2009-10-24  Anton Muhin  <antonm@chromium.org>
1235
1236         Reviewed by Adam Barth.
1237
1238         Implements ReturnsNew hint for V8 bindings generation code.
1239         https://bugs.webkit.org/show_bug.cgi?id=30745
1240
1241         * bindings/scripts/CodeGeneratorV8.pm:
1242         * bindings/v8/V8DOMWrapper.h:
1243         (WebCore::V8DOMWrapper::convertNewNodeToV8Object):
1244
1245 2009-10-24  Dan Bernstein  <mitz@apple.com>
1246
1247         Reviewed by Sam Weinig.
1248
1249         Missing images at 350.org due to wrong URLs
1250         https://bugs.webkit.org/show_bug.cgi?id=30748
1251
1252         Test: fast/dom/HTMLImageElement/parse-src.html
1253
1254         * dom/Element.cpp:
1255         (WebCore::Element::getURLAttribute): Pass the attribute value through deprecateParseURL().
1256         This matches what the Objective-C bindings do, as well as what HTMLImageLoader::sourceURI()
1257         and SVGImageLoader::sourceURI() do.
1258
1259 2009-10-24  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
1260
1261         Unreviewed.
1262
1263         [Qt] Build fix for QtWebKit after r50013.
1264
1265         * WebCore.pro:
1266
1267 2009-10-24  Dimitri Glazkov  <dglazkov@chromium.org>
1268
1269         Unreviewed, build fix.
1270
1271         [V8] Fix up to accommodate for HTMLAllCollection changes in
1272         http://trac.webkit.org/changeset/49998.
1273
1274         * WebCore.gypi:
1275         * bindings/scripts/CodeGeneratorV8.pm:
1276         * bindings/v8/custom/V8CustomBinding.h:
1277         * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
1278
1279 2009-10-23  Dan Bernstein  <mitz@apple.com>
1280
1281         Reviewed by Alexey Proskuryakov.
1282
1283         <rdar://problem/7294131> Assertion failure in AuthenticationMac at
1284         mac(const Credential&) after authenticating to MobileMe Gallery movie
1285
1286         * platform/network/Credential.cpp:
1287         (WebCore::Credential::Credential): Initialize m_persistence.
1288         (WebCore::Credential::isEmpty): Made this method const.
1289         * platform/network/Credential.h:
1290         * platform/network/mac/AuthenticationMac.mm:
1291         (WebCore::mac): Return nil if the Credential is empty.
1292
1293 2009-10-23  Brian Weinstein  <bweinstein@apple.com>
1294
1295         Reviewed by Timothy Hatcher.
1296
1297         Fixes <https://bugs.webkit.org/show_bug.cgi?id=30617>.
1298         Web Inspector: Resources Scope Bar Should Allow Combinations.
1299         
1300         Refactor the filtering in ResourcePanel to make it match ConsoleView,
1301         and add a divider between All, and the other choices of Resource types.
1302
1303         * inspector/front-end/ResourcesPanel.js:
1304         (WebInspector.ResourcesPanel):
1305         (WebInspector.ResourcesPanel.prototype.filter):
1306         (WebInspector.ResourcesPanel.prototype._updateFilter):
1307         * inspector/front-end/inspector.css:
1308
1309 2009-10-23  Chris Evans  <cevans@chromium.org>
1310
1311         Reviewed by Adam Barth.
1312
1313         Ignore the Refresh header if we're in view source mode.
1314
1315         https://bugs.webkit.org/show_bug.cgi?id=27239
1316
1317         Test: http/tests/security/view-source-no-refresh.html
1318
1319         * loader/FrameLoader.cpp: ignore Refresh in view-source mode.
1320
1321 2009-10-23  Alexey Proskuryakov  <ap@apple.com>
1322
1323         Reviewed by Sam Weinig.
1324
1325         https://bugs.webkit.org/show_bug.cgi?id=30734
1326         Remove XMLTokenizer::m_currentNodeIsReferenced
1327
1328         No change in behavior, no tests.
1329
1330         * dom/XMLTokenizer.cpp:
1331         (WebCore::XMLTokenizer::setCurrentNode):
1332         * dom/XMLTokenizer.h:
1333         Don't store a boolean for the current node being the document - we can always check for that.
1334
1335         * dom/XMLTokenizerLibxml2.cpp:
1336         (WebCore::XMLTokenizer::XMLTokenizer):
1337         * dom/XMLTokenizerQt.cpp:
1338         (WebCore::XMLTokenizer::XMLTokenizer):
1339         A fragment passed to XMLTokenizer is never null - in fact, the first thing we do is dereference
1340         it unconditionally, and then begin checking it for null, as if it could help.
1341
1342 2009-10-23  Beth Dakin  <bdakin@apple.com>
1343
1344         No review since this is a build fix.
1345
1346         Build fix for the Mac. (Build is only broken when SVG filters are 
1347         enabled.)
1348
1349         Labelled these function static.
1350         * platform/graphics/filters/FEComponentTransfer.cpp:
1351         (WebCore::identity):
1352         (WebCore::table):
1353         (WebCore::discrete):
1354         (WebCore::linear):
1355         (WebCore::gamma):
1356         * platform/graphics/filters/FEGaussianBlur.cpp:
1357         (WebCore::boxBlur):
1358
1359 2009-10-23  Pavel Feldman  <pfeldman@chromium.org>
1360
1361         Reviewed by Timothy Hatcher.
1362
1363         Web Inspector: Implement a Timeline panel.
1364
1365         https://bugs.webkit.org/show_bug.cgi?id=30725
1366
1367         * WebCore.gypi:
1368         * WebCore.vcproj/WebCore.vcproj:
1369         * inspector/front-end/Images/timelineIcon.png: Added.
1370         * inspector/front-end/TimelineAgent.js:
1371         (WebInspector.addItemToTimeline):
1372         (WebInspector.timelineProfilerWasStarted):
1373         (WebInspector.timelineProfilerWasStopped):
1374         * inspector/front-end/TimelinePanel.js: Added.
1375         (WebInspector.TimelinePanel):
1376         (WebInspector.TimelinePanel.prototype.toolbarItemClass.get toolbarItemLabel):
1377         (WebInspector.TimelinePanel.prototype.get statusBarItems):
1378         (WebInspector.TimelinePanel.prototype.handleKeyEvent):
1379         (WebInspector.TimelinePanel.prototype.timelineWasStarted):
1380         (WebInspector.TimelinePanel.prototype.timelineWasStopped):
1381         (WebInspector.TimelinePanel.prototype.addItemToTimeline):
1382         (WebInspector.TimelinePanel.prototype._innerAddItemToTimeline):
1383         (WebInspector.TimelinePanel.prototype._toggleTimelineButton):
1384         (WebInspector.TimelinePanel.prototype.setMainViewWidth):
1385         (WebInspector.TimelinePanel.prototype.getItemTypeName):
1386         (WebInspector.TimelineRecordTreeElement):
1387         (WebInspector.TimelineRecordTreeElement.prototype.onattach):
1388         * inspector/front-end/WebKit.qrc:
1389         * inspector/front-end/inspector.css:
1390         * inspector/front-end/inspector.html:
1391         * inspector/front-end/inspector.js:
1392         (WebInspector._createPanels):
1393
1394 2009-10-23  Joseph Pecoraro  <joepeck@webkit.org>
1395
1396         Reviewed by Timothy Hatcher.
1397
1398         Web Inspector: Clash Between Search's onkeyup and incremental search events
1399         https://bugs.webkit.org/show_bug.cgi?id=30731
1400
1401         * inspector/front-end/inspector.js:
1402         (WebInspector.performSearch): prevent incremental search event from clobbering a forced search
1403
1404 2009-10-23  Kelly Norton  <knorton@google.com>
1405
1406         Reviewed by Pavel Feldman.
1407
1408         Removes the need for C++ Timeline types in InspectorTimelineAgent in favor
1409         of ScriptObjects.
1410         https://bugs.webkit.org/show_bug.cgi?id=30707
1411
1412         * GNUmakefile.am:
1413         * WebCore.vcproj/WebCore.vcproj:
1414         * WebCore.xcodeproj/project.pbxproj:
1415         * inspector/DOMDispatchTimelineItem.cpp: Removed.
1416         * inspector/DOMDispatchTimelineItem.h: Removed.
1417         * inspector/InspectorTimelineAgent.cpp:
1418         (WebCore::InspectorTimelineAgent::InspectorTimelineAgent):
1419         (WebCore::InspectorTimelineAgent::willDispatchDOMEvent):
1420         (WebCore::InspectorTimelineAgent::didDispatchDOMEvent):
1421         (WebCore::InspectorTimelineAgent::willLayout):
1422         (WebCore::InspectorTimelineAgent::didLayout):
1423         (WebCore::InspectorTimelineAgent::willRecalculateStyle):
1424         (WebCore::InspectorTimelineAgent::didRecalculateStyle):
1425         (WebCore::InspectorTimelineAgent::willPaint):
1426         (WebCore::InspectorTimelineAgent::didPaint):
1427         (WebCore::InspectorTimelineAgent::willWriteHTML):
1428         (WebCore::InspectorTimelineAgent::didWriteHTML):
1429         (WebCore::InspectorTimelineAgent::reset):
1430         (WebCore::InspectorTimelineAgent::didCompleteCurrentRecord):
1431         (WebCore::InspectorTimelineAgent::pushCurrentTimelineItem):
1432         * inspector/InspectorTimelineAgent.h:
1433         (WebCore::InspectorTimelineAgent::TimelineItemEntry::TimelineItemEntry):
1434         * inspector/TimelineItem.cpp: Removed.
1435         * inspector/TimelineItem.h: Removed.
1436         * inspector/TimelineItemFactory.cpp: Added.
1437         (WebCore::TimelineItemFactory::createGenericTimelineItem):
1438         (WebCore::TimelineItemFactory::createDOMDispatchTimelineItem):
1439         * inspector/TimelineItemFactory.h: Added.
1440         (WebCore::):
1441         (WebCore::TimelineItemFactory::TimelineItemFactory):
1442
1443 2009-10-23  Gavin Barraclough  <barraclough@apple.com>
1444
1445         Reviewed by Geoff Garen.
1446
1447         https://bugs.webkit.org/show_bug.cgi?id=30729
1448         Provide private API to request the global context for a specific world.
1449         Used to initialize parameters on the global object.
1450
1451         * bindings/js/ScriptController.cpp:
1452         (WebCore::ScriptController::globalObject):
1453         * bindings/js/ScriptController.h:
1454
1455 2009-10-23  Steve Block  <steveblock@google.com>
1456
1457         Reviewed by Eric Seidel.
1458
1459         Fixes style problems in Android-specific files.
1460         https://bugs.webkit.org/show_bug.cgi?id=30717
1461
1462         Style changes only, no new tests possible.
1463
1464         * page/android/EventHandlerAndroid.cpp: Modified.
1465         (WebCore::EventHandler::passMouseDownEventToWidget): Fixes whitespace in method signature.
1466         (WebCore::EventHandler::passSubframeEventToSubframe): Fixes whitespace in method signature.
1467         (WebCore::EventHandler::passWheelEventToWidget): Fixes whitespace in method signature.
1468         (WebCore::EventHandler::passMouseMoveEventToSubframe): Fixes whitespace in method signature.
1469         * platform/android/ClipboardAndroid.h: Modified. Fixes header include order and indenting.
1470         * platform/android/CursorAndroid.cpp: Modified. 
1471         (WebCore::grabCursor): Fixes function braces.
1472         (WebCore::grabbingCursor): Fixes function braces.
1473         * platform/android/FileChooserAndroid.cpp: Modified.
1474         (WebCore::FileChooser::basenameForWidth): Fixes braces on while statement, and updates String::copy to String::threadsafeCopy.
1475         * platform/android/FileSystemAndroid.cpp: Modified. Fixes header include order.
1476         (WebCore::unloadModule): Fixes zero test.
1477         (WebCore::writeToFile): Fixes if statement structure.
1478         * platform/android/KeyEventAndroid.cpp: Modified.
1479         (WebCore::windowsKeyCodeForKeyEvent): Fixes switch statement indenting.
1480         (WebCore::keyIdentifierForAndroidKeyCode): Fixes switch statement indenting.
1481         * platform/android/ScreenAndroid.cpp: Modified. Fixes header include order and switch statement indenting.
1482         * platform/android/TemporaryLinkStubs.cpp: Modified. Fixes header include order.
1483
1484 2009-10-23  Sam Weinig  <sam@webkit.org>
1485
1486         Another shot at a fixed build.
1487
1488         * DerivedSources.cpp:
1489
1490 2009-10-23  Sam Weinig  <sam@webkit.org>
1491
1492         Another shot at a fixed build.
1493
1494         * html/HTMLOptionsCollection.idl:
1495
1496 2009-10-23  Brady Eidson  <beidson@apple.com>
1497
1498         50,000!
1499
1500         * ChangeLog: Point out revision 50,000.
1501
1502 2009-10-23  Sam Weinig  <sam@webkit.org>
1503
1504         Reviewed by Anders Carlsson.
1505
1506         Fix for https://bugs.webkit.org/show_bug.cgi?id=30695
1507         Drop .tags() support from HTMLCollection
1508
1509         - Make .tags() only work for HTMLAllCollections in JS. .tags() is still
1510           available for all HTMLCollection like objects in Objective-C since that
1511           is API.
1512         - Auto-generate HTMLAllCollection.
1513
1514         Test: fast/dom/HTMLDocument/document-all.html
1515
1516         * DerivedSources.make:
1517         * GNUmakefile.am:
1518         * WebCore.gypi:
1519         * WebCore.pro:
1520         * WebCore.vcproj/WebCore.vcproj:
1521         * WebCore.xcodeproj/project.pbxproj:
1522         * bindings/js/JSHTMLAllCollection.cpp: Removed.
1523         * bindings/js/JSHTMLAllCollection.h: Removed.
1524         * bindings/js/JSHTMLAllCollectionCustom.cpp: Added.
1525         (WebCore::getNamedItems):
1526         (WebCore::callHTMLAllCollection):
1527         (WebCore::JSHTMLAllCollection::getCallData):
1528         (WebCore::JSHTMLAllCollection::canGetItemsForName):
1529         (WebCore::JSHTMLAllCollection::nameGetter):
1530         (WebCore::JSHTMLAllCollection::item):
1531         (WebCore::JSHTMLAllCollection::namedItem):
1532         * bindings/js/JSHTMLCollectionCustom.cpp:
1533         (WebCore::toJS):
1534         * bindings/js/JSHTMLDocumentCustom.cpp:
1535         * bindings/scripts/CodeGeneratorJS.pm:
1536         * dom/Document.cpp:
1537         (WebCore::Document::all):
1538         * dom/Document.h:
1539         * dom/HTMLAllCollection.idl: Removed.
1540         * html/HTMLAllCollection.cpp: Added.
1541         (WebCore::HTMLAllCollection::create):
1542         (WebCore::HTMLAllCollection::HTMLAllCollection):
1543         (WebCore::HTMLAllCollection::~HTMLAllCollection):
1544         * html/HTMLAllCollection.h: Added.
1545         * html/HTMLAllCollection.idl: Added.
1546         * html/HTMLCollection.h:
1547         * html/HTMLCollection.idl:
1548         * html/HTMLDocument.idl:
1549         * page/DOMWindow.idl:
1550
1551 2009-10-23  Pavel Feldman  <pfeldman@chromium.org>
1552
1553         Reviewed by Timothy Hatcher.
1554
1555         Web Inspector: pull basic sidebar implementation into the Panel.
1556
1557         https://bugs.webkit.org/show_bug.cgi?id=30720
1558
1559         * inspector/front-end/Panel.js:
1560         (WebInspector.Panel):
1561         (WebInspector.Panel.prototype.jumpToPreviousSearchResult):
1562         (WebInspector.Panel.prototype.handleKeyEvent):
1563         (WebInspector.Panel.prototype._createSidebar):
1564         (WebInspector.Panel.prototype._startSidebarDragging):
1565         (WebInspector.Panel.prototype._sidebarDragging):
1566         (WebInspector.Panel.prototype._endSidebarDragging):
1567         (WebInspector.Panel.prototype._updateSidebarWidth):
1568         (WebInspector.Panel.prototype.setCenterViewWidth):
1569         * inspector/front-end/ProfilesPanel.js:
1570         (WebInspector.ProfilesPanel):
1571         (WebInspector.ProfilesPanel.prototype.setCenterViewWidth):
1572         * inspector/front-end/StoragePanel.js:
1573         (WebInspector.StoragePanel):
1574         (WebInspector.StoragePanel.prototype.setCenterViewWidth):
1575
1576 2009-10-23  Jens Alfke  <snej@chromium.org>
1577
1578         Reviewed by Dimitri Glazkov.
1579
1580         Slight optimizations to object returning and exception handling in generated V8 bindings.
1581         https://bugs.webkit.org/show_bug.cgi?id=30599
1582
1583         * bindings/scripts/CodeGeneratorV8.pm: Generate better code
1584         * bindings/v8/V8DOMWrapper.h:
1585         (WebCore::V8DOMWrapper::convertToV8Object): Added overload that takes a Ref<>
1586         * bindings/v8/custom/V8InspectorBackendCustom.cpp:
1587         (WebCore::CALLBACK_FUNC_DECL): Remove unnecessary template param to prevent compile error
1588
1589 2009-10-23  Alpha Lam  <hclam@chromium.org>
1590
1591         Reviewed by Eric Carlson.
1592
1593         Volume slider always starts at half volume
1594         https://bugs.webkit.org/show_bug.cgi?id=28322
1595
1596         Sets the value attribute of volume slider to the volume attribute
1597         of the media element. Also update the value attribute of the
1598         input element for the volume slider when the volume attribute
1599         of the media element is updated.
1600
1601         Test: media/video-volume-slider.html
1602
1603         * rendering/MediaControlElements.cpp:
1604         (WebCore::MediaControlVolumeSliderElement::update):
1605         Set the value attribute of the input element for the volume slider
1606         using the current volume of the media element.
1607         * rendering/MediaControlElements.h:
1608         Add method definition of update().
1609         * rendering/RenderMedia.cpp:
1610         (WebCore::RenderMedia::createVolumeSlider):
1611         Creates a volume slider with value attribute equals to the current
1612         volume attribute of the media element.
1613
1614 2009-10-23  Evan Martin  <evan@chromium.org>
1615
1616         Reviewed by Eric Seidel.
1617
1618         Chrome Linux: fix caret positioning in LTR complex languages
1619         The caret is positioned off by one in languages like Thai.
1620
1621         https://bugs.webkit.org/show_bug.cgi?id=28284
1622
1623         A group of us spent a while trying various approaches to write a test
1624         for this; however, since it is only that the blinking cursor is
1625         displayed incorrectly, we concluded it can not be tested.
1626
1627         (Patch by Hironori Bono.)
1628
1629         * platform/graphics/chromium/FontLinux.cpp:
1630         (WebCore::Font::selectionRectForComplexText):
1631
1632 2009-10-23  Tony Chang  <tony@chromium.org>
1633
1634         Reviewed by David Levin.
1635
1636         Fix Chromium build after IsoldatedWorld change (r49963).
1637         https://bugs.webkit.org/show_bug.cgi?id=30719
1638
1639         * bindings/ScriptControllerBase.cpp:
1640         * bindings/js/ScriptController.cpp:
1641         (WebCore::ScriptController::executeScriptInIsolatedWorld):
1642         * bindings/v8/ScriptController.cpp:
1643         (WebCore::mainThreadNormalWorld):
1644         * bindings/v8/ScriptController.h:
1645         (WebCore::ScriptController::windowShell):
1646         (WebCore::ScriptController::existingWindowShell):
1647         * dom/Document.cpp:
1648         (WebCore::Document::createWrapperCache):
1649         * dom/ScriptExecutionContext.cpp:
1650         * dom/ScriptExecutionContext.h:
1651         * xml/XMLHttpRequest.cpp:
1652         * xml/XMLHttpRequest.h:
1653
1654 2009-10-23  Xiaomei Ji  <xji@chromium.org>
1655
1656         Reviewed by Sam Weinig.
1657
1658         Fix caretRangeFromPoint()/elementFromPoint() returns wrong result 
1659         for a zoomed and scrolled page.
1660         https://bugs.webkit.org/show_bug.cgi?id=30689.
1661
1662         The real cause is the wrong calculation of event.clientX/Y when
1663         page is zoomed and scolled.
1664         After Sam fixed the event.clientX/Y in r49551, the hit test point
1665         should be recalculated (revert r49490).
1666
1667         Test: fast/dom/Document/CaretRangeFromPoint/caretRangeFromPoint-in-zoom-and-scroll.html
1668
1669         * dom/Document.cpp:
1670         (WebCore::Document::elementFromPoint): calculate the correct point
1671         relative to document when page is zoomed and scrolled.
1672         (WebCore::Document::caretRangeFromPoint): calculate the correct point
1673         relative to document when page is zoomed and scrolled.
1674
1675 2009-10-22  Dumitru Daniliuc  <dumi@chromium.org>
1676
1677         Reviewed by Dmitry Titov.
1678
1679         Adding a class that allows us to enable/disable features at
1680         runtime. Adding a flag to enable database support.
1681
1682         https://bugs.webkit.org/show_bug.cgi?id=30653
1683
1684         * WebCore.gypi:
1685         * bindings/v8/RuntimeEnabledFeatures.cpp: Added.
1686         * bindings/v8/RuntimeEnabledFeatures.h: Added.
1687         (WebCore::RuntimeEnabledFeatures::setDatabaseEnabled):
1688         (WebCore::RuntimeEnabledFeatures::databaseEnabled):
1689         (WebCore::RuntimeEnabledFeatures::RuntimeEnabledFeatures):
1690         * bindings/v8/custom/V8CustomBinding.h:
1691         * bindings/v8/custom/V8DOMWindowCustom.cpp:
1692         (WebCore::ACCESSOR_RUNTIME_ENABLER):
1693         * page/DOMWindow.idl:
1694
1695 2009-10-23  Keishi Hattori  <casey.hattori@gmail.com>
1696
1697         Reviewed by Timothy Hatcher.
1698
1699         Inspector injects _inspectorCommandLineAPI into global object when opened
1700         https://bugs.webkit.org/show_bug.cgi?id=30675
1701
1702         * inspector/front-end/InjectedScript.js:
1703         (InjectedScript.getCompletions):
1704         (InjectedScript._evaluateOn):
1705         (InjectedScript.addInspectedNode):
1706         (InjectedScript._ensureCommandLineAPIInstalled): Moved _inspectorCommandLineAPI from window to console.
1707
1708 2009-10-23  Janne Koskinen  <janne.p.koskinen@digia.com>
1709
1710         Reviewed by Tor Arne Vestbø.
1711
1712         [Qt] don't undef NULL in Symbian emulator
1713
1714         npapi.h way of defining mwerks compiler,__intel__
1715         and win32 are all true for Symbian emulator.
1716         Changed the definions so that NULL won't be undefined
1717         when compiling for Symbian emulator nor target HW.
1718
1719         * bridge/npapi.h:
1720
1721 2009-10-23  Janne Koskinen  <janne.p.koskinen@digia.com>
1722
1723         Reviewed by Tor Arne Vestbø.
1724
1725         [Qt] Correct linking of sqlite3 for Symbian
1726         https://bugs.webkit.org/show_bug.cgi?id=30569
1727
1728         ".lib" will try to include library as static library
1729         causing the library to be searched from wrong directory and if found
1730         will be statically linked instead of the inteded dynamic linking.
1731
1732         * WebCore.pro:
1733
1734 2009-10-23  Enrica Casucci  <enrica@apple.com>
1735
1736         Reviewed by Adele Peterson.
1737
1738         REGRESSION: Copy is copying incorrect background-color
1739         <rdar://problem/7248529>
1740         https://bugs.webkit.org/show_bug.cgi?id=29697
1741
1742         Test: editing/execCommand/indent-paragraphs.html
1743
1744         This change removes the BackgroundColor from the list 
1745         of inheritable CSS properties and changes significantly
1746         the way we perform indentation.
1747         The new implementation of IndentOutdentCommand uses a new method
1748         defined in CompositeEditCommand called moveParagraphWithClones.
1749         This is an improved version of the original moveParagraph that
1750         is aimed at preserving the original markup of the paragraph being
1751         moved.
1752
1753         * editing/ApplyStyleCommand.cpp:
1754         (WebCore::): removed CSSPropertyBackgroundColor from editingStyleProperties.
1755         * editing/CompositeEditCommand.cpp:
1756         (WebCore::CompositeEditCommand::CompositeEditCommand): Removed trailing blanks.
1757         (WebCore::CompositeEditCommand::rebalanceWhitespaceAt): Removed trailing blanks.
1758         (WebCore::CompositeEditCommand::cloneParagraphUnderNewElement): Added.
1759         (WebCore::CompositeEditCommand::cleanupAfterDeletion): Added.
1760         (WebCore::CompositeEditCommand::moveParagraphWithClones): Added.
1761         (WebCore::CompositeEditCommand::moveParagraphs): Modified to use cleanupAfterDeletion.
1762         (WebCore::CompositeEditCommand::breakOutOfEmptyListItem): Removed trailing blanks.
1763         (WebCore::CompositeEditCommand::breakOutOfEmptyMailBlockquotedParagraph): Removed trailing blanks.
1764         (WebCore::CompositeEditCommand::positionAvoidingSpecialElementBoundary): Removed trailing blanks.
1765         * editing/CompositeEditCommand.h: Added three new methods.
1766         * editing/IndentOutdentCommand.cpp:
1767         (WebCore::IndentOutdentCommand::tryIndentingAsListItem): Changed to use moveParagraphWithClones.
1768         (WebCore::IndentOutdentCommand::indentIntoBlockquote): Changed to use moveParagraphWithClones.
1769         (WebCore::IndentOutdentCommand::indentRegion): Removed comment.
1770         * editing/IndentOutdentCommand.h: Removed prepareBlockquoteLevelForInsertion method.
1771
1772 2009-10-23  Steve Block  <steveblock@google.com>
1773
1774         Reviewed by Eric Seidel.
1775
1776         Adds missing UnusedParam.h includes, required when INSPECTOR is not enabled.
1777         https://bugs.webkit.org/show_bug.cgi?id=30677
1778
1779         Build fix, no new tests required.
1780
1781         * page/Console.cpp: Modified. Added UnusedParam.h include.
1782         * workers/WorkerContext.cpp: Modified. Added UnusedParam.h include.
1783
1784 2009-10-23  Girish Ramakrishnan  <girish@forwardbias.in>
1785
1786         Reviewed by Holger Freyther.
1787
1788         [Qt] Plugins : Use window's winId() instead of the widget's.
1789
1790         As per, https://developer.mozilla.org/en/NPN_GetValue
1791         NPNVnetscapeWindow on Unix/X11: "Gets the browser toplevel window in which the
1792         plug-in is displayed; returns Window".
1793
1794         The issue was found because NPNVNetscapeWindow winId() ends up creating
1795         a native window resulting in flicker.
1796
1797         https://bugs.webkit.org/show_bug.cgi?id=30706
1798
1799         * plugins/qt/PluginViewQt.cpp:
1800         (WebCore::PluginView::getValue):
1801
1802 2009-10-23  Girish Ramakrishnan  <girish@forwardbias.in>
1803
1804         Reviewed by Holger Freyther.
1805
1806         [Qt] Windowless Plugins : Don't use m_clipRect when painting.
1807
1808         Though it works, it is not correct to use m_clipRect for painting
1809         in Windowless mode. Instead, the rect paramater that is passed
1810         as a part of PluginView::paint() must be used. This change will
1811         also result in some speedup since previously we used to paint all
1812         the visible parts of a windowless plugin (even if those parts were
1813         not dirty).
1814
1815         Also, fix invalidateRect() to compute the correct width and height.
1816
1817         https://bugs.webkit.org/show_bug.cgi?id=30711
1818
1819         * plugins/qt/PluginViewQt.cpp:
1820         (WebCore::PluginView::paint):
1821         (WebCore::PluginView::invalidateRect):
1822
1823 2009-10-21  Girish Ramakrishnan  <girish@forwardbias.in>
1824
1825         Reviewed by Holger Freyther.
1826
1827         Plugins : Use test.swf in the plugins manual tests.
1828
1829         They previously referenced youtube videos which among other things are
1830         cumbersome to use without internet connection. The old youtube link is
1831         just commented out so that testing with youtube can be done with
1832         little effort.
1833
1834         https://bugs.webkit.org/show_bug.cgi?id=30662
1835
1836         * manual-tests/plugins/test.swf: Copied from LayoutTests/fast/replaced/resources/test.swf.
1837         * manual-tests/plugins/windowed.html:
1838         * manual-tests/plugins/windowless.html:
1839         * manual-tests/qt/plugin-sibling-frame-include.html:
1840
1841 2009-10-23  Brian Weinstein  <bweinstein@apple.com>
1842
1843         Reviewed by Jon Honeycutt.
1844
1845         Fix the Windows Release build by moving Accessibility files
1846         into all-in-one file and excluding them from the build.
1847
1848         * WebCore.vcproj/WebCore.vcproj:
1849         * accessibility/AccessibilityAllInOne.cpp: Added.
1850
1851 2009-10-16  Gavin Barraclough  <barraclough@apple.com>
1852
1853         Reviewed by Sam Weinig & Geoff Garen.
1854
1855         https://bugs.webkit.org/show_bug.cgi?id=30696
1856         Add support for IsolatedWorlds to JSC bindings.
1857
1858         An IsolatedWorld is basically a parallel, separate copy of the window shells and DOM wrapper objects for
1859         a given document.  To support isolation this patch:
1860
1861             * Adds support to the ScriptController to track multiple window shells, one per world.
1862             * Adds support to Document to support multiple separate wrapper-maps, one per world.
1863             * Replaces the single global DOM wrapper map (on the WebCoreJSClientData) with separate maps,
1864               stored on the (new) IsolatedWorld objects.
1865
1866         In addition to supporting separate copies of these objects, two other features are supported:
1867
1868             * It is necessary to track the current world on entry into JSC, so that within callbacks out to WebCore
1869               we can determine which world (and as such, set of DOM bindings) we should be operating on.
1870             * EventListeners & Callbacks are run in the world they were registered in.
1871               This requires the handler to retain a reference to the world.
1872
1873         No new tests. (Enabled existing isolated world layout tests.)
1874
1875         * WebCore.base.exp:
1876         * bindings/js/JSAbstractWorkerCustom.cpp:
1877         (WebCore::JSAbstractWorker::addEventListener):
1878         (WebCore::JSAbstractWorker::removeEventListener):
1879         * bindings/js/JSCallbackData.cpp:
1880         (WebCore::JSCallbackData::invokeCallback):
1881         * bindings/js/JSCallbackData.h:
1882         (WebCore::JSCallbackData::JSCallbackData):
1883         * bindings/js/JSCustomXPathNSResolver.cpp:
1884         (WebCore::JSCustomXPathNSResolver::lookupNamespaceURI):
1885         * bindings/js/JSDOMApplicationCacheCustom.cpp:
1886         (WebCore::JSDOMApplicationCache::addEventListener):
1887         (WebCore::JSDOMApplicationCache::removeEventListener):
1888         * bindings/js/JSDOMBinding.cpp:
1889         (WebCore::removeWrappers):
1890         (WebCore::DOMObjectWrapperMap::get):
1891         (WebCore::DOMObjectWrapperMap::set):
1892         (WebCore::DOMObjectWrapperMap::remove):
1893         (WebCore::DOMObjectWrapperMap::take):
1894         (WebCore::IsolatedWorld::IsolatedWorld):
1895         (WebCore::IsolatedWorld::~IsolatedWorld):
1896         (WebCore::EnterIsolatedWorld::EnterIsolatedWorld):
1897         (WebCore::EnterIsolatedWorld::~EnterIsolatedWorld):
1898         (WebCore::JSGlobalDataWorldIterator::JSGlobalDataWorldIterator):
1899         (WebCore::JSGlobalDataWorldIterator::operator bool):
1900         (WebCore::JSGlobalDataWorldIterator::operator*):
1901         (WebCore::JSGlobalDataWorldIterator::operator->):
1902         (WebCore::JSGlobalDataWorldIterator::operator++):
1903         (WebCore::getCurrentWorld):
1904         (WebCore::getNormalWorld):
1905         (WebCore::commonNormalWorld):
1906         (WebCore::commonCurrentWorld):
1907         (WebCore::DOMObjectHashTableMap::mapFor):
1908         (WebCore::DOMObjectWrapperMap::mapFor):
1909         (WebCore::forgetDOMObject):
1910         (WebCore::getCachedDOMNodeWrapper):
1911         (WebCore::forgetDOMNode):
1912         (WebCore::cacheDOMNodeWrapper):
1913         (WebCore::forgetAllDOMNodesForDocument):
1914         (WebCore::forgetWorldOfDOMNodesForDocument):
1915         (WebCore::isObservableThroughDOM):
1916         (WebCore::markDOMNodesForDocument):
1917         (WebCore::markActiveObjectsForContext):
1918         (WebCore::takeWrappers):
1919         (WebCore::updateDOMNodeDocument):
1920         (WebCore::markDOMObjectWrapper):
1921         (WebCore::allowsAccessFromFrame):
1922         (WebCore::printErrorMessageForFrame):
1923         (WebCore::JSC_DebuggerCallFrame_evaluateInWorld):
1924         (WebCore::JSC_callInWorld):
1925         (WebCore::JSC_constructInWorld):
1926         (WebCore::JSC_evaluateInWorld):
1927         * bindings/js/JSDOMBinding.h:
1928         (WebCore::IsolatedWorld::rememberDocument):
1929         (WebCore::IsolatedWorld::forgetDocument):
1930         (WebCore::IsolatedWorld::rememberScriptController):
1931         (WebCore::IsolatedWorld::forgetScriptController):
1932         (WebCore::DOMObjectHashTableMap::~DOMObjectHashTableMap):
1933         (WebCore::DOMObjectHashTableMap::get):
1934         (WebCore::WebCoreJSClientData::WebCoreJSClientData):
1935         (WebCore::WebCoreJSClientData::currentWorld):
1936         (WebCore::WebCoreJSClientData::normalWorld):
1937         (WebCore::WebCoreJSClientData::rememberWorld):
1938         (WebCore::WebCoreJSClientData::forgetWorld):
1939         (WebCore::debuggerWorld):
1940         (WebCore::pluginWorld):
1941         * bindings/js/JSDOMGlobalObject.cpp:
1942         (WebCore::JSDOMGlobalObject::createJSAttributeEventListener):
1943         (WebCore::toJSDOMGlobalObject):
1944         * bindings/js/JSDOMGlobalObject.h:
1945         * bindings/js/JSDOMWindowBase.cpp:
1946         (WebCore::JSDOMWindowBase::printErrorMessage):
1947         (WebCore::JSDOMWindowBase::commonJSGlobalData):
1948         (WebCore::toJS):
1949         (WebCore::toJSDOMWindow):
1950         * bindings/js/JSDOMWindowBase.h:
1951         * bindings/js/JSDOMWindowCustom.cpp:
1952         (WebCore::createWindow):
1953         (WebCore::JSDOMWindow::open):
1954         (WebCore::JSDOMWindow::showModalDialog):
1955         (WebCore::JSDOMWindow::setTimeout):
1956         (WebCore::JSDOMWindow::setInterval):
1957         (WebCore::JSDOMWindow::addEventListener):
1958         (WebCore::JSDOMWindow::removeEventListener):
1959         * bindings/js/JSDOMWindowShell.cpp:
1960         (WebCore::toJS):
1961         (WebCore::toJSDOMWindowShell):
1962         * bindings/js/JSDOMWindowShell.h:
1963         * bindings/js/JSDesktopNotificationsCustom.cpp:
1964         (WebCore::JSNotification::addEventListener):
1965         (WebCore::):
1966         * bindings/js/JSEventListener.cpp:
1967         (WebCore::JSEventListener::JSEventListener):
1968         (WebCore::JSEventListener::handleEvent):
1969         (WebCore::JSEventListener::reportError):
1970         * bindings/js/JSEventListener.h:
1971         (WebCore::JSEventListener::create):
1972         * bindings/js/JSEventSourceCustom.cpp:
1973         (WebCore::JSEventSource::addEventListener):
1974         (WebCore::JSEventSource::removeEventListener):
1975         * bindings/js/JSEventTarget.cpp:
1976         (WebCore::toJS):
1977         * bindings/js/JSHTMLDocumentCustom.cpp:
1978         (WebCore::JSHTMLDocument::open):
1979         * bindings/js/JSHTMLFrameSetElementCustom.cpp:
1980         (WebCore::JSHTMLFrameSetElement::nameGetter):
1981         * bindings/js/JSInspectorBackendCustom.cpp:
1982         (WebCore::JSInspectorBackend::databaseForId):
1983         (WebCore::JSInspectorBackend::inspectedWindow):
1984         (WebCore::JSInspectorBackend::nodeForId):
1985         * bindings/js/JSLazyEventListener.cpp:
1986         (WebCore::JSLazyEventListener::JSLazyEventListener):
1987         (WebCore::JSLazyEventListener::parseCode):
1988         * bindings/js/JSLazyEventListener.h:
1989         (WebCore::JSLazyEventListener::create):
1990         * bindings/js/JSMessageChannelCustom.cpp:
1991         (WebCore::JSMessageChannel::markChildren):
1992         * bindings/js/JSMessagePortCustom.cpp:
1993         (WebCore::JSMessagePort::markChildren):
1994         (WebCore::JSMessagePort::addEventListener):
1995         (WebCore::JSMessagePort::removeEventListener):
1996         * bindings/js/JSNodeCustom.cpp:
1997         (WebCore::JSNode::addEventListener):
1998         (WebCore::JSNode::removeEventListener):
1999         (WebCore::JSNode::markChildren):
2000         * bindings/js/JSNodeFilterCondition.cpp:
2001         (WebCore::JSNodeFilterCondition::acceptNode):
2002         * bindings/js/JSQuarantinedObjectWrapper.cpp:
2003         (WebCore::JSQuarantinedObjectWrapper::construct):
2004         (WebCore::JSQuarantinedObjectWrapper::call):
2005         * bindings/js/JSSVGElementInstanceCustom.cpp:
2006         (WebCore::JSSVGElementInstance::addEventListener):
2007         (WebCore::JSSVGElementInstance::removeEventListener):
2008         * bindings/js/JSSharedWorkerCustom.cpp:
2009         (WebCore::JSSharedWorker::markChildren):
2010         * bindings/js/JSWebSocketCustom.cpp:
2011         (WebCore::JSWebSocket::addEventListener):
2012         (WebCore::JSWebSocket::removeEventListener):
2013         * bindings/js/JSWorkerContextCustom.cpp:
2014         (WebCore::JSWorkerContext::addEventListener):
2015         (WebCore::JSWorkerContext::removeEventListener):
2016         (WebCore::JSWorkerContext::setTimeout):
2017         (WebCore::JSWorkerContext::setInterval):
2018         * bindings/js/JSXMLHttpRequestConstructor.cpp:
2019         (WebCore::constructXMLHttpRequest):
2020         * bindings/js/JSXMLHttpRequestCustom.cpp:
2021         (WebCore::JSXMLHttpRequest::markChildren):
2022         (WebCore::JSXMLHttpRequest::addEventListener):
2023         (WebCore::JSXMLHttpRequest::removeEventListener):
2024         * bindings/js/JSXMLHttpRequestUploadCustom.cpp:
2025         (WebCore::JSXMLHttpRequestUpload::markChildren):
2026         (WebCore::JSXMLHttpRequestUpload::addEventListener):
2027         (WebCore::JSXMLHttpRequestUpload::removeEventListener):
2028         * bindings/js/ScheduledAction.cpp:
2029         (WebCore::ScheduledAction::create):
2030         (WebCore::ScheduledAction::ScheduledAction):
2031         (WebCore::ScheduledAction::executeFunctionInContext):
2032         (WebCore::ScheduledAction::execute):
2033         * bindings/js/ScheduledAction.h:
2034         (WebCore::ScheduledAction::ScheduledAction):
2035         * bindings/js/ScriptCachedFrameData.cpp:
2036         (WebCore::ScriptCachedFrameData::ScriptCachedFrameData):
2037         (WebCore::ScriptCachedFrameData::restore):
2038         * bindings/js/ScriptController.cpp:
2039         (WebCore::ScriptController::~ScriptController):
2040         (WebCore::ScriptController::evaluateInWorld):
2041         (WebCore::ScriptController::evaluate):
2042         (WebCore::ScriptController::evaluateInIsolatedWorld):
2043         (WebCore::ScriptController::clearWindowShell):
2044         (WebCore::ScriptController::initScript):
2045         (WebCore::ScriptController::processingUserGestureEvent):
2046         (WebCore::ScriptController::attachDebugger):
2047         (WebCore::ScriptController::updateDocument):
2048         (WebCore::ScriptController::bindingRootObject):
2049         (WebCore::ScriptController::createRootObject):
2050         (WebCore::ScriptController::windowScriptNPObject):
2051         (WebCore::ScriptController::jsObjectForPluginElement):
2052         * bindings/js/ScriptController.h:
2053         (WebCore::ScriptController::windowShell):
2054         (WebCore::ScriptController::existingWindowShell):
2055         (WebCore::ScriptController::globalObject):
2056         (WebCore::ScriptController::forgetWorld):
2057         * bindings/js/ScriptControllerMac.mm:
2058         (WebCore::ScriptController::windowScriptObject):
2059         * bindings/js/ScriptEventListener.cpp:
2060         (WebCore::createAttributeEventListener):
2061         * bindings/js/ScriptFunctionCall.cpp:
2062         (WebCore::ScriptFunctionCall::call):
2063         (WebCore::ScriptFunctionCall::construct):
2064         * bindings/js/ScriptObjectQuarantine.cpp:
2065         (WebCore::getQuarantinedScriptObject):
2066         * bindings/js/ScriptState.cpp:
2067         (WebCore::scriptStateFromNode):
2068         (WebCore::scriptStateFromPage):
2069         * bindings/js/ScriptState.h:
2070         * bindings/js/WorkerScriptController.cpp:
2071         (WebCore::WorkerScriptController::WorkerScriptController):
2072         (WebCore::WorkerScriptController::evaluate):
2073         * bindings/objc/DOMInternal.mm:
2074         (-[WebScriptObject _initializeScriptDOMNodeImp]):
2075         * bindings/objc/WebScriptObject.mm:
2076         (-[WebScriptObject callWebScriptMethod:withArguments:]):
2077         (-[WebScriptObject evaluateWebScript:]):
2078         * bindings/scripts/CodeGeneratorJS.pm:
2079         * bridge/NP_jsobject.cpp:
2080         (_NPN_InvokeDefault):
2081         (_NPN_Invoke):
2082         (_NPN_Evaluate):
2083         (_NPN_Construct):
2084         * bridge/jni/jni_jsobject.mm:
2085         (JavaJSObject::call):
2086         (JavaJSObject::eval):
2087         * dom/Document.cpp:
2088         (WebCore::Document::createWrapperCache):
2089         * dom/Document.h:
2090         (WebCore::Document::wrapperCacheMap):
2091         (WebCore::Document::getWrapperCache):
2092         * inspector/InspectorController.cpp:
2093         (WebCore::InspectorController::startUserInitiatedProfiling):
2094         (WebCore::InspectorController::stopUserInitiatedProfiling):
2095         * inspector/JavaScriptCallFrame.cpp:
2096         (WebCore::JavaScriptCallFrame::evaluate):
2097         * loader/FrameLoader.cpp:
2098         (WebCore::FrameLoader::dispatchWindowObjectAvailable):
2099         * platform/network/mac/AuthenticationMac.mm:
2100         * xml/XMLHttpRequest.cpp:
2101         (WebCore::XMLHttpRequest::XMLHttpRequest):
2102         (WebCore::XMLHttpRequest::dropProtection):
2103         * xml/XMLHttpRequest.h:
2104         (WebCore::XMLHttpRequest::create):
2105
2106 2009-10-22  Joseph Pecoraro  <joepeck@webkit.org>
2107
2108         Reviewed by Timothy Hatcher.
2109
2110         Web Inspector: EventListenersSidebarPane TODO No Longer Needed
2111         https://bugs.webkit.org/show_bug.cgi?id=30705
2112
2113         * inspector/front-end/EventListenersSidebarPane.js:
2114
2115 2009-10-22  Alexey Proskuryakov  <ap@apple.com>
2116
2117         Reviewed by Tim Hatcher.
2118
2119         https://bugs.webkit.org/show_bug.cgi?id=30506
2120         <rdar://problem/7319845> Resources that the server sent as 304 not modified are not shown
2121         in the inspectors resource pane
2122
2123         I don't know how to make a test for this.
2124
2125         The issue here was that preloaded resources weren't added to DocLoader document resource set,
2126         but Web Inspector asked DocLoader to fetch data from CachedResource. Even when (if) document
2127         parser eventually requested the same resource for real and it got added to resource set, it
2128         was too late - the Inspector wasn't updated.
2129
2130         * inspector/InspectorResource.cpp:
2131         (WebCore::InspectorResource::cachedResource):
2132         (WebCore::InspectorResource::type):
2133         (WebCore::InspectorResource::resourceData):
2134         * inspector/InspectorResource.h:
2135         Fix the issue by trying to fetch corresponding CachedResource harder - also look in global
2136         cache. This seems safe, and easier than updating the Inspector on transitions between
2137         resource states (revalidate vs. revalidate done and preload vs. non-preload).
2138
2139 2009-10-22  Beth Dakin  <bdakin@apple.com>
2140
2141         Reviewed by Dan Bernstein.
2142
2143         Fix for <rdar://problem/6942706> ER: Add a CSS property that allows 
2144         shadows to work for SVG content
2145         -and corresponding-
2146         https://bugs.webkit.org/show_bug.cgi?id=30479
2147
2148         This patch adds a new SVG-specific CSS property called -webkit-
2149         shadow that has the same syntax as -webkit-box-shadow
2150
2151         Add CSSPropertyWebkitShadow to the list of SVG CSS properties, and 
2152         make valueForShadow a member function rather than a static function 
2153         * css/CSSComputedStyleDeclaration.cpp:
2154         (WebCore::):
2155         (WebCore::CSSComputedStyleDeclaration::valueForShadow):
2156         (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
2157         * css/CSSComputedStyleDeclaration.h:
2158
2159         Call valueForShadow for CSSPropertyWebkitShadow
2160         * css/SVGCSSComputedStyleDeclaration.cpp:
2161         (WebCore::CSSComputedStyleDeclaration::getSVGPropertyCSSValue):
2162
2163         Do standard CSS stuff for CSSPropertyWebkitShadow
2164         * css/SVGCSSParser.cpp:
2165         (WebCore::CSSParser::parseSVGValue):
2166         * css/SVGCSSPropertyNames.in:
2167         * css/SVGCSSStyleSelector.cpp:
2168         (WebCore::CSSStyleSelector::applySVGProperty):
2169
2170         Set the appropriate shadow on the paint context if we have one. 
2171         This seems to be all we have to do to have an SVG-shaped shadow.
2172         * rendering/SVGRenderSupport.cpp:
2173         (WebCore::SVGRenderBase::prepareToRenderSVGContent):
2174
2175         Add shadow to SVGRenderStyle. I added a new macro that I don't like 
2176         just because that's the way things are done here right now.
2177         * rendering/style/SVGRenderStyle.cpp:
2178         (WebCore::SVGRenderStyle::SVGRenderStyle):
2179         (WebCore::SVGRenderStyle::operator==):
2180         * rendering/style/SVGRenderStyle.h:
2181         * rendering/style/SVGRenderStyleDefs.cpp:
2182         (StyleShadowSVGData::StyleShadowSVGData):
2183         (StyleShadowSVGData::operator==):
2184         * rendering/style/SVGRenderStyleDefs.h:
2185         (WebCore::StyleShadowSVGData::create):
2186         (WebCore::StyleShadowSVGData::copy):
2187         (WebCore::StyleShadowSVGData::operator!=):
2188
2189 2009-10-22  Joanmarie Diggs  <joanmarie.diggs@gmail.com>
2190  
2191         Reviewed by Xan Lopez.
2192
2193         https://bugs.webkit.org/show_bug.cgi?id=25530
2194         [Gtk] Implement LABEL_FOR/LABELLED_BY relationship pair for labels
2195
2196         Implements atk_object_ref_relation_set and LABEL_FOR/LABELLED_BY.
2197         Also causes the accessible name for labeled controls to be based on
2198         the label as expected, rather than based on the contents.
2199
2200         * accessibility/AccessibilityRenderObject.h:
2201         * accessibility/AccessibilityRenderObject.cpp:
2202         (correspondingLabelForControlElement):
2203         * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
2204         (setAtkRelationSetFromCoreObject):
2205         (webkit_accessible_ref_relation_set):
2206         (webkit_accessible_class_init):
2207         (webkit_accessible_get_name):
2208
2209 2009-10-22  Joseph Pecoraro  <joepeck@webkit.org>
2210
2211         Reviewed by Timothy Hatcher.
2212
2213         Web Inspector: windowFocused and windowBlured Fail to Clear/Mark Inspector as "inactive"
2214         https://bugs.webkit.org/show_bug.cgi?id=30663
2215
2216           Correctly handle focusing/blurring on inner <iframe>'s such as Source Frames.
2217
2218         * inspector/front-end/inspector.js:
2219         (WebInspector.windowFocused): fix for inner iframes
2220         (WebInspector.windowBlurred): fix for inner iframes
2221         (WebInspector.addMainEventListeners): change useCapture to false
2222
2223 2009-10-22  Jaime Yap  <jaimeyap@google.com>
2224
2225         Reviewed by Timothy Hatcher.
2226
2227         Makes a page reload optional when activating resource monitoring in
2228         InspectorController. It leaves the default behavior as performing the reload.
2229         Reload is an optional param so callsites do not have to change.
2230
2231         https://bugs.webkit.org/show_bug.cgi?id=30684
2232
2233         No new tests added.
2234
2235         * inspector/InspectorController.cpp:
2236         (WebCore::InspectorController::enableResourceTracking):
2237         * inspector/InspectorController.h:
2238
2239 2009-10-22  Shu Chang  <Chang.Shu@nokia.com>
2240
2241         Reviewed by Eric Seidel.
2242
2243         [Qt] Fix memory leak in QNetworkReplyHandler::abort().
2244         In QNetworkReplyHandler::release(), m_reply should no longer point to its parent
2245         after being released.
2246         https://bugs.webkit.org/show_bug.cgi?id=30167
2247
2248         No layout test available as a non-functional fix.
2249
2250         * platform/network/qt/QNetworkReplyHandler.cpp:
2251         (WebCore::QNetworkReplyHandler::abort):
2252         (WebCore::QNetworkReplyHandler::release):
2253
2254 2009-10-22  Pavel Feldman  <pfeldman@chromium.org>
2255
2256         Reviewed by Timothy Hatcher.
2257
2258         Web Inspector: Fix DOMAgent leak.
2259
2260         https://bugs.webkit.org/show_bug.cgi?id=30615
2261
2262         * inspector/InspectorController.cpp:
2263         (WebCore::InspectorController::~InspectorController):
2264         (WebCore::InspectorController::setFrontendProxyObject):
2265         (WebCore::InspectorController::close):
2266         (WebCore::InspectorController::releaseDOMAgent):
2267         * inspector/InspectorController.h:
2268         * inspector/InspectorDOMAgent.h:
2269         (WebCore::InspectorDOMAgent::create):
2270
2271 2009-10-22  Dimitri Glazkov  <dglazkov@chromium.org>
2272
2273         Reviewed by Adam Barth.
2274
2275         [V8] Rework event listeners to not hold references to frame or V8 context.
2276
2277         https://bugs.webkit.org/show_bug.cgi?id=30648
2278
2279         Covered by existing layout tests: fast/events/attribute-listener*
2280
2281         * bindings/scripts/CodeGeneratorV8.pm: Added passing ScriptExecutionContext*
2282             to event listener handling code.
2283         * bindings/v8/DateExtension.cpp:
2284         (WebCore::DateExtension::setAllowSleep): Changed to use currentContext().
2285         * bindings/v8/ScriptEventListener.cpp:
2286         (WebCore::createAttributeEventListener): Reworked to match JSC logic.
2287         (WebCore::getEventListenerHandlerBody): Added ScriptExecutionContext* param.
2288         * bindings/v8/V8AbstractEventListener.cpp:
2289         (WebCore::V8AbstractEventListener::V8AbstractEventListener): Removed Frame* param
2290             and usage.
2291         (WebCore::V8AbstractEventListener::handleEvent): Chaged to use ScriptExecutionContext*.
2292         (WebCore::V8AbstractEventListener::invokeEventHandler): Ditto.
2293         * bindings/v8/V8AbstractEventListener.h:
2294         (WebCore::V8AbstractEventListener::getListenerObject): Ditto.
2295         (WebCore::V8AbstractEventListener::prepareListenerObject): Ditto.
2296         * bindings/v8/V8DOMWrapper.cpp:
2297         (WebCore::V8DOMWrapper::convertEventListenerToV8Object):  Added ScriptExecutionContext* param.
2298         (WebCore::V8DOMWrapper::getEventListener): Ditto.
2299         * bindings/v8/V8DOMWrapper.h:
2300         (WebCore::V8DOMWrapper::convertEventListenerToV8Object): Ditto.
2301         * bindings/v8/V8EventListenerList.h:
2302         (WebCore::V8EventListenerList::findOrCreateWrapper): Removed ContextType* template param,
2303             because it's no longer needed.
2304         * bindings/v8/V8IsolatedWorld.h:
2305         (WebCore::V8IsolatedWorld::sharedContext): Renamed from shared_context.
2306         * bindings/v8/V8LazyEventListener.cpp:
2307         (WebCore::V8LazyEventListener::V8LazyEventListener): Removed Frame* param and usage.
2308         (WebCore::V8LazyEventListener::callListenerFunction): Added ScriptExecutionContext* param.
2309         (WebCore::V8LazyEventListener::prepareListenerObject): Ditto.
2310         * bindings/v8/V8LazyEventListener.h:
2311         (WebCore::V8LazyEventListener::create): Reordered params to match JSC impl.
2312         * bindings/v8/V8Proxy.cpp:
2313         (WebCore::V8Proxy::V8Proxy): Adjusted formatting to match WebKit style.
2314         (WebCore::V8Proxy::evaluateInNewContext): Changed to use m_context directly.
2315         (WebCore::V8Proxy::setInjectedScriptContextDebugId): Ditto.
2316         (WebCore::V8Proxy::createWrapperFromCacheSlowCase): Ditto.
2317         (WebCore::V8Proxy::isContextInitialized): Ditto.
2318         (WebCore::V8Proxy::updateDocumentWrapperCache): Ditto.
2319         (WebCore::V8Proxy::clearDocumentWrapperCache): Ditto.
2320         (WebCore::V8Proxy::disposeContextHandles): Added explicit disposing of m_context. 
2321         (WebCore::V8Proxy::clearForClose): Changed to use m_context directly.
2322         (WebCore::V8Proxy::clearForNavigation): Ditto.
2323         (WebCore::V8Proxy::setSecurityToken): Ditto.
2324         (WebCore::V8Proxy::updateDocument): Ditto.
2325         (WebCore::V8Proxy::initContextIfNeeded): Ditto.
2326         (WebCore::V8Proxy::context): Changed to use v8::Local.
2327         (WebCore::V8Proxy::mainWorldContext): Changed to use m_context directly. 
2328         (WebCore::V8Proxy::setContextDebugId): Ditto.
2329         (WebCore::toV8Context):
2330         * bindings/v8/V8Proxy.h: Removed shared_context decl, changed to use straight
2331             v8::Persistent for m_context.
2332         * bindings/v8/V8WorkerContextEventListener.cpp:
2333         (WebCore::workerProxy): Added.
2334         (WebCore::V8WorkerContextEventListener::V8WorkerContextEventListener): Removed
2335             WorkerContextExecutionProxy* param.
2336         (WebCore::V8WorkerContextEventListener::handleEvent): Started using ScriptExecutionContext*.
2337         (WebCore::V8WorkerContextEventListener::reportError): Ditto.
2338         (WebCore::V8WorkerContextEventListener::callListenerFunction): Ditto.
2339         (WebCore::V8WorkerContextEventListener::getReceiverObject): Ditto.
2340         * bindings/v8/V8WorkerContextEventListener.h:
2341         (WebCore::V8WorkerContextEventListener::create): Removed
2342             WorkerContextExecutionProxy* param.
2343         * bindings/v8/WorkerContextExecutionProxy.cpp:
2344         (WebCore::WorkerContextExecutionProxy::findOrCreateEventListener): Removed ContextType*
2345             template param.
2346         * bindings/v8/custom/V8CustomEventListener.cpp:
2347         (WebCore::V8EventListener::V8EventListener): Removed Frame* param.
2348         (WebCore::V8EventListener::getListenerFunction): Started using ScriptExecutionContext*.
2349         (WebCore::V8EventListener::callListenerFunction): Ditto.
2350         * bindings/v8/custom/V8CustomEventListener.h:
2351         (WebCore::V8EventListener::create): Removed Frame* param.
2352
2353 2009-10-14  Gaurav Shah  <gauravsh@google.com>
2354
2355         Reviewed by Darin Fisher.
2356
2357         Replaces temporary link stub for <keygen> tag handler for the Chromium
2358         browser with a call via the Chromium Bridge.
2359
2360         https://bugs.webkit.org/show_bug.cgi?id=30360
2361
2362         * platform/SSLKeyGenerator.h:
2363         * platform/chromium/ChromiumBridge.h:
2364         * platform/chromium/SSLKeyGeneratorChromium.cpp:
2365         (WebCore::getSupportedKeySizes):
2366         (WebCore::signedPublicKeyAndChallengeString):
2367         * platform/chromium/TemporaryLinkStubs.cpp:
2368         (WebCore::KURL::fileSystemPath):
2369         (WebCore::SharedBuffer::createWithContentsOfFile):
2370
2371 2009-10-22  Avi Drissman  <avi@chromium.org>
2372
2373         Reviewed by Eric Seidel.
2374
2375         Fixes Chromium Mac pasteboard handling to flow through the same code paths as other platforms.
2376
2377         https://bugs.webkit.org/show_bug.cgi?id=30591
2378
2379         * platform/chromium/ChromiumBridge.h:
2380         * platform/chromium/PasteboardChromium.cpp:
2381         (WebCore::Pasteboard::writeImage):
2382
2383 2009-10-20  Simon Fraser  <simon.fraser@apple.com>
2384
2385         Reviewed by Darin Adler.
2386
2387         Make accelerated compositing debug indicators work in release builds
2388         https://bugs.webkit.org/show_bug.cgi?id=30588
2389         
2390         Allow some debug indicators, that show which page elements go into compositing layers,
2391         to work in release builds, when the runtime prefs are set.
2392
2393         * platform/graphics/GraphicsLayer.cpp:
2394         (WebCore::GraphicsLayer::GraphicsLayer):
2395         (WebCore::GraphicsLayer::setZPosition):
2396         * platform/graphics/GraphicsLayer.h:
2397         * platform/graphics/mac/GraphicsLayerCA.h:
2398         * platform/graphics/mac/GraphicsLayerCA.mm:
2399         (WebCore::clearBorderColor):
2400         (WebCore::GraphicsLayer::showRepaintCounter):
2401         (WebCore::GraphicsLayerCA::GraphicsLayerCA):
2402         (WebCore::GraphicsLayerCA::updateMasksToBounds):
2403         (WebCore::GraphicsLayerCA::updateLayerDrawsContent):
2404         (WebCore::GraphicsLayerCA::setDebugBorder):
2405         (WebCore::GraphicsLayerCA::swapFromOrToTiledLayer):
2406         (WebCore::GraphicsLayerCA::setupContentsLayer):
2407         * platform/graphics/mac/WebLayer.mm:
2408
2409 2009-10-22  Keishi Hattori  <casey.hattori@gmail.com>
2410
2411         Reviewed by Pavel Feldman.
2412
2413         Inspector should support monitorEvents/un monitorEvents() in the command line
2414         https://bugs.webkit.org/show_bug.cgi?id=19879
2415
2416         * inspector/front-end/EventListenersSidebarPane.js:
2417         (WebInspector.EventListenersSidebarPane.prototype.update.callback): Ignores event listeners generated by monitorEvent
2418         * inspector/front-end/InjectedScript.js:
2419         (InjectedScript._ensureCommandLineAPIInstalled): Added _inspectorCommandLineAPI._logEvent, _allEventTypes, 
2420         _normalizeEventTypes, monitorEvent, unmonitorEvent.
2421
2422 2009-10-21  Joseph Pecoraro  <joepeck@webkit.org>
2423
2424         Reviewed by Pavel Feldman.
2425
2426         Web Inspector: windowFocused and windowBlurred Fail to Clear/Mark Inspector as "inactive"
2427         https://bugs.webkit.org/show_bug.cgi?id=30663
2428
2429         * inspector/front-end/inspector.js:
2430         (WebInspector.windowFocused):
2431         (WebInspector.windowBlurred):
2432
2433 2009-10-22  Joseph Pecoraro  <joepeck@webkit.org>
2434
2435         Reviewed by Pavel Feldman.
2436
2437         Web Inspector: Error - requestContentType [undefined] is not an object
2438         https://bugs.webkit.org/show_bug.cgi?id=30666
2439
2440         * inspector/front-end/ResourceView.js:
2441         (WebInspector.ResourceView.prototype._refreshFormData):
2442
2443 2009-10-22  Maxime Simon  <simon.maxime@gmail.com>
2444
2445         Reviewed by Holger Freyther.
2446
2447         [Haiku] Correction of the accented letter width (they were 2 characters long).
2448         https://bugs.webkit.org/show_bug.cgi?id=30629
2449
2450         * platform/graphics/haiku/SimpleFontDataHaiku.cpp:
2451         (WebCore::SimpleFontData::platformWidthForGlyph):
2452
2453 2009-10-21  Jon Honeycutt  <jhoneycutt@apple.com>
2454
2455         <rdar://problem/7270320> Screenshots of off-screen plug-ins are blank
2456         <rdar://problem/7270314> After halting a transparent PluginView on
2457         Windows, the transparency is applied twice
2458
2459         Replace use of Frame::nodeImage() with a function that takes a snapshot
2460         of a PluginView.
2461
2462         Reviewed by Dan Bernstein.
2463
2464         * plugins/PluginView.h:
2465         Made paintWindowedPluginIntoContext() non-const, as it now calls
2466         paintIntoTransformedContext(). Declare paintIntoTransformedContext()
2467         and snapshot() for Windows platforms.
2468
2469         * plugins/win/PluginViewWin.cpp:
2470         (WebCore::PluginView::paintIntoTransformedContext):
2471         Paints into the passed HDC without applying any coordinate translations.
2472         Code moved from paintWindowedPluginIntoContext() and paint(). Removed
2473         the memset() of windowpos in lieu of assignment.
2474         (WebCore::PluginView::paintWindowedPluginIntoContext):
2475         Code moved to paintIntoTransformedContext().
2476         (WebCore::PluginView::paint):
2477         Ditto.
2478         (WebCore::PluginView::snapshot):
2479         Create a context, and if the plug-in is windowless, translate it so the
2480         plug-in will draw at the correct location. Create a bitmap, and select
2481         it into the context. Paint the plug-in, and create a BitmapImage from
2482         the bitmap.
2483         (WebCore::PluginView::halt):
2484         Use snapshot().
2485
2486 2009-10-22  Fumitoshi Ukai  <ukai@chromium.org>
2487
2488         Reviewed by Alexey Proskuryakov.
2489
2490         Fix calculation of length in WebSocketChannel.cpp
2491         https://bugs.webkit.org/show_bug.cgi?id=30656
2492
2493         * websockets/WebSocketChannel.cpp:
2494         (WebCore::WebSocketChannel::didReceiveData):
2495
2496 2009-10-21  Dumitru Daniliuc  <dumi@chromium.org>
2497
2498         Reviewed by Dimitri Glazkov.
2499
2500         Adding the ability to enable/disable functions in V8 at runtime.
2501
2502         https://bugs.webkit.org/show_bug.cgi?id=30650
2503
2504         * bindings/scripts/CodeGeneratorV8.pm:
2505
2506 2009-10-21  Darin Adler  <darin@apple.com>
2507
2508         Swedish search (and other languages as well) is broken while fixing Japanese search
2509         https://bugs.webkit.org/show_bug.cgi?id=30646
2510
2511         Rolled Japanese tailoring out that was done to fix
2512         https://bugs.webkit.org/show_bug.cgi?id=30437 earlier.
2513         It was overriding the locale-specific tailoring.
2514         We'll land a fix once we figure out how to add the
2515         Japanese tailoring without removing anything.
2516
2517         * editing/TextIterator.cpp: Rolled out r49924.
2518
2519 2009-10-21  Pavel Feldman  <pfeldman@chromium.org>
2520
2521         Not reviewed: chromium build fix - add missing image to gypi.
2522
2523         * WebCore.gypi:
2524
2525 2009-10-21  Brian Weinstein  <bweinstein@apple.com>
2526
2527         Reviewed by Eric Seidel.
2528
2529         Fixes part of <http://webkit.org/b/30522>.
2530         Web Inspector: DOM Exceptions throughout the Inspector should be more human readable.
2531
2532         Expose the description attribute that is now a member of
2533         ExceptionBase as of r49723, so when a user logs an exception, they
2534         can see the description in the Web Inspector.
2535
2536         Test: fast/dom/dom-exception-description.html
2537
2538         * dom/DOMCoreException.idl:
2539         * dom/EventException.idl:
2540         * dom/RangeException.idl:
2541         * svg/SVGException.idl:
2542         * xml/XMLHttpRequestException.idl:
2543         * xml/XPathException.idl:
2544
2545 2009-10-21  Brian Weinstein  <bweinstein@apple.com>
2546
2547         Reviewed by Timothy Hatcher.
2548
2549         Fixes <https://bugs.webkit.org/show_bug.cgi?id=30616>.
2550         REGRESSION (r49036): Web Inspector: Summary graph no longer switching to size summary.
2551         
2552         Add a check to make sure a function we need to calculate percentages is
2553         defined before we use it.
2554
2555         * inspector/front-end/ResourcesPanel.js:
2556         (WebInspector.ResourcesPanel.prototype._updateGraphDividersIfNeeded):
2557
2558 2009-10-21  Keishi Hattori  <casey.hattori@gmail.com>
2559
2560         Reviewed by Timothy Hatcher.
2561
2562         REGRESSION: Clicking on nodes in the console should take you to the element in the DOM
2563         https://bugs.webkit.org/show_bug.cgi?id=27231
2564
2565         * inspector/front-end/ConsoleView.js:
2566         (WebInspector.ConsoleView.prototype._formatnode): Turns on ElementsTreeOutline.showInElementsPanelEnabled
2567         * inspector/front-end/ElementsTreeOutline.js:
2568         (WebInspector.ElementsTreeOutline): Added ElementsTreeOutline.showInElementsPanelEnabled
2569         (WebInspector.ElementsTreeElement.prototype.onmousedown): Reveals the node in the Elements panel if 
2570         treeOutline.showInElementsPanelEnabled is true.
2571
2572 2009-10-21  Jeremy Orlow  <jorlow@chromium.org>
2573
2574         Reviewed by Eric Seidel.
2575
2576         https://bugs.webkit.org/show_bug.cgi?id=30637
2577         Fix a compiler warning in windows.
2578
2579         * loader/ResourceLoadNotifier.h:
2580
2581 2009-10-21  Dmitry Titov  <dimich@chromium.org>
2582
2583         Reviewed by Darin Adler.
2584
2585         Fix the crash when a node not in a document receives dispatchEvent.
2586         https://bugs.webkit.org/show_bug.cgi?id=30611
2587
2588         Test: fast/events/dispatch-event-no-document.html
2589
2590         * dom/EventTarget.cpp: Check for scriptExecutionContext() at the moment of dispatchEvent; do nothing if no context.
2591         (WebCore::EventTarget::dispatchEvent):
2592
2593 2009-10-21  Adam Langley  <agl@google.com>
2594
2595         Reviewed by Eric Seidel.
2596
2597         Chromium Linux: disable subpixel text on layers.
2598
2599         https://bugs.webkit.org/show_bug.cgi?id=30635
2600         http://code.google.com/p/chromium/issues/detail?id=25365
2601
2602         With the addition of layers for drawing rounded corners in r49641,
2603         subpixel text on rounded rectangles broke. This is because the layer
2604         only contains a single alpha channel and this is insufficient to
2605         compose subpixel text correctly.
2606
2607         On Windows, a large body of code in TransparencyWin.cpp exists to try
2608         to deal with this. Even then, in some cases, it downgrades to
2609         anti-aliased text. We need a fix for the grevious effects quickly thus
2610         this patch disables subpixel text when rendering into a layer.
2611
2612         This would be covered by existing tests except that subpixel text is
2613         disabled for pixel tests on Chromium Linux.
2614
2615         * platform/graphics/chromium/FontLinux.cpp:
2616         (WebCore::isCanvasMultiLayered):
2617         (WebCore::adjustTextRenderMode):
2618         (WebCore::Font::drawGlyphs):
2619         (WebCore::Font::drawComplexText):
2620
2621 2009-10-21  Kevin Ollivier  <kevino@theolliviers.com>
2622
2623         wxMac 10.4 build fix, make sure we specify the Sqlite3 dependency correctly as otherwise
2624         it will use the sqlite3 system library rather than WebCoreSQLite3.
2625
2626         * wscript:
2627
2628 2009-10-21  Dan Bernstein  <mitz@apple.com>
2629
2630         Reviewed by Sam Weinig.
2631
2632         Fixed background-clip parsing regressions introduced in r46240.
2633
2634         Test: fast/css/background-clip-text.html
2635
2636         * css/CSSParser.cpp:
2637         (WebCore::parseBackgroundClip): Added this helper method.
2638         (WebCore::CSSParser::parseFillShorthand): Use parseBackgroundClip() to
2639         reparse the value. The old code called parseFillProperty() again, which
2640         didn’t work, because parseFillProperty() advances the value list.
2641         (WebCore::CSSParser::parseFillProperty): Changed to use
2642         parseBackgroundClip().
2643         * css/CSSPrimitiveValueMappings.h:
2644         (WebCore::CSSPrimitiveValue::operator EFillBox): Added a case for
2645         CSSValueWebkitText.
2646
2647 2009-10-21  Alexander Pavlov  <apavlov@chromium.org>
2648
2649         Reviewed by Timothy Hatcher.
2650
2651         Enable creation of custom SidebarTreeElements for different ProfileTypes
2652
2653         ProfileTypes can now create sidebar tree elements of custom types.
2654         https://bugs.webkit.org/show_bug.cgi?id=30520
2655
2656         * inspector/front-end/ProfileView.js:
2657         (WebInspector.CPUProfileType.prototype.setRecordingProfile):
2658         (WebInspector.CPUProfileType.prototype.createSidebarTreeElementForProfile):
2659         (WebInspector.CPUProfileType.prototype.createView):
2660         (WebInspector.CPUProfile.prototype.get head):
2661         * inspector/front-end/ProfilesPanel.js:
2662         (WebInspector.ProfileType.prototype.buttonClicked):
2663         (WebInspector.ProfileType.prototype.viewForProfile):
2664         (WebInspector.ProfileType.prototype.createView):
2665         (WebInspector.ProfileType.prototype.createSidebarTreeElementForProfile):
2666         (WebInspector.ProfilesPanel.prototype.addProfileHeader):
2667         (WebInspector.ProfilesPanel.prototype.showProfile):
2668
2669 2009-10-20  Joseph Pecoraro  <joepeck@webkit.org>
2670
2671         Reviewed by Timothy Hatcher.
2672
2673         Web Inspector: Selectors in the Styles pane should trigger a search for that selector when clicked
2674         https://bugs.webkit.org/show_bug.cgi?id=17126
2675
2676         * inspector/front-end/ElementsPanel.js:
2677         (WebInspector.ElementsPanel.prototype.addNodesToSearchResult): only change focusedDOMNode on a manual search
2678         * inspector/front-end/StylesSidebarPane.js:
2679         (WebInspector.StylePropertiesSection.prototype._clickSelector): trigger a search
2680         * inspector/front-end/ElementsTreeOutline.js:
2681         (WebInspector.ElementsTreeElement.prototype._startEditing): correctly start editing attribute value instead of name
2682
2683 2009-10-20  Pavel Feldman  <pfeldman@chromium.org>
2684
2685         Reviewed by Timothy Hatcher.
2686
2687         Web Inspector: Fix DOM Agent leak.
2688
2689         https://bugs.webkit.org/show_bug.cgi?id=30615
2690
2691         * inspector/InspectorController.cpp:
2692         (WebCore::InspectorController::~InspectorController):
2693
2694 2009-10-21  Girish Ramakrishnan  <girish@forwardbias.in>
2695
2696         Reviewed by Holger Freyther.
2697
2698         Plugins: Create manual tests for testing plugins
2699         
2700         Create two test files:
2701         1. windowed.html - Test plugin in windowed mode.
2702         2. windowless.html - Test plugin in windowless mode.
2703
2704         https://bugs.webkit.org/show_bug.cgi?id=30503
2705
2706         * manual-tests/plugins/windowed.html: Added.
2707         * manual-tests/plugins/windowless.html: Added.
2708
2709 2009-10-21  Satoshi Nakagawa  <psychs@limechat.net>
2710
2711         Reviewed by Darin Adler.
2712
2713         Fixed Japanese text search problems.
2714         Treat small kana letters and kana letters as different characters in search.
2715         Do not ignore diacritic marks in search for Japanese texts.
2716
2717         https://bugs.webkit.org/show_bug.cgi?id=30437
2718
2719         Test: fast/text/international/japanese-kana-letters.html
2720
2721         * editing/TextIterator.cpp:
2722         (WebCore::createCollator):
2723         (WebCore::collator):
2724         (WebCore::createSearcher):
2725
2726 2009-10-20  Eric Z. Ayers  <zundel@google.com>
2727
2728         Reviewed by Timothy Hatcher.
2729
2730         Changes TimelineItems to be created with raw timestamps as opposed
2731         to a time relative to a start of session.  Normalized timestamps cause
2732         problems when monitoring a browsing session across multiple page
2733         transitions.
2734
2735         * inspector/InspectorTimelineAgent.cpp:
2736         (WebCore::InspectorTimelineAgent::InspectorTimelineAgent):
2737         (WebCore::InspectorTimelineAgent::willDispatchDOMEvent):
2738         (WebCore::InspectorTimelineAgent::willLayout):
2739         (WebCore::InspectorTimelineAgent::willRecalculateStyle):
2740         (WebCore::InspectorTimelineAgent::willPaint):
2741         (WebCore::InspectorTimelineAgent::willWriteHTML):
2742         (WebCore::InspectorTimelineAgent::reset):
2743         (WebCore::InspectorTimelineAgent::didCompleteCurrentRecord):
2744         * inspector/InspectorTimelineAgent.h:
2745
2746 2009-10-20  Mark Rowe  <mrowe@apple.com>
2747
2748         Reviewed by Oliver Hunt.
2749
2750         Fix leak of WebSocketChannel by adopting the newly-created reference.
2751
2752         * websockets/WebSocketChannel.h:
2753         (WebCore::WebSocketChannel::create):
2754
2755 2009-10-20  Jeremy Orlow  <jorlow@chromium.org>
2756
2757         Reviewed by Adam Barth.
2758
2759         DOM Storage runtime flag changes
2760         https://bugs.webkit.org/show_bug.cgi?id=30602
2761
2762         Part 1/2.  Removing sessionStorageEnabled in next patch after the
2763         Chromium side of the changes lands.
2764
2765         Revert my changes to Settings and instead implement DOM Storage enabling via
2766         the methods agreed upon in https://bugs.webkit.org/show_bug.cgi?id=30240
2767
2768         This stuff was (intentionally) never exposed to web pages or DRT, so there's no
2769         LayoutTest visible changes and thus no tests.
2770
2771         * bindings/v8/custom/V8CustomBinding.h:
2772         * bindings/v8/custom/V8DOMWindowCustom.cpp:
2773         (WebCore::ACCESSOR_RUNTIME_ENABLER):
2774         * page/DOMWindow.idl:
2775         * storage/Storage.cpp:
2776         (WebCore::Storage::setLocalStorageAvailable):
2777         (WebCore::Storage::localStorageAvailable):
2778         (WebCore::Storage::setSessionStorageAvailable):
2779         (WebCore::Storage::sessionStorageAvailable):
2780         * storage/Storage.h:
2781
2782 2009-10-20  John Gregg  <johnnyg@google.com>
2783
2784         Reviewed by David Levin.
2785
2786         Need to turn off notifications properly at runtime
2787         https://bugs.webkit.org/show_bug.cgi?id=30409
2788
2789         This code only affects chromium, and is all behind a compile time
2790         flag current turned off, so no new tests.
2791
2792         * bindings/v8/custom/V8CustomBinding.h:
2793         * bindings/v8/custom/V8DOMWindowCustom.cpp:
2794         (WebCore::ACCESSOR_RUNTIME_ENABLER):
2795         * bindings/v8/custom/V8WorkerContextCustom.cpp:
2796         (WebCore::ACCESSOR_RUNTIME_ENABLER):
2797         * notifications/NotificationCenter.cpp:
2798         (WebCore::NotificationCenter::setIsAvailable):
2799         (WebCore::NotificationCenter::isAvailable):
2800         * notifications/NotificationCenter.h:
2801         * page/DOMWindow.idl:
2802         * workers/WorkerContext.idl:
2803
2804 2009-10-20  James Robinson  <jamesr@chromium.org>
2805
2806         Reviewed by Adam Barth.
2807
2808         Fixes RefPtr initialization in the V8 implementation of WebCore::ScriptString to use the ::create() idiom and
2809         use adoptRef() properly.  I failed to read the RefPtr docs the first time through :(
2810
2811         No new tests, error was caught by valgrind on the Chromium builders.
2812
2813         * bindings/v8/ScriptString.h:
2814         (WebCore::ScriptString::ScriptString):
2815         (WebCore::ScriptString::operator=):
2816         * bindings/v8/ScriptStringImpl.h:
2817         (WebCore::ScriptStringImpl::create):
2818
2819 2009-10-20  Mikhail Naganov  <mnaganov@chromium.org>
2820
2821         Reviewed by Pavel Feldman.
2822
2823         Web Inspector: populate child nodes before sorting them.
2824
2825         https://bugs.webkit.org/show_bug.cgi?id=29673
2826
2827         * inspector/front-end/BottomUpProfileDataGridTree.js:
2828         (WebInspector.BottomUpProfileDataGridNode): Swapped with BottomUpProfileDataGridTree to be consistent with TopDownProfileDataGridNode.
2829         (WebInspector.BottomUpProfileDataGridNode.prototype._takePropertiesFromProfileDataGridNode):
2830         (WebInspector.BottomUpProfileDataGridNode.prototype._keepOnlyChild):
2831         (WebInspector.BottomUpProfileDataGridNode.prototype._exclude):
2832         (WebInspector.BottomUpProfileDataGridNode.prototype._merge):
2833         (WebInspector.BottomUpProfileDataGridNode.prototype._sharedPopulate):
2834         (WebInspector.BottomUpProfileDataGridTree.prototype.exclude):
2835         * inspector/front-end/ProfileDataGridTree.js:
2836         (WebInspector.ProfileDataGridNode.prototype.sort): Added missing parentheses.
2837         (WebInspector.ProfileDataGridNode.prototype.get _parent):
2838         (WebInspector.ProfileDataGridNode.prototype._populate):
2839         * inspector/front-end/TopDownProfileDataGridTree.js:
2840         (WebInspector.TopDownProfileDataGridNode.prototype._sharedPopulate):
2841
2842 2009-10-20  Jens Alfke  <snej@chromium.org>
2843
2844         Reviewed by Eric Seidel.
2845
2846         Remove redundant String ref/deref calls in generated V8 bindings.
2847         https://bugs.webkit.org/show_bug.cgi?id=30579
2848
2849         * bindings/v8/V8Binding.h:
2850         (WebCore::toString): Fix return type of 'toString' to make it truly a no-op
2851             instead of constructing/destructing a String.
2852
2853 2009-10-20  Joanmarie Diggs  <joanmarie.diggs@gmail.com>
2854
2855         Reviewed by Xan Lopez.
2856
2857         https://bugs.webkit.org/show_bug.cgi?id=25411
2858         [GTK] ATK accessible ancestry broken
2859
2860         Work around for the problem of bogus additional objects in the ancestry.
2861         We now set the parent when we ref the child, then ask the Atk child if
2862         it knows its parent. This solves the bulk of the cases. For those it
2863         doesn't, fall back to the existing logic.
2864
2865         * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
2866         (webkit_accessible_get_parent):
2867         (webkit_accessible_ref_child):
2868
2869 2009-10-20  Brian Weinstein  <bweinstein@apple.com>
2870
2871         Reviewed by Alice Liu.
2872
2873         Fixes <http://webkit.org/b/30421>.
2874         Web Inpsector: Local Files can show up on Cookies List with Cookies from other Domain.
2875
2876         When a page like Google generates an about:blank, it shows up as a local file on
2877         the list of Cookie domains, but has all of the cookies of Google. When we are adding
2878         cookie domains to the inspector, we should only add the domain is the URL of the resource
2879         is in the HTTP protocol family or a file URL.
2880
2881         * inspector/InspectorController.cpp:
2882         (WebCore::InspectorController::populateScriptObjects):
2883         (WebCore::InspectorController::didFinishLoading):
2884
2885 2009-10-20  Mark Mentovai  <mark@chromium.org>
2886
2887         Reviewed by Darin Fisher.
2888
2889         Use a version of libWebKitSystemInterface with global symbols marked
2890         private_extern for Chromium Mac.
2891
2892         https://bugs.webkit.org/show_bug.cgi?id=30590
2893
2894         * WebCore.gyp/WebCore.gyp:
2895         * WebCore.gyp/mac: Added.
2896         * WebCore.gyp/mac/Empty.cpp: Added.
2897         * WebCore.gyp/mac/adjust_visibility.sh: Added.
2898
2899 2009-10-20  Zoltan Horvath  <zoltan@webkit.org>
2900
2901         Reviewed by Eric Seidel.
2902
2903         Allow custom memory allocation control for WebCore's CSSProperty
2904         https://bugs.webkit.org/show_bug.cgi?id=30564
2905
2906         Inherits CSSProperty class from FastAllocBase because it has been
2907         instantiated by 'new' in WebCore/css/CSSParser.cpp:367.
2908
2909         * css/CSSProperty.h:
2910
2911 2009-10-20  Andrew Scherkus  <scherkus@chromium.org>
2912
2913         Reviewed by Eric Seidel.
2914
2915         Hide Chromium's media slider thumb if no source has been loaded.
2916
2917         https://bugs.webkit.org/show_bug.cgi?id=30529
2918
2919         Covered by existing layout tests, notably:
2920             LayoutTests/media/controls-rendering.html
2921             LayoutTests/media/unsupported-tracks.html
2922             LayoutTests/media/video-src-none.html
2923
2924         * rendering/RenderMediaControlsChromium.cpp:
2925         (WebCore::hasSource): Returns true if an HTMLMediaElement has a valid source set.
2926         (WebCore::paintMediaMuteButton): Refactored to use hasSource().
2927         (WebCore::paintMediaPlayButton): Ditto.
2928         (WebCore::paintMediaSliderThumb): Add call to hasSource() to determine if we should paint the thumb.
2929
2930 2009-10-20  Nate Chapin  <japhet@chromium.org>
2931
2932         Reviewed by Adam Barth.
2933
2934         Added getter for FrameLoader:m_suppressOpenerInNewFrame.
2935         This will allow Chromium to more intelligently detect
2936         noreferrer links and therefore open them in a new process.
2937
2938         https://bugs.webkit.org/show_bug.cgi?id=30581
2939
2940         * loader/FrameLoader.h:
2941         (WebCore::FrameLoader::suppressOpenerInNewFrame): Added.
2942
2943 2009-10-20  Zoltan Horvath  <zoltan@webkit.org>
2944
2945         Reviewed by Darin Adler.
2946
2947         Allow custom memory allocation control for WebCore's CSSParserFunction
2948         https://bugs.webkit.org/show_bug.cgi?id=30563
2949
2950         Inherits CSSParserFunction struct from FastAllocBase because it has been
2951         instantiated by 'new' in WebCore/css/CSSParser.cpp:4827.
2952
2953         * css/CSSProperty.h:
2954
2955 2009-10-20  Joseph Pecoraro  <joepeck@webkit.org>
2956
2957         Reviewed by Timothy Hatcher.
2958
2959         Web Inspector: Watched Expressions Buttons Do Not Match Inspector Styles
2960         https://bugs.webkit.org/show_bug.cgi?id=30554
2961
2962         * inspector/front-end/inspector.css: added style to pane buttons
2963
2964 2009-10-20  Yury Semikhatsky  <yurys@chromium.org>
2965
2966         Reviewed by Pavel Feldman.
2967
2968         Set debug id for contexts of isolated worlds to distinguish them in debugger.
2969
2970         https://bugs.webkit.org/show_bug.cgi?id=30559
2971
2972         * bindings/v8/V8Proxy.cpp:
2973         (WebCore::V8Proxy::evaluateInIsolatedWorld):
2974         (WebCore::V8Proxy::evaluateInNewContext):
2975         (WebCore::V8Proxy::setInjectedScriptContextDebugId):
2976         * bindings/v8/V8Proxy.h:
2977
2978 2009-10-20  Andras Becsi  <becsi.andras@stud.u-szeged.hu>
2979
2980         Unreviewed buildfix.
2981         [Qt] Add FEGaussianBlur.h and FEGaussianBlur.cpp which were refactored in r49778 to WebCore.pro.
2982
2983         * WebCore.pro:
2984
2985 2009-10-20  Fumitoshi Ukai  <ukai@chromium.org>
2986
2987         Reviewed by David Levin.
2988
2989         Set EnabledAtRuntime for WebSocket in DOMWindow
2990         https://bugs.webkit.org/show_bug.cgi?id=29896
2991
2992         Supported by chromium/v8 only.
2993         Add WebSocket::isAvailable()/setIsAvailable(bool) to control v8
2994         bindings.
2995         Remove Settings::experimentalWebSocketsEnabled() and
2996         setExperimentalWebSocketsEnabled(bool).
2997
2998         * WebCore.base.exp:
2999         * bindings/js/JSDOMWindowCustom.cpp:
3000         (WebCore::JSDOMWindow::webSocket):
3001         * bindings/v8/V8DOMWrapper.cpp:
3002         (WebCore::V8DOMWrapper::getConstructor):
3003         * bindings/v8/custom/V8CustomBinding.h:
3004         * bindings/v8/custom/V8DOMWindowCustom.cpp:
3005         (WebCore::ACCESSOR_RUNTIME_ENABLER):
3006         * page/DOMWindow.idl:
3007         * page/Settings.cpp:
3008         (WebCore::Settings::Settings):
3009         * page/Settings.h:
3010         * websockets/WebSocket.cpp:
3011         (WebCore::WebSocket::setIsAvailable):
3012         (WebCore::WebSocket::isAvailable):
3013         * websockets/WebSocket.h:
3014
3015 2009-10-19  Oliver Hunt  <oliver@apple.com>
3016
3017         Reviewed by Sam Weinig.
3018
3019         REGRESSION: Dromaeo DOM test is 14% slower
3020         https://bugs.webkit.org/show_bug.cgi?id=30273
3021
3022         Whoops, make prototype bindings actually use the StructureFlags.
3023
3024         * bindings/scripts/CodeGeneratorJS.pm:
3025
3026 2009-10-19  James Robinson  <jamesr@chromium.org>
3027
3028         Reviewed by Adam Barth.
3029
3030         Better implementation of WebCore::ScriptString for the V8 bindings.
3031
3032         https://bugs.webkit.org/show_bug.cgi?id=29909
3033
3034         WebCore::ScriptString is used for XMLHttpRequest's responseText attribute which is
3035         shared with JavaScript.  Thus, simply using a WebCore::String and copying the value
3036         is pretty inefficient, especially since responseText is built up with a sequence of
3037         operator+= calls.  JSC builds use a JSC::UString to share the buffer when possible,
3038         this patch adopts a similar approach for V8.
3039
3040         No new tests, behavior is unchanged and covered by LayoutTests/http/tests/xmlhttprequest
3041
3042         * WebCore.gypi:
3043         * bindings/v8/ScriptString.h:
3044         (WebCore::ScriptString::ScriptString):
3045         (WebCore::ScriptString::operator String):
3046         (WebCore::ScriptString::isNull):
3047         (WebCore::ScriptString::size):
3048         (WebCore::ScriptString::operator=):
3049         (WebCore::ScriptString::operator+=):
3050         (WebCore::ScriptString::v8StringOrNull):
3051         * bindings/v8/ScriptStringImpl.cpp: Added.
3052         (WebCore::ScriptStringImpl::ScriptStringImpl):
3053         (WebCore::ScriptStringImpl::~ScriptStringImpl):
3054         (WebCore::ScriptStringImpl::toString):
3055         (WebCore::ScriptStringImpl::isNull):
3056         (WebCore::ScriptStringImpl::size):
3057         (WebCore::ScriptStringImpl::append):
3058         * bindings/v8/ScriptStringImpl.h: Added.
3059         (WebCore::ScriptStringImpl::ScriptStringImpl):
3060         (WebCore::ScriptStringImpl::v8StringHandle):
3061         * bindings/v8/custom/V8XMLHttpRequestCustom.cpp:
3062         (WebCore::ACCESSOR_GETTER):
3063
3064 2009-10-19  Adam Barth  <abarth@webkit.org>
3065
3066         No review, rolling out r49837.
3067         http://trac.webkit.org/changeset/49837
3068
3069         * page/Settings.cpp:
3070         (WebCore::Settings::setStandardFontFamily):
3071         (WebCore::Settings::setFixedFontFamily):
3072         (WebCore::Settings::setSerifFontFamily):
3073         (WebCore::Settings::setSansSerifFontFamily):
3074         (WebCore::Settings::setCursiveFontFamily):
3075         (WebCore::Settings::setFantasyFontFamily):
3076         * page/Settings.h:
3077         (WebCore::Settings::standardFontFamily):
3078         (WebCore::Settings::fixedFontFamily):
3079         (WebCore::Settings::serifFontFamily):
3080         (WebCore::Settings::sansSerifFontFamily):
3081         (WebCore::Settings::cursiveFontFamily):
3082         (WebCore::Settings::fantasyFontFamily):
3083         * platform/text/UScriptCode.h: Removed.
3084
3085 2009-10-19  Kwang Yul Seo  <skyul@company100.net>
3086
3087         Reviewed by Eric Seidel.
3088
3089         Check COMPILER(MSVC) instead of PLATFORM(WIN_OS) to avoid the use of vasprintf.
3090         https://bugs.webkit.org/show_bug.cgi?id=30473
3091
3092         vasprintf is missing in MSVC. Use COMPILER(MSVC) guards instead of
3093         PLALTFORM(WIN_OS) guards.
3094
3095         * dom/XMLTokenizerLibxml2.cpp:
3096         (WebCore::XMLTokenizer::error):
3097
3098 2009-10-19  Jungshik Shin  <jshin@chromium.org>
3099
3100         Reviewed by Eric Seidel.
3101
3102         https://bugs.webkit.org/show_bug.cgi?id=20797
3103
3104         Make generic font family getters/setters accept an additional
3105         argument (script code). It has a default value so that if an embedder
3106         does not have/want a per-script font family setting, call-sites
3107         don't have to be changed.
3108         This is to prepare for fixing bug 10874 (font selection is not
3109         language-dependent) and bug 18085.
3110
3111         There should be no change in layout and no new layout test
3112         is added.
3113
3114         * WebCore.base.exp:
3115         * page/Settings.cpp:
3116         * page/Settings.h:
3117         * platform/text/UScriptCode.h: Added. This is for ports that
3118           do not use ICU. the part of ICU's common/unicode/uscript.h
3119           that defines script code enum was copied. To keep enums compatible
3120           with those in ICU, we don't generate the list out of Scripts.txt
3121           of the Unicode Data base or CLDR's data.
3122
3123 2009-10-19  Evan Stade  <estade@chromium.org>
3124
3125         Reviewed by Darin Adler.
3126
3127         Clarify usage of SuddenTermination API. No code change.
3128
3129         * platform/SuddenTermination.h:
3130
3131 2009-10-19  Oliver Hunt  <oliver@apple.com>
3132
3133         Reviewed by Gavin Barraclough.
3134
3135         REGRESSION: Dromaeo DOM test is 14% slower
3136         https://bugs.webkit.org/show_bug.cgi?id=30273
3137
3138         Make DOM bindings automatically inherit correct structure
3139         flags rather than being needlessly conservative.  This is
3140         done by making the bindings generator use the same model
3141         for TypeInfo flags that we now use in JSC.
3142
3143         This gains us about 1% of this regression back.
3144
3145         * bindings/js/JSDOMBinding.h:
3146         (WebCore::DOMObjectWithGlobalPointer::createStructure):
3147         (WebCore::DOMConstructorObject::createStructure):
3148         * bindings/js/JSDOMWindowShell.h:
3149         (WebCore::JSDOMWindowShell::createStructure):
3150         * bindings/js/JSHTMLAllCollection.h:
3151         (WebCore::JSHTMLAllCollection::createStructure):
3152         * bindings/js/JSQuarantinedObjectWrapper.h:
3153         (WebCore::JSQuarantinedObjectWrapper::createStructure):
3154         * bindings/scripts/CodeGeneratorJS.pm:
3155         * bridge/objc/objc_runtime.h:
3156         (JSC::Bindings::ObjcFallbackObjectImp::createStructure):
3157         * bridge/runtime_array.h:
3158         (JSC::RuntimeArray::createStructure):
3159         * bridge/runtime_method.h:
3160         (JSC::RuntimeMethod::createStructure):
3161         * bridge/runtime_object.h:
3162         (JSC::RuntimeObjectImp::createStructure):
3163
3164 2009-10-19  Robin Qiu  <robin.qiu@torchmobile.com.cn>
3165
3166         Reviewed by Nikolas Zimmermann.
3167
3168         Fixed a bug on nested SVG <use> elements.
3169         https://bugs.webkit.org/show_bug.cgi?id=26117
3170         When a <use> element refer to another <use> element which has
3171         child/children, the instance tree built for this <use> element
3172         is incorrect (more nodes than expected).
3173
3174         Test: svg/dom/use-on-use-with-child.svg
3175
3176         * svg/SVGUseElement.cpp:
3177         (WebCore::SVGUseElement::buildInstanceTree):
3178
3179 2009-10-19  Oliver Hunt  <oliver@apple.com>
3180
3181         Small changes to fully invalidate and update the JavaScriptCallFrame.
3182
3183         <rdar://problem/7020755> JSDebugger crashes after reloading from a breakpoint
3184         https://bugs.webkit.org/show_bug.cgi?id=27146
3185
3186         Reviewed by Timothy Hatcher.
3187
3188         * inspector/JavaScriptCallFrame.h:
3189         (WebCore::JavaScriptCallFrame::invalidate):
3190         (WebCore::JavaScriptCallFrame::update):
3191
3192 2009-10-19  Jeremy Orlow  <jorlow@chromium.org>
3193
3194         Reviewed by Dmitri Titov.
3195
3196         Remove "source" from storage events
3197         https://bugs.webkit.org/show_bug.cgi?id=30536
3198
3199         Remove "source" from storage events per
3200         http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-October/023703.html
3201
3202         This was removed because it makes it introduces synchronous access that can
3203         cross the event loop boundry (since a storage event can fire from one process
3204         and be handled in another).
3205
3206         * inspector/InspectorDOMStorageResource.cpp:
3207         (WebCore::InspectorDOMStorageResource::handleEvent):
3208         * storage/StorageEvent.cpp:
3209         (WebCore::StorageEvent::create):
3210         (WebCore::StorageEvent::StorageEvent):
3211         (WebCore::StorageEvent::initStorageEvent):
3212         * storage/StorageEvent.h:
3213         (WebCore::StorageEvent::uri):
3214         * storage/StorageEvent.idl:
3215         * storage/StorageEventDispatcher.cpp:
3216         (WebCore::StorageEventDispatcher::dispatch):
3217
3218 2009-10-19  Adam Barth  <abarth@webkit.org>
3219
3220         Reviewed by Eric Seidel.
3221
3222         Remove ResourceLoadNotifier::activeDocumentLoader
3223         https://bugs.webkit.org/show_bug.cgi?id=30533
3224
3225         Removing this method from ResourceLoadNotifier better decouples the
3226         notifier from FrameLoader.
3227
3228         * loader/FrameLoader.cpp:
3229         (WebCore::FrameLoader::continueLoadAfterWillSubmitForm):
3230         (WebCore::FrameLoader::requestFromDelegate):
3231         * loader/ResourceLoadNotifier.cpp:
3232         (WebCore::ResourceLoadNotifier::didReceiveResponse):
3233         * loader/ResourceLoadNotifier.h:
3234         * loader/ResourceLoader.cpp:
3235         (WebCore::ResourceLoader::willSendRequest):
3236
3237 2009-10-19  Adam Barth  <abarth@webkit.org>
3238
3239         Reviewed by Eric Seidel.
3240
3241         Move sendRemainingDelegateMessages to ResourceLoadNotifier
3242         https://bugs.webkit.org/show_bug.cgi?id=30531
3243
3244         This method is about notifying folks and doesn't interact with the rest
3245         of FrameLoader.
3246
3247         * loader/FrameLoader.cpp:
3248         (WebCore::FrameLoader::willLoadMediaElementURL):
3249         (WebCore::FrameLoader::commitProvisionalLoad):
3250         (WebCore::FrameLoader::loadResourceSynchronously):
3251         (WebCore::FrameLoader::loadedResourceFromMemoryCache):
3252         * loader/FrameLoader.h:
3253         * loader/ResourceLoadNotifier.cpp:
3254         (WebCore::ResourceLoadNotifier::sendRemainingDelegateMessages):
3255         * loader/ResourceLoadNotifier.h:
3256
3257 2009-10-19  Adam Barth  <abarth@webkit.org>
3258
3259         Reviewed by Eric Seidel.
3260
3261         Bypass popup blocker using click event
3262         https://bugs.webkit.org/show_bug.cgi?id=21501
3263
3264         Keep track of which events were generated by JavaScript and use that
3265         inforation when figuring out if we're processing a user gesture.
3266
3267         Test: http/tests/security/popup-blocked-from-fake-event.html
3268
3269         * bindings/js/ScriptController.cpp:
3270         (WebCore::ScriptController::processingUserGestureEvent):
3271         * bindings/v8/ScriptController.cpp:
3272         (WebCore::ScriptController::processingUserGesture):
3273         * dom/Document.cpp:
3274         (WebCore::Document::createEvent):
3275         * dom/Event.cpp:
3276         (WebCore::Event::Event):
3277         * dom/Event.h:
3278         (WebCore::Event::createdByDOM):
3279         (WebCore::Event::setCreatedByDOM):
3280
3281 2009-10-19  Dumitru Daniliuc  <dumi@chromium.org>
3282
3283         Reviewed by Darin Adler.
3284
3285         Fixing a typo.
3286
3287         https://bugs.webkit.org/show_bug.cgi?id=30543
3288
3289         * platform/sql/SQLiteDatabase.h:
3290
3291 2009-10-19  Dmitry Titov  <dimich@chromium.org>
3292
3293         Reviewed by Darin Adler.
3294
3295         Manual Test for crash caused by JS accessing DOMWindow which is disconnected from the Frame.
3296         https://bugs.webkit.org/show_bug.cgi?id=30544
3297
3298         * manual-tests/crash-on-accessing-domwindow-without-frame.html: Added.
3299
3300 2009-10-19  Simon Fraser  <simon.fraser@apple.com>
3301
3302         Reviewed by Darin Adler.
3303
3304         Flash at end of opacity/transform transition sometimes
3305         https://bugs.webkit.org/show_bug.cgi?id=30501
3306         
3307         When a transition finishes, there window of time between when the animation is
3308         removed, and the final style set on the GraphicsLayer. This caused the layer to revert
3309         to its old appearance for one or two frames. To avoid this, we set the final
3310         transform or opacity at the start of the transition; we know that the animation
3311         will override the final value for as long as its running.
3312         
3313         No test because this is a very transient effect that can't be captured
3314         in a test.
3315
3316         * rendering/RenderLayerBacking.cpp:
3317         (WebCore::RenderLayerBacking::createGraphicsLayer):
3318         (WebCore::RenderLayerBacking::updateLayerOpacity):
3319         (WebCore::RenderLayerBacking::updateLayerTransform):
3320         (WebCore::RenderLayerBacking::updateGraphicsLayerGeometry):
3321         (WebCore::RenderLayerBacking::startTransition):
3322         * rendering/RenderLayerBacking.h:
3323
3324 2009-10-19  Pavel Feldman  <pfeldman@chromium.org>
3325
3326         Reviewed by Timothy Hatcher.
3327
3328         Web Inspector: Add more stop characters into console completions.
3329
3330         https://bugs.webkit.org/show_bug.cgi?id=30477
3331
3332         * inspector/front-end/ConsoleView.js:
3333         (WebInspector.ConsoleView.prototype.completions):
3334         (WebInspector.ConsoleView.prototype._reportCompletions):
3335
3336 2009-10-19  Marshall Culpepper  <mculpepper@appcelerator.com>
3337
3338         Reviewed by Adam Roben.
3339
3340         implemented ClipboardWin::files()
3341         https://bugs.webkit.org/show_bug.cgi?id=29666
3342
3343         * platform/win/ClipboardWin.cpp:
3344         (WebCore::ClipboardWin::files):
3345
3346 2009-10-19  Nate Chapin  <japhet@chromium.org>
3347
3348         Reviewed by Alexey Proskuryakov.
3349
3350         Add support for link relations in HTMLAnchorElement and implement rel="noreferrer".
3351
3352         https://bugs.webkit.org/show_bug.cgi?id=28986
3353
3354         Tests: http/tests/navigation/no-referrer-reset.html
3355                http/tests/navigation/no-referrer-same-window.html
3356                http/tests/navigation/no-referrer-subframe.html
3357                http/tests/navigation/no-referrer-target-blank.html
3358
3359         * WebCore.base.exp: Update FrameLoader::loadFrameRequest export symbol
3360         * html/HTMLAnchorElement.cpp: Add support for link relations and implement noreferrer
3361         (WebCore::HTMLAnchorElement::HTMLAnchorElement):
3362         (WebCore::HTMLAnchorElement::defaultEventHandler):
3363         (WebCore::HTMLAnchorElement::parseMappedAttribute):
3364         (WebCore::HTMLAnchorElement::hasRel):
3365         (WebCore::HTMLAnchorElement::setRel):
3366         * html/HTMLAnchorElement.h: Add support for link relations and implement noreferrer
3367         * loader/FrameLoader.cpp:
3368         (WebCore::FrameLoader::FrameLoader):
3369         (WebCore::FrameLoader::createWindow):
3370         (WebCore::FrameLoader::changeLocation):
3371         (WebCore::FrameLoader::urlSelected): Add parameter for referrer policy
3372         (WebCore::FrameLoader::loadFrameRequest): Add parameter for referrer policy
3373         (WebCore::FrameLoader::continueLoadAfterNewWindowPolicy): Suppress opener if requested by ReferrerPolicy
3374         * loader/FrameLoader.h: Update urlSelected and loadFrameRequest prototypes
3375         * loader/FrameLoaderTypes.h: Add enum for referrer policy
3376         * loader/RedirectScheduler.cpp:
3377         (WebCore::RedirectScheduler::timerFired):
3378         * page/ContextMenuController.cpp:
3379         (WebCore::ContextMenuController::contextMenuItemSelected): Update call to urlSelected()
3380         * svg/SVGAElement.cpp:
3381         (WebCore::SVGAElement::defaultEventHandler): Update call to urlSelected()
3382
3383
3384 2009-10-19  Alpha Lam  <hclam@chromium.org>
3385
3386         Reviewed by Dimitri Glazkov (dglazkov@chromium.org).
3387
3388         [v8] typeof(HTMLMediaElement) should return undefined if media
3389         engine is not available
3390         https://bugs.webkit.org/show_bug.cgi?id=30343
3391
3392         Check for availability of the media engine to disable
3393         HTMLMediaElement, HTMLAudioElement, HTMLVideoElement, MediaError
3394         in runtime.
3395
3396         Try runs and review in Chromium:
3397         http://codereview.chromium.org/276011
3398
3399         Test: manual-tests/chromium/media-player-not-available.html
3400
3401         The above test can work work in Chromium. Testing procedures:
3402         1. Remove all media support libraries in Chromium (e.g. ffmpeg libraries)
3403         2. Open Chromium with above test page
3404         3. Verify the test results according to the test page
3405
3406         * bindings/v8/custom/V8CustomBinding.h:
3407         Declare enabler methods.
3408         * bindings/v8/custom/V8DOMWindowCustom.cpp:
3409         Report enabled only if media player is available.
3410         * manual-tests/chromium/media-player-not-available.html: Added.
3411         Manual test, following instruction in this test for procedures.
3412         * page/DOMWindow.idl:
3413         Mark HTMLMediaElement, HTMLAudioElement, HTMLVideElement, MediaError
3414         as enabled at runtime.
3415
3416 2009-10-19  Kenneth Rohde Christiansen  <kenneth@webkit.org>
3417
3418         Reviewed by David Hyatt.
3419
3420         Refactor out some of the code in paint() into paintPanScrollIcon()
3421         and paintScrollbars() in preparation of some Qt API changes.
3422
3423         * platform/ScrollView.cpp:
3424         (WebCore::ScrollView::paint):
3425         * platform/ScrollView.h:
3426
3427 2009-10-19  Kenneth Rohde Christiansen  <kenneth@webkit.org>
3428
3429         Reviewed by Adam Roben.
3430
3431         Make the local static panScrollIcon into a Image* instead
3432         of a RefPtr<Image>.
3433
3434         * platform/ScrollView.cpp:
3435         (WebCore::ScrollView::wheelEvent):
3436
3437 2009-10-19  Andrew Scherkus  <scherkus@chromium.org>
3438
3439         Reviewed by David Levin.
3440
3441         Forcefully set antialiasing for Chromium media controls.
3442
3443         https://bugs.webkit.org/show_bug.cgi?id=30521
3444
3445         Before it was nondeterministiacally being enabled based on the previous state of GraphicsContext.
3446
3447         Covered by existing layout tests.
3448
3449         * rendering/RenderMediaControlsChromium.cpp:
3450         (WebCore::paintMediaSlider): Added setShouldAntialias(true).
3451
3452 2009-10-19  Jens Alfke  <jens@mooseyard.com>
3453
3454         Reviewed by Darin Adler.
3455
3456         Optimize string upper/lowercasing
3457         https://bugs.webkit.org/show_bug.cgi?id=30261
3458         
3459         - Added AtomicString::upper() and lower()
3460         - Further optimized StringImpl::lower()
3461         - Removed StringImpl::isLower()
3462         - Added QualifiedName::localNameUpper(), which is cached, thereby saving
3463           thousands of upper() calls and string allocations.
3464  
3465          * dom/Element.cpp:
3466          (WebCore::Element::setAttribute): Call AtomicString::lower()
3467          * dom/QualifiedName.cpp:
3468          (WebCore::QualifiedName::localNameUpper): New method
3469          * dom/QualifiedName.h: Added localNameUpper() method
3470          * dom/StyledElement.cpp:
3471          (WebCore::StyledElement::parseMappedAttribute):  Call AtomicString::lower()
3472          * html/HTMLDocument.cpp:
3473          (WebCore::HTMLDocument::createElement): Call AtomicString::lower()
3474          * html/HTMLElement.cpp:
3475          (WebCore::HTMLElement::nodeName): Call localNameUpper()
3476          * platform/text/AtomicString.cpp:
3477          (WebCore::AtomicString::lower): New method
3478          (WebCore::AtomicString::upper): New method
3479          * platform/text/AtomicString.h: Added lower() and upper()
3480          * platform/text/StringImpl.cpp: Removed isLower()
3481          (WebCore::StringImpl::lower): Further optimization of initial loop
3482          * platform/text/StringImpl.h: Removed isLower()
3483  
3484 2009-10-19  Nate Chapin  <japhet@chromium.org>
3485
3486         Reviewed by Adam Barth.
3487
3488         If a call to a plugin's invokeMethod, invokeDefault or construct
3489         returns false, throw an exception into JS.        
3490
3491         https://bugs.webkit.org/show_bug.cgi?id=30239
3492
3493         Test: plugins/netscape-invoke-failure.html
3494
3495         * bindings/v8/V8NPObject.cpp: Check return values of invokeMethod, invokeDefault and construct.
3496         (npObjectInvokeImpl):
3497         * bridge/c/c_instance.cpp:
3498         (JSC::Bindings::CInstance::invokeMethod): Check return value
3499         (JSC::Bindings::CInstance::invokeDefaultMethod): Check return value
3500         (JSC::Bindings::CInstance::invokeConstruct): Check return value
3501
3502 2009-10-16  Stephen White  <senorblanco@chromium.org>
3503
3504         Reviewed by Adam Barth.
3505
3506         Fix for chromium/skia canvas arc start/end positions, when the arc is
3507         >= 360 degrees.
3508         https://bugs.webkit.org/show_bug.cgi?id=30449
3509
3510         Covered by new test:
3511         LayoutTests/fast/canvas/arc360.html
3512
3513         * platform/graphics/skia/PathSkia.cpp:
3514         (WebCore::Path::addArc):
3515
3516 2009-10-19  Kent Tamura  <tkent@chromium.org>
3517
3518         Reviewed by Alexey Proskuryakov.
3519
3520         Fix uninitialized variable reference in Element::removeAttribute().
3521         https://bugs.webkit.org/show_bug.cgi?id=30502
3522
3523         * dom/Element.cpp:
3524         (WebCore::Element::removeAttribute):
3525
3526 2009-10-19  Eric Carlson  <eric.carlson@apple.com>
3527
3528         Reviewed by Simon Fraser.
3529
3530         https://bugs.webkit.org/show_bug.cgi?id=30463
3531         Remove HTML5 media element 'loadend' event
3532
3533         * dom/EventNames.h:
3534         * html/HTMLMediaElement.cpp:
3535         (WebCore::HTMLMediaElement::parseMappedAttribute): Remove 'loadend'.
3536         (WebCore::HTMLMediaElement::loadInternal): Ditto.
3537         (WebCore::HTMLMediaElement::noneSupported): Ditto.
3538         (WebCore::HTMLMediaElement::mediaEngineError): Ditto.
3539         (WebCore::HTMLMediaElement::setNetworkState): Ditto.
3540         (WebCore::HTMLMediaElement::userCancelledLoad): Ditto.
3541
3542 2009-10-19  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
3543
3544         Reviewed by Adam Barth.
3545
3546         [Qt] Remove deletion of outgoing FormData object when reply is finished.
3547         The buffers will be destroyed a bit later, when the QNetworkReply is deleted.
3548         Bug: https://bugs.webkit.org/show_bug.cgi?id=29551
3549
3550         * platform/network/qt/QNetworkReplyHandler.cpp:
3551         * platform/network/qt/QNetworkReplyHandler.h:
3552
3553 2009-10-19  Dimitri Glazkov  <dglazkov@chromium.org>
3554
3555         Reviewed by Darin Adler.
3556
3557         Fix hard-to-reproduce crash in HTMLTokenizer by avoiding a rare
3558         fastRealloc edge case.
3559         https://bugs.webkit.org/show_bug.cgi?id=29313
3560
3561         No test, the crash shows up occasionally in crash dumps, we weren't able
3562         to reproduce it locally.
3563
3564         * html/HTMLTokenizer.cpp:
3565         (WebCore::HTMLTokenizer::enlargeScriptBuffer): Added an early exit to
3566             avoid calling fastRealloc with the size of 0.
3567
3568 2009-10-19  Andrew Scherkus  <scherkus@chromium.org>
3569
3570         Reviewed by Eric Seidel.
3571
3572         Use fillRect() instead of drawRect() to fix Chromium media controls rendering.
3573
3574         https://bugs.webkit.org/show_bug.cgi?id=30371
3575
3576         Chromium Mac layout tests will need to be rebaselined.  Existing layout tests for Linux/Win still pass.
3577
3578         * rendering/RenderMediaControlsChromium.cpp:
3579         (WebCore::paintMediaSlider): Use fillRect() instead of drawRect().
3580
3581 2009-10-19  Dmitry Titov  <dimich@chromium.org>
3582
3583         Reviewed by Adam Barth.
3584
3585         Crash in DOMWindow::clearTimeout etc when DOMWindow is not connected to a frame.
3586         https://bugs.webkit.org/show_bug.cgi?id=29832
3587
3588         Need to make sure the script caches are reset when frame gets disconnected from still-alive DOMWindow.
3589         This will prevent JS from calling DOMWindow methods that can not be completed w/o the frame.
3590
3591         I am not sure it's possible to test this since the only file that repros the problem need ~10 seconds to cause crash.
3592
3593         * page/Frame.cpp:
3594         (WebCore::Frame::~Frame): Right after frame disconnects from DOMWindow, clear WindowShell.
3595
3596 2009-10-19  Csaba Osztrogonác  <ossy@webkit.org>
3597
3598         Unreviewed build warning fix.
3599         [Qt] Apply changes to WebCore.pro introduced in r49778
3600
3601         * WebCore.pro: Removed svg/graphics/filters/SVGFEGaussianBlur.h from HEADERS
3602
3603 2009-10-19  Dirk Schulze  <krit@webkit.org>
3604
3605         Reviewed by Darin Adler.
3606
3607         Move feGaussianBlur from WebCore/svg to WebCore/platform
3608         [https://bugs.webkit.org/show_bug.cgi?id=30495]
3609
3610         This patch moves SVGFRGaussianBlur from svg/graphics/filters
3611         to platform/graphics/filters/FEGaussianBlur. This is needed
3612         for shadow support on Qt and Cairo.
3613         No change in functionality, therfore no new test case needed.