1. 03 Feb, 2010 11 commits
    • tkent@chromium.org's avatar
      2010-02-02 Kent Tamura <tkent@chromium.org> · 186c25ac
      tkent@chromium.org authored
              Reviewed by Darin Adler.
      
              rangeOverflow/rangeUnderflow support for type=datetime, datetime-local,
              month, time and week
              https://bugs.webkit.org/show_bug.cgi?id=34483
      
              Add tests for datetime, datetime-local, month, time and week, and
              merge existing tests into one test file.
      
              * fast/forms/ValidityState-rangeOverflow-date-expected.txt: Removed.
              * fast/forms/ValidityState-rangeOverflow-date.html: Removed.
              * fast/forms/ValidityState-rangeOverflow-expected.txt: Added.
              * fast/forms/ValidityState-rangeOverflow-number-expected.txt: Removed.
              * fast/forms/ValidityState-rangeOverflow-number.html: Removed.
              * fast/forms/ValidityState-rangeOverflow-range-expected.txt: Removed.
              * fast/forms/ValidityState-rangeOverflow-range.html: Removed.
              * fast/forms/ValidityState-rangeOverflow.html: Added.
              * fast/forms/ValidityState-rangeUnderflow-date-expected.txt: Removed.
              * fast/forms/ValidityState-rangeUnderflow-date.html: Removed.
              * fast/forms/ValidityState-rangeUnderflow-expected.txt: Added.
              * fast/forms/ValidityState-rangeUnderflow-number-expected.txt: Removed.
              * fast/forms/ValidityState-rangeUnderflow-number.html: Removed.
              * fast/forms/ValidityState-rangeUnderflow-range-expected.txt: Removed.
              * fast/forms/ValidityState-rangeUnderflow-range.html: Removed.
              * fast/forms/ValidityState-rangeUnderflow.html: Added.
              * fast/forms/script-tests/ValidityState-rangeOverflow-date.js: Removed.
              * fast/forms/script-tests/ValidityState-rangeOverflow-number.js: Removed.
              * fast/forms/script-tests/ValidityState-rangeOverflow-range.js: Removed.
              * fast/forms/script-tests/ValidityState-rangeOverflow.js: Added.
              * fast/forms/script-tests/ValidityState-rangeUnderflow-date.js: Removed.
              * fast/forms/script-tests/ValidityState-rangeUnderflow-number.js: Removed.
              * fast/forms/script-tests/ValidityState-rangeUnderflow-range.js: Removed.
              * fast/forms/script-tests/ValidityState-rangeUnderflow.js: Added.
      
      2010-02-02  Kent Tamura  <tkent@chromium.org>
      
              Reviewed by Darin Adler.
      
              rangeOverflow/rangeUnderflow support for type=datetime, datetime-local,
              month, time and week
              https://bugs.webkit.org/show_bug.cgi?id=34483
      
              Tests: fast/forms/ValidityState-rangeOverflow.html
                     fast/forms/ValidityState-rangeUnderflow.html
      
              * html/HTMLInputElement.cpp:
                Defines the hard limits for the types as double values.
              (WebCore::HTMLInputElement::rangeUnderflow): Supports the types.
              (WebCore::HTMLInputElement::rangeOverflow): Supports the types.
              (WebCore::HTMLInputElement::minimum): Supports the types.
              (WebCore::HTMLInputElement::maximum): Supports the types.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54271 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      186c25ac
    • hamaji@chromium.org's avatar
      2010-02-02 Shinichiro Hamaji <hamaji@chromium.org> · edc78202
      hamaji@chromium.org authored
              Reviewed by Dimitri Glazkov.
      
              [Chromium] Implement WebFrameImpl::pageNumberForElementById
              https://bugs.webkit.org/show_bug.cgi?id=34471
      
              * public/WebFrame.h:
              * src/WebFrameImpl.cpp:
              (WebKit::WebFrameImpl::pageNumberForElementById):
              * src/WebFrameImpl.h:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54270 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      edc78202
    • kevino@webkit.org's avatar
      [wx] Build fix after introduction of pageNumberForElementById. · 6a804132
      kevino@webkit.org authored
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54269 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      6a804132
    • mrowe@apple.com's avatar
      Roll out r54252. · d97317cc
      mrowe@apple.com authored
      The method it deleted is in fact used, and its deletion resulted in plug-ins that use accelerated compositing not being drawn.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54268 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      d97317cc
    • ukai@chromium.org's avatar
      2010-02-02 Fumitoshi Ukai <ukai@chromium.org> · e0a40164
      ukai@chromium.org authored
              Reviewed by Alexey Proskuryakov.
      
              WebSocket wrapper can be collected even if events are pending
              https://bugs.webkit.org/show_bug.cgi?id=34014
      
              * websocket/tests/websocket-pending-activity-expected.txt: Added.
              * websocket/tests/websocket-pending-activity.html: Added.
      2010-02-02  Fumitoshi Ukai  <ukai@chromium.org>
      
              Reviewed by Alexey Proskuryakov.
      
              WebSocket set pending activity to avoid unexpected GC.
              https://bugs.webkit.org/show_bug.cgi?id=34014
      
              Test: websocket/tests/websocket-pending-activity.html
      
              * websockets/WebSocket.cpp:
              (WebCore::WebSocket::connect): set pending activity until it receives didClose.
              (WebCore::WebSocket::contextDestroyed): check socket is already closed.
              (WebCore::WebSocket::stop): close the connection and unset pending activity when it stops.
              (WebCore::WebSocket::didClose): unset pending activity.
              * websockets/WebSocket.h:
              * websockets/WebSocketChannel.cpp:
              (WebCore::WebSocketChannel::didReceiveData): protect this while it processes received data.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54267 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      e0a40164
    • kov@webkit.org's avatar
      2010-02-02 Gustavo Noronha Silva <gns@gnome.org> · 818fa908
      kov@webkit.org authored
              No review, rolling out r54261.
              http://trac.webkit.org/changeset/54261
              https://bugs.webkit.org/show_bug.cgi?id=34435
      
              Causes crashes on release builds
      
              * GNUmakefile.am:
              * platform/graphics/gtk/MediaPlayerPrivateGStreamer.cpp:
              (WebCore::mediaPlayerPrivateSourceChangedCallback):
              * platform/gtk/GOwnPtrGtk.cpp: Removed.
              * platform/gtk/GOwnPtrGtk.h: Removed.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54266 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      818fa908
    • oliver@apple.com's avatar
      2010-02-02 Oliver Hunt <oliver@apple.com> · 6ff61de8
      oliver@apple.com authored
              Reviewed by Geoffrey Garen.
      
              Crash in CollectorBitmap::get at nbcolympics.com
              https://bugs.webkit.org/show_bug.cgi?id=34504
      
              This was caused by the use of m_offset to determine the offset of
              a new property into the property storage.  This patch corrects
              the effected cases by incorporating the anonymous slot count. It
              also removes the duplicate copy of anonymous slot count from the
              property table as keeping this up to date merely increased the
              chance of a mismatch.  Finally I've added a large number of
              assertions in an attempt to prevent such a bug from happening
              again.
      
              With the new assertions in place the existing anonymous slot tests
              all fail without the m_offset fixes.
      
              * runtime/PropertyMapHashTable.h:
              * runtime/Structure.cpp:
              (JSC::Structure::materializePropertyMap):
              (JSC::Structure::addPropertyTransitionToExistingStructure):
              (JSC::Structure::addPropertyTransition):
              (JSC::Structure::removePropertyTransition):
              (JSC::Structure::flattenDictionaryStructure):
              (JSC::Structure::addPropertyWithoutTransition):
              (JSC::Structure::removePropertyWithoutTransition):
              (JSC::Structure::copyPropertyTable):
              (JSC::Structure::get):
              (JSC::Structure::put):
              (JSC::Structure::remove):
              (JSC::Structure::insertIntoPropertyMapHashTable):
              (JSC::Structure::createPropertyMapHashTable):
              (JSC::Structure::rehashPropertyMapHashTable):
              (JSC::Structure::checkConsistency):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54265 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      6ff61de8
    • levin@chromium.org's avatar
      2010-02-02 David Levin <levin@chromium.org> · 04fdf4f1
      levin@chromium.org authored
              No review, rolling out r54245.
              http://trac.webkit.org/changeset/54245
              https://bugs.webkit.org/show_bug.cgi?id=34492
      
              This patch seems to have broken thousands of chromium tests on
              Windows (and since it was for chromium, I'm rolling it out).
      
              * dom/Element.cpp:
              (WebCore::Element::baseURI):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54264 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      04fdf4f1
    • sfalken@apple.com's avatar
      2010-02-02 Steve Falkenburg <sfalken@apple.com> · 3a432829
      sfalken@apple.com authored
              Reviewed by Darin Adler.
      
              Copyright year updating for Windows version resources should be automatic
              https://bugs.webkit.org/show_bug.cgi?id=34503
      
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.rc:
      2010-02-02  Steve Falkenburg  <sfalken@apple.com>
      
              Reviewed by Darin Adler.
      
              Copyright year updating for Windows version resources should be automatic
              https://bugs.webkit.org/show_bug.cgi?id=34503
      
              * win/tools/scripts/auto-version.sh:
      2010-02-02  Steve Falkenburg  <sfalken@apple.com>
      
              Reviewed by Darin Adler.
      
              Copyright year updating for Windows version resources should be automatic
              https://bugs.webkit.org/show_bug.cgi?id=34503
      
              * WebKit.vcproj/WebKit.rc:
      2010-02-02  Steve Falkenburg  <sfalken@apple.com>
      
              Reviewed by Darin Adler.
      
              Copyright year updating for Windows version resources should be automatic
              https://bugs.webkit.org/show_bug.cgi?id=34503
      
              * WebCore.vcproj/QTMovieWin.rc:
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54263 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      3a432829
    • dglazkov@chromium.org's avatar
      2010-02-02 Dimitri Glazkov <dglazkov@chromium.org> · 547ab0ec
      dglazkov@chromium.org authored
              No review, rolling out r54257.
              http://trac.webkit.org/changeset/54257
              https://bugs.webkit.org/show_bug.cgi?id=34491
      
              [Chromium] broke thousands of Win tests and a few of Linux tests.
      
              * platform/graphics/skia/GraphicsContextSkia.cpp:
              (WebCore::GraphicsContext::beginTransparencyLayer):
              * platform/graphics/skia/PlatformContextSkia.cpp:
              (PlatformContextSkia::applyAntiAliasedClipPaths):
              * platform/graphics/skia/PlatformContextSkia.h:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54262 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      547ab0ec
    • eric@webkit.org's avatar
      2010-02-02 Philippe Normand <pnormand@igalia.com> · e99d5dff
      eric@webkit.org authored
              Reviewed by Gustavo Noronha Silva.
      
              [Gtk] libsoup critical warning in media player http cookies injection code
              https://bugs.webkit.org/show_bug.cgi?id=34435
      
              Fixed the critical warning and refactored the
              User-Agent/Referer/cookies injection code, in that order. Previous
              order (cookies first) was wrong because if cookies injection could
              not be done neither the User-Agent not Referer were injected. Also
              started a non-JSC-specific, gtk-specific GOwnPtr module.
      
              * GNUmakefile.am:
              * platform/graphics/gtk/MediaPlayerPrivateGStreamer.cpp:
              (WebCore::mediaPlayerPrivateSourceChangedCallback):
              * platform/gtk/GOwnPtrGtk.cpp: Added.
              (WTF::SoupURI):
              (WTF::GstElement):
              * platform/gtk/GOwnPtrGtk.h: Added.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54261 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      e99d5dff
  2. 02 Feb, 2010 29 commits
    • kov@webkit.org's avatar
      2010-02-02 Gustavo Noronha Silva <gns@gnome.org> · 83a2a34d
      kov@webkit.org authored
              Reviewed by Xan Lopez.
      
      	Bump version, and adjust library versioning for 1.1.20.
      
              * configure.ac:
      
      WebKit/gtk
      
      2010-02-02  Gustavo Noronha Silva  <gns@gnome.org>
      
              Reviewed by Xan Lopez.
      
              Changes in 1.1.20, and documentation control files update.
      
              * NEWS:
              * docs/webkitgtk-docs.sgml:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54260 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      83a2a34d
    • japhet@chromium.org's avatar
      2010-02-02 Nate Chapin <japhet@chromium.org> · 53064ce4
      japhet@chromium.org authored
              Reviewed by Dimitri Glazkov.
      
              [V8] Use toV8() to wrap in the custom bindings, and remove
              the old wrapping code from V8DOMWrapper.
              
              https://bugs.webkit.org/show_bug.cgi?id=32563
      
              * bindings/v8/ScriptController.cpp:
              * bindings/v8/ScriptObject.cpp:
              * bindings/v8/V8AbstractEventListener.cpp:
              * bindings/v8/V8Collection.h:
              * bindings/v8/V8DOMWindowShell.cpp:
              * bindings/v8/V8DOMWrapper.cpp:
              * bindings/v8/V8DOMWrapper.h:
              * bindings/v8/V8NodeFilterCondition.cpp:
              * bindings/v8/V8Proxy.cpp:
              * bindings/v8/custom/V8CanvasRenderingContext2DCustom.cpp:
              * bindings/v8/custom/V8CustomPositionCallback.cpp:
              * bindings/v8/custom/V8CustomPositionErrorCallback.cpp:
              * bindings/v8/custom/V8CustomSQLStatementCallback.cpp:
              * bindings/v8/custom/V8CustomSQLStatementErrorCallback.cpp:
              * bindings/v8/custom/V8CustomSQLTransactionCallback.cpp:
              * bindings/v8/custom/V8CustomSQLTransactionErrorCallback.cpp:
              * bindings/v8/custom/V8DOMWindowCustom.cpp:
              * bindings/v8/custom/V8DataGridColumnListCustom.cpp:
              * bindings/v8/custom/V8DocumentCustom.cpp:
              * bindings/v8/custom/V8DocumentLocationCustom.cpp:
              * bindings/v8/custom/V8ElementCustom.cpp:
              * bindings/v8/custom/V8EventCustom.cpp:
              * bindings/v8/custom/V8HTMLAllCollectionCustom.cpp:
              * bindings/v8/custom/V8HTMLAudioElementConstructor.cpp:
              * bindings/v8/custom/V8HTMLCanvasElementCustom.cpp:
              * bindings/v8/custom/V8HTMLCollectionCustom.cpp:
              * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
              * bindings/v8/custom/V8HTMLFormElementCustom.cpp:
              * bindings/v8/custom/V8HTMLFrameSetElementCustom.cpp:
              * bindings/v8/custom/V8HTMLImageElementConstructor.cpp:
              * bindings/v8/custom/V8HTMLOptionsCollectionCustom.cpp:
              * bindings/v8/custom/V8HTMLSelectElementCustom.cpp:
              * bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
              * bindings/v8/custom/V8MessageChannelConstructor.cpp:
              * bindings/v8/custom/V8MessageEventCustom.cpp:
              * bindings/v8/custom/V8NamedNodeMapCustom.cpp:
              * bindings/v8/custom/V8NodeIteratorCustom.cpp:
              * bindings/v8/custom/V8NodeListCustom.cpp:
              * bindings/v8/custom/V8NotificationCenterCustom.cpp:
              * bindings/v8/custom/V8SVGMatrixCustom.cpp:
              * bindings/v8/custom/V8StyleSheetListCustom.cpp:
              * bindings/v8/custom/V8TreeWalkerCustom.cpp:
              * bindings/v8/custom/V8WebGLRenderingContextCustom.cpp:
              * bindings/v8/custom/V8XSLTProcessorCustom.cpp:
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54259 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      53064ce4
    • snej@chromium.org's avatar
      4fe5bdcc
    • eric@webkit.org's avatar
      2010-02-02 Garret Kelly <gdk@chromium.org> · 7ad9343a
      eric@webkit.org authored
              Reviewed by David Levin.
      
              When using the Skia graphics context, the beginTransparencyLayer call
              currently creates a new layer, but does not keep the current
              compositing mode for use when merging the created layer back onto the
              rest of the context. This patch fixes that.
              https://bugs.webkit.org/show_bug.cgi?id=34491
      
              fast/backgrounds/svg-as-mask.html is affected by this change in Chromium,
              but not fixed. This is the first of a series of patches to fix it.
      
              * platform/graphics/skia/GraphicsContextSkia.cpp:
              (WebCore::GraphicsContext::beginTransparencyLayer):
              * platform/graphics/skia/PlatformContextSkia.cpp:
              (PlatformContextSkia::beginTransparencyLayer):
              * platform/graphics/skia/PlatformContextSkia.h:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54257 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      7ad9343a
    • eric@webkit.org's avatar
      2010-02-02 Kwang Yul Seo <skyul@company100.net> · 660ff241
      eric@webkit.org authored
              Reviewed by Eric Seidel.
      
              Use WTF::getLocalTime instead of localtime_r in FTPDirectoryDocument
              https://bugs.webkit.org/show_bug.cgi?id=34409
      
              Platform guards for localtime_r are not needed because we already have
              WTF::getLocalTime which does the same thing.
      
              * loader/FTPDirectoryDocument.cpp:
              (WebCore::processFileDateString):
              * loader/FTPDirectoryParser.cpp:
              (WebCore::gmtimeQt):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54256 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      660ff241
    • eric@webkit.org's avatar
      2010-02-02 Kwang Yul Seo <skyul@company100.net> · 2a4297b7
      eric@webkit.org authored
              Reviewed by Eric Seidel.
      
              [BREWMP] Add dummy main thread functions
              https://bugs.webkit.org/show_bug.cgi?id=33569
      
              Add dummy initializeMainThreadPlatform and
              scheduleDispatchFunctionsOnMainThread.
      
              * wtf/brew/MainThreadBrew.cpp: Added.
              (WTF::initializeMainThreadPlatform):
              (WTF::scheduleDispatchFunctionsOnMainThread):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54255 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      2a4297b7
    • eric@webkit.org's avatar
      2010-02-02 Eric Seidel <eric@webkit.org> · bf66fa03
      eric@webkit.org authored
              Reviewed by Gustavo Noronha Silva.
      
              http/tests/incremental/split-hex-entities.pl timed out on Gtk Linux 32-bit Debug Bot
              https://bugs.webkit.org/show_bug.cgi?id=33445
      
              * platform/gtk/Skipped: Skip this test to keep the bots green until someone with Gtk knowledge can examine why it intermittently times out.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54254 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      bf66fa03
    • eric@webkit.org's avatar
      2010-02-02 Hayato Ito <hayato@chromium.org> · 52b64481
      eric@webkit.org authored
              Reviewed by Darin Adler.
      
              Move misplaced JS files to the proper location.
      
              https://bugs.webkit.org/show_bug.cgi?id=34256
      
              * fast/events/script-tests/basic-touch-events.js: Removed.
              * fast/events/script-tests/create-touch-event.js: Removed.
              * fast/events/script-tests/send-oncancel-event.js: Removed.
              * fast/events/touch/basic-touch-events.html:
              * fast/events/touch/create-touch-event.html:
              * fast/events/touch/script-tests: Added.
              * fast/events/touch/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/events/script-tests/TEMPLATE.html.
              * fast/events/touch/script-tests/basic-touch-events.js: Copied from LayoutTests/fast/events/script-tests/basic-touch-events.js.
              * fast/events/touch/script-tests/create-touch-event.js: Copied from LayoutTests/fast/events/script-tests/create-touch-event.js.
              * fast/events/touch/script-tests/send-oncancel-event.js: Copied from LayoutTests/fast/events/script-tests/send-oncancel-event.js.
              * fast/events/touch/send-oncancel-event.html:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54253 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      52b64481
    • ap@apple.com's avatar
      Reviewed by Darin Adler. · 726c71d9
      ap@apple.com authored
              https://bugs.webkit.org/show_bug.cgi?id=34502
              Unused method pluginLayer in Netscape plug-in views
      
              * Plugins/Hosted/WebHostedNetscapePluginView.h:
              * Plugins/Hosted/WebHostedNetscapePluginView.mm:
              * Plugins/WebNetscapePluginView.h:
              * Plugins/WebNetscapePluginView.mm:
              Removed the method.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54252 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      726c71d9
    • aroben@apple.com's avatar
      Copy WebCore's bindings generation scripts to the PrivateHeaders directory on Mac · 097e2edf
      aroben@apple.com authored
      This will allow other projects to use these scripts.
      
      Fixes <http://webkit.org/b/34498>.
      
      Reviewed by Mark Rowe.
      
      * WebCore.xcodeproj/project.pbxproj: Added the bindings generation
      scripst to the Copy Headers phase, and marked them as Private.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54250 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      097e2edf
    • aroben@apple.com's avatar
      Copy WebCore's bindings generation scripts to a more sensible location · b266cb93
      aroben@apple.com authored
      Part of Bug 34496: Clean up WebCore's IDL/script copying
      <https://bugs.webkit.org/show_bug.cgi?id=34496>
      
      Reviewed by Steve Falkenburg.
      
      * WebCore.vcproj/WebCore.make:
      * WebCore.vcproj/WebCoreGenerated.vcproj:
      Instead of copying to obj/WebKit/DOMInterfaces, copy to obj/WebCore/scripts.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54249 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      b266cb93
    • aroben@apple.com's avatar
      Rename the scripts used to copy WebCore's bindings generation scripts · a4e1cfcc
      aroben@apple.com authored
      Part of Bug 34496: Clean up WebCore's IDL/script copying
      <https://bugs.webkit.org/show_bug.cgi?id=34496>
      
      Reviewed by Steve Falkenburg.
      
      * WebCore.vcproj/MigrateScripts: Renamed from WebCore/WebCore.vcproj/MigrateIDLAndScripts.
      * WebCore.vcproj/migrate-scripts.sh: Renamed from WebCore/WebCore.vcproj/migrate-idls.sh.
      
      * WebCore.vcproj/WebCoreGenerated.vcproj: Updated for renames.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54248 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      a4e1cfcc
    • aroben@apple.com's avatar
      Stop copying IDL files into $(WebKitOutputDir) · 0cbe1a1d
      aroben@apple.com authored
      No one uses these anymore (as of r52921).
      
      Part of Bug 34496: Clean up WebCore's IDL/script copying
      <https://bugs.webkit.org/show_bug.cgi?id=34496>
      
      Reviewed by Steve Falkenburg.
      
      * WebCore.vcproj/MigrateIDLAndScripts: Don't copy the IDL files
      anymore. Keep copying the scripts, though, since other projects
      (outside of the WebKit repository) do use those.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54247 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      0cbe1a1d
    • aroben@apple.com's avatar
      Stop copying WebCore's IDL files from SRCROOT to OBJROOT · 6b5298b1
      aroben@apple.com authored
      WebKit doesn't use these anymore (as of r52921).
      
      Part of Bug 34496: Clean up WebCore's IDL/script copying
      <https://bugs.webkit.org/show_bug.cgi?id=34496>
      
      Reviewed by Steve Falkenburg.
      
      * WebKit.vcproj/WebKit.make:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54246 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      6b5298b1
    • eric@webkit.org's avatar
      2010-02-02 Bryan Yeung <bryeung@bryeung-chrome.(none)> · 17b0d8a2
      eric@webkit.org authored
              Reviewed by Darin Adler.
      
              Avoid using an invalidated KURL object in baseURI.
      
              https://bugs.webkit.org/show_bug.cgi?id=34492
      
              This change fixes baseURI for Chromium (where the KURL implementation
              does not allow invalid KURLs to carry relative paths).  This is
              regression tested by
              LayoutTests/svg/W3C-SVG-1.1/struct-image-07-t.svg
      
              * dom/Element.cpp:
              (WebCore::Element::baseURI):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54245 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      17b0d8a2
    • eric@webkit.org's avatar
      2010-02-02 Kwang Yul Seo <skyul@company100.net> · 4dfed863
      eric@webkit.org authored
              Reviewed by Darin Adler.
      
              Add using WTF::getLocalTime to CurrentTime.h
              https://bugs.webkit.org/show_bug.cgi?id=34493
      
              * wtf/CurrentTime.h:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54244 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      4dfed863
    • chang.shu@nokia.com's avatar
      Add myself to list of committers. · 5a961214
      chang.shu@nokia.com authored
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54243 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      5a961214
    • ap@apple.com's avatar
      Reviewed by Darin Adler. · c7c30bff
      ap@apple.com authored
              https://bugs.webkit.org/show_bug.cgi?id=34076
              <rdar://problem/7594601> Crash in mangleme in WebCore::Element::getAttribute
      
              Test: fast/forms/misplaced-img-form-registration.html
      
              * html/HTMLFormElement.cpp:
              (WebCore::HTMLFormElement::registerImgElement): Assert that the same image isn't added
              to vector again.
              (WebCore::HTMLFormElement::removeImgElement): Similarly, assert that we're removing something
              that's actually registered.
      
              * html/HTMLImageElement.cpp: (WebCore::HTMLImageElement::~HTMLImageElement): If parser fails
              to insert the image element, then there will be no removed from tree notification either,
              need to unregister right away.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54242 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      c7c30bff
    • kenneth@webkit.org's avatar
      Do not use a proxy widget for the QComboBox on Maemo 5, as it · 200a141d
      kenneth@webkit.org authored
      is not working properly and it is not needed at all, as the
      comboboxes comes up in their full width on the screen and
      do not depend on view.
      
      Reviewed by Ariya Hidayat.
      
      * WebCoreSupport/QtFallbackWebPopup.cpp:
      (WebCore::QtFallbackWebPopup::show):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54241 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      200a141d
    • apavlov@chromium.org's avatar
      2010-02-02 Alexander Pavlov <apavlov@chromium.org> · 7f8e6e2b
      apavlov@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: Eliminate some of the platform flavor-specific stylesheet selectors
      
              Extract OS version into WebInspector.platformFlavor
              https://bugs.webkit.org/show_bug.cgi?id=34469
      
              * inspector/front-end/InspectorBackendStub.js:
              * inspector/front-end/InspectorFrontendHostStub.js:
              (.WebInspector.InspectorFrontendHostStub.prototype.platform):
              * inspector/front-end/inspector.css:
              * inspector/front-end/inspector.js:
              (WebInspector.pendingDispatches.0.URLRegExp.i.get platform):
              (WebInspector.get platformFlavor):
              (WebInspector._detectPlatformFlavor):
              (WebInspector.loaded):
              (WebInspector.toolbarDragStart):
              (WebInspector.isMac):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54240 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      7f8e6e2b
    • mrobinson@webkit.org's avatar
      2010-02-02 Martin Robinson <mrobinson@webkit.org> · 87d48f8b
      mrobinson@webkit.org authored
              Unreviewed build fix.
      
              The WinCairo build requires this script to be executable.
      
              * win/tools/scripts/feature-defines.sh: Added property svn:executable.
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54239 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      87d48f8b
    • aroben@apple.com's avatar
      Stop skipping some tests that were failing due to buggy versions of CFNetwork · 324479f4
      aroben@apple.com authored
      Rubber-stamped by Eric Carlson.
      
      * platform/win/Skipped:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54238 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      324479f4
    • eric@webkit.org's avatar
      2010-02-02 Steve Block <steveblock@google.com> · 7591e7d0
      eric@webkit.org authored
              Reviewed by Ariya Hidayat.
      
              Adds utility functions for converting between JavaInstance and NPAPI types
              https://bugs.webkit.org/show_bug.cgi?id=34468
      
              This is required by Android for injecting objects into V8 JavaScript.
      
              No new tests, added utility functions only.
      
              * Android.v8bindings.mk: Modified. Added JavaNPObjectV8.cpp
              * bridge/jni/v8/JavaNPObjectV8.cpp: Added.
              (JSC::Bindings::AllocJavaNPObject):
              (JSC::Bindings::FreeJavaNPObject):
              (JSC::Bindings::):
              (JSC::Bindings::JavaInstanceToNPObject):
              (JSC::Bindings::ExtractJavaInstance):
              (JSC::Bindings::JavaNPObjectHasMethod):
              (JSC::Bindings::JavaNPObjectInvoke):
              (JSC::Bindings::JavaNPObjectHasProperty):
              (JSC::Bindings::JavaNPObjectGetProperty):
              * bridge/jni/v8/JavaNPObjectV8.h: Added.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54237 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      7591e7d0
    • jberlin@webkit.org's avatar
      2010-02-02 Jessie Berlin <jberlin@webkit.org> · 2cba466b
      jberlin@webkit.org authored
              Rubber Stamped by Holger Freyther.
      
              [Qt] Fix style issue identified in bug:
              https://bugs.webkit.org/show_bug.cgi?id=34329
      
              * WebCoreSupport/InspectorClientQt.cpp:
              (WebCore::InspectorClientWebPage::InspectorClientWebPage):
              Fix indentation.
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54236 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      2cba466b
    • eric@webkit.org's avatar
      2010-02-02 Benjamin Poulain <benjamin.poulain@nokia.com> · 3b725ab3
      eric@webkit.org authored
              Reviewed by Ariya Hidayat.
      
              [Qt] Symbian plugins include a wrong header file for QPixmap
              https://bugs.webkit.org/show_bug.cgi?id=34475
      
              * plugins/symbian/PluginViewSymbian.cpp:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54235 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      3b725ab3
    • cjerdonek@webkit.org's avatar
      2010-02-02 Chris Jerdonek <cjerdonek@webkit.org> · 5c2dd6b7
      cjerdonek@webkit.org authored
              Reviewed by Shinichiro Hamaji.
      
              Moved filter-related check-webkit-style code into a separate
              filter module.
      
              https://bugs.webkit.org/show_bug.cgi?id=34408
      
              This is preparatory refactoring for Bug 33684, which will allow
              file and folder-specific filter rules.
      
              * Scripts/webkitpy/style/checker.py:
                - Removed CategoryFilter class (moved to filter.py).
      
              * Scripts/webkitpy/style/checker_unittest.py:
                - Removed CategoryFilter unit tests (moved to filter_unittest.py).
      
              * Scripts/webkitpy/style/filter.py: Added.
                - Added CategoryFilter class (moved from checker.py).
      
              * Scripts/webkitpy/style/filter_unittest.py: Added.
                - Added CategoryFilter unit tests (moved from checker_unittest.py).
      
              * Scripts/webkitpy/style/unittests.py:
                - Added reference to filter_unittest.py.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54234 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      5c2dd6b7
    • jberlin@webkit.org's avatar
      2010-02-01 Jessie Berlin <jberlin@webkit.org> · 3f80cd9f
      jberlin@webkit.org authored
              Reviewed by Holger Freyther.
      
              [Qt] Enable inspecting the Web Inspector in QtLauncher
      
              https://bugs.webkit.org/show_bug.cgi?id=34329
      
              * WebCoreSupport/InspectorClientQt.cpp:
              (WebCore::InspectorClientWebPage::InspectorClientWebPage):
              Allow the DeveloperExtrasEnabled setting to default to true for the page containing the Web Inspector.
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54233 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      3f80cd9f
    • yurys@chromium.org's avatar
      2010-02-02 Yury Semikhatsky <yurys@chromium.org> · 5d787120
      yurys@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Upstream DevTools code.
      
              https://bugs.webkit.org/show_bug.cgi?id=34326
      
              * WebKit.gyp:
              * src/APUAgentDelegate.h: Added.
              * src/BoundObject.cpp: Added.
              (WebKit::BoundObject::BoundObject):
              (WebKit::BoundObject::~BoundObject):
              (WebKit::BoundObject::addProtoFunction):
              (WebKit::BoundObject::build):
              * src/BoundObject.h: Added.
              * src/DebuggerAgent.h: Added.
              * src/DebuggerAgentImpl.cpp: Added.
              (WebKit::DebuggerAgentImpl::DebuggerAgentImpl):
              (WebKit::DebuggerAgentImpl::~DebuggerAgentImpl):
              (WebKit::DebuggerAgentImpl::getContextId):
              (WebKit::DebuggerAgentImpl::debuggerOutput):
              (WebKit::DebuggerAgentImpl::createUtilityContext):
              (WebKit::DebuggerAgentImpl::executeUtilityFunction):
              (WebKit::DebuggerAgentImpl::executeVoidJavaScript):
              (WebKit::DebuggerAgentImpl::page):
              * src/DebuggerAgentImpl.h: Added.
              (WebKit::DebuggerAgentImpl::setAutoContinueOnException):
              (WebKit::DebuggerAgentImpl::autoContinueOnException):
              (WebKit::DebuggerAgentImpl::webdevtoolsAgent):
              (WebKit::DebuggerAgentImpl::webView):
              * src/DebuggerAgentManager.cpp: Added.
              (WebKit::DebuggerAgentManager::debugHostDispatchHandler):
              (WebKit::DebuggerAgentManager::debugAttach):
              (WebKit::DebuggerAgentManager::debugDetach):
              (WebKit::DebuggerAgentManager::onV8DebugMessage):
              (WebKit::DebuggerAgentManager::pauseScript):
              (WebKit::DebuggerAgentManager::executeDebuggerCommand):
              (WebKit::DebuggerAgentManager::setMessageLoopDispatchHandler):
              (WebKit::DebuggerAgentManager::setHostId):
              (WebKit::DebuggerAgentManager::onWebViewClosed):
              (WebKit::DebuggerAgentManager::onNavigate):
              (WebKit::DebuggerAgentManager::sendCommandToV8):
              (WebKit::DebuggerAgentManager::sendContinueCommandToV8):
              (WebKit::DebuggerAgentManager::findAgentForCurrentV8Context):
              (WebKit::DebuggerAgentManager::debuggerAgentForHostId):
              * src/DebuggerAgentManager.h: Added.
              (WebKit::DebuggerAgentManager::UtilityContextScope::UtilityContextScope):
              (WebKit::DebuggerAgentManager::UtilityContextScope::~UtilityContextScope):
              * src/DevToolsRPC.h: Added.
              (WebKit::):
              (WebKit::DevToolsRPC::Delegate::Delegate):
              (WebKit::DevToolsRPC::Delegate::~Delegate):
              (WebKit::DevToolsRPC::DevToolsRPC):
              (WebKit::DevToolsRPC::~DevToolsRPC):
              (WebKit::DevToolsRPC::sendRpcMessage):
              * src/DevToolsRPCJS.h: Added.
              * src/ProfilerAgent.h: Added.
              * src/ProfilerAgentImpl.cpp: Added.
              (WebKit::ProfilerAgentImpl::getActiveProfilerModules):
              (WebKit::ProfilerAgentImpl::getLogLines):
              * src/ProfilerAgentImpl.h: Added.
              (WebKit::ProfilerAgentImpl::ProfilerAgentImpl):
              (WebKit::ProfilerAgentImpl::~ProfilerAgentImpl):
              * src/ToolsAgent.h: Added.
              * src/WebDevToolsAgentImpl.cpp: Added.
              (WebKit::):
              (WebKit::WebDevToolsAgentImpl::WebDevToolsAgentImpl):
              (WebKit::WebDevToolsAgentImpl::~WebDevToolsAgentImpl):
              (WebKit::WebDevToolsAgentImpl::disposeUtilityContext):
              (WebKit::WebDevToolsAgentImpl::unhideResourcesPanelIfNecessary):
              (WebKit::WebDevToolsAgentImpl::attach):
              (WebKit::WebDevToolsAgentImpl::detach):
              (WebKit::WebDevToolsAgentImpl::didNavigate):
              (WebKit::WebDevToolsAgentImpl::didCommitProvisionalLoad):
              (WebKit::WebDevToolsAgentImpl::didClearWindowObject):
              (WebKit::WebDevToolsAgentImpl::forceRepaint):
              (WebKit::WebDevToolsAgentImpl::dispatchOnInspectorController):
              (WebKit::WebDevToolsAgentImpl::dispatchOnInjectedScript):
              (WebKit::WebDevToolsAgentImpl::executeVoidJavaScript):
              (WebKit::WebDevToolsAgentImpl::dispatchMessageFromFrontend):
              (WebKit::WebDevToolsAgentImpl::inspectElementAt):
              (WebKit::WebDevToolsAgentImpl::setRuntimeFeatureEnabled):
              (WebKit::WebDevToolsAgentImpl::sendRpcMessage):
              (WebKit::WebDevToolsAgentImpl::compileUtilityScripts):
              (WebKit::WebDevToolsAgentImpl::initDevToolsAgentHost):
              (WebKit::WebDevToolsAgentImpl::createInspectorBackendV8Wrapper):
              (WebKit::WebDevToolsAgentImpl::resetInspectorFrontendProxy):
              (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
              (WebKit::WebDevToolsAgentImpl::jsDispatchOnClient):
              (WebKit::WebDevToolsAgentImpl::jsDispatchToApu):
              (WebKit::WebDevToolsAgentImpl::jsEvaluateOnSelf):
              (WebKit::WebDevToolsAgentImpl::jsOnRuntimeFeatureStateChanged):
              (WebKit::WebDevToolsAgentImpl::inspectorController):
              (WebKit::WebDevToolsAgentImpl::identifierForInitialRequest):
              (WebKit::WebDevToolsAgentImpl::willSendRequest):
              (WebKit::WebDevToolsAgentImpl::didReceiveData):
              (WebKit::WebDevToolsAgentImpl::didReceiveResponse):
              (WebKit::WebDevToolsAgentImpl::didFinishLoading):
              (WebKit::WebDevToolsAgentImpl::didFailLoading):
              (WebKit::WebDevToolsAgentImpl::evaluateInWebInspector):
              (WebKit::WebDevToolsAgentImpl::setTimelineProfilingEnabled):
              (WebKit::WebDevToolsAgent::create):
              (WebKit::WebDevToolsAgent::executeDebuggerCommand):
              (WebKit::WebDevToolsAgent::debuggerPauseScript):
              (WebKit::WebDevToolsAgent::setMessageLoopDispatchHandler):
              (WebKit::WebDevToolsAgent::dispatchMessageFromFrontendOnIOThread):
              * src/WebDevToolsAgentImpl.h: Added.
              (WebKit::WebDevToolsAgentImpl::hostId):
              * src/WebDevToolsFrontendImpl.cpp: Added.
              (WebKit::ToV8String):
              (WebKit::WebDevToolsFrontend::create):
              (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
              (WebKit::WebDevToolsFrontendImpl::~WebDevToolsFrontendImpl):
              (WebKit::WebDevToolsFrontendImpl::dispatchMessageFromAgent):
              (WebKit::WebDevToolsFrontendImpl::executeScript):
              (WebKit::WebDevToolsFrontendImpl::dispatchOnWebInspector):
              (WebKit::WebDevToolsFrontendImpl::sendRpcMessage):
              (WebKit::WebDevToolsFrontendImpl::contextMenuItemSelected):
              (WebKit::WebDevToolsFrontendImpl::contextMenuCleared):
              (WebKit::WebDevToolsFrontendImpl::jsLoaded):
              (WebKit::WebDevToolsFrontendImpl::jsPlatform):
              (WebKit::WebDevToolsFrontendImpl::jsPort):
              (WebKit::WebDevToolsFrontendImpl::jsCopyText):
              (WebKit::WebDevToolsFrontendImpl::jsActivateWindow):
              (WebKit::WebDevToolsFrontendImpl::jsCloseWindow):
              (WebKit::WebDevToolsFrontendImpl::jsDockWindow):
              (WebKit::WebDevToolsFrontendImpl::jsUndockWindow):
              (WebKit::WebDevToolsFrontendImpl::jsLocalizedStringsURL):
              (WebKit::WebDevToolsFrontendImpl::jsHiddenPanels):
              (WebKit::WebDevToolsFrontendImpl::jsDebuggerCommand):
              (WebKit::WebDevToolsFrontendImpl::jsSetting):
              (WebKit::WebDevToolsFrontendImpl::jsSetSetting):
              (WebKit::WebDevToolsFrontendImpl::jsDebuggerPauseScript):
              (WebKit::WebDevToolsFrontendImpl::jsWindowUnloading):
              (WebKit::WebDevToolsFrontendImpl::jsShowContextMenu):
              * src/WebDevToolsFrontendImpl.h: Added.
              (WebKit::WebDevToolsFrontendImpl::MenuProvider::create):
              (WebKit::WebDevToolsFrontendImpl::MenuProvider::~MenuProvider):
              (WebKit::WebDevToolsFrontendImpl::MenuProvider::disconnect):
              (WebKit::WebDevToolsFrontendImpl::MenuProvider::populateContextMenu):
              (WebKit::WebDevToolsFrontendImpl::MenuProvider::contextMenuItemSelected):
              (WebKit::WebDevToolsFrontendImpl::MenuProvider::contextMenuCleared):
              (WebKit::WebDevToolsFrontendImpl::MenuProvider::MenuProvider):
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54232 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      5d787120
    • pfeldman@chromium.org's avatar
      2010-02-02 Pavel Feldman <pfeldman@chromium.org> · d24808f0
      pfeldman@chromium.org authored
              Reviewed by Timothy Hatcher.
      
              Web Inspector: URLs are not syntax-higlighted as links in source view.
      
              This change enables linkifier in the NativeTextViewer. It adds
              "linkify" and "a_node" parse states into the highlighter in order
              to detect links and distinguish between resource and external ones.
              Contains drive-by fix for the webkit-html-* styles and moves them to the
              common location.
      
              https://bugs.webkit.org/show_bug.cgi?id=34364
      
              * inspector/front-end/NativeTextViewer.js:
              (WebInspector.NativeTextViewer):
              (WebInspector.NativeTextViewer.prototype._createSpan):
              (WebInspector.NativeTextViewer.prototype._createLink):
              (WebInspector.NativeTextViewer.prototype._rewriteHref):
              * inspector/front-end/SourceFrame.js:
              (WebInspector.SourceFrame.prototype.setContent):
              (WebInspector.SourceFrame.prototype._createEditorIfNeeded):
              * inspector/front-end/SourceHTMLTokenizer.js:
              (WebInspector.SourceHTMLTokenizer):
              (WebInspector.SourceHTMLTokenizer.prototype._isExpectingAttribute):
              (WebInspector.SourceHTMLTokenizer.prototype._isExpectingAttributeValue):
              (WebInspector.SourceHTMLTokenizer.prototype._setExpectingAttribute):
              (WebInspector.SourceHTMLTokenizer.prototype._setExpectingAttributeValue):
              (WebInspector.SourceHTMLTokenizer.prototype._stringToken):
              (WebInspector.SourceHTMLTokenizer.prototype._attrValueTokenType):
              (WebInspector.SourceHTMLTokenizer.prototype.nextToken):
              * inspector/front-end/SourceHTMLTokenizer.re2js:
              * inspector/front-end/SourceView.js:
              (WebInspector.SourceView.prototype._contentLoaded):
              * inspector/front-end/TextEditorHighlighter.js:
              (WebInspector.TextEditorHighlighter):
              * inspector/front-end/inspector.css:
              * inspector/front-end/inspectorSyntaxHighlight.css:
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54231 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      d24808f0