1. 30 Nov, 2007 1 commit
  2. 13 Nov, 2007 1 commit
    • beidson@apple.com's avatar
      Squashed commit of the following: · effd1c72
      beidson@apple.com authored
      commit 3e6cb737b3b823b4bf177b9e0c2fcfcc38baf46d
      Author: Brady Eidson <beidson@apple.com>
      Date:   Tue Nov 13 16:22:36 2007 -0800
      
          Changelog for commit
      
      commit 4be13a5ef17685368e68a76292b785c99da1d7f2
      Author: Brady Eidson <beidson@apple.com>
      Date:   Tue Nov 13 16:19:34 2007 -0800
      
          Make inspector work with new API
      
      commit c500ed90c32b31fbc37a183c8ae5427f36b9ccc2
      Author: Brady Eidson <beidson@apple.com>
      Date:   Tue Nov 13 14:37:16 2007 -0800
      
          Woops!
      
      commit c61b147f35a2801c340f82054d177914da6ccde5
      Author: Brady Eidson <beidson@apple.com>
      Date:   Tue Nov 13 11:45:40 2007 -0800
      
          Ander's review comments
      
      commit f3dc2683acc5730cbab8758226adae3e35f7263b
      Author: Brady Eidson <beidson@apple.com>
      Date:   Mon Nov 12 18:05:21 2007 -0800
      
          Initial vcproj changes after the rebase
      
      commit c8cf9be275479ff1fb39b911e5165f07fcd5ae34
      Author: Brady Eidson <beidson@apple.com>
      Date:   Mon Nov 12 18:02:30 2007 -0800
      
          Fixed Changelog a bit
      
      commit c9790cde9b79e25690f1c0b34b9c1e77d2f4449f
      Author: Brady Eidson <beidson@apple.com>
      Date:   Mon Nov 12 16:53:48 2007 -0800
      
          Finish the rebase/trunk merge
      
      commit 663ad85619ec677eb5c52bed3c59b8b3f50de624
      Author: Brady Eidson <beidson@apple.com>
      Date:   Tue Nov 6 11:54:26 2007 -0800
      
          VCProj changes for new SQL api + blind attempt at keeping qt/gtk going
      
      commit 2aceeb3bdfa6894bb4e93c0b129867059e9cdad7
      Author: Brady Eidson <beidson@apple.com>
      Date:   Mon Nov 5 15:27:55 2007 -0800
      
          Changelog edit cleanup
      
      commit a05f11fa4fa0ba935eb28df6d9628f29a4074d7a
      Author: Brady Eidson <beidson@apple.com>
      Date:   Mon Nov 5 15:25:27 2007 -0800
      
          Changelog entries and small style cleanup
      
      commit a2d34a78d06f446f4bdb6ea1797dfb91cfc336fe
      Author: Brady Eidson <beidson@apple.com>
      Date:   Mon Nov 5 13:37:10 2007 -0800
      
          Minor edit
      
      commit eaf0aa9c07cfeb54df312c130677ecbc60728c5f
      Author: Brady Eidson <beidson@apple.com>
      Date:   Mon Nov 5 13:32:20 2007 -0800
      
          Do version check at time of executeSql
      
      commit 3bac84615badcc810f44ebf14d1679bffd4cc8fb
      Author: Brady Eidson <beidson@apple.com>
      Date:   Mon Nov 5 13:04:14 2007 -0800
      
          Newline = t3h gone
      
      commit de7cfcf737b1a6143b74f1cc60955c317877ca27
      Author: Brady Eidson <beidson@apple.com>
      Date:   Mon Nov 5 13:02:11 2007 -0800
      
          Example + inspector fixes
      
      commit 536b119c219de72c97fe6756e226a36bef5e6880
      Author: Brady Eidson <beidson@apple.com>
      Date:   Mon Nov 5 11:47:30 2007 -0800
      
          DatabaseExample works
      
      commit fff79aa99dbf47955bc37ca325928460fc41a59e
      Author: Brady Eidson <beidson@apple.com>
      Date:   Mon Nov 5 10:36:59 2007 -0800
      
          Remove the old, now unused DatabaseCallback
      
      commit 06bc8e16ad346b755f767ce8e7849da819ccf96f
      Author: Brady Eidson <beidson@apple.com>
      Date:   Mon Nov 5 09:57:36 2007 -0800
      
          Sort project file
      
      commit 741084d108ec994ff513e18c3d7a3153f6dd6bb5
      Author: Brady Eidson <beidson@apple.com>
      Date:   Mon Nov 5 09:30:37 2007 -0800
      
          Sort the project file
      
      commit 2e77cec4337db174f56269b7fb406d81ebb1de7d
      Author: Brady Eidson <beidson@apple.com>
      Date:   Thu Nov 1 16:01:03 2007 -0700
      
          Yay!  Change version even works!
      
      commit 05c2ed1f22e3b689dd453ea300154492937f46db
      Author: Brady Eidson <beidson@apple.com>
      Date:   Thu Nov 1 15:19:56 2007 -0700
      
          Nuke some DRT changes
      
      commit 9b5b9b25c45d7d4720e4ddf4a31f163fb4f7faf2
      Author: Brady Eidson <beidson@apple.com>
      Date:   Thu Nov 1 15:05:59 2007 -0700
      
          Nuke some printfs
      
      commit 8503eecdefa95278a15246bb4eed2dccb69af12a
      Author: Brady Eidson <beidson@apple.com>
      Date:   Thu Nov 1 13:44:32 2007 -0700
      
          Added "current transaction" to Database and reworked how scheduling goes
      
      commit f70354c9a84d654d28894ab3c6b13679ce494fc3
      Author: Brady Eidson <beidson@apple.com>
      Date:   Thu Nov 1 11:49:26 2007 -0700
      
          Things are largely working.  Still need to clean up loose ends in the sticky notes demo and do further testing
      
      commit 417665cd15f020c22af5691577e5c8a072630839
      Author: Brady Eidson <beidson@apple.com>
      Date:   Thu Nov 1 00:00:47 2007 -0700
      
          Transaction steps are almost locked up completely.  Still need the SQLError for the transaction error callback and actually implementing ::execute() on the SQLStatement
      
      commit 752d572acd4d1d9832976b4869284e554845205a
      Author: Anders Carlsson <andersca@apple.com>
      Date:   Wed Oct 31 18:52:55 2007 -0700
      
          Forgot this.
      
      commit 2c8f2689d212296961a841c579a2f93609858862
      Author: Anders Carlsson <andersca@apple.com>
      Date:   Wed Oct 31 18:31:05 2007 -0700
      
          Merge.
      
      commit 7540d4fa7ef858400d9f834cba976a439394412d
      Author: Brady Eidson <beidson@apple.com>
      Date:   Wed Oct 31 17:14:30 2007 -0700
      
          Even closer!
      
      commit 143a70a5d026ab9fab1b5de91f826effcd481527
      Author: Brady Eidson <beidson@apple.com>
      Date:   Wed Oct 31 16:43:31 2007 -0700
      
          Merge project file correctly
      
      commit 11207e7b6e391a4052fc41f6db42ce30449c7e3e
      Author: Anders Carlsson <andersca@apple.com>
      Date:   Wed Oct 31 11:04:35 2007 -0700
      
          Remove more unused methods.
      
      commit 9a0d306d467eb9aa8c19825da03b7abe318c609c
      Author: Anders Carlsson <andersca@apple.com>
      Date:   Wed Oct 31 11:01:35 2007 -0700
      
          Add SQLTransactionCallback.idl
      
      commit 12e2fa2858145e3895320293462ec441c35a7e3d
      Author: Anders Carlsson <andersca@apple.com>
      Date:   Wed Oct 31 10:47:17 2007 -0700
      
          Fix build.
      
      commit 02f4631705b0f6e0bd3c715c64f4938ea53f4670
      Author: Brady Eidson <beidson@apple.com>
      Date:   Tue Oct 30 23:36:24 2007 -0700
      
          All steps now take place in the right order, following the right rules - only thing missing is the actual SQL executing!
      
      commit 6a8c0d7d2beb745c070c55b14beac9a47d373fc4
      Author: Brady Eidson <beidson@apple.com>
      Date:   Tue Oct 30 18:20:35 2007 -0700
      
          Closer and closer we roll
      
      commit f945446453ae48a28d6e2f3dcce4660feae0da79
      Author: Brady Eidson <beidson@apple.com>
      Date:   Tue Oct 30 17:59:25 2007 -0700
      
          Things are really rolling - transaction steps 1-5 are called as expected.  Downhill from here
      
      commit 138b49b62bc8f3d05b1171e280d403e8b15ef9c4
      Author: Brady Eidson <beidson@apple.com>
      Date:   Tue Oct 30 14:50:14 2007 -0700
      
          Use pointer-to-member functions for the transaction steps...  !!!
      
      commit 3eb4f794861827f5c88cd8c36efb144cdc537bd5
      Author: Anders Carlsson <andersca@apple.com>
      Date:   Tue Oct 30 14:45:59 2007 -0700
      
          Remove more old cruft.
      
      commit f18835f0709b4aff00903738974dbebb11a224f0
      Author: Brady Eidson <beidson@apple.com>
      Date:   Tue Oct 30 13:55:05 2007 -0700
      
          Restore that comment
      
      commit 35b2eac5ac3ec338cc2a8a4fe611f85e62c72dd6
      Author: Brady Eidson <beidson@apple.com>
      Date:   Tue Oct 30 12:08:29 2007 -0700
      
          Closer, still, to the new model working.  Lotsa little tweaks
      
      commit a8476702a7d9bb38b8e15966e837ceca5858e9b2
      Author: Anders Carlsson <andersca@apple.com>
      Date:   Tue Oct 30 11:23:02 2007 -0700
      
          Wrap changeVersion.
      
      commit aa0d8cc6aaaf674de341996555306eb9f122de3c
      Author: Brady Eidson <beidson@apple.com>
      Date:   Mon Oct 29 22:35:16 2007 -0700
      
          Dummy callback as part of transaction steps acheived!  And other architectural changes
      
      commit 01c0a92daf764375be79753bc7bc417aa0205168
      Author: Brady Eidson <beidson@apple.com>
      Date:   Mon Oct 29 18:23:00 2007 -0700
      
          Have a the first chunk of transaction steps occuring asynchronously with stubs and printf()s - should be downhill from here.  Also updated the DatabaseExample.html for the portion of the new API that works so far.
      
      commit 6b6e9e7a064424cd6b70489de80c79e7ae950b38
      Author: Brady Eidson <beidson@apple.com>
      Date:   Mon Oct 29 17:32:30 2007 -0700
      
          Made DatabaseTasks create mutex/conditions on demand, and renamed the internal sqlitedatabase
      
      commit 99d06513090c2b4e04edda82d82108cf97da245a
      Author: Anders Carlsson <andersca@apple.com>
      Date:   Mon Oct 29 16:30:52 2007 -0700
      
          Fix bug.
      
      commit 83def2ce73fa001f5bda3e152ca60e58c563dbed
      Author: Anders Carlsson <andersca@apple.com>
      Date:   Mon Oct 29 15:17:45 2007 -0700
      
          Remove some cruft.
      
      commit 9f2c8c21d06d6b379426449357f1ee00a25faeee
      Author: Anders Carlsson <andersca@apple.com>
      Date:   Mon Oct 29 14:45:54 2007 -0700
      
          More bindings.
      
      commit 9eae9135ed17179b7bcd225648272d24b76de8b9
      Author: Brady Eidson <beidson@apple.com>
      Date:   Mon Oct 29 14:19:34 2007 -0700
      
          Adapt to new openDatabase() method
      
      commit 2e1dad857b190634f4394475e925d2dc518ae1fe
      Author: Brady Eidson <beidson@apple.com>
      Date:   Mon Oct 29 12:05:53 2007 -0700
      
          More infrastructure changes for the new spec, getting really close now!
      
      commit b0d8ca9dc7ffe1a424070d5f8587346eca56b76b
      Author: Brady Eidson <beidson@apple.com>
      Date:   Fri Oct 26 17:25:41 2007 -0700
      
          More stubbing of infrastructure
      
      commit bb8c6528208a24f129af9a8c09763989e5723157
      Author: Anders Carlsson <andersca@apple.com>
      Date:   Fri Oct 26 15:38:16 2007 -0700
      
          Remove SQLVersionChangeCallback.h
      
      commit c77ec8b1d2a7c8cb7a6a0bc42b089c34541cdf83
      Author: Brady Eidson <beidson@apple.com>
      Date:   Fri Oct 26 15:28:08 2007 -0700
      
          Make it build (removed the old changeVersion)
      
      commit e205fd2d6cb0cd4e6dd47cf4b6609196d0d8e87d
      Author: Brady Eidson <beidson@apple.com>
      Date:   Fri Oct 26 14:53:15 2007 -0700
      
          Even more progress in the architecture change
      
      commit 322f576e2ed8c584244335f918302169c81ea39f
      Author: Anders Carlsson <andersca@apple.com>
      Date:   Fri Oct 26 14:52:22 2007 -0700
      
          Add JSSQLTransactionCustom.cpp.
      
      commit 22d0b184e1d5d92574b5caf2b73eb6c7faae84be
      Author: Anders Carlsson <andersca@apple.com>
      Date:   Fri Oct 26 13:21:55 2007 -0700
      
          Add new API to Database.
      
      commit 910660c7668f2728850990f8984045de9e41423f
      Author: Anders Carlsson <andersca@apple.com>
      Date:   Fri Oct 26 11:48:33 2007 -0700
      
          Add more .IDL files
      
      commit 4d0cbb5b3e8c57076ce0cb743f8a52a5e31c0219
      Author: Brady Eidson <beidson@apple.com>
      Date:   Fri Oct 26 11:20:54 2007 -0700
      
          Further groundwork for new API (does not build)
      
      commit d6420aacd1bf610ca53eced12e61ecd074f31bd7
      Author: Brady Eidson <beidson@apple.com>
      Date:   Thu Oct 25 18:02:23 2007 -0700
      
          Further stubs and adaptations to the new API
      
      commit ea80b0c14037cfbdccf322146b26b62df2aa8211
      Author: Brady Eidson <beidson@apple.com>
      Date:   Thu Oct 25 15:51:43 2007 -0700
      
          Remove closeTransaction()
      
      commit 4e701837674e07111da80a476135f5b73e25210f
      Author: Brady Eidson <beidson@apple.com>
      Date:   Thu Oct 25 14:05:40 2007 -0700
      
          Further stubbing and API-matching cleanup
      
      commit f667cf3c7847069a6720296710876394954611bd
      Author: Anders Carlsson <andersca@apple.com>
      Date:   Wed Oct 24 16:32:58 2007 -0700
      
          Add extra arguments to Window.openDatabase.
      
      commit efbbe3016a31a9c4a717de25d831406288f8126d
      Author: Anders Carlsson <andersca@apple.com>
      Date:   Wed Oct 24 14:21:22 2007 -0700
      
          cleanup.
      
      commit b70a8252a588eee36d06835bad5793361ced35c5
      Author: Anders Carlsson <andersca@apple.com>
      Date:   Wed Oct 24 12:31:06 2007 -0700
      
          Stub out a couple of new classes.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27762 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      effd1c72
  3. 02 Nov, 2007 1 commit
  4. 31 Oct, 2007 2 commits
    • andersca's avatar
      Reviewed by Sam. · 4912acec
      andersca authored
              Add new SQL callback interfaces and JS implementations of them.
              
              * DerivedSources.make:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/JSCustomSQLStatementCallback.cpp: Added.
              (WebCore::JSCustomSQLStatementCallback::JSCustomSQLStatementCallback):
              (WebCore::JSCustomSQLStatementCallback::handleEvent):
              * bindings/js/JSCustomSQLStatementCallback.h: Added.
              * bindings/js/JSCustomSQLStatementErrorCallback.cpp: Added.
              (WebCore::JSCustomSQLStatementErrorCallback::JSCustomSQLStatementErrorCallback):
              (WebCore::JSCustomSQLStatementErrorCallback::handleEvent):
              * bindings/js/JSCustomSQLStatementErrorCallback.h: Added.
              * bindings/js/JSCustomSQLTransactionCallback.cpp: Added.
              (WebCore::JSCustomSQLTransactionCallback::JSCustomSQLTransactionCallback):
              (WebCore::JSCustomSQLTransactionCallback::handleEvent):
              * bindings/js/JSCustomSQLTransactionCallback.h: Added.
              * bindings/js/JSCustomSQLTransactionErrorCallback.cpp: Added.
              (WebCore::JSCustomSQLTransactionErrorCallback::JSCustomSQLTransactionErrorCallback):
              (WebCore::JSCustomSQLTransactionErrorCallback::handleEvent):
              * bindings/js/JSCustomSQLTransactionErrorCallback.h: Added.
              * storage/JSCustomSQLStatementCallback.h: Added.
              * storage/JSCustomSQLStatementErrorCallback.h: Added.
              * storage/JSCustomSQLTransactionCallback.h: Added.
              * storage/JSCustomSQLTransactionErrorCallback.h: Added.
              * storage/SQLStatementCallback.h: Added.
              (WebCore::SQLStatementCallback::~SQLStatementCallback):
              * storage/SQLStatementCallback.idl: Added.
              * storage/SQLStatementErrorCallback.h: Added.
              (WebCore::SQLStatementErrorCallback::~SQLStatementErrorCallback):
              * storage/SQLStatementErrorCallback.idl: Added.
              * storage/SQLTransaction.h: Added.
              * storage/SQLTransaction.idl: Added.
              * storage/SQLTransactionCallback.h: Added.
              (WebCore::SQLTransactionCallback::~SQLTransactionCallback):
              * storage/SQLTransactionCallback.idl: Added.
              * storage/SQLTransactionErrorCallback.h: Added.
              (WebCore::SQLTransactionErrorCallback::~SQLTransactionErrorCallback):
              * storage/SQLTransactionErrorCallback.idl: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27335 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4912acec
    • andersca's avatar
      Reviewed by Darin. · 5a5889b6
      andersca authored
              Add new SQLError implementation.
              
              * DerivedSources.make:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * storage/SQLError.h: Added.
              (WebCore::SQLError::SQLError):
              (WebCore::SQLError::code):
              (WebCore::SQLError::message):
              * storage/SQLError.idl: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27328 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5a5889b6
  5. 30 Oct, 2007 2 commits
    • ddkilzer's avatar
      WebCore: · b7ba4fce
      ddkilzer authored
              Generated files missing from WebCore's Xcode project file
              <http://bugs.webkit.org/show_bug.cgi?id=15406>
      
              Reviewed by Darin.
      
              Added the following files to the Xcode project file (note that
              JSHTMLInputElementBaseTable.cpp is used as a header file):
      
              - DOMCSSStyleSheetPrivate.h
              - DOMEventPrivate.h
              - DOMHTMLCollectionPrivate.h
              - DOMHTMLEmbedElementPrivate.h
              - DOMHTMLIFrameElementPrivate.h
              - DOMHTMLObjectElementPrivate.h
              - DOMHTMLSelectElementPrivate.h
              - DOMTextEventInternal.h
              - JSHTMLInputElementBaseTable.cpp
      
              * DerivedSources.make: Removed DOMSVGException.h and JSSVGAnimatedPoints.h
              since their generated code was not used.
              * WebCore.xcodeproj/project.pbxproj: Added missing header files.
      
      WebKit:
      
              Generated files missing from WebCore's Xcode project file
              <http://bugs.webkit.org/show_bug.cgi?id=15406>
      
              Reviewed by Darin.
      
              Added the following private header files to MigrateHeaders.make:
      
              - DOMCSSStyleSheetPrivate.h
              - DOMEventPrivate.h
              - DOMHTMLCollectionPrivate.h
              - DOMHTMLEmbedElementPrivate.h
              - DOMHTMLIFrameElementPrivate.h
              - DOMHTMLObjectElementPrivate.h
              - DOMHTMLSelectElementPrivate.h
      
              * MigrateHeaders.make:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27278 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b7ba4fce
    • antti's avatar
      Rubber stamped by Adele. · 76787a87
      antti authored
              Initial media (<video> and <audio>) support from feature branch and 
              QTKit based platform implementation.
              
              This will need to be updated to match current draft specification.
      
              * Configurations/WebCore.xcconfig:
              * DerivedSources.make:
              * WebCore.base.exp:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/JSEventCustom.cpp:
              (WebCore::toJS):
              * bindings/js/JSHTMLAudioElementConstructor.cpp: Added.
              (WebCore::JSHTMLAudioElementConstructor::JSHTMLAudioElementConstructor):
              (WebCore::JSHTMLAudioElementConstructor::implementsConstruct):
              (WebCore::JSHTMLAudioElementConstructor::construct):
              * bindings/js/JSHTMLAudioElementConstructor.h: Added.
              * bindings/js/JSHTMLElementWrapperFactory.cpp:
              (WebCore::createJSHTMLWrapper):
              * bindings/js/kjs_window.cpp:
              (KJS::Window::getValueProperty):
              * bindings/js/kjs_window.h:
              (KJS::Window::):
              * bindings/scripts/CodeGeneratorJS.pm:
              * dom/Document.cpp:
              (WebCore::Document::createEvent):
              (WebCore::Document::willSaveToCache):
              (WebCore::Document::didRestoreFromCache):
              (WebCore::Document::registerForCacheCallbacks):
              (WebCore::Document::unregisterForCacheCallbacks):
              * dom/Document.h:
              * dom/Element.cpp:
              (WebCore::Element::setBooleanAttribute):
              * dom/Element.h:
              (WebCore::Element::willSaveToCache):
              * dom/Event.cpp:
              (WebCore::Event::isProgressEvent):
              * dom/Event.h:
              * dom/EventNames.h:
              * dom/EventTargetNode.cpp:
              (WebCore::EventTargetNode::dispatchProgressEvent):
              * dom/EventTargetNode.h:
              * dom/ProgressEvent.cpp: Added.
              (WebCore::ProgressEvent::ProgressEvent):
              (WebCore::ProgressEvent::initProgressEvent):
              (WebCore::ProgressEvent::initProgressEventNS):
              * dom/ProgressEvent.h: Added.
              (WebCore::ProgressEvent::lengthComputable):
              (WebCore::ProgressEvent::loaded):
              (WebCore::ProgressEvent::total):
              (WebCore::ProgressEvent::isProgressEvent):
              * dom/ProgressEvent.idl: Added.
              * history/CachedPage.cpp:
              (WebCore::CachedPage::CachedPage):
              * html/HTMLAttributeNames.in:
              * html/HTMLAudioElement.cpp: Added.
              (WebCore::HTMLAudioElement::HTMLAudioElement):
              * html/HTMLAudioElement.h: Added.
              (WebCore::HTMLAudioElement::tagPriority):
              * html/HTMLAudioElement.idl: Added.
              * html/HTMLElement.cpp:
              (WebCore::inlineTagList):
              * html/HTMLElementFactory.cpp:
              (WebCore::audioConstructor):
              (WebCore::videoConstructor):
              (WebCore::sourceConstructor):
              (WebCore::createFunctionMap):
              * html/HTMLInputElement.cpp:
              (WebCore::HTMLInputElement::~HTMLInputElement):
              (WebCore::HTMLInputElement::setInputType):
              (WebCore::HTMLInputElement::willMoveToNewOwnerDocument):
              (WebCore::HTMLInputElement::didMoveToNewOwnerDocument):
              * html/HTMLMediaElement.cpp: Added.
              (WebCore::HTMLMediaElement::HTMLMediaElement):
              (WebCore::HTMLMediaElement::~HTMLMediaElement):
              (WebCore::HTMLMediaElement::checkDTD):
              (WebCore::HTMLMediaElement::rendererIsNeeded):
              (WebCore::HTMLMediaElement::createRenderer):
              (WebCore::HTMLMediaElement::insertedIntoDocument):
              (WebCore::HTMLMediaElement::removedFromDocument):
              (WebCore::HTMLMediaElement::scheduleLoad):
              (WebCore::HTMLMediaElement::initAndDispatchProgressEvent):
              (WebCore::HTMLMediaElement::dispatchEventAsync):
              (WebCore::HTMLMediaElement::loadTimerFired):
              (WebCore::HTMLMediaElement::asyncEventTimerFired):
              (WebCore::serializeTimeOffset):
              (WebCore::parseTimeOffset):
              (WebCore::HTMLMediaElement::getTimeOffsetAttribute):
              (WebCore::HTMLMediaElement::setTimeOffsetAttribute):
              (WebCore::HTMLMediaElement::error):
              (WebCore::HTMLMediaElement::src):
              (WebCore::HTMLMediaElement::HTMLMediaElement::setSrc):
              (WebCore::HTMLMediaElement::currentSrc):
              (WebCore::HTMLMediaElement::networkState):
              (WebCore::HTMLMediaElement::bufferingRate):
              (WebCore::HTMLMediaElement::load):
              (WebCore::HTMLMediaElement::movieNetworkStateChanged):
              (WebCore::HTMLMediaElement::movieReadyStateChanged):
              (WebCore::HTMLMediaElement::setReadyState):
              (WebCore::HTMLMediaElement::progressEventTimerFired):
              (WebCore::HTMLMediaElement::seek):
              (WebCore::HTMLMediaElement::readyState):
              (WebCore::HTMLMediaElement::seeking):
              (WebCore::HTMLMediaElement::currentTime):
              (WebCore::HTMLMediaElement::setCurrentTime):
              (WebCore::HTMLMediaElement::duration):
              (WebCore::HTMLMediaElement::paused):
              (WebCore::HTMLMediaElement::defaultPlaybackRate):
              (WebCore::HTMLMediaElement::setDefaultPlaybackRate):
              (WebCore::HTMLMediaElement::playbackRate):
              (WebCore::HTMLMediaElement::setPlaybackRate):
              (WebCore::HTMLMediaElement::ended):
              (WebCore::HTMLMediaElement::autoplay):
              (WebCore::HTMLMediaElement::setAutoplay):
              (WebCore::HTMLMediaElement::play):
              (WebCore::HTMLMediaElement::pause):
              (WebCore::HTMLMediaElement::loopCount):
              (WebCore::HTMLMediaElement::setLoopCount):
              (WebCore::HTMLMediaElement::start):
              (WebCore::HTMLMediaElement::setStart):
              (WebCore::HTMLMediaElement::end):
              (WebCore::HTMLMediaElement::setEnd):
              (WebCore::HTMLMediaElement::loopStart):
              (WebCore::HTMLMediaElement::setLoopStart):
              (WebCore::HTMLMediaElement::loopEnd):
              (WebCore::HTMLMediaElement::setLoopEnd):
              (WebCore::HTMLMediaElement::currentLoop):
              (WebCore::HTMLMediaElement::setCurrentLoop):
              (WebCore::HTMLMediaElement::controls):
              (WebCore::HTMLMediaElement::setControls):
              (WebCore::HTMLMediaElement::volume):
              (WebCore::HTMLMediaElement::setVolume):
              (WebCore::HTMLMediaElement::muted):
              (WebCore::HTMLMediaElement::setMuted):
              (WebCore::HTMLMediaElement::pickMedia):
              (WebCore::HTMLMediaElement::checkIfSeekNeeded):
              (WebCore::HTMLMediaElement::movieVolumeChanged):
              (WebCore::HTMLMediaElement::movieDidEnd):
              (WebCore::HTMLMediaElement::movieCuePointReached):
              (WebCore::HTMLMediaElement::addCuePoint):
              (WebCore::HTMLMediaElement::removeCuePoint):
              (WebCore::HTMLMediaElement::buffered):
              (WebCore::HTMLMediaElement::played):
              (WebCore::HTMLMediaElement::seekable):
              (WebCore::HTMLMediaElement::effectiveStart):
              (WebCore::HTMLMediaElement::effectiveEnd):
              (WebCore::HTMLMediaElement::effectiveLoopStart):
              (WebCore::HTMLMediaElement::effectiveLoopEnd):
              (WebCore::HTMLMediaElement::activelyPlaying):
              (WebCore::HTMLMediaElement::endedPlayback):
              (WebCore::HTMLMediaElement::willSaveToCache):
              (WebCore::HTMLMediaElement::didRestoreFromCache):
              * html/HTMLMediaElement.h: Added.
              (WebCore::HTMLMediaElement::movie):
              (WebCore::HTMLMediaElement::isVideo):
              (WebCore::HTMLMediaElement::):
              (WebCore::HTMLMediaElement::CallbackEntry::CallbackEntry):
              * html/HTMLMediaElement.idl: Added.
              * html/HTMLSourceElement.cpp: Added.
              (WebCore::HTMLSourceElement::HTMLSourceElement):
              (WebCore::HTMLSourceElement::~HTMLSourceElement):
              (WebCore::HTMLSourceElement::insertedIntoDocument):
              (WebCore::HTMLSourceElement::src):
              (WebCore::HTMLSourceElement::setSrc):
              (WebCore::HTMLSourceElement::media):
              (WebCore::HTMLSourceElement::setMedia):
              (WebCore::HTMLSourceElement::type):
              (WebCore::HTMLSourceElement::setType):
              * html/HTMLSourceElement.h: Added.
              (WebCore::HTMLSourceElement::endTagRequirement):
              (WebCore::HTMLSourceElement::tagPriority):
              * html/HTMLSourceElement.idl: Added.
              * html/HTMLTagNames.in:
              * html/HTMLVideoElement.cpp: Added.
              (WebCore::HTMLVideoElement::HTMLVideoElement):
              (WebCore::HTMLVideoElement::videoWidth):
              (WebCore::HTMLVideoElement::videoHeight):
              * html/HTMLVideoElement.h: Added.
              (WebCore::HTMLVideoElement::tagPriority):
              (WebCore::HTMLVideoElement::isVideo):
              * html/HTMLVideoElement.idl: Added.
              * html/MediaError.h: Added.
              (WebCore::MediaError::):
              (WebCore::MediaError::MediaError):
              (WebCore::MediaError::code):
              * html/MediaError.idl: Added.
              * html/TimeRanges.cpp: Added.
              (TimeRanges::TimeRanges):
              (TimeRanges::start):
              (TimeRanges::end):
              (TimeRanges::add):
              (TimeRanges::contain):
              * html/TimeRanges.h: Added.
              (WebCore::TimeRanges::TimeRanges):
              (WebCore::TimeRanges::length):
              (WebCore::TimeRanges::Range::Range):
              * html/TimeRanges.idl: Added.
              * page/DOMWindow.idl:
              * platform/MIMETypeRegistry.cpp:
              (WebCore::initialiseSupportedMovieMIMETypes):
              (WebCore::initialiseMIMETypeRegistry):
              (WebCore::MIMETypeRegistry::isSupportedMovieMIMEType):
              (WebCore::MIMETypeRegistry::getSupportedMovieMIMETypes):
              * platform/MIMETypeRegistry.h:
              * platform/graphics/Movie.cpp: Added.
              (WebCore::Movie::Movie):
              (WebCore::Movie::~Movie):
              (WebCore::Movie::load):
              (WebCore::Movie::cancelLoad):
              (WebCore::Movie::play):
              (WebCore::Movie::pause):
              (WebCore::Movie::duration):
              (WebCore::Movie::currentTime):
              (WebCore::Movie::seek):
              (WebCore::Movie::paused):
              (WebCore::Movie::seeking):
              (WebCore::Movie::naturalSize):
              (WebCore::Movie::hasVideo):
              (WebCore::Movie::networkState):
              (WebCore::Movie::readyState):
              (WebCore::Movie::volume):
              (WebCore::Movie::setVolume):
              (WebCore::Movie::rate):
              (WebCore::Movie::setRate):
              (WebCore::Movie::muted):
              (WebCore::Movie::setMuted):
              (WebCore::Movie::dataRate):
              (WebCore::Movie::setEndTime):
              (WebCore::Movie::addCuePoint):
              (WebCore::Movie::removeCuePoint):
              (WebCore::Movie::clearCuePoints):
              (WebCore::Movie::maxTimeBuffered):
              (WebCore::Movie::maxTimeSeekable):
              (WebCore::Movie::bytesLoaded):
              (WebCore::Movie::totalBytesKnown):
              (WebCore::Movie::totalBytes):
              (WebCore::Movie::setRect):
              (WebCore::Movie::visible):
              (WebCore::Movie::setVisible):
              (WebCore::Movie::paint):
              (WebCore::Movie::getSupportedTypes):
              (WebCore::Movie::networkStateChanged):
              (WebCore::Movie::readyStateChanged):
              (WebCore::Movie::volumeChanged):
              (WebCore::Movie::didEnd):
              (WebCore::Movie::cuePointReached):
              * platform/graphics/Movie.h: Added.
              (WebCore::MovieClient::~MovieClient):
              (WebCore::MovieClient::movieNetworkStateChanged):
              (WebCore::MovieClient::movieReadyStateChanged):
              (WebCore::MovieClient::movieVolumeChanged):
              (WebCore::MovieClient::movieDidEnd):
              (WebCore::MovieClient::movieCuePointReached):
              (WebCore::Movie::parentWidget):
              (WebCore::Movie::setParentWidget):
              (WebCore::Movie::rect):
              (WebCore::Movie::):
              * platform/graphics/mac/MoviePrivateQTKit.h: Added.
              * platform/graphics/mac/MoviePrivateQTKit.mm: Added.
              (WebCore::MoviePrivate::MoviePrivate):
              (WebCore::MoviePrivate::~MoviePrivate):
              (WebCore::MoviePrivate::createQTMovie):
              (WebCore::MoviePrivate::createQTMovieView):
              (WebCore::MoviePrivate::createQTTime):
              (WebCore::MoviePrivate::load):
              (WebCore::MoviePrivate::play):
              (WebCore::MoviePrivate::pause):
              (WebCore::MoviePrivate::duration):
              (WebCore::MoviePrivate::currentTime):
              (WebCore::MoviePrivate::seek):
              (WebCore::MoviePrivate::setEndTime):
              (WebCore::MoviePrivate::addCuePoint):
              (WebCore::MoviePrivate::removeCuePoint):
              (WebCore::MoviePrivate::clearCuePoints):
              (WebCore::MoviePrivate::startCuePointTimerIfNeeded):
              (WebCore::MoviePrivate::cancelSeek):
              (WebCore::MoviePrivate::seekTimerFired):
              (WebCore::MoviePrivate::cuePointTimerFired):
              (WebCore::MoviePrivate::paused):
              (WebCore::MoviePrivate::seeking):
              (WebCore::MoviePrivate::naturalSize):
              (WebCore::MoviePrivate::hasVideo):
              (WebCore::MoviePrivate::setVolume):
              (WebCore::MoviePrivate::setMuted):
              (WebCore::MoviePrivate::setRate):
              (WebCore::MoviePrivate::dataRate):
              (WebCore::MoviePrivate::networkState):
              (WebCore::MoviePrivate::readyState):
              (WebCore::MoviePrivate::maxTimeBuffered):
              (WebCore::MoviePrivate::maxTimeSeekable):
              (WebCore::MoviePrivate::maxTimeLoaded):
              (WebCore::MoviePrivate::bytesLoaded):
              (WebCore::MoviePrivate::totalBytesKnown):
              (WebCore::MoviePrivate::totalBytes):
              (WebCore::MoviePrivate::cancelLoad):
              (WebCore::MoviePrivate::updateStates):
              (WebCore::MoviePrivate::loadStateChanged):
              (WebCore::MoviePrivate::rateChanged):
              (WebCore::MoviePrivate::sizeChanged):
              (WebCore::MoviePrivate::timeChanged):
              (WebCore::MoviePrivate::volumeChanged):
              (WebCore::MoviePrivate::didEnd):
              (WebCore::MoviePrivate::setRect):
              (WebCore::MoviePrivate::setVisible):
              (WebCore::MoviePrivate::paint):
              (WebCore::MoviePrivate::getSupportedTypes):
              (-[WebCoreMovieObserver loadStateChanged:]):
              (-[WebCoreMovieObserver rateChanged:]):
              (-[WebCoreMovieObserver sizeChanged:]):
              (-[WebCoreMovieObserver timeChanged:]):
              (-[WebCoreMovieObserver volumeChanged:]):
              (-[WebCoreMovieObserver didEnd:]):
              (-[WebCoreMovieObserver setCallback:WebCore::]):
              * platform/mac/WebCoreSystemInterface.h:
              * platform/mac/WebCoreSystemInterface.mm:
              * rendering/RenderLayer.cpp:
              (WebCore::RenderLayer::collectLayers):
              * rendering/RenderVideo.cpp: Added.
              (WebCore::RenderVideo::RenderVideo):
              (WebCore::RenderVideo::~RenderVideo):
              (WebCore::RenderVideo::movie):
              (WebCore::RenderVideo::videoSizeChanged):
              (WebCore::RenderVideo::paint):
              (WebCore::RenderVideo::layout):
              (WebCore::RenderVideo::updateFromElement):
              (WebCore::RenderVideo::updateMovie):
              (WebCore::RenderVideo::isWidthSpecified):
              (WebCore::RenderVideo::isHeightSpecified):
              (WebCore::RenderVideo::calcReplacedWidth):
              (WebCore::RenderVideo::calcReplacedHeight):
              (WebCore::RenderVideo::calcAspectRatioWidth):
              (WebCore::RenderVideo::calcAspectRatioHeight):
              (WebCore::RenderVideo::calcPrefWidths):
              * rendering/RenderVideo.h: Added.
              (WebCore::RenderVideo::renderName):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27277 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      76787a87
  6. 27 Oct, 2007 1 commit
    • weinig's avatar
      WebCore: · 5e5675ed
      weinig authored
              Reviewed by Adam Roben.
      
              Fix http://bugs.webkit.org/show_bug.cgi?id=14953
              Implement window.console in WebCore
      
              - Adds a window.console object that has 4 methods (log, info, warn, and error)
                that send messages to the Chrome.  This moves functionality that was in the
                app down into WebCore.
      
              * DerivedSources.make:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/scripts/CodeGeneratorJS.pm: Add extended attribute
              to mark attributes as [Replacable] which indicates they can 
              overridden when set.
              * page/Chrome.cpp:
              (WebCore::Chrome::addMessageToConsole): Allow all messages to go
              up to the ChromeClient.
              * page/Console.cpp: Added.
              (WebCore::Console::Console):
              (WebCore::Console::disconnectFrame):
              (WebCore::Console::error):
              (WebCore::Console::info):
              (WebCore::Console::log):
              (WebCore::Console::warn):
              * page/Console.h: Added.
              * page/Console.idl: Added.
              * page/DOMWindow.cpp:
              (WebCore::DOMWindow::clear):
              (WebCore::DOMWindow::console):
              * page/DOMWindow.h:
              * page/DOMWindow.idl:
      
      LayoutTests:
      
              Reviewed by Adam Roben.
      
              Update tests for http://bugs.webkit.org/show_bug.cgi?id=14953
              Implement window.console in WebCore
      
              * fast/dom/Window/window-properties-expected.txt:
              * http/tests/security/cross-frame-access-put-expected.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27161 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5e5675ed
  7. 23 Oct, 2007 1 commit
    • eseidel's avatar
      2007-10-23 Eric Seidel <eric@webkit.org> · e77f69fd
      eseidel authored
              Build fix only, no review.
      
              Sacrifice three virgin hours upon the altar of the heathen XCode gods
              and pray that our build troubles are finally over. :(
      
              * DerivedSources.make: add DOMSVGException.h
              * WebCore.xcodeproj/project.pbxproj: Remove DOMSVG*Interal.h files from "Copy Generated Headers" phase. Why?  Who knows.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26916 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e77f69fd
  8. 22 Oct, 2007 3 commits
    • eseidel's avatar
      2007-10-22 Eric Seidel <eric@webkit.org> · baf9f6b8
      eseidel authored
              Reviewed by Maciej.
      
              Fix build by properly exposing SVG font-face dom bindings.
      
              * DerivedSources.make:
              * WebCore.vcproj/WebCore.vcproj: add font-face files to build
              * WebCore.xcodeproj/project.pbxproj: add missing DOM bindings files
              * bindings/js/JSSVGElementWrapperFactory.cpp:
              * bindings/objc/DOM.mm:
              (WebCore::createElementClassMap):
              * bindings/objc/DOMSVG.h:
              * ksvg2/svg/SVGDefinitionSrcElement.idl: inherit from SVGElement
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26907 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      baf9f6b8
    • darin's avatar
      - a first cut at fixing the Qt and GTK builds · b11b912c
      darin authored
              * WebCore.pro: Add new .idl and .cpp files.
              * DerivedSources.make: Re-sorted.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26905 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b11b912c
    • eseidel's avatar
      2007-10-22 Eric Seidel <eric@webkit.org> · 5fced7cf
      eseidel authored
              Reviewed by hyatt.
      
              Implement <font-face> and friends for SVG.
              http://bugs.webkit.org/show_bug.cgi?id=10652
      
              * DerivedSources.make:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/JSSVGElementWrapperFactory.cpp:
              * dom/Document.cpp:
              (WebCore::Document::mappedElementSheet):
              (WebCore::Document::recalcStyleSelector):
              * dom/Document.h:
              * ksvg2/scripts/make_names.pl:
              * ksvg2/svg/SVGDefinitionSrcElement.cpp: Added.
              (WebCore::SVGDefinitionSrcElement::SVGDefinitionSrcElement):
              (WebCore::SVGDefinitionSrcElement::~SVGDefinitionSrcElement):
              (WebCore::SVGDefinitionSrcElement::childrenChanged):
              * ksvg2/svg/SVGDefinitionSrcElement.h: Added.
              * ksvg2/svg/SVGDefinitionSrcElement.idl: Added.
              * ksvg2/svg/SVGFontFaceElement.cpp: Added.
              (WebCore::SVGFontFaceElement::SVGFontFaceElement):
              (WebCore::SVGFontFaceElement::~SVGFontFaceElement):
              (WebCore::cssPropertyIdForName):
              (WebCore::mapAttributeToCSSProperty):
              (WebCore::cssPropertyIdForSVGAttributeName):
              (WebCore::SVGFontFaceElement::parseMappedAttribute):
              (WebCore::SVGFontFaceElement::rebuildFontFace):
              (WebCore::SVGFontFaceElement::childrenChanged):
              * ksvg2/svg/SVGFontFaceElement.h: Added.
              * ksvg2/svg/SVGFontFaceElement.idl: Added.
              * ksvg2/svg/SVGFontFaceFormatElement.cpp: Added.
              (WebCore::SVGFontFaceFormatElement::SVGFontFaceFormatElement):
              (WebCore::SVGFontFaceFormatElement::~SVGFontFaceFormatElement):
              (WebCore::SVGFontFaceFormatElement::childrenChanged):
              * ksvg2/svg/SVGFontFaceFormatElement.h: Added.
              * ksvg2/svg/SVGFontFaceFormatElement.idl: Added.
              * ksvg2/svg/SVGFontFaceNameElement.cpp: Added.
              (WebCore::SVGFontFaceNameElement::SVGFontFaceNameElement):
              (WebCore::SVGFontFaceNameElement::~SVGFontFaceNameElement):
              (WebCore::SVGFontFaceNameElement::srcValue):
              * ksvg2/svg/SVGFontFaceNameElement.h: Added.
              * ksvg2/svg/SVGFontFaceNameElement.idl: Added.
              * ksvg2/svg/SVGFontFaceSrcElement.cpp: Added.
              (WebCore::SVGFontFaceSrcElement::SVGFontFaceSrcElement):
              (WebCore::SVGFontFaceSrcElement::~SVGFontFaceSrcElement):
              (WebCore::SVGFontFaceSrcElement::srcValue):
              (WebCore::SVGFontFaceSrcElement::childrenChanged):
              * ksvg2/svg/SVGFontFaceSrcElement.h: Added.
              * ksvg2/svg/SVGFontFaceSrcElement.idl: Added.
              * ksvg2/svg/SVGFontFaceUriElement.cpp: Added.
              (WebCore::SVGFontFaceUriElement::SVGFontFaceUriElement):
              (WebCore::SVGFontFaceUriElement::~SVGFontFaceUriElement):
              (WebCore::SVGFontFaceUriElement::srcValue):
              (WebCore::SVGFontFaceUriElement::childrenChanged):
              * ksvg2/svg/SVGFontFaceUriElement.h: Added.
              * ksvg2/svg/SVGFontFaceUriElement.idl: Added.
              * ksvg2/svg/svgtags.in:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26904 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5fced7cf
  9. 19 Oct, 2007 1 commit
    • beidson's avatar
      JavaScriptCore: · e5def340
      beidson authored
      2007-10-19  Brady Eidson  <beidson@apple.com>
      
              Reviewed by Sam
      
              Queue -> Deque! and small style tweaks
      
              * JavaScriptCore.vcproj/WTF/WTF.vcproj:
              * JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj
              * wtf/Deque.h: Added.
              (WTF::DequeNode::DequeNode):
              (WTF::Deque::Deque):
              (WTF::Deque::~Deque):
              (WTF::Deque::size):
              (WTF::Deque::isEmpty):
              (WTF::Deque::append):
              (WTF::Deque::prepend):
              (WTF::Deque::first):
              (WTF::Deque::last):
              (WTF::Deque::removeFirst):
              (WTF::Deque::clear):
              * wtf/Queue.h: Removed.
      
      2007-10-19  Brady Eidson <beidson@apple.com>
      
              Reviewed by Oliver
      
              Added a simple LinkedList based Queue to wtf
              We can make a better, more sophisticated an efficient one later, but have
              needed one for some time, now!
      
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * wtf/Queue.h: Added.
              (WTF::QueueNode::QueueNode):
              (WTF::Queue::Queue):
              (WTF::Queue::~Queue):
              (WTF::Queue::size):
              (WTF::Queue::isEmpty):
              (WTF::Queue::append):
              (WTF::Queue::prepend):
              (WTF::Queue::first):
              (WTF::Queue::last):
              (WTF::Queue::removeFirst):
              (WTF::Queue::clear):
      
      WebCore:
      2007-10-19  Brady Eidson  <beidson@apple.com>
              Reviewed by Anders
      
              Windows specific changes, as well as renaming Queue -> Deque
      
              * ForwardingHeaders/wtf/Deque.h: Added.
              * ForwardingHeaders/wtf/Queue.h: Removed.
              * platform/win/FileSystemWin.cpp:
              (WebCore::fileSize):
              (WebCore::fileExists):
              (WebCore::deleteFile):
              (WebCore::pathByAppendingComponent):
              (WebCore::fileSystemRepresentation):
              (WebCore::makeAllDirectories):
              (WebCore::homeDirectoryPath):
              * storage/Database.h:
              * storage/DatabaseThread.cpp:
              (WebCore::DatabaseThread::documentGoingAway):
              (WebCore::DatabaseThread::databaseGoingAway):
              (WebCore::DatabaseThread::dispatchNextTaskIdentifier):
              (WebCore::DatabaseThread::scheduleTask):
              (WebCore::DatabaseThread::scheduleImmediateTask):
              * storage/DatabaseThread.h:
      
      2007-10-19  Brady Eidson <beidson@apple.com>
      
              Reviewed by Tim and Anders
      
              Preliminary support for HTML5 local database storage (http://www.whatwg.org/specs/web-apps/current-work/)
      
              The specification is still in flux but the fundamentals are pretty solid and we can start using and testing
              this implementation even while filing bugs to track changes in the spec as it becomes more final
      
              There are some implementation details in this patch that seem unused or useless, but they remain in place
              while the spec is in flux and might go one way or another.
      
              * platform/Logging.cpp: Add StorageAPI logging channel
              * platform/Logging.h:
      
              * storage/Database.cpp: Added.
              (WebCore::Database::databaseInfoTableName):
              (WebCore::databaseVersionKey):
              (WebCore::Database::openDatabase): C++ version of the window.openDatabase() javascript API
              (WebCore::Database::Database):
              (WebCore::Database::~Database):
              (WebCore::Database::openAndVerifyVersion):
              (WebCore::retrieveTextResultFromDatabase):
              (WebCore::Database::getVersionFromDatabase):
              (WebCore::setTextValueInDatabase):
              (WebCore::Database::setVersionInDatabase):
              (WebCore::Database::databaseThreadGoingAway): May be removed in the future
              (WebCore::Database::disableAuthorizer): For internal (WebInspector) use to get around the authorizer's restrictions
              (WebCore::Database::enableAuthorizer):
              (WebCore::Database::guidForOriginAndName): Candidate for refactoring and/or moving to the database tracker.
                The GUID for each database identifier is currently for tracking the database version, but might be rescoped in the future
              (WebCore::Database::resetAuthorizer):
              (WebCore::Database::performPolicyChecks): Currently, the only post-executeSql policy check planned is the origin size usage
              (WebCore::Database::scheduleDatabaseCallback):
              (WebCore::Database::performOpenAndVerify):
              (WebCore::Database::performChangeVersion):
              (WebCore::Database::performExecuteSql):
              (WebCore::Database::performCloseTransaction):
              (WebCore::Database::performGetTableNames):
              (WebCore::Database::version): C++ version of the javascript API
              (WebCore::Database::changeVersion): Ditto
              (WebCore::Database::executeSql): Ditto
              (WebCore::Database::closeTransaction): Ditto
              (WebCore::Database::tableNames): For internal (WebInspector) use
              (WebCore::Database::deliverAllPendingCallbacks):
              (WebCore::Database::deliverPendingCallbacks):
              * storage/Database.h: Added.
              (WebCore::Database::databaseDebugName): For debug logging purposes
              * storage/Database.idl: Added.
      
              * storage/DatabaseAuthorizer.cpp: Added.
                The DatabaseAuthorizer is used to both prevent the script from doing "illegal" things in sql as well as
                tracking when effects certain sql statements might have (such as increasing the size of the database)
              (WebCore::DatabaseAuthorizer::DatabaseAuthorizer):
              (WebCore::DatabaseAuthorizer::reset):
              (WebCore::DatabaseAuthorizer::createTable):
              (WebCore::DatabaseAuthorizer::createTempTable):
              (WebCore::DatabaseAuthorizer::dropTable):
              (WebCore::DatabaseAuthorizer::dropTempTable):
              (WebCore::DatabaseAuthorizer::allowAlterTable):
              (WebCore::DatabaseAuthorizer::createIndex):
              (WebCore::DatabaseAuthorizer::createTempIndex):
              (WebCore::DatabaseAuthorizer::dropIndex):
              (WebCore::DatabaseAuthorizer::dropTempIndex):
              (WebCore::DatabaseAuthorizer::createTrigger):
              (WebCore::DatabaseAuthorizer::createTempTrigger):
              (WebCore::DatabaseAuthorizer::dropTrigger):
              (WebCore::DatabaseAuthorizer::dropTempTrigger):
              (WebCore::DatabaseAuthorizer::createVTable):
              (WebCore::DatabaseAuthorizer::dropVTable):
              (WebCore::DatabaseAuthorizer::allowDelete):
              (WebCore::DatabaseAuthorizer::allowInsert):
              (WebCore::DatabaseAuthorizer::allowUpdate):
              (WebCore::DatabaseAuthorizer::allowRead):
              (WebCore::DatabaseAuthorizer::allowAnalyze):
              (WebCore::DatabaseAuthorizer::allowPragma):
              (WebCore::DatabaseAuthorizer::allowAttach):
              (WebCore::DatabaseAuthorizer::allowDetach):
              (WebCore::DatabaseAuthorizer::allowFunction):
              (WebCore::DatabaseAuthorizer::disable):
              (WebCore::DatabaseAuthorizer::enable):
              (WebCore::DatabaseAuthorizer::denyBasedOnTableName): Don't allow access to the __WebKit meta info table as
                it should be invisible to scripts
              * storage/DatabaseAuthorizer.h: Added.
              (WebCore::DatabaseAuthorizer::lastActionWasInsert):
              (WebCore::DatabaseAuthorizer::lastActionIncreasedSize):
      
              * storage/DatabaseCallback.cpp: Added.
                Generic item to queue up for callbacks on the main thread for database activities that take place on
                a secondary thread
              (WebCore::DatabaseChangeVersionCallback::DatabaseChangeVersionCallback):
              (WebCore::DatabaseChangeVersionCallback::performCallback):
              (WebCore::DatabaseExecuteSqlCallback::DatabaseExecuteSqlCallback):
              (WebCore::DatabaseExecuteSqlCallback::performCallback):
              * storage/DatabaseCallback.h: Added.
              (WebCore::DatabaseCallback::~DatabaseCallback):
              (WebCore::DatabaseChangeVersionCallback::~DatabaseChangeVersionCallback):
              (WebCore::DatabaseExecuteSqlCallback::~DatabaseExecuteSqlCallback):
      
              * storage/DatabaseTask.h: Added.
                Generic work-item to be queued up on the background database thread
              (WebCore::DatabaseTask::isComplete):
              (WebCore::DatabaseOpenTask::exceptionCode):
              (WebCore::DatabaseOpenTask::openSuccessful):
              (WebCore::DatabaseTableNamesTask::tableNames):
              * storage/DatabaseTask.cpp: Added.
              (WebCore::DatabaseTask::DatabaseTask):
              (WebCore::DatabaseTask::~DatabaseTask):
              (WebCore::DatabaseTask::performTask):
              (WebCore::DatabaseTask::lockForSynchronousScheduling): Used when the main thread needs this task accomplished
                synchronously
              (WebCore::DatabaseTask::waitForSynchronousCompletion):
      
              (WebCore::DatabaseOpenTask::DatabaseOpenTask):
              (WebCore::DatabaseOpenTask::doPerformTask):
      
              (WebCore::DatabaseExecuteSqlTask::DatabaseExecuteSqlTask):
              (WebCore::DatabaseExecuteSqlTask::doPerformTask):
      
              (WebCore::DatabaseChangeVersionTask::DatabaseChangeVersionTask):
              (WebCore::DatabaseChangeVersionTask::doPerformTask):
      
              (WebCore::DatabaseTableNamesTask::DatabaseTableNamesTask):
              (WebCore::DatabaseTableNamesTask::doPerformTask):
      
              * storage/DatabaseThread.cpp: Added.
                The current design is that each Document will have its own DatabaseThread.  This makes scripts on each
                individual document more response at the cost of adding more threads and potentially creating concurrency
                issues when the same database is open twice from two different documents
              (WebCore::DatabaseThread::DatabaseThread):
              (WebCore::DatabaseThread::~DatabaseThread):
              (WebCore::DatabaseThread::start):
              (WebCore::DatabaseThread::documentGoingAway): Called to shut the thread down when the document is destroyed
              (WebCore::DatabaseThread::databaseGoingAway): Remove all pending tasks for this database
              (WebCore::DatabaseThread::databaseThreadStart):
              (WebCore::DatabaseThread::databaseThread):
              (WebCore::DatabaseThread::dispatchNextTaskIdentifier):
              (WebCore::DatabaseThread::scheduleTask):
              (WebCore::DatabaseThread::scheduleImmediateTask): Schedule a task that gets to "cut to the front of the line" when
                the main thread requires a task be performed synchronously
              (WebCore::DatabaseThread::wakeWorkThread):
              * storage/DatabaseThread.h: Added.
      
              * storage/DatabaseTracker.cpp: Added.
                The DatabaseTracker is the master management of all databases.  It will keep track of the filename for a given
                unique database, keep track of the total disk usage per-origin, and policys per database/origin
              (WebCore::DatabaseTracker::setDatabasePath):
              (WebCore::DatabaseTracker::databasePath):
              (WebCore::DatabaseTracker::tracker):
              (WebCore::DatabaseTracker::DatabaseTracker):
              (WebCore::DatabaseTracker::fullPathForDatabase):
              (WebCore::DatabaseTracker::populateOrigins):
              (WebCore::DatabaseTracker::origins):
              (WebCore::DatabaseTracker::databaseNamesForOrigin):
              (WebCore::DatabaseTracker::addDatabase):
              (WebCore::DatabaseTracker::deleteAllDatabases):
              (WebCore::DatabaseTracker::deleteAllDatabasesForOrigin):
              * storage/DatabaseTracker.h: Added.
      
              * storage/SQLCallback.h: Added. C++ version of the javascript executeSql() callback
              (WebCore::SQLCallback::~SQLCallback):
              * storage/SQLCallback.idl: Added.
      
              * storage/SQLResultSet.cpp: Added. C++ version of the javascript SQLResultSet object
              (WebCore::SQLResultSet::SQLResultSet):
              (WebCore::SQLResultSet::insertId):
              (WebCore::SQLResultSet::rowsAffected):
              (WebCore::SQLResultSet::errorCode):
              (WebCore::SQLResultSet::error):
              (WebCore::SQLResultSet::rows):
              (WebCore::SQLResultSet::setInsertId):
              (WebCore::SQLResultSet::setRowsAffected):
              (WebCore::SQLResultSet::setErrorCode):
              (WebCore::SQLResultSet::setErrorMessage):
              * storage/SQLResultSet.h: Added.
              * storage/SQLResultSet.idl: Added.
      
              * storage/SQLResultSetRowList.cpp: Added. C++ version of the javascript SQLResultSetRowList object
              (WebCore::SQLResultSetRowList::length):
              * storage/SQLResultSetRowList.h: Added.
              (WebCore::SQLResultSetRowList::columnNames):
              (WebCore::SQLResultSetRowList::values):
              (WebCore::SQLResultSetRowList::addColumn):
              (WebCore::SQLResultSetRowList::addResult):
              * storage/SQLResultSetRowList.idl: Added.
      
              * storage/VersionChangeCallback.h: Added. C++ version of the javascript changeVersion() callback
              (WebCore::VersionChangeCallback::~VersionChangeCallback):
              * storage/VersionChangeCallback.idl: Added.
      
      2007-10-19  Brady Eidson <beidson@apple.com>
      
              Reviewed by Oliver + Same
      
              Forwarding header for the new wtf/Queue.h
      
              * ForwardingHeaders/wtf/Queue.h: Added.
      
      2007-10-19  Anders Carlsson <beidson@apple.com>
      
             	Reviewed by Sam Weinig
      
             	Most of the Javascript binding support for the Storage API
      
             	* bindings/js/JSCustomSQLCallback.cpp: Added.
             	(WebCore::JSCustomSQLCallback::JSCustomSQLCallback):
             	(WebCore::JSCustomSQLCallback::handleEvent):
             	* bindings/js/JSCustomSQLCallback.h: Added.
      		Add JSCustomSQLCallback which is an SQLCallback implementation that dispatches
      		handleEvent to a JS function or a JS object with a handleEvent function.
      
             	* bindings/js/JSCustomVersionChangeCallback.cpp: Added.
             	(WebCore::JSCustomVersionChangeCallback::JSCustomVersionChangeCallback):
             	(WebCore::JSCustomVersionChangeCallback::handleEvent):
             	* bindings/js/JSCustomVersionChangeCallback.h: Added.
      		Add JSCustomSQLCallback which is an SQLCallback implementation that dispatches
      		handleEvent to a JS function or a JS object with a handleEvent function.
      
             	* bindings/js/JSDatabaseCustom.cpp: Added.
             	(WebCore::JSDatabase::executeSql):
      		Custom implementation of executeSql that takes an array of parameters.
      
             	(WebCore::JSDatabase::changeVersion):
      		Custom implementation of changeVersion.
      
             	* bindings/js/JSSQLResultSetRowListCustom.cpp: Added.
             	(WebCore::JSSQLResultSetRowList::item):
      		Custom method that returns a JS object that corresponds to a given row in the database.
      
             	* bindings/scripts/CodeGeneratorJS.pm:
      
             	* page/DOMWindow.cpp:
             	(WebCore::DOMWindow::openDatabase):
             	* page/DOMWindow.h:
             	* page/DOMWindow.idl:
      		Add openDatabase implementation.
      
      2007-10-19  Brady Eidson <beidson@apple.com>
      
              Reviewed by Oliver
      
              Added tons of utility to the FileSystem abstractions, including moving
              some stuff over from IconDatabase
      
              * platform/FileSystem.h:
      
              * platform/cf/FileSystemCF.cpp: Added.
              (WebCore::fileSystemRepresentation):
      
              * platform/mac/FileSystemMac.mm:
      
              * platform/posix/FileSystemPOSIX.cpp: Added.
              (WebCore::fileExists):
              (WebCore::deleteFile):
              (WebCore::fileSize):
              (WebCore::pathByAppendingComponent):
              (WebCore::makeAllDirectories):
      
      2007-10-19  Timothy Hatcher  <timothy@apple.com>
      
              Reviewed by Adam Roben
      
              Preliminary Web Inspector support for the Storage API
              (This patch does not include the support artwork)
      
              * page/InspectorController.cpp:
              (WebCore::InspectorDatabaseResource::InspectorDatabaseResource):
              (WebCore::InspectorDatabaseResource::setScriptObject):
              (WebCore::databaseTableNames): Return the table names for a Database object.
              (WebCore::InspectorController::setWindowVisible):
              (WebCore::InspectorController::windowScriptObjectAvailable):
              (WebCore::InspectorController::populateScriptResources):
              (WebCore::InspectorController::addDatabaseScriptResource): Add the script object for the database.
              (WebCore::InspectorController::removeDatabaseScriptResource): Remove the script object for the database.
              (WebCore::InspectorController::clearDatabaseScriptResources): Remove all the database resources.
              (WebCore::InspectorController::didCommitLoad): Call clearDatabaseScriptResources().
              (WebCore::InspectorController::didOpenDatabase): Make a new InspectorDatabaseResource and add it to m_databaseResources.
              * page/InspectorController.h:
              * page/inspector/Database.js: Added.
              * page/inspector/DatabasePanel.js: Added.
              * page/inspector/ResourceCategory.js: Make resource categories assume less about the resource.
              * page/inspector/inspector.css: Add styles for the database panel.
              * page/inspector/inspector.html: Include DatabasePanel.js
              * page/inspector/inspector.js: Support for adding and removing Database resources.
      
      2007-10-19  Brady Eidson <beidson@apple.com>
      
              Reviewed by Tim Hatcher
      
              Added support for Chrome prompts required by the Storage API
      
              * page/Chrome.cpp:
              (WebCore::Chrome::runDatabaseSizeLimitPrompt):
              * page/Chrome.h:
              * page/ChromeClient.h:
              * platform/graphics/svg/SVGImageEmptyClients.h:
      
      2007-10-19  Brady Eidson <beidson@apple.com>
      
              Contributions and Review by Anders
      
              Various SQLite tweaks in preparation for the storage API
      
              * loader/icon/SQLDatabase.cpp:
              (WebCore::SQLDatabase::~SQLDatabase):
              (WebCore::SQLDatabase::authorizerFunction): Static callback from sqlite for authorizer functions
              (WebCore::SQLDatabase::setAuthorizer):
              (WebCore::SQLDatabase::lock):
              (WebCore::SQLDatabase::unlock):
              * loader/icon/SQLDatabase.h:
      
              * loader/icon/SQLStatement.cpp:
              (WebCore::SQLStatement::prepare): Switch to prepare16_v2
              (WebCore::SQLStatement::bindDouble): Added
              (WebCore::SQLStatement::bindValue): Bind a wrapped SQLValue object (described later)
              (WebCore::SQLStatement::bindParameterCount): Accessor to the sqlite3 API for validating statements
              * loader/icon/SQLStatement.h:
              (WebCore::SQLStatement::isPrepared):
      
              * platform/sql/SQLAuthorizer.cpp: Added.  Fully virtual interface to implement your own SQLite authorizer
              * platform/sql/SQLAuthorizer.h: Added.
              (WebCore::SQLAuthorizer::~SQLAuthorizer):
              (WebCore::SQLAuthorizer::createTable):
              (WebCore::SQLAuthorizer::createTempTable):
              (WebCore::SQLAuthorizer::dropTable):
              (WebCore::SQLAuthorizer::dropTempTable):
              (WebCore::SQLAuthorizer::allowAlterTable):
              (WebCore::SQLAuthorizer::createIndex):
              (WebCore::SQLAuthorizer::createTempIndex):
              (WebCore::SQLAuthorizer::dropIndex):
              (WebCore::SQLAuthorizer::dropTempIndex):
              (WebCore::SQLAuthorizer::createTrigger):
              (WebCore::SQLAuthorizer::createTempTrigger):
              (WebCore::SQLAuthorizer::dropTrigger):
              (WebCore::SQLAuthorizer::dropTempTrigger):
              (WebCore::SQLAuthorizer::createView):
              (WebCore::SQLAuthorizer::createTempView):
              (WebCore::SQLAuthorizer::dropView):
              (WebCore::SQLAuthorizer::dropTempView):
              (WebCore::SQLAuthorizer::createVTable):
              (WebCore::SQLAuthorizer::dropVTable):
              (WebCore::SQLAuthorizer::allowDelete):
              (WebCore::SQLAuthorizer::allowInsert):
              (WebCore::SQLAuthorizer::allowUpdate):
              (WebCore::SQLAuthorizer::allowTransaction):
              (WebCore::SQLAuthorizer::allowSelect):
              (WebCore::SQLAuthorizer::allowRead):
              (WebCore::SQLAuthorizer::allowAttach):
              (WebCore::SQLAuthorizer::allowDetach):
              (WebCore::SQLAuthorizer::allowReindex):
              (WebCore::SQLAuthorizer::allowAnalyze):
              (WebCore::SQLAuthorizer::allowFunction):
      
              * platform/sql/SQLValue.cpp: Added.  Contains a value for a SQLite database that can be one of a few types.
                For now, just a String or a double
              (WebCore::SQLValue::SQLValue):
              (WebCore::SQLValue::string):
              (WebCore::SQLValue::number):
              * platform/sql/SQLValue.h: Added.
              (WebCore::SQLValue::):
              (WebCore::SQLValue::SQLValue):
              (WebCore::SQLValue::type):
      
      2007-10-19  Brady Eidson <beidson@apple.com>
      
              Reviewed by Maciej
      
              Changed IconDatabase over to use new FileSystem apis
      
              * loader/icon/IconDatabase.cpp:
              (WebCore::IconDatabase::open):
      
      WebKit:
      
              Reviewed by Tim Hatcher
      
              Added support for Chrome prompts required by the Storage API
              Added support API for future managing of databases from the WebKit client
              Added preference and initialization for the databases path
      
              * Misc/WebDatabaseManager.h: Added.  WebDatabaseManager is how a WebKit application can list and
                remove the current available databases
              * Misc/WebDatabaseManager.mm: Added.
              (+[WebDatabaseManager origins]):
              (+[WebDatabaseManager databasesWithOrigin:]):
              (+[WebDatabaseManager deleteAllDatabases]):
              (+[WebDatabaseManager deleteAllDatabasesWithOrigin:]):
              (+[WebDatabaseManager deleteDatabaseWithOrigin:named:]):
              (WebKitSetWebDatabasesPathIfNecessary): Setup the database path
              * Misc/WebDatabaseManagerPrivate.h: Added.
      
              * WebCoreSupport/WebChromeClient.h: Support for calling the delegate to run the prompt for
                an origin exceeding its size limit
              * WebCoreSupport/WebChromeClient.mm:
              (WebChromeClient::runDatabaseSizeLimitPrompt):
              * WebKit.xcodeproj/project.pbxproj:
              * WebView/WebUIDelegate.h:
      
              * WebView/WebView.mm:
              (-[WebView _commonInitializationWithFrameName:groupName:]): Setup the database path
              * WebView/WebViewInternal.h:
      
      WebKitSite:
      
              Reviewed by Tim Hatcher
      
              Sample database API usage
      
              * misc/DatabaseExample.html: Added.
      
      WebKit/win:
      
              Reviewed by Anders
      
              Keep windows building with new Chrome additions
      
              * WebChromeClient.cpp:
              * WebChromeClient.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26787 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e5def340
  10. 15 Oct, 2007 1 commit
  11. 12 Oct, 2007 6 commits
    • oliver's avatar
      2007-10-08 Eric Seidel <eric@webkit.org> · 265c9b71
      oliver authored
              Reviewed by Oliver.
      
              Build fix.  Fix circular build rule for CSS*.in files evident on clean build.
      
              * DerivedSources.make:
              * WebCore.xcodeproj/project.pbxproj:
              * ksvg2/css/CSSPropertyNames.in: Removed.
              * ksvg2/css/CSSValueKeywords.in: Removed.
              * ksvg2/css/SVGCSSPropertyNames.in: Copied from ksvg2/css/CSSPropertyNames.in.
              * ksvg2/css/SVGCSSValueKeywords.in: Copied from ksvg2/css/CSSValueKeywords.in.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26523 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      265c9b71
    • oliver's avatar
      2007-10-08 Eric Seidel <eric@webkit.org> · f7865031
      oliver authored
              Reviewed by hyatt.
      
              Implement getComputedStyle support for SVG CSS values
              http://bugs.webkit.org/show_bug.cgi?id=15422
      
              This also unifies SVG and non-SVG CSS hash lookups. A unified hash
              solves correctness problems as well as offers improved speed.
      
              Test: svg/css/getComputedStyle-basic.xhtml
      
              * DerivedSources.make: unify SVG and non-SVG CSS hash files
              * WebCore.xcodeproj/project.pbxproj: remove old SVG CSS hash files
              * css/CSSComputedStyleDeclaration.cpp:
              (WebCore::):
              (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): call getPropertyCSSValue
              * css/CSSComputedStyleDeclaration.h: add getPropertyCSSValue
              * css/CSSGrammar.y:
              * css/CSSParser.cpp:
              (WebCore::CSSParser::parseValue):
              * css/CSSStyleDeclaration.cpp:
              (WebCore::propertyID):
              * css/CSSStyleSelector.cpp:
              (WebCore::CSSStyleSelector::applyProperty):
              * ksvg2/css/CSSPropertyNames.in: remove font-size-adjust
              * ksvg2/css/SVGCSSComputedStyleDeclaration.cpp: Added.
              (WebCore::CSSComputedStyleDeclaration::getSVGPropertyCSSValue): added.
              * ksvg2/css/SVGCSSParser.cpp:
              (WebCore::CSSParser::parseSVGValue):
              * ksvg2/css/SVGCSSStyleSelector.cpp:
              (WebCore::CSSStyleSelector::applySVGProperty):
              * ksvg2/scripts/cssmakeprops: Removed.
              * ksvg2/scripts/cssmakevalues: Removed.
              * ksvg2/svg/SVGAnimationElement.cpp:
              * ksvg2/svg/SVGStyledElement.cpp:
              (WebCore::mapAttributeToCSSProperty):
              (WebCore::SVGStyledElement::cssPropertyIdForSVGAttributeName): remove font-size-adjust
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26522 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f7865031
    • oliver's avatar
      2007-10-07 Sam Weinig <sam@webkit.org> · 7a6a508d
      oliver authored
              Reviewed by Darin & Nikolas.  Landed by eseidel.
      
              Patch for http://bugs.webkit.org/show_bug.cgi?id=14455
              Autogenerate the JS bindings for the StyleSheetList
      
              * DerivedSources.make:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/JSStyleSheetListCustom.cpp: Added.
              (WebCore::JSStyleSheetList::canGetItemsForName):
              (WebCore::JSStyleSheetList::nameGetter):
              * bindings/js/kjs_css.cpp:
              * bindings/js/kjs_css.h:
              * bindings/objc/DOMUtility.mm:
              * bindings/scripts/CodeGeneratorJS.pm:
              * css/StyleSheetList.cpp:
              (WebCore::StyleSheetList::StyleSheetList):
              (WebCore::StyleSheetList::documentDestroyed):
              (WebCore::StyleSheetList::getNamedItem):
              * css/StyleSheetList.h: Add Document member variable and
              getNamedItem function to accommodate the odd javascript
              name getter functionality.
              * css/StyleSheetList.idl:
              * dom/Document.cpp:
              (WebCore::Document::Document):
              (WebCore::Document::~Document):
              * page/DOMWindow.idl: Add StyleSheetListConstructor
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26509 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7a6a508d
    • oliver's avatar
      2007-10-01 Eric Seidel <eric@webkit.org> · 473fd0e5
      oliver authored
              Reviewed by Oliver Hunt.
      
              This only affects Debug builds, and the ability to save SVGs as WebArchives
              neither are testable via DumpRenderTree.
      
              * Configurations/WebCore.xcconfig: change where Xcode looks for WebCore.exp
              * DerivedSources.make: adds SVG symbols to WebCore.exp when necessary
              * WebCore.SVG.exp: Added.
              * WebCore.exp: moved to WebCore.base.exp
              * WebCore.xcodeproj/project.pbxproj: updated to reflect moved files
              * bindings/objc/DOMSVGExecption.h: moved to DOMSVGException.h
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26459 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      473fd0e5
    • oliver's avatar
      Reviewed by Sam. · db4c3158
      oliver authored
      Recognizee <textPath> in SVG JS bindings.
      Add JSSVGTextPathElement to JSSVGElementWrapperFactory.
      
      Add SVGException.idl just for the JS generation.
      Turn on all SVG JS constructors and add them to DOMWindow.idl.
      
      Testcase added: LayoutTests/svg/custom/js-svg-constructors.svg
      
      Forgot to commit the ChangeLog and two files in my last commit!
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26420 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      db4c3158
    • oliver's avatar
      Reviewed by Oliver. · 98d52384
      oliver authored
      Fixes: http://bugs.webkit.org/show_bug.cgi?id=12698 (SVG text needs a special per-character layout mode.)
      Finally land the new SVG text engine.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26384 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      98d52384
  12. 24 Jul, 2007 1 commit
  13. 19 Jul, 2007 1 commit
    • darin's avatar
      Reviewed by Alexey. · f867690b
      darin authored
              - fix http://bugs.webkit.org/show_bug.cgi?id=14666
                remove unused xxx-encodings.txt for all platforms other than Mac
      
              * platform/gdk/gdk-encodings.txt: Removed.
              * platform/win/win-encodings.txt: Removed.
              * platform/wx/wx-encodings.txt: Removed.
      
              * platform/character-sets.txt: Moved into mac subdirectory since it's only used for Mac; at some
              point I hope to remove it completely.
              * platform/make-charset-table.pl: Ditto.
              * platform/mac/character-sets.txt: Copied from platform/character-sets.txt.
              * platform/mac/make-charset-table.pl: Copied from platform/make-charset-table.pl.
      
              * DerivedSources.make: Moved CharsetData.cpp into the MACOS section.
              Changed the build rule to use Mac-specific paths for everything and got rid of
              make variables.
      
              * WebCore.vcproj/build-generated-files.sh: Removed code to set ENCODINGS_FILE and ENCODINGS_PREFIX.
              * WebCore.xcodeproj/project.pbxproj: Ditto.
              * make-generated-sources.sh: Ditto.
      
              * Projects/gdk/webcore-gdk.bkl: Removed code to pass gdk-encodings.txt to make-generated-sources.sh.
              * Projects/wx/webcore-wx.bkl: Ditto, but for wx-encodings.txt.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@24454 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f867690b
  14. 27 Jun, 2007 1 commit
    • weinig's avatar
      LayoutTests: · b0c299a9
      weinig authored
              Reviewed by Geoff.
      
              Update tests for http://bugs.webkit.org/show_bug.cgi?id=14319
              Move the Selection object out of the JS bindings
      
              * fast/dom/Window/window-properties-expected.txt:
              * fast/js/toString-and-valueOf-override-expected.txt:
              * http/tests/security/cross-frame-access-expected.txt:
      
      WebCore:
      
              Reviewed by Geoff.
      
              Patch for http://bugs.webkit.org/show_bug.cgi?id=14319
              Move the Selection object out of the JS bindings
      
              - Renames JS Object Selection to DOMSelection to avoid a name
                conflict.
      
              * DerivedSources.make:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/kjs_window.cpp:
              (KJS::WindowPrivate::WindowPrivate):
              (KJS::Window::mark):
              (KJS::Window::clearHelperObjectProperties):
              (KJS::WindowFunc::callAsFunction):
              (KJS::Window::disconnectFrame):
              * bindings/js/kjs_window.h:
              (KJS::Window::):
              * page/DOMSelection.cpp: Added.
              (WebCore::DOMSelection::DOMSelection):
              (WebCore::DOMSelection::frame):
              (WebCore::DOMSelection::disconnectFrame):
              (WebCore::DOMSelection::anchorNode):
              (WebCore::DOMSelection::baseNode):
              (WebCore::DOMSelection::anchorOffset):
              (WebCore::DOMSelection::baseOffset):
              (WebCore::DOMSelection::focusNode):
              (WebCore::DOMSelection::extentNode):
              (WebCore::DOMSelection::focusOffset):
              (WebCore::DOMSelection::extentOffset):
              (WebCore::DOMSelection::isCollapsed):
              (WebCore::DOMSelection::type):
              (WebCore::DOMSelection::rangeCount):
              (WebCore::DOMSelection::collapse):
              (WebCore::DOMSelection::collapseToEnd):
              (WebCore::DOMSelection::collapseToStart):
              (WebCore::DOMSelection::empty):
              (WebCore::DOMSelection::setBaseAndExtent):
              (WebCore::DOMSelection::setPosition):
              (WebCore::DOMSelection::modify):
              (WebCore::DOMSelection::getRangeAt):
              (WebCore::DOMSelection::removeAllRanges):
              (WebCore::DOMSelection::addRange):
              (WebCore::DOMSelection::toString):
              * page/DOMSelection.h: Added.
              * page/DOMSelection.idl: Added.
              * page/DOMWindow.cpp:
              (WebCore::DOMWindow::disconnectFrame):
              (WebCore::DOMWindow::getSelection):
              * page/DOMWindow.h:
              * page/DOMWindow.idl:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23842 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b0c299a9
  15. 19 Jun, 2007 1 commit
    • weinig's avatar
      Reviewed by Geoff. · 4484b814
      weinig authored
              Patch for http://bugs.webkit.org/show_bug.cgi?id=14226
              Move the History object out of the JS bindings
      
              - Autogenerate JSHistory.
      
              * DerivedSources.make:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/kjs_window.cpp:
              (KJS::WindowPrivate::WindowPrivate):
              (KJS::Window::mark):
              (KJS::Window::getValueProperty):
              (KJS::Window::clearHelperObjectProperties):
              (KJS::Window::disconnectFrame):
              * bindings/js/kjs_window.h:
              (KJS::Window::):
              * bridge/GlobalHistory.h: Copied from WebCore/bridge/History.h.
              * bridge/History.h: Removed.
              * bridge/mac/GlobalHistoryMac.mm: Copied from WebCore/bridge/mac/HistoryMac.mm.
              * bridge/mac/HistoryMac.mm: Removed.
              * bridge/win/GlobalHistoryWin.cpp: Copied from WebCore/bridge/win/HistoryWin.cpp.
              * bridge/win/HistoryWin.cpp: Removed.
              * css/cssstyleselector.cpp:
              * page/DOMWindow.cpp:
              (WebCore::DOMWindow::disconnectFrame):
              (WebCore::DOMWindow::history):
              * page/DOMWindow.h:
              * page/DOMWindow.idl:
              * page/History.cpp: Added.
              (WebCore::History::History):
              (WebCore::History::frame):
              (WebCore::History::disconnectFrame):
              (WebCore::History::length):
              (WebCore::History::back):
              (WebCore::History::forward):
              (WebCore::History::go):
              * page/History.h: Added.
              * page/History.idl: Added.
              * platform/gdk/TemporaryLinkStubs.cpp:
              * platform/qt/TemporaryLinkStubs.cpp:
              * platform/wx/TemporaryLinkStubs.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23584 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4484b814
  16. 18 Jun, 2007 2 commits
    • weinig's avatar
      LayoutTests: · b8d23237
      weinig authored
              Reviewed by Geoff.
      
              Updates tests for http://bugs.webkit.org/show_bug.cgi?id=14193
              Move the Screen object out of the JS bindings
      
              * fast/dom/Window/window-appendages-cleared-expected.txt:
              * fast/dom/Window/window-properties-expected.txt:
      
      WebCore:
      
              Reviewed by Geoff.
      
              Patch for http://bugs.webkit.org/show_bug.cgi?id=14193
              Move the Screen object out of the JS bindings
      
              - Renames Screen.h to PlatformScreen.h to accommodate new class.
              - Autogenerates JSScreen.
      
              * DerivedSources.make:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/kjs_window.cpp:
              (KJS::WindowPrivate::WindowPrivate):
              (KJS::Window::mark):
              (KJS::Window::getValueProperty):
              (KJS::Window::clearHelperObjectProperties):
              * bindings/js/kjs_window.h:
              (KJS::Window::):
              * css/MediaQueryEvaluator.cpp:
              * page/DOMWindow.cpp:
              (WebCore::DOMWindow::DOMWindow):
              (WebCore::DOMWindow::~DOMWindow):
              (WebCore::DOMWindow::frame):
              (WebCore::DOMWindow::disconnectFrame):
              (WebCore::DOMWindow::screen):
              * page/DOMWindow.h:
              * page/DOMWindow.idl:
              * page/Screen.cpp: Added.
              (WebCore::Screen::Screen):
              (WebCore::Screen::disconnectFrame):
              (WebCore::Screen::height):
              (WebCore::Screen::width):
              (WebCore::Screen::colorDepth):
              (WebCore::Screen::pixelDepth):
              (WebCore::Screen::availLeft):
              (WebCore::Screen::availTop):
              (WebCore::Screen::availHeight):
              (WebCore::Screen::availWidth):
              * page/Screen.h: Added.
              * page/Screen.idl: Added.
              * page/mac/WebCoreFrameBridge.mm:
              * platform/PlatformScreen.h: Copied from WebCore/platform/Screen.h.
              * platform/Screen.h: Removed.
              * platform/gdk/PlatformScreenGdk.cpp: Copied from WebCore/platform/gdk/ScreenGdk.cpp.
              * platform/gdk/ScreenGdk.cpp: Removed.
              * platform/mac/PlatformMouseEventMac.mm:
              * platform/mac/PlatformScreenMac.mm: Copied from WebCore/platform/mac/ScreenMac.mm.
              * platform/mac/ScreenMac.mm: Removed.
              * platform/qt/PlatformScreenQt.cpp: Added.
              (WebCore::WebCore::screenDepth):
              (WebCore::WebCore::screenDepthPerComponent):
              (WebCore::WebCore::screenIsMonochrome):
              (WebCore::WebCore::screenRect):
              (WebCore::WebCore::screenAvailableRect):
              * platform/qt/TemporaryLinkStubs.cpp:
              * platform/win/PlatformScreenWin.cpp: Copied from WebCore/platform/win/ScreenWin.cpp.
              * platform/win/ScreenWin.cpp: Removed.
              * rendering/RenderObject.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23576 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b8d23237
    • weinig's avatar
      Reviewed by Geoff. · 6f399844
      weinig authored
              Patch for http://bugs.webkit.org/show_bug.cgi?id=14211
              Move the BarInfo object out of the JS bindings
      
              * DerivedSources.make:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/kjs_window.cpp:
              (KJS::WindowPrivate::WindowPrivate):
              (KJS::Window::mark):
              (KJS::Window::getValueProperty):
              (KJS::Window::clearHelperObjectProperties):
              (KJS::Window::disconnectFrame):
              * bindings/js/kjs_window.h:
              (KJS::Window::):
              * page/BarInfo.cpp: Added.
              (WebCore::BarInfo::BarInfo):
              (WebCore::BarInfo::disconnectFrame):
              (WebCore::BarInfo::visible):
              * page/BarInfo.h: Added.
              (WebCore::BarInfo::):
              * page/BarInfo.idl: Added.
              * page/DOMWindow.cpp:
              (WebCore::DOMWindow::~DOMWindow):
              (WebCore::DOMWindow::disconnectFrame):
              (WebCore::DOMWindow::locationbar):
              (WebCore::DOMWindow::menubar):
              (WebCore::DOMWindow::personalbar):
              (WebCore::DOMWindow::scrollbars):
              (WebCore::DOMWindow::statusbar):
              (WebCore::DOMWindow::toolbar):
              * page/DOMWindow.h:
              * page/DOMWindow.idl:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23573 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6f399844
  17. 15 Jun, 2007 1 commit
    • weinig's avatar
      LayoutTests: · a6188e22
      weinig authored
              Reviewed by Darin.
      
              Update test for http://bugs.webkit.org/show_bug.cgi?id=14053
              Autogenerate JS binding for Rect
      
              * fast/dom/Window/window-properties-expected.txt:
      
      WebCore:
      
              Reviewed by Darin.
      
              Patch for http://bugs.webkit.org/show_bug.cgi?id=14053
              Autogenerate JS binding for Rect
      
              - Renames RectImpl to Rect, DOMStyleSheetList to JSStyleSheetList 
                and DOMRGBColor to JSRGBColor
              - Moves JSStyleSheetList and JSRGBColor into the WebCore namespace.
      
              * DerivedSources.make:
              * WebCore.pro:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/kjs_css.cpp:
              (WebCore::):
              (WebCore::JSStyleSheetList::JSStyleSheetList):
              (WebCore::JSStyleSheetList::~JSStyleSheetList):
              (WebCore::JSStyleSheetList::getValueProperty):
              (WebCore::JSStyleSheetList::indexGetter):
              (WebCore::JSStyleSheetList::nameGetter):
              (WebCore::JSStyleSheetList::getOwnPropertySlot):
              (WebCore::toJS):
              (WebCore::JSStyleSheetListFunc::callAsFunction):
              (WebCore::JSRGBColor::JSRGBColor):
              (WebCore::JSRGBColor::~JSRGBColor):
              (WebCore::JSRGBColor::getOwnPropertySlot):
              (WebCore::JSRGBColor::getValueProperty):
              (WebCore::getJSRGBColor):
              * bindings/js/kjs_css.h:
              (WebCore::JSStyleSheetList::classInfo):
              (WebCore::JSStyleSheetList::):
              (WebCore::JSStyleSheetList::impl):
              (WebCore::JSRGBColor::classInfo):
              (WebCore::JSRGBColor::):
              (WebCore::JSRGBColor::impl):
              * bindings/objc/DOMUtility.mm:
              (KJS::createDOMWrapper):
              * bindings/scripts/CodeGeneratorJS.pm:
              * bindings/scripts/CodeGeneratorObjC.pm:
              * css/CSSBorderImageValue.cpp:
              (WebCore::CSSBorderImageValue::CSSBorderImageValue):
              * css/CSSBorderImageValue.h:
              * css/CSSPrimitiveValue.cpp:
              (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
              (WebCore::CSSPrimitiveValue::cssText):
              * css/CSSPrimitiveValue.h:
              (WebCore::CSSPrimitiveValue::getRectValue):
              (WebCore::CSSPrimitiveValue::):
              * css/DashboardRegion.h:
              * css/Rect.h: Copied from css/RectImpl.h.
              (WebCore::Rect::~Rect):
              (WebCore::Rect::top):
              (WebCore::Rect::right):
              (WebCore::Rect::bottom):
              (WebCore::Rect::left):
              (WebCore::Rect::setTop):
              (WebCore::Rect::setRight):
              (WebCore::Rect::setBottom):
              (WebCore::Rect::setLeft):
              * css/Rect.idl:
              * css/RectImpl.h: Removed.
              * css/cssparser.cpp:
              (WebCore::CSSParser::parseShape):
              (WebCore::BorderImageParseContext::commitBorderImage):
              * css/cssstyleselector.cpp:
              (WebCore::CSSStyleSelector::applyProperty):
              * page/DOMWindow.idl:
      
      WebKit:
      
              Reviewed by Darin.
      
              Patch for http://bugs.webkit.org/show_bug.cgi?id=14053
              Autogenerate JS binding for Rect
      
              - Fix conflicts by using ::Rect instead of Rect.
      
              * Plugins/WebBaseNetscapePluginView.mm:
              (-[WebBaseNetscapePluginView saveAndSetNewPortStateForUpdate:]):
              (-[WebBaseNetscapePluginView sendEvent:]):
              (-[WebBaseNetscapePluginView tellQuickTimeToChill]):
              (-[WebBaseNetscapePluginView invalidateRegion:]):
              (-[WebBaseNetscapePluginView _printedPluginBitmap]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23557 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a6188e22
  18. 09 Jun, 2007 1 commit
    • weinig's avatar
      LayoutTests: · 0d78994a
      weinig authored
              Reviewed by Oliver.
      
              Update test for http://bugs.webkit.org/show_bug.cgi?id=14044
              Autogenerate the JS bindings for HTMLCollection.
      
              * tables/mozilla/bugs/bug53690-1-expected.txt: Now throws Undefined Error instead of Null Error
      
      WebCore:
      
              Reviewed by Oliver.
      
              Patch for http://bugs.webkit.org/show_bug.cgi?id=14044
              Autogenerate the JS bindings for HTMLCollection
      
              - also moves JSHTMLAllCollection into it's own file.
      
              * DerivedSources.make:
              * WebCore.pro:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/JSHTMLAllCollection.h: Added.
              (WebCore::JSHTMLAllCollection::JSHTMLAllCollection):
              (WebCore::JSHTMLAllCollection::toBoolean):
              (WebCore::JSHTMLAllCollection::masqueradeAsUndefined):
              * bindings/js/JSHTMLCollectionCustom.cpp: Added.
              (WebCore::getNamedItems):
              (WebCore::JSHTMLCollection::callAsFunction):
              (WebCore::JSHTMLCollection::implementsCall):
              (WebCore::JSHTMLCollection::canGetItemsForName):
              (WebCore::JSHTMLCollection::nameGetter):
              (WebCore::JSHTMLCollection::item):
              (WebCore::JSHTMLCollection::namedItem):
              (WebCore::toJS):
              * bindings/js/JSHTMLDocumentCustom.cpp:
              (WebCore::JSHTMLDocument::nameGetter):
              (WebCore::JSHTMLDocument::all):
              * bindings/js/JSXMLHttpRequest.cpp:
              * bindings/js/kjs_html.cpp:
              (WebCore::ImageConstructorImp::ImageConstructorImp):
              (WebCore::ImageConstructorImp::construct):
              * bindings/js/kjs_html.h:
              (WebCore::ImageConstructorImp::implementsConstruct):
              * bindings/js/kjs_window.cpp:
              (KJS::Window::namedItemGetter):
              * bindings/objc/DOMUtility.mm:
              (KJS::createDOMWrapper):
              * bindings/scripts/CodeGeneratorJS.pm:
              * html/HTMLCollection.cpp:
              (WebCore::HTMLCollection::tags):
              * html/HTMLCollection.h:
              (WebCore::HTMLCollection::collectionType):
              * html/HTMLCollection.idl:
              * html/HTMLOptionsCollection.idl:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@22080 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0d78994a
  19. 07 Jun, 2007 1 commit
    • weinig's avatar
      LayoutTests: · c0e8e2e6
      weinig authored
              Reviewed by Anders.
      
              Update test for http://bugs.webkit.org/show_bug.cgi?id=14028
              Finish autogenerating the JS bindings for Node
      
              * fast/dom/prototype-chain-expected.txt: DOMNodePrototype is no longer in the prototype chain.
      
      WebCore:
      
              Reviewed by Anders.
      
              Patch for  http://bugs.webkit.org/show_bug.cgi?id=14028
              Finish autogenerating the JS bindings for Node
      
              * DerivedSources.make:
              * WebCore.pro:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/JSHTMLElementWrapperFactory.cpp:
              (WebCore::createJSHTMLWrapper):
              * bindings/js/JSHTMLElementWrapperFactory.h:
              * bindings/js/JSHTMLOptionElementConstructor.cpp:
              * bindings/js/JSNamedNodeMapCustom.cpp:
              * bindings/js/JSNodeCustom.cpp:
              (WebCore::JSNode::insertBefore):
              (WebCore::JSNode::replaceChild):
              (WebCore::JSNode::removeChild):
              (WebCore::JSNode::appendChild):
              (WebCore::JSNode::mark):
              (WebCore::toJS):
              * bindings/js/JSSVGElementWrapperFactory.cpp:
              (WebCore::createJSSVGWrapper):
              * bindings/js/JSSVGElementWrapperFactory.h:
              * bindings/js/JSXSLTProcessor.cpp:
              (KJS::XSLTProcessorPrototypeFunction::callAsFunction):
              * bindings/js/kjs_binding.cpp:
              (KJS::ScriptInterpreter::getDOMNodeForDocument):
              (KJS::ScriptInterpreter::putDOMNodeForDocument):
              (KJS::ScriptInterpreter::markDOMNodesForDocument):
              (KJS::ScriptInterpreter::updateDOMNodeDocument):
              * bindings/js/kjs_binding.h:
              * bindings/js/kjs_dom.cpp:
              (WebCore::toAttr):
              * bindings/js/kjs_dom.h:
              * bindings/js/kjs_domnode.h: Removed.
              * bindings/objc/DOMUtility.mm:
              (KJS::createDOMWrapper):
              * bindings/scripts/CodeGeneratorJS.pm:
              * dom/Node.h:
              (WebCore::Node::parentElement):
              * dom/Node.idl:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@22048 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c0e8e2e6
  20. 06 Jun, 2007 2 commits
    • weinig's avatar
      LayoutTests: · 3843e438
      weinig authored
              Reviewed by Hyatt.
      
              Update tests for http://bugs.webkit.org/show_bug.cgi?id=13973
              Autogenerate most of the rest of kjs_dom.h/cpp
      
              * fast/dom/Window/window-properties-expected.txt:
              * fast/dom/prototype-chain-expected.txt:
      
      WebCore:
      
              Reviewed by Hyatt.
      
              Patch for http://bugs.webkit.org/show_bug.cgi?id=13973
              Autogenerate most of the rest of kjs_dom.h/cpp
      
              - Autogenerate JSNodeList and JSNamedNodeMap.
              - Move JSEventTargetNode, JSNamedNodesCollection, and JSDOMExceptionConstructor 
                into their own files.
              - Rename KJS::DOMEventTargeNode to WebCore::JSEventTargetNode to adhere
                to convention and allow easier code generation.
              - Add JS constructors for JSNodeList and JSNamedNodeMap.
              - Moved more toJS methods into the correct (corresponding) header files.
              - Cleaned up code in order for changes to work.
      
              * DerivedSources.make:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/JSDOMExceptionConstructor.cpp: Added.
              (WebCore::):
              (WebCore::JSDOMExceptionConstructor::JSDOMExceptionConstructor):
              (WebCore::JSDOMExceptionConstructor::getOwnPropertySlot):
              (WebCore::JSDOMExceptionConstructor::getValueProperty):
              (WebCore::getDOMExceptionConstructor):
              * bindings/js/JSDOMExceptionConstructor.h: Added.
              (WebCore::JSDOMExceptionConstructor::classInfo):
              * bindings/js/JSDOMWindowCustom.cpp: Added.
              (WebCore::JSDOMWindow::customGetOwnPropertySlot):
              * bindings/js/JSDocumentCustom.cpp:
              (WebCore::JSDocument::mark):
              (WebCore::toJS):
              * bindings/js/JSEventTargetNode.cpp: Added.
              (WebCore::JSEventTargetNode::JSEventTargetNode):
              (WebCore::JSEventTargetNode::getOwnPropertySlot):
              (WebCore::JSEventTargetNode::getValueProperty):
              (WebCore::JSEventTargetNode::put):
              (WebCore::JSEventTargetNode::putValueProperty):
              (WebCore::JSEventTargetNode::setListener):
              (WebCore::JSEventTargetNode::getListener):
              (WebCore::JSEventTargetNode::pushEventHandlerScope):
              (WebCore::JSEventTargetNodePrototypeFunction::callAsFunction):
              (WebCore::toEventTargetNode):
              * bindings/js/JSEventTargetNode.h: Added.
              (WebCore::JSEventTargetNode::):
              * bindings/js/JSHTMLElementCustom.cpp:
              * bindings/js/JSHTMLFormElementCustom.cpp:
              (WebCore::JSHTMLFormElement::nameGetter):
              * bindings/js/JSHTMLOptionElementConstructor.cpp:
              * bindings/js/JSNamedNodeMapCustom.cpp: Added.
              (WebCore::JSNamedNodeMap::canGetItemsForName):
              (WebCore::JSNamedNodeMap::nameGetter):
              * bindings/js/JSNamedNodesCollection.cpp: Added.
              (WebCore::):
              (WebCore::JSNamedNodesCollection::JSNamedNodesCollection):
              (WebCore::JSNamedNodesCollection::lengthGetter):
              (WebCore::JSNamedNodesCollection::indexGetter):
              (WebCore::JSNamedNodesCollection::getOwnPropertySlot):
              * bindings/js/JSNamedNodesCollection.h: Added.
              (WebCore::JSNamedNodesCollection::classInfo):
              * bindings/js/JSNodeCustom.cpp: Added.
              (WebCore::toJS):
              * bindings/js/JSNodeListCustom.cpp: Added.
              (WebCore::JSNodeList::callAsFunction):
              (WebCore::JSNodeList::implementsCall):
              (WebCore::JSNodeList::canGetItemsForName):
              (WebCore::JSNodeList::nameGetter):
              * bindings/js/kjs_dom.cpp:
              * bindings/js/kjs_dom.h:
              * bindings/js/kjs_domnode.h:
              * bindings/js/kjs_events.cpp:
              (KJS::JSLazyEventListener::parseCode):
              * bindings/js/kjs_html.cpp:
              (KJS::JSHTMLCollection::getNamedItems):
              * bindings/js/kjs_html.h:
              * bindings/js/kjs_window.cpp:
              (WebCore::toJS):
              * bindings/js/kjs_window.h:
              * bindings/objc/DOMInternal.mm:
              (-[WebScriptObject _initializeScriptDOMNodeImp]):
              * bindings/objc/DOMUtility.mm:
              (KJS::createDOMWrapper):
              * bindings/scripts/CodeGeneratorJS.pm:
              * bridge/mac/WebCoreAXObject.mm:
              * dom/Attr.idl:
              * dom/CharacterData.idl:
              * dom/Document.idl:
              * dom/DocumentFragment.idl:
              * dom/DocumentType.idl:
              * dom/Element.idl:
              * dom/NamedNodeMap.idl:
              * dom/Node.idl:
              * dom/NodeList.idl:
              * page/DOMWindow.idl:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@22039 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3843e438
    • weinig's avatar
      LayoutTests: · 79190704
      weinig authored
              Reviewed by Hyatt.
      
              Update results for http://bugs.webkit.org/show_bug.cgi?id=13947
              Finish autogenerating the JS DOM traversal code
      
              * fast/dom/Window/window-properties-expected.txt:
      
      WebCore:
      
              Reviewed by Hyatt.
      
              Patch for http://bugs.webkit.org/show_bug.cgi?id=13947
              Finish autogenerating the JS DOM traversal code
      
              - Completely generate JSNodeFilter.
              - Move JSNodeFilterCondition into its own file
      
              * DerivedSources.make:
              * WebCore.pro:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/JSNodeFilterCondition.cpp: Copied from WebCore/bindings/js/kjs_traversal.cpp.
              (WebCore::JSNodeFilterCondition::JSNodeFilterCondition):
              (WebCore::JSNodeFilterCondition::mark):
              (WebCore::JSNodeFilterCondition::acceptNode):
              * bindings/js/JSNodeFilterCondition.h: Copied from WebCore/bindings/js/kjs_traversal.h.
              * bindings/js/JSNodeFilterCustom.cpp: Added.
              (WebCore::JSNodeFilter::mark):
              (WebCore::toNodeFilter):
              * bindings/js/kjs_dom.cpp:
              * bindings/js/kjs_traversal.cpp: Removed.
              * bindings/js/kjs_traversal.h: Removed.
              * bindings/js/kjs_window.cpp:
              * bindings/objc/DOM.mm:
              (-[DOMDocument createNodeIterator:whatToShow:filter:expandEntityReferences:]):
              (-[DOMDocument createTreeWalker:whatToShow:filter:expandEntityReferences:]):
              * bindings/scripts/CodeGeneratorJS.pm:
              * dom/Document.cpp:
              (WebCore::Document::createNodeIterator):
              (WebCore::Document::createTreeWalker):
              * dom/Document.h:
              * dom/NodeFilter.idl:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@22035 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      79190704
  21. 30 May, 2007 2 commits
    • weinig's avatar
      LayoutTests: · aeca636b
      weinig authored
              Reviewed by Oliver.
      
              Update results for http://bugs.webkit.org/show_bug.cgi?id=13943
              Autogenerate the JS bindings for the CSSStyleSheet
      
              * fast/dom/Window/window-properties-expected.txt:
      
      WebCore:
      
              Reviewed by Oliver.
      
              Patch for http://bugs.webkit.org/show_bug.cgi?id=13943
              Autogenerate the JS bindings for the CSSStyleSheet
      
              * DerivedSources.make:
              * WebCore.pro:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/JSStyleSheetCustom.cpp:
              (WebCore::toJS):
              * bindings/js/kjs_css.cpp:
              * bindings/js/kjs_css.h:
              * bindings/scripts/CodeGeneratorJS.pm:
              * css/CSSStyleSheet.cpp:
              (WebCore::CSSStyleSheet::addRule):
              (WebCore::CSSStyleSheet::cssRules):
              * css/CSSStyleSheet.h:
              (WebCore::CSSStyleSheet::rules):
              (WebCore::CSSStyleSheet::removeRule):
              * css/CSSStyleSheet.idl:
              * page/DOMWindow.idl:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21911 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      aeca636b
    • weinig's avatar
      LayoutTests: · 638c3d52
      weinig authored
              Reviewed by Darin.
      
              - Update results for http://bugs.webkit.org/show_bug.cgi?id=13919
                Autogenerate the JS bindings for the CSSRule and its subclasses
      
              * fast/dom/Window/window-properties-expected.txt: adds new constructors
              * fast/dom/wrapper-classes-expected.txt: CSSStyleRule now passes!!
      
      WebCore:
      
              Reviewed by Darin.
      
              Patch for http://bugs.webkit.org/show_bug.cgi?id=13919
              Autogenerate the JS bindings for the CSSRule and its subclasses
      
              - subclasses generated are CSSCharsetRule, CSSFontFaceRule, CSSImportRule
                CSSMediaRule, CSSPageRule and CSSStyleRule.
      
              * DerivedSources.make:
              * WebCore.pro:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/JSCSSRuleCustom.cpp: Added.
              (WebCore::toJS):
              * bindings/js/kjs_css.cpp:
              * bindings/js/kjs_css.h:
              * bindings/objc/DOMUtility.mm:
              (KJS::createDOMWrapper):
              * bindings/scripts/CodeGeneratorJS.pm:
              * css/CSSCharsetRule.h:
              (WebCore::CSSCharsetRule::setEncoding):
              * css/CSSCharsetRule.idl:
              * css/CSSFontFaceRule.idl:
              * css/CSSImportRule.idl:
              * css/CSSMediaRule.idl:
              * css/CSSPageRule.cpp:
              (WebCore::CSSPageRule::setSelectorText):
              * css/CSSPageRule.h:
              * css/CSSPageRule.idl:
              * css/CSSRule.cpp:
              (WebCore::CSSRule::setCssText):
              * css/CSSRule.h:
              * css/CSSRule.idl:
              * css/CSSStyleRule.cpp:
              (WebCore::CSSStyleRule::setSelectorText):
              * css/CSSStyleRule.h:
              * css/CSSStyleRule.idl:
              * page/DOMWindow.idl: add new constructors.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21896 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      638c3d52
  22. 29 May, 2007 2 commits
    • weinig's avatar
      LayoutTests: · 993adb85
      weinig authored
              Reviewed by Oliver.
      
              Update results for http://bugs.webkit.org/show_bug.cgi?id=13912
              Autogenerate the JS bindings for the MediaList
      
              * fast/dom/Window/window-properties-expected.txt: new constructors added.
      
      WebCore:
      
              Reviewed by Oliver.
      
              Patch for http://bugs.webkit.org/show_bug.cgi?id=13912
              Autogenerate the JS bindings for the MediaList
      
              * DerivedSources.make:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/kjs_css.cpp:
              * bindings/js/kjs_css.h:
              * bindings/objc/DOMUtility.mm:
              (KJS::createDOMWrapper):
              * bindings/scripts/CodeGeneratorJS.pm:
              * css/MediaList.idl:
              * page/DOMWindow.idl: Add constructor.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21881 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      993adb85
    • weinig's avatar
      LayoutTests: · b4cc524b
      weinig authored
              Reviewed by Oliver.
      
              Update results after http://bugs.webkit.org/show_bug.cgi?id=13908
              Autogenerate the JS bindings for the StyleSheet
      
              * fast/dom/Window/window-properties-expected.txt: Adds StyleSheet constructor
      
      WebCore:
      
              Reviewed by Oliver.
      
              Patch for http://bugs.webkit.org/show_bug.cgi?id=13908
              Autogenerate the JS bindings for the StyleSheet
      
              * DerivedSources.make:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/JSStyleSheetCustom.cpp: Added.
              (WebCore::toJS):
              (WebCore::JSStyleSheet::toBoolean):
              * bindings/js/kjs_css.cpp:
              (KJS::):
              (KJS::DOMCSSStyleSheet::DOMCSSStyleSheet):
              (KJS::DOMCSSStyleSheet::getOwnPropertySlot):
              * bindings/js/kjs_css.h:
              * bindings/objc/DOMUtility.mm:
              (KJS::createDOMWrapper):
              * bindings/scripts/CodeGeneratorJS.pm:
              * css/StyleSheet.idl:
              * page/DOMWindow.idl: Add new constructor.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21873 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b4cc524b
  23. 27 May, 2007 1 commit
    • weinig's avatar
      LayoutTests: · 4fd93a68
      weinig authored
              Reviewed by Hyatt.
      
              Update results for http://bugs.webkit.org/show_bug.cgi?id=13893
              Autogenerate the JS bindings for the HTMLObjectElement, 
              HTMLEmbedElement and HTMLAppletElement
      
              - account for the new JSHTMLObjectElement and JSHTMLEmbedElement that are
                being autogenerated and can now produce constructors.
      
              * fast/dom/Window/element-constructors-on-window-expected.txt:
              * fast/dom/Window/window-properties-expected.txt:
      
      WebCore:
      
              Reviewed by Hyatt.
      
              Patch for http://bugs.webkit.org/show_bug.cgi?id=13893
              Autogenerate the JS bindings for the HTMLObjectElement, 
              HTMLEmbedElement and HTMLAppletElement
      
              * DerivedSources.make:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/JSHTMLAppletElementCustom.cpp: Added.
              (WebCore::JSHTMLAppletElement::customGetOwnPropertySlot):
              (WebCore::JSHTMLAppletElement::customPut):
              (WebCore::JSHTMLAppletElement::implementsCall):
              (WebCore::JSHTMLAppletElement::callAsFunction):
              (WebCore::JSHTMLAppletElement::canGetItemsForName):
              (WebCore::JSHTMLAppletElement::nameGetter):
              * bindings/js/JSHTMLElementWrapperFactory.cpp:
              * bindings/js/JSHTMLEmbedElementCustom.cpp: Added.
              (WebCore::JSHTMLEmbedElement::customGetOwnPropertySlot):
              (WebCore::JSHTMLEmbedElement::customPut):
              (WebCore::JSHTMLEmbedElement::implementsCall):
              (WebCore::JSHTMLEmbedElement::callAsFunction):
              (WebCore::JSHTMLEmbedElement::canGetItemsForName):
              (WebCore::JSHTMLEmbedElement::nameGetter):
              * bindings/js/JSHTMLObjectElementCustom.cpp: Added.
              (WebCore::JSHTMLObjectElement::customGetOwnPropertySlot):
              (WebCore::JSHTMLObjectElement::customPut):
              (WebCore::JSHTMLObjectElement::implementsCall):
              (WebCore::JSHTMLObjectElement::callAsFunction):
              (WebCore::JSHTMLObjectElement::canGetItemsForName):
              (WebCore::JSHTMLObjectElement::nameGetter):
              * bindings/js/kjs_html.cpp:
              (KJS::):
              (KJS::JSHTMLElement::toString):
              (KJS::JSHTMLElement::pushEventHandlerScope):
              (KJS::runtimeObjectGetter):
              (KJS::runtimeObjectPropertyGetter):
              (KJS::runtimeObjectCustomGetOwnPropertySlot):
              (KJS::runtimeObjectCustomPut):
              (KJS::runtimeObjectImplementsCall):
              (KJS::runtimeObjectCallAsFunction):
              * bindings/js/kjs_html.h:
              (KJS::JSHTMLElement::classInfo):
              * bindings/scripts/CodeGeneratorJS.pm: Add support for 
              CustomGetOwnPropertySlot, CustomPutFunction, CustomCall,
              and SVGCheckSecurityDocument properties.
              * html/HTMLAppletElement.idl:
              * html/HTMLEmbedElement.idl:
              * html/HTMLObjectElement.idl:
              * page/DOMWindow.idl: Uncomment constructors.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21832 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4fd93a68
  24. 25 May, 2007 2 commits
  25. 24 May, 2007 1 commit
    • weinig's avatar
      Reviewed by Darin. · 622da3cf
      weinig authored
              Patch for http://bugs.webkit.org/show_bug.cgi?id=13853
              Autogenerate the JS bindings for the HTMLFrameSetElement
      
              * DerivedSources.make:
              * WebCore.pro:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/JSHTMLElementWrapperFactory.cpp:
              * bindings/js/JSHTMLFrameSetCustom.cpp: Added.
              (WebCore::JSHTMLFrameSetElement::canGetItemsForName):
              (WebCore::JSHTMLFrameSetElement::nameGetter):
              * bindings/js/kjs_html.cpp:
              (KJS::):
              (KJS::JSHTMLElement::classInfo):
              (KJS::JSHTMLElement::accessors):
              (KJS::JSHTMLElement::getOwnPropertySlot):
              * bindings/js/kjs_html.h:
              (KJS::JSHTMLElement::):
              * html/HTMLFrameSetElement.idl:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21714 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      622da3cf
  26. 22 May, 2007 1 commit
    • weinig's avatar
      LayoutTests: · 40d22abd
      weinig authored
              Reviewed by Adam.
      
              Update tests for http://bugs.webkit.org/show_bug.cgi?id=13833
              Add ObjC DOM binding for HTMLMarqeeElement
      
              * fast/dom/wrapper-classes-expected.txt:
              * fast/dom/wrapper-classes.html: HTMLMarqueeElement now is a 
              DOMHTMLMarqueeElement
      
      WebCore:
      
              Reviewed by Adam.
      
              Patch for http://bugs.webkit.org/show_bug.cgi?id=13833
              Add ObjC DOM binding for HTMLMarqeeElement
      
              - Also adds missing DOMHTMLFramePrivate.
      
              * DerivedSources.make:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/objc/DOM.mm:
              (WebCore::createElementClassMap):
              * bindings/objc/DOMHTML.h:
              * bindings/objc/DOMInternal.h:
              * bindings/objc/DOMPrivate.h:
              * bindings/objc/PublicDOMInterfaces.h:
      
      WebKit:
      
              Reviewed by Adam.
      
              Patch for http://bugs.webkit.org/show_bug.cgi?id=13833
              Add ObjC DOM binding for HTMLMarqeeElement
      
              - Also adds missing DOMHTMLFramePrivate.
      
              * MigrateHeaders.make:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21655 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      40d22abd