1. 27 Sep, 2013 1 commit
    • darin@apple.com's avatar
      rename KURL to URL · 5ffbb5c7
      darin@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=16214
      
      Reviewed by Andreas Kling.
      
      Source/WebCore:
      
      * many files: Renamed, using script.
      
      Source/WebKit:
      
      * WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in:
      Let the script to try to rename here.
      
      Source/WebKit/blackberry:
      
      * many files: Renamed, using script.
      
      Source/WebKit/efl:
      
      * many files: Renamed, using script.
      
      Source/WebKit/gtk:
      
      * many files: Renamed, using script.
      
      Source/WebKit/mac:
      
      * many files: Renamed, using script.
      
      Source/WebKit/qt:
      
      * many files: Renamed, using script.
      
      Source/WebKit/win:
      
      * many files: Renamed, using script.
      
      Source/WebKit/wince:
      
      * many files: Renamed, using script.
      
      Source/WebKit2:
      
      * many files: Renamed, using script.
      
      Tools:
      
      * many files: Renamed, using script.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156550 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5ffbb5c7
  2. 14 Oct, 2012 2 commits
    • weinig@apple.com's avatar
      Simplify user content in WebKit2 by using WebCore::UserStyleSheet and WebCore::UserScript directly · 214f9aca
      weinig@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=99276
      
      Reviewed by Anders Carlsson.
      
      Source/WebCore:
      
      Add default constructors for UserScript and UserStyleSheet so they can be used in CoreIPC encoding/decoding.
      
      * page/UserScript.h:
      (WebCore::UserScript::UserScript):
      (UserScript):
      * page/UserStyleSheet.h:
      (WebCore::UserStyleSheet::UserStyleSheet):
      (UserStyleSheet):
      
      Source/WebKit2:
      
      - Removes UserContentContainer in favor of Vector<UserStyleSheet> and Vector<UserScript> right on WebPageGroupData.
      - Adds support for UserScripts, but does not expose API for it just yet.
      
      * CMakeLists.txt:
      * GNUmakefile.list.am:
      * Target.pri:
      * WebKit2.xcodeproj/project.pbxproj:
      * win/WebKit2.vcproj:
      * Shared/UserContentContainer.cpp: Removed.
      * Shared/UserContentContainer.h: Removed.
      Remove UserContentContainer.h/cpp.
      
      * Shared/API/c/WKBase.h:
      * Shared/API/c/WKSharedAPICast.h:
      (WebKit::toUserScriptInjectionTime):
      (WebKit::toUserContentInjectedFrames):
      * WebProcess/InjectedBundle/API/c/WKBundleAPICast.h:
      * WebProcess/InjectedBundle/API/c/WKBundlePrivate.h:
      Move UserContent enums to WKBase.h so they can be used from both processes, and move the
      casts to WKSharedAPICast.
      
      * Shared/WebCoreArgumentCoders.cpp:
      * Shared/WebCoreArgumentCoders.h:
      Add coders for UserStyleSheet and UserScript.
      
      * Shared/WebPageGroupData.cpp:
      (WebKit::WebPageGroupData::encode):
      (WebKit::WebPageGroupData::decode):
      * Shared/WebPageGroupData.h:
      (WebPageGroupData):
      Replace UserContentContainer with Vector<UserStyleSheet> and Vector<UserScript>. Stop using
      CoreIPC::In() and CoreIPC::Out(), and instead just call encode/decode multiple times.
      
      * UIProcess/API/C/WKPageGroup.cpp:
      (WKPageGroupAddUserStyleSheet):
      Pass the parameters with as little conversion as possible to the C++ to avoid doing too much
      work in the API layer.
      
      * UIProcess/WebPageGroup.cpp:
      (WebKit::toStringVector):
      (WebKit::WebPageGroup::addUserStyleSheet):
      (WebKit::WebPageGroup::addUserScript):
      (WebKit::WebPageGroup::removeAllUserStyleSheets):
      (WebKit::WebPageGroup::removeAllUserScripts):
      (WebKit::WebPageGroup::removeAllUserContent):
      * UIProcess/WebPageGroup.h:
      * WebProcess/WebPage/WebPageGroupProxy.cpp:
      (WebKit::WebPageGroupProxy::WebPageGroupProxy):
      (WebKit::WebPageGroupProxy::addUserStyleSheet):
      (WebKit::WebPageGroupProxy::addUserScript):
      (WebKit::WebPageGroupProxy::removeAllUserScripts):
      (WebKit::WebPageGroupProxy::removeAllUserContent):
      * WebProcess/WebPage/WebPageGroupProxy.h:
      (WebPageGroupProxy):
      * WebProcess/WebPage/WebPageGroupProxy.messages.in:
      Add support for user scripts and update to use UserScript and UserStyleSheet directly.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131281 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      214f9aca
    • weinig@apple.com's avatar
      Make UserScript and UserStyleSheet value objects that are copyable · 1a6cf377
      weinig@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=99275
      
      Reviewed by Tim Horton.
      
      Source/WebCore:
      
      Simplify UserScript and UserStyleSheet and make them more easily usable
      without sticking them in an OwnPtr.
      
      * WebCore.exp.in:
      Update exports.
      
      * page/PageGroup.cpp:
      (WebCore::PageGroup::addUserScriptToWorld):
      (WebCore::PageGroup::addUserStyleSheetToWorld):
      * page/PageGroup.h:
      (PageGroup):
      * page/UserContentURLPattern.cpp:
      (WebCore::UserContentURLPattern::matchesPatterns):
      * page/UserContentURLPattern.h:
      (UserContentURLPattern):
      Update to not assume whitelist and blacklist are in Vector<String>*.
      
      * page/UserScript.h:
      (UserScript):
      (WebCore::UserScript::UserScript):
      (WebCore::UserScript::whitelist):
      (WebCore::UserScript::blacklist):
      * page/UserStyleSheet.h:
      (UserStyleSheet):
      (WebCore::UserStyleSheet::UserStyleSheet):
      (WebCore::UserStyleSheet::whitelist):
      (WebCore::UserStyleSheet::blacklist):
      Switch OwnPtr<Vector<String> > to Vector<String> and remove Noncopyable restriction.
      
      Source/WebKit/chromium:
      
      * src/WebViewImpl.cpp:
      (WebKit::WebView::addUserScript):
      (WebKit::WebView::addUserStyleSheet):
      Update for new PageGroup function signatures.
      
      Source/WebKit/efl:
      
      * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
      (DumpRenderTreeSupportEfl::addUserScript):
      (DumpRenderTreeSupportEfl::addUserStyleSheet):
      Update for new PageGroup function signatures.
      
      Source/WebKit/mac:
      
      * WebView/WebView.mm:
      (-[WebView _injectMailQuirksScript]):
      (-[WebView _injectOutlookQuirksScript]):
      Update for new PageGroup function signatures.
      
      Source/WebKit2:
      
      * Shared/UserContentContainer.cpp:
      (WebKit::toStringVector):
      (WebKit::UserContentContainer::Item::Item):
      (WebKit::UserContentContainer::Item::encode):
      (WebKit::UserContentContainer::Item::decode):
      * Shared/UserContentContainer.h:
      (WebKit::UserContentContainer::Item::whitelist):
      (WebKit::UserContentContainer::Item::blacklist):
      Switch UserContentContainer::Item to store Vector<String> instead of ImmutableArray, easing
      transition to new PageGroup function signatures.
      
      * WebProcess/InjectedBundle/InjectedBundle.cpp:
      (WebKit::toStringVector):
      * WebProcess/WebPage/qt/WebPageQt.cpp:
      (WebKit::WebPage::setUserScripts):
      Update for new PageGroup function signatures.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131275 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1a6cf377
  3. 20 Jan, 2011 1 commit
    • ossy@webkit.org's avatar
      Refactoring of the custom allocation framework · 95c1bc42
      ossy@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=49897
      
      Patch by Zoltan Horvath <zoltan@webkit.org> on 2011-01-20
      Reviewed by Csaba Osztrogonác.
      
      Source/JavaScriptCore:
      
      Inheriting from FastAllocBase can result in objects getting larger (bug #33896, #46589).
      The modification replaces Noncopyable and FastAllocBase classes and these inherits with their
      equivalent macro implementation at the necessary places.
      
      * wtf/FastAllocBase.h: Turn FastAllocBase's implementation into a macro.
      
      Source/WebCore:
      
      Inheriting from FastAllocBase can result in objects getting larger (bug #33896, #46589).
      The modification replaces Noncopyable and FastAllocBase classes and these inherits with their
      equivalent macro implementation at the necessary places.
      
      Source/WebKit:
      
      Inheriting from FastAllocBase can result in objects getting larger (bug #33896, #46589).
      The modification replaces Noncopyable and FastAllocBase classes and these inherits with their
      equivalent macro implementation at the necessary places.
      
      Source/WebKit2:
      
      Inheriting from FastAllocBase can result in objects getting larger (bug #33896, #46589).
      The modification replaces Noncopyable and FastAllocBase classes and these inherits with their
      equivalent macro implementation at the necessary places.
      
      Tools:
      
      Inheriting from FastAllocBase can result in objects getting larger (bug #33896, #46589).
      The modification replaces Noncopyable and FastAllocBase classes and these inherits with their
      equivalent macro implementation at the necessary places.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76248 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      95c1bc42
  4. 08 Jan, 2011 1 commit
  5. 09 Jul, 2010 1 commit
    • aa@chromium.org's avatar
      2010-07-08 Aaron Boodman <aa@chromium.org> · 509c1c3d
      aa@chromium.org authored
              Reviewed by Timothy Hatcher.
      
              Add the ability for user scripts and user styles to affect just the top frame.
      
              https://bugs.webkit.org/show_bug.cgi?id=41529
      
              * platform/win/Skipped: Skipped test because WebKit API needs updating.
              * userscripts/mixed-case-stylesheet.html: Added new allFrames param.
              * userscripts/resources/frame1.html: Added.
              * userscripts/resources/frame2.html: Added.
              * userscripts/script-not-run-for-fragments.html: Added new allFrames param.
              * userscripts/script-run-at-end.html: Ditto.
              * userscripts/script-run-at-start.html: Ditto.
              * userscripts/simple-stylesheet.html: Ditto.
              * userscripts/user-script-all-frames-expected.txt: Added.
              * userscripts/user-script-all-frames.html: Added.
              * userscripts/user-script-top-frame-only-expected.txt: Added.
              * userscripts/user-script-top-frame-only.html: Added.
              * userscripts/user-style-all-frames-expected.txt: Added.
              * userscripts/user-style-all-frames.html: Added.
              * userscripts/user-style-top-frame-only-expected.txt: Added.
              * userscripts/user-style-top-frame-only.html: Added.
      2010-07-08  Aaron Boodman  <aa@chromium.org>
      
              Reviewed by Timothy Hatcher.
      
              Add the ability for user scripts and user styles to affect just the top frame.
      
              https://bugs.webkit.org/show_bug.cgi?id=41529
      
              Tests: userscripts/user-script-all-frames.html
                     userscripts/user-script-top-frame-only.html
                     userscripts/user-style-all-frames.html
                     userscripts/user-style-top-frame-only.html
      
              * WebCore.base.exp: Update PageGroup method signatures.
              * dom/Document.cpp:
              (WebCore::Document::pageGroupUserSheets): Check allFrames before injecting.
              * page/Frame.cpp:
              (WebCore::Frame::injectUserScriptsForWorld): Ditto.
              * page/PageGroup.cpp:
              (WebCore::PageGroup::addUserScriptToWorld):
              (WebCore::PageGroup::addUserStyleSheetToWorld):
              * page/PageGroup.h:
              * page/UserScript.h:
              (WebCore::UserScript::UserScript):
              (WebCore::UserScript::injectedFrames):
              * page/UserScriptTypes.h:
              (WebCore::):
              * page/UserStyleSheet.h:
              (WebCore::UserStyleSheet::UserStyleSheet):
              (WebCore::UserStyleSheet::injectedFrames):
      2010-07-08  Aaron Boodman  <aa@chromium.org>
      
              Reviewed by Timothy Hatcher.
      
              Add the ability for user scripts and user styles to affect just the top frame.
      
              https://bugs.webkit.org/show_bug.cgi?id=41529
      
              * public/WebView.h:
              (WebKit::WebView::):
              (WebKit::WebView::addUserScript):
              (WebKit::WebView::addUserStyleSheet):
              * src/AssertMatchingEnums.cpp:
              * src/WebViewImpl.cpp:
              (WebKit::WebView::addUserScript):
              (WebKit::WebView::addUserStyleSheet):
      2010-07-08  Aaron Boodman  <aa@chromium.org>
      
              Reviewed by Timothy Hatcher.
      
              Add the ability for user scripts and user styles to affect just the top frame.
      
              https://bugs.webkit.org/show_bug.cgi?id=41529
      
              * WebView/WebView.mm:
              (+[WebView _addUserScriptToGroup:world:source:url:whitelist:blacklist:injectionTime:]):
              (+[WebView _addUserScriptToGroup:world:source:url:whitelist:blacklist:injectionTime:injectedFrames:]):
              (+[WebView _addUserStyleSheetToGroup:world:source:url:whitelist:blacklist:]):
              (+[WebView _addUserStyleSheetToGroup:world:source:url:whitelist:blacklist:injectedFrames:]):
              * WebView/WebViewPrivate.h:
      2010-07-08  Aaron Boodman  <aa@chromium.org>
      
              Reviewed by Timothy Hatcher.
      
              Add the ability for user scripts and user styles to affect just the top frame.
      
              https://bugs.webkit.org/show_bug.cgi?id=41529
      
              * WebView.cpp:
              (WebView::addUserScriptToGroup):
              (WebView::addUserStyleSheetToGroup):
      2010-07-08  Aaron Boodman  <aa@chromium.org>
      
              Reviewed by Timothy Hatcher.
      
              Add the ability for user scripts and user styles to affect just the top frame.
      
              https://bugs.webkit.org/show_bug.cgi?id=41529
      
              * DumpRenderTree/LayoutTestController.h: Added new allFrames param.
              * DumpRenderTree/LayoutTestController.cpp: Ditto.
              (addUserScriptCallback):
              (addUserStyleSheetCallback):
              * DumpRenderTree/chromium/LayoutTestController.cpp: Ditto.
              (LayoutTestController::addUserScript):
              (LayoutTestController::addUserStyleSheet):
              * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Ditto.
              (LayoutTestController::addUserScript):
              (LayoutTestController::addUserStyleSheet):
              * DumpRenderTree/mac/LayoutTestControllerMac.mm: Ditto.
              (LayoutTestController::addUserScript):
              (LayoutTestController::addUserStyleSheet):
              * DumpRenderTree/win/LayoutTestControllerWin.cpp: Ditto.
              (LayoutTestController::addUserScript):
              (LayoutTestController::addUserStyleSheet):
              * DumpRenderTree/wx/LayoutTestControllerWx.cpp: Ditto.
              (LayoutTestController::addUserScript):
              (LayoutTestController::addUserStyleSheet):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62876 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      509c1c3d
  6. 12 Nov, 2009 1 commit
    • aroben@apple.com's avatar
      Replace worldIDs with world objects · f6cbb76a
      aroben@apple.com authored
      Part of <http://webkit.org/b/31414> Implement new SPI for dealing with
      user scripts/stylesheets and isolated worlds
      
      Reviewed by Sam Weinig.
      
      WebCore:
      
      Covered by existing tests.
      
      * WebCore.base.exp: Update exported symbols to match what now exists
      and is needed by WebKit.
      
      * bindings/js/ScheduledAction.cpp:
      (WebCore::ScheduledAction::execute): Updated for function rename.
      
      * bindings/js/ScriptController.cpp: Removed code that dealt with
      worldIDs.
      (WebCore::ScriptController::createWorld): Added. Returns a new world
      suitable for use on the main thread.
      (WebCore::ScriptController::executeScriptInWorld): Renamed from
      executeScriptInIsolatedWorld, since this works just fine with a
      "normal" world.
      
      * bindings/js/ScriptController.h: Added createWorld, removed functions
      that took worldIDs, renamed executeScriptInIsolatedWorld to
      executeScriptInWorld.
      
      * page/Frame.cpp:
      (WebCore::Frame::injectUserScripts):
      (WebCore::Frame::injectUserScriptsForWorld):
      Updated for changes to UserScriptMap and ScriptController.
      
      * page/Frame.h: Changed injectUserScriptsForWorld to take a
      DOMWrapperWorld* instead of a worldID.
      
      * page/PageGroup.cpp:
      (WebCore::PageGroup::addUserScriptToWorld):
      (WebCore::PageGroup::addUserStyleSheetToWorld):
      (WebCore::PageGroup::removeUserScriptFromWorld):
      (WebCore::PageGroup::removeUserStyleSheetFromWorld):
      (WebCore::PageGroup::removeUserScriptsFromWorld):
      (WebCore::PageGroup::removeUserStyleSheetsFromWorld):
      * page/PageGroup.h:
      Changed these functions to take a DOMWrapperWorld* instead of a
      worldID. Also updated for changes to UserScript and UserStyleSheet.
      
      * page/UserScript.h:
      * page/UserStyleSheet.h: Changed not to hold a worldID, since it was
      never used.
      
      * page/UserScriptTypes.h:
      * page/UserStyleSheetTypes.h: Changed UserScriptMap and
      UserStyleSheetMap to use a RefPtr<DOMWrapperWorld> instead of a
      worldID as their key type.
      
      WebKit:
      
      * WebKit.xcodeproj/project.pbxproj: Added WebScriptWorld to the project.
      
      WebKit/mac:
      
      WebScriptWorld is the new object that represents a world.  The only
      place worldID is still used is in -[WebFrame
      _stringByEvaluatingJavaScriptInIsolatedWorld:WithGlobalObject:FromString:],
      but that will change soon.
      
      * WebKit.exp: Export WebScriptWorld.
      
      * WebView/WebFrame.mm:
      (-[WebFrame _stringByEvaluatingJavaScriptInIsolatedWorld:WithGlobalObject:FromString:]):
      Moved the bizarre world caching/creation logic that DRT depends on
      here from the findWorld function in ScriptController.cpp. Updated to
      use ScriptController::executeScriptInWorld instead of
      ScriptController::executeScriptInIsolatedWorld.
      (-[WebFrame _contextForWorld:]): Renamed from contextForWorldID:. Now
      takes a WebScriptWorld.
      
      * WebView/WebFramePrivate.h: Replaced contextForWorldID: with
      _contextForWorld:.
      
      * WebView/WebScriptWorld.h: Added.
      * WebView/WebScriptWorld.mm: Added.
      (-[WebScriptWorld initWithWorld:]): Store the passed-in world in our
      _private member.
      (-[WebScriptWorld init]): Create a new DOMWrapperWorld and pass it to
      -initWithWorld:.
      (-[WebScriptWorld dealloc]): Release _private.
      (+[WebScriptWorld standardWorld]): Returns a shared instance that
      represents WebCore's mainThreadNormalWorld().
      (+[WebScriptWorld world]): Returns a new instance.
      (core): Returns the DOMWrapperWorld for this WebScriptWorld.
      
      * WebView/WebScriptWorldInternal.h: Added.
      
      * WebView/WebView.mm:
      (+[WebView _addUserScriptToGroup:world:source:url:whitelist:blacklist:injectionTime:]):
      (+[WebView _addUserStyleSheetToGroup:world:source:url:whitelist:blacklist:]):
      (+[WebView _removeUserScriptFromGroup:world:url:]):
      (+[WebView _removeUserStyleSheetFromGroup:world:url:]):
      (+[WebView _removeUserScriptsFromGroup:world:]):
      (+[WebView _removeUserStyleSheetsFromGroup:world:]):
      * WebView/WebViewPrivate.h:
      Changed these functions to take a WebScriptWorld instead of a worldID.
      
      WebKit/win:
      
      WebScriptWorld is the new object that represents a world.  The only
      place worldID is still used is in
      IWebFramePrivate::stringByEvaluatingJavaScriptInIsolatedWorld, but
      that will change soon.
      
      * ForEachCoClass.h: Added WebScriptWorld.
      
      * Interfaces/IWebFramePrivate.idl: Replaced contextForWorldID with
      contextForWorld.
      
      * Interfaces/IWebScriptWorld.idl: Added.
      
      * Interfaces/IWebViewPrivate.idl: Changed the user script/stylesheet
      functions to take an IWebScriptWorld instead of a worldID.
      
      * Interfaces/WebKit.idl: Added WebScriptWorld.
      
      * WebFrame.cpp:
      (WebFrame::contextForWorld): Renamed from contextForWorldID. Now takes
      an IWebScriptWorld.
      (WebFrame::stringByEvaluatingJavaScriptInIsolatedWorld): Moved the
      bizarre world caching/creation logic that DRT depends on here from the
      findWorld function in ScriptController.cpp. Updated to use
      ScriptController::executeScriptInWorld instead of
      ScriptController::executeScriptInIsolatedWorld.
      
      * WebFrame.h: Replaced contextForWorldID with contextForWorld.
      
      * WebScriptWorld.cpp: Added.
      (WebScriptWorld::WebScriptWorld):
      (WebScriptWorld::~WebScriptWorld):
      (WebScriptWorld::createInstance):
      (WebScriptWorld::AddRef):
      (WebScriptWorld::Release):
      (WebScriptWorld::QueryInterface):
      Standard COM class implementations.
      
      (WebScriptWorld::standardWorld): Returns a shared instance that represents
      WebCore's mainThreadNormalWorld().
      
      * WebScriptWorld.h: Added.
      (WebScriptWorld::world): Simple getter.
      
      * WebKit.vcproj/Interfaces.vcproj: Added IWebScriptWorld.idl.
      
      * WebKit.vcproj/WebKit.vcproj: Added WebScriptWorld.
      
      * WebKitClassFactory.cpp: Added WebScriptWorld.
      
      * WebView.cpp:
      (WebView::addUserScriptToGroup):
      (WebView::addUserStyleSheetToGroup):
      (WebView::removeUserScriptFromGroup):
      (WebView::removeUserStyleSheetFromGroup):
      (WebView::removeUserScriptsFromGroup):
      (WebView::removeUserStyleSheetsFromGroup):
      * WebView.h:
      Changed these functions to take an IWebScriptWorld instead of a worldID.
      
      WebKitTools:
      
      * DumpRenderTree/mac/LayoutTestControllerMac.mm:
      (LayoutTestController::addUserScript):
      (LayoutTestController::addUserStyleSheet):
      * DumpRenderTree/win/LayoutTestControllerWin.cpp:
      (LayoutTestController::addUserScript):
      (LayoutTestController::addUserStyleSheet):
      Changed these functions to create a new WebJSWorld each time they're
      called and to pass that world to WebKit.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50907 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f6cbb76a
  7. 11 Nov, 2009 1 commit
    • zoltan@webkit.org's avatar
      Allow custom memory allocation control for the part of page directory in WebCore · 5ecf980a
      zoltan@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=31350
      
      Reviewed by Eric Seidel.
      
      Inherits the following classes from Noncopyable because these are instantiated
      by 'new' and these are no need to be copyable:
      
      class DragController         - instantiated at: WebCore/page/Page.cpp:107
      class FocusController        - instantiated at: WebCore/page/Page.cpp:109
      class Settings               - instantiated at: WebCore/page/Page.cpp:116
      class PluginHalter           - instantiated at: WebCore/page/Page.cpp:160
      struct ScheduledEvent        - instantiated at: WebCore/page/FrameView.cpp:1275
      class UserScript             - instantiated at: WebCore/page/PageGroup.cpp:208
      struct EventHandlerDragState - instantiated at: WebCore/page/EventHandler.cpp:182
      class XSSAuditor             - instantiated at: WebCore/bindings/js/ScriptController.cpp:70
      class UserStyleSheet         - instantiated at: WebCore/page/PageGroup.cpp:222
      
      Inherits PropertyWrapperBase class from Noncopyable because (its child class) 
      PropertyWrapper is instantiated by 'new' in 
      WebCore/page/animation/AnimationBase.cpp:564 it is no need to be copyable.
      
      * page/DragController.h:
      * page/EventHandler.h:
      * page/FocusController.h:
      * page/FrameView.cpp:
      * page/PluginHalter.h:
      * page/Settings.h:
      * page/UserScript.h:
      * page/UserStyleSheet.h:
      * page/XSSAuditor.h:
      * page/animation/AnimationBase.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50810 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5ecf980a
  8. 02 Oct, 2009 1 commit
    • hyatt@apple.com's avatar
      Add support for blacklist patterns to user stylesheets and scripts in addition... · 19fd5912
      hyatt@apple.com authored
      Add support for blacklist patterns to user stylesheets and scripts in addition to whitelist patterns.
      
      Reviewed by Adam Roben.
      
      WebCore: 
      
      * WebCore.base.exp:
      * dom/Document.cpp:
      (WebCore::Document::pageGroupUserSheets):
      * page/Frame.cpp:
      (WebCore::Frame::injectUserScriptsForWorld):
      * page/PageGroup.cpp:
      (WebCore::PageGroup::addUserScript):
      (WebCore::PageGroup::addUserStyleSheet):
      (WebCore::PageGroup::removeUserContentWithURLForWorld):
      (WebCore::PageGroup::removeUserContentForWorld):
      * page/PageGroup.h:
      * page/UserContentURLPattern.cpp:
      (WebCore::UserContentURLPattern::matchesPatterns):
      * page/UserContentURLPattern.h:
      * page/UserScript.h:
      (WebCore::UserScript::UserScript):
      (WebCore::UserScript::whitelist):
      (WebCore::UserScript::blacklist):
      * page/UserStyleSheet.h:
      (WebCore::UserStyleSheet::UserStyleSheet):
      (WebCore::UserStyleSheet::whitelist):
      (WebCore::UserStyleSheet::blacklist):
      
      WebKit/mac: 
      
      * WebView/WebView.mm:
      (toStringVector):
      (+[WebView _addUserScriptToGroup:source:url:worldID:whitelist:blacklist:injectionTime:]):
      (+[WebView _addUserStyleSheetToGroup:source:url:worldID:whitelist:blacklist:]):
      * WebView/WebViewPrivate.h:
      
      WebKit/win: 
      
      * Interfaces/IWebViewPrivate.idl:
      * WebView.cpp:
      (toStringVector):
      (WebView::addUserScriptToGroup):
      (WebView::addUserStyleSheetToGroup):
      * WebView.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49033 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      19fd5912
  9. 09 Sep, 2009 1 commit
  10. 04 Sep, 2009 1 commit
    • hyatt@apple.com's avatar
      WebCore: https://bugs.webkit.org/show_bug.cgi?id=28890, make simple user script injection work. · 71960d78
      hyatt@apple.com authored
              
      Reviewed by Adam Roben.
      
      This patch adds new API for adding and removing user scripts from page groups.  User scripts
      are bundled together in isolated worlds (you can have multiple scripts together in the same
      world).
      
      Added userscripts/ directory for holding new tests (along with a simple test of script injection).
      
      * WebCore.base.exp:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.xcodeproj/project.pbxproj:
      * bindings/js/ScriptController.cpp:
      (WebCore::ScriptController::evaluateInIsolatedWorld):
      * bindings/js/ScriptController.h:
      * bindings/v8/ScriptController.cpp:
      (WebCore::ScriptController::evaluateInIsolatedWorld):
      * bindings/v8/ScriptController.h:
      * loader/FrameLoader.cpp:
      (WebCore::FrameLoader::finishedParsing):
      (WebCore::FrameLoader::dispatchDocumentElementAvailable):
      * page/Frame.cpp:
      (WebCore::Frame::injectUserScripts):
      (WebCore::Frame::injectUserScriptsForWorld):
      * page/Frame.h:
      * page/PageGroup.cpp:
      (WebCore::PageGroup::~PageGroup):
      (WebCore::PageGroup::addUserScript):
      (WebCore::PageGroup::removeUserContentForWorld):
      (WebCore::PageGroup::removeAllUserContent):
      * page/PageGroup.h:
      (WebCore::PageGroup::userScripts):
      * page/UserScript.h: Added.
      (WebCore::UserScript::UserScript):
      (WebCore::UserScript::source):
      (WebCore::UserScript::url):
      (WebCore::UserScript::patterns):
      (WebCore::UserScript::worldID):
      (WebCore::UserScript::injectionTime):
      * page/UserScriptTypes.h: Added.
      (WebCore::):
      
      WebKit/mac: https://bugs.webkit.org/show_bug.cgi?id=28890, make simple user script injection work.
              
      Reviewed by Adam Roben.
      
      This patch adds new API for adding and removing user scripts from page groups.  User scripts
      are bundled together in isolated worlds (you can have multiple scripts together in the same
      world).
      
      Added userscripts/ directory for holding new tests (along with a simple test of script injection).
      
      * WebView/WebView.mm:
      (+[WebView _addUserScriptToGroup:source:url:worldID:patterns:injectionTime:]):
      (+[WebView _removeUserContentFromGroup:worldID:]):
      (+[WebView _removeAllUserContentFromGroup:]):
      * WebView/WebViewPrivate.h:
      
      LayoutTests: https://bugs.webkit.org/show_bug.cgi?id=28890, make simple user script injection work.
              
      Reviewed by Adam Roben.
      
      This patch adds new API for adding and removing user scripts from page groups.  User scripts
      are bundled together in isolated worlds (you can have multiple scripts together in the same
      world).
      
      Added userscripts/ directory for holding new tests (along with a simple test of script injection).
      
      * platform/mac/userscripts: Added.
      * platform/mac/userscripts/script-run-at-end-expected.txt: Added.
      * userscripts: Added.
      * userscripts/script-run-at-end.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48057 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      71960d78
  11. 30 Jan, 2009 3 commits
    • zecke@webkit.org's avatar
      Build fix for Gtk+ · 8b26ff75
      zecke@webkit.org authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@40420 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8b26ff75
    • andersca@apple.com's avatar
      2009-01-30 Anders Carlsson <andersca@apple.com> · 646decda
      andersca@apple.com authored
              Reviewed by Sam Weinig and Darin Adler.
      
              Make IdentifierRep a real class, add necessary class methods.
      
              * bridge/IdentifierRep.cpp:
              (WebCore::identifierSet):
              Returns a set of all identifiers.
              
              (WebCore::IdentifierRep::isValid):
              Return whether an identifier is valid, meaning that it's present in the
              set of identifiers.
              
              * bridge/IdentifierRep.h:
              (WebCore::IdentifierRep::isString):
              (WebCore::IdentifierRep::number):
              (WebCore::IdentifierRep::string):
              (WebCore::IdentifierRep::IdentifierRep):
              (WebCore::IdentifierRep::):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@40414 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      646decda
    • andersca@apple.com's avatar
      2009-01-30 Anders Carlsson <andersca@apple.com> · 4bbcb885
      andersca@apple.com authored
              Reviewed by Sam Weinig.
      
              Add IdentifierRep which will be used by both plug-in implementations.
      
              * GNUmakefile.am:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * bridge/IdentifierRep.cpp: Added.
              (WebCore::IdentifierRep::IdentifierRep):
              (WebCore::IdentifierRep::):
              (WebCore::intIdentifierMap):
              (WebCore::identifierRep):
              (WebCore::stringIdentifierMap):
              * bridge/IdentifierRep.h: Added.
              * bridge/c/c_utility.h:
              * platform/text/PlatformString.h:
              * platform/text/String.cpp:
              (WebCore::String::fromUTF8WithLatin1Fallback):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@40412 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4bbcb885
  12. 01 Mar, 2008 1 commit
    • aroben@apple.com's avatar
      Windows build fix · 18a9e11f
      aroben@apple.com authored
              * WebCore.vcproj/WebCore.vcproj: Remove bridge/* from the include path
              and the post-build event, and add page/win to each. Also let VS have
              its way with the order of the files.
              * page/win/PageWin.cpp: Copied from bridge/win/PageWin.cpp in r30673
              * page/win/GlobalHistoryWin.cpp: Copied from
              bridge/win/GlobalHistoryWin.cpp in r30673
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30680 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      18a9e11f
  13. 01 Jul, 2007 1 commit
  14. 12 Jun, 2007 1 commit
  15. 16 Nov, 2006 1 commit
    • ap's avatar
      2006-11-16 Don Gibson <dgibson77@gmail.com> · b2aa0fc0
      ap authored
              Reviewed and landed by ap.
      
              http://bugs.webkit.org/show_bug.cgi?id=11509:
              Windows build bustage.
      
              Also reorganizes WebCore.vcproj to add files whose absence wasn't
              causing compile errors, but which should have been there, and to
              make the include directory ordering (and contents) sane.
              Also reorganizes TemporaryLinkStubs.cpp to put headers and
              function groups in alphabetical order, and ensure that all functions
              in the file call notImplemented().
      
      WebCore:
              * WebCore.vcproj/WebCore/WebCore.vcproj:
              * bridge/win/ChromeClientWin.h:
              (WebCore::ChromeClientWin::ref):
              (WebCore::ChromeClientWin::deref):
              * bridge/win/ContextMenuClientWin.h: Added.
              (WebCore::ContextMenuClientWin::~ContextMenuClientWin):
              (WebCore::ContextMenuClientWin::ref):
              (WebCore::ContextMenuClientWin::deref):
              * bridge/win/EditorClientWin.h:
              * bridge/win/FrameWin.cpp:
              (WebCore::FrameWin::~FrameWin):
              (WebCore::FrameWin::keyPress):
              * bridge/win/FrameWin.h:
              * bridge/win/PageWin.cpp: Removed.
              * editing/EditCommand.h:
              * loader/FormState.h:
              * loader/FrameLoader.h:
              * page/EventHandler.cpp:
              * platform/MimeTypeRegistry.cpp:
              (WebCore::initialiseSupportedImageMIMETypes):
              * platform/graphics/win/ImageWin.cpp:
              * platform/network/ResourceError.cpp:
              * platform/network/ResourceHandleInternal.h:
              * platform/network/win/ResourceHandleWin.cpp:
              (WebCore::ResourceHandle::onHandleCreated):
              (WebCore::ResourceHandle::onRequestRedirected):
              (WebCore::ResourceHandle::start):
              (WebCore::ResourceHandle::cancel):
              * platform/win/ScreenWin.cpp:
              (WebCore::monitorInfo):
              (WebCore::screenRect):
              (WebCore::screenAvailableRect):
              (WebCore::screenDepth):
              * platform/win/SoundWin.cpp: Added.
              (WebCore::systemBeep):
              * platform/win/TemporaryLinkStubs.cpp:
              (WebCore::CacheObjectExpiresTime):
              (WebCore::CheckCacheObjectStatus):
              (WebCore::CheckIfReloading):
              (WebCore::defaultLanguage):
              (WebCore::fileButtonChooseFileLabel):
              (WebCore::fileButtonNoFileSelectedLabel):
              (WebCore::findNextSentenceFromIndex):
              (WebCore::findNextWordFromIndex):
              (WebCore::findSentenceBoundary):
              (WebCore::findWordBoundary):
              (WebCore::focusRingColor):
              (WebCore::historyContains):
              (WebCore::inputElementAltText):
              (WebCore::IsResponseURLEqualToURL):
              (WebCore::cellCursor):
              (WebCore::contextMenuCursor):
              (WebCore::moveCursor):
              (WebCore::verticalTextCursor):
              (WebCore::refreshPlugins):
              (WebCore::resetButtonDefaultLabel):
              (WebCore::ResponseIsMultipart):
              (WebCore::ResponseMIMEType):
              (WebCore::ResponseURL):
              (WebCore::screenDepthPerComponent):
              (WebCore::screenIsMonochrome):
              (WebCore::searchableIndexIntroduction):
              (WebCore::ServeSynchronousRequest):
              (WebCore::setFocusRingColorChangeFunction):
              (WebCore::submitButtonDefaultLabel):
              (WebCore::CachedResource::setPlatformResponse):
              (WebCore::CachedResource::setAllData):
              (WebCore::ChromeClientWin::setWindowRect):
              (WebCore::ChromeClientWin::windowRect):
              (WebCore::ChromeClientWin::pageRect):
              (WebCore::ChromeClientWin::scaleFactor):
              (WebCore::ChromeClientWin::focus):
              (WebCore::ChromeClientWin::unfocus):
              (WebCore::ChromeClientWin::createWindow):
              (WebCore::ChromeClientWin::createModalDialog):
              (WebCore::ChromeClientWin::show):
              (WebCore::ChromeClientWin::canRunModal):
              (WebCore::ChromeClientWin::runModal):
              (WebCore::ChromeClientWin::setToolbarsVisible):
              (WebCore::ChromeClientWin::toolbarsVisible):
              (WebCore::ChromeClientWin::setStatusbarVisible):
              (WebCore::ChromeClientWin::statusbarVisible):
              (WebCore::ChromeClientWin::setScrollbarsVisible):
              (WebCore::ChromeClientWin::scrollbarsVisible):
              (WebCore::ChromeClientWin::setMenubarVisible):
              (WebCore::ChromeClientWin::menubarVisible):
              (WebCore::ChromeClientWin::setResizable):
              (WebCore::ContextMenu::appendItem):
              (WebCore::ContextMenuClientWin::addCustomContextMenuItems):
              (WebCore::DocumentLoader::setFrame):
              (WebCore::DocumentLoader::frameLoader):
              (WebCore::DocumentLoader::URL):
              (WebCore::DocumentLoader::isStopping):
              (WebCore::DocumentLoader::stopLoading):
              (WebCore::DocumentLoader::setLoading):
              (WebCore::DocumentLoader::updateLoading):
              (WebCore::DocumentLoader::setupForReplaceByMIMEType):
              (WebCore::DocumentLoader::isLoadingInAPISense):
              (WebCore::DocumentLoader::stopRecordingResponses):
              (WebCore::EditorClientWin::shouldDeleteRange):
              (WebCore::EditorClientWin::shouldShowDeleteInterface):
              (WebCore::EditorClientWin::isContinuousSpellCheckingEnabled):
              (WebCore::EditorClientWin::isGrammarCheckingEnabled):
              (WebCore::EditorClientWin::spellCheckerDocumentTag):
              (WebCore::EventHandler::focusDocumentView):
              (WebCore::EventHandler::handleDrag):
              (WebCore::EventHandler::handleMouseUp):
              (WebCore::EventHandler::lastEventIsMouseUp):
              (WebCore::EventHandler::passMousePressEventToSubframe):
              (WebCore::EventHandler::passMouseMoveEventToSubframe):
              (WebCore::EventHandler::passMouseReleaseEventToSubframe):
              (WebCore::EventHandler::passWheelEventToSubframe):
              (WebCore::EventHandler::passWidgetMouseDownEventToWidget):
              (WebCore::EventHandler::passMousePressEventToScrollbar):
              (WebCore::EventHandler::shouldDragAutoNode):
              (WebCore::EventHandler::tabsToAllControls):
              (WebCore::EventHandler::tabsToLinks):
              (WebCore::Frame::setNeedsReapplyStyles):
              (WebCore::FrameLoader::didFirstLayout):
              (WebCore::FrameLoader::overrideMediaType):
              (WebCore::FrameLoader::createJavaAppletWidget):
              (WebCore::FrameLoader::redirectDataToPlugin):
              (WebCore::FrameLoader::getHistoryLength):
              (WebCore::FrameLoader::setTitle):
              (WebCore::FrameLoader::referrer):
              (WebCore::FrameLoader::saveDocumentState):
              (WebCore::FrameLoader::restoreDocumentState):
              (WebCore::FrameLoader::goBackOrForward):
              (WebCore::FrameLoader::historyURL):
              (WebCore::FrameLoader::urlSelected):
              (WebCore::FrameLoader::createFrame):
              (WebCore::FrameLoader::submitForm):
              (WebCore::FrameLoader::partClearedInBegin):
              (WebCore::FrameLoader::originalRequestURL):
              (WebCore::FrameLoader::canGoBackOrForward):
              (WebCore::FrameLoader::objectContentType):
              (WebCore::FrameLoader::createPlugin):
              (WebCore::FrameLoader::detachFromParent):
              (WebCore::FrameLoader::checkLoadCompleteForThisFrame):
              (WebCore::FrameView::updateBorder):
              (WebCore::FrameWin::bindingRootObject):
              (WebCore::FrameWin::canPaste):
              (WebCore::FrameWin::issuePasteAndMatchStyleCommand):
              (WebCore::FrameWin::markedTextRange):
              (WebCore::FrameWin::passSubframeEventToSubframe):
              (WebCore::FrameWin::lastEventIsMouseUp):
              (WebCore::FrameWin::addMessageToConsole):
              (WebCore::FrameWin::shouldChangeSelection):
              (WebCore::FrameWin::respondToChangedSelection):
              (WebCore::FrameWin::clearUndoRedoOperations):
              (WebCore::FrameWin::markMisspellingsInAdjacentWords):
              (WebCore::FrameWin::respondToChangedContents):
              (WebCore::GraphicsContext::addRoundedRectClip):
              (WebCore::GraphicsContext::setShadow):
              (WebCore::GraphicsContext::clearShadow):
              (WebCore::GraphicsContext::beginTransparencyLayer):
              (WebCore::GraphicsContext::endTransparencyLayer):
              (WebCore::GraphicsContext::clearRect):
              (WebCore::GraphicsContext::strokeRect):
              (WebCore::GraphicsContext::setLineWidth):
              (WebCore::GraphicsContext::setLineCap):
              (WebCore::GraphicsContext::setLineJoin):
              (WebCore::GraphicsContext::setMiterLimit):
              (WebCore::GraphicsContext::setAlpha):
              (WebCore::GraphicsContext::setCompositeOperation):
              (WebCore::GraphicsContext::clip):
              (WebCore::GraphicsContext::rotate):
              (WebCore::GraphicsContext::scale):
              (WebCore::Icon::Icon):
              (WebCore::Icon::~Icon):
              (WebCore::Icon::newIconForFile):
              (WebCore::Icon::paint):
              (WebCore::IconDatabase::isIconExpiredForIconURL):
              (WebCore::IconDatabase::hasEntryForIconURL):
              (WebCore::IconDatabase::sharedIconDatabase):
              (WebCore::IconDatabase::setIconURLForPageURL):
              (WebCore::IconDatabase::setIconDataForIconURL):
              (WebCore::Image::drawTiled):
              (WebCore::Image::getHBITMAP):
              (WebCore::Path::Path):
              (WebCore::Path::~Path):
              (WebCore::Path::contains):
              (WebCore::Path::translate):
              (WebCore::Path::boundingRect):
              (WebCore::Path::operator=):
              (WebCore::Path::clear):
              (WebCore::Path::moveTo):
              (WebCore::Path::addLineTo):
              (WebCore::Path::addQuadCurveTo):
              (WebCore::Path::addBezierCurveTo):
              (WebCore::Path::addArcTo):
              (WebCore::Path::closeSubpath):
              (WebCore::Path::addArc):
              (WebCore::Path::addRect):
              (WebCore::Path::addEllipse):
              (WebCore::Path::transform):
              (WebCore::PlatformMouseEvent::PlatformMouseEvent):
              (WebCore::PlatformScrollbar::PlatformScrollbar):
              (WebCore::PlatformScrollbar::~PlatformScrollbar):
              (WebCore::PlatformScrollbar::width):
              (WebCore::PlatformScrollbar::height):
              (WebCore::PlatformScrollbar::setEnabled):
              (WebCore::PlatformScrollbar::paint):
              (WebCore::PlatformScrollbar::updateThumbPosition):
              (WebCore::PlatformScrollbar::updateThumbProportion):
              (WebCore::PlatformScrollbar::setRect):
              (WebCore::PlugInInfoStore::createPluginInfoForPluginAtIndex):
              (WebCore::PlugInInfoStore::pluginCount):
              (WebCore::PlugInInfoStore::supportsMIMEType):
              (WebCore::PolicyCheck::PolicyCheck):
              (WebCore::PolicyCheck::clear):
              (WebCore::PolicyCheck::clearRequest):
              (WebCore::PolicyCheck::call):
              (WebCore::RenderThemeWin::systemFont):
              (WebCore::RenderThemeWin::paintMenuList):
              (WebCore::RenderThemeWin::adjustMenuListStyle):
              (WebCore::ResourceLoader::cancel):
              (WebCore::ScrollView::addChild):
              (WebCore::ScrollView::removeChild):
              (WebCore::ScrollView::scrollPointRecursively):
              (WebCore::ScrollView::inWindow):
              (WebCore::ScrollView::paint):
              (WebCore::ScrollView::wheelEvent):
              (WebCore::ScrollView::themeChanged):
              (WebCore::ScrollView::convertChildToSelf):
              (WebCore::ScrollView::convertSelfToChild):
              (WebCore::ScrollView::geometryChanged):
              (WebCore::ScrollView::scrollbarUnderMouse):
              (WebCore::ScrollView::setFrameGeometry):
              (WebCore::ScrollView::windowResizerRect):
              (WebCore::ScrollView::resizerOverlapsContent):
              (WebCore::TextField::selectAll):
              (WebCore::TextField::addSearchResult):
              (WebCore::TextField::selectionStart):
              (WebCore::TextField::hasSelectedText):
              (WebCore::TextField::selectedText):
              (WebCore::TextField::setAutoSaveName):
              (WebCore::TextField::checksDescendantsForFocus):
              (WebCore::TextField::setSelection):
              (WebCore::TextField::setMaxResults):
              (WebCore::TextField::edited):
              (WebCore::TextField::focusPolicy):
              (WebCore::TextField::TextField):
              (WebCore::TextField::~TextField):
              (WebCore::TextField::setFont):
              (WebCore::TextField::setAlignment):
              (WebCore::TextField::setWritingDirection):
              (WebCore::TextField::maxLength):
              (WebCore::TextField::setMaxLength):
              (WebCore::TextField::text):
              (WebCore::TextField::setText):
              (WebCore::TextField::cursorPosition):
              (WebCore::TextField::setCursorPosition):
              (WebCore::TextField::setEdited):
              (WebCore::TextField::setReadOnly):
              (WebCore::TextField::setPlaceholderString):
              (WebCore::TextField::setColors):
              (WebCore::TextField::sizeForCharacterWidth):
              (WebCore::TextField::baselinePosition):
              (WebCore::TextField::setLiveSearch):
              (WebCore::Widget::enableFlushDrawing):
              (WebCore::Widget::isEnabled):
              (WebCore::Widget::focusPolicy):
              (WebCore::Widget::disableFlushDrawing):
              (WebCore::Widget::removeFromParent):
              (WebCore::Widget::lockDrawingFocus):
              (WebCore::Widget::unlockDrawingFocus):
              (WebCore::Widget::capturingMouse):
              (WebCore::Widget::setCapturingMouse):
              (WebCore::Widget::capturingTarget):
              (WebCore::Widget::capturingChild):
              (WebCore::Widget::setCapturingChild):
              (WebCore::Widget::convertChildToSelf):
              (WebCore::Widget::convertSelfToChild):
              (WebCore::Widget::setParent):
              (WebCore::Widget::parent):
              (WebCore::Widget::setEnabled):
              (WebCore::Widget::paint):
              (WebCore::Widget::setIsSelected):
              (WebCore::Widget::invalidate):
              (WebCore::Widget::invalidateRect):
              * platform/win/WidgetWin.cpp:
              (WebCore::Widget::clearFocus):
      
      WebKit:
              * COM/WebFrame.cpp:
              (WebFrame::initWithName):
              (WebFrame::loadHTMLString):
              (WebFrame::stopLoading):
              (WebFrame::reload):
              (WebFrame::loadDataSource):
              (WebFrame::didReceiveData):
              (WebFrame::receivedResponse):
              (WebFrame::receivedAllData):
              * COM/WebFrame.h:
              * COM/WebView.cpp:
              (WebView::mouseMoved):
              (WebView::mouseDown):
              (WebView::mouseUp):
              (WebView::mouseDoubleClick):
              * WebKit.vcproj/WebKit.vcproj:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17816 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b2aa0fc0
  16. 21 Oct, 2006 1 commit
  17. 25 Aug, 2006 1 commit
    • aroben's avatar
      Reviewed/landed by Adam. · 3bad1044
      aroben authored
              Fixes: http://bugzilla.opendarwin.org/show_bug.cgi?id=10559
              Confirm to WebKit style guide - last fixes :-)
      
              * platform/ResourceLoaderClient.h:
              * platform/qt/ComboBoxQt.cpp:
              * platform/qt/FrameQt.cpp:
              (WebCore::doScroll):
              (WebCore::FrameQt::FrameQt):
              (WebCore::FrameQt::openURL):
              (WebCore::FrameQt::submitForm):
              (WebCore::FrameQt::setTitle):
              (WebCore::FrameQt::passSubframeEventToSubframe):
              (WebCore::FrameQt::registerCommandForUndo):
              (WebCore::FrameQt::registerCommandForRedo):
              (WebCore::FrameQt::keyEvent):
              (WebCore::FrameQt::setFrameGeometry):
              * platform/qt/GlyphMapQt.cpp:
              (WebCore::GlyphMap::fillPage):
              * platform/qt/GraphicsContextQt.cpp:
              (WebCore::toQtCompositionMode):
              (WebCore::toQtLineCap):
              (WebCore::toQtLineJoin):
              (WebCore::TextShadow::TextShadow):
              (WebCore::GraphicsContextPlatformPrivate::p):
              * platform/qt/ImageQt.cpp:
              (WebCore::FrameData::clear):
              (WebCore::Image::supportsType):
              * platform/qt/IntSizeQt.cpp:
              * platform/qt/LineEditQt.cpp:
              * platform/qt/ListBoxQt.cpp:
              * platform/qt/PageQt.cpp:
              (WebCore::Page::windowRect):
              * platform/qt/PathQt.cpp:
              (WebCore::Path::~Path):
              * platform/qt/ResourceLoaderCurl.cpp:
              (WebCore::ResourceLoader::assembleResponseHeaders):
              (WebCore::ResourceLoader::retrieveCharset):
              (WebCore::ResourceLoader::receivedResponse):
              * platform/qt/ResourceLoaderManager.cpp:
              (WebCore::headerCallback):
              (WebCore::ResourceLoaderManager::downloadTimerCallback):
              (WebCore::ResourceLoaderManager::add):
              * platform/qt/ScreenQt.cpp:
              (WebCore::screenRect):
              (WebCore::usableScreenRect):
              * platform/qt/ScrollViewQt.cpp:
              (WebCore::ScrollView::ScrollView):
              (WebCore::ScrollView::~ScrollView):
              (WebCore::ScrollView::setParentWidget):
              (WebCore::ScrollView::addChild):
              * platform/qt/SharedTimerQt.cpp:
              (WebCore::setSharedTimerFiredFunction):
              * platform/qt/SharedTimerQt.h:
              (WebCore::SharedTimerQt::SharedTimerQt):
              (WebCore::SharedTimerQt::fire):
              * platform/qt/SystemTimeQt.cpp:
              (WebCore::currentTime):
              * platform/qt/TextEditQt.cpp:
              (WebCore::PlatformTextEdit::setParentWidget):
              (WebCore::PlatformTextEdit::text):
              (WebCore::PlatformTextEdit::sizeWithColumnsAndRows):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16033 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3bad1044
  18. 18 Aug, 2006 1 commit
  19. 01 Jul, 2006 1 commit
    • darin's avatar
      Reviewed and worked over a lot by Darin. · 6fb113f0
      darin authored
              - check in first set of GDK-specific sources
      
              * platform/gdk/BrowserExtensionGdk.h: Added.
              * platform/gdk/CookieJarGdk.cpp: Added.
              * platform/gdk/CursorGdk.cpp: Added.
              * platform/gdk/FontCacheGdk.cpp: Added.
              * platform/gdk/FontDataGdk.cpp: Added.
              * platform/gdk/FontGdk.cpp: Added.
              * platform/gdk/FontPlatformData.h: Added.
              * platform/gdk/FontPlatformDataGdk.cpp: Added.
              * platform/gdk/FrameGdk.cpp: Added.
              * platform/gdk/FrameGdk.h: Added.
              * platform/gdk/GlyphMapGdk.cpp: Added.
              * platform/gdk/KeyEventGdk.cpp: Added.
              * platform/gdk/KeyboardCodes.h: Added.
              * platform/gdk/MouseEventGdk.cpp: Added.
              * platform/gdk/PageGdk.cpp: Added.
              * platform/gdk/RenderThemeGdk.cpp: Added.
              * platform/gdk/RenderThemeGdk.h: Added.
              * platform/gdk/ScreenGdk.cpp: Added.
              * platform/gdk/ScrollViewGdk.cpp: Added.
              * platform/gdk/SharedTimerLinux.cpp: Added.
              * platform/gdk/SystemTimeLinux.cpp: Added.
              * platform/gdk/TemporaryLinkStubs.cpp: Added.
              * platform/gdk/TransferJobCurl.cpp: Added.
              * platform/gdk/TransferJobManager.cpp: Added.
              * platform/gdk/TransferJobManager.h: Added.
              * platform/gdk/WheelEventGdk.cpp: Added.
              * platform/gdk/WidgetGdk.cpp: Added.
              * platform/gdk/gdk-encodings.txt: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15124 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6fb113f0
  20. 12 Feb, 2006 1 commit
    • darin's avatar
      Rubber-stamped by Eric. · 6bc6dff5
      darin authored
              - renamed all the platform/mac files to have a Mac suffix
                (Hyatt and I discussed this change recently)
      
              * WebCore.xcodeproj/project.pbxproj:
              * platform/mac/Color.mm: Removed.
              * platform/mac/ColorMac.mm: Added.
              * platform/mac/FloatPoint.mm: Removed.
              * platform/mac/FloatPointMac.mm: Added.
              * platform/mac/FloatRect.mm: Removed.
              * platform/mac/FloatRectMac.mm: Added.
              * platform/mac/FloatSize.mm: Removed.
              * platform/mac/FloatSizeMac.mm: Added.
              * platform/mac/Image.mm: Removed.
              * platform/mac/ImageMac.mm: Added.
              * platform/mac/ImageSource.cpp: Removed.
              * platform/mac/ImageSourceMac.cpp: Added.
              * platform/mac/IntPoint.mm: Removed.
              * platform/mac/IntPointMac.mm: Added.
              * platform/mac/IntRect.mm: Removed.
              * platform/mac/IntRectMac.mm: Added.
              * platform/mac/IntSize.mm: Removed.
              * platform/mac/IntSizeMac.mm: Added.
              * platform/mac/QString.mm: Removed.
              * platform/mac/QStringMac.mm: Added.
              * platform/mac/Screen.mm: Removed.
              * platform/mac/ScreenMac.mm: Added.
              * platform/mac/SystemTime.cpp: Removed.
              * platform/mac/SystemTimeMac.cpp: Added.
              * platform/mac/Timer.cpp: Removed.
              * platform/mac/TimerMac.cpp: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12762 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6bc6dff5
  21. 25 Jan, 2006 1 commit
    • darin's avatar
      Reviewed by John Sullivan. · 71e27498
      darin authored
              - http://bugzilla.opendarwin.org/show_bug.cgi?id=6750
                replace QDateTime with a simpler platform abstraction
      
              * ForwardingHeaders/qdatetime.h: Removed.
              * kwq/KWQDateTime.cpp: Removed.
              * kwq/KWQDateTime.h: Removed.
      
              * platform/SystemTime.h: Added.
              * platform/mac/SystemTime.cpp: (WebCore::currentTime): Added.
              * platform/win: Added.
              * platform/win/SystemTime.cpp: (WebCore::currentTime): Added.
      
              * WebCore.vcproj/WebCore/WebCore.vcproj: Added new files, removed old.
              * WebCore.xcodeproj/project.pbxproj: Ditto.
      
              * css/css_base.h: Removed include of <qdatetime.h>.
              * css/cssstyleselector.cpp: Ditto.
      
              * khtml/html/htmltokenizer.h:
              * khtml/html/htmltokenizer.cpp: Convert tabs to spaces.
              (WebCore::HTMLTokenizer::continueProcessing): Change parameter from QTime to double.
              Use currentTime() instead of QTime::elapsed().
              (WebCore::HTMLTokenizer::write): Use currentTime() instead of QTime::elapsed().
      
              * config.h: Added HAVE_FUNC_USLEEP for now, not sure this is really a
              good way to handle this.
              * khtml/xml/ContainerNodeImpl.cpp: (WebCore::ContainerNodeImpl::setActive):
              Use currentTime() instead of QTime::elapsed(). Use HAVE_FUNC_USLEEP for the if.
      
              * khtml/xml/DocumentImpl.h:
              * khtml/xml/DocumentImpl.cpp:
              (WebCore::DocumentImpl::DocumentImpl): Use currentTime() instead of QTime::elapsed().
              (WebCore::DocumentImpl::implicitClose): Ditto.
              (WebCore::DocumentImpl::minimumLayoutDelay): Ditto.
              (WebCore::DocumentImpl::elapsedTime): Ditto.
      
              * khtml/xml/dom2_eventsimpl.cpp: (WebCore::EventImpl::EventImpl): Use currentTime()
              instead of local function called currentTimeStamp().
      
              * khtml/xml/xml_tokenizer.h: Removed declaration of class QTime.
      
              * ksvg2/misc/KSVGTimeScheduler.h:
              * ksvg2/misc/KSVGTimeScheduler.cpp:
              (KSVG::TimeScheduler::TimeScheduler): Use currentTime instead of QTime::elapsed.
              (KSVG::TimeScheduler::startAnimations): Ditto.
              (KSVG::TimeScheduler::toggleAnimations): Ditto.
              (KSVG::TimeScheduler::elapsed): Ditto.
      
              * page/Frame.cpp: (Frame::clear): Removed unused m_parsetime.
              * page/FramePrivate.h: Ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12341 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      71e27498
  22. 08 Jan, 2006 1 commit
    • eseidel's avatar
      Reviewed by mjs. · 339da1fe
      eseidel authored
              Renamed several files in kwq/ from .mm to .cpp
              Removed a few pieces of unused KWQ code.
      
              * WebCore.xcodeproj/project.pbxproj:
              * khtml/html/htmltokenizer.cpp:
              (khtml::HTMLTokenizer::continueProcessing): removed KWQUIEventTime
              (khtml::HTMLTokenizer::write): removed KWQUIEventTime
              * khtml/html/htmltokenizer.h:
              * khtml/khtml_part.cpp:
              (KHTMLPart::slotFinished): removed KWQUIEventTime
              * khtml/misc/loader.cpp:
              (CachedObject::finish): removed KWQUIEventTime
              * khtml/xml/dom_docimpl.cpp:
              (DocumentImpl::processHttpEquiv): removed KWQUIEventTime
              * kwq/KWQArrayImpl.cpp: Added.
              * kwq/KWQArrayImpl.mm: Removed.
              * kwq/KWQBuffer.cpp: Added.
              * kwq/KWQBuffer.mm: Removed.
              * kwq/KWQCString.cpp: Added.
              * kwq/KWQCString.mm: Removed.
              * kwq/KWQCharsets.cpp: Added.
              * kwq/KWQCharsets.mm: Removed.
              * kwq/KWQCollection.h:
              (QPtrCollection::~QPtrCollection): made inline
              * kwq/KWQCollection.mm: Removed.
              * kwq/KWQDateTime.cpp: Added, removed KWQUIEventTime
              * kwq/KWQDateTime.h:
              * kwq/KWQDateTime.mm: Removed.
              * kwq/KWQGlobal.cpp: Added.
              * kwq/KWQGlobal.mm: Removed.
              * kwq/KWQGuardedPtr.cpp: Added.
              * kwq/KWQGuardedPtr.mm: Removed.
              * kwq/KWQKCharsets.cpp: Added.
              * kwq/KWQKCharsets.mm: Removed.
              * kwq/KWQKGlobalSettings.h:
              (KGlobalSettings::generalFont): made inline
              (KGlobalSettings::windowTitleFont): made inline
              (KGlobalSettings::menuFont): made inline
              (KGlobalSettings::contrast): made inline
              * kwq/KWQKGlobalSettings.mm: Removed.
              * kwq/KWQKHTMLFactory.cpp: Added.
              * kwq/KWQKHTMLFactory.mm: Removed.
              * kwq/KWQKHTMLView.cpp: Added.
              * kwq/KWQKHTMLView.mm: Removed.
              * kwq/KWQKJob.h:
              * kwq/KWQKJob.mm: Removed.
              * kwq/KWQKWin.cpp: Added.
              * kwq/KWQKWin.mm: Removed.
              * kwq/KWQMapImpl.cpp: Added.
              * kwq/KWQMapImpl.mm: Removed.
              * kwq/KWQObject.cpp: Added.
              * kwq/KWQObject.mm: Removed.
              * kwq/KWQPen.cpp: Added.
              * kwq/KWQPen.mm: Removed.
              * kwq/KWQPointArray.cpp: Added.
              * kwq/KWQPointArray.mm: Removed.
              * kwq/KWQPtrDictImpl.cpp: Added.
              * kwq/KWQPtrDictImpl.mm: Removed.
              * kwq/KWQRegExp.cpp: Added.
              * kwq/KWQRegExp.mm: Removed.
              * kwq/KWQRegion.cpp: Added.
              * kwq/KWQRegion.mm: Removed.
              * kwq/KWQStyle.cpp: Added.
              * kwq/KWQStyle.mm: Removed.
              * kwq/KWQTextCodec.cpp: Added.
              * kwq/KWQTextCodec.mm: Removed.
              * kwq/KWQTextStream.cpp: Added.
              * kwq/KWQTextStream.mm: Removed.
              * kwq/KWQTimer.cpp: Added.
              * kwq/KWQTimer.mm: Removed.
              * kwq/KWQValueListImpl.cpp: Added.
              * kwq/KWQValueListImpl.mm: Removed.
              * kwq/KWQVariant.cpp: Added.
              * kwq/KWQVariant.mm: Removed.
              * kwq/KWQVectorImpl.cpp: Added.
              * kwq/KWQVectorImpl.mm: Removed.
              * kwq/KWQWMatrix.cpp: Added.
              * kwq/KWQWMatrix.mm: Removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11934 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      339da1fe
  23. 03 Oct, 2005 1 commit
    • mjs's avatar
      JavaScriptCore: · b64c50a2
      mjs authored
              Reviewed by Darin.
      
      	<rdar://problem/4283967> REGRESSION: 3% regression on PLT from new FastMalloc
      	http://bugzilla.opendarwin.org/show_bug.cgi?id=5243
      
      	A number of optimizations to the new threadsafe malloc that make it actually as fast
      	as dlmalloc (I measured wrong before) and as memory-efficient as the system malloc.
      
      	- use fastMalloc for everything - it now gets applied to all new/delete allocations
      	via a private inline operator new that is now included into every file via config.h.
      
      	- tweaked some of the numeric parameters for size classes and amount of wasted memory
      	allowed per allocation - this saves on memory use and consequently improves speed.
      
      	- so long as the allocator is not being used on background threads, get the per-thread
      	cache from a global variable instead of from pthread_getspecific, since the latter is slow.
      
      	- inline more functions, and force the ones GCC refuses to inline with
      	attribute(always_inline), nearly all of these have one call site so inlining them has
      	to be a win.
      
      	- use some tricks to calculate allocation size more efficiently and fewer times for small
      	allocations, to avoid hitting the huge size table array.
      
      	- avoid hitting the per-thread cache on code paths that don't need it.
      
      	- implement inline assembly version of spinlock for PowerPC (was already done for x86)
      
              * bindings/NP_jsobject.cpp:
              * bindings/c/c_class.cpp:
              * bindings/c/c_instance.cpp:
              * bindings/c/c_runtime.cpp:
              * bindings/c/c_utility.cpp:
              * bindings/jni/jni_class.cpp:
              * bindings/jni/jni_instance.cpp:
              * bindings/jni/jni_jsobject.cpp:
              * bindings/jni/jni_objc.mm:
              * bindings/jni/jni_runtime.cpp:
              * bindings/jni/jni_utility.cpp:
              * bindings/npruntime.cpp:
              * bindings/objc/WebScriptObject.mm:
              * bindings/objc/objc_class.mm:
              * bindings/objc/objc_instance.mm:
              * bindings/objc/objc_runtime.mm:
              * bindings/objc/objc_utility.mm:
              * bindings/runtime.cpp:
              * bindings/runtime_array.cpp:
              * bindings/runtime_method.cpp:
              * bindings/runtime_object.cpp:
              * bindings/runtime_root.cpp:
              * bindings/testbindings.cpp:
              * bindings/testbindings.mm:
              * kjs/array_object.cpp:
              (ArrayInstanceImp::ArrayInstanceImp):
              (ArrayInstanceImp::~ArrayInstanceImp):
              (ArrayInstanceImp::resizeStorage):
              * kjs/bool_object.cpp:
              * kjs/collector.cpp:
              (KJS::Collector::registerThread):
              * kjs/config.h:
              * kjs/debugger.cpp:
              * kjs/error_object.cpp:
              * kjs/function.cpp:
              * kjs/function_object.cpp:
              * kjs/identifier.cpp:
              (KJS::Identifier::rehash):
              * kjs/internal.cpp:
              (KJS::Parser::saveNewNode):
              (KJS::clearNewNodes):
              * kjs/interpreter.cpp:
              * kjs/lexer.cpp:
              (Lexer::doneParsing):
              (Lexer::makeIdentifier):
              (Lexer::makeUString):
              * kjs/list.cpp:
              * kjs/math_object.cpp:
              * kjs/nodes.cpp:
              * kjs/nodes.h:
              * kjs/nodes2string.cpp:
              * kjs/number_object.cpp:
              (integer_part_noexp):
              (char_sequence):
              * kjs/object.cpp:
              * kjs/object_object.cpp:
              * kjs/property_map.cpp:
              * kjs/property_slot.cpp:
              * kjs/protected_values.cpp:
              (KJS::ProtectedValues::rehash):
              * kjs/reference.cpp:
              * kjs/reference_list.cpp:
              * kjs/regexp.cpp:
              * kjs/regexp_object.cpp:
              * kjs/scope_chain.cpp:
              * kjs/scope_chain.h:
              * kjs/string_object.cpp:
              * kjs/testkjs.cpp:
              * kjs/ustring.h:
              * kjs/value.cpp:
              * kxmlcore/Assertions.mm:
              * kxmlcore/FastMalloc.cpp:
              (KXMLCore::InitSizeClasses):
              (KXMLCore::DLL_IsEmpty):
              (KXMLCore::DLL_Prepend):
              (KXMLCore::TCMalloc_Central_FreeList::Insert):
              (KXMLCore::TCMalloc_Central_FreeList::Remove):
              (KXMLCore::TCMalloc_Central_FreeList::Populate):
              (KXMLCore::TCMalloc_ThreadCache::Allocate):
              (KXMLCore::TCMalloc_ThreadCache::FetchFromCentralCache):
              (KXMLCore::fastMallocRegisterThread):
              (KXMLCore::TCMalloc_ThreadCache::GetCache):
              (KXMLCore::TCMalloc_ThreadCache::GetCacheIfPresent):
              (KXMLCore::TCMalloc_ThreadCache::CreateCacheIfNecessary):
              (KXMLCore::do_malloc):
              (KXMLCore::do_free):
              (KXMLCore::realloc):
              * kxmlcore/FastMalloc.h:
              (operator new):
              (operator delete):
              (operator new[]):
              (operator delete[]):
              * kxmlcore/HashTable.cpp:
              * kxmlcore/TCSpinLock.h:
              (TCMalloc_SpinLock::Lock):
              (TCMalloc_SpinLock::Unlock):
              (TCMalloc_SlowLock):
              * kxmlcore/TCSystemAlloc.cpp:
      
      WebCore:
      
              Reviewed by Darin.
      
      	<rdar://problem/4283967> REGRESSION: 3% regression on PLT from new FastMalloc
      	http://bugzilla.opendarwin.org/show_bug.cgi?id=5243
      
      	- use fastMalloc for everything - it now gets applied to all new/delete allocations
              via a private inline operator new that is now included into every file via config.h
      
              * WebCore.xcodeproj/project.pbxproj:
              * WebCorePrefix.h:
              * khtml/css/css_base.cpp:
              * khtml/css/css_base.h:
              * khtml/css/css_computedstyle.cpp:
              * khtml/css/css_ruleimpl.cpp:
              * khtml/css/css_stylesheetimpl.cpp:
              * khtml/css/css_valueimpl.cpp:
              * khtml/css/css_valueimpl.h:
              * khtml/css/csshelper.cpp:
              * khtml/css/cssparser.cpp:
              (ValueList::ValueList):
              (ValueList::~ValueList):
              (ValueList::addValue):
              (CSSParser::CSSParser):
              (CSSParser::~CSSParser):
              (CSSParser::setupParser):
              (CSSParser::addProperty):
              * khtml/css/cssstyleselector.cpp:
              * khtml/css/cssstyleselector.h:
              * khtml/dom/dom2_events.cpp:
              * khtml/dom/dom2_traversal.cpp:
              * khtml/dom/dom_misc.cpp:
              * khtml/dom/dom_string.cpp:
              * khtml/ecma/domparser.cpp:
              * khtml/ecma/kjs_binding.cpp:
              * khtml/ecma/kjs_css.cpp:
              * khtml/ecma/kjs_dom.cpp:
              * khtml/ecma/kjs_events.cpp:
              * khtml/ecma/kjs_html.cpp:
              (KJS::KJS::Context2DFunction::callAsFunction):
              (KJS::Gradient::~Gradient):
              (KJS::Gradient::addColorStop):
              (KJS::Gradient::colorStops):
              * khtml/ecma/kjs_navigator.cpp:
              * khtml/ecma/kjs_proxy.cpp:
              * khtml/ecma/kjs_range.cpp:
              * khtml/ecma/kjs_traversal.cpp:
              * khtml/ecma/kjs_views.cpp:
              * khtml/ecma/kjs_window.cpp:
              * khtml/ecma/xmlhttprequest.cpp:
              * khtml/ecma/xmlserializer.cpp:
              * khtml/editing/SelectionController.cpp:
              * khtml/editing/append_node_command.cpp:
              * khtml/editing/apply_style_command.cpp:
              * khtml/editing/break_blockquote_command.cpp:
              * khtml/editing/composite_edit_command.cpp:
              * khtml/editing/delete_from_text_node_command.cpp:
              * khtml/editing/delete_selection_command.cpp:
              * khtml/editing/edit_command.cpp:
              * khtml/editing/html_interchange.cpp:
              * khtml/editing/htmlediting.cpp:
              * khtml/editing/insert_into_text_node_command.cpp:
              * khtml/editing/insert_line_break_command.cpp:
              * khtml/editing/insert_node_before_command.cpp:
              * khtml/editing/insert_paragraph_separator_command.cpp:
              * khtml/editing/insert_text_command.cpp:
              * khtml/editing/join_text_nodes_command.cpp:
              * khtml/editing/jsediting.cpp:
              * khtml/editing/markup.cpp:
              * khtml/editing/merge_identical_elements_command.cpp:
              * khtml/editing/move_selection_command.cpp:
              * khtml/editing/rebalance_whitespace_command.cpp:
              * khtml/editing/remove_css_property_command.cpp:
              * khtml/editing/remove_node_attribute_command.cpp:
              * khtml/editing/remove_node_command.cpp:
              * khtml/editing/remove_node_preserving_children_command.cpp:
              * khtml/editing/replace_selection_command.cpp:
              * khtml/editing/set_node_attribute_command.cpp:
              * khtml/editing/split_element_command.cpp:
              * khtml/editing/split_text_node_command.cpp:
              * khtml/editing/split_text_node_containing_element.cpp:
              * khtml/editing/typing_command.cpp:
              * khtml/editing/visible_position.cpp:
              * khtml/editing/visible_range.cpp:
              * khtml/editing/visible_text.cpp:
              (khtml::CircularSearchBuffer::~CircularSearchBuffer):
              (khtml::CircularSearchBuffer::CircularSearchBuffer):
              * khtml/editing/visible_units.cpp:
              * khtml/editing/wrap_contents_in_dummy_span_command.cpp:
              * khtml/html/html_baseimpl.cpp:
              * khtml/html/html_blockimpl.cpp:
              * khtml/html/html_canvasimpl.cpp:
              * khtml/html/html_documentimpl.cpp:
              * khtml/html/html_elementimpl.cpp:
              * khtml/html/html_formimpl.cpp:
              * khtml/html/html_headimpl.cpp:
              * khtml/html/html_imageimpl.cpp:
              * khtml/html/html_inlineimpl.cpp:
              * khtml/html/html_listimpl.cpp:
              * khtml/html/html_miscimpl.cpp:
              * khtml/html/html_objectimpl.cpp:
              * khtml/html/html_tableimpl.cpp:
              * khtml/html/htmlfactory.cpp:
              * khtml/html/htmlnames.cpp:
              * khtml/html/htmlparser.cpp:
              * khtml/html/htmltokenizer.cpp:
              (khtml::HTMLTokenizer::enlargeBuffer):
              (khtml::HTMLTokenizer::enlargeScriptBuffer):
              * khtml/khtml_events.cpp:
              * khtml/khtml_part.cpp:
              * khtml/khtmlview.cpp:
              * khtml/misc/arena.cpp:
              * khtml/misc/arena.h:
              * khtml/misc/decoder.cpp:
              * khtml/misc/formdata.cpp:
              * khtml/misc/helper.cpp:
              * khtml/misc/loader.cpp:
              * khtml/misc/stringit.cpp:
              * khtml/rendering/bidi.cpp:
              * khtml/rendering/break_lines.cpp:
              * khtml/rendering/font.cpp:
              * khtml/rendering/render_arena.cpp:
              * khtml/rendering/render_block.cpp:
              * khtml/rendering/render_box.cpp:
              * khtml/rendering/render_br.cpp:
              * khtml/rendering/render_canvas.cpp:
              * khtml/rendering/render_canvasimage.cpp:
              (RenderCanvasImage::~RenderCanvasImage):
              (RenderCanvasImage::createDrawingContext):
              * khtml/rendering/render_container.cpp:
              * khtml/rendering/render_flexbox.cpp:
              * khtml/rendering/render_flow.cpp:
              * khtml/rendering/render_form.cpp:
              * khtml/rendering/render_frames.cpp:
              * khtml/rendering/render_image.cpp:
              * khtml/rendering/render_inline.cpp:
              * khtml/rendering/render_layer.cpp:
              * khtml/rendering/render_line.cpp:
              * khtml/rendering/render_list.cpp:
              * khtml/rendering/render_object.cpp:
              * khtml/rendering/render_replaced.cpp:
              * khtml/rendering/render_style.cpp:
              * khtml/rendering/render_style.h:
              * khtml/rendering/render_table.cpp:
              * khtml/rendering/render_text.cpp:
              * khtml/rendering/render_theme.cpp:
              * khtml/rendering/render_theme_mac.mm:
              * khtml/rendering/table_layout.cpp:
              * khtml/xbl/xbl_binding.cpp:
              * khtml/xbl/xbl_binding_manager.cpp:
              * khtml/xbl/xbl_docimpl.cpp:
              * khtml/xbl/xbl_protobinding.cpp:
              * khtml/xbl/xbl_protohandler.cpp:
              * khtml/xbl/xbl_protoimplementation.cpp:
              * khtml/xbl/xbl_tokenizer.cpp:
              * khtml/xml/EventNames.cpp:
              * khtml/xml/dom2_eventsimpl.cpp:
              * khtml/xml/dom2_eventsimpl.h:
              * khtml/xml/dom2_rangeimpl.cpp:
              * khtml/xml/dom2_rangeimpl.h:
              * khtml/xml/dom2_traversalimpl.cpp:
              * khtml/xml/dom2_traversalimpl.h:
              * khtml/xml/dom2_viewsimpl.cpp:
              * khtml/xml/dom2_viewsimpl.h:
              * khtml/xml/dom_atomicstring.cpp:
              * khtml/xml/dom_docimpl.cpp:
              * khtml/xml/dom_docimpl.h:
              * khtml/xml/dom_elementimpl.cpp:
              * khtml/xml/dom_elementimpl.h:
              * khtml/xml/dom_nodeimpl.cpp:
              * khtml/xml/dom_nodeimpl.h:
              * khtml/xml/dom_position.cpp:
              * khtml/xml/dom_qname.cpp:
              * khtml/xml/dom_stringimpl.cpp:
              * khtml/xml/dom_stringimpl.h:
              * khtml/xml/dom_textimpl.cpp:
              * khtml/xml/dom_xmlimpl.cpp:
              * khtml/xml/xml_tokenizer.cpp:
              * khtml/xsl/xsl_stylesheetimpl.cpp:
              * khtml/xsl/xslt_processorimpl.cpp:
              * kwq/DOM-CSS.mm:
              * kwq/DOM.mm:
              * kwq/DOMEvents.mm:
              * kwq/DOMHTML.mm:
              * kwq/DOMInternal.mm:
              (DOMString::DOMString):
              * kwq/DOMUtility.mm:
              * kwq/DOMViews.mm:
              * kwq/KWQAccObject.mm:
              * kwq/KWQAccObjectCache.mm:
              * kwq/KWQApplication.mm:
              * kwq/KWQArrayImpl.h:
              * kwq/KWQArrayImpl.mm:
              * kwq/KWQBuffer.mm:
              * kwq/KWQButton.mm:
              * kwq/KWQCString.mm:
              * kwq/KWQCharsets.mm:
              * kwq/KWQClipboard.mm:
              * kwq/KWQCollection.mm:
              * kwq/KWQColor.mm:
              * kwq/KWQComboBox.mm:
              * kwq/KWQCursor.mm:
              * kwq/KWQDateTime.mm:
              * kwq/KWQDictImpl.mm:
              * kwq/KWQEditCommand.mm:
              * kwq/KWQEvent.mm:
              * kwq/KWQExceptions.mm:
              * kwq/KWQFile.mm:
              * kwq/KWQFileButton.mm:
              * kwq/KWQFont.mm:
              * kwq/KWQFontFamily.h:
              * kwq/KWQFontFamily.mm:
              * kwq/KWQFontMetrics.mm:
              * kwq/KWQFormData.mm:
              * kwq/KWQFrame.mm:
              * kwq/KWQGlobal.mm:
              * kwq/KWQGuardedPtr.mm:
              * kwq/KWQKCharsets.mm:
              * kwq/KWQKConfigBase.mm:
              * kwq/KWQKCookieJar.mm:
              * kwq/KWQKCursor.mm:
              * kwq/KWQKGlobal.mm:
              * kwq/KWQKGlobalSettings.mm:
              * kwq/KWQKHTMLFactory.mm:
              * kwq/KWQKHTMLPart.cpp:
              * kwq/KWQKHTMLPart.mm:
              * kwq/KWQKHTMLPartBrowserExtension.mm:
              * kwq/KWQKHTMLView.mm:
              * kwq/KWQKHistoryProvider.mm:
              * kwq/KWQKJavaAppletWidget.mm:
              * kwq/KWQKJob.mm:
              * kwq/KWQKJobClasses.mm:
              * kwq/KWQKLocale.mm:
              * kwq/KWQKPartsBrowserInterface.mm:
              * kwq/KWQKPartsEvent.mm:
              * kwq/KWQKPartsPart.mm:
              * kwq/KWQKSSLKeyGen.mm:
              * kwq/KWQKStandardDirs.mm:
              * kwq/KWQKStringHandler.mm:
              * kwq/KWQKURL.mm:
              (KURL::KURL):
              (KURL::decode_string):
              (KURL::parse):
              (KURL::encode_string):
              (encodeRelativeString):
              * kwq/KWQKWin.mm:
              * kwq/KWQKWinModule.mm:
              * kwq/KWQLabel.mm:
              * kwq/KWQLineEdit.mm:
              * kwq/KWQListBox.mm:
              * kwq/KWQListImpl.mm:
              * kwq/KWQLoader.mm:
              (KWQIsResponseURLEqualToURL):
              * kwq/KWQMapImpl.h:
              * kwq/KWQMapImpl.mm:
              * kwq/KWQMovie.mm:
              * kwq/KWQObject.mm:
              * kwq/KWQPageState.mm:
              * kwq/KWQPaintDeviceMetrics.mm:
              * kwq/KWQPainter.mm:
              * kwq/KWQPalette.mm:
              * kwq/KWQPen.mm:
              * kwq/KWQPixmap.mm:
              * kwq/KWQPoint.mm:
              * kwq/KWQPointArray.mm:
              * kwq/KWQPtrDictImpl.mm:
              * kwq/KWQPushButton.mm:
              * kwq/KWQRect.mm:
              * kwq/KWQRegExp.mm:
              * kwq/KWQRegion.mm:
              * kwq/KWQRenderTreeDebug.cpp:
              * kwq/KWQResourceLoader.mm:
              * kwq/KWQScrollBar.mm:
              * kwq/KWQScrollView.mm:
              * kwq/KWQSignal.mm:
              * kwq/KWQSignalStubs.mm:
              * kwq/KWQSize.mm:
              * kwq/KWQSlider.mm:
              * kwq/KWQSlot.mm:
              * kwq/KWQString.h:
              * kwq/KWQString.mm:
              (ALLOC_CHAR):
              (REALLOC_CHAR):
              (DELETE_CHAR):
              (ALLOC_QCHAR):
              (REALLOC_QCHAR):
              (DELETE_QCHAR):
              (_printQStringAllocationStatistics):
              (allocateHandle):
              (KWQStringData::operator new):
              (KWQStringData::operator delete):
              (freeHandle):
              * kwq/KWQStringList.mm:
              * kwq/KWQStyle.mm:
              * kwq/KWQTextArea.mm:
              * kwq/KWQTextCodec.mm:
              * kwq/KWQTextEdit.mm:
              * kwq/KWQTextField.mm:
              * kwq/KWQTextStream.mm:
              * kwq/KWQTextUtilities.mm:
              * kwq/KWQTimer.mm:
              * kwq/KWQValueListImpl.h:
              * kwq/KWQValueListImpl.mm:
              * kwq/KWQVariant.mm:
              * kwq/KWQVectorImpl.mm:
              (KWQVectorImpl::KWQVectorImpl):
              (KWQVectorImpl::~KWQVectorImpl):
              (KWQVectorImpl::clear):
              (KWQVectorImpl::resize):
              (KWQVectorImpl::assign):
              * kwq/KWQWMatrix.mm:
              * kwq/KWQWidget.mm:
              * kwq/KWQWindowWidget.mm:
              * kwq/WebCoreBridge.mm:
              * kwq/WebCoreCache.mm:
              * kwq/WebCoreEncodings.mm:
              * kwq/WebCoreJavaScript.mm:
              * kwq/WebCoreScriptDebugger.mm:
              * kwq/WebCoreSettings.mm:
              * kwq/WebCoreTextRendererFactory.mm:
              * kwq/can-convert.mm:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10701 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b64c50a2
  24. 22 Jan, 2003 1 commit
  25. 27 Mar, 2002 1 commit
    • mjs's avatar
      Top level: · a758bde1
      mjs authored
      	Removed all the borrowed Qt code.
      
      	* Makefile.am: Don't bother to reconfigure when ChangeLog changes.
      	* acconfig.h: Remove BORROWED #defines.
      	* borrowed-classes.txt: Removed.
      	* configure.in: Remove setting of unused flags.
      WebCore:
      	Removed all the borrowed Qt code.
      
      	* src/kwq/KWQGlobal.mm: Renamed from qt/_qglobal.cpp to avoid
      	confusion about the borrowedness status of this file.
      	* src/kwq/Makefile.am: Removed references to kde and qt
      	subdirectories.
      	* src/kwq/kde/.cvsignore: Removed.
      	* src/kwq/kde/Makefile.am: Removed.
      	* src/kwq/kde/_kurl.cpp: Removed.
      	* src/kwq/kde/_kurl.h: Removed.
      	* src/kwq/qt/Makefile.am: Removed.
      	* src/kwq/qt/_qarray.h: Removed.
      	* src/kwq/qt/_qbuffer.cpp: Removed.
      	* src/kwq/qt/_qbuffer.h: Removed.
      	* src/kwq/qt/_qcollection.cpp: Removed.
      	* src/kwq/qt/_qcollection.h: Removed.
      	* src/kwq/qt/_qcolor.h: Removed.
      	* src/kwq/qt/_qcstring.cpp: Removed.
      	* src/kwq/qt/_qcstring.h: Removed.
      	* src/kwq/qt/_qdatetime.cpp: Removed.
      	* src/kwq/qt/_qdatetime.h: Removed.
      	* src/kwq/qt/_qdict.h: Removed.
      	* src/kwq/qt/_qdir.cpp: Removed.
      	* src/kwq/qt/_qdir.h: Removed.
      	* src/kwq/qt/_qdir_unix.cpp: Removed.
      	* src/kwq/qt/_qfile.cpp: Removed.
      	* src/kwq/qt/_qfile.h: Removed.
      	* src/kwq/qt/_qfileinfo.cpp: Removed.
      	* src/kwq/qt/_qfileinfo.h: Removed.
      	* src/kwq/qt/_qfileinfo_unix.cpp: Removed.
      	* src/kwq/qt/_qgarray.cpp: Removed.
      	* src/kwq/qt/_qgarray.h: Removed.
      	* src/kwq/qt/_qgdict.cpp: Removed.
      	* src/kwq/qt/_qgdict.h: Removed.
      	* src/kwq/qt/_qglist.cpp: Removed.
      	* src/kwq/qt/_qglist.h: Removed.
      	* src/kwq/qt/_qglobal.cpp: Removed.
      	* src/kwq/qt/_qgvector.cpp: Removed.
      	* src/kwq/qt/_qgvector.h: Removed.
      	* src/kwq/qt/_qiodevice.cpp: Removed.
      	* src/kwq/qt/_qiodevice.h: Removed.
      	* src/kwq/qt/_qlist.h: Removed.
      	* src/kwq/qt/_qmap.cpp: Removed.
      	* src/kwq/qt/_qmap.h: Removed.
      	* src/kwq/qt/_qpoint.cpp: Removed.
      	* src/kwq/qt/_qpoint.h: Removed.
      	* src/kwq/qt/_qptrdict.h: Removed.
      	* src/kwq/qt/_qrect.cpp: Removed.
      	* src/kwq/qt/_qrect.h: Removed.
      	* src/kwq/qt/_qregexp.cpp: Removed.
      	* src/kwq/qt/_qregexp.h: Removed.
      	* src/kwq/qt/_qregion.cpp: Removed.
      	* src/kwq/qt/_qregion.h: Removed.
      	* src/kwq/qt/_qshared.h: Removed.
      	* src/kwq/qt/_qsize.cpp: Removed.
      	* src/kwq/qt/_qsize.h: Removed.
      	* src/kwq/qt/_qsortedlist.h: Removed.
      	* src/kwq/qt/_qstack.h: Removed.
      	* src/kwq/qt/_qstring.cpp: Removed.
      	* src/kwq/qt/_qstring.h: Removed.
      	* src/kwq/qt/_qstringlist.cpp: Removed.
      	* src/kwq/qt/_qstringlist.h: Removed.
      	* src/kwq/qt/_qstrlist.h: Removed.
      	* src/kwq/qt/_qtextcodec.h: Removed.
      	* src/kwq/qt/_qtextstream.h: Removed.
      	* src/kwq/qt/_qtl.h: Removed.
      	* src/kwq/qt/_qurl.cpp: Removed.
      	* src/kwq/qt/_qurl.h: Removed.
      	* src/kwq/qt/_qvaluelist.h: Removed.
      	* src/kwq/qt/_qvector.h: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@865 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a758bde1
  26. 27 Sep, 2001 1 commit
  27. 20 Sep, 2001 1 commit
  28. 19 Sep, 2001 1 commit
  29. 10 Sep, 2001 1 commit
  30. 27 Aug, 2001 1 commit
  31. 24 Aug, 2001 1 commit