WebKit-https.git
12 years ago - fix Windows build
darin@apple.com [Wed, 19 Dec 2007 00:34:00 +0000 (00:34 +0000)]
    - fix Windows build

        * pcre/pcre_exec.cpp:
        (jsRegExpExecute): Change back from false/true to 0/1 -- I probably should not have
        deleted MATCH_MATCH and MATCH_NOMATCH, but I'm going to leave them out.

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

12 years ago * Scripts/do-webcore-rename: Plan more renaming.
darin@apple.com [Tue, 18 Dec 2007 23:40:35 +0000 (23:40 +0000)]
    * Scripts/do-webcore-rename: Plan more renaming.

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

12 years ago <rdar://problem/5649911> REGRESSION (304-306A9): Typing 'p' in popup menu...
sfalken@apple.com [Tue, 18 Dec 2007 23:38:20 +0000 (23:38 +0000)]
    <rdar://problem/5649911> REGRESSION (304-306A9): Typing 'p' in popup menu for type-to-select brings up Safari Help

        Need to translate the char back into a key code for posting our WM_KEYDOWN.

        Reviewed by Ada.

        * platform/win/PopupMenuWin.cpp:
        (WebCore::PopupWndProc):

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

12 years ago <rdar://problem/5651534> REGRESSION(r28764-r28765): GDI leak drawing text...
sfalken@apple.com [Tue, 18 Dec 2007 22:56:48 +0000 (22:56 +0000)]
    <rdar://problem/5651534> REGRESSION(r28764-r28765): GDI leak drawing text when no appropriate font is available

        Our captured metafile from Uniscribe may contain multiple calls to CreateFontIndirect.
        Only create a font with the last one.

        Reviewed by Mitz, Darin.

        * platform/graphics/win/FontCacheWin.cpp:
        (WebCore::metaFileEnumProc):
        (WebCore::FontCache::getFontDataForCharacters):

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

12 years ago - fix failing regression test
darin@apple.com [Tue, 18 Dec 2007 22:32:47 +0000 (22:32 +0000)]
    - fix failing regression test

        * fast/regex/resources/TEMPLATE.html: Updated this template -- I accidentally landed
        the one that was copied without updating the paths.
        * fast/regex/slow.html: Regenerated.

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

12 years ago Reviewed by Darin.
alice.liu@apple.com [Tue, 18 Dec 2007 21:50:49 +0000 (21:50 +0000)]
    Reviewed by Darin.

        Fixed <rdar://problem/5646454> REGRESSION: dom/xhtml/level2/html/HTMLDocument12 fails on Leopard

        * fast/cookies/local-file-can-set-cookies.html:
        cookies are matched by domain and path, and since layout tests are file URLs,
        they all match on domain.  setting a cookie without specifying the path will
        make CFNetwork pick up the path from the URL automatically.  Since
        fast/cookies/local-file-can-set-cookies.html set a specific path of /, that
        cookie will be set for EVERY local file loaded in Safari.   removing that
        component from the cookie string will fix the problem.

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

12 years ago2007-12-17 Brent Fulgham <bfulgham@gmail.com>
alp@webkit.org [Tue, 18 Dec 2007 21:37:00 +0000 (21:37 +0000)]
2007-12-17  Brent Fulgham  <bfulgham@gmail.com>

        Reviewed by Darin.

        http://bugs.webkit.org/show_bug.cgi?id=16464
        Modify WebCore to use win32 thread primitives

        Updates to support native windows threading primitives
        rather than pthreads emulation library.

        * WebCore.vcproj/WebCore.vcproj:
        * config.h:
        * platform/Threading.h:
        * platform/win/MutexWin.cpp: Added.
        (WebCore::Mutex::Mutex):
        (WebCore::Mutex::~Mutex):
        (WebCore::Mutex::lock):
        (WebCore::Mutex::tryLock):
        (WebCore::Mutex::unlock):
        * platform/win/ThreadConditionWin.cpp: Added.
        (WebCore::ThreadCondition::ThreadCondition):
        (WebCore::ThreadCondition::~ThreadCondition):
        (WebCore::ThreadCondition::wait):
        (WebCore::ThreadCondition::signal):
        (WebCore::ThreadCondition::broadcast):
        * platform/win/ThreadingWin.cpp:
        (WebCore::threadMapMutex):
        (WebCore::threadMap):
        (WebCore::storeThreadHandleByIdentifier):
        (WebCore::identifierByThreadHandle):
        (WebCore::threadHandleForIdentifier):
        (WebCore::clearThreadHandleForIdentifier):
        (WebCore::createThread):
        (WebCore::waitForThreadCompletion):
        (WebCore::detachThread):
        (WebCore::currentThread):

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

12 years ago2007-12-18 Rodney Dawes <dobey@wayofthemonkey.com>
alp@webkit.org [Tue, 18 Dec 2007 21:36:31 +0000 (21:36 +0000)]
2007-12-18  Rodney Dawes  <dobey@wayofthemonkey.com>

        Reviewed by Darin Adler.

        Handle EINTR when set by select() and try the select() again
        http://bugs.webkit.org/show_bug.cgi?id=16071

        * platform/network/curl/ResourceHandleManager.cpp:
        (ResourceHandleManager::downloadTimerCallback):

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

12 years agoJavaScriptCore:
darin@apple.com [Tue, 18 Dec 2007 19:30:05 +0000 (19:30 +0000)]
JavaScriptCore:

        Reviewed by Geoff.

        - test for http://bugs.webkit.org/show_bug.cgi?id=16458
          REGRESSION (r28164): regular expressions can now hang due to lack of a match limit
          <rdar://problem/5636067>

        Test: fast/regex/slow.html

        Slows down SunSpider a bit (about 1.01x); filed a bug to follow up on that:
        http://bugs.webkit.org/show_bug.cgi?id=16503

        * pcre/pcre.h: Changed name of error code to not specifically mention "recursion".
        * pcre/pcre_exec.cpp:
        (match): Replaced the depth limit, MATCH_RECURSION_LIMIT, with a total match looping
        limit, matchLimit. Also eliminated the constants for MATCH_MATCH and MATCH_NOMATCH,
        since they are just true and false (1 and 0).
        (jsRegExpExecute): More of the MATCH_MATCH change.

LayoutTests:

        Reviewed by Geoff.

        - test for http://bugs.webkit.org/show_bug.cgi?id=16458
          REGRESSION (r28164): regular expressions can now hang due to lack of a match limit

        * fast/regex/resources: Added.
        * fast/regex/resources/TEMPLATE.html: Copied from fast/js/resources/TEMPLATE.html.
        * fast/regex/resources/slow.js: Added.
        * fast/regex/slow-expected.txt: Added.
        * fast/regex/slow.html: Added.

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

12 years ago Reviewed by Dave Hyatt.
mitz@apple.com [Tue, 18 Dec 2007 18:58:57 +0000 (18:58 +0000)]
    Reviewed by Dave Hyatt.

        - avoid the simplified Chinese font linking code for characters that are
          not in any Windows code page

        * platform/graphics/win/FontCacheWin.cpp:
        (WebCore::FontCache::getFontDataForCharacters):

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

12 years ago Reviewed by John Sullivan.
mitz@apple.com [Tue, 18 Dec 2007 18:35:59 +0000 (18:35 +0000)]
    Reviewed by John Sullivan.

        - remove passing test

        * platform/win/Skipped: Removed fast/text/international/wrap-CJK-001.html

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

12 years ago Reviewed by Adele
beidson@apple.com [Tue, 18 Dec 2007 18:19:13 +0000 (18:19 +0000)]
    Reviewed by Adele

        <rdar://problem/5525770> REGRESSION: HTTP Auth protected favicon request results in a password sheet

        Some http-auth protected sites have the main resource(s) unprotected, but many subresources are
        protected by authentication.  Occasionally one can view the main page of a site but the favicon
        is behind the iron curtain - in these cases, we should *not* prompt for a username and password
        solely for the favicon.

        * loader/ResourceLoader.h: Make didReceiveAuthenticationChallenge virtual

        * loader/SubresourceLoader.cpp:
        (WebCore::SubresourceLoader::didReceiveAuthenticationChallenge): Now that this method
          is virtual from ResourceLoader, SubresourceLoader can override.  First call to the
          SubresourceLoaderClient.  If they cancel the resource load, return early. Otherwise, let
          ResourceLoader work its magic (resulting in the auth sheet coming down)
        * loader/SubresourceLoader.h:

        * loader/SubresourceLoaderClient.h:
        (WebCore::SubresourceLoaderClient::didReceiveAuthenticationChallenge):

        * loader/icon/IconLoader.cpp:
        (WebCore::IconLoader::didReceiveAuthenticationChallenge): Cancel the resource load, since we should
          never prompt the user for credentials just for a favicon.
        * loader/icon/IconLoader.h:

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

12 years ago Reviewed by Brady
sullivan@apple.com [Tue, 18 Dec 2007 17:07:55 +0000 (17:07 +0000)]
    Reviewed by Brady

        - fixed <rdar://problem/5652380> Initial prompt shows "" for databases with no user-visible name

        * storage/DatabaseTracker.cpp:
        (WebCore::DatabaseTracker::canEstablishDatabase):
        pass "name" instead of "displayName" if there's no displayName

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

12 years ago Reviewed by Eric.
mjs@apple.com [Tue, 18 Dec 2007 09:27:00 +0000 (09:27 +0000)]
    Reviewed by Eric.

        - give an extra digit of precision for small differences.

        * resources/sunspider-compare-results.js:

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

12 years ago Reviewed by Maciej Stachowiak.
mitz@apple.com [Tue, 18 Dec 2007 06:01:20 +0000 (06:01 +0000)]
    Reviewed by Maciej Stachowiak.

        - restore ButtonFace and ThreeDFace to their previous values for non-Mac
          platforms. The Mac port also uses the same values for now instead
          of NSColor-based ones.

        * rendering/RenderTheme.cpp:
        (WebCore::RenderTheme::systemColor):

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

12 years ago2007-12-17 Rodney Dawes <dobey@wayofthemonkey.com>
mrowe@apple.com [Tue, 18 Dec 2007 05:24:43 +0000 (05:24 +0000)]
2007-12-17  Rodney Dawes  <dobey@wayofthemonkey.com>

        Reviewed by Maciej Stachowiak.

        Define WTF_USE_NPOBJECT and WTF_USE_JAVASCRIPTCORE_BINDINGS for GTK+
        Add required Frame::createScriptInstanceForWidget to FrameGtk

        * config.h:
        * page/gtk/FrameGtk.cpp (Frame::createScriptInstanceForWidget):

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

12 years agoSunSpider:
mjs@apple.com [Tue, 18 Dec 2007 04:39:33 +0000 (04:39 +0000)]
SunSpider:

        Reviewed by Eric.

        - work around IE layout bugs

        * hosted/sunspider.css:

WebKitSite:

        Reviewed by Eric.

        - work around IE layout bugs

        * perf/sunspider-0.9/sunspider.css:

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

12 years ago Reviewed by Adam.
alice.liu@apple.com [Tue, 18 Dec 2007 02:21:59 +0000 (02:21 +0000)]
    Reviewed by Adam.

        Fixed <rdar://5566435> window with no scrollbars can be scrolled

        * platform/win/ScrollViewWin.cpp:
        (WebCore::ScrollView::maximumScroll):
        corrected maximumScroll() to account for scrolling not allowed.
        (WebCore::ScrollView::wheelEvent):

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

12 years ago Reviewed by Adam.
alice.liu@apple.com [Tue, 18 Dec 2007 02:10:56 +0000 (02:10 +0000)]
    Reviewed by Adam.

        Test for <rdar://problem/5566435> window with no scrollbars can still be scrolled with wheelevent

        * fast/events/attempt-scroll-with-no-scrollbars-expected.txt: Added.
        * fast/events/attempt-scroll-with-no-scrollbars.html: Added.
        * platform/mac/Skipped:
        Adding to mac Skipped list because of <rdar://problem/5643675> window.scrollTo scrolls a window with no scrollbars
        * platform/win/Skipped:
        Adding to win Skipped list because of <rdar://problem/5132009> Windows DRT does not support multiple windows

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

12 years ago Reviewed by Sam.
darin@apple.com [Tue, 18 Dec 2007 01:30:07 +0000 (01:30 +0000)]
    Reviewed by Sam.

        - <rdar://4516170> Back/Forward Cache on Windows

        * WebFrame.cpp:
        (WebFrame::forceLayout): Implemented this. Just calling through to
        Frame::forceLayout matches the Mac pretty well and should be enough
        for now. Without this we won't repaint the new page when we go back
        and forward.
        (WebFrame::dispatchWillSubmitForm): Use COMPtr's AdoptCOM constructor
        instead of the adoptRef function.
        (WebFrame::restoreViewState): Removed unneeded notImplemented() call.
        This is implemented as much as it needs to be.
        (WebFrame::shouldGoToHistoryItem): Ditto.
        (WebFrame::saveViewStateToItem): Ditto.
        (WebFrame::canCachePage): Ditto, also changed it to return true. This
        is what was preventing the back/forward cache from running, and there's
        no need for any additional checks in the Windows version.

        * WebView.cpp:
        (PreferencesChangedOrRemovedObserver::onNotify): Fix backwards null check
        that was preventing this notification from ever being sent, which in turn
        meant that page cache had a capacity of 0.
        (WebView::initWithFrame): Removed unneeded setUsesPageCache(false) code.
        This actually was ineffective and ended up doing no harm, but we don't
        need it.

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

12 years ago - disabling this test until we can find a way to make it pass on diverse...
darin@apple.com [Mon, 17 Dec 2007 22:54:54 +0000 (22:54 +0000)]
    - disabling this test until we can find a way to make it pass on diverse machines

        * fast/css/css2-system-color.html: Removed.
        * fast/css/css2-system-color.html-disabled: Copied from fast/css/css2-system-color.html.

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

12 years ago2007-12-14 Juan A. Suarez Romero <jasuarez@igalia.com>
alp@webkit.org [Mon, 17 Dec 2007 20:54:49 +0000 (20:54 +0000)]
2007-12-14  Juan A. Suarez Romero  <jasuarez@igalia.com>

        Reviewed by Alp Toker.

        http://bugs.webkit.org/show_bug.cgi?id=16042
        [GTK] Eliminate webkit_init()

        Move webkit initialization to WebView class init.

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

12 years ago2007-12-17 Luca Bruno <lethalman88@gmail.com>
alp@webkit.org [Mon, 17 Dec 2007 20:51:36 +0000 (20:51 +0000)]
2007-12-17  Luca Bruno  <lethalman88@gmail.com>

        Reviewed by Alp Toker.

        http://bugs.webkit.org/show_bug.cgi?id=13542
        gdklauncher doesnt change URL in adress GTKEntry.

        Let DOMDocument observers do their work before emitting title-changed.
        The load-committed signal has been added for both the view and the frame.

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

12 years ago2007-12-17 Jon Honeycutt <jhoneycutt@apple.com>
jhoneycutt@apple.com [Mon, 17 Dec 2007 19:48:29 +0000 (19:48 +0000)]
2007-12-17  Jon Honeycutt  <jhoneycutt@apple.com>

        Reviewed by Darin.

        <rdar://problem/5651291> REGRESSION: Flash content doesn't display
        (www.adobe.com)

        We were passing NPEvent** instead of NPEvent* to NPP_HandleEvent.

        * plugins/win/PluginViewWin.cpp:
        (WebCore::PluginViewWin::dispatchNPEvent): Changed to take NPEvent&, not
        NPEvent*
        (WebCore::PluginViewWin::paint): Pass NPEvent, not NPEvent*
        (WebCore::PluginViewWin::handleKeyboardEvent): same
        (WebCore::PluginViewWin::handleMouseEvent): same
        * plugins/win/PluginViewWin.h:

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

12 years ago Fix argument to window.open.
andersca@apple.com [Mon, 17 Dec 2007 19:44:31 +0000 (19:44 +0000)]
    Fix argument to window.open.

        * http/tests/misc/window-open-then-write.html:

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

12 years ago2007-12-17 Mark Rowe <mrowe@apple.com>
mrowe@apple.com [Mon, 17 Dec 2007 18:42:35 +0000 (18:42 +0000)]
2007-12-17  Mark Rowe  <mrowe@apple.com>

        Update test results after r28812.

        * platform/mac-tiger/fast/css/css2-system-color-expected.txt:
        * platform/mac/fast/css/css2-system-color-expected.txt:

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

12 years ago Reviewed by Darin.
ap@webkit.org [Mon, 17 Dec 2007 18:34:17 +0000 (18:34 +0000)]
    Reviewed by Darin.

        Live to the promise of never making AppKit special character codes visible via DOM.

        Test: fast/events/arrow-keys-on-body.html

        * page/EventHandler.cpp:
        (WebCore::EventHandler::keyEvent): Check for empty keypress characters after disambiguation,
        to let quirks-aware code strip special charactrers.
        * platform/mac/KeyEventMac.mm:
        (WebCore::PlatformKeyboardEvent::disambiguateKeyDownEvent): If not in keyboard event quirks
        mode, remove the text if it's a special character.

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

12 years ago2007-12-17 Mark Rowe <mrowe@apple.com>
mrowe@apple.com [Mon, 17 Dec 2007 18:21:43 +0000 (18:21 +0000)]
2007-12-17  Mark Rowe  <mrowe@apple.com>

        Reviewed by Darin Adler.

        Fix incorrect array size and incorrect array index in convertNSColorToColor.

        * rendering/RenderThemeMac.mm:
        (WebCore::convertNSColorToColor):

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

12 years ago Reviewed by Mark Rowe.
darin@apple.com [Mon, 17 Dec 2007 17:53:23 +0000 (17:53 +0000)]
    Reviewed by Mark Rowe.

        - fix http://bugs.webkit.org/show_bug.cgi?id=16468
          REGRESSION(r28781): Crash running storage/transaction_callback_exception_crash.html

        * storage/DatabaseThread.cpp:
        (WebCore::DatabaseThread::dispatchNextTaskIdentifier): Use a RefPtr for the database
        because there's no guarantee it won't lose its last reference otherwise.

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

12 years ago Reviewed by Maciej Stachowiak.
mitz@apple.com [Mon, 17 Dec 2007 17:09:56 +0000 (17:09 +0000)]
    Reviewed by Maciej Stachowiak.

        - fix <rdar://problem/5333260> Some Chinese characters in Text Encoding menu are bold, others are not
          and <rdar://problem/5280188> Chinese text looks worse on Safari for Windows cf. Safari for Mac

        * platform/graphics/win/FontCacheWin.cpp:
        (WebCore::FontCache::getFontDataForCharacters): To ensure that font
        linking gives consistent results for characters that are exclusive to
        the simplified Chinese code page and characters that belong to that
        code page and other code pages, always ask to map to simplified Chinese
        alone first.

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

12 years ago2007-12-17 Christian Dywan <christian@twotoasts.de>
alp@webkit.org [Mon, 17 Dec 2007 16:18:44 +0000 (16:18 +0000)]
2007-12-17  Christian Dywan  <christian@twotoasts.de>

        Reviewed by Alp Toker.

        http://bugs.webkit.org/show_bug.cgi?id=16378
        Implement Icon for Gtk

        Icon provides a GdkPixbuf containing a themed icon.
        The icon theme is probed for an icon name according to the
        Icon Naming Specification or conventional Gnome icon names respectively.

        See http://standards.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html

        * platform/graphics/Icon.h:
        * platform/graphics/gtk/IconGtk.cpp:
        (WebCore::Icon::~Icon):
        (WebCore::lookupIconName):
        (WebCore::Icon::newIconForFile):
        (WebCore::Icon::paint):

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

12 years agoSunSpider:
mjs@apple.com [Mon, 17 Dec 2007 11:50:53 +0000 (11:50 +0000)]
SunSpider:

        Reviewed by Mark.

        - fix compare feature

        * hosted/sunspider-results.html:

WebKitSite:

        Reviewed by Mark.

        - fix compare feature

        * perf/sunspider-0.9/sunspider-results.html:

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

12 years ago Rubber stamped by Mark.
mjs@apple.com [Mon, 17 Dec 2007 09:44:17 +0000 (09:44 +0000)]
    Rubber stamped by Mark.

        - Add a copy of SunSpider 0.9 to the site

        * perf: Added.
        * perf/sunspider-0.9: Added.
        * perf/sunspider-0.9/3d-cube.html: Added.
        * perf/sunspider-0.9/3d-morph.html: Added.
        * perf/sunspider-0.9/3d-raytrace.html: Added.
        * perf/sunspider-0.9/access-binary-trees.html: Added.
        * perf/sunspider-0.9/access-fannkuch.html: Added.
        * perf/sunspider-0.9/access-nbody.html: Added.
        * perf/sunspider-0.9/access-nsieve.html: Added.
        * perf/sunspider-0.9/bitops-3bit-bits-in-byte.html: Added.
        * perf/sunspider-0.9/bitops-bits-in-byte.html: Added.
        * perf/sunspider-0.9/bitops-bitwise-and.html: Added.
        * perf/sunspider-0.9/bitops-nsieve-bits.html: Added.
        * perf/sunspider-0.9/controlflow-recursive.html: Added.
        * perf/sunspider-0.9/crypto-aes.html: Added.
        * perf/sunspider-0.9/crypto-md5.html: Added.
        * perf/sunspider-0.9/crypto-sha1.html: Added.
        * perf/sunspider-0.9/date-format-tofte.html: Added.
        * perf/sunspider-0.9/date-format-xparb.html: Added.
        * perf/sunspider-0.9/math-cordic.html: Added.
        * perf/sunspider-0.9/math-partial-sums.html: Added.
        * perf/sunspider-0.9/math-spectral-norm.html: Added.
        * perf/sunspider-0.9/regexp-dna.html: Added.
        * perf/sunspider-0.9/string-base64.html: Added.
        * perf/sunspider-0.9/string-fasta.html: Added.
        * perf/sunspider-0.9/string-tagcloud.html: Added.
        * perf/sunspider-0.9/string-unpack-code.html: Added.
        * perf/sunspider-0.9/string-validate-input.html: Added.
        * perf/sunspider-0.9/sunspider-analyze-results.js: Added.
        * perf/sunspider-0.9/sunspider-compare-results.js: Added.
        * perf/sunspider-0.9/sunspider-driver.html: Added.
        * perf/sunspider-0.9/sunspider-record-result.js: Added.
        * perf/sunspider-0.9/sunspider-results.html: Added.
        * perf/sunspider-0.9/sunspider-test-prefix.js: Added.
        * perf/sunspider-0.9/sunspider.css: Added.
        * perf/sunspider-0.9/sunspider.html: Added.

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

12 years ago Reviewed by Mark.
mjs@apple.com [Mon, 17 Dec 2007 09:43:01 +0000 (09:43 +0000)]
    Reviewed by Mark.

        - Change the format of the output URL to be shorter, to meet IE constraints

        * hosted/sunspider-driver.html:
        * hosted/sunspider-results.html:

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

12 years ago - speculative build fix for non-gcc platforms
darin@apple.com [Mon, 17 Dec 2007 08:56:54 +0000 (08:56 +0000)]
    - speculative build fix for non-gcc platforms

        * pcre/pcre_exec.cpp: (match): Remove unused cases from return switch.

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

12 years ago Reviewed by Mitz.
weinig@apple.com [Mon, 17 Dec 2007 07:19:08 +0000 (07:19 +0000)]
    Reviewed by Mitz.

        Fix for http://bugs.webkit.org/show_bug.cgi?id=16466
        Move the JS Location object to its own file

        - Move Location into its own file and rename it JSLocation.

        * DerivedSources.make:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * WebCoreSources.bkl:
        * bindings/js/JSDocumentCustom.cpp:
        * bindings/js/JSLocation.cpp: Copied from WebCore/bindings/js/kjs_window.cpp.
        (WebCore::):
        (WebCore::JSLocation::JSLocation):
        (WebCore::JSLocation::getValueProperty):
        (WebCore::JSLocation::getOwnPropertySlot):
        (WebCore::JSLocation::put):
        (WebCore::JSLocationProtoFuncReplace::callAsFunction):
        (WebCore::JSLocationProtoFuncReload::callAsFunction):
        (WebCore::JSLocationProtoFuncAssign::callAsFunction):
        (WebCore::JSLocationProtoFuncToString::callAsFunction):
        * bindings/js/JSLocation.h: Copied from WebCore/bindings/js/kjs_window.h.
        (WebCore::JSLocation::):
        (WebCore::JSLocation::frame):
        (WebCore::JSLocation::classInfo):
        * bindings/js/kjs_window.cpp:
        (KJS::Window::location):
        * bindings/js/kjs_window.h:
        * history/CachedPage.cpp:

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

12 years ago Reviewed by Sam Weinig.
mitz@apple.com [Mon, 17 Dec 2007 06:26:50 +0000 (06:26 +0000)]
    Reviewed by Sam Weinig.

        - make 'cursor: copy' and 'cursor: none' work.

        Already covered by manual-tests/cursor.html

        * rendering/RenderStyle.h: Increase the _cursor_style field to 6 bits,
        needed for the 33rd and 34th cursor values.

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

12 years agoSpeculative build fix for non-Mac platforms.
mrowe@apple.com [Mon, 17 Dec 2007 06:01:22 +0000 (06:01 +0000)]
Speculative build fix for non-Mac platforms.

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

12 years agoRefactor Mac plugin stream code to use the shared NetscapePlugInStreamLoader implemen...
mrowe@apple.com [Mon, 17 Dec 2007 06:00:49 +0000 (06:00 +0000)]
Refactor Mac plugin stream code to use the shared NetscapePlugInStreamLoader implementation.

Reviewed by Maciej Stachowiak.

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

12 years ago Reviewed by Maciej.
weinig@apple.com [Mon, 17 Dec 2007 04:50:53 +0000 (04:50 +0000)]
    Reviewed by Maciej.

        Yet more of http://bugs.webkit.org/show_bug.cgi?id=16385
        Cleanup kjs_window

        - Move ScheduledAction into its own file and put it in the WebCore namespace.

        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * WebCoreSources.bkl:
        * bindings/js/PausedTimeouts.cpp:
        * bindings/js/PausedTimeouts.h:
        * bindings/js/ScheduledAction.cpp: Copied from bindings/js/kjs_window.cpp.
        (WebCore::ScheduledAction::ScheduledAction):
        (WebCore::ScheduledAction::execute):
        * bindings/js/ScheduledAction.h: Copied from bindings/js/kjs_window.h.
        (WebCore::ScheduledAction::ScheduledAction):
        * bindings/js/kjs_window.cpp:
        (KJS::DOMWindowTimer::DOMWindowTimer):
        (KJS::DOMWindowTimer::action):
        (KJS::DOMWindowTimer::takeAction):
        (KJS::Window::installTimeout):
        (KJS::Window::timerFired):
        * bindings/js/kjs_window.h:

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

12 years ago Reviewed by Maciej.
darin@apple.com [Mon, 17 Dec 2007 04:19:25 +0000 (04:19 +0000)]
    Reviewed by Maciej.

        - http://bugs.webkit.org/show_bug.cgi?id=16438
        - removed some more unused code
        - changed quite a few more names to WebKit-style
        - moved more things out of pcre_internal.h
        - changed some indentation to WebKit-style
        - improved design of the functions for reading and writing
          2-byte values from the opcode stream (in pcre_internal.h)

        * pcre/dftables.cpp:
        (main): Added the kjs prefix a normal way in lieu of using macros.

        * pcre/pcre_compile.cpp: Moved some definitions here from pcre_internal.h.
        (errorText): Name changes, fewer typedefs.
        (checkEscape): Ditto. Changed uppercase conversion to use toASCIIUpper.
        (isCountedRepeat): Name change.
        (readRepeatCounts): Name change.
        (firstSignificantOpcode): Got rid of the use of OP_lengths, which is
        very lightly used here. Hard-coded the length of OP_BRANUMBER.
        (firstSignificantOpcodeSkippingAssertions): Ditto. Also changed to
        use the advanceToEndOfBracket function.
        (getOthercaseRange): Name changes.
        (encodeUTF8): Ditto.
        (compileBranch): Name changes. Removed unused after_manual_callout and
        the code to handle it. Removed code to handle OP_ONCE since we never
        emit this opcode. Changed to use advanceToEndOfBracket in more places.
        (compileBracket): Name changes.
        (branchIsAnchored): Removed code to handle OP_ONCE since we never emit
        this opcode.
        (bracketIsAnchored): Name changes.
        (branchNeedsLineStart): More fo the same.
        (bracketNeedsLineStart): Ditto.
        (branchFindFirstAssertedCharacter): Removed OP_ONCE code.
        (bracketFindFirstAssertedCharacter): More of the same.
        (calculateCompiledPatternLengthAndFlags): Ditto.
        (returnError): Name changes.
        (jsRegExpCompile): Ditto.

        * pcre/pcre_exec.cpp: Moved some definitions here from pcre_internal.h.
        (matchRef): Updated names.
        Improved macros to use the do { } while(0) idiom so they expand to single
        statements rather than to blocks or multiple statements. And refeactored
        the recursive match macros.
        (MatchStack::pushNewFrame): Name changes.
        (getUTF8CharAndIncrementLength): Name changes.
        (match): Name changes. Removed the ONCE opcode.
        (jsRegExpExecute): Name changes.

        * pcre/pcre_internal.h: Removed quite a few unneeded includes. Rewrote
        quite a few comments. Removed the macros that add kjs prefixes to the
        functions with external linkage; instead renamed the functions. Removed
        the unneeded typedefs pcre_uint16, pcre_uint32, and uschar. Removed the
        dead and not-all-working code for LINK_SIZE values other than 2, although
        we aim to keep the abstraction working. Removed the OP_LENGTHS macro.
        (put2ByteValue): Replaces put2ByteOpcodeValueAtOffset.
        (get2ByteValue): Replaces get2ByteOpcodeValueAtOffset.
        (put2ByteValueAndAdvance): Replaces put2ByteOpcodeValueAtOffsetAndAdvance.
        (putLinkValueAllowZero): Replaces putOpcodeValueAtOffset; doesn't do the
        addition, since a comma is really no better than a plus sign. Added an
        assertion to catch out of range values and changed the parameter type to
        int rather than unsigned.
        (getLinkValueAllowZero): Replaces getOpcodeValueAtOffset.
        (putLinkValue): New function that most former callers of the
        putOpcodeValueAtOffset function can use; asserts the value that is
        being stored is non-zero and then calls putLinkValueAllowZero.
        (getLinkValue): Ditto.
        (putLinkValueAndAdvance): Replaces putOpcodeValueAtOffsetAndAdvance. No
        caller was using an offset, which makes sense given the advancing behavior.
        (putLinkValueAllowZeroAndAdvance): Ditto.
        (isBracketOpcode): Added. For use in an assertion.
        (advanceToEndOfBracket): Renamed from moveOpcodePtrPastAnyAlternateBranches,
        and removed comments about how it's not well designed. This function takes
        a pointer to the beginning of a bracket and advances to the end of the
        bracket.

        * pcre/pcre_tables.cpp: Updated names.
        * pcre/pcre_ucp_searchfuncs.cpp:
        (kjs_pcre_ucp_othercase): Ditto.
        * pcre/pcre_xclass.cpp:
        (getUTF8CharAndAdvancePointer): Ditto.
        (kjs_pcre_xclass): Ditto.
        * pcre/ucpinternal.h: Ditto.

        * wtf/ASCIICType.h:
        (WTF::isASCIIAlpha): Added an int overload, like the one we already have for
        isASCIIDigit.
        (WTF::isASCIIAlphanumeric): Ditto.
        (WTF::isASCIIHexDigit): Ditto.
        (WTF::isASCIILower): Ditto.
        (WTF::isASCIISpace): Ditto.
        (WTF::toASCIILower): Ditto.
        (WTF::toASCIIUpper): Ditto.

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

12 years ago2007-12-16 Alp Toker <alp@atoker.com>
alp@webkit.org [Mon, 17 Dec 2007 04:08:39 +0000 (04:08 +0000)]
2007-12-16  Alp Toker  <alp@atoker.com>

        Reviewed by Maciej.

        http://bugs.webkit.org/show_bug.cgi?id=16356
        [GTK] Integrate GStreamer video with the graphics backend

        Integrate the GStreamer media backend with the Cairo graphics backend.
        There are still some issues: Data is copied more often than necessary,
        and repaint() is not called, causing transformed video not to update
        sometimes.

        * WebCore.pro:
        * platform/graphics/gtk/MediaPlayerPrivateGStreamer.cpp:
        (WebCore::MediaPlayerPrivate::MediaPlayerPrivate):
        (WebCore::MediaPlayerPrivate::~MediaPlayerPrivate):
        (WebCore::MediaPlayerPrivate::currentTime):
        (WebCore::MediaPlayerPrivate::setEndTime):
        (WebCore::MediaPlayerPrivate::seeking):
        (WebCore::MediaPlayerPrivate::naturalSize):
        (WebCore::MediaPlayerPrivate::setMuted):
        (WebCore::MediaPlayerPrivate::setRect):
        (WebCore::MediaPlayerPrivate::setVisible):
        (WebCore::MediaPlayerPrivate::repaint):
        (WebCore::MediaPlayerPrivate::paint):
        (WebCore::MediaPlayerPrivate::createGSTPlayBin):
        * platform/graphics/gtk/MediaPlayerPrivateGStreamer.h:
        * platform/graphics/gtk/VideoSinkGStreamer.cpp: Added.
        (webkit_video_sink_base_init):
        (webkit_video_sink_init):
        (webkit_video_sink_idle_func):
        (webkit_video_sink_render):
        (webkit_video_sink_set_caps):
        (webkit_video_sink_dispose):
        (webkit_video_sink_finalize):
        (webkit_video_sink_set_property):
        (webkit_video_sink_get_property):
        (webkit_video_sink_stop):
        (webkit_video_sink_class_init):
        (webkit_video_sink_new):
        (webkit_video_sink_set_surface):
        (plugin_init):
        * platform/graphics/gtk/VideoSinkGStreamer.h: Added.

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

12 years ago2007-12-16 Mark Rowe <mrowe@apple.com>
mrowe@apple.com [Mon, 17 Dec 2007 02:09:28 +0000 (02:09 +0000)]
2007-12-16  Mark Rowe  <mrowe@apple.com>

        Mac build fix.

        * WebCore.xcodeproj/project.pbxproj: Remove NetscapePlugInStreamLoader.cpp from the WebCore target.
        Mac currently has its own implementation in NetscapePlugInStreamLoaderMac.mm which conflicts with the
        new shared implementation.

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

12 years ago2007-12-16 Rodney Dawes <dobey@wayofthemonkey.com>
mrowe@apple.com [Mon, 17 Dec 2007 01:50:18 +0000 (01:50 +0000)]
2007-12-16  Rodney Dawes  <dobey@wayofthemonkey.com>

        Reviewed by Maciej Stachowiak.

        http://bugs.webkit.org/show_bug.cgi?id=16389
        Bug 16389: Common Implementation of NetscapePlugInStreamLoader

        * WebCore.vcproj/WebCore.vcproj: Remove NetscapePlugInStreamLoaderWin.cpp.
        * loader/NetscapePlugInStreamLoader.cpp: Copy method implementations from NetscapePlugInStreamLoaderWin.cpp.
        * loader/win/NetscapePlugInStreamLoaderWin.cpp: Removed.

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

12 years ago2007-12-16 Dimitri Glazkov <dimitri@glazkov.com>
mrowe@apple.com [Mon, 17 Dec 2007 01:35:37 +0000 (01:35 +0000)]
2007-12-16  Dimitri Glazkov  <dimitri@glazkov.com>

        Reviewed by Adam Roben.

        Remove the double-quotes around the PATH variable value, in order to make it work in Windows shell.

        * FindSafari/FindSafari.cpp:
        (_tmain):

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

12 years ago2007-12-16 Brent Fulgham <bfulgham@gmail.com>
mrowe@apple.com [Mon, 17 Dec 2007 01:33:16 +0000 (01:33 +0000)]
2007-12-16  Brent Fulgham  <bfulgham@gmail.com>

        Reviewed by Adam Roben.

        http://bugs.webkit.org/show_bug.cgi?id=16315
        FindSafari needs a path-only option.

        * FindSafari/FindSafari.cpp:
        (_tmain):

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

12 years ago * fast/js/regexp-overflow-expected.txt: Updated. I accidentally checked in an
darin@apple.com [Mon, 17 Dec 2007 01:31:06 +0000 (01:31 +0000)]
    * fast/js/regexp-overflow-expected.txt: Updated. I accidentally checked in an
        out-of-date file last time.

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

12 years ago Reviewed by Darin Adler.
darin@apple.com [Mon, 17 Dec 2007 01:28:32 +0000 (01:28 +0000)]
    Reviewed by Darin Adler.

        Fix http://bugs.webkit.org/show_bug.cgi?id=16433.
        Bug 16433: LOW_BANDWIDTH_DISPLAY build is broken

        * dom/Document.cpp:
        (WebCore::Document::Document):
        * loader/FrameLoader.cpp:
        (WebCore::FrameLoader::addLowBandwidthDisplayRequest):
        (WebCore::FrameLoader::switchOutLowBandwidthDisplayIfReady):

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

12 years agoJavaScriptCore:
darin@apple.com [Mon, 17 Dec 2007 01:26:54 +0000 (01:26 +0000)]
JavaScriptCore:

        Reviewed by Maciej.

        - fix http://bugs.webkit.org/show_bug.cgi?id=16459
          REGRESSION: assertion failure with regexp with \B in a case-ignoring character range
          <rdar://problem/5646361>

        The problem was that \B was not handled properly in character classes.

        Test: fast/js/regexp-overflow.html

        * pcre/pcre_compile.cpp:
        (check_escape): Added handling of ESC_b and ESC_B in character classes here.
        Allows us to get rid of the handling of \b in character classes from all the
        call sites that handle it separately and to handle \B properly as well.
        (compileBranch): Remove the ESC_b handling, since it's not needed any more.
        (calculateCompiledPatternLengthAndFlags): Ditto.

LayoutTests:

        Reviewed by Maciej.

        - test for http://bugs.webkit.org/show_bug.cgi?id=16459
          REGRESSION: assertion failure with regexp with \B in a case-ignoring character range
          <rdar://problem/5646361>

        * fast/js/regexp-overflow-expected.txt: Updated.
        * fast/js/resources/regexp-overflow.js: Added test cases.

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

12 years ago2007-12-16 Grace Kloba <klobag@gmail.com>
mrowe@apple.com [Mon, 17 Dec 2007 01:26:46 +0000 (01:26 +0000)]
2007-12-16  Grace Kloba  <klobag@gmail.com>

        Reviewed by Darin Adler.

        Fix http://bugs.webkit.org/show_bug.cgi?id=16433.
        Bug 16433: LOW_BANDWIDTH_DISPLAY build is broken

        * dom/Document.cpp:
        (WebCore::Document::Document):
        * loader/FrameLoader.cpp:
        (WebCore::FrameLoader::addLowBandwidthDisplayRequest):
        (WebCore::FrameLoader::switchOutLowBandwidthDisplayIfReady):

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

12 years ago2007-12-16 Brent Fulgham <bfulgham@gmail.com>
mrowe@apple.com [Mon, 17 Dec 2007 01:20:57 +0000 (01:20 +0000)]
2007-12-16  Brent Fulgham  <bfulgham@gmail.com>

        Reviewed by Maciej Stachowiak.

        http://bugs.webkit.org/show_bug.cgi?id=16446.

        * building/debug.html:  Update to expand the win32 debugging instructions.

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

12 years agoFix http://bugs.webkit.org/show_bug.cgi?id=16448 ([GTK] Celtic Kane JavaScript perfor...
mrowe@apple.com [Mon, 17 Dec 2007 01:14:36 +0000 (01:14 +0000)]
Fix bugs.webkit.org/show_bug.cgi?id=16448 ([GTK] Celtic Kane JavaScript performance on Array test is slow relative to Mac).

Reviewed by Maciej Stachowiak.

* kjs/array_instance.cpp:
(KJS::compareByStringPairForQSort):
(KJS::ArrayInstance::sort): Convert JSValue's to strings once up front and then sort the
results.  This avoids calling toString twice per comparison, but requires a temporary buffer
so we only use this approach in cases where the array being sorted is not too large.

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

12 years agoWebCore:
darin@apple.com [Mon, 17 Dec 2007 00:24:48 +0000 (00:24 +0000)]
WebCore:

        Reviewed by Darin.

        More of http://bugs.webkit.org/show_bug.cgi?id=16385
        Cleanup kjs_window

        - Move PausedTimeouts into its own file and put it in the WebCore namespace.

        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * WebCoreSources.bkl:
        * bindings/js/PausedTimeouts.cpp: Copied from bindings/js/kjs_window.cpp.
        * bindings/js/PausedTimeouts.h: Copied from bindings/js/kjs_window.h.
        * bindings/js/kjs_window.cpp:
        (KJS::Window::pauseTimeouts):
        * bindings/js/kjs_window.h:
        * history/CachedPage.cpp:
        * history/CachedPage.h:
        * page/Chrome.cpp:

LayoutTests:

        Reviewed by Maciej.

        - tests for the argument handling of the executeSql function

        * storage/execute-sql-args-expected.txt: Added.
        * storage/execute-sql-args.html: Added.

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

12 years ago - try to get the system color test passing on the buildbot
darin@apple.com [Mon, 17 Dec 2007 00:17:29 +0000 (00:17 +0000)]
    - try to get the system color test passing on the buildbot

        I fear this test may be vulnerable to slight platform differences.

        * platform/mac-tiger/fast: Added.
        * platform/mac-tiger/fast/css: Added.
        * platform/mac-tiger/fast/css/css2-system-color-expected.checksum: Copied from platform/mac/fast/css/css2-system-color-expected.checksum.
        * platform/mac-tiger/fast/css/css2-system-color-expected.png: Copied from platform/mac/fast/css/css2-system-color-expected.png.
        * platform/mac-tiger/fast/css/css2-system-color-expected.txt: Copied from platform/mac/fast/css/css2-system-color-expected.txt.
        Then updated to match what the buildbot says.

        * platform/mac/fast/css/css2-system-color-expected.txt: Updated to match
        results I'm getting locally on my Leopard machine.

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

12 years ago Reviewed by Darin.
weinig@apple.com [Sun, 16 Dec 2007 23:59:02 +0000 (23:59 +0000)]
    Reviewed by Darin.

        More of http://bugs.webkit.org/show_bug.cgi?id=16385
        Cleanup kjs_window

        - Move PausedTimeouts into its own file and put it in the WebCore namespace.

        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * WebCoreSources.bkl:
        * bindings/js/PausedTimeouts.cpp: Copied from bindings/js/kjs_window.cpp.
        * bindings/js/PausedTimeouts.h: Copied from bindings/js/kjs_window.h.
        * bindings/js/kjs_window.cpp:
        (KJS::Window::pauseTimeouts):
        * bindings/js/kjs_window.h:
        * history/CachedPage.cpp:
        * history/CachedPage.h:
        * page/Chrome.cpp:

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

12 years agoWebCore:
bdakin@apple.com [Sun, 16 Dec 2007 23:08:27 +0000 (23:08 +0000)]
WebCore:

        Reviewed by Geoff.

        Make relative-size SVGs work in border-image.

        * rendering/RenderBox.cpp:
        (WebCore::RenderBox::calculateBackgroundSize):
        * rendering/RenderObject.cpp:
        (WebCore::RenderObject::paintBorderImage):

LayoutTests:

        Reviewed by Geoff.

        Tests for SVG as border-image.

        * fast/borders/resources/green-fixed-size-rect.svg: Added.
        * fast/borders/resources/green-relative-size-rect.svg: Added.
        * fast/borders/svg-as-border-image-2.html: Added.
        * fast/borders/svg-as-border-image.html: Added.
        * platform/mac/fast/borders/svg-as-border-image-2-expected.checksum: Added.
        * platform/mac/fast/borders/svg-as-border-image-2-expected.png: Added.
        * platform/mac/fast/borders/svg-as-border-image-2-expected.txt: Added.
        * platform/mac/fast/borders/svg-as-border-image-expected.checksum: Added.
        * platform/mac/fast/borders/svg-as-border-image-expected.png: Added.
        * platform/mac/fast/borders/svg-as-border-image-expected.txt: Added.

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

12 years ago Reviewed by Darin Adler and Maciej Stachowiak.
ggaren@apple.com [Sun, 16 Dec 2007 22:53:51 +0000 (22:53 +0000)]
    Reviewed by Darin Adler and Maciej Stachowiak.

        More refactoring to support global variable optimization.

        Changed SymbolTable to use RefPtr<UString::Rep> as its key instead of
        UString::Rep*. With globals, the symbol table can outlast the
        declaration node for any given symbol, so the symbol table needs to ref
        its symbol names.

        In support, specialized HashMaps with RefPtr keys to allow lookup
        via raw pointer, avoiding refcount churn.

        SunSpider reports a .6% speedup (prolly just noise).

        * JavaScriptCore.vcproj/WTF/WTF.vcproj: Added new file: wtf/RefPtrHashMap.h
        * JavaScriptCore.xcodeproj/project.pbxproj: ditto

        * kjs/JSVariableObject.cpp:
        (KJS::JSVariableObject::getPropertyNames): Symbol table keys are RefPtrs now.

        * kjs/SymbolTable.h: Modified key traits to match RefPtr. Added a
        static Rep* for null, which helps compute the deletedValue() trait.

        * wtf/HashMap.h: #include the RefPtr specialization so everyone can use it.

        * wtf/RefPtrHashMap.h: Copied from wtf/HashMap.h. Added overloaded versions
        of find(), contains(), get(), set(), add(), remove(), and take() that take
        raw pointers as keys.

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

12 years ago - fix Tiger build (my fault it was broken)
darin@apple.com [Sun, 16 Dec 2007 20:14:25 +0000 (20:14 +0000)]
    - fix Tiger build (my fault it was broken)

        * rendering/RenderThemeMac.mm: Define NSUInteger if on Tiger.

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

12 years agoWebCore:
darin@apple.com [Sun, 16 Dec 2007 19:26:02 +0000 (19:26 +0000)]
WebCore:

        Reviewed by Darin.

        http://bugs.webkit.org/show_bug.cgi?id=6129
        Incomplete implementation of CSS 2.1 system colors

        Test: fast/css/css2-system-color.html

        Based on original patch by Rob Buis.

        System colors are retrieved from NSColor as appropriate. If the color is a pattern color
        (and therefore NSColor won't let us retrieve a color from it) we draw a 1x1 image of the
        color and sample that to get a solid color.

        * css/CSSStyleSelector.cpp:
        (WebCore::):
        (WebCore::colorForCSSValue):
        * rendering/RenderTheme.cpp:
        (WebCore::RenderTheme::systemColor):
        * rendering/RenderTheme.h:
        * rendering/RenderThemeMac.h:
        * rendering/RenderThemeMac.mm:
        (WebCore::getSystemColor):
        (WebCore::RenderThemeMac::platformColorsDidChange):
        (WebCore::RenderThemeMac::systemColor):

LayoutTests:

        Reviewed by Darin.

        http://bugs.webkit.org/show_bug.cgi?id=6129
        Incomplete implementation of CSS 2.1 system colors

        Add layout test for this bug and update tests for new system-derived colors

        * fast/css/css2-system-color.html: Added.
        * platform/mac/fast/css/css2-system-color-expected.checksum: Added.
        * platform/mac/fast/css/css2-system-color-expected.png: Added.
        * platform/mac/fast/css/css2-system-color-expected.txt: Added.
        * platform/mac/fast/css/css2-system-fonts-expected.checksum:
        * platform/mac/tables/mozilla/bugs/bug103533-expected.txt:

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

12 years agoWebCore:
mitz@apple.com [Sun, 16 Dec 2007 18:40:02 +0000 (18:40 +0000)]
WebCore:

        Reviewed by Darin Adler.

        - fix http://bugs.webkit.org/show_bug.cgi?id=16426
          Divs with overflow:auto: scrollbars not correctly updated when contents change

        Test: fast/overflow/scrollbar-position-update.html

        * platform/mac/PlatformScrollBarMac.mm:
        (WebCore::PlatformScrollbar::updateThumbProportion): Update the
        NSScroller's value for the new proportions.
        * rendering/RenderLayer.cpp:
        (WebCore::RenderLayer::updateScrollInfoAfterLayout): Removed unnecessary
        repaint(). Scrollbars repaint themselves as needed.

LayoutTests:

        Reviewed by Darin Adler.

        - test for http://bugs.webkit.org/show_bug.cgi?id=16426
          Divs with overflow:auto: scrollbars not correctly updated when contents change

        * fast/overflow/scrollbar-position-update.html: Added.
        * platform/mac-leopard/fast/overflow: Added.
        * platform/mac-leopard/fast/overflow/scrollbar-position-update-expected.checksum: Added.
        * platform/mac-leopard/fast/overflow/scrollbar-position-update-expected.png: Added.
        * platform/mac/fast/overflow/scrollbar-position-update-expected.txt: Added.

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

12 years ago - try to fix the build
darin@apple.com [Sun, 16 Dec 2007 18:13:32 +0000 (18:13 +0000)]
    - try to fix the build

        * WebView.cpp:
        (wxWebView::OnKeyEvents): Add a WebCore prefix.

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

12 years ago Reviewed by Darin.
ap@webkit.org [Sun, 16 Dec 2007 17:37:42 +0000 (17:37 +0000)]
    Reviewed by Darin.

        http://bugs.webkit.org/show_bug.cgi?id=14140
        <rdar://problem/5270958> REGRESSION: Complex system KeyBindings don't work properly

WebCore:
        * dom/KeyboardEvent.h:
        (WebCore::KeypressCommand::KeypressCommand):
        (WebCore::KeyboardEvent::keypressCommands):
        Change stored command class to preserve complete information about commands.

        * editing/EditorCommand.cpp: (WebCore::CommandEntry::): Mark InsertText as a text insertion
        command, which it is. Previously, we couldn't do it because WebKit didn't really treat insertText:
        as a command.

        * page/EventHandler.cpp: (WebCore::EventHandler::keyEvent): Copy commands saved while interpreting
        a keydown event into keypress, to avoid losing state when running interpretKeyEvents: again.

WebKit:
        * WebView/WebHTMLView.mm:
        (-[WebHTMLView _interceptEditingKeyEvent:shouldSaveCommand:]): Made command replaying work
        when handling keypress, too.
        (-[WebHTMLView doCommandBySelector:]): Adapted for the new way to store commands in events.
        (-[WebHTMLView insertText:]): Append a command, not replace the whole existing vector. Also,
        restore the state for additional commands to be saved correctly.

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

12 years ago Reviewed by Darin.
ap@webkit.org [Sun, 16 Dec 2007 17:31:35 +0000 (17:31 +0000)]
    Reviewed by Darin.

        http://bugs.webkit.org/show_bug.cgi?id=16162
        Problems with float parsing on Linux (locale-dependent parsing was used).

        * kjs/dtoa.cpp: Removed USE_LOCALE to reduce future confusion.
        * kjs/lexer.cpp: (KJS::Lexer::lex): Parse with kjs_strtod, not the system one.

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

12 years ago Reviewed by Darin.
ap@webkit.org [Sun, 16 Dec 2007 16:16:17 +0000 (16:16 +0000)]
    Reviewed by Darin.

        http://bugs.webkit.org/show_bug.cgi?id=16462
        REGRESSION: access keys broken on Windows

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

12 years ago2007-12-16 Xan Lopez <xan@gnome.org>
alp@webkit.org [Sun, 16 Dec 2007 13:20:11 +0000 (13:20 +0000)]
2007-12-16  Xan Lopez  <xan@gnome.org>

        Reviewed by Alexey Proskuryakov.

        http://bugs.webkit.org/show_bug.cgi?id=16454
        [GTK] Text input doesn't work consistently on PPC

        * platform/gtk/KeyEventGtk.cpp:
        (WebCore::singleCharacterString):

        UChar is 2 bytes (UTF-16), so transform accordingly from
        gunichar (UCS-4). Fixes keyboard input on big endian systems.

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

12 years ago Reviewed by Mark Rowe.
weinig@apple.com [Sun, 16 Dec 2007 06:57:04 +0000 (06:57 +0000)]
    Reviewed by Mark Rowe.

        Fix urlSuitableForTestResult to correctly identify wstring::npos as
        the case when wstring.find doesn't find anything.

        * DumpRenderTree/win/DumpRenderTree.cpp:
        (urlSuitableForTestResult):

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

12 years ago Reviewed by Mark Rowe.
darin@apple.com [Sun, 16 Dec 2007 02:00:09 +0000 (02:00 +0000)]
    Reviewed by Mark Rowe.

        - better build fix for the problem affecting GTK and some other platforms
          "this time for sure"

        * WebCore.xcodeproj/project.pbxproj:
        * bindings/js/JSEventTargetBase.cpp: Move the include of the .lut.h file here.
        * bindings/js/JSEventTargetBase.h: Instead of including the .lut.h file in the header,
        which won't work, declare the tables that are in the .lut.h file in the header.

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

12 years agoFixed the Wx port's FontPlatformData for use in HashTable.
kevino@webkit.org [Sun, 16 Dec 2007 01:54:59 +0000 (01:54 +0000)]
Fixed the Wx port's FontPlatformData for use in HashTable.

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

12 years ago Reviewed by Darin Adler.
mitz@apple.com [Sun, 16 Dec 2007 01:33:57 +0000 (01:33 +0000)]
    Reviewed by Darin Adler.

        - fix <rdar://problem/5636090> Text in Georgia, Armenian, Inuktitut, Cree, or Cherokee (KA, HY, IU, CR, CHR) draws as all missing glyphs

        * platform/graphics/win/FontCacheWin.cpp:
        (WebCore::metaFileEnumProc): Added. Called during metafile record
        enumeration and extracts the font from the create font record.
        (WebCore::FontCache::getFontDataForCharacters): If font linking fails,
        let Uniscribe draw the characters and see what font it chooses.

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

12 years ago * WebCore.pro: Roll my last change out. Was wrong and didn't fix the build.
darin@apple.com [Sun, 16 Dec 2007 01:31:37 +0000 (01:31 +0000)]
    * WebCore.pro: Roll my last change out. Was wrong and didn't fix the build.

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

12 years ago Disabled the smallFonts.svg test, which has been failing for weeks. I heard...
darin@apple.com [Sun, 16 Dec 2007 01:30:17 +0000 (01:30 +0000)]
    Disabled the smallFonts.svg test, which has been failing for weeks. I heard that Niko
        is going to fix this soon. He should rename it back at that time.

        Removed the svn:executable flag from many .svg, .png, and .css files that had it set
        for no good reason.

        * svg/batik/text/smallFonts.svg: Removed.
        * svg/batik/text/smallFonts.svg-disabled: Copied from svg/batik/text/smallFonts.svg.

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

12 years ago Another try at a GTK build fix.
darin@apple.com [Sun, 16 Dec 2007 01:11:22 +0000 (01:11 +0000)]
    Another try at a GTK build fix.

        * WebCore.pro: Add JSEventTargetBase.cpp to LUT_TABLE_FILES instead of LUT_FILES.

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

12 years ago Force windows to regenerate COM DOM bindings.
weinig@apple.com [Sun, 16 Dec 2007 00:07:31 +0000 (00:07 +0000)]
    Force windows to regenerate COM DOM bindings.

        * WebCore.vcproj/build-generated-files.sh: Add license.
        * bindings/scripts/CodeGeneratorCOM.pm: Use shared WK_ucfirst.

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

12 years ago Fix Windows and wx builds.
weinig@apple.com [Sat, 15 Dec 2007 23:32:57 +0000 (23:32 +0000)]
    Fix Windows and wx builds.

        * WebCore.vcproj/WebCore.vcproj:
        * WebCoreSources.bkl:

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

12 years agoGtk build fix. Add JSEventTargetBase.cpp to SOURCES.
mrowe@apple.com [Sat, 15 Dec 2007 23:31:23 +0000 (23:31 +0000)]
Gtk build fix.  Add JSEventTargetBase.cpp to SOURCES.

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

12 years ago Fix wx build.
weinig@apple.com [Sat, 15 Dec 2007 23:24:22 +0000 (23:24 +0000)]
    Fix wx build.

        * WebCoreSources.bkl:

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

12 years agoNot reviewed. Build fix for Qt/Gtk.
zimmermann@webkit.org [Sat, 15 Dec 2007 23:23:35 +0000 (23:23 +0000)]
Not reviewed. Build fix for Qt/Gtk.

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

12 years agoReviewed by Eric.
zimmermann@webkit.org [Sat, 15 Dec 2007 22:48:55 +0000 (22:48 +0000)]
Reviewed by Eric.

Fixes: http://bugs.webkit.org/show_bug.cgi?id=16445 (Refactor EventTargetNode & JSEventTargetNode for an upcoming SVG patch)

Split up JSEventTargetNode in JSEventTargetNode & JSEventTargetBase - where most functionality has been moved down
in the base class. Applied the same refactorization to EventTargetNode.

This makes it possible for the upcoming patch implementing the EventTarget interface for SVGElementInstance
to share as much code as possible with the EventTargetNode classes.

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

12 years ago2007-12-15 Eric Seidel <eric@webkit.org>
eric@webkit.org [Sat, 15 Dec 2007 20:03:38 +0000 (20:03 +0000)]
2007-12-15  Eric Seidel  <eric@webkit.org>

        Reviewed by Oliver.

        Width of SVG elements not applied to container elements
        http://bugs.webkit.org/show_bug.cgi?id=16305
        Added calcPrefWidths for RenderSVGRoot (copied from RenderReplaced)
        This is caused by poor factoring in the render tree.  RenderContainer probably should be a template.

        svg/css/css-box-min-width.html

        * rendering/RenderSVGRoot.cpp:
        (WebCore::RenderSVGRoot::calcPrefWidths): Added.
        * rendering/RenderSVGRoot.h:
        * css/SVGCSSStyleSelector::applySVGProperty: fixed ASSERT in debug builds

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

12 years ago Fix comment after isSafeScript() was renamed to allowsAccessFrom().
ddkilzer@apple.com [Sat, 15 Dec 2007 14:46:15 +0000 (14:46 +0000)]
    Fix comment after isSafeScript() was renamed to allowsAccessFrom().

        * bindings/js/kjs_window.cpp:
        (KJS::createWindow):

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

12 years ago2007-12-15 Alp Toker <alp@atoker.com>
alp@webkit.org [Sat, 15 Dec 2007 14:13:15 +0000 (14:13 +0000)]
2007-12-15  Alp Toker  <alp@atoker.com>

        GTK+ DRT build fix for GLib < 2.14.

        * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
        (LayoutTestController::setWaitToDump):

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

12 years ago2007-12-15 Alp Toker <alp@atoker.com>
alp@webkit.org [Sat, 15 Dec 2007 13:40:20 +0000 (13:40 +0000)]
2007-12-15  Alp Toker  <alp@atoker.com>

        http://bugs.webkit.org/show_bug.cgi?id=16449
        cairo_arc() functions hang or crash when passed inf as radius or start/end angle

        Fixed in r28751. Remove these tests from the skip list:
          fast/canvas/arc-crash.html
          fast/canvas/canvas-with-incorrect-args.html

        * platform/gtk/Skipped:

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

12 years ago2007-12-15 Alp Toker <alp@atoker.com>
alp@webkit.org [Sat, 15 Dec 2007 13:12:34 +0000 (13:12 +0000)]
2007-12-15  Alp Toker  <alp@atoker.com>

        Reviewed by Mark Rowe.

        http://bugs.webkit.org/show_bug.cgi?id=16449
        cairo_arc() functions hang or crash when passed inf as radius or start/end angle

        Add checks. This matches a similar workaround for a CG bug in the CG
        graphics backend: <rdar://problem/5189233>

        Fixes:
          fast/canvas/arc-crash.html
          fast/canvas/canvas-with-incorrect-args.html

        * platform/graphics/cairo/PathCairo.cpp:
        (WebCore::Path::addArc):

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

12 years agoAdd a watchdog timer to Gtk DumpRenderTree, and implement alert/prompt/confirm.
mrowe@apple.com [Sat, 15 Dec 2007 12:39:48 +0000 (12:39 +0000)]
Add a watchdog timer to Gtk DumpRenderTree, and implement alert/prompt/confirm.
This prevents many layout tests from hanging while waiting on user responses to dialogs.

Reviewed by Alp Toker.

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

12 years agoAdd a skeleton Gtk skipped list containing only tests that hang run-webkit-tests.
mrowe@apple.com [Sat, 15 Dec 2007 12:39:14 +0000 (12:39 +0000)]
Add a skeleton Gtk skipped list containing only tests that hang run-webkit-tests.

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

12 years agoFlesh out DumpRenderTree for Gtk. After these changes, the majority of the tests...
mrowe@apple.com [Sat, 15 Dec 2007 11:00:11 +0000 (11:00 +0000)]
Flesh out DumpRenderTree for Gtk.  After these changes, the majority of the tests in fast/js pass.

Reviewed by Alp Toker.

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

12 years agoCorrect a mistake in ChangeLog.
ap@webkit.org [Sat, 15 Dec 2007 09:30:33 +0000 (09:30 +0000)]
Correct a mistake in ChangeLog.

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

12 years ago Reviewed by Maciej.
ap@webkit.org [Sat, 15 Dec 2007 09:07:58 +0000 (09:07 +0000)]
    Reviewed by Maciej.

        http://bugs.webkit.org/show_bug.cgi?id=16436
        Alt+Space works incorrectly

        Test: platform/win/fast/events/alt-space-scroll.html

        * WebView.cpp:
        (WebView::keyDown):
        (WebView::keyPress):
        We do not handle WM_SYSCHAR events.

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

12 years ago Reviewed by Darin.
ap@webkit.org [Sat, 15 Dec 2007 09:03:52 +0000 (09:03 +0000)]
    Reviewed by Darin.

        http://bugs.webkit.org/show_bug.cgi?id=16078
        Google Maps zooming via the scroll wheel (almost) always zooms IN only.

        * dom/WheelEvent.cpp: (WebCore::WheelEvent::WheelEvent):
        Ensure that delta is never rounded down to zero - we are getting values less than 1 from
        many mice on OS X, and Google Maps code assumes scrolling down if event.wheelDelta is zero.

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

12 years ago2007-12-14 Alp Toker <alp@atoker.com>
alp@webkit.org [Sat, 15 Dec 2007 06:24:09 +0000 (06:24 +0000)]
2007-12-14  Alp Toker  <alp@atoker.com>

        Reviewed by Mark Rowe.

        Enable the AllInOneFile.cpp optimization for the GTK+ port.

        * JavaScriptCore.pri:

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

12 years agoRemove commented out fprintf's that were for debugging purposes only.
mrowe@apple.com [Sat, 15 Dec 2007 04:35:07 +0000 (04:35 +0000)]
Remove commented out fprintf's that were for debugging purposes only.

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

12 years agoDon't use the MADV_DONTNEED code path for now as it has no effect on Mac OS X and...
mrowe@apple.com [Sat, 15 Dec 2007 04:31:39 +0000 (04:31 +0000)]
Don't use the MADV_DONTNEED code path for now as it has no effect on Mac OS X and is currently untested on other platforms.

Reviewed by Maciej Stachowiak.

* wtf/TCSystemAlloc.cpp:
(TCMalloc_SystemRelease): Return after releasing memory rather than potentially falling
through into another mechanism if multiple are supported.

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

12 years ago2007-12-14 Alp Toker <alp@atoker.com>
alp@webkit.org [Sat, 15 Dec 2007 04:21:40 +0000 (04:21 +0000)]
2007-12-14  Alp Toker  <alp@atoker.com>

        Build fix for GTK+/Qt and ports that don't use AllInOneFile.cpp.

        Include UnusedParam.h.

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

12 years agoFix build on windows
oliver@apple.com [Sat, 15 Dec 2007 03:53:52 +0000 (03:53 +0000)]
Fix build on windows

Reviewd by Stephanie

* wtf/FastMalloc.cpp:
(WTF::TCMalloc_PageHeap::IncrementalScavenge):

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

12 years ago - Windows build fix
mitz@apple.com [Sat, 15 Dec 2007 03:26:35 +0000 (03:26 +0000)]
    - Windows build fix

        * WebCore.vcproj/WebCore.vcproj:

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

12 years ago - yet another build fix
mitz@apple.com [Sat, 15 Dec 2007 03:02:14 +0000 (03:02 +0000)]
    - yet another build fix

        * DOMHTMLClasses.cpp:
        (DOMHTMLDocument::URL):

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

12 years ago2007-12-14 Alp Toker <alp@atoker.com>
alp@webkit.org [Sat, 15 Dec 2007 03:00:45 +0000 (03:00 +0000)]
2007-12-14  Alp Toker  <alp@atoker.com>

        Fix inconsistent indentation in the license header. Maciej was right!

        * WebCoreSupport/FrameLoaderClientGtk.cpp:

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

12 years ago2007-12-14 Alp Toker <alp@atoker.com>
alp@webkit.org [Sat, 15 Dec 2007 02:51:01 +0000 (02:51 +0000)]
2007-12-14  Alp Toker  <alp@atoker.com>

        GTK+/Qt build fix. Track added files in r28722.

        * WebCore.pro:

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

12 years ago <rdar://problem/5647272> Remove user agent string hack for flickr.com
ddkilzer@apple.com [Sat, 15 Dec 2007 02:16:20 +0000 (02:16 +0000)]
    <rdar://problem/5647272> Remove user agent string hack for flickr.com

        Reviewed by Darin.

        * WebView/WebView.mm:
        (-[WebView _userAgentForURL:]): Removed hack.

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

12 years ago <rdar://problem/5647261> Remove user agent string hack for yahoo.com
ddkilzer@apple.com [Sat, 15 Dec 2007 02:15:06 +0000 (02:15 +0000)]
    <rdar://problem/5647261> Remove user agent string hack for yahoo.com

        Reviewed by Darin.

        * WebView/WebView.mm:
        (-[WebView _userAgentForURL:]): Removed hack.

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