1. 16 Aug, 2010 16 commits
    • jorlow@chromium.org's avatar
      2010-08-16 Jeremy Orlow <jorlow@chromium.org> · 56b2952d
      jorlow@chromium.org authored
              Ugh...another build fix.
      
              * page/GroupSettings.cpp:
              (WebCore::GroupSettings::GroupSettings):
              * page/GroupSettings.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65408 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      56b2952d
    • jorlow@chromium.org's avatar
      2010-08-16 Jeremy Orlow <jorlow@chromium.org> · d51ae476
      jorlow@chromium.org authored
              Build fix.
      
              * GNUmakefile.am:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65407 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d51ae476
    • jorlow@chromium.org's avatar
      2010-08-16 Jeremy Orlow <jorlow@chromium.org> · 21ea8167
      jorlow@chromium.org authored
              Build fix.
      
              * page/PageGroup.cpp:
              (WebCore::PageGroup::localStorage):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65406 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      21ea8167
    • jorlow@chromium.org's avatar
      2010-08-13 Jeremy Orlow <jorlow@chromium.org> · fb151e40
      jorlow@chromium.org authored
              Some settings are linked to the PageGroup not the Page.  Create a new class for those.
              https://bugs.webkit.org/show_bug.cgi?id=43794
      
              Since persistient storage is shared between pages, there's no way to modify
              some settings related to it on a per page basis.  As such, it's not technically
              correct for these settings to be on the Page's settings.  Create a new class
              called GroupSettings, move  group-wide local storage setting there (the other we
              can't), and add a new setting for IndexedDB's path (which is prompting this change).
      
              No behavior has changed, so no tests.
      
              * Android.mk:
              * CMakeLists.txt:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * page/GroupSettings.cpp: Added.
              (WebCore::GroupSettings::GroupSettings):
              (WebCore::GroupSettings::setLocalStorageQuotaBytes):
              (WebCore::GroupSettings::setLocalStorageDatabasePath):
              (WebCore::GroupSettings::setIndexedDBDatabasePath):
              * page/GroupSettings.h: Added.
              (WebCore::GroupSettings::create):
              (WebCore::GroupSettings::localStorageQuotaBytes):
              (WebCore::GroupSettings::localStorageDatabasePath):
              (WebCore::GroupSettings::indexedDBDatabasePath):
              * page/PageGroup.cpp:
              (WebCore::PageGroup::PageGroup):
              (WebCore::PageGroup::localStorage):
              * page/PageGroup.h:
              (WebCore::PageGroup::groupSettings):
              * page/Settings.cpp:
              (WebCore::Settings::Settings):
              (WebCore::Settings::setSessionStorageQuota):
              * page/Settings.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65405 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fb151e40
    • morrita@google.com's avatar
      2010-08-16 MORITA Hajime <morrita@google.com> · 54fd9e62
      morrita@google.com authored
              Unreviewed; test expectations fix for Chromium.
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65404 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      54fd9e62
    • zoltan@webkit.org's avatar
      Unreviewed Qt WebKit2 build fix. · 48479df1
      zoltan@webkit.org authored
      Patch by Balazs Kelemen <kb@inf.u-szeged.hu> on 2010-08-16
      * UIProcess/qt/WebContextQt.cpp:
      (WebKit::WebContext::platformSetUpWebProcess): Added empty stub implementation.
      * WebKit2.pro: Enumerate new files, include WebKit.pri for correct define macro set.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65403 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      48479df1
    • abarth@webkit.org's avatar
      2010-08-16 Adam Barth <abarth@webkit.org> · 7d41a7c9
      abarth@webkit.org authored
              Reviewed by Alexey Proskuryakov.
      
              document.write causes the links to appear twice (noscript content is not ignored)
              https://bugs.webkit.org/show_bug.cgi?id=16230
      
              Add a test for this case.
      
              * fast/parser/document-write-noscript-expected.txt: Added.
              * fast/parser/document-write-noscript.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65402 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7d41a7c9
    • abarth@webkit.org's avatar
      2010-08-16 Adam Barth <abarth@webkit.org> · 1ed33a9d
      abarth@webkit.org authored
              Reviewed by Alexey Proskuryakov.
      
              document.write() isn't processed immediately before DOM access
              https://bugs.webkit.org/show_bug.cgi?id=36881
      
              Test that document.write gets flushed before DOM access takes place.
      
              * fast/tokenizer/document-write-racing-dom-access-expected.txt: Added.
              * fast/tokenizer/document-write-racing-dom-access.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65401 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1ed33a9d
    • hamaji@chromium.org's avatar
      2010-08-16 Yuta Kitamura <yutak@chromium.org> · 4f33e8ed
      hamaji@chromium.org authored
              Not reviewed. Chromium test expectations updates and rebaselines.
      
              * platform/chromium-linux/fast/canvas/setWidthResetAfterForcedRender-expected.checksum: Added.
              * platform/chromium-linux/fast/canvas/setWidthResetAfterForcedRender-expected.png: Added.
              * platform/chromium-linux/fast/text/word-space-expected.checksum:
              * platform/chromium-linux/fast/text/word-space-expected.png:
              * platform/chromium-linux/tables/mozilla/other/wa_table_thtd_rowspan-expected.checksum:
              * platform/chromium-linux/tables/mozilla/other/wa_table_thtd_rowspan-expected.png:
              * platform/chromium-mac/fast/canvas/setWidthResetAfterForcedRender-expected.checksum: Added.
              * platform/chromium-mac/fast/canvas/setWidthResetAfterForcedRender-expected.png: Added.
              * platform/chromium-mac/fast/text/word-space-expected.checksum: Added.
              * platform/chromium-mac/fast/text/word-space-expected.png: Added.
              * platform/chromium-mac/tables/mozilla/other/wa_table_thtd_rowspan-expected.checksum: Added.
              * platform/chromium-mac/tables/mozilla/other/wa_table_thtd_rowspan-expected.png: Added.
              * platform/chromium-win/fast/canvas/setWidthResetAfterForcedRender-expected.checksum: Added.
              * platform/chromium-win/fast/canvas/setWidthResetAfterForcedRender-expected.png: Added.
              * platform/chromium-win/fast/canvas/setWidthResetAfterForcedRender-expected.txt: Added.
              * platform/chromium-win/fast/text/word-space-expected.checksum:
              * platform/chromium-win/fast/text/word-space-expected.png:
              * platform/chromium-win/fast/text/word-space-expected.txt:
              * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-32-t-expected.txt:
              * platform/chromium-win/svg/W3C-SVG-1.1/shapes-intro-01-t-expected.txt:
              * platform/chromium-win/tables/mozilla/other/wa_table_thtd_rowspan-expected.checksum:
              * platform/chromium-win/tables/mozilla/other/wa_table_thtd_rowspan-expected.png:
              * platform/chromium-win/tables/mozilla/other/wa_table_thtd_rowspan-expected.txt:
              * platform/chromium-win/tables/mozilla/other/wa_table_tr_align-expected.txt:
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65400 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4f33e8ed
    • zoltan@webkit.org's avatar
      2010-08-16 Zoltan Horvath <zoltan@webkit.org> · 2b0a6ad7
      zoltan@webkit.org authored
              Add my old e-mail addresses to committers.py.
      
              * Scripts/webkitpy/common/config/committers.py:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65399 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2b0a6ad7
    • morrita@google.com's avatar
      2010-08-16 MORITA Hajime <morrita@google.com> · 68b6927b
      morrita@google.com authored
              Unreviewd, added skip list entries.
      
              This is follow up for r65395. QT port ignores tests under
              editing/pasteboard.
      
              * platform/qt/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65398 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      68b6927b
    • morrita@google.com's avatar
      2010-08-16 MORITA Hajime <morrita@google.com> · 137c0d4c
      morrita@google.com authored
              Unreviewd, added skip list entries.
      
              This is follow up for r65395. GTK port ignores tests under
              editing/pasteboard.
      
              * platform/gtk/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65397 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      137c0d4c
    • abarth@webkit.org's avatar
      2010-08-16 Adam Barth <abarth@webkit.org> · 2d2d71bd
      abarth@webkit.org authored
              Reviewed by Alexey Proskuryakov.
      
              HTML5 fragment parsing doesn't load iframes
              https://bugs.webkit.org/show_bug.cgi?id=44038
      
              Test that iframes created in detached documents actually get loaded
              when they're adopted into attached documents (or, rather, when they're
              inserted into the DOM).
      
              * fast/frames/adopt-from-created-document-expected.txt: Added.
              * fast/frames/adopt-from-created-document.html: Added.
      2010-08-16  Adam Barth  <abarth@webkit.org>
      
              Reviewed by Alexey Proskuryakov.
      
              HTML5 fragment parsing doesn't load iframes
              https://bugs.webkit.org/show_bug.cgi?id=44038
      
              Previously, this code assumed that every source iframe was actually
              attached to a render tree.  It tried to "keep the iframe alive" as it
              moved documents.  However, if the iframe wasn't attached to begin with,
              it was never "alive," so trying to keep a dead iframe alive lead to a
              ...  zombie iframe.
      
              Test: fast/frames/adopt-from-created-document.html
      
              * dom/Document.cpp:
              (WebCore::Document::adoptNode):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65396 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2d2d71bd
    • morrita@google.com's avatar
      2010-08-13 MORITA Hajime <morrita@google.com> · 222ce095
      morrita@google.com authored
              Reviewed by Tony Chang.
      
              https://bugs.webkit.org/show_bug.cgi?id=43778
              Dropping should fire textInput event.
      
              * editing/pasteboard/drop-text-events-expected.txt: Added.
              * editing/pasteboard/drop-text-events-sideeffect-expected.txt: Added.
              * editing/pasteboard/drop-text-events-sideeffect.html: Added.
              * editing/pasteboard/drop-text-events.html: Added.
              * editing/pasteboard/script-tests/drop-text-events-sideeffect.js: Added.
              * editing/pasteboard/script-tests/drop-text-events.js: Added.
      2010-08-13  MORITA Hajime  <morrita@google.com>
      
              Reviewed by Tony Chang.
      
              https://bugs.webkit.org/show_bug.cgi?id=43778
              Dropping should fire textInput event
      
              This change:
              - added TextEvent::m_isDrop to distinguish drop-initiated events.
              - added to dispatch TextEvent from DragController before making a side effect
                and cancel the side effect if the event prevents default
      
              Tests: editing/pasteboard/drop-text-events-sideeffect.html
                     editing/pasteboard/drop-text-events.html
      
              * dom/TextEvent.cpp:
              (WebCore::TextEvent::createForDrop): Added.
              (WebCore::TextEvent::TextEvent):
              * dom/TextEvent.h:
              (WebCore::TextEvent::isDrop): Added.
              * editing/Editor.cpp:
              (WebCore::Editor::handleTextEvent):
              (WebCore::Editor::findEventTargetFrom): Extracted from findEventTargetFromSelection().
              (WebCore::Editor::findEventTargetFromSelection):
              * editing/Editor.h:
              * page/DragController.cpp:
              (WebCore::DragController::dispatchTextInputEventFor): Added.
              (WebCore::DragController::concludeEditDrag): Added an event dispatch path.
              * page/DragController.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65395 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      222ce095
    • ariya@webkit.org's avatar
      2010-08-15 Ariya Hidayat <ariya@sencha.com> · 5f641286
      ariya@webkit.org authored
              Unreviewed, rolling out r65393.
              http://trac.webkit.org/changeset/65393
              https://bugs.webkit.org/show_bug.cgi?id=44031
      
              Breaks some canvas tests.
      
              * platform/graphics/qt/GraphicsContextQt.cpp:
              (WebCore::GraphicsContextPlatformPrivate::):
              (WebCore::GraphicsContextPlatformPrivate::hasShadow):
              (WebCore::GraphicsContextPlatformPrivate::GraphicsContextPlatformPrivate):
              (WebCore::GraphicsContext::savePlatformState):
              (WebCore::GraphicsContext::restorePlatformState):
              (WebCore::GraphicsContext::strokeArc):
              (WebCore::GraphicsContext::drawConvexPolygon):
              (WebCore::GraphicsContext::fillPath):
              (WebCore::GraphicsContext::strokePath):
              (WebCore::GraphicsContext::fillRect):
              (WebCore::GraphicsContext::fillRoundedRect):
              (WebCore::GraphicsContext::setPlatformShadow):
              (WebCore::GraphicsContext::clearPlatformShadow):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65394 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5f641286
    • ariya@webkit.org's avatar
      [Qt] Save and restore shadow state in GraphicsContextQt · d7e8bf6a
      ariya@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=44031
      
      Patch by Ariya Hidayat <ariya@sencha.com> on 2010-08-15
      Reviewed by Antonio Gomes.
      
      This is needed after r65362.
      Use a new class ContextShadowParameter to track and keep the shadow
      state. We use this rather than using GraphicsContextState to allow
      possible optimizations (right now only to determine the shadow type,
      but in future it might cover things like cached scratch image,
      persistent shader, etc).
      
      * platform/graphics/qt/GraphicsContextQt.cpp:
      (WebCore::ContextShadowParameter::):
      (WebCore::ContextShadowParameter::ContextShadowParameter):
      (WebCore::ContextShadowParameter::clear):
      (WebCore::GraphicsContextPlatformPrivate::hasShadow):
      (WebCore::GraphicsContextPlatformPrivate::GraphicsContextPlatformPrivate):
      (WebCore::GraphicsContext::savePlatformState):
      (WebCore::GraphicsContext::restorePlatformState):
      (WebCore::GraphicsContext::drawRect):
      (WebCore::GraphicsContext::drawLine):
      (WebCore::GraphicsContext::strokeArc):
      (WebCore::GraphicsContext::drawConvexPolygon):
      (WebCore::GraphicsContext::fillPath):
      (WebCore::GraphicsContext::strokePath):
      (WebCore::GraphicsContext::fillRect):
      (WebCore::GraphicsContext::fillRoundedRect):
      (WebCore::GraphicsContext::setPlatformShadow):
      (WebCore::GraphicsContext::clearPlatformShadow):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65393 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d7e8bf6a
  2. 15 Aug, 2010 14 commits
  3. 14 Aug, 2010 10 commits