1. 12 Aug, 2009 7 commits
  2. 11 Aug, 2009 9 commits
    • barraclough@apple.com's avatar
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def: · 27c7d4e6
      barraclough@apple.com authored
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore_debug.def:
      
      Reviewed by NOBODY (build fix part deux).
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47091 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      27c7d4e6
    • barraclough@apple.com's avatar
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def: · d2d27b12
      barraclough@apple.com authored
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore_debug.def:
      
      Reviewed by NOBODY (build fix).
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47090 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d2d27b12
    • barraclough@apple.com's avatar
      JavaScriptCore: Restrict use of FuncDeclNode & FuncExprNode to the parser. · 3dc1233c
      barraclough@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=28209
      
      Reviewed by Oliver Hunt.
      
      These objects were also being referenced from the CodeBlock.  By changing this
      to just retain pointers to FunctionBodyNodes these classes can be restricted to
      use during parsing.
      
      No performance impact (or sub-percent progression).
      
      * JavaScriptCore.exp:
          Update symbols.
      
      * bytecode/CodeBlock.cpp:
      (JSC::CodeBlock::mark):
      (JSC::CodeBlock::reparseForExceptionInfoIfNecessary):
      (JSC::CodeBlock::shrinkToFit):
      * bytecode/CodeBlock.h:
      (JSC::CodeBlock::addFunction):
      (JSC::CodeBlock::function):
          Unify m_functions & m_functionExpressions into a single Vector<RefPtr<FuncExprNode> >.
      
      * bytecompiler/BytecodeGenerator.cpp:
      (JSC::BytecodeGenerator::BytecodeGenerator):
      (JSC::BytecodeGenerator::addConstant):
      (JSC::BytecodeGenerator::emitNewFunction):
      (JSC::BytecodeGenerator::emitNewFunctionExpression):
      * bytecompiler/BytecodeGenerator.h:
          FunctionStacks now contain FunctionBodyNodes not FuncDeclNodes.
      
      * interpreter/Interpreter.cpp:
      (JSC::Interpreter::execute):
      (JSC::Interpreter::privateExecute):
          Update to reflect chnages in CodeBlock.
      
      * jit/JITOpcodes.cpp:
      (JSC::JIT::emit_op_new_func_exp):
      * jit/JITStubs.cpp:
      (JSC::DEFINE_STUB_FUNCTION):
      * jit/JITStubs.h:
      (JSC::):
          Update to reflect chnages in CodeBlock.
      
      * parser/Grammar.y:
          FunctionStacks now contain FunctionBodyNodes not FuncDeclNodes.
      
      * parser/NodeConstructors.h:
      (JSC::FuncExprNode::FuncExprNode):
      (JSC::FuncDeclNode::FuncDeclNode):
      * parser/Nodes.cpp:
      (JSC::ScopeNodeData::mark):
      (JSC::FunctionBodyNode::finishParsing):
      * parser/Nodes.h:
      (JSC::FunctionBodyNode::ident):
          Move m_ident & make methods from FuncDeclNode & FuncExprNode to FunctionBodyNode.
      
      * runtime/JSFunction.h:
      (JSC::FunctionBodyNode::make):
          Make this method inline (was FuncDeclNode::makeFunction).
      
      WebCore: Restrict use of FuncDeclNode & FuncExprNode to the parser.
      https://bugs.webkit.org/show_bug.cgi?id=28209
      
      Reviewed by Oliver Hunt.
      
      * inspector/JavaScriptDebugServer.cpp:
      (WebCore::JavaScriptDebugServer::recompileAllJSFunctions):
          Function signature change.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47089 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3dc1233c
    • oliver@apple.com's avatar
      Native JSON.stringify does not omit functions · b4b40b66
      oliver@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=28117
      
      Reviewed by Gavin Barraclough
      
      Objects that are callable should be treated as undefined when
      serialising to JSON.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47086 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b4b40b66
    • oliver@apple.com's avatar
      REGRESSION: Hang/crash in BytecodeGenerator::constRegisterFor loading simple page · 744fe9ff
      oliver@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=28169
      
      Reviewed by Geoff Garen.
      
      Handle the case where someone has attempted to shadow a property
      on the global object with a constant.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47062 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      744fe9ff
    • atwilson@chromium.org's avatar
      JavaScriptCore: Desktop Notifications API · bb49055e
      atwilson@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=25463
      
      Patch by John Gregg <johnnyg@google.com> on 2009-08-11
      Reviewed by Maciej Stachowiak.
      
      Adds ENABLE_NOTIFICATION flag.
      
      * Configurations/FeatureDefines.xcconfig:
      * wtf/Platform.h:
      
      WebCore: Desktop Notifications API
      https://bugs.webkit.org/show_bug.cgi?id=25463
      
      Patch by John Gregg <johnnyg@google.com> on 2009-08-11
      Reviewed by Maciej Stachowiak.
      
      Adds an implementation of desktop notifications, behind the compile-time
      flag ENABLE(NOTIFICATIONS).  This code simply relays calls on the JavaScript
      API through a NotificationProvider interface, which must provide the services
      to actually notify the user and manage the desktop.  This provider is injected
      into WebKit through the ChromeClient for normal page contexts and through the
      WorkerThread for worker contexts.
      
      A permissions API is defined on a per-origin basis, which allows a web page
      to check if its origin is allowed to show desktop notifications, and to request
      permission for its origin.
      
      * Configurations/FeatureDefines.xcconfig:
      * DerivedSources.cpp:
      * DerivedSources.make:
      * GNUmakefile.am:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.vcproj/WebCoreCommon.vsprops:
      * WebCore.xcodeproj/project.pbxproj:
      * bindings/js/JSDOMWindowCustom.cpp:
      * bindings/js/JSDesktopNotificationsCustom.cpp: Added.
      (WebCore::JSNotificationCenter::requestPermission):
      (WebCore::JSNotification::addEventListener):
      (WebCore::JSNotification::removeEventListener):
      * bindings/js/JSEventTarget.cpp:
      (WebCore::toJS):
      (WebCore::toEventTarget):
      * dom/EventTarget.cpp:
      (WebCore::EventTarget::toNotification):
      * dom/EventTarget.h:
      * loader/EmptyClients.h:
      (WebCore::EmptyChromeClient::notificationPresenter):
      * notifications: Added.
      * notifications/Notification.cpp: Added.
      (WebCore::Notification::Notification):
      (WebCore::Notification::~Notification):
      (WebCore::Notification::show):
      (WebCore::Notification::cancel):
      (WebCore::Notification::ondisplay):
      (WebCore::Notification::setOndisplay):
      (WebCore::Notification::onerror):
      (WebCore::Notification::setOnerror):
      (WebCore::Notification::onclose):
      (WebCore::Notification::setOnclose):
      (WebCore::Notification::getAttributeEventListener):
      (WebCore::Notification::setAttributeEventListener):
      (WebCore::Notification::clearAttributeEventListener):
      (WebCore::Notification::dispatchDisplayEvent):
      (WebCore::Notification::dispatchErrorEvent):
      (WebCore::Notification::dispatchCloseEvent):
      (WebCore::Notification::addEventListener):
      (WebCore::Notification::removeEventListener):
      (WebCore::Notification::handleEvent):
      (WebCore::Notification::dispatchEvent):
      * notifications/Notification.h: Added.
      (WebCore::Notification::create):
      (WebCore::Notification::isHTML):
      (WebCore::Notification::url):
      (WebCore::Notification::contents):
      (WebCore::Notification::scriptExecutionContext):
      (WebCore::Notification::toNotification):
      (WebCore::Notification::refEventTarget):
      (WebCore::Notification::derefEventTarget):
      * notifications/Notification.idl: Added.
      * notifications/NotificationCenter.cpp: Added.
      (WebCore::NotificationCenter::NotificationCenter):
      (WebCore::NotificationCenter::checkPermission):
      (WebCore::NotificationCenter::requestPermission):
      * notifications/NotificationCenter.h: Added.
      (WebCore::NotificationCenter::create):
      (WebCore::NotificationCenter::createHTMLNotification):
      (WebCore::NotificationCenter::createNotification):
      (WebCore::NotificationCenter::context):
      (WebCore::NotificationCenter::presenter):
      * notifications/NotificationCenter.idl: Added.
      * notifications/NotificationContents.h: Added.
      (WebCore::NotificationContents::NotificationContents):
      (WebCore::NotificationContents::icon):
      (WebCore::NotificationContents::title):
      (WebCore::NotificationContents::body):
      * notifications/NotificationPresenter.h: Added.
      (WebCore::NotificationPresenter::):
      (WebCore::NotificationPresenter::~NotificationPresenter):
      * page/Chrome.cpp:
      (WebCore::Chrome::notificationPresenter):
      * page/Chrome.h:
      * page/ChromeClient.h:
      * page/DOMWindow.cpp:
      (WebCore::DOMWindow::clear):
      (WebCore::DOMWindow::webkitNotifications):
      * page/DOMWindow.h:
      * page/DOMWindow.idl:
      * page/Page.h:
      * workers/WorkerContext.cpp:
      (WebCore::WorkerContext::~WorkerContext):
      (WebCore::WorkerContext::webkitNotifications):
      * workers/WorkerContext.h:
      * workers/WorkerContext.idl:
      * workers/WorkerThread.h:
      (WebCore::WorkerThread::getNotificationPresenter):
      (WebCore::WorkerThread::setNotificationPresenter):
      
      WebKit/mac: Desktop Notifications API
      https://bugs.webkit.org/show_bug.cgi?id=25643
      
      Patch by John Gregg <johnnyg@google.com> on 2009-08-11
      Reviewed by Maciej Stachowiak.
      
      Adds ENABLE_NOTIFICATION flag.
      
      * Configurations/FeatureDefines.xcconfig:
      
      WebKit/win: Desktop Notifications API
      https://bugs.webkit.org/show_bug.cgi?id=25643
      
      Patch by John Gregg <johnnyg@google.com> on 2009-08-11
      Reviewed by Maciej Stachowiak.
      
      Adds test hooks for notification features to WebCoreSupport for
      use in DumpRenderTree.
      
      * Interfaces/IWebDesktopNotificationsDelegate.idl: Added.
      * Interfaces/IWebUIDelegate.idl:
      * Interfaces/WebKit.idl:
      * WebCoreSupport/WebChromeClient.cpp:
      (WebChromeClient::WebChromeClient):
      * WebCoreSupport/WebChromeClient.h:
      (WebChromeClient::notificationPresenter):
      * WebCoreSupport/WebDesktopNotificationsDelegate.cpp: Added.
      (NotificationCOMWrapper::create):
      (NotificationCOMWrapper::NotificationCOMWrapper):
      (NotificationCOMWrapper::QueryInterface):
      (NotificationCOMWrapper::AddRef):
      (NotificationCOMWrapper::Release):
      (NotificationCOMWrapper::isHTML):
      (NotificationCOMWrapper::contentsURL):
      (NotificationCOMWrapper::iconURL):
      (NotificationCOMWrapper::title):
      (NotificationCOMWrapper::text):
      (NotificationCOMWrapper::notifyDisplay):
      (NotificationCOMWrapper::notifyError):
      (NotificationCOMWrapper::notifyClose):
      (WebDesktopNotificationsDelegate::WebDesktopNotificationsDelegate):
      (WebDesktopNotificationsDelegate::show):
      (WebDesktopNotificationsDelegate::cancel):
      (WebDesktopNotificationsDelegate::notificationObjectDestroyed):
      (WebDesktopNotificationsDelegate::requestPermission):
      (WebDesktopNotificationsDelegate::checkPermission):
      (WebDesktopNotificationsDelegate::notificationDelegate):
      * WebCoreSupport/WebDesktopNotificationsDelegate.h: Added.
      * WebCoreSupport/WebInspectorDelegate.h:
      (WebInspectorDelegate::desktopNotificationsDelegate):
      * WebKit.vcproj/Interfaces.vcproj:
      * WebKit.vcproj/WebKit.vcproj:
      
      WebKitTools: Add support for desktop notifications API to DumpRenderTree,
      and support for ENABLE_NOTIFICATIONS flag to build-webkit.
      
      Patch by John Gregg <johnnyg@google.com> on 2009-08-11
      Reviewed by Maciej Stachowiak.
      
      * DumpRenderTree/LayoutTestController.cpp:
      (grantDesktopNotificationPermissionCallback):
      (LayoutTestController::staticFunctions):
      (LayoutTestController::grantDesktopNotificationPermission):
      (LayoutTestController::checkDesktopNotificationPermission):
      * DumpRenderTree/LayoutTestController.h:
      * DumpRenderTree/win/DRTDesktopNotificationPresenter.cpp: Added.
      (DRTDesktopNotificationPresenter::DRTDesktopNotificationPresenter):
      (DRTDesktopNotificationPresenter::QueryInterface):
      (DRTDesktopNotificationPresenter::AddRef):
      (DRTDesktopNotificationPresenter::Release):
      (DRTDesktopNotificationPresenter::showDesktopNotification):
      (DRTDesktopNotificationPresenter::cancelDesktopNotification):
      (DRTDesktopNotificationPresenter::notificationDestroyed):
      (DRTDesktopNotificationPresenter::checkNotificationPermission):
      (DRTDesktopNotificationPresenter::requestNotificationPermission):
      * DumpRenderTree/win/DRTDesktopNotificationPresenter.h: Added.
      * DumpRenderTree/win/DumpRenderTree.vcproj:
      * DumpRenderTree/win/UIDelegate.cpp:
      (UIDelegate::UIDelegate):
      (UIDelegate::desktopNotificationsDelegate):
      * DumpRenderTree/win/UIDelegate.h:
      * Scripts/build-webkit:
      
      LayoutTests: Desktop Notifications API
      https://bugs.webkit.org/show_bug.cgi?id=25463
      
      Patch by John Gregg <johnnyg@google.com> on 2009-08-11
      Reviewed by Maciej Stachowiak.
      
      Adding layout tests for desktop notifications.  Currently these
      are all disabled because the flag for this feature is set to 0.
      
      * fast/notifications: Added.
      * fast/notifications/notifications-check-permission-expected.txt: Added.
      * fast/notifications/notifications-check-permission.html-disabled: Added.
       - Validates that checking permission for notifications works correctly.
      * fast/notifications/notifications-display-close-events-expected.txt: Added.
      * fast/notifications/notifications-display-close-events.html-disabled: Added.
       - Validates that the display and close events are fired correctly.
      * fast/notifications/notifications-double-show-expected.txt: Added.
      * fast/notifications/notifications-double-show.html-disabled: Added.
       - Validates that the same notification object cannot be shown twice.
      * fast/notifications/notifications-request-permission-expected.txt: Added.
      * fast/notifications/notifications-request-permission.html-disabled: Added.
       - Validates that requesting permission works correctly.
      * fast/notifications/notifications-with-permission-expected.txt: Added.
      * fast/notifications/notifications-with-permission.html-disabled: Added.
       - Validates that, with permission, showing a notification works correctly.
      * fast/notifications/notifications-without-permission-expected.txt: Added.
      * fast/notifications/notifications-without-permission.html-disabled: Added.
       - Validates that, without permission, showing a notification fails.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47056 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bb49055e
    • eric@webkit.org's avatar
      2009-08-11 Maxime Simon <simon.maxime@gmail.com> · 9eccd009
      eric@webkit.org authored
              Reviewed by Eric Seidel.
      
              Modifications on JavaScriptCore to allow Haiku port.
              https://bugs.webkit.org/show_bug.cgi?id=28121
      
              * runtime/Collector.cpp: Haiku doesn't have sys/mman.h, using OS.h instead.
              (JSC::currentThreadStackBase): Haiku uses its own threading system.
              * wtf/Platform.h: Defining all Haiku platform values.
              * wtf/haiku/MainThreadHaiku.cpp: Adding a missing header (NotImplemented.h).
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47050 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9eccd009
    • jberlin@apple.com's avatar
      2009-08-11 Jessie Berlin <jberlin@apple.com> · 3d7efaeb
      jberlin@apple.com authored
              Fix windows build.
              
              Reviewed by Adam Roben.
      
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore_debug.def:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47037 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3d7efaeb
    • vestbo@webkit.org's avatar
      Buildfix for Qt-win platforms. · f2901aa3
      vestbo@webkit.org authored
      Patch by Csaba Osztrogonac <oszi@inf.u-szeged.hu> on 2009-08-11
      Reviewed by Tor Arne Vestbø.
      
      * JavaScriptCore.pri: Choose MarkStackPosix.cpp or MarkStackWin.cpp depend on platform.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47035 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f2901aa3
  3. 10 Aug, 2009 13 commits
  4. 09 Aug, 2009 2 commits
  5. 07 Aug, 2009 4 commits
    • abarth@webkit.org's avatar
      2009-08-07 Zoltan Horvath <hzoltan@inf.u-szeged.hu> · e1ea42d9
      abarth@webkit.org authored
              Reviewed by Eric Seidel.
      
              Allow custom memory allocation control for Noncopyable class
              https://bugs.webkit.org/show_bug.cgi?id=27879
      
              Several classes which are inherited from Noncopyable are instantiated by
              operator new, so Noncopyable class has been inherited from FastAllocBase.
      
              * wtf/Noncopyable.h:
      
      2009-08-07  George Staikos <george.staikos@torchmobile.com>
      
              Reviewed by Eric Seidel.
      
              https://bugs.webkit.org/show_bug.cgi?id=27305
              Implement WinCE-specific unicode layer.
              Written by George Staikos <george.staikos@torchmobile.com>
              with bug fixes by Yong Li <yong.li@torchmobile.com>
              refactored by Joe Mason <joe.mason@torchmobile.com>
      
              * wtf/Platform.h:
              * wtf/unicode/Unicode.h:
              * wtf/unicode/wince/UnicodeWince.cpp: Added.
              (WTF::Unicode::toLower):
              (WTF::Unicode::toUpper):
              (WTF::Unicode::foldCase):
              (WTF::Unicode::isPrintableChar):
              (WTF::Unicode::isSpace):
              (WTF::Unicode::isLetter):
              (WTF::Unicode::isUpper):
              (WTF::Unicode::isLower):
              (WTF::Unicode::isDigit):
              (WTF::Unicode::isPunct):
              (WTF::Unicode::toTitleCase):
              (WTF::Unicode::direction):
              (WTF::Unicode::category):
              (WTF::Unicode::decompositionType):
              (WTF::Unicode::combiningClass):
              (WTF::Unicode::mirroredChar):
              (WTF::Unicode::digitValue):
              * wtf/unicode/wince/UnicodeWince.h: Added.
              (WTF::Unicode::):
              (WTF::Unicode::isSeparatorSpace):
              (WTF::Unicode::isHighSurrogate):
              (WTF::Unicode::isLowSurrogate):
              (WTF::Unicode::isArabicChar):
              (WTF::Unicode::hasLineBreakingPropertyComplexContext):
              (WTF::Unicode::umemcasecmp):
              (WTF::Unicode::surrogateToUcs4):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46933 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e1ea42d9
    • abarth@webkit.org's avatar
      2009-08-07 George Staikos <george.staikos@torchmobile.com> · 7283bc1c
      abarth@webkit.org authored
              Reviewed by Eric Seidel.
      
              https://bugs.webkit.org/show_bug.cgi?id=27305
              Implement WinCE-specific unicode layer.
              Written by George Staikos <george.staikos@torchmobile.com>
              with bug fixes by Yong Li <yong.li@torchmobile.com>
              refactored by Joe Mason <joe.mason@torchmobile.com>
      
              * wtf/Platform.h:
              * wtf/unicode/Unicode.h:
              * wtf/unicode/wince/UnicodeWince.cpp: Added.
              (WTF::Unicode::toLower):
              (WTF::Unicode::toUpper):
              (WTF::Unicode::foldCase):
              (WTF::Unicode::isPrintableChar):
              (WTF::Unicode::isSpace):
              (WTF::Unicode::isLetter):
              (WTF::Unicode::isUpper):
              (WTF::Unicode::isLower):
              (WTF::Unicode::isDigit):
              (WTF::Unicode::isPunct):
              (WTF::Unicode::toTitleCase):
              (WTF::Unicode::direction):
              (WTF::Unicode::category):
              (WTF::Unicode::decompositionType):
              (WTF::Unicode::combiningClass):
              (WTF::Unicode::mirroredChar):
              (WTF::Unicode::digitValue):
              * wtf/unicode/wince/UnicodeWince.h: Added.
              (WTF::Unicode::):
              (WTF::Unicode::isSeparatorSpace):
              (WTF::Unicode::isHighSurrogate):
              (WTF::Unicode::isLowSurrogate):
              (WTF::Unicode::isArabicChar):
              (WTF::Unicode::hasLineBreakingPropertyComplexContext):
              (WTF::Unicode::umemcasecmp):
              (WTF::Unicode::surrogateToUcs4):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46911 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7283bc1c
    • abarth@webkit.org's avatar
      2009-08-07 Yongjun Zhang <yongjun.zhang@nokia.com> · 0fc235ef
      abarth@webkit.org authored
              Reviewed by Eric Seidel.
      
              https://bugs.webkit.org/show_bug.cgi?id=28069
      
              Add inline to help winscw compiler resolve specialized argument in
              templated functions.
      
              * runtime/LiteralParser.cpp:
              (JSC::LiteralParser::Lexer::lexString):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46910 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0fc235ef
    • abarth@webkit.org's avatar
      2009-08-07 Zoltan Horvath <hzoltan@inf.u-szeged.hu> · 44404206
      abarth@webkit.org authored
              Reviewed by Eric Seidel.
      
              Allow custom memory allocation control for RegExpObjectData struct
              http://bugs.webkit.org/show_bug.cgi?id=26750
      
              Inherits RegExpObjectData struct from FastAllocBase because
              it has been instantiated by 'new' in JavaScriptCore/runtime/RegExpObject.cpp:62
      
              * runtime/RegExpObject.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46907 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      44404206
  6. 06 Aug, 2009 5 commits
    • abarth@webkit.org's avatar
      2009-08-06 Norbert Leser <norbert.leser@nokia.com> · 5dc259f3
      abarth@webkit.org authored
              Reviewed by Darin Adler.
      
              Updated patch for bug #27059:
              Symbian platform always uses little endian encoding,
              regardless of compiler.
              We need to make sure that we correctly detect EABI architecture
              for armv5 targets on Symbian,
              where __EABI__ is set but not __ARM_EABI__
      
              * wtf/Platform.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46881 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5dc259f3
    • abarth@webkit.org's avatar
      JavaScriptCore: · bf72f713
      abarth@webkit.org authored
      2009-08-06  Adam Barth  <abarth@webkit.org>
      
              Unreviewed revert.
      
              http://bugs.webkit.org/show_bug.cgi?id=27879
      
              Revert 46877 because it broke GTK.
      
              * wtf/Noncopyable.h:
      
      WebCore:
      
      2009-08-06  Adam Barth  <abarth@webkit.org>
      
              Unreviewed revert.
      
              http://bugs.webkit.org/show_bug.cgi?id=27879
      
              Revert 46877 because it broke GTK.
      
              * platform/graphics/wince/GraphicsContextWince.cpp:
      
      WebKit/win:
      
      2009-08-06  Adam Barth  <abarth@webkit.org>
      
              Unreviewed revert.
      
              http://bugs.webkit.org/show_bug.cgi?id=27879
      
              Revert 46877 because it broke GTK.
      
              * COMPropertyBag.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46880 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bf72f713
    • barraclough@apple.com's avatar
      2009-08-06 Gavin Barraclough <barraclough@apple.com> · 2e342af4
      barraclough@apple.com authored
              Reviewed by Oliver Hunt.
      
              Make get_by_id/put_by_id/method_check/call defer optimization using a data flag rather than a code modification.
              ( https://bugs.webkit.org/show_bug.cgi?id=27635 )
      
              This improves performance of ENABLE(ASSEMBLER_WX_EXCLUSIVE) builds by 2-2.5%, reducing the overhead to about 2.5%.
              (No performance impact with ASSEMBLER_WX_EXCLUSIVE disabled).
      
              * bytecode/CodeBlock.cpp:
              (JSC::printStructureStubInfo):
                  - Make StructureStubInfo store the type as an integer, rather than an OpcodeID.
      
              * bytecode/CodeBlock.h:
              (JSC::):
              (JSC::CallLinkInfo::seenOnce):
              (JSC::CallLinkInfo::setSeen):
              (JSC::MethodCallLinkInfo::seenOnce):
              (JSC::MethodCallLinkInfo::setSeen):
                  - Change a pointer in CallLinkInfo/MethodCallLinkInfo to use a PtrAndFlags, use a flag to track when an op has been executed once.
      
              * bytecode/StructureStubInfo.cpp:
              (JSC::StructureStubInfo::deref):
                  - Make StructureStubInfo store the type as an integer, rather than an OpcodeID.
      
              * bytecode/StructureStubInfo.h:
              (JSC::StructureStubInfo::StructureStubInfo):
              (JSC::StructureStubInfo::initGetByIdSelf):
              (JSC::StructureStubInfo::initGetByIdProto):
              (JSC::StructureStubInfo::initGetByIdChain):
              (JSC::StructureStubInfo::initGetByIdSelfList):
              (JSC::StructureStubInfo::initGetByIdProtoList):
              (JSC::StructureStubInfo::initPutByIdTransition):
              (JSC::StructureStubInfo::initPutByIdReplace):
              (JSC::StructureStubInfo::seenOnce):
              (JSC::StructureStubInfo::setSeen):
                  - Make StructureStubInfo store the type as an integer, rather than an OpcodeID, add a flag to track when an op has been executed once.
      
              * bytecompiler/BytecodeGenerator.cpp:
              (JSC::BytecodeGenerator::emitGetById):
              (JSC::BytecodeGenerator::emitPutById):
                  - Make StructureStubInfo store the type as an integer, rather than an OpcodeID.
      
              * jit/JIT.cpp:
              (JSC::JIT::privateCompileCTIMachineTrampolines):
              (JSC::JIT::unlinkCall):
                  - Remove the "don't lazy link" stage of calls.
      
              * jit/JIT.h:
              (JSC::JIT::compileCTIMachineTrampolines):
                  - Remove the "don't lazy link" stage of calls.
      
              * jit/JITCall.cpp:
              (JSC::JIT::compileOpCallSlowCase):
                  - Remove the "don't lazy link" stage of calls.
      
              * jit/JITStubs.cpp:
              (JSC::JITThunks::JITThunks):
              (JSC::JITThunks::tryCachePutByID):
              (JSC::JITThunks::tryCacheGetByID):
              (JSC::JITStubs::DEFINE_STUB_FUNCTION):
              (JSC::JITStubs::getPolymorphicAccessStructureListSlot):
                  - Remove the "don't lazy link" stage of calls, and the "_second" stage of get_by_id/put_by_id/method_check.
      
              * jit/JITStubs.h:
              (JSC::JITThunks::ctiStringLengthTrampoline):
              (JSC::JITStubs::):
                  - Remove the "don't lazy link" stage of calls, and the "_second" stage of get_by_id/put_by_id/method_check.
      
              * wtf/PtrAndFlags.h:
              (WTF::PtrAndFlags::PtrAndFlags):
              (WTF::PtrAndFlags::operator!):
              (WTF::PtrAndFlags::operator->):
                  - Add ! and -> operators, add constuctor with pointer argument.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46879 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2e342af4
    • abarth@webkit.org's avatar
      2009-08-06 Zoltan Horvath <hzoltan@inf.u-szeged.hu> · 5cd67bb8
      abarth@webkit.org authored
              Reviewed by Adam Barth.
      
              Allow custom memory allocation control for Noncopyable class
              https://bugs.webkit.org/show_bug.cgi?id=27879
      
              Several classes which inherited from Noncopyable are instantiated by
              operator new, so Noncopyable class has been inherited from FastAllocBase.
      
              * wtf/Noncopyable.h:
      
      2009-08-06  Zoltan Horvath  <hzoltan@inf.u-szeged.hu>
      
              Reviewed by Adam Barth.
      
              Change Noncopyable inheriting to public
              http://bugs.webkit.org/show_bug.cgi?id=27879
      
              Since Noncopyable is inherited from FastAllocBase, Noncopyable's
              inheriting has been changed to public.
      
              * platform/graphics/wince/GraphicsContextWince.cpp:
      
      2009-08-06  Zoltan Horvath  <hzoltan@inf.u-szeged.hu>
      
              Reviewed by Adam Barth.
      
              Change Noncopyable inheriting to public
              http://bugs.webkit.org/show_bug.cgi?id=27879
      
              Since Noncopyable is inherited from FastAllocBase,
              Noncopyable's inheriting has been changed to public.
      
              * COMPropertyBag.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46877 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5cd67bb8
    • mrowe@apple.com's avatar
      Add explicit dependencies for our build verification scripts to ensure that... · 8b92c678
      mrowe@apple.com authored
      Add explicit dependencies for our build verification scripts to ensure that they always run after linking has completed.
      
      Rubber-stamped by Sam Weinig.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46876 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8b92c678