WebKit-https.git
15 years ago Changes by Devin Lane.
sullivan [Tue, 14 Jun 2005 18:06:00 +0000 (18:06 +0000)]
    Changes by Devin Lane.
        Reviewed by me.

        - fixed <rdar://problem/3766909> PDF viewing could use a zoom control other than the one in the context menu

        * WebView.subproj/WebPDFView.h:
        now implements protocol _web_WebDocumentTextSizing
        * WebView.subproj/WebPDFView.m:
        (-[WebPDFView _updateScalingToReflectTextSize]):
        new method, sets the PDF scaling from the text size multiplier
        (-[WebPDFView setDataSource:]):
        call _updateScalingToReflectTextSize
        (-[WebPDFView _web_textSizeMultiplierChanged]):
        implementation of protocol _web_WebDocumentTextSizing, calls _updateScalingToReflectTextSize

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9393 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Updated expected.html to reflect fix to <rdar://problem/4147745>.
ggaren [Tue, 14 Jun 2005 17:59:32 +0000 (17:59 +0000)]
Updated expected.html to reflect fix to <rdar://problem/4147745>.

        Reviewed by cblu.

        * tests/mozilla/expected.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9392 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by Dave Harrison.
sullivan [Tue, 14 Jun 2005 17:36:32 +0000 (17:36 +0000)]
    Reviewed by Dave Harrison.

        * WebView.subproj/WebHTMLView.m:
        (-[WebHTMLView _delayedEndPrintMode:]):
        After discussing this with Dave, I made this method both more debugger-friendly with asserts for
        the cases we don't think could ever happen, and more paranoid by handling these cases in deployment
        builds.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9391 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Fixed: <rdar://problem/4147745> JavaScript discards locally defined "arguments"...
ggaren [Tue, 14 Jun 2005 16:36:11 +0000 (16:36 +0000)]
Fixed: <rdar://problem/4147745> JavaScript discards locally defined "arguments" property

No layout tests added because this change fixes existing tests:
ecma/ExecutionContexts/10.1.6.js
        ecma_3/Function/regress-94506.js
        js1_4/Functions/function-001.js

        Reviewed by cblu.

        * kjs/function.cpp:
        (KJS::ActivationImp::get): get now checks for an "arguments" property defined in the local variable object
before trying to return the built-in arguments array.

        * kjs/function.h: ActivationImp::put no longer overrides ObjectImp::put

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9390 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago - fixed build for Xcode 2.1
darin [Tue, 14 Jun 2005 16:19:16 +0000 (16:19 +0000)]
    - fixed build for Xcode 2.1

        * WebKit.pbproj/project.pbxproj: Use BUILT_PRODUCTS_DIR instead of SYMROOT to search for the
        WebKitSystemInterface.h file. We could re-jigger this again later, but for now this is consistent
        with both the .a file's location and where build-webkit puts the file.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9389 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by Dave Harrison and Maciej.
sullivan [Tue, 14 Jun 2005 02:12:41 +0000 (02:12 +0000)]
    Reviewed by Dave Harrison and Maciej.

        * WebView.subproj/WebHTMLView.m:
        (-[WebHTMLView _endPrintMode]):
        new method, extracted from identical code in beginDocument and endDocument. This method must be called
        once to counterbalance the code called from knowsPageRange that turns on "printing mode".
        (-[WebHTMLView _delayedEndPrintMode:]):
        new method, called from "perform after delay". Checks whether the same print operation is still underway
        and, if so, delays further. Otherwise calls _endPrintMode directly.
        (-[WebHTMLView knowsPageRange:]):
        after turning on "printing mode", queue up a delayed call to _delayedEndPrintMode:. If there's an early
        error in the print mechanism such that beginDocument is never called, this will cleanly end "printing
        mode" and make the webview usable again.
        (-[WebHTMLView beginDocument]):
        cancel any delayed call to _delayedEndPrintMode:. If we get this far along in printing, then we don't need
        the failsafe call to _delayedEndPrintMode: that was set up in knowsPageRange:. Also, call extracted method.
        (-[WebHTMLView endDocument]):
        call extracted method

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9388 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by Darin.
vicki [Tue, 14 Jun 2005 00:29:40 +0000 (00:29 +0000)]
    Reviewed by Darin.

No test cases added since the steps to reproduce require use of showModalDialog.

- fix for <rdar://problem/4145910> parameters not working in showModalDialog
test page (dialogWidth, dialogHeight, etc.)

        * khtml/ecma/kjs_window.cpp:
        (KJS::parseFeatures): add a check for colon character in the feature string

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9380 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by Chris Blumenberg and Adele.
mjs [Tue, 14 Jun 2005 00:25:18 +0000 (00:25 +0000)]
    Reviewed by Chris Blumenberg and Adele.

- better fix for <rdar://problem/4142247> REGRESSION: List to browse widgets at Apple website failed. Closing tab afterwards caused Safari crash
http://bugzilla.opendarwin.org/show_bug.cgi?id=3445

With this change and the matching WebKit change we'll still stop loading the moment you click
a download link, but the unload event and detaching of event handlers will not happen early any more.

        * WebView.subproj/WebDataSource.m:
        (-[WebDataSource _stopLoadingInternal]): call stopLoading on bridge instead of closeURL.
        * WebView.subproj/WebFrame.m:
        (-[WebFrame _transitionToCommitted:]): Revert previous attempt at fix.
        (-[WebFrame _continueLoadRequestAfterNavigationPolicy:formState:]): ditto
        (-[WebFrame stopLoading]): ditto

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9379 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by Chris Blumenberg and Adele.
mjs [Tue, 14 Jun 2005 00:23:45 +0000 (00:23 +0000)]
    Reviewed by Chris Blumenberg and Adele.

- better fix for <rdar://problem/4142247> REGRESSION: List to browse widgets at Apple website failed. Closing tab afterwards caused Safari crash
http://bugzilla.opendarwin.org/show_bug.cgi?id=3445

With this change and the matching WebKit change we'll still stop loading the moment you click
a download link, but the unload event and detaching of event handlers will not happen early any more.

        * khtml/khtml_part.cpp:
        (KHTMLPart::stopLoading): Factored out from closeURL, make firing of unload
and detaching of event handlers optional.
        (KHTMLPart::closeURL): call stopLoading(true)
        * khtml/khtml_part.h:
        * kwq/WebCoreBridge.h:
        * kwq/WebCoreBridge.mm:
        (-[WebCoreBridge stopLoading]): Call stopLoading(false).

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9378 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Changes by Darin.
cpeterse [Tue, 14 Jun 2005 00:08:31 +0000 (00:08 +0000)]
    Changes by Darin.
        Reviewed by me.

        - fixed problems building deployment due to recent init change

        * WebView.subproj/WebArchive.m: (-[WebArchive initWithCoder:]):
        Put the [super init] call and check for nil outside the exception handler.
        * WebView.subproj/WebResource.m: (-[WebResource initWithCoder:]): Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9377 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by Maciej.
darin [Mon, 13 Jun 2005 15:33:35 +0000 (15:33 +0000)]
    Reviewed by Maciej.

        - fixed <rdar://problem/4141569> REGRESSION (412+): printing fails on any page with images, and for standalone images
          also <http://bugzilla.opendarwin.org/show_bug.cgi?id=3318>

        * WebCoreSupport.subproj/WebImageData.m: Got rid of use of tabs instead of spaces throughout the file.
        (-[WebImageData _checkSolidColor:]): Wrap use of NSGraphicsContext with an autorelease pool.
        (-[WebImageData _fillSolidColorInRect:compositeOperation:context:]): Ditto.
        (-[WebImageData tileInRect:fromPoint:context:]): Ditto.
        (-[WebImageData _PDFDrawFromRect:toRect:operation:alpha:flipped:context:]): Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9376 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Patch from Andrew Wellington <proton@wiretapped.net>
mjs [Mon, 13 Jun 2005 07:27:07 +0000 (07:27 +0000)]
Patch from Andrew Wellington <proton@wiretapped.net>
        Reviewed by me.

- fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=3302
(Safari crashes when going to acid2 test page once it's in cache)

        No test cases addded since the repro steps require use of tabbed browsing.

        * khtml/khtml_part.cpp:
        (KHTMLPart::handleFallbackContent): check for nil

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9375 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Changes by Nick Zitzmann.
darin [Mon, 13 Jun 2005 03:28:08 +0000 (03:28 +0000)]
    Changes by Nick Zitzmann.
        Reviewed by me.

        - fixed init methods that don't handle return values from the init methods they call

        * WebView.subproj/WebArchive.m:
        (-[WebArchive init]): Use value returned by init, check it for nil too.
        (-[WebArchive initWithMainResource:subresources:subframeArchives:]): Ditto.
        (-[WebArchive _initWithPropertyList:]): Ditto.
        (-[WebArchive initWithCoder:]): Ditto.
        * WebView.subproj/WebClipView.m:
        (-[WebClipView initWithFrame:]): Ditto.
        * WebView.subproj/WebDebugDOMNode.m:
        (-[WebDebugDOMNode initWithName:value:source:children:]): Ditto.
        * WebView.subproj/WebFrame.m:
        (-[WebFormState initWithForm:values:sourceFrame:]): Ditto.
        (-[WebFrame initWithName:webFrameView:webView:]): Ditto.
        * WebView.subproj/WebFrameView.m:
        (-[WebFrameView initWithFrame:]): Ditto.
        * WebView.subproj/WebHTMLRepresentation.m:
        (-[WebHTMLRepresentation init]): Ditto.
        * WebView.subproj/WebHTMLView.m:
        (-[WebHTMLView initWithFrame:]): Ditto.
        (-[WebTextCompleteController initWithHTMLView:]): Ditto.
        * WebView.subproj/WebImageView.m:
        (-[WebImageView initWithFrame:]): Ditto.
        * WebView.subproj/WebPreferences.m:
        (-[WebPreferences initWithIdentifier:]): Ditto.
        * WebView.subproj/WebRenderNode.m:
        (-[WebRenderNode initWithName:position:rect:view:children:]): Ditto.
        * WebView.subproj/WebResource.m:
        (-[WebResource init]): Ditto.
        (-[WebResource initWithCoder:]): Ditto.
        * WebView.subproj/WebView.m:
        (-[WebViewPrivate init]): Call super init.
        (-[_WebSafeForwarder initWithTarget:defaultTarget:templateClass:]): Use value returned by init, check it for nil too.
        (-[WebView initWithFrame:]): Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9374 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Changes by Stuart Morgan.
darin [Mon, 13 Jun 2005 03:26:23 +0000 (03:26 +0000)]
    Changes by Stuart Morgan.
        Reviewed by me.

        * Scripts/cvs-abandon: Use cwd instead of `pwd`.
        * Scripts/cvs-apply: Ditto.
        * Scripts/cvs-create-patch: Ditto.
        * Scripts/cvs-unapply: Ditto.
        * Scripts/run-webkit-tests: Ditto.
        * Scripts/webkitdirs.pm: Ditto. Also improve handling when there's no "Configuration" file.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9373 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago * Scripts/cvs-apply: Handle case of an empty patch better.
darin [Mon, 13 Jun 2005 03:12:54 +0000 (03:12 +0000)]
    * Scripts/cvs-apply: Handle case of an empty patch better.
        * Scripts/cvs-unapply: Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9372 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Changes by Michael Gaiman.
darin [Mon, 13 Jun 2005 02:45:26 +0000 (02:45 +0000)]
    Changes by Michael Gaiman.
        Reviewed by me.

        - fixed <http://bugzilla.opendarwin.org/show_bug.cgi?id=3487>
          WebKit no longer builds after configuration supporting build changes

        * Scripts/webkitdirs.pm: Chomp off the result of `pwd`, and don't die when no Configuration file.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9371 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago - added expected test results for new tests
darin [Mon, 13 Jun 2005 00:55:38 +0000 (00:55 +0000)]
    - added expected test results for new tests

        * layout-tests/fast/selectors/159-expected.txt: Added.
        * layout-tests/fast/selectors/177a-expected.txt: Added.
        * layout-tests/fast/selectors/177b-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9370 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago * Scripts/update-webkit: Make this script work when called from any directory.
darin [Mon, 13 Jun 2005 00:10:33 +0000 (00:10 +0000)]
    * Scripts/update-webkit: Make this script work when called from any directory.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9367 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by Maciej.
darin [Sun, 12 Jun 2005 22:48:34 +0000 (22:48 +0000)]
    Reviewed by Maciej.
        Includes changes by Stuart Morgan as well as my own.

        * Scripts/build-dumprendertree: Call the new setConfiguration function, and use XcodeOptions instead of
        symrootXcodeOptions to set the -buildstyle option.
        * Scripts/build-webkit: Ditto. Also remove the old way of supporting Xcode 2.1 and the old --debug option.
        The new --development option does the same thing.
        * Scripts/run-safari: Ditto.
        * Scripts/run-webkit-tests: Ditto.
        * Scripts/update-webkit: Ditto.
        * Scripts/set-webkit-configuration: Added. Sets the default configuration to Development or Deployment.

        * Scripts/webkitdirs.pm: use FindBin to find the WebKit directory; works no matter what the current
        directory is when invoking a script. Add code to determine the Xcode version so we can do the right
        thing for 2.0 and 2.1. Change the productDir function to return the appropriate per-configuration
        product directory. Read the default configuration from a file, overridable by a passed-in command-line
        option.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9366 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by Chris Blumenberg.
mjs [Sun, 12 Jun 2005 20:27:26 +0000 (20:27 +0000)]
    Reviewed by Chris Blumenberg.

- fixed <rdar://problem/4142247> REGRESSION: List to browse widgets at Apple website failed. Closing tab afterwards caused Safari crash
http://bugzilla.opendarwin.org/show_bug.cgi?id=3445

        * WebView.subproj/WebFrame.m:
        (-[WebFrame _transitionToCommitted:]): Stop loading the non-provisional data
source before swapping in the provisional.
        (-[WebFrame _continueLoadRequestAfterNavigationPolicy:formState:]): Stop only
the provisional load here, we would not want to stop loading if this navigation
later turns into a download or is cancelled before being committed.
        (-[WebFrame stopLoading]): Factored a bit.
        (-[WebFrame _cancelProvisionalLoad]): New method to stop only provisional load,
and cancel any pending policy deicions.
        (-[WebFrame _stopNonProvisionalLoadOnly]): New mthod that stops only the main
load.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9364 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago * Scripts/cvs-create-patch: Improve handling of directories with mixed CVS...
darin [Sun, 12 Jun 2005 05:56:32 +0000 (05:56 +0000)]
    * Scripts/cvs-create-patch: Improve handling of directories with mixed CVS roots by going into each directory
        to execute the cvs diff commands.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9363 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago - added first cuts at some cvs scripts
darin [Sun, 12 Jun 2005 05:41:20 +0000 (05:41 +0000)]
    - added first cuts at some cvs scripts

            cvs-abandon is for throwing away changes; discards any local changes, reverting to the state in CVS
            cvs-create-patch is for making patches; runs cvs diff with all the right options and handles added/deleted files
            cvs-apply is for applying patches; runs patch and cvs add and cvs rm
            cvs-unapply is for unapplying patches; does the opposite of cvs-apply

          An argument against these is "waste of time if we switch to Subversion", but they should be good for a while.

        * Scripts/cvs-abandon: Added.
        * Scripts/cvs-apply: Added.
        * Scripts/cvs-create-patch: Added.
        * Scripts/cvs-unapply: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9362 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Patch from Nicholas Shanks <contact@nickshanks.com>, by me.
mjs [Sun, 12 Jun 2005 04:07:31 +0000 (04:07 +0000)]
    Patch from Nicholas Shanks  <contact@nickshanks.com>, by me.

- Distinguish between pseudo-elements and pseudo-classes in CSS parsing.
http://bugzilla.opendarwin.org/show_bug.cgi?id=3375

Merge of svn log -v -r 399829 svn://anonsvn.kde.org/home/kde

        Test cases added: Added the following from CSS selector test suite,
unfortunately 159 and 117a do not show any difference with and without the
patch since layout tests do not dump selection style (yet).

        * layout-tests/fast/selectors/159.html: Added.
        * layout-tests/fast/selectors/177a.html: Added.
        * layout-tests/fast/selectors/177b.html: Added.

        * khtml/css/css_base.cpp:
        (CSSSelector::specificity):
        (CSSSelector::extractPseudoType):
        (CSSSelector::selectorText):
        * khtml/css/css_base.h:
        (DOM::CSSSelector::):
        (DOM::CSSSelector::pseudoType):
        * khtml/css/cssstyleselector.cpp:
        (khtml::CSSStyleSelector::checkSelector):
        (khtml::CSSStyleSelector::checkOneSelector):
        * khtml/css/parser.y:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9361 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Patch from Timothy Hatcher <timothy@colloquy.info>, reviewed by me.
mjs [Sat, 11 Jun 2005 09:51:01 +0000 (09:51 +0000)]
    Patch from Timothy Hatcher  <timothy@colloquy.info>, reviewed by me.

        Test cases added:
        * layout-tests/fast/dom/children-nodes-expected.txt: Added.
        * layout-tests/fast/dom/children-nodes.html: Added.

        * khtml/html/html_miscimpl.cpp:
        (DOM::HTMLCollectionImpl::traverseNextItem): For "children"
collection, use nextSibling() instead of traverseNextNext() to avoid
doing deep traversal.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9360 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Added missing expected results from the background image patch.
mjs [Sat, 11 Jun 2005 09:41:09 +0000 (09:41 +0000)]
    Added missing expected results from the background image patch.

        * layout-tests/fast/backgrounds/001-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9359 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Fix for bugzilla bug 3335, add support for the CSS3 indirect adjacent sibling select...
hyatt [Sat, 11 Jun 2005 05:31:17 +0000 (05:31 +0000)]
Fix for bugzilla bug 3335, add support for the CSS3 indirect adjacent sibling selector.  Patch merge
from KHTML tree by Nick Shanks.

        Reviewed by hyatt

        Test cases added: fast/selectors/046.html

        * khtml/css/css_base.cpp:
        (CSSSelector::selectorText):
        * khtml/css/css_base.h:
        (DOM::CSSSelector::):
        * khtml/css/cssstyleselector.cpp:
        (khtml::CSSStyleSelector::checkSelector):
        * khtml/css/parser.y:
        * layout-tests/fast/selectors/046-expected.txt: Added.
        * layout-tests/fast/selectors/046.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9358 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Fix for 3237, background image repeats when it shouldn't. The Radar bug is 4005553...
hyatt [Sat, 11 Jun 2005 05:01:18 +0000 (05:01 +0000)]
Fix for 3237, background image repeats when it shouldn't.  The Radar bug is 4005553.  Patch from
Nate Cook.

        Reviewed by darin and hyatt

        Test cases added: fast/backgrounds/001.html

        * khtml/rendering/render_box.cpp:
        (RenderBox::paintBackgroundExtended):
        * layout-tests/fast/backgrounds/001.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9357 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Merge Allan Jensen's fix for 3236.
hyatt [Sat, 11 Jun 2005 01:58:02 +0000 (01:58 +0000)]
Merge Allan Jensen's fix for 3236.

        Reviewed by hyatt

        Test cases added: None, test case already added for the bug.

        * khtml/css/cssstyleselector.cpp:
        (khtml::CSSStyleSelector::applyProperty):
        * khtml/rendering/render_style.cpp:
        (RenderStyle::setContent):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9356 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago reviewed by Dave Harrison (first & second drafts) and Darin Adler (third...
sullivan [Sat, 11 Jun 2005 00:42:53 +0000 (00:42 +0000)]
    reviewed by Dave Harrison (first & second drafts) and Darin Adler (third draft)

        - WebKit part of fix for
        <rdar://problem/4145214> REGRESSION (412+): Can't drag URLs from the location bar

        * Misc.subproj/WebNSPasteboardExtras.m:
        (+[NSPasteboard initialize]):
        Reinstate variation of old code that uses CreatePasteboardFlavorTypeName to set up our new pasteboard types.
        The newfangled way didn't work.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9355 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoUpdated copies of WebKitSystemInterface.h and libWebKitSystemInterface.a that include...
sullivan [Sat, 11 Jun 2005 00:40:24 +0000 (00:40 +0000)]
Updated copies of WebKitSystemInterface.h and libWebKitSystemInterface.a that include the new functions needed to fix 3446192.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9354 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Change by Mark Rowe <opendarwin.org@bdash.net.nz>.
darin [Fri, 10 Jun 2005 18:02:57 +0000 (18:02 +0000)]
    Change by Mark Rowe <opendarwin.org@bdash.net.nz>.
        Refined and reviewed by me.

        - test for exception file/line number fix
          http://bugzilla.opendarwin.org/show_bug.cgi?id=3327

        * layout-tests/fast/js/exception-linenums-expected.txt: Added.
        * layout-tests/fast/js/exception-linenums.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9353 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Change by Mark Rowe <opendarwin.org@bdash.net.nz>.
darin [Fri, 10 Jun 2005 18:02:33 +0000 (18:02 +0000)]
    Change by Mark Rowe <opendarwin.org@bdash.net.nz>.
        Reviewed by me.

        - further improvements to exception file/line number fix

        * kjs/nodes.h: Added setExceptionDetailsIfNeeded function.
        * kjs/nodes.cpp: Updated macros to call the new setExceptionDetailsIfNeeded function.
        (Node::setExceptionDetailsIfNeeded): Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9352 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Fix from Carston Guenther for bugzilla bug 3236.
hyatt [Fri, 10 Jun 2005 06:47:36 +0000 (06:47 +0000)]
Fix from Carston Guenther for bugzilla bug 3236.

attr(x) should work even if x is not present on the element.

This is Radar bug #3584466

        Reviewed by hyatt

        Test cases added: fast/css-generated-content/013.html

        * khtml/css/cssstyleselector.cpp:
        (khtml::CSSStyleSelector::applyProperty):
        * layout-tests/fast/css-generated-content/013-expected.txt: Added.
        * layout-tests/fast/css-generated-content/013.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9351 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Tested by Mark Rowe.
darin [Fri, 10 Jun 2005 04:27:20 +0000 (04:27 +0000)]
    Tested by Mark Rowe.

        * layout-tests/fast/js/date-parse-test.html: Updated this test to use a time zone offset
        for one of the test cases that's time zone dependent; was working in CA, US, failing in NZ.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9350 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Tested by Brian Dash.
darin [Fri, 10 Jun 2005 04:23:18 +0000 (04:23 +0000)]
    Tested by Brian Dash.

        * layout-tests/fast/js/date-parse-test.html: Updated this test to use a time zone offset
        for one of the test cases that's time zone dependent; was working in CA, US, failing in NZ.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9349 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by Maciej.
darin [Thu, 9 Jun 2005 23:17:56 +0000 (23:17 +0000)]
    Reviewed by Maciej.

        - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=3397
          Build DumpRenderTree fails with unresolved NSAutoreleasePool, etc

        * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Change type from "folder" to "wrapper.framework"
        for Foundation.framework. How was it ever wrong?

        - finally, I tested making the default build directory work; it works now

        * Scripts/webkitdirs.pm: Changed structure of the code a little bit, added symrootXcodeOptions function
        that sets SYMROOT on the command line in case there's no product directory set in Xcode preferences.
        * Scripts/build-webkit: Pass symrootXcodeOptions when invoking Xcode.
        * Scripts/build-dumprendertree: Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9348 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Change by Mark Rowe <opendarwin.org@bdash.net.nz>
darin [Thu, 9 Jun 2005 13:03:36 +0000 (13:03 +0000)]
    Change by Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by me.

        * kjs/nodes.cpp: Get rid of unneeded this->.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9347 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago * Scripts/webkitdirs.pm: Another try at making the default build directory...
darin [Thu, 9 Jun 2005 13:03:35 +0000 (13:03 +0000)]
    * Scripts/webkitdirs.pm: Another try at making the default build directory of ~/WebKitBuild
        work. Someone should try building without setting the Xcode build product directory now,
        and let me know if it works.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9346 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago - quick fix to try to get build scripts working again
darin [Thu, 9 Jun 2005 06:14:17 +0000 (06:14 +0000)]
    - quick fix to try to get build scripts working again

        * Scripts/build-dumprendertree: Add FindBin.
        * Scripts/build-webkit: Ditto.
        * Scripts/run-safari: Ditto.
        * Scripts/run-webkit-tests: Ditto.
        * Scripts/update-webkit: Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9345 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by Maciej.
darin [Thu, 9 Jun 2005 05:43:48 +0000 (05:43 +0000)]
    Reviewed by Maciej.

        - some build script enhancements

        * Scripts/build-dumprendertree: Changed to use webkitdirs.
        * Scripts/build-webkit: Changed to use webkitdirs, also only copy files from WebKitLibraries if
        they are newer.
        * Scripts/run-safari: Reduce number of log messages, change to respect "-d" flag and get Development
        before Deplyment in that case.
        * Scripts/run-webkit-tests: Changed to use webkitdirs.
        * Scripts/update-webkit: Changed to use webkitdirs.

        * Scripts/webkitdirs.pm: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9344 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoOops, i missed the project file changes too.
mjs [Wed, 8 Jun 2005 09:55:12 +0000 (09:55 +0000)]
Oops, i missed the project file changes too.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9343 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoAdd new files that I forgot to check in with the last change.
mjs [Wed, 8 Jun 2005 09:16:42 +0000 (09:16 +0000)]
Add new files that I forgot to check in with the last change.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9341 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Code change by Toby Peterson <toby@opendarwin.org>
mjs [Wed, 8 Jun 2005 09:00:52 +0000 (09:00 +0000)]
Code change by Toby Peterson <toby@opendarwin.org>
        Reviewed by me.

        * Scripts/run-safari: Fix to work with Xcode 2.0 again. The script would
get confused because build-webkit now makes even 2.0 build directories look
like 2.1.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9340 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed and committed by Maciej.
mjs [Wed, 8 Jun 2005 08:39:20 +0000 (08:39 +0000)]
Reviewed and committed by Maciej.

- fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=3337
(Support the Mozilla DOMParser and XMLSerializer objects)

<rdar://problem/3533735> implement Mozilla "DOMParser" extension for use with XMLHTTPRequest

        Test cases added:
        * layout-tests/fast/dom/dom-parse-serialize-display-expected.txt: Added.
        * layout-tests/fast/dom/dom-parse-serialize-display.html: Added.
        * layout-tests/fast/dom/dom-parse-serialize-expected.txt: Added.
        * layout-tests/fast/dom/dom-parse-serialize.html: Added.

* khtml/ecma/domparser.h:
* khtml/ecma/domparser.cpp:
Add files implementing the DOMParser object.

* khtml/ecma/kjs_window.h:
* khtml/ecma/kjs_window.cpp:
Expose DOMParser object.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9339 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Change by Mark Rowe <opendarwin.org@bdash.net.nz>
mjs [Wed, 8 Jun 2005 07:09:50 +0000 (07:09 +0000)]
    Change by Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by me.

- fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=3327
(Exception When Setting Style to Invalid Value Lacks Line/File Information)

        * kjs/nodes.cpp: Include source file and line number when making exception in
KJS_CHECKEXCEPTIONVALUE.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9338 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Patch from Brian Campbell. Make sure the min and max values of slider properly...
hyatt [Wed, 8 Jun 2005 00:41:20 +0000 (00:41 +0000)]
Patch from Brian Campbell.  Make sure the min and max values of slider properly update.
Fixes bugilla bug 3323, internal Radar # is 4098892.

        Reviewed by hyatt

        Test cases added: (Not testable with a layout test)

        * kwq/KWQSlider.mm:
        (QSlider::setMinValue):
        (QSlider::setMaxValue):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9337 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by Adele Peterson.
darin [Wed, 8 Jun 2005 00:27:05 +0000 (00:27 +0000)]
    Reviewed by Adele Peterson.

        * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added Deployment build style.
        * Scripts/build-dumprendertree: For now, always use Deployment build style. This may fix things
        so we can run tests with Xcode 2.1.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9336 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoOops, forgot to use Adele's married name.
darin [Tue, 7 Jun 2005 22:46:32 +0000 (22:46 +0000)]
Oops, forgot to use Adele's married name.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9333 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by Adele Amchan.
darin [Tue, 7 Jun 2005 22:45:57 +0000 (22:45 +0000)]
    Reviewed by Adele Amchan.

        * Scripts/run-webkit-tests: Pass -L to find command to follow symlinks. This allows symlinks in the
        layout-tests directory to include additional sets of tests.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9332 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Change by Darin, reviewed by Maciej and me.
adele [Tue, 7 Jun 2005 22:12:57 +0000 (22:12 +0000)]
    Change by Darin, reviewed by Maciej and me.

        - fixed <rdar://problem/4139800> REGRESSION: Safari crashes at bebe.com

        There were cases where the DOMNode mark function would end up not even
        marking the node that it was called on. The old code tried to skip any
        subtrees that were already marked, but that code was wrong.

        * khtml/ecma/kjs_dom.cpp: (KJS::DOMNode::mark): Changed three things:
          1) Instead of a boolean, keep a set of trees that we are marking, that
             prevents problems if we mark things that have references between
             separate trees of DOM nodes.
          2) Don't do the "outermost node with a wrapper" check, just start marking
             at the root of the entire tree, because there's no way to have an
             unreachable node pointing to a reachable node.
          3) Handle the unusual case where the document's wrapper dictionary is
             gone by marking just this node explicitly.
        This passes the layout tests, still fixes the Dashboard memory leak from
        bug 4125222, and makes bebe.com work again.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9330 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago * checkout: Added license.
darin [Tue, 7 Jun 2005 22:02:25 +0000 (22:02 +0000)]
    * checkout: Added license.
        * Scripts/build-dumprendertree: Ditto.
        * Scripts/run-webkit-tests: Ditto.
        * Scripts/update-webkit: Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9329 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Change by Toby Peterson <toby@opendarwin.org>.
darin [Tue, 7 Jun 2005 21:58:56 +0000 (21:58 +0000)]
    Change by Toby Peterson <toby@opendarwin.org>.
        Reviewed by me.

        * Scripts/build-webkit: Changes so you can build with Xcode 2.1. (I also added a license to this file.)
        * Scripts/run-safari: Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9328 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Change by Toby Peterson <toby@opendarwin.org>.
darin [Tue, 7 Jun 2005 21:48:06 +0000 (21:48 +0000)]
    Change by Toby Peterson <toby@opendarwin.org>.
        Reviewed by me.

        * WebCore.pbproj/project.pbxproj: Allow bison 2.0, which generates the file
        with a different name.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9327 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Change by Toby Peterson <toby@opendarwin.org>.
darin [Tue, 7 Jun 2005 18:34:26 +0000 (18:34 +0000)]
    Change by Toby Peterson <toby@opendarwin.org>.
        Reviewed by me.

        * JavaScriptCore.pbproj/project.pbxproj: Allow bison 2.0, which generates the file
        with a different name.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9326 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Change by Mark Rowe <opendarwin.org@bdash.net.nz>.
darin [Tue, 7 Jun 2005 16:07:13 +0000 (16:07 +0000)]
    Change by Mark Rowe <opendarwin.org@bdash.net.nz>.
        Reviewed by me.

        - fixed the WebKit half of build failure with spaces in the path
          http://bugzilla.opendarwin.org/show_bug.cgi?id=3291

        * WebKit.pbproj/project.pbxproj: Quote DERIVED_FILE_DIR when it is substituted
        into FRAMEWORK_SEARCH_PATHS, and SYMROOT when into HEADER_SEARCH_PATHS.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9325 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoFixed name in ChangeLog.
darin [Tue, 7 Jun 2005 16:05:01 +0000 (16:05 +0000)]
Fixed name in ChangeLog.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9324 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Change by Toby Peterson <toby@opendarwin.org>.
darin [Tue, 7 Jun 2005 16:00:16 +0000 (16:00 +0000)]
    Change by Toby Peterson <toby@opendarwin.org>.
        Reviewed by me.

        - fixed the WebCore half of build failure with spaces in the path
          http://bugzilla.opendarwin.org/show_bug.cgi?id=3291

        * WebCore.pbproj/project.pbxproj: Add quotes to make LIBRARY_SEARCH_PATHS work even when
        the path has a space in it.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9323 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Change by Toby Peterson <toby@opendarwin.org>.
darin [Tue, 7 Jun 2005 15:55:08 +0000 (15:55 +0000)]
    Change by Toby Peterson <toby@opendarwin.org>.
        Reviewed by me.

        * kjs/grammar.y: Remove bogus extra line from grammar.y. Toby got this change from KDE KJS.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9322 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Patch from Mark Rowe to fix a minor memory leak in WebCoreSettings.
hyatt [Tue, 7 Jun 2005 15:34:08 +0000 (15:34 +0000)]
Patch from Mark Rowe to fix a minor memory leak in WebCoreSettings.

        Reviewed by hyatt

        * kwq/WebCoreSettings.mm:
        (-[WebCoreSettings dealloc]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9321 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago * tests/mozilla/run-mozilla-tests: Wrote a perl version of this so we don...
darin [Tue, 7 Jun 2005 05:25:20 +0000 (05:25 +0000)]
    * tests/mozilla/run-mozilla-tests: Wrote a perl version of this so we don't require
        the "jst" tool to run the tests.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9320 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agopurify the ChangeLog's essence
mjs [Tue, 7 Jun 2005 05:21:28 +0000 (05:21 +0000)]
purify the ChangeLog's essence

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9319 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago * Info.plist: Bumped version to 412+. For some reason it was set to 312.1!
darin [Tue, 7 Jun 2005 04:07:51 +0000 (04:07 +0000)]
    * Info.plist: Bumped version to 412+. For some reason it was set to 312.1!

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9318 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago * Scripts/build-webkit: run ranlib on libWebKitSystemInterface.a
mjs [Tue, 7 Jun 2005 03:07:05 +0000 (03:07 +0000)]
    * Scripts/build-webkit: run ranlib on libWebKitSystemInterface.a

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9317 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago * Scripts/build-webkit: Chop newline off of $productDir to avoid problems...
mjs [Tue, 7 Jun 2005 02:54:57 +0000 (02:54 +0000)]
    * Scripts/build-webkit: Chop newline off of $productDir to avoid problems with logic to copy files ther.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9316 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago * Scripts/build-webkit: Install WebKitSystemInterface stuff into build produc...
mjs [Tue, 7 Jun 2005 02:26:39 +0000 (02:26 +0000)]
    * Scripts/build-webkit: Install WebKitSystemInterface stuff into build products dir.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9315 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoRemove mention of SPI removal work from ChangeLog per request.
mjs [Tue, 7 Jun 2005 01:48:08 +0000 (01:48 +0000)]
Remove mention of SPI removal work from ChangeLog per request.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9314 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago - fix crashing problem in last change
mjs [Tue, 7 Jun 2005 00:54:06 +0000 (00:54 +0000)]
    - fix crashing problem in last change

        * WebCoreSupport.subproj/WebTextRenderer.m:
        (-[WebTextRenderer _setupFont]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9313 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago - updated for crashing bugfix
mjs [Tue, 7 Jun 2005 00:51:53 +0000 (00:51 +0000)]
    - updated for crashing bugfix

        * libWebKitSystemInterface.a:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9312 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago - removed carbon and text SPI
mjs [Tue, 7 Jun 2005 00:37:21 +0000 (00:37 +0000)]
    - removed carbon and text SPI

        * Carbon.subproj/HIWebView.m:
        (-[MenuItemProxy initWithAction:]):
        (-[MenuItemProxy action]):
        (-[MenuItemProxy tag]):
        (GetWindowRef):
        (Click):
        (MouseUp):
        (MouseMoved):
        (MouseDragged):
        (MouseWheelMoved):
        (WindowHandler):
        (HIWebViewEventHandler):
        (UpdateObserver):
        * WebCoreSupport.subproj/WebTextRenderer.m:
        (getUncachedWidth):
        (-[WebTextRenderer initWithFont:usingPrinterFont:]):
        (-[WebTextRenderer dealloc]):
        (-[WebTextRenderer finalize]):
        (-[WebTextRenderer _substituteFontForString:families:]):
        (-[WebTextRenderer _convertCharacters:length:toGlyphs:]):
        (-[WebTextRenderer _convertUnicodeCharacters:length:toGlyphs:]):
        (-[WebTextRenderer _setupFont]):
        (_drawGlyphs):
        (-[WebTextRenderer _extendUnicodeCharacterToGlyphMapToInclude:]):
        (-[WebTextRenderer _extendCharacterToGlyphMapToInclude:]):
        (-[WebTextRenderer _initializeATSUStyle]):
        (fillStyleWithAttributes):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9311 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago - updated
mjs [Tue, 7 Jun 2005 00:35:47 +0000 (00:35 +0000)]
    - updated

        * WebKitSystemInterface.h:
        * libWebKitSystemInterface.a:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9310 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago - remove plugin-related SPI calls
mjs [Mon, 6 Jun 2005 14:53:46 +0000 (14:53 +0000)]
    - remove plugin-related SPI calls

        * Plugins.subproj/WebBaseNetscapePluginView.m:
        (+[WebBaseNetscapePluginView initialize]):
        (-[WebBaseNetscapePluginView getCarbonEvent:withEvent:]):
        (-[WebBaseNetscapePluginView keyUp:]):
        (-[WebBaseNetscapePluginView keyDown:]):
        (-[WebBaseNetscapePluginView tellQuickTimeToChill]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9309 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago - updated
mjs [Mon, 6 Jun 2005 14:51:49 +0000 (14:51 +0000)]
    - updated

        * WebKitSystemInterface.h:
        * libWebKitSystemInterface.a:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9308 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago - remove graphics SPI use
mjs [Mon, 6 Jun 2005 13:47:56 +0000 (13:47 +0000)]
    - remove graphics SPI use

        * WebCoreSupport.subproj/WebGraphicsBridge.m:
        (-[WebGraphicsBridge setFocusRingStyle:radius:color:]):
        (-[WebGraphicsBridge setDraggingImage:at:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9307 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago - updated
mjs [Mon, 6 Jun 2005 13:45:07 +0000 (13:45 +0000)]
    - updated

        * WebKitSystemInterface.h:
        * libWebKitSystemInterface.a:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9306 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago - more SPI removal, for font cache and CFStream
mjs [Mon, 6 Jun 2005 13:26:17 +0000 (13:26 +0000)]
    - more SPI removal, for font cache and CFStream

        * WebCoreSupport.subproj/WebTextRendererFactory.m:
        (getLCDScaleParameters):
        (+[WebTextRendererFactory createSharedFactory]):
        * WebView.subproj/WebFormDataStream.m:
        (formCanRead):
        (formEventCallback):
        (webSetHTTPBody):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9305 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by NOBODY (OOPS!).
mjs [Mon, 6 Jun 2005 13:24:50 +0000 (13:24 +0000)]
    Reviewed by NOBODY (OOPS!).

        * WebKitSystemInterface.h:
        * libWebKitSystemInterface.a:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9304 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago - updated
mjs [Mon, 6 Jun 2005 12:48:34 +0000 (12:48 +0000)]
- updated

        * WebKitSystemInterface.h:
        * libWebKitSystemInterface.a:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9303 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago - remove use of AX SPI
mjs [Mon, 6 Jun 2005 12:48:06 +0000 (12:48 +0000)]
    - remove use of AX SPI

        * WebCoreSupport.subproj/WebViewFactory.m:
        (-[WebViewFactory objectIsTextMarker:]):
        (-[WebViewFactory objectIsTextMarkerRange:]):
        (-[WebViewFactory textMarkerWithBytes:length:]):
        (-[WebViewFactory getBytes:fromTextMarker:length:]):
        (-[WebViewFactory textMarkerRangeWithStart:end:]):
        (-[WebViewFactory startOfTextMarkerRange:]):
        (-[WebViewFactory endOfTextMarkerRange:]):
        (-[WebViewFactory accessibilityHandleFocusChanged]):
        (-[WebViewFactory AXUIElementForElement:]):
        (-[WebViewFactory unregisterUniqueIdForUIElement:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9302 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago - removed more SPI
mjs [Mon, 6 Jun 2005 12:16:15 +0000 (12:16 +0000)]
    - removed more SPI

        * Carbon.subproj/CarbonUtils.m:
        (WebInitForCarbon):
        (PoolCleaner):
        * WebView.subproj/WebHTMLView.m:
        (+[WebHTMLView _postFlagsChangedEvent:]):
        (-[WebHTMLView _autoscroll]):
        (-[WebHTMLView addMouseMovedObserver]):
        (-[WebHTMLView removeMouseMovedObserver]):
        (-[WebHTMLView layoutToMinimumPageWidth:maximumPageWidth:adjustingViewSize:]):
        (-[WebHTMLView _interceptEditingKeyEvent:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9301 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago - updated
mjs [Mon, 6 Jun 2005 12:14:44 +0000 (12:14 +0000)]
    - updated

        * WebKitSystemInterface.h:
        * libWebKitSystemInterface.a:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9300 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago - more SPI use removal
mjs [Mon, 6 Jun 2005 11:43:50 +0000 (11:43 +0000)]
    - more SPI use removal

        * Misc.subproj/WebDownload.h:
        * Misc.subproj/WebNSURLExtras.m:
        (-[NSURL _webkit_canonicalize]):
        * WebView.subproj/WebMainResourceClient.h:
        * WebView.subproj/WebMainResourceClient.m:
        (-[WebMainResourceClient initWithDataSource:]):
        * WebView.subproj/WebView.m:
        (-[WebView _commonInitializationWithFrameName:groupName:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9299 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago - updated
mjs [Mon, 6 Jun 2005 11:42:55 +0000 (11:42 +0000)]
    - updated

        * WebKitSystemInterface.h:
        * libWebKitSystemInterface.a:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9298 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago - remove unneeded header include
mjs [Mon, 6 Jun 2005 11:16:11 +0000 (11:16 +0000)]
- remove unneeded header include

        * WebCoreSupport.subproj/WebImageRenderer.m:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9297 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago - removed even more SPI use
mjs [Mon, 6 Jun 2005 11:12:32 +0000 (11:12 +0000)]
    - removed even more SPI use

        * Misc.subproj/WebDownload.m:
        * WebCoreSupport.subproj/WebImageData.m:
        (-[WebImageData _imageSourceOptions]):
        * WebCoreSupport.subproj/WebImageRenderer.m:
        (WebCGColorSpaceCreateRGB):
        (WebCGColorSpaceCreateGray):
        * WebView.subproj/WebBaseResourceHandleDelegate.m:
        (-[WebBaseResourceHandleDelegate loadWithRequest:]):
        (-[WebBaseResourceHandleDelegate setDefersCallbacks:]):
        * WebView.subproj/WebMainResourceClient.m:
        (-[WebMainResourceClient didReceiveResponse:]):
        (-[WebMainResourceClient didReceiveData:lengthReceived:]):
        (-[WebMainResourceClient didFinishLoading]):
        (-[WebMainResourceClient didFailWithError:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9296 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago - updated
mjs [Mon, 6 Jun 2005 11:11:26 +0000 (11:11 +0000)]
    - updated

        * WebKitSystemInterface.h:
        * libWebKitSystemInterface.a:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9295 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Tweak, simplify.
darin [Mon, 6 Jun 2005 06:05:01 +0000 (06:05 +0000)]
    * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Tweak, simplify.
        * Scripts/build-dumprendertree: Added.
        * Scripts/build-webkit: Build All in the JavaScriptCore directory.
        * Scripts/run-webkit-tests: Build DumpRenderTree before running.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9294 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoChange layout test #10 to use a smaller bullet image.
hyatt [Mon, 6 Jun 2005 05:46:40 +0000 (05:46 +0000)]
Change layout test #10 to use a smaller bullet image.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9293 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by Hyatt.
darin [Mon, 6 Jun 2005 05:15:21 +0000 (05:15 +0000)]
    Reviewed by Hyatt.

        - fixed hang we were seeing in Safari and layout tests

        * Misc.subproj/WebNSUserDefaultsExtras.m:
        (+[NSUserDefaults _webkit_ensureAndLockPreferredLanguageLock]): Change name to avoid conflict with Foundation
        function. This was causing the hang.
        (+[NSUserDefaults _webkit_defaultsDidChange]): Update caller.
        (+[NSUserDefaults _webkit_preferredLanguageCode]): Ditto.

        * WebCoreSupport.subproj/WebGraphicsBridge.m: Remove some unneeded includes.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9292 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by Hyatt.
darin [Mon, 6 Jun 2005 03:44:54 +0000 (03:44 +0000)]
    Reviewed by Hyatt.

        - fixed crash in Acid2 layout test

        * Plugins.subproj/WebBasePluginPackage.m: (-[WebBasePluginPackage dealloc]): Added nil check for CFBundleRef.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9291 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by Hyatt.
darin [Mon, 6 Jun 2005 03:25:06 +0000 (03:25 +0000)]
    Reviewed by Hyatt.

- remove more SPI usage

        * Carbon.subproj/CarbonWindowAdapter.m: Remove a bunch of stuff.
        (+[CarbonWindowAdapter frameViewClassForStyleMask:]):
        (-[CarbonWindowAdapter initWithCarbonWindowRef:takingOwnership:disableOrdering:carbon:]):
        (-[CarbonWindowAdapter reconcileToCarbonWindowBounds]):
        (-[CarbonWindowAdapter _oldPlaceWindow:]):
        (-[CarbonWindowAdapter _termWindowIfOwner]):
        (-[CarbonWindowAdapter _windowMovedToRect:]):
        (-[CarbonWindowAdapter makeKeyWindow]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9290 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago - remove another forgotten include
mjs [Mon, 6 Jun 2005 02:39:21 +0000 (02:39 +0000)]
    - remove another forgotten include

        * Plugins.subproj/WebPluginDatabase.m:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9289 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago - remove include that I forgot in last checkin
mjs [Mon, 6 Jun 2005 02:27:42 +0000 (02:27 +0000)]
- remove include that I forgot in last checkin

        * Misc.subproj/WebNSPasteboardExtras.m:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9288 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago - added a few more bits of SPI
mjs [Mon, 6 Jun 2005 02:21:58 +0000 (02:21 +0000)]
    - added a few more bits of SPI

        * WebKitSystemInterface.h:
        * libWebKitSystemInterface.a:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9287 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by Don.
mjs [Mon, 6 Jun 2005 02:21:19 +0000 (02:21 +0000)]
    Reviewed by Don.

- remove more SPI usage
- fix <rdar://problem/3446192> CoreTranslation SPI is going away

        * History.subproj/WebHistoryItem.m:
        (+[WebHistoryItem _releasePageCache:]):
        * Misc.subproj/WebNSPasteboardExtras.m:
        (+[NSPasteboard initialize]):
        * WebCoreSupport.subproj/WebTextRenderer.h:
        * WebCoreSupport.subproj/WebTextRenderer.m:
        (-[WebTextRenderer _setupFont]):
        * WebView.subproj/WebPreferences.m:
        (+[WebPreferences _systemCFStringEncoding]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9286 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago*** empty log message ***
mjs [Mon, 6 Jun 2005 02:00:54 +0000 (02:00 +0000)]
*** empty log message ***

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9285 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago * Scripts/run-safari: Fix path to Safari executable. Add check for frameworks.
darin [Mon, 6 Jun 2005 00:34:58 +0000 (00:34 +0000)]
    * Scripts/run-safari: Fix path to Safari executable. Add check for frameworks.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9284 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by Darin.
mjs [Mon, 6 Jun 2005 00:15:12 +0000 (00:15 +0000)]
    Reviewed by Darin.

- use WebKitSystemInterface wrappers for NSURLFileTypeMappings and NSURLResponse SPI

        * Misc.subproj/WebNSPasteboardExtras.m:
        (-[NSPasteboard _web_declareAndWriteDragImage:URL:title:archive:source:]):
        * Misc.subproj/WebNSURLExtras.m:
        (-[NSURL _webkit_suggestedFilenameWithMIMEType:]):
        * Misc.subproj/WebNSViewExtras.m:
        (-[NSView _web_dragImage:rect:event:pasteboard:source:offset:]):
        * Plugins.subproj/WebBaseNetscapePluginStream.m:
        (-[WebBaseNetscapePluginStream startStreamWithResponse:]):
        * Plugins.subproj/WebNetscapePluginStream.m:
        (-[WebNetscapePluginConnectionDelegate didReceiveResponse:]):
        * Plugins.subproj/WebPluginDatabase.m:
        (-[WebPluginDatabase pluginForExtension:]):
        * WebCoreSupport.subproj/WebBridge.m:
        (-[WebBridge expiresTimeForResponse:]):
        (-[WebBridge determineObjectFromMIMEType:URL:]):
        (-[WebBridge MIMETypeForPath:]):
        * WebCoreSupport.subproj/WebImageRendererFactory.m:
        (-[WebImageRendererFactory supportedMIMETypes]):
        * WebView.subproj/WebBaseResourceHandleDelegate.m:
        (-[WebBaseResourceHandleDelegate _canUseResourceWithResponse:]):
        * WebView.subproj/WebDataSource.m:
        (-[WebDataSource _commitIfReady:]):
        * WebView.subproj/WebHTMLView.m:
        (-[WebHTMLView _imageExistsAtPaths:]):
        (-[WebHTMLView _documentFragmentWithPaths:]):
        (-[WebHTMLView resourceForData:preferredFilename:]):
        * WebView.subproj/WebMainResourceClient.m:
        * WebView.subproj/WebView.m:
        (+[WebView _supportedFileExtensions]):
        (+[WebView suggestedFileExtensionForMIMEType:]):
        (+[WebView _MIMETypeForFile:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9283 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago - added file type and NSURLResponse caching SPI
mjs [Mon, 6 Jun 2005 00:12:47 +0000 (00:12 +0000)]
    - added file type and NSURLResponse caching SPI

        * WebKitSystemInterface.h:
        * libWebKitSystemInterface.a:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9282 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago - add run-webkit-tests script; not working yet but the pieces are there
darin [Sun, 5 Jun 2005 23:34:52 +0000 (23:34 +0000)]
    - add run-webkit-tests script; not working yet but the pieces are there

        * Scripts/run-webkit-tests: Added.

        * DumpRenderTree/DumpRenderTree.m: Added.
        * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Added.
        * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added.
        * DumpRenderTree/DumpRenderTreePrefix.h: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9281 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago - created module, first cut at Web Kit Open Source Project scripts
darin [Sun, 5 Jun 2005 23:14:19 +0000 (23:14 +0000)]
    - created module, first cut at Web Kit Open Source Project scripts

        * ChangeLog: Added.
        * Scripts/build-webkit: Added.
        * Scripts/run-safari: Added.
        * Scripts/update-webkit: Added.
        * checkout: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9280 268f45cc-cd09-0410-ab3c-d52691b4dbfc