14 years ago2007-07-29 Brian Mastenbrook <brian@mastenbrook.net>
zecke [Sun, 29 Jul 2007 21:51:41 +0000 (21:51 +0000)]
2007-07-29  Brian Mastenbrook  <brian@mastenbrook.net>

        Build fix for WebKit/Gtk to compile on Fedora 7 as described in

        * WebKit.pri: cairo-ft is used by the WebKit/Gtk port

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

14 years agoRespect the margins when creating frames.
treat [Sun, 29 Jul 2007 15:18:26 +0000 (15:18 +0000)]
Respect the margins when creating frames.
Set the scroll mode to always off like we did before the rendered
frames patch and the other ports do now.

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

14 years agoWebCore::Widget::setParent should be virtual.
treat [Sun, 29 Jul 2007 14:42:01 +0000 (14:42 +0000)]
WebCore::Widget::setParent should be virtual.

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

14 years agoWe actually pass the mac versions expected results here.
treat [Sun, 29 Jul 2007 14:22:47 +0000 (14:22 +0000)]
We actually pass the mac versions expected results here.

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

14 years ago Reviewed by Mark Rowe.
weinig [Sun, 29 Jul 2007 02:34:12 +0000 (02:34 +0000)]
    Reviewed by Mark Rowe.

        - Rename test for clarity and consistency.
        - Move resource from ssl/resources to security/resources as it is
          only being used by the security tests.

        * http/tests/security/cross-frame-access-port-domain-expected.txt: Removed.
        * http/tests/security/cross-frame-access-port-domain.html: Removed.
        * http/tests/security/cross-frame-access-port-explicit-domain-expected.txt: Copied from http/tests/security/cross-frame-access-port-domain-expected.txt.
        * http/tests/security/cross-frame-access-port-explicit-domain.html: Copied from http/tests/security/cross-frame-access-port-domain.html.
        * http/tests/security/cross-frame-access-protocol-expected.txt:
        * http/tests/security/cross-frame-access-protocol.html:
        * http/tests/security/resources/cross-frame-iframe-for-port-domain-test.html: Removed.
        * http/tests/security/resources/cross-frame-iframe-for-port-explicit-domain-test.html: Copied from http/tests/security/resources/cross-frame-iframe-for-port-domain-test.html.
        * http/tests/security/resources/cross-frame-iframe-for-protocol-test.html: Copied from http/tests/ssl/resources/cross-frame-access-protocol-iframe.html.
        * http/tests/ssl/resources: Removed.
        * http/tests/ssl/resources/cross-frame-access-protocol-iframe.html: Removed.

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

14 years ago Reviewed by Oliver Hunt.
weinig [Sun, 29 Jul 2007 02:15:18 +0000 (02:15 +0000)]
    Reviewed by Oliver Hunt.

        - Factor access testing code used in protocol and port tests to cross-frame-access.js.
        - Add cross-frame-iframe-for-protocol-explicit-domain-test.html which is parallel test to
          cross-frame-iframe-for-port-domain-test.html but for different protocols.

        * http/tests/security/cross-frame-access-port-domain-expected.txt:
        * http/tests/security/cross-frame-access-port-domain.html:
        * http/tests/security/cross-frame-access-port.html:
        * http/tests/security/cross-frame-access-protocol-explicit-domain-expected.txt: Added.
        * http/tests/security/cross-frame-access-protocol-explicit-domain.html: Added.
        * http/tests/security/cross-frame-access-protocol.html:
        * http/tests/security/resources/cross-frame-access.js:
        * http/tests/security/resources/cross-frame-iframe-for-port-domain-test.html:
        * http/tests/security/resources/cross-frame-iframe-for-port-test.html:
        * http/tests/security/resources/cross-frame-iframe-for-protocol-explicit-domain-test.html: Added.

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

14 years agoFix up reviewer name typo in ChangeLog
alp [Sun, 29 Jul 2007 02:02:38 +0000 (02:02 +0000)]
Fix up reviewer name typo in ChangeLog

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

14 years ago2007-07-29 Alp Toker <alp.toker@collabora.co.uk>
alp [Sun, 29 Jul 2007 01:30:13 +0000 (01:30 +0000)]
2007-07-29  Alp Toker  <alp.toker@collabora.co.uk>

        Reviewed by Brian Dash.

        http://bugs.webkit.org/show_bug.cgi?id=14711 (revisited)
        RenderThemeGdk's buttons are state-agnostic (pressed, hovered)

        Generalize shadow state into a function.
        use a GtkHBox to work around a theme bug (thanks to Nigel Tao).

        * platform/gdk/RenderThemeGdk.cpp:
        * platform/gdk/RenderThemeGdk.h:

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

14 years ago2007-07-28 Mark Rowe <mrowe@apple.com>
bdash [Sun, 29 Jul 2007 01:18:13 +0000 (01:18 +0000)]
2007-07-28  Mark Rowe  <mrowe@apple.com>

        Reviewed by Darin and John.

        <rdar://problem/5229705> Thai characters render differently between leopard and tiger

        Add Leopard-specific test results for tests containing Thai characters.

        * mac/leopard/Skipped:
        * mac/leopard/fast/text: Added.
        * mac/leopard/fast/text/atsui-multiple-renderers-expected.txt: Added.
        * mac/leopard/fast/text/international: Added.
        * mac/leopard/fast/text/international/thai-line-breaks-expected.txt: Added.

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

14 years ago2007-07-29 Mark Rowe <mrowe@apple.com>
bdash [Sun, 29 Jul 2007 01:15:49 +0000 (01:15 +0000)]
2007-07-29  Mark Rowe  <mrowe@apple.com>

        Reviewed by Oliver.

        <rdar://problem/5228270> SVG test failures due to different metrics for scaled text blocks

        Add Leopard-specific results for three SVG tests.

        * mac/leopard/Skipped:
        * mac/leopard/svg: Added.
        * mac/leopard/svg/hixie: Added.
        * mac/leopard/svg/hixie/text: Added.
        * mac/leopard/svg/hixie/text/003-expected.txt: Added.
        * mac/leopard/svg/hixie/text/003a-expected.txt: Added.
        * mac/leopard/svg/hixie/viewbox: Added.
        * mac/leopard/svg/hixie/viewbox/preserveAspectRatio: Added.
        * mac/leopard/svg/hixie/viewbox/preserveAspectRatio/002-expected.txt: Added.

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

14 years ago Reviewed by Darin.
adele [Sat, 28 Jul 2007 00:54:49 +0000 (00:54 +0000)]
    Reviewed by Darin.

        Temporary fix for Windows to prevent crashing on all frame pages.  Darin
        is working on a more permanent fix.

        * loader/FrameLoader.cpp:

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

14 years agoFix crash when using QtWebKit canvas support.
treat [Fri, 27 Jul 2007 23:57:19 +0000 (23:57 +0000)]
Fix crash when using QtWebKit canvas support.

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

14 years agoWebKitTools:
ddkilzer [Fri, 27 Jul 2007 23:37:04 +0000 (23:37 +0000)]

        Reviewed by Geoff and Darin.

        Use a subroutine for validating the --skipped switch.

        * Scripts/run-webkit-tests:

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

14 years ago Reviewed by Geoff Garen.
weinig [Fri, 27 Jul 2007 21:49:37 +0000 (21:49 +0000)]
    Reviewed by Geoff Garen.

        - Test that cross frame access to a window on a different port is denied.
        - Adds test for out behavior of the above if document.domain is explicitly
          set to the same domain for both frames. We currently fail this test and
          a radar has been filed.
        - Clean up cross-frame-access-protocol.html to work in FireFox as well.

        * http/conf/apache2-httpd.conf: Listen on port 8080 now as well
        * http/conf/cygwin-httpd.conf: Listen on port 8080 now as well
        * http/conf/httpd.conf: Listen on port 8080 now as well
        * http/tests/security/cross-frame-access-port-domain-expected.txt: Added.
        * http/tests/security/cross-frame-access-port-domain.html: Added.
        * http/tests/security/cross-frame-access-port-expected.txt: Added.
        * http/tests/security/cross-frame-access-port.html: Added.
        * http/tests/security/cross-frame-access-protocol.html:
        * http/tests/security/resources/cross-frame-iframe-for-port-domain-test.html: Added.
        * http/tests/security/resources/cross-frame-iframe-for-port-test.html: Added.

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

14 years ago - fix build
darin [Fri, 27 Jul 2007 20:40:05 +0000 (20:40 +0000)]
    - fix build

        * WebKitPrefix.h: Removed the USING_WEBCORE_XXX definitions.
        * WebView/WebHTMLView.mm:
        (-[WebHTMLView delete:]): Fixed this to use WebCore again; I accidentally revived a dead
        code path that didn't work in the last patch!
        (-[WebHTMLView deleteToMark:]): Ditto.
        (-[WebHTMLView copy:]): Removed the unused side of the ifdef.
        (-[WebHTMLView cut:]): Ditto.
        (-[WebHTMLView paste:]): Ditto.

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

14 years ago Reviewed by Sam.
darin [Fri, 27 Jul 2007 20:27:21 +0000 (20:27 +0000)]
    Reviewed by Sam.

        * Scripts/run-webkit-tests: Remove exception for leaks bug that has been fixed on Leopard.

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

14 years ago Reviewed by Adam Roben.
weinig [Fri, 27 Jul 2007 20:00:51 +0000 (20:00 +0000)]
    Reviewed by Adam Roben.

        Don't display the expected and resulting values for screenTop and screenY
        as they depend on the physical screen size.

        * http/tests/security/cross-frame-access-put-expected.txt:
        * http/tests/security/resources/cross-frame-iframe-for-put-test.html:

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

14 years ago Reviewed by Tim Hatcher and Oliver Hunt.
darin [Fri, 27 Jul 2007 19:13:31 +0000 (19:13 +0000)]
    Reviewed by Tim Hatcher and Oliver Hunt.

        - fix <rdar://problem/5355815> webView:doCommandBySelector: isn't getting called for copy:

        Added code so that webView:doCommandBySelector: is called for every command.

        * WebView/WebHTMLView.mm: Made 44 of the commands use the WEBCORE_COMMAND macro instead
        of being handwritten. For all the others, added invocation of COMMAND_PROLOGUE macro at
        the start of the command.
        (-[WebHTMLView callDelegateDoCommandBySelectorIfNeeded:]): Added.
        (-[WebHTMLView callWebCoreCommand:]): Added.
        (-[WebHTMLView delete:]): Removed unused code path -- easy to bring back some day, but
        we don't need it compiled in.
        (-[WebHTMLView deleteBackwardByDecomposingPreviousCharacter:]): Changed so this doesn't
        call deleteBackward: any more so we don't call the delegate two times.
        (-[WebHTMLView deleteToMark:]): Changed so this doesn't call delete: any more so we don't
        call the delegate two times.
        (-[WebHTMLView selectToMark:]): Changed so this doesn't call setMark: any more so we don't
        call the delegate two times.
        (-[WebHTMLView doCommandBySelector:]): Added code to set the private variable
        selectorForDoCommandBySelector. This allows callDelegateDoCommandBySelectorIfNeeded to
        detect that we've already called the delegate and avoids calling it twice.

        * WebView/WebHTMLViewInternal.h: Added the selectorForDoCommandBySelector field.

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

14 years ago * rendering/RenderLayer.cpp: Rolled out accidentally-checked-in code.
darin [Fri, 27 Jul 2007 19:09:20 +0000 (19:09 +0000)]
    * rendering/RenderLayer.cpp: Rolled out accidentally-checked-in code.

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

14 years agoLayoutTests:
darin [Fri, 27 Jul 2007 19:07:30 +0000 (19:07 +0000)]

        Reviewed by John Sullivan.

        - fix <rdar://problem/5261393> In Mail the plain text alternatives to messages with attachments show weird little OBJ thingies

        * fast/text/zero-width-characters-expected.txt: Added.
        * fast/text/zero-width-characters.html: Added.


        Reviewed by John Sullivan.

        - fix <rdar://problem/5261393> In Mail the plain text alternatives to messages with attachments show weird little OBJ thingies

        The "weird little thingies" are U+FFFC characters. It's good to render them as zero-width, the way we do
        with control characters -- helps Mail and doesn't hurt web browsing.

        Test: fast/text/zero-width-characters.html

        * platform/CharacterNames.h: Add names for leftToRightMark, rightToLeftMark, and objectReplacementCharacter.
        * platform/GlyphPageTreeNode.cpp: (WebCore::GlyphPageTreeNode::initializePage): Give objectReplacementCharacter
        zero width in the same way we do it for the various other characters.

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

14 years ago Reviewed by Adam.
andersca [Fri, 27 Jul 2007 18:33:27 +0000 (18:33 +0000)]
    Reviewed by Adam.

        Add FIXME comment.

        * Interfaces/DOMHTML.idl:

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

14 years ago2007-07-27 Ada Chan <adachan@apple.com>
adachan [Fri, 27 Jul 2007 17:27:48 +0000 (17:27 +0000)]
2007-07-27  Ada Chan  <adachan@apple.com>

        Reviewed by Adam.

        Added methods to track user edited text fields now that
        <rdar://problem/5359921> has been fixed.

        * DOMHTMLClasses.cpp:
        * DOMHTMLClasses.h:
        * Interfaces/DOMPrivate.idl:

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

14 years agoEnable XSLT support for the gtk port.
lars [Fri, 27 Jul 2007 13:58:49 +0000 (13:58 +0000)]
Enable XSLT support for the gtk port.

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

14 years agoPremature end after finishing parsing is a fatal error.
lars [Fri, 27 Jul 2007 13:58:36 +0000 (13:58 +0000)]
Premature end after finishing parsing is a fatal error.

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

14 years agoadd xlst related tests to Skipped list.
lars [Fri, 27 Jul 2007 13:58:22 +0000 (13:58 +0000)]
add xlst related tests to Skipped list.

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

14 years agoSimplify conversions that go from a QStringRef to a WebCore::String to not use a...
lars [Fri, 27 Jul 2007 13:58:12 +0000 (13:58 +0000)]
Simplify conversions that go from a QStringRef to a WebCore::String to not use a temporary QString.

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

14 years agoFix entity handling in the main document content (attributes still broken)
lars [Fri, 27 Jul 2007 13:57:54 +0000 (13:57 +0000)]
Fix entity handling in the main document content (attributes still broken)

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

14 years agoCorrectly convert a null QString into a null WebCore::String. Add a String(const...
lars [Fri, 27 Jul 2007 13:57:33 +0000 (13:57 +0000)]
Correctly convert a null QString into a null WebCore::String. Add a String(const QStringRef&) constructor so that we can avoid converting QStringRef via QString to WebCore::String.

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

14 years agoParse version and encoding of the xml document.
lars [Fri, 27 Jul 2007 13:57:07 +0000 (13:57 +0000)]
Parse version and encoding of the xml document.

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

14 years agoCorrectly or semi-correctly parse the public and system id.
lars [Fri, 27 Jul 2007 13:56:52 +0000 (13:56 +0000)]
Correctly or semi-correctly parse the public and system id.

Patch from Lars.

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

14 years agoFix uri parsing for attributes.
lars [Fri, 27 Jul 2007 13:56:37 +0000 (13:56 +0000)]
Fix uri parsing for attributes.

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

14 years agoFixing qualified name parsing - from Lars.
lars [Fri, 27 Jul 2007 13:56:19 +0000 (13:56 +0000)]
Fixing qualified name parsing - from Lars.

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

14 years agoParse dtd's
lars [Fri, 27 Jul 2007 13:56:05 +0000 (13:56 +0000)]
Parse dtd's

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

14 years agoImplement error handling.
lars [Fri, 27 Jul 2007 13:55:49 +0000 (13:55 +0000)]
Implement error handling.

Add our copyrights

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

14 years agoMaking the stylesheets work (plus everything else basically)
lars [Fri, 27 Jul 2007 13:55:35 +0000 (13:55 +0000)]
Making the stylesheets work (plus everything else basically)

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

14 years agoRemove the libxml dependency when not compiling with XSLT.
lars [Fri, 27 Jul 2007 13:55:21 +0000 (13:55 +0000)]
Remove the libxml dependency when not compiling with XSLT.

Just ifdefing, displaying xml doesn't work.

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

14 years agoWebKitQt:
zecke [Fri, 27 Jul 2007 12:26:58 +0000 (12:26 +0000)]

2007-07-27  Holger Hans Peter Freyther  <zecke@selfish.org>

        Reviewed by Mark.

        Don't create an app bundle on OSX to keep WebKitTools/Scripts/run-launcher working.

        * QtLauncher/QtLauncher.pro:

2007-07-27  Holger Hans Peter Freyther  <zecke@selfish.org>

        Reviewed by Mark.

        Correct the path of GdkLauncher and make checkFrameworks work on OSX
        when building the Qt or Gtk+ port.

        * GdkLauncher/GdkLauncher.pro: Don't create an app bundle on OSX
        * Scripts/run-launcher:
        * Scripts/webkitdirs.pm: Don't add WebKit if we build the Qt or Gtk+ port.

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

14 years agoWork around bug in the moc when used as preprocessor for generating the bindings...
hausmann [Fri, 27 Jul 2007 12:26:22 +0000 (12:26 +0000)]
Work around bug in the moc when used as preprocessor for generating the bindings. -DFOO=1 is needed instead of -DFOO to make the <hash>if FOO conditional match.

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

14 years ago2007-07-27 Patrick Hanna <phanna@email.unc.edu>
bdash [Fri, 27 Jul 2007 11:59:09 +0000 (11:59 +0000)]
2007-07-27  Patrick Hanna  <phanna@email.unc.edu>

        Reviewed by Darin Adler.

        Change PluginBase::refresh to be static and update PluginsFunc::callAsFunction accordingly. Now we no longer
        allocate an instance of a JSObject subclass on the stack which could lead to a crash during garbage collection.

        * bindings/js/kjs_navigator.cpp:

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

14 years agoAlways define JSChar to be unsigned short for the Qt builds, to ensure compatibility...
hausmann [Fri, 27 Jul 2007 08:34:37 +0000 (08:34 +0000)]
Always define JSChar to be unsigned short for the Qt builds, to ensure compatibility with UChar.

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

14 years agoFix snprintf hack for the Qt/Windows build with mingw-gcc. MingW has snprintf, so...
hausmann [Fri, 27 Jul 2007 08:34:27 +0000 (08:34 +0000)]
Fix snprintf hack for the Qt/Windows build with mingw-gcc. MingW has snprintf, so we don't need this helper function.

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

14 years agoMake the DocTypeStrings.cpp generation work with MingW. Cleaned it up to be a regular...
hausmann [Fri, 27 Jul 2007 08:34:13 +0000 (08:34 +0000)]
Make the DocTypeStrings.cpp generation work with MingW. Cleaned it up to be a regular extra compiler at the same time.

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

14 years agoFix compilation with Qt on Windows with MingW: Implemented currentThreadStackBase...
hausmann [Fri, 27 Jul 2007 08:34:00 +0000 (08:34 +0000)]
Fix compilation with Qt on Windows with MingW: Implemented currentThreadStackBase() for this platform.

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

14 years agoFix compilation with Qt on Windows with MingW: The MingW headers do not provide a...
hausmann [Fri, 27 Jul 2007 08:33:49 +0000 (08:33 +0000)]
Fix compilation with Qt on Windows with MingW: The MingW headers do not provide a prototype for a reentrant version of localtime. But since we don't use multiple threads for the Qt build we can use the plain localtime() function.

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

14 years agoMingW build fixes: Do the "OBJECTS_TRAILING_SLASH" trick not only for win32-msvc...
hausmann [Fri, 27 Jul 2007 08:33:39 +0000 (08:33 +0000)]
MingW build fixes: Do the "OBJECTS_TRAILING_SLASH" trick not only for win32-msvc but for all win32 mkspecs. Added LIB/INCLUDE hack from Qt to make us pick up 3rdparty libraries such as libxml from these environment variables.

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

14 years agoFix build-webkit for the Qt build on Windows with msvc/nmake by trying to detect...
hausmann [Fri, 27 Jul 2007 08:33:27 +0000 (08:33 +0000)]
Fix build-webkit for the Qt build on Windows with msvc/nmake by trying to detect the Qt mkspec and using "nmake" instead of "make" as build command.

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

14 years agoUse $(MOVE) instead of mv to eliminated the shell dependency and replaced the long...
hausmann [Fri, 27 Jul 2007 08:33:17 +0000 (08:33 +0000)]
Use $(MOVE) instead of mv to eliminated the shell dependency and replaced the long shell line to call bison and modify the css grammar file with a few lines of portable perl code.

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

14 years agoImplemented currentTime() in the interpreter by using QDateTime, so that we don't...
hausmann [Fri, 27 Jul 2007 08:33:05 +0000 (08:33 +0000)]
Implemented currentTime() in the interpreter by using QDateTime, so that we don't need timeGetTime() on Windows and therefore also don't need to link against Winmm.dll.

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

14 years agoExclude DumpRenderTree from the Qt build on Windows for now.
hausmann [Fri, 27 Jul 2007 08:32:54 +0000 (08:32 +0000)]
Exclude DumpRenderTree from the Qt build on Windows for now.

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

14 years agoFor detecting the SVG support for the Qt build don't do the nm hack. Just always...
hausmann [Fri, 27 Jul 2007 08:32:45 +0000 (08:32 +0000)]
For detecting the SVG support for the Qt build don't do the nm hack. Just always claim SVG support is enabled because that's what it is. The nm hack doesn't work on Windows anyway.

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

14 years agoOn make install on Windows copy the dll into the bin dir.
hausmann [Fri, 27 Jul 2007 08:32:35 +0000 (08:32 +0000)]
On make install on Windows copy the dll into the bin dir.

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

14 years agoLink in libxml and libxslt on Windows.
hausmann [Fri, 27 Jul 2007 08:32:24 +0000 (08:32 +0000)]
Link in libxml and libxslt on Windows.

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

14 years agoTemporarily disable the ICO support for the Qt build on Windows.
hausmann [Fri, 27 Jul 2007 08:32:12 +0000 (08:32 +0000)]
Temporarily disable the ICO support for the Qt build on Windows.

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

14 years agoFix evaluation with ActiveState Perl 5.6. Somehow it tried to treat nameEntries as...
hausmann [Fri, 27 Jul 2007 08:32:00 +0000 (08:32 +0000)]
Fix evaluation with ActiveState Perl 5.6. Somehow it tried to treat nameEntries as array.

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

14 years agoFix compilation with MSVC in the Qt build (missing header files).
hausmann [Fri, 27 Jul 2007 08:31:48 +0000 (08:31 +0000)]
Fix compilation with MSVC in the Qt build (missing header files).

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

14 years agoDisable the favicon database on Windows for now, to eliminate the sqlite dependency.
hausmann [Fri, 27 Jul 2007 08:31:32 +0000 (08:31 +0000)]
Disable the favicon database on Windows for now, to eliminate the sqlite dependency.

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

14 years agoAdded custom preprocessor support to make_names.pl and use the moc for it in the...
hausmann [Fri, 27 Jul 2007 08:31:20 +0000 (08:31 +0000)]
Added custom preprocessor support to make_names.pl and use the moc for it in the Qt build.

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

14 years agoDisable the batch mode for nmake to work around the clash of Node.c and Node.cpp...
hausmann [Fri, 27 Jul 2007 08:31:08 +0000 (08:31 +0000)]
Disable the batch mode for nmake to work around the clash of Node.c and Node.cpp both mapping to Node.obj

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

14 years agoFix compilation under Windows (removed sys/time.h dependency, use Qt instead).
hausmann [Fri, 27 Jul 2007 08:30:57 +0000 (08:30 +0000)]
Fix compilation under Windows (removed sys/time.h dependency, use Qt instead).

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

14 years agoFix compilation on Windows.
hausmann [Fri, 27 Jul 2007 08:30:44 +0000 (08:30 +0000)]
Fix compilation on Windows.

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

14 years agoFix generation of ColorData.c on Windows.
hausmann [Fri, 27 Jul 2007 08:30:32 +0000 (08:30 +0000)]
Fix generation of ColorData.c on Windows.

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

14 years agoFix compilation under Qt/Windows.
hausmann [Fri, 27 Jul 2007 08:30:20 +0000 (08:30 +0000)]
Fix compilation under Qt/Windows.

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

14 years agoChanged extendedAttributes to be a variable instead of a hash directly. Required...
hausmann [Fri, 27 Jul 2007 08:30:08 +0000 (08:30 +0000)]
Changed extendedAttributes to be a variable instead of a hash directly. Required to work with ActiveState perl.

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

14 years agoReplace the use of snprintf with QByteArray to compile under msvc 2005 express.
hausmann [Fri, 27 Jul 2007 08:29:55 +0000 (08:29 +0000)]
Replace the use of snprintf with QByteArray to compile under msvc 2005 express.

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

14 years agoDon't use pthread.h unless thread support is enabled.
hausmann [Fri, 27 Jul 2007 08:29:44 +0000 (08:29 +0000)]
Don't use pthread.h unless thread support is enabled.

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

14 years agoRemoved TCSystemMalloc from the Qt build, it's not necessary it seems.
hausmann [Fri, 27 Jul 2007 08:29:34 +0000 (08:29 +0000)]
Removed TCSystemMalloc from the Qt build, it's not necessary it seems.

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

14 years agoFix header guard generation for CSSGrammar.h under Windows
hausmann [Fri, 27 Jul 2007 08:29:23 +0000 (08:29 +0000)]
Fix header guard generation for CSSGrammar.h under Windows

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

14 years agoFix build with moc as preprocessor. Don't rely the preprocessor preserving whitespace...
hausmann [Fri, 27 Jul 2007 08:29:11 +0000 (08:29 +0000)]
Fix build with moc as preprocessor. Don't rely the preprocessor preserving whitespace at the beginning of lines.

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

14 years agoAdded os-win32 to the include search path for the Qt windows build in order to provid...
hausmann [Fri, 27 Jul 2007 08:28:59 +0000 (08:28 +0000)]
Added os-win32 to the include search path for the Qt windows build in order to provide the fake stdint.h header file.

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

14 years agoMake make-css-file-arrays.pl work on Windows by not calling /usr/bin/gcc as preproces...
hausmann [Fri, 27 Jul 2007 08:28:48 +0000 (08:28 +0000)]
Make make-css-file-arrays.pl work on Windows by not calling /usr/bin/gcc as preprocessor for the Qt build.

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

14 years agoMore gperf commandline fixes for Windows.
hausmann [Fri, 27 Jul 2007 08:28:35 +0000 (08:28 +0000)]
More gperf commandline fixes for Windows.

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

14 years agoMore quoting fixes for perl under Windows.
hausmann [Fri, 27 Jul 2007 08:28:22 +0000 (08:28 +0000)]
More quoting fixes for perl under Windows.

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

14 years agoFix command quoting under Windows
hausmann [Fri, 27 Jul 2007 08:28:09 +0000 (08:28 +0000)]
Fix command quoting under Windows

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

14 years agoFix cssmakeprops and cssmakevalue scripts to work on Windows without cygwin perl...
hausmann [Fri, 27 Jul 2007 08:27:55 +0000 (08:27 +0000)]
Fix cssmakeprops and cssmakevalue scripts to work on Windows without cygwin perl. Avoid inplace substitutions and direct invocation of /bin/sh. Also call gperf with arguments that GnuWin32's gperf understands.

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

14 years agoBeautiful hacks to make more of the extra compiler magic work under Windows outside...
hausmann [Fri, 27 Jul 2007 08:27:39 +0000 (08:27 +0000)]
Beautiful hacks to make more of the extra compiler magic work under Windows outside of cygwin.

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

14 years agoCorrectly propagate the custom preprocessor option through the idl parser and the...
hausmann [Fri, 27 Jul 2007 08:27:27 +0000 (08:27 +0000)]
Correctly propagate the custom preprocessor option through the idl parser and the codegenerator.

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

14 years agoWhen constructing the absolute path when searching for IDL files in the list of searc...
hausmann [Fri, 27 Jul 2007 08:27:15 +0000 (08:27 +0000)]
When constructing the absolute path when searching for IDL files in the list of search paths don't prepend a slash if $SOURCEROOT as environment variable is not set. In the Qt build we pass absolute search paths already and we don't set SOURCEROOT. Under Unix that gives a double slash for the directory which works fine, under Windows we get /c:\webkit\foo which of course does not work.

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

14 years agoRelax the regular expression that tries to find constant declarations in the IDL...
hausmann [Fri, 27 Jul 2007 08:27:03 +0000 (08:27 +0000)]
Relax the regular expression that tries to find constant declarations in the IDL source to not require leading whitespace. This makes it work with preprocessors that happen to eliminate leading whitespace.

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

14 years agoTry to use the moc as preprocessor for the IDL bindings generator
hausmann [Fri, 27 Jul 2007 08:26:51 +0000 (08:26 +0000)]
Try to use the moc as preprocessor for the IDL bindings generator

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

14 years agoMake it possible to specify the preprocessor the bindings generator uses instead...
hausmann [Fri, 27 Jul 2007 08:26:40 +0000 (08:26 +0000)]
Make it possible to specify the preprocessor the bindings generator uses instead of hardcoding /usr/bin/gcc (which is of course no option on Windows). Also try to use a more portable and Windows friendly way of opening the reading pipe to the preprocessor.

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

14 years agoDon't use stdout redirection for make_names.pl as it doesn't work under Windows perl...
hausmann [Fri, 27 Jul 2007 08:26:28 +0000 (08:26 +0000)]
Don't use stdout redirection for make_names.pl as it doesn't work under Windows perl (outside cygwin).

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

14 years agoFix DocTypeStrings.cpp generation to work on Windows with cmd.exe
hausmann [Fri, 27 Jul 2007 08:26:16 +0000 (08:26 +0000)]
Fix DocTypeStrings.cpp generation to work on Windows with cmd.exe

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

14 years agoWork around aliasing bugs in WebCore by compiling with -fno-strict-aliasing for gcc...
hausmann [Fri, 27 Jul 2007 07:43:39 +0000 (07:43 +0000)]
Work around aliasing bugs in WebCore by compiling with -fno-strict-aliasing for gcc builds for now.

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

14 years agoUse -Wreturn-type only when compiling with g++
hausmann [Fri, 27 Jul 2007 07:28:49 +0000 (07:28 +0000)]
Use -Wreturn-type only when compiling with g++

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

14 years agoDon't use pkg-config on Windows for the Qt build
hausmann [Fri, 27 Jul 2007 07:28:28 +0000 (07:28 +0000)]
Don't use pkg-config on Windows for the Qt build

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

14 years ago Fix Bug 14773: REGRESSION (r24630): ASSERT_NOT_REACHED in DOMHTMLInputElement...
aroben [Fri, 27 Jul 2007 07:22:49 +0000 (07:22 +0000)]
    Fix Bug 14773: REGRESSION (r24630): ASSERT_NOT_REACHED in DOMHTMLInputElement::name on Windows

        Reviewed by Steve.

        * Interfaces/DOMHTML.idl: Change IDOMHTMLInputElement back to
        inheriting from IDOMElement. Safari 3 Beta uses this interface, so we
        can't change its vtable.

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

14 years agoFix compilation with MSVC.
hausmann [Fri, 27 Jul 2007 07:14:50 +0000 (07:14 +0000)]
Fix compilation with MSVC.

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

14 years agoFix compilation with MSVC.
hausmann [Fri, 27 Jul 2007 07:11:24 +0000 (07:11 +0000)]
Fix compilation with MSVC.

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

14 years agoAdded radar.
ddkilzer [Fri, 27 Jul 2007 05:27:30 +0000 (05:27 +0000)]
Added radar.

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

14 years ago Reviewed by Oliver.
ap [Fri, 27 Jul 2007 04:54:46 +0000 (04:54 +0000)]
    Reviewed by Oliver.

        Add a logging channel for text input

        * Misc/WebKitLogging.h:
        * Misc/WebKitLogging.m:
        * WebView/WebHTMLView.mm:
        (-[WebHTMLView validAttributesForMarkedText]):
        (-[WebHTMLView textStorage]):
        (-[WebHTMLView characterIndexForPoint:]):
        (-[WebHTMLView firstRectForCharacterRange:]):
        (-[WebHTMLView selectedRange]):
        (-[WebHTMLView markedRange]):
        (-[WebHTMLView attributedSubstringFromRange:]):
        (-[WebHTMLView hasMarkedText]):
        (-[WebHTMLView unmarkText]):
        (-[WebHTMLView setMarkedText:selectedRange:]):
        (-[WebHTMLView doCommandBySelector:]):
        (-[WebHTMLView insertText:]):

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

14 years ago * http/tests/security/cross-frame-access-put-expected.txt:
darin [Fri, 27 Jul 2007 04:18:07 +0000 (04:18 +0000)]
    * http/tests/security/cross-frame-access-put-expected.txt:
        Checked in corrected results that match the checked-in test.

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

14 years ago - fix Tiger build
darin [Fri, 27 Jul 2007 01:58:55 +0000 (01:58 +0000)]
    - fix Tiger build

        * Misc/WebTypesInternal.h: For use inside the library, use NSInteger and
        NSUInteger, just like on Leopard. WebNSInteger and WebNSUInteger are still
        present, but they are used in public and private headers only.

        * Carbon/CarbonWindowAdapter.m:
        * Carbon/CarbonWindowFrame.m:
        * DefaultDelegates/WebScriptDebugServer.m:
        * History/WebBackForwardList.mm:
        * Misc/WebDownload.m:
        * Misc/WebSearchableTextView.m:
        * Plugins/WebBaseNetscapePluginView.mm:
        * WebCoreSupport/WebFrameLoaderClient.mm:
        * WebView/WebHTMLView.mm:
        * WebView/WebPDFView.mm:
        * WebView/WebView.mm:
        * WebView/WebViewInternal.h:
        Update all implementation files and internal headers to use NSInteger and
        NSUInteger rather than WebNSInteger and WebNSUInteger.

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

14 years ago Reviewed by Kevin Decker
sullivan [Fri, 27 Jul 2007 01:12:14 +0000 (01:12 +0000)]
    Reviewed by Kevin Decker

        - fixed <rdar://problem/5362989> Searching a pdf in some modes shows hilights for all instances
          of the word, even those not on the current page

        It turns out that there were three different issues here, all contributing to incorrect display
        of multiple matches for PDF pages in certain display modes. (1) in non-continuous display modes,
        we weren't updating the match rects when the displayed page is changed with page up/down (e.g.);
        (2) the mechanism to update the match rects on scrolling was busted except for the first scroll
        away from 0,0; (3) the PDFKit API returns selection bounds for non-displayed pages in non-continuous
        modes just as if they were the displayed pages. This patch fixes all three issues.

        * WebView/WebPDFView.h:
        made ivar name even longer

        * WebView/WebPDFView.mm:
        (-[WebPDFView setPDFDocument:]):
        updated for ivar name change
        (-[WebPDFView viewDidMoveToWindow]):
        observe page-change notifications as well as the others; this is necessary because in the
        non-continuous modes the view can be completely updated without any scrolling involved (problem 1)
        (-[WebPDFView viewWillMoveToWindow:]):
        stop observing page-change notifications
        (-[WebPDFView rectsForTextMatches]):
        skip any pages that aren't visible; this avoids treating matches on non-displayed non-continous
        modes as if they were on the displayed page (problem 3)
        (-[WebPDFView _PDFDocumentViewMightHaveScrolled:]):
        after checking whether scroll position has changed since we last checked it, remember the new
        one (d'oh!) (problem 2)

        (-[WebPDFView _scaleOrDisplayModeOrPageChanged:]):
        renamed to include page changes

        (-[WebPDFView _visiblePDFPages]):
        new method, returns the set of pages that are at least partly visible

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

14 years ago Reviewed by Anders Carlsson.
tristan [Fri, 27 Jul 2007 00:51:34 +0000 (00:51 +0000)]
    Reviewed by Anders Carlsson.

        <rdar://problem/5350019> REGRESSION: Pages on milliyet.com are added to Back list when visited, causing Back button to just reload

        * http/tests/navigation/lockedhistory-iframe-expected.txt: Added.
        * http/tests/navigation/lockedhistory-iframe.html: Added.

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

14 years ago Reviewed by Anders Carlsson.
tristan [Fri, 27 Jul 2007 00:46:24 +0000 (00:46 +0000)]
    Reviewed by Anders Carlsson.

        <rdar://problem/5350019> REGRESSION: Pages on milliyet.com are added to Back list when visited, causing Back button to just reload

        * loader/FrameLoader.cpp:
        If the policy action is FrameLoadTypeRedirectLockHistory, don't add the frame load url to the history.

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

14 years agogit-svn-id: https://svn.webkit.org/repository/webkit/trunk@24662 268f45cc-cd09-0410...
hyatt [Fri, 27 Jul 2007 00:26:04 +0000 (00:26 +0000)]
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@24662 268f45cc-cd09-0410-ab3c-d52691b4dbfc

14 years ago Reviewed by Geoff.
andersca [Fri, 27 Jul 2007 00:14:47 +0000 (00:14 +0000)]
    Reviewed by Geoff.

        Add a FIXME about caching pages with plug-ins that have outstanding NPObjects.

        * loader/FrameLoader.cpp:

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

14 years ago Reviewed by Sam.
kmccullo [Fri, 27 Jul 2007 00:12:20 +0000 (00:12 +0000)]
    Reviewed by Sam.

        - Updated results as they are affecte by my previous checkin.

        * http/tests/security/cross-frame-access-put-expected.txt:
        * http/tests/security/resources/cross-frame-iframe-for-put-test.html:

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

14 years ago FIx for <rdar://problem/5289721> CrashTracer: [REGRESSION] 2658 crashes in...
hyatt [Fri, 27 Jul 2007 00:02:39 +0000 (00:02 +0000)]
    FIx for <rdar://problem/5289721> CrashTracer: [REGRESSION] 2658 crashes in Safari at com.apple.WebCore: WebCore::RenderInline::height const + 16

        Adding a null check for now and an assert.  We don't know how/why this
        bug happens, but hopefully the assert will help people to reproduce.

        Reviewed by kevin

        * rendering/RenderInline.cpp:

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

14 years ago Reviewed by Oliver.
andersca [Thu, 26 Jul 2007 23:52:02 +0000 (23:52 +0000)]
    Reviewed by Oliver.

        In Mail, a crash occurs at WTF::fastMalloc() when attempting to create a new HTML message from http://nytimes.com/

        If the cache is disabled and there is already a resource with the given URL, return it instead of creating a new one.

        * loader/DocLoader.cpp:

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