1. 04 Nov, 2008 2 commits
    • darin@apple.com's avatar
      2008-11-04 Darin Adler <darin@apple.com> · 3b841b41
      darin@apple.com authored
              Reviewed by Tim Hatcher.
      
              * wtf/ThreadingNone.cpp: Tweak formatting.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38105 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3b841b41
    • darin@apple.com's avatar
      2008-11-03 Darin Adler <darin@apple.com> · b2d6e144
      darin@apple.com authored
              Reviewed by Tim Hatcher.
      
              - https://bugs.webkit.org/show_bug.cgi?id=22061
                create script to check for exit-time destructors
      
              * JavaScriptCore.exp: Changed to export functions rather than
              a global for the atomically initialized static mutex.
      
              * JavaScriptCore.xcodeproj/project.pbxproj: Added a script
              phase that runs the check-for-exit-time-destructors script.
      
              * wtf/MainThread.cpp:
              (WTF::mainThreadFunctionQueueMutex): Changed to leak an object
              rather than using an exit time destructor.
              (WTF::functionQueue): Ditto.
              * wtf/unicode/icu/CollatorICU.cpp:
              (WTF::cachedCollatorMutex): Ditto.
      
              * wtf/Threading.h: Changed other platforms to share the Windows
              approach where the mutex is internal and the functions are exported.
              * wtf/ThreadingGtk.cpp:
              (WTF::lockAtomicallyInitializedStaticMutex): Ditto.
              (WTF::unlockAtomicallyInitializedStaticMutex): Ditto.
              * wtf/ThreadingNone.cpp:
              (WTF::lockAtomicallyInitializedStaticMutex): Ditto.
              (WTF::unlockAtomicallyInitializedStaticMutex): Ditto.
              * wtf/ThreadingPthreads.cpp:
              (WTF::threadMapMutex): Changed to leak an object rather than using
              an exit time destructor.
              (WTF::lockAtomicallyInitializedStaticMutex): Mutex change.
              (WTF::unlockAtomicallyInitializedStaticMutex): Ditto.
              (WTF::threadMap): Changed to leak an object rather than using
              an exit time destructor.
              * wtf/ThreadingQt.cpp:
              (WTF::lockAtomicallyInitializedStaticMutex): Mutex change.
              (WTF::unlockAtomicallyInitializedStaticMutex): Ditto.
              * wtf/ThreadingWin.cpp:
              (WTF::lockAtomicallyInitializedStaticMutex): Added an assertion.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38101 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b2d6e144
  2. 29 Jul, 2008 1 commit
    • aroben@apple.com's avatar
      Add support for setting thread names on Windows · f0c8f24b
      aroben@apple.com authored
      JavaScriptCore:
      
              Add support for setting thread names on Windows
      
              These thread names make it much easier to identify particular threads
              in Visual Studio's Threads panel.
      
              WTF::createThread now takes a const char* representing the thread's
              name. On Windows, we throw a special exception to set this string as
              the thread's name. Other platforms do nothing with this name for now.
      
              Reviewed by Anders Carlsson.
      
              * JavaScriptCore.exp: Export the new version of createThread that
              takes 3 arguments (the old one continues to be exported for backward
              compatibility).
              * wtf/Threading.h: Add a threadName argument to createThread.
      
              * wtf/ThreadingGtk.cpp:
              (WTF::createThread):
              * wtf/ThreadingNone.cpp:
              (WTF::createThread):
              Updated for function signature change.
      
              * wtf/ThreadingPthreads.cpp:
              (WTF::createThread): Updated for function signature change. We keep
              around the old 2-argument version of createThread for backward
              compatibility.
      
              * wtf/ThreadingWin.cpp:
              (WTF::setThreadName): Added. This function's implementation came from
              MSDN.
              (WTF::initializeThreading): Set the name of the main thread.
              (WTF::createThread): Call setThreadName. We keep around the old
              2-argument version of createThread for backward compatibility.
      
      WebCore:
      
              Add names for WebCore's threads
      
              Reviewed by Anders Carlsson.
      
              * loader/icon/IconDatabase.cpp:
              (WebCore::IconDatabase::open):
              * storage/DatabaseThread.cpp:
              (WebCore::DatabaseThread::start):
              * storage/LocalStorageThread.cpp:
              (WebCore::LocalStorageThread::start):
              Pass in names to createThread.
      
              * platform/network/cf/ResourceHandleCFNet.cpp:
              (WebCore::runLoaderThread):
              (WebCore::ResourceHandle::loaderRunLoop):
              Changed to use WTF::createThread.
      
      WebKit/win:
      
              Export the new version of createThread
      
              Reviewed by Anders Carlsson.
      
              * WebKit.vcproj/WebKit.def:
              * WebKit.vcproj/WebKit_debug.def:
              Also moved the old version of createThread into the deprecated
              section.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35419 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f0c8f24b
  3. 07 Apr, 2008 1 commit
    • aroben@apple.com's avatar
      Add WTF::isMainThread · a3af6a64
      aroben@apple.com authored
              Reviewed by Alexey Proskuryakov.
      
              * wtf/Threading.h: Declare the new function.
              * wtf/ThreadingGtk.cpp:
              (WTF::initializeThreading): Initialize the main thread identifier.
              (WTF::isMainThread): Added.
              * wtf/ThreadingNone.cpp: Ditto ThreadingGtk.cpp.
              (WTF::initializeThreading):
              (WTF::isMainThread):
              * wtf/ThreadingPthreads.cpp: Ditto.
              (WTF::initializeThreading):
              (WTF::isMainThread):
              * wtf/ThreadingWin.cpp: Ditto.
              (WTF::initializeThreading):
              (WTF::isMainThread):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31690 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a3af6a64
  4. 02 Apr, 2008 1 commit
    • ap@webkit.org's avatar
      Reviewed by Darin. · 301652ce
      ap@webkit.org authored
              Make MathExtras.h thread safe.
      
              * kjs/math_object.cpp:
              (KJS::mathProtoFuncRandom): If threading is enabled, rely on initializeThreading to call
              wtf_random_init().
      
              * wtf/Threading.h:
              * wtf/ThreadingGtk.cpp:
              (WTF::initializeThreading):
              * wtf/ThreadingNone.cpp:
              (WTF::initializeThreading):
              * wtf/ThreadingPthreads.cpp:
              (WTF::initializeThreading):
              * wtf/ThreadingWin.cpp:
              (WTF::initializeThreading):
              Call wtf_random_init(); made the function non-inline to avoid having to include too many
              headers in Threading.h.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31560 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      301652ce
  5. 06 Mar, 2008 2 commits
    • beidson@apple.com's avatar
      JavaScriptCore: · 674b7969
      beidson@apple.com authored
              Reviewed by Darin
      
              Add a timedWait() method to ThreadCondition
      
              * JavaScriptCore.exp:
      
              * wtf/Threading.h:
      
              * wtf/ThreadingGtk.cpp:
              (WTF::ThreadCondition::timedWait):
      
              * wtf/ThreadingNone.cpp:
              (WTF::ThreadCondition::timedWait):
      
              * wtf/ThreadingPthreads.cpp:
              (WTF::ThreadCondition::timedWait):
      
              * wtf/ThreadingWin.cpp:
              (WTF::ThreadCondition::timedWait): Needs implementation
      
      WebKitTools:
      
              Reviewed by Darin
      
              Added a cross-platform Watchdog thread to DRT.
      
              The current watchdog in both DRTWin and DRTMac is Timer based.  Therefore, deadlocks and long running
              main thread hangs still affect DRT.
      
              By placing the watchdog on a thread and having DRT "check in" after each test, long-running hangs
              and true deadlocks can be caught.
      
              There is one hook for platform specific code.  As I did my development and testing on Mac, and Mac has
              `sample` available, the Mac implementation of this hook samples the process before it is killed.
      
              I arbitrarily chose 30 seconds as the timeout for now - this can be tweaked easily if we find a need.
      
              * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
              * DumpRenderTree/mac/Configurations/Base.xcconfig: Added LINKER_DISPLAYS_MANGLED_NAMES
      
              * DumpRenderTree/ForwardingHeaders/wtf/Locker.h: Added.
              * DumpRenderTree/ForwardingHeaders/wtf/Threading.h: Added.
      
              * DumpRenderTree/Watchdog.cpp: Added.
              (Watchdog::Watchdog):
              (Watchdog::~Watchdog):
              (Watchdog::start):
              (Watchdog::stop):
              (Watchdog::checkIn):
              (Watchdog::setWatchdogInterval):
              (Watchdog::handleHang):
              (Watchdog::watchdogThreadStart):
              (Watchdog::watchdogThread):
              * DumpRenderTree/Watchdog.h: Added.
      
              * DumpRenderTree/mac/WatchdogMac.h: Added.
              * DumpRenderTree/mac/WatchdogMac.mm: Added.
              (WatchdogMac::handleHang): Sample the process and write it out to a file
      
              * DumpRenderTree/mac/DumpRenderTree.mm:
              (dumpRenderTree): Setup and start the watchdog before running any tests
              (runTest): Checkin with the watchdog after each test
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30849 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      674b7969
    • ap@webkit.org's avatar
      Reviewed by Darin. · afd03186
      ap@webkit.org authored
              <rdar://problem/5687269> Need to create a Collator abstraction for WebCore and JavaScriptCore
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30842 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      afd03186
  6. 23 Feb, 2008 2 commits
  7. 11 Nov, 2007 1 commit
  8. 17 Oct, 2007 1 commit
    • bdash's avatar
      2007-10-17 Mark Rowe <mrowe@apple.com> · edb0fc8f
      bdash authored
              Gtk build fix.  Move non-pthread stubs from Threading.h to ThreadingNone.cpp to prevent
              multiple-definition link errors.
      
              * WebCore.pro:
              * platform/Threading.h:
              * platform/ThreadingNone.cpp: Added.
              (WebCore::createThread):
              (WebCore::waitForThreadCompletion):
              (WebCore::detachThread):
              (WebCore::Mutex::Mutex):
              (WebCore::Mutex::~Mutex):
              (WebCore::Mutex::lock):
              (WebCore::Mutex::tryLock):
              (WebCore::Mutex::unlock):
              (WebCore::ThreadCondition::ThreadCondition):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26722 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      edb0fc8f
  9. 07 Sep, 2007 1 commit
    • beidson's avatar
      Reviewed by Darin · 59faa8b4
      beidson authored
              Add some AutoreleasePool and Threading utilities in preparation for the multi-threaded
              fix for <rdar://problem/5434431>
      
              AutodrainedPool wraps an NSAutoreleasePool and tracks a "cycle" count.  This allows clients
              in WebCore to simply call ::cycle() and after a preset number of iterations the pool will drain
              and recreate the underlying NSAutoreleasePool
         
              Threading utilities include C++ wrappers for pthread mutexes and conditions, as well as a generic
              "callOnMainThread()" function for any non-main thread to use.
      
              * platform/AutodrainedPool.h: Added.  
              (WebCore::AutodrainedPool::AutodrainedPool): Empty implementations for all non-mac platforms
              (WebCore::AutodrainedPool::~AutodrainedPool): ditto
              (WebCore::AutodrainedPool::cycle): ditto
              * platform/mac/AutodrainedPool.mm: Added.
              (WebCore::AutodrainedPool::AutodrainedPool): 
              (WebCore::AutodrainedPool::~AutodrainedPool):
              (WebCore::AutodrainedPool::cycle): Keep track of number of cycles, and drain/recreate the pool if the
                cycle limit is hit
      
              * platform/Threading.h: Added.
              (WebCore::Mutex::Mutex): C++ wrapper for pthread_mutex
              (WebCore::Mutex::~Mutex):
              (WebCore::Mutex::lock):
              (WebCore::Mutex::tryLock):
              (WebCore::Mutex::unlock):
              (WebCore::MutexLocker::MutexLocker): Handles automatically locking/unlocking a Mutex (for early returns
                from a function, for example)
              (WebCore::MutexLocker::~MutexLocker):
              (WebCore::ThreadCondition::ThreadCondition): C++ wrapper for pthread_condition
              (WebCore::ThreadCondition::~ThreadCondition):
              (WebCore::ThreadCondition::wait):
              (WebCore::ThreadCondition::signal):
              (WebCore::ThreadCondition::broadcast):
              * platform/mac/Threading.mm: Added.
              (-[WebCoreFunctionWrapper initWithFunction:]): Obj-C implementation of "callOnMainThread"
              (-[WebCoreFunctionWrapper _call]):
              (WebCore::callOnMainThread):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25416 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      59faa8b4
  10. 14 Aug, 2007 1 commit
    • beidson's avatar
      WebCore: · 9b723725
      beidson authored
              Reviewed by Darin, John, Maciej, Oliver, and Tim
      
              <rdar://problem/5394708> - Crash on launch with corrupt icon database
      
              The main part of the fix is to not disable SQLite's default level of protection - to leave the sync options at their normal,
              mostly safe levels.  
      
              But in case lightning strikes at the exact right moment and someone ends up with a corrupt database, add some support code to
              detect that condition and recover from it.  
      
              This is mainly accomplished by exposing the "PRAGMA integrity_check;" facilities of sqlite through IconDatabase SPI as well as
              running that integrity check if a journal file is detected at launch (a strong indication that the last quit was not clean).
              There's also a method exposed to allow clients to tell the icon database "I suspect something bad happened, please check integrity"
      
              * loader/icon/IconDatabase.cpp:
              (WebCore::IconDatabase::checkIntegrityBeforeOpening): Allow clients to suggest an integrity check
              (WebCore::IconDatabase::open): Add a check to see if the journal file for the database exists.  If it does, run the integrity
                check.  Also run the check if a client has suggested it to be necessary.
                If the integrity-check fails, we sadly have to destroy the database and recreate from scratch.
                Also - quite importantly - do not adjust the default sync preferences for the SQLDatabase.  They were an optimization that 
                might have been valid at one time but no longer affects any benchmarks we care about.
              (WebCore::IconDatabase::checkIntegrity): Perform the SQLite integrity_check pragma
              * loader/icon/IconDatabase.h:
      
              * loader/icon/IconDatabaseNone.cpp:
              (WebCore::IconDatabase::checkIntegrity): Keep IconDatabaseNone users building
              (WebCore::IconDatabase::checkIntegrityBeforeOpening): Ditto
      
              * loader/icon/SQLDatabase.cpp:
              (WebCore::SQLDatabase::open): Make a copy of the path string so we don't accidentally mutate anyone else's string on ::close()
      
              * platform/FileSystem.h: Added. Begin a long-needed platform file system abstraction
              * platform/mac/FileSystemMac.mm: Added.
              (WebCore::fileExists): Check if a file exists
              (WebCore::deleteFile): Delete a file
      
              * platform/gdk/TemporaryLinkStubs.cpp:
              (WebCore::fileExists):
              (WebCore::deleteFile):
              * platform/qt/TemporaryLinkStubs.cpp:
              (WebCore::fileExists):
              (WebCore::deleteFile):
              * platform/win/TemporaryLinkStubs.cpp:
              (WebCore::fileExists):
              (WebCore::deleteFile):
      
              * WebCore.exp:
              * WebCore.xcodeproj/project.pbxproj:
      
      WebKit:
      
              Reviewed by Darin, John, Maciej, Oliver, and Tim
      
              <rdar://problem/5394708> - Crash on launch with corrupt icon database
      
              Expose some new SPI to help recover from this case should it happen again
      
              * Misc/WebIconDatabase.mm:
              (-[WebIconDatabase init]): Use the new _databaseDirectory to determine where to open the database on disk
              (+[WebIconDatabase _checkIntegrityBeforeOpening]): Tell the icon database to check integrity when it opens
              (-[WebIconDatabase _databaseDirectory]): Moved the database-directory-determining logic here as it's now used in two places
              * Misc/WebIconDatabasePrivate.h: Added _checkIntegrityBeforeOpening SPI for clients to give hints about when the
                integrity check should run
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25081 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9b723725
  11. 04 Jul, 2007 1 commit
    • aliceli1's avatar
      Reviewed by Adam. · 7f9f8407
      aliceli1 authored
              Fixed <rdar://problem/5225119> support smart pasting on Windows
      
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
                  Added new files
              * editing/SmartReplace.cpp: Added.
              (WebCore::isCharacterSmartReplaceExempt):
                  Added non-CF implementation placeholder
              * editing/SmartReplace.h: Added.
              * editing/SmartReplaceCF.cpp: Added.
              (WebCore::getSmartSet):
              (WebCore::isCharacterSmartReplaceExempt):
                  Added new implementation
      
              * bridge/win/FrameWin.cpp:
              * page/Frame.h:
              * page/mac/FrameMac.mm:
                  Removed old declaration and implementation
      
              * editing/ReplaceSelectionCommand.cpp:
              (WebCore::ReplaceSelectionCommand::doApply):
                  Changed to call the new function instead of old
      
              * page/mac/WebCoreFrameBridge.h:
              * page/mac/WebCoreFrameBridge.mm:
                  Removed old declaration and implementation
              (-[WebCoreFrameBridge smartInsertForString:replacingRange:beforeString:afterString:]):
                  Changed to call the new function instead of old
      
              * platform/win/PasteboardWin.cpp:
              (WebCore::Pasteboard::Pasteboard):
                  Register new clipboard format
              (WebCore::Pasteboard::writeSelection):
                  Set data for smartpaste format on clipboard
              (WebCore::Pasteboard::canSmartReplace):
                  Added non-stub implementation
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23986 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7f9f8407
  12. 12 Apr, 2007 1 commit
    • sullivan's avatar
      WebCore: · db1947fe
      sullivan authored
              Reviewed by Anders
      
              - WebCore part of fix for:
              <rdar://problem/5128697> REGRESSION: At least one PDF context menu item isn't appearing on Leopard
      
              * platform/ContextMenuItem.h:
              (WebCore::):
              add two PDF-related context menu items to enum to keep it in sync with WebKit
      
              * platform/ContextMenu.cpp:
              (WebCore::ContextMenu::checkOrEnableIfNeeded):
              add the new context menu items to the do-nothing case of a big switch statement
      
      WebKit:
      
              Reviewed by Anders
      
              - WebKit part of fix for:
              <rdar://problem/5128697> REGRESSION: At least one PDF context menu item isn't appearing on Leopard
      
              * Misc/WebNSArrayExtras.h: Added.
              * Misc/WebNSArrayExtras.m: Added.
              (-[NSMutableArray _webkit_removeUselessMenuItemSeparators]):
              New file, includes this method to strip leading, trailing, and duplicate separators from arrays
              of NSMenuItems (copied from Safari)
      
              * WebView/WebUIDelegatePrivate.h:
              new MenuItemTag enum values for new PDFKit context menu items
      
              * WebKit.xcodeproj/project.pbxproj:
              updated for new files
      
              * WebView/WebPDFView.mm:
              (-[WebPDFView _anyPDFTagsFoundInMenu:]):
              check for new PDFKit context menu items
              (-[WebPDFView _menuItemsFromPDFKitForEvent:]):
              associate new PDFKit context menu item selectors with the new tags; skip certain selectors that
              correspond to menu items that WebKit already includes; remove useless menu item separators when
              we're done, since we might have removed arbitrarily-placed menu items
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20862 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      db1947fe
  13. 20 Feb, 2007 1 commit
    • thatcher's avatar
      WebCore: · a1d52ddf
      thatcher authored
              Reviewed by Darin.
      
              <rdar://problem/4900579> WebKit -finalize methods are not thread-safe; design change needed
      
              Call WebCoreObjCFinalizeOnMainThread from the initialize method of all the classes
              that have a finalizer that needs called on the main thread.
      
              * WebCore.exp:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/objc/WebScriptObject.mm:
              (+[WebScriptObject initialize]):
              * bridge/mac/WebCoreScriptDebugger.mm:
              (+[WebCoreScriptDebugger initialize]):
              * platform/mac/SharedBufferMac.mm:
              (+[SharedBufferData initialize]):
              * platform/mac/WebCoreObjCExtras.c: Added.
              (WebCoreObjCFinalizeOnMainThread):
              * platform/mac/WebCoreObjCExtras.h: Added.
      
      WebKit:
      
              Reviewed by Darin.
      
              <rdar://problem/4900579> WebKit -finalize methods are not thread-safe; design change needed
      
              Call WebCoreObjCFinalizeOnMainThread from the initialize method of all the classes
              that have a finalizer that needs called on the main thread. Assert in finalize that we
              are on the main thread.
      
              * Carbon/CarbonWindowAdapter.m:
              (+[CarbonWindowAdapter initialize]):
              (-[CarbonWindowAdapter finalize]):
              * History/WebBackForwardList.mm:
              (+[WebBackForwardList initialize]):
              (-[WebBackForwardList finalize]):
              * History/WebHistoryItem.mm:
              (+[WebHistoryItem initialize]):
              * Misc/WebElementDictionary.mm:
              (+[WebElementDictionary initialize]):
              (-[WebElementDictionary finalize]):
              * Plugins/WebBaseNetscapePluginStream.m:
              (+[WebBaseNetscapePluginStream initialize]):
              (-[WebBaseNetscapePluginStream finalize]):
              * Plugins/WebBaseNetscapePluginView.mm:
              (+[WebBaseNetscapePluginView initialize]):
              (-[WebBaseNetscapePluginView finalize]):
              * Plugins/WebBasePluginPackage.m:
              (+[WebBasePluginPackage initialize]):
              (-[WebBasePluginPackage finalize]):
              * Plugins/WebNetscapePluginStream.mm:
              (-[WebNetscapePluginStream finalize]):
              * WebCoreSupport/WebEditorClient.mm:
              (+[WebEditCommand initialize]):
              (-[WebEditCommand finalize]):
              * WebCoreSupport/WebFrameBridge.mm:
              (+[WebFrameBridge initialize]):
              (-[WebFrameBridge finalize]):
              * WebCoreSupport/WebFrameLoaderClient.mm:
              (+[WebFramePolicyListener initialize]):
              (-[WebFramePolicyListener finalize]):
              * WebView/WebHTMLView.mm:
              (+[WebHTMLView initialize]):
              (-[WebHTMLView finalize]):
              * WebView/WebView.mm:
              (+[WebViewPrivate initialize]):
              (-[WebViewPrivate finalize]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19747 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a1d52ddf
  14. 11 Oct, 2006 1 commit
    • darin's avatar
      Reviewed by Adele. · 842ea0c3
      darin authored
              - preparations for making more code C++
      
              * WebKitPrefix.h: Fixed ifdef so that C++ files get all the precompiled stuff
              that non-C++ files get.
      
              * Misc/WebKitLogging.h:
              * Misc/WebKitSystemBits.h:
              * Misc/WebLocalizableStrings.h:
              * WebCoreSupport/WebSystemInterface.h:
              Added extern "C".
      
              * Misc/WebNSViewExtras.h:
              * WebView/WebDataSource.m: (addTypesFromClass):
              * WebView/WebFrameView.m: (addTypesFromClass):
              Eliminated use of the identifier "class".
      
              * WebView/WebView.m: (-[WebView _goToItem:withLoadType:]): Added a type cast.
      
              * Plugins/WebBaseNetscapePluginView.m: Added lots of type casts.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17000 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      842ea0c3
  15. 20 Apr, 2006 1 commit
    • darin's avatar
      WebCore: · 331b6de1
      darin authored
              Reviewed by Adele.
      
              - WebCore part of http://bugzilla.opendarwin.org/show_bug.cgi?id=8505
                eliminate WebCoreGraphics bridge, demonstrate new SystemInterface technique
      
              * platform/mac/WebCoreGraphicsBridge.h: Removed.
              * platform/mac/WebCoreGraphicsBridge.m: Removed.
              * platform/mac/WebCoreSystemInterface.h: Added.
              * platform/mac/WebCoreSystemInterface.mm: Added.
      
              * WebCore.exp: Add new SystemInterface globals, remove WebCoreGraphicsBridge.
      
              * WebCore.xcodeproj/project.pbxproj: Updated for removed and added files.
              Sorted files.
      
              * bridge/mac/FrameMac.mm: Removed unneeded include of WebCoreGraphicsBridge.h.
      
              * platform/mac/ClipboardMac.mm: (WebCore::ClipboardMac::setDragImage):
              Moved code from WebGraphicsBridge here, using WebCoreSystemInterface so we can
              call wkSetDragImage.
      
              * platform/mac/GraphicsContextMac.mm: (WebCore::GraphicsContext::drawFocusRing):
              Moved code from WebGraphicsBridge here, using WebCoreSystemInterface so we can
              call wkDrawFocusRing.
      
              * rendering/RenderThemeMac.mm: (WebCore::RenderThemeMac::paintTextField):
              Call wkDrawBezeledTextFieldCell from WebCoreSystemInterface instead of using
              WebGraphicsBridge to do the same thing.
      
      WebKit:
      
              Reviewed by Adele.
      
              - WebKit part of http://bugzilla.opendarwin.org/show_bug.cgi?id=8505
                eliminate WebCoreGraphics bridge, demonstrate new SystemInterface technique
      
              * WebCoreSupport/WebGraphicsBridge.h: Removed.
              * WebCoreSupport/WebGraphicsBridge.m: Removed.
              * WebCoreSupport/WebSystemInterface.h: Added.
              * WebCoreSupport/WebSystemInterface.m: Added.
      
              * WebKit.xcodeproj/project.pbxproj: Updated for removed and added files.
      
              * WebCoreSupport/WebImageData.m: Removed unneeded include of WebGraphicsBridge.h.
              * WebCoreSupport/WebImageRenderer.m: Ditto.
              * WebCoreSupport/WebTextRenderer.m: Ditto.
      
              * WebView/WebFrameView.m: (-[WebFrameView initWithFrame:]): Guarded all the one-time
              initialization inside a boolean, just in case some things take a little time. Added
              a call to InitWebCoreSystemInterface to the one-time initialization here. Later, we
              will need to add it in some other places if we call code that requires the use of
              WebCoreSystemInterface functions from anywhere that can be invoked before creations
              of the first WebFrameView, but for now there is no need.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13989 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      331b6de1
  16. 05 Jun, 2005 2 commits
  17. 26 Feb, 2004 1 commit
    • kocienda's avatar
      WebCore: · 03a86c79
      kocienda authored
              Reviewed by Chris
      
              * WebCore.pbproj/project.pbxproj:
              * khtml/xml/dom2_rangeimpl.h: Now includes createInstance glue function as do the other
              khtml DOM objects that we reflect into ObjC.
              * kwq/DOM-compat.h: Added. Compatibility declarations for DOM SPI. Note that this file
              is copied into WebKit by the build system as needed.
              * kwq/DOM.h: Added. New home for DOM SPI. Note that this file is copied into WebKit by the build
              system as needed.
              * kwq/KWQKHTMLPart.mm:
              (KWQKHTMLPart::recordFormValue): Updated usage to new DOM SPI.
              * kwq/WebCoreBridge.h: Updated usage to new DOM SPI.
              * kwq/WebCoreBridge.mm: Updated usage to new DOM SPI. Needed to add DOM range impl include since
              includes jiggered around and this needed header was no longer included indirectly.
              (-[WebCoreBridge elementForView:]): Ditto.
              (inputElementFromDOMElement): Ditto.
              (formElementFromDOMElement): Ditto.
              (-[WebCoreBridge elementWithName:inForm:]): Ditto.
              (-[WebCoreBridge elementDoesAutoComplete:]): Ditto.
              (-[WebCoreBridge elementIsPassword:]): Ditto.
              (-[WebCoreBridge currentForm]): Ditto.
              (-[WebCoreBridge controlsInForm:]): Ditto.
              (-[WebCoreBridge searchForLabels:beforeElement:]): Ditto.
              (-[WebCoreBridge matchLabels:againstElement:]): Ditto.
              (-[WebCoreBridge elementAtPoint:]): Ditto.
              (-[WebCoreBridge DOMDocument]): Ditto.
              (-[WebCoreBridge setSelectionFrom:startOffset:to:endOffset:]): Ditto.
              (-[WebCoreBridge attributedStringFrom:startOffset:to:endOffset:]): Ditto.
              (-[WebCoreBridge selectionStart]): Ditto.
              (-[WebCoreBridge selectionEnd]): Ditto.
              * kwq/WebCoreDOM.h: New home for all private declarations needed for reflecting DOM into ObjC.
              * kwq/WebCoreDOM.mm: Added. New home for all implementations needed for reflecting DOM into ObjC.
              * kwq/WebCoreDOMDocument.mm: Removed. All ObjC DOM implementation now in WebCoreDOM.mm.
              * kwq/WebCoreDOMNode.mm: Removed. All ObjC DOM implementation now in WebCoreDOM.mm.
              * kwq/WebCoreDOMPrivate.h: Removed.
              * kwq/WebDOMDocument.h: Removed.
              * kwq/WebDOMElement.h: Removed.
              * kwq/WebDOMNode.h: Removed.
      
      WebKit:
      
              Reviewed by Chris
      
              Updated usage of DOM SPI to use new names and conventions.
      
              Unless indicated otherwise, the changes were to update protocol names for, which
              changed from using a "WebDOM" prefix to a "DOM" prefix, and changing now need
              only include the DOM.h header from WebKit to get everything.
      
              * DOM.subproj/DOM-compat.h: Added. This header contains some compatibility declarations
              to work with older clients of our DOM SPI. Though this file is checked into WebKit,
              it really lives and should be updated in WebCore. It is copied into WebKit by the build
              system as needed.
              * DOM.subproj/DOM.h: Added. This file includes the new "guts" of the DOM SPI. As above,
              this file is checked into WebKit, it really lives and should be updated in WebCore.
              It is copied into WebKit by the build system as needed.
              * DOM.subproj/WebDOMDocument.h: Removed declarations. Now just includes DOM.h and DOM-compat.h
              * DOM.subproj/WebDOMDocument.m: Removed.
              * DOM.subproj/WebDOMElement.h: Removed declarations. Now just includes DOM.h and DOM-compat.h
              * DOM.subproj/WebDOMElement.m: Removed.
              * DOM.subproj/WebDOMNode.h: Removed declarations. Now just includes DOM.h and DOM-compat.h
              * DOM.subproj/WebDOMNode.m: Removed.
              * WebCoreSupport.subproj/WebBridge.m:
              (-[WebBridge loadURL:referrer:reload:onLoadEvent:target:triggeringEvent:form:formValues:])
              (-[WebBridge postWithURL:referrer:target:data:contentType:triggeringEvent:form:formValues:])
              * WebKit.pbproj/project.pbxproj:
              * WebView.subproj/WebDefaultContextMenuDelegate.m:
              * WebView.subproj/WebFormDelegate.h:
              * WebView.subproj/WebFormDelegate.m:
              (-[WebFormDelegate frame:sourceFrame:willSubmitForm:withValues:submissionListener:])
              * WebView.subproj/WebFrame.h: Unrelated change. Removed -undoManager accessor from public header. Moved to private header.
              * WebView.subproj/WebFrame.m:
              (-[WebFrame _loadURL:referrer:loadType:target:triggeringEvent:form:formValues:])
              (-[WebFrame _postWithURL:referrer:target:data:contentType:triggeringEvent:form:formValues:])
              (-[WebFrame undoManager]): Moved -undoManager accessor to private category implementation.
              (-[WebFormState initWithForm:values:sourceFrame:])
              (-[WebFormState form])
              (-[WebFrame childFrames])
              * WebView.subproj/WebFramePrivate.h: Moved in -undoManager accessor.
              * WebView.subproj/WebHTMLRepresentation.h:
              * WebView.subproj/WebHTMLRepresentation.m:
              (-[WebHTMLRepresentation DOMDocument])
              (-[WebHTMLRepresentation setSelectionFrom:startOffset:to:endOffset:])
              (-[WebHTMLRepresentation attributedStringFrom:startOffset:to:endOffset:])
              (-[WebHTMLRepresentation elementWithName:inForm:])
              (-[WebHTMLRepresentation elementForView:])
              (-[WebHTMLRepresentation elementDoesAutoComplete:])
              (-[WebHTMLRepresentation elementIsPassword:])
              (-[WebHTMLRepresentation formForElement:])
              (-[WebHTMLRepresentation controlsInForm:])
              (-[WebHTMLRepresentation searchForLabels:beforeElement:])
              (-[WebHTMLRepresentation matchLabels:againstElement:])
              * WebView.subproj/WebHTMLView.m:
              * copy-webcore-files-to-webkit: Added. Copies DOM.h and DOM-compat.h from WebCore when they
              have been updated there.
      
      WebBrowser:
      
              Reviewed by Chris
      
              Updated usage of DOM SPI to use new names and conventions.
      
              In each case, protocol names for DOM objects were changed from using a
              "WebDOM" prefix to a "DOM" prefix, and clients now need only include the
              DOM.h header from WebKit to get everything.
      
              * BrowserWebController.m:
              (-[FormDelegate frame:sourceFrame:willSubmitForm:withValues:submissionListener:])
              * Debug/SnippetController.m:
              (lastNode)
              (-[SnippetController loadComplete])
              * FormCompletionController.h:
              * FormCompletionController.m:
              (+[FormCompletionController loginInfoForForm:inFrame:])
              (+[FormCompletionController _frame:sourceFrame:willSubmitLoginForm:withValues:formInfo:submissionListener:])
              (+[FormCompletionController _frame:sourceFrame:willSubmitRegularForm:withValues:])
              (+[FormCompletionController frame:sourceFrame:willSubmitForm:withValues:submissionListener:])
              (+[FormCompletionController currentFormInFrame:])
              (+[FormCompletionController currentFrameAndForm:inWebView:])
              (+[FormCompletionController autoFillInWebView:])
              (+[FormCompletionController autoFillPasswordInFrame:])
              (-[FormCompletionController initWithSourceField:frame:])
              (-[FormCompletionController maxStringLength])
              (+[AutoFillController autoFillerForFrame:form:create:])
              (+[AutoFillController abMatchInFrame:form:fieldName:])
              (+[AutoFillController recordABMatch:inFrame:form:fieldName:])
              (+[AutoFillController clearAutoFilledView:inFrame:form:])
              (-[AutoFillController _fieldNameForAutoFillOfView:rep:])
              (-[FormToABBinder abPointerForFieldName:view:rep:foundByPageScan:])
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@6117 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      03a86c79
  18. 02 May, 2003 1 commit
    • mjs's avatar
      WebFoundation: · 832ecbd3
      mjs authored
              Reviewed by Richard.
      
      	- reformatted method prototypes to match AppKit style
      
              * AuthenticationManager.subproj/NSHTTPAuthenticator.h:
              * AuthenticationManager.subproj/NSURLConnectionAuthenticationChallenge.h:
              * AuthenticationManager.subproj/NSURLDownloadAuthenticationChallenge.h:
              * AuthenticationManager.subproj/NSURLProtectionSpace.h:
              * AuthenticationManager.subproj/WebCredentialStorage.h:
              * AuthenticationManager.subproj/WebKeychainCredential.h:
              * CacheLoader.subproj/NSURLCache.h:
              * CacheLoader.subproj/NSURLCachePrivate.h:
              * CacheLoader.subproj/NSURLConnection.h:
              * CacheLoader.subproj/NSURLConnectionPrivate.h:
              * CacheLoader.subproj/NSURLConnectionQueue.h:
              * CacheLoader.subproj/NSURLProtocol.h:
              * CacheLoader.subproj/NSURLProtocolClient.h:
              * CacheLoader.subproj/NSURLProtocolPrivate.h:
              * CacheLoader.subproj/NSURLRequest.h:
              * CacheLoader.subproj/NSURLRequestPrivate.h:
              * CacheLoader.subproj/NSURLResponse.h:
              * CacheLoader.subproj/NSURLResponsePrivate.h:
              * CacheLoader.subproj/WebCache.h:
              * CacheLoader.subproj/WebCachePrivate.h:
              * CacheLoader.subproj/WebDiskCache.h:
              * CacheLoader.subproj/WebNetworkSettings.h:
              * CacheLoader.subproj/WebSynchronousDelegate.h:
              * CookieManager.subproj/NSHTTPCookiePrivate.h:
              * CookieManager.subproj/NSHTTPCookieStorage.h:
              * CookieManager.subproj/NSHTTPCookieStoragePrivate.h:
              * CookieManager.subproj/WebCookieStorage.h:
              * CookieManager.subproj/WebCookieStorageServer.h:
              * Database.subproj/WebDatabase.h:
              * Database.subproj/WebFileDatabase.h:
              * Misc.subproj/WebBinaryHeap.h:
              * Misc.subproj/WebFileTypeMappings.h:
              * Misc.subproj/WebHostNameAddressInfo.h:
              * Misc.subproj/WebKeyValuePair.h:
              * Misc.subproj/WebMonitor.h:
              * Misc.subproj/WebMultipartForm.h:
              * Misc.subproj/WebNSArrayExtras.h:
              * Misc.subproj/WebNSCalendarDateExtras.h:
              * Misc.subproj/WebNSDataExtras.h:
              * Misc.subproj/WebNSDictionaryExtras.h:
              * Misc.subproj/WebNSErrorExtras.h:
              * Misc.subproj/WebNSObjectExtras.h:
              * Misc.subproj/WebNSStringExtras.h:
              * Misc.subproj/WebNSThreadExtras.h:
              * Misc.subproj/WebNSValueExtensions.h:
              * Misc.subproj/WebOrderable.h:
              * Misc.subproj/WebQueue.h:
              * Misc.subproj/WebReadWriteLock.h:
              * Misc.subproj/WebRecursiveReadWriteLock.h:
              * Misc.subproj/WebSpinLock.h:
              * ProtocolHandlers.subproj/WebCFNetworkHTTPProtocol.h:
              * ProtocolHandlers.subproj/WebFTPProtocol.h:
              * ProtocolHandlers.subproj/WebHTTPProtocol.h:
      
      WebCore:
      
              Reviewed by Richard.
      
      	- reformatted method prototypes to match AppKit style
      
              * kwq/WebCoreBridge.h:
              * kwq/WebCoreDOMPrivate.h:
              * kwq/WebCoreHistory.h:
              * kwq/WebCoreResourceLoader.h:
              * kwq/WebCoreTextRenderer.h:
              * kwq/WebDOMDocument.h:
              * kwq/WebDOMElement.h:
              * kwq/WebDOMNode.h:
      
      WebKit:
      
              Reviewed by Richard.
      
      	- reformatted method prototypes to match AppKit style
      	- remove "Public header file" from headers that are not public
      	- fix header doc @method names to match actual method names
      
              * Carbon.subproj/CarbonWindowAdapter.h:
              * Carbon.subproj/HIViewAdapter.h:
              * DOM.subproj/WebDOMDocument.h:
              * DOM.subproj/WebDOMNode.h:
              * History.subproj/WebBackForwardList.h:
              * History.subproj/WebHistoryItemPrivate.h:
              * History.subproj/WebHistoryPrivate.h:
              * History.subproj/WebURLsWithTitles.h:
              * Misc.subproj/WebIconDatabase.h:
              * Misc.subproj/WebIconLoader.h:
              * Misc.subproj/WebKitNSStringExtras.h:
              * Misc.subproj/WebUnicode.h:
              * Panels.subproj/WebPanelAuthenticationHandler.h:
              * Plugins.subproj/WebBasePluginPackage.h:
              * Plugins.subproj/WebNetscapePluginStream.h:
              * Plugins.subproj/WebNullPluginView.h:
              * Plugins.subproj/WebPluginViewFactory.h:
              * WebCoreSupport.subproj/WebGlyphBuffer.h:
              * WebCoreSupport.subproj/WebTextRenderer.h:
              * WebCoreSupport.subproj/WebTextRendererFactory.h:
              * WebView.subproj/WebBaseResourceHandleDelegate.h:
              * WebView.subproj/WebControllerSets.h:
              * WebView.subproj/WebDataProtocol.h:
              * WebView.subproj/WebDataSource.h:
              * WebView.subproj/WebDataSourcePrivate.h:
              * WebView.subproj/WebDebugDOMNode.h:
              * WebView.subproj/WebDocument.h:
              * WebView.subproj/WebFrame.h:
              * WebView.subproj/WebFramePrivate.h:
              * WebView.subproj/WebFrameView.h:
              * WebView.subproj/WebHTMLRepresentation.h:
              * WebView.subproj/WebHTMLView.h:
              * WebView.subproj/WebMainResourceClient.h:
              * WebView.subproj/WebPolicyDelegate.h:
              * WebView.subproj/WebPolicyDelegatePrivate.h:
              * WebView.subproj/WebPreferencesPrivate.h:
              * WebView.subproj/WebRenderNode.h:
              * WebView.subproj/WebResourceLoadDelegate.h:
              * WebView.subproj/WebUIDelegate.h:
              * WebView.subproj/WebView.h:
              * WebView.subproj/WebViewPrivate.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@4269 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      832ecbd3
  19. 08 Oct, 2002 1 commit
    • rjw's avatar
      Fixes to the DOM API. · ff90f422
      rjw authored
              * DOM.subproj/WebDOMDocument.h:
              * DOM.subproj/WebDOMDocument.m:
              * DOM.subproj/WebDOMNode.h:
              * DOM.subproj/WebDOMNode.m:
              * DOM.subproj/WebDOMNamedNodeMap.h: Removed.
              * DOM.subproj/WebDOMNamedNodeMap.m: Removed.
              * WebKit.pbproj/project.pbxproj:
      
      
              First cut at ObjC stubs for DOM API.  Finished the
              main classes.  Need to finish
              WebDOMElement, WebDOMElement, WebDOMElement,
              WebDOMCDATASection, WebDOMText, WebDOMComment,
              WebDOMCharacterData and
      
              * WebCore.pbproj/project.pbxproj:
              * khtml/dom/dom_doc.h:
              * khtml/dom/dom_element.h:
              * khtml/dom/dom_node.h:
              * khtml/xml/dom_docimpl.h:
              * khtml/xml/dom_elementimpl.h:
              * khtml/xml/dom_nodeimpl.h:
              * kwq/WebCoreDOM.h: Added.
              * kwq/WebCoreDOMDocument.mm: Added.
              (DOM::DOMImplementationImpl::createInstance):
              (DOM::DocumentTypeImpl::createInstance):
              (DOM::DocumentImpl::createInstance):
              (domStringToNSString):
              (NSStringToDOMString):
              (+[WebCoreDOMDocumentType documentTypeWithImpl:DOM::]):
              (-[WebCoreDOMDocumentType initWithImpl:DOM::]):
              (-[WebCoreDOMDocumentType dealloc]):
              (-[WebCoreDOMDocumentType DOM::]):
              (-[WebCoreDOMDocumentType name]):
              (-[WebCoreDOMDocumentType entities]):
              (-[WebCoreDOMDocumentType notations]):
              (-[WebCoreDOMDocumentType publicId]):
              (-[WebCoreDOMDocumentType systemId]):
              (-[WebCoreDOMDocumentType internalSubset]):
              (+[WebCoreDOMImplementation implementionatWithImpl:DOM::]):
              (-[WebCoreDOMImplementation initWithImpl:DOM::]):
              (-[WebCoreDOMImplementation dealloc]):
              (-[WebCoreDOMImplementation DOM::]):
              (-[WebCoreDOMImplementation hasFeature::]):
              (-[WebCoreDOMImplementation createDocument:::]):
              (+[WebCoreDOMDocument documentWithImpl:DOM::]):
              (-[WebCoreDOMDocument initWithImpl:DOM::]):
              (-[WebCoreDOMDocument dealloc]):
              (-[WebCoreDOMDocument DOM::]):
              (-[WebCoreDOMDocument doctype]):
              (-[WebCoreDOMDocument implementation]):
              (-[WebCoreDOMDocument documentElement]):
              (-[WebCoreDOMDocument createElement:]):
              (-[WebCoreDOMDocument createElementNS::]):
              (-[WebCoreDOMDocument createDocumentFragment]):
              (-[WebCoreDOMDocument createTextNode:]):
              (-[WebCoreDOMDocument createComment:]):
              (-[WebCoreDOMDocument createCDATASection:]):
              (-[WebCoreDOMDocument createProcessingInstruction::]):
              (-[WebCoreDOMDocument createAttribute:]):
              (-[WebCoreDOMDocument createAttributeNS::]):
              (-[WebCoreDOMDocument createEntityReference:]):
              (-[WebCoreDOMDocument getElementById:]):
              (-[WebCoreDOMDocument getElementsByTagName:]):
              (-[WebCoreDOMDocument getElementsByTagNameNS::]):
              (-[WebCoreDOMDocument importNode::]):
              * kwq/WebCoreDOMNode.mm: Added.
              (DOM::NamedNodeMapImpl::createInstance):
              (DOM::AttrImpl::createInstance):
              (+[WebCoreDOMNode nodeWithImpl:DOM::]):
              (-[WebCoreDOMNode initWithImpl:DOM::]):
              (-[WebCoreDOMNode DOM::]):
              (-[WebCoreDOMNode dealloc]):
              (-[WebCoreDOMNode nodeName]):
              (-[WebCoreDOMNode nodeValue]):
              (-[WebCoreDOMNode setNodeValue:]):
              (-[WebCoreDOMNode nodeType]):
              (-[WebCoreDOMNode parentNode]):
              (-[WebCoreDOMNode firstChild]):
              (-[WebCoreDOMNode lastChild]):
              (-[WebCoreDOMNode previousSibling]):
              (-[WebCoreDOMNode nextSibling]):
              (-[WebCoreDOMNode ownerDocument]):
              (-[WebCoreDOMNode insert:before:]):
              (-[WebCoreDOMNode replace:child:]):
              (-[WebCoreDOMNode removeChild:]):
              (-[WebCoreDOMNode hasChildNodes]):
              (-[WebCoreDOMNode cloneNode:]):
              (-[WebCoreDOMNode normalize]):
              (-[WebCoreDOMNode isSupported::]):
              (-[WebCoreDOMNode namespaceURI]):
              (-[WebCoreDOMNode prefix]):
              (-[WebCoreDOMNode setPrefix:]):
              (-[WebCoreDOMNode localName]):
              (+[WebCoreDOMNodeList nodeListWithImpl:DOM::]):
              (-[WebCoreDOMNodeList initWithImpl:DOM::]):
              (-[WebCoreDOMNodeList DOM::]):
              (-[WebCoreDOMNodeList dealloc]):
              (+[WebCoreDOMNamedNodeMap namedNodeMapWithImpl:DOM::]):
              (-[WebCoreDOMNamedNodeMap initWithImpl:DOM::]):
              (-[WebCoreDOMNamedNodeMap DOM::]):
              (-[WebCoreDOMNamedNodeMap dealloc]):
              (-[WebCoreDOMNamedNodeMap length]):
              (-[WebCoreDOMNamedNodeMap getNamedItem:]):
              (-[WebCoreDOMNamedNodeMap setNamedItem:]):
              (+[WebCoreDOMAttr attrWithImpl:DOM::]):
              (-[WebCoreDOMAttr initWithImpl:DOM::]):
              (-[WebCoreDOMAttr DOM::]):
              (-[WebCoreDOMAttr dealloc]):
              (-[WebCoreDOMAttr name]):
              (-[WebCoreDOMAttr specified]):
              (-[WebCoreDOMAttr value]):
              (-[WebCoreDOMAttr ownerElement]):
              (+[WebCoreDOMCDATASection CDATASectionWithImpl:DOM::]):
              (-[WebCoreDOMCDATASection initWithImpl:DOM::]):
              (-[WebCoreDOMCDATASection DOM::]):
              (-[WebCoreDOMCDATASection dealloc]):
              * kwq/WebCoreDOMPrivate.h: Added.
              * kwq/WebDOMDocument.h: Added.
              * kwq/WebDOMElement.h: Added.
              * kwq/WebDOMNode.h: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2277 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ff90f422
  20. 04 Oct, 2002 1 commit
    • rjw's avatar
      Stubs for DOM level 2 core API. · e804476d
      rjw authored
              * DOM.subproj/WebDOMDocument.h: Added.
              * DOM.subproj/WebDOMDocument.m: Added.
              * DOM.subproj/WebDOMElement.h: Added.
              * DOM.subproj/WebDOMElement.m: Added.
              * DOM.subproj/WebDOMNamedNodeMap.h: Added.
              * DOM.subproj/WebDOMNamedNodeMap.m: Added.
              * DOM.subproj/WebDOMNode.h: Added.
              * DOM.subproj/WebDOMNode.m: Added.
              * WebKit.pbproj/project.pbxproj:
      
              * WebView.subproj/WebHTMLViewPrivate.m: tweak.
      
              Removed import of header that was removed earlier.
      
              * BookmarksController.m:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2255 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e804476d