1. 07 Jul, 2006 1 commit
  2. 05 Jul, 2006 1 commit
    • ggaren's avatar
      JavaScriptCore: · 2008a981
      ggaren authored
              Reviewed by Maciej.
      
              - Return syntax error in JSCheckSyntax through a JSValueRef* exception
              argument
              
              * API/JSBase.h:
              * API/JSContextRef.cpp:
              (JSCheckSyntax):
              * API/testapi.c:
              (main):
              * JavaScriptCore.exp:
              * kjs/interpreter.cpp:
              (KJS::Interpreter::checkSyntax):
              * kjs/interpreter.h:
      
      JavaScriptGlue:
      
              Reviewed by Maciej.
              
              * JSRun.cpp:
              (JSRun::CheckSyntax): Updated to use new checkSyntax syntax in JSC.
              * JavaScriptGlue.xcodeproj/project.pbxproj:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15163 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2008a981
  3. 30 Jun, 2006 1 commit
  4. 28 Jun, 2006 1 commit
    • thatcher's avatar
      JavaScriptCore: · d420935a
      thatcher authored
              Prefer the Stabs debugging symbols format until DWARF bugs are fixed.
      
              * JavaScriptCore.xcodeproj/project.pbxproj:
      
      JavaScriptGlue:
      
              Prefer the Stabs debugging symbols format until DWARF bugs are fixed.
      
              * JavaScriptGlue.xcodeproj/project.pbxproj:
      
      WebCore:
      
              Prefer the Stabs debugging symbols format until DWARF bugs are fixed.
      
              * WebCore.xcodeproj/project.pbxproj:
      
      WebKit:
      
              Prefer the Stabs debugging symbols format until DWARF bugs are fixed.
      
              * WebKit.xcodeproj/project.pbxproj:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15085 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d420935a
  5. 24 Jun, 2006 1 commit
    • ddkilzer's avatar
      JavaScriptCore: · 577f0491
      ddkilzer authored
              Reviewed by Timothy.
      
              * Info.plist: Fixed copyright to include 2003-2006.
      
      JavaScriptGlue:
      
              Reviewed by Timothy.
      
              * Info.plist: Fixed copyright to include 2003-2006.
      
      WebCore:
      
              Reviewed by Timothy.
      
              * Info.plist: Fixed copyright to include 2003-2006.
              * manual-tests/NPN_Invoke/Info.plist: Added copyright statement.
      
      WebKit:
      
              Reviewed by Timothy.
      
              * Info.plist: Fixed copyright to include 2003-2006.
      
      WebKitTools:
      
              Reviewed by Timothy.
      
              * DrawTest/Info.plist: Added copyright statement.
              * Drosera/Info.plist: Ditto.
              * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Ditto.
              * WebKitLauncher/Info.plist: Ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15017 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      577f0491
  6. 22 Jun, 2006 1 commit
  7. 21 Jun, 2006 1 commit
    • ggaren's avatar
      JavaScriptCore: · 2593cdc4
      ggaren authored
              Reviewed by Anders.
              
              - First cut at C API to JavaScript. Includes a unit test, 'testapi.c', 
              and the outline of a test app, 'minidom.c'.
              
              Includes one change to JSC internals: Rename propList to getPropertyList and have it
              take its target property list by reference so that subclasses can
              add properties to the list before calling through to their superclasses.
              
              Also, I just ran prepare-ChangeLog in about 10 seconds, and I would like
              to give a shout-out to that.
              
              * API/APICast.h: Added.
              (toJS):
              (toRef):
              * API/JSBase.h: Added.
              * API/JSCallbackObject.cpp: Added.
              (KJS::):
              (KJS::JSCallbackObject::JSCallbackObject):
              (KJS::JSCallbackObject::~JSCallbackObject):
              (KJS::JSCallbackObject::className):
              (KJS::JSCallbackObject::getOwnPropertySlot):
              (KJS::JSCallbackObject::put):
              (KJS::JSCallbackObject::deleteProperty):
              (KJS::JSCallbackObject::implementsConstruct):
              (KJS::JSCallbackObject::construct):
              (KJS::JSCallbackObject::implementsCall):
              (KJS::JSCallbackObject::callAsFunction):
              (KJS::JSCallbackObject::getPropertyList):
              (KJS::JSCallbackObject::toBoolean):
              (KJS::JSCallbackObject::toNumber):
              (KJS::JSCallbackObject::toString):
              (KJS::JSCallbackObject::setPrivate):
              (KJS::JSCallbackObject::getPrivate):
              (KJS::JSCallbackObject::cachedValueGetter):
              (KJS::JSCallbackObject::callbackGetter):
              * API/JSCallbackObject.h: Added.
              (KJS::JSCallbackObject::classInfo):
              * API/JSCharBufferRef.cpp: Added.
              (JSStringMake):
              (JSCharBufferCreate):
              (JSCharBufferCreateUTF8):
              (JSCharBufferRetain):
              (JSCharBufferRelease):
              (JSValueCopyStringValue):
              (JSCharBufferGetLength):
              (JSCharBufferGetCharactersPtr):
              (JSCharBufferGetCharacters):
              (JSCharBufferGetMaxLengthUTF8):
              (JSCharBufferGetCharactersUTF8):
              (JSCharBufferIsEqual):
              (JSCharBufferIsEqualUTF8):
              (JSCharBufferCreateWithCFString):
              (CFStringCreateWithJSCharBuffer):
              * API/JSCharBufferRef.h: Added.
              * API/JSContextRef.cpp: Added.
              (JSContextCreate):
              (JSContextDestroy):
              (JSContextGetGlobalObject):
              (JSEvaluate):
              (JSCheckSyntax):
              (JSContextHasException):
              (JSContextGetException):
              (JSContextClearException):
              (JSContextSetException):
              * API/JSContextRef.h: Added.
              * API/JSObjectRef.cpp: Added.
              (JSValueToObject):
              (JSObjectMake):
              (JSFunctionMake):
              (JSObjectGetDescription):
              (JSObjectGetPrototype):
              (JSObjectSetPrototype):
              (JSObjectHasProperty):
              (JSObjectGetProperty):
              (JSObjectSetProperty):
              (JSObjectDeleteProperty):
              (JSObjectGetPrivate):
              (JSObjectSetPrivate):
              (JSObjectIsFunction):
              (JSObjectCallAsFunction):
              (JSObjectIsConstructor):
              (JSObjectCallAsConstructor):
              (__JSPropertyListEnumerator::__JSPropertyListEnumerator):
              (JSObjectCreatePropertyEnumerator):
              (JSPropertyEnumeratorGetNext):
              (JSPropertyEnumeratorRetain):
              (JSPropertyEnumeratorRelease):
              (JSPropertyListAdd):
              * API/JSObjectRef.h: Added.
              * API/JSValueRef.cpp: Added.
              (JSValueGetType):
              (JSValueIsUndefined):
              (JSValueIsNull):
              (JSValueIsBoolean):
              (JSValueIsNumber):
              (JSValueIsString):
              (JSValueIsObject):
              (JSValueIsEqual):
              (JSValueIsStrictEqual):
              (JSUndefinedMake):
              (JSNullMake):
              (JSBooleanMake):
              (JSNumberMake):
              (JSValueToBoolean):
              (JSValueToNumber):
              (JSGCProtect):
              (JSGCUnprotect):
              (JSGCCollect):
              * API/JSValueRef.h: Added.
              * API/JavaScriptCore.h: Added.
              * API/minidom.c: Added.
              (main):
              * API/minidom.html: Added.
              * API/minidom.js: Added.
              * API/testapi.c: Added.
              (assertEqualsAsBoolean):
              (assertEqualsAsNumber):
              (assertEqualsAsUTF8String):
              (assertEqualsAsCharactersPtr):
              (assertEqualsAsCharacters):
              (MyObject_initialize):
              (MyObject_copyDescription):
              (MyObject_hasProperty):
              (MyObject_getProperty):
              (MyObject_setProperty):
              (MyObject_deleteProperty):
              (MyObject_getPropertyList):
              (MyObject_callAsFunction):
              (MyObject_callAsConstructor):
              (MyObject_convertToType):
              (MyObject_finalize):
              (print_callAsFunction):
              (main):
              (createStringWithContentsOfFile):
              * API/testapi.js: Added.
              * ChangeLog:
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * bindings/npruntime_impl.h:
              * kjs/array_instance.h:
              * kjs/array_object.cpp:
              (ArrayInstance::getPropertyList):
              * kjs/interpreter.cpp:
              (KJS::Interpreter::evaluate):
              * kjs/nodes.cpp:
              (ForInNode::execute):
              * kjs/object.cpp:
              (KJS::JSObject::put):
              (KJS::JSObject::canPut):
              (KJS::JSObject::deleteProperty):
              (KJS::JSObject::propertyIsEnumerable):
              (KJS::JSObject::getPropertyAttributes):
              (KJS::JSObject::getPropertyList):
              * kjs/object.h:
              * kjs/property_map.cpp:
              (KJS::PropertyMap::get):
              * kjs/property_map.h:
              * kjs/scope_chain.cpp:
              (KJS::ScopeChain::print):
              * kjs/string_object.cpp:
              (StringInstance::getPropertyList):
              * kjs/string_object.h:
              * kjs/ustring.h:
              (KJS::UString::Rep::ref):
      
      JavaScriptGlue:
      
              Reviewed by Anders.
              
              - Required for JS API: Rename propList to getPropertyList and have it
              take its target property list by reference so that subclasses can
              add properties to the list before calling through to their superclasses.
      
              * JSUtils.cpp:
              (KJSValueToCFTypeInternal):
              * JSValueWrapper.cpp:
              (JSValueWrapper::JSObjectCopyPropertyNames):
              * UserObjectImp.cpp:
              (UserObjectImp::getPropertyList):
              * UserObjectImp.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14951 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2593cdc4
  8. 15 Jun, 2006 1 commit
    • thatcher's avatar
      JavaScriptCore: · dfee4748
      thatcher authored
              Reviewed by Geoff and Darin.
              
              Prefer the DWARF debugging symbols format for use in Xcode 2.3.
      
              * JavaScriptCore.xcodeproj/project.pbxproj:
      
      JavaScriptGlue:
      
              Reviewed by Geoff and Darin.
              
              Prefer the DWARF debugging symbols format for use in Xcode 2.3.
      
              * JavaScriptGlue.xcodeproj/project.pbxproj:
      
      WebCore:
      
              Reviewed by Geoff and Darin.
              
              Prefer the DWARF debugging symbols format for use in Xcode 2.3.
      
              * WebCore.xcodeproj/project.pbxproj:
      
      WebKit:
      
              Reviewed by Geoff and Darin.
              
              Prefer the DWARF debugging symbols format for use in Xcode 2.3.
      
              * WebKit.xcodeproj/project.pbxproj:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14883 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dfee4748
  9. 13 Jun, 2006 1 commit
    • ggaren's avatar
      JavaScriptCore: · 01b2e77a
      ggaren authored
              Reviewed by TimO, Maciej.
              
              - Merged InterpreterImp code into Interpreter, which implements
              all interpreter functionality now. This is part of my continuing quest
              to create an external notion of JS "execution context" that is unified and simple --
              something to replace the mix of Context, ContextImp, ExecState, Interpreter,
              InterpreterImp, and JSRun.
              
              All tests pass. Leaks test has not regressed from its baseline ~207 leaks
              with ~3460 leaked nodes.
      
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * bindings/NP_jsobject.cpp:
              * bindings/objc/WebScriptObject.mm:
              (+[WebScriptObject throwException:]):
              * bindings/runtime_root.cpp:
              * bindings/runtime_root.h:
              * kjs/Context.cpp:
              (KJS::Context::Context):
              * kjs/ExecState.cpp: Added.
              (KJS::ExecState::lexicalInterpreter):
              * ...
      01b2e77a
  10. 22 May, 2006 1 commit
  11. 09 May, 2006 2 commits
    • 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:
             ...
      bb863518
  12. 11 Apr, 2006 2 commits
    • darin's avatar
      JavaScriptCore: · aaf8b709
      darin authored
              - try to fix Windows build -- HashForward.h was not working
      
              * kxmlcore/HashForward.h: Removed.
      
              * JavaScriptCore.xcodeproj/project.pbxproj: Remove HashForward.h.
              * kjs/collector.h: Remove use of HashForward.h.
              * kxmlcore/HashCountedSet.h: Remove include of HashForward.h, restore
              default arguments.
              * kxmlcore/HashMap.h: Ditto.
              * kxmlcore/HashSet.h: Ditto.
      
      JavaScriptGlue:
      
              - try to fix Windows build
      
              * kxmlcore/HashForward.h: Removed.
      
      WebCore:
      
              - try to fix Windows build
      
              * ForwardingHeaders/kxmlcore/HashForward.h: Removed.
              * dom/xml_tokenizer.h: Include another header instead of HashForward.h.
              * loader/Cache.h: Ditto.
              * page/Page.h: Ditto.
              * platform/TransferJob.h: Ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13830 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      aaf8b709
    • darin's avatar
      JavaScriptCore: · 36d1136a
      darin authored
              Rubber-stamped by John Sullivan.
      
              - switched from a shell script to a makefile for generated files
              - removed lots of unneeded includes
              - added new Forward.h and HashForward.h headers that allow compiling with
                fewer unneeded templates
      
              * DerivedSources.make: Added.
              * generate-derived-sources: Removed.
              * JavaScriptCore.xcodeproj/project.pbxproj: Added new files, changed to use
              DerivedSources.make.
      
              * kxmlcore/Forward.h: Added.
              * kxmlcore/HashForward.h: Added.
      
              * kxmlcore/HashCountedSet.h: Include HashForward for default args.
              * kxmlcore/HashMap.h: Ditto.
              * kxmlcore/HashSet.h: Ditto.
      
              * kjs/object.h:
              * kjs/object.cpp:
              Moved KJS_MAX_STACK into the .cpp file.
      
              * bindings/NP_jsobject.cpp:
              * bindings/c/c_instance.h:
              * bindings/jni/jni_class.h:
              * bindings/jni/jni_runtime.h:
              * bindings/jni/jni_utility.h:
              * bindings/objc/WebScriptObject.mm:
              * bindings/objc/WebScriptObjectPrivate.h:
              * bindings/objc/objc_class.h:
              * bindings/objc/objc_class.mm:
              * bindings/objc/objc_instance.h:
              * bindings/objc/objc_instance.mm:
              * bindings/objc/objc_runtime.mm:
              * bindings/objc/objc_utility.mm:
              * bindings/runtime.h:
              * bindings/runtime_array.cpp:
              * bindings/runtime_array.h:
              * bindings/runtime_method.cpp:
              * bindings/runtime_method.h:
              * bindings/runtime_object.cpp:
              * bindings/runtime_root.h:
              * kjs/JSImmediate.cpp:
              * kjs/Parser.h:
              * kjs/array_object.cpp:
              * kjs/array_object.h:
              * kjs/bool_object.cpp:
              * kjs/bool_object.h:
              * kjs/collector.h:
              * kjs/context.h:
              * kjs/debugger.cpp:
              * kjs/error_object.h:
              * kjs/function_object.h:
              * kjs/internal.h:
              * kjs/lexer.cpp:
              * kjs/math_object.cpp:
              * kjs/math_object.h:
              * kjs/nodes.cpp:
              * kjs/nodes.h:
              * kjs/number_object.cpp:
              * kjs/number_object.h:
              * kjs/object_object.cpp:
              * kjs/operations.cpp:
              * kjs/protected_reference.h:
              * kjs/reference.h:
              * kjs/reference_list.h:
              * kjs/regexp_object.h:
              * kjs/string_object.cpp:
              * kjs/string_object.h:
              * kjs/testkjs.cpp:
              * kjs/value.cpp:
              * kjs/value.h:
              * kxmlcore/HashTable.h:
              * kxmlcore/ListRefPtr.h:
              * kxmlcore/TCPageMap.h:
              * kxmlcore/Vector.h:
              Removed unneeded header includes.
      
      JavaScriptGlue:
      
              Rubber-stamped by John Sullivan.
      
              - added forwarding headers for the new Forward.h and HashForward.h files
      
              * kxmlcore/Forward.h: Added.
              * kxmlcore/HashForward.h: Added.
      
      WebCore:
      
              Rubber-stamped by John Sullivan (except for pbxproj change).
      
              - updated to use the new Forward.h and HashForward.h headers
              - moved the showTree debugging functions out of the WebCore
                namespace so they are easier to call from gdb, and renamed
                the showTree member functions so they don't get in the way;
                now you can do "call showTree(x)" in gdb and it just works
              - removed a lot of unneeded includes
      
              * WebCore.xcodeproj/project.pbxproj: Fixed a lot of paths that
              were not relative to the enclosing group.
      
              * ForwardingHeaders/kxmlcore/Forward.h: Added.
              * ForwardingHeaders/kxmlcore/HashForward.h: Added.
              * bindings/js/JSCanvasRenderingContext2DBase.cpp:
              * bindings/js/JSXMLHttpRequest.cpp:
              * bindings/js/JSXMLHttpRequest.h:
              * bindings/js/JSXSLTProcessor.h:
              * bindings/js/kjs_binding.h:
              * bindings/js/kjs_dom.cpp:
              * bindings/js/kjs_dom.h:
              * bindings/js/kjs_events.cpp:
              * bindings/js/kjs_events.h:
              * bindings/js/kjs_html.cpp:
              * bindings/js/kjs_navigator.cpp:
              * bindings/js/kjs_navigator.h:
              * bindings/js/kjs_proxy.cpp:
              * bindings/js/kjs_traversal.h:
              * bindings/js/kjs_window.cpp:
              * bindings/js/kjs_window.h:
              * bindings/objc/DOM.mm:
              * bindings/objc/DOMCSS.mm:
              * bindings/objc/DOMCore.h:
              * bindings/objc/DOMEvents.mm:
              * bindings/objc/DOMHTML.mm:
              * bindings/objc/DOMImplementationFront.h:
              * bindings/objc/DOMInternal.mm:
              * bindings/objc/DOMUtility.mm:
              * bindings/objc/DOMViews.mm:
              * bridge/BrowserExtension.h:
              * bridge/mac/BrowserExtensionMac.mm:
              * bridge/mac/FrameMac.h:
              * bridge/mac/FrameMac.mm:
              * bridge/mac/WebCoreFrameBridge.mm:
              * bridge/mac/WebCoreFrameNamespaces.mm:
              * bridge/mac/WebCoreJavaScript.mm:
              * bridge/win/PageWin.cpp:
              * css/CSSComputedStyleDeclaration.cpp:
              * css/css_base.h:
              * css/css_ruleimpl.h:
              * css/css_valueimpl.cpp:
              * css/cssparser.cpp:
              * css/cssparser.h:
              * css/cssstyleselector.cpp:
              * css/cssstyleselector.h:
              * dom/AbstractView.h:
              * dom/AtomicStringList.h:
              * dom/Attribute.cpp:
              * dom/Attribute.h:
              * dom/Comment.cpp:
              * dom/ContainerNode.cpp:
              * dom/DOMImplementation.cpp:
              * dom/DOMImplementation.h:
              * dom/Document.cpp:
              * dom/Document.h:
              * dom/Element.h:
              * dom/EventTargetNode.cpp:
              (WebCore::EventTargetNode::dump):
              (WebCore::forbidEventDispatch):
              (WebCore::allowEventDispatch):
              (WebCore::eventDispatchForbidden):
              * dom/EventTargetNode.h:
              (WebCore::EventTargetNode::postDispatchEventHandler):
              * dom/NamedAttrMap.h:
              * dom/Node.cpp:
              (WebCore::Node::showNode):
              (WebCore::Node::showTree):
              (WebCore::Node::showTreeAndMark):
              (showTree):
              * dom/Node.h:
              * dom/NodeList.cpp:
              * dom/NodeList.h:
              * dom/Position.cpp:
              (showTree):
              * dom/Position.h:
              * dom/Range.cpp:
              * dom/Range.h:
              * dom/StyledElement.cpp:
              * dom/StyledElement.h:
              * dom/dom2_eventsimpl.cpp:
              * dom/dom2_eventsimpl.h:
              * dom/dom2_traversalimpl.h:
              * dom/dom_xmlimpl.cpp:
              * dom/xml_tokenizer.cpp:
              * dom/xml_tokenizer.h:
              * editing/AppendNodeCommand.cpp:
              * editing/ApplyStyleCommand.cpp:
              * editing/ApplyStyleCommand.h:
              * editing/BreakBlockquoteCommand.cpp:
              * editing/CompositeEditCommand.cpp:
              * editing/CreateLinkCommand.cpp:
              * editing/DeleteFromTextNodeCommand.cpp:
              * editing/DeleteFromTextNodeCommand.h:
              * editing/DeleteSelectionCommand.cpp:
              * editing/EditCommand.cpp:
              * editing/EditCommand.h:
              * editing/HTMLInterchange.cpp:
              * editing/InsertIntoTextNodeCommand.cpp:
              * editing/InsertIntoTextNodeCommand.h:
              * editing/InsertLineBreakCommand.cpp:
              * editing/InsertNodeBeforeCommand.cpp:
              * editing/InsertParagraphSeparatorCommand.cpp:
              * editing/InsertTextCommand.cpp:
              * editing/JSEditor.cpp:
              * editing/JoinTextNodesCommand.cpp:
              * editing/MergeIdenticalElementsCommand.cpp:
              * editing/ModifySelectionListLevelCommand.cpp:
              * editing/MoveSelectionCommand.cpp:
              * editing/RebalanceWhitespaceCommand.h:
              * editing/RemoveCSSPropertyCommand.h:
              * editing/ReplaceSelectionCommand.cpp:
              * editing/ReplaceSelectionCommand.h:
              * editing/Selection.cpp:
              (WebCore::Selection::formatForDebugger):
              (WebCore::Selection::showTree):
              (showTree):
              * editing/Selection.h:
              * editing/SelectionController.cpp:
              (WebCore::SelectionController::formatForDebugger):
              (WebCore::SelectionController::showTree):
              (showTree):
              * editing/SelectionController.h:
              * editing/TextIterator.cpp:
              * editing/TextIterator.h:
              * editing/TypingCommand.cpp:
              * editing/TypingCommand.h:
              * editing/UnlinkCommand.cpp:
              * editing/VisiblePosition.cpp:
              (WebCore::isEqualIgnoringAffinity):
              (WebCore::VisiblePosition::formatForDebugger):
              (WebCore::VisiblePosition::showTree):
              (showTree):
              * editing/VisiblePosition.h:
              (WebCore::VisiblePosition::VisiblePosition):
              (WebCore::operator==):
              * editing/WrapContentsInDummySpanCommand.cpp:
              * editing/htmlediting.h:
              * editing/markup.cpp:
              * editing/markup.h:
              (WebCore::):
              * editing/visible_units.cpp:
              * html/CanvasGradient.cpp:
              * html/CanvasRenderingContext2D.h:
              * html/CanvasStyle.cpp:
              * html/CanvasStyle.h:
              * html/FormDataList.cpp:
              * html/FormDataList.h:
              * html/HTMLCollection.cpp:
              * html/HTMLCollection.h:
              * html/HTMLDocument.cpp:
              * html/HTMLDocument.h:
              * html/HTMLElement.cpp:
              * html/HTMLElementFactory.cpp:
              * html/HTMLElementFactory.h:
              * html/HTMLFormCollection.cpp:
              * html/HTMLFormElement.cpp:
              * html/HTMLFormElement.h:
              * html/HTMLInputElement.cpp:
              * html/HTMLParser.cpp:
              * html/HTMLSelectElement.cpp:
              * html/HTMLSelectElement.h:
              * html/HTMLTokenizer.cpp:
              * html/HTMLTokenizer.h:
              * html/html_baseimpl.cpp:
              * html/html_headimpl.h:
              * kcanvas/KCanvasCreator.cpp:
              * kcanvas/KCanvasFilters.h:
              * kcanvas/KCanvasPath.h:
              * kcanvas/KCanvasResources.h:
              * kcanvas/KCanvasTreeDebug.cpp:
              * kcanvas/RenderPath.cpp:
              * kcanvas/RenderPath.h:
              * kcanvas/device/KRenderingDevice.h:
              * kcanvas/device/KRenderingPaintServerGradient.h:
              * kcanvas/device/KRenderingPaintServerPattern.h:
              * kcanvas/device/KRenderingPaintServerSolid.h:
              * kcanvas/device/quartz/KCanvasFilterQuartz.mm:
              * kcanvas/device/quartz/KCanvasMaskerQuartz.h:
              * kcanvas/device/quartz/KCanvasResourcesQuartz.h:
              * kcanvas/device/quartz/KCanvasResourcesQuartz.mm:
              * kcanvas/device/quartz/KRenderingPaintServerQuartz.h:
              * khtml/misc/decoder.cpp:
              * khtml/misc/decoder.h:
              * khtml/xsl/XSLStyleSheet.cpp:
              * khtml/xsl/XSLTProcessor.cpp:
              * khtml/xsl/XSLTProcessor.h:
              * ksvg2/css/SVGRenderStyle.h:
              * ksvg2/ecma/GlobalObject.cpp:
              * ksvg2/misc/KCanvasRenderingStyle.h:
              * ksvg2/misc/SVGDocumentExtensions.h:
              * ksvg2/svg/SVGAngle.h:
              * ksvg2/svg/SVGAnimateColorElement.h:
              * ksvg2/svg/SVGAnimatedColor.h:
              * ksvg2/svg/SVGAnimatedLengthList.h:
              * ksvg2/svg/SVGAnimatedNumberList.h:
              * ksvg2/svg/SVGAnimatedString.h:
              * ksvg2/svg/SVGAnimatedTransformList.h:
              * ksvg2/svg/SVGAnimationElement.h:
              * ksvg2/svg/SVGColor.h:
              * ksvg2/svg/SVGCursorElement.h:
              * ksvg2/svg/SVGHelper.h:
              * ksvg2/svg/SVGLength.h:
              * ksvg2/svg/SVGList.h:
              * ksvg2/svg/SVGPaint.h:
              * ksvg2/svg/SVGPathSeg.h:
              * ksvg2/svg/SVGPatternElement.h:
              * ksvg2/svg/SVGSVGElement.cpp:
              * ksvg2/svg/SVGSVGElement.h:
              * ksvg2/svg/SVGStringList.h:
              * ksvg2/svg/SVGTransform.h:
              * kwq/AccessibilityObjectCache.mm:
              * kwq/ClipboardMac.mm:
              * kwq/JavaAppletWidget.mm:
              * kwq/KWQComboBox.mm:
              * kwq/KWQEditCommand.mm:
              * kwq/KWQFileButton.mm:
              * kwq/KWQKHTMLSettings.h:
              * kwq/KWQKSSLKeyGen.mm:
              * kwq/KWQLoader.mm:
              * kwq/KWQPageState.mm:
              * kwq/KWQTextEdit.mm:
              * kwq/RegularExpression.h:
              * kwq/RenderTreeAsText.cpp:
              * kwq/RenderTreeAsText.h:
              * kwq/WebCoreAXObject.mm:
              * loader/Cache.cpp:
              * loader/Cache.h:
              * loader/CachedCSSStyleSheet.cpp:
              * loader/CachedObject.h:
              * loader/CachedScript.cpp:
              * loader/CachedXBLDocument.cpp:
              * loader/CachedXBLDocument.h:
              * loader/CachedXSLStyleSheet.cpp:
              * loader/CachedXSLStyleSheet.h:
              * loader/DocLoader.cpp:
              * page/Frame.cpp:
              * page/Frame.h:
              * page/FramePrivate.h:
              * page/FrameTree.cpp:
              * page/FrameTree.h:
              * page/FrameView.cpp:
              * page/FrameView.h:
              * page/Page.cpp:
              * page/Page.h:
              * page/Plugin.h:
              (WebCore::Plugin::Plugin):
              (WebCore::Plugin::view):
              * platform/Color.cpp:
              * platform/FloatRect.h:
              * platform/Font.cpp:
              * platform/Font.h:
              * platform/FontFamily.cpp:
              * platform/GraphicsContext.cpp:
              * platform/Image.cpp:
              * platform/Image.h:
              * platform/IntRect.h:
              * platform/KURL.cpp:
              * platform/KURL.h:
              * platform/SegmentedString.h:
              * platform/Shared.h:
              * platform/StreamingTextDecoder.cpp:
              * platform/StringImpl.cpp:
              * platform/StringImpl.h:
              * platform/TextEncoding.h:
              * platform/Timer.cpp:
              * platform/Timer.h:
              * platform/TransferJob.cpp:
              * platform/TransferJob.h:
              * platform/TransferJobInternal.h:
              * platform/cairo/GraphicsContextCairo.cpp:
              * platform/cairo/ImageCairo.cpp:
              * platform/cairo/ImageSourceCairo.cpp:
              * platform/image-decoders/gif/GIFImageReader.cpp:
              * platform/image-decoders/jpeg/JPEGImageDecoder.cpp:
              * platform/mac/FontFamilyMac.mm:
              * platform/mac/FontMac.mm:
              * platform/mac/ImageMac.mm:
              * platform/mac/TextEncodingMac.cpp:
              * platform/mac/TransferJobMac.mm:
              * platform/win/FontPlatformDataWin.cpp:
              * platform/win/TransferJobWin.cpp:
              * rendering/RenderBlock.cpp:
              * rendering/RenderBlock.h:
              * rendering/RenderBox.cpp:
              * rendering/RenderBox.h:
              * rendering/RenderCanvas.cpp:
              * rendering/RenderCanvas.h:
              * rendering/RenderContainer.cpp:
              * rendering/RenderFlexibleBox.h:
              * rendering/RenderFlow.cpp:
              * rendering/RenderFlow.h:
              * rendering/RenderImage.cpp:
              * rendering/RenderImage.h:
              * rendering/RenderLayer.cpp:
              * rendering/RenderLayer.h:
              * rendering/RenderObject.cpp:
              (showTree):
              * rendering/RenderObject.h:
              * rendering/RenderTableCell.h:
              * rendering/RenderTableSection.h:
              * rendering/RenderText.cpp:
              * rendering/RenderText.h:
              * rendering/RenderTextField.cpp:
              * rendering/RenderTextFragment.h:
              * rendering/RenderTheme.h:
              * rendering/RenderThemeMac.mm:
              * rendering/RenderThemeWin.cpp:
              * rendering/bidi.cpp:
              * rendering/render_form.h:
              * rendering/render_line.cpp:
              (showTree):
              * rendering/render_line.h:
              * rendering/render_list.cpp:
              * rendering/render_replaced.cpp:
              * rendering/render_replaced.h:
              * rendering/render_style.cpp:
              * rendering/render_style.h:
              * xml/xmlhttprequest.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13821 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      36d1136a
  13. 04 Apr, 2006 1 commit
    • thatcher's avatar
      JavaScriptCore: · 8e5a95c7
      thatcher authored
              Reviewed by Darin.
      
              The Debug and Release frameworks are now built with install paths relative to the build products directory.
              This removes the need for other projects to build with -framework WebCore and -framework JavaScriptCore. 
      
              * JavaScriptCore.xcodeproj/project.pbxproj:
      
      JavaScriptGlue:
      
              Reviewed by Darin.
      
              The Debug and Release frameworks are now built with install paths relative to the build products directory.
              This removes the need for other projects to build with -framework WebCore and -framework JavaScriptCore. 
      
              * JavaScriptGlue.xcodeproj/project.pbxproj:
      
      WebCore:
      
              Reviewed by Darin.
      
              The Debug and Release frameworks are now built with install paths relative to the build products directory.
              This removes the need for other projects to build with -framework WebCore and -framework JavaScriptCore. 
      
              * WebCore.xcodeproj/project.pbxproj:
      
      WebKit:
      
              Reviewed by Darin.
      
              The Debug and Release frameworks are now built with install paths relative to the build products directory.
              This removes the need for other projects to build with -framework WebCore and -framework JavaScriptCore. 
      
              * WebKit.xcodeproj/project.pbxproj:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13686 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8e5a95c7
  14. 02 Apr, 2006 2 commits
    • eseidel's avatar
      2006-04-02 Eric Seidel <eseidel@apple.com> · 05fad0d8
      eseidel authored
              Reviewed by andersca.
      
              Add missing forwarding header.
      
              * kxmlcore/Vector.h: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13636 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      05fad0d8
    • ggaren's avatar
      Reviewed by Darin. · db16cf49
      ggaren authored
              - Fixed <rdar://problem/4430836> JavaScript patch crashing Quartz
              Composer
      
              JSValueWrappers used to hold on to the ExecState that pertained at
              the time of their creation. Since ExecStates are transient, that
              design was totally bogus, and it would crash once the ExecState had
              been deallocated.
      
              Unfortunately, there's no clean solution to this problem, since
              the JSGlue API has no notion of state. The solution here is to use
              a shared, global ExecState for the purpose of JSGlue calls. Given
              the pre-existing limitations in the JSGlue API, this design
              shouldn't actually introduce any new limitations (see comments in
              JSValueWrapper.cpp).
      
              I tested with Quartz Composer and PAC files, neither of which are
              layout-testable.
              
              * JSUtils.cpp:
              (KJSValueToJSObject):
              * JSValueWrapper.cpp:
              (JSValueWrapper::JSValueWrapper):
              (JSValueWrapper:...
      db16cf49
  15. 28 Mar, 2006 1 commit
    • darin's avatar
      JavaScriptGlue: · 253b5584
      darin authored
              Reviewed by Geoff.
      
              - added a build step that checks for init routines
      
              * JavaScriptGlue.xcodeproj/project.pbxproj: Added a custom build phase that invokes the
              check-for-global-initializers script.
      
      WebCore:
      
              Reviewed by Geoff.
      
              - added a build step that checks for init routines
      
              * WebCore.xcodeproj/project.pbxproj: Deleted now-unused custom build rule that
              was replaced by the generate-derived-sources script a while back. Added a custom
              build phase that invokes the check-for-global-initializers script.
      
      WebKit:
      
              Reviewed by Geoff.
      
              - added a build step that checks for init routines
      
              * WebKit.xcodeproj/project.pbxproj: Added a custom build phase that invokes the
              check-for-global-initializers script.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13542 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      253b5584
  16. 02 Mar, 2006 1 commit
    • mjs's avatar
      JavaScriptCore: · 3bfb61b0
      mjs authored
              Reviewed by Darin.
              
              - Set up new prototype macros and avoid using #if without defined() in JSC
              
              Added new PLATFORM macros and related, to make sure #if's all check if relevant macros
              are defined, and to separate core OS-level dependencies from operating environment
              dependencies so you can, e.g., build KDE on Mac or Windows.
      
              * kxmlcore/Platform.h: Added.
      
              - deploy them everywhere in JavaScriptCore
              
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * bindings/jni/jni_utility.cpp:
              (KJS::Bindings::convertValueToJValue):
              * bindings/objc/WebScriptObject.mm:
              * bindings/objc/objc_instance.mm:
              (ObjcInstance::end):
              * bindings/softlinking.h:
              * bindings/testbindings.mm:
              (main):
              * kjs/JSLock.cpp:
              * kjs/collector.cpp:
              (KJS::Collector::markCurrentThreadConservatively):
              (KJS::Collector::markOtherThreadConservatively):
              (KJ...
      3bfb61b0
  17. 13 Feb, 2006 1 commit
  18. 10 Feb, 2006 1 commit
    • ggaren's avatar
      JavaScriptCore: · 9044b937
      ggaren authored
              Reviewed by eric.
              
              - Fixed build. As it goes without saying, I will not mention that I
              blame Kevin.
      
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * kjs/JSImmediate.cpp:
              (KJS::JSImmediate::toObject):
      
      JavaScriptGlue:
      
              Reviewed by eric.
      
              - Fixed build.
      
              * UserObjectImp.cpp:
              (UserObjectImp::toPrimitive):
              * UserObjectImp.h:
      
      WebCore:
      
              Reviewed by eric.
      
              - Fixed build.
      
              * bridge/mac/WebCoreFrameBridge.mm:
              * khtml/ecma/kjs_binding.h:
              (KJS::DOMFunction::toPrimitive):
              * khtml/ecma/kjs_dom.cpp:
              (KJS::DOMNode::toPrimitive):
              (KJS::DOMNodeList::toPrimitive):
              * khtml/ecma/kjs_dom.h:
              * khtml/ecma/kjs_window.cpp:
              (KJS::Location::toPrimitive):
              (KJS::Selection::toPrimitive):
              * khtml/ecma/kjs_window.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12729 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9044b937
  19. 03 Feb, 2006 1 commit
    • thatcher's avatar
      JavaScriptCore: · 407bf0f8
      thatcher authored
              Reviewed by Justin.
      
              Renamed configuration names to Debug, Release and Production.
      
              * JavaScriptCore.xcodeproj/project.pbxproj:
      
      JavaScriptGlue:
      
              Reviewed by Justin.
      
              Renamed configuration names to Debug, Release and Production.
      
              * JavaScriptGlue.xcodeproj/project.pbxproj:
      
      WebCore:
      
              Reviewed by Justin.
      
              Renamed configuration names to Debug, Release and Production.
      
              * WebCore.xcodeproj/project.pbxproj:
      
      WebKit:
      
              Reviewed by Justin.
      
              Renamed configuration names to Debug, Release and Production.
      
              * WebKit.xcodeproj/project.pbxproj:
      
      WebKitTools:
      
              Reviewed by Justin.
      
              Renamed configuration names to Debug, Release and Production.
      
              * DrawTest/DrawTest.xcodeproj/project.pbxproj:
              * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
              * Scripts/set-webkit-configuration:
              * Scripts/webkitdirs.pm:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12547 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      407bf0f8
  20. 02 Feb, 2006 1 commit
  21. 18 Jan, 2006 1 commit
    • thatcher's avatar
      Adding the license header to all files so we can · 43a8c517
      thatcher authored
              move JavaScriptGlue into the open source repository.
      
              * LICENSE: Added.
              * JSBase.cpp: license header added.
              * JSBase.h: ditto.
              * JSObject.cpp: ditto.
              * JSObject.h: ditto.
              * JSRun.cpp: ditto.
              * JSRun.h: ditto.
              * JSUtils.cpp: ditto.
              * JSUtils.h: ditto.
              * JSValueWrapper.cpp: ditto.
              * JSValueWrapper.h: ditto.
              * JavaScriptGlue.cpp: ditto.
              * JavaScriptGlue.h: ditto.
              * UserObjectImp.cpp: ditto.
              * UserObjectImp.h: ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12229 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      43a8c517
  22. 21 Dec, 2005 1 commit
    • thatcher's avatar
      JavaScriptGlue: · 358e2bb6
      thatcher authored
              * JavaScriptGlue.xcodeproj/project.pbxproj:
                Set tab width to 8, indent width to 4 and uses tabs to false per file.
      
      WebBrowser:
      
              * WebBrowser.xcodeproj/project.pbxproj:
                Set tab width to 8, indent width to 4 and uses tabs to false per file.
      
      WebKitSystemInterface:
      
              * WebKitSystemInterface.xcodeproj/project.pbxproj:
                Set tab width to 8, indent width to 4 and uses tabs to false per file.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12226 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      358e2bb6
  23. 19 Dec, 2005 1 commit
  24. 16 Dec, 2005 1 commit
  25. 15 Dec, 2005 1 commit
  26. 13 Dec, 2005 3 commits
  27. 10 Dec, 2005 2 commits
  28. 05 Dec, 2005 1 commit
  29. 26 Nov, 2005 1 commit
    • mjs's avatar
      Rubber stamped by Eric. · a564fe1c
      mjs authored
      	- renamed InterpreterLock to JSLock
      
              * JSUtils.cpp:
              (CFStringToUString):
              (JSObjectKJSValue):
              (KJSValueToCFTypeInternal):
              * JSValueWrapper.cpp:
              (JSValueWrapper::JSObjectCopyPropertyNames):
              (JSValueWrapper::JSObjectCopyProperty):
              (JSValueWrapper::JSObjectSetProperty):
              (JSValueWrapper::JSObjectCallFunction):
              (JSValueWrapper::JSObjectCopyCFValue):
              * JavaScriptGlue.cpp:
              (JSRunCreate):
              (JSCollect):
              (JSLockInterpreter):
              (JSUnlockInterpreter):
              * UserObjectImp.cpp:
              (UserObjectImp::callAsFunction):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12216 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a564fe1c
  30. 22 Nov, 2005 1 commit
  31. 15 Nov, 2005 1 commit
  32. 10 Nov, 2005 1 commit
    • ggaren's avatar
      Reviewed by Maciej. · ab4c7220
      ggaren authored
              - Fixed <rdar://problem/4334445> installer crashed on my
                dual g4 450Mhz after clicking language
      
              - Reversed backwards NULL check.
              - Inserted guards against NULL fJSUserObject data member.
              - Cleaned up some style.
      
              * JSUtils.cpp:
              (KJSValueToCFTypeInternal):
              * UserObjectImp.cpp:
              (UserObjectImp::~UserObjectImp):
              (UserObjectImp::callAsFunction):
              (UserObjectImp::userObjectGetter):
              (UserObjectImp::getOwnPropertySlot):
              (UserObjectImp::put):
              (UserObjectImp::mark):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12212 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ab4c7220
  33. 04 Nov, 2005 1 commit
  34. 03 Nov, 2005 1 commit
    • thatcher's avatar
      Tools: · d591b9f5
      thatcher authored
              Reviewed by Darin and Vicki.
      
              * Scripts/build-root: now builds in a sandbox and wont replace your system WebKit or Safari
                will now also build JavaScriptGlue and WebKitSystemInterface
      
      JavaScriptGlue:
      
              Reviewed by Darin and Vicki.
      
              * JavaScriptGlue.xcodeproj/project.pbxproj:
                Change to use $(SYSTEM_LIBRARY_DIR) consistently and place
                $(NEXT_ROOT) in a few spots to make build-root work.
      
      WebBrowser:
      
              Reviewed by Darin and Vicki.
      
              * WebBrowser.xcodeproj/project.pbxproj:
                Change to use $(SYSTEM_LIBRARY_DIR) consistently and place
                $(NEXT_ROOT) in a few spots to make build-root work.
      
      WebKitSystemInterface:
      
              Reviewed by Darin and Vicki.
      
              * WebKitSystemInterface.xcodeproj/project.pbxproj:
                Change to use $(SYSTEM_LIBRARY_DIR) consistently and place
                $(NEXT_ROOT) in a few spots to make build-root work.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12210 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d591b9f5