15 years agoFix ChangeLog
antti@apple.com [Sat, 17 Nov 2007 02:13:48 +0000 (02:13 +0000)]
Fix ChangeLog

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

15 years agoWebCore:
antti@apple.com [Sat, 17 Nov 2007 02:10:16 +0000 (02:10 +0000)]

        Reviewed by Adele.

        Seeking related fixes, updates match to the latest specification
        - rename loopCount of HTMLMediaElement to playCount
        - add explicit seeking attribute to HTMLMediaElement to get semantics right
        - implement the specification behavior that currentTime must immediately return seeked position in HTMLMediaElement
          instead of MoviePrivateQTKit
        - fix broken behavior when seeking past end of the media, add tests
        - replace Movie didEnd callback with broader timeChanged callback (which gets called in didEnd case too)
        - use setDelayCallbacks: in various MoviePrivateQTKit methods to avoid bug prone synchronous callbacks from QT, make
          HTMLMediaElement not depend on synchronous callbacks
        - do some cleanups and simplifications in MoviePrivateQTKit, get rid of m_rateBeforeSeek and m_blockStateUpdate variables

        Tests: http/tests/media/video-seekable-stall.html

        * html/HTMLAttributeNames.in:
        * html/HTMLMediaElement.cpp:
        * html/HTMLMediaElement.h:
        * html/HTMLMediaElement.idl:
        * platform/graphics/Movie.cpp:
        * platform/graphics/Movie.h:
        * platform/graphics/mac/MoviePrivateQTKit.h:
        * platform/graphics/mac/MoviePrivateQTKit.mm:


        Reviewed by Adele.

        Seeking related test updates
        - update to match specificiation
            - rename loopCount to playCount everywhere
            - timeupdate events during seek
        - fix that some tests (like audio ones) depended on timing sensitive ordering of play and load events
        - add text about what is being tested

        Add new tests for seeking past end, seeking past loaded position and 'seeking' DOM attribute.

        * http/tests/media/video-seekable-stall-expected.txt: Added.
        * http/tests/media/video-seekable-stall.html: Added.
        * media/audio-constructor-expected.txt:
        * media/audio-constructor-src-expected.txt:
        * media/audio-constructor-src.html:
        * media/audio-constructor.html:
        * media/video-dom-loopcount-expected.txt:
        * media/video-dom-loopcount.html:
        * media/video-dom-loopend-expected.txt:
        * media/video-dom-loopend.html:
        * media/video-dom-loopstart-expected.txt:
        * media/video-dom-loopstart.html:
        * media/video-dom-start-expected.txt:
        * media/video-dom-start.html:
        * media/video-loopcount-expected.txt:
        * media/video-loopcount.html:
        * media/video-loopend-expected.txt:
        * media/video-loopend.html:
        * media/video-loopstart-expected.txt:
        * media/video-loopstart.html:
        * media/video-seek-past-end-paused-expected.txt: Added.
        * media/video-seek-past-end-paused.html: Added.
        * media/video-seek-past-end-playing-expected.txt: Added.
        * media/video-seek-past-end-playing.html: Added.
        * media/video-seeking-expected.txt: Added.
        * media/video-seeking.html: Added.
        * media/video-test.js:

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

15 years agoWebCore:
andersca@apple.com [Sat, 17 Nov 2007 01:32:01 +0000 (01:32 +0000)]

        Reviewed by Adam.

        XMLHttpRequest readyState 3 & responseText buffer issues.

        * platform/network/cf/ResourceHandleCFNet.cpp:
        Add new parameter which controls whether content sniffing should be turned off.

        Always content sniff sync loads.

        * platform/network/cf/ResourceRequestCFNet.cpp:
        If the ResourceRequest already has a backing CFURLRequest, make a copy of it. This preserves
        any properties set on the CFURLRequest.


        Reviewed by Adam.

        XMLHttpRequest readyState 3 & responseText buffer issues.

        Remove http/tests/xmlhttprequest/small-chunks-response-text.html from the Skipped list.

        * platform/win/Skipped:

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

15 years agoFix ChangeLog
mitz@apple.com [Sat, 17 Nov 2007 01:25:55 +0000 (01:25 +0000)]
Fix ChangeLog

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

15 years agoWebKitTools:
mitz@apple.com [Sat, 17 Nov 2007 01:24:53 +0000 (01:24 +0000)]

        Reviewed by Darin Adler and Sam Weinig.

        - fix <rdar://problem/5134075> fast/forms/select-type-ahead-non-latin.html fails on boomer

        * DumpRenderTree/win/EventSender.cpp:
        (keyDownCallback): For characters that cannot be entered on the active
        keyboard layout, send a WM_CHAR message with the character along with
        a WM_KEYDOWN message with a virtual key code of 255.


        Reviewed by Darin Adler and Sam Weinig.

        - remove fast/forms/select-type-ahead-non-latin.html after fixing <rdar://problem/5134075>

        * platform/win/Skipped:

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

15 years ago2007-11-16 Jon Honeycutt <jhoneycutt@apple.com>
jhoneycutt@apple.com [Sat, 17 Nov 2007 01:16:56 +0000 (01:16 +0000)]
2007-11-16  Jon Honeycutt  <jhoneycutt@apple.com>

        Reviewed by Ollie.

        <rdar://problem/5605175> Crash closing or leaving window with ViewPoint
        Media player plugin

        ViewPoint plugin requires that we pass a valid NPSavedData* to

        * plugins/win/PluginViewWin.cpp: Pass a valid NPSavedData* to
        NPP_Destroy. If the plugin allocates data, discard it

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

15 years agoWindows build fix.
mrowe@apple.com [Sat, 17 Nov 2007 00:52:17 +0000 (00:52 +0000)]
Windows build fix.

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

15 years agoBuild WebCore as a sub-framework of WebKit in all configurations.
mrowe@apple.com [Fri, 16 Nov 2007 23:50:45 +0000 (23:50 +0000)]
Build WebCore as a sub-framework of WebKit in all configurations.

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

15 years ago2007-11-16 Mark Rowe <mrowe@apple.com>
mrowe@apple.com [Fri, 16 Nov 2007 22:43:36 +0000 (22:43 +0000)]
2007-11-16  Mark Rowe  <mrowe@apple.com>

        Reviewed by Eric.

        Replace strings, identifier, buffer8 and buffer16 members of Lexer with vectors.
        SunSpider claims this is a 0.7% speedup.

        * kjs/lexer.cpp:
        * kjs/lexer.h:
        * kjs/ustring.cpp:
        (KJS::UString::UString): Add a convenience constructor that takes a const Vector<UChar>&.
        * kjs/ustring.h:

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

15 years ago2007-11-16 Doug Turner <dougt@meer.net>
alp@webkit.org [Fri, 16 Nov 2007 22:27:03 +0000 (22:27 +0000)]
2007-11-16  Doug Turner  <dougt@meer.net>

        Reviewed by Alp.

        build bustage when building on debian 4.0

        Fix build bustage on GTK+ with older versions of Pango.

        Don't cache the return value since the docs say it can change.

        * platform/gtk/Language.cpp:

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

15 years ago Windows build fix
aroben@apple.com [Fri, 16 Nov 2007 21:55:14 +0000 (21:55 +0000)]
    Windows build fix

        * JavaScriptCore.vcproj/testkjs/testkjs.vcproj: Add a new include path
        and ignore the int -> bool conversion warning.

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

15 years ago Reviewed by Brady
sullivan@apple.com [Fri, 16 Nov 2007 19:21:42 +0000 (19:21 +0000)]
    Reviewed by Brady

        * WebKit.exp:
        Exported some new database-related symbols

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

15 years ago * WebKit.xcodeproj/project.pbxproj: WebDatabaseManagerPrivate.h, also!
beidson@apple.com [Fri, 16 Nov 2007 19:06:23 +0000 (19:06 +0000)]
    * WebKit.xcodeproj/project.pbxproj: WebDatabaseManagerPrivate.h, also!

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

15 years ago * WebKit.xcodeproj/project.pbxproj: Mark WebSecurityOriginPrivate.h private so
beidson@apple.com [Fri, 16 Nov 2007 18:59:25 +0000 (18:59 +0000)]
    * WebKit.xcodeproj/project.pbxproj: Mark WebSecurityOriginPrivate.h private so
          it is exported

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

15 years agoWebKit/mac:
beidson@apple.com [Fri, 16 Nov 2007 17:34:57 +0000 (17:34 +0000)]

        Reviewed by John

        Database management API tweaks

        Fleshed out "WebSecurityOrigin" to be the API object representing an origin.  This relieves some
        burden off WebDatabaseManager and allows usage/quota operations on the SecurityOrigin object itself

        Also added a new subdirectory for Storage related API - Why are we afraid to add new directories to
        the WebKit tree?

        * Misc/WebSecurityOrigin.mm: Removed.
        * Misc/WebSecurityOriginInternal.h: Removed.
        * Misc/WebSecurityOriginPrivate.h: Removed.

        * Storage/WebDatabaseManager.mm: Work in terms of WebSecurityOrigin
        * Storage/WebDatabaseManagerPrivate.h:

        * Storage/WebSecurityOrigin.mm: Added.
        (-[WebSecurityOriginPrivate initWithProtocol:domain:port:]):
        (-[WebSecurityOriginPrivate initWithWebCoreSecurityOrigin:]):
        (-[WebSecurityOriginPrivate finalize]):
        (-[WebSecurityOriginPrivate dealloc]):
        (-[WebSecurityOrigin initWithProtocol:domain:]):
        (-[WebSecurityOrigin initWithProtocol:domain:port:]):
        (-[WebSecurityOrigin protocol]):
        (-[WebSecurityOrigin domain]):
        (-[WebSecurityOrigin port]):
        (-[WebSecurityOrigin usage]):
        (-[WebSecurityOrigin quota]):
        (-[WebSecurityOrigin setQuota:]): Clients will set quotas on the WebSecurityOrigin object itself
        (-[WebSecurityOrigin dealloc]):
        (-[WebSecurityOrigin _initWithWebCoreSecurityOriginData:]):
        * Storage/WebSecurityOriginInternal.h: Added.
        * Storage/WebSecurityOriginPrivate.h: Added.


        Reviewed by John

        Database management API tweaks

        * WebKit.xcodeproj/project.pbxproj:

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

15 years ago Build fix
beidson@apple.com [Fri, 16 Nov 2007 17:25:17 +0000 (17:25 +0000)]
    Build fix

        * platform/SecurityOriginData.h:
        (WebCore::operator!=): Whoops!

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

15 years ago Reviewed by Sam
beidson@apple.com [Fri, 16 Nov 2007 17:13:20 +0000 (17:13 +0000)]
    Reviewed by Sam

        Further purify DatabaseTracker to use SecurityOriginData instead of "a String"

        * WebCore.base.exp:
        * WebCore.xcodeproj/project.pbxproj:
        * WebCore.vcproj/WebCore.vcproj
        * WebCore.pro

        * platform/SecurityOriginData.cpp: Added.
        (WebCore::SecurityOriginData::SecurityOriginData): Add a constructor that takes a "stringIdentifier"-style string,
          since that form is what will be stored in the Databases.db on disk
        * platform/SecurityOriginData.h:

        * storage/DatabaseTracker.cpp:
        (WebCore::SecurityOriginDataHash::hash): Follow the pattern Darin set in FontCache.cpp to make a decent hash for
          a SecurityOriginData object
        (WebCore::SecurityOriginDataTraits::deletedValue): "file::1" will never exist in normal operation
        (WebCore::SecurityOriginDataTraits::emptyValue): "file::2" will never exist in normal operation
        * storage/DatabaseTracker.h:

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

15 years agoRubberstamped by Eric.
zimmermann@webkit.org [Fri, 16 Nov 2007 12:22:34 +0000 (12:22 +0000)]
Rubberstamped by Eric.

Full update of the SVG pixel tests - all files containing text show rendering improvements.
Text looks more 'bold' as it's supposed to be according to the W3C reference rendering, not
sure what commit actually caused it - but it's better now.

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

15 years ago Windows build fix.
ap@webkit.org [Fri, 16 Nov 2007 12:20:01 +0000 (12:20 +0000)]
    Windows build fix.

        * WebCore.vcproj/WebCore.vcproj: Removed VoidCallback.cpp, added JSCustomVoidCallback.{h,cpp}.

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

15 years agoReviewed by Eric.
zimmermann@webkit.org [Fri, 16 Nov 2007 11:20:56 +0000 (11:20 +0000)]
Reviewed by Eric.

Fixes: http://bugs.webkit.org/show_bug.cgi?id=12290
Implement all SVGTextContentElement DOM methods.
This is the last missing SVG text feature. SVG fonts is next.

Added testcase: svg/custom/text-dom-01-f.svg (tests all new methods)

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

15 years ago Fix Windows debug build.
ap@webkit.org [Fri, 16 Nov 2007 10:49:40 +0000 (10:49 +0000)]
    Fix Windows debug build.
        Rubber-stamped by Eric

        * pcre/pcre_exec.cpp: (match): Removed ASSERT_NOT_REACHED assertions that were making MSVC
        complain about unreachable code.

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

15 years ago2007-11-15 Mark Rowe <mrowe@apple.com>
mrowe@apple.com [Fri, 16 Nov 2007 07:47:52 +0000 (07:47 +0000)]
2007-11-15  Mark Rowe  <mrowe@apple.com>

        Gtk build fix.

        * kjs/Parser.cpp:

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

15 years agoMac build and header search path sanity fix.
mrowe@apple.com [Fri, 16 Nov 2007 07:44:18 +0000 (07:44 +0000)]
Mac build and header search path sanity fix.

Reviewed by Sam Weinig and Tim Hatcher.

Move base setting for HEADER_SEARCH_PATHS into Base.xcconfig, and extend
it in JavaScriptCore.xcconfig.  This removes the need to override it on a
per-target basis inside the .xcodeproj file.

* Configurations/Base.xcconfig:
* Configurations/JavaScriptCore.xcconfig:
* JavaScriptCore.xcodeproj/project.pbxproj:

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

15 years ago2007-11-15 Mark Rowe <mrowe@apple.com>
mrowe@apple.com [Fri, 16 Nov 2007 07:08:05 +0000 (07:08 +0000)]
2007-11-15  Mark Rowe  <mrowe@apple.com>

        Qt build fix.

        * kjs/Parser.h:

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

15 years agoWebCore:
adele@apple.com [Fri, 16 Nov 2007 07:00:50 +0000 (07:00 +0000)]

        Reviewed by Oliver.

        Fix for <rdar://problem/5566652> CrashTracer: [USER] 3 crashes in Safari at HTMLSelectElement::menuListDefaultEventHandler (reproducible on mactc30.com)

        Test: fast/forms/menulist-no-renderer-onmousedown.html

        * html/HTMLSelectElement.cpp:
        (WebCore::HTMLSelectElement::defaultEventHandler): Nil check the renderer here.  None of the default behavior makes sense if there's no renderer.
        (WebCore::HTMLSelectElement::listBoxDefaultEventHandler): Moved the nil check to the main defaultEventHandler.


        Reviewed by Oliver.

        Test for <rdar://problem/5566652> CrashTracer: [USER] 3 crashes in Safari at HTMLSelectElement::menuListDefaultEventHandler (reproducible on mactc30.com)

        * fast/forms/menulist-no-renderer-onmousedown-expected.txt: Added.
        * fast/forms/menulist-no-renderer-onmousedown.html: Added.

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

15 years ago Reviewed by Eric Seidel.
ggaren@apple.com [Fri, 16 Nov 2007 06:54:09 +0000 (06:54 +0000)]
    Reviewed by Eric Seidel.

        Another round of grammar / parsing cleanup.

        1. Created distinct parser calls for parsing function bodies vs
        programs. This will help later with optimizing global variable access.

        2. Turned Parser into a singleton. Cleaned up Lexer's singleton

        3. Modified Lexer to free a little more memory when done lexing. (Added
        FIXMEs for similar issues that I didn't fix.)

        4. Changed Lexer::makeIdentifier and Lexer::makeUString to start
        respecting the arguments passed to them. (No behavior change, but this
        problem could have caused serious problems for an unsuspecting user of
        these functions.)

        5. Removed KJS_DEBUG_MEM because it was bit-rotted.

        6. Removed Parser::prettyPrint because the same work was simpler to do
        at the call site.

        7. Some renames:

            "Parser::accept" => "Parser::didFinishParsing"
            "Parser::sid" => "Parser::m_sourceID"
            "Lexer::doneParsing" => "Lexer::clear"
            "sid" => "sourceId"
            "lineno" => "lineNo"

        * JavaScriptCore.exp:
        * kjs/Parser.cpp:
        * kjs/Parser.h:
        * kjs/function.cpp:
        * kjs/function_object.cpp:
        * kjs/grammar.y:
        * kjs/interpreter.cpp:
        * kjs/interpreter.h:
        * kjs/lexer.cpp:
        * kjs/lexer.h:
        * kjs/nodes.cpp:
        * kjs/nodes.h:
        * kjs/testkjs.cpp:
        * kjs/ustring.cpp:
        * kjs/ustring.h:

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

15 years ago Reviewed by Adele.
antti@apple.com [Fri, 16 Nov 2007 06:25:36 +0000 (06:25 +0000)]
    Reviewed by Adele.

        Fix <rdar://problem/5601598>
        The movie tag should do initialization on need and not during startup.

        Initialize Movie MIME type hash on demand

        * platform/MIMETypeRegistry.cpp:

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

15 years ago2007-11-15 Mark Rowe <mrowe@apple.com>
mrowe@apple.com [Fri, 16 Nov 2007 06:18:22 +0000 (06:18 +0000)]
2007-11-15  Mark Rowe  <mrowe@apple.com>

        Build fix for Qt on Windows.

        * xml/XPathStep.cpp:

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

15 years ago Reviewed by Mark Rowe.
timothy@apple.com [Fri, 16 Nov 2007 06:15:18 +0000 (06:15 +0000)]
    Reviewed by Mark Rowe.

        Bug 14761: Web Inspector leaks JS objects and DOM nodes

        * page/InspectorController.cpp:
        Change the tear down order so that inspectorDestroyed() is called before
        InspectorController private data is set to Zero. The inspectorDestroyed()
        call ends up closing the WebView and triggering InspectorController::close()
        which unprotects m_scriptObject. This didn't happen when the private data
        was cleared before calling inspectorDestroyed().

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

15 years ago2007-11-15 Mark Rowe <mrowe@apple.com>
mrowe@apple.com [Fri, 16 Nov 2007 06:10:30 +0000 (06:10 +0000)]
2007-11-15  Mark Rowe  <mrowe@apple.com>

        Gtk build fix.

        * WebCore.pro:

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

15 years ago Reviewed by Darin.
ap@webkit.org [Fri, 16 Nov 2007 06:04:45 +0000 (06:04 +0000)]
    Reviewed by Darin.

        XPath queries with predicates incorrectly retains the current node across unions

        Test: fast/xpath/union-context-node.xhtml

        * xml/XPathPath.cpp:
        (WebCore::XPath::LocationPath::evaluate): Restore context after evaluation.
        * xml/XPathStep.cpp:
        (WebCore::XPath::Step::evaluate): Do not backup context, as we can easily re-create it.

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

15 years ago Reviewed by Darin.
ap@webkit.org [Fri, 16 Nov 2007 06:02:20 +0000 (06:02 +0000)]
    Reviewed by Darin.

        Import XPath test suite from amachang.art-code.org

        Test by Hitoshi Amano <seijro@gmail.com>.

        * fast/xpath/xpath-functional-test-expected.txt: Added.
        * fast/xpath/xpath-functional-test.html: Added.

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

15 years ago Reviewed by Darin.
ap@webkit.org [Fri, 16 Nov 2007 06:00:53 +0000 (06:00 +0000)]
    Reviewed by Darin.

        REGRESSION: XPath preceding-axis query misses nested elements

        Test: fast/xpath/preceding-axis.xhtml

        * xml/XPathStep.cpp:
        (WebCore::XPath::Step::nodesInAxis): Hopefully correct this time.

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

15 years ago Reviewed by Mark Rowe and Sam.
timothy@apple.com [Fri, 16 Nov 2007 01:21:32 +0000 (01:21 +0000)]
    Reviewed by Mark Rowe and Sam.

        This corrects a couple of issues in the Web Inspector where selected search results
        would not have the right text color when the window is inactive or the results are focused.

        * page/inspector/inspector.css:

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

15 years ago Reviewed by Sam.
timothy@apple.com [Fri, 16 Nov 2007 01:04:48 +0000 (01:04 +0000)]
    Reviewed by Sam.

        Bug 16007: REGRESSION: Disclosure triangle click zone for resource categories is off by 10 pixels

        Makes the click width an option on TreeElement and make ResourceCategoryTreeElement
        a true subclass of TreeElement. The click width for ResourceCategoryTreeElement is
        20 pixels, and the default is 10 pixels.

        * page/inspector/ResourceCategory.js:
        * page/inspector/treeoutline.js:

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

15 years ago Reviewed by Brady.
andersca@apple.com [Fri, 16 Nov 2007 00:42:55 +0000 (00:42 +0000)]
    Reviewed by Brady.

        Pass a VoidCallback to Database::transaction and Database::changeVersion.
        This is not yet hooked up to the database machinery.

        * WebCore.vcproj/WebCore.vcproj:
        * bindings/js/JSDatabaseCustom.cpp:
        * storage/Database.cpp:
        * storage/Database.h:

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

15 years ago<rdar://problem/5601548> REGRESSION: All SourceElements and their children leak after...
oliver@apple.com [Fri, 16 Nov 2007 00:40:24 +0000 (00:40 +0000)]
<rdar://problem/5601548> REGRESSION: All SourceElements and their children leak after a syntax error

Reviewed by Darin.

Add a stub node to maintain the Vector of SourceElements until assignment.

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

15 years ago2007-11-15 Eric Seidel <eric@webkit.org>
eric@webkit.org [Fri, 16 Nov 2007 00:17:54 +0000 (00:17 +0000)]
2007-11-15  Eric Seidel  <eric@webkit.org>

        Reviewed by Sam.

        Abstract most of RMATCH into MatchStack functions.

        SunSpider claims this, combined with the last 2 patches was a 1% speedup, 10% for dna-regexp.

        * pcre/pcre_exec.cpp:

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

15 years ago2007-11-15 Eric Seidel <eric@webkit.org>
eric@webkit.org [Fri, 16 Nov 2007 00:16:21 +0000 (00:16 +0000)]
2007-11-15  Eric Seidel  <eric@webkit.org>

        Reviewed by Sam.

        Remove RETURN_ERROR, add MatchStack

        * pcre/pcre_exec.cpp:

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

15 years ago2007-11-15 Eric Seidel <eric@webkit.org>
eric@webkit.org [Fri, 16 Nov 2007 00:14:33 +0000 (00:14 +0000)]
2007-11-15  Eric Seidel  <eric@webkit.org>

        Reviewed by Sam.

        Clean up match function to match WebKit style

        * JavaScriptCore.xcodeproj/project.pbxproj:
        * pcre/pcre_exec.cpp:

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

15 years ago Reviewed by Adam.
timothy@apple.com [Fri, 16 Nov 2007 00:07:44 +0000 (00:07 +0000)]
    Reviewed by Adam.

        Bug 16005: Hovering in the breadcrumbs causes jumpy behavior

        Hovering over cumbs no longer exposes new crumbs. Clicking on a collapsed
        crumb will expose as many hidden crumbs as possible to the user. Also crumbs
        that have ID attributes will compact to the ID over the tag name.

        * page/inspector/DocumentPanel.js:

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

15 years ago Reviewed by Sam.
andersca@apple.com [Thu, 15 Nov 2007 23:53:19 +0000 (23:53 +0000)]
    Reviewed by Sam.

        Make the VoidCallback DOM interface behave more like our other DOM interfaces.

        * bindings/js/JSCustomVoidCallback.h: Added.
        * bindings/js/JSCustomVoidCallback.cpp: Added.
        VoidCallback implementation that wraps a JS object.

        New method that creates a VoidCallback implementation given a JS object.

        * bindings/scripts/CodeGeneratorJS.pm:
        Specify that VoidCallback can fail conversion and add a custom conversion function.

        * html/HTMLMediaElement.cpp:
        Call handleEvent on the callback.

        Comment out parts of this method, it has already been removed in the HTML5 spec and it relies
        on overriding VoidCallback equality.

        * html/VoidCallback.cpp: Removed.

        * html/VoidCallback.h:
        Make this an abstract class with a pure virtual handleEvent method.

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

15 years ago Fix <rdar://5485108> Type-select while a <select> menu is open doesn't work
aroben@apple.com [Thu, 15 Nov 2007 23:42:41 +0000 (23:42 +0000)]
     Fix <rdar://5485108> Type-select while a <select> menu is open doesn't work

         There were two things broken here:
            - WebView now requires a WM_CHAR message to be sent before it will
              create a keyboard event with a charCode, but we were only sending
              a WM_KEYDOWN event.
            - The popup menu was not updating its focused index when the
              <select> element's selectedIndex changed.

         Reviewed by Adele.

         * platform/win/PopupMenuWin.cpp:
         (WebCore::PopupMenu::updateFromElement): Update the focused index from
         the client's selected index.
         (WebCore::PopupWndProc): When we receive a WM_CHAR message for a
         printable character, manufacture a WM_KEYDOWN message for it and post
         both that and the current WM_CHAR message to the WebView.

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

15 years ago Build fix
beidson@apple.com [Thu, 15 Nov 2007 23:23:54 +0000 (23:23 +0000)]
    Build fix

        * storage/DatabaseTracker.cpp:

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

15 years agoForgot this new expected result in my previous check-in.
justin.garcia@apple.com [Thu, 15 Nov 2007 22:54:29 +0000 (22:54 +0000)]
Forgot this new expected result in my previous check-in.

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

15 years ago Reviewed by John and Sam
beidson@apple.com [Thu, 15 Nov 2007 22:29:34 +0000 (22:29 +0000)]
    Reviewed by John and Sam

        Stubbing out everything required for a WebKit API for databases

        Biggest change in WebCore is that we passed around SecurityOriginData as the representation
        of a SecurityOrigin, instead of a String or a SecurityOrigin itself (which is an opaque object
        that has a different purpose besides just hanging on to the data)

        * WebCore.base.exp:
        * WebCore.xcodeproj/project.pbxproj:

        * platform/SecurityOrigin.cpp:
        * platform/SecurityOrigin.h:
        * platform/SecurityOriginData.h: Added.  Simple object to encapsulate the 3
          pieces of data in the SecurityOrigin tuple
        (WebCore::SecurityOriginData::toString): Simple concatenation of the 3 components,
          colon separated

        * storage/Database.cpp:
        (WebCore::Database::Database): Use SecurityOriginData instead

        * storage/DatabaseTracker.cpp:
        * storage/DatabaseTracker.h:

        * storage/DatabaseTrackerClient.h: Added.  For dispatching notifications up to WebKit
        (WebCore::DatabaseTrackerClient::~DatabaseTrackerClient):2007-11-15  Jon Honeycutt  <jhoneycutt@apple.com>

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

15 years agoWebCore:
beidson@apple.com [Thu, 15 Nov 2007 22:27:14 +0000 (22:27 +0000)]

        Reviewed by John and Sam

        Stubbing out everything required for a WebKit API for databases

        Biggest change in WebCore is that we passed around SecurityOriginData as the representation
        of a SecurityOrigin, instead of a String or a SecurityOrigin itself (which is an opaque object
        that has a different purpose besides just hanging on to the data)

        * WebCore.base.exp:
        * WebCore.xcodeproj/project.pbxproj:

        * platform/SecurityOrigin.cpp:
        * platform/SecurityOrigin.h:
        * platform/SecurityOriginData.h: Added.  Simple object to encapsulate the 3
          pieces of data in the SecurityOrigin tuple
        (WebCore::SecurityOriginData::toString): Simple concatenation of the 3 components,
          colon separated

        * storage/Database.cpp:
        (WebCore::Database::Database): Use SecurityOriginData instead

        * storage/DatabaseTracker.cpp:
        * storage/DatabaseTracker.h:

        * storage/DatabaseTrackerClient.h: Added.  For dispatching notifications up to WebKit


        Reviewed by John

        Stubbing out everything required for a WebKit API for databases

        * WebKit.xcodeproj/project.pbxproj:


        Reviewed by John

        Stubbing out everything required for a WebKit API for databases

        These interfaces seem to provide everything we need for UI and management at the browser level

        * Misc/WebDatabaseManager.h: Removed.
        * Misc/WebDatabaseManager.mm: Removed.
        * Misc/WebDatabaseManagerPrivate.h: Removed.

        * Misc/WebSecurityOrigin.mm: Added. Object that acts as a container for the "SecurityOrigin tuple"
          (protocol, domain, and port)
        (-[WebSecurityOriginPrivate initWithProtocol:domain:port:]):
        (-[WebSecurityOriginPrivate dealloc]):
        (-[WebSecurityOrigin initWithProtocol:domain:]):
        (-[WebSecurityOrigin initWithProtocol:domain:port:]):
        (-[WebSecurityOrigin protocol]):
        (-[WebSecurityOrigin domain]):
        (-[WebSecurityOrigin port]):
        (-[WebSecurityOrigin dealloc]):
        (-[WebSecurityOrigin _initWithWebCoreSecurityOriginData:WebCore::]):
        * Misc/WebSecurityOriginInternal.h: Added.
        * Misc/WebSecurityOriginPrivate.h: Added.

        * Storage/WebDatabaseManager.mm: Added.
        (+[WebDatabaseManager sharedWebDatabaseManager]):
        (-[WebDatabaseManager origins]):  Get a list of all origins currently tracked
        (-[WebDatabaseManager detailsForOrigin:]): Get the current usage and current quota for the given origin
        (-[WebDatabaseManager databasesWithOrigin:]): Get all databases for a certain origin
        (-[WebDatabaseManager detailsForDatabase:withOrigin:]): Get all details about a specific database
        (-[WebDatabaseManager setQuota:forOrigin:]): Change origin-wide quota
        (-[WebDatabaseManager deleteAllDatabases]):
        (-[WebDatabaseManager deleteAllDatabasesWithOrigin:]):
        (-[WebDatabaseManager deleteDatabase:withOrigin:]):
        * Storage/WebDatabaseManagerPrivate.h: Added.
        * Storage/WebDatabaseManagerInternal.h: Added.
        (WebKitInitializeDatabasesIfNecessary): One-time initialization of database-related things

        * Storage/WebDatabaseTrackerClient.h: Added. Stubbed out client for notifications
        * Storage/WebDatabaseTrackerClient.mm: Added.

        * WebView/WebView.mm:
        (-[WebView _commonInitializationWithFrameName:groupName:]): Do one-time initialization of
          Database-related things here

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

15 years ago2007-11-15 Jon Honeycutt <jhoneycutt@apple.com>
jhoneycutt@apple.com [Thu, 15 Nov 2007 22:23:42 +0000 (22:23 +0000)]
2007-11-15  Jon Honeycutt  <jhoneycutt@apple.com>

        Reviewed by Anders.

        NP_ASFILEONLY streams should not buffer data in m_deliveryData.

        * plugins/win/PluginStreamWin.cpp:

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

15 years agoRevert accidental change. andersca--
andersca@apple.com [Thu, 15 Nov 2007 22:02:47 +0000 (22:02 +0000)]
Revert accidental change. andersca--

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

15 years agoWebCore:
justin.garcia@apple.com [Thu, 15 Nov 2007 21:52:41 +0000 (21:52 +0000)]

        Reviewed by Adele Peterson.

        <rdar://problem/5497643> Crash at Node::isDescendantOf when switching out of Edit HTML Source mode

        A textarea that contained the selection was removed but the selection wasn't cleared,
        and we'd crash in code that assumed a valid, in-document selection.

        * editing/SelectionController.cpp:
        (WebCore::removingNodeRemovesPosition): Clear the selection if the node being removed is the
        shadowAncestorNode of the node that contains the position, not just if the node being removed
        contains that shadowAncestorNode.


        Reviewed by Adele Peterson.

        <rdar://problem/5497643> Crash at Node::isDescendantOf when switching out of Edit HTML Source mode

        * editing/selection/5497643-expected.txt: Added.
        * editing/selection/5497643.html: Added.

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

15 years ago Make run-safari actually work on Windows
aroben@apple.com [Thu, 15 Nov 2007 21:35:28 +0000 (21:35 +0000)]
    Make run-safari actually work on Windows

        * Scripts/run-safari: Fixed the order of arguments to cp, and added a
        chdir call.

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

15 years agoReviewed by Maciej.
zimmermann@webkit.org [Thu, 15 Nov 2007 21:22:57 +0000 (21:22 +0000)]
Reviewed by Maciej.
Fix logic error: calculateGlyphBoundaries takes RTL text into account itself, no need to adjust offsets before.

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

15 years agoWebCore:
andersca@apple.com [Thu, 15 Nov 2007 20:27:44 +0000 (20:27 +0000)]

        Reviewed by Brady.

        openDatabase does not work when the version string is empty

        If the string is empty, pass a real empty string to sqlite3_bind_text16.

        * platform/sql/SQLiteStatement.cpp:


        Reviewed by Brady.

        openDatabase does not work when the version string is empty

        * storage/open-database-empty-version-expected.txt: Added.
        * storage/open-database-empty-version.html: Added.

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

15 years ago Reviewed by Brady.
andersca@apple.com [Thu, 15 Nov 2007 19:49:25 +0000 (19:49 +0000)]
    Reviewed by Brady.

        Get rid of SQLiteStatement::bindText and rename bindText16 to bindText.
        Remove the copy parameter from bindText and bindBlob and always copy passed in data instead.

        * loader/icon/IconDatabase.cpp:
        * platform/sql/SQLiteStatement.cpp:
        * platform/sql/SQLiteStatement.h:
        * storage/Database.cpp:
        * storage/DatabaseTracker.cpp:

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

15 years ago Windows build fix.
sfalken@apple.com [Thu, 15 Nov 2007 18:39:19 +0000 (18:39 +0000)]
    Windows build fix.

        * JavaScriptCore.vcproj/JavaScriptCore.make:

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

15 years agoWebCore:
beidson@apple.com [Thu, 15 Nov 2007 08:01:00 +0000 (08:01 +0000)]
        Rubberstamped by Sam

        * platform/SecurityOrigin.h: Lets make this an unsigned short and *not* rule out half the possible ports?

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

15 years ago Reviewed by Darin.
ap@webkit.org [Thu, 15 Nov 2007 05:59:40 +0000 (05:59 +0000)]
    Reviewed by Darin.

        Improve JSString UTF-8 decoding

        * API/JSStringRef.cpp:
        (JSStringCreateWithUTF8CString): Use strict decoding, return 0 on error.

        * wtf/unicode/UTF8.cpp:
        * wtf/unicode/UTF8.h:
        Made these function names start with a lower case letter.

        * kjs/ustring.cpp: (KJS::UString::UTF8String): Updated for the above renaming.

        * bindings/c/c_utility.cpp:
        (KJS::Bindings::convertUTF8ToUTF16WithLatin1Fallback): Renamed to highlight the difference
        from convertUTF8ToUTF16 in wtf/unicode.
        (KJS::Bindings::convertNPStringToUTF16): Updated for the above renaming.
        (KJS::Bindings::identifierFromNPIdentifier): Ditto.
        * bindings/c/c_utility.h: Made convertUTF8ToUTF16WithLatin1Fallback() a file static.

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

15 years ago Reviewed by Justin Garcia.
ap@webkit.org [Thu, 15 Nov 2007 05:49:44 +0000 (05:49 +0000)]
    Reviewed by Justin Garcia.

        REGRESSION: Ligatures fail to form when typing in Devanagari (because WebKit can't handle
        a marked range that covers half of a composed character sequence)

        Test: platform/mac/editing/input/devanagari-ligature.html

        This fix is somewhat of a hack, as it asks editing commands to work with invalid selections.
        However, this is not entirely new for them, as Roman accents are typed in a similar manner.

        In the future, we probably want to make commands work with ranges (or Positions explicitly).

        * editing/Editor.cpp:
        (WebCore::Editor::selectComposition): Force selection to composition range.
        * editing/InsertTextCommand.cpp:
        (WebCore::InsertTextCommand::input): Force ending selection to inserted text range.

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

15 years ago Rubber-stamped by Anders.
weinig@apple.com [Thu, 15 Nov 2007 05:17:40 +0000 (05:17 +0000)]
    Rubber-stamped by Anders.

        Fix the Xcode project file after it was messed up in r27402.

        * JavaScriptCore.xcodeproj/project.pbxproj:

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

15 years ago2007-11-14 Eric Seidel <eric@webkit.org>
eric@webkit.org [Thu, 15 Nov 2007 02:40:31 +0000 (02:40 +0000)]
2007-11-14  Eric Seidel  <eric@webkit.org>

        Reviewed by Oliver.

        More PCRE style cleanup.

        * pcre/pcre_compile.cpp:

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

15 years ago Clean up the bison conflict checking script
aroben@apple.com [Thu, 15 Nov 2007 02:02:33 +0000 (02:02 +0000)]
    Clean up the bison conflict checking script

        Reviewed by Geoff.

        * DerivedSources.make:

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

15 years ago2007-11-14 Eric Seidel <eric@webkit.org>
eric@webkit.org [Thu, 15 Nov 2007 02:00:15 +0000 (02:00 +0000)]
2007-11-14  Eric Seidel  <eric@webkit.org>

        Reviewed by Geoff.

        Another round of PCRE cleanups: inlines

        SunSpider claims that this, combined with my previous PCRE cleanup were a 0.7% speedup, go figure.

        * pcre/pcre_compile.cpp:
        * pcre/pcre_exec.cpp:
        * pcre/pcre_internal.h:

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

15 years ago For future use
beidson@apple.com [Thu, 15 Nov 2007 01:55:34 +0000 (01:55 +0000)]
    For future use

        * images/DroseraPic.png: Added.

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

15 years ago Updates to Safari launching now that 3.0.4 is released
aroben@apple.com [Thu, 15 Nov 2007 01:34:59 +0000 (01:34 +0000)]
     Updates to Safari launching now that 3.0.4 is released

         Reviewed by Sam.

         * FindSafari/FindSafari.cpp:
         (getWebViewCLSID): Use version-independent ProgID.
         * Scripts/run-safari: Use run-webkit-nightly.cmd.

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

15 years ago2007-11-14 Eric Seidel <eric@webkit.org>
eric@webkit.org [Thu, 15 Nov 2007 01:17:31 +0000 (01:17 +0000)]
2007-11-14  Eric Seidel  <eric@webkit.org>

        Reviewed by Sam.

        Give PCRE a (small) bath.
        Fix some formating and break things off into separate functions

        * pcre/pcre_compile.cpp:
        * pcre/pcre_internal.h:

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

15 years ago Try to make this test less timing dependent.
antti@apple.com [Thu, 15 Nov 2007 01:04:40 +0000 (01:04 +0000)]
    Try to make this test less timing dependent.

        * http/tests/media/video-play-stall.html:

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

15 years agoWebCore:
bdakin@apple.com [Wed, 14 Nov 2007 23:48:52 +0000 (23:48 +0000)]

        Reviewed by Hyatt.

        Fix for <rdar://problem/5540855> REGRESSION: Combination of client-
        side image map and <a> tag is not working properly (15522)

        * html/HTMLMapElement.cpp:
        (WebCore::HTMLMapElement::checkDTD): Allow <map> to have both block
        and inline children rather than just block children. This matches


        Reviewed by Hyatt.

        Tests for <rdar://problem/5540855> REGRESSION: Combination of
        client-side image map and <a> tag is not working properly (15522)

        New test:
        * fast/images/image-map-anchor-children.html: Added.
        * fast/images/resources/boston.gif: Added.
        * platform/mac/fast/images/image-map-anchor-children-
        expected.checksum: Added.
        * platform/mac/fast/images/image-map-anchor-children-expected.png:
        * platform/mac/fast/images/image-map-anchor-children-expected.txt:

        This test was broken and is fixed now! I had to edit the test
        itself because it was written in the html that the two <map>
        examples were failing, but now they succeed.
        * fast/invalid/residual-style.html:
        * platform/mac/fast/invalid/residual-style-expected.checksum:
        * platform/mac/fast/invalid/residual-style-expected.png:
        * platform/mac/fast/invalid/residual-style-expected.txt:

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

15 years ago Reviewed by Eric Seidel.
ggaren@apple.com [Wed, 14 Nov 2007 22:59:29 +0000 (22:59 +0000)]
    Reviewed by Eric Seidel.

        Cleaned up the JavaScript grammar a bit.

        1. Changed BlockNode to always hold a child vector (which may be empty),
        eliminating a few NULL-check branches in the common execution case.

        2. Changed the Block production to correctly report its starting and
        ending line numbers to the debugger. (It used to report its ending line
        as its starting line.) Also, removed duplicate line-reporting code
        inside the BlockNode constructor.

        3. Moved curly braces up from FunctionBody production into parent
        productions. (I had to move the line number reporting code, too, since
        it depends on the location of the curly braces.) This matches the ECMA
        spec more closely, and makes some future changes I plan easier.

        4. Fixed statementList* convenience functions to deal appropriately with
        empty Vectors.

        SunSpider reports a small and statistically insignificant speedup.

        * kjs/grammar.y:
        * kjs/nodes.cpp:

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

15 years ago Change Interfaces to be a "Static Library" project
aroben@apple.com [Wed, 14 Nov 2007 22:57:45 +0000 (22:57 +0000)]
    Change Interfaces to be a "Static Library" project

        Being a Utility project meant that Interfaces was rebuilding every
        time (Utility projects are supposed to handle their own dependencies).
        Interfaces isn't really a static library, but it means that VS will
        handle dependencies for us (and not complain about missing manifests
        like it did when the project was an Application).

        * WebKit.vcproj/Interfaces.vcproj:

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

15 years ago Shut up FixMIDLHeaders.pl
aroben@apple.com [Wed, 14 Nov 2007 22:56:44 +0000 (22:56 +0000)]
    Shut up FixMIDLHeaders.pl

        * WebKit.vcproj/FixMIDLHeaders.pl:

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

15 years agoWebCore:
justin.garcia@apple.com [Wed, 14 Nov 2007 22:33:07 +0000 (22:33 +0000)]

        Reviewed by Alexey Proskuryakov.

        <rdar://problem/5546763> CrashTracer: [USER] 362 crashes at WebCore::DeleteSelectionCommand::mergeParagraphs

        * editing/DeleteSelectionCommand.cpp:
        Removed an irrelevant FIXME.
        (WebCore::DeleteSelectionCommand::mergeParagraphs): If the block that contained the end of the selection
        hasn't been removed but has been emptied by deletion, we would to try and fail to create a VisiblePosition
        inside that block, which could lead to a crash.  If that happens, there's no content in the block to move,
        so just remove the block and return.
        Preserve m_needPlaceholder during the call to moveParagraphs, since it may change it and since it does
        its own placeholder insertion when necessary.
        (WebCore::DeleteSelectionCommand::doApply): No need to check m_needPlaceholder before calling mergeParagraphs,
        because it handles preserving m_needPlaceholder when it calls moveParagraphs.


        Reviewed by Alexey Proskuryakov.

        <rdar://problem/5546763> CrashTracer: [USER] 362 crashes at WebCore::DeleteSelectionCommand::mergeParagraphs

        * editing/deleting/5546763-expected.txt: Added.
        * editing/deleting/5546763.html: Added.

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

15 years agoWebKitTools:
andersca@apple.com [Wed, 14 Nov 2007 22:30:35 +0000 (22:30 +0000)]

        Reviewed by Adam.

        In DRT, "plugin.logDestroy = true" not working on Windows.

        * DumpRenderTree/win/TestNetscapePlugin/main.c:


        Reviewed by Adam.

        In DRT, "plugin.logDestroy = true" not working on Windows.

        Remove now succeeding test from the skipped list.

        * platform/win/Skipped:

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

15 years agoRemove the WebKit dependancy from WebKitSystemInterface.
timothy@apple.com [Wed, 14 Nov 2007 22:09:44 +0000 (22:09 +0000)]
Remove the WebKit dependancy from WebKitSystemInterface.

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

15 years agoFix ChangeLog order
aroben@apple.com [Wed, 14 Nov 2007 22:08:45 +0000 (22:08 +0000)]
Fix ChangeLog order

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

15 years ago Change Interfaces to use a Utility configuration
aroben@apple.com [Wed, 14 Nov 2007 22:07:26 +0000 (22:07 +0000)]
    Change Interfaces to use a Utility configuration

        It had previously been marked as an "Application (.exe)", which is
        wrong but worked with most versions of Visual Studio.

        Rubberstamped by Steve.

        * WebKit.vcproj/Interfaces.vcproj:

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

15 years ago Try to make this test less timing dependent.
antti@apple.com [Wed, 14 Nov 2007 21:44:50 +0000 (21:44 +0000)]
    Try to make this test less timing dependent.

        * media/video-currentTime-set-expected.txt:
        * media/video-currentTime-set.html:

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

15 years ago2007-11-14 Eric Seidel <eric@webkit.org>
eric@webkit.org [Wed, 14 Nov 2007 20:36:28 +0000 (20:36 +0000)]
2007-11-14  Eric Seidel  <eric@webkit.org>

        Reviewed by Sam.

        * sunspider: add --shark-cache for L2 Cache Miss profiling

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

15 years ago Reviewed by Adam.
timothy@apple.com [Wed, 14 Nov 2007 19:19:09 +0000 (19:19 +0000)]
    Reviewed by Adam.

        Bug 14380: Long DOM ancestry breadcrumb lists get cut off

        The breadcumbs will now be compacted and collapsed if there isn't enough room
        to show everything. The collapsing algorithm always affects the crumbs that
        are farthest away from the selected or hovered crumb first.

        * page/inspector/DocumentPanel.js:
        * page/inspector/inspector.css:

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

15 years agoWebKit/win:
andersca@apple.com [Wed, 14 Nov 2007 19:10:50 +0000 (19:10 +0000)]

        Reviewed by Adam.

        Get the new focus window from the wParam instead of calling GetFocus().
        Also, send blur even if there is no focused frame.

        * WebView.cpp:


        Reviewed by Adam.

        window.layoutTestController.setWindowIsKey is not implemented in DRT.

        Implement setWindowIsKey.

        * DumpRenderTree/win/LayoutTestControllerWin.cpp:


        Reviewed by Adam.

        * platform/win/Skipped:
        Remove fast/dom/Window/window-onFocus.html since it succeeds now.

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

15 years ago Another build fix for systems without Cygwin in their PATH
aroben@apple.com [Wed, 14 Nov 2007 18:53:59 +0000 (18:53 +0000)]
    Another build fix for systems without Cygwin in their PATH

        * WebKit.vcproj/Interfaces.vcproj: Add Cygwin to the PATH in the
        Post-Build Event.

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

15 years ago Use the correct include path.
andersca@apple.com [Wed, 14 Nov 2007 18:36:06 +0000 (18:36 +0000)]
    Use the correct include path.

        * platform/Cursor.h:
        * plugins/win/PluginPackageWin.h:
        * plugins/win/PluginStreamWin.h:

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

15 years ago2007-11-13 Mark Rowe <mrowe@apple.com>
mrowe@apple.com [Wed, 14 Nov 2007 06:59:32 +0000 (06:59 +0000)]
2007-11-13  Mark Rowe  <mrowe@apple.com>

        Gtk build fix. Replace incorrect use of the LOG macro with g_print.

        * Api/webkitgtkpage.cpp:

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

15 years agoWebCore:
beidson@apple.com [Wed, 14 Nov 2007 06:46:31 +0000 (06:46 +0000)]

        Reviewed by Adam

        http://bugs.webkit.org/show_bug.cgi?id=15976 - ASSERT/crash when SQLTransactionCallback throws an exception

        * storage/SQLTransaction.cpp:
        (WebCore::SQLTransaction::deliverTransactionCallback): Make a transaction error for the case where the
          SQLTransactionCallback fails
        (WebCore::SQLTransaction::deliverTransactionErrorCallback): Don't assert on the error callback, but null check it
          and make the commit/rollback decision accordingly


        Reviewed by Adam

        Fix for http://bugs.webkit.org/show_bug.cgi?id=15976

        * storage: Added - There will soon be an entire suite in here!
        * storage/transaction_callback_exception_crash-expected.txt: Added.
        * storage/transaction_callback_exception_crash.html: Added.

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

15 years ago Add the http/tests/media directory to the Windows Skipped file
aroben@apple.com [Wed, 14 Nov 2007 06:25:33 +0000 (06:25 +0000)]
    Add the http/tests/media directory to the Windows Skipped file

        * platform/win/Skipped:

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

15 years ago2007-11-13 Christian Dywan <christian@twotoasts.de>
alp@webkit.org [Wed, 14 Nov 2007 05:40:57 +0000 (05:40 +0000)]
2007-11-13  Christian Dywan  <christian@twotoasts.de>

        Reviewed by Alp.

        [GTK] Javascript console and dialogs are not implemented

        Implement signals for script dialogs and console messages.

        * Api/webkitgtk-marshal.list:
        * Api/webkitgtkpage.cpp:
        * Api/webkitgtkpage.h:
        * WebCoreSupport/ChromeClientGtk.cpp:

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

15 years agoFix <rdar://problem/5365030> calling dataWithPDFInsideRect on an SVG with a gradient...
oliver@apple.com [Wed, 14 Nov 2007 03:48:44 +0000 (03:48 +0000)]
Fix <rdar://problem/5365030> calling dataWithPDFInsideRect on an SVG with a gradient crashes (14780)

Reviewed by Anders.

When drawing directly to PDF CG may delay the use of the gradient function until outside our
standard drawing path, which in turn could let us invalidate the caches before they were used.

To work around this we now store the cached stops in a RefCounted object, so that we can ensure
that cache exists as long as required.

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

15 years ago Build fix: changed Shared to RefCounted.
ggaren@apple.com [Wed, 14 Nov 2007 03:04:11 +0000 (03:04 +0000)]
    Build fix: changed Shared to RefCounted.

        * WebCoreSupport/ChromeClientQt.h:
        * WebCoreSupport/ContextMenuClientQt.cpp:
        * WebCoreSupport/ContextMenuClientQt.h:
        * WebCoreSupport/EditorClientQt.h:
        * WebCoreSupport/FrameLoaderClientQt.h:

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

15 years ago Fix Windows build.
andersca@apple.com [Wed, 14 Nov 2007 02:33:51 +0000 (02:33 +0000)]
    Fix Windows build.

        * platform/Cursor.h:
        * plugins/win/PluginPackageWin.h:
        * plugins/win/PluginStreamWin.h:

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

15 years ago Add RefCounted.h (And remove Shared.h)
andersca@apple.com [Wed, 14 Nov 2007 02:20:14 +0000 (02:20 +0000)]
    Add RefCounted.h (And remove Shared.h)

        * JavaScriptCore.vcproj/WTF/WTF.vcproj:

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

15 years ago Build fix.
ggaren@apple.com [Wed, 14 Nov 2007 02:19:24 +0000 (02:19 +0000)]
    Build fix.

        * kjs/regexp.h:

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

15 years agoJavaScriptCore:
ggaren@apple.com [Wed, 14 Nov 2007 02:05:26 +0000 (02:05 +0000)]

        Reviewed by Anders Carlsson.

        Renamed Shared to RefCounted.

        * API/JSClassRef.h:
        * JavaScriptCore.xcodeproj/project.pbxproj:
        * kjs/interpreter.h:
        * kjs/regexp.h:
        * wtf/RefCounted.h: Copied from JavaScriptCore/wtf/Shared.h.
        * wtf/Shared.h: Removed.


        Reviewed by Anders Carlsson.

        Renamed Shared to RefCounted.

        * ForwardingHeaders/wtf/RefCounted.h: Copied from JavaScriptGlue/ForwardingHeaders/wtf/Shared.h.
        * ForwardingHeaders/wtf/Shared.h: Removed.


        Reviewed by Anders Carlsson.

        Renamed Shared to RefCounted.

        * ForwardingHeaders/wtf/RefCounted.h: Copied from WebCore/ForwardingHeaders/wtf/Shared.h.
        * ForwardingHeaders/wtf/Shared.h: Removed.
        * bindings/js/JSSVGPODTypeWrapper.h:
        * css/CSSFontFace.h:
        * css/CSSRuleList.h:
        * css/Counter.h:
        * css/Pair.h:
        * css/Rect.h:
        * css/StyleBase.h:
        * css/StyleSheetList.h:
        * dom/Attribute.h:
        * dom/Clipboard.h:
        * dom/DOMImplementation.h:
        * dom/Event.h:
        * dom/EventListener.h:
        * dom/NamedNodeMap.h:
        * dom/NodeFilter.h:
        * dom/NodeFilterCondition.h:
        * dom/NodeList.h:
        * dom/QualifiedName.h:
        * dom/Range.h:
        * dom/RangeException.h:
        * dom/RegisteredEventListener.h:
        * dom/Traversal.h:
        * editing/EditCommand.h:
        * history/BackForwardList.h:
        * history/CachedPage.h:
        * history/HistoryItem.cpp:
        * history/HistoryItem.h:
        * html/CanvasGradient.h:
        * html/CanvasPattern.h:
        * html/CanvasRenderingContext2D.h:
        * html/CanvasStyle.h:
        * html/HTMLCollection.h:
        * html/MediaError.h:
        * html/TimeRanges.h:
        * html/VoidCallback.h:
        * ksvg2/css/SVGRenderStyle.cpp:
        * ksvg2/css/SVGRenderStyle.h:
        * ksvg2/css/SVGRenderStyleDefs.cpp:
        * ksvg2/css/SVGRenderStyleDefs.h:
        * ksvg2/svg/SVGAngle.cpp:
        * ksvg2/svg/SVGAngle.h:
        * ksvg2/svg/SVGAnimatedTemplate.h:
        * ksvg2/svg/SVGElementInstanceList.h:
        * ksvg2/svg/SVGException.h:
        * ksvg2/svg/SVGList.h:
        * ksvg2/svg/SVGPathSeg.h:
        * ksvg2/svg/SVGPreserveAspectRatio.cpp:
        * ksvg2/svg/SVGPreserveAspectRatio.h:
        * ksvg2/svg/SVGRenderingIntent.h:
        * ksvg2/svg/SVGTransform.h:
        * ksvg2/svg/SVGUnitTypes.h:
        * loader/DocumentLoader.h:
        * loader/FormState.h:
        * loader/ResourceLoader.h:
        * loader/TextResourceDecoder.h:
        * loader/icon/IconRecord.h:
        * page/BarInfo.h:
        * page/Console.h:
        * page/DOMSelection.h:
        * page/DOMWindow.h:
        * page/Frame.h:
        * page/History.h:
        * page/InspectorController.cpp:
        * page/Plugin.h:
        * page/Screen.h:
        * platform/ArrayImpl.h:
        * platform/CString.h:
        * platform/Cursor.h:
        * platform/DeprecatedValueListImpl.cpp:
        * platform/FileChooser.h:
        * platform/FontFallbackList.h:
        * platform/FontFamily.cpp:
        * platform/FontFamily.h:
        * platform/FontSelector.h:
        * platform/GlyphPageTreeNode.h:
        * platform/PopupMenu.h:
        * platform/RegularExpression.cpp:
        * platform/ScrollBar.h:
        * platform/SharedBuffer.h:
        * platform/StringImpl.h:
        * platform/graphics/Icon.h:
        * platform/graphics/svg/SVGResource.h:
        * platform/network/FormData.cpp:
        * platform/network/FormData.h:
        * platform/network/ResourceHandle.h:
        * platform/network/ResourceHandleClient.h:
        * rendering/RenderStyle.cpp:
        * rendering/RenderStyle.h:
        * rendering/SVGCharacterLayoutInfo.h:
        * storage/SQLResultSetRowList.h:
        * xml/DOMParser.h:
        * xml/XMLHttpRequest.h:
        * xml/XMLSerializer.h:
        * xml/XPathEvaluator.h:
        * xml/XPathExpression.h:
        * xml/XPathNSResolver.h:
        * xml/XPathResult.h:
        * xml/XPathValue.h:
        * xml/XSLTProcessor.h:


        Reviewed by Anders Carlsson.

        Renamed Shared to RefCounted.

        * ForwardingHeaders/wtf/RefCounted.h: Copied from WebKit/mac/ForwardingHeaders/wtf/Shared.h.
        * ForwardingHeaders/wtf/Shared.h: Removed.
        * WebCoreSupport/WebContextMenuClient.h:

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

15 years ago Reviewed by Mark Rowe
beidson@apple.com [Wed, 14 Nov 2007 01:54:01 +0000 (01:54 +0000)]
    Reviewed by Mark Rowe

        Remove errantly added files, and fix the idl (for reference's sake)

        * storage/JSCustomSQLStatementCallback.h: Removed.
        * storage/JSCustomSQLStatementErrorCallback.h: Removed.
        * storage/JSCustomSQLTransactionCallback.h: Removed.
        * storage/JSCustomSQLTransactionErrorCallback.h: Removed.
        * storage/SQLStatementCallback.idl:

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

15 years ago Fix a bug and improve upon Brady's fix
aroben@apple.com [Wed, 14 Nov 2007 01:41:11 +0000 (01:41 +0000)]
    Fix a bug and improve upon Brady's fix

        Reviewed by Anders.

        * bindings/js/JSSQLTransactionCustom.cpp:
        (WebCore::JSSQLTransaction::executeSql): Made the code a little
        clearer and more correct.
        * loader/icon/IconDatabase.cpp: Put parentheses around the expansion
        of IS_ICON_SYNC_THREAD() so that ASSERT_NOT_SYNC_THREAD() does the
        comparison it meant to.

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

15 years ago Fix Qt and Gtk builds.
weinig@apple.com [Wed, 14 Nov 2007 01:39:32 +0000 (01:39 +0000)]
    Fix Qt and Gtk builds.

        * WebCore.pro: Remove non-generated idl files.

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

15 years ago2007-11-13 Mark Rowe <mrowe@apple.com>
mrowe@apple.com [Wed, 14 Nov 2007 01:36:25 +0000 (01:36 +0000)]
2007-11-13  Mark Rowe  <mrowe@apple.com>

       Remove removed file from the project.

        * WebCore.pro:

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

15 years agoWebKitTools:
weinig@apple.com [Wed, 14 Nov 2007 01:30:14 +0000 (01:30 +0000)]

        Reviewed by Adam Roben.

        Fix for <rdar://problem/5382579>
        http/tests/security/cross-frame-access-put.html reports large
        negative numbers for screenLeft and screenTop (Mac reports "0")

        * DumpRenderTree/win/UIDelegate.cpp:
        (UIDelegate::UIDelegate): Initialize the RECT.
        (UIDelegate::setFrame): copy the contents of the rect, not the pointer.
        (UIDelegate::webViewFrame): ditto.
        * DumpRenderTree/win/UIDelegate.h: Use a RECT not a RECT*


        Reviewed by Adam Roben.

        Fix for <rdar://problem/5382579>
        http/tests/security/cross-frame-access-put.html reports large
        negative numbers for screenLeft and screenTop (Mac reports "0")

        * platform/win/Skipped: remove http/tests/security/cross-frame-access-put.html

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

15 years ago Release build fix
beidson@apple.com [Wed, 14 Nov 2007 01:29:03 +0000 (01:29 +0000)]
    Release build fix

        * bindings/js/JSSQLTransactionCustom.cpp:

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

15 years agoWebKit/win:
kmccullough@apple.com [Wed, 14 Nov 2007 01:05:58 +0000 (01:05 +0000)]

        Reviewed by Adam.

        - Make Drosera show source, source URLs, and function stack on Windows
        and some minor fixes.

        * WebScriptCallFrame.cpp: Fixed a bug where the callFrame was not reffed
        properly before being returned, and changed functionName() to check for
        Null or if the name is empty.
        * WebScriptCallFrame.h: Ditto
        * WebScriptDebugServer.cpp: Made the listenerSet static since we were
        already treating it as if it were. Removed the EnumViews stuff.  This
        was added by Steve to demonstrate DCOM and he thought it would be needed
        by Drosera, but I don't believe it will be.
        Implemented suspendProcessIfPaused() also added calls to it at the end
        of several functions to ensure we pause if Drosera has told WebKit to.
        * WebScriptDebugServer.h: Ditto.
        * WebScriptDebugger.cpp: The important change here is that leaveFrame()
        is called before willLeaveCallFrame().  I think there is some EOL stuff
        going on too.
        - It was the implementing of these functions that allows source, the
        source URLs and function stack to be displayed.
        * WebView.cpp: Removed the EnumView functions.


        Reviewed by Adam.

        - Make Drosera show source, source URLs, and function stack on Windows,
        and some minor fixes.

        * Drosera/DebuggerDocument.cpp: Force source to always update display.
        * Drosera/debugger.js: Force source to always update display.
        * Drosera/win/DebuggerClient.cpp: Create the needed functions for the
        menu controls.
        * Drosera/win/DebuggerClient.h: Ditto.
        * Drosera/win/DebuggerDocumentPlatform.cpp: Changed
        getPlatformCurrentFunctionStack to not use an unecessary HRESULT and
        removed two bugs.  1) caller could be in a bad state when asked to
        assign into it. 2) BSTRs were not created correctly.
        * Drosera/win/Drosera.cpp: Hook up the menu controls.
        * Drosera/win/Drosera.h: Hook up the menu controls.
        * Drosera/win/ServerConnection.cpp: Removed unncessary server connection
        functions, added a null check, and fixed another bug where caller could
        be in a bad state when asked to assign into it.
        * Drosera/win/ServerConnection.h: Safety first.

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

15 years ago Build fix
aroben@apple.com [Wed, 14 Nov 2007 00:58:41 +0000 (00:58 +0000)]
    Build fix

        Reviewed by Geoff.

        * kjs/regexp.h: Added a missing #include.

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

15 years ago Reviewed by Adam.
andersca@apple.com [Wed, 14 Nov 2007 00:51:31 +0000 (00:51 +0000)]
    Reviewed by Adam.

        Make this a text-only test.

        * fast/dom/Window/window-onFocus-expected.txt: Added.
        * fast/dom/Window/window-onFocus.html:
        * platform/mac/fast/dom/Window/window-onFocus-expected.checksum: Removed.
        * platform/mac/fast/dom/Window/window-onFocus-expected.png: Removed.
        * platform/mac/fast/dom/Window/window-onFocus-expected.txt: Removed.

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