- 12 Aug, 2009 7 commits
-
-
adachan@apple.com authored
can only accept the base address returned by VirtualAlloc when the region was reserved and it can only free the entire region, and not a part of it. Reviewed by Oliver Hunt. * runtime/MarkStack.h: (JSC::MarkStack::MarkStackArray::shrinkAllocation): * runtime/MarkStackWin.cpp: (JSC::MarkStack::releaseStack): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47159 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ariya@webkit.org authored
Reviewed by Ariya Hidayat. Build fix: use std::numeric_limits<long long>::min() instead of LLONG_MIN since LLONG_MIN is not defined in standard c++. * runtime/UString.cpp: (JSC::UString::from): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47102 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
xan@webkit.org authored
Reviewed by Jan Alonzo. Buildfix for Gtk platforms debug builds. * GNUmakefile.am: Choose MarkStackPosix.cpp or MarkStackWin.cpp depending on platform. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47098 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann@webkit.org authored
Patch by Simon Hausmann <simon.hausmann@nokia.com> on 2009-08-12 * runtime/UString.cpp: Include wtf/StringExtras.h for snprintf. (JSC::UString::from): Use %lld instead of %I64d for snprintf on non-windows platforms. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47097 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann@webkit.org authored
is called with an intptr_t. Patch by Prasanth Ullattil <prasanth.ullattil@nokia.com> on 2009-08-12 Reviewed by Simon Hausmann. Added new UString::From overload with long long parameter. Thanks to Holger for the long long idea. * runtime/UString.cpp: (JSC::UString::from): * runtime/UString.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47096 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
oliver@apple.com authored
Reviewed by Mark Rowe git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47093 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
oliver@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=27469 Reviewed by Gavin Barraclough Jump through a few hoops to make it much harder to accidentally miss null-checking of values returned by the try-* allocation routines. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47092 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 11 Aug, 2009 9 commits
-
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
- 10 Aug, 2009 13 commits
-
-
oliver@apple.com authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47027 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
oliver@apple.com authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47026 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
oliver@apple.com authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47025 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
oliver@apple.com authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47024 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
oliver@apple.com authored
Hoist page size initialization into platform specific code. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47023 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
oliver@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=12216 Reviewed by Gavin Barraclough and Sam Weinig Make the GC mark phase iterative by using an explicit mark stack. To do this marking any single object is performed in multiple stages * The object is appended to the MarkStack, this sets the marked bit for the object using the new markDirect() function, and then returns * When the MarkStack is drain()ed the object is popped off the stack and markChildren(MarkStack&) is called on the object to collect all of its children. drain() then repeats until the stack is empty. Additionally I renamed a number of methods from 'mark' to 'markAggregate' in order to make it more clear that marking of those object was not going to result in an actual recursive mark. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47022 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mrowe@apple.com authored
Reviewed by Darin Adler. * wtf/FastMalloc.h: Implement nothrow variants of the delete and delete[] operators since we implement the nothrow variants of new and new[]. The nothrow variant of delete is called explicitly in the implementation of std::sort which was resulting in FastMalloc-allocated memory being passed to the system allocator to free. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47010 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jmalonzo@webkit.org authored
[Gtk] Unreviewed build fix. Move JSAPIValueWrapper.cpp/.h in the debug section. This file is already part of AllInOneFile in Release builds. * GNUmakefile.am: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47003 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin@apple.com authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47000 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=28160 Patch by Darin Adler <darin@apple.com> on 2009-08-10 Reviewed by Mark Rowe. 1) The support for nothrow was inside #if PLATFORM(WINCE) even though it is not platform-specific. 2) The code tried to override operator delete nothrow, which does not exist. 3) The code in the header checks the value of USE_SYSTEM_MALLOC, but the code in FastMalloc.cpp checks only if the macro is defined. * wtf/FastMalloc.h: See above. * wtf/FastMalloc.cpp: Ditto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46999 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
weinig@apple.com authored
Reviewed by Anders Carlsson. * runtime/DateConstructor.cpp: (JSC::constructDate): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46992 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
xan@webkit.org authored
Unreviewed build fix. Add new files to makefile. * GNUmakefile.am: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46976 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann@webkit.org authored
PrototypeFunction.h as forward-declared through NativeFunctionWrapper.h. Patch by Simon Hausmann <simon.hausmann@nokia.com> on 2009-08-10 * runtime/ObjectConstructor.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46970 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 09 Aug, 2009 2 commits
-
-
oliver@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=28118 Reviewed by George Staikos Correct behaviour of stringify when using a replacer function that returns undefined. This is a simple change to move the undefined value check to after the replacer function is called. This means that the replacer function is now called for properties with the value undefined, however i've confirmed that this behaviour is correct. In addition I've made the cyclic object exception have a more useful error message. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46967 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
oliver@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=28114 Reviewed by Eric Seidel and Sam Weinig. Implement getPrototypeOf git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46963 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 07 Aug, 2009 4 commits
-
-
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
-
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
-
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
-
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
-
- 06 Aug, 2009 5 commits
-
-
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
-
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
-
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
-
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
-
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
-