1. 23 May, 2009 14 commits
    • ddkilzer@apple.com's avatar
      Fix Mac builds by backing out r44093 · a061b8ba
      ddkilzer@apple.com authored
              * bindings/js/JSCustomPositionCallback.cpp:
              * bindings/js/JSCustomPositionCallback.h:
              * bindings/js/JSCustomPositionErrorCallback.cpp:
              * bindings/js/JSCustomPositionErrorCallback.h:
              * bindings/js/JSGeolocationCustom.cpp:
              * page/Geolocation.cpp:
              * page/Geolocation.idl:
              * page/Geoposition.cpp:
              * page/Geoposition.h:
              * page/Geoposition.idl:
              * page/Navigator.cpp:
              (WebCore::Navigator::disconnectFrame):
              (WebCore::Navigator::geolocation):
              * page/PositionError.idl:
              * platform/GeolocationService.cpp:
              (WebCore::GeolocationService::create):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44094 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a061b8ba
    • zecke@webkit.org's avatar
      2009-05-23 Laszlo Gombos <laszlo.1.gombos@nokia.com> · 2c1bd0b3
      zecke@webkit.org authored
              Reviewed by Eric Seidel.
      
              Add GEOLOCATION guards around Geolocation API code
              https://bugs.webkit.org/show_bug.cgi?id=25756
      
              * bindings/js/JSCustomPositionCallback.cpp:
              * bindings/js/JSCustomPositionCallback.h:
              * bindings/js/JSCustomPositionErrorCallback.cpp:
              * bindings/js/JSCustomPositionErrorCallback.h:
              * bindings/js/JSGeolocationCustom.cpp:
              * page/Geolocation.cpp:
              * page/Geolocation.idl:
              * page/Geoposition.cpp:
              * page/Geoposition.h:
              * page/Geoposition.idl:
              * page/Navigator.cpp:
              (WebCore::Navigator::disconnectFrame):
              (WebCore::Navigator::geolocation):
              * page/PositionError.idl:
              * platform/GeolocationService.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44093 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2c1bd0b3
    • ddkilzer@apple.com's avatar
      resolve-ChangeLogs: Add missing newline to status message · 52d6b966
      ddkilzer@apple.com authored
              * Scripts/resolve-ChangeLogs: Added newline to status message
              that is printed when the -c|--continue switch is used but there
              are unmerged files remaining in the git working directory.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44092 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      52d6b966
    • ddkilzer@apple.com's avatar
      Rename startupdateStyleIfNeededDispatcher to startUpdateStyleIfNeededDispatcher · 346eaf96
      ddkilzer@apple.com authored
              In r42377, startUpdateRenderingDispatcher() was renamed to
              startupdateStyleIfNeededDispatcher(), but the camelCase "U" was
              dropped.  This change restores it.
      
              * WebCore.order:
              * page/animation/AnimationController.cpp:
              (WebCore::AnimationControllerPrivate::startUpdateStyleIfNeededDispatcher):
              (WebCore::AnimationControllerPrivate::addEventToDispatch):
              (WebCore::AnimationControllerPrivate::addNodeChangeToDispatch):
              (WebCore::AnimationControllerPrivate::pauseAnimationAtTime):
              (WebCore::AnimationControllerPrivate::pauseTransitionAtTime):
              * page/animation/AnimationControllerPrivate.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44091 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      346eaf96
    • zecke@webkit.org's avatar
      2009-05-23 Jakob Truelsen <antialize@gmail.com> · 585e4c9f
      zecke@webkit.org authored
              Reviewed by Holger Freyther.
      
              https://bugs.webkit.org/show_bug.cgi?id=25863
      
              Expose the default text encoding property to Qt.
      
              * Api/qwebsettings.cpp:
              (QWebSettingsPrivate::apply):
              (QWebSettings::setDefaultTextEncoding):
              (QWebSettings::defaultTextEncoding):
              * Api/qwebsettings.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44090 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      585e4c9f
    • zecke@webkit.org's avatar
      Unreviewed build-fix for Qt. Disable SVG Filters. · 588f4560
      zecke@webkit.org authored
      SVG Filters can not be built right now and Qt should not have
      them enabled anyway as they did not carry out any filtering.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44089 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      588f4560
    • oliver@apple.com's avatar
      Remove interpreter specific logic from the JIT builds · 49bbd29f
      oliver@apple.com authored
      Reviewed by Maciej Stachowiak.
      
      This saves ~100k in JSC release builds.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44088 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      49bbd29f
    • oliver@apple.com's avatar
      Add tests to cover exceptions thrown from non-object results of get_by_id · 82ae19b8
      oliver@apple.com authored
      Reviewed by Maciej Stachowiak
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44087 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      82ae19b8
    • eric@webkit.org's avatar
      Add an error message to a die statement · 1f317974
      eric@webkit.org authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44086 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1f317974
    • krit@webkit.org's avatar
      2009-05-23 Dirk Schulze <krit@webkit.org> · 72460938
      krit@webkit.org authored
              Unreviewed build-fix for gtk. Remove source input files
              for SVG filter system from the build for the moment and
              add them later again.
      
              * GNUmakefile.am:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44085 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      72460938
    • jmalonzo@webkit.org's avatar
      2009-05-23 Jan Michael Alonzo <jmalonzo@webkit.org> · 6428e124
      jmalonzo@webkit.org authored
              Unreviewed. Skip new tests introduced in r44010. These tests
              require an eventSender implementation which the gtk port
              currently do not have.
      
              Also remove gtk-specific result for
              fast/canvas/canvas-composite-alpha. The non-platform specific
              result now works.
      
              * platform/gtk/Skipped:
              * platform/gtk/fast/canvas/canvas-composite-alpha-expected.txt: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44084 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6428e124
    • krit@webkit.org's avatar
      2009-05-23 Dirk Schulze <krit@webkit.org> · 9efaabe4
      krit@webkit.org authored
              Reviewed by Eric Seidel.
      
              WebKit needs cross-platform filter system
              [https://bugs.webkit.org/show_bug.cgi?id=19991]
      
              Preparing Filter primitves for the new filter system.
      
              No testcases were added. SVG filters are off by default.
      
              * GNUmakefile.am:
              * platform/graphics/filters/FEBlend.cpp:
              (WebCore::FEBlend::apply):
              * platform/graphics/filters/FEBlend.h:
              * platform/graphics/filters/FEColorMatrix.cpp:
              (WebCore::FEColorMatrix::apply):
              * platform/graphics/filters/FEColorMatrix.h:
              * platform/graphics/filters/FEComponentTransfer.cpp:
              (WebCore::FEComponentTransfer::apply):
              * platform/graphics/filters/FEComponentTransfer.h:
              * platform/graphics/filters/FEComposite.cpp:
              (WebCore::FEComposite::apply):
              * platform/graphics/filters/FEComposite.h:
              * svg/Filter.h:
              * svg/FilterBuilder.h:
              (WebCore::FilterBuilder::lastFilter):
              * svg/FilterEffect.cpp:
              (WebCore::FilterEffect::FilterEffect):
              * svg/FilterEffect.h:
              (WebCore::FilterEffect::xBoundingBoxMode):
              (WebCore::FilterEffect::setXBoundingBoxMode):
              (WebCore::FilterEffect::yBoundingBoxMode):
              (WebCore::FilterEffect::setYBoundingBoxMode):
              (WebCore::FilterEffect::widthBoundingBoxMode):
              (WebCore::FilterEffect::setWidthBoundingBoxMode):
              (WebCore::FilterEffect::heightBoundingBoxMode):
              (WebCore::FilterEffect::setHeightBoundingBoxMode):
              (WebCore::FilterEffect::subRegion):
              (WebCore::FilterEffect::setSubRegion):
              (WebCore::FilterEffect::resultImage):
              (WebCore::FilterEffect::setEffectBuffer):
              * svg/graphics/filters/SVGFEConvolveMatrix.cpp:
              (WebCore::FEConvolveMatrix::apply):
              * svg/graphics/filters/SVGFEConvolveMatrix.h:
              * svg/graphics/filters/SVGFEDiffuseLighting.cpp:
              (WebCore::FEDiffuseLighting::apply):
              * svg/graphics/filters/SVGFEDiffuseLighting.h:
              * svg/graphics/filters/SVGFEDisplacementMap.cpp:
              (WebCore::FEDisplacementMap::apply):
              * svg/graphics/filters/SVGFEDisplacementMap.h:
              * svg/graphics/filters/SVGFEFlood.cpp:
              (WebCore::FEFlood::apply):
              * svg/graphics/filters/SVGFEFlood.h:
              * svg/graphics/filters/SVGFEGaussianBlur.cpp:
              (WebCore::FEGaussianBlur::apply):
              * svg/graphics/filters/SVGFEGaussianBlur.h:
              * svg/graphics/filters/SVGFEImage.cpp:
              (WebCore::FEImage::apply):
              * svg/graphics/filters/SVGFEImage.h:
              * svg/graphics/filters/SVGFEMerge.cpp:
              (WebCore::FEMerge::apply):
              * svg/graphics/filters/SVGFEMerge.h:
              * svg/graphics/filters/SVGFEMorphology.cpp:
              (WebCore::FEMorphology::apply):
              * svg/graphics/filters/SVGFEMorphology.h:
              * svg/graphics/filters/SVGFEOffset.cpp:
              (WebCore::FEOffset::apply):
              * svg/graphics/filters/SVGFEOffset.h:
              * svg/graphics/filters/SVGFESpecularLighting.cpp:
              (WebCore::FESpecularLighting::apply):
              * svg/graphics/filters/SVGFESpecularLighting.h:
              * svg/graphics/filters/SVGFETile.cpp:
              (WebCore::FETile::apply):
              * svg/graphics/filters/SVGFETile.h:
              * svg/graphics/filters/SVGFETurbulence.cpp:
              (WebCore::FETurbulence::apply):
              * svg/graphics/filters/SVGFETurbulence.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44083 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9efaabe4
    • krit@webkit.org's avatar
      2009-05-22 Dirk Schulze <krit@webkit.org> · 76f521ce
      krit@webkit.org authored
              Unreviewed build-fix for gtk. Breakage caused by a wrong call of ImageBuffer.
      
              * platform/graphics/cairo/ImageCairo.cpp:
              (WebCore::Image::drawPattern):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44082 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      76f521ce
    • krit@webkit.org's avatar
      2009-05-22 Dirk Schulze <vbs85@gmx.de> · e9bd929d
      krit@webkit.org authored
              Reviewed by Eric Seidel.
      
              Added the use of tileRect() for a correct drawing of
              border-images.
      
              Testcases for border-image are in fast/borders like
              border-image-01.html and will be activated for cairo, once
              gtk supports pixel tests.
      
              https://bugs.webkit.org/show_bug.cgi?id=19652
              [CAIRO] wrong drawing of border-image
      
              * platform/graphics/cairo/ImageCairo.cpp:
              (WebCore::Image::drawPattern):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44081 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e9bd929d
  2. 22 May, 2009 26 commits
    • mrowe@apple.com's avatar
      Part two of an attempted Windows build fix. · 549a5d37
      mrowe@apple.com authored
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore_debug.def:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44080 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      549a5d37
    • zecke@webkit.org's avatar
      Ask the Scrollbar for the orientation. · c30866c8
      zecke@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=25684
      
      Use Scrollbar::orientation to figure out the
      direction of scrolling.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44079 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c30866c8
    • mrowe@apple.com's avatar
      Part one of an attempted Windows build fix. · 3687d3f7
      mrowe@apple.com authored
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore_debug.def:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44078 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3687d3f7
    • kov@webkit.org's avatar
      Improve network request docs · bd07d9d7
      kov@webkit.org authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44077 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bd07d9d7
    • barraclough@apple.com's avatar
      2009-05-21 Gavin Barraclough <barraclough@apple.com> · 07173248
      barraclough@apple.com authored
              Reviewed by Geoff Garen.
      
              op_method_check
      
              Optimize method calls, by caching specific function values within the Structure.
              The new opcode is used almost like an x86 opcode prefix byte to optimize op_get_by_id,
              where the property access is being used to read a function to be passed to op-call (i.e.
              'foo.bar();').  This patch modifies the Structure class such that when a property is
              put to an object for the first time we will check if the value is a function.  If it is,
              we will cache the function value on the Structure.  A Structure in such a state guarantees
              that not only does a property with the given identifier exist on the object, but also that
              its value is unchanged.  Upon any further attempt to put a property with the same identifier
              (but a different value) to the object, it will transition back to a normal Structure (where
              it will guarantee the presence but not the value of the property).
      
              op_method_check makes use of the new information made available by the Structure, by
              augmenting the functionality of op_get_by_id.  Upon generating a FunctionCallDotNode a
              check will be emitted prior to the property access reading the function value, and the JIT
              will generate an extra (initially unlinked but patchable) set of checks prior to the regular
              JIT code for get_by_id.  The new code will do inline structure and prototype structure check
              (unlike a regular get_by_id, which can only handle 'self' accesses inline), and then performs
              an immediate load of the function value, rather than using memory accesses to load the value
              from the obejct's property storage array.  If the method check fails it will revert, or if
              the access is polymorphic, the op_get_by_id will continue to operate - and optimize itself -
              just as any other regular op_get_by_id would.
      
              ~2.5% on v8-tests, due to a ~9% progression on richards.
      
              * API/JSCallbackObjectFunctions.h:
              (JSC::::put):
              (JSC::::staticFunctionGetter):
              * API/JSObjectRef.cpp:
              (JSObjectMakeConstructor):
              * JavaScriptCore.exp:
              * assembler/AbstractMacroAssembler.h:
              (JSC::AbstractMacroAssembler::differenceBetween):
              * assembler/MacroAssemblerX86.h:
              (JSC::MacroAssemblerX86::moveWithPatch):
              * bytecode/CodeBlock.cpp:
              (JSC::CodeBlock::dump):
              * bytecode/CodeBlock.h:
              (JSC::getMethodCallLinkInfoReturnLocation):
              (JSC::CodeBlock::getMethodCallLinkInfo):
              (JSC::CodeBlock::addMethodCallLinkInfos):
              (JSC::CodeBlock::methodCallLinkInfo):
              * bytecode/Opcode.h:
              * bytecompiler/BytecodeGenerator.cpp:
              (JSC::BytecodeGenerator::emitMethodCheck):
              * bytecompiler/BytecodeGenerator.h:
              * interpreter/Interpreter.cpp:
              (JSC::Interpreter::privateExecute):
              * jit/JIT.cpp:
              (JSC::JIT::privateCompileMainPass):
              (JSC::JIT::privateCompileSlowCases):
              (JSC::JIT::privateCompile):
              * jit/JIT.h:
              (JSC::MethodCallCompilationInfo::MethodCallCompilationInfo):
              * jit/JITOpcodes.cpp:
              * jit/JITPropertyAccess.cpp:
              (JSC::JIT::emit_op_method_check):
              (JSC::JIT::emitSlow_op_method_check):
              (JSC::JIT::emit_op_get_by_id):
              (JSC::JIT::emitSlow_op_get_by_id):
              (JSC::JIT::emit_op_put_by_id):
              (JSC::JIT::emitSlow_op_put_by_id):
              (JSC::JIT::compileGetByIdHotPath):
              (JSC::JIT::compileGetByIdSlowCase):
              (JSC::JIT::patchMethodCallProto):
              * jit/JITStubs.cpp:
              (JSC::JITStubs::cti_op_get_by_id_method_check):
              (JSC::JITStubs::cti_op_get_by_id_method_check_second):
              * jit/JITStubs.h:
              * jsc.cpp:
              (GlobalObject::GlobalObject):
              * parser/Nodes.cpp:
              (JSC::FunctionCallDotNode::emitBytecode):
              * runtime/Arguments.cpp:
              (JSC::Arguments::put):
              * runtime/ArrayConstructor.cpp:
              (JSC::ArrayConstructor::ArrayConstructor):
              * runtime/BooleanConstructor.cpp:
              (JSC::BooleanConstructor::BooleanConstructor):
              * runtime/DateConstructor.cpp:
              (JSC::DateConstructor::DateConstructor):
              * runtime/ErrorConstructor.cpp:
              (JSC::ErrorConstructor::ErrorConstructor):
              (JSC::constructError):
              * runtime/ErrorPrototype.cpp:
              (JSC::ErrorPrototype::ErrorPrototype):
              * runtime/FunctionConstructor.cpp:
              (JSC::FunctionConstructor::FunctionConstructor):
              * runtime/FunctionPrototype.cpp:
              (JSC::FunctionPrototype::FunctionPrototype):
              * runtime/InternalFunction.cpp:
              (JSC::InternalFunction::InternalFunction):
              * runtime/JSActivation.cpp:
              (JSC::JSActivation::put):
              (JSC::JSActivation::putWithAttributes):
              * runtime/JSByteArray.cpp:
              (JSC::JSByteArray::JSByteArray):
              * runtime/JSFunction.cpp:
              (JSC::JSFunction::JSFunction):
              (JSC::JSFunction::getOwnPropertySlot):
              * runtime/JSGlobalObject.cpp:
              (JSC::JSGlobalObject::putWithAttributes):
              (JSC::JSGlobalObject::reset):
              (JSC::JSGlobalObject::mark):
              * runtime/JSGlobalObject.h:
              (JSC::JSGlobalObject::JSGlobalObjectData::JSGlobalObjectData):
              (JSC::JSGlobalObject::methodCallDummy):
              * runtime/JSObject.cpp:
              (JSC::JSObject::put):
              (JSC::JSObject::putWithAttributes):
              (JSC::JSObject::deleteProperty):
              (JSC::JSObject::defineGetter):
              (JSC::JSObject::defineSetter):
              (JSC::JSObject::getPropertyAttributes):
              (JSC::JSObject::getPropertySpecificFunction):
              (JSC::JSObject::putDirectFunction):
              (JSC::JSObject::putDirectFunctionWithoutTransition):
              * runtime/JSObject.h:
              (JSC::getJSFunction):
              (JSC::JSObject::getDirectLocation):
              (JSC::JSObject::putDirect):
              (JSC::JSObject::putDirectWithoutTransition):
              * runtime/LiteralParser.cpp:
              (JSC::LiteralParser::parseObject):
              * runtime/Lookup.cpp:
              (JSC::setUpStaticFunctionSlot):
              * runtime/Lookup.h:
              (JSC::lookupPut):
              * runtime/MathObject.cpp:
              (JSC::MathObject::MathObject):
              * runtime/NativeErrorConstructor.cpp:
              (JSC::NativeErrorConstructor::NativeErrorConstructor):
              (JSC::NativeErrorConstructor::construct):
              * runtime/NativeErrorPrototype.cpp:
              (JSC::NativeErrorPrototype::NativeErrorPrototype):
              * runtime/NumberConstructor.cpp:
              (JSC::NumberConstructor::NumberConstructor):
              * runtime/ObjectConstructor.cpp:
              (JSC::ObjectConstructor::ObjectConstructor):
              * runtime/PropertyMapHashTable.h:
              (JSC::PropertyMapEntry::PropertyMapEntry):
              * runtime/PrototypeFunction.cpp:
              (JSC::PrototypeFunction::PrototypeFunction):
              * runtime/PutPropertySlot.h:
              (JSC::PutPropertySlot::):
              (JSC::PutPropertySlot::PutPropertySlot):
              (JSC::PutPropertySlot::setNewProperty):
              (JSC::PutPropertySlot::setDespecifyFunctionProperty):
              (JSC::PutPropertySlot::isCacheable):
              (JSC::PutPropertySlot::cachedOffset):
              * runtime/RegExpConstructor.cpp:
              (JSC::RegExpConstructor::RegExpConstructor):
              * runtime/StringConstructor.cpp:
              (JSC::StringConstructor::StringConstructor):
              * runtime/StringPrototype.cpp:
              (JSC::StringPrototype::StringPrototype):
              * runtime/Structure.cpp:
              (JSC::Structure::Structure):
              (JSC::Structure::~Structure):
              (JSC::Structure::materializePropertyMap):
              (JSC::Structure::addPropertyTransitionToExistingStructure):
              (JSC::Structure::addPropertyTransition):
              (JSC::Structure::changeFunctionTransition):
              (JSC::Structure::addPropertyWithoutTransition):
              (JSC::Structure::get):
              (JSC::Structure::despecifyFunction):
              (JSC::Structure::put):
              (JSC::Structure::remove):
              * runtime/Structure.h:
              (JSC::Structure::get):
              (JSC::Structure::specificFunction):
              * runtime/StructureTransitionTable.h:
              (JSC::StructureTransitionTableHashTraits::emptyValue):
              * wtf/Platform.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44076 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      07173248
    • mitz@apple.com's avatar
      WebCore: · 25f2563c
      mitz@apple.com authored
      2009-05-22  Darin Adler  <darin@apple.com>
      
              Reviewed by Dan Bernstein.
      
              <rdar://problem/6916082> Incorrect handling of % as CSS value.
      
              Test: fast/css/percent-character-as-value.html
      
              * css/CSSGrammar.y: Make a stray % character reliably cause
              CSS parsing to succeed, but the CSS value to be ignored because
              of incorrect type. A type of 0 has this effect.
      
      LayoutTests:
      
      2009-05-22  Dan Bernstein  <mitz@apple.com>
      
              Reviewed by Darin Adler.
      
              <rdar://problem/6916082> Incorrect handling of % as CSS value.
      
              * fast/css/percent-character-as-value-expected.txt: Added.
              * fast/css/percent-character-as-value.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44075 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      25f2563c
    • ddkilzer@apple.com's avatar
      Add bugs.webkit.org URL for r44046 · bdd480f9
      ddkilzer@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44074 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bdd480f9
    • bfulgham@webkit.org's avatar
      WebCore: · 4f7082c3
      bfulgham@webkit.org authored
      2009-05-22  Brent Fulgham  <bfulgham@webkit.org>
      
              Reviewed by Adam Roben.
      
              https://bugs.webkit.org/show_bug.cgi?id=25971
              Correct a handful of build errors in the Windows Cairo variant
              due to missing VIDEO support.
      
              * WebCore.vcproj/WebCore.vcproj: Exclude RenderMediaControls for
                the Cairo-based Windows target.
              * rendering/RenderThemeWin.cpp: Avoid #include of RenderMediaControls
                for non-VIDEO builds.
      
      WebKit/win:
      
      2009-05-22  Brent Fulgham  <bfulgham@webkit.org>
      
              Reviewed by Adam Roben.
      
              https://bugs.webkit.org/show_bug.cgi?id=25971
              Correct some build errors for Windows Cairo variant.
      
              * WebKit.vcproj/WebKit.vcproj: Remove WTF.lib link commands as
                the new JavaScriptCore.dll supplies this now.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44073 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4f7082c3
    • ddkilzer@apple.com's avatar
      One <limits> is enough · 50790705
      ddkilzer@apple.com authored
              * html/HTMLMediaElement.cpp: Removed duplicate #include <limits>.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44070 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      50790705
    • mitz@apple.com's avatar
      2009-05-22 Darin Adler <darin@apple.com> · a5fb667f
      mitz@apple.com authored
              Reviewed by Dan Bernstein.
      
              - Fix <rdar://problem/6913765> REGRESSION (r42331-r42334): Extra scroll
                bars appearing on Welcome panels of iLife '09 apps
      
              * WebView/WebView.mm:
              (needsUnwantedScrollBarWorkaround): Added. Checks if this is a panel
              where scroll bars are unwanted. For safety, limited to only Apple applications. 
              (-[WebView viewDidMoveToWindow]): If the workaround is needed, disallow
              scrolling the main frame. This prevents scroll bars from appearing.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44069 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a5fb667f
    • jhoneycutt@apple.com's avatar
      2009-05-22 Jon Honeycutt <jhoneycutt@apple.com> · 5b8cc42a
      jhoneycutt@apple.com authored
              <rdar://problem/6915957> REGRESSION: Hang when leaving page with VLC
              plug-in
      
              Reviewed by Steve Falkenburg.
      
              * plugins/win/PluginPackageWin.cpp:
              (WebCore::PluginPackage::determineQuirks):
              Look for the VLC plug-in's new name.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44066 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5b8cc42a
    • abarth@webkit.org's avatar
      2009-05-22 Adam Barth <abarth@webkit.org> · a47c393b
      abarth@webkit.org authored
              Reviewed by Darin Fisher.
      
              https://bugs.webkit.org/show_bug.cgi?id=25966
      
              Remove redudant member from Chromium's ResourceRequest.  We already
              have this data in the cross-platform ResourceRequestBase.  Also, rename
              ChromiumBridge parameter to be consistant with the new name for this
              piece of data.
      
              * platform/chromium/ChromiumBridge.h:
              * platform/network/chromium/ResourceRequest.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44065 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a47c393b
    • bfulgham@webkit.org's avatar
      bbdc7300
    • mitz@apple.com's avatar
      2009-05-22 Darin Adler <darin@apple.com> · 3a839f69
      mitz@apple.com authored
              Reviewed by Dan Bernstein.
      
              - Made the global-function-resolve test independent of hashing order
                by using a fixed set of properties. This also removes the need for us
                to update this test every time we add something to the window object or
                the js-test-pre.js family of scripts.
      
              * fast/js/global-function-resolve-expected.txt: Updated.
              * fast/js/resources/global-function-resolve.js: Use a fixed array instead
              of using all property names from the global object; also made other small
              changes that don't have an effect on the substance of the test.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44061 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3a839f69
    • kevino@webkit.org's avatar
      Reviewed by Kevin Ollivier. · cbfc6fbc
      kevino@webkit.org authored
              
      Triple-click support for wx port. Also, switch to allocating GraphicsContext
      on the stack in OnPaint since we only need it within that function.
              
      https://bugs.webkit.org/show_bug.cgi?id=25962
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44060 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cbfc6fbc
    • kevino@webkit.org's avatar
      Date fix on ChangeLog. · e78ab175
      kevino@webkit.org authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44059 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e78ab175
    • mitz@apple.com's avatar
      Reviewed by Darin Adler. · 7d331e53
      mitz@apple.com authored
              - remove a test that was supposed to test the text/* change to MIME
                types from r43979, since the change was rolled out, and the test seems
                to be ineffective anyway, since it was passing on Mac after rolling
                out the change.
      
              * http/tests/mime/accept-all-text-types-expected.txt: Removed.
              * http/tests/mime/accept-all-text-types.html: Removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44058 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7d331e53
    • kevino@webkit.org's avatar
      Reviewed by Kevin Ollivier. · f4268b37
      kevino@webkit.org authored
      Only account for overhang for multi-character strings.
              
      https://bugs.webkit.org/show_bug.cgi?id=25961
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44057 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f4268b37
    • kevino@webkit.org's avatar
      f3937bee
    • kov@webkit.org's avatar
      Fixing changelog message · 83176e9b
      kov@webkit.org authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44055 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      83176e9b
    • kov@webkit.org's avatar
      2009-05-22 Antonio Gomes <antonio.gomes@openbossa.org> · 2f1014c1
      kov@webkit.org authored
              Reviewed by Gustavo Noronha.
      
              Make Gtk build not bail out if gtk-doc-tools is not installed.
      
              Warning message dumped instead.
      
              * autogen.sh:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44054 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2f1014c1
    • kov@webkit.org's avatar
      2009-05-22 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk> · bb6b72cd
      kov@webkit.org authored
              Reviewed by Xan Lopez.
      
              Add big warnings about the glib unicode backend being slow and
              incomplete, since it is a work in progress.
      
              * autotools/webkit.m4:
              * configure.ac:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44053 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bb6b72cd
    • xan@webkit.org's avatar
      2009-05-21 Xan Lopez <xlopez@igalia.com> · 7af9e8f6
      xan@webkit.org authored
              Reviewed by Maciej Stachowiak.
      
              https://bugs.webkit.org/show_bug.cgi?id=24818
              [GTK] http auth dialog pops up twice after a cancelled atempt
      
              Workaround libsoup bug
              http://bugzilla.gnome.org/show_bug.cgi?id=583462, which made
              libsoup emit the 'authenticate' signal more often than it was
              expected.
      
              We'll be able to remove this when we depend on libsoup > 2.26.2.
      
              * webkit/webkitsoupauthdialog.c:
              (session_authenticate):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44052 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7af9e8f6
    • pkasting@chromium.org's avatar
      2009-05-22 Peter Kasting <pkasting@google.com> · 0a39d2b5
      pkasting@chromium.org authored
              Reviewed by Darin Fisher.
      
              https://bugs.webkit.org/show_bug.cgi?id=25709 part one
              Indent contents of namespaces in header files, to comply with the
              style guide.  No functional change.
      
              * platform/image-decoders/ImageDecoder.h:
              (WebCore::RGBA32Buffer::):
              (WebCore::RGBA32Buffer::RGBA32Buffer):
              (WebCore::RGBA32Buffer::clear):
              (WebCore::RGBA32Buffer::bytes):
              (WebCore::RGBA32Buffer::rect):
              (WebCore::RGBA32Buffer::height):
              (WebCore::RGBA32Buffer::status):
              (WebCore::RGBA32Buffer::duration):
              (WebCore::RGBA32Buffer::disposalMethod):
              (WebCore::RGBA32Buffer::hasAlpha):
              (WebCore::RGBA32Buffer::setRect):
              (WebCore::RGBA32Buffer::ensureHeight):
              (WebCore::RGBA32Buffer::setStatus):
              (WebCore::RGBA32Buffer::setDuration):
              (WebCore::RGBA32Buffer::setDisposalMethod):
              (WebCore::RGBA32Buffer::setHasAlpha):
              (WebCore::RGBA32Buffer::setRGBA):
              (WebCore::ImageDecoder::m_failed):
              (WebCore::ImageDecoder::~ImageDecoder):
              (WebCore::ImageDecoder::setData):
              (WebCore::ImageDecoder::size):
              (WebCore::ImageDecoder::frameCount):
              (WebCore::ImageDecoder::repetitionCount):
              (WebCore::ImageDecoder::supportsAlpha):
              (WebCore::ImageDecoder::failed):
              (WebCore::ImageDecoder::setFailed):
              (WebCore::ImageDecoder::clearFrameBufferCache):
              * platform/image-decoders/bmp/BMPImageDecoder.h:
              (WebCore::BMPImageDecoder::filenameExtension):
              * platform/image-decoders/gif/GIFImageDecoder.h:
              (WebCore::GIFImageDecoder::filenameExtension):
              (WebCore::GIFImageDecoder::frameDurationAtIndex):
              (WebCore::GIFImageDecoder::):
              * platform/image-decoders/ico/ICOImageDecoder.h:
              (WebCore::ICOImageDecoder::filenameExtension):
              * platform/image-decoders/jpeg/JPEGImageDecoder.h:
              (WebCore::JPEGImageDecoder::filenameExtension):
              (WebCore::JPEGImageDecoder::supportsAlpha):
              (WebCore::JPEGImageDecoder::reader):
              (WebCore::JPEGImageDecoder::setSize):
              * platform/image-decoders/png/PNGImageDecoder.h:
              (WebCore::PNGImageDecoder::filenameExtension):
              (WebCore::PNGImageDecoder::reader):
              (WebCore::PNGImageDecoder::decodingFailed):
              * platform/image-decoders/xbm/XBMImageDecoder.h:
              (WebCore::XBMImageDecoder::filenameExtension):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44051 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0a39d2b5
    • kov@webkit.org's avatar
      WebCore · eba9e748
      kov@webkit.org authored
      2009-05-22  Dominik Röttsches  <dominik.roettsches@access-company.com>
      
              Reviewed by Gustavo Noronha.
      
              https://bugs.webkit.org/show_bug.cgi?id=15914
              [GTK] Implement Unicode functionality using GLib
      
              Minor changes that allow building a hybrid version of WebKit
              that has WTF Unicode backend based on GLib functions while
              text codecs and TextBreakIterator remain based on ICU.
      
              Fixed some includes that were assuming a WTF ICU backend and
              introduced temporary usage of WTF_USE_GLIB_ICU_UNICODE_HYBRID
              macro.
      
              * platform/ThreadGlobalData.cpp:
              (WebCore::ThreadGlobalData::ThreadGlobalData):
              (WebCore::ThreadGlobalData::~ThreadGlobalData):
              * platform/ThreadGlobalData.h:
              * platform/text/TextBoundariesICU.cpp:
              * platform/text/TextCodecICU.h:
              * platform/text/TextEncoding.cpp:
              (WebCore::TextEncoding::encode):
              * platform/text/TextEncodingRegistry.cpp:
              (WebCore::buildBaseTextCodecMaps):
              (WebCore::extendTextCodecMaps):
      
      JavaScriptCore
      
      2009-05-22  Dominik Röttsches  <dominik.roettsches@access-company.com>
      
              Reviewed by Gustavo Noronha.
      
              https://bugs.webkit.org/show_bug.cgi?id=15914
              [GTK] Implement Unicode functionality using GLib
      
              Original patch by Jürg Billeter and Naiem Shaik.
              Implementing WTF Unicode functionality based on GLib.
      
              * GNUmakefile.am:
              * wtf/unicode/Unicode.h:
              * wtf/unicode/glib: Added.
              * wtf/unicode/glib/UnicodeGLib.cpp: Added.
              (WTF::Unicode::foldCase):
              (WTF::Unicode::toLower):
              (WTF::Unicode::toUpper):
              (WTF::Unicode::direction):
              (WTF::Unicode::umemcasecmp):
              * wtf/unicode/glib/UnicodeGLib.h: Added.
              (WTF::Unicode::):
              (WTF::Unicode::toLower):
              (WTF::Unicode::toUpper):
              (WTF::Unicode::toTitleCase):
              (WTF::Unicode::isArabicChar):
              (WTF::Unicode::isFormatChar):
              (WTF::Unicode::isSeparatorSpace):
              (WTF::Unicode::isPrintableChar):
              (WTF::Unicode::isDigit):
              (WTF::Unicode::isPunct):
              (WTF::Unicode::mirroredChar):
              (WTF::Unicode::category):
              (WTF::Unicode::isLower):
              (WTF::Unicode::digitValue):
              (WTF::Unicode::combiningClass):
              (WTF::Unicode::decompositionType):
              * wtf/unicode/glib/UnicodeMacrosFromICU.h: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44050 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      eba9e748
    • abarth@webkit.org's avatar
      Unreviewed build fix. · 222efb25
      abarth@webkit.org authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44049 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      222efb25