1. 24 Nov, 2008 30 commits
    • darin@chromium.org's avatar
      2008-11-24 Darin Fisher <darin@chromium.org> · 6b41247a
      darin@chromium.org authored
              Reviewed by Sam Weinig.
      
              https://bugs.webkit.org/show_bug.cgi?id=22448
              Create an abstraction for JSC::SourceCode
      
              * WebCore.vcproj/WebCore.vcproj:
              * bindings/js/CachedScriptSourceProvider.h:
              * bindings/js/ScriptController.cpp:
              (WebCore::ScriptController::evaluate):
              * bindings/js/ScriptController.h:
              * bindings/js/ScriptSourceCode.h: Added.
              (WebCore::ScriptSourceCode::ScriptSourceCode):
              (WebCore::ScriptSourceCode::length):
              (WebCore::ScriptSourceCode::jsSourceCode):
              * bindings/js/WorkerScriptController.cpp:
              (WebCore::Workevn ScriptController::evaluate):
              * bindings/js/WorkerScriptController.h:
              * dom/ScriptElement.cpp:
              (WebCore::ScriptElement::insertedIntoDocument):
              (WebCore::ScriptElement::childrenChanged):
              (WebCore::ScriptElementData::evaluateScript):
              (WebCore::ScriptElementData::notifyFinished):
              * dom/ScriptElement.h:
              * dom/WorkerThread.cpp:
              (WebCore::WorkerThread::workerThread):
              * dom/WorkerThread.h:
              * dom/XMLTokenizer.cpp:
              (WebCore::XMLTokenizer::notifyFinished):
              * dom/XMLTokenizerLibxml2.cpp:
              (WebCore::XMLTokenizer::endElementNs):
              * dom/XMLTokenizerQt.cpp:
              (WebCore::XMLTokenizer::parseEndElement):
              * html/HTMLTokenizer.cpp:
              (WebCore::HTMLTokenizer::scriptHandler):
              (WebCore::HTMLTokenizer::scriptExecution):
              (WebCore::HTMLTokenizer::notifyFinished):
              * html/HTMLTokenizer.h:
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::executeScript):
              * loader/FrameLoader.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38729 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6b41247a
    • darin@apple.com's avatar
      WebCore: · 1b861eb6
      darin@apple.com authored
      2008-11-24  Darin Adler  <darin@apple.com>
      
              Reviewed by Dan Bernstein.
      
              - finish https://bugs.webkit.org/show_bug.cgi?id=22295
                track which history items are from page load failures
      
              * WebCore.base.exp: Exported new function.
      
              * loader/DocumentLoader.cpp:
              (WebCore::DocumentLoader::urlForHistoryReflectsFailure): Added.
              * loader/DocumentLoader.h: Ditto.
      
      WebKit/mac:
      
      2008-11-24  Darin Adler  <darin@apple.com>
      
              Reviewed by Dan Bernstein.
      
              - finish https://bugs.webkit.org/show_bug.cgi?id=22295
                track which history items are from page load failures
      
              Last time around I did this only for the back/forward list and missed the
              global history list.
      
              * History/WebHistory.mm:
              (-[WebHistory _visitedURL:withTitle:wasFailure:]): Added wasFailure argument.
              Set the flag on the newly created history item. Also eliminated the use of
              autorelease on the added-items array.
              * History/WebHistoryInternal.h: Ditto.
      
              * WebCoreSupport/WebFrameLoaderClient.mm:
              (WebFrameLoaderClient::updateGlobalHistory): Added code to check for failure
              and pass the argument in to WebHistory. Given that this function gets other
              data from the DocumentLoader, I think we should get rid of the KURL argument,
              but that's a separate issue so I don't do it in this patch.
      
      WebKit/win:
      
      2008-11-24  Darin Adler  <darin@apple.com>
      
              Reviewed by Dan Bernstein.
      
              - finish https://bugs.webkit.org/show_bug.cgi?id=22295
                track which history items are from page load failures
      
              Last time around I did this only for the back/forward list and missed the
              global history list.
      
              * Interfaces/IWebHistoryItemPrivate.idl: Added setLastVisitWasFailure.
      
              * WebCoreSupport/WebFrameLoaderClient.cpp:
              (WebFrameLoaderClient::updateGlobalHistory): Added code to check for failure
              and pass the argument in to WebHistory.
      
              * WebHistory.cpp: (WebHistory::addItem): Added wasFailure argument.
              Set the flag on the newly created history item.
              * WebHistory.h: Ditto.
      
              * WebHistoryItem.cpp:
              (WebHistoryItem::setLastVisitWasFailure): Added.
              * WebHistoryItem.h: Ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38728 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1b861eb6
    • beidson@apple.com's avatar
      Update radar in an old Changelog entry to be "more correct" · eb0fdc6c
      beidson@apple.com authored
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38727 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      eb0fdc6c
    • cfleizach@apple.com's avatar
    • simon.fraser@apple.com's avatar
      2008-11-24 Simon Fraser <simon.fraser@apple.com> · e9f403e7
      simon.fraser@apple.com authored
              Fix Windows build: selectionRect() -> selectionBounds().
      
              * page/win/FrameCGWin.cpp:
              (WebCore::imageFromSelection):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38724 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e9f403e7
    • simon.fraser@apple.com's avatar
      2008-11-24 Simon Fraser <simon.fraser@apple.com> · 2f994304
      simon.fraser@apple.com authored
              Fix call to Frame::selectionBounds in Windows build.
      
              * WebView.cpp:
              (WebView::selectionRect):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38723 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2f994304
    • darin@chromium.org's avatar
      2008-11-24 Glenn Wilson <gwilson@chromium.org> · 367995f6
      darin@chromium.org authored
              Reviewed by Darin Adler.
      
              http://bugs.webkit.org/show_bug.cgi?id=18703
              "Changing the 'size' property on a text input does not affect its length"
      
              Text fields would not repaint themselves after having their "size" 
              attributes modified.  This fix tells the object to recalculate its 
              width and repaint itself when its "size" attribute is parsed.
      
              Test: fast/js/text-field-resize.html
      
              * html/HTMLInputElement.cpp:
              (WebCore::HTMLInputElement::parseMappedAttribute):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38722 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      367995f6
    • simon.fraser@apple.com's avatar
      2008-11-24 Simon Fraser <simon.fraser@apple.com> · 718b733e
      simon.fraser@apple.com authored
              Fix call to Frame::selectionBounds in Tiger build.
      
              * WebView/WebHTMLView.mm:
              (-[WebHTMLView _lookUpInDictionaryFromMenu:]):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38721 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      718b733e
    • ggaren@apple.com's avatar
      2008-11-24 Geoffrey Garen <ggaren@apple.com> · a2d98e69
      ggaren@apple.com authored
              Reviewed by Sam Weinig.
              
              Removed some unnecessary "Generator::" prefixes.
      
              * wrec/WRECGenerator.cpp:
              (JSC::WREC::Generator::generateEnter):
              (JSC::WREC::Generator::generateReturnSuccess):
              (JSC::WREC::Generator::generateSaveIndex):
              (JSC::WREC::Generator::generateIncrementIndex):
              (JSC::WREC::Generator::generateLoopIfNotEndOfInput):
              (JSC::WREC::Generator::generateReturnFailure):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38720 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a2d98e69
    • simon.fraser@apple.com's avatar
      2008-11-24 Simon Fraser <simon.fraser@apple.com> · d6f4c37c
      simon.fraser@apple.com authored
              Reviewed by Darin Adler
      
              Followup from changes for https://bugs.webkit.org/show_bug.cgi?id=22433
      
              Make RenderView::selectionRect() private to cause compile-time
              errors if someone tries to call it.
      
              * rendering/RenderView.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38719 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d6f4c37c
    • ggaren@apple.com's avatar
      2008-11-24 Geoffrey Garen <ggaren@apple.com> · 68f4398d
      ggaren@apple.com authored
              Reviewed by Sam Weinig.
              
              Made a bunch of WREC::Parser functions private, and added an explicit
              "reset()" function, so a parser can be reused.
      
              * wrec/WRECParser.h:
              (JSC::WREC::Parser::Parser):
              (JSC::WREC::Parser::generator):
              (JSC::WREC::Parser::ignoreCase):
              (JSC::WREC::Parser::multiline):
              (JSC::WREC::Parser::recordSubpattern):
              (JSC::WREC::Parser::numSubpatterns):
              (JSC::WREC::Parser::parsePattern):
              (JSC::WREC::Parser::parseAlternative):
              (JSC::WREC::Parser::reset):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38718 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      68f4398d
    • dino@apple.com's avatar
      2008-11-21 Dean Jackson <dino@apple.com> · d21b2c9d
      dino@apple.com authored
              CSSAnimation.html:
      
              * animation-name should accept IDENT not <string>
              * animation-play-state marked as "about to be removed"
              * more description of when an animation is applied, that
                they snapshot keyframes and values as they start and
                how they need to be removed to reset.
      
              CSSTransitions.html:
      
              * list of animatable properties and how to animate property
                types.
              * specify that values for bezier points outside of [0,1] are
                invalid.
      
              CSSTransforms.html:
      
              * split into 2d and 3d specifications
              * transform-origin now matches background-position definition.
              * describe how to animate between lists of transforms
      
              CSSTransforms3D.html
      
              * new specification which is the 3d parts of transforms
              * perspective must be > 0
              * perspective-origin also matches background-position
              * describe how to animate between lists of transforms, but this
                time in 3d which is harder.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38717 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d21b2c9d
    • simon.fraser@apple.com's avatar
      2008-11-24 Simon Fraser <simon.fraser@apple.com> · c3a23de1
      simon.fraser@apple.com authored
              Reviewed by Dan Bernstein
      
              Via: https://bugs.webkit.org/show_bug.cgi?id=22433
      
              Rename RenderView::selectionRect() to selectionBounds(), to remove
              longstanding ambiguity with the base class selectionRect() method.
              Do the same on Frame for consistency with RenderView. Assert
              that RenderView::selectionRect() is never called.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38716 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c3a23de1
    • christian@webkit.org's avatar
      2008-11-24 Christian Dywan <christian@twotoasts.de> · 56044fc5
      christian@webkit.org authored
              Reviewed by Holger Freyther.
      
              http://bugs.webkit.org/show_bug.cgi?id=17122
              [GTK] Bad font default settings
      
              * webkit/webkitwebsettings.cpp:
              (_WebKitWebSettingsPrivate::webkit_web_settings_class_init):
              Use default font size 12 instead of 10
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38715 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      56044fc5
    • jchaffraix@webkit.org's avatar
      2008-11-19 Julien Chaffraix <jchaffraix@webkit.org> · 6d046197
      jchaffraix@webkit.org authored
              Reviewed by Darin Adler.
      
              Bug 22441: Bridge the gap between the generated ElementFactory and HTMLElementFactory
              https://bugs.webkit.org/show_bug.cgi?id=22441
      
              - Make HTMLElementFactory::createHTMLElement take a QualifiedName instead of
              an AtomicString.
      
              - Updated the elements' constructors and the callers to reflect the previous change.
      
              * dom/Document.cpp:
              (WebCore::Document::createElement):
              * html/HTMLDocument.cpp:
              (WebCore::HTMLDocument::createElement):
              * html/HTMLElement.cpp:
              (WebCore::HTMLElement::cloneNode):
              * html/HTMLElementFactory.cpp:
              (WebCore::htmlConstructor):
              (WebCore::headConstructor):
              (WebCore::bodyConstructor):
              (WebCore::baseConstructor):
              (WebCore::linkConstructor):
              (WebCore::metaConstructor):
              (WebCore::styleConstructor):
              (WebCore::titleConstructor):
              (WebCore::frameConstructor):
              (WebCore::framesetConstructor):
              (WebCore::iframeConstructor):
              (WebCore::formConstructor):
              (WebCore::buttonConstructor):
              (WebCore::inputConstructor):
              (WebCore::isindexConstructor):
              (WebCore::fieldsetConstructor):
              (WebCore::keygenConstructor):
              (WebCore::labelConstructor):
              (WebCore::legendConstructor):
              (WebCore::optgroupConstructor):
              (WebCore::optionConstructor):
              (WebCore::selectConstructor):
              (WebCore::textareaConstructor):
              (WebCore::dlConstructor):
              (WebCore::ulConstructor):
              (WebCore::olConstructor):
              (WebCore::dirConstructor):
              (WebCore::menuConstructor):
              (WebCore::liConstructor):
              (WebCore::blockquoteConstructor):
              (WebCore::divConstructor):
              (WebCore::headingConstructor):
              (WebCore::hrConstructor):
              (WebCore::paragraphConstructor):
              (WebCore::preConstructor):
              (WebCore::basefontConstructor):
              (WebCore::fontConstructor):
              (WebCore::modConstructor):
              (WebCore::anchorConstructor):
              (WebCore::imageConstructor):
              (WebCore::mapConstructor):
              (WebCore::areaConstructor):
              (WebCore::canvasConstructor):
              (WebCore::appletConstructor):
              (WebCore::embedConstructor):
              (WebCore::objectConstructor):
              (WebCore::paramConstructor):
              (WebCore::scriptConstructor):
              (WebCore::tableConstructor):
              (WebCore::tableCaptionConstructor):
              (WebCore::tableColConstructor):
              (WebCore::tableRowConstructor):
              (WebCore::tableCellConstructor):
              (WebCore::tableSectionConstructor):
              (WebCore::brConstructor):
              (WebCore::quoteConstructor):
              (WebCore::marqueeConstructor):
              (WebCore::audioConstructor):
              (WebCore::videoConstructor):
              (WebCore::sourceConstructor):
              (WebCore::HTMLElementFactory::createHTMLElement):
              * html/HTMLElementFactory.h:
              * html/HTMLParser.cpp:
              (WebCore::HTMLParser::getNode):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38714 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6d046197
    • ap@webkit.org's avatar
      2008-11-24 Brent Fulgham <bfulgham@gmail.com> · e0d884f1
      ap@webkit.org authored
              Reviewed by Alexey Proskuryakov.
      
              https://bugs.webkit.org/show_bug.cgi?id=22444
      
              Correct bad default constructor for Cairo FontPlatformData so that
              the m_scaledFont member is initialized.  Previously this would be
              set to 0xbaadf00d, which would result in infinite loops while
              attempting to deal with the font cache.
      
              * platform/graphics/win/FontPlatformData.h:
              (WebCore::FontPlatformData::FontPlatformData): Initialize m_scaledFont to 0
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38713 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e0d884f1
    • simon.fraser@apple.com's avatar
      2008-11-24 Simon Fraser <simon.fraser@apple.com> · 7f132682
      simon.fraser@apple.com authored
              Reviewed by Darin Adler
      
              https://bugs.webkit.org/show_bug.cgi?id=22433
      
              Add script that attempts to detect virtual methods
              whose signatures differ only by constness (which can
              indicate a programming error).
      
              * Scripts/detect-mismatched-virtual-const: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38712 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7f132682
    • ap@webkit.org's avatar
      Reviewed by Darin Adler. · e149b895
      ap@webkit.org authored
              https://bugs.webkit.org/show_bug.cgi?id=22455
              Add support for Worker.terminate()
      
              Test: fast/workers/worker-terminate.html
      
              * dom/Worker.idl:
              * dom/Worker.cpp:
              * dom/Worker.h:
              Added terminate().
      
              * dom/WorkerMessagingProxy.h: (WebCore::WorkerMessagingProxy::askedToTerminate):
              * dom/WorkerMessagingProxy.cpp:
              (WebCore::MessageWorkerTask::performTask): Don't dispatch messages if the worker was asked
              to terminate (this is not mentioned in draft spec, but makes sense anyway).
              (WebCore::WorkerMessagingProxy::WorkerMessagingProxy): The proxy now remembers if it was
              asked to terminate in m_askedToTerminate member variable. Also, changed m_unconfirmedMessageCount
              to only track messages that were posted to worker thread, avoiding a leak if the script
              could not be loaded.
              (WebCore::WorkerMessagingProxy::postMessageToWorkerContext): Return early if terminating.
              (WebCore::WorkerMessagingProxy::workerThreadCreated): Stop the thread if already asked for.
              (WebCore::WorkerMessagingProxy::workerContextDestroyedInternal): Even if worker context
              was destroyed, the worker object may still be alive now, so don't delete self in this case.
              (WebCore::WorkerMessagingProxy::terminate): Stop the thread if it was already created, or
              remember to stop it when it is created.
              (WebCore::WorkerMessagingProxy::reportWorkerThreadActivityInternal): Don't track activity
              if the thread asked to stop anyway.
              (WebCore::WorkerMessagingProxy::workerThreadHasPendingActivity): Ditto.
      
              * dom/WorkerThread.cpp:
              * dom/WorkerThread.h:
              Fixed a race condition in stop().
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38711 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e149b895
    • zecke@webkit.org's avatar
      [Gtk+] Implement TestNetscapePlugin for Gtk+ port. · a1c9172c
      zecke@webkit.org authored
      LayoutTests:
      2008-11-24  Zan Dobersek  <zandobersek@gmail.com>
      
              Reviewed by Holger Freyther.
      
              Some tests in plugins/ directory now pass.
      
              * platform/gtk/Skipped:
      
      WebCore/ChangeLog:
      2008-11-24  Holger Hans Peter Freyther  <zecke@selfish.org>
      
              Reviewed by Mark Rowe.
      
              [Gtk+] Add configure option to enable Web Workers and enable it by default
      
              Add --enable-workers to the buildsystem (used by build-webkit) add
              the to be build files to the GNUmakefile.am and change build-webkit
              to enable Web Workers by default.
      
              * GNUmakefile.am:
      
      WebKit/gtk/ChangeLog
      2008-11-24  Zan Dobersek  <zandobersek@gmail.com>
      
              Reviewed by Holger Freyther.
      
              https://bugs.webkit.org/show_bug.cgi?id=22039
      
              Implement a semi-private function for adding a directory to
              PluginDatabase's paths.
      
              * webkit/webkitprivate.h:
              * webkit/webkitwebsettings.cpp:
              (_WebKitWebSettingsPrivate::webkit_web_settings_add_extra_plugin_directory):
      
      WebKitTools/ChangeLog
      2008-11-24  Zan Dobersek  <zandobersek@gmail.com>
      
              Reviewed by Holger Freyther.
      
              https://bugs.webkit.org/show_bug.cgi?id=22039
      
              [Gtk+] Implement TestNetscapePlugin for Gtk+ port and add it to the
              build.
      
              * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
              * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
              * DumpRenderTree/gtk/DumpRenderTree.cpp:
              (setDefaultsToConsistentStateValuesForTesting):
              * DumpRenderTree/gtk/TestNetscapePlugin/ForwardingHeaders/WebKit/npapi.h: Added.
              * DumpRenderTree/gtk/TestNetscapePlugin/ForwardingHeaders/WebKit/npfunctions.h: Added.
              * DumpRenderTree/gtk/TestNetscapePlugin/ForwardingHeaders/WebKit/npruntime.h: Added.
              * GNUmakefile.am:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38710 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a1c9172c
    • ap@webkit.org's avatar
      Reviewed by Mark Rowe. · cac1d851
      ap@webkit.org authored
              https://bugs.webkit.org/show_bug.cgi?id=22428
              xmlhttprequest-onProgress-open-should-zero-length.html fails intermittently
      
              * http/tests/xmlhttprequest/resources/big-response.php: Reduce the size of big response
              to make the test faster, but practically guarantee that the response will be delivered in
              many chunks.
      
              * http/tests/xmlhttprequest/xmlhttprequest-onProgress-open-should-zero-length-expected.txt:
              * http/tests/xmlhttprequest/xmlhttprequest-onProgress-open-should-zero-length.html:
              Made the test more reliable by comparing final response position with known resource size.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38709 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cac1d851
    • ap@webkit.org's avatar
      Reviewed by Mark Rowe. · 32761495
      ap@webkit.org authored
              https://bugs.webkit.org/show_bug.cgi?id=22439
              Won't load stylesheets with filenames less than 2 characters long in xhtml.
      
              Test: http/tests/misc/single-character-pi-stylesheet.xhtml
      
              * dom/ProcessingInstruction.cpp: (WebCore::ProcessingInstruction::checkStyleSheet):
              Fix up the logic.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38708 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      32761495
    • zecke@webkit.org's avatar
    • zecke@webkit.org's avatar
      [Gtk+] We are passing all but one worker test. Enable them. · 3e3ea39f
      zecke@webkit.org authored
          We fail on fast/workers/worker-location.html due some weird
          issue with the bidi resolver "skipping" whitespace at the end
          of the line.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38706 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3e3ea39f
    • zecke@webkit.org's avatar
      [Gtk+] Add configure option to enable Web Workers and enable it by default · e9dbf8a0
      zecke@webkit.org authored
          Add --enable-workers to the buildsystem (used by build-webkit) add
          the to be build files to the GNUmakefile.am and change build-webkit
          to enable Web Workers by default.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38705 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e9dbf8a0
    • ap@webkit.org's avatar
      Build fix (for Windows Cairo port?) · 8f61959d
      ap@webkit.org authored
              * page/DOMWindow.idl: Ese ENABLE_CHANNEL_MESSAGING instead of ENABLE(CHANNEL_MESSAGING), as
              the ENABLE macro is not available in idls.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38704 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8f61959d
    • barraclough@apple.com's avatar
      2008-11-24 Gavin Barraclough <barraclough@apple.com> · 830e1c5f
      barraclough@apple.com authored
              Rubber stamped by Mark Rowe.
      
              Add test cases to ensure the PIC trampolines for prototype and prototype chain
              accesses properly check for JSImmediate values, rather than segfaulting.
      
              https://bugs.webkit.org/show_bug.cgi?id=22451
      
              * fast/js/pic/cached-prototype-then-immediate-expected.txt: Added.
              * fast/js/pic/cached-prototype-then-immediate.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38703 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      830e1c5f
    • mrowe@apple.com's avatar
      Let gdb-safari accept the --debug and --release options once more. · fd454b21
      mrowe@apple.com authored
      Reviewed by Alexey Proskuryakov.
      
      * Scripts/gdb-safari:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38702 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fd454b21
    • barraclough@apple.com's avatar
      tyop fix in jsc Changelog · a2d53fac
      barraclough@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38701 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a2d53fac
    • barraclough@apple.com's avatar
      2008-11-24 Gavin Barraclough <barraclough@apple.com> · 012770b0
      barraclough@apple.com authored
              Reviewed by Camron Zwarich.
      
              Implement repatching for get by id chain.
              Previously the access is performed in a function stufb, in the reptach form
              the trampoline is not called to; instead the hot patch is relinkde to jump
              directly to the trampoline, if it fails it will jump to the slow case.
      
              https://bugs.webkit.org/show_bug.cgi?id=22449
              3% progression on deltablue.
      
              * jit/JIT.cpp:
              (JSC::JIT::privateCompileGetByIdProto):
              (JSC::JIT::privateCompileGetByIdChain):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38700 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      012770b0
    • hausmann@webkit.org's avatar
      2008-11-24 Joerg Bornemann <joerg.bornemann@trolltech.com> · 51cca422
      hausmann@webkit.org authored
              Reviewed by Simon Hausmann.
      
              https://bugs.webkit.org/show_bug.cgi?id=20746
      
              Various small compilation fixes to make the Qt port of WebKit
              compile on Windows CE.
      
              * config.h: Don't set _CRT_RAND_S for CE, it's not available.
              * jsc.cpp: Disabled use of debugger includes for CE. It
                does not have the debugging functions.
              * runtime/DateMath.cpp: Use localtime() on Windows CE.
              * wtf/Assertions.cpp: Compile on Windows CE without debugger.
              * wtf/Assertions.h: Include windows.h before defining ASSERT.
              * wtf/MathExtras.h: Include stdlib.h instead of xmath.h.
              * wtf/Platform.h: Disable ERRNO_H and detect endianess based
                on the Qt endianess. On Qt for Windows CE the endianess is
                defined by the vendor specific build spec.
              * wtf/Threading.h: Use the volatile-less atomic functions.
              * wtf/dtoa.cpp: Compile without errno.
              * wtf/win/MainThreadWin.cpp: Don't include windows.h on CE after
              Assertions.h due to the redefinition of ASSERT.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38699 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      51cca422
  2. 23 Nov, 2008 5 commits
  3. 22 Nov, 2008 5 commits