1. 10 Jun, 2006 1 commit
    • ggaren's avatar
      JavaScriptCore: · 1ec99535
      ggaren authored
              - http://bugzilla.opendarwin.org/show_bug.cgi?id=8515
              Linux porting compile bug
              
              Fix by Mike Emmel, Reviewed by Darin.
      
              * JavaScriptCoreSources.bkl:
              * jscore.bkl:
              * wtf/Platform.h:
      
      WebCore:
      
              - http://bugzilla.opendarwin.org/show_bug.cgi?id=8515
              Linux porting compile bug
              
              Fix by Mike Emmel, Reviewed by Darin.
      
              * Projects/gdk/webcore-gdk.bkl:
              * WebCoreSources.bkl:
              * css/maketokenizer:
              * html/HTMLCanvasElement.cpp:
              * html/HTMLImageElement.h:
              * icon/IconDatabase.cpp:
              * make-generated-sources.sh:
              * page/Frame.h:
              * page/FramePrivate.h:
              * platform/Cursor.h:
              * platform/FontData.h:
              (WebCore::FontData::getGlyphIndex):
              * platform/GlyphBuffer.h:
              (WebCore::GlyphBuffer::glyphAt):
              (WebCore::GlyphBuffer::advanceAt):
              (WebCore::GlyphBuffer::add):
              * platform/GraphicsContext.h:
              * platform/PlatformKeyboardEvent.h:
              * platform/PlatformMouseEvent.h:
              * platform/PlatformWheelEvent.h:
              * platform/ScrollView.h:
              * platform/TransferJob.h:
              (WebCore::TransferJob::getInternal):
              * platform/TransferJobInternal.h:
              (WebCore::TransferJobInternal::TransferJobInternal):
              * platform/Widget.h:
              * platform/cairo/GraphicsContextCairo.cpp:
              (WebCore::GraphicsContext::GraphicsContext):
              (WebCore::GraphicsContext::roundToDevicePixels):
              * webcore-base.bkl:
              * xpath/impl/XPathValue.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14807 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1ec99535
  2. 09 Jun, 2006 2 commits
    • ggaren's avatar
      Build fix -- I think :). · 553fa5fb
      ggaren authored
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * kjs/context.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14801 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      553fa5fb
    • ggaren's avatar
      Reviewed by Eric (yay!). · fd7c1022
      ggaren authored
              
              - Removed Context wrapper for ContextImp, renamed ContextImp to Context,
              split Context into its own file -- Context.cpp -- renamed _var to m_var,
              change ' *' to '* '.
      
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * kjs/Context.cpp: Added.
              (KJS::Context::Context):
              (KJS::Context::~Context):
              (KJS::Context::mark):
              * kjs/context.h:
              (KJS::Context::scopeChain):
              (KJS::Context::variableObject):
              (KJS::Context::setVariableObject):
              (KJS::Context::thisValue):
              (KJS::Context::callingContext):
              (KJS::Context::activationObject):
              (KJS::Context::currentBody):
              (KJS::Context::function):
              (KJS::Context::arguments):
              (KJS::Context::pushScope):
              (KJS::Context::seenLabels):
              * kjs/function.cpp:
              (KJS::FunctionImp::callAsFunction):
              (KJS::FunctionImp::processParameters):
              (KJS::FunctionImp::argumentsGetter):
              (KJS::GlobalFuncImp::callAsFunction):
              * kjs/internal.cpp:
              (KJS::InterpreterImp::evaluate):
              * kjs/internal.h:
              (KJS::InterpreterImp::setContext):
              (KJS::InterpreterImp::context):
              * kjs/interpreter.cpp:
              * kjs/interpreter.h:
              (KJS::ExecState::context):
              (KJS::ExecState::ExecState):
              * kjs/nodes.cpp:
              (currentSourceId):
              (currentSourceURL):
              (ThisNode::evaluate):
              (ResolveNode::evaluate):
              (FunctionCallResolveNode::evaluate):
              (PostfixResolveNode::evaluate):
              (DeleteResolveNode::evaluate):
              (TypeOfResolveNode::evaluate):
              (PrefixResolveNode::evaluate):
              (AssignResolveNode::evaluate):
              (VarDeclNode::evaluate):
              (VarDeclNode::processVarDecls):
              (DoWhileNode::execute):
              (WhileNode::execute):
              (ForNode::execute):
              (ForInNode::execute):
              (ContinueNode::execute):
              (BreakNode::execute):
              (ReturnNode::execute):
              (WithNode::execute):
              (SwitchNode::execute):
              (LabelNode::execute):
              (TryNode::execute):
              (FuncDeclNode::processFuncDecl):
              (FuncExprNode::evaluate):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14799 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fd7c1022
  3. 07 Jun, 2006 1 commit
  4. 05 Jun, 2006 3 commits
  5. 04 Jun, 2006 2 commits
    • ggaren's avatar
      Reviewed by Maciej. · 7a104b48
      ggaren authored
              
              - http://bugzilla.opendarwin.org/show_bug.cgi?id=9304
              Minor cleanup in JavaScriptCore
      
              * kjs/value.h: Removed redundant declarations
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14731 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7a104b48
    • darin's avatar
      Reviewed by Anders. · 57617054
      darin authored
              - changed deleteAllValues so it can work on "const" collections
                Deleting the values affects the values, not the pointers in the
                collection, so it's legitimate to do it to a const collection,
                and a case of that actually came up in the XPath code.
      
              * wtf/HashMap.h:
              (WTF::deleteAllPairSeconds): Use const iterators.
              (WTF::deleteAllValues): Take const HashMap reference as a parameter.
              * wtf/HashSet.h:
              (WTF::deleteAllValues): Take const HashSet reference as a parameter,
              and use const iterators.
              * wtf/Vector.h:
              (WTF::deleteAllValues): Take const Vector reference as a parameter.
      
              - added more functions that are present in <math.h> on some platforms,
                but not on others; moved here from various files in WebCore
      
              * wtf/MathExtras.h:
              (isinf): Added.
              (isnan): Added.
              (lround): Added.
              (lroundf): Tweaked.
              (round): Added.
              (roundf): Tweaked.
              (signbit): Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14728 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      57617054
  6. 02 Jun, 2006 2 commits
  7. 26 May, 2006 1 commit
  8. 24 May, 2006 2 commits
    • thatcher's avatar
      Versioning · cc50029c
      thatcher authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14579 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cc50029c
    • ggaren's avatar
      JavaScriptCore: · 0dc4ae48
      ggaren authored
              Reviewed by mjs.
              
              - JSC half of fix for <rdar://problem/4557926> TOT REGRESSSION: Crash
              occurs when attempting to view image in slideshow mode at
              http://d.smugmug.com/gallery/581716 ( KJS::IfNode::execute
              (KJS::ExecState*) + 312)
      
              On alternate threads, DOMObjects remain in the
              ScriptInterpreter's cache because they're not collected. So, they
              need an opportunity to mark their children.
              
              I'm not particularly happy with this solution because it fails to
              resolve many outstanding issues with the DOM object cache. Since none
              of those issues is a crasher or a serious compatibility concern,
              and since the behavior of other browsers is not much to go on in this
              case, I've filed <rdar://problem/4561439> about that, and I'm moving on 
              with my life.
      
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * kjs/collector.cpp:
              (KJS::Collector::collect):
              * kjs/internal.cpp:
              (KJS::InterpreterImp::mark):
              * kjs/internal.h:
              * kjs/interpreter.cpp:
              (KJS::Interpreter::mark):
              * kjs/interpreter.h:
      
      LayoutTests:
      
              Layout tests for DOM object cache and garbage collection,
              <rdar://problem/4557926> TOT REGRESSION: Crash occurs when attempting 
              to view image in slideshow mode at http://d.smugmug.com/gallery/581716 
              ( KJS::IfNode::execute (KJS::ExecState*) + 312) if you use a PAC file
      
              * fast/dom/gc-8-expected.txt: Added.
              * fast/dom/gc-8.html: Added.
              * fast/dom/gc-9-expected.txt: Added.
              * fast/dom/gc-9.html: Added.
      
      WebCore:
      
              Reviewed by mjs.
      
              - WebCore half of fix for <rdar://problem/4557926> TOT REGRESSION: Crash
              occurs when attempting to view image in slideshow mode at
              http://d.smugmug.com/gallery/581716 ( KJS::IfNode::execute
              (KJS::ExecState*) + 312)
      
              On alternate threads, DOMObjects remain in the
              ScriptInterpreter's cache because they're not collected. So, they
              need an opportunity to mark their children.
              
              I'm not particularly happy with this solution because it fails to
              resolve many outstanding issues with the DOM object cache. Since none
              of those issues is a crasher or a serious compatibility concern,
              and since the behavior of other browsers is not much to go on in this
              case, I've filed <rdar://problem/4561439> about that, and I'm moving 
              on with my life.
      
              Also added functionality for testing garbage collection from inside
              DumpRenderTree.
              
              Also removed XMLHttpRequest from the DOM object cache because XMLHttpRequest
              objects aren't accessed through the DOM.
              
              Also added JS locking around access to some shared data structures in
              WebCoreJavaScript, even though it probably doesn't matter in practice.
      
              * bindings/js/JSXMLHttpRequest.cpp:
              (KJS::JSXMLHttpRequest::JSXMLHttpRequest):
              (KJS::JSXMLHttpRequest::~JSXMLHttpRequest):
              * bindings/js/kjs_binding.cpp:
              (KJS::ScriptInterpreter::mark):
              * bindings/js/kjs_binding.h:
              * bridge/mac/WebCoreJavaScript.h:
              * bridge/mac/WebCoreJavaScript.mm:
              (collect):
              (+[WebCoreJavaScript objectCount]):
              (+[WebCoreJavaScript interpreterCount]):
              (+[WebCoreJavaScript protectedObjectCount]):
              (+[WebCoreJavaScript garbageCollect]):
              (+[WebCoreJavaScript garbageCollectOnAlternateThread:]):
              (+[WebCoreJavaScript shouldPrintExceptions]):
              (+[WebCoreJavaScript setShouldPrintExceptions:]):
      
      WebKitTools:
      
              Reviewed by mjs.
              
              Added 'GCController' to DRT to support garbage collection layout tests.
              
              GCController.collect() and GCController.collectOnAlternateThread() do
              what you would expect. The latter takes a boolean argument sepcifying
              whether to wait for garbage collection to finish before continuing to
              execute script.
      
              * DumpRenderTree/DumpRenderTree.m:
              (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
              * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
              * DumpRenderTree/GCController.h: Added.
              * DumpRenderTree/GCController.mm: Added.
              (+[GCController isSelectorExcludedFromWebScript:]):
              (+[GCController webScriptNameForSelector:]):
              (-[GCController collect]):
              (-[GCController collectOnAlternateThread:]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14569 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0dc4ae48
  9. 22 May, 2006 3 commits
  10. 21 May, 2006 2 commits
  11. 20 May, 2006 1 commit
    • andersca's avatar
      JavaScriptCore: · f4fa2b64
      andersca authored
      2006-05-20  Anders Carlsson  <acarlsson@apple.com>
      
              Reviewed by Geoff.
      
              http://bugzilla.opendarwin.org/show_bug.cgi?id=8993
              Support function declaration in case statements
              
              * kjs/grammar.y: Get rid of StatementList and use SourceElements instead.
              
              * kjs/nodes.cpp:
              (CaseClauseNode::evalStatements):
              (CaseClauseNode::processVarDecls):
              (CaseClauseNode::processFuncDecl):
              (ClauseListNode::processFuncDecl):
              (CaseBlockNode::processFuncDecl):
              (SwitchNode::processFuncDecl):
              * kjs/nodes.h:
              (KJS::CaseClauseNode::CaseClauseNode):
              (KJS::ClauseListNode::ClauseListNode):
              (KJS::ClauseListNode::getClause):
              (KJS::ClauseListNode::getNext):
              (KJS::ClauseListNode::releaseNext):
              (KJS::SwitchNode::SwitchNode):
              Add processFuncDecl for the relevant nodes.        
      
              * kjs/nodes2string.cpp:
              (CaseClauseNode::streamTo):
              next got renamed to source.
      
      LayoutTests:
      
      2006-05-20  Anders Carlsson  <acarlsson@apple.com>
      
              Reviewed by Geoff.
      
              * fast/js/function-declarations-in-switch-statement-expected.txt: Added.
              * fast/js/function-declarations-in-switch-statement.html: Added.
              * fast/js/resources/function-declarations-in-switch-statement.js: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14502 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f4fa2b64
  12. 17 May, 2006 2 commits
  13. 16 May, 2006 1 commit
  14. 15 May, 2006 3 commits
    • ap's avatar
      JavaScriptCore: · 4398a579
      ap authored
              * make-generated-sources.sh: Changed to be executable and removed
              text in the file generated by "svn diff".
      
      WebKitTools:
              * Scripts/install-unix-extras: Changed to be executable and removed
              text in the file generated by "svn diff".
              * Scripts/regenerate-makefiles: Ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14406 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4398a579
    • ggaren's avatar
      JavaScriptCore: · d0f31ffa
      ggaren authored
              Reviewed by Maciej.
      
              - Fixed <rdar://problem/4534904> please do not treat "debugger" as
              a reserved word while parsing JavaScript (and other ECMA reserved
              words) 
      
              AKA 
      
              http://bugzilla.opendarwin.org/show_bug.cgi?id=6179 
              We treat "char" as a reserved word in JavaScript and firefox/IE do
              not
      
              (1) I unreserved most of the spec's "future reserved words" because 
              they're not reserved in IE or FF. (Most, but not all, because IE
              somewhat randomly *does* reserve a few of them.)
              (2) I made 'debugger' a legitimate statement that acts like an empty
              statement because FF and IE support it.
              
              * kjs/grammar.y:
              * kjs/keywords.table:
      
      LayoutTests:
      
              - Tests for JavaScript reserved words and the 'debugger' statement
              <rdar://problem/4534904> 
              AKA
              http://bugzilla.opendarwin.org/show_bug.cgi?id=6179
      
              * fast/js/debugger-expected.txt: Added.
              * fast/js/debugger.html: Added.
              * fast/js/reserved-words-expected.txt: Added.
              * fast/js/reserved-words.html: Added.
              * fast/js/resources/debugger.js: Added.
              * fast/js/resources/reserved-words.js: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14403 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d0f31ffa
    • tomernic's avatar
      JavaScriptCore: · 452bbf99
      tomernic authored
              Reviewed by John Sullivan.
      
              Part of <rdar://problem/4466508> Add 64-bit support to the Netscape Plugin API
      
              Added to the Netscape Plugin API the concept of "plugin drawing models".  The drawing model
              determines the kind of graphics context created by the browser for the plugin, as well as 
              the Mac types of various Netscape Plugin API data structures.
      
              There is a drawing model to represent the old QuickDraw-based API.  It is used by default
              if QuickDraw is available on the system, unless the plugin specifies another drawing model.
      
              The big change is the addition of the CoreGraphics drawing model.  A plugin may request this
              drawing model to obtain access to a CGContextRef for drawing, instead of a QuickDraw CGrafPtr.
      
              * bindings/npapi.h:
              Define NP_NO_QUICKDRAW when compiling 64-bit; there is no 64-bit QuickDraw.
              Added NPNVpluginDrawingModel, NPNVsupportsQuickDrawBool, and NPNVsupportsCoreGraphicsBool
              variables.
              Added NPDrawingModel enumeration.  Currently the only drawing models are QuickDraw and
              CoreGraphics.
              NPRegion's type now depends on the drawing model specified by the plugin.
              NP_Port is now only defined when QuickDraw is available.
              Added NP_CGContext, which is the type of the NPWindow's "window" member in CoreGraphics mode.
      
      WebKit:
      
              Reviewed by John Sullivan.
      
              Part of <rdar://problem/4466508> Add 64-bit support to the Netscape Plugin API
      
              Added to the Netscape Plugin API the concept of "plugin drawing models".  The drawing model
              determines the kind of graphics context created by the browser for the plugin, as well as 
              the Mac types of various Netscape Plugin API data structures.
      
              There is a drawing model to represent the old QuickDraw-based API.  It is used by default
              if QuickDraw is available on the system, unless the plugin specifies another drawing model.
      
              The big change is the addition of the CoreGraphics drawing model.  A plugin may request this
              drawing model to obtain access to a CGContextRef for drawing, instead of a QuickDraw CGrafPtr.
      
              * Plugins/WebBaseNetscapePluginView.h:
              Added PluginPort union, which wraps a NP_Port and a NP_CGContext.  This is to make access to
              the nPort and lastSetPort ivars more convenient now that the port type differs based on the 
              drawing model.
              Changed types of nPort and lastSetPort to PluginPort so they can be used with any drawing model.
              Added drawingModel ivar.
              * Plugins/WebBaseNetscapePluginView.m:
              Renamed PortState to PortState_QD.  PortState is now an opaque pointer.  PortState_QD cannot be
              used if QuickDraw is unavailable.
              (-[WebBaseNetscapePluginView fixWindowPort]):
              Cannot be used if QuickDraw is unavailable.
              (-[WebBaseNetscapePluginView saveAndSetNewPortStateForUpdate:]):
              Only fix window port if drawing model is QuickDraw.
              Re-ordered some code so I could group QuickDraw-specific stuff into switch and if blocks (that's
              why the diff here is so terrible).
              Now returns a malloc()'ed PortState that the caller is responsible for freeing.  Renamed to
              better reflect this behavior.
              Support for the CoreGraphics drawing model -- fill PortState_CG struct, save CGContext state.
              (-[WebBaseNetscapePluginView restorePortState:]):
              Switch based on drawing model.
              Support for the CoreGraphics drawing model -- restore CGContext state saved earlier.
              (-[WebBaseNetscapePluginView sendEvent:]):
              Formatting.
              Don't set save/set port state or set the window in CoreGraphics mode unless the event being
              sent is an updateEvt.  We can't provide the plugin with a CGContext outside of our view display
              cycle.
              Don't restore PortState if it's NULL (didn't used to be a pointer).  Free when we're done with it.
              (-[WebBaseNetscapePluginView isNewWindowEqualToOldWindow]):
              Formatting.
              Switch how we compare ports based on the drawing model.
              (-[WebBaseNetscapePluginView updateAndSetWindow]):
              Fixed for CoreGraphics by triggering a redisplay instead of sending an update event to the plugin
              outside of the view display cycle.
              Don't restore PortState if it's NULL (didn't used to be a pointer).  Free when we're done with it.
              (-[WebBaseNetscapePluginView setWindowIfNecessary]):
              Assert that the window is only set when updating in CoreGraphics mode.
              Log differently depending on the drawing model.
              (-[WebBaseNetscapePluginView start]):
              Fall back on QuickDraw if the plugin does not specify a drawing model.
              (-[WebBaseNetscapePluginView tellQuickTimeToChill]):
              Cannot be used if QuickDraw is unavailable.
              (-[WebBaseNetscapePluginView viewWillMoveToWindow:]):
              Only call -tellQuickTimeToChill in QuickDraw mode.
              (-[WebBaseNetscapePluginView viewHasMoved:]):
              ditto
              (-[WebBaseNetscapePluginView invalidateRegion:]):
              NPRegion is a CGPathRef in CoreGraphics mode.
              (-[WebBaseNetscapePluginView getVariable:value:]):
              Added support for retriveing the NPNVpluginDrawingModel, NPNVsupportsQuickDrawBool, and
              NPNVsupportsCoreGraphicsBool browser variables.
              (-[WebBaseNetscapePluginView setVariable:value:]):
              Added support for setting the NPNVpluginDrawingModel variable.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14397 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      452bbf99
  15. 13 May, 2006 1 commit
    • ap's avatar
      2006-05-13 Kevin M. Ollivier <kevino@theolliviers.com> · f3516ff1
      ap authored
              Reviewed by Darin, landed by ap.
      
              - http://bugzilla.opendarwin.org/show_bug.cgi?id=8528
                Bakefiles (and generated Makefiles) for wx and gdk ports
      
      JavaScriptCore:
              * make-generated-sources.sh: 
              Added script to configure environment to run DerivedSources.make
              
              * JavaScriptCoreSources.bkl:
              Added JavaScriptCore sources list for Bakefile.
              
              * jscore.bkl:
              Bakefile used to generate JavaScriptCore project files 
              (currently only used by wx and gdk ports)
      
      WebCore:
              * make-generated-sources.sh: 
              Added script to configure environment to run DerivedSources.make
              
              * move-js-headers.sh:
              Added script to copy JavaScriptCore includes into one dir so that 
              Framework-style includes will work on all OSes. (written by Mike Emmel)
              
              * platform/wx: New dir, home for the wxWidgets port
              * platform/wx/wx-encodings.txt: Added temp. stub for wx encodings file.
              
              * Projects: New dir, for various project files for ports.
              
              * Projects/gdk: New dir, GDK port files.
              * Projects/webcore-gdk.bkl: Bakefile to generate GDK port project files
              
              * Projects/wx: New dir, wxWidgets port files.
              * Projects/webcore-wx.bkl: Bakefile to generate wxWidgets port project files
      
      WebKitTools:
              * Scripts/install-unix-extras: Added.
              * Scripts/regenerate-makefiles: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14359 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f3516ff1
  16. 09 May, 2006 3 commits
    • sfalken's avatar
      2006-05-09 Steve Falkenburg <sfalken@apple.com> · d180c0c7
      sfalken authored
              Fix Windows build.
              Minor fixes to WTF headers.
              
              Reviewed by kevin.
      
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj: Fix include dirs, paths to files. 
              * JavaScriptCore.vcproj/testkjs/testkjs.vcproj: Fix include dirs.
              * wtf/Assertions.h: include Platform.h to get definition for COMPILER()
              * wtf/Vector.h: include FastMalloc.h for definition of fastMalloc, fastFree
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14263 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d180c0c7
    • mjs's avatar
      Fixed ChangeLog comments. · cb13d724
      mjs authored
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14257 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cb13d724
    • mjs's avatar
      JavaScriptCore: · bb863518
      mjs authored
              Rubber stamped by Anders.
              
              - renamed kxmlcore to wtf
              
              kxmlcore --> wtf
              KXMLCore --> WTF
              WKC --> WTF
      
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * bindings/c/c_instance.cpp:
              * bindings/objc/WebScriptObject.mm:
              * kjs/JSImmediate.h:
              * kjs/Parser.cpp:
              * kjs/Parser.h:
              * kjs/array_object.cpp:
              * kjs/collector.cpp:
              (KJS::Collector::registerThread):
              * kjs/collector.h:
              * kjs/config.h:
              * kjs/function.cpp:
              (KJS::isStrWhiteSpace):
              * kjs/function.h:
              * kjs/identifier.cpp:
              * kjs/internal.cpp:
              * kjs/internal.h:
              * kjs/lexer.cpp:
              (Lexer::shift):
              (Lexer::isWhiteSpace):
              (Lexer::isIdentStart):
              (Lexer::isIdentPart):
              * kjs/lookup.cpp:
              * kjs/nodes.cpp:
              * kjs/nodes.h:
              * kjs/number_object.cpp:
              * kjs/object.h:
              * kjs/property_map.cpp:
              * kjs/property_map.h:
              * kjs/string_object.cpp:
              (StringProtoFunc::callAsFunction):
              * kjs/testkjs.cpp:
              (testIsInteger):
              * kjs/ustring.cpp:
              * kjs/ustring.h:
              * kxmlcore: Removed.
              * kxmlcore/AlwaysInline.h: Removed.
              * kxmlcore/Assertions.cpp: Removed.
              * kxmlcore/Assertions.h: Removed.
              * kxmlcore/FastMalloc.cpp: Removed.
              * kxmlcore/FastMalloc.h: Removed.
              * kxmlcore/FastMallocInternal.h: Removed.
              * kxmlcore/Forward.h: Removed.
              * kxmlcore/HashCountedSet.h: Removed.
              * kxmlcore/HashFunctions.h: Removed.
              * kxmlcore/HashMap.h: Removed.
              * kxmlcore/HashSet.h: Removed.
              * kxmlcore/HashTable.cpp: Removed.
              * kxmlcore/HashTable.h: Removed.
              * kxmlcore/HashTraits.h: Removed.
              * kxmlcore/ListRefPtr.h: Removed.
              * kxmlcore/Noncopyable.h: Removed.
              * kxmlcore/OwnArrayPtr.h: Removed.
              * kxmlcore/OwnPtr.h: Removed.
              * kxmlcore/PassRefPtr.h: Removed.
              * kxmlcore/Platform.h: Removed.
              * kxmlcore/RefPtr.h: Removed.
              * kxmlcore/TCPageMap.h: Removed.
              * kxmlcore/TCSpinLock.h: Removed.
              * kxmlcore/TCSystemAlloc.cpp: Removed.
              * kxmlcore/TCSystemAlloc.h: Removed.
              * kxmlcore/UnusedParam.h: Removed.
              * kxmlcore/Vector.h: Removed.
              * kxmlcore/VectorTraits.h: Removed.
              * kxmlcore/unicode: Removed.
              * kxmlcore/unicode/Unicode.h: Removed.
              * kxmlcore/unicode/UnicodeCategory.h: Removed.
              * kxmlcore/unicode/icu: Removed.
              * kxmlcore/unicode/icu/UnicodeIcu.h: Removed.
              * kxmlcore/unicode/posix: Removed.
              * kxmlcore/unicode/qt3: Removed.
              * kxmlcore/unicode/qt4: Removed.
              * kxmlcore/unicode/qt4/UnicodeQt4.h: Removed.
              * pcre/pcre_get.c:
              * wtf: Added.
              * wtf/Assertions.cpp:
              * wtf/Assertions.h:
              * wtf/FastMalloc.cpp:
              (WTF::TCMalloc_ThreadCache::Scavenge):
              (WTF::do_malloc):
              (WTF::do_free):
              (WTF::TCMallocGuard::TCMallocGuard):
              (WTF::malloc):
              (WTF::free):
              (WTF::calloc):
              (WTF::cfree):
              (WTF::realloc):
              * wtf/FastMalloc.h:
              * wtf/FastMallocInternal.h:
              * wtf/Forward.h:
              * wtf/HashCountedSet.h:
              * wtf/HashFunctions.h:
              * wtf/HashMap.h:
              * wtf/HashSet.h:
              * wtf/HashTable.cpp:
              * wtf/HashTable.h:
              * wtf/HashTraits.h:
              * wtf/ListRefPtr.h:
              * wtf/Noncopyable.h:
              * wtf/OwnArrayPtr.h:
              * wtf/OwnPtr.h:
              * wtf/PassRefPtr.h:
              * wtf/RefPtr.h:
              * wtf/TCSystemAlloc.cpp:
              (TCMalloc_SystemAlloc):
              * wtf/Vector.h:
              * wtf/VectorTraits.h:
              * wtf/unicode/UnicodeCategory.h:
              * wtf/unicode/icu/UnicodeIcu.h:
      
      JavaScriptGlue:
      
              Rubber stamped by Anders.
              
              - renamed kxmlcore to wtf
              
              kxmlcore --> wtf
              KXMLCore --> WTF
              WKC --> WTF
      
              * config.h:
              * kxmlcore: Removed.
              * kxmlcore/AlwaysInline.h: Removed.
              * kxmlcore/Assertions.h: Removed.
              * kxmlcore/FastMalloc.h: Removed.
              * kxmlcore/Forward.h: Removed.
              * kxmlcore/HashCountedSet.h: Removed.
              * kxmlcore/HashSet.h: Removed.
              * kxmlcore/Noncopyable.h: Removed.
              * kxmlcore/OwnArrayPtr.h: Removed.
              * kxmlcore/OwnPtr.h: Removed.
              * kxmlcore/PassRefPtr.h: Removed.
              * kxmlcore/Platform.h: Removed.
              * kxmlcore/RefPtr.h: Removed.
              * kxmlcore/Vector.h: Removed.
              * wtf: Added.
      
      WebCore:
      
              Rubber stamped by Anders.
              
              - renamed kxmlcore to wtf
              
              kxmlcore --> wtf
              KXMLCore --> WTF
              WKC --> WTF
      
              * ForwardingHeaders/kxmlcore: Removed.
              * ForwardingHeaders/kxmlcore/AlwaysInline.h: Removed.
              * ForwardingHeaders/kxmlcore/Assertions.h: Removed.
              * ForwardingHeaders/kxmlcore/FastMalloc.h: Removed.
              * ForwardingHeaders/kxmlcore/Forward.h: Removed.
              * ForwardingHeaders/kxmlcore/HashCountedSet.h: Removed.
              * ForwardingHeaders/kxmlcore/HashMap.h: Removed.
              * ForwardingHeaders/kxmlcore/HashSet.h: Removed.
              * ForwardingHeaders/kxmlcore/HashTraits.h: Removed.
              * ForwardingHeaders/kxmlcore/Noncopyable.h: Removed.
              * ForwardingHeaders/kxmlcore/OwnArrayPtr.h: Removed.
              * ForwardingHeaders/kxmlcore/OwnPtr.h: Removed.
              * ForwardingHeaders/kxmlcore/PassRefPtr.h: Removed.
              * ForwardingHeaders/kxmlcore/Platform.h: Removed.
              * ForwardingHeaders/kxmlcore/RefPtr.h: Removed.
              * ForwardingHeaders/kxmlcore/Vector.h: Removed.
              * ForwardingHeaders/wtf: Added.
              * bindings/js/JSHTMLElementWrapperFactory.h:
              * bindings/js/kjs_binding.cpp:
              * bindings/js/kjs_window.h:
              * bindings/objc/DOMImplementationFront.h:
              * bridge/JavaAppletWidget.h:
              * bridge/mac/WebCoreFrameNamespaces.mm:
              * bridge/mac/WebCorePageBridge.mm:
              (initializeLogChannel):
              * bridge/mac/WebCoreStringTruncator.mm:
              * bridge/mac/WebCoreViewFactory.m:
              * config.h:
              * css/css_base.h:
              * css/css_valueimpl.h:
              * css/csshelper.cpp:
              * css/cssparser.h:
              * dom/DOMImplementation.h:
              * dom/Document.h:
              * dom/NamedNodeMap.h:
              * dom/Node.h:
              * dom/NodeList.h:
              * dom/QualifiedName.cpp:
              * dom/Range.h:
              * dom/StyledElement.cpp:
              * dom/dom2_traversalimpl.h:
              * dom/xml_tokenizer.h:
              * editing/RebalanceWhitespaceCommand.cpp:
              * editing/RemoveCSSPropertyCommand.cpp:
              * editing/RemoveNodeAttributeCommand.cpp:
              * editing/RemoveNodeCommand.cpp:
              * editing/RemoveNodePreservingChildrenCommand.cpp:
              * editing/ReplaceSelectionCommand.h:
              * editing/Selection.cpp:
              * editing/SetNodeAttributeCommand.cpp:
              * editing/SplitElementCommand.cpp:
              * editing/SplitTextNodeCommand.cpp:
              * editing/SplitTextNodeContainingElementCommand.cpp:
              * editing/TextIterator.h:
              * editing/htmlediting.h:
              * editing/markup.h:
              * html/CanvasGradient.h:
              * html/CanvasRenderingContext2D.h:
              * html/CanvasStyle.cpp:
              * html/HTMLCollection.h:
              * html/HTMLElementFactory.h:
              * kcanvas/KCanvasFilters.cpp:
              * kcanvas/KCanvasPath.h:
              * kcanvas/RenderPath.cpp:
              * kcanvas/RenderSVGImage.cpp:
              * kcanvas/RenderSVGText.cpp:
              * kcanvas/device/quartz/KCanvasItemQuartz.mm:
              * kcanvas/device/quartz/KRenderingPaintServerGradientQuartz.mm:
              * kcanvas/device/quartz/QuartzSupport.mm:
              * ksvg2/misc/KSVGTimeScheduler.h:
              * ksvg2/misc/SVGDocumentExtensions.h:
              * ksvg2/scripts/make_names.pl:
              * ksvg2/svg/SVGDOMImplementation.cpp:
              * ksvg2/svg/SVGExternalResourcesRequired.h:
              * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.cpp:
              * ksvg2/svg/SVGForeignObjectElement.cpp:
              * ksvg2/svg/SVGImageElement.cpp:
              * ksvg2/svg/SVGMaskElement.cpp:
              * ksvg2/svg/SVGStyledElement.cpp:
              * ksvg2/svg/SVGTests.h:
              * ksvg2/svg/SVGTransform.h:
              * ksvg2/svg/SVGTransformable.cpp:
              * kwq/AccessibilityObjectCache.h:
              * kwq/KWQCString.cpp:
              * kwq/KWQFormData.mm:
              * kwq/KWQListBox.mm:
              * kwq/KWQResourceLoader.mm:
              * kwq/KWQTextEdit.mm:
              * loader/Cache.h:
              * loader/CachedObject.h:
              * loader/CachedObjectClientWalker.h:
              * loader/Decoder.h:
              * loader/DocLoader.h:
              * loader/loader.cpp:
              * loader/loader.h:
              * page/DOMWindow.h:
              * page/Frame.h:
              * page/FramePrivate.h:
              * page/FrameTree.cpp:
              * page/Page.cpp:
              * page/Page.h:
              * page/Plugin.h:
              * platform/Arena.cpp:
              * platform/ArrayImpl.h:
              * platform/AtomicString.cpp:
              * platform/CharsetNames.cpp:
              * platform/Color.cpp:
              * platform/DeprecatedPtrListImpl.cpp:
              * platform/DeprecatedValueListImpl.h:
              * platform/FontFallbackList.h:
              * platform/GraphicsContext.h:
              * platform/GraphicsTypes.cpp:
              * platform/Image.h:
              * platform/KURL.cpp:
              * platform/Logging.cpp:
              * platform/Logging.h:
              * platform/PlatformString.h:
              * platform/PlugInInfoStore.h:
              * platform/StreamingTextDecoder.cpp:
              * platform/StreamingTextDecoder.h:
              * platform/String.cpp:
              * platform/StringHash.h:
              * platform/StringImpl.cpp:
              * platform/StringImpl.h:
              * platform/TextEncoding.cpp:
              * platform/Timer.cpp:
              * platform/Timer.h:
              * platform/TransferJob.h:
              * platform/TransferJobInternal.h:
              * platform/mac/BlockExceptions.mm:
              * platform/mac/ColorMac.mm:
              * platform/mac/FontData.mm:
              * platform/mac/KURLMac.mm:
              * platform/mac/QStringMac.mm:
              * platform/mac/SharedTimerMac.cpp:
              * platform/mac/TextEncodingMac.cpp:
              * platform/mac/WebCoreImageRendererFactory.m:
              * platform/mac/WebCoreKeyGenerator.m:
              * platform/mac/WebCoreTextArea.mm:
              * platform/mac/WebCoreTextField.mm:
              * platform/mac/WebTextRendererFactory.h:
              * platform/mac/WebTextRendererFactory.mm:
              * platform/win/TemporaryLinkStubs.cpp:
              (JavaAppletWidget::JavaAppletWidget):
              * rendering/InlineTextBox.cpp:
              * rendering/RenderText.cpp:
              * rendering/RenderTreeAsText.cpp:
              * rendering/bidi.cpp:
              * xml/XSLTProcessor.h:
              * xpath/impl/XPathExpressionNode.h:
              * xpath/impl/XPathParser.h:
              * xpath/impl/XPathPath.h:
              * xpath/impl/XPathUtil.h:
      
      WebKit:
      
              Rubber stamped by Anders.
              
              - renamed kxmlcore to wtf
              
              kxmlcore --> wtf
              KXMLCore --> WTF
              WKC --> WTF
      
              * Misc/WebKitLogging.h:
              * Misc/WebKitLogging.m:
              (initializeLogChannel):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14256 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bb863518
  17. 08 May, 2006 2 commits
  18. 07 May, 2006 1 commit
    • mjs's avatar
      JavaScriptCore: · 21337e93
      mjs authored
              Reviewed and landed by Maciej.
      
              - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8765
              Random crashes on TOT since the form state change
              
              I haven't figured out how to construct a test for this, but this does seem to fix the
              problem; Mitz mentioned that a double-destroy was occurring in these functions.
              
              * kxmlcore/HashMap.h: (KXMLCore::HashMap::remove): Use RefCounter::deref instead of calling
              ~ValueType, because ~ValueType often results in a double-destroy, since the HashTable also
              destroys the element based on the storage type. The RefCounter template correctly does work
              only in cases where ValueType and ValueStorageType differe and this class is what's used
              elsewhere for the same purpose; I somehow missed this case when optimizing HashMap.
              * kxmlcore/HashSet.h: (KXMLCore::HashSet::remove): Ditto.
      
      WebCore:
      
              Suggested by Mitz. Reviewed and landed by Maciej.
              
              * dom/Document.cpp: (WebCore::Document::formElementsState): Fixed mistake where the
              vector has an initial size and instead should have an initial capacity. Harmless in
              a way, but hurts performance.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14221 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      21337e93
  19. 05 May, 2006 1 commit
  20. 04 May, 2006 1 commit
  21. 02 May, 2006 2 commits
  22. 01 May, 2006 3 commits