1. 21 Jun, 2009 3 commits
  2. 20 Jun, 2009 19 commits
  3. 19 Jun, 2009 18 commits
    • barraclough@apple.com's avatar
      2009-06-19 Gavin Barraclough <barraclough@apple.com> · 9c15d5a5
      barraclough@apple.com authored
              Reviewed by NOBODY (build fix take 2 - rename FIELD_OFFSET to something that doesn't conflict with winnt.h).
      
              * jit/JIT.cpp:
              (JSC::JIT::privateCompile):
              (JSC::JIT::privateCompileCTIMachineTrampolines):
              (JSC::JIT::emitGetVariableObjectRegister):
              (JSC::JIT::emitPutVariableObjectRegister):
              * jit/JIT.h:
              * jit/JITArithmetic.cpp:
              (JSC::JIT::emit_op_rshift):
              (JSC::JIT::emitSlow_op_jnless):
              (JSC::JIT::emitSlow_op_jnlesseq):
              (JSC::JIT::compileBinaryArithOp):
              * jit/JITCall.cpp:
              (JSC::JIT::compileOpCallInitializeCallFrame):
              (JSC::JIT::compileOpCall):
              * jit/JITInlineMethods.h:
              (JSC::JIT::restoreArgumentReference):
              (JSC::JIT::checkStructure):
              * jit/JITOpcodes.cpp:
              (JSC::JIT::emit_op_instanceof):
              (JSC::JIT::emit_op_get_scoped_var):
              (JSC::JIT::emit_op_put_scoped_var):
              (JSC::JIT::emit_op_construct_verify):
              (JSC::JIT::emit_op_resolve_global):
              (JSC::JIT::emit_op_jeq_null):
              (JSC::JIT::emit_op_jneq_null):
              (JSC::JIT::emit_op_to_jsnumber):
              (JSC::JIT::emit_op_catch):
              (JSC::JIT::emit_op_eq_null):
              (JSC::JIT::emit_op_neq_null):
              (JSC::JIT::emit_op_convert_this):
              (JSC::JIT::emit_op_profile_will_call):
              (JSC::JIT::emit_op_profile_did_call):
              (JSC::JIT::emitSlow_op_get_by_val):
              * jit/JITPropertyAccess.cpp:
              (JSC::JIT::emit_op_get_by_val):
              (JSC::JIT::emit_op_put_by_val):
              (JSC::JIT::emit_op_method_check):
              (JSC::JIT::compileGetByIdHotPath):
              (JSC::JIT::emit_op_put_by_id):
              (JSC::JIT::compilePutDirectOffset):
              (JSC::JIT::compileGetDirectOffset):
              (JSC::JIT::privateCompilePutByIdTransition):
              (JSC::JIT::privateCompilePatchGetArrayLength):
              * jit/JITStubs.cpp:
              (JSC::JITThunks::JITThunks):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44889 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9c15d5a5
    • darin@apple.com's avatar
      2009-06-19 Darin Adler <darin@apple.com> · b631c5d1
      darin@apple.com authored
              * Scripts/do-webcore-rename: More renaming ideas.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44888 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b631c5d1
    • barraclough@apple.com's avatar
      2009-06-19 Gavin Barraclough <barraclough@apple.com> · dc8e4e28
      barraclough@apple.com authored
              Reviewed by NOBODY (Windows build fix).
      
              * jit/JIT.h:
              * jit/JITInlineMethods.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44887 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dc8e4e28
    • barraclough@apple.com's avatar
      2009-06-19 Gabor Loki <loki@inf.u-szeged.hu> · cf4899dc
      barraclough@apple.com authored
              Reviewed by Gavin Barraclough.
      
              Reorganize ARM architecture specific macros.
              Use PLATFORM_ARM_ARCH(7) instead of PLATFORM(ARM_V7).
      
              Bug 24986: ARM JIT port
              <https://bugs.webkit.org/show_bug.cgi?id=24986>
      
              * assembler/ARMv7Assembler.h:
              * assembler/AbstractMacroAssembler.h:
              (JSC::AbstractMacroAssembler::Imm32::Imm32):
              * assembler/MacroAssembler.h:
              * assembler/MacroAssemblerCodeRef.h:
              (JSC::MacroAssemblerCodePtr::MacroAssemblerCodePtr):
              * jit/ExecutableAllocator.h:
              (JSC::ExecutableAllocator::cacheFlush):
              * jit/JIT.h:
              * jit/JITInlineMethods.h:
              (JSC::JIT::restoreArgumentReferenceForTrampoline):
              * jit/JITStubs.cpp:
              * jit/JITStubs.h:
              * wtf/Platform.h:
              * yarr/RegexJIT.cpp:
              (JSC::Yarr::RegexGenerator::generateEnter):
              (JSC::Yarr::RegexGenerator::generateReturn):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44886 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cf4899dc
    • bweinstein@apple.com's avatar
      e30b7e26
    • barraclough@apple.com's avatar
      2009-06-19 Gavin Barraclough <barraclough@apple.com> · 06d6197a
      barraclough@apple.com authored
              Reviewed by Oliver Hunt.
      
              Fix armv7 JIT build issues.
      
              Unfortunate the arm compiler does not like the use of offsetof on JITStackFrame (since it now contains non POD types),
              and the FIELD_OFFSET macro does not appear constantish enough for it to be happy with its use in COMPILE_ASSERT macros.
      
              * Replace offsetofs with FIELD_OFFSETs (safe on C++ objects).
              * Move COMPILE_ASSERTs defending layout of JITStackFrame structure on armv7 into JITThunks constructor.
      
              * jit/JIT.cpp:
              * jit/JIT.h:
              * jit/JITInlineMethods.h:
              (JSC::JIT::restoreArgumentReference):
              * jit/JITOpcodes.cpp:
              (JSC::JIT::emit_op_catch):
              * jit/JITStubs.cpp:
              (JSC::JITThunks::JITThunks):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44884 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      06d6197a
    • bweinstein@apple.com's avatar
      2009-06-19 Brian Weinstein <bweinstein@apple.com> · 58003b76
      bweinstein@apple.com authored
              Reviewed by Steve Falkenburg.
              
              https://bugs.webkit.org/show_bug.cgi?id=26488
              No Support for Single Finger or Two Finger Panning in Windows 7
              
              The code in WebCore allows us to interpret a Pan gesture as
              a mousewheel event, and we are able to reuse the scrolling code.
              Another constructor was created in WheelEventWin which takes data
              better suited to the pan guesture than what was currently there. 
              
              Unable to add tests to simulate touch behavior/gestures.
      
              * platform/PlatformWheelEvent.h:
              * platform/win/WheelEventWin.cpp:
      
      2009-06-19  Brian Weinstein  <bweinstein@apple.com>
      
              Reviewed by Steve Falkenburg.
              
              https://bugs.webkit.org/show_bug.cgi?id=26488
              No Support for Single Finger or Two Finger Panning in Windows 7
              
              The code in WebCore allows us to interpret a Pan gesture as
              a mousewheel event, and we are able to reuse the scrolling code.
              Another constructor was created in WheelEventWin which takes data
              better suited to the pan guesture than what was currently there. 
              
              Unable to add tests to simulate touch behavior/gestures.
      
              * platform/PlatformWheelEvent.h:
              * platform/win/WheelEventWin.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44883 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      58003b76
    • bfulgham@webkit.org's avatar
      2009-06-19 Ryosuke Niwa <rniwa@google.com> · 40048a11
      bfulgham@webkit.org authored
              Reviewed by Maciej Stachowiak.
      
              This fixs the bug 26361. The original test case did not invoke the event that
              triggered the actual test. This patch adds code to invoke this event, and also
              converts it from a pixel test to a dumpAsText test.
      
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44882 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      40048a11
    • cmarrin@apple.com's avatar
      Fixed a build error, which only shows up in the i386 compile · ad21e38e
      cmarrin@apple.com authored
              * platform/graphics/mac/GraphicsLayerCA.mm:
              (WebCore::GraphicsLayerCA::animateTransform):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44881 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ad21e38e
    • simon.fraser@apple.com's avatar
      2009-06-19 Simon Fraser <simon.fraser@apple.com> · 9f70e7da
      simon.fraser@apple.com authored
              Reviewed by Oliver Hunt.
      
              <rdar://problem/6988385> REGRESSION: In full page video player, movie's
              video track becomes detached from its controller.
      
              When in the media document, the MediaPlayer should not report that it
              is capable of hardware acceleration, because it renders via a QTMovieView
              which is already accelerated.
      
              * platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
              (WebCore::MediaPlayerPrivate::supportsAcceleratedRendering):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44880 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9f70e7da
    • kevino@webkit.org's avatar
      Adding XSSAuditor.cpp to the wx build. · dd7861d6
      kevino@webkit.org authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44879 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dd7861d6
    • cmarrin@apple.com's avatar
      https://bugs.webkit.org/show_bug.cgi?id=26544 · 635a5ac3
      cmarrin@apple.com authored
              If I am doing a Matrix hardware animation and any matrix is singular, I revert to software.
              This is not really testable, since we can't see what the hardware animation is doing.
      
              * platform/graphics/mac/GraphicsLayerCA.mm:
              (WebCore::GraphicsLayerCA::animateTransform):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44878 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      635a5ac3
    • ggaren@apple.com's avatar
      2009-06-19 Geoffrey Garen <ggaren@apple.com> · 6812fc0e
      ggaren@apple.com authored
              Reviewed by Maciej Stachowiak.
              
              An additional fix for Bug 26532: Native functions do not correctly unlink
              from optimised callsites when they're collected
              <https://bugs.webkit.org/show_bug.cgi?id=26532> | <rdar://problem/6625385>
      
              Use "NativeFunctionWrapper" instead of "PrototypeFunction" in cross-frame
              accessors, so the type of object you get to wrap a function is the same,
              regardless of whether the access to the function is cross-frame.
              
              This is faster and more idiomatic than what we had before. It also would
              have avoided Bug 26532 because it would have prevented a conflicting
              PrototypeFunction from being allocated to wrap postMessage, where a
              NativeFunctionWrapper had been allocated previously.
              
              * bindings/js/JSDOMBinding.cpp:
              (WebCore::objectToStringFunctionGetter):
              * bindings/js/JSDOMWindowCustom.cpp:
              (WebCore::nonCachingStaticFunctionGetter):
              * bindings/js/JSHistoryCustom.cpp:
              (WebCore::nonCachingStaticBackFunctionGetter):
              (WebCore::nonCachingStaticForwardFunctionGetter):
              (WebCore::nonCachingStaticGoFunctionGetter):
              * bindings/js/JSLocationCustom.cpp:
              (WebCore::nonCachingStaticReplaceFunctionGetter):
              (WebCore::nonCachingStaticReloadFunctionGetter):
              (WebCore::nonCachingStaticAssignFunctionGetter):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44877 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6812fc0e
    • simon.fraser@apple.com's avatar
      2009-06-19 Simon Fraser <simon.fraser@apple.com> · 8ac46ac1
      simon.fraser@apple.com authored
              Reviewed by John Sullivan
      
              <rdar://problem/6953673> Crash in RenderLayerCompositor::setCompositingParent
      
              Fix a crash that could occur in complex content due to timing issues
              when doing a partial layer tree rebuild which is required when painting;
              setCompositingParent() could be called with a parent which has not been made
              compositing yet.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44876 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8ac46ac1
    • kov@webkit.org's avatar
      2009-06-19 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk> · c02ac56d
      kov@webkit.org authored
              Build fix. Adding missing HTMLDataGrid* files to the build.
      
              * GNUmakefile.am:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44875 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c02ac56d
    • pkasting@chromium.org's avatar
      2009-06-19 Peter Kasting <pkasting@google.com> · 2fef61b6
      pkasting@chromium.org authored
              Reviewed by Eric Seidel.
      
              https://bugs.webkit.org/show_bug.cgi?id=26460 part three
              Make BMPImageReader a standalone class that is used by ICOImageDecoder
              and BMPImageDecoder to decode individual BMPs within a file.  These
              decoders now inherit directly from ImageDecoder.
              
              This also makes these decoders decode on-demand in isSizeAvailable() and
              frameBufferAtIndex(), like the other decoders, instead of when setData()
              is called, like before.  This should provide a speedup on pages
              containing BMPs that aren't immediately onscreen.
      
              * platform/image-decoders/bmp/BMPImageDecoder.cpp:
              (WebCore::BMPImageDecoder::BMPImageDecoder):
              (WebCore::BMPImageDecoder::setData):
              (WebCore::BMPImageDecoder::isSizeAvailable):
              (WebCore::BMPImageDecoder::frameBufferAtIndex):
              (WebCore::BMPImageDecoder::decodeWithCheckForDataEnded):
              (WebCore::BMPImageDecoder::decode):
              (WebCore::BMPImageDecoder::processFileHeader):
              * platform/image-decoders/bmp/BMPImageDecoder.h:
              (WebCore::BMPImageDecoder::readUint32):
              * platform/image-decoders/bmp/BMPImageReader.cpp:
              (WebCore::BMPImageReader::BMPImageReader):
              (WebCore::BMPImageReader::decodeBMP):
              (WebCore::BMPImageReader::readInfoHeaderSize):
              (WebCore::BMPImageReader::processInfoHeader):
              (WebCore::BMPImageReader::readInfoHeader):
              (WebCore::BMPImageReader::processBitmasks):
              (WebCore::BMPImageReader::processColorTable):
              (WebCore::BMPImageReader::processRLEData):
              (WebCore::BMPImageReader::processNonRLEData):
              (WebCore::BMPImageReader::setFailed):
              * platform/image-decoders/bmp/BMPImageReader.h:
              (WebCore::BMPImageReader::readUint16):
              (WebCore::BMPImageReader::readUint32):
              (WebCore::BMPImageReader::setBuffer):
              (WebCore::BMPImageReader::setData):
              (WebCore::BMPImageReader::):
              (WebCore::BMPImageReader::pastEndOfImage):
              (WebCore::BMPImageReader::readCurrentPixel):
              (WebCore::BMPImageReader::setRGBA):
              * platform/image-decoders/ico/ICOImageDecoder.cpp:
              (WebCore::ICOImageDecoder::ICOImageDecoder):
              (WebCore::ICOImageDecoder::setData):
              (WebCore::ICOImageDecoder::isSizeAvailable):
              (WebCore::ICOImageDecoder::size):
              (WebCore::ICOImageDecoder::frameBufferAtIndex):
              (WebCore::ICOImageDecoder::decodeWithCheckForDataEnded):
              (WebCore::ICOImageDecoder::decode):
              (WebCore::ICOImageDecoder::processDirectory):
              (WebCore::ICOImageDecoder::processDirectoryEntries):
              (WebCore::ICOImageDecoder::readDirectoryEntry):
              (WebCore::ICOImageDecoder::processImageType):
              * platform/image-decoders/ico/ICOImageDecoder.h:
              (WebCore::ICOImageDecoder::readUint16):
              (WebCore::ICOImageDecoder::readUint32):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44874 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2fef61b6
    • treat@webkit.org's avatar
      2009-06-19 Adam Treat <adam.treat@torchmobile.com> · 23260caa
      treat@webkit.org authored
              Blind attempt at build fix.
      
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore_debug.def:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44873 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      23260caa
    • hyatt@apple.com's avatar
      Add missed file. · 0d8c6341
      hyatt@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44872 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0d8c6341