1. 11 Feb, 2011 2 commits
    • abarth@webkit.org's avatar
      2011-02-11 Adam Barth <abarth@webkit.org> · aa5a9e22
      abarth@webkit.org authored
              Attempt to fix the Windows build.  Apparently we don't support
              conditional attributes on functions.  This patch makes the whole Crypto
              interface conditional on ArrayBuffer support.
      
              * page/DOMWindow.idl:
              * page/Crypto.cpp:
              * page/Crypto.h:
              * page/Crypto.idl:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@78323 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      aa5a9e22
    • abarth@webkit.org's avatar
      2011-02-10 Adam Barth <abarth@webkit.org> · ba712d32
      abarth@webkit.org authored
              Reviewed by Eric Seidel.
      
              WebKit should have a cryptographic RNG
              https://bugs.webkit.org/show_bug.cgi?id=22049
      
              Test crypto.getRandomValues API.  It's pretty hard to write a
              deterministic API for a randomized API, but this test should catch some
              regressions.
      
              * security/crypto-random-values-expected.txt: Added.
              * security/crypto-random-values.html: Added.
      2011-02-10  Adam Barth  <abarth@webkit.org>
      
              Reviewed by Eric Seidel.
      
              WebKit should have a cryptographic RNG
              https://bugs.webkit.org/show_bug.cgi?id=22049
      
              Teach JavaScriptCore how to export this function.
      
              * JavaScriptCore.exp:
              * JavaScriptCore.xcodeproj/project.pbxproj:
      2011-02-10  Adam Barth  <abarth@webkit.org>
      
              Reviewed by Eric Seidel.
      
              WebKit should have a cryptographic RNG
              https://bugs.webkit.org/show_bug.cgi?id=22049
      
              Add crypto.getRandomValues.  Yes, all these diffs are required to
              expose a single function to the DOM.
      
              Test: security/crypto-random-values.html
      
              * Android.mk:
              * CMakeLists.txt:
              * DerivedSources.cpp:
              * DerivedSources.make:
              * ForwardingHeaders/wtf/CryptographicallyRandomNumber.h: Added.
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pri:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/JSDOMWindowCustom.cpp:
              * bindings/v8/custom/V8DOMWindowCustom.cpp:
              * config.h:
              * page/Crypto.cpp: Added.
              (WebCore::Crypto::Crypto):
              (WebCore::Crypto::getRandomValues):
              * page/Crypto.h: Added.
              (WebCore::Crypto::create):
              * page/Crypto.idl: Added.
              * page/DOMWindow.cpp:
              (WebCore::DOMWindow::clear):
              (WebCore::DOMWindow::crypto):
              * page/DOMWindow.h:
              (WebCore::DOMWindow::optionalCrypto):
              * page/DOMWindow.idl:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@78321 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ba712d32
  2. 08 Jan, 2011 1 commit
  3. 03 Jan, 2011 1 commit
    • psolanki@apple.com's avatar
      2011-01-03 Pratik Solanki <psolanki@apple.com> · 8ca237bb
      psolanki@apple.com authored
              Reviewed by Darin Adler.
      
              https://bugs.webkit.org/show_bug.cgi?id=51850
              Put CFNetwork loader code inside USE(CFNETWORK)
      
              Add USE(CFNETWORK) macros around all the cf/mac network files. Also added all CFNetwork
              files to the WebCore Xcode project.
      
              * WebCore.xcodeproj/project.pbxproj:
              * loader/cf/ResourceLoaderCFNet.cpp:
              * loader/mac/ResourceLoaderMac.mm:
              * platform/network/cf/AuthenticationCF.cpp:
              * platform/network/cf/AuthenticationCF.h:
              * platform/network/cf/CookieJarCFNet.cpp:
              * platform/network/cf/CookieStorageCFNet.cpp:
              * platform/network/cf/CookieStorageCFNet.h:
              * platform/network/cf/CredentialStorageCFNet.cpp:
              * platform/network/cf/FormDataStreamCFNet.cpp:
              * platform/network/cf/FormDataStreamCFNet.h:
              * platform/network/cf/LoaderRunLoopCF.cpp:
              * platform/network/cf/LoaderRunLoopCF.h:
              * platform/network/cf/ResourceError.h:
              * platform/network/cf/ResourceHandleCFNet.cpp:
              * platform/network/cf/ResourceRequest.h:
              * platform/network/cf/ResourceRequestCFNet.cpp:
              * platform/network/cf/ResourceRequestCFNet.h:
              * platform/network/cf/ResourceResponse.h:
              * platform/network/cf/ResourceResponseCFNet.cpp:
              * platform/network/mac/AuthenticationMac.h:
              * platform/network/mac/AuthenticationMac.mm:
              * platform/network/mac/FormDataStreamMac.h:
              * platform/network/mac/FormDataStreamMac.mm:
              * platform/network/mac/ResourceError.h:
              * platform/network/mac/ResourceHandleMac.mm:
              * platform/network/mac/ResourceRequest.h:
              * platform/network/mac/ResourceRequestMac.mm:
              * platform/network/mac/ResourceResponse.h:
              * platform/network/mac/ResourceResponseMac.mm:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74943 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8ca237bb
  4. 04 Mar, 2009 1 commit
    • levin@chromium.org's avatar
      WebCore: · c388b036
      levin@chromium.org authored
      2009-03-04  David Levin  <levin@chromium.org>
      
              Reviewed by Alexey Proskuryakov.
      
              Bug 24337: Assert when doing sync XHR in a worker for a cacheable response.
              <https://bugs.webkit.org/show_bug.cgi?id=24337>
      
              Tests: http/tests/xmlhttprequest/access-control-basic-denied-preflight-cache.html
                     http/tests/xmlhttprequest/workers/xmlhttprequest-file-not-found.html
      
              * loader/mac/ResourceLoaderMac.mm:
              (WebCore::ResourceLoader::willCacheResponse):
              An identifier is only asssigned if resource load callbacks are done.  So don't send
              willCacheResponse which uses identifier if resource load callbacks aren't being sent.
      
      LayoutTests:
      
      2009-03-04  David Levin  <levin@chromium.org>
      
              Reviewed by Alexey Proskuryakov.
      
              Bug 24337: Assert when doing sync XHR in a worker for a cacheable response.
              <https://bugs.webkit.org/show_bug.cgi?id=24337>
      
              * http/tests/xmlhttprequest/access-control-basic-denied-preflight-cache-expected.txt: Added.
              * http/tests/xmlhttprequest/access-control-basic-denied-preflight-cache.html: Added.
              * http/tests/xmlhttprequest/workers/resources/xmlhttprequest-file-not-found.js: Added.
              (log):
              (done):
              * http/tests/xmlhttprequest/workers/xmlhttprequest-file-not-found-expected.txt: Added.
              * http/tests/xmlhttprequest/workers/xmlhttprequest-file-not-found.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41434 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c388b036
  5. 05 Jan, 2009 1 commit
  6. 19 Apr, 2007 1 commit
    • beidson's avatar
      LayoutTests: · a5e83332
      beidson authored
              Reviewed by Tim
      
              <rdar://problem/5008925>
              Expose the NSURLConnection delegate willCacheResponse API to WebResourceLoadDelegate
      
              * http/tests/misc/willCacheResponse-delegate-callback-expected.txt: Added.
              * http/tests/misc/willCacheResponse-delegate-callback.html: Added.
      
      WebCore:
      
              Reviewed by Tim
      
              <rdar://problem/5008925>
              Expose the NSURLConnection delegate willCacheResponse API to WebResourceLoadDelegate
      
              * WebCore.xcodeproj/project.pbxproj: Added ResourceLoaderMac.mm
      
              * loader/FrameLoaderClient.h: Add the willCacheResponse SPI for WebKit to implement
      
              * loader/ResourceLoader.h:
              * loader/mac/ResourceLoaderMac.mm: Added.
              (WebCore::ResourceLoader::willCacheResponse): Return the new cachedResponse from the client
      
              * platform/graphics/svg/SVGImageEmptyClients.h:
              (WebCore::SVGEmptyFrameLoaderClient::willCacheResponse): Stub
      
              * platform/network/ResourceHandleClient.h:
              (WebCore::ResourceHandleClient::willCacheResponse):  Return the new cachedResponse from the client
      
              * platform/network/mac/ResourceHandleMac.mm:
              (-[WebCoreResourceHandleAsDelegate connection:willCacheResponse:]): Call to get the new 
                cachedURLResponse before calling for the cache policy
      
      WebKit:
      
              Reviewed by Tim
      
              <rdar://problem/5008925>
              Expose the NSURLConnection delegate willCacheResponse API to WebResourceLoadDelegate
      
              * WebCoreSupport/WebFrameLoaderClient.h:
              * WebCoreSupport/WebFrameLoaderClient.mm:
              (WebFrameLoaderClient::willCacheResponse): Call 
                [WebResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:];
      
              * WebView/WebView.mm:
              (-[WebView _cacheResourceLoadDelegateImplementations]): Pull out the willCacheResponse impl
      
              * WebView/WebViewPrivate.h: Add WebResourceLoadDelegatePrivate category for this new SPI
      
      WebKitTools:
      
              Reviewed by Tim
      
              <rdar://problem/5008925>
              Expose the NSURLConnection delegate willCacheResponse API to WebResourceLoadDelegate
      
              * DumpRenderTree/ResourceLoadDelegate.m:
              (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]): 
                Add the willCacheResponse delegate call
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20937 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a5e83332
  7. 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
  8. 12 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
  9. 21 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
  10. 05 Jun, 2005 2 commits
  11. 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
  12. 03 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
  13. 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
  14. 05 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