1. 08 May, 2009 2 commits
    • mrowe@apple.com's avatar
      Fix <https://bugs.webkit.org/show_bug.cgi?id=25640>. · 6851589a
      mrowe@apple.com authored
      Bug 25640: Crash on quit in r43384 nightly build on Leopard w/ Safari 4 beta installed
      
      Rubber-stamped by Oliver Hunt.
      
      Roll out r43366 as it removed symbols that Safari 4 Beta uses.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43392 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6851589a
    • xan@webkit.org's avatar
      WebCore: · ee7e2377
      xan@webkit.org authored
      2009-05-08  Xan Lopez  <xlopez@igalia.com>
      
              Reviewed by Gustavo Noronha.
      
              Unify scrolling code via adjustments and keys. Use the WebCore
              defined constants, since that's what people are most used to at
              this point.
      
              * platform/gtk/ScrollViewGtk.cpp:
              (WebCore::ScrollView::platformHandleHorizontalAdjustment):
              (WebCore::ScrollView::platformHandleVerticalAdjustment):
      
      WebKit/gtk:
      
      2009-05-08  Xan Lopez  <xlopez@igalia.com>
      
              Reviewed by Gustavo Noronha.
      
              Unify scrolling code via adjustments and keys. Use the WebCore
              defined constants, since that's what people are most used to at
              this point.
      
              * ChangeLog:
              * webkit/webkitwebview.cpp:
              (webkit_web_view_real_move_cursor):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43390 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ee7e2377
  2. 07 May, 2009 38 commits
    • levin@chromium.org's avatar
      WebCore: · 4cd24395
      levin@chromium.org authored
      2009-05-07  David Levin  <levin@chromium.org>
      
              Reviewed by NOBODY.
              Suggested by Oliver Hunt.
      
              Rolling back http://trac.webkit.org/changeset/43385
              because we have to use mac artwork for the underline on OSX.
      
              * platform/graphics/cg/GraphicsContextCG.cpp:
              * platform/graphics/mac/GraphicsContextMac.mm:
              (WebCore::createPatternColor):
              (WebCore::GraphicsContext::drawLineForMisspellingOrBadGrammar):
              * platform/graphics/win/GraphicsContextCGWin.cpp:
              (WebCore::setCGStrokeColor):
              (WebCore::spellingPatternColor):
              (WebCore::grammarPatternColor):
              (WebCore::GraphicsContext::drawLineForMisspellingOrBadGrammar):
      
      LayoutTests:
      
      2009-05-07  David Levin  <levin@chromium.org>
      
              Reviewed by NOBODY.
              Suggested by Oliver Hunt.
      
              Rolling back http://trac.webkit.org/changeset/43385
              because we have to use mac artwork for the underline on OSX.
      
              * platform/mac/editing/spelling/inline_spelling_markers-expected.checksum:
              * platform/mac/editing/spelling/inline_spelling_markers-expected.png:
              * platform/mac/editing/spelling/spellcheck-attribute-expected.checksum:
              * platform/mac/editing/spelling/spellcheck-attribute-expected.png:
              * platform/mac/editing/spelling/spelling-expected.checksum:
              * platform/mac/editing/spelling/spelling-expected.png:
              * platform/mac/editing/spelling/spelling-linebreak-expected.checksum:
              * platform/mac/editing/spelling/spelling-linebreak-expected.png:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4cd24395
    • levin@chromium.org's avatar
      WebCore: · 570ffe86
      levin@chromium.org authored
      2009-05-07  John Grabowski  <jrg@chromium.org>
      
              Reviewed by Simon Fraser.
      
              https://bugs.webkit.org/show_bug.cgi?id=25573
              Unify use of CG-common routine for drawLineForMisspellingOrBadGrammar.
              Cleanup for WebKit, but required for Chromium happiness.
      
              * platform/graphics/cg/GraphicsContextCG.cpp:
              (WebCore::spellingPatternColor):
              (WebCore::grammarPatternColor):
              (WebCore::GraphicsContext::drawLineForMisspellingOrBadGrammar):
              * platform/graphics/mac/GraphicsContextMac.mm:
              * platform/graphics/win/GraphicsContextCGWin.cpp:
      
      LayoutTests:
      
      2009-05-07  John Grabowski  <jrg@chromium.org>
      
              Reviewed by Simon Fraser.
      
              https://bugs.webkit.org/show_bug.cgi?id=25573
              Rebaseline of spelling tests for Mac.  Tests pass even without this
              change but checksums don't match.  Non-Mac does not need a new baseline.
      
              * platform/mac/editing/spelling/inline_spelling_markers-expected.checksum:
              * platform/mac/editing/spelling/inline_spelling_markers-expected.png:
              * platform/mac/editing/spelling/spellcheck-attribute-expected.checksum:
              * platform/mac/editing/spelling/spellcheck-attribute-expected.png:
              * platform/mac/editing/spelling/spelling-expected.checksum:
              * platform/mac/editing/spelling/spelling-expected.png:
              * platform/mac/editing/spelling/spelling-linebreak-expected.checksum:
              * platform/mac/editing/spelling/spelling-linebreak-expected.png:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43385 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      570ffe86
    • kov@webkit.org's avatar
      2009-05-07 Gustavo Noronha Silva <gns@gnome.org> · de78b1ee
      kov@webkit.org authored
              Suggested by Oliver Hunt.
      
              Also check for Linux for the special-cased calling convention.
      
              * jit/JIT.cpp:
              (JSC::JIT::privateCompileCTIMachineTrampolines):
              * wtf/Platform.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43384 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      de78b1ee
    • barraclough@apple.com's avatar
      2009-05-07 Gavin Barraclough <barraclough@apple.com> · 19dd43d9
      barraclough@apple.com authored
              Reviewed by Maciej Stachowiak.
      
              Previously, when appending to an existing string and growing the underlying buffer,
              we would actually allocate 110% of the required size in order to give us some space
              to expand into.  Now we treat strings differently based on their size:
      
              Small Strings (up to 4 pages):
              Expand the allocation size to 112.5% of the amount requested.  This is largely sicking
              to our previous policy, however 112.5% is cheaper to calculate.
      
              Medium Strings (up to 128 pages):
              For pages covering multiple pages over-allocation is less of a concern - any unused
              space will not be paged in if it is not used, so this is purely a VM overhead.  For
              these strings allocate 2x the requested size.
      
              Large Strings (to infinity and beyond!):
              Revert to our 112.5% policy - probably best to limit the amount of unused VM we allow
              any individual string be responsible for.
      
              Additionally, round small allocations up to a multiple of 16 bytes, and medium and
              large allocations up to a multiple of page size.
      
              ~1.5% progression on Sunspider, due to 5% improvement on tagcloud & 15% on validate.
      
              * runtime/UString.cpp:
              (JSC::expandedSize):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43383 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      19dd43d9
    • ggaren@apple.com's avatar
      2009-05-07 Geoffrey Garen <ggaren@apple.com> · 9ed67048
      ggaren@apple.com authored
              Reviewed by Cameron Zwarich.
              
              Fixed a minor sequencing error introduced by recent Parser speedups.
      
              * runtime/JSGlobalData.cpp:
              (JSC::JSGlobalData::createNativeThunk): Missed a spot in my last patch.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43382 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9ed67048
    • darin@apple.com's avatar
      WebCore: · b0359995
      darin@apple.com authored
      2009-05-07  Darin Adler  <darin@apple.com>
      
              Reviewed by Simon Fraser.
      
              Bug 25575: Registered mutation event listener crashes HTMLMediaElement
              https://bugs.webkit.org/show_bug.cgi?id=25575
      
              Test: fast/media/video-controls-with-mutation-event-handler.html
      
              * rendering/MediaControlElements.cpp:
              (WebCore::MediaControlTimelineElement::MediaControlTimelineElement): Don't call setAttribute.
              * rendering/RenderMedia.cpp:
              (WebCore::RenderMedia::createTimeline): Call setAttribute here.
      
      LayoutTests:
      
      2009-05-07  Darin Adler  <darin@apple.com>
      
              Reviewed by Simon Fraser.
      
              Bug 25575: Registered mutation event listener crashes HTMLMediaElement
              https://bugs.webkit.org/show_bug.cgi?id=25575
      
              * fast/media/video-controls-with-mutation-event-handler-expected.txt: Added.
              * fast/media/video-controls-with-mutation-event-handler.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43381 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b0359995
    • simon.fraser@apple.com's avatar
      2009-05-07 Simon Fraser <simon.fraser@apple.com> · 85362502
      simon.fraser@apple.com authored
              Rubber Stamped by Dave Hyatt
      
              Shuffle the data members to minimize padding.
      
              * rendering/RenderTableSection.cpp:
              (WebCore::RenderTableSection::RenderTableSection):
              * rendering/RenderTableSection.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43380 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      85362502
    • simon.fraser@apple.com's avatar
      2009-05-07 Simon Fraser <simon.fraser@apple.com> · 1d444621
      simon.fraser@apple.com authored
              Rubber Stamped by Dave Hyatt
      
              Shuffle the data members to make Events 8 bytes smaller in 64-bit.
      
              * dom/Event.cpp:
              (WebCore::Event::Event):
              * dom/Event.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43379 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1d444621
    • bdakin@apple.com's avatar
      WebCore: · 61779ab6
      bdakin@apple.com authored
      2009-05-07  Eric Seidel  <eric@webkit.org>
      
              Reviewed by Beth Dakin.
      
              Fix regression caused by r41469, add test case to prevent it from 
              happening again.
              https://bugs.webkit.org/show_bug.cgi?id=25252
        
              hasLayer() was true during removeOnlyThisLayer()/
              updateLayerPositions()
              which caused updateLayerPosition()'s walk up the render tree to 
              include offsets from the layer we were about to remove.
        
              I'm not 100% convinced that this wasn't a bug in 
              updateLayerPosition() or in RenderBoxModelObject::styleDidChange, 
              because the layer in question is not the containing block for the 
              block which gets laid out wrong. But this restores the previous 
              behavior and adds a test.  So the next time someone is in here re-
              factoring, they will at least know if they break something.
        
              Test: fast/layers/remove-only-this-layer-update.html
      
              * rendering/RenderBoxModelObject.cpp:
              (WebCore::RenderBoxModelObject::destroyLayer):
              * rendering/RenderLayer.cpp:
              (WebCore::RenderLayer::removeOnlyThisLayer):
              * rendering/RenderObject.cpp:
              (WebCore::RenderObject::destroy):
              * rendering/RenderWidget.cpp:
              (WebCore::RenderWidget::destroy):
      
      LayoutTests:
      
      2009-05-07  Eric Seidel  <eric@webkit.org>
      
              Reviewed by Beth Dakin.
      
              Fix regression caused by r41469, add test case to prevent it from 
              happening again.
              https://bugs.webkit.org/show_bug.cgi?id=25252
      
              * fast/layers/remove-only-this-layer-update.html: Added.
              * platform/mac/fast/layers/remove-only-this-layer-update-expected.checksum: Added.
              * platform/mac/fast/layers/remove-only-this-layer-update-expected.png: Added.
              * platform/mac/fast/layers/remove-only-this-layer-update-expected.txt: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43378 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      61779ab6
    • ggaren@apple.com's avatar
      2009-05-07 Geoffrey Garen <ggaren@apple.com> · ece7e09c
      ggaren@apple.com authored
              Not reviewed.
      
              * wtf/Platform.h: Reverted an accidental (and performance-catastrophic)
              change.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43377 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ece7e09c
    • ggaren@apple.com's avatar
      2009-05-07 Geoffrey Garen <ggaren@apple.com> · 9bfcde1a
      ggaren@apple.com authored
              Reviewed by Cameron Zwarich.
              
              Fixed a minor sequencing error introduced by recent Parser speedups.
      
              * parser/Parser.cpp:
              (JSC::Parser::reparseInPlace): Missed a spot in my last patch.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43376 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9bfcde1a
    • ggaren@apple.com's avatar
      2009-05-07 Geoffrey Garen <ggaren@apple.com> · e878b0b5
      ggaren@apple.com authored
              Reviewed by Cameron Zwarich.
              
              Fixed a minor sequencing error introduced by recent Parser speedups.
      
              * parser/Parser.cpp:
              (JSC::Parser::parse):
              * parser/Parser.h:
              (JSC::Parser::parse):
              (JSC::Parser::reparse): Shrink the parsedObjects vector after allocating
              the root node, to avoid leaving a stray node in the vector, since that's
              a slight memory leak, and it causes problems during JSGlobalData teardown.
      
              * runtime/JSGlobalData.cpp:
              (JSC::JSGlobalData::~JSGlobalData): ASSERT that we're not being torn
              down while we think we're still parsing, since that would cause lots of
              bad memory references during our destruction.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43375 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e878b0b5
    • ggaren@apple.com's avatar
      2009-05-07 Geoffrey Garen <ggaren@apple.com> · 55e81047
      ggaren@apple.com authored
              Reviewed by Cameron Zwarich.
              
              Replaced two more macros with references to the JITStackFrame structure.
      
              * jit/JIT.cpp:
              (JSC::JIT::privateCompileMainPass):
              * jit/JITInlineMethods.h:
              (JSC::JIT::restoreArgumentReference):
              * jit/JITStubs.cpp:
              (JSC::):
              * jit/JITStubs.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43374 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      55e81047
    • dimich@chromium.org's avatar
      2009-05-07 Dmitry Titov <dimich@chromium.org> · 0570dd5c
      dimich@chromium.org authored
              Attempt to fix GTK build.
      
              * platform/graphics/GlyphPageTreeNode.h: add #include <string.h> to ensure memcpy and memset are defined.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43373 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0570dd5c
    • oliver@apple.com's avatar
      Improve native call performance · 459251ae
      oliver@apple.com authored
      Reviewed by Gavin Barraclough.
      
      Fix the windows build by adding calling convention declarations everywhere,
      chose fastcall as that seemed most sensible given we were having to declare
      the convention explicitly.  In addition switched to fastcall on mac in the
      deluded belief that documented fastcall behavior on windows would match
      actual its actual behavior.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43372 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      459251ae
    • ggaren@apple.com's avatar
      2009-05-07 Geoffrey Garen <ggaren@apple.com> · aa4c12d0
      ggaren@apple.com authored
              Not reviewed.
              
              Rolled out a portion of r43352 because it broke 64bit.
      
              * jit/JITStubs.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43371 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      aa4c12d0
    • dimich@chromium.org's avatar
      2009-05-07 Dmitry Titov <dimich@chromium.org> · 4296bf48
      dimich@chromium.org authored
              Attempt to fix Win build.
      
              * jit/JITArithmetic.cpp:
              (JSC::JIT::compileFastArithSlow_op_jnless):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43370 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4296bf48
    • kevino@webkit.org's avatar
      Build fix for functions reaturning ThreadIdentifier. · 2755fc89
      kevino@webkit.org authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43369 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2755fc89
    • mjs@apple.com's avatar
      2009-05-07 Maciej Stachowiak <mjs@apple.com> · 36466f66
      mjs@apple.com authored
              Reviewed by John Honeycutt.
              
              - enable optimization case im the last patch that I accidentally had disabled.
      
              * jit/JITArithmetic.cpp:
              (JSC::JIT::compileFastArithSlow_op_jnless):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43368 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      36466f66
    • zimmermann@webkit.org's avatar
      Reviewed by Dave Hyatt. · b75da289
      zimmermann@webkit.org authored
      Fixes: https://bugs.webkit.org/show_bug.cgi?id=25617
      
      Fix memory/performance regression because of too much form control related abstraction just for WMLs sake.
      
      Remove FormControlElement and FormControlElementWithState base classes, as the overhead is too high for the
      gain. HTML has no benefit of that kind of abstraction, so we're going to move the functionality to Element directly.
      
      The functions now living in FormControlElement(WithState) lived in Node/Element/HTMLFormControlElement before.
      This patches moves all of them in a central place in Element.h, as virtual functions with an inline default implementation.
      To avoid confusion like isEnabled() living on Node, before the creation of the FormControlElement abstraction layer, all
      methods are renamed to clarify where they belong to. (Detailed list in ChangeLog)
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43367 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b75da289
    • dimich@chromium.org's avatar
      JavaScriptCore: · 4b43290e
      dimich@chromium.org authored
      2009-05-07  Dmitry Titov  <dimich@chromium.org>
      
              Reviewed by Alexey Proskuryakov and Adam Roben.
      
              https://bugs.webkit.org/show_bug.cgi?id=25348
              Change WTF::ThreadIdentifier to be an actual (but wrapped) thread id, remove ThreadMap.
      
              * wtf/Threading.h:
              (WTF::ThreadIdentifier::ThreadIdentifier):
              (WTF::ThreadIdentifier::isValid):
              (WTF::ThreadIdentifier::invalidate):
              (WTF::ThreadIdentifier::platformId):
              ThreadIdentifier is now a class, containing a PlatformThreadIdentifier and
              methods that are used across the code on thread ids: construction, comparisons,
              check for 'valid' state etc. '0' is used as invalid id, which happens to just work
              with all platform-specific thread id implementations.
      
              All the following files repeatedly reflect the new ThreadIdentifier for each platform.
              We remove ThreadMap and threadMapMutex from all of them, remove the functions that
              populated/searched/cleared the map and add platform-specific comparison operators
              for ThreadIdentifier.
      
              * wtf/gtk/ThreadingGtk.cpp:
              (WTF::ThreadIdentifier::operator==):
              (WTF::ThreadIdentifier::operator!=):
              (WTF::initializeThreading):
              (WTF::createThreadInternal):
              (WTF::waitForThreadCompletion):
              (WTF::currentThread):
      
              * wtf/ThreadingNone.cpp:
              (WTF::ThreadIdentifier::operator==):
              (WTF::ThreadIdentifier::operator!=):
      
              * wtf/ThreadingPthreads.cpp:
              (WTF::ThreadIdentifier::operator==):
              (WTF::ThreadIdentifier::operator!=):
              (WTF::initializeThreading):
              (WTF::createThreadInternal):
              (WTF::waitForThreadCompletion):
              (WTF::detachThread):
              (WTF::currentThread):
      
              * wtf/qt/ThreadingQt.cpp:
              (WTF::ThreadIdentifier::operator==):
              (WTF::ThreadIdentifier::operator!=):
              (WTF::initializeThreading):
              (WTF::createThreadInternal):
              (WTF::waitForThreadCompletion):
              (WTF::currentThread):
      
              * wtf/ThreadingWin.cpp:
              (WTF::ThreadIdentifier::operator==):
              (WTF::ThreadIdentifier::operator!=):
              (WTF::initializeThreading):
              (WTF::createThreadInternal): All the platforms (except Windows) used a sequential
              counter as a thread ID and mapped it into platform ID. Windows was using native thread
              id and mapped it into thread handle. Since we can always obtain a thread handle
              by thread id, createThread now closes the handle.
              (WTF::waitForThreadCompletion): obtains another one using OpenThread(id) API. If can not obtain a handle,
              it means the thread already exited.
              (WTF::detachThread):
              (WTF::currentThread):
              (WTF::detachThreadDeprecated): old function, renamed (for Win Safari 4 beta which uses it for now).
              (WTF::waitForThreadCompletionDeprecated): same.
              (WTF::currentThreadDeprecated): same.
              (WTF::createThreadDeprecated): same.
      
              * bytecode/SamplingTool.h:
              * bytecode/SamplingTool.cpp: Use DEFINE_STATIC_LOCAL for a static ThreadIdentifier variable, to avoid static constructor.
      
              * JavaScriptCore.exp: export lists - updated the WTF threading functions decorated names
              since they now take a different type as a parameter.
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def: ditto for Windows, plus added "deprecated" functions
              that take old parameter type - turns out public beta of Safari 4 uses those, so they need to be kept along for a while.
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore_debug.def: ditto.
      
      WebCore:
      
      2009-05-07  Dmitry Titov  <dimich@chromium.org>
      
              Reviewed by Alexey Proskuryakov and Adam Roben.
      
              https://bugs.webkit.org/show_bug.cgi?id=25348
              Change WTF::ThreadIdentifier to be an actual (but wrapped) thread id, remove ThreadMap.
      
              Most of the change is in WTF.
              Unless noted, all the following files changed to use the new ThreadIdentifier::isValid()
              method instead of just doing 'if(m_threadID)' kind of checks, since ThreadIdentifier
              is now a class rather then an integer.
              Also, there is no need to initialize threadID in constructors to 0 now.
      
              * dom/XMLTokenizerLibxml2.cpp:
              (WebCore::libxmlLoaderThread): use DEFINE_STATIC_LOCAL and accessor function for static thread id,
              since now ThreadIdentifier needs construction and we avoid having global initializers.
              (WebCore::matchFunc): use the new accessor function.
              (WebCore::openFunc): ditto.
              (WebCore::createStringParser): ditto.
              (WebCore::createMemoryParser): ditto.
              * loader/icon/IconDatabase.cpp:
              (WebCore::IconDatabase::open):
              * platform/sql/SQLiteDatabase.cpp:
              (WebCore::SQLiteDatabase::SQLiteDatabase):
              (WebCore::SQLiteDatabase::close):
              * storage/DatabaseThread.cpp:
              (WebCore::DatabaseThread::start):
              (WebCore::DatabaseThread::databaseThread): remove m_threadID from debug output.
              * storage/LocalStorageThread.cpp:
              (WebCore::LocalStorageThread::start):
              (WebCore::LocalStorageThread::scheduleImport):
              (WebCore::LocalStorageThread::scheduleSync):
              (WebCore::LocalStorageThread::terminate):
              * workers/WorkerThread.cpp:
              (WebCore::WorkerThread::start):
              (WebCore::WorkerThread::WorkerThread):
              (WebCore::WorkerThread::start):
      
      WebKit/win:
      
      2009-05-07  Dmitry Titov  <dimich@chromium.org>
      
              Reviewed by Alexey Proskuryakov and Adam Roben.
      
              https://bugs.webkit.org/show_bug.cgi?id=25348
              Change WTF::ThreadIdentifier to be an actual (but wrapped) thread id, remove ThreadMap.
      
              Most of the change is in WTF and WebCore.
      
              * WebKit.vcproj/WebKit.def: replaced decorated names of WTF threading functions with new ones.
              Also, aliased the old implementations so the public Safari 4 beta can load the old WTF functions
              which it uses. Next time Safari 4 builds, it will pick up new functions and the deprecated ones
              can be removed.
              * WebKit.vcproj/WebKit_debug.def: same.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43366 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4b43290e
    • simon.fraser@apple.com's avatar
      2009-05-07 Simon Fraser <simon.fraser@apple.com> · 10438435
      simon.fraser@apple.com authored
              Rubber Stamped by Dave Hyatt
      
              Shuffle the data members to minimize padding.
      
              * dom/ClassNames.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43365 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      10438435
    • simon.fraser@apple.com's avatar
      2009-05-07 Simon Fraser <simon.fraser@apple.com> · f7807ae8
      simon.fraser@apple.com authored
              Reviewed by Darin Adler
      
              <rdar://problem/6864062> Shrink GlyphPage from 4112 to 2576 bytes in 64-bit
              https://bugs.webkit.org/show_bug.cgi?id=25605
      
              Shrink GlyphPage by splitting the array of GlyphData, which has lots
              of padding, into separate Glyph and SimpleFontData* arrays.
      
              * platform/graphics/Font.h:
              glyphDataForCharacter has to return a GlyphData by value now.
      
              * platform/graphics/FontFastPath.cpp:
              (WebCore::Font::glyphDataForCharacter):
              Return GlyphData by value.
      
              * platform/graphics/GlyphPageTreeNode.cpp:
              (WebCore::GlyphPageTreeNode::initializePage):
              Better encapsulation of GlyphPage, using the new methods.
      
              * platform/graphics/Font.h:
              * platform/graphics/FontFastPath.cpp:
              (WebCore::Font::glyphDataForCharacter):
              * platform/graphics/GlyphPageTreeNode.cpp:
              (WebCore::GlyphPageTreeNode::initializePage):
              * platform/graphics/GlyphPageTreeNode.h:
              (WebCore::GlyphData::GlyphData):
              (WebCore::GlyphPage::indexForCharacter):
              (WebCore::GlyphPage::glyphDataForCharacter):
              (WebCore::GlyphPage::glyphDataForIndex):
              (WebCore::GlyphPage::glyphAt):
              (WebCore::GlyphPage::fontDataForCharacter):
              (WebCore::GlyphPage::setGlyphDataForCharacter):
              (WebCore::GlyphPage::setGlyphDataForIndex):
              (WebCore::GlyphPage::copyFrom):
              (WebCore::GlyphPage::clear):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43364 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f7807ae8
    • mjs@apple.com's avatar
      2009-05-07 Maciej Stachowiak <mjs@apple.com> · 4ff53cc6
      mjs@apple.com authored
              Reviewed by Sam Weinig.
              
              - optimize various cases of branch-fused less
              
              1% speedup on SunSpider overall
              13% speedup on math-cordic
      
              * jit/JIT.cpp:
              (JSC::JIT::privateCompileMainPass):
              op_loop_if_less: Optimize case of constant as first operand, just as case of constant as
              second operand.
              op_jnless: Factored out into compileFastArith_op_jnless.
              (JSC::JIT::privateCompileSlowCases):
              op_jnless: Factored out into compileFastArithSlow_op_jnless.
              * jit/JIT.h:
              * jit/JITArithmetic.cpp:
              (JSC::JIT::compileFastArith_op_jnless): Factored out from main compile loop.
              - Generate inline code for comparison of constant immediate int as first operand to another
              immediate int, as for loop_if_less
      
              (JSC::JIT::compileFastArithSlow_op_jnless):
              - Generate inline code for comparing two floating point numbers.
              - Generate code for both cases of comparing a floating point number to a constant immediate 
              int.
              * bytecode/CodeBlock.cpp:
              (JSC::CodeBlock::dump): Fix dumping of op_jnless (tangentially related bugfix).
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43363 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4ff53cc6
    • ggaren@apple.com's avatar
      2009-05-07 Geoffrey Garen <ggaren@apple.com> · 407e99f6
      ggaren@apple.com authored
              Reviewed by Sam Weinig.
              
              Added the return address of a stub function to the JITStackFrame abstraction.
      
              * jit/JIT.cpp:
              * jit/JIT.h:
              * jit/JITStubs.cpp:
              (JSC::):
              (JSC::StackHack::StackHack):
              (JSC::StackHack::~StackHack):
              (JSC::returnToThrowTrampoline):
              (JSC::JITStubs::cti_op_convert_this):
              (JSC::JITStubs::cti_op_end):
              (JSC::JITStubs::cti_op_add):
              (JSC::JITStubs::cti_op_pre_inc):
              (JSC::JITStubs::cti_timeout_check):
              (JSC::JITStubs::cti_register_file_check):
              (JSC::JITStubs::cti_op_loop_if_less):
              (JSC::JITStubs::cti_op_loop_if_lesseq):
              (JSC::JITStubs::cti_op_new_object):
              (JSC::JITStubs::cti_op_put_by_id_generic):
              (JSC::JITStubs::cti_op_get_by_id_generic):
              (JSC::JITStubs::cti_op_put_by_id):
              (JSC::JITStubs::cti_op_put_by_id_second):
              (JSC::JITStubs::cti_op_put_by_id_fail):
              (JSC::JITStubs::cti_op_get_by_id):
              (JSC::JITStubs::cti_op_get_by_id_second):
              (JSC::JITStubs::cti_op_get_by_id_self_fail):
              (JSC::JITStubs::cti_op_get_by_id_proto_list):
              (JSC::JITStubs::cti_op_get_by_id_proto_list_full):
              (JSC::JITStubs::cti_op_get_by_id_proto_fail):
              (JSC::JITStubs::cti_op_get_by_id_array_fail):
              (JSC::JITStubs::cti_op_get_by_id_string_fail):
              (JSC::JITStubs::cti_op_instanceof):
              (JSC::JITStubs::cti_op_del_by_id):
              (JSC::JITStubs::cti_op_mul):
              (JSC::JITStubs::cti_op_new_func):
              (JSC::JITStubs::cti_op_call_JSFunction):
              (JSC::JITStubs::cti_op_call_arityCheck):
              (JSC::JITStubs::cti_vm_dontLazyLinkCall):
              (JSC::JITStubs::cti_vm_lazyLinkCall):
              (JSC::JITStubs::cti_op_push_activation):
              (JSC::JITStubs::cti_op_call_NotJSFunction):
              (JSC::JITStubs::cti_op_create_arguments):
              (JSC::JITStubs::cti_op_create_arguments_no_params):
              (JSC::JITStubs::cti_op_tear_off_activation):
              (JSC::JITStubs::cti_op_tear_off_arguments):
              (JSC::JITStubs::cti_op_profile_will_call):
              (JSC::JITStubs::cti_op_profile_did_call):
              (JSC::JITStubs::cti_op_ret_scopeChain):
              (JSC::JITStubs::cti_op_new_array):
              (JSC::JITStubs::cti_op_resolve):
              (JSC::JITStubs::cti_op_construct_JSConstruct):
              (JSC::JITStubs::cti_op_construct_NotJSConstruct):
              (JSC::JITStubs::cti_op_get_by_val):
              (JSC::JITStubs::cti_op_get_by_val_string):
              (JSC::JITStubs::cti_op_get_by_val_byte_array):
              (JSC::JITStubs::cti_op_resolve_func):
              (JSC::JITStubs::cti_op_sub):
              (JSC::JITStubs::cti_op_put_by_val):
              (JSC::JITStubs::cti_op_put_by_val_array):
              (JSC::JITStubs::cti_op_put_by_val_byte_array):
              (JSC::JITStubs::cti_op_lesseq):
              (JSC::JITStubs::cti_op_loop_if_true):
              (JSC::JITStubs::cti_op_load_varargs):
              (JSC::JITStubs::cti_op_negate):
              (JSC::JITStubs::cti_op_resolve_base):
              (JSC::JITStubs::cti_op_resolve_skip):
              (JSC::JITStubs::cti_op_resolve_global):
              (JSC::JITStubs::cti_op_div):
              (JSC::JITStubs::cti_op_pre_dec):
              (JSC::JITStubs::cti_op_jless):
              (JSC::JITStubs::cti_op_not):
              (JSC::JITStubs::cti_op_jtrue):
              (JSC::JITStubs::cti_op_post_inc):
              (JSC::JITStubs::cti_op_eq):
              (JSC::JITStubs::cti_op_lshift):
              (JSC::JITStubs::cti_op_bitand):
              (JSC::JITStubs::cti_op_rshift):
              (JSC::JITStubs::cti_op_bitnot):
              (JSC::JITStubs::cti_op_resolve_with_base):
              (JSC::JITStubs::cti_op_new_func_exp):
              (JSC::JITStubs::cti_op_mod):
              (JSC::JITStubs::cti_op_less):
              (JSC::JITStubs::cti_op_neq):
              (JSC::JITStubs::cti_op_post_dec):
              (JSC::JITStubs::cti_op_urshift):
              (JSC::JITStubs::cti_op_bitxor):
              (JSC::JITStubs::cti_op_new_regexp):
              (JSC::JITStubs::cti_op_bitor):
              (JSC::JITStubs::cti_op_call_eval):
              (JSC::JITStubs::cti_op_throw):
              (JSC::JITStubs::cti_op_get_pnames):
              (JSC::JITStubs::cti_op_next_pname):
              (JSC::JITStubs::cti_op_push_scope):
              (JSC::JITStubs::cti_op_pop_scope):
              (JSC::JITStubs::cti_op_typeof):
              (JSC::JITStubs::cti_op_is_undefined):
              (JSC::JITStubs::cti_op_is_boolean):
              (JSC::JITStubs::cti_op_is_number):
              (JSC::JITStubs::cti_op_is_string):
              (JSC::JITStubs::cti_op_is_object):
              (JSC::JITStubs::cti_op_is_function):
              (JSC::JITStubs::cti_op_stricteq):
              (JSC::JITStubs::cti_op_to_primitive):
              (JSC::JITStubs::cti_op_strcat):
              (JSC::JITStubs::cti_op_nstricteq):
              (JSC::JITStubs::cti_op_to_jsnumber):
              (JSC::JITStubs::cti_op_in):
              (JSC::JITStubs::cti_op_push_new_scope):
              (JSC::JITStubs::cti_op_jmp_scopes):
              (JSC::JITStubs::cti_op_put_by_index):
              (JSC::JITStubs::cti_op_switch_imm):
              (JSC::JITStubs::cti_op_switch_char):
              (JSC::JITStubs::cti_op_switch_string):
              (JSC::JITStubs::cti_op_del_by_val):
              (JSC::JITStubs::cti_op_put_getter):
              (JSC::JITStubs::cti_op_put_setter):
              (JSC::JITStubs::cti_op_new_error):
              (JSC::JITStubs::cti_op_debug):
              (JSC::JITStubs::cti_vm_throw):
              * jit/JITStubs.h:
              (JSC::JITStackFrame::returnAddressSlot):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43362 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      407e99f6
    • darin@apple.com's avatar
      2009-05-07 Darin Adler <darin@apple.com> · 7a60319c
      darin@apple.com authored
              Reviewed by Geoff Garen.
      
              * parser/Lexer.cpp:
              (JSC::Lexer::lex): Fix missing braces. This would make us always
              take the slower case for string parsing and Visual Studio correctly
              noticed unreachable code.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43361 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7a60319c
    • dglazkov@chromium.org's avatar
      2009-05-07 Dimitri Glazkov <dglazkov@chromium.org> · c4742b17
      dglazkov@chromium.org authored
              Reviewed by Darin Fisher.
      
              https://bugs.webkit.org/show_bug.cgi?id=25625
              Implement Image/Option constructors in V8 bindings.
      
              * bindings/v8/custom/V8DOMWindowCustom.cpp:
              (WebCore::NAMED_PROPERTY_GETTER): Removed old JS-based code.
              * bindings/v8/custom/V8HTMLImageElementConstructor.cpp: Added.
              * bindings/v8/custom/V8HTMLOptionElementConstructor.cpp: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43360 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c4742b17
    • christian@webkit.org's avatar
      2009-05-07 Christian Dywan <christian@twotoasts.de> · 834b4b7e
      christian@webkit.org authored
              Reviewed by Gustavo Noronha.
      
              * WebCoreSupport/FrameLoaderClientGtk.cpp:
              (WebKit::FrameLoaderClient::dispatchDidChangeLocationWithinPage):
              (WebKit::FrameLoaderClient::dispatchDidCommitLoad): Add missing
              call to notifyStatus in the committed case and a missing property notify.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43359 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      834b4b7e
    • darin@apple.com's avatar
      2009-05-07 Darin Adler <darin@apple.com> · dd166abb
      darin@apple.com authored
              Reviewed by Sam Weinig.
      
              Bug 25589: goto instead of state machine in lexer
              https://bugs.webkit.org/show_bug.cgi?id=25589
      
              SunSpider is 0.8% faster.
      
              * parser/Lexer.cpp:
              (JSC::Lexer::currentCharacter): Added.
              (JSC::Lexer::currentOffset): Changed to call currentCharacter for clarity.
              (JSC::Lexer::setCode): Removed code to set now-obsolete m_skipLineEnd.
              (JSC::Lexer::shiftLineTerminator): Added. Handles line numbers and the
              two-character line terminators.
              (JSC::Lexer::makeIdentifier): Changed to take characters and length rather
              than a vector, since we now make these directly out of the source buffer
              when possible.
              (JSC::Lexer::lastTokenWasRestrKeyword): Added.
              (JSC::isNonASCIIIdentStart): Broke out the non-inline part.
              (JSC::isIdentStart): Moved here.
              (JSC::isNonASCIIIdentPart): Broke out the non-inline part.
              (JSC::isIdentPart): Moved here.
              (JSC::singleEscape): Moved here, and removed some unneeded cases.
              (JSC::Lexer::record8): Moved here.
              (JSC::Lexer::record16): Moved here.
              (JSC::Lexer::lex): Rewrote this whole function to use goto and not use
              a state machine. Got rid of most of the local variables. Also rolled the
              matchPunctuator function in here.
              (JSC::Lexer::scanRegExp): Changed to use the new version of isLineTerminator.
              Clear m_buffer16 after using it instead of before.
      
              * parser/Lexer.h: Removed State enum, setDone function, nextLine function,
              lookupKeywordFunction, one of the isLineTerminator functions, m_done data member,
              m_skipLineEnd data member, and m_state data member. Added shiftLineTerminator
              function, currentCharacter function, and changed the arguments to the makeIdentifier
              function. Removed one branch from the isLineTerminator function.
      
              * runtime/StringPrototype.cpp:
              (JSC::stringProtoFuncReplace): Streamlined the case where we don't replace anything.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43358 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dd166abb
    • beidson@apple.com's avatar
      2009-05-07 Brady Eidson <beidson@apple.com> · 352b10ba
      beidson@apple.com authored
              I hate myself for doing this, but need to fix that ChangeLog entry.
      
              * ChangeLog:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43357 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      352b10ba
    • beidson@apple.com's avatar
      2009-05-07 Brady Eidson <beidson@apple.com> · 4abece3a
      beidson@apple.com authored
              Rubberstamped by Darin Adler
      
              * html/HTMLParser.cpp: Use the correct style of BUILD_ON_* for WebCore.
              * html/HTMLParser.h: Ditto
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43356 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4abece3a
    • hyatt@apple.com's avatar
      WebCore: · f130e829
      hyatt@apple.com authored
      2009-05-07  David Hyatt  <hyatt@apple.com>
      
              Restore intrinsic margins to all form controls on Mac and Windows.  Some of this regressed in 43007
              when textareas were given explicit margins.  Some of it had already regressed earlier whenever intrinsic
              margins were turned off in themeWin.css.
      
              Reviewed by Beth Dakin.
      
              * css/html4.css:
              * css/themeWin.css:
      
      LayoutTests:
      
      2009-05-07  David Hyatt  <hyatt@apple.com>
      
              Restore intrinsic margins to all form controls on Mac and Windows.
      
              Reviewed by Beth Dakin.
      
              * fast/forms/text-control-intrinsic-widths-expected.txt:
              * fast/replaced/table-percent-height-text-controls-expected.txt:
              * platform/mac/editing/inserting/4960120-1-expected.checksum:
              * platform/mac/editing/inserting/4960120-1-expected.png:
              * platform/mac/editing/inserting/4960120-1-expected.txt:
              * platform/mac/editing/pasteboard/nested-blocks-with-text-area-expected.checksum:
              * platform/mac/editing/pasteboard/nested-blocks-with-text-area-expected.png:
              * platform/mac/editing/pasteboard/nested-blocks-with-text-area-expected.txt:
              * platform/mac/editing/pasteboard/pasting-tabs-expected.checksum:
              * platform/mac/editing/pasteboard/pasting-tabs-expected.png:
              * platform/mac/editing/pasteboard/pasting-tabs-expected.txt:
              * platform/mac/fast/css/resize-corner-tracking-expected.checksum:
              * platform/mac/fast/css/resize-corner-tracking-expected.png:
              * platform/mac/fast/css/resize-corner-tracking-expected.txt:
              * platform/mac/fast/dom/HTMLTextAreaElement/reset-textarea-expected.checksum:
              * platform/mac/fast/dom/HTMLTextAreaElement/reset-textarea-expected.png:
              * platform/mac/fast/dom/HTMLTextAreaElement/reset-textarea-expected.txt:
              * platform/mac/fast/dynamic/008-expected.checksum:
              * platform/mac/fast/dynamic/008-expected.png:
              * platform/mac/fast/dynamic/008-expected.txt:
              * platform/mac/fast/forms/001-expected.checksum:
              * platform/mac/fast/forms/001-expected.png:
              * platform/mac/fast/forms/basic-textareas-expected.checksum:
              * platform/mac/fast/forms/basic-textareas-expected.png:
              * platform/mac/fast/forms/basic-textareas-expected.txt:
              * platform/mac/fast/forms/form-element-geometry-expected.checksum:
              * platform/mac/fast/forms/form-element-geometry-expected.png:
              * platform/mac/fast/forms/form-element-geometry-expected.txt:
              * platform/mac/fast/forms/linebox-overflow-in-textarea-padding-expected.checksum:
              * platform/mac/fast/forms/linebox-overflow-in-textarea-padding-expected.png:
              * platform/mac/fast/forms/linebox-overflow-in-textarea-padding-expected.txt:
              * platform/mac/fast/forms/listbox-hit-test-zoomed-expected.checksum:
              * platform/mac/fast/forms/listbox-hit-test-zoomed-expected.png:
              * platform/mac/fast/forms/menulist-clip-expected.checksum:
              * platform/mac/fast/forms/menulist-clip-expected.png:
              * platform/mac/fast/forms/menulist-narrow-width-expected.checksum:
              * platform/mac/fast/forms/menulist-narrow-width-expected.png:
              * platform/mac/fast/forms/menulist-option-wrap-expected.checksum:
              * platform/mac/fast/forms/menulist-option-wrap-expected.png:
              * platform/mac/fast/forms/menulist-restrict-line-height-expected.checksum:
              * platform/mac/fast/forms/menulist-restrict-line-height-expected.png:
              * platform/mac/fast/forms/negativeLineHeight-expected.checksum:
              * platform/mac/fast/forms/negativeLineHeight-expected.png:
              * platform/mac/fast/forms/negativeLineHeight-expected.txt:
              * platform/mac/fast/forms/select-baseline-expected.checksum:
              * platform/mac/fast/forms/select-baseline-expected.png:
              * platform/mac/fast/forms/select-style-expected.checksum:
              * platform/mac/fast/forms/select-style-expected.png:
              * platform/mac/fast/forms/textAreaLineHeight-expected.checksum:
              * platform/mac/fast/forms/textAreaLineHeight-expected.png:
              * platform/mac/fast/forms/textAreaLineHeight-expected.txt:
              * platform/mac/fast/forms/textarea-align-expected.checksum:
              * platform/mac/fast/forms/textarea-align-expected.png:
              * platform/mac/fast/forms/textarea-align-expected.txt:
              * platform/mac/fast/forms/textarea-rows-cols-expected.checksum:
              * platform/mac/fast/forms/textarea-rows-cols-expected.png:
              * platform/mac/fast/forms/textarea-rows-cols-expected.txt:
              * platform/mac/fast/forms/textarea-scroll-height-expected.checksum:
              * platform/mac/fast/forms/textarea-scroll-height-expected.png:
              * platform/mac/fast/forms/textarea-scroll-height-expected.txt:
              * platform/mac/fast/forms/textarea-scrollbar-expected.checksum:
              * platform/mac/fast/forms/textarea-scrollbar-expected.png:
              * platform/mac/fast/forms/textarea-scrollbar-expected.txt:
              * platform/mac/fast/forms/textarea-scrolled-type-expected.checksum:
              * platform/mac/fast/forms/textarea-scrolled-type-expected.png:
              * platform/mac/fast/forms/textarea-scrolled-type-expected.txt:
              * platform/mac/fast/forms/textarea-setinnerhtml-expected.checksum:
              * platform/mac/fast/forms/textarea-setinnerhtml-expected.png:
              * platform/mac/fast/forms/textarea-setinnerhtml-expected.txt:
              * platform/mac/fast/forms/textarea-width-expected.checksum:
              * platform/mac/fast/forms/textarea-width-expected.png:
              * platform/mac/fast/forms/textarea-width-expected.txt:
              * platform/mac/fast/overflow/overflow-focus-ring-expected.checksum:
              * platform/mac/fast/overflow/overflow-focus-ring-expected.png:
              * platform/mac/fast/overflow/overflow-x-y-expected.checksum:
              * platform/mac/fast/overflow/overflow-x-y-expected.png:
              * platform/mac/fast/overflow/overflow-x-y-expected.txt:
              * platform/mac/fast/parser/comment-in-textarea-expected.checksum:
              * platform/mac/fast/parser/comment-in-textarea-expected.png:
              * platform/mac/fast/parser/comment-in-textarea-expected.txt:
              * platform/mac/fast/parser/entity-comment-in-textarea-expected.checksum:
              * platform/mac/fast/parser/entity-comment-in-textarea-expected.png:
              * platform/mac/fast/parser/entity-comment-in-textarea-expected.txt:
              * platform/mac/fast/parser/open-comment-in-textarea-expected.checksum:
              * platform/mac/fast/parser/open-comment-in-textarea-expected.png:
              * platform/mac/fast/parser/open-comment-in-textarea-expected.txt:
              * platform/mac/fast/replaced/selection-rect-transform-expected.png:
              * platform/mac/fast/replaced/width100percent-textarea-expected.checksum:
              * platform/mac/fast/replaced/width100percent-textarea-expected.png:
              * platform/mac/fast/replaced/width100percent-textarea-expected.txt:
              * platform/mac/fast/table/003-expected.checksum:
              * platform/mac/fast/table/003-expected.png:
              * platform/mac/fast/table/003-expected.txt:
              * platform/mac/fast/text/international/rtl-white-space-pre-wrap-expected.checksum:
              * platform/mac/fast/text/international/rtl-white-space-pre-wrap-expected.png:
              * platform/mac/fast/text/international/rtl-white-space-pre-wrap-expected.txt:
              * platform/mac/http/tests/navigation/anchor-basic-expected.txt:
              * platform/mac/http/tests/navigation/anchor-frames-expected.checksum:
              * platform/mac/http/tests/navigation/anchor-frames-expected.png:
              * platform/mac/http/tests/navigation/anchor-frames-expected.txt:
              * platform/mac/http/tests/navigation/anchor-goback-expected.checksum:
              * platform/mac/http/tests/navigation/anchor-goback-expected.png:
              * platform/mac/http/tests/navigation/anchor-goback-expected.txt:
              * platform/mac/http/tests/navigation/anchor-subframeload-expected.checksum:
              * platform/mac/http/tests/navigation/anchor-subframeload-expected.png:
              * platform/mac/http/tests/navigation/anchor-subframeload-expected.txt:
              * platform/mac/http/tests/navigation/javascriptlink-basic-expected.checksum:
              * platform/mac/http/tests/navigation/javascriptlink-basic-expected.png:
              * platform/mac/http/tests/navigation/javascriptlink-basic-expected.txt:
              * platform/mac/http/tests/navigation/javascriptlink-frames-expected.checksum:
              * platform/mac/http/tests/navigation/javascriptlink-frames-expected.png:
              * platform/mac/http/tests/navigation/javascriptlink-frames-expected.txt:
              * platform/mac/http/tests/navigation/javascriptlink-goback-expected.checksum:
              * platform/mac/http/tests/navigation/javascriptlink-goback-expected.png:
              * platform/mac/http/tests/navigation/javascriptlink-goback-expected.txt:
              * platform/mac/http/tests/navigation/javascriptlink-subframeload-expected.checksum:
              * platform/mac/http/tests/navigation/javascriptlink-subframeload-expected.png:
              * platform/mac/http/tests/navigation/javascriptlink-subframeload-expected.txt:
              * platform/mac/http/tests/navigation/metaredirect-basic-expected.checksum:
              * platform/mac/http/tests/navigation/metaredirect-basic-expected.png:
              * platform/mac/http/tests/navigation/metaredirect-basic-expected.txt:
              * platform/mac/http/tests/navigation/metaredirect-frames-expected.checksum:
              * platform/mac/http/tests/navigation/metaredirect-frames-expected.png:
              * platform/mac/http/tests/navigation/metaredirect-frames-expected.txt:
              * platform/mac/http/tests/navigation/metaredirect-goback-expected.checksum:
              * platform/mac/http/tests/navigation/metaredirect-goback-expected.png:
              * platform/mac/http/tests/navigation/metaredirect-goback-expected.txt:
              * platform/mac/http/tests/navigation/metaredirect-subframeload-expected.checksum:
              * platform/mac/http/tests/navigation/metaredirect-subframeload-expected.png:
              * platform/mac/http/tests/navigation/metaredirect-subframeload-expected.txt:
              * platform/mac/http/tests/navigation/post-goback2-expected.checksum:
              * platform/mac/http/tests/navigation/post-goback2-expected.png:
              * platform/mac/http/tests/navigation/post-goback2-expected.txt:
              * platform/mac/http/tests/navigation/postredirect-goback2-expected.checksum:
              * platform/mac/http/tests/navigation/postredirect-goback2-expected.png:
              * platform/mac/http/tests/navigation/postredirect-goback2-expected.txt:
              * platform/mac/http/tests/navigation/redirect302-basic-expected.checksum:
              * platform/mac/http/tests/navigation/redirect302-basic-expected.png:
              * platform/mac/http/tests/navigation/redirect302-basic-expected.txt:
              * platform/mac/http/tests/navigation/redirect302-frames-expected.checksum:
              * platform/mac/http/tests/navigation/redirect302-frames-expected.png:
              * platform/mac/http/tests/navigation/redirect302-frames-expected.txt:
              * platform/mac/http/tests/navigation/redirect302-goback-expected.checksum:
              * platform/mac/http/tests/navigation/redirect302-goback-expected.png:
              * platform/mac/http/tests/navigation/redirect302-goback-expected.txt:
              * platform/mac/http/tests/navigation/redirect302-subframeload-expected.checksum:
              * platform/mac/http/tests/navigation/redirect302-subframeload-expected.png:
              * platform/mac/http/tests/navigation/redirect302-subframeload-expected.txt:
              * platform/mac/http/tests/navigation/relativeanchor-basic-expected.txt:
              * platform/mac/http/tests/navigation/relativeanchor-frames-expected.checksum:
              * platform/mac/http/tests/navigation/relativeanchor-frames-expected.png:
              * platform/mac/http/tests/navigation/relativeanchor-frames-expected.txt:
              * platform/mac/http/tests/navigation/relativeanchor-goback-expected.txt:
              * platform/mac/http/tests/navigation/slowmetaredirect-basic-expected.checksum:
              * platform/mac/http/tests/navigation/slowmetaredirect-basic-expected.png:
              * platform/mac/http/tests/navigation/slowmetaredirect-basic-expected.txt:
              * platform/mac/http/tests/navigation/slowtimerredirect-basic-expected.checksum:
              * platform/mac/http/tests/navigation/slowtimerredirect-basic-expected.png:
              * platform/mac/http/tests/navigation/slowtimerredirect-basic-expected.txt:
              * platform/mac/http/tests/navigation/success200-basic-expected.checksum:
              * platform/mac/http/tests/navigation/success200-basic-expected.png:
              * platform/mac/http/tests/navigation/success200-basic-expected.txt:
              * platform/mac/http/tests/navigation/success200-frames-expected.checksum:
              * platform/mac/http/tests/navigation/success200-frames-expected.png:
              * platform/mac/http/tests/navigation/success200-frames-expected.txt:
              * platform/mac/http/tests/navigation/success200-frames-loadsame-expected.checksum:
              * platform/mac/http/tests/navigation/success200-frames-loadsame-expected.png:
              * platform/mac/http/tests/navigation/success200-frames-loadsame-expected.txt:
              * platform/mac/http/tests/navigation/success200-goback-expected.checksum:
              * platform/mac/http/tests/navigation/success200-goback-expected.png:
              * platform/mac/http/tests/navigation/success200-goback-expected.txt:
              * platform/mac/http/tests/navigation/success200-loadsame-expected.checksum:
              * platform/mac/http/tests/navigation/success200-loadsame-expected.png:
              * platform/mac/http/tests/navigation/success200-loadsame-expected.txt:
              * platform/mac/http/tests/navigation/success200-reload-expected.checksum:
              * platform/mac/http/tests/navigation/success200-reload-expected.png:
              * platform/mac/http/tests/navigation/success200-reload-expected.txt:
              * platform/mac/http/tests/navigation/success200-subframeload-expected.checksum:
              * platform/mac/http/tests/navigation/success200-subframeload-expected.png:
              * platform/mac/http/tests/navigation/success200-subframeload-expected.txt:
              * platform/mac/http/tests/navigation/timerredirect-basic-expected.checksum:
              * platform/mac/http/tests/navigation/timerredirect-basic-expected.png:
              * platform/mac/http/tests/navigation/timerredirect-basic-expected.txt:
              * platform/mac/http/tests/navigation/timerredirect-frames-expected.checksum:
              * platform/mac/http/tests/navigation/timerredirect-frames-expected.png:
              * platform/mac/http/tests/navigation/timerredirect-frames-expected.txt:
              * platform/mac/http/tests/navigation/timerredirect-goback-expected.checksum:
              * platform/mac/http/tests/navigation/timerredirect-goback-expected.png:
              * platform/mac/http/tests/navigation/timerredirect-goback-expected.txt:
              * platform/mac/http/tests/navigation/timerredirect-subframeload-expected.checksum:
              * platform/mac/http/tests/navigation/timerredirect-subframeload-expected.png:
              * platform/mac/http/tests/navigation/timerredirect-subframeload-expected.txt:
              * platform/mac/tables/mozilla/bugs/bug194024-expected.checksum:
              * platform/mac/tables/mozilla/bugs/bug194024-expected.png:
              * platform/mac/tables/mozilla/bugs/bug194024-expected.txt:
              * platform/mac/tables/mozilla/bugs/bug30559-expected.checksum:
              * platform/mac/tables/mozilla/bugs/bug30559-expected.png:
              * platform/mac/tables/mozilla/bugs/bug30559-expected.txt:
              * platform/mac/tables/mozilla/bugs/bug30692-expected.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43355 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f130e829
    • kevino@webkit.org's avatar
      wx build fixes for Python extension and DRT. · a115b1a0
      kevino@webkit.org authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43354 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a115b1a0
    • beidson@apple.com's avatar
      2009-05-07 Brady Eidson <beidson@apple.com> · a19606b4
      beidson@apple.com authored
              Reviewed by Darin Adler and Alexey Proskuryakov.
      
              <rdar://problem/6863795> Exception occurs in Mail when attempting to create signatures due to <head> element creation
      
              * dom/Document.cpp:
              (WebCore::Document::implicitClose): Check shouldCreateImplicitHead() before creating it.
      
              * html/HTMLParser.cpp:
              (WebCore::HTMLParser::handleError): Check shouldCreateImplicitHead() before creating it.
              (WebCore::HTMLParser::bodyCreateErrorCheck): Ditto.
              (WebCore::shouldCreateImplicitHead): For Tiger/Leopard when running under Mail, the implicit <head> shouldn't be created.
              * html/HTMLParser.h:
              (WebCore::shouldCreateImplicitHead): Inline implementation for non-Tiger/Leopard platforms
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43353 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a19606b4
    • ggaren@apple.com's avatar
      2009-05-07 Geoffrey Garen <ggaren@apple.com> · 213994a9
      ggaren@apple.com authored
              Reviewed by Gavin Barraclough.
      
              Removed a few more special constants, and replaced them with uses of
              the JITStackFrame struct.
      
              Removed one of the two possible definitions of VoidPtrPair. The Mac
              definition was more elegant, but SunSpider doesn't think it's any
              faster, and it's net less elegant to have two ways of doing things.
      
              * jit/JIT.cpp:
              (JSC::JIT::privateCompileMainPass):
              (JSC::JIT::privateCompile):
              * jit/JITStubs.h:
              (JSC::):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43352 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      213994a9
    • sfalken@apple.com's avatar
      Remove manifest fixup from r42729 to fix clean builds. · 92995ff6
      sfalken@apple.com authored
              * DumpRenderTree/win/DumpRenderTree.vcproj:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43351 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      92995ff6
    • ggaren@apple.com's avatar
      Fixed Radar # · 0a4d13f7
      ggaren@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43350 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0a4d13f7
    • simon.fraser@apple.com's avatar
      2009-05-07 Simon Fraser <simon.fraser@apple.com> · 3fb882d9
      simon.fraser@apple.com authored
              Source changes reviewed by Darin Adler
      
              <rdar://problem/6864091> Endcap of media controls slider is fuzzy
      
              * libWebKitSystemInterfaceLeopard.a:
              * libWebKitSystemInterfaceTiger.a:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43349 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3fb882d9