1. 01 Jan, 2011 1 commit
    • abarth@webkit.org's avatar
      Move JavaScriptCore to Source · 76da8fc1
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=51604
      
      Reviewed by Eric Seidel.
      
      Update references to JavaScriptCore to point to the new location.
      
      * Android.mk:
      * CMakeLists.txt:
      * DerivedSources.pro:
      * GNUmakefile.am:
      * Makefile:
      * WebKit.pri:
      * WebKit.pro:
      * wscript:
      
      Tools: 
      
      Update references to JavaScriptCore to point to the new location.
      
      * BuildSlaveSupport/build.webkit.org-config/master.cfg:
      * DumpRenderTree/qt/DumpRenderTree.pro:
      * DumpRenderTree/qt/ImageDiff.pro:
      * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
      * DumpRenderTree/wscript:
      * Scripts/build-jsc:
      * Scripts/build-webkit:
      * Scripts/do-file-rename:
      * Scripts/do-webcore-rename:
      * Scripts/run-javascriptcore-tests:
      * Scripts/update-javascriptcore-test-results:
      * Scripts/webkitdirs.pm:
      * Scripts/webkitpy/common/config/build_unittest.py:
      * Scripts/webkitpy/style/checker.py:
      * Scripts/webkitpy/style/checker_unittest.py:
      * Scripts/webkitpy/style/checkers/cpp_unittest.py:
      * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro:
      * WebKitTestRunner/qt/WebKitTestRunner.pro:
      * wx/build/settings.py:
      
      WebCore: 
      
      Update references to JavaScriptCore.
      
      * Android.derived.jscbindings.mk:
      * Android.v8bindings.mk:
      * CMakeLists.txt:
      * WebCore.gyp/WebCore.gyp:
      * WebCore.pro:
        - These changes are subtle and might not be 100% correct.
      * move-js-headers.sh:
      
      WebKit/chromium: 
      
      * WebKit.gyp:
        - Point to JavaScriptCore in its new location.
      
      WebKit/gtk: 
      
      * GNUmakefile.am:
      * docs/GNUmakefile.am:
        - Point to JavaScriptCore in its new location.
      
      WebKit/qt: 
      
      * WebKit_pch.h:
      * docs/qtwebkit.qdocconf:
        - Point to JavaScriptCore in its new location.
      
      WebKit/win: 
      
      * WebKit.vcproj/WebKit.sln:
        - Point to JavaScriptCore in its new location.
      
      WebKit/wx: 
      
      * bindings/python/wscript:
      * wscript:
        - Point to JavaScriptCore in its new location.
      
      WebKit2: 
      
      * WebKit2.pro:
        - Point to JavaScriptCore in its new location.
      
      Websites/bugs.webkit.org: 
      
      * PrettyPatch/PrettyPatch.rb:
        - Remove reference to JavaScriptCore as a source directory.
      
      Websites/webkit.org: 
      
      * coding/assertion-guidelines.html:
        - Update documentation to point to the new location of
          JavaScriptCore.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74855 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      76da8fc1
  2. 10 Nov, 2010 1 commit
    • ossy@webkit.org's avatar
      2010-11-10 Csaba Osztrogonác <ossy@webkit.org> · 37441860
      ossy@webkit.org authored
              Reviewed by David Hyatt.
      
              HTML5 Ruby support should be mandatory feature
              https://bugs.webkit.org/show_bug.cgi?id=49272
      
              Remove Ruby as optional feature.
      
              * Configurations/FeatureDefines.xcconfig:
              * JavaScriptCorePrefix.h:: Touch it to avoid incremental build failure on Windows.
      2010-11-10  Csaba Osztrogonác  <ossy@webkit.org>
      
              Reviewed by David Hyatt.
      
              HTML5 Ruby support should be mandatory feature
              https://bugs.webkit.org/show_bug.cgi?id=49272
      
              Remove Ruby as optional feature.
      
              * features.gypi:
      2010-11-10  Csaba Osztrogonác  <ossy@webkit.org>
      
              Reviewed by David Hyatt.
      
              HTML5 Ruby support should be mandatory feature
              https://bugs.webkit.org/show_bug.cgi?id=49272
      
              * WebKitPrefix.h: Touch it to avoid incremental build failure on Windows.
      2010-11-10  Csaba Osztrogonác  <ossy@webkit.org>
      
              Reviewed by David Hyatt.
      
              HTML5 Ruby support should be mandatory feature
              https://bugs.webkit.org/show_bug.cgi?id=49272
      
              Remove Ruby as optional feature.
      
              * Configurations/FeatureDefines.xcconfig:
      2010-11-10  Csaba Osztrogonác  <ossy@webkit.org>
      
              Reviewed by David Hyatt.
      
              HTML5 Ruby support should be mandatory feature
              https://bugs.webkit.org/show_bug.cgi?id=49272
      
              Remove Ruby as optional feature.
      
              * win/tools/vsprops/FeatureDefines.vsprops:
              * win/tools/vsprops/FeatureDefinesCairo.vsprops:
      2010-11-10  Csaba Osztrogonác  <ossy@webkit.org>
      
              Reviewed by David Hyatt.
      
              HTML5 Ruby support should be mandatory feature
              https://bugs.webkit.org/show_bug.cgi?id=49272
      
              Remove Ruby as optional feature.
      
              * Configurations/FeatureDefines.xcconfig:
              * DerivedSources.make:
              * GNUmakefile.am:
              * WebCorePrefix.h: Touch WebCorePrefix.h to avoid incremental build failure on Windows.
              * config.h: Touch config.h to avoid incremental build failure on Windows.
              * features.pri:
              * html/HTMLTagNames.in:
              * rendering/RenderBlock.cpp: Remove ENABLE_RUBY guard.
              (WebCore::canMergeContiguousAnonymousBlocks):
              * rendering/RenderObject.cpp: Remove ENABLE_RUBY guard.
              (WebCore::RenderObject::createObject):
              * rendering/RenderRuby.cpp: Remove ENABLE_RUBY guard.
              * rendering/RenderRuby.h: Remove ENABLE_RUBY guard.
              * rendering/RenderRubyBase.cpp: Remove ENABLE_RUBY guard.
              * rendering/RenderRubyBase.h: Remove ENABLE_RUBY guard.
              * rendering/RenderRubyRun.cpp: Remove ENABLE_RUBY guard.
              * rendering/RenderRubyRun.h: Remove ENABLE_RUBY guard.
              * rendering/RenderRubyText.cpp: Remove ENABLE_RUBY guard.
              * rendering/RenderRubyText.h: Remove ENABLE_RUBY guard.
      2010-11-10  Csaba Osztrogonác  <ossy@webkit.org>
      
              Reviewed by David Hyatt.
      
              HTML5 Ruby support should be mandatory feature
              https://bugs.webkit.org/show_bug.cgi?id=49272
      
              Remove Ruby as optional feature.
      
              * cmake/OptionsEfl.cmake:
              * cmakeconfig.h.cmake:
              * configure.ac:
      2010-11-10  Csaba Osztrogonác  <ossy@webkit.org>
      
              Reviewed by David Hyatt.
      
              HTML5 Ruby support should be mandatory feature
              https://bugs.webkit.org/show_bug.cgi?id=49272
      
              Remove Ruby as optional feature.
      
              * Scripts/build-webkit:
      2010-11-10  Csaba Osztrogonác  <ossy@webkit.org>
      
              Reviewed by David Hyatt.
      
              HTML5 Ruby support should be mandatory feature
              https://bugs.webkit.org/show_bug.cgi?id=49272
      
              Remove Ruby as optional feature.
      
              * Configurations/FeatureDefines.xcconfig:
              * WebKit2Prefix.h: Touch it to avoid incremental build failure on Windows.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@71754 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      37441860
  3. 17 Mar, 2009 1 commit
  4. 15 Mar, 2009 2 commits
  5. 02 Jul, 2008 1 commit
    • mrowe@apple.com's avatar
      Add the ability to trace JavaScriptCore garabge collections using dtrace. · dc7e26c1
      mrowe@apple.com authored
      Reviewed by Sam Weinig.
      
      * JavaScriptCore.xcodeproj/project.pbxproj: Generate the dtrace probe header
      file when building on a new enough version of Mac OS X.
      * JavaScriptCorePrefix.h: Add our standard Mac OS X version detection macros.
      * kjs/Tracing.d: Declare three dtrace probes.
      * kjs/Tracing.h: Include the generated dtrace macros if dtrace is available,
      otherwise provide versions that do nothing.
      * kjs/collector.cpp:
      (KJS::Heap::collect): Fire dtrace probes when starting a collection, after the
      mark phase has completed, and when the collection is complete.
      * wtf/Platform.h: Define HAVE_DTRACE when building on a new enough version of Mac OS X.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34969 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dc7e26c1
  6. 12 Nov, 2007 1 commit
    • darin@apple.com's avatar
      Reviewed by Geoff. · 7f984871
      darin@apple.com authored
              - fix use of prefix and config.h, got rid of a few unneeded things in
                the PCRE code; no behavior changes
      
              * API/JSBase.cpp: Added include of config.h.
              * API/JSCallbackConstructor.cpp: Ditto.
              * API/JSCallbackFunction.cpp: Ditto.
              * API/JSCallbackObject.cpp: Ditto.
              * API/JSClassRef.cpp: Ditto.
              * API/JSContextRef.cpp: Ditto.
              * API/JSObjectRef.cpp: Ditto.
              * API/JSStringRef.cpp: Ditto.
              * API/JSValueRef.cpp: Ditto.
      
              * JavaScriptCorePrefix.h: Removed obsolete <ctype.h> workaround.
              Moved new/delete macros after includes, as they are in WebCore's prefix.
              Removed "config.h".
      
              * pcre/dftables.cpp: (main): Changed back to not use a separate maketables
              function. This is needed for PCRE, but not helpful for our use. Also changed
              the tables to all be 128 entries long instead of 256, since only the first
              128 are ever used.
      
              * pcre/pcre_compile.cpp: Added include of config.h. Eliminated digitab,
              which was only being used to check hex digits. Changed all uses of TRUE and
              FALSE to use the C++ true and false instead.
              (check_escape): Just the TRUE/FALSE thing.
              (is_counted_repeat): Ditto.
              (could_be_empty_branch): Ditto.
              (get_othercase_range): Ditto.
              (compile_branch): Ditto.
              (compile_regex): Ditto.
              (is_anchored): Ditto.
              (is_startline): Ditto.
              (find_firstassertedchar): Ditto.
              (jsRegExpCompile): Ditto.
      
              * pcre/pcre_exec.cpp: Added include of config.h. Changed all uses of TRUE and
              FALSE to use the C++ true and false instead.
              (match_ref): Just the TRUE/FALSE thing.
              (match): Ditto. Removed some unneeded braces.
              (jsRegExpExecute): Just the TRUE/FALSE thing.
      
              * pcre/pcre_internal.h: Moved the constants needed by dftables.cpp to the top
              of the file instead of the bottom, so they can be used. Also changed the table
              sizes to 128 instead of 256. Removed macro definitions of FALSE and TRUE.
              Set array sizes for all the const arrays. Changed _pcre_utf8_table1_size to
              be a macro instead of a extern int.
      
              * pcre/pcre_maketables.cpp: Removed. It's all in dftables.cpp now.
      
              * pcre/pcre_tables.cpp: Made table sizes explicit.
      
              * pcre/pcre_xclass.cpp: Just the TRUE/FALSE thing.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27730 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7f984871
  7. 16 Oct, 2007 1 commit
  8. 29 Jul, 2006 1 commit
    • weinig's avatar
      JavaScriptCore: · ab5f09e0
      weinig authored
              Reviewed by Darin.
      
              - patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10080
                Adopt pedantic changes from the Unity project to improve 
                cross-compiler compatibility
      
                Changes include:
                * Removing trailing semicolon from namespace braces.
                * Removing trailing comma from last enum declaration.
                * Updating to match style guidelines.
                * Adding missing newline to the end of the file.
                * Turning on gcc warning for missing newline at the end of a source file
                  (GCC_WARN_ABOUT_MISSING_NEWLINE in Xcode, -Wnewline in gcc).
                * Alphabetical sorting of Xcode source list files. 
                * Replace use of non-portable variable-size array with Vector.
                * Use C-style comments instead of C++ comments in files that might
                  be included by either C or C++ files.
      
              * API/JSCallbackConstructor.cpp:
              (KJS::JSCallbackConstructor::construct):
              * API/JSCallbackFunction.cpp:
              (KJS::JSCallbackFunction::callAsFunction):
              * API/JSCallbackObject.cpp:
              (KJS::JSCallbackObject::construct):
              (KJS::JSCallbackObject::callAsFunction):
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * JavaScriptCorePrefix.h:
              * bindings/jni/jni_class.cpp:
              (JavaClass::fieldNamed):
              * bindings/jni/jni_class.h:
              * bindings/jni/jni_instance.cpp:
              (JavaInstance::JavaInstance):
              (JavaInstance::valueOf):
              * bindings/jni/jni_objc.mm:
              (KJS::Bindings::dispatchJNICall):
              * bindings/jni/jni_runtime.cpp:
              (JavaParameter::JavaParameter):
              (JavaArray::JavaArray):
              * bindings/jni/jni_runtime.h:
              * bindings/jni/jni_utility.h:
              * bindings/objc/objc_instance.h:
              * bindings/runtime_array.h:
              * kjs/collector.h:
              * kjs/config.h:
              * kjs/ustring.cpp:
              * wtf/Platform.h:
      
      JavaScriptGlue:
      
              Reviewed by Darin.
      
              - patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10080
                Adopt pedantic changes from the Unity project to improve 
                cross-compiler compatibility
      
                Changes include:
                * Turning on gcc warning for missing newline at the end of a source file
                  (GCC_WARN_ABOUT_MISSING_NEWLINE in Xcode, -Wnewline in gcc).
      
              * JavaScriptGlue.xcodeproj/project.pbxproj:
      
      WebCore:
      
              Reviewed by Darin.
      
              - patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10080
                Adopt pedantic changes from the Unity project to improve 
                cross-compiler compatibility
      
                Changes include:
                * Removing trailing semicolon from namespace braces.
                * Removing trailing comma from last enum declaration.
                * Updating to match style guidelines.
                * Adding missing newline to the end of the file.
                * Turning on gcc warning for missing newline at the end of a source file
                  (GCC_WARN_ABOUT_MISSING_NEWLINE in Xcode, -Wnewline in gcc).
                * Alphabetical sorting of Xcode source list files.
                * Use abs() function from <math.h> instead of ABS() macro.
                * Use C-style comments instead of C++ comments in files that might
                  be included by either C or C++ files.
                * Use -numeric_limits<double>::infinity() instead of -HUGE_VAL.
      
              * WebCore+SVG/DOMList.h:
              * WebCore.xcodeproj/project.pbxproj:
              * WebCorePrefix.h:
              * bindings/js/JSCanvasRenderingContext2DCustom.cpp:
              * bindings/js/JSXSLTProcessor.h:
              * bindings/js/kjs_domnode.h:
              (KJS::DOMNode::):
              * bindings/objc/DOMCSS.h:
              (-[DOMCSSValue enum]):
              * bindings/objc/DOMCore.h:
              (-[DOMImplementation createDocument:::]):
              * bindings/objc/DOMEvents.h:
              (-[DOMOverflowEvent enum]):
              * bindings/objc/DOMRange.h:
              * bindings/objc/DOMTraversal.h:
              * bindings/objc/DOMXPath.h:
              (-[DOMXPathNSResolver lookupNamespaceURI:]):
              * bridge/mac/WebCoreFrameBridge.h:
              * bridge/mac/WebCoreKeyboardAccess.h:
              * css/makeprop:
              * css/makevalues:
              * dom/ChildNodeList.h:
              * dom/DocPtr.h:
              * dom/Document.h:
              (WebCore::Document::):
              * dom/DocumentMarker.h:
              (WebCore::DocumentMarker::):
              (WebCore::DocumentMarker::operator==):
              (WebCore::DocumentMarker::operator!=):
              * dom/EventTargetNode.h:
              * dom/KeyboardEvent.h:
              (WebCore::KeyboardEvent::):
              * dom/NameNodeList.h:
              (WebCore::NameNodeList::rootNodeChildrenChanged):
              * dom/QualifiedName.cpp:
              * editing/TypingCommand.h:
              (WebCore::TypingCommand::):
              * editing/UnlinkCommand.h:
              (WebCore::UnlinkCommand::editingAction):
              * html/FormDataList.h:
              (WebCore::FormDataListItem::FormDataListItem):
              (WebCore::FormDataList::appendData):
              * html/HTMLBlockquoteElement.h:
              * html/HTMLDivElement.h:
              * html/HTMLFormElement.h:
              * html/HTMLHRElement.h:
              * html/HTMLHeadingElement.h:
              * html/HTMLMarqueeElement.h:
              * html/HTMLParagraphElement.h:
              * html/HTMLPlugInElement.h:
              * html/HTMLPreElement.h:
              * html/HTMLTokenizer.h:
              (WebCore::HTMLTokenizer::State::):
              * icon/IconDatabase.cpp:
              * icon/SQLStatement.cpp:
              * kcanvas/KCanvasFilters.h:
              (WebCore::):
              (WebCore::KCanvasPoint3F::KCanvasPoint3F):
              (WebCore::KCanvasFilter::KCanvasFilter):
              (WebCore::KCanvasFilter::~KCanvasFilter):
              (WebCore::KCanvasFilterEffect::~KCanvasFilterEffect):
              (WebCore::KCComponentTransferFunction::KCComponentTransferFunction):
              (WebCore::KCanvasFEConvolveMatrix::KCanvasFEConvolveMatrix):
              (WebCore::KCLightSource::KCLightSource):
              (WebCore::KCDistantLightSource::KCDistantLightSource):
              (WebCore::KCPointLightSource::KCPointLightSource):
              (WebCore::KCSpotLightSource::KCSpotLightSource):
              (WebCore::KCanvasFEDiffuseLighting::KCanvasFEDiffuseLighting):
              (WebCore::KCanvasFEDisplacementMap::KCanvasFEDisplacementMap):
              (WebCore::KCanvasFEImage::KCanvasFEImage):
              (WebCore::KCanvasFESpecularLighting::KCanvasFESpecularLighting):
              * kcanvas/RenderSVGImage.h:
              * kcanvas/device/quartz/KRenderingDeviceQuartz.h:
              * ksvg2/css/SVGRenderStyle.h:
              (WebCore::SVGRenderStyle::InheritedFlags::):
              (WebCore::SVGRenderStyle::NonInheritedFlags::):
              * ksvg2/css/SVGRenderStyleDefs.h:
              (WebCore::):
              * ksvg2/events/SVGZoomEvent.h:
              * ksvg2/ksvg.h:
              (WebCore::):
              * ksvg2/misc/KCanvasRenderingStyle.h:
              * ksvg2/misc/SVGImageLoader.h:
              * ksvg2/scripts/make_names.pl:
              * ksvg2/svg/SVGAElement.h:
              * ksvg2/svg/SVGAngle.h:
              * ksvg2/svg/SVGAnimateColorElement.h:
              * ksvg2/svg/SVGAnimateElement.h:
              * ksvg2/svg/SVGAnimateTransformElement.h:
              * ksvg2/svg/SVGAnimatedAngle.h:
              * ksvg2/svg/SVGAnimatedBoolean.h:
              * ksvg2/svg/SVGAnimatedColor.h:
              * ksvg2/svg/SVGAnimatedEnumeration.h:
              * ksvg2/svg/SVGAnimatedInteger.h:
              * ksvg2/svg/SVGAnimatedLength.h:
              * ksvg2/svg/SVGAnimatedLengthList.h:
              * ksvg2/svg/SVGAnimatedNumber.h:
              * ksvg2/svg/SVGAnimatedNumberList.h:
              * ksvg2/svg/SVGAnimatedPathData.h:
              * ksvg2/svg/SVGAnimatedPoints.h:
              * ksvg2/svg/SVGAnimatedPreserveAspectRatio.h:
              * ksvg2/svg/SVGAnimatedRect.h:
              * ksvg2/svg/SVGAnimatedString.h:
              * ksvg2/svg/SVGAnimatedTemplate.h:
              * ksvg2/svg/SVGAnimatedTransformList.h:
              * ksvg2/svg/SVGAnimationElement.cpp:
              (SVGAnimationElement::calculateCurrentValueItem):
              (SVGAnimationElement::calculateRelativeTimePercentage):
              * ksvg2/svg/SVGAnimationElement.h:
              (WebCore::):
              * ksvg2/svg/SVGCircleElement.h:
              * ksvg2/svg/SVGClipPathElement.h:
              * ksvg2/svg/SVGColor.h:
              * ksvg2/svg/SVGComponentTransferFunctionElement.h:
              * ksvg2/svg/SVGCursorElement.h:
              * ksvg2/svg/SVGDOMImplementation.h:
              * ksvg2/svg/SVGDefsElement.h:
              * ksvg2/svg/SVGDescElement.h:
              * ksvg2/svg/SVGDocument.h:
              * ksvg2/svg/SVGElement.h:
              (WebCore::SVGElement::rendererIsNeeded):
              (WebCore::svg_dynamic_cast):
              * ksvg2/svg/SVGElementInstance.h:
              * ksvg2/svg/SVGElementInstanceList.h:
              * ksvg2/svg/SVGEllipseElement.h:
              * ksvg2/svg/SVGExternalResourcesRequired.h:
              * ksvg2/svg/SVGFEBlendElement.h:
              * ksvg2/svg/SVGFEColorMatrixElement.h:
              * ksvg2/svg/SVGFEComponentTransferElement.h:
              * ksvg2/svg/SVGFECompositeElement.h:
              * ksvg2/svg/SVGFEDiffuseLightingElement.h:
              * ksvg2/svg/SVGFEDisplacementMapElement.h:
              * ksvg2/svg/SVGFEDistantLightElement.h:
              * ksvg2/svg/SVGFEFloodElement.h:
              * ksvg2/svg/SVGFEFuncAElement.h:
              * ksvg2/svg/SVGFEFuncBElement.h:
              * ksvg2/svg/SVGFEFuncGElement.h:
              * ksvg2/svg/SVGFEFuncRElement.h:
              * ksvg2/svg/SVGFEGaussianBlurElement.h:
              * ksvg2/svg/SVGFEImageElement.h:
              * ksvg2/svg/SVGFELightElement.h:
              * ksvg2/svg/SVGFEMergeElement.h:
              * ksvg2/svg/SVGFEMergeNodeElement.h:
              * ksvg2/svg/SVGFEOffsetElement.h:
              * ksvg2/svg/SVGFEPointLightElement.h:
              * ksvg2/svg/SVGFESpecularLightingElement.h:
              * ksvg2/svg/SVGFESpotLightElement.h:
              * ksvg2/svg/SVGFETileElement.h:
              * ksvg2/svg/SVGFETurbulenceElement.h:
              * ksvg2/svg/SVGFilterElement.h:
              * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.h:
              * ksvg2/svg/SVGFitToViewBox.h:
              * ksvg2/svg/SVGForeignObjectElement.cpp:
              * ksvg2/svg/SVGForeignObjectElement.h:
              * ksvg2/svg/SVGGElement.h:
              * ksvg2/svg/SVGGradientElement.h:
              * ksvg2/svg/SVGHelper.h:
              (WebCore::):
              * ksvg2/svg/SVGImageElement.h:
              * ksvg2/svg/SVGLangSpace.h:
              * ksvg2/svg/SVGLength.h:
              * ksvg2/svg/SVGLengthList.h:
              * ksvg2/svg/SVGLineElement.h:
              * ksvg2/svg/SVGLinearGradientElement.h:
              * ksvg2/svg/SVGList.h:
              * ksvg2/svg/SVGLocatable.h:
              * ksvg2/svg/SVGMarkerElement.h:
              * ksvg2/svg/SVGMaskElement.h:
              * ksvg2/svg/SVGMatrix.h:
              * ksvg2/svg/SVGNumber.h:
              * ksvg2/svg/SVGNumberList.h:
              * ksvg2/svg/SVGPaint.h:
              * ksvg2/svg/SVGPathElement.h:
              * ksvg2/svg/SVGPathSeg.h:
              * ksvg2/svg/SVGPathSegArc.h:
              * ksvg2/svg/SVGPathSegClosePath.h:
              * ksvg2/svg/SVGPathSegCurvetoCubic.h:
              * ksvg2/svg/SVGPathSegCurvetoCubicSmooth.h:
              * ksvg2/svg/SVGPathSegCurvetoQuadratic.h:
              * ksvg2/svg/SVGPathSegCurvetoQuadraticSmooth.h:
              * ksvg2/svg/SVGPathSegLineto.h:
              * ksvg2/svg/SVGPathSegLinetoHorizontal.h:
              * ksvg2/svg/SVGPathSegLinetoVertical.h:
              * ksvg2/svg/SVGPathSegList.h:
              * ksvg2/svg/SVGPathSegMoveto.h:
              * ksvg2/svg/SVGPatternElement.h:
              * ksvg2/svg/SVGPoint.h:
              * ksvg2/svg/SVGPointList.h:
              * ksvg2/svg/SVGPolyElement.h:
              * ksvg2/svg/SVGPolygonElement.h:
              * ksvg2/svg/SVGPolylineElement.h:
              * ksvg2/svg/SVGPreserveAspectRatio.h:
              * ksvg2/svg/SVGRadialGradientElement.h:
              * ksvg2/svg/SVGRect.h:
              * ksvg2/svg/SVGRectElement.h:
              * ksvg2/svg/SVGSVGElement.h:
              * ksvg2/svg/SVGScriptElement.h:
              * ksvg2/svg/SVGSetElement.h:
              * ksvg2/svg/SVGStopElement.h:
              * ksvg2/svg/SVGStringList.h:
              * ksvg2/svg/SVGStylable.h:
              * ksvg2/svg/SVGStyleElement.h:
              * ksvg2/svg/SVGStyledElement.h:
              (WebCore::SVGStyledElement::rendererIsNeeded):
              (WebCore::SVGStyledElement::canvasResource):
              * ksvg2/svg/SVGStyledLocatableElement.h:
              * ksvg2/svg/SVGStyledTransformableElement.h:
              * ksvg2/svg/SVGSwitchElement.h:
              * ksvg2/svg/SVGSymbolElement.h:
              * ksvg2/svg/SVGTRefElement.h:
              * ksvg2/svg/SVGTSpanElement.h:
              * ksvg2/svg/SVGTests.h:
              * ksvg2/svg/SVGTextContentElement.h:
              * ksvg2/svg/SVGTextElement.h:
              * ksvg2/svg/SVGTextPositioningElement.h:
              * ksvg2/svg/SVGTitleElement.h:
              * ksvg2/svg/SVGTransform.h:
              * ksvg2/svg/SVGTransformList.h:
              * ksvg2/svg/SVGTransformable.h:
              * ksvg2/svg/SVGURIReference.h:
              * ksvg2/svg/SVGUseElement.h:
              * ksvg2/svg/SVGViewElement.h:
              * ksvg2/svg/SVGZoomAndPan.h:
              * ksvg2/svg/svgpathparser.h:
              * page/Frame.h:
              (WebCore::):
              * platform/AffineTransform.h:
              * platform/FontCache.cpp:
              (WebCore::FontPlatformDataCacheKey::FontPlatformDataCacheKey):
              * platform/FontData.cpp:
              (WebCore::FontData::FontData):
              * platform/FontData.h:
              * platform/TextBox.h:
              (WebCore::TextBox::):
              * platform/Timer.cpp:
              (WebCore::TimerBase::heapPop):
              * platform/mac/FontCacheMac.mm:
              * platform/mac/GlyphMapMac.cpp:
              * platform/mac/WebFontCache.mm:
              (betterChoice):
              * rendering/DeprecatedRenderSelect.cpp:
              (WebCore::DeprecatedRenderSelect::setWidgetWritingDirection):
              * rendering/EllipsisBox.h:
              * rendering/RenderBR.h:
              (WebCore::RenderBR::renderName):
              (WebCore::RenderBR::width):
              * rendering/RenderBlock.h:
              (WebCore::):
              * rendering/RenderFlexibleBox.h:
              * rendering/RenderFlow.h:
              (WebCore::RenderFlow::RenderFlow):
              * rendering/RenderFrame.cpp:
              * rendering/bidi.h:
              * rendering/break_lines.cpp:
      
      WebKit:
      
              Reviewed by Darin.
      
              - patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10080
                Adopt pedantic changes from the Unity project to improve 
                cross-compiler compatibility
      
                Changes include:
                * Adding missing newline to the end of the file.
                * Turning on gcc warning for missing newline at the end of a source file
                  (GCC_WARN_ABOUT_MISSING_NEWLINE in Xcode, -Wnewline in gcc).
      
              * WebKit.xcodeproj/project.pbxproj:
              * WebView/WebResourcePrivate.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15696 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ab5f09e0
  9. 13 Feb, 2006 1 commit
    • thatcher's avatar
      Reviewed by Darin. · f5a63e02
      thatcher authored
              Replaced the old NS_DURING exception blocking with @try/@catch.
      
              * JavaScriptCorePrefix.h: undef try and catch to workaround a C++ conflict
              * bindings/objc/objc_instance.mm:
              (ObjcInstance::invokeMethod):
              (ObjcInstance::invokeDefaultMethod):
              (ObjcInstance::setValueOfUndefinedField):
              (ObjcInstance::getValueOfUndefinedField):
              * bindings/objc/objc_runtime.mm:
              (ObjcField::valueFromInstance):
              (ObjcField::setValueToInstance):
              (ObjcArray::setValueAt):
              (ObjcArray::valueAt):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12780 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f5a63e02
  10. 13 Jan, 2006 1 commit
  11. 27 Dec, 2005 1 commit
    • mjs's avatar
      Reviewed by Darin and Geoff. · 996e133b
      mjs authored
      	Changes by me and Anders.
      
      	- mostly fixed REGRESSION: 5-10% performance regression on JS iBench from getter/setter change
      	http://bugzilla.opendarwin.org/show_bug.cgi?id=6083
      
      	- also fixed some warnings reported by -Winline
      
              * JavaScriptCorePrefix.h: Move new and delete definitions higher so there
      	aren't conflicts with use in standard C++ headers
              * kjs/object.cpp:
              (KJS::throwSetterError): Moved this piece of put into a seprate function
      	to avoid the PIC branch.
              (KJS::JSObject::put): Use hasGetterSetterProperties to avoid expensive stuff
      	when not needed. Also use GetterSetter properties attribute.
              (KJS::JSObject::deleteProperty): Recompute whether any properties are getter/setter
      	properties any more, if this one was one.
              (KJS::JSObject::defineGetter): Let the PropertyMap know that it has getter/setter
      	properties now (and use the new attribute).
              (KJS::JSObject::defineSetter): Ditto.
              (KJS::JSObject::fillGetterPropertySlot): Out-of-line helper for getOwnPropertySlot,
      	to avoid global variable access in the hot code path.
              * kjs/object.h:
              (KJS::): Added GetterSetter attribute.
              (KJS::JSCell::isObject): Moved lower to be after inline methods it uses.
              (KJS::JSValue::isObject): ditto
              (KJS::JSObject::getOwnPropertySlot): try to avoid impact of getters and setters
      	as much as possible in the case where they are not being used
              * kjs/property_map.cpp:
              (KJS::PropertyMap::containsGettersOrSetters): New method to help with this
              * kjs/property_map.h:
              (KJS::PropertyMap::hasGetterSetterProperties): Ditto
              (KJS::PropertyMap::setHasGetterSetterProperties): Ditto
              (KJS::PropertyMap::PropertyMap): Added a crazy hack to store the
      	global "has getter/setter properties" flag in the property map
      	single entry, to avoid making objects any bigger.
              * kjs/value.h: Moved some things to object.h to make -Winline happier
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11773 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      996e133b
  12. 03 Oct, 2005 1 commit
    • mjs's avatar
      JavaScriptCore: · b64c50a2
      mjs authored
              Reviewed by Darin.
      
      	<rdar://problem/4283967> REGRESSION: 3% regression on PLT from new FastMalloc
      	http://bugzilla.opendarwin.org/show_bug.cgi?id=5243
      
      	A number of optimizations to the new threadsafe malloc that make it actually as fast
      	as dlmalloc (I measured wrong before) and as memory-efficient as the system malloc.
      
      	- use fastMalloc for everything - it now gets applied to all new/delete allocations
      	via a private inline operator new that is now included into every file via config.h.
      
      	- tweaked some of the numeric parameters for size classes and amount of wasted memory
      	allowed per allocation - this saves on memory use and consequently improves speed.
      
      	- so long as the allocator is not being used on background threads, get the per-thread
      	cache from a global variable instead of from pthread_getspecific, since the latter is slow.
      
      	- inline more functions, and force the ones GCC refuses to inline with
      	attribute(always_inline), nearly all of these have one call site so inlining them has
      	to be a win.
      
      	- use some tricks to calculate allocation size more efficiently and fewer times for small
      	allocations, to avoid hitting the huge size table array.
      
      	- avoid hitting the per-thread cache on code paths that don't need it.
      
      	- implement inline assembly version of spinlock for PowerPC (was already done for x86)
      
              * bindings/NP_jsobject.cpp:
              * bindings/c/c_class.cpp:
              * bindings/c/c_instance.cpp:
              * bindings/c/c_runtime.cpp:
              * bindings/c/c_utility.cpp:
              * bindings/jni/jni_class.cpp:
              * bindings/jni/jni_instance.cpp:
              * bindings/jni/jni_jsobject.cpp:
              * bindings/jni/jni_objc.mm:
              * bindings/jni/jni_runtime.cpp:
              * bindings/jni/jni_utility.cpp:
              * bindings/npruntime.cpp:
              * bindings/objc/WebScriptObject.mm:
              * bindings/objc/objc_class.mm:
              * bindings/objc/objc_instance.mm:
              * bindings/objc/objc_runtime.mm:
              * bindings/objc/objc_utility.mm:
              * bindings/runtime.cpp:
              * bindings/runtime_array.cpp:
              * bindings/runtime_method.cpp:
              * bindings/runtime_object.cpp:
              * bindings/runtime_root.cpp:
              * bindings/testbindings.cpp:
              * bindings/testbindings.mm:
              * kjs/array_object.cpp:
              (ArrayInstanceImp::ArrayInstanceImp):
              (ArrayInstanceImp::~ArrayInstanceImp):
              (ArrayInstanceImp::resizeStorage):
              * kjs/bool_object.cpp:
              * kjs/collector.cpp:
              (KJS::Collector::registerThread):
              * kjs/config.h:
              * kjs/debugger.cpp:
              * kjs/error_object.cpp:
              * kjs/function.cpp:
              * kjs/function_object.cpp:
              * kjs/identifier.cpp:
              (KJS::Identifier::rehash):
              * kjs/internal.cpp:
              (KJS::Parser::saveNewNode):
              (KJS::clearNewNodes):
              * kjs/interpreter.cpp:
              * kjs/lexer.cpp:
              (Lexer::doneParsing):
              (Lexer::makeIdentifier):
              (Lexer::makeUString):
              * kjs/list.cpp:
              * kjs/math_object.cpp:
              * kjs/nodes.cpp:
              * kjs/nodes.h:
              * kjs/nodes2string.cpp:
              * kjs/number_object.cpp:
              (integer_part_noexp):
              (char_sequence):
              * kjs/object.cpp:
              * kjs/object_object.cpp:
              * kjs/property_map.cpp:
              * kjs/property_slot.cpp:
              * kjs/protected_values.cpp:
              (KJS::ProtectedValues::rehash):
              * kjs/reference.cpp:
              * kjs/reference_list.cpp:
              * kjs/regexp.cpp:
              * kjs/regexp_object.cpp:
              * kjs/scope_chain.cpp:
              * kjs/scope_chain.h:
              * kjs/string_object.cpp:
              * kjs/testkjs.cpp:
              * kjs/ustring.h:
              * kjs/value.cpp:
              * kxmlcore/Assertions.mm:
              * kxmlcore/FastMalloc.cpp:
              (KXMLCore::InitSizeClasses):
              (KXMLCore::DLL_IsEmpty):
              (KXMLCore::DLL_Prepend):
              (KXMLCore::TCMalloc_Central_FreeList::Insert):
              (KXMLCore::TCMalloc_Central_FreeList::Remove):
              (KXMLCore::TCMalloc_Central_FreeList::Populate):
              (KXMLCore::TCMalloc_ThreadCache::Allocate):
              (KXMLCore::TCMalloc_ThreadCache::FetchFromCentralCache):
              (KXMLCore::fastMallocRegisterThread):
              (KXMLCore::TCMalloc_ThreadCache::GetCache):
              (KXMLCore::TCMalloc_ThreadCache::GetCacheIfPresent):
              (KXMLCore::TCMalloc_ThreadCache::CreateCacheIfNecessary):
              (KXMLCore::do_malloc):
              (KXMLCore::do_free):
              (KXMLCore::realloc):
              * kxmlcore/FastMalloc.h:
              (operator new):
              (operator delete):
              (operator new[]):
              (operator delete[]):
              * kxmlcore/HashTable.cpp:
              * kxmlcore/TCSpinLock.h:
              (TCMalloc_SpinLock::Lock):
              (TCMalloc_SpinLock::Unlock):
              (TCMalloc_SlowLock):
              * kxmlcore/TCSystemAlloc.cpp:
      
      WebCore:
      
              Reviewed by Darin.
      
      	<rdar://problem/4283967> REGRESSION: 3% regression on PLT from new FastMalloc
      	http://bugzilla.opendarwin.org/show_bug.cgi?id=5243
      
      	- use fastMalloc for everything - it now gets applied to all new/delete allocations
              via a private inline operator new that is now included into every file via config.h
      
              * WebCore.xcodeproj/project.pbxproj:
              * WebCorePrefix.h:
              * khtml/css/css_base.cpp:
              * khtml/css/css_base.h:
              * khtml/css/css_computedstyle.cpp:
              * khtml/css/css_ruleimpl.cpp:
              * khtml/css/css_stylesheetimpl.cpp:
              * khtml/css/css_valueimpl.cpp:
              * khtml/css/css_valueimpl.h:
              * khtml/css/csshelper.cpp:
              * khtml/css/cssparser.cpp:
              (ValueList::ValueList):
              (ValueList::~ValueList):
              (ValueList::addValue):
              (CSSParser::CSSParser):
              (CSSParser::~CSSParser):
              (CSSParser::setupParser):
              (CSSParser::addProperty):
              * khtml/css/cssstyleselector.cpp:
              * khtml/css/cssstyleselector.h:
              * khtml/dom/dom2_events.cpp:
              * khtml/dom/dom2_traversal.cpp:
              * khtml/dom/dom_misc.cpp:
              * khtml/dom/dom_string.cpp:
              * khtml/ecma/domparser.cpp:
              * khtml/ecma/kjs_binding.cpp:
              * khtml/ecma/kjs_css.cpp:
              * khtml/ecma/kjs_dom.cpp:
              * khtml/ecma/kjs_events.cpp:
              * khtml/ecma/kjs_html.cpp:
              (KJS::KJS::Context2DFunction::callAsFunction):
              (KJS::Gradient::~Gradient):
              (KJS::Gradient::addColorStop):
              (KJS::Gradient::colorStops):
              * khtml/ecma/kjs_navigator.cpp:
              * khtml/ecma/kjs_proxy.cpp:
              * khtml/ecma/kjs_range.cpp:
              * khtml/ecma/kjs_traversal.cpp:
              * khtml/ecma/kjs_views.cpp:
              * khtml/ecma/kjs_window.cpp:
              * khtml/ecma/xmlhttprequest.cpp:
              * khtml/ecma/xmlserializer.cpp:
              * khtml/editing/SelectionController.cpp:
              * khtml/editing/append_node_command.cpp:
              * khtml/editing/apply_style_command.cpp:
              * khtml/editing/break_blockquote_command.cpp:
              * khtml/editing/composite_edit_command.cpp:
              * khtml/editing/delete_from_text_node_command.cpp:
              * khtml/editing/delete_selection_command.cpp:
              * khtml/editing/edit_command.cpp:
              * khtml/editing/html_interchange.cpp:
              * khtml/editing/htmlediting.cpp:
              * khtml/editing/insert_into_text_node_command.cpp:
              * khtml/editing/insert_line_break_command.cpp:
              * khtml/editing/insert_node_before_command.cpp:
              * khtml/editing/insert_paragraph_separator_command.cpp:
              * khtml/editing/insert_text_command.cpp:
              * khtml/editing/join_text_nodes_command.cpp:
              * khtml/editing/jsediting.cpp:
              * khtml/editing/markup.cpp:
              * khtml/editing/merge_identical_elements_command.cpp:
              * khtml/editing/move_selection_command.cpp:
              * khtml/editing/rebalance_whitespace_command.cpp:
              * khtml/editing/remove_css_property_command.cpp:
              * khtml/editing/remove_node_attribute_command.cpp:
              * khtml/editing/remove_node_command.cpp:
              * khtml/editing/remove_node_preserving_children_command.cpp:
              * khtml/editing/replace_selection_command.cpp:
              * khtml/editing/set_node_attribute_command.cpp:
              * khtml/editing/split_element_command.cpp:
              * khtml/editing/split_text_node_command.cpp:
              * khtml/editing/split_text_node_containing_element.cpp:
              * khtml/editing/typing_command.cpp:
              * khtml/editing/visible_position.cpp:
              * khtml/editing/visible_range.cpp:
              * khtml/editing/visible_text.cpp:
              (khtml::CircularSearchBuffer::~CircularSearchBuffer):
              (khtml::CircularSearchBuffer::CircularSearchBuffer):
              * khtml/editing/visible_units.cpp:
              * khtml/editing/wrap_contents_in_dummy_span_command.cpp:
              * khtml/html/html_baseimpl.cpp:
              * khtml/html/html_blockimpl.cpp:
              * khtml/html/html_canvasimpl.cpp:
              * khtml/html/html_documentimpl.cpp:
              * khtml/html/html_elementimpl.cpp:
              * khtml/html/html_formimpl.cpp:
              * khtml/html/html_headimpl.cpp:
              * khtml/html/html_imageimpl.cpp:
              * khtml/html/html_inlineimpl.cpp:
              * khtml/html/html_listimpl.cpp:
              * khtml/html/html_miscimpl.cpp:
              * khtml/html/html_objectimpl.cpp:
              * khtml/html/html_tableimpl.cpp:
              * khtml/html/htmlfactory.cpp:
              * khtml/html/htmlnames.cpp:
              * khtml/html/htmlparser.cpp:
              * khtml/html/htmltokenizer.cpp:
              (khtml::HTMLTokenizer::enlargeBuffer):
              (khtml::HTMLTokenizer::enlargeScriptBuffer):
              * khtml/khtml_events.cpp:
              * khtml/khtml_part.cpp:
              * khtml/khtmlview.cpp:
              * khtml/misc/arena.cpp:
              * khtml/misc/arena.h:
              * khtml/misc/decoder.cpp:
              * khtml/misc/formdata.cpp:
              * khtml/misc/helper.cpp:
              * khtml/misc/loader.cpp:
              * khtml/misc/stringit.cpp:
              * khtml/rendering/bidi.cpp:
              * khtml/rendering/break_lines.cpp:
              * khtml/rendering/font.cpp:
              * khtml/rendering/render_arena.cpp:
              * khtml/rendering/render_block.cpp:
              * khtml/rendering/render_box.cpp:
              * khtml/rendering/render_br.cpp:
              * khtml/rendering/render_canvas.cpp:
              * khtml/rendering/render_canvasimage.cpp:
              (RenderCanvasImage::~RenderCanvasImage):
              (RenderCanvasImage::createDrawingContext):
              * khtml/rendering/render_container.cpp:
              * khtml/rendering/render_flexbox.cpp:
              * khtml/rendering/render_flow.cpp:
              * khtml/rendering/render_form.cpp:
              * khtml/rendering/render_frames.cpp:
              * khtml/rendering/render_image.cpp:
              * khtml/rendering/render_inline.cpp:
              * khtml/rendering/render_layer.cpp:
              * khtml/rendering/render_line.cpp:
              * khtml/rendering/render_list.cpp:
              * khtml/rendering/render_object.cpp:
              * khtml/rendering/render_replaced.cpp:
              * khtml/rendering/render_style.cpp:
              * khtml/rendering/render_style.h:
              * khtml/rendering/render_table.cpp:
              * khtml/rendering/render_text.cpp:
              * khtml/rendering/render_theme.cpp:
              * khtml/rendering/render_theme_mac.mm:
              * khtml/rendering/table_layout.cpp:
              * khtml/xbl/xbl_binding.cpp:
              * khtml/xbl/xbl_binding_manager.cpp:
              * khtml/xbl/xbl_docimpl.cpp:
              * khtml/xbl/xbl_protobinding.cpp:
              * khtml/xbl/xbl_protohandler.cpp:
              * khtml/xbl/xbl_protoimplementation.cpp:
              * khtml/xbl/xbl_tokenizer.cpp:
              * khtml/xml/EventNames.cpp:
              * khtml/xml/dom2_eventsimpl.cpp:
              * khtml/xml/dom2_eventsimpl.h:
              * khtml/xml/dom2_rangeimpl.cpp:
              * khtml/xml/dom2_rangeimpl.h:
              * khtml/xml/dom2_traversalimpl.cpp:
              * khtml/xml/dom2_traversalimpl.h:
              * khtml/xml/dom2_viewsimpl.cpp:
              * khtml/xml/dom2_viewsimpl.h:
              * khtml/xml/dom_atomicstring.cpp:
              * khtml/xml/dom_docimpl.cpp:
              * khtml/xml/dom_docimpl.h:
              * khtml/xml/dom_elementimpl.cpp:
              * khtml/xml/dom_elementimpl.h:
              * khtml/xml/dom_nodeimpl.cpp:
              * khtml/xml/dom_nodeimpl.h:
              * khtml/xml/dom_position.cpp:
              * khtml/xml/dom_qname.cpp:
              * khtml/xml/dom_stringimpl.cpp:
              * khtml/xml/dom_stringimpl.h:
              * khtml/xml/dom_textimpl.cpp:
              * khtml/xml/dom_xmlimpl.cpp:
              * khtml/xml/xml_tokenizer.cpp:
              * khtml/xsl/xsl_stylesheetimpl.cpp:
              * khtml/xsl/xslt_processorimpl.cpp:
              * kwq/DOM-CSS.mm:
              * kwq/DOM.mm:
              * kwq/DOMEvents.mm:
              * kwq/DOMHTML.mm:
              * kwq/DOMInternal.mm:
              (DOMString::DOMString):
              * kwq/DOMUtility.mm:
              * kwq/DOMViews.mm:
              * kwq/KWQAccObject.mm:
              * kwq/KWQAccObjectCache.mm:
              * kwq/KWQApplication.mm:
              * kwq/KWQArrayImpl.h:
              * kwq/KWQArrayImpl.mm:
              * kwq/KWQBuffer.mm:
              * kwq/KWQButton.mm:
              * kwq/KWQCString.mm:
              * kwq/KWQCharsets.mm:
              * kwq/KWQClipboard.mm:
              * kwq/KWQCollection.mm:
              * kwq/KWQColor.mm:
              * kwq/KWQComboBox.mm:
              * kwq/KWQCursor.mm:
              * kwq/KWQDateTime.mm:
              * kwq/KWQDictImpl.mm:
              * kwq/KWQEditCommand.mm:
              * kwq/KWQEvent.mm:
              * kwq/KWQExceptions.mm:
              * kwq/KWQFile.mm:
              * kwq/KWQFileButton.mm:
              * kwq/KWQFont.mm:
              * kwq/KWQFontFamily.h:
              * kwq/KWQFontFamily.mm:
              * kwq/KWQFontMetrics.mm:
              * kwq/KWQFormData.mm:
              * kwq/KWQFrame.mm:
              * kwq/KWQGlobal.mm:
              * kwq/KWQGuardedPtr.mm:
              * kwq/KWQKCharsets.mm:
              * kwq/KWQKConfigBase.mm:
              * kwq/KWQKCookieJar.mm:
              * kwq/KWQKCursor.mm:
              * kwq/KWQKGlobal.mm:
              * kwq/KWQKGlobalSettings.mm:
              * kwq/KWQKHTMLFactory.mm:
              * kwq/KWQKHTMLPart.cpp:
              * kwq/KWQKHTMLPart.mm:
              * kwq/KWQKHTMLPartBrowserExtension.mm:
              * kwq/KWQKHTMLView.mm:
              * kwq/KWQKHistoryProvider.mm:
              * kwq/KWQKJavaAppletWidget.mm:
              * kwq/KWQKJob.mm:
              * kwq/KWQKJobClasses.mm:
              * kwq/KWQKLocale.mm:
              * kwq/KWQKPartsBrowserInterface.mm:
              * kwq/KWQKPartsEvent.mm:
              * kwq/KWQKPartsPart.mm:
              * kwq/KWQKSSLKeyGen.mm:
              * kwq/KWQKStandardDirs.mm:
              * kwq/KWQKStringHandler.mm:
              * kwq/KWQKURL.mm:
              (KURL::KURL):
              (KURL::decode_string):
              (KURL::parse):
              (KURL::encode_string):
              (encodeRelativeString):
              * kwq/KWQKWin.mm:
              * kwq/KWQKWinModule.mm:
              * kwq/KWQLabel.mm:
              * kwq/KWQLineEdit.mm:
              * kwq/KWQListBox.mm:
              * kwq/KWQListImpl.mm:
              * kwq/KWQLoader.mm:
              (KWQIsResponseURLEqualToURL):
              * kwq/KWQMapImpl.h:
              * kwq/KWQMapImpl.mm:
              * kwq/KWQMovie.mm:
              * kwq/KWQObject.mm:
              * kwq/KWQPageState.mm:
              * kwq/KWQPaintDeviceMetrics.mm:
              * kwq/KWQPainter.mm:
              * kwq/KWQPalette.mm:
              * kwq/KWQPen.mm:
              * kwq/KWQPixmap.mm:
              * kwq/KWQPoint.mm:
              * kwq/KWQPointArray.mm:
              * kwq/KWQPtrDictImpl.mm:
              * kwq/KWQPushButton.mm:
              * kwq/KWQRect.mm:
              * kwq/KWQRegExp.mm:
              * kwq/KWQRegion.mm:
              * kwq/KWQRenderTreeDebug.cpp:
              * kwq/KWQResourceLoader.mm:
              * kwq/KWQScrollBar.mm:
              * kwq/KWQScrollView.mm:
              * kwq/KWQSignal.mm:
              * kwq/KWQSignalStubs.mm:
              * kwq/KWQSize.mm:
              * kwq/KWQSlider.mm:
              * kwq/KWQSlot.mm:
              * kwq/KWQString.h:
              * kwq/KWQString.mm:
              (ALLOC_CHAR):
              (REALLOC_CHAR):
              (DELETE_CHAR):
              (ALLOC_QCHAR):
              (REALLOC_QCHAR):
              (DELETE_QCHAR):
              (_printQStringAllocationStatistics):
              (allocateHandle):
              (KWQStringData::operator new):
              (KWQStringData::operator delete):
              (freeHandle):
              * kwq/KWQStringList.mm:
              * kwq/KWQStyle.mm:
              * kwq/KWQTextArea.mm:
              * kwq/KWQTextCodec.mm:
              * kwq/KWQTextEdit.mm:
              * kwq/KWQTextField.mm:
              * kwq/KWQTextStream.mm:
              * kwq/KWQTextUtilities.mm:
              * kwq/KWQTimer.mm:
              * kwq/KWQValueListImpl.h:
              * kwq/KWQValueListImpl.mm:
              * kwq/KWQVariant.mm:
              * kwq/KWQVectorImpl.mm:
              (KWQVectorImpl::KWQVectorImpl):
              (KWQVectorImpl::~KWQVectorImpl):
              (KWQVectorImpl::clear):
              (KWQVectorImpl::resize):
              (KWQVectorImpl::assign):
              * kwq/KWQWMatrix.mm:
              * kwq/KWQWidget.mm:
              * kwq/KWQWindowWidget.mm:
              * kwq/WebCoreBridge.mm:
              * kwq/WebCoreCache.mm:
              * kwq/WebCoreEncodings.mm:
              * kwq/WebCoreJavaScript.mm:
              * kwq/WebCoreScriptDebugger.mm:
              * kwq/WebCoreSettings.mm:
              * kwq/WebCoreTextRendererFactory.mm:
              * kwq/can-convert.mm:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10701 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b64c50a2
  13. 08 Feb, 2004 1 commit
    • darin's avatar
      Reviewed by Dave. · ea0ffc49
      darin authored
              - fixed things seen in the profile, for a total speedup of 4% on cvs-base (including changes across all projects)
      
              * JavaScriptCorePrefix.h: Add a workaround for a bug in our system headers that prevents the <ctype.h>
              macros from working right in C++ code that uses the <cctype> header.
      
              * kjs/ustring.cpp:
              (KJS::inlineUTF8SequenceLengthNonASCII): Added.
              (KJS::UTF8SequenceLengthNonASCII): Added.
              (KJS::inlineUTF8SequenceLength): Added.
              (KJS::UTF8SequenceLength): Calls inlineUTF8SequenceLengthNonASCII now.
              (KJS::decodeUTF8Sequence): Use new inlineUTF8SequenceLengthNonASCII; faster for ASCII.
              (KJS::createSortedOffsetsArray): Add special case for 1, 2, and 3 offsets, so we don't do qsort for those.
              (KJS::convertUTF16OffsetsToUTF8Offsets): Use new inlineUTF8SequenceLengthNonASCII; faster for ASCII.
              (KJS::convertUTF8OffsetsToUTF16Offsets): Use new inlineUTF8SequenceLengthNonASCII; faster for ASCII.
      
              - fixed the test program so it won't hit the interpreter lock assertion
      
              * kjs/testkjs.cpp: (main): Just lock around the whole thing, since the test is singly threaded.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@6051 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ea0ffc49
  14. 26 Oct, 2003 2 commits
  15. 04 Dec, 2002 1 commit
    • mjs's avatar
      Reviewed by: NOBODY (OOPS!) · 21dbd392
      mjs authored
      	Set things up so JavaScriptCore builds in PCRE and uses it for
      	regular expressions. This fixes many form validation bugs:
      
      	- fixed 3103197 - javascript at fidelity.com rejects valid input
      	- fixed 2942552 - form validation at weather.com fails
      	- fixed 3079752 - js always reports textarea is empty
      	- fixed 3079719 - covad.com "check availalbility" fails
      
              * Makefile.am: Add pcre subdir.
              * kjs/config.h: define HAVE_PCREPOSIX to true.
      	* kjs/regexp.h: Don't include pcreposix.h since nothing from there
      	is used.
      	* pcre/.cvsignore: Added.
              * pcre/ChangeLog: Removed.
              * pcre/INSTALL: Removed.
              * pcre/Makefile.am: Added.
              * pcre/Makefile.in: Removed.
              * pcre/NEWS: Removed.
              * pcre/NON-UNIX-USE: Removed.
              * pcre/README: Removed.
              * pcre/chartables.c: Added.
              * pcre/config.guess: Removed.
              * pcre/config.in: Removed.
              * pcre/config.sub: Removed.
              * pcre/configure: Removed.
              * pcre/configure.in: Removed.
              * pcre/dll.mk: Removed.
              * pcre/doc/Tech.Notes: Removed.
              * pcre/doc/pcre.3: Removed.
              * pcre/doc/pcre.html: Removed.
              * pcre/doc/pcre.txt: Removed.
              * pcre/doc/pcregrep.1: Removed.
              * pcre/doc/pcregrep.html: Removed.
              * pcre/doc/pcregrep.txt: Removed.
              * pcre/doc/pcreposix.3: Removed.
              * pcre/doc/pcreposix.html: Removed.
              * pcre/doc/pcreposix.txt: Removed.
              * pcre/doc/pcretest.1: Removed.
              * pcre/doc/pcretest.html: Removed.
              * pcre/doc/pcretest.txt: Removed.
              * pcre/doc/perltest.txt: Removed.
              * pcre/install-sh: Removed.
              * pcre/ltmain.sh: Removed.
              * pcre/pcre-config.h: Added.
              * pcre/pcre-config.in: Removed.
              * pcre/internal.h: Include pcre-config.h instead of config.h
              * pcre/pcre.c:
              (ord2utf8): Fix warnings.
              (pcre_compile): Fix warnings.
              * pcre/pcre.def: Removed.
              * pcre/pcre.h: Added.
              * pcre/pcre.in: Removed.
              * JavaScriptCore.pbproj/project.pbxproj: Added pcre files to build.
              * JavaScriptCorePrefix.h: Guard c++ headers with #ifdef __cplusplus.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2933 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      21dbd392
  16. 06 May, 2002 1 commit
    • darin's avatar
      i * Makefile.am: Generate the PFE precompiled headers to be used · ad4bde3d
      darin authored
      	by automake compiles. Currently these don't have any dependency
      	tracking, but I'm sure Maciej can fix that if he wants to.
      
      	* configure.in: Go from "xNDEBUG" to "NDEBUG" now that precompiled
      	headers aren't in the way. Pass in the --load-pch option to all the
      	various compiles so they get the precompiled headers.
      
      	* Tests/libiftest/Makefile.am: Generate a top_srcdir.h file rather
      	than passing it in on the command line. This works around a PFE bug
      	with -D, Radar 2921026.
      	* Tests/libiftest/IFTestDirectory.c: Use top_srcdir.h.
      	* Tests/libiftest/.cvsignore: Ignore top_srcdir.h.
      
      	* Tests/qt/qpoint-test.cpp: (main): Take out an unused variable and
      	all the USING_BORROWED_QPOINT code.
      
      	* Tools/Makefile.am: Don't built the HotSpots directory for now, since
      	it runs into a PFE bug and we usually use the application version now.
      
      	* Tools/Scripts/check-non-ASCII: Skip preprocessor directives.
      	* Tools/Scripts/cvs-abandon: Tweak.
      
      JavaScriptCore:
      
      	* JavaScriptCorePrefix.h: Added.
      	* JavaScriptCore.pbproj/project.pbxproj: Use PFE precompiling.
      	Also switch from xNDEBUG to NDEBUG.
      
      WebFoundation:
      
      	Reviewed by Ken Kocienda:
      
      	* WebFoundationPrefix.h: Added.
      	* WebFoundation.pbproj/project.pbxproj: Use PFE precompiling.
      	Also switch from xNDEBUG to NDEBUG.
      
      	* AuthenticationManager.subproj/IFAuthenticationManager.m:
      	* CookieManager.subproj/IFCookie.m:
      	* Misc.subproj/IFNSStringExtensions.m:
      	* Misc.subproj/WebFoundationDebug.m:
      	Add undefs to work around PFE problem with inline functions, Radar 2920554.
      
      	* CacheLoader.subproj/IFHTTPURLProtocolHandler.m:
      	Fix include to work with normal Project Builder way of dealing with frameworks.
      	Switch from xNDEBUG to NDEBUG.
      
      	* CacheLoader.subproj/IFURLLoad.m:
      	* CookieManager.subproj/IFCookie.m:
      	* Database.subproj/IFURLFileDatabase.m:
      	* Misc.subproj/IFError.m:
      	* Misc.subproj/IFMonitor.h:
      	* Misc.subproj/IFMonitor.m:
      	* Misc.subproj/IFRecursiveReadWriteLock.h:
      	Use import instead of include.
      
      	* Misc.subproj/IFCFNetworkExtensions.m: Added.
      	* Misc.subproj/IFCFRunLoopExtensions.m: Added.
      	* Misc.subproj/IFCFNetworkExtensions.c: Removed.
      	* Misc.subproj/IFCFRunLoopExtensions.c: Removed.
      	Renamed so we could share the Objective-C precompile. No need to compile this code
      	as plain C, even though it doesn't use any Objective-C features.
      
      	* Misc.subproj/WebFoundationDebug.h: Get rid of format attribute because of bug
      	2920557. Switch from xNDEBUG to NDEBUG.
      
      WebCore:
      
      	* WebCorePrefix.h: Added.
      
      	* .cvsignore: Ignore the .pfe files in this directory.
      
      	* khtml/dom/dom_doc.cpp:
      	* khtml/dom/dom_text.cpp:
      	Added namespace directives as a clean workaround for a conflict
      	with the struct named Comment in <Carbon/AIFF.h>
      
      	* kwq/KWQFont.mm:
      	* kwq/KWQFontMetrics.mm:
      	* kwq/KWQKGlobal.mm:
      	* kwq/KWQListImpl.mm:
      	* kwq/KWQPtrDictImpl.h:
      	* kwq/KWQVectorImpl.mm:
      	* kwq/kwqdebug.h:
      	* kwq/qt/qcolor.h:
      	* kwq/qt/qcombobox.h:
      	* kwq/qt/qregion.h:
      	* kwq/qt/qstring.h:
      	* kwq/qt/qwidget.h:
      	Remove old workaround for conflicts with Fixed, Rect, and Boolean.
      	It does not good with a precompiled header anyway, and there is a
      	more elegant small fix in the KDE code itself.
      
      	* kwq/qt/qpoint.h:
      	* kwq/KWQPointArray.mm: (QPointArray::setPoints):
      	Work around bug with va_arg and PFE by not using varargs here.
      
      	* kwq/KWQRect.mm: (QRect::unite): (QRect::operator&):
      	Use std::min and std::max instead of defining our own MIN and MAX, which
      	conflict with something in one of the headers we are precompiling (error
      	message did not make it clear which).
      
      	* kwq/KWQView.mm: (-[KWQHTMLView layout]), (-[KWQHTMLView drawRect:]):
      	Switch from xNDEBUG to NDEBUG.
      
      	* kwq/Makefile.am: Remove stuff for getting at the header inside the
      	ApplicationServices and QD frameworks, since that code is now in WebKit.
      
      	* kwq/kwqdebug.h: Get rid of format attribute because of bug 2920557.
      	Switch from xNDEBUG to NDEBUG.
      
      	* kwq/kwqdebug.mm: Switch from xNDEBUG to NDEBUG.
      
      	* kwq/qt/qstring.h: Define QT_VERSION in here instead of on the command
      	line to work around a PFE bug with -D, Radar 2921026.
      
      WebKit:
      
      	* WebKitPrefix.h: Added.
      	* WebKit.pbproj/project.pbxproj: Use PFE precompiling.
      	Also switch from xNDEBUG to NDEBUG.
      
      	* Misc.subproj/WebKitDebug.h: Get rid of format attribute because of bug
      	2920557. Switch from xNDEBUG to NDEBUG.
      
      	* Misc.subproj/WebKitDebug.m:
      	Add undef to work around PFE problem with inline functions, Radar 2920554.
      
      	* Plugins.subproj/IFPluginView.mm: Changed how we work around the bug in
      	the CGS defines.
      
      	* WebCoreSupport.subproj/IFCachedTextRenderer.h: Change include of the
      	private QD header to use the form that works with more-normal way of
      	getting at the private bits of frameworks.
      
      	* WebCoreSupport.subproj/IFCachedTextRenderer.m: Use the header
      	<CoreGraphics/CoreGraphicsPrivate.h> instead of <CoreGraphics/CGFontPrivate.h>.
      
      	* Misc.subproj/IFCache.mm:
      	* WebView.subproj/IFLoadProgress.mm:
      	* WebView.subproj/IFWebFrame.mm:
      	* WebView.subproj/IFWebFramePrivate.mm:
      	* WebView.subproj/IFWebView.mm:
      	Changed includes to imports.
      
      WebBrowser:
      
      	* WebBrowserPrefix.h: Added.
      	* WebBrowser.pbproj/project.pbxproj: Use PFE precompiling.
      	Also switch from xNDEBUG to NDEBUG.
      
      	* Debug/CacheController.m: Renamed to make it Objective C rather
      	than Objective C++.
      	* Debug/CacheController.mm: Removed.
      
      	* main.m: Use the real __CFA2UC. Use import instead of include.
      	* ___CFA2UC.c: Remove our copy.
      
      	* Debug/DOMTree.mm:
      	* Debug/RenderTree.mm:
      	* Preferences.subproj/ActiveContentPreferences.h:
      	* Preferences.subproj/AppearancePreferences.h:
      	* Preferences.subproj/GeneralPreferences.h:
      	* Preferences.subproj/SecurityPreferences.h:
      	* Preferences.subproj/TextPreferences.h:
      	* Preferences.subproj/WBPreferences.h:
      	* Test/PageLoadTestLogger.m:
      	Use import instead of include.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1102 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ad4bde3d