1. 27 Jun, 2008 1 commit
  2. 24 Jun, 2008 1 commit
  3. 20 Jun, 2008 3 commits
    • jmalonzo@webkit.org's avatar
      2008-06-20 Jan Michael Alonzo <jmalonzo@webkit.org> · bf50b999
      jmalonzo@webkit.org authored
              Gtk build fix: Add files missing in the previous fix (r34705)
      
              * GNUmakefile.am:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34708 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bf50b999
    • jmalonzo@webkit.org's avatar
      2008-06-20 Jan Michael Alonzo <jmalonzo@webkit.org> · b55a99ec
      jmalonzo@webkit.org authored
              Gtk build fix for r34702, r34700 and r34693
              Qt build fix for r34700 and r34693
      
              * GNUmakefile.am:
              * WebCore.pro:
              * platform/gtk/RenderThemeGtk.cpp:
              * platform/gtk/RenderThemeGtk.h:
              * platform/qt/RenderThemeQt.cpp:
              * platform/qt/RenderThemeQt.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34705 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b55a99ec
    • weinig@apple.com's avatar
      2008-06-20 Sam Weinig <sam@webkit.org> · 50bca617
      weinig@apple.com authored
              Reviewed by Adele Peterson.
      
              Add 'files' property to the HTMLInputElement, which returns a FileList object 
              (when type=file, null otherwise) containing a list of all the files selected.
              It currently always contains only 0 or 1 files as multifile input is not supported 
              yet.  The list contains File objects which contains the name and size of the file. 
              The inspiration for these interfaces is from:
                  - http://developer.mozilla.org/en/docs/nsIDOMFileList
                  - http://developer.mozilla.org/en/docs/nsIDOMFile
      
              Also fixes <rdar://problem/6022802>
      
              * DerivedSources.make:
              * GNUmakefile.am:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * WebCoreSources.bkl:
              * bindings/objc/DOMInternal.h:
              * bindings/scripts/CodeGenerator.pm:
              * bindings/scripts/IDLStructure.pm:
              * html/File.cpp: Added.
              (WebCore::File::File):
              (WebCore::File::fileSize):
              * html/File.h: Added.
              (WebCore::File::create):
              (WebCore::File::fileName):
              (WebCore::File::path):
              * html/File.idl: Added.
              * html/FileList.cpp: Added.
              (WebCore::FileList::FileList):
              (WebCore::FileList::item):
              * html/FileList.h: Added.
              (WebCore::FileList::create):
              (WebCore::FileList::length):
              (WebCore::FileList::isEmpty):
              (WebCore::FileList::clear):
              (WebCore::FileList::append):
              * html/FileList.idl: Added.
              * html/HTMLInputElement.cpp:
              (WebCore::HTMLInputElement::setInputType):
              (WebCore::HTMLInputElement::appendFormData):
              (WebCore::HTMLInputElement::value):
              (WebCore::HTMLInputElement::setValue):
              (WebCore::HTMLInputElement::setValueFromRenderer):
              (WebCore::HTMLInputElement::files):
              * html/HTMLInputElement.h:
              * html/HTMLInputElement.idl:
              * page/DOMWindow.idl:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34702 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      50bca617
  4. 19 Jun, 2008 1 commit
  5. 17 Jun, 2008 1 commit
    • adele@apple.com's avatar
      2008-06-17 Adele Peterson <adele@apple.com> · a03a0ef4
      adele@apple.com authored
              Reviewed by Brady.
      
              Fix for <rdar://problem/5605768> Render full-page video/audio with <video>/<audio> instead of QuickTime plug-in
      
              * WebCore.xcodeproj/project.pbxproj: Added MediaDocument class.
              * GNUmakefile.am: ditto.
              * WebCore.pro: ditto.
              * WebCore.vcproj/WebCore.vcproj: ditto.
              * WebCoreSources.bkl: ditto.
      
              * dom/DOMImplementation.cpp: (WebCore::DOMImplementation::createDocument):
                Check to see if the type can be played by our MediaPlayer, if so create a MediaDocument
              * dom/Document.h: (WebCore::Document::isMediaDocument): Added.
      
              * loader/MediaDocument.cpp: Added.
              (WebCore::MediaTokenizer::MediaTokenizer):
              (WebCore::MediaTokenizer::wantsRawData):
              (WebCore::MediaTokenizer::write):
              (WebCore::MediaTokenizer::createDocumentStructure):
              (WebCore::MediaTokenizer::writeRawData):
              (WebCore::MediaTokenizer::stopParsing):
              (WebCore::MediaTokenizer::finish):
              (WebCore::MediaTokenizer::isWaitingForScripts):
              (WebCore::MediaDocument::MediaDocument):
              (WebCore::MediaDocument::createTokenizer):
              * loader/MediaDocument.h: Added.
              (WebCore::MediaDocument::create):
              (WebCore::MediaDocument::isMediaDocument):
      
              * page/InspectorController.cpp: (WebCore::getResourceDocumentNode):
                Added MediaDocument case so it is handled the same as a PluginDocument or ImageDocument.
              * platform/graphics/MediaPlayer.cpp: (WebCore::MediaPlayer::supportsType): Added.
              * platform/graphics/MediaPlayer.h:
              * rendering/RenderMedia.cpp: (WebCore::RenderMedia::updateControlVisibility):
                Instead of checking the html element to decide if the media is audio, check the player.
                This means that if a video element actually only contains audio, then we will still avoid fading the controls in and out.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34637 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a03a0ef4
  6. 16 Jun, 2008 1 commit
    • darin@apple.com's avatar
      WebCore: · 1be9e155
      darin@apple.com authored
      2008-06-15  Darin Adler  <darin@apple.com>
      
              Rubber stamped by Sam.
      
              - renamed kjs_html.h/cpp to JSPluginElementFunctions.h/cpp
              - renamed kjs_events.h/cpp to JSEventListener.h/cpp
      
              * GNUmakefile.am:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * WebCoreSources.bkl:
              * bindings/js/JSCanvasRenderingContext2DCustom.cpp:
              * bindings/js/JSDOMApplicationCacheCustom.cpp:
              * bindings/js/JSDOMWindowBase.cpp:
              * bindings/js/JSEventCustom.cpp:
              * bindings/js/JSEventListener.cpp: Copied from WebCore/bindings/js/kjs_events.cpp.
              * bindings/js/JSEventListener.h: Copied from WebCore/bindings/js/kjs_events.h.
              * bindings/js/JSEventTargetBase.h:
              * bindings/js/JSHTMLAppletElementCustom.cpp:
              * bindings/js/JSHTMLCollectionCustom.cpp:
              * bindings/js/JSHTMLDocumentCustom.cpp:
              * bindings/js/JSHTMLEmbedElementCustom.cpp:
              * bindings/js/JSHTMLInputElementBase.h:
              * bindings/js/JSHTMLObjectElementCustom.cpp:
              * bindings/js/JSHTMLSelectElementCustom.cpp:
              * bindings/js/JSPluginElementFunctions.cpp: Copied from WebCore/bindings/js/kjs_html.cpp.
              * bindings/js/JSPluginElementFunctions.h: Copied from WebCore/bindings/js/kjs_html.h.
              * bindings/js/JSSVGLazyEventListener.h:
              * bindings/js/JSXMLHttpRequestCustom.cpp:
              * bindings/js/ScriptController.cpp:
              * bindings/js/kjs_events.cpp: Removed.
              * bindings/js/kjs_events.h: Removed.
              * bindings/js/kjs_html.cpp: Removed.
              * bindings/js/kjs_html.h: Removed.
      
      WebKitTools:
      
      2008-06-15  Darin Adler  <darin@apple.com>
      
              * Scripts/do-webcore-rename: Updated for the latest round of renaming.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34591 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1be9e155
  7. 15 Jun, 2008 2 commits
    • darin@apple.com's avatar
      WebCore: · 92aaa2a0
      darin@apple.com authored
      2008-06-14  Darin Adler  <darin@apple.com>
      
              Rubber stamped by Sam.
      
              - new names for kjs_binding.h and kjs_proxy.h
      
              * GNUmakefile.am:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * WebCoreSources.bkl:
              * bindings/js/JSAudioConstructor.h:
              * bindings/js/JSCustomSQLStatementCallback.cpp:
              * bindings/js/JSCustomSQLStatementErrorCallback.cpp:
              * bindings/js/JSCustomSQLTransactionCallback.cpp:
              * bindings/js/JSCustomSQLTransactionErrorCallback.cpp:
              * bindings/js/JSCustomVoidCallback.cpp:
              * bindings/js/JSCustomXPathNSResolver.cpp:
              * bindings/js/JSDOMBinding.cpp: Copied from WebCore/bindings/js/kjs_binding.cpp.
              * bindings/js/JSDOMBinding.h: Copied from WebCore/bindings/js/kjs_binding.h.
              * bindings/js/JSDOMWindowBase.cpp:
              * bindings/js/JSDOMWindowBase.h:
              * bindings/js/JSDOMWindowCustom.cpp:
              * bindings/js/JSDOMWindowShell.cpp:
              * bindings/js/JSDOMWindowShell.h:
              * bindings/js/JSDocumentCustom.cpp:
              * bindings/js/JSHTMLCollectionCustom.cpp:
              * bindings/js/JSHTMLFrameElementCustom.cpp:
              * bindings/js/JSHTMLFrameSetElementCustom.cpp:
              * bindings/js/JSHTMLIFrameElementCustom.cpp:
              * bindings/js/JSHTMLInputElementBase.h:
              * bindings/js/JSHTMLOptionElementConstructor.h:
              * bindings/js/JSImageConstructor.h:
              * bindings/js/JSLocationCustom.cpp:
              * bindings/js/JSNamedNodeMapCustom.cpp:
              * bindings/js/JSNamedNodesCollection.h:
              * bindings/js/JSNodeFilterCondition.cpp:
              * bindings/js/JSNodeFilterCustom.cpp:
              * bindings/js/JSRGBColor.h:
              * bindings/js/JSSVGPathSegCustom.cpp:
              * bindings/js/JSXMLHttpRequestConstructor.h:
              * bindings/js/JSXSLTProcessorConstructor.h:
              * bindings/js/JSXSLTProcessorCustom.cpp:
              * bindings/js/ScheduledAction.cpp:
              (WebCore::ScheduledAction::execute):
              * bindings/js/ScriptController.cpp: Copied from WebCore/bindings/js/kjs_proxy.cpp.
              * bindings/js/ScriptController.h: Copied from WebCore/bindings/js/kjs_proxy.h.
              * bindings/js/kjs_binding.cpp: Removed.
              * bindings/js/kjs_binding.h: Removed.
              * bindings/js/kjs_events.cpp:
              (WebCore::JSAbstractEventListener::handleEvent):
              * bindings/js/kjs_html.cpp:
              * bindings/js/kjs_html.h:
              * bindings/js/kjs_proxy.cpp: Removed.
              * bindings/js/kjs_proxy.h: Removed.
              * bindings/objc/DOMInternal.mm:
              * bindings/scripts/CodeGeneratorJS.pm:
              * bridge/jni/jni_jsobject.mm:
              * dom/Document.cpp:
              * dom/EventTarget.cpp:
              * dom/Node.cpp:
              * dom/XMLTokenizer.cpp:
              (WebCore::XMLTokenizer::startElementNs):
              * history/CachedPage.cpp:
              (WebCore::CachedPage::CachedPage):
              (WebCore::CachedPage::restore):
              * html/HTMLPlugInElement.cpp:
              * html/HTMLScriptElement.cpp:
              * html/HTMLTokenizer.cpp:
              (WebCore::HTMLTokenizer::processToken):
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::executeScript):
              * page/Frame.cpp:
              (WebCore::Frame::scriptProxy):
              * page/Frame.h:
              * page/FramePrivate.h:
              * page/InspectorController.cpp:
              * page/JavaScriptDebugServer.cpp:
              * page/JavaScriptProfileNode.cpp:
              * page/Page.cpp:
              * page/gtk/FrameGtk.cpp:
              * page/mac/FrameMac.mm:
              * page/qt/FrameQt.cpp:
              * page/win/FrameWin.cpp:
              * plugins/PluginView.cpp:
              (WebCore::getString):
              * plugins/gtk/PluginViewGtk.cpp:
              * plugins/qt/PluginViewQt.cpp:
              * plugins/win/PluginViewWin.cpp:
              * svg/SVGDocumentExtensions.cpp:
              * xml/XMLHttpRequest.cpp:
      
      WebKit/gtk:
      
      2008-06-14  Darin Adler  <darin@apple.com>
      
              Rubber stamped by Sam.
      
              - new names for kjs_binding.h and kjs_proxy.h
      
              * WebCoreSupport/FrameLoaderClientGtk.cpp:
              * webkit/webkitwebframe.cpp:
      
      WebKit/mac:
      
      2008-06-14  Darin Adler  <darin@apple.com>
      
              Rubber stamped by Sam.
      
              - new names for kjs_binding.h and kjs_proxy.h
      
              * WebView/WebFrame.mm:
              * WebView/WebScriptDebugDelegate.mm:
              * WebView/WebView.mm:
      
      WebKit/qt:
      
      2008-06-14  Darin Adler  <darin@apple.com>
      
              Rubber stamped by Sam.
      
              - new names for kjs_binding.h and kjs_proxy.h
      
              * Api/qwebframe.cpp:
              (QWebFrame::evaluateJavaScript):
              * WebKit_pch.h:
      
      WebKit/win:
      
      2008-06-14  Darin Adler  <darin@apple.com>
      
              Rubber stamped by Sam.
      
              - new names for kjs_binding.h and kjs_proxy.h
      
              * WebFrame.cpp:
      
      WebKit/wx:
      
      2008-06-14  Darin Adler  <darin@apple.com>
      
              Rubber stamped by Sam.
      
              - new names for kjs_binding.h and kjs_proxy.h
      
              * WebView.cpp:
      
      WebKitTools:
      
      2008-06-14  Darin Adler  <darin@apple.com>
      
              * Scripts/do-webcore-rename: Moved planned renames into a separate hash
              from the actual renames. Removed many renames that are either done or
              no longer planned.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34561 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      92aaa2a0
    • darin@apple.com's avatar
      WebCore: · 3d8b64f1
      darin@apple.com authored
      2008-06-14  Darin Adler  <darin@apple.com>
      
              Rubber stamped by Sam.
      
              - renamed HTMLGenericFormElement to HTMLFormControlElement
      
              * GNUmakefile.am:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * WebCoreSources.bkl:
              * html/HTMLButtonElement.cpp:
              (WebCore::HTMLButtonElement::HTMLButtonElement):
              (WebCore::HTMLButtonElement::parseMappedAttribute):
              (WebCore::HTMLButtonElement::defaultEventHandler):
              * html/HTMLButtonElement.h:
              * html/HTMLFieldSetElement.cpp:
              (WebCore::HTMLFieldSetElement::HTMLFieldSetElement):
              * html/HTMLFieldSetElement.h:
              * html/HTMLFormCollection.cpp:
              (WebCore::HTMLFormCollection::item):
              (WebCore::HTMLFormCollection::getNamedFormItem):
              (WebCore::HTMLFormCollection::updateNameCache):
              * html/HTMLFormControlElement.cpp: Copied from WebCore/html/HTMLGenericFormElement.cpp.
              * html/HTMLFormControlElement.h: Copied from WebCore/html/HTMLGenericFormElement.h.
              * html/HTMLFormElement.cpp:
              (WebCore::HTMLFormElement::formData):
              (WebCore::HTMLFormElement::submit):
              (WebCore::HTMLFormElement::formElementIndex):
              (WebCore::HTMLFormElement::registerFormElement):
              (WebCore::HTMLFormElement::removeFormElement):
              (WebCore::HTMLFormElement::elementForAlias):
              (WebCore::HTMLFormElement::addElementAlias):
              (WebCore::HTMLFormElement::getNamedElements):
              (WebCore::HTMLFormElement::CheckedRadioButtons::addButton):
              (WebCore::HTMLFormElement::CheckedRadioButtons::removeButton):
              * html/HTMLFormElement.h:
              * html/HTMLGenericFormElement.cpp: Removed.
              * html/HTMLGenericFormElement.h: Removed.
              * html/HTMLInputElement.h:
              * html/HTMLIsIndexElement.cpp:
              (WebCore::HTMLIsIndexElement::parseMappedAttribute):
              * html/HTMLKeygenElement.cpp:
              (WebCore::HTMLKeygenElement::parseMappedAttribute):
              * html/HTMLLegendElement.cpp:
              (WebCore::HTMLLegendElement::HTMLLegendElement):
              * html/HTMLLegendElement.h:
              * html/HTMLOptGroupElement.cpp:
              (WebCore::HTMLOptGroupElement::HTMLOptGroupElement):
              (WebCore::HTMLOptGroupElement::insertBefore):
              (WebCore::HTMLOptGroupElement::replaceChild):
              (WebCore::HTMLOptGroupElement::removeChild):
              (WebCore::HTMLOptGroupElement::appendChild):
              (WebCore::HTMLOptGroupElement::removeChildren):
              (WebCore::HTMLOptGroupElement::childrenChanged):
              (WebCore::HTMLOptGroupElement::parseMappedAttribute):
              (WebCore::HTMLOptGroupElement::attach):
              (WebCore::HTMLOptGroupElement::detach):
              * html/HTMLOptGroupElement.h:
              * html/HTMLOptionElement.cpp:
              (WebCore::HTMLOptionElement::HTMLOptionElement):
              (WebCore::HTMLOptionElement::attach):
              (WebCore::HTMLOptionElement::detach):
              (WebCore::HTMLOptionElement::parseMappedAttribute):
              (WebCore::HTMLOptionElement::childrenChanged):
              (WebCore::HTMLOptionElement::disabled):
              (WebCore::HTMLOptionElement::insertedIntoDocument):
              * html/HTMLOptionElement.h:
              * html/HTMLSelectElement.h:
              * html/HTMLTextAreaElement.h:
              * page/Frame.cpp:
              (WebCore::scanForForm):
              (WebCore::Frame::currentForm):
              * page/mac/FrameMac.mm:
              * rendering/RenderFieldset.cpp:
              (WebCore::RenderFieldset::RenderFieldset):
              * rendering/RenderFieldset.h:
              * rendering/RenderLegend.cpp:
              (WebCore::RenderLegend::RenderLegend):
              * rendering/RenderLegend.h:
              * rendering/RenderTextControl.cpp:
              (WebCore::RenderTextControl::createInnerTextStyle):
              (WebCore::RenderTextControl::updateFromElement):
              (WebCore::RenderTextControl::subtreeHasChanged):
              (WebCore::RenderTextControl::selectionChanged):
      
      WebKit/mac:
      
      2008-06-14  Darin Adler  <darin@apple.com>
      
              Rubber stamped by Sam.
      
              - renamed HTMLGenericFormElement to HTMLFormControlElement
      
              * WebView/WebHTMLRepresentation.mm:
              (-[WebHTMLRepresentation elementWithName:inForm:]):
              (-[WebHTMLRepresentation controlsInForm:]):
      
      WebKit/win:
      
      2008-06-14  Darin Adler  <darin@apple.com>
      
              Rubber stamped by Sam.
      
              - renamed HTMLGenericFormElement to HTMLFormControlElement
      
              * WebFrame.cpp:
              (WebFrame::elementWithName):
              (WebFrame::controlsInForm):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34559 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3d8b64f1
  8. 08 Jun, 2008 1 commit
  9. 06 Jun, 2008 1 commit
    • jchaffraix@webkit.org's avatar
      WebCore: · e437cead
      jchaffraix@webkit.org authored
      2008-06-06  Julien Chaffraix  <jchaffraix@webkit.org>
      
              Reviewed by Eric.
      
              Part of bug 19200: *.in files should embed more information
              https://bugs.webkit.org/show_bug.cgi?id=19200
      
              - Switched *.in files to XML format.
      
              - Added (simple) parsing facilities in make_names.pl using the XML::Tiny Perl parser.
      
              - Updated the build systems to include bindings/scripts when executing make_names.pl
              (for XMLTiny dependency).
      
              - Cleaned-up make_names.pl a little.
      
              * DerivedSources.make:
              * GNUmakefile.am:
              * WebCore.pro:
              * bindings/scripts/XMLTiny.pm: Added.
              * dom/make_names.pl:
              * html/HTMLAttributeNames.in:
              * html/HTMLTagNames.in:
              * svg/svgattrs.in:
              * svg/svgtags.in:
              * svg/xlinkattrs.in:
              * xml/xmlattrs.in:
      
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34410 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e437cead
  10. 05 Jun, 2008 1 commit
  11. 02 Jun, 2008 2 commits
  12. 25 May, 2008 1 commit
  13. 24 May, 2008 2 commits
    • ap@webkit.org's avatar
      Reviewed by Maciej. · 494e3da5
      ap@webkit.org authored
              Optimize Node::textContent() to avoid O(n^2) string appending behavior.
      
              1.6% speedup at Acid3 test 26.
      
              * WebCore.xcodeproj/project.pbxproj:
              * GNUmakefile.am:
              * WebCore.pro:
              * WebCoreSources.bkl:
              * WebCore.vcproj/WebCore.vcproj:
              * platform/text/StringBuilder.cpp: Added.
              (WebCore::StringBuilder::append):
              (WebCore::StringBuilder::toString):
              * platform/text/StringBuilder.h: Added.
              (WebCore::StringBuilder::StringBuilder):
              (WebCore::StringBuilder::isNull):
              Added a simple class to efficiently build a string by appending. Potentially, it can be
              extended to be more like java.lang.StringBuilder, but we don't need that much flexibility now.
      
              * dom/Node.cpp:
              (WebCore::Node::appendTextContent):
              (WebCore::Node::textContent):
              * dom/Node.h:
              Changed to use StringBuilder.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34108 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      494e3da5
    • jchaffraix@webkit.org's avatar
      2008-05-24 Julien Chaffraix <jchaffraix@webkit.org> · a6454934
      jchaffraix@webkit.org authored
              Reviewed by Eric.
      
              Bug 9191: JS*ElementWrapperFactory should be autogenerated
              https://bugs.webkit.org/show_bug.cgi?id=9191
      
              This is a first pass for generation of JS*ElementWrapperFactory, in the long term we should move the make_names.pl
              intelligence to the *.in files.
      
              - Add a new parameter to make_names.pl --wrapperFactory which works like --wrapper but generates the
              JS*ElementWrapperFactory files.
      
              - Removed JS*ElementWrapperFactory files in WebCore/bindings/js, replaced by the generated ones.
      
              - Updated the build systems to account for the previous changes.
      
              * DerivedSources.make:
              * GNUmakefile.am:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * WebCoreSources.bkl:
              * bindings/js/JSHTMLElementWrapperFactory.cpp: Removed.
              * bindings/js/JSHTMLElementWrapperFactory.h: Removed.
              * bindings/js/JSSVGElementWrapperFactory.cpp: Removed.
              * bindings/js/JSSVGElementWrapperFactory.h: Removed.
              * dom/make_names.pl:
      
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34107 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a6454934
  14. 22 May, 2008 2 commits
  15. 19 May, 2008 1 commit
  16. 16 May, 2008 2 commits
    • jchaffraix@webkit.org's avatar
      WebCore: · 98e84efe
      jchaffraix@webkit.org authored
      2008-05-16  Julien Chaffraix  <jchaffraix@webkit.org>
      
              Reviewed by Eric.
      
              Preparatory work for bug 9191: JS*ElementWrapperFactory should be autogenerated
      
              Make video tags use a header guard so that make_names.pl for factory generation.
      
              - Add video tag guard in HTMLTagNames.in & give an extraDefines parameter to make_names.pl
              when generating HTMLNames.
      
              - Modify the different build systems to accomodate the new parameter.
      
              - Small make_names.pl clean up (mainly code generated coding style issue).
      
              * DerivedSources.make: Add HTML_FLAGS and pass it to make_names.pl
              if it is defined (similar to SVG)
      
              * GNUmakefile.am: Add HTML_FEATURES & HTML_FLAGS and pass it to
              make_names.pl if HTML_FLAGS is defined.
      
              * WebCore.pro: Pass $${DEFINES} to make_names.pl.
      
              * dom/make_names.pl:
              * html/HTMLElement.cpp:
              (WebCore::inlineTagList): Add ENABLE(VIDEO) guard.
              * html/HTMLTagNames.in: Ditto.
      
      2008-05-16  Julien Chaffraix  <jchaffraix@webkit.org>
      
              Reviewed by Eric.
      
              Preparatory work for bug 9191: JS*ElementWrapperFactory should be autogenerated
      
              * configure.ac: Add HTML_FLAGS and set it when video is enabled.
      
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@33524 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      98e84efe
    • hausmann@webkit.org's avatar
      Fix the Gtk build. · 90a5f9a5
      hausmann@webkit.org authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@33515 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      90a5f9a5
  17. 15 May, 2008 1 commit
    • hyatt@apple.com's avatar
      2008-05-15 David Hyatt <hyatt@apple.com> · 65721c6d
      hyatt@apple.com authored
              Move RenderStyle into a new subdirectory, rendering/style/, in preparation for breaking it up into
              a bunch of smaller files.
      
              Reviewed by Dan Bernstein
      
              * GNUmakefile.am:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * WebCoreSources.bkl:
              * rendering/RenderStyle.cpp: Removed.
              * rendering/RenderStyle.h: Removed.
              * rendering/style: Added.
              * rendering/style/RenderStyle.cpp: Copied from rendering/RenderStyle.cpp.
              * rendering/style/RenderStyle.h: Copied from rendering/RenderStyle.h.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@33495 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      65721c6d
  18. 14 May, 2008 3 commits
    • alp@webkit.org's avatar
      2008-05-14 Alp Toker <alp@nuanti.com> · b5b992a3
      alp@webkit.org authored
              GTK+ build fix for r33457. Add NetworkStateNotifier.cpp to the build.
      
              * GNUmakefile.am:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@33472 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b5b992a3
    • kmccullough@apple.com's avatar
      JavaScriptCore: · 944b8621
      kmccullough@apple.com authored
      2008-05-14  Kevin McCullough  <kmccullough@apple.com>
      
              Reviewed by Sam.
      
              <rdar://problem/5770054> JavaScript profiler (10928)
              - Rename FunctionCallProfile to ProfileNode.
      
              * GNUmakefile.am:
              * JavaScriptCore.exp:
              * JavaScriptCore.pri:
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * JavaScriptCoreSources.bkl:
              * profiler/FunctionCallProfile.cpp: Removed.
              * profiler/FunctionCallProfile.h: Removed.
              * profiler/Profile.cpp:
              (KJS::Profile::Profile):
              (KJS::Profile::willExecute):
              * profiler/Profile.h:
              (KJS::Profile::callTree):
              * profiler/ProfileNode.cpp: Copied from profiler/FunctionCallProfile.cpp.
              (KJS::ProfileNode::ProfileNode):
              (KJS::ProfileNode::willExecute):
              (KJS::ProfileNode::didExecute):
              (KJS::ProfileNode::addChild):
              (KJS::ProfileNode::findChild):
              (KJS::ProfileNode::stopProfiling):
              (KJS::ProfileNode::selfTime):
              (KJS::ProfileNode::printDataInspectorStyle):
              (KJS::ProfileNode::printDataSampleStyle):
              (KJS::ProfileNode::endAndRecordCall):
              * profiler/ProfileNode.h: Copied from profiler/FunctionCallProfile.h.
              (KJS::ProfileNode::create):
              (KJS::ProfileNode::children):
              * profiler/Profiler.cpp:
      
      WebCore:
      
      2008-05-14  Kevin McCullough  <kmccullough@apple.com>
      
              Reviewed by Sam.
      
              <rdar://problem/5770054> JavaScript profiler (10928)
              - Rename FunctionCallProfile to ProfileNode
      
              * ForwardingHeaders/profiler/FunctionCallProfile.h: Removed.
              * ForwardingHeaders/profiler/ProfileNode.h: Copied from ForwardingHeaders/profiler/FunctionCallProfile.h.
              * GNUmakefile.am:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * WebCoreSources.bkl:
              * page/JavaScriptFunctionCallProfile.cpp: Removed.
              * page/JavaScriptFunctionCallProfile.h: Removed.
              * page/JavaScriptProfile.cpp:
              * page/JavaScriptProfileNode.cpp: Copied from page/JavaScriptFunctionCallProfile.cpp.
              (WebCore::ProfileNodeCache):
              (WebCore::getFunctionName):
              (WebCore::getTotalTime):
              (WebCore::getSelfTime):
              (WebCore::getNumberOfCalls):
              (WebCore::getChildren):
              (WebCore::finalize):
              (WebCore::ProfileNodeClass):
              (WebCore::toJS):
              * page/JavaScriptProfileNode.h: Copied from page/JavaScriptFunctionCallProfile.h.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@33466 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      944b8621
    • kmccullough@apple.com's avatar
      2008-05-14 Kevin McCullough <kmccullough@apple.com> · 7c0ba747
      kmccullough@apple.com authored
              Reviewed by Adam.
      
              <rdar://problem/5770054> JavaScript profiler (10928)
              - Add support for interacting with the JavaScriptCore profiler.
      
              * ForwardingHeaders/profiler/FunctionCallProfile.h: Added.
              * ForwardingHeaders/profiler/Profile.h: Added.
              * GNUmakefile.am: Add the new files to all the projects.
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * WebCoreSources.bkl:
              * page/InspectorController.cpp: Add the ability to retrieve all of the
              profiles in JavaScript from the InspectorController.
              (WebCore::allProfiles):
              (WebCore::InspectorController::windowScriptObjectAvailable):
              * page/JavaScriptFunctionCallProfile.cpp: Added. Wrapper around the JSC
              FunctionCallProfile.
              (WebCore::functionCallProfileCache): This cache makes sure we don't
              needlessly create duplicate wrappers around the same
              FunctionCallProfile*.
              (WebCore::getFunctionName): Callback to return the name of the function.
              (WebCore::getTotalTime): Callback to return the total time spent in the
              function.
              (WebCore::getSelfTime): Callback to return the time spent in self (total
              - time in children) in the function.
              (WebCore::getNumberOfCalls): Callback to return the number of times this
              function was called.
              (WebCore::getChildren): Callback to return the children of this function
              where the children are the functions this function called.
              (WebCore::finalize): Cleanup.
              (WebCore::functionCallProfileClass): Define the JSClassRef for this
              object.
              (WebCore::toJS): Create a conversion function to make a usable JSValue
              to wrap the FunctionCallProfile in JSC.
              * page/JavaScriptFunctionCallProfile.h: Added.
              * page/JavaScriptProfile.cpp: Added. Wrapper around the JSC Profile.
              (WebCore::profileCache): This cache makes sure we don't needlessly
              create duplicate wrappers aroudn the same Profile*.
              (WebCore::getHeadCallback): Callback to return the head of the graph of
              the functions profiled durring this profile's run.
              (WebCore::finalize):
              (WebCore::profileClass): Define the JSClassRef for this object.
              (WebCore::toJS): Create a conversion function to make a usable JSValue
              to wrap the Profile from JSC.
              * page/JavaScriptProfile.h: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@33460 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7c0ba747
  19. 13 May, 2008 3 commits
  20. 11 May, 2008 1 commit
    • weinig@apple.com's avatar
      2008-05-11 Sam Weinig <sam@webkit.org> · f3f6843d
      weinig@apple.com authored
              Reviewed by Dan Bernstein.
      
              Add scaffolding for the implementation of Access Control for Cross-site Requests. 
      
              * GNUmakefile.am:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * WebCoreSources.bkl:
              * xml/AccessControlList.cpp: Added.
              (WebCore::AccessControlList::AccessControlList):
              (WebCore::AccessControlList::~AccessControlList):
              (WebCore::AccessControlList::parseAccessControlHeader):
              (WebCore::AccessControlList::checkOrigin):
              * xml/AccessControlList.h: Added.
              * xml/AccessItem.cpp: Added.
              (WebCore::AccessItem::AccessItem):
              (WebCore::AccessItem::parseAccessItem):
              (WebCore::AccessItem::matches):
              * xml/AccessItem.h: Added.
              * xml/AccessItemRule.cpp: Added.
              (WebCore::AccessItemRule::AccessItemRule):
              (WebCore::AccessItemRule::parseAccessItemRule):
              * xml/AccessItemRule.h: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@33033 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f3f6843d
  21. 08 May, 2008 1 commit
  22. 07 May, 2008 1 commit
    • jchaffraix@webkit.org's avatar
      2008-05-07 Julien Chaffraix <jchaffraix@webkit.org> · 3a680302
      jchaffraix@webkit.org authored
              Reviewed by Eric.
      
              Bug 17971: [Curl] FormData processing should be moved to its own class
      
              Move FormData treatment into FormDataStream. The aim is to have FormDataStream behave like a stream that cURL
              could manipulate.
      
              First step into having complete file uploading facility in cURL.
      
              No test case as it is only code refactoring.
      
              * GNUmakefile.am: Add FormDataStreamCurl.cpp
              * platform/network/ResourceHandleInternal.h: Move code to FormStreamDataCurl.h
              (WebCore::ResourceHandleInternal::ResourceHandleInternal):
              * platform/network/curl/FormDataStreamCurl.cpp: Added.
              (WebCore::FormDataStream::~FormDataStream):
              (WebCore::FormDataStream::read):
              * platform/network/curl/FormDataStreamCurl.h: Added.
              (WebCore::FormDataStream::FormDataStream):
              * platform/network/curl/ResourceHandleCurl.cpp:
              (WebCore::ResourceHandleInternal::~ResourceHandleInternal):
              * platform/network/curl/ResourceHandleManager.cpp:
              (WebCore::readCallback): Move code to FormDataStreamCurl.cpp
      
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32956 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3a680302
  23. 06 May, 2008 3 commits
    • alp@webkit.org's avatar
      2008-05-06 Alp Toker <alp@nuanti.com> · 848f7317
      alp@webkit.org authored
              Partial GTK+ build fix. Add files from r32925 to the build and replace
              'nil' return with 0.
      
              * GNUmakefile.am:
              * page/AccessibilityListBoxOption.cpp:
              (WebCore::AccessibilityListBoxOption::parentObject):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32932 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      848f7317
    • alice.liu@apple.com's avatar
      2008-05-06 Alice Liu <alice.liu@apple.com> · d5e7aef8
      alice.liu@apple.com authored
              Rubber-stamped by Beth
              
              stab-in-the-dark attempt at fixing non-mac builds.
      
              * GNUmakefile.am:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCoreSources.bkl:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32925 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d5e7aef8
    • beidson@apple.com's avatar
      2008-05-06 Brady Eidson <beidson@apple.com> · 7783de5a
      beidson@apple.com authored
              Reviewed by Darin Adler
      
              Preparation for upcoming work making LocalStorage persistent.
      
              Writing persistent values for LocalStorage will take place on a background thread.
              Here is that background thread, as well as most of the hooks that will be utilized to
              make the whole song and dance work.
      
              The thread itself is very simple and MessageQueue based.  LocalStorageTasks are what 
              mark the work that needs to be done and come in 5 flavors:  Import and Sync a LocalStorage set,
              Import and Sync a LocalStorageArea, and terminate the thread.
      
              This patch accomplished 2 things:
              
              1 - Each PageGroup has its own LocalStorage set.  Upon its creation its LocalStorageThread is 
                  created and started.
      
              2 - At application shutdown, each thread is synchronously terminated.
      
              What happens between steps 1 and 2 will come later.
      
              * GNUmakefile.am:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * WebCoreSources.bkl:
      
              * storage/LocalStorage.cpp: Add some threading ASSERTs to make it clear which thread each
                method is meant to be called from.
              (WebCore::LocalStorage::LocalStorage):
              (WebCore::LocalStorage::storageArea):
              (WebCore::LocalStorage::performImport): Placeholder for importing known origins and quotas
              (WebCore::LocalStorage::performSync): Placeholder for writing out updated origins and quotas
              (WebCore::LocalStorage::close): Synchronously terminate the thread.
              * storage/LocalStorage.h:
      
              * storage/LocalStorageArea.cpp: Add some threading ASSERTs to make it clear which thread each
                method is meant to be called from.
              (WebCore::LocalStorageArea::itemChanged):
              (WebCore::LocalStorageArea::itemRemoved):
              (WebCore::LocalStorageArea::areaCleared):
              (WebCore::LocalStorageArea::dispatchStorageEvent):
              (WebCore::LocalStorageArea::performImport): Placeholder for importing all items for this 
                LocalStorageArea to prime the page before the items are needed
              (WebCore::LocalStorageArea::performSync): Placeholder for writing out dirty items to disk
              * storage/LocalStorageArea.h:
      
              * storage/LocalStorageTask.cpp: Added.
              (WebCore::LocalStorageTask::LocalStorageTask):
              (WebCore::LocalStorageTask::performTask):
              * storage/LocalStorageTask.h: Added.
              (WebCore::LocalStorageTask::):
              (WebCore::LocalStorageTask::createImport):
              (WebCore::LocalStorageTask::createSync):
              (WebCore::LocalStorageTask::createTerminate):
      
              * storage/LocalStorageThread.cpp: Added.
              (WebCore::LocalStorageThread::create):
              (WebCore::LocalStorageThread::LocalStorageThread):
              (WebCore::LocalStorageThread::start):
              (WebCore::LocalStorageThread::localStorageThreadStart):
              (WebCore::LocalStorageThread::localStorageThread):
              (WebCore::LocalStorageThread::scheduleImport):
              (WebCore::LocalStorageThread::scheduleSync):
              (WebCore::LocalStorageThread::terminate): 
              (WebCore::LocalStorageThread::performTerminate):
              * storage/LocalStorageThread.h: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32918 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7783de5a
  24. 03 May, 2008 1 commit
  25. 02 May, 2008 1 commit
  26. 01 May, 2008 2 commits