1. 08 Jul, 2006 1 commit
  2. 04 Jul, 2006 1 commit
    • mjs's avatar
      LayoutTests: · cff839ee
      mjs authored
              Reviewed by Darin.
              
              http://bugzilla.opendarwin.org/show_bug.cgi?id=9734
              - change SVG XPath DOM tests to dump as text, and update expected results
              
              This should stop the random failures in Attribute_Nodes.svg
      
              * dom/svg/level3/xpath/Attribute_Nodes-expected.txt:
              * dom/svg/level3/xpath/Attribute_Nodes_xmlns-expected.txt:
              * dom/svg/level3/xpath/Comment_Nodes-expected.txt:
              * dom/svg/level3/xpath/Conformance_Expressions-expected.txt:
              * dom/svg/level3/xpath/Conformance_hasFeature_3-expected.txt:
              * dom/svg/level3/xpath/Conformance_hasFeature_empty-expected.txt:
              * dom/svg/level3/xpath/Conformance_hasFeature_null-expected.txt:
              * dom/svg/level3/xpath/Conformance_isSupported_3-expected.txt:
              * dom/svg/level3/xpath/Conformance_isSupported_empty-expected.txt:
              * dom/svg/level3/xpath/Conformance_isSupported_null-expected.txt:
              * dom/svg/level3/xpath/Element_Nodes-expected.txt:
              * dom/svg/level3/xpath/Processing_Instruction_Nodes-expected.txt:
              * dom/svg/level3/xpath/Text_Nodes-expected.txt:
              * dom/svg/level3/xpath/XPathEvaluatorCast01-expected.txt:
              * dom/svg/level3/xpath/XPathEvaluator_createExpression_INVALID_EXPRESSION_ERR-expected.txt:
              * dom/svg/level3/xpath/XPathEvaluator_createExpression_NAMESPACE_ERR_01-expected.txt:
              * dom/svg/level3/xpath/XPathEvaluator_createExpression_NAMESPACE_ERR_02-expected.txt:
              * dom/svg/level3/xpath/XPathEvaluator_createExpression_NS-expected.txt:
              * dom/svg/level3/xpath/XPathEvaluator_createExpression_no_NS-expected.txt:
              * dom/svg/level3/xpath/XPathEvaluator_createNSResolver_all-expected.txt:
              * dom/svg/level3/xpath/XPathEvaluator_createNSResolver_document-expected.txt:
              * dom/svg/level3/xpath/XPathEvaluator_createNSResolver_documentElement-expected.txt:
              * dom/svg/level3/xpath/XPathEvaluator_evaluate_INVALID_EXPRESSION_ERR-expected.txt:
              * dom/svg/level3/xpath/XPathEvaluator_evaluate_NAMESPACE_ERR-expected.txt:
              * dom/svg/level3/xpath/XPathEvaluator_evaluate_NOT_SUPPORTED_ERR-expected.txt:
              * dom/svg/level3/xpath/XPathEvaluator_evaluate_TYPE_ERR-expected.txt:
              * dom/svg/level3/xpath/XPathEvaluator_evaluate_WRONG_DOCUMENT_ERR-expected.txt:
              * dom/svg/level3/xpath/XPathEvaluator_evaluate_document-expected.txt:
              * dom/svg/level3/xpath/XPathEvaluator_evaluate_documentElement-expected.txt:
              * dom/svg/level3/xpath/XPathExpression_evaluate_NOT_SUPPORTED_ERR-expected.txt:
              * dom/svg/level3/xpath/XPathExpression_evaluate_WRONG_DOCUMENT_ERR-expected.txt:
              * dom/svg/level3/xpath/XPathExpression_evaluate_document-expected.txt:
              * dom/svg/level3/xpath/XPathExpression_evaluate_documentElement-expected.txt:
              * dom/svg/level3/xpath/XPathNSResolver_lookupNamespaceURI_nist_dmstc-expected.txt:
              * dom/svg/level3/xpath/XPathNSResolver_lookupNamespaceURI_null-expected.txt:
              * dom/svg/level3/xpath/XPathNSResolver_lookupNamespaceURI_prefix-expected.txt:
              * dom/svg/level3/xpath/XPathNSResolver_lookupNamespaceURI_xml-expected.txt:
              * dom/svg/level3/xpath/XPathResult_TYPE_ERR-expected.txt:
              * dom/svg/level3/xpath/XPathResult_booleanValue_false-expected.txt:
              * dom/svg/level3/xpath/XPathResult_booleanValue_true-expected.txt:
              * dom/svg/level3/xpath/XPathResult_invalidIteratorState_ANY_TYPE-expected.txt:
              * dom/svg/level3/xpath/XPathResult_invalidIteratorState_ANY_UNORDERED_NODE_TYPE-expected.txt:
              * dom/svg/level3/xpath/XPathResult_invalidIteratorState_BOOLEAN_TYPE-expected.txt:
              * dom/svg/level3/xpath/XPathResult_invalidIteratorState_FIRST_ORDERED_NODE_TYPE-expected.txt:
              * dom/svg/level3/xpath/XPathResult_invalidIteratorState_NUMBER_TYPE-expected.txt:
              * dom/svg/level3/xpath/XPathResult_invalidIteratorState_ORDERED_NODE_ITERATOR_TYPE-expected.txt:
              * dom/svg/level3/xpath/XPathResult_invalidIteratorState_ORDERED_NODE_SNAPSHOT_TYPE-expected.txt:
              * dom/svg/level3/xpath/XPathResult_invalidIteratorState_STRING_TYPE-expected.txt:
              * dom/svg/level3/xpath/XPathResult_invalidIteratorState_UNORDERED_NODE_ITERATOR_TYPE-expected.txt:
              * dom/svg/level3/xpath/XPathResult_invalidIteratorState_UNORDERED_NODE_SNAPSHOT_TYPE-expected.txt:
              * dom/svg/level3/xpath/XPathResult_iterateNext_INVALID_STATE_ERR-expected.txt:
              * dom/svg/level3/xpath/XPathResult_iteratorNext_ORDERED_NODE_ITERATOR_TYPE-expected.txt:
              * dom/svg/level3/xpath/XPathResult_numberValue-expected.txt:
              * dom/svg/level3/xpath/XPathResult_resultType-expected.txt:
              * dom/svg/level3/xpath/XPathResult_singleNodeValue_ANY_UNORDERED_NODE_TYPE-expected.txt:
              * dom/svg/level3/xpath/XPathResult_singleNodeValue_FIRST_ORDERED_NODE_TYPE-expected.txt:
              * dom/svg/level3/xpath/XPathResult_snapshotItem_ORDERED_NODE_SNAPSHOT_TYPE_null-expected.txt:
              * dom/svg/level3/xpath/XPathResult_snapshotItem_ORDERED_NODE_SNAPSHOT_TYPE_order-expected.txt:
              * dom/svg/level3/xpath/XPathResult_snapshotItem_UNORDERED_NODE_SNAPSHOT_TYPE_count-expected.txt:
              * dom/svg/level3/xpath/XPathResult_snapshotItem_UNORDERED_NODE_SNAPSHOT_TYPE_null-expected.txt:
              * dom/svg/level3/xpath/XPathResult_snapshotLength_ORDERED_NODE_SNAPSHOT_TYPE-expected.txt:
              * dom/svg/level3/xpath/XPathResult_snapshotLength_UNORDERED_NODE_SNAPSHOT_TYPE-expected.txt:
              * dom/svg/level3/xpath/XPathResult_stringValue-expected.txt:
              * dom/svg/level3/xpath/svgunit.js:
      
      WebKitTools:
      
              Reviewed by Darin.
              
              http://bugzilla.opendarwin.org/show_bug.cgi?id=9734
              - add support for dumping non-HTML as text - in this case use textContent
              instead of innerText
      
              * DumpRenderTree/DumpRenderTree.m:
              (dump):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15158 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cff839ee
  3. 03 Jul, 2006 2 commits
    • thatcher's avatar
      Reviewed by Eric. · 9293f691
      thatcher authored
              Bug 9631: [Drosera] Add "Step Over" and "Step Out"
              http://bugzilla.opendarwin.org/show_bug.cgi?id=9631
              
              Adds step over and step out. Along with a little code cleanup
              that was minor enough to piggyback on this fix.
      
              * Drosera/DebuggerDocument.h:
              * Drosera/DebuggerDocument.m:
              (-[DebuggerDocument stepOver:]):
              (-[DebuggerDocument stepOut:]):
              (-[DebuggerDocument windowDidLoad]):
              (-[DebuggerDocument windowWillClose:]):
              (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
              (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
              (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
              (-[DebuggerDocument validateUserInterfaceItem:]):
              * Drosera/Drosera.xcodeproj/project.pbxproj:
              * Drosera/debugger.html:
              * Drosera/debugger.js:
              * Drosera/viewer.css:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15144 268f4...
      9293f691
    • thatcher's avatar
      Reviewed by Eric. · d586b7ff
      thatcher authored
              Bug 9628: [Drosera] Split Views acting oddly
              http://bugzilla.opendarwin.org/show_bug.cgi?id=9628
              
              Only update the last X or Y coordinate if the new
              size was not constrained. Also adds the resize cursor to
              the body during the drag incase there is a constrained 
              over drag off of the resizer element.
      
              * Drosera/debugger.js:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15143 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d586b7ff
  4. 02 Jul, 2006 3 commits
    • ddkilzer's avatar
      WebKitTools: · 66645804
      ddkilzer authored
              Reviewed by Alexy Proskuryakov.  Patch by Mark Rowe.
      
              Bug 9692: Warning about Safari extensions on every launch is obnoxious
              http://bugzilla.opendarwin.org/show_bug.cgi?id=9692
      
              * WebKitLauncher/WebKitNightlyEnabler.m:
              (myApplicationWillTerminate): Note that we are exiting cleanly.
              (cleanUpAfterOurselves): Install bundle load tracking only if we failed
               to exit cleanly on our last invocation.  This doesn't play nicely with
               multiple concurrent instances of WebKit.app so it can be disabled via
               defaults write com.apple.Safari WKNEShouldMonitorShutdowns -bool NO.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15138 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      66645804
    • ddkilzer's avatar
      WebKitTools: · 125bca42
      ddkilzer authored
              Reviewed by Alexy Proskuryakov.  Patch by Mark Rowe.
      
              Bug 9654: Refresh Loop when accessing feed URLs
              http://bugzilla.opendarwin.org/show_bug.cgi?id=9654
      
              * WebKitLauncher/Info.plist: Don't claim to handle feed:// URLs.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15137 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      125bca42
    • ddkilzer's avatar
      WebKitTools: · 36ff7e12
      ddkilzer authored
              Reviewed by Timothy Hatcher.  Patch by Mark Rowe.
      
              Bug 9689: Nightly builds should warn a user about potential problems when using
              "Safari extensions"
              http://bugzilla.opendarwin.org/show_bug.cgi?id=9689
      
              * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
              * WebKitLauncher/WebKitNightlyEnabler.m:
              (myBundleDidLoad): Keep track of if any bundles that are loaded.
              (myApplicationWillFinishLaunching):  Notify user if any bundles are loaded.
              (cleanUpAfterOurselves): Register for NSBundleDidLoadNotification and
              NSApplicationWillFinishLaunchingNotification notifications so that we can
              track bundle loads and notify the user at launch completion.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15136 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      36ff7e12
  5. 30 Jun, 2006 2 commits
    • darin's avatar
      Reviewed by Darin. · a7413a07
      darin authored
              - first check-in of a Gdk shell for testing WebKit
      
              * GdkLauncher: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15119 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a7413a07
    • thatcher's avatar
      WebCore: · a6df3ece
      thatcher authored
              Reviewed by Darin.
      
              <rdar://problem/3694163> -[KWQPageState finalize] is incorrect; design change needed
              <rdar://problem/3694165> -[WebCoreFrameBridge finalize] is incorrect; design change needed
      
              Added close methods that need to be called before these
              objects can be released. This ensures proper tear-down under GC.
      
              * WebCore.xcodeproj/project.pbxproj:
              * bridge/mac/WebCoreFrameBridge.h:
              * bridge/mac/WebCoreFrameBridge.mm:
              (-[WebCoreFrameBridge dealloc]):
              (-[WebCoreFrameBridge finalize]):
              (-[WebCoreFrameBridge close]):
              * bridge/mac/WebCorePageBridge.h:
              * bridge/mac/WebCorePageBridge.mm:
              (-[WebCorePageBridge setMainFrame:]):
              (-[WebCorePageBridge dealloc]):
              (-[WebCorePageBridge finalize]):
              (-[WebCorePageBridge close]):
              (-[WebCorePageBridge mainFrame]):
              (-[WebCorePageBridge setGroupName:]):
              (-[WebCorePageBridge groupName]):
              * kwq/KWQPageState.h:
              * kwq/KWQPageState.mm:
              (-[KWQPageState dealloc]):
              (-[KWQPageState finalize]):
              (-[KWQPageState close]):
      
      WebKit:
      
              Reviewed by Darin.
      
              <rdar://problem/4484405> WebKit leaks, improper tear-down
              <rdar://problem/3694059> -[WebBackForwardList finalize] is incorrect; design change needed
              <rdar://problem/3694103> -[WebFrame finalize] is incorrect; design change needed
              <rdar://problem/3694104> -[WebHTMLView finalize] is incorrect; design change needed
      
              Adds a close method to WebView, this needs to be called when the 
              WebView is no longer needed. To make this easier for the common cases
              there is now an "auto close" on WebView that listens to the view's
              parent window. If the parent window closes and the WebView has no
              hostWindow then the WebView is automatically closed if autoClose is YES.
              To manage WebView closing yourself call setAutoClose: and pass NO.
      
              When a WebView closes it will tear-down and not be usable anymore.
              Close will will called on various other internal objects as a part
              of this, to ensure proper tear-down in GC without relying on finalize.
      
              * History/WebBackForwardList.m:
              (-[WebBackForwardList dealloc]):
              (-[WebBackForwardList finalize]):
              (-[WebBackForwardList _close]):
              * History/WebHistoryItem.m:
              (+[WebHistoryItem _closeObjectsInPendingPageCaches]):
              (+[WebHistoryItem _releaseAllPendingPageCaches]):
              * History/WebHistoryItemPrivate.h:
              * WebCoreSupport/WebFrameBridge.m:
              (-[WebFrameBridge close]):
              (-[WebFrameBridge saveDocumentToPageCache:]):
              (-[WebFrameBridge canGoBackOrForward:]):
              * WebView/WebFrame.m:
              (-[WebFrame _detachFromParent]):
              (-[WebFrame dealloc]):
              (-[WebFrame finalize]):
              * WebView/WebFrameView.m:
              (-[WebFrameView _setWebFrame:]):
              (-[WebFrameView finalize]):
              * WebView/WebHTMLView.m:
              (-[WebHTMLView close]):
              (-[NSArray dealloc]):
              (-[NSArray finalize]):
              * WebView/WebHTMLViewInternal.h:
              * WebView/WebHTMLViewPrivate.h:
              * WebView/WebScriptDebugDelegate.m:
              (-[WebScriptCallFrame _initWithFrame:initWithWebFrame:]):
              (-[WebScriptCallFrame parsedSource:fromURL:sourceId:startLine:errorLine:errorMessage:]):
              (-[WebScriptCallFrame enteredFrame:sourceId:line:]):
              (-[WebScriptCallFrame hitStatement:sourceId:line:]):
              (-[WebScriptCallFrame leavingFrame:sourceId:line:]):
              * WebView/WebScriptDebugDelegatePrivate.h:
              * WebView/WebView.m:
              (-[WebViewPrivate init]):
              (-[WebView _close]):
              (-[WebView dealloc]):
              (-[WebView finalize]):
              (-[WebView viewWillMoveToWindow:]):
              (-[WebView _windowWillClose:]):
              (-[WebView setPreferencesIdentifier:]):
              (-[WebView mainFrame]):
              (-[WebView setHostWindow:]):
              (-[WebView searchFor:direction:caseSensitive:wrap:]):
              (-[WebView writeSelectionWithPasteboardTypes:toPasteboard:]):
              (-[WebView close]):
              (-[WebView setAutoClose:]):
              (-[WebView autoClose]):
              (-[WebView _frameViewAtWindowPoint:]):
              * WebView/WebViewPrivate.h:
      
      WebKitTools:
      
              Reviewed by Darin.
      
              Need to call window close so WebView tears-down completly.
      
              * DumpRenderTree/DumpRenderTree.m:
              (main): call [window close]
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15106 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a6df3ece
  6. 29 Jun, 2006 2 commits
    • ddkilzer's avatar
      WebKitTools: · 759e3b6f
      ddkilzer authored
              Reviewed by Darin.
      
              Bug 9615: Buildbot configuration should be in SVN repository
              http://bugzilla.opendarwin.org/show_bug.cgi?id=9615
      
              Import BuildBot configuration files as used by build.webkit.org.
              auth.py has been stubbed out so that slave passwords are not disclosed.
      
              * BuildSlaveSupport/build.webkit.org-config/Makefile: Added.
              * BuildSlaveSupport/build.webkit.org-config/buildbot.css: Added.
              * BuildSlaveSupport/build.webkit.org-config/buildbot.tac: Added.
              * BuildSlaveSupport/build.webkit.org-config/master.cfg: Added.
              * BuildSlaveSupport/build.webkit.org-config/webkit/__init__.py: Added.
              * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py: Added.
              * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py: Added.
              * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Added.
              * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Added.
              * BuildS...
      759e3b6f
    • ddkilzer's avatar
      WebKitTools: · 3f45cfc2
      ddkilzer authored
              Reviewed by Darin.
      
              Bug 9614: Nightly builds should notify user if a newer build is available
              http://bugzilla.opendarwin.org/show_bug.cgi?id=9614
      
              * BuildSlaveSupport/build-launcher-app: Write revision number to WebKit.app's VERSION file.
              * BuildSlaveSupport/build-launcher-dmg: Pass revision number to server-side nightly maintenance
              script so it can keep track of the latest revision.
              * Scripts/run-webkit-tests: Pass build-dumprendertree's exit status through correctly.
              * WebKitLauncher/VERSION: Added.  Placeholder for SVN revision number
              * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
              * WebKitLauncher/start.html: Retrieve revision number from VERSION file, and pass it through to
              the nightly start page.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15098 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3f45cfc2
  7. 26 Jun, 2006 1 commit
    • darin's avatar
      LayoutTests: · 5ff2bf2c
      darin authored
              Reviewed by Darin.
      
              * LayoutTests/fast/events/objc-event-api-expected.txt: Updated to
              reflect flipped coordinates dumped by the layout tests.
      
      WebKitTools:
      
              Reviewed by Darin.
      
              Bug 9579: LayoutTests/fast/events/objc-event-api.html failing due to screenY output
              http://bugzilla.opendarwin.org/show_bug.cgi?id=9579
      
              Report screenY values as (height of zero screen - screenY)
      
              * DumpRenderTree/EventSendingController.m: (-[EventSendingController handleEvent:]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15046 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5ff2bf2c
  8. 25 Jun, 2006 8 commits
    • thatcher's avatar
      Reviewed by Geoff. · c571e06f
      thatcher authored
              Bug 9591: [Drosera] breakpoints should be dragable and deletable by dragging off the gutter
              http://bugzilla.opendarwin.org/show_bug.cgi?id=9591
              
              Makes breakpoints dragable. If dragged off the gutter they are deleted.
      
              * Drosera/debugger.js:
              * Drosera/viewer.css:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15045 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c571e06f
    • thatcher's avatar
      Reviewed by Darin. · 7ee5fcbb
      thatcher authored
              
              Bug 9568: assertion failure in Safari after quitting Drosera
              http://bugzilla.opendarwin.org/show_bug.cgi?id=9568
      
              Call switchToServerNamed:nil and not removeLister to make sure
              the server object is set to nil to prevent further removeListener calls.
      
              * Drosera/DebuggerDocument.m:
              (-[DebuggerDocument applicationTerminating:]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15042 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7ee5fcbb
    • ddkilzer's avatar
      WebKitTools: · 25b4b502
      ddkilzer authored
              Reviewed by Darin.
      
              * Scripts/svn-apply: Speed up isDirectoryEmptyForRemoval() by returning as soon as we find
              that the directory is not empty instead of reading in every single file and directory first,
              then checking the count.  Avoid warning in removeDirectoriesIfNeeded() if $svnOutput is not
              defined.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15039 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      25b4b502
    • darin's avatar
      * Scripts/svn-apply: Tweak comments. · 43efeffc
      darin authored
              * Scripts/svn-create-patch: Ditto.
              * Scripts/svn-unapply: Ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15030 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      43efeffc
    • ddkilzer's avatar
      WebKitTools: · abfe3872
      ddkilzer authored
              Formatting fix per Bug 9571 Comment #2.  Reviewed by NOBODY.
      
              http://bugzilla.opendarwin.org/show_bug.cgi?id=9571#c2
      
              * Scripts/svn-apply: Formatting fix.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15029 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      abfe3872
    • ddkilzer's avatar
      WebKitTools: · 576fd480
      ddkilzer authored
              Reviewed by Darin.
      
              http://bugzilla.opendarwin.org/show_bug.cgi?id=9571
              Teach svn-apply and svn-unapply to handle directory adds and removes better
      
              * Scripts/svn-apply: Handle directory adds more intelligently.  Handle directory removes.
              * Scripts/svn-unapply: Handle undoing both directory adds and removes.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15028 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      576fd480
    • thatcher's avatar
      JavaScriptCore: · 6458fe59
      thatcher authored
              Reviewed by Darin.
      
              Bug 9574: Drosera should show inline scripts within the original HTML
              http://bugzilla.opendarwin.org/show_bug.cgi?id=9574
      
              Pass the starting line number and error message to the debugger.
      
              * kjs/debugger.cpp:
              (Debugger::sourceParsed):
              * kjs/debugger.h:
              * kjs/function.cpp:
              (KJS::GlobalFuncImp::callAsFunction):
              * kjs/function_object.cpp:
              (FunctionObjectImp::construct):
              * kjs/interpreter.cpp:
              (KJS::Interpreter::evaluate):
      
      WebCore:
      
              Reviewed by Darin.
      
              Bug 9574: Drosera should show inline scripts within the original HTML
              http://bugzilla.opendarwin.org/show_bug.cgi?id=9574
      
              * Pass the starting line number and error message to the debugger.
              * Call parsedSource even if there was a script parse error so the
                debugger can show the parse error.
              * Pass NSURL objects to the ObjC delegate for the script URLs.
      
              * bridge/mac/WebCoreScriptDebugger.h:
              * bridge/mac/WebCoreScriptDebugger.mm:
              (toNSURL):
              (WebCoreScriptDebuggerImp::sourceParsed):
      
      WebKit:
      
              Reviewed by Darin.
      
              Bug 9574: Drosera should show inline scripts within the original HTML
              http://bugzilla.opendarwin.org/show_bug.cgi?id=9574
      
              * Adds a new version of the didParseSource delegate callback with base line number.
              * Adds a new delegate callback for when a script fails to parse.
              * These new callbacks use NSURLs for the url parameter.
              * Adds a new script listener callback to notify when the main resource loads.
              * Adds a WebScriptErrorDomian and other keys for use with NSError.
      
              * DefaultDelegates/WebDefaultScriptDebugDelegate.m:
              (-[WebDefaultScriptDebugDelegate webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
              (-[WebDefaultScriptDebugDelegate webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
              * DefaultDelegates/WebScriptDebugServer.h:
              * DefaultDelegates/WebScriptDebugServer.m:
              (-[WebScriptDebugServer webView:didLoadMainResourceForDataSource:]):
              (-[WebScriptDebugServer webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
              (-[WebScriptDebugServer webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
              * DefaultDelegates/WebScriptDebugServerPrivate.h:
              * WebKit.exp:
              * WebView/WebDataSource.m:
              (-[WebDataSource _setPrimaryLoadComplete:]):
              * WebView/WebScriptDebugDelegate.h:
              * WebView/WebScriptDebugDelegate.m:
              (-[WebScriptCallFrame parsedSource:fromURL:sourceId:startLine:errorLine:errorMessage:]):
      
      WebKitTools:
      
              Reviewed by Darin.
      
              Bug 9574: Drosera should show inline scripts within the original HTML
              http://bugzilla.opendarwin.org/show_bug.cgi?id=9574
      
              Refactor the JavaScript code to have a distinction between files
              and scripts. Show the script in the context of the HTML file if
              it's URL is the same as the frame's main resource. At the time of
              the disParseScript callback the main resource might not be completely
              loaded, but Drosera needs to show whatever we have at the time. Once
              the main resource is finished, update the file source and reload the file.
      
              * Drosera/DebuggerDocument.m:
              (-[DebuggerDocument pause]):
              (-[DebuggerDocument webView:didLoadMainResourceForDataSource:]):
              (-[DebuggerDocument webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
              (-[DebuggerDocument webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
              * Drosera/debugger.css:
              * Drosera/debugger.js:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15026 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6458fe59
    • ddkilzer's avatar
      WebKitTools: · b7b3b914
      ddkilzer authored
              Reviewed by Darin.
      
              http://bugzilla.opendarwin.org/show_bug.cgi?id=9570
              Teach prepare-ChangeLog to operate on a list of files or directories
      
              * Scripts/prepare-ChangeLog: Accept a list of files and/or directories when running.
              * Scripts/svn-create-patch: Code refactoring.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15025 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b7b3b914
  9. 24 Jun, 2006 6 commits
    • ddkilzer's avatar
      WebKitTools: · c97ef652
      ddkilzer authored
              Reviewed by Darin.  Patch by James G. Speth.
      
              - http://bugzilla.opendarwin.org/show_bug.cgi?id=8843
                add a way to build Objective-C test cases in HTML
      
              Tests running in DumpRenderTree can choose to relax some restrictions of the JavaScript/Objective-C bridge
              allowing more extensive testing of the Obj-C API.  (and by more extensive, I mean this lets scripts do 
              pretty much whatever they want, including acting as delegates, generating events, instantiating obj-c
              objects, etc... )
      
              * DumpRenderTree/ObjCPlugin.h:
              * DumpRenderTree/ObjCPlugin.m: this ability is only exposed to scripts running in DumpRenderTree
              (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
              (+[ObjCPlugin webScriptNameForSelector:]):
              (-[ObjCPlugin removeBridgeRestrictions:]): scripts call this to open up obj-c for extensive testing
              (+[NSObject setAllowsScriptsFullAccess:]): makes NSObject allow all selectors to be invoked from script
              (+[NSObject allowsScriptsFullAccess]):
              (+[NSObject isSelectorExcludedFromWebScript:]): when full access is enabled, no selector is excluded
              (+[NSObject webScriptNameForSelector:]): always return nil for the default selector mutation
              (-[JSObjC classNameOfObject:isSelectorExcludedFromWebScript:]):
              (+[JSObjC webScriptNameForSelector:]):
              (-[JSObjC invokeDefaultMethodWithArguments:]): shortcut for accessing classes
              (-[JSObjC lookUpClass:]): allow scripts to retrieve obj-c classes by name
              (-[JSObjC log:]): access to NSLog function
              (-[JSObjC retainObject:]): useful obj-c functions that are otherwise hard to reach from javascript
              (-[JSObjC classOfObject:]):
              (-[JSObjC classNameOfObject:]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15020 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c97ef652
    • 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
    • ddkilzer's avatar
      WebKitTools: · 79a81ae5
      ddkilzer authored
              Build fix. Reviewed by NOBODY.
      
              - Backed out http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
                devenv.com not available in VC++ Express installations
      
              * Scripts/webkitdirs.pm: Backed out previous change.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15016 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      79a81ae5
    • ddkilzer's avatar
      WebKitTools: · 7affdd5f
      ddkilzer authored
              Reviewed by Maciej.  Patch by Bjoern Graf.
      
              - http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
                devenv.com not available in VC++ Express installations
      
              * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15015 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7affdd5f
    • ap's avatar
      Reviewed by Darin. · ca0ac64f
      ap authored
              - http://bugzilla.opendarwin.org/show_bug.cgi?id=9564
                A bunch of fixes to run-webkit-httpd
      
              - Add an -all-interfaces (-a) flag to bind to all interfaces, not just
                127.0.0.1. Useful for testing with WinIE running on another machine;
              - don't call checkFrameworks() - we do not need a built WebKit here;
              - changed tabs to spaces;
              - disable HTTP keepalive (since Apache doesn't spawn sub-processes in
                interactive mode, they were a hassle when testing with several browsers, as one
                had to wait for connection to expire);
              - remove httpd.pid when done, so that Apache doesn't complain next time.
      
              * Scripts/run-webkit-httpd:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15012 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ca0ac64f
    • ap's avatar
      svn-commit.tmp · 1b7626fb
      ap authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1b7626fb
  10. 23 Jun, 2006 1 commit
  11. 22 Jun, 2006 6 commits
    • ap's avatar
      Reviewed by darin and ggaren. · 8df49719
      ap authored
              - see http://bugzilla.opendarwin.org/show_bug.cgi?id=9539
              Another case error preventing build
      
      WebKitTools:
              * Scripts/webkitdirs.pm: Building WebKit now requires Xcode 2.3.
      
      WebKitSite:
              * building/build.html: Ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14985 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8df49719
    • thatcher's avatar
      Reviewed by Eric. · d2387050
      thatcher authored
              Adds a native toolbar to Drosera to be a good citizen.
              Adds a Debug menu with key-commands for Continue, Pause and Step Into.
              Fixes a dragging bug from an earlier fix to the divider code.
              Fixes some poor indenting in debugger.js.
      
              * Drosera/DebuggerDocument.h:
              * Drosera/DebuggerDocument.m:
              (-[DebuggerDocument stepInto]):
              (-[DebuggerDocument pause:]):
              (-[DebuggerDocument resume:]):
              (-[DebuggerDocument stepInto:]):
              (-[DebuggerDocument windowDidLoad]):
              (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
              (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
              (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
              (-[DebuggerDocument validateUserInterfaceItem:]):
              * Drosera/English.lproj/MainMenu.nib/classes.nib:
              * Drosera/English.lproj/MainMenu.nib/info.nib:
              * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib:
              * Drosera/debugger.css:
              * Drosera/debugger.html:
              * Drosera/debugger.js:
              * Drosera/viewer.html:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14984 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d2387050
    • kdecker's avatar
      · e1b08e0b
      kdecker authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14974 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e1b08e0b
    • thatcher's avatar
      Reviewed by Kevin Decker. · fbd32347
      thatcher authored
              Code clean up. Adds the stackframe and makes only the body
              of the tables scrollable keeping the header visible.
              Shows the current function stack when paused or stepping.
      
              * Drosera/DebuggerApplication.m:
              (-[DebuggerApplication awakeFromNib]):
              (-[DebuggerApplication numberOfRowsInTableView:]):
              (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
              * Drosera/DebuggerDocument.h:
              * Drosera/DebuggerDocument.m:
              (-[DebuggerDocument dealloc]):
              (-[DebuggerDocument currentFrame]):
              (-[DebuggerDocument currentFrameFunctionName]):
              (-[DebuggerDocument currentFunctionStack]):
              (-[DebuggerDocument log:]):
              (-[DebuggerDocument windowWillClose:]):
              (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
              (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
              * Drosera/Drosera.xcodeproj/project.pbxproj:
              * Drosera/debugger.css:
              * Drosera/debugger.html:
              * Drosera/debugger.js:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14972 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fbd32347
    • ap's avatar
      Reviewed by Anders. · 1dc19f00
      ap authored
              Teach run-webkit-httpd to properly look for webkitdirs.pm.
      
              * Scripts/run-webkit-httpd:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14971 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1dc19f00
    • kdecker's avatar
      · de88f176
      kdecker authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14970 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      de88f176
  12. 21 Jun, 2006 2 commits
  13. 20 Jun, 2006 1 commit
    • thatcher's avatar
      Reviewed by Darin. · 35881526
      thatcher authored
              
              Adds a JavaScript debugger, called Drosera. Named after
              a genus of bug eating plants.
      
              * Drosera/DebuggerApplication.h: Added.
              * Drosera/DebuggerApplication.m: Added.
              (-[DebuggerApplication applicationDidFinishLaunching:]):
              (-[DebuggerApplication serverLoaded:]):
              (-[DebuggerApplication serverUnloaded:]):
              (-[DebuggerApplication awakeFromNib]):
              (-[DebuggerApplication showAttachPanel:]):
              (-[DebuggerApplication attach:]):
              (-[DebuggerApplication numberOfRowsInTableView:]):
              (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
              (-[DebuggerApplication tableView:willDisplayCell:forTableColumn:row:]):
              (-[DebuggerApplication tableViewSelectionDidChange:]):
              * Drosera/DebuggerDocument.h: Added.
              * Drosera/DebuggerDocument.m: Added.
              (+[WebScriptCallFrame isSelectorExcludedFromWebScript:]):
              (+[WebScriptCallFrame isKeyExcludedFromWebScript:]):
              (+[DebuggerDocument isSelectorExcludedFromWebScript:]):
              (+[DebuggerDocument isKeyExcludedFromWebScript:]):
              (-[DebuggerDocument initWithServerName:]):
              (-[DebuggerDocument windowWillClose:]):
              (-[DebuggerDocument dealloc]):
              (-[DebuggerDocument isPaused]):
              (-[DebuggerDocument pause]):
              (-[DebuggerDocument resume]):
              (-[DebuggerDocument step]):
              (-[DebuggerDocument windowNibName]):
              (-[DebuggerDocument windowDidLoad]):
              (-[DebuggerDocument switchToServerNamed:]):
              (-[DebuggerDocument applicationTerminating:]):
              (-[DebuggerDocument serverConnectionDidDie:]):
              (-[DebuggerDocument webView:windowScriptObjectAvailable:]):
              (-[DebuggerDocument webView:didFinishLoadForFrame:]):
              (-[DebuggerDocument webView:didParseSource:fromURL:sourceId:forWebFrame:]):
              (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
              (-[DebuggerDocument webView:willExecuteStatement:sourceId:line:forWebFrame:]):
              (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
              * Drosera/Drosera.pch: Added.
              * Drosera/Drosera.xcodeproj/project.pbxproj: Added.
              * Drosera/English.lproj/Debugger.nib/classes.nib: Added.
              * Drosera/English.lproj/Debugger.nib/info.nib: Added.
              * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Added.
              * Drosera/English.lproj/MainMenu.nib/classes.nib: Added.
              * Drosera/English.lproj/MainMenu.nib/info.nib: Added.
              * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
              * Drosera/Images/breakPoint.tif: Added.
              * Drosera/Images/breakPointDisabled.tif: Added.
              * Drosera/Images/continue.tif: Added.
              * Drosera/Images/finishFunction.tif: Added.
              * Drosera/Images/glossyFooterFill.tif: Added.
              * Drosera/Images/glossyHeader.png: Added.
              * Drosera/Images/gradientBackground.png: Added.
              * Drosera/Images/gutter.png: Added.
              * Drosera/Images/navLeftDisabled.png: Added.
              * Drosera/Images/navLeftNormal.png: Added.
              * Drosera/Images/navLeftPressed.png: Added.
              * Drosera/Images/navRightDisabled.png: Added.
              * Drosera/Images/navRightNormal.png: Added.
              * Drosera/Images/navRightPressed.png: Added.
              * Drosera/Images/pause.tif: Added.
              * Drosera/Images/popUpArrows.png: Added.
              * Drosera/Images/programCounter.tif: Added.
              * Drosera/Images/programCounterBreakPoint.tif: Added.
              * Drosera/Images/programCounterBreakPointDisabled.tif: Added.
              * Drosera/Images/run.tif: Added.
              * Drosera/Images/splitterBar.tif: Added.
              * Drosera/Images/splitterDimple.tif: Added.
              * Drosera/Images/step.tif: Added.
              * Drosera/Images/stepOver.tif: Added.
              * Drosera/Images/stop.tif: Added.
              * Drosera/Images/toolbarBackground.png: Added.
              * Drosera/Info.plist: Added.
              * Drosera/debugger.css: Added.
              * Drosera/debugger.html: Added.
              * Drosera/debugger.js: Added.
              * Drosera/main.m: Added.
              (main):
              * Drosera/viewer.css: Added.
              * Drosera/viewer.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14923 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      35881526
  14. 18 Jun, 2006 2 commits
    • ddkilzer's avatar
      WebKitTools: · 74829506
      ddkilzer authored
              Reviewed by darin.
      
              http://bugzilla.opendarwin.org/show_bug.cgi?id=9485
              Teach svn-apply and svn-unapply to use full path names
      
              * Scripts/svn-apply: Changed to use full path names.  Cleaned up code.
              * Scripts/svn-unapply: Ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14909 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      74829506
    • ddkilzer's avatar
      LayoutTests: · 09cbb70c
      ddkilzer authored
              Reviewed by ggaren.
      
              - test and results for http://bugzilla.opendarwin.org/show_bug.cgi?id=9150
                DumpRenderTree should be able to keep URL history during runs
      
              * fast/history/clicked-link-is-visited-expected.checksum: Added.
              * fast/history/clicked-link-is-visited-expected.png: Added.
              * fast/history/clicked-link-is-visited-expected.txt: Added.
              * fast/history/clicked-link-is-visited.html: Added.
              * fast/history/resources/clicked-link-is-visited-2.html: Added.
      
      WebCore:
      
              Reviewed by ggaren.
      
              - Update a manual test for http://bugzilla.opendarwin.org/show_bug.cgi?id=9150
                DumpRenderTree should be able to keep URL history during runs
      
              * manual-tests/redraw-page-cache-visited-links.html: Added note about window.history hack.
              Fixed coordinates for mouse events.  Added call to keepWebHistory().
              * manual-tests/resources/redraw-page-cache-visited-links-2.html: Added note about
              window.history hack.
      
      WebKitTools:
      
              Reviewed by ggaren.
      
              - http://bugzilla.opendarwin.org/show_bug.cgi?id=9150
                DumpRenderTree should be able to keep URL history during runs
      
              Test: LayoutTests/fast/history/clicked-link-is-visited.html
      
              * DumpRenderTree/DumpRenderTree.m: Add keepWebHistory function to layoutTestController
              (+[LayoutTestController isSelectorExcludedFromWebScript:]): Updated for keepWebHistory.
              (-[LayoutTestController keepWebHistory]): Added.  We only set optional shared history if
              it is currently nil since keepWebHistory() might be called more than once incidentally
              for the same test.
              (dumpRenderTree): Set optional shared history in WebHistory to nil by default.
              * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Xcode 2.3 clean up.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14905 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      09cbb70c
  15. 11 Jun, 2006 1 commit
    • ddkilzer's avatar
      WebKitTools: · 0507c8fa
      ddkilzer authored
              Reviewed by darin.
      
              http://bugzilla.opendarwin.org/show_bug.cgi?id=9395
              Make prepare-ChangeLog faster
      
              * Scripts/prepare-ChangeLog: Use "svn diff" instead of "svn stat" to find changed files,
              then save the diff output for reuse.  Keep a status variable if changes are made to
              LayoutTests so "svn diff LayoutTests" doesn't have to be run to check for changes when
              WebCore is updated.  Added -h|--help command-line switch and help message.  Move test
              for no changed files closer to the beginning of the program.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14814 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0507c8fa
  16. 10 Jun, 2006 1 commit
    • ap's avatar
      2006-06-10 Mitz Pettel <opendarwin.org@mitzpettel.com> · 41a51b71
      ap authored
              Reviewed and landed by ap.
      
              - make DumpRenderTree build
      
              * DumpRenderTree/DumpRenderTree.m:
              (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Changed _updateFocusState to _updateActiveState
              (-[WaitUntilDoneDelegate webViewFocus:]): Ditto.
              (-[LayoutTestController setWindowIsKey:]): Ditto.
              (-[LayoutTestController setMainFrameIsFirstResponder:]): Ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14803 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      41a51b71