Timeline


and

01/19/11:

23:46 Changeset [76212] by tkent@chromium.org

2011-01-19 Dominic Cooney <dominicc@google.com>

Reviewed by Kent Tamura.

Update test expectations for QT now that keygen is a HTMLKeygenElement.
https://bugs.webkit.org/show_bug.cgi?id=52787

  • platform/qt/fast/dom/Window/window-properties-expected.txt:
  • platform/qt/fast/dom/Window/window-property-descriptors-expected.txt:
  • platform/qt/fast/dom/prototype-inheritance-expected.txt:
  • platform/qt/fast/js/global-constructors-expected.txt:
23:45 Changeset [76211] by mjs@apple.com

2011-01-19 Maciej Stachowiak <mjs@apple.com>

Reviewed by Dan Bernstein.

Reorganize WebKit2 Skipped list, and remove 56 tests that no longer fail
https://bugs.webkit.org/show_bug.cgi?id=52786

  • platform/mac-wk2/Skipped:
23:36 Changeset [76210] by caseq@chromium.org

2011-01-19 Andrey Kosyakov <caseq@chromium.org>

Reviewed by Yury Semikhatsky.

Flaky Test: http/tests/inspector/extensions-resources-redirect.html
https://bugs.webkit.org/show_bug.cgi?id=52709

  • http/tests/inspector/extensions-resources-redirect-expected.txt:
  • http/tests/inspector/extensions-resources-redirect.html:
23:02 Changeset [76209] by dimich@chromium.org

[Chromium] Unreviewed, build fix.

During revert of 76203, sheriffbot did not revert "rename+change" correctly.

  • src/ChromiumBridge.cpp: Renamed from Source/WebKit/chromium/src/PlatformBridge.cpp.

(WebCore::toChromeClientImpl):
(WebCore::toWebWidgetClient):
(WebCore::getCookieJar):
(WebCore::ChromiumBridge::cacheMetadata):
(WebCore::ChromiumBridge::clipboardIsFormatAvailable):
(WebCore::ChromiumBridge::clipboardReadPlainText):
(WebCore::ChromiumBridge::clipboardReadHTML):
(WebCore::ChromiumBridge::clipboardWriteSelection):
(WebCore::ChromiumBridge::clipboardWritePlainText):
(WebCore::ChromiumBridge::clipboardWriteURL):
(WebCore::ChromiumBridge::clipboardWriteImage):
(WebCore::ChromiumBridge::clipboardWriteData):
(WebCore::ChromiumBridge::clipboardReadAvailableTypes):
(WebCore::ChromiumBridge::clipboardReadData):
(WebCore::ChromiumBridge::clipboardReadFilenames):
(WebCore::ChromiumBridge::setCookies):
(WebCore::ChromiumBridge::cookies):
(WebCore::ChromiumBridge::cookieRequestHeaderFieldValue):
(WebCore::ChromiumBridge::rawCookies):
(WebCore::ChromiumBridge::deleteCookie):
(WebCore::ChromiumBridge::cookiesEnabled):
(WebCore::ChromiumBridge::prefetchDNS):
(WebCore::ChromiumBridge::fileExists):
(WebCore::ChromiumBridge::deleteFile):
(WebCore::ChromiumBridge::deleteEmptyDirectory):
(WebCore::ChromiumBridge::getFileSize):
(WebCore::ChromiumBridge::revealFolderInOS):
(WebCore::ChromiumBridge::getFileModificationTime):
(WebCore::ChromiumBridge::directoryName):
(WebCore::ChromiumBridge::pathByAppendingComponent):
(WebCore::ChromiumBridge::makeAllDirectories):
(WebCore::ChromiumBridge::getAbsolutePath):
(WebCore::ChromiumBridge::isDirectory):
(WebCore::ChromiumBridge::filePathToURL):
(WebCore::ChromiumBridge::openFile):
(WebCore::ChromiumBridge::closeFile):
(WebCore::ChromiumBridge::seekFile):
(WebCore::ChromiumBridge::truncateFile):
(WebCore::ChromiumBridge::readFromFile):
(WebCore::ChromiumBridge::writeToFile):
(WebCore::ChromiumBridge::ensureFontLoaded):
(WebCore::ChromiumBridge::getFontFamilyForCharacters):
(WebCore::ChromiumBridge::getRenderStyleForStrike):
(WebCore::ChromiumBridge::loadFont):
(WebCore::ChromiumBridge::databaseOpenFile):
(WebCore::ChromiumBridge::databaseDeleteFile):
(WebCore::ChromiumBridge::databaseGetFileAttributes):
(WebCore::ChromiumBridge::databaseGetFileSize):
(WebCore::ChromiumBridge::idbFactory):
(WebCore::ChromiumBridge::idbShutdown):
(WebCore::ChromiumBridge::createIDBKeysFromSerializedValuesAndKeyPath):
(WebCore::ChromiumBridge::signedPublicKeyAndChallengeString):
(WebCore::ChromiumBridge::computedDefaultLanguage):
(WebCore::ChromiumBridge::layoutTestMode):
(WebCore::ChromiumBridge::isSupportedImageMIMEType):
(WebCore::ChromiumBridge::isSupportedJavaScriptMIMEType):
(WebCore::ChromiumBridge::isSupportedNonImageMIMEType):
(WebCore::ChromiumBridge::mimeTypeForExtension):
(WebCore::ChromiumBridge::mimeTypeFromFile):
(WebCore::ChromiumBridge::preferredExtensionForMIMEType):
(WebCore::ChromiumBridge::plugins):
(WebCore::ChromiumBridge::pluginScriptableObject):
(WebCore::ChromiumBridge::loadPlatformImageResource):
(WebCore::ChromiumBridge::loadPlatformAudioResource):
(WebCore::ChromiumBridge::decodeAudioFileData):
(WebCore::ChromiumBridge::sandboxEnabled):
(WebCore::ChromiumBridge::setSharedTimerFiredFunction):
(WebCore::ChromiumBridge::setSharedTimerFireTime):
(WebCore::ChromiumBridge::stopSharedTimer):
(WebCore::ChromiumBridge::decrementStatsCounter):
(WebCore::ChromiumBridge::incrementStatsCounter):
(WebCore::ChromiumBridge::histogramCustomCounts):
(WebCore::ChromiumBridge::histogramEnumeration):
(WebCore::ChromiumBridge::suddenTerminationChanged):
(WebCore::ChromiumBridge::currentTime):
(WebCore::ChromiumBridge::paintButton):
(WebCore::ChromiumBridge::paintMenuList):
(WebCore::ChromiumBridge::paintScrollbarArrow):
(WebCore::ChromiumBridge::paintScrollbarThumb):
(WebCore::ChromiumBridge::paintScrollbarTrack):
(WebCore::ChromiumBridge::paintSpinButton):
(WebCore::ChromiumBridge::paintTextField):
(WebCore::ChromiumBridge::paintTrackbar):
(WebCore::ChromiumBridge::paintProgressBar):
(WebCore::WebThemePart):
(WebCore::WebThemeState):
(WebCore::GetWebThemeExtraParams):
(WebCore::ChromiumBridge::getThemePartSize):
(WebCore::ChromiumBridge::paintThemePart):
(WebCore::ChromiumBridge::traceEventBegin):
(WebCore::ChromiumBridge::traceEventEnd):
(WebCore::ChromiumBridge::visitedLinkHash):
(WebCore::ChromiumBridge::isLinkVisited):
(WebCore::ChromiumBridge::notifyJSOutOfMemory):
(WebCore::ChromiumBridge::memoryUsageMB):
(WebCore::ChromiumBridge::actualMemoryUsageMB):
(WebCore::ChromiumBridge::screenDepth):
(WebCore::ChromiumBridge::screenDepthPerComponent):
(WebCore::ChromiumBridge::screenIsMonochrome):
(WebCore::ChromiumBridge::screenRect):
(WebCore::ChromiumBridge::screenAvailableRect):
(WebCore::ChromiumBridge::popupsAllowed):
(WebCore::WorkerContextProxy::create):

22:35 Changeset [76208] by tkent@chromium.org

2011-01-19 Dominic Cooney <dominicc@google.com>

Reviewed by Kent Tamura.

Make <keygen> no longer appear to be a <select> element to script.
https://bugs.webkit.org/show_bug.cgi?id=52557

The intent is to put <keygen> options into shadow DOM. This change
takes the first step by hiding the <select> element from
JavaScript.

Test: fast/dom/HTMLKeygenElement/keygen.html

  • CMakeLists.txt: Adds new IDL-derived wrapper.
  • DerivedSources.cpp:
  • DerivedSources.make:
  • GNUmakefile.am:
  • WebCore.gypi:
  • WebCore.pri:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • bindings/gobject/GNUmakefile.am:
  • bindings/gobject/WebKitHTMLElementWrapperFactory.cpp: (WebKit::createKeygenWrapper): (WebKit::createHTMLElementWrapper):
  • bindings/objc/DOM.mm: (WebCore::createElementClassMap): Keygen no longer DOMHTMLSelectElement
  • html/HTMLKeygenElement.h: (WebCore::HTMLKeygenElement::willValidate): Now public.
  • html/HTMLKeygenElement.idl: Added.
  • html/HTMLTagNames.in: Keygen's wrapper is HTMLKeygenElement.
  • page/DOMWindow.idl: Add HTMLKeygenElement constructor.

2011-01-19 Dominic Cooney <dominicc@google.com>

Reviewed by Kent Tamura.

Make <keygen> no longer appear to be a <select> element to script.

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

  • fast/dom/HTMLKeygenElement/keygen-expected.txt: Added.
  • fast/dom/HTMLKeygenElement/keygen-option-select-expected.txt: Removed.
  • fast/dom/HTMLKeygenElement/keygen-option-select.html: Removed.
  • fast/dom/HTMLKeygenElement/keygen.html: Added.
  • fast/dom/Window/window-properties-expected.txt:
  • fast/dom/Window/window-property-descriptors-expected.txt:
  • fast/dom/prototype-inheritance-2-expected.txt:
  • fast/dom/prototype-inheritance-expected.txt:
  • fast/dom/wrapper-classes-expected.txt:
  • fast/dom/wrapper-classes.html:
  • fast/js/global-constructors-expected.txt:
  • platform/mac/fast/dom/wrapper-classes-objc-expected.txt:
  • platform/mac/fast/dom/wrapper-classes-objc.html:
22:09 Changeset [76207] by dimich@chromium.org

2011-01-19 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r76203.
http://trac.webkit.org/changeset/76203
https://bugs.webkit.org/show_bug.cgi?id=52784

Broke Win compile on Chromium bots (Requested by dimich on
#webkit).

  • WebCore.gypi:
  • bindings/v8/V8DOMWindowShell.cpp: (WebCore::reportFatalErrorInV8):
  • page/PageGroup.cpp: (WebCore::PageGroup::isLinkVisited):
  • platform/android/PlatformBridge.h:
  • platform/audio/chromium/AudioBusChromium.cpp: (WebCore::createBusFromInMemoryAudioFile):
  • platform/chromium/ChromiumBridge.h: Added.
  • platform/chromium/ChromiumDataObjectLegacy.cpp: (WebCore::ChromiumDataObjectLegacy::getData):
  • platform/chromium/DragDataChromium.cpp: (WebCore::DragData::asURL):
  • platform/chromium/FileSystemChromium.cpp: (WebCore::deleteFile): (WebCore::deleteEmptyDirectory): (WebCore::getFileSize): (WebCore::getFileModificationTime): (WebCore::revealFolderInOS): (WebCore::directoryName): (WebCore::pathByAppendingComponent): (WebCore::makeAllDirectories): (WebCore::fileExists): (WebCore::openFile): (WebCore::closeFile): (WebCore::seekFile): (WebCore::truncateFile): (WebCore::readFromFile): (WebCore::writeToFile):
  • platform/chromium/LanguageChromium.cpp: (WebCore::platformDefaultLanguage):
  • platform/chromium/LinkHashChromium.cpp: (WebCore::visitedLinkHash):
  • platform/chromium/MIMETypeRegistryChromium.cpp: (WebCore::MIMETypeRegistry::getMIMETypeForExtension): (WebCore::MIMETypeRegistry::getPreferredExtensionForMIMEType): (WebCore::MIMETypeRegistry::isSupportedImageMIMEType): (WebCore::MIMETypeRegistry::isSupportedJavaScriptMIMEType): (WebCore::MIMETypeRegistry::isSupportedNonImageMIMEType):
  • platform/chromium/PasteboardChromium.cpp: (WebCore::Pasteboard::writeSelection): (WebCore::Pasteboard::writePlainText): (WebCore::Pasteboard::writeURL): (WebCore::Pasteboard::writeImage): (WebCore::Pasteboard::canSmartReplace): (WebCore::Pasteboard::plainText): (WebCore::Pasteboard::documentFragment):
  • platform/chromium/PlatformBridge.h:
  • platform/chromium/PlatformScreenChromium.cpp: (WebCore::screenDepth): (WebCore::screenDepthPerComponent): (WebCore::screenIsMonochrome): (WebCore::screenRect): (WebCore::screenAvailableRect):
  • platform/chromium/ReadableDataObject.cpp: (WebCore::ReadableDataObject::getData): (WebCore::ReadableDataObject::urlTitle): (WebCore::ReadableDataObject::htmlBaseUrl): (WebCore::ReadableDataObject::filenames): (WebCore::ReadableDataObject::ensureTypeCacheInitialized):
  • platform/chromium/SSLKeyGeneratorChromium.cpp: (WebCore::signedPublicKeyAndChallengeString):
  • platform/chromium/ScrollbarThemeChromium.cpp:
  • platform/chromium/ScrollbarThemeChromiumLinux.cpp: (WebCore::ScrollbarThemeChromiumLinux::scrollbarThickness): (WebCore::ScrollbarThemeChromiumLinux::paintTrackPiece): (WebCore::ScrollbarThemeChromiumLinux::paintButton): (WebCore::ScrollbarThemeChromiumLinux::paintThumb): (WebCore::ScrollbarThemeChromiumLinux::buttonSize): (WebCore::ScrollbarThemeChromiumLinux::minimumThumbLength):
  • platform/chromium/ScrollbarThemeChromiumMac.mm: (WebCore::scrollbarStateToThemeState): (WebCore::ScrollbarThemeChromiumMac::paint):
  • platform/chromium/ScrollbarThemeChromiumWin.cpp: (WebCore::ScrollbarThemeChromiumWin::scrollbarThickness): (WebCore::ScrollbarThemeChromiumWin::paintTrackPiece): (WebCore::ScrollbarThemeChromiumWin::paintButton): (WebCore::ScrollbarThemeChromiumWin::paintThumb): (WebCore::ScrollbarThemeChromiumWin::buttonSize):
  • platform/chromium/SharedTimerChromium.cpp: (WebCore::setSharedTimerFiredFunction): (WebCore::setSharedTimerFireTime): (WebCore::stopSharedTimer):
  • platform/chromium/SuddenTerminationChromium.cpp: (WebCore::disableSuddenTermination): (WebCore::enableSuddenTermination):
  • platform/chromium/SystemTimeChromium.cpp: (WebCore::currentTime):
  • platform/chromium/WritableDataObject.cpp: (WebCore::WritableDataObject::setData):
  • platform/graphics/chromium/CrossProcessFontLoading.mm:
  • platform/graphics/chromium/FontCacheChromiumWin.cpp: (WebCore::fontContainsCharacter): (WebCore::FillLogFont):
  • platform/graphics/chromium/FontCacheLinux.cpp: (WebCore::FontCache::getFontDataForCharacters):
  • platform/graphics/chromium/FontChromiumWin.cpp: (WebCore::Font::drawGlyphs):
  • platform/graphics/chromium/FontPlatformDataChromiumWin.cpp: (WebCore::FontPlatformData::scriptFontProperties):
  • platform/graphics/chromium/FontPlatformDataLinux.cpp: (WebCore::FontPlatformData::querySystemForRenderStyle):
  • platform/graphics/chromium/GlyphPageTreeNodeChromiumWin.cpp: (WebCore::fillBMPGlyphs):
  • platform/graphics/chromium/ImageChromium.cpp: (WebCore::Image::loadPlatformResource):
  • platform/graphics/chromium/ImageChromiumMac.mm: (WebCore::Image::loadPlatformResource):
  • platform/graphics/chromium/SimpleFontDataChromiumWin.cpp: (WebCore::SimpleFontData::platformInit): (WebCore::SimpleFontData::determinePitch): (WebCore::SimpleFontData::platformWidthForGlyph):
  • platform/graphics/chromium/UniscribeHelperTextRun.cpp: (WebCore::UniscribeHelperTextRun::tryToPreloadFont):
  • platform/graphics/skia/FontCustomPlatformData.cpp: (WebCore::FontCustomPlatformData::fontPlatformData):
  • platform/network/chromium/CookieJarChromium.cpp: (WebCore::setCookies): (WebCore::cookies): (WebCore::cookieRequestHeaderFieldValue): (WebCore::cookiesEnabled): (WebCore::getRawCookies): (WebCore::deleteCookie):
  • platform/network/chromium/DNSChromium.cpp: (WebCore::prefetchDNS):
  • platform/qt/PlatformBridge.h:
  • platform/sql/chromium/SQLiteFileSystemChromium.cpp: (WebCore::SQLiteFileSystem::deleteDatabaseFile): (WebCore::SQLiteFileSystem::getDatabaseFileSize):
  • platform/sql/chromium/SQLiteFileSystemChromiumPosix.cpp: (chromiumOpen): (chromiumDelete): (chromiumAccess):
  • platform/sql/chromium/SQLiteFileSystemChromiumWin.cpp:
  • plugins/chromium/PluginDataChromium.cpp: (WebCore::PluginCache::plugins):
  • rendering/RenderThemeChromiumMac.mm: (WebCore::RenderThemeChromiumMac::usesTestModeFocusRingColor):
  • rendering/RenderThemeChromiumSkia.cpp: (WebCore::RenderThemeChromiumSkia::caretBlinkInterval):
  • rendering/RenderThemeChromiumWin.cpp: (WebCore::RenderThemeChromiumWin::platformActiveSelectionBackgroundColor): (WebCore::RenderThemeChromiumWin::platformInactiveSelectionBackgroundColor): (WebCore::RenderThemeChromiumWin::platformActiveSelectionForegroundColor): (WebCore::RenderThemeChromiumWin::systemColor): (WebCore::RenderThemeChromiumWin::paintButton): (WebCore::RenderThemeChromiumWin::paintSliderTrack): (WebCore::menuListButtonWidth): (WebCore::RenderThemeChromiumWin::paintMenuList): (WebCore::RenderThemeChromiumWin::paintTextFieldInternal): (WebCore::RenderThemeChromiumWin::paintInnerSpinButton): (WebCore::RenderThemeChromiumWin::paintProgressBar):
  • storage/chromium/IDBFactoryBackendInterface.cpp: (WebCore::IDBFactoryBackendInterface::create): (WebCore::IDBFactoryBackendInterface::~IDBFactoryBackendInterface):
  • storage/chromium/IDBKeyPathBackendImpl.cpp: (WebCore::IDBKeyPathBackendImpl::createIDBKeysFromSerializedValuesAndKeyPath):

2011-01-19 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r76203.
http://trac.webkit.org/changeset/76203
https://bugs.webkit.org/show_bug.cgi?id=52784

Broke Win compile on Chromium bots (Requested by dimich on
#webkit).

  • WebKit.gyp:
  • src/AssertMatchingEnums.cpp:
  • src/ChromiumBridge.cpp: Renamed from Source/WebKit/chromium/src/PlatformBridge.cpp. (WebCore::toChromeClientImpl): (WebCore::toWebWidgetClient): (WebCore::getCookieJar): (WebCore::ChromiumBridge::cacheMetadata): (WebCore::ChromiumBridge::clipboardIsFormatAvailable): (WebCore::ChromiumBridge::clipboardReadPlainText): (WebCore::ChromiumBridge::clipboardReadHTML): (WebCore::ChromiumBridge::clipboardWriteSelection): (WebCore::ChromiumBridge::clipboardWritePlainText): (WebCore::ChromiumBridge::clipboardWriteURL): (WebCore::ChromiumBridge::clipboardWriteImage): (WebCore::ChromiumBridge::clipboardWriteData): (WebCore::ChromiumBridge::clipboardReadAvailableTypes): (WebCore::ChromiumBridge::clipboardReadData): (WebCore::ChromiumBridge::clipboardReadFilenames): (WebCore::ChromiumBridge::setCookies): (WebCore::ChromiumBridge::cookies): (WebCore::ChromiumBridge::cookieRequestHeaderFieldValue): (WebCore::ChromiumBridge::rawCookies): (WebCore::ChromiumBridge::deleteCookie): (WebCore::ChromiumBridge::cookiesEnabled): (WebCore::ChromiumBridge::prefetchDNS): (WebCore::ChromiumBridge::fileExists): (WebCore::ChromiumBridge::deleteFile): (WebCore::ChromiumBridge::deleteEmptyDirectory): (WebCore::ChromiumBridge::getFileSize): (WebCore::ChromiumBridge::revealFolderInOS): (WebCore::ChromiumBridge::getFileModificationTime): (WebCore::ChromiumBridge::directoryName): (WebCore::ChromiumBridge::pathByAppendingComponent): (WebCore::ChromiumBridge::makeAllDirectories): (WebCore::ChromiumBridge::getAbsolutePath): (WebCore::ChromiumBridge::isDirectory): (WebCore::ChromiumBridge::filePathToURL): (WebCore::ChromiumBridge::openFile): (WebCore::ChromiumBridge::closeFile): (WebCore::ChromiumBridge::seekFile): (WebCore::ChromiumBridge::truncateFile): (WebCore::ChromiumBridge::readFromFile): (WebCore::ChromiumBridge::writeToFile): (WebCore::ChromiumBridge::ensureFontLoaded): (WebCore::ChromiumBridge::getFontFamilyForCharacters): (WebCore::ChromiumBridge::getRenderStyleForStrike): (WebCore::ChromiumBridge::loadFont): (WebCore::ChromiumBridge::databaseOpenFile): (WebCore::ChromiumBridge::databaseDeleteFile): (WebCore::ChromiumBridge::databaseGetFileAttributes): (WebCore::ChromiumBridge::databaseGetFileSize): (WebCore::ChromiumBridge::idbFactory): (WebCore::ChromiumBridge::idbShutdown): (WebCore::ChromiumBridge::createIDBKeysFromSerializedValuesAndKeyPath): (WebCore::ChromiumBridge::signedPublicKeyAndChallengeString): (WebCore::ChromiumBridge::computedDefaultLanguage): (WebCore::ChromiumBridge::layoutTestMode): (WebCore::ChromiumBridge::isSupportedImageMIMEType): (WebCore::ChromiumBridge::isSupportedJavaScriptMIMEType): (WebCore::ChromiumBridge::isSupportedNonImageMIMEType): (WebCore::ChromiumBridge::mimeTypeForExtension): (WebCore::ChromiumBridge::mimeTypeFromFile): (WebCore::ChromiumBridge::preferredExtensionForMIMEType): (WebCore::ChromiumBridge::plugins): (WebCore::ChromiumBridge::pluginScriptableObject): (WebCore::ChromiumBridge::loadPlatformImageResource): (WebCore::ChromiumBridge::loadPlatformAudioResource): (WebCore::ChromiumBridge::decodeAudioFileData): (WebCore::ChromiumBridge::sandboxEnabled): (WebCore::ChromiumBridge::setSharedTimerFiredFunction): (WebCore::ChromiumBridge::setSharedTimerFireTime): (WebCore::ChromiumBridge::stopSharedTimer): (WebCore::ChromiumBridge::decrementStatsCounter): (WebCore::ChromiumBridge::incrementStatsCounter): (WebCore::ChromiumBridge::histogramCustomCounts): (WebCore::ChromiumBridge::histogramEnumeration): (WebCore::ChromiumBridge::suddenTerminationChanged): (WebCore::ChromiumBridge::currentTime): (WebCore::ChromiumBridge::paintButton): (WebCore::ChromiumBridge::paintMenuList): (WebCore::ChromiumBridge::paintScrollbarArrow): (WebCore::ChromiumBridge::paintScrollbarThumb): (WebCore::ChromiumBridge::paintScrollbarTrack): (WebCore::ChromiumBridge::paintSpinButton): (WebCore::ChromiumBridge::paintTextField): (WebCore::ChromiumBridge::paintTrackbar): (WebCore::ChromiumBridge::paintProgressBar): (WebCore::WebThemePart): (WebCore::WebThemeState): (WebCore::GetWebThemeExtraParams): (WebCore::ChromiumBridge::getThemePartSize): (WebCore::ChromiumBridge::paintThemePart): (WebCore::ChromiumBridge::traceEventBegin): (WebCore::ChromiumBridge::traceEventEnd): (WebCore::ChromiumBridge::visitedLinkHash): (WebCore::ChromiumBridge::isLinkVisited): (WebCore::ChromiumBridge::notifyJSOutOfMemory): (WebCore::ChromiumBridge::memoryUsageMB): (WebCore::ChromiumBridge::actualMemoryUsageMB): (WebCore::ChromiumBridge::screenDepth): (WebCore::ChromiumBridge::screenDepthPerComponent): (WebCore::ChromiumBridge::screenIsMonochrome): (WebCore::ChromiumBridge::screenRect): (WebCore::ChromiumBridge::screenAvailableRect): (WebCore::ChromiumBridge::popupsAllowed): (WebCore::WorkerContextProxy::create):
  • src/ResourceHandle.cpp: (WebCore::ResourceHandle::cacheMetadata):
  • src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::WebFrameImpl): (WebKit::WebFrameImpl::~WebFrameImpl):
  • src/WebViewImpl.cpp: (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
21:57 Changeset [76206] by commit-queue@webkit.org

2011-01-19 Helder Correia <helder@sencha.com>

Reviewed by Andreas Kling.

[Qt] GraphicsContext::strokePath() paints solid shadows with incorrect alpha
https://bugs.webkit.org/show_bug.cgi?id=52705

This is related to bug 52611. The shadow color alpha must be multiplied
by the context pen alpha. Fixing this results in correct behavior for
Canvas path stroke() and strokeRect() [which relies on stroke()].

  • fast/canvas/canvas-strokePath-alpha-shadow-expected.txt: Added.
  • fast/canvas/canvas-strokePath-alpha-shadow.html: Added.
  • fast/canvas/canvas-strokeRect-alpha-shadow-expected.txt: Added.
  • fast/canvas/canvas-strokeRect-alpha-shadow.html: Added.
  • fast/canvas/script-tests/canvas-strokePath-alpha-shadow.js: Added.
  • fast/canvas/script-tests/canvas-strokeRect-alpha-shadow.js: Added.

2011-01-19 Helder Correia <helder@sencha.com>

Reviewed by Andreas Kling.

[Qt] GraphicsContext::strokePath() paints solid shadows with incorrect alpha
https://bugs.webkit.org/show_bug.cgi?id=52705

This is related to bug 52611. The shadow color alpha must be multiplied
by the context pen alpha. Fixing this results in correct behavior for
Canvas path stroke() and strokeRect() [which relies on stroke()].

Tests: fast/canvas/canvas-strokePath-alpha-shadow.html

fast/canvas/canvas-strokeRect-alpha-shadow.html

  • platform/graphics/qt/GraphicsContextQt.cpp: (WebCore::GraphicsContext::strokePath):
21:49 Changeset [76205] by darin@chromium.org

2011-01-19 Darin Fisher <darin@chromium.org>

Reviewed by Mihai Parparita.

Re-initialize the HistoryItem fully when navigating to a HistoryItem,
or replacing a HistoryItem, results in a different URL.

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

This patch also forces all HistoryItems to record the post-redirect
URL. Previously, frames would remember the pre-redirect URL. This is
problematic since other members of the HistoryItem correspond to the
post-redirect URL.

Tests: fast/history/history-replace-updates-current-item.html

http/tests/navigation/redirect-on-back-updates-history-item.html
http/tests/navigation/redirect-on-reload-updates-history-item.html

  • history/HistoryItem.cpp: (WebCore::HistoryItem::HistoryItem): (WebCore::HistoryItem::reset):
  • history/HistoryItem.h:
  • loader/HistoryController.cpp: (WebCore::HistoryController::updateForBackForwardNavigation): (WebCore::HistoryController::updateForReload): (WebCore::HistoryController::updateForStandardLoad): (WebCore::HistoryController::updateForRedirectWithLockedBackForwardList): (WebCore::HistoryController::initializeItem): (WebCore::HistoryController::createItem): (WebCore::HistoryController::createItemTree): (WebCore::HistoryController::updateCurrentItem):
  • loader/HistoryController.h:
21:31 Changeset [76204] by dimich@chromium.org

[Chromium] Unreviewed, update of test expectations.

  • platform/chromium/test_expectations.txt:
21:17 Changeset [76203] by commit-queue@webkit.org

2011-01-19 Adam Klein <adamk@chromium.org>

Reviewed by Darin Fisher.

[chromium] Rename ChromiumBridge to PlatformBridge
https://bugs.webkit.org/show_bug.cgi?id=52471

No tests added as this is a rename; no change in behavior.

  • WebCore.gypi:
  • bindings/v8/V8DOMWindowShell.cpp: (WebCore::reportFatalErrorInV8):
  • page/PageGroup.cpp: (WebCore::PageGroup::isLinkVisited):
  • platform/android/PlatformBridge.h:
  • platform/audio/chromium/AudioBusChromium.cpp: (WebCore::createBusFromInMemoryAudioFile):
  • platform/chromium/ChromiumBridge.h: Removed.
  • platform/chromium/ChromiumDataObjectLegacy.cpp: (WebCore::ChromiumDataObjectLegacy::getData):
  • platform/chromium/DragDataChromium.cpp: (WebCore::DragData::asURL):
  • platform/chromium/FileSystemChromium.cpp: (WebCore::deleteFile): (WebCore::deleteEmptyDirectory): (WebCore::getFileSize): (WebCore::getFileModificationTime): (WebCore::revealFolderInOS): (WebCore::directoryName): (WebCore::pathByAppendingComponent): (WebCore::makeAllDirectories): (WebCore::fileExists): (WebCore::openFile): (WebCore::closeFile): (WebCore::seekFile): (WebCore::truncateFile): (WebCore::readFromFile): (WebCore::writeToFile):
  • platform/chromium/LanguageChromium.cpp: (WebCore::platformDefaultLanguage):
  • platform/chromium/LinkHashChromium.cpp: (WebCore::visitedLinkHash):
  • platform/chromium/MIMETypeRegistryChromium.cpp: (WebCore::MIMETypeRegistry::getMIMETypeForExtension): (WebCore::MIMETypeRegistry::getPreferredExtensionForMIMEType): (WebCore::MIMETypeRegistry::isSupportedImageMIMEType): (WebCore::MIMETypeRegistry::isSupportedJavaScriptMIMEType): (WebCore::MIMETypeRegistry::isSupportedNonImageMIMEType):
  • platform/chromium/PasteboardChromium.cpp: (WebCore::Pasteboard::writeSelection): (WebCore::Pasteboard::writePlainText): (WebCore::Pasteboard::writeURL): (WebCore::Pasteboard::writeImage): (WebCore::Pasteboard::canSmartReplace): (WebCore::Pasteboard::plainText): (WebCore::Pasteboard::documentFragment):
  • platform/chromium/PlatformBridge.h:
  • platform/chromium/PlatformScreenChromium.cpp: (WebCore::screenDepth): (WebCore::screenDepthPerComponent): (WebCore::screenIsMonochrome): (WebCore::screenRect): (WebCore::screenAvailableRect):
  • platform/chromium/ReadableDataObject.cpp: (WebCore::ReadableDataObject::getData): (WebCore::ReadableDataObject::urlTitle): (WebCore::ReadableDataObject::htmlBaseUrl): (WebCore::ReadableDataObject::filenames): (WebCore::ReadableDataObject::ensureTypeCacheInitialized):
  • platform/chromium/SSLKeyGeneratorChromium.cpp: (WebCore::signedPublicKeyAndChallengeString):
  • platform/chromium/ScrollbarThemeChromium.cpp:
  • platform/chromium/ScrollbarThemeChromiumLinux.cpp: (WebCore::ScrollbarThemeChromiumLinux::scrollbarThickness): (WebCore::ScrollbarThemeChromiumLinux::paintTrackPiece): (WebCore::ScrollbarThemeChromiumLinux::paintButton): (WebCore::ScrollbarThemeChromiumLinux::paintThumb): (WebCore::ScrollbarThemeChromiumLinux::buttonSize): (WebCore::ScrollbarThemeChromiumLinux::minimumThumbLength):
  • platform/chromium/ScrollbarThemeChromiumMac.mm: (WebCore::scrollbarStateToThemeState): (WebCore::ScrollbarThemeChromiumMac::paint):
  • platform/chromium/ScrollbarThemeChromiumWin.cpp: (WebCore::ScrollbarThemeChromiumWin::scrollbarThickness): (WebCore::ScrollbarThemeChromiumWin::paintTrackPiece): (WebCore::ScrollbarThemeChromiumWin::paintButton): (WebCore::ScrollbarThemeChromiumWin::paintThumb): (WebCore::ScrollbarThemeChromiumWin::buttonSize):
  • platform/chromium/SharedTimerChromium.cpp: (WebCore::setSharedTimerFiredFunction): (WebCore::setSharedTimerFireTime): (WebCore::stopSharedTimer):
  • platform/chromium/SuddenTerminationChromium.cpp: (WebCore::disableSuddenTermination): (WebCore::enableSuddenTermination):
  • platform/chromium/SystemTimeChromium.cpp: (WebCore::currentTime):
  • platform/chromium/WritableDataObject.cpp: (WebCore::WritableDataObject::setData):
  • platform/graphics/chromium/CrossProcessFontLoading.mm:
  • platform/graphics/chromium/FontCacheChromiumWin.cpp: (WebCore::fontContainsCharacter): (WebCore::FillLogFont):
  • platform/graphics/chromium/FontCacheLinux.cpp: (WebCore::FontCache::getFontDataForCharacters):
  • platform/graphics/chromium/FontChromiumWin.cpp: (WebCore::Font::drawGlyphs):
  • platform/graphics/chromium/FontPlatformDataChromiumWin.cpp: (WebCore::FontPlatformData::scriptFontProperties):
  • platform/graphics/chromium/FontPlatformDataLinux.cpp: (WebCore::FontPlatformData::querySystemForRenderStyle):
  • platform/graphics/chromium/GlyphPageTreeNodeChromiumWin.cpp: (WebCore::fillBMPGlyphs):
  • platform/graphics/chromium/ImageChromium.cpp: (WebCore::Image::loadPlatformResource):
  • platform/graphics/chromium/ImageChromiumMac.mm: (WebCore::Image::loadPlatformResource):
  • platform/graphics/chromium/SimpleFontDataChromiumWin.cpp: (WebCore::SimpleFontData::platformInit): (WebCore::SimpleFontData::determinePitch): (WebCore::SimpleFontData::platformWidthForGlyph):
  • platform/graphics/chromium/UniscribeHelperTextRun.cpp: (WebCore::UniscribeHelperTextRun::tryToPreloadFont):
  • platform/graphics/skia/FontCustomPlatformData.cpp: (WebCore::FontCustomPlatformData::fontPlatformData):
  • platform/network/chromium/CookieJarChromium.cpp: (WebCore::setCookies): (WebCore::cookies): (WebCore::cookieRequestHeaderFieldValue): (WebCore::cookiesEnabled): (WebCore::getRawCookies): (WebCore::deleteCookie):
  • platform/network/chromium/DNSChromium.cpp: (WebCore::prefetchDNS):
  • platform/qt/PlatformBridge.h:
  • platform/sql/chromium/SQLiteFileSystemChromium.cpp: (WebCore::SQLiteFileSystem::deleteDatabaseFile): (WebCore::SQLiteFileSystem::getDatabaseFileSize):
  • platform/sql/chromium/SQLiteFileSystemChromiumPosix.cpp: (chromiumOpen): (chromiumDelete): (chromiumAccess):
  • platform/sql/chromium/SQLiteFileSystemChromiumWin.cpp:
  • plugins/chromium/PluginDataChromium.cpp: (WebCore::PluginCache::plugins):
  • rendering/RenderThemeChromiumMac.mm: (WebCore::RenderThemeChromiumMac::usesTestModeFocusRingColor):
  • rendering/RenderThemeChromiumSkia.cpp: (WebCore::RenderThemeChromiumSkia::caretBlinkInterval):
  • rendering/RenderThemeChromiumWin.cpp: (WebCore::RenderThemeChromiumWin::platformActiveSelectionBackgroundColor): (WebCore::RenderThemeChromiumWin::platformInactiveSelectionBackgroundColor): (WebCore::RenderThemeChromiumWin::platformActiveSelectionForegroundColor): (WebCore::RenderThemeChromiumWin::systemColor): (WebCore::RenderThemeChromiumWin::paintButton): (WebCore::RenderThemeChromiumWin::paintSliderTrack): (WebCore::menuListButtonWidth): (WebCore::RenderThemeChromiumWin::paintMenuList): (WebCore::RenderThemeChromiumWin::paintTextFieldInternal): (WebCore::RenderThemeChromiumWin::paintInnerSpinButton): (WebCore::RenderThemeChromiumWin::paintProgressBar):
  • storage/chromium/IDBFactoryBackendInterface.cpp: (WebCore::IDBFactoryBackendInterface::create): (WebCore::IDBFactoryBackendInterface::~IDBFactoryBackendInterface):
  • storage/chromium/IDBKeyPathBackendImpl.cpp: (WebCore::IDBKeyPathBackendImpl::createIDBKeysFromSerializedValuesAndKeyPath):

2011-01-19 Adam Klein <adamk@chromium.org>

Reviewed by Darin Fisher.

[chromium] Rename ChromiumBridge to PlatformBridge
https://bugs.webkit.org/show_bug.cgi?id=52471

  • WebKit.gyp:
  • src/AssertMatchingEnums.cpp:
  • src/PlatformBridge.cpp: (WebCore::toChromeClientImpl): (WebCore::toWebWidgetClient): (WebCore::getCookieJar): (WebCore::PlatformBridge::cacheMetadata): (WebCore::PlatformBridge::clipboardIsFormatAvailable): (WebCore::PlatformBridge::clipboardReadPlainText): (WebCore::PlatformBridge::clipboardReadHTML): (WebCore::PlatformBridge::clipboardWriteSelection): (WebCore::PlatformBridge::clipboardWritePlainText): (WebCore::PlatformBridge::clipboardWriteURL): (WebCore::PlatformBridge::clipboardWriteImage): (WebCore::PlatformBridge::clipboardWriteData): (WebCore::PlatformBridge::clipboardReadAvailableTypes): (WebCore::PlatformBridge::clipboardReadData): (WebCore::PlatformBridge::clipboardReadFilenames): (WebCore::PlatformBridge::setCookies): (WebCore::PlatformBridge::cookies): (WebCore::PlatformBridge::cookieRequestHeaderFieldValue): (WebCore::PlatformBridge::rawCookies): (WebCore::PlatformBridge::deleteCookie): (WebCore::PlatformBridge::cookiesEnabled): (WebCore::PlatformBridge::prefetchDNS): (WebCore::PlatformBridge::fileExists): (WebCore::PlatformBridge::deleteFile): (WebCore::PlatformBridge::deleteEmptyDirectory): (WebCore::PlatformBridge::getFileSize): (WebCore::PlatformBridge::revealFolderInOS): (WebCore::PlatformBridge::getFileModificationTime): (WebCore::PlatformBridge::directoryName): (WebCore::PlatformBridge::pathByAppendingComponent): (WebCore::PlatformBridge::makeAllDirectories): (WebCore::PlatformBridge::getAbsolutePath): (WebCore::PlatformBridge::isDirectory): (WebCore::PlatformBridge::filePathToURL): (WebCore::PlatformBridge::openFile): (WebCore::PlatformBridge::closeFile): (WebCore::PlatformBridge::seekFile): (WebCore::PlatformBridge::truncateFile): (WebCore::PlatformBridge::readFromFile): (WebCore::PlatformBridge::writeToFile): (WebCore::PlatformBridge::ensureFontLoaded): (WebCore::PlatformBridge::getFontFamilyForCharacters): (WebCore::PlatformBridge::getRenderStyleForStrike): (WebCore::PlatformBridge::loadFont): (WebCore::PlatformBridge::databaseOpenFile): (WebCore::PlatformBridge::databaseDeleteFile): (WebCore::PlatformBridge::databaseGetFileAttributes): (WebCore::PlatformBridge::databaseGetFileSize): (WebCore::PlatformBridge::idbFactory): (WebCore::PlatformBridge::idbShutdown): (WebCore::PlatformBridge::createIDBKeysFromSerializedValuesAndKeyPath): (WebCore::PlatformBridge::signedPublicKeyAndChallengeString): (WebCore::PlatformBridge::computedDefaultLanguage): (WebCore::PlatformBridge::layoutTestMode): (WebCore::PlatformBridge::isSupportedImageMIMEType): (WebCore::PlatformBridge::isSupportedJavaScriptMIMEType): (WebCore::PlatformBridge::isSupportedNonImageMIMEType): (WebCore::PlatformBridge::mimeTypeForExtension): (WebCore::PlatformBridge::mimeTypeFromFile): (WebCore::PlatformBridge::preferredExtensionForMIMEType): (WebCore::PlatformBridge::plugins): (WebCore::PlatformBridge::pluginScriptableObject): (WebCore::PlatformBridge::loadPlatformImageResource): (WebCore::PlatformBridge::loadPlatformAudioResource): (WebCore::PlatformBridge::decodeAudioFileData): (WebCore::PlatformBridge::sandboxEnabled): (WebCore::PlatformBridge::setSharedTimerFiredFunction): (WebCore::PlatformBridge::setSharedTimerFireTime): (WebCore::PlatformBridge::stopSharedTimer): (WebCore::PlatformBridge::decrementStatsCounter): (WebCore::PlatformBridge::incrementStatsCounter): (WebCore::PlatformBridge::histogramCustomCounts): (WebCore::PlatformBridge::histogramEnumeration): (WebCore::PlatformBridge::suddenTerminationChanged): (WebCore::PlatformBridge::currentTime): (WebCore::PlatformBridge::paintButton): (WebCore::PlatformBridge::paintMenuList): (WebCore::PlatformBridge::paintScrollbarArrow): (WebCore::PlatformBridge::paintScrollbarThumb): (WebCore::PlatformBridge::paintScrollbarTrack): (WebCore::PlatformBridge::paintSpinButton): (WebCore::PlatformBridge::paintTextField): (WebCore::PlatformBridge::paintTrackbar): (WebCore::PlatformBridge::paintProgressBar): (WebCore::WebThemePart): (WebCore::WebThemeState): (WebCore::GetWebThemeExtraParams): (WebCore::PlatformBridge::getThemePartSize): (WebCore::PlatformBridge::paintThemePart): (WebCore::PlatformBridge::traceEventBegin): (WebCore::PlatformBridge::traceEventEnd): (WebCore::PlatformBridge::visitedLinkHash): (WebCore::PlatformBridge::isLinkVisited): (WebCore::PlatformBridge::notifyJSOutOfMemory): (WebCore::PlatformBridge::memoryUsageMB): (WebCore::PlatformBridge::actualMemoryUsageMB): (WebCore::PlatformBridge::screenDepth): (WebCore::PlatformBridge::screenDepthPerComponent): (WebCore::PlatformBridge::screenIsMonochrome): (WebCore::PlatformBridge::screenRect): (WebCore::PlatformBridge::screenAvailableRect): (WebCore::PlatformBridge::popupsAllowed): (WebCore::WorkerContextProxy::create):
  • src/ResourceHandle.cpp: (WebCore::ResourceHandle::cacheMetadata):
  • src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::WebFrameImpl): (WebKit::WebFrameImpl::~WebFrameImpl):
  • src/WebViewImpl.cpp: (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
20:24 Changeset [76202] by dimich@chromium.org

2011-01-19 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r76187.
http://trac.webkit.org/changeset/76187
https://bugs.webkit.org/show_bug.cgi?id=52778

Broke caret-showing tests on SnowLeopard and Chromium
(Requested by dimich on #webkit).

  • editing/selection/caret-painting-in-overflowing-autowrap-content.html: Removed.
  • editing/selection/resources/iframe-positioning-caret-at-end.html: Removed.
  • platform/mac/editing/selection/caret-painting-in-overflowing-autowrap-content-expected.checksum: Removed.
  • platform/mac/editing/selection/caret-painting-in-overflowing-autowrap-content-expected.png: Removed.
  • platform/mac/editing/selection/caret-painting-in-overflowing-autowrap-content-expected.txt: Removed.

2011-01-19 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r76187.
http://trac.webkit.org/changeset/76187
https://bugs.webkit.org/show_bug.cgi?id=52778

Broke caret-showing tests on SnowLeopard and Chromium
(Requested by dimich on #webkit).

  • rendering/RenderText.cpp: (WebCore::RenderText::localCaretRect):
20:19 Changeset [76201] by yuzo@google.com

2011-01-19 Yuzo Fujishima <yuzo@google.com>

Reviewed by Kent Tamura.

Fix for Bug 52279 - WebCore::RenderBlock::updateFirstLetter crashes for anonymous blocks
https://bugs.webkit.org/show_bug.cgi?id=52279

  • fast/css/first-letter-anonymous-block-crash-expected.txt: Added.
  • fast/css/first-letter-anonymous-block-crash.html: Added.

2011-01-19 Yuzo Fujishima <yuzo@google.com>

Reviewed by Kent Tamura.

Fix for Bug 52279 - WebCore::RenderBlock::updateFirstLetter crashes for anonymous blocks
https://bugs.webkit.org/show_bug.cgi?id=52279

In constructing text fragments to handle first-letter rule, first add
the text for the non-first letters and then remove the original text,
rather than the other way around. Otherwise, the text can be added to
an anoymous block that is different from the original one. This breaks
the assumption that a first letter render object has a non-null sibling
for the non-first letters and causes a crash.

Test: fast/css/first-letter-anonymous-block-crash.html

  • rendering/RenderBlock.cpp: (WebCore::RenderBlock::updateFirstLetter):
20:17 Changeset [76200] by dpranke@chromium.org

2011-01-19 Dirk Pranke <dpranke@chromium.org>

Unreviewed, build fix - I pulled this patch in to fix an issue
revealed by r76195 running on some new bots). Also fix a couple
of other issues revealed in testing.

nrwt: remove fs refs from layout_package/json*

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

  • Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
  • Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
  • Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py:
  • Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
  • Scripts/webkitpy/layout_tests/port/base.py:
19:55 Changeset [76199] by dpranke@chromium.org

2011-01-19 Dirk Pranke <dpranke@chromium.org>

Unreviewed, build fix.

Fix a couple of minor bugs discovered while bringing up new bots
for testing.

  • Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  • Scripts/webkitpy/layout_tests/run_webkit_tests.py:
19:52 Changeset [76198] by jamesr@google.com

2011-01-19 James Robinson <jamesr@chromium.org>

Unreviewed, rolling out r76194.
http://trac.webkit.org/changeset/76194
https://bugs.webkit.org/show_bug.cgi?id=51218

Caused mysterious compile failure on the chromium win
build.webkit.org bots

  • fast/animation/request-animation-frame-cancel-expected.txt: Removed.
  • fast/animation/request-animation-frame-cancel.html: Removed.
  • fast/animation/request-animation-frame-cancel2-expected.txt: Removed.
  • fast/animation/request-animation-frame-cancel2.html: Removed.
  • fast/animation/request-animation-frame-display-expected.txt: Removed.
  • fast/animation/request-animation-frame-display.html: Removed.
  • fast/animation/request-animation-frame-expected.txt: Removed.
  • fast/animation/request-animation-frame-within-callback-expected.txt: Removed.
  • fast/animation/request-animation-frame-within-callback.html: Removed.
  • fast/animation/request-animation-frame.html: Removed.
  • platform/chromium/test_expectations.txt:
  • platform/gtk/Skipped:
  • platform/mac/Skipped:
  • platform/qt/Skipped:
  • platform/win/Skipped:

2011-01-19 James Robinson <jamesr@chromium.org>

Unreviewed, rolling out r76194.
http://trac.webkit.org/changeset/76194
https://bugs.webkit.org/show_bug.cgi?id=51218

Caused mysterious compile failure on the chromium win
build.webkit.org bots

  • WebCore.gypi:
  • dom/Document.cpp: (WebCore::Document::Document):
  • dom/Document.h:
  • dom/RequestAnimationFrameCallback.h: Removed.
  • dom/RequestAnimationFrameCallback.idl: Removed.
  • loader/EmptyClients.h:
  • page/Chrome.cpp:
  • page/Chrome.h:
  • page/ChromeClient.h:
  • page/DOMWindow.cpp:
  • page/DOMWindow.h:
  • page/DOMWindow.idl:
  • page/FrameView.cpp:
  • page/FrameView.h:
  • platform/HostWindow.h:

2011-01-19 James Robinson <jamesr@chromium.org>

Unreviewed, rolling out r76194.
http://trac.webkit.org/changeset/76194
https://bugs.webkit.org/show_bug.cgi?id=51218

Caused mysterious compile failure on the chromium win
build.webkit.org bots

  • features.gypi:
  • public/WebWidget.h:
  • public/WebWidgetClient.h:
  • src/ChromeClientImpl.cpp:
  • src/ChromeClientImpl.h:
  • src/WebPopupMenuImpl.cpp:
  • src/WebPopupMenuImpl.h:
  • src/WebViewImpl.cpp:
  • src/WebViewImpl.h:

2011-01-19 James Robinson <jamesr@chromium.org>

Unreviewed, rolling out r76194.
http://trac.webkit.org/changeset/76194
https://bugs.webkit.org/show_bug.cgi?id=51218

Caused mysterious compile failure on the chromium win
build.webkit.org bots

  • DumpRenderTree/chromium/WebViewHost.cpp: (WebViewHost::paintInvalidatedRegion):
  • DumpRenderTree/chromium/WebViewHost.h:
19:46 Changeset [76197] by simon.fraser@apple.com

2011-01-19 Simon Fraser <simon.fraser@apple.com>

Fix the WebKit2 build.

  • WebProcess/WebPage/mac/LayerBackedDrawingAreaMac.mm: (WebKit::LayerBackedDrawingArea::syncCompositingLayers):
19:20 Changeset [76196] by simon.fraser@apple.com

2011-01-19 Simon Fraser <simon.fraser@apple.com>

Reviewed by Sam Weinig.

GraphicsLayers in subframes can get sync'd multiple times
https://bugs.webkit.org/show_bug.cgi?id=52489

Some cleanup that will work towards fixing this bug.

Tested by existing iframe compositing tests.

  • WebCore.exp.in: syncCompositingStateRecursive() was renamed to syncCompositingStateIncludingSubframes().
  • page/FrameView.h:
  • page/FrameView.cpp: (WebCore::FrameView::syncCompositingStateForThisFrame): Some code cleanup: do all the word we need to do for this frame, including the needsLayout() check. (WebCore::FrameView::syncCompositingStateIncludingSubframes): This is no longer recursive; instead, it iterates over descendant frames via the frame tree, calling syncCompositingStateForThisFrame() on each Frame's view.
  • rendering/RenderLayerCompositor.h: (WebCore::RenderLayerCompositor::isFlushingLayers): Getter for the flag.
  • rendering/RenderLayerCompositor.cpp: (WebCore::RenderLayerCompositor::RenderLayerCompositor): (WebCore::RenderLayerCompositor::flushPendingLayerChanges): Maintain a flag to say if we're flushing, which allows us to assert on re-entrant flushes. (WebCore::RenderLayerCompositor::enclosingCompositorFlushingLayers): Add the ability to get the rootmost compositor that is in the middle of a flush.
19:14 Changeset [76195] by dpranke@chromium.org

2011-01-19 Dirk Pranke <dpranke@chromium.org>

Reviewed by Mihai Parparita.

remove fs refs from test_runner, dump_render_tree_thread

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

  • Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  • Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
  • Scripts/webkitpy/layout_tests/layout_package/test_runner_unittest.py:
  • Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
18:59 Changeset [76194] by jamesr@google.com

2011-01-19 James Robinson <jamesr@chromium.org>

Reviewed by Darin Fisher.

Implement mozilla's requestAnimationFrame API
https://bugs.webkit.org/show_bug.cgi?id=51218

Tests for window.webkitRequestAnimationFrame(). The new tests
are in the Skipped lists for platforms that do not set
ENABLE(REQUEST_ANIMATION_FRAME) - which is currently all but chromium.

  • fast/animation/request-animation-frame-cancel-expected.txt: Added.
  • fast/animation/request-animation-frame-cancel.html: Added.

Tests cancelling a callback within a webkitRequestAnimationFrame() callback.

  • fast/animation/request-animation-frame-cancel2-expected.txt: Added.
  • fast/animation/request-animation-frame-cancel2.html: Added.

Tests interactions between multiple webkitRequestAnimationFrame() callbacks.

  • fast/animation/request-animation-frame-display-expected.txt: Added.
  • fast/animation/request-animation-frame-display.html: Added.

Tests changing the display: property of an element within a callback.

  • fast/animation/request-animation-frame-expected.txt: Added.
  • fast/animation/request-animation-frame.html: Added.

Tests the basic use of window.webkitRequestAnimationFrame().

  • fast/animation/request-animation-frame-within-callback-expected.txt: Added.
  • fast/animation/request-animation-frame-within-callback.html: Added.

Tests setting one webkit.webkitRequestAnimationFrame() callback within another.

  • platform/gtk/Skipped:
  • platform/mac/Skipped:
  • platform/qt/Skipped:
  • platform/win/Skipped:

2011-01-19 James Robinson <jamesr@chromium.org>

Reviewed by Darin Fisher.

Implement mozilla's requestAnimationFrame API
https://bugs.webkit.org/show_bug.cgi?id=51218

This implements mozilla's proposed requestAnimationFrame API. The idea with this API is that
an author driving an animation from script could use window.requestAnimationFrame(callback)
instead of window.setTimeout(callback, 0) to schedule their update logic and let the browser
decide when to update the animations. This avoids doing unnecessary work when the page content
is offscreen or is being displayed at a different framerate than what the page author expects.

Mozilla's proposal is here: https://developer.mozilla.org/en/DOM/window.mozRequestAnimationFrame
This implements window.mozRequestAnimationFrame as window.webkitRequestAnimationFrame with the
following changes:
*) Only the callback syntax is supported, there is no before paint event
*) webkitRequestAnimationFrame supports a second parameter Element to let the author indicate

what content they intend to animate. That way if the page is being displayed but the element
in question is offscreen, we can avoid invoking the callback.

*) No timestamp is provided to the caller and there is no window.animationStartTime property

(see https://bugs.webkit.org/show_bug.cgi?id=51952 for discussion of this property)

*) window.webkitRequestAnimationFrame returns a numerical id that can be used to cancel the callback

using window.cancelWebkitRequestAnimationFrame, to parallel window.setTimeout()/window.clearTime().

The implementation depends on the embedder scheduling the callbacks since the callback invocation
depends on the page's visibility and the embedder's paint scheduling, neither of which are exposed
to WebCore. The expectation for the embedder is that at some point Chrome::scheduleAnimation() is
called FrameView::serviceScriptedAnimations() should be called for the associated Page's main frame.
Ideally serviceScriptedAnimations() would be called prior to rendering - although in practice the
embedder has to rate limit callbacks and may not be able to tie the callback directly to the
rendering loop.

Tests: fast/animation/request-animation-frame-cancel.html

fast/animation/request-animation-frame-cancel2.html
fast/animation/request-animation-frame-display.html
fast/animation/request-animation-frame-within-callback.html
fast/animation/request-animation-frame.html

  • WebCore.gypi:
  • dom/Document.cpp: (WebCore::Document::Document): (WebCore::Document::webkitRequestAnimationFrame): (WebCore::Document::webkitCancelRequestAnimationFrame): (WebCore::Document::serviceScriptedAnimations):
  • dom/Document.h:
  • dom/RequestAnimationFrameCallback.h: Added. (WebCore::RequestAnimationFrameCallback::~RequestAnimationFrameCallback):
  • dom/RequestAnimationFrameCallback.idl: Added.
  • loader/EmptyClients.h: (WebCore::EmptyChromeClient::scheduleAnimation):
  • page/Chrome.cpp: (WebCore::Chrome::scheduleAnimation):
  • page/Chrome.h:
  • page/ChromeClient.h:
  • page/DOMWindow.cpp: (WebCore::DOMWindow::webkitRequestAnimationFrame): (WebCore::DOMWindow::webkitCancelRequestAnimationFrame):
  • page/DOMWindow.h:
  • page/DOMWindow.idl:
  • page/FrameView.cpp: (WebCore::FrameView::scheduleAnimation): (WebCore::FrameView::serviceScriptedAnimations):
  • page/FrameView.h:
  • platform/HostWindow.h:

2011-01-19 James Robinson <jamesr@chromium.org>

Reviewed by Darin Fisher.

Implement mozilla's requestAnimationFrame API
https://bugs.webkit.org/show_bug.cgi?id=51218

Chromium WebKit API support for window.webkitRequestAnimationFrame()

  • features.gypi:
  • public/WebWidget.h:
  • public/WebWidgetClient.h: (WebKit::WebWidgetClient::scheduleAnimation):
  • src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::scheduleAnimation):
  • src/ChromeClientImpl.h:
  • src/WebPopupMenuImpl.cpp: (WebKit::WebPopupMenuImpl::animate): (WebKit::WebPopupMenuImpl::scheduleAnimation):
  • src/WebPopupMenuImpl.h:
  • src/WebViewImpl.cpp: (WebKit::WebViewImpl::animate):
  • src/WebViewImpl.h:

2011-01-19 James Robinson <jamesr@chromium.org>

Reviewed by Darin Fisher.

Implement mozilla's requestAnimationFrame API
https://bugs.webkit.org/show_bug.cgi?id=51218

Chromium DumpRenderTree support for window.webkitRequestAnimationFrame.

  • DumpRenderTree/chromium/WebViewHost.cpp: (invokeScheduleComposite): (WebViewHost::scheduleAnimation): (WebViewHost::paintInvalidatedRegion):
  • DumpRenderTree/chromium/WebViewHost.h:
18:56 Changeset [76193] by ggaren@apple.com

Rolled back in r76078, with crash fixed.
https://bugs.webkit.org/show_bug.cgi?id=52668

Reviewed by Darin Adler.

  • runtime/JSGlobalObject.cpp:

(JSC::JSGlobalObject::markChildren): Account for the fact that the global
object moves its variables into and out of the register file. While out
of the register file, the symbol table's size is not an accurate count
for the size of the register array, since the BytecodeGenerator might
be compiling, adding items to the symbol table.

18:49 Changeset [76192] by mrobinson@webkit.org

2011-01-13 Martin Robinson <mrobinson@igalia.com>

Reviewed by Daniel Bates.

[GTK] Move progress bar painting out of gtk2drawing.c
https://bugs.webkit.org/show_bug.cgi?id=52385

Move progress bar painting to RenderThemeGtk2 and share some animation
logic between the GTK+ 2.x and GTK+ 3.x port.

No new tests. This should not change functionality.

  • platform/gtk/RenderThemeGtk.cpp: (WebCore::RenderThemeGtk::animationRepeatIntervalForProgressBar): Moved from RenderThemeGtk3. (WebCore::RenderThemeGtk::animationDurationForProgressBar): Ditto. (WebCore::RenderThemeGtk::calculateProgressRect): Calculate the proper rectangle for the progress indicator given the rect for the maximum size of the indicator.
  • platform/gtk/RenderThemeGtk.h: Added calculateProgressRect declaration and a new widget member for GTK+ 2.x
  • platform/gtk/RenderThemeGtk2.cpp: (WebCore::RenderThemeGtk::platformInit): Added initialization for the new widget member. (WebCore::RenderThemeGtk::paintProgressBar): Paint the progress bar manually instead of calling the old Mozilla code. (WebCore::RenderThemeGtk::gtkProgressBar): Added.
  • platform/gtk/RenderThemeGtk3.cpp: (WebCore::RenderThemeGtk::paintProgressBar): Call calculateProgressRect now to get the area of the progress indicator.
  • platform/gtk/gtk2drawing.c: Remove unused code. (moz_gtk_get_widget_border): (moz_gtk_widget_paint):
  • platform/gtk/gtkdrawing.h: Ditto.
18:18 Changeset [76191] by darin@apple.com

2011-01-19 Darin Adler <darin@apple.com>

Reviewed by Sam Weinig.

Would like script debugging protocol method to differentiate between caught and uncaught exceptions
https://bugs.webkit.org/show_bug.cgi?id=52104
rdar://problem/8704226

  • WebView/WebDelegateImplementationCaching.h: Fix type of second integer in CallScriptDebugDelegate function overload to be int to match the actual Objective-C method. Added a new overload that includes a BOOL in the right place. Added a boolean named exceptionWasRaisedExpectsHasHandlerFlag.
  • WebView/WebDelegateImplementationCaching.mm: (CallDelegate): Added overloads as above. (CallScriptDebugDelegate): Ditto.
  • WebView/WebScriptDebugDelegate.h: Added new method with the additional boolean argument. Marked the old method informally deprecated.
  • WebView/WebScriptDebugger.mm: (WebScriptDebugger::exception): Added code to call with or without the boolean depending on exceptionWasRaisedExpectsHasHandlerFlag.
  • WebView/WebView.mm: (-[WebView _cacheScriptDebugDelegateImplementations]): Set up the exceptionWasRaisedExpectsHasHandlerFlag. Also fixed old code that was not guaranteed to set didParseSourceExpectsBaseLineNumber to NO.
18:16 Changeset [76190] by dpranke@chromium.org

2011-01-19 Dirk Pranke <dpranke@chromium.org>

Unreviewed, build fix.

Fix a few incorrect "self._filesystem" references introduced in
r76184.

  • Scripts/webkitpy/layout_tests/port/chromium.py:
  • Scripts/webkitpy/layout_tests/port/chromium_linux.py:
18:13 Changeset [76189] by dimich@chromium.org

[Chromium] Not reviewed, reverts the following changes:
http://trac.webkit.org/changeset/76164 (build fix)
http://trac.webkit.org/changeset/76159 (main change)

The change broke Chromium Linux-shlib build.

Original issue:
Accelerated canvas2D has bad clipping performance.
https://bugs.webkit.org/show_bug.cgi?id=52627

Source/WebCore:

  • WebCore.gyp/WebCore.gyp:
  • WebCore.gypi:
  • html/canvas/CanvasRenderingContext2D.cpp:

(WebCore::CanvasRenderingContext2D::reset):
(WebCore::CanvasRenderingContext2D::platformLayer):

  • platform/graphics/chromium/DrawingBufferChromium.cpp:

(WebCore::DrawingBuffer::DrawingBuffer):

  • platform/graphics/chromium/GLES2Canvas.cpp:

(WebCore::GLES2Canvas::State::State):
(WebCore::GLES2Canvas::clearRect):
(WebCore::GLES2Canvas::fillRect):
(WebCore::GLES2Canvas::restore):
(WebCore::GLES2Canvas::drawTexturedRect):

  • platform/graphics/chromium/GLES2Canvas.h:
  • platform/graphics/gpu/DrawingBuffer.cpp:

(WebCore::DrawingBuffer::clear):
(WebCore::DrawingBuffer::createSecondaryBuffers):
(WebCore::DrawingBuffer::reset):

  • platform/graphics/gpu/DrawingBuffer.h:
  • platform/graphics/gpu/SharedGraphicsContext3D.cpp:

(WebCore::SharedGraphicsContext3D::create):

  • platform/graphics/gpu/SharedGraphicsContext3D.h:
  • platform/graphics/gpu/mac/DrawingBufferMac.mm:

(WebCore::DrawingBuffer::DrawingBuffer):

  • platform/graphics/skia/GraphicsContextSkia.cpp:

(WebCore::GraphicsContext::canvasClip):
(WebCore::GraphicsContext::clipOut):
(WebCore::GraphicsContext::clipPath):
(WebCore::GraphicsContext::fillPath):

  • platform/graphics/skia/PlatformContextSkia.cpp:

(WebCore::PlatformContextSkia::canAccelerate):
(WebCore::PlatformContextSkia::uploadSoftwareToHardware):

  • thirdparty/glu/README.webkit:
  • thirdparty/glu/gluos.h:
  • thirdparty/glu/libtess/geom.c:
  • thirdparty/glu/libtess/priorityq.c:
  • thirdparty/glu/libtess/render.c:
  • thirdparty/glu/libtess/sweep.c:

(IsWindingInside):
(DoneEdgeDict):

LayoutTests:

  • platform/chromium-gpu/test_expectations.txt:
18:10 Changeset [76188] by bweinstein@apple.com

WebKit2: Need API to get the parent frame of a frame
https://bugs.webkit.org/show_bug.cgi?id=52774

Reviewed by Darin Adler.

Add the API to get the parent frame of a frame.

  • UIProcess/API/C/WKFrame.cpp:

(WKFrameGetParentFrame):

  • UIProcess/API/C/WKFrame.h:
18:03 Changeset [76187] by leviw@chromium.org

2011-01-19 Levi Weintraub <leviw@google.com>

Reviewed by Darin Adler.

Re-committing this with the proper expected results.

Changing RenderText::localCaretRect to clip to its containing block's logicalLeft and
logicalRightLayoutOverflow instead of simply using logicalLeft and logicalRight, as this
resulted in the caret being placed incorrectly in overflowing editable IFrame content.

Long lines in non-white-space-pre editable documents show cursor in wrong place
https://bugs.webkit.org/show_bug.cgi?id=48132

  • editing/selection/caret-painting-in-overflowing-autowrap-content.html: Added.
  • editing/selection/resources/iframe-positioning-caret-at-end.html: Added.
  • platform/mac/editing/selection/caret-painting-in-overflowing-autowrap-content-expected.checksum: Added.
  • platform/mac/editing/selection/caret-painting-in-overflowing-autowrap-content-expected.png: Added.
  • platform/mac/editing/selection/caret-painting-in-overflowing-autowrap-content-expected.txt: Added.

2011-01-19 Levi Weintraub <leviw@google.com>

Reviewed by Darin Adler.

Re-committing this with the proper expected results.

Changing RenderText::localCaretRect to clip to its containing block's logicalLeft and
logicalRightLayoutOverflow instead of simply using logicalLeft and logicalRight, as this
resulted in the caret being placed incorrectly in overflowing editable IFrame content.

Long lines in non-white-space-pre editable documents show cursor in wrong place
https://bugs.webkit.org/show_bug.cgi?id=48132

Test: editing/selection/caret-painting-in-overflowing-autowrap-content.html

  • rendering/RenderText.cpp: (WebCore::RenderText::localCaretRect):
17:56 Changeset [76186] by enrica@apple.com

WebKit2: add support for drag and drop
https://bugs.webkit.org/show_bug.cgi?id=52343
<rdar://problem/7660558>

Reviewed by Darin Adler.

This patch contains the remaining work to support drag and drop on Mac.
I've added a PasteboardTypes class to encapsulate all the pasteboard formats
supported for drag and drop.
In this implementation we don't support the promised types, since I could not
find an efficient way to do this across processes.
The bulk of the patch consists in creating a shareable bitmap for the drag image,
pass its handle to the UI process and create a new NSImage from it to be given to
AppKit for dragging.
I've added the missing implementation of the methods in the drag client to hook
up the placement of the data in the pasteboard.

  • Shared/mac/PasteboardTypes.h: Added.
  • Shared/mac/PasteboardTypes.mm: Added.

(WebKit::PasteboardTypes::forEditing):
(WebKit::PasteboardTypes::forURL):
(WebKit::PasteboardTypes::forImages):
(WebKit::PasteboardTypes::forImagesWithArchive):

  • UIProcess/API/mac/PageClientImpl.h:
  • UIProcess/API/mac/PageClientImpl.mm:

(WebKit::PageClientImpl::setDragImage): Added.

  • UIProcess/API/mac/WKView.mm:

(-[WKView _registerDraggedTypes]): Refactored to use the new PasteboardTypes class.
(-[WKView initWithFrame:contextRef:pageGroupRef:]):
(-[WKView _setMouseDownEvent:]):
(-[WKView _mouseHandler:]):
(-[WKView mouseDown:]):
(-[WKView mouseUp:]):
(-[WKView mouseDragged:]):
(-[WKView draggedImage:endedAt:operation:]):
(-[WKView draggingEntered:]):
(-[WKView _setDragImage:at:linkDrag:]):

  • UIProcess/API/mac/WKViewInternal.h:
  • UIProcess/PageClient.h:
  • UIProcess/WebPageProxy.cpp:

(WebKit::WebPageProxy::setDragImage):
(WebKit::WebPageProxy::dragEnded):

  • UIProcess/WebPageProxy.h:
  • UIProcess/WebPageProxy.messages.in:
  • WebKit2.xcodeproj/project.pbxproj:
  • WebProcess/WebCoreSupport/WebDragClient.cpp:
  • WebProcess/WebCoreSupport/WebDragClient.h:
  • WebProcess/WebCoreSupport/mac/WebDragClientMac.mm: Added.

(WebKit::fontFromNSFont):
(WebKit::WebDragClient::startDrag): Added implementation.
(WebKit::WebDragClient::createDragImageForLink): Ditto.
(WebKit::writeURL): Helper function.
(WebKit::writeImage): Helper function.
(WebKit::WebDragClient::declareAndWriteDragImage): Added implementation.

  • WebProcess/WebPage/WebPage.cpp:

(WebKit::WebPage::dragEnded):

  • WebProcess/WebPage/WebPage.h:
  • WebProcess/WebPage/WebPage.messages.in:
17:53 Changeset [76185] by darin@apple.com

2011-01-18 Darin Adler <darin@apple.com>

Reviewed by Geoffrey Garen.

Stack overflow when converting an Error object to string
https://bugs.webkit.org/show_bug.cgi?id=46410

  • fast/js/script-tests/toString-recursion.js: Added.
  • fast/js/toString-recursion-expected.txt: Added.
  • fast/js/toString-recursion.html: Added.

2011-01-18 Darin Adler <darin@apple.com>

Reviewed by Geoffrey Garen.

Stack overflow when converting an Error object to string
https://bugs.webkit.org/show_bug.cgi?id=46410

  • Android.mk: Added StringRecursionChecker.cpp and StringRecursionChecker.h.
  • CMakeLists.txt: Ditto.
  • GNUmakefile.am: Ditto.
  • JavaScriptCore.gypi: Ditto.
  • JavaScriptCore.pro: Ditto.
  • JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj: Ditto.
  • JavaScriptCore.xcodeproj/project.pbxproj: Ditto.
  • runtime/ArrayPrototype.cpp: (JSC::arrayProtoFuncToString): Use StringRecursionChecker instead of the older hand-written code to do the same thing. (JSC::arrayProtoFuncToLocaleString): Ditto. (JSC::arrayProtoFuncJoin): Ditto.
  • runtime/ErrorPrototype.cpp: (JSC::errorProtoFuncToString): Use StringRecursionChecker.
  • runtime/JSGlobalData.h: Renamed arrayVisitedElements to stringRecursionCheckVisitedObjects.
  • runtime/RegExpPrototype.cpp: (JSC::regExpProtoFuncToString): Use StringRecursionChecker.
  • runtime/StringRecursionChecker.cpp: Added.
  • runtime/StringRecursionChecker.h: Added.
17:49 Changeset [76184] by dpranke@chromium.org

2011-01-19 Dirk Pranke <dpranke@chromium.org>

Reviewed by Mihai Parparita.

add a .sep property, abspath(), isabs(), mtime(), and
open_text_file_for_writing() to filesystem modules. Some of
these properties are not needed in this patch but will be needed
in subsequent patches (I'm doing this to avoid having to track
multiple versions of a single file).

Also, change most of the port/* modules to use the filesystem
objects instead of referencing the filesystem directly.

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

  • Scripts/webkitpy/common/system/filesystem.py:
  • Scripts/webkitpy/common/system/filesystem_mock.py:
  • Scripts/webkitpy/layout_tests/port/init.py:
  • Scripts/webkitpy/layout_tests/port/base.py:
  • Scripts/webkitpy/layout_tests/port/base_unittest.py:
  • Scripts/webkitpy/layout_tests/port/chromium.py:
  • Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
  • Scripts/webkitpy/layout_tests/port/config.py:
  • Scripts/webkitpy/layout_tests/port/test.py:
  • Scripts/webkitpy/layout_tests/port/test_files_unittest.py:
17:24 Changeset [76183] by morrita@google.com

2011-01-18 MORITA Hajime <morrita@google.com>

Reviewed by David Levin.

ElementRareData::m_shadowRoot should not be RefPtr.
https://bugs.webkit.org/show_bug.cgi?id=51914

Makes ElementRareData::m_shadowRoot a raw pointer because
ElementRareData::m_shadowRoot should be like a
ContaineNode::m_firstChild, which is also a raw pointer.
pointer. Which also means that both the shadow root and the shadow
host reference each other as a parent-and-child relationship, via
a raw pointer.

Note that it is safe not to manipulate the ref-count of
m_shadowRoot because Node::m_parent of the shadow root points its
shadow host, and the object isn't deleted even if the refcount is
zero, as long as the node has non-null m_parent. (See TreeShared.)

The shadow root node is finally destroyed inside
removeShadowRoot(), where we store the root node into a local
RefPtr, then make the node's m_parent null, which results the
destroy the node, at the end of the function, by RefPtr::~RefPtr.

No new tests. No behavioral change.

  • dom/Element.cpp: (WebCore::Element::~Element): (WebCore::Element::shadowRoot): (WebCore::Element::setShadowRoot): (WebCore::Element::removeShadowRoot):
  • dom/ElementRareData.h: (WebCore::ElementRareData::ElementRareData): (WebCore::ElementRareData::~ElementRareData):
17:03 Changeset [76182] by mrobinson@webkit.org

2011-01-12 Martin Robinson <mrobinson@igalia.com>

Reviewed by Gustavo Noronha Silva.

[GTK] Move text field painting out of gtk2drawing.c
https://bugs.webkit.org/show_bug.cgi?id=52327

No new tests. This should not change behavior.

  • platform/gtk/RenderThemeGtk2.cpp: (WebCore::RenderThemeGtk::paintButton): Use the setWidgetHasFocus helper. (WebCore::RenderThemeGtk::paintTextField): Do this manually now instead of calling into the Mozilla code.
  • platform/gtk/WidgetRenderingContext.cpp: Added a couple more wrappers for GTK+ theme functions. (WebCore::WidgetRenderingContext::gtkPaintFlatBox): (WebCore::WidgetRenderingContext::gtkPaintShadow):
  • platform/gtk/WidgetRenderingContext.h: Added new method declarations.
  • platform/gtk/gtk2drawing.c: Remove unused code. (moz_gtk_get_widget_border): (moz_gtk_widget_paint):
  • platform/gtk/gtkdrawing.h:
16:40 Changeset [76181] by andersca@apple.com

2011-01-19 Anders Carlsson <andersca@apple.com>

Reviewed by Dan Bernstein.

Put the deprecated Connection member functions next to eachother
https://bugs.webkit.org/show_bug.cgi?id=52767

  • Platform/CoreIPC/Connection.h: (CoreIPC::Connection::sendSync): (CoreIPC::Connection::send):
16:35 Changeset [76180] by oliver@apple.com

2011-01-19 Oliver Hunt <oliver@apple.com>

Reviewed by Gavin Barraclough.

Remove non-spec support for callable RegExp
https://bugs.webkit.org/show_bug.cgi?id=28285

Update test results for new behaviour.

  • fast/js/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.6-expected.txt:
  • fast/js/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.7/S15.10.7_A1_T1-expected.txt:
  • fast/js/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.7/S15.10.7_A1_T2-expected.txt:
  • fast/js/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.7/S15.10.7_A3_T1-expected.txt:
  • fast/js/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.7/S15.10.7_A3_T2-expected.txt:
  • fast/loader/stateobjects/pushstate-object-types-expected.txt:
  • fast/regex/cross-frame-callable-expected.txt:
  • fast/regex/script-tests/cross-frame-callable.js: (doTest):

2011-01-19 Oliver Hunt <oliver@apple.com>

Reviewed by Gavin Barraclough.

Remove non-spec support for callable RegExp
https://bugs.webkit.org/show_bug.cgi?id=28285

Remove support for callable regexps. If it breaks sites we can
just roll this out.

  • runtime/RegExpObject.cpp:
  • runtime/RegExpObject.h:
  • tests/mozilla/expected.html: update results.
16:27 Changeset [76179] by andersca@apple.com

2011-01-19 Anders Carlsson <andersca@apple.com>

Reviewed by Sam Weinig.

When resizing, the web process should repaint the page
https://bugs.webkit.org/show_bug.cgi?id=52764

  • UIProcess/DrawingAreaProxyImpl.cpp: (WebKit::DrawingAreaProxyImpl::didSetSize): Incorporate the update.

(WebKit::DrawingAreaProxyImpl::incorporateUpdate):
Return early if the update bounds rect is empty. This can happen if painting is
disabled and we get a DidSetSize message.

  • WebProcess/WebPage/DrawingAreaImpl.cpp: (WebKit::DrawingAreaImpl::setSize): If painting is disabled, just send back an empty UpdateInfo struct. Otherwise, paint and fill in the UpdateInfo struct.

(WebKit::DrawingAreaImpl::display):
Assert that painting is not disabled.

16:13 Changeset [76178] by mjs@apple.com

2011-01-19 Maciej Stachowiak <mjs@apple.com>

Reviewed by Anders Carlsson.

If resetting between tests times out, treat it as a WebProcess crash
https://bugs.webkit.org/show_bug.cgi?id=52757

  • WebKitTestRunner/TestController.cpp: (WTR::TestController::runTest):
16:13 Changeset [76177] by antti@apple.com

Cache function offsets to speed up javascript parsing
https://bugs.webkit.org/show_bug.cgi?id=52622

Reviewed by Oliver Hunt.

Use cache to save function offsets and some other info.
This avoids quite a bit of work when reparsing the source.

Source/JavaScriptCore:

  • parser/ASTBuilder.h:
  • parser/JSParser.cpp:

(JSC::JSParser::CachedFunctionInfo::CachedFunctionInfo):
(JSC::JSParser::CachedFunctionInfo::approximateByteSize):
(JSC::JSParser::CachedFunctionInfo::closeBraceToken):
(JSC::JSParser::Scope::copyCapturedVariablesToVector):
(JSC::JSParser::Scope::saveFunctionInfo):
(JSC::JSParser::Scope::restoreFunctionInfo):
(JSC::JSParser::findCachedFunctionInfo):
(JSC::JSParser::JSParser):
(JSC::JSParser::parseProgram):
(JSC::JSParser::parseFunctionInfo):

  • parser/Lexer.h:

(JSC::Lexer::setOffset):
(JSC::Lexer::setLineNumber):
(JSC::Lexer::sourceProvider):

  • parser/SourceProvider.h:

(JSC::SourceProviderCache::SourceProviderCache):
(JSC::SourceProviderCache::~SourceProviderCache):
(JSC::SourceProviderCache::byteSize):
(JSC::SourceProviderCache::add):
(JSC::SourceProviderCache::get):
(JSC::SourceProvider::SourceProvider):
(JSC::SourceProvider::~SourceProvider):
(JSC::SourceProvider::cache):
(JSC::SourceProvider::notifyCacheSizeChanged):
(JSC::SourceProvider::cacheSizeChanged):

  • parser/SyntaxChecker.h:

Source/WebCore:

  • bindings/js/CachedScriptSourceProvider.h:

(WebCore::CachedScriptSourceProvider::cache):
(WebCore::CachedScriptSourceProvider::cacheSizeChanged):
(WebCore::CachedScriptSourceProvider::CachedScriptSourceProvider):

  • bindings/js/ScriptSourceProvider.h:

(WebCore::ScriptSourceProvider::ScriptSourceProvider):

  • loader/cache/CachedScript.cpp:

(WebCore::CachedScript::destroyDecodedData):
(WebCore::CachedScript::sourceProviderCache):
(WebCore::CachedScript::sourceProviderCacheSizeChanged):

  • loader/cache/CachedScript.h:
16:01 Changeset [76176] by mrowe@apple.com

Follow-up to r75766 / <rdar://problem/5469576>.

Reviewed by Darin Adler.

  • DerivedSources.make: Evaluate the SDKROOT variable correctly.
15:45 Changeset [76175] by mrobinson@webkit.org

2011-01-11 Martin Robinson <mrobinson@igalia.com>

Reviewed by Gustavo Noronha Silva.

[GTK] Move toggle button rendering out of gtk2drawing.c
https://bugs.webkit.org/show_bug.cgi?id=52258

Updated results. The metrics of checkboxes and radio buttons have changed,
because the focus rect is no longer considered to be part of the button.

  • platform/gtk/fast/css/non-standard-checkbox-size-expected.txt
  • platform/gtk/fast/forms/001-expected.txt:
  • platform/gtk/fast/forms/basic-inputs-expected.txt:
  • platform/gtk/fast/forms/box-shadow-override-expected.txt:
  • platform/gtk/fast/forms/checkbox-radio-onchange-expected.txt:
  • platform/gtk/fast/forms/file-input-disabled-expected.txt:
  • platform/gtk/fast/forms/form-element-geometry-expected.txt:
  • platform/gtk/fast/forms/formmove-expected.txt:
  • platform/gtk/fast/forms/formmove2-expected.txt:
  • platform/gtk/fast/forms/indeterminate-expected.txt:
  • platform/gtk/fast/forms/input-appearance-height-expected.txt:
  • platform/gtk/fast/forms/input-value-expected.txt:
  • platform/gtk/fast/forms/radio-attr-order-expected.txt:
  • platform/gtk/fast/forms/radio-nested-labels-expected.txt:
  • platform/gtk/fast/forms/radio_checked-expected.txt:
  • platform/gtk/fast/forms/radio_checked_dynamic-expected.txt:

2011-01-11 Martin Robinson <mrobinson@igalia.com>

Reviewed by Gustavo Noronha Silva.

[GTK] Move toggle button rendering out of gtk2drawing.c
https://bugs.webkit.org/show_bug.cgi?id=52258

  • platform/gtk/RenderThemeGtk.h:
  • platform/gtk/RenderThemeGtk2.cpp: (WebCore::RenderThemeGtk::platformInit): Initialize new button members. (WebCore::adjustRectForFocus): Added this function which inflates a rect based on a widget's exterior focus. (WebCore::RenderThemeGtk::adjustRepaintRect): Account for exterior focus. (WebCore::setToggleSize): Only listen to indicator-size to properly size checkboxes and radio buttons. (WebCore::RenderThemeGtk::setCheckboxSize): Call new setToggleSize properly. (WebCore::paintToggle): Added. (WebCore::RenderThemeGtk::paintCheckbox): Call paintToggle. (WebCore::RenderThemeGtk::setRadioSize): Call new setToggleSize properly. (WebCore::RenderThemeGtk::paintRadio): Call paintToggle. (WebCore::RenderThemeGtk::gtkRadioButton): Added. (WebCore::RenderThemeGtk::gtkCheckButton): Added.
  • platform/gtk/WidgetRenderingContext.cpp: (WebCore::WidgetRenderingContext::WidgetRenderingContext): Use a static extra space variable. This is good enough for all themes that I've tested and prevents having to pass information from RenderThemeGtk about every single type of widget. (WebCore::WidgetRenderingContext::gtkPaintFocus): Use the paintRect to draw instead of m_paintRect. This is important when we're painting something that isn't the size of the total rect. (WebCore::WidgetRenderingContext::gtkPaintCheck): Added. (WebCore::WidgetRenderingContext::gtkPaintOption): Added.
  • platform/gtk/WidgetRenderingContext.h: Updated to reflect new methods.
  • platform/gtk/gtkdrawing.h: Remove newly unused code.
  • platform/gtk/gtk2drawing.c: Ditto.
15:38 Changeset [76174] by tonyg@chromium.org

2011-01-19 Tony Gentilcore <tonyg@chromium.org>

Unreviewed build fix.

Build fix for r76170
https://bugs.webkit.org/show_bug.cgi?id=52758

  • platform/graphics/chromium/UniscribeHelperTextRun.cpp:
15:23 Changeset [76173] by ddkilzer@apple.com

<http://webkit.org/b/52687> Clean up FrameLoader methods for PLUGIN_PROXY_FOR_VIDEO

Reviewed by Eric Carlson.

  • loader/FrameLoader.cpp: Declare the methods here.

(WebCore::FrameLoader::hideMediaPlayerProxyPlugin):
(WebCore::FrameLoader::showMediaPlayerProxyPlugin):

  • loader/FrameLoader.cpp: Moved methods to here...

(WebCore::FrameLoader::hideMediaPlayerProxyPlugin):
(WebCore::FrameLoader::showMediaPlayerProxyPlugin):

  • loader/SubframeLoader.cpp: ...from here.

(WebCore::FrameLoader::hideMediaPlayerProxyPlugin):
(WebCore::FrameLoader::showMediaPlayerProxyPlugin):

15:21 Changeset [76172] by mrobinson@webkit.org

2011-01-19 Martin Robinson <mrobinson@igalia.com>

Unskip a test now that the 32-bit debug bot has the 2.4 series of FreeType.

  • platform/gtk/Skipped: Unskip a test.
15:19 Changeset [76171] by commit-queue@webkit.org

2011-01-19 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r76166.
http://trac.webkit.org/changeset/76166
https://bugs.webkit.org/show_bug.cgi?id=52755

The platform-specific baseline should not be removed yet.
(Requested by dglazkov on #webkit).

  • platform/chromium-win/fast/forms/slider-mouse-events-expected.txt: Added.
  • platform/chromium/test_expectations.txt:
15:13 Changeset [76170] by tonyg@chromium.org

2011-01-19 Tony Gentilcore <tonyg@chromium.org>

Reviewed by Mihai Parparita.

Perform some forward declaration
https://bugs.webkit.org/show_bug.cgi?id=52522

No new tests because no new functionality.

  • accessibility/AccessibilityObject.h:
  • css/WebKitCSSMatrix.cpp:
  • html/HTMLAreaElement.cpp:
  • html/canvas/CanvasRenderingContext2D.cpp:
  • inspector/InspectorController.cpp:
  • platform/graphics/FloatPoint.cpp:
  • platform/graphics/Font.cpp:
  • platform/graphics/Font.h:
  • platform/graphics/FontFastPath.cpp:
  • platform/graphics/GraphicsContext.cpp:
  • platform/graphics/ImageBuffer.h:
  • platform/graphics/StringTruncator.cpp:
  • platform/graphics/WidthIterator.cpp:
  • platform/graphics/mac/ComplexTextController.cpp:
  • platform/graphics/mac/ComplexTextControllerCoreText.cpp:
  • platform/graphics/mac/FontComplexTextMac.cpp:
  • platform/graphics/transforms/TransformationMatrix.cpp:
  • platform/graphics/transforms/TransformationMatrix.h:
  • rendering/EllipsisBox.cpp:
  • rendering/InlineTextBox.cpp:
  • rendering/RenderBlock.cpp:
  • rendering/RenderBlockLineLayout.cpp:
  • rendering/RenderEmbeddedObject.cpp:
  • rendering/RenderFileUploadControl.cpp:
  • rendering/RenderFlexibleBox.cpp:
  • rendering/RenderImage.cpp:
  • rendering/RenderListBox.cpp:
  • rendering/RenderListMarker.cpp:
  • rendering/RenderMenuList.cpp:
  • rendering/RenderObject.h:
  • rendering/RenderText.cpp:
  • rendering/RenderTextControl.cpp:
  • rendering/svg/SVGInlineTextBox.cpp:
  • rendering/svg/SVGMarkerLayoutInfo.h:
  • rendering/svg/SVGTextMetrics.cpp:
  • svg/SVGFont.cpp:

2011-01-19 Tony Gentilcore <tonyg@chromium.org>

Reviewed by Mihai Parparita.

Perform some forward declaration
https://bugs.webkit.org/show_bug.cgi?id=52522

  • Misc/WebKitNSStringExtras.mm:
15:12 Changeset [76169] by mjs@apple.com

2011-01-19 Maciej Stachowiak <mjs@apple.com>

Reviewed by Anders Carlsson.

Skip/fix remaining WebKit2 test failures
https://bugs.webkit.org/show_bug.cgi?id=52744

  • platform/mac-wk2/fast/blockflow/Kusa-Makura-background-canvas-expected.txt: Added WebKit2 mac results. It turns out that WebKit1 on Mac is the only port to report a scroll position other than 0, 0 for this test, so the WebKit2 results are arguably more correct.
  • platform/mac-wk2/fast/blockflow: Added.
  • platform/mac-wk2/fast: Added.
  • platform/mac-wk2/Skipped: Skip a few more tests. (And unskip in some cases where the failures were caused by other tests.)
14:53 Changeset [76168] by dimich@chromium.org

2011-01-19 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r76152.
http://trac.webkit.org/changeset/76152
https://bugs.webkit.org/show_bug.cgi?id=52750

The original change (76144) was rolled out before (Requested
by dimich on #webkit).

  • platform/gtk/fast/forms/input-text-scroll-left-on-blur-expected.txt:
  • platform/gtk/fast/forms/plaintext-mode-2-expected.txt:
14:45 Changeset [76167] by ap@apple.com

Reviewed by Darin Adler.

https://bugs.webkit.org/show_bug.cgi?id=52739
Make it possible for a WebKit2 client to print headers and footers

  • UIProcess/API/C/WKPage.h:
  • UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::headerHeight): (WebKit::WebPageProxy::footerHeight): (WebKit::WebPageProxy::drawHeader): (WebKit::WebPageProxy::drawFooter):
  • UIProcess/WebPageProxy.h:
  • UIProcess/WebUIClient.cpp: (WebKit::WebUIClient::headerHeight): (WebKit::WebUIClient::footerHeight): (WebKit::WebUIClient::drawHeader): (WebKit::WebUIClient::drawFooter):
  • UIProcess/WebUIClient.h: Pass UIClient calls through.
  • UIProcess/API/mac/WKView.mm: (currentPrintOperationScale): A helper to extract scale factor from the current NSPrintOperation. (-[WKView _adjustPrintingMarginsForHeaderAndFooter]): Copied from WebKit1. Change current print info to account for header and footer height as provided by the client. (-[WKView knowsPageRange:]): Call -[self _adjustPrintingMarginsForHeaderAndFooter]. (-[WKView drawPageBorderWithSize:]): When AppKit asks to print page border, call the client to do that. Code adapted form WebKit1.
  • UIProcess/API/qt/qwkpage: (QWKPage::QWKPage): Added zeroes for new WKPageUIClient members to avoid breaking the build.
14:45 Changeset [76166] by dglazkov@chromium.org

2011-01-19 Dimitri Glazkov <dglazkov@chromium.org>

Removed platform-specific expectations for the test that matches
generic baseline after http://trac.webkit.org/changeset/76147.

  • platform/chromium-win/fast/forms/slider-mouse-events-expected.txt: Removed.
  • platform/chromium/test_expectations.txt: Removed expectation to fail.
14:29 Changeset [76165] by enne@google.com

2011-01-19 Adrienne Walker <enne@google.com>

Reviewed by Kenneth Russell.

[chromium] Tiled compositor should use texture manager
https://bugs.webkit.org/show_bug.cgi?id=52418

Test: compositing/

  • platform/graphics/chromium/LayerRendererChromium.cpp: (WebCore::LayerRendererChromium::~LayerRendererChromium): (WebCore::LayerRendererChromium::cleanupSharedObjects):
  • platform/graphics/chromium/LayerTilerChromium.cpp: (WebCore::LayerTilerChromium::LayerTilerChromium): (WebCore::LayerTilerChromium::reset): (WebCore::LayerTilerChromium::createTile): (WebCore::LayerTilerChromium::update): (WebCore::LayerTilerChromium::draw):
  • platform/graphics/chromium/LayerTilerChromium.h: (WebCore::LayerTilerChromium::Tile::Tile): (WebCore::LayerTilerChromium::Tile::texture):
14:28 Changeset [76164] by senorblanco@chromium.org

2011-01-19 Stephen White <senorblanco@chromium.org>

Unreviewed; build fix for chromium.

  • platform/graphics/chromium/GLES2Canvas.cpp: (WebCore::GLES2Canvas::fillPath):
14:26 Changeset [76163] by jberlin@webkit.org

Crash in WebDatabaseManagerProxy::getDatabaseOrigins when called after the WebProcess has
died at least once
https://bugs.webkit.org/show_bug.cgi?id=52730

Reviewed by Darin Adler.

WebDatabaseManagerProxy::invalidate was setting m_webContext to 0, and invalidate gets
called in WebContext::processDidClose. However, m_webContext is only set in the
constructor, which is only called from the constructor of WebContext, so attempting to send
a message to any new WebProcess after the first one died was causing a null deref.

This patch moves setting m_webcontext into clearContext and clearContext is only called in
the WebContext destructor.

This patch also adds checks for a valid WebProcessProxy before attempting to send messages to
the WebProcessProxy so that if the WebProcess has died and has not been revived, it does not
attempt to dereference a null WebProcessProxy.

  • UIProcess/WebContext.cpp:

(WebKit::WebContext::~WebContext):
Call WebDatabaseManagerProxy::clearContext.

  • UIProcess/WebContext.h:

(WebKit::WebContext::hasValidProcess):
Make this method public so that it can be called from WebDatabaseManagerProxy.

  • UIProcess/WebDatabaseManagerProxy.cpp:

(WebKit::WebDatabaseManagerProxy::getDatabasesByOrigin):
If there isn't a valid process, invalidate the callback and return early.
(WebKit::WebDatabaseManagerProxy::getDatabaseOrigins):
Ditto.
(WebKit::WebDatabaseManagerProxy::deleteDatabaseWithNameForOrigin):
If tehre isn't a valid process return early.
(WebKit::WebDatabaseManagerProxy::deleteDatabasesForOrigin):
Ditto.
(WebKit::WebDatabaseManagerProxy::deleteAllDatabases):
Ditto.
(WebKit::WebDatabaseManagerProxy::setQuotaForOrigin):
Ditto.
(WebKit::WebDatabaseManagerProxy::invalidate):
Move setting m_webContext to 0 from here ...

  • UIProcess/WebDatabaseManagerProxy.h:

(WebKit::WebDatabaseManagerProxy::clearContext):
... to here.

14:17 Changeset [76162] by tony@chromium.org

2011-01-19 Tony Chang <tony@chromium.org>

Unreviewed, roll chromium deps to pick up fixes for the linux build.

  • DEPS:
14:14 Changeset [76161] by robert@webkit.org

2011-01-19 Robert Hogan <robert@webkit.org>

Unreviewed fix to r76153.

[Qt] Update expected results after r76153

Update missing expected results from r76153. Matches Mac.
Re-skip http/tests/misc/timer-vs-loading.html - it still times
out on the build bot.

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

  • platform/qt/Skipped:
  • platform/qt/http/tests/loading/simple-subframe-expected.txt:
14:12 Changeset [76160] by dpranke@chromium.org

2011-01-19 Dirk Pranke <dpranke@chromium.org>

Reviewed by Ojan Vafai.

Change webkitpy/layout_tests/port/test.py to use the
in-memory filesystem for cleaner unit testing. This
change allows us to kill a lot of code that was
specific to the test port, at the cost of being a
little less clear about how things would work if
you didn't have a filesystem.

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

  • Scripts/webkitpy/layout_tests/port/test.py:
14:11 Changeset [76159] by senorblanco@chromium.org

2011-01-18 Stephen White <senorblanco@chromium.org>

Reviewed by James Robinson.

Add two to-be-rebaselined tests for the GPU path.

  • platform/chromium-gpu/test_expectations.txt:

2011-01-18 Stephen White <senorblanco@chromium.org>

Reviewed by James Robinson.

Implement accelerated path drawing and clipping for the Canvas2D GPU
path.
https://bugs.webkit.org/show_bug.cgi?id=52627


This is done with a simple curve interpolator and the GLU tesselator,
which is good enough for a 3-5X speedup on
http://ie.microsoft.com/testdrive/Performance/Galactic/Default.html.

Covered by canvas/philip/2d.path.clip.basic.html, and many, many more.
All tests canvas/philip and fast/canvas paths pass with no
regressions, although two have minor pixel differences which require
rebaselining.

  • WebCore.gyp/WebCore.gyp: Add internal_glu include path to chromium build.
  • WebCore.gypi: Add internal_glu files to chromium build.
  • html/canvas/CanvasRenderingContext2D.cpp: (WebCore::CanvasRenderingContext2D::reset): (WebCore::CanvasRenderingContext2D::platformLayer): Make CanvasRenderingContext2D more robust against failure to create a DrawingBuffer.
  • platform/graphics/chromium/DrawingBufferChromium.cpp: (WebCore::DrawingBuffer::DrawingBuffer): As in DrawingBufferMac.cpp, call reset() from the constructor. Also initialize size to (-1, -1), so reset() doesn't early-out. Add initializers for depthBuffer and stencilBuffer, and remove multisampleDepthStencilBuffer.
  • platform/graphics/chromium/GLES2Canvas.cpp: Remove some unused #includes. (WebCore::GLES2Canvas::State::State): Add clipping state, and implement save/restore via the copy constructor. (WebCore::operator*): (WebCore::Quadratic::Quadratic): (WebCore::Quadratic::fromBezier): (WebCore::Quadratic::evaluate): Quadratic Bezier curve class. (WebCore::Cubic::Cubic): (WebCore::Cubic::fromBezier): (WebCore::Cubic::evaluate): Cubic Bezier curve class. (WebCore::GLES2Canvas::clearRect): Add clipping support to clearRect(). (WebCore::GLES2Canvas::fillPath): Implement fillPath(). (WebCore::GLES2Canvas::fillRect): Add clipping support to fillRect(). (WebCore::GLES2Canvas::clipPath): Implement clipPath(). (WebCore::GLES2Canvas::clipOut): Stub out clipOut() (not called by Canvas 2D). (WebCore::GLES2Canvas::restore): When restoring, draw any remaining clipping paths to the stencil buffer. (WebCore::GLES2Canvas::drawTexturedRect): Add clipping support. (WebCore::interpolateQuadratic): (WebCore::interpolateCubic): Simple curve interpolation, using the Cubic and Quadratic classes. (WebCore::PolygonData::PolygonData): A struct to hold the tesselation data for callbacks. (WebCore::beginData): (WebCore::edgeFlagData): (WebCore::vertexData): (WebCore::endData): (WebCore::combineData): internal_glu tesselation callbacks. (WebCore::GLES2Canvas::createVertexBufferFromPath): Build an interpolated, tesselated vertex buffer and element array buffer from a given path, suitable for filling. (WebCore::GLES2Canvas::beginStencilDraw): Enable stencilling, and disable draws to the color buffer. (WebCore::GLES2Canvas::applyClipping): If clipping is enabled, set the appropriate GL state.
  • platform/graphics/chromium/GLES2Canvas.h: Document the flavours of drawTexturedRect() a bit, so I don't get confused.
  • platform/graphics/gpu/DrawingBuffer.cpp: (WebCore::DrawingBuffer::clear): (WebCore::DrawingBuffer::createSecondaryBuffers): (WebCore::DrawingBuffer::resizeDepthStencil): (WebCore::DrawingBuffer::reset):
  • platform/graphics/gpu/DrawingBuffer.h: Unify m_multisampleDepthStencilBuffer with m_depthStencilBuffer. Implement separate depth and stencil buffers for when OES_packed_depth_stencil is not available. Refactor creation of multisampled and non-multisampled depth and stencil buffers into resizeDepthStencil().
  • platform/graphics/gpu/SharedGraphicsContext3D.cpp: (WebCore::SharedGraphicsContext3D::create): Turn on stencil, turn off depth, turn off antialiasing (for now). (WebCore::SharedGraphicsContext3D::enableStencil):
  • platform/graphics/gpu/SharedGraphicsContext3D.h: Implement stencil enable/disable.
  • platform/graphics/gpu/mac/DrawingBufferMac.mm: (WebCore::DrawingBuffer::DrawingBuffer): Remove m_multisampleDepthStencilBuffer. Set the size to (-1, -1) on creation, so reset() doesn't early-out. Initialize m_depthBuffer and m_stencilBuffer.
  • platform/graphics/skia/GraphicsContextSkia.cpp: (WebCore::GraphicsContext::canvasClip): (WebCore::GraphicsContext::clipOut): (WebCore::GraphicsContext::clipPath): (WebCore::GraphicsContext::fillPath): Put in GPU hooks for path clipping, and path drawing.
  • platform/graphics/skia/PlatformContextSkia.cpp: (WebCore::PlatformContextSkia::canAccelerate): Don't check for clipping paths in canAccelerate() (since we can now accelerate them). (WebCore::PlatformContextSkia::uploadSoftwareToHardware): Don't do clipping when uploading software draws to hardware.
  • thirdparty/glu/README.webkit:
  • thirdparty/glu/gluos.h: #undef MIN and MAX, to fix warnings-as-errors in Chrome/Mac build.
  • thirdparty/glu/libtess/geom.c:
  • thirdparty/glu/libtess/priorityq.c:
  • thirdparty/glu/libtess/render.c: Use do{}while(0) instead of if(1)else construct in macro.
  • thirdparty/glu/libtess/sweep.c: (IsWindingInside): (DoneEdgeDict): Fix some warnings treated as errors for the Linux Release build.
14:04 Changeset [76158] by dpranke@chromium.org

2011-01-19 Dirk Pranke <dpranke@chromium.org>

Unreviewed, build fix.

Fix test failure caused by committing attachment 79368 instead
of attachment 79461 on bug 52604.

  • Scripts/webkitpy/common/system/filesystem_mock.py:
13:56 Changeset [76157] by andersca@apple.com

2011-01-19 Anders Carlsson <andersca@apple.com>

Reviewed by Sam Weinig.

Suspend/resume painting as the WKView visibility changes
https://bugs.webkit.org/show_bug.cgi?id=52738

  • UIProcess/DrawingAreaProxy.h: (WebKit::DrawingAreaProxy::visibilityDidChange): Add new member function. It should really be pure virtual once setPageIsVisible is removed.
  • UIProcess/DrawingAreaProxyImpl.cpp: (WebKit::DrawingAreaProxyImpl::visibilityDidChange): Send SuspendPainting/ResumePainting messages based on whether the view is visible or not.

(WebKit::DrawingAreaProxyImpl::setPageIsVisible):
Make this a stub; it should really be removed.

  • UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::viewStateDidChange): Call visibilityDidChange.
  • UIProcess/WebPageProxy.h: (WebKit::WebPageProxy::isViewVisible): Add new getter.
  • WebProcess/WebPage/DrawingArea.messages.in: Add SuspendPainting and ResumePainting messages.
  • WebProcess/WebPage/DrawingAreaImpl.cpp: (WebKit::DrawingAreaImpl::DrawingAreaImpl): Initialize m_isPaintingSuspended.

(WebKit::DrawingAreaImpl::suspendPainting):
Set m_isPaintingSuspended to true and stop the display timer.

(WebKit::DrawingAreaImpl::resumePainting):
Set m_isPaintingSuspended to false.

(WebKit::DrawingAreaImpl::scheduleDisplay):
(WebKit::DrawingAreaImpl::display):
Bail if m_isPaintingSuspended is true.

13:48 Changeset [76156] by dimich@chromium.org

2011-01-19 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r76144.
http://trac.webkit.org/changeset/76144
https://bugs.webkit.org/show_bug.cgi?id=52737

Broke tests on multiple bots, mostly Chromium Canaries
(Requested by dimich on #webkit).

  • editing/selection/caret-painting-in-overflowing-autowrap-content.html: Removed.
  • editing/selection/resources/iframe-positioning-caret-at-end.html: Removed.
  • platform/mac/editing/selection/caret-painting-in-overflowing-autowrap-content-expected.checksum: Removed.
  • platform/mac/editing/selection/caret-painting-in-overflowing-autowrap-content-expected.png: Removed.
  • platform/mac/editing/selection/caret-painting-in-overflowing-autowrap-content-expected.txt: Removed.

2011-01-19 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r76144.
http://trac.webkit.org/changeset/76144
https://bugs.webkit.org/show_bug.cgi?id=52737

Broke tests on multiple bots, mostly Chromium Canaries
(Requested by dimich on #webkit).

  • rendering/RenderText.cpp: (WebCore::RenderText::localCaretRect):
13:30 Changeset [76155] by dpranke@chromium.org

2011-01-19 Dirk Pranke <dpranke@chromium.org>

Reviewed by Mihai Parparita.

new-run-webkit-tests: remove use of os.walk, use mock filesystem for better
unit testing. os.walk() is too much of a hassle to implement on
top of the in-memory mock filesystem and adding the necessary
interface to files_under() gives clients a cleaner API anyway
(for this particular usage model).

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

  • Scripts/webkitpy/common/system/filesystem.py:
  • Scripts/webkitpy/common/system/filesystem_mock.py:
  • Scripts/webkitpy/layout_tests/port/test_files.py:
  • Scripts/webkitpy/layout_tests/port/test_files_unittest.py:
13:29 Changeset [76154] by simon.fraser@apple.com

2011-01-19 Simon Fraser <simon.fraser@apple.com>

Reviewed by Adam Roben.

[CSS Gradients] Crash due to out-of-memory with repeating-linear-gradient and latter stop positioned before former
https://bugs.webkit.org/show_bug.cgi?id=52732

When repeating gradient stops, make sure that the first and last stops are not at the same
place, otherwise we'll add stops indefinitely and run out of memory.

Test: fast/gradients/zero-range-repeating-gradient-hang.html

  • css/CSSGradientValue.cpp: (WebCore::CSSGradientValue::addStops):
13:25 Changeset [76153] by robert@webkit.org

2011-01-19 Robert Hogan <robert@webkit.org>

Reviewed by Simon Hausmann.

[Qt] Unskip passing http tests and annotate Skipped list
https://bugs.webkit.org/show_bug.cgi?id=52395

Unskip:
http/tests/security/xss-DENIED-xsl-document.xml
http/tests/loading/simple-subframe.html

  • platform/qt/Skipped:
  • platform/qt/http/tests/loading/simple-subframe-expected.txt:
13:15 Changeset [76152] by mrobinson@webkit.org

2011-01-19 Martin Robinson <mrobinson@igalia.com>

Rebaseline two GTK+ tests results after r76144.

  • platform/gtk/fast/forms/input-text-scroll-left-on-blur-expected.txt:
  • platform/gtk/fast/forms/plaintext-mode-2-expected.txt:
13:10 Changeset [76151] by dglazkov@chromium.org

2011-01-19 Dimitri Glazkov <dglazkov@chromium.org>

Added fast/forms/slider-mouse-events.html to expectations to make sure
the new results are good on all bots.

  • platform/chromium/test_expectations.txt: Tweaked expectations.
12:28 Changeset [76150] by dpranke@chromium.org

2011-01-19 Dirk Pranke <dpranke@chromium.org>

Reviewed by Tony Chang.

Change more modules in the layout-tests code to use the
filesystem wrapper for cleaner unit testing.

This patch also adds the glob() wrapper to the filesystem
abstraction.

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

  • Scripts/webkitpy/layout_tests/port/test_files.py:
  • Scripts/webkitpy/layout_tests/port/test_files_unittest.py:
  • Scripts/webkitpy/layout_tests/test_types/test_type_base.py:
  • Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  • Scripts/webkitpy/common/system/filesystem.py:
  • Scripts/webkitpy/common/system/filesystem_mock.py:
12:19 Changeset [76149] by andreas.kling@nokia.com

2011-01-19 Andreas Kling <kling@webkit.org>

Reviewed by Simon Hausmann.

[Qt][WK2] Implement formatLocalizedString() for Qt.

  • WebProcess/WebCoreSupport/WebPlatformStrategies.cpp: (WebKit::formatLocalizedString):
12:18 Changeset [76148] by oliver@apple.com

2011-01-19 Oliver Hunt <oliver@apple.com>

Reviewed by Gavin Barraclough.

[jsfunfuzz] Defining a function called proto inside an eval triggers an assertion
https://bugs.webkit.org/show_bug.cgi?id=52672

Add tests to ensure that we disallow proto as a function name.

  • fast/js/parser-syntax-check-expected.txt:
  • fast/js/script-tests/parser-syntax-check.js:

2011-01-19 Oliver Hunt <oliver@apple.com>

Reviewed by Gavin Barraclough.

[jsfunfuzz] Defining a function called proto inside an eval triggers an assertion
https://bugs.webkit.org/show_bug.cgi?id=52672

Rather than coming up with a somewhat convoluted mechanism to ensure that
developers can override the global objects prototype with a function named
proto and expect it to work, we just disallow it at the syntax level.

  • parser/JSParser.cpp: (JSC::JSParser::parseFunctionInfo):
12:17 Changeset [76147] by dglazkov@chromium.org

2011-01-14 Dimitri Glazkov <dglazkov@chromium.org>

Reviewed by Darin Adler.

Remove event forwarding logic from input[type=range], simplify event flow and thumb positioning logic.
https://bugs.webkit.org/show_bug.cgi?id=52464

This change has two parts:

1) Utilize shadow DOM event retargeting to get rid of forwarding events

via render tree;

2) Move thumb positioning logic from RenderSlider to SliderThumbElement.

These two are highly co-dependent. It looked ugly when I tried to
separate them.

No change in behavior, covered by existing tests.

  • html/HTMLInputElement.cpp: (WebCore::HTMLInputElement::defaultEventHandler): Added invocation of

InputType::handleMouseDownEvent.

  • html/InputType.cpp: (WebCore::InputType::handleMouseDownEvent): Added empty decl.
  • html/InputType.h: Added def.
  • html/RangeInputType.cpp: (WebCore::RangeInputType::handleMouseDownEvent): Added to handle the case

when the user clicks on the track of the slider. Also removed the
forwardEvent method.

  • html/RangeInputType.h: Added/removed defs.
  • html/shadow/SliderThumbElement.cpp: (WebCore::SliderThumbElement::dragFrom): Added a helper method to start

dragging from any position.

(WebCore::SliderThumbElement::dragTo): Added a helper method to drag to

specified position.

(WebCore::SliderThumbElement::setPosition): Collapsed most of the positioning

logic in RenderSlider into this method, which is now a simple calculation
and adjusting of thumb position based on supplied coordinates.

(WebCore::SliderThumbElement::startDragging): Added.
(WebCore::SliderThumbElement::stopDragging): Added.
(WebCore::SliderThumbElement::defaultEventHandler): Removed most of the

old position-sniffing logic and replaced with simple calls to start,
stop, and drag the thumb.

  • html/shadow/SliderThumbElement.h: Added defs.
  • rendering/RenderSlider.cpp: Removed a bunch of code that is no longer

necessary.

  • rendering/RenderSlider.h: Removed defs, removed now-unnecessary friendliness.
12:10 Changeset [76146] by commit-queue@webkit.org

2011-01-19 Shane Stephens <shanestephens@google.com>

Reviewed by Chris Marrin.

Make AffineTransform and TransformationMatrix do matrix multiplication in the correct order (Column Major)
https://bugs.webkit.org/show_bug.cgi?id=48031

Fixed reversal, renamed matrix methods to be clearer, found all examples of operator* and
operator*= usage and switched operand order.

No new tests as this refactor doesn't add functionality.

  • html/HTMLCanvasElement.cpp: (WebCore::HTMLCanvasElement::baseTransform):
  • html/canvas/CanvasRenderingContext2D.cpp: (WebCore::CanvasRenderingContext2D::transform): (WebCore::CanvasRenderingContext2D::setTransform):
  • platform/graphics/cg/PatternCG.cpp: (WebCore::Pattern::createPlatformPattern):
  • platform/graphics/chromium/GLES2Canvas.cpp: (WebCore::GLES2Canvas::fillRect): (WebCore::GLES2Canvas::concatCTM): (WebCore::GLES2Canvas::drawQuad):
  • platform/graphics/chromium/TransparencyWin.cpp: (WebCore::TransparencyWin::setupLayerForOpaqueCompositeLayer): (WebCore::TransparencyWin::setupTransformForKeepTransform):
  • platform/graphics/transforms/AffineTransform.cpp: (WebCore::AffineTransform::multiply): (WebCore::AffineTransform::rotate):
  • platform/graphics/transforms/AffineTransform.h: (WebCore::AffineTransform::operator*=): (WebCore::AffineTransform::operator*):
  • platform/graphics/wince/GraphicsContextWinCE.cpp: (WebCore::GraphicsContextPlatformPrivate::concatCTM):
  • platform/graphics/wince/SharedBitmap.cpp: (WebCore::SharedBitmap::drawPattern):
  • rendering/svg/RenderSVGResourceContainer.cpp: (WebCore::RenderSVGResourceContainer::transformOnNonScalingStroke):
  • rendering/svg/RenderSVGResourceGradient.cpp: (WebCore::clipToTextMask): (WebCore::RenderSVGResourceGradient::applyResource):
  • rendering/svg/RenderSVGResourcePattern.cpp: (WebCore::RenderSVGResourcePattern::applyResource):
  • rendering/svg/RenderSVGRoot.cpp: (WebCore::RenderSVGRoot::localToBorderBoxTransform):
  • rendering/svg/SVGImageBufferTools.cpp: (WebCore::SVGImageBufferTools::calculateTransformationToOutermostSVGCoordinateSystem): (WebCore::SVGImageBufferTools::renderSubtreeToImageBuffer):
  • rendering/svg/SVGTextLayoutEngine.cpp: (WebCore::SVGTextLayoutEngine::finalizeTransformMatrices):
  • svg/SVGLocatable.cpp: (WebCore::SVGLocatable::computeCTM): (WebCore::SVGLocatable::getTransformToElement):
  • svg/SVGMatrix.h: (WebCore::SVGMatrix::multiply):
  • svg/SVGSVGElement.cpp: (WebCore::SVGSVGElement::localCoordinateSpaceTransform): (WebCore::SVGSVGElement::viewBoxToViewTransform):
  • svg/SVGStyledTransformableElement.cpp: (WebCore::SVGStyledTransformableElement::animatedLocalTransform):
  • svg/SVGTextElement.cpp: (WebCore::SVGTextElement::animatedLocalTransform):
  • svg/SVGTransformList.cpp: (WebCore::SVGTransformList::concatenate):
11:31 Changeset [76145] by chang.shu@nokia.com

2011-01-19 Chang Shu <chang.shu@nokia.com>

Reviewed by Darin Adler.

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

  1. Fixed test cases in the above bug;
  2. Partially fixed test cases in other contentEditable bugs;
  3. Updated expected result for fast/dom/element-attribute-js-null.html. However, the test itself should be fixed later in bug 52057.
  • editing/editability/attr-invalid-string-expected.txt:
  • editing/editability/attr-invalid-string.html:
  • editing/editability/attr-missing-ancestor-false-expected.txt:
  • editing/editability/attr-missing-ancestor-false.html:
  • editing/editability/attr-missing-ancestor-true-expected.txt:
  • editing/editability/attr-missing-ancestor-true.html:
  • editing/editability/attr-missing-parent-ancestor-missing-expected.txt:
  • editing/editability/attr-missing-parent-ancestor-missing.html:
  • editing/editability/attr-missing-parent-false-expected.txt:
  • editing/editability/attr-missing-parent-false.html:
  • editing/editability/attr-missing-parent-true-expected.txt:
  • editing/editability/attr-missing-parent-true.html:
  • editing/editability/set-false-expected.txt:
  • editing/editability/set-inherit-parent-false-expected.txt:
  • editing/editability/set-inherit-parent-true-expected.txt:
  • editing/editability/set-invalid-value-expected.txt:
  • editing/editability/set-true-expected.txt:
  • editing/editability/set-value-caseinsensitive-expected.txt:
  • fast/dom/element-attribute-js-null-expected.txt:

2011-01-19 Chang Shu <chang.shu@nokia.com>

Reviewed by Darin Adler.

The return value of contentEditable() function should depend on the DOM attribute
instead of render style userModify. The code change fixed test cases in the bug
and partially fixed test cases in other contentEditable bugs;

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

  • html/HTMLElement.cpp: (WebCore::HTMLElement::contentEditable):
11:27 Changeset [76144] by leviw@chromium.org

2011-01-19 Levi Weintraub <leviw@chromium.org>

Reviewed by Darin Adler.

Changing RenderText::localCaretRect to clip to its containing block's logicalLeft and
logicalRightLayoutOverflow instead of simply using logicalLeft and logicalRight, as this
resulted in the caret being placed incorrectly in overflowing editable IFrame content.

Long lines in non-white-space-pre editable documents show cursor in wrong place
https://bugs.webkit.org/show_bug.cgi?id=48132

  • editing/selection/caret-painting-in-overflowing-autowrap-content.html: Added.
  • editing/selection/resources/iframe-positioning-caret-at-end.html: Added.
  • platform/mac/editing/selection/caret-painting-in-overflowing-autowrap-content-expected.checksum: Added.
  • platform/mac/editing/selection/caret-painting-in-overflowing-autowrap-content-expected.png: Added.
  • platform/mac/editing/selection/caret-painting-in-overflowing-autowrap-content-expected.txt: Added.

2011-01-19 Levi Weintraub <leviw@chromium.org>

Reviewed by Darin Adler.

Changing RenderText::localCaretRect to clip to its containing block's logicalLeft and
logicalRightLayoutOverflow instead of simply using logicalLeft and logicalRight, as this
resulted in the caret being placed incorrectly in overflowing editable IFrame content.

Long lines in non-white-space-pre editable documents show cursor in wrong place
https://bugs.webkit.org/show_bug.cgi?id=48132

Test: editing/selection/caret-painting-in-overflowing-autowrap-content.html

  • rendering/RenderText.cpp: (WebCore::RenderText::localCaretRect):
11:26 Changeset [76143] by andersca@apple.com

2011-01-19 Chris Marrin <cmarrin@apple.com>

Reviewed by Simon Fraser.

WK2 - Multiple crashes in PlatformCALayer::replaceSublayer
https://bugs.webkit.org/show_bug.cgi?id=52695

Added a hostingLayer as the parent of the existing drawingLayer.
The hostingLayer is now the root which is passed to the
remote context. It never changes except to track the size
of the window. The backingLayer is now a child of the
hostingLayer, which allow it to switch between tiled and
non-tiled.

I also now give back accurate settings for debug borders and
repaint counters.

  • WebProcess/WebPage/LayerBackedDrawingArea.cpp: (WebKit::LayerBackedDrawingArea::LayerBackedDrawingArea): (WebKit::LayerBackedDrawingArea::setSize): (WebKit::LayerBackedDrawingArea::showDebugBorders): (WebKit::LayerBackedDrawingArea::showRepaintCounter):
  • WebProcess/WebPage/LayerBackedDrawingArea.h:
  • WebProcess/WebPage/mac/LayerBackedDrawingAreaMac.mm: (WebKit::LayerBackedDrawingArea::platformInit): (WebKit::LayerBackedDrawingArea::attachCompositingContext): (WebKit::LayerBackedDrawingArea::syncCompositingLayers):
11:17 Changeset [76142] by cmarrin@apple.com

2011-01-19 Chris Marrin <cmarrin@apple.com>

Reviewed by Simon Fraser.

WK2 - Multiple crashes in PlatformCALayer::replaceSublayer
https://bugs.webkit.org/show_bug.cgi?id=52695

Added a hostingLayer as the parent of the existing drawingLayer.
The hostingLayer is now the root which is passed to the
remote context. It never changes except to track the size
of the window. The backingLayer is now a child of the
hostingLayer, which allow it to switch between tiled and
non-tiled.

I also now give back accurate settings for debug borders and
repaint counters.

  • WebProcess/WebPage/LayerBackedDrawingArea.cpp: (WebKit::LayerBackedDrawingArea::LayerBackedDrawingArea): (WebKit::LayerBackedDrawingArea::setSize): (WebKit::LayerBackedDrawingArea::showDebugBorders): (WebKit::LayerBackedDrawingArea::showRepaintCounter):
  • WebProcess/WebPage/LayerBackedDrawingArea.h:
  • WebProcess/WebPage/mac/LayerBackedDrawingAreaMac.mm: (WebKit::LayerBackedDrawingArea::platformInit): (WebKit::LayerBackedDrawingArea::attachCompositingContext): (WebKit::LayerBackedDrawingArea::syncCompositingLayers):

2011-01-19 Chris Marrin <cmarrin@apple.com>

Reviewed by Simon Fraser.

WK2 - Multiple crashes in PlatformCALayer::replaceSublayer
https://bugs.webkit.org/show_bug.cgi?id=52695

Added ASSERTs to the places we assume a non-null superlayer.

  • platform/graphics/ca/GraphicsLayerCA.cpp: (WebCore::GraphicsLayerCA::ensureStructuralLayer): (WebCore::GraphicsLayerCA::swapFromOrToTiledLayer):
10:49 Changeset [76141] by bdakin@apple.com

Fix for <rdar://problem/8882916> Overlay scrollers require
content to layout underneath the scrollbar area

Reviewed by Maciej Stachowiak.

The render tree should not include scrollbar size for
overlay scrollers. This patch will allow scrollers on
the WebView to behave like overflow:overlay.

Treat overlay scrollers the same way as the !includeScrollbars
case.

  • platform/ScrollView.cpp:

(WebCore::ScrollView::visibleContentRect):

No corner rect for overlay scrollers.
(WebCore::ScrollView::scrollCornerRect):

usesOverlayScrollbars() currently always returns no.

  • platform/ScrollbarTheme.h:

(WebCore::ScrollbarTheme::usesOverlayScrollbars):

  • platform/mac/ScrollbarThemeMac.h:
  • platform/mac/ScrollbarThemeMac.mm:

(WebCore::ScrollbarThemeMac::usesOverlayScrollbars):

includeVerticalScrollbarSize() and includeHorizontalScrollbarSize()
should return false for overlay scrollers. They already return
false for overflow:overlay.

  • rendering/RenderBox.cpp:

(WebCore::RenderBox::includeVerticalScrollbarSize):
(WebCore::RenderBox::includeHorizontalScrollbarSize):

  • rendering/RenderBox.h:

In the render tree, always treat overlay scrollers like
they have a width and height of 0.

  • rendering/RenderLayer.cpp:

(WebCore::RenderLayer::verticalScrollbarWidth):
(WebCore::RenderLayer::horizontalScrollbarHeight):

  • rendering/RenderListBox.cpp:

(WebCore::RenderListBox::verticalScrollbarWidth):

10:43 Changeset [76140] by leviw@chromium.org

2011-01-19 Levi Weintraub <leviw@chromium.org>

Unreviewed.

Updating my email addresses and irc nick.

  • Scripts/webkitpy/common/config/committers.py:
10:36 Changeset [76139] by andersca@apple.com

2011-01-19 Anders Carlsson <andersca@apple.com>

Reviewed by Darin Adler.

Throttle sending of SetSize messages
https://bugs.webkit.org/show_bug.cgi?id=52727

  • UIProcess/DrawingAreaProxyImpl.cpp: (WebKit::DrawingAreaProxyImpl::DrawingAreaProxyImpl): Initialize m_isWaitingForDidSetSize to false.

(WebKit::DrawingAreaProxyImpl::didSetSize):
Null out the backing store.

(WebKit::DrawingAreaProxyImpl::sendSetSize):
If m_isWaitingForDidSetSize is true, do nothing. Otherwise, set m_isWaitingForDidSetSize
to true and send a SetSize message.

  • UIProcess/DrawingAreaProxyImpl.h: Add m_isWaitingForDidSetSize.
10:34 Changeset [76138] by bweinstein@apple.com

Update Windows expected results after r76115.

  • platform/win/fast/dom/Window/window-property-descriptors-expected.txt:
10:29 Changeset [76137] by evan@chromium.org

2011-01-18 Evan Martin <evan@chromium.org>

Reviewed by Tony Chang.

[chromium] simplify complex text code, fixing a handful of layout tests
https://bugs.webkit.org/show_bug.cgi?id=52661

  • platform/chromium/test_expectations.txt: Mark 11 tests as expected to pass.

2011-01-18 Evan Martin <evan@chromium.org>

Reviewed by Tony Chang.

[chromium] simplify complex text code, fixing a handful of layout tests
https://bugs.webkit.org/show_bug.cgi?id=52661

Change ComplexTextControllerLinux to lay out RTL text to the left from
the starting point. (Previously it always went to the right.) This allows
us to map pixel offsets more directly into offsets within the text runs,
simplifying a few of the text-fiddling functions (they no longer need to
track the current position, as ComplexTextController now does it).

  • platform/graphics/chromium/ComplexTextControllerLinux.cpp: (WebCore::ComplexTextController::ComplexTextController): (WebCore::ComplexTextController::reset): (WebCore::ComplexTextController::setGlyphXPositions):
  • platform/graphics/chromium/ComplexTextControllerLinux.h: (WebCore::ComplexTextController::offsetX):
  • platform/graphics/chromium/FontLinux.cpp: (WebCore::Font::drawComplexText): (WebCore::Font::floatWidthForComplexText): (WebCore::glyphIndexForXPositionInScriptRun): (WebCore::Font::offsetForPositionForComplexText): (WebCore::Font::selectionRectForComplexText):
10:27 Changeset [76136] by pfeldman@chromium.org

2011-01-19 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: move methods from InjectedScript domain into DOM,
Runtime and Debugger domains. Introduce InspectorRuntimeAgent.
https://bugs.webkit.org/show_bug.cgi?id=52717

  • CMakeLists.txt:
  • GNUmakefile.am:
  • WebCore.gypi:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • inspector/CodeGeneratorInspector.pm:
  • inspector/InjectedScript.cpp: (WebCore::InjectedScript::evaluateOnCallFrame): (WebCore::InjectedScript::getCompletions): (WebCore::InjectedScript::getCompletionsOnCallFrame):
  • inspector/InjectedScript.h:
  • inspector/InjectedScriptHost.cpp: (WebCore::InjectedScriptHost::injectedScriptForMainWorld):
  • inspector/InjectedScriptHost.h:
  • inspector/InjectedScriptSource.js: (.): ():
  • inspector/Inspector.idl:
  • inspector/InspectorController.cpp: (WebCore::InspectorController::connectFrontend): (WebCore::InspectorController::releaseFrontendLifetimeAgents):
  • inspector/InspectorController.h:
  • inspector/InspectorDOMAgent.cpp: (WebCore::InspectorDOMAgent::InspectorDOMAgent): (WebCore::InspectorDOMAgent::resolveNode): (WebCore::InspectorDOMAgent::getNodeProperties): (WebCore::InspectorDOMAgent::getNodePrototypes): (WebCore::InspectorDOMAgent::injectedScriptForNodeId):
  • inspector/InspectorDOMAgent.h: (WebCore::EventListenerInfo::EventListenerInfo): (WebCore::InspectorDOMAgent::DOMListener::~DOMListener): (WebCore::InspectorDOMAgent::create): (WebCore::InspectorDOMAgent::cast): (WebCore::InspectorDOMAgent::documents):
  • inspector/InspectorDebuggerAgent.cpp: (WebCore::InspectorDebuggerAgent::evaluateOnCallFrame): (WebCore::InspectorDebuggerAgent::getCompletionsOnCallFrame): (WebCore::InspectorDebuggerAgent::injectedScriptForCallFrameId):
  • inspector/InspectorDebuggerAgent.h:
  • inspector/InspectorRuntimeAgent.cpp: Added. (WebCore::InspectorRuntimeAgent::InspectorRuntimeAgent): (WebCore::InspectorRuntimeAgent::~InspectorRuntimeAgent): (WebCore::InspectorRuntimeAgent::evaluate): (WebCore::InspectorRuntimeAgent::getCompletions): (WebCore::InspectorRuntimeAgent::getProperties): (WebCore::InspectorRuntimeAgent::setPropertyValue): (WebCore::InspectorRuntimeAgent::pushNodeToFrontend): (WebCore::InspectorRuntimeAgent::injectedScriptForObjectId):
  • inspector/InspectorRuntimeAgent.h: Copied from Source/WebCore/inspector/InjectedScript.h. (WebCore::InspectorRuntimeAgent::create):
  • inspector/front-end/ConsoleView.js: (WebInspector.ConsoleView.prototype.completions):
  • inspector/front-end/ScriptsPanel.js: (WebInspector.ScriptsPanel.prototype.doEvalInCallFrame):
10:18 Changeset [76135] by andersca@apple.com

2011-01-19 Anders Carlsson <andersca@apple.com>

Reviewed by Darin Adler.

Pass WebPageCreationParameters to DrawingArea::create
https://bugs.webkit.org/show_bug.cgi?id=52726

  • WebProcess/WebPage/DrawingArea.cpp: (WebKit::DrawingArea::create):
  • WebProcess/WebPage/DrawingArea.h:
  • WebProcess/WebPage/DrawingAreaImpl.cpp: (WebKit::DrawingAreaImpl::create): (WebKit::DrawingAreaImpl::DrawingAreaImpl):
  • WebProcess/WebPage/DrawingAreaImpl.h:
  • WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::WebPage): (WebKit::WebPage::changeAcceleratedCompositingMode):
10:14 Changeset [76134] by tony@chromium.org

2011-01-19 Tony Chang <tony@chromium.org>

Reviewed by Mihai Parparita.

[chromium] [linux] if check-sys-deps fails, output the failure reason
https://bugs.webkit.org/show_bug.cgi?id=52671

  • Scripts/webkitpy/common/system/executive_mock.py: Add support for

error handler functions.

  • Scripts/webkitpy/layout_tests/port/chromium.py:

output the error text from --check-sys-deps

  • Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
09:58 Changeset [76133] by msaboff@apple.com

2011-01-19 Michael Saboff <msaboff@apple.com>

Reviewed by Darin Adler.

<rdar://problem/8882994> Regression: Simple nested backtrack hangs
https://bugs.webkit.org/show_bug.cgi?id=52675

The changeset (r76076) for https://bugs.webkit.org/show_bug.cgi?id=52540
broke simple backtracking in some cases. Reworked that change to
link both jumps and labels.

  • yarr/YarrJIT.cpp: (JSC::Yarr::YarrGenerator::BacktrackDestination::hasBacktrackToLabel): (JSC::Yarr::YarrGenerator::TermGenerationState::propagateBacktrackingFrom): (JSC::Yarr::YarrGenerator::generateParenthesesSingle):

2011-01-19 Michael Saboff <msaboff@apple.com>

Reviewed by Darin Adler.

<rdar://problem/8882994> Regression: Simple nested backtrack hangs
https://bugs.webkit.org/show_bug.cgi?id=52675

New tests to support change.

  • fast/regex/parentheses-expected.txt:
  • fast/regex/script-tests/parentheses.js:
09:57 Changeset [76132] by podivilov@chromium.org

2011-01-18 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: add UglifyJS parser and formatter files
https://bugs.webkit.org/show_bug.cgi?id=51702

  • WebCore.gypi:
  • WebCore.vcproj/WebCore.vcproj:
  • inspector/front-end/ScriptFormatter.js: (WebInspector.ScriptFormatter.positionToLocation): (WebInspector.ScriptFormatter.prototype.format.messageHandler): (WebInspector.ScriptFormatter.prototype.format): (WebInspector.ScriptFormatter.prototype._buildMapping): (WebInspector.ScriptFormatter.prototype._convertPosition):
  • inspector/front-end/SourceFrame.js: (WebInspector.SourceFrame.prototype.formatSource.didFormat): (WebInspector.SourceFrame.prototype.formatSource):
  • inspector/front-end/WebKit.qrc:
  • inspector/front-end/parse-js.js: Added. UglifyJS parser.
  • inspector/front-end/process.js: Added. UglifyJS formatter.
  • inspector/front-end/scriptFormatterWorker.js: Added. Worker script that wraps UglifyJS code. (onmessage): (beautify): (loadModule): (require):
  • inspector/front-end/utilities.js: ():
09:48 Changeset [76131] by ossy@webkit.org

Unreviewed.

Add Qt specific expected result for a new test introduced in r76074.
Compared to Mac png files and Mac expected files.

  • platform/qt/fast/block/float/float-overflow-hidden-containing-block-width-expected.checksum: Added.
  • platform/qt/fast/block/float/float-overflow-hidden-containing-block-width-expected.png: Added.
  • platform/qt/fast/block/float/float-overflow-hidden-containing-block-width-expected.txt: Added.
09:47 Changeset [76130] by commit-queue@webkit.org

2011-01-19 Joone Hur <joone.hur@collabora.co.uk>

Reviewed by Andreas Kling.

[GTK] No need to invalidate empty areas in ChromeClient::invalidateContentsAndWindow
https://bugs.webkit.org/show_bug.cgi?id=52702

Don't call gdk_window_invalidate_rect if an updated rectangle is empty.

  • WebCoreSupport/ChromeClientGtk.cpp: (WebKit::ChromeClient::invalidateContentsAndWindow):
09:01 Changeset [76129] by podivilov@chromium.org

2011-01-19 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: [JSC] scripts have incorrect starting line (always 1).
https://bugs.webkit.org/show_bug.cgi?id=52721

  • inspector/debugger-scripts-expected.txt: Added.
  • inspector/debugger-scripts.html: Added.

2011-01-19 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: [JSC] scripts have incorrect starting line (always 1).
https://bugs.webkit.org/show_bug.cgi?id=52721

  • debugger/Debugger.cpp: (JSC::Debugger::recompileAllJSFunctions):
  • debugger/Debugger.h:
  • parser/Parser.h: (JSC::Parser::parse):
  • parser/SourceCode.h: (JSC::SourceCode::SourceCode):
  • parser/SourceProvider.h: (JSC::SourceProvider::startPosition):

2011-01-19 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: [JSC] scripts have incorrect starting line (always 1).
https://bugs.webkit.org/show_bug.cgi?id=52721

Test: inspector/debugger-scripts.html

  • bindings/js/ScriptDebugServer.cpp: (WebCore::ScriptDebugServer::dispatchDidParseSource): (WebCore::ScriptDebugServer::dispatchFailedToParseSource): (WebCore::ScriptDebugServer::sourceParsed):
  • bindings/js/ScriptDebugServer.h:
  • bindings/js/ScriptSourceCode.h: (WebCore::ScriptSourceCode::ScriptSourceCode):
  • bindings/js/StringSourceProvider.h: (WebCore::StringSourceProvider::create): (WebCore::StringSourceProvider::startPosition): (WebCore::StringSourceProvider::StringSourceProvider):

2011-01-19 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: [JSC] scripts have incorrect starting line (always 1).
https://bugs.webkit.org/show_bug.cgi?id=52721

  • WebView/WebScriptDebugger.h:
  • WebView/WebScriptDebugger.mm: (toNSString): (WebScriptDebugger::sourceParsed):
08:41 Changeset [76128] by satish@chromium.org

2011-01-19 Satish Sampath <satish@chromium.org>

Reviewed by Jeremy Orlow.

Send origin/url as part of speech input requests to the embedder.
https://bugs.webkit.org/show_bug.cgi?id=52718

  • page/SpeechInput.cpp: (WebCore::SpeechInput::startRecognition): Pass up additional origin parameter.
  • page/SpeechInput.h:
  • page/SpeechInputClient.h:
  • platform/mock/SpeechInputClientMock.cpp: (WebCore::SpeechInputClientMock::startRecognition): Updated prototype.
  • platform/mock/SpeechInputClientMock.h:
  • rendering/TextControlInnerElements.cpp: (WebCore::InputFieldSpeechButtonElement::defaultEventHandler): Pass the frame origin to speech input request.

2011-01-19 Satish Sampath <satish@chromium.org>

Reviewed by Jeremy Orlow.

Send origin/url as part of speech input requests to the embedder.
https://bugs.webkit.org/show_bug.cgi?id=52718

  • public/WebSpeechInputController.h: (WebKit::WebSpeechInputController::startRecognition): Updated prototype.
  • src/SpeechInputClientImpl.cpp: (WebKit::SpeechInputClientImpl::startRecognition): Pass up additional origin parameter.
  • src/SpeechInputClientImpl.h:
  • src/WebSpeechInputControllerMockImpl.cpp: Updated code to pass additional parameter. (WebKit::WebSpeechInputControllerMockImpl::startRecognition):
  • src/WebSpeechInputControllerMockImpl.h: Added new variant of startRecognition method.
08:27 Changeset [76127] by jorlow@chromium.org

2011-01-19 Jeremy Orlow <jorlow@chromium.org>

This test changed slightly, so rebaseline it. The offsets seem off
but they have been for as long as the files have been upstream so it's
likely a known issue.

  • platform/chromium-win/fast/events/offsetX-offsetY-expected.txt:
  • platform/chromium/test_expectations.txt:
08:24 Changeset [76126] by hans@chromium.org

2011-01-19 Hans Wennborg <hans@chromium.org>

Reviewed by Jeremy Orlow.

IndexedDB: Support auto-increment keys
https://bugs.webkit.org/show_bug.cgi?id=52576

Add layout test for auto increment keys.
Update previous test not to consider auto increment an error.

  • storage/indexeddb/create-object-store-options-expected.txt:
  • storage/indexeddb/create-object-store-options.html:
  • storage/indexeddb/objectstore-autoincrement-expected.txt: Added.
  • storage/indexeddb/objectstore-autoincrement.html: Added.

2011-01-19 Hans Wennborg <hans@chromium.org>

Reviewed by Jeremy Orlow.

IndexedDB: Support auto-increment keys
https://bugs.webkit.org/show_bug.cgi?id=52576

Add support for auto-increment keys.

Test: storage/indexeddb/objectstore-autoincrement.html

  • storage/IDBDatabase.cpp: (WebCore::IDBDatabase::createObjectStore):
  • storage/IDBObjectStoreBackendImpl.cpp: (WebCore::genAutoIncrementKey): (WebCore::IDBObjectStoreBackendImpl::putInternal):
06:42 Changeset [76125] by ossy@webkit.org

Unreviewed.

Update Qt specific expected files after r76115.

  • platform/qt/fast/dom/Window/window-properties-expected.txt:
  • platform/qt/fast/dom/Window/window-property-descriptors-expected.txt:
06:39 Changeset [76124] by joepeck@webkit.org

2011-01-19 Joseph Pecoraro <joepeck@webkit.org>

Reviewed by Simon Fraser.

Update Test Now that Bug is Fixed
https://bugs.webkit.org/show_bug.cgi?id=52677

  • fast/events/offsetX-offsetY-expected.txt: one more PASS line.
  • fast/events/offsetX-offsetY.html: uncomment and update hit-test location.
06:32 Changeset [76123] by jorlow@chromium.org

2011-01-19 Jeremy Orlow <jorlow@chromium.org>

Move pixel test results to the proper place.

  • platform/mac/svg/custom/use-inherit-style-expected.checksum: Renamed from LayoutTests/svg/custom/use-inherit-style-expected.checksum.
  • platform/mac/svg/custom/use-inherit-style-expected.png: Renamed from LayoutTests/svg/custom/use-inherit-style-expected.png.
06:31 Changeset [76122] by ossy@webkit.org

[Qt] Remove unnecessary "../Source" from paths
after moving source files into Source is finished.

Reviewed by Laszlo Gombos and Tor Arne Vestbø.

Source/JavaScriptCore:

Source/WebCore:

  • WebCore.pri:
  • WebCore.pro:

Source/WebKit/qt:

  • Api/DerivedSources.pro:

Source/WebKit2:

  • DerivedSources.pro:
  • WebKit2.pro:
06:27 Changeset [76121] by commit-queue@webkit.org

2011-01-19 Benjamin Kalman <kalman@chromium.org>

Reviewed by Darin Adler.

Don't return void from void function String::split
https://bugs.webkit.org/show_bug.cgi?id=52684

  • wtf/text/WTFString.cpp: (WTF::String::split):
06:15 Changeset [76120] by commit-queue@webkit.org

2011-01-19 Kimmo Kinnunen <kimmo.t.kinnunen@nokia.com>

Reviewed by Andreas Kling.

Enable usage of Google ld if it exist but is not on by default.

[Qt] Enable the google ld if it exist but is not on by default
https://bugs.webkit.org/show_bug.cgi?id=52625

  • common.pri: flip the test.
06:01 Changeset [76119] by commit-queue@webkit.org

2011-01-19 Aparna Nandyal <aparna.nand@wipro.com>

Reviewed by Andreas Kling.

[Qt] QtTestBrowser crashes when closing if Facebook is opened
https://bugs.webkit.org/show_bug.cgi?id=52554

QtNetworkAccessManager is created in a thread and set as
member variable in QWebPage. When the thread is destroyed
the object is still used. So fix will set the object to
NULL once the thread is destroyed.

  • QtTestBrowser/launcherwindow.cpp: (LauncherWindow::~LauncherWindow):
05:55 Changeset [76118] by pfeldman@chromium.org

2011-01-19 Pavel Feldman <pfeldman@chromium.org>

Not reviewed: fixed flaky inspector test.

  • http/tests/inspector/extensions-resources-redirect.html:
05:27 Changeset [76117] by mnaganov@chromium.org

Revert "2011-01-18 Mikhail Naganov <mnaganov@chromium.org>"

Revert r76114 -- added test fails on Chromium canaries.

This reverts commit 89065aef21411b68af89a8fa7ff41dfe14c54a6a.

05:24 Changeset [76116] by apavlov@chromium.org

2011-01-19 Alexander Pavlov <apavlov@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: Employ TextPrompt for CSS property name/value autocompletion
https://bugs.webkit.org/show_bug.cgi?id=52212

WebInspector.CSSKeywordCompletions contains a hand-written list of accepted CSS property value keywords
for each property. WebInspector.TextPrompt is used to suggest both the name and value keywords while
editing styles, in place of the old custom suggestion code.

WebCore:

  • inspector/front-end/CSSCompletions.js: (WebInspector.CSSCompletions.prototype.startsWith): Fix array-out-of-bounds error.
  • inspector/front-end/CSSKeywordCompletions.js: Added. (WebInspector.CSSKeywordCompletions.forProperty):
  • inspector/front-end/StylesSidebarPane.js: (WebInspector.StylePropertyTreeElement.prototype.updateTitle): (WebInspector.StylePropertyTreeElement.prototype): ():
  • inspector/front-end/TextPrompt.js: (WebInspector.TextPrompt): (WebInspector.TextPrompt.prototype.removeFromElement): (WebInspector.TextPrompt.prototype._onKeyDown): (WebInspector.TextPrompt.prototype.tabKeyPressed): (WebInspector.TextPrompt.prototype.upKeyPressed): (WebInspector.TextPrompt.prototype.downKeyPressed): (WebInspector.TextPrompt.prototype._moveBackInHistory): (WebInspector.TextPrompt.prototype._moveForwardInHistory):
  • inspector/front-end/inspector.css: (.auto-complete-text, .editing .auto-complete-text):
  • inspector/front-end/inspector.html:

LayoutTests:

  • inspector/styles-add-blank-property.html: Follow the altered event handling.
  • inspector/styles-url-linkify.html: Eliminate flakiness.
04:59 BuildingCairoOnWindows edited by d.nusman@re-lion.com
(diff)
04:56 Changeset [76115] by commit-queue@webkit.org

2011-01-19 Dai Mikurube <dmikurube@google.com>

Reviewed by Kent Tamura.

Implement onformchange and onforminput event handlers
https://bugs.webkit.org/show_bug.cgi?id=26141

  • fast/dom/Window/window-properties-expected.txt: Added form events.
  • fast/dom/Window/window-property-descriptors-expected.txt: Added form events.
  • fast/forms/formchange-event-expected.txt: Added.
  • fast/forms/formchange-event.html: Added to test formchange events.
  • fast/forms/forminput-event-expected.txt: Added.
  • fast/forms/forminput-event.html: Added to test forminput events.
  • fast/forms/script-tests/formchange-event.js: Added. (sendKey): (sendText):
  • fast/forms/script-tests/forminput-event.js: Added. (sendKey): (sendText):

2011-01-19 Dai Mikurube <dmikurube@google.com>

Reviewed by Kent Tamura.

Implement onformchange and onforminput event handlers
https://bugs.webkit.org/show_bug.cgi?id=26141

Tests: fast/forms/formchange-event.html

fast/forms/forminput-event.html

  • bindings/scripts/CodeGeneratorGObject.pm: Added event names.
  • dom/Document.h: Added event definitions.
  • dom/Document.idl: Added event definitions.
  • dom/Element.h: Added event definitions.
  • dom/Element.idl: Added event definitions.
  • dom/Event.cpp: (WebCore::Event::fromUserGesture): Added a condition for a formchange event in handling user gestures.
  • dom/EventNames.h: Added event definitions.
  • dom/InputElement.cpp: (WebCore::InputElement::setValueFromRenderer): Replaced a direct dispatchEvent() call into dispatchInputEvents(), a virtual function which broadcasts forminput events for HTML elements.
  • dom/Node.cpp: (WebCore::Node::dispatchInputEvents): Defined basic dispatchInputEvents() described above. (WebCore::Node::dispatchChangeEvents): Defined basic dispatchChangeEvents() described above. (WebCore::Node::defaultEventHandler): Replaced a direct dispatchEvent() call into dispatchInputEvents().
  • dom/Node.h:
  • html/FormAssociatedElement.h: Added isResettable() to check the element is resettable or not.
  • html/HTMLAttributeNames.in: Added event names.
  • html/HTMLElement.cpp: (WebCore::HTMLElement::parseMappedAttribute): Added event handling. (WebCore::HTMLElement::shadowAncestorOwnerForm): Added to get an ancestor <form> element from a shadow element. (WebCore::HTMLElement::dispatchChangeEvents): Defined dispatchChangeEvents() for HTML elements described above. (WebCore::HTMLElement::dispatchInputEvents): Defined dispatchInputEvents() for HTML elements described above.
  • html/HTMLElement.h:
  • html/HTMLFormControlElement.cpp: (WebCore::HTMLFormControlElement::dispatchFormControlChangeEvent): Added calling dispatchFormChange() to broadcast formchange events. (WebCore::HTMLFormControlElement::dispatchFormControlInputEvent): Defined newly to dispatch an input event with broadcasting forminput events.
  • html/HTMLFormControlElement.h: Added isResettable().
  • html/HTMLFormElement.cpp: (WebCore::HTMLFormElement::broadcastFormEvent): Added to broadcast forminput or formchange events. (WebCore::HTMLFormElement::dispatchFormInput): Defined newly to broadcast forminput events. (WebCore::HTMLFormElement::dispatchFormChange): Defined newly to broadcast formchange events.
  • html/HTMLFormElement.h:
  • html/HTMLFormElement.idl: Added dispatchFormInput() and dispatchFormChange() DOM API definitions.
  • html/HTMLInputElement.cpp: (WebCore::HTMLInputElement::stepUpFromRenderer): Replaced a direct dispatchEvent() call into dispatchInputEvents().
  • html/HTMLInputElement.h: Added isResettable().
  • html/HTMLKeygenElement.h: Added isResettable().
  • html/HTMLObjectElement.h: Added isResettable().
  • html/HTMLOutputElement.h: Added isResettable().
  • html/HTMLSelectElement.h: Added isResettable().
  • html/HTMLTextAreaElement.h: Added isResettable().
  • page/DOMWindow.h: Added event definitions.
  • page/DOMWindow.idl: Added event definitions.
  • rendering/TextControlInnerElements.cpp: (WebCore::SearchFieldCancelButtonElement::defaultEventHandler): Replaced a direct dispatchEvent() call into dispatchInputEvents().
04:42 Changeset [76114] by mnaganov@chromium.org

2011-01-18 Mikhail Naganov <mnaganov@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: Add layout test for the CPU profiler.

This test replaces DevToolsSanityTest.TestProfilerTab from
Chromium's interactive_ui_tests.

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

  • inspector/cpu-profiler-profiling-expected.txt: Added.
  • inspector/cpu-profiler-profiling.html: Added.
04:35 Changeset [76113] by mnaganov@chromium.org

Revert accidental r76110..76112

04:24 Changeset [76112] by mnaganov@chromium.org

works in chromium

04:23 Changeset [76111] by mnaganov@chromium.org

works in safari

04:23 Changeset [76110] by mnaganov@chromium.org

added test

03:37 Changeset [76109] by caseq@chromium.org

2011-01-19 Andrey Kosyakov <caseq@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: [Extensions API] delete pending callback from callback map before invoking it
https://bugs.webkit.org/show_bug.cgi?id=52707

  • inspector/front-end/ExtensionAPI.js: (WebInspector.injectedExtensionAPI.ExtensionServerClient.prototype._onCallback):
02:34 Changeset [76108] by pfeldman@chromium.org

2011-01-19 Pavel Feldman <pfeldman@chromium.org>

Not reviewed: updating Chromium devtools sanity tests for downstream use.

  • src/js/Tests.js: (.TestSuite.prototype._checkExecutionLine):
01:32 Changeset [76107] by commit-queue@webkit.org

2011-01-19 Levi Weintraub <leviw@google.com>

Reviewed by Ryosuke Niwa.

Replaced rangeCompliantEquivalent with Position::parentAnchoredEquivalent
and simplified the logic a bit. Unfortunately, Tables and some legacy
editing positions still need to be handled specifically.

remove rangeCompliantEquivalent and replace it with Position methods
https://bugs.webkit.org/show_bug.cgi?id=25057

No new tests as this is a refactor that doesn't change behavior.

  • WebCore.exp.in:
  • dom/Document.cpp: (WebCore::Document::caretRangeFromPoint):
  • dom/Position.cpp: (WebCore::Position::parentAnchoredEquivalent):
  • dom/Position.h:
  • editing/ApplyStyleCommand.cpp: (WebCore::ApplyStyleCommand::applyBlockStyle):
  • editing/CompositeEditCommand.cpp: (WebCore::CompositeEditCommand::insertNodeAt): (WebCore::CompositeEditCommand::moveParagraphs):
  • editing/DeleteSelectionCommand.cpp: (WebCore::DeleteSelectionCommand::initializePositionData): (WebCore::DeleteSelectionCommand::mergeParagraphs):
  • editing/Editor.cpp: (WebCore::Editor::textDirectionForSelection): (WebCore::Editor::advanceToNextMisspelling):
  • editing/InsertLineBreakCommand.cpp: (WebCore::InsertLineBreakCommand::shouldUseBreakElement):
  • editing/InsertParagraphSeparatorCommand.cpp: (WebCore::InsertParagraphSeparatorCommand::doApply):
  • editing/ReplaceSelectionCommand.cpp: (WebCore::handleStyleSpansBeforeInsertion):
  • editing/VisiblePosition.cpp: (WebCore::makeRange): (WebCore::setStart): (WebCore::setEnd):
  • editing/VisibleSelection.cpp: (WebCore::VisibleSelection::firstRange): (WebCore::VisibleSelection::toNormalizedRange): (WebCore::makeSearchRange):
  • editing/htmlediting.cpp: (WebCore::indexForVisiblePosition):
  • editing/htmlediting.h:
  • editing/visible_units.cpp: (WebCore::previousBoundary): (WebCore::nextBoundary):
  • page/DOMSelection.cpp: (WebCore::anchorPosition): (WebCore::focusPosition): (WebCore::basePosition): (WebCore::extentPosition):

2011-01-19 Levi Weintraub <leviw@google.com>

Reviewed by Ryosuke Niwa.

Updating to use Position::parentAnchoredEquivalent instead of
the old htmlediting rangeCompliantEquivalent.

remove rangeCompliantEquivalent and replace it with Position methods
https://bugs.webkit.org/show_bug.cgi?id=25057

  • WebView/WebFrame.mm: (-[WebFrame _smartDeleteRangeForProposedRange:]):
01:17 Changeset [76106] by yurys@chromium.org

2011-01-19 Peter Rybin <peter.rybin@gmail.com>

Reviewed by Yury Semikhatsky.

Web Inspector: script column offset is incorrect
https://bugs.webkit.org/show_bug.cgi?id=52580

Column is updated in 3 places, 2 less probable places contained error.
Fixed now.

  • platform/text/SegmentedString.cpp: (WebCore::SegmentedString::advanceSlowCase):
  • platform/text/SegmentedString.h: (WebCore::SegmentedString::advancePastNewline):
01:00 Changeset [76105] by pfeldman@chromium.org

2011-01-18 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: make InjectedScriptAccess API a part of Web Inspector protocol.
https://bugs.webkit.org/show_bug.cgi?id=52652

Calls served by the InjectedScript should be first class protocol
citizens, not dispatched via single protocol message.

  • http/tests/inspector/extensions-test.js: (initialize_ExtensionsTest.InspectorTest.runExtensionTests):
  • http/tests/inspector/inspector-test2.js: (initialize_InspectorTest.InspectorTest.evaluateInPage):
  • http/tests/inspector/resource-har-conversion.html:
  • inspector/console-command-clear.html:
  • inspector/console-dir-global.html:

2011-01-18 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: make InjectedScriptAccess API a part of Web Inspector protocol.
https://bugs.webkit.org/show_bug.cgi?id=52652

Calls served by the InjectedScript should be first class protocol
citizens, not dispatched via single protocol message.

  • WebCore.gypi:
  • WebCore.vcproj/WebCore.vcproj:
  • inspector/CodeGeneratorInspector.pm:
  • inspector/InjectedScript.cpp: (WebCore::InjectedScript::evaluate): (WebCore::InjectedScript::evaluateInCallFrame): (WebCore::InjectedScript::evaluateOnSelf): (WebCore::InjectedScript::getCompletions): (WebCore::InjectedScript::getProperties): (WebCore::InjectedScript::pushNodeToFrontend): (WebCore::InjectedScript::resolveNode): (WebCore::InjectedScript::getNodeProperties): (WebCore::InjectedScript::getNodePrototypes): (WebCore::InjectedScript::setPropertyValue): (WebCore::InjectedScript::makeCall):
  • inspector/InjectedScript.h:
  • inspector/InjectedScriptHost.cpp: (WebCore::InjectedScriptHost::evaluate): (WebCore::InjectedScriptHost::evaluateInCallFrame): (WebCore::InjectedScriptHost::evaluateOnSelf): (WebCore::InjectedScriptHost::getCompletions): (WebCore::InjectedScriptHost::getProperties): (WebCore::InjectedScriptHost::pushNodeToFrontend): (WebCore::InjectedScriptHost::resolveNode): (WebCore::InjectedScriptHost::getNodeProperties): (WebCore::InjectedScriptHost::getNodePrototypes): (WebCore::InjectedScriptHost::setPropertyValue): (WebCore::InjectedScriptHost::injectedScriptForObjectId): (WebCore::InjectedScriptHost::injectedScriptForNodeId): (WebCore::InjectedScriptHost::injectedScriptForMainWorld):
  • inspector/InjectedScriptHost.h:
  • inspector/InjectedScriptSource.js: (.):
  • inspector/Inspector.idl:
  • inspector/InspectorController.cpp:
  • inspector/InspectorController.h:
  • inspector/InspectorValues.cpp: (WebCore::InspectorObject::getNumber):
  • inspector/InspectorValues.h:
  • inspector/front-end/AuditRules.js: (WebInspector.AuditRules.evaluateInTargetWindow):
  • inspector/front-end/ConsoleView.js: (WebInspector.ConsoleView.prototype.completions): (WebInspector.ConsoleView.prototype.doEvalInWindow):
  • inspector/front-end/ElementsTreeOutline.js: (WebInspector.ElementsTreeElement.prototype._createTooltipForNode):
  • inspector/front-end/ExtensionPanel.js: (WebInspector.ExtensionWatchSidebarPane.prototype.setExpression):
  • inspector/front-end/ExtensionServer.js: (WebInspector.ExtensionServer.prototype._onEvaluateOnInspectedPage):
  • inspector/front-end/InjectedScriptAccess.js: Removed.
  • inspector/front-end/PropertiesSidebarPane.js: (WebInspector.PropertiesSidebarPane.prototype.update.callback): (WebInspector.PropertiesSidebarPane.prototype.update):
  • inspector/front-end/RemoteObject.js: (WebInspector.RemoteObject.resolveNode): (WebInspector.RemoteObject.prototype.getProperties): (WebInspector.RemoteObject.prototype.setPropertyValue): (WebInspector.RemoteObject.prototype.pushNodeToFrontend):
  • inspector/front-end/ScriptsPanel.js: (WebInspector.ScriptsPanel.prototype.doEvalInCallFrame):
  • inspector/front-end/WebKit.qrc:
  • inspector/front-end/inspector.html:

2011-01-18 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: make InjectedScriptAccess API a part of Web Inspector protocol.
https://bugs.webkit.org/show_bug.cgi?id=52652

Calls served by the InjectedScript should be first class protocol
citizens, not dispatched via single protocol message.

  • src/js/Tests.js:

01/18/11:

23:40 Changeset [76104] by antonm@chromium.org

2011-01-18 Anton Muhin <antonm@chromium.org>

Reviewed by Adam Barth.

[v8] Minor cleanup: make 2nd argument of removeIfPresnt accept only a value type stored in the DOM map
https://bugs.webkit.org/show_bug.cgi?id=51683

Covered by the existing tests.

  • bindings/v8/DOMDataStore.cpp: (WebCore::DOMDataStore::weakNodeCallback): (WebCore::DOMDataStore::IntrusiveDOMWrapperMap::removeIfPresent):
  • bindings/v8/DOMDataStore.h:
  • bindings/v8/V8DOMMap.h: (WebCore::WeakReferenceMap::removeIfPresent):
23:12 Changeset [76103] by mjs@apple.com
  • WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp: Removed unncessary inculde of WKStringCF.h

Rubber stamped by Csaba Osztrogonac

22:09 Changeset [76102] by eric@webkit.org

2011-01-18 Eric Seidel <eric@webkit.org>

Unreviewed, rolling out r76084.
http://trac.webkit.org/changeset/76084
https://bugs.webkit.org/show_bug.cgi?id=52654

Crashes on the bots

  • fast/dom/Window/open-window-empty-url-expected.txt: Removed.
  • fast/dom/Window/open-window-empty-url.html: Removed.
21:15 Changeset [76101] by dpranke@chromium.org

2011-01-18 Dirk Pranke <dpranke@chromium.org>

Reviewed by Tony Chang.

new-run-webkit-tests: add a --build-directory command line argument

Official Google Chrome builds use a non-standard build directory
location. This patch adds a --build-directory argument that
allows that location to be specified on the command line. Only
Chromium-based builds will use this flag for now, but anyone can
in the future.

There are no unit tests for this since it's difficult to test
until mock filesystems are fully supported in the code. This was
tested by hand for now.

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

  • Scripts/webkitpy/layout_tests/port/chromium_linux.py:
  • Scripts/webkitpy/layout_tests/port/chromium_mac.py:
  • Scripts/webkitpy/layout_tests/port/chromium_win.py:
  • Scripts/webkitpy/layout_tests/run_webkit_tests.py:
20:33 Changeset [76100] by kbr@google.com

2011-01-18 Kenneth Russell <kbr@google.com>

Unreviewed, rolling out r76078.
http://trac.webkit.org/changeset/76078
https://bugs.webkit.org/show_bug.cgi?id=52668

Caused crashes of fast/canvas/webgl/constants.html,
fast/canvas/webgl/gl-enum-tests.html, and possibly other layout
test crashes in Release mode. WebGL crashes were observed with
"run-webkit-tests fast/canvas/webgl". It was necessary to run
multiple tests to provoke the crash.

  • interpreter/RegisterFile.h: (JSC::RegisterFile::markGlobals):
  • runtime/JSActivation.cpp: (JSC::JSActivation::markChildren):
  • runtime/JSGlobalObject.cpp: (JSC::JSGlobalObject::markChildren):
20:18 Changeset [76099] by morrita@google.com

Added a reviewer line for the last checkin

20:11 Changeset [76098] by morrita@google.com

2011-01-18 MORITA Hajime <morrita@google.com>

Refactoring: EventHandler::handleTextInputEvent should accept an enum instead of bools.
https://bugs.webkit.org/show_bug.cgi?id=52608

No new tests. no behavioral change.

  • GNUmakefile.am:
  • WebCore.gypi:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • dom/TextEvent.cpp: (WebCore::TextEvent::create): (WebCore::TextEvent::createForDrop): (WebCore::TextEvent::TextEvent):
  • dom/TextEvent.h: (WebCore::TextEvent::isLineBreak): (WebCore::TextEvent::isBackTab): (WebCore::TextEvent::isPaste): (WebCore::TextEvent::isDrop):
  • dom/TextEventInputType.h: Added. Extracted from TextEvent::TextInputType.
  • editing/EditorCommand.cpp: (WebCore::executeInsertBacktab): (WebCore::executeInsertLineBreak): (WebCore::executeInsertNewline): (WebCore::executeInsertTab):
  • page/EventHandler.cpp: (WebCore::EventHandler::handleTextInputEvent):
  • page/EventHandler.h:
20:08 Changeset [76097] by mjs@apple.com

2011-01-18 Maciej Stachowiak <mjs@apple.com>

Reviewed by Sam Weinig.

Skip (and in a few cases fix) tests for WebKit2
https://bugs.webkit.org/show_bug.cgi?id=52698

  • editing/pasteboard/copy-null-characters.html: Make this test fail in a more obvious way when it fails.
  • fast/events/scroll-event-does-not-bubble.html: Make this test properly handle the fact that scroll events are async. The job was half-done before.
  • platform/mac-wk2/Skipped: Skip!
19:56 Changeset [76096] by mjs@apple.com

Not reviewed. Bot fix.

Remove an inadvertently committed debugging print.

  • DumpRenderTree/mac/LayoutTestControllerMac.mm:

(LayoutTestController::notifyDone):

19:55 Changeset [76095] by kbr@google.com

2011-01-18 Kenneth Russell <kbr@google.com>

Unreviewed, Leopard build fix. Remove flex/bison targets for GLSL
grammar because the generated sources are already checked in.

  • ANGLE.xcodeproj/project.pbxproj:
  • src/build_angle.xcodeproj/project.pbxproj:
19:30 Changeset [76094] by mjs@apple.com

Not reviewed.

Revert inadvertantly committed test changes.

  • editing/pasteboard/copy-null-characters.html:
  • fast/events/scroll-event-does-not-bubble.html:
  • platform/mac-wk2/Skipped:
  • transitions/remove-transition-style.html:
19:23 Changeset [76093] by kbr@google.com

2011-01-18 Kenneth Russell <kbr@google.com>

Unreviewed, release build fix. Explicitly cast away const.

  • src/compiler/preprocessor/scanner.c: (ScanFromString):
19:16 Changeset [76092] by mjs@apple.com

2011-01-18 Maciej Stachowiak <mjs@apple.com>

Reviewed by Sam Weinig.

WebKitTestRunner should track loading more like DumpRenderTree
https://bugs.webkit.org/show_bug.cgi?id=52692

Change load tracking to track the current top loading frame, in the manner of DumpRenderTree.
This makes some tests that call notifyDone multiple times pass.


  • WebKitTestRunner/InjectedBundle/InjectedBundle.cpp: (WTR::InjectedBundle::InjectedBundle): (WTR::InjectedBundle::done):
  • WebKitTestRunner/InjectedBundle/InjectedBundle.h: (WTR::InjectedBundle::topLoadingFrame): (WTR::InjectedBundle::setTopLoadingFrame):
  • WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp: (WTR::InjectedBundlePage::InjectedBundlePage): (WTR::InjectedBundlePage::stopLoading): (WTR::InjectedBundlePage::didStartProvisionalLoadForFrame): (WTR::InjectedBundlePage::didFailProvisionalLoadWithErrorForFrame): (WTR::InjectedBundlePage::didFinishLoadForFrame): (WTR::InjectedBundlePage::didFailLoadWithErrorForFrame):
  • WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
  • WebKitTestRunner/InjectedBundle/LayoutTestController.cpp: (WTR::LayoutTestController::notifyDone):
  • WebKitTestRunner/TestController.cpp: (WTR::TestController::didReceiveMessageFromInjectedBundle):

2011-01-18 Maciej Stachowiak <mjs@apple.com>

Reviewed by Sam Weinig.

WebKitTestRunner should track loading more like DumpRenderTree
https://bugs.webkit.org/show_bug.cgi?id=52692


Relax the message check in didSaveFrameToPageCache a bit more, since
layout tests were still hitting the old one.

  • UIProcess/WebPageProxy.cpp: (WebKit::isDisconnectedFrame): (WebKit::WebPageProxy::didSaveFrameToPageCache):
19:00 Changeset [76091] by kbr@google.com

2011-01-18 Ben Vanik <ben.vanik@gmail.com>

Reviewed by Kenneth Russell.

Updating ANGLE in WebKit to r533.
https://bugs.webkit.org/show_bug.cgi?id=47194

  • platform/graphics/ANGLEWebKitBridge.cpp: (WebCore::ANGLEWebKitBridge::ANGLEWebKitBridge): (WebCore::ANGLEWebKitBridge::~ANGLEWebKitBridge): (WebCore::ANGLEWebKitBridge::validateShaderSource): Update to new ANGLE API for shader validation.
  • platform/graphics/ANGLEWebKitBridge.h: (WebCore::ANGLEWebKitBridge::setResources): Renaming types to new names.
  • platform/graphics/mac/GraphicsContext3DMac.mm: (WebCore::GraphicsContext3D::GraphicsContext3D): Initialize ANGLEResources with ANGLE init call to prevent uninitialized variables.

2011-01-18 Ben Vanik <ben.vanik@gmail.com>

Reviewed by Kenneth Russell.

Updating ANGLE in WebKit to r533.
https://bugs.webkit.org/show_bug.cgi?id=47194

  • ANGLE.xcodeproj/project.pbxproj:
  • include/GLSLANG/ShaderLang.h:
  • src/common/debug.cpp: (gl::trace):
  • src/common/debug.h:
  • src/compiler/CodeGenGLSL.cpp: (ConstructCompiler):
  • src/compiler/CodeGenHLSL.cpp: (ConstructCompiler):
  • src/compiler/Common.h: (EncodeSourceLoc): (DecodeSourceLoc):
  • src/compiler/Compiler.cpp: Added. (TShHandleBase::TShHandleBase): (TShHandleBase::~TShHandleBase): (TCompiler::TCompiler): (TCompiler::~TCompiler): (TCompiler::Init): (TCompiler::compile): (TCompiler::InitBuiltInSymbolTable): (TCompiler::clearResults): (TCompiler::validateLimitations): (TCompiler::collectAttribsUniforms):
  • src/compiler/ExtensionBehavior.h: Added.
  • src/compiler/InfoSink.cpp: (TInfoSinkBase::location):
  • src/compiler/InfoSink.h: (TInfoSinkBase::size):
  • src/compiler/Initialize.cpp: (BuiltInFunctionsCommon): (BuiltInFunctionsVertex): (BuiltInFunctionsFragment): (StandardUniforms): (DefaultPrecisionVertex): (DefaultPrecisionFragment): (BuiltInConstants): (TBuiltIns::initialize): (IdentifyBuiltIns): (InitExtensionBehavior):
  • src/compiler/Initialize.h:
  • src/compiler/IntermTraverse.cpp: (TIntermLoop::traverse):
  • src/compiler/Intermediate.cpp: (getOperatorString): (TIntermediate::addBinaryMath): (TIntermediate::addLoop): (TIntermediate::postProcess): (TIntermBinary::promote):
  • src/compiler/OutputGLSL.cpp: (TOutputGLSL::visitUnary): (TOutputGLSL::visitLoop):
  • src/compiler/OutputHLSL.cpp: (sh::OutputHLSL::OutputHLSL): (sh::OutputHLSL::header): (sh::OutputHLSL::visitBinary): (sh::OutputHLSL::visitUnary): (sh::OutputHLSL::visitAggregate): (sh::OutputHLSL::visitLoop): (sh::OutputHLSL::handleExcessiveLoop): (sh::OutputHLSL::argumentString):
  • src/compiler/OutputHLSL.h:
  • src/compiler/ParseHelper.cpp: (ReportInfo): (DefineExtensionMacros): (TParseContext::error): (TParseContext::warning): (TParseContext::reservedErrorCheck): (TParseContext::constructorErrorCheck): (TParseContext::arrayQualifierErrorCheck): (TParseContext::extensionErrorCheck): (TParseContext::areAllChildConst): (PaParseStrings):
  • src/compiler/ParseHelper.h: (TParseContext::TParseContext):
  • src/compiler/PoolAlloc.cpp: (InitializeGlobalPools): (FreeGlobalPools): (SetGlobalPoolAllocator): (TPoolAllocator::TPoolAllocator): (TPoolAllocator::~TPoolAllocator): (TAllocation::checkAllocList):
  • src/compiler/PoolAlloc.h:
  • src/compiler/SearchSymbol.cpp: Added. (sh::SearchSymbol::SearchSymbol): (sh::SearchSymbol::traverse): (sh::SearchSymbol::visitSymbol): (sh::SearchSymbol::foundMatch):
  • src/compiler/SearchSymbol.h: Added.
  • src/compiler/ShHandle.h: (TCompiler::getAsCompiler): (TCompiler::getInfoSink): (TCompiler::getAttribs): (TCompiler::getUniforms): (TCompiler::getShaderType): (TCompiler::getShaderSpec):
  • src/compiler/ShaderLang.cpp: (getVariableMaxLength): (getVariableInfo): (ShInitBuiltInResources): (ShConstructCompiler): (ShCompile): (ShGetInfo): (ShGetInfoLog): (ShGetObjectCode): (ShGetActiveAttrib): (ShGetActiveUniform):
  • src/compiler/SymbolTable.cpp: (TSymbolTableLevel::relateToExtension):
  • src/compiler/SymbolTable.h: (TVariable::shareConstPointer): (TFunction::relateToExtension): (TFunction::getExtension): (TFunction::getParamCount): (TFunction::getParam): (TSymbolTable::getGlobalLevel): (TSymbolTable::relateToOperator): (TSymbolTable::relateToExtension):
  • src/compiler/TranslatorGLSL.cpp: (writeVersion): (TranslatorGLSL::TranslatorGLSL): (TranslatorGLSL::translate):
  • src/compiler/TranslatorGLSL.h:
  • src/compiler/TranslatorHLSL.cpp: (TranslatorHLSL::TranslatorHLSL): (TranslatorHLSL::translate):
  • src/compiler/TranslatorHLSL.h:
  • src/compiler/Types.h: (TType::TType):
  • src/compiler/UnfoldSelect.cpp: (sh::UnfoldSelect::visitSelection):
  • src/compiler/UnfoldSelect.h:
  • src/compiler/ValidateLimitations.cpp: Added. (ValidateLimitations::ValidateLimitations): (ValidateLimitations::visitSymbol): (ValidateLimitations::visitConstantUnion): (ValidateLimitations::visitBinary): (ValidateLimitations::visitUnary): (ValidateLimitations::visitSelection): (ValidateLimitations::visitAggregate): (ValidateLimitations::visitLoop): (ValidateLimitations::visitBranch): (ValidateLimitations::error): (ValidateLimitations::withinLoopBody): (ValidateLimitations::isLoopIndex): (ValidateLimitations::validateLoopType): (ValidateLimitations::validateForLoopHeader): (ValidateLimitations::validateForLoopInit): (ValidateLimitations::validateForLoopCond): (ValidateLimitations::validateForLoopExpr): (ValidateLimitations::validateFunctionCall): (ValidateLimitations::validateOperation): (ValidateLimitations::isConstExpr): (ValidateLimitations::isConstIndexExpr): (ValidateLimitations::validateIndexing):
  • src/compiler/ValidateLimitations.h: Added. (ValidateLimitations::numErrors):
  • src/compiler/VariableInfo.cpp: Added. (arrayBrackets): (getVariableDataType): (getVariableInfo): (getBuiltInVariableInfo): (getUserDefinedVariableInfo): (CollectAttribsUniforms::CollectAttribsUniforms): (CollectAttribsUniforms::visitSymbol): (CollectAttribsUniforms::visitConstantUnion): (CollectAttribsUniforms::visitBinary): (CollectAttribsUniforms::visitUnary): (CollectAttribsUniforms::visitSelection): (CollectAttribsUniforms::visitAggregate): (CollectAttribsUniforms::visitLoop): (CollectAttribsUniforms::visitBranch):
  • src/compiler/VariableInfo.h: Added.
  • src/compiler/VersionGLSL.cpp: Added. (TVersionGLSL::TVersionGLSL): (TVersionGLSL::visitSymbol): (TVersionGLSL::visitConstantUnion): (TVersionGLSL::visitBinary): (TVersionGLSL::visitUnary): (TVersionGLSL::visitSelection): (TVersionGLSL::visitAggregate): (TVersionGLSL::visitLoop): (TVersionGLSL::visitBranch): (TVersionGLSL::updateVersion):
  • src/compiler/VersionGLSL.h: Added. (TVersionGLSL::getVersion):
  • src/compiler/generate_glslang_lexer.sh: Added.
  • src/compiler/generate_glslang_parser.sh: Added.
  • src/compiler/glslang.h: Added.
  • src/compiler/glslang.l:
  • src/compiler/glslang.y:
  • src/compiler/glslang_lex.cpp: Added. (yy_get_next_buffer): (yy_get_previous_state): (yy_try_NUL_trans): (input): (yyrestart): (yy_switch_to_buffer): (yy_load_buffer_state): (yy_create_buffer): (yy_delete_buffer): (yy_init_buffer): (yy_flush_buffer): (yypush_buffer_state): (yypop_buffer_state): (yyensure_buffer_stack): (yy_scan_buffer): (yy_scan_string): (yy_scan_bytes): (yy_push_state): (yy_pop_state): (yy_top_state): (yy_fatal_error): (yyget_extra): (yyget_lineno): (yyget_column): (yyget_in): (yyget_out): (yyget_leng): (yyget_text): (yyset_extra): (yyset_lineno): (yyset_column): (yyset_in): (yyset_out): (yyget_debug): (yyset_debug): (yyget_lval): (yyset_lval): (yylex_init): (yylex_init_extra): (yy_init_globals): (yylex_destroy): (yy_flex_strncpy): (yy_flex_strlen): (yyalloc): (yyrealloc): (yyfree): (string_input): (check_type): (reserved_word): (yyerror): (glslang_initialize): (glslang_finalize): (glslang_scan):
  • src/compiler/glslang_tab.cpp: Added. (yytnamerr): (yysyntax_error): (glslang_parse):
  • src/compiler/glslang_tab.h: Added.
  • src/compiler/intermOut.cpp: (TOutputTraverser::TOutputTraverser): (OutputTreeText): (TOutputTraverser::visitSymbol): (TOutputTraverser::visitBinary): (TOutputTraverser::visitUnary): (TOutputTraverser::visitAggregate): (TOutputTraverser::visitSelection): (TOutputTraverser::visitConstantUnion): (TOutputTraverser::visitLoop): (TOutputTraverser::visitBranch): (TIntermediate::outputTree):
  • src/compiler/intermediate.h: (TIntermLoop::TIntermLoop): (TIntermLoop::getType): (TIntermLoop::getInit): (TIntermLoop::getCondition): (TIntermLoop::getExpression): (TIntermLoop::getBody):
  • src/compiler/localintermediate.h:
  • src/compiler/osinclude.h: (OS_GetTLSValue):
  • src/compiler/ossource_nspr.cpp: Added. (OS_AllocTLSIndex): (OS_SetTLSValue): (OS_FreeTLSIndex):
  • src/compiler/preprocessor/compile.h:
  • src/compiler/preprocessor/cpp.c: (CPPdefine): (CPPelse): (CPPif): (CPPifdef): (CPPerror): (CPPextension): (readCPPline):
  • src/compiler/preprocessor/preprocess.h:
  • src/compiler/preprocessor/scanner.c: (str_getch): (str_ungetch): (ScanFromString): (lFloatConst): (byte_scan): (yylex_CPP): (check_EOF):
  • src/compiler/preprocessor/scanner.h:
  • src/compiler/preprocessor/tokens.c: (RecordToken): (ReadToken):
  • src/compiler/tools: Removed.
  • src/compiler/unistd.h: Removed.
  • src/compiler/util.cpp: Added. (atof_dot):
  • src/compiler/util.h: Added.
  • src/libEGL/Config.cpp: (egl::Config::set):
  • src/libEGL/Display.cpp: (egl::Display::Display): (egl::Display::initialize): (egl::Display::terminate): (egl::Display::createDevice): (egl::Display::resetDevice): (egl::Display::createContext): (egl::Display::destroyContext): (egl::Display::getMinSwapInterval): (egl::Display::getMaxSwapInterval): (egl::Display::getDevice): (egl::Display::getFloatTextureSupport): (egl::Display::getHalfFloatTextureSupport): (egl::Display::getLuminanceTextureSupport): (egl::Display::getLuminanceAlphaTextureSupport): (egl::Display::getBufferPool): (egl::Display::getEventQuerySupport): (egl::Display::getDefaultPresentParameters):
  • src/libEGL/Display.h:
  • src/libEGL/Surface.cpp: (egl::Surface::Surface): (egl::Surface::~Surface): (egl::Surface::release): (egl::Surface::resetSwapChain): (egl::Surface::writeRecordableFlipState): (egl::Surface::restoreState): (egl::SurfaceWindowProc): (egl::Surface::subclassWindow): (egl::Surface::unsubclassWindow): (egl::Surface::checkForOutOfDateSwapChain): (egl::Surface::convertInterval): (egl::Surface::swap): (egl::Surface::getRenderTarget): (egl::Surface::setSwapInterval):
  • src/libEGL/Surface.h:
  • src/libEGL/libEGL.cpp:
  • src/libGLESv2/Blit.cpp: (gl::Blit::copySurfaceToTexture): (gl::Blit::setCommonBlitState):
  • src/libGLESv2/Buffer.cpp: (gl::Buffer::Buffer): (gl::Buffer::~Buffer): (gl::Buffer::bufferData): (gl::Buffer::bufferSubData): (gl::Buffer::getVertexBuffer): (gl::Buffer::getIndexBuffer): (gl::Buffer::invalidateStaticData):
  • src/libGLESv2/Buffer.h:
  • src/libGLESv2/Context.cpp: (gl::Context::Context): (gl::Context::~Context): (gl::Context::makeCurrent): (gl::Context::markAllStateDirty): (gl::Context::setFragmentShaderDerivativeHint): (gl::Context::setEnableVertexAttribArray): (gl::Context::getVertexAttribState): (gl::Context::getVertexAttributes): (gl::Context::createFence): (gl::Context::deleteFence): (gl::Context::bindTexture2D): (gl::Context::bindTextureCubeMap): (gl::Context::getFence): (gl::Context::getTexture2D): (gl::Context::getTextureCubeMap): (gl::Context::getSamplerTexture): (gl::Context::getBooleanv): (gl::Context::getIntegerv): (gl::Context::getQueryParameterInfo): (gl::Context::applyRenderTarget): (gl::Context::applyState): (gl::Context::lookupAttributeMapping): (gl::Context::applyVertexBuffer): (gl::Context::applyIndexBuffer): (gl::Context::readPixels): (gl::Context::clear): (gl::Context::drawArrays): (gl::Context::drawElements): (gl::Context::finish): (gl::Context::drawClosingLine): (gl::Context::getMaximumVaryingVectors): (gl::Context::getMaximumFragmentUniformVectors): (gl::Context::supportsEventQueries): (gl::Context::supportsFloatTextures): (gl::Context::supportsFloatLinearFilter): (gl::Context::supportsFloatRenderableTextures): (gl::Context::supportsHalfFloatTextures): (gl::Context::supportsHalfFloatLinearFilter): (gl::Context::supportsHalfFloatRenderableTextures): (gl::Context::getMaximumRenderbufferDimension): (gl::Context::getMaximumTextureDimension): (gl::Context::getMaximumCubeTextureDimension): (gl::Context::getMaximumTextureLevel): (gl::Context::supportsLuminanceTextures): (gl::Context::supportsLuminanceAlphaTextures): (gl::Context::supports32bitIndices): (gl::Context::getIncompleteTexture): (gl::Context::setVertexAttrib): (gl::Context::initExtensionString): (gl::Context::blitFramebuffer):
  • src/libGLESv2/Context.h: (gl::VertexAttribute::VertexAttribute): (gl::VertexAttribute::typeSize): (gl::VertexAttribute::stride):
  • src/libGLESv2/Fence.cpp: Added. (gl::Fence::Fence): (gl::Fence::~Fence): (gl::Fence::isFence): (gl::Fence::setFence): (gl::Fence::testFence): (gl::Fence::finishFence): (gl::Fence::getFenceiv):
  • src/libGLESv2/Fence.h: Added.
  • src/libGLESv2/Framebuffer.cpp: (gl::Framebuffer::completeness): (gl::DefaultFramebuffer::DefaultFramebuffer): (gl::DefaultFramebuffer::completeness):
  • src/libGLESv2/Program.cpp: (gl::Program::Program): (gl::Program::getSamplerMapping): (gl::Program::getUniformLocation): (gl::Program::setUniform1iv): (gl::Program::applyUniforms): (gl::Program::packVaryings): (gl::Program::linkVaryings): (gl::Program::link): (gl::Program::defineUniform): (gl::Program::createUniform): (gl::Program::applyUniform1iv): (gl::Program::resetInfoLog): (gl::Program::unlink): (gl::Program::getActiveAttribute): (gl::Program::getActiveUniform): (gl::Program::getDxDepthRangeLocation):
  • src/libGLESv2/Program.h:
  • src/libGLESv2/RefCountObject.cpp: (gl::RefCountObject::~RefCountObject):
  • src/libGLESv2/Renderbuffer.cpp: (gl::RenderbufferStorage::RenderbufferStorage): (gl::RenderbufferStorage::isFloatingPoint): (gl::Colorbuffer::Colorbuffer): (gl::DepthStencilbuffer::DepthStencilbuffer):
  • src/libGLESv2/Renderbuffer.h:
  • src/libGLESv2/Shader.cpp: (gl::Shader::Shader): (gl::Shader::parseVaryings): (gl::Shader::compileToHLSL): (gl::VertexShader::parseAttributes):
  • src/libGLESv2/Texture.cpp: (gl::Texture::Texture): (gl::Texture::isFloatingPoint): (gl::Texture::isRenderableFormat): (gl::Texture::selectFormat): (gl::Texture::loadImageData): (gl::Texture::loadAlphaFloatImageData): (gl::Texture::loadAlphaHalfFloatImageData): (gl::Texture::loadLuminanceImageData): (gl::Texture::loadLuminanceFloatImageData): (gl::Texture::loadLuminanceHalfFloatImageData): (gl::Texture::loadLuminanceAlphaImageData): (gl::Texture::loadLuminanceAlphaFloatImageData): (gl::Texture::loadLuminanceAlphaHalfFloatImageData): (gl::Texture::loadRGBFloatImageData): (gl::Texture::loadRGBHalfFloatImageData): (gl::Texture::loadRGBAFloatImageData): (gl::Texture::loadRGBAHalfFloatImageData): (gl::Texture::createSurface): (gl::Texture::setImage): (gl::Texture::setCompressedImage): (gl::Texture::subImage): (gl::Texture::subImageCompressed): (gl::Texture::copyNonRenderable): (gl::Texture::getD3DFormat): (gl::Texture::isRenderable): (gl::Texture2D::Texture2D): (gl::Texture2D::~Texture2D): (gl::Texture2D::redefineTexture): (gl::Texture2D::setImage): (gl::Texture2D::setCompressedImage): (gl::Texture2D::copyImage): (gl::Texture2D::copySubImage): (gl::Texture2D::isComplete): (gl::Texture2D::createTexture): (gl::Texture2D::convertToRenderTarget): (gl::Texture2D::generateMipmaps): (gl::Texture2D::getColorbuffer): (gl::Texture2D::getRenderTarget): (gl::TextureCubeMap::TextureCubeMap): (gl::TextureCubeMap::~TextureCubeMap): (gl::TextureCubeMap::subImage): (gl::TextureCubeMap::subImageCompressed): (gl::TextureCubeMap::isComplete): (gl::TextureCubeMap::createTexture): (gl::TextureCubeMap::convertToRenderTarget): (gl::TextureCubeMap::redefineTexture): (gl::TextureCubeMap::copyImage): (gl::TextureCubeMap::copySubImage): (gl::TextureCubeMap::generateMipmaps): (gl::TextureCubeMap::getColorbuffer): (gl::TextureCubeMap::getRenderTarget): (gl::Texture::TextureColorbufferProxy::TextureColorbufferProxy): (gl::Texture::TextureColorbufferProxy::isFloatingPoint):
  • src/libGLESv2/Texture.h:
  • src/libGLESv2/geometry/IndexDataManager.cpp: (gl::IndexDataManager::IndexDataManager): (gl::IndexDataManager::~IndexDataManager): (gl::convertIndices): (gl::computeRange): (gl::IndexDataManager::prepareIndexData): (gl::IndexDataManager::indexSize): (gl::IndexDataManager::typeSize): (gl::IndexBuffer::IndexBuffer): (gl::IndexBuffer::~IndexBuffer): (gl::IndexBuffer::getBuffer): (gl::IndexBuffer::unmap): (gl::StreamingIndexBuffer::StreamingIndexBuffer): (gl::StreamingIndexBuffer::~StreamingIndexBuffer): (gl::StreamingIndexBuffer::map): (gl::StreamingIndexBuffer::reserveSpace): (gl::StaticIndexBuffer::StaticIndexBuffer): (gl::StaticIndexBuffer::~StaticIndexBuffer): (gl::StaticIndexBuffer::map): (gl::StaticIndexBuffer::reserveSpace): (gl::StaticIndexBuffer::lookupType): (gl::StaticIndexBuffer::lookupRange): (gl::StaticIndexBuffer::addRange):
  • src/libGLESv2/geometry/IndexDataManager.h: (gl::IndexBuffer::size):
  • src/libGLESv2/geometry/VertexDataManager.cpp: (gl::VertexDataManager::VertexDataManager): (gl::VertexDataManager::~VertexDataManager): (gl::VertexDataManager::writeAttributeData): (gl::VertexDataManager::prepareVertexData): (gl::VertexDataManager::spaceRequired): (gl::VertexDataManager::checkVertexCaps): (gl::VertexDataManager::typeIndex): (gl::VertexDataManager::setupAttributes): (gl::VertexBuffer::VertexBuffer): (gl::VertexBuffer::~VertexBuffer): (gl::VertexBuffer::unmap): (gl::VertexBuffer::getBuffer): (gl::ConstantVertexBuffer::ConstantVertexBuffer): (gl::ConstantVertexBuffer::~ConstantVertexBuffer): (gl::ArrayVertexBuffer::ArrayVertexBuffer): (gl::ArrayVertexBuffer::~ArrayVertexBuffer): (gl::ArrayVertexBuffer::addRequiredSpace): (gl::ArrayVertexBuffer::addRequiredSpaceFor): (gl::StreamingVertexBuffer::StreamingVertexBuffer): (gl::StreamingVertexBuffer::~StreamingVertexBuffer): (gl::StreamingVertexBuffer::map): (gl::StreamingVertexBuffer::reserveRequiredSpace): (gl::StaticVertexBuffer::StaticVertexBuffer): (gl::StaticVertexBuffer::~StaticVertexBuffer): (gl::StaticVertexBuffer::map): (gl::StaticVertexBuffer::reserveRequiredSpace): (gl::StaticVertexBuffer::lookupAttribute): (gl::VertexDataManager::formatConverter):
  • src/libGLESv2/geometry/VertexDataManager.h: (gl::ArrayVertexBuffer::size): (gl::VertexDataManager::dirtyCurrentValue):
  • src/libGLESv2/geometry/backend.cpp: Removed.
  • src/libGLESv2/geometry/backend.h: Removed.
  • src/libGLESv2/geometry/dx9.cpp: Removed.
  • src/libGLESv2/geometry/dx9.h: Removed.
  • src/libGLESv2/libGLESv2.cpp:
  • src/libGLESv2/libGLESv2.def:
  • src/libGLESv2/libGLESv2.vcproj:
  • src/libGLESv2/utilities.cpp: (gl::UniformComponentCount): (gl::UniformComponentType): (gl::ComputePixelSize): (gl::CheckTextureFormatType): (gl::IsColorRenderable): (gl::IsDepthRenderable): (gl::IsStencilRenderable): (es2dx::GetAlphaSize): (es2dx::GetRedSize): (es2dx::GetGreenSize): (es2dx::GetBlueSize): (es2dx::GetDepthSize): (es2dx::ConvertPrimitiveType): (dx2es::ConvertBackBufferFormat): (dx2es::ConvertDepthStencilFormat):
  • src/libGLESv2/utilities.h:
18:37 Changeset [76090] by oliver@apple.com

2011-01-18 Oliver Hunt <oliver@apple.com>

Reviewed by Gavin Barraclough.

[jsfunfuzz] Assertion asking activation for arguments when arguments is overridden
https://bugs.webkit.org/show_bug.cgi?id=52690

Add a few more tests.

  • fast/js/function-dot-arguments-expected.txt:
  • fast/js/script-tests/function-dot-arguments.js: (overwroteArgumentsInDynamicScope1): (overwroteArgumentsInDynamicScope2): (overwroteArgumentsInDynamicScope3):

2011-01-18 Oliver Hunt <oliver@apple.com>

Reviewed by Gavin Barraclough.

[jsfunfuzz] Assertion asking activation for arguments when arguments is overridden
https://bugs.webkit.org/show_bug.cgi?id=52690

Clean up code to retrieve arguments from activation and function objects.
Remove the incorrect assertion from JSActivation's argumentsGetter.

  • interpreter/Interpreter.cpp: (JSC::Interpreter::retrieveArguments):
  • runtime/JSActivation.cpp: (JSC::JSActivation::argumentsGetter):
17:46 Changeset [76089] by beidson@apple.com

<rdar://problem/8860833> and https://bugs.webkit.org/show_bug.cgi?id=52599
UIProcess crash in WebPageProxy::reattachToWebProcess when web process crashes with a new tab/window.

Reviewed by Darin Adler.

  • UIProcess/WebPageProxy.cpp:

(WebKit::WebPageProxy::reattachToWebProcessWithItem): Null check item *both* places it is used.

17:44 Changeset [76088] by dimich@chromium.org

[Chromium] Not reviewed, adding pixel expectations for new test.

  • platform/chromium-mac/fast/css/background-clip-values-expected.checksum: Added.
  • platform/chromium-mac/fast/css/background-clip-values-expected.png: Added.
17:37 Changeset [76087] by beidson@apple.com

<rdar://problem/8752200> and https://bugs.webkit.org/show_bug.cgi?id=52664
Need WebKit2 API to asynchronously get the resource data for a URL

Reviewed by Maciej Stachowiak.

Rename WKFrameGetMainResourceDataFunction to WKFrameGetResourceDataFunction, and add
new API to get a resource by URL:

  • UIProcess/API/C/WKFrame.cpp:

(WKFrameGetMainResourceData):
(WKFrameGetResourceData):
(callGetResourceDataBlockAndDispose):
(WKFrameGetMainResourceData_b):
(WKFrameGetResourceData_b):

  • UIProcess/API/C/WKFrame.h:

Implement the new API in the UIProcess side:

  • UIProcess/WebFrameProxy.cpp:

(WebKit::WebFrameProxy::getResourceData):

  • UIProcess/WebFrameProxy.h:
  • UIProcess/WebPageProxy.cpp:

(WebKit::WebPageProxy::getResourceDataFromFrame):

  • UIProcess/WebPageProxy.h:

Have the WebProcess get the data and call back to the UIProcess:

  • WebProcess/WebPage/WebPage.cpp:

(WebKit::WebPage::getResourceDataFromFrame):

  • WebProcess/WebPage/WebPage.h:
  • WebProcess/WebPage/WebPage.messages.in:
17:30 Changeset [76086] by andersca@apple.com

2011-01-18 Anders Carlsson <andersca@apple.com>

Reviewed by Dan Bernstein.

Make PageClientImpl::scrollView do hardware blitting
https://bugs.webkit.org/show_bug.cgi?id=52689

  • UIProcess/API/mac/PageClientImpl.mm: (WebKit::PageClientImpl::scrollView): Clip the scroll rect and scroll the view.
  • UIProcess/DrawingAreaProxyImpl.cpp: (WebKit::DrawingAreaProxyImpl::incorporateUpdate): Scroll before painting.
17:16 Changeset [76085] by andersca@apple.com

2011-01-18 Anders Carlsson <andersca@apple.com>

Reviewed by Darin Adler.

Artifacts when scrolling with new drawing area
https://bugs.webkit.org/show_bug.cgi?id=52682

  • WebProcess/WebCoreSupport/WebChromeClient.cpp: (WebKit::WebChromeClient::scroll): When scrolling, we want the intersection of the scroll rect and clip rect.
17:13 Changeset [76084] by jberlin@webkit.org

Add a test that calling window.open with an empty URL does not trigger an assertion or
cause a crash.
https://bugs.webkit.org/show_bug.cgi?id=52654

Reviewed by Adam Roben.

  • fast/dom/Window/open-window-empty-url-expected.txt: Added.
  • fast/dom/Window/open-window-empty-url.html: Added.
17:10 Changeset [76083] by morrita@google.com

2011-01-18 MORITA Hajime <morrita@google.com>

Reviewed by Simon Fraser.

Refactoring: Extract RoundedIntRect class
https://bugs.webkit.org/show_bug.cgi?id=51664

RoundedIntRect is a pair of rect and four IntSize objects which represent
corner radii of the rectangle. IntSize is grouped into RoundedIntRect::Radii.
Now RenderStyle::getRoundedBorderFor() and RenderStyle::getRoundedInnerBorderWithBorderWidths()
return RoundedIntRect and GraphicsContext::addRoundedRectClip(), GraphicsContext::fillRoundedRect()
and other functions accept RoundedIntRect as an argument.

  • Android.mk:
  • CMakeLists.txt:
  • GNUmakefile.am:
  • WebCore.gypi:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • platform/graphics/GraphicsContext.cpp: (WebCore::GraphicsContext::addRoundedRectClip): (WebCore::GraphicsContext::clipOutRoundedRect): (WebCore::GraphicsContext::fillRoundedRect):
  • platform/graphics/GraphicsContext.h:
  • platform/graphics/RoundedIntRect.cpp: Added. (WebCore::RoundedIntRect::Radii::isZero): (WebCore::RoundedIntRect::Radii::scale): (WebCore::RoundedIntRect::Radii::expand): (WebCore::RoundedIntRect::Radii::includeLogicalEdges): (WebCore::RoundedIntRect::Radii::excludeLogicalEdges): (WebCore::RoundedIntRect::RoundedIntRect): (WebCore::RoundedIntRect::includeLogicalEdges): (WebCore::RoundedIntRect::excludeLogicalEdges):
  • platform/graphics/RoundedIntRect.h: Added. (WebCore::RoundedIntRect::Radii::Radii): (WebCore::RoundedIntRect::Radii::setTopLeft): (WebCore::RoundedIntRect::Radii::setTopRight): (WebCore::RoundedIntRect::Radii::setBottomLeft): (WebCore::RoundedIntRect::Radii::setBottomRight): (WebCore::RoundedIntRect::Radii::topLeft): (WebCore::RoundedIntRect::Radii::topRight): (WebCore::RoundedIntRect::Radii::bottomLeft): (WebCore::RoundedIntRect::Radii::bottomRight): (WebCore::RoundedIntRect::Radii::expand): (WebCore::RoundedIntRect::Radii::shrink): (WebCore::RoundedIntRect::rect): (WebCore::RoundedIntRect::radii): (WebCore::RoundedIntRect::isRounded): (WebCore::RoundedIntRect::isEmpty): (WebCore::RoundedIntRect::setRect): (WebCore::RoundedIntRect::setRadii): (WebCore::RoundedIntRect::move): (WebCore::RoundedIntRect::inflate): (WebCore::RoundedIntRect::inflateWithRadii): (WebCore::RoundedIntRect::expandRadii): (WebCore::RoundedIntRect::shrinkRadii):
  • rendering/RenderBox.cpp: (WebCore::RenderBox::pushContentsClip):
  • rendering/RenderBoxModelObject.cpp: (WebCore::RenderBoxModelObject::paintFillLayerExtended): (WebCore::RenderBoxModelObject::paintBorder): (WebCore::RenderBoxModelObject::clipBorderSidePolygon): (WebCore::RenderBoxModelObject::paintBoxShadow):
  • rendering/RenderBoxModelObject.h:
  • rendering/RenderObject.cpp: (WebCore::RenderObject::drawBoxSideFromPath):
  • rendering/RenderReplaced.cpp: (WebCore::RenderReplaced::paint):
  • rendering/RenderThemeChromiumWin.cpp: (WebCore::RenderThemeChromiumWin::paintTextFieldInternal):
  • rendering/RenderThemeMac.mm: (WebCore::RenderThemeMac::paintMenuListButtonGradients): (WebCore::RenderThemeMac::paintSliderTrack):
  • rendering/RenderThemeSafari.cpp: (WebCore::RenderThemeSafari::paintMenuListButtonGradients): (WebCore::RenderThemeSafari::paintSliderTrack):
  • rendering/RenderThemeWinCE.cpp: (WebCore::RenderThemeWinCE::paintSearchFieldCancelButton):
  • rendering/RenderWidget.cpp: (WebCore::RenderWidget::paint):
  • rendering/style/BorderData.h:
  • rendering/style/RenderStyle.cpp: (WebCore::calcRadiiFor): (WebCore::calcConstraintScaleFor): (WebCore::RenderStyle::getRoundedBorderFor): (WebCore::RenderStyle::getRoundedInnerBorderWithBorderWidths):
  • rendering/style/RenderStyle.h: (WebCore::InheritedFlags::setBorderRadius):
16:30 Changeset [76082] by ojan@chromium.org

2011-01-18 Ojan Vafai <ojan@chromium.org>

Reviewed by Eric Seidel.

make file expansion use the file at the svn revision the diff was created at
https://bugs.webkit.org/show_bug.cgi?id=52650

This only works for patches created with SVN for now since the git
diff does not include SVN revision numbers in it.

  • PrettyPatch/PrettyPatch.rb:
  • code-review.js:
16:15 Changeset [76081] by mihaip@chromium.org

2011-01-18 Mihai Parparita <mihaip@chromium.org>

Reviewed by Kent Tamura.

[Chromium] NRWT looking for DRT binary in the wrong path on Mac
https://bugs.webkit.org/show_bug.cgi?id=52678

Update path now that WebKit is inside Source.

  • Scripts/webkitpy/layout_tests/port/chromium_mac.py:
16:15 Changeset [76080] by andersca@apple.com

2011-01-18 Anders Carlsson <andersca@apple.com>

Reviewed by Darin Adler.

Use a CGLayer for the backing store when possible
https://bugs.webkit.org/show_bug.cgi?id=52679

  • UIProcess/mac/BackingStoreMac.mm: (WebKit::BackingStore::paint): If there is a layer, paint it into the given context.

(WebKit::BackingStore::backingStoreContext):
If we can get the containing window graphics context, use it to create a
CGLayer that we'll use for the backing store.

(WebKit::BackingStore::scroll):
Paint the layer into itself.

  • UIProcess/mac/WebPageProxyMac.mm: (WebKit::WebPageProxy::containingWindowGraphicsContext): Call the page client.
15:49 Changeset [76079] by robert@webkit.org

2011-01-18 Robert Hogan <robert@webkit.org>

Reviewed by Simon Hausmann.

[Qt] http/tests/incremental/slow-utf8-text.pl fails
https://bugs.webkit.org/show_bug.cgi?id=44282

  • platform/qt/Skipped:

2011-01-18 Robert Hogan <robert@webkit.org>

Reviewed by Simon Hausmann.

[Qt] http/tests/incremental/slow-utf8-text.pl fails
https://bugs.webkit.org/show_bug.cgi?id=44282

  • WebCoreSupport/DumpRenderTreeSupportQt.cpp: (DumpRenderTreeSupportQt::responseMimeType):
  • WebCoreSupport/DumpRenderTreeSupportQt.h:

2011-01-18 Robert Hogan <robert@webkit.org>

Reviewed by Simon Hausmann.

[Qt] http/tests/incremental/slow-utf8-text.pl fails
https://bugs.webkit.org/show_bug.cgi?id=44282

  • DumpRenderTree/qt/DumpRenderTreeQt.cpp: (WebCore::DumpRenderTree::dump):
15:45 Changeset [76078] by ggaren@apple.com

2011-01-18 Geoffrey Garen <ggaren@apple.com>

Reviewed by Darin Adler.

Removed RegisterFile::markGlobals because it was obtuse, and it
unnecessarily relied on conservative marking.
https://bugs.webkit.org/show_bug.cgi?id=52668

  • interpreter/RegisterFile.h: Removed markGlobals.
  • runtime/JSActivation.cpp: (JSC::JSActivation::markChildren): Added a comment explaning why some JSActivations don't always mark their registers arrays.
  • runtime/JSGlobalObject.cpp: (JSC::JSGlobalObject::markChildren): Instead of calling markGlobals, mark the registers array directly.
15:40 Changeset [76077] by andersca@apple.com

2011-01-18 Anders Carlsson <andersca@apple.com>

Reviewed by Dan Bernstein.

Pass the web page proxy to BackingStore::create
https://bugs.webkit.org/show_bug.cgi?id=52673

  • UIProcess/BackingStore.cpp: (WebKit::BackingStore::create): Add WebPageProxy parameter.


(WebKit::BackingStore::BackingStore):
Add WebPageProxy parameter.

  • UIProcess/BackingStore.h: Add WebPageProxy member variable.
  • UIProcess/DrawingAreaProxyImpl.cpp: (WebKit::DrawingAreaProxyImpl::incorporateUpdate): Pass the web page proxy when creating the backing store.
  • UIProcess/mac/BackingStoreMac.mm: (WebKit::BackingStore::backingStoreContext): Set the default blend mode.
15:31 Changeset [76076] by msaboff@apple.com

2011-01-18 Michael Saboff <msaboff@apple.com>

Reviewed by Oliver Hunt.

<rdar://problem/8875432> Regression: Some text-only e-mails cause hang beneath RegExp::match (52540)
https://bugs.webkit.org/show_bug.cgi?id=52540
https://bugs.webkit.org/show_bug.cgi?id=52662

Directly use backtrack label with parentheses nested under a
non-capturing parentheses. Also linked current parentheses
tail code object for possible parens nested within a non-capturing
parentheses.

  • yarr/YarrJIT.cpp: (JSC::Yarr::YarrGenerator::BacktrackDestination::linkBacktrackToLabel): (JSC::Yarr::YarrGenerator::generateParenthesesSingle):

2011-01-18 Michael Saboff <msaboff@apple.com>

Reviewed by Oliver Hunt.

<rdar://problem/8875432> Regression: Some text-only e-mails cause hang beneath RegExp::match (52540)
https://bugs.webkit.org/show_bug.cgi?id=52540
https://bugs.webkit.org/show_bug.cgi?id=52662

New tests to check for proper linking of parentheses nested under
a non-capturing parentheses.

  • fast/regex/parentheses-expected.txt:
  • fast/regex/script-tests/parentheses.js:
15:27 Changeset [76075] by commit-queue@webkit.org

2011-01-18 Victoria Kirst <vrk@chromium.org>

Reviewed by Kenneth Russell.

[chromium] Adding support for YV16 video frame formats.
https://bugs.webkit.org/show_bug.cgi?id=52345

  • platform/graphics/chromium/VideoLayerChromium.cpp: (WebCore::VideoLayerChromium::determineTextureFormat): (WebCore::VideoLayerChromium::draw):

2011-01-18 Victoria Kirst <vrk@chromium.org>

Reviewed by Kenneth Russell.

[chromium] Adding support for YV16 video frame formats.
https://bugs.webkit.org/show_bug.cgi?id=52345

  • src/VideoFrameChromiumImpl.cpp: (WebKit::VideoFrameChromiumImpl::requiredTextureSize):
15:24 Changeset [76074] by hyatt@apple.com

<rdar://problem/8479998> REGRESSION (r67660): broken button layout at devforums.apple.com

Reviewed by Dan Bernstein.

Exclude floating objects from shrinking to avoid floats. They should never do this. Timing-related bugs could
occur as a result of this mistake, and the change to rewrite pagination to defer layout of floats until they
got encountered on the correct line exposed this issue.

Source/WebCore:

Added /fast/block/float/float-overflow-hidden-containing-block-width.html.

  • rendering/RenderBox.cpp:

(WebCore::RenderBox::shrinkToAvoidFloats):

LayoutTests:

Added /fast/block/float/float-overflow-hidden-containing-block-width.html.

  • fast/block/float/float-overflow-hidden-containing-block-width.html: Added.
  • platform/mac/fast/block/float/float-overflow-hidden-containing-block-width-expected.checksum: Added.
  • platform/mac/fast/block/float/float-overflow-hidden-containing-block-width-expected.png: Added.
  • platform/mac/fast/block/float/float-overflow-hidden-containing-block-width-expected.txt: Added.
15:21 Changeset [76073] by dpranke@chromium.org

2011-01-18 Dirk Pranke <dpranke@chromium.org>

Reviewed by Mihai Parparita.

Fix a small race condition that could cause the unit tests for
new-run-webkit-tests to fail in a multithreaded environment.
There was a small window in the code where one thread would
check to see if a thread had raised an exception, do something,
and then check to see if the thread was alive. If the other
thread raised an exception and exited in between these two
steps, the exception would be lost. Flipping the order of the
two checks fixes the race, since we will now always check for an
exception on the thread before exiting.

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

  • Scripts/webkitpy/layout_tests/layout_package/message_broker.py:
15:08 Changeset [76072] by andersca@apple.com

2011-01-18 Anders Carlsson <andersca@apple.com>

Reviewed by Darin Adler.

Factor code to create the backing store bitmap context out into a new function
https://bugs.webkit.org/show_bug.cgi?id=52670

  • UIProcess/BackingStore.h:
  • UIProcess/mac/BackingStoreMac.mm: (WebKit::BackingStore::backingStoreContext): Create the backing store context.

(WebKit::BackingStore::incorporateUpdate):
Call backingStoreContext.

(WebKit::BackingStore::scroll):
Assert that the context is not null.

14:59 Changeset [76071] by eric@webkit.org

2011-01-18 Eric Seidel <eric@webkit.org>

Reviewed by Adam Barth.

commit-queue dies when test archiving fails
https://bugs.webkit.org/show_bug.cgi?id=52617

I looked at the machine and it had 10 archives already
thus find_unused_name was returning None. I've upped
the limit to 100 (per bug) and tested the case where
find_unused_name returns None (making archive return None).

  • Scripts/webkitpy/common/system/workspace.py:
  • Scripts/webkitpy/common/system/workspace_unittest.py:
  • Scripts/webkitpy/tool/bot/commitqueuetask.py:
  • Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
  • Scripts/webkitpy/tool/commands/queues.py:
14:56 Changeset [76070] by dimich@chromium.org

[Chromium] Not reviewed, updated expectations for tests
affected by http://trac.webkit.org/changeset/76047

  • platform/chromium-mac/fast/backgrounds/size/backgroundSize22-expected.checksum:
  • platform/chromium-mac/fast/backgrounds/size/backgroundSize22-expected.png:
  • platform/chromium-win/fast/backgrounds/size/backgroundSize22-expected.checksum:
  • platform/chromium-win/fast/backgrounds/size/backgroundSize22-expected.png:
  • platform/chromium-win/fast/css/background-clip-values-expected.checksum: Added.
  • platform/chromium-win/fast/css/background-clip-values-expected.png: Added.
14:55 Changeset [76069] by andersca@apple.com

2011-01-18 Anders Carlsson <andersca@apple.com>

Reviewed by Dan Bernstein.

Add PageClientImpl::containingWindowGraphicsContext
https://bugs.webkit.org/show_bug.cgi?id=52666

  • UIProcess/API/mac/PageClientImpl.h:
  • UIProcess/API/mac/PageClientImpl.mm: (WebKit::PageClientImpl::containingWindowGraphicsContext):
  • UIProcess/PageClient.h:
  • UIProcess/WebPageProxy.h:
14:53 Changeset [76068] by dbates@webkit.org

2011-01-18 Daniel Bates <dbates@rim.com>

Reviewed by Gavin Barraclough.

Only use moving memory model assumption in ExecutableAllocator::intializePageSize() for Symbian OS
https://bugs.webkit.org/show_bug.cgi?id=52517

Patch by David Tapuska

Currently, we compile code with respect to the Symbian-specific moving memory model
assumption for all ARMv5 or lower architectures. Instead, we should only compile
such code when building for Symbian OS on those architectures because this model
is Symbian-specific.

  • jit/ExecutableAllocator.cpp: (JSC::ExecutableAllocator::intializePageSize):
14:45 Changeset [76067] by zmo@google.com

2011-01-18 Zhenyao Mo <zmo@google.com>

Reviewed by Kenneth Russell.

Make CheckedInt<long> and CheckedInt<unsigned long> work
https://bugs.webkit.org/show_bug.cgi?id=52401

  • html/canvas/CheckedInt.h: (WebCore::CheckedInt::CheckedInt): Merge with the patch provided by Benoit Jacob.
  • html/canvas/WebGLBuffer.cpp: (WebCore::WebGLBuffer::associateBufferDataImpl): Use CheckedInt<long> instead of CheckedInt<int>. (WebCore::WebGLBuffer::associateBufferSubDataImpl): Ditto.
14:30 Changeset [76066] by commit-queue@webkit.org

2011-01-18 Damian Kaleta <dkaleta@apple.com>

Reviewed by Sam Weinig.

WK2 methods WKPageScaleWebView and WKPageGetViewScaleFactor need to have consistent names
https://bugs.webkit.org/show_bug.cgi?id=52647

  • UIProcess/API/C/WKPage.cpp: (WKPageSetScaleFactor): (WKPageGetScaleFactor):
  • UIProcess/API/C/WKPage.h:
14:22 Changeset [76065] by andersca@apple.com

2011-01-18 Anders Carlsson <andersca@apple.com>

Reviewed by Dan Bernstein.

Ask the web page proxy to scroll the view when needed
https://bugs.webkit.org/show_bug.cgi?id=52665

  • UIProcess/DrawingAreaProxyImpl.cpp: (WebKit::DrawingAreaProxyImpl::incorporateUpdate):
  • UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::scrollView):
  • UIProcess/WebPageProxy.h:
14:18 Changeset [76064] by andersca@apple.com

Fix build.

  • UIProcess/win/WebView.cpp:

(WebKit::WebView::scrollView):

14:11 Changeset [76063] by kbr@google.com

2011-01-18 Kenneth Russell <kbr@google.com>

Reviewed by David Levin.

Must strip comments from WebGL shaders before enforcing character set
https://bugs.webkit.org/show_bug.cgi?id=52390

Strip comments from incoming shaders, preserving line numbers,
before validating that they conform to the ESSL character set.
Revert changes from http://trac.webkit.org/changeset/75735 which
allowed invalid characters to be passed to certain APIs.

Tested with WebGL layout tests, conformance test suite and several
WebGL demos in both Safari and Chromium.

  • html/canvas/WebGLRenderingContext.cpp: (WebCore::StripComments::StripComments::process): (WebCore::WebGLRenderingContext::shaderSource):

2011-01-18 Kenneth Russell <kbr@google.com>

Reviewed by David Levin.

Must strip comments from WebGL shaders before enforcing character set
https://bugs.webkit.org/show_bug.cgi?id=52390

Incorporated non-ASCII GLSL conformance tests from Khronos
repository. Updated and synchronized invalid-passed-params.html
with Khronos repository, undoing changes from
http://trac.webkit.org/changeset/75735 .

  • fast/canvas/webgl/glsl-conformance-expected.txt:
  • fast/canvas/webgl/invalid-passed-params-expected.txt:
  • fast/canvas/webgl/invalid-passed-params.html:
  • fast/canvas/webgl/shaders/00_shaders.txt:
  • fast/canvas/webgl/shaders/misc: Added.
  • fast/canvas/webgl/shaders/misc/00_shaders.txt: Added.
  • fast/canvas/webgl/shaders/misc/non-ascii-comments.vert: Added.
  • fast/canvas/webgl/shaders/misc/non-ascii.vert: Added.
14:08 Changeset [76062] by andersca@apple.com

2011-01-18 Anders Carlsson <andersca@apple.com>

Reviewed by Sam Weinig.

Add PageClient::scrollView
https://bugs.webkit.org/show_bug.cgi?id=52663

  • UIProcess/API/mac/PageClientImpl.h:
  • UIProcess/API/mac/PageClientImpl.mm: (WebKit::PageClientImpl::scrollView):
  • UIProcess/API/qt/qwkpage.cpp: (QWKPagePrivate::scrollView):
  • UIProcess/API/qt/qwkpage_p.h:
  • UIProcess/PageClient.h:
  • UIProcess/win/WebView.cpp: (WebKit::PageClientImpl::scrollView):
  • UIProcess/win/WebView.h:
13:55 Changeset [76061] by andersca@apple.com

Rename scrollDelta to scrollOffset everywhere.

Reviewed by Sam Weinig.

  • Shared/UpdateInfo.cpp:

(WebKit::UpdateInfo::encode):
(WebKit::UpdateInfo::decode):

  • Shared/UpdateInfo.h:
  • UIProcess/BackingStore.h:
  • UIProcess/mac/BackingStoreMac.mm:

(WebKit::BackingStore::incorporateUpdate):
(WebKit::BackingStore::scroll):

  • WebProcess/WebCoreSupport/WebChromeClient.cpp:

(WebKit::WebChromeClient::scroll):
(WebKit::WebChromeClient::delegatedScrollRequested):

  • WebProcess/WebCoreSupport/WebChromeClient.h:
  • WebProcess/WebPage/ChunkedUpdateDrawingArea.cpp:

(WebKit::ChunkedUpdateDrawingArea::scroll):

  • WebProcess/WebPage/ChunkedUpdateDrawingArea.h:
  • WebProcess/WebPage/DrawingArea.h:
  • WebProcess/WebPage/DrawingAreaImpl.cpp:

(WebKit::DrawingAreaImpl::scroll):
(WebKit::DrawingAreaImpl::display):

  • WebProcess/WebPage/DrawingAreaImpl.h:
  • WebProcess/WebPage/LayerBackedDrawingArea.cpp:

(WebKit::LayerBackedDrawingArea::scroll):

  • WebProcess/WebPage/LayerBackedDrawingArea.h:
13:46 Changeset [76060] by commit-queue@webkit.org

2011-01-18 Dimitry Andric <dim@freebsd.org>

Reviewed by Andreas Kling.

Fix linking JavaScriptCore on FreeBSD/amd64
https://bugs.webkit.org/show_bug.cgi?id=52591

Linking of JavaScriptCore on FreeBSD/amd64 fails, for the same reason as
in bug 28422: cti_vm_throw needs a "@plt" suffix, otherwise the linker
complains about the relocation type.

  • jit/JITStubs.cpp: use @plt suffix on x86_64 platforms, for both Linux and FreeBSD.
13:43 Changeset [76059] by dpranke@chromium.org

2011-01-18 Dirk Pranke <dpranke@chromium.org>

Reviewed by Ojan Vafai.

Update rebaseline-chromium-webkit-tests unit tests to use a mock
filesystem. Also fix a couple of "with" statements missed by
r76050.

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

  • Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests_unittest.py:
13:37 Changeset [76058] by cmarrin@apple.com

2011-01-18 Chris Marrin <cmarrin@apple.com>

Reviewed by Simon Fraser.

Add LayoutTests for new compositing layer logic
https://bugs.webkit.org/show_bug.cgi?id=52657

Add 4 tests checking that the layer tree is properly constructed with nested
layers. The first test is a simple static test of a layer with a 3D transform
with a non-layered parent. It is a pixel test and is just looking for a correct
image. The second test is similar but has a 4 deep hierarchy of <div> element where
only the innermost layer has a 3D transform. It is also a pixel test.
The other 2 tests are the same except that they add and then remove the innermost
layer's transform. It makes sure the layer tree is correct before and after
these changes.

  • compositing/geometry/layer-due-to-layer-children-deep-switch-expected.txt: Added.
  • compositing/geometry/layer-due-to-layer-children-deep-switch.html: Added.
  • compositing/geometry/layer-due-to-layer-children-deep.html: Added.
  • compositing/geometry/layer-due-to-layer-children-switch-expected.txt: Added.
  • compositing/geometry/layer-due-to-layer-children-switch.html: Added.
  • compositing/geometry/layer-due-to-layer-children.html: Added.
  • platform/mac/compositing/geometry/layer-due-to-layer-children-deep-expected.checksum: Added.
  • platform/mac/compositing/geometry/layer-due-to-layer-children-deep-expected.png: Added.
  • platform/mac/compositing/geometry/layer-due-to-layer-children-deep-expected.txt: Added.
  • platform/mac/compositing/geometry/layer-due-to-layer-children-expected.checksum: Added.
  • platform/mac/compositing/geometry/layer-due-to-layer-children-expected.png: Added.
  • platform/mac/compositing/geometry/layer-due-to-layer-children-expected.txt: Added.
13:33 Changeset [76057] by rniwa@webkit.org

2011-01-18 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Eric Seidel.

Stop instantiating legacy editing positions in DeleteSelectionCommand, IndentOudentCommand,
InsertLineBreakCommand, InsertListCOmmand.cpp, InsertParagraphSeparatorCommand, and htmlediting.cpp
https://bugs.webkit.org/show_bug.cgi?id=52644

This is a cleanup to stop instantiating legacy editing positions in the following tests.
firstDeepEditingPositionForNode and lastDeepEditingPositionForNode in htmlediting.h are not updated
because doing so requires significant code changes. They are tracked on the bug 52642.

  • editing/DeleteSelectionCommand.cpp: (WebCore::DeleteSelectionCommand::initializeStartEnd): (WebCore::updatePositionForNodeRemoval): (WebCore::DeleteSelectionCommand::removeNode): (WebCore::updatePositionForTextRemoval): (WebCore::DeleteSelectionCommand::handleGeneralDelete):
  • editing/IndentOutdentCommand.cpp: (WebCore::IndentOutdentCommand::outdentParagraph):
  • editing/InsertLineBreakCommand.cpp: (WebCore::InsertLineBreakCommand::doApply):
  • editing/InsertListCommand.cpp: (WebCore::InsertListCommand::doApplyForSingleParagraph): (WebCore::InsertListCommand::unlistifyParagraph): (WebCore::InsertListCommand::listifyParagraph):
  • editing/InsertParagraphSeparatorCommand.cpp: (WebCore::InsertParagraphSeparatorCommand::doApply):
  • editing/htmlediting.cpp: (WebCore::enclosingBlock): (WebCore::enclosingList): (WebCore::enclosingListChild): (WebCore::indexForVisiblePosition): (WebCore::isNodeVisiblyContainedWithin): (WebCore::avoidIntersectionWithNode):
13:29 Changeset [76056] by mihaip@chromium.org

2011-01-18 Mihai Parparita <mihaip@chromium.org>

Reviewed by Ojan Vafai.

[Chromium] Update Sputnik test expectations
https://bugs.webkit.org/show_bug.cgi?id=52656

Mark Sputnik tests as WONTFIX, so that they don't artificially inflate
our failing test count.

  • platform/chromium/test_expectations.txt:
13:28 Changeset [76055] by sergio@webkit.org

2011-01-18 Sergio Villar Senin <svillar@igalia.com>

Reviewed by Martin Robinson.

[Gtk] Build fixes for gtk3 build
https://bugs.webkit.org/show_bug.cgi?id=52648

  • DumpRenderTree/gtk/EventSender.cpp: (beginDragWithFilesCallback):
13:28 Changeset [76054] by andersca@apple.com

2011-01-18 Anders Carlsson <andersca@apple.com>

Reviewed by Sam Weinig.

Get and paint each individual rect in -[WKView drawRect:]
https://bugs.webkit.org/show_bug.cgi?id=52660

  • UIProcess/API/mac/WKView.mm: (-[WKView drawRect:]):
13:24 Changeset [76053] by commit-queue@webkit.org

2011-01-18 Benjamin Kalman <kalman@chromium.org>

Reviewed by Ryosuke Niwa.

Tweak style in visible_units.cpp and TextIterator.cpp in preparation for another patch
https://bugs.webkit.org/show_bug.cgi?id=52610

This is a purely aesthetic change.

  • editing/TextIterator.cpp: (WebCore::SimplifiedBackwardsTextIterator::advance):
  • editing/visible_units.cpp: (WebCore::previousBoundary):
13:22 Changeset [76052] by mihaip@chromium.org

2011-01-18 Mihai Parparita <mihaip@chromium.org>

Unreviewed. Update .gitignore to reflect that WebKit is now in Source.

  • .gitignore:
13:17 Changeset [76051] by dimich@chromium.org

[Chromium] Not reviewed, test expectations update.
Added exclusion for new test fast/canvas/canvas-fillPath-alpha-shadow.html

  • platform/chromium-gpu/test_expectations.txt:
  • platform/chromium/test_expectations.txt:
13:10 Changeset [76050] by dpranke@chromium.org

2011-01-18 Dirk Pranke <dpranke@chromium.org>

Reviewed by Mihai Parparita.

Update rebaseline-chromium-webkit-tests to use filesystem objects
instead of direct references to os.path, shutil, tempfile, etc.

This patch doesn't change anything, but will allow subsequent
patches to change the unit tests to no longer use the real
filesystem.

This patch adds a bunch more methods to the filesystem object as
well.

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

  • Scripts/webkitpy/common/system/filesystem.py:
  • Scripts/webkitpy/common/system/filesystem_mock.py:
  • Scripts/webkitpy/tool/commands/queues.py:
  • Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
  • Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests_unittest.py:
13:09 Changeset [76049] by oliver@apple.com

2011-01-18 Oliver Hunt <oliver@apple.com>

Reviewed by Antti Koivisto.

[jsfunfuzz] Assertion in codegen for array of NaN constants
https://bugs.webkit.org/show_bug.cgi?id=52643

Add a testcase to ensure we handle a large number of NaN literals
in (0/0 is folded to NaN automatically during parsing).

  • fast/js/codegen-temporaries-expected.txt:
  • fast/js/script-tests/codegen-temporaries.js:

2011-01-18 Oliver Hunt <oliver@apple.com>

Reviewed by Antti Koivisto.

[jsfunfuzz] Assertion in codegen for array of NaN constants
https://bugs.webkit.org/show_bug.cgi?id=52643

Don't cache NaN literals in the code generator, as NaN doesn't compare
as equal to itself it causes problems when rehashing the number cache.

  • bytecompiler/BytecodeGenerator.cpp: (JSC::BytecodeGenerator::emitLoad):
13:02 Changeset [76048] by commit-queue@webkit.org

2011-01-18 Adam Klein <adamk@chromium.org>

Reviewed by Darin Fisher.

[Chromium] Replace ChromiumBridge::widgetSetCursor with ChromeClient::setCursor
https://bugs.webkit.org/show_bug.cgi?id=42236

  • platform/chromium/ChromiumBridge.h:
  • platform/chromium/WidgetChromium.cpp: (WebCore::Widget::setCursor):

2011-01-18 Adam Klein <adamk@chromium.org>

Reviewed by Darin Fisher.

[Chromium] Replace ChromiumBridge::widgetSetCursor with ChromeClient::setCursor
https://bugs.webkit.org/show_bug.cgi?id=42236

  • src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::setCursor):
  • src/ChromeClientImpl.h:
  • src/ChromiumBridge.cpp:
12:37 Changeset [76047] by commit-queue@webkit.org

2011-01-18 Krithigassree Sambamurthy <krithigassree.sambamurthy@nokia.com>

Reviewed by Simon Fraser.

Support background-clip: content-box
https://bugs.webkit.org/show_bug.cgi?id=48771

Addded content-box as a valid background-clip value.

  • WebCore/css/CSSParser.cpp: (WebCore::parseBackgroundClip):

2011-01-18 Krithigassree Sambamurthy <krithigassree.sambamurthy@nokia.com>

Reviewed by Simon Fraser.

Support background-clip: content-box
https://bugs.webkit.org/show_bug.cgi?id=48771

Added test cases to check the various valid background-clip values.

  • fast/css/background-clip-text-expected.txt:
  • fast/css/background-clip-values-expected.checksum: Added.
  • fast/css/background-clip-values-expected.txt: Added.
  • fast/css/background-clip-values.html: Added.
  • fast/css/script-tests/background-clip-text.js:
12:34 Changeset [76046] by andersca@apple.com

2011-01-18 Anders Carlsson <andersca@apple.com>

Reviewed by Darin Adler.

Assertion when loading two URLs in quick succession
https://bugs.webkit.org/show_bug.cgi?id=52649
<rdar://problem/8764645>

If beginLoad is called twice without didStartProvisionalLoad being called in between,
m_pendingProvisionalSandboxExtension would be non-null and an assert would fire.

  • WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::SandboxExtensionTracker::beginLoad): Instead of asserting that m_pendingProvisionalSandboxExtension is null, invalidate it if it is not null, since that's valid.
12:32 Changeset [76045] by dpranke@chromium.org

2011-01-18 Dirk Pranke <dpranke@chromium.org>

Reviewed by Mihai Parparita.

new-run-webkit-tests shouldn't crash when you try to run a
directory containing only skipped files.

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

  • Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
  • Scripts/webkitpy/layout_tests/port/test.py:
  • Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
12:27 Changeset [76044] by cfleizach@apple.com

REGRESSION: A problem with Voiceover and finding links
https://bugs.webkit.org/show_bug.cgi?id=52324

Reviewed by Darin Adler.

Source/WebCore:

Fallout from recent change to make WebCore return its own scroll view.

1) There were two scroll views in the hierarchy, one which no needed to be ignored.
2) Hit tests for sub frames needed to be offset.
3) The check for whether an attachment is ignored must happen earlier than using

the helpText to determine if an element should be ignored.

Test: platform/mac/accessibility/iframe-with-title-correct-hierarchy.html

  • accessibility/AccessibilityObject.cpp:

(WebCore::AccessibilityObject::elementAccessibilityHitTest):

  • accessibility/AccessibilityRenderObject.cpp:

(WebCore::AccessibilityRenderObject::accessibilityIsIgnored):

  • accessibility/mac/AccessibilityObjectWrapper.mm:

(-[AccessibilityObjectWrapper scrollViewParent]):

Source/WebKit/mac:

  • WebView/WebDynamicScrollBarsView.mm:

(-[WebDynamicScrollBarsView accessibilityIsIgnored]):

LayoutTests:

  • platform/mac/accessibility/iframe-with-title-correct-hierarchy-expected.txt: Added.
  • platform/mac/accessibility/iframe-with-title-correct-hierarchy.html: Added.
12:09 Changeset [76043] by andersca@apple.com

2011-01-18 Anders Carlsson <andersca@apple.com>

Reviewed by Sam Weinig.

Implement NPN_PopUpContextMenu
https://bugs.webkit.org/show_bug.cgi?id=52646
<rdar://problem/8735616>

  • WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp: (WebKit::NPN_PopUpContextMenu): Call NetscapePlugin::popUpContextMenu.
  • WebProcess/Plugins/Netscape/NetscapePlugin.cpp: (WebKit::NetscapePlugin::NetscapePlugin): Initialize m_currentMouseEvent.
  • WebProcess/Plugins/Netscape/NetscapePlugin.h: Add m_currentMouseEvent.
  • WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm: (WebKit::NetscapePlugin::popUpContextMenu): Convert the coordinates from the current mouse event to screen coordinates and call WKPopupContextMenu.

(WebKit::NetscapePlugin::platformHandleMouseEvent):
Update m_currentMouseEvent.

11:56 Changeset [76042] by andersca@apple.com

Add WKPopupContextMenu.

Reviewed by Darin Adler.

  • WebKitSystemInterface.h:
  • libWebKitSystemInterfaceLeopard.a:
  • libWebKitSystemInterfaceSnowLeopard.a:
11:15 Changeset [76041] by aroben@apple.com

Call alternate CFHTTPCookie functions if available

Fixes <http://webkit.org/b/52637> <rdar://problem/8878984>.

Reviewed by Darin Adler.

  • platform/network/cf/CookieJarCFNet.cpp: Added soft-linking macros to

pull in the alternate CFHTTPCookie functions.

(WebCore::cookieDomain):
(WebCore::cookieExpirationTime):
(WebCore::cookieName):
(WebCore::cookiePath):
(WebCore::cookieValue):
Added these wrappers around the CFHTTPCookie functions. We call the
alternate functions if they exist, otherwise fall back to the current
functions.

(WebCore::filterCookies):
(WebCore::getRawCookies):
(WebCore::deleteCookie):
Changed to use the wrapper functions.

11:06 Changeset [76040] by jberlin@webkit.org

WebKit2: Do not assert that the provisional and committed URLs cannot be empty/null
https://bugs.webkit.org/show_bug.cgi?id=52641

Reviewed by Darin Adler.

  • UIProcess/WebFrameProxy.cpp:

(WebKit::WebFrameProxy::didStartProvisionalLoad):
(WebKit::WebFrameProxy::didCommitLoad):
(WebKit::WebFrameProxy::didFinishLoad):

11:06 Changeset [76039] by mrobinson@webkit.org

2011-01-18 Martin Robinson <mrobinson@igalia.com>

Reviewed by Eric Seidel.

[GTK] Filenames are converted to URLs during edit drags
https://bugs.webkit.org/show_bug.cgi?id=52096

  • platform/gtk/Skipped: Unskip passing test. Fix a misspelled drag and drop test on the list as well.

2011-01-18 Martin Robinson <mrobinson@igalia.com>

Reviewed by Eric Seidel.

[GTK] Filenames are converted to URLs during edit drags
https://bugs.webkit.org/show_bug.cgi?id=52096

  • platform/gtk/DragDataGtk.cpp: Only advertise and deliver filenames as URLs if the conversion policy allows it. (WebCore::DragData::containsURL): Ditto. (WebCore::DragData::asURL): Ditto.
10:53 Changeset [76038] by jorlow@chromium.org

2011-01-18 Jeremy Orlow <jorlow@chromium.org>

[Chromium] Create baselines for svg/css/text-gradient-shadow.svg
https://bugs.webkit.org/show_bug.cgi?id=52640

  • platform/chromium-linux/svg/css/text-gradient-shadow-expected.checksum: Added.
  • platform/chromium-linux/svg/css/text-gradient-shadow-expected.png: Added.
  • platform/chromium-mac/svg/css/text-gradient-shadow-expected.checksum: Added.
  • platform/chromium-win/svg/css/text-gradient-shadow-expected.checksum: Added.
  • platform/chromium-win/svg/css/text-gradient-shadow-expected.png: Added.
  • platform/chromium-win/svg/css/text-gradient-shadow-expected.txt: Added.
  • platform/chromium/test_expectations.txt:
10:49 Changeset [76037] by mrobinson@webkit.org

2011-01-18 Martin Robinson <mrobinson@igalia.com>

Skip two tests which were incorrectly passing before GTK+
had support for beginDragWithFiles.

  • platform/gtk/Skipped: Skip failing tests.
10:24 Changeset [76036] by andersca@apple.com

2011-01-18 Anders Carlsson <andersca@apple.com>

Reviewed by Sam Weinig.

ASSERT in plug-in code when going to youtube
https://bugs.webkit.org/show_bug.cgi?id=52638

  • PluginProcess/PluginControllerProxy.cpp: (WebKit::PluginControllerProxy::paintEntirePlugin): Don't try to paint the plug-in if the plug-in frame is empty.
10:15 Changeset [76035] by jknotten@chromium.org

2011-01-18 John Knottenbelt <jknotten@chromium.org>

Reviewed by Jeremy Orlow.

[Chromium] Adjust test expectations fast/files/revoke-blob-url.html is flaky on linux.
https://bugs.webkit.org/show_bug.cgi?id=52633

Combine test expectations for the test into one line.

  • platform/chromium/test_expectations.txt:
10:11 Changeset [76034] by andersca@apple.com

2011-01-18 Anders Carlsson <andersca@apple.com>

Reviewed by Dan Bernstein.

Plug-in hosting WebProcess instances appear in Activity Monitor as WebProcess
https://bugs.webkit.org/show_bug.cgi?id=52635
<rdar://problem/8731337>

  • PluginProcess/PluginProcess.cpp: (WebKit::PluginProcess::initialize): Call platformInitialize.
  • PluginProcess/PluginProcess.h: Add platformInitialize.
  • PluginProcess/mac/PluginProcessMac.mm: (WebKit::PluginProcess::platformInitialize): Set the compositing render server port and the visible application name.
  • Shared/Plugins/PluginProcessCreationParameters.cpp: (WebKit::PluginProcessCreationParameters::encode): (WebKit::PluginProcessCreationParameters::decode): Encode/decode the parent process name.
  • Shared/Plugins/PluginProcessCreationParameters.h: Add parentProcessName.
  • Shared/WebProcessCreationParameters.cpp: (WebKit::WebProcessCreationParameters::encode): (WebKit::WebProcessCreationParameters::decode): Encode/decode the parent process name.
  • Shared/WebProcessCreationParameters.h: Add parentProcessName.
  • UIProcess/Launcher/mac/ProcessLauncherMac.mm: (WebKit::ProcessLauncher::launchProcess): Don't pass the parent process name here.
  • UIProcess/Plugins/mac/PluginProcessProxyMac.mm: (WebKit::PluginProcessProxy::platformInitializePluginProcess): Set the visible name.
  • UIProcess/mac/WebContextMac.mm: (WebKit::WebContext::platformInitializeWebProcess): Pass along the parent process name.
  • WebProcess/mac/WebProcessMac.mm: (WebKit::WebProcess::platformInitializeWebProcess): Set the visible name.
  • WebProcess/mac/WebProcessMainMac.mm: (WebKit::WebProcessMain): Don't set the visible name here. It's done in platformInitializeWebProcess.
10:10 Changeset [76033] by commit-queue@webkit.org

2011-01-18 Helder Correia <helder@sencha.com>

Reviewed by Kenneth Rohde Christiansen.

[Qt] Incorrect shadow alpha with semi-transparent solid fillStyle
https://bugs.webkit.org/show_bug.cgi?id=52611

This is related to bug 52559. The shadow color alpha must be multiplied
by the context brush alpha.

New test to ensure correct behavior of canvas with fillPath using a
semi-transparent fillStyle color and a shadow.

  • fast/canvas/canvas-fillPath-alpha-shadow-expected.txt: Added.
  • fast/canvas/canvas-fillPath-alpha-shadow.html: Added.
  • fast/canvas/script-tests/canvas-fillPath-alpha-shadow.js: Added.

2011-01-18 Helder Correia <helder@sencha.com>

Reviewed by Kenneth Rohde Christiansen.

[Qt] Incorrect shadow alpha with semi-transparent solid fillStyle
https://bugs.webkit.org/show_bug.cgi?id=52611

This is related to bug 52559. The shadow color alpha must be multiplied
by the context brush alpha.

Test: fast/canvas/canvas-fillPath-alpha-shadow.html

  • platform/graphics/qt/GraphicsContextQt.cpp: (WebCore::GraphicsContext::fillPath):
09:56 Changeset [76032] by jknotten@chromium.org

2011-01-18 John Knottenbelt <jknotten@chromium.org>

Unreviewed; updated chromium test expectations.

[Chromium] Adjust test expectations fast/files/revoke-blob-url.html is flaky on linux.
https://bugs.webkit.org/show_bug.cgi?id=52633

  • platform/chromium/test_expectations.txt:
09:47 Changeset [76031] by mrobinson@webkit.org

2011-01-18 Adam Bergkvist <adam.bergkvist@ericsson.com> and Martin Robinson <mrobinson@igalia.com>

Reviewed by Gustavo Noronha Silva.

[GTK] The GTK+ EventSender needs support for beginDragWithFiles
https://bugs.webkit.org/show_bug.cgi?id=40833

Unskip passing tests, add in a GTK+-specific result and one more result
which is necessary because GTK+ tests run in Xvfb.

  • platform/gtk/Skipped: Unskip tests that are now passing and organize the remaining skipped tests.
  • platform/gtk/fast/forms/input-file-re-render-expected.txt: Added.
  • platform/gtk/http/tests/security/clipboard/clipboard-file-access-expected.txt: Added.

2011-01-18 Adam Bergkvist <adam.bergkvist@ericsson.com> and Martin Robinson <mrobinson@igalia.com>

Reviewed by Gustavo Noronha Silva.

[GTK] The GTK+ EventSender needs support for beginDragWithFiles
https://bugs.webkit.org/show_bug.cgi?id=40833

  • DumpRenderTree/gtk/EventSender.cpp: Add a beginDragWithFiles implementation for the GTK+ event sender. (dragWithFilesDragDataGetCallback): Added. (dragWithFilesDragEndCallback): Added. (beginDragWithFilesCallback): Added.
09:40 Changeset [76030] by caseq@chromium.org

2011-01-18 Andrey Kosyakov <caseq@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: fail resource.requestContent() immediately for WebSocket resources
Remove webInspector.resources.Types from test expectations.
https://bugs.webkit.org/show_bug.cgi?id=52628

  • inspector/extensions-api-expected.txt:

2011-01-18 Andrey Kosyakov <caseq@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: fail resource.requestContent() immediately for WebSocket resources
https://bugs.webkit.org/show_bug.cgi?id=52628

  • English.lproj/localizedStrings.js: Rename WebSocket -> WebSockets in resource catetegories (rest are in plural, too)
  • inspector/front-end/ExtensionServer.js: Do not expose webInspector.resources.Types in extensions API (obsolete) (WebInspector.ExtensionServer.prototype._buildExtensionAPIInjectedScript):
  • inspector/front-end/Resource.js: (WebInspector.Resource.Type.toUIString): Remove ResourceType.Media as it's not used. (WebInspector.Resource.Type.toString): ditto. (WebInspector.Resource.prototype.requestContent): Fail immediately for WebSocket resources.
  • inspector/front-end/inspector.js: Rename WebSocket -> WebSockets in resource catetegories (rest are in plural, too)
09:19 Changeset [76029] by commit-queue@webkit.org

2011-01-18 Helder Correia <helder@sencha.com>

Reviewed by Dirk Schulze.

REGRESSION(75139): SVG gradients are not applied to texts
https://bugs.webkit.org/show_bug.cgi?id=52531

r75139 caused a problem with filling and stroking text with a gradient
fill in SVG. The order of CGContextConcatCTM and CGContextClipToRect
was mixed up.

  • platform/mac/svg/css/text-gradient-shadow-expected.checksum: Added.
  • platform/mac/svg/css/text-gradient-shadow-expected.png: Added.
  • platform/mac/svg/css/text-gradient-shadow-expected.txt: Added.
  • svg/css/text-gradient-shadow.svg: Added.

2011-01-18 Helder Correia <helder@sencha.com>

Reviewed by Dirk Schulze.

REGRESSION(75139): SVG gradients are not applied to texts
https://bugs.webkit.org/show_bug.cgi?id=52531

r75139 caused a problem with filling and stroking text with a gradient
fill in SVG. The order of CGContextConcatCTM and CGContextClipToRect
was mixed up.

Test: svg/css/text-gradient-shadow.svg

  • platform/graphics/cg/GraphicsContextCG.cpp: (WebCore::GraphicsContext::fillRect):
09:07 Changeset [76028] by jknotten@chromium.org

2011-01-18 John Knottenbelt <jknotten@chromium.org>

Reviewed by Jeremy Orlow.

Add pixel test baseline for svg/custom/use-inherit-style.svg
https://bugs.webkit.org/show_bug.cgi?id=52630

  • svg/custom/use-inherit-style-expected.checksum: Added.
  • svg/custom/use-inherit-style-expected.png: Added.
07:56 Changeset [76027] by commit-queue@webkit.org

2011-01-18 Leo Yang <leo.yang@torchmobile.com.cn>

Reviewed by Nikolas Zimmermann.

Unable to indirectly animate visibility of SVGUseElement
https://bugs.webkit.org/show_bug.cgi?id=50240

Test case to verify if SVGUseElement inherits parent's
style change.

  • svg/custom/use-inherit-style-expected.txt: Added.
  • svg/custom/use-inherit-style.svg: Added.

2011-01-18 Leo Yang <leo.yang@torchmobile.com.cn>

Reviewed by Nikolas Zimmermann.

Unable to indirectly animate visibility of SVGUseElement
https://bugs.webkit.org/show_bug.cgi?id=50240

SVGUseElement::recalcStyle should take care of its shadow
tree's style recalculation when it is called with change >= Inherit
or when childNeedsStyleRecalc() is true because in these two
cases needStyleRecalc() may not be true.

Test: svg/custom/use-inherit-style.svg

  • svg/SVGUseElement.cpp: (WebCore::SVGUseElement::recalcStyle):
07:34 Changeset [76026] by podivilov@chromium.org

2011-01-18 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: provide script length to frontend.
https://bugs.webkit.org/show_bug.cgi?id=52620

  • inspector/Inspector.idl:
  • inspector/InspectorDebuggerAgent.cpp: (WebCore::InspectorDebuggerAgent::didParseSource):
  • inspector/front-end/DebuggerModel.js: (WebInspector.DebuggerModel.prototype._parsedScriptSource): (WebInspector.DebuggerDispatcher.prototype.parsedScriptSource):
  • inspector/front-end/Script.js: (WebInspector.Script):
07:30 Changeset [76025] by podivilov@chromium.org

2011-01-18 Pavel Podivilov <podivilov@chromium.org>

Unreviewed, remove wrong chromium expectation for console-xhr-logging test.

  • platform/chromium/http/tests/inspector/console-xhr-logging-expected.txt: Removed.
06:49 BuildingCairoOnWindows edited by d.nusman@re-lion.com
(diff)
06:48 Changeset [76024] by zherczeg@webkit.org

Fixing ChangeLog

Rubber-stamped by Csaba Osztrogonác

Removing a line introduced by
http://trac.webkit.org/changeset/75743/trunk/Source/WebCore/ChangeLog
Removing an unnecessary space before a time stamp.

06:34 Changeset [76023] by podivilov@chromium.org

2011-01-18 Pavel Podivilov <podivilov@chromium.org>

Unreviewed, test fix for r76019.

  • http/tests/inspector-enabled/console-log-before-frame-navigation-expected.txt:
  • http/tests/inspector-enabled/console-log-before-frame-navigation.html:
06:25 Changeset [76022] by caseq@chromium.org

2011-01-17 Andrey Kosyakov <caseq@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: [refactoring] use events to notify NetworkManager clients
https://bugs.webkit.org/show_bug.cgi?id=52588

  • inspector/front-end/AuditLauncherView.js: (WebInspector.AuditLauncherView): Do not expose public interface to resource count. Do not reset resource count upon reset(). (WebInspector.AuditLauncherView.prototype._resetResourceCount): (WebInspector.AuditLauncherView.prototype._onResourceStarted): (WebInspector.AuditLauncherView.prototype._onResourceFinished):
  • inspector/front-end/AuditsPanel.js: Do not expose public interface to resource start/finish events.
  • inspector/front-end/ExtensionServer.js: (WebInspector.ExtensionServer): (WebInspector.ExtensionServer.prototype._notifyResourceFinished): (WebInspector.ExtensionServer.prototype.initExtensions):
  • inspector/front-end/NetworkManager.js: Dispatch events rather than directly call clients. (WebInspector.NetworkManager): (WebInspector.NetworkManager.prototype.willSendRequest): (WebInspector.NetworkManager.prototype.markResourceAsCached): (WebInspector.NetworkManager.prototype.didReceiveResponse): (WebInspector.NetworkManager.prototype.didReceiveContentLength): (WebInspector.NetworkManager.prototype.setInitialContent): (WebInspector.NetworkManager.prototype.didCommitLoadForFrame): (WebInspector.NetworkManager.prototype.willSendWebSocketHandshakeRequest): (WebInspector.NetworkManager.prototype.didReceiveWebSocketHandshakeResponse): (WebInspector.NetworkManager.prototype._startResource): (WebInspector.NetworkManager.prototype._finishResource):
  • inspector/front-end/NetworkPanel.js: (WebInspector.NetworkPanel): (WebInspector.NetworkPanel.prototype._onResourceStarted): (WebInspector.NetworkPanel.prototype._appendResource): (WebInspector.NetworkPanel.prototype._onResourceUpdated): (WebInspector.NetworkPanel.prototype._refreshResource): (WebInspector.NetworkPanel.prototype._onMainResourceChanged):
  • inspector/front-end/ResourcesPanel.js: (WebInspector.ResourcesPanel): (WebInspector.ResourcesPanel.prototype._refreshResource):
06:20 Changeset [76021] by pfeldman@chromium.org

2011-01-18 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: preserve pause on exception state in settings.
https://bugs.webkit.org/show_bug.cgi?id=52619

  • inspector/InspectorController.cpp: (WebCore::InspectorController::getInspectorState):
  • inspector/InspectorDebuggerAgent.cpp: (WebCore::InspectorDebuggerAgent::setPauseOnExceptionsState):
  • inspector/InspectorDebuggerAgent.h:
  • inspector/front-end/ScriptsPanel.js: (WebInspector.ScriptsPanel): (WebInspector.ScriptsPanel.prototype.debuggerWasEnabled): (WebInspector.ScriptsPanel.prototype._updatePauseOnExceptionsState): (WebInspector.ScriptsPanel.prototype._togglePauseOnExceptions): (WebInspector.ScriptsPanel.prototype._setPauseOnExceptions):
  • inspector/front-end/Settings.js: (WebInspector.Settings):
  • inspector/front-end/inspector.js: (WebInspector.doLoadedDone.populateInspectorState):
06:09 Changeset [76020] by podivilov@chromium.org

2011-01-18 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: fix flaky debugger tests.
https://bugs.webkit.org/show_bug.cgi?id=51320

  • http/tests/inspector/debugger-test2.js: (initialize_DebuggerTest.InspectorTest.setBreakpoint): (initialize_DebuggerTest.InspectorTest.showScriptSource): (initialize_DebuggerTest.InspectorTest._showScriptSource):
  • inspector/debugger-pause-on-breakpoint-expected.txt:
  • inspector/debugger-pause-on-breakpoint.html:
05:54 Changeset [76019] by podivilov@chromium.org

2011-01-18 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: [REGRESSION] JavaScript exceptions aren't shown in source frame.
https://bugs.webkit.org/show_bug.cgi?id=52623

  • inspector/front-end/ConsoleView.js: (WebInspector.ConsoleMessage): (WebInspector.ConsoleMessage.prototype._formatMessage):
05:42 Changeset [76018] by pfeldman@chromium.org

2011-01-18 Pavel Feldman <pfeldman@chromium.org>

Revert r76017. No need to guard InspectorInstrumentation
in WebCore.
  • page/Page.cpp: (WebCore::networkStateChanged):
04:44 Changeset [76017] by commit-queue@webkit.org

2011-01-18 Konstantin Tokarev <annulen@yandex.ru>

Reviewed by Kent Tamura.

Fixed compilation when Inspector is disabled
https://bugs.webkit.org/show_bug.cgi?id=52564

  • page/Page.cpp: (WebCore::networkStateChanged): Added ENABLE(INSPECTOR) guard
04:26 Changeset [76016] by morrita@google.com

2011-01-18 MORITA Hajime <morrita@google.com>

Unreviewed, rolling out r76004, r76005, r76007, and r76011.
http://trac.webkit.org/changeset/76004
http://trac.webkit.org/changeset/76005
http://trac.webkit.org/changeset/76007
http://trac.webkit.org/changeset/76011
https://bugs.webkit.org/show_bug.cgi?id=51664

The r76004 broke pixel tests.
(The failure was missed due to the tolerance.)

  • Android.mk:
  • CMakeLists.txt:
  • GNUmakefile.am:
  • WebCore.gypi:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • platform/graphics/GraphicsContext.cpp: (WebCore::GraphicsContext::addRoundedRectClip): (WebCore::GraphicsContext::clipOutRoundedRect):
  • platform/graphics/GraphicsContext.h:
  • platform/graphics/RoundedIntRect.cpp: Removed.
  • platform/graphics/RoundedIntRect.h: Removed.
  • rendering/RenderBox.cpp: (WebCore::RenderBox::pushContentsClip):
  • rendering/RenderBoxModelObject.cpp: (WebCore::RenderBoxModelObject::paintFillLayerExtended): (WebCore::RenderBoxModelObject::paintBorder): (WebCore::RenderBoxModelObject::clipBorderSidePolygon): (WebCore::uniformlyExpandBorderRadii): (WebCore::RenderBoxModelObject::paintBoxShadow):
  • rendering/RenderBoxModelObject.h:
  • rendering/RenderObject.cpp: (WebCore::RenderObject::drawBoxSideFromPath):
  • rendering/RenderReplaced.cpp: (WebCore::RenderReplaced::paint):
  • rendering/RenderThemeChromiumWin.cpp: (WebCore::RenderThemeChromiumWin::paintTextFieldInternal):
  • rendering/RenderThemeMac.mm: (WebCore::RenderThemeMac::paintMenuListButtonGradients): (WebCore::RenderThemeMac::paintSliderTrack):
  • rendering/RenderThemeSafari.cpp: (WebCore::RenderThemeSafari::paintMenuListButtonGradients): (WebCore::RenderThemeSafari::paintSliderTrack):
  • rendering/RenderThemeWinCE.cpp: (WebCore::RenderThemeWinCE::paintSearchFieldCancelButton):
  • rendering/RenderWidget.cpp: (WebCore::RenderWidget::paint):
  • rendering/style/BorderData.h:
  • rendering/style/RenderStyle.cpp: (WebCore::constrainCornerRadiiForRect): (WebCore::RenderStyle::getBorderRadiiForRect): (WebCore::RenderStyle::getInnerBorderRadiiForRectWithBorderWidths):
  • rendering/style/RenderStyle.h:
04:19 Changeset [76015] by hayato@chromium.org

2011-01-18 Hayato Ito <hayato@chromium.org>

Reviewed by Kent Tamura.

Update .gitignore file to reflect a recent WebKit directory movement.

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

  • .gitignore:
04:16 Changeset [76014] by kbalazs@webkit.org

[Qt][WK2] Not implemented warnings should not break layout tests
https://bugs.webkit.org/show_bug.cgi?id=52616

Reviewed by Csaba Osztrogonác.

  • WebKit2Prefix.h: Define DISABLE_NOT_IMPLEMENTED_WARNINGS on Qt.
03:04 Changeset [76013] by podivilov@chromium.org

2011-01-17 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: add source column field to debugger call frames.
https://bugs.webkit.org/show_bug.cgi?id=52443

  • bindings/js/JavaScriptCallFrame.cpp: (WebCore::JavaScriptCallFrame::JavaScriptCallFrame):
  • bindings/js/JavaScriptCallFrame.h: (WebCore::JavaScriptCallFrame::create): (WebCore::JavaScriptCallFrame::line): (WebCore::JavaScriptCallFrame::column): (WebCore::JavaScriptCallFrame::update):
  • bindings/js/ScriptDebugServer.cpp: (WebCore::ScriptDebugServer::createCallFrameAndPauseIfNeeded): (WebCore::ScriptDebugServer::updateCallFrameAndPauseIfNeeded): (WebCore::ScriptDebugServer::callEvent): (WebCore::ScriptDebugServer::atStatement): (WebCore::ScriptDebugServer::returnEvent): (WebCore::ScriptDebugServer::exception): (WebCore::ScriptDebugServer::willExecuteProgram): (WebCore::ScriptDebugServer::didExecuteProgram): (WebCore::ScriptDebugServer::didReachBreakpoint):
  • bindings/js/ScriptDebugServer.h:
  • bindings/v8/DebuggerScript.js: ():
  • bindings/v8/JavaScriptCallFrame.cpp: (WebCore::JavaScriptCallFrame::column):
  • bindings/v8/JavaScriptCallFrame.h:
  • inspector/InjectedScriptSource.js: ():
  • inspector/JavaScriptCallFrame.idl:

2011-01-18 Antti Koivisto <antti@apple.com>

Reviewed by Dave Hyatt.

https://bugs.webkit.org/show_bug.cgi?id=52370
<rdar://problem/8856808>
Style sharing optimization no longer works on major web sites

The code in CSSStyleSelector::locateSharedStyle() that tries to share style information between element has been defeated
by widespread use of certain CSS selectors (:first-child pseudo class and similar). The current implementation disables
the sharing optimization for the whole page if one of these constructs is seen in any style sheet used by the page.

This patch gets the style sharing back to 25-40% range on most web sites.

  • css/CSSMutableStyleDeclaration.h: (WebCore::CSSMutableStyleDeclaration::propertiesEqual):

Needed to improve equality checking in NamedNodeMap::mappedMapsEquivalent.

  • css/CSSSelector.h: (WebCore::CSSSelector::isSiblingSelector):

Test for selectors that are affected by the sibling elements.

  • css/CSSStyleSelector.cpp: (WebCore::elementCanUseSimpleDefaultStyle): (WebCore::collectSiblingRulesInDefaultStyle): (WebCore::assertNoSiblingRulesInDefaultStyle):

Extract sibling rules from the MathML default stylesheet.
Assert that no other default stylesheet has them.

(WebCore::CSSStyleSelector::CSSStyleSelector):
(WebCore::CSSStyleSelector::locateCousinList):
(WebCore::CSSStyleSelector::matchesSiblingRules):
(WebCore::CSSStyleSelector::canShareStyleWithElement):
(WebCore::CSSStyleSelector::locateSharedStyle):
(WebCore::CSSStyleSelector::styleForElement):
(WebCore::collectIdsAndSiblingRulesFromList):
(WebCore::CSSRuleSet::collectIdsAndSiblingRules):

Track sibling rules and ids used in the stylesheets to allow much more fine-grained rejection of cases
where style sharing can't be used.

  • css/CSSStyleSelector.h:
  • dom/NamedNodeMap.cpp: (WebCore::NamedNodeMap::mappedMapsEquivalent):

Check also for CSSValue mutation from DOM.

  • mathml/MathMLMathElement.cpp: (WebCore::MathMLMathElement::insertedIntoDocument):
  • mathml/MathMLMathElement.h:

MathML default style sheet has sibling rules which don't get noticed by the normal document
stylesheet parsing.

  • rendering/style/RenderStyle.h: (WebCore::InheritedFlags::setFirstChildState): (WebCore::InheritedFlags::setLastChildState): (WebCore::InheritedFlags::setChildIndex):

These all make style non-shareable (unique).

02:48 Changeset [76012] by antti@apple.com

Source/WebCore: 2011-01-18 Antti Koivisto <antti@apple.com>

Reviewed by Dave Hyatt.

https://bugs.webkit.org/show_bug.cgi?id=52370
<rdar://problem/8856808>
Style sharing optimization no longer works on major web sites

The code in CSSStyleSelector::locateSharedStyle() that tries to share style information between element has been defeated
by widespread use of certain CSS selectors (:first-child pseudo class and similar). The current implementation disables
the sharing optimization for the whole page if one of these constructs is seen in any style sheet used by the page.

This patch gets the style sharing back to 25-40% range on most web sites.

  • css/CSSMutableStyleDeclaration.h:

(WebCore::CSSMutableStyleDeclaration::propertiesEqual):

Needed to improve equality checking in NamedNodeMap::mappedMapsEquivalent.


  • css/CSSSelector.h:

(WebCore::CSSSelector::isSiblingSelector):

Test for selectors that are affected by the sibling elements.


  • css/CSSStyleSelector.cpp:

(WebCore::elementCanUseSimpleDefaultStyle):
(WebCore::collectSiblingRulesInDefaultStyle):
(WebCore::assertNoSiblingRulesInDefaultStyle):

Extract sibling rules from the MathML default stylesheet.
Assert that no other default stylesheet has them.


(WebCore::CSSStyleSelector::CSSStyleSelector):
(WebCore::CSSStyleSelector::locateCousinList):
(WebCore::CSSStyleSelector::matchesSiblingRules):
(WebCore::CSSStyleSelector::canShareStyleWithElement):
(WebCore::CSSStyleSelector::locateSharedStyle):
(WebCore::CSSStyleSelector::styleForElement):
(WebCore::collectIdsAndSiblingRulesFromList):
(WebCore::CSSRuleSet::collectIdsAndSiblingRules):

Track sibling rules and ids used in the stylesheets to allow much more fine-grained rejection of cases
where style sharing can't be used.

  • css/CSSStyleSelector.h:
  • dom/NamedNodeMap.cpp:

(WebCore::NamedNodeMap::mappedMapsEquivalent):

Check also for CSSValue mutation from DOM.


  • mathml/MathMLMathElement.cpp:

(WebCore::MathMLMathElement::insertedIntoDocument):

  • mathml/MathMLMathElement.h:


MathML default style sheet has sibling rules which don't get noticed by the normal document
stylesheet parsing.


  • rendering/style/RenderStyle.h:

(WebCore::InheritedFlags::setFirstChildState):
(WebCore::InheritedFlags::setLastChildState):
(WebCore::InheritedFlags::setChildIndex):

These all make style non-shareable (unique).

LayoutTests: https://bugs.webkit.org/show_bug.cgi?id=52370
Style sharing optimization no longer works on major web sites

Reviewed by Dave Hyatt.

These are progressions (with no noticable visual change).
MathML code was improperly sharing style.

  • platform/mac/mathml/presentation/fractions-vertical-alignment-expected.txt:
  • platform/mac/mathml/presentation/subsup-expected.txt:
02:37 Changeset [76011] by morrita@google.com

2011-01-18 MORITA Hajime <morrita@google.com>

Unreviewed crash fix on release builds.

  • rendering/RenderBoxModelObject.cpp: (WebCore::RenderBoxModelObject::paintFillLayerExtended):
02:20 Changeset [76010] by podivilov@chromium.org

2011-01-18 Pavel Podivilov <podivilov@chromium.org>

Unreviewed, update localizedStrings.js.

  • English.lproj/localizedStrings.js:
02:15 Changeset [76009] by podivilov@chromium.org

2011-01-11 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: implement script beautifier prototype.
https://bugs.webkit.org/show_bug.cgi?id=51588

  • WebCore.gypi:
  • WebCore.vcproj/WebCore.vcproj:
  • inspector/front-end/ScriptFormatter.js: Added. (WebInspector.ScriptFormatter): Implements JavaScript source beautification and conversion between original and formatted line numbers (WebInspector.ScriptFormatter.findLineEndings): (WebInspector.ScriptFormatter.locationToPosition): (WebInspector.ScriptFormatter.positionToLocation): (WebInspector.ScriptFormatter.upperBound): (WebInspector.ScriptFormatter.prototype.format): (WebInspector.ScriptFormatter.prototype.originalLineNumberToFormattedLineNumber): (WebInspector.ScriptFormatter.prototype.formattedLineNumberToOriginalLineNumber): (WebInspector.ScriptFormatter.prototype.originalPositionToFormattedLineNumber): (WebInspector.ScriptFormatter.prototype.formattedLineNumberToOriginalPosition): (WebInspector.ScriptFormatter.prototype._convertPosition):
  • inspector/front-end/ScriptsPanel.js: (WebInspector.ScriptsPanel): (WebInspector.ScriptsPanel.prototype._clearCurrentExecutionLine): (WebInspector.ScriptsPanel.prototype._callFrameSelected): (WebInspector.ScriptsPanel.prototype._formatScript):
  • inspector/front-end/SourceFrame.js: Convert original line numbers to UI line numbers and vice versa
  • inspector/front-end/WebKit.qrc:
  • inspector/front-end/inspector.html:
02:02 Changeset [76008] by gyuyoung.kim@samsung.com

2011-01-18 Gyuyoung Kim <gyuyoung.kim@samsung.com>

Reviewed by Adam Barth.

ews: Add additional watcher to efl ews
https://bugs.webkit.org/show_bug.cgi?id=52613

Add gyuyoung.kim@samsung.com to watcher list of efl-ews.

  • Scripts/webkitpy/tool/commands/earlywarningsystem.py:
01:32 Changeset [76007] by philn@webkit.org

2011-01-18 Philippe Normand <pnormand@igalia.com>

Unreviewed, GTK build fix as follow-up of r76004.

  • GNUmakefile.am: Include RoundedIntRect files in the build
01:24 Changeset [76006] by philn@webkit.org

2011-01-18 Philippe Normand <pnormand@igalia.com>

Unreviewed, rolling out r76002.
http://trac.webkit.org/changeset/76002
https://bugs.webkit.org/show_bug.cgi?id=49790

breaks a bunch of fast/forms tests on mac and GTK

  • fast/forms/select-option-background-color-change.html: Removed.
  • fast/forms/select-option-color-change.html: Removed.
  • fast/forms/select-option-visibility-change.html: Removed.
  • platform/mac/fast/forms/select-option-background-color-change-expected.checksum: Removed.
  • platform/mac/fast/forms/select-option-background-color-change-expected.png: Removed.
  • platform/mac/fast/forms/select-option-background-color-change-expected.txt: Removed.
  • platform/mac/fast/forms/select-option-color-change-expected.checksum: Removed.
  • platform/mac/fast/forms/select-option-color-change-expected.png: Removed.
  • platform/mac/fast/forms/select-option-color-change-expected.txt: Removed.
  • platform/mac/fast/forms/select-option-visibility-change-expected.checksum: Removed.
  • platform/mac/fast/forms/select-option-visibility-change-expected.png: Removed.
  • platform/mac/fast/forms/select-option-visibility-change-expected.txt: Removed.

2011-01-18 Philippe Normand <pnormand@igalia.com>

Unreviewed, rolling out r76002.
http://trac.webkit.org/changeset/76002
https://bugs.webkit.org/show_bug.cgi?id=49790

breaks a bunch of fast/forms tests on mac and GTK

  • html/HTMLOptionElement.cpp: (WebCore::HTMLOptionElement::setRenderStyle):
01:13 Changeset [76005] by morrita@google.com

2011-01-18 MORITA Hajime <morrita@google.com>

Unreviewed windows build fix.

  • WebCore.vcproj/WebCore.vcproj:
00:59 Changeset [76004] by morrita@google.com

2011-01-17 MORITA Hajime <morrita@google.com>

Reviewed by Simon Fraser.

Refactoring: Extract RoundedIntRect class
https://bugs.webkit.org/show_bug.cgi?id=51664

RoundedIntRect is a pair of rect and four IntSize objects which represent
corner radii of the rectangle. IntSize is grouped into RoundedIntRect::Radii.
Now RenderStyle::getRoundedBorderFor() and RenderStyle::getRoundedInnerBorderWithBorderWidths()
return RoundedIntRect and GraphicsContext::addRoundedRectClip(), GraphicsContext::fillRoundedRect()
and other functions accept RoundedIntRect as an argument.

No new tests. No behavioral change.

  • Android.mk:
  • CMakeLists.txt:
  • WebCore.gypi:
  • WebCore.pro:
  • WebCore.xcodeproj/project.pbxproj:
  • platform/graphics/GraphicsContext.cpp: (WebCore::GraphicsContext::addRoundedRectClip): (WebCore::GraphicsContext::clipOutRoundedRect): (WebCore::GraphicsContext::fillRoundedRect):
  • platform/graphics/GraphicsContext.h:
  • platform/graphics/RoundedIntRect.cpp: Added. (WebCore::RoundedIntRect::Radii::isZero): (WebCore::RoundedIntRect::Radii::scale): (WebCore::RoundedIntRect::Radii::expand): (WebCore::RoundedIntRect::Radii::includeLogicalEdges): (WebCore::RoundedIntRect::Radii::excludeLogicalEdges): (WebCore::RoundedIntRect::RoundedIntRect): (WebCore::RoundedIntRect::includeLogicalEdges): (WebCore::RoundedIntRect::excludeLogicalEdges):
  • platform/graphics/RoundedIntRect.h: Added. (WebCore::RoundedIntRect::Radii::Radii): (WebCore::RoundedIntRect::Radii::setTopLeft): (WebCore::RoundedIntRect::Radii::setTopRight): (WebCore::RoundedIntRect::Radii::setBottomLeft): (WebCore::RoundedIntRect::Radii::setBottomRight): (WebCore::RoundedIntRect::Radii::topLeft): (WebCore::RoundedIntRect::Radii::topRight): (WebCore::RoundedIntRect::Radii::bottomLeft): (WebCore::RoundedIntRect::Radii::bottomRight): (WebCore::RoundedIntRect::Radii::expand): (WebCore::RoundedIntRect::Radii::shrink): (WebCore::RoundedIntRect::location): (WebCore::RoundedIntRect::size): (WebCore::RoundedIntRect::x): (WebCore::RoundedIntRect::y): (WebCore::RoundedIntRect::width): (WebCore::RoundedIntRect::height): (WebCore::RoundedIntRect::right): (WebCore::RoundedIntRect::bottom): (WebCore::RoundedIntRect::rect): (WebCore::RoundedIntRect::radii): (WebCore::RoundedIntRect::isRounded): (WebCore::RoundedIntRect::isEmpty): (WebCore::RoundedIntRect::setRect): (WebCore::RoundedIntRect::setRadii): (WebCore::RoundedIntRect::move): (WebCore::RoundedIntRect::inflate): (WebCore::RoundedIntRect::inflateWithRadii): (WebCore::RoundedIntRect::expandRadii): (WebCore::RoundedIntRect::shrinkRadii):
  • rendering/RenderBox.cpp: (WebCore::RenderBox::pushContentsClip):
  • rendering/RenderBoxModelObject.cpp: (WebCore::RenderBoxModelObject::paintFillLayerExtended): (WebCore::RenderBoxModelObject::paintBorder): (WebCore::RenderBoxModelObject::clipBorderSidePolygon): (WebCore::RenderBoxModelObject::paintBoxShadow):
  • rendering/RenderBoxModelObject.h:
  • rendering/RenderObject.cpp: (WebCore::RenderObject::drawBoxSideFromPath):
  • rendering/RenderReplaced.cpp: (WebCore::RenderReplaced::paint):
  • rendering/RenderThemeChromiumWin.cpp: (WebCore::RenderThemeChromiumWin::paintTextFieldInternal):
  • rendering/RenderThemeMac.mm: (WebCore::RenderThemeMac::paintMenuListButtonGradients): (WebCore::RenderThemeMac::paintSliderTrack):
  • rendering/RenderThemeSafari.cpp: (WebCore::RenderThemeSafari::paintMenuListButtonGradients): (WebCore::RenderThemeSafari::paintSliderTrack):
  • rendering/RenderThemeWinCE.cpp: (WebCore::RenderThemeWinCE::paintSearchFieldCancelButton):
  • rendering/RenderWidget.cpp: (WebCore::RenderWidget::paint):
  • rendering/style/BorderData.h:
  • rendering/style/RenderStyle.cpp: (WebCore::calcRadiiFor): (WebCore::calcConstraintScaleFor): (WebCore::RenderStyle::getRoundedBorderFor): (WebCore::RenderStyle::getRoundedInnerBorderWithBorderWidths):
  • rendering/style/RenderStyle.h: (WebCore::InheritedFlags::setBorderRadius):
00:43 Changeset [76003] by ossy@webkit.org

Unreviewed.

[Qt] Fix LoadHTMLStringItem::invoke() after r75966
https://bugs.webkit.org/show_bug.cgi?id=52614

  • platform/qt/Skipped: http/tests/navigation/go-back-to-error-page.html added until fix.
00:00 Changeset [76002] by rwlbuis@webkit.org

2011-01-17 Rob Buis <rwlbuis@gmail.com>

Reviewed by Kent Tamura.

Color changes to option elements in a select multiple aren't drawn immediately
https://bugs.webkit.org/show_bug.cgi?id=49790

Redirect style changes on <option> element to the owner <select> element.

Tests: fast/forms/select-option-background-color-change.html

fast/forms/select-option-color-change.html
fast/forms/select-option-visibility-change.html

  • html/HTMLOptionElement.cpp: (WebCore::HTMLOptionElement::setRenderStyle):

01/17/11:

23:12 Changeset [76001] by morrita@google.com

2011-01-17 MORITA Hajime <morrita@google.com>

Unreviewed, rolling out r75995.
http://trac.webkit.org/changeset/75995
https://bugs.webkit.org/show_bug.cgi?id=51914

Causes assertion failures.

  • dom/Element.cpp: (WebCore::Element::shadowRoot): (WebCore::Element::setShadowRoot): (WebCore::Element::removeShadowRoot):
  • dom/ElementRareData.h: (WebCore::ElementRareData::ElementRareData):
23:08 Changeset [76000] by morrita@google.com

2011-01-17 MORITA Hajime <morrita@google.com>

Unreviewed, rolling out r75999.
http://trac.webkit.org/changeset/75999

  • dom/Element.cpp: (WebCore::Element::removeShadowRoot):
22:52 Changeset [75999] by morrita@google.com

2011-01-17 MORITA Hajime <morrita@google.com>

Unreviewed crash fix, which introduced at r75995

  • dom/Element.cpp: (WebCore::Element::removeShadowRoot):
22:02 Changeset [75998] by mrowe@apple.com

Versioning.

21:54 Changeset [75997] by mrowe@apple.com

New tag.

21:40 Changeset [75996] by commit-queue@webkit.org

2011-01-17 Steve Lacey <sjl@chromium.org>

Reviewed by David Levin.

Rebaseline media/video-zoom-controls for chromium.
https://bugs.webkit.org/show_bug.cgi?id=52415

  • platform/chromium-linux/media/video-zoom-controls-expected.checksum: Added.
  • platform/chromium-linux/media/video-zoom-controls-expected.png: Added.
  • platform/chromium-mac/media/video-zoom-controls-expected.checksum: Added.
  • platform/chromium-mac/media/video-zoom-controls-expected.png: Added.
  • platform/chromium-mac/media/video-zoom-controls-expected.txt: Added.
  • platform/chromium-win/media/video-zoom-controls-expected.checksum: Added.
  • platform/chromium-win/media/video-zoom-controls-expected.png: Added.
  • platform/chromium-win/media/video-zoom-controls-expected.txt: Added.
  • platform/chromium/test_expectations.txt:
20:30 Changeset [75995] by morrita@google.com

2011-01-17 MORITA Hajime <morrita@google.com>

Reviewed by Dimitri Glazkov.

ElementRareData::m_shadowRoot should not be RefPtr.
https://bugs.webkit.org/show_bug.cgi?id=51914

This change makes m_shadowRoot a raw pointer, as Node::m_parent is.
This change is safe because shadow host pointer is stored as TreeShared::m_parent
which prevents deletion unless set to null.

No test, no behavioral change.

  • dom/Element.cpp: (WebCore::Element::shadowRoot): (WebCore::Element::setShadowRoot): (WebCore::Element::removeShadowRoot):
  • dom/ElementRareData.h: (WebCore::ElementRareData::ElementRareData):
19:49 Changeset [75994] by mjs@apple.com

2011-01-17 Maciej Stachowiak <mjs@apple.com>

Reviewed by Dan Bernstein.

Some WebKit2 layout tests crash due to focus being on a frame in the page cache
https://bugs.webkit.org/show_bug.cgi?id=52607

No new tests. Existing tests crash in WebKit2 without this fix.


I suspect there are other consequences besides the WebKit2 crash, but I
was unable to identify any for certain.

  • history/CachedFrame.cpp: (WebCore::CachedFrame::CachedFrame): If a frame still has focus when its page goes in the page cache, reset focus to the main frame.
19:15 Changeset [75993] by dimich@chromium.org

[Chromium] Not reviewed, test expectations update.
Added TIMEOUT to fast/canvas/canvas-fillPath-pattern-shadow.html

  • platform/chromium-gpu/test_expectations.txt:
19:10 Changeset [75992] by commit-queue@webkit.org

2011-01-17 Jarred Nicholls <jarred@sencha.com>

Reviewed by Csaba Osztrogonác.

REGRESSION(r75709): Return value of fscanf() shouldn't be ignored.
https://bugs.webkit.org/show_bug.cgi?id=52585

gcc 4.4.4+ has warn_unused_value attribute on fscanf, so we should check
the return value to get around the gcc warning

  • jit/ExecutableAllocatorFixedVMPool.cpp: (JSC::maybeModifyVMPoolSize):
18:10 Changeset [75991] by msaboff@apple.com

2011-01-17 Michael Saboff <msaboff@apple.com>

Reviewed by Oliver Hunt.

[regexfuzz] Crash running regex with lookahead
https://bugs.webkit.org/show_bug.cgi?id=52548

Eliminated agressive chaining of backtracks. This code was overwriting
already valid backtrack information.

  • yarr/YarrJIT.cpp: (JSC::Yarr::YarrGenerator::ParenthesesTail::processBacktracks):

2011-01-17 Michael Saboff <msaboff@apple.com>

Reviewed by Oliver Hunt.

[regexfuzz] Crash running regex with lookahead
https://bugs.webkit.org/show_bug.cgi?id=52548

New tests from regex fuzzer.

  • fast/regex/parentheses-expected.txt:
  • fast/regex/script-tests/parentheses.js:
18:06 Changeset [75990] by dimich@chromium.org

[Chromium] Not reviewed, test expectations update.
Same as previous patch, now for -gpu file.

  • platform/chromium-gpu/test_expectations.txt:
17:55 Changeset [75989] by dimich@chromium.org

[Chromium] Not reviewed, test expectations update.
fast/canvas/canvas-fillPath-pattern-shadow.html fails on Win and Linux.

  • platform/chromium/test_expectations.txt:
17:46 Changeset [75988] by aroben@apple.com

Simplify WKCACFLayerRenderer's API

createRenderer/destroyRenderer are now hidden behind setHostWindow.
WKCACFLayerRendererClient::animationsStarted has been removed, as it
was never called. (The work it was supposed to do was already being
accomplished by WKCACFLayerRenderer::render telling each layer that
animations are starting.)

Fixes <http://webkit.org/b/52587> WKCACFLayerRenderer is hard to use

Reviewed by Chris Marrin.

Source/WebCore:

  • platform/graphics/win/MediaPlayerPrivateFullscreenWindow.cpp:

(WebCore::MediaPlayerPrivateFullscreenWindow::createWindow): Moved the
call to setHostWindow here from the WM_CREATE handler. The WM_CREATE
handler was causing the Direct3D device to be created, but MSDN says
you shouldn't create a device while handling WM_CREATE. Removed
no-longer-needed call to createRenderer (setHostWindow does this now)
and the never-needed call to setNeedsDisplay (we never draw into the
root layer; this was just creating an unnecessary backing store the
size of the screen!).
(WebCore::MediaPlayerPrivateFullscreenWindow::wndProc): Moved WM_CREATE
code, as described above. Removed call to destroyRenderer when handling
WM_DESTROY; setHostWindow does this now. Fixed up our WM_PAINT handler
to do a synchronous paint and to clear our dirty region, while I was in
here.

  • platform/graphics/win/WKCACFLayerRenderer.cpp:

(WebCore::WKCACFLayerRenderer::~WKCACFLayerRenderer): Changed to call
setHostWindow instead of destroyRenderer; the former calls the latter
if needed.
(WebCore::WKCACFLayerRenderer::setHostWindow): Moved here from the
header file. Destroys our old renderer (i.e., IDirect3DDevice9) if
we're losing our window, or creates a renderer if we're gaining a
window.
(WebCore::WKCACFLayerRenderer::createRenderer): Updated for WKSI function rename.
(WebCore::WKCACFLayerRenderer::destroyRenderer): Changed to clear the
D3D device from our context before releasing the device.

  • platform/graphics/win/WKCACFLayerRenderer.h: Removed

WKCACFLayerRendererClient::animationsStarted. Removed setNeedsDisplay.
Make createRenderer, destroyRenderer, and renderSoon private.

WebKit/win:

Update for WKCACFLayerRenderer changes

  • WebView.cpp:

(WebView::WebViewWndProc): Removed call to layerRendererBecameVisible
when handling WM_SHOWWINDOW. All this did was try to create the
renderer, but it had already been created in setAcceleratedCompositing,
so wasn't needed.
(WebView::setAcceleratedCompositing): Removed call to createRenderer;
setHostWindow does this for us now.

  • WebView.h: Removed animationsStarted and layerRendererBecameVisible.

WebKitLibraries:

Make it possible to both set and clear a wkCACFContext's D3D device

  • win/include/WebKitSystemInterface/WebKitSystemInterface.h:
  • win/lib/WebKitSystemInterface.lib:
17:45 Changeset [75987] by aroben@apple.com

Paint directly into a GraphicsLayer when using accelerated compositing

Before this patch, we were painting into our normal backing store
HBITMAP, wrapping it in a CGImage, and handing it off to Core
Animation. This had at least two disadvantages:

1) The bitmap could be modified while Core Animation was using it.
2) It introduced extra complexity.

When entering accelerated compositing mode, WebView now creates a
GraphicsLayer to draw into. This GraphicsLayer sits between the root
layer (owned by WKCACFLayerRenderer) and the RenderView's layer. When
WebView invalidates, it just calls setNeedsDisplayInRect on its
GraphicsLayer. When WebView paints, it just tells its
WKCACFLayerRenderer to paint, which will call back to WebView to draw
into the GraphicsLayer if it has a dirty region. This is very similar
to the current implementation of LayerBackedDrawingArea in WebKit2.

Fixes <http://webkit.org/b/52582> WebView should paint directly into a
GraphicsLayer when in accelerated compositing mode

Reviewed by Simon Fraser and Chris Marrin.

WebCore:

Remove special-cased support for providing content for the root layer

Clients will just have to provide content through the normal
GraphicsLayer channels now!

  • platform/graphics/win/WKCACFLayerRenderer.cpp:

(WebCore::WKCACFLayerRenderer::WKCACFLayerRenderer): Removed
initialization of m_backingStoreDirty, which has itself been removed.
(WebCore::WKCACFLayerRenderer::setNeedsDisplay): Moved code to schedule
a sync from here to syncCompositingStateSoon. We only need to call
renderSoon if we don't call syncCompositingStateSoon; the latter
function calls the former.
(WebCore::WKCACFLayerRenderer::paint): Removed code to handle
m_backingStoreDirty. We don't want to know anything about clients'
backing stores.
(WebCore::WKCACFLayerRenderer::syncCompositingStateSoon): Added. Code
came from setNeedsDisplay.

  • platform/graphics/win/WKCACFLayerRenderer.h:

Removed setRootContents[AndDisplay], setBackingStoreDirty, and
m_backingStoreDirty. Made paint() public so that clients can force a
synchronous render (e.g., when handling WM_PAINT).

WebKit/win:

  • WebCoreSupport/WebChromeClient.cpp:

(WebChromeClient::attachRootGraphicsLayer):
(WebChromeClient::scheduleCompositingLayerSync):
Updated for WebView changes.

  • WebView.cpp:

(WebView::repaint): When using accelerated compositing, just invalidate
our backing layer. This matches the behavior of LayerBackedDrawingArea.
(WebView::deleteBackingStore): Removed accelerated compositing code.
The WKCACFLayerRenderer doesn't need to know about our backing store
anymore; we don't use it at all when in accelerated compositing mode.
(WebView::addToDirtyRegion): When using accelerated compositing, just
invalidate our backing layer.
(WebView::scrollBackingStore): Added an assertion that this isn't
called in accelerated compositing mode.
(WebView::sizeChanged): Update our backing layer's size, too, and
invalidate it.
(WebView::updateBackingStore): Added an assertion that this isn't
called in accelerated compositing mode.
(WebView::paint): If we're in accelerated compositing mode, sync our
compositing state. If we're *still* in accelerated compositing mode,
just tell our WKCACFLayerRenderer to paint and clear our dirty region.
(The later changes in this function are just un-indenting code that
used to be inside an if.)

(WebView::paintIntoBackingStore):
(WebView::paintIntoWindow):
Added assertions that these aren't called in accelerated compositing
mode.

(WebView::WebViewWndProc): Updated WM_XP_THEMECHANGED handling for
removal of setRootLayerNeedsDisplay.
(WebView::setRootChildLayer): Changed to take a GraphicsLayer. We now
set the layer as a child of our own backing layer.
(WebView::scheduleCompositingLayerSync): Just call through to
WKCACFLayerRenderer.
(WebView::setAcceleratedCompositing): Create our backing layer and set
it as the child of WKCACFLayerRenderer's root layer.
(WebView::notifyAnimationStarted): Added. We never expect this
GraphicsLayerClient override to be called, as we don't use animations
on our backing layer.
(WebView::notifySyncRequired): Added. Just schedule a sync.
(WebView::paintContents): Added. Just clip and paint!

(WebView::showDebugBorders):
(WebView::showRepaintCounter):
Added. These just call through to Settings.

(WebView::syncCompositingState): Changed to first update layout, then
sync state for our backing layer, then sync WebCore's state. This
matches LayerBackedDrawingArea.

  • WebView.h: WebView now implements the GraphicsLayerClient interface.

Removed setRootLayerNeedsDisplay; it's been replaced by calling
setNeedsDisplay on our backing layer and calling
syncCompositingStateSoon on WKCACFLayerRenderer as needed. Removed
updateRootLayerContents; that function was used to pass our backing
store to Core Animation, which we no longer do. Added m_backingLayer.

17:45 Changeset [75986] by aroben@apple.com

Remove contexts from WKCACFContextFlusher before destroying them

We aren't really using WKCACFContextFlusher for anything useful at the
moment, but that will probably change in the near future.

I couldn't come up with a way to test this because it isn't possible to
resize a window in DumpRenderTree.

Fixes <http://webkit.org/b/52573> REGRESSION (r75262): Crash beneath
WKCACFContextFlusher::flushAllContexts when resizing window on page
that uses accelerated compositing

Reviewed by Simon Fraser.

  • platform/graphics/win/WKCACFLayerRenderer.cpp:

(WebCore::WKCACFLayerRenderer::~WKCACFLayerRenderer): Remove our
context from WKCACFContextFlusher. (This code was erroneously removed
from WKCACFLayerRenderer::destroyRenderer in r75262. This is a more
sensible place for it.)

17:44 Changeset [75985] by aroben@apple.com

Don't access the CACFLayerRef's sublayers directly from PlatformCALayer

There might be a secret extra sublayer (the tile parent layer) that
PlatformCALayer doesn't know about. When PlatformCALayer would
encounter this, it would try to use the tile parent layer's
PlatformCALayer wrapper, which was null, and then would crash. We now
ask PlatformCALayerWinInternal for the sublayer list, since that class
knows about the tile parent layer and can exclude it from the sublayer
list.

Covered by compositing/tiling/huge-layer-resize.html.

Fixes <http://webkit.org/b/52597> Crash beneath
PlatformCALayer::adoptSublayers when switching out of tiling mode
(null-dereference of a PlatformCALayer)

Reviewed by Darin Adler and Chris Marrin.

LayoutTests:

Make compositing/tiling/huge-layer-resize.html faster, more reliable,
and more crashy (when there's a WebKit bug)

This test was trying to cause a layout/paint to happen by returning to
the event loop for a certain amount of time via setTimeout. But this
didn't always result in a layout/paint (at least on Windows). We now
force the layout/paint explicitly, which also lets us speed up the test
by removing the setTimeouts.

  • compositing/tiling/huge-layer-resize.html:

(testOnLoad): Changed to use recordLayerTree, which forces a
layout/paint, instead of hoping that setTimeout will do the trick.
(recordLayerTree): Forces a layout/paint, then dumps the layer tree.

Source/WebCore:

  • platform/graphics/ca/win/PlatformCALayerWin.cpp:

(PlatformCALayer::adoptSublayers):
(printLayer):
Changed to use PlatformCALayerWinInternal::getSublayers.

  • platform/graphics/ca/win/PlatformCALayerWinInternal.cpp:

(PlatformCALayerWinInternal::getSublayers): Added. Retrieves the list
of PlatformCALayers that represent our sublayers. Significantly, this
code knows about the tile parent layer and can thus exclude it.

  • platform/graphics/ca/win/PlatformCALayerWinInternal.h: Added

getSublayers.

17:13 Changeset [75984] by wsiegrist@apple.com

2011-01-17 William Siegrist <wsiegrist@apple.com>

Explicitly set mode during file upload to ensure web server can read the files.

17:10 Changeset [75983] by thakis@chromium.org

2011-01-17 Nico Weber <thakis@chromium.org>

Unreviewed.

Roll chromium DEPS forward to pick up the skia roll to skia r692.
https://bugs.webkit.org/show_bug.cgi?id=52600

  • DEPS:
16:44 Changeset [75982] by commit-queue@webkit.org

2011-01-17 Naoki Takano <takano.naoki@gmail.com>

Reviewed by Kent Tamura.

[Chromium] Fix popup menu re-positioning when the menu is opened upward, above the corresponding form field.
https://bugs.webkit.org/show_bug.cgi?id=51382
http://crbug.com/60427

Calculate correct location of popup window whenever the items in the window change.

No new tests, because this fix is for Chromium project and hard to test only in WebKit project

  • platform/chromium/PopupMenuChromium.cpp: (WebCore::PopupContainer::layoutAndCalculateWidgetRect): New Function to layout and calculate popup widget rect. (WebCore::PopupContainer::showPopup): Move widgetRect calculation logic to calculateWidgetRect(). (WebCore::PopupContainer::refresh): Add parameter focusRect to take the location and the size of focus text input field to calculate correct popup window location.
  • platform/chromium/PopupMenuChromium.h: Append new input parameter for refresh().

2011-01-17 Naoki Takano <takano.naoki@gmail.com>

Reviewed by Kent Tamura.

[Chromium] Fix popup menu re-positioning when the menu is opened upward, above the corresponding form field.
https://bugs.webkit.org/show_bug.cgi?id=51382
http://crbug.com/60427

Calculate correct location of popup window whenever the items in the window change.

No new tests, because this fix is for Chromium project and hard to test only in WebKit project

  • WebKit/chromium/src/WebViewImpl.cpp: (WebKit::WebViewImpl::refreshAutoFillPopup): Change the logic in refreshAutoFilPopup() to check both the location and the size of popup window.
16:38 Changeset [75981] by jhoneycutt@apple.com

Windows build fix. Unreviewed.

  • Shared/PrintInfo.cpp:

Use #include, not #import.

16:32 Changeset [75980] by ap@apple.com

Actually wrote a FIXME promised for a review comment.

  • UIProcess/API/mac/WKView.mm: (-[WKView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]):
16:27 Changeset [75979] by ap@apple.com

Reviewed by Anders Carlsson and Darin Adler.

https://bugs.webkit.org/show_bug.cgi?id=52595
Make basic printing work in WebKit2

  • Shared/WebPreferencesStore.h:
  • UIProcess/API/C/WKPreferences.cpp: (WKPreferencesSetShouldPrintBackgrounds): (WKPreferencesGetShouldPrintBackgrounds):
  • UIProcess/API/C/WKPreferences.h: Implement a preference for printing backgrounds.
  • Shared/PrintInfo.cpp: Added. (WebKit::PrintInfo::encode): (WebKit::PrintInfo::decode):
  • Shared/PrintInfo.h: Added.
  • Shared/mac/PrintInfoMac.mm: Added. (WebKit::PrintInfo::PrintInfo): A new class for passing page setup information down to the web process.
  • WebKit2.xcodeproj/project.pbxproj:
  • GNUmakefile.am:
  • WebKit2.pro:
  • win/WebKit2.vcproj: Added PrintInfo.
  • Scripts/webkit2/messages.py: Added PrintInfo.h to a list of structs.
  • UIProcess/API/mac/WKView.mm: (WKViewData): Cache page count and geometry. (WebFrameWrapper): Added a wrapper class for adding a WebFrameProxy to an NSDictionary. (-[WKView drawRect:]): Added logging. (setFrameBeingPrinted): Store a frame into NSPrintOperation's NSPrintInfo, so that all methods invoked for this operation would know what's being printed. (frameBeingPrinted): Retrieve this data. (-[WKView printOperationWithPrintInfo:forFrame:]): Create a print operation that's appropriate for the frame. (-[WKView knowsPageRange:]): Ask the web process. (-[WKView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]): Take over printing, because I couldn't make drawRect: work correctly with WebKit custom fit to page implementation. (-[WKView _provideTotalScaleFactorForPrintOperation:]): Help AppKit clip correctly. (-[WKView rectForPage:]): Return a pre-calculated rect.
  • UIProcess/WebPageProxy.h: Added m_isInPrintingMode to track whether the web page is in printing mode. The UI process controls that.
  • UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::WebPageProxy): Initialize m_isInPrintingMode. (WebKit::WebPageProxy::beginPrinting): Change printing mode in web process if the value changes. (WebKit::WebPageProxy::endPrinting): Ditto. (WebKit::WebPageProxy::computePagesForPrinting): Ask the web process about output page geometry. (WebKit::WebPageProxy::drawRectToPDF): Ask the web process about printed page data.
  • WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::close): Delete m_printContext while there is still a Frame pointer. (WebKit::WebPage::updatePreferences): Pass through ShouldPrintBackgrounds. (WebKit::WebPage::beginPrinting): Switch into printing mode (or update parameters if we're already in printing mode). (WebKit::WebPage::endPrinting): Delete m_printContext, implicitly calling end(). (WebKit::WebPage::computePagesForPrinting): Make sure that we're in printing mode, and copmute page rects. (WebKit::WebPage::drawRectToPDF): Added a CG specific function to create a PDF document out of a page rect. It should really work for onscreen content, but we only need it for printing.
  • WebProcess/WebPage/WebPage.h:
  • WebProcess/WebPage/WebPage.messages.in: Added BeginPrinting, EndPrinting, ComputePagesForPrinting and DrawRectToPDF.
15:59 Changeset [75978] by mrowe@apple.com

Versioning.

15:31 Changeset [75977] by mrowe@apple.com

New tag.

15:15 Changeset [75976] by mrowe@apple.com

Fix the 32-bit build.

  • WebCore.exp.in:
15:14 Changeset [75975] by mitz@apple.com

Use of invalid hash map key in CSSFontFaceSource::getFontData() with 0-sized remote font
https://bugs.webkit.org/show_bug.cgi?id=52598

Reviewed by Darin Adler.

Source/WebCore:

Test: fast/css/font-face-zero-hash-key.html

  • css/CSSFontFaceSource.cpp:

(WebCore::CSSFontFaceSource::getFontData): Add 1 to the font size to avoid a 0 hash key.

  • css/CSSSegmentedFontFace.cpp:

(WebCore::CSSSegmentedFontFace::getFontData): Ditto.

LayoutTests:

  • fast/css/font-face-zero-hash-key-expected.txt: Added.
  • fast/css/font-face-zero-hash-key.html: Added.
15:03 Changeset [75974] by ddkilzer@apple.com

<http://webkit.org/b/52596> Add missing DOMDocument/DOMDocumentFragment headers to Xcode project

Reviewed by Dan Bernstein.

WebCore:

This fixes two issues:

Add missing DOMDocumentFragmentPrivate.h and
DOMDocumentPrivate.h files to the project. These files were
never added to the the project although their *Internal.h
counterparts were added in r16548 and r17390.

Add missing DOMDocumentFragmentInternal.h to the Headers
section. It was moved from Headers to "Copy Generated Headers"
in r31045, but it should have an entry in both sections.

  • WebCore.xcodeproj/project.pbxproj:

WebKit/mac:

  • MigrateHeaders.make: Copy DOMDocumentFragmentPrivate.h and

DOMDocumentPrivate.h to the PrivateHeaders directory.

14:54 Changeset [75973] by commit-queue@webkit.org

2011-01-17 Helder Correia <helder@sencha.com>

Reviewed by Andreas Kling.

[Qt] Incorrect shadow alpha with pattern fillStyle
https://bugs.webkit.org/show_bug.cgi?id=52559

The shadow color opacity needs to be set on the shadow painter.
This is related to bug 52556.

  • fast/canvas/canvas-fillPath-pattern-shadow-expected.txt: Added.
  • fast/canvas/canvas-fillPath-pattern-shadow.html: Added.
  • fast/canvas/script-tests/canvas-fillPath-pattern-shadow.js: Added.

2011-01-17 Helder Correia <helder@sencha.com>

Reviewed by Andreas Kling.

[Qt] Incorrect shadow alpha with pattern fillStyle
https://bugs.webkit.org/show_bug.cgi?id=52559

The shadow color opacity needs to be set on the shadow painter.
This is related to bug 52556.

Test: fast/canvas/canvas-fillPath-pattern-shadow.html

  • platform/graphics/qt/GraphicsContextQt.cpp: (WebCore::GraphicsContext::fillPath):
14:48 Changeset [75972] by mrobinson@webkit.org

2011-01-17 Martin Robinson <mrobinson@igalia.com>

Reviewed by Andreas Kling.

[GTK] Port a crash fix from libsoup upstream to the libsoup cache code
https://bugs.webkit.org/show_bug.cgi?id=52586

No new tests. This is just a merge from upstream.

  • platform/network/soup/cache/soup-http-input-stream.c: (webkit_soup_http_input_stream_got_chunk): Properly handle unsigned numbers.
13:38 Changeset [75971] by tonyg@chromium.org

2011-01-17 Tony Gentilcore <tonyg@chromium.org>

Reviewed by Alexey Proskuryakov.

Fix some headers with missing or misspelled #ifndef guards
https://bugs.webkit.org/show_bug.cgi?id=52545

  • wtf/RefPtrHashMap.h:

2011-01-17 Tony Gentilcore <tonyg@chromium.org>

Reviewed by Alexey Proskuryakov.

Fix some headers with missing or misspelled #ifndef guards
https://bugs.webkit.org/show_bug.cgi?id=52545

No new tests because no new functionality.

  • ForwardingHeaders/runtime/InitializeThreading.h:
  • editing/SmartReplace.h:
  • loader/CrossOriginAccessControl.h:
  • loader/NetscapePlugInStreamLoader.h:
  • platform/chromium/ClipboardUtilitiesChromium.h:
  • platform/graphics/cairo/DrawErrorUnderline.h:
  • platform/graphics/cairo/GraphicsContextPlatformPrivateCairo.h:
  • platform/graphics/cg/GraphicsContextPlatformPrivateCG.h:
  • platform/graphics/cg/PDFDocumentImage.h:
  • platform/win/WebCoreTextRenderer.h:

2011-01-17 Tony Gentilcore <tonyg@chromium.org>

Reviewed by Alexey Proskuryakov.

Fix some headers with missing or misspelled #ifndef guards
https://bugs.webkit.org/show_bug.cgi?id=52545

  • WebKitStatistics.h:

2011-01-17 Tony Gentilcore <tonyg@chromium.org>

Reviewed by Alexey Proskuryakov.

Fix some headers with missing or misspelled #ifndef guards
https://bugs.webkit.org/show_bug.cgi?id=52545

  • Shared/UserMessageCoders.h:
  • WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.h:
  • WebProcess/InjectedBundle/InjectedBundleUserMessageCoders.h:
  • WebProcess/WebProcessMain.h:

2011-01-17 Tony Gentilcore <tonyg@chromium.org>

Reviewed by Alexey Proskuryakov.

Fix some headers with missing or misspelled #ifndef guards
https://bugs.webkit.org/show_bug.cgi?id=52545

  • DumpRenderTree/chromium/TestEventPrinter.h:
  • DumpRenderTree/chromium/WebPreferences.h:
13:16 Changeset [75970] by ddkilzer@apple.com

2011-01-17 David Kilzer <ddkilzer@apple.com>

<http://webkit.org/b/52524> fast/dom/Range/range-clone-contents.html fails only on Windows

Reviewed by Alexey Proskuryakov.

  • platform/win/Skipped: Removed fast/dom/Range/range-clone-contents.html. It appears the Windows buildbots need a clean build.
12:59 Changeset [75969] by pfeldman@chromium.org

2011-01-17 Pavel Feldman <pfeldman@chromium.org>

Not reviewed: follow-up fix for r52574: do not reuse clear() for navigation.

  • inspector/front-end/NetworkPanel.js: (WebInspector.NetworkPanel.prototype.clear): (WebInspector.NetworkPanel.prototype.mainResourceChanged):
12:53 Changeset [75968] by ap@apple.com

Build fix.

  • Platform/Logging.cpp:
12:47 Changeset [75967] by sergio@webkit.org

2011-01-17 Sergio Villar Senin <svillar@igalia.com>

Reviewed by Martin Robinson.

[Gtk] No need to content sniff 304 Not Modified responses
https://bugs.webkit.org/show_bug.cgi?id=52570

Makes no sense to wait for the outcome of content sniffing when WebCore
is validating resources. If we get a 304 Not Modified it means that we can
safely use the cached version of the resource we're asking for.

No new tests because it does not change functionality, it just
calls didReceiveResponse sooner for 304 Not Modified responses.

  • platform/network/soup/ResourceHandleSoup.cpp: (WebCore::gotHeadersCallback):
12:22 Changeset [75966] by jberlin@webkit.org

REGRESSION: Assertion failure in FrameLoader::continueLoadAfterWillSubmitForm() when
navigating back to an unreachable URL
https://bugs.webkit.org/show_bug.cgi?id=52388

Reviewed by Anders Carlsson.

Source/WebCore:

Test: http/tests/navigation/go-back-to-error-page.html

  • history/PageCache.cpp:

(WebCore::PageCache::canCachePageContainingThisFrame):
Do not cache any error pages (which we can recognize as having substitute data and/or an
unreachableURL).

Tools:

Add a third parameter (unreachableURL) to queueLoadHTMLString.

  • DumpRenderTree/LayoutTestController.cpp:

(queueLoadHTMLStringCallback):
(LayoutTestController::queueLoadHTMLString):
(LayoutTestController::queueLoadAlternateHTMLString):

  • DumpRenderTree/LayoutTestController.h:
  • DumpRenderTree/WorkQueueItem.h:

(LoadHTMLStringItem::LoadHTMLStringItem):

  • DumpRenderTree/chromium/LayoutTestController.cpp:

(WorkItemLoadHTMLString::WorkItemLoadHTMLString):
(WorkItemLoadHTMLString::run):
(LayoutTestController::queueLoadHTMLString):

  • DumpRenderTree/gtk/WorkQueueItemGtk.cpp:

(LoadHTMLStringItem::invoke):

  • DumpRenderTree/mac/WorkQueueItemMac.mm:

(LoadHTMLStringItem::invoke):

  • DumpRenderTree/win/WorkQueueItemWin.cpp:

(LoadHTMLStringItem::invoke):

LayoutTests:

Add a test that loads an alternate HTML String for an "unreachable" URL, loads another
page, and then goes back to the "unreachable" URL, which is now reachable.

This tests two things:
1) No assertion failure when going back to an unreachable URL.
2) There is no page cached for the unreachable URL.

  • http/tests/navigation/go-back-to-error-page-expected.txt: Added.
  • http/tests/navigation/go-back-to-error-page.html: Added.
  • http/tests/navigation/resources/page-to-go-back-from.html: Added.
  • http/tests/navigation/resources/page-treated-as-unreachable.html: Added.
12:16 Changeset [75965] by ap@apple.com

Reviewed by Dan Bernstein.

https://bugs.webkit.org/show_bug.cgi?id=52592
Add a logging channel for WKView

  • Platform/Logging.cpp:
  • Platform/Logging.h:
12:16 Changeset [75964] by pfeldman@chromium.org

2011-01-17 Pavel Feldman <pfeldman@chromium.org>

Not reviewed: fixing typo in r75952.

  • inspector/front-end/NetworkPanel.js: (WebInspector.NetworkDataGridNode.prototype._refreshNameCell):
12:12 Changeset [75963] by enrica@apple.com

Drag and drop support: refactoring of image from link and image from selection
https://bugs.webkit.org/show_bug.cgi?id=52496

Reviewed by Alexey Proskuryakov.

Source/WebCore:

This work cleans up the Mac code and makes it more similar to the Windows implementation,
avoiding the use of an NSView when the FrameView can be used.
The refactoring is a necessary step towards the complete support of drag and drop
in WebKit2.

  • page/mac/FrameMac.mm:

(WebCore::Frame::imageFromRect): Modified to use FrameView instead of NSView
to generate the image for drag.

Source/WebKit/mac:

This work cleans up the Mac code and makes it more similar to the Windows implementation,
avoiding the use of an NSView when the FrameView can be used.
The refactoring is a necessary step towards the complete support of drag and drop
in WebKit2.

  • WebCoreSupport/WebDragClient.mm:

(WebDragClient::createDragImageForLink): Added.

  • WebView/WebHTMLView.mm: Removed dragImageFromLink and dragImageFromURL.
  • WebView/WebHTMLViewPrivate.h: Removed dragImageFromLink and dragImageFromURL.
12:01 Changeset [75962] by andersca@apple.com

2011-01-17 Anders Carlsson <andersca@apple.com>

Reviewed by Sam Weinig.

Factor bitmap context drawing code out into a shared function
https://bugs.webkit.org/show_bug.cgi?id=52589

  • Platform/cg/CGUtilities.h: Added.
  • Platform/cg/CGUtilities.cpp: Added. (WebKit::paintBitmapContext): New function that will paint a bitmap context into a CGContext.
  • Shared/cg/ShareableBitmapCG.cpp: (WebKit::ShareableBitmap::paint): Use paintBitmapContext.
  • UIProcess/mac/BackingStoreMac.mm: (WebKit::BackingStore::paint): (WebKit::BackingStore::scroll): Use paintBitmapContext.
  • WebKit2.xcodeproj/project.pbxproj:
  • win/WebKit2.vcproj:
  • win/WebKit2Common.vsprops: Add CGUtilities.{cpp|h}.
11:50 Changeset [75961] by mitz@apple.com

Update xcodeproj svn:ignore to include xcuserdata.

Rubber-stamped by Mark Rowe.

Examples:

  • NetscapeCocoaPlugin/NetscapeCocoaPlugin.xcodeproj: Modified property svn:ignore.
  • NetscapeCoreAnimationMoviePlugin/NetscapeCoreAnimationMoviePlugin.xcodeproj: Modified property svn:ignore.
  • NetscapeCoreAnimationPlugin/NetscapeCoreAnimationPlugin.xcodeproj: Modified property svn:ignore.
  • NetscapeInputMethodPlugin/NetscapeInputMethodPlugin.xcodeproj: Modified property svn:ignore.

Source/JavaScriptCore:

Source/JavaScriptGlue:

  • JavaScriptGlue.xcodeproj: Modified property svn:ignore.

Source/ThirdParty/ANGLE:

  • ANGLE.xcodeproj: Modified property svn:ignore.
  • src/build_angle.xcodeproj: Modified property svn:ignore.

Source/WebCore:

  • WebCore.xcodeproj: Modified property svn:ignore.
  • manual-tests/NPN_Invoke/NPN_Invoke.xcodeproj: Modified property svn:ignore.

Source/WebKit:

  • WebKit.xcodeproj: Modified property svn:ignore.

Source/WebKit2:

  • WebKit2.xcodeproj: Modified property svn:ignore.

Tools:

  • DumpRenderTree/DumpRenderTree.xcodeproj: Modified property svn:ignore.
  • MiniBrowser/MiniBrowser.xcodeproj: Modified property svn:ignore.
  • TestWebKitAPI/TestWebKitAPI.xcodeproj: Modified property svn:ignore.
  • WebKitLauncher/WebKitLauncher.xcodeproj: Modified property svn:ignore.
  • WebKitTestRunner/WebKitTestRunner.xcodeproj: Modified property svn:ignore.
11:48 Changeset [75960] by ap@apple.com

Fixing a typo from a bad merge.

  • UIProcess/API/mac/WKView.mm: (-[WKView canChangeFrameLayout:]):
11:43 Changeset [75959] by ap@apple.com

Reviewed by John Sullivan.

https://bugs.webkit.org/show_bug.cgi?id=52590
Should pass a frame into -[WKView canPrintHeadersAndFooters]

  • UIProcess/API/mac/WKView.h:
  • UIProcess/API/mac/WKView.mm: (-[WKView canChangeFrameLayout:]): Also, renamed the method to canChangeFrameLayout.
11:36 Changeset [75958] by ap@apple.com

Leopard build fix.

  • page/PrintContext.cpp: GCC complained about shortening a double value to float.
11:27 WebKit Team edited by thakis@chromium.org
(diff)
10:47 Changeset [75957] by mrowe@apple.com

Remove a few more empty directories that I missed.

10:41 Changeset [75956] by mrowe@apple.com

Remove a large number of empty directories.

10:31 Changeset [75955] by ap@apple.com

Reviewed by Dan Bernstein.

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

No change in behavior, so no tests.

  • WebCore.exp.in: Export additional methods, as I'm going to use more code from PrintContext.
  • page/PrintContext.cpp: (WebCore::PrintContext::~PrintContext): No need to clear m_pageRects, the object is being destroyed already. (WebCore::PrintContext::pageCount): Changed page count from int to size_t. (WebCore::PrintContext::pageRect): Ditto. (WebCore::PrintContext::computePageRects): Pass allowHorizontalTiling as an argument. PrintContext already has code to calculate scale factor, so it makes sense to make methods that contain it universal (allowHorizontalTiling is always true for Safari). Round page height to an integer, because Mac code does that, and because page height is treated as integer almost everywhere else in code. (WebCore::PrintContext::begin): Allow calling this function multiple times. There is no need to return to screen mode if e.g. "print backgounds" option changes. (WebCore::PrintContext::computeAutomaticScaleFactor): Expose scale factor computation, so that clients don't have to copy it. (WebCore::PrintContext::spoolRect): Add a way to spool a precomputed rect - handy if a request comes from code that doesn't have page number. (WebCore::PrintContext::pageNumberForElement): Page number int -> size_t.
  • page/PrintContext.h: Added comments and FIXMEs. PrintContext needs cleanup, but that depends on deciding how it really needs to work (e.g. whether computePageRects() should cause relayout).
10:25 Changeset [75954] by pfeldman@chromium.org

2011-01-17 Pavel Feldman <pfeldman@chromium.org>

Not reviewed: skip flaky inspector test (will look at it tomorrow).

  • platform/mac-leopard/Skipped:
10:21 Changeset [75953] by andersca@apple.com

2011-01-17 Anders Carlsson <andersca@apple.com>

Reviewed by Sam Weinig.

Implement scrolling support
https://bugs.webkit.org/show_bug.cgi?id=52502

  • Shared/UpdateInfo.cpp: (WebKit::UpdateInfo::encode): (WebKit::UpdateInfo::decode):
  • Shared/UpdateInfo.h: Add scrollRect and scrollDelta member variables.
  • UIProcess/BackingStore.h: Add scroll member function.
  • UIProcess/DrawingAreaProxyImpl.cpp: (WebKit::DrawingAreaProxyImpl::incorporateUpdate): Repaint the scroll rect. Force a display of the view when the update info contains a scroll rect.
  • UIProcess/mac/BackingStoreMac.mm: (WebKit::BackingStore::incorporateUpdate): Call scroll.

(WebKit::BackingStore::scroll):
Paint the backing store into itself.

  • WebProcess/WebPage/DrawingAreaImpl.cpp: (WebKit::DrawingAreaImpl::display): Pass the scroll information in the update info.
09:51 Changeset [75952] by pfeldman@chromium.org

2011-01-17 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: unify image data source assignment, add image url
to the image view properties list.
https://bugs.webkit.org/show_bug.cgi?id=52584

  • English.lproj/localizedStrings.js:
  • inspector/front-end/ImageView.js: (WebInspector.ImageView.prototype._createContentIfNeeded.onImageLoad): (WebInspector.ImageView.prototype._createContentIfNeeded):
  • inspector/front-end/NetworkPanel.js: (WebInspector.NetworkDataGridNode.prototype._refreshNameCell):
  • inspector/front-end/Resource.js: (WebInspector.Resource.prototype.populateImageSource): (WebInspector.Resource.prototype._contentURL):
  • inspector/front-end/ResourcesPanel.js: (WebInspector.FrameResourceTreeElement.prototype.onattach):
09:28 Changeset [75951] by beidson@apple.com

Fix up the make build on Macs

Rubberstamped by Adam Roben.

  • Makefile: Point to the correct Makefile.shared
09:10 Changeset [75950] by caseq@chromium.org

2011-01-17 Andrey Kosyakov <caseq@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: [Extensions API] webInspector.resources.onFinished is not fired for redirected resources
Make resource start/finish hanlding more consistent.
https://bugs.webkit.org/show_bug.cgi?id=52452

  • inspector/front-end/AuditLauncherView.js: Ignore WebSocket resources when displaying progress indicator (WebInspector.AuditLauncherView.prototype._resetResourceCount): (WebInspector.AuditLauncherView.prototype.resourceStarted): (WebInspector.AuditLauncherView.prototype.resourceFinished):
  • inspector/front-end/NetworkManager.js: (WebInspector.NetworkManager): Factor out resource start/finish logic to _startResource()/_finishResource() (WebInspector.NetworkManager.prototype.identifierForInitialRequest): (WebInspector.NetworkManager.prototype.willSendRequest): (WebInspector.NetworkManager.prototype.markResourceAsCached): (WebInspector.NetworkManager.prototype.didReceiveResponse): (WebInspector.NetworkManager.prototype.didReceiveContentLength): (WebInspector.NetworkManager.prototype.didFinishLoading): (WebInspector.NetworkManager.prototype.didFailLoading): (WebInspector.NetworkManager.prototype.didLoadResourceFromMemoryCache): (WebInspector.NetworkManager.prototype.didCreateWebSocket): (WebInspector.NetworkManager.prototype.willSendWebSocketHandshakeRequest): (WebInspector.NetworkManager.prototype.didReceiveWebSocketHandshakeResponse): (WebInspector.NetworkManager.prototype.didCloseWebSocket): (WebInspector.NetworkManager.prototype._appendRedirect): (WebInspector.NetworkManager.prototype._startResource): (WebInspector.NetworkManager.prototype._finishResource):

2011-01-17 Andrey Kosyakov <caseq@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: [Extensions API] webInspector.resources.onFinished is not fired for redirected resources
Added test for finished event being sent for redirected resources.
https://bugs.webkit.org/show_bug.cgi?id=52452

  • http/tests/inspector/extensions-resources-redirect-expected.txt:
  • http/tests/inspector/extensions-resources-redirect.html:
08:42 Changeset [75949] by pfeldman@chromium.org

2011-01-17 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: restore dom and network state upon frontend reuse.
https://bugs.webkit.org/show_bug.cgi?id=52574

  • inspector/Inspector.idl:
  • inspector/InspectorController.cpp: (WebCore::InspectorController::restoreInspectorStateFromCookie): (WebCore::InspectorController::populateScriptObjects): (WebCore::InspectorController::pushDataCollectedOffline): (WebCore::InspectorController::didCommitLoad):
  • inspector/InspectorController.h:
  • inspector/front-end/NetworkManager.js: (WebInspector.NetworkManager.prototype.reset):
  • inspector/front-end/NetworkPanel.js: (WebInspector.NetworkPanel.prototype.clear): (WebInspector.NetworkPanel.prototype.mainResourceChanged):
  • inspector/front-end/ResourceTreeModel.js: (WebInspector.ResourceTreeModel): (WebInspector.ResourceTreeModel.prototype.reloadCachedResources):
  • inspector/front-end/ResourcesPanel.js: (WebInspector.ResourcesPanel.prototype.clear):
  • inspector/front-end/inspector.js: (WebInspector.frontendReused):
08:38 Changeset [75948] by ossy@webkit.org

Unreviewed fix after r75908.

Move WebKit into Source
https://bugs.webkit.org/show_bug.cgi?id=52530

  • BuildSlaveSupport/build.webkit.org-config/master.cfg: Add Source to the path for Qt API tests.
08:33 Changeset [75947] by pfeldman@chromium.org

2011-01-17 Pavel Feldman <pfeldman@chromium.org>

Not reviewed: first timeline-network-resource flakiness.

  • inspector/timeline-network-resource.html:
08:19 Changeset [75946] by caseq@chromium.org

2011-01-17 Andrey Kosyakov <caseq@chromium.org>

Unreviewed. Fixed malformed reference to WebKitVSPropsRedirectionDir that broke win build.

  • win/WebKit2.vcproj:
  • win/WebKit2GeneratedCommon.vsprops:
  • win/WebKit2WebProcess.vcproj:
08:18 Changeset [75945] by ossy@webkit.org

Unreviewed buildfix after r75944.

  • WebCore.pro:
08:00 Changeset [75944] by commit-queue@webkit.org

2011-01-17 Yi Shen <yi.4.shen@nokia.com>

Reviewed by Andreas Kling.

[Qt] Extend the Platform Plugin to support full screen video handler
https://bugs.webkit.org/show_bug.cgi?id=51249

Make MediaPlayerPrivateQt support a fullscreen player.

No new tests because LayoutTests/media/media-fullscreen-inline.html already exists.
However, this test failed for Qt (QtMediaPlayer) due to durationchange event getting fired twice.
So, still skip it for Qt.

  • WebCore.pro:
  • features.pri:
  • platform/graphics/qt/MediaPlayerPrivateQt.cpp: (WebCore::MediaPlayerPrivateQt::MediaPlayerPrivateQt): (WebCore::MediaPlayerPrivateQt::removeVideoItem): (WebCore::MediaPlayerPrivateQt::restoreVideoItem):
  • platform/graphics/qt/MediaPlayerPrivateQt.h: (WebCore::MediaPlayerPrivateQt::supportsFullscreen): (WebCore::MediaPlayerPrivateQt::mediaPlayer):

2011-01-17 Yi Shen <yi.4.shen@nokia.com>

Reviewed by Andreas Kling.

[Qt] Extend the Platform Plugin to support full screen video handler
https://bugs.webkit.org/show_bug.cgi?id=51249

Add a new webkit platform plugin interface to support full screen video handler.

  • Api/qwebkitplatformplugin.h: (QWebFullScreenVideoHandler::QWebFullScreenVideoHandler): (QWebFullScreenVideoHandler::~QWebFullScreenVideoHandler):
  • WebCoreSupport/ChromeClientQt.cpp: (WebCore::ChromeClientQt::ChromeClientQt): (WebCore::ChromeClientQt::~ChromeClientQt): (WebCore::ChromeClientQt::fullScreenVideo): (WebCore::ChromeClientQt::supportsFullscreenForNode): (WebCore::ChromeClientQt::requiresFullscreenForVideoPlayback): (WebCore::ChromeClientQt::enterFullscreenForNode): (WebCore::ChromeClientQt::exitFullscreenForNode):
  • WebCoreSupport/ChromeClientQt.h:
  • WebCoreSupport/FullScreenVideoQt.cpp: Added. (WebCore::FullScreenVideoQt::FullScreenVideoQt): (WebCore::FullScreenVideoQt::~FullScreenVideoQt): (WebCore::FullScreenVideoQt::enterFullScreenForNode): (WebCore::FullScreenVideoQt::exitFullScreenForNode): (WebCore::FullScreenVideoQt::aboutToClose): (WebCore::FullScreenVideoQt::mediaPlayer): (WebCore::FullScreenVideoQt::mediaPlayerForNode): (WebCore::FullScreenVideoQt::requiresFullScreenForVideoPlayback):
  • WebCoreSupport/FullScreenVideoQt.h: Added. (WebCore::FullScreenVideoQt::isValid):
  • WebCoreSupport/QtPlatformPlugin.cpp: (WebCore::QtPlatformPlugin::createFullScreenVideoHandler):
  • WebCoreSupport/QtPlatformPlugin.h:
  • examples/platformplugin/WebPlugin.cpp: (FullScreenVideoWidget::FullScreenVideoWidget): (FullScreenVideoWidget::event): (FullScreenVideoWidget::keyPressEvent): (FullScreenVideoHandler::FullScreenVideoHandler): (FullScreenVideoHandler::~FullScreenVideoHandler): (FullScreenVideoHandler::requiresFullScreenForVideoPlayback): (FullScreenVideoHandler::enterFullScreen): (FullScreenVideoHandler::exitFullScreen): (WebPlugin::supportsExtension): (WebPlugin::createExtension):
  • examples/platformplugin/WebPlugin.h: (FullScreenVideoWidget::~FullScreenVideoWidget):
  • examples/platformplugin/platformplugin.pro:
  • examples/platformplugin/qwebkitplatformplugin.h: (QWebFullScreenVideoHandler::QWebFullScreenVideoHandler): (QWebFullScreenVideoHandler::~QWebFullScreenVideoHandler):
07:50 Changeset [75943] by podivilov@chromium.org

2011-01-17 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: fix flaky debugger tests.
https://bugs.webkit.org/show_bug.cgi?id=51320

  • http/tests/inspector/debugger-test2.js: (initialize_DebuggerTest.InspectorTest.setBreakpoint):
  • inspector/debugger-breakpoints-not-activated-on-reload.html:
  • inspector/debugger-pause-on-breakpoint-expected.txt:
  • inspector/debugger-pause-on-breakpoint.html:
07:42 Changeset [75942] by ossy@webkit.org

Unreviewed.

Remove accidentally committed debug printing after r75908.

  • Scripts/webkitdirs.pm:
07:38 Changeset [75941] by ossy@webkit.org

Unreviewed.

Add Qt specific expected results for passing CSS tests.
Compared to Mac png files and Mac expected files.

  • platform/qt/Skipped: Unskip passing tests.
  • platform/qt/css1/[...]: Added.
  • platform/qt/css2.1/[...]: Added.
  • platform/qt/css3/[...]: Added.
06:59 Changeset [75940] by rik@webkit.org

2011-01-17 Anthony Ricaud <rik@webkit.org>

Reviewed by Kent Tamura.

[HTML5] Revert display:none on datalist
https://bugs.webkit.org/show_bug.cgi?id=52214

  • fast/forms/datalist-expected.txt:
  • fast/forms/datalist-nonoption-child-expected.txt:
  • fast/forms/datalist.html:

2011-01-17 Anthony Ricaud <rik@webkit.org>

Reviewed by Kent Tamura.

[HTML5] Revert display:none on datalist
https://bugs.webkit.org/show_bug.cgi?id=52214

  • css/html.css:
06:31 Changeset [75939] by pfeldman@chromium.org

2011-01-17 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: simplify debugger enabling routine.
https://bugs.webkit.org/show_bug.cgi?id=52472

  • inspector/Inspector.idl:
  • inspector/InspectorController.cpp: (WebCore::InspectorController::restoreDebugger): (WebCore::InspectorController::showAndEnableDebugger): (WebCore::InspectorController::enableDebugger):
  • inspector/InspectorController.h:
  • inspector/front-end/DebuggerModel.js:
  • inspector/front-end/ScriptsPanel.js: (WebInspector.ScriptsPanel.prototype.show): (WebInspector.ScriptsPanel.prototype._toggleDebugging):

2011-01-17 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: simplify debugger enabling routine.
https://bugs.webkit.org/show_bug.cgi?id=52472

2011-01-17 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: simplify debugger enabling routine.
https://bugs.webkit.org/show_bug.cgi?id=52472

  • WebInspector.cpp: (WebInspector::toggleDebuggingJavaScript):

2011-01-17 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: simplify debugger enabling routine.
https://bugs.webkit.org/show_bug.cgi?id=52472

  • WebProcess/WebPage/WebInspector.cpp: (WebKit::WebInspector::startJavaScriptDebugging):
06:25 Changeset [75938] by pfeldman@chromium.org

2011-01-17 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Yury Semikhatsky.

Chromium: updated DevTools tests.

  • src/js/Tests.js: (.TestSuite.prototype._waitForScriptPause): (.TestSuite.prototype._waitUntilScriptsAreParsed.waitForAllScripts): (.TestSuite.prototype._waitUntilScriptsAreParsed):
06:13 Changeset [75937] by podivilov@chromium.org

2011-01-17 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: refactoring: encapsulate lazy initialization of SourceFrame.
https://bugs.webkit.org/show_bug.cgi?id=51738

  • http/tests/inspector/debugger-test2.js: (initialize_DebuggerTest.InspectorTest.showScriptSource): (initialize_DebuggerTest.InspectorTest._showScriptSource):
  • inspector/debugger-pause-in-eval-script-expected.txt:
  • inspector/debugger-pause-in-eval-script.html:

2011-01-17 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: refactoring: encapsulate lazy initialization of SourceFrame.
https://bugs.webkit.org/show_bug.cgi?id=51738

Extract content loading logic from SourceView and ScriptView to ContentProvider implementations.
Pass ContentProvider in SourceFrame constructor to allow SourceFrame manage it's lazy initialization.

  • inspector/front-end/ScriptView.js: (WebInspector.ScriptView): (WebInspector.SourceFrameContentProviderForScript): (WebInspector.SourceFrameContentProviderForScript.prototype.requestContent.didRequestSource): (WebInspector.SourceFrameContentProviderForScript.prototype.requestContent): (WebInspector.SourceFrameContentProviderForScript.prototype.scripts):
  • inspector/front-end/ScriptsPanel.js: (WebInspector.ScriptsPanel.prototype._addScript): (WebInspector.ScriptsPanel.prototype.sourceFrameForScript): (WebInspector.ScriptsPanel.prototype._sourceFrameForResource):
  • inspector/front-end/SourceFrame.js: (WebInspector.SourceFrame): (WebInspector.SourceFrame.prototype.set visible): (WebInspector.SourceFrame.prototype._createTextViewer): (WebInspector.SourceFrame.prototype._breakpointAdded): (WebInspector.SourceFrame.prototype._breakpoints): (WebInspector.SourceFrame.prototype._sourceIDForLine): (WebInspector.SourceFrame.prototype._sourceIDSet): (WebInspector.SourceFrameContentProvider): (WebInspector.SourceFrameContentProvider.prototype.requestContent): (WebInspector.SourceFrameContentProvider.prototype.scripts):
  • inspector/front-end/SourceView.js: (WebInspector.SourceView): (WebInspector.SourceView.prototype.show): (WebInspector.SourceView.prototype.resize): (WebInspector.SourceView.prototype.performSearch.didFindSearchMatches): (WebInspector.SourceView.prototype.performSearch): (WebInspector.SourceView.prototype.revealLine): (WebInspector.SourceView.prototype.highlightLine): (WebInspector.SourceView.prototype._jumpToSearchResult): (WebInspector.SourceFrameContentProviderForResource): (WebInspector.SourceFrameContentProviderForResource.prototype.requestContent): (WebInspector.SourceFrameContentProviderForResource.prototype.scripts):
06:09 Changeset [75936] by jknotten@chromium.org

2011-01-17 John Knottenbelt <jknotten@chromium.org>

Unreviewed.

Add myself to committers list
https://bugs.webkit.org/show_bug.cgi?id=52566

  • Scripts/webkitpy/common/config/committers.py:
05:28 Changeset [75935] by kbalazs@webkit.org

2011-01-17 Balazs Kelemen <kbalazs@webkit.org>

Reviewed by Andreas Kling.

[Qt][WK2] Crash due to double destruction of QSharedMemory
https://bugs.webkit.org/show_bug.cgi?id=52569

Avoid deleting the QSharedMemory twice.

  • Platform/qt/SharedMemoryQt.cpp: (WebKit::SharedMemory::~SharedMemory):
  • Shared/qt/CleanupHandler.cpp: Renamed m_inDeleteObjects to m_hasStartedDeleting and added a getter for it. (WebKit::CleanupHandler::CleanupHandler): (WebKit::CleanupHandler::deleteObjects):
  • Shared/qt/CleanupHandler.h: (WebKit::CleanupHandler::unmark): (WebKit::CleanupHandler::hasStartedDeleting):
04:21 Changeset [75934] by jknotten@chromium.org

2011-01-17 John Knottenbelt <jknotten@chromium.org>

Reviewed by Jeremy Orlow.

GeolocationController should call stopUpdating on destruction
https://bugs.webkit.org/show_bug.cgi?id=52216

fast/dom/window-close-crash.html tests that we do not fail the
assertion in the mock GeolocationClient that the GeolocationClient
is not updating when the GeolocationController is destroyed.

  • fast/dom/Geolocation/resources/window-close-popup.html: Added.
  • fast/dom/Geolocation/script-tests/window-close-crash.js: Added. (gotPosition): (waitForWindowToClose): (failedToCreateWatch):
  • fast/dom/Geolocation/window-close-crash-expected.txt: Added.
  • fast/dom/Geolocation/window-close-crash.html: Added.
  • platform/gtk/Skipped:
  • platform/mac-wk2/Skipped:
  • platform/qt-wk2/Skipped:

2011-01-17 John Knottenbelt <jknotten@chromium.org>

Reviewed by Jeremy Orlow.

GeolocationController should call stopUpdating on destruction
https://bugs.webkit.org/show_bug.cgi?id=52216

Test: fast/dom/Geolocation/window-close-crash.html

  • page/GeolocationController.cpp: (WebCore::GeolocationController::~GeolocationController):

2011-01-17 John Knottenbelt <jknotten@chromium.org>

Reviewed by Jeremy Orlow.

GeolocationController should call stopUpdating on destruction
https://bugs.webkit.org/show_bug.cgi?id=52216

fast/dom/Geolocation/window-close-crash.html requires that a
Geolocation watch be started in a secondary window. Consequently,
we need to allow geolocation permission and provide a mock
geolocation position for the secondary window's
GeolocationClientMock.

  • DumpRenderTree/chromium/LayoutTestController.cpp: (LayoutTestController::setGeolocationPermission): (LayoutTestController::setMockGeolocationPosition): (LayoutTestController::setMockGeolocationError):
  • DumpRenderTree/chromium/TestShell.h: (TestShell::windowList):
03:02 Changeset [75933] by pfeldman@chromium.org

2011-01-17 Pavel Feldman <pfeldman@chromium.org>

Not reviewed: Qt build fix.

  • inspector/InspectorInstrumentation.h:
02:44 Changeset [75932] by pfeldman@chromium.org

2011-01-16 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: make WebCore use InspectorInstrumentation
for instrumentation calls.
https://bugs.webkit.org/show_bug.cgi?id=52532

This change makes WebCore classes issue instrumentation signals
by means of InspectorInstrumentation interface. It covered migration
for Document, FrameLoader, Database, DOMStorage, etc. It fixed
instrumentation handling for Console as well. This all is a part
of story described in the bug 52510.

  • dom/Document.cpp: (WebCore::Document::finishedParsing):
  • dom/Document.h:
  • dom/ScriptExecutionContext.h:
  • inspector/InspectorBrowserDebuggerAgent.cpp: (WebCore::InspectorBrowserDebuggerAgent::InspectorBrowserDebuggerAgent): (WebCore::InspectorBrowserDebuggerAgent::setDOMBreakpoint): (WebCore::InspectorBrowserDebuggerAgent::removeDOMBreakpoint): (WebCore::InspectorBrowserDebuggerAgent::willInsertDOMNode): (WebCore::InspectorBrowserDebuggerAgent::willRemoveDOMNode): (WebCore::InspectorBrowserDebuggerAgent::willModifyDOMAttr): (WebCore::InspectorBrowserDebuggerAgent::descriptionForDOMEvent): (WebCore::InspectorBrowserDebuggerAgent::pauseOnNativeEventIfNeeded): (WebCore::InspectorBrowserDebuggerAgent::willSendXMLHttpRequest):
  • inspector/InspectorBrowserDebuggerAgent.h: (WebCore::InspectorBrowserDebuggerAgent::create):
  • inspector/InspectorConsoleAgent.cpp: (WebCore::InspectorConsoleAgent::stopTiming): (WebCore::InspectorConsoleAgent::count):
  • inspector/InspectorConsoleAgent.h:
  • inspector/InspectorController.cpp: (WebCore::InspectorController::InspectorController): (WebCore::InspectorController::~InspectorController): (WebCore::InspectorController::handleMousePress): (WebCore::InspectorController::didClearWindowObjectInWorld): (WebCore::PostWorkerNotificationToFrontendTask::performTask):
  • inspector/InspectorController.h:
  • inspector/InspectorDOMAgent.h:
  • inspector/InspectorDOMStorageAgent.h:
  • inspector/InspectorDatabaseAgent.cpp:
  • inspector/InspectorDatabaseAgent.h:
  • inspector/InspectorFrontendHost.cpp:
  • inspector/InspectorFrontendHost.h:
  • inspector/InspectorInstrumentation.cpp: (WebCore::InspectorInstrumentation::didClearWindowObjectInWorldImpl): (WebCore::InspectorInstrumentation::inspectedPageDestroyedImpl): (WebCore::InspectorInstrumentation::mouseDidMoveOverElementImpl): (WebCore::InspectorInstrumentation::handleMousePressImpl): (WebCore::InspectorInstrumentation::mainResourceFiredLoadEventImpl): (WebCore::InspectorInstrumentation::mainResourceFiredDOMContentEventImpl): (WebCore::InspectorInstrumentation::frameDetachedFromParentImpl): (WebCore::InspectorInstrumentation::didCommitLoadImpl): (WebCore::InspectorInstrumentation::addMessageToConsoleImpl): (WebCore::InspectorInstrumentation::consoleCountImpl): (WebCore::InspectorInstrumentation::startConsoleTimingImpl): (WebCore::InspectorInstrumentation::stopConsoleTimingImpl): (WebCore::InspectorInstrumentation::consoleMarkTimelineImpl): (WebCore::InspectorInstrumentation::addStartProfilingMessageToConsoleImpl): (WebCore::InspectorInstrumentation::didOpenDatabaseImpl): (WebCore::InspectorInstrumentation::didUseDOMStorageImpl): (WebCore::InspectorInstrumentation::didCreateWorkerImpl): (WebCore::InspectorInstrumentation::didDestroyWorkerImpl): (WebCore::InspectorInstrumentation::didCreateWebSocketImpl): (WebCore::InspectorInstrumentation::willSendWebSocketHandshakeRequestImpl): (WebCore::InspectorInstrumentation::didReceiveWebSocketHandshakeResponseImpl): (WebCore::InspectorInstrumentation::didCloseWebSocketImpl): (WebCore::InspectorInstrumentation::networkStateChangedImpl): (WebCore::InspectorInstrumentation::updateApplicationCacheStatusImpl):
  • inspector/InspectorInstrumentation.h: (WebCore::InspectorInstrumentation::inspectorControllerCreated): (WebCore::InspectorInstrumentation::inspectorControllerDeleted): (WebCore::InspectorInstrumentation::didClearWindowObjectInWorld): (WebCore::InspectorInstrumentation::inspectedPageDestroyed): (WebCore::InspectorInstrumentation::willInsertDOMNode): (WebCore::InspectorInstrumentation::didInsertDOMNode): (WebCore::InspectorInstrumentation::willRemoveDOMNode): (WebCore::InspectorInstrumentation::willModifyDOMAttr): (WebCore::InspectorInstrumentation::didModifyDOMAttr): (WebCore::InspectorInstrumentation::mouseDidMoveOverElement): (WebCore::InspectorInstrumentation::handleMousePress): (WebCore::InspectorInstrumentation::characterDataModified): (WebCore::InspectorInstrumentation::willSendXMLHttpRequest): (WebCore::InspectorInstrumentation::didScheduleResourceRequest): (WebCore::InspectorInstrumentation::didInstallTimer): (WebCore::InspectorInstrumentation::didRemoveTimer): (WebCore::InspectorInstrumentation::willCallFunction): (WebCore::InspectorInstrumentation::willChangeXHRReadyState): (WebCore::InspectorInstrumentation::willDispatchEvent): (WebCore::InspectorInstrumentation::willDispatchEventOnWindow): (WebCore::InspectorInstrumentation::willEvaluateScript): (WebCore::InspectorInstrumentation::willFireTimer): (WebCore::InspectorInstrumentation::willLayout): (WebCore::InspectorInstrumentation::willLoadXHR): (WebCore::InspectorInstrumentation::willPaint): (WebCore::InspectorInstrumentation::willRecalculateStyle): (WebCore::InspectorInstrumentation::identifierForInitialRequest): (WebCore::InspectorInstrumentation::willSendRequest): (WebCore::InspectorInstrumentation::markResourceAsCached): (WebCore::InspectorInstrumentation::didLoadResourceFromMemoryCache): (WebCore::InspectorInstrumentation::willReceiveResourceData): (WebCore::InspectorInstrumentation::willReceiveResourceResponse): (WebCore::InspectorInstrumentation::didReceiveContentLength): (WebCore::InspectorInstrumentation::didFinishLoading): (WebCore::InspectorInstrumentation::didFailLoading): (WebCore::InspectorInstrumentation::resourceRetrievedByXMLHttpRequest): (WebCore::InspectorInstrumentation::scriptImported): (WebCore::InspectorInstrumentation::mainResourceFiredLoadEvent): (WebCore::InspectorInstrumentation::mainResourceFiredDOMContentEvent): (WebCore::InspectorInstrumentation::frameDetachedFromParent): (WebCore::InspectorInstrumentation::didCommitLoad): (WebCore::InspectorInstrumentation::willWriteHTML): (WebCore::InspectorInstrumentation::didOpenDatabase): (WebCore::InspectorInstrumentation::didUseDOMStorage): (WebCore::InspectorInstrumentation::didCreateWorker): (WebCore::InspectorInstrumentation::didDestroyWorker): (WebCore::InspectorInstrumentation::didCreateWebSocket): (WebCore::InspectorInstrumentation::willSendWebSocketHandshakeRequest): (WebCore::InspectorInstrumentation::didReceiveWebSocketHandshakeResponse): (WebCore::InspectorInstrumentation::didCloseWebSocket): (WebCore::InspectorInstrumentation::networkStateChanged): (WebCore::InspectorInstrumentation::updateApplicationCacheStatus): (WebCore::InspectorInstrumentation::addMessageToConsole): (WebCore::InspectorInstrumentation::consoleCount): (WebCore::InspectorInstrumentation::startConsoleTiming): (WebCore::InspectorInstrumentation::stopConsoleTiming): (WebCore::InspectorInstrumentation::consoleMarkTimeline): (WebCore::InspectorInstrumentation::addStartProfilingMessageToConsole): (WebCore::InspectorInstrumentation::inspectorControllerForContext): (WebCore::InspectorInstrumentation::inspectorControllerForFrame): (WebCore::InspectorInstrumentation::inspectorControllerForPage): (WebCore::InspectorInstrumentation::inspectorControllerWithFrontendForContext): (WebCore::InspectorInstrumentation::inspectorControllerWithFrontendForDocument): (WebCore::InspectorInstrumentation::inspectorControllerWithFrontendForFrame): (WebCore::InspectorInstrumentation::inspectorControllerWithFrontendForPage):
  • inspector/InspectorState.cpp:
  • loader/FrameLoader.cpp: (WebCore::FrameLoader::detachFromParent): (WebCore::FrameLoader::dispatchDidClearWindowObjectInWorld): (WebCore::FrameLoader::dispatchDidCommitLoad):
  • page/Chrome.cpp: (WebCore::Chrome::mouseDidMoveOverElement):
  • page/Console.cpp: (WebCore::Console::addMessage): (WebCore::Console::count): (WebCore::Console::markTimeline): (WebCore::Console::profile): (WebCore::Console::time): (WebCore::Console::timeEnd): (WebCore::Console::group): (WebCore::Console::groupCollapsed): (WebCore::Console::groupEnd):
  • page/DOMWindow.cpp: (WebCore::DOMWindow::sessionStorage): (WebCore::DOMWindow::localStorage): (WebCore::DOMWindow::dispatchLoadEvent):
  • page/EventHandler.cpp: (WebCore::EventHandler::handleMousePressEvent):
  • page/Page.cpp: (WebCore::Page::~Page):
  • storage/Database.cpp: (WebCore::Database::openDatabase):
  • workers/AbstractWorker.cpp: (WebCore::AbstractWorker::onDestroyWorker):
  • workers/SharedWorker.cpp: (WebCore::SharedWorker::create):
  • workers/Worker.cpp: (WebCore::Worker::create):
  • workers/WorkerMessagingProxy.cpp:
02:15 Changeset [75931] by abarth@webkit.org

2011-01-17 Adam Barth <abarth@webkit.org>

Update path to reflect new WebKit directory location.

  • tests/WebFrameTest.cpp: (WebKit::WebFrameTest::registerMockedURLLoad):
02:08 Changeset [75930] by loislo@chromium.org

2011-01-14 Ilya Tikhonovsky <loislo@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: Enable inspector's tests for chromium Linux.
https://bugs.webkit.org/show_bug.cgi?id=52445

  • platform/chromium/inspector/timeline-network-resource-expected.txt:
  • platform/chromium/test_expectations.txt:
01:40 Changeset [75929] by gyuyoung.kim@samsung.com

2011-01-17 Gyuyoung Kim <gyuyoung.kim@samsung.com>

Unreviewed, rolling out r75923.

GTK guy rolls out the r75914.

  • platform/efl/ScrollViewEfl.cpp: (WebCore::ScrollView::platformInit):
01:26 Changeset [75928] by philn@webkit.org

2011-01-17 Philippe Normand <pnormand@igalia.com>

Unreviewed, build fix for 2 GTK tests html file paths.

  • tests/testmimehandling.c: (main):
  • tests/testwebview.c:
01:25 Changeset [75927] by commit-queue@webkit.org

2011-01-17 Helder Correia <helder@sencha.com>

Reviewed by Kenneth Rohde Christiansen.

[Qt] fast/canvas/canvas-fillPath-gradient-shadow.html does not pass
https://bugs.webkit.org/show_bug.cgi?id=52556

The shadow color opacity needs to be set on the shadow painter.
Additionally, the gradient brush should be transformed.

  • platform/qt/Skipped: Remove test from skipped list.

2011-01-17 Helder Correia <helder@sencha.com>

Reviewed by Kenneth Rohde Christiansen.

[Qt] fast/canvas/canvas-fillPath-gradient-shadow.html does not pass
https://bugs.webkit.org/show_bug.cgi?id=52556

The shadow color opacity needs to be set on the shadow painter.
Additionally, the gradient brush should be transformed.

  • platform/graphics/qt/GraphicsContextQt.cpp: (WebCore::GraphicsContext::fillPath):
00:50 Changeset [75926] by noam.rosenthal@nokia.com

2011-01-17 No'am Rosenthal <noam.rosenthal@nokia.com>

Reviewed by Kenneth Rohde Christiansen.

[Qt] Background image rendering is slow
https://bugs.webkit.org/show_bug.cgi?id=50527

When tiling a scaled pixmap in Image::drawPattern, scale the tile
first and only then draw it to the target. Do so only when drawing
more than one tile.

Tests in fast/backgrounds/size cover this.

  • platform/graphics/qt/ImageQt.cpp: (WebCore::Image::drawPattern):
00:28 Changeset [75925] by laszlo.1.gombos@nokia.com

2011-01-17 Laszlo Gombos <laszlo.1.gombos@nokia.com>

Reviewed by Simon Hausmann.

[Qt] [Symbian] Fix building NPAPI support
https://bugs.webkit.org/show_bug.cgi?id=51981

Make sure that npapi.h is always included outside of the extern "C"
linkage declaration block.

No new tests as there is no new functionality.

  • bridge/npruntime.h:
00:26 Changeset [75924] by philn@webkit.org

2011-01-17 Philippe Normand <pnormand@igalia.com>

Unreviewed, rolling out r75914.
http://trac.webkit.org/changeset/75914
https://bugs.webkit.org/show_bug.cgi?id=49177

multiple crashes on GTK

  • platform/gtk/Skipped:

2011-01-17 Philippe Normand <pnormand@igalia.com>

Unreviewed, rolling out r75914.
http://trac.webkit.org/changeset/75914
https://bugs.webkit.org/show_bug.cgi?id=49177

multiple crashes on GTK

  • platform/ScrollView.cpp: (WebCore::ScrollView::removeChild): (WebCore::ScrollView::wheelEvent):
  • platform/gtk/MainFrameScrollbarGtk.cpp: (MainFrameScrollbarGtk::attachAdjustment): (MainFrameScrollbarGtk::gtkValueChanged):
  • platform/gtk/ScrollViewGtk.cpp: (WebCore::ScrollView::platformInit): (WebCore::ScrollView::platformAddChild): (WebCore::ScrollView::platformRemoveChild):
00:05 Changeset [75923] by gyuyoung.kim@samsung.com

2011-01-17 Gyuyoung Kim <gyuyoung.kim@samsung.com>

Unreviewed build fix.

Bug 49177's patch enabled platformInit() in super class(ScrollView).
But, it didn't removed the function in ScrollViewEfl.cpp.

  • platform/efl/ScrollViewEfl.cpp:

01/16/11:

23:54 Changeset [75922] by tkent@chromium.org

2011-01-16 Kent Tamura <tkent@chromium.org>

Unreviewed, Chromium-linux build fix.

  • gyp_webkit: Fix a relative path to the top directory.
23:50 Changeset [75921] by mrowe@apple.com

Merge r75916.

23:49 Changeset [75920] by mrowe@apple.com

Merge r75906.

23:49 Changeset [75919] by mrowe@apple.com

Versioning.

23:37 Changeset [75918] by abarth@webkit.org

2011-01-16 Adam Barth <abarth@webkit.org>

Update more include paths to reflect WebKit move.

  • DumpRenderTree/chromium/EventSender.cpp: (EventSender::keyDown): (EventSender::needsShiftModifier):
  • DumpRenderTree/chromium/WebThemeEngineDRTMac.h:
  • DumpRenderTree/chromium/WebThemeEngineDRTMac.mm:
23:29 Changeset [75917] by tkent@chromium.org

2011-01-16 Kent Tamura <tkent@chromium.org>

Unreviewed, Chromium build fix.

  • Scripts/update-webkit-chromium: Webkit/chromium -> Source/WebKit/chromium
23:11 Changeset [75916] by mitz@apple.com

<rdar://problem/8871903> REGRESSION (r75897): Crash with 0-by-0 iframe in scaled WebView

Reviewed by Sam Weinig.

Avoid use of FloatRect::enclosingBoundingBox(), which can stretch an empty
quad to a non-empty rect.

  • rendering/RenderWidget.cpp:

(WebCore::RenderWidget::setWidget):
(WebCore::RenderWidget::updateWidgetPosition):

22:52 Changeset [75915] by abarth@webkit.org

2011-01-16 Adam Barth <abarth@webkit.org>

Roll Chromium DEPS to pick up the changes reflecting the new location
of WebKit.

  • DEPS:
22:24 Changeset [75914] by mrobinson@webkit.org

2011-01-16 Martin Robinson <mrobinson@igalia.com>

Reviewed by Xan Lopez.

[GTK] fast/events/scroll-after-click-on-tab-index has been failing on the bots
https://bugs.webkit.org/show_bug.cgi?id=49177

  • platform/gtk/Skipped: Unskip this test, as it's now passing.

2011-01-16 Martin Robinson <mrobinson@igalia.com>

Reviewed by Xan Lopez.

[GTK] fast/events/scroll-after-click-on-tab-index has been failing on the bots
https://bugs.webkit.org/show_bug.cgi?id=49177

  • platform/ScrollView.cpp: Move the platform guards around a little. GTK+ now shares the implementation of platformAddChild and platformRemoveChild, but has its own implementation of removeChild, which knows how to inform main frame scrollbars that they no longer control the WebCore scrollbar.
  • platform/gtk/MainFrameScrollbarGtk.cpp: (MainFrameScrollbarGtk::attachAdjustment): If we are attaching the same adjustment that we already have, bail out early. Apply the value changed signal handler after configuring the adjustment. We don't want our reset of the adjustment to stomp on WebCore values. (MainFrameScrollbarGtk::gtkValueChanged): Do not adjust the value if the WebCore state already matches ours. This prevents some unnecessary recursion
  • platform/gtk/ScrollViewGtk.cpp: (WebCore::ScrollView::removeChild): Added, special cases main frame scrollbars which need their adjustments detached.
22:23 Changeset [75913] by mrowe@apple.com

New tag.

22:20 Changeset [75912] by yuzo@google.com

2011-01-13 Yuzo Fujishima <yuzo@google.com>

Reviewed by Antti Koivisto.

Fix for Bug 52427 - Inconsistent use of m_cache in CachedResourceLoader
https://bugs.webkit.org/show_bug.cgi?id=52427

In constructor/destructor of CachedResourceLoader, m_cache has been
used to call MemoryCache::addCachedResourceLoader/removeCachedResourceLoader
while cache() is used everywhere else.

Actually addCachedResourceLoader/removeCachedResourceLoader need not be called at all.
Remove the call sites and make MemoryCache non-friend of CachedResourceLoader.

No new tests because the behavior remains the same.

  • loader/cache/CachedResourceLoader.cpp: (WebCore::CachedResourceLoader::CachedResourceLoader): (WebCore::CachedResourceLoader::~CachedResourceLoader):
  • loader/cache/CachedResourceLoader.h:
  • loader/cache/MemoryCache.cpp:
  • loader/cache/MemoryCache.h:
21:59 Changeset [75911] by mrobinson@webkit.org

2011-01-16 Martin Robinson <mrobinson@igalia.com>

Build fix for GTK+ after source directory movement.

  • GNUmakefile.am: Correct include paths.
21:09 Changeset [75910] by abarth@webkit.org

2011-01-16 Adam Barth <abarth@webkit.org>

Teach svn-apply about WebKit move.

  • Scripts/VCSUtils.pm:
21:04 Changeset [75909] by abarth@webkit.org

Move WebKit into Source

21:02 Changeset [75908] by abarth@webkit.org

2011-01-16 Adam Barth <abarth@webkit.org>

Rubber-stamped by Eric Seidel.

Move WebKit into Source
https://bugs.webkit.org/show_bug.cgi?id=52530

  • WebKit.grd:
  • WebKit.gyp:

2011-01-16 Adam Barth <abarth@webkit.org>

Rubber-stamped by Eric Seidel.

Move WebKit into Source
https://bugs.webkit.org/show_bug.cgi?id=52530

  • Api/DerivedSources.pro:
  • declarative/declarative.pro:
  • docs/docs.pri:
  • tests/tests.pri:

2011-01-16 Adam Barth <abarth@webkit.org>

Rubber-stamped by Eric Seidel.

Move WebKit into Source
https://bugs.webkit.org/show_bug.cgi?id=52530

  • GNUmakefile.am:

2011-01-16 Adam Barth <abarth@webkit.org>

Rubber-stamped by Eric Seidel.

Move WebKit into Source
https://bugs.webkit.org/show_bug.cgi?id=52530

  • GNUmakefile.am:

2011-01-16 Adam Barth <abarth@webkit.org>

Rubber-stamped by Eric Seidel.

Move WebKit into Source
https://bugs.webkit.org/show_bug.cgi?id=52530

  • Makefile:
  • scripts/generate-webkitversion.pl:

2011-01-16 Adam Barth <abarth@webkit.org>

Rubber-stamped by Eric Seidel.

Move WebKit into Source
https://bugs.webkit.org/show_bug.cgi?id=52530

  • WebKit.vcproj/Interfaces.vcproj:
  • WebKit.vcproj/WebKit.sln:
  • WebKit.vcproj/WebKit.vcproj:
  • WebKit.vcproj/WebKitGUID.vcproj:

2011-01-16 Adam Barth <abarth@webkit.org>

Rubber-stamped by Eric Seidel.

Move WebKit into Source
https://bugs.webkit.org/show_bug.cgi?id=52530

  • Android.mk:
  • CMakeLists.txt:
  • DerivedSources.pro:
  • GNUmakefile.am:
  • Makefile:
  • WebKit.pri:
  • WebKit.pro:
  • configure.ac:
  • wscript:

2011-01-16 Adam Barth <abarth@webkit.org>

Rubber-stamped by Eric Seidel.

Move WebKit into Source
https://bugs.webkit.org/show_bug.cgi?id=52530

  • DumpRenderTree/mac/InternalHeaders/WebKit/WebTypesInternal.h:
  • DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  • DumpRenderTree/qt/DumpRenderTreeQt.h:
  • DumpRenderTree/qt/GCControllerQt.cpp:
  • DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  • DumpRenderTree/qt/PlainTextControllerQt.cpp:
  • DumpRenderTree/qt/TextInputControllerQt.cpp:
  • DumpRenderTree/wscript:
  • QtTestBrowser/launcherwindow.h:
  • Scripts/build-webkit:
  • Scripts/webkitdirs.pm:

2011-01-16 Adam Barth <abarth@webkit.org>

Rubber-stamped by Eric Seidel.

Move WebKit into Source
https://bugs.webkit.org/show_bug.cgi?id=52530

2011-01-16 Adam Barth <abarth@webkit.org>

Rubber-stamped by Eric Seidel.

Move WebKit into Source
https://bugs.webkit.org/show_bug.cgi?id=52530

  • WebCore.gyp/WebCore.gyp:
  • WebCore.pri:
  • WebCore.pro:
20:21 Changeset [75907] by mitz@apple.com

Assertion failure (!inSetWindow) with in-process plug-in in plugins/destroy-on-setwindow.html
https://bugs.webkit.org/show_bug.cgi?id=52550

Reviewed by Simon Fraser.

  • Plugins/WebNetscapePluginView.mm:

(-[WebNetscapePluginView setWindowIfNecessary]): Removed the assertion, making sure
that inSetWindow remains YES until we exit the top-level setWindowIfNecessary.

19:49 Changeset [75906] by simon.fraser@apple.com

2011-01-16 Simon Fraser <simon.fraser@apple.com>

Reviewed by Dan Bernstein.

frame-removed-during-resize.html test crashes (shows up as image-map-2.html crash)
https://bugs.webkit.org/show_bug.cgi?id=52549

Fix regression from r75900; m_widget->setFrameRect() can run script that
clears m_widget, so null-check it before calling setBoundsSize().

Tested by fast/replaced/frame-removed-during-resize.html

  • rendering/RenderWidget.cpp: (WebCore::RenderWidget::setWidgetGeometry):
18:31 Changeset [75905] by mrowe@apple.com

Merge r75893.

18:31 Changeset [75904] by mrowe@apple.com

Merge r75897.

18:31 Changeset [75903] by mrowe@apple.com

Merge r75720.

18:30 Changeset [75902] by mrowe@apple.com

Merge r75892.

18:30 Changeset [75901] by mrowe@apple.com

Versioning.

18:01 Changeset [75900] by simon.fraser@apple.com

2011-01-16 Simon Fraser <simon.fraser@apple.com>

Keep Leopard build happy.

  • platform/mac/WidgetMac.mm: (WebCore::Widget::setBoundsSize):
17:52 Changeset [75899] by oliver@apple.com

2011-01-16 Oliver Hunt <oliver@apple.com>

Reviewed by Sam Weinig.

[jsfunfuzz] Parser doesn't correctly validate for-loop syntax
https://bugs.webkit.org/show_bug.cgi?id=52516

Add test for the case where a syntax error immediately follows
multiple declarations in a for-loop initialiser.

  • fast/js/parser-syntax-check-expected.txt:
  • fast/js/script-tests/parser-syntax-check.js:

2011-01-16 Oliver Hunt <oliver@apple.com>

Reviewed by Sam Weinig.

[jsfunfuzz] Parser doesn't correctly validate for-loop syntax
https://bugs.webkit.org/show_bug.cgi?id=52516

Ensure that we always check for a semicolon after encountering
multiple declarations in the initialiser portion of a for-loop.

  • parser/JSParser.cpp: (JSC::JSParser::parseForStatement):
17:20 Changeset [75898] by mrowe@apple.com

New tag.

17:07 Changeset [75897] by simon.fraser@apple.com

2011-01-16 Simon Fraser <simon.fraser@apple.com>

Reviewed by Dan Bernstein.

Issues with iframes and plugins when the WebView is scaled.
<rdar://problem/6213380>

When _scaleWebView has been called on a WebView, iframes
in WebKit1 render and hit-test incorrectly, and plug-ins don't scale up.
This is caused by AppKit NSViews not playing nicely with the scale
applied through style.

Work around most of these issues by adjusting the bounds size
of widgets to allow iframe contents to paint with the correct scale,
and fix various places in the code where we relied on coordinate
transforms via NSViews (which ignore CSS transforms).

  • WebCore.exp.in:
  • platform/Widget.cpp: (WebCore::Widget::setBoundsSize):
  • platform/Widget.h:
  • platform/mac/WidgetMac.mm: (WebCore::Widget::setBoundsSize): (WebCore::Widget::paint):
  • rendering/RenderLayerCompositor.cpp: (WebCore::RenderLayerCompositor::shouldPropagateCompositingToEnclosingIFrame):
  • rendering/RenderWidget.cpp: (WebCore::RenderWidget::setWidgetGeometry): (WebCore::RenderWidget::setWidget): (WebCore::RenderWidget::updateWidgetPosition):
  • rendering/RenderWidget.h:
15:54 Changeset [75896] by oliver@apple.com

2011-01-16 Oliver Hunt <oliver@apple.com>

Reviewed by Geoffrey Garen.

Strict mode restrictions on arguments and eval usage aren't complete
https://bugs.webkit.org/show_bug.cgi?id=52528

Add a helper function to aid parse failure tests by testing both direct
eval/global code, and nested code (so that we test the syntax checker
mode as well)

  • fast/js/basic-strict-mode-expected.txt:
  • fast/js/script-tests/basic-strict-mode.js: (shouldBeSyntaxError):

2011-01-16 Oliver Hunt <oliver@apple.com>

Reviewed by Geoffrey Garen.

Strict mode restrictions on arguments and eval usage aren't complete
https://bugs.webkit.org/show_bug.cgi?id=52528

Fix a few bugs in strict mode where we incorrect allow mutation of
arguments and eval in the parser.

Alas the "optimisation" used by the syntax checker for validating
binary and unary expressions was too aggressive: we do actually need
a stack for operations and operands although it needn't be as complete
as that used for the full AST builder.

Also disallow assignment to arguments in all cases as allowing arguments
to be assignable is always an error in strict mode, regardless of context.

  • parser/ASTBuilder.h: (JSC::ASTBuilder::BinaryExprContext::BinaryExprContext): (JSC::ASTBuilder::UnaryExprContext::UnaryExprContext):
  • parser/JSParser.cpp: (JSC::JSParser::parseAssignmentExpression): (JSC::JSParser::parseBinaryExpression): (JSC::JSParser::parseUnaryExpression):
  • parser/SyntaxChecker.h: (JSC::SyntaxChecker::BinaryExprContext::BinaryExprContext): (JSC::SyntaxChecker::BinaryExprContext::~BinaryExprContext): (JSC::SyntaxChecker::UnaryExprContext::UnaryExprContext): (JSC::SyntaxChecker::UnaryExprContext::~UnaryExprContext): (JSC::SyntaxChecker::appendBinaryExpressionInfo): (JSC::SyntaxChecker::operatorStackPop):
14:08 Changeset [75895] by robert@webkit.org

2011-01-16 Robert Hogan <robert@webkit.org>

Unreviewed, re-skip test after r75894.

[Qt] plugins/keyboard-events.html fails after r72717

Re-skip plugins/keyboard-events.html.
Using XKeysymToKeycode(QX11Info::display(), ..) doesn't work on
a headless build, such as the buildbot. So need to solve this a
different way.

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

  • platform/qt/Skipped:
13:08 Changeset [75894] by robert@webkit.org

2011-01-16 Robert Hogan <robert@webkit.org>

Reviewed by Andreas Kling.

[Qt] plugins/keyboard-events.html fails after r72717
https://bugs.webkit.org/show_bug.cgi?id=50050

  • platform/qt/Skipped: Unskip plugins/keyboard-events.html

2011-01-16 Robert Hogan <robert@webkit.org>

Reviewed by Andreas Kling.

[Qt] plugins/keyboard-events.html fails after r72717
https://bugs.webkit.org/show_bug.cgi?id=50050

  • plugins/qt/PluginViewQt.cpp: (WebCore::setXKeyEventSpecificFields): map event text to keycode
12:59 Changeset [75893] by bdakin@apple.com

Fix for <rdar://problem/8871204>

Reviewed by Kevin Decker.

Don't try to save elasticity state. Just rely on
NSScrollElasticityAutomatic to restore the correct state.

  • WebCoreSupport/WebFrameLoaderClient.h:
  • WebCoreSupport/WebFrameLoaderClient.mm:

(WebFrameLoaderClient::WebFrameLoaderClient):
(WebFrameLoaderClient::dispatchDidFirstLayout):
(WebFrameLoaderClient::provisionalLoadStarted):

10:04 Changeset [75892] by simon.fraser@apple.com

2011-01-16 Simon Fraser <simon.fraser@apple.com>

Reviewed by Dan Bernstein.

RenderView needs to take transforms on its layer into account
https://bugs.webkit.org/show_bug.cgi?id=52536

The RenderView's coordinate mapping methods failed to
take into account a transform on the RenderView's layer.

No tests because it's not possible to get a transform
on the RenderView's layer through content.

  • rendering/RenderView.cpp: (WebCore::RenderView::mapLocalToContainer): (WebCore::RenderView::mapAbsoluteToLocalPoint):

01/15/11:

21:11 Changeset [75891] by ggaren@apple.com

2011-01-15 Geoffrey Garen <ggaren@apple.com>

Reviewed by Oliver Hunt.

Rolled back in r75886.
https://bugs.webkit.org/show_bug.cgi?id=52527


r75886 broke the GTK Linux bot because Linux was -- quite surprisingly --
set up to use the constants for embedded devices.

  • jit/ExecutableAllocatorFixedVMPool.cpp: (JSC::maybeModifyVMPoolSize): Separated Linux constants from embedded constants.
20:22 Changeset [75890] by commit-queue@webkit.org

2011-01-15 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r75886.
http://trac.webkit.org/changeset/75886
https://bugs.webkit.org/show_bug.cgi?id=52526

"Broke GTK+ 64bit" (Requested by xan_ on #webkit).

  • jit/ExecutableAllocatorFixedVMPool.cpp:
18:14 Changeset [75889] by ddkilzer@apple.com

Skip fast/dom/Range/range-clone-contents.html on Windows

Not reviewed.

Filed: <https://bugs.webkit.org/show_bug.cgi?id=52524>

  • platform/win/Skipped: Skip test on Windows. The test passes

on all other bots.

16:57 Changeset [75888] by mrowe@apple.com

Merge r75873.

16:57 Changeset [75887] by mrowe@apple.com

Versioning.

15:48 Changeset [75886] by ggaren@apple.com

<rdar://problem/8870429> Shrink the executable pool on embedded devices

Reviewed by Sam Weinig.

  • jit/ExecutableAllocatorFixedVMPool.cpp: Dropped the pool size from 32MB

to 16MB.

15:41 Changeset [75885] by commit-queue@webkit.org

2011-01-15 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r75708.
http://trac.webkit.org/changeset/75708
https://bugs.webkit.org/show_bug.cgi?id=52521

Breaks Qt build if mobility is not installed. (Requested by
benjaminp on #webkit).

  • WebCore.pro:
  • platform/graphics/qt/MediaPlayerPrivateQt.cpp: (WebCore::MediaPlayerPrivateQt::MediaPlayerPrivateQt):
  • platform/graphics/qt/MediaPlayerPrivateQt.h: (WebCore::MediaPlayerPrivateQt::supportsFullscreen):

2011-01-15 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r75708.
http://trac.webkit.org/changeset/75708
https://bugs.webkit.org/show_bug.cgi?id=52521

Breaks Qt build if mobility is not installed. (Requested by
benjaminp on #webkit).

  • Api/qwebkitplatformplugin.h:
  • WebCoreSupport/ChromeClientQt.cpp: (WebCore::ChromeClientQt::ChromeClientQt): (WebCore::ChromeClientQt::~ChromeClientQt):
  • WebCoreSupport/ChromeClientQt.h:
  • WebCoreSupport/FullScreenVideoQt.cpp: Removed.
  • WebCoreSupport/FullScreenVideoQt.h: Removed.
  • WebCoreSupport/QtPlatformPlugin.cpp:
  • WebCoreSupport/QtPlatformPlugin.h:
  • examples/platformplugin/WebPlugin.cpp: (WebPlugin::supportsExtension): (WebPlugin::createExtension):
  • examples/platformplugin/WebPlugin.h:
  • examples/platformplugin/platformplugin.pro:
  • examples/platformplugin/qwebkitplatformplugin.h:
15:39 Changeset [75884] by oliver@apple.com

2011-01-15 Oliver Hunt <oliver@apple.com>

Reviewed by Maciej Stachowiak.

Incorrect behavior changing attributes of an accessor
https://bugs.webkit.org/show_bug.cgi?id=52515

defineProperty doesn't correctly handle changing attributes of an accessor
property. This is because we don't pass the full descriptor to the
putDescriptor helper function, which means we have insufficient information
to do the right thing. Once that's passed the correct behavior is relatively
simple to implement.

  • runtime/JSObject.cpp: (JSC::putDescriptor): (JSC::JSObject::defineOwnProperty):
15:33 Changeset [75883] by mrowe@apple.com

New tag.

12:44 Changeset [75882] by ddkilzer@apple.com

<http://webkit.org/b/52512> REGRESSION(r73818): range.cloneContents() ignores end offset

Reviewed by Adele Peterson.

WebCore:

The fix for Bug 50710 in r73799 introduced an off-by-one error
when copying nodes to a local NodeVector for processing. A fix
was attempted for Bug 50854 in r73818, but instead of stopping
at the end offset, it iterates through all the sibling nodes
because the loop variable (i) is never incremented. To clean
this up, revert back to the code in r73799 and fix the
off-by-one error.

Test: fast/dom/Range/range-clone-contents.html

  • dom/Range.cpp:

(WebCore::Range::processContents): Fix the loop that copies
nodes to a local NodeVector by restoring the code from r73799
and fixing the off-by-one error.

LayoutTests:

  • fast/dom/Range/range-clone-contents-expected.txt: Added.
  • fast/dom/Range/range-clone-contents.html: Added.
12:04 Changeset [75881] by abarth@webkit.org

2011-01-15 Adam Barth <abarth@webkit.org>

Teach svn-apply about WebKit2 move.

  • Scripts/VCSUtils.pm:
12:02 Changeset [75880] by abarth@webkit.org

Move WebKit2 into Source
https://bugs.webkit.org/show_bug.cgi?id=52438

Rubber-stamped by Eric Seidel.

.:

Update reference to WebKit2.

  • DerivedSources.pro:
  • GNUmakefile.am:
  • Makefile:
  • Source/cmake/WebKitPackaging.cmake:
  • WebKit.pro:
  • configure.ac:

Source/WebCore:

  • WebCore.pro:

Source/WebKit2:

  • DerivedSources.pro:
  • GNUmakefile.am:
  • WebKit2.pro:
  • WebProcess.pro:
  • win/WebKit2.vcproj:
  • win/WebKit2WebProcess.vcproj:

Tools:

  • MiniBrowser/qt/MiniBrowser.pro:
  • Scripts/build-webkit:
  • Scripts/do-file-rename:
  • Scripts/do-webcore-rename:
  • Scripts/test-webkitpy:
  • Scripts/webkitdirs.pm:
  • Scripts/webkitpy/style/checker.py:
  • WebKitTestRunner/DerivedSources.pro:
  • WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro:
  • WebKitTestRunner/qt/WebKitTestRunner.pro:

WebKit/win:

Update reference to WebKit2.

  • WebKit.vcproj/WebKit.sln:

Websites/bugs.webkit.org:

Remove WebKit2 from the list of top-level source directories.

  • PrettyPatch/PrettyPatch.rb:
11:26 Changeset [75879] by commit-queue@webkit.org

2011-01-15 Joone Hur <joone.hur@collabora.co.uk>

Reviewed by Martin Robinson.

[GTK] Linux build with FileSystem API enabled fails
https://bugs.webkit.org/show_bug.cgi?id=43878

This patch allows WebKitGtk+ to build with FileSystem API option.

No new tests because no new functionality.

  • GNUmakefile.am: Included AsyncFileSystem.h,cpp and Excluded duplicated JSFileException.h,cpp.
  • bindings/js/JSDirectoryEntryCustom.cpp: Included ExceptionCode.h.
06:51 Changeset [75878] by robert@webkit.org

2011-01-15 Robert Hogan <robert@webkit.org>

Reviewed by Kenneth Rohde Christiansen.

[Qt] plugins/no-mime-with-valid-extension.html fails

Check extension of resource against installed
plugins when determining mime-type.

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

  • platform/qt/Skipped:

2011-01-15 Robert Hogan <robert@webkit.org>

Reviewed by Kenneth Rohde Christiansen.

[Qt] plugins/no-mime-with-valid-extension.html fails
Check extension of resource against installed
plugins when determining mime-type.

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

  • WebCoreSupport/FrameLoaderClientQt.cpp: (WebCore::FrameLoaderClientQt::objectContentType):
06:17 Changeset [75877] by senorblanco@chromium.org

2011-01-15 Stephen White <senorblanco@chromium.org>

Unreviewed; updated chromium test expectations.

  • platform/chromium-gpu/test_expectations.txt:
06:11 Changeset [75876] by senorblanco@chromium.org

2011-01-15 Stephen White <senorblanco@chromium.org>

Unreviewed; updated chromium test expectations.

  • platform/chromium-gpu/test_expectations.txt:
  • platform/chromium/test_expectations.txt:
01:33 Changeset [75875] by jochen@chromium.org

2011-01-15 Jochen Eisinger <jochen@chromium.org>

Reviewed by David Levin.

[chromium] remove obsolete createView method
https://bugs.webkit.org/show_bug.cgi?id=52437

  • DumpRenderTree/chromium/WebViewHost.cpp: (WebViewHost::createView):
  • DumpRenderTree/chromium/WebViewHost.h:

2011-01-15 Jochen Eisinger <jochen@chromium.org>

Reviewed by David Levin.

[chromium] remove obsolete createView method
https://bugs.webkit.org/show_bug.cgi?id=52437

  • public/WebViewClient.h: (WebKit::WebViewClient::createView):
00:58 Changeset [75874] by tony@chromium.org

2011-01-15 Tony Chang <tony@chromium.org>

Unreviewed, add new test to GTK+ Skipped list.
https://bugs.webkit.org/show_bug.cgi?id=52508

  • platform/gtk/Skipped:
Note: See TracTimeline for information about the timeline view.