1. 27 Jun, 2008 2 commits
    • weinig@apple.com's avatar
      2008-06-27 Sam Weinig <sam@webkit.org> · 282b0a4e
      weinig@apple.com authored
              Rubber-stamped by Oliver Hunt.
      
              Splits ArrayConstructor out of ArrayPrototype.h/cpp
              Splits BooleanConstructor and BooleanPrototype out of BooleanObject.h/cpp
      
              * GNUmakefile.am:
              * JavaScriptCore.pri:
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * JavaScriptCoreSources.bkl:
              * VM/Machine.cpp:
              * kjs/AllInOneFile.cpp:
              * kjs/ArrayConstructor.cpp: Copied from kjs/ArrayPrototype.cpp.
              * kjs/ArrayConstructor.h: Copied from kjs/ArrayPrototype.h.
              * kjs/ArrayPrototype.cpp:
              * kjs/ArrayPrototype.h:
              * kjs/BooleanConstructor.cpp: Copied from kjs/BooleanObject.cpp.
              * kjs/BooleanConstructor.h: Copied from kjs/BooleanObject.h.
              * kjs/BooleanObject.cpp:
              * kjs/BooleanObject.h:
              * kjs/BooleanPrototype.cpp: Copied from kjs/BooleanObject.cpp.
              * kjs/BooleanPrototype.h: Copied from kjs/BooleanObject.h.
              * kjs/CommonIdentifiers.h:
              * kjs/FunctionPrototype.cpp:
              * kjs/JSArray.cpp:
              * kjs/JSGlobalObject.cpp:
              * kjs/JSImmediate.cpp:
              * kjs/Shell.cpp:
              * kjs/internal.cpp:
              * kjs/nodes.cpp:
              * kjs/string_object.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34843 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      282b0a4e
    • adele@apple.com's avatar
      2008-06-27 Adele Peterson <adele@apple.com> · 2e1114a5
      adele@apple.com authored
              Reviewed by Geoff.
      
              Build fixes. 
      
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
              * VM/RegisterFile.h:
              (KJS::RegisterFile::RegisterFile):
              * kjs/JSGlobalObject.cpp:
              * kjs/collector.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34839 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2e1114a5
  2. 16 Jun, 2008 1 commit
    • mjs@apple.com's avatar
      JavaScriptCore: · c77e8ea9
      mjs@apple.com authored
      2008-06-16  Maciej Stachowiak  <mjs@apple.com>
      
              Reviewed by Alexey.
              
              - removed nearly unused types.h and LocalStorageEntry.h headers
      
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * kjs/ExecState.h:
              * kjs/LocalStorageEntry.h: Removed.
              * kjs/RegExpObject.cpp:
              * kjs/error_object.cpp:
              * kjs/grammar.y:
              * kjs/nodes.cpp:
              * kjs/types.h: Removed.
      
      JavaScriptGlue:
      
      2008-06-16  Maciej Stachowiak  <mjs@apple.com>
      
              Reviewed by Alexey.
      
              - removed nearly unused types.h and LocalStorageEntry.h headers
      
              * JSUtils.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34615 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c77e8ea9
  3. 15 Jun, 2008 2 commits
    • darin@apple.com's avatar
      JavaScriptCore: · 5c0863d0
      darin@apple.com authored
      2008-06-15  Darin Adler  <darin@apple.com>
      
              - new names for more JavaScriptCore files
      
              * API/JSCallbackFunction.cpp:
              * API/JSObjectRef.cpp:
              * DerivedSources.make:
              * GNUmakefile.am:
              * JavaScriptCore.exp:
              * JavaScriptCore.pri:
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * JavaScriptCoreSources.bkl:
              * VM/Machine.cpp:
              * kjs/AllInOneFile.cpp:
              * kjs/ArrayPrototype.cpp: Copied from JavaScriptCore/kjs/array_object.cpp.
              * kjs/ArrayPrototype.h: Copied from JavaScriptCore/kjs/array_object.h.
              * kjs/BooleanObject.cpp: Copied from JavaScriptCore/kjs/bool_object.cpp.
              * kjs/BooleanObject.h: Copied from JavaScriptCore/kjs/bool_object.h.
              * kjs/ExecState.cpp:
              * kjs/ExecState.h:
              * kjs/FunctionPrototype.cpp: Copied from JavaScriptCore/kjs/function_object.cpp.
              * kjs/FunctionPrototype.h: Copied from JavaScriptCore/kjs/function_object.h.
              * kjs/JSArray.cpp: Copied from JavaScriptCore/kjs/array_instance.cpp.
              * kjs/JSArray.h: Copied from JavaScriptCore/kjs/array_instance.h.
              * kjs/JSFunction.cpp:
              * kjs/JSFunction.h:
              * kjs/JSGlobalObject.cpp:
              * kjs/JSImmediate.cpp:
              * kjs/JSObject.h:
              * kjs/JSString.h:
              * kjs/JSValue.h:
              * kjs/JSVariableObject.cpp:
              * kjs/MathObject.cpp: Copied from JavaScriptCore/kjs/math_object.cpp.
              * kjs/MathObject.h: Copied from JavaScriptCore/kjs/math_object.h.
              * kjs/NumberObject.cpp: Copied from JavaScriptCore/kjs/number_object.cpp.
              * kjs/NumberObject.h: Copied from JavaScriptCore/kjs/number_object.h.
              * kjs/PropertyMap.cpp: Copied from JavaScriptCore/kjs/property_map.cpp.
              * kjs/PropertyMap.h: Copied from JavaScriptCore/kjs/property_map.h.
              * kjs/PropertySlot.cpp: Copied from JavaScriptCore/kjs/property_slot.cpp.
              * kjs/PropertySlot.h: Copied from JavaScriptCore/kjs/property_slot.h.
              * kjs/RegExpObject.cpp: Copied from JavaScriptCore/kjs/regexp_object.cpp.
              * kjs/RegExpObject.h: Copied from JavaScriptCore/kjs/regexp_object.h.
              * kjs/ScopeChain.cpp: Copied from JavaScriptCore/kjs/scope_chain.cpp.
              * kjs/ScopeChain.h: Copied from JavaScriptCore/kjs/scope_chain.h.
              * kjs/ScopeChainMark.h: Copied from JavaScriptCore/kjs/scope_chain_mark.h.
              * kjs/Shell.cpp:
              * kjs/array_instance.cpp: Removed.
              * kjs/array_instance.h: Removed.
              * kjs/array_object.cpp: Removed.
              * kjs/array_object.h: Removed.
              * kjs/bool_object.cpp: Removed.
              * kjs/bool_object.h: Removed.
              * kjs/error_object.h:
              * kjs/function_object.cpp: Removed.
              * kjs/function_object.h: Removed.
              * kjs/internal.cpp:
              * kjs/math_object.cpp: Removed.
              * kjs/math_object.h: Removed.
              * kjs/nodes.cpp:
              * kjs/number_object.cpp: Removed.
              * kjs/number_object.h: Removed.
              * kjs/object_object.cpp:
              * kjs/property_map.cpp: Removed.
              * kjs/property_map.h: Removed.
              * kjs/property_slot.cpp: Removed.
              * kjs/property_slot.h: Removed.
              * kjs/regexp_object.cpp: Removed.
              * kjs/regexp_object.h: Removed.
              * kjs/scope_chain.cpp: Removed.
              * kjs/scope_chain.h: Removed.
              * kjs/scope_chain_mark.h: Removed.
              * kjs/string_object.cpp:
              * kjs/string_object.h:
      
      WebCore:
      
      2008-06-15  Darin Adler  <darin@apple.com>
      
              - new names for more JavaScriptCore files
      
              * ForwardingHeaders/kjs/ArrayPrototype.h: Copied from WebCore/ForwardingHeaders/kjs/array_object.h.
              * ForwardingHeaders/kjs/BooleanObject.h: Copied from WebCore/ForwardingHeaders/kjs/bool_object.h.
              * ForwardingHeaders/kjs/FunctionPrototype.h: Copied from WebCore/ForwardingHeaders/kjs/function_object.h.
              * ForwardingHeaders/kjs/JSArray.h: Copied from WebCore/ForwardingHeaders/kjs/array_instance.h.
              * ForwardingHeaders/kjs/PropertyMap.h: Copied from WebCore/ForwardingHeaders/kjs/property_map.h.
              * ForwardingHeaders/kjs/array_instance.h: Removed.
              * ForwardingHeaders/kjs/array_object.h: Removed.
              * ForwardingHeaders/kjs/bool_object.h: Removed.
              * ForwardingHeaders/kjs/function_object.h: Removed.
              * ForwardingHeaders/kjs/property_map.h: Removed.
              * WebCore.vcproj/WebCore.vcproj:
              * bindings/js/JSClipboardCustom.cpp:
              * bindings/js/JSDatabaseCustom.cpp:
              * bindings/js/JSJavaScriptCallFrameCustom.cpp:
              * bindings/js/kjs_events.cpp:
              * bridge/jni/jni_utility.cpp:
              * bridge/qt/qt_runtime.cpp:
              * bridge/runtime_array.cpp:
      
      WebKit/mac:
      
      2008-06-15  Darin Adler  <darin@apple.com>
      
              - new names for more JavaScriptCore files
      
              * WebView/WebView.mm:
      
      WebKit/qt:
      
      2008-06-15  Darin Adler  <darin@apple.com>
      
              - new names for more JavaScriptCore files
      
              * WebKit_pch.h:
      
      WebKitTools:
      
      2008-06-15  Darin Adler  <darin@apple.com>
      
              * Scripts/do-file-rename: Updated.
              * Scripts/do-webcore-rename: Updated for the latest round of renaming.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34582 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5c0863d0
    • darin@apple.com's avatar
      JavaScriptCore: · 3dcb636f
      darin@apple.com authored
      2008-06-15  Darin Adler  <darin@apple.com>
      
              - new names for a few key JavaScriptCore files
      
              * API/JSBase.cpp:
              * API/JSCallbackConstructor.h:
              * API/JSCallbackFunction.cpp:
              * API/JSCallbackFunction.h:
              * API/JSCallbackObject.h:
              * API/JSCallbackObjectFunctions.h:
              * API/JSClassRef.h:
              * API/JSContextRef.cpp:
              * API/JSObjectRef.cpp:
              * API/JSStringRef.cpp:
              * API/JSStringRefCF.cpp:
              * API/JSValueRef.cpp:
              * GNUmakefile.am:
              * JavaScriptCore.pri:
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * JavaScriptCoreSources.bkl:
              * VM/CodeBlock.cpp:
              * VM/CodeGenerator.cpp:
              * VM/ExceptionHelpers.cpp:
              * VM/ExceptionHelpers.h:
              * VM/JSPropertyNameIterator.cpp:
              * VM/JSPropertyNameIterator.h:
              * VM/Machine.cpp:
              * kjs/AllInOneFile.cpp:
              * kjs/DateMath.cpp:
              * kjs/DebuggerCallFrame.cpp:
              * kjs/ExecState.cpp:
              * kjs/JSActivation.cpp:
              * kjs/JSFunction.cpp: Copied from JavaScriptCore/kjs/function.cpp.
              * kjs/JSFunction.h: Copied from JavaScriptCore/kjs/function.h.
              * kjs/JSImmediate.cpp:
              * kjs/JSNotAnObject.h:
              * kjs/JSObject.cpp: Copied from JavaScriptCore/kjs/object.cpp.
              * kjs/JSObject.h: Copied from JavaScriptCore/kjs/object.h.
              * kjs/JSString.h: Copied from JavaScriptCore/kjs/internal.h.
              * kjs/JSValue.cpp: Copied from JavaScriptCore/kjs/value.cpp.
              * kjs/JSValue.h: Copied from JavaScriptCore/kjs/value.h.
              * kjs/JSVariableObject.h:
              * kjs/JSWrapperObject.h:
              * kjs/Shell.cpp:
              * kjs/SymbolTable.h:
              * kjs/array_instance.h:
              * kjs/collector.cpp:
              * kjs/date_object.cpp:
              * kjs/date_object.h:
              * kjs/error_object.cpp:
              * kjs/function.cpp: Removed.
              * kjs/function.h: Removed.
              * kjs/function_object.cpp:
              * kjs/function_object.h:
              * kjs/grammar.y:
              * kjs/internal.cpp:
              * kjs/internal.h: Removed.
              * kjs/lexer.cpp:
              * kjs/list.h:
              * kjs/lookup.h:
              * kjs/nodes.h:
              * kjs/object.cpp: Removed.
              * kjs/object.h: Removed.
              * kjs/object_object.h:
              * kjs/operations.cpp:
              * kjs/property_map.cpp:
              * kjs/property_slot.cpp:
              * kjs/property_slot.h:
              * kjs/protect.h:
              * kjs/regexp_object.cpp:
              * kjs/scope_chain.cpp:
              * kjs/string_object.h:
              * kjs/ustring.cpp:
              * kjs/value.cpp: Removed.
              * kjs/value.h: Removed.
              * profiler/Profile.cpp:
              * profiler/Profiler.cpp:
      
      JavaScriptGlue:
      
      2008-06-15  Darin Adler  <darin@apple.com>
      
              - new names for a few key JavaScriptCore files
      
              * ForwardingHeaders/kjs/JSValue.h: Copied from JavaScriptGlue/ForwardingHeaders/kjs/value.h.
              * ForwardingHeaders/kjs/value.h: Removed.
              * JSUtils.h:
      
      WebCore:
      
      2008-06-15  Darin Adler  <darin@apple.com>
      
              - new names for a few key JavaScriptCore files
      
              * ForwardingHeaders/kjs/JSFunction.h: Copied from WebCore/ForwardingHeaders/kjs/function.h.
              * ForwardingHeaders/kjs/JSObject.h: Copied from WebCore/ForwardingHeaders/kjs/object.h.
              * ForwardingHeaders/kjs/JSString.h: Copied from WebCore/ForwardingHeaders/kjs/internal.h.
              * ForwardingHeaders/kjs/JSValue.h: Copied from WebCore/ForwardingHeaders/kjs/value.h.
              * ForwardingHeaders/kjs/function.h: Removed.
              * ForwardingHeaders/kjs/internal.h: Removed.
              * ForwardingHeaders/kjs/object.h: Removed.
              * ForwardingHeaders/kjs/value.h: Removed.
              * WebCore.vcproj/WebCore.vcproj:
              * bindings/js/JSCustomSQLStatementCallback.h:
              * bindings/js/JSCustomSQLStatementErrorCallback.h:
              * bindings/js/JSCustomSQLTransactionErrorCallback.h:
              * bindings/js/JSCustomVoidCallback.h:
              * bindings/js/JSDOMBinding.h:
              * bindings/js/JSDOMWindowCustom.cpp:
              * bindings/js/JSDOMWindowShell.cpp:
              * bindings/js/JSQuarantinedObjectWrapper.h:
              * bridge/objc/objc_runtime.h:
              * bridge/objc/objc_utility.h:
              * bridge/qt/qt_runtime.cpp:
              * bridge/runtime.h:
              * bridge/runtime_array.h:
              * bridge/runtime_method.h:
              * bridge/runtime_object.h:
              * bridge/testbindings.cpp:
              * bridge/testbindings.mm:
              * bridge/testqtbindings.cpp:
              * loader/FrameLoader.cpp:
              * page/JavaScriptCallFrame.cpp:
              * page/JavaScriptProfile.cpp:
              * page/JavaScriptProfileNode.cpp:
              * platform/graphics/gtk/VideoSinkGStreamer.h:
              * plugins/PluginView.cpp:
              * plugins/gtk/PluginViewGtk.cpp:
              * plugins/qt/PluginViewQt.cpp:
              * plugins/win/PluginViewWin.cpp:
      
      WebKit/gtk:
      
      2008-06-15  Darin Adler  <darin@apple.com>
      
              - new names for a few key JavaScriptCore files
      
              * WebCoreSupport/ContextMenuClientGtk.cpp:
              * webkit/webkitnetworkrequest.h:
              * webkit/webkitwebbackforwardlist.h:
              * webkit/webkitwebframe.h:
              * webkit/webkitwebhistoryitem.h:
              * webkit/webkitwebsettings.h:
      
      WebKit/mac:
      
      2008-06-15  Darin Adler  <darin@apple.com>
      
              - new names for a few key JavaScriptCore files
      
              * ForwardingHeaders/kjs/JSFunction.h: Copied from WebKit/mac/ForwardingHeaders/kjs/function.h.
              * ForwardingHeaders/kjs/JSObject.h: Copied from WebKit/mac/ForwardingHeaders/kjs/object.h.
              * ForwardingHeaders/kjs/JSString.h: Copied from WebKit/mac/ForwardingHeaders/kjs/internal.h.
              * ForwardingHeaders/kjs/JSValue.h: Copied from WebKit/mac/ForwardingHeaders/kjs/value.h.
              * ForwardingHeaders/kjs/function.h: Removed.
              * ForwardingHeaders/kjs/internal.h: Removed.
              * ForwardingHeaders/kjs/object.h: Removed.
              * ForwardingHeaders/kjs/value.h: Removed.
              * WebView/WebScriptDebugDelegate.mm:
      
      WebKit/qt:
      
      2008-06-15  Darin Adler  <darin@apple.com>
      
              - new names for a few key JavaScriptCore files
      
              * Api/qwebframe.cpp:
      
      WebKit/win:
      
      2008-06-15  Darin Adler  <darin@apple.com>
      
              - new names for a few key JavaScriptCore files
      
              * WebView.cpp:
      
      WebKit/wx:
      
      2008-06-15  Darin Adler  <darin@apple.com>
      
              - new names for a few key JavaScriptCore files
      
              * WebView.cpp:
      
      WebKitTools:
      
      2008-06-15  Darin Adler  <darin@apple.com>
      
              * Scripts/do-file-rename: Updated for the latest round of renaming.
              * Scripts/do-webcore-rename: Tweaked and reorganized a bit.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34581 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3dcb636f
  4. 07 Jun, 2008 1 commit
  5. 23 May, 2008 1 commit
  6. 21 May, 2008 4 commits
  7. 14 May, 2008 1 commit
    • kmccullough@apple.com's avatar
      JavaScriptCore: · 944b8621
      kmccullough@apple.com authored
      2008-05-14  Kevin McCullough  <kmccullough@apple.com>
      
              Reviewed by Sam.
      
              <rdar://problem/5770054> JavaScript profiler (10928)
              - Rename FunctionCallProfile to ProfileNode.
      
              * GNUmakefile.am:
              * JavaScriptCore.exp:
              * JavaScriptCore.pri:
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * JavaScriptCoreSources.bkl:
              * profiler/FunctionCallProfile.cpp: Removed.
              * profiler/FunctionCallProfile.h: Removed.
              * profiler/Profile.cpp:
              (KJS::Profile::Profile):
              (KJS::Profile::willExecute):
              * profiler/Profile.h:
              (KJS::Profile::callTree):
              * profiler/ProfileNode.cpp: Copied from profiler/FunctionCallProfile.cpp.
              (KJS::ProfileNode::ProfileNode):
              (KJS::ProfileNode::willExecute):
              (KJS::ProfileNode::didExecute):
              (KJS::ProfileNode::addChild):
              (KJS::ProfileNode::findChild):
              (KJS::ProfileNode::stopProfiling):
              (KJS::ProfileNode::selfTime):
              (KJS::ProfileNode::printDataInspectorStyle):
              (KJS::ProfileNode::printDataSampleStyle):
              (KJS::ProfileNode::endAndRecordCall):
              * profiler/ProfileNode.h: Copied from profiler/FunctionCallProfile.h.
              (KJS::ProfileNode::create):
              (KJS::ProfileNode::children):
              * profiler/Profiler.cpp:
      
      WebCore:
      
      2008-05-14  Kevin McCullough  <kmccullough@apple.com>
      
              Reviewed by Sam.
      
              <rdar://problem/5770054> JavaScript profiler (10928)
              - Rename FunctionCallProfile to ProfileNode
      
              * ForwardingHeaders/profiler/FunctionCallProfile.h: Removed.
              * ForwardingHeaders/profiler/ProfileNode.h: Copied from ForwardingHeaders/profiler/FunctionCallProfile.h.
              * GNUmakefile.am:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * WebCoreSources.bkl:
              * page/JavaScriptFunctionCallProfile.cpp: Removed.
              * page/JavaScriptFunctionCallProfile.h: Removed.
              * page/JavaScriptProfile.cpp:
              * page/JavaScriptProfileNode.cpp: Copied from page/JavaScriptFunctionCallProfile.cpp.
              (WebCore::ProfileNodeCache):
              (WebCore::getFunctionName):
              (WebCore::getTotalTime):
              (WebCore::getSelfTime):
              (WebCore::getNumberOfCalls):
              (WebCore::getChildren):
              (WebCore::finalize):
              (WebCore::ProfileNodeClass):
              (WebCore::toJS):
              * page/JavaScriptProfileNode.h: Copied from page/JavaScriptFunctionCallProfile.h.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@33466 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      944b8621
  8. 09 May, 2008 1 commit
  9. 01 May, 2008 1 commit
  10. 25 Apr, 2008 1 commit
    • weinig@apple.com's avatar
      2008-04-25 Sam Weinig <sam@webkit.org> · dfc575c9
      weinig@apple.com authored
              Rubber-stamped by Mark Rowe.
      
              Remove SavedBuiltins and SavedProperties classes and the methods used to
              save data to them.  The CachedPage now stores a the JSGlobalObject in full.
      
              * JavaScriptCore.exp:
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * kjs/JSGlobalObject.cpp:
              * kjs/JSGlobalObject.h:
              * kjs/JSVariableObject.cpp:
              * kjs/JSVariableObject.h:
              (KJS::JSVariableObject::localStorage):
              * kjs/SavedBuiltins.h: Removed.
              * kjs/object.h:
              * kjs/property_map.cpp:
              * kjs/property_map.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32587 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dfc575c9
  11. 19 Apr, 2008 1 commit
  12. 18 Apr, 2008 2 commits
  13. 16 Apr, 2008 1 commit
    • kmccullough@apple.com's avatar
      2008-04-16 Kevin McCullough <kmccullough@apple.com> · ac769767
      kmccullough@apple.com authored
              Reviewed by Sam and Geoff.
      
              -<rdar://problem/5770054> JavaScript profiler (10928)
              Inital profiler prototype
      
              * GNUmakefile.am: Added new files to project
              * JavaScriptCore.pri: Ditto
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj: Ditto
              * JavaScriptCore.xcodeproj/project.pbxproj: Ditto
              * JavaScriptCoreSources.bkl: Ditto
              * kjs/config.h: Put compiling flag in here.
              * kjs/function.cpp: Instrument calling the function eval().
              (KJS::eval):
              * kjs/interpreter.cpp: Instrument evaluating global scopes.
              (KJS::Interpreter::evaluate):
              * kjs/object.cpp: Instrument JS function calls.
              (KJS::JSObject::call):
              * profiler: Added.
              * profiler/FunctionCallProfile.cpp: Added.
              (KJS::FunctionCallProfile::FunctionCallProfile):
              (KJS::FunctionCallProfile::~FunctionCallProfile):
              (KJS::FunctionCallProfile::willExecute): Call right before the JS function or executing context is executed to start the profiler's timer.
              (KJS::FunctionCallProfile::didExecute): Call right after the JS function or executing context is executed to stop the profiler's timer.
              (KJS::FunctionCallProfile::addChild): Add a child to the current FunctionCallProfile if it isn't already a child of the current FunctionalCallProfile.
              (KJS::FunctionCallProfile::findChild): Return the child that matches the given name if there is one.
              (KJS::FunctionCallProfile::printDataSampleStyle): Print the current profiled information in a format that matches sample's output.
              * profiler/FunctionCallProfile.h: Added.
              (KJS::FunctionCallProfile::FunctionCallProfile):
              (KJS::FunctionCallProfile::~FunctionCallProfile):
              (KJS::FunctionCallProfile::functionName):
              (KJS::FunctionCallProfile::microSecs):
              * profiler/Profiler.cpp: Added.
              (KJS::Profiler::profiler):
              (KJS::Profiler::sharedProfiler): Return global singleton (may change due to multi-threading concerns)
              (KJS::Profiler::startProfiling): Don't start collecting profiling information until the user starts the profiler. Also don't clear old prfiled data until the profiler is restarted.
              (KJS::Profiler::stopProfiling): Stop collecting profile information.
              (KJS::Profiler::willExecute): Same as above. 
              (KJS::Profiler::didExecute): Same as above.
              (KJS::Profiler::insertStackNamesInTree): Follow the stack of the given names and if a sub-stack is not in the current tree, add it.
              (KJS::Profiler::getStackNames): Get the names from the different passed in parameters and order them as a stack.
              (KJS::Profiler::getFunctionName): Get the function name from the given parameter.
              (KJS::Profiler::printDataSampleStyle): Print the current profiled information in a format that matches sample's output.
              (KJS::Profiler::debugLog):
              * profiler/Profiler.h: Added.
              (KJS::Profiler::Profiler):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31949 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ac769767
  14. 14 Apr, 2008 1 commit
    • aroben@apple.com's avatar
      Windows build fix · fd52eb3f
      aroben@apple.com authored
              Rubberstamped by Alexey Proskuryakov.
      
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj: Disable
              the "potentially uninitialized variable" warning for grammar.cpp, as
              it seems to be incorrect. yylval gets initialized by the lexer, but
              MSVC doesn't seem to understand this.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31861 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fd52eb3f
  15. 28 Mar, 2008 1 commit
    • ap@webkit.org's avatar
      Reviewed by Sam Weinig. · 8027278e
      ap@webkit.org authored
              Fix a dtoa thread safety issue.
      
              WebCore can call kjs_strtod without holding JS lock, but we didn't have thread safety
              compiled in for dtoa.
      
              This is a 0.5% regression on SunSpider, which Sam Weinig has volunteered to cover with
              his recent improvement.
      
              * kjs/dtoa.cpp:
              (Bigint::Balloc):
              (Bigint::Bfree):
              Changed to use fastMalloc/fastDelete - they are much faster than the dtoa custom version was
              in the presence of locking (but somewhat slower in single-threaded case).
              (Bigint::pow5mult): Got rid of the dreaded double-checked locking anti-pattern (had to
              restructure the code to avoid significant performance implications).
              (Bigint::lshift): Rewrote to avoid an allocation, if possible.
      
              (Bigint::rv_alloc):
              (Bigint::kjs_freedtoa):
              (Bigint::kjs_dtoa):
              Check for USE(MULTIPLE_THREADS), not dtoa legacy MULTIPLE_THREADS.
      
              * kjs/InitializeThreading.cpp: Added.
              (KJS::initializeThreading):
              * kjs/InitializeThreading.h: Added.
              Initialize threading at KJS level, if enabled.
      
              * kjs/dtoa.h: Expose dtoa mutex for KJS::initializeThreading.
      
              * kjs/testkjs.cpp: (kjsmain): Call initializeThreading.
      
              * JavaScriptCore.exp: Export KJS::initializeThreading.
      
              * GNUmakefile.am:
              * JavaScriptCore.exp:
              * JavaScriptCore.pri:
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
              * JavaScriptCoreSources.bkl:
              * JavaScriptCore.xcodeproj/project.pbxproj:
              Added InitializeThreading.{h,cpp}.
      
              * wtf/Threading.h: Removed a using directive for WTF::initializeThreading - it is only
              to be called from KJS::initializeThreading, and having it in the global namespace is useless.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31404 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8027278e
  16. 25 Mar, 2008 1 commit
    • aroben@apple.com's avatar
      Stop using JavaScriptCore's custom stdbool.h and stdint.h on Windows · eb58f072
      aroben@apple.com authored
               We can't remove the os-win32 directory yet because other ports (at
               least wx) are still relying on it.
      
               Reviewed by Steve Falkenburg.
      
               * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
                 - Made all the include paths match the one for the Debug
                   configuration (these got out of sync in r30797)
                 - Removed os-win32 from the include path
                 - Removed os-win32 from the directories we copy to $WebKitOutputDir.
                 - Removed stdint.h from the project
               * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreGenerated.make:
               Delete the files that we may have previously copied from the os-win32
               directory.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31295 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      eb58f072
  17. 15 Mar, 2008 1 commit
  18. 13 Mar, 2008 1 commit
    • sfalken@apple.com's avatar
      JavaScriptCore: · a49fd2e5
      sfalken@apple.com authored
              PGO build fixes.
              
              Disable PGO for normal release builds.
              Added work-in-progress Release_PGOInstrument/Release_PGOOptimize targets.
      
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
      
      WebCore:
      
              PGO build fixes.
              
              Disable PGO for normal release builds.
              Added work-in-progress Release_PGOInstrument/Release_PGOOptimize targets.
      
              * WebCore.vcproj/WebCore.vcproj:
      
      WebKit/win:
      
              PGO build fixes.
              
              Disable PGO for normal release builds.
              Added work-in-progress Release_PGOInstrument/Release_PGOOptimize targets.
      
              * WebKit.vcproj/WebKit.vcproj:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31033 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a49fd2e5
  19. 11 Mar, 2008 1 commit
    • sfalken@apple.com's avatar
      JavaScriptCore: · 27e03268
      sfalken@apple.com authored
              Disable LTCG/PGO for grammar.cpp and nodes.cpp.
              PGO on these files causes us to hang.
              
              Copy newer vsprops files from relative WebKitLibraries path to environment variable based path.
              
              Reviewed by Oliver.
      
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreGenerated.make:
      
      WebCore:
      
              Disable LTCG/PGO for all of WebCore for now.
              We'll re-enable this as part of follow-on PGO work.
              
              Reviewed by Oliver.
      
              * WebCore.vcproj/WebCore.vcproj:
      
      WebKit/win:
      
              Use PGO to build WebKit.dll.
              
              Reviewed by Oliver.
      
              * WebKit.vcproj/WebKit.pgd: Added.
              * WebKit.vcproj/WebKit.vcproj:
      
      WebKitLibraries:
      
              Disable two PGO/LTCG specific warnings.
              
              Reviewed by Oliver.
      
              * win/tools/vsprops/common.vsprops:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30981 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      27e03268
  20. 09 Mar, 2008 1 commit
    • sfalken@apple.com's avatar
      JavaScriptCore: · d29f52a2
      sfalken@apple.com authored
              Stop Windows build if an error occurs in a prior project.
      
              Rubber stamped by Darin.
      
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreGenerated.make:
              * JavaScriptCore.vcproj/WTF/WTF.vcproj:
              * JavaScriptCore.vcproj/testkjs/testkjs.vcproj:
      
      WebCore:
      
              Stop Windows build if an error occurs in a prior project.
      
              Rubber stamped by Darin.
      
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.vcproj/WebCoreGenerated.vcproj:
      
      WebKit/win:
      
              Stop Windows build if an error occurs in a prior project.
      
              Rubber stamped by Darin.
      
              * WebKit.vcproj/Interfaces.vcproj:
              * WebKit.vcproj/InterfacesGenerated.vcproj:
              * WebKit.vcproj/WebKit.vcproj:
              * WebKit.vcproj/WebKitGUID.vcproj:
      
      WebKitTools:
      
              Stop Windows build if an error occurs in a prior project.
      
              Rubber stamped by Darin.
      
              * Drosera/win/Drosera.vcproj/Drosera.vcproj:
              * DumpRenderTree/win/DumpRenderTree.vcproj:
              * DumpRenderTree/win/ImageDiff.vcproj:
              * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30920 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d29f52a2
  21. 05 Mar, 2008 1 commit
  22. 15 Jan, 2008 1 commit
    • sfalken@apple.com's avatar
      JavaScriptCore: · f2aa2201
      sfalken@apple.com authored
              Use shared vsprops for most vcproj properties.
              
              Reviewed by Darin.
      
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj: Add missing Debug_Internal config.
              * JavaScriptCore.vcproj/WTF/WTF.vcproj: Add missing Debug_Internal config.
              * JavaScriptCore.vcproj/testkjs/testkjs.vcproj:
      
      WebCore:
      
              Use shared vsprops for most vcproj properties.
              
              Reviewed by Darin.
      
              * WebCore.vcproj/QTMovieWin.vcproj:
              * WebCore.vcproj/WebCore.vcproj:
              * platform/graphics/win/QTMovieWin.cpp:
              (QTMovieWin::initializeQuickTime): Fix compiler warning.
      
      WebKit/win:
      
              Use shared vsprops for most vcproj properties.
              
              Reviewed by Darin.
      
              * WebKit.vcproj/Interfaces.vcproj:
              * WebKit.vcproj/WebKit.vcproj:
              * WebKit.vcproj/WebKitGUID.vcproj: Add missing Debug_Internal config.
      
      WebKitLibraries:
      
              Use shared vsprops for most vcproj properties.
              
              Reviewed by Darin.
      
              * win/tools/vsprops/common.vsprops:
              * win/tools/vsprops/debug.vsprops:
              * win/tools/vsprops/debug_internal.vsprops:
              * win/tools/vsprops/release.vsprops:
      
      WebKitTools:
      
              Use shared vsprops for most vcproj properties.
              
              Reviewed by Darin.
      
              * Drosera/win/Drosera.vcproj/Drosera.vcproj:
              * DumpRenderTree/win/DumpRenderTree.vcproj:
              * DumpRenderTree/win/ImageDiff.vcproj:
              * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
              * FindSafari/FindSafari.vcproj:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@29488 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f2aa2201
  23. 14 Jan, 2008 1 commit
  24. 13 Jan, 2008 1 commit
    • sfalken@apple.com's avatar
      JavaScriptCore: · c82fc434
      sfalken@apple.com authored
              Share common files across projects.
              
              Unify vsprops files
              Debug:          common.vsprops, debug.vsprops
              Debug_Internal: common.vsprops, debug.vsprops, debug_internal.vsprops
              Release:        common.vsprops, release.vsprops
              
              Shared properties can go into common.vsprops, shared debug settings can go into debug.vsprops.
              debug_internal.vsprops will be mostly empty except for file path prefix modifiers.
      
              Reviewed by Adam Roben.
      
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
              * JavaScriptCore.vcproj/WTF/WTF.vcproj:
              * JavaScriptCore.vcproj/debug.vsprops: Removed.
              * JavaScriptCore.vcproj/debug_internal.vsprops: Removed.
              * JavaScriptCore.vcproj/release.vsprops: Removed.
              * JavaScriptCore.vcproj/testkjs/testkjs.vcproj:
      
      WebCore:
      
              Share common files across projects.
              
              Unify vsprops files
              Debug:          common.vsprops, debug.vsprops
              Debug_Internal: common.vsprops, debug.vsprops, debug_internal.vsprops
              Release:        common.vsprops, release.vsprops
              
              Shared properties can go into common.vsprops, shared debug settings can go into debug.vsprops.
              debug_internal.vsprops will be mostly empty except for file path prefix modifiers.
      
              Pull auto-version.sh, VERSION, and PRODUCTVERSION from tools.
      
              Reviewed by Adam Roben.
      
              * WebCore.vcproj/PRODUCTVERSION: Removed.
              * WebCore.vcproj/QTMovieWin.vcproj:
              * WebCore.vcproj/VERSION: Removed.
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.vcproj/auto-version.sh: Removed.
              * WebCore.vcproj/debug.vsprops: Removed.
              * WebCore.vcproj/debug_internal.vsprops: Removed.
              * WebCore.vcproj/release.vsprops: Removed.
      
      WebKit/win:
      
              Share common files across projects.
              
              Unify vsprops files
              Debug:          common.vsprops, debug.vsprops
              Debug_Internal: common.vsprops, debug.vsprops, debug_internal.vsprops
              Release:        common.vsprops, release.vsprops
              
              Shared properties can go into common.vsprops, shared debug settings can go into debug.vsprops.
              debug_internal.vsprops will be mostly empty except for file path prefix modifiers.
      
              Pull auto-version.sh, VERSION, and PRODUCTVERSION from tools.
      
              Reviewed by Adam Roben.
      
              * WebKit.vcproj/Interfaces.vcproj:
              * WebKit.vcproj/PRODUCTVERSION: Removed.
              * WebKit.vcproj/VERSION: Removed.
              * WebKit.vcproj/WebKit.vcproj:
              * WebKit.vcproj/WebKitGUID.vcproj:
              * WebKit.vcproj/auto-version.sh: Removed.
              * WebKit.vcproj/debug.vsprops: Removed.
              * WebKit.vcproj/debug_internal.vsprops: Removed.
              * WebKit.vcproj/release.vsprops: Removed.
      
      WebKitLibraries:
      
              Share common files across projects.
              
              Unify vsprops files
              Debug:          common.vsprops, debug.vsprops
              Debug_Internal: common.vsprops, debug.vsprops, debug_internal.vsprops
              Release:        common.vsprops, release.vsprops
              
              Shared properties can go into common.vsprops, shared debug settings can go into debug.vsprops.
              debug_internal.vsprops will be mostly empty except for file path prefix modifiers.
      
              Moved auto-version.sh, VERSION, PRODUCTVERSION to tools.
      
              Reviewed by Adam Roben.
      
              * win/tools/WinTools.make:
              * win/tools/scripts: Added.
              * win/tools/scripts/PRODUCTVERSION: Added.
              * win/tools/scripts/VERSION: Added.
              * win/tools/scripts/auto-version.sh: Copied from WebCore/WebCore.vcproj/auto-version.sh.
              * win/tools/vsprops/debug.vsprops:
              * win/tools/vsprops/debug_internal.vsprops: Added.
              * win/tools/vsprops/release.vsprops:
      
      WebKitTools:
      
              Share common files across projects.
              
              Unify vsprops files
              Debug:          common.vsprops, debug.vsprops
              Debug_Internal: common.vsprops, debug.vsprops, debug_internal.vsprops
              Release:        common.vsprops, release.vsprops
              
              Shared properties can go into common.vsprops, shared debug settings can go into debug.vsprops.
              debug_internal.vsprops will be mostly empty except for file path prefix modifiers.
      
              Pull auto-version.sh, VERSION, and PRODUCTVERSION from tools.
      
              Reviewed by Adam Roben.
      
              * Drosera/win/Drosera.vcproj/Drosera.vcproj:
              * Drosera/win/Drosera.vcproj/PRODUCTVERSION: Removed.
              * Drosera/win/Drosera.vcproj/VERSION: Removed.
              * Drosera/win/Drosera.vcproj/auto-version.sh: Removed.
              * Drosera/win/Drosera.vcproj/debug.vsprops: Removed.
              * Drosera/win/Drosera.vcproj/debug_internal.vsprops: Removed.
              * Drosera/win/Drosera.vcproj/release.vsprops: Removed.
              * DumpRenderTree/win/DumpRenderTree.vcproj:
              * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
              * DumpRenderTree/win/debug.vsprops: Removed.
              * DumpRenderTree/win/debug_internal.vsprops: Removed.
              * DumpRenderTree/win/release.vsprops: Removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@29458 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c82fc434
  25. 07 Jan, 2008 2 commits
  26. 21 Dec, 2007 1 commit
  27. 13 Dec, 2007 1 commit
    • sfalken@apple.com's avatar
      JavaScriptCore: · 6adf24b8
      sfalken@apple.com authored
              Move source file generation into its own vcproj to fix build dependencies.
      
              Reviewed by Adam.
      
              * JavaScriptCore.vcproj/JavaScriptCore.sln:
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreGenerated.make: Added.
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreGenerated.vcproj: Added.
              * JavaScriptCore.vcproj/JavaScriptCoreSubmit.sln:
      
      WebKit/win:
      
              Fix project dependencies based on JavaScriptCore change.
      
              * WebKit.vcproj/WebKit.sln:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28697 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6adf24b8
  28. 10 Dec, 2007 1 commit
  29. 07 Dec, 2007 1 commit
    • ggaren@apple.com's avatar
      JavaScriptCore: · f5ab0692
      ggaren@apple.com authored
              Reviewed by Sam Weinig.
      
              Next step in refactoring JSGlobalObject: Added JSVariableObject class,
              and factored symbol-table-related code into it. (JSGlobalObject doesn't
              use the symbol table code yet, though.)
              
              Layout and JS tests, and testapi, pass. SunSpider reports no regression.
      
      WebCore:
      
              Reviewed by Sam Weinig.
      
              Added some namespace qualifications and a forwarding header, now that
              KJS::Node is sometimes #included in WebCore by JavaScriptCore headers.
      
              * ForwardingHeaders/wtf/ListRefPtr.h: Added.
              * bindings/js/JSXSLTProcessor.cpp:
              (KJS::JSXSLTProcessorPrototypeFunctionTransformToFragment::callAsFunction):
              * bindings/js/kjs_binding.cpp:
              (KJS::ScriptInterpreter::getDOMNodeForDocument):
              (KJS::ScriptInterpreter::forgetDOMNodeForDocument):
              (KJS::ScriptInterpreter::putDOMNodeForDocument):
              (KJS::ScriptInterpreter::markDOMNodesForDocument):
              (KJS::ScriptInterpreter::updateDOMNodeDocument):
      
      WebKit/mac:
      
              Reviewed by Sam Weinig.
              
              Added a forwarding header, since we now #include nodes.h through some
              JavaScriptCore headers.
      
              * ForwardingHeaders/wtf/ListRefPtr.h: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28527 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f5ab0692
  30. 03 Dec, 2007 1 commit
    • ggaren@apple.com's avatar
      JavaScriptCore: · 66bf8cbb
      ggaren@apple.com authored
              Reviewed by Eric Seidel.
      
              Second step in refactoring JSGlobalObject: moved virtual functions from
              Interpreter to JSGlobalObject.
              
              Layout and JS tests pass. SunSpider reports a .7% speedup -- don't 
              believe his lies.
      
      JavaScriptGlue:
      
              Reviewed by Eric Seidel.
      
              Updated to match the JavaScriptCore change to move virtual methods from
              Interpreter to JSGlobalObject.
              
              * JSRun.cpp:
              * JSRun.h:
              * JSValueWrapper.cpp:
              (getThreadGlobalExecState):
              * JavaScriptGlue.cpp:
              (JSRunCopyGlobalObject):
              (JSRunEvaluate):
      
      WebCore:
      
              Reviewed by Eric Seidel.
      
              Updated to match the JavaScriptCore change to move virtual methods from
              Interpreter to JSGlobalObject.
              
              Moved virtual ScriptInterpreter functions to Window.
      
      WebKit/mac:
      
              Reviewed by Eric Seidel.
      
              Updated to match the JavaScriptCore change to move virtual methods from
              Interpreter to JSGlobalObject.
      
              * WebView/WebFrame.mm:
              (-[WebFrame globalContext]): Use the toRef function instead of manually
              casting.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28328 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      66bf8cbb
  31. 29 Nov, 2007 1 commit
  32. 17 Nov, 2007 1 commit
  33. 11 Nov, 2007 1 commit
    • darin@apple.com's avatar
      JavaScriptCore: · ee752e7d
      darin@apple.com authored
              Reviewed by Sam.
      
              - http://bugs.webkit.org/show_bug.cgi?id=15924
                next round of changes to JSRegExp (formerly PCRE)
      
              This is a combination of converting to C++, tweaking the API, and adding
              some additional optimizations.
      
              Future steps will involve getting rid of the use of UTF-8 completely
              (we'll use UTF-16 exclusively instead), eliminating more source files,
              and some more speed-ups.
      
              SunSpider says the current round is an 0.9% speed-up overall, and a
              5.3% speed-up for regexp.
      
              * JavaScriptCore.exp: Updated for new entry points.
      
              * JavaScriptCore.pri:
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
              * JavaScriptCore.vcproj/dftables/dftables.vcproj:
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * JavaScriptCoreSources.bkl:
              * jscore.bkl:
              Updated for new source file names and ForwardingHeaders.
      
              * kjs/regexp.cpp:
              (KJS::RegExp::RegExp): Changed to use the error message without calling
              strdup on it and to pass the new types and options.
              (KJS::RegExp::~RegExp): Removed the now-unneeded free of the error message.
              (KJS::RegExp::match): Pass the new types and options.
              * kjs/regexp.h: Update type of m_constructionError.
      
              * pcre/AUTHORS: Update to reflect the status of the project -- we don't include
              the Google parts, and this isn't the PCRE library, per se.
              * pcre/COPYING: Ditto.
      
              * pcre/dftables.cpp: Copied from JavaScriptCore/pcre/dftables.c.
              (main): Removed unneeded ctype_digit.
      
              * pcre/pcre.h: Convert to C++, tweak API a bit. Use UChar instead of JSRegExpChar.
      
              * pcre/pcre_compile.cpp: Copied from JavaScriptCore/pcre/pcre_compile.c.
              Moved a lot of private stuff used only within this file here from pcre_internal.h.
              Renumbered the error codes.
              (error_text): Use a single string with embedded nulls for the error text (I got
              this idea from newer versions of PCRE).
              (check_escape): Changed return type to be enum instead of int. Replaced ctype_digit
              uses with isASCIIDigit.
              (is_counted_repeat): Ditto.
              (read_repeat_counts): Ditto.
              (first_significant_code): Ditto.
              (find_fixedlength): Ditto.
              (could_be_empty_branch): Ditto.
              (compile_branch): Ditto. Also removed some code that handles changing options.
              JavaScript doesn't have any of the features that allow options to change.
              (compile_regex): Updated for change to options parameter.
              (is_anchored): Ditto.
              (find_firstassertedchar): Ditto.
              (jsRegExpCompile): Changed to take separate flags instead of an options int.
              Also changed to call new/delete instead of pcre_malloc/free.
              (jsRegExpFree): Ditto.
      
              * pcre/pcre_exec.cpp: Copied from JavaScriptCore/pcre/pcre_exec.c.
              Added a case that uses computed goto for the opcode loop, but did not turn it on.
              Changed the RMATCH macro to handle returns more efficiently by putting the where
              pointer in the new frame instead of the old one, allowing us to branch to the
              return with a single statement. Switched to new/delete from pcre_malloc/free.
              Changed many RRETURN callers to not set the return value since it's already
              set correctly. Replaced the rrc variable with an is_match variable. Values other
              than "match" and "no match" are now handled differently. This allows us to remove
              the code to check for those cases in various rules.
              (match): All the case statements use a macro BEGIN_OPCODE instead. And all the
              continue statements, or break statements that break out of the outer case use
              a macro NEXT_OPCODE instead. Replaced a few if statements with assertions.
              (jsRegExpExecute): Use new/delete instead of pcre_malloc/free. Removed unused
              start_match field from the match block.
      
              * pcre/pcre_internal.h: Moved the last few configuration macros from pcre-config.h
              in here. Removed various unused types. Converted from JSRegExpChar to UChar.
              Eliminated pcre_malloc/free. Replaced the opcode enum with a macro that can be
              used in multiple places. Unfortunately we lose the comments for each opcode; we
              should find a place to put those back. Removed ctype_digit.
      
              * pcre/pcre_maketables.cpp: Copied from JavaScriptCore/pcre/pcre_maketables.c.
              (pcre_maketables): Got rid of the conditional code that allows this to be compiled
              in -- it's only used for dftables now (and soon may be obsolete entirely).
              Changed code for cbit_digit to not use isdigit, and took the "_" case out of the
              loop. Removed ctype_digit.
      
              * pcre/pcre_ord2utf8.cpp: Copied from JavaScriptCore/pcre/pcre_ord2utf8.c.
      
              * pcre/pcre_tables.cpp: Copied from JavaScriptCore/pcre/pcre_tables.c.
              Moved _pcre_OP_lengths out of here into pcre_exec.cpp.
      
              * pcre/pcre_ucp_searchfuncs.cpp: Copied from JavaScriptCore/pcre/pcre_ucp_searchfuncs.c.
              Updated for other file name changes.
      
              * pcre/pcre_xclass.cpp: Copied from JavaScriptCore/pcre/pcre_xclass.c.
      
              * pcre/ucpinternal.h: Updated header.
      
              * pcre/ucptable.cpp: Copied from JavaScriptCore/pcre/ucptable.c.
      
              * wtf/ASCIICType.h: (WTF::isASCIIDigit): Removed a branch by changing from && to
              & for this operation. Also added an overload that takes an int because that's
              useful for PCRE. Later we could optimize for int and overload other functions in
              this file; stuck to this simple one for now.
      
              * wtf/unicode/icu/UnicodeIcu.h: Removed unused isUpper.
              * wtf/unicode/qt4/UnicodeQt4.h: Ditto.
      
              * pcre/LICENCE: Removed.
              * pcre/pcre-config.h: Removed.
              * wtf/FastMallocPCRE.cpp: Removed.
      
              * pcre/dftables.c: Renamed to cpp.
              * pcre/pcre_compile.c: Ditto.
              * pcre/pcre_exec.c: Ditto.
              * pcre/pcre_maketables.c: Ditto.
              * pcre/pcre_ord2utf8.c: Ditto.
              * pcre/pcre_tables.c: Ditto.
              * pcre/pcre_ucp_searchfuncs.c: Ditto.
              * pcre/pcre_xclass.c: Ditto.
              * pcre/ucptable.c: Ditto.
      
      WebCore:
      
              Reviewed by Sam.
      
              - updated for JSRegExp function changes
      
              * platform/RegularExpression.cpp:
              (WebCore::RegularExpression::Private::compile):
              (WebCore::RegularExpression::match):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27686 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ee752e7d