WebKit-https.git
16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 years ago - initial checkin of WebKitSystemInterface binary
mjs [Sun, 5 Jun 2005 21:17:15 +0000 (21:17 +0000)]
- initial checkin of WebKitSystemInterface binary

        * WebKitSystemInterface.h: Added.
        * libWebKitSystemInterface.a: Added.

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

16 years ago Reviewed by Hyatt.
darin [Sun, 5 Jun 2005 20:57:29 +0000 (20:57 +0000)]
    Reviewed by Hyatt.

        - fixed build that I broke with the license change (some includes of WebException were still around)

        * WebKit.pbproj/project.pbxproj: Removed references to WebException.h/m.
        * WebView.subproj/WebDataSource.m: Removed include of WebException.h.
        * WebView.subproj/WebHTMLView.m: Ditto.
        * WebView.subproj/WebView.m: Ditto.

        - fixed build under gcc 4.0 (some code moved here from Foundation had warnings)

        * Misc.subproj/WebNSDataExtras.m:
        (-[NSString _web_capitalizeRFC822HeaderFieldName]): Use char instead of UInt8.
        (-[NSData _webkit_guessedMIMEType]):  Use char instead of UInt8, and take out now-
        unneeded type casts.

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

16 years ago Reviewed by Don.
mjs [Sun, 5 Jun 2005 20:42:32 +0000 (20:42 +0000)]
    Reviewed by Don.

- remove security code and use the stuff from WebKitSystemInterface instead

        * WebCoreSupport.subproj/WebKeyGenerator.m:
        (-[WebKeyGenerator signedPublicKeyAndChallengeStringWithStrengthIndex:challenge:pageURL:]):
        (-[WebKeyGenerator addCertificatesToKeychainFromData:]):
        * WebCoreSupport.subproj/WebNewKeyGeneration.c: Removed.
        * WebCoreSupport.subproj/WebNewKeyGeneration.h: Removed.
        * WebKit.pbproj/project.pbxproj:

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

16 years ago - added appropriate license headers to most files and updated copyright to...
darin [Sun, 5 Jun 2005 17:54:49 +0000 (17:54 +0000)]
    - added appropriate license headers to most files and updated copyright to reflect publication dates

        * LICENSE: Added.
        * <lots of files>: Added license header.

        * WebKit.pbproj/project.pbxproj: Removed references to NP_objc.h.

        * API-Issues.rtf: Removed.
        * Misc.subproj/WebException.h: Removed.
        * Misc.subproj/WebException.m: Removed.
        * Plugins.subproj/NP_objc.h: Removed.

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

16 years ago Reviewed by Hyatt.
mjs [Sun, 5 Jun 2005 09:22:25 +0000 (09:22 +0000)]
    Reviewed by Hyatt.

- link against libWebKitSystemInterface and use the first function in it.

        * Misc.subproj/WebNSUserDefaultsExtras.m:
        (-[NSString _webkit_HTTPStyleLanguageCode]): use WKCopyCFLocalizationPreferredName
        * Plugins.subproj/WebBasePluginPackage.m:
        (+[WebBasePluginPackage preferredLocalizationName]): ditto
        * WebKit.pbproj/project.pbxproj: link in libWebKitSystemInterface.a and find headers.

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

16 years agoWebCore:
darin [Sun, 5 Jun 2005 07:06:58 +0000 (07:06 +0000)]
WebCore:

        Reviewed by Don.

        - got rid of the rest of the dependencies on Apple Internal headers

        * kwq/WebCoreBridge.mm: Remove include of unused SPI header.

        * kwq/KWQAccObjectCache.h: Remove include of SPI header. Change use of AXTextMarkerRef to
        use WebCoreTextMarker instead. Also ifdef less.
        * kwq/KWQAccObjectCache.mm:
        (KWQAccObjectCache::textMarkerForVisiblePosition): Change types, call new WebCoreViewFactory methods.
        (KWQAccObjectCache::visiblePositionForTextMarker): Ditto.
        (KWQAccObjectCache::handleFocusedUIElementChanged): Ditto.

        * kwq/WebCoreViewFactory.h: Add new methods we can use instead of Accessibility SPI.

        * kwq/KWQAccObject.mm:
        (-[KWQAccObject detach]): Call new WebCoreViewFactory method instead of SPI.
        (-[KWQAccObject accessibilityAttributeNames]): Use strings instead of constants only in SPI header.
        (-[KWQAccObject textMarkerRangeFromMarkers:andEndMarker:]): Change parameter types from SPI type to
        a new type defined by WebCoreViewFactory, use WebCoreViewFactory method.
        (-[KWQAccObject textMarkerForVisiblePosition:]): Ditto.
        (-[KWQAccObject visiblePositionForTextMarker:]): Ditto.
        (-[KWQAccObject visiblePositionForStartOfTextMarkerRange:]): Ditto.
        (-[KWQAccObject visiblePositionForEndOfTextMarkerRange:]): Ditto.
        (-[KWQAccObject textMarkerRangeFromVisiblePositions:andEndPos:]): Just change type.
        (-[KWQAccObject textMarkerRange]): Ditto.
        (-[KWQAccObject accessibilityAttributeValue:]): String instead of constant.
        (-[KWQAccObject accessibilityParameterizedAttributeNames]): Ditto.
        (-[KWQAccObject doAXUIElementForTextMarker:]): Just change type.
        (-[KWQAccObject doAXLineForTextMarker:]): Ditto.
        (-[KWQAccObject doAXStringForTextMarkerRange:]): Ditto.
        (-[KWQAccObject doAXBoundsForTextMarkerRange:]): Ditto.
        (AXAttributeStringSetElement): Call new method.
        (-[KWQAccObject doAXAttributedStringForTextMarkerRange:]): Just change type.
        (-[KWQAccObject doAXTextMarkerRangeForUnorderedTextMarkers:]): Ditto.
        (-[KWQAccObject doAXNextTextMarkerForTextMarker:]): Ditto.
        (-[KWQAccObject doAXPreviousTextMarkerForTextMarker:]): Ditto.
        (-[KWQAccObject doAXLeftWordTextMarkerRangeForTextMarker:]): Ditto.
        (-[KWQAccObject doAXRightWordTextMarkerRangeForTextMarker:]): Ditto.
        (-[KWQAccObject doAXLeftLineTextMarkerRangeForTextMarker:]): Ditto.
        (-[KWQAccObject doAXRightLineTextMarkerRangeForTextMarker:]): Ditto.
        (-[KWQAccObject doAXSentenceTextMarkerRangeForTextMarker:]): Ditto.
        (-[KWQAccObject doAXParagraphTextMarkerRangeForTextMarker:]): Ditto.
        (-[KWQAccObject doAXNextWordEndTextMarkerForTextMarker:]): Ditto.
        (-[KWQAccObject doAXPreviousWordStartTextMarkerForTextMarker:]): Ditto.
        (-[KWQAccObject doAXNextLineEndTextMarkerForTextMarker:]): Ditto.
        (-[KWQAccObject doAXPreviousLineStartTextMarkerForTextMarker:]): Ditto.
        (-[KWQAccObject doAXNextSentenceEndTextMarkerForTextMarker:]): Ditto.
        (-[KWQAccObject doAXPreviousSentenceStartTextMarkerForTextMarker:]): Ditto.
        (-[KWQAccObject doAXNextParagraphEndTextMarkerForTextMarker:]): Ditto.
        (-[KWQAccObject doAXPreviousParagraphStartTextMarkerForTextMarker:]): Ditto.
        (-[KWQAccObject doAXLengthForTextMarkerRange:]): Ditto.
        (-[KWQAccObject accessibilityAttributeValue:forParameter:]): Change types, use new methods, use strings
        instead of constants.
        (-[KWQAccObject accessibilityIsAttributeSettable:]): String instead of constant.
        (-[KWQAccObject doSetAXSelectedTextMarkerRange:]): New type.
        (-[KWQAccObject accessibilitySetValue:forAttribute:]): New types, methods.

WebKit:

        Reviewed by Don.

        - did some work to move SPI use from WebCore here (to be moved from here into WebKitSystemInterface)
        - fixed so we can compile ICU includes without Apple Internal headers installed

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

        * WebKit.pbproj/project.pbxproj: Added icu to the header search files.
        Removed bogus DSTROOT thing from the framework paths (I meant to remove that a while back).

        * icu/README: Added.
        * icu/unicode/parseerr.h: Added.
        * icu/unicode/platform.h: Added.
        * icu/unicode/uchar.h: Added.
        * icu/unicode/uconfig.h: Added.
        * icu/unicode/uidna.h: Added.
        * icu/unicode/uiter.h: Added.
        * icu/unicode/umachine.h: Added.
        * icu/unicode/unorm.h: Added.
        * icu/unicode/urename.h: Added.
        * icu/unicode/uscript.h: Added.
        * icu/unicode/utf.h: Added.
        * icu/unicode/utf16.h: Added.
        * icu/unicode/utf8.h: Added.
        * icu/unicode/utf_old.h: Added.
        * icu/unicode/utypes.h: Added.
        * icu/unicode/uversion.h: Added.

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

16 years agoFix silly ChangeLog typo.
darin [Sun, 5 Jun 2005 00:44:59 +0000 (00:44 +0000)]
Fix silly ChangeLog typo.

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

16 years ago Reviewed by Maciej.
darin [Sun, 5 Jun 2005 00:42:43 +0000 (00:42 +0000)]
    Reviewed by Maciej.

        - first fix on the road to can compile without Apple Internal headers installed

        * WebCore.pbproj/project.pbxproj: Added icu directory to header search path.

        * icu/README: Added.
        * icu/unicode/parseerr.h: Added.
        * icu/unicode/platform.h: Added.
        * icu/unicode/putil.h: Added.
        * icu/unicode/ubrk.h: Added.
        * icu/unicode/uchar.h: Added.
        * icu/unicode/uconfig.h: Added.
        * icu/unicode/uenum.h: Added.
        * icu/unicode/uidna.h: Added.
        * icu/unicode/uiter.h: Added.
        * icu/unicode/uloc.h: Added.
        * icu/unicode/umachine.h: Added.
        * icu/unicode/urename.h: Added.
        * icu/unicode/ustring.h: Added.
        * icu/unicode/utf.h: Added.
        * icu/unicode/utf16.h: Added.
        * icu/unicode/utf8.h: Added.
        * icu/unicode/utf_old.h: Added.
        * icu/unicode/utypes.h: Added.
        * icu/unicode/uversion.h: Added.

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

16 years ago Reviewed by Maciej.
darin [Sun, 5 Jun 2005 00:41:00 +0000 (00:41 +0000)]
    Reviewed by Maciej.

        - fixed so we can compile without Apple Internal headers installed

        * JavaScriptCore.pbproj/project.pbxproj: Added icu directory to header search path.

        * icu/README: Added.
        * icu/unicode/platform.h: Added.
        * icu/unicode/uchar.h: Added.
        * icu/unicode/uconfig.h: Added.
        * icu/unicode/umachine.h: Added.
        * icu/unicode/urename.h: Added.
        * icu/unicode/utf.h: Added.
        * icu/unicode/utf16.h: Added.
        * icu/unicode/utf8.h: Added.
        * icu/unicode/utf_old.h: Added.
        * icu/unicode/utypes.h: Added.
        * icu/unicode/uversion.h: Added.

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

16 years ago Reviewed by Vicki.
mjs [Sat, 4 Jun 2005 22:46:55 +0000 (22:46 +0000)]
    Reviewed by Vicki.

- replace more use of CGCompositeOperation that I missed.

        * WebCoreSupport.subproj/WebImageData.m:
        (-[WebImageData _checkSolidColor:]):
        (-[WebImageData _fillSolidColorInRect:compositeOperation:context:]):
        (-[WebImageData tileInRect:fromPoint:context:]):
        (-[WebImageData _PDFDrawFromRect:toRect:operation:alpha:flipped:context:]):
        * WebCoreSupport.subproj/WebImageRenderer.m:
        (-[WebInternalImage _PDFDrawFromRect:toRect:operation:alpha:flipped:]):

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

16 years ago Reviewed by NOBODY (OOPS!).
mjs [Fri, 3 Jun 2005 23:25:27 +0000 (23:25 +0000)]
    Reviewed by NOBODY (OOPS!).

- replace use of CGCompositeOperation SPI with NSCompositingOperation API

        * WebCoreSupport.subproj/WebImageData.h:
        * WebCoreSupport.subproj/WebImageData.m:
        (-[WebImageData _fillSolidColorInRect:compositeOperation:context:]):
        (-[WebImageData _PDFDrawFromRect:toRect:operation:alpha:flipped:context:]):
        * WebCoreSupport.subproj/WebImageRenderer.m:
        (-[WebImageRenderer drawImageInRect:fromRect:]):
        (-[WebImageRenderer drawImageInRect:fromRect:compositeOperator:context:]):
        * WebCoreSupport.subproj/WebImageRendererFactory.m:
        (-[WebImageRendererFactory CGCompositeOperationInContext:]):
        (-[WebImageRendererFactory setCGCompositeOperation:inContext:]):
        (-[WebImageRendererFactory setCGCompositeOperationFromString:inContext:]):

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

16 years ago Reviewed by Kevin.
mjs [Fri, 3 Jun 2005 05:56:50 +0000 (05:56 +0000)]
    Reviewed by Kevin.

- removed dependencies on NSError SPI

        * Misc.subproj/WebKitErrors.m:
        (-[NSError _webkit_initWithDomain:code:URL:]):
        (+[NSError _webkit_errorWithDomain:code:URL:]):
        (+[NSError _webKitErrorWithDomain:code:URL:]):
        (+[NSError _webKitErrorWithCode:failingURL:]):
        (+[NSError _webkit_addErrorsWithCodesAndDescriptions:inDomain:]):
        (registerErrors):
        * Plugins.subproj/WebNetscapePluginRepresentation.m:
        * Plugins.subproj/WebNetscapePluginStream.m:
        * WebCoreSupport.subproj/WebSubresourceClient.m:
        * WebView.subproj/WebBaseResourceHandleDelegate.m:
        * WebView.subproj/WebDefaultResourceLoadDelegate.m:
        * WebView.subproj/WebMainResourceClient.m:
        (-[WebMainResourceClient didFailWithError:]):

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

16 years ago Reviewed by Vicki.
mjs [Fri, 3 Jun 2005 04:46:40 +0000 (04:46 +0000)]
    Reviewed by Vicki.

- remove use of _cfBundle SPI

        * Plugins.subproj/WebBasePluginPackage.h:
        * Plugins.subproj/WebBasePluginPackage.m:
        (-[WebBasePluginPackage initWithPath:]):
        (-[WebBasePluginPackage load]):
        (-[WebBasePluginPackage dealloc]):
        * Plugins.subproj/WebNetscapePluginPackage.m:
        (-[WebNetscapePluginPackage openResourceFile]):
        (-[WebNetscapePluginPackage closeResourceFile:]):
        (-[WebNetscapePluginPackage initWithPath:]):
        (-[WebNetscapePluginPackage unloadWithoutShutdown]):
        (-[WebNetscapePluginPackage load]):
        * Plugins.subproj/WebPluginPackage.m:
        (-[WebPluginPackage initWithPath:]):

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

16 years ago Reviewed by Adele.
mjs [Fri, 3 Jun 2005 04:16:44 +0000 (04:16 +0000)]
    Reviewed by Adele.

- remove use of NSURLRequest and NSUserDefaults SPI

        * History.subproj/WebHistoryItem.m:
        (-[WebHistoryItem _setFormInfoFromRequest:]):
        * Misc.subproj/WebNSURLRequestExtras.h: Added.
        * Misc.subproj/WebNSURLRequestExtras.m: Added.
        (-[NSURLRequest _web_HTTPReferrer]):
        (-[NSURLRequest _web_HTTPContentType]):
        (-[NSMutableURLRequest _web_setHTTPContentType:]):
        (-[NSMutableURLRequest _web_setHTTPReferrer:]):
        (-[NSMutableURLRequest _web_setHTTPUserAgent:]):
        * Misc.subproj/WebNSUserDefaultsExtras.h: Added.
        * Misc.subproj/WebNSUserDefaultsExtras.m: Added.
        (-[NSString _webkit_HTTPStyleLanguageCode]):
        (makeLock):
        (+[NSUserDefaults _ensureAndLockPreferredLanguageLock]):
        (+[NSUserDefaults _webkit_defaultsDidChange]):
        (addDefaultsChangeObserver):
        (+[NSUserDefaults _webkit_addDefaultsChangeObserver]):
        (+[NSUserDefaults _webkit_preferredLanguageCode]):
        * Plugins.subproj/WebBaseNetscapePluginView.m:
        (-[WebBaseNetscapePluginView requestWithURLCString:]):
        * Plugins.subproj/WebNetscapePluginEmbeddedView.m:
        (-[WebNetscapePluginEmbeddedView didStart]):
        * Plugins.subproj/WebNetscapePluginStream.m:
        (-[WebNetscapePluginStream initWithRequest:pluginPointer:notifyData:sendNotification:]):
        * WebCoreSupport.subproj/WebBridge.m:
        (-[WebBridge createWindowWithURL:frameName:]):
        (-[WebBridge syncLoadResourceWithURL:customHeaders:postData:finalURL:responseHeaders:statusCode:]):
        (-[WebBridge incomingReferrer]):
        (-[WebBridge createModalDialogWithURL:]):
        * WebCoreSupport.subproj/WebSubresourceClient.m:
        (+[WebSubresourceClient startLoadingResource:withRequest:customHeaders:referrer:forDataSource:]):
        * WebCoreSupport.subproj/WebViewFactory.m:
        (-[WebViewFactory defaultLanguageCode]):
        * WebKit.pbproj/project.pbxproj:
        * WebView.subproj/WebBaseResourceHandleDelegate.m:
        (-[WebBaseResourceHandleDelegate willSendRequest:redirectResponse:]):
        * WebView.subproj/WebDefaultContextMenuDelegate.m:
        (-[WebDefaultUIDelegate openNewWindowWithURL:element:]):
        * WebView.subproj/WebFrame.m:
        (-[WebFrame _loadItem:withLoadType:]):
        (-[WebFrame _addExtraFieldsToRequest:alwaysFromRequest:]):
        (-[WebFrame _loadURL:referrer:loadType:target:triggeringEvent:form:formValues:]):
        (-[WebFrame _postWithURL:referrer:target:data:contentType:triggeringEvent:form:formValues:]):
        * WebView.subproj/WebMainResourceClient.m:
        * WebView.subproj/WebView.m:
        (-[WebView _cachedResponseForURL:]):
        (-[WebView userAgentForURL:]):

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

16 years ago Reviewed by Don.
mjs [Fri, 3 Jun 2005 03:36:32 +0000 (03:36 +0000)]
    Reviewed by Don.

- move private gunk from header to implementation file.

        * WebCoreSupport.subproj/WebNewKeyGeneration.c:
        * WebCoreSupport.subproj/WebNewKeyGeneration.h:

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

16 years ago Reviewed by Kevin.
mjs [Fri, 3 Jun 2005 03:12:20 +0000 (03:12 +0000)]
    Reviewed by Kevin.

- remove dependency on NSFileManager and NSCalendarDate private extras from WebFou

        * History.subproj/WebHistory.m:
        (-[WebHistoryPrivate findIndex:forDay:]):
        (-[WebHistoryPrivate arrayRepresentation]):
        (-[WebHistoryPrivate _loadHistoryGuts:URL:error:]):
        * Misc.subproj/WebFileDatabase.m:
        (-[WebFileDatabase _truncateToSizeLimit:]):
        (-[WebFileDatabase removeAllObjects]):
        (-[WebFileDatabase performSetObject:forKey:]):
        (-[WebFileDatabase performRemoveObjectForKey:]):
        (-[WebFileDatabase open]):
        * Misc.subproj/WebKitNSStringExtras.m:
        (-[NSString _webkit_fixedCarbonPOSIXPath]):
        * Misc.subproj/WebNSCalendarDateExtras.h: Added.
        * Misc.subproj/WebNSCalendarDateExtras.m: Added.
        (-[NSCalendarDate _webkit_compareDay:]):
        * Misc.subproj/WebNSDataExtras.h:
        * Misc.subproj/WebNSDictionaryExtras.h:
        * Misc.subproj/WebNSFileManagerExtras.h: Added.
        * Misc.subproj/WebNSFileManagerExtras.m: Added.
        (-[NSFileManager _webkit_fileExistsAtPath:isDirectory:traverseLink:]):
        (-[NSFileManager _webkit_createIntermediateDirectoriesForPath:attributes:]):
        (-[NSFileManager _webkit_createDirectoryAtPathWithIntermediateDirectories:attributes:]):
        (-[NSFileManager _webkit_createFileAtPathWithIntermediateDirectories:contents:attributes:directoryAttributes:]):
        (-[NSFileManager _webkit_removeFileOnlyAtPath:]):
        (-[NSFileManager _webkit_backgroundRemoveFileAtPath:]):
        (-[NSFileManager _webkit_backgroundRemoveLeftoverFiles:]):
        (-[NSFileManager _webkit_carbonPathForPath:]):
        (-[NSFileManager _webkit_startupVolumeName]):
        (-[NSFileManager _webkit_pathWithUniqueFilenameForPath:]):
        * Plugins.subproj/WebBaseNetscapePluginStream.m:
        * WebKit.pbproj/project.pbxproj:
        * WebView.subproj/WebHTMLView.m:
        (-[WebHTMLView namesOfPromisedFilesDroppedAtDestination:]):
        * WebView.subproj/WebImageView.m:
        (-[WebImageView namesOfPromisedFilesDroppedAtDestination:]):

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

16 years ago Reviewed by Adele.
mjs [Thu, 2 Jun 2005 23:54:31 +0000 (23:54 +0000)]
    Reviewed by Adele.

- remove dependencies on NSDictionary and NSURL extras

        * History.subproj/WebHistoryItem.m:
        (-[WebHistoryItem initFromDictionaryRepresentation:]):
        * Misc.subproj/WebKitNSStringExtras.h:
        * Misc.subproj/WebKitNSStringExtras.m:
        (-[NSString _webkit_hasCaseInsensitiveSuffix:]):
        (-[NSString _webkit_hasCaseInsensitiveSubstring:]):
        (-[NSString _webkit_filenameByFixingIllegalCharacters]):
        * Misc.subproj/WebNSDictionaryExtras.h: Added.
        * Misc.subproj/WebNSDictionaryExtras.m: Added.
        (-[NSDictionary _webkit_numberForKey:]):
        (-[NSDictionary _webkit_intForKey:]):
        (-[NSDictionary _webkit_stringForKey:]):
        (-[NSDictionary _webkit_objectForMIMEType:]):
        (-[NSMutableDictionary _webkit_setObject:forUncopiedKey:]):
        (-[NSMutableDictionary _webkit_setInt:forKey:]):
        (-[NSMutableDictionary _webkit_setBool:forKey:]):
        * Misc.subproj/WebNSPasteboardExtras.m:
        * Misc.subproj/WebNSURLExtras.h:
        * Misc.subproj/WebNSURLExtras.m:
        (-[NSURL _webkit_URLByRemovingFragment]):
        (-[NSURL _webkit_scriptIfJavaScriptURL]):
        (-[NSURL _webkit_isFileURL]):
        (-[NSURL _web_hostString]):
        (-[NSURL _webkit_suggestedFilenameWithMIMEType:]):
        * Misc.subproj/WebNSViewExtras.m:
        * Panels.subproj/WebPanelAuthenticationHandler.m:
        * Plugins.subproj/WebBaseNetscapePluginStream.m:
        * Plugins.subproj/WebBaseNetscapePluginView.m:
        (-[WebBaseNetscapePluginView evaluateJavaScriptPluginRequest:]):
        (-[WebBaseNetscapePluginView loadPluginRequest:]):
        (-[WebBaseNetscapePluginView loadRequest:inTarget:withNotifyData:sendNotification:]):
        * Plugins.subproj/WebPluginController.m:
        (-[WebPluginController webPlugInContainerLoadRequest:inFrame:]):
        * WebCoreSupport.subproj/WebBridge.m:
        * WebKit.pbproj/project.pbxproj:
        * WebView.subproj/WebDataSource.m:
        * WebView.subproj/WebFrame.m:
        * WebView.subproj/WebFrameView.m:
        * WebView.subproj/WebHTMLView.m:
        * WebView.subproj/WebPreferences.m:
        (-[WebPreferences _setIntegerValue:forKey:]):
        (-[WebPreferences _setBoolValue:forKey:]):
        * WebView.subproj/WebResource.m:
        (-[WebResource _initWithPropertyList:]):
        (-[WebResource _fileWrapperRepresentation]):
        * WebView.subproj/WebView.m:

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

16 years ago Reviewed by Vicki.
mjs [Thu, 2 Jun 2005 22:09:33 +0000 (22:09 +0000)]
    Reviewed by Vicki.

- remove dependencies on NSString and NSData extras from Foundation

        * Misc.subproj/WebKitNSStringExtras.h:
        * Misc.subproj/WebKitNSStringExtras.m:
        (-[NSString _webkit_isCaseInsensitiveEqualToString:]):
        (-[NSString _webkit_hasCaseInsensitivePrefix:]):
        (-[NSString _webkit_stringByTrimmingWhitespace]):
        (-[NSString _webkit_stringByCollapsingNonPrintingCharacters]):
        (-[NSString _webkit_fixedCarbonPOSIXPath]):
        * Misc.subproj/WebNSDataExtras.h:
        * Misc.subproj/WebNSDataExtras.m:
        (-[NSString _web_capitalizeRFC822HeaderFieldName]):
        (-[NSData _web_isCaseInsensitiveEqualToCString:]):
        (_findEOL):
        (-[NSData _web_parseRFC822HeaderFields]):
        (-[NSData _webkit_guessedMIMETypeForXML]):
        (-[NSData _webkit_guessedMIMEType]):
        * Misc.subproj/WebNSPasteboardExtras.m:
        (-[NSPasteboard _web_bestURL]):
        * Misc.subproj/WebNSURLExtras.h:
        * Misc.subproj/WebNSURLExtras.m:
        (applyHostNameFunctionToURLString):
        (+[NSURL _web_URLWithUserTypedString:relativeToURL:]):
        (+[NSURL _web_URLWithDataAsString:relativeToURL:]):
        (-[NSURL _webkit_shouldLoadAsEmptyDocument]):
        (-[NSString _webkit_isJavaScriptURL]):
        (-[NSString _webkit_isFileURL]):
        (-[NSString _webkit_isFTPDirectoryURL]):
        (-[NSString _web_encodeHostName]):
        (-[NSString _webkit_rangeOfURLScheme]):
        (-[NSString _webkit_looksLikeAbsoluteURL]):
        (-[NSString _webkit_URLFragment]):
        * Misc.subproj/WebNSViewExtras.m:
        * Plugins.subproj/WebBaseNetscapePluginView.m:
        (-[WebBaseNetscapePluginView _postURL:target:len:buf:file:notifyData:sendNotification:allowHeaders:]):
        * Plugins.subproj/WebPluginDatabase.m:
        * WebCoreSupport.subproj/WebBridge.m:
        (-[WebBridge setTitle:]):
        * WebView.subproj/WebDataSource.m:
        (-[WebDataSource _setTitle:]):
        * WebView.subproj/WebFrame.m:
        (-[WebFrame _loadItem:withLoadType:]):
        * WebView.subproj/WebPreferences.m:
        (-[WebPreferences userStyleSheetLocation]):
        * WebView.subproj/WebView.m:
        (+[WebView _MIMETypeForFile:]):

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

16 years ago Reviewed by John.
mjs [Thu, 2 Jun 2005 21:19:05 +0000 (21:19 +0000)]
    Reviewed by John.

- first stage of cleaning up SPI usage in WebKit

        * Carbon.subproj/CarbonUtils.m:
        * DOM.subproj/WebDOMOperations.m:
        (-[DOMHTMLLinkElement _subresourceURLs]):
        (-[DOMHTMLParamElement _subresourceURLs]):
        * History.subproj/WebHistoryItem.m:
        (-[WebHistoryItem _setFormInfoFromRequest:]):
        * Misc.subproj/WebDatabase.m:
        (-[WebDatabase setObject:forKey:]):
        (-[WebDatabase removeObjectForKey:]):
        (-[WebDatabase removeAllObjects]):
        (-[WebDatabase objectForKey:]):
        (-[WebDatabase open]):
        (-[WebDatabase close]):
        (-[WebDatabase sync]):
        (-[WebDatabase count]):
        (-[WebDatabase setSizeLimit:]):
        * Misc.subproj/WebIconDatabase.m:
        (-[WebIconDatabase iconForURL:withSize:cache:]):
        (-[WebIconDatabase _iconForFileURL:withSize:]):
        * Misc.subproj/WebKitNSStringExtras.h:
        * Misc.subproj/WebKitNSStringExtras.m:
        (+[NSString _web_encodingForResource:]):
        (-[NSString _webkit_isCaseInsensitiveEqualToString:]):
        * Misc.subproj/WebNSEventExtras.h:
        * Misc.subproj/WebNSEventExtras.m:
        (-[NSEvent _web_isTabKeyEvent]):
        * Misc.subproj/WebNSURLExtras.h:
        * Misc.subproj/WebNSURLExtras.m:
        (-[NSURL _webkit_isFileURL]):
        (-[NSString _webkit_isJavaScriptURL]):
        (-[NSString _webkit_isFileURL]):
        * Panels.subproj/WebPanelAuthenticationHandler.m:
        (-[NSMutableDictionary _webkit_setObject:forUncopiedKey:]):
        (-[WebPanelAuthenticationHandler enqueueChallenge:forWindow:]):
        (-[WebPanelAuthenticationHandler startAuthentication:window:]):
        * Plugins.subproj/WebBaseNetscapePluginView.m:
        * Plugins.subproj/WebBasePluginPackage.m:
        (-[WebBasePluginPackage isQuickTimePlugIn]):
        (-[WebBasePluginPackage isJavaPlugIn]):
        * Plugins.subproj/WebPluginPackage.m:
        (-[WebPluginPackage initWithPath:]):
        * WebCoreSupport.subproj/WebBridge.m:
        (-[WebBridge canTargetLoadInFrame:]):
        (-[WebBridge valueForKey:keys:values:]):
        * WebCoreSupport.subproj/WebGlyphBuffer.m:
        * WebCoreSupport.subproj/WebImageDecodeItem.h:
        * WebCoreSupport.subproj/WebImageDecodeItem.m:
        * WebCoreSupport.subproj/WebImageDecoder.h:
        * WebCoreSupport.subproj/WebImageDecoder.m:
        * WebCoreSupport.subproj/WebTextRenderer.h:
        * WebKitPrefix.h:
        * WebView.subproj/WebBaseResourceHandleDelegate.m:
        (-[WebBaseResourceHandleDelegate _canUseResourceForRequest:]):
        * WebView.subproj/WebDataProtocol.m:
        (+[WebDataProtocol _webIsDataProtocolURL:]):
        * WebView.subproj/WebFrame.m:
        (-[WebFrame _shouldAllowAccessFrom:]):
        (-[WebFrame reload]):
        * WebView.subproj/WebHTMLRepresentation.m:
        (-[WebHTMLRepresentation _isDisplayingWebArchive]):
        * WebView.subproj/WebMainResourceClient.m:
        (-[WebMainResourceClient continueAfterContentPolicy:response:]):
        (-[WebMainResourceClient didReceiveResponse:]):
        * WebView.subproj/WebPDFView.m:
        * WebView.subproj/WebView.m:
        (+[WebView _MIMETypeForFile:]):

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

16 years agoWebCore:
darin [Wed, 1 Jun 2005 23:49:50 +0000 (23:49 +0000)]
WebCore:

        Reviewed by John Sullivan.
        No layout tests added because showModalDialog won't work in DumpRenderTree at the moment.

        - WebKit part of fix for <rdar://problem/3166090> add IE JavaScript extension window.showModalDialog

        * khtml/ecma/kjs_window.cpp:
        (KJS::allowPopUp): Added. Used by showModalDialog now and should be used by window.open later.
        (KJS::parseFeatures): Ditto.
        (KJS::boolFeature): Ditto.
        (KJS::intFeature): Ditto.
        (KJS::createNewWindow): Ditto.
        (KJS::canShowModalDialog): Added.
        (KJS::canShowModalDialogNow): Added.
        (KJS::showModalDialog): Added.
        (KJS::Window::get): Return the showModalDialog function object if the extension can run modal.
        (KJS::Window::clear): Add code to store the return value for the case where the window is a modal dialog.
        (KJS::WindowFunc::tryCall): Add the call to the showModalDialog function.

        * khtml/ecma/kjs_window.h: Add setReturnValueSlot function so showModalDialog can get the return
        value from the dialog it creates. Also add a data member to keep track of the pointer and a constant
        for the ShowModalDialog method.

        * khtml/khtml_part.h: Added new changeLocation member function. Made setOpener, openedByJS, and
        setOpenedByJS public.

        * khtml/khtml_part.cpp:
        (KHTMLPart::changeLocation): Broke out the part of slotRedirect that actually does the location change
        into a separate function so it can be called when needed. The case using it now is to load the content
        of a new window in KJS::createNewWindow.
        (KHTMLPart::slotRedirect): Call changeLocation to do most of the work.
        (KHTMLPart::urlSelected): Fixed a broken case where the "lack of referrer" in a new window would cause
        the referrer passed in by JavaScript to be ignored when opening a new window -- match logic elsewhere
        that leaves the referrer in the args alone if one is not set in the window.

        * khtml/khtmlpart_p.h: Initialize m_bCleared to true to avoid an unnecessary clear before loading the
        first URL in a new window. This change is needed to avoid blowing away the "dialogArguments" value in
        a modal dialog window, but it also avoid unnecessary work for each new window.

        * kwq/KWQApplication.h: Add availableGeometry function for QDesktopWidget. Used by the showModalDialog
        function inside kjs_window.cpp (and should be used elsewhere eventually too). Matches a Qt function that
        we just didn't have implemented before.
        * kwq/KWQApplication.mm: (QDesktopWidget::availableGeometry): Added.

        * kwq/KWQKHTMLPartBrowserExtension.h: Added new canRunModal, canRunModalNow, and runModal functions.
        * kwq/KWQKHTMLPartBrowserExtension.mm:
        (KHTMLPartBrowserExtension::createNewWindow): Call createModalDialogWithURL on the bridge if the
        new window is a dialog. Also fixed the early return case for when the bridge returns nil.
        (KHTMLPartBrowserExtension::canRunModal): Added. Calls bridge.
        (KHTMLPartBrowserExtension::canRunModalNow): Ditto.
        (KHTMLPartBrowserExtension::runModal): Ditto.

        * kwq/KWQKPartsBrowserExtension.h:
        (KParts::URLArgs::URLArgs): Initialize m_lockHistory to false.
        (KParts::WindowArgs::WindowArgs): Add a dialog boolean.

        * kwq/WebCoreBridge.h: Declared canRunModal, canRunModalNow, createModalDialogWithURL, and runModal methods.

WebKit:

        Reviewed by John Sullivan.

        - WebKit part of fix for <rdar://problem/3166090> add IE JavaScript extension window.showModalDialog

        * WebCoreSupport.subproj/WebBridge.m:
        (-[WebBridge createModalDialogWithURL:]): Added. Calls the UI delegate, falling back to the generic
        "create WebView" method.
        (-[WebBridge canRunModal]): Added. Checks the UI delegate to see if it implements runModal.
        (-[WebBridge canRunModalNow]): Added. Checks the "inConnectionCallback" field so we can prevent
        deadlock since we can't do any I/O while inside a connection callback until this aspect of NSURLConnection
        is changed.
        (-[WebBridge runModal]): Added. Sets "defersCallbacks" on all other web views in the group, then
        calls runModal on the UI delegate.

        * WebView.subproj/WebBaseResourceHandleDelegate.h: Added inConnectionCallback class method.
        * WebView.subproj/WebBaseResourceHandleDelegate.m:
        (-[WebBaseResourceHandleDelegate connection:willSendRequest:redirectResponse:]): Bump count and then
        decrement count so we can tell if we are in a callback.
        (-[WebBaseResourceHandleDelegate connection:didReceiveAuthenticationChallenge:]): Ditto.
        (-[WebBaseResourceHandleDelegate connection:didCancelAuthenticationChallenge:]): Ditto.
        (-[WebBaseResourceHandleDelegate connection:didReceiveResponse:]): Ditto.
        (-[WebBaseResourceHandleDelegate connection:didReceiveData:lengthReceived:]): Ditto.
        (-[WebBaseResourceHandleDelegate connection:willStopBufferingData:]): Ditto.
        (-[WebBaseResourceHandleDelegate connectionDidFinishLoading:]): Ditto.
        (-[WebBaseResourceHandleDelegate connection:didFailWithError:]): Ditto.
        (-[WebBaseResourceHandleDelegate connection:willCacheResponse:]): Ditto.
        (+[WebBaseResourceHandleDelegate inConnectionCallback]): Added. Return YES if count is not 0.

        * WebView.subproj/WebMainResourceClient.m:
        (-[WebMainResourceClient receivedError:]): Changed to use the method without the connection: parameter
        in the base class, since we no longer are overriding the connection: version.
        (-[WebMainResourceClient willSendRequest:redirectResponse:]): Change to override the version without
        the connection prefix/parameter; now only the base class overrides the actual connection delegate methods.
        (-[WebMainResourceClient continueAfterContentPolicy:response:]): Ditto.
        (-[WebMainResourceClient didReceiveResponse:]): Ditto.
        (-[WebMainResourceClient didReceiveData:lengthReceived:]): Ditto.
        (-[WebMainResourceClient didFinishLoading]): Ditto.
        (-[WebMainResourceClient didFailWithError:]): Ditto.
        (-[WebMainResourceClient loadWithRequestNow:]): Call the method without the connection parameter.

        * WebView.subproj/WebUIDelegatePrivate.h: Added new SPI here that WebBrowser implements.

WebBrowser:

        Reviewed by John.

        - WebBrowser part of fix for <rdar://problem/3166090> add IE JavaScript extension window.showModalDialog

        * AppController.m: (-[AppController validateUserInterfaceItem:]): Disable the find panel
        when there's a modal panel up.
        * BrowserApplication.m: (-[BrowserApplication nextEventMatchingMask:untilDate:inMode:dequeue:]):
        Force the event loop to use the default run loop mode instead of the modal panel mode for
        modal BrowserWindows. This is required to work around the WebFoundation issue where it will
        only give us data in the default run loop mode.
        * BrowserDocument.m:
        (-[BrowserDocument canAddBookmark]): Return NO when a modal window is up.
        (-[BrowserDocument canViewSource]): Ditto.
        (-[BrowserDocument canMailPage]): Ditto.
        (-[BrowserDocument canMailPageAddress]): Ditto.
        (-[BrowserDocument canOpenInDashboard]): Ditto.
        (-[BrowserDocument canSave]): Ditto.
        (-[BrowserDocument validateUserInterfaceItem:]): Disable save commands when modal window is up.
        Also implement validation for all three of the save commands that we implement.
        * BrowserDocumentController.m: (-[BrowserDocumentController validateUserInterfaceItem:]):
        Disable newTab: when modal window is up.
        * BrowserWebView.m:
        (-[BrowserWebView webView:createWebViewModalDialogWithRequest:]): Added. Creates a window that
        has no toolbar, which is an efficient way to disable all the toolbar-related commands for that
        window, even ones built into AppKit which otherwise would be difficult to disable.
        (-[BrowserWebView webViewRunModal:]): Added. Currently just calls -[NSApplication runModalForWindow:]
        but could do more in the future. More importantly, having this implemented is how the Web Kit can
        tell that this application supports modal web dialogs.
        (-[BrowserWebView validateUserInterfaceItem:]): Disable setPageForSnapBackToCurrentPage: for
        modal windows.
        * BrowserWindow.m: (-[BrowserWindow close]): Abort the modal session if the window being closed is
        the modal window. This is the only way we return from webViewRunModal:.
        * BrowserWindowController.m:
        (-[BrowserWindowController canShowInputFields]): Return no when this window is modal.
        (-[BrowserWindowController validateUserInterfaceItem:]): Disable newTab: and newBookmarkFolder: when
        modal window is up.
        (-[BrowserWindowController validateMenuItem:]): Disable Show/Hide of address bar, bookmarks bar,
        bookmarks collection, and toggleFullScreen: when modal window is up.
        (-[BrowserWindowController showWindow:]): Change code so that a new window always comes up behind
        a modal window. Also rearranged things so that setWindowFocusDisabled:YES will be called in any
        case where the window does not start out as key.

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

16 years ago fix for <rdar://problem/4135705> REGRESSION (412-TOT) crash in TV Tracker...
adele [Wed, 1 Jun 2005 22:23:58 +0000 (22:23 +0000)]
    fix for <rdar://problem/4135705> REGRESSION (412-TOT) crash in TV Tracker widget - KJS::XMLHttpRequest::removeFromRequestsByDocument()

        Reviewed by Darin.

        Synchronous loads don't get added to our requestsByDocument dictionary, so we should try to remove the request in this case.

        * khtml/ecma/xmlhttprequest.cpp: (KJS::XMLHttpRequest::removeFromRequestsByDocument): added checks to make sure request exists before trying to remove it.

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

16 years ago Reviewed by John (fix for Radar bug) and Vicki (all the rest).
darin [Tue, 31 May 2005 05:48:41 +0000 (05:48 +0000)]
    Reviewed by John (fix for Radar bug) and Vicki (all the rest).

        - fixed <rdar://problem/4105097> REGRESSION (138-139): Hitting Enter on a checkbox toggles check mark instead of submitting form
        - fixed other problems discovered while trying to make a layout test to test this work:
            - added newer DOM 3 event type constants
            - fixed prototype setup bug preventing event initialization functions from being called
            - fixed bug where any function taking an event parameter would crash with a nil-deref
            - fixed incorrect ref/deref bug in MutationEventImpl that would cause a crash crash

        Test cases added:
        * layout-tests/fast/forms/check-box-enter-key-expected.txt: Added.
        * layout-tests/fast/forms/check-box-enter-key.html: Added.
        * layout-tests/fast/events/event-creation-expected.txt: Added.
        * layout-tests/fast/events/event-creation.html: Added.

        * khtml/html/html_formimpl.cpp: (DOM::HTMLInputElementImpl::defaultEventHandler): Separate the checks for
        the space bar and the Enter key and make Enter submit the form on a check box or radio button.

        * khtml/ecma/kjs_events.cpp:
        (KJS::toEvent): Fixed bug where this was checking for DOMNode rather than DOMEvent, so always returning 0.
        Without this, both test cases above will crash.
        (KJS::DOMUIEvent::DOMUIEvent): Set prototype; without this, the event-creation test case will fail.
        (KJS::DOMMouseEvent::DOMMouseEvent): Set prototype; without this, the event-creation test case will fail.
        (KJS::DOMKeyboardEvent::DOMKeyboardEvent): Set prototype; without this, both test cases above will fail.
        (KJS::DOMMutationEvent::DOMMutationEvent): Set prototype; without this, both test cases above will fail.

        * khtml/xml/dom2_eventsimpl.cpp:
        (MutationEventImpl::MutationEventImpl): Fix typo where the wrong object was ref'd.
        (MutationEventImpl::initMutationEvent): Ditto. This was causing the layout tests to crash with the new tests above.

        * khtml/xml/dom_docimpl.cpp: (DocumentImpl::createEvent): Added new event types to match the current DOM
        Level 3 specification. The test above tests both the new event types and the old ones.

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

16 years ago Reviewed by John.
darin [Tue, 31 May 2005 03:08:35 +0000 (03:08 +0000)]
    Reviewed by John.
        No test case added because our layout test system doesn't allow us to do inline input.

        - fixed <rdar://problem/4094066> REGRESSION (1.2.5-1.3): unconfirmed inline input is ignored in <textarea>, lost when form is submitted

        * kwq/KWQTextArea.mm: (-[KWQTextArea _createTextView]): Call setWantsNotificationForMarkedText:YES.

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

16 years ago Reviewed by Darin.
mjs [Tue, 31 May 2005 01:20:46 +0000 (01:20 +0000)]
    Reviewed by Darin.

- fixed <rdar://problem/4125222> Dashboard heap size grows over time (leak caused by JavaScript DOM node wrappers?)

- changed per-document DOMObject caching to work with DOMNodes, since that is all it was used for anyway.

        Test cases added: (these tests actually ensure that DOM wrappers
are sufficiently protected from GC to match other browsers, they
do not verify that the leak is fixed since there's no way to test
that with layout tests).

        * layout-tests/fast/dom/gc-1-expected.txt: Added.
        * layout-tests/fast/dom/gc-1.html: Added.
        * layout-tests/fast/dom/gc-2-expected.txt: Added.
        * layout-tests/fast/dom/gc-2.html: Added.
        * layout-tests/fast/dom/gc-3-expected.txt: Added.
        * layout-tests/fast/dom/gc-3.html: Added.

        * khtml/ecma/kjs_binding.cpp:
        (KJS::ScriptInterpreter::forgetDOMObjectForDocument): New function - allows nodes
that get removed from the document to go away from the cache if not referenced.
        (KJS::ScriptInterpreter::mark): Don't mark nodes that aren't in the document,
they can stay in the cache but only if they have another source of life.
        (KJS::ScriptInterpreter::domNodesPerDocument): Renamed and changed parameter types.
        (KJS::ScriptInterpreter::getDOMNodeForDocument): Renamed and changed parameter types.
        (KJS::ScriptInterpreter::forgetDOMNodeForDocument): Renamed and changed parameter types.
        (KJS::ScriptInterpreter::putDOMNodeForDocument): Renamed and changed parameter types.
        (KJS::ScriptInterpreter::forgetAllDOMNodesForDocument): Renamed and changed parameter types.
        (KJS::ScriptInterpreter::updateDOMNodeDocument): Renamed and changed parameter types.
        * khtml/ecma/kjs_binding.h:
        * khtml/ecma/kjs_dom.cpp:
        (KJS::DOMNode::~DOMNode): call forgetDOMObjectForDocument.
        (KJS::DOMNode::mark): If the node is not in the document, make sure to mark
all wrappers in its detached piece of the tree.
        (KJS::getDOMNode): Updated for renames
        * khtml/ecma/kjs_dom.h:
        * khtml/xml/dom_docimpl.cpp:
        (DocumentImpl::~DocumentImpl): Updated for renames.
        * khtml/xml/dom_nodeimpl.cpp:
        (NodeImpl::checkAddChild): Updated for renames.

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

16 years ago Reviewed by John.
darin [Tue, 31 May 2005 00:15:52 +0000 (00:15 +0000)]
    Reviewed by John.
        Could not figure out how to make an <object> fallback, so for now, no layout test.

        - fixed <rdar://problem/4134124> REGRESSION (tip of tree): crash in QWidget::getView handling onunload event (yahoo.com)

        * khtml/html/html_objectimpl.cpp: (DOM::HTMLObjectElementImpl::getObjectInstance):
        Check type of RenderObject to be sure it is a RenderWidget before calling widget() on it.

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

16 years ago Change by Darin, reviewed by me.
adele [Sat, 28 May 2005 00:42:55 +0000 (00:42 +0000)]
    Change by Darin, reviewed by me.

        fix for <rdar://problem/4067761> 8A425: reload stock widget over and over and crash in XMLHttpRequest::changeState

        * khtml/khtml_part.cpp: (KHTMLPart::closeURL): now cancels XMLHttpRequests
        * khtml/ecma/xmlhttprequest.h: Added cancelRequests, addToRequestsByDocument, and RemoveFromRequestsByDocument methods. Added requestsByDocument dictionary.
        * khtml/ecma/xmlhttprequest.cpp:
        (KJS::XMLHttpRequest::send): calls addToRequestsByDocument
        (KJS::XMLHttpRequest::abort): calls removeFromRequestsByDocument
        (KJS::XMLHttpRequest::slotFinished): calls removeFromRequestsByDocument
        (KJS::XMLHttpRequest::requestsByDocument):  creates dictionary to manage requests.
        (KJS::XMLHttpRequest::addToRequestsByDocument): adds this request to dict.
        (KJS::XMLHttpRequest::removeFromRequestsByDocument): removes this request from dict.
        (KJS::XMLHttpRequest::cancelRequests): goes and cancels requests in the doc

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

16 years ago Reviewed by me, done by Darin.
adele [Sat, 28 May 2005 00:26:29 +0000 (00:26 +0000)]
    Reviewed by me, done by Darin.

        - Darin fixed a regression I found from Darin's recent DOM change that broke GMail

        * khtml/ecma/kjs_window.cpp:
        (KJS::Window::get): Added nil check for document.
        (KJS::Window::hasProperty): Ditto.

        Test cases added: None (Darin should write one).

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

16 years ago Reviewed by Darin.
adele [Fri, 27 May 2005 22:55:24 +0000 (22:55 +0000)]
    Reviewed by Darin.

        fix for <rdar://problem/4121747> Cannot log into Cingular.com account page (load event delivered while still processing incoming data)

        * khtml/misc/loader.cpp:
        (DocLoader::DocLoader): Initialized m_loadInProgress to false.
        (DocLoader::setLoadInProgress): Added.
        (Loader::slotFinished): sets the m_loadInProgress flag to reflect the fact that we're not really done loading this request until we emit the signal with the request status.
        (Loader::numRequests): If there's a load in progress, we increment the number of requests so it doesn't seem like the load is done.
        * khtml/misc/loader.h: (khtml::DocLoader::loadInProgress): Added.

        Test cases added:
        * layout-tests/fast/loader/loadInProgress.html: Added
        * layout-tests/fast/loader/loadInProgress-expected.html: Added

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

16 years ago Reviewed by Vicki.
darin [Fri, 27 May 2005 22:48:07 +0000 (22:48 +0000)]
    Reviewed by Vicki.

        - fixed <rdar://problem/4125212> form submission delayed until you are on the next page on XML/XSL page (security hole)

        * khtml/xsl/xslt_processorimpl.cpp: (DOM::XSLTProcessorImpl::documentFromXMLDocPtr):
        Call setParsing(false) explicitly here. It's really annoying that setParsing(true) is done
        inside DOM::DocumentImpl and setParsing(false) is done by KHTMLPart, so that should be fixed
        some day, but for now this is the way to do it.

        Test cases added:
        * layout-tests/fast/events/xsl-onload-expected.txt: Added.
        * layout-tests/fast/events/xsl-onload.xhtml: Added.
        * layout-tests/fast/events/xsl-onload.xsl: Added.

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