WebKit-https.git
11 years ago2008-11-18 Dimitri Glazkov <dglazkov@chromium.org>
darin@chromium.org [Wed, 19 Nov 2008 01:58:39 +0000 (01:58 +0000)]
2008-11-18  Dimitri Glazkov  <dglazkov@chromium.org>

        Reviewed by Darin Adler.

        https://bugs.webkit.org/show_bug.cgi?id=22346
        PlatformString should also include HashSet.h for non-JSC builds

        * platform/text/PlatformString.h:

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

11 years ago2008-11-18 Adele Peterson <adele@apple.com>
adele@apple.com [Wed, 19 Nov 2008 01:22:59 +0000 (01:22 +0000)]
2008-11-18  Adele Peterson  <adele@apple.com>

        Reverting last change.  I just realized it causes the view to never get cleared out.

        * WebView.cpp: (WebView::paintIntoBackingStore):

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

11 years ago2008-11-18 Adele Peterson <adele@apple.com>
adele@apple.com [Wed, 19 Nov 2008 01:11:01 +0000 (01:11 +0000)]
2008-11-18  Adele Peterson  <adele@apple.com>

        Reviewed by John Sullivan.

        Don't fill the view with white if its transparent.

        * WebView.cpp: (WebView::paintIntoBackingStore):

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

11 years ago Reviewed by Mark Rowe.
mitz@apple.com [Wed, 19 Nov 2008 00:57:06 +0000 (00:57 +0000)]
    Reviewed by Mark Rowe.

        - fix https://bugs.webkit.org/show_bug.cgi?id=22331
          <rdar://problem/6381657> REGRESSION: Contextual menu no longer has an "Inspect Element" item

        * WebView/WebUIDelegatePrivate.h: Reorder new enum values after existing
        ones.

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

11 years ago2008-11-18 Holger Hans Peter Freyther <zecke@selfish.org>
zecke@webkit.org [Wed, 19 Nov 2008 00:46:04 +0000 (00:46 +0000)]
2008-11-18  Holger Hans Peter Freyther  <zecke@selfish.org>

        Rubber-stamped by Mark Rowe.

        Skip some more tests to make the Gtk+ build bot pass. We will
        have to investigate why some tests only fail on the build bot.

        * platform/gtk/Skipped:

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

11 years ago2008-11-18 Adele Peterson <adele@apple.com>
adele@apple.com [Wed, 19 Nov 2008 00:25:41 +0000 (00:25 +0000)]
2008-11-18  Adele Peterson  <adele@apple.com>

        Reviewed by Holger Hans Peter Freyther.

        Flip check added in recent refactoring so the background gets updated when the background color is valid, not invalid.

        * loader/FrameLoaderClient.cpp: (WebCore::FrameLoaderClient::transitionToCommittedForNewPage):

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

11 years ago2008-11-18 Sam Weinig <sam@webkit.org>
weinig@apple.com [Wed, 19 Nov 2008 00:05:34 +0000 (00:05 +0000)]
2008-11-18  Sam Weinig  <sam@webkit.org>

        Fix incorrect result.

        * fast/dom/Window/window-properties-expected.txt:

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

11 years agoReverting r38574 since it caused some layout test failures.
darin@chromium.org [Tue, 18 Nov 2008 23:52:28 +0000 (23:52 +0000)]
Reverting r38574 since it caused some layout test failures.

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

11 years agoNot reviewed. Checked in wrong result in last commit.
zimmermann@webkit.org [Tue, 18 Nov 2008 23:51:18 +0000 (23:51 +0000)]
Not reviewed. Checked in wrong result in last commit.

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

11 years ago2008-11-18 Dimitri Glazkov <dglazkov@chromium.org>
darin@chromium.org [Tue, 18 Nov 2008 23:39:00 +0000 (23:39 +0000)]
2008-11-18  Dimitri Glazkov  <dglazkov@chromium.org>

        Reviewed by Sam Weinig.

        https://bugs.webkit.org/show_bug.cgi?id=22343
        Remove unused runtime/Collector, JSLock includes in Page.cpp

        * page/Page.cpp:

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

11 years ago Bug 22344: Make select popup window opaque
adachan@apple.com [Tue, 18 Nov 2008 23:30:12 +0000 (23:30 +0000)]
    Bug 22344: Make select popup window opaque
        https://bugs.webkit.org/show_bug.cgi?id=22344

        Reviewed by Steve Falkenburg.

        * platform/win/PopupMenuWin.cpp:
        (WebCore::PopupMenu::show):

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

11 years ago2008-11-18 Dimitri Glazkov <dglazkov@chromium.org>
darin@chromium.org [Tue, 18 Nov 2008 23:16:59 +0000 (23:16 +0000)]
2008-11-18  Dimitri Glazkov  <dglazkov@chromium.org>

        Reviewed by Sam Weinig.

        https://bugs.webkit.org/show_bug.cgi?id=22342
        Remove unused JSLock.h include

        * dom/Document.cpp:

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

11 years agoReviewed by Sam Weinig.
zimmermann@webkit.org [Tue, 18 Nov 2008 22:15:33 +0000 (22:15 +0000)]
Reviewed by Sam Weinig.

Fixes: https://bugs.webkit.org/show_bug.cgi?id=22334

Add WMLBRElement, correcting <br/> behaviour in WML.
Enable entity replacment for WML documents.
Handle WML specific <p> 'mode' attribute.

Generate layout tests results for fast/wml.

Tests cases that pass now:
fast/wml/br-element-in-table.wml
fast/wml/br-element-in-text.wml
fast/wml/case-sensitivity.wml
fast/wml/cdata-section.wml
fast/wml/comment.wml
fast/wml/entity.wml
fast/wml/p-align.wml
fast/wml/p-mode.wml
fast/wml/text-emphasis.wml
fast/wml/validate-dtd.wml

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

11 years ago - try to fix the Windows build
mitz@apple.com [Tue, 18 Nov 2008 22:04:27 +0000 (22:04 +0000)]
    - try to fix the Windows build

        * interpreter/Interpreter.cpp:
        (JSC::Interpreter::privateExecute):

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

11 years ago2008-11-18 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Tue, 18 Nov 2008 21:52:48 +0000 (21:52 +0000)]
2008-11-18  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Sam Weinig.

        Minor RegExp cleanup.

        SunSpider says no change.

        * runtime/RegExpObject.cpp:
        (JSC::RegExpObject::match): Renamed "regExpObj" to "regExpConstructor".

        * wrec/WREC.cpp:
        (JSC::WREC::compileRegExp): Instead of checking for a NULL output vector,
        ASSERT that the output vector is not NULL. (The rest of WREC is not
        safe to use with a NULL output vector, and we probably don't want to
        spend the time and/or performance to make it safe.)

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

11 years ago2008-11-18 Aaron Boodman aa@chromium.org
darin@chromium.org [Tue, 18 Nov 2008 21:21:52 +0000 (21:21 +0000)]
2008-11-18  Aaron Boodman  aa@chromium.org

        Reviewed by Maciej Stachowiak.

        https://bugs.webkit.org/show_bug.cgi?id=22301
        Always call dispatchDidFinishDocumentLoad before Window's onload event.

        * loader/FrameLoader.cpp:
        (WebCore::FrameLoader::finishedParsing):

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

11 years ago2008-11-18 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Tue, 18 Nov 2008 20:38:55 +0000 (20:38 +0000)]
2008-11-18  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Alexey Proskuryakov.

        Updated layout test result for addition of window.Worker.

        * fast/js/global-constructors-expected.txt:

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

11 years ago2008-11-18 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Tue, 18 Nov 2008 20:07:45 +0000 (20:07 +0000)]
2008-11-18  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Darin Adler.

        A little more renaming and refactoring.

        VM_CHECK_EXCEPTION() => CHECK_FOR_EXCEPTION().
        NEXT_INSTRUCTION => NEXT_INSTRUCTION().

        Removed the "Error_" and "TempError_" prefixes from WREC error types.

        Refactored the WREC parser so it doesn't need a "setError" function,
        and changed "isEndOfPattern" and its use -- they read kind of backwards
        before.

        Changed our "TODO:" error messages at least to say something, since you
        can't say "TODO:" in shipping software.

        * interpreter/Interpreter.cpp:
        (JSC::Interpreter::privateExecute):
        (JSC::Interpreter::cti_op_convert_this):
        (JSC::Interpreter::cti_op_add):
        (JSC::Interpreter::cti_op_pre_inc):
        (JSC::Interpreter::cti_op_loop_if_less):
        (JSC::Interpreter::cti_op_loop_if_lesseq):
        (JSC::Interpreter::cti_op_put_by_id):
        (JSC::Interpreter::cti_op_put_by_id_second):
        (JSC::Interpreter::cti_op_put_by_id_generic):
        (JSC::Interpreter::cti_op_put_by_id_fail):
        (JSC::Interpreter::cti_op_get_by_id):
        (JSC::Interpreter::cti_op_get_by_id_second):
        (JSC::Interpreter::cti_op_get_by_id_generic):
        (JSC::Interpreter::cti_op_get_by_id_fail):
        (JSC::Interpreter::cti_op_instanceof):
        (JSC::Interpreter::cti_op_del_by_id):
        (JSC::Interpreter::cti_op_mul):
        (JSC::Interpreter::cti_op_call_NotJSFunction):
        (JSC::Interpreter::cti_op_resolve):
        (JSC::Interpreter::cti_op_construct_NotJSConstruct):
        (JSC::Interpreter::cti_op_get_by_val):
        (JSC::Interpreter::cti_op_resolve_func):
        (JSC::Interpreter::cti_op_sub):
        (JSC::Interpreter::cti_op_put_by_val):
        (JSC::Interpreter::cti_op_put_by_val_array):
        (JSC::Interpreter::cti_op_lesseq):
        (JSC::Interpreter::cti_op_loop_if_true):
        (JSC::Interpreter::cti_op_negate):
        (JSC::Interpreter::cti_op_resolve_skip):
        (JSC::Interpreter::cti_op_resolve_global):
        (JSC::Interpreter::cti_op_div):
        (JSC::Interpreter::cti_op_pre_dec):
        (JSC::Interpreter::cti_op_jless):
        (JSC::Interpreter::cti_op_not):
        (JSC::Interpreter::cti_op_jtrue):
        (JSC::Interpreter::cti_op_post_inc):
        (JSC::Interpreter::cti_op_eq):
        (JSC::Interpreter::cti_op_lshift):
        (JSC::Interpreter::cti_op_bitand):
        (JSC::Interpreter::cti_op_rshift):
        (JSC::Interpreter::cti_op_bitnot):
        (JSC::Interpreter::cti_op_resolve_with_base):
        (JSC::Interpreter::cti_op_mod):
        (JSC::Interpreter::cti_op_less):
        (JSC::Interpreter::cti_op_neq):
        (JSC::Interpreter::cti_op_post_dec):
        (JSC::Interpreter::cti_op_urshift):
        (JSC::Interpreter::cti_op_bitxor):
        (JSC::Interpreter::cti_op_bitor):
        (JSC::Interpreter::cti_op_push_scope):
        (JSC::Interpreter::cti_op_to_jsnumber):
        (JSC::Interpreter::cti_op_in):
        (JSC::Interpreter::cti_op_del_by_val):
        * wrec/WREC.cpp:
        (JSC::WREC::compileRegExp):
        * wrec/WRECParser.cpp:
        (JSC::WREC::Parser::parseGreedyQuantifier):
        (JSC::WREC::Parser::parseParentheses):
        (JSC::WREC::Parser::parseCharacterClass):
        (JSC::WREC::Parser::parseEscape):
        * wrec/WRECParser.h:
        (JSC::WREC::Parser::):
        (JSC::WREC::Parser::atEndOfPattern):

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

11 years ago2008-11-17 Beth Dakin <bdakin@apple.com>
bdakin@apple.com [Tue, 18 Nov 2008 19:58:33 +0000 (19:58 +0000)]
2008-11-17  Beth Dakin  <bdakin@apple.com>

        Reviewed by Adele Peterson.

        Fix for <rdar://problem/6373102> REGRESSION (r36919): In a new mail
        message, the caret appears in message body by default

        This fixes a regression caused by http://trac.webkit.org/changeset/36919.
        That change was too sweeping; we do not want to
        unconditionally set the page to be active, but we can be looser
        than the original constraints. This patch set the window active if
        the first responder is or is a descendant of the main frame's frame
        view.

        * WebView/WebView.mm:
        (-[WebView _updateFocusedAndActiveStateForFrame:]):

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

11 years ago2008-11-17 Beth Dakin <bdakin@apple.com>
bdakin@apple.com [Tue, 18 Nov 2008 19:57:33 +0000 (19:57 +0000)]
2008-11-17  Beth Dakin  <bdakin@apple.com>

        Reviewed by Adele Peterson.

        Fix for <rdar://problem/6373102> REGRESSION (r36919): In a new mail
        message, the caret appears in message body by default

        This fixes a regression caused by http://trac.webkit.org/changeset/
        36919. That change was too sweeping; we do not want to
        unconditionally set the page to be active, but we can be looser
        than the original constraints. This patch set the window active if
        the first responder is or is a descendant of the main frame's frame
        view.

        * WebView/WebView.mm:
        (-[WebView _updateFocusedAndActiveStateForFrame:]):

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

11 years ago Windows build fix.
ap@webkit.org [Tue, 18 Nov 2008 19:23:27 +0000 (19:23 +0000)]
    Windows build fix.

        * WebCore.vcproj/WebCore.vcproj: Fix relative paths to use $(WebKitOutputDir).

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

11 years ago2008-11-18 Darin Adler <darin@apple.com>
darin@apple.com [Tue, 18 Nov 2008 18:26:08 +0000 (18:26 +0000)]
2008-11-18  Darin Adler  <darin@apple.com>

        - try to fix Wx build

        * WebCoreSources.bkl: Added FrameLoaderClient.cpp.

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

11 years ago Reviewed by Darin Adler.
ap@webkit.org [Tue, 18 Nov 2008 18:25:29 +0000 (18:25 +0000)]
    Reviewed by Darin Adler.

        https://bugs.webkit.org/show_bug.cgi?id=22337
        Enable workers by default

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

11 years agoWebCore:
darin@apple.com [Tue, 18 Nov 2008 18:23:02 +0000 (18:23 +0000)]
WebCore:

2008-11-18  Darin Adler  <darin@apple.com>

        Reviewed by Alexey Proskuryakov.

        - first cut at https://bugs.webkit.org/show_bug.cgi?id=10957
          <rdar://problem/5516594> please add support for HTTP-only cookies

        Test: http/tests/xmlhttprequest/get-dangerous-headers.html

        No test for HTTP-only support in JavaScript yet, since the Mac and Win changes
        require an updated CFNetwork.

        * platform/mac/CookieJar.mm:
        (WebCore::isHTTPOnly): Added.
        (WebCore::filterCookies): Added.
        (WebCore::cookies): Use filterCookies to prevent getting HTTP-only cookies.
        (WebCore::setCookies): Use filterCookies to prevent setting HTTP-only cookies.

        * platform/network/win/CookieJarCFNetWin.cpp:
        (WebCore::isHTTPOnly): Added.
        (WebCore::filterCookies): Added.
        (WebCore::setCookies): Use filterCookies to prevent getting HTTP-only cookies.
        (WebCore::cookies): Use filterCookies to prevent getting HTTP-only cookies.

        * xml/XMLHttpRequest.cpp:
        (WebCore::isSetCookieHeader): Added.
        (WebCore::XMLHttpRequest::getAllResponseHeaders): Hide Set-Cookie headers from
        clients that don't have local-resource privileges.
        (WebCore::XMLHttpRequest::getResponseHeader): Ditto.

        - clean soup-specific details out of shared cookie jar header

        * platform/CookieJar.h: Removed the soup-specific parts of this.
        * platform/network/soup/CookieJarSoup.cpp: Changed to include
        CookieJarSoup.h. Tweaked implementation a bit to handle UTF-8 better.
        * platform/network/soup/CookieJarSoup.h: Added. Has the Soup-specified
        part of CookieJar.h.
        * platform/network/soup/ResourceHandleSoup.cpp: Changed to include
        CookieJarSoup.h.

LayoutTests:

2008-11-18  Darin Adler  <darin@apple.com>

        Reviewed by Alexey Proskuryakov.

        - add a test for XMLHttpRequest Set-Cookie blocking

        * http/tests/xmlhttprequest/access-control-basic-whitelist-response-headers-expected.txt:
        Updated since we now log attempts to get headers that are not allowed cross-domain to the console.
        * http/tests/xmlhttprequest/get-dangerous-headers-expected.txt: Added.
        * http/tests/xmlhttprequest/get-dangerous-headers.html: Added.
        * http/tests/xmlhttprequest/resources/get-set-cookie.cgi: Tweak script a bit.

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

11 years ago2008-11-18 Steve Falkenburg <sfalken@apple.com>
sfalken@apple.com [Tue, 18 Nov 2008 17:59:54 +0000 (17:59 +0000)]
2008-11-18  Steve Falkenburg  <sfalken@apple.com>

        https://bugs.webkit.org/show_bug.cgi?id=22329
        Improper bitwise and tests against 0 in Windows context menu code

        Reviewed by John Sullivan.

        * platform/win/ContextMenuItemWin.cpp:
        (WebCore::ContextMenuItem::type):
        (WebCore::ContextMenuItem::enabled):

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

11 years ago2008-11-18 John Sullivan <sullivan@apple.com>
sullivan@apple.com [Tue, 18 Nov 2008 17:32:35 +0000 (17:32 +0000)]
2008-11-18  John Sullivan  <sullivan@apple.com>

        Yet more Mac build fixing

        * WebCore.base.exp: Export __ZTVN7WebCore17FrameLoaderClientE

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

11 years ago2008-11-18 Ariya Hidayat <ariya.hidayat@trolltech.com>
vestbo@webkit.org [Tue, 18 Nov 2008 16:19:43 +0000 (16:19 +0000)]
2008-11-18  Ariya Hidayat  <ariya.hidayat@trolltech.com>

        Rubber-stamped by Tor Arne Vestbø.

        Missing file in new unit test for QWebFrame (r38493).

        * tests/qwebframe/qwebframe.pro:
        * tests/qwebframe/qwebframe.qrc: Added.

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

11 years ago2008-11-18 Tor Arne Vestbø <tavestbo@trolltech.com>
vestbo@webkit.org [Tue, 18 Nov 2008 16:09:19 +0000 (16:09 +0000)]
2008-11-18  Tor Arne Vestbø  <tavestbo@trolltech.com>

        Rubber-stamped by Simon Hausmann.

        Make sure QWidget based plugins are invisible until placed into the layout

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

11 years ago - Windows build fix
ap@webkit.org [Tue, 18 Nov 2008 14:43:49 +0000 (14:43 +0000)]
    - Windows build fix

        * wrec/WRECFunctors.h:
        * wrec/WRECGenerator.h:
        * wrec/WRECParser.h:
        CharacterClass is a struct, not a class, fix forward declarations.

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

11 years ago2008-11-18 Tor Arne Vestbø <tavestbo@trolltech.com>
vestbo@webkit.org [Tue, 18 Nov 2008 14:41:42 +0000 (14:41 +0000)]
2008-11-18  Tor Arne Vestbø  <tavestbo@trolltech.com>

        Reviewed by Simon Hausmann.

        React properly to frame rect changes for QWidget based plugins

        We now set the geometry of the QWidget in frameRectsChanged,
        intead of setFrameRect, which means we pick up the changes to
        the frame rect when scrolling. We also set a mask on the
        widget to keep it from painting over scrollbars and the like

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

11 years ago2008-11-18 Tor Arne Vestbø <tavestbo@trolltech.com>
vestbo@webkit.org [Tue, 18 Nov 2008 14:41:18 +0000 (14:41 +0000)]
2008-11-18  Tor Arne Vestbø  <tavestbo@trolltech.com>

        Rubber-stamped by Simon Hausmann.

        Don't mark scrollbars as focused in QtWebKit

        When initing from the widget we also got the focus state,
        but this does not make sense for scrollbars.

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

11 years agoTry to fix the Windows build.
zecke@webkit.org [Tue, 18 Nov 2008 14:30:40 +0000 (14:30 +0000)]
Try to fix the Windows build.

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

11 years ago More Mac build fixing.
ap@webkit.org [Tue, 18 Nov 2008 13:46:59 +0000 (13:46 +0000)]
    More Mac build fixing.

        * WebCore.base.exp: Export FrameLoaderClient destructor.

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

11 years ago Mac build fix.
ap@webkit.org [Tue, 18 Nov 2008 12:53:14 +0000 (12:53 +0000)]
    Mac build fix.

        * WebCore.xcodeproj/project.pbxproj: Add FrameLoaderClient.cpp for now.

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

11 years ago2008-11-18 Ariya Hidayat <ariya.hidayat@trolltech.com>
vestbo@webkit.org [Tue, 18 Nov 2008 12:37:48 +0000 (12:37 +0000)]
2008-11-18  Ariya Hidayat  <ariya.hidayat@trolltech.com>

        Reviewed by Tor Arne Vestbø.

        Fix crash when trying to pick a file using the file chooser.

        * WebCoreSupport/ChromeClientQt.cpp:
        (WebCore::ChromeClientQt::runOpenPanel):

2008-11-17  Geoffrey Garen  <ggaren@apple.com>

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

11 years agoAttempt to share transitionToCommittedForNewPage of FrameLoaderClient with the differ...
zecke@webkit.org [Tue, 18 Nov 2008 12:33:24 +0000 (12:33 +0000)]
Attempt to share transitionToCommittedForNewPage of FrameLoaderClient with the different ports

    https://bugs.webkit.org/show_bug.cgi?id=22056

    After Hyatt's work on Widget and ScrollView there is little difference
    between the implementation of Qt, Gtk+ and Win. In fact any kind of
    difference is mostly a bug. Alp has fixed two of such errors for the Gtk+
    port and the Qt port has at least one of them left.

    The only difference between the implementations is in getting the the
    IntSize for the new FrameView, the background color to be applied and
    eventually some post processing.

    Unify the implementations by providing a static helper function that
    takes a Frame, IntSize, color and transparency bit and calling it from
    the Gtk+, the Qt and the Windows port.

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

11 years agoMove setting the background color and transparency to WebCore
zecke@webkit.org [Tue, 18 Nov 2008 12:32:49 +0000 (12:32 +0000)]
Move setting the background color and transparency to WebCore

    Move setting the background color and transparency from WebKit/win
    to WebCore. This allows WebKit/win, WebKit/Qt and WebKit/Gtk+
    to share this code.

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

11 years ago2008-11-17 Ariya Hidayat <ariya.hidayat@trolltech.com>
vestbo@webkit.org [Tue, 18 Nov 2008 11:36:23 +0000 (11:36 +0000)]
2008-11-17  Ariya Hidayat  <ariya.hidayat@trolltech.com>

        Reviewed by Tor Arne Vestbø.

        Fix the bug where select elements are painted without border.
        http://trolltech.com/developer/task-tracker/index_html?id=218957&method=entry

        * platform/qt/RenderThemeQt.cpp:
        (WebCore::RenderThemeQt::paintMenuList):

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

11 years ago2008-11-18 Jan Michael Alonzo <jmalonzo@webkit.org>
jmalonzo@webkit.org [Tue, 18 Nov 2008 10:06:21 +0000 (10:06 +0000)]
2008-11-18  Jan Michael Alonzo  <jmalonzo@webkit.org>

        Gtk build fix. Not reviewed.

        * GNUmakefile.am: Fix USER_AGENT_STYLESHEETS, wml.css is in css/,
        not in wml/.

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

11 years ago Rubber-stamped by Darin Adler.
ap@webkit.org [Tue, 18 Nov 2008 08:53:12 +0000 (08:53 +0000)]
    Rubber-stamped by Darin Adler.

        https://bugs.webkit.org/show_bug.cgi?id=22306
        Disable channel messaging support

        * Scripts/build-webkit: Add an option to enable channel messaging.

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

11 years ago Reviewed by Darin Adler.
ap@webkit.org [Tue, 18 Nov 2008 08:44:40 +0000 (08:44 +0000)]
    Reviewed by Darin Adler.

        https://bugs.webkit.org/show_bug.cgi?id=22308
        Improve Worker GC behavior

        * dom/ActiveDOMObject.cpp: (WebCore::ActiveDOMObject::hasPendingActivity):
        * dom/ActiveDOMObject.h:
        Made hasPendingActivity() virtual, letting Worker add behavior to it.

        * bindings/js/WorkerScriptController.cpp: (WebCore::WorkerScriptController::evaluate):
        * dom/WorkerThread.cpp: (WebCore::WorkerThread::workerThread):
        Tell message proxy whether there are active objects in the worker whenever JS execution
        finishes.

        * dom/ScriptExecutionContext.h: (WebCore::ScriptExecutionContext::activeDOMObjects):
        Added a typedef for activeDOMObjects() return type, necessary to declare iterators.

        * dom/Worker.h:
        * dom/Worker.cpp: (WebCore::Worker::hasPendingActivity): A Worker is active if it is still
        loading, or if it has unconfirmed messages, or it the worker thread has pending activity.

        * dom/WorkerContext.h:
        * dom/WorkerContext.cpp: (WebCore::WorkerContext::hasPendingActivity): Check all registered
        active objects for pending activity.

        * dom/WorkerMessagingProxy.cpp:
        (WebCore::MessageWorkerContextTask::performTask):
        (WebCore::WorkerThreadActivityReportTask::create):
        (WebCore::WorkerThreadActivityReportTask::WorkerThreadActivityReportTask):
        (WebCore::WorkerThreadActivityReportTask::performTask):
        (WebCore::WorkerMessagingProxy::WorkerMessagingProxy):
        (WebCore::WorkerMessagingProxy::postMessageToWorkerContext):
        (WebCore::WorkerMessagingProxy::workerObjectDestroyed):
        (WebCore::WorkerMessagingProxy::workerContextDestroyedInternal):
        (WebCore::WorkerMessagingProxy::confirmWorkerThreadMessage):
        (WebCore::WorkerMessagingProxy::reportWorkerThreadActivity):
        (WebCore::WorkerMessagingProxy::reportWorkerThreadActivityInternal):
        (WebCore::WorkerMessagingProxy::workerThreadHasPendingActivity):
        * dom/WorkerMessagingProxy.h:
        Track outstanding messages, and activity reported by worker thread.

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

11 years ago - Windows build fix
mitz@apple.com [Tue, 18 Nov 2008 08:25:47 +0000 (08:25 +0000)]
    - Windows build fix

        * assembler/X86Assembler.h:

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

11 years ago Rubber-stamped by Darin Adler.
ap@webkit.org [Tue, 18 Nov 2008 08:03:25 +0000 (08:03 +0000)]
    Rubber-stamped by Darin Adler.

        https://bugs.webkit.org/show_bug.cgi?id=22306
        Disable channel messaging support

WebCore:
        * bindings/js/JSDOMWindowBase.cpp:
        (jsDOMWindowBaseMessageChannel):
        * page/DOMWindow.idl:
        Hide MesssagePort and MessageChannel global constructors. Due to the way MessageChannel
        constructor is added, it remains enumerable, but undefined.

LayoutTests:
        * fast/events/message-port-no-wrapper.html-disabled: Added a test that I had in my tree.

        * fast/dom/Window/window-properties-expected.txt:
        * fast/dom/constructors-cached-expected.txt:
        * fast/dom/constructors-cached-navigate-expected.txt:
        * fast/js/global-constructors-expected.txt:
        Updated results.

        * fast/events/destroyed-atomic-string.html: Removed.
        * fast/events/destroyed-atomic-string.html-disabled: Copied from LayoutTests/fast/events/destroyed-atomic-string.html.
        * fast/events/message-channel-gc-2.html: Removed.
        * fast/events/message-channel-gc-2.html-disabled: Copied from LayoutTests/fast/events/message-channel-gc-2.html.
        * fast/events/message-channel-gc-3.html: Removed.
        * fast/events/message-channel-gc-3.html-disabled: Copied from LayoutTests/fast/events/message-channel-gc-3.html.
        * fast/events/message-channel-gc.html: Removed.
        * fast/events/message-channel-gc.html-disabled: Copied from LayoutTests/fast/events/message-channel-gc.html.
        * fast/events/message-channel-listener-circular-ownership.html: Removed.
        * fast/events/message-channel-listener-circular-ownership.html-disabled: Copied from LayoutTests/fast/events/message-channel-listener-circular-ownership.html.
        * fast/events/message-port-constructor-for-deleted-document.html: Removed.
        * fast/events/message-port-constructor-for-deleted-document.html-disabled: Copied from LayoutTests/fast/events/message-port-constructor-for-deleted-document.html.
        * fast/events/message-port-deleted-document.html: Removed.
        * fast/events/message-port-deleted-document.html-disabled: Copied from LayoutTests/fast/events/message-port-deleted-document.html.
        * fast/events/message-port-deleted-frame.html: Removed.
        * fast/events/message-port-deleted-frame.html-disabled: Copied from LayoutTests/fast/events/message-port-deleted-frame.html.
        * fast/events/message-port-inactive-document.html: Removed.
        * fast/events/message-port-inactive-document.html-disabled: Copied from LayoutTests/fast/events/message-port-inactive-document.html.
        * fast/events/message-port-onclose.html: Removed.
        * fast/events/message-port-onclose.html-disabled: Copied from LayoutTests/fast/events/message-port-onclose.html.
        * fast/events/message-port.html: Removed.
        * fast/events/message-port.html-disabled: Copied from LayoutTests/fast/events/message-port.html.
        * http/tests/security/MessagePort/event-listener-context.html: Removed.
        * http/tests/security/MessagePort/event-listener-context.html-disabled: Copied from LayoutTests/http/tests/security/MessagePort/event-listener-context.html.
        Disabled MessagePort tests.

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

11 years ago2008-11-17 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Tue, 18 Nov 2008 03:34:48 +0000 (03:34 +0000)]
2008-11-17  Geoffrey Garen  <ggaren@apple.com>

        Not reviewed.

        Try to fix gtk build.

        * wrec/Quantifier.h:

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

11 years ago2008-11-17 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Tue, 18 Nov 2008 03:25:03 +0000 (03:25 +0000)]
2008-11-17  Geoffrey Garen  <ggaren@apple.com>

        Not reviewed.

        Try to fix gtk build.

        * assembler/AssemblerBuffer.h:

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

11 years ago2008-11-17 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Tue, 18 Nov 2008 03:17:11 +0000 (03:17 +0000)]
2008-11-17  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Sam Weinig.

        Split WREC classes out into individual files, with a few modifications
        to more closely match the WebKit coding style.

        * GNUmakefile.am:
        * JavaScriptCore.scons:
        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
        * JavaScriptCore.xcodeproj/project.pbxproj:
        * assembler/X86Assembler.h:
        * runtime/RegExp.cpp:
        * wrec/CharacterClass.cpp: Copied from wrec/CharacterClassConstructor.cpp.
        (JSC::WREC::CharacterClass::newline):
        (JSC::WREC::CharacterClass::digits):
        (JSC::WREC::CharacterClass::spaces):
        (JSC::WREC::CharacterClass::wordchar):
        (JSC::WREC::CharacterClass::nondigits):
        (JSC::WREC::CharacterClass::nonspaces):
        (JSC::WREC::CharacterClass::nonwordchar):
        * wrec/CharacterClass.h: Copied from wrec/CharacterClassConstructor.h.
        * wrec/CharacterClassConstructor.cpp:
        (JSC::WREC::CharacterClassConstructor::addSortedRange):
        (JSC::WREC::CharacterClassConstructor::append):
        * wrec/CharacterClassConstructor.h:
        * wrec/Quantifier.h: Copied from wrec/WREC.h.
        * wrec/WREC.cpp:
        (JSC::WREC::compileRegExp):
        * wrec/WREC.h:
        * wrec/WRECFunctors.cpp: Copied from wrec/WREC.cpp.
        * wrec/WRECFunctors.h: Copied from wrec/WREC.cpp.
        (JSC::WREC::GenerateAtomFunctor::~GenerateAtomFunctor):
        (JSC::WREC::GeneratePatternCharacterFunctor::GeneratePatternCharacterFunctor):
        (JSC::WREC::GenerateCharacterClassFunctor::GenerateCharacterClassFunctor):
        (JSC::WREC::GenerateBackreferenceFunctor::GenerateBackreferenceFunctor):
        (JSC::WREC::GenerateParenthesesNonGreedyFunctor::GenerateParenthesesNonGreedyFunctor):
        * wrec/WRECGenerator.cpp: Copied from wrec/WREC.cpp.
        (JSC::WREC::Generator::generatePatternCharacter):
        (JSC::WREC::Generator::generateCharacterClassInvertedRange):
        (JSC::WREC::Generator::generateCharacterClassInverted):
        (JSC::WREC::Generator::generateCharacterClass):
        (JSC::WREC::Generator::generateParentheses):
        (JSC::WREC::Generator::generateAssertionBOL):
        (JSC::WREC::Generator::generateAssertionEOL):
        (JSC::WREC::Generator::generateAssertionWordBoundary):
        * wrec/WRECGenerator.h: Copied from wrec/WREC.h.
        * wrec/WRECParser.cpp: Copied from wrec/WREC.cpp.
        (JSC::WREC::Parser::parseGreedyQuantifier):
        (JSC::WREC::Parser::parseCharacterClassQuantifier):
        (JSC::WREC::Parser::parseParentheses):
        (JSC::WREC::Parser::parseCharacterClass):
        (JSC::WREC::Parser::parseEscape):
        (JSC::WREC::Parser::parseTerm):
        * wrec/WRECParser.h: Copied from wrec/WREC.h.
        (JSC::WREC::Parser::):
        (JSC::WREC::Parser::Parser):
        (JSC::WREC::Parser::setError):
        (JSC::WREC::Parser::error):
        (JSC::WREC::Parser::recordSubpattern):
        (JSC::WREC::Parser::numSubpatterns):
        (JSC::WREC::Parser::ignoreCase):
        (JSC::WREC::Parser::multiline):

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

11 years agoReviewed by Mark Rowe.
zimmermann@webkit.org [Tue, 18 Nov 2008 00:46:24 +0000 (00:46 +0000)]
Reviewed by Mark Rowe.

Remove WBXML code. MainResourceLoader is not an appropriate location.
Revert until we find a better place.

The mime type which belongs to wmlc should be enabled anyway so WML documents get build.
Remove the ENABLE(WBXML) blocks around these types in MIMETypeRegistry / DOMImplementation.

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

11 years agoNot reviewed. Build fix.
zimmermann@webkit.org [Tue, 18 Nov 2008 00:23:28 +0000 (00:23 +0000)]
Not reviewed. Build fix.
Oops, disable WML by default on Qt.

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

11 years agoReviewed by George Staikos.
zimmermann@webkit.org [Tue, 18 Nov 2008 00:04:18 +0000 (00:04 +0000)]
Reviewed by George Staikos.

Fixes: https://bugs.webkit.org/show_bug.cgi?id=22324 (Add basic subset of WML elements)

Add first bits of WML support. Only <card> & <p> and <a> elements are supported in this first patch.
Support for most other elements will be added step-by-step (merging in small chunks from a big patch).

WML is not build by default. Enabling possible in Qt, Gtk & Mac. Win/Wx are TODO.

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

11 years ago Reviewed by Mark Rowe.
mitz@apple.com [Mon, 17 Nov 2008 23:57:30 +0000 (23:57 +0000)]
    Reviewed by Mark Rowe.

        - https://bugs.webkit.org/show_bug.cgi?id=22320 SVG svg/text/text-text-08-b.svg fails

        Updated the expected results to the correct ones.

        * platform/mac/svg/text/text-text-08-b-expected.checksum:
        * platform/mac/svg/text/text-text-08-b-expected.png:

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

11 years ago2008-11-17 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Mon, 17 Nov 2008 23:50:31 +0000 (23:50 +0000)]
2008-11-17  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Sam Weinig and Antti Koivisto.

        Clarified the last coding style rule, which was a baffling in its
        initial form.

        (Now let's see if our code ever starts following this rule!)

        * coding/coding-style.html:

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

11 years ago2008-11-17 Brady Eidson <beidson@apple.com>
beidson@apple.com [Mon, 17 Nov 2008 23:39:24 +0000 (23:39 +0000)]
2008-11-17  Brady Eidson  <beidson@apple.com>

        Reviewed by Mark Rowe

        Clarify an edge case for acronym capitalization.

        * coding/coding-style.html:

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

11 years ago2008-11-17 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Mon, 17 Nov 2008 23:37:02 +0000 (23:37 +0000)]
2008-11-17  Geoffrey Garen  <ggaren@apple.com>

        Not reviewed.

        Try to fix qt build.

        * Api/qwebframe.cpp:

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

11 years ago2008-11-17 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Mon, 17 Nov 2008 23:36:00 +0000 (23:36 +0000)]
2008-11-17  Geoffrey Garen  <ggaren@apple.com>

        Not reviewed.

        Try to fix a few builds.

        * JavaScriptCoreSources.bkl:

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

11 years ago2008-11-17 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Mon, 17 Nov 2008 23:35:33 +0000 (23:35 +0000)]
2008-11-17  Geoffrey Garen  <ggaren@apple.com>

        Not reviewed.

        Try to fix gtk build.

        * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
        (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
        (LayoutTestController::pauseTransitionAtTimeOnElementWithId):

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

11 years ago2008-11-17 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Mon, 17 Nov 2008 23:24:04 +0000 (23:24 +0000)]
2008-11-17  Geoffrey Garen  <ggaren@apple.com>

        Not reviewed.

        Try to fix a few builds.

        * JavaScriptCore.pri:
        * JavaScriptCore.scons:
        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:

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

11 years agoJavaScriptCore:
ggaren@apple.com [Mon, 17 Nov 2008 23:16:00 +0000 (23:16 +0000)]
JavaScriptCore:

2008-11-17  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Sam Weinig.

        Moved VM/CTI.* => jit/JIT.*.

        Removed VM.

        * GNUmakefile.am:
        * JavaScriptCore.pri:
        * JavaScriptCore.scons:
        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
        * JavaScriptCore.xcodeproj/project.pbxproj:
        * VM/CTI.cpp: Removed.
        * VM/CTI.h: Removed.
        * bytecode/CodeBlock.cpp:
        * interpreter/Interpreter.cpp:
        * jit: Added.
        * jit/JIT.cpp: Copied from VM/CTI.cpp.
        * jit/JIT.h: Copied from VM/CTI.h.
        * runtime/RegExp.cpp:

WebCore:

2008-11-17  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Sam Weinig.

        Updated for JavaScriptCore renames.

        * WebCore.pro:
        * webcore-base.bkl:

WebKit/wx:

2008-11-17  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Sam Weinig.

        Updated for JavaScriptCore renames.

        * presets/wxwebkit.bkl:

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

11 years ago2008-11-17 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Mon, 17 Nov 2008 22:58:52 +0000 (22:58 +0000)]
2008-11-17  Geoffrey Garen  <ggaren@apple.com>

        Not reviewed.

        Try to fix Mac build.

        * WebView/WebScriptDebugDelegate.mm:

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

11 years agoWebCore:
justin.garcia@apple.com [Mon, 17 Nov 2008 22:40:50 +0000 (22:40 +0000)]
WebCore:

2008-11-17  Justin Garcia  <justin.garcia@apple.com>

        Reviewed by Beth Dakin.

        <rdar://problem/4922709> Copying less than a paragraph of quoted text and pasting it doesn't retain quote level

        There was code to intentionally avoid quoting pasted content if less than a paragraph of
        it was copied.  That was added for <rdar://problem/5006779>, but was unnecessary because
        that bug was about Paste and Match style for single paragraphs.  And quote stripping for
        Paste and Match style is handled elsewhere.

        * editing/markup.cpp:
        (WebCore::createMarkup):

LayoutTests:

2008-11-17  Justin Garcia  <justin.garcia@apple.com>

        Reviewed by Beth Dakin.

        <rdar://problem/4922709> Copying less than a paragraph of quoted text and pasting it doesn't retain quote level

        * editing/pasteboard/4922709-expected.txt: Added.
        * editing/pasteboard/4922709.html: Added.
        * editing/pasteboard/5006779.html:

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

11 years agoJavaScriptCore:
ggaren@apple.com [Mon, 17 Nov 2008 22:11:26 +0000 (22:11 +0000)]
JavaScriptCore:

2008-11-17  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Sam Weinig.

        Moved runtime/ExecState.* => interpreter/CallFrame.*.

        * API/JSBase.cpp:
        * API/OpaqueJSString.cpp:
        * GNUmakefile.am:
        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
        * JavaScriptCore.xcodeproj/project.pbxproj:
        * debugger/DebuggerCallFrame.h:
        * interpreter/CallFrame.cpp: Copied from runtime/ExecState.cpp.
        * interpreter/CallFrame.h: Copied from runtime/ExecState.h.
        * interpreter/Interpreter.cpp:
        * parser/Nodes.cpp:
        * profiler/ProfileGenerator.cpp:
        * profiler/Profiler.cpp:
        * runtime/ClassInfo.h:
        * runtime/Collector.cpp:
        * runtime/Completion.cpp:
        * runtime/ExceptionHelpers.cpp:
        * runtime/ExecState.cpp: Removed.
        * runtime/ExecState.h: Removed.
        * runtime/Identifier.cpp:
        * runtime/JSFunction.cpp:
        * runtime/JSGlobalObjectFunctions.cpp:
        * runtime/JSLock.cpp:
        * runtime/JSNumberCell.h:
        * runtime/JSObject.h:
        * runtime/JSString.h:
        * runtime/Lookup.h:
        * runtime/PropertyNameArray.h:

JavaScriptGlue:

2008-11-17  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Sam Weinig.

        Updated for JavaScriptCore rename.

        * ForwardingHeaders/runtime/CallFrame.h: Copied from JavaScriptGlue/ForwardingHeaders/runtime/ExecState.h.
        * ForwardingHeaders/runtime/ExecState.h: Removed.
        * config.h:

WebCore:

2008-11-17  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Sam Weinig.

        Updated for JavaScriptCore rename.

        * ForwardingHeaders/interpreter/CallFrame.h: Copied from WebCore/ForwardingHeaders/runtime/ExecState.h.
        * ForwardingHeaders/runtime/ExecState.h: Removed.
        * bindings/objc/WebScriptObject.mm:
        * bridge/c/c_instance.cpp:
        * bridge/jni/jni_jsobject.mm:
        * dom/Node.cpp:
        * dom/NodeFilter.cpp:
        * dom/NodeIterator.cpp:
        * dom/TreeWalker.cpp:
        * inspector/JavaScriptCallFrame.h:

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

11 years ago2008-11-17 Pierre-Olivier Latour <pol@apple.com>
dino@apple.com [Mon, 17 Nov 2008 22:10:05 +0000 (22:10 +0000)]
2008-11-17  Pierre-Olivier Latour  <pol@apple.com>

        Reviewed by Maciej.

        Pixel tests should use a default tolerance of 0.1% on Leopard and 1.0%
        on Tiger.

        https://bugs.webkit.org/show_bug.cgi?id=22271

        * Scripts/run-webkit-tests:

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

11 years agoWebCore:
dino@apple.com [Mon, 17 Nov 2008 22:05:27 +0000 (22:05 +0000)]
WebCore:
2008-11-17  Pierre-Olivier Latour  <pol@apple.com>

        Reviewed by Sam Weinig.

        Added functionality to AnimationController to allow pausing a running
        animation or transition at a given time for testing purposes.

        https://bugs.webkit.org/show_bug.cgi?id=21261

        Tests: animations/animation-drt-api.html
               transitions/transition-drt-api.html

        * WebCore.base.exp:
        * WebCore.xcodeproj/project.pbxproj:
        * page/animation/AnimationBase.cpp:
        (WebCore::AnimationBase::updateStateMachine):
        (WebCore::AnimationBase::progress):
        (WebCore::AnimationBase::pauseAtTime):
        * page/animation/AnimationBase.h:
        * page/animation/AnimationController.cpp:
        (WebCore::AnimationControllerPrivate::pauseAnimationAtTime):
        (WebCore::AnimationControllerPrivate::pauseTransitionAtTime):
        (WebCore::AnimationController::pauseAnimationAtTime):
        (WebCore::AnimationController::pauseTransitionAtTime):
        * page/animation/AnimationController.h:
        * page/animation/CompositeAnimation.cpp:
        (WebCore::CompositeAnimationPrivate::isAnimating):
        (WebCore::CompositeAnimationPrivate::pauseAnimationAtTime):
        (WebCore::CompositeAnimationPrivate::pauseTransitionAtTime):
        (WebCore::CompositeAnimation::pauseAnimationAtTime):
        (WebCore::CompositeAnimation::pauseTransitionAtTime):
        * page/animation/CompositeAnimation.h:
        * page/animation/ImplicitAnimation.cpp:
        (WebCore::ImplicitAnimation::animate):

WebKit/mac:
2008-11-17  Pierre-Olivier Latour  <pol@apple.com>

        Reviewed by Sam Weinig.

        Added SPI to allow pausing a running CSS transition or animation
        at a given time for testing purposes.

        https://bugs.webkit.org/show_bug.cgi?id=21261

        * WebView/WebFrame.mm:
        (-[WebFrame _pauseAnimation:onNode:atTime:]):
        (-[WebFrame _pauseTransitionOfProperty:onNode:atTime:]):
        * WebView/WebFramePrivate.h:

WebKitTools:
2008-11-17  Pierre-Olivier Latour  <pol@apple.com>

        Reviewed by Sam Weinig.

        Added new JavaScript API on LayoutController to pause a running
        CSS transition or animation at a given time.

        https://bugs.webkit.org/show_bug.cgi?id=21261

        * DumpRenderTree/LayoutTestController.cpp:
        (pauseAnimationAtTimeOnElementWithIdCallback):
        (pauseTransitionAtTimeOnElementWithIdCallback):
        (LayoutTestController::staticFunctions):
        * DumpRenderTree/LayoutTestController.h:
        * DumpRenderTree/mac/LayoutTestControllerMac.mm:
        (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
        (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
        * DumpRenderTree/win/LayoutTestControllerWin.cpp:
        (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
        (LayoutTestController::pauseTransitionAtTimeOnElementWithId):

LayoutTests:
2008-11-17  Pierre-Olivier Latour  <pol@apple.com>

        Reviewed by Sam Weinig.

        Added tests to cover the new LayoutController JavaScript API available
        in DRT (Mac only).

        https://bugs.webkit.org/show_bug.cgi?id=21261

        * animations/animation-drt-api.html: Added.
        * platform/mac/animations/animation-drt-api-expected.txt: Added.
        * platform/mac/transitions/transition-drt-api-expected.txt: Added.
        * platform/win/Skipped:
        * transitions/transition-drt-api.html: Added.

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

11 years ago2008-11-17 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Mon, 17 Nov 2008 21:53:16 +0000 (21:53 +0000)]
2008-11-17  Geoffrey Garen  <ggaren@apple.com>

        Not reviewed.

        Try to fix Windows build.

        * API/APICast.h:

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

11 years ago2008-11-17 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Mon, 17 Nov 2008 21:51:09 +0000 (21:51 +0000)]
2008-11-17  Geoffrey Garen  <ggaren@apple.com>

        Not reviewed.

        Try to fix Windows build.

        * API/APICast.h:
        * runtime/ExecState.h:

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

11 years ago2008-11-17 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Mon, 17 Nov 2008 21:44:26 +0000 (21:44 +0000)]
2008-11-17  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Sam Weinig.

        Moved VM/SamplingTool.* => bytecode/SamplingTool.*.

        * GNUmakefile.am:
        * JavaScriptCore.pri:
        * JavaScriptCore.scons:
        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
        * JavaScriptCore.xcodeproj/project.pbxproj:
        * JavaScriptCoreSources.bkl:
        * VM/SamplingTool.cpp: Removed.
        * VM/SamplingTool.h: Removed.
        * bytecode/SamplingTool.cpp: Copied from VM/SamplingTool.cpp.
        * bytecode/SamplingTool.h: Copied from VM/SamplingTool.h.
        * jsc.cpp:
        (runWithScripts):

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

11 years ago2008-11-17 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Mon, 17 Nov 2008 21:35:10 +0000 (21:35 +0000)]
2008-11-17  Geoffrey Garen  <ggaren@apple.com>

        Not reviewed.

        Try to fix Windows build.

        * runtime/ExecState.h:

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

11 years ago2008-11-17 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Mon, 17 Nov 2008 21:34:08 +0000 (21:34 +0000)]
2008-11-17  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Sam Weinig.

        Moved VM/ExceptionHelpers.cpp => runtime/ExceptionHelpers.cpp.

        * GNUmakefile.am:
        * JavaScriptCore.pri:
        * JavaScriptCore.scons:
        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
        * JavaScriptCore.xcodeproj/project.pbxproj:
        * JavaScriptCoreSources.bkl:
        * VM/ExceptionHelpers.cpp: Removed.
        * runtime/ExceptionHelpers.cpp: Copied from VM/ExceptionHelpers.cpp.

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

11 years ago2008-11-17 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Mon, 17 Nov 2008 21:29:41 +0000 (21:29 +0000)]
2008-11-17  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Sam Weinig.

        Moved VM/RegisterFile.cpp => interpreter/RegisterFile.cpp.

        * AllInOneFile.cpp:
        * GNUmakefile.am:
        * JavaScriptCore.pri:
        * JavaScriptCore.scons:
        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
        * JavaScriptCore.xcodeproj/project.pbxproj:
        * JavaScriptCoreSources.bkl:
        * VM/RegisterFile.cpp: Removed.
        * interpreter/RegisterFile.cpp: Copied from VM/RegisterFile.cpp.

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

11 years ago2008-11-17 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Mon, 17 Nov 2008 21:22:52 +0000 (21:22 +0000)]
2008-11-17  Geoffrey Garen  <ggaren@apple.com>

        Not reviewed.

        Try to fix Windows build.

        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:

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

11 years ago2008-11-17 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Mon, 17 Nov 2008 21:20:15 +0000 (21:20 +0000)]
2008-11-17  Geoffrey Garen  <ggaren@apple.com>

        Not reviewed.

        Try to fix Windows build.

        * JavaScriptCore.vcproj/jsc/jsc.vcproj:

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

11 years ago2008-11-17 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Mon, 17 Nov 2008 21:19:10 +0000 (21:19 +0000)]
2008-11-17  Geoffrey Garen  <ggaren@apple.com>

        Not reviewed.

        Try to fix Windows build.

        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:

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

11 years ago2008-11-17 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Mon, 17 Nov 2008 21:09:37 +0000 (21:09 +0000)]
2008-11-17  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Sam Weinig.

        Moved:
            VM/ExceptionHelpers.h => runtime/ExceptionHelpers.h
            VM/Register.h => interpreter/Register.h
            VM/RegisterFile.h => interpreter/RegisterFile.h

        * GNUmakefile.am:
        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
        * JavaScriptCore.xcodeproj/project.pbxproj:
        * VM/ExceptionHelpers.h: Removed.
        * VM/Register.h: Removed.
        * VM/RegisterFile.h: Removed.
        * interpreter/Register.h: Copied from VM/Register.h.
        * interpreter/RegisterFile.h: Copied from VM/RegisterFile.h.
        * runtime/ExceptionHelpers.h: Copied from VM/ExceptionHelpers.h.

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

11 years ago2008-11-17 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Mon, 17 Nov 2008 21:03:52 +0000 (21:03 +0000)]
2008-11-17  Geoffrey Garen  <ggaren@apple.com>

        Not reviewed.

        Try to fix Qt build.

        * JavaScriptCore.pri:

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

11 years ago2008-11-17 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Mon, 17 Nov 2008 21:02:27 +0000 (21:02 +0000)]
2008-11-17  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Sam Weinig.

        Moved VM/Machine.cpp => interpreter/Interpreter.cpp.

        * DerivedSources.make:
        * GNUmakefile.am:
        * JavaScriptCore.pri:
        * JavaScriptCore.scons:
        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
        * JavaScriptCore.xcodeproj/project.pbxproj:
        * JavaScriptCoreSources.bkl:
        * VM/Machine.cpp: Removed.
        * interpreter/Interpreter.cpp: Copied from VM/Machine.cpp.

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

11 years agoJavaScriptCore:
ggaren@apple.com [Mon, 17 Nov 2008 20:57:18 +0000 (20:57 +0000)]
JavaScriptCore:

2008-11-17  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Sam Weinig.

        Moved VM/Machine.h => interpreter/Interpreter.h

        * GNUmakefile.am:
        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
        * JavaScriptCore.xcodeproj/project.pbxproj:
        * VM/CTI.cpp:
        * VM/CTI.h:
        * VM/ExceptionHelpers.cpp:
        * VM/Machine.cpp:
        * VM/Machine.h: Removed.
        * VM/SamplingTool.cpp:
        * bytecode/CodeBlock.cpp:
        * bytecompiler/BytecodeGenerator.cpp:
        * bytecompiler/BytecodeGenerator.h:
        * debugger/DebuggerCallFrame.cpp:
        * interpreter: Added.
        * interpreter/Interpreter.h: Copied from VM/Machine.h.
        * profiler/ProfileGenerator.cpp:
        * runtime/Arguments.h:
        * runtime/ArrayPrototype.cpp:
        * runtime/Collector.cpp:
        * runtime/Completion.cpp:
        * runtime/ExecState.h:
        * runtime/FunctionPrototype.cpp:
        * runtime/JSActivation.cpp:
        * runtime/JSFunction.cpp:
        * runtime/JSGlobalData.cpp:
        * runtime/JSGlobalObject.cpp:
        * runtime/JSGlobalObjectFunctions.cpp:
        * wrec/WREC.cpp:

WebCore:

2008-11-17  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Sam Weinig.

        Updated for JavaScriptCore renames.

        * ForwardingHeaders/VM: Removed.
        * ForwardingHeaders/VM/Machine.h: Removed.
        * ForwardingHeaders/interpreter: Added.
        * ForwardingHeaders/interpreter/Interpreter.h: Copied from ForwardingHeaders/VM/Machine.h.
        * WebCore.pro:
        * bindings/js/JSXMLHttpRequestCustom.cpp:
        * page/Console.cpp:
        * webcore-base.bkl:

WebKit/wx:

2008-11-17  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Sam Weinig.

        Updated for JavaScriptCore renames.

        * presets/wxwebkit.bkl:

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

11 years ago2008-11-17 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Mon, 17 Nov 2008 18:32:15 +0000 (18:32 +0000)]
2008-11-17  Geoffrey Garen  <ggaren@apple.com>

        Not reviewed.

        Try to fix wx build.

        * presets/wxwebkit.bkl:

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

11 years agoJavaScriptCore:
ggaren@apple.com [Mon, 17 Nov 2008 17:55:40 +0000 (17:55 +0000)]
JavaScriptCore:

2008-11-17  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Sam Weinig.

        Moved runtime/Interpreter.cpp => runtime/Completion.cpp.

        Moved functions from Interpreter.h to Completion.h, and removed
        Interpreter.h from the project.

        * API/JSBase.cpp:
        * AllInOneFile.cpp:
        * GNUmakefile.am:
        * JavaScriptCore.pri:
        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
        * JavaScriptCore.xcodeproj/project.pbxproj:
        * JavaScriptCoreSources.bkl:
        * jsc.cpp:
        * runtime/Completion.cpp: Copied from runtime/Interpreter.cpp.
        * runtime/Completion.h:
        * runtime/Interpreter.cpp: Removed.
        * runtime/Interpreter.h: Removed.

WebCore:

2008-11-17  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Sam Weinig.

        Updated for JavaScriptCore renames.

        * ForwardingHeaders/runtime/Interpreter.h: Removed.
        * WebCore.vcproj/WebCore.vcproj:
        * bindings/js/JSDOMBinding.h:
        * bindings/js/WorkerScriptController.cpp:
        * bindings/objc/WebScriptObject.mm:
        * bridge/NP_jsobject.cpp:
        * bridge/jni/jni_jsobject.mm:
        * html/CanvasRenderingContext2D.cpp:
        * inspector/JavaScriptCallFrame.cpp:
        * page/Console.cpp:

WebKit/mac:

2008-11-17  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Sam Weinig.

        Updated for JavaScriptCore renames.

        * ForwardingHeaders/runtime/Completion.h: Copied from ForwardingHeaders/runtime/Interpreter.h.
        * ForwardingHeaders/runtime/Interpreter.h: Removed.
        * WebView/WebScriptDebugDelegate.mm:

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

11 years ago2008-11-17 Gabor Loki <loki@inf.u-szeged.hu>
ggaren@apple.com [Mon, 17 Nov 2008 17:36:41 +0000 (17:36 +0000)]
2008-11-17  Gabor Loki  <loki@inf.u-szeged.hu>

        Reviewed by Darin Adler.

        <https://bugs.webkit.org/show_bug.cgi?id=22312>
        Fix PCRE include path problem on Qt-port

        * JavaScriptCore.pri:
        * pcre/pcre.pri:

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

11 years ago2008-11-17 Gabor Loki <loki@inf.u-szeged.hu>
ggaren@apple.com [Mon, 17 Nov 2008 17:34:57 +0000 (17:34 +0000)]
2008-11-17  Gabor Loki  <loki@inf.u-szeged.hu>

        Reviewed by Darin Adler.

        <https://bugs.webkit.org/show_bug.cgi?id=22309>
        Pass the remaining options to build system on Qt-port

        * Scripts/build-webkit:
        * Scripts/webkitdirs.pm:

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

11 years ago2008-11-17 Gabor Loki <loki@inf.u-szeged.hu>
ggaren@apple.com [Mon, 17 Nov 2008 17:34:10 +0000 (17:34 +0000)]
2008-11-17  Gabor Loki  <loki@inf.u-szeged.hu>

        Reviewed by Darin Adler.

        <https://bugs.webkit.org/show_bug.cgi?id=22313>
        Add missing CTI source to the build system on Qt-port

        * JavaScriptCore.pri:

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

11 years ago2008-11-17 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Mon, 17 Nov 2008 17:31:46 +0000 (17:31 +0000)]
2008-11-17  Geoffrey Garen  <ggaren@apple.com>

        Not reviewed.

        Try to fix JSGlue build.

        * JavaScriptCore.xcodeproj/project.pbxproj:

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

11 years ago2008-11-17 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Mon, 17 Nov 2008 17:23:59 +0000 (17:23 +0000)]
2008-11-17  Geoffrey Garen  <ggaren@apple.com>

        Not reviewed.

        Try to fix wx build.

        * webcore-base.bkl:

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

11 years ago2008-11-17 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Mon, 17 Nov 2008 17:22:13 +0000 (17:22 +0000)]
2008-11-17  Geoffrey Garen  <ggaren@apple.com>

        Not reviewed.

        Try to fix Qt build.

        * jsc.pro:

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

11 years ago2008-11-17 Greg Bolsinga <bolsinga@apple.com>
bolsinga@apple.com [Mon, 17 Nov 2008 17:11:15 +0000 (17:11 +0000)]
2008-11-17  Greg Bolsinga  <bolsinga@apple.com>

        Reviewed by Darin Adler.

        https://bugs.webkit.org/show_bug.cgi?id=21810
        Remove use of static C++ objects that are destroyed at exit time (destructors)

        Find some missing DEFINE_STATIC_LOCAL use cases.

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

11 years ago2008-11-17 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Mon, 17 Nov 2008 17:00:48 +0000 (17:00 +0000)]
2008-11-17  Geoffrey Garen  <ggaren@apple.com>

        Not reviewed.

        Try to fix Qt build.

        * WebCore.pro:

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

11 years ago2008-11-17 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Mon, 17 Nov 2008 16:55:08 +0000 (16:55 +0000)]
2008-11-17  Geoffrey Garen  <ggaren@apple.com>

        Not reviewed.

        Try to fix Qt build.

        * JavaScriptCore.pri:

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

11 years ago2008-11-17 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Mon, 17 Nov 2008 16:50:18 +0000 (16:50 +0000)]
2008-11-17  Geoffrey Garen  <ggaren@apple.com>

        Not reviewed.

        Try to fix Qt build.

        * JavaScriptCore.pri:

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

11 years ago2008-11-17 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Mon, 17 Nov 2008 16:43:16 +0000 (16:43 +0000)]
2008-11-17  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Sam Weinig.

        More file moves:

        VM/CodeBlock.* => bytecode/CodeBlock.*
        VM/EvalCodeCache.h => bytecode/EvalCodeCache.h
        VM/Instruction.h => bytecode/Instruction.h
        VM/Opcode.* => bytecode/Opcode.*

        * GNUmakefile.am:
        * JavaScriptCore.scons:
        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
        * JavaScriptCore.vcproj/jsc/jsc.vcproj:
        * JavaScriptCore.xcodeproj/project.pbxproj:
        * JavaScriptCoreSources.bkl:
        * VM/CodeBlock.cpp: Removed.
        * VM/CodeBlock.h: Removed.
        * VM/EvalCodeCache.h: Removed.
        * VM/Instruction.h: Removed.
        * VM/Opcode.cpp: Removed.
        * VM/Opcode.h: Removed.
        * bytecode: Added.
        * bytecode/CodeBlock.cpp: Copied from VM/CodeBlock.cpp.
        * bytecode/CodeBlock.h: Copied from VM/CodeBlock.h.
        * bytecode/EvalCodeCache.h: Copied from VM/EvalCodeCache.h.
        * bytecode/Instruction.h: Copied from VM/Instruction.h.
        * bytecode/Opcode.cpp: Copied from VM/Opcode.cpp.
        * bytecode/Opcode.h: Copied from VM/Opcode.h.
        * jsc.pro:
        * jscore.bkl:

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

11 years ago2008-11-17 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Mon, 17 Nov 2008 16:24:01 +0000 (16:24 +0000)]
2008-11-17  Geoffrey Garen  <ggaren@apple.com>

        Not reviewed.

        Try to fix a few more builds.

        * GNUmakefile.am:
        * JavaScriptCore.pri:
        * JavaScriptCore.scons:
        * JavaScriptCoreSources.bkl:

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

11 years ago2008-11-17 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Mon, 17 Nov 2008 16:22:09 +0000 (16:22 +0000)]
2008-11-17  Geoffrey Garen  <ggaren@apple.com>

        Not reviewed.

        Try to fix gtk build.

        * GNUmakefile.am:

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

11 years ago2008-11-17 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Mon, 17 Nov 2008 16:20:38 +0000 (16:20 +0000)]
2008-11-17  Geoffrey Garen  <ggaren@apple.com>

        Not reviewed.

        Try to fix Windows build.

        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:

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

11 years ago2008-11-17 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Mon, 17 Nov 2008 16:18:13 +0000 (16:18 +0000)]
2008-11-17  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Sam Weinig.

        Some file moves:

        VM/LabelID.h => bytecompiler/Label.h
        VM/RegisterID.h => bytecompiler/RegisterID.h
        VM/SegmentedVector.h => bytecompiler/SegmentedVector.h
        bytecompiler/CodeGenerator.* => bytecompiler/BytecodeGenerator.*

        * AllInOneFile.cpp:
        * JavaScriptCore.xcodeproj/project.pbxproj:
        * VM/LabelID.h: Removed.
        * VM/RegisterID.h: Removed.
        * VM/SegmentedVector.h: Removed.
        * bytecompiler/BytecodeGenerator.cpp: Copied from bytecompiler/CodeGenerator.cpp.
        * bytecompiler/BytecodeGenerator.h: Copied from bytecompiler/CodeGenerator.h.
        * bytecompiler/CodeGenerator.cpp: Removed.
        * bytecompiler/CodeGenerator.h: Removed.
        * bytecompiler/Label.h: Copied from VM/LabelID.h.
        * bytecompiler/LabelScope.h:
        * bytecompiler/RegisterID.h: Copied from VM/RegisterID.h.
        * bytecompiler/SegmentedVector.h: Copied from VM/SegmentedVector.h.
        * jsc.cpp:
        * parser/Nodes.cpp:

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

11 years ago2008-11-17 Ariya Hidayat <ariya.hidayat@trolltech.com>
hausmann@webkit.org [Mon, 17 Nov 2008 15:13:21 +0000 (15:13 +0000)]
2008-11-17  Ariya Hidayat  <ariya.hidayat@trolltech.com>

        Reviewed by Tor Arne Vestbø and Simon Hausmann.

        Fix regression when loading resources from Qt resource system using qrc:/.

        Added a unit test to catch future regression.

        * Api/qwebpage.cpp:
        (QWebPagePrivate::QWebPagePrivate):
        * tests/qwebframe/image.png: Added.
        * tests/qwebframe/tst_qwebframe.cpp:

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

11 years ago2008-11-17 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Mon, 17 Nov 2008 08:46:49 +0000 (08:46 +0000)]
2008-11-17  Geoffrey Garen  <ggaren@apple.com>

        Not reviewed.

        Try to fix Windows build.

        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:

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

11 years ago2008-11-17 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Mon, 17 Nov 2008 08:34:32 +0000 (08:34 +0000)]
2008-11-17  Geoffrey Garen  <ggaren@apple.com>

        Not reviewed.

        Try to fix Windows build.

        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:

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

11 years ago2008-11-17 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Mon, 17 Nov 2008 08:03:50 +0000 (08:03 +0000)]
2008-11-17  Geoffrey Garen  <ggaren@apple.com>

        Not reviewed.

        Try to fix Windows build.

        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:

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

11 years ago2008-11-16 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Mon, 17 Nov 2008 06:53:48 +0000 (06:53 +0000)]
2008-11-16  Geoffrey Garen  <ggaren@apple.com>

        Not reviewed.

        Try to fix Windows build.

        * JavaScriptCore.vcproj/jsc/jsc.vcproj:

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

11 years ago2008-11-16 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Mon, 17 Nov 2008 06:34:51 +0000 (06:34 +0000)]
2008-11-16  Geoffrey Garen  <ggaren@apple.com>

        Not reviewed.

        Try to fix Windows build.

        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:

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

11 years ago2008-11-16 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Mon, 17 Nov 2008 06:27:06 +0000 (06:27 +0000)]
2008-11-16  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Sam Weinig.

        Moved masm => assembler and split "AssemblerBuffer.h" out of "X86Assembler.h".

        Also renamed ENABLE_MASM to ENABLE_ASSEMBLER.

        * GNUmakefile.am:
        * JavaScriptCore.xcodeproj/project.pbxproj:
        * assembler: Added.
        * assembler/AssemblerBuffer.h: Copied from masm/X86Assembler.h.
        (JSC::AssemblerBuffer::AssemblerBuffer):
        (JSC::AssemblerBuffer::~AssemblerBuffer):
        (JSC::AssemblerBuffer::ensureSpace):
        (JSC::AssemblerBuffer::isAligned):
        (JSC::AssemblerBuffer::putByteUnchecked):
        (JSC::AssemblerBuffer::putByte):
        (JSC::AssemblerBuffer::putShortUnchecked):
        (JSC::AssemblerBuffer::putShort):
        (JSC::AssemblerBuffer::putIntUnchecked):
        (JSC::AssemblerBuffer::putInt):
        (JSC::AssemblerBuffer::data):
        (JSC::AssemblerBuffer::size):
        (JSC::AssemblerBuffer::reset):
        (JSC::AssemblerBuffer::executableCopy):
        (JSC::AssemblerBuffer::grow):
        * assembler/X86Assembler.h: Copied from masm/X86Assembler.h.
        * masm: Removed.
        * masm/X86Assembler.h: Removed.
        * wtf/Platform.h:

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

11 years ago2008-11-16 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Mon, 17 Nov 2008 06:19:50 +0000 (06:19 +0000)]
2008-11-16  Geoffrey Garen  <ggaren@apple.com>

        Not reviewed.

        Changed "window." to "this." to unbreak these test I just broke in
        non-browser builds.

        * fast/js/resources/duplicate-param-gc-crash.js:
        (gc):
        * fast/js/resources/var-shadows-arg-gc-crash.js:
        (gc):

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