ChangeLog 3.34 MB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
2011-10-04  Cary Clark  <caryclark@google.com>

        Apply color profile found to decoded bitmap (Skia on Mac)
        https://bugs.webkit.org/show_bug.cgi?id=69144
        This fixes http://code.google.com/p/chromium/issues/detail?id=97830

        Reviewed by Stephen White.

        No new tests. This platform is not enabled.

        * platform/image-decoders/ImageDecoder.h:
        Add color profile slot to Skia variation.

        * platform/image-decoders/skia/ImageDecoderSkia.cpp:
        (WebCore::resolveColorSpace):
        Adjust the bitmap in place to use the supplied color space.

        (WebCore::createColorSpace):
        Create a CGColorSpace from a color profile.

        (WebCore::ImageFrame::setColorProfile):
        Save the image's color profile until the image is complete.

        (WebCore::ImageFrame::setStatus):
        Apply the color profile, if any, to the image.

27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
2011-10-04  Leandro Pereira  <leandro@profusion.mobi>

        [CMake] Unreviewed: pass feature definitions in the right format for the CSS scripts.

        The Perl scripts in the css/ directory expect the definitions passed via
        --defines to be a string of space-separated entries, however we were passing a
        list of semicolon-separated strings, thus making all feature defines actually
        be ignored.

        Detected after r96433, which checked for some definitions in
        CSSPropertyNames.in.

        No new tests, this is a build fix.

        * CMakeLists.txt:

43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89
2011-10-04  Pavel Feldman  <pfeldman@google.com>

        Web Inspector: make SourceFrame compile.
        https://bugs.webkit.org/show_bug.cgi?id=69345

        Reviewed by Yury Semikhatsky.

        * inspector/compile-front-end.sh:
        * inspector/front-end/DOMAgent.js:
        (WebInspector.DOMAgent.prototype.inspectElement):
        (WebInspector.DOMDispatcher.prototype.inspectElementRequested):
        * inspector/front-end/ElementsPanel.js:
        (WebInspector.ElementsPanel.prototype._inspectElementRequested):
        * inspector/front-end/ObjectPropertiesSection.js:
        (WebInspector.ObjectPropertyTreeElement.prototype._contextMenuEventFired):
        (WebInspector.ObjectPropertyTreeElement.prototype.startEditing):
        * inspector/front-end/ResourcesPanel.js:
        (WebInspector.ResourcesPanel.prototype._applyDiffMarkup):
        * inspector/front-end/SourceFrame.js:
        (WebInspector.SourceFrame.prototype._onShowPopover.showObjectPopover):
        (WebInspector.SourceFrame.prototype._onShowPopover):
        (WebInspector.SourceFrame.prototype._editBreakpointCondition):
        (WebInspector.SourceFrame.prototype.startEditing):
        (WebInspector.SourceFrame.prototype.commitEditing.didEditContent):
        (WebInspector.SourceFrame.prototype.commitEditing):
        (WebInspector.SourceFrameDelegate.prototype.requestContent):
        (WebInspector.SourceFrameDelegate.prototype.debuggingSupported):
        (WebInspector.SourceFrameDelegate.prototype.setBreakpoint):
        (WebInspector.SourceFrameDelegate.prototype.removeBreakpoint):
        (WebInspector.SourceFrameDelegate.prototype.updateBreakpoint):
        (WebInspector.SourceFrameDelegate.prototype.findBreakpoint):
        (WebInspector.SourceFrameDelegate.prototype.continueToLine):
        (WebInspector.SourceFrameDelegate.prototype.canEditScriptSource):
        (WebInspector.SourceFrameDelegate.prototype.setScriptSource):
        (WebInspector.SourceFrameDelegate.prototype.setScriptSourceIsBeingEdited):
        (WebInspector.SourceFrameDelegate.prototype.debuggerPaused):
        (WebInspector.SourceFrameDelegate.prototype.evaluateInSelectedCallFrame):
        (WebInspector.SourceFrameDelegate.prototype.releaseEvaluationResult):
        (WebInspector.SourceFrameDelegate.prototype.suggestedFileName):
        * inspector/front-end/externs.js:
        (WebInspector.log):
        * inspector/front-end/inspector.js:
        (WebInspector.log.logMessage):
        (WebInspector.log):
        * inspector/front-end/utilities.js:
        ():

90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109
2011-10-04  Mikhail Naganov  <mnaganov@chromium.org>

        Web Inspector: Factor out object properties popup.
        https://bugs.webkit.org/show_bug.cgi?id=69234

        Also, for HTML elements, show a non-empty id value in the element name.

        Reviewed by Pavel Feldman.

        * WebCore.gypi:
        * WebCore.vcproj/WebCore.vcproj:
        * inspector/front-end/ObjectPopoverHelper.js: Added.
        * inspector/front-end/SourceFrame.js: Extracted from here.
        (WebInspector.SourceFrame.prototype._initializeTextViewer):
        (WebInspector.SourceFrame.prototype._mouseDown):
        (WebInspector.SourceFrame.prototype._onShowPopover.showObjectPopover):
        (WebInspector.SourceFrame.prototype._onShowPopover):
        * inspector/front-end/WebKit.qrc:
        * inspector/front-end/inspector.html:

110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159
2011-10-04  Pavel Feldman  <pfeldman@google.com>

        Web Inspector: compile text editor.
        https://bugs.webkit.org/show_bug.cgi?id=69339

        Drive-by compilation for color, database and dom storage entities.

        Reviewed by Yury Semikhatsky.

        * inspector/Inspector.json:
        * inspector/compile-front-end.sh:
        * inspector/front-end/Color.js:
        (WebInspector.Color.prototype._individualRGBValueToFloatValue):
        * inspector/front-end/KeyboardShortcut.js:
        (WebInspector.KeyboardShortcut.makeKey):
        (WebInspector.KeyboardShortcut.makeKeyFromEvent):
        (WebInspector.KeyboardShortcut.makeDescriptor):
        * inspector/front-end/SourceCSSTokenizer.js:
        * inspector/front-end/SourceCSSTokenizer.re2js:
        * inspector/front-end/SourceHTMLTokenizer.js:
        * inspector/front-end/SourceHTMLTokenizer.re2js:
        * inspector/front-end/SourceJavaScriptTokenizer.js:
        * inspector/front-end/SourceJavaScriptTokenizer.re2js:
        * inspector/front-end/SourceTokenizer.js:
        (WebInspector.SourceTokenizer.prototype._charAt):
        (WebInspector.SourceTokenizer.prototype.createInitialCondition):
        (WebInspector.SourceTokenizer.prototype.nextToken):
        * inspector/front-end/TextEditorHighlighter.js:
        (WebInspector.TextEditorHighlighter.prototype.highlight):
        (WebInspector.TextEditorHighlighter.prototype._highlightLines):
        * inspector/front-end/TextEditorModel.js:
        * inspector/front-end/TextViewer.js:
        (WebInspector.TextViewerDelegate.prototype.doubleClick):
        (WebInspector.TextViewerDelegate.prototype.beforeTextChanged):
        (WebInspector.TextViewerDelegate.prototype.afterTextChanged):
        (WebInspector.TextViewerDelegate.prototype.commitEditing):
        (WebInspector.TextViewerDelegate.prototype.cancelEditing):
        (WebInspector.TextViewerDelegate.prototype.populateLineGutterContextMenu):
        (WebInspector.TextViewerDelegate.prototype.populateTextAreaContextMenu):
        (WebInspector.TextViewerDelegate.prototype.suggestedFileName):
        (WebInspector.TextEditorMainPanel.prototype._enclosingLineRowOrSelf):
        (WebInspector.TextEditorMainPanel.prototype._createLink):
        (WebInspector.TextEditorMainPanel.prototype._applyDomUpdates):
        (WebInspector.TextEditorMainPanel.prototype._updateChunksForRanges):
        * inspector/front-end/externs.js:
        (WebInspector.completeURL):
        (window.getComputedStyle):
        (Event.prototype.initWebKitWheelEvent):
        * inspector/front-end/utilities.js:

160 161 162 163 164 165 166 167 168 169 170
2011-10-04  Vsevolod Vlasov  <vsevik@chromium.org>

        Web Inspector: Timeline panel shortcut for filtering short records should have shorter description.
        https://bugs.webkit.org/show_bug.cgi?id=69333

        Reviewed by Pavel Feldman.

        * English.lproj/localizedStrings.js:
        * inspector/front-end/TimelinePanel.js:
        (WebInspector.TimelinePanel.prototype._registerShortcuts):

171 172 173 174 175 176 177 178 179 180 181 182 183 184 185
2011-10-04  Andreas Kling  <kling@webkit.org>

        Shrink StyleRareNonInheritedData.
        https://bugs.webkit.org/show_bug.cgi?id=69331

        Reviewed by Antti Koivisto.

        Rearrange the members and move all small types into the bitfield.
        This shrinks StyleRareNonInheritedData by two CPU words, reducing memory
        consumption by 140 kB (on 64-bit) when loading the full HTML5 spec.

        * rendering/style/StyleRareNonInheritedData.cpp:
        (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
        * rendering/style/StyleRareNonInheritedData.h:

186 187 188 189 190 191 192 193 194 195 196 197
2011-10-04  Vsevolod Vlasov  <vsevik@chromium.org>

        Web Inspector: Remove http/tests/inspector/network/disabled-cache-crash.html.
        https://bugs.webkit.org/show_bug.cgi?id=69332

        Reviewed by Pavel Feldman.

        * WebCore.exp.in:
        * testing/Internals.cpp:
        * testing/Internals.h:
        * testing/Internals.idl:

198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238
2011-10-04  Pavel Feldman  <pfeldman@chromium.org>

        Web Inspector: make DataGrid compile
        https://bugs.webkit.org/show_bug.cgi?id=69334

        Reviewed by Yury Semikhatsky.

        * inspector/compile-front-end.sh:
        * inspector/front-end/DataGrid.js:
        (WebInspector.DataGrid):
        (WebInspector.DataGrid.prototype._startEditingColumnOfDataGridNode):
        (WebInspector.DataGrid.prototype._startEditing):
        (WebInspector.DataGrid.prototype._startEditingConfig):
        (WebInspector.DataGrid.prototype._editingCommitted.moveToNextIfNeeded):
        (WebInspector.DataGrid.prototype._editingCommitted):
        (WebInspector.DataGrid.prototype._editingCancelled):
        (WebInspector.DataGrid.prototype.removeChildrenRecursive):
        (WebInspector.DataGrid.prototype._keyDown):
        (WebInspector.DataGrid.prototype._startResizerDragging):
        (WebInspector.DataGrid.prototype._resizerDragging):
        (WebInspector.DataGrid.prototype._endResizerDragging):
        (WebInspector.DataGridNode.prototype._attach):
        * inspector/front-end/UIUtils.js:
        (WebInspector.isBeingEdited):
        (WebInspector.markBeingEdited):
        (WebInspector.isEditingAnyField):
        (WebInspector.EditingConfig):
        (WebInspector.startEditing.blurEventListener):
        (WebInspector.startEditing.getContent):
        (WebInspector.startEditing.cleanUpAfterEditing):
        (WebInspector.startEditing.editingCancelled):
        (WebInspector.startEditing.editingCommitted):
        (WebInspector.startEditing.defaultFinishHandler):
        (WebInspector.startEditing):
        (WebInspector.startEditing.pasteEventListener):
        (WebInspector.startEditing.keyDownEventListener):
        * inspector/front-end/externs.js:
        (Array.prototype.remove):
        (window.getComputedStyle):
        * inspector/front-end/inspector.js:

239 240 241 242 243 244 245 246 247 248
2011-10-04  Andrey Kosyakov  <caseq@chromium.org>

        Web Inspector: [Extensions API] extension panel's toolbar icon is incorrect when inspector window is docked
        https://bugs.webkit.org/show_bug.cgi?id=69336

        Reviewed by Pavel Feldman.

        * inspector/front-end/ExtensionPanel.js:
        (WebInspector.ExtensionPanel):

249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291
2011-10-04  Pavel Podivilov  <podivilov@chromium.org>

        Web Inspector: update call frame location when source mapping is changed.
        https://bugs.webkit.org/show_bug.cgi?id=68997

        Currently we use fake "debugger-paused" event hack to update execution line and call stack placards when source mapping is changed.
        - add PresentationCallFrame.createPlacard method to create "live" placards that are updated on source mapping changes.
        - remove PresentationCallFrame functionName, isInternalScript, and url getters.
        - fire execution-line-changed event when selected call frame or source mapping is changed.

        Reviewed by Pavel Feldman.

        * inspector/compile-front-end.sh:
        * inspector/front-end/CallStackSidebarPane.js:
        (WebInspector.CallStackSidebarPane.prototype.update):
        * inspector/front-end/CompilerSourceMapping.js:
        (WebInspector.ClosureCompilerSourceMappingPayload):
        (WebInspector.ClosureCompilerSourceMapping):
        (WebInspector.ClosureCompilerSourceMapping.prototype._parseMappings):
        * inspector/front-end/ContentProviders.js:
        (WebInspector.CompilerSourceMappingContentProvider.prototype.requestContent):
        (WebInspector.CompilerSourceMappingContentProvider.prototype.searchInContent):
        * inspector/front-end/DebuggerPresentationModel.js:
        (WebInspector.DebuggerPresentationModel):
        (WebInspector.DebuggerPresentationModel.prototype.createPlacard.updatePlacard):
        (WebInspector.DebuggerPresentationModel.prototype.createPlacard):
        (WebInspector.DebuggerPresentationModel.prototype._debuggerPaused):
        (WebInspector.DebuggerPresentationModel.prototype._debuggerResumed):
        (WebInspector.DebuggerPresentationModel.prototype.set selectedCallFrame):
        (WebInspector.DebuggerPresentationModel.prototype.get selectedCallFrame):
        (WebInspector.DebuggerPresentationModel.prototype._dispatchExecutionLineChanged):
        (WebInspector.DebuggerPresentationModel.prototype._debuggerReset):
        (WebInspector.PresentationCallFrame):
        (WebInspector.PresentationCallFrame.prototype.get rawSourceCode):
        (WebInspector.PresentationCallFrame.prototype.uiLocation):
        * inspector/front-end/ScriptsPanel.js:
        (WebInspector.ScriptsPanel.prototype._debuggerPaused.else.didGetUILocation):
        (WebInspector.ScriptsPanel.prototype._debuggerPaused):
        (WebInspector.ScriptsPanel.prototype._executionLineChanged):
        (WebInspector.ScriptsPanel.prototype._callFrameSelected):
        * inspector/front-end/externs.js:
        (WebInspector.displayNameForURL):

292 293 294 295 296 297 298 299
2011-10-04  Pavel Feldman  <pfeldman@chromium.org>

        Not reviewed: inspector tests fix.

        * inspector/front-end/ExtensionPanel.js:
        (WebInspector.ExtensionPanel):
        (WebInspector.ExtensionPanel.prototype.get toolbarItemLabel):

300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339
2011-09-29  Pavel Podivilov  <podivilov@chromium.org>

        Web Inspector: add compiler source mapping support to RawSourceCode.
        https://bugs.webkit.org/show_bug.cgi?id=68891

        Reviewed by Pavel Feldman.

        * WebCore.gypi:
        * WebCore.vcproj/WebCore.vcproj:
        * inspector/front-end/BreakpointManager.js:
        (WebInspector.BreakpointManager.prototype.uiSourceCodeAdded):
        (WebInspector.BreakpointManager.prototype.setBreakpoint):
        (WebInspector.BreakpointManager.prototype._materializeBreakpoint):
        * inspector/front-end/CompilerSourceMappingProvider.js: Added.
        (WebInspector.CompilerSourceMappingProvider):
        (WebInspector.CompilerSourceMappingProvider.prototype.loadSourceMapping):
        (WebInspector.CompilerSourceMappingProvider.prototype.loadSourceCode):
        * inspector/front-end/DebuggerPresentationModel.js:
        (WebInspector.DebuggerPresentationModel.prototype.continueToLine):
        * inspector/front-end/RawSourceCode.js:
        (WebInspector.RawSourceCode.prototype.setCompilerSourceMappingProvider):
        (WebInspector.RawSourceCode.prototype._resourceFinished):
        (WebInspector.RawSourceCode.prototype._updateSourceMapping.didCreateSourceMapping):
        (WebInspector.RawSourceCode.prototype._updateSourceMapping):
        (WebInspector.RawSourceCode.prototype._createSourceMapping.didLoadSourceMapping):
        (WebInspector.RawSourceCode.PlainSourceMapping.prototype.uiLocationToRawLocation):
        (WebInspector.RawSourceCode.FormattedSourceMapping.prototype.uiLocationToRawLocation):
        (WebInspector.RawSourceCode.CompilerSourceMapping):
        (WebInspector.RawSourceCode.CompilerSourceMapping.prototype.rawLocationToUILocation):
        (WebInspector.RawSourceCode.CompilerSourceMapping.prototype.uiLocationToRawLocation):
        (WebInspector.RawSourceCode.CompilerSourceMapping.prototype.get uiSourceCodeList):
        (WebInspector.CompilerSourceMappingProvider):
        (WebInspector.CompilerSourceMappingProvider.prototype.loadSourceMapping):
        (WebInspector.CompilerSourceMappingProvider.prototype.loadSourceCode):
        * inspector/front-end/UISourceCodeContentProviders.js:
        (WebInspector.CompilerSourceMappingContentProvider):
        (WebInspector.CompilerSourceMappingContentProvider.prototype.requestContent):
        * inspector/front-end/WebKit.qrc:
        * inspector/front-end/inspector.html:

340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387
2011-10-04  Pavel Feldman  <pfeldman@google.com>

        Web Inspector: start adding UI components to the compilation process.
        https://bugs.webkit.org/show_bug.cgi?id=69319

        Reviewed by Yury Semikhatsky.

        * WebCore.gypi:
        * WebCore.vcproj/WebCore.vcproj:
        * inspector/compile-front-end.sh:
        * inspector/front-end/Drawer.js:
        (WebInspector.Drawer.prototype.show.animationFinished):
        (WebInspector.Drawer.prototype.show):
        (WebInspector.Drawer.prototype.resize):
        * inspector/front-end/ElementsPanel.js:
        (WebInspector.ElementsPanel.prototype.statusBarResized):
        * inspector/front-end/EmptyView.js:
        * inspector/front-end/Panel.js:
        (WebInspector.Panel.prototype.set get toolbarItemLabel):
        (WebInspector.Panel.prototype.get statusBarItems):
        (WebInspector.Panel.prototype.updateMainViewWidth):
        (WebInspector.Panel.prototype.statusBarResized):
        * inspector/front-end/PropertiesSection.js:
        * inspector/front-end/SearchController.js:
        (WebInspector.SearchController.prototype._onKeyDown):
        * inspector/front-end/Section.js:
        (WebInspector.Section.prototype.set populated):
        (WebInspector.Section.prototype.onpopulate):
        (WebInspector.Section.prototype.expand):
        * inspector/front-end/SidebarPane.js:
        * inspector/front-end/Toolbar.js:
        (WebInspector.Toolbar.createPanelToolbarItem):
        (WebInspector.ToolbarDropdown.prototype.show):
        * inspector/front-end/UIUtils.js: Added.
        (WebInspector.elementDragStart):
        (WebInspector.elementDragEnd):
        (WebInspector.animateStyle):
        (WebInspector.animateStyle.forceComplete):
        (WebInspector.animateStyle.cancel):
        * inspector/front-end/WebKit.qrc:
        * inspector/front-end/externs.js:
        (WebInspector.extensionServer.notifyPanelShown):
        (WebInspector.extensionServer.notifyPanelHidden):
        (WebInspector.currentPanel):
        (WebInspector.setCurrentPanel):
        * inspector/front-end/inspector.html:
        * inspector/front-end/inspector.js:

388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410
2011-10-04  Kenichi Ishibashi  <bashi@chromium.org>

        [Chromium] Implement font shaping with font-feature-settings on Windows
        https://bugs.webkit.org/show_bug.cgi?id=65904

        Reviewed by Kenneth Russell.

        Use Uniscribe's OpenType APIs to shape complex text to support -webkit-font-feature-settings property.

        No new tests. css3/font-feature-settings-rendering.html should pass by this patch.

        * platform/graphics/chromium/UniscribeHelper.cpp:
        (WebCore::loadOpenTypeFunctions):
        (WebCore::UniscribeHelper::UniscribeHelper): Calls loadOpenTypeFunctions if needed.
        (WebCore::UniscribeHelper::fillRuns): Uses ScriptItemizeOpenType() if possible.
        (WebCore::UniscribeHelper::shape): Uses ScriptShapeOpenType() if possible.
        (WebCore::UniscribeHelper::fillShapes): Adds OpenType script tag as an argument.
        (WebCore::convertFeatureTag): Added.
        (WebCore::UniscribeHelper::setRangeProperties): Added.
        * platform/graphics/chromium/UniscribeHelper.h:
        * platform/graphics/chromium/UniscribeHelperTextRun.cpp:
        (WebCore::UniscribeHelperTextRun::UniscribeHelperTextRun): Calls setRangeProperties().

411 412 413 414 415 416 417 418 419 420 421 422
2011-10-04  Ryuan Choi  <ryuan.choi@samsung.com>

        [EFL] Implement declared but missing functions.
        https://bugs.webkit.org/show_bug.cgi?id=65368

        Unreviewed build fix for WebKit/Efl builds after r96566.

        * platform/efl/CursorEfl.cpp:
        (WebCore::Cursor::operator=):
        * platform/efl/LocalizedStringsEfl.cpp:
        (WebCore::localizedString):

423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445
2011-10-04  Pavel Feldman  <pfeldman@google.com>

        Web Inspector: move abstract panel search logic into the only view that is using it.
        https://bugs.webkit.org/show_bug.cgi?id=69328

        Reviewed by Yury Semikhatsky.

        * inspector/front-end/Panel.js:
        (WebInspector.Panel.prototype.searchCanceled):
        (WebInspector.Panel.prototype.performSearch):
        (WebInspector.Panel.prototype.jumpToNextSearchResult):
        (WebInspector.Panel.prototype.jumpToPreviousSearchResult):
        * inspector/front-end/ProfilesPanel.js:
        (WebInspector.ProfilesPanel.prototype.performSearch.updateMatchesCount):
        (WebInspector.ProfilesPanel.prototype.performSearch.updateMatchesCountSoon):
        (WebInspector.ProfilesPanel.prototype.performSearch.finishedCallback):
        (WebInspector.ProfilesPanel.prototype.performSearch.processChunk):
        (WebInspector.ProfilesPanel.prototype.performSearch):
        (WebInspector.ProfilesPanel.prototype.jumpToNextSearchResult):
        (WebInspector.ProfilesPanel.prototype.jumpToPreviousSearchResult):
        (WebInspector.ProfilesPanel.prototype._searchableViews):
        (WebInspector.ProfilesPanel.prototype.searchCanceled):

446 447 448 449 450 451 452 453 454 455
2011-10-04  Pavel Feldman  <pfeldman@google.com>

        Not reviewed: fixed poor inspector merge, drive-by front-endcompilation fix.

        * inspector/front-end/ContentProviders.js:
        (WebInspector.ScriptContentProvider.prototype.requestContent):
        (WebInspector.ScriptContentProvider.prototype.searchInContent):
        (WebInspector.ConcatenatedScriptsContentProvider.prototype.searchInContent):
        * inspector/front-end/DebuggerPresentationModel.js:

456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492
2011-10-04  Pavel Feldman  <pfeldman@google.com>

        Web Inspector: remove dependency from GoToLine dialog from Panel.
        https://bugs.webkit.org/show_bug.cgi?id=69327

        Reviewed by Yury Semikhatsky.

        * inspector/front-end/GoToLineDialog.js:
        (WebInspector.GoToLineDialog.install):
        (WebInspector.GoToLineDialog._show):
        * inspector/front-end/NetworkItemView.js:
        (WebInspector.NetworkItemView.prototype._tabSelected):
        (WebInspector.ResourceContentView.prototype.contentLoaded):
        (WebInspector.ResourceContentView.prototype.canHighlightLine):
        (WebInspector.ResourceContentView.prototype.highlightLine):
        (set WebInspector):
        * inspector/front-end/NetworkPanel.js:
        (WebInspector.NetworkPanel.viewGetter):
        (WebInspector.NetworkPanel):
        * inspector/front-end/Panel.js:
        (WebInspector.Panel.prototype.registerShortcut):
        * inspector/front-end/ResourcesPanel.js:
        (WebInspector.ResourcesPanel.viewGetter):
        (WebInspector.ResourcesPanel):
        (WebInspector.ResourcesPanel.prototype.showResource):
        * inspector/front-end/ScriptsPanel.js:
        (WebInspector.ScriptsPanel.viewGetter):
        * inspector/front-end/SourceFrame.js:
        (WebInspector.SourceFrame.prototype.canHighlightLine):
        * inspector/front-end/TabbedPane.js:
        (WebInspector.TabbedPane.prototype._hideTab):
        (WebInspector.TabbedPane.prototype.canHighlightLine):
        (WebInspector.TabbedPane.prototype.highlightLine):
        * inspector/front-end/View.js:
        (WebInspector.View.prototype.canHighlightLine):
        (WebInspector.View.prototype.highlightLine):

493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511
2011-10-04  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r96491.
        http://trac.webkit.org/changeset/96491
        https://bugs.webkit.org/show_bug.cgi?id=69326

        Breaks Slow Leopard inspector tests (Requested by pfeldman on
        #webkit).

        * inspector/Inspector.json:
        * inspector/InspectorDebuggerAgent.cpp:
        (WebCore::InspectorDebuggerAgent::getScriptSource):
        * inspector/InspectorDebuggerAgent.h:
        * inspector/front-end/ContentProviders.js:
        (WebInspector.ScriptContentProvider.prototype.requestContent):
        * inspector/front-end/Script.js:
        (WebInspector.Script.prototype.requestSource.didGetScriptSource):
        (WebInspector.Script.prototype.requestSource):

512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561
2011-10-03  Pavel Feldman  <pfeldman@google.com>

        Web Inspector: add DebuggerPresentationModel and ConsoleView to compilation.
        https://bugs.webkit.org/show_bug.cgi?id=69269

        Reviewed by Yury Semikhatsky.

        * inspector/compile-front-end.sh:
        * inspector/front-end/BreakpointManager.js:
        (WebInspector.BreakpointManager.prototype.uiSourceCodeAdded):
        * inspector/front-end/ConsoleView.js:
        (WebInspector.ConsoleView.prototype._consoleCleared):
        (WebInspector.ConsoleView.prototype._completions.evaluated.getCompletions):
        (WebInspector.ConsoleView.prototype._completions.evaluated):
        (WebInspector.ConsoleView.prototype._messagesClicked):
        * inspector/front-end/ContentProviders.js:
        (WebInspector.StaticContentProvider.prototype.requestContent):
        (WebInspector.StaticContentProvider.prototype.searchInContent):
        * inspector/front-end/ContextMenu.js:
        * inspector/front-end/DebuggerPresentationModel.js:
        (WebInspector.DebuggerPresentationModel.prototype._addScript):
        (WebInspector.DebuggerPresentationModel.prototype._consoleMessageAdded):
        (WebInspector.DebuggerPresentationModel.prototype._debuggerPaused):
        (WebInspector.DebuggerPresentationModel.prototype._rawSourceCodeForScriptWithURL):
        (WebInspector.DebuggerPresentationModel.prototype._rawSourceCodeForScript):
        (WebInspector.DebuggerPresentationModel.prototype._scriptForRawSourceCode):
        (WebInspector.DebuggerPresentationModel.prototype._createRawSourceCodeId):
        (WebInspector.DebuggerPresentationModelResourceBinding.prototype.canSetContent):
        (WebInspector.DebuggerPresentationModelResourceBinding.prototype.setContent):
        * inspector/front-end/HelpScreen.js:
        * inspector/front-end/JavaScriptContextManager.js:
        (WebInspector.FrameEvaluationContext.prototype.get displayName):
        * inspector/front-end/KeyboardShortcut.js:
        (WebInspector.KeyboardShortcut):
        * inspector/front-end/Resource.js:
        (WebInspector.Resource.displayName):
        * inspector/front-end/ScriptFormatter.js:
        (WebInspector.ScriptFormatter.prototype._didFormatContent):
        * inspector/front-end/ShortcutsScreen.js:
        * inspector/front-end/StatusBarButton.js:
        * inspector/front-end/TextPrompt.js:
        * inspector/front-end/externs.js:
        (WebInspector.populateHrefContextMenu):
        (WebInspector.useLowerCaseMenuTitles):
        (WebInspector.ScriptsPanel.this.evaluateInSelectedCallFrame):
        (WebInspector.ScriptsPanel.this.getSelectedCallFrameVariables):
        (WebInspector.ScriptsPanel):
        * inspector/front-end/inspector.js:
        * inspector/front-end/utilities.js:

562 563 564 565 566 567 568 569 570
2011-10-03  Ryosuke Niwa  <rniwa@webkit.org>

        Mac release build fix after r96561, and Leopard build fix after r96568.

        * editing/TextCheckingHelper.h:
        (WebCore::TextCheckingParagraph::textCharAt):
        * page/mac/EventHandlerMac.mm:
        (WebCore::EventHandler::wheelEvent):

rniwa@webkit.org's avatar
rniwa@webkit.org committed
571 572 573 574 575 576 577 578
2011-10-03  Ryosuke Niwa  <rniwa@webkit.org>

        Build fix after r96568.

        * accessibility/AccessibilityObject.cpp:
        * accessibility/mac/WebAccessibilityObjectWrapper.mm:
        * editing/Editor.cpp:

579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608
2011-10-03  Shinya Kawanaka  <shinyak@google.com>

        Should call checkTextOfParagraph() indirectly to make unifying spell-checking code path easy.
        https://bugs.webkit.org/show_bug.cgi?id=69241

        Reviewed by Ryosuke Niwa.

        WebCore has two different code paths for spell-checking:
          1) checkTextOfParagraph() for Snow Leopard or later
          2) checkSpellingOfString() for checkGrammarOfString() for other platforms.

        At the first step, this patch introduces an indirect wrapper to call
        checkTextOfParagraph() in Snow Leopard or later. This is intended to make it easy to
        introduce a function for mimicing checkTextOfParagraph() in Chromium platform or
        other non-SL or non-Lion platform.

        No new tests because this patch does not change a behavior.

        * accessibility/AccessibilityObject.cpp:
        (WebCore::AccessibilityObject::hasMisspelling): Calling checkTextOfParagraph() indirectly.
        * accessibility/mac/WebAccessibilityObjectWrapper.mm:
        (AXAttributeStringSetSpelling): ditto.
        * editing/Editor.cpp:
        (WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges): ditto.
        * editing/TextCheckingHelper.cpp:
        (WebCore::TextCheckingHelper::findFirstMisspellingOrBadGrammar): ditto.
        (WebCore::TextCheckingHelper::guessesForMisspelledOrUngrammaticalRange): ditto.
        (WebCore::checkTextOfParagraph): Added.
        * editing/TextCheckingHelper.h:

609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669
2011-10-03  Darin Adler  <darin@apple.com>

        Change cursor to hand over missing plug-in message
        https://bugs.webkit.org/show_bug.cgi?id=69312

        Reviewed by Sam Weinig.

        No tests because we currently don't have any test machinery for cursors.

        * page/EventHandler.cpp:
        (WebCore::OptionalCursor::OptionalCursor): Added. Construct an object
        to represent either a cursor, or no cursor change.
        (WebCore::OptionalCursor::isCursorChange): Added.
        (WebCore::OptionalCursor::cursor): Added.
        (WebCore::EventHandler::selectCursor): Changed return type to OptionalCursor,
        moved some special cases from handleMouseMoveEvent in here. Moved the logic
        for plug-ins and framesets into the specific renderer classes for those.
        Added a call to the new getCursor virtual function.
        (WebCore::EventHandler::handleMouseMoveEvent): Changed cursor setting code to
        just be a call to selectCursor and then setCursor. Plug-in-specific code is now
        in RenderWidget.

        * page/EventHandler.h: Changed return type of selectCursor.

        * page/MouseEventWithHitTestResults.cpp: Made some functions be inline.
        * page/MouseEventWithHitTestResults.h:
        (WebCore::MouseEventWithHitTestResults::localPoint): Made this inline.
        (WebCore::MouseEventWithHitTestResults::scrollbar): Made this inline.
        Yes, this has nothing to do with the rest of the patch, but it's good.

        * rendering/RenderEmbeddedObject.cpp:
        (WebCore::RenderEmbeddedObject::getReplacementTextGeometry): Made const.
        (WebCore::RenderEmbeddedObject::isInMissingPluginIndicator): Made const.
        Overloaded so it can be called with a point rather than an event.
        (WebCore::shouldMissingPluginMessageBeButton): Added. Helps streamline
        the logic below.
        (WebCore::RenderEmbeddedObject::handleMissingPluginIndicatorEvent):
        Changed to use shouldMissingPluginMessageBeButton.
        (WebCore::RenderEmbeddedObject::getCursor): Added. Sets the cursor to
        a hand when over the missing plug-in message.
        * rendering/RenderEmbeddedObject.h: Added getCursor override. Also updated
        for other changes above.

        * rendering/RenderFrameSet.cpp:
        (WebCore::RenderFrameSet::getCursor): Added. Contains the logic that used
        to be hardcoded in EventHandler::selectCursor about cursors when over
        resizable frame borders.
        * rendering/RenderFrameSet.h: Added getCursor.

        * rendering/RenderObject.cpp:
        (WebCore::RenderObject::getCursor): Added. Returns SetCursorBasedOnStyle.
        * rendering/RenderObject.h: Added getCursor.

        * rendering/RenderWidget.cpp:
        (WebCore::RenderWidget::getCursor): Added. Contains the logic that used
        to be hardcoded in EventHandler::handleMouseMoveEvent to prevent setting
        the cursor when the pointer is over a plug-in. This new code is much better,
        because it only kicks in when there is actually a plug-in present. The old
        was based on the HTML tag!
        * rendering/RenderWidget.h: Added getCursor.

670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721
2011-10-03  Anders Carlsson  <andersca@apple.com>

        Work towards making PlatformWheelEvent immutable
        https://bugs.webkit.org/show_bug.cgi?id=69306

        Reviewed by Sam Weinig.

        Currently, PlatformWheelEvent has an m_isAccepted flag that tracks whether
        the event has been handled or not. For all other event types, that state is instead
        tracked by the return value of the various event handlers.

        As a first step, add return values to the various handleWheelEvent functions and
        add an assertion in EventHandler::wheelEvent that the return value is the same as
        the state of PlatformWheelEvent::isAccepted.

        * Configurations/Base.xcconfig:
        Don't warn when using C++11 extensions.

        * page/mac/EventHandlerMac.mm:
        (WebCore::EventHandler::wheelEvent):
        Assert that isAccepted matches the return value.

        * platform/ScrollAnimator.cpp:
        (WebCore::ScrollAnimator::handleWheelEvent):
        Return isAccepted.

        * platform/ScrollAnimator.h:
        HandleWheelEvent now returns a boolean.

        * platform/ScrollView.cpp:
        (WebCore::ScrollView::wheelEvent):
        Return whether the event was handled or not.

        * platform/ScrollView.h:
        ScrollView::wheelEvent now returns a bool.

        * platform/ScrollableArea.cpp:
        (WebCore::ScrollableArea::handleWheelEvent):
        * platform/ScrollableArea.h:
        ScrollableArea::handleWheelEvent now returns a bool.

        * platform/chromium/ScrollAnimatorChromiumMac.h:
        * platform/chromium/ScrollAnimatorChromiumMac.mm:
        (WebCore::ScrollAnimatorChromiumMac::handleWheelEvent):
        Add return values, based on either the base class calls or the state of
        PlatformWheelEvent::isAccepted().

        * platform/mac/ScrollAnimatorMac.h:
        * platform/mac/ScrollAnimatorMac.mm:
        (WebCore::ScrollAnimatorMac::handleWheelEvent):
        Ditto.

722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747
2011-10-03  Dan Bernstein  <mitz@apple.com>

        <rdar://problem/9973489> REGRESSION (r66599): -[DOMNode boundingBox] returns the zero rect for SVG elements
        https://bugs.webkit.org/show_bug.cgi?id=69305

        Reviewed by Simon Fraser.

        Test: svg/custom/boundingBox.html

        Rather than asserting and returning the zero rect, take the transform-aware code path for computing SVG
        bounding rects.

        * rendering/svg/RenderSVGForeignObject.cpp:
        (WebCore::RenderSVGForeignObject::mapLocalToContainer): Updated for change to SVGRenderSupport::mapLocalToContainer().
        * rendering/svg/RenderSVGInline.cpp:
        (WebCore::RenderSVGInline::mapLocalToContainer): Ditto.
        * rendering/svg/RenderSVGModelObject.cpp:
        (WebCore::RenderSVGModelObject::mapLocalToContainer): Ditto.
        (WebCore::RenderSVGModelObject::absoluteRects): Replaced an incorrect assertion with code to approximate the bounding
        box.
        * rendering/svg/RenderSVGText.cpp:
        (WebCore::RenderSVGText::mapLocalToContainer): Updated for change to SVGRenderSupport::mapLocalToContainer().
        * rendering/svg/SVGRenderSupport.cpp:
        (WebCore::SVGRenderSupport::mapLocalToContainer): Removed the fixed and useTransform boolean parameters.
        * rendering/svg/SVGRenderSupport.h:

748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775
2011-10-03  Michael Nordman  <michaeln@google.com>

        A little more WebSQLDatabase thread safety.
        https://bugs.webkit.org/show_bug.cgi?id=69277

        - switch to using AtomicallyInitializedStatic where appropiate
        - avoid using some Strings across threads

        Reviewed by David Levin.

        Existing tests apply.

        * storage/AbstractDatabase.cpp:
        (WebCore::guidMutex):
        (WebCore::guidToVersionMap):
        (WebCore::guidToDatabaseMap):
        (WebCore::guidForOriginAndName):
        (WebCore::AbstractDatabase::databaseInfoTableName):
        (WebCore::AbstractDatabase::AbstractDatabase):
        (WebCore::AbstractDatabase::performOpenAndVerify):
        (WebCore::AbstractDatabase::getVersionFromDatabase):
        (WebCore::AbstractDatabase::setVersionInDatabase):
        * storage/AbstractDatabase.h:
        * storage/chromium/DatabaseTrackerChromium.cpp:
        (WebCore::DatabaseTracker::tracker):
        * storage/chromium/QuotaTracker.cpp:
        (WebCore::QuotaTracker::instance):

776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806
2011-10-03  Ryosuke Niwa  <rniwa@webkit.org>

        Replace m_firstNodeInserted and m_lastLeafInserted in ReplaceSelectionCommand by positions
        https://bugs.webkit.org/show_bug.cgi?id=68874

        Reviewed by Enrica Casucci.

        Replaced m_firstNodeInserted and m_lastLeafInserted by m_startOfInsertedContent and m_endOfInsertedContent
        respectively. Also removed removeNodePreservingChildren and removeNodeAndPruneAncestors in ReplaceSelectionCommand
        because they were not virtual in CompositeEditCommand and implicitly overriding the functions was confusing.
        Since each of these two functions is used at exactly one place, just update positions and insertedNodes explicitly.

        * editing/CompositeEditCommand.cpp:
        * editing/ReplaceSelectionCommand.cpp:
        (WebCore::ReplaceSelectionCommand::removeUnrenderedTextNodesAtEnds):
        (WebCore::ReplaceSelectionCommand::positionAtEndOfInsertedContent):
        (WebCore::ReplaceSelectionCommand::positionAtStartOfInsertedContent):
        (WebCore::ReplaceSelectionCommand::handleStyleSpans):
        (WebCore::ReplaceSelectionCommand::mergeEndIfNeeded): Update m_endOfInsertedContent by endingSelection().visibleEnd()
        instead of m_lastLeafInserted with destination.previous() because moveParagraph could have removed leading whitespace in
        the text node referenced by destination. This is tested by an existing layout test.
        (WebCore::ReplaceSelectionCommand::doApply):
        (WebCore::ReplaceSelectionCommand::addSpacesForSmartReplace): Update positions as needed. All changes are tested
        by the existing layout tests in editing/pasteboard.
        (WebCore::ReplaceSelectionCommand::updateNodesInserted):
        * editing/ReplaceSelectionCommand.h:
        * editing/htmlediting.cpp:
        (WebCore::hasARenderedDescendant): Moved from CompositeEditCommand.cpp.
        (WebCore::highestNodeToRemoveInPruning): Ditto.
        * editing/htmlediting.h:

807 808 809 810 811 812 813 814 815 816 817 818 819 820 821
2011-10-03  Ryosuke Niwa  <rniwa@webkit.org>

        REGRESSION(r94274): cloned text input loses value
        https://bugs.webkit.org/show_bug.cgi?id=69095

        Reviewed by Darin Adler.

        The bug was caused by copyNonAttributeProperties not updating inner element text after copying
        m_valueIfDirty. Fixed the bug by calling updateInnerTextValue.

        Test: fast/forms/clone-input-with-dirty-value.html

        * html/HTMLInputElement.cpp:
        (WebCore::HTMLInputElement::copyNonAttributeProperties):

822 823 824 825 826 827 828
2011-10-03  Ryosuke Niwa  <rniwa@webkit.org>

        Leopard build fix after r96530.

        * rendering/svg/RenderSVGResourcePattern.cpp:
        (WebCore::RenderSVGResourcePattern::applyResource):

829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863
2011-10-03  Sam Weinig  <sam@webkit.org>

        Move ContentSecurityPolicy to the ScriptExecutionContext to prepare it for working with XHR and workers
        https://bugs.webkit.org/show_bug.cgi?id=69294

        Reviewed by Darin Adler.

        * dom/Document.cpp:
        (WebCore::Document::initSecurityContext):
        Initialize the ContentSecurityPolicy by calling down to the ScriptExecutionContext.

        * dom/Document.h:
        Move the ContentSecurityPolicy member and getter from here to ScriptExecutionContext.h.

        * dom/ScriptExecutionContext.cpp:
        (WebCore::ScriptExecutionContext::setContentSecurityPolicy):
        * dom/ScriptExecutionContext.h:
        (WebCore::ScriptExecutionContext::contentSecurityPolicy):
        Add ContentSecurityPolicy member and getter/setter.

        * page/ContentSecurityPolicy.cpp:
        (WebCore::ContentSecurityPolicy::ContentSecurityPolicy):
        (WebCore::ContentSecurityPolicy::didReceiveHeader):
        (WebCore::ContentSecurityPolicy::reportViolation):
        (WebCore::ContentSecurityPolicy::parseReportURI):
        (WebCore::ContentSecurityPolicy::createCSPDirective):
        * page/ContentSecurityPolicy.h:
        (WebCore::ContentSecurityPolicy::create):
        Replace Document with ScriptExecutionContext. Add temporary checked casts to document
        where necessary.

        * workers/WorkerContext.cpp:
        (WebCore::WorkerContext::WorkerContext):
        Add initialization of the ContentSecurityPolicy.

864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882
2011-10-03  Anders Carlsson  <andersca@apple.com>

        Remove custom scrollbar painting hooks
        https://bugs.webkit.org/show_bug.cgi?id=69163

        Reviewed by Alexey Proskuryakov.

        The custom scrollbar and scroll corner painting hooks aren't used by anyone
        so go ahead and remove them. This removes the setter/getter and ChromeClient functions.

        * page/Chrome.cpp:
        * page/ChromeClient.h:
        * page/Settings.cpp:
        (WebCore::Settings::Settings):
        * page/Settings.h:
        * platform/ScrollbarThemeComposite.cpp:
        (WebCore::ScrollbarThemeComposite::paint):
        (WebCore::ScrollbarThemeComposite::paintScrollCorner):

883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945
2011-09-22  Darin Adler  <darin@apple.com>

        Rename many obviously-correct call sites in WebCore using releaseRef to use it by its new name leakRef
        https://bugs.webkit.org/show_bug.cgi?id=68672

        Reviewed by Daniel Bates.

        * bindings/js/JSDOMWindowBase.cpp:
        (WebCore::JSDOMWindowBase::commonJSGlobalData):
        * css/CSSInitialValue.h:
        (WebCore::CSSInitialValue::createExplicit):
        (WebCore::CSSInitialValue::createImplicit):
        * css/CSSPrimitiveValue.cpp:
        (WebCore::CSSPrimitiveValue::init):
        * css/CSSStyleSelector.cpp:
        (WebCore::parseUASheet):
        (WebCore::CSSStyleSelector::styleForElement):
        * platform/ScrollView.cpp:
        (WebCore::ScrollView::wheelEvent):
        * platform/efl/RenderThemeEfl.cpp:
        (WebCore::RenderTheme::themeForPage):
        * platform/gtk/RenderThemeGtk.cpp:
        (WebCore::RenderTheme::themeForPage):
        * platform/haiku/RenderThemeHaiku.cpp:
        (WebCore::RenderTheme::themeForPage):
        * platform/network/cf/DNSCFNet.cpp:
        (WebCore::DNSResolveQueue::resolve):
        * platform/network/cf/ResourceHandleCFNet.cpp:
        (WebCore::ResourceHandle::releaseConnectionForDownload):
        * platform/qt/RenderThemeQt.cpp:
        (WebCore::RenderTheme::themeForPage):
        (WebCore::RenderThemeQt::paintSearchFieldCancelButton):
        * platform/text/BidiContext.cpp:
        (WebCore::BidiContext::create):
        * platform/wx/RenderThemeWx.cpp:
        (WebCore::RenderTheme::themeForPage):
        * rendering/RenderThemeChromiumLinux.cpp:
        (WebCore::RenderTheme::themeForPage):
        * rendering/RenderThemeChromiumMac.mm:
        (WebCore::RenderTheme::themeForPage):
        * rendering/RenderThemeChromiumSkia.cpp:
        (WebCore::RenderThemeChromiumSkia::paintSearchFieldCancelButton):
        (WebCore::RenderThemeChromiumSkia::paintSearchFieldResultsDecoration):
        (WebCore::RenderThemeChromiumSkia::paintSearchFieldResultsButton):
        * rendering/RenderThemeChromiumWin.cpp:
        (WebCore::RenderTheme::themeForPage):
        * rendering/RenderThemeMac.mm:
        (WebCore::RenderTheme::themeForPage):
        * rendering/RenderThemeSafari.cpp:
        (WebCore::RenderTheme::themeForPage):
        * rendering/RenderThemeWin.cpp:
        (WebCore::RenderTheme::themeForPage):
        (WebCore::RenderThemeWin::paintSearchFieldCancelButton):
        (WebCore::RenderThemeWin::paintSearchFieldResultsDecoration):
        (WebCore::RenderThemeWin::paintSearchFieldResultsButton):
        * rendering/RenderThemeWinCE.cpp:
        (WebCore::RenderTheme::themeForPage):
        * rendering/style/RenderStyle.cpp:
        (WebCore::defaultStyle):
        Call leakRef instead of releaseRef. I did this only in the cases where
        it was obvious to me this was the right way to do it. I'll keep revisiting
        sites still calling it releaseRef until they are all gone.

946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982
2011-09-27  Ojan Vafai  <ojan@chromium.org>

        remove dead code in flipForWritingMode
        https://bugs.webkit.org/show_bug.cgi?id=68948

        Reviewed by Hajime Morita.

        ChildToParentFlippingAdjustment is never used, so the third argument
        to flipForWritingMode always has the same value.

        In addition, renamed to flipForWritingModeForChild to be more clear
        that it's operating on the child and renamed flipFloatForWritingMode to match.

        No new tests. This is just a code cleanup. No functional changes. 

        * rendering/InlineBox.cpp:
        (WebCore::InlineBox::paint):
        * rendering/RenderBlock.cpp:
        (WebCore::RenderBlock::paintChildren):
        (WebCore::RenderBlock::flipFloatForWritingModeForChild):
        (WebCore::RenderBlock::paintFloats):
        (WebCore::RenderBlock::hitTestFloats):
        (WebCore::RenderBlock::hitTestContents):
        * rendering/RenderBlock.h:
        * rendering/RenderBox.cpp:
        (WebCore::RenderBox::flipForWritingModeForChild):
        (WebCore::RenderBox::topLeftLocation):
        * rendering/RenderBox.h:
        * rendering/RenderTable.cpp:
        (WebCore::RenderTable::paintObject):
        (WebCore::RenderTable::nodeAtPoint):
        * rendering/RenderTableRow.cpp:
        (WebCore::RenderTableRow::nodeAtPoint):
        * rendering/RenderTableSection.cpp:
        (WebCore::RenderTableSection::paintCell):
        (WebCore::RenderTableSection::nodeAtPoint):

983 984 985 986 987 988 989 990 991 992 993 994
2011-10-03  Jer Noble  <jer.noble@apple.com>

        Unreviewed, rolling out r96526.
        http://trac.webkit.org/changeset/96526
        https://bugs.webkit.org/show_bug.cgi?id=68587

        WEB_AUDIO has numerous 64->32 bit casting warnings, causing
        build breakages where -Wall is enabled.

        * Configurations/FeatureDefines.xcconfig:
        * WebCore.xcodeproj/project.pbxproj:

995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024
2011-10-03  Joseph Pecoraro  <joepeck@webkit.org>

        Web Inspector: rgb() with percentages shows wrong hex/hsl values
        https://bugs.webkit.org/show_bug.cgi?id=69152

        Reviewed by Pavel Feldman.

        Previously we assumed rgb values were always in byte form,
        but they could include percentage values. Ex. rgb(100%,0,0).
        This patch fixes this, and in the process includes clamping
        for invalid percentages, byte values, and alpha values.

        Test: inspector/styles/styles-invalid-color-values.html

        * inspector/front-end/Color.js:
        (WebInspector.Color.prototype._clamp):
        (WebInspector.Color.prototype._individualRGBValueToFloatValue):
        (WebInspector.Color.prototype._individualRGBValueToHexValue):
        (WebInspector.Color.prototype._rgbToHex):
        (WebInspector.Color.prototype._rgbToHSL):
        An individual rgb value can be either a decimal/float or a
        percentage. Rewrite the conversion functions to handle either
        input. Regardless of the type of input, always return a clamped
        decimal/float value between 0 and 255.

        (WebInspector.Color.prototype._rgbaToHSLA):
        (WebInspector.Color.prototype._hslaToRGBA):
        (WebInspector.Color.prototype._parse):
        Clamp the alpha value between 0 and 1.

1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038
2011-10-03  Dirk Schulze  <krit@webkit.org>

        SVG Pattern tile pixelated on patternTransform
        https://bugs.webkit.org/show_bug.cgi?id=69261

        Reviewed by Rob Buis.

        Scale the SVG pattern tile by the scale level of patternTransform to avoid pixelation.

        Test: svg/custom/pattern-scaled-pattern-space.svg

        * rendering/svg/RenderSVGResourcePattern.cpp:
        (WebCore::RenderSVGResourcePattern::applyResource):

1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051
2011-10-03  Jer Noble  <jer.noble@apple.com>

        Enable WEB_AUDIO by default in the WebKit/mac port.
        https://bugs.webkit.org/show_bug.cgi?id=68587

        Reviewed by Simon Fraser.

        No new tests; existing webaudio/ layout tests cover this.

        * Configurations/FeatureDefines.xcconfig:
        * WebCore.xcodeproj/project.pbxproj: Add a build step which copies audio resources to
            the WebCore.framework bundle.

1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109
2011-10-03  Chris Rogers  <crogers@google.com>

        BiquadFilterNode .type attribute is not handled correctly
        https://bugs.webkit.org/show_bug.cgi?id=69182

        Reviewed by Kenneth Russell.

        Test: webaudio/biquadfilternode-basic.html

        * platform/audio/AudioDSPKernelProcessor.cpp:
        (WebCore::AudioDSPKernelProcessor::initialize):
        * webaudio/AudioBufferSourceNode.cpp:
        (WebCore::AudioBufferSourceNode::AudioBufferSourceNode):
        * webaudio/AudioChannelMerger.cpp:
        (WebCore::AudioChannelMerger::AudioChannelMerger):
        * webaudio/AudioChannelSplitter.cpp:
        (WebCore::AudioChannelSplitter::AudioChannelSplitter):
        * webaudio/AudioDestinationNode.cpp:
        (WebCore::AudioDestinationNode::AudioDestinationNode):
        * webaudio/AudioGainNode.cpp:
        (WebCore::AudioGainNode::AudioGainNode):
        * webaudio/AudioNode.cpp:
        (WebCore::AudioNode::AudioNode):
        (WebCore::AudioNode::~AudioNode):
        (WebCore::AudioNode::setNodeType):
        (WebCore::AudioNode::ref):
        (WebCore::AudioNode::finishDeref):
        * webaudio/AudioNode.h:
        (WebCore::AudioNode::nodeType):
        * webaudio/AudioPannerNode.cpp:
        (WebCore::AudioPannerNode::AudioPannerNode):
        (WebCore::AudioPannerNode::notifyAudioSourcesConnectedToNode):
        * webaudio/BiquadFilterNode.cpp:
        (WebCore::BiquadFilterNode::BiquadFilterNode):
        (WebCore::BiquadFilterNode::setType):
        * webaudio/BiquadFilterNode.h:
        * webaudio/BiquadFilterNode.idl:
        * webaudio/BiquadProcessor.h:
        (WebCore::BiquadProcessor::setType):
        * webaudio/ConvolverNode.cpp:
        (WebCore::ConvolverNode::ConvolverNode):
        * webaudio/DelayNode.cpp:
        (WebCore::DelayNode::DelayNode):
        * webaudio/DynamicsCompressorNode.cpp:
        (WebCore::DynamicsCompressorNode::DynamicsCompressorNode):
        * webaudio/HighPass2FilterNode.cpp:
        (WebCore::HighPass2FilterNode::HighPass2FilterNode):
        * webaudio/JavaScriptAudioNode.cpp:
        (WebCore::JavaScriptAudioNode::JavaScriptAudioNode):
        * webaudio/LowPass2FilterNode.cpp:
        (WebCore::LowPass2FilterNode::LowPass2FilterNode):
        * webaudio/MediaElementAudioSourceNode.cpp:
        (WebCore::MediaElementAudioSourceNode::MediaElementAudioSourceNode):
        * webaudio/RealtimeAnalyserNode.cpp:
        (WebCore::RealtimeAnalyserNode::RealtimeAnalyserNode):
        * webaudio/WaveShaperNode.cpp:
        (WebCore::WaveShaperNode::WaveShaperNode):

1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132
2011-10-03  Chris Fleizach  <cfleizach@apple.com>

        AX: support role mapping for HTML5 section elements
        https://bugs.webkit.org/show_bug.cgi?id=69150

        We need to map these HTML5 elements to appropriate ARIA roles. That mapping is:
          article -> Document article
          nav -> Landmark navigation
          aside -> Landmark complementary
          section -> Document region
          address -> Landmark content info
          header -> Landmark banner (unless it's in an article or section)
          footer -> Landmark content info (unless it's in an article or section)

        Reviewed by Darin Adler.

        Test: platform/mac/accessibility/html-section-elements.html

        * accessibility/AccessibilityRenderObject.cpp:
        (WebCore::AccessibilityRenderObject::isDescendantOfElementType):
        (WebCore::AccessibilityRenderObject::determineAccessibilityRole):
        * accessibility/AccessibilityRenderObject.h:

1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155
2011-10-03  Chris Fleizach  <cfleizach@apple.com>

        AX: click point for AXHeadings often returns point on empty space (results in wrong context menu)
        https://bugs.webkit.org/show_bug.cgi?id=69262

        When the contextual menu is opened for a heading, often it will open on empty space because
        the heading is wider than the content inside. The click point should thus use the content
        inside the heading as the click point.

        To accomplish this we need to query whether we have children using children() which is a non-const
        method, hence the removal of const from clickPoint().

        Reviewed by John Sullivan.

        Test: platform/mac/accessibility/heading-clickpoint.html

        * accessibility/AccessibilityObject.cpp:
        (WebCore::AccessibilityObject::clickPoint):
        * accessibility/AccessibilityObject.h:
        * accessibility/AccessibilityRenderObject.cpp:
        (WebCore::AccessibilityRenderObject::clickPoint):
        * accessibility/AccessibilityRenderObject.h:

1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202
2011-10-03  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r96500.
        http://trac.webkit.org/changeset/96500
        https://bugs.webkit.org/show_bug.cgi?id=69268

        Breaks inspector, change landed with no test. (Requested by
        pfeldman on #webkit).

        * WebCore.gypi:
        * WebCore.vcproj/WebCore.vcproj:
        * inspector/front-end/ConsoleMessage.js:
        (WebInspector.ConsoleMessageImpl.prototype._linkifyLocation):
        * inspector/front-end/ConsoleView.js:
        (WebInspector.ConsoleView.prototype._consoleCleared):
        * inspector/front-end/DebuggerPresentationModel.js:
        (WebInspector.DebuggerPresentationModel.prototype.linkifyLocation.updateAnchor):
        (WebInspector.DebuggerPresentationModel.prototype.linkifyLocation):
        * inspector/front-end/EventListenersSidebarPane.js:
        (WebInspector.EventListenersSidebarPane.prototype.update.callback):
        (WebInspector.EventListenersSidebarPane.prototype.update):
        ():
        * inspector/front-end/Linkifier.js: Removed.
        * inspector/front-end/NetworkPanel.js:
        (WebInspector.NetworkLogView):
        (WebInspector.NetworkLogView.prototype._reset):
        (WebInspector.NetworkDataGridNode.prototype._refreshInitiatorCell):
        * inspector/front-end/ProfileDataGridTree.js:
        (WebInspector.ProfileDataGridNode.prototype.createCell):
        * inspector/front-end/ProfileView.js:
        (WebInspector.CPUProfileView):
        (WebInspector.CPUProfileView.prototype._resetClicked):
        * inspector/front-end/TimelinePanel.js:
        (WebInspector.TimelinePanel):
        (WebInspector.TimelinePanel.prototype._clearPanel):
        (WebInspector.TimelinePanel.FormattedRecord):
        (WebInspector.TimelinePanel.FormattedRecord.prototype._generatePopupContent):
        (WebInspector.TimelinePanel.FormattedRecord.prototype._getRecordDetails):
        (WebInspector.TimelinePanel.FormattedRecord.prototype._linkifyLocation):
        (WebInspector.TimelinePanel.FormattedRecord.prototype._linkifyCallFrame):
        (WebInspector.TimelinePanel.PopupContentHelper):
        (WebInspector.TimelinePanel.PopupContentHelper.prototype._appendLinkRow):
        (WebInspector.TimelinePanel.PopupContentHelper.prototype._appendStackTrace):
        * inspector/front-end/WebKit.qrc:
        * inspector/front-end/inspector.html:
        * inspector/front-end/inspector.js:

1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242
2011-09-30  Antti Koivisto  <antti@apple.com>

        Add exact match attribute selectors to the fast path
        https://bugs.webkit.org/show_bug.cgi?id=69159

        Reviewed by Sam Weinig.

        Attribute selectors are increasingly common and we have them in our default style sheet too.
        [foo] and [foo="bar"] type selectors can be resolved quickly and easily in the fast path.
        
        - Implement fast path checking for simple attribute selectors.
        - Get rid of the ill-defined CSSSelector::hasAttribute(), inline CSSSelector::attribute()
        
        This is ~20% progression in styleForElement() performance loading the full HTML5 spec (~0.8s).

        * css/CSSSelector.cpp:
        (WebCore::CSSSelector::selectorText):
        * css/CSSSelector.h:
        (WebCore::CSSSelector::hasTag):
        (WebCore::CSSSelector::attribute):
        (WebCore::CSSSelector::isAttributeSelector):
        * css/CSSSelectorList.cpp:
        (WebCore::SelectorNeedsNamespaceResolutionFunctor::operator()):
        * css/CSSStyleSelector.cpp:
        (WebCore::CSSStyleSelector::checkSelector):
        * css/SelectorChecker.cpp:
        (WebCore::SelectorChecker::fastCheckRightmostSelector):
        (WebCore::SelectorChecker::fastCheckSelector):
        (WebCore::isFastCheckableMatch):
        (WebCore::isFastCheckableRightmostSelector):
        (WebCore::SelectorChecker::isFastCheckableSelector):
        (WebCore::SelectorChecker::checkSelector):
        (WebCore::htmlAttributeHasCaseInsensitiveValue):
        (WebCore::anyAttributeMatches):
        (WebCore::SelectorChecker::checkOneSelector):
        * css/SelectorChecker.h:
        (WebCore::SelectorChecker::attributeNameMatches):
        (WebCore::SelectorChecker::checkExactAttribute):
        (WebCore::SelectorChecker::fastCheckRightmostAttributeSelector):

1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256
2011-10-03  Mike Reed  <reed@google.com>

        respect other paint flags when setting flags for the font. No need to fiddle with DC(0) in paintSkiaText.
        https://bugs.webkit.org/show_bug.cgi?id=69172

        Reviewed by Stephen White.

        No new tests. This is a cleanup/optimization, existing tests apply

        * platform/graphics/skia/SkiaFontWin.cpp:
        (WebCore::getDefaultGDITextFlags):
        (WebCore::setupPaintForFont):
        (WebCore::paintSkiaText):

1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272
2011-10-03  Andreas Kling  <kling@webkit.org>

        FontFallbackList: Glyph pages waste a lot of memory.
        https://bugs.webkit.org/show_bug.cgi?id=69260

        Reviewed by Dan Bernstein.

        Use a minimum hash table size of 16 (down from 64) for FontFallbackList's
        glyph pages. This reduces memory consumption by ~900 kB when loading the
        full HTML5 spec.

        The cost is two additional rehash()es of FontFallbackList::m_pages when
        adding the 32nd and 64th pages to the hash map.

        * platform/graphics/FontFallbackList.h:

1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286
2011-10-03  Konstantin Scheglov  <scheglov@google.com>

        Right border missing from table with colspan and collapsing border
        https://bugs.webkit.org/show_bug.cgi?id=14274

        Reviewed by David Hyatt.

        Test: fast/table/border-collapsing/bug14274.html

        * rendering/RenderTable.cpp:
        (WebCore::RenderTable::RenderTable):
        * rendering/RenderTable.h:
        (WebCore::RenderTable::colToEffCol):

1287 1288 1289 1290 1291 1292 1293 1294 1295 1296
2011-10-03  Carlos Garcia Campos  <cgarcia@igalia.com>

        [GTK] Fix make distcheck build
        https://bugs.webkit.org/show_bug.cgi?id=69243

        Reviewed by Martin Robinson.

        * GNUmakefile.am:
        * GNUmakefile.list.am:

1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310
2011-10-03  Pierre Rossi  <pierre.rossi@gmail.com>

        [Qt] Build fix: Qt::escape is deprecated in Qt5
        https://bugs.webkit.org/show_bug.cgi?id=69162

        Use QString::toHtmlEscaped in the Qt5 case.

        Reviewed by Andreas Kling.

        No new tests needed.

        * WebCore.pro: adjust the include path accordingly
        in the v8 case.

1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365
2011-10-03  Ilya Tikhonovsky  <loislo@chromium.org>

        Web Inspector: debuggerPresentatioModel.linkifyLocation leaks updateAnchor closure instances.
        https://bugs.webkit.org/show_bug.cgi?id=69146

        In many places we use linkifyLocation function to produce a link node which updates automatically when the source file is changed on the fly.
        Such changes happen when we use pretty print or another operation that changes the source code somehow.
        linkifyLocation associates a new instance of updateAnchor closure with the each link node and add the closure to the SourceMappingUpdated event's list.
        As the result the node<->closure pairs wouldn't be collected until reset the UI and DebuggerPresentationModel.

        Reviewed by Yury Semikhatsky.

        Test: inspector/performance/resources/network-append-30-requests.html

        * WebCore.gypi:
        * WebCore.vcproj/WebCore.vcproj:
        * inspector/front-end/ConsoleMessage.js:
        (WebInspector.ConsoleMessage.prototype._linkifyLocation):
        * inspector/front-end/ConsoleView.js:
        (WebInspector.ConsoleView.prototype._consoleCleared):
        * inspector/front-end/DebuggerPresentationModel.js:
        * inspector/front-end/EventListenersSidebarPane.js:
        (WebInspector.EventListenersSidebarPane.prototype.update.callback):
        (WebInspector.EventListenersSidebarPane.prototype.update):
        ():
        * inspector/front-end/Linkifier.js: Added.
        (WebInspector.Linkifier):
        (WebInspector.Linkifier.prototype.linkifyLocation):
        (WebInspector.Linkifier.prototype.reset):
        (WebInspector.Linkifier.prototype._updateSourceAnchors):
        (WebInspector.Linkifier.prototype._updateAnchor):
        * inspector/front-end/NetworkPanel.js:
        (WebInspector.NetworkLogView):
        (WebInspector.NetworkLogView.prototype._reset):
        (WebInspector.NetworkDataGridNode.prototype._refreshInitiatorCell):
        * inspector/front-end/ProfileDataGridTree.js:
        (WebInspector.ProfileDataGridNode.prototype.createCell):
        * inspector/front-end/ProfileView.js:
        (WebInspector.CPUProfileView):
        (WebInspector.CPUProfileView.prototype._resetClicked):
        * inspector/front-end/TimelinePanel.js:
        (WebInspector.TimelinePanel):
        (WebInspector.TimelinePanel.prototype._linkifyLocation):
        (WebInspector.TimelinePanel.prototype._linkifyCallFrame):
        (WebInspector.TimelinePanel.prototype._clearPanel):
        (WebInspector.TimelinePanel.FormattedRecord):
        (WebInspector.TimelinePanel.FormattedRecord.prototype._generatePopupContent):
        (WebInspector.TimelinePanel.FormattedRecord.prototype._getRecordDetails):
        (WebInspector.TimelinePanel.PopupContentHelper):
        (WebInspector.TimelinePanel.PopupContentHelper.prototype._appendLinkRow):
        (WebInspector.TimelinePanel.PopupContentHelper.prototype._appendStackTrace):
        * inspector/front-end/WebKit.qrc:
        * inspector/front-end/inspector.html:
        * inspector/front-end/inspector.js:

1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441
2011-10-03  Pavel Feldman  <pfeldman@google.com>

        Web Inspector: more compilation fixes including making ConsoleMessage a part of console model.
        https://bugs.webkit.org/show_bug.cgi?id=69253

        Reviewed by Yury Semikhatsky.

        * inspector/Inspector.json:
        * inspector/compile-front-end.sh:
        * inspector/front-end/ConsoleMessage.js:
        (WebInspector.ConsoleMessage.create):
        (WebInspector.ConsoleMessage.createTextMessage):
        (WebInspector.ConsoleMessageImpl):
        * inspector/front-end/ConsoleModel.js:
        (WebInspector.ConsoleModel.prototype._messageRepeatCountUpdated):
        (WebInspector.ConsoleMessage.create):
        (WebInspector.ConsoleMessage.createTextMessage):
        (WebInspector.ConsoleDispatcher.prototype.messageAdded):
        * inspector/front-end/ConsoleView.js:
        (WebInspector.ConsoleCommandResult):
        (WebInspector.ConsoleCommandResult.prototype.toMessageElement):
        * inspector/front-end/CookieParser.js:
        (WebInspector.Cookie.prototype.get path):
        (WebInspector.Cookie.prototype.get domain):
        (WebInspector.Cookie.prototype.expires):
        * inspector/front-end/DOMAgent.js:
        * inspector/front-end/ExtensionServer.js:
        (WebInspector.ExtensionServer.prototype._onAddConsoleMessage):
        * inspector/front-end/NetworkManager.js:
        (WebInspector.NetworkDispatcher.prototype._updateResourceWithResponse):
        (WebInspector.NetworkDispatcher.prototype.requestWillBeSent):
        (WebInspector.NetworkDispatcher.prototype.requestServedFromMemoryCache):
        (WebInspector.NetworkDispatcher.prototype.webSocketCreated):
        (WebInspector.NetworkDispatcher.prototype._createResource):
        * inspector/front-end/Resource.js:
        (WebInspector.Resource):
        (WebInspector.Resource.prototype.setContent):
        (WebInspector.Resource.prototype.searchInContent):
        * inspector/front-end/ResourceTreeModel.js:
        (WebInspector.ResourceTreeModel.prototype._createResource):
        * inspector/front-end/externs.js:
        (WebInspector.linkifyStringAsFragmentWithCustomLinkifier):
        (WebInspector.extensionServer.notifyResourceContentCommitted):
        (WebInspector.resourceForURL):
        (WebInspector.debuggerPresentationModel.linkifyLocation):
        (WebInspector.ObjectPropertiesSection):
        (WebInspector.ElementsTreeOutline):
        * inspector/front-end/inspector.html:
        * inspector/front-end/inspector.js:
        (WebInspector.log.logMessage):
        (WebInspector.log):
        * inspector/generate-protocol-externs:

2011-10-03  Pavel Feldman  <pfeldman@google.com>

        Web Inspector: move console message formatting from ConsoleView.js into ConsoleMessage.js
        https://bugs.webkit.org/show_bug.cgi?id=69244

        Reviewed by Yury Semikhatsky.

        * inspector/front-end/ConsoleMessage.js:
        (WebInspector.ConsoleMessage):
        (WebInspector.ConsoleMessage.prototype._formatMessage.else.else.linkifier):
        (WebInspector.ConsoleMessage.prototype._formatMessage):
        (WebInspector.ConsoleMessage.prototype._format):
        (WebInspector.ConsoleMessage.prototype._formatParameter):
        (WebInspector.ConsoleMessage.prototype._formatParameterAsValue):
        (WebInspector.ConsoleMessage.prototype._formatParameterAsObject):
        (WebInspector.ConsoleMessage.prototype._formatParameterAsNode):
        (WebInspector.ConsoleMessage.prototype._formatParameterAsArray):
        (WebInspector.ConsoleMessage.prototype._formatParameterAsString):
        (WebInspector.ConsoleMessage.prototype._printArray):
        (WebInspector.ConsoleMessage.prototype._formatAsArrayEntry):
        (WebInspector.ConsoleMessage.prototype._formatWithSubstitutionString):
        * inspector/front-end/ConsoleView.js:

1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458
2011-10-03  Dirk Schulze  <krit@webkit.org>

        feColorMatrix saturation is not limited to range 0..1 anymore
        https://bugs.webkit.org/show_bug.cgi?id=69245

        Reviewed by Nikolas Zimmermann.
        
        Opera doesn't limit the range of values for saturation on feColorMatrix from 0 to 1. The limitation
        was also removed from the new Filter Effects 1.0 specification. Values outside this range lead to
        under- or oversaturation of the filter input image.
        https://dvcs.w3.org/hg/FXTF/raw-file/tip/filters/publish/Filters.html#feColorMatrixElement

        Test: svg/filters/feColorMatrix-saturate.svg

        * svg/SVGFEColorMatrixElement.cpp:
        (WebCore::SVGFEColorMatrixElement::build):

1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475
2011-10-03  Andreas Kling  <kling@webkit.org>

        Shrink HTMLLIElement.
        https://bugs.webkit.org/show_bug.cgi?id=69250

        Reviewed by Antti Koivisto.

        Don't cache the explicit "value" attribute on the HTMLLIElement,
        but fetch it with fastGetAttribute when needed.
        This shrinks HTMLLIElement by one CPU word.

        * html/HTMLLIElement.cpp:
        (WebCore::HTMLLIElement::HTMLLIElement):
        (WebCore::HTMLLIElement::parseMappedAttribute):
        (WebCore::HTMLLIElement::attach):
        * html/HTMLLIElement.h:

1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500
2011-10-03  Vsevolod Vlasov  <vsevik@chromium.org>

        Web Inspector: Add support for backend search in script content.
        https://bugs.webkit.org/show_bug.cgi?id=69015

        Reviewed by Pavel Feldman.

        Tests: http/tests/inspector/search/search-in-concatenated-script.html
               http/tests/inspector/search/search-in-script.html

        * inspector/Inspector.json:
        * inspector/InspectorDebuggerAgent.cpp:
        (WebCore::InspectorDebuggerAgent::searchInContent):
        (WebCore::InspectorDebuggerAgent::getScriptSource):
        * inspector/InspectorDebuggerAgent.h:
        * inspector/front-end/ContentProviders.js:
        (WebInspector.ScriptContentProvider.prototype.requestContent):
        (WebInspector.ScriptContentProvider.prototype.searchInContent):
        (WebInspector.ConcatenatedScriptsContentProvider.prototype.searchInContent.maybeCallback):
        (WebInspector.ConcatenatedScriptsContentProvider.prototype.searchInContent.searchCallback):
        (WebInspector.ConcatenatedScriptsContentProvider.prototype.searchInContent):
        * inspector/front-end/Script.js:
        (WebInspector.Script.prototype.requestSource):
        (WebInspector.Script.prototype.searchInContent):

1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523
2011-10-03  Pavel Feldman  <pfeldman@google.com>

        Web Inspector: move console message formatting from ConsoleView.js into ConsoleMessage.js
        https://bugs.webkit.org/show_bug.cgi?id=69244

        Reviewed by Yury Semikhatsky.

        * inspector/front-end/ConsoleMessage.js:
        (WebInspector.ConsoleMessage):
        (WebInspector.ConsoleMessage.prototype._formatMessage.else.else.linkifier):
        (WebInspector.ConsoleMessage.prototype._formatMessage):
        (WebInspector.ConsoleMessage.prototype._format):
        (WebInspector.ConsoleMessage.prototype._formatParameter):
        (WebInspector.ConsoleMessage.prototype._formatParameterAsValue):
        (WebInspector.ConsoleMessage.prototype._formatParameterAsObject):
        (WebInspector.ConsoleMessage.prototype._formatParameterAsNode):
        (WebInspector.ConsoleMessage.prototype._formatParameterAsArray):
        (WebInspector.ConsoleMessage.prototype._formatParameterAsString):
        (WebInspector.ConsoleMessage.prototype._printArray):
        (WebInspector.ConsoleMessage.prototype._formatAsArrayEntry):
        (WebInspector.ConsoleMessage.prototype._formatWithSubstitutionString):
        * inspector/front-end/ConsoleView.js:

1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551
2011-10-03  Pavel Feldman  <pfeldman@chromium.org>

        Web Inspector: restore partial front-end compilability
        https://bugs.webkit.org/show_bug.cgi?id=69221

        Removed unused isWhitespace; introduced missing classes in Inspector.json;
        generated externs for the protocol types along with the commands.

        Reviewed by Yury Semikhatsky.

        * inspector/Inspector.json:
        * inspector/compile-front-end.sh:
        * inspector/front-end/DOMAgent.js:
        (WebInspector.DOMAgent):
        (WebInspector.DOMAgent.prototype._dispatchWhenDocumentAvailable.onDocumentAvailable):
        (WebInspector.DOMAgent.prototype._dispatchWhenDocumentAvailable):
        * inspector/front-end/ElementsPanel.js:
        (WebInspector.ElementsPanel.prototype.updateBreadcrumb):
        * inspector/front-end/ElementsTreeOutline.js:
        ():
        * inspector/front-end/Object.js:
        * inspector/front-end/Popover.js:
        (WebInspector.PopoverHelper.prototype._mouseMove):
        * inspector/front-end/View.js:
        * inspector/front-end/externs.js:
        (Array.prototype.remove):
        * inspector/generate-protocol-externs:

1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609
2011-10-02  Kent Tamura  <tkent@chromium.org>

        method/enctype/formMethod/formEnctype properties should be limited to known values.
        https://bugs.webkit.org/show_bug.cgi?id=68887

        Reviewed by Hajime Morita.

        According to the standard and other browser behaviors, the
        following IDL properties should be reflected to the corresponding
        HTML attributes on setting, but should return normalized values on
        getting.
        - HTMLFormElement::method
        - HTMLFormElement::enctype
        - HTMLInputElement::formMethod
        - HTMLInputElement::formEnctype
        - HTMLButtonElement::formMethod
        - HTMLButtonElement::formEnctype

        Tests: fast/forms/enctype-attribute.html
               fast/forms/method-attribute.html

        * html/HTMLButtonElement.idl:
        Replace 'Reflect' with 'ConvertNullToNullString' in order to use a
        getter function.
        * html/HTMLFormControlElement.cpp:
        (WebCore::HTMLFormControlElement::formEnctype):
        Normalizes the value by parseEncodingType().
        (WebCore::HTMLFormControlElement::setFormEnctype):
        Simply calls setAttribute()
        (WebCore::HTMLFormControlElement::formMethod):
        Normalizes the value by parseMethodType().
        (WebCore::HTMLFormControlElement::setFormMethod):
        Simply calls setAttribute()
        * html/HTMLFormControlElement.h:
        * html/HTMLFormElement.cpp:
        (WebCore::HTMLFormElement::parseMappedAttribute):
        Follow the Attributes function renaming.
        (WebCore::HTMLFormElement::method):
        Normalizes the value by parseMethodType().
        * html/HTMLFormElement.idl:
        Replace 'Reflect' with 'ConvertNullToNullString' in order to use a
        getter function.
        * html/HTMLInputElement.idl: ditto.
        * loader/FormSubmission.cpp:
        (WebCore::FormSubmission::Attributes::parseEncodingType):
        New function made from a part of old parseEncodingType().
        (WebCore::FormSubmission::Attributes::updateEncodingType):
        Renamed from parseEncodingType().
        (WebCore::FormSubmission::Attributes::parseMethodType):
        New function made from a part of old parseMethodType().
        (WebCore::FormSubmission::Attributes::updateMethodType):
        Renamed from parseMethodType().
        (WebCore::FormSubmission::create):
        Follow the Attributes function renaming.
        * loader/FormSubmission.h:
        (WebCore::FormSubmission::Attributes::methodString):
        A helper function to provide normalized strings for FormSubmission::Method.

1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620
2011-10-02  Sam Weinig  <sam@webkit.org>

        Strength reduce Mac only Frame::searchForLabelsBeforeElement and Frame::matchLabelsAgainstElement into callers
        https://bugs.webkit.org/show_bug.cgi?id=69230

        Reviewed by Anders Carlsson.

        * WebCore.exp.in:
        * page/Frame.h:
        * page/mac/FrameMac.mm:

1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635
2011-10-02  Zeno Albisser  <zeno.albisser@nokia.com>

        [Qt][WK2][Mac] WebKit2 does not build on mac after merge of Qt5 refactor branch.
        https://bugs.webkit.org/show_bug.cgi?id=69223

        Add a missing import (NSWindow.h) in WebVideoFullscreenHUDWindowController.
        Add a missing include path and a missing objective source file to WebCore.pro.

        Reviewed by Noam Rosenthal.

        No new tests, build fix.

        * WebCore.pro:
        * platform/mac/WebVideoFullscreenHUDWindowController.h:

1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651
2011-10-02  Julien Chaffraix  <jchaffraix@webkit.org>

        Remove an unused member in RenderTable::ColumnStruct
        https://bugs.webkit.org/show_bug.cgi?id=69119

        Reviewed by Darin Adler.

        No test as there should be no change in behavior.

        The member was added several years ago and its users were removed or changed. The code would
        need a refactoring but this would be tricky to get right. This change just removes the member
        to reap the short-term benefits.

        * rendering/RenderTable.h:
        (WebCore::RenderTable::ColumnStruct::ColumnStruct): Remove anything associated with m_width.

1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670
2011-10-02  Dan Bernstein  <mitz@apple.com>

        REGRESSION (r95502): Assertion failure in CSSPrimitiveValue::computeLengthDouble() when media query specifies unit-less length
        https://bugs.webkit.org/show_bug.cgi?id=68760

        Reviewed by Antti Koivisto.

        Test: fast/media/invalid-lengths.html

        Made length-comparison media queries accept only length values. In compatibility mode, numbers
        are allowed as well, and they are interpreted as pixels.

        * css/MediaQueryEvaluator.cpp:
        (WebCore::computeLength): Added this helper function.
        (WebCore::device_heightMediaFeatureEval): Changed to use computeLength().
        (WebCore::device_widthMediaFeatureEval): Ditto.
        (WebCore::heightMediaFeatureEval): Ditto.
        (WebCore::widthMediaFeatureEval): Ditto.

1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690
2011-10-02  Dirk Schulze  <krit@webkit.org>

        SVG Mask should take 'color-interpolation' into account to determine the color space of the mask image
        https://bugs.webkit.org/show_bug.cgi?id=69076

        Reviewed by Simon Fraser.
        
        SVG Masks should take 'color-interpolation' into account to determine the color space of the mask image.
        The behavior was changed in SVG 1.1 SE. The color space of the mask image gets defined by the computed value of the
        'color-interpolation' property. This will switch the default color space from linearRGB to sRGB for mask images and
        is a performance improvement for platforms without native support for linearRGB color space. The
        color space transformation can be avoided.

        Test: svg/custom/grayscale-gradient-mask-2.svg

        * rendering/svg/RenderSVGResourceMasker.cpp:
        (WebCore::RenderSVGResourceMasker::applyResource):
        (WebCore::RenderSVGResourceMasker::drawContentIntoMaskImage):
        * rendering/svg/RenderSVGResourceMasker.h:

1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706
2011-10-01  Vangelis Kokkevis  <vangelis@chromium.org>

        [chromium] Fixing draw matrix for composited layers. This
        was a regression introduced by:
        http://trac.webkit.org/changeset/96454

        https://bugs.webkit.org/show_bug.cgi?id=69217

        Reviewed by James Robinson.

        Tests: compositor test now pass

        * platform/graphics/chromium/cc/CCTiledLayerImpl.cpp:
        (WebCore::CCTiledLayerImpl::draw):
        * platform/graphics/chromium/cc/CCTiledLayerImpl.h:

1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724
2011-10-01  Geoffrey Garen  <ggaren@apple.com>

        Removed redundant helper functions for allocating Strong handles
        https://bugs.webkit.org/show_bug.cgi?id=69218

        Reviewed by Sam Weinig.

        * ForwardingHeaders/heap/StrongInlines.h: Added.
        * bindings/js/JSCallbackData.h:
        * bindings/js/JSDOMWindowShell.cpp:
        * bindings/js/ScheduledAction.h:
        * bindings/js/ScriptCachedFrameData.cpp:
        * bindings/js/ScriptController.cpp:
        * bindings/js/ScriptState.cpp:
        * bindings/js/ScriptValue.h:
        * bindings/js/WorkerScriptController.cpp:
        * bridge/runtime_root.cpp:

1725 1726 1727 1728 1729 1730 1731 1732 1733 1734
2011-10-01  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r96421.
        http://trac.webkit.org/changeset/96421
        https://bugs.webkit.org/show_bug.cgi?id=69206

        It broke Qt-WK2 build (Requested by ossy on #webkit).

        * WebCore.pro:

1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816
2011-09-30  Adrienne Walker  <enne@google.com>

        [chromium] Track separate scroll deltas on the compositor thread
        https://bugs.webkit.org/show_bug.cgi?id=69034

        Reviewed by James Robinson.

        Test: new tests in CCLayerTreeHostImplTest/CCLayerTreeHostTest

        Track scroll deltas and maximum scrolls on LayerChromium/CCLayerImpl.
        The CCLayerImpl tree is now able to adjust these scroll deltas
        independent of the main thread. To push them back to the main thread,
        CCLayerTreeHostImpl collects them all and then bakes them into the
        scroll position during a begin frame and commit call. This allows new
        deltas to be collected while the scroll position containing the old
        delta and the old scroll position will be overwritten during the next
        commit.

        Only the main frame is supported right now for pushing this scroll
        delta back into the authoritative WebKit source to keep both sides in
        sync.

        Move tilingTransform() to the impl tree because drawTransform() is now
        updated using scroll deltas and so the results from calculating draw
        transforms needs to be dynamic so that children are updated properly.

        Also, exposed DebugScopedSetImplThread public because it's used in a
        few places.

        * platform/graphics/chromium/LayerChromium.cpp:
        (WebCore::LayerChromium::pushPropertiesTo):
        * platform/graphics/chromium/LayerChromium.h:
        (WebCore::LayerChromium::maxScrollPosition):
        (WebCore::LayerChromium::setMaxScrollPosition):
        (WebCore::LayerChromium::scrollDelta):
        (WebCore::LayerChromium::scrollable):
        * platform/graphics/chromium/NonCompositedContentHost.cpp:
        (WebCore::NonCompositedContentHost::setViewport):
        * platform/graphics/chromium/TiledLayerChromium.cpp:
        (WebCore::TiledLayerChromium::pushPropertiesTo):
        * platform/graphics/chromium/TiledLayerChromium.h:
        * platform/graphics/chromium/cc/CCLayerImpl.cpp:
        (WebCore::CCLayerImpl::scrollBy):
        * platform/graphics/chromium/cc/CCLayerImpl.h:
        (WebCore::CCLayerImpl::maxScrollPosition):
        (WebCore::CCLayerImpl::setMaxScrollPosition):
        (WebCore::CCLayerImpl::scrollDelta):
        (WebCore::CCLayerImpl::setScrollDelta):
        (WebCore::CCLayerImpl::scrollable):
        * platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
        (WebCore::CCLayerTreeHost::applyScrollDeltas):
        * platform/graphics/chromium/cc/CCLayerTreeHost.h:
        * platform/graphics/chromium/cc/CCLayerTreeHostCommon.cpp:
        (WebCore::calculateDrawTransformsAndVisibilityInternal):
        * platform/graphics/chromium/cc/CCLayerTreeHostCommon.h:
        * platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
        (WebCore::CCLayerTreeHostImpl::scrollRootLayer):
        (WebCore::CCLayerTreeHostImpl::processScrollDeltas):
        * platform/graphics/chromium/cc/CCLayerTreeHostImpl.h:
        * platform/graphics/chromium/cc/CCProxy.h:
        * platform/graphics/chromium/cc/CCSingleThreadProxy.cpp:
        (WebCore::CCSingleThreadProxy::start):
        (WebCore::CCSingleThreadProxy::context):
        (WebCore::CCSingleThreadProxy::finishAllRendering):
        (WebCore::CCSingleThreadProxy::initializeLayerRenderer):
        (WebCore::CCSingleThreadProxy::setNeedsCommit):
        (WebCore::CCSingleThreadProxy::stop):
        (WebCore::CCSingleThreadProxy::recreateContextIfNeeded):
        (WebCore::CCSingleThreadProxy::commitIfNeeded):
        (WebCore::CCSingleThreadProxy::doComposite):
        * platform/graphics/chromium/cc/CCSingleThreadProxy.h:
        (WebCore::DebugScopedSetImplThread::DebugScopedSetImplThread):
        (WebCore::DebugScopedSetImplThread::~DebugScopedSetImplThread):
        * platform/graphics/chromium/cc/CCThreadProxy.cpp:
        (WebCore::CCThreadProxy::createBeginFrameAndCommitTaskOnCCThread):
        (WebCore::CCThreadProxy::beginFrameAndCommit):
        * platform/graphics/chromium/cc/CCThreadProxy.h:
        * platform/graphics/chromium/cc/CCTiledLayerImpl.cpp:
        (WebCore::CCTiledLayerImpl::tilingTransform):
        (WebCore::CCTiledLayerImpl::draw):
        * platform/graphics/chromium/cc/CCTiledLayerImpl.h:

1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844
2011-09-30  David Hyatt  <hyatt@apple.com>

        https://bugs.webkit.org/show_bug.cgi?id=69202
        
        [CSS3 Regions] Make positioned objects use the first region as the ICB when it
        is their containing block. Make sure static distance computations take into
        account the current region as well.

        Reviewed by Sam Weinig.

        Added new tests in fast/regions.

        * rendering/RenderBlock.cpp:
        (WebCore::RenderBlock::adjustPositionedBlock):
        * rendering/RenderBlock.h:
        (WebCore::RenderBlock::startOffsetForContent):
        * rendering/RenderBox.cpp:
        (WebCore::RenderBox::containingBlockLogicalWidthForPositioned):
        (WebCore::RenderBox::containingBlockLogicalHeightForPositioned):
        (WebCore::computeInlineStaticDistance):
        (WebCore::computeLogicalLeftPositionedOffset):
        (WebCore::computeLogicalTopPositionedOffset):
        * rendering/RenderFlowThread.cpp:
        (WebCore::RenderFlowThread::contentLogicalWidthOfFirstRegion):
        (WebCore::RenderFlowThread::contentLogicalHeightOfFirstRegion):
        (WebCore::RenderFlowThread::contentLogicalLeftOfFirstRegion):
        * rendering/RenderFlowThread.h:

1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865
2011-09-30  David Barr  <davidbarr@chromium.org>

        Implement currentColor support for CSS gradients
        https://bugs.webkit.org/show_bug.cgi?id=58730

        Reviewed by Adam Barth.

        Allow currentColor as a CSS3 gradient color-stop.

        Test: fast/css/linear-gradient-currentcolor.html

        * css/CSSGradientValue.cpp:
        (WebCore::CSSGradientValue::isCacheable): Make currentColor uncacheable since the
        background image may be invalidated if currentColor is used as a gradient stop and
        the value of the 'color' property changes.
        * css/CSSParser.cpp:
        (WebCore::parseGradientColorOrKeyword): Accept the currentColor keyword.
        * rendering/style/StyleGeneratedImage.cpp:
        (WebCore::StyleGeneratedImage::image): Initialize document styleSelector so that
        currentColor may be computed for a StyleGeneratedImage.

1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877
2011-09-30  Gavin Barraclough  <barraclough@apple.com>

        Remove toStrictThisObject, toThisString, toThisJSString
        https://bugs.webkit.org/show_bug.cgi?id=69203

        Rubber stamped by Sam Weinig

        These are no longer used.

        * bindings/js/JSDOMWindowBase.cpp:
        * bindings/js/JSDOMWindowBase.h:

1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888
2011-09-30  Adam Barth  <abarth@webkit.org>

        Remove ASSERT introduced in http://trac.webkit.org/changeset/96427
        which is triggering all over the place.

        Sorting this out is covered in this bug:
        https://bugs.webkit.org/show_bug.cgi?id=69200

        * rendering/RenderView.cpp:
        (WebCore::RenderView::layout):

1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901
2011-09-30  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r96426.
        http://trac.webkit.org/changeset/96426
        https://bugs.webkit.org/show_bug.cgi?id=69199

        Broke a zillion image results on Chromium Skia Mac (Requested
        by abarth|gardener on #webkit).

        * platform/graphics/skia/GraphicsContextSkia.cpp:
        (WebCore::getFocusRingOutset):
        (WebCore::GraphicsContext::drawFocusRing):

1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914
2011-09-30  Ilya Sherman  <isherman@chromium.org>

        Fix assertion failure in XSS Auditor
        https://bugs.webkit.org/show_bug.cgi?id=69050
        https://code.google.com/p/chromium/issues/detail?id=97346

        Reviewed by Daniel Bates.

        Test: fast/forms/xss-auditor-doesnt-crash.html

        * html/parser/XSSAuditor.cpp:
        (WebCore::XSSAuditor::init): Don't try to decode the HTML body if it is empty.

1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926
2011-09-30  Maciej Stachowiak  <mjs@apple.com>

        Loading page on potterybankids causes reproducible assertion failure in debug builds
        https://bugs.webkit.org/show_bug.cgi?id=69185
        <rdar://problem/10218241>

        Reviewed by Simon Fraser.

        * rendering/RenderLayer.cpp:
        (WebCore::RenderLayer::computeRepaintRects): Remove assert condition that isn't guaranteed
        to be true.

1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962
2011-09-30  Johnny Ding  <jnd@chromium.org>

        Support -webkit-tap-highlight-color when enabling touch events support.
        https://bugs.webkit.org/show_bug.cgi?id=48544

        Reviewed by Kenneth Rohde Christiansen.

        Original code from the iOS WebCore code dump, extracted and modified by tijiang@rim and jnd@chromium.
        Supports the new CSS property -webkit-tap-highlight-color on platforms which support touch events.
        Platform can override WebCore::RenderTheme::platformTapHighlightColor to use its own platform
        specific default tap highlight color. Otherwise RenderTheme::defaultTapHighlightColor will be
        used as default tap highlight color.

        Test: fast/events/touch/tap-highlight-color.html

        * css/CSSComputedStyleDeclaration.cpp:
        (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
        * css/CSSParser.cpp:
        (WebCore::CSSParser::parseValue):
        * css/CSSPropertyNames.in:
        * css/CSSStyleSelector.cpp:
        (WebCore::CSSStyleSelector::applyProperty):
        * rendering/RenderTheme.cpp:
        (WebCore::RenderTheme::tapHighlightColor):
        * rendering/RenderTheme.h:
        (WebCore::RenderTheme::platformTapHighlightColor):
        * rendering/style/RenderStyle.cpp:
        (WebCore::RenderStyle::initialTapHighlightColor):
        * rendering/style/RenderStyle.h:
        (WebCore::InheritedFlags::tapHighlightColor):
        (WebCore::InheritedFlags::setTapHighlightColor):
        * rendering/style/StyleRareInheritedData.cpp:
        (WebCore::StyleRareInheritedData::StyleRareInheritedData):
        (WebCore::StyleRareInheritedData::operator==):
        * rendering/style/StyleRareInheritedData.h:

1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976
2011-09-30  David Hyatt  <hyatt@apple.com>

        https://bugs.webkit.org/show_bug.cgi?id=69173
        
        RTL/LTR mixtures still not correct in regions. Simplify the loop once I realized it's only
        your directionality that matters and not your containing block's.

        Reviewed by Dan Bernstein.

        Added new test in fast/regions.

        * rendering/RenderBox.cpp:
        (WebCore::RenderBox::borderBoxRectInRegion):

1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989
2011-09-30  Dan Bernstein  <mitz@apple.com>

        <rdar://problem/10208291> first-letter in generated before content with display: table is not updated

        Reviewed by Sam Weinig.

        Test: fast/css-generated-content/first-letter-in-nested-before.html

        * rendering/RenderObjectChildList.cpp:
        (WebCore::RenderObjectChildList::updateBeforeAfterContent): Preserve the style type of anonymous
        containers around the generated content when updating their style. This preserves the first-letter-ness
        of the inline wrapping the first letter, which allows updateFirstLetter() to identify it later.

1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007
2011-09-30  Cary Clark  <caryclark@google.com>

        Inset focus ring (Skia on Mac)
        https://bugs.webkit.org/show_bug.cgi?id=69166
        http://code.google.com/p/chromium/issues/detail?id=97956

        This focus ring was drawn too large and was left tracks
        in subsequent invalidations. Make it more closely match
        the CG version.

        Reviewed by Stephen White.

        No new tests. This platform is not enabled.

        * platform/graphics/skia/GraphicsContextSkia.cpp:
        (WebCore::getFocusRingOutset):
        (WebCore::GraphicsContext::drawFocusRing):

2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021
2011-09-30  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r96422.
        http://trac.webkit.org/changeset/96422
        https://bugs.webkit.org/show_bug.cgi?id=69170

        Broke Windows build and kling wanted to roll it out as well
        (Requested by rniwa on #webkit).

        * rendering/InlineBox.cpp:
        (WebCore::InlineBox::prevOnLineExists):
        * rendering/InlineBox.h:
        (WebCore::InlineBox::InlineBox):

2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061
2011-09-30  David Hyatt  <hyatt@apple.com>

        https://bugs.webkit.org/show_bug.cgi?id=69167
        
        [CSS3 Regions] Fix some bugs in the computation of the logical left and width offsets
        for blocks in variable width regions. Specifically, this patch addresses a minor bug
        with overflow:hidden/scroll/auto block placement and with RTL directionality.

        Reviewed by Sam Weinig.

        Added five new tests in fast/regions.

        * rendering/RenderBlock.cpp:
        (WebCore::RenderBlock::logicalRightOffsetForContent):
        Avoid a double fetch of the border box in a given region by not calling
        logicalLeftOffsetForContent. No correctness change here. It's just cleaner.

        * rendering/RenderBox.cpp:
        (WebCore::RenderBox::borderBoxRectInRegion):
        Change the shifted optimization to be cached for "self" rather than for "containing block".
        Rework the adjustment loop to handle changes in directionality and to fix correctness
        issues with RTL.

        (WebCore::RenderBox::containingBlockLogicalWidthForContentInRegion):
        Don't double adjust if an object uses line width as the containing block width. In that
        case we already computed the line width in the region, so we don't need to apply any
        additional fixup.

        (WebCore::RenderBox::renderBoxRegionInfo):
        * rendering/RenderBoxRegionInfo.h:
        (WebCore::RenderBoxRegionInfo::RenderBoxRegionInfo):
        (WebCore::RenderBoxRegionInfo::isShifted):
        Changed the shifted code to be on self rather than on containing block.

        * rendering/RenderFlowThread.cpp:
        (WebCore::RenderFlowThread::layout):
        Refactor the layout code for RenderFlowThread to properly set up region rects assuming
        right alignment in RTL code. This change forces us to compute our maximum logical width
        first before looping through the regions again to set their content rects.

2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080
2011-09-30  Andreas Kling  <kling@webkit.org>

        REGRESSION(r82611) InlineBox has 33 bits of bitset, causing alignment issues and extra memory use.
        https://bugs.webkit.org/show_bug.cgi?id=64914

        Reviewed by Antti Koivisto.

        Remove InlineBox::prevOnLineExists() and its two accompanying bitfields
        since nobody is using them anymore. nextOnLineExists() is still used by
        GTK+ accessibility code.

        Also added a compile-time assertion to guard against future bloating of
        the InlineBox class.

        * rendering/InlineBox.cpp:
        (WebCore::SameSizeAsInlineBox::~SameSizeAsInlineBox):
        * rendering/InlineBox.h:
        (WebCore::InlineBox::InlineBox):

2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094
2011-09-30  Pierre Rossi  <pierre.rossi@gmail.com>

        [Qt] Build fix: Qt::escape is deprecated in Qt5
        https://bugs.webkit.org/show_bug.cgi?id=69162

        Use QString::toHtmlEscaped in the Qt5 case.

        Reviewed by Andreas Kling.

        No new tests needed.

        * WebCore.pro: adjust the include path accordingly
        in the v8 case.

2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106
2011-09-30  Ryosuke Niwa  <rniwa@webkit.org>

        Remove unused ReplaceSelectionCommand::copyStyleToChildren
        https://bugs.webkit.org/show_bug.cgi?id=69153

        Reviewed by Antonio Gomes.

        Removed the function because it's no called anywhere.

        * editing/ReplaceSelectionCommand.cpp:
        * editing/ReplaceSelectionCommand.h:

2107 2108 2109 2110 2111 2112 2113 2114 2115 2116
2011-09-30  Aaron Colwell  <acolwell@chromium.org>

        Fix EnabledAtRuntime support for constants.
        https://bugs.webkit.org/show_bug.cgi?id=67311

        Reviewed by Adam Barth.

        * bindings/scripts/CodeGeneratorV8.pm:
        (GenerateImplementation):

2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268